@1024pix/epreuves-components 0.8.1 → 0.9.1

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