@stonecrop/desktop 0.2.44 → 0.2.45

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.
package/dist/desktop.js CHANGED
@@ -1,11 +1,11 @@
1
- import { defineComponent as X, ref as P, onMounted as Be, openBlock as I, createElementBlock as V, normalizeClass as Se, createElementVNode as M, Fragment as Ne, renderList as Ce, toDisplayString as ue, createCommentVNode as ye, withDirectives as Ze, vShow as on, computed as R, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as wo, markRaw as $e, inject as se, onBeforeMount as Nr, shallowRef as Cr, toRaw as et, unref as k, shallowReactive as Ir, watch as H, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as In, useTemplateRef as Nt, normalizeStyle as ce, renderSlot as ve, createVNode as Et, withCtx as kt, createTextVNode as Eo, onBeforeUnmount as Ar, readonly as Tr, customRef as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
1
+ import { defineComponent as X, ref as I, onMounted as Be, openBlock as C, createElementBlock as j, normalizeClass as Se, createElementVNode as B, Fragment as Ne, renderList as Ce, toDisplayString as ue, createCommentVNode as ye, withDirectives as Ze, vShow as on, computed as T, createBlock as xe, resolveDynamicComponent as rn, mergeProps as sn, effectScope as wo, markRaw as $e, inject as se, onBeforeMount as Nr, shallowRef as Cr, toRaw as et, unref as k, shallowReactive as Ir, watch as F, nextTick as Re, hasInjectionContext as Pr, getCurrentInstance as We, reactive as ke, h as _o, provide as ft, isRef as tt, isReactive as an, toRef as ht, watchEffect as Dr, getCurrentScope as xt, onScopeDispose as St, toRefs as In, useTemplateRef as Nt, normalizeStyle as ce, renderSlot as ve, createVNode as Et, withCtx as kt, createTextVNode as Eo, onBeforeUnmount as Ar, readonly as Tr, customRef as Rr, resolveComponent as Vr, withKeys as ct, vModelText as jr } from "vue";
2
2
  const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr = ["onClick"], Ur = { class: "dropdown-container" }, Hr = { class: "dropdown" }, Fr = ["onclick"], zr = ["href"], Gr = { class: "dropdown-item" }, qr = /* @__PURE__ */ X({
3
3
  __name: "ActionSet",
4
4
  props: {
5
5
  elements: {}
6
6
  },
7
7
  setup(e) {
8
- const t = P(e.elements), n = P(!1), o = P(null), r = P(!1), s = P(!1);
8
+ const t = I(e.elements), n = I(!1), o = I(null), r = I(!1), s = I(!1);
9
9
  Be(() => {
10
10
  i();
11
11
  });
@@ -22,17 +22,17 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
22
22
  const d = !t.value[u].show;
23
23
  i(), t.value[u].show = d;
24
24
  };
25
- return (u, d) => (I(), V("div", {
25
+ return (u, d) => (C(), j("div", {
26
26
  class: Se([{ "open-set": n.value, "hovered-and-closed": s.value }, "action-set collapse"]),
27
27
  onMouseover: a,
28
28
  onMouseleave: c
29
29
  }, [
30
- M("div", Lr, [
31
- M("div", {
30
+ B("div", Lr, [
31
+ B("div", {
32
32
  id: "chevron",
33
33
  onClick: d[0] || (d[0] = (p) => s.value = !s.value)
34
34
  }, d[1] || (d[1] = [
35
- M("svg", {
35
+ B("svg", {
36
36
  class: "leftBar",
37
37
  version: "1.1",
38
38
  id: "Layer_1",
@@ -45,9 +45,9 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
45
45
  width: "50",
46
46
  height: "50"
47
47
  }, [
48
- M("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
48
+ B("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
49
49
  ], -1),
50
- M("svg", {
50
+ B("svg", {
51
51
  class: "rightBar",
52
52
  version: "1.1",
53
53
  id: "Layer_1",
@@ -60,39 +60,39 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
60
60
  width: "50",
61
61
  height: "50"
62
62
  }, [
63
- M("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
63
+ B("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
64
64
  ], -1)
65
65
  ]))
66
66
  ]),
67
- d[2] || (d[2] = M("div", { style: { "margin-right": "30px" } }, null, -1)),
68
- (I(!0), V(Ne, null, Ce(t.value, (p, f) => (I(), V("div", {
67
+ d[2] || (d[2] = B("div", { style: { "margin-right": "30px" } }, null, -1)),
68
+ (C(!0), j(Ne, null, Ce(t.value, (p, f) => (C(), j("div", {
69
69
  class: "action-element",
70
70
  key: p.label
71
71
  }, [
72
- p.elementType == "button" ? (I(), V("button", {
72
+ p.elementType == "button" ? (C(), j("button", {
73
73
  key: 0,
74
74
  onclick: p.action,
75
75
  class: "button-default"
76
76
  }, ue(p.label), 9, Mr)) : ye("", !0),
77
- p.elementType == "dropdown" ? (I(), V("div", Br, [
78
- M("button", {
77
+ p.elementType == "dropdown" ? (C(), j("div", Br, [
78
+ B("button", {
79
79
  class: "button-default",
80
- onClick: (h) => l(f)
80
+ onClick: (m) => l(f)
81
81
  }, ue(p.label), 9, Wr),
82
- Ze(M("div", Ur, [
83
- M("div", Hr, [
84
- (I(!0), V(Ne, null, Ce(p.actions, (h) => (I(), V("div", {
85
- key: h.label
82
+ Ze(B("div", Ur, [
83
+ B("div", Hr, [
84
+ (C(!0), j(Ne, null, Ce(p.actions, (m) => (C(), j("div", {
85
+ key: m.label
86
86
  }, [
87
- h.action != null ? (I(), V("button", {
87
+ m.action != null ? (C(), j("button", {
88
88
  key: 0,
89
- onclick: h.action,
89
+ onclick: m.action,
90
90
  class: "dropdown-item"
91
- }, ue(h.label), 9, Fr)) : h.link != null ? (I(), V("a", {
91
+ }, ue(m.label), 9, Fr)) : m.link != null ? (C(), j("a", {
92
92
  key: 1,
93
- href: h.link
93
+ href: m.link
94
94
  }, [
95
- M("button", Gr, ue(h.label), 1)
95
+ B("button", Gr, ue(m.label), 1)
96
96
  ], 8, zr)) : ye("", !0)
97
97
  ]))), 128))
98
98
  ])
@@ -110,7 +110,7 @@ const Lr = { class: "action-menu-icon" }, Mr = ["onclick"], Br = { key: 1 }, Wr
110
110
  return n;
111
111
  }, Jr = /* @__PURE__ */ ln(qr, [["__scopeId", "data-v-4fb5c934"]]), Kr = {};
112
112
  function Yr(e, t) {
113
- return I(), V("dialog");
113
+ return C(), j("dialog");
114
114
  }
115
115
  const Qr = /* @__PURE__ */ ln(Kr, [["render", Yr]]), Xr = (e, t) => {
116
116
  const n = e.__vccOpts || e;
@@ -128,13 +128,13 @@ const Zr = { class: "aform" }, es = /* @__PURE__ */ X({
128
128
  },
129
129
  emits: ["update:modelValue"],
130
130
  setup(e, { emit: t }) {
131
- const n = t, o = P(e.data || {}), r = (i) => {
131
+ const n = t, o = I(e.data || {}), r = (i) => {
132
132
  let a = {};
133
133
  for (const [c, l] of Object.entries(i))
134
134
  ["component", "fieldtype"].includes(c) || (a[c] = l), c === "rows" && l && l.length === 0 && (a.rows = o.value[i.fieldname]);
135
135
  return a;
136
- }, s = R({
137
- get: () => e.modelValue.map((i, a) => R({
136
+ }, s = T({
137
+ get: () => e.modelValue.map((i, a) => T({
138
138
  get() {
139
139
  return i.value;
140
140
  },
@@ -145,8 +145,8 @@ const Zr = { class: "aform" }, es = /* @__PURE__ */ X({
145
145
  set: () => {
146
146
  }
147
147
  });
148
- return (i, a) => (I(), V("form", Zr, [
149
- (I(!0), V(Ne, null, Ce(i.modelValue, (c, l) => (I(), xe(rn(c.component), sn({
148
+ return (i, a) => (C(), j("form", Zr, [
149
+ (C(!0), j(Ne, null, Ce(i.modelValue, (c, l) => (C(), xe(rn(c.component), sn({
150
150
  key: l,
151
151
  schema: c,
152
152
  modelValue: s.value[l].value,
@@ -505,7 +505,7 @@ function ms(e, t, n, o) {
505
505
  }, 4e4);
506
506
  }
507
507
  }
508
- function U(e, t) {
508
+ function H(e, t) {
509
509
  const n = "🍍 " + e;
510
510
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, t) : t === "error" ? console.error(n) : t === "warn" ? console.warn(n) : console.log(n);
511
511
  }
@@ -514,29 +514,29 @@ function dn(e) {
514
514
  }
515
515
  function Io() {
516
516
  if (!("clipboard" in navigator))
517
- return U("Your browser doesn't support the Clipboard API", "error"), !0;
517
+ return H("Your browser doesn't support the Clipboard API", "error"), !0;
518
518
  }
519
519
  function Po(e) {
520
- return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (U('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
520
+ return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (H('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
521
521
  }
522
522
  async function vs(e) {
523
523
  if (!Io())
524
524
  try {
525
- await navigator.clipboard.writeText(JSON.stringify(e.state.value)), U("Global state copied to clipboard.");
525
+ await navigator.clipboard.writeText(JSON.stringify(e.state.value)), H("Global state copied to clipboard.");
526
526
  } catch (t) {
527
527
  if (Po(t))
528
528
  return;
529
- U("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
529
+ H("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
530
530
  }
531
531
  }
532
532
  async function gs(e) {
533
533
  if (!Io())
534
534
  try {
535
- Do(e, JSON.parse(await navigator.clipboard.readText())), U("Global state pasted from clipboard.");
535
+ Do(e, JSON.parse(await navigator.clipboard.readText())), H("Global state pasted from clipboard.");
536
536
  } catch (t) {
537
537
  if (Po(t))
538
538
  return;
539
- U("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
539
+ H("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
540
540
  }
541
541
  }
542
542
  async function ys(e) {
@@ -545,7 +545,7 @@ async function ys(e) {
545
545
  type: "text/plain;charset=utf-8"
546
546
  }), "pinia-state.json");
547
547
  } catch (t) {
548
- U("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
548
+ H("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
549
549
  }
550
550
  }
551
551
  let ae;
@@ -570,9 +570,9 @@ async function ws(e) {
570
570
  if (!t)
571
571
  return;
572
572
  const { text: n, file: o } = t;
573
- Do(e, JSON.parse(n)), U(`Global state imported from "${o.name}".`);
573
+ Do(e, JSON.parse(n)), H(`Global state imported from "${o.name}".`);
574
574
  } catch (t) {
575
- U("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
575
+ H("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
576
576
  }
577
577
  }
578
578
  function Do(e, t) {
@@ -660,7 +660,7 @@ function $s(e) {
660
660
  }
661
661
  }
662
662
  let Ae = !0;
663
- const bt = [], Ee = "pinia:mutations", z = "pinia", { assign: Os } = Object, $t = (e) => "🍍 " + e;
663
+ const bt = [], Ee = "pinia:mutations", G = "pinia", { assign: Os } = Object, $t = (e) => "🍍 " + e;
664
664
  function xs(e, t) {
665
665
  cn({
666
666
  id: "dev.esm.pinia",
@@ -671,12 +671,12 @@ function xs(e, t) {
671
671
  componentStateTypes: bt,
672
672
  app: e
673
673
  }, (n) => {
674
- typeof n.now != "function" && U("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
674
+ typeof n.now != "function" && H("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
675
675
  id: Ee,
676
676
  label: "Pinia 🍍",
677
677
  color: 15064968
678
678
  }), n.addInspector({
679
- id: z,
679
+ id: G,
680
680
  label: "Pinia 🍍",
681
681
  icon: "storage",
682
682
  treeFilterPlaceholder: "Search stores",
@@ -691,7 +691,7 @@ function xs(e, t) {
691
691
  {
692
692
  icon: "content_paste",
693
693
  action: async () => {
694
- await gs(t), n.sendInspectorTree(z), n.sendInspectorState(z);
694
+ await gs(t), n.sendInspectorTree(G), n.sendInspectorState(G);
695
695
  },
696
696
  tooltip: "Replace the state with the content of your clipboard"
697
697
  },
@@ -705,7 +705,7 @@ function xs(e, t) {
705
705
  {
706
706
  icon: "folder_open",
707
707
  action: async () => {
708
- await ws(t), n.sendInspectorTree(z), n.sendInspectorState(z);
708
+ await ws(t), n.sendInspectorTree(G), n.sendInspectorState(G);
709
709
  },
710
710
  tooltip: "Import the state from a JSON file"
711
711
  }
@@ -716,7 +716,7 @@ function xs(e, t) {
716
716
  tooltip: 'Reset the state (with "$reset")',
717
717
  action: (o) => {
718
718
  const r = t._s.get(o);
719
- r ? typeof r.$reset != "function" ? U(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), U(`Store "${o}" reset.`)) : U(`Cannot reset "${o}" store because it wasn't found.`, "warn");
719
+ r ? typeof r.$reset != "function" ? H(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), H(`Store "${o}" reset.`)) : H(`Cannot reset "${o}" store because it wasn't found.`, "warn");
720
720
  }
721
721
  }
722
722
  ]
@@ -760,22 +760,22 @@ function xs(e, t) {
760
760
  });
761
761
  }
762
762
  }), n.on.getInspectorTree((o) => {
763
- if (o.app === e && o.inspectorId === z) {
763
+ if (o.app === e && o.inspectorId === G) {
764
764
  let r = [t];
765
765
  r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((s) => "$id" in s ? s.$id.toLowerCase().includes(o.filter.toLowerCase()) : Ao.toLowerCase().includes(o.filter.toLowerCase())) : r).map(_s);
766
766
  }
767
767
  }), globalThis.$pinia = t, n.on.getInspectorState((o) => {
768
- if (o.app === e && o.inspectorId === z) {
768
+ if (o.app === e && o.inspectorId === G) {
769
769
  const r = o.nodeId === yt ? t : t._s.get(o.nodeId);
770
770
  if (!r)
771
771
  return;
772
772
  r && (o.nodeId !== yt && (globalThis.$store = et(r)), o.state = Es(r));
773
773
  }
774
774
  }), n.on.editInspectorState((o, r) => {
775
- if (o.app === e && o.inspectorId === z) {
775
+ if (o.app === e && o.inspectorId === G) {
776
776
  const s = o.nodeId === yt ? t : t._s.get(o.nodeId);
777
777
  if (!s)
778
- return U(`store "${o.nodeId}" not found`, "error");
778
+ return H(`store "${o.nodeId}" not found`, "error");
779
779
  const { path: i } = o;
780
780
  dn(s) ? i.unshift("state") : (i.length !== 1 || !s._customProperties.has(i[0]) || i[0] in s.$state) && i.unshift("$state"), Ae = !1, o.set(s, i, o.state.value), Ae = !0;
781
781
  }
@@ -783,10 +783,10 @@ function xs(e, t) {
783
783
  if (o.type.startsWith("🍍")) {
784
784
  const r = o.type.replace(/^🍍\s*/, ""), s = t._s.get(r);
785
785
  if (!s)
786
- return U(`store "${r}" not found`, "error");
786
+ return H(`store "${r}" not found`, "error");
787
787
  const { path: i } = o;
788
788
  if (i[0] !== "state")
789
- return U(`Invalid path for store "${r}":
789
+ return H(`Invalid path for store "${r}":
790
790
  ${i}
791
791
  Only state can be modified.`);
792
792
  i[0] = "$state", Ae = !1, o.set(s, i, o.state.value), Ae = !0;
@@ -867,8 +867,8 @@ function Ss(e, t) {
867
867
  });
868
868
  });
869
869
  }, !0), t._customProperties.forEach((i) => {
870
- H(() => k(t[i]), (a, c) => {
871
- n.notifyComponentUpdate(), n.sendInspectorState(z), Ae && n.addTimelineEvent({
870
+ F(() => k(t[i]), (a, c) => {
871
+ n.notifyComponentUpdate(), n.sendInspectorState(G), Ae && n.addTimelineEvent({
872
872
  layerId: Ee,
873
873
  event: {
874
874
  time: o(),
@@ -883,7 +883,7 @@ function Ss(e, t) {
883
883
  });
884
884
  }, { deep: !0 });
885
885
  }), t.$subscribe(({ events: i, type: a }, c) => {
886
- if (n.notifyComponentUpdate(), n.sendInspectorState(z), !Ae)
886
+ if (n.notifyComponentUpdate(), n.sendInspectorState(G), !Ae)
887
887
  return;
888
888
  const l = {
889
889
  time: o(),
@@ -916,12 +916,12 @@ function Ss(e, t) {
916
916
  info: te("HMR update")
917
917
  }
918
918
  }
919
- }), n.notifyComponentUpdate(), n.sendInspectorTree(z), n.sendInspectorState(z);
919
+ }), n.notifyComponentUpdate(), n.sendInspectorTree(G), n.sendInspectorState(G);
920
920
  });
921
921
  const { $dispose: s } = t;
922
922
  t.$dispose = () => {
923
- s(), n.notifyComponentUpdate(), n.sendInspectorTree(z), n.sendInspectorState(z), n.getSettings().logStoreChanges && U(`Disposed "${t.$id}" store 🗑`);
924
- }, n.notifyComponentUpdate(), n.sendInspectorTree(z), n.sendInspectorState(z), n.getSettings().logStoreChanges && U(`"${t.$id}" store installed 🆕`);
923
+ s(), n.notifyComponentUpdate(), n.sendInspectorTree(G), n.sendInspectorState(G), n.getSettings().logStoreChanges && H(`Disposed "${t.$id}" store 🗑`);
924
+ }, n.notifyComponentUpdate(), n.sendInspectorTree(G), n.sendInspectorState(G), n.getSettings().logStoreChanges && H(`"${t.$id}" store installed 🆕`);
925
925
  });
926
926
  }
927
927
  let To = 0, ge;
@@ -959,7 +959,7 @@ function Ns({ app: e, store: t, options: n }) {
959
959
  }
960
960
  }
961
961
  function Cs() {
962
- const e = wo(!0), t = e.run(() => P({}));
962
+ const e = wo(!0), t = e.run(() => I({}));
963
963
  let n = [], o = [];
964
964
  const r = $e({
965
965
  install(s) {
@@ -1032,9 +1032,9 @@ function Vn(e, t, n, o) {
1032
1032
  !a && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
1033
1033
  const u = process.env.NODE_ENV !== "production" && o ? (
1034
1034
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
1035
- In(P(r ? r() : {}).value)
1035
+ In(I(r ? r() : {}).value)
1036
1036
  ) : In(n.state.value[e]);
1037
- return Y(u, s, Object.keys(i || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = $e(R(() => {
1037
+ return Y(u, s, Object.keys(i || {}).reduce((d, p) => (process.env.NODE_ENV !== "production" && p in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), d[p] = $e(T(() => {
1038
1038
  nt(n);
1039
1039
  const f = n._s.get(e);
1040
1040
  return i[p].call(f, f);
@@ -1052,11 +1052,11 @@ function Kt(e, t, n = {}, o, r, s) {
1052
1052
  l ? f = w : l == !1 && !E._hotUpdating && (Array.isArray(f) ? f.push(w) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1053
1053
  });
1054
1054
  let l, u, d = [], p = [], f;
1055
- const h = o.state.value[e];
1056
- !s && !h && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
1057
- const g = P({});
1055
+ const m = o.state.value[e];
1056
+ !s && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
1057
+ const v = I({});
1058
1058
  let $;
1059
- function S(w) {
1059
+ function x(w) {
1060
1060
  let b;
1061
1061
  l = u = !1, process.env.NODE_ENV !== "production" && (f = []), typeof w == "function" ? (w(o.state.value[e]), b = {
1062
1062
  type: re.patchFunction,
@@ -1068,15 +1068,15 @@ function Kt(e, t, n = {}, o, r, s) {
1068
1068
  storeId: e,
1069
1069
  events: f
1070
1070
  });
1071
- const L = $ = Symbol();
1071
+ const M = $ = Symbol();
1072
1072
  Re().then(() => {
1073
- $ === L && (l = !0);
1073
+ $ === M && (l = !0);
1074
1074
  }), u = !0, De(d, b, o.state.value[e]);
1075
1075
  }
1076
- const x = s ? function() {
1076
+ const O = s ? function() {
1077
1077
  const { state: w } = n, b = w ? w() : {};
1078
- this.$patch((L) => {
1079
- Y(L, b);
1078
+ this.$patch((M) => {
1079
+ Y(M, b);
1080
1080
  });
1081
1081
  } : (
1082
1082
  /* istanbul ignore next */
@@ -1084,24 +1084,24 @@ function Kt(e, t, n = {}, o, r, s) {
1084
1084
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
1085
1085
  } : Vo
1086
1086
  );
1087
- function O() {
1087
+ function D() {
1088
1088
  i.stop(), d = [], p = [], o._s.delete(e);
1089
1089
  }
1090
- const j = (w, b = "") => {
1090
+ const A = (w, b = "") => {
1091
1091
  if (Tn in w)
1092
1092
  return w[jt] = b, w;
1093
- const L = function() {
1093
+ const M = function() {
1094
1094
  nt(o);
1095
1095
  const J = Array.from(arguments), ee = [], Ue = [];
1096
- function He(F) {
1097
- ee.push(F);
1096
+ function He(z) {
1097
+ ee.push(z);
1098
1098
  }
1099
- function it(F) {
1100
- Ue.push(F);
1099
+ function it(z) {
1100
+ Ue.push(z);
1101
1101
  }
1102
1102
  De(p, {
1103
1103
  args: J,
1104
- name: L[jt],
1104
+ name: M[jt],
1105
1105
  store: E,
1106
1106
  after: He,
1107
1107
  onError: it
@@ -1109,38 +1109,38 @@ function Kt(e, t, n = {}, o, r, s) {
1109
1109
  let oe;
1110
1110
  try {
1111
1111
  oe = w.apply(this && this.$id === e ? this : E, J);
1112
- } catch (F) {
1113
- throw De(Ue, F), F;
1112
+ } catch (z) {
1113
+ throw De(Ue, z), z;
1114
1114
  }
1115
- return oe instanceof Promise ? oe.then((F) => (De(ee, F), F)).catch((F) => (De(Ue, F), Promise.reject(F))) : (De(ee, oe), oe);
1115
+ return oe instanceof Promise ? oe.then((z) => (De(ee, z), z)).catch((z) => (De(Ue, z), Promise.reject(z))) : (De(ee, oe), oe);
1116
1116
  };
1117
- return L[Tn] = !0, L[jt] = b, L;
1118
- }, G = /* @__PURE__ */ $e({
1117
+ return M[Tn] = !0, M[jt] = b, M;
1118
+ }, L = /* @__PURE__ */ $e({
1119
1119
  actions: {},
1120
1120
  getters: {},
1121
1121
  state: [],
1122
- hotState: g
1122
+ hotState: v
1123
1123
  }), Z = {
1124
1124
  _p: o,
1125
1125
  // _s: scope,
1126
1126
  $id: e,
1127
1127
  $onAction: An.bind(null, p),
1128
- $patch: S,
1129
- $reset: x,
1128
+ $patch: x,
1129
+ $reset: O,
1130
1130
  $subscribe(w, b = {}) {
1131
- const L = An(d, w, b.detached, () => J()), J = i.run(() => H(() => o.state.value[e], (ee) => {
1131
+ const M = An(d, w, b.detached, () => J()), J = i.run(() => F(() => o.state.value[e], (ee) => {
1132
1132
  (b.flush === "sync" ? u : l) && w({
1133
1133
  storeId: e,
1134
1134
  type: re.direct,
1135
1135
  events: f
1136
1136
  }, ee);
1137
1137
  }, Y({}, c, b)));
1138
- return L;
1138
+ return M;
1139
1139
  },
1140
- $dispose: O
1140
+ $dispose: D
1141
1141
  }, E = ke(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && Oe ? Y(
1142
1142
  {
1143
- _hmrPayload: G,
1143
+ _hmrPayload: L,
1144
1144
  _customProperties: $e(/* @__PURE__ */ new Set())
1145
1145
  // devtools custom properties
1146
1146
  },
@@ -1149,34 +1149,34 @@ function Kt(e, t, n = {}, o, r, s) {
1149
1149
  // setupStore
1150
1150
  ) : Z);
1151
1151
  o._s.set(e, E);
1152
- const ne = (o._a && o._a.runWithContext || Is)(() => o._e.run(() => (i = wo()).run(() => t({ action: j }))));
1152
+ const ne = (o._a && o._a.runWithContext || Is)(() => o._e.run(() => (i = wo()).run(() => t({ action: A }))));
1153
1153
  for (const w in ne) {
1154
1154
  const b = ne[w];
1155
1155
  if (tt(b) && !Rn(b) || an(b))
1156
- process.env.NODE_ENV !== "production" && r ? ut(g.value, w, ht(ne, w)) : s || (h && Ds(b) && (tt(b) ? b.value = h[w] : Jt(b, h[w])), o.state.value[e][w] = b), process.env.NODE_ENV !== "production" && G.state.push(w);
1156
+ process.env.NODE_ENV !== "production" && r ? ut(v.value, w, ht(ne, w)) : s || (m && Ds(b) && (tt(b) ? b.value = m[w] : Jt(b, m[w])), o.state.value[e][w] = b), process.env.NODE_ENV !== "production" && L.state.push(w);
1157
1157
  else if (typeof b == "function") {
1158
- const L = process.env.NODE_ENV !== "production" && r ? b : j(b, w);
1159
- ne[w] = L, process.env.NODE_ENV !== "production" && (G.actions[w] = b), a.actions[w] = b;
1160
- } else process.env.NODE_ENV !== "production" && Rn(b) && (G.getters[w] = s ? (
1158
+ const M = process.env.NODE_ENV !== "production" && r ? b : A(b, w);
1159
+ ne[w] = M, process.env.NODE_ENV !== "production" && (L.actions[w] = b), a.actions[w] = b;
1160
+ } else process.env.NODE_ENV !== "production" && Rn(b) && (L.getters[w] = s ? (
1161
1161
  // @ts-expect-error
1162
1162
  n.getters[w]
1163
1163
  ) : b, Oe && (ne._getters || // @ts-expect-error: same
1164
1164
  (ne._getters = $e([]))).push(w));
1165
1165
  }
1166
1166
  if (Y(E, ne), Y(et(E), ne), Object.defineProperty(E, "$state", {
1167
- get: () => process.env.NODE_ENV !== "production" && r ? g.value : o.state.value[e],
1167
+ get: () => process.env.NODE_ENV !== "production" && r ? v.value : o.state.value[e],
1168
1168
  set: (w) => {
1169
1169
  if (process.env.NODE_ENV !== "production" && r)
1170
1170
  throw new Error("cannot set hotState");
1171
- S((b) => {
1171
+ x((b) => {
1172
1172
  Y(b, w);
1173
1173
  });
1174
1174
  }
1175
1175
  }), process.env.NODE_ENV !== "production" && (E._hotUpdate = $e((w) => {
1176
1176
  E._hotUpdating = !0, w._hmrPayload.state.forEach((b) => {
1177
1177
  if (b in E.$state) {
1178
- const L = w.$state[b], J = E.$state[b];
1179
- typeof L == "object" && Ie(L) && Ie(J) ? Ro(L, J) : w.$state[b] = J;
1178
+ const M = w.$state[b], J = E.$state[b];
1179
+ typeof M == "object" && Ie(M) && Ie(J) ? Ro(M, J) : w.$state[b] = J;
1180
1180
  }
1181
1181
  ut(E, b, ht(w.$state, b));
1182
1182
  }), Object.keys(E.$state).forEach((b) => {
@@ -1185,14 +1185,14 @@ function Kt(e, t, n = {}, o, r, s) {
1185
1185
  l = !0;
1186
1186
  });
1187
1187
  for (const b in w._hmrPayload.actions) {
1188
- const L = w[b];
1189
- ut(E, b, j(L, b));
1188
+ const M = w[b];
1189
+ ut(E, b, A(M, b));
1190
1190
  }
1191
1191
  for (const b in w._hmrPayload.getters) {
1192
- const L = w._hmrPayload.getters[b], J = s ? (
1192
+ const M = w._hmrPayload.getters[b], J = s ? (
1193
1193
  // special handling of options api
1194
- R(() => (nt(o), L.call(E, E)))
1195
- ) : L;
1194
+ T(() => (nt(o), M.call(E, E)))
1195
+ ) : M;
1196
1196
  ut(E, b, J);
1197
1197
  }
1198
1198
  Object.keys(E._hmrPayload.getters).forEach((b) => {
@@ -1219,7 +1219,7 @@ function Kt(e, t, n = {}, o, r, s) {
1219
1219
  pinia: o,
1220
1220
  options: a
1221
1221
  }));
1222
- Object.keys(b || {}).forEach((L) => E._customProperties.add(L)), Y(E, b);
1222
+ Object.keys(b || {}).forEach((M) => E._customProperties.add(M)), Y(E, b);
1223
1223
  } else
1224
1224
  Y(E, i.run(() => w({
1225
1225
  store: E,
@@ -1229,7 +1229,7 @@ function Kt(e, t, n = {}, o, r, s) {
1229
1229
  })));
1230
1230
  }), process.env.NODE_ENV !== "production" && E.$state && typeof E.$state == "object" && typeof E.$state.constructor == "function" && !E.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1231
1231
  state: () => new MyClass()
1232
- Found in store "${E.$id}".`), h && s && n.hydrate && n.hydrate(E.$state, h), l = !0, u = !0, E;
1232
+ Found in store "${E.$id}".`), m && s && n.hydrate && n.hydrate(E.$state, m), l = !0, u = !0, E;
1233
1233
  }
1234
1234
  // @__NO_SIDE_EFFECTS__
1235
1235
  function As(e, t, n) {
@@ -1263,12 +1263,12 @@ This will fail in production.`);
1263
1263
  return i.$id = o, i;
1264
1264
  }
1265
1265
  const Ts = /* @__PURE__ */ As("data", () => {
1266
- const e = P([]), t = P({});
1266
+ const e = I([]), t = I({});
1267
1267
  return { records: e, record: t };
1268
1268
  });
1269
1269
  function jo(e) {
1270
1270
  e || (e = se("$registry"));
1271
- const t = Ts(), n = P(new rs(e, t)), o = P(!1);
1271
+ const t = Ts(), n = I(new rs(e, t)), o = I(!1);
1272
1272
  return Nr(async () => {
1273
1273
  var r, s;
1274
1274
  const i = e.router.currentRoute.value, a = (r = i.params.records) == null ? void 0 : r.toString().toLowerCase(), c = (s = i.params.record) == null ? void 0 : s.toString().toLowerCase();
@@ -1307,7 +1307,7 @@ function Vs(e) {
1307
1307
  // add the Module string tag
1308
1308
  e.default && Lo(e.default);
1309
1309
  }
1310
- const T = Object.assign;
1310
+ const V = Object.assign;
1311
1311
  function Lt(e, t) {
1312
1312
  const n = {};
1313
1313
  for (const o in t) {
@@ -1318,7 +1318,7 @@ function Lt(e, t) {
1318
1318
  }
1319
1319
  const Ke = () => {
1320
1320
  }, K = Array.isArray;
1321
- function N(e) {
1321
+ function S(e) {
1322
1322
  const t = Array.from(arguments).slice(1);
1323
1323
  console.warn.apply(console, ["[Vue Router warn]: " + e].concat(t));
1324
1324
  }
@@ -1345,7 +1345,7 @@ function Ve(e) {
1345
1345
  try {
1346
1346
  return decodeURIComponent("" + e);
1347
1347
  } catch {
1348
- process.env.NODE_ENV !== "production" && N(`Error decoding "${e}". Using original value`);
1348
+ process.env.NODE_ENV !== "production" && S(`Error decoding "${e}". Using original value`);
1349
1349
  }
1350
1350
  return "" + e;
1351
1351
  }
@@ -1393,7 +1393,7 @@ function ea(e, t) {
1393
1393
  if (e.startsWith("/"))
1394
1394
  return e;
1395
1395
  if (process.env.NODE_ENV !== "production" && !t.startsWith("/"))
1396
- return N(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`), e;
1396
+ return S(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`), e;
1397
1397
  if (!e)
1398
1398
  return t;
1399
1399
  const n = t.split("/"), o = e.split("/"), r = o[o.length - 1];
@@ -1460,16 +1460,16 @@ function sa(e) {
1460
1460
  try {
1461
1461
  const s = document.querySelector(e.el);
1462
1462
  if (o && s) {
1463
- N(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);
1463
+ S(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);
1464
1464
  return;
1465
1465
  }
1466
1466
  } catch {
1467
- N(`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).`);
1467
+ S(`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).`);
1468
1468
  return;
1469
1469
  }
1470
1470
  const r = typeof n == "string" ? o ? document.getElementById(n.slice(1)) : document.querySelector(n) : n;
1471
1471
  if (!r) {
1472
- process.env.NODE_ENV !== "production" && N(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);
1472
+ process.env.NODE_ENV !== "production" && S(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);
1473
1473
  return;
1474
1474
  }
1475
1475
  t = ra(r, e);
@@ -1500,18 +1500,18 @@ function zo(e, t) {
1500
1500
  function ca(e, t, n, o) {
1501
1501
  let r = [], s = [], i = null;
1502
1502
  const a = ({ state: p }) => {
1503
- const f = zo(e, location), h = n.value, g = t.value;
1503
+ const f = zo(e, location), m = n.value, v = t.value;
1504
1504
  let $ = 0;
1505
1505
  if (p) {
1506
- if (n.value = f, t.value = p, i && i === h) {
1506
+ if (n.value = f, t.value = p, i && i === m) {
1507
1507
  i = null;
1508
1508
  return;
1509
1509
  }
1510
- $ = g ? p.position - g.position : 0;
1510
+ $ = v ? p.position - v.position : 0;
1511
1511
  } else
1512
1512
  o(f);
1513
- r.forEach((S) => {
1514
- S(n.value, h, {
1513
+ r.forEach((x) => {
1514
+ x(n.value, m, {
1515
1515
  delta: $,
1516
1516
  type: ot.pop,
1517
1517
  direction: $ ? $ > 0 ? Ye.forward : Ye.back : Ye.unknown
@@ -1524,14 +1524,14 @@ function ca(e, t, n, o) {
1524
1524
  function l(p) {
1525
1525
  r.push(p);
1526
1526
  const f = () => {
1527
- const h = r.indexOf(p);
1528
- h > -1 && r.splice(h, 1);
1527
+ const m = r.indexOf(p);
1528
+ m > -1 && r.splice(m, 1);
1529
1529
  };
1530
1530
  return s.push(f), f;
1531
1531
  }
1532
1532
  function u() {
1533
1533
  const { history: p } = window;
1534
- p.state && p.replaceState(T({}, p.state, { scroll: Ct() }), "");
1534
+ p.state && p.replaceState(V({}, p.state, { scroll: Ct() }), "");
1535
1535
  }
1536
1536
  function d() {
1537
1537
  for (const p of s)
@@ -1576,11 +1576,11 @@ function ua(e) {
1576
1576
  try {
1577
1577
  t[u ? "replaceState" : "pushState"](l, "", p), r.value = l;
1578
1578
  } catch (f) {
1579
- process.env.NODE_ENV !== "production" ? N("Error with push/replace State", f) : console.error(f), n[u ? "replace" : "assign"](p);
1579
+ process.env.NODE_ENV !== "production" ? S("Error with push/replace State", f) : console.error(f), n[u ? "replace" : "assign"](p);
1580
1580
  }
1581
1581
  }
1582
1582
  function i(c, l) {
1583
- const u = T({}, t.state, Wn(
1583
+ const u = V({}, t.state, Wn(
1584
1584
  r.value.back,
1585
1585
  // keep back and forward entries but override current position
1586
1586
  c,
@@ -1590,7 +1590,7 @@ function ua(e) {
1590
1590
  s(c, u, !0), o.value = c;
1591
1591
  }
1592
1592
  function a(c, l) {
1593
- const u = T(
1593
+ const u = V(
1594
1594
  {},
1595
1595
  // use current history state to gracefully handle a wrong call to
1596
1596
  // history.replaceState
@@ -1602,12 +1602,12 @@ function ua(e) {
1602
1602
  scroll: Ct()
1603
1603
  }
1604
1604
  );
1605
- process.env.NODE_ENV !== "production" && !t.state && N(`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:
1605
+ process.env.NODE_ENV !== "production" && !t.state && S(`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:
1606
1606
 
1607
1607
  history.replaceState(history.state, '', url)
1608
1608
 
1609
1609
  You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`), s(u.current, u, !0);
1610
- const d = T({}, Wn(o.value, c, null), { position: u.position + 1 }, l);
1610
+ const d = V({}, Wn(o.value, c, null), { position: u.position + 1 }, l);
1611
1611
  s(c, d, !1), o.value = c;
1612
1612
  }
1613
1613
  return {
@@ -1623,7 +1623,7 @@ function da(e) {
1623
1623
  function o(s, i = !0) {
1624
1624
  i || n.pauseListeners(), history.go(s);
1625
1625
  }
1626
- const r = T({
1626
+ const r = V({
1627
1627
  // it's overridden right after
1628
1628
  location: "",
1629
1629
  base: e,
@@ -1670,10 +1670,10 @@ while being at
1670
1670
  }
1671
1671
  };
1672
1672
  function je(e, t) {
1673
- return process.env.NODE_ENV !== "production" ? T(new Error(pa[e](t)), {
1673
+ return process.env.NODE_ENV !== "production" ? V(new Error(pa[e](t)), {
1674
1674
  type: e,
1675
1675
  [Xt]: !0
1676
- }, t) : T(new Error(), {
1676
+ }, t) : V(new Error(), {
1677
1677
  type: e,
1678
1678
  [Xt]: !0
1679
1679
  }, t);
@@ -1699,7 +1699,7 @@ const Hn = "[^/]+?", ma = {
1699
1699
  end: !0
1700
1700
  }, va = /[.+*?^${}()[\]/\\]/g;
1701
1701
  function ga(e, t) {
1702
- const n = T({}, ma, t), o = [];
1702
+ const n = V({}, ma, t), o = [];
1703
1703
  let r = n.start ? "^" : "";
1704
1704
  const s = [];
1705
1705
  for (const l of e) {
@@ -1714,25 +1714,25 @@ function ga(e, t) {
1714
1714
  if (p.type === 0)
1715
1715
  d || (r += "/"), r += p.value.replace(va, "\\$&"), f += 40;
1716
1716
  else if (p.type === 1) {
1717
- const { value: h, repeatable: g, optional: $, regexp: S } = p;
1717
+ const { value: m, repeatable: v, optional: $, regexp: x } = p;
1718
1718
  s.push({
1719
- name: h,
1720
- repeatable: g,
1719
+ name: m,
1720
+ repeatable: v,
1721
1721
  optional: $
1722
1722
  });
1723
- const x = S || Hn;
1724
- if (x !== Hn) {
1723
+ const O = x || Hn;
1724
+ if (O !== Hn) {
1725
1725
  f += 10;
1726
1726
  try {
1727
- new RegExp(`(${x})`);
1728
- } catch (j) {
1729
- throw new Error(`Invalid custom RegExp for param "${h}" (${x}): ` + j.message);
1727
+ new RegExp(`(${O})`);
1728
+ } catch (A) {
1729
+ throw new Error(`Invalid custom RegExp for param "${m}" (${O}): ` + A.message);
1730
1730
  }
1731
1731
  }
1732
- let O = g ? `((?:${x})(?:/(?:${x}))*)` : `(${x})`;
1733
- d || (O = // avoid an optional / if there are more segments e.g. /:p?-static
1732
+ let D = v ? `((?:${O})(?:/(?:${O}))*)` : `(${O})`;
1733
+ d || (D = // avoid an optional / if there are more segments e.g. /:p?-static
1734
1734
  // or /:p?-:p2
1735
- $ && l.length < 2 ? `(?:/${O})` : "/" + O), $ && (O += "?"), r += O, f += 20, $ && (f += -8), g && (f += -20), x === ".*" && (f += -50);
1735
+ $ && l.length < 2 ? `(?:/${D})` : "/" + D), $ && (D += "?"), r += D, f += 20, $ && (f += -8), v && (f += -20), O === ".*" && (f += -50);
1736
1736
  }
1737
1737
  u.push(f);
1738
1738
  }
@@ -1749,8 +1749,8 @@ function ga(e, t) {
1749
1749
  if (!u)
1750
1750
  return null;
1751
1751
  for (let p = 1; p < u.length; p++) {
1752
- const f = u[p] || "", h = s[p - 1];
1753
- d[h.name] = f && h.repeatable ? f.split("/") : f;
1752
+ const f = u[p] || "", m = s[p - 1];
1753
+ d[m.name] = f && m.repeatable ? f.split("/") : f;
1754
1754
  }
1755
1755
  return d;
1756
1756
  }
@@ -1762,16 +1762,16 @@ function ga(e, t) {
1762
1762
  if (f.type === 0)
1763
1763
  u += f.value;
1764
1764
  else if (f.type === 1) {
1765
- const { value: h, repeatable: g, optional: $ } = f, S = h in l ? l[h] : "";
1766
- if (K(S) && !g)
1767
- throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);
1768
- const x = K(S) ? S.join("/") : S;
1769
- if (!x)
1765
+ const { value: m, repeatable: v, optional: $ } = f, x = m in l ? l[m] : "";
1766
+ if (K(x) && !v)
1767
+ throw new Error(`Provided param "${m}" is an array but it is not repeatable (* or + modifiers)`);
1768
+ const O = K(x) ? x.join("/") : x;
1769
+ if (!O)
1770
1770
  if ($)
1771
1771
  p.length < 2 && (u.endsWith("/") ? u = u.slice(0, -1) : d = !0);
1772
1772
  else
1773
- throw new Error(`Missing required param "${h}"`);
1774
- u += x;
1773
+ throw new Error(`Missing required param "${m}"`);
1774
+ u += O;
1775
1775
  }
1776
1776
  }
1777
1777
  return u || "/";
@@ -1884,9 +1884,9 @@ function Ea(e, t, n) {
1884
1884
  if (process.env.NODE_ENV !== "production") {
1885
1885
  const s = /* @__PURE__ */ new Set();
1886
1886
  for (const i of o.keys)
1887
- s.has(i.name) && N(`Found duplicated params with name "${i.name}" for path "${e.path}". Only the last one will be available on "$route.params".`), s.add(i.name);
1887
+ s.has(i.name) && S(`Found duplicated params with name "${i.name}" for path "${e.path}". Only the last one will be available on "$route.params".`), s.add(i.name);
1888
1888
  }
1889
- const r = T(o, {
1889
+ const r = V(o, {
1890
1890
  record: e,
1891
1891
  parent: t,
1892
1892
  // these needs to be populated by the parent
@@ -1902,46 +1902,46 @@ function ka(e, t) {
1902
1902
  return o.get(d);
1903
1903
  }
1904
1904
  function s(d, p, f) {
1905
- const h = !f, g = Gn(d);
1906
- process.env.NODE_ENV !== "production" && Sa(g, p), g.aliasOf = f && f.record;
1907
- const $ = Jn(t, d), S = [g];
1905
+ const m = !f, v = Gn(d);
1906
+ process.env.NODE_ENV !== "production" && Sa(v, p), v.aliasOf = f && f.record;
1907
+ const $ = Jn(t, d), x = [v];
1908
1908
  if ("alias" in d) {
1909
- const j = typeof d.alias == "string" ? [d.alias] : d.alias;
1910
- for (const G of j)
1911
- S.push(
1909
+ const A = typeof d.alias == "string" ? [d.alias] : d.alias;
1910
+ for (const L of A)
1911
+ x.push(
1912
1912
  // we need to normalize again to ensure the `mods` property
1913
1913
  // being non enumerable
1914
- Gn(T({}, g, {
1914
+ Gn(V({}, v, {
1915
1915
  // this allows us to hold a copy of the `components` option
1916
1916
  // so that async components cache is hold on the original record
1917
- components: f ? f.record.components : g.components,
1918
- path: G,
1917
+ components: f ? f.record.components : v.components,
1918
+ path: L,
1919
1919
  // we might be the child of an alias
1920
- aliasOf: f ? f.record : g
1920
+ aliasOf: f ? f.record : v
1921
1921
  // the aliases are always of the same kind as the original since they
1922
1922
  // are defined on the same record
1923
1923
  }))
1924
1924
  );
1925
1925
  }
1926
- let x, O;
1927
- for (const j of S) {
1928
- const { path: G } = j;
1929
- if (p && G[0] !== "/") {
1926
+ let O, D;
1927
+ for (const A of x) {
1928
+ const { path: L } = A;
1929
+ if (p && L[0] !== "/") {
1930
1930
  const Z = p.record.path, E = Z[Z.length - 1] === "/" ? "" : "/";
1931
- j.path = p.record.path + (G && E + G);
1931
+ A.path = p.record.path + (L && E + L);
1932
1932
  }
1933
- if (process.env.NODE_ENV !== "production" && j.path === "*")
1933
+ if (process.env.NODE_ENV !== "production" && A.path === "*")
1934
1934
  throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
1935
1935
  See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
1936
- if (x = Ea(j, p, $), process.env.NODE_ENV !== "production" && p && G[0] === "/" && Na(x, p), f ? (f.alias.push(x), process.env.NODE_ENV !== "production" && xa(f, x)) : (O = O || x, O !== x && O.alias.push(x), h && d.name && !qn(x) && i(d.name)), Jo(x) && c(x), g.children) {
1937
- const Z = g.children;
1936
+ if (O = Ea(A, p, $), process.env.NODE_ENV !== "production" && p && L[0] === "/" && Na(O, p), f ? (f.alias.push(O), process.env.NODE_ENV !== "production" && xa(f, O)) : (D = D || O, D !== O && D.alias.push(O), m && d.name && !qn(O) && i(d.name)), Jo(O) && c(O), v.children) {
1937
+ const Z = v.children;
1938
1938
  for (let E = 0; E < Z.length; E++)
1939
- s(Z[E], x, f && f.children[E]);
1939
+ s(Z[E], O, f && f.children[E]);
1940
1940
  }
1941
- f = f || x;
1941
+ f = f || O;
1942
1942
  }
1943
- return O ? () => {
1944
- i(O);
1943
+ return D ? () => {
1944
+ i(D);
1945
1945
  } : Ke;
1946
1946
  }
1947
1947
  function i(d) {
@@ -1961,48 +1961,48 @@ See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-
1961
1961
  n.splice(p, 0, d), d.record.name && !qn(d) && o.set(d.record.name, d);
1962
1962
  }
1963
1963
  function l(d, p) {
1964
- let f, h = {}, g, $;
1964
+ let f, m = {}, v, $;
1965
1965
  if ("name" in d && d.name) {
1966
1966
  if (f = o.get(d.name), !f)
1967
1967
  throw je(1, {
1968
1968
  location: d
1969
1969
  });
1970
1970
  if (process.env.NODE_ENV !== "production") {
1971
- const O = Object.keys(d.params || {}).filter((j) => !f.keys.find((G) => G.name === j));
1972
- O.length && N(`Discarded invalid param(s) "${O.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1971
+ const D = Object.keys(d.params || {}).filter((A) => !f.keys.find((L) => L.name === A));
1972
+ D.length && S(`Discarded invalid param(s) "${D.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1973
1973
  }
1974
- $ = f.record.name, h = T(
1974
+ $ = f.record.name, m = V(
1975
1975
  // paramsFromLocation is a new object
1976
1976
  zn(
1977
1977
  p.params,
1978
1978
  // only keep params that exist in the resolved location
1979
1979
  // only keep optional params coming from a parent record
1980
- f.keys.filter((O) => !O.optional).concat(f.parent ? f.parent.keys.filter((O) => O.optional) : []).map((O) => O.name)
1980
+ f.keys.filter((D) => !D.optional).concat(f.parent ? f.parent.keys.filter((D) => D.optional) : []).map((D) => D.name)
1981
1981
  ),
1982
1982
  // discard any existing params in the current location that do not exist here
1983
1983
  // #1497 this ensures better active/exact matching
1984
- d.params && zn(d.params, f.keys.map((O) => O.name))
1985
- ), g = f.stringify(h);
1984
+ d.params && zn(d.params, f.keys.map((D) => D.name))
1985
+ ), v = f.stringify(m);
1986
1986
  } else if (d.path != null)
1987
- g = d.path, process.env.NODE_ENV !== "production" && !g.startsWith("/") && N(`The Matcher cannot resolve relative paths but received "${g}". Unless you directly called \`matcher.resolve("${g}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), f = n.find((O) => O.re.test(g)), f && (h = f.parse(g), $ = f.record.name);
1987
+ v = d.path, process.env.NODE_ENV !== "production" && !v.startsWith("/") && S(`The Matcher cannot resolve relative paths but received "${v}". Unless you directly called \`matcher.resolve("${v}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), f = n.find((D) => D.re.test(v)), f && (m = f.parse(v), $ = f.record.name);
1988
1988
  else {
1989
- if (f = p.name ? o.get(p.name) : n.find((O) => O.re.test(p.path)), !f)
1989
+ if (f = p.name ? o.get(p.name) : n.find((D) => D.re.test(p.path)), !f)
1990
1990
  throw je(1, {
1991
1991
  location: d,
1992
1992
  currentLocation: p
1993
1993
  });
1994
- $ = f.record.name, h = T({}, p.params, d.params), g = f.stringify(h);
1994
+ $ = f.record.name, m = V({}, p.params, d.params), v = f.stringify(m);
1995
1995
  }
1996
- const S = [];
1997
- let x = f;
1998
- for (; x; )
1999
- S.unshift(x.record), x = x.parent;
1996
+ const x = [];
1997
+ let O = f;
1998
+ for (; O; )
1999
+ x.unshift(O.record), O = O.parent;
2000
2000
  return {
2001
2001
  name: $,
2002
- path: g,
2003
- params: h,
2004
- matched: S,
2005
- meta: Oa(S)
2002
+ path: v,
2003
+ params: m,
2004
+ matched: x,
2005
+ meta: Oa(x)
2006
2006
  };
2007
2007
  }
2008
2008
  e.forEach((d) => s(d));
@@ -2064,7 +2064,7 @@ function qn(e) {
2064
2064
  return !1;
2065
2065
  }
2066
2066
  function Oa(e) {
2067
- return e.reduce((t, n) => T(t, n.meta), {});
2067
+ return e.reduce((t, n) => V(t, n.meta), {});
2068
2068
  }
2069
2069
  function Jn(e, t) {
2070
2070
  const n = {};
@@ -2078,18 +2078,18 @@ function Zt(e, t) {
2078
2078
  function xa(e, t) {
2079
2079
  for (const n of e.keys)
2080
2080
  if (!n.optional && !t.keys.find(Zt.bind(null, n)))
2081
- return N(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2081
+ return S(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2082
2082
  for (const n of t.keys)
2083
2083
  if (!n.optional && !e.keys.find(Zt.bind(null, n)))
2084
- return N(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2084
+ return S(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2085
2085
  }
2086
2086
  function Sa(e, t) {
2087
- t && t.record.name && !e.name && !e.path && N(`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.`);
2087
+ t && t.record.name && !e.name && !e.path && S(`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.`);
2088
2088
  }
2089
2089
  function Na(e, t) {
2090
2090
  for (const n of t.keys)
2091
2091
  if (!e.keys.find(Zt.bind(null, n)))
2092
- return N(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`);
2092
+ return S(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`);
2093
2093
  }
2094
2094
  function Ca(e, t) {
2095
2095
  let n = 0, o = t.length;
@@ -2098,7 +2098,7 @@ function Ca(e, t) {
2098
2098
  qo(e, t[s]) < 0 ? o = s : n = s + 1;
2099
2099
  }
2100
2100
  const r = Ia(e);
2101
- return r && (o = t.lastIndexOf(r, o - 1), process.env.NODE_ENV !== "production" && o < 0 && N(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)), o;
2101
+ return r && (o = t.lastIndexOf(r, o - 1), process.env.NODE_ENV !== "production" && o < 0 && S(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)), o;
2102
2102
  }
2103
2103
  function Ia(e) {
2104
2104
  let t = e;
@@ -2184,9 +2184,9 @@ function me(e, t, n, o, r, s = (i) => i()) {
2184
2184
  ${e.toString()}
2185
2185
  . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;
2186
2186
  if (typeof u == "object" && "then" in u)
2187
- d = d.then((f) => l._called ? f : (N(p), Promise.reject(new Error("Invalid navigation guard"))));
2187
+ d = d.then((f) => l._called ? f : (S(p), Promise.reject(new Error("Invalid navigation guard"))));
2188
2188
  else if (u !== void 0 && !l._called) {
2189
- N(p), c(new Error("Invalid navigation guard"));
2189
+ S(p), c(new Error("Invalid navigation guard"));
2190
2190
  return;
2191
2191
  }
2192
2192
  }
@@ -2196,24 +2196,24 @@ ${e.toString()}
2196
2196
  function Ta(e, t, n) {
2197
2197
  let o = 0;
2198
2198
  return function() {
2199
- o++ === 1 && N(`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, o === 1 && e.apply(null, arguments);
2199
+ o++ === 1 && S(`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, o === 1 && e.apply(null, arguments);
2200
2200
  };
2201
2201
  }
2202
2202
  function Bt(e, t, n, o, r = (s) => s()) {
2203
2203
  const s = [];
2204
2204
  for (const i of e) {
2205
- process.env.NODE_ENV !== "production" && !i.components && !i.children.length && N(`Record with path "${i.path}" is either missing a "component(s)" or "children" property.`);
2205
+ process.env.NODE_ENV !== "production" && !i.components && !i.children.length && S(`Record with path "${i.path}" is either missing a "component(s)" or "children" property.`);
2206
2206
  for (const a in i.components) {
2207
2207
  let c = i.components[a];
2208
2208
  if (process.env.NODE_ENV !== "production") {
2209
2209
  if (!c || typeof c != "object" && typeof c != "function")
2210
- throw N(`Component "${a}" in record with path "${i.path}" is not a valid component. Received "${String(c)}".`), new Error("Invalid route component");
2210
+ throw S(`Component "${a}" in record with path "${i.path}" is not a valid component. Received "${String(c)}".`), new Error("Invalid route component");
2211
2211
  if ("then" in c) {
2212
- N(`Component "${a}" in record with path "${i.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.`);
2212
+ S(`Component "${a}" in record with path "${i.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.`);
2213
2213
  const l = c;
2214
2214
  c = () => l;
2215
2215
  } else c.__asyncLoader && // warn only once per component
2216
- !c.__warnedDefineAsync && (c.__warnedDefineAsync = !0, N(`Component "${a}" in record with path "${i.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
2216
+ !c.__warnedDefineAsync && (c.__warnedDefineAsync = !0, S(`Component "${a}" in record with path "${i.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
2217
2217
  }
2218
2218
  if (!(t !== "beforeRouteEnter" && !i.instances[a]))
2219
2219
  if (Lo(c)) {
@@ -2221,7 +2221,7 @@ function Bt(e, t, n, o, r = (s) => s()) {
2221
2221
  l && s.push(me(l, n, o, i, a, r));
2222
2222
  } else {
2223
2223
  let l = c();
2224
- process.env.NODE_ENV !== "production" && !("catch" in l) && (N(`Component "${a}" in record with path "${i.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.`), l = Promise.resolve(l)), s.push(() => l.then((u) => {
2224
+ process.env.NODE_ENV !== "production" && !("catch" in l) && (S(`Component "${a}" in record with path "${i.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.`), l = Promise.resolve(l)), s.push(() => l.then((u) => {
2225
2225
  if (!u)
2226
2226
  throw new Error(`Couldn't resolve component "${a}" at "${i.path}"`);
2227
2227
  const d = Vs(u) ? u.default : u;
@@ -2237,31 +2237,31 @@ function Bt(e, t, n, o, r = (s) => s()) {
2237
2237
  function Qn(e) {
2238
2238
  const t = se(fn), n = se(Ko);
2239
2239
  let o = !1, r = null;
2240
- const s = R(() => {
2240
+ const s = T(() => {
2241
2241
  const u = k(e.to);
2242
- return process.env.NODE_ENV !== "production" && (!o || u !== r) && (Ot(u) || (o ? N(`Invalid value for prop "to" in useLink()
2242
+ return process.env.NODE_ENV !== "production" && (!o || u !== r) && (Ot(u) || (o ? S(`Invalid value for prop "to" in useLink()
2243
2243
  - to:`, u, `
2244
2244
  - previous to:`, r, `
2245
- - props:`, e) : N(`Invalid value for prop "to" in useLink()
2245
+ - props:`, e) : S(`Invalid value for prop "to" in useLink()
2246
2246
  - to:`, u, `
2247
2247
  - props:`, e)), r = u, o = !0), t.resolve(u);
2248
- }), i = R(() => {
2248
+ }), i = T(() => {
2249
2249
  const { matched: u } = s.value, { length: d } = u, p = u[d - 1], f = n.matched;
2250
2250
  if (!p || !f.length)
2251
2251
  return -1;
2252
- const h = f.findIndex(be.bind(null, p));
2253
- if (h > -1)
2254
- return h;
2255
- const g = Xn(u[d - 2]);
2252
+ const m = f.findIndex(be.bind(null, p));
2253
+ if (m > -1)
2254
+ return m;
2255
+ const v = Xn(u[d - 2]);
2256
2256
  return (
2257
2257
  // we are dealing with nested routes
2258
2258
  d > 1 && // if the parent and matched route have the same path, this link is
2259
2259
  // referring to the empty child. Or we currently are on a different
2260
2260
  // child of the same parent
2261
- Xn(p) === g && // avoid comparing the child with its parent
2262
- f[f.length - 1].path !== g ? f.findIndex(be.bind(null, u[d - 2])) : h
2261
+ Xn(p) === v && // avoid comparing the child with its parent
2262
+ f[f.length - 1].path !== v ? f.findIndex(be.bind(null, u[d - 2])) : m
2263
2263
  );
2264
- }), a = R(() => i.value > -1 && La(n.params, s.value.params)), c = R(() => i.value > -1 && i.value === n.matched.length - 1 && Fo(n.params, s.value.params));
2264
+ }), a = T(() => i.value > -1 && La(n.params, s.value.params)), c = T(() => i.value > -1 && i.value === n.matched.length - 1 && Fo(n.params, s.value.params));
2265
2265
  function l(u = {}) {
2266
2266
  return ja(u) ? t[k(e.replace) ? "replace" : "push"](
2267
2267
  k(e.to)
@@ -2284,7 +2284,7 @@ function Qn(e) {
2284
2284
  }
2285
2285
  return {
2286
2286
  route: s,
2287
- href: R(() => s.value.href),
2287
+ href: T(() => s.value.href),
2288
2288
  isActive: a,
2289
2289
  isExactActive: c,
2290
2290
  navigate: l
@@ -2310,7 +2310,7 @@ const Ra = /* @__PURE__ */ X({
2310
2310
  },
2311
2311
  useLink: Qn,
2312
2312
  setup(e, { slots: t }) {
2313
- const n = ke(Qn(e)), { options: o } = se(fn), r = R(() => ({
2313
+ const n = ke(Qn(e)), { options: o } = se(fn), r = T(() => ({
2314
2314
  [Zn(e.activeClass, o.linkActiveClass, "router-link-active")]: n.isActive,
2315
2315
  // [getLinkClass(
2316
2316
  // props.inactiveClass,
@@ -2372,45 +2372,45 @@ const Zn = (e, t, n) => e ?? t ?? n, Ma = /* @__PURE__ */ X({
2372
2372
  compatConfig: { MODE: 3 },
2373
2373
  setup(e, { attrs: t, slots: n }) {
2374
2374
  process.env.NODE_ENV !== "production" && Wa();
2375
- const o = se(en), r = R(() => e.route || o.value), s = se(Yn, 0), i = R(() => {
2375
+ const o = se(en), r = T(() => e.route || o.value), s = se(Yn, 0), i = T(() => {
2376
2376
  let l = k(s);
2377
2377
  const { matched: u } = r.value;
2378
2378
  let d;
2379
2379
  for (; (d = u[l]) && !d.components; )
2380
2380
  l++;
2381
2381
  return l;
2382
- }), a = R(() => r.value.matched[i.value]);
2383
- ft(Yn, R(() => i.value + 1)), ft(Aa, a), ft(en, r);
2384
- const c = P();
2385
- return H(() => [c.value, a.value, e.name], ([l, u, d], [p, f, h]) => {
2382
+ }), a = T(() => r.value.matched[i.value]);
2383
+ ft(Yn, T(() => i.value + 1)), ft(Aa, a), ft(en, r);
2384
+ const c = I();
2385
+ return F(() => [c.value, a.value, e.name], ([l, u, d], [p, f, m]) => {
2386
2386
  u && (u.instances[d] = l, f && f !== u && l && l === p && (u.leaveGuards.size || (u.leaveGuards = f.leaveGuards), u.updateGuards.size || (u.updateGuards = f.updateGuards))), l && u && // if there is no instance but to and from are the same this might be
2387
2387
  // the first visit
2388
- (!f || !be(u, f) || !p) && (u.enterCallbacks[d] || []).forEach((g) => g(l));
2388
+ (!f || !be(u, f) || !p) && (u.enterCallbacks[d] || []).forEach((v) => v(l));
2389
2389
  }, { flush: "post" }), () => {
2390
2390
  const l = r.value, u = e.name, d = a.value, p = d && d.components[u];
2391
2391
  if (!p)
2392
2392
  return eo(n.default, { Component: p, route: l });
2393
- const f = d.props[u], h = f ? f === !0 ? l.params : typeof f == "function" ? f(l) : f : null, g = _o(p, T({}, h, t, {
2393
+ const f = d.props[u], m = f ? f === !0 ? l.params : typeof f == "function" ? f(l) : f : null, v = _o(p, V({}, m, t, {
2394
2394
  onVnodeUnmounted: ($) => {
2395
2395
  $.component.isUnmounted && (d.instances[u] = null);
2396
2396
  },
2397
2397
  ref: c
2398
2398
  }));
2399
- if (process.env.NODE_ENV !== "production" && le && g.ref) {
2399
+ if (process.env.NODE_ENV !== "production" && le && v.ref) {
2400
2400
  const $ = {
2401
2401
  depth: i.value,
2402
2402
  name: d.name,
2403
2403
  path: d.path,
2404
2404
  meta: d.meta
2405
2405
  };
2406
- (K(g.ref) ? g.ref.map((S) => S.i) : [g.ref.i]).forEach((S) => {
2407
- S.__vrv_devtools = $;
2406
+ (K(v.ref) ? v.ref.map((x) => x.i) : [v.ref.i]).forEach((x) => {
2407
+ x.__vrv_devtools = $;
2408
2408
  });
2409
2409
  }
2410
2410
  return (
2411
2411
  // pass the vnode to the slot as a prop.
2412
2412
  // h and <component :is="..."> both accept vnodes
2413
- eo(n.default, { Component: g, route: l }) || g
2413
+ eo(n.default, { Component: v, route: l }) || v
2414
2414
  );
2415
2415
  };
2416
2416
  }
@@ -2426,7 +2426,7 @@ function Wa() {
2426
2426
  const e = We(), t = e.parent && e.parent.type.name, n = e.parent && e.parent.subTree && e.parent.subTree.type;
2427
2427
  if (t && (t === "KeepAlive" || t.includes("Transition")) && typeof n == "object" && n.name === "RouterView") {
2428
2428
  const o = t === "KeepAlive" ? "keep-alive" : "transition";
2429
- N(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
2429
+ S(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
2430
2430
  Use slot props instead:
2431
2431
 
2432
2432
  <router-view v-slot="{ Component }">
@@ -2437,7 +2437,7 @@ Use slot props instead:
2437
2437
  }
2438
2438
  }
2439
2439
  function Ge(e, t) {
2440
- const n = T({}, e, {
2440
+ const n = V({}, e, {
2441
2441
  // remove variables that can contain vue instances
2442
2442
  matched: e.matched.map((o) => Xa(o, ["instances", "children", "aliasOf"]))
2443
2443
  });
@@ -2491,15 +2491,15 @@ function Ha(e, t, n) {
2491
2491
  });
2492
2492
  }
2493
2493
  K(d.__vrl_devtools) && (d.__devtoolsApi = r, d.__vrl_devtools.forEach((p) => {
2494
- let f = p.route.path, h = Zo, g = "", $ = 0;
2495
- p.error ? (f = p.error, h = Ja, $ = Ka) : p.isExactActive ? (h = Xo, g = "This is exactly active") : p.isActive && (h = Qo, g = "This link is active"), u.tags.push({
2494
+ let f = p.route.path, m = Zo, v = "", $ = 0;
2495
+ p.error ? (f = p.error, m = Ja, $ = Ka) : p.isExactActive ? (m = Xo, v = "This is exactly active") : p.isActive && (m = Qo, v = "This link is active"), u.tags.push({
2496
2496
  label: f,
2497
2497
  textColor: $,
2498
- tooltip: g,
2499
- backgroundColor: h
2498
+ tooltip: v,
2499
+ backgroundColor: m
2500
2500
  });
2501
2501
  }));
2502
- }), H(t.currentRoute, () => {
2502
+ }), F(t.currentRoute, () => {
2503
2503
  c(), r.notifyComponentUpdate(), r.sendInspectorTree(a), r.sendInspectorState(a);
2504
2504
  });
2505
2505
  const s = "router:navigations:" + o;
@@ -2711,127 +2711,127 @@ function Za(e) {
2711
2711
  const s = ze(), i = ze(), a = ze(), c = Cr(he);
2712
2712
  let l = he;
2713
2713
  le && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
2714
- const u = Lt.bind(null, (m) => "" + m), d = Lt.bind(null, Ks), p = (
2714
+ const u = Lt.bind(null, (h) => "" + h), d = Lt.bind(null, Ks), p = (
2715
2715
  // @ts-expect-error: intentionally avoid the type check
2716
2716
  Lt.bind(null, Ve)
2717
2717
  );
2718
- function f(m, y) {
2719
- let v, _;
2720
- return Go(m) ? (v = t.getRecordMatcher(m), process.env.NODE_ENV !== "production" && !v && N(`Parent route "${String(m)}" not found when adding child route`, y), _ = y) : _ = m, t.addRoute(_, v);
2721
- }
2722
- function h(m) {
2723
- const y = t.getRecordMatcher(m);
2724
- y ? t.removeRoute(y) : process.env.NODE_ENV !== "production" && N(`Cannot remove non-existent route "${String(m)}"`);
2725
- }
2726
- function g() {
2727
- return t.getRoutes().map((m) => m.record);
2728
- }
2729
- function $(m) {
2730
- return !!t.getRecordMatcher(m);
2731
- }
2732
- function S(m, y) {
2733
- if (y = T({}, y || c.value), typeof m == "string") {
2734
- const C = Mt(n, m, y.path), B = t.resolve({ path: C.path }, y), we = r.createHref(C.fullPath);
2735
- return process.env.NODE_ENV !== "production" && (we.startsWith("//") ? N(`Location "${m}" resolved to "${we}". A resolved location cannot start with multiple slashes.`) : B.matched.length || N(`No match found for location with path "${m}"`)), T(C, B, {
2736
- params: p(B.params),
2737
- hash: Ve(C.hash),
2718
+ function f(h, y) {
2719
+ let g, _;
2720
+ return Go(h) ? (g = t.getRecordMatcher(h), process.env.NODE_ENV !== "production" && !g && S(`Parent route "${String(h)}" not found when adding child route`, y), _ = y) : _ = h, t.addRoute(_, g);
2721
+ }
2722
+ function m(h) {
2723
+ const y = t.getRecordMatcher(h);
2724
+ y ? t.removeRoute(y) : process.env.NODE_ENV !== "production" && S(`Cannot remove non-existent route "${String(h)}"`);
2725
+ }
2726
+ function v() {
2727
+ return t.getRoutes().map((h) => h.record);
2728
+ }
2729
+ function $(h) {
2730
+ return !!t.getRecordMatcher(h);
2731
+ }
2732
+ function x(h, y) {
2733
+ if (y = V({}, y || c.value), typeof h == "string") {
2734
+ const N = Mt(n, h, y.path), W = t.resolve({ path: N.path }, y), we = r.createHref(N.fullPath);
2735
+ return process.env.NODE_ENV !== "production" && (we.startsWith("//") ? S(`Location "${h}" resolved to "${we}". A resolved location cannot start with multiple slashes.`) : W.matched.length || S(`No match found for location with path "${h}"`)), V(N, W, {
2736
+ params: p(W.params),
2737
+ hash: Ve(N.hash),
2738
2738
  redirectedFrom: void 0,
2739
2739
  href: we
2740
2740
  });
2741
2741
  }
2742
- if (process.env.NODE_ENV !== "production" && !Ot(m))
2743
- return N(`router.resolve() was passed an invalid location. This will fail in production.
2744
- - Location:`, m), S({});
2745
- let v;
2746
- if (m.path != null)
2747
- process.env.NODE_ENV !== "production" && "params" in m && !("name" in m) && // @ts-expect-error: the type is never
2748
- Object.keys(m.params).length && N(`Path "${m.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), v = T({}, m, {
2749
- path: Mt(n, m.path, y.path).path
2742
+ if (process.env.NODE_ENV !== "production" && !Ot(h))
2743
+ return S(`router.resolve() was passed an invalid location. This will fail in production.
2744
+ - Location:`, h), x({});
2745
+ let g;
2746
+ if (h.path != null)
2747
+ process.env.NODE_ENV !== "production" && "params" in h && !("name" in h) && // @ts-expect-error: the type is never
2748
+ Object.keys(h.params).length && S(`Path "${h.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), g = V({}, h, {
2749
+ path: Mt(n, h.path, y.path).path
2750
2750
  });
2751
2751
  else {
2752
- const C = T({}, m.params);
2753
- for (const B in C)
2754
- C[B] == null && delete C[B];
2755
- v = T({}, m, {
2756
- params: d(C)
2752
+ const N = V({}, h.params);
2753
+ for (const W in N)
2754
+ N[W] == null && delete N[W];
2755
+ g = V({}, h, {
2756
+ params: d(N)
2757
2757
  }), y.params = d(y.params);
2758
2758
  }
2759
- const _ = t.resolve(v, y), A = m.hash || "";
2760
- process.env.NODE_ENV !== "production" && A && !A.startsWith("#") && N(`A \`hash\` should always start with the character "#". Replace "${A}" with "#${A}".`), _.params = u(p(_.params));
2761
- const W = Xs(o, T({}, m, {
2762
- hash: Gs(A),
2759
+ const _ = t.resolve(g, y), R = h.hash || "";
2760
+ process.env.NODE_ENV !== "production" && R && !R.startsWith("#") && S(`A \`hash\` should always start with the character "#". Replace "${R}" with "#${R}".`), _.params = u(p(_.params));
2761
+ const U = Xs(o, V({}, h, {
2762
+ hash: Gs(R),
2763
2763
  path: _.path
2764
- })), D = r.createHref(W);
2765
- return process.env.NODE_ENV !== "production" && (D.startsWith("//") ? N(`Location "${m}" resolved to "${D}". A resolved location cannot start with multiple slashes.`) : _.matched.length || N(`No match found for location with path "${m.path != null ? m.path : m}"`)), T({
2766
- fullPath: W,
2764
+ })), P = r.createHref(U);
2765
+ return process.env.NODE_ENV !== "production" && (P.startsWith("//") ? S(`Location "${h}" resolved to "${P}". A resolved location cannot start with multiple slashes.`) : _.matched.length || S(`No match found for location with path "${h.path != null ? h.path : h}"`)), V({
2766
+ fullPath: U,
2767
2767
  // keep the hash encoded so fullPath is effectively path + encodedQuery +
2768
2768
  // hash
2769
- hash: A,
2769
+ hash: R,
2770
2770
  query: (
2771
2771
  // if the user is using a custom query lib like qs, we might have
2772
2772
  // nested objects, so we keep the query as is, meaning it can contain
2773
2773
  // numbers at `$route.query`, but at the point, the user will have to
2774
2774
  // use their own type anyway.
2775
2775
  // https://github.com/vuejs/router/issues/328#issuecomment-649481567
2776
- o === Kn ? Da(m.query) : m.query || {}
2776
+ o === Kn ? Da(h.query) : h.query || {}
2777
2777
  )
2778
2778
  }, _, {
2779
2779
  redirectedFrom: void 0,
2780
- href: D
2780
+ href: P
2781
2781
  });
2782
2782
  }
2783
- function x(m) {
2784
- return typeof m == "string" ? Mt(n, m, c.value.path) : T({}, m);
2783
+ function O(h) {
2784
+ return typeof h == "string" ? Mt(n, h, c.value.path) : V({}, h);
2785
2785
  }
2786
- function O(m, y) {
2787
- if (l !== m)
2786
+ function D(h, y) {
2787
+ if (l !== h)
2788
2788
  return je(8, {
2789
2789
  from: y,
2790
- to: m
2790
+ to: h
2791
2791
  });
2792
2792
  }
2793
- function j(m) {
2794
- return E(m);
2793
+ function A(h) {
2794
+ return E(h);
2795
2795
  }
2796
- function G(m) {
2797
- return j(T(x(m), { replace: !0 }));
2796
+ function L(h) {
2797
+ return A(V(O(h), { replace: !0 }));
2798
2798
  }
2799
- function Z(m) {
2800
- const y = m.matched[m.matched.length - 1];
2799
+ function Z(h) {
2800
+ const y = h.matched[h.matched.length - 1];
2801
2801
  if (y && y.redirect) {
2802
- const { redirect: v } = y;
2803
- let _ = typeof v == "function" ? v(m) : v;
2804
- if (typeof _ == "string" && (_ = _.includes("?") || _.includes("#") ? _ = x(_) : (
2802
+ const { redirect: g } = y;
2803
+ let _ = typeof g == "function" ? g(h) : g;
2804
+ if (typeof _ == "string" && (_ = _.includes("?") || _.includes("#") ? _ = O(_) : (
2805
2805
  // force empty params
2806
2806
  { path: _ }
2807
2807
  ), _.params = {}), process.env.NODE_ENV !== "production" && _.path == null && !("name" in _))
2808
- throw N(`Invalid redirect found:
2808
+ throw S(`Invalid redirect found:
2809
2809
  ${JSON.stringify(_, null, 2)}
2810
- when navigating to "${m.fullPath}". A redirect must contain a name or path. This will break in production.`), new Error("Invalid redirect");
2811
- return T({
2812
- query: m.query,
2813
- hash: m.hash,
2810
+ when navigating to "${h.fullPath}". A redirect must contain a name or path. This will break in production.`), new Error("Invalid redirect");
2811
+ return V({
2812
+ query: h.query,
2813
+ hash: h.hash,
2814
2814
  // avoid transferring params if the redirect has a path
2815
- params: _.path != null ? {} : m.params
2815
+ params: _.path != null ? {} : h.params
2816
2816
  }, _);
2817
2817
  }
2818
2818
  }
2819
- function E(m, y) {
2820
- const v = l = S(m), _ = c.value, A = m.state, W = m.force, D = m.replace === !0, C = Z(v);
2821
- if (C)
2819
+ function E(h, y) {
2820
+ const g = l = x(h), _ = c.value, R = h.state, U = h.force, P = h.replace === !0, N = Z(g);
2821
+ if (N)
2822
2822
  return E(
2823
- T(x(C), {
2824
- state: typeof C == "object" ? T({}, A, C.state) : A,
2825
- force: W,
2826
- replace: D
2823
+ V(O(N), {
2824
+ state: typeof N == "object" ? V({}, R, N.state) : R,
2825
+ force: U,
2826
+ replace: P
2827
2827
  }),
2828
2828
  // keep original redirectedFrom if it exists
2829
- y || v
2829
+ y || g
2830
2830
  );
2831
- const B = v;
2832
- B.redirectedFrom = y;
2831
+ const W = g;
2832
+ W.redirectedFrom = y;
2833
2833
  let we;
2834
- return !W && Ln(o, _, v) && (we = je(16, { to: B, from: _ }), Cn(
2834
+ return !U && Ln(o, _, g) && (we = je(16, { to: W, from: _ }), Cn(
2835
2835
  _,
2836
2836
  _,
2837
2837
  // this is a push, the only way for it to be triggered from a
@@ -2840,7 +2840,7 @@ ${JSON.stringify(_, null, 2)}
2840
2840
  // This cannot be the first navigation because the initial location
2841
2841
  // cannot be manually navigated to
2842
2842
  !1
2843
- )), (we ? Promise.resolve(we) : b(B, _)).catch((q) => ie(q) ? (
2843
+ )), (we ? Promise.resolve(we) : b(W, _)).catch((q) => ie(q) ? (
2844
2844
  // navigation redirects still mark the router as ready
2845
2845
  ie(
2846
2846
  q,
@@ -2849,7 +2849,7 @@ ${JSON.stringify(_, null, 2)}
2849
2849
  ) ? q : At(q)
2850
2850
  ) : (
2851
2851
  // reject any unknown error
2852
- F(q, B, _)
2852
+ z(q, W, _)
2853
2853
  )).then((q) => {
2854
2854
  if (q) {
2855
2855
  if (ie(
@@ -2858,174 +2858,174 @@ ${JSON.stringify(_, null, 2)}
2858
2858
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2859
2859
  ))
2860
2860
  return process.env.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
2861
- Ln(o, S(q.to), B) && // and we have done it a couple of times
2861
+ Ln(o, x(q.to), W) && // and we have done it a couple of times
2862
2862
  y && // @ts-expect-error: added only in dev
2863
2863
  (y._count = y._count ? (
2864
2864
  // @ts-expect-error
2865
2865
  y._count + 1
2866
- ) : 1) > 30 ? (N(`Detected a possibly infinite redirection in a navigation guard when going from "${_.fullPath}" to "${B.fullPath}". Aborting to avoid a Stack Overflow.
2866
+ ) : 1) > 30 ? (S(`Detected a possibly infinite redirection in a navigation guard when going from "${_.fullPath}" to "${W.fullPath}". Aborting to avoid a Stack Overflow.
2867
2867
  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"))) : E(
2868
2868
  // keep options
2869
- T({
2869
+ V({
2870
2870
  // preserve an existing replacement but allow the redirect to override it
2871
- replace: D
2872
- }, x(q.to), {
2873
- state: typeof q.to == "object" ? T({}, A, q.to.state) : A,
2874
- force: W
2871
+ replace: P
2872
+ }, O(q.to), {
2873
+ state: typeof q.to == "object" ? V({}, R, q.to.state) : R,
2874
+ force: U
2875
2875
  }),
2876
2876
  // preserve the original redirectedFrom if any
2877
- y || B
2877
+ y || W
2878
2878
  );
2879
2879
  } else
2880
- q = J(B, _, !0, D, A);
2881
- return L(B, _, q), q;
2880
+ q = J(W, _, !0, P, R);
2881
+ return M(W, _, q), q;
2882
2882
  });
2883
2883
  }
2884
- function ne(m, y) {
2885
- const v = O(m, y);
2886
- return v ? Promise.reject(v) : Promise.resolve();
2884
+ function ne(h, y) {
2885
+ const g = D(h, y);
2886
+ return g ? Promise.reject(g) : Promise.resolve();
2887
2887
  }
2888
- function w(m) {
2888
+ function w(h) {
2889
2889
  const y = lt.values().next().value;
2890
- return y && typeof y.runWithContext == "function" ? y.runWithContext(m) : m();
2891
- }
2892
- function b(m, y) {
2893
- let v;
2894
- const [_, A, W] = ei(m, y);
2895
- v = Bt(_.reverse(), "beforeRouteLeave", m, y);
2896
- for (const C of _)
2897
- C.leaveGuards.forEach((B) => {
2898
- v.push(me(B, m, y));
2890
+ return y && typeof y.runWithContext == "function" ? y.runWithContext(h) : h();
2891
+ }
2892
+ function b(h, y) {
2893
+ let g;
2894
+ const [_, R, U] = ei(h, y);
2895
+ g = Bt(_.reverse(), "beforeRouteLeave", h, y);
2896
+ for (const N of _)
2897
+ N.leaveGuards.forEach((W) => {
2898
+ g.push(me(W, h, y));
2899
2899
  });
2900
- const D = ne.bind(null, m, y);
2901
- return v.push(D), Pe(v).then(() => {
2902
- v = [];
2903
- for (const C of s.list())
2904
- v.push(me(C, m, y));
2905
- return v.push(D), Pe(v);
2900
+ const P = ne.bind(null, h, y);
2901
+ return g.push(P), Pe(g).then(() => {
2902
+ g = [];
2903
+ for (const N of s.list())
2904
+ g.push(me(N, h, y));
2905
+ return g.push(P), Pe(g);
2906
2906
  }).then(() => {
2907
- v = Bt(A, "beforeRouteUpdate", m, y);
2908
- for (const C of A)
2909
- C.updateGuards.forEach((B) => {
2910
- v.push(me(B, m, y));
2907
+ g = Bt(R, "beforeRouteUpdate", h, y);
2908
+ for (const N of R)
2909
+ N.updateGuards.forEach((W) => {
2910
+ g.push(me(W, h, y));
2911
2911
  });
2912
- return v.push(D), Pe(v);
2912
+ return g.push(P), Pe(g);
2913
2913
  }).then(() => {
2914
- v = [];
2915
- for (const C of W)
2916
- if (C.beforeEnter)
2917
- if (K(C.beforeEnter))
2918
- for (const B of C.beforeEnter)
2919
- v.push(me(B, m, y));
2914
+ g = [];
2915
+ for (const N of U)
2916
+ if (N.beforeEnter)
2917
+ if (K(N.beforeEnter))
2918
+ for (const W of N.beforeEnter)
2919
+ g.push(me(W, h, y));
2920
2920
  else
2921
- v.push(me(C.beforeEnter, m, y));
2922
- return v.push(D), Pe(v);
2923
- }).then(() => (m.matched.forEach((C) => C.enterCallbacks = {}), v = Bt(W, "beforeRouteEnter", m, y, w), v.push(D), Pe(v))).then(() => {
2924
- v = [];
2925
- for (const C of i.list())
2926
- v.push(me(C, m, y));
2927
- return v.push(D), Pe(v);
2928
- }).catch((C) => ie(
2929
- C,
2921
+ g.push(me(N.beforeEnter, h, y));
2922
+ return g.push(P), Pe(g);
2923
+ }).then(() => (h.matched.forEach((N) => N.enterCallbacks = {}), g = Bt(U, "beforeRouteEnter", h, y, w), g.push(P), Pe(g))).then(() => {
2924
+ g = [];
2925
+ for (const N of i.list())
2926
+ g.push(me(N, h, y));
2927
+ return g.push(P), Pe(g);
2928
+ }).catch((N) => ie(
2929
+ N,
2930
2930
  8
2931
2931
  /* ErrorTypes.NAVIGATION_CANCELLED */
2932
- ) ? C : Promise.reject(C));
2932
+ ) ? N : Promise.reject(N));
2933
2933
  }
2934
- function L(m, y, v) {
2935
- a.list().forEach((_) => w(() => _(m, y, v)));
2934
+ function M(h, y, g) {
2935
+ a.list().forEach((_) => w(() => _(h, y, g)));
2936
2936
  }
2937
- function J(m, y, v, _, A) {
2938
- const W = O(m, y);
2939
- if (W)
2940
- return W;
2941
- const D = y === he, C = le ? history.state : {};
2942
- v && (_ || D ? r.replace(m.fullPath, T({
2943
- scroll: D && C && C.scroll
2944
- }, A)) : r.push(m.fullPath, A)), c.value = m, Cn(m, y, v, D), At();
2937
+ function J(h, y, g, _, R) {
2938
+ const U = D(h, y);
2939
+ if (U)
2940
+ return U;
2941
+ const P = y === he, N = le ? history.state : {};
2942
+ g && (_ || P ? r.replace(h.fullPath, V({
2943
+ scroll: P && N && N.scroll
2944
+ }, R)) : r.push(h.fullPath, R)), c.value = h, Cn(h, y, g, P), At();
2945
2945
  }
2946
2946
  let ee;
2947
2947
  function Ue() {
2948
- ee || (ee = r.listen((m, y, v) => {
2949
- const _ = S(m), A = Z(_);
2950
- if (A) {
2951
- E(T(A, { replace: !0 }), _).catch(Ke);
2948
+ ee || (ee = r.listen((h, y, g) => {
2949
+ const _ = x(h), R = Z(_);
2950
+ if (R) {
2951
+ E(V(R, { replace: !0 }), _).catch(Ke);
2952
2952
  return;
2953
2953
  }
2954
2954
  l = _;
2955
- const W = c.value;
2956
- le && aa(Bn(W.fullPath, v.delta), Ct()), b(_, W).catch((D) => ie(
2957
- D,
2955
+ const U = c.value;
2956
+ le && aa(Bn(U.fullPath, g.delta), Ct()), b(_, U).catch((P) => ie(
2957
+ P,
2958
2958
  12
2959
2959
  /* ErrorTypes.NAVIGATION_CANCELLED */
2960
- ) ? D : ie(
2961
- D,
2960
+ ) ? P : ie(
2961
+ P,
2962
2962
  2
2963
2963
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2964
2964
  ) ? (E(
2965
- D.to,
2965
+ P.to,
2966
2966
  _
2967
2967
  // avoid an uncaught rejection, let push call triggerError
2968
- ).then((C) => {
2968
+ ).then((N) => {
2969
2969
  ie(
2970
- C,
2970
+ N,
2971
2971
  20
2972
2972
  /* ErrorTypes.NAVIGATION_DUPLICATED */
2973
- ) && !v.delta && v.type === ot.pop && r.go(-1, !1);
2974
- }).catch(Ke), Promise.reject()) : (v.delta && r.go(-v.delta, !1), F(D, _, W))).then((D) => {
2975
- D = D || J(
2973
+ ) && !g.delta && g.type === ot.pop && r.go(-1, !1);
2974
+ }).catch(Ke), Promise.reject()) : (g.delta && r.go(-g.delta, !1), z(P, _, U))).then((P) => {
2975
+ P = P || J(
2976
2976
  // after navigation, all matched components are resolved
2977
2977
  _,
2978
- W,
2978
+ U,
2979
2979
  !1
2980
- ), D && (v.delta && // a new navigation has been triggered, so we do not want to revert, that will change the current history
2980
+ ), P && (g.delta && // a new navigation has been triggered, so we do not want to revert, that will change the current history
2981
2981
  // entry while a different route is displayed
2982
2982
  !ie(
2983
- D,
2983
+ P,
2984
2984
  8
2985
2985
  /* ErrorTypes.NAVIGATION_CANCELLED */
2986
- ) ? r.go(-v.delta, !1) : v.type === ot.pop && ie(
2987
- D,
2986
+ ) ? r.go(-g.delta, !1) : g.type === ot.pop && ie(
2987
+ P,
2988
2988
  20
2989
2989
  /* ErrorTypes.NAVIGATION_DUPLICATED */
2990
- ) && r.go(-1, !1)), L(_, W, D);
2990
+ ) && r.go(-1, !1)), M(_, U, P);
2991
2991
  }).catch(Ke);
2992
2992
  }));
2993
2993
  }
2994
2994
  let He = ze(), it = ze(), oe;
2995
- function F(m, y, v) {
2996
- At(m);
2995
+ function z(h, y, g) {
2996
+ At(h);
2997
2997
  const _ = it.list();
2998
- return _.length ? _.forEach((A) => A(m, y, v)) : (process.env.NODE_ENV !== "production" && N("uncaught error during route navigation:"), console.error(m)), Promise.reject(m);
2998
+ return _.length ? _.forEach((R) => R(h, y, g)) : (process.env.NODE_ENV !== "production" && S("uncaught error during route navigation:"), console.error(h)), Promise.reject(h);
2999
2999
  }
3000
3000
  function xr() {
3001
- return oe && c.value !== he ? Promise.resolve() : new Promise((m, y) => {
3002
- He.add([m, y]);
3001
+ return oe && c.value !== he ? Promise.resolve() : new Promise((h, y) => {
3002
+ He.add([h, y]);
3003
3003
  });
3004
3004
  }
3005
- function At(m) {
3006
- return oe || (oe = !m, Ue(), He.list().forEach(([y, v]) => m ? v(m) : y()), He.reset()), m;
3005
+ function At(h) {
3006
+ return oe || (oe = !h, Ue(), He.list().forEach(([y, g]) => h ? g(h) : y()), He.reset()), h;
3007
3007
  }
3008
- function Cn(m, y, v, _) {
3009
- const { scrollBehavior: A } = e;
3010
- if (!le || !A)
3008
+ function Cn(h, y, g, _) {
3009
+ const { scrollBehavior: R } = e;
3010
+ if (!le || !R)
3011
3011
  return Promise.resolve();
3012
- const W = !v && ia(Bn(m.fullPath, 0)) || (_ || !v) && history.state && history.state.scroll || null;
3013
- return Re().then(() => A(m, y, W)).then((D) => D && sa(D)).catch((D) => F(D, m, y));
3012
+ const U = !g && ia(Bn(h.fullPath, 0)) || (_ || !g) && history.state && history.state.scroll || null;
3013
+ return Re().then(() => R(h, y, U)).then((P) => P && sa(P)).catch((P) => z(P, h, y));
3014
3014
  }
3015
- const Tt = (m) => r.go(m);
3015
+ const Tt = (h) => r.go(h);
3016
3016
  let Rt;
3017
3017
  const lt = /* @__PURE__ */ new Set(), Sr = {
3018
3018
  currentRoute: c,
3019
3019
  listening: !0,
3020
3020
  addRoute: f,
3021
- removeRoute: h,
3021
+ removeRoute: m,
3022
3022
  clearRoutes: t.clearRoutes,
3023
3023
  hasRoute: $,
3024
- getRoutes: g,
3025
- resolve: S,
3024
+ getRoutes: v,
3025
+ resolve: x,
3026
3026
  options: e,
3027
- push: j,
3028
- replace: G,
3027
+ push: A,
3028
+ replace: L,
3029
3029
  go: Tt,
3030
3030
  back: () => Tt(-1),
3031
3031
  forward: () => Tt(1),
@@ -3034,31 +3034,31 @@ ${JSON.stringify(_, null, 2)}
3034
3034
  afterEach: a.add,
3035
3035
  onError: it.add,
3036
3036
  isReady: xr,
3037
- install(m) {
3037
+ install(h) {
3038
3038
  const y = this;
3039
- m.component("RouterLink", Va), m.component("RouterView", Ba), m.config.globalProperties.$router = y, Object.defineProperty(m.config.globalProperties, "$route", {
3039
+ h.component("RouterLink", Va), h.component("RouterView", Ba), h.config.globalProperties.$router = y, Object.defineProperty(h.config.globalProperties, "$route", {
3040
3040
  enumerable: !0,
3041
3041
  get: () => k(c)
3042
3042
  }), le && // used for the initial navigation client side to avoid pushing
3043
3043
  // multiple times when the router is used in multiple apps
3044
- !Rt && c.value === he && (Rt = !0, j(r.location).catch((A) => {
3045
- process.env.NODE_ENV !== "production" && N("Unexpected error when starting the router:", A);
3044
+ !Rt && c.value === he && (Rt = !0, A(r.location).catch((R) => {
3045
+ process.env.NODE_ENV !== "production" && S("Unexpected error when starting the router:", R);
3046
3046
  }));
3047
- const v = {};
3048
- for (const A in he)
3049
- Object.defineProperty(v, A, {
3050
- get: () => c.value[A],
3047
+ const g = {};
3048
+ for (const R in he)
3049
+ Object.defineProperty(g, R, {
3050
+ get: () => c.value[R],
3051
3051
  enumerable: !0
3052
3052
  });
3053
- m.provide(fn, y), m.provide(Ko, Ir(v)), m.provide(en, c);
3054
- const _ = m.unmount;
3055
- lt.add(m), m.unmount = function() {
3056
- lt.delete(m), lt.size < 1 && (l = he, ee && ee(), ee = null, c.value = he, Rt = !1, oe = !1), _();
3057
- }, process.env.NODE_ENV !== "production" && le && Ha(m, y, t);
3053
+ h.provide(fn, y), h.provide(Ko, Ir(g)), h.provide(en, c);
3054
+ const _ = h.unmount;
3055
+ lt.add(h), h.unmount = function() {
3056
+ lt.delete(h), lt.size < 1 && (l = he, ee && ee(), ee = null, c.value = he, Rt = !1, oe = !1), _();
3057
+ }, process.env.NODE_ENV !== "production" && le && Ha(h, y, t);
3058
3058
  }
3059
3059
  };
3060
- function Pe(m) {
3061
- return m.reduce((y, v) => y.then(() => w(v)), Promise.resolve());
3060
+ function Pe(h) {
3061
+ return h.reduce((y, g) => y.then(() => w(g)), Promise.resolve());
3062
3062
  }
3063
3063
  return Sr;
3064
3064
  }
@@ -3795,9 +3795,9 @@ function lo(e, t) {
3795
3795
  const u = i++;
3796
3796
  o.set(l, u);
3797
3797
  for (const { key: p, fn: f } of r) {
3798
- const h = f(l);
3799
- if (h)
3800
- return n[u] = `["${p}",${a(h)}]`, u;
3798
+ const m = f(l);
3799
+ if (m)
3800
+ return n[u] = `["${p}",${a(m)}]`, u;
3801
3801
  }
3802
3802
  let d = "";
3803
3803
  if (ao(l))
@@ -3821,22 +3821,22 @@ function lo(e, t) {
3821
3821
  break;
3822
3822
  case "Array":
3823
3823
  d = "[";
3824
- for (let h = 0; h < l.length; h += 1)
3825
- h > 0 && (d += ","), h in l ? (s.push(`[${h}]`), d += a(l[h]), s.pop()) : d += hr;
3824
+ for (let m = 0; m < l.length; m += 1)
3825
+ m > 0 && (d += ","), m in l ? (s.push(`[${m}]`), d += a(l[m]), s.pop()) : d += hr;
3826
3826
  d += "]";
3827
3827
  break;
3828
3828
  case "Set":
3829
3829
  d = '["Set"';
3830
- for (const h of l)
3831
- d += `,${a(h)}`;
3830
+ for (const m of l)
3831
+ d += `,${a(m)}`;
3832
3832
  d += "]";
3833
3833
  break;
3834
3834
  case "Map":
3835
3835
  d = '["Map"';
3836
- for (const [h, g] of l)
3836
+ for (const [m, v] of l)
3837
3837
  s.push(
3838
- `.get(${ao(h) ? Ht(h) : "..."})`
3839
- ), d += `,${a(h)},${a(g)}`, s.pop();
3838
+ `.get(${ao(m) ? Ht(m) : "..."})`
3839
+ ), d += `,${a(m)},${a(v)}`, s.pop();
3840
3840
  d += "]";
3841
3841
  break;
3842
3842
  default:
@@ -3852,14 +3852,14 @@ function lo(e, t) {
3852
3852
  );
3853
3853
  if (Object.getPrototypeOf(l) === null) {
3854
3854
  d = '["null"';
3855
- for (const h in l)
3856
- s.push(`.${h}`), d += `,${Te(h)},${a(l[h])}`, s.pop();
3855
+ for (const m in l)
3856
+ s.push(`.${m}`), d += `,${Te(m)},${a(l[m])}`, s.pop();
3857
3857
  d += "]";
3858
3858
  } else {
3859
3859
  d = "{";
3860
- let h = !1;
3861
- for (const g in l)
3862
- h && (d += ","), h = !0, s.push(`.${g}`), d += `${Te(g)}:${a(l[g])}`, s.pop();
3860
+ let m = !1;
3861
+ for (const v in l)
3862
+ m && (d += ","), m = !0, s.push(`.${v}`), d += `${Te(v)}:${a(l[v])}`, s.pop();
3863
3863
  d += "}";
3864
3864
  }
3865
3865
  }
@@ -3874,7 +3874,7 @@ function Ht(e) {
3874
3874
  }
3875
3875
  function al(e, t, { initialize: n, type: o }) {
3876
3876
  let r = `${t.$id}-${e.toString()}`, s = new yn(r, { type: o }), i = !1, a = 0;
3877
- H(() => t[e], (u) => {
3877
+ F(() => t[e], (u) => {
3878
3878
  i || (a = Date.now(), s.postMessage({ timestamp: a, state: io(lo(u)) })), i = !1;
3879
3879
  }, { deep: !0 }), s.onmessage = (u) => {
3880
3880
  if (u === void 0) {
@@ -3904,8 +3904,8 @@ cl.use(
3904
3904
  const ul = /* @__PURE__ */ X({
3905
3905
  __name: "Doctype",
3906
3906
  setup(e) {
3907
- const { stonecrop: t, isReady: n } = jo(), o = P([]);
3908
- return H(n, () => {
3907
+ const { stonecrop: t, isReady: n } = jo(), o = I([]);
3908
+ return F(n, () => {
3909
3909
  if (n.value) {
3910
3910
  let r = t.value.schema.schema.toArray();
3911
3911
  r.forEach((s, i) => {
@@ -3913,7 +3913,7 @@ const ul = /* @__PURE__ */ X({
3913
3913
  r[i].value = c;
3914
3914
  }), o.value = r;
3915
3915
  }
3916
- }), (r, s) => k(n) ? (I(), xe(k(ts), {
3916
+ }), (r, s) => k(n) ? (C(), xe(k(ts), {
3917
3917
  key: 0,
3918
3918
  class: "aform-main",
3919
3919
  modelValue: o.value,
@@ -3944,14 +3944,14 @@ function st(...e) {
3944
3944
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
3945
3945
  const s = [], i = () => {
3946
3946
  s.forEach((u) => u()), s.length = 0;
3947
- }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = H(
3947
+ }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = F(
3948
3948
  () => [rt(t), _n(r)],
3949
3949
  ([u, d]) => {
3950
3950
  if (i(), !u)
3951
3951
  return;
3952
3952
  const p = vl(d) ? { ...d } : d;
3953
3953
  s.push(
3954
- ...n.flatMap((f) => o.map((h) => a(u, f, h, p)))
3954
+ ...n.flatMap((f) => o.map((m) => a(u, f, m, p)))
3955
3955
  );
3956
3956
  },
3957
3957
  { immediate: !0, flush: "post" }
@@ -3961,24 +3961,24 @@ function st(...e) {
3961
3961
  return yr(l), l;
3962
3962
  }
3963
3963
  function yl() {
3964
- const e = P(!1), t = We();
3964
+ const e = I(!1), t = We();
3965
3965
  return t && Be(() => {
3966
3966
  e.value = !0;
3967
3967
  }, t), e;
3968
3968
  }
3969
3969
  function bl(e) {
3970
3970
  const t = yl();
3971
- return R(() => (t.value, !!e()));
3971
+ return T(() => (t.value, !!e()));
3972
3972
  }
3973
3973
  function wl(e, t, n = {}) {
3974
3974
  const { window: o = at, ...r } = n;
3975
3975
  let s;
3976
3976
  const i = bl(() => o && "MutationObserver" in o), a = () => {
3977
3977
  s && (s.disconnect(), s = void 0);
3978
- }, c = R(() => {
3978
+ }, c = T(() => {
3979
3979
  const p = _n(e), f = (Array.isArray(p) ? p : [p]).map(rt).filter(hl);
3980
3980
  return new Set(f);
3981
- }), l = H(
3981
+ }), l = F(
3982
3982
  () => c.value,
3983
3983
  (p) => {
3984
3984
  a(), i.value && p.size && (s = new MutationObserver(t), p.forEach((f) => s.observe(f, r)));
@@ -4006,7 +4006,7 @@ function _l(e = {}) {
4006
4006
  for (; u != null && u.shadowRoot; )
4007
4007
  u = (l = u == null ? void 0 : u.shadowRoot) == null ? void 0 : l.activeElement;
4008
4008
  return u;
4009
- }, a = P(), c = () => {
4009
+ }, a = I(), c = () => {
4010
4010
  a.value = i();
4011
4011
  };
4012
4012
  return n && (st(n, "blur", (l) => {
@@ -4022,11 +4022,11 @@ function _l(e = {}) {
4022
4022
  }
4023
4023
  const El = "focusin", kl = "focusout";
4024
4024
  function $l(e, t = {}) {
4025
- const { window: n = at } = t, o = R(() => rt(e)), r = P(!1), s = R(() => r.value), i = _l(t);
4025
+ const { window: n = at } = t, o = T(() => rt(e)), r = I(!1), s = T(() => r.value), i = _l(t);
4026
4026
  return !n || !i.value ? { focused: s } : (st(o, El, () => r.value = !0), st(o, kl, () => r.value = !1), { focused: s });
4027
4027
  }
4028
4028
  function Ol(e, { window: t = at, scrollTarget: n } = {}) {
4029
- const o = P(!1), r = () => {
4029
+ const o = I(!1), r = () => {
4030
4030
  if (!t) return;
4031
4031
  const s = t.document, i = rt(e);
4032
4032
  if (!i)
@@ -4036,7 +4036,7 @@ function Ol(e, { window: t = at, scrollTarget: n } = {}) {
4036
4036
  o.value = a.top <= (t.innerHeight || s.documentElement.clientHeight) && a.left <= (t.innerWidth || s.documentElement.clientWidth) && a.bottom >= 0 && a.right >= 0;
4037
4037
  }
4038
4038
  };
4039
- return H(
4039
+ return F(
4040
4040
  () => rt(e),
4041
4041
  () => r(),
4042
4042
  { immediate: !0, flush: "post" }
@@ -4250,20 +4250,20 @@ function br(e) {
4250
4250
  for (const u of Object.keys(l)) {
4251
4251
  const [d, ...p] = u.split(".");
4252
4252
  if (d === "keydown" && p.includes(c)) {
4253
- const f = l[u], h = p.filter(($) => pt.includes($)), g = pt.some(($) => {
4254
- const S = $.charAt(0).toUpperCase() + $.slice(1);
4255
- return a.getModifierState(S);
4253
+ const f = l[u], m = p.filter(($) => pt.includes($)), v = pt.some(($) => {
4254
+ const x = $.charAt(0).toUpperCase() + $.slice(1);
4255
+ return a.getModifierState(x);
4256
4256
  });
4257
- if (h.length > 0) {
4258
- if (g) {
4257
+ if (m.length > 0) {
4258
+ if (v) {
4259
4259
  for (const $ of pt)
4260
4260
  if (p.includes($)) {
4261
- const S = $.charAt(0).toUpperCase() + $.slice(1);
4262
- a.getModifierState(S) && f(a);
4261
+ const x = $.charAt(0).toUpperCase() + $.slice(1);
4262
+ a.getModifierState(x) && f(a);
4263
4263
  }
4264
4264
  }
4265
4265
  } else
4266
- g || f(a);
4266
+ v || f(a);
4267
4267
  }
4268
4268
  }
4269
4269
  }, s = [];
@@ -4271,8 +4271,8 @@ function br(e) {
4271
4271
  for (const i of e) {
4272
4272
  const a = t(i), c = o(i), l = r(i), u = a ? [a] : c;
4273
4273
  for (const d of u) {
4274
- const { focused: p } = $l(P(d)), f = H(p, (h) => {
4275
- h ? d.addEventListener("keydown", l) : d.removeEventListener("keydown", l);
4274
+ const { focused: p } = $l(I(d)), f = F(p, (m) => {
4275
+ m ? d.addEventListener("keydown", l) : d.removeEventListener("keydown", l);
4276
4276
  });
4277
4277
  s.push(f);
4278
4278
  }
@@ -4311,14 +4311,14 @@ function vo(...e) {
4311
4311
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4312
4312
  const s = [], i = () => {
4313
4313
  s.forEach((u) => u()), s.length = 0;
4314
- }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = H(
4314
+ }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = F(
4315
4315
  () => [Me(t), Dt(r)],
4316
4316
  ([u, d]) => {
4317
4317
  if (i(), !u)
4318
4318
  return;
4319
4319
  const p = Dl(d) ? { ...d } : d;
4320
4320
  s.push(
4321
- ...n.flatMap((f) => o.map((h) => a(u, f, h, p)))
4321
+ ...n.flatMap((f) => o.map((m) => a(u, f, m, p)))
4322
4322
  );
4323
4323
  },
4324
4324
  { immediate: !0, flush: "post" }
@@ -4328,24 +4328,24 @@ function vo(...e) {
4328
4328
  return Sn(l), l;
4329
4329
  }
4330
4330
  function Vl() {
4331
- const e = P(!1), t = We();
4331
+ const e = I(!1), t = We();
4332
4332
  return t && Be(() => {
4333
4333
  e.value = !0;
4334
4334
  }, t), e;
4335
4335
  }
4336
4336
  function wr(e) {
4337
4337
  const t = Vl();
4338
- return R(() => (t.value, !!e()));
4338
+ return T(() => (t.value, !!e()));
4339
4339
  }
4340
4340
  function _r(e, t, n = {}) {
4341
4341
  const { window: o = Nn, ...r } = n;
4342
4342
  let s;
4343
4343
  const i = wr(() => o && "MutationObserver" in o), a = () => {
4344
4344
  s && (s.disconnect(), s = void 0);
4345
- }, c = R(() => {
4345
+ }, c = T(() => {
4346
4346
  const p = Dt(e), f = (Array.isArray(p) ? p : [p]).map(Me).filter(Il);
4347
4347
  return new Set(f);
4348
- }), l = H(
4348
+ }), l = F(
4349
4349
  () => c.value,
4350
4350
  (p) => {
4351
4351
  a(), i.value && p.size && (s = new MutationObserver(t), p.forEach((f) => s.observe(f, r)));
@@ -4365,10 +4365,10 @@ function jl(e, t, n = {}) {
4365
4365
  let s;
4366
4366
  const i = wr(() => o && "ResizeObserver" in o), a = () => {
4367
4367
  s && (s.disconnect(), s = void 0);
4368
- }, c = R(() => {
4368
+ }, c = T(() => {
4369
4369
  const d = Dt(e);
4370
4370
  return Array.isArray(d) ? d.map((p) => Me(p)) : [Me(d)];
4371
- }), l = H(
4371
+ }), l = F(
4372
4372
  c,
4373
4373
  (d) => {
4374
4374
  if (a(), i.value && o) {
@@ -4393,20 +4393,20 @@ function Ll(e, t = {}) {
4393
4393
  windowScroll: r = !0,
4394
4394
  immediate: s = !0,
4395
4395
  updateTiming: i = "sync"
4396
- } = t, a = P(0), c = P(0), l = P(0), u = P(0), d = P(0), p = P(0), f = P(0), h = P(0);
4397
- function g() {
4398
- const S = Me(e);
4399
- if (!S) {
4400
- n && (a.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, p.value = 0, f.value = 0, h.value = 0);
4396
+ } = t, a = I(0), c = I(0), l = I(0), u = I(0), d = I(0), p = I(0), f = I(0), m = I(0);
4397
+ function v() {
4398
+ const x = Me(e);
4399
+ if (!x) {
4400
+ n && (a.value = 0, c.value = 0, l.value = 0, u.value = 0, d.value = 0, p.value = 0, f.value = 0, m.value = 0);
4401
4401
  return;
4402
4402
  }
4403
- const x = S.getBoundingClientRect();
4404
- a.value = x.height, c.value = x.bottom, l.value = x.left, u.value = x.right, d.value = x.top, p.value = x.width, f.value = x.x, h.value = x.y;
4403
+ const O = x.getBoundingClientRect();
4404
+ a.value = O.height, c.value = O.bottom, l.value = O.left, u.value = O.right, d.value = O.top, p.value = O.width, f.value = O.x, m.value = O.y;
4405
4405
  }
4406
4406
  function $() {
4407
- i === "sync" ? g() : i === "next-frame" && requestAnimationFrame(() => g());
4407
+ i === "sync" ? v() : i === "next-frame" && requestAnimationFrame(() => v());
4408
4408
  }
4409
- return jl(e, $), H(() => Me(e), (S) => !S && $()), _r(e, $, {
4409
+ return jl(e, $), F(() => Me(e), (x) => !x && $()), _r(e, $, {
4410
4410
  attributeFilter: ["style", "class"]
4411
4411
  }), r && vo("scroll", $, { capture: !0, passive: !0 }), o && vo("resize", $, { passive: !0 }), Rl(() => {
4412
4412
  s && $();
@@ -4418,11 +4418,14 @@ function Ll(e, t = {}) {
4418
4418
  top: d,
4419
4419
  width: p,
4420
4420
  x: f,
4421
- y: h,
4421
+ y: m,
4422
4422
  update: $
4423
4423
  };
4424
4424
  }
4425
- const Ml = ["data-colindex", "data-rowindex", "data-editable", "contenteditable", "tabindex"], Bl = { key: 1 }, Wl = /* @__PURE__ */ X({
4425
+ const Ml = (e) => {
4426
+ const t = new DOMParser().parseFromString(e, "text/html");
4427
+ return Array.from(t.body.childNodes).some((n) => n.nodeType === 1);
4428
+ }, Bl = ["data-colindex", "data-rowindex", "data-editable", "contenteditable", "tabindex"], Wl = ["innerHTML"], Ul = { key: 2 }, Hl = /* @__PURE__ */ X({
4426
4429
  __name: "ACell",
4427
4430
  props: {
4428
4431
  colIndex: {},
@@ -4434,66 +4437,69 @@ const Ml = ["data-colindex", "data-rowindex", "data-editable", "contenteditable"
4434
4437
  },
4435
4438
  setup(e) {
4436
4439
  var t;
4437
- const n = se(e.tableid), o = Nt("cell"), r = P(""), s = P(!1), { bottom: i, left: a } = Ll(o), c = n.table, l = n.columns[e.colIndex], u = n.rows[e.rowIndex], d = R(() => l.align || "center"), p = R(() => l.width || "40ch"), f = R(() => {
4438
- const O = n.cellData(e.colIndex, e.rowIndex), j = l.format;
4439
- return j ? typeof j == "function" ? j(O, { table: c, row: u, column: l }) : typeof j == "string" ? Function(`"use strict";return (${j})`)()(O, { table: c, row: u, column: l }) : O : O;
4440
- }), h = () => {
4440
+ const n = se(e.tableid), o = Nt("cell"), r = I(""), s = I(!1), { bottom: i, left: a } = Ll(o), c = n.table, l = n.columns[e.colIndex], u = n.rows[e.rowIndex], d = T(() => l.align || "center"), p = T(() => l.width || "40ch"), f = T(() => {
4441
+ const A = n.cellData(e.colIndex, e.rowIndex), L = l.format;
4442
+ return L ? typeof L == "function" ? L(A, { table: c, row: u, column: l }) : typeof L == "string" ? Function(`"use strict";return (${L})`)()(A, { table: c, row: u, column: l }) : A : A;
4443
+ }), m = T(() => typeof f.value == "string" ? Ml(f.value) : !1), v = () => {
4441
4444
  l.mask, l.modalComponent && (n.modal.visible = !0, n.modal.colIndex = e.colIndex, n.modal.rowIndex = e.rowIndex, n.modal.parent = o.value, n.modal.top = i.value, n.modal.left = a.value, n.modal.width = p.value, typeof l.modalComponent == "function" ? n.modal.component = l.modalComponent({ table: c, row: u, column: l }) : n.modal.component = l.modalComponent, n.modal.componentProps = l.modalComponentExtraProps);
4442
4445
  };
4443
4446
  if (e.addNavigation) {
4444
- let O = {
4447
+ let A = {
4445
4448
  ...xn,
4446
- "keydown.f2": h,
4447
- "keydown.alt.up": h,
4448
- "keydown.alt.down": h,
4449
- "keydown.alt.left": h,
4450
- "keydown.alt.right": h
4449
+ "keydown.f2": v,
4450
+ "keydown.alt.up": v,
4451
+ "keydown.alt.down": v,
4452
+ "keydown.alt.left": v,
4453
+ "keydown.alt.right": v
4451
4454
  };
4452
- typeof e.addNavigation == "object" && (O = {
4453
- ...O,
4455
+ typeof e.addNavigation == "object" && (A = {
4456
+ ...A,
4454
4457
  ...e.addNavigation
4455
4458
  }), br([
4456
4459
  {
4457
4460
  selectors: o,
4458
- handlers: O
4461
+ handlers: A
4459
4462
  }
4460
4463
  ]);
4461
4464
  }
4462
- const g = () => {
4465
+ const $ = () => {
4463
4466
  o.value && (r.value = o.value.textContent);
4464
- }, $ = () => {
4467
+ }, x = () => {
4465
4468
  o.value && o.value.textContent !== r.value && (r.value = o.value.textContent, o.value.dispatchEvent(new Event("change")), s.value = !0, l.format || n.setCellData(e.rowIndex, e.colIndex, r.value));
4466
- }, S = (O, j) => j && O === 0 && j > 0 ? `${j}ch` : "inherit", x = {
4469
+ }, O = (A, L) => L && A === 0 && L > 0 ? `${L}ch` : "inherit", D = {
4467
4470
  textAlign: d.value,
4468
4471
  width: p.value,
4469
4472
  backgroundColor: s.value ? "var(--cell-modified-color)" : "inherit",
4470
4473
  fontWeight: s.value ? "bold" : "inherit",
4471
- paddingLeft: S(e.colIndex, (t = n.display[e.rowIndex]) == null ? void 0 : t.indent)
4474
+ paddingLeft: O(e.colIndex, (t = n.display[e.rowIndex]) == null ? void 0 : t.indent)
4472
4475
  };
4473
- return (O, j) => (I(), V("td", {
4476
+ return (A, L) => (C(), j("td", {
4474
4477
  ref: "cell",
4475
- "data-colindex": O.colIndex,
4476
- "data-rowindex": O.rowIndex,
4478
+ "data-colindex": A.colIndex,
4479
+ "data-rowindex": A.rowIndex,
4477
4480
  "data-editable": k(l).edit,
4478
4481
  contenteditable: k(l).edit,
4479
- tabindex: O.tabIndex,
4482
+ tabindex: A.tabIndex,
4480
4483
  spellcheck: !1,
4481
- style: x,
4482
- onFocus: g,
4483
- onPaste: $,
4484
- onBlur: $,
4485
- onInput: $,
4486
- onClick: h,
4487
- onMousedown: h,
4488
- class: Se(["atable__cell", O.pinned ? "sticky-column" : ""])
4484
+ style: D,
4485
+ onFocus: $,
4486
+ onPaste: x,
4487
+ onBlur: x,
4488
+ onInput: x,
4489
+ onClick: v,
4490
+ onMousedown: v,
4491
+ class: Se(["atable__cell", A.pinned ? "sticky-column" : ""])
4489
4492
  }, [
4490
- k(l).cellComponent ? (I(), xe(rn(k(l).cellComponent), sn({
4493
+ k(l).cellComponent ? (C(), xe(rn(k(l).cellComponent), sn({
4491
4494
  key: 0,
4492
4495
  value: f.value
4493
- }, k(l).cellComponentProps), null, 16, ["value"])) : (I(), V("span", Bl, ue(f.value), 1))
4494
- ], 42, Ml));
4496
+ }, k(l).cellComponentProps), null, 16, ["value"])) : m.value ? (C(), j("span", {
4497
+ key: 1,
4498
+ innerHTML: f.value
4499
+ }, null, 8, Wl)) : (C(), j("span", Ul, ue(f.value), 1))
4500
+ ], 42, Bl));
4495
4501
  }
4496
- }), Ul = ["tabindex"], Hl = /* @__PURE__ */ X({
4502
+ }), Fl = ["tabindex"], zl = /* @__PURE__ */ X({
4497
4503
  __name: "ARow",
4498
4504
  props: {
4499
4505
  rowIndex: {},
@@ -4502,7 +4508,7 @@ const Ml = ["data-colindex", "data-rowindex", "data-editable", "contenteditable"
4502
4508
  addNavigation: { type: [Boolean, Object], default: !1 }
4503
4509
  },
4504
4510
  setup(e) {
4505
- const t = se(e.tableid), n = Nt("rowEl"), o = R(() => t.columns.some((a) => a.pinned)), r = R(() => t.config.view !== "tree" || t.display[e.rowIndex].isRoot || t.display[e.rowIndex].open), s = R(() => t.config.view !== "tree" ? "" : t.display[e.rowIndex].isRoot || t.display[e.rowIndex].isParent ? t.display[e.rowIndex].childrenOpen ? "-" : "+" : ""), i = (a) => {
4511
+ const t = se(e.tableid), n = Nt("rowEl"), o = T(() => t.columns.some((a) => a.pinned)), r = T(() => t.config.view !== "tree" || t.display[e.rowIndex].isRoot || t.display[e.rowIndex].open), s = T(() => t.config.view !== "tree" ? "" : t.display[e.rowIndex].isRoot || t.display[e.rowIndex].isParent ? t.display[e.rowIndex].childrenOpen ? "-" : "+" : ""), i = (a) => {
4506
4512
  t.toggleRowExpand(a);
4507
4513
  };
4508
4514
  if (e.addNavigation) {
@@ -4517,17 +4523,17 @@ const Ml = ["data-colindex", "data-rowindex", "data-editable", "contenteditable"
4517
4523
  }
4518
4524
  ]);
4519
4525
  }
4520
- return (a, c) => Ze((I(), V("tr", {
4526
+ return (a, c) => Ze((C(), j("tr", {
4521
4527
  ref: "rowEl",
4522
4528
  tabindex: a.tabIndex,
4523
4529
  class: "table-row"
4524
4530
  }, [
4525
4531
  ve(a.$slots, "index", {}, () => [
4526
- k(t).config.view === "list" ? (I(), V("td", {
4532
+ k(t).config.view === "list" ? (C(), j("td", {
4527
4533
  key: 0,
4528
4534
  tabIndex: -1,
4529
4535
  class: Se(["list-index", o.value ? "sticky-index" : ""])
4530
- }, ue(a.rowIndex + 1), 3)) : k(t).config.view === "tree" ? (I(), V("td", {
4536
+ }, ue(a.rowIndex + 1), 3)) : k(t).config.view === "tree" ? (C(), j("td", {
4531
4537
  key: 1,
4532
4538
  tabIndex: -1,
4533
4539
  class: Se(["tree-index", o.value ? "sticky-index" : ""]),
@@ -4535,7 +4541,7 @@ const Ml = ["data-colindex", "data-rowindex", "data-editable", "contenteditable"
4535
4541
  }, ue(s.value), 3)) : ye("", !0)
4536
4542
  ]),
4537
4543
  ve(a.$slots, "default")
4538
- ], 8, Ul)), [
4544
+ ], 8, Fl)), [
4539
4545
  [on, r.value]
4540
4546
  ]);
4541
4547
  }
@@ -4548,9 +4554,9 @@ function Qe(e) {
4548
4554
  }
4549
4555
  const kr = typeof window < "u" && typeof document < "u";
4550
4556
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4551
- const Fl = Object.prototype.toString, zl = (e) => Fl.call(e) === "[object Object]", Xe = () => {
4552
- }, nn = /* @__PURE__ */ Gl();
4553
- function Gl() {
4557
+ const Gl = Object.prototype.toString, ql = (e) => Gl.call(e) === "[object Object]", Xe = () => {
4558
+ }, nn = /* @__PURE__ */ Jl();
4559
+ function Jl() {
4554
4560
  var e, t;
4555
4561
  return kr && ((e = window == null ? void 0 : window.navigator) == null ? void 0 : e.userAgent) && (/iP(?:ad|hone|od)/.test(window.navigator.userAgent) || ((t = window == null ? void 0 : window.navigator) == null ? void 0 : t.maxTouchPoints) > 2 && /iPad|Macintosh/.test(window == null ? void 0 : window.navigator.userAgent));
4556
4562
  }
@@ -4559,11 +4565,11 @@ const go = {
4559
4565
  updated: "updated",
4560
4566
  unmounted: "unmounted"
4561
4567
  };
4562
- function ql(...e) {
4568
+ function Kl(...e) {
4563
4569
  if (e.length !== 1)
4564
4570
  return ht(...e);
4565
4571
  const t = e[0];
4566
- return typeof t == "function" ? Tr(Rr(() => ({ get: t, set: Xe }))) : P(t);
4572
+ return typeof t == "function" ? Tr(Rr(() => ({ get: t, set: Xe }))) : I(t);
4567
4573
  }
4568
4574
  function Je(e) {
4569
4575
  var t;
@@ -4578,14 +4584,14 @@ function _t(...e) {
4578
4584
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4579
4585
  const s = [], i = () => {
4580
4586
  s.forEach((u) => u()), s.length = 0;
4581
- }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = H(
4587
+ }, a = (u, d, p, f) => (u.addEventListener(d, p, f), () => u.removeEventListener(d, p, f)), c = F(
4582
4588
  () => [Je(t), Qe(r)],
4583
4589
  ([u, d]) => {
4584
4590
  if (i(), !u)
4585
4591
  return;
4586
- const p = zl(d) ? { ...d } : d;
4592
+ const p = ql(d) ? { ...d } : d;
4587
4593
  s.push(
4588
- ...n.flatMap((f) => o.map((h) => a(u, f, h, p)))
4594
+ ...n.flatMap((f) => o.map((m) => a(u, f, m, p)))
4589
4595
  );
4590
4596
  },
4591
4597
  { immediate: !0, flush: "post" }
@@ -4633,7 +4639,7 @@ function bo(e, t, n = {}) {
4633
4639
  ].filter(Boolean);
4634
4640
  return () => l.forEach((u) => u());
4635
4641
  }
4636
- const Jl = {
4642
+ const Yl = {
4637
4643
  [go.mounted](e, t) {
4638
4644
  const n = !t.modifiers.bubble;
4639
4645
  if (typeof t.value == "function")
@@ -4659,15 +4665,15 @@ function Or(e) {
4659
4665
  return !n || n.tagName === "BODY" ? !1 : Or(n);
4660
4666
  }
4661
4667
  }
4662
- function Kl(e) {
4668
+ function Ql(e) {
4663
4669
  const t = e || window.event, n = t.target;
4664
4670
  return Or(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
4665
4671
  }
4666
4672
  const zt = /* @__PURE__ */ new WeakMap();
4667
- function Yl(e, t = !1) {
4668
- const n = P(t);
4673
+ function Xl(e, t = !1) {
4674
+ const n = I(t);
4669
4675
  let o = null, r = "";
4670
- H(ql(e), (a) => {
4676
+ F(Kl(e), (a) => {
4671
4677
  const c = Ft(Qe(a));
4672
4678
  if (c) {
4673
4679
  const l = c;
@@ -4685,7 +4691,7 @@ function Yl(e, t = !1) {
4685
4691
  a,
4686
4692
  "touchmove",
4687
4693
  (c) => {
4688
- Kl(c);
4694
+ Ql(c);
4689
4695
  },
4690
4696
  { passive: !1 }
4691
4697
  )), a.style.overflow = "hidden", n.value = !0);
@@ -4693,7 +4699,7 @@ function Yl(e, t = !1) {
4693
4699
  const a = Ft(Qe(e));
4694
4700
  !a || !n.value || (nn && (o == null || o()), a.style.overflow = r, zt.delete(a), n.value = !1);
4695
4701
  };
4696
- return Er(i), R({
4702
+ return Er(i), T({
4697
4703
  get() {
4698
4704
  return n.value;
4699
4705
  },
@@ -4702,19 +4708,19 @@ function Yl(e, t = !1) {
4702
4708
  }
4703
4709
  });
4704
4710
  }
4705
- function Ql() {
4711
+ function Zl() {
4706
4712
  let e = !1;
4707
- const t = P(!1);
4713
+ const t = I(!1);
4708
4714
  return (n, o) => {
4709
4715
  if (t.value = o.value, e)
4710
4716
  return;
4711
4717
  e = !0;
4712
- const r = Yl(n, o.value);
4713
- H(t, (s) => r.value = s);
4718
+ const r = Xl(n, o.value);
4719
+ F(t, (s) => r.value = s);
4714
4720
  };
4715
4721
  }
4716
- Ql();
4717
- class Xl {
4722
+ Zl();
4723
+ class ec {
4718
4724
  constructor(t, n, o, r, s, i) {
4719
4725
  _e(this, "id"), _e(this, "rows"), _e(this, "columns"), _e(this, "config"), _e(this, "table"), _e(this, "display"), _e(this, "modal"), this.id = t || crypto.randomUUID(), this.rows = o, this.columns = ke(n), this.config = ke(r), this.table = s || ke(this.createTableObject()), this.display = this.createDisplayObject(i), this.modal = ke({ visible: !1 });
4720
4726
  }
@@ -4749,7 +4755,7 @@ class Xl {
4749
4755
  return ["list", "tree", "list-expansion"].includes(this.config.view);
4750
4756
  }
4751
4757
  get numberedRowWidth() {
4752
- return R(() => String(Math.ceil(this.rows.length / 100) + 1) + "ch");
4758
+ return T(() => String(Math.ceil(this.rows.length / 100) + 1) + "ch");
4753
4759
  }
4754
4760
  cellData(t, n) {
4755
4761
  return this.table[`${t}:${n}`];
@@ -4767,32 +4773,32 @@ class Xl {
4767
4773
  } else this.config.view === "list-expansion" && (this.display[t].expanded = !this.display[t].expanded);
4768
4774
  }
4769
4775
  }
4770
- const Zl = {
4776
+ const tc = {
4771
4777
  key: 0,
4772
4778
  id: "resizable"
4773
- }, ec = {
4779
+ }, nc = {
4774
4780
  class: "atable-header-row",
4775
4781
  tabindex: "-1"
4776
- }, tc = /* @__PURE__ */ X({
4782
+ }, oc = /* @__PURE__ */ X({
4777
4783
  __name: "ATableHeader",
4778
4784
  props: {
4779
4785
  columns: {},
4780
4786
  tableid: {}
4781
4787
  },
4782
4788
  setup(e) {
4783
- const t = se(e.tableid), n = R(() => t.columns.some((r) => r.pinned)), o = (r) => ({
4789
+ const t = se(e.tableid), n = T(() => t.columns.some((r) => r.pinned)), o = (r) => ({
4784
4790
  minWidth: r.width || "40ch",
4785
4791
  textAlign: r.align || "center",
4786
4792
  width: t.config.fullWidth ? "auto" : null
4787
4793
  });
4788
- return (r, s) => r.columns.length ? (I(), V("thead", Zl, [
4789
- M("tr", ec, [
4790
- k(t).zeroColumn ? (I(), V("th", {
4794
+ return (r, s) => r.columns.length ? (C(), j("thead", tc, [
4795
+ B("tr", nc, [
4796
+ k(t).zeroColumn ? (C(), j("th", {
4791
4797
  key: 0,
4792
4798
  id: "header-index",
4793
4799
  class: Se(n.value ? "sticky-index" : "")
4794
4800
  }, null, 2)) : ye("", !0),
4795
- (I(!0), V(Ne, null, Ce(r.columns, (i, a) => (I(), V("th", {
4801
+ (C(!0), j(Ne, null, Ce(r.columns, (i, a) => (C(), j("th", {
4796
4802
  key: i.name,
4797
4803
  tabindex: "-1",
4798
4804
  style: ce(o(i)),
@@ -4805,7 +4811,7 @@ const Zl = {
4805
4811
  ])
4806
4812
  ])) : ye("", !0);
4807
4813
  }
4808
- }), nc = /* @__PURE__ */ X({
4814
+ }), rc = /* @__PURE__ */ X({
4809
4815
  __name: "ATableModal",
4810
4816
  props: {
4811
4817
  colIndex: {},
@@ -4816,7 +4822,7 @@ const Zl = {
4816
4822
  const t = (n) => {
4817
4823
  n.stopPropagation();
4818
4824
  };
4819
- return (n, o) => (I(), V("div", {
4825
+ return (n, o) => (C(), j("div", {
4820
4826
  class: "amodal",
4821
4827
  tabindex: "-1",
4822
4828
  onClick: t,
@@ -4825,7 +4831,7 @@ const Zl = {
4825
4831
  ve(n.$slots, "default")
4826
4832
  ], 32));
4827
4833
  }
4828
- }), oc = /* @__PURE__ */ X({
4834
+ }), sc = /* @__PURE__ */ X({
4829
4835
  __name: "ATable",
4830
4836
  props: {
4831
4837
  id: {},
@@ -4836,8 +4842,8 @@ const Zl = {
4836
4842
  },
4837
4843
  emits: ["update:modelValue"],
4838
4844
  setup(e, { emit: t }) {
4839
- const n = t, o = Nt("table"), r = e.modelValue ? e.modelValue : e.rows, s = new Xl(e.id, e.columns, r, e.config);
4840
- ft(s.id, s), H(
4845
+ const n = t, o = Nt("table"), r = e.modelValue ? e.modelValue : e.rows, s = new ec(e.id, e.columns, r, e.config);
4846
+ ft(s.id, s), F(
4841
4847
  () => s.rows,
4842
4848
  (c) => {
4843
4849
  n("update:modelValue", c);
@@ -4849,15 +4855,15 @@ const Zl = {
4849
4855
  const i = () => {
4850
4856
  const c = o.value, l = c.rows[0], u = c.rows[1], d = l ? Array.from(l.cells) : [];
4851
4857
  for (const [p, f] of d.entries()) {
4852
- const h = u.cells[p];
4853
- h && (f.style.width = `${h.offsetWidth}px`);
4858
+ const m = u.cells[p];
4859
+ m && (f.style.width = `${m.offsetWidth}px`);
4854
4860
  }
4855
4861
  for (const p of c.rows) {
4856
4862
  let f = 0;
4857
- const h = [];
4858
- for (const g of p.cells)
4859
- (g.classList.contains("sticky-column") || g.classList.contains("sticky-index")) && (g.style.left = `${f}px`, f += g.offsetWidth, h.push(g));
4860
- h.length > 0 && h[h.length - 1].classList.add("sticky-column-edge");
4863
+ const m = [];
4864
+ for (const v of p.cells)
4865
+ (v.classList.contains("sticky-column") || v.classList.contains("sticky-index")) && (v.style.left = `${f}px`, f += v.offsetWidth, m.push(v));
4866
+ m.length > 0 && m[m.length - 1].classList.add("sticky-column-edge");
4861
4867
  }
4862
4868
  }, a = (c) => {
4863
4869
  var l;
@@ -4871,27 +4877,27 @@ const Zl = {
4871
4877
  l.focus();
4872
4878
  });
4873
4879
  }
4874
- }), (c, l) => Ze((I(), V("table", {
4880
+ }), (c, l) => Ze((C(), j("table", {
4875
4881
  ref: "table",
4876
4882
  class: "atable",
4877
4883
  style: ce({ width: k(s).config.fullWidth ? "100%" : "auto" })
4878
4884
  }, [
4879
4885
  ve(c.$slots, "header", { data: k(s) }, () => [
4880
- Et(tc, {
4886
+ Et(oc, {
4881
4887
  columns: k(s).columns,
4882
4888
  tableid: k(s).id
4883
4889
  }, null, 8, ["columns", "tableid"])
4884
4890
  ]),
4885
- M("tbody", null, [
4891
+ B("tbody", null, [
4886
4892
  ve(c.$slots, "body", { data: k(s) }, () => [
4887
- (I(!0), V(Ne, null, Ce(k(s).rows, (u, d) => (I(), xe(Hl, {
4893
+ (C(!0), j(Ne, null, Ce(k(s).rows, (u, d) => (C(), xe(zl, {
4888
4894
  key: u.id,
4889
4895
  row: u,
4890
4896
  rowIndex: d,
4891
4897
  tableid: k(s).id
4892
4898
  }, {
4893
4899
  default: kt(() => [
4894
- (I(!0), V(Ne, null, Ce(k(s).columns, (p, f) => (I(), xe(Wl, {
4900
+ (C(!0), j(Ne, null, Ce(k(s).columns, (p, f) => (C(), xe(Hl, {
4895
4901
  key: p.name,
4896
4902
  tableid: k(s).id,
4897
4903
  col: p,
@@ -4913,7 +4919,7 @@ const Zl = {
4913
4919
  ]),
4914
4920
  ve(c.$slots, "footer", { data: k(s) }),
4915
4921
  ve(c.$slots, "modal", { data: k(s) }, () => [
4916
- Ze(Et(nc, {
4922
+ Ze(Et(rc, {
4917
4923
  colIndex: k(s).modal.colIndex,
4918
4924
  rowIndex: k(s).modal.rowIndex,
4919
4925
  tableid: k(s).id,
@@ -4924,7 +4930,7 @@ const Zl = {
4924
4930
  })
4925
4931
  }, {
4926
4932
  default: kt(() => [
4927
- (I(), xe(rn(k(s).modal.component), sn({
4933
+ (C(), xe(rn(k(s).modal.component), sn({
4928
4934
  key: `${k(s).modal.rowIndex}:${k(s).modal.colIndex}`,
4929
4935
  colIndex: k(s).modal.colIndex,
4930
4936
  rowIndex: k(s).modal.rowIndex,
@@ -4937,21 +4943,21 @@ const Zl = {
4937
4943
  ])
4938
4944
  ])
4939
4945
  ], 4)), [
4940
- [k(Jl), a]
4946
+ [k(Yl), a]
4941
4947
  ]);
4942
4948
  }
4943
- }), rc = /* @__PURE__ */ X({
4949
+ }), ac = /* @__PURE__ */ X({
4944
4950
  __name: "Records",
4945
4951
  setup(e) {
4946
4952
  const { stonecrop: t, isReady: n } = jo(), o = { view: "list" };
4947
- return (r, s) => k(n) ? (I(), xe(k(oc), {
4953
+ return (r, s) => k(n) ? (C(), xe(k(sc), {
4948
4954
  key: 0,
4949
4955
  columns: k(t).schema.schema.toArray(),
4950
4956
  rows: k(t).store.records,
4951
4957
  config: o
4952
4958
  }, null, 8, ["columns", "rows"])) : ye("", !0);
4953
4959
  }
4954
- }), sc = { class: "tabs" }, ac = { tabindex: "0" }, ic = {
4960
+ }), ic = { class: "tabs" }, lc = { tabindex: "0" }, cc = {
4955
4961
  version: "1.1",
4956
4962
  id: "Capa_1",
4957
4963
  xmlns: "http://www.w3.org/2000/svg",
@@ -4961,13 +4967,13 @@ const Zl = {
4961
4967
  viewBox: "0 0 424.098 424.098",
4962
4968
  style: { "enable-background": "new 0 0 424.098 424.098" },
4963
4969
  "xml:space": "preserve"
4964
- }, lc = { tabindex: "0" }, cc = { style: { width: "11pt" } }, uc = /* @__PURE__ */ X({
4970
+ }, uc = { tabindex: "0" }, dc = { style: { width: "11pt" } }, pc = /* @__PURE__ */ X({
4965
4971
  __name: "SheetNav",
4966
4972
  props: {
4967
4973
  breadcrumbs: { default: () => [] }
4968
4974
  },
4969
4975
  setup(e) {
4970
- const t = P(!0), n = P(!1), o = P(""), r = Nt("searchinput"), s = R(() => t.value ? "unrotated" : "rotated"), i = () => {
4976
+ const t = I(!0), n = I(!1), o = I(""), r = Nt("searchinput"), s = T(() => t.value ? "unrotated" : "rotated"), i = () => {
4971
4977
  t.value = !t.value;
4972
4978
  }, a = async () => {
4973
4979
  n.value = !n.value, await Re(() => {
@@ -4981,20 +4987,20 @@ const Zl = {
4981
4987
  };
4982
4988
  return (d, p) => {
4983
4989
  const f = Vr("router-link");
4984
- return I(), V("footer", null, [
4985
- M("ul", sc, [
4986
- M("li", {
4990
+ return C(), j("footer", null, [
4991
+ B("ul", ic, [
4992
+ B("li", {
4987
4993
  class: "hidebreadcrumbs",
4988
4994
  onClick: i,
4989
4995
  onKeydown: ct(i, ["enter"])
4990
4996
  }, [
4991
- M("a", ac, [
4992
- M("div", {
4997
+ B("a", lc, [
4998
+ B("div", {
4993
4999
  class: Se(s.value)
4994
5000
  }, "×", 2)
4995
5001
  ])
4996
5002
  ], 32),
4997
- M("li", {
5003
+ B("li", {
4998
5004
  class: "hometab",
4999
5005
  onClick: u,
5000
5006
  onKeydown: ct(u, ["enter"]),
@@ -5005,9 +5011,9 @@ const Zl = {
5005
5011
  tabindex: "0"
5006
5012
  }, {
5007
5013
  default: kt(() => [
5008
- (I(), V("svg", ic, p[5] || (p[5] = [
5009
- M("g", null, [
5010
- M("path", {
5014
+ (C(), j("svg", cc, p[5] || (p[5] = [
5015
+ B("g", null, [
5016
+ B("path", {
5011
5017
  style: { fill: "#010002" },
5012
5018
  d: `M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
5013
5019
  c-3.284-0.008-6.243-1.992-7.495-5.023c-1.252-3.04-0.553-6.527,1.764-8.852L206.104,24.546c1.853-1.845,4.503-2.666,7.047-2.276
@@ -5025,19 +5031,19 @@ const Zl = {
5025
5031
  _: 1
5026
5032
  })
5027
5033
  ], 36),
5028
- M("li", {
5034
+ B("li", {
5029
5035
  class: "searchtab",
5030
5036
  onClick: a,
5031
5037
  onKeydown: ct(a, ["enter"]),
5032
5038
  style: ce({ display: t.value ? "block" : "none" })
5033
5039
  }, [
5034
- M("a", lc, [
5035
- M("span", {
5040
+ B("a", uc, [
5041
+ B("span", {
5036
5042
  style: ce({ display: n.value ? "none" : "block" })
5037
5043
  }, [
5038
- (I(), V("svg", cc, p[6] || (p[6] = [
5039
- M("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5040
- M("path", {
5044
+ (C(), j("svg", dc, p[6] || (p[6] = [
5045
+ B("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5046
+ B("path", {
5041
5047
  d: "M 93.148438,80.832031 C 109.5,57.742188 104.03125,25.769531 80.941406,9.421875 57.851562,-6.925781 25.878906,-1.460938 9.53125,21.632812 -6.816406,44.722656 -1.351562,76.691406 21.742188,93.039062 38.222656,104.70703 60.011719,105.60547 77.394531,95.339844 l 37.769529,37.542966 c 4.07813,4.29297 10.86328,4.46485 15.15625,0.38672 4.29297,-4.07422 4.46485,-10.85937 0.39063,-15.15234 -0.12891,-0.13672 -0.25391,-0.26172 -0.39063,-0.39063 z m -41.839844,3.5 C 33.0625,84.335938 18.269531,69.554688 18.257812,51.308594 18.253906,33.0625 33.035156,18.269531 51.285156,18.261719 c 18.222656,-0.0078 33.007813,14.75 33.042969,32.972656 0.03125,18.25 -14.742187,33.066406 -32.996094,33.097656 -0.0078,0 -0.01172,0 -0.02344,0 z m 0,0",
5042
5048
  style: { fill: "#000000", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none" },
5043
5049
  id: "path2"
@@ -5045,30 +5051,30 @@ const Zl = {
5045
5051
  ], -1)
5046
5052
  ])))
5047
5053
  ], 4),
5048
- Ze(M("input", {
5049
- "onUpdate:modelValue": p[0] || (p[0] = (h) => o.value = h),
5054
+ Ze(B("input", {
5055
+ "onUpdate:modelValue": p[0] || (p[0] = (m) => o.value = m),
5050
5056
  ref: "searchinput",
5051
5057
  style: ce({ display: n.value ? "block" : "none" }),
5052
- onClick: p[1] || (p[1] = (h) => c(h)),
5053
- onInput: p[2] || (p[2] = (h) => c(h)),
5054
- onBlur: p[3] || (p[3] = (h) => l(h)),
5055
- onKeydown: p[4] || (p[4] = ct((h) => l(h), ["enter"])),
5058
+ onClick: p[1] || (p[1] = (m) => c(m)),
5059
+ onInput: p[2] || (p[2] = (m) => c(m)),
5060
+ onBlur: p[3] || (p[3] = (m) => l(m)),
5061
+ onKeydown: p[4] || (p[4] = ct((m) => l(m), ["enter"])),
5056
5062
  type: "text"
5057
5063
  }, null, 36), [
5058
5064
  [jr, o.value]
5059
5065
  ])
5060
5066
  ])
5061
5067
  ], 36),
5062
- (I(!0), V(Ne, null, Ce(d.breadcrumbs, (h) => (I(), V("li", {
5063
- key: h.title,
5068
+ (C(!0), j(Ne, null, Ce(d.breadcrumbs, (m) => (C(), j("li", {
5069
+ key: m.title,
5064
5070
  style: ce({ display: t.value ? "block" : "none" })
5065
5071
  }, [
5066
5072
  Et(f, {
5067
5073
  tabindex: "0",
5068
- to: h.to
5074
+ to: m.to
5069
5075
  }, {
5070
5076
  default: kt(() => [
5071
- Eo(ue(h.title), 1)
5077
+ Eo(ue(m.title), 1)
5072
5078
  ]),
5073
5079
  _: 2
5074
5080
  }, 1032, ["to"])
@@ -5077,17 +5083,17 @@ const Zl = {
5077
5083
  ]);
5078
5084
  };
5079
5085
  }
5080
- }), dc = /* @__PURE__ */ ln(uc, [["__scopeId", "data-v-a650f215"]]), hc = {
5086
+ }), fc = /* @__PURE__ */ ln(pc, [["__scopeId", "data-v-a650f215"]]), vc = {
5081
5087
  install: (e) => {
5082
- e.component("ActionSet", Jr), e.component("CommandPalette", Qr), e.component("Doctype", ul), e.component("Records", rc), e.component("SheetNav", dc);
5088
+ e.component("ActionSet", Jr), e.component("CommandPalette", Qr), e.component("Doctype", ul), e.component("Records", ac), e.component("SheetNav", fc);
5083
5089
  }
5084
5090
  };
5085
5091
  export {
5086
5092
  Jr as ActionSet,
5087
5093
  Qr as CommandPalette,
5088
5094
  ul as Doctype,
5089
- rc as Records,
5090
- dc as SheetNav,
5091
- hc as StonecropDesktop
5095
+ ac as Records,
5096
+ fc as SheetNav,
5097
+ vc as StonecropDesktop
5092
5098
  };
5093
5099
  //# sourceMappingURL=desktop.js.map