@the-framery/vision-assessment-sdk 0.0.0-stage → 0.0.1

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