@stonecrop/desktop 0.3.9 → 0.3.10

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,38 +1,38 @@
1
- import { defineComponent as ae, ref as C, onMounted as Ke, openBlock as A, createElementBlock as B, normalizeClass as Ve, createElementVNode as W, Fragment as Ae, renderList as Te, toDisplayString as ve, createCommentVNode as ge, withDirectives as lt, vShow as gn, computed as R, createBlock as Ie, resolveDynamicComponent as yn, mergeProps as bn, effectScope as wn, markRaw as re, inject as Ne, onBeforeMount as zr, shallowRef as qr, toRaw as qe, unref as S, shallowReactive as Gr, watch as G, nextTick as xe, hasInjectionContext as jo, getCurrentInstance as Le, reactive as _n, h as Ro, provide as Ft, isRef as de, isReactive as Xe, toRef as De, watchEffect as Jr, getCurrentScope as jt, onScopeDispose as Rt, toRefs as Pt, useTemplateRef as ht, normalizeStyle as le, renderSlot as ke, createVNode as It, withCtx as Dt, readonly as Yr, customRef as Qr, createTextVNode as Lo, onBeforeUnmount as Kr, resolveComponent as Xr, withKeys as yt, vModelText as Zr } from "vue";
1
+ import { defineComponent as ae, ref as x, onMounted as Ke, openBlock as A, createElementBlock as B, normalizeClass as Ve, createElementVNode as U, Fragment as Ae, renderList as Te, toDisplayString as ve, createCommentVNode as ge, withDirectives as lt, vShow as bn, computed as j, createBlock as Ie, resolveDynamicComponent as wn, mergeProps as _n, effectScope as En, markRaw as re, inject as Oe, onBeforeMount as zr, shallowRef as qr, toRaw as qe, unref as P, shallowReactive as Gr, watch as G, nextTick as xe, hasInjectionContext as jo, getCurrentInstance as Me, reactive as kn, h as Ro, provide as zt, isRef as de, isReactive as Xe, toRef as De, watchEffect as Jr, getCurrentScope as jt, onScopeDispose as Rt, toRefs as Pt, useTemplateRef as ht, normalizeStyle as le, renderSlot as ke, createVNode as It, withCtx as Dt, readonly as Yr, customRef as Qr, createTextVNode as Mo, onBeforeUnmount as Kr, resolveComponent as Xr, withKeys as yt, vModelText as Zr } from "vue";
2
2
  const es = { class: "action-menu-icon" }, ts = ["onclick"], ns = { key: 1 }, os = ["onClick"], rs = { class: "dropdown-container" }, ss = { class: "dropdown" }, as = ["onclick"], is = ["href"], cs = { class: "dropdown-item" }, ls = /* @__PURE__ */ ae({
3
3
  __name: "ActionSet",
4
4
  props: {
5
5
  elements: {}
6
6
  },
7
7
  setup(e) {
8
- const t = C(e.elements), n = C(!1), o = C(null), r = C(!1), s = C(!1);
8
+ const t = x(e.elements), n = x(!1), o = x(null), r = x(!1), s = x(!1);
9
9
  Ke(() => {
10
10
  a();
11
11
  });
12
12
  const a = () => {
13
- for (const l of t.value)
14
- l.type === "dropdown" && (l.show = !1);
13
+ for (const u of t.value)
14
+ u.type === "dropdown" && (u.show = !1);
15
15
  }, i = () => {
16
16
  r.value = !0, o.value = setTimeout(() => {
17
17
  r.value && (n.value = !0);
18
18
  }, 500);
19
19
  }, d = () => {
20
20
  r.value = !1, s.value = !1, clearTimeout(o.value), n.value = !1;
21
- }, c = (l) => {
22
- const u = !t.value[l].show;
23
- a(), t.value[l].show = u;
21
+ }, c = (u) => {
22
+ const l = !t.value[u].show;
23
+ a(), t.value[u].show = l;
24
24
  };
25
- return (l, u) => (A(), B("div", {
25
+ return (u, l) => (A(), B("div", {
26
26
  class: Ve([{ "open-set": n.value, "hovered-and-closed": s.value }, "action-set collapse"]),
27
27
  onMouseover: i,
28
28
  onMouseleave: d
29
29
  }, [
30
- W("div", es, [
31
- W("div", {
30
+ U("div", es, [
31
+ U("div", {
32
32
  id: "chevron",
33
- onClick: u[0] || (u[0] = (p) => s.value = !s.value)
34
- }, u[1] || (u[1] = [
35
- W("svg", {
33
+ onClick: l[0] || (l[0] = (p) => s.value = !s.value)
34
+ }, l[1] || (l[1] = [
35
+ U("svg", {
36
36
  class: "leftBar",
37
37
  version: "1.1",
38
38
  id: "Layer_1",
@@ -45,9 +45,9 @@ const es = { class: "action-menu-icon" }, ts = ["onclick"], ns = { key: 1 }, os
45
45
  width: "50",
46
46
  height: "50"
47
47
  }, [
48
- W("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
48
+ U("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
49
49
  ], -1),
50
- W("svg", {
50
+ U("svg", {
51
51
  class: "rightBar",
52
52
  version: "1.1",
53
53
  id: "Layer_1",
@@ -60,11 +60,11 @@ const es = { class: "action-menu-icon" }, ts = ["onclick"], ns = { key: 1 }, os
60
60
  width: "50",
61
61
  height: "50"
62
62
  }, [
63
- W("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
63
+ U("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
64
64
  ], -1)
65
65
  ]))
66
66
  ]),
67
- u[2] || (u[2] = W("div", { style: { "margin-right": "30px" } }, null, -1)),
67
+ l[2] || (l[2] = U("div", { style: { "margin-right": "30px" } }, null, -1)),
68
68
  (A(!0), B(Ae, null, Te(t.value, (p, f) => (A(), B("div", {
69
69
  class: "action-element",
70
70
  key: p.label
@@ -75,12 +75,12 @@ const es = { class: "action-menu-icon" }, ts = ["onclick"], ns = { key: 1 }, os
75
75
  class: "button-default"
76
76
  }, ve(p.label), 9, ts)) : ge("", !0),
77
77
  p.type == "dropdown" ? (A(), B("div", ns, [
78
- W("button", {
78
+ U("button", {
79
79
  class: "button-default",
80
80
  onClick: (h) => c(f)
81
81
  }, ve(p.label), 9, os),
82
- lt(W("div", rs, [
83
- W("div", ss, [
82
+ lt(U("div", rs, [
83
+ U("div", ss, [
84
84
  (A(!0), B(Ae, null, Te(p.actions, (h) => (A(), B("div", {
85
85
  key: h.label
86
86
  }, [
@@ -92,27 +92,27 @@ const es = { class: "action-menu-icon" }, ts = ["onclick"], ns = { key: 1 }, os
92
92
  key: 1,
93
93
  href: h.link
94
94
  }, [
95
- W("button", cs, ve(h.label), 1)
95
+ U("button", cs, ve(h.label), 1)
96
96
  ], 8, is)) : ge("", !0)
97
97
  ]))), 128))
98
98
  ])
99
99
  ], 512), [
100
- [gn, p.show]
100
+ [bn, p.show]
101
101
  ])
102
102
  ])) : ge("", !0)
103
103
  ]))), 128))
104
104
  ], 34));
105
105
  }
106
- }), En = (e, t) => {
106
+ }), $n = (e, t) => {
107
107
  const n = e.__vccOpts || e;
108
108
  for (const [o, r] of t)
109
109
  n[o] = r;
110
110
  return n;
111
- }, us = /* @__PURE__ */ En(ls, [["__scopeId", "data-v-38e7af34"]]), ds = {};
111
+ }, us = /* @__PURE__ */ $n(ls, [["__scopeId", "data-v-38e7af34"]]), ds = {};
112
112
  function ps(e, t) {
113
113
  return A(), B("dialog");
114
114
  }
115
- const fs = /* @__PURE__ */ En(ds, [["render", ps]]), hs = (e, t) => {
115
+ const fs = /* @__PURE__ */ $n(ds, [["render", ps]]), hs = (e, t) => {
116
116
  const n = e.__vccOpts || e;
117
117
  for (const [o, r] of t)
118
118
  n[o] = r;
@@ -128,13 +128,13 @@ const ms = { class: "aform" }, vs = /* @__PURE__ */ ae({
128
128
  },
129
129
  emits: ["update:modelValue"],
130
130
  setup(e, { emit: t }) {
131
- const n = t, o = C(e.data || {}), r = (a) => {
131
+ const n = t, o = x(e.data || {}), r = (a) => {
132
132
  let i = {};
133
133
  for (const [d, c] of Object.entries(a))
134
134
  ["component", "fieldtype"].includes(d) || (i[d] = c), d === "rows" && c && c.length === 0 && (i.rows = o.value[a.fieldname]);
135
135
  return i;
136
- }, s = R({
137
- get: () => e.modelValue.map((a, i) => R({
136
+ }, s = j({
137
+ get: () => e.modelValue.map((a, i) => j({
138
138
  get() {
139
139
  return a.value;
140
140
  },
@@ -146,11 +146,11 @@ const ms = { class: "aform" }, vs = /* @__PURE__ */ ae({
146
146
  }
147
147
  });
148
148
  return (a, i) => (A(), B("form", ms, [
149
- (A(!0), B(Ae, null, Te(a.modelValue, (d, c) => (A(), Ie(yn(d.component), bn({
149
+ (A(!0), B(Ae, null, Te(a.modelValue, (d, c) => (A(), Ie(wn(d.component), _n({
150
150
  key: c,
151
151
  schema: d,
152
152
  modelValue: s.value[c].value,
153
- "onUpdate:modelValue": (l) => s.value[c].value = l,
153
+ "onUpdate:modelValue": (u) => s.value[c].value = u,
154
154
  data: o.value[d.fieldname],
155
155
  readonly: a.readonly,
156
156
  ref_for: !0
@@ -160,11 +160,11 @@ const ms = { class: "aform" }, vs = /* @__PURE__ */ ae({
160
160
  }), gs = /* @__PURE__ */ hs(vs, [["__scopeId", "data-v-68845234"]]);
161
161
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
162
162
  var ys = Object.defineProperty, bs = (e, t, n) => t in e ? ys(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, oe = (e, t, n) => bs(e, typeof t != "symbol" ? t + "" : t, n);
163
- function on(e) {
163
+ function rn(e) {
164
164
  this.message = e || "";
165
165
  }
166
- on.prototype = Object.create(Error.prototype, {
167
- constructor: { value: on },
166
+ rn.prototype = Object.create(Error.prototype, {
167
+ constructor: { value: rn },
168
168
  name: { value: "NotImplemented" },
169
169
  stack: {
170
170
  get: function() {
@@ -172,7 +172,7 @@ on.prototype = Object.create(Error.prototype, {
172
172
  }
173
173
  }
174
174
  });
175
- const Mo = class kt {
175
+ const Lo = class kt {
176
176
  /**
177
177
  * @param registry - The immutable registry
178
178
  * @param store - The mutable Pinia store
@@ -217,7 +217,7 @@ const Mo = class kt {
217
217
  * @see {@link DoctypeMeta}
218
218
  */
219
219
  getMeta(t) {
220
- return this.registry.getMeta ? this.registry.getMeta(t.doctype) : new on(t.doctype);
220
+ return this.registry.getMeta ? this.registry.getMeta(t.doctype) : new rn(t.doctype);
221
221
  }
222
222
  /**
223
223
  * Gets the workflow for the given doctype
@@ -318,13 +318,13 @@ const Mo = class kt {
318
318
  }
319
319
  }
320
320
  };
321
- oe(Mo, "_root");
322
- let ws = Mo;
321
+ oe(Lo, "_root");
322
+ let ws = Lo;
323
323
  var Bo = !1;
324
324
  function bt(e, t, n) {
325
325
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
326
326
  }
327
- function zt(e, t) {
327
+ function qt(e, t) {
328
328
  if (Array.isArray(e)) {
329
329
  e.splice(t, 1);
330
330
  return;
@@ -338,13 +338,13 @@ function Wo() {
338
338
  return typeof navigator < "u" && typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : {};
339
339
  }
340
340
  const Es = typeof Proxy == "function", ks = "devtools-plugin:setup", $s = "plugin:settings:set";
341
- let Ze, rn;
342
- function Os() {
341
+ let Ze, sn;
342
+ function Ns() {
343
343
  var e;
344
- return Ze !== void 0 || (typeof window < "u" && window.performance ? (Ze = !0, rn = window.performance) : typeof globalThis < "u" && !((e = globalThis.perf_hooks) === null || e === void 0) && e.performance ? (Ze = !0, rn = globalThis.perf_hooks.performance) : Ze = !1), Ze;
344
+ return Ze !== void 0 || (typeof window < "u" && window.performance ? (Ze = !0, sn = window.performance) : typeof globalThis < "u" && !((e = globalThis.perf_hooks) === null || e === void 0) && e.performance ? (Ze = !0, sn = globalThis.perf_hooks.performance) : Ze = !1), Ze;
345
345
  }
346
- function Ns() {
347
- return Os() ? rn.now() : Date.now();
346
+ function Os() {
347
+ return Ns() ? sn.now() : Date.now();
348
348
  }
349
349
  class xs {
350
350
  constructor(t, n) {
@@ -374,7 +374,7 @@ class xs {
374
374
  s = a;
375
375
  },
376
376
  now() {
377
- return Ns();
377
+ return Os();
378
378
  }
379
379
  }, n && n.on($s, (a, i) => {
380
380
  a === this.plugin.id && this.fallbacks.setSettings(i);
@@ -408,7 +408,7 @@ class xs {
408
408
  n.resolve(await this.target[n.method](...n.args));
409
409
  }
410
410
  }
411
- function kn(e, t) {
411
+ function Nn(e, t) {
412
412
  const n = e, o = Wo(), r = _s(), s = Es && n.enableEarlyProxy;
413
413
  if (r && (o.__VUE_DEVTOOLS_PLUGIN_API_AVAILABLE__ || !s))
414
414
  r.emit(ks, e, t);
@@ -438,11 +438,11 @@ var ue;
438
438
  (function(e) {
439
439
  e.direct = "direct", e.patchObject = "patch object", e.patchFunction = "patch function";
440
440
  })(ue || (ue = {}));
441
- const $e = typeof window < "u", Fn = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
441
+ const $e = typeof window < "u", zn = typeof window == "object" && window.window === window ? window : typeof self == "object" && self.self === self ? self : typeof global == "object" && global.global === global ? global : typeof globalThis == "object" ? globalThis : { HTMLElement: null };
442
442
  function Ss(e, { autoBom: t = !1 } = {}) {
443
443
  return t && /^\s*(?:text\/\S*|application\/xml|\S*\/\S*\+xml)\s*;.*charset\s*=\s*utf-8/i.test(e.type) ? new Blob(["\uFEFF", e], { type: e.type }) : e;
444
444
  }
445
- function $n(e, t, n) {
445
+ function On(e, t, n) {
446
446
  const o = new XMLHttpRequest();
447
447
  o.open("GET", e), o.responseType = "blob", o.onload = function() {
448
448
  zo(o.response, t, n);
@@ -467,11 +467,11 @@ function $t(e) {
467
467
  t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
468
468
  }
469
469
  }
470
- const Ot = typeof navigator == "object" ? navigator : { userAgent: "" }, Fo = /Macintosh/.test(Ot.userAgent) && /AppleWebKit/.test(Ot.userAgent) && !/Safari/.test(Ot.userAgent), zo = $e ? (
470
+ const Nt = typeof navigator == "object" ? navigator : { userAgent: "" }, Fo = /Macintosh/.test(Nt.userAgent) && /AppleWebKit/.test(Nt.userAgent) && !/Safari/.test(Nt.userAgent), zo = $e ? (
471
471
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
472
472
  typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Fo ? Cs : (
473
473
  // Use msSaveOrOpenBlob as a second approach
474
- "msSaveOrOpenBlob" in Ot ? Ps : (
474
+ "msSaveOrOpenBlob" in Nt ? Ps : (
475
475
  // Fallback to using FileReader and a popup
476
476
  Is
477
477
  )
@@ -480,7 +480,7 @@ const Ot = typeof navigator == "object" ? navigator : { userAgent: "" }, Fo = /M
480
480
  };
481
481
  function Cs(e, t = "download", n) {
482
482
  const o = document.createElement("a");
483
- o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? Ho(o.href) ? $n(e, t, n) : (o.target = "_blank", $t(o)) : $t(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
483
+ o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? Ho(o.href) ? On(e, t, n) : (o.target = "_blank", $t(o)) : $t(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
484
484
  URL.revokeObjectURL(o.href);
485
485
  }, 4e4), setTimeout(function() {
486
486
  $t(o);
@@ -489,7 +489,7 @@ function Cs(e, t = "download", n) {
489
489
  function Ps(e, t = "download", n) {
490
490
  if (typeof e == "string")
491
491
  if (Ho(e))
492
- $n(e, t, n);
492
+ On(e, t, n);
493
493
  else {
494
494
  const o = document.createElement("a");
495
495
  o.href = e, o.target = "_blank", setTimeout(function() {
@@ -501,8 +501,8 @@ function Ps(e, t = "download", n) {
501
501
  }
502
502
  function Is(e, t, n, o) {
503
503
  if (o = o || open("", "_blank"), o && (o.document.title = o.document.body.innerText = "downloading..."), typeof e == "string")
504
- return $n(e, t, n);
505
- const r = e.type === "application/octet-stream", s = /constructor/i.test(String(Fn.HTMLElement)) || "safari" in Fn, a = /CriOS\/[\d]+/.test(navigator.userAgent);
504
+ return On(e, t, n);
505
+ const r = e.type === "application/octet-stream", s = /constructor/i.test(String(zn.HTMLElement)) || "safari" in zn, a = /CriOS\/[\d]+/.test(navigator.userAgent);
506
506
  if ((a || r && s || Fo) && typeof FileReader < "u") {
507
507
  const i = new FileReader();
508
508
  i.onloadend = function() {
@@ -522,7 +522,7 @@ function J(e, t) {
522
522
  const n = "🍍 " + e;
523
523
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, t) : t === "error" ? console.error(n) : t === "warn" ? console.warn(n) : console.log(n);
524
524
  }
525
- function On(e) {
525
+ function xn(e) {
526
526
  return "_a" in e && "install" in e;
527
527
  }
528
528
  function qo() {
@@ -601,18 +601,18 @@ function ce(e) {
601
601
  }
602
602
  };
603
603
  }
604
- const Yo = "🍍 Pinia (root)", Nt = "_root";
604
+ const Yo = "🍍 Pinia (root)", Ot = "_root";
605
605
  function Rs(e) {
606
- return On(e) ? {
607
- id: Nt,
606
+ return xn(e) ? {
607
+ id: Ot,
608
608
  label: Yo
609
609
  } : {
610
610
  id: e.$id,
611
611
  label: e.$id
612
612
  };
613
613
  }
614
- function Ls(e) {
615
- if (On(e)) {
614
+ function Ms(e) {
615
+ if (xn(e)) {
616
616
  const n = Array.from(e._s.keys()), o = e._s;
617
617
  return {
618
618
  state: n.map((r) => ({
@@ -647,7 +647,7 @@ function Ls(e) {
647
647
  value: e[n]
648
648
  }))), t;
649
649
  }
650
- function Ms(e) {
650
+ function Ls(e) {
651
651
  return e ? Array.isArray(e) ? e.reduce((t, n) => (t.keys.push(n.key), t.operations.push(n.type), t.oldValue[n.key] = n.oldValue, t.newValue[n.key] = n.newValue, t), {
652
652
  oldValue: {},
653
653
  keys: [],
@@ -675,7 +675,7 @@ function Bs(e) {
675
675
  let He = !0;
676
676
  const xt = [], Pe = "pinia:mutations", Q = "pinia", { assign: Ws } = Object, Vt = (e) => "🍍 " + e;
677
677
  function Us(e, t) {
678
- kn({
678
+ Nn({
679
679
  id: "dev.esm.pinia",
680
680
  label: "Pinia 🍍",
681
681
  logo: "https://pinia.vuejs.org/logo.svg",
@@ -764,8 +764,8 @@ function Us(e, t) {
764
764
  value: i._getters.reduce((d, c) => {
765
765
  try {
766
766
  d[c] = i[c];
767
- } catch (l) {
768
- d[c] = l;
767
+ } catch (u) {
768
+ d[c] = u;
769
769
  }
770
770
  return d;
771
771
  }, {})
@@ -779,18 +779,18 @@ function Us(e, t) {
779
779
  }
780
780
  }), globalThis.$pinia = t, n.on.getInspectorState((o) => {
781
781
  if (o.app === e && o.inspectorId === Q) {
782
- const r = o.nodeId === Nt ? t : t._s.get(o.nodeId);
782
+ const r = o.nodeId === Ot ? t : t._s.get(o.nodeId);
783
783
  if (!r)
784
784
  return;
785
- r && (o.nodeId !== Nt && (globalThis.$store = qe(r)), o.state = Ls(r));
785
+ r && (o.nodeId !== Ot && (globalThis.$store = qe(r)), o.state = Ms(r));
786
786
  }
787
787
  }), n.on.editInspectorState((o, r) => {
788
788
  if (o.app === e && o.inspectorId === Q) {
789
- const s = o.nodeId === Nt ? t : t._s.get(o.nodeId);
789
+ const s = o.nodeId === Ot ? t : t._s.get(o.nodeId);
790
790
  if (!s)
791
791
  return J(`store "${o.nodeId}" not found`, "error");
792
792
  const { path: a } = o;
793
- On(s) ? a.unshift("state") : (a.length !== 1 || !s._customProperties.has(a[0]) || a[0] in s.$state) && a.unshift("$state"), He = !1, o.set(s, a, o.state.value), He = !0;
793
+ xn(s) ? a.unshift("state") : (a.length !== 1 || !s._customProperties.has(a[0]) || a[0] in s.$state) && a.unshift("$state"), He = !1, o.set(s, a, o.state.value), He = !0;
794
794
  }
795
795
  }), n.on.editComponentState((o) => {
796
796
  if (o.type.startsWith("🍍")) {
@@ -808,7 +808,7 @@ Only state can be modified.`);
808
808
  });
809
809
  }
810
810
  function Hs(e, t) {
811
- xt.includes(Vt(t.$id)) || xt.push(Vt(t.$id)), kn({
811
+ xt.includes(Vt(t.$id)) || xt.push(Vt(t.$id)), Nn({
812
812
  id: "dev.esm.pinia",
813
813
  label: "Pinia 🍍",
814
814
  logo: "https://pinia.vuejs.org/logo.svg",
@@ -831,7 +831,7 @@ function Hs(e, t) {
831
831
  }, (n) => {
832
832
  const o = typeof n.now == "function" ? n.now.bind(n) : Date.now;
833
833
  t.$onAction(({ after: a, onError: i, name: d, args: c }) => {
834
- const l = Qo++;
834
+ const u = Qo++;
835
835
  n.addTimelineEvent({
836
836
  layerId: Pe,
837
837
  event: {
@@ -843,10 +843,10 @@ function Hs(e, t) {
843
843
  action: ce(d),
844
844
  args: c
845
845
  },
846
- groupId: l
846
+ groupId: u
847
847
  }
848
- }), a((u) => {
849
- Oe = void 0, n.addTimelineEvent({
848
+ }), a((l) => {
849
+ Ne = void 0, n.addTimelineEvent({
850
850
  layerId: Pe,
851
851
  event: {
852
852
  time: o(),
@@ -856,13 +856,13 @@ function Hs(e, t) {
856
856
  store: ce(t.$id),
857
857
  action: ce(d),
858
858
  args: c,
859
- result: u
859
+ result: l
860
860
  },
861
- groupId: l
861
+ groupId: u
862
862
  }
863
863
  });
864
- }), i((u) => {
865
- Oe = void 0, n.addTimelineEvent({
864
+ }), i((l) => {
865
+ Ne = void 0, n.addTimelineEvent({
866
866
  layerId: Pe,
867
867
  event: {
868
868
  time: o(),
@@ -873,14 +873,14 @@ function Hs(e, t) {
873
873
  store: ce(t.$id),
874
874
  action: ce(d),
875
875
  args: c,
876
- error: u
876
+ error: l
877
877
  },
878
- groupId: l
878
+ groupId: u
879
879
  }
880
880
  });
881
881
  });
882
882
  }, !0), t._customProperties.forEach((a) => {
883
- G(() => S(t[a]), (i, d) => {
883
+ G(() => P(t[a]), (i, d) => {
884
884
  n.notifyComponentUpdate(), n.sendInspectorState(Q), He && n.addTimelineEvent({
885
885
  layerId: Pe,
886
886
  event: {
@@ -891,7 +891,7 @@ function Hs(e, t) {
891
891
  newValue: i,
892
892
  oldValue: d
893
893
  },
894
- groupId: Oe
894
+ groupId: Ne
895
895
  }
896
896
  });
897
897
  }, { deep: !0 });
@@ -901,8 +901,8 @@ function Hs(e, t) {
901
901
  const c = {
902
902
  time: o(),
903
903
  title: Bs(i),
904
- data: Ws({ store: ce(t.$id) }, Ms(a)),
905
- groupId: Oe
904
+ data: Ws({ store: ce(t.$id) }, Ls(a)),
905
+ groupId: Ne
906
906
  };
907
907
  i === ue.patchFunction ? c.subtitle = "⤵️" : i === ue.patchObject ? c.subtitle = "🧩" : a && !Array.isArray(a) && (c.subtitle = a.type), a && (c.data["rawEvent(s)"] = {
908
908
  _custom: {
@@ -937,31 +937,31 @@ function Hs(e, t) {
937
937
  }, n.notifyComponentUpdate(), n.sendInspectorTree(Q), n.sendInspectorState(Q), n.getSettings().logStoreChanges && J(`"${t.$id}" store installed 🆕`);
938
938
  });
939
939
  }
940
- let Qo = 0, Oe;
941
- function zn(e, t, n) {
940
+ let Qo = 0, Ne;
941
+ function qn(e, t, n) {
942
942
  const o = t.reduce((r, s) => (r[s] = qe(e)[s], r), {});
943
943
  for (const r in o)
944
944
  e[r] = function() {
945
945
  const s = Qo, a = n ? new Proxy(e, {
946
946
  get(...d) {
947
- return Oe = s, Reflect.get(...d);
947
+ return Ne = s, Reflect.get(...d);
948
948
  },
949
949
  set(...d) {
950
- return Oe = s, Reflect.set(...d);
950
+ return Ne = s, Reflect.set(...d);
951
951
  }
952
952
  }) : e;
953
- Oe = s;
953
+ Ne = s;
954
954
  const i = o[r].apply(a, arguments);
955
- return Oe = void 0, i;
955
+ return Ne = void 0, i;
956
956
  };
957
957
  }
958
958
  function Fs({ app: e, store: t, options: n }) {
959
959
  if (!t.$id.startsWith("__hot:")) {
960
960
  if (t._isOptionsAPI = !!n.state, !t._p._testing) {
961
- zn(t, Object.keys(n.actions), t._isOptionsAPI);
961
+ qn(t, Object.keys(n.actions), t._isOptionsAPI);
962
962
  const o = t._hotUpdate;
963
963
  qe(t)._hotUpdate = function(r) {
964
- o.apply(this, arguments), zn(t, Object.keys(r._hmrPayload.actions), !!t._isOptionsAPI);
964
+ o.apply(this, arguments), qn(t, Object.keys(r._hmrPayload.actions), !!t._isOptionsAPI);
965
965
  };
966
966
  }
967
967
  Hs(
@@ -972,7 +972,7 @@ function Fs({ app: e, store: t, options: n }) {
972
972
  }
973
973
  }
974
974
  function zs() {
975
- const e = wn(!0), t = e.run(() => C({}));
975
+ const e = En(!0), t = e.run(() => x({}));
976
976
  let n = [], o = [];
977
977
  const r = re({
978
978
  install(s) {
@@ -1003,7 +1003,7 @@ function Ko(e, t) {
1003
1003
  }
1004
1004
  const Xo = () => {
1005
1005
  };
1006
- function qn(e, t, n, o = Xo) {
1006
+ function Gn(e, t, n, o = Xo) {
1007
1007
  e.push(t);
1008
1008
  const r = () => {
1009
1009
  const s = e.indexOf(t);
@@ -1016,14 +1016,14 @@ function We(e, ...t) {
1016
1016
  n(...t);
1017
1017
  });
1018
1018
  }
1019
- const qs = (e) => e(), Gn = Symbol(), qt = Symbol();
1020
- function sn(e, t) {
1019
+ const qs = (e) => e(), Jn = Symbol(), Gt = Symbol();
1020
+ function an(e, t) {
1021
1021
  e instanceof Map && t instanceof Map ? t.forEach((n, o) => e.set(o, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
1022
1022
  for (const n in t) {
1023
1023
  if (!t.hasOwnProperty(n))
1024
1024
  continue;
1025
1025
  const o = t[n], r = e[n];
1026
- je(r) && je(o) && e.hasOwnProperty(n) && !de(o) && !Xe(o) ? e[n] = sn(r, o) : e[n] = o;
1026
+ je(r) && je(o) && e.hasOwnProperty(n) && !de(o) && !Xe(o) ? e[n] = an(r, o) : e[n] = o;
1027
1027
  }
1028
1028
  return e;
1029
1029
  }
@@ -1035,27 +1035,27 @@ function Js(e) {
1035
1035
  return !je(e) || !e.hasOwnProperty(Gs);
1036
1036
  }
1037
1037
  const { assign: te } = Object;
1038
- function Jn(e) {
1038
+ function Yn(e) {
1039
1039
  return !!(de(e) && e.effect);
1040
1040
  }
1041
- function Yn(e, t, n, o) {
1041
+ function Qn(e, t, n, o) {
1042
1042
  const { state: r, actions: s, getters: a } = t, i = n.state.value[e];
1043
1043
  let d;
1044
1044
  function c() {
1045
1045
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
1046
- const l = process.env.NODE_ENV !== "production" && o ? (
1046
+ const u = process.env.NODE_ENV !== "production" && o ? (
1047
1047
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
1048
- Pt(C(r ? r() : {}).value)
1048
+ Pt(x(r ? r() : {}).value)
1049
1049
  ) : Pt(n.state.value[e]);
1050
- return te(l, s, Object.keys(a || {}).reduce((u, p) => (process.env.NODE_ENV !== "production" && p in l && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), u[p] = re(R(() => {
1050
+ return te(u, s, Object.keys(a || {}).reduce((l, 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}".`), l[p] = re(j(() => {
1051
1051
  ut(n);
1052
1052
  const f = n._s.get(e);
1053
1053
  return a[p].call(f, f);
1054
- })), u), {}));
1054
+ })), l), {}));
1055
1055
  }
1056
- return d = an(e, c, t, n, o, !0), d;
1056
+ return d = cn(e, c, t, n, o, !0), d;
1057
1057
  }
1058
- function an(e, t, n = {}, o, r, s) {
1058
+ function cn(e, t, n = {}, o, r, s) {
1059
1059
  let a;
1060
1060
  const i = te({ actions: {} }, n);
1061
1061
  if (process.env.NODE_ENV !== "production" && !o._e.active)
@@ -1064,18 +1064,18 @@ function an(e, t, n = {}, o, r, s) {
1064
1064
  process.env.NODE_ENV !== "production" && !Bo && (d.onTrigger = (w) => {
1065
1065
  c ? f = w : c == !1 && !m._hotUpdating && (Array.isArray(f) ? f.push(w) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
1066
1066
  });
1067
- let c, l, u = [], p = [], f;
1067
+ let c, u, l = [], p = [], f;
1068
1068
  const h = o.state.value[e];
1069
1069
  !s && !h && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
1070
- const b = C({});
1070
+ const b = x({});
1071
1071
  let _;
1072
- function x(w) {
1072
+ function N(w) {
1073
1073
  let v;
1074
- c = l = !1, process.env.NODE_ENV !== "production" && (f = []), typeof w == "function" ? (w(o.state.value[e]), v = {
1074
+ c = u = !1, process.env.NODE_ENV !== "production" && (f = []), typeof w == "function" ? (w(o.state.value[e]), v = {
1075
1075
  type: ue.patchFunction,
1076
1076
  storeId: e,
1077
1077
  events: f
1078
- }) : (sn(o.state.value[e], w), v = {
1078
+ }) : (an(o.state.value[e], w), v = {
1079
1079
  type: ue.patchObject,
1080
1080
  payload: w,
1081
1081
  storeId: e,
@@ -1084,9 +1084,9 @@ function an(e, t, n = {}, o, r, s) {
1084
1084
  const y = _ = Symbol();
1085
1085
  xe().then(() => {
1086
1086
  _ === y && (c = !0);
1087
- }), l = !0, We(u, v, o.state.value[e]);
1087
+ }), u = !0, We(l, v, o.state.value[e]);
1088
1088
  }
1089
- const N = s ? function() {
1089
+ const $ = s ? function() {
1090
1090
  const { state: w } = n, v = w ? w() : {};
1091
1091
  this.$patch((y) => {
1092
1092
  te(y, v);
@@ -1097,38 +1097,38 @@ function an(e, t, n = {}, o, r, s) {
1097
1097
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
1098
1098
  } : Xo
1099
1099
  );
1100
- function $() {
1101
- a.stop(), u = [], p = [], o._s.delete(e);
1100
+ function D() {
1101
+ a.stop(), l = [], p = [], o._s.delete(e);
1102
1102
  }
1103
- const j = (w, v = "") => {
1104
- if (Gn in w)
1105
- return w[qt] = v, w;
1103
+ const W = (w, v = "") => {
1104
+ if (Jn in w)
1105
+ return w[Gt] = v, w;
1106
1106
  const y = function() {
1107
1107
  ut(o);
1108
- const I = Array.from(arguments), U = [], ie = [];
1108
+ const C = Array.from(arguments), H = [], ie = [];
1109
1109
  function pe(F) {
1110
- U.push(F);
1110
+ H.push(F);
1111
1111
  }
1112
- function Me(F) {
1112
+ function Le(F) {
1113
1113
  ie.push(F);
1114
1114
  }
1115
1115
  We(p, {
1116
- args: I,
1117
- name: y[qt],
1116
+ args: C,
1117
+ name: y[Gt],
1118
1118
  store: m,
1119
1119
  after: pe,
1120
- onError: Me
1120
+ onError: Le
1121
1121
  });
1122
1122
  let ee;
1123
1123
  try {
1124
- ee = w.apply(this && this.$id === e ? this : m, I);
1124
+ ee = w.apply(this && this.$id === e ? this : m, C);
1125
1125
  } catch (F) {
1126
1126
  throw We(ie, F), F;
1127
1127
  }
1128
- return ee instanceof Promise ? ee.then((F) => (We(U, F), F)).catch((F) => (We(ie, F), Promise.reject(F))) : (We(U, ee), ee);
1128
+ return ee instanceof Promise ? ee.then((F) => (We(H, F), F)).catch((F) => (We(ie, F), Promise.reject(F))) : (We(H, ee), ee);
1129
1129
  };
1130
- return y[Gn] = !0, y[qt] = v, y;
1131
- }, H = /* @__PURE__ */ re({
1130
+ return y[Jn] = !0, y[Gt] = v, y;
1131
+ }, R = /* @__PURE__ */ re({
1132
1132
  actions: {},
1133
1133
  getters: {},
1134
1134
  state: [],
@@ -1137,23 +1137,23 @@ function an(e, t, n = {}, o, r, s) {
1137
1137
  _p: o,
1138
1138
  // _s: scope,
1139
1139
  $id: e,
1140
- $onAction: qn.bind(null, p),
1141
- $patch: x,
1142
- $reset: N,
1140
+ $onAction: Gn.bind(null, p),
1141
+ $patch: N,
1142
+ $reset: $,
1143
1143
  $subscribe(w, v = {}) {
1144
- const y = qn(u, w, v.detached, () => I()), I = a.run(() => G(() => o.state.value[e], (U) => {
1145
- (v.flush === "sync" ? l : c) && w({
1144
+ const y = Gn(l, w, v.detached, () => C()), C = a.run(() => G(() => o.state.value[e], (H) => {
1145
+ (v.flush === "sync" ? u : c) && w({
1146
1146
  storeId: e,
1147
1147
  type: ue.direct,
1148
1148
  events: f
1149
- }, U);
1149
+ }, H);
1150
1150
  }, te({}, d, v)));
1151
1151
  return y;
1152
1152
  },
1153
- $dispose: $
1154
- }, m = _n(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && $e ? te(
1153
+ $dispose: D
1154
+ }, m = kn(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && $e ? te(
1155
1155
  {
1156
- _hmrPayload: H,
1156
+ _hmrPayload: R,
1157
1157
  _customProperties: re(/* @__PURE__ */ new Set())
1158
1158
  // devtools custom properties
1159
1159
  },
@@ -1162,56 +1162,56 @@ function an(e, t, n = {}, o, r, s) {
1162
1162
  // setupStore
1163
1163
  ) : Y);
1164
1164
  o._s.set(e, m);
1165
- const P = (o._a && o._a.runWithContext || qs)(() => o._e.run(() => (a = wn()).run(() => t({ action: j }))));
1166
- for (const w in P) {
1167
- const v = P[w];
1168
- if (de(v) && !Jn(v) || Xe(v))
1169
- process.env.NODE_ENV !== "production" && r ? bt(b.value, w, De(P, w)) : s || (h && Js(v) && (de(v) ? v.value = h[w] : sn(v, h[w])), o.state.value[e][w] = v), process.env.NODE_ENV !== "production" && H.state.push(w);
1165
+ const S = (o._a && o._a.runWithContext || qs)(() => o._e.run(() => (a = En()).run(() => t({ action: W }))));
1166
+ for (const w in S) {
1167
+ const v = S[w];
1168
+ if (de(v) && !Yn(v) || Xe(v))
1169
+ process.env.NODE_ENV !== "production" && r ? bt(b.value, w, De(S, w)) : s || (h && Js(v) && (de(v) ? v.value = h[w] : an(v, h[w])), o.state.value[e][w] = v), process.env.NODE_ENV !== "production" && R.state.push(w);
1170
1170
  else if (typeof v == "function") {
1171
- const y = process.env.NODE_ENV !== "production" && r ? v : j(v, w);
1172
- P[w] = y, process.env.NODE_ENV !== "production" && (H.actions[w] = v), i.actions[w] = v;
1173
- } else process.env.NODE_ENV !== "production" && Jn(v) && (H.getters[w] = s ? (
1171
+ const y = process.env.NODE_ENV !== "production" && r ? v : W(v, w);
1172
+ S[w] = y, process.env.NODE_ENV !== "production" && (R.actions[w] = v), i.actions[w] = v;
1173
+ } else process.env.NODE_ENV !== "production" && Yn(v) && (R.getters[w] = s ? (
1174
1174
  // @ts-expect-error
1175
1175
  n.getters[w]
1176
- ) : v, $e && (P._getters || // @ts-expect-error: same
1177
- (P._getters = re([]))).push(w));
1176
+ ) : v, $e && (S._getters || // @ts-expect-error: same
1177
+ (S._getters = re([]))).push(w));
1178
1178
  }
1179
- if (te(m, P), te(qe(m), P), Object.defineProperty(m, "$state", {
1179
+ if (te(m, S), te(qe(m), S), Object.defineProperty(m, "$state", {
1180
1180
  get: () => process.env.NODE_ENV !== "production" && r ? b.value : o.state.value[e],
1181
1181
  set: (w) => {
1182
1182
  if (process.env.NODE_ENV !== "production" && r)
1183
1183
  throw new Error("cannot set hotState");
1184
- x((v) => {
1184
+ N((v) => {
1185
1185
  te(v, w);
1186
1186
  });
1187
1187
  }
1188
1188
  }), process.env.NODE_ENV !== "production" && (m._hotUpdate = re((w) => {
1189
1189
  m._hotUpdating = !0, w._hmrPayload.state.forEach((v) => {
1190
1190
  if (v in m.$state) {
1191
- const y = w.$state[v], I = m.$state[v];
1192
- typeof y == "object" && je(y) && je(I) ? Ko(y, I) : w.$state[v] = I;
1191
+ const y = w.$state[v], C = m.$state[v];
1192
+ typeof y == "object" && je(y) && je(C) ? Ko(y, C) : w.$state[v] = C;
1193
1193
  }
1194
1194
  bt(m, v, De(w.$state, v));
1195
1195
  }), Object.keys(m.$state).forEach((v) => {
1196
- v in w.$state || zt(m, v);
1197
- }), c = !1, l = !1, o.state.value[e] = De(w._hmrPayload, "hotState"), l = !0, xe().then(() => {
1196
+ v in w.$state || qt(m, v);
1197
+ }), c = !1, u = !1, o.state.value[e] = De(w._hmrPayload, "hotState"), u = !0, xe().then(() => {
1198
1198
  c = !0;
1199
1199
  });
1200
1200
  for (const v in w._hmrPayload.actions) {
1201
1201
  const y = w[v];
1202
- bt(m, v, j(y, v));
1202
+ bt(m, v, W(y, v));
1203
1203
  }
1204
1204
  for (const v in w._hmrPayload.getters) {
1205
- const y = w._hmrPayload.getters[v], I = s ? (
1205
+ const y = w._hmrPayload.getters[v], C = s ? (
1206
1206
  // special handling of options api
1207
- R(() => (ut(o), y.call(m, m)))
1207
+ j(() => (ut(o), y.call(m, m)))
1208
1208
  ) : y;
1209
- bt(m, v, I);
1209
+ bt(m, v, C);
1210
1210
  }
1211
1211
  Object.keys(m._hmrPayload.getters).forEach((v) => {
1212
- v in w._hmrPayload.getters || zt(m, v);
1212
+ v in w._hmrPayload.getters || qt(m, v);
1213
1213
  }), Object.keys(m._hmrPayload.actions).forEach((v) => {
1214
- v in w._hmrPayload.actions || zt(m, v);
1214
+ v in w._hmrPayload.actions || qt(m, v);
1215
1215
  }), m._hmrPayload = w._hmrPayload, m._getters = w._getters, m._hotUpdating = !1;
1216
1216
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && $e) {
1217
1217
  const w = {
@@ -1242,7 +1242,7 @@ function an(e, t, n = {}, o, r, s) {
1242
1242
  })));
1243
1243
  }), process.env.NODE_ENV !== "production" && m.$state && typeof m.$state == "object" && typeof m.$state.constructor == "function" && !m.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
1244
1244
  state: () => new MyClass()
1245
- Found in store "${m.$id}".`), h && s && n.hydrate && n.hydrate(m.$state, h), c = !0, l = !0, m;
1245
+ Found in store "${m.$id}".`), h && s && n.hydrate && n.hydrate(m.$state, h), c = !0, u = !0, m;
1246
1246
  }
1247
1247
  /*! #__NO_SIDE_EFFECTS__ */
1248
1248
  // @__NO_SIDE_EFFECTS__
@@ -1254,49 +1254,49 @@ function Ys(e, t, n) {
1254
1254
  const c = jo();
1255
1255
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
1256
1256
  // pinia instance with getActivePinia()
1257
- (process.env.NODE_ENV === "test" && nt && nt._testing ? null : i) || (c ? Ne(Uo, null) : null), i && ut(i), process.env.NODE_ENV !== "production" && !nt)
1257
+ (process.env.NODE_ENV === "test" && nt && nt._testing ? null : i) || (c ? Oe(Uo, null) : null), i && ut(i), process.env.NODE_ENV !== "production" && !nt)
1258
1258
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
1259
1259
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
1260
1260
  This will fail in production.`);
1261
- i = nt, i._s.has(o) || (s ? an(o, t, r, i) : Yn(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
1262
- const l = i._s.get(o);
1261
+ i = nt, i._s.has(o) || (s ? cn(o, t, r, i) : Qn(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
1262
+ const u = i._s.get(o);
1263
1263
  if (process.env.NODE_ENV !== "production" && d) {
1264
- const u = "__hot:" + o, p = s ? an(u, t, r, i, !0) : Yn(u, te({}, r), i, !0);
1265
- d._hotUpdate(p), delete i.state.value[u], i._s.delete(u);
1264
+ const l = "__hot:" + o, p = s ? cn(l, t, r, i, !0) : Qn(l, te({}, r), i, !0);
1265
+ d._hotUpdate(p), delete i.state.value[l], i._s.delete(l);
1266
1266
  }
1267
1267
  if (process.env.NODE_ENV !== "production" && $e) {
1268
- const u = Le();
1269
- if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
1268
+ const l = Me();
1269
+ if (l && l.proxy && // avoid adding stores that are just built for hot module replacement
1270
1270
  !d) {
1271
- const p = u.proxy, f = "_pStores" in p ? p._pStores : p._pStores = {};
1272
- f[o] = l;
1271
+ const p = l.proxy, f = "_pStores" in p ? p._pStores : p._pStores = {};
1272
+ f[o] = u;
1273
1273
  }
1274
1274
  }
1275
- return l;
1275
+ return u;
1276
1276
  }
1277
1277
  return a.$id = o, a;
1278
1278
  }
1279
1279
  const Qs = /* @__PURE__ */ Ys("data", () => {
1280
- const e = C([]), t = C({});
1280
+ const e = x([]), t = x({});
1281
1281
  return { records: e, record: t };
1282
1282
  });
1283
1283
  function Zo(e) {
1284
- e || (e = Ne("$registry"));
1284
+ e || (e = Oe("$registry"));
1285
1285
  let t;
1286
1286
  try {
1287
1287
  t = Qs();
1288
1288
  } catch {
1289
1289
  throw new Error("Please enable the Stonecrop plugin before using the Stonecrop composable");
1290
1290
  }
1291
- const n = C(new ws(e, t)), o = C(!1);
1291
+ const n = x(new ws(e, t)), o = x(!1);
1292
1292
  return zr(async () => {
1293
1293
  var r, s, a;
1294
1294
  if (!e) return;
1295
1295
  const i = e.router.currentRoute.value, d = (r = i.params.records) == null ? void 0 : r.toString().toLowerCase(), c = (s = i.params.record) == null ? void 0 : s.toString().toLowerCase();
1296
1296
  if (!d && !c)
1297
1297
  return;
1298
- const l = await ((a = e.getMeta) == null ? void 0 : a.call(e, d));
1299
- l && (e.addDoctype(l), n.value.setup(l), d && (c ? await n.value.getRecord(l, c) : await n.value.getRecords(l)), n.value.runAction(l, "LOAD", c ? [c] : void 0)), o.value = !0;
1298
+ const u = await ((a = e.getMeta) == null ? void 0 : a.call(e, d));
1299
+ u && (e.addDoctype(u), n.value.setup(u), d && (c ? await n.value.getRecord(u, c) : await n.value.getRecords(u)), n.value.runAction(u, "LOAD", c ? [c] : void 0)), o.value = !0;
1300
1300
  }), { stonecrop: n, isReady: o };
1301
1301
  }
1302
1302
  const Ks = class St {
@@ -1334,8 +1334,8 @@ function Xs(e) {
1334
1334
  // add the Module string tag
1335
1335
  e.default && er(e.default);
1336
1336
  }
1337
- const L = Object.assign;
1338
- function Gt(e, t) {
1337
+ const M = Object.assign;
1338
+ function Jt(e, t) {
1339
1339
  const n = {};
1340
1340
  for (const o in t) {
1341
1341
  const r = t[o];
@@ -1345,25 +1345,25 @@ function Gt(e, t) {
1345
1345
  }
1346
1346
  const at = () => {
1347
1347
  }, Z = Array.isArray;
1348
- function D(e) {
1348
+ function I(e) {
1349
1349
  const t = Array.from(arguments).slice(1);
1350
1350
  console.warn.apply(console, ["[Vue Router warn]: " + e].concat(t));
1351
1351
  }
1352
1352
  const tr = /#/g, Zs = /&/g, ea = /\//g, ta = /=/g, na = /\?/g, nr = /\+/g, oa = /%5B/g, ra = /%5D/g, or = /%5E/g, sa = /%60/g, rr = /%7B/g, aa = /%7C/g, sr = /%7D/g, ia = /%20/g;
1353
- function Nn(e) {
1353
+ function Sn(e) {
1354
1354
  return encodeURI("" + e).replace(aa, "|").replace(oa, "[").replace(ra, "]");
1355
1355
  }
1356
1356
  function ca(e) {
1357
- return Nn(e).replace(rr, "{").replace(sr, "}").replace(or, "^");
1357
+ return Sn(e).replace(rr, "{").replace(sr, "}").replace(or, "^");
1358
1358
  }
1359
- function cn(e) {
1360
- return Nn(e).replace(nr, "%2B").replace(ia, "+").replace(tr, "%23").replace(Zs, "%26").replace(sa, "`").replace(rr, "{").replace(sr, "}").replace(or, "^");
1359
+ function ln(e) {
1360
+ return Sn(e).replace(nr, "%2B").replace(ia, "+").replace(tr, "%23").replace(Zs, "%26").replace(sa, "`").replace(rr, "{").replace(sr, "}").replace(or, "^");
1361
1361
  }
1362
1362
  function la(e) {
1363
- return cn(e).replace(ta, "%3D");
1363
+ return ln(e).replace(ta, "%3D");
1364
1364
  }
1365
1365
  function ua(e) {
1366
- return Nn(e).replace(tr, "%23").replace(na, "%3F");
1366
+ return Sn(e).replace(tr, "%23").replace(na, "%3F");
1367
1367
  }
1368
1368
  function da(e) {
1369
1369
  return e == null ? "" : ua(e).replace(ea, "%2F");
@@ -1372,12 +1372,12 @@ function Ge(e) {
1372
1372
  try {
1373
1373
  return decodeURIComponent("" + e);
1374
1374
  } catch {
1375
- process.env.NODE_ENV !== "production" && D(`Error decoding "${e}". Using original value`);
1375
+ process.env.NODE_ENV !== "production" && I(`Error decoding "${e}". Using original value`);
1376
1376
  }
1377
1377
  return "" + e;
1378
1378
  }
1379
1379
  const pa = /\/$/, fa = (e) => e.replace(pa, "");
1380
- function Jt(e, t, n = "/") {
1380
+ function Yt(e, t, n = "/") {
1381
1381
  let o, r = {}, s = "", a = "";
1382
1382
  const i = t.indexOf("#");
1383
1383
  let d = t.indexOf("?");
@@ -1392,10 +1392,10 @@ function ha(e, t) {
1392
1392
  const n = t.query ? e(t.query) : "";
1393
1393
  return t.path + (n && "?") + n + (t.hash || "");
1394
1394
  }
1395
- function Qn(e, t) {
1395
+ function Kn(e, t) {
1396
1396
  return !t || !e.toLowerCase().startsWith(t.toLowerCase()) ? e : e.slice(t.length) || "/";
1397
1397
  }
1398
- function Kn(e, t, n) {
1398
+ function Xn(e, t, n) {
1399
1399
  const o = t.matched.length - 1, r = n.matched.length - 1;
1400
1400
  return o > -1 && o === r && Se(t.matched[o], n.matched[r]) && ar(t.params, n.params) && e(t.query) === e(n.query) && t.hash === n.hash;
1401
1401
  }
@@ -1411,16 +1411,16 @@ function ar(e, t) {
1411
1411
  return !0;
1412
1412
  }
1413
1413
  function ma(e, t) {
1414
- return Z(e) ? Xn(e, t) : Z(t) ? Xn(t, e) : e === t;
1414
+ return Z(e) ? Zn(e, t) : Z(t) ? Zn(t, e) : e === t;
1415
1415
  }
1416
- function Xn(e, t) {
1416
+ function Zn(e, t) {
1417
1417
  return Z(t) ? e.length === t.length && e.every((n, o) => n === t[o]) : e.length === 1 && e[0] === t;
1418
1418
  }
1419
1419
  function va(e, t) {
1420
1420
  if (e.startsWith("/"))
1421
1421
  return e;
1422
1422
  if (process.env.NODE_ENV !== "production" && !t.startsWith("/"))
1423
- return D(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`), e;
1423
+ return I(`Cannot resolve a relative location without an absolute path. Trying to resolve "${e}" from "${t}". It should look like "/${t}".`), e;
1424
1424
  if (!e)
1425
1425
  return t;
1426
1426
  const n = t.split("/"), o = e.split("/"), r = o[o.length - 1];
@@ -1475,7 +1475,7 @@ function wa(e, t) {
1475
1475
  top: o.top - n.top - (t.top || 0)
1476
1476
  };
1477
1477
  }
1478
- const Lt = () => ({
1478
+ const Mt = () => ({
1479
1479
  left: window.scrollX,
1480
1480
  top: window.scrollY
1481
1481
  });
@@ -1487,16 +1487,16 @@ function _a(e) {
1487
1487
  try {
1488
1488
  const s = document.querySelector(e.el);
1489
1489
  if (o && s) {
1490
- D(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);
1490
+ I(`The selector "${e.el}" should be passed as "el: document.querySelector('${e.el}')" because it starts with "#".`);
1491
1491
  return;
1492
1492
  }
1493
1493
  } catch {
1494
- D(`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).`);
1494
+ I(`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).`);
1495
1495
  return;
1496
1496
  }
1497
1497
  const r = typeof n == "string" ? o ? document.getElementById(n.slice(1)) : document.querySelector(n) : n;
1498
1498
  if (!r) {
1499
- process.env.NODE_ENV !== "production" && D(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);
1499
+ process.env.NODE_ENV !== "production" && I(`Couldn't find element using selector "${e.el}" returned by scrollBehavior.`);
1500
1500
  return;
1501
1501
  }
1502
1502
  t = wa(r, e);
@@ -1504,27 +1504,27 @@ function _a(e) {
1504
1504
  t = e;
1505
1505
  "scrollBehavior" in document.documentElement.style ? window.scrollTo(t) : window.scrollTo(t.left != null ? t.left : window.scrollX, t.top != null ? t.top : window.scrollY);
1506
1506
  }
1507
- function Zn(e, t) {
1507
+ function eo(e, t) {
1508
1508
  return (history.state ? history.state.position - t : -1) + e;
1509
1509
  }
1510
- const ln = /* @__PURE__ */ new Map();
1510
+ const un = /* @__PURE__ */ new Map();
1511
1511
  function Ea(e, t) {
1512
- ln.set(e, t);
1512
+ un.set(e, t);
1513
1513
  }
1514
1514
  function ka(e) {
1515
- const t = ln.get(e);
1516
- return ln.delete(e), t;
1515
+ const t = un.get(e);
1516
+ return un.delete(e), t;
1517
1517
  }
1518
1518
  let $a = () => location.protocol + "//" + location.host;
1519
1519
  function ir(e, t) {
1520
1520
  const { pathname: n, search: o, hash: r } = t, s = e.indexOf("#");
1521
1521
  if (s > -1) {
1522
1522
  let a = r.includes(e.slice(s)) ? e.slice(s).length : 1, i = r.slice(a);
1523
- return i[0] !== "/" && (i = "/" + i), Qn(i, "");
1523
+ return i[0] !== "/" && (i = "/" + i), Kn(i, "");
1524
1524
  }
1525
- return Qn(n, e) + o + r;
1525
+ return Kn(n, e) + o + r;
1526
1526
  }
1527
- function Oa(e, t, n, o) {
1527
+ function Na(e, t, n, o) {
1528
1528
  let r = [], s = [], a = null;
1529
1529
  const i = ({ state: p }) => {
1530
1530
  const f = ir(e, location), h = n.value, b = t.value;
@@ -1537,8 +1537,8 @@ function Oa(e, t, n, o) {
1537
1537
  _ = b ? p.position - b.position : 0;
1538
1538
  } else
1539
1539
  o(f);
1540
- r.forEach((x) => {
1541
- x(n.value, h, {
1540
+ r.forEach((N) => {
1541
+ N(n.value, h, {
1542
1542
  delta: _,
1543
1543
  type: dt.pop,
1544
1544
  direction: _ ? _ > 0 ? it.forward : it.back : it.unknown
@@ -1556,34 +1556,34 @@ function Oa(e, t, n, o) {
1556
1556
  };
1557
1557
  return s.push(f), f;
1558
1558
  }
1559
- function l() {
1559
+ function u() {
1560
1560
  const { history: p } = window;
1561
- p.state && p.replaceState(L({}, p.state, { scroll: Lt() }), "");
1561
+ p.state && p.replaceState(M({}, p.state, { scroll: Mt() }), "");
1562
1562
  }
1563
- function u() {
1563
+ function l() {
1564
1564
  for (const p of s)
1565
1565
  p();
1566
- s = [], window.removeEventListener("popstate", i), window.removeEventListener("beforeunload", l);
1566
+ s = [], window.removeEventListener("popstate", i), window.removeEventListener("beforeunload", u);
1567
1567
  }
1568
- return window.addEventListener("popstate", i), window.addEventListener("beforeunload", l, {
1568
+ return window.addEventListener("popstate", i), window.addEventListener("beforeunload", u, {
1569
1569
  passive: !0
1570
1570
  }), {
1571
1571
  pauseListeners: d,
1572
1572
  listen: c,
1573
- destroy: u
1573
+ destroy: l
1574
1574
  };
1575
1575
  }
1576
- function eo(e, t, n, o = !1, r = !1) {
1576
+ function to(e, t, n, o = !1, r = !1) {
1577
1577
  return {
1578
1578
  back: e,
1579
1579
  current: t,
1580
1580
  forward: n,
1581
1581
  replaced: o,
1582
1582
  position: window.history.length,
1583
- scroll: r ? Lt() : null
1583
+ scroll: r ? Mt() : null
1584
1584
  };
1585
1585
  }
1586
- function Na(e) {
1586
+ function Oa(e) {
1587
1587
  const { history: t, location: n } = window, o = {
1588
1588
  value: ir(e, n)
1589
1589
  }, r = { value: t.state };
@@ -1598,26 +1598,26 @@ function Na(e) {
1598
1598
  // scrollBehavior to be triggered without a saved position
1599
1599
  scroll: null
1600
1600
  }, !0);
1601
- function s(d, c, l) {
1602
- const u = e.indexOf("#"), p = u > -1 ? (n.host && document.querySelector("base") ? e : e.slice(u)) + d : $a() + e + d;
1601
+ function s(d, c, u) {
1602
+ const l = e.indexOf("#"), p = l > -1 ? (n.host && document.querySelector("base") ? e : e.slice(l)) + d : $a() + e + d;
1603
1603
  try {
1604
- t[l ? "replaceState" : "pushState"](c, "", p), r.value = c;
1604
+ t[u ? "replaceState" : "pushState"](c, "", p), r.value = c;
1605
1605
  } catch (f) {
1606
- process.env.NODE_ENV !== "production" ? D("Error with push/replace State", f) : console.error(f), n[l ? "replace" : "assign"](p);
1606
+ process.env.NODE_ENV !== "production" ? I("Error with push/replace State", f) : console.error(f), n[u ? "replace" : "assign"](p);
1607
1607
  }
1608
1608
  }
1609
1609
  function a(d, c) {
1610
- const l = L({}, t.state, eo(
1610
+ const u = M({}, t.state, to(
1611
1611
  r.value.back,
1612
1612
  // keep back and forward entries but override current position
1613
1613
  d,
1614
1614
  r.value.forward,
1615
1615
  !0
1616
1616
  ), c, { position: r.value.position });
1617
- s(d, l, !0), o.value = d;
1617
+ s(d, u, !0), o.value = d;
1618
1618
  }
1619
1619
  function i(d, c) {
1620
- const l = L(
1620
+ const u = M(
1621
1621
  {},
1622
1622
  // use current history state to gracefully handle a wrong call to
1623
1623
  // history.replaceState
@@ -1626,16 +1626,16 @@ function Na(e) {
1626
1626
  t.state,
1627
1627
  {
1628
1628
  forward: d,
1629
- scroll: Lt()
1629
+ scroll: Mt()
1630
1630
  }
1631
1631
  );
1632
- process.env.NODE_ENV !== "production" && !t.state && D(`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:
1632
+ process.env.NODE_ENV !== "production" && !t.state && I(`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:
1633
1633
 
1634
1634
  history.replaceState(history.state, '', url)
1635
1635
 
1636
- You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`), s(l.current, l, !0);
1637
- const u = L({}, eo(o.value, d, null), { position: l.position + 1 }, c);
1638
- s(d, u, !1), o.value = d;
1636
+ You can find more information at https://router.vuejs.org/guide/migration/#Usage-of-history-state`), s(u.current, u, !0);
1637
+ const l = M({}, to(o.value, d, null), { position: u.position + 1 }, c);
1638
+ s(d, l, !1), o.value = d;
1639
1639
  }
1640
1640
  return {
1641
1641
  location: o,
@@ -1646,11 +1646,11 @@ You can find more information at https://router.vuejs.org/guide/migration/#Usage
1646
1646
  }
1647
1647
  function xa(e) {
1648
1648
  e = ga(e);
1649
- const t = Na(e), n = Oa(e, t.state, t.location, t.replace);
1649
+ const t = Oa(e), n = Na(e, t.state, t.location, t.replace);
1650
1650
  function o(s, a = !0) {
1651
1651
  a || n.pauseListeners(), history.go(s);
1652
1652
  }
1653
- const r = L({
1653
+ const r = M({
1654
1654
  // it's overridden right after
1655
1655
  location: "",
1656
1656
  base: e,
@@ -1671,11 +1671,11 @@ function At(e) {
1671
1671
  function cr(e) {
1672
1672
  return typeof e == "string" || typeof e == "symbol";
1673
1673
  }
1674
- const un = Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
1675
- var to;
1674
+ const dn = Symbol(process.env.NODE_ENV !== "production" ? "navigation failure" : "");
1675
+ var no;
1676
1676
  (function(e) {
1677
1677
  e[e.aborted = 4] = "aborted", e[e.cancelled = 8] = "cancelled", e[e.duplicated = 16] = "duplicated";
1678
- })(to || (to = {}));
1678
+ })(no || (no = {}));
1679
1679
  const Sa = {
1680
1680
  1({ location: e, currentLocation: t }) {
1681
1681
  return `No match for
@@ -1697,16 +1697,16 @@ while being at
1697
1697
  }
1698
1698
  };
1699
1699
  function Je(e, t) {
1700
- return process.env.NODE_ENV !== "production" ? L(new Error(Sa[e](t)), {
1700
+ return process.env.NODE_ENV !== "production" ? M(new Error(Sa[e](t)), {
1701
1701
  type: e,
1702
- [un]: !0
1703
- }, t) : L(new Error(), {
1702
+ [dn]: !0
1703
+ }, t) : M(new Error(), {
1704
1704
  type: e,
1705
- [un]: !0
1705
+ [dn]: !0
1706
1706
  }, t);
1707
1707
  }
1708
1708
  function he(e, t) {
1709
- return e instanceof Error && un in e && (t == null || !!(e.type & t));
1709
+ return e instanceof Error && dn in e && (t == null || !!(e.type & t));
1710
1710
  }
1711
1711
  const Ca = ["params", "query", "hash"];
1712
1712
  function Pa(e) {
@@ -1719,51 +1719,51 @@ function Pa(e) {
1719
1719
  n in e && (t[n] = e[n]);
1720
1720
  return JSON.stringify(t, null, 2);
1721
1721
  }
1722
- const no = "[^/]+?", Ia = {
1722
+ const oo = "[^/]+?", Ia = {
1723
1723
  sensitive: !1,
1724
1724
  strict: !1,
1725
1725
  start: !0,
1726
1726
  end: !0
1727
1727
  }, Da = /[.+*?^${}()[\]/\\]/g;
1728
1728
  function Va(e, t) {
1729
- const n = L({}, Ia, t), o = [];
1729
+ const n = M({}, Ia, t), o = [];
1730
1730
  let r = n.start ? "^" : "";
1731
1731
  const s = [];
1732
1732
  for (const c of e) {
1733
- const l = c.length ? [] : [
1733
+ const u = c.length ? [] : [
1734
1734
  90
1735
1735
  /* PathScore.Root */
1736
1736
  ];
1737
1737
  n.strict && !c.length && (r += "/");
1738
- for (let u = 0; u < c.length; u++) {
1739
- const p = c[u];
1738
+ for (let l = 0; l < c.length; l++) {
1739
+ const p = c[l];
1740
1740
  let f = 40 + (n.sensitive ? 0.25 : 0);
1741
1741
  if (p.type === 0)
1742
- u || (r += "/"), r += p.value.replace(Da, "\\$&"), f += 40;
1742
+ l || (r += "/"), r += p.value.replace(Da, "\\$&"), f += 40;
1743
1743
  else if (p.type === 1) {
1744
- const { value: h, repeatable: b, optional: _, regexp: x } = p;
1744
+ const { value: h, repeatable: b, optional: _, regexp: N } = p;
1745
1745
  s.push({
1746
1746
  name: h,
1747
1747
  repeatable: b,
1748
1748
  optional: _
1749
1749
  });
1750
- const N = x || no;
1751
- if (N !== no) {
1750
+ const $ = N || oo;
1751
+ if ($ !== oo) {
1752
1752
  f += 10;
1753
1753
  try {
1754
- new RegExp(`(${N})`);
1755
- } catch (j) {
1756
- throw new Error(`Invalid custom RegExp for param "${h}" (${N}): ` + j.message);
1754
+ new RegExp(`(${$})`);
1755
+ } catch (W) {
1756
+ throw new Error(`Invalid custom RegExp for param "${h}" (${$}): ` + W.message);
1757
1757
  }
1758
1758
  }
1759
- let $ = b ? `((?:${N})(?:/(?:${N}))*)` : `(${N})`;
1760
- u || ($ = // avoid an optional / if there are more segments e.g. /:p?-static
1759
+ let D = b ? `((?:${$})(?:/(?:${$}))*)` : `(${$})`;
1760
+ l || (D = // avoid an optional / if there are more segments e.g. /:p?-static
1761
1761
  // or /:p?-:p2
1762
- _ && c.length < 2 ? `(?:/${$})` : "/" + $), _ && ($ += "?"), r += $, f += 20, _ && (f += -8), b && (f += -20), N === ".*" && (f += -50);
1762
+ _ && c.length < 2 ? `(?:/${D})` : "/" + D), _ && (D += "?"), r += D, f += 20, _ && (f += -8), b && (f += -20), $ === ".*" && (f += -50);
1763
1763
  }
1764
- l.push(f);
1764
+ u.push(f);
1765
1765
  }
1766
- o.push(l);
1766
+ o.push(u);
1767
1767
  }
1768
1768
  if (n.strict && n.end) {
1769
1769
  const c = o.length - 1;
@@ -1772,36 +1772,36 @@ function Va(e, t) {
1772
1772
  n.strict || (r += "/?"), n.end ? r += "$" : n.strict && !r.endsWith("/") && (r += "(?:/|$)");
1773
1773
  const a = new RegExp(r, n.sensitive ? "" : "i");
1774
1774
  function i(c) {
1775
- const l = c.match(a), u = {};
1776
- if (!l)
1775
+ const u = c.match(a), l = {};
1776
+ if (!u)
1777
1777
  return null;
1778
- for (let p = 1; p < l.length; p++) {
1779
- const f = l[p] || "", h = s[p - 1];
1780
- u[h.name] = f && h.repeatable ? f.split("/") : f;
1778
+ for (let p = 1; p < u.length; p++) {
1779
+ const f = u[p] || "", h = s[p - 1];
1780
+ l[h.name] = f && h.repeatable ? f.split("/") : f;
1781
1781
  }
1782
- return u;
1782
+ return l;
1783
1783
  }
1784
1784
  function d(c) {
1785
- let l = "", u = !1;
1785
+ let u = "", l = !1;
1786
1786
  for (const p of e) {
1787
- (!u || !l.endsWith("/")) && (l += "/"), u = !1;
1787
+ (!l || !u.endsWith("/")) && (u += "/"), l = !1;
1788
1788
  for (const f of p)
1789
1789
  if (f.type === 0)
1790
- l += f.value;
1790
+ u += f.value;
1791
1791
  else if (f.type === 1) {
1792
- const { value: h, repeatable: b, optional: _ } = f, x = h in c ? c[h] : "";
1793
- if (Z(x) && !b)
1792
+ const { value: h, repeatable: b, optional: _ } = f, N = h in c ? c[h] : "";
1793
+ if (Z(N) && !b)
1794
1794
  throw new Error(`Provided param "${h}" is an array but it is not repeatable (* or + modifiers)`);
1795
- const N = Z(x) ? x.join("/") : x;
1796
- if (!N)
1795
+ const $ = Z(N) ? N.join("/") : N;
1796
+ if (!$)
1797
1797
  if (_)
1798
- p.length < 2 && (l.endsWith("/") ? l = l.slice(0, -1) : u = !0);
1798
+ p.length < 2 && (u.endsWith("/") ? u = u.slice(0, -1) : l = !0);
1799
1799
  else
1800
1800
  throw new Error(`Missing required param "${h}"`);
1801
- l += N;
1801
+ u += $;
1802
1802
  }
1803
1803
  }
1804
- return l || "/";
1804
+ return u || "/";
1805
1805
  }
1806
1806
  return {
1807
1807
  re: a,
@@ -1831,14 +1831,14 @@ function lr(e, t) {
1831
1831
  n++;
1832
1832
  }
1833
1833
  if (Math.abs(r.length - o.length) === 1) {
1834
- if (oo(o))
1834
+ if (ro(o))
1835
1835
  return 1;
1836
- if (oo(r))
1836
+ if (ro(r))
1837
1837
  return -1;
1838
1838
  }
1839
1839
  return r.length - o.length;
1840
1840
  }
1841
- function oo(e) {
1841
+ function ro(e) {
1842
1842
  const t = e[e.length - 1];
1843
1843
  return e.length > 0 && t[t.length - 1] < 0;
1844
1844
  }
@@ -1862,15 +1862,15 @@ function Ra(e) {
1862
1862
  function a() {
1863
1863
  s && r.push(s), s = [];
1864
1864
  }
1865
- let i = 0, d, c = "", l = "";
1866
- function u() {
1865
+ let i = 0, d, c = "", u = "";
1866
+ function l() {
1867
1867
  c && (n === 0 ? s.push({
1868
1868
  type: 0,
1869
1869
  value: c
1870
1870
  }) : n === 1 || n === 2 || n === 3 ? (s.length > 1 && (d === "*" || d === "+") && t(`A repeatable param (${c}) must be alone in its segment. eg: '/:ids+.`), s.push({
1871
1871
  type: 1,
1872
1872
  value: c,
1873
- regexp: l,
1873
+ regexp: u,
1874
1874
  repeatable: d === "*" || d === "+",
1875
1875
  optional: d === "*" || d === "?"
1876
1876
  })) : t("Invalid state to consume buffer"), c = "");
@@ -1885,35 +1885,35 @@ function Ra(e) {
1885
1885
  }
1886
1886
  switch (n) {
1887
1887
  case 0:
1888
- d === "/" ? (c && u(), a()) : d === ":" ? (u(), n = 1) : p();
1888
+ d === "/" ? (c && l(), a()) : d === ":" ? (l(), n = 1) : p();
1889
1889
  break;
1890
1890
  case 4:
1891
1891
  p(), n = o;
1892
1892
  break;
1893
1893
  case 1:
1894
- d === "(" ? n = 2 : ja.test(d) ? p() : (u(), n = 0, d !== "*" && d !== "?" && d !== "+" && i--);
1894
+ d === "(" ? n = 2 : ja.test(d) ? p() : (l(), n = 0, d !== "*" && d !== "?" && d !== "+" && i--);
1895
1895
  break;
1896
1896
  case 2:
1897
- d === ")" ? l[l.length - 1] == "\\" ? l = l.slice(0, -1) + d : n = 3 : l += d;
1897
+ d === ")" ? u[u.length - 1] == "\\" ? u = u.slice(0, -1) + d : n = 3 : u += d;
1898
1898
  break;
1899
1899
  case 3:
1900
- u(), n = 0, d !== "*" && d !== "?" && d !== "+" && i--, l = "";
1900
+ l(), n = 0, d !== "*" && d !== "?" && d !== "+" && i--, u = "";
1901
1901
  break;
1902
1902
  default:
1903
1903
  t("Unknown state");
1904
1904
  break;
1905
1905
  }
1906
1906
  }
1907
- return n === 2 && t(`Unfinished custom RegExp for param "${c}"`), u(), a(), r;
1907
+ return n === 2 && t(`Unfinished custom RegExp for param "${c}"`), l(), a(), r;
1908
1908
  }
1909
- function La(e, t, n) {
1909
+ function Ma(e, t, n) {
1910
1910
  const o = Va(Ra(e.path), n);
1911
1911
  if (process.env.NODE_ENV !== "production") {
1912
1912
  const s = /* @__PURE__ */ new Set();
1913
1913
  for (const a of o.keys)
1914
- s.has(a.name) && D(`Found duplicated params with name "${a.name}" for path "${e.path}". Only the last one will be available on "$route.params".`), s.add(a.name);
1914
+ s.has(a.name) && I(`Found duplicated params with name "${a.name}" for path "${e.path}". Only the last one will be available on "$route.params".`), s.add(a.name);
1915
1915
  }
1916
- const r = L(o, {
1916
+ const r = M(o, {
1917
1917
  record: e,
1918
1918
  parent: t,
1919
1919
  // these needs to be populated by the parent
@@ -1922,27 +1922,27 @@ function La(e, t, n) {
1922
1922
  });
1923
1923
  return t && !r.record.aliasOf == !t.record.aliasOf && t.children.push(r), r;
1924
1924
  }
1925
- function Ma(e, t) {
1925
+ function La(e, t) {
1926
1926
  const n = [], o = /* @__PURE__ */ new Map();
1927
- t = io({ strict: !1, end: !0, sensitive: !1 }, t);
1928
- function r(u) {
1929
- return o.get(u);
1927
+ t = co({ strict: !1, end: !0, sensitive: !1 }, t);
1928
+ function r(l) {
1929
+ return o.get(l);
1930
1930
  }
1931
- function s(u, p, f) {
1932
- const h = !f, b = so(u);
1931
+ function s(l, p, f) {
1932
+ const h = !f, b = ao(l);
1933
1933
  process.env.NODE_ENV !== "production" && Ha(b, p), b.aliasOf = f && f.record;
1934
- const _ = io(t, u), x = [b];
1935
- if ("alias" in u) {
1936
- const j = typeof u.alias == "string" ? [u.alias] : u.alias;
1937
- for (const H of j)
1938
- x.push(
1934
+ const _ = co(t, l), N = [b];
1935
+ if ("alias" in l) {
1936
+ const W = typeof l.alias == "string" ? [l.alias] : l.alias;
1937
+ for (const R of W)
1938
+ N.push(
1939
1939
  // we need to normalize again to ensure the `mods` property
1940
1940
  // being non enumerable
1941
- so(L({}, b, {
1941
+ ao(M({}, b, {
1942
1942
  // this allows us to hold a copy of the `components` option
1943
1943
  // so that async components cache is hold on the original record
1944
1944
  components: f ? f.record.components : b.components,
1945
- path: H,
1945
+ path: R,
1946
1946
  // we might be the child of an alias
1947
1947
  aliasOf: f ? f.record : b
1948
1948
  // the aliases are always of the same kind as the original since they
@@ -1950,108 +1950,108 @@ function Ma(e, t) {
1950
1950
  }))
1951
1951
  );
1952
1952
  }
1953
- let N, $;
1954
- for (const j of x) {
1955
- const { path: H } = j;
1956
- if (p && H[0] !== "/") {
1953
+ let $, D;
1954
+ for (const W of N) {
1955
+ const { path: R } = W;
1956
+ if (p && R[0] !== "/") {
1957
1957
  const Y = p.record.path, m = Y[Y.length - 1] === "/" ? "" : "/";
1958
- j.path = p.record.path + (H && m + H);
1958
+ W.path = p.record.path + (R && m + R);
1959
1959
  }
1960
- if (process.env.NODE_ENV !== "production" && j.path === "*")
1960
+ if (process.env.NODE_ENV !== "production" && W.path === "*")
1961
1961
  throw new Error(`Catch all routes ("*") must now be defined using a param with a custom regexp.
1962
1962
  See more at https://router.vuejs.org/guide/migration/#Removed-star-or-catch-all-routes.`);
1963
- if (N = La(j, p, _), process.env.NODE_ENV !== "production" && p && H[0] === "/" && za(N, p), f ? (f.alias.push(N), process.env.NODE_ENV !== "production" && Ua(f, N)) : ($ = $ || N, $ !== N && $.alias.push(N), h && u.name && !ao(N) && (process.env.NODE_ENV !== "production" && Fa(u, p), a(u.name))), ur(N) && d(N), b.children) {
1963
+ if ($ = Ma(W, p, _), process.env.NODE_ENV !== "production" && p && R[0] === "/" && za($, p), f ? (f.alias.push($), process.env.NODE_ENV !== "production" && Ua(f, $)) : (D = D || $, D !== $ && D.alias.push($), h && l.name && !io($) && (process.env.NODE_ENV !== "production" && Fa(l, p), a(l.name))), ur($) && d($), b.children) {
1964
1964
  const Y = b.children;
1965
1965
  for (let m = 0; m < Y.length; m++)
1966
- s(Y[m], N, f && f.children[m]);
1966
+ s(Y[m], $, f && f.children[m]);
1967
1967
  }
1968
- f = f || N;
1968
+ f = f || $;
1969
1969
  }
1970
- return $ ? () => {
1971
- a($);
1970
+ return D ? () => {
1971
+ a(D);
1972
1972
  } : at;
1973
1973
  }
1974
- function a(u) {
1975
- if (cr(u)) {
1976
- const p = o.get(u);
1977
- p && (o.delete(u), n.splice(n.indexOf(p), 1), p.children.forEach(a), p.alias.forEach(a));
1974
+ function a(l) {
1975
+ if (cr(l)) {
1976
+ const p = o.get(l);
1977
+ p && (o.delete(l), n.splice(n.indexOf(p), 1), p.children.forEach(a), p.alias.forEach(a));
1978
1978
  } else {
1979
- const p = n.indexOf(u);
1980
- p > -1 && (n.splice(p, 1), u.record.name && o.delete(u.record.name), u.children.forEach(a), u.alias.forEach(a));
1979
+ const p = n.indexOf(l);
1980
+ p > -1 && (n.splice(p, 1), l.record.name && o.delete(l.record.name), l.children.forEach(a), l.alias.forEach(a));
1981
1981
  }
1982
1982
  }
1983
1983
  function i() {
1984
1984
  return n;
1985
1985
  }
1986
- function d(u) {
1987
- const p = qa(u, n);
1988
- n.splice(p, 0, u), u.record.name && !ao(u) && o.set(u.record.name, u);
1986
+ function d(l) {
1987
+ const p = qa(l, n);
1988
+ n.splice(p, 0, l), l.record.name && !io(l) && o.set(l.record.name, l);
1989
1989
  }
1990
- function c(u, p) {
1990
+ function c(l, p) {
1991
1991
  let f, h = {}, b, _;
1992
- if ("name" in u && u.name) {
1993
- if (f = o.get(u.name), !f)
1992
+ if ("name" in l && l.name) {
1993
+ if (f = o.get(l.name), !f)
1994
1994
  throw Je(1, {
1995
- location: u
1995
+ location: l
1996
1996
  });
1997
1997
  if (process.env.NODE_ENV !== "production") {
1998
- const $ = Object.keys(u.params || {}).filter((j) => !f.keys.find((H) => H.name === j));
1999
- $.length && D(`Discarded invalid param(s) "${$.join('", "')}" when navigating. See https://github.com/vuejs/router/blob/main/packages/router/CHANGELOG.md#414-2022-08-22 for more details.`);
1998
+ const D = Object.keys(l.params || {}).filter((W) => !f.keys.find((R) => R.name === W));
1999
+ D.length && I(`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.`);
2000
2000
  }
2001
- _ = f.record.name, h = L(
2001
+ _ = f.record.name, h = M(
2002
2002
  // paramsFromLocation is a new object
2003
- ro(
2003
+ so(
2004
2004
  p.params,
2005
2005
  // only keep params that exist in the resolved location
2006
2006
  // only keep optional params coming from a parent record
2007
- f.keys.filter(($) => !$.optional).concat(f.parent ? f.parent.keys.filter(($) => $.optional) : []).map(($) => $.name)
2007
+ f.keys.filter((D) => !D.optional).concat(f.parent ? f.parent.keys.filter((D) => D.optional) : []).map((D) => D.name)
2008
2008
  ),
2009
2009
  // discard any existing params in the current location that do not exist here
2010
2010
  // #1497 this ensures better active/exact matching
2011
- u.params && ro(u.params, f.keys.map(($) => $.name))
2011
+ l.params && so(l.params, f.keys.map((D) => D.name))
2012
2012
  ), b = f.stringify(h);
2013
- } else if (u.path != null)
2014
- b = u.path, process.env.NODE_ENV !== "production" && !b.startsWith("/") && D(`The Matcher cannot resolve relative paths but received "${b}". Unless you directly called \`matcher.resolve("${b}")\`, this is probably a bug in vue-router. Please open an issue at https://github.com/vuejs/router/issues/new/choose.`), f = n.find(($) => $.re.test(b)), f && (h = f.parse(b), _ = f.record.name);
2013
+ } else if (l.path != null)
2014
+ b = l.path, process.env.NODE_ENV !== "production" && !b.startsWith("/") && I(`The Matcher cannot resolve relative paths but received "${b}". Unless you directly called \`matcher.resolve("${b}")\`, 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(b)), f && (h = f.parse(b), _ = f.record.name);
2015
2015
  else {
2016
- if (f = p.name ? o.get(p.name) : n.find(($) => $.re.test(p.path)), !f)
2016
+ if (f = p.name ? o.get(p.name) : n.find((D) => D.re.test(p.path)), !f)
2017
2017
  throw Je(1, {
2018
- location: u,
2018
+ location: l,
2019
2019
  currentLocation: p
2020
2020
  });
2021
- _ = f.record.name, h = L({}, p.params, u.params), b = f.stringify(h);
2021
+ _ = f.record.name, h = M({}, p.params, l.params), b = f.stringify(h);
2022
2022
  }
2023
- const x = [];
2024
- let N = f;
2025
- for (; N; )
2026
- x.unshift(N.record), N = N.parent;
2023
+ const N = [];
2024
+ let $ = f;
2025
+ for (; $; )
2026
+ N.unshift($.record), $ = $.parent;
2027
2027
  return {
2028
2028
  name: _,
2029
2029
  path: b,
2030
2030
  params: h,
2031
- matched: x,
2032
- meta: Wa(x)
2031
+ matched: N,
2032
+ meta: Wa(N)
2033
2033
  };
2034
2034
  }
2035
- e.forEach((u) => s(u));
2036
- function l() {
2035
+ e.forEach((l) => s(l));
2036
+ function u() {
2037
2037
  n.length = 0, o.clear();
2038
2038
  }
2039
2039
  return {
2040
2040
  addRoute: s,
2041
2041
  resolve: c,
2042
2042
  removeRoute: a,
2043
- clearRoutes: l,
2043
+ clearRoutes: u,
2044
2044
  getRoutes: i,
2045
2045
  getRecordMatcher: r
2046
2046
  };
2047
2047
  }
2048
- function ro(e, t) {
2048
+ function so(e, t) {
2049
2049
  const n = {};
2050
2050
  for (const o of t)
2051
2051
  o in e && (n[o] = e[o]);
2052
2052
  return n;
2053
2053
  }
2054
- function so(e) {
2054
+ function ao(e) {
2055
2055
  const t = {
2056
2056
  path: e.path,
2057
2057
  redirect: e.redirect,
@@ -2082,7 +2082,7 @@ function Ba(e) {
2082
2082
  t[o] = typeof n == "object" ? n[o] : n;
2083
2083
  return t;
2084
2084
  }
2085
- function ao(e) {
2085
+ function io(e) {
2086
2086
  for (; e; ) {
2087
2087
  if (e.record.aliasOf)
2088
2088
  return !0;
@@ -2091,27 +2091,27 @@ function ao(e) {
2091
2091
  return !1;
2092
2092
  }
2093
2093
  function Wa(e) {
2094
- return e.reduce((t, n) => L(t, n.meta), {});
2094
+ return e.reduce((t, n) => M(t, n.meta), {});
2095
2095
  }
2096
- function io(e, t) {
2096
+ function co(e, t) {
2097
2097
  const n = {};
2098
2098
  for (const o in e)
2099
2099
  n[o] = o in t ? t[o] : e[o];
2100
2100
  return n;
2101
2101
  }
2102
- function dn(e, t) {
2102
+ function pn(e, t) {
2103
2103
  return e.name === t.name && e.optional === t.optional && e.repeatable === t.repeatable;
2104
2104
  }
2105
2105
  function Ua(e, t) {
2106
2106
  for (const n of e.keys)
2107
- if (!n.optional && !t.keys.find(dn.bind(null, n)))
2108
- return D(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2107
+ if (!n.optional && !t.keys.find(pn.bind(null, n)))
2108
+ return I(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2109
2109
  for (const n of t.keys)
2110
- if (!n.optional && !e.keys.find(dn.bind(null, n)))
2111
- return D(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2110
+ if (!n.optional && !e.keys.find(pn.bind(null, n)))
2111
+ return I(`Alias "${t.record.path}" and the original record: "${e.record.path}" must have the exact same param named "${n.name}"`);
2112
2112
  }
2113
2113
  function Ha(e, t) {
2114
- t && t.record.name && !e.name && !e.path && D(`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.`);
2114
+ t && t.record.name && !e.name && !e.path && I(`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.`);
2115
2115
  }
2116
2116
  function Fa(e, t) {
2117
2117
  for (let n = t; n; n = n.parent)
@@ -2120,8 +2120,8 @@ function Fa(e, t) {
2120
2120
  }
2121
2121
  function za(e, t) {
2122
2122
  for (const n of t.keys)
2123
- if (!e.keys.find(dn.bind(null, n)))
2124
- return D(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`);
2123
+ if (!e.keys.find(pn.bind(null, n)))
2124
+ return I(`Absolute path "${e.record.path}" must have the exact same param named "${n.name}" as its parent "${t.record.path}".`);
2125
2125
  }
2126
2126
  function qa(e, t) {
2127
2127
  let n = 0, o = t.length;
@@ -2130,7 +2130,7 @@ function qa(e, t) {
2130
2130
  lr(e, t[s]) < 0 ? o = s : n = s + 1;
2131
2131
  }
2132
2132
  const r = Ga(e);
2133
- return r && (o = t.lastIndexOf(r, o - 1), process.env.NODE_ENV !== "production" && o < 0 && D(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)), o;
2133
+ return r && (o = t.lastIndexOf(r, o - 1), process.env.NODE_ENV !== "production" && o < 0 && I(`Finding ancestor route "${r.record.path}" failed for "${e.record.path}"`)), o;
2134
2134
  }
2135
2135
  function Ga(e) {
2136
2136
  let t = e;
@@ -2156,7 +2156,7 @@ function Ja(e) {
2156
2156
  }
2157
2157
  return t;
2158
2158
  }
2159
- function co(e) {
2159
+ function lo(e) {
2160
2160
  let t = "";
2161
2161
  for (let n in e) {
2162
2162
  const o = e[n];
@@ -2164,7 +2164,7 @@ function co(e) {
2164
2164
  o !== void 0 && (t += (t.length ? "&" : "") + n);
2165
2165
  continue;
2166
2166
  }
2167
- (Z(o) ? o.map((r) => r && cn(r)) : [o && cn(o)]).forEach((r) => {
2167
+ (Z(o) ? o.map((r) => r && ln(r)) : [o && ln(o)]).forEach((r) => {
2168
2168
  r !== void 0 && (t += (t.length ? "&" : "") + n, r != null && (t += "=" + r));
2169
2169
  });
2170
2170
  }
@@ -2178,7 +2178,7 @@ function Ya(e) {
2178
2178
  }
2179
2179
  return t;
2180
2180
  }
2181
- const Qa = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""), lo = Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : ""), xn = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), dr = Symbol(process.env.NODE_ENV !== "production" ? "route location" : ""), pn = Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
2181
+ const Qa = Symbol(process.env.NODE_ENV !== "production" ? "router view location matched" : ""), uo = Symbol(process.env.NODE_ENV !== "production" ? "router view depth" : ""), Cn = Symbol(process.env.NODE_ENV !== "production" ? "router" : ""), dr = Symbol(process.env.NODE_ENV !== "production" ? "route location" : ""), fn = Symbol(process.env.NODE_ENV !== "production" ? "router view location" : "");
2182
2182
  function et() {
2183
2183
  let e = [];
2184
2184
  function t(o) {
@@ -2209,43 +2209,43 @@ function Ee(e, t, n, o, r, s = (a) => a()) {
2209
2209
  to: p
2210
2210
  })) : (a && // since enterCallbackArray is truthy, both record and name also are
2211
2211
  o.enterCallbacks[r] === a && typeof p == "function" && a.push(p), i());
2212
- }, l = s(() => e.call(o && o.instances[r], t, n, process.env.NODE_ENV !== "production" ? Ka(c, t, n) : c));
2213
- let u = Promise.resolve(l);
2214
- if (e.length < 3 && (u = u.then(c)), process.env.NODE_ENV !== "production" && e.length > 2) {
2212
+ }, u = s(() => e.call(o && o.instances[r], t, n, process.env.NODE_ENV !== "production" ? Ka(c, t, n) : c));
2213
+ let l = Promise.resolve(u);
2214
+ if (e.length < 3 && (l = l.then(c)), process.env.NODE_ENV !== "production" && e.length > 2) {
2215
2215
  const p = `The "next" callback was never called inside of ${e.name ? '"' + e.name + '"' : ""}:
2216
2216
  ${e.toString()}
2217
2217
  . If you are returning a value instead of calling "next", make sure to remove the "next" parameter from your function.`;
2218
- if (typeof l == "object" && "then" in l)
2219
- u = u.then((f) => c._called ? f : (D(p), Promise.reject(new Error("Invalid navigation guard"))));
2220
- else if (l !== void 0 && !c._called) {
2221
- D(p), d(new Error("Invalid navigation guard"));
2218
+ if (typeof u == "object" && "then" in u)
2219
+ l = l.then((f) => c._called ? f : (I(p), Promise.reject(new Error("Invalid navigation guard"))));
2220
+ else if (u !== void 0 && !c._called) {
2221
+ I(p), d(new Error("Invalid navigation guard"));
2222
2222
  return;
2223
2223
  }
2224
2224
  }
2225
- u.catch((p) => d(p));
2225
+ l.catch((p) => d(p));
2226
2226
  });
2227
2227
  }
2228
2228
  function Ka(e, t, n) {
2229
2229
  let o = 0;
2230
2230
  return function() {
2231
- o++ === 1 && D(`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);
2231
+ o++ === 1 && I(`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);
2232
2232
  };
2233
2233
  }
2234
- function Yt(e, t, n, o, r = (s) => s()) {
2234
+ function Qt(e, t, n, o, r = (s) => s()) {
2235
2235
  const s = [];
2236
2236
  for (const a of e) {
2237
- process.env.NODE_ENV !== "production" && !a.components && !a.children.length && D(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);
2237
+ process.env.NODE_ENV !== "production" && !a.components && !a.children.length && I(`Record with path "${a.path}" is either missing a "component(s)" or "children" property.`);
2238
2238
  for (const i in a.components) {
2239
2239
  let d = a.components[i];
2240
2240
  if (process.env.NODE_ENV !== "production") {
2241
2241
  if (!d || typeof d != "object" && typeof d != "function")
2242
- throw D(`Component "${i}" in record with path "${a.path}" is not a valid component. Received "${String(d)}".`), new Error("Invalid route component");
2242
+ throw I(`Component "${i}" in record with path "${a.path}" is not a valid component. Received "${String(d)}".`), new Error("Invalid route component");
2243
2243
  if ("then" in d) {
2244
- D(`Component "${i}" in record with path "${a.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.`);
2244
+ I(`Component "${i}" in record with path "${a.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.`);
2245
2245
  const c = d;
2246
2246
  d = () => c;
2247
2247
  } else d.__asyncLoader && // warn only once per component
2248
- !d.__warnedDefineAsync && (d.__warnedDefineAsync = !0, D(`Component "${i}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
2248
+ !d.__warnedDefineAsync && (d.__warnedDefineAsync = !0, I(`Component "${i}" in record with path "${a.path}" is defined using "defineAsyncComponent()". Write "() => import('./MyPage.vue')" instead of "defineAsyncComponent(() => import('./MyPage.vue'))".`));
2249
2249
  }
2250
2250
  if (!(t !== "beforeRouteEnter" && !a.instances[i]))
2251
2251
  if (er(d)) {
@@ -2253,12 +2253,12 @@ function Yt(e, t, n, o, r = (s) => s()) {
2253
2253
  c && s.push(Ee(c, n, o, a, i, r));
2254
2254
  } else {
2255
2255
  let c = d();
2256
- process.env.NODE_ENV !== "production" && !("catch" in c) && (D(`Component "${i}" in record with path "${a.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.`), c = Promise.resolve(c)), s.push(() => c.then((l) => {
2257
- if (!l)
2256
+ process.env.NODE_ENV !== "production" && !("catch" in c) && (I(`Component "${i}" in record with path "${a.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.`), c = Promise.resolve(c)), s.push(() => c.then((u) => {
2257
+ if (!u)
2258
2258
  throw new Error(`Couldn't resolve component "${i}" at "${a.path}"`);
2259
- const u = Xs(l) ? l.default : l;
2260
- a.mods[i] = l, a.components[i] = u;
2261
- const p = (u.__vccOpts || u)[t];
2259
+ const l = Xs(u) ? u.default : u;
2260
+ a.mods[i] = u, a.components[i] = l;
2261
+ const p = (l.__vccOpts || l)[t];
2262
2262
  return p && Ee(p, n, o, a, i, r)();
2263
2263
  }));
2264
2264
  }
@@ -2266,61 +2266,61 @@ function Yt(e, t, n, o, r = (s) => s()) {
2266
2266
  }
2267
2267
  return s;
2268
2268
  }
2269
- function uo(e) {
2270
- const t = Ne(xn), n = Ne(dr);
2269
+ function po(e) {
2270
+ const t = Oe(Cn), n = Oe(dr);
2271
2271
  let o = !1, r = null;
2272
- const s = R(() => {
2273
- const l = S(e.to);
2274
- return process.env.NODE_ENV !== "production" && (!o || l !== r) && (At(l) || (o ? D(`Invalid value for prop "to" in useLink()
2275
- - to:`, l, `
2272
+ const s = j(() => {
2273
+ const u = P(e.to);
2274
+ return process.env.NODE_ENV !== "production" && (!o || u !== r) && (At(u) || (o ? I(`Invalid value for prop "to" in useLink()
2275
+ - to:`, u, `
2276
2276
  - previous to:`, r, `
2277
- - props:`, e) : D(`Invalid value for prop "to" in useLink()
2278
- - to:`, l, `
2279
- - props:`, e)), r = l, o = !0), t.resolve(l);
2280
- }), a = R(() => {
2281
- const { matched: l } = s.value, { length: u } = l, p = l[u - 1], f = n.matched;
2277
+ - props:`, e) : I(`Invalid value for prop "to" in useLink()
2278
+ - to:`, u, `
2279
+ - props:`, e)), r = u, o = !0), t.resolve(u);
2280
+ }), a = j(() => {
2281
+ const { matched: u } = s.value, { length: l } = u, p = u[l - 1], f = n.matched;
2282
2282
  if (!p || !f.length)
2283
2283
  return -1;
2284
2284
  const h = f.findIndex(Se.bind(null, p));
2285
2285
  if (h > -1)
2286
2286
  return h;
2287
- const b = po(l[u - 2]);
2287
+ const b = fo(u[l - 2]);
2288
2288
  return (
2289
2289
  // we are dealing with nested routes
2290
- u > 1 && // if the parent and matched route have the same path, this link is
2290
+ l > 1 && // if the parent and matched route have the same path, this link is
2291
2291
  // referring to the empty child. Or we currently are on a different
2292
2292
  // child of the same parent
2293
- po(p) === b && // avoid comparing the child with its parent
2294
- f[f.length - 1].path !== b ? f.findIndex(Se.bind(null, l[u - 2])) : h
2293
+ fo(p) === b && // avoid comparing the child with its parent
2294
+ f[f.length - 1].path !== b ? f.findIndex(Se.bind(null, u[l - 2])) : h
2295
2295
  );
2296
- }), i = R(() => a.value > -1 && ni(n.params, s.value.params)), d = R(() => a.value > -1 && a.value === n.matched.length - 1 && ar(n.params, s.value.params));
2297
- function c(l = {}) {
2298
- if (ti(l)) {
2299
- const u = t[S(e.replace) ? "replace" : "push"](
2300
- S(e.to)
2296
+ }), i = j(() => a.value > -1 && ni(n.params, s.value.params)), d = j(() => a.value > -1 && a.value === n.matched.length - 1 && ar(n.params, s.value.params));
2297
+ function c(u = {}) {
2298
+ if (ti(u)) {
2299
+ const l = t[P(e.replace) ? "replace" : "push"](
2300
+ P(e.to)
2301
2301
  // avoid uncaught errors are they are logged anyway
2302
2302
  ).catch(at);
2303
- return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => u), u;
2303
+ return e.viewTransition && typeof document < "u" && "startViewTransition" in document && document.startViewTransition(() => l), l;
2304
2304
  }
2305
2305
  return Promise.resolve();
2306
2306
  }
2307
2307
  if (process.env.NODE_ENV !== "production" && me) {
2308
- const l = Le();
2309
- if (l) {
2310
- const u = {
2308
+ const u = Me();
2309
+ if (u) {
2310
+ const l = {
2311
2311
  route: s.value,
2312
2312
  isActive: i.value,
2313
2313
  isExactActive: d.value,
2314
2314
  error: null
2315
2315
  };
2316
- l.__vrl_devtools = l.__vrl_devtools || [], l.__vrl_devtools.push(u), Jr(() => {
2317
- u.route = s.value, u.isActive = i.value, u.isExactActive = d.value, u.error = At(S(e.to)) ? null : 'Invalid "to" value';
2316
+ u.__vrl_devtools = u.__vrl_devtools || [], u.__vrl_devtools.push(l), Jr(() => {
2317
+ l.route = s.value, l.isActive = i.value, l.isExactActive = d.value, l.error = At(P(e.to)) ? null : 'Invalid "to" value';
2318
2318
  }, { flush: "post" });
2319
2319
  }
2320
2320
  }
2321
2321
  return {
2322
2322
  route: s,
2323
- href: R(() => s.value.href),
2323
+ href: j(() => s.value.href),
2324
2324
  isActive: i,
2325
2325
  isExactActive: d,
2326
2326
  navigate: c
@@ -2347,16 +2347,16 @@ const Za = /* @__PURE__ */ ae({
2347
2347
  default: "page"
2348
2348
  }
2349
2349
  },
2350
- useLink: uo,
2350
+ useLink: po,
2351
2351
  setup(e, { slots: t }) {
2352
- const n = _n(uo(e)), { options: o } = Ne(xn), r = R(() => ({
2353
- [fo(e.activeClass, o.linkActiveClass, "router-link-active")]: n.isActive,
2352
+ const n = kn(po(e)), { options: o } = Oe(Cn), r = j(() => ({
2353
+ [ho(e.activeClass, o.linkActiveClass, "router-link-active")]: n.isActive,
2354
2354
  // [getLinkClass(
2355
2355
  // props.inactiveClass,
2356
2356
  // options.linkInactiveClass,
2357
2357
  // 'router-link-inactive'
2358
2358
  // )]: !link.isExactActive,
2359
- [fo(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: n.isExactActive
2359
+ [ho(e.exactActiveClass, o.linkExactActiveClass, "router-link-exact-active")]: n.isExactActive
2360
2360
  }));
2361
2361
  return () => {
2362
2362
  const s = t.default && Xa(t.default(n));
@@ -2392,10 +2392,10 @@ function ni(e, t) {
2392
2392
  }
2393
2393
  return !0;
2394
2394
  }
2395
- function po(e) {
2395
+ function fo(e) {
2396
2396
  return e ? e.aliasOf ? e.aliasOf.path : e.path : "";
2397
2397
  }
2398
- const fo = (e, t, n) => e ?? t ?? n, oi = /* @__PURE__ */ ae({
2398
+ const ho = (e, t, n) => e ?? t ?? n, oi = /* @__PURE__ */ ae({
2399
2399
  name: "RouterView",
2400
2400
  // #674 we manually inherit them
2401
2401
  inheritAttrs: !1,
@@ -2411,50 +2411,50 @@ const fo = (e, t, n) => e ?? t ?? n, oi = /* @__PURE__ */ ae({
2411
2411
  compatConfig: { MODE: 3 },
2412
2412
  setup(e, { attrs: t, slots: n }) {
2413
2413
  process.env.NODE_ENV !== "production" && si();
2414
- const o = Ne(pn), r = R(() => e.route || o.value), s = Ne(lo, 0), a = R(() => {
2415
- let c = S(s);
2416
- const { matched: l } = r.value;
2417
- let u;
2418
- for (; (u = l[c]) && !u.components; )
2414
+ const o = Oe(fn), r = j(() => e.route || o.value), s = Oe(uo, 0), a = j(() => {
2415
+ let c = P(s);
2416
+ const { matched: u } = r.value;
2417
+ let l;
2418
+ for (; (l = u[c]) && !l.components; )
2419
2419
  c++;
2420
2420
  return c;
2421
- }), i = R(() => r.value.matched[a.value]);
2422
- Ft(lo, R(() => a.value + 1)), Ft(Qa, i), Ft(pn, r);
2423
- const d = C();
2424
- return G(() => [d.value, i.value, e.name], ([c, l, u], [p, f, h]) => {
2425
- l && (l.instances[u] = c, f && f !== l && c && c === p && (l.leaveGuards.size || (l.leaveGuards = f.leaveGuards), l.updateGuards.size || (l.updateGuards = f.updateGuards))), c && l && // if there is no instance but to and from are the same this might be
2421
+ }), i = j(() => r.value.matched[a.value]);
2422
+ zt(uo, j(() => a.value + 1)), zt(Qa, i), zt(fn, r);
2423
+ const d = x();
2424
+ return G(() => [d.value, i.value, e.name], ([c, u, l], [p, f, h]) => {
2425
+ u && (u.instances[l] = c, f && f !== u && c && c === p && (u.leaveGuards.size || (u.leaveGuards = f.leaveGuards), u.updateGuards.size || (u.updateGuards = f.updateGuards))), c && u && // if there is no instance but to and from are the same this might be
2426
2426
  // the first visit
2427
- (!f || !Se(l, f) || !p) && (l.enterCallbacks[u] || []).forEach((b) => b(c));
2427
+ (!f || !Se(u, f) || !p) && (u.enterCallbacks[l] || []).forEach((b) => b(c));
2428
2428
  }, { flush: "post" }), () => {
2429
- const c = r.value, l = e.name, u = i.value, p = u && u.components[l];
2429
+ const c = r.value, u = e.name, l = i.value, p = l && l.components[u];
2430
2430
  if (!p)
2431
- return ho(n.default, { Component: p, route: c });
2432
- const f = u.props[l], h = f ? f === !0 ? c.params : typeof f == "function" ? f(c) : f : null, b = Ro(p, L({}, h, t, {
2431
+ return mo(n.default, { Component: p, route: c });
2432
+ const f = l.props[u], h = f ? f === !0 ? c.params : typeof f == "function" ? f(c) : f : null, b = Ro(p, M({}, h, t, {
2433
2433
  onVnodeUnmounted: (_) => {
2434
- _.component.isUnmounted && (u.instances[l] = null);
2434
+ _.component.isUnmounted && (l.instances[u] = null);
2435
2435
  },
2436
2436
  ref: d
2437
2437
  }));
2438
2438
  if (process.env.NODE_ENV !== "production" && me && b.ref) {
2439
2439
  const _ = {
2440
2440
  depth: a.value,
2441
- name: u.name,
2442
- path: u.path,
2443
- meta: u.meta
2441
+ name: l.name,
2442
+ path: l.path,
2443
+ meta: l.meta
2444
2444
  };
2445
- (Z(b.ref) ? b.ref.map((x) => x.i) : [b.ref.i]).forEach((x) => {
2446
- x.__vrv_devtools = _;
2445
+ (Z(b.ref) ? b.ref.map((N) => N.i) : [b.ref.i]).forEach((N) => {
2446
+ N.__vrv_devtools = _;
2447
2447
  });
2448
2448
  }
2449
2449
  return (
2450
2450
  // pass the vnode to the slot as a prop.
2451
2451
  // h and <component :is="..."> both accept vnodes
2452
- ho(n.default, { Component: b, route: c }) || b
2452
+ mo(n.default, { Component: b, route: c }) || b
2453
2453
  );
2454
2454
  };
2455
2455
  }
2456
2456
  });
2457
- function ho(e, t) {
2457
+ function mo(e, t) {
2458
2458
  if (!e)
2459
2459
  return null;
2460
2460
  const n = e(t);
@@ -2462,10 +2462,10 @@ function ho(e, t) {
2462
2462
  }
2463
2463
  const ri = oi;
2464
2464
  function si() {
2465
- const e = Le(), t = e.parent && e.parent.type.name, n = e.parent && e.parent.subTree && e.parent.subTree.type;
2465
+ const e = Me(), t = e.parent && e.parent.type.name, n = e.parent && e.parent.subTree && e.parent.subTree.type;
2466
2466
  if (t && (t === "KeepAlive" || t.includes("Transition")) && typeof n == "object" && n.name === "RouterView") {
2467
2467
  const o = t === "KeepAlive" ? "keep-alive" : "transition";
2468
- D(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
2468
+ I(`<router-view> can no longer be used directly inside <transition> or <keep-alive>.
2469
2469
  Use slot props instead:
2470
2470
 
2471
2471
  <router-view v-slot="{ Component }">
@@ -2476,7 +2476,7 @@ Use slot props instead:
2476
2476
  }
2477
2477
  }
2478
2478
  function tt(e, t) {
2479
- const n = L({}, e, {
2479
+ const n = M({}, e, {
2480
2480
  // remove variables that can contain vue instances
2481
2481
  matched: e.matched.map((o) => vi(o, ["instances", "children", "aliasOf"]))
2482
2482
  });
@@ -2503,7 +2503,7 @@ function ii(e, t, n) {
2503
2503
  return;
2504
2504
  t.__hasDevtools = !0;
2505
2505
  const o = ai++;
2506
- kn({
2506
+ Nn({
2507
2507
  id: "org.vuejs.router" + (o ? "." + o : ""),
2508
2508
  label: "Vue Router",
2509
2509
  packageName: "vue-router",
@@ -2512,26 +2512,26 @@ function ii(e, t, n) {
2512
2512
  componentStateTypes: ["Routing"],
2513
2513
  app: e
2514
2514
  }, (r) => {
2515
- typeof r.now != "function" && console.warn("[Vue Router]: 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."), r.on.inspectComponent((l, u) => {
2516
- l.instanceData && l.instanceData.state.push({
2515
+ typeof r.now != "function" && console.warn("[Vue Router]: 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."), r.on.inspectComponent((u, l) => {
2516
+ u.instanceData && u.instanceData.state.push({
2517
2517
  type: "Routing",
2518
2518
  key: "$route",
2519
2519
  editable: !1,
2520
2520
  value: tt(t.currentRoute.value, "Current Route")
2521
2521
  });
2522
- }), r.on.visitComponentTree(({ treeNode: l, componentInstance: u }) => {
2523
- if (u.__vrv_devtools) {
2524
- const p = u.__vrv_devtools;
2525
- l.tags.push({
2522
+ }), r.on.visitComponentTree(({ treeNode: u, componentInstance: l }) => {
2523
+ if (l.__vrv_devtools) {
2524
+ const p = l.__vrv_devtools;
2525
+ u.tags.push({
2526
2526
  label: (p.name ? `${p.name.toString()}: ` : "") + p.path,
2527
2527
  textColor: 0,
2528
2528
  tooltip: "This component is rendered by &lt;router-view&gt;",
2529
2529
  backgroundColor: pr
2530
2530
  });
2531
2531
  }
2532
- Z(u.__vrl_devtools) && (u.__devtoolsApi = r, u.__vrl_devtools.forEach((p) => {
2532
+ Z(l.__vrl_devtools) && (l.__devtoolsApi = r, l.__vrl_devtools.forEach((p) => {
2533
2533
  let f = p.route.path, h = mr, b = "", _ = 0;
2534
- p.error ? (f = p.error, h = pi, _ = fi) : p.isExactActive ? (h = hr, b = "This is exactly active") : p.isActive && (h = fr, b = "This link is active"), l.tags.push({
2534
+ p.error ? (f = p.error, h = pi, _ = fi) : p.isExactActive ? (h = hr, b = "This is exactly active") : p.isActive && (h = fr, b = "This link is active"), u.tags.push({
2535
2535
  label: f,
2536
2536
  textColor: _,
2537
2537
  tooltip: b,
@@ -2546,39 +2546,39 @@ function ii(e, t, n) {
2546
2546
  id: s,
2547
2547
  label: `Router${o ? " " + o : ""} Navigations`,
2548
2548
  color: 4237508
2549
- }), t.onError((l, u) => {
2549
+ }), t.onError((u, l) => {
2550
2550
  r.addTimelineEvent({
2551
2551
  layerId: s,
2552
2552
  event: {
2553
2553
  title: "Error during Navigation",
2554
- subtitle: u.fullPath,
2554
+ subtitle: l.fullPath,
2555
2555
  logType: "error",
2556
2556
  time: r.now(),
2557
- data: { error: l },
2558
- groupId: u.meta.__navigationId
2557
+ data: { error: u },
2558
+ groupId: l.meta.__navigationId
2559
2559
  }
2560
2560
  });
2561
2561
  });
2562
2562
  let a = 0;
2563
- t.beforeEach((l, u) => {
2563
+ t.beforeEach((u, l) => {
2564
2564
  const p = {
2565
2565
  guard: wt("beforeEach"),
2566
- from: tt(u, "Current Location during this navigation"),
2567
- to: tt(l, "Target location")
2566
+ from: tt(l, "Current Location during this navigation"),
2567
+ to: tt(u, "Target location")
2568
2568
  };
2569
- Object.defineProperty(l.meta, "__navigationId", {
2569
+ Object.defineProperty(u.meta, "__navigationId", {
2570
2570
  value: a++
2571
2571
  }), r.addTimelineEvent({
2572
2572
  layerId: s,
2573
2573
  event: {
2574
2574
  time: r.now(),
2575
2575
  title: "Start of navigation",
2576
- subtitle: l.fullPath,
2576
+ subtitle: u.fullPath,
2577
2577
  data: p,
2578
- groupId: l.meta.__navigationId
2578
+ groupId: u.meta.__navigationId
2579
2579
  }
2580
2580
  });
2581
- }), t.afterEach((l, u, p) => {
2581
+ }), t.afterEach((u, l, p) => {
2582
2582
  const f = {
2583
2583
  guard: wt("afterEach")
2584
2584
  };
@@ -2590,15 +2590,15 @@ function ii(e, t, n) {
2590
2590
  tooltip: "Navigation Failure",
2591
2591
  value: p
2592
2592
  }
2593
- }, f.status = wt("❌")) : f.status = wt("✅"), f.from = tt(u, "Current Location during this navigation"), f.to = tt(l, "Target location"), r.addTimelineEvent({
2593
+ }, f.status = wt("❌")) : f.status = wt("✅"), f.from = tt(l, "Current Location during this navigation"), f.to = tt(u, "Target location"), r.addTimelineEvent({
2594
2594
  layerId: s,
2595
2595
  event: {
2596
2596
  title: "End of navigation",
2597
- subtitle: l.fullPath,
2597
+ subtitle: u.fullPath,
2598
2598
  time: r.now(),
2599
2599
  data: f,
2600
2600
  logType: p ? "warning" : "default",
2601
- groupId: l.meta.__navigationId
2601
+ groupId: u.meta.__navigationId
2602
2602
  }
2603
2603
  });
2604
2604
  });
@@ -2612,23 +2612,23 @@ function ii(e, t, n) {
2612
2612
  function d() {
2613
2613
  if (!c)
2614
2614
  return;
2615
- const l = c;
2616
- let u = n.getRoutes().filter((p) => !p.parent || // these routes have a parent with no component which will not appear in the view
2615
+ const u = c;
2616
+ let l = n.getRoutes().filter((p) => !p.parent || // these routes have a parent with no component which will not appear in the view
2617
2617
  // therefore we still need to include them
2618
2618
  !p.parent.record.components);
2619
- u.forEach(yr), l.filter && (u = u.filter((p) => (
2619
+ l.forEach(yr), u.filter && (l = l.filter((p) => (
2620
2620
  // save matches state based on the payload
2621
- fn(p, l.filter.toLowerCase())
2622
- ))), u.forEach((p) => gr(p, t.currentRoute.value)), l.rootNodes = u.map(vr);
2621
+ hn(p, u.filter.toLowerCase())
2622
+ ))), l.forEach((p) => gr(p, t.currentRoute.value)), u.rootNodes = l.map(vr);
2623
2623
  }
2624
2624
  let c;
2625
- r.on.getInspectorTree((l) => {
2626
- c = l, l.app === e && l.inspectorId === i && d();
2627
- }), r.on.getInspectorState((l) => {
2628
- if (l.app === e && l.inspectorId === i) {
2629
- const u = n.getRoutes().find((p) => p.record.__vd_id === l.nodeId);
2630
- u && (l.state = {
2631
- options: li(u)
2625
+ r.on.getInspectorTree((u) => {
2626
+ c = u, u.app === e && u.inspectorId === i && d();
2627
+ }), r.on.getInspectorState((u) => {
2628
+ if (u.app === e && u.inspectorId === i) {
2629
+ const l = n.getRoutes().find((p) => p.record.__vd_id === u.nodeId);
2630
+ l && (u.state = {
2631
+ options: li(l)
2632
2632
  });
2633
2633
  }
2634
2634
  }), r.sendInspectorTree(i), r.sendInspectorState(i);
@@ -2728,14 +2728,14 @@ function gr(e, t) {
2728
2728
  function yr(e) {
2729
2729
  e.__vd_match = !1, e.children.forEach(yr);
2730
2730
  }
2731
- function fn(e, t) {
2731
+ function hn(e, t) {
2732
2732
  const n = String(e.re).match(mi);
2733
2733
  if (e.__vd_match = !1, !n || n.length < 3)
2734
2734
  return !1;
2735
2735
  if (new RegExp(n[1].replace(/\$$/, ""), n[2]).test(t))
2736
- return e.children.forEach((s) => fn(s, t)), e.record.path !== "/" || t === "/" ? (e.__vd_match = e.re.test(t), !0) : !1;
2736
+ return e.children.forEach((s) => hn(s, t)), e.record.path !== "/" || t === "/" ? (e.__vd_match = e.re.test(t), !0) : !1;
2737
2737
  const o = e.record.path.toLowerCase(), r = Ge(o);
2738
- return !t.startsWith("/") && (r.includes(t) || o.includes(t)) || r.startsWith(t) || o.startsWith(t) || e.record.name && String(e.record.name).includes(t) ? !0 : e.children.some((s) => fn(s, t));
2738
+ return !t.startsWith("/") && (r.includes(t) || o.includes(t)) || r.startsWith(t) || o.startsWith(t) || e.record.name && String(e.record.name).includes(t) ? !0 : e.children.some((s) => hn(s, t));
2739
2739
  }
2740
2740
  function vi(e, t) {
2741
2741
  const n = {};
@@ -2744,23 +2744,23 @@ function vi(e, t) {
2744
2744
  return n;
2745
2745
  }
2746
2746
  function gi(e) {
2747
- const t = Ma(e.routes, e), n = e.parseQuery || Ja, o = e.stringifyQuery || co, r = e.history;
2747
+ const t = La(e.routes, e), n = e.parseQuery || Ja, o = e.stringifyQuery || lo, r = e.history;
2748
2748
  if (process.env.NODE_ENV !== "production" && !r)
2749
2749
  throw new Error('Provide the "history" option when calling "createRouter()": https://router.vuejs.org/api/interfaces/RouterOptions.html#history');
2750
2750
  const s = et(), a = et(), i = et(), d = qr(_e);
2751
2751
  let c = _e;
2752
2752
  me && e.scrollBehavior && "scrollRestoration" in history && (history.scrollRestoration = "manual");
2753
- const l = Gt.bind(null, (g) => "" + g), u = Gt.bind(null, da), p = (
2753
+ const u = Jt.bind(null, (g) => "" + g), l = Jt.bind(null, da), p = (
2754
2754
  // @ts-expect-error: intentionally avoid the type check
2755
- Gt.bind(null, Ge)
2755
+ Jt.bind(null, Ge)
2756
2756
  );
2757
2757
  function f(g, k) {
2758
2758
  let E, O;
2759
- return cr(g) ? (E = t.getRecordMatcher(g), process.env.NODE_ENV !== "production" && !E && D(`Parent route "${String(g)}" not found when adding child route`, k), O = k) : O = g, t.addRoute(O, E);
2759
+ return cr(g) ? (E = t.getRecordMatcher(g), process.env.NODE_ENV !== "production" && !E && I(`Parent route "${String(g)}" not found when adding child route`, k), O = k) : O = g, t.addRoute(O, E);
2760
2760
  }
2761
2761
  function h(g) {
2762
2762
  const k = t.getRecordMatcher(g);
2763
- k ? t.removeRoute(k) : process.env.NODE_ENV !== "production" && D(`Cannot remove non-existent route "${String(g)}"`);
2763
+ k ? t.removeRoute(k) : process.env.NODE_ENV !== "production" && I(`Cannot remove non-existent route "${String(g)}"`);
2764
2764
  }
2765
2765
  function b() {
2766
2766
  return t.getRoutes().map((g) => g.record);
@@ -2768,10 +2768,10 @@ function gi(e) {
2768
2768
  function _(g) {
2769
2769
  return !!t.getRecordMatcher(g);
2770
2770
  }
2771
- function x(g, k) {
2772
- if (k = L({}, k || d.value), typeof g == "string") {
2773
- const V = Jt(n, g, k.path), z = t.resolve({ path: V.path }, k), Ce = r.createHref(V.fullPath);
2774
- return process.env.NODE_ENV !== "production" && (Ce.startsWith("//") ? D(`Location "${g}" resolved to "${Ce}". A resolved location cannot start with multiple slashes.`) : z.matched.length || D(`No match found for location with path "${g}"`)), L(V, z, {
2771
+ function N(g, k) {
2772
+ if (k = M({}, k || d.value), typeof g == "string") {
2773
+ const V = Yt(n, g, k.path), z = t.resolve({ path: V.path }, k), Ce = r.createHref(V.fullPath);
2774
+ return process.env.NODE_ENV !== "production" && (Ce.startsWith("//") ? I(`Location "${g}" resolved to "${Ce}". A resolved location cannot start with multiple slashes.`) : z.matched.length || I(`No match found for location with path "${g}"`)), M(V, z, {
2775
2775
  params: p(z.params),
2776
2776
  hash: Ge(V.hash),
2777
2777
  redirectedFrom: void 0,
@@ -2779,75 +2779,75 @@ function gi(e) {
2779
2779
  });
2780
2780
  }
2781
2781
  if (process.env.NODE_ENV !== "production" && !At(g))
2782
- return D(`router.resolve() was passed an invalid location. This will fail in production.
2783
- - Location:`, g), x({});
2782
+ return I(`router.resolve() was passed an invalid location. This will fail in production.
2783
+ - Location:`, g), N({});
2784
2784
  let E;
2785
2785
  if (g.path != null)
2786
2786
  process.env.NODE_ENV !== "production" && "params" in g && !("name" in g) && // @ts-expect-error: the type is never
2787
- Object.keys(g.params).length && D(`Path "${g.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), E = L({}, g, {
2788
- path: Jt(n, g.path, k.path).path
2787
+ Object.keys(g.params).length && I(`Path "${g.path}" was passed with params but they will be ignored. Use a named route alongside params instead.`), E = M({}, g, {
2788
+ path: Yt(n, g.path, k.path).path
2789
2789
  });
2790
2790
  else {
2791
- const V = L({}, g.params);
2791
+ const V = M({}, g.params);
2792
2792
  for (const z in V)
2793
2793
  V[z] == null && delete V[z];
2794
- E = L({}, g, {
2795
- params: u(V)
2796
- }), k.params = u(k.params);
2794
+ E = M({}, g, {
2795
+ params: l(V)
2796
+ }), k.params = l(k.params);
2797
2797
  }
2798
- const O = t.resolve(E, k), M = g.hash || "";
2799
- process.env.NODE_ENV !== "production" && M && !M.startsWith("#") && D(`A \`hash\` should always start with the character "#". Replace "${M}" with "#${M}".`), O.params = l(p(O.params));
2800
- const q = ha(o, L({}, g, {
2801
- hash: ca(M),
2798
+ const O = t.resolve(E, k), L = g.hash || "";
2799
+ process.env.NODE_ENV !== "production" && L && !L.startsWith("#") && I(`A \`hash\` should always start with the character "#". Replace "${L}" with "#${L}".`), O.params = u(p(O.params));
2800
+ const q = ha(o, M({}, g, {
2801
+ hash: ca(L),
2802
2802
  path: O.path
2803
2803
  })), T = r.createHref(q);
2804
- return process.env.NODE_ENV !== "production" && (T.startsWith("//") ? D(`Location "${g}" resolved to "${T}". A resolved location cannot start with multiple slashes.`) : O.matched.length || D(`No match found for location with path "${g.path != null ? g.path : g}"`)), L({
2804
+ return process.env.NODE_ENV !== "production" && (T.startsWith("//") ? I(`Location "${g}" resolved to "${T}". A resolved location cannot start with multiple slashes.`) : O.matched.length || I(`No match found for location with path "${g.path != null ? g.path : g}"`)), M({
2805
2805
  fullPath: q,
2806
2806
  // keep the hash encoded so fullPath is effectively path + encodedQuery +
2807
2807
  // hash
2808
- hash: M,
2808
+ hash: L,
2809
2809
  query: (
2810
2810
  // if the user is using a custom query lib like qs, we might have
2811
2811
  // nested objects, so we keep the query as is, meaning it can contain
2812
2812
  // numbers at `$route.query`, but at the point, the user will have to
2813
2813
  // use their own type anyway.
2814
2814
  // https://github.com/vuejs/router/issues/328#issuecomment-649481567
2815
- o === co ? Ya(g.query) : g.query || {}
2815
+ o === lo ? Ya(g.query) : g.query || {}
2816
2816
  )
2817
2817
  }, O, {
2818
2818
  redirectedFrom: void 0,
2819
2819
  href: T
2820
2820
  });
2821
2821
  }
2822
- function N(g) {
2823
- return typeof g == "string" ? Jt(n, g, d.value.path) : L({}, g);
2822
+ function $(g) {
2823
+ return typeof g == "string" ? Yt(n, g, d.value.path) : M({}, g);
2824
2824
  }
2825
- function $(g, k) {
2825
+ function D(g, k) {
2826
2826
  if (c !== g)
2827
2827
  return Je(8, {
2828
2828
  from: k,
2829
2829
  to: g
2830
2830
  });
2831
2831
  }
2832
- function j(g) {
2832
+ function W(g) {
2833
2833
  return m(g);
2834
2834
  }
2835
- function H(g) {
2836
- return j(L(N(g), { replace: !0 }));
2835
+ function R(g) {
2836
+ return W(M($(g), { replace: !0 }));
2837
2837
  }
2838
2838
  function Y(g) {
2839
2839
  const k = g.matched[g.matched.length - 1];
2840
2840
  if (k && k.redirect) {
2841
2841
  const { redirect: E } = k;
2842
2842
  let O = typeof E == "function" ? E(g) : E;
2843
- if (typeof O == "string" && (O = O.includes("?") || O.includes("#") ? O = N(O) : (
2843
+ if (typeof O == "string" && (O = O.includes("?") || O.includes("#") ? O = $(O) : (
2844
2844
  // force empty params
2845
2845
  { path: O }
2846
2846
  ), O.params = {}), process.env.NODE_ENV !== "production" && O.path == null && !("name" in O))
2847
- throw D(`Invalid redirect found:
2847
+ throw I(`Invalid redirect found:
2848
2848
  ${JSON.stringify(O, null, 2)}
2849
2849
  when navigating to "${g.fullPath}". A redirect must contain a name or path. This will break in production.`), new Error("Invalid redirect");
2850
- return L({
2850
+ return M({
2851
2851
  query: g.query,
2852
2852
  hash: g.hash,
2853
2853
  // avoid transferring params if the redirect has a path
@@ -2856,11 +2856,11 @@ ${JSON.stringify(O, null, 2)}
2856
2856
  }
2857
2857
  }
2858
2858
  function m(g, k) {
2859
- const E = c = x(g), O = d.value, M = g.state, q = g.force, T = g.replace === !0, V = Y(E);
2859
+ const E = c = N(g), O = d.value, L = g.state, q = g.force, T = g.replace === !0, V = Y(E);
2860
2860
  if (V)
2861
2861
  return m(
2862
- L(N(V), {
2863
- state: typeof V == "object" ? L({}, M, V.state) : M,
2862
+ M($(V), {
2863
+ state: typeof V == "object" ? M({}, L, V.state) : L,
2864
2864
  force: q,
2865
2865
  replace: T
2866
2866
  }),
@@ -2870,7 +2870,7 @@ ${JSON.stringify(O, null, 2)}
2870
2870
  const z = E;
2871
2871
  z.redirectedFrom = k;
2872
2872
  let Ce;
2873
- return !q && Kn(o, O, E) && (Ce = Je(16, { to: z, from: O }), Hn(
2873
+ return !q && Xn(o, O, E) && (Ce = Je(16, { to: z, from: O }), Fn(
2874
2874
  O,
2875
2875
  O,
2876
2876
  // this is a push, the only way for it to be triggered from a
@@ -2885,7 +2885,7 @@ ${JSON.stringify(O, null, 2)}
2885
2885
  K,
2886
2886
  2
2887
2887
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2888
- ) ? K : Wt(K)
2888
+ ) ? K : Ut(K)
2889
2889
  ) : (
2890
2890
  // reject any unknown error
2891
2891
  F(K, z, O)
@@ -2897,31 +2897,31 @@ ${JSON.stringify(O, null, 2)}
2897
2897
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
2898
2898
  ))
2899
2899
  return process.env.NODE_ENV !== "production" && // we are redirecting to the same location we were already at
2900
- Kn(o, x(K.to), z) && // and we have done it a couple of times
2900
+ Xn(o, N(K.to), z) && // and we have done it a couple of times
2901
2901
  k && // @ts-expect-error: added only in dev
2902
2902
  (k._count = k._count ? (
2903
2903
  // @ts-expect-error
2904
2904
  k._count + 1
2905
- ) : 1) > 30 ? (D(`Detected a possibly infinite redirection in a navigation guard when going from "${O.fullPath}" to "${z.fullPath}". Aborting to avoid a Stack Overflow.
2905
+ ) : 1) > 30 ? (I(`Detected a possibly infinite redirection in a navigation guard when going from "${O.fullPath}" to "${z.fullPath}". Aborting to avoid a Stack Overflow.
2906
2906
  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"))) : m(
2907
2907
  // keep options
2908
- L({
2908
+ M({
2909
2909
  // preserve an existing replacement but allow the redirect to override it
2910
2910
  replace: T
2911
- }, N(K.to), {
2912
- state: typeof K.to == "object" ? L({}, M, K.to.state) : M,
2911
+ }, $(K.to), {
2912
+ state: typeof K.to == "object" ? M({}, L, K.to.state) : L,
2913
2913
  force: q
2914
2914
  }),
2915
2915
  // preserve the original redirectedFrom if any
2916
2916
  k || z
2917
2917
  );
2918
2918
  } else
2919
- K = I(z, O, !0, T, M);
2919
+ K = C(z, O, !0, T, L);
2920
2920
  return y(z, O, K), K;
2921
2921
  });
2922
2922
  }
2923
- function P(g, k) {
2924
- const E = $(g, k);
2923
+ function S(g, k) {
2924
+ const E = D(g, k);
2925
2925
  return E ? Promise.reject(E) : Promise.resolve();
2926
2926
  }
2927
2927
  function w(g) {
@@ -2930,21 +2930,21 @@ ${JSON.stringify(O, null, 2)}
2930
2930
  }
2931
2931
  function v(g, k) {
2932
2932
  let E;
2933
- const [O, M, q] = yi(g, k);
2934
- E = Yt(O.reverse(), "beforeRouteLeave", g, k);
2933
+ const [O, L, q] = yi(g, k);
2934
+ E = Qt(O.reverse(), "beforeRouteLeave", g, k);
2935
2935
  for (const V of O)
2936
2936
  V.leaveGuards.forEach((z) => {
2937
2937
  E.push(Ee(z, g, k));
2938
2938
  });
2939
- const T = P.bind(null, g, k);
2939
+ const T = S.bind(null, g, k);
2940
2940
  return E.push(T), Be(E).then(() => {
2941
2941
  E = [];
2942
2942
  for (const V of s.list())
2943
2943
  E.push(Ee(V, g, k));
2944
2944
  return E.push(T), Be(E);
2945
2945
  }).then(() => {
2946
- E = Yt(M, "beforeRouteUpdate", g, k);
2947
- for (const V of M)
2946
+ E = Qt(L, "beforeRouteUpdate", g, k);
2947
+ for (const V of L)
2948
2948
  V.updateGuards.forEach((z) => {
2949
2949
  E.push(Ee(z, g, k));
2950
2950
  });
@@ -2959,7 +2959,7 @@ ${JSON.stringify(O, null, 2)}
2959
2959
  else
2960
2960
  E.push(Ee(V.beforeEnter, g, k));
2961
2961
  return E.push(T), Be(E);
2962
- }).then(() => (g.matched.forEach((V) => V.enterCallbacks = {}), E = Yt(q, "beforeRouteEnter", g, k, w), E.push(T), Be(E))).then(() => {
2962
+ }).then(() => (g.matched.forEach((V) => V.enterCallbacks = {}), E = Qt(q, "beforeRouteEnter", g, k, w), E.push(T), Be(E))).then(() => {
2963
2963
  E = [];
2964
2964
  for (const V of a.list())
2965
2965
  E.push(Ee(V, g, k));
@@ -2973,26 +2973,26 @@ ${JSON.stringify(O, null, 2)}
2973
2973
  function y(g, k, E) {
2974
2974
  i.list().forEach((O) => w(() => O(g, k, E)));
2975
2975
  }
2976
- function I(g, k, E, O, M) {
2977
- const q = $(g, k);
2976
+ function C(g, k, E, O, L) {
2977
+ const q = D(g, k);
2978
2978
  if (q)
2979
2979
  return q;
2980
2980
  const T = k === _e, V = me ? history.state : {};
2981
- E && (O || T ? r.replace(g.fullPath, L({
2981
+ E && (O || T ? r.replace(g.fullPath, M({
2982
2982
  scroll: T && V && V.scroll
2983
- }, M)) : r.push(g.fullPath, M)), d.value = g, Hn(g, k, E, T), Wt();
2983
+ }, L)) : r.push(g.fullPath, L)), d.value = g, Fn(g, k, E, T), Ut();
2984
2984
  }
2985
- let U;
2985
+ let H;
2986
2986
  function ie() {
2987
- U || (U = r.listen((g, k, E) => {
2988
- const O = x(g), M = Y(O);
2989
- if (M) {
2990
- m(L(M, { replace: !0, force: !0 }), O).catch(at);
2987
+ H || (H = r.listen((g, k, E) => {
2988
+ const O = N(g), L = Y(O);
2989
+ if (L) {
2990
+ m(M(L, { replace: !0, force: !0 }), O).catch(at);
2991
2991
  return;
2992
2992
  }
2993
2993
  c = O;
2994
2994
  const q = d.value;
2995
- me && Ea(Zn(q.fullPath, E.delta), Lt()), v(O, q).catch((T) => he(
2995
+ me && Ea(eo(q.fullPath, E.delta), Mt()), v(O, q).catch((T) => he(
2996
2996
  T,
2997
2997
  12
2998
2998
  /* ErrorTypes.NAVIGATION_CANCELLED */
@@ -3001,7 +3001,7 @@ ${JSON.stringify(O, null, 2)}
3001
3001
  2
3002
3002
  /* ErrorTypes.NAVIGATION_GUARD_REDIRECT */
3003
3003
  ) ? (m(
3004
- L(N(T.to), {
3004
+ M($(T.to), {
3005
3005
  force: !0
3006
3006
  }),
3007
3007
  O
@@ -3013,7 +3013,7 @@ ${JSON.stringify(O, null, 2)}
3013
3013
  /* ErrorTypes.NAVIGATION_DUPLICATED */
3014
3014
  ) && !E.delta && E.type === dt.pop && r.go(-1, !1);
3015
3015
  }).catch(at), Promise.reject()) : (E.delta && r.go(-E.delta, !1), F(T, O, q))).then((T) => {
3016
- T = T || I(
3016
+ T = T || C(
3017
3017
  // after navigation, all matched components are resolved
3018
3018
  O,
3019
3019
  q,
@@ -3032,29 +3032,29 @@ ${JSON.stringify(O, null, 2)}
3032
3032
  }).catch(at);
3033
3033
  }));
3034
3034
  }
3035
- let pe = et(), Me = et(), ee;
3035
+ let pe = et(), Le = et(), ee;
3036
3036
  function F(g, k, E) {
3037
- Wt(g);
3038
- const O = Me.list();
3039
- return O.length ? O.forEach((M) => M(g, k, E)) : (process.env.NODE_ENV !== "production" && D("uncaught error during route navigation:"), console.error(g)), Promise.reject(g);
3037
+ Ut(g);
3038
+ const O = Le.list();
3039
+ return O.length ? O.forEach((L) => L(g, k, E)) : (process.env.NODE_ENV !== "production" && I("uncaught error during route navigation:"), console.error(g)), Promise.reject(g);
3040
3040
  }
3041
3041
  function X() {
3042
3042
  return ee && d.value !== _e ? Promise.resolve() : new Promise((g, k) => {
3043
3043
  pe.add([g, k]);
3044
3044
  });
3045
3045
  }
3046
- function Wt(g) {
3046
+ function Ut(g) {
3047
3047
  return ee || (ee = !g, ie(), pe.list().forEach(([k, E]) => g ? E(g) : k()), pe.reset()), g;
3048
3048
  }
3049
- function Hn(g, k, E, O) {
3050
- const { scrollBehavior: M } = e;
3051
- if (!me || !M)
3049
+ function Fn(g, k, E, O) {
3050
+ const { scrollBehavior: L } = e;
3051
+ if (!me || !L)
3052
3052
  return Promise.resolve();
3053
- const q = !E && ka(Zn(g.fullPath, 0)) || (O || !E) && history.state && history.state.scroll || null;
3054
- return xe().then(() => M(g, k, q)).then((T) => T && _a(T)).catch((T) => F(T, g, k));
3053
+ const q = !E && ka(eo(g.fullPath, 0)) || (O || !E) && history.state && history.state.scroll || null;
3054
+ return xe().then(() => L(g, k, q)).then((T) => T && _a(T)).catch((T) => F(T, g, k));
3055
3055
  }
3056
- const Ut = (g) => r.go(g);
3057
- let Ht;
3056
+ const Ht = (g) => r.go(g);
3057
+ let Ft;
3058
3058
  const gt = /* @__PURE__ */ new Set(), Fr = {
3059
3059
  currentRoute: d,
3060
3060
  listening: !0,
@@ -3063,38 +3063,38 @@ ${JSON.stringify(O, null, 2)}
3063
3063
  clearRoutes: t.clearRoutes,
3064
3064
  hasRoute: _,
3065
3065
  getRoutes: b,
3066
- resolve: x,
3066
+ resolve: N,
3067
3067
  options: e,
3068
- push: j,
3069
- replace: H,
3070
- go: Ut,
3071
- back: () => Ut(-1),
3072
- forward: () => Ut(1),
3068
+ push: W,
3069
+ replace: R,
3070
+ go: Ht,
3071
+ back: () => Ht(-1),
3072
+ forward: () => Ht(1),
3073
3073
  beforeEach: s.add,
3074
3074
  beforeResolve: a.add,
3075
3075
  afterEach: i.add,
3076
- onError: Me.add,
3076
+ onError: Le.add,
3077
3077
  isReady: X,
3078
3078
  install(g) {
3079
3079
  const k = this;
3080
3080
  g.component("RouterLink", ei), g.component("RouterView", ri), g.config.globalProperties.$router = k, Object.defineProperty(g.config.globalProperties, "$route", {
3081
3081
  enumerable: !0,
3082
- get: () => S(d)
3082
+ get: () => P(d)
3083
3083
  }), me && // used for the initial navigation client side to avoid pushing
3084
3084
  // multiple times when the router is used in multiple apps
3085
- !Ht && d.value === _e && (Ht = !0, j(r.location).catch((M) => {
3086
- process.env.NODE_ENV !== "production" && D("Unexpected error when starting the router:", M);
3085
+ !Ft && d.value === _e && (Ft = !0, W(r.location).catch((L) => {
3086
+ process.env.NODE_ENV !== "production" && I("Unexpected error when starting the router:", L);
3087
3087
  }));
3088
3088
  const E = {};
3089
- for (const M in _e)
3090
- Object.defineProperty(E, M, {
3091
- get: () => d.value[M],
3089
+ for (const L in _e)
3090
+ Object.defineProperty(E, L, {
3091
+ get: () => d.value[L],
3092
3092
  enumerable: !0
3093
3093
  });
3094
- g.provide(xn, k), g.provide(dr, Gr(E)), g.provide(pn, d);
3094
+ g.provide(Cn, k), g.provide(dr, Gr(E)), g.provide(fn, d);
3095
3095
  const O = g.unmount;
3096
3096
  gt.add(g), g.unmount = function() {
3097
- gt.delete(g), gt.size < 1 && (c = _e, U && U(), U = null, d.value = _e, Ht = !1, ee = !1), O();
3097
+ gt.delete(g), gt.size < 1 && (c = _e, H && H(), H = null, d.value = _e, Ft = !1, ee = !1), O();
3098
3098
  }, process.env.NODE_ENV !== "production" && me && ii(g, k, t);
3099
3099
  }
3100
3100
  };
@@ -3133,15 +3133,15 @@ function br(e, t) {
3133
3133
  function wi(e, t) {
3134
3134
  return Math.floor(Math.random() * (t - e + 1) + e);
3135
3135
  }
3136
- function Sn() {
3136
+ function Pn() {
3137
3137
  return Math.random().toString(36).substring(2);
3138
3138
  }
3139
- var mo = 0, Qt = 0;
3140
- function Mt() {
3139
+ var vo = 0, Kt = 0;
3140
+ function Lt() {
3141
3141
  var e = (/* @__PURE__ */ new Date()).getTime();
3142
- return e === mo ? (Qt++, e * 1e3 + Qt) : (mo = e, Qt = 0, e * 1e3);
3142
+ return e === vo ? (Kt++, e * 1e3 + Kt) : (vo = e, Kt = 0, e * 1e3);
3143
3143
  }
3144
- var _i = Mt, Ei = "native";
3144
+ var _i = Lt, Ei = "native";
3145
3145
  function ki(e) {
3146
3146
  var t = {
3147
3147
  messagesCallback: null,
@@ -3156,14 +3156,14 @@ function ki(e) {
3156
3156
  function $i(e) {
3157
3157
  e.bc.close(), e.subFns = [];
3158
3158
  }
3159
- function Oi(e, t) {
3159
+ function Ni(e, t) {
3160
3160
  try {
3161
3161
  return e.bc.postMessage(t, !1), Ye;
3162
3162
  } catch (n) {
3163
3163
  return Promise.reject(n);
3164
3164
  }
3165
3165
  }
3166
- function Ni(e, t) {
3166
+ function Oi(e, t) {
3167
3167
  e.messagesCallback = t;
3168
3168
  }
3169
3169
  function xi() {
@@ -3182,8 +3182,8 @@ function Si() {
3182
3182
  var Ci = {
3183
3183
  create: ki,
3184
3184
  close: $i,
3185
- onMessage: Ni,
3186
- postMessage: Oi,
3185
+ onMessage: Oi,
3186
+ postMessage: Ni,
3187
3187
  canBeUsed: xi,
3188
3188
  type: Ei,
3189
3189
  averageResponseTime: Si,
@@ -3221,11 +3221,11 @@ function Pi(e) {
3221
3221
  function _r() {
3222
3222
  return (/* @__PURE__ */ new Date()).getTime();
3223
3223
  }
3224
- function Cn() {
3224
+ function In() {
3225
3225
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = JSON.parse(JSON.stringify(e));
3226
3226
  return typeof t.webWorkerSupport > "u" && (t.webWorkerSupport = !0), t.idb || (t.idb = {}), t.idb.ttl || (t.idb.ttl = 1e3 * 45), t.idb.fallbackInterval || (t.idb.fallbackInterval = 150), e.idb && typeof e.idb.onclose == "function" && (t.idb.onclose = e.idb.onclose), t.localstorage || (t.localstorage = {}), t.localstorage.removeTimeout || (t.localstorage.removeTimeout = 1e3 * 60), e.methods && (t.methods = e.methods), t.node || (t.node = {}), t.node.ttl || (t.node.ttl = 1e3 * 60 * 2), t.node.maxParallelWrites || (t.node.maxParallelWrites = 2048), typeof t.node.useFastPath > "u" && (t.node.useFastPath = !0), t;
3227
3227
  }
3228
- var Ii = Mt, Di = "pubkey.broadcast-channel-0-", ye = "messages", Bt = {
3228
+ var Ii = Lt, Di = "pubkey.broadcast-channel-0-", ye = "messages", Bt = {
3229
3229
  durability: "relaxed"
3230
3230
  }, Vi = "idb";
3231
3231
  function Er() {
@@ -3237,7 +3237,7 @@ function Er() {
3237
3237
  }
3238
3238
  return !1;
3239
3239
  }
3240
- function Pn(e) {
3240
+ function Dn(e) {
3241
3241
  e.commit && e.commit();
3242
3242
  }
3243
3243
  function Ai(e) {
@@ -3269,7 +3269,7 @@ function Ti(e, t, n) {
3269
3269
  return i(c);
3270
3270
  };
3271
3271
  var d = s.objectStore(ye);
3272
- d.add(r), Pn(s);
3272
+ d.add(r), Dn(s);
3273
3273
  });
3274
3274
  }
3275
3275
  function ji(e, t) {
@@ -3277,10 +3277,10 @@ function ji(e, t) {
3277
3277
  if (o.getAll) {
3278
3278
  var a = o.getAll(s);
3279
3279
  return new Promise(function(d, c) {
3280
- a.onerror = function(l) {
3281
- return c(l);
3282
- }, a.onsuccess = function(l) {
3283
- d(l.target.result);
3280
+ a.onerror = function(u) {
3281
+ return c(u);
3282
+ }, a.onsuccess = function(u) {
3283
+ d(u.target.result);
3284
3284
  };
3285
3285
  });
3286
3286
  }
@@ -3292,12 +3292,12 @@ function ji(e, t) {
3292
3292
  }
3293
3293
  }
3294
3294
  return new Promise(function(d, c) {
3295
- var l = i();
3296
- l.onerror = function(u) {
3297
- return c(u);
3298
- }, l.onsuccess = function(u) {
3299
- var p = u.target.result;
3300
- p ? p.value.id < t + 1 ? p.continue(t + 1) : (r.push(p.value), p.continue()) : (Pn(n), d(r));
3295
+ var u = i();
3296
+ u.onerror = function(l) {
3297
+ return c(l);
3298
+ }, u.onsuccess = function(l) {
3299
+ var p = l.target.result;
3300
+ p ? p.value.id < t + 1 ? p.continue(t + 1) : (r.push(p.value), p.continue()) : (Dn(n), d(r));
3301
3301
  };
3302
3302
  });
3303
3303
  }
@@ -3314,34 +3314,34 @@ function Ri(e, t) {
3314
3314
  });
3315
3315
  }));
3316
3316
  }
3317
- function Li(e, t) {
3317
+ function Mi(e, t) {
3318
3318
  var n = (/* @__PURE__ */ new Date()).getTime() - t, o = e.transaction(ye, "readonly", Bt), r = o.objectStore(ye), s = [];
3319
3319
  return new Promise(function(a) {
3320
3320
  r.openCursor().onsuccess = function(i) {
3321
3321
  var d = i.target.result;
3322
3322
  if (d) {
3323
3323
  var c = d.value;
3324
- c.time < n ? (s.push(c), d.continue()) : (Pn(o), a(s));
3324
+ c.time < n ? (s.push(c), d.continue()) : (Dn(o), a(s));
3325
3325
  } else
3326
3326
  a(s);
3327
3327
  };
3328
3328
  });
3329
3329
  }
3330
- function Mi(e) {
3331
- return Li(e.db, e.options.idb.ttl).then(function(t) {
3330
+ function Li(e) {
3331
+ return Mi(e.db, e.options.idb.ttl).then(function(t) {
3332
3332
  return Ri(e, t.map(function(n) {
3333
3333
  return n.id;
3334
3334
  }));
3335
3335
  });
3336
3336
  }
3337
3337
  function Bi(e, t) {
3338
- return t = Cn(t), Ai(e).then(function(n) {
3338
+ return t = In(t), Ai(e).then(function(n) {
3339
3339
  var o = {
3340
3340
  closed: !1,
3341
3341
  lastCursorId: 0,
3342
3342
  channelName: e,
3343
3343
  options: t,
3344
- uuid: Sn(),
3344
+ uuid: Pn(),
3345
3345
  /**
3346
3346
  * emittedMessagesIds
3347
3347
  * contains all messages that have been emitted before
@@ -3392,7 +3392,7 @@ function Hi(e, t) {
3392
3392
  return e.writeBlockPromise = e.writeBlockPromise.then(function() {
3393
3393
  return Ti(e.db, e.uuid, t);
3394
3394
  }).then(function() {
3395
- wi(0, 10) === 0 && Mi(e);
3395
+ wi(0, 10) === 0 && Li(e);
3396
3396
  }), e.writeBlockPromise;
3397
3397
  }
3398
3398
  function Fi(e, t, n) {
@@ -3413,8 +3413,8 @@ var Gi = {
3413
3413
  type: Vi,
3414
3414
  averageResponseTime: qi,
3415
3415
  microSeconds: Ii
3416
- }, Ji = Mt, Yi = "pubkey.broadcastChannel-", Qi = "localstorage";
3417
- function Or() {
3416
+ }, Ji = Lt, Yi = "pubkey.broadcastChannel-", Qi = "localstorage";
3417
+ function Nr() {
3418
3418
  var e;
3419
3419
  if (typeof window > "u") return null;
3420
3420
  try {
@@ -3423,26 +3423,26 @@ function Or() {
3423
3423
  }
3424
3424
  return e;
3425
3425
  }
3426
- function Nr(e) {
3426
+ function Or(e) {
3427
3427
  return Yi + e;
3428
3428
  }
3429
3429
  function Ki(e, t) {
3430
3430
  return new Promise(function(n) {
3431
3431
  br().then(function() {
3432
- var o = Nr(e.channelName), r = {
3433
- token: Sn(),
3432
+ var o = Or(e.channelName), r = {
3433
+ token: Pn(),
3434
3434
  time: (/* @__PURE__ */ new Date()).getTime(),
3435
3435
  data: t,
3436
3436
  uuid: e.uuid
3437
3437
  }, s = JSON.stringify(r);
3438
- Or().setItem(o, s);
3438
+ Nr().setItem(o, s);
3439
3439
  var a = document.createEvent("Event");
3440
3440
  a.initEvent("storage", !0, !0), a.key = o, a.newValue = s, window.dispatchEvent(a), n();
3441
3441
  });
3442
3442
  });
3443
3443
  }
3444
3444
  function Xi(e, t) {
3445
- var n = Nr(e), o = function(r) {
3445
+ var n = Or(e), o = function(r) {
3446
3446
  r.key === n && t(JSON.parse(r.newValue));
3447
3447
  };
3448
3448
  return window.addEventListener("storage", o), o;
@@ -3451,9 +3451,9 @@ function Zi(e) {
3451
3451
  window.removeEventListener("storage", e);
3452
3452
  }
3453
3453
  function ec(e, t) {
3454
- if (t = Cn(t), !xr())
3454
+ if (t = In(t), !xr())
3455
3455
  throw new Error("BroadcastChannel: localstorage cannot be used");
3456
- var n = Sn(), o = new wr(t.localstorage.removeTimeout), r = {
3456
+ var n = Pn(), o = new wr(t.localstorage.removeTimeout), r = {
3457
3457
  channelName: e,
3458
3458
  uuid: n,
3459
3459
  eMIs: o
@@ -3470,7 +3470,7 @@ function nc(e, t, n) {
3470
3470
  e.messagesCallbackTime = n, e.messagesCallback = t;
3471
3471
  }
3472
3472
  function xr() {
3473
- var e = Or();
3473
+ var e = Nr();
3474
3474
  if (!e) return !1;
3475
3475
  try {
3476
3476
  var t = "__broadcastchannel_check";
@@ -3493,21 +3493,21 @@ var rc = {
3493
3493
  type: Qi,
3494
3494
  averageResponseTime: oc,
3495
3495
  microSeconds: Ji
3496
- }, sc = Mt, ac = "simulate", In = /* @__PURE__ */ new Set();
3496
+ }, sc = Lt, ac = "simulate", Vn = /* @__PURE__ */ new Set();
3497
3497
  function ic(e) {
3498
3498
  var t = {
3499
3499
  name: e,
3500
3500
  messagesCallback: null
3501
3501
  };
3502
- return In.add(t), t;
3502
+ return Vn.add(t), t;
3503
3503
  }
3504
3504
  function cc(e) {
3505
- In.delete(e);
3505
+ Vn.delete(e);
3506
3506
  }
3507
3507
  function lc(e, t) {
3508
3508
  return new Promise(function(n) {
3509
3509
  return setTimeout(function() {
3510
- var o = Array.from(In);
3510
+ var o = Array.from(Vn);
3511
3511
  o.filter(function(r) {
3512
3512
  return r.name === e.name;
3513
3513
  }).filter(function(r) {
@@ -3538,14 +3538,14 @@ var fc = {
3538
3538
  type: ac,
3539
3539
  averageResponseTime: pc,
3540
3540
  microSeconds: sc
3541
- }, vo = [
3541
+ }, go = [
3542
3542
  Ci,
3543
3543
  // fastest
3544
3544
  Gi,
3545
3545
  rc
3546
3546
  ];
3547
3547
  function hc(e) {
3548
- var t = [].concat(e.methods, vo).filter(Boolean);
3548
+ var t = [].concat(e.methods, go).filter(Boolean);
3549
3549
  if (e.type) {
3550
3550
  if (e.type === "simulate")
3551
3551
  return fc;
@@ -3562,18 +3562,18 @@ function hc(e) {
3562
3562
  return r.canBeUsed();
3563
3563
  });
3564
3564
  if (o) return o;
3565
- throw new Error("No usable method found in " + JSON.stringify(vo.map(function(r) {
3565
+ throw new Error("No usable method found in " + JSON.stringify(go.map(function(r) {
3566
3566
  return r.type;
3567
3567
  })));
3568
3568
  }
3569
- var Sr = /* @__PURE__ */ new Set(), mc = 0, Dn = function(e, t) {
3570
- this.id = mc++, Sr.add(this), this.name = e, this.options = Cn(t), this.method = hc(this.options), this._iL = !1, this._onML = null, this._addEL = {
3569
+ var Sr = /* @__PURE__ */ new Set(), mc = 0, An = function(e, t) {
3570
+ this.id = mc++, Sr.add(this), this.name = e, this.options = In(t), this.method = hc(this.options), this._iL = !1, this._onML = null, this._addEL = {
3571
3571
  message: [],
3572
3572
  internal: []
3573
3573
  }, this._uMP = /* @__PURE__ */ new Set(), this._befC = [], this._prepP = null, vc(this);
3574
3574
  };
3575
- Dn._pubkey = !0;
3576
- Dn.prototype = {
3575
+ An._pubkey = !0;
3576
+ An.prototype = {
3577
3577
  postMessage: function(e) {
3578
3578
  if (this.closed)
3579
3579
  throw new Error("BroadcastChannel.postMessage(): Cannot post message after channel has closed " + /**
@@ -3582,30 +3582,30 @@ Dn.prototype = {
3582
3582
  * gives some clue about where in your application this happens.
3583
3583
  */
3584
3584
  JSON.stringify(e));
3585
- return go(this, "message", e);
3585
+ return yo(this, "message", e);
3586
3586
  },
3587
3587
  postInternal: function(e) {
3588
- return go(this, "internal", e);
3588
+ return yo(this, "internal", e);
3589
3589
  },
3590
3590
  set onmessage(e) {
3591
3591
  var t = this.method.microSeconds(), n = {
3592
3592
  time: t,
3593
3593
  fn: e
3594
3594
  };
3595
- bo(this, "message", this._onML), e && typeof e == "function" ? (this._onML = n, yo(this, "message", n)) : this._onML = null;
3595
+ wo(this, "message", this._onML), e && typeof e == "function" ? (this._onML = n, bo(this, "message", n)) : this._onML = null;
3596
3596
  },
3597
3597
  addEventListener: function(e, t) {
3598
3598
  var n = this.method.microSeconds(), o = {
3599
3599
  time: n,
3600
3600
  fn: t
3601
3601
  };
3602
- yo(this, e, o);
3602
+ bo(this, e, o);
3603
3603
  },
3604
3604
  removeEventListener: function(e, t) {
3605
3605
  var n = this._addEL[e].find(function(o) {
3606
3606
  return o.fn === t;
3607
3607
  });
3608
- bo(this, e, n);
3608
+ wo(this, e, n);
3609
3609
  },
3610
3610
  close: function() {
3611
3611
  var e = this;
@@ -3630,7 +3630,7 @@ Dn.prototype = {
3630
3630
  return this.closed;
3631
3631
  }
3632
3632
  };
3633
- function go(e, t, n) {
3633
+ function yo(e, t, n) {
3634
3634
  var o = e.method.microSeconds(), r = {
3635
3635
  time: o,
3636
3636
  type: t,
@@ -3652,10 +3652,10 @@ function vc(e) {
3652
3652
  function Cr(e) {
3653
3653
  return e._addEL.message.length > 0 || e._addEL.internal.length > 0;
3654
3654
  }
3655
- function yo(e, t, n) {
3655
+ function bo(e, t, n) {
3656
3656
  e._addEL[t].push(n), gc(e);
3657
3657
  }
3658
- function bo(e, t, n) {
3658
+ function wo(e, t, n) {
3659
3659
  e._addEL[t] = e._addEL[t].filter(function(o) {
3660
3660
  return o !== n;
3661
3661
  }), yc(e);
@@ -3680,7 +3680,7 @@ function yc(e) {
3680
3680
  e.method.onMessage(e._state, null, t);
3681
3681
  }
3682
3682
  }
3683
- let Kt = class extends Error {
3683
+ let Xt = class extends Error {
3684
3684
  /**
3685
3685
  * @param {string} message
3686
3686
  * @param {string[]} keys
@@ -3689,7 +3689,7 @@ let Kt = class extends Error {
3689
3689
  super(t), this.name = "DevalueError", this.path = n.join("");
3690
3690
  }
3691
3691
  };
3692
- function wo(e) {
3692
+ function _o(e) {
3693
3693
  return Object(e) !== e;
3694
3694
  }
3695
3695
  const bc = /* @__PURE__ */ Object.getOwnPropertyNames(
@@ -3738,8 +3738,8 @@ function Fe(e) {
3738
3738
  }
3739
3739
  return `"${n === 0 ? e : t + e.slice(n)}"`;
3740
3740
  }
3741
- const Vn = -1, Pr = -2, Ir = -3, Dr = -4, Vr = -5, An = -6;
3742
- function _o(e, t) {
3741
+ const Tn = -1, Pr = -2, Ir = -3, Dr = -4, Vr = -5, jn = -6;
3742
+ function Eo(e, t) {
3743
3743
  return kc(JSON.parse(e));
3744
3744
  }
3745
3745
  function kc(e, t) {
@@ -3751,11 +3751,11 @@ function kc(e, t) {
3751
3751
  e
3752
3752
  ), o = Array(n.length);
3753
3753
  function r(s, a = !1) {
3754
- if (s === Vn) return;
3754
+ if (s === Tn) return;
3755
3755
  if (s === Ir) return NaN;
3756
3756
  if (s === Dr) return 1 / 0;
3757
3757
  if (s === Vr) return -1 / 0;
3758
- if (s === An) return -0;
3758
+ if (s === jn) return -0;
3759
3759
  if (a) throw new Error("Invalid input");
3760
3760
  if (s in o) return o[s];
3761
3761
  const i = n[s];
@@ -3775,10 +3775,10 @@ function kc(e, t) {
3775
3775
  c.add(r(i[p]));
3776
3776
  break;
3777
3777
  case "Map":
3778
- const l = /* @__PURE__ */ new Map();
3779
- o[s] = l;
3778
+ const u = /* @__PURE__ */ new Map();
3779
+ o[s] = u;
3780
3780
  for (let p = 1; p < i.length; p += 2)
3781
- l.set(r(i[p]), r(i[p + 1]));
3781
+ u.set(r(i[p]), r(i[p + 1]));
3782
3782
  break;
3783
3783
  case "RegExp":
3784
3784
  o[s] = new RegExp(i[1], i[2]);
@@ -3790,10 +3790,10 @@ function kc(e, t) {
3790
3790
  o[s] = BigInt(i[1]);
3791
3791
  break;
3792
3792
  case "null":
3793
- const u = /* @__PURE__ */ Object.create(null);
3794
- o[s] = u;
3793
+ const l = /* @__PURE__ */ Object.create(null);
3794
+ o[s] = l;
3795
3795
  for (let p = 1; p < i.length; p += 2)
3796
- u[i[p]] = r(i[p + 1]);
3796
+ l[i[p]] = r(i[p + 1]);
3797
3797
  break;
3798
3798
  default:
3799
3799
  throw new Error(`Unknown type ${d}`);
@@ -3802,23 +3802,23 @@ function kc(e, t) {
3802
3802
  const d = new Array(i.length);
3803
3803
  o[s] = d;
3804
3804
  for (let c = 0; c < i.length; c += 1) {
3805
- const l = i[c];
3806
- l !== Pr && (d[c] = r(l));
3805
+ const u = i[c];
3806
+ u !== Pr && (d[c] = r(u));
3807
3807
  }
3808
3808
  }
3809
3809
  else {
3810
3810
  const d = {};
3811
3811
  o[s] = d;
3812
3812
  for (const c in i) {
3813
- const l = i[c];
3814
- d[c] = r(l);
3813
+ const u = i[c];
3814
+ d[c] = r(u);
3815
3815
  }
3816
3816
  }
3817
3817
  return o[s];
3818
3818
  }
3819
3819
  return r(0);
3820
3820
  }
3821
- function Eo(e, t) {
3821
+ function ko(e, t) {
3822
3822
  const n = [], o = /* @__PURE__ */ new Map(), r = [];
3823
3823
  for (const c in t)
3824
3824
  r.push({ key: c, fn: t[c] });
@@ -3826,118 +3826,118 @@ function Eo(e, t) {
3826
3826
  let a = 0;
3827
3827
  function i(c) {
3828
3828
  if (typeof c == "function")
3829
- throw new Kt("Cannot stringify a function", s);
3829
+ throw new Xt("Cannot stringify a function", s);
3830
3830
  if (o.has(c)) return o.get(c);
3831
- if (c === void 0) return Vn;
3831
+ if (c === void 0) return Tn;
3832
3832
  if (Number.isNaN(c)) return Ir;
3833
3833
  if (c === 1 / 0) return Dr;
3834
3834
  if (c === -1 / 0) return Vr;
3835
- if (c === 0 && 1 / c < 0) return An;
3836
- const l = a++;
3837
- o.set(c, l);
3835
+ if (c === 0 && 1 / c < 0) return jn;
3836
+ const u = a++;
3837
+ o.set(c, u);
3838
3838
  for (const { key: p, fn: f } of r) {
3839
3839
  const h = f(c);
3840
3840
  if (h)
3841
- return n[l] = `["${p}",${i(h)}]`, l;
3841
+ return n[u] = `["${p}",${i(h)}]`, u;
3842
3842
  }
3843
- let u = "";
3844
- if (wo(c))
3845
- u = Xt(c);
3843
+ let l = "";
3844
+ if (_o(c))
3845
+ l = Zt(c);
3846
3846
  else
3847
3847
  switch (_c(c)) {
3848
3848
  case "Number":
3849
3849
  case "String":
3850
3850
  case "Boolean":
3851
- u = `["Object",${Xt(c)}]`;
3851
+ l = `["Object",${Zt(c)}]`;
3852
3852
  break;
3853
3853
  case "BigInt":
3854
- u = `["BigInt",${c}]`;
3854
+ l = `["BigInt",${c}]`;
3855
3855
  break;
3856
3856
  case "Date":
3857
- u = `["Date","${isNaN(c.getDate()) ? "" : c.toISOString()}"]`;
3857
+ l = `["Date","${isNaN(c.getDate()) ? "" : c.toISOString()}"]`;
3858
3858
  break;
3859
3859
  case "RegExp":
3860
3860
  const { source: p, flags: f } = c;
3861
- u = f ? `["RegExp",${Fe(p)},"${f}"]` : `["RegExp",${Fe(p)}]`;
3861
+ l = f ? `["RegExp",${Fe(p)},"${f}"]` : `["RegExp",${Fe(p)}]`;
3862
3862
  break;
3863
3863
  case "Array":
3864
- u = "[";
3864
+ l = "[";
3865
3865
  for (let h = 0; h < c.length; h += 1)
3866
- h > 0 && (u += ","), h in c ? (s.push(`[${h}]`), u += i(c[h]), s.pop()) : u += Pr;
3867
- u += "]";
3866
+ h > 0 && (l += ","), h in c ? (s.push(`[${h}]`), l += i(c[h]), s.pop()) : l += Pr;
3867
+ l += "]";
3868
3868
  break;
3869
3869
  case "Set":
3870
- u = '["Set"';
3870
+ l = '["Set"';
3871
3871
  for (const h of c)
3872
- u += `,${i(h)}`;
3873
- u += "]";
3872
+ l += `,${i(h)}`;
3873
+ l += "]";
3874
3874
  break;
3875
3875
  case "Map":
3876
- u = '["Map"';
3876
+ l = '["Map"';
3877
3877
  for (const [h, b] of c)
3878
3878
  s.push(
3879
- `.get(${wo(h) ? Xt(h) : "..."})`
3880
- ), u += `,${i(h)},${i(b)}`, s.pop();
3881
- u += "]";
3879
+ `.get(${_o(h) ? Zt(h) : "..."})`
3880
+ ), l += `,${i(h)},${i(b)}`, s.pop();
3881
+ l += "]";
3882
3882
  break;
3883
3883
  default:
3884
3884
  if (!wc(c))
3885
- throw new Kt(
3885
+ throw new Xt(
3886
3886
  "Cannot stringify arbitrary non-POJOs",
3887
3887
  s
3888
3888
  );
3889
3889
  if (Object.getOwnPropertySymbols(c).length > 0)
3890
- throw new Kt(
3890
+ throw new Xt(
3891
3891
  "Cannot stringify POJOs with symbolic keys",
3892
3892
  s
3893
3893
  );
3894
3894
  if (Object.getPrototypeOf(c) === null) {
3895
- u = '["null"';
3895
+ l = '["null"';
3896
3896
  for (const h in c)
3897
- s.push(`.${h}`), u += `,${Fe(h)},${i(c[h])}`, s.pop();
3898
- u += "]";
3897
+ s.push(`.${h}`), l += `,${Fe(h)},${i(c[h])}`, s.pop();
3898
+ l += "]";
3899
3899
  } else {
3900
- u = "{";
3900
+ l = "{";
3901
3901
  let h = !1;
3902
3902
  for (const b in c)
3903
- h && (u += ","), h = !0, s.push(`.${b}`), u += `${Fe(b)}:${i(c[b])}`, s.pop();
3904
- u += "}";
3903
+ h && (l += ","), h = !0, s.push(`.${b}`), l += `${Fe(b)}:${i(c[b])}`, s.pop();
3904
+ l += "}";
3905
3905
  }
3906
3906
  }
3907
- return n[l] = u, l;
3907
+ return n[u] = l, u;
3908
3908
  }
3909
3909
  const d = i(e);
3910
3910
  return d < 0 ? `${d}` : `[${n.join(",")}]`;
3911
3911
  }
3912
- function Xt(e) {
3912
+ function Zt(e) {
3913
3913
  const t = typeof e;
3914
- return t === "string" ? Fe(e) : e instanceof String ? Fe(e.toString()) : e === void 0 ? Vn.toString() : e === 0 && 1 / e < 0 ? An.toString() : t === "bigint" ? `["BigInt","${e}"]` : String(e);
3914
+ return t === "string" ? Fe(e) : e instanceof String ? Fe(e.toString()) : e === void 0 ? Tn.toString() : e === 0 && 1 / e < 0 ? jn.toString() : t === "bigint" ? `["BigInt","${e}"]` : String(e);
3915
3915
  }
3916
3916
  function $c(e, t, { initialize: n, type: o }) {
3917
- let r = `${t.$id}-${e.toString()}`, s = new Dn(r, { type: o }), a = !1, i = 0;
3918
- G(() => t[e], (l) => {
3919
- a || (i = Date.now(), s.postMessage({ timestamp: i, state: _o(Eo(l)) })), a = !1;
3920
- }, { deep: !0 }), s.onmessage = (l) => {
3921
- if (l === void 0) {
3922
- s.postMessage({ timestamp: i, state: _o(Eo(t[e])) });
3917
+ let r = `${t.$id}-${e.toString()}`, s = new An(r, { type: o }), a = !1, i = 0;
3918
+ G(() => t[e], (u) => {
3919
+ a || (i = Date.now(), s.postMessage({ timestamp: i, state: Eo(ko(u)) })), a = !1;
3920
+ }, { deep: !0 }), s.onmessage = (u) => {
3921
+ if (u === void 0) {
3922
+ s.postMessage({ timestamp: i, state: Eo(ko(t[e])) });
3923
3923
  return;
3924
3924
  }
3925
- l.timestamp <= i || (a = !0, i = l.timestamp, t[e] = l.state);
3925
+ u.timestamp <= i || (a = !0, i = u.timestamp, t[e] = u.state);
3926
3926
  };
3927
3927
  let d = () => s.postMessage(void 0), c = () => s.close();
3928
3928
  return n && d(), { sync: d, unshare: c };
3929
3929
  }
3930
- var Oc = (e, t) => Object.keys(t).includes(e), Nc = ({ initialize: e = !0, enable: t = !0, type: n }) => ({ store: o, options: r }) => {
3930
+ var Nc = (e, t) => Object.keys(t).includes(e), Oc = ({ initialize: e = !0, enable: t = !0, type: n }) => ({ store: o, options: r }) => {
3931
3931
  var s, a;
3932
3932
  let i = ((s = r == null ? void 0 : r.share) == null ? void 0 : s.enable) ?? t, d = ((a = r == null ? void 0 : r.share) == null ? void 0 : a.omit) ?? [];
3933
3933
  !i || Object.keys(o.$state).forEach((c) => {
3934
- var l;
3935
- d.includes(c) || !Oc(c, o.$state) || $c(c, o, { initialize: ((l = r == null ? void 0 : r.share) == null ? void 0 : l.initialize) ?? e, type: n });
3934
+ var u;
3935
+ d.includes(c) || !Nc(c, o.$state) || $c(c, o, { initialize: ((u = r == null ? void 0 : r.share) == null ? void 0 : u.initialize) ?? e, type: n });
3936
3936
  });
3937
3937
  };
3938
3938
  const xc = zs();
3939
3939
  xc.use(
3940
- Nc({
3940
+ Oc({
3941
3941
  enable: !0,
3942
3942
  initialize: !0
3943
3943
  })
@@ -3945,7 +3945,7 @@ xc.use(
3945
3945
  const Sc = /* @__PURE__ */ ae({
3946
3946
  __name: "Doctype",
3947
3947
  setup(e) {
3948
- const { stonecrop: t, isReady: n } = Zo(), o = C([]);
3948
+ const { stonecrop: t, isReady: n } = Zo(), o = x([]);
3949
3949
  return G(n, () => {
3950
3950
  if (n.value) {
3951
3951
  let r = t.value.schema.schema.toArray();
@@ -3954,7 +3954,7 @@ const Sc = /* @__PURE__ */ ae({
3954
3954
  r[a].value = d;
3955
3955
  }), o.value = r;
3956
3956
  }
3957
- }), (r, s) => S(n) ? (A(), Ie(S(gs), {
3957
+ }), (r, s) => P(n) ? (A(), Ie(P(gs), {
3958
3958
  key: 0,
3959
3959
  class: "aform-main",
3960
3960
  modelValue: o.value,
@@ -3966,7 +3966,7 @@ var Cc = !1;
3966
3966
  function _t(e, t, n) {
3967
3967
  return Array.isArray(e) ? (e.length = Math.max(e.length, t), e.splice(t, 1, n), n) : (e[t] = n, n);
3968
3968
  }
3969
- function Zt(e, t) {
3969
+ function en(e, t) {
3970
3970
  if (Array.isArray(e)) {
3971
3971
  e.splice(t, 1);
3972
3972
  return;
@@ -4003,7 +4003,7 @@ function Ar(e, t) {
4003
4003
  }
4004
4004
  const Tr = () => {
4005
4005
  };
4006
- function ko(e, t, n, o = Tr) {
4006
+ function $o(e, t, n, o = Tr) {
4007
4007
  e.push(t);
4008
4008
  const r = () => {
4009
4009
  const s = e.indexOf(t);
@@ -4016,14 +4016,14 @@ function Ue(e, ...t) {
4016
4016
  n(...t);
4017
4017
  });
4018
4018
  }
4019
- const Ic = (e) => e(), $o = Symbol(), en = Symbol();
4020
- function hn(e, t) {
4019
+ const Ic = (e) => e(), No = Symbol(), tn = Symbol();
4020
+ function mn(e, t) {
4021
4021
  e instanceof Map && t instanceof Map ? t.forEach((n, o) => e.set(o, n)) : e instanceof Set && t instanceof Set && t.forEach(e.add, e);
4022
4022
  for (const n in t) {
4023
4023
  if (!t.hasOwnProperty(n))
4024
4024
  continue;
4025
4025
  const o = t[n], r = e[n];
4026
- Re(r) && Re(o) && e.hasOwnProperty(n) && !de(o) && !Xe(o) ? e[n] = hn(r, o) : e[n] = o;
4026
+ Re(r) && Re(o) && e.hasOwnProperty(n) && !de(o) && !Xe(o) ? e[n] = mn(r, o) : e[n] = o;
4027
4027
  }
4028
4028
  return e;
4029
4029
  }
@@ -4038,24 +4038,24 @@ const { assign: ne } = Object;
4038
4038
  function Oo(e) {
4039
4039
  return !!(de(e) && e.effect);
4040
4040
  }
4041
- function No(e, t, n, o) {
4041
+ function xo(e, t, n, o) {
4042
4042
  const { state: r, actions: s, getters: a } = t, i = n.state.value[e];
4043
4043
  let d;
4044
4044
  function c() {
4045
4045
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
4046
- const l = process.env.NODE_ENV !== "production" && o ? (
4046
+ const u = process.env.NODE_ENV !== "production" && o ? (
4047
4047
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
4048
- Pt(C(r ? r() : {}).value)
4048
+ Pt(x(r ? r() : {}).value)
4049
4049
  ) : Pt(n.state.value[e]);
4050
- return ne(l, s, Object.keys(a || {}).reduce((u, p) => (process.env.NODE_ENV !== "production" && p in l && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${p}" in store "${e}".`), u[p] = re(R(() => {
4050
+ return ne(u, s, Object.keys(a || {}).reduce((l, 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}".`), l[p] = re(j(() => {
4051
4051
  Tt(n);
4052
4052
  const f = n._s.get(e);
4053
4053
  return a[p].call(f, f);
4054
- })), u), {}));
4054
+ })), l), {}));
4055
4055
  }
4056
- return d = mn(e, c, t, n, o, !0), d;
4056
+ return d = vn(e, c, t, n, o, !0), d;
4057
4057
  }
4058
- function mn(e, t, n = {}, o, r, s) {
4058
+ function vn(e, t, n = {}, o, r, s) {
4059
4059
  let a;
4060
4060
  const i = ne({ actions: {} }, n);
4061
4061
  if (process.env.NODE_ENV !== "production" && !o._e.active)
@@ -4064,32 +4064,32 @@ function mn(e, t, n = {}, o, r, s) {
4064
4064
  process.env.NODE_ENV !== "production" && !Cc && (d.onTrigger = (v) => {
4065
4065
  c ? f = v : c == !1 && !m._hotUpdating && (Array.isArray(f) ? f.push(v) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
4066
4066
  });
4067
- let c, l, u = [], p = [], f;
4067
+ let c, u, l = [], p = [], f;
4068
4068
  const h = o.state.value[e];
4069
4069
  !s && !h && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
4070
- const b = C({});
4070
+ const b = x({});
4071
4071
  let _;
4072
- function x(v) {
4072
+ function N(v) {
4073
4073
  let y;
4074
- c = l = !1, process.env.NODE_ENV !== "production" && (f = []), typeof v == "function" ? (v(o.state.value[e]), y = {
4074
+ c = u = !1, process.env.NODE_ENV !== "production" && (f = []), typeof v == "function" ? (v(o.state.value[e]), y = {
4075
4075
  type: ct.patchFunction,
4076
4076
  storeId: e,
4077
4077
  events: f
4078
- }) : (hn(o.state.value[e], v), y = {
4078
+ }) : (mn(o.state.value[e], v), y = {
4079
4079
  type: ct.patchObject,
4080
4080
  payload: v,
4081
4081
  storeId: e,
4082
4082
  events: f
4083
4083
  });
4084
- const I = _ = Symbol();
4084
+ const C = _ = Symbol();
4085
4085
  xe().then(() => {
4086
- _ === I && (c = !0);
4087
- }), l = !0, Ue(u, y, o.state.value[e]);
4086
+ _ === C && (c = !0);
4087
+ }), u = !0, Ue(l, y, o.state.value[e]);
4088
4088
  }
4089
- const N = s ? function() {
4090
- const { state: y } = n, I = y ? y() : {};
4091
- this.$patch((U) => {
4092
- ne(U, I);
4089
+ const $ = s ? function() {
4090
+ const { state: y } = n, C = y ? y() : {};
4091
+ this.$patch((H) => {
4092
+ ne(H, C);
4093
4093
  });
4094
4094
  } : (
4095
4095
  /* istanbul ignore next */
@@ -4097,38 +4097,38 @@ function mn(e, t, n = {}, o, r, s) {
4097
4097
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
4098
4098
  } : Tr
4099
4099
  );
4100
- function $() {
4101
- a.stop(), u = [], p = [], o._s.delete(e);
4100
+ function D() {
4101
+ a.stop(), l = [], p = [], o._s.delete(e);
4102
4102
  }
4103
- const j = (v, y = "") => {
4104
- if ($o in v)
4105
- return v[en] = y, v;
4106
- const I = function() {
4103
+ const W = (v, y = "") => {
4104
+ if (No in v)
4105
+ return v[tn] = y, v;
4106
+ const C = function() {
4107
4107
  Tt(o);
4108
- const U = Array.from(arguments), ie = [], pe = [];
4109
- function Me(X) {
4108
+ const H = Array.from(arguments), ie = [], pe = [];
4109
+ function Le(X) {
4110
4110
  ie.push(X);
4111
4111
  }
4112
4112
  function ee(X) {
4113
4113
  pe.push(X);
4114
4114
  }
4115
4115
  Ue(p, {
4116
- args: U,
4117
- name: I[en],
4116
+ args: H,
4117
+ name: C[tn],
4118
4118
  store: m,
4119
- after: Me,
4119
+ after: Le,
4120
4120
  onError: ee
4121
4121
  });
4122
4122
  let F;
4123
4123
  try {
4124
- F = v.apply(this && this.$id === e ? this : m, U);
4124
+ F = v.apply(this && this.$id === e ? this : m, H);
4125
4125
  } catch (X) {
4126
4126
  throw Ue(pe, X), X;
4127
4127
  }
4128
4128
  return F instanceof Promise ? F.then((X) => (Ue(ie, X), X)).catch((X) => (Ue(pe, X), Promise.reject(X))) : (Ue(ie, F), F);
4129
4129
  };
4130
- return I[$o] = !0, I[en] = y, I;
4131
- }, H = /* @__PURE__ */ re({
4130
+ return C[No] = !0, C[tn] = y, C;
4131
+ }, R = /* @__PURE__ */ re({
4132
4132
  actions: {},
4133
4133
  getters: {},
4134
4134
  state: [],
@@ -4137,23 +4137,23 @@ function mn(e, t, n = {}, o, r, s) {
4137
4137
  _p: o,
4138
4138
  // _s: scope,
4139
4139
  $id: e,
4140
- $onAction: ko.bind(null, p),
4141
- $patch: x,
4142
- $reset: N,
4140
+ $onAction: $o.bind(null, p),
4141
+ $patch: N,
4142
+ $reset: $,
4143
4143
  $subscribe(v, y = {}) {
4144
- const I = ko(u, v, y.detached, () => U()), U = a.run(() => G(() => o.state.value[e], (ie) => {
4145
- (y.flush === "sync" ? l : c) && v({
4144
+ const C = $o(l, v, y.detached, () => H()), H = a.run(() => G(() => o.state.value[e], (ie) => {
4145
+ (y.flush === "sync" ? u : c) && v({
4146
4146
  storeId: e,
4147
4147
  type: ct.direct,
4148
4148
  events: f
4149
4149
  }, ie);
4150
4150
  }, ne({}, d, y)));
4151
- return I;
4151
+ return C;
4152
4152
  },
4153
- $dispose: $
4154
- }, m = _n(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && rt ? ne(
4153
+ $dispose: D
4154
+ }, m = kn(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && rt ? ne(
4155
4155
  {
4156
- _hmrPayload: H,
4156
+ _hmrPayload: R,
4157
4157
  _customProperties: re(/* @__PURE__ */ new Set())
4158
4158
  // devtools custom properties
4159
4159
  },
@@ -4162,15 +4162,15 @@ function mn(e, t, n = {}, o, r, s) {
4162
4162
  // setupStore
4163
4163
  ) : Y);
4164
4164
  o._s.set(e, m);
4165
- const w = (o._a && o._a.runWithContext || Ic)(() => o._e.run(() => (a = wn()).run(() => t({ action: j }))));
4165
+ const w = (o._a && o._a.runWithContext || Ic)(() => o._e.run(() => (a = En()).run(() => t({ action: W }))));
4166
4166
  for (const v in w) {
4167
4167
  const y = w[v];
4168
4168
  if (de(y) && !Oo(y) || Xe(y))
4169
- process.env.NODE_ENV !== "production" && r ? _t(b.value, v, De(w, v)) : s || (h && Vc(y) && (de(y) ? y.value = h[v] : hn(y, h[v])), o.state.value[e][v] = y), process.env.NODE_ENV !== "production" && H.state.push(v);
4169
+ process.env.NODE_ENV !== "production" && r ? _t(b.value, v, De(w, v)) : s || (h && Vc(y) && (de(y) ? y.value = h[v] : mn(y, h[v])), o.state.value[e][v] = y), process.env.NODE_ENV !== "production" && R.state.push(v);
4170
4170
  else if (typeof y == "function") {
4171
- const I = process.env.NODE_ENV !== "production" && r ? y : j(y, v);
4172
- w[v] = I, process.env.NODE_ENV !== "production" && (H.actions[v] = y), i.actions[v] = y;
4173
- } else process.env.NODE_ENV !== "production" && Oo(y) && (H.getters[v] = s ? (
4171
+ const C = process.env.NODE_ENV !== "production" && r ? y : W(y, v);
4172
+ w[v] = C, process.env.NODE_ENV !== "production" && (R.actions[v] = y), i.actions[v] = y;
4173
+ } else process.env.NODE_ENV !== "production" && Oo(y) && (R.getters[v] = s ? (
4174
4174
  // @ts-expect-error
4175
4175
  n.getters[v]
4176
4176
  ) : y, rt && (w._getters || // @ts-expect-error: same
@@ -4181,37 +4181,37 @@ function mn(e, t, n = {}, o, r, s) {
4181
4181
  set: (v) => {
4182
4182
  if (process.env.NODE_ENV !== "production" && r)
4183
4183
  throw new Error("cannot set hotState");
4184
- x((y) => {
4184
+ N((y) => {
4185
4185
  ne(y, v);
4186
4186
  });
4187
4187
  }
4188
4188
  }), process.env.NODE_ENV !== "production" && (m._hotUpdate = re((v) => {
4189
4189
  m._hotUpdating = !0, v._hmrPayload.state.forEach((y) => {
4190
4190
  if (y in m.$state) {
4191
- const I = v.$state[y], U = m.$state[y];
4192
- typeof I == "object" && Re(I) && Re(U) ? Ar(I, U) : v.$state[y] = U;
4191
+ const C = v.$state[y], H = m.$state[y];
4192
+ typeof C == "object" && Re(C) && Re(H) ? Ar(C, H) : v.$state[y] = H;
4193
4193
  }
4194
4194
  _t(m, y, De(v.$state, y));
4195
4195
  }), Object.keys(m.$state).forEach((y) => {
4196
- y in v.$state || Zt(m, y);
4197
- }), c = !1, l = !1, o.state.value[e] = De(v._hmrPayload, "hotState"), l = !0, xe().then(() => {
4196
+ y in v.$state || en(m, y);
4197
+ }), c = !1, u = !1, o.state.value[e] = De(v._hmrPayload, "hotState"), u = !0, xe().then(() => {
4198
4198
  c = !0;
4199
4199
  });
4200
4200
  for (const y in v._hmrPayload.actions) {
4201
- const I = v[y];
4202
- _t(m, y, j(I, y));
4201
+ const C = v[y];
4202
+ _t(m, y, W(C, y));
4203
4203
  }
4204
4204
  for (const y in v._hmrPayload.getters) {
4205
- const I = v._hmrPayload.getters[y], U = s ? (
4205
+ const C = v._hmrPayload.getters[y], H = s ? (
4206
4206
  // special handling of options api
4207
- R(() => (Tt(o), I.call(m, m)))
4208
- ) : I;
4209
- _t(m, y, U);
4207
+ j(() => (Tt(o), C.call(m, m)))
4208
+ ) : C;
4209
+ _t(m, y, H);
4210
4210
  }
4211
4211
  Object.keys(m._hmrPayload.getters).forEach((y) => {
4212
- y in v._hmrPayload.getters || Zt(m, y);
4212
+ y in v._hmrPayload.getters || en(m, y);
4213
4213
  }), Object.keys(m._hmrPayload.actions).forEach((y) => {
4214
- y in v._hmrPayload.actions || Zt(m, y);
4214
+ y in v._hmrPayload.actions || en(m, y);
4215
4215
  }), m._hmrPayload = v._hmrPayload, m._getters = v._getters, m._hotUpdating = !1;
4216
4216
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && rt) {
4217
4217
  const v = {
@@ -4232,7 +4232,7 @@ function mn(e, t, n = {}, o, r, s) {
4232
4232
  pinia: o,
4233
4233
  options: i
4234
4234
  }));
4235
- Object.keys(y || {}).forEach((I) => m._customProperties.add(I)), ne(m, y);
4235
+ Object.keys(y || {}).forEach((C) => m._customProperties.add(C)), ne(m, y);
4236
4236
  } else
4237
4237
  ne(m, a.run(() => v({
4238
4238
  store: m,
@@ -4242,7 +4242,7 @@ function mn(e, t, n = {}, o, r, s) {
4242
4242
  })));
4243
4243
  }), process.env.NODE_ENV !== "production" && m.$state && typeof m.$state == "object" && typeof m.$state.constructor == "function" && !m.$state.constructor.toString().includes("[native code]") && console.warn(`[🍍]: The "state" must be a plain object. It cannot be
4244
4244
  state: () => new MyClass()
4245
- Found in store "${m.$id}".`), h && s && n.hydrate && n.hydrate(m.$state, h), c = !0, l = !0, m;
4245
+ Found in store "${m.$id}".`), h && s && n.hydrate && n.hydrate(m.$state, h), c = !0, u = !0, m;
4246
4246
  }
4247
4247
  /*! #__NO_SIDE_EFFECTS__ */
4248
4248
  // @__NO_SIDE_EFFECTS__
@@ -4257,58 +4257,58 @@ function Ac(e, t, n) {
4257
4257
  const c = jo();
4258
4258
  if (i = // in test mode, ignore the argument provided as we can always retrieve a
4259
4259
  // pinia instance with getActivePinia()
4260
- (process.env.NODE_ENV === "test" && ot && ot._testing ? null : i) || (c ? Ne(Pc, null) : null), i && Tt(i), process.env.NODE_ENV !== "production" && !ot)
4260
+ (process.env.NODE_ENV === "test" && ot && ot._testing ? null : i) || (c ? Oe(Pc, null) : null), i && Tt(i), process.env.NODE_ENV !== "production" && !ot)
4261
4261
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4262
4262
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4263
4263
  This will fail in production.`);
4264
- i = ot, i._s.has(o) || (s ? mn(o, t, r, i) : No(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
4265
- const l = i._s.get(o);
4264
+ i = ot, i._s.has(o) || (s ? vn(o, t, r, i) : xo(o, r, i), process.env.NODE_ENV !== "production" && (a._pinia = i));
4265
+ const u = i._s.get(o);
4266
4266
  if (process.env.NODE_ENV !== "production" && d) {
4267
- const u = "__hot:" + o, p = s ? mn(u, t, r, i, !0) : No(u, ne({}, r), i, !0);
4268
- d._hotUpdate(p), delete i.state.value[u], i._s.delete(u);
4267
+ const l = "__hot:" + o, p = s ? vn(l, t, r, i, !0) : xo(l, ne({}, r), i, !0);
4268
+ d._hotUpdate(p), delete i.state.value[l], i._s.delete(l);
4269
4269
  }
4270
4270
  if (process.env.NODE_ENV !== "production" && rt) {
4271
- const u = Le();
4272
- if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
4271
+ const l = Me();
4272
+ if (l && l.proxy && // avoid adding stores that are just built for hot module replacement
4273
4273
  !d) {
4274
- const p = u.proxy, f = "_pStores" in p ? p._pStores : p._pStores = {};
4275
- f[o] = l;
4274
+ const p = l.proxy, f = "_pStores" in p ? p._pStores : p._pStores = {};
4275
+ f[o] = u;
4276
4276
  }
4277
4277
  }
4278
- return l;
4278
+ return u;
4279
4279
  }
4280
4280
  return a.$id = o, a;
4281
4281
  }
4282
4282
  function jr(e) {
4283
4283
  return jt() ? (Rt(e), !0) : !1;
4284
4284
  }
4285
- function Tn(e) {
4286
- return typeof e == "function" ? e() : S(e);
4285
+ function Rn(e) {
4286
+ return typeof e == "function" ? e() : P(e);
4287
4287
  }
4288
4288
  const Tc = typeof window < "u" && typeof document < "u";
4289
4289
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4290
- const jc = (e) => e != null, Rc = Object.prototype.toString, Lc = (e) => Rc.call(e) === "[object Object]", Mc = () => {
4290
+ const jc = (e) => e != null, Rc = Object.prototype.toString, Mc = (e) => Rc.call(e) === "[object Object]", Lc = () => {
4291
4291
  }, mt = Tc ? window : void 0;
4292
4292
  function pt(e) {
4293
4293
  var t;
4294
- const n = Tn(e);
4294
+ const n = Rn(e);
4295
4295
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
4296
4296
  }
4297
4297
  function ft(...e) {
4298
4298
  let t, n, o, r;
4299
4299
  if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, r] = e, t = mt) : [t, n, o, r] = e, !t)
4300
- return Mc;
4300
+ return Lc;
4301
4301
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4302
4302
  const s = [], a = () => {
4303
- s.forEach((l) => l()), s.length = 0;
4304
- }, i = (l, u, p, f) => (l.addEventListener(u, p, f), () => l.removeEventListener(u, p, f)), d = G(
4305
- () => [pt(t), Tn(r)],
4306
- ([l, u]) => {
4307
- if (a(), !l)
4303
+ s.forEach((u) => u()), s.length = 0;
4304
+ }, i = (u, l, p, f) => (u.addEventListener(l, p, f), () => u.removeEventListener(l, p, f)), d = G(
4305
+ () => [pt(t), Rn(r)],
4306
+ ([u, l]) => {
4307
+ if (a(), !u)
4308
4308
  return;
4309
- const p = Lc(u) ? { ...u } : u;
4309
+ const p = Mc(l) ? { ...l } : l;
4310
4310
  s.push(
4311
- ...n.flatMap((f) => o.map((h) => i(l, f, h, p)))
4311
+ ...n.flatMap((f) => o.map((h) => i(u, f, h, p)))
4312
4312
  );
4313
4313
  },
4314
4314
  { immediate: !0, flush: "post" }
@@ -4318,22 +4318,22 @@ function ft(...e) {
4318
4318
  return jr(c), c;
4319
4319
  }
4320
4320
  function Bc() {
4321
- const e = C(!1), t = Le();
4321
+ const e = x(!1), t = Me();
4322
4322
  return t && Ke(() => {
4323
4323
  e.value = !0;
4324
4324
  }, t), e;
4325
4325
  }
4326
4326
  function Wc(e) {
4327
4327
  const t = Bc();
4328
- return R(() => (t.value, !!e()));
4328
+ return j(() => (t.value, !!e()));
4329
4329
  }
4330
4330
  function Uc(e, t, n = {}) {
4331
4331
  const { window: o = mt, ...r } = n;
4332
4332
  let s;
4333
4333
  const a = Wc(() => o && "MutationObserver" in o), i = () => {
4334
4334
  s && (s.disconnect(), s = void 0);
4335
- }, d = R(() => {
4336
- const p = Tn(e), f = (Array.isArray(p) ? p : [p]).map(pt).filter(jc);
4335
+ }, d = j(() => {
4336
+ const p = Rn(e), f = (Array.isArray(p) ? p : [p]).map(pt).filter(jc);
4337
4337
  return new Set(f);
4338
4338
  }), c = G(
4339
4339
  () => d.value,
@@ -4341,13 +4341,13 @@ function Uc(e, t, n = {}) {
4341
4341
  i(), a.value && p.size && (s = new MutationObserver(t), p.forEach((f) => s.observe(f, r)));
4342
4342
  },
4343
4343
  { immediate: !0, flush: "post" }
4344
- ), l = () => s == null ? void 0 : s.takeRecords(), u = () => {
4344
+ ), u = () => s == null ? void 0 : s.takeRecords(), l = () => {
4345
4345
  c(), i();
4346
4346
  };
4347
- return jr(u), {
4347
+ return jr(l), {
4348
4348
  isSupported: a,
4349
- stop: u,
4350
- takeRecords: l
4349
+ stop: l,
4350
+ takeRecords: u
4351
4351
  };
4352
4352
  }
4353
4353
  function Hc(e = {}) {
@@ -4358,19 +4358,19 @@ function Hc(e = {}) {
4358
4358
  triggerOnRemoval: r = !1
4359
4359
  } = e, s = (t = e.document) != null ? t : n == null ? void 0 : n.document, a = () => {
4360
4360
  var c;
4361
- let l = s == null ? void 0 : s.activeElement;
4361
+ let u = s == null ? void 0 : s.activeElement;
4362
4362
  if (o)
4363
- for (; l != null && l.shadowRoot; )
4364
- l = (c = l == null ? void 0 : l.shadowRoot) == null ? void 0 : c.activeElement;
4365
- return l;
4366
- }, i = C(), d = () => {
4363
+ for (; u != null && u.shadowRoot; )
4364
+ u = (c = u == null ? void 0 : u.shadowRoot) == null ? void 0 : c.activeElement;
4365
+ return u;
4366
+ }, i = x(), d = () => {
4367
4367
  i.value = a();
4368
4368
  };
4369
4369
  return n && (ft(n, "blur", (c) => {
4370
4370
  c.relatedTarget === null && d();
4371
4371
  }, !0), ft(n, "focus", d, !0)), r && Uc(s, (c) => {
4372
- c.filter((l) => l.removedNodes.length).map((l) => Array.from(l.removedNodes)).flat().forEach((l) => {
4373
- l === i.value && d();
4372
+ c.filter((u) => u.removedNodes.length).map((u) => Array.from(u.removedNodes)).flat().forEach((u) => {
4373
+ u === i.value && d();
4374
4374
  });
4375
4375
  }, {
4376
4376
  childList: !0,
@@ -4379,11 +4379,11 @@ function Hc(e = {}) {
4379
4379
  }
4380
4380
  const Fc = "focusin", zc = "focusout";
4381
4381
  function qc(e, t = {}) {
4382
- const { window: n = mt } = t, o = R(() => pt(e)), r = C(!1), s = R(() => r.value), a = Hc(t);
4382
+ const { window: n = mt } = t, o = j(() => pt(e)), r = x(!1), s = j(() => r.value), a = Hc(t);
4383
4383
  return !n || !a.value ? { focused: s } : (ft(o, Fc, () => r.value = !0), ft(o, zc, () => r.value = !1), { focused: s });
4384
4384
  }
4385
4385
  function Gc(e, { window: t = mt, scrollTarget: n } = {}) {
4386
- const o = C(!1), r = () => {
4386
+ const o = x(!1), r = () => {
4387
4387
  if (!t) return;
4388
4388
  const s = t.document, a = pt(e);
4389
4389
  if (!a)
@@ -4405,10 +4405,10 @@ function Gc(e, { window: t = mt, scrollTarget: n } = {}) {
4405
4405
  const be = (e) => {
4406
4406
  let t = Gc(e).value;
4407
4407
  return t = t && e.offsetHeight > 0, t;
4408
- }, we = (e) => e.tabIndex >= 0, xo = (e) => {
4408
+ }, we = (e) => e.tabIndex >= 0, So = (e) => {
4409
4409
  const t = e.target;
4410
- return jn(t);
4411
- }, jn = (e) => {
4410
+ return Mn(t);
4411
+ }, Mn = (e) => {
4412
4412
  var t;
4413
4413
  let n;
4414
4414
  if (e instanceof HTMLTableCellElement) {
@@ -4421,7 +4421,7 @@ const be = (e) => {
4421
4421
  const o = e.previousElementSibling;
4422
4422
  o && (n = o);
4423
4423
  }
4424
- return n && (!we(n) || !be(n)) ? jn(n) : n;
4424
+ return n && (!we(n) || !be(n)) ? Mn(n) : n;
4425
4425
  }, Jc = (e) => {
4426
4426
  var t;
4427
4427
  const n = e.target;
@@ -4439,11 +4439,11 @@ const be = (e) => {
4439
4439
  s && (o = s);
4440
4440
  }
4441
4441
  }
4442
- return o && (!we(o) || !be(o)) ? Rn(o) : o;
4443
- }, So = (e) => {
4442
+ return o && (!we(o) || !be(o)) ? Ln(o) : o;
4443
+ }, Co = (e) => {
4444
4444
  const t = e.target;
4445
- return Rn(t);
4446
- }, Rn = (e) => {
4445
+ return Ln(t);
4446
+ }, Ln = (e) => {
4447
4447
  var t;
4448
4448
  let n;
4449
4449
  if (e instanceof HTMLTableCellElement) {
@@ -4456,7 +4456,7 @@ const be = (e) => {
4456
4456
  const o = e.nextElementSibling;
4457
4457
  o && (n = o);
4458
4458
  }
4459
- return n && (!we(n) || !be(n)) ? Rn(n) : n;
4459
+ return n && (!we(n) || !be(n)) ? Ln(n) : n;
4460
4460
  }, Yc = (e) => {
4461
4461
  var t;
4462
4462
  const n = e.target;
@@ -4474,11 +4474,11 @@ const be = (e) => {
4474
4474
  s && (o = s);
4475
4475
  }
4476
4476
  }
4477
- return o && (!we(o) || !be(o)) ? jn(o) : o;
4478
- }, Co = (e) => {
4477
+ return o && (!we(o) || !be(o)) ? Mn(o) : o;
4478
+ }, Po = (e) => {
4479
4479
  const t = e.target;
4480
- return Ln(t);
4481
- }, Ln = (e) => {
4480
+ return Bn(t);
4481
+ }, Bn = (e) => {
4482
4482
  var t;
4483
4483
  let n;
4484
4484
  if (e.previousElementSibling)
@@ -4487,11 +4487,11 @@ const be = (e) => {
4487
4487
  const o = (t = e.parentElement) == null ? void 0 : t.previousElementSibling;
4488
4488
  n = o == null ? void 0 : o.lastElementChild;
4489
4489
  }
4490
- return n && (!we(n) || !be(n)) ? Ln(n) : n;
4491
- }, Po = (e) => {
4490
+ return n && (!we(n) || !be(n)) ? Bn(n) : n;
4491
+ }, Io = (e) => {
4492
4492
  const t = e.target;
4493
- return Mn(t);
4494
- }, Mn = (e) => {
4493
+ return Wn(t);
4494
+ }, Wn = (e) => {
4495
4495
  var t;
4496
4496
  let n;
4497
4497
  if (e.nextElementSibling)
@@ -4500,33 +4500,33 @@ const be = (e) => {
4500
4500
  const o = (t = e.parentElement) == null ? void 0 : t.nextElementSibling;
4501
4501
  n = o == null ? void 0 : o.firstElementChild;
4502
4502
  }
4503
- return n && (!we(n) || !be(n)) ? Mn(n) : n;
4504
- }, Io = (e) => {
4505
- const t = e.target.parentElement, n = t == null ? void 0 : t.firstElementChild;
4506
- return n && (!we(n) || !be(n)) ? Mn(n) : n;
4503
+ return n && (!we(n) || !be(n)) ? Wn(n) : n;
4507
4504
  }, Do = (e) => {
4505
+ const t = e.target.parentElement, n = t == null ? void 0 : t.firstElementChild;
4506
+ return n && (!we(n) || !be(n)) ? Wn(n) : n;
4507
+ }, Vo = (e) => {
4508
4508
  const t = e.target.parentElement, n = t == null ? void 0 : t.lastElementChild;
4509
- return n && (!we(n) || !be(n)) ? Ln(n) : n;
4509
+ return n && (!we(n) || !be(n)) ? Bn(n) : n;
4510
4510
  }, Et = ["alt", "control", "shift", "meta"], Qc = {
4511
4511
  ArrowUp: "up",
4512
4512
  ArrowDown: "down",
4513
4513
  ArrowLeft: "left",
4514
4514
  ArrowRight: "right"
4515
- }, Bn = {
4515
+ }, Un = {
4516
4516
  "keydown.up": (e) => {
4517
- const t = xo(e);
4517
+ const t = So(e);
4518
4518
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4519
4519
  },
4520
4520
  "keydown.down": (e) => {
4521
- const t = So(e);
4521
+ const t = Co(e);
4522
4522
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4523
4523
  },
4524
4524
  "keydown.left": (e) => {
4525
- const t = Co(e);
4525
+ const t = Po(e);
4526
4526
  e.preventDefault(), e.stopPropagation(), t && t.focus();
4527
4527
  },
4528
4528
  "keydown.right": (e) => {
4529
- const t = Po(e);
4529
+ const t = Io(e);
4530
4530
  e.preventDefault(), e.stopPropagation(), t && t.focus();
4531
4531
  },
4532
4532
  "keydown.control.up": (e) => {
@@ -4538,41 +4538,41 @@ const be = (e) => {
4538
4538
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4539
4539
  },
4540
4540
  "keydown.control.left": (e) => {
4541
- const t = Io(e);
4541
+ const t = Do(e);
4542
4542
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4543
4543
  },
4544
4544
  "keydown.control.right": (e) => {
4545
- const t = Do(e);
4545
+ const t = Vo(e);
4546
4546
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4547
4547
  },
4548
4548
  "keydown.end": (e) => {
4549
- const t = Do(e);
4549
+ const t = Vo(e);
4550
4550
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4551
4551
  },
4552
4552
  "keydown.enter": (e) => {
4553
4553
  if (e.target instanceof HTMLTableCellElement) {
4554
4554
  e.preventDefault(), e.stopPropagation();
4555
- const t = So(e);
4555
+ const t = Co(e);
4556
4556
  t && t.focus();
4557
4557
  }
4558
4558
  },
4559
4559
  "keydown.shift.enter": (e) => {
4560
4560
  if (e.target instanceof HTMLTableCellElement) {
4561
4561
  e.preventDefault(), e.stopPropagation();
4562
- const t = xo(e);
4562
+ const t = So(e);
4563
4563
  t && t.focus();
4564
4564
  }
4565
4565
  },
4566
4566
  "keydown.home": (e) => {
4567
- const t = Io(e);
4567
+ const t = Do(e);
4568
4568
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4569
4569
  },
4570
4570
  "keydown.tab": (e) => {
4571
- const t = Po(e);
4571
+ const t = Io(e);
4572
4572
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4573
4573
  },
4574
4574
  "keydown.shift.tab": (e) => {
4575
- const t = Co(e);
4575
+ const t = Po(e);
4576
4576
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
4577
4577
  }
4578
4578
  };
@@ -4587,14 +4587,14 @@ function Rr(e) {
4587
4587
  if (typeof a.selectors == "string")
4588
4588
  c = d ? Array.from(d.querySelectorAll(a.selectors)) : Array.from(document.querySelectorAll(a.selectors));
4589
4589
  else if (Array.isArray(a.selectors))
4590
- for (const l of a.selectors)
4591
- l instanceof HTMLElement ? c.push(l) : c.push(l.$el);
4590
+ for (const u of a.selectors)
4591
+ u instanceof HTMLElement ? c.push(u) : c.push(u.$el);
4592
4592
  else if (a.selectors instanceof HTMLElement)
4593
4593
  c.push(a.selectors);
4594
4594
  else if ((i = a.selectors) != null && i.value)
4595
4595
  if (Array.isArray(a.selectors.value))
4596
- for (const l of a.selectors.value)
4597
- l instanceof HTMLElement ? c.push(l) : c.push(l.$el);
4596
+ for (const u of a.selectors.value)
4597
+ u instanceof HTMLElement ? c.push(u) : c.push(u.$el);
4598
4598
  else
4599
4599
  c.push(a.selectors.value);
4600
4600
  return c;
@@ -4605,20 +4605,20 @@ function Rr(e) {
4605
4605
  }, r = (a) => (i) => {
4606
4606
  const d = Qc[i.key] || i.key.toLowerCase();
4607
4607
  if (Et.includes(d)) return;
4608
- const c = a.handlers || Bn;
4609
- for (const l of Object.keys(c)) {
4610
- const [u, ...p] = l.split(".");
4611
- if (u === "keydown" && p.includes(d)) {
4612
- const f = c[l], h = p.filter((_) => Et.includes(_)), b = Et.some((_) => {
4613
- const x = _.charAt(0).toUpperCase() + _.slice(1);
4614
- return i.getModifierState(x);
4608
+ const c = a.handlers || Un;
4609
+ for (const u of Object.keys(c)) {
4610
+ const [l, ...p] = u.split(".");
4611
+ if (l === "keydown" && p.includes(d)) {
4612
+ const f = c[u], h = p.filter((_) => Et.includes(_)), b = Et.some((_) => {
4613
+ const N = _.charAt(0).toUpperCase() + _.slice(1);
4614
+ return i.getModifierState(N);
4615
4615
  });
4616
4616
  if (h.length > 0) {
4617
4617
  if (b) {
4618
4618
  for (const _ of Et)
4619
4619
  if (p.includes(_)) {
4620
- const x = _.charAt(0).toUpperCase() + _.slice(1);
4621
- i.getModifierState(x) && f(i);
4620
+ const N = _.charAt(0).toUpperCase() + _.slice(1);
4621
+ i.getModifierState(N) && f(i);
4622
4622
  }
4623
4623
  }
4624
4624
  } else
@@ -4628,10 +4628,10 @@ function Rr(e) {
4628
4628
  }, s = [];
4629
4629
  Ke(() => {
4630
4630
  for (const a of e) {
4631
- const i = t(a), d = o(a), c = r(a), l = i ? [i] : d;
4632
- for (const u of l) {
4633
- const { focused: p } = qc(C(u)), f = G(p, (h) => {
4634
- h ? u.addEventListener("keydown", c) : u.removeEventListener("keydown", c);
4631
+ const i = t(a), d = o(a), c = r(a), u = i ? [i] : d;
4632
+ for (const l of u) {
4633
+ const { focused: p } = qc(x(l)), f = G(p, (h) => {
4634
+ h ? l.addEventListener("keydown", c) : l.removeEventListener("keydown", c);
4635
4635
  });
4636
4636
  s.push(f);
4637
4637
  }
@@ -4645,49 +4645,49 @@ function vt(e) {
4645
4645
  return jt() ? (Rt(e), !0) : !1;
4646
4646
  }
4647
4647
  function se(e) {
4648
- return typeof e == "function" ? e() : S(e);
4648
+ return typeof e == "function" ? e() : P(e);
4649
4649
  }
4650
- const Wn = typeof window < "u" && typeof document < "u";
4650
+ const Hn = typeof window < "u" && typeof document < "u";
4651
4651
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
4652
- const Kc = (e) => e != null, Xc = Object.prototype.toString, Lr = (e) => Xc.call(e) === "[object Object]", ze = () => {
4653
- }, vn = /* @__PURE__ */ Zc();
4652
+ const Kc = (e) => e != null, Xc = Object.prototype.toString, Mr = (e) => Xc.call(e) === "[object Object]", ze = () => {
4653
+ }, gn = /* @__PURE__ */ Zc();
4654
4654
  function Zc() {
4655
4655
  var e, t;
4656
- return Wn && ((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));
4656
+ return Hn && ((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));
4657
4657
  }
4658
4658
  function el(e) {
4659
- return Le();
4659
+ return Me();
4660
4660
  }
4661
4661
  function tl(...e) {
4662
4662
  if (e.length !== 1)
4663
4663
  return De(...e);
4664
4664
  const t = e[0];
4665
- return typeof t == "function" ? Yr(Qr(() => ({ get: t, set: ze }))) : C(t);
4665
+ return typeof t == "function" ? Yr(Qr(() => ({ get: t, set: ze }))) : x(t);
4666
4666
  }
4667
4667
  function nl(e, t = !0, n) {
4668
4668
  el() ? Ke(e, n) : t ? e() : xe(e);
4669
4669
  }
4670
- const Un = Wn ? window : void 0;
4670
+ const Wt = Hn ? window : void 0;
4671
4671
  function Qe(e) {
4672
4672
  var t;
4673
4673
  const n = se(e);
4674
4674
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
4675
4675
  }
4676
- function Vo(...e) {
4676
+ function yn(...e) {
4677
4677
  let t, n, o, r;
4678
- if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, r] = e, t = Un) : [t, n, o, r] = e, !t)
4678
+ if (typeof e[0] == "string" || Array.isArray(e[0]) ? ([n, o, r] = e, t = Wt) : [t, n, o, r] = e, !t)
4679
4679
  return ze;
4680
4680
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4681
4681
  const s = [], a = () => {
4682
- s.forEach((l) => l()), s.length = 0;
4683
- }, i = (l, u, p, f) => (l.addEventListener(u, p, f), () => l.removeEventListener(u, p, f)), d = G(
4682
+ s.forEach((u) => u()), s.length = 0;
4683
+ }, i = (u, l, p, f) => (u.addEventListener(l, p, f), () => u.removeEventListener(l, p, f)), d = G(
4684
4684
  () => [Qe(t), se(r)],
4685
- ([l, u]) => {
4686
- if (a(), !l)
4685
+ ([u, l]) => {
4686
+ if (a(), !u)
4687
4687
  return;
4688
- const p = Lr(u) ? { ...u } : u;
4688
+ const p = Mr(l) ? { ...l } : l;
4689
4689
  s.push(
4690
- ...n.flatMap((f) => o.map((h) => i(l, f, h, p)))
4690
+ ...n.flatMap((f) => o.map((h) => i(u, f, h, p)))
4691
4691
  );
4692
4692
  },
4693
4693
  { immediate: !0, flush: "post" }
@@ -4697,21 +4697,21 @@ function Vo(...e) {
4697
4697
  return vt(c), c;
4698
4698
  }
4699
4699
  function ol() {
4700
- const e = C(!1), t = Le();
4700
+ const e = x(!1), t = Me();
4701
4701
  return t && Ke(() => {
4702
4702
  e.value = !0;
4703
4703
  }, t), e;
4704
4704
  }
4705
- function Mr(e) {
4705
+ function Lr(e) {
4706
4706
  const t = ol();
4707
- return R(() => (t.value, !!e()));
4707
+ return j(() => (t.value, !!e()));
4708
4708
  }
4709
4709
  function Br(e, t, n = {}) {
4710
- const { window: o = Un, ...r } = n;
4710
+ const { window: o = Wt, ...r } = n;
4711
4711
  let s;
4712
- const a = Mr(() => o && "MutationObserver" in o), i = () => {
4712
+ const a = Lr(() => o && "MutationObserver" in o), i = () => {
4713
4713
  s && (s.disconnect(), s = void 0);
4714
- }, d = R(() => {
4714
+ }, d = j(() => {
4715
4715
  const p = se(e), f = (Array.isArray(p) ? p : [p]).map(Qe).filter(Kc);
4716
4716
  return new Set(f);
4717
4717
  }), c = G(
@@ -4720,39 +4720,39 @@ function Br(e, t, n = {}) {
4720
4720
  i(), a.value && p.size && (s = new MutationObserver(t), p.forEach((f) => s.observe(f, r)));
4721
4721
  },
4722
4722
  { immediate: !0, flush: "post" }
4723
- ), l = () => s == null ? void 0 : s.takeRecords(), u = () => {
4723
+ ), u = () => s == null ? void 0 : s.takeRecords(), l = () => {
4724
4724
  c(), i();
4725
4725
  };
4726
- return vt(u), {
4726
+ return vt(l), {
4727
4727
  isSupported: a,
4728
- stop: u,
4729
- takeRecords: l
4728
+ stop: l,
4729
+ takeRecords: u
4730
4730
  };
4731
4731
  }
4732
4732
  function rl(e, t, n = {}) {
4733
- const { window: o = Un, ...r } = n;
4733
+ const { window: o = Wt, ...r } = n;
4734
4734
  let s;
4735
- const a = Mr(() => o && "ResizeObserver" in o), i = () => {
4735
+ const a = Lr(() => o && "ResizeObserver" in o), i = () => {
4736
4736
  s && (s.disconnect(), s = void 0);
4737
- }, d = R(() => {
4738
- const u = se(e);
4739
- return Array.isArray(u) ? u.map((p) => Qe(p)) : [Qe(u)];
4737
+ }, d = j(() => {
4738
+ const l = se(e);
4739
+ return Array.isArray(l) ? l.map((p) => Qe(p)) : [Qe(l)];
4740
4740
  }), c = G(
4741
4741
  d,
4742
- (u) => {
4742
+ (l) => {
4743
4743
  if (i(), a.value && o) {
4744
4744
  s = new ResizeObserver(t);
4745
- for (const p of u)
4745
+ for (const p of l)
4746
4746
  p && s.observe(p, r);
4747
4747
  }
4748
4748
  },
4749
4749
  { immediate: !0, flush: "post" }
4750
- ), l = () => {
4750
+ ), u = () => {
4751
4751
  i(), c();
4752
4752
  };
4753
- return vt(l), {
4753
+ return vt(u), {
4754
4754
  isSupported: a,
4755
- stop: l
4755
+ stop: u
4756
4756
  };
4757
4757
  }
4758
4758
  function Wr(e, t = {}) {
@@ -4762,39 +4762,73 @@ function Wr(e, t = {}) {
4762
4762
  windowScroll: r = !0,
4763
4763
  immediate: s = !0,
4764
4764
  updateTiming: a = "sync"
4765
- } = t, i = C(0), d = C(0), c = C(0), l = C(0), u = C(0), p = C(0), f = C(0), h = C(0);
4765
+ } = t, i = x(0), d = x(0), c = x(0), u = x(0), l = x(0), p = x(0), f = x(0), h = x(0);
4766
4766
  function b() {
4767
- const x = Qe(e);
4768
- if (!x) {
4769
- n && (i.value = 0, d.value = 0, c.value = 0, l.value = 0, u.value = 0, p.value = 0, f.value = 0, h.value = 0);
4767
+ const N = Qe(e);
4768
+ if (!N) {
4769
+ n && (i.value = 0, d.value = 0, c.value = 0, u.value = 0, l.value = 0, p.value = 0, f.value = 0, h.value = 0);
4770
4770
  return;
4771
4771
  }
4772
- const N = x.getBoundingClientRect();
4773
- i.value = N.height, d.value = N.bottom, c.value = N.left, l.value = N.right, u.value = N.top, p.value = N.width, f.value = N.x, h.value = N.y;
4772
+ const $ = N.getBoundingClientRect();
4773
+ i.value = $.height, d.value = $.bottom, c.value = $.left, u.value = $.right, l.value = $.top, p.value = $.width, f.value = $.x, h.value = $.y;
4774
4774
  }
4775
4775
  function _() {
4776
4776
  a === "sync" ? b() : a === "next-frame" && requestAnimationFrame(() => b());
4777
4777
  }
4778
- return rl(e, _), G(() => Qe(e), (x) => !x && _()), Br(e, _, {
4778
+ return rl(e, _), G(() => Qe(e), (N) => !N && _()), Br(e, _, {
4779
4779
  attributeFilter: ["style", "class"]
4780
- }), r && Vo("scroll", _, { capture: !0, passive: !0 }), o && Vo("resize", _, { passive: !0 }), nl(() => {
4780
+ }), r && yn("scroll", _, { capture: !0, passive: !0 }), o && yn("resize", _, { passive: !0 }), nl(() => {
4781
4781
  s && _();
4782
4782
  }), {
4783
4783
  height: i,
4784
4784
  bottom: d,
4785
4785
  left: c,
4786
- right: l,
4787
- top: u,
4786
+ right: u,
4787
+ top: l,
4788
4788
  width: p,
4789
4789
  x: f,
4790
4790
  y: h,
4791
4791
  update: _
4792
4792
  };
4793
4793
  }
4794
- const sl = (e) => {
4794
+ function sl(e = {}) {
4795
+ const { window: t = Wt, behavior: n = "auto" } = e;
4796
+ if (!t)
4797
+ return {
4798
+ x: x(0),
4799
+ y: x(0)
4800
+ };
4801
+ const o = x(t.scrollX), r = x(t.scrollY), s = j({
4802
+ get() {
4803
+ return o.value;
4804
+ },
4805
+ set(i) {
4806
+ scrollTo({ left: i, behavior: n });
4807
+ }
4808
+ }), a = j({
4809
+ get() {
4810
+ return r.value;
4811
+ },
4812
+ set(i) {
4813
+ scrollTo({ top: i, behavior: n });
4814
+ }
4815
+ });
4816
+ return yn(
4817
+ t,
4818
+ "scroll",
4819
+ () => {
4820
+ o.value = t.scrollX, r.value = t.scrollY;
4821
+ },
4822
+ {
4823
+ capture: !1,
4824
+ passive: !0
4825
+ }
4826
+ ), { x: s, y: a };
4827
+ }
4828
+ const al = (e) => {
4795
4829
  const t = new DOMParser().parseFromString(e, "text/html");
4796
4830
  return Array.from(t.body.childNodes).some((n) => n.nodeType === 1);
4797
- }, al = ["data-colindex", "data-rowindex", "data-editable", "contenteditable", "tabindex"], il = ["innerHTML"], cl = { key: 2 }, ll = /* @__PURE__ */ ae({
4831
+ }, il = ["data-colindex", "data-rowindex", "data-editable", "contenteditable", "tabindex"], cl = ["innerHTML"], ll = { key: 2 }, ul = /* @__PURE__ */ ae({
4798
4832
  __name: "ACell",
4799
4833
  props: {
4800
4834
  colIndex: {},
@@ -4806,70 +4840,71 @@ const sl = (e) => {
4806
4840
  },
4807
4841
  emits: ["cellInput"],
4808
4842
  setup(e, { emit: t }) {
4809
- const n = t, o = ht("cell"), { width: r, height: s } = Wr(o), a = e.store.getCellData(e.colIndex, e.rowIndex), i = C(""), d = C(!1), c = e.store.columns[e.colIndex], l = e.store.rows[e.rowIndex], u = c.align || "center", p = c.width || "40ch", f = R(() => e.store.getCellDisplayValue(e.colIndex, e.rowIndex)), h = R(() => typeof f.value == "string" ? sl(f.value) : !1), b = R(() => {
4810
- var $;
4843
+ const n = t, o = ht("cell"), r = e.store.getCellData(e.colIndex, e.rowIndex), s = x(""), a = x(!1), i = e.store.columns[e.colIndex], d = e.store.rows[e.rowIndex], c = i.align || "center", u = i.width || "40ch", l = j(() => e.store.getCellDisplayValue(e.colIndex, e.rowIndex)), p = j(() => typeof l.value == "string" ? al(l.value) : !1), f = j(() => {
4844
+ var N;
4811
4845
  return {
4812
- textAlign: u,
4813
- width: p,
4814
- backgroundColor: d.value ? "var(--sc-cell-changed-color)" : "inherit",
4815
- fontWeight: d.value ? "bold" : "inherit",
4816
- paddingLeft: e.store.getIndent(e.colIndex, ($ = e.store.display[e.rowIndex]) == null ? void 0 : $.indent)
4846
+ textAlign: c,
4847
+ width: u,
4848
+ backgroundColor: a.value ? "var(--sc-cell-changed-color)" : "inherit",
4849
+ fontWeight: a.value ? "bold" : "inherit",
4850
+ paddingLeft: e.store.getIndent(e.colIndex, (N = e.store.display[e.rowIndex]) == null ? void 0 : N.indent)
4817
4851
  };
4818
- }), _ = () => {
4819
- c.mask, c.modalComponent && e.store.$patch(($) => {
4820
- $.modal.visible = !0, $.modal.colIndex = e.colIndex, $.modal.rowIndex = e.rowIndex, $.modal.parent = o.value, $.modal.top = o.value.offsetTop + o.value.offsetHeight, $.modal.left = o.value.offsetLeft, $.modal.width = r.value, $.modal.height = s.value, typeof c.modalComponent == "function" ? $.modal.component = c.modalComponent({ table: $.table, row: l, column: c }) : $.modal.component = c.modalComponent, $.modal.componentProps = c.modalComponentExtraProps;
4852
+ }), h = () => {
4853
+ const { left: N, bottom: $, width: D, height: W } = Wr(o);
4854
+ i.mask, i.modalComponent && e.store.$patch((R) => {
4855
+ R.modal.visible = !0, R.modal.colIndex = e.colIndex, R.modal.rowIndex = e.rowIndex, R.modal.left = N, R.modal.bottom = $, R.modal.width = D, R.modal.height = W, typeof i.modalComponent == "function" ? R.modal.component = i.modalComponent({ table: R.table, row: d, column: i }) : R.modal.component = i.modalComponent, R.modal.componentProps = i.modalComponentExtraProps;
4821
4856
  });
4822
4857
  };
4823
4858
  if (e.addNavigation) {
4824
- let $ = {
4825
- ...Bn,
4826
- "keydown.f2": _,
4827
- "keydown.alt.up": _,
4828
- "keydown.alt.down": _,
4829
- "keydown.alt.left": _,
4830
- "keydown.alt.right": _
4859
+ let N = {
4860
+ ...Un,
4861
+ "keydown.f2": h,
4862
+ "keydown.alt.up": h,
4863
+ "keydown.alt.down": h,
4864
+ "keydown.alt.left": h,
4865
+ "keydown.alt.right": h
4831
4866
  };
4832
- typeof e.addNavigation == "object" && ($ = {
4833
- ...$,
4867
+ typeof e.addNavigation == "object" && (N = {
4868
+ ...N,
4834
4869
  ...e.addNavigation
4835
4870
  }), Rr([
4836
4871
  {
4837
4872
  selectors: o,
4838
- handlers: $
4873
+ handlers: N
4839
4874
  }
4840
4875
  ]);
4841
4876
  }
4842
- const x = () => {
4843
- o.value && (i.value = o.value.textContent);
4844
- }, N = ($) => {
4845
- const j = $.target;
4846
- j.textContent !== i.value && (n("cellInput", e.colIndex, e.rowIndex, j.textContent, i.value), i.value = j.textContent, c.format ? (d.value = j.textContent !== e.store.getFormattedValue(e.colIndex, e.rowIndex, a), e.store.setCellText(e.colIndex, e.rowIndex, j.textContent)) : (d.value = j.textContent !== a, e.store.setCellData(e.colIndex, e.rowIndex, j.textContent)));
4877
+ const b = () => {
4878
+ o.value && (s.value = o.value.textContent);
4879
+ }, _ = (N) => {
4880
+ const $ = N.target;
4881
+ $.textContent !== s.value && (n("cellInput", e.colIndex, e.rowIndex, $.textContent, s.value), s.value = $.textContent, i.format ? (a.value = $.textContent !== e.store.getFormattedValue(e.colIndex, e.rowIndex, r), e.store.setCellText(e.colIndex, e.rowIndex, $.textContent)) : (a.value = $.textContent !== r, e.store.setCellData(e.colIndex, e.rowIndex, $.textContent)));
4847
4882
  };
4848
- return ($, j) => (A(), B("td", {
4883
+ return (N, $) => (A(), B("td", {
4849
4884
  ref: "cell",
4850
- "data-colindex": $.colIndex,
4851
- "data-rowindex": $.rowIndex,
4852
- "data-editable": S(c).edit,
4853
- contenteditable: S(c).edit,
4854
- tabindex: $.tabIndex,
4885
+ "data-colindex": N.colIndex,
4886
+ "data-rowindex": N.rowIndex,
4887
+ "data-editable": P(i).edit,
4888
+ contenteditable: P(i).edit,
4889
+ tabindex: N.tabIndex,
4855
4890
  spellcheck: !1,
4856
- style: le(b.value),
4857
- onFocus: x,
4858
- onPaste: N,
4859
- onInput: N,
4860
- onClick: _,
4861
- class: Ve(["atable-cell", $.pinned ? "sticky-column" : ""])
4891
+ style: le(f.value),
4892
+ onFocus: b,
4893
+ onPaste: _,
4894
+ onInput: _,
4895
+ onClick: h,
4896
+ class: Ve(["atable-cell", N.pinned ? "sticky-column" : ""])
4862
4897
  }, [
4863
- S(c).cellComponent ? (A(), Ie(yn(S(c).cellComponent), bn({
4898
+ P(i).cellComponent ? (A(), Ie(wn(P(i).cellComponent), _n({
4864
4899
  key: 0,
4865
- value: f.value
4866
- }, S(c).cellComponentProps), null, 16, ["value"])) : h.value ? (A(), B("span", {
4900
+ value: l.value
4901
+ }, P(i).cellComponentProps), null, 16, ["value"])) : p.value ? (A(), B("span", {
4867
4902
  key: 1,
4868
- innerHTML: f.value
4869
- }, null, 8, il)) : (A(), B("span", cl, ve(f.value), 1))
4870
- ], 46, al));
4903
+ innerHTML: l.value
4904
+ }, null, 8, cl)) : (A(), B("span", ll, ve(l.value), 1))
4905
+ ], 46, il));
4871
4906
  }
4872
- }), ul = ["tabindex"], dl = /* @__PURE__ */ ae({
4907
+ }), dl = ["tabindex"], pl = /* @__PURE__ */ ae({
4873
4908
  __name: "ARow",
4874
4909
  props: {
4875
4910
  rowIndex: {},
@@ -4878,9 +4913,9 @@ const sl = (e) => {
4878
4913
  addNavigation: { type: [Boolean, Object], default: !1 }
4879
4914
  },
4880
4915
  setup(e) {
4881
- const t = ht("rowEl"), n = R(() => e.store.isRowVisible(e.rowIndex)), o = R(() => e.store.getRowExpandSymbol(e.rowIndex));
4916
+ const t = ht("rowEl"), n = j(() => e.store.isRowVisible(e.rowIndex)), o = j(() => e.store.getRowExpandSymbol(e.rowIndex));
4882
4917
  if (e.addNavigation) {
4883
- let r = Bn;
4918
+ let r = Un;
4884
4919
  typeof e.addNavigation == "object" && (r = {
4885
4920
  ...r,
4886
4921
  ...e.addNavigation
@@ -4909,11 +4944,11 @@ const sl = (e) => {
4909
4944
  }, ve(o.value), 3)) : ge("", !0)
4910
4945
  ]) : ge("", !0),
4911
4946
  ke(r.$slots, "default")
4912
- ], 8, ul)), [
4913
- [gn, n.value]
4947
+ ], 8, dl)), [
4948
+ [bn, n.value]
4914
4949
  ]);
4915
4950
  }
4916
- }), Ur = Wn ? window : void 0;
4951
+ }), Ur = Hn ? window : void 0;
4917
4952
  function st(e) {
4918
4953
  var t;
4919
4954
  const n = se(e);
@@ -4925,15 +4960,15 @@ function Ct(...e) {
4925
4960
  return ze;
4926
4961
  Array.isArray(n) || (n = [n]), Array.isArray(o) || (o = [o]);
4927
4962
  const s = [], a = () => {
4928
- s.forEach((l) => l()), s.length = 0;
4929
- }, i = (l, u, p, f) => (l.addEventListener(u, p, f), () => l.removeEventListener(u, p, f)), d = G(
4963
+ s.forEach((u) => u()), s.length = 0;
4964
+ }, i = (u, l, p, f) => (u.addEventListener(l, p, f), () => u.removeEventListener(l, p, f)), d = G(
4930
4965
  () => [st(t), se(r)],
4931
- ([l, u]) => {
4932
- if (a(), !l)
4966
+ ([u, l]) => {
4967
+ if (a(), !u)
4933
4968
  return;
4934
- const p = Lr(u) ? { ...u } : u;
4969
+ const p = Mr(l) ? { ...l } : l;
4935
4970
  s.push(
4936
- ...n.flatMap((f) => o.map((h) => i(l, f, h, p)))
4971
+ ...n.flatMap((f) => o.map((h) => i(u, f, h, p)))
4937
4972
  );
4938
4973
  },
4939
4974
  { immediate: !0, flush: "post" }
@@ -4947,7 +4982,7 @@ function To(e, t, n = {}) {
4947
4982
  const { window: o = Ur, ignore: r = [], capture: s = !0, detectIframe: a = !1 } = n;
4948
4983
  if (!o)
4949
4984
  return ze;
4950
- vn && !Ao && (Ao = !0, Array.from(o.document.body.children).forEach((h) => h.addEventListener("click", ze)), o.document.documentElement.addEventListener("click", ze));
4985
+ gn && !Ao && (Ao = !0, Array.from(o.document.body.children).forEach((h) => h.addEventListener("click", ze)), o.document.documentElement.addEventListener("click", ze));
4951
4986
  let i = !0;
4952
4987
  const d = (h) => se(r).some((b) => {
4953
4988
  if (typeof b == "string")
@@ -4961,13 +4996,13 @@ function To(e, t, n = {}) {
4961
4996
  const b = se(h);
4962
4997
  return b && b.$.subTree.shapeFlag === 16;
4963
4998
  }
4964
- function l(h, b) {
4965
- const _ = se(h), x = _.$.subTree && _.$.subTree.children;
4966
- return x == null || !Array.isArray(x) ? !1 : x.some((N) => N.el === b.target || b.composedPath().includes(N.el));
4999
+ function u(h, b) {
5000
+ const _ = se(h), N = _.$.subTree && _.$.subTree.children;
5001
+ return N == null || !Array.isArray(N) ? !1 : N.some(($) => $.el === b.target || b.composedPath().includes($.el));
4967
5002
  }
4968
- const u = (h) => {
5003
+ const l = (h) => {
4969
5004
  const b = st(e);
4970
- if (h.target != null && !(!(b instanceof Element) && c(e) && l(e, h)) && !(!b || b === h.target || h.composedPath().includes(b))) {
5005
+ if (h.target != null && !(!(b instanceof Element) && c(e) && u(e, h)) && !(!b || b === h.target || h.composedPath().includes(b))) {
4971
5006
  if (h.detail === 0 && (i = !d(h)), !i) {
4972
5007
  i = !0;
4973
5008
  return;
@@ -4980,7 +5015,7 @@ function To(e, t, n = {}) {
4980
5015
  Ct(o, "click", (h) => {
4981
5016
  p || (p = !0, setTimeout(() => {
4982
5017
  p = !1;
4983
- }, 0), u(h));
5018
+ }, 0), l(h));
4984
5019
  }, { passive: !0, capture: s }),
4985
5020
  Ct(o, "pointerdown", (h) => {
4986
5021
  const b = st(e);
@@ -4996,7 +5031,7 @@ function To(e, t, n = {}) {
4996
5031
  ].filter(Boolean);
4997
5032
  return () => f.forEach((h) => h());
4998
5033
  }
4999
- const pl = {
5034
+ const fl = {
5000
5035
  mounted(e, t) {
5001
5036
  const n = !t.modifiers.bubble;
5002
5037
  if (typeof t.value == "function")
@@ -5010,7 +5045,7 @@ const pl = {
5010
5045
  e.__onClickOutside_stop();
5011
5046
  }
5012
5047
  };
5013
- function tn(e) {
5048
+ function nn(e) {
5014
5049
  return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
5015
5050
  }
5016
5051
  function Hr(e) {
@@ -5022,19 +5057,19 @@ function Hr(e) {
5022
5057
  return !n || n.tagName === "BODY" ? !1 : Hr(n);
5023
5058
  }
5024
5059
  }
5025
- function fl(e) {
5060
+ function hl(e) {
5026
5061
  const t = e || window.event, n = t.target;
5027
5062
  return Hr(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
5028
5063
  }
5029
- const nn = /* @__PURE__ */ new WeakMap();
5030
- function hl(e, t = !1) {
5031
- const n = C(t);
5064
+ const on = /* @__PURE__ */ new WeakMap();
5065
+ function ml(e, t = !1) {
5066
+ const n = x(t);
5032
5067
  let o = null, r = "";
5033
5068
  G(tl(e), (i) => {
5034
- const d = tn(se(i));
5069
+ const d = nn(se(i));
5035
5070
  if (d) {
5036
5071
  const c = d;
5037
- if (nn.get(c) || nn.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
5072
+ if (on.get(c) || on.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
5038
5073
  return n.value = !0;
5039
5074
  if (n.value)
5040
5075
  return c.style.overflow = "hidden";
@@ -5043,20 +5078,20 @@ function hl(e, t = !1) {
5043
5078
  immediate: !0
5044
5079
  });
5045
5080
  const s = () => {
5046
- const i = tn(se(e));
5047
- !i || n.value || (vn && (o = Ct(
5081
+ const i = nn(se(e));
5082
+ !i || n.value || (gn && (o = Ct(
5048
5083
  i,
5049
5084
  "touchmove",
5050
5085
  (d) => {
5051
- fl(d);
5086
+ hl(d);
5052
5087
  },
5053
5088
  { passive: !1 }
5054
5089
  )), i.style.overflow = "hidden", n.value = !0);
5055
5090
  }, a = () => {
5056
- const i = tn(se(e));
5057
- !i || !n.value || (vn && (o == null || o()), i.style.overflow = r, nn.delete(i), n.value = !1);
5091
+ const i = nn(se(e));
5092
+ !i || !n.value || (gn && (o == null || o()), i.style.overflow = r, on.delete(i), n.value = !1);
5058
5093
  };
5059
- return vt(a), R({
5094
+ return vt(a), j({
5060
5095
  get() {
5061
5096
  return n.value;
5062
5097
  },
@@ -5065,33 +5100,33 @@ function hl(e, t = !1) {
5065
5100
  }
5066
5101
  });
5067
5102
  }
5068
- function ml() {
5103
+ function vl() {
5069
5104
  let e = !1;
5070
- const t = C(!1);
5105
+ const t = x(!1);
5071
5106
  return (n, o) => {
5072
5107
  if (t.value = o.value, e)
5073
5108
  return;
5074
5109
  e = !0;
5075
- const r = hl(n, o.value);
5110
+ const r = ml(n, o.value);
5076
5111
  G(t, (s) => r.value = s);
5077
5112
  };
5078
5113
  }
5079
- ml();
5080
- const vl = {
5114
+ vl();
5115
+ const gl = {
5081
5116
  key: 0,
5082
5117
  id: "resizable"
5083
- }, gl = {
5118
+ }, yl = {
5084
5119
  class: "atable-header-row",
5085
5120
  tabindex: "-1"
5086
- }, yl = /* @__PURE__ */ ae({
5121
+ }, bl = /* @__PURE__ */ ae({
5087
5122
  __name: "ATableHeader",
5088
5123
  props: {
5089
5124
  columns: {},
5090
5125
  store: {}
5091
5126
  },
5092
5127
  setup(e) {
5093
- return (t, n) => t.columns.length ? (A(), B("thead", vl, [
5094
- W("tr", gl, [
5128
+ return (t, n) => t.columns.length ? (A(), B("thead", gl, [
5129
+ U("tr", yl, [
5095
5130
  t.store.zeroColumn ? (A(), B("th", {
5096
5131
  key: 0,
5097
5132
  id: "header-index",
@@ -5108,59 +5143,62 @@ const vl = {
5108
5143
  class: Ve(o.pinned ? "sticky-column" : "")
5109
5144
  }, [
5110
5145
  ke(t.$slots, "default", {}, () => [
5111
- Lo(ve(o.label || String.fromCharCode(r + 97).toUpperCase()), 1)
5146
+ Mo(ve(o.label || String.fromCharCode(r + 97).toUpperCase()), 1)
5112
5147
  ])
5113
5148
  ], 6))), 128))
5114
5149
  ])
5115
5150
  ])) : ge("", !0);
5116
5151
  }
5117
- }), bl = /* @__PURE__ */ ae({
5152
+ }), wl = /* @__PURE__ */ ae({
5118
5153
  __name: "ATableModal",
5119
5154
  props: {
5120
- colIndex: {},
5121
- rowIndex: {},
5122
- store: {},
5123
- container: {}
5155
+ store: {}
5124
5156
  },
5125
5157
  setup(e) {
5126
- const t = ht("amodal"), { width: n, height: o } = Wr(t), r = R(() => {
5127
- var a, i;
5128
- const d = ((a = e.container) == null ? void 0 : a.offsetWidth) || 0, c = ((i = e.container) == null ? void 0 : i.offsetHeight) || 0, l = e.store.modal.left + n.value > d ? e.store.modal.left - (n.value - e.store.modal.width) : e.store.modal.left, u = e.store.modal.top + o.value > c ? e.store.modal.top - o.value - e.store.modal.height : e.store.modal.top;
5158
+ const t = ht("amodal"), { width: n, height: o } = Wr(t), { y: r } = sl(), s = j(() => {
5159
+ if (!(e.store.modal.height && e.store.modal.width && e.store.modal.left && e.store.modal.bottom)) return;
5160
+ const i = document.body, d = document.documentElement, c = Math.max(
5161
+ i.scrollHeight,
5162
+ i.offsetHeight,
5163
+ d.clientHeight,
5164
+ d.scrollHeight,
5165
+ d.offsetHeight
5166
+ ), u = Math.max(i.scrollWidth, i.offsetWidth, d.clientWidth, d.scrollWidth, d.offsetWidth), l = e.store.modal.bottom + o.value + r.value <= c ? e.store.modal.bottom : e.store.modal.bottom - o.value - e.store.modal.height;
5129
5167
  return {
5130
- left: `${l}px`,
5131
- top: `${u}px`
5168
+ left: `${e.store.modal.left + n.value <= u ? e.store.modal.left : e.store.modal.left - (n.value - e.store.modal.width)}px`,
5169
+ top: `${l}px`
5132
5170
  };
5133
- }), s = (a) => {
5134
- a.stopPropagation();
5171
+ }), a = (i) => {
5172
+ i.stopPropagation();
5135
5173
  };
5136
- return (a, i) => (A(), B("div", {
5174
+ return (i, d) => (A(), B("div", {
5137
5175
  class: "amodal",
5138
5176
  ref: "amodal",
5139
5177
  tabindex: "-1",
5140
- onClick: s,
5141
- onInput: s,
5142
- style: le(r.value)
5178
+ onClick: a,
5179
+ onInput: a,
5180
+ style: le(s.value)
5143
5181
  }, [
5144
- ke(a.$slots, "default")
5182
+ ke(i.$slots, "default")
5145
5183
  ], 36));
5146
5184
  }
5147
- }), wl = (e) => {
5185
+ }), _l = (e) => {
5148
5186
  const t = e.id || crypto.randomUUID();
5149
5187
  return (/* @__PURE__ */ Ac(`table-${t}`, () => {
5150
5188
  const n = () => {
5151
5189
  const m = {};
5152
- for (const [P, w] of r.value.entries())
5190
+ for (const [S, w] of r.value.entries())
5153
5191
  for (const [v, y] of s.value.entries())
5154
- m[`${P}:${v}`] = y[w.name];
5192
+ m[`${S}:${v}`] = y[w.name];
5155
5193
  return m;
5156
5194
  }, o = (m) => {
5157
- const P = [Object.assign({}, { rowModified: !1 })];
5195
+ const S = [Object.assign({}, { rowModified: !1 })];
5158
5196
  if (m && "0:0" in m)
5159
5197
  return m;
5160
5198
  const w = /* @__PURE__ */ new Set();
5161
5199
  for (let v = s.value.length - 1; v >= 0; v--) {
5162
5200
  const y = s.value[v];
5163
- y.parent && w.add(y.parent), P[v] = {
5201
+ y.parent && w.add(y.parent), S[v] = {
5164
5202
  childrenOpen: !1,
5165
5203
  expanded: !1,
5166
5204
  indent: y.indent || 0,
@@ -5171,31 +5209,31 @@ const vl = {
5171
5209
  parent: y.parent
5172
5210
  };
5173
5211
  }
5174
- return P;
5175
- }, r = C(e.columns), s = C(e.rows), a = C(e.config || {}), i = C(e.table || n()), d = C(o(e.display)), c = C(e.modal || { visible: !1 }), l = C({}), u = R(() => r.value.some((m) => m.pinned)), p = R(() => `${Math.ceil(s.value.length / 100 + 1)}ch`), f = R(
5212
+ return S;
5213
+ }, r = x(e.columns), s = x(e.rows), a = x(e.config || {}), i = x(e.table || n()), d = x(o(e.display)), c = x(e.modal || { visible: !1 }), u = x({}), l = j(() => r.value.some((m) => m.pinned)), p = j(() => `${Math.ceil(s.value.length / 100 + 1)}ch`), f = j(
5176
5214
  () => a.value.view ? ["list", "tree", "list-expansion"].includes(a.value.view) : !1
5177
- ), h = (m, P) => i.value[`${m}:${P}`], b = (m, P, w) => {
5178
- const v = `${m}:${P}`, y = r.value[m];
5179
- i.value[v] !== w && (d.value[P].rowModified = !0), i.value[v] = w, s.value[P][y.name] = w;
5180
- }, _ = (m, P, w) => {
5181
- const v = `${m}:${P}`;
5182
- i.value[v] !== w && (d.value[P].rowModified = !0, l.value[v] = w);
5183
- }, x = (m) => ({
5215
+ ), h = (m, S) => i.value[`${m}:${S}`], b = (m, S, w) => {
5216
+ const v = `${m}:${S}`, y = r.value[m];
5217
+ i.value[v] !== w && (d.value[S].rowModified = !0), i.value[v] = w, s.value[S][y.name] = w;
5218
+ }, _ = (m, S, w) => {
5219
+ const v = `${m}:${S}`;
5220
+ i.value[v] !== w && (d.value[S].rowModified = !0, u.value[v] = w);
5221
+ }, N = (m) => ({
5184
5222
  minWidth: m.width || "40ch",
5185
5223
  textAlign: m.align || "center",
5186
5224
  width: a.value.fullWidth ? "auto" : void 0
5187
- }), N = (m) => a.value.view !== "tree" || d.value[m].isRoot || d.value[m].open, $ = (m) => a.value.view !== "tree" ? "" : d.value[m].isRoot || d.value[m].isParent ? d.value[m].childrenOpen ? "-" : "+" : "", j = (m) => {
5225
+ }), $ = (m) => a.value.view !== "tree" || d.value[m].isRoot || d.value[m].open, D = (m) => a.value.view !== "tree" ? "" : d.value[m].isRoot || d.value[m].isParent ? d.value[m].childrenOpen ? "-" : "+" : "", W = (m) => {
5188
5226
  if (a.value.view === "tree") {
5189
5227
  d.value[m].childrenOpen = !d.value[m].childrenOpen;
5190
- for (let P = s.value.length - 1; P >= 0; P--)
5191
- d.value[P].parent === m && (d.value[P].open = !d.value[P].open, d.value[P].childrenOpen && j(P));
5228
+ for (let S = s.value.length - 1; S >= 0; S--)
5229
+ d.value[S].parent === m && (d.value[S].open = !d.value[S].open, d.value[S].childrenOpen && W(S));
5192
5230
  } else a.value.view === "list-expansion" && (d.value[m].expanded = !d.value[m].expanded);
5193
- }, H = (m, P) => {
5194
- const w = h(m, P);
5195
- return Y(m, P, w);
5196
- }, Y = (m, P, w) => {
5197
- const v = r.value[m], y = s.value[P], I = v.format;
5198
- return I ? typeof I == "function" ? I(w, { table: i.value, row: y, column: v }) : typeof I == "string" ? Function(`"use strict";return (${I})`)()(w, { table: i.value, row: y, column: v }) : w : w;
5231
+ }, R = (m, S) => {
5232
+ const w = h(m, S);
5233
+ return Y(m, S, w);
5234
+ }, Y = (m, S, w) => {
5235
+ const v = r.value[m], y = s.value[S], C = v.format;
5236
+ return C ? typeof C == "function" ? C(w, { table: i.value, row: y, column: v }) : typeof C == "string" ? Function(`"use strict";return (${C})`)()(w, { table: i.value, row: y, column: v }) : w : w;
5199
5237
  };
5200
5238
  return {
5201
5239
  // state
@@ -5205,29 +5243,29 @@ const vl = {
5205
5243
  modal: c,
5206
5244
  rows: s,
5207
5245
  table: i,
5208
- updates: l,
5246
+ updates: u,
5209
5247
  // getters
5210
- hasPinnedColumns: u,
5248
+ hasPinnedColumns: l,
5211
5249
  numberedRowWidth: p,
5212
5250
  zeroColumn: f,
5213
5251
  // actions
5214
5252
  closeModal: (m) => {
5215
- var P;
5216
- m.target instanceof Node && (P = c.value.parent) != null && P.contains(m.target) || c.value.visible && (c.value.visible = !1);
5253
+ var S;
5254
+ m.target instanceof Node && (S = c.value.parent) != null && S.contains(m.target) || c.value.visible && (c.value.visible = !1);
5217
5255
  },
5218
5256
  getCellData: h,
5219
- getCellDisplayValue: H,
5257
+ getCellDisplayValue: R,
5220
5258
  getFormattedValue: Y,
5221
- getHeaderCellStyle: x,
5222
- getIndent: (m, P) => P && m === 0 && P > 0 ? `${P}ch` : "inherit",
5223
- getRowExpandSymbol: $,
5224
- isRowVisible: N,
5259
+ getHeaderCellStyle: N,
5260
+ getIndent: (m, S) => S && m === 0 && S > 0 ? `${S}ch` : "inherit",
5261
+ getRowExpandSymbol: D,
5262
+ isRowVisible: $,
5225
5263
  setCellData: b,
5226
5264
  setCellText: _,
5227
- toggleRowExpand: j
5265
+ toggleRowExpand: W
5228
5266
  };
5229
5267
  }))();
5230
- }, _l = /* @__PURE__ */ ae({
5268
+ }, El = /* @__PURE__ */ ae({
5231
5269
  __name: "ATable",
5232
5270
  props: {
5233
5271
  id: {},
@@ -5238,10 +5276,10 @@ const vl = {
5238
5276
  },
5239
5277
  emits: ["update:modelValue", "cellUpdate"],
5240
5278
  setup(e, { expose: t, emit: n }) {
5241
- const o = n, r = ht("table"), s = e.modelValue ? e.modelValue : e.rows, a = wl({ columns: e.columns, rows: s, id: e.id, config: e.config });
5242
- a.$onAction(({ name: c, store: l, args: u, after: p }) => {
5279
+ const o = n, r = ht("table"), s = e.modelValue ? e.modelValue : e.rows, a = _l({ columns: e.columns, rows: s, id: e.id, config: e.config });
5280
+ a.$onAction(({ name: c, store: u, args: l, after: p }) => {
5243
5281
  if (c === "setCellData") {
5244
- const [f, h, b] = u, _ = l.getCellData(f, h);
5282
+ const [f, h, b] = l, _ = u.getCellData(f, h);
5245
5283
  p(() => {
5246
5284
  o("cellUpdate", f, h, b, _);
5247
5285
  });
@@ -5255,15 +5293,15 @@ const vl = {
5255
5293
  ), Ke(() => {
5256
5294
  e.columns.some((c) => c.pinned) && (d(), a.config.view === "tree" && Br(r, d, { childList: !0, subtree: !0 }));
5257
5295
  });
5258
- const i = (c, l, u, p) => {
5259
- o("cellUpdate", c, l, u, p);
5296
+ const i = (c, u, l, p) => {
5297
+ o("cellUpdate", c, u, l, p);
5260
5298
  }, d = () => {
5261
- const c = r.value, l = c.rows[0], u = c.rows[1], p = l ? Array.from(l.cells) : [];
5299
+ const c = r.value, u = c == null ? void 0 : c.rows[0], l = c == null ? void 0 : c.rows[1], p = u ? Array.from(u.cells) : [];
5262
5300
  for (const [f, h] of p.entries()) {
5263
- const b = u == null ? void 0 : u.cells[f];
5301
+ const b = l == null ? void 0 : l.cells[f];
5264
5302
  b && (h.style.width = `${b.offsetWidth}px`);
5265
5303
  }
5266
- for (const f of c.rows) {
5304
+ for (const f of (c == null ? void 0 : c.rows) || []) {
5267
5305
  let h = 0;
5268
5306
  const b = [];
5269
5307
  for (const _ of f.cells)
@@ -5274,34 +5312,34 @@ const vl = {
5274
5312
  return window.addEventListener("keydown", (c) => {
5275
5313
  if (c.key === "Escape" && a.modal.visible) {
5276
5314
  a.modal.visible = !1;
5277
- const l = a.modal.parent;
5278
- l && xe().then(() => {
5279
- l.focus();
5315
+ const u = a.modal.parent;
5316
+ u && xe().then(() => {
5317
+ u.focus();
5280
5318
  });
5281
5319
  }
5282
- }), t({ store: a }), (c, l) => lt((A(), B("table", {
5320
+ }), t({ store: a }), (c, u) => lt((A(), B("table", {
5283
5321
  ref: "table",
5284
5322
  class: "atable",
5285
- style: le({ width: S(a).config.fullWidth ? "100%" : "auto" })
5323
+ style: le({ width: P(a).config.fullWidth ? "100%" : "auto" })
5286
5324
  }, [
5287
- ke(c.$slots, "header", { data: S(a) }, () => [
5288
- It(yl, {
5289
- columns: S(a).columns,
5290
- store: S(a)
5325
+ ke(c.$slots, "header", { data: P(a) }, () => [
5326
+ It(bl, {
5327
+ columns: P(a).columns,
5328
+ store: P(a)
5291
5329
  }, null, 8, ["columns", "store"])
5292
5330
  ], !0),
5293
- W("tbody", null, [
5294
- ke(c.$slots, "body", { data: S(a) }, () => [
5295
- (A(!0), B(Ae, null, Te(S(a).rows, (u, p) => (A(), Ie(dl, {
5296
- key: u.id,
5297
- row: u,
5331
+ U("tbody", null, [
5332
+ ke(c.$slots, "body", { data: P(a) }, () => [
5333
+ (A(!0), B(Ae, null, Te(P(a).rows, (l, p) => (A(), Ie(pl, {
5334
+ key: l.id,
5335
+ row: l,
5298
5336
  rowIndex: p,
5299
- store: S(a)
5337
+ store: P(a)
5300
5338
  }, {
5301
5339
  default: Dt(() => [
5302
- (A(!0), B(Ae, null, Te(S(a).columns, (f, h) => (A(), Ie(ll, {
5340
+ (A(!0), B(Ae, null, Te(P(a).columns, (f, h) => (A(), Ie(ul, {
5303
5341
  key: f.name,
5304
- store: S(a),
5342
+ store: P(a),
5305
5343
  col: f,
5306
5344
  spellcheck: "false",
5307
5345
  pinned: f.pinned,
@@ -5311,7 +5349,7 @@ const vl = {
5311
5349
  style: le({
5312
5350
  textAlign: (f == null ? void 0 : f.align) || "center",
5313
5351
  minWidth: (f == null ? void 0 : f.width) || "40ch",
5314
- width: S(a).config.fullWidth ? "auto" : null
5352
+ width: P(a).config.fullWidth ? "auto" : null
5315
5353
  }),
5316
5354
  onCellInput: i
5317
5355
  }, null, 8, ["store", "col", "pinned", "rowIndex", "colIndex", "component", "style"]))), 128))
@@ -5320,48 +5358,43 @@ const vl = {
5320
5358
  }, 1032, ["row", "rowIndex", "store"]))), 128))
5321
5359
  ], !0)
5322
5360
  ]),
5323
- ke(c.$slots, "footer", { data: S(a) }, void 0, !0),
5324
- ke(c.$slots, "modal", { data: S(a) }, () => [
5325
- lt(It(bl, {
5326
- colIndex: S(a).modal.colIndex,
5327
- rowIndex: S(a).modal.rowIndex,
5328
- store: S(a),
5329
- container: S(r)
5330
- }, {
5361
+ ke(c.$slots, "footer", { data: P(a) }, void 0, !0),
5362
+ ke(c.$slots, "modal", { data: P(a) }, () => [
5363
+ lt(It(wl, { store: P(a) }, {
5331
5364
  default: Dt(() => [
5332
- (A(), Ie(yn(S(a).modal.component), bn({
5333
- key: `${S(a).modal.rowIndex}:${S(a).modal.colIndex}`,
5334
- colIndex: S(a).modal.colIndex,
5335
- rowIndex: S(a).modal.rowIndex,
5336
- store: S(a)
5337
- }, S(a).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
5365
+ (A(), Ie(wn(P(a).modal.component), _n({
5366
+ key: `${P(a).modal.rowIndex}:${P(a).modal.colIndex}`,
5367
+ colIndex: P(a).modal.colIndex,
5368
+ rowIndex: P(a).modal.rowIndex,
5369
+ store: P(a)
5370
+ }, P(a).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
5338
5371
  ]),
5339
5372
  _: 1
5340
- }, 8, ["colIndex", "rowIndex", "store", "container"]), [
5341
- [gn, S(a).modal.visible]
5373
+ }, 8, ["store"]), [
5374
+ [bn, P(a).modal.visible]
5342
5375
  ])
5343
5376
  ], !0)
5344
5377
  ], 4)), [
5345
- [S(pl), S(a).closeModal]
5378
+ [P(fl), P(a).closeModal]
5346
5379
  ]);
5347
5380
  }
5348
- }), El = (e, t) => {
5381
+ }), kl = (e, t) => {
5349
5382
  const n = e.__vccOpts || e;
5350
5383
  for (const [o, r] of t)
5351
5384
  n[o] = r;
5352
5385
  return n;
5353
- }, kl = /* @__PURE__ */ El(_l, [["__scopeId", "data-v-7480394f"]]), $l = /* @__PURE__ */ ae({
5386
+ }, $l = /* @__PURE__ */ kl(El, [["__scopeId", "data-v-bd5101d3"]]), Nl = /* @__PURE__ */ ae({
5354
5387
  __name: "Records",
5355
5388
  setup(e) {
5356
5389
  const { stonecrop: t, isReady: n } = Zo(), o = { view: "list" };
5357
- return (r, s) => S(n) ? (A(), Ie(S(kl), {
5390
+ return (r, s) => P(n) ? (A(), Ie(P($l), {
5358
5391
  key: 0,
5359
- columns: S(t).schema.schema.toArray(),
5360
- rows: S(t).store.records,
5392
+ columns: P(t).schema.schema.toArray(),
5393
+ rows: P(t).store.records,
5361
5394
  config: o
5362
5395
  }, null, 8, ["columns", "rows"])) : ge("", !0);
5363
5396
  }
5364
- }), Ol = { class: "tabs" }, Nl = { tabindex: "0" }, xl = {
5397
+ }), Ol = { class: "tabs" }, xl = { tabindex: "0" }, Sl = {
5365
5398
  version: "1.1",
5366
5399
  id: "Capa_1",
5367
5400
  xmlns: "http://www.w3.org/2000/svg",
@@ -5371,43 +5404,43 @@ const vl = {
5371
5404
  viewBox: "0 0 424.098 424.098",
5372
5405
  style: { "enable-background": "new 0 0 424.098 424.098" },
5373
5406
  "xml:space": "preserve"
5374
- }, Sl = { tabindex: "0" }, Cl = { style: { width: "11pt" } }, Pl = /* @__PURE__ */ ae({
5407
+ }, Cl = { tabindex: "0" }, Pl = { style: { width: "11pt" } }, Il = /* @__PURE__ */ ae({
5375
5408
  __name: "SheetNav",
5376
5409
  props: {
5377
5410
  breadcrumbs: { default: () => [] }
5378
5411
  },
5379
5412
  setup(e) {
5380
- const t = C(!0), n = C(!1), o = C(""), r = ht("searchinput"), s = R(() => t.value ? "unrotated" : "rotated"), a = () => {
5413
+ const t = x(!0), n = x(!1), o = x(""), r = ht("searchinput"), s = j(() => t.value ? "unrotated" : "rotated"), a = () => {
5381
5414
  t.value = !t.value;
5382
5415
  }, i = async () => {
5383
5416
  n.value = !n.value, await xe(() => {
5384
5417
  r.value.focus();
5385
5418
  });
5386
- }, d = (u) => {
5387
- u.preventDefault(), u.stopPropagation();
5388
- }, c = async (u) => {
5389
- u.preventDefault(), u.stopPropagation(), await i();
5390
- }, l = () => {
5419
+ }, d = (l) => {
5420
+ l.preventDefault(), l.stopPropagation();
5421
+ }, c = async (l) => {
5422
+ l.preventDefault(), l.stopPropagation(), await i();
5423
+ }, u = () => {
5391
5424
  };
5392
- return (u, p) => {
5425
+ return (l, p) => {
5393
5426
  const f = Xr("router-link");
5394
5427
  return A(), B("footer", null, [
5395
- W("ul", Ol, [
5396
- W("li", {
5428
+ U("ul", Ol, [
5429
+ U("li", {
5397
5430
  class: "hidebreadcrumbs",
5398
5431
  onClick: a,
5399
5432
  onKeydown: yt(a, ["enter"])
5400
5433
  }, [
5401
- W("a", Nl, [
5402
- W("div", {
5434
+ U("a", xl, [
5435
+ U("div", {
5403
5436
  class: Ve(s.value)
5404
5437
  }, "×", 2)
5405
5438
  ])
5406
5439
  ], 32),
5407
- W("li", {
5440
+ U("li", {
5408
5441
  class: "hometab",
5409
- onClick: l,
5410
- onKeydown: yt(l, ["enter"]),
5442
+ onClick: u,
5443
+ onKeydown: yt(u, ["enter"]),
5411
5444
  style: le({ display: t.value ? "block" : "none" })
5412
5445
  }, [
5413
5446
  It(f, {
@@ -5415,9 +5448,9 @@ const vl = {
5415
5448
  tabindex: "0"
5416
5449
  }, {
5417
5450
  default: Dt(() => [
5418
- (A(), B("svg", xl, p[5] || (p[5] = [
5419
- W("g", null, [
5420
- W("path", {
5451
+ (A(), B("svg", Sl, p[5] || (p[5] = [
5452
+ U("g", null, [
5453
+ U("path", {
5421
5454
  style: { fill: "#010002" },
5422
5455
  d: `M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
5423
5456
  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
@@ -5435,19 +5468,19 @@ const vl = {
5435
5468
  _: 1
5436
5469
  })
5437
5470
  ], 36),
5438
- W("li", {
5471
+ U("li", {
5439
5472
  class: "searchtab",
5440
5473
  onClick: i,
5441
5474
  onKeydown: yt(i, ["enter"]),
5442
5475
  style: le({ display: t.value ? "block" : "none" })
5443
5476
  }, [
5444
- W("a", Sl, [
5445
- W("span", {
5477
+ U("a", Cl, [
5478
+ U("span", {
5446
5479
  style: le({ display: n.value ? "none" : "block" })
5447
5480
  }, [
5448
- (A(), B("svg", Cl, p[6] || (p[6] = [
5449
- W("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5450
- W("path", {
5481
+ (A(), B("svg", Pl, p[6] || (p[6] = [
5482
+ U("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
5483
+ U("path", {
5451
5484
  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",
5452
5485
  style: { fill: "#000000", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none" },
5453
5486
  id: "path2"
@@ -5455,7 +5488,7 @@ const vl = {
5455
5488
  ], -1)
5456
5489
  ])))
5457
5490
  ], 4),
5458
- lt(W("input", {
5491
+ lt(U("input", {
5459
5492
  "onUpdate:modelValue": p[0] || (p[0] = (h) => o.value = h),
5460
5493
  ref: "searchinput",
5461
5494
  style: le({ display: n.value ? "block" : "none" }),
@@ -5469,7 +5502,7 @@ const vl = {
5469
5502
  ])
5470
5503
  ])
5471
5504
  ], 36),
5472
- (A(!0), B(Ae, null, Te(u.breadcrumbs, (h) => (A(), B("li", {
5505
+ (A(!0), B(Ae, null, Te(l.breadcrumbs, (h) => (A(), B("li", {
5473
5506
  key: h.title,
5474
5507
  style: le({ display: t.value ? "block" : "none" })
5475
5508
  }, [
@@ -5478,7 +5511,7 @@ const vl = {
5478
5511
  to: h.to
5479
5512
  }, {
5480
5513
  default: Dt(() => [
5481
- Lo(ve(h.title), 1)
5514
+ Mo(ve(h.title), 1)
5482
5515
  ]),
5483
5516
  _: 2
5484
5517
  }, 1032, ["to"])
@@ -5487,17 +5520,17 @@ const vl = {
5487
5520
  ]);
5488
5521
  };
5489
5522
  }
5490
- }), Il = /* @__PURE__ */ En(Pl, [["__scopeId", "data-v-a650f215"]]), Al = {
5523
+ }), Dl = /* @__PURE__ */ $n(Il, [["__scopeId", "data-v-a650f215"]]), Tl = {
5491
5524
  install: (e) => {
5492
- e.component("ActionSet", us), e.component("CommandPalette", fs), e.component("Doctype", Sc), e.component("Records", $l), e.component("SheetNav", Il);
5525
+ e.component("ActionSet", us), e.component("CommandPalette", fs), e.component("Doctype", Sc), e.component("Records", Nl), e.component("SheetNav", Dl);
5493
5526
  }
5494
5527
  };
5495
5528
  export {
5496
5529
  us as ActionSet,
5497
5530
  fs as CommandPalette,
5498
5531
  Sc as Doctype,
5499
- $l as Records,
5500
- Il as SheetNav,
5501
- Al as StonecropDesktop
5532
+ Nl as Records,
5533
+ Dl as SheetNav,
5534
+ Tl as StonecropDesktop
5502
5535
  };
5503
5536
  //# sourceMappingURL=desktop.js.map