@1024pix/epreuves-components 0.5.0 → 0.7.0

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.
@@ -1,4041 +0,0 @@
1
- /**
2
- * @vue/shared v3.5.16
3
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
4
- * @license MIT
5
- **/
6
- /*! #__NO_SIDE_EFFECTS__ */
7
- // @__NO_SIDE_EFFECTS__
8
- function ws(t) {
9
- const e = /* @__PURE__ */ Object.create(null);
10
- for (const s of t.split(",")) e[s] = 1;
11
- return (s) => s in e;
12
- }
13
- const V = {}, Xt = [], St = () => {
14
- }, Ii = () => !1, Ve = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // uppercase letter
15
- (t.charCodeAt(2) > 122 || t.charCodeAt(2) < 97), Ss = (t) => t.startsWith("onUpdate:"), Y = Object.assign, Cs = (t, e) => {
16
- const s = t.indexOf(e);
17
- s > -1 && t.splice(s, 1);
18
- }, Fi = Object.prototype.hasOwnProperty, N = (t, e) => Fi.call(t, e), A = Array.isArray, Zt = (t) => Ue(t) === "[object Map]", Tn = (t) => Ue(t) === "[object Set]", O = (t) => typeof t == "function", G = (t) => typeof t == "string", Kt = (t) => typeof t == "symbol", U = (t) => t !== null && typeof t == "object", En = (t) => (U(t) || O(t)) && O(t.then) && O(t.catch), An = Object.prototype.toString, Ue = (t) => An.call(t), Ni = (t) => Ue(t).slice(8, -1), Be = (t) => Ue(t) === "[object Object]", Ts = (t) => G(t) && t !== "NaN" && t[0] !== "-" && "" + parseInt(t, 10) === t, ce = /* @__PURE__ */ ws(
19
- // the leading comma is intentional so empty string "" is also included
20
- ",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"
21
- ), We = (t) => {
22
- const e = /* @__PURE__ */ Object.create(null);
23
- return (s) => e[s] || (e[s] = t(s));
24
- }, Di = /-(\w)/g, dt = We(
25
- (t) => t.replace(Di, (e, s) => s ? s.toUpperCase() : "")
26
- ), ji = /\B([A-Z])/g, ct = We(
27
- (t) => t.replace(ji, "-$1").toLowerCase()
28
- ), Pn = We((t) => t.charAt(0).toUpperCase() + t.slice(1)), ts = We(
29
- (t) => t ? `on${Pn(t)}` : ""
30
- ), Ht = (t, e) => !Object.is(t, e), es = (t, ...e) => {
31
- for (let s = 0; s < t.length; s++)
32
- t[s](...e);
33
- }, Rn = (t, e, s, n = !1) => {
34
- Object.defineProperty(t, e, {
35
- configurable: !0,
36
- enumerable: !1,
37
- writable: n,
38
- value: s
39
- });
40
- }, Hi = (t) => {
41
- const e = parseFloat(t);
42
- return isNaN(e) ? t : e;
43
- }, Ys = (t) => {
44
- const e = G(t) ? Number(t) : NaN;
45
- return isNaN(e) ? t : e;
46
- };
47
- let zs;
48
- const qe = () => zs || (zs = typeof globalThis < "u" ? globalThis : typeof self < "u" ? self : typeof window < "u" ? window : typeof global < "u" ? global : {});
49
- function Es(t) {
50
- if (A(t)) {
51
- const e = {};
52
- for (let s = 0; s < t.length; s++) {
53
- const n = t[s], i = G(n) ? Vi(n) : Es(n);
54
- if (i)
55
- for (const r in i)
56
- e[r] = i[r];
57
- }
58
- return e;
59
- } else if (G(t) || U(t))
60
- return t;
61
- }
62
- const Li = /;(?![^(]*\))/g, $i = /:([^]+)/, Ki = /\/\*[^]*?\*\//g;
63
- function Vi(t) {
64
- const e = {};
65
- return t.replace(Ki, "").split(Li).forEach((s) => {
66
- if (s) {
67
- const n = s.split($i);
68
- n.length > 1 && (e[n[0].trim()] = n[1].trim());
69
- }
70
- }), e;
71
- }
72
- function As(t) {
73
- let e = "";
74
- if (G(t))
75
- e = t;
76
- else if (A(t))
77
- for (let s = 0; s < t.length; s++) {
78
- const n = As(t[s]);
79
- n && (e += n + " ");
80
- }
81
- else if (U(t))
82
- for (const s in t)
83
- t[s] && (e += s + " ");
84
- return e.trim();
85
- }
86
- const Ui = "itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly", Bi = /* @__PURE__ */ ws(Ui);
87
- function On(t) {
88
- return !!t || t === "";
89
- }
90
- const Mn = (t) => !!(t && t.__v_isRef === !0), Wi = (t) => G(t) ? t : t == null ? "" : A(t) || U(t) && (t.toString === An || !O(t.toString)) ? Mn(t) ? Wi(t.value) : JSON.stringify(t, In, 2) : String(t), In = (t, e) => Mn(e) ? In(t, e.value) : Zt(e) ? {
91
- [`Map(${e.size})`]: [...e.entries()].reduce(
92
- (s, [n, i], r) => (s[ss(n, r) + " =>"] = i, s),
93
- {}
94
- )
95
- } : Tn(e) ? {
96
- [`Set(${e.size})`]: [...e.values()].map((s) => ss(s))
97
- } : Kt(e) ? ss(e) : U(e) && !A(e) && !Be(e) ? String(e) : e, ss = (t, e = "") => {
98
- var s;
99
- return (
100
- // Symbol.description in es2019+ so we need to cast here to pass
101
- // the lib: es2016 check
102
- Kt(t) ? `Symbol(${(s = t.description) != null ? s : e})` : t
103
- );
104
- };
105
- /**
106
- * @vue/reactivity v3.5.16
107
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
108
- * @license MIT
109
- **/
110
- let it;
111
- class qi {
112
- constructor(e = !1) {
113
- this.detached = e, this._active = !0, this._on = 0, this.effects = [], this.cleanups = [], this._isPaused = !1, this.parent = it, !e && it && (this.index = (it.scopes || (it.scopes = [])).push(
114
- this
115
- ) - 1);
116
- }
117
- get active() {
118
- return this._active;
119
- }
120
- pause() {
121
- if (this._active) {
122
- this._isPaused = !0;
123
- let e, s;
124
- if (this.scopes)
125
- for (e = 0, s = this.scopes.length; e < s; e++)
126
- this.scopes[e].pause();
127
- for (e = 0, s = this.effects.length; e < s; e++)
128
- this.effects[e].pause();
129
- }
130
- }
131
- /**
132
- * Resumes the effect scope, including all child scopes and effects.
133
- */
134
- resume() {
135
- if (this._active && this._isPaused) {
136
- this._isPaused = !1;
137
- let e, s;
138
- if (this.scopes)
139
- for (e = 0, s = this.scopes.length; e < s; e++)
140
- this.scopes[e].resume();
141
- for (e = 0, s = this.effects.length; e < s; e++)
142
- this.effects[e].resume();
143
- }
144
- }
145
- run(e) {
146
- if (this._active) {
147
- const s = it;
148
- try {
149
- return it = this, e();
150
- } finally {
151
- it = s;
152
- }
153
- }
154
- }
155
- /**
156
- * This should only be called on non-detached scopes
157
- * @internal
158
- */
159
- on() {
160
- ++this._on === 1 && (this.prevScope = it, it = this);
161
- }
162
- /**
163
- * This should only be called on non-detached scopes
164
- * @internal
165
- */
166
- off() {
167
- this._on > 0 && --this._on === 0 && (it = this.prevScope, this.prevScope = void 0);
168
- }
169
- stop(e) {
170
- if (this._active) {
171
- this._active = !1;
172
- let s, n;
173
- for (s = 0, n = this.effects.length; s < n; s++)
174
- this.effects[s].stop();
175
- for (this.effects.length = 0, s = 0, n = this.cleanups.length; s < n; s++)
176
- this.cleanups[s]();
177
- if (this.cleanups.length = 0, this.scopes) {
178
- for (s = 0, n = this.scopes.length; s < n; s++)
179
- this.scopes[s].stop(!0);
180
- this.scopes.length = 0;
181
- }
182
- if (!this.detached && this.parent && !e) {
183
- const i = this.parent.scopes.pop();
184
- i && i !== this && (this.parent.scopes[this.index] = i, i.index = this.index);
185
- }
186
- this.parent = void 0;
187
- }
188
- }
189
- }
190
- function Gi() {
191
- return it;
192
- }
193
- let K;
194
- const ns = /* @__PURE__ */ new WeakSet();
195
- class Fn {
196
- constructor(e) {
197
- this.fn = e, this.deps = void 0, this.depsTail = void 0, this.flags = 5, this.next = void 0, this.cleanup = void 0, this.scheduler = void 0, it && it.active && it.effects.push(this);
198
- }
199
- pause() {
200
- this.flags |= 64;
201
- }
202
- resume() {
203
- this.flags & 64 && (this.flags &= -65, ns.has(this) && (ns.delete(this), this.trigger()));
204
- }
205
- /**
206
- * @internal
207
- */
208
- notify() {
209
- this.flags & 2 && !(this.flags & 32) || this.flags & 8 || Dn(this);
210
- }
211
- run() {
212
- if (!(this.flags & 1))
213
- return this.fn();
214
- this.flags |= 2, Xs(this), jn(this);
215
- const e = K, s = pt;
216
- K = this, pt = !0;
217
- try {
218
- return this.fn();
219
- } finally {
220
- Hn(this), K = e, pt = s, this.flags &= -3;
221
- }
222
- }
223
- stop() {
224
- if (this.flags & 1) {
225
- for (let e = this.deps; e; e = e.nextDep)
226
- Os(e);
227
- this.deps = this.depsTail = void 0, Xs(this), this.onStop && this.onStop(), this.flags &= -2;
228
- }
229
- }
230
- trigger() {
231
- this.flags & 64 ? ns.add(this) : this.scheduler ? this.scheduler() : this.runIfDirty();
232
- }
233
- /**
234
- * @internal
235
- */
236
- runIfDirty() {
237
- hs(this) && this.run();
238
- }
239
- get dirty() {
240
- return hs(this);
241
- }
242
- }
243
- let Nn = 0, ue, ae;
244
- function Dn(t, e = !1) {
245
- if (t.flags |= 8, e) {
246
- t.next = ae, ae = t;
247
- return;
248
- }
249
- t.next = ue, ue = t;
250
- }
251
- function Ps() {
252
- Nn++;
253
- }
254
- function Rs() {
255
- if (--Nn > 0)
256
- return;
257
- if (ae) {
258
- let e = ae;
259
- for (ae = void 0; e; ) {
260
- const s = e.next;
261
- e.next = void 0, e.flags &= -9, e = s;
262
- }
263
- }
264
- let t;
265
- for (; ue; ) {
266
- let e = ue;
267
- for (ue = void 0; e; ) {
268
- const s = e.next;
269
- if (e.next = void 0, e.flags &= -9, e.flags & 1)
270
- try {
271
- e.trigger();
272
- } catch (n) {
273
- t || (t = n);
274
- }
275
- e = s;
276
- }
277
- }
278
- if (t) throw t;
279
- }
280
- function jn(t) {
281
- for (let e = t.deps; e; e = e.nextDep)
282
- e.version = -1, e.prevActiveLink = e.dep.activeLink, e.dep.activeLink = e;
283
- }
284
- function Hn(t) {
285
- let e, s = t.depsTail, n = s;
286
- for (; n; ) {
287
- const i = n.prevDep;
288
- n.version === -1 ? (n === s && (s = i), Os(n), Ji(n)) : e = n, n.dep.activeLink = n.prevActiveLink, n.prevActiveLink = void 0, n = i;
289
- }
290
- t.deps = e, t.depsTail = s;
291
- }
292
- function hs(t) {
293
- for (let e = t.deps; e; e = e.nextDep)
294
- if (e.dep.version !== e.version || e.dep.computed && (Ln(e.dep.computed) || e.dep.version !== e.version))
295
- return !0;
296
- return !!t._dirty;
297
- }
298
- function Ln(t) {
299
- if (t.flags & 4 && !(t.flags & 16) || (t.flags &= -17, t.globalVersion === ge) || (t.globalVersion = ge, !t.isSSR && t.flags & 128 && (!t.deps && !t._dirty || !hs(t))))
300
- return;
301
- t.flags |= 2;
302
- const e = t.dep, s = K, n = pt;
303
- K = t, pt = !0;
304
- try {
305
- jn(t);
306
- const i = t.fn(t._value);
307
- (e.version === 0 || Ht(i, t._value)) && (t.flags |= 128, t._value = i, e.version++);
308
- } catch (i) {
309
- throw e.version++, i;
310
- } finally {
311
- K = s, pt = n, Hn(t), t.flags &= -3;
312
- }
313
- }
314
- function Os(t, e = !1) {
315
- const { dep: s, prevSub: n, nextSub: i } = t;
316
- if (n && (n.nextSub = i, t.prevSub = void 0), i && (i.prevSub = n, t.nextSub = void 0), s.subs === t && (s.subs = n, !n && s.computed)) {
317
- s.computed.flags &= -5;
318
- for (let r = s.computed.deps; r; r = r.nextDep)
319
- Os(r, !0);
320
- }
321
- !e && !--s.sc && s.map && s.map.delete(s.key);
322
- }
323
- function Ji(t) {
324
- const { prevDep: e, nextDep: s } = t;
325
- e && (e.nextDep = s, t.prevDep = void 0), s && (s.prevDep = e, t.nextDep = void 0);
326
- }
327
- let pt = !0;
328
- const $n = [];
329
- function Rt() {
330
- $n.push(pt), pt = !1;
331
- }
332
- function Ot() {
333
- const t = $n.pop();
334
- pt = t === void 0 ? !0 : t;
335
- }
336
- function Xs(t) {
337
- const { cleanup: e } = t;
338
- if (t.cleanup = void 0, e) {
339
- const s = K;
340
- K = void 0;
341
- try {
342
- e();
343
- } finally {
344
- K = s;
345
- }
346
- }
347
- }
348
- let ge = 0;
349
- class Yi {
350
- constructor(e, s) {
351
- this.sub = e, this.dep = s, this.version = s.version, this.nextDep = this.prevDep = this.nextSub = this.prevSub = this.prevActiveLink = void 0;
352
- }
353
- }
354
- class Ms {
355
- constructor(e) {
356
- this.computed = e, this.version = 0, this.activeLink = void 0, this.subs = void 0, this.map = void 0, this.key = void 0, this.sc = 0;
357
- }
358
- track(e) {
359
- if (!K || !pt || K === this.computed)
360
- return;
361
- let s = this.activeLink;
362
- if (s === void 0 || s.sub !== K)
363
- s = this.activeLink = new Yi(K, this), K.deps ? (s.prevDep = K.depsTail, K.depsTail.nextDep = s, K.depsTail = s) : K.deps = K.depsTail = s, Kn(s);
364
- else if (s.version === -1 && (s.version = this.version, s.nextDep)) {
365
- const n = s.nextDep;
366
- n.prevDep = s.prevDep, s.prevDep && (s.prevDep.nextDep = n), s.prevDep = K.depsTail, s.nextDep = void 0, K.depsTail.nextDep = s, K.depsTail = s, K.deps === s && (K.deps = n);
367
- }
368
- return s;
369
- }
370
- trigger(e) {
371
- this.version++, ge++, this.notify(e);
372
- }
373
- notify(e) {
374
- Ps();
375
- try {
376
- for (let s = this.subs; s; s = s.prevSub)
377
- s.sub.notify() && s.sub.dep.notify();
378
- } finally {
379
- Rs();
380
- }
381
- }
382
- }
383
- function Kn(t) {
384
- if (t.dep.sc++, t.sub.flags & 4) {
385
- const e = t.dep.computed;
386
- if (e && !t.dep.subs) {
387
- e.flags |= 20;
388
- for (let n = e.deps; n; n = n.nextDep)
389
- Kn(n);
390
- }
391
- const s = t.dep.subs;
392
- s !== t && (t.prevSub = s, s && (s.nextSub = t)), t.dep.subs = t;
393
- }
394
- }
395
- const ds = /* @__PURE__ */ new WeakMap(), Jt = Symbol(
396
- ""
397
- ), ps = Symbol(
398
- ""
399
- ), _e = Symbol(
400
- ""
401
- );
402
- function Z(t, e, s) {
403
- if (pt && K) {
404
- let n = ds.get(t);
405
- n || ds.set(t, n = /* @__PURE__ */ new Map());
406
- let i = n.get(s);
407
- i || (n.set(s, i = new Ms()), i.map = n, i.key = s), i.track();
408
- }
409
- }
410
- function Pt(t, e, s, n, i, r) {
411
- const o = ds.get(t);
412
- if (!o) {
413
- ge++;
414
- return;
415
- }
416
- const l = (c) => {
417
- c && c.trigger();
418
- };
419
- if (Ps(), e === "clear")
420
- o.forEach(l);
421
- else {
422
- const c = A(t), d = c && Ts(s);
423
- if (c && s === "length") {
424
- const a = Number(n);
425
- o.forEach((p, S) => {
426
- (S === "length" || S === _e || !Kt(S) && S >= a) && l(p);
427
- });
428
- } else
429
- switch ((s !== void 0 || o.has(void 0)) && l(o.get(s)), d && l(o.get(_e)), e) {
430
- case "add":
431
- c ? d && l(o.get("length")) : (l(o.get(Jt)), Zt(t) && l(o.get(ps)));
432
- break;
433
- case "delete":
434
- c || (l(o.get(Jt)), Zt(t) && l(o.get(ps)));
435
- break;
436
- case "set":
437
- Zt(t) && l(o.get(Jt));
438
- break;
439
- }
440
- }
441
- Rs();
442
- }
443
- function Yt(t) {
444
- const e = D(t);
445
- return e === t ? e : (Z(e, "iterate", _e), at(t) ? e : e.map(z));
446
- }
447
- function Ge(t) {
448
- return Z(t = D(t), "iterate", _e), t;
449
- }
450
- const zi = {
451
- __proto__: null,
452
- [Symbol.iterator]() {
453
- return is(this, Symbol.iterator, z);
454
- },
455
- concat(...t) {
456
- return Yt(this).concat(
457
- ...t.map((e) => A(e) ? Yt(e) : e)
458
- );
459
- },
460
- entries() {
461
- return is(this, "entries", (t) => (t[1] = z(t[1]), t));
462
- },
463
- every(t, e) {
464
- return Tt(this, "every", t, e, void 0, arguments);
465
- },
466
- filter(t, e) {
467
- return Tt(this, "filter", t, e, (s) => s.map(z), arguments);
468
- },
469
- find(t, e) {
470
- return Tt(this, "find", t, e, z, arguments);
471
- },
472
- findIndex(t, e) {
473
- return Tt(this, "findIndex", t, e, void 0, arguments);
474
- },
475
- findLast(t, e) {
476
- return Tt(this, "findLast", t, e, z, arguments);
477
- },
478
- findLastIndex(t, e) {
479
- return Tt(this, "findLastIndex", t, e, void 0, arguments);
480
- },
481
- // flat, flatMap could benefit from ARRAY_ITERATE but are not straight-forward to implement
482
- forEach(t, e) {
483
- return Tt(this, "forEach", t, e, void 0, arguments);
484
- },
485
- includes(...t) {
486
- return rs(this, "includes", t);
487
- },
488
- indexOf(...t) {
489
- return rs(this, "indexOf", t);
490
- },
491
- join(t) {
492
- return Yt(this).join(t);
493
- },
494
- // keys() iterator only reads `length`, no optimisation required
495
- lastIndexOf(...t) {
496
- return rs(this, "lastIndexOf", t);
497
- },
498
- map(t, e) {
499
- return Tt(this, "map", t, e, void 0, arguments);
500
- },
501
- pop() {
502
- return oe(this, "pop");
503
- },
504
- push(...t) {
505
- return oe(this, "push", t);
506
- },
507
- reduce(t, ...e) {
508
- return Zs(this, "reduce", t, e);
509
- },
510
- reduceRight(t, ...e) {
511
- return Zs(this, "reduceRight", t, e);
512
- },
513
- shift() {
514
- return oe(this, "shift");
515
- },
516
- // slice could use ARRAY_ITERATE but also seems to beg for range tracking
517
- some(t, e) {
518
- return Tt(this, "some", t, e, void 0, arguments);
519
- },
520
- splice(...t) {
521
- return oe(this, "splice", t);
522
- },
523
- toReversed() {
524
- return Yt(this).toReversed();
525
- },
526
- toSorted(t) {
527
- return Yt(this).toSorted(t);
528
- },
529
- toSpliced(...t) {
530
- return Yt(this).toSpliced(...t);
531
- },
532
- unshift(...t) {
533
- return oe(this, "unshift", t);
534
- },
535
- values() {
536
- return is(this, "values", z);
537
- }
538
- };
539
- function is(t, e, s) {
540
- const n = Ge(t), i = n[e]();
541
- return n !== t && !at(t) && (i._next = i.next, i.next = () => {
542
- const r = i._next();
543
- return r.value && (r.value = s(r.value)), r;
544
- }), i;
545
- }
546
- const Xi = Array.prototype;
547
- function Tt(t, e, s, n, i, r) {
548
- const o = Ge(t), l = o !== t && !at(t), c = o[e];
549
- if (c !== Xi[e]) {
550
- const p = c.apply(t, r);
551
- return l ? z(p) : p;
552
- }
553
- let d = s;
554
- o !== t && (l ? d = function(p, S) {
555
- return s.call(this, z(p), S, t);
556
- } : s.length > 2 && (d = function(p, S) {
557
- return s.call(this, p, S, t);
558
- }));
559
- const a = c.call(o, d, n);
560
- return l && i ? i(a) : a;
561
- }
562
- function Zs(t, e, s, n) {
563
- const i = Ge(t);
564
- let r = s;
565
- return i !== t && (at(t) ? s.length > 3 && (r = function(o, l, c) {
566
- return s.call(this, o, l, c, t);
567
- }) : r = function(o, l, c) {
568
- return s.call(this, o, z(l), c, t);
569
- }), i[e](r, ...n);
570
- }
571
- function rs(t, e, s) {
572
- const n = D(t);
573
- Z(n, "iterate", _e);
574
- const i = n[e](...s);
575
- return (i === -1 || i === !1) && Ds(s[0]) ? (s[0] = D(s[0]), n[e](...s)) : i;
576
- }
577
- function oe(t, e, s = []) {
578
- Rt(), Ps();
579
- const n = D(t)[e].apply(t, s);
580
- return Rs(), Ot(), n;
581
- }
582
- const Zi = /* @__PURE__ */ ws("__proto__,__v_isRef,__isVue"), Vn = new Set(
583
- /* @__PURE__ */ Object.getOwnPropertyNames(Symbol).filter((t) => t !== "arguments" && t !== "caller").map((t) => Symbol[t]).filter(Kt)
584
- );
585
- function Qi(t) {
586
- Kt(t) || (t = String(t));
587
- const e = D(this);
588
- return Z(e, "has", t), e.hasOwnProperty(t);
589
- }
590
- class Un {
591
- constructor(e = !1, s = !1) {
592
- this._isReadonly = e, this._isShallow = s;
593
- }
594
- get(e, s, n) {
595
- if (s === "__v_skip") return e.__v_skip;
596
- const i = this._isReadonly, r = this._isShallow;
597
- if (s === "__v_isReactive")
598
- return !i;
599
- if (s === "__v_isReadonly")
600
- return i;
601
- if (s === "__v_isShallow")
602
- return r;
603
- if (s === "__v_raw")
604
- return n === (i ? r ? fr : Gn : r ? qn : Wn).get(e) || // receiver is not the reactive proxy, but has the same prototype
605
- // this means the receiver is a user proxy of the reactive proxy
606
- Object.getPrototypeOf(e) === Object.getPrototypeOf(n) ? e : void 0;
607
- const o = A(e);
608
- if (!i) {
609
- let c;
610
- if (o && (c = zi[s]))
611
- return c;
612
- if (s === "hasOwnProperty")
613
- return Qi;
614
- }
615
- const l = Reflect.get(
616
- e,
617
- s,
618
- // if this is a proxy wrapping a ref, return methods using the raw ref
619
- // as receiver so that we don't have to call `toRaw` on the ref in all
620
- // its class methods
621
- k(e) ? e : n
622
- );
623
- return (Kt(s) ? Vn.has(s) : Zi(s)) || (i || Z(e, "get", s), r) ? l : k(l) ? o && Ts(s) ? l : l.value : U(l) ? i ? Jn(l) : Fs(l) : l;
624
- }
625
- }
626
- class Bn extends Un {
627
- constructor(e = !1) {
628
- super(!1, e);
629
- }
630
- set(e, s, n, i) {
631
- let r = e[s];
632
- if (!this._isShallow) {
633
- const c = Lt(r);
634
- if (!at(n) && !Lt(n) && (r = D(r), n = D(n)), !A(e) && k(r) && !k(n))
635
- return c ? !1 : (r.value = n, !0);
636
- }
637
- const o = A(e) && Ts(s) ? Number(s) < e.length : N(e, s), l = Reflect.set(
638
- e,
639
- s,
640
- n,
641
- k(e) ? e : i
642
- );
643
- return e === D(i) && (o ? Ht(n, r) && Pt(e, "set", s, n) : Pt(e, "add", s, n)), l;
644
- }
645
- deleteProperty(e, s) {
646
- const n = N(e, s);
647
- e[s];
648
- const i = Reflect.deleteProperty(e, s);
649
- return i && n && Pt(e, "delete", s, void 0), i;
650
- }
651
- has(e, s) {
652
- const n = Reflect.has(e, s);
653
- return (!Kt(s) || !Vn.has(s)) && Z(e, "has", s), n;
654
- }
655
- ownKeys(e) {
656
- return Z(
657
- e,
658
- "iterate",
659
- A(e) ? "length" : Jt
660
- ), Reflect.ownKeys(e);
661
- }
662
- }
663
- class ki extends Un {
664
- constructor(e = !1) {
665
- super(!0, e);
666
- }
667
- set(e, s) {
668
- return !0;
669
- }
670
- deleteProperty(e, s) {
671
- return !0;
672
- }
673
- }
674
- const tr = /* @__PURE__ */ new Bn(), er = /* @__PURE__ */ new ki(), sr = /* @__PURE__ */ new Bn(!0);
675
- const gs = (t) => t, Ae = (t) => Reflect.getPrototypeOf(t);
676
- function nr(t, e, s) {
677
- return function(...n) {
678
- const i = this.__v_raw, r = D(i), o = Zt(r), l = t === "entries" || t === Symbol.iterator && o, c = t === "keys" && o, d = i[t](...n), a = s ? gs : e ? Fe : z;
679
- return !e && Z(
680
- r,
681
- "iterate",
682
- c ? ps : Jt
683
- ), {
684
- // iterator protocol
685
- next() {
686
- const { value: p, done: S } = d.next();
687
- return S ? { value: p, done: S } : {
688
- value: l ? [a(p[0]), a(p[1])] : a(p),
689
- done: S
690
- };
691
- },
692
- // iterable protocol
693
- [Symbol.iterator]() {
694
- return this;
695
- }
696
- };
697
- };
698
- }
699
- function Pe(t) {
700
- return function(...e) {
701
- return t === "delete" ? !1 : t === "clear" ? void 0 : this;
702
- };
703
- }
704
- function ir(t, e) {
705
- const s = {
706
- get(i) {
707
- const r = this.__v_raw, o = D(r), l = D(i);
708
- t || (Ht(i, l) && Z(o, "get", i), Z(o, "get", l));
709
- const { has: c } = Ae(o), d = e ? gs : t ? Fe : z;
710
- if (c.call(o, i))
711
- return d(r.get(i));
712
- if (c.call(o, l))
713
- return d(r.get(l));
714
- r !== o && r.get(i);
715
- },
716
- get size() {
717
- const i = this.__v_raw;
718
- return !t && Z(D(i), "iterate", Jt), Reflect.get(i, "size", i);
719
- },
720
- has(i) {
721
- const r = this.__v_raw, o = D(r), l = D(i);
722
- return t || (Ht(i, l) && Z(o, "has", i), Z(o, "has", l)), i === l ? r.has(i) : r.has(i) || r.has(l);
723
- },
724
- forEach(i, r) {
725
- const o = this, l = o.__v_raw, c = D(l), d = e ? gs : t ? Fe : z;
726
- return !t && Z(c, "iterate", Jt), l.forEach((a, p) => i.call(r, d(a), d(p), o));
727
- }
728
- };
729
- return Y(
730
- s,
731
- t ? {
732
- add: Pe("add"),
733
- set: Pe("set"),
734
- delete: Pe("delete"),
735
- clear: Pe("clear")
736
- } : {
737
- add(i) {
738
- !e && !at(i) && !Lt(i) && (i = D(i));
739
- const r = D(this);
740
- return Ae(r).has.call(r, i) || (r.add(i), Pt(r, "add", i, i)), this;
741
- },
742
- set(i, r) {
743
- !e && !at(r) && !Lt(r) && (r = D(r));
744
- const o = D(this), { has: l, get: c } = Ae(o);
745
- let d = l.call(o, i);
746
- d || (i = D(i), d = l.call(o, i));
747
- const a = c.call(o, i);
748
- return o.set(i, r), d ? Ht(r, a) && Pt(o, "set", i, r) : Pt(o, "add", i, r), this;
749
- },
750
- delete(i) {
751
- const r = D(this), { has: o, get: l } = Ae(r);
752
- let c = o.call(r, i);
753
- c || (i = D(i), c = o.call(r, i)), l && l.call(r, i);
754
- const d = r.delete(i);
755
- return c && Pt(r, "delete", i, void 0), d;
756
- },
757
- clear() {
758
- const i = D(this), r = i.size !== 0, o = i.clear();
759
- return r && Pt(
760
- i,
761
- "clear",
762
- void 0,
763
- void 0
764
- ), o;
765
- }
766
- }
767
- ), [
768
- "keys",
769
- "values",
770
- "entries",
771
- Symbol.iterator
772
- ].forEach((i) => {
773
- s[i] = nr(i, t, e);
774
- }), s;
775
- }
776
- function Is(t, e) {
777
- const s = ir(t, e);
778
- return (n, i, r) => i === "__v_isReactive" ? !t : i === "__v_isReadonly" ? t : i === "__v_raw" ? n : Reflect.get(
779
- N(s, i) && i in n ? s : n,
780
- i,
781
- r
782
- );
783
- }
784
- const rr = {
785
- get: /* @__PURE__ */ Is(!1, !1)
786
- }, or = {
787
- get: /* @__PURE__ */ Is(!1, !0)
788
- }, lr = {
789
- get: /* @__PURE__ */ Is(!0, !1)
790
- };
791
- const Wn = /* @__PURE__ */ new WeakMap(), qn = /* @__PURE__ */ new WeakMap(), Gn = /* @__PURE__ */ new WeakMap(), fr = /* @__PURE__ */ new WeakMap();
792
- function cr(t) {
793
- switch (t) {
794
- case "Object":
795
- case "Array":
796
- return 1;
797
- case "Map":
798
- case "Set":
799
- case "WeakMap":
800
- case "WeakSet":
801
- return 2;
802
- default:
803
- return 0;
804
- }
805
- }
806
- function ur(t) {
807
- return t.__v_skip || !Object.isExtensible(t) ? 0 : cr(Ni(t));
808
- }
809
- function Fs(t) {
810
- return Lt(t) ? t : Ns(
811
- t,
812
- !1,
813
- tr,
814
- rr,
815
- Wn
816
- );
817
- }
818
- function ar(t) {
819
- return Ns(
820
- t,
821
- !1,
822
- sr,
823
- or,
824
- qn
825
- );
826
- }
827
- function Jn(t) {
828
- return Ns(
829
- t,
830
- !0,
831
- er,
832
- lr,
833
- Gn
834
- );
835
- }
836
- function Ns(t, e, s, n, i) {
837
- if (!U(t) || t.__v_raw && !(e && t.__v_isReactive))
838
- return t;
839
- const r = ur(t);
840
- if (r === 0)
841
- return t;
842
- const o = i.get(t);
843
- if (o)
844
- return o;
845
- const l = new Proxy(
846
- t,
847
- r === 2 ? n : s
848
- );
849
- return i.set(t, l), l;
850
- }
851
- function Qt(t) {
852
- return Lt(t) ? Qt(t.__v_raw) : !!(t && t.__v_isReactive);
853
- }
854
- function Lt(t) {
855
- return !!(t && t.__v_isReadonly);
856
- }
857
- function at(t) {
858
- return !!(t && t.__v_isShallow);
859
- }
860
- function Ds(t) {
861
- return t ? !!t.__v_raw : !1;
862
- }
863
- function D(t) {
864
- const e = t && t.__v_raw;
865
- return e ? D(e) : t;
866
- }
867
- function hr(t) {
868
- return !N(t, "__v_skip") && Object.isExtensible(t) && Rn(t, "__v_skip", !0), t;
869
- }
870
- const z = (t) => U(t) ? Fs(t) : t, Fe = (t) => U(t) ? Jn(t) : t;
871
- function k(t) {
872
- return t ? t.__v_isRef === !0 : !1;
873
- }
874
- function cl(t) {
875
- return Yn(t, !1);
876
- }
877
- function ul(t) {
878
- return Yn(t, !0);
879
- }
880
- function Yn(t, e) {
881
- return k(t) ? t : new dr(t, e);
882
- }
883
- class dr {
884
- constructor(e, s) {
885
- this.dep = new Ms(), this.__v_isRef = !0, this.__v_isShallow = !1, this._rawValue = s ? e : D(e), this._value = s ? e : z(e), this.__v_isShallow = s;
886
- }
887
- get value() {
888
- return this.dep.track(), this._value;
889
- }
890
- set value(e) {
891
- const s = this._rawValue, n = this.__v_isShallow || at(e) || Lt(e);
892
- e = n ? e : D(e), Ht(e, s) && (this._rawValue = e, this._value = n ? e : z(e), this.dep.trigger());
893
- }
894
- }
895
- function zn(t) {
896
- return k(t) ? t.value : t;
897
- }
898
- const pr = {
899
- get: (t, e, s) => e === "__v_raw" ? t : zn(Reflect.get(t, e, s)),
900
- set: (t, e, s, n) => {
901
- const i = t[e];
902
- return k(i) && !k(s) ? (i.value = s, !0) : Reflect.set(t, e, s, n);
903
- }
904
- };
905
- function Xn(t) {
906
- return Qt(t) ? t : new Proxy(t, pr);
907
- }
908
- class gr {
909
- constructor(e, s, n) {
910
- this.fn = e, this.setter = s, this._value = void 0, this.dep = new Ms(this), this.__v_isRef = !0, this.deps = void 0, this.depsTail = void 0, this.flags = 16, this.globalVersion = ge - 1, this.next = void 0, this.effect = this, this.__v_isReadonly = !s, this.isSSR = n;
911
- }
912
- /**
913
- * @internal
914
- */
915
- notify() {
916
- if (this.flags |= 16, !(this.flags & 8) && // avoid infinite self recursion
917
- K !== this)
918
- return Dn(this, !0), !0;
919
- }
920
- get value() {
921
- const e = this.dep.track();
922
- return Ln(this), e && (e.version = this.dep.version), this._value;
923
- }
924
- set value(e) {
925
- this.setter && this.setter(e);
926
- }
927
- }
928
- function _r(t, e, s = !1) {
929
- let n, i;
930
- return O(t) ? n = t : (n = t.get, i = t.set), new gr(n, i, s);
931
- }
932
- const Re = {}, Ne = /* @__PURE__ */ new WeakMap();
933
- let Gt;
934
- function mr(t, e = !1, s = Gt) {
935
- if (s) {
936
- let n = Ne.get(s);
937
- n || Ne.set(s, n = []), n.push(t);
938
- }
939
- }
940
- function br(t, e, s = V) {
941
- const { immediate: n, deep: i, once: r, scheduler: o, augmentJob: l, call: c } = s, d = (P) => i ? P : at(P) || i === !1 || i === 0 ? jt(P, 1) : jt(P);
942
- let a, p, S, C, F = !1, I = !1;
943
- if (k(t) ? (p = () => t.value, F = at(t)) : Qt(t) ? (p = () => d(t), F = !0) : A(t) ? (I = !0, F = t.some((P) => Qt(P) || at(P)), p = () => t.map((P) => {
944
- if (k(P))
945
- return P.value;
946
- if (Qt(P))
947
- return d(P);
948
- if (O(P))
949
- return c ? c(P, 2) : P();
950
- })) : O(t) ? e ? p = c ? () => c(t, 2) : t : p = () => {
951
- if (S) {
952
- Rt();
953
- try {
954
- S();
955
- } finally {
956
- Ot();
957
- }
958
- }
959
- const P = Gt;
960
- Gt = a;
961
- try {
962
- return c ? c(t, 3, [C]) : t(C);
963
- } finally {
964
- Gt = P;
965
- }
966
- } : p = St, e && i) {
967
- const P = p, J = i === !0 ? 1 / 0 : i;
968
- p = () => jt(P(), J);
969
- }
970
- const X = Gi(), H = () => {
971
- a.stop(), X && X.active && Cs(X.effects, a);
972
- };
973
- if (r && e) {
974
- const P = e;
975
- e = (...J) => {
976
- P(...J), H();
977
- };
978
- }
979
- let W = I ? new Array(t.length).fill(Re) : Re;
980
- const q = (P) => {
981
- if (!(!(a.flags & 1) || !a.dirty && !P))
982
- if (e) {
983
- const J = a.run();
984
- if (i || F || (I ? J.some((It, gt) => Ht(It, W[gt])) : Ht(J, W))) {
985
- S && S();
986
- const It = Gt;
987
- Gt = a;
988
- try {
989
- const gt = [
990
- J,
991
- // pass undefined as the old value when it's changed for the first time
992
- W === Re ? void 0 : I && W[0] === Re ? [] : W,
993
- C
994
- ];
995
- W = J, c ? c(e, 3, gt) : (
996
- // @ts-expect-error
997
- e(...gt)
998
- );
999
- } finally {
1000
- Gt = It;
1001
- }
1002
- }
1003
- } else
1004
- a.run();
1005
- };
1006
- return l && l(q), a = new Fn(p), a.scheduler = o ? () => o(q, !1) : q, C = (P) => mr(P, !1, a), S = a.onStop = () => {
1007
- const P = Ne.get(a);
1008
- if (P) {
1009
- if (c)
1010
- c(P, 4);
1011
- else
1012
- for (const J of P) J();
1013
- Ne.delete(a);
1014
- }
1015
- }, e ? n ? q(!0) : W = a.run() : o ? o(q.bind(null, !0), !0) : a.run(), H.pause = a.pause.bind(a), H.resume = a.resume.bind(a), H.stop = H, H;
1016
- }
1017
- function jt(t, e = 1 / 0, s) {
1018
- if (e <= 0 || !U(t) || t.__v_skip || (s = s || /* @__PURE__ */ new Set(), s.has(t)))
1019
- return t;
1020
- if (s.add(t), e--, k(t))
1021
- jt(t.value, e, s);
1022
- else if (A(t))
1023
- for (let n = 0; n < t.length; n++)
1024
- jt(t[n], e, s);
1025
- else if (Tn(t) || Zt(t))
1026
- t.forEach((n) => {
1027
- jt(n, e, s);
1028
- });
1029
- else if (Be(t)) {
1030
- for (const n in t)
1031
- jt(t[n], e, s);
1032
- for (const n of Object.getOwnPropertySymbols(t))
1033
- Object.prototype.propertyIsEnumerable.call(t, n) && jt(t[n], e, s);
1034
- }
1035
- return t;
1036
- }
1037
- /**
1038
- * @vue/runtime-core v3.5.16
1039
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
1040
- * @license MIT
1041
- **/
1042
- function xe(t, e, s, n) {
1043
- try {
1044
- return n ? t(...n) : t();
1045
- } catch (i) {
1046
- Je(i, e, s);
1047
- }
1048
- }
1049
- function Ct(t, e, s, n) {
1050
- if (O(t)) {
1051
- const i = xe(t, e, s, n);
1052
- return i && En(i) && i.catch((r) => {
1053
- Je(r, e, s);
1054
- }), i;
1055
- }
1056
- if (A(t)) {
1057
- const i = [];
1058
- for (let r = 0; r < t.length; r++)
1059
- i.push(Ct(t[r], e, s, n));
1060
- return i;
1061
- }
1062
- }
1063
- function Je(t, e, s, n = !0) {
1064
- const i = e ? e.vnode : null, { errorHandler: r, throwUnhandledErrorInProduction: o } = e && e.appContext.config || V;
1065
- if (e) {
1066
- let l = e.parent;
1067
- const c = e.proxy, d = `https://vuejs.org/error-reference/#runtime-${s}`;
1068
- for (; l; ) {
1069
- const a = l.ec;
1070
- if (a) {
1071
- for (let p = 0; p < a.length; p++)
1072
- if (a[p](t, c, d) === !1)
1073
- return;
1074
- }
1075
- l = l.parent;
1076
- }
1077
- if (r) {
1078
- Rt(), xe(r, null, 10, [
1079
- t,
1080
- c,
1081
- d
1082
- ]), Ot();
1083
- return;
1084
- }
1085
- }
1086
- yr(t, s, i, n, o);
1087
- }
1088
- function yr(t, e, s, n = !0, i = !1) {
1089
- if (i)
1090
- throw t;
1091
- console.error(t);
1092
- }
1093
- const st = [];
1094
- let vt = -1;
1095
- const kt = [];
1096
- let Nt = null, zt = 0;
1097
- const Zn = /* @__PURE__ */ Promise.resolve();
1098
- let De = null;
1099
- function Qn(t) {
1100
- const e = De || Zn;
1101
- return t ? e.then(this ? t.bind(this) : t) : e;
1102
- }
1103
- function xr(t) {
1104
- let e = vt + 1, s = st.length;
1105
- for (; e < s; ) {
1106
- const n = e + s >>> 1, i = st[n], r = me(i);
1107
- r < t || r === t && i.flags & 2 ? e = n + 1 : s = n;
1108
- }
1109
- return e;
1110
- }
1111
- function js(t) {
1112
- if (!(t.flags & 1)) {
1113
- const e = me(t), s = st[st.length - 1];
1114
- !s || // fast path when the job id is larger than the tail
1115
- !(t.flags & 2) && e >= me(s) ? st.push(t) : st.splice(xr(e), 0, t), t.flags |= 1, kn();
1116
- }
1117
- }
1118
- function kn() {
1119
- De || (De = Zn.then(ei));
1120
- }
1121
- function vr(t) {
1122
- A(t) ? kt.push(...t) : Nt && t.id === -1 ? Nt.splice(zt + 1, 0, t) : t.flags & 1 || (kt.push(t), t.flags |= 1), kn();
1123
- }
1124
- function Qs(t, e, s = vt + 1) {
1125
- for (; s < st.length; s++) {
1126
- const n = st[s];
1127
- if (n && n.flags & 2) {
1128
- if (t && n.id !== t.uid)
1129
- continue;
1130
- st.splice(s, 1), s--, n.flags & 4 && (n.flags &= -2), n(), n.flags & 4 || (n.flags &= -2);
1131
- }
1132
- }
1133
- }
1134
- function ti(t) {
1135
- if (kt.length) {
1136
- const e = [...new Set(kt)].sort(
1137
- (s, n) => me(s) - me(n)
1138
- );
1139
- if (kt.length = 0, Nt) {
1140
- Nt.push(...e);
1141
- return;
1142
- }
1143
- for (Nt = e, zt = 0; zt < Nt.length; zt++) {
1144
- const s = Nt[zt];
1145
- s.flags & 4 && (s.flags &= -2), s.flags & 8 || s(), s.flags &= -2;
1146
- }
1147
- Nt = null, zt = 0;
1148
- }
1149
- }
1150
- const me = (t) => t.id == null ? t.flags & 2 ? -1 : 1 / 0 : t.id;
1151
- function ei(t) {
1152
- try {
1153
- for (vt = 0; vt < st.length; vt++) {
1154
- const e = st[vt];
1155
- e && !(e.flags & 8) && (e.flags & 4 && (e.flags &= -2), xe(
1156
- e,
1157
- e.i,
1158
- e.i ? 15 : 14
1159
- ), e.flags & 4 || (e.flags &= -2));
1160
- }
1161
- } finally {
1162
- for (; vt < st.length; vt++) {
1163
- const e = st[vt];
1164
- e && (e.flags &= -2);
1165
- }
1166
- vt = -1, st.length = 0, ti(), De = null, (st.length || kt.length) && ei();
1167
- }
1168
- }
1169
- let ht = null, si = null;
1170
- function je(t) {
1171
- const e = ht;
1172
- return ht = t, si = t && t.type.__scopeId || null, e;
1173
- }
1174
- function wr(t, e = ht, s) {
1175
- if (!e || t._n)
1176
- return t;
1177
- const n = (...i) => {
1178
- n._d && fn(-1);
1179
- const r = je(e);
1180
- let o;
1181
- try {
1182
- o = t(...i);
1183
- } finally {
1184
- je(r), n._d && fn(1);
1185
- }
1186
- return o;
1187
- };
1188
- return n._n = !0, n._c = !0, n._d = !0, n;
1189
- }
1190
- function Wt(t, e, s, n) {
1191
- const i = t.dirs, r = e && e.dirs;
1192
- for (let o = 0; o < i.length; o++) {
1193
- const l = i[o];
1194
- r && (l.oldValue = r[o].value);
1195
- let c = l.dir[n];
1196
- c && (Rt(), Ct(c, s, 8, [
1197
- t.el,
1198
- l,
1199
- t,
1200
- e
1201
- ]), Ot());
1202
- }
1203
- }
1204
- const Sr = Symbol("_vte"), Cr = (t) => t.__isTeleport;
1205
- function Hs(t, e) {
1206
- t.shapeFlag & 6 && t.component ? (t.transition = e, Hs(t.component.subTree, e)) : t.shapeFlag & 128 ? (t.ssContent.transition = e.clone(t.ssContent), t.ssFallback.transition = e.clone(t.ssFallback)) : t.transition = e;
1207
- }
1208
- /*! #__NO_SIDE_EFFECTS__ */
1209
- // @__NO_SIDE_EFFECTS__
1210
- function Tr(t, e) {
1211
- return O(t) ? (
1212
- // #8236: extend call and options.name access are considered side-effects
1213
- // by Rollup, so we have to wrap it in a pure-annotated IIFE.
1214
- Y({ name: t.name }, e, { setup: t })
1215
- ) : t;
1216
- }
1217
- function ni(t) {
1218
- t.ids = [t.ids[0] + t.ids[2]++ + "-", 0, 0];
1219
- }
1220
- function He(t, e, s, n, i = !1) {
1221
- if (A(t)) {
1222
- t.forEach(
1223
- (F, I) => He(
1224
- F,
1225
- e && (A(e) ? e[I] : e),
1226
- s,
1227
- n,
1228
- i
1229
- )
1230
- );
1231
- return;
1232
- }
1233
- if (he(n) && !i) {
1234
- n.shapeFlag & 512 && n.type.__asyncResolved && n.component.subTree.component && He(t, e, s, n.component.subTree);
1235
- return;
1236
- }
1237
- const r = n.shapeFlag & 4 ? Vs(n.component) : n.el, o = i ? null : r, { i: l, r: c } = t, d = e && e.r, a = l.refs === V ? l.refs = {} : l.refs, p = l.setupState, S = D(p), C = p === V ? () => !1 : (F) => N(S, F);
1238
- if (d != null && d !== c && (G(d) ? (a[d] = null, C(d) && (p[d] = null)) : k(d) && (d.value = null)), O(c))
1239
- xe(c, l, 12, [o, a]);
1240
- else {
1241
- const F = G(c), I = k(c);
1242
- if (F || I) {
1243
- const X = () => {
1244
- if (t.f) {
1245
- const H = F ? C(c) ? p[c] : a[c] : c.value;
1246
- i ? A(H) && Cs(H, r) : A(H) ? H.includes(r) || H.push(r) : F ? (a[c] = [r], C(c) && (p[c] = a[c])) : (c.value = [r], t.k && (a[t.k] = c.value));
1247
- } else F ? (a[c] = o, C(c) && (p[c] = o)) : I && (c.value = o, t.k && (a[t.k] = o));
1248
- };
1249
- o ? (X.id = -1, ft(X, s)) : X();
1250
- }
1251
- }
1252
- }
1253
- qe().requestIdleCallback;
1254
- qe().cancelIdleCallback;
1255
- const he = (t) => !!t.type.__asyncLoader, ii = (t) => t.type.__isKeepAlive;
1256
- function Er(t, e) {
1257
- ri(t, "a", e);
1258
- }
1259
- function Ar(t, e) {
1260
- ri(t, "da", e);
1261
- }
1262
- function ri(t, e, s = Q) {
1263
- const n = t.__wdc || (t.__wdc = () => {
1264
- let i = s;
1265
- for (; i; ) {
1266
- if (i.isDeactivated)
1267
- return;
1268
- i = i.parent;
1269
- }
1270
- return t();
1271
- });
1272
- if (Ye(e, n, s), s) {
1273
- let i = s.parent;
1274
- for (; i && i.parent; )
1275
- ii(i.parent.vnode) && Pr(n, e, s, i), i = i.parent;
1276
- }
1277
- }
1278
- function Pr(t, e, s, n) {
1279
- const i = Ye(
1280
- e,
1281
- t,
1282
- n,
1283
- !0
1284
- /* prepend */
1285
- );
1286
- oi(() => {
1287
- Cs(n[e], i);
1288
- }, s);
1289
- }
1290
- function Ye(t, e, s = Q, n = !1) {
1291
- if (s) {
1292
- const i = s[t] || (s[t] = []), r = e.__weh || (e.__weh = (...o) => {
1293
- Rt();
1294
- const l = ve(s), c = Ct(e, s, t, o);
1295
- return l(), Ot(), c;
1296
- });
1297
- return n ? i.unshift(r) : i.push(r), r;
1298
- }
1299
- }
1300
- const Mt = (t) => (e, s = Q) => {
1301
- (!ye || t === "sp") && Ye(t, (...n) => e(...n), s);
1302
- }, Rr = Mt("bm"), Or = Mt("m"), Mr = Mt(
1303
- "bu"
1304
- ), Ir = Mt("u"), Fr = Mt(
1305
- "bum"
1306
- ), oi = Mt("um"), Nr = Mt(
1307
- "sp"
1308
- ), Dr = Mt("rtg"), jr = Mt("rtc");
1309
- function Hr(t, e = Q) {
1310
- Ye("ec", t, e);
1311
- }
1312
- const Lr = Symbol.for("v-ndc");
1313
- function al(t, e, s, n) {
1314
- let i;
1315
- const r = s, o = A(t);
1316
- if (o || G(t)) {
1317
- const l = o && Qt(t);
1318
- let c = !1, d = !1;
1319
- l && (c = !at(t), d = Lt(t), t = Ge(t)), i = new Array(t.length);
1320
- for (let a = 0, p = t.length; a < p; a++)
1321
- i[a] = e(
1322
- c ? d ? Fe(z(t[a])) : z(t[a]) : t[a],
1323
- a,
1324
- void 0,
1325
- r
1326
- );
1327
- } else if (typeof t == "number") {
1328
- i = new Array(t);
1329
- for (let l = 0; l < t; l++)
1330
- i[l] = e(l + 1, l, void 0, r);
1331
- } else if (U(t))
1332
- if (t[Symbol.iterator])
1333
- i = Array.from(
1334
- t,
1335
- (l, c) => e(l, c, void 0, r)
1336
- );
1337
- else {
1338
- const l = Object.keys(t);
1339
- i = new Array(l.length);
1340
- for (let c = 0, d = l.length; c < d; c++) {
1341
- const a = l[c];
1342
- i[c] = e(t[a], a, c, r);
1343
- }
1344
- }
1345
- else
1346
- i = [];
1347
- return i;
1348
- }
1349
- const _s = (t) => t ? Ei(t) ? Vs(t) : _s(t.parent) : null, de = (
1350
- // Move PURE marker to new line to workaround compiler discarding it
1351
- // due to type annotation
1352
- /* @__PURE__ */ Y(/* @__PURE__ */ Object.create(null), {
1353
- $: (t) => t,
1354
- $el: (t) => t.vnode.el,
1355
- $data: (t) => t.data,
1356
- $props: (t) => t.props,
1357
- $attrs: (t) => t.attrs,
1358
- $slots: (t) => t.slots,
1359
- $refs: (t) => t.refs,
1360
- $parent: (t) => _s(t.parent),
1361
- $root: (t) => _s(t.root),
1362
- $host: (t) => t.ce,
1363
- $emit: (t) => t.emit,
1364
- $options: (t) => fi(t),
1365
- $forceUpdate: (t) => t.f || (t.f = () => {
1366
- js(t.update);
1367
- }),
1368
- $nextTick: (t) => t.n || (t.n = Qn.bind(t.proxy)),
1369
- $watch: (t) => oo.bind(t)
1370
- })
1371
- ), os = (t, e) => t !== V && !t.__isScriptSetup && N(t, e), $r = {
1372
- get({ _: t }, e) {
1373
- if (e === "__v_skip")
1374
- return !0;
1375
- const { ctx: s, setupState: n, data: i, props: r, accessCache: o, type: l, appContext: c } = t;
1376
- let d;
1377
- if (e[0] !== "$") {
1378
- const C = o[e];
1379
- if (C !== void 0)
1380
- switch (C) {
1381
- case 1:
1382
- return n[e];
1383
- case 2:
1384
- return i[e];
1385
- case 4:
1386
- return s[e];
1387
- case 3:
1388
- return r[e];
1389
- }
1390
- else {
1391
- if (os(n, e))
1392
- return o[e] = 1, n[e];
1393
- if (i !== V && N(i, e))
1394
- return o[e] = 2, i[e];
1395
- if (
1396
- // only cache other properties when instance has declared (thus stable)
1397
- // props
1398
- (d = t.propsOptions[0]) && N(d, e)
1399
- )
1400
- return o[e] = 3, r[e];
1401
- if (s !== V && N(s, e))
1402
- return o[e] = 4, s[e];
1403
- ms && (o[e] = 0);
1404
- }
1405
- }
1406
- const a = de[e];
1407
- let p, S;
1408
- if (a)
1409
- return e === "$attrs" && Z(t.attrs, "get", ""), a(t);
1410
- if (
1411
- // css module (injected by vue-loader)
1412
- (p = l.__cssModules) && (p = p[e])
1413
- )
1414
- return p;
1415
- if (s !== V && N(s, e))
1416
- return o[e] = 4, s[e];
1417
- if (
1418
- // global properties
1419
- S = c.config.globalProperties, N(S, e)
1420
- )
1421
- return S[e];
1422
- },
1423
- set({ _: t }, e, s) {
1424
- const { data: n, setupState: i, ctx: r } = t;
1425
- return os(i, e) ? (i[e] = s, !0) : n !== V && N(n, e) ? (n[e] = s, !0) : N(t.props, e) || e[0] === "$" && e.slice(1) in t ? !1 : (r[e] = s, !0);
1426
- },
1427
- has({
1428
- _: { data: t, setupState: e, accessCache: s, ctx: n, appContext: i, propsOptions: r }
1429
- }, o) {
1430
- let l;
1431
- return !!s[o] || t !== V && N(t, o) || os(e, o) || (l = r[0]) && N(l, o) || N(n, o) || N(de, o) || N(i.config.globalProperties, o);
1432
- },
1433
- defineProperty(t, e, s) {
1434
- return s.get != null ? t._.accessCache[e] = 0 : N(s, "value") && this.set(t, e, s.value, null), Reflect.defineProperty(t, e, s);
1435
- }
1436
- };
1437
- function ks(t) {
1438
- return A(t) ? t.reduce(
1439
- (e, s) => (e[s] = null, e),
1440
- {}
1441
- ) : t;
1442
- }
1443
- let ms = !0;
1444
- function Kr(t) {
1445
- const e = fi(t), s = t.proxy, n = t.ctx;
1446
- ms = !1, e.beforeCreate && tn(e.beforeCreate, t, "bc");
1447
- const {
1448
- // state
1449
- data: i,
1450
- computed: r,
1451
- methods: o,
1452
- watch: l,
1453
- provide: c,
1454
- inject: d,
1455
- // lifecycle
1456
- created: a,
1457
- beforeMount: p,
1458
- mounted: S,
1459
- beforeUpdate: C,
1460
- updated: F,
1461
- activated: I,
1462
- deactivated: X,
1463
- beforeDestroy: H,
1464
- beforeUnmount: W,
1465
- destroyed: q,
1466
- unmounted: P,
1467
- render: J,
1468
- renderTracked: It,
1469
- renderTriggered: gt,
1470
- errorCaptured: Ft,
1471
- serverPrefetch: we,
1472
- // public API
1473
- expose: Vt,
1474
- inheritAttrs: se,
1475
- // assets
1476
- components: Se,
1477
- directives: Ce,
1478
- filters: Qe
1479
- } = e;
1480
- if (d && Vr(d, n, null), o)
1481
- for (const B in o) {
1482
- const L = o[B];
1483
- O(L) && (n[B] = L.bind(s));
1484
- }
1485
- if (i) {
1486
- const B = i.call(s, s);
1487
- U(B) && (t.data = Fs(B));
1488
- }
1489
- if (ms = !0, r)
1490
- for (const B in r) {
1491
- const L = r[B], Ut = O(L) ? L.bind(s, s) : O(L.get) ? L.get.bind(s, s) : St, Te = !O(L) && O(L.set) ? L.set.bind(s) : St, Bt = Mo({
1492
- get: Ut,
1493
- set: Te
1494
- });
1495
- Object.defineProperty(n, B, {
1496
- enumerable: !0,
1497
- configurable: !0,
1498
- get: () => Bt.value,
1499
- set: (_t) => Bt.value = _t
1500
- });
1501
- }
1502
- if (l)
1503
- for (const B in l)
1504
- li(l[B], n, s, B);
1505
- if (c) {
1506
- const B = O(c) ? c.call(s) : c;
1507
- Reflect.ownKeys(B).forEach((L) => {
1508
- Jr(L, B[L]);
1509
- });
1510
- }
1511
- a && tn(a, t, "c");
1512
- function tt(B, L) {
1513
- A(L) ? L.forEach((Ut) => B(Ut.bind(s))) : L && B(L.bind(s));
1514
- }
1515
- if (tt(Rr, p), tt(Or, S), tt(Mr, C), tt(Ir, F), tt(Er, I), tt(Ar, X), tt(Hr, Ft), tt(jr, It), tt(Dr, gt), tt(Fr, W), tt(oi, P), tt(Nr, we), A(Vt))
1516
- if (Vt.length) {
1517
- const B = t.exposed || (t.exposed = {});
1518
- Vt.forEach((L) => {
1519
- Object.defineProperty(B, L, {
1520
- get: () => s[L],
1521
- set: (Ut) => s[L] = Ut
1522
- });
1523
- });
1524
- } else t.exposed || (t.exposed = {});
1525
- J && t.render === St && (t.render = J), se != null && (t.inheritAttrs = se), Se && (t.components = Se), Ce && (t.directives = Ce), we && ni(t);
1526
- }
1527
- function Vr(t, e, s = St) {
1528
- A(t) && (t = bs(t));
1529
- for (const n in t) {
1530
- const i = t[n];
1531
- let r;
1532
- U(i) ? "default" in i ? r = Oe(
1533
- i.from || n,
1534
- i.default,
1535
- !0
1536
- ) : r = Oe(i.from || n) : r = Oe(i), k(r) ? Object.defineProperty(e, n, {
1537
- enumerable: !0,
1538
- configurable: !0,
1539
- get: () => r.value,
1540
- set: (o) => r.value = o
1541
- }) : e[n] = r;
1542
- }
1543
- }
1544
- function tn(t, e, s) {
1545
- Ct(
1546
- A(t) ? t.map((n) => n.bind(e.proxy)) : t.bind(e.proxy),
1547
- e,
1548
- s
1549
- );
1550
- }
1551
- function li(t, e, s, n) {
1552
- let i = n.includes(".") ? xi(s, n) : () => s[n];
1553
- if (G(t)) {
1554
- const r = e[t];
1555
- O(r) && fs(i, r);
1556
- } else if (O(t))
1557
- fs(i, t.bind(s));
1558
- else if (U(t))
1559
- if (A(t))
1560
- t.forEach((r) => li(r, e, s, n));
1561
- else {
1562
- const r = O(t.handler) ? t.handler.bind(s) : e[t.handler];
1563
- O(r) && fs(i, r, t);
1564
- }
1565
- }
1566
- function fi(t) {
1567
- const e = t.type, { mixins: s, extends: n } = e, {
1568
- mixins: i,
1569
- optionsCache: r,
1570
- config: { optionMergeStrategies: o }
1571
- } = t.appContext, l = r.get(e);
1572
- let c;
1573
- return l ? c = l : !i.length && !s && !n ? c = e : (c = {}, i.length && i.forEach(
1574
- (d) => Le(c, d, o, !0)
1575
- ), Le(c, e, o)), U(e) && r.set(e, c), c;
1576
- }
1577
- function Le(t, e, s, n = !1) {
1578
- const { mixins: i, extends: r } = e;
1579
- r && Le(t, r, s, !0), i && i.forEach(
1580
- (o) => Le(t, o, s, !0)
1581
- );
1582
- for (const o in e)
1583
- if (!(n && o === "expose")) {
1584
- const l = Ur[o] || s && s[o];
1585
- t[o] = l ? l(t[o], e[o]) : e[o];
1586
- }
1587
- return t;
1588
- }
1589
- const Ur = {
1590
- data: en,
1591
- props: sn,
1592
- emits: sn,
1593
- // objects
1594
- methods: fe,
1595
- computed: fe,
1596
- // lifecycle
1597
- beforeCreate: et,
1598
- created: et,
1599
- beforeMount: et,
1600
- mounted: et,
1601
- beforeUpdate: et,
1602
- updated: et,
1603
- beforeDestroy: et,
1604
- beforeUnmount: et,
1605
- destroyed: et,
1606
- unmounted: et,
1607
- activated: et,
1608
- deactivated: et,
1609
- errorCaptured: et,
1610
- serverPrefetch: et,
1611
- // assets
1612
- components: fe,
1613
- directives: fe,
1614
- // watch
1615
- watch: Wr,
1616
- // provide / inject
1617
- provide: en,
1618
- inject: Br
1619
- };
1620
- function en(t, e) {
1621
- return e ? t ? function() {
1622
- return Y(
1623
- O(t) ? t.call(this, this) : t,
1624
- O(e) ? e.call(this, this) : e
1625
- );
1626
- } : e : t;
1627
- }
1628
- function Br(t, e) {
1629
- return fe(bs(t), bs(e));
1630
- }
1631
- function bs(t) {
1632
- if (A(t)) {
1633
- const e = {};
1634
- for (let s = 0; s < t.length; s++)
1635
- e[t[s]] = t[s];
1636
- return e;
1637
- }
1638
- return t;
1639
- }
1640
- function et(t, e) {
1641
- return t ? [...new Set([].concat(t, e))] : e;
1642
- }
1643
- function fe(t, e) {
1644
- return t ? Y(/* @__PURE__ */ Object.create(null), t, e) : e;
1645
- }
1646
- function sn(t, e) {
1647
- return t ? A(t) && A(e) ? [.../* @__PURE__ */ new Set([...t, ...e])] : Y(
1648
- /* @__PURE__ */ Object.create(null),
1649
- ks(t),
1650
- ks(e ?? {})
1651
- ) : e;
1652
- }
1653
- function Wr(t, e) {
1654
- if (!t) return e;
1655
- if (!e) return t;
1656
- const s = Y(/* @__PURE__ */ Object.create(null), t);
1657
- for (const n in e)
1658
- s[n] = et(t[n], e[n]);
1659
- return s;
1660
- }
1661
- function ci() {
1662
- return {
1663
- app: null,
1664
- config: {
1665
- isNativeTag: Ii,
1666
- performance: !1,
1667
- globalProperties: {},
1668
- optionMergeStrategies: {},
1669
- errorHandler: void 0,
1670
- warnHandler: void 0,
1671
- compilerOptions: {}
1672
- },
1673
- mixins: [],
1674
- components: {},
1675
- directives: {},
1676
- provides: /* @__PURE__ */ Object.create(null),
1677
- optionsCache: /* @__PURE__ */ new WeakMap(),
1678
- propsCache: /* @__PURE__ */ new WeakMap(),
1679
- emitsCache: /* @__PURE__ */ new WeakMap()
1680
- };
1681
- }
1682
- let qr = 0;
1683
- function Gr(t, e) {
1684
- return function(n, i = null) {
1685
- O(n) || (n = Y({}, n)), i != null && !U(i) && (i = null);
1686
- const r = ci(), o = /* @__PURE__ */ new WeakSet(), l = [];
1687
- let c = !1;
1688
- const d = r.app = {
1689
- _uid: qr++,
1690
- _component: n,
1691
- _props: i,
1692
- _container: null,
1693
- _context: r,
1694
- _instance: null,
1695
- version: Io,
1696
- get config() {
1697
- return r.config;
1698
- },
1699
- set config(a) {
1700
- },
1701
- use(a, ...p) {
1702
- return o.has(a) || (a && O(a.install) ? (o.add(a), a.install(d, ...p)) : O(a) && (o.add(a), a(d, ...p))), d;
1703
- },
1704
- mixin(a) {
1705
- return r.mixins.includes(a) || r.mixins.push(a), d;
1706
- },
1707
- component(a, p) {
1708
- return p ? (r.components[a] = p, d) : r.components[a];
1709
- },
1710
- directive(a, p) {
1711
- return p ? (r.directives[a] = p, d) : r.directives[a];
1712
- },
1713
- mount(a, p, S) {
1714
- if (!c) {
1715
- const C = d._ceVNode || rt(n, i);
1716
- return C.appContext = r, S === !0 ? S = "svg" : S === !1 && (S = void 0), t(C, a, S), c = !0, d._container = a, a.__vue_app__ = d, Vs(C.component);
1717
- }
1718
- },
1719
- onUnmount(a) {
1720
- l.push(a);
1721
- },
1722
- unmount() {
1723
- c && (Ct(
1724
- l,
1725
- d._instance,
1726
- 16
1727
- ), t(null, d._container), delete d._container.__vue_app__);
1728
- },
1729
- provide(a, p) {
1730
- return r.provides[a] = p, d;
1731
- },
1732
- runWithContext(a) {
1733
- const p = te;
1734
- te = d;
1735
- try {
1736
- return a();
1737
- } finally {
1738
- te = p;
1739
- }
1740
- }
1741
- };
1742
- return d;
1743
- };
1744
- }
1745
- let te = null;
1746
- function Jr(t, e) {
1747
- if (Q) {
1748
- let s = Q.provides;
1749
- const n = Q.parent && Q.parent.provides;
1750
- n === s && (s = Q.provides = Object.create(n)), s[t] = e;
1751
- }
1752
- }
1753
- function Oe(t, e, s = !1) {
1754
- const n = Q || ht;
1755
- if (n || te) {
1756
- let i = te ? te._context.provides : n ? n.parent == null || n.ce ? n.vnode.appContext && n.vnode.appContext.provides : n.parent.provides : void 0;
1757
- if (i && t in i)
1758
- return i[t];
1759
- if (arguments.length > 1)
1760
- return s && O(e) ? e.call(n && n.proxy) : e;
1761
- }
1762
- }
1763
- const ui = {}, ai = () => Object.create(ui), hi = (t) => Object.getPrototypeOf(t) === ui;
1764
- function Yr(t, e, s, n = !1) {
1765
- const i = {}, r = ai();
1766
- t.propsDefaults = /* @__PURE__ */ Object.create(null), di(t, e, i, r);
1767
- for (const o in t.propsOptions[0])
1768
- o in i || (i[o] = void 0);
1769
- s ? t.props = n ? i : ar(i) : t.type.props ? t.props = i : t.props = r, t.attrs = r;
1770
- }
1771
- function zr(t, e, s, n) {
1772
- const {
1773
- props: i,
1774
- attrs: r,
1775
- vnode: { patchFlag: o }
1776
- } = t, l = D(i), [c] = t.propsOptions;
1777
- let d = !1;
1778
- if (
1779
- // always force full diff in dev
1780
- // - #1942 if hmr is enabled with sfc component
1781
- // - vite#872 non-sfc component used by sfc component
1782
- (n || o > 0) && !(o & 16)
1783
- ) {
1784
- if (o & 8) {
1785
- const a = t.vnode.dynamicProps;
1786
- for (let p = 0; p < a.length; p++) {
1787
- let S = a[p];
1788
- if (Xe(t.emitsOptions, S))
1789
- continue;
1790
- const C = e[S];
1791
- if (c)
1792
- if (N(r, S))
1793
- C !== r[S] && (r[S] = C, d = !0);
1794
- else {
1795
- const F = dt(S);
1796
- i[F] = ys(
1797
- c,
1798
- l,
1799
- F,
1800
- C,
1801
- t,
1802
- !1
1803
- );
1804
- }
1805
- else
1806
- C !== r[S] && (r[S] = C, d = !0);
1807
- }
1808
- }
1809
- } else {
1810
- di(t, e, i, r) && (d = !0);
1811
- let a;
1812
- for (const p in l)
1813
- (!e || // for camelCase
1814
- !N(e, p) && // it's possible the original props was passed in as kebab-case
1815
- // and converted to camelCase (#955)
1816
- ((a = ct(p)) === p || !N(e, a))) && (c ? s && // for camelCase
1817
- (s[p] !== void 0 || // for kebab-case
1818
- s[a] !== void 0) && (i[p] = ys(
1819
- c,
1820
- l,
1821
- p,
1822
- void 0,
1823
- t,
1824
- !0
1825
- )) : delete i[p]);
1826
- if (r !== l)
1827
- for (const p in r)
1828
- (!e || !N(e, p)) && (delete r[p], d = !0);
1829
- }
1830
- d && Pt(t.attrs, "set", "");
1831
- }
1832
- function di(t, e, s, n) {
1833
- const [i, r] = t.propsOptions;
1834
- let o = !1, l;
1835
- if (e)
1836
- for (let c in e) {
1837
- if (ce(c))
1838
- continue;
1839
- const d = e[c];
1840
- let a;
1841
- i && N(i, a = dt(c)) ? !r || !r.includes(a) ? s[a] = d : (l || (l = {}))[a] = d : Xe(t.emitsOptions, c) || (!(c in n) || d !== n[c]) && (n[c] = d, o = !0);
1842
- }
1843
- if (r) {
1844
- const c = D(s), d = l || V;
1845
- for (let a = 0; a < r.length; a++) {
1846
- const p = r[a];
1847
- s[p] = ys(
1848
- i,
1849
- c,
1850
- p,
1851
- d[p],
1852
- t,
1853
- !N(d, p)
1854
- );
1855
- }
1856
- }
1857
- return o;
1858
- }
1859
- function ys(t, e, s, n, i, r) {
1860
- const o = t[s];
1861
- if (o != null) {
1862
- const l = N(o, "default");
1863
- if (l && n === void 0) {
1864
- const c = o.default;
1865
- if (o.type !== Function && !o.skipFactory && O(c)) {
1866
- const { propsDefaults: d } = i;
1867
- if (s in d)
1868
- n = d[s];
1869
- else {
1870
- const a = ve(i);
1871
- n = d[s] = c.call(
1872
- null,
1873
- e
1874
- ), a();
1875
- }
1876
- } else
1877
- n = c;
1878
- i.ce && i.ce._setProp(s, n);
1879
- }
1880
- o[
1881
- 0
1882
- /* shouldCast */
1883
- ] && (r && !l ? n = !1 : o[
1884
- 1
1885
- /* shouldCastTrue */
1886
- ] && (n === "" || n === ct(s)) && (n = !0));
1887
- }
1888
- return n;
1889
- }
1890
- const Xr = /* @__PURE__ */ new WeakMap();
1891
- function pi(t, e, s = !1) {
1892
- const n = s ? Xr : e.propsCache, i = n.get(t);
1893
- if (i)
1894
- return i;
1895
- const r = t.props, o = {}, l = [];
1896
- let c = !1;
1897
- if (!O(t)) {
1898
- const a = (p) => {
1899
- c = !0;
1900
- const [S, C] = pi(p, e, !0);
1901
- Y(o, S), C && l.push(...C);
1902
- };
1903
- !s && e.mixins.length && e.mixins.forEach(a), t.extends && a(t.extends), t.mixins && t.mixins.forEach(a);
1904
- }
1905
- if (!r && !c)
1906
- return U(t) && n.set(t, Xt), Xt;
1907
- if (A(r))
1908
- for (let a = 0; a < r.length; a++) {
1909
- const p = dt(r[a]);
1910
- nn(p) && (o[p] = V);
1911
- }
1912
- else if (r)
1913
- for (const a in r) {
1914
- const p = dt(a);
1915
- if (nn(p)) {
1916
- const S = r[a], C = o[p] = A(S) || O(S) ? { type: S } : Y({}, S), F = C.type;
1917
- let I = !1, X = !0;
1918
- if (A(F))
1919
- for (let H = 0; H < F.length; ++H) {
1920
- const W = F[H], q = O(W) && W.name;
1921
- if (q === "Boolean") {
1922
- I = !0;
1923
- break;
1924
- } else q === "String" && (X = !1);
1925
- }
1926
- else
1927
- I = O(F) && F.name === "Boolean";
1928
- C[
1929
- 0
1930
- /* shouldCast */
1931
- ] = I, C[
1932
- 1
1933
- /* shouldCastTrue */
1934
- ] = X, (I || N(C, "default")) && l.push(p);
1935
- }
1936
- }
1937
- const d = [o, l];
1938
- return U(t) && n.set(t, d), d;
1939
- }
1940
- function nn(t) {
1941
- return t[0] !== "$" && !ce(t);
1942
- }
1943
- const Ls = (t) => t[0] === "_" || t === "$stable", $s = (t) => A(t) ? t.map(wt) : [wt(t)], Zr = (t, e, s) => {
1944
- if (e._n)
1945
- return e;
1946
- const n = wr((...i) => $s(e(...i)), s);
1947
- return n._c = !1, n;
1948
- }, gi = (t, e, s) => {
1949
- const n = t._ctx;
1950
- for (const i in t) {
1951
- if (Ls(i)) continue;
1952
- const r = t[i];
1953
- if (O(r))
1954
- e[i] = Zr(i, r, n);
1955
- else if (r != null) {
1956
- const o = $s(r);
1957
- e[i] = () => o;
1958
- }
1959
- }
1960
- }, _i = (t, e) => {
1961
- const s = $s(e);
1962
- t.slots.default = () => s;
1963
- }, mi = (t, e, s) => {
1964
- for (const n in e)
1965
- (s || !Ls(n)) && (t[n] = e[n]);
1966
- }, Qr = (t, e, s) => {
1967
- const n = t.slots = ai();
1968
- if (t.vnode.shapeFlag & 32) {
1969
- const i = e._;
1970
- i ? (mi(n, e, s), s && Rn(n, "_", i, !0)) : gi(e, n);
1971
- } else e && _i(t, e);
1972
- }, kr = (t, e, s) => {
1973
- const { vnode: n, slots: i } = t;
1974
- let r = !0, o = V;
1975
- if (n.shapeFlag & 32) {
1976
- const l = e._;
1977
- l ? s && l === 1 ? r = !1 : mi(i, e, s) : (r = !e.$stable, gi(e, i)), o = e;
1978
- } else e && (_i(t, e), o = { default: 1 });
1979
- if (r)
1980
- for (const l in i)
1981
- !Ls(l) && o[l] == null && delete i[l];
1982
- }, ft = po;
1983
- function to(t) {
1984
- return eo(t);
1985
- }
1986
- function eo(t, e) {
1987
- const s = qe();
1988
- s.__VUE__ = !0;
1989
- const {
1990
- insert: n,
1991
- remove: i,
1992
- patchProp: r,
1993
- createElement: o,
1994
- createText: l,
1995
- createComment: c,
1996
- setText: d,
1997
- setElementText: a,
1998
- parentNode: p,
1999
- nextSibling: S,
2000
- setScopeId: C = St,
2001
- insertStaticContent: F
2002
- } = t, I = (f, u, h, m = null, g = null, _ = null, v = void 0, x = null, y = !!u.dynamicChildren) => {
2003
- if (f === u)
2004
- return;
2005
- f && !le(f, u) && (m = Ee(f), _t(f, g, _, !0), f = null), u.patchFlag === -2 && (y = !1, u.dynamicChildren = null);
2006
- const { type: b, ref: E, shapeFlag: w } = u;
2007
- switch (b) {
2008
- case Ze:
2009
- X(f, u, h, m);
2010
- break;
2011
- case $t:
2012
- H(f, u, h, m);
2013
- break;
2014
- case cs:
2015
- f == null && W(u, h, m, v);
2016
- break;
2017
- case At:
2018
- Se(
2019
- f,
2020
- u,
2021
- h,
2022
- m,
2023
- g,
2024
- _,
2025
- v,
2026
- x,
2027
- y
2028
- );
2029
- break;
2030
- default:
2031
- w & 1 ? J(
2032
- f,
2033
- u,
2034
- h,
2035
- m,
2036
- g,
2037
- _,
2038
- v,
2039
- x,
2040
- y
2041
- ) : w & 6 ? Ce(
2042
- f,
2043
- u,
2044
- h,
2045
- m,
2046
- g,
2047
- _,
2048
- v,
2049
- x,
2050
- y
2051
- ) : (w & 64 || w & 128) && b.process(
2052
- f,
2053
- u,
2054
- h,
2055
- m,
2056
- g,
2057
- _,
2058
- v,
2059
- x,
2060
- y,
2061
- ie
2062
- );
2063
- }
2064
- E != null && g && He(E, f && f.ref, _, u || f, !u);
2065
- }, X = (f, u, h, m) => {
2066
- if (f == null)
2067
- n(
2068
- u.el = l(u.children),
2069
- h,
2070
- m
2071
- );
2072
- else {
2073
- const g = u.el = f.el;
2074
- u.children !== f.children && d(g, u.children);
2075
- }
2076
- }, H = (f, u, h, m) => {
2077
- f == null ? n(
2078
- u.el = c(u.children || ""),
2079
- h,
2080
- m
2081
- ) : u.el = f.el;
2082
- }, W = (f, u, h, m) => {
2083
- [f.el, f.anchor] = F(
2084
- f.children,
2085
- u,
2086
- h,
2087
- m,
2088
- f.el,
2089
- f.anchor
2090
- );
2091
- }, q = ({ el: f, anchor: u }, h, m) => {
2092
- let g;
2093
- for (; f && f !== u; )
2094
- g = S(f), n(f, h, m), f = g;
2095
- n(u, h, m);
2096
- }, P = ({ el: f, anchor: u }) => {
2097
- let h;
2098
- for (; f && f !== u; )
2099
- h = S(f), i(f), f = h;
2100
- i(u);
2101
- }, J = (f, u, h, m, g, _, v, x, y) => {
2102
- u.type === "svg" ? v = "svg" : u.type === "math" && (v = "mathml"), f == null ? It(
2103
- u,
2104
- h,
2105
- m,
2106
- g,
2107
- _,
2108
- v,
2109
- x,
2110
- y
2111
- ) : we(
2112
- f,
2113
- u,
2114
- g,
2115
- _,
2116
- v,
2117
- x,
2118
- y
2119
- );
2120
- }, It = (f, u, h, m, g, _, v, x) => {
2121
- let y, b;
2122
- const { props: E, shapeFlag: w, transition: T, dirs: R } = f;
2123
- if (y = f.el = o(
2124
- f.type,
2125
- _,
2126
- E && E.is,
2127
- E
2128
- ), w & 8 ? a(y, f.children) : w & 16 && Ft(
2129
- f.children,
2130
- y,
2131
- null,
2132
- m,
2133
- g,
2134
- ls(f, _),
2135
- v,
2136
- x
2137
- ), R && Wt(f, null, m, "created"), gt(y, f, f.scopeId, v, m), E) {
2138
- for (const $ in E)
2139
- $ !== "value" && !ce($) && r(y, $, null, E[$], _, m);
2140
- "value" in E && r(y, "value", null, E.value, _), (b = E.onVnodeBeforeMount) && xt(b, m, f);
2141
- }
2142
- R && Wt(f, null, m, "beforeMount");
2143
- const M = so(g, T);
2144
- M && T.beforeEnter(y), n(y, u, h), ((b = E && E.onVnodeMounted) || M || R) && ft(() => {
2145
- b && xt(b, m, f), M && T.enter(y), R && Wt(f, null, m, "mounted");
2146
- }, g);
2147
- }, gt = (f, u, h, m, g) => {
2148
- if (h && C(f, h), m)
2149
- for (let _ = 0; _ < m.length; _++)
2150
- C(f, m[_]);
2151
- if (g) {
2152
- let _ = g.subTree;
2153
- if (u === _ || wi(_.type) && (_.ssContent === u || _.ssFallback === u)) {
2154
- const v = g.vnode;
2155
- gt(
2156
- f,
2157
- v,
2158
- v.scopeId,
2159
- v.slotScopeIds,
2160
- g.parent
2161
- );
2162
- }
2163
- }
2164
- }, Ft = (f, u, h, m, g, _, v, x, y = 0) => {
2165
- for (let b = y; b < f.length; b++) {
2166
- const E = f[b] = x ? Dt(f[b]) : wt(f[b]);
2167
- I(
2168
- null,
2169
- E,
2170
- u,
2171
- h,
2172
- m,
2173
- g,
2174
- _,
2175
- v,
2176
- x
2177
- );
2178
- }
2179
- }, we = (f, u, h, m, g, _, v) => {
2180
- const x = u.el = f.el;
2181
- let { patchFlag: y, dynamicChildren: b, dirs: E } = u;
2182
- y |= f.patchFlag & 16;
2183
- const w = f.props || V, T = u.props || V;
2184
- let R;
2185
- if (h && qt(h, !1), (R = T.onVnodeBeforeUpdate) && xt(R, h, u, f), E && Wt(u, f, h, "beforeUpdate"), h && qt(h, !0), (w.innerHTML && T.innerHTML == null || w.textContent && T.textContent == null) && a(x, ""), b ? Vt(
2186
- f.dynamicChildren,
2187
- b,
2188
- x,
2189
- h,
2190
- m,
2191
- ls(u, g),
2192
- _
2193
- ) : v || L(
2194
- f,
2195
- u,
2196
- x,
2197
- null,
2198
- h,
2199
- m,
2200
- ls(u, g),
2201
- _,
2202
- !1
2203
- ), y > 0) {
2204
- if (y & 16)
2205
- se(x, w, T, h, g);
2206
- else if (y & 2 && w.class !== T.class && r(x, "class", null, T.class, g), y & 4 && r(x, "style", w.style, T.style, g), y & 8) {
2207
- const M = u.dynamicProps;
2208
- for (let $ = 0; $ < M.length; $++) {
2209
- const j = M[$], ot = w[j], nt = T[j];
2210
- (nt !== ot || j === "value") && r(x, j, ot, nt, g, h);
2211
- }
2212
- }
2213
- y & 1 && f.children !== u.children && a(x, u.children);
2214
- } else !v && b == null && se(x, w, T, h, g);
2215
- ((R = T.onVnodeUpdated) || E) && ft(() => {
2216
- R && xt(R, h, u, f), E && Wt(u, f, h, "updated");
2217
- }, m);
2218
- }, Vt = (f, u, h, m, g, _, v) => {
2219
- for (let x = 0; x < u.length; x++) {
2220
- const y = f[x], b = u[x], E = (
2221
- // oldVNode may be an errored async setup() component inside Suspense
2222
- // which will not have a mounted element
2223
- y.el && // - In the case of a Fragment, we need to provide the actual parent
2224
- // of the Fragment itself so it can move its children.
2225
- (y.type === At || // - In the case of different nodes, there is going to be a replacement
2226
- // which also requires the correct parent container
2227
- !le(y, b) || // - In the case of a component, it could contain anything.
2228
- y.shapeFlag & 198) ? p(y.el) : (
2229
- // In other cases, the parent container is not actually used so we
2230
- // just pass the block element here to avoid a DOM parentNode call.
2231
- h
2232
- )
2233
- );
2234
- I(
2235
- y,
2236
- b,
2237
- E,
2238
- null,
2239
- m,
2240
- g,
2241
- _,
2242
- v,
2243
- !0
2244
- );
2245
- }
2246
- }, se = (f, u, h, m, g) => {
2247
- if (u !== h) {
2248
- if (u !== V)
2249
- for (const _ in u)
2250
- !ce(_) && !(_ in h) && r(
2251
- f,
2252
- _,
2253
- u[_],
2254
- null,
2255
- g,
2256
- m
2257
- );
2258
- for (const _ in h) {
2259
- if (ce(_)) continue;
2260
- const v = h[_], x = u[_];
2261
- v !== x && _ !== "value" && r(f, _, x, v, g, m);
2262
- }
2263
- "value" in h && r(f, "value", u.value, h.value, g);
2264
- }
2265
- }, Se = (f, u, h, m, g, _, v, x, y) => {
2266
- const b = u.el = f ? f.el : l(""), E = u.anchor = f ? f.anchor : l("");
2267
- let { patchFlag: w, dynamicChildren: T, slotScopeIds: R } = u;
2268
- R && (x = x ? x.concat(R) : R), f == null ? (n(b, h, m), n(E, h, m), Ft(
2269
- // #10007
2270
- // such fragment like `<></>` will be compiled into
2271
- // a fragment which doesn't have a children.
2272
- // In this case fallback to an empty array
2273
- u.children || [],
2274
- h,
2275
- E,
2276
- g,
2277
- _,
2278
- v,
2279
- x,
2280
- y
2281
- )) : w > 0 && w & 64 && T && // #2715 the previous fragment could've been a BAILed one as a result
2282
- // of renderSlot() with no valid children
2283
- f.dynamicChildren ? (Vt(
2284
- f.dynamicChildren,
2285
- T,
2286
- h,
2287
- g,
2288
- _,
2289
- v,
2290
- x
2291
- ), // #2080 if the stable fragment has a key, it's a <template v-for> that may
2292
- // get moved around. Make sure all root level vnodes inherit el.
2293
- // #2134 or if it's a component root, it may also get moved around
2294
- // as the component is being moved.
2295
- (u.key != null || g && u === g.subTree) && bi(
2296
- f,
2297
- u,
2298
- !0
2299
- /* shallow */
2300
- )) : L(
2301
- f,
2302
- u,
2303
- h,
2304
- E,
2305
- g,
2306
- _,
2307
- v,
2308
- x,
2309
- y
2310
- );
2311
- }, Ce = (f, u, h, m, g, _, v, x, y) => {
2312
- u.slotScopeIds = x, f == null ? u.shapeFlag & 512 ? g.ctx.activate(
2313
- u,
2314
- h,
2315
- m,
2316
- v,
2317
- y
2318
- ) : Qe(
2319
- u,
2320
- h,
2321
- m,
2322
- g,
2323
- _,
2324
- v,
2325
- y
2326
- ) : Bs(f, u, y);
2327
- }, Qe = (f, u, h, m, g, _, v) => {
2328
- const x = f.component = Co(
2329
- f,
2330
- m,
2331
- g
2332
- );
2333
- if (ii(f) && (x.ctx.renderer = ie), Eo(x, !1, v), x.asyncDep) {
2334
- if (g && g.registerDep(x, tt, v), !f.el) {
2335
- const y = x.subTree = rt($t);
2336
- H(null, y, u, h);
2337
- }
2338
- } else
2339
- tt(
2340
- x,
2341
- f,
2342
- u,
2343
- h,
2344
- g,
2345
- _,
2346
- v
2347
- );
2348
- }, Bs = (f, u, h) => {
2349
- const m = u.component = f.component;
2350
- if (ao(f, u, h))
2351
- if (m.asyncDep && !m.asyncResolved) {
2352
- B(m, u, h);
2353
- return;
2354
- } else
2355
- m.next = u, m.update();
2356
- else
2357
- u.el = f.el, m.vnode = u;
2358
- }, tt = (f, u, h, m, g, _, v) => {
2359
- const x = () => {
2360
- if (f.isMounted) {
2361
- let { next: w, bu: T, u: R, parent: M, vnode: $ } = f;
2362
- {
2363
- const bt = yi(f);
2364
- if (bt) {
2365
- w && (w.el = $.el, B(f, w, v)), bt.asyncDep.then(() => {
2366
- f.isUnmounted || x();
2367
- });
2368
- return;
2369
- }
2370
- }
2371
- let j = w, ot;
2372
- qt(f, !1), w ? (w.el = $.el, B(f, w, v)) : w = $, T && es(T), (ot = w.props && w.props.onVnodeBeforeUpdate) && xt(ot, M, w, $), qt(f, !0);
2373
- const nt = on(f), mt = f.subTree;
2374
- f.subTree = nt, I(
2375
- mt,
2376
- nt,
2377
- // parent may have changed if it's in a teleport
2378
- p(mt.el),
2379
- // anchor may have changed if it's in a fragment
2380
- Ee(mt),
2381
- f,
2382
- g,
2383
- _
2384
- ), w.el = nt.el, j === null && ho(f, nt.el), R && ft(R, g), (ot = w.props && w.props.onVnodeUpdated) && ft(
2385
- () => xt(ot, M, w, $),
2386
- g
2387
- );
2388
- } else {
2389
- let w;
2390
- const { el: T, props: R } = u, { bm: M, m: $, parent: j, root: ot, type: nt } = f, mt = he(u);
2391
- qt(f, !1), M && es(M), !mt && (w = R && R.onVnodeBeforeMount) && xt(w, j, u), qt(f, !0);
2392
- {
2393
- ot.ce && ot.ce._injectChildStyle(nt);
2394
- const bt = f.subTree = on(f);
2395
- I(
2396
- null,
2397
- bt,
2398
- h,
2399
- m,
2400
- f,
2401
- g,
2402
- _
2403
- ), u.el = bt.el;
2404
- }
2405
- if ($ && ft($, g), !mt && (w = R && R.onVnodeMounted)) {
2406
- const bt = u;
2407
- ft(
2408
- () => xt(w, j, bt),
2409
- g
2410
- );
2411
- }
2412
- (u.shapeFlag & 256 || j && he(j.vnode) && j.vnode.shapeFlag & 256) && f.a && ft(f.a, g), f.isMounted = !0, u = h = m = null;
2413
- }
2414
- };
2415
- f.scope.on();
2416
- const y = f.effect = new Fn(x);
2417
- f.scope.off();
2418
- const b = f.update = y.run.bind(y), E = f.job = y.runIfDirty.bind(y);
2419
- E.i = f, E.id = f.uid, y.scheduler = () => js(E), qt(f, !0), b();
2420
- }, B = (f, u, h) => {
2421
- u.component = f;
2422
- const m = f.vnode.props;
2423
- f.vnode = u, f.next = null, zr(f, u.props, m, h), kr(f, u.children, h), Rt(), Qs(f), Ot();
2424
- }, L = (f, u, h, m, g, _, v, x, y = !1) => {
2425
- const b = f && f.children, E = f ? f.shapeFlag : 0, w = u.children, { patchFlag: T, shapeFlag: R } = u;
2426
- if (T > 0) {
2427
- if (T & 128) {
2428
- Te(
2429
- b,
2430
- w,
2431
- h,
2432
- m,
2433
- g,
2434
- _,
2435
- v,
2436
- x,
2437
- y
2438
- );
2439
- return;
2440
- } else if (T & 256) {
2441
- Ut(
2442
- b,
2443
- w,
2444
- h,
2445
- m,
2446
- g,
2447
- _,
2448
- v,
2449
- x,
2450
- y
2451
- );
2452
- return;
2453
- }
2454
- }
2455
- R & 8 ? (E & 16 && ne(b, g, _), w !== b && a(h, w)) : E & 16 ? R & 16 ? Te(
2456
- b,
2457
- w,
2458
- h,
2459
- m,
2460
- g,
2461
- _,
2462
- v,
2463
- x,
2464
- y
2465
- ) : ne(b, g, _, !0) : (E & 8 && a(h, ""), R & 16 && Ft(
2466
- w,
2467
- h,
2468
- m,
2469
- g,
2470
- _,
2471
- v,
2472
- x,
2473
- y
2474
- ));
2475
- }, Ut = (f, u, h, m, g, _, v, x, y) => {
2476
- f = f || Xt, u = u || Xt;
2477
- const b = f.length, E = u.length, w = Math.min(b, E);
2478
- let T;
2479
- for (T = 0; T < w; T++) {
2480
- const R = u[T] = y ? Dt(u[T]) : wt(u[T]);
2481
- I(
2482
- f[T],
2483
- R,
2484
- h,
2485
- null,
2486
- g,
2487
- _,
2488
- v,
2489
- x,
2490
- y
2491
- );
2492
- }
2493
- b > E ? ne(
2494
- f,
2495
- g,
2496
- _,
2497
- !0,
2498
- !1,
2499
- w
2500
- ) : Ft(
2501
- u,
2502
- h,
2503
- m,
2504
- g,
2505
- _,
2506
- v,
2507
- x,
2508
- y,
2509
- w
2510
- );
2511
- }, Te = (f, u, h, m, g, _, v, x, y) => {
2512
- let b = 0;
2513
- const E = u.length;
2514
- let w = f.length - 1, T = E - 1;
2515
- for (; b <= w && b <= T; ) {
2516
- const R = f[b], M = u[b] = y ? Dt(u[b]) : wt(u[b]);
2517
- if (le(R, M))
2518
- I(
2519
- R,
2520
- M,
2521
- h,
2522
- null,
2523
- g,
2524
- _,
2525
- v,
2526
- x,
2527
- y
2528
- );
2529
- else
2530
- break;
2531
- b++;
2532
- }
2533
- for (; b <= w && b <= T; ) {
2534
- const R = f[w], M = u[T] = y ? Dt(u[T]) : wt(u[T]);
2535
- if (le(R, M))
2536
- I(
2537
- R,
2538
- M,
2539
- h,
2540
- null,
2541
- g,
2542
- _,
2543
- v,
2544
- x,
2545
- y
2546
- );
2547
- else
2548
- break;
2549
- w--, T--;
2550
- }
2551
- if (b > w) {
2552
- if (b <= T) {
2553
- const R = T + 1, M = R < E ? u[R].el : m;
2554
- for (; b <= T; )
2555
- I(
2556
- null,
2557
- u[b] = y ? Dt(u[b]) : wt(u[b]),
2558
- h,
2559
- M,
2560
- g,
2561
- _,
2562
- v,
2563
- x,
2564
- y
2565
- ), b++;
2566
- }
2567
- } else if (b > T)
2568
- for (; b <= w; )
2569
- _t(f[b], g, _, !0), b++;
2570
- else {
2571
- const R = b, M = b, $ = /* @__PURE__ */ new Map();
2572
- for (b = M; b <= T; b++) {
2573
- const lt = u[b] = y ? Dt(u[b]) : wt(u[b]);
2574
- lt.key != null && $.set(lt.key, b);
2575
- }
2576
- let j, ot = 0;
2577
- const nt = T - M + 1;
2578
- let mt = !1, bt = 0;
2579
- const re = new Array(nt);
2580
- for (b = 0; b < nt; b++) re[b] = 0;
2581
- for (b = R; b <= w; b++) {
2582
- const lt = f[b];
2583
- if (ot >= nt) {
2584
- _t(lt, g, _, !0);
2585
- continue;
2586
- }
2587
- let yt;
2588
- if (lt.key != null)
2589
- yt = $.get(lt.key);
2590
- else
2591
- for (j = M; j <= T; j++)
2592
- if (re[j - M] === 0 && le(lt, u[j])) {
2593
- yt = j;
2594
- break;
2595
- }
2596
- yt === void 0 ? _t(lt, g, _, !0) : (re[yt - M] = b + 1, yt >= bt ? bt = yt : mt = !0, I(
2597
- lt,
2598
- u[yt],
2599
- h,
2600
- null,
2601
- g,
2602
- _,
2603
- v,
2604
- x,
2605
- y
2606
- ), ot++);
2607
- }
2608
- const Gs = mt ? no(re) : Xt;
2609
- for (j = Gs.length - 1, b = nt - 1; b >= 0; b--) {
2610
- const lt = M + b, yt = u[lt], Js = lt + 1 < E ? u[lt + 1].el : m;
2611
- re[b] === 0 ? I(
2612
- null,
2613
- yt,
2614
- h,
2615
- Js,
2616
- g,
2617
- _,
2618
- v,
2619
- x,
2620
- y
2621
- ) : mt && (j < 0 || b !== Gs[j] ? Bt(yt, h, Js, 2) : j--);
2622
- }
2623
- }
2624
- }, Bt = (f, u, h, m, g = null) => {
2625
- const { el: _, type: v, transition: x, children: y, shapeFlag: b } = f;
2626
- if (b & 6) {
2627
- Bt(f.component.subTree, u, h, m);
2628
- return;
2629
- }
2630
- if (b & 128) {
2631
- f.suspense.move(u, h, m);
2632
- return;
2633
- }
2634
- if (b & 64) {
2635
- v.move(f, u, h, ie);
2636
- return;
2637
- }
2638
- if (v === At) {
2639
- n(_, u, h);
2640
- for (let w = 0; w < y.length; w++)
2641
- Bt(y[w], u, h, m);
2642
- n(f.anchor, u, h);
2643
- return;
2644
- }
2645
- if (v === cs) {
2646
- q(f, u, h);
2647
- return;
2648
- }
2649
- if (m !== 2 && b & 1 && x)
2650
- if (m === 0)
2651
- x.beforeEnter(_), n(_, u, h), ft(() => x.enter(_), g);
2652
- else {
2653
- const { leave: w, delayLeave: T, afterLeave: R } = x, M = () => {
2654
- f.ctx.isUnmounted ? i(_) : n(_, u, h);
2655
- }, $ = () => {
2656
- w(_, () => {
2657
- M(), R && R();
2658
- });
2659
- };
2660
- T ? T(_, M, $) : $();
2661
- }
2662
- else
2663
- n(_, u, h);
2664
- }, _t = (f, u, h, m = !1, g = !1) => {
2665
- const {
2666
- type: _,
2667
- props: v,
2668
- ref: x,
2669
- children: y,
2670
- dynamicChildren: b,
2671
- shapeFlag: E,
2672
- patchFlag: w,
2673
- dirs: T,
2674
- cacheIndex: R
2675
- } = f;
2676
- if (w === -2 && (g = !1), x != null && (Rt(), He(x, null, h, f, !0), Ot()), R != null && (u.renderCache[R] = void 0), E & 256) {
2677
- u.ctx.deactivate(f);
2678
- return;
2679
- }
2680
- const M = E & 1 && T, $ = !he(f);
2681
- let j;
2682
- if ($ && (j = v && v.onVnodeBeforeUnmount) && xt(j, u, f), E & 6)
2683
- Mi(f.component, h, m);
2684
- else {
2685
- if (E & 128) {
2686
- f.suspense.unmount(h, m);
2687
- return;
2688
- }
2689
- M && Wt(f, null, u, "beforeUnmount"), E & 64 ? f.type.remove(
2690
- f,
2691
- u,
2692
- h,
2693
- ie,
2694
- m
2695
- ) : b && // #5154
2696
- // when v-once is used inside a block, setBlockTracking(-1) marks the
2697
- // parent block with hasOnce: true
2698
- // so that it doesn't take the fast path during unmount - otherwise
2699
- // components nested in v-once are never unmounted.
2700
- !b.hasOnce && // #1153: fast path should not be taken for non-stable (v-for) fragments
2701
- (_ !== At || w > 0 && w & 64) ? ne(
2702
- b,
2703
- u,
2704
- h,
2705
- !1,
2706
- !0
2707
- ) : (_ === At && w & 384 || !g && E & 16) && ne(y, u, h), m && Ws(f);
2708
- }
2709
- ($ && (j = v && v.onVnodeUnmounted) || M) && ft(() => {
2710
- j && xt(j, u, f), M && Wt(f, null, u, "unmounted");
2711
- }, h);
2712
- }, Ws = (f) => {
2713
- const { type: u, el: h, anchor: m, transition: g } = f;
2714
- if (u === At) {
2715
- Oi(h, m);
2716
- return;
2717
- }
2718
- if (u === cs) {
2719
- P(f);
2720
- return;
2721
- }
2722
- const _ = () => {
2723
- i(h), g && !g.persisted && g.afterLeave && g.afterLeave();
2724
- };
2725
- if (f.shapeFlag & 1 && g && !g.persisted) {
2726
- const { leave: v, delayLeave: x } = g, y = () => v(h, _);
2727
- x ? x(f.el, _, y) : y();
2728
- } else
2729
- _();
2730
- }, Oi = (f, u) => {
2731
- let h;
2732
- for (; f !== u; )
2733
- h = S(f), i(f), f = h;
2734
- i(u);
2735
- }, Mi = (f, u, h) => {
2736
- const {
2737
- bum: m,
2738
- scope: g,
2739
- job: _,
2740
- subTree: v,
2741
- um: x,
2742
- m: y,
2743
- a: b,
2744
- parent: E,
2745
- slots: { __: w }
2746
- } = f;
2747
- rn(y), rn(b), m && es(m), E && A(w) && w.forEach((T) => {
2748
- E.renderCache[T] = void 0;
2749
- }), g.stop(), _ && (_.flags |= 8, _t(v, f, u, h)), x && ft(x, u), ft(() => {
2750
- f.isUnmounted = !0;
2751
- }, u), u && u.pendingBranch && !u.isUnmounted && f.asyncDep && !f.asyncResolved && f.suspenseId === u.pendingId && (u.deps--, u.deps === 0 && u.resolve());
2752
- }, ne = (f, u, h, m = !1, g = !1, _ = 0) => {
2753
- for (let v = _; v < f.length; v++)
2754
- _t(f[v], u, h, m, g);
2755
- }, Ee = (f) => {
2756
- if (f.shapeFlag & 6)
2757
- return Ee(f.component.subTree);
2758
- if (f.shapeFlag & 128)
2759
- return f.suspense.next();
2760
- const u = S(f.anchor || f.el), h = u && u[Sr];
2761
- return h ? S(h) : u;
2762
- };
2763
- let ke = !1;
2764
- const qs = (f, u, h) => {
2765
- f == null ? u._vnode && _t(u._vnode, null, null, !0) : I(
2766
- u._vnode || null,
2767
- f,
2768
- u,
2769
- null,
2770
- null,
2771
- null,
2772
- h
2773
- ), u._vnode = f, ke || (ke = !0, Qs(), ti(), ke = !1);
2774
- }, ie = {
2775
- p: I,
2776
- um: _t,
2777
- m: Bt,
2778
- r: Ws,
2779
- mt: Qe,
2780
- mc: Ft,
2781
- pc: L,
2782
- pbc: Vt,
2783
- n: Ee,
2784
- o: t
2785
- };
2786
- return {
2787
- render: qs,
2788
- hydrate: void 0,
2789
- createApp: Gr(qs)
2790
- };
2791
- }
2792
- function ls({ type: t, props: e }, s) {
2793
- return s === "svg" && t === "foreignObject" || s === "mathml" && t === "annotation-xml" && e && e.encoding && e.encoding.includes("html") ? void 0 : s;
2794
- }
2795
- function qt({ effect: t, job: e }, s) {
2796
- s ? (t.flags |= 32, e.flags |= 4) : (t.flags &= -33, e.flags &= -5);
2797
- }
2798
- function so(t, e) {
2799
- return (!t || t && !t.pendingBranch) && e && !e.persisted;
2800
- }
2801
- function bi(t, e, s = !1) {
2802
- const n = t.children, i = e.children;
2803
- if (A(n) && A(i))
2804
- for (let r = 0; r < n.length; r++) {
2805
- const o = n[r];
2806
- let l = i[r];
2807
- l.shapeFlag & 1 && !l.dynamicChildren && ((l.patchFlag <= 0 || l.patchFlag === 32) && (l = i[r] = Dt(i[r]), l.el = o.el), !s && l.patchFlag !== -2 && bi(o, l)), l.type === Ze && (l.el = o.el), l.type === $t && !l.el && (l.el = o.el);
2808
- }
2809
- }
2810
- function no(t) {
2811
- const e = t.slice(), s = [0];
2812
- let n, i, r, o, l;
2813
- const c = t.length;
2814
- for (n = 0; n < c; n++) {
2815
- const d = t[n];
2816
- if (d !== 0) {
2817
- if (i = s[s.length - 1], t[i] < d) {
2818
- e[n] = i, s.push(n);
2819
- continue;
2820
- }
2821
- for (r = 0, o = s.length - 1; r < o; )
2822
- l = r + o >> 1, t[s[l]] < d ? r = l + 1 : o = l;
2823
- d < t[s[r]] && (r > 0 && (e[n] = s[r - 1]), s[r] = n);
2824
- }
2825
- }
2826
- for (r = s.length, o = s[r - 1]; r-- > 0; )
2827
- s[r] = o, o = e[o];
2828
- return s;
2829
- }
2830
- function yi(t) {
2831
- const e = t.subTree.component;
2832
- if (e)
2833
- return e.asyncDep && !e.asyncResolved ? e : yi(e);
2834
- }
2835
- function rn(t) {
2836
- if (t)
2837
- for (let e = 0; e < t.length; e++)
2838
- t[e].flags |= 8;
2839
- }
2840
- const io = Symbol.for("v-scx"), ro = () => Oe(io);
2841
- function hl(t, e) {
2842
- return ze(t, null, e);
2843
- }
2844
- function dl(t, e) {
2845
- return ze(
2846
- t,
2847
- null,
2848
- { flush: "post" }
2849
- );
2850
- }
2851
- function fs(t, e, s) {
2852
- return ze(t, e, s);
2853
- }
2854
- function ze(t, e, s = V) {
2855
- const { immediate: n, deep: i, flush: r, once: o } = s, l = Y({}, s), c = e && n || !e && r !== "post";
2856
- let d;
2857
- if (ye) {
2858
- if (r === "sync") {
2859
- const C = ro();
2860
- d = C.__watcherHandles || (C.__watcherHandles = []);
2861
- } else if (!c) {
2862
- const C = () => {
2863
- };
2864
- return C.stop = St, C.resume = St, C.pause = St, C;
2865
- }
2866
- }
2867
- const a = Q;
2868
- l.call = (C, F, I) => Ct(C, a, F, I);
2869
- let p = !1;
2870
- r === "post" ? l.scheduler = (C) => {
2871
- ft(C, a && a.suspense);
2872
- } : r !== "sync" && (p = !0, l.scheduler = (C, F) => {
2873
- F ? C() : js(C);
2874
- }), l.augmentJob = (C) => {
2875
- e && (C.flags |= 4), p && (C.flags |= 2, a && (C.id = a.uid, C.i = a));
2876
- };
2877
- const S = br(t, e, l);
2878
- return ye && (d ? d.push(S) : c && S()), S;
2879
- }
2880
- function oo(t, e, s) {
2881
- const n = this.proxy, i = G(t) ? t.includes(".") ? xi(n, t) : () => n[t] : t.bind(n, n);
2882
- let r;
2883
- O(e) ? r = e : (r = e.handler, s = e);
2884
- const o = ve(this), l = ze(i, r.bind(n), s);
2885
- return o(), l;
2886
- }
2887
- function xi(t, e) {
2888
- const s = e.split(".");
2889
- return () => {
2890
- let n = t;
2891
- for (let i = 0; i < s.length && n; i++)
2892
- n = n[s[i]];
2893
- return n;
2894
- };
2895
- }
2896
- const lo = (t, e) => e === "modelValue" || e === "model-value" ? t.modelModifiers : t[`${e}Modifiers`] || t[`${dt(e)}Modifiers`] || t[`${ct(e)}Modifiers`];
2897
- function fo(t, e, ...s) {
2898
- if (t.isUnmounted) return;
2899
- const n = t.vnode.props || V;
2900
- let i = s;
2901
- const r = e.startsWith("update:"), o = r && lo(n, e.slice(7));
2902
- o && (o.trim && (i = s.map((a) => G(a) ? a.trim() : a)), o.number && (i = s.map(Hi)));
2903
- let l, c = n[l = ts(e)] || // also try camelCase event handler (#2249)
2904
- n[l = ts(dt(e))];
2905
- !c && r && (c = n[l = ts(ct(e))]), c && Ct(
2906
- c,
2907
- t,
2908
- 6,
2909
- i
2910
- );
2911
- const d = n[l + "Once"];
2912
- if (d) {
2913
- if (!t.emitted)
2914
- t.emitted = {};
2915
- else if (t.emitted[l])
2916
- return;
2917
- t.emitted[l] = !0, Ct(
2918
- d,
2919
- t,
2920
- 6,
2921
- i
2922
- );
2923
- }
2924
- }
2925
- function vi(t, e, s = !1) {
2926
- const n = e.emitsCache, i = n.get(t);
2927
- if (i !== void 0)
2928
- return i;
2929
- const r = t.emits;
2930
- let o = {}, l = !1;
2931
- if (!O(t)) {
2932
- const c = (d) => {
2933
- const a = vi(d, e, !0);
2934
- a && (l = !0, Y(o, a));
2935
- };
2936
- !s && e.mixins.length && e.mixins.forEach(c), t.extends && c(t.extends), t.mixins && t.mixins.forEach(c);
2937
- }
2938
- return !r && !l ? (U(t) && n.set(t, null), null) : (A(r) ? r.forEach((c) => o[c] = null) : Y(o, r), U(t) && n.set(t, o), o);
2939
- }
2940
- function Xe(t, e) {
2941
- return !t || !Ve(e) ? !1 : (e = e.slice(2).replace(/Once$/, ""), N(t, e[0].toLowerCase() + e.slice(1)) || N(t, ct(e)) || N(t, e));
2942
- }
2943
- function on(t) {
2944
- const {
2945
- type: e,
2946
- vnode: s,
2947
- proxy: n,
2948
- withProxy: i,
2949
- propsOptions: [r],
2950
- slots: o,
2951
- attrs: l,
2952
- emit: c,
2953
- render: d,
2954
- renderCache: a,
2955
- props: p,
2956
- data: S,
2957
- setupState: C,
2958
- ctx: F,
2959
- inheritAttrs: I
2960
- } = t, X = je(t);
2961
- let H, W;
2962
- try {
2963
- if (s.shapeFlag & 4) {
2964
- const P = i || n, J = P;
2965
- H = wt(
2966
- d.call(
2967
- J,
2968
- P,
2969
- a,
2970
- p,
2971
- C,
2972
- S,
2973
- F
2974
- )
2975
- ), W = l;
2976
- } else {
2977
- const P = e;
2978
- H = wt(
2979
- P.length > 1 ? P(
2980
- p,
2981
- { attrs: l, slots: o, emit: c }
2982
- ) : P(
2983
- p,
2984
- null
2985
- )
2986
- ), W = e.props ? l : co(l);
2987
- }
2988
- } catch (P) {
2989
- pe.length = 0, Je(P, t, 1), H = rt($t);
2990
- }
2991
- let q = H;
2992
- if (W && I !== !1) {
2993
- const P = Object.keys(W), { shapeFlag: J } = q;
2994
- P.length && J & 7 && (r && P.some(Ss) && (W = uo(
2995
- W,
2996
- r
2997
- )), q = ee(q, W, !1, !0));
2998
- }
2999
- return s.dirs && (q = ee(q, null, !1, !0), q.dirs = q.dirs ? q.dirs.concat(s.dirs) : s.dirs), s.transition && Hs(q, s.transition), H = q, je(X), H;
3000
- }
3001
- const co = (t) => {
3002
- let e;
3003
- for (const s in t)
3004
- (s === "class" || s === "style" || Ve(s)) && ((e || (e = {}))[s] = t[s]);
3005
- return e;
3006
- }, uo = (t, e) => {
3007
- const s = {};
3008
- for (const n in t)
3009
- (!Ss(n) || !(n.slice(9) in e)) && (s[n] = t[n]);
3010
- return s;
3011
- };
3012
- function ao(t, e, s) {
3013
- const { props: n, children: i, component: r } = t, { props: o, children: l, patchFlag: c } = e, d = r.emitsOptions;
3014
- if (e.dirs || e.transition)
3015
- return !0;
3016
- if (s && c >= 0) {
3017
- if (c & 1024)
3018
- return !0;
3019
- if (c & 16)
3020
- return n ? ln(n, o, d) : !!o;
3021
- if (c & 8) {
3022
- const a = e.dynamicProps;
3023
- for (let p = 0; p < a.length; p++) {
3024
- const S = a[p];
3025
- if (o[S] !== n[S] && !Xe(d, S))
3026
- return !0;
3027
- }
3028
- }
3029
- } else
3030
- return (i || l) && (!l || !l.$stable) ? !0 : n === o ? !1 : n ? o ? ln(n, o, d) : !0 : !!o;
3031
- return !1;
3032
- }
3033
- function ln(t, e, s) {
3034
- const n = Object.keys(e);
3035
- if (n.length !== Object.keys(t).length)
3036
- return !0;
3037
- for (let i = 0; i < n.length; i++) {
3038
- const r = n[i];
3039
- if (e[r] !== t[r] && !Xe(s, r))
3040
- return !0;
3041
- }
3042
- return !1;
3043
- }
3044
- function ho({ vnode: t, parent: e }, s) {
3045
- for (; e; ) {
3046
- const n = e.subTree;
3047
- if (n.suspense && n.suspense.activeBranch === t && (n.el = t.el), n === t)
3048
- (t = e.vnode).el = s, e = e.parent;
3049
- else
3050
- break;
3051
- }
3052
- }
3053
- const wi = (t) => t.__isSuspense;
3054
- function po(t, e) {
3055
- e && e.pendingBranch ? A(t) ? e.effects.push(...t) : e.effects.push(t) : vr(t);
3056
- }
3057
- const At = Symbol.for("v-fgt"), Ze = Symbol.for("v-txt"), $t = Symbol.for("v-cmt"), cs = Symbol.for("v-stc"), pe = [];
3058
- let ut = null;
3059
- function go(t = !1) {
3060
- pe.push(ut = t ? null : []);
3061
- }
3062
- function _o() {
3063
- pe.pop(), ut = pe[pe.length - 1] || null;
3064
- }
3065
- let be = 1;
3066
- function fn(t, e = !1) {
3067
- be += t, t < 0 && ut && e && (ut.hasOnce = !0);
3068
- }
3069
- function Si(t) {
3070
- return t.dynamicChildren = be > 0 ? ut || Xt : null, _o(), be > 0 && ut && ut.push(t), t;
3071
- }
3072
- function pl(t, e, s, n, i, r) {
3073
- return Si(
3074
- Ti(
3075
- t,
3076
- e,
3077
- s,
3078
- n,
3079
- i,
3080
- r,
3081
- !0
3082
- )
3083
- );
3084
- }
3085
- function mo(t, e, s, n, i) {
3086
- return Si(
3087
- rt(
3088
- t,
3089
- e,
3090
- s,
3091
- n,
3092
- i,
3093
- !0
3094
- )
3095
- );
3096
- }
3097
- function $e(t) {
3098
- return t ? t.__v_isVNode === !0 : !1;
3099
- }
3100
- function le(t, e) {
3101
- return t.type === e.type && t.key === e.key;
3102
- }
3103
- const Ci = ({ key: t }) => t ?? null, Me = ({
3104
- ref: t,
3105
- ref_key: e,
3106
- ref_for: s
3107
- }) => (typeof t == "number" && (t = "" + t), t != null ? G(t) || k(t) || O(t) ? { i: ht, r: t, k: e, f: !!s } : t : null);
3108
- function Ti(t, e = null, s = null, n = 0, i = null, r = t === At ? 0 : 1, o = !1, l = !1) {
3109
- const c = {
3110
- __v_isVNode: !0,
3111
- __v_skip: !0,
3112
- type: t,
3113
- props: e,
3114
- key: e && Ci(e),
3115
- ref: e && Me(e),
3116
- scopeId: si,
3117
- slotScopeIds: null,
3118
- children: s,
3119
- component: null,
3120
- suspense: null,
3121
- ssContent: null,
3122
- ssFallback: null,
3123
- dirs: null,
3124
- transition: null,
3125
- el: null,
3126
- anchor: null,
3127
- target: null,
3128
- targetStart: null,
3129
- targetAnchor: null,
3130
- staticCount: 0,
3131
- shapeFlag: r,
3132
- patchFlag: n,
3133
- dynamicProps: i,
3134
- dynamicChildren: null,
3135
- appContext: null,
3136
- ctx: ht
3137
- };
3138
- return l ? (Ks(c, s), r & 128 && t.normalize(c)) : s && (c.shapeFlag |= G(s) ? 8 : 16), be > 0 && // avoid a block node from tracking itself
3139
- !o && // has current parent block
3140
- ut && // presence of a patch flag indicates this node needs patching on updates.
3141
- // component nodes also should always be patched, because even if the
3142
- // component doesn't need to update, it needs to persist the instance on to
3143
- // the next vnode so that it can be properly unmounted later.
3144
- (c.patchFlag > 0 || r & 6) && // the EVENTS flag is only for hydration and if it is the only flag, the
3145
- // vnode should not be considered dynamic due to handler caching.
3146
- c.patchFlag !== 32 && ut.push(c), c;
3147
- }
3148
- const rt = bo;
3149
- function bo(t, e = null, s = null, n = 0, i = null, r = !1) {
3150
- if ((!t || t === Lr) && (t = $t), $e(t)) {
3151
- const l = ee(
3152
- t,
3153
- e,
3154
- !0
3155
- /* mergeRef: true */
3156
- );
3157
- return s && Ks(l, s), be > 0 && !r && ut && (l.shapeFlag & 6 ? ut[ut.indexOf(t)] = l : ut.push(l)), l.patchFlag = -2, l;
3158
- }
3159
- if (Oo(t) && (t = t.__vccOpts), e) {
3160
- e = yo(e);
3161
- let { class: l, style: c } = e;
3162
- l && !G(l) && (e.class = As(l)), U(c) && (Ds(c) && !A(c) && (c = Y({}, c)), e.style = Es(c));
3163
- }
3164
- const o = G(t) ? 1 : wi(t) ? 128 : Cr(t) ? 64 : U(t) ? 4 : O(t) ? 2 : 0;
3165
- return Ti(
3166
- t,
3167
- e,
3168
- s,
3169
- n,
3170
- i,
3171
- o,
3172
- r,
3173
- !0
3174
- );
3175
- }
3176
- function yo(t) {
3177
- return t ? Ds(t) || hi(t) ? Y({}, t) : t : null;
3178
- }
3179
- function ee(t, e, s = !1, n = !1) {
3180
- const { props: i, ref: r, patchFlag: o, children: l, transition: c } = t, d = e ? vo(i || {}, e) : i, a = {
3181
- __v_isVNode: !0,
3182
- __v_skip: !0,
3183
- type: t.type,
3184
- props: d,
3185
- key: d && Ci(d),
3186
- ref: e && e.ref ? (
3187
- // #2078 in the case of <component :is="vnode" ref="extra"/>
3188
- // if the vnode itself already has a ref, cloneVNode will need to merge
3189
- // the refs so the single vnode can be set on multiple refs
3190
- s && r ? A(r) ? r.concat(Me(e)) : [r, Me(e)] : Me(e)
3191
- ) : r,
3192
- scopeId: t.scopeId,
3193
- slotScopeIds: t.slotScopeIds,
3194
- children: l,
3195
- target: t.target,
3196
- targetStart: t.targetStart,
3197
- targetAnchor: t.targetAnchor,
3198
- staticCount: t.staticCount,
3199
- shapeFlag: t.shapeFlag,
3200
- // if the vnode is cloned with extra props, we can no longer assume its
3201
- // existing patch flag to be reliable and need to add the FULL_PROPS flag.
3202
- // note: preserve flag for fragments since they use the flag for children
3203
- // fast paths only.
3204
- patchFlag: e && t.type !== At ? o === -1 ? 16 : o | 16 : o,
3205
- dynamicProps: t.dynamicProps,
3206
- dynamicChildren: t.dynamicChildren,
3207
- appContext: t.appContext,
3208
- dirs: t.dirs,
3209
- transition: c,
3210
- // These should technically only be non-null on mounted VNodes. However,
3211
- // they *should* be copied for kept-alive vnodes. So we just always copy
3212
- // them since them being non-null during a mount doesn't affect the logic as
3213
- // they will simply be overwritten.
3214
- component: t.component,
3215
- suspense: t.suspense,
3216
- ssContent: t.ssContent && ee(t.ssContent),
3217
- ssFallback: t.ssFallback && ee(t.ssFallback),
3218
- el: t.el,
3219
- anchor: t.anchor,
3220
- ctx: t.ctx,
3221
- ce: t.ce
3222
- };
3223
- return c && n && Hs(
3224
- a,
3225
- c.clone(a)
3226
- ), a;
3227
- }
3228
- function xo(t = " ", e = 0) {
3229
- return rt(Ze, null, t, e);
3230
- }
3231
- function gl(t = "", e = !1) {
3232
- return e ? (go(), mo($t, null, t)) : rt($t, null, t);
3233
- }
3234
- function wt(t) {
3235
- return t == null || typeof t == "boolean" ? rt($t) : A(t) ? rt(
3236
- At,
3237
- null,
3238
- // #3666, avoid reference pollution when reusing vnode
3239
- t.slice()
3240
- ) : $e(t) ? Dt(t) : rt(Ze, null, String(t));
3241
- }
3242
- function Dt(t) {
3243
- return t.el === null && t.patchFlag !== -1 || t.memo ? t : ee(t);
3244
- }
3245
- function Ks(t, e) {
3246
- let s = 0;
3247
- const { shapeFlag: n } = t;
3248
- if (e == null)
3249
- e = null;
3250
- else if (A(e))
3251
- s = 16;
3252
- else if (typeof e == "object")
3253
- if (n & 65) {
3254
- const i = e.default;
3255
- i && (i._c && (i._d = !1), Ks(t, i()), i._c && (i._d = !0));
3256
- return;
3257
- } else {
3258
- s = 32;
3259
- const i = e._;
3260
- !i && !hi(e) ? e._ctx = ht : i === 3 && ht && (ht.slots._ === 1 ? e._ = 1 : (e._ = 2, t.patchFlag |= 1024));
3261
- }
3262
- else O(e) ? (e = { default: e, _ctx: ht }, s = 32) : (e = String(e), n & 64 ? (s = 16, e = [xo(e)]) : s = 8);
3263
- t.children = e, t.shapeFlag |= s;
3264
- }
3265
- function vo(...t) {
3266
- const e = {};
3267
- for (let s = 0; s < t.length; s++) {
3268
- const n = t[s];
3269
- for (const i in n)
3270
- if (i === "class")
3271
- e.class !== n.class && (e.class = As([e.class, n.class]));
3272
- else if (i === "style")
3273
- e.style = Es([e.style, n.style]);
3274
- else if (Ve(i)) {
3275
- const r = e[i], o = n[i];
3276
- o && r !== o && !(A(r) && r.includes(o)) && (e[i] = r ? [].concat(r, o) : o);
3277
- } else i !== "" && (e[i] = n[i]);
3278
- }
3279
- return e;
3280
- }
3281
- function xt(t, e, s, n = null) {
3282
- Ct(t, e, 7, [
3283
- s,
3284
- n
3285
- ]);
3286
- }
3287
- const wo = ci();
3288
- let So = 0;
3289
- function Co(t, e, s) {
3290
- const n = t.type, i = (e ? e.appContext : t.appContext) || wo, r = {
3291
- uid: So++,
3292
- vnode: t,
3293
- type: n,
3294
- parent: e,
3295
- appContext: i,
3296
- root: null,
3297
- // to be immediately set
3298
- next: null,
3299
- subTree: null,
3300
- // will be set synchronously right after creation
3301
- effect: null,
3302
- update: null,
3303
- // will be set synchronously right after creation
3304
- job: null,
3305
- scope: new qi(
3306
- !0
3307
- /* detached */
3308
- ),
3309
- render: null,
3310
- proxy: null,
3311
- exposed: null,
3312
- exposeProxy: null,
3313
- withProxy: null,
3314
- provides: e ? e.provides : Object.create(i.provides),
3315
- ids: e ? e.ids : ["", 0, 0],
3316
- accessCache: null,
3317
- renderCache: [],
3318
- // local resolved assets
3319
- components: null,
3320
- directives: null,
3321
- // resolved props and emits options
3322
- propsOptions: pi(n, i),
3323
- emitsOptions: vi(n, i),
3324
- // emit
3325
- emit: null,
3326
- // to be set immediately
3327
- emitted: null,
3328
- // props default value
3329
- propsDefaults: V,
3330
- // inheritAttrs
3331
- inheritAttrs: n.inheritAttrs,
3332
- // state
3333
- ctx: V,
3334
- data: V,
3335
- props: V,
3336
- attrs: V,
3337
- slots: V,
3338
- refs: V,
3339
- setupState: V,
3340
- setupContext: null,
3341
- // suspense related
3342
- suspense: s,
3343
- suspenseId: s ? s.pendingId : 0,
3344
- asyncDep: null,
3345
- asyncResolved: !1,
3346
- // lifecycle hooks
3347
- // not using enums here because it results in computed properties
3348
- isMounted: !1,
3349
- isUnmounted: !1,
3350
- isDeactivated: !1,
3351
- bc: null,
3352
- c: null,
3353
- bm: null,
3354
- m: null,
3355
- bu: null,
3356
- u: null,
3357
- um: null,
3358
- bum: null,
3359
- da: null,
3360
- a: null,
3361
- rtg: null,
3362
- rtc: null,
3363
- ec: null,
3364
- sp: null
3365
- };
3366
- return r.ctx = { _: r }, r.root = e ? e.root : r, r.emit = fo.bind(null, r), t.ce && t.ce(r), r;
3367
- }
3368
- let Q = null;
3369
- const To = () => Q || ht;
3370
- let Ke, xs;
3371
- {
3372
- const t = qe(), e = (s, n) => {
3373
- let i;
3374
- return (i = t[s]) || (i = t[s] = []), i.push(n), (r) => {
3375
- i.length > 1 ? i.forEach((o) => o(r)) : i[0](r);
3376
- };
3377
- };
3378
- Ke = e(
3379
- "__VUE_INSTANCE_SETTERS__",
3380
- (s) => Q = s
3381
- ), xs = e(
3382
- "__VUE_SSR_SETTERS__",
3383
- (s) => ye = s
3384
- );
3385
- }
3386
- const ve = (t) => {
3387
- const e = Q;
3388
- return Ke(t), t.scope.on(), () => {
3389
- t.scope.off(), Ke(e);
3390
- };
3391
- }, cn = () => {
3392
- Q && Q.scope.off(), Ke(null);
3393
- };
3394
- function Ei(t) {
3395
- return t.vnode.shapeFlag & 4;
3396
- }
3397
- let ye = !1;
3398
- function Eo(t, e = !1, s = !1) {
3399
- e && xs(e);
3400
- const { props: n, children: i } = t.vnode, r = Ei(t);
3401
- Yr(t, n, r, e), Qr(t, i, s || e);
3402
- const o = r ? Ao(t, e) : void 0;
3403
- return e && xs(!1), o;
3404
- }
3405
- function Ao(t, e) {
3406
- const s = t.type;
3407
- t.accessCache = /* @__PURE__ */ Object.create(null), t.proxy = new Proxy(t.ctx, $r);
3408
- const { setup: n } = s;
3409
- if (n) {
3410
- Rt();
3411
- const i = t.setupContext = n.length > 1 ? Ro(t) : null, r = ve(t), o = xe(
3412
- n,
3413
- t,
3414
- 0,
3415
- [
3416
- t.props,
3417
- i
3418
- ]
3419
- ), l = En(o);
3420
- if (Ot(), r(), (l || t.sp) && !he(t) && ni(t), l) {
3421
- if (o.then(cn, cn), e)
3422
- return o.then((c) => {
3423
- un(t, c);
3424
- }).catch((c) => {
3425
- Je(c, t, 0);
3426
- });
3427
- t.asyncDep = o;
3428
- } else
3429
- un(t, o);
3430
- } else
3431
- Ai(t);
3432
- }
3433
- function un(t, e, s) {
3434
- O(e) ? t.type.__ssrInlineRender ? t.ssrRender = e : t.render = e : U(e) && (t.setupState = Xn(e)), Ai(t);
3435
- }
3436
- function Ai(t, e, s) {
3437
- const n = t.type;
3438
- t.render || (t.render = n.render || St);
3439
- {
3440
- const i = ve(t);
3441
- Rt();
3442
- try {
3443
- Kr(t);
3444
- } finally {
3445
- Ot(), i();
3446
- }
3447
- }
3448
- }
3449
- const Po = {
3450
- get(t, e) {
3451
- return Z(t, "get", ""), t[e];
3452
- }
3453
- };
3454
- function Ro(t) {
3455
- const e = (s) => {
3456
- t.exposed = s || {};
3457
- };
3458
- return {
3459
- attrs: new Proxy(t.attrs, Po),
3460
- slots: t.slots,
3461
- emit: t.emit,
3462
- expose: e
3463
- };
3464
- }
3465
- function Vs(t) {
3466
- return t.exposed ? t.exposeProxy || (t.exposeProxy = new Proxy(Xn(hr(t.exposed)), {
3467
- get(e, s) {
3468
- if (s in e)
3469
- return e[s];
3470
- if (s in de)
3471
- return de[s](t);
3472
- },
3473
- has(e, s) {
3474
- return s in e || s in de;
3475
- }
3476
- })) : t.proxy;
3477
- }
3478
- function Oo(t) {
3479
- return O(t) && "__vccOpts" in t;
3480
- }
3481
- const Mo = (t, e) => _r(t, e, ye);
3482
- function _l(t, e, s) {
3483
- const n = arguments.length;
3484
- return n === 2 ? U(e) && !A(e) ? $e(e) ? rt(t, null, [e]) : rt(t, e) : rt(t, null, e) : (n > 3 ? s = Array.prototype.slice.call(arguments, 2) : n === 3 && $e(s) && (s = [s]), rt(t, e, s));
3485
- }
3486
- const Io = "3.5.16";
3487
- /**
3488
- * @vue/runtime-dom v3.5.16
3489
- * (c) 2018-present Yuxi (Evan) You and Vue contributors
3490
- * @license MIT
3491
- **/
3492
- let vs;
3493
- const an = typeof window < "u" && window.trustedTypes;
3494
- if (an)
3495
- try {
3496
- vs = /* @__PURE__ */ an.createPolicy("vue", {
3497
- createHTML: (t) => t
3498
- });
3499
- } catch {
3500
- }
3501
- const Pi = vs ? (t) => vs.createHTML(t) : (t) => t, Fo = "http://www.w3.org/2000/svg", No = "http://www.w3.org/1998/Math/MathML", Et = typeof document < "u" ? document : null, hn = Et && /* @__PURE__ */ Et.createElement("template"), Do = {
3502
- insert: (t, e, s) => {
3503
- e.insertBefore(t, s || null);
3504
- },
3505
- remove: (t) => {
3506
- const e = t.parentNode;
3507
- e && e.removeChild(t);
3508
- },
3509
- createElement: (t, e, s, n) => {
3510
- const i = e === "svg" ? Et.createElementNS(Fo, t) : e === "mathml" ? Et.createElementNS(No, t) : s ? Et.createElement(t, { is: s }) : Et.createElement(t);
3511
- return t === "select" && n && n.multiple != null && i.setAttribute("multiple", n.multiple), i;
3512
- },
3513
- createText: (t) => Et.createTextNode(t),
3514
- createComment: (t) => Et.createComment(t),
3515
- setText: (t, e) => {
3516
- t.nodeValue = e;
3517
- },
3518
- setElementText: (t, e) => {
3519
- t.textContent = e;
3520
- },
3521
- parentNode: (t) => t.parentNode,
3522
- nextSibling: (t) => t.nextSibling,
3523
- querySelector: (t) => Et.querySelector(t),
3524
- setScopeId(t, e) {
3525
- t.setAttribute(e, "");
3526
- },
3527
- // __UNSAFE__
3528
- // Reason: innerHTML.
3529
- // Static content here can only come from compiled templates.
3530
- // As long as the user only uses trusted templates, this is safe.
3531
- insertStaticContent(t, e, s, n, i, r) {
3532
- const o = s ? s.previousSibling : e.lastChild;
3533
- if (i && (i === r || i.nextSibling))
3534
- for (; e.insertBefore(i.cloneNode(!0), s), !(i === r || !(i = i.nextSibling)); )
3535
- ;
3536
- else {
3537
- hn.innerHTML = Pi(
3538
- n === "svg" ? `<svg>${t}</svg>` : n === "mathml" ? `<math>${t}</math>` : t
3539
- );
3540
- const l = hn.content;
3541
- if (n === "svg" || n === "mathml") {
3542
- const c = l.firstChild;
3543
- for (; c.firstChild; )
3544
- l.appendChild(c.firstChild);
3545
- l.removeChild(c);
3546
- }
3547
- e.insertBefore(l, s);
3548
- }
3549
- return [
3550
- // first
3551
- o ? o.nextSibling : e.firstChild,
3552
- // last
3553
- s ? s.previousSibling : e.lastChild
3554
- ];
3555
- }
3556
- }, jo = Symbol("_vtc");
3557
- function Ho(t, e, s) {
3558
- const n = t[jo];
3559
- n && (e = (e ? [e, ...n] : [...n]).join(" ")), e == null ? t.removeAttribute("class") : s ? t.setAttribute("class", e) : t.className = e;
3560
- }
3561
- const dn = Symbol("_vod"), Lo = Symbol("_vsh"), $o = Symbol(""), Ko = /(^|;)\s*display\s*:/;
3562
- function Vo(t, e, s) {
3563
- const n = t.style, i = G(s);
3564
- let r = !1;
3565
- if (s && !i) {
3566
- if (e)
3567
- if (G(e))
3568
- for (const o of e.split(";")) {
3569
- const l = o.slice(0, o.indexOf(":")).trim();
3570
- s[l] == null && Ie(n, l, "");
3571
- }
3572
- else
3573
- for (const o in e)
3574
- s[o] == null && Ie(n, o, "");
3575
- for (const o in s)
3576
- o === "display" && (r = !0), Ie(n, o, s[o]);
3577
- } else if (i) {
3578
- if (e !== s) {
3579
- const o = n[$o];
3580
- o && (s += ";" + o), n.cssText = s, r = Ko.test(s);
3581
- }
3582
- } else e && t.removeAttribute("style");
3583
- dn in t && (t[dn] = r ? n.display : "", t[Lo] && (n.display = "none"));
3584
- }
3585
- const pn = /\s*!important$/;
3586
- function Ie(t, e, s) {
3587
- if (A(s))
3588
- s.forEach((n) => Ie(t, e, n));
3589
- else if (s == null && (s = ""), e.startsWith("--"))
3590
- t.setProperty(e, s);
3591
- else {
3592
- const n = Uo(t, e);
3593
- pn.test(s) ? t.setProperty(
3594
- ct(n),
3595
- s.replace(pn, ""),
3596
- "important"
3597
- ) : t[n] = s;
3598
- }
3599
- }
3600
- const gn = ["Webkit", "Moz", "ms"], us = {};
3601
- function Uo(t, e) {
3602
- const s = us[e];
3603
- if (s)
3604
- return s;
3605
- let n = dt(e);
3606
- if (n !== "filter" && n in t)
3607
- return us[e] = n;
3608
- n = Pn(n);
3609
- for (let i = 0; i < gn.length; i++) {
3610
- const r = gn[i] + n;
3611
- if (r in t)
3612
- return us[e] = r;
3613
- }
3614
- return e;
3615
- }
3616
- const _n = "http://www.w3.org/1999/xlink";
3617
- function mn(t, e, s, n, i, r = Bi(e)) {
3618
- n && e.startsWith("xlink:") ? s == null ? t.removeAttributeNS(_n, e.slice(6, e.length)) : t.setAttributeNS(_n, e, s) : s == null || r && !On(s) ? t.removeAttribute(e) : t.setAttribute(
3619
- e,
3620
- r ? "" : Kt(s) ? String(s) : s
3621
- );
3622
- }
3623
- function bn(t, e, s, n, i) {
3624
- if (e === "innerHTML" || e === "textContent") {
3625
- s != null && (t[e] = e === "innerHTML" ? Pi(s) : s);
3626
- return;
3627
- }
3628
- const r = t.tagName;
3629
- if (e === "value" && r !== "PROGRESS" && // custom elements may use _value internally
3630
- !r.includes("-")) {
3631
- const l = r === "OPTION" ? t.getAttribute("value") || "" : t.value, c = s == null ? (
3632
- // #11647: value should be set as empty string for null and undefined,
3633
- // but <input type="checkbox"> should be set as 'on'.
3634
- t.type === "checkbox" ? "on" : ""
3635
- ) : String(s);
3636
- (l !== c || !("_value" in t)) && (t.value = c), s == null && t.removeAttribute(e), t._value = s;
3637
- return;
3638
- }
3639
- let o = !1;
3640
- if (s === "" || s == null) {
3641
- const l = typeof t[e];
3642
- l === "boolean" ? s = On(s) : s == null && l === "string" ? (s = "", o = !0) : l === "number" && (s = 0, o = !0);
3643
- }
3644
- try {
3645
- t[e] = s;
3646
- } catch {
3647
- }
3648
- o && t.removeAttribute(i || e);
3649
- }
3650
- function Bo(t, e, s, n) {
3651
- t.addEventListener(e, s, n);
3652
- }
3653
- function Wo(t, e, s, n) {
3654
- t.removeEventListener(e, s, n);
3655
- }
3656
- const yn = Symbol("_vei");
3657
- function qo(t, e, s, n, i = null) {
3658
- const r = t[yn] || (t[yn] = {}), o = r[e];
3659
- if (n && o)
3660
- o.value = n;
3661
- else {
3662
- const [l, c] = Go(e);
3663
- if (n) {
3664
- const d = r[e] = zo(
3665
- n,
3666
- i
3667
- );
3668
- Bo(t, l, d, c);
3669
- } else o && (Wo(t, l, o, c), r[e] = void 0);
3670
- }
3671
- }
3672
- const xn = /(?:Once|Passive|Capture)$/;
3673
- function Go(t) {
3674
- let e;
3675
- if (xn.test(t)) {
3676
- e = {};
3677
- let n;
3678
- for (; n = t.match(xn); )
3679
- t = t.slice(0, t.length - n[0].length), e[n[0].toLowerCase()] = !0;
3680
- }
3681
- return [t[2] === ":" ? t.slice(3) : ct(t.slice(2)), e];
3682
- }
3683
- let as = 0;
3684
- const Jo = /* @__PURE__ */ Promise.resolve(), Yo = () => as || (Jo.then(() => as = 0), as = Date.now());
3685
- function zo(t, e) {
3686
- const s = (n) => {
3687
- if (!n._vts)
3688
- n._vts = Date.now();
3689
- else if (n._vts <= s.attached)
3690
- return;
3691
- Ct(
3692
- Xo(n, s.value),
3693
- e,
3694
- 5,
3695
- [n]
3696
- );
3697
- };
3698
- return s.value = t, s.attached = Yo(), s;
3699
- }
3700
- function Xo(t, e) {
3701
- if (A(e)) {
3702
- const s = t.stopImmediatePropagation;
3703
- return t.stopImmediatePropagation = () => {
3704
- s.call(t), t._stopped = !0;
3705
- }, e.map(
3706
- (n) => (i) => !i._stopped && n && n(i)
3707
- );
3708
- } else
3709
- return e;
3710
- }
3711
- const vn = (t) => t.charCodeAt(0) === 111 && t.charCodeAt(1) === 110 && // lowercase letter
3712
- t.charCodeAt(2) > 96 && t.charCodeAt(2) < 123, Zo = (t, e, s, n, i, r) => {
3713
- const o = i === "svg";
3714
- e === "class" ? Ho(t, n, o) : e === "style" ? Vo(t, s, n) : Ve(e) ? Ss(e) || qo(t, e, s, n, r) : (e[0] === "." ? (e = e.slice(1), !0) : e[0] === "^" ? (e = e.slice(1), !1) : Qo(t, e, n, o)) ? (bn(t, e, n), !t.tagName.includes("-") && (e === "value" || e === "checked" || e === "selected") && mn(t, e, n, o, r, e !== "value")) : /* #11081 force set props for possible async custom element */ t._isVueCE && (/[A-Z]/.test(e) || !G(n)) ? bn(t, dt(e), n, r, e) : (e === "true-value" ? t._trueValue = n : e === "false-value" && (t._falseValue = n), mn(t, e, n, o));
3715
- };
3716
- function Qo(t, e, s, n) {
3717
- if (n)
3718
- return !!(e === "innerHTML" || e === "textContent" || e in t && vn(e) && O(s));
3719
- if (e === "spellcheck" || e === "draggable" || e === "translate" || e === "autocorrect" || e === "form" || e === "list" && t.tagName === "INPUT" || e === "type" && t.tagName === "TEXTAREA")
3720
- return !1;
3721
- if (e === "width" || e === "height") {
3722
- const i = t.tagName;
3723
- if (i === "IMG" || i === "VIDEO" || i === "CANVAS" || i === "SOURCE")
3724
- return !1;
3725
- }
3726
- return vn(e) && G(s) ? !1 : e in t;
3727
- }
3728
- const wn = {};
3729
- /*! #__NO_SIDE_EFFECTS__ */
3730
- // @__NO_SIDE_EFFECTS__
3731
- function ml(t, e, s) {
3732
- const n = /* @__PURE__ */ Tr(t, e);
3733
- Be(n) && Y(n, e);
3734
- class i extends Us {
3735
- constructor(o) {
3736
- super(n, o, s);
3737
- }
3738
- }
3739
- return i.def = n, i;
3740
- }
3741
- const ko = typeof HTMLElement < "u" ? HTMLElement : class {
3742
- };
3743
- class Us extends ko {
3744
- constructor(e, s = {}, n = Cn) {
3745
- super(), this._def = e, this._props = s, this._createApp = n, this._isVueCE = !0, this._instance = null, this._app = null, this._nonce = this._def.nonce, this._connected = !1, this._resolved = !1, this._numberProps = null, this._styleChildren = /* @__PURE__ */ new WeakSet(), this._ob = null, this.shadowRoot && n !== Cn ? this._root = this.shadowRoot : e.shadowRoot !== !1 ? (this.attachShadow({ mode: "open" }), this._root = this.shadowRoot) : this._root = this;
3746
- }
3747
- connectedCallback() {
3748
- if (!this.isConnected) return;
3749
- !this.shadowRoot && !this._resolved && this._parseSlots(), this._connected = !0;
3750
- let e = this;
3751
- for (; e = e && (e.parentNode || e.host); )
3752
- if (e instanceof Us) {
3753
- this._parent = e;
3754
- break;
3755
- }
3756
- this._instance || (this._resolved ? this._mount(this._def) : e && e._pendingResolve ? this._pendingResolve = e._pendingResolve.then(() => {
3757
- this._pendingResolve = void 0, this._resolveDef();
3758
- }) : this._resolveDef());
3759
- }
3760
- _setParent(e = this._parent) {
3761
- e && (this._instance.parent = e._instance, this._inheritParentContext(e));
3762
- }
3763
- _inheritParentContext(e = this._parent) {
3764
- e && this._app && Object.setPrototypeOf(
3765
- this._app._context.provides,
3766
- e._instance.provides
3767
- );
3768
- }
3769
- disconnectedCallback() {
3770
- this._connected = !1, Qn(() => {
3771
- this._connected || (this._ob && (this._ob.disconnect(), this._ob = null), this._app && this._app.unmount(), this._instance && (this._instance.ce = void 0), this._app = this._instance = null);
3772
- });
3773
- }
3774
- /**
3775
- * resolve inner component definition (handle possible async component)
3776
- */
3777
- _resolveDef() {
3778
- if (this._pendingResolve)
3779
- return;
3780
- for (let n = 0; n < this.attributes.length; n++)
3781
- this._setAttr(this.attributes[n].name);
3782
- this._ob = new MutationObserver((n) => {
3783
- for (const i of n)
3784
- this._setAttr(i.attributeName);
3785
- }), this._ob.observe(this, { attributes: !0 });
3786
- const e = (n, i = !1) => {
3787
- this._resolved = !0, this._pendingResolve = void 0;
3788
- const { props: r, styles: o } = n;
3789
- let l;
3790
- if (r && !A(r))
3791
- for (const c in r) {
3792
- const d = r[c];
3793
- (d === Number || d && d.type === Number) && (c in this._props && (this._props[c] = Ys(this._props[c])), (l || (l = /* @__PURE__ */ Object.create(null)))[dt(c)] = !0);
3794
- }
3795
- this._numberProps = l, this._resolveProps(n), this.shadowRoot && this._applyStyles(o), this._mount(n);
3796
- }, s = this._def.__asyncLoader;
3797
- s ? this._pendingResolve = s().then(
3798
- (n) => e(this._def = n, !0)
3799
- ) : e(this._def);
3800
- }
3801
- _mount(e) {
3802
- this._app = this._createApp(e), this._inheritParentContext(), e.configureApp && e.configureApp(this._app), this._app._ceVNode = this._createVNode(), this._app.mount(this._root);
3803
- const s = this._instance && this._instance.exposed;
3804
- if (s)
3805
- for (const n in s)
3806
- N(this, n) || Object.defineProperty(this, n, {
3807
- // unwrap ref to be consistent with public instance behavior
3808
- get: () => zn(s[n])
3809
- });
3810
- }
3811
- _resolveProps(e) {
3812
- const { props: s } = e, n = A(s) ? s : Object.keys(s || {});
3813
- for (const i of Object.keys(this))
3814
- i[0] !== "_" && n.includes(i) && this._setProp(i, this[i]);
3815
- for (const i of n.map(dt))
3816
- Object.defineProperty(this, i, {
3817
- get() {
3818
- return this._getProp(i);
3819
- },
3820
- set(r) {
3821
- this._setProp(i, r, !0, !0);
3822
- }
3823
- });
3824
- }
3825
- _setAttr(e) {
3826
- if (e.startsWith("data-v-")) return;
3827
- const s = this.hasAttribute(e);
3828
- let n = s ? this.getAttribute(e) : wn;
3829
- const i = dt(e);
3830
- s && this._numberProps && this._numberProps[i] && (n = Ys(n)), this._setProp(i, n, !1, !0);
3831
- }
3832
- /**
3833
- * @internal
3834
- */
3835
- _getProp(e) {
3836
- return this._props[e];
3837
- }
3838
- /**
3839
- * @internal
3840
- */
3841
- _setProp(e, s, n = !0, i = !1) {
3842
- if (s !== this._props[e] && (s === wn ? delete this._props[e] : (this._props[e] = s, e === "key" && this._app && (this._app._ceVNode.key = s)), i && this._instance && this._update(), n)) {
3843
- const r = this._ob;
3844
- r && r.disconnect(), s === !0 ? this.setAttribute(ct(e), "") : typeof s == "string" || typeof s == "number" ? this.setAttribute(ct(e), s + "") : s || this.removeAttribute(ct(e)), r && r.observe(this, { attributes: !0 });
3845
- }
3846
- }
3847
- _update() {
3848
- const e = this._createVNode();
3849
- this._app && (e.appContext = this._app._context), rl(e, this._root);
3850
- }
3851
- _createVNode() {
3852
- const e = {};
3853
- this.shadowRoot || (e.onVnodeMounted = e.onVnodeUpdated = this._renderSlots.bind(this));
3854
- const s = rt(this._def, Y(e, this._props));
3855
- return this._instance || (s.ce = (n) => {
3856
- this._instance = n, n.ce = this, n.isCE = !0;
3857
- const i = (r, o) => {
3858
- this.dispatchEvent(
3859
- new CustomEvent(
3860
- r,
3861
- Be(o[0]) ? Y({ detail: o }, o[0]) : { detail: o }
3862
- )
3863
- );
3864
- };
3865
- n.emit = (r, ...o) => {
3866
- i(r, o), ct(r) !== r && i(ct(r), o);
3867
- }, this._setParent();
3868
- }), s;
3869
- }
3870
- _applyStyles(e, s) {
3871
- if (!e) return;
3872
- if (s) {
3873
- if (s === this._def || this._styleChildren.has(s))
3874
- return;
3875
- this._styleChildren.add(s);
3876
- }
3877
- const n = this._nonce;
3878
- for (let i = e.length - 1; i >= 0; i--) {
3879
- const r = document.createElement("style");
3880
- n && r.setAttribute("nonce", n), r.textContent = e[i], this.shadowRoot.prepend(r);
3881
- }
3882
- }
3883
- /**
3884
- * Only called when shadowRoot is false
3885
- */
3886
- _parseSlots() {
3887
- const e = this._slots = {};
3888
- let s;
3889
- for (; s = this.firstChild; ) {
3890
- const n = s.nodeType === 1 && s.getAttribute("slot") || "default";
3891
- (e[n] || (e[n] = [])).push(s), this.removeChild(s);
3892
- }
3893
- }
3894
- /**
3895
- * Only called when shadowRoot is false
3896
- */
3897
- _renderSlots() {
3898
- const e = (this._teleportTarget || this).querySelectorAll("slot"), s = this._instance.type.__scopeId;
3899
- for (let n = 0; n < e.length; n++) {
3900
- const i = e[n], r = i.getAttribute("name") || "default", o = this._slots[r], l = i.parentNode;
3901
- if (o)
3902
- for (const c of o) {
3903
- if (s && c.nodeType === 1) {
3904
- const d = s + "-s", a = document.createTreeWalker(c, 1);
3905
- c.setAttribute(d, "");
3906
- let p;
3907
- for (; p = a.nextNode(); )
3908
- p.setAttribute(d, "");
3909
- }
3910
- l.insertBefore(c, i);
3911
- }
3912
- else
3913
- for (; i.firstChild; ) l.insertBefore(i.firstChild, i);
3914
- l.removeChild(i);
3915
- }
3916
- }
3917
- /**
3918
- * @internal
3919
- */
3920
- _injectChildStyle(e) {
3921
- this._applyStyles(e.styles, e);
3922
- }
3923
- /**
3924
- * @internal
3925
- */
3926
- _removeChildStyle(e) {
3927
- }
3928
- }
3929
- function tl(t) {
3930
- const e = To(), s = e && e.ce;
3931
- return s || null;
3932
- }
3933
- function bl() {
3934
- const t = tl();
3935
- return t && t.shadowRoot;
3936
- }
3937
- const el = ["ctrl", "shift", "alt", "meta"], sl = {
3938
- stop: (t) => t.stopPropagation(),
3939
- prevent: (t) => t.preventDefault(),
3940
- self: (t) => t.target !== t.currentTarget,
3941
- ctrl: (t) => !t.ctrlKey,
3942
- shift: (t) => !t.shiftKey,
3943
- alt: (t) => !t.altKey,
3944
- meta: (t) => !t.metaKey,
3945
- left: (t) => "button" in t && t.button !== 0,
3946
- middle: (t) => "button" in t && t.button !== 1,
3947
- right: (t) => "button" in t && t.button !== 2,
3948
- exact: (t, e) => el.some((s) => t[`${s}Key`] && !e.includes(s))
3949
- }, yl = (t, e) => {
3950
- const s = t._withMods || (t._withMods = {}), n = e.join(".");
3951
- return s[n] || (s[n] = (i, ...r) => {
3952
- for (let o = 0; o < e.length; o++) {
3953
- const l = sl[e[o]];
3954
- if (l && l(i, e)) return;
3955
- }
3956
- return t(i, ...r);
3957
- });
3958
- }, nl = {
3959
- esc: "escape",
3960
- space: " ",
3961
- up: "arrow-up",
3962
- left: "arrow-left",
3963
- right: "arrow-right",
3964
- down: "arrow-down",
3965
- delete: "backspace"
3966
- }, xl = (t, e) => {
3967
- const s = t._withKeys || (t._withKeys = {}), n = e.join(".");
3968
- return s[n] || (s[n] = (i) => {
3969
- if (!("key" in i))
3970
- return;
3971
- const r = ct(i.key);
3972
- if (e.some(
3973
- (o) => o === r || nl[o] === r
3974
- ))
3975
- return t(i);
3976
- });
3977
- }, il = /* @__PURE__ */ Y({ patchProp: Zo }, Do);
3978
- let Sn;
3979
- function Ri() {
3980
- return Sn || (Sn = to(il));
3981
- }
3982
- const rl = (...t) => {
3983
- Ri().render(...t);
3984
- }, Cn = (...t) => {
3985
- const e = Ri().createApp(...t), { mount: s } = e;
3986
- return e.mount = (n) => {
3987
- const i = ll(n);
3988
- if (!i) return;
3989
- const r = e._component;
3990
- !O(r) && !r.render && !r.template && (r.template = i.innerHTML), i.nodeType === 1 && (i.textContent = "");
3991
- const o = s(i, !1, ol(i));
3992
- return i instanceof Element && (i.removeAttribute("v-cloak"), i.setAttribute("data-v-app", "")), o;
3993
- }, e;
3994
- };
3995
- function ol(t) {
3996
- if (t instanceof SVGElement)
3997
- return "svg";
3998
- if (typeof MathMLElement == "function" && t instanceof MathMLElement)
3999
- return "mathml";
4000
- }
4001
- function ll(t) {
4002
- return G(t) ? document.querySelector(t) : t;
4003
- }
4004
- const vl = (t, e) => {
4005
- const s = t.__vccOpts || t;
4006
- for (const [n, i] of e)
4007
- s[n] = i;
4008
- return s;
4009
- };
4010
- export {
4011
- Jr as A,
4012
- zn as B,
4013
- At as F,
4014
- vl as _,
4015
- Ti as a,
4016
- rt as b,
4017
- pl as c,
4018
- Tr as d,
4019
- ml as e,
4020
- mo as f,
4021
- cl as g,
4022
- hl as h,
4023
- xl as i,
4024
- yl as j,
4025
- Mo as k,
4026
- Or as l,
4027
- vo as m,
4028
- As as n,
4029
- go as o,
4030
- gl as p,
4031
- xo as q,
4032
- al as r,
4033
- ul as s,
4034
- Wi as t,
4035
- tl as u,
4036
- fs as v,
4037
- dl as w,
4038
- _l as x,
4039
- bl as y,
4040
- Oe as z
4041
- };