yxuse 2.0.1 → 3.0.2

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