yxuse 1.0.90 → 1.0.92

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