@1024pix/epreuves-components 1.2.1 → 1.4.0

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