instaui 0.2.0__py2.py3-none-any.whl → 0.2.1__py2.py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,17 +1,17 @@
1
- var Ln = Object.defineProperty;
2
- var Wn = (e, t, n) => t in e ? Ln(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
- var B = (e, t, n) => Wn(e, typeof t != "symbol" ? t + "" : t, n);
4
- import * as Un from "vue";
5
- import { toRaw as Gn, customRef as Ce, toValue as q, unref as M, watch as H, nextTick as Ie, isRef as Ht, shallowRef as X, ref as K, watchEffect as zt, computed as G, readonly as qn, provide as Ne, inject as Z, shallowReactive as Kn, defineComponent as U, reactive as Hn, h as A, getCurrentInstance as Qt, normalizeStyle as zn, normalizeClass as Je, toDisplayString as lt, onUnmounted as ft, Fragment as xe, vModelDynamic as Qn, vShow as Jn, resolveDynamicComponent as Yn, normalizeProps as Xn, withDirectives as Zn, onErrorCaptured as er, openBlock as ie, createElementBlock as pe, createElementVNode as tr, createVNode as nr, withCtx as rr, renderList as or, createBlock as sr, createCommentVNode as ir, TransitionGroup as Jt, KeepAlive as ar } from "vue";
6
- let Yt;
1
+ var Wn = Object.defineProperty;
2
+ var Un = (e, t, n) => t in e ? Wn(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
3
+ var F = (e, t, n) => Un(e, typeof t != "symbol" ? t + "" : t, n);
4
+ import * as Gn from "vue";
5
+ import { toRaw as Ht, customRef as je, toValue as q, unref as D, watch as H, nextTick as Ae, isRef as zt, shallowRef as X, ref as K, watchEffect as Qt, computed as G, readonly as qn, provide as Te, inject as Z, shallowReactive as Kn, defineComponent as W, reactive as Hn, h as A, getCurrentInstance as Jt, normalizeStyle as zn, normalizeClass as Ye, toDisplayString as ft, onUnmounted as dt, Fragment as De, vModelDynamic as Qn, vShow as Jn, resolveDynamicComponent as Yn, normalizeProps as Xn, withDirectives as Zn, onErrorCaptured as er, openBlock as ue, createElementBlock as ge, createElementVNode as tr, createVNode as nr, withCtx as rr, renderList as or, createBlock as sr, createCommentVNode as ir, TransitionGroup as Yt, KeepAlive as ar } from "vue";
6
+ let Xt;
7
7
  function cr(e) {
8
- Yt = e;
8
+ Xt = e;
9
9
  }
10
- function Ye() {
11
- return Yt;
10
+ function Xe() {
11
+ return Xt;
12
12
  }
13
- function Te() {
14
- const { queryPath: e, pathParams: t, queryParams: n } = Ye();
13
+ function Ce() {
14
+ const { queryPath: e, pathParams: t, queryParams: n } = Xe();
15
15
  return {
16
16
  path: e,
17
17
  ...t === void 0 ? {} : { params: t },
@@ -30,18 +30,18 @@ class ur extends Map {
30
30
  return super.get(t);
31
31
  }
32
32
  }
33
- function Se(e) {
33
+ function Oe(e) {
34
34
  return new ur(e);
35
35
  }
36
36
  function bt(e, t) {
37
37
  Object.entries(e).forEach(([n, r]) => t(r, n));
38
38
  }
39
- function je(e, t) {
40
- return Xt(e, {
39
+ function Me(e, t) {
40
+ return Zt(e, {
41
41
  valueFn: t
42
42
  });
43
43
  }
44
- function Xt(e, t) {
44
+ function Zt(e, t) {
45
45
  const { valueFn: n, keyFn: r } = t;
46
46
  return Object.fromEntries(
47
47
  Object.entries(e).map(([o, i], s) => [
@@ -50,7 +50,7 @@ function Xt(e, t) {
50
50
  ])
51
51
  );
52
52
  }
53
- function Zt(e, t, n) {
53
+ function en(e, t, n) {
54
54
  if (Array.isArray(t)) {
55
55
  const [o, ...i] = t;
56
56
  switch (o) {
@@ -62,10 +62,10 @@ function Zt(e, t, n) {
62
62
  return i[0] + e;
63
63
  }
64
64
  }
65
- const r = en(t, n);
65
+ const r = tn(t, n);
66
66
  return e[r];
67
67
  }
68
- function en(e, t) {
68
+ function tn(e, t) {
69
69
  if (typeof e == "string" || typeof e == "number")
70
70
  return e;
71
71
  if (!Array.isArray(e))
@@ -80,38 +80,47 @@ function en(e, t) {
80
80
  throw new Error(`Invalid flag ${n} in array at ${e}`);
81
81
  }
82
82
  }
83
- function be(e, t, n) {
83
+ function Re(e, t, n) {
84
84
  return t.reduce(
85
- (r, o) => Zt(r, o, n),
85
+ (r, o) => en(r, o, n),
86
86
  e
87
87
  );
88
88
  }
89
- function Xe(e, t, n, r) {
89
+ function Ze(e, t, n, r) {
90
90
  t.reduce((o, i, s) => {
91
91
  if (s === t.length - 1)
92
- o[en(i, r)] = n;
92
+ o[tn(i, r)] = n;
93
93
  else
94
- return Zt(o, i, r);
94
+ return en(o, i, r);
95
95
  }, e);
96
96
  }
97
- function tn(e) {
98
- return typeof e == "function" ? e : JSON.parse(JSON.stringify(e));
97
+ function lr(e, t, n) {
98
+ t.reduce((r, o, i) => {
99
+ if (i === t.length - 1)
100
+ r[o] = n;
101
+ else
102
+ return r[o];
103
+ }, e);
104
+ }
105
+ const fr = structuredClone || ((e) => JSON.parse(JSON.stringify(e)));
106
+ function nn(e) {
107
+ return typeof e == "function" ? e : fr(Ht(e));
99
108
  }
100
- class lr {
109
+ class dr {
101
110
  toString() {
102
111
  return "";
103
112
  }
104
113
  }
105
- const Ee = new lr();
106
- function _e(e) {
107
- return Gn(e) === Ee;
114
+ const Se = new dr();
115
+ function be(e) {
116
+ return Ht(e) === Se;
108
117
  }
109
118
  function Ot(e, t, n) {
110
119
  const { paths: r, getBindableValueFn: o } = t, { paths: i, getBindableValueFn: s } = t;
111
- return r === void 0 || r.length === 0 ? e : Ce(() => ({
120
+ return r === void 0 || r.length === 0 ? e : je(() => ({
112
121
  get() {
113
122
  try {
114
- return be(
123
+ return Re(
115
124
  q(e),
116
125
  r,
117
126
  o
@@ -121,7 +130,7 @@ function Ot(e, t, n) {
121
130
  }
122
131
  },
123
132
  set(c) {
124
- Xe(
133
+ Ze(
125
134
  q(e),
126
135
  i || r,
127
136
  c,
@@ -130,35 +139,35 @@ function Ot(e, t, n) {
130
139
  }
131
140
  }));
132
141
  }
133
- function dt(e) {
134
- return Ce((t, n) => ({
142
+ function ht(e) {
143
+ return je((t, n) => ({
135
144
  get() {
136
145
  return t(), e;
137
146
  },
138
147
  set(r) {
139
- !_e(e) && JSON.stringify(r) === JSON.stringify(e) || (e = r, n());
148
+ !be(e) && JSON.stringify(r) === JSON.stringify(e) || (e = r, n());
140
149
  }
141
150
  }));
142
151
  }
143
- function me(e) {
144
- return typeof e == "function" ? e() : M(e);
152
+ function ve(e) {
153
+ return typeof e == "function" ? e() : D(e);
145
154
  }
146
155
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
147
- const Ze = () => {
156
+ const et = () => {
148
157
  };
149
- function et(e, t = !1, n = "Timeout") {
158
+ function tt(e, t = !1, n = "Timeout") {
150
159
  return new Promise((r, o) => {
151
160
  setTimeout(t ? () => o(n) : r, e);
152
161
  });
153
162
  }
154
- function tt(e, t = !1) {
163
+ function nt(e, t = !1) {
155
164
  function n(a, { flush: f = "sync", deep: h = !1, timeout: v, throwOnTimeout: p } = {}) {
156
165
  let g = null;
157
166
  const _ = [new Promise((b) => {
158
167
  g = H(
159
168
  e,
160
- (V) => {
161
- a(V) !== t && (g ? g() : Ie(() => g == null ? void 0 : g()), b(V));
169
+ (R) => {
170
+ a(R) !== t && (g ? g() : Ae(() => g == null ? void 0 : g()), b(R));
162
171
  },
163
172
  {
164
173
  flush: f,
@@ -168,19 +177,19 @@ function tt(e, t = !1) {
168
177
  );
169
178
  })];
170
179
  return v != null && _.push(
171
- et(v, p).then(() => me(e)).finally(() => g == null ? void 0 : g())
180
+ tt(v, p).then(() => ve(e)).finally(() => g == null ? void 0 : g())
172
181
  ), Promise.race(_);
173
182
  }
174
183
  function r(a, f) {
175
- if (!Ht(a))
176
- return n((V) => V === a, f);
184
+ if (!zt(a))
185
+ return n((R) => R === a, f);
177
186
  const { flush: h = "sync", deep: v = !1, timeout: p, throwOnTimeout: g } = f ?? {};
178
187
  let y = null;
179
- const b = [new Promise((V) => {
188
+ const b = [new Promise((R) => {
180
189
  y = H(
181
190
  [e, a],
182
- ([C, j]) => {
183
- t !== (C === j) && (y ? y() : Ie(() => y == null ? void 0 : y()), V(C));
191
+ ([$, U]) => {
192
+ t !== ($ === U) && (y ? y() : Ae(() => y == null ? void 0 : y()), R($));
184
193
  },
185
194
  {
186
195
  flush: h,
@@ -190,7 +199,7 @@ function tt(e, t = !1) {
190
199
  );
191
200
  })];
192
201
  return p != null && b.push(
193
- et(p, g).then(() => me(e)).finally(() => (y == null || y(), me(e)))
202
+ tt(p, g).then(() => ve(e)).finally(() => (y == null || y(), ve(e)))
194
203
  ), Promise.race(b);
195
204
  }
196
205
  function o(a) {
@@ -208,7 +217,7 @@ function tt(e, t = !1) {
208
217
  function l(a, f) {
209
218
  return n((h) => {
210
219
  const v = Array.from(h);
211
- return v.includes(a) || v.includes(me(a));
220
+ return v.includes(a) || v.includes(ve(a));
212
221
  }, f);
213
222
  }
214
223
  function d(a) {
@@ -218,13 +227,13 @@ function tt(e, t = !1) {
218
227
  let h = -1;
219
228
  return n(() => (h += 1, h >= a), f);
220
229
  }
221
- return Array.isArray(me(e)) ? {
230
+ return Array.isArray(ve(e)) ? {
222
231
  toMatch: n,
223
232
  toContains: l,
224
233
  changed: d,
225
234
  changedTimes: u,
226
235
  get not() {
227
- return tt(e, !t);
236
+ return nt(e, !t);
228
237
  }
229
238
  } : {
230
239
  toMatch: n,
@@ -236,26 +245,26 @@ function tt(e, t = !1) {
236
245
  changed: d,
237
246
  changedTimes: u,
238
247
  get not() {
239
- return tt(e, !t);
248
+ return nt(e, !t);
240
249
  }
241
250
  };
242
251
  }
243
- function fr(e) {
244
- return tt(e);
252
+ function hr(e) {
253
+ return nt(e);
245
254
  }
246
- function dr(e, t, n) {
255
+ function pr(e, t, n) {
247
256
  let r;
248
- Ht(n) ? r = {
257
+ zt(n) ? r = {
249
258
  evaluating: n
250
259
  } : r = n || {};
251
260
  const {
252
261
  lazy: o = !1,
253
262
  evaluating: i = void 0,
254
263
  shallow: s = !0,
255
- onError: c = Ze
264
+ onError: c = et
256
265
  } = r, l = K(!o), d = s ? X(t) : K(t);
257
266
  let u = 0;
258
- return zt(async (a) => {
267
+ return Qt(async (a) => {
259
268
  if (!l.value)
260
269
  return;
261
270
  u++;
@@ -278,25 +287,25 @@ function dr(e, t, n) {
278
287
  }
279
288
  }), o ? G(() => (l.value = !0, d.value)) : d;
280
289
  }
281
- function hr(e, t, n) {
290
+ function mr(e, t, n) {
282
291
  const {
283
292
  immediate: r = !0,
284
293
  delay: o = 0,
285
- onError: i = Ze,
286
- onSuccess: s = Ze,
294
+ onError: i = et,
295
+ onSuccess: s = et,
287
296
  resetOnExecute: c = !0,
288
297
  shallow: l = !0,
289
298
  throwError: d
290
299
  } = {}, u = l ? X(t) : K(t), a = K(!1), f = K(!1), h = X(void 0);
291
300
  async function v(y = 0, ..._) {
292
- c && (u.value = t), h.value = void 0, a.value = !1, f.value = !0, y > 0 && await et(y);
301
+ c && (u.value = t), h.value = void 0, a.value = !1, f.value = !0, y > 0 && await tt(y);
293
302
  const b = typeof e == "function" ? e(..._) : e;
294
303
  try {
295
- const V = await b;
296
- u.value = V, a.value = !0, s(V);
297
- } catch (V) {
298
- if (h.value = V, i(V), d)
299
- throw V;
304
+ const R = await b;
305
+ u.value = R, a.value = !0, s(R);
306
+ } catch (R) {
307
+ if (h.value = R, i(R), d)
308
+ throw R;
300
309
  } finally {
301
310
  f.value = !1;
302
311
  }
@@ -312,7 +321,7 @@ function hr(e, t, n) {
312
321
  };
313
322
  function g() {
314
323
  return new Promise((y, _) => {
315
- fr(f).toBe(!1).then(() => y(p)).catch(_);
324
+ hr(f).toBe(!1).then(() => y(p)).catch(_);
316
325
  });
317
326
  }
318
327
  return {
@@ -322,51 +331,51 @@ function hr(e, t, n) {
322
331
  }
323
332
  };
324
333
  }
325
- function L(e, t) {
334
+ function B(e, t) {
326
335
  t = t || {};
327
- const n = [...Object.keys(t), "__Vue"], r = [...Object.values(t), Un];
336
+ const n = [...Object.keys(t), "__Vue"], r = [...Object.values(t), Gn];
328
337
  try {
329
338
  return new Function(...n, `return (${e})`)(...r);
330
339
  } catch (o) {
331
340
  throw new Error(o + " in function code: " + e);
332
341
  }
333
342
  }
334
- function pr(e) {
343
+ function gr(e) {
335
344
  if (e.startsWith(":")) {
336
345
  e = e.slice(1);
337
346
  try {
338
- return L(e);
347
+ return B(e);
339
348
  } catch (t) {
340
349
  throw new Error(t + " in function code: " + e);
341
350
  }
342
351
  }
343
352
  }
344
- function nn(e) {
353
+ function rn(e) {
345
354
  return e.constructor.name === "AsyncFunction";
346
355
  }
347
- function mr(e, t) {
356
+ function vr(e, t) {
348
357
  const { deepCompare: n = !1 } = e;
349
- return n ? dt(e.value) : K(e.value);
358
+ return n ? ht(e.value) : K(e.value);
350
359
  }
351
- function gr(e, t, n) {
360
+ function yr(e, t, n) {
352
361
  const { bind: r = {}, code: o, const: i = [] } = e, s = Object.values(r).map((u, a) => i[a] === 1 ? u : t.getVueRefObjectOrValue(u));
353
- if (nn(new Function(o)))
354
- return dr(
362
+ if (rn(new Function(o)))
363
+ return pr(
355
364
  async () => {
356
365
  const u = Object.fromEntries(
357
366
  Object.keys(r).map((a, f) => [a, s[f]])
358
367
  );
359
- return await L(o, u)();
368
+ return await B(o, u)();
360
369
  },
361
370
  null,
362
371
  { lazy: !0 }
363
372
  );
364
373
  const c = Object.fromEntries(
365
374
  Object.keys(r).map((u, a) => [u, s[a]])
366
- ), l = L(o, c);
375
+ ), l = B(o, c);
367
376
  return G(l);
368
377
  }
369
- function vr(e, t, n) {
378
+ function wr(e, t, n) {
370
379
  const {
371
380
  inputs: r = [],
372
381
  code: o,
@@ -380,71 +389,71 @@ function vr(e, t, n) {
380
389
  (g, y) => u[y] === 1 ? g : t.getObjectToValue(g)
381
390
  );
382
391
  }
383
- const h = L(o), v = l === 0 ? X(Ee) : dt(Ee), p = { immediate: !0, deep: !0 };
384
- return nn(h) ? (v.value = c, H(
392
+ const h = B(o), v = l === 0 ? X(Se) : ht(Se), p = { immediate: !0, deep: !0 };
393
+ return rn(h) ? (v.value = c, H(
385
394
  a,
386
395
  async () => {
387
- f().some(_e) || (v.value = await h(...f()));
396
+ f().some(be) || (v.value = await h(...f()));
388
397
  },
389
398
  p
390
399
  )) : H(
391
400
  a,
392
401
  () => {
393
402
  const g = f();
394
- g.some(_e) || (v.value = h(...g));
403
+ g.some(be) || (v.value = h(...g));
395
404
  },
396
405
  p
397
406
  ), qn(v);
398
407
  }
399
- function yr() {
408
+ function Er() {
400
409
  return [];
401
410
  }
402
- const Oe = Se(yr);
403
- function wr(e, t) {
411
+ const Ve = Oe(Er);
412
+ function _r(e, t) {
404
413
  var i, s, c, l, d;
405
- const n = Oe.getOrDefault(e.id), r = /* @__PURE__ */ new Map();
414
+ const n = Ve.getOrDefault(e.id), r = /* @__PURE__ */ new Map();
406
415
  n.push(r), t.replaceSnapshot({
407
- scopeSnapshot: rn()
416
+ scopeSnapshot: on()
408
417
  });
409
418
  const o = (u, a) => {
410
419
  r.set(u.id, a);
411
420
  };
412
421
  return (i = e.refs) == null || i.forEach((u) => {
413
- o(u, mr(u));
422
+ o(u, vr(u));
414
423
  }), (s = e.web_computed) == null || s.forEach((u) => {
415
- const { init: a } = u, f = u.deepEqOnInput === void 0 ? X(a ?? Ee) : dt(a ?? Ee);
424
+ const { init: a } = u, f = u.deepEqOnInput === void 0 ? X(a ?? Se) : ht(a ?? Se);
416
425
  o(u, f);
417
426
  }), (c = e.vue_computed) == null || c.forEach((u) => {
418
427
  o(
419
428
  u,
420
- gr(u, t)
429
+ yr(u, t)
421
430
  );
422
431
  }), (l = e.js_computed) == null || l.forEach((u) => {
423
432
  o(
424
433
  u,
425
- vr(u, t)
434
+ wr(u, t)
426
435
  );
427
436
  }), (d = e.data) == null || d.forEach((u) => {
428
437
  o(u, u.value);
429
438
  }), n.length - 1;
430
439
  }
431
- function rn() {
440
+ function on() {
432
441
  const e = /* @__PURE__ */ new Map();
433
- for (const [n, r] of Oe) {
442
+ for (const [n, r] of Ve) {
434
443
  const o = r[r.length - 1];
435
444
  e.set(n, [o]);
436
445
  }
437
446
  function t(n) {
438
- return on(n, e);
447
+ return sn(n, e);
439
448
  }
440
449
  return {
441
450
  getVueRef: t
442
451
  };
443
452
  }
444
- function Er(e) {
445
- return on(e, Oe);
453
+ function Sr(e) {
454
+ return sn(e, Ve);
446
455
  }
447
- function on(e, t) {
456
+ function sn(e, t) {
448
457
  const n = t.get(e.sid);
449
458
  if (!n)
450
459
  throw new Error(`Scope ${e.sid} not found`);
@@ -453,29 +462,29 @@ function on(e, t) {
453
462
  throw new Error(`Var ${e.id} not found in scope ${e.sid}`);
454
463
  return o;
455
464
  }
456
- function _r(e) {
457
- Oe.delete(e);
465
+ function br(e) {
466
+ Ve.delete(e);
458
467
  }
459
- function Sr(e, t) {
460
- const n = Oe.get(e);
468
+ function Or(e, t) {
469
+ const n = Ve.get(e);
461
470
  n && n.splice(t, 1);
462
471
  }
463
- const ht = Se(() => []);
464
- function br(e) {
472
+ const pt = Oe(() => []);
473
+ function Rr(e) {
465
474
  var r;
466
- const t = /* @__PURE__ */ new Map(), n = ht.getOrDefault(e.id).push(t);
475
+ const t = /* @__PURE__ */ new Map(), n = pt.getOrDefault(e.id).push(t);
467
476
  return (r = e.eRefs) == null || r.forEach((o) => {
468
477
  const i = X();
469
478
  t.set(o.id, i);
470
479
  }), n;
471
480
  }
472
- function Or(e, t) {
473
- const n = ht.get(e);
481
+ function Vr(e, t) {
482
+ const n = pt.get(e);
474
483
  n && n.splice(t, 1);
475
484
  }
476
- function sn() {
485
+ function an() {
477
486
  const e = new Map(
478
- Array.from(ht.entries()).map(([n, r]) => [
487
+ Array.from(pt.entries()).map(([n, r]) => [
479
488
  n,
480
489
  r[r.length - 1]
481
490
  ])
@@ -530,20 +539,20 @@ var N;
530
539
  }
531
540
  e.IsBinding = u;
532
541
  })(N || (N = {}));
533
- const De = Se(() => []);
534
- function Rr(e) {
535
- const t = De.getOrDefault(e);
542
+ const Fe = Oe(() => []);
543
+ function Pr(e) {
544
+ const t = Fe.getOrDefault(e);
536
545
  return t.push(X({})), t.length - 1;
537
546
  }
538
- function Vr(e, t, n) {
539
- De.get(e)[t].value = n;
547
+ function kr(e, t, n) {
548
+ Fe.get(e)[t].value = n;
540
549
  }
541
- function Pr(e) {
542
- De.delete(e);
550
+ function Nr(e) {
551
+ Fe.delete(e);
543
552
  }
544
- function kr() {
553
+ function Ir() {
545
554
  const e = /* @__PURE__ */ new Map();
546
- for (const [n, r] of De) {
555
+ for (const [n, r] of Fe) {
547
556
  const o = r[r.length - 1];
548
557
  e.set(n, o);
549
558
  }
@@ -554,45 +563,45 @@ function kr() {
554
563
  getPropsValue: t
555
564
  };
556
565
  }
557
- const an = /* @__PURE__ */ new Map(), pt = Se(() => /* @__PURE__ */ new Map()), cn = /* @__PURE__ */ new Set(), un = Symbol("vfor");
558
- function Nr(e) {
559
- const t = ln() ?? {};
560
- Ne(un, { ...t, [e.fid]: e.key });
566
+ const cn = /* @__PURE__ */ new Map(), mt = Oe(() => /* @__PURE__ */ new Map()), un = /* @__PURE__ */ new Set(), ln = Symbol("vfor");
567
+ function Tr(e) {
568
+ const t = fn() ?? {};
569
+ Te(ln, { ...t, [e.fid]: e.key });
561
570
  }
562
- function ln() {
563
- return Z(un, void 0);
571
+ function fn() {
572
+ return Z(ln, void 0);
564
573
  }
565
- function Ir() {
566
- const e = ln(), t = /* @__PURE__ */ new Map();
574
+ function Ar() {
575
+ const e = fn(), t = /* @__PURE__ */ new Map();
567
576
  return e === void 0 || Object.keys(e).forEach((n) => {
568
577
  t.set(n, e[n]);
569
578
  }), t;
570
579
  }
571
- function Tr(e, t, n, r) {
580
+ function Cr(e, t, n, r) {
572
581
  if (r) {
573
- cn.add(e);
582
+ un.add(e);
574
583
  return;
575
584
  }
576
585
  let o;
577
586
  if (n)
578
- o = new Mr(t);
587
+ o = new Br(t);
579
588
  else {
580
589
  const i = Array.isArray(t) ? t : Object.entries(t).map(([s, c], l) => [c, s, l]);
581
- o = new Dr(i);
590
+ o = new Fr(i);
582
591
  }
583
- an.set(e, o);
592
+ cn.set(e, o);
584
593
  }
585
- function Ar(e, t, n) {
586
- const r = pt.getOrDefault(e);
594
+ function $r(e, t, n) {
595
+ const r = mt.getOrDefault(e);
587
596
  r.has(t) || r.set(t, K(n)), r.get(t).value = n;
588
597
  }
589
- function $r(e) {
598
+ function xr(e) {
590
599
  const t = /* @__PURE__ */ new Set();
591
600
  function n(o) {
592
601
  t.add(o);
593
602
  }
594
603
  function r() {
595
- const o = pt.get(e);
604
+ const o = mt.get(e);
596
605
  o !== void 0 && o.forEach((i, s) => {
597
606
  t.has(s) || o.delete(s);
598
607
  });
@@ -602,30 +611,30 @@ function $r(e) {
602
611
  removeUnusedKeys: r
603
612
  };
604
613
  }
605
- function Cr(e) {
606
- const t = e, n = Ir();
614
+ function jr(e) {
615
+ const t = e, n = Ar();
607
616
  function r(o) {
608
617
  const i = n.get(o) ?? t;
609
- return pt.get(o).get(i).value;
618
+ return mt.get(o).get(i).value;
610
619
  }
611
620
  return {
612
621
  getVForIndex: r
613
622
  };
614
623
  }
615
- function xr(e) {
616
- return an.get(e.binding.fid).createRefObjectWithPaths(e);
624
+ function Dr(e) {
625
+ return cn.get(e.binding.fid).createRefObjectWithPaths(e);
617
626
  }
618
- function jr(e) {
619
- return cn.has(e);
627
+ function Mr(e) {
628
+ return un.has(e);
620
629
  }
621
- class Dr {
630
+ class Fr {
622
631
  constructor(t) {
623
632
  this.array = t;
624
633
  }
625
634
  createRefObjectWithPaths(t) {
626
635
  const { binding: n } = t, { snapshot: r } = t, { path: o = [] } = n, i = [...o], s = r.getVForIndex(n.fid);
627
- return i.unshift(s), Ce(() => ({
628
- get: () => be(
636
+ return i.unshift(s), je(() => ({
637
+ get: () => Re(
629
638
  this.array,
630
639
  i,
631
640
  r.getObjectToValue
@@ -636,9 +645,9 @@ class Dr {
636
645
  }));
637
646
  }
638
647
  }
639
- class Mr {
648
+ class Br {
640
649
  constructor(t) {
641
- B(this, "_isDictSource");
650
+ F(this, "_isDictSource");
642
651
  this.binding = t;
643
652
  }
644
653
  isDictSource(t) {
@@ -650,7 +659,7 @@ class Mr {
650
659
  }
651
660
  createRefObjectWithPaths(t) {
652
661
  const { binding: n } = t, { path: r = [] } = n, o = [...r], { snapshot: i } = t, s = i.getVueRefObject(this.binding), c = this.isDictSource(s), l = i.getVForIndex(n.fid), d = c && o.length === 0 ? [0] : [];
653
- return o.unshift(l, ...d), Ce(() => ({
662
+ return o.unshift(l, ...d), je(() => ({
654
663
  get: () => {
655
664
  const u = q(s), a = c ? Object.entries(u).map(([f, h], v) => [
656
665
  h,
@@ -658,7 +667,7 @@ class Mr {
658
667
  v
659
668
  ]) : u;
660
669
  try {
661
- return be(
670
+ return Re(
662
671
  q(a),
663
672
  o,
664
673
  i.getObjectToValue
@@ -674,7 +683,7 @@ class Mr {
674
683
  if (l >= f.length)
675
684
  throw new Error("Cannot set value to a non-existent key");
676
685
  const h = f[l];
677
- Xe(
686
+ Ze(
678
687
  a,
679
688
  [h],
680
689
  u,
@@ -682,7 +691,7 @@ class Mr {
682
691
  );
683
692
  return;
684
693
  }
685
- Xe(
694
+ Ze(
686
695
  a,
687
696
  o,
688
697
  u,
@@ -695,22 +704,22 @@ class Mr {
695
704
  function Rt(e) {
696
705
  return e == null;
697
706
  }
698
- function Fr() {
699
- return fn().__VUE_DEVTOOLS_GLOBAL_HOOK__;
707
+ function Lr() {
708
+ return dn().__VUE_DEVTOOLS_GLOBAL_HOOK__;
700
709
  }
701
- function fn() {
710
+ function dn() {
702
711
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
703
712
  }
704
- const Br = typeof Proxy == "function", Lr = "devtools-plugin:setup", Wr = "plugin:settings:set";
705
- let ae, nt;
706
- function Ur() {
713
+ const Wr = typeof Proxy == "function", Ur = "devtools-plugin:setup", Gr = "plugin:settings:set";
714
+ let le, rt;
715
+ function qr() {
707
716
  var e;
708
- return ae !== void 0 || (typeof window < "u" && window.performance ? (ae = !0, nt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (ae = !0, nt = globalThis.perf_hooks.performance) : ae = !1), ae;
717
+ return le !== void 0 || (typeof window < "u" && window.performance ? (le = !0, rt = window.performance) : typeof globalThis < "u" && (!((e = globalThis.perf_hooks) === null || e === void 0) && e.performance) ? (le = !0, rt = globalThis.perf_hooks.performance) : le = !1), le;
709
718
  }
710
- function Gr() {
711
- return Ur() ? nt.now() : Date.now();
719
+ function Kr() {
720
+ return qr() ? rt.now() : Date.now();
712
721
  }
713
- class qr {
722
+ class Hr {
714
723
  constructor(t, n) {
715
724
  this.target = null, this.targetQueue = [], this.onQueue = [], this.plugin = t, this.hook = n;
716
725
  const r = {};
@@ -738,9 +747,9 @@ class qr {
738
747
  i = s;
739
748
  },
740
749
  now() {
741
- return Gr();
750
+ return Kr();
742
751
  }
743
- }, n && n.on(Wr, (s, c) => {
752
+ }, n && n.on(Gr, (s, c) => {
744
753
  s === this.plugin.id && this.fallbacks.setSettings(c);
745
754
  }), this.proxiedOn = new Proxy({}, {
746
755
  get: (s, c) => this.target ? this.target.on[c] : (...l) => {
@@ -772,12 +781,12 @@ class qr {
772
781
  n.resolve(await this.target[n.method](...n.args));
773
782
  }
774
783
  }
775
- function Kr(e, t) {
776
- const n = e, r = fn(), o = Fr(), i = Br && n.enableEarlyProxy;
784
+ function zr(e, t) {
785
+ const n = e, r = dn(), o = Lr(), i = Wr && n.enableEarlyProxy;
777
786
  if (o && (r.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !i))
778
- o.emit(Lr, e, t);
787
+ o.emit(Ur, e, t);
779
788
  else {
780
- const s = i ? new qr(n, o) : null;
789
+ const s = i ? new Hr(n, o) : null;
781
790
  (r.__VUE_DEVTOOLS_PLUGINS__ = r.__VUE_DEVTOOLS_PLUGINS__ || []).push({
782
791
  pluginDescriptor: n,
783
792
  setupFn: t,
@@ -787,69 +796,69 @@ function Kr(e, t) {
787
796
  }
788
797
  var O = {};
789
798
  const Q = typeof document < "u";
790
- function dn(e) {
799
+ function hn(e) {
791
800
  return typeof e == "object" || "displayName" in e || "props" in e || "__vccOpts" in e;
792
801
  }
793
- function Hr(e) {
802
+ function Qr(e) {
794
803
  return e.__esModule || e[Symbol.toStringTag] === "Module" || // support CF with dynamic imports that do not
795
804
  // add the Module string tag
796
- e.default && dn(e.default);
805
+ e.default && hn(e.default);
797
806
  }
798
807
  const I = Object.assign;
799
- function Ke(e, t) {
808
+ function He(e, t) {
800
809
  const n = {};
801
810
  for (const r in t) {
802
811
  const o = t[r];
803
- n[r] = W(o) ? o.map(e) : e(o);
812
+ n[r] = L(o) ? o.map(e) : e(o);
804
813
  }
805
814
  return n;
806
815
  }
807
- const we = () => {
808
- }, W = Array.isArray;
809
- function R(e) {
816
+ const _e = () => {
817
+ }, L = Array.isArray;
818
+ function V(e) {
810
819
  const t = Array.from(arguments).slice(1);
811
820
  console.warn.apply(console, ["[Vue Router warn]: " + e].concat(t));
812
821
  }
813
- const hn = /#/g, zr = /&/g, Qr = /\//g, Jr = /=/g, Yr = /\?/g, pn = /\+/g, Xr = /%5B/g, Zr = /%5D/g, mn = /%5E/g, eo = /%60/g, gn = /%7B/g, to = /%7C/g, vn = /%7D/g, no = /%20/g;
814
- function mt(e) {
815
- return encodeURI("" + e).replace(to, "|").replace(Xr, "[").replace(Zr, "]");
822
+ const pn = /#/g, Jr = /&/g, Yr = /\//g, Xr = /=/g, Zr = /\?/g, mn = /\+/g, eo = /%5B/g, to = /%5D/g, gn = /%5E/g, no = /%60/g, vn = /%7B/g, ro = /%7C/g, yn = /%7D/g, oo = /%20/g;
823
+ function gt(e) {
824
+ return encodeURI("" + e).replace(ro, "|").replace(eo, "[").replace(to, "]");
816
825
  }
817
- function ro(e) {
818
- return mt(e).replace(gn, "{").replace(vn, "}").replace(mn, "^");
826
+ function so(e) {
827
+ return gt(e).replace(vn, "{").replace(yn, "}").replace(gn, "^");
819
828
  }
820
- function rt(e) {
821
- return mt(e).replace(pn, "%2B").replace(no, "+").replace(hn, "%23").replace(zr, "%26").replace(eo, "`").replace(gn, "{").replace(vn, "}").replace(mn, "^");
829
+ function ot(e) {
830
+ return gt(e).replace(mn, "%2B").replace(oo, "+").replace(pn, "%23").replace(Jr, "%26").replace(no, "`").replace(vn, "{").replace(yn, "}").replace(gn, "^");
822
831
  }
823
- function oo(e) {
824
- return rt(e).replace(Jr, "%3D");
832
+ function io(e) {
833
+ return ot(e).replace(Xr, "%3D");
825
834
  }
826
- function so(e) {
827
- return mt(e).replace(hn, "%23").replace(Yr, "%3F");
835
+ function ao(e) {
836
+ return gt(e).replace(pn, "%23").replace(Zr, "%3F");
828
837
  }
829
- function io(e) {
830
- return e == null ? "" : so(e).replace(Qr, "%2F");
838
+ function co(e) {
839
+ return e == null ? "" : ao(e).replace(Yr, "%2F");
831
840
  }
832
- function ce(e) {
841
+ function fe(e) {
833
842
  try {
834
843
  return decodeURIComponent("" + e);
835
844
  } catch {
836
- O.NODE_ENV !== "production" && R(`Error decoding "${e}". Using original value`);
845
+ O.NODE_ENV !== "production" && V(`Error decoding "${e}". Using original value`);
837
846
  }
838
847
  return "" + e;
839
848
  }
840
- const ao = /\/$/, co = (e) => e.replace(ao, "");
841
- function He(e, t, n = "/") {
849
+ const uo = /\/$/, lo = (e) => e.replace(uo, "");
850
+ function ze(e, t, n = "/") {
842
851
  let r, o = {}, i = "", s = "";
843
852
  const c = t.indexOf("#");
844
853
  let l = t.indexOf("?");
845
- return c < l && c >= 0 && (l = -1), l > -1 && (r = t.slice(0, l), i = t.slice(l + 1, c > -1 ? c : t.length), o = e(i)), c > -1 && (r = r || t.slice(0, c), s = t.slice(c, t.length)), r = fo(r ?? t, n), {
854
+ return c < l && c >= 0 && (l = -1), l > -1 && (r = t.slice(0, l), i = t.slice(l + 1, c > -1 ? c : t.length), o = e(i)), c > -1 && (r = r || t.slice(0, c), s = t.slice(c, t.length)), r = po(r ?? t, n), {
846
855
  fullPath: r + (i && "?") + i + s,
847
856
  path: r,
848
857
  query: o,
849
- hash: ce(s)
858
+ hash: fe(s)
850
859
  };
851
860
  }
852
- function uo(e, t) {
861
+ function fo(e, t) {
853
862
  const n = t.query ? e(t.query) : "";
854
863
  return t.path + (n && "?") + n + (t.hash || "");
855
864
  }
@@ -858,30 +867,30 @@ function Vt(e, t) {
858
867
  }
859
868
  function Pt(e, t, n) {
860
869
  const r = t.matched.length - 1, o = n.matched.length - 1;
861
- return r > -1 && r === o && ee(t.matched[r], n.matched[o]) && yn(t.params, n.params) && e(t.query) === e(n.query) && t.hash === n.hash;
870
+ return r > -1 && r === o && ee(t.matched[r], n.matched[o]) && wn(t.params, n.params) && e(t.query) === e(n.query) && t.hash === n.hash;
862
871
  }
863
872
  function ee(e, t) {
864
873
  return (e.aliasOf || e) === (t.aliasOf || t);
865
874
  }
866
- function yn(e, t) {
875
+ function wn(e, t) {
867
876
  if (Object.keys(e).length !== Object.keys(t).length)
868
877
  return !1;
869
878
  for (const n in e)
870
- if (!lo(e[n], t[n]))
879
+ if (!ho(e[n], t[n]))
871
880
  return !1;
872
881
  return !0;
873
882
  }
874
- function lo(e, t) {
875
- return W(e) ? kt(e, t) : W(t) ? kt(t, e) : e === t;
883
+ function ho(e, t) {
884
+ return L(e) ? kt(e, t) : L(t) ? kt(t, e) : e === t;
876
885
  }
877
886
  function kt(e, t) {
878
- return W(t) ? e.length === t.length && e.every((n, r) => n === t[r]) : e.length === 1 && e[0] === t;
887
+ return L(t) ? e.length === t.length && e.every((n, r) => n === t[r]) : e.length === 1 && e[0] === t;
879
888
  }
880
- function fo(e, t) {
889
+ function po(e, t) {
881
890
  if (e.startsWith("/"))
882
891
  return e;
883
892
  if (O.NODE_ENV !== "production" && !t.startsWith("/"))
884
- return R(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`), e;
893
+ return V(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`), e;
885
894
  if (!e)
886
895
  return t;
887
896
  const n = t.split("/"), r = e.split("/"), o = r[r.length - 1];
@@ -907,29 +916,29 @@ const J = {
907
916
  meta: {},
908
917
  redirectedFrom: void 0
909
918
  };
910
- var ue;
919
+ var de;
911
920
  (function(e) {
912
921
  e.pop = "pop", e.push = "push";
913
- })(ue || (ue = {}));
914
- var ne;
922
+ })(de || (de = {}));
923
+ var re;
915
924
  (function(e) {
916
925
  e.back = "back", e.forward = "forward", e.unknown = "";
917
- })(ne || (ne = {}));
918
- const ze = "";
919
- function wn(e) {
926
+ })(re || (re = {}));
927
+ const Qe = "";
928
+ function En(e) {
920
929
  if (!e)
921
930
  if (Q) {
922
931
  const t = document.querySelector("base");
923
932
  e = t && t.getAttribute("href") || "/", e = e.replace(/^\w+:\/\/[^\/]+/, "");
924
933
  } else
925
934
  e = "/";
926
- return e[0] !== "/" && e[0] !== "#" && (e = "/" + e), co(e);
935
+ return e[0] !== "/" && e[0] !== "#" && (e = "/" + e), lo(e);
927
936
  }
928
- const ho = /^[^#]+#/;
929
- function En(e, t) {
930
- return e.replace(ho, "#") + t;
937
+ const mo = /^[^#]+#/;
938
+ function _n(e, t) {
939
+ return e.replace(mo, "#") + t;
931
940
  }
932
- function po(e, t) {
941
+ function go(e, t) {
933
942
  const n = document.documentElement.getBoundingClientRect(), r = e.getBoundingClientRect();
934
943
  return {
935
944
  behavior: t.behavior,
@@ -937,11 +946,11 @@ function po(e, t) {
937
946
  top: r.top - n.top - (t.top || 0)
938
947
  };
939
948
  }
940
- const Me = () => ({
949
+ const Be = () => ({
941
950
  left: window.scrollX,
942
951
  top: window.scrollY
943
952
  });
944
- function mo(e) {
953
+ function vo(e) {
945
954
  let t;
946
955
  if ("el" in e) {
947
956
  const n = e.el, r = typeof n == "string" && n.startsWith("#");
@@ -949,19 +958,19 @@ function mo(e) {
949
958
  try {
950
959
  const i = document.querySelector(e.el);
951
960
  if (r && i) {
952
- R(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);
961
+ V(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);
953
962
  return;
954
963
  }
955
964
  } catch {
956
- R(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);
965
+ V(`The selector "${e.el}" is invalid. If you are using an id selector, make sure to escape it. You can find more information about escaping characters in selectors at https://mathiasbynens.be/notes/css-escapes or use CSS.escape (https://developer.mozilla.org/en-US/docs/Web/API/CSS/escape).`);
957
966
  return;
958
967
  }
959
968
  const o = typeof n == "string" ? r ? document.getElementById(n.slice(1)) : document.querySelector(n) : n;
960
969
  if (!o) {
961
- O.NODE_ENV !== "production" && R(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);
970
+ O.NODE_ENV !== "production" && V(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);
962
971
  return;
963
972
  }
964
- t = po(o, e);
973
+ t = go(o, e);
965
974
  } else
966
975
  t = e;
967
976
  "scrollBehavior" in document.documentElement.style ? window.scrollTo(t) : window.scrollTo(t.left != null ? t.left : window.scrollX, t.top != null ? t.top : window.scrollY);
@@ -969,16 +978,16 @@ function mo(e) {
969
978
  function Nt(e, t) {
970
979
  return (history.state ? history.state.position - t : -1) + e;
971
980
  }
972
- const ot = /* @__PURE__ */ new Map();
973
- function go(e, t) {
974
- ot.set(e, t);
981
+ const st = /* @__PURE__ */ new Map();
982
+ function yo(e, t) {
983
+ st.set(e, t);
975
984
  }
976
- function vo(e) {
977
- const t = ot.get(e);
978
- return ot.delete(e), t;
985
+ function wo(e) {
986
+ const t = st.get(e);
987
+ return st.delete(e), t;
979
988
  }
980
- let yo = () => location.protocol + "//" + location.host;
981
- function _n(e, t) {
989
+ let Eo = () => location.protocol + "//" + location.host;
990
+ function Sn(e, t) {
982
991
  const { pathname: n, search: r, hash: o } = t, i = e.indexOf("#");
983
992
  if (i > -1) {
984
993
  let c = o.includes(e.slice(i)) ? e.slice(i).length : 1, l = o.slice(c);
@@ -986,10 +995,10 @@ function _n(e, t) {
986
995
  }
987
996
  return Vt(n, e) + r + o;
988
997
  }
989
- function wo(e, t, n, r) {
998
+ function _o(e, t, n, r) {
990
999
  let o = [], i = [], s = null;
991
1000
  const c = ({ state: f }) => {
992
- const h = _n(e, location), v = n.value, p = t.value;
1001
+ const h = Sn(e, location), v = n.value, p = t.value;
993
1002
  let g = 0;
994
1003
  if (f) {
995
1004
  if (n.value = h, t.value = f, s && s === v) {
@@ -1002,8 +1011,8 @@ function wo(e, t, n, r) {
1002
1011
  o.forEach((y) => {
1003
1012
  y(n.value, v, {
1004
1013
  delta: g,
1005
- type: ue.pop,
1006
- direction: g ? g > 0 ? ne.forward : ne.back : ne.unknown
1014
+ type: de.pop,
1015
+ direction: g ? g > 0 ? re.forward : re.back : re.unknown
1007
1016
  });
1008
1017
  });
1009
1018
  };
@@ -1020,7 +1029,7 @@ function wo(e, t, n, r) {
1020
1029
  }
1021
1030
  function u() {
1022
1031
  const { history: f } = window;
1023
- f.state && f.replaceState(I({}, f.state, { scroll: Me() }), "");
1032
+ f.state && f.replaceState(I({}, f.state, { scroll: Be() }), "");
1024
1033
  }
1025
1034
  function a() {
1026
1035
  for (const f of i)
@@ -1042,12 +1051,12 @@ function It(e, t, n, r = !1, o = !1) {
1042
1051
  forward: n,
1043
1052
  replaced: r,
1044
1053
  position: window.history.length,
1045
- scroll: o ? Me() : null
1054
+ scroll: o ? Be() : null
1046
1055
  };
1047
1056
  }
1048
- function Eo(e) {
1057
+ function So(e) {
1049
1058
  const { history: t, location: n } = window, r = {
1050
- value: _n(e, n)
1059
+ value: Sn(e, n)
1051
1060
  }, o = { value: t.state };
1052
1061
  o.value || i(r.value, {
1053
1062
  back: null,
@@ -1061,11 +1070,11 @@ function Eo(e) {
1061
1070
  scroll: null
1062
1071
  }, !0);
1063
1072
  function i(l, d, u) {
1064
- const a = e.indexOf("#"), f = a > -1 ? (n.host && document.querySelector("base") ? e : e.slice(a)) + l : yo() + e + l;
1073
+ const a = e.indexOf("#"), f = a > -1 ? (n.host && document.querySelector("base") ? e : e.slice(a)) + l : Eo() + e + l;
1065
1074
  try {
1066
1075
  t[u ? "replaceState" : "pushState"](d, "", f), o.value = d;
1067
1076
  } catch (h) {
1068
- O.NODE_ENV !== "production" ? R("Error with push/replace State", h) : console.error(h), n[u ? "replace" : "assign"](f);
1077
+ O.NODE_ENV !== "production" ? V("Error with push/replace State", h) : console.error(h), n[u ? "replace" : "assign"](f);
1069
1078
  }
1070
1079
  }
1071
1080
  function s(l, d) {
@@ -1088,10 +1097,10 @@ function Eo(e) {
1088
1097
  t.state,
1089
1098
  {
1090
1099
  forward: l,
1091
- scroll: Me()
1100
+ scroll: Be()
1092
1101
  }
1093
1102
  );
1094
- O.NODE_ENV !== "production" && !t.state && R(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
1103
+ O.NODE_ENV !== "production" && !t.state && V(`history.state seems to have been manually replaced without preserving the necessary values. Make sure to preserve existing history state if you are manually calling history.replaceState:
1095
1104
 
1096
1105
  history.replaceState(history.state, '', url)
1097
1106
 
@@ -1106,9 +1115,9 @@ You can find more information at https://router.vuejs.org/guide/migration/#Usage
1106
1115
  replace: s
1107
1116
  };
1108
1117
  }
1109
- function Sn(e) {
1110
- e = wn(e);
1111
- const t = Eo(e), n = wo(e, t.state, t.location, t.replace);
1118
+ function bn(e) {
1119
+ e = En(e);
1120
+ const t = So(e), n = _o(e, t.state, t.location, t.replace);
1112
1121
  function r(i, s = !0) {
1113
1122
  s || n.pauseListeners(), history.go(i);
1114
1123
  }
@@ -1117,7 +1126,7 @@ function Sn(e) {
1117
1126
  location: "",
1118
1127
  base: e,
1119
1128
  go: r,
1120
- createHref: En.bind(null, e)
1129
+ createHref: _n.bind(null, e)
1121
1130
  }, t, n);
1122
1131
  return Object.defineProperty(o, "location", {
1123
1132
  enumerable: !0,
@@ -1127,9 +1136,9 @@ function Sn(e) {
1127
1136
  get: () => t.state.value
1128
1137
  }), o;
1129
1138
  }
1130
- function _o(e = "") {
1131
- let t = [], n = [ze], r = 0;
1132
- e = wn(e);
1139
+ function bo(e = "") {
1140
+ let t = [], n = [Qe], r = 0;
1141
+ e = En(e);
1133
1142
  function o(c) {
1134
1143
  r++, r !== n.length && n.splice(r), n.push(c);
1135
1144
  }
@@ -1137,18 +1146,18 @@ function _o(e = "") {
1137
1146
  const a = {
1138
1147
  direction: d,
1139
1148
  delta: u,
1140
- type: ue.pop
1149
+ type: de.pop
1141
1150
  };
1142
1151
  for (const f of t)
1143
1152
  f(c, l, a);
1144
1153
  }
1145
1154
  const s = {
1146
1155
  // rewritten by Object.defineProperty
1147
- location: ze,
1156
+ location: Qe,
1148
1157
  // TODO: should be kept in queue
1149
1158
  state: {},
1150
1159
  base: e,
1151
- createHref: En.bind(null, e),
1160
+ createHref: _n.bind(null, e),
1152
1161
  replace(c) {
1153
1162
  n.splice(r--, 1), o(c);
1154
1163
  },
@@ -1162,14 +1171,14 @@ function _o(e = "") {
1162
1171
  };
1163
1172
  },
1164
1173
  destroy() {
1165
- t = [], n = [ze], r = 0;
1174
+ t = [], n = [Qe], r = 0;
1166
1175
  },
1167
1176
  go(c, l = !0) {
1168
1177
  const d = this.location, u = (
1169
1178
  // we are considering delta === 0 going forward, but in abstract mode
1170
1179
  // using 0 for the delta doesn't make sense like it does in html5 where
1171
1180
  // it reloads the page
1172
- c < 0 ? ne.back : ne.forward
1181
+ c < 0 ? re.back : re.forward
1173
1182
  );
1174
1183
  r = Math.max(0, Math.min(r + c, n.length - 1)), l && i(this.location, d, {
1175
1184
  direction: u,
@@ -1182,22 +1191,22 @@ function _o(e = "") {
1182
1191
  get: () => n[r]
1183
1192
  }), s;
1184
1193
  }
1185
- function So(e) {
1186
- return e = location.host ? e || location.pathname + location.search : "", e.includes("#") || (e += "#"), O.NODE_ENV !== "production" && !e.endsWith("#/") && !e.endsWith("#") && R(`A hash base must end with a "#":
1187
- "${e}" should be "${e.replace(/#.*$/, "#")}".`), Sn(e);
1194
+ function Oo(e) {
1195
+ return e = location.host ? e || location.pathname + location.search : "", e.includes("#") || (e += "#"), O.NODE_ENV !== "production" && !e.endsWith("#/") && !e.endsWith("#") && V(`A hash base must end with a "#":
1196
+ "${e}" should be "${e.replace(/#.*$/, "#")}".`), bn(e);
1188
1197
  }
1189
- function Ae(e) {
1198
+ function $e(e) {
1190
1199
  return typeof e == "string" || e && typeof e == "object";
1191
1200
  }
1192
- function bn(e) {
1201
+ function On(e) {
1193
1202
  return typeof e == "string" || typeof e == "symbol";
1194
1203
  }
1195
- const st = Symbol(O.NODE_ENV !== "production" ? "navigation failure" : "");
1204
+ const it = Symbol(O.NODE_ENV !== "production" ? "navigation failure" : "");
1196
1205
  var Tt;
1197
1206
  (function(e) {
1198
1207
  e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated";
1199
1208
  })(Tt || (Tt = {}));
1200
- const bo = {
1209
+ const Ro = {
1201
1210
  1({ location: e, currentLocation: t }) {
1202
1211
  return `No match for
1203
1212
  ${JSON.stringify(e)}${t ? `
@@ -1205,7 +1214,7 @@ while being at
1205
1214
  ` + JSON.stringify(t) : ""}`;
1206
1215
  },
1207
1216
  2({ from: e, to: t }) {
1208
- return `Redirected from "${e.fullPath}" to "${Ro(t)}" via a navigation guard.`;
1217
+ return `Redirected from "${e.fullPath}" to "${Po(t)}" via a navigation guard.`;
1209
1218
  },
1210
1219
  4({ from: e, to: t }) {
1211
1220
  return `Navigation aborted from "${e.fullPath}" to "${t.fullPath}" via a navigation guard.`;
@@ -1217,37 +1226,37 @@ while being at
1217
1226
  return `Avoided redundant navigation to current location: "${e.fullPath}".`;
1218
1227
  }
1219
1228
  };
1220
- function le(e, t) {
1221
- return O.NODE_ENV !== "production" ? I(new Error(bo[e](t)), {
1229
+ function he(e, t) {
1230
+ return O.NODE_ENV !== "production" ? I(new Error(Ro[e](t)), {
1222
1231
  type: e,
1223
- [st]: !0
1232
+ [it]: !0
1224
1233
  }, t) : I(new Error(), {
1225
1234
  type: e,
1226
- [st]: !0
1235
+ [it]: !0
1227
1236
  }, t);
1228
1237
  }
1229
1238
  function z(e, t) {
1230
- return e instanceof Error && st in e && (t == null || !!(e.type & t));
1239
+ return e instanceof Error && it in e && (t == null || !!(e.type & t));
1231
1240
  }
1232
- const Oo = ["params", "query", "hash"];
1233
- function Ro(e) {
1241
+ const Vo = ["params", "query", "hash"];
1242
+ function Po(e) {
1234
1243
  if (typeof e == "string")
1235
1244
  return e;
1236
1245
  if (e.path != null)
1237
1246
  return e.path;
1238
1247
  const t = {};
1239
- for (const n of Oo)
1248
+ for (const n of Vo)
1240
1249
  n in e && (t[n] = e[n]);
1241
1250
  return JSON.stringify(t, null, 2);
1242
1251
  }
1243
- const At = "[^/]+?", Vo = {
1252
+ const At = "[^/]+?", ko = {
1244
1253
  sensitive: !1,
1245
1254
  strict: !1,
1246
1255
  start: !0,
1247
1256
  end: !0
1248
- }, Po = /[.+*?^${}()[\]/\\]/g;
1249
- function ko(e, t) {
1250
- const n = I({}, Vo, t), r = [];
1257
+ }, No = /[.+*?^${}()[\]/\\]/g;
1258
+ function Io(e, t) {
1259
+ const n = I({}, ko, t), r = [];
1251
1260
  let o = n.start ? "^" : "";
1252
1261
  const i = [];
1253
1262
  for (const d of e) {
@@ -1260,7 +1269,7 @@ function ko(e, t) {
1260
1269
  const f = d[a];
1261
1270
  let h = 40 + (n.sensitive ? 0.25 : 0);
1262
1271
  if (f.type === 0)
1263
- a || (o += "/"), o += f.value.replace(Po, "\\$&"), h += 40;
1272
+ a || (o += "/"), o += f.value.replace(No, "\\$&"), h += 40;
1264
1273
  else if (f.type === 1) {
1265
1274
  const { value: v, repeatable: p, optional: g, regexp: y } = f;
1266
1275
  i.push({
@@ -1273,8 +1282,8 @@ function ko(e, t) {
1273
1282
  h += 10;
1274
1283
  try {
1275
1284
  new RegExp(`(${_})`);
1276
- } catch (V) {
1277
- throw new Error(`Invalid custom RegExp for param "${v}" (${_}): ` + V.message);
1285
+ } catch (R) {
1286
+ throw new Error(`Invalid custom RegExp for param "${v}" (${_}): ` + R.message);
1278
1287
  }
1279
1288
  }
1280
1289
  let b = p ? `((?:${_})(?:/(?:${_}))*)` : `(${_})`;
@@ -1311,9 +1320,9 @@ function ko(e, t) {
1311
1320
  u += h.value;
1312
1321
  else if (h.type === 1) {
1313
1322
  const { value: v, repeatable: p, optional: g } = h, y = v in d ? d[v] : "";
1314
- if (W(y) && !p)
1323
+ if (L(y) && !p)
1315
1324
  throw new Error(`Provided param "${v}" is an array but it is not repeatable (* or + modifiers)`);
1316
- const _ = W(y) ? y.join("/") : y;
1325
+ const _ = L(y) ? y.join("/") : y;
1317
1326
  if (!_)
1318
1327
  if (g)
1319
1328
  f.length < 2 && (u.endsWith("/") ? u = u.slice(0, -1) : a = !0);
@@ -1332,7 +1341,7 @@ function ko(e, t) {
1332
1341
  stringify: l
1333
1342
  };
1334
1343
  }
1335
- function No(e, t) {
1344
+ function To(e, t) {
1336
1345
  let n = 0;
1337
1346
  for (; n < e.length && n < t.length; ) {
1338
1347
  const r = t[n] - e[n];
@@ -1342,36 +1351,36 @@ function No(e, t) {
1342
1351
  }
1343
1352
  return e.length < t.length ? e.length === 1 && e[0] === 80 ? -1 : 1 : e.length > t.length ? t.length === 1 && t[0] === 80 ? 1 : -1 : 0;
1344
1353
  }
1345
- function On(e, t) {
1354
+ function Rn(e, t) {
1346
1355
  let n = 0;
1347
1356
  const r = e.score, o = t.score;
1348
1357
  for (; n < r.length && n < o.length; ) {
1349
- const i = No(r[n], o[n]);
1358
+ const i = To(r[n], o[n]);
1350
1359
  if (i)
1351
1360
  return i;
1352
1361
  n++;
1353
1362
  }
1354
1363
  if (Math.abs(o.length - r.length) === 1) {
1355
- if ($t(r))
1364
+ if (Ct(r))
1356
1365
  return 1;
1357
- if ($t(o))
1366
+ if (Ct(o))
1358
1367
  return -1;
1359
1368
  }
1360
1369
  return o.length - r.length;
1361
1370
  }
1362
- function $t(e) {
1371
+ function Ct(e) {
1363
1372
  const t = e[e.length - 1];
1364
1373
  return e.length > 0 && t[t.length - 1] < 0;
1365
1374
  }
1366
- const Io = {
1375
+ const Ao = {
1367
1376
  type: 0,
1368
1377
  value: ""
1369
- }, To = /[a-zA-Z0-9_]/;
1370
- function Ao(e) {
1378
+ }, Co = /[a-zA-Z0-9_]/;
1379
+ function $o(e) {
1371
1380
  if (!e)
1372
1381
  return [[]];
1373
1382
  if (e === "/")
1374
- return [[Io]];
1383
+ return [[Ao]];
1375
1384
  if (!e.startsWith("/"))
1376
1385
  throw new Error(O.NODE_ENV !== "production" ? `Route paths should start with a "/": "${e}" should be "/${e}".` : `Invalid path "${e}"`);
1377
1386
  function t(h) {
@@ -1412,7 +1421,7 @@ function Ao(e) {
1412
1421
  f(), n = r;
1413
1422
  break;
1414
1423
  case 1:
1415
- l === "(" ? n = 2 : To.test(l) ? f() : (a(), n = 0, l !== "*" && l !== "?" && l !== "+" && c--);
1424
+ l === "(" ? n = 2 : Co.test(l) ? f() : (a(), n = 0, l !== "*" && l !== "?" && l !== "+" && c--);
1416
1425
  break;
1417
1426
  case 2:
1418
1427
  l === ")" ? u[u.length - 1] == "\\" ? u = u.slice(0, -1) + l : n = 3 : u += l;
@@ -1427,12 +1436,12 @@ function Ao(e) {
1427
1436
  }
1428
1437
  return n === 2 && t(`Unfinished custom RegExp for param "${d}"`), a(), s(), o;
1429
1438
  }
1430
- function $o(e, t, n) {
1431
- const r = ko(Ao(e.path), n);
1439
+ function xo(e, t, n) {
1440
+ const r = Io($o(e.path), n);
1432
1441
  if (O.NODE_ENV !== "production") {
1433
1442
  const i = /* @__PURE__ */ new Set();
1434
1443
  for (const s of r.keys)
1435
- i.has(s.name) && R(`Found duplicated params with name "${s.name}" for path "${e.path}". Only the last one will be available on "$route.params".`), i.add(s.name);
1444
+ i.has(s.name) && V(`Found duplicated params with name "${s.name}" for path "${e.path}". Only the last one will be available on "$route.params".`), i.add(s.name);
1436
1445
  }
1437
1446
  const o = I(r, {
1438
1447
  record: e,
@@ -1443,7 +1452,7 @@ function $o(e, t, n) {
1443
1452
  });
1444
1453
  return t && !o.record.aliasOf == !t.record.aliasOf && t.children.push(o), o;
1445
1454
  }
1446
- function Co(e, t) {
1455
+ function jo(e, t) {
1447
1456
  const n = [], r = /* @__PURE__ */ new Map();
1448
1457
  t = Dt({ strict: !1, end: !0, sensitive: !1 }, t);
1449
1458
  function o(a) {
@@ -1451,11 +1460,11 @@ function Co(e, t) {
1451
1460
  }
1452
1461
  function i(a, f, h) {
1453
1462
  const v = !h, p = xt(a);
1454
- O.NODE_ENV !== "production" && Mo(p, f), p.aliasOf = h && h.record;
1463
+ O.NODE_ENV !== "production" && Bo(p, f), p.aliasOf = h && h.record;
1455
1464
  const g = Dt(t, a), y = [p];
1456
1465
  if ("alias" in a) {
1457
- const V = typeof a.alias == "string" ? [a.alias] : a.alias;
1458
- for (const C of V)
1466
+ const R = typeof a.alias == "string" ? [a.alias] : a.alias;
1467
+ for (const $ of R)
1459
1468
  y.push(
1460
1469
  // we need to normalize again to ensure the `mods` property
1461
1470
  // being non enumerable
@@ -1463,7 +1472,7 @@ function Co(e, t) {
1463
1472
  // this allows us to hold a copy of the `components` option
1464
1473
  // so that async components cache is hold on the original record
1465
1474
  components: h ? h.record.components : p.components,
1466
- path: C,
1475
+ path: $,
1467
1476
  // we might be the child of an alias
1468
1477
  aliasOf: h ? h.record : p
1469
1478
  // the aliases are always of the same kind as the original since they
@@ -1472,28 +1481,28 @@ function Co(e, t) {
1472
1481
  );
1473
1482
  }
1474
1483
  let _, b;
1475
- for (const V of y) {
1476
- const { path: C } = V;
1477
- if (f && C[0] !== "/") {
1478
- const j = f.record.path, D = j[j.length - 1] === "/" ? "" : "/";
1479
- V.path = f.record.path + (C && D + C);
1484
+ for (const R of y) {
1485
+ const { path: $ } = R;
1486
+ if (f && $[0] !== "/") {
1487
+ const U = f.record.path, x = U[U.length - 1] === "/" ? "" : "/";
1488
+ R.path = f.record.path + ($ && x + $);
1480
1489
  }
1481
- if (O.NODE_ENV !== "production" && V.path === "*")
1490
+ if (O.NODE_ENV !== "production" && R.path === "*")
1482
1491
  throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
1483
1492
  See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
1484
- if (_ = $o(V, f, g), O.NODE_ENV !== "production" && f && C[0] === "/" && Bo(_, f), h ? (h.alias.push(_), O.NODE_ENV !== "production" && Do(h, _)) : (b = b || _, b !== _ && b.alias.push(_), v && a.name && !jt(_) && (O.NODE_ENV !== "production" && Fo(a, f), s(a.name))), Rn(_) && l(_), p.children) {
1485
- const j = p.children;
1486
- for (let D = 0; D < j.length; D++)
1487
- i(j[D], _, h && h.children[D]);
1493
+ if (_ = xo(R, f, g), O.NODE_ENV !== "production" && f && $[0] === "/" && Wo(_, f), h ? (h.alias.push(_), O.NODE_ENV !== "production" && Fo(h, _)) : (b = b || _, b !== _ && b.alias.push(_), v && a.name && !jt(_) && (O.NODE_ENV !== "production" && Lo(a, f), s(a.name))), Vn(_) && l(_), p.children) {
1494
+ const U = p.children;
1495
+ for (let x = 0; x < U.length; x++)
1496
+ i(U[x], _, h && h.children[x]);
1488
1497
  }
1489
1498
  h = h || _;
1490
1499
  }
1491
1500
  return b ? () => {
1492
1501
  s(b);
1493
- } : we;
1502
+ } : _e;
1494
1503
  }
1495
1504
  function s(a) {
1496
- if (bn(a)) {
1505
+ if (On(a)) {
1497
1506
  const f = r.get(a);
1498
1507
  f && (r.delete(a), n.splice(n.indexOf(f), 1), f.children.forEach(s), f.alias.forEach(s));
1499
1508
  } else {
@@ -1505,23 +1514,23 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
1505
1514
  return n;
1506
1515
  }
1507
1516
  function l(a) {
1508
- const f = Lo(a, n);
1517
+ const f = Uo(a, n);
1509
1518
  n.splice(f, 0, a), a.record.name && !jt(a) && r.set(a.record.name, a);
1510
1519
  }
1511
1520
  function d(a, f) {
1512
1521
  let h, v = {}, p, g;
1513
1522
  if ("name" in a && a.name) {
1514
1523
  if (h = r.get(a.name), !h)
1515
- throw le(1, {
1524
+ throw he(1, {
1516
1525
  location: a
1517
1526
  });
1518
1527
  if (O.NODE_ENV !== "production") {
1519
- const b = Object.keys(a.params || {}).filter((V) => !h.keys.find((C) => C.name === V));
1520
- b.length && R(`Discarded invalid param(s) "${b.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1528
+ const b = Object.keys(a.params || {}).filter((R) => !h.keys.find(($) => $.name === R));
1529
+ b.length && V(`Discarded invalid param(s) "${b.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1521
1530
  }
1522
1531
  g = h.record.name, v = I(
1523
1532
  // paramsFromLocation is a new object
1524
- Ct(
1533
+ $t(
1525
1534
  f.params,
1526
1535
  // only keep params that exist in the resolved location
1527
1536
  // only keep optional params coming from a parent record
@@ -1529,13 +1538,13 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
1529
1538
  ),
1530
1539
  // discard any existing params in the current location that do not exist here
1531
1540
  // #1497 this ensures better active/exact matching
1532
- a.params && Ct(a.params, h.keys.map((b) => b.name))
1541
+ a.params && $t(a.params, h.keys.map((b) => b.name))
1533
1542
  ), p = h.stringify(v);
1534
1543
  } else if (a.path != null)
1535
- p = a.path, O.NODE_ENV !== "production" && !p.startsWith("/") && R(`The Matcher cannot resolve relative paths but received "${p}". Unless you directly called \`matcher.resolve("${p}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), h = n.find((b) => b.re.test(p)), h && (v = h.parse(p), g = h.record.name);
1544
+ p = a.path, O.NODE_ENV !== "production" && !p.startsWith("/") && V(`The Matcher cannot resolve relative paths but received "${p}". Unless you directly called \`matcher.resolve("${p}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), h = n.find((b) => b.re.test(p)), h && (v = h.parse(p), g = h.record.name);
1536
1545
  else {
1537
1546
  if (h = f.name ? r.get(f.name) : n.find((b) => b.re.test(f.path)), !h)
1538
- throw le(1, {
1547
+ throw he(1, {
1539
1548
  location: a,
1540
1549
  currentLocation: f
1541
1550
  });
@@ -1550,7 +1559,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
1550
1559
  path: p,
1551
1560
  params: v,
1552
1561
  matched: y,
1553
- meta: jo(y)
1562
+ meta: Mo(y)
1554
1563
  };
1555
1564
  }
1556
1565
  e.forEach((a) => i(a));
@@ -1566,7 +1575,7 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
1566
1575
  getRecordMatcher: o
1567
1576
  };
1568
1577
  }
1569
- function Ct(e, t) {
1578
+ function $t(e, t) {
1570
1579
  const n = {};
1571
1580
  for (const r of t)
1572
1581
  r in e && (n[r] = e[r]);
@@ -1580,7 +1589,7 @@ function xt(e) {
1580
1589
  meta: e.meta || {},
1581
1590
  aliasOf: e.aliasOf,
1582
1591
  beforeEnter: e.beforeEnter,
1583
- props: xo(e),
1592
+ props: Do(e),
1584
1593
  children: e.children || [],
1585
1594
  instances: {},
1586
1595
  leaveGuards: /* @__PURE__ */ new Set(),
@@ -1594,7 +1603,7 @@ function xt(e) {
1594
1603
  value: {}
1595
1604
  }), t;
1596
1605
  }
1597
- function xo(e) {
1606
+ function Do(e) {
1598
1607
  const t = {}, n = e.props || !1;
1599
1608
  if ("component" in e)
1600
1609
  t.default = n;
@@ -1611,7 +1620,7 @@ function jt(e) {
1611
1620
  }
1612
1621
  return !1;
1613
1622
  }
1614
- function jo(e) {
1623
+ function Mo(e) {
1615
1624
  return e.reduce((t, n) => I(t, n.meta), {});
1616
1625
  }
1617
1626
  function Dt(e, t) {
@@ -1620,58 +1629,58 @@ function Dt(e, t) {
1620
1629
  n[r] = r in t ? t[r] : e[r];
1621
1630
  return n;
1622
1631
  }
1623
- function it(e, t) {
1632
+ function at(e, t) {
1624
1633
  return e.name === t.name && e.optional === t.optional && e.repeatable === t.repeatable;
1625
1634
  }
1626
- function Do(e, t) {
1635
+ function Fo(e, t) {
1627
1636
  for (const n of e.keys)
1628
- if (!n.optional && !t.keys.find(it.bind(null, n)))
1629
- return R(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
1637
+ if (!n.optional && !t.keys.find(at.bind(null, n)))
1638
+ return V(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
1630
1639
  for (const n of t.keys)
1631
- if (!n.optional && !e.keys.find(it.bind(null, n)))
1632
- return R(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
1640
+ if (!n.optional && !e.keys.find(at.bind(null, n)))
1641
+ return V(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
1633
1642
  }
1634
- function Mo(e, t) {
1635
- t && t.record.name && !e.name && !e.path && R(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`);
1643
+ function Bo(e, t) {
1644
+ t && t.record.name && !e.name && !e.path && V(`The route named "${String(t.record.name)}" has a child without a name and an empty path. Using that name won't render the empty path child so you probably want to move the name to the child instead. If this is intentional, add a name to the child route to remove the warning.`);
1636
1645
  }
1637
- function Fo(e, t) {
1646
+ function Lo(e, t) {
1638
1647
  for (let n = t; n; n = n.parent)
1639
1648
  if (n.record.name === e.name)
1640
1649
  throw new Error(`A route named "${String(e.name)}" has been added as a ${t === n ? "child" : "descendant"} of a route with the same name. Route names must be unique and a nested route cannot use the same name as an ancestor.`);
1641
1650
  }
1642
- function Bo(e, t) {
1651
+ function Wo(e, t) {
1643
1652
  for (const n of t.keys)
1644
- if (!e.keys.find(it.bind(null, n)))
1645
- return R(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`);
1653
+ if (!e.keys.find(at.bind(null, n)))
1654
+ return V(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`);
1646
1655
  }
1647
- function Lo(e, t) {
1656
+ function Uo(e, t) {
1648
1657
  let n = 0, r = t.length;
1649
1658
  for (; n !== r; ) {
1650
1659
  const i = n + r >> 1;
1651
- On(e, t[i]) < 0 ? r = i : n = i + 1;
1660
+ Rn(e, t[i]) < 0 ? r = i : n = i + 1;
1652
1661
  }
1653
- const o = Wo(e);
1654
- return o && (r = t.lastIndexOf(o, r - 1), O.NODE_ENV !== "production" && r < 0 && R(`Finding ancestor route "${o.record.path}" failed for "${e.record.path}"`)), r;
1662
+ const o = Go(e);
1663
+ return o && (r = t.lastIndexOf(o, r - 1), O.NODE_ENV !== "production" && r < 0 && V(`Finding ancestor route "${o.record.path}" failed for "${e.record.path}"`)), r;
1655
1664
  }
1656
- function Wo(e) {
1665
+ function Go(e) {
1657
1666
  let t = e;
1658
1667
  for (; t = t.parent; )
1659
- if (Rn(t) && On(e, t) === 0)
1668
+ if (Vn(t) && Rn(e, t) === 0)
1660
1669
  return t;
1661
1670
  }
1662
- function Rn({ record: e }) {
1671
+ function Vn({ record: e }) {
1663
1672
  return !!(e.name || e.components && Object.keys(e.components).length || e.redirect);
1664
1673
  }
1665
- function Uo(e) {
1674
+ function qo(e) {
1666
1675
  const t = {};
1667
1676
  if (e === "" || e === "?")
1668
1677
  return t;
1669
1678
  const r = (e[0] === "?" ? e.slice(1) : e).split("&");
1670
1679
  for (let o = 0; o < r.length; ++o) {
1671
- const i = r[o].replace(pn, " "), s = i.indexOf("="), c = ce(s < 0 ? i : i.slice(0, s)), l = s < 0 ? null : ce(i.slice(s + 1));
1680
+ const i = r[o].replace(mn, " "), s = i.indexOf("="), c = fe(s < 0 ? i : i.slice(0, s)), l = s < 0 ? null : fe(i.slice(s + 1));
1672
1681
  if (c in t) {
1673
1682
  let d = t[c];
1674
- W(d) || (d = t[c] = [d]), d.push(l);
1683
+ L(d) || (d = t[c] = [d]), d.push(l);
1675
1684
  } else
1676
1685
  t[c] = l;
1677
1686
  }
@@ -1681,26 +1690,26 @@ function Mt(e) {
1681
1690
  let t = "";
1682
1691
  for (let n in e) {
1683
1692
  const r = e[n];
1684
- if (n = oo(n), r == null) {
1693
+ if (n = io(n), r == null) {
1685
1694
  r !== void 0 && (t += (t.length ? "&" : "") + n);
1686
1695
  continue;
1687
1696
  }
1688
- (W(r) ? r.map((i) => i && rt(i)) : [r && rt(r)]).forEach((i) => {
1697
+ (L(r) ? r.map((i) => i && ot(i)) : [r && ot(r)]).forEach((i) => {
1689
1698
  i !== void 0 && (t += (t.length ? "&" : "") + n, i != null && (t += "=" + i));
1690
1699
  });
1691
1700
  }
1692
1701
  return t;
1693
1702
  }
1694
- function Go(e) {
1703
+ function Ko(e) {
1695
1704
  const t = {};
1696
1705
  for (const n in e) {
1697
1706
  const r = e[n];
1698
- r !== void 0 && (t[n] = W(r) ? r.map((o) => o == null ? null : "" + o) : r == null ? r : "" + r);
1707
+ r !== void 0 && (t[n] = L(r) ? r.map((o) => o == null ? null : "" + o) : r == null ? r : "" + r);
1699
1708
  }
1700
1709
  return t;
1701
1710
  }
1702
- const qo = Symbol(O.NODE_ENV !== "production" ? "router view location matched" : ""), Ft = Symbol(O.NODE_ENV !== "production" ? "router view depth" : ""), Fe = Symbol(O.NODE_ENV !== "production" ? "router" : ""), gt = Symbol(O.NODE_ENV !== "production" ? "route location" : ""), at = Symbol(O.NODE_ENV !== "production" ? "router view location" : "");
1703
- function ge() {
1711
+ const Ho = Symbol(O.NODE_ENV !== "production" ? "router view location matched" : ""), Ft = Symbol(O.NODE_ENV !== "production" ? "router view depth" : ""), Le = Symbol(O.NODE_ENV !== "production" ? "router" : ""), vt = Symbol(O.NODE_ENV !== "production" ? "route location" : ""), ct = Symbol(O.NODE_ENV !== "production" ? "router view location" : "");
1712
+ function ye() {
1704
1713
  let e = [];
1705
1714
  function t(r) {
1706
1715
  return e.push(r), () => {
@@ -1722,62 +1731,62 @@ function Y(e, t, n, r, o, i = (s) => s()) {
1722
1731
  (r.enterCallbacks[o] = r.enterCallbacks[o] || []);
1723
1732
  return () => new Promise((c, l) => {
1724
1733
  const d = (f) => {
1725
- f === !1 ? l(le(4, {
1734
+ f === !1 ? l(he(4, {
1726
1735
  from: n,
1727
1736
  to: t
1728
- })) : f instanceof Error ? l(f) : Ae(f) ? l(le(2, {
1737
+ })) : f instanceof Error ? l(f) : $e(f) ? l(he(2, {
1729
1738
  from: t,
1730
1739
  to: f
1731
1740
  })) : (s && // since enterCallbackArray is truthy, both record and name also are
1732
1741
  r.enterCallbacks[o] === s && typeof f == "function" && s.push(f), c());
1733
- }, u = i(() => e.call(r && r.instances[o], t, n, O.NODE_ENV !== "production" ? Ko(d, t, n) : d));
1742
+ }, u = i(() => e.call(r && r.instances[o], t, n, O.NODE_ENV !== "production" ? zo(d, t, n) : d));
1734
1743
  let a = Promise.resolve(u);
1735
1744
  if (e.length < 3 && (a = a.then(d)), O.NODE_ENV !== "production" && e.length > 2) {
1736
1745
  const f = `The "next" callback was never called inside of ${e.name ? '"' + e.name + '"' : ""}:
1737
1746
  ${e.toString()}
1738
1747
  . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;
1739
1748
  if (typeof u == "object" && "then" in u)
1740
- a = a.then((h) => d._called ? h : (R(f), Promise.reject(new Error("Invalid navigation guard"))));
1749
+ a = a.then((h) => d._called ? h : (V(f), Promise.reject(new Error("Invalid navigation guard"))));
1741
1750
  else if (u !== void 0 && !d._called) {
1742
- R(f), l(new Error("Invalid navigation guard"));
1751
+ V(f), l(new Error("Invalid navigation guard"));
1743
1752
  return;
1744
1753
  }
1745
1754
  }
1746
1755
  a.catch((f) => l(f));
1747
1756
  });
1748
1757
  }
1749
- function Ko(e, t, n) {
1758
+ function zo(e, t, n) {
1750
1759
  let r = 0;
1751
1760
  return function() {
1752
- r++ === 1 && R(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`), e._called = !0, r === 1 && e.apply(null, arguments);
1761
+ r++ === 1 && V(`The "next" callback was called more than once in one navigation guard when going from "${n.fullPath}" to "${t.fullPath}". It should be called exactly one time in each navigation guard. This will fail in production.`), e._called = !0, r === 1 && e.apply(null, arguments);
1753
1762
  };
1754
1763
  }
1755
- function Qe(e, t, n, r, o = (i) => i()) {
1764
+ function Je(e, t, n, r, o = (i) => i()) {
1756
1765
  const i = [];
1757
1766
  for (const s of e) {
1758
- O.NODE_ENV !== "production" && !s.components && !s.children.length && R(`Record with path "${s.path}" is either missing a "component(s)" or "children" property.`);
1767
+ O.NODE_ENV !== "production" && !s.components && !s.children.length && V(`Record with path "${s.path}" is either missing a "component(s)" or "children" property.`);
1759
1768
  for (const c in s.components) {
1760
1769
  let l = s.components[c];
1761
1770
  if (O.NODE_ENV !== "production") {
1762
1771
  if (!l || typeof l != "object" && typeof l != "function")
1763
- throw R(`Component "${c}" in record with path "${s.path}" is not a valid component. Received "${String(l)}".`), new Error("Invalid route component");
1772
+ throw V(`Component "${c}" in record with path "${s.path}" is not a valid component. Received "${String(l)}".`), new Error("Invalid route component");
1764
1773
  if ("then" in l) {
1765
- R(`Component "${c}" in record with path "${s.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);
1774
+ V(`Component "${c}" in record with path "${s.path}" is a Promise instead of a function that returns a Promise. Did you write "import('./MyPage.vue')" instead of "() => import('./MyPage.vue')" ? This will break in production if not fixed.`);
1766
1775
  const d = l;
1767
1776
  l = () => d;
1768
1777
  } else l.__asyncLoader && // warn only once per component
1769
- !l.__warnedDefineAsync && (l.__warnedDefineAsync = !0, R(`Component "${c}" in record with path "${s.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
1778
+ !l.__warnedDefineAsync && (l.__warnedDefineAsync = !0, V(`Component "${c}" in record with path "${s.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
1770
1779
  }
1771
1780
  if (!(t !== "beforeRouteEnter" && !s.instances[c]))
1772
- if (dn(l)) {
1781
+ if (hn(l)) {
1773
1782
  const u = (l.__vccOpts || l)[t];
1774
1783
  u && i.push(Y(u, n, r, s, c, o));
1775
1784
  } else {
1776
1785
  let d = l();
1777
- O.NODE_ENV !== "production" && !("catch" in d) && (R(`Component "${c}" in record with path "${s.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`), d = Promise.resolve(d)), i.push(() => d.then((u) => {
1786
+ O.NODE_ENV !== "production" && !("catch" in d) && (V(`Component "${c}" in record with path "${s.path}" is a function that does not return a Promise. If you were passing a functional component, make sure to add a "displayName" to the component. This will break in production if not fixed.`), d = Promise.resolve(d)), i.push(() => d.then((u) => {
1778
1787
  if (!u)
1779
1788
  throw new Error(`Couldn't resolve component "${c}" at "${s.path}"`);
1780
- const a = Hr(u) ? u.default : u;
1789
+ const a = Qr(u) ? u.default : u;
1781
1790
  s.mods[c] = u, s.components[c] = a;
1782
1791
  const h = (a.__vccOpts || a)[t];
1783
1792
  return h && Y(h, n, r, s, c, o)();
@@ -1788,14 +1797,14 @@ function Qe(e, t, n, r, o = (i) => i()) {
1788
1797
  return i;
1789
1798
  }
1790
1799
  function Bt(e) {
1791
- const t = Z(Fe), n = Z(gt);
1800
+ const t = Z(Le), n = Z(vt);
1792
1801
  let r = !1, o = null;
1793
1802
  const i = G(() => {
1794
- const u = M(e.to);
1795
- return O.NODE_ENV !== "production" && (!r || u !== o) && (Ae(u) || (r ? R(`Invalid value for prop "to" in useLink()
1803
+ const u = D(e.to);
1804
+ return O.NODE_ENV !== "production" && (!r || u !== o) && ($e(u) || (r ? V(`Invalid value for prop "to" in useLink()
1796
1805
  - to:`, u, `
1797
1806
  - previous to:`, o, `
1798
- - props:`, e) : R(`Invalid value for prop "to" in useLink()
1807
+ - props:`, e) : V(`Invalid value for prop "to" in useLink()
1799
1808
  - to:`, u, `
1800
1809
  - props:`, e)), o = u, r = !0), t.resolve(u);
1801
1810
  }), s = G(() => {
@@ -1814,19 +1823,19 @@ function Bt(e) {
1814
1823
  Lt(f) === p && // avoid comparing the child with its parent
1815
1824
  h[h.length - 1].path !== p ? h.findIndex(ee.bind(null, u[a - 2])) : v
1816
1825
  );
1817
- }), c = G(() => s.value > -1 && Yo(n.params, i.value.params)), l = G(() => s.value > -1 && s.value === n.matched.length - 1 && yn(n.params, i.value.params));
1826
+ }), c = G(() => s.value > -1 && Zo(n.params, i.value.params)), l = G(() => s.value > -1 && s.value === n.matched.length - 1 && wn(n.params, i.value.params));
1818
1827
  function d(u = {}) {
1819
- if (Jo(u)) {
1820
- const a = t[M(e.replace) ? "replace" : "push"](
1821
- M(e.to)
1828
+ if (Xo(u)) {
1829
+ const a = t[D(e.replace) ? "replace" : "push"](
1830
+ D(e.to)
1822
1831
  // avoid uncaught errors are they are logged anyway
1823
- ).catch(we);
1832
+ ).catch(_e);
1824
1833
  return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => a), a;
1825
1834
  }
1826
1835
  return Promise.resolve();
1827
1836
  }
1828
1837
  if (O.NODE_ENV !== "production" && Q) {
1829
- const u = Qt();
1838
+ const u = Jt();
1830
1839
  if (u) {
1831
1840
  const a = {
1832
1841
  route: i.value,
@@ -1834,8 +1843,8 @@ function Bt(e) {
1834
1843
  isExactActive: l.value,
1835
1844
  error: null
1836
1845
  };
1837
- u.__vrl_devtools = u.__vrl_devtools || [], u.__vrl_devtools.push(a), zt(() => {
1838
- a.route = i.value, a.isActive = c.value, a.isExactActive = l.value, a.error = Ae(M(e.to)) ? null : 'Invalid "to" value';
1846
+ u.__vrl_devtools = u.__vrl_devtools || [], u.__vrl_devtools.push(a), Qt(() => {
1847
+ a.route = i.value, a.isActive = c.value, a.isExactActive = l.value, a.error = $e(D(e.to)) ? null : 'Invalid "to" value';
1839
1848
  }, { flush: "post" });
1840
1849
  }
1841
1850
  }
@@ -1847,10 +1856,10 @@ function Bt(e) {
1847
1856
  navigate: d
1848
1857
  };
1849
1858
  }
1850
- function Ho(e) {
1859
+ function Qo(e) {
1851
1860
  return e.length === 1 ? e[0] : e;
1852
1861
  }
1853
- const zo = /* @__PURE__ */ U({
1862
+ const Jo = /* @__PURE__ */ W({
1854
1863
  name: "RouterLink",
1855
1864
  compatConfig: { MODE: 3 },
1856
1865
  props: {
@@ -1870,7 +1879,7 @@ const zo = /* @__PURE__ */ U({
1870
1879
  },
1871
1880
  useLink: Bt,
1872
1881
  setup(e, { slots: t }) {
1873
- const n = Hn(Bt(e)), { options: r } = Z(Fe), o = G(() => ({
1882
+ const n = Hn(Bt(e)), { options: r } = Z(Le), o = G(() => ({
1874
1883
  [Wt(e.activeClass, r.linkActiveClass, "router-link-active")]: n.isActive,
1875
1884
  // [getLinkClass(
1876
1885
  // props.inactiveClass,
@@ -1880,7 +1889,7 @@ const zo = /* @__PURE__ */ U({
1880
1889
  [Wt(e.exactActiveClass, r.linkExactActiveClass, "router-link-exact-active")]: n.isExactActive
1881
1890
  }));
1882
1891
  return () => {
1883
- const i = t.default && Ho(t.default(n));
1892
+ const i = t.default && Qo(t.default(n));
1884
1893
  return e.custom ? i : A("a", {
1885
1894
  "aria-current": n.isExactActive ? e.ariaCurrentValue : null,
1886
1895
  href: n.href,
@@ -1891,8 +1900,8 @@ const zo = /* @__PURE__ */ U({
1891
1900
  }, i);
1892
1901
  };
1893
1902
  }
1894
- }), Qo = zo;
1895
- function Jo(e) {
1903
+ }), Yo = Jo;
1904
+ function Xo(e) {
1896
1905
  if (!(e.metaKey || e.altKey || e.ctrlKey || e.shiftKey) && !e.defaultPrevented && !(e.button !== void 0 && e.button !== 0)) {
1897
1906
  if (e.currentTarget && e.currentTarget.getAttribute) {
1898
1907
  const t = e.currentTarget.getAttribute("target");
@@ -1902,13 +1911,13 @@ function Jo(e) {
1902
1911
  return e.preventDefault && e.preventDefault(), !0;
1903
1912
  }
1904
1913
  }
1905
- function Yo(e, t) {
1914
+ function Zo(e, t) {
1906
1915
  for (const n in t) {
1907
1916
  const r = t[n], o = e[n];
1908
1917
  if (typeof r == "string") {
1909
1918
  if (r !== o)
1910
1919
  return !1;
1911
- } else if (!W(o) || o.length !== r.length || r.some((i, s) => i !== o[s]))
1920
+ } else if (!L(o) || o.length !== r.length || r.some((i, s) => i !== o[s]))
1912
1921
  return !1;
1913
1922
  }
1914
1923
  return !0;
@@ -1916,7 +1925,7 @@ function Yo(e, t) {
1916
1925
  function Lt(e) {
1917
1926
  return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
1918
1927
  }
1919
- const Wt = (e, t, n) => e ?? t ?? n, Xo = /* @__PURE__ */ U({
1928
+ const Wt = (e, t, n) => e ?? t ?? n, es = /* @__PURE__ */ W({
1920
1929
  name: "RouterView",
1921
1930
  // #674 we manually inherit them
1922
1931
  inheritAttrs: !1,
@@ -1931,16 +1940,16 @@ const Wt = (e, t, n) => e ?? t ?? n, Xo = /* @__PURE__ */ U({
1931
1940
  // https://github.com/vuejs/router/issues/1315
1932
1941
  compatConfig: { MODE: 3 },
1933
1942
  setup(e, { attrs: t, slots: n }) {
1934
- O.NODE_ENV !== "production" && es();
1935
- const r = Z(at), o = G(() => e.route || r.value), i = Z(Ft, 0), s = G(() => {
1936
- let d = M(i);
1943
+ O.NODE_ENV !== "production" && ns();
1944
+ const r = Z(ct), o = G(() => e.route || r.value), i = Z(Ft, 0), s = G(() => {
1945
+ let d = D(i);
1937
1946
  const { matched: u } = o.value;
1938
1947
  let a;
1939
1948
  for (; (a = u[d]) && !a.components; )
1940
1949
  d++;
1941
1950
  return d;
1942
1951
  }), c = G(() => o.value.matched[s.value]);
1943
- Ne(Ft, G(() => s.value + 1)), Ne(qo, c), Ne(at, o);
1952
+ Te(Ft, G(() => s.value + 1)), Te(Ho, c), Te(ct, o);
1944
1953
  const l = K();
1945
1954
  return H(() => [l.value, c.value, e.name], ([d, u, a], [f, h, v]) => {
1946
1955
  u && (u.instances[a] = d, h && h !== u && d && d === f && (u.leaveGuards.size || (u.leaveGuards = h.leaveGuards), u.updateGuards.size || (u.updateGuards = h.updateGuards))), d && u && // if there is no instance but to and from are the same this might be
@@ -1963,7 +1972,7 @@ const Wt = (e, t, n) => e ?? t ?? n, Xo = /* @__PURE__ */ U({
1963
1972
  path: a.path,
1964
1973
  meta: a.meta
1965
1974
  };
1966
- (W(g.ref) ? g.ref.map((b) => b.i) : [g.ref.i]).forEach((b) => {
1975
+ (L(g.ref) ? g.ref.map((b) => b.i) : [g.ref.i]).forEach((b) => {
1967
1976
  b.__vrv_devtools = y;
1968
1977
  });
1969
1978
  }
@@ -1981,12 +1990,12 @@ function Ut(e, t) {
1981
1990
  const n = e(t);
1982
1991
  return n.length === 1 ? n[0] : n;
1983
1992
  }
1984
- const Zo = Xo;
1985
- function es() {
1986
- const e = Qt(), t = e.parent && e.parent.type.name, n = e.parent && e.parent.subTree && e.parent.subTree.type;
1993
+ const ts = es;
1994
+ function ns() {
1995
+ const e = Jt(), t = e.parent && e.parent.type.name, n = e.parent && e.parent.subTree && e.parent.subTree.type;
1987
1996
  if (t && (t === "KeepAlive" || t.includes("Transition")) && typeof n == "object" && n.name === "RouterView") {
1988
1997
  const r = t === "KeepAlive" ? "keep-alive" : "transition";
1989
- R(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
1998
+ V(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
1990
1999
  Use slot props instead:
1991
2000
 
1992
2001
  <router-view v-slot="{ Component }">
@@ -1996,10 +2005,10 @@ Use slot props instead:
1996
2005
  </router-view>`);
1997
2006
  }
1998
2007
  }
1999
- function ve(e, t) {
2008
+ function we(e, t) {
2000
2009
  const n = I({}, e, {
2001
2010
  // remove variables that can contain vue instances
2002
- matched: e.matched.map((r) => fs(r, ["instances", "children", "aliasOf"]))
2011
+ matched: e.matched.map((r) => hs(r, ["instances", "children", "aliasOf"]))
2003
2012
  });
2004
2013
  return {
2005
2014
  _custom: {
@@ -2011,20 +2020,20 @@ function ve(e, t) {
2011
2020
  }
2012
2021
  };
2013
2022
  }
2014
- function ke(e) {
2023
+ function Ie(e) {
2015
2024
  return {
2016
2025
  _custom: {
2017
2026
  display: e
2018
2027
  }
2019
2028
  };
2020
2029
  }
2021
- let ts = 0;
2022
- function ns(e, t, n) {
2030
+ let rs = 0;
2031
+ function os(e, t, n) {
2023
2032
  if (t.__hasDevtools)
2024
2033
  return;
2025
2034
  t.__hasDevtools = !0;
2026
- const r = ts++;
2027
- Kr({
2035
+ const r = rs++;
2036
+ zr({
2028
2037
  id: "org.vuejs.router" + (r ? "." + r : ""),
2029
2038
  label: "Vue Router",
2030
2039
  packageName: "vue-router",
@@ -2038,7 +2047,7 @@ function ns(e, t, n) {
2038
2047
  type: "Routing",
2039
2048
  key: "$route",
2040
2049
  editable: !1,
2041
- value: ve(t.currentRoute.value, "Current Route")
2050
+ value: we(t.currentRoute.value, "Current Route")
2042
2051
  });
2043
2052
  }), o.on.visitComponentTree(({ treeNode: u, componentInstance: a }) => {
2044
2053
  if (a.__vrv_devtools) {
@@ -2047,12 +2056,12 @@ function ns(e, t, n) {
2047
2056
  label: (f.name ? `${f.name.toString()}: ` : "") + f.path,
2048
2057
  textColor: 0,
2049
2058
  tooltip: "This component is rendered by &lt;router-view&gt;",
2050
- backgroundColor: Vn
2059
+ backgroundColor: Pn
2051
2060
  });
2052
2061
  }
2053
- W(a.__vrl_devtools) && (a.__devtoolsApi = o, a.__vrl_devtools.forEach((f) => {
2054
- let h = f.route.path, v = Nn, p = "", g = 0;
2055
- f.error ? (h = f.error, v = as, g = cs) : f.isExactActive ? (v = kn, p = "This is exactly active") : f.isActive && (v = Pn, p = "This link is active"), u.tags.push({
2062
+ L(a.__vrl_devtools) && (a.__devtoolsApi = o, a.__vrl_devtools.forEach((f) => {
2063
+ let h = f.route.path, v = In, p = "", g = 0;
2064
+ f.error ? (h = f.error, v = us, g = ls) : f.isExactActive ? (v = Nn, p = "This is exactly active") : f.isActive && (v = kn, p = "This link is active"), u.tags.push({
2056
2065
  label: h,
2057
2066
  textColor: g,
2058
2067
  tooltip: p,
@@ -2083,9 +2092,9 @@ function ns(e, t, n) {
2083
2092
  let s = 0;
2084
2093
  t.beforeEach((u, a) => {
2085
2094
  const f = {
2086
- guard: ke("beforeEach"),
2087
- from: ve(a, "Current Location during this navigation"),
2088
- to: ve(u, "Target location")
2095
+ guard: Ie("beforeEach"),
2096
+ from: we(a, "Current Location during this navigation"),
2097
+ to: we(u, "Target location")
2089
2098
  };
2090
2099
  Object.defineProperty(u.meta, "__navigationId", {
2091
2100
  value: s++
@@ -2101,7 +2110,7 @@ function ns(e, t, n) {
2101
2110
  });
2102
2111
  }), t.afterEach((u, a, f) => {
2103
2112
  const h = {
2104
- guard: ke("afterEach")
2113
+ guard: Ie("afterEach")
2105
2114
  };
2106
2115
  f ? (h.failure = {
2107
2116
  _custom: {
@@ -2111,7 +2120,7 @@ function ns(e, t, n) {
2111
2120
  tooltip: "Navigation Failure",
2112
2121
  value: f
2113
2122
  }
2114
- }, h.status = ke("❌")) : h.status = ke("✅"), h.from = ve(a, "Current Location during this navigation"), h.to = ve(u, "Target location"), o.addTimelineEvent({
2123
+ }, h.status = Ie("❌")) : h.status = Ie("✅"), h.from = we(a, "Current Location during this navigation"), h.to = we(u, "Target location"), o.addTimelineEvent({
2115
2124
  layerId: i,
2116
2125
  event: {
2117
2126
  title: "End of navigation",
@@ -2137,10 +2146,10 @@ function ns(e, t, n) {
2137
2146
  let a = n.getRoutes().filter((f) => !f.parent || // these routes have a parent with no component which will not appear in the view
2138
2147
  // therefore we still need to include them
2139
2148
  !f.parent.record.components);
2140
- a.forEach(An), u.filter && (a = a.filter((f) => (
2149
+ a.forEach(Cn), u.filter && (a = a.filter((f) => (
2141
2150
  // save matches state based on the payload
2142
- ct(f, u.filter.toLowerCase())
2143
- ))), a.forEach((f) => Tn(f, t.currentRoute.value)), u.rootNodes = a.map(In);
2151
+ ut(f, u.filter.toLowerCase())
2152
+ ))), a.forEach((f) => An(f, t.currentRoute.value)), u.rootNodes = a.map(Tn);
2144
2153
  }
2145
2154
  let d;
2146
2155
  o.on.getInspectorTree((u) => {
@@ -2149,16 +2158,16 @@ function ns(e, t, n) {
2149
2158
  if (u.app === e && u.inspectorId === c) {
2150
2159
  const f = n.getRoutes().find((h) => h.record.__vd_id === u.nodeId);
2151
2160
  f && (u.state = {
2152
- options: os(f)
2161
+ options: is(f)
2153
2162
  });
2154
2163
  }
2155
2164
  }), o.sendInspectorTree(c), o.sendInspectorState(c);
2156
2165
  });
2157
2166
  }
2158
- function rs(e) {
2167
+ function ss(e) {
2159
2168
  return e.optional ? e.repeatable ? "*" : "?" : e.repeatable ? "+" : "";
2160
2169
  }
2161
- function os(e) {
2170
+ function is(e) {
2162
2171
  const { record: t } = e, n = [
2163
2172
  { editable: !1, key: "path", value: t.path }
2164
2173
  ];
@@ -2173,7 +2182,7 @@ function os(e) {
2173
2182
  _custom: {
2174
2183
  type: null,
2175
2184
  readOnly: !0,
2176
- display: e.keys.map((r) => `${r.name}${rs(r)}`).join(" "),
2185
+ display: e.keys.map((r) => `${r.name}${ss(r)}`).join(" "),
2177
2186
  tooltip: "Param keys",
2178
2187
  value: e.keys
2179
2188
  }
@@ -2204,84 +2213,84 @@ function os(e) {
2204
2213
  }
2205
2214
  }), n;
2206
2215
  }
2207
- const Vn = 15485081, Pn = 2450411, kn = 8702998, ss = 2282478, Nn = 16486972, is = 6710886, as = 16704226, cs = 12131356;
2208
- function In(e) {
2216
+ const Pn = 15485081, kn = 2450411, Nn = 8702998, as = 2282478, In = 16486972, cs = 6710886, us = 16704226, ls = 12131356;
2217
+ function Tn(e) {
2209
2218
  const t = [], { record: n } = e;
2210
2219
  n.name != null && t.push({
2211
2220
  label: String(n.name),
2212
2221
  textColor: 0,
2213
- backgroundColor: ss
2222
+ backgroundColor: as
2214
2223
  }), n.aliasOf && t.push({
2215
2224
  label: "alias",
2216
2225
  textColor: 0,
2217
- backgroundColor: Nn
2226
+ backgroundColor: In
2218
2227
  }), e.__vd_match && t.push({
2219
2228
  label: "matches",
2220
2229
  textColor: 0,
2221
- backgroundColor: Vn
2230
+ backgroundColor: Pn
2222
2231
  }), e.__vd_exactActive && t.push({
2223
2232
  label: "exact",
2224
2233
  textColor: 0,
2225
- backgroundColor: kn
2234
+ backgroundColor: Nn
2226
2235
  }), e.__vd_active && t.push({
2227
2236
  label: "active",
2228
2237
  textColor: 0,
2229
- backgroundColor: Pn
2238
+ backgroundColor: kn
2230
2239
  }), n.redirect && t.push({
2231
2240
  label: typeof n.redirect == "string" ? `redirect: ${n.redirect}` : "redirects",
2232
2241
  textColor: 16777215,
2233
- backgroundColor: is
2242
+ backgroundColor: cs
2234
2243
  });
2235
2244
  let r = n.__vd_id;
2236
- return r == null && (r = String(us++), n.__vd_id = r), {
2245
+ return r == null && (r = String(fs++), n.__vd_id = r), {
2237
2246
  id: r,
2238
2247
  label: n.path,
2239
2248
  tags: t,
2240
- children: e.children.map(In)
2249
+ children: e.children.map(Tn)
2241
2250
  };
2242
2251
  }
2243
- let us = 0;
2244
- const ls = /^\/(.*)\/([a-z]*)$/;
2245
- function Tn(e, t) {
2252
+ let fs = 0;
2253
+ const ds = /^\/(.*)\/([a-z]*)$/;
2254
+ function An(e, t) {
2246
2255
  const n = t.matched.length && ee(t.matched[t.matched.length - 1], e.record);
2247
- e.__vd_exactActive = e.__vd_active = n, n || (e.__vd_active = t.matched.some((r) => ee(r, e.record))), e.children.forEach((r) => Tn(r, t));
2256
+ e.__vd_exactActive = e.__vd_active = n, n || (e.__vd_active = t.matched.some((r) => ee(r, e.record))), e.children.forEach((r) => An(r, t));
2248
2257
  }
2249
- function An(e) {
2250
- e.__vd_match = !1, e.children.forEach(An);
2258
+ function Cn(e) {
2259
+ e.__vd_match = !1, e.children.forEach(Cn);
2251
2260
  }
2252
- function ct(e, t) {
2253
- const n = String(e.re).match(ls);
2261
+ function ut(e, t) {
2262
+ const n = String(e.re).match(ds);
2254
2263
  if (e.__vd_match = !1, !n || n.length < 3)
2255
2264
  return !1;
2256
2265
  if (new RegExp(n[1].replace(/\$$/, ""), n[2]).test(t))
2257
- return e.children.forEach((s) => ct(s, t)), e.record.path !== "/" || t === "/" ? (e.__vd_match = e.re.test(t), !0) : !1;
2258
- const o = e.record.path.toLowerCase(), i = ce(o);
2259
- return !t.startsWith("/") && (i.includes(t) || o.includes(t)) || i.startsWith(t) || o.startsWith(t) || e.record.name && String(e.record.name).includes(t) ? !0 : e.children.some((s) => ct(s, t));
2266
+ return e.children.forEach((s) => ut(s, t)), e.record.path !== "/" || t === "/" ? (e.__vd_match = e.re.test(t), !0) : !1;
2267
+ const o = e.record.path.toLowerCase(), i = fe(o);
2268
+ return !t.startsWith("/") && (i.includes(t) || o.includes(t)) || i.startsWith(t) || o.startsWith(t) || e.record.name && String(e.record.name).includes(t) ? !0 : e.children.some((s) => ut(s, t));
2260
2269
  }
2261
- function fs(e, t) {
2270
+ function hs(e, t) {
2262
2271
  const n = {};
2263
2272
  for (const r in e)
2264
2273
  t.includes(r) || (n[r] = e[r]);
2265
2274
  return n;
2266
2275
  }
2267
- function ds(e) {
2268
- const t = Co(e.routes, e), n = e.parseQuery || Uo, r = e.stringifyQuery || Mt, o = e.history;
2276
+ function ps(e) {
2277
+ const t = jo(e.routes, e), n = e.parseQuery || qo, r = e.stringifyQuery || Mt, o = e.history;
2269
2278
  if (O.NODE_ENV !== "production" && !o)
2270
2279
  throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');
2271
- const i = ge(), s = ge(), c = ge(), l = X(J);
2280
+ const i = ye(), s = ye(), c = ye(), l = X(J);
2272
2281
  let d = J;
2273
2282
  Q && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
2274
- const u = Ke.bind(null, (m) => "" + m), a = Ke.bind(null, io), f = (
2283
+ const u = He.bind(null, (m) => "" + m), a = He.bind(null, co), f = (
2275
2284
  // @ts-expect-error: intentionally avoid the type check
2276
- Ke.bind(null, ce)
2285
+ He.bind(null, fe)
2277
2286
  );
2278
2287
  function h(m, E) {
2279
2288
  let w, S;
2280
- return bn(m) ? (w = t.getRecordMatcher(m), O.NODE_ENV !== "production" && !w && R(`Parent route "${String(m)}" not found when adding child route`, E), S = E) : S = m, t.addRoute(S, w);
2289
+ return On(m) ? (w = t.getRecordMatcher(m), O.NODE_ENV !== "production" && !w && V(`Parent route "${String(m)}" not found when adding child route`, E), S = E) : S = m, t.addRoute(S, w);
2281
2290
  }
2282
2291
  function v(m) {
2283
2292
  const E = t.getRecordMatcher(m);
2284
- E ? t.removeRoute(E) : O.NODE_ENV !== "production" && R(`Cannot remove non-existent route "${String(m)}"`);
2293
+ E ? t.removeRoute(E) : O.NODE_ENV !== "production" && V(`Cannot remove non-existent route "${String(m)}"`);
2285
2294
  }
2286
2295
  function p() {
2287
2296
  return t.getRoutes().map((m) => m.record);
@@ -2291,39 +2300,39 @@ function ds(e) {
2291
2300
  }
2292
2301
  function y(m, E) {
2293
2302
  if (E = I({}, E || l.value), typeof m == "string") {
2294
- const P = He(n, m, E.path), $ = t.resolve({ path: P.path }, E), te = o.createHref(P.fullPath);
2295
- return O.NODE_ENV !== "production" && (te.startsWith("//") ? R(`Location "${m}" resolved to "${te}". A resolved location cannot start with multiple slashes.`) : $.matched.length || R(`No match found for location with path "${m}"`)), I(P, $, {
2296
- params: f($.params),
2297
- hash: ce(P.hash),
2303
+ const P = ze(n, m, E.path), C = t.resolve({ path: P.path }, E), ne = o.createHref(P.fullPath);
2304
+ return O.NODE_ENV !== "production" && (ne.startsWith("//") ? V(`Location "${m}" resolved to "${ne}". A resolved location cannot start with multiple slashes.`) : C.matched.length || V(`No match found for location with path "${m}"`)), I(P, C, {
2305
+ params: f(C.params),
2306
+ hash: fe(P.hash),
2298
2307
  redirectedFrom: void 0,
2299
- href: te
2308
+ href: ne
2300
2309
  });
2301
2310
  }
2302
- if (O.NODE_ENV !== "production" && !Ae(m))
2303
- return R(`router.resolve() was passed an invalid location. This will fail in production.
2311
+ if (O.NODE_ENV !== "production" && !$e(m))
2312
+ return V(`router.resolve() was passed an invalid location. This will fail in production.
2304
2313
  - Location:`, m), y({});
2305
2314
  let w;
2306
2315
  if (m.path != null)
2307
2316
  O.NODE_ENV !== "production" && "params" in m && !("name" in m) && // @ts-expect-error: the type is never
2308
- Object.keys(m.params).length && R(`Path "${m.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), w = I({}, m, {
2309
- path: He(n, m.path, E.path).path
2317
+ Object.keys(m.params).length && V(`Path "${m.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), w = I({}, m, {
2318
+ path: ze(n, m.path, E.path).path
2310
2319
  });
2311
2320
  else {
2312
2321
  const P = I({}, m.params);
2313
- for (const $ in P)
2314
- P[$] == null && delete P[$];
2322
+ for (const C in P)
2323
+ P[C] == null && delete P[C];
2315
2324
  w = I({}, m, {
2316
2325
  params: a(P)
2317
2326
  }), E.params = a(E.params);
2318
2327
  }
2319
2328
  const S = t.resolve(w, E), T = m.hash || "";
2320
- O.NODE_ENV !== "production" && T && !T.startsWith("#") && R(`A \`hash\` should always start with the character "#". Replace "${T}" with "#${T}".`), S.params = u(f(S.params));
2321
- const x = uo(r, I({}, m, {
2322
- hash: ro(T),
2329
+ O.NODE_ENV !== "production" && T && !T.startsWith("#") && V(`A \`hash\` should always start with the character "#". Replace "${T}" with "#${T}".`), S.params = u(f(S.params));
2330
+ const j = fo(r, I({}, m, {
2331
+ hash: so(T),
2323
2332
  path: S.path
2324
- })), k = o.createHref(x);
2325
- return O.NODE_ENV !== "production" && (k.startsWith("//") ? R(`Location "${m}" resolved to "${k}". A resolved location cannot start with multiple slashes.`) : S.matched.length || R(`No match found for location with path "${m.path != null ? m.path : m}"`)), I({
2326
- fullPath: x,
2333
+ })), k = o.createHref(j);
2334
+ return O.NODE_ENV !== "production" && (k.startsWith("//") ? V(`Location "${m}" resolved to "${k}". A resolved location cannot start with multiple slashes.`) : S.matched.length || V(`No match found for location with path "${m.path != null ? m.path : m}"`)), I({
2335
+ fullPath: j,
2327
2336
  // keep the hash encoded so fullPath is effectively path + encodedQuery +
2328
2337
  // hash
2329
2338
  hash: T,
@@ -2333,7 +2342,7 @@ function ds(e) {
2333
2342
  // numbers at `$route.query`, but at the point, the user will have to
2334
2343
  // use their own type anyway.
2335
2344
  // https://github.com/vuejs/router/issues/328#issuecomment-649481567
2336
- r === Mt ? Go(m.query) : m.query || {}
2345
+ r === Mt ? Ko(m.query) : m.query || {}
2337
2346
  )
2338
2347
  }, S, {
2339
2348
  redirectedFrom: void 0,
@@ -2341,22 +2350,22 @@ function ds(e) {
2341
2350
  });
2342
2351
  }
2343
2352
  function _(m) {
2344
- return typeof m == "string" ? He(n, m, l.value.path) : I({}, m);
2353
+ return typeof m == "string" ? ze(n, m, l.value.path) : I({}, m);
2345
2354
  }
2346
2355
  function b(m, E) {
2347
2356
  if (d !== m)
2348
- return le(8, {
2357
+ return he(8, {
2349
2358
  from: E,
2350
2359
  to: m
2351
2360
  });
2352
2361
  }
2353
- function V(m) {
2354
- return D(m);
2362
+ function R(m) {
2363
+ return x(m);
2355
2364
  }
2356
- function C(m) {
2357
- return V(I(_(m), { replace: !0 }));
2365
+ function $(m) {
2366
+ return R(I(_(m), { replace: !0 }));
2358
2367
  }
2359
- function j(m) {
2368
+ function U(m) {
2360
2369
  const E = m.matched[m.matched.length - 1];
2361
2370
  if (E && E.redirect) {
2362
2371
  const { redirect: w } = E;
@@ -2365,7 +2374,7 @@ function ds(e) {
2365
2374
  // force empty params
2366
2375
  { path: S }
2367
2376
  ), S.params = {}), O.NODE_ENV !== "production" && S.path == null && !("name" in S))
2368
- throw R(`Invalid redirect found:
2377
+ throw V(`Invalid redirect found:
2369
2378
  ${JSON.stringify(S, null, 2)}
2370
2379
  when navigating to "${m.fullPath}". A redirect must contain a name or path. This will break in production.`), new Error("Invalid redirect");
2371
2380
  return I({
@@ -2376,22 +2385,22 @@ ${JSON.stringify(S, null, 2)}
2376
2385
  }, S);
2377
2386
  }
2378
2387
  }
2379
- function D(m, E) {
2380
- const w = d = y(m), S = l.value, T = m.state, x = m.force, k = m.replace === !0, P = j(w);
2388
+ function x(m, E) {
2389
+ const w = d = y(m), S = l.value, T = m.state, j = m.force, k = m.replace === !0, P = U(w);
2381
2390
  if (P)
2382
- return D(
2391
+ return x(
2383
2392
  I(_(P), {
2384
2393
  state: typeof P == "object" ? I({}, T, P.state) : T,
2385
- force: x,
2394
+ force: j,
2386
2395
  replace: k
2387
2396
  }),
2388
2397
  // keep original redirectedFrom if it exists
2389
2398
  E || w
2390
2399
  );
2391
- const $ = w;
2392
- $.redirectedFrom = E;
2393
- let te;
2394
- return !x && Pt(r, S, w) && (te = le(16, { to: $, from: S }), _t(
2400
+ const C = w;
2401
+ C.redirectedFrom = E;
2402
+ let ne;
2403
+ return !j && Pt(r, S, w) && (ne = he(16, { to: C, from: S }), _t(
2395
2404
  S,
2396
2405
  S,
2397
2406
  // this is a push, the only way for it to be triggered from a
@@ -2400,91 +2409,91 @@ ${JSON.stringify(S, null, 2)}
2400
2409
  // This cannot be the first navigation because the initial location
2401
2410
  // cannot be manually navigated to
2402
2411
  !1
2403
- )), (te ? Promise.resolve(te) : vt($, S)).catch((F) => z(F) ? (
2412
+ )), (ne ? Promise.resolve(ne) : ae(C, S)).catch((M) => z(M) ? (
2404
2413
  // navigation redirects still mark the router as ready
2405
2414
  z(
2406
- F,
2415
+ M,
2407
2416
  2
2408
2417
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2409
- ) ? F : Ue(F)
2418
+ ) ? M : Ge(M)
2410
2419
  ) : (
2411
2420
  // reject any unknown error
2412
- We(F, $, S)
2413
- )).then((F) => {
2414
- if (F) {
2421
+ Ue(M, C, S)
2422
+ )).then((M) => {
2423
+ if (M) {
2415
2424
  if (z(
2416
- F,
2425
+ M,
2417
2426
  2
2418
2427
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2419
2428
  ))
2420
2429
  return O.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
2421
- Pt(r, y(F.to), $) && // and we have done it a couple of times
2430
+ Pt(r, y(M.to), C) && // and we have done it a couple of times
2422
2431
  E && // @ts-expect-error: added only in dev
2423
2432
  (E._count = E._count ? (
2424
2433
  // @ts-expect-error
2425
2434
  E._count + 1
2426
- ) : 1) > 30 ? (R(`Detected a possibly infinite redirection in a navigation guard when going from "${S.fullPath}" to "${$.fullPath}". Aborting to avoid a Stack Overflow.
2427
- Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`), Promise.reject(new Error("Infinite redirect in navigation guard"))) : D(
2435
+ ) : 1) > 30 ? (V(`Detected a possibly infinite redirection in a navigation guard when going from "${S.fullPath}" to "${C.fullPath}". Aborting to avoid a Stack Overflow.
2436
+ Are you always returning a new location within a navigation guard? That would lead to this error. Only return when redirecting or aborting, that should fix this. This might break in production if not fixed.`), Promise.reject(new Error("Infinite redirect in navigation guard"))) : x(
2428
2437
  // keep options
2429
2438
  I({
2430
2439
  // preserve an existing replacement but allow the redirect to override it
2431
2440
  replace: k
2432
- }, _(F.to), {
2433
- state: typeof F.to == "object" ? I({}, T, F.to.state) : T,
2434
- force: x
2441
+ }, _(M.to), {
2442
+ state: typeof M.to == "object" ? I({}, T, M.to.state) : T,
2443
+ force: j
2435
2444
  }),
2436
2445
  // preserve the original redirectedFrom if any
2437
- E || $
2446
+ E || C
2438
2447
  );
2439
2448
  } else
2440
- F = wt($, S, !0, k, T);
2441
- return yt($, S, F), F;
2449
+ M = wt(C, S, !0, k, T);
2450
+ return yt(C, S, M), M;
2442
2451
  });
2443
2452
  }
2444
- function Be(m, E) {
2453
+ function ie(m, E) {
2445
2454
  const w = b(m, E);
2446
2455
  return w ? Promise.reject(w) : Promise.resolve();
2447
2456
  }
2448
- function de(m) {
2449
- const E = Pe.values().next().value;
2457
+ function te(m) {
2458
+ const E = Ne.values().next().value;
2450
2459
  return E && typeof E.runWithContext == "function" ? E.runWithContext(m) : m();
2451
2460
  }
2452
- function vt(m, E) {
2461
+ function ae(m, E) {
2453
2462
  let w;
2454
- const [S, T, x] = hs(m, E);
2455
- w = Qe(S.reverse(), "beforeRouteLeave", m, E);
2463
+ const [S, T, j] = ms(m, E);
2464
+ w = Je(S.reverse(), "beforeRouteLeave", m, E);
2456
2465
  for (const P of S)
2457
- P.leaveGuards.forEach(($) => {
2458
- w.push(Y($, m, E));
2466
+ P.leaveGuards.forEach((C) => {
2467
+ w.push(Y(C, m, E));
2459
2468
  });
2460
- const k = Be.bind(null, m, E);
2461
- return w.push(k), se(w).then(() => {
2469
+ const k = ie.bind(null, m, E);
2470
+ return w.push(k), ce(w).then(() => {
2462
2471
  w = [];
2463
2472
  for (const P of i.list())
2464
2473
  w.push(Y(P, m, E));
2465
- return w.push(k), se(w);
2474
+ return w.push(k), ce(w);
2466
2475
  }).then(() => {
2467
- w = Qe(T, "beforeRouteUpdate", m, E);
2476
+ w = Je(T, "beforeRouteUpdate", m, E);
2468
2477
  for (const P of T)
2469
- P.updateGuards.forEach(($) => {
2470
- w.push(Y($, m, E));
2478
+ P.updateGuards.forEach((C) => {
2479
+ w.push(Y(C, m, E));
2471
2480
  });
2472
- return w.push(k), se(w);
2481
+ return w.push(k), ce(w);
2473
2482
  }).then(() => {
2474
2483
  w = [];
2475
- for (const P of x)
2484
+ for (const P of j)
2476
2485
  if (P.beforeEnter)
2477
- if (W(P.beforeEnter))
2478
- for (const $ of P.beforeEnter)
2479
- w.push(Y($, m, E));
2486
+ if (L(P.beforeEnter))
2487
+ for (const C of P.beforeEnter)
2488
+ w.push(Y(C, m, E));
2480
2489
  else
2481
2490
  w.push(Y(P.beforeEnter, m, E));
2482
- return w.push(k), se(w);
2483
- }).then(() => (m.matched.forEach((P) => P.enterCallbacks = {}), w = Qe(x, "beforeRouteEnter", m, E, de), w.push(k), se(w))).then(() => {
2491
+ return w.push(k), ce(w);
2492
+ }).then(() => (m.matched.forEach((P) => P.enterCallbacks = {}), w = Je(j, "beforeRouteEnter", m, E, te), w.push(k), ce(w))).then(() => {
2484
2493
  w = [];
2485
2494
  for (const P of s.list())
2486
2495
  w.push(Y(P, m, E));
2487
- return w.push(k), se(w);
2496
+ return w.push(k), ce(w);
2488
2497
  }).catch((P) => z(
2489
2498
  P,
2490
2499
  8
@@ -2492,30 +2501,30 @@ ${JSON.stringify(S, null, 2)}
2492
2501
  ) ? P : Promise.reject(P));
2493
2502
  }
2494
2503
  function yt(m, E, w) {
2495
- c.list().forEach((S) => de(() => S(m, E, w)));
2504
+ c.list().forEach((S) => te(() => S(m, E, w)));
2496
2505
  }
2497
2506
  function wt(m, E, w, S, T) {
2498
- const x = b(m, E);
2499
- if (x)
2500
- return x;
2507
+ const j = b(m, E);
2508
+ if (j)
2509
+ return j;
2501
2510
  const k = E === J, P = Q ? history.state : {};
2502
2511
  w && (S || k ? o.replace(m.fullPath, I({
2503
2512
  scroll: k && P && P.scroll
2504
- }, T)) : o.push(m.fullPath, T)), l.value = m, _t(m, E, w, k), Ue();
2513
+ }, T)) : o.push(m.fullPath, T)), l.value = m, _t(m, E, w, k), Ge();
2505
2514
  }
2506
- let he;
2507
- function Fn() {
2508
- he || (he = o.listen((m, E, w) => {
2515
+ let me;
2516
+ function Bn() {
2517
+ me || (me = o.listen((m, E, w) => {
2509
2518
  if (!St.listening)
2510
2519
  return;
2511
- const S = y(m), T = j(S);
2520
+ const S = y(m), T = U(S);
2512
2521
  if (T) {
2513
- D(I(T, { replace: !0, force: !0 }), S).catch(we);
2522
+ x(I(T, { replace: !0, force: !0 }), S).catch(_e);
2514
2523
  return;
2515
2524
  }
2516
2525
  d = S;
2517
- const x = l.value;
2518
- Q && go(Nt(x.fullPath, w.delta), Me()), vt(S, x).catch((k) => z(
2526
+ const j = l.value;
2527
+ Q && yo(Nt(j.fullPath, w.delta), Be()), ae(S, j).catch((k) => z(
2519
2528
  k,
2520
2529
  12
2521
2530
  /* ErrorTypes.NAVIGATION_CANCELLED */
@@ -2523,7 +2532,7 @@ ${JSON.stringify(S, null, 2)}
2523
2532
  k,
2524
2533
  2
2525
2534
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2526
- ) ? (D(
2535
+ ) ? (x(
2527
2536
  I(_(k.to), {
2528
2537
  force: !0
2529
2538
  }),
@@ -2534,12 +2543,12 @@ ${JSON.stringify(S, null, 2)}
2534
2543
  P,
2535
2544
  20
2536
2545
  /* ErrorTypes.NAVIGATION_DUPLICATED */
2537
- ) && !w.delta && w.type === ue.pop && o.go(-1, !1);
2538
- }).catch(we), Promise.reject()) : (w.delta && o.go(-w.delta, !1), We(k, S, x))).then((k) => {
2546
+ ) && !w.delta && w.type === de.pop && o.go(-1, !1);
2547
+ }).catch(_e), Promise.reject()) : (w.delta && o.go(-w.delta, !1), Ue(k, S, j))).then((k) => {
2539
2548
  k = k || wt(
2540
2549
  // after navigation, all matched components are resolved
2541
2550
  S,
2542
- x,
2551
+ j,
2543
2552
  !1
2544
2553
  ), k && (w.delta && // a new navigation has been triggered, so we do not want to revert, that will change the current history
2545
2554
  // entry while a different route is displayed
@@ -2547,38 +2556,38 @@ ${JSON.stringify(S, null, 2)}
2547
2556
  k,
2548
2557
  8
2549
2558
  /* ErrorTypes.NAVIGATION_CANCELLED */
2550
- ) ? o.go(-w.delta, !1) : w.type === ue.pop && z(
2559
+ ) ? o.go(-w.delta, !1) : w.type === de.pop && z(
2551
2560
  k,
2552
2561
  20
2553
2562
  /* ErrorTypes.NAVIGATION_DUPLICATED */
2554
- ) && o.go(-1, !1)), yt(S, x, k);
2555
- }).catch(we);
2563
+ ) && o.go(-1, !1)), yt(S, j, k);
2564
+ }).catch(_e);
2556
2565
  }));
2557
2566
  }
2558
- let Le = ge(), Et = ge(), Ve;
2559
- function We(m, E, w) {
2560
- Ue(m);
2567
+ let We = ye(), Et = ye(), ke;
2568
+ function Ue(m, E, w) {
2569
+ Ge(m);
2561
2570
  const S = Et.list();
2562
- return S.length ? S.forEach((T) => T(m, E, w)) : (O.NODE_ENV !== "production" && R("uncaught error during route navigation:"), console.error(m)), Promise.reject(m);
2571
+ return S.length ? S.forEach((T) => T(m, E, w)) : (O.NODE_ENV !== "production" && V("uncaught error during route navigation:"), console.error(m)), Promise.reject(m);
2563
2572
  }
2564
- function Bn() {
2565
- return Ve && l.value !== J ? Promise.resolve() : new Promise((m, E) => {
2566
- Le.add([m, E]);
2573
+ function Ln() {
2574
+ return ke && l.value !== J ? Promise.resolve() : new Promise((m, E) => {
2575
+ We.add([m, E]);
2567
2576
  });
2568
2577
  }
2569
- function Ue(m) {
2570
- return Ve || (Ve = !m, Fn(), Le.list().forEach(([E, w]) => m ? w(m) : E()), Le.reset()), m;
2578
+ function Ge(m) {
2579
+ return ke || (ke = !m, Bn(), We.list().forEach(([E, w]) => m ? w(m) : E()), We.reset()), m;
2571
2580
  }
2572
2581
  function _t(m, E, w, S) {
2573
2582
  const { scrollBehavior: T } = e;
2574
2583
  if (!Q || !T)
2575
2584
  return Promise.resolve();
2576
- const x = !w && vo(Nt(m.fullPath, 0)) || (S || !w) && history.state && history.state.scroll || null;
2577
- return Ie().then(() => T(m, E, x)).then((k) => k && mo(k)).catch((k) => We(k, m, E));
2585
+ const j = !w && wo(Nt(m.fullPath, 0)) || (S || !w) && history.state && history.state.scroll || null;
2586
+ return Ae().then(() => T(m, E, j)).then((k) => k && vo(k)).catch((k) => Ue(k, m, E));
2578
2587
  }
2579
- const Ge = (m) => o.go(m);
2580
- let qe;
2581
- const Pe = /* @__PURE__ */ new Set(), St = {
2588
+ const qe = (m) => o.go(m);
2589
+ let Ke;
2590
+ const Ne = /* @__PURE__ */ new Set(), St = {
2582
2591
  currentRoute: l,
2583
2592
  listening: !0,
2584
2593
  addRoute: h,
@@ -2588,25 +2597,25 @@ ${JSON.stringify(S, null, 2)}
2588
2597
  getRoutes: p,
2589
2598
  resolve: y,
2590
2599
  options: e,
2591
- push: V,
2592
- replace: C,
2593
- go: Ge,
2594
- back: () => Ge(-1),
2595
- forward: () => Ge(1),
2600
+ push: R,
2601
+ replace: $,
2602
+ go: qe,
2603
+ back: () => qe(-1),
2604
+ forward: () => qe(1),
2596
2605
  beforeEach: i.add,
2597
2606
  beforeResolve: s.add,
2598
2607
  afterEach: c.add,
2599
2608
  onError: Et.add,
2600
- isReady: Bn,
2609
+ isReady: Ln,
2601
2610
  install(m) {
2602
2611
  const E = this;
2603
- m.component("RouterLink", Qo), m.component("RouterView", Zo), m.config.globalProperties.$router = E, Object.defineProperty(m.config.globalProperties, "$route", {
2612
+ m.component("RouterLink", Yo), m.component("RouterView", ts), m.config.globalProperties.$router = E, Object.defineProperty(m.config.globalProperties, "$route", {
2604
2613
  enumerable: !0,
2605
- get: () => M(l)
2614
+ get: () => D(l)
2606
2615
  }), Q && // used for the initial navigation client side to avoid pushing
2607
2616
  // multiple times when the router is used in multiple apps
2608
- !qe && l.value === J && (qe = !0, V(o.location).catch((T) => {
2609
- O.NODE_ENV !== "production" && R("Unexpected error when starting the router:", T);
2617
+ !Ke && l.value === J && (Ke = !0, R(o.location).catch((T) => {
2618
+ O.NODE_ENV !== "production" && V("Unexpected error when starting the router:", T);
2610
2619
  }));
2611
2620
  const w = {};
2612
2621
  for (const T in J)
@@ -2614,19 +2623,19 @@ ${JSON.stringify(S, null, 2)}
2614
2623
  get: () => l.value[T],
2615
2624
  enumerable: !0
2616
2625
  });
2617
- m.provide(Fe, E), m.provide(gt, Kn(w)), m.provide(at, l);
2626
+ m.provide(Le, E), m.provide(vt, Kn(w)), m.provide(ct, l);
2618
2627
  const S = m.unmount;
2619
- Pe.add(m), m.unmount = function() {
2620
- Pe.delete(m), Pe.size < 1 && (d = J, he && he(), he = null, l.value = J, qe = !1, Ve = !1), S();
2621
- }, O.NODE_ENV !== "production" && Q && ns(m, E, t);
2628
+ Ne.add(m), m.unmount = function() {
2629
+ Ne.delete(m), Ne.size < 1 && (d = J, me && me(), me = null, l.value = J, Ke = !1, ke = !1), S();
2630
+ }, O.NODE_ENV !== "production" && Q && os(m, E, t);
2622
2631
  }
2623
2632
  };
2624
- function se(m) {
2625
- return m.reduce((E, w) => E.then(() => de(w)), Promise.resolve());
2633
+ function ce(m) {
2634
+ return m.reduce((E, w) => E.then(() => te(w)), Promise.resolve());
2626
2635
  }
2627
2636
  return St;
2628
2637
  }
2629
- function hs(e, t) {
2638
+ function ms(e, t) {
2630
2639
  const n = [], r = [], o = [], i = Math.max(t.matched.length, e.matched.length);
2631
2640
  for (let s = 0; s < i; s++) {
2632
2641
  const c = t.matched[s];
@@ -2636,26 +2645,26 @@ function hs(e, t) {
2636
2645
  }
2637
2646
  return [n, r, o];
2638
2647
  }
2639
- function ps() {
2640
- return Z(Fe);
2648
+ function gs() {
2649
+ return Z(Le);
2641
2650
  }
2642
- function ms(e) {
2643
- return Z(gt);
2651
+ function vs(e) {
2652
+ return Z(vt);
2644
2653
  }
2645
2654
  const $n = /* @__PURE__ */ new Map();
2646
- function gs(e) {
2655
+ function ys(e) {
2647
2656
  var t;
2648
2657
  (t = e.jsFn) == null || t.forEach((n) => {
2649
2658
  const { immediately: r = !1 } = n;
2650
- let o = L(n.code);
2659
+ let o = B(n.code);
2651
2660
  r && (o = o()), $n.set(n.id, o);
2652
2661
  });
2653
2662
  }
2654
- function vs(e) {
2663
+ function ws(e) {
2655
2664
  return $n.get(e);
2656
2665
  }
2657
- function re(e) {
2658
- let t = rn(), n = kr(), r = Cr(e), o = sn(), i = ps(), s = ms();
2666
+ function oe(e) {
2667
+ let t = on(), n = Ir(), r = jr(e), o = an(), i = gs(), s = vs();
2659
2668
  function c(p) {
2660
2669
  p.scopeSnapshot && (t = p.scopeSnapshot), p.slotSnapshot && (n = p.slotSnapshot), p.vforSnapshot && (r = p.vforSnapshot), p.elementRefSnapshot && (o = p.elementRefSnapshot), p.routerSnapshot && (i = p.routerSnapshot);
2661
2670
  }
@@ -2663,12 +2672,12 @@ function re(e) {
2663
2672
  if (N.isVar(p))
2664
2673
  return q(d(p));
2665
2674
  if (N.isVForItem(p))
2666
- return jr(p.fid) ? r.getVForIndex(p.fid) : q(d(p));
2675
+ return Mr(p.fid) ? r.getVForIndex(p.fid) : q(d(p));
2667
2676
  if (N.isVForIndex(p))
2668
2677
  return r.getVForIndex(p.fid);
2669
2678
  if (N.isJsFn(p)) {
2670
2679
  const { id: g } = p;
2671
- return vs(g);
2680
+ return ws(g);
2672
2681
  }
2673
2682
  if (N.isSlotProp(p))
2674
2683
  return n.getPropsValue(p);
@@ -2678,14 +2687,14 @@ function re(e) {
2678
2687
  }
2679
2688
  function d(p) {
2680
2689
  if (N.isVar(p)) {
2681
- const g = t.getVueRef(p) || Er(p);
2690
+ const g = t.getVueRef(p) || Sr(p);
2682
2691
  return Ot(g, {
2683
2692
  paths: p.path,
2684
2693
  getBindableValueFn: l
2685
2694
  });
2686
2695
  }
2687
2696
  if (N.isVForItem(p))
2688
- return xr({
2697
+ return Dr({
2689
2698
  binding: p,
2690
2699
  snapshot: v
2691
2700
  });
@@ -2744,27 +2753,34 @@ function re(e) {
2744
2753
  if (Rt(g) || Rt(p.values))
2745
2754
  return;
2746
2755
  g = g;
2747
- const y = p.values, _ = p.skips || new Array(g.length).fill(0);
2748
- g.forEach((b, V) => {
2749
- if (_[V] === 1)
2756
+ const y = p.values, _ = p.types ?? new Array(g.length).fill(0);
2757
+ g.forEach((b, R) => {
2758
+ const $ = _[R];
2759
+ if ($ === 1)
2750
2760
  return;
2751
2761
  if (N.isVar(b)) {
2752
- const j = d(b);
2753
- j.value = y[V];
2762
+ const x = d(b);
2763
+ if ($ === 2) {
2764
+ y[R].forEach(([te, ae]) => {
2765
+ lr(x.value, te, ae);
2766
+ });
2767
+ return;
2768
+ }
2769
+ x.value = y[R];
2754
2770
  return;
2755
2771
  }
2756
2772
  if (N.isRouterAction(b)) {
2757
- const j = y[V], D = i[j.fn];
2758
- D(...j.args);
2773
+ const x = y[R], ie = i[x.fn];
2774
+ ie(...x.args);
2759
2775
  return;
2760
2776
  }
2761
2777
  if (N.isElementRef(b)) {
2762
- const j = o.getRef(b).value, D = y[V], { method: Be, args: de = [] } = D;
2763
- j[Be](...de);
2778
+ const x = o.getRef(b).value, ie = y[R], { method: te, args: ae = [] } = ie;
2779
+ x[te](...ae);
2764
2780
  return;
2765
2781
  }
2766
- const C = d(b);
2767
- C.value = y[V];
2782
+ const U = d(b);
2783
+ U.value = y[R];
2768
2784
  });
2769
2785
  }
2770
2786
  const v = {
@@ -2779,9 +2795,9 @@ function re(e) {
2779
2795
  };
2780
2796
  return v;
2781
2797
  }
2782
- class ys {
2798
+ class Es {
2783
2799
  async eventSend(t, n) {
2784
- const { fType: r, hKey: o, key: i } = t, s = Ye().webServerInfo, c = i !== void 0 ? { key: i } : {}, l = r === "sync" ? s.event_url : s.event_async_url;
2800
+ const { fType: r, hKey: o, key: i } = t, s = Xe().webServerInfo, c = i !== void 0 ? { key: i } : {}, l = r === "sync" ? s.event_url : s.event_async_url;
2785
2801
  let d = {};
2786
2802
  const u = await fetch(l, {
2787
2803
  method: "POST",
@@ -2792,7 +2808,7 @@ class ys {
2792
2808
  bind: n,
2793
2809
  hKey: o,
2794
2810
  ...c,
2795
- page: Te(),
2811
+ page: Ce(),
2796
2812
  ...d
2797
2813
  })
2798
2814
  });
@@ -2801,10 +2817,10 @@ class ys {
2801
2817
  return await u.json();
2802
2818
  }
2803
2819
  async watchSend(t) {
2804
- const { outputs: n, fType: r, key: o } = t.watchConfig, i = Ye().webServerInfo, s = r === "sync" ? i.watch_url : i.watch_async_url, c = t.getServerInputs(), l = {
2820
+ const { outputs: n, fType: r, key: o } = t.watchConfig, i = Xe().webServerInfo, s = r === "sync" ? i.watch_url : i.watch_async_url, c = t.getServerInputs(), l = {
2805
2821
  key: o,
2806
2822
  input: c,
2807
- page: Te()
2823
+ page: Ce()
2808
2824
  };
2809
2825
  return await (await fetch(s, {
2810
2826
  method: "POST",
@@ -2815,7 +2831,7 @@ class ys {
2815
2831
  })).json();
2816
2832
  }
2817
2833
  }
2818
- class ws {
2834
+ class _s {
2819
2835
  async eventSend(t, n) {
2820
2836
  const { fType: r, hKey: o, key: i } = t, s = i !== void 0 ? { key: i } : {};
2821
2837
  let c = {};
@@ -2824,7 +2840,7 @@ class ws {
2824
2840
  fType: r,
2825
2841
  hKey: o,
2826
2842
  ...s,
2827
- page: Te(),
2843
+ page: Ce(),
2828
2844
  ...c
2829
2845
  };
2830
2846
  return await window.pywebview.api.event_call(l);
@@ -2834,26 +2850,26 @@ class ws {
2834
2850
  key: o,
2835
2851
  input: i,
2836
2852
  fType: r,
2837
- page: Te()
2853
+ page: Ce()
2838
2854
  };
2839
2855
  return await window.pywebview.api.watch_call(s);
2840
2856
  }
2841
2857
  }
2842
- let ut;
2843
- function Es(e) {
2858
+ let lt;
2859
+ function Ss(e) {
2844
2860
  switch (e) {
2845
2861
  case "web":
2846
- ut = new ys();
2862
+ lt = new Es();
2847
2863
  break;
2848
2864
  case "webview":
2849
- ut = new ws();
2865
+ lt = new _s();
2850
2866
  break;
2851
2867
  }
2852
2868
  }
2853
- function Cn() {
2854
- return ut;
2869
+ function xn() {
2870
+ return lt;
2855
2871
  }
2856
- function _s(e) {
2872
+ function bs(e) {
2857
2873
  const t = {
2858
2874
  type: "var",
2859
2875
  sid: e.sid,
@@ -2865,7 +2881,7 @@ function _s(e) {
2865
2881
  outputs: [t, ...e.outputs || []]
2866
2882
  };
2867
2883
  }
2868
- function xn(e) {
2884
+ function jn(e) {
2869
2885
  const { config: t, snapshot: n } = e;
2870
2886
  if (!t)
2871
2887
  return {
@@ -2881,7 +2897,7 @@ function xn(e) {
2881
2897
  preValue: c.value,
2882
2898
  newValue: s.value,
2883
2899
  reset: !0
2884
- } : Ss(c, s, n);
2900
+ } : Os(c, s, n);
2885
2901
  });
2886
2902
  return {
2887
2903
  run: () => {
@@ -2896,8 +2912,8 @@ function xn(e) {
2896
2912
  }
2897
2913
  };
2898
2914
  }
2899
- function Ss(e, t, n) {
2900
- const r = L(t.code), o = t.inputs.map(
2915
+ function Os(e, t, n) {
2916
+ const r = B(t.code), o = t.inputs.map(
2901
2917
  (i) => n.getObjectToValue(i)
2902
2918
  );
2903
2919
  return {
@@ -2907,18 +2923,18 @@ function Ss(e, t, n) {
2907
2923
  newValue: r(...o)
2908
2924
  };
2909
2925
  }
2910
- function bs(e, t, n) {
2911
- return new Os(e, t, n);
2926
+ function Rs(e, t, n) {
2927
+ return new Vs(e, t, n);
2912
2928
  }
2913
- class Os {
2929
+ class Vs {
2914
2930
  constructor(t, n, r) {
2915
- B(this, "taskQueue", []);
2916
- B(this, "id2TaskMap", /* @__PURE__ */ new Map());
2917
- B(this, "input2TaskIdMap", Se(() => []));
2931
+ F(this, "taskQueue", []);
2932
+ F(this, "id2TaskMap", /* @__PURE__ */ new Map());
2933
+ F(this, "input2TaskIdMap", Oe(() => []));
2918
2934
  this.snapshots = r;
2919
2935
  const o = [], i = (s) => {
2920
2936
  var l;
2921
- const c = new Rs(s, r);
2937
+ const c = new Ps(s, r);
2922
2938
  return this.id2TaskMap.set(c.id, c), (l = s.inputs) == null || l.forEach((d, u) => {
2923
2939
  var f, h;
2924
2940
  if (((f = s.data) == null ? void 0 : f[u]) === 0 && ((h = s.slient) == null ? void 0 : h[u]) === 0) {
@@ -2932,7 +2948,7 @@ class Os {
2932
2948
  o.push(c);
2933
2949
  }), n == null || n.forEach((s) => {
2934
2950
  const c = i(
2935
- _s(s)
2951
+ bs(s)
2936
2952
  );
2937
2953
  o.push(c);
2938
2954
  }), o.forEach((s) => {
@@ -2950,7 +2966,7 @@ class Os {
2950
2966
  H(
2951
2967
  f,
2952
2968
  (h) => {
2953
- h.some(_e) || (s.modify = !0, this.taskQueue.push(new Vs(s)), this._scheduleNextTick());
2969
+ h.some(be) || (s.modify = !0, this.taskQueue.push(new ks(s)), this._scheduleNextTick());
2954
2970
  },
2955
2971
  a
2956
2972
  );
@@ -2965,7 +2981,7 @@ class Os {
2965
2981
  ).map((i) => this.snapshots.getVueRefObjectOrValue(i));
2966
2982
  }
2967
2983
  _scheduleNextTick() {
2968
- Ie(() => this._runAllTasks());
2984
+ Ae(() => this._runAllTasks());
2969
2985
  }
2970
2986
  _runAllTasks() {
2971
2987
  const t = this.taskQueue.slice();
@@ -3000,14 +3016,14 @@ class Os {
3000
3016
  }), n;
3001
3017
  }
3002
3018
  }
3003
- class Rs {
3019
+ class Ps {
3004
3020
  constructor(t, n) {
3005
- B(this, "modify", !0);
3006
- B(this, "_running", !1);
3007
- B(this, "id");
3008
- B(this, "_runningPromise", null);
3009
- B(this, "_runningPromiseResolve", null);
3010
- B(this, "_inputInfos");
3021
+ F(this, "modify", !0);
3022
+ F(this, "_running", !1);
3023
+ F(this, "id");
3024
+ F(this, "_runningPromise", null);
3025
+ F(this, "_runningPromiseResolve", null);
3026
+ F(this, "_inputInfos");
3011
3027
  this.watchConfig = t, this.snapshot = n, this.id = Symbol(t.debug), this._inputInfos = this.createInputInfos();
3012
3028
  }
3013
3029
  createInputInfos() {
@@ -3056,14 +3072,14 @@ class Rs {
3056
3072
  }
3057
3073
  }
3058
3074
  }
3059
- class Vs {
3075
+ class ks {
3060
3076
  /**
3061
3077
  *
3062
3078
  */
3063
3079
  constructor(t) {
3064
- B(this, "prevNodes", []);
3065
- B(this, "nextNodes", []);
3066
- B(this, "_runningPrev", !1);
3080
+ F(this, "prevNodes", []);
3081
+ F(this, "nextNodes", []);
3082
+ F(this, "_runningPrev", !1);
3067
3083
  this.watchTask = t;
3068
3084
  }
3069
3085
  /**
@@ -3101,21 +3117,21 @@ class Vs {
3101
3117
  if (this.watchTask.modify) {
3102
3118
  this.watchTask.modify = !1, this.watchTask.setRunning();
3103
3119
  try {
3104
- await Ps(this.watchTask);
3120
+ await Ns(this.watchTask);
3105
3121
  } finally {
3106
3122
  this.watchTask.taskDone();
3107
3123
  }
3108
3124
  }
3109
3125
  }
3110
3126
  }
3111
- async function Ps(e) {
3112
- const { snapshot: t } = e, { outputs: n, preSetup: r } = e.watchConfig, o = xn({
3127
+ async function Ns(e) {
3128
+ const { snapshot: t } = e, { outputs: n, preSetup: r } = e.watchConfig, o = jn({
3113
3129
  config: r,
3114
3130
  snapshot: t
3115
3131
  });
3116
3132
  try {
3117
3133
  o.run();
3118
- const i = await Cn().watchSend(e);
3134
+ const i = await xn().watchSend(e);
3119
3135
  if (!i)
3120
3136
  return;
3121
3137
  t.updateOutputsRefFromServer(i, n);
@@ -3123,7 +3139,7 @@ async function Ps(e) {
3123
3139
  o.tryReset();
3124
3140
  }
3125
3141
  }
3126
- function ks(e, t) {
3142
+ function Is(e, t) {
3127
3143
  const {
3128
3144
  on: n,
3129
3145
  code: r,
@@ -3134,10 +3150,10 @@ function ks(e, t) {
3134
3150
  bind: l = {},
3135
3151
  onData: d,
3136
3152
  bindData: u
3137
- } = e, a = d || new Array(n.length).fill(0), f = u || new Array(Object.keys(l).length).fill(0), h = je(
3153
+ } = e, a = d || new Array(n.length).fill(0), f = u || new Array(Object.keys(l).length).fill(0), h = Me(
3138
3154
  l,
3139
3155
  (g, y, _) => f[_] === 0 ? t.getVueRefObject(g) : g
3140
- ), v = L(r, h), p = n.length === 1 ? Gt(a[0] === 1, n[0], t) : n.map(
3156
+ ), v = B(r, h), p = n.length === 1 ? Gt(a[0] === 1, n[0], t) : n.map(
3141
3157
  (g, y) => Gt(a[y] === 1, g, t)
3142
3158
  );
3143
3159
  return H(p, v, { immediate: o, deep: i, once: s, flush: c });
@@ -3145,7 +3161,7 @@ function ks(e, t) {
3145
3161
  function Gt(e, t, n) {
3146
3162
  return e ? () => t : n.getVueRefObject(t);
3147
3163
  }
3148
- function Ns(e, t) {
3164
+ function Ts(e, t) {
3149
3165
  const {
3150
3166
  inputs: n = [],
3151
3167
  outputs: r,
@@ -3156,9 +3172,9 @@ function Ns(e, t) {
3156
3172
  deep: l,
3157
3173
  once: d,
3158
3174
  flush: u
3159
- } = e, a = o || new Array(n.length).fill(0), f = i || new Array(n.length).fill(0), h = L(s), v = n.filter((g, y) => a[y] === 0 && f[y] === 0).map((g) => t.getVueRefObject(g));
3175
+ } = e, a = o || new Array(n.length).fill(0), f = i || new Array(n.length).fill(0), h = B(s), v = n.filter((g, y) => a[y] === 0 && f[y] === 0).map((g) => t.getVueRefObject(g));
3160
3176
  function p() {
3161
- return n.map((g, y) => f[y] === 0 ? tn(q(t.getVueRefObject(g))) : g);
3177
+ return n.map((g, y) => f[y] === 0 ? nn(q(t.getVueRefObject(g))) : g);
3162
3178
  }
3163
3179
  H(
3164
3180
  v,
@@ -3166,31 +3182,31 @@ function Ns(e, t) {
3166
3182
  let g = h(...p());
3167
3183
  if (!r)
3168
3184
  return;
3169
- const _ = r.length === 1 ? [g] : g, b = _.map((V) => V === void 0 ? 1 : 0);
3185
+ const _ = r.length === 1 ? [g] : g, b = _.map((R) => R === void 0 ? 1 : 0);
3170
3186
  t.updateOutputsRefFromServer(
3171
- { values: _, skips: b },
3187
+ { values: _, types: b },
3172
3188
  r
3173
3189
  );
3174
3190
  },
3175
3191
  { immediate: c, deep: l, once: d, flush: u }
3176
3192
  );
3177
3193
  }
3178
- function Is(e, t) {
3194
+ function As(e, t) {
3179
3195
  return Object.assign(
3180
3196
  {},
3181
3197
  ...Object.entries(e ?? {}).map(([n, r]) => {
3182
3198
  const o = r.map((c) => {
3183
3199
  if (c.type === "web") {
3184
- const l = Ts(c.bind, t);
3185
- return As(c, l, t);
3200
+ const l = Cs(c.bind, t);
3201
+ return $s(c, l, t);
3186
3202
  } else {
3187
3203
  if (c.type === "vue")
3188
- return Cs(c, t);
3204
+ return js(c, t);
3189
3205
  if (c.type === "js")
3190
- return $s(c, t);
3206
+ return xs(c, t);
3191
3207
  }
3192
3208
  throw new Error(`unknown event type ${c}`);
3193
- }), s = L(
3209
+ }), s = B(
3194
3210
  " (...args)=> Promise.all(promises(...args))",
3195
3211
  {
3196
3212
  promises: (...c) => o.map(async (l) => {
@@ -3202,27 +3218,27 @@ function Is(e, t) {
3202
3218
  })
3203
3219
  );
3204
3220
  }
3205
- function Ts(e, t) {
3221
+ function Cs(e, t) {
3206
3222
  return (...n) => (e ?? []).map((r) => {
3207
3223
  if (N.isEventContext(r)) {
3208
3224
  if (r.path.startsWith(":")) {
3209
3225
  const o = r.path.slice(1);
3210
- return L(o)(...n);
3226
+ return B(o)(...n);
3211
3227
  }
3212
- return be(n[0], r.path.split("."));
3228
+ return Re(n[0], r.path.split("."));
3213
3229
  }
3214
3230
  return N.IsBinding(r) ? t.getObjectToValue(r) : r;
3215
3231
  });
3216
3232
  }
3217
- function As(e, t, n) {
3233
+ function $s(e, t, n) {
3218
3234
  async function r(...o) {
3219
- const i = t(...o), s = xn({
3235
+ const i = t(...o), s = jn({
3220
3236
  config: e.preSetup,
3221
3237
  snapshot: n
3222
3238
  });
3223
3239
  try {
3224
3240
  s.run();
3225
- const c = await Cn().eventSend(e, i);
3241
+ const c = await xn().eventSend(e, i);
3226
3242
  if (!c)
3227
3243
  return;
3228
3244
  n.updateOutputsRefFromServer(c, e.set);
@@ -3232,43 +3248,43 @@ function As(e, t, n) {
3232
3248
  }
3233
3249
  return r;
3234
3250
  }
3235
- function $s(e, t) {
3236
- const { code: n, inputs: r = [], set: o } = e, i = L(n);
3251
+ function xs(e, t) {
3252
+ const { code: n, inputs: r = [], set: o } = e, i = B(n);
3237
3253
  function s(...c) {
3238
3254
  const l = (r ?? []).map((u) => {
3239
3255
  if (N.isEventContext(u)) {
3240
3256
  if (u.path.startsWith(":")) {
3241
3257
  const a = u.path.slice(1);
3242
- return L(a)(...c);
3258
+ return B(a)(...c);
3243
3259
  }
3244
- return be(c[0], u.path.split("."));
3260
+ return Re(c[0], u.path.split("."));
3245
3261
  }
3246
- return N.IsBinding(u) ? tn(t.getObjectToValue(u)) : u;
3262
+ return N.IsBinding(u) ? nn(t.getObjectToValue(u)) : u;
3247
3263
  }), d = i(...l);
3248
3264
  if (o !== void 0) {
3249
3265
  const a = o.length === 1 ? [d] : d, f = a.map((h) => h === void 0 ? 1 : 0);
3250
- t.updateOutputsRefFromServer({ values: a, skips: f }, o);
3266
+ t.updateOutputsRefFromServer({ values: a, types: f }, o);
3251
3267
  }
3252
3268
  }
3253
3269
  return s;
3254
3270
  }
3255
- function Cs(e, t) {
3256
- const { code: n, bind: r = {}, bindData: o } = e, i = o || new Array(Object.keys(r).length).fill(0), s = je(
3271
+ function js(e, t) {
3272
+ const { code: n, bind: r = {}, bindData: o } = e, i = o || new Array(Object.keys(r).length).fill(0), s = Me(
3257
3273
  r,
3258
3274
  (d, u, a) => i[a] === 0 ? t.getVueRefObject(d) : d
3259
- ), c = L(n, s);
3275
+ ), c = B(n, s);
3260
3276
  function l(...d) {
3261
3277
  c(...d);
3262
3278
  }
3263
3279
  return l;
3264
3280
  }
3265
- function xs(e, t) {
3281
+ function Ds(e, t) {
3266
3282
  const n = [];
3267
3283
  (e.bStyle || []).forEach((i) => {
3268
3284
  Array.isArray(i) ? n.push(
3269
3285
  ...i.map((s) => t.getObjectToValue(s))
3270
3286
  ) : n.push(
3271
- je(
3287
+ Me(
3272
3288
  i,
3273
3289
  (s) => t.getObjectToValue(s)
3274
3290
  )
@@ -3280,24 +3296,24 @@ function xs(e, t) {
3280
3296
  styles: r
3281
3297
  };
3282
3298
  }
3283
- function js(e, t) {
3299
+ function Ms(e, t) {
3284
3300
  const n = e.classes;
3285
3301
  if (!n)
3286
3302
  return null;
3287
3303
  if (typeof n == "string")
3288
- return Je(n);
3304
+ return Ye(n);
3289
3305
  const { str: r, map: o, bind: i } = n, s = [];
3290
3306
  return r && s.push(r), o && s.push(
3291
- je(
3307
+ Me(
3292
3308
  o,
3293
3309
  (c) => t.getObjectToValue(c)
3294
3310
  )
3295
- ), i && s.push(...i.map((c) => t.getObjectToValue(c))), Je(s);
3311
+ ), i && s.push(...i.map((c) => t.getObjectToValue(c))), Ye(s);
3296
3312
  }
3297
- function $e(e, t = !0) {
3313
+ function xe(e, t = !0) {
3298
3314
  if (!(typeof e != "object" || e === null)) {
3299
3315
  if (Array.isArray(e)) {
3300
- t && e.forEach((n) => $e(n, !0));
3316
+ t && e.forEach((n) => xe(n, !0));
3301
3317
  return;
3302
3318
  }
3303
3319
  for (const [n, r] of Object.entries(e))
@@ -3311,90 +3327,90 @@ function $e(e, t = !0) {
3311
3327
  );
3312
3328
  }
3313
3329
  else
3314
- t && $e(r, !0);
3330
+ t && xe(r, !0);
3315
3331
  }
3316
3332
  }
3317
- function Ds(e, t) {
3333
+ function Fs(e, t) {
3318
3334
  const n = e.startsWith(":");
3319
- return n && (e = e.slice(1), t = L(t)), { name: e, value: t, isFunc: n };
3335
+ return n && (e = e.slice(1), t = B(t)), { name: e, value: t, isFunc: n };
3320
3336
  }
3321
- function Ms(e, t, n) {
3337
+ function Bs(e, t, n) {
3322
3338
  var o;
3323
3339
  const r = {};
3324
3340
  return bt(e.bProps || {}, (i, s) => {
3325
3341
  const c = n.getObjectToValue(i);
3326
- _e(c) || ($e(c), r[s] = Fs(c, s));
3342
+ be(c) || (xe(c), r[s] = Ls(c, s));
3327
3343
  }), (o = e.proxyProps) == null || o.forEach((i) => {
3328
3344
  const s = n.getObjectToValue(i);
3329
3345
  typeof s == "object" && bt(s, (c, l) => {
3330
- const { name: d, value: u } = Ds(l, c);
3346
+ const { name: d, value: u } = Fs(l, c);
3331
3347
  r[d] = u;
3332
3348
  });
3333
3349
  }), { ...t || {}, ...r };
3334
3350
  }
3335
- function Fs(e, t) {
3336
- return t === "innerText" ? lt(e) : e;
3351
+ function Ls(e, t) {
3352
+ return t === "innerText" ? ft(e) : e;
3337
3353
  }
3338
- function Bs(e, { slots: t }) {
3339
- const { id: n, use: r } = e.propsInfo, o = Rr(n);
3340
- return ft(() => {
3341
- Pr(n);
3354
+ function Ws(e, { slots: t }) {
3355
+ const { id: n, use: r } = e.propsInfo, o = Pr(n);
3356
+ return dt(() => {
3357
+ Nr(n);
3342
3358
  }), () => {
3343
3359
  const i = e.propsValue;
3344
- return Vr(
3360
+ return kr(
3345
3361
  n,
3346
3362
  o,
3347
3363
  Object.fromEntries(
3348
3364
  r.map((s) => [s, i[s]])
3349
3365
  )
3350
- ), A(xe, null, t.default());
3366
+ ), A(De, null, t.default());
3351
3367
  };
3352
3368
  }
3353
- const Ls = U(Bs, {
3369
+ const Us = W(Ws, {
3354
3370
  props: ["propsInfo", "propsValue"]
3355
- }), jn = /* @__PURE__ */ new Map();
3356
- function Ws(e) {
3371
+ }), Dn = /* @__PURE__ */ new Map();
3372
+ function Gs(e) {
3357
3373
  var t;
3358
3374
  (t = e.scopes) == null || t.forEach((n) => {
3359
- jn.set(n.id, n);
3375
+ Dn.set(n.id, n);
3360
3376
  });
3361
3377
  }
3362
- function fe(e) {
3363
- return jn.get(e);
3378
+ function pe(e) {
3379
+ return Dn.get(e);
3364
3380
  }
3365
- function Us(e, t) {
3381
+ function qs(e, t) {
3366
3382
  if (!e.slots)
3367
3383
  return null;
3368
3384
  const n = e.slots ?? {};
3369
- return Array.isArray(n) ? t ? ye(n) : () => ye(n) : Xt(n, { keyFn: (s) => s === ":" ? "default" : s, valueFn: (s) => {
3385
+ return Array.isArray(n) ? t ? Ee(n) : () => Ee(n) : Zt(n, { keyFn: (s) => s === ":" ? "default" : s, valueFn: (s) => {
3370
3386
  const { items: c } = s;
3371
3387
  return (l) => {
3372
3388
  if (s.scopeId) {
3373
- const d = () => s.props ? qt(s.props, l, c) : ye(c);
3389
+ const d = () => s.props ? qt(s.props, l, c) : Ee(c);
3374
3390
  return A(
3375
- Re,
3376
- { scope: fe(s.scopeId) },
3391
+ Pe,
3392
+ { scope: pe(s.scopeId) },
3377
3393
  d
3378
3394
  );
3379
3395
  }
3380
- return s.props ? qt(s.props, l, c) : ye(c);
3396
+ return s.props ? qt(s.props, l, c) : Ee(c);
3381
3397
  };
3382
3398
  } });
3383
3399
  }
3384
3400
  function qt(e, t, n) {
3385
3401
  return A(
3386
- Ls,
3402
+ Us,
3387
3403
  { propsInfo: e, propsValue: t },
3388
- () => ye(n)
3404
+ () => Ee(n)
3389
3405
  );
3390
3406
  }
3391
- function ye(e) {
3392
- const t = (e ?? []).map((n) => A(oe, {
3407
+ function Ee(e) {
3408
+ const t = (e ?? []).map((n) => A(se, {
3393
3409
  component: n
3394
3410
  }));
3395
3411
  return t.length <= 0 ? null : t;
3396
3412
  }
3397
- function Gs(e, t) {
3413
+ function Ks(e, t) {
3398
3414
  const n = {}, r = [];
3399
3415
  return (e || []).forEach((o) => {
3400
3416
  const { sys: i, name: s, arg: c, value: l, mf: d } = o;
@@ -3417,17 +3433,17 @@ function Gs(e, t) {
3417
3433
  directiveArray: r
3418
3434
  };
3419
3435
  }
3420
- function qs(e, t) {
3436
+ function Hs(e, t) {
3421
3437
  const { eRef: n } = e;
3422
3438
  return n === void 0 ? {} : { ref: t.getRef(n) };
3423
3439
  }
3424
- function Ks(e) {
3425
- const t = re(), n = sn(), r = e.component.props ?? {};
3426
- return $e(r, !0), () => {
3427
- const { tag: o } = e.component, i = N.IsBinding(o) ? t.getObjectToValue(o) : o, s = Yn(i), c = typeof s == "string", l = js(e.component, t), { styles: d, hasStyle: u } = xs(e.component, t), a = Is(e.component.events ?? {}, t), f = Us(e.component, c), h = Ms(e.component, r, t), { newProps: v, directiveArray: p } = Gs(
3440
+ function zs(e) {
3441
+ const t = oe(), n = an(), r = e.component.props ?? {};
3442
+ return xe(r, !0), () => {
3443
+ const { tag: o } = e.component, i = N.IsBinding(o) ? t.getObjectToValue(o) : o, s = Yn(i), c = typeof s == "string", l = Ms(e.component, t), { styles: d, hasStyle: u } = Ds(e.component, t), a = As(e.component.events ?? {}, t), f = qs(e.component, c), h = Bs(e.component, r, t), { newProps: v, directiveArray: p } = Ks(
3428
3444
  e.component.dir,
3429
3445
  t
3430
- ), g = qs(
3446
+ ), g = Hs(
3431
3447
  e.component,
3432
3448
  n
3433
3449
  ), y = Xn({
@@ -3445,31 +3461,31 @@ function Ks(e) {
3445
3461
  ) : _;
3446
3462
  };
3447
3463
  }
3448
- const oe = U(Ks, {
3464
+ const se = W(zs, {
3449
3465
  props: ["component"]
3450
3466
  });
3451
- function Dn(e, t) {
3467
+ function Mn(e, t) {
3452
3468
  var n, r;
3453
3469
  if (e) {
3454
- const o = br(e), i = wr(e, re(t)), s = re(t);
3455
- bs(e.py_watch, e.web_computed, s), (n = e.vue_watch) == null || n.forEach((c) => ks(c, s)), (r = e.js_watch) == null || r.forEach((c) => Ns(c, s)), ft(() => {
3456
- Sr(e.id, i), Or(e.id, o);
3470
+ const o = Rr(e), i = _r(e, oe(t)), s = oe(t);
3471
+ Rs(e.py_watch, e.web_computed, s), (n = e.vue_watch) == null || n.forEach((c) => Is(c, s)), (r = e.js_watch) == null || r.forEach((c) => Ts(c, s)), dt(() => {
3472
+ Or(e.id, i), Vr(e.id, o);
3457
3473
  });
3458
3474
  }
3459
3475
  }
3460
- function Hs(e, { slots: t }) {
3476
+ function Qs(e, { slots: t }) {
3461
3477
  const { scope: n } = e;
3462
- return Dn(n), () => A(xe, null, t.default());
3478
+ return Mn(n), () => A(De, null, t.default());
3463
3479
  }
3464
- const Re = U(Hs, {
3480
+ const Pe = W(Qs, {
3465
3481
  props: ["scope"]
3466
- }), zs = U(
3482
+ }), Js = W(
3467
3483
  (e) => {
3468
3484
  const { scope: t, items: n, vforInfo: r } = e;
3469
- return Nr(r), Dn(t, r.key), n.length === 1 ? () => A(oe, {
3485
+ return Tr(r), Mn(t, r.key), n.length === 1 ? () => A(se, {
3470
3486
  component: n[0]
3471
3487
  }) : () => n.map(
3472
- (i) => A(oe, {
3488
+ (i) => A(se, {
3473
3489
  component: i
3474
3490
  })
3475
3491
  );
@@ -3478,8 +3494,8 @@ const Re = U(Hs, {
3478
3494
  props: ["scope", "items", "vforInfo"]
3479
3495
  }
3480
3496
  );
3481
- function Qs(e, t) {
3482
- const { state: n, isReady: r, isLoading: o } = hr(async () => {
3497
+ function Ys(e, t) {
3498
+ const { state: n, isReady: r, isLoading: o } = mr(async () => {
3483
3499
  let i = e;
3484
3500
  const s = t;
3485
3501
  if (!i && !s)
@@ -3490,7 +3506,7 @@ function Qs(e, t) {
3490
3506
  }, {});
3491
3507
  return { config: n, isReady: r, isLoading: o };
3492
3508
  }
3493
- function Js(e) {
3509
+ function Xs(e) {
3494
3510
  const t = K(!1), n = K("");
3495
3511
  function r(o, i) {
3496
3512
  let s;
@@ -3498,13 +3514,13 @@ function Js(e) {
3498
3514
  }
3499
3515
  return er(r), { hasError: t, errorMessage: n };
3500
3516
  }
3501
- const Ys = { class: "app-box" }, Xs = {
3517
+ const Zs = { class: "app-box" }, ei = {
3502
3518
  key: 0,
3503
3519
  style: { position: "absolute", top: "50%", left: "50%", transform: "translate(-50%, -50%)" }
3504
- }, Zs = {
3520
+ }, ti = {
3505
3521
  key: 0,
3506
3522
  style: { color: "red", "font-size": "1.2em", margin: "1rem", border: "1px dashed red", padding: "1rem" }
3507
- }, ei = /* @__PURE__ */ U({
3523
+ }, ni = /* @__PURE__ */ W({
3508
3524
  __name: "App",
3509
3525
  props: {
3510
3526
  config: {},
@@ -3512,7 +3528,7 @@ const Ys = { class: "app-box" }, Xs = {
3512
3528
  configUrl: {}
3513
3529
  },
3514
3530
  setup(e) {
3515
- const t = e, { debug: n = !1 } = t.meta, { config: r, isLoading: o } = Qs(
3531
+ const t = e, { debug: n = !1 } = t.meta, { config: r, isLoading: o } = Ys(
3516
3532
  t.config,
3517
3533
  t.configUrl
3518
3534
  );
@@ -3524,42 +3540,42 @@ const Ys = { class: "app-box" }, Xs = {
3524
3540
  queryPath: l.url.path,
3525
3541
  pathParams: l.url.params,
3526
3542
  webServerInfo: l.webInfo
3527
- }), Es(t.meta.mode)), Ws(l), gs(l);
3543
+ }), Ss(t.meta.mode)), Gs(l), ys(l);
3528
3544
  });
3529
- const { hasError: s, errorMessage: c } = Js(n);
3530
- return (l, d) => (ie(), pe("div", Ys, [
3531
- M(o) ? (ie(), pe("div", Xs, d[0] || (d[0] = [
3545
+ const { hasError: s, errorMessage: c } = Xs(n);
3546
+ return (l, d) => (ue(), ge("div", Zs, [
3547
+ D(o) ? (ue(), ge("div", ei, d[0] || (d[0] = [
3532
3548
  tr("p", { style: { margin: "auto" } }, "Loading ...", -1)
3533
- ]))) : (ie(), pe("div", {
3549
+ ]))) : (ue(), ge("div", {
3534
3550
  key: 1,
3535
- class: Je(["insta-main", M(r).class])
3551
+ class: Ye(["insta-main", D(r).class])
3536
3552
  }, [
3537
- nr(M(Re), {
3538
- scope: M(fe)(M(i).scopeId)
3553
+ nr(D(Pe), {
3554
+ scope: D(pe)(D(i).scopeId)
3539
3555
  }, {
3540
3556
  default: rr(() => [
3541
- (ie(!0), pe(xe, null, or(M(i).items, (u) => (ie(), sr(M(oe), { component: u }, null, 8, ["component"]))), 256))
3557
+ (ue(!0), ge(De, null, or(D(i).items, (u) => (ue(), sr(D(se), { component: u }, null, 8, ["component"]))), 256))
3542
3558
  ]),
3543
3559
  _: 1
3544
3560
  }, 8, ["scope"]),
3545
- M(s) ? (ie(), pe("div", Zs, lt(M(c)), 1)) : ir("", !0)
3561
+ D(s) ? (ue(), ge("div", ti, ft(D(c)), 1)) : ir("", !0)
3546
3562
  ], 2))
3547
3563
  ]));
3548
3564
  }
3549
3565
  });
3550
- function ti(e) {
3551
- const { on: t, scopeId: n, items: r } = e, o = fe(n), i = re();
3566
+ function ri(e) {
3567
+ const { on: t, scopeId: n, items: r } = e, o = pe(n), i = oe();
3552
3568
  return () => {
3553
3569
  const s = typeof t == "boolean" ? t : i.getObjectToValue(t);
3554
- return A(Re, { scope: o }, () => s ? r.map(
3555
- (l) => A(oe, { component: l })
3570
+ return A(Pe, { scope: o }, () => s ? r.map(
3571
+ (l) => A(se, { component: l })
3556
3572
  ) : void 0);
3557
3573
  };
3558
3574
  }
3559
- const ni = U(ti, {
3575
+ const oi = W(ri, {
3560
3576
  props: ["on", "scopeId", "items"]
3561
3577
  });
3562
- function ri(e) {
3578
+ function si(e) {
3563
3579
  const { start: t = 0, end: n, step: r = 1 } = e;
3564
3580
  let o = [];
3565
3581
  if (r > 0)
@@ -3570,39 +3586,39 @@ function ri(e) {
3570
3586
  o.push(i);
3571
3587
  return o;
3572
3588
  }
3573
- function oi(e) {
3574
- const { array: t, bArray: n, items: r, fkey: o, fid: i, scopeId: s, num: c, tsGroup: l = {} } = e, d = t === void 0, u = c !== void 0, a = d ? n : t, f = re();
3575
- Tr(i, a, d, u);
3576
- const v = ui(o ?? "index");
3577
- ft(() => {
3578
- _r(s);
3589
+ function ii(e) {
3590
+ const { array: t, bArray: n, items: r, fkey: o, fid: i, scopeId: s, num: c, tsGroup: l = {} } = e, d = t === void 0, u = c !== void 0, a = d ? n : t, f = oe();
3591
+ Cr(i, a, d, u);
3592
+ const v = fi(o ?? "index");
3593
+ dt(() => {
3594
+ br(s);
3579
3595
  });
3580
- const p = fe(s);
3596
+ const p = pe(s);
3581
3597
  return () => {
3582
- const g = ii(
3598
+ const g = ci(
3583
3599
  u,
3584
3600
  d,
3585
3601
  a,
3586
3602
  f,
3587
3603
  c
3588
- ), y = $r(i), _ = g.map((b, V) => {
3589
- const C = v(b, V);
3590
- return y.add(C), Ar(i, C, V), A(zs, {
3604
+ ), y = xr(i), _ = g.map((b, R) => {
3605
+ const $ = v(b, R);
3606
+ return y.add($), $r(i, $, R), A(Js, {
3591
3607
  scope: p,
3592
3608
  items: r,
3593
3609
  vforInfo: {
3594
3610
  fid: i,
3595
- key: C
3611
+ key: $
3596
3612
  },
3597
- key: C
3613
+ key: $
3598
3614
  });
3599
3615
  });
3600
- return y.removeUnusedKeys(), l && Object.keys(l).length > 0 ? A(Jt, l, {
3616
+ return y.removeUnusedKeys(), l && Object.keys(l).length > 0 ? A(Yt, l, {
3601
3617
  default: () => _
3602
3618
  }) : _;
3603
3619
  };
3604
3620
  }
3605
- const si = U(oi, {
3621
+ const ai = W(ii, {
3606
3622
  props: [
3607
3623
  "array",
3608
3624
  "items",
@@ -3614,33 +3630,33 @@ const si = U(oi, {
3614
3630
  "tsGroup"
3615
3631
  ]
3616
3632
  });
3617
- function ii(e, t, n, r, o) {
3633
+ function ci(e, t, n, r, o) {
3618
3634
  if (e) {
3619
3635
  let s = 0;
3620
- return typeof o == "number" ? s = o : s = r.getObjectToValue(o) ?? 0, ri({
3636
+ return typeof o == "number" ? s = o : s = r.getObjectToValue(o) ?? 0, si({
3621
3637
  end: Math.max(0, s)
3622
3638
  });
3623
3639
  }
3624
3640
  const i = t ? r.getObjectToValue(n) || [] : n;
3625
3641
  return typeof i == "object" ? Object.values(i) : i;
3626
3642
  }
3627
- const ai = (e) => e, ci = (e, t) => t;
3628
- function ui(e) {
3629
- const t = pr(e);
3630
- return typeof t == "function" ? t : e === "item" ? ai : ci;
3643
+ const ui = (e) => e, li = (e, t) => t;
3644
+ function fi(e) {
3645
+ const t = gr(e);
3646
+ return typeof t == "function" ? t : e === "item" ? ui : li;
3631
3647
  }
3632
- function li(e) {
3633
- const { scopeId: t, items: n } = e, r = fe(t);
3648
+ function di(e) {
3649
+ const { scopeId: t, items: n } = e, r = pe(t);
3634
3650
  return () => {
3635
- const o = n.map((i) => A(oe, { component: i }));
3636
- return A(Re, { scope: r }, () => o);
3651
+ const o = n.map((i) => A(se, { component: i }));
3652
+ return A(Pe, { scope: r }, () => o);
3637
3653
  };
3638
3654
  }
3639
- const Kt = U(li, {
3655
+ const Kt = W(di, {
3640
3656
  props: ["scopeId", "items"]
3641
3657
  });
3642
- function fi(e) {
3643
- const { on: t, case: n, default: r } = e, o = re();
3658
+ function hi(e) {
3659
+ const { on: t, case: n, default: r } = e, o = oe();
3644
3660
  return () => {
3645
3661
  const i = o.getObjectToValue(t), s = n.map((c) => {
3646
3662
  const { value: l, items: d, scopeId: u } = c.props;
@@ -3655,50 +3671,50 @@ function fi(e) {
3655
3671
  const { items: c, scopeId: l } = r.props;
3656
3672
  s.push(A(Kt, { scopeId: l, items: c, key: "default" }));
3657
3673
  }
3658
- return A(xe, s);
3674
+ return A(De, s);
3659
3675
  };
3660
3676
  }
3661
- const di = U(fi, {
3677
+ const pi = W(hi, {
3662
3678
  props: ["case", "on", "default"]
3663
3679
  });
3664
- function hi(e, { slots: t }) {
3680
+ function mi(e, { slots: t }) {
3665
3681
  const { name: n = "fade", tag: r } = e;
3666
3682
  return () => A(
3667
- Jt,
3683
+ Yt,
3668
3684
  { name: n, tag: r },
3669
3685
  {
3670
3686
  default: t.default
3671
3687
  }
3672
3688
  );
3673
3689
  }
3674
- const pi = U(hi, {
3690
+ const gi = W(mi, {
3675
3691
  props: ["name", "tag"]
3676
3692
  });
3677
- function mi(e) {
3678
- const { content: t, r: n = 0 } = e, r = re(), o = n === 1 ? () => r.getObjectToValue(t) : () => t;
3679
- return () => lt(o());
3693
+ function vi(e) {
3694
+ const { content: t, r: n = 0 } = e, r = oe(), o = n === 1 ? () => r.getObjectToValue(t) : () => t;
3695
+ return () => ft(o());
3680
3696
  }
3681
- const gi = U(mi, {
3697
+ const yi = W(vi, {
3682
3698
  props: ["content", "r"]
3683
3699
  });
3684
- function vi(e) {
3700
+ function wi(e) {
3685
3701
  if (!e.router)
3686
3702
  throw new Error("Router config is not provided.");
3687
3703
  const { routes: t, kAlive: n = !1 } = e.router;
3688
3704
  return t.map(
3689
- (o) => Mn(o, n)
3705
+ (o) => Fn(o, n)
3690
3706
  );
3691
3707
  }
3692
- function Mn(e, t) {
3708
+ function Fn(e, t) {
3693
3709
  var l;
3694
3710
  const { server: n = !1, vueItem: r, scopeId: o } = e, i = () => {
3695
3711
  if (n)
3696
3712
  throw new Error("Server-side rendering is not supported yet.");
3697
3713
  return Promise.resolve(
3698
- yi(r, fe(o), t)
3714
+ Ei(r, pe(o), t)
3699
3715
  );
3700
3716
  }, s = (l = r.children) == null ? void 0 : l.map(
3701
- (d) => Mn(d, t)
3717
+ (d) => Fn(d, t)
3702
3718
  ), c = {
3703
3719
  ...r,
3704
3720
  children: s,
@@ -3706,28 +3722,28 @@ function Mn(e, t) {
3706
3722
  };
3707
3723
  return r.component.length === 0 && delete c.component, s === void 0 && delete c.children, c;
3708
3724
  }
3709
- function yi(e, t, n) {
3725
+ function Ei(e, t, n) {
3710
3726
  const { path: r, component: o } = e, i = A(
3711
- Re,
3727
+ Pe,
3712
3728
  { scope: t, key: r },
3713
- () => o.map((c) => A(oe, { component: c }))
3729
+ () => o.map((c) => A(se, { component: c }))
3714
3730
  );
3715
3731
  return n ? A(ar, null, () => i) : i;
3716
3732
  }
3717
- function wi(e, t) {
3718
- const { mode: n = "hash" } = t.router, r = n === "hash" ? So() : n === "memory" ? _o() : Sn();
3733
+ function _i(e, t) {
3734
+ const { mode: n = "hash" } = t.router, r = n === "hash" ? Oo() : n === "memory" ? bo() : bn();
3719
3735
  e.use(
3720
- ds({
3736
+ ps({
3721
3737
  history: r,
3722
- routes: vi(t)
3738
+ routes: wi(t)
3723
3739
  })
3724
3740
  );
3725
3741
  }
3726
- function Si(e, t) {
3727
- e.component("insta-ui", ei), e.component("vif", ni), e.component("vfor", si), e.component("match", di), e.component("ts-group", pi), e.component("content", gi), t.router && wi(e, t);
3742
+ function Oi(e, t) {
3743
+ e.component("insta-ui", ni), e.component("vif", oi), e.component("vfor", ai), e.component("match", pi), e.component("ts-group", gi), e.component("content", yi), t.router && _i(e, t);
3728
3744
  }
3729
3745
  export {
3730
- $e as convertDynamicProperties,
3731
- Si as install
3746
+ xe as convertDynamicProperties,
3747
+ Oi as install
3732
3748
  };
3733
3749
  //# sourceMappingURL=insta-ui.js.map