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