@kitbag/router 0.20.11 → 0.20.12

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,5 +1,5 @@
1
- import { markRaw as Ve, defineComponent as ve, h as ee, inject as ce, provide as Ir, onUnmounted as qe, toRefs as Hr, computed as I, reactive as _e, watch as ie, onServerPrefetch as Dr, defineAsyncComponent as $r, ref as ke, toValue as O, getCurrentInstance as qr } from "vue";
2
- class _r extends Error {
1
+ import { markRaw as Ve, defineComponent as ve, h as ee, inject as ce, provide as Hr, onUnmounted as qe, toRefs as Dr, computed as I, reactive as _e, watch as ie, onServerPrefetch as $r, defineAsyncComponent as qr, ref as ke, toValue as O, getCurrentInstance as _r } from "vue";
2
+ class Jr extends Error {
3
3
  /**
4
4
  * Constructs a new DuplicateParamsError instance with a message indicating the problematic parameter.
5
5
  * @param paramName - The name of the parameter that was duplicated.
@@ -11,44 +11,44 @@ class _r extends Error {
11
11
  function H(e) {
12
12
  return Array.isArray(e) ? e : [e];
13
13
  }
14
- function Tt(e, t) {
14
+ function Mt(e, t) {
15
15
  return e.filter((r) => t === r).length;
16
16
  }
17
17
  function Ae(...e) {
18
18
  const t = e.flatMap((r) => Array.isArray(r) ? r : Object.keys(r));
19
19
  for (const r of t)
20
- if (Tt(t, r) > 1)
21
- throw new _r(r);
20
+ if (Mt(t, r) > 1)
21
+ throw new Jr(r);
22
22
  }
23
23
  class z extends Error {
24
24
  }
25
25
  const Le = "[", Je = "]";
26
- function Jr(e) {
26
+ function Tr(e) {
27
27
  return e !== String && e !== Boolean && e !== Number && e !== Date;
28
28
  }
29
- function Tr(e) {
30
- return typeof e == "function" && Jr(e);
29
+ function Mr(e) {
30
+ return typeof e == "function" && Tr(e);
31
31
  }
32
32
  function Te(e) {
33
33
  return typeof e == "object" && "get" in e && typeof e.get == "function" && "set" in e && typeof e.set == "function";
34
34
  }
35
- function Mt(e) {
35
+ function Ft(e) {
36
36
  return typeof e == "string" || typeof e == "number" || typeof e == "boolean";
37
37
  }
38
- function Mr(e, t) {
38
+ function Fr(e, t) {
39
39
  return Te(e) ? { ...e, defaultValue: t ?? e.defaultValue } : {
40
40
  get: (r) => ue(r, e),
41
41
  set: (r) => Y(r, e),
42
42
  defaultValue: t
43
43
  };
44
44
  }
45
- function Fr(e) {
45
+ function Wr(e) {
46
46
  return Te(e) && e.defaultValue !== void 0;
47
47
  }
48
48
  function Jo(e, t) {
49
- return Mr(e, t);
49
+ return Fr(e, t);
50
50
  }
51
- function Wr(e) {
51
+ function Gr(e) {
52
52
  return e !== void 0;
53
53
  }
54
54
  function ge(e) {
@@ -58,7 +58,7 @@ function W(e) {
58
58
  return typeof e == "string" && e.length > 0;
59
59
  }
60
60
  let g = null;
61
- async function Gr() {
61
+ async function Qr() {
62
62
  const {
63
63
  ZodType: e,
64
64
  ZodString: t,
@@ -132,23 +132,23 @@ async function Gr() {
132
132
  ZodPromise: Ge
133
133
  };
134
134
  }
135
- function Qr(e) {
135
+ function zr(e) {
136
136
  return Object.values(e).some((t) => Object.values(t.host.params).some((r) => ze(r)) || Object.values(t.path.params).some((r) => ze(r)) || Object.values(t.query.params).some((r) => ze(r)));
137
137
  }
138
138
  function ze(e) {
139
139
  return ge(e) && "parse" in e && typeof e.parse == "function" && "~standard" in e && ge(e["~standard"]) && "vendor" in e["~standard"] && e["~standard"].vendor === "zod";
140
140
  }
141
- async function zr() {
141
+ async function Yr() {
142
142
  try {
143
- g = await Gr();
143
+ g = await Qr();
144
144
  } catch {
145
145
  throw new Error("Failed to initialize Zod");
146
146
  }
147
147
  }
148
- function Ft(e) {
148
+ function Wt(e) {
149
149
  return g ? e instanceof g.ZodType : !1;
150
150
  }
151
- function Wt(e) {
151
+ function Gt(e) {
152
152
  return {
153
153
  get: (t, { invalid: r }) => {
154
154
  try {
@@ -166,9 +166,9 @@ function Wt(e) {
166
166
  }
167
167
  };
168
168
  }
169
- const Yr = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
169
+ const Xr = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
170
170
  function he(e, t) {
171
- if (typeof t == "string" && Yr.test(t)) {
171
+ if (typeof t == "string" && Xr.test(t)) {
172
172
  const r = new Date(t);
173
173
  return isNaN(r.getTime()) ? t : r;
174
174
  }
@@ -295,13 +295,13 @@ function C(e, t) {
295
295
  throw new Error("Validation failed");
296
296
  return r.value;
297
297
  }
298
- function Xr(e) {
298
+ function Kr(e) {
299
299
  return ge(e) && "type" in e && typeof e.type == "string" && "~standard" in e && ge(e["~standard"]) && "vendor" in e["~standard"] && e["~standard"].vendor === "valibot";
300
300
  }
301
- function Gt(e) {
302
- return Xr(e);
303
- }
304
301
  function Qt(e) {
302
+ return Kr(e);
303
+ }
304
+ function zt(e) {
305
305
  return {
306
306
  get: (t, { invalid: r }) => {
307
307
  try {
@@ -319,9 +319,9 @@ function Qt(e) {
319
319
  }
320
320
  };
321
321
  }
322
- const Kr = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
322
+ const en = /^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}\.\d{3}Z$/;
323
323
  function Re(e, t) {
324
- if (typeof t == "string" && Kr.test(t)) {
324
+ if (typeof t == "string" && en.test(t)) {
325
325
  const r = new Date(t);
326
326
  return isNaN(r.getTime()) ? t : r;
327
327
  }
@@ -425,14 +425,14 @@ function rt(e, t) {
425
425
  throw new Error("Function schemas are not supported");
426
426
  return JSON.stringify(C(t, e));
427
427
  }
428
- function en(e, t) {
428
+ function tn(e, t) {
429
429
  return e[t] ?? String;
430
430
  }
431
431
  const j = {
432
432
  invalid: (e) => {
433
433
  throw new z(e);
434
434
  }
435
- }, zt = {
435
+ }, Yt = {
436
436
  get: (e) => e,
437
437
  set: (e, { invalid: t }) => {
438
438
  if (typeof e != "string")
@@ -464,7 +464,7 @@ const j = {
464
464
  throw t();
465
465
  return e.toString();
466
466
  }
467
- }, Yt = {
467
+ }, Xt = {
468
468
  get: (e, { invalid: t }) => {
469
469
  const r = new Date(e);
470
470
  if (isNaN(r.getTime()))
@@ -476,7 +476,7 @@ const j = {
476
476
  throw t();
477
477
  return e.toISOString();
478
478
  }
479
- }, Xt = {
479
+ }, Kt = {
480
480
  get: (e, { invalid: t }) => {
481
481
  try {
482
482
  return JSON.parse(e);
@@ -492,10 +492,10 @@ const j = {
492
492
  }
493
493
  }
494
494
  };
495
- function tn(e, t) {
495
+ function rn(e, t) {
496
496
  switch (typeof t) {
497
497
  case "string":
498
- return zt.get(e, j) === t;
498
+ return Yt.get(e, j) === t;
499
499
  case "number":
500
500
  return it.get(e, j) === t;
501
501
  case "boolean":
@@ -506,23 +506,23 @@ function tn(e, t) {
506
506
  }
507
507
  function ue(e, t, r = !1) {
508
508
  if (e === void 0 || !W(e)) {
509
- if (Fr(t))
509
+ if (Wr(t))
510
510
  return t.defaultValue;
511
511
  if (r)
512
512
  return;
513
513
  throw new z();
514
514
  }
515
515
  if (t === String)
516
- return zt.get(e, j);
516
+ return Yt.get(e, j);
517
517
  if (t === Boolean)
518
518
  return at.get(e, j);
519
519
  if (t === Number)
520
520
  return it.get(e, j);
521
521
  if (t === Date)
522
- return Yt.get(e, j);
523
- if (t === JSON)
524
522
  return Xt.get(e, j);
525
- if (Tr(t))
523
+ if (t === JSON)
524
+ return Kt.get(e, j);
525
+ if (Mr(t))
526
526
  return t(e, j);
527
527
  if (Te(t))
528
528
  return t.get(e, j);
@@ -531,12 +531,12 @@ function ue(e, t, r = !1) {
531
531
  return e;
532
532
  throw new z();
533
533
  }
534
- if (Mt(t)) {
535
- if (tn(e, t))
534
+ if (Ft(t)) {
535
+ if (rn(e, t))
536
536
  return t;
537
537
  throw new z();
538
538
  }
539
- return Ft(t) ? Wt(t).get(e, j) : Gt(t) ? Qt(t).get(e, j) : e;
539
+ return Wt(t) ? Gt(t).get(e, j) : Qt(t) ? zt(t).get(e, j) : e;
540
540
  }
541
541
  function nt(e, t, r = !1) {
542
542
  try {
@@ -547,7 +547,7 @@ function nt(e, t, r = !1) {
547
547
  throw n;
548
548
  }
549
549
  }
550
- function rn(e, t, r = !1) {
550
+ function nn(e, t, r = !1) {
551
551
  try {
552
552
  return Y(e, t, r);
553
553
  } catch (n) {
@@ -567,20 +567,20 @@ function Y(e, t, r = !1) {
567
567
  if (t === Number)
568
568
  return it.set(e, j);
569
569
  if (t === Date)
570
- return Yt.set(e, j);
571
- if (t === JSON)
572
570
  return Xt.set(e, j);
571
+ if (t === JSON)
572
+ return Kt.set(e, j);
573
573
  if (Te(t))
574
574
  return t.set(e, j);
575
- if (Mt(t)) {
575
+ if (Ft(t)) {
576
576
  if (t !== e)
577
577
  throw new z();
578
578
  return e.toString();
579
579
  }
580
- if (Ft(t))
581
- return Wt(t).set(e, j);
582
- if (Gt(t))
583
- return Qt(t).set(e, j);
580
+ if (Wt(t))
581
+ return Gt(t).set(e, j);
582
+ if (Qt(t))
583
+ return zt(t).set(e, j);
584
584
  try {
585
585
  return e.toString();
586
586
  } catch {
@@ -590,7 +590,7 @@ function Y(e, t, r = !1) {
590
590
  function ut(e) {
591
591
  return e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
592
592
  }
593
- function nn(e, t) {
593
+ function on(e, t) {
594
594
  const r = Array.from(e.matchAll(t));
595
595
  if (r.length === 0)
596
596
  return [e];
@@ -603,15 +603,15 @@ function nn(e, t) {
603
603
  }, []), s = e.slice(n);
604
604
  return s && o.push(s), o;
605
605
  }
606
- function on(e) {
606
+ function sn(e) {
607
607
  const t = ct(e.host.value);
608
608
  return new RegExp(`^${t}$`, "i");
609
609
  }
610
- function sn(e) {
610
+ function an(e) {
611
611
  const t = ct(e.path.value);
612
612
  return new RegExp(`^${t}$`, "i");
613
613
  }
614
- function an(e) {
614
+ function un(e) {
615
615
  const t = new URLSearchParams(e.query.value);
616
616
  return Array.from(t.entries()).filter(([, r]) => !pt(r)).map(([r, n]) => {
617
617
  const o = ct(n);
@@ -619,108 +619,108 @@ function an(e) {
619
619
  });
620
620
  }
621
621
  function ct(e) {
622
- return nn(e, new RegExp(Me, "g")).map((t) => t.startsWith(Le) ? Kt(t) : ut(t)).join("");
622
+ return on(e, new RegExp(Me, "g")).map((t) => t.startsWith(Le) ? er(t) : ut(t)).join("");
623
623
  }
624
- function Kt(e) {
625
- return e.replace(new RegExp(Me, "g"), fn);
624
+ function er(e) {
625
+ return e.replace(new RegExp(Me, "g"), pn);
626
626
  }
627
- function un(e, t) {
628
- const r = er(t);
629
- return e.replace(r, pn);
627
+ function cn(e, t) {
628
+ const r = tr(t);
629
+ return e.replace(r, dn);
630
630
  }
631
631
  function ft(e, t) {
632
- return dn(t).test(e.value);
632
+ return ln(t).test(e.value);
633
633
  }
634
634
  function pt(e) {
635
- return new RegExp(cn, "g").test(e);
635
+ return new RegExp(fn, "g").test(e);
636
636
  }
637
- const Me = `\\${Le}\\??([\\w-_]+)\\${Je}`, cn = `\\${Le}\\?([\\w-_]+)\\${Je}`, fn = ".*", pn = "(.*)";
637
+ const Me = `\\${Le}\\??([\\w-_]+)\\${Je}`, fn = `\\${Le}\\?([\\w-_]+)\\${Je}`, pn = ".*", dn = "(.*)";
638
638
  function dt(e) {
639
- const [t] = tr(e, new RegExp(Me, "g"));
639
+ const [t] = rr(e, new RegExp(Me, "g"));
640
640
  return t;
641
641
  }
642
- function er(e) {
642
+ function tr(e) {
643
643
  return new RegExp(`\\${Le}\\??${e}\\${Je}`, "g");
644
644
  }
645
- function dn(e) {
645
+ function ln(e) {
646
646
  return new RegExp(`\\${Le}\\?${e}\\${Je}`, "g");
647
647
  }
648
- function tr(e, t) {
648
+ function rr(e, t) {
649
649
  return Array.from(e.matchAll(t)).flatMap(([, ...n]) => n.map((o) => W(o) ? o : ""));
650
650
  }
651
- function ln(e = "", t = {}) {
651
+ function hn(e = "", t = {}) {
652
652
  return W(e) ? Array.from(e.matchAll(new RegExp(Me, "g"))).reduce((n, [o, s]) => {
653
653
  const i = dt(o);
654
654
  if (!i)
655
655
  return n;
656
- const u = en(t, i);
656
+ const u = tn(t, i);
657
657
  return Ae([i], n), n[s] = u, n;
658
658
  }, {}) : {};
659
659
  }
660
- function hn(e) {
660
+ function Rn(e) {
661
661
  return ge(e) && typeof e.value == "string";
662
662
  }
663
663
  function oe(e) {
664
- return e === void 0 ? X() : hn(e) ? e : X(e, {});
664
+ return e === void 0 ? X() : Rn(e) ? e : X(e, {});
665
665
  }
666
666
  function X(e, t) {
667
667
  return {
668
668
  value: e ?? "",
669
- params: ln(e, t)
669
+ params: hn(e, t)
670
670
  };
671
671
  }
672
- function rr(e, t) {
672
+ function nr(e, t) {
673
673
  Ae(e.params, t.params);
674
674
  const r = `${e.value}${t.value}`;
675
675
  return X(r, { ...e.params, ...t.params });
676
676
  }
677
- function Rn(e, t) {
678
- return rr(e, t);
677
+ function yn(e, t) {
678
+ return nr(e, t);
679
679
  }
680
- class yn extends Error {
680
+ class gn extends Error {
681
681
  constructor(t) {
682
682
  super(`Child property on meta for ${t} conflicts with the parent meta.`);
683
683
  }
684
684
  }
685
- function gn(e, t) {
686
- return mn(e, t), { ...e, ...t };
687
- }
688
685
  function mn(e, t) {
686
+ return wn(e, t), { ...e, ...t };
687
+ }
688
+ function wn(e, t) {
689
689
  const r = Object.keys(e).find((n) => n in t && typeof t[n] != typeof e[n]);
690
690
  if (r)
691
- throw new yn(r);
691
+ throw new gn(r);
692
692
  }
693
- function wn(e, t) {
693
+ function En(e, t) {
694
694
  Ae(e.params, t.params);
695
695
  const r = [e.value, t.value].filter(W).join("&");
696
696
  return X(r, { ...e.params, ...t.params });
697
697
  }
698
- function En(e, t) {
698
+ function vn(e, t) {
699
699
  return Ae(e, t), { ...e, ...t };
700
700
  }
701
- function nr(e) {
701
+ function or(e) {
702
702
  return "parent" in e && !!e.parent;
703
703
  }
704
- function or(e) {
704
+ function sr(e) {
705
705
  return "component" in e && !!e.component;
706
706
  }
707
707
  function kt(e) {
708
708
  return "props" in e && typeof e.props == "function";
709
709
  }
710
- function sr(e) {
710
+ function ar(e) {
711
711
  return "components" in e && !!e.components;
712
712
  }
713
713
  function Lt(e) {
714
714
  return "props" in e && typeof e.props == "object";
715
715
  }
716
- function ar(e, t) {
716
+ function ir(e, t) {
717
717
  return {
718
718
  ...t,
719
- path: rr(e.path, t.path),
720
- query: wn(e.query, t.query),
721
- meta: gn(e.meta, t.meta),
722
- state: En(e.state, t.state),
723
- hash: Rn(e.hash, t.hash),
719
+ path: nr(e.path, t.path),
720
+ query: En(e.query, t.query),
721
+ meta: mn(e.meta, t.meta),
722
+ state: vn(e.state, t.state),
723
+ hash: yn(e.hash, t.hash),
724
724
  hooks: [...e.hooks, ...t.hooks],
725
725
  matches: [...e.matches, t.matched],
726
726
  context: [...e.context, ...t.context],
@@ -731,7 +731,7 @@ function ar(e, t) {
731
731
  function G(e) {
732
732
  return typeof e != "string" ? !1 : /^(https?:\/\/|\/).*/g.test(e);
733
733
  }
734
- function ir(e) {
734
+ function ur(e) {
735
735
  return G(e) ? e : `/${e}`;
736
736
  }
737
737
  class Se extends Error {
@@ -739,7 +739,7 @@ class Se extends Error {
739
739
  super("Router not installed");
740
740
  }
741
741
  }
742
- class vn extends Error {
742
+ class An extends Error {
743
743
  /**
744
744
  * Constructs a new UseRouteInvalidError instance with a message that specifies both the given and expected route names.
745
745
  * This detailed error message aids in quickly identifying and resolving mismatches in route usage.
@@ -754,12 +754,12 @@ function lt() {
754
754
  let e = 0;
755
755
  return () => (++e).toString();
756
756
  }
757
- const An = lt()();
758
- function Sn(e) {
759
- return e === An;
757
+ const Sn = lt()();
758
+ function bn(e) {
759
+ return e === Sn;
760
760
  }
761
761
  const ht = lt();
762
- function ur(e) {
762
+ function cr(e) {
763
763
  return e === void 0 ? "" : e;
764
764
  }
765
765
  class te {
@@ -785,7 +785,7 @@ function Rt() {
785
785
  };
786
786
  }
787
787
  function me(e, t) {
788
- const r = ht(), n = ur(e.name), o = oe(e.path), s = oe(e.query), i = oe(e.hash), u = e.meta ?? {}, c = e.state ?? {}, l = e.context ?? [], { store: m, ...v } = Rt(), y = Ve({ id: r, meta: u, state: c, ...e, props: t }), w = {
788
+ const r = ht(), n = cr(e.name), o = oe(e.path), s = oe(e.query), i = oe(e.hash), u = e.meta ?? {}, c = e.state ?? {}, l = e.context ?? [], { store: m, ...v } = Rt(), y = Ve({ id: r, meta: u, state: c, ...e, props: t }), w = {
789
789
  id: r,
790
790
  matched: y,
791
791
  matches: [y],
@@ -801,24 +801,24 @@ function me(e, t) {
801
801
  host: X(),
802
802
  prefetch: e.prefetch,
803
803
  ...v
804
- }, x = nr(e) ? ar(e.parent, w) : w;
804
+ }, x = or(e) ? ir(e.parent, w) : w;
805
805
  return Ae(x.path.params, x.query.params, x.hash.params), x;
806
806
  }
807
- function cr(e) {
807
+ function fr(e) {
808
808
  return ve(() => () => ee("h1", e), {
809
809
  name: e,
810
810
  props: []
811
811
  });
812
812
  }
813
813
  function To(e) {
814
- const t = e.component ?? cr(e.type);
814
+ const t = e.component ?? fr(e.type);
815
815
  return {
816
816
  type: e.type,
817
817
  component: t
818
818
  };
819
819
  }
820
820
  function Mo(e) {
821
- const t = ht(), r = ur(e.name), n = oe(e.path), o = oe(e.query), s = oe(e.hash), i = e.meta ?? {}, u = oe(e.host), c = e.context ?? [], { store: l, onBeforeRouteEnter: m } = Rt(), v = Ve({ id: t, meta: {}, state: {}, ...e }), y = {
821
+ const t = ht(), r = cr(e.name), n = oe(e.path), o = oe(e.query), s = oe(e.hash), i = e.meta ?? {}, u = oe(e.host), c = e.context ?? [], { store: l, onBeforeRouteEnter: m } = Rt(), v = Ve({ id: t, meta: {}, state: {}, ...e }), y = {
822
822
  id: t,
823
823
  matched: v,
824
824
  matches: [v],
@@ -833,7 +833,7 @@ function Mo(e) {
833
833
  state: {},
834
834
  context: c,
835
835
  onBeforeRouteEnter: m
836
- }, w = nr(e) ? ar(e.parent, y) : y;
836
+ }, w = or(e) ? ir(e.parent, y) : y;
837
837
  return Ae(w.path.params, w.query.params, w.host.params, w.hash.params), w;
838
838
  }
839
839
  function Be() {
@@ -847,12 +847,12 @@ function Be() {
847
847
  return r;
848
848
  };
849
849
  }
850
- const bn = Be();
850
+ const Pn = Be();
851
851
  function yt(e) {
852
- const t = bn(e);
852
+ const t = Pn(e);
853
853
  return ({ increment: r = !1 } = {}) => {
854
854
  const n = ce(t, 0);
855
- return r && Ir(t, n + 1), n;
855
+ return r && Hr(t, n + 1), n;
856
856
  };
857
857
  }
858
858
  const fe = (e, t, r) => {
@@ -877,7 +877,7 @@ function Bt(e) {
877
877
  throw new Error(`Switch is not exhaustive for lifecycle: ${e}`);
878
878
  }
879
879
  }
880
- class fr {
880
+ class pr {
881
881
  onBeforeRouteEnter = /* @__PURE__ */ new Set();
882
882
  onBeforeRouteUpdate = /* @__PURE__ */ new Set();
883
883
  onBeforeRouteLeave = /* @__PURE__ */ new Set();
@@ -885,8 +885,8 @@ class fr {
885
885
  onAfterRouteUpdate = /* @__PURE__ */ new Set();
886
886
  onAfterRouteLeave = /* @__PURE__ */ new Set();
887
887
  }
888
- function Pn(e, t) {
889
- const r = new fr();
888
+ function Un(e, t) {
889
+ const r = new pr();
890
890
  return e.matches.forEach((n, o) => {
891
891
  n.onBeforeRouteEnter && fe(e, t, o) && H(n.onBeforeRouteEnter).forEach((s) => {
892
892
  process.env.NODE_ENV === "development" && console.warn("[vue-router] onBeforeRouteEnter is deprecated. Use router.onBeforeRouteEnter instead"), r.onBeforeRouteEnter.add(s);
@@ -899,8 +899,8 @@ function Pn(e, t) {
899
899
  });
900
900
  }), r;
901
901
  }
902
- function Un(e, t) {
903
- const r = new fr();
902
+ function kn(e, t) {
903
+ const r = new pr();
904
904
  return e.matches.forEach((n, o) => {
905
905
  n.onAfterRouteEnter && fe(e, t, o) && H(n.onAfterRouteEnter).forEach((s) => {
906
906
  process.env.NODE_ENV === "development" && console.warn("[vue-router] onAfterRouteEnter is deprecated. Use router.onAfterRouteEnter instead"), r.onAfterRouteEnter.add(s);
@@ -913,7 +913,7 @@ function Un(e, t) {
913
913
  });
914
914
  }), r;
915
915
  }
916
- function kn(e, t) {
916
+ function Ln(e, t) {
917
917
  const r = new te();
918
918
  return e.hooks.forEach((n, o) => {
919
919
  if (fe(e, t, o))
@@ -925,7 +925,7 @@ function kn(e, t) {
925
925
  return n.onBeforeRouteLeave.forEach((s) => r.onBeforeRouteLeave.add(s));
926
926
  }), r;
927
927
  }
928
- function Ln(e, t) {
928
+ function Bn(e, t) {
929
929
  const r = new te();
930
930
  return e.hooks.forEach((n, o) => {
931
931
  if (fe(e, t, o))
@@ -957,7 +957,7 @@ class gt extends Fe {
957
957
  super("Uncaught ContextAbortError"), this.response = { status: "ABORT" };
958
958
  }
959
959
  }
960
- function Bn(e, t, r) {
960
+ function xn(e, t, r) {
961
961
  const n = new te();
962
962
  return e.matches.forEach((o, s) => {
963
963
  fe(e, t, s) && r.onBeforeRouteEnter.forEach((i) => n.onBeforeRouteEnter.add(i)), de(e, t, s) && r.onBeforeRouteUpdate.forEach((i) => n.onBeforeRouteUpdate.add(i));
@@ -965,7 +965,7 @@ function Bn(e, t, r) {
965
965
  pe(e, t, s) && r.onBeforeRouteLeave.forEach((i) => n.onBeforeRouteLeave.add(i));
966
966
  }), n;
967
967
  }
968
- function xn(e, t, r) {
968
+ function Nn(e, t, r) {
969
969
  const n = new te();
970
970
  return e.matches.forEach((o, s) => {
971
971
  fe(e, t, s) && r.onAfterRouteEnter.forEach((i) => n.onAfterRouteEnter.add(i)), de(e, t, s) && r.onAfterRouteUpdate.forEach((i) => n.onAfterRouteUpdate.add(i));
@@ -973,7 +973,7 @@ function xn(e, t, r) {
973
973
  pe(e, t, s) && r.onAfterRouteLeave.forEach((i) => n.onAfterRouteLeave.add(i));
974
974
  }), n;
975
975
  }
976
- function pr() {
976
+ function dr() {
977
977
  let e = null;
978
978
  function t(n) {
979
979
  e = n;
@@ -986,7 +986,7 @@ function pr() {
986
986
  runWithContext: r
987
987
  };
988
988
  }
989
- function Nn() {
989
+ function Cn() {
990
990
  return { reject: (o) => {
991
991
  throw new K(o);
992
992
  }, push: (...o) => {
@@ -1002,14 +1002,14 @@ function Nn() {
1002
1002
  throw new gt();
1003
1003
  } };
1004
1004
  }
1005
- const dr = Be();
1006
- function Cn() {
1007
- const { setVueApp: e, runWithContext: t } = pr(), r = {
1005
+ const lr = Be();
1006
+ function Vn() {
1007
+ const { setVueApp: e, runWithContext: t } = dr(), r = {
1008
1008
  global: new te(),
1009
1009
  component: new te()
1010
- }, { reject: n, push: o, replace: s, abort: i } = Nn(), u = (a) => (r.global.onBeforeRouteEnter.add(a), () => r.global.onBeforeRouteEnter.delete(a)), c = (a) => (r.global.onBeforeRouteUpdate.add(a), () => r.global.onBeforeRouteUpdate.delete(a)), l = (a) => (r.global.onBeforeRouteLeave.add(a), () => r.global.onBeforeRouteLeave.delete(a)), m = (a) => (r.global.onAfterRouteEnter.add(a), () => r.global.onAfterRouteEnter.delete(a)), v = (a) => (r.global.onAfterRouteUpdate.add(a), () => r.global.onAfterRouteUpdate.delete(a)), y = (a) => (r.global.onAfterRouteLeave.add(a), () => r.global.onAfterRouteLeave.delete(a)), w = (a) => (r.global.onError.add(a), () => r.global.onError.delete(a));
1010
+ }, { reject: n, push: o, replace: s, abort: i } = Cn(), u = (a) => (r.global.onBeforeRouteEnter.add(a), () => r.global.onBeforeRouteEnter.delete(a)), c = (a) => (r.global.onBeforeRouteUpdate.add(a), () => r.global.onBeforeRouteUpdate.delete(a)), l = (a) => (r.global.onBeforeRouteLeave.add(a), () => r.global.onBeforeRouteLeave.delete(a)), m = (a) => (r.global.onAfterRouteEnter.add(a), () => r.global.onAfterRouteEnter.delete(a)), v = (a) => (r.global.onAfterRouteUpdate.add(a), () => r.global.onAfterRouteUpdate.delete(a)), y = (a) => (r.global.onAfterRouteLeave.add(a), () => r.global.onAfterRouteLeave.delete(a)), w = (a) => (r.global.onError.add(a), () => r.global.onError.delete(a));
1011
1011
  async function x({ to: a, from: d }) {
1012
- const { global: U, component: R } = r, f = Pn(a, d), h = kn(a, d), k = Bn(a, d, U), L = [
1012
+ const { global: U, component: R } = r, f = Un(a, d), h = Ln(a, d), k = xn(a, d, U), L = [
1013
1013
  ...k.onBeforeRouteEnter,
1014
1014
  ...f.onBeforeRouteEnter,
1015
1015
  ...h.onBeforeRouteEnter,
@@ -1047,7 +1047,7 @@ function Cn() {
1047
1047
  };
1048
1048
  }
1049
1049
  async function A({ to: a, from: d }) {
1050
- const { global: U, component: R } = r, f = Un(a, d), h = Ln(a, d), k = xn(a, d, U), L = [
1050
+ const { global: U, component: R } = r, f = kn(a, d), h = Bn(a, d), k = Nn(a, d, U), L = [
1051
1051
  ...R.onAfterRouteLeave,
1052
1052
  ...f.onAfterRouteLeave,
1053
1053
  ...h.onAfterRouteLeave,
@@ -1128,8 +1128,8 @@ function Cn() {
1128
1128
  setVueApp: e
1129
1129
  };
1130
1130
  }
1131
- function lr(e) {
1132
- const t = dr(e);
1131
+ function hr(e) {
1132
+ const t = lr(e);
1133
1133
  return () => {
1134
1134
  const r = ce(t);
1135
1135
  if (!r)
@@ -1138,20 +1138,20 @@ function lr(e) {
1138
1138
  };
1139
1139
  }
1140
1140
  function xt(e, t) {
1141
- const r = yt(e), n = lr(e);
1141
+ const r = yt(e), n = hr(e);
1142
1142
  return (o) => {
1143
1143
  const s = r(), u = n().addComponentBeforeRouteHook({ lifecycle: t, hook: o, depth: s - 1 });
1144
1144
  return qe(u), u;
1145
1145
  };
1146
1146
  }
1147
1147
  function Nt(e, t) {
1148
- const r = yt(e), n = lr(e);
1148
+ const r = yt(e), n = hr(e);
1149
1149
  return (o) => {
1150
1150
  const s = r(), u = n().addComponentAfterRouteHook({ lifecycle: t, hook: o, depth: s - 1 });
1151
1151
  return qe(u), u;
1152
1152
  };
1153
1153
  }
1154
- function Vn(e) {
1154
+ function Zn(e) {
1155
1155
  const t = xt(e, "onBeforeRouteLeave"), r = xt(e, "onBeforeRouteUpdate"), n = Nt(e, "onAfterRouteLeave"), o = Nt(e, "onAfterRouteUpdate");
1156
1156
  return {
1157
1157
  onBeforeRouteLeave: t,
@@ -1160,9 +1160,9 @@ function Vn(e) {
1160
1160
  onAfterRouteUpdate: o
1161
1161
  };
1162
1162
  }
1163
- const hr = Be();
1164
- function Zn(e) {
1165
- const t = hr(e);
1163
+ const Rr = Be();
1164
+ function On(e) {
1165
+ const t = Rr(e);
1166
1166
  return () => {
1167
1167
  const r = ce(t);
1168
1168
  if (!r)
@@ -1170,9 +1170,9 @@ function Zn(e) {
1170
1170
  return r;
1171
1171
  };
1172
1172
  }
1173
- const Rr = Be();
1174
- function On(e) {
1175
- const t = Rr(e);
1173
+ const yr = Be();
1174
+ function jn(e) {
1175
+ const t = yr(e);
1176
1176
  return () => {
1177
1177
  const r = ce(t);
1178
1178
  if (!r)
@@ -1188,11 +1188,11 @@ function xe(e) {
1188
1188
  return t;
1189
1189
  };
1190
1190
  }
1191
- const yr = /* @__PURE__ */ Symbol("isRouterRouteSymbol");
1192
- function jn(e, t) {
1193
- return typeof t == "object" && t !== null && yr in t && e in t;
1191
+ const gr = /* @__PURE__ */ Symbol("isRouterRouteSymbol");
1192
+ function In(e, t) {
1193
+ return typeof t == "object" && t !== null && gr in t && e in t;
1194
1194
  }
1195
- function In(e, t, r) {
1195
+ function Hn(e, t, r) {
1196
1196
  function n(E, p, a) {
1197
1197
  if (typeof E == "object") {
1198
1198
  const U = {
@@ -1216,7 +1216,7 @@ function In(e, t, r) {
1216
1216
  }, i = (...E) => {
1217
1217
  const p = new URLSearchParams(t.query);
1218
1218
  p.delete(...E), n({}, { query: p });
1219
- }, { id: u, matched: c, matches: l, hooks: m, name: v, hash: y, href: w } = Hr(t), x = I({
1219
+ }, { id: u, matched: c, matches: l, hooks: m, name: v, hash: y, href: w } = Dr(t), x = I({
1220
1220
  get() {
1221
1221
  return new Proxy(t.params, {
1222
1222
  set(E, p, a) {
@@ -1271,12 +1271,12 @@ function In(e, t, r) {
1271
1271
  name: v,
1272
1272
  href: w,
1273
1273
  update: n,
1274
- [yr]: !0,
1274
+ [gr]: !0,
1275
1275
  [e]: !0
1276
1276
  });
1277
1277
  }
1278
1278
  function mt(e) {
1279
- return (t, r, { exact: n } = {}) => jn(e, t) ? r === void 0 ? !0 : n ? t.matched.name === r : t.matches.map((o) => o.name).includes(r) : !1;
1279
+ return (t, r, { exact: n } = {}) => In(e, t) ? r === void 0 ? !0 : n ? t.matched.name === r : t.matches.map((o) => o.name).includes(r) : !1;
1280
1280
  }
1281
1281
  function We(e) {
1282
1282
  const t = xe(e), r = mt(e);
@@ -1286,16 +1286,16 @@ function We(e) {
1286
1286
  if (!n)
1287
1287
  return;
1288
1288
  if (!r(s.route, n, o))
1289
- throw new vn(n, s.route.name);
1289
+ throw new An(n, s.route.name);
1290
1290
  }
1291
1291
  return ie(s.route, i, { immediate: !0, deep: !0 }), s.route;
1292
1292
  };
1293
1293
  }
1294
1294
  function wt(e) {
1295
- const t = We(e), r = xe(e), n = On(e), o = yt(e), s = Zn(e);
1295
+ const t = We(e), r = xe(e), n = jn(e), o = yt(e), s = On(e);
1296
1296
  return ve((i, u) => {
1297
1297
  const c = t(), l = r(), m = n(), v = o({ increment: !0 });
1298
- Dr(async () => {
1298
+ $r(async () => {
1299
1299
  await l.start();
1300
1300
  });
1301
1301
  const { getRouteComponents: y } = s(), w = I(() => {
@@ -1321,9 +1321,9 @@ function wt(e) {
1321
1321
  props: ["name"]
1322
1322
  });
1323
1323
  }
1324
- const gr = Be();
1325
- function mr(e) {
1326
- const t = gr(e);
1324
+ const mr = Be();
1325
+ function wr(e) {
1326
+ const t = mr(e);
1327
1327
  return () => {
1328
1328
  const r = ce(t);
1329
1329
  if (!r)
@@ -1331,35 +1331,35 @@ function mr(e) {
1331
1331
  return r;
1332
1332
  };
1333
1333
  }
1334
- const Hn = "lazy", Dn = {
1334
+ const Dn = "lazy", $n = {
1335
1335
  components: !0,
1336
1336
  props: !1
1337
1337
  };
1338
1338
  function Ce(e) {
1339
1339
  return ["eager", "lazy", "intent"].includes(e);
1340
1340
  }
1341
- function wr({ routerPrefetch: e, routePrefetch: t, linkPrefetch: r }, n) {
1341
+ function Er({ routerPrefetch: e, routePrefetch: t, linkPrefetch: r }, n) {
1342
1342
  const o = Ye(r, n), s = Ye(t, n), i = Ye(e, n), u = [
1343
1343
  o,
1344
1344
  s,
1345
1345
  i,
1346
- Dn[n],
1347
- Hn
1346
+ $n[n],
1347
+ Dn
1348
1348
  ].reduce((c, l) => Ce(c) ? c : c === !0 && Ce(l) ? l : c === !0 && !Ce(l) ? c : c === void 0 ? l : c, void 0);
1349
1349
  return Ce(u) ? u : !1;
1350
1350
  }
1351
1351
  function Ye(e, t) {
1352
1352
  return ge(e) ? e[t] : e;
1353
1353
  }
1354
- const $n = $r(() => new Promise((e) => {
1354
+ const qn = qr(() => new Promise((e) => {
1355
1355
  e({ default: { template: "foo" } });
1356
1356
  }));
1357
1357
  function Ct(e) {
1358
- return e.name === $n.name && "__asyncLoader" in e;
1358
+ return e.name === qn.name && "__asyncLoader" in e;
1359
1359
  }
1360
- const Er = /* @__PURE__ */ Symbol("visibilityObserver");
1361
- function qn(e) {
1362
- const t = ce(Er);
1360
+ const vr = /* @__PURE__ */ Symbol("visibilityObserver");
1361
+ function _n(e) {
1362
+ const t = ce(vr);
1363
1363
  if (!t)
1364
1364
  throw new Se();
1365
1365
  return ie(e, (n, o) => {
@@ -1377,10 +1377,10 @@ function Vt(e, t, r) {
1377
1377
  e.value && e.value.removeEventListener(t, r);
1378
1378
  });
1379
1379
  }
1380
- function _n(e) {
1381
- const t = mr(e);
1380
+ function Jn(e) {
1381
+ const t = wr(e);
1382
1382
  return (r) => {
1383
- const n = /* @__PURE__ */ new Map(), o = ke(), { getPrefetchProps: s, setPrefetchProps: i } = t(), { isElementVisible: u } = qn(o), c = () => {
1383
+ const n = /* @__PURE__ */ new Map(), o = ke(), { getPrefetchProps: s, setPrefetchProps: i } = t(), { isElementVisible: u } = _n(o), c = () => {
1384
1384
  const v = Array.from(n.values()).reduce((y, w) => (Object.assign(y, w), y), {});
1385
1385
  i(v);
1386
1386
  };
@@ -1395,7 +1395,7 @@ function _n(e) {
1395
1395
  v && m("intent", v, y);
1396
1396
  }
1397
1397
  function m(v, y, w) {
1398
- Jn(v, y, w), n.has(v) || n.set(v, s(v, y, w));
1398
+ Tn(v, y, w), n.has(v) || n.set(v, s(v, y, w));
1399
1399
  }
1400
1400
  return {
1401
1401
  element: o,
@@ -1403,12 +1403,12 @@ function _n(e) {
1403
1403
  };
1404
1404
  };
1405
1405
  }
1406
- function Jn(e, t, r) {
1406
+ function Tn(e, t, r) {
1407
1407
  t.matches.forEach((n) => {
1408
- wr({
1408
+ Er({
1409
1409
  ...r,
1410
1410
  routePrefetch: n.prefetch
1411
- }, "components") === e && (or(n) && Ct(n.component) && n.component.__asyncLoader(), sr(n) && Object.values(n.components).forEach((s) => {
1411
+ }, "components") === e && (sr(n) && Ct(n.component) && n.component.__asyncLoader(), ar(n) && Object.values(n.components).forEach((s) => {
1412
1412
  Ct(s) && s.__asyncLoader();
1413
1413
  }));
1414
1414
  });
@@ -1422,8 +1422,8 @@ function Et(...e) {
1422
1422
  }
1423
1423
  return t;
1424
1424
  }
1425
- function vr(e) {
1426
- const t = xe(e), r = _n(e), n = mt(e);
1425
+ function Ar(e) {
1426
+ const t = xe(e), r = Jn(e), n = mt(e);
1427
1427
  return (o, s = {}, i = {}) => {
1428
1428
  const u = t(), c = I(() => {
1429
1429
  const a = O(o);
@@ -1435,7 +1435,7 @@ function vr(e) {
1435
1435
  if (G(a))
1436
1436
  return a;
1437
1437
  console.error(new Error("Failed to resolve route in RouterLink."));
1438
- }), m = I(() => n(u.route) && u.route.matches.some((a) => a.id === c.value?.id)), v = I(() => u.route.id === c.value?.id), y = I(() => n(u.route) && Wr(c.value) && u.route.href.startsWith(c.value.href)), w = I(() => u.route.href === c.value?.href), x = I(() => !!l.value && u.isExternal(l.value)), A = I(() => {
1438
+ }), m = I(() => n(u.route) && u.route.matches.some((a) => a.id === c.value?.id)), v = I(() => u.route.id === c.value?.id), y = I(() => n(u.route) && Gr(c.value) && u.route.href.startsWith(c.value.href)), w = I(() => u.route.href === c.value?.href), x = I(() => !!l.value && u.isExternal(l.value)), A = I(() => {
1439
1439
  const a = O(o);
1440
1440
  return typeof a != "string" || G(a) ? O(s) : O(i);
1441
1441
  }), { element: b, commit: S } = r(() => ({
@@ -1466,8 +1466,8 @@ function vr(e) {
1466
1466
  };
1467
1467
  };
1468
1468
  }
1469
- function Ar(e) {
1470
- const t = xe(e), r = vr(e);
1469
+ function Sr(e) {
1470
+ const t = xe(e), r = Ar(e);
1471
1471
  return ve((n, o) => {
1472
1472
  const s = t(), i = I(() => S(n.to)), u = I(() => E(n.to)), c = I(() => {
1473
1473
  const { to: a, ...d } = n;
@@ -1519,7 +1519,7 @@ function Ar(e) {
1519
1519
  props: ["to", "prefetch", "query", "hash", "replace", "state"]
1520
1520
  });
1521
1521
  }
1522
- function Tn(e) {
1522
+ function Mn(e) {
1523
1523
  const t = We(e);
1524
1524
  return (r, n = String) => {
1525
1525
  const o = t(), s = I({
@@ -1550,13 +1550,13 @@ function Tn(e) {
1550
1550
  };
1551
1551
  };
1552
1552
  }
1553
- function Mn(e) {
1553
+ function Fn(e) {
1554
1554
  const t = typeof e == "object" ? e.key : e, {
1555
1555
  onBeforeRouteLeave: r,
1556
1556
  onBeforeRouteUpdate: n,
1557
1557
  onAfterRouteLeave: o,
1558
1558
  onAfterRouteUpdate: s
1559
- } = Vn(t), i = mt(t), u = wt(t), c = Ar(t), l = We(t), m = xe(t), v = Tn(t), y = vr(t);
1559
+ } = Zn(t), i = mt(t), u = wt(t), c = Sr(t), l = We(t), m = xe(t), v = Mn(t), y = Ar(t);
1560
1560
  return {
1561
1561
  onBeforeRouteLeave: r,
1562
1562
  onBeforeRouteUpdate: n,
@@ -1577,17 +1577,17 @@ function vt() {
1577
1577
  const je = { template: "<div>This is component</div>" }, At = me({
1578
1578
  name: "parentA",
1579
1579
  path: "/parentA/[paramA]"
1580
- }), Sr = me({
1580
+ }), br = me({
1581
1581
  parent: At,
1582
1582
  name: "parentA.childA",
1583
1583
  path: "/childA/[?paramB]"
1584
- }), Fn = me({
1584
+ }), Wn = me({
1585
1585
  parent: At,
1586
1586
  name: "parentA.childB",
1587
1587
  path: "/childB/[paramD]",
1588
1588
  component: je
1589
- }), Wn = me({
1590
- parent: Sr,
1589
+ }), Gn = me({
1590
+ parent: br,
1591
1591
  name: "parentA.childA.grandChildA",
1592
1592
  path: "/[paramC]",
1593
1593
  component: je
@@ -1622,7 +1622,7 @@ function Fo(e) {
1622
1622
  ...r
1623
1623
  };
1624
1624
  }
1625
- function Gn(e) {
1625
+ function Qn(e) {
1626
1626
  return {
1627
1627
  get: (t, { invalid: r }) => {
1628
1628
  for (const n of e) {
@@ -1634,7 +1634,7 @@ function Gn(e) {
1634
1634
  },
1635
1635
  set: (t, { invalid: r }) => {
1636
1636
  for (const n of e) {
1637
- const o = rn(t, n);
1637
+ const o = nn(t, n);
1638
1638
  if (o !== void 0)
1639
1639
  return o;
1640
1640
  }
@@ -1642,11 +1642,11 @@ function Gn(e) {
1642
1642
  }
1643
1643
  };
1644
1644
  }
1645
- const Qn = {
1645
+ const zn = {
1646
1646
  separator: ","
1647
1647
  };
1648
1648
  function Wo(e, t = {}) {
1649
- const { separator: r } = { ...Qn, ...t }, n = Gn(e);
1649
+ const { separator: r } = { ...zn, ...t }, n = Qn(e);
1650
1650
  return {
1651
1651
  get: (o, s) => o.split(r).map((i) => n.get(i, s)),
1652
1652
  set: (o, s) => {
@@ -1656,11 +1656,11 @@ function Wo(e, t = {}) {
1656
1656
  }
1657
1657
  };
1658
1658
  }
1659
- const zn = {
1659
+ const Yn = {
1660
1660
  separator: ","
1661
1661
  };
1662
1662
  function Go(e, t = {}) {
1663
- const { separator: r } = { ...zn, ...t };
1663
+ const { separator: r } = { ...Yn, ...t };
1664
1664
  return {
1665
1665
  get: (n) => {
1666
1666
  const o = n.split(r);
@@ -1702,7 +1702,7 @@ function se(e, t) {
1702
1702
  }
1703
1703
  }
1704
1704
  }
1705
- var Ie = "beforeunload", Yn = "hashchange", br = "popstate";
1705
+ var Ie = "beforeunload", Xn = "hashchange", Pr = "popstate";
1706
1706
  function Zt(e) {
1707
1707
  e === void 0 && (e = {});
1708
1708
  var t = e, r = t.window, n = r === void 0 ? document.defaultView : r, o = n.history;
@@ -1744,7 +1744,7 @@ function Zt(e) {
1744
1744
  E(R);
1745
1745
  }
1746
1746
  }
1747
- n.addEventListener(br, u);
1747
+ n.addEventListener(Pr, u);
1748
1748
  var c = _.Pop, l = s(), m = l[0], v = l[1], y = Ee(), w = Ee();
1749
1749
  m == null && (m = 0, o.replaceState(re({}, o.state, {
1750
1750
  idx: m
@@ -1841,7 +1841,7 @@ function Zt(e) {
1841
1841
  };
1842
1842
  return U;
1843
1843
  }
1844
- function Xn(e) {
1844
+ function Kn(e) {
1845
1845
  e === void 0 && (e = {});
1846
1846
  var t = e, r = t.window, n = r === void 0 ? document.defaultView : r, o = n.history;
1847
1847
  function s() {
@@ -1882,7 +1882,7 @@ function Xn(e) {
1882
1882
  p(f);
1883
1883
  }
1884
1884
  }
1885
- n.addEventListener(br, u), n.addEventListener(Yn, function() {
1885
+ n.addEventListener(Pr, u), n.addEventListener(Xn, function() {
1886
1886
  var f = s(), h = f[1];
1887
1887
  ae(h) !== ae(v) && u();
1888
1888
  });
@@ -2121,12 +2121,12 @@ function Ue(e) {
2121
2121
  }
2122
2122
  return t;
2123
2123
  }
2124
- function Kn(e, t, r) {
2124
+ function eo(e, t, r) {
2125
2125
  const n = _e({ ...t }), o = (u) => {
2126
2126
  Object.assign(n, {
2127
2127
  ...u
2128
2128
  });
2129
- }, s = n, i = In(e, s, r);
2129
+ }, s = n, i = Hn(e, s, r);
2130
2130
  return {
2131
2131
  currentRoute: s,
2132
2132
  routerRoute: i,
@@ -2134,9 +2134,9 @@ function Kn(e, t, r) {
2134
2134
  };
2135
2135
  }
2136
2136
  function J(e) {
2137
- return !e.startsWith("http") ? to(e) : eo(e);
2137
+ return !e.startsWith("http") ? ro(e) : to(e);
2138
2138
  }
2139
- function eo(e) {
2139
+ function to(e) {
2140
2140
  const { protocol: t, host: r, pathname: n, search: o, searchParams: s, hash: i } = new URL(e, e);
2141
2141
  return {
2142
2142
  protocol: t,
@@ -2147,7 +2147,7 @@ function eo(e) {
2147
2147
  hash: i
2148
2148
  };
2149
2149
  }
2150
- function to(e) {
2150
+ function ro(e) {
2151
2151
  const { pathname: t, search: r, searchParams: n, hash: o } = new URL(e, "https://localhost");
2152
2152
  return {
2153
2153
  pathname: t,
@@ -2156,13 +2156,13 @@ function to(e) {
2156
2156
  hash: o
2157
2157
  };
2158
2158
  }
2159
- function ro(e) {
2159
+ function no(e) {
2160
2160
  return (t) => {
2161
2161
  const { host: r } = J(t);
2162
2162
  return !(r === void 0 || r === e);
2163
2163
  };
2164
2164
  }
2165
- function no() {
2165
+ function oo() {
2166
2166
  return { reject: (o) => {
2167
2167
  throw new K(o);
2168
2168
  }, push: (...o) => {
@@ -2186,8 +2186,8 @@ function It(e) {
2186
2186
  return t;
2187
2187
  }
2188
2188
  }
2189
- function oo() {
2190
- const { setVueApp: e, runWithContext: t } = pr(), r = _e(/* @__PURE__ */ new Map()), { push: n, replace: o, reject: s } = no(), i = (A, b, S) => b.matches.filter((E) => wr({ ...S, routePrefetch: E.prefetch }, "props") === A).flatMap((E) => w(E)).reduce((E, { id: p, name: a, props: d }) => {
2189
+ function so() {
2190
+ const { setVueApp: e, runWithContext: t } = dr(), r = _e(/* @__PURE__ */ new Map()), { push: n, replace: o, reject: s } = oo(), i = (A, b, S) => b.matches.filter((E) => Er({ ...S, routePrefetch: E.prefetch }, "props") === A).flatMap((E) => w(E)).reduce((E, { id: p, name: a, props: d }) => {
2191
2191
  if (!d)
2192
2192
  return E;
2193
2193
  const U = y(p, a, b), R = t(() => It(() => d(b, {
@@ -2289,8 +2289,8 @@ function oo() {
2289
2289
  setVueApp: e
2290
2290
  };
2291
2291
  }
2292
- function so({ mode: e, listener: t }) {
2293
- const r = ao(e), n = (c, l) => {
2292
+ function ao({ mode: e, listener: t }) {
2293
+ const r = io(e), n = (c, l) => {
2294
2294
  if (l?.replace) {
2295
2295
  r.replace(c, l.state);
2296
2296
  return;
@@ -2313,7 +2313,7 @@ function so({ mode: e, listener: t }) {
2313
2313
  }
2314
2314
  };
2315
2315
  }
2316
- function ao(e = "auto") {
2316
+ function io(e = "auto") {
2317
2317
  switch (e) {
2318
2318
  case "auto":
2319
2319
  return vt() ? Zt() : Ot();
@@ -2322,7 +2322,7 @@ function ao(e = "auto") {
2322
2322
  case "memory":
2323
2323
  return Ot();
2324
2324
  case "hash":
2325
- return Xn();
2325
+ return Kn();
2326
2326
  default:
2327
2327
  const t = e;
2328
2328
  throw new Error(`Switch is not exhaustive for mode: ${t}`);
@@ -2357,10 +2357,10 @@ function St(e) {
2357
2357
  [Symbol.iterator]: () => t[Symbol.iterator]()
2358
2358
  };
2359
2359
  }
2360
- function io(e) {
2360
+ function uo(e) {
2361
2361
  const t = (s) => {
2362
2362
  const i = e.find((u) => u.type === s);
2363
- return Ve(i?.component ?? cr(s));
2363
+ return Ve(i?.component ?? fr(s));
2364
2364
  }, r = (s) => {
2365
2365
  const i = Ve(t(s)), u = {
2366
2366
  id: ht(),
@@ -2394,39 +2394,39 @@ function io(e) {
2394
2394
  getRejectionRoute: r
2395
2395
  };
2396
2396
  }
2397
- class uo extends Error {
2397
+ class co extends Error {
2398
2398
  constructor() {
2399
2399
  super("initialUrl must be set if window.location is unavailable");
2400
2400
  }
2401
2401
  }
2402
- function co(e) {
2402
+ function fo(e) {
2403
2403
  if (e)
2404
2404
  return e;
2405
2405
  if (vt())
2406
2406
  return window.location.toString();
2407
- throw new uo();
2407
+ throw new co();
2408
2408
  }
2409
- function Pr(e) {
2409
+ function Ur(e) {
2410
2410
  return !!e && typeof e == "object";
2411
2411
  }
2412
2412
  const $e = !0;
2413
- function fo(e, t, r) {
2414
- if (Pr(e) && t in e) {
2413
+ function po(e, t, r) {
2414
+ if (Ur(e) && t in e) {
2415
2415
  const n = e[t];
2416
2416
  return typeof n == "string" ? ue(n, r, $e) : n;
2417
2417
  }
2418
2418
  return ue(void 0, r, $e);
2419
2419
  }
2420
- function Ur(e, t) {
2420
+ function kr(e, t) {
2421
2421
  const r = {};
2422
2422
  for (const [n, o] of Object.entries(e)) {
2423
- const s = fo(t, n, o);
2423
+ const s = po(t, n, o);
2424
2424
  r[n] = s;
2425
2425
  }
2426
2426
  return r;
2427
2427
  }
2428
- function po(e, t, r) {
2429
- if (Pr(e) && t in e) {
2428
+ function lo(e, t, r) {
2429
+ if (Ur(e) && t in e) {
2430
2430
  const n = e[t];
2431
2431
  return Y(n, r, $e);
2432
2432
  }
@@ -2435,12 +2435,12 @@ function po(e, t, r) {
2435
2435
  const Ht = (e, t) => {
2436
2436
  const r = {};
2437
2437
  for (const [n, o] of Object.entries(e)) {
2438
- const s = po(t, n, o);
2438
+ const s = lo(t, n, o);
2439
2439
  r[n] = s;
2440
2440
  }
2441
2441
  return r;
2442
2442
  };
2443
- function lo() {
2443
+ function ho() {
2444
2444
  const e = _e(/* @__PURE__ */ new Map()), t = vt() ? i() : null, r = (u) => {
2445
2445
  e.set(u, !1), t?.observe(u);
2446
2446
  }, n = (u) => {
@@ -2462,37 +2462,37 @@ function lo() {
2462
2462
  isElementVisible: s
2463
2463
  };
2464
2464
  }
2465
- class ho extends Error {
2465
+ class Ro extends Error {
2466
2466
  constructor(t) {
2467
2467
  super(`Route not found: "${t}"`);
2468
2468
  }
2469
2469
  }
2470
- function kr(e, t, r) {
2471
- const n = un(t.value, r), o = Kt(n), [s] = tr(e, new RegExp(o, "g"));
2470
+ function Lr(e, t, r) {
2471
+ const n = cn(t.value, r), o = er(n), [s] = rr(e, new RegExp(o, "g"));
2472
2472
  return s;
2473
2473
  }
2474
- function Lr(e, t, r, n) {
2474
+ function Br(e, t, r, n) {
2475
2475
  const o = ft(t, r), s = Y(n, t.params[r], o);
2476
- return e.replace(er(r), s);
2476
+ return e.replace(tr(r), s);
2477
2477
  }
2478
- function Br({ protocol: e, host: t, pathname: r, search: n, searchParams: o, hash: s }) {
2478
+ function xr({ protocol: e, host: t, pathname: r, search: n, searchParams: o, hash: s }) {
2479
2479
  const i = new URL("https://localhost");
2480
2480
  e && (i.protocol = e), t && (i.host = t), r && (i.pathname = r), o ? i.search = new URLSearchParams(o).toString() : n && (i.search = n), s && (i.hash = s);
2481
2481
  const u = i.toString().replace(/^https:\/\/localhost\/*/, "/");
2482
- return ir(u);
2482
+ return ur(u);
2483
2483
  }
2484
- function Ro(e, t = {}) {
2485
- const { params: r = {}, query: n } = t, o = go(e.query, r), s = Et(o, n), i = Dt(e.path, r), u = e.hash.value ? Dt(e.hash, r) : t.hash, c = yo(e.host, r), { protocol: l, host: m } = J(c);
2486
- return Br({ protocol: l, host: m, pathname: i, searchParams: s, hash: u });
2484
+ function yo(e, t = {}) {
2485
+ const { params: r = {}, query: n } = t, o = mo(e.query, r), s = Et(o, n), i = Dt(e.path, r), u = e.hash.value ? Dt(e.hash, r) : t.hash, c = go(e.host, r), { protocol: l, host: m } = J(c);
2486
+ return xr({ protocol: l, host: m, pathname: i, searchParams: s, hash: u });
2487
2487
  }
2488
- function yo(e, t) {
2488
+ function go(e, t) {
2489
2489
  const r = e.value && !e.value.startsWith("http") ? `https://${e.value}` : e.value;
2490
- return Object.keys(e.params).reduce((n, o) => Lr(n, e, o, t[o]), r);
2490
+ return Object.keys(e.params).reduce((n, o) => Br(n, e, o, t[o]), r);
2491
2491
  }
2492
2492
  function Dt(e, t) {
2493
- return Object.keys(e.params).reduce((r, n) => Lr(r, e, n, t[n]), e.value);
2493
+ return Object.keys(e.params).reduce((r, n) => Br(r, e, n, t[n]), e.value);
2494
2494
  }
2495
- function go(e, t) {
2495
+ function mo(e, t) {
2496
2496
  const r = new URLSearchParams(e.value);
2497
2497
  if (!e.value)
2498
2498
  return r;
@@ -2505,7 +2505,7 @@ function go(e, t) {
2505
2505
  }
2506
2506
  return r;
2507
2507
  }
2508
- const mo = (e, t) => {
2508
+ const wo = (e, t) => {
2509
2509
  try {
2510
2510
  bt(e, t);
2511
2511
  } catch {
@@ -2517,19 +2517,19 @@ const mo = (e, t) => {
2517
2517
  return {
2518
2518
  ...Xe(e.host, `${r}//${n}`),
2519
2519
  ...Xe(e.path, o),
2520
- ...wo(e.query, s),
2520
+ ...Eo(e.query, s),
2521
2521
  ...Xe(e.hash, i)
2522
2522
  };
2523
2523
  };
2524
2524
  function Xe(e, t) {
2525
2525
  const r = {}, n = decodeURIComponent(t);
2526
2526
  for (const [o, s] of Object.entries(e.params)) {
2527
- const i = kr(n, e, o), u = ft(e, o), c = ue(i, s, u);
2527
+ const i = Lr(n, e, o), u = ft(e, o), c = ue(i, s, u);
2528
2528
  r[o] = c;
2529
2529
  }
2530
2530
  return r;
2531
2531
  }
2532
- function wo(e, t) {
2532
+ function Eo(e, t) {
2533
2533
  const r = {}, n = new URLSearchParams(e.value), o = new URLSearchParams(t);
2534
2534
  for (const [s, i] of Array.from(n.entries())) {
2535
2535
  const u = dt(i);
@@ -2540,8 +2540,8 @@ function wo(e, t) {
2540
2540
  }
2541
2541
  return r;
2542
2542
  }
2543
- function Eo(e, t = {}, r = {}) {
2544
- const n = Ro(e, {
2543
+ function vo(e, t = {}, r = {}) {
2544
+ const n = yo(e, {
2545
2545
  params: t,
2546
2546
  query: r.query,
2547
2547
  hash: r.hash
@@ -2554,20 +2554,20 @@ function Eo(e, t = {}, r = {}) {
2554
2554
  hooks: e.hooks,
2555
2555
  query: St(o),
2556
2556
  params: bt(e, n),
2557
- state: Ur(e.state, r.state),
2557
+ state: kr(e.state, r.state),
2558
2558
  hash: s,
2559
2559
  href: n
2560
2560
  };
2561
2561
  }
2562
- const vo = (e) => "name" in e.matched && !!e.matched.name, Ao = (e, t) => {
2563
- const { protocol: r, host: n } = J(t), o = !n, s = !e.host.value;
2564
- return o ? s : on(e).test(`${r}//${n}`);
2562
+ const Ao = (e) => "name" in e.matched && !!e.matched.name, $t = (e, t) => {
2563
+ const { protocol: r, host: n } = J(t), o = !n;
2564
+ return e.host.value ? sn(e).test(`${r}//${n}`) : o;
2565
2565
  }, So = (e, t) => {
2566
2566
  const { pathname: r } = J(t);
2567
- return sn(e).test(r);
2567
+ return an(e).test(r);
2568
2568
  }, bo = (e, t) => {
2569
2569
  const { search: r } = J(t);
2570
- return an(e).every((o) => o.test(r));
2570
+ return un(e).every((o) => o.test(r));
2571
2571
  }, ot = (e, t) => {
2572
2572
  const { hash: r } = J(t), { value: n } = e.hash;
2573
2573
  return W(n) ? `#${n.replace(/^#*/, "")}`.toLowerCase() === r.toLowerCase() : !0;
@@ -2575,25 +2575,24 @@ const vo = (e) => "name" in e.matched && !!e.matched.name, Ao = (e, t) => {
2575
2575
  function Po(e) {
2576
2576
  const { searchParams: t, pathname: r } = J(e), n = -1, o = 1;
2577
2577
  return (s, i) => {
2578
- const u = qt(s, t), c = $t(s, r), l = qt(i, t), m = $t(i, r);
2579
- return s.depth > i.depth ? n : s.depth < i.depth ? o : u + c > l + m ? n : u + c < l + m ? o : ot(s, e) ? n : ot(i, e) ? o : 0;
2578
+ const u = _t(s, t), c = qt(s, r), l = _t(i, t), m = qt(i, r);
2579
+ return s.depth > i.depth ? n : s.depth < i.depth ? o : u + c > l + m ? n : u + c < l + m ? o : $t(s, e) ? n : $t(i, e) ? o : ot(s, e) ? n : ot(i, e) ? o : 0;
2580
2580
  };
2581
2581
  }
2582
- function $t(e, t) {
2583
- const r = Object.keys(e.path.params).filter((o) => ft(e.path, o)).map((o) => o), n = r.filter((o) => kr(t, e.path, o) === void 0);
2582
+ function qt(e, t) {
2583
+ const r = Object.keys(e.path.params).filter((o) => ft(e.path, o)).map((o) => o), n = r.filter((o) => Lr(t, e.path, o) === void 0);
2584
2584
  return r.length - n.length;
2585
2585
  }
2586
- function qt(e, t) {
2586
+ function _t(e, t) {
2587
2587
  const r = new URLSearchParams(t), n = new URLSearchParams(e.query.value), o = Array.from(n.keys()), s = o.filter((i) => !r.has(i));
2588
2588
  return o.length - s.length;
2589
2589
  }
2590
2590
  const Uo = [
2591
- vo,
2592
2591
  Ao,
2593
2592
  So,
2594
2593
  bo,
2595
2594
  ot,
2596
- mo
2595
+ wo
2597
2596
  ];
2598
2597
  function ko(e, t) {
2599
2598
  const r = Po(t);
@@ -2612,14 +2611,14 @@ function Lo(e, t, r) {
2612
2611
  hooks: o.hooks,
2613
2612
  query: St(s),
2614
2613
  params: bt(o, t),
2615
- state: Ur(o.state, r),
2614
+ state: kr(o.state, r),
2616
2615
  hash: i,
2617
- href: ir(t)
2616
+ href: ur(t)
2618
2617
  };
2619
2618
  }
2620
- function _t(e, t) {
2619
+ function Jt(e, t) {
2621
2620
  const r = typeof e == "string" ? J(e) : e, n = typeof t == "string" ? J(t) : t, o = r.searchParams ?? new URLSearchParams(r.search), s = n.searchParams ?? new URLSearchParams(n.search);
2622
- return Br({
2621
+ return xr({
2623
2622
  protocol: W(n.protocol) ? n.protocol : r.protocol,
2624
2623
  host: W(n.host) ? n.host : r.host,
2625
2624
  pathname: W(n.pathname) ? n.pathname : r.pathname,
@@ -2648,7 +2647,7 @@ class xo extends Error {
2648
2647
  function No(e) {
2649
2648
  const t = e.map(({ name: r }) => r);
2650
2649
  for (const r of t)
2651
- if (Tt(t, r) > 1)
2650
+ if (Mt(t, r) > 1)
2652
2651
  throw new xo(r);
2653
2652
  }
2654
2653
  class Co extends Error {
@@ -2683,12 +2682,12 @@ function jo(e = {}, t = []) {
2683
2682
  }), r;
2684
2683
  }
2685
2684
  function Io(e, { match: t, name: r, component: n }) {
2686
- const o = mr(e), s = We(e);
2685
+ const o = wr(e), s = We(e);
2687
2686
  return ve({
2688
2687
  name: "PropsWrapper",
2689
2688
  expose: [],
2690
2689
  setup() {
2691
- const i = qr(), u = o(), c = s();
2690
+ const i = _r(), u = o(), c = s();
2692
2691
  return () => {
2693
2692
  const l = u.getProps(t.id, r, c);
2694
2693
  return l instanceof Error ? "" : st(l) ? i?.suspense ? ee(Do, { component: n, props: l }) : ee(Ho, { component: n, props: l }) : ee(n, l);
@@ -2725,21 +2724,21 @@ function $o(e) {
2725
2724
  }
2726
2725
  function qo(e, t) {
2727
2726
  const r = wt(e);
2728
- return sr(t) ? Jt(e, t, t.components) : or(t) ? Jt(e, t, { default: t.component }) : { default: r };
2727
+ return ar(t) ? Tt(e, t, t.components) : sr(t) ? Tt(e, t, { default: t.component }) : { default: r };
2729
2728
  }
2730
- function Jt(e, t, r) {
2729
+ function Tt(e, t, r) {
2731
2730
  return Object.fromEntries(
2732
2731
  Object.entries(r).map(([n, o]) => [n, Io(e, { match: t, name: n, component: o })])
2733
2732
  );
2734
2733
  }
2735
- const xr = /* @__PURE__ */ Symbol();
2734
+ const Nr = /* @__PURE__ */ Symbol();
2736
2735
  function Qo(e, t, r = []) {
2737
- const o = t?.isGlobalRouter ?? !0 ? xr : /* @__PURE__ */ Symbol(), s = [
2736
+ const o = t?.isGlobalRouter ?? !0 ? Nr : /* @__PURE__ */ Symbol(), s = [
2738
2737
  ...r.flatMap((P) => P.rejections),
2739
2738
  ...t?.rejections ?? []
2740
- ], i = Oo(e, r, t?.base), u = Cn();
2739
+ ], i = Oo(e, r, t?.base), u = Vn();
2741
2740
  u.addGlobalRouteHooks(jo(t, r));
2742
- const c = lt(), l = oo(), m = $o(o), v = lo(), y = so({
2741
+ const c = lt(), l = so(), m = $o(o), v = ho(), y = ao({
2743
2742
  mode: t?.historyMode,
2744
2743
  listener: ({ location: P }) => {
2745
2744
  const V = ae(P);
@@ -2752,7 +2751,7 @@ function Qo(e, t, r = []) {
2752
2751
  async function x(P, V = {}) {
2753
2752
  const T = c();
2754
2753
  y.stopListening();
2755
- const M = w(P, V) ?? U("NotFound"), Z = Vr(T), D = await u.runBeforeRouteHooks({ to: M, from: Z });
2754
+ const M = w(P, V) ?? U("NotFound"), Z = Zr(T), D = await u.runBeforeRouteHooks({ to: M, from: Z });
2756
2755
  switch (D.status) {
2757
2756
  // On abort do nothing
2758
2757
  case "ABORT":
@@ -2825,21 +2824,21 @@ function Qo(e, t, r = []) {
2825
2824
  const b = (P, V = {}, T = {}) => {
2826
2825
  const M = i.find((Z) => Z.name === P);
2827
2826
  if (!M)
2828
- throw new ho(P);
2829
- return Eo(M, V, T);
2827
+ throw new Ro(P);
2828
+ return vo(M, V, T);
2830
2829
  }, S = (P, V, T) => {
2831
2830
  if (G(P)) {
2832
- const ne = { ...V }, Ne = _t(P, {
2831
+ const ne = { ...V }, Ne = Jt(P, {
2833
2832
  searchParams: ne.query,
2834
2833
  hash: ne.hash
2835
2834
  });
2836
2835
  return x(Ne, ne);
2837
2836
  }
2838
2837
  if (typeof P == "string") {
2839
- const { replace: ne, ...Ne } = { ...T }, Or = { ...V }, Qe = b(P, Or, Ne), jr = Ht({ ...Qe.matched.state }, { ...Qe.state, ...Ne.state });
2840
- return x(Qe.href, { replace: ne, state: jr });
2838
+ const { replace: ne, ...Ne } = { ...T }, jr = { ...V }, Qe = b(P, jr, Ne), Ir = Ht({ ...Qe.matched.state }, { ...Qe.state, ...Ne.state });
2839
+ return x(Qe.href, { replace: ne, state: Ir });
2841
2840
  }
2842
- const { replace: M, ...Z } = { ...V }, D = Ht({ ...P.matched.state }, { ...P.state, ...Z.state }), le = _t(P.href, {
2841
+ const { replace: M, ...Z } = { ...V }, D = Ht({ ...P.matched.state }, { ...P.state, ...Z.state }), le = Jt(P.href, {
2843
2842
  searchParams: Z.query,
2844
2843
  hash: Z.hash
2845
2844
  });
@@ -2857,24 +2856,24 @@ function Qo(e, t, r = []) {
2857
2856
  return S(P, M);
2858
2857
  }, p = (P) => {
2859
2858
  a(P);
2860
- }, { setRejection: a, rejection: d, getRejectionRoute: U } = io(s), R = U("NotFound"), { currentRoute: f, routerRoute: h, updateRoute: k } = Kn(o, R, S), L = co(t?.initialUrl), B = y.location.state, { host: N } = J(L), $ = ro(N);
2859
+ }, { setRejection: a, rejection: d, getRejectionRoute: U } = uo(s), R = U("NotFound"), { currentRoute: f, routerRoute: h, updateRoute: k } = eo(o, R, S), L = fo(t?.initialUrl), B = y.location.state, { host: N } = J(L), $ = no(N);
2861
2860
  let q = !1;
2862
- const be = ke(!1), { promise: Ge, resolve: Nr } = Promise.withResolvers();
2861
+ const be = ke(!1), { promise: Ge, resolve: Cr } = Promise.withResolvers();
2863
2862
  async function Pt() {
2864
2863
  if (q)
2865
2864
  return Ge;
2866
- q = !0, Qr(i) && await zr(), await x(L, { replace: !0, state: B }), y.startListening(), Nr(), be.value = !0;
2865
+ q = !0, zr(i) && await Yr(), await x(L, { replace: !0, state: B }), y.startListening(), Cr(), be.value = !0;
2867
2866
  }
2868
- function Cr() {
2867
+ function Vr() {
2869
2868
  y.stopListening();
2870
2869
  }
2871
- function Vr(P) {
2872
- return Sn(P) ? null : { ...f };
2873
- }
2874
2870
  function Zr(P) {
2871
+ return bn(P) ? null : { ...f };
2872
+ }
2873
+ function Or(P) {
2875
2874
  u.setVueApp(P), l.setVueApp(P);
2876
- const V = wt(o), T = Ar(o);
2877
- P.component("RouterView", V), P.component("RouterLink", T), P.provide(Rr(o), d), P.provide(dr(o), u), P.provide(gr(o), l), P.provide(hr(o), m), P.provide(Er, v), P.provide(o, Ut), Pt();
2875
+ const V = wt(o), T = Sr(o);
2876
+ P.component("RouterView", V), P.component("RouterLink", T), P.provide(yr(o), d), P.provide(lr(o), u), P.provide(mr(o), l), P.provide(Rr(o), m), P.provide(vr, v), P.provide(o, Ut), Pt();
2878
2877
  }
2879
2878
  const Ut = {
2880
2879
  route: h,
@@ -2887,7 +2886,7 @@ function Qo(e, t, r = []) {
2887
2886
  forward: y.forward,
2888
2887
  back: y.back,
2889
2888
  go: y.go,
2890
- install: Zr,
2889
+ install: Or,
2891
2890
  isExternal: $,
2892
2891
  onBeforeRouteEnter: u.onBeforeRouteEnter,
2893
2892
  onBeforeRouteUpdate: u.onBeforeRouteUpdate,
@@ -2899,37 +2898,37 @@ function Qo(e, t, r = []) {
2899
2898
  prefetch: t?.prefetch,
2900
2899
  start: Pt,
2901
2900
  started: be,
2902
- stop: Cr,
2901
+ stop: Vr,
2903
2902
  key: o
2904
2903
  };
2905
2904
  return Ut;
2906
2905
  }
2907
- const zo = X, Yo = X, Xo = X, Q = Mn(xr), Ko = Q.onBeforeRouteLeave, es = Q.onBeforeRouteUpdate, ts = Q.onAfterRouteLeave, rs = Q.onAfterRouteUpdate, ns = Q.isRoute, os = Q.RouterView, ss = Q.RouterLink, as = Q.useRoute, is = Q.useRouter, us = Q.useQueryValue, cs = Q.useLink;
2906
+ const zo = X, Yo = X, Xo = X, Q = Fn(Nr), Ko = Q.onBeforeRouteLeave, es = Q.onBeforeRouteUpdate, ts = Q.onAfterRouteLeave, rs = Q.onAfterRouteUpdate, ns = Q.isRoute, os = Q.RouterView, ss = Q.RouterLink, as = Q.useRoute, is = Q.useRouter, us = Q.useQueryValue, cs = Q.useLink;
2908
2907
  export {
2909
- _r as DuplicateParamsError,
2910
- yn as MetaPropertyConflict,
2908
+ Jr as DuplicateParamsError,
2909
+ gn as MetaPropertyConflict,
2911
2910
  ss as RouterLink,
2912
2911
  Se as RouterNotInstalledError,
2913
2912
  os as RouterView,
2914
- vn as UseRouteInvalidError,
2913
+ An as UseRouteInvalidError,
2915
2914
  Wo as arrayOf,
2916
- ir as asUrl,
2917
- ar as combineRoutes,
2915
+ ur as asUrl,
2916
+ ir as combineRoutes,
2918
2917
  Mo as createExternalRoute,
2919
- Mr as createParam,
2918
+ Fr as createParam,
2920
2919
  To as createRejection,
2921
2920
  me as createRoute,
2922
2921
  Qo as createRouter,
2923
- Mn as createRouterAssets,
2922
+ Fn as createRouterAssets,
2924
2923
  Fo as createRouterPlugin,
2925
2924
  Yo as host,
2926
2925
  ns as isRoute,
2927
2926
  G as isUrl,
2928
- or as isWithComponent,
2927
+ sr as isWithComponent,
2929
2928
  kt as isWithComponentProps,
2930
2929
  Lt as isWithComponentPropsRecord,
2931
- sr as isWithComponents,
2932
- nr as isWithParent,
2930
+ ar as isWithComponents,
2931
+ or as isWithParent,
2933
2932
  ts as onAfterRouteLeave,
2934
2933
  rs as onAfterRouteUpdate,
2935
2934
  Ko as onBeforeRouteLeave,
@@ -2937,7 +2936,7 @@ export {
2937
2936
  zo as path,
2938
2937
  Xo as query,
2939
2938
  Go as tupleOf,
2940
- Gn as unionOf,
2939
+ Qn as unionOf,
2941
2940
  cs as useLink,
2942
2941
  us as useQueryValue,
2943
2942
  as as useRoute,