@stonecrop/desktop 0.4.9 → 0.4.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,11 +1,11 @@
1
- import { defineComponent as ce, ref as N, onMounted as Ae, createElementBlock as D, openBlock as V, normalizeClass as Te, createElementVNode as R, Fragment as Pe, renderList as Ce, createCommentVNode as fe, toDisplayString as de, withDirectives as st, vShow as mn, shallowRef as X, watch as F, toValue as $, computed as x, toRef as Ee, readonly as tr, customRef as nr, getCurrentScope as ft, onScopeDispose as pt, unref as C, createBlock as Se, resolveDynamicComponent as _n, mergeProps as vn, effectScope as gn, markRaw as ne, toRaw as Me, inject as yn, hasInjectionContext as or, getCurrentInstance as ht, reactive as rr, isRef as le, isReactive as Ge, nextTick as Ve, toRefs as Nt, useTemplateRef as mt, normalizeStyle as ae, renderSlot as ve, createVNode as Dt, withCtx as xt, createTextVNode as sr, withModifiers as Yn, onBeforeUnmount as Ts, watchEffect as Ps, resolveComponent as Cs, withKeys as yt, vModelText as Vs } from "vue";
1
+ import { defineComponent as ce, ref as V, onMounted as Ae, createElementBlock as D, openBlock as C, normalizeClass as Ie, createElementVNode as L, Fragment as Pe, renderList as Ce, createCommentVNode as fe, toDisplayString as de, withDirectives as st, vShow as mn, shallowRef as J, watch as K, toValue as R, computed as A, toRef as Ee, readonly as tr, customRef as nr, getCurrentScope as ft, onScopeDispose as pt, unref as P, createBlock as Se, resolveDynamicComponent as _n, mergeProps as vn, effectScope as gn, markRaw as te, toRaw as Me, inject as yn, hasInjectionContext as or, getCurrentInstance as ht, reactive as rr, isRef as le, isReactive as Ge, nextTick as Ve, toRefs as Nt, useTemplateRef as mt, normalizeStyle as ae, renderSlot as ve, createVNode as Dt, withCtx as xt, createTextVNode as sr, withModifiers as Yn, onBeforeUnmount as Is, watchEffect as Ps, resolveComponent as Cs, withKeys as yt, vModelText as Vs } from "vue";
2
2
  const Ns = { class: "action-menu-icon" }, Ds = ["onclick"], xs = { key: 1 }, As = ["onClick"], $s = { class: "dropdown-container" }, Rs = { class: "dropdown" }, Ls = ["onclick"], js = ["href"], Us = { class: "dropdown-item" }, Ms = /* @__PURE__ */ ce({
3
3
  __name: "ActionSet",
4
4
  props: {
5
5
  elements: {}
6
6
  },
7
7
  setup(e) {
8
- const t = N(e.elements), n = N(!1), o = N(null), r = N(!1), s = N(!1);
8
+ const t = V(e.elements), n = V(!1), o = V(null), r = V(!1), s = V(!1);
9
9
  Ae(() => {
10
10
  a();
11
11
  });
@@ -19,20 +19,20 @@ const Ns = { class: "action-menu-icon" }, Ds = ["onclick"], xs = { key: 1 }, As
19
19
  }, l = () => {
20
20
  r.value = !1, s.value = !1, clearTimeout(o.value), n.value = !1;
21
21
  }, c = (u) => {
22
- const d = !t.value[u].show;
23
- a(), t.value[u].show = d;
22
+ const f = !t.value[u].show;
23
+ a(), t.value[u].show = f;
24
24
  };
25
- return (u, d) => (V(), D("div", {
26
- class: Te([{ "open-set": n.value, "hovered-and-closed": s.value }, "action-set collapse"]),
25
+ return (u, f) => (C(), D("div", {
26
+ class: Ie([{ "open-set": n.value, "hovered-and-closed": s.value }, "action-set collapse"]),
27
27
  onMouseover: i,
28
28
  onMouseleave: l
29
29
  }, [
30
- R("div", Ns, [
31
- R("div", {
30
+ L("div", Ns, [
31
+ L("div", {
32
32
  id: "chevron",
33
- onClick: d[0] || (d[0] = (f) => s.value = !s.value)
34
- }, d[1] || (d[1] = [
35
- R("svg", {
33
+ onClick: f[0] || (f[0] = (d) => s.value = !s.value)
34
+ }, f[1] || (f[1] = [
35
+ L("svg", {
36
36
  class: "leftBar",
37
37
  version: "1.1",
38
38
  id: "Layer_1",
@@ -45,9 +45,9 @@ const Ns = { class: "action-menu-icon" }, Ds = ["onclick"], xs = { key: 1 }, As
45
45
  width: "50",
46
46
  height: "50"
47
47
  }, [
48
- R("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
48
+ L("polygon", { points: "54.2,33.4 29.2,58.8 25,54.6 50,29.2 " })
49
49
  ], -1),
50
- R("svg", {
50
+ L("svg", {
51
51
  class: "rightBar",
52
52
  version: "1.1",
53
53
  id: "Layer_1",
@@ -60,44 +60,44 @@ const Ns = { class: "action-menu-icon" }, Ds = ["onclick"], xs = { key: 1 }, As
60
60
  width: "50",
61
61
  height: "50"
62
62
  }, [
63
- R("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
63
+ L("polygon", { points: "70.8,58.8 45.8,33.4 50,29.2 75,54.6 " })
64
64
  ], -1)
65
65
  ]))
66
66
  ]),
67
- d[2] || (d[2] = R("div", { style: { "margin-right": "30px" } }, null, -1)),
68
- (V(!0), D(Pe, null, Ce(t.value, (f, p) => (V(), D("div", {
67
+ f[2] || (f[2] = L("div", { style: { "margin-right": "30px" } }, null, -1)),
68
+ (C(!0), D(Pe, null, Ce(t.value, (d, h) => (C(), D("div", {
69
69
  class: "action-element",
70
- key: f.label
70
+ key: d.label
71
71
  }, [
72
- f.type == "button" ? (V(), D("button", {
72
+ d.type == "button" ? (C(), D("button", {
73
73
  key: 0,
74
- onclick: f.action,
74
+ onclick: d.action,
75
75
  class: "button-default"
76
- }, de(f.label), 9, Ds)) : fe("", !0),
77
- f.type == "dropdown" ? (V(), D("div", xs, [
78
- R("button", {
76
+ }, de(d.label), 9, Ds)) : fe("", !0),
77
+ d.type == "dropdown" ? (C(), D("div", xs, [
78
+ L("button", {
79
79
  class: "button-default",
80
- onClick: (m) => c(p)
81
- }, de(f.label), 9, As),
82
- st(R("div", $s, [
83
- R("div", Rs, [
84
- (V(!0), D(Pe, null, Ce(f.actions, (m) => (V(), D("div", {
80
+ onClick: (m) => c(h)
81
+ }, de(d.label), 9, As),
82
+ st(L("div", $s, [
83
+ L("div", Rs, [
84
+ (C(!0), D(Pe, null, Ce(d.actions, (m) => (C(), D("div", {
85
85
  key: m.label
86
86
  }, [
87
- m.action != null ? (V(), D("button", {
87
+ m.action != null ? (C(), D("button", {
88
88
  key: 0,
89
89
  onclick: m.action,
90
90
  class: "dropdown-item"
91
- }, de(m.label), 9, Ls)) : m.link != null ? (V(), D("a", {
91
+ }, de(m.label), 9, Ls)) : m.link != null ? (C(), D("a", {
92
92
  key: 1,
93
93
  href: m.link
94
94
  }, [
95
- R("button", Us, de(m.label), 1)
95
+ L("button", Us, de(m.label), 1)
96
96
  ], 8, js)) : fe("", !0)
97
97
  ]))), 128))
98
98
  ])
99
99
  ], 512), [
100
- [mn, f.show]
100
+ [mn, d.show]
101
101
  ])
102
102
  ])) : fe("", !0)
103
103
  ]))), 128))
@@ -108,11 +108,11 @@ const Ns = { class: "action-menu-icon" }, Ds = ["onclick"], xs = { key: 1 }, As
108
108
  for (const [o, r] of t)
109
109
  n[o] = r;
110
110
  return n;
111
- }, Hs = /* @__PURE__ */ En(Ms, [["__scopeId", "data-v-38e7af34"]]), zs = {};
112
- function Bs(e, t) {
113
- return V(), D("dialog");
111
+ }, Hs = /* @__PURE__ */ En(Ms, [["__scopeId", "data-v-38e7af34"]]), Bs = {};
112
+ function zs(e, t) {
113
+ return C(), D("dialog");
114
114
  }
115
- const Ks = /* @__PURE__ */ En(zs, [["render", Bs]]), Fs = (e, t) => {
115
+ const Ks = /* @__PURE__ */ En(Bs, [["render", zs]]), Ws = (e, t) => {
116
116
  const n = e.__vccOpts || e;
117
117
  for (const [o, r] of t)
118
118
  n[o] = r;
@@ -123,23 +123,23 @@ function ar(e) {
123
123
  }
124
124
  const ir = typeof window < "u" && typeof document < "u";
125
125
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
126
- const Ws = Object.prototype.toString, Gs = (e) => Ws.call(e) === "[object Object]", Ys = () => {
126
+ const Fs = Object.prototype.toString, Gs = (e) => Fs.call(e) === "[object Object]", Ys = () => {
127
127
  }, qn = /* @__PURE__ */ qs();
128
128
  function qs() {
129
129
  var e, t;
130
130
  return ir && ((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));
131
131
  }
132
- function zt(e) {
132
+ function Bt(e) {
133
133
  return Array.isArray(e) ? e : [e];
134
134
  }
135
135
  function Js(...e) {
136
136
  if (e.length !== 1)
137
137
  return Ee(...e);
138
138
  const t = e[0];
139
- return typeof t == "function" ? tr(nr(() => ({ get: t, set: Ys }))) : N(t);
139
+ return typeof t == "function" ? tr(nr(() => ({ get: t, set: Ys }))) : V(t);
140
140
  }
141
- function Xs(e, t, n) {
142
- return F(
141
+ function Zs(e, t, n) {
142
+ return K(
143
143
  e,
144
144
  t,
145
145
  {
@@ -148,37 +148,37 @@ function Xs(e, t, n) {
148
148
  }
149
149
  );
150
150
  }
151
- const Zs = ir ? window : void 0;
151
+ const Xs = ir ? window : void 0;
152
152
  function Qs(e) {
153
153
  var t;
154
- const n = $(e);
154
+ const n = R(e);
155
155
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
156
156
  }
157
157
  function ea(...e) {
158
158
  const t = [], n = () => {
159
159
  t.forEach((i) => i()), t.length = 0;
160
- }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = x(() => {
161
- const i = zt($(e[0])).filter((l) => l != null);
160
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = A(() => {
161
+ const i = Bt(R(e[0])).filter((l) => l != null);
162
162
  return i.every((l) => typeof l != "string") ? i : void 0;
163
- }), s = Xs(
163
+ }), s = Zs(
164
164
  () => {
165
165
  var i, l;
166
166
  return [
167
- (l = (i = r.value) == null ? void 0 : i.map((c) => Qs(c))) != null ? l : [Zs].filter((c) => c != null),
168
- zt($(r.value ? e[1] : e[0])),
169
- zt(C(r.value ? e[2] : e[1])),
167
+ (l = (i = r.value) == null ? void 0 : i.map((c) => Qs(c))) != null ? l : [Xs].filter((c) => c != null),
168
+ Bt(R(r.value ? e[1] : e[0])),
169
+ Bt(P(r.value ? e[2] : e[1])),
170
170
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
171
- $(r.value ? e[3] : e[2])
171
+ R(r.value ? e[3] : e[2])
172
172
  ];
173
173
  },
174
174
  ([i, l, c, u]) => {
175
175
  if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
176
176
  return;
177
- const d = Gs(u) ? { ...u } : u;
177
+ const f = Gs(u) ? { ...u } : u;
178
178
  t.push(
179
179
  ...i.flatMap(
180
- (f) => l.flatMap(
181
- (p) => c.map((m) => o(f, p, m, d))
180
+ (d) => l.flatMap(
181
+ (h) => c.map((m) => o(d, h, m, f))
182
182
  )
183
183
  )
184
184
  );
@@ -189,7 +189,7 @@ function ea(...e) {
189
189
  };
190
190
  return ar(n), a;
191
191
  }
192
- function Bt(e) {
192
+ function zt(e) {
193
193
  return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
194
194
  }
195
195
  function lr(e) {
@@ -207,10 +207,10 @@ function ta(e) {
207
207
  }
208
208
  const Kt = /* @__PURE__ */ new WeakMap();
209
209
  function na(e, t = !1) {
210
- const n = N(t);
210
+ const n = V(t);
211
211
  let o = null, r = "";
212
- F(Js(e), (i) => {
213
- const l = Bt($(i));
212
+ K(Js(e), (i) => {
213
+ const l = zt(R(i));
214
214
  if (l) {
215
215
  const c = l;
216
216
  if (Kt.get(c) || Kt.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
@@ -222,7 +222,7 @@ function na(e, t = !1) {
222
222
  immediate: !0
223
223
  });
224
224
  const s = () => {
225
- const i = Bt($(e));
225
+ const i = zt(R(e));
226
226
  !i || n.value || (qn && (o = ea(
227
227
  i,
228
228
  "touchmove",
@@ -232,10 +232,10 @@ function na(e, t = !1) {
232
232
  { passive: !1 }
233
233
  )), i.style.overflow = "hidden", n.value = !0);
234
234
  }, a = () => {
235
- const i = Bt($(e));
235
+ const i = zt(R(e));
236
236
  !i || !n.value || (qn && (o == null || o()), i.style.overflow = r, Kt.delete(i), n.value = !1);
237
237
  };
238
- return ar(a), x({
238
+ return ar(a), A({
239
239
  get() {
240
240
  return n.value;
241
241
  },
@@ -246,13 +246,13 @@ function na(e, t = !1) {
246
246
  }
247
247
  function oa() {
248
248
  let e = !1;
249
- const t = X(!1);
249
+ const t = J(!1);
250
250
  return (n, o) => {
251
251
  if (t.value = o.value, e)
252
252
  return;
253
253
  e = !0;
254
254
  const r = na(n, o.value);
255
- F(t, (s) => r.value = s);
255
+ K(t, (s) => r.value = s);
256
256
  };
257
257
  }
258
258
  oa();
@@ -266,13 +266,13 @@ const ra = { class: "aform" }, sa = /* @__PURE__ */ ce({
266
266
  },
267
267
  emits: ["update:modelValue"],
268
268
  setup(e, { emit: t }) {
269
- const n = t, o = N(e.data || {}), r = (a) => {
269
+ const n = t, o = V(e.data || {}), r = (a) => {
270
270
  let i = {};
271
271
  for (const [l, c] of Object.entries(a))
272
272
  ["component", "fieldtype"].includes(l) || (i[l] = c), l === "rows" && c && c.length === 0 && (i.rows = o.value[a.fieldname]);
273
273
  return i;
274
- }, s = x({
275
- get: () => e.modelValue.map((a, i) => x({
274
+ }, s = A({
275
+ get: () => e.modelValue.map((a, i) => A({
276
276
  get() {
277
277
  return a.value;
278
278
  },
@@ -283,8 +283,8 @@ const ra = { class: "aform" }, sa = /* @__PURE__ */ ce({
283
283
  set: () => {
284
284
  }
285
285
  });
286
- return (a, i) => (V(), D("form", ra, [
287
- (V(!0), D(Pe, null, Ce(a.modelValue, (l, c) => (V(), Se(_n(l.component), vn({
286
+ return (a, i) => (C(), D("form", ra, [
287
+ (C(!0), D(Pe, null, Ce(a.modelValue, (l, c) => (C(), Se(_n(l.component), vn({
288
288
  key: c,
289
289
  schema: l,
290
290
  modelValue: s.value[c].value,
@@ -295,8 +295,8 @@ const ra = { class: "aform" }, sa = /* @__PURE__ */ ce({
295
295
  }, r(l)), null, 16, ["schema", "modelValue", "onUpdate:modelValue", "data", "readonly"]))), 128))
296
296
  ]));
297
297
  }
298
- }), aa = /* @__PURE__ */ Fs(sa, [["__scopeId", "data-v-68845234"]]);
299
- var ia = Object.defineProperty, la = (e, t, n) => t in e ? ia(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, Y = (e, t, n) => la(e, typeof t != "symbol" ? t + "" : t, n);
298
+ }), aa = /* @__PURE__ */ Ws(sa, [["__scopeId", "data-v-68845234"]]);
299
+ var ia = Object.defineProperty, la = (e, t, n) => t in e ? ia(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n, G = (e, t, n) => la(e, typeof t != "symbol" ? t + "" : t, n);
300
300
  function Qt(e) {
301
301
  this.message = e || "";
302
302
  }
@@ -325,7 +325,7 @@ const cr = class wt {
325
325
  * ```
326
326
  */
327
327
  constructor(t, n, o, r, s) {
328
- if (Y(this, "name", "Stonecrop"), Y(this, "registry"), Y(this, "store"), Y(this, "schema"), Y(this, "workflow"), Y(this, "actions"), wt._root)
328
+ if (G(this, "name", "Stonecrop"), G(this, "registry"), G(this, "store"), G(this, "schema"), G(this, "workflow"), G(this, "actions"), wt._root)
329
329
  return wt._root;
330
330
  wt._root = this, this.registry = t, this.store = n, this.schema = o, this.workflow = r, this.actions = s;
331
331
  }
@@ -455,7 +455,7 @@ const cr = class wt {
455
455
  }
456
456
  }
457
457
  };
458
- Y(cr, "_root");
458
+ G(cr, "_root");
459
459
  let ca = cr;
460
460
  var ua = Object.create, ur = Object.defineProperty, da = Object.getOwnPropertyDescriptor, bn = Object.getOwnPropertyNames, fa = Object.getPrototypeOf, pa = Object.prototype.hasOwnProperty, ha = (e, t) => function() {
461
461
  return e && (t = (0, e[bn(e)[0]])(e = 0)), t;
@@ -485,110 +485,110 @@ var ua = Object.create, ur = Object.defineProperty, da = Object.getOwnPropertyDe
485
485
  function o(s) {
486
486
  if (s = s || {}, s.circles) return r(s);
487
487
  const a = /* @__PURE__ */ new Map();
488
- if (a.set(Date, (d) => new Date(d)), a.set(Map, (d, f) => new Map(l(Array.from(d), f))), a.set(Set, (d, f) => new Set(l(Array.from(d), f))), s.constructorHandlers)
489
- for (const d of s.constructorHandlers)
490
- a.set(d[0], d[1]);
488
+ if (a.set(Date, (f) => new Date(f)), a.set(Map, (f, d) => new Map(l(Array.from(f), d))), a.set(Set, (f, d) => new Set(l(Array.from(f), d))), s.constructorHandlers)
489
+ for (const f of s.constructorHandlers)
490
+ a.set(f[0], f[1]);
491
491
  let i = null;
492
492
  return s.proto ? u : c;
493
- function l(d, f) {
494
- const p = Object.keys(d), m = new Array(p.length);
495
- for (let E = 0; E < p.length; E++) {
496
- const h = p[E], w = d[h];
497
- typeof w != "object" || w === null ? m[h] = w : w.constructor !== Object && (i = a.get(w.constructor)) ? m[h] = i(w, f) : ArrayBuffer.isView(w) ? m[h] = n(w) : m[h] = f(w);
493
+ function l(f, d) {
494
+ const h = Object.keys(f), m = new Array(h.length);
495
+ for (let b = 0; b < h.length; b++) {
496
+ const p = h[b], E = f[p];
497
+ typeof E != "object" || E === null ? m[p] = E : E.constructor !== Object && (i = a.get(E.constructor)) ? m[p] = i(E, d) : ArrayBuffer.isView(E) ? m[p] = n(E) : m[p] = d(E);
498
498
  }
499
499
  return m;
500
500
  }
501
- function c(d) {
502
- if (typeof d != "object" || d === null) return d;
503
- if (Array.isArray(d)) return l(d, c);
504
- if (d.constructor !== Object && (i = a.get(d.constructor)))
505
- return i(d, c);
506
- const f = {};
507
- for (const p in d) {
508
- if (Object.hasOwnProperty.call(d, p) === !1) continue;
509
- const m = d[p];
510
- typeof m != "object" || m === null ? f[p] = m : m.constructor !== Object && (i = a.get(m.constructor)) ? f[p] = i(m, c) : ArrayBuffer.isView(m) ? f[p] = n(m) : f[p] = c(m);
501
+ function c(f) {
502
+ if (typeof f != "object" || f === null) return f;
503
+ if (Array.isArray(f)) return l(f, c);
504
+ if (f.constructor !== Object && (i = a.get(f.constructor)))
505
+ return i(f, c);
506
+ const d = {};
507
+ for (const h in f) {
508
+ if (Object.hasOwnProperty.call(f, h) === !1) continue;
509
+ const m = f[h];
510
+ typeof m != "object" || m === null ? d[h] = m : m.constructor !== Object && (i = a.get(m.constructor)) ? d[h] = i(m, c) : ArrayBuffer.isView(m) ? d[h] = n(m) : d[h] = c(m);
511
511
  }
512
- return f;
512
+ return d;
513
513
  }
514
- function u(d) {
515
- if (typeof d != "object" || d === null) return d;
516
- if (Array.isArray(d)) return l(d, u);
517
- if (d.constructor !== Object && (i = a.get(d.constructor)))
518
- return i(d, u);
519
- const f = {};
520
- for (const p in d) {
521
- const m = d[p];
522
- typeof m != "object" || m === null ? f[p] = m : m.constructor !== Object && (i = a.get(m.constructor)) ? f[p] = i(m, u) : ArrayBuffer.isView(m) ? f[p] = n(m) : f[p] = u(m);
514
+ function u(f) {
515
+ if (typeof f != "object" || f === null) return f;
516
+ if (Array.isArray(f)) return l(f, u);
517
+ if (f.constructor !== Object && (i = a.get(f.constructor)))
518
+ return i(f, u);
519
+ const d = {};
520
+ for (const h in f) {
521
+ const m = f[h];
522
+ typeof m != "object" || m === null ? d[h] = m : m.constructor !== Object && (i = a.get(m.constructor)) ? d[h] = i(m, u) : ArrayBuffer.isView(m) ? d[h] = n(m) : d[h] = u(m);
523
523
  }
524
- return f;
524
+ return d;
525
525
  }
526
526
  }
527
527
  function r(s) {
528
528
  const a = [], i = [], l = /* @__PURE__ */ new Map();
529
- if (l.set(Date, (p) => new Date(p)), l.set(Map, (p, m) => new Map(u(Array.from(p), m))), l.set(Set, (p, m) => new Set(u(Array.from(p), m))), s.constructorHandlers)
530
- for (const p of s.constructorHandlers)
531
- l.set(p[0], p[1]);
529
+ if (l.set(Date, (h) => new Date(h)), l.set(Map, (h, m) => new Map(u(Array.from(h), m))), l.set(Set, (h, m) => new Set(u(Array.from(h), m))), s.constructorHandlers)
530
+ for (const h of s.constructorHandlers)
531
+ l.set(h[0], h[1]);
532
532
  let c = null;
533
- return s.proto ? f : d;
534
- function u(p, m) {
535
- const E = Object.keys(p), h = new Array(E.length);
536
- for (let w = 0; w < E.length; w++) {
537
- const O = E[w], T = p[O];
538
- if (typeof T != "object" || T === null)
539
- h[O] = T;
540
- else if (T.constructor !== Object && (c = l.get(T.constructor)))
541
- h[O] = c(T, m);
542
- else if (ArrayBuffer.isView(T))
543
- h[O] = n(T);
533
+ return s.proto ? d : f;
534
+ function u(h, m) {
535
+ const b = Object.keys(h), p = new Array(b.length);
536
+ for (let E = 0; E < b.length; E++) {
537
+ const k = b[E], x = h[k];
538
+ if (typeof x != "object" || x === null)
539
+ p[k] = x;
540
+ else if (x.constructor !== Object && (c = l.get(x.constructor)))
541
+ p[k] = c(x, m);
542
+ else if (ArrayBuffer.isView(x))
543
+ p[k] = n(x);
544
544
  else {
545
- const H = a.indexOf(T);
546
- H !== -1 ? h[O] = i[H] : h[O] = m(T);
545
+ const N = a.indexOf(x);
546
+ N !== -1 ? p[k] = i[N] : p[k] = m(x);
547
547
  }
548
548
  }
549
- return h;
549
+ return p;
550
550
  }
551
- function d(p) {
552
- if (typeof p != "object" || p === null) return p;
553
- if (Array.isArray(p)) return u(p, d);
554
- if (p.constructor !== Object && (c = l.get(p.constructor)))
555
- return c(p, d);
551
+ function f(h) {
552
+ if (typeof h != "object" || h === null) return h;
553
+ if (Array.isArray(h)) return u(h, f);
554
+ if (h.constructor !== Object && (c = l.get(h.constructor)))
555
+ return c(h, f);
556
556
  const m = {};
557
- a.push(p), i.push(m);
558
- for (const E in p) {
559
- if (Object.hasOwnProperty.call(p, E) === !1) continue;
560
- const h = p[E];
561
- if (typeof h != "object" || h === null)
562
- m[E] = h;
563
- else if (h.constructor !== Object && (c = l.get(h.constructor)))
564
- m[E] = c(h, d);
565
- else if (ArrayBuffer.isView(h))
566
- m[E] = n(h);
557
+ a.push(h), i.push(m);
558
+ for (const b in h) {
559
+ if (Object.hasOwnProperty.call(h, b) === !1) continue;
560
+ const p = h[b];
561
+ if (typeof p != "object" || p === null)
562
+ m[b] = p;
563
+ else if (p.constructor !== Object && (c = l.get(p.constructor)))
564
+ m[b] = c(p, f);
565
+ else if (ArrayBuffer.isView(p))
566
+ m[b] = n(p);
567
567
  else {
568
- const w = a.indexOf(h);
569
- w !== -1 ? m[E] = i[w] : m[E] = d(h);
568
+ const E = a.indexOf(p);
569
+ E !== -1 ? m[b] = i[E] : m[b] = f(p);
570
570
  }
571
571
  }
572
572
  return a.pop(), i.pop(), m;
573
573
  }
574
- function f(p) {
575
- if (typeof p != "object" || p === null) return p;
576
- if (Array.isArray(p)) return u(p, f);
577
- if (p.constructor !== Object && (c = l.get(p.constructor)))
578
- return c(p, f);
574
+ function d(h) {
575
+ if (typeof h != "object" || h === null) return h;
576
+ if (Array.isArray(h)) return u(h, d);
577
+ if (h.constructor !== Object && (c = l.get(h.constructor)))
578
+ return c(h, d);
579
579
  const m = {};
580
- a.push(p), i.push(m);
581
- for (const E in p) {
582
- const h = p[E];
583
- if (typeof h != "object" || h === null)
584
- m[E] = h;
585
- else if (h.constructor !== Object && (c = l.get(h.constructor)))
586
- m[E] = c(h, f);
587
- else if (ArrayBuffer.isView(h))
588
- m[E] = n(h);
580
+ a.push(h), i.push(m);
581
+ for (const b in h) {
582
+ const p = h[b];
583
+ if (typeof p != "object" || p === null)
584
+ m[b] = p;
585
+ else if (p.constructor !== Object && (c = l.get(p.constructor)))
586
+ m[b] = c(p, d);
587
+ else if (ArrayBuffer.isView(p))
588
+ m[b] = n(p);
589
589
  else {
590
- const w = a.indexOf(h);
591
- w !== -1 ? m[E] = i[w] : m[E] = f(h);
590
+ const E = a.indexOf(p);
591
+ E !== -1 ? m[b] = i[E] : m[b] = d(p);
592
592
  }
593
593
  }
594
594
  return a.pop(), i.pop(), m;
@@ -599,9 +599,9 @@ var ua = Object.create, ur = Object.defineProperty, da = Object.getOwnPropertyDe
599
599
  _t();
600
600
  _t();
601
601
  _t();
602
- var dr = typeof navigator < "u", k = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
603
- typeof k.chrome < "u" && k.chrome.devtools;
604
- dr && (k.self, k.top);
602
+ var dr = typeof navigator < "u", O = typeof window < "u" ? window : typeof globalThis < "u" ? globalThis : typeof global < "u" ? global : {};
603
+ typeof O.chrome < "u" && O.chrome.devtools;
604
+ dr && (O.self, O.top);
605
605
  var Jn;
606
606
  typeof navigator < "u" && ((Jn = navigator.userAgent) == null || Jn.toLowerCase().includes("electron"));
607
607
  _t();
@@ -621,7 +621,7 @@ function Oa(e, t) {
621
621
  return r.substring(0, s);
622
622
  }
623
623
  }
624
- var Xn = (0, ya.default)({ circles: !0 });
624
+ var Zn = (0, ya.default)({ circles: !0 });
625
625
  const ka = {
626
626
  trailing: !0
627
627
  };
@@ -631,20 +631,20 @@ function He(e, t = 25, n = {}) {
631
631
  let o, r, s = [], a, i;
632
632
  const l = (c, u) => (a = Sa(e, c, u), a.finally(() => {
633
633
  if (a = null, n.trailing && i && !r) {
634
- const d = l(c, i);
635
- return i = null, d;
634
+ const f = l(c, i);
635
+ return i = null, f;
636
636
  }
637
637
  }), a);
638
638
  return function(...c) {
639
639
  return a ? (n.trailing && (i = c), a) : new Promise((u) => {
640
- const d = !r && n.leading;
640
+ const f = !r && n.leading;
641
641
  clearTimeout(r), r = setTimeout(() => {
642
642
  r = null;
643
- const f = n.leading ? o : l(this, c);
644
- for (const p of s)
645
- p(f);
643
+ const d = n.leading ? o : l(this, c);
644
+ for (const h of s)
645
+ h(d);
646
646
  s = [];
647
- }, t), d ? (o = l(this, c), u(o)) : s.push(u);
647
+ }, t), f ? (o = l(this, c), u(o)) : s.push(u);
648
648
  });
649
649
  };
650
650
  }
@@ -658,7 +658,7 @@ function en(e, t = {}, n) {
658
658
  }
659
659
  return t;
660
660
  }
661
- const Ia = { run: (e) => e() }, Ta = () => Ia, fr = typeof console.createTask < "u" ? console.createTask : Ta;
661
+ const Ta = { run: (e) => e() }, Ia = () => Ta, fr = typeof console.createTask < "u" ? console.createTask : Ia;
662
662
  function Pa(e, t) {
663
663
  const n = t.shift(), o = fr(n);
664
664
  return e.reduce(
@@ -670,7 +670,7 @@ function Ca(e, t) {
670
670
  const n = t.shift(), o = fr(n);
671
671
  return Promise.all(e.map((r) => o.run(() => r(...t))));
672
672
  }
673
- function Ft(e, t) {
673
+ function Wt(e, t) {
674
674
  for (const n of [...e])
675
675
  n(t);
676
676
  }
@@ -750,14 +750,14 @@ class Va {
750
750
  }
751
751
  callHookWith(t, n, ...o) {
752
752
  const r = this._before || this._after ? { name: n, args: o, context: {} } : void 0;
753
- this._before && Ft(this._before, r);
753
+ this._before && Wt(this._before, r);
754
754
  const s = t(
755
755
  n in this._hooks ? [...this._hooks[n]] : [],
756
756
  o
757
757
  );
758
758
  return s instanceof Promise ? s.finally(() => {
759
- this._after && r && Ft(this._after, r);
760
- }) : (this._after && r && Ft(this._after, r), s);
759
+ this._after && r && Wt(this._after, r);
760
+ }) : (this._after && r && Wt(this._after, r), s);
761
761
  }
762
762
  beforeEach(t) {
763
763
  return this._before = this._before || [], this._before.push(t), () => {
@@ -2134,53 +2134,53 @@ var Na = Object.create, hr = Object.defineProperty, Da = Object.getOwnPropertyDe
2134
2134
  "∑": "tong",
2135
2135
  "¤": "tien te"
2136
2136
  }
2137
- }, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), c = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), d = function(E, h) {
2138
- var w = "-", O = "", T = "", H = !0, M = {}, U, v, S, b, _, g, I, j, Z, G, P, Q, A, z, _e = "";
2139
- if (typeof E != "string")
2137
+ }, l = [";", "?", ":", "@", "&", "=", "+", "$", ",", "/"].join(""), c = [";", "?", ":", "@", "&", "=", "+", "$", ","].join(""), u = [".", "!", "~", "*", "'", "(", ")"].join(""), f = function(b, p) {
2138
+ var E = "-", k = "", x = "", N = !0, M = {}, ne, v, S, w, _, g, T, U, Z, F, I, X, $, H, _e = "";
2139
+ if (typeof b != "string")
2140
2140
  return "";
2141
- if (typeof h == "string" && (w = h), I = i.en, j = a.en, typeof h == "object") {
2142
- U = h.maintainCase || !1, M = h.custom && typeof h.custom == "object" ? h.custom : M, S = +h.truncate > 1 && h.truncate || !1, b = h.uric || !1, _ = h.uricNoSlash || !1, g = h.mark || !1, H = !(h.symbols === !1 || h.lang === !1), w = h.separator || w, b && (_e += l), _ && (_e += c), g && (_e += u), I = h.lang && i[h.lang] && H ? i[h.lang] : H ? i.en : {}, j = h.lang && a[h.lang] ? a[h.lang] : h.lang === !1 || h.lang === !0 ? {} : a.en, h.titleCase && typeof h.titleCase.length == "number" && Array.prototype.toString.call(h.titleCase) ? (h.titleCase.forEach(function(oe) {
2141
+ if (typeof p == "string" && (E = p), T = i.en, U = a.en, typeof p == "object") {
2142
+ ne = p.maintainCase || !1, M = p.custom && typeof p.custom == "object" ? p.custom : M, S = +p.truncate > 1 && p.truncate || !1, w = p.uric || !1, _ = p.uricNoSlash || !1, g = p.mark || !1, N = !(p.symbols === !1 || p.lang === !1), E = p.separator || E, w && (_e += l), _ && (_e += c), g && (_e += u), T = p.lang && i[p.lang] && N ? i[p.lang] : N ? i.en : {}, U = p.lang && a[p.lang] ? a[p.lang] : p.lang === !1 || p.lang === !0 ? {} : a.en, p.titleCase && typeof p.titleCase.length == "number" && Array.prototype.toString.call(p.titleCase) ? (p.titleCase.forEach(function(oe) {
2143
2143
  M[oe + ""] = oe + "";
2144
- }), v = !0) : v = !!h.titleCase, h.custom && typeof h.custom.length == "number" && Array.prototype.toString.call(h.custom) && h.custom.forEach(function(oe) {
2144
+ }), v = !0) : v = !!p.titleCase, p.custom && typeof p.custom.length == "number" && Array.prototype.toString.call(p.custom) && p.custom.forEach(function(oe) {
2145
2145
  M[oe + ""] = oe + "";
2146
2146
  }), Object.keys(M).forEach(function(oe) {
2147
- var Xe;
2148
- oe.length > 1 ? Xe = new RegExp("\\b" + p(oe) + "\\b", "gi") : Xe = new RegExp(p(oe), "gi"), E = E.replace(Xe, M[oe]);
2147
+ var Ze;
2148
+ oe.length > 1 ? Ze = new RegExp("\\b" + h(oe) + "\\b", "gi") : Ze = new RegExp(h(oe), "gi"), b = b.replace(Ze, M[oe]);
2149
2149
  });
2150
- for (P in M)
2151
- _e += P;
2150
+ for (I in M)
2151
+ _e += I;
2152
2152
  }
2153
- for (_e += w, _e = p(_e), E = E.replace(/(^\s+|\s+$)/g, ""), A = !1, z = !1, G = 0, Q = E.length; G < Q; G++)
2154
- P = E[G], m(P, M) ? A = !1 : j[P] ? (P = A && j[P].match(/[A-Za-z0-9]/) ? " " + j[P] : j[P], A = !1) : P in o ? (G + 1 < Q && r.indexOf(E[G + 1]) >= 0 ? (T += P, P = "") : z === !0 ? (P = s[T] + o[P], T = "") : P = A && o[P].match(/[A-Za-z0-9]/) ? " " + o[P] : o[P], A = !1, z = !1) : P in s ? (T += P, P = "", G === Q - 1 && (P = s[T]), z = !0) : (
2153
+ for (_e += E, _e = h(_e), b = b.replace(/(^\s+|\s+$)/g, ""), $ = !1, H = !1, F = 0, X = b.length; F < X; F++)
2154
+ I = b[F], m(I, M) ? $ = !1 : U[I] ? (I = $ && U[I].match(/[A-Za-z0-9]/) ? " " + U[I] : U[I], $ = !1) : I in o ? (F + 1 < X && r.indexOf(b[F + 1]) >= 0 ? (x += I, I = "") : H === !0 ? (I = s[x] + o[I], x = "") : I = $ && o[I].match(/[A-Za-z0-9]/) ? " " + o[I] : o[I], $ = !1, H = !1) : I in s ? (x += I, I = "", F === X - 1 && (I = s[x]), H = !0) : (
2155
2155
  /* process symbol chars */
2156
- I[P] && !(b && l.indexOf(P) !== -1) && !(_ && c.indexOf(P) !== -1) ? (P = A || O.substr(-1).match(/[A-Za-z0-9]/) ? w + I[P] : I[P], P += E[G + 1] !== void 0 && E[G + 1].match(/[A-Za-z0-9]/) ? w : "", A = !0) : (z === !0 ? (P = s[T] + P, T = "", z = !1) : A && (/[A-Za-z0-9]/.test(P) || O.substr(-1).match(/A-Za-z0-9]/)) && (P = " " + P), A = !1)
2157
- ), O += P.replace(new RegExp("[^\\w\\s" + _e + "_-]", "g"), w);
2158
- return v && (O = O.replace(/(\w)(\S*)/g, function(oe, Xe, Gn) {
2159
- var Ht = Xe.toUpperCase() + (Gn !== null ? Gn : "");
2156
+ T[I] && !(w && l.indexOf(I) !== -1) && !(_ && c.indexOf(I) !== -1) ? (I = $ || k.substr(-1).match(/[A-Za-z0-9]/) ? E + T[I] : T[I], I += b[F + 1] !== void 0 && b[F + 1].match(/[A-Za-z0-9]/) ? E : "", $ = !0) : (H === !0 ? (I = s[x] + I, x = "", H = !1) : $ && (/[A-Za-z0-9]/.test(I) || k.substr(-1).match(/A-Za-z0-9]/)) && (I = " " + I), $ = !1)
2157
+ ), k += I.replace(new RegExp("[^\\w\\s" + _e + "_-]", "g"), E);
2158
+ return v && (k = k.replace(/(\w)(\S*)/g, function(oe, Ze, Gn) {
2159
+ var Ht = Ze.toUpperCase() + (Gn !== null ? Gn : "");
2160
2160
  return Object.keys(M).indexOf(Ht.toLowerCase()) < 0 ? Ht : Ht.toLowerCase();
2161
- })), O = O.replace(/\s+/g, w).replace(new RegExp("\\" + w + "+", "g"), w).replace(new RegExp("(^\\" + w + "+|\\" + w + "+$)", "g"), ""), S && O.length > S && (Z = O.charAt(S) === w, O = O.slice(0, S), Z || (O = O.slice(0, O.lastIndexOf(w)))), !U && !v && (O = O.toLowerCase()), O;
2162
- }, f = function(E) {
2163
- return function(h) {
2164
- return d(h, E);
2161
+ })), k = k.replace(/\s+/g, E).replace(new RegExp("\\" + E + "+", "g"), E).replace(new RegExp("(^\\" + E + "+|\\" + E + "+$)", "g"), ""), S && k.length > S && (Z = k.charAt(S) === E, k = k.slice(0, S), Z || (k = k.slice(0, k.lastIndexOf(E)))), !ne && !v && (k = k.toLowerCase()), k;
2162
+ }, d = function(b) {
2163
+ return function(p) {
2164
+ return f(p, b);
2165
2165
  };
2166
- }, p = function(E) {
2167
- return E.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
2168
- }, m = function(E, h) {
2169
- for (var w in h)
2170
- if (h[w] === E)
2166
+ }, h = function(b) {
2167
+ return b.replace(/[-\\^$*+?.()|[\]{}\/]/g, "\\$&");
2168
+ }, m = function(b, p) {
2169
+ for (var E in p)
2170
+ if (p[E] === b)
2171
2171
  return !0;
2172
2172
  };
2173
2173
  if (typeof t < "u" && t.exports)
2174
- t.exports = d, t.exports.createSlug = f;
2174
+ t.exports = f, t.exports.createSlug = d;
2175
2175
  else if (typeof define < "u" && define.amd)
2176
2176
  define([], function() {
2177
- return d;
2177
+ return f;
2178
2178
  });
2179
2179
  else
2180
2180
  try {
2181
2181
  if (n.getSlug || n.createSlug)
2182
2182
  throw "speakingurl: globals exists /(getSlug|createSlug)/";
2183
- n.getSlug = d, n.createSlug = f;
2183
+ n.getSlug = f, n.createSlug = d;
2184
2184
  } catch {
2185
2185
  }
2186
2186
  }(e);
@@ -2208,7 +2208,7 @@ function Ha(e) {
2208
2208
  if (t)
2209
2209
  return wa(Oa(t, ".vue"));
2210
2210
  }
2211
- function Zn(e, t) {
2211
+ function Xn(e, t) {
2212
2212
  return e.type.__VUE_DEVTOOLS_COMPONENT_GUSSED_NAME__ = t, t;
2213
2213
  }
2214
2214
  function On(e) {
@@ -2231,13 +2231,13 @@ function Lt(e) {
2231
2231
  return "Root";
2232
2232
  for (const a in (n = (t = e.parent) == null ? void 0 : t.type) == null ? void 0 : n.components)
2233
2233
  if (e.parent.type.components[a] === (e == null ? void 0 : e.type))
2234
- return Zn(e, a);
2234
+ return Xn(e, a);
2235
2235
  for (const a in (o = e.appContext) == null ? void 0 : o.components)
2236
2236
  if (e.appContext.components[a] === (e == null ? void 0 : e.type))
2237
- return Zn(e, a);
2237
+ return Xn(e, a);
2238
2238
  return Ha((e == null ? void 0 : e.type) || {}) || "Anonymous Component";
2239
2239
  }
2240
- function za(e) {
2240
+ function Ba(e) {
2241
2241
  var t, n, o;
2242
2242
  const r = (o = (n = (t = e == null ? void 0 : e.appContext) == null ? void 0 : t.app) == null ? void 0 : n.__VUE_DEVTOOLS_NEXT_APP_RECORD_ID__) != null ? o : 0, s = e === (e == null ? void 0 : e.root) ? "root" : e.uid;
2243
2243
  return `${r}:${s}`;
@@ -2245,7 +2245,7 @@ function za(e) {
2245
2245
  function tn(e, t) {
2246
2246
  return t = t || `${e.id}:root`, e.instanceMap.get(t) || e.instanceMap.get(":root");
2247
2247
  }
2248
- function Ba() {
2248
+ function za() {
2249
2249
  const e = {
2250
2250
  top: 0,
2251
2251
  bottom: 0,
@@ -2264,8 +2264,8 @@ var Et;
2264
2264
  function Ka(e) {
2265
2265
  return Et || (Et = document.createRange()), Et.selectNode(e), Et.getBoundingClientRect();
2266
2266
  }
2267
- function Fa(e) {
2268
- const t = Ba();
2267
+ function Wa(e) {
2268
+ const t = za();
2269
2269
  if (!e.children)
2270
2270
  return t;
2271
2271
  for (let n = 0, o = e.children.length; n < o; n++) {
@@ -2277,11 +2277,11 @@ function Fa(e) {
2277
2277
  const a = r.el;
2278
2278
  a.nodeType === 1 || a.getBoundingClientRect ? s = a.getBoundingClientRect() : a.nodeType === 3 && a.data.trim() && (s = Ka(a));
2279
2279
  }
2280
- s && Wa(t, s);
2280
+ s && Fa(t, s);
2281
2281
  }
2282
2282
  return t;
2283
2283
  }
2284
- function Wa(e, t) {
2284
+ function Fa(e, t) {
2285
2285
  return (!e.top || t.top < e.top) && (e.top = t.top), (!e.bottom || t.bottom > e.bottom) && (e.bottom = t.bottom), (!e.left || t.left < e.left) && (e.left = t.left), (!e.right || t.right > e.right) && (e.right = t.right), e;
2286
2286
  }
2287
2287
  var Qn = {
@@ -2294,7 +2294,7 @@ var Qn = {
2294
2294
  };
2295
2295
  function Ne(e) {
2296
2296
  const t = e.subTree.el;
2297
- return typeof window > "u" ? Qn : _r(e) ? Fa(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? Ne(e.subTree.component) : Qn;
2297
+ return typeof window > "u" ? Qn : _r(e) ? Wa(e.subTree) : (t == null ? void 0 : t.nodeType) === 1 ? t == null ? void 0 : t.getBoundingClientRect() : e.subTree.component ? Ne(e.subTree.component) : Qn;
2298
2298
  }
2299
2299
  y();
2300
2300
  function kn(e) {
@@ -2343,10 +2343,10 @@ function Ye() {
2343
2343
  function Ja() {
2344
2344
  return document.getElementById(gr);
2345
2345
  }
2346
- function Xa() {
2346
+ function Za() {
2347
2347
  return document.getElementById(Er);
2348
2348
  }
2349
- function Za() {
2349
+ function Xa() {
2350
2350
  return document.getElementById(yr);
2351
2351
  }
2352
2352
  function Sn(e) {
@@ -2357,7 +2357,7 @@ function Sn(e) {
2357
2357
  height: `${Math.round(e.height * 100) / 100}px`
2358
2358
  };
2359
2359
  }
2360
- function In(e) {
2360
+ function Tn(e) {
2361
2361
  var t;
2362
2362
  const n = document.createElement("div");
2363
2363
  n.id = (t = e.elementId) != null ? t : vr, Object.assign(n.style, {
@@ -2375,8 +2375,8 @@ function In(e) {
2375
2375
  const s = document.createElement("i");
2376
2376
  return s.id = Er, s.innerHTML = `${Math.round(e.bounds.width * 100) / 100} x ${Math.round(e.bounds.height * 100) / 100}`, Object.assign(s.style, qa), o.appendChild(r), o.appendChild(s), n.appendChild(o), document.body.appendChild(n), n;
2377
2377
  }
2378
- function Tn(e) {
2379
- const t = Ye(), n = Ja(), o = Za(), r = Xa();
2378
+ function In(e) {
2379
+ const t = Ye(), n = Ja(), o = Xa(), r = Za();
2380
2380
  t && (Object.assign(t.style, {
2381
2381
  ...br,
2382
2382
  ...Sn(e.bounds)
@@ -2389,7 +2389,7 @@ function Qa(e) {
2389
2389
  if (!t.width && !t.height)
2390
2390
  return;
2391
2391
  const n = Lt(e);
2392
- Ye() ? Tn({ bounds: t, name: n }) : In({ bounds: t, name: n });
2392
+ Ye() ? In({ bounds: t, name: n }) : Tn({ bounds: t, name: n });
2393
2393
  }
2394
2394
  function wr() {
2395
2395
  const e = Ye();
@@ -2402,13 +2402,13 @@ function on(e) {
2402
2402
  const n = t.__vueParentComponent;
2403
2403
  if (n && (nn = n, n.vnode.el)) {
2404
2404
  const o = Ne(n), r = Lt(n);
2405
- Ye() ? Tn({ bounds: o, name: r }) : In({ bounds: o, name: r });
2405
+ Ye() ? In({ bounds: o, name: r }) : Tn({ bounds: o, name: r });
2406
2406
  }
2407
2407
  }
2408
2408
  }
2409
2409
  function ei(e, t) {
2410
2410
  if (e.preventDefault(), e.stopPropagation(), nn) {
2411
- const n = za(nn);
2411
+ const n = Ba(nn);
2412
2412
  t(n);
2413
2413
  }
2414
2414
  }
@@ -2429,7 +2429,7 @@ function ni() {
2429
2429
  });
2430
2430
  }
2431
2431
  function oi(e) {
2432
- const t = tn(q.value, e.id);
2432
+ const t = tn(Y.value, e.id);
2433
2433
  if (t) {
2434
2434
  const [n] = kn(t);
2435
2435
  if (typeof n.scrollIntoView == "function")
@@ -2451,7 +2451,7 @@ function oi(e) {
2451
2451
  const o = Ne(t);
2452
2452
  if (o.width || o.height) {
2453
2453
  const r = Lt(t), s = Ye();
2454
- s ? Tn({ ...e, name: r, bounds: o }) : In({ ...e, name: r, bounds: o }), setTimeout(() => {
2454
+ s ? In({ ...e, name: r, bounds: o }) : Tn({ ...e, name: r, bounds: o }), setTimeout(() => {
2455
2455
  s && (s.style.display = "none");
2456
2456
  }, 1500);
2457
2457
  }
@@ -2460,16 +2460,16 @@ function oi(e) {
2460
2460
  }
2461
2461
  y();
2462
2462
  var eo;
2463
- (eo = k).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (eo.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2463
+ (eo = O).__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ != null || (eo.__VUE_DEVTOOLS_COMPONENT_INSPECTOR_ENABLED__ = !0);
2464
2464
  function ri(e) {
2465
2465
  let t = 0;
2466
2466
  const n = setInterval(() => {
2467
- k.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2467
+ O.__VUE_INSPECTOR__ && (clearInterval(n), t += 30, e()), t >= /* 5s */
2468
2468
  5e3 && clearInterval(n);
2469
2469
  }, 30);
2470
2470
  }
2471
2471
  function si() {
2472
- const e = k.__VUE_INSPECTOR__, t = e.openInEditor;
2472
+ const e = O.__VUE_INSPECTOR__, t = e.openInEditor;
2473
2473
  e.openInEditor = async (...n) => {
2474
2474
  e.disable(), t(...n);
2475
2475
  };
@@ -2477,9 +2477,9 @@ function si() {
2477
2477
  function ai() {
2478
2478
  return new Promise((e) => {
2479
2479
  function t() {
2480
- si(), e(k.__VUE_INSPECTOR__);
2480
+ si(), e(O.__VUE_INSPECTOR__);
2481
2481
  }
2482
- k.__VUE_INSPECTOR__ ? t() : ri(() => {
2482
+ O.__VUE_INSPECTOR__ ? t() : ri(() => {
2483
2483
  t();
2484
2484
  });
2485
2485
  });
@@ -2492,12 +2492,12 @@ function ii(e) {
2492
2492
  function Or(e) {
2493
2493
  return ii(e) ? Or(e.__v_raw) : !!(e && e.__v_isReactive);
2494
2494
  }
2495
- function Wt(e) {
2495
+ function Ft(e) {
2496
2496
  return !!(e && e.__v_isRef === !0);
2497
2497
  }
2498
- function Ze(e) {
2498
+ function Xe(e) {
2499
2499
  const t = e && e.__v_raw;
2500
- return t ? Ze(t) : e;
2500
+ return t ? Xe(t) : e;
2501
2501
  }
2502
2502
  var li = class {
2503
2503
  constructor() {
@@ -2531,15 +2531,15 @@ var li = class {
2531
2531
  }
2532
2532
  createDefaultSetCallback(e) {
2533
2533
  return (t, n, o) => {
2534
- if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(n, 1) : Ze(t) instanceof Map ? t.delete(n) : Ze(t) instanceof Set ? t.delete(Array.from(t.values())[n]) : Reflect.deleteProperty(t, n)), !e.remove) {
2534
+ if ((e.remove || e.newKey) && (Array.isArray(t) ? t.splice(n, 1) : Xe(t) instanceof Map ? t.delete(n) : Xe(t) instanceof Set ? t.delete(Array.from(t.values())[n]) : Reflect.deleteProperty(t, n)), !e.remove) {
2535
2535
  const r = t[e.newKey || n];
2536
- this.refEditor.isRef(r) ? this.refEditor.set(r, o) : Ze(t) instanceof Map ? t.set(e.newKey || n, o) : Ze(t) instanceof Set ? t.add(o) : t[e.newKey || n] = o;
2536
+ this.refEditor.isRef(r) ? this.refEditor.set(r, o) : Xe(t) instanceof Map ? t.set(e.newKey || n, o) : Xe(t) instanceof Set ? t.add(o) : t[e.newKey || n] = o;
2537
2537
  }
2538
2538
  };
2539
2539
  }
2540
2540
  }, ci = class {
2541
2541
  set(e, t) {
2542
- if (Wt(e))
2542
+ if (Ft(e))
2543
2543
  e.value = t;
2544
2544
  else {
2545
2545
  if (e instanceof Set && Array.isArray(t)) {
@@ -2561,10 +2561,10 @@ var li = class {
2561
2561
  }
2562
2562
  }
2563
2563
  get(e) {
2564
- return Wt(e) ? e.value : e;
2564
+ return Ft(e) ? e.value : e;
2565
2565
  }
2566
2566
  isRef(e) {
2567
- return Wt(e) || Or(e);
2567
+ return Ft(e) || Or(e);
2568
2568
  }
2569
2569
  };
2570
2570
  y();
@@ -2595,8 +2595,8 @@ y();
2595
2595
  y();
2596
2596
  y();
2597
2597
  var to;
2598
- (to = k).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (to.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2599
- var fi = new Proxy(k.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2598
+ (to = O).__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS != null || (to.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS = []);
2599
+ var fi = new Proxy(O.__VUE_DEVTOOLS_KIT_TIMELINE_LAYERS, {
2600
2600
  get(e, t, n) {
2601
2601
  return Reflect.get(e, t, n);
2602
2602
  }
@@ -2609,8 +2609,8 @@ function pi(e, t) {
2609
2609
  });
2610
2610
  }
2611
2611
  var no;
2612
- (no = k).__VUE_DEVTOOLS_KIT_INSPECTOR__ != null || (no.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2613
- var Pn = new Proxy(k.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2612
+ (no = O).__VUE_DEVTOOLS_KIT_INSPECTOR__ != null || (no.__VUE_DEVTOOLS_KIT_INSPECTOR__ = []);
2613
+ var Pn = new Proxy(O.__VUE_DEVTOOLS_KIT_INSPECTOR__, {
2614
2614
  get(e, t, n) {
2615
2615
  return Reflect.get(e, t, n);
2616
2616
  }
@@ -2630,7 +2630,7 @@ function hi(e, t) {
2630
2630
  }), kr();
2631
2631
  }
2632
2632
  function Sr() {
2633
- return Pn.filter((e) => e.descriptor.app === q.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2633
+ return Pn.filter((e) => e.descriptor.app === Y.value.app).filter((e) => e.descriptor.id !== "components").map((e) => {
2634
2634
  var t;
2635
2635
  const n = e.descriptor, o = e.options;
2636
2636
  return {
@@ -2697,7 +2697,7 @@ function mi() {
2697
2697
  i.nodeId && await new Promise((c) => {
2698
2698
  e.callHookWith(
2699
2699
  async (u) => {
2700
- await Promise.all(u.map((d) => d(i, l))), c();
2700
+ await Promise.all(u.map((f) => f(i, l))), c();
2701
2701
  },
2702
2702
  "getInspectorState"
2703
2703
  /* GET_INSPECTOR_STATE */
@@ -2736,22 +2736,22 @@ function mi() {
2736
2736
  const s = r.id.toString();
2737
2737
  return [...r.instanceMap].filter(([a]) => a.split(":")[0] === s).map(([, a]) => a);
2738
2738
  }), e.hook("getComponentBounds", async ({ instance: o }) => Ne(o)), e.hook("getComponentName", ({ instance: o }) => Lt(o)), e.hook("componentHighlight", ({ uid: o }) => {
2739
- const r = q.value.instanceMap.get(o);
2739
+ const r = Y.value.instanceMap.get(o);
2740
2740
  r && Qa(r);
2741
2741
  }), e.hook("componentUnhighlight", () => {
2742
2742
  wr();
2743
2743
  }), e;
2744
2744
  }
2745
2745
  var oo;
2746
- (oo = k).__VUE_DEVTOOLS_KIT_APP_RECORDS__ != null || (oo.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2746
+ (oo = O).__VUE_DEVTOOLS_KIT_APP_RECORDS__ != null || (oo.__VUE_DEVTOOLS_KIT_APP_RECORDS__ = []);
2747
2747
  var ro;
2748
- (ro = k).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ != null || (ro.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2748
+ (ro = O).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ != null || (ro.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = {});
2749
2749
  var so;
2750
- (so = k).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ != null || (so.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2750
+ (so = O).__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ != null || (so.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = "");
2751
2751
  var ao;
2752
- (ao = k).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (ao.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2752
+ (ao = O).__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ != null || (ao.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ = []);
2753
2753
  var io;
2754
- (io = k).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (io.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2754
+ (io = O).__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ != null || (io.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ = []);
2755
2755
  var ke = "__VUE_DEVTOOLS_KIT_GLOBAL_STATE__";
2756
2756
  function _i() {
2757
2757
  return {
@@ -2769,46 +2769,46 @@ function _i() {
2769
2769
  };
2770
2770
  }
2771
2771
  var lo;
2772
- (lo = k)[ke] != null || (lo[ke] = _i());
2772
+ (lo = O)[ke] != null || (lo[ke] = _i());
2773
2773
  var vi = He((e) => {
2774
2774
  qe.hooks.callHook("devtoolsStateUpdated", { state: e });
2775
2775
  });
2776
2776
  He((e, t) => {
2777
2777
  qe.hooks.callHook("devtoolsConnectedUpdated", { state: e, oldState: t });
2778
2778
  });
2779
- var jt = new Proxy(k.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2779
+ var jt = new Proxy(O.__VUE_DEVTOOLS_KIT_APP_RECORDS__, {
2780
2780
  get(e, t, n) {
2781
- return t === "value" ? k.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : k.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2781
+ return t === "value" ? O.__VUE_DEVTOOLS_KIT_APP_RECORDS__ : O.__VUE_DEVTOOLS_KIT_APP_RECORDS__[t];
2782
2782
  }
2783
- }), q = new Proxy(k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2783
+ }), Y = new Proxy(O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__, {
2784
2784
  get(e, t, n) {
2785
- return t === "value" ? k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
2785
+ return t === "value" ? O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ : t === "id" ? O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ : O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__[t];
2786
2786
  }
2787
2787
  });
2788
- function Ir() {
2788
+ function Tr() {
2789
2789
  vi({
2790
- ...k[ke],
2790
+ ...O[ke],
2791
2791
  appRecords: jt.value,
2792
- activeAppRecordId: q.id,
2793
- tabs: k.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2794
- commands: k.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2792
+ activeAppRecordId: Y.id,
2793
+ tabs: O.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__,
2794
+ commands: O.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__
2795
2795
  });
2796
2796
  }
2797
2797
  function gi(e) {
2798
- k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, Ir();
2798
+ O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD__ = e, Tr();
2799
2799
  }
2800
2800
  function yi(e) {
2801
- k.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, Ir();
2801
+ O.__VUE_DEVTOOLS_KIT_ACTIVE_APP_RECORD_ID__ = e, Tr();
2802
2802
  }
2803
- var B = new Proxy(k[ke], {
2803
+ var B = new Proxy(O[ke], {
2804
2804
  get(e, t) {
2805
- return t === "appRecords" ? jt : t === "activeAppRecordId" ? q.id : t === "tabs" ? k.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? k.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : k[ke][t];
2805
+ return t === "appRecords" ? jt : t === "activeAppRecordId" ? Y.id : t === "tabs" ? O.__VUE_DEVTOOLS_KIT_CUSTOM_TABS__ : t === "commands" ? O.__VUE_DEVTOOLS_KIT_CUSTOM_COMMANDS__ : O[ke][t];
2806
2806
  },
2807
2807
  deleteProperty(e, t) {
2808
2808
  return delete e[t], !0;
2809
2809
  },
2810
2810
  set(e, t, n) {
2811
- return { ...k[ke] }, e[t] = n, k[ke][t] = n, !0;
2811
+ return { ...O[ke] }, e[t] = n, O[ke][t] = n, !0;
2812
2812
  }
2813
2813
  });
2814
2814
  function Ei(e = {}) {
@@ -2817,15 +2817,15 @@ function Ei(e = {}) {
2817
2817
  if (r) {
2818
2818
  if (s === "chrome-extension") {
2819
2819
  const c = r.replace(/\\/g, "\\\\"), u = (n = (t = window.VUE_DEVTOOLS_CONFIG) == null ? void 0 : t.openInEditorHost) != null ? n : "/";
2820
- fetch(`${u}__open-in-editor?file=${encodeURI(r)}`).then((d) => {
2821
- if (!d.ok) {
2822
- const f = `Opening component ${c} failed`;
2823
- console.log(`%c${f}`, "color:red");
2820
+ fetch(`${u}__open-in-editor?file=${encodeURI(r)}`).then((f) => {
2821
+ if (!f.ok) {
2822
+ const d = `Opening component ${c} failed`;
2823
+ console.log(`%c${d}`, "color:red");
2824
2824
  }
2825
2825
  });
2826
2826
  } else if (B.vitePluginDetected) {
2827
- const c = (o = k.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : a;
2828
- k.__VUE_INSPECTOR__.openInEditor(c, r, i, l);
2827
+ const c = (o = O.__VUE_DEVTOOLS_OPEN_IN_EDITOR_BASE_URL__) != null ? o : a;
2828
+ O.__VUE_INSPECTOR__.openInEditor(c, r, i, l);
2829
2829
  }
2830
2830
  }
2831
2831
  }
@@ -2835,8 +2835,8 @@ y();
2835
2835
  y();
2836
2836
  y();
2837
2837
  var co;
2838
- (co = k).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (co.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2839
- var Cn = new Proxy(k.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2838
+ (co = O).__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ != null || (co.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__ = []);
2839
+ var Cn = new Proxy(O.__VUE_DEVTOOLS_KIT_PLUGIN_BUFFER__, {
2840
2840
  get(e, t, n) {
2841
2841
  return Reflect.get(e, t, n);
2842
2842
  }
@@ -2858,7 +2858,7 @@ function bi(e) {
2858
2858
  })) == null ? void 0 : t[0]) != null ? n : null;
2859
2859
  return (o = r == null ? void 0 : r.settings) != null ? o : null;
2860
2860
  }
2861
- function Tr(e, t) {
2861
+ function Ir(e, t) {
2862
2862
  var n, o, r;
2863
2863
  const s = Vn(e);
2864
2864
  if (s) {
@@ -2906,41 +2906,41 @@ y();
2906
2906
  y();
2907
2907
  y();
2908
2908
  y();
2909
- var uo, fo, J = (fo = (uo = k).__VUE_DEVTOOLS_HOOK) != null ? fo : uo.__VUE_DEVTOOLS_HOOK = pr(), ki = {
2909
+ var uo, fo, q = (fo = (uo = O).__VUE_DEVTOOLS_HOOK) != null ? fo : uo.__VUE_DEVTOOLS_HOOK = pr(), ki = {
2910
2910
  vueAppInit(e) {
2911
- J.hook("app:init", e);
2911
+ q.hook("app:init", e);
2912
2912
  },
2913
2913
  vueAppUnmount(e) {
2914
- J.hook("app:unmount", e);
2914
+ q.hook("app:unmount", e);
2915
2915
  },
2916
2916
  vueAppConnected(e) {
2917
- J.hook("app:connected", e);
2917
+ q.hook("app:connected", e);
2918
2918
  },
2919
2919
  componentAdded(e) {
2920
- return J.hook("component:added", e);
2920
+ return q.hook("component:added", e);
2921
2921
  },
2922
2922
  componentEmit(e) {
2923
- return J.hook("component:emit", e);
2923
+ return q.hook("component:emit", e);
2924
2924
  },
2925
2925
  componentUpdated(e) {
2926
- return J.hook("component:updated", e);
2926
+ return q.hook("component:updated", e);
2927
2927
  },
2928
2928
  componentRemoved(e) {
2929
- return J.hook("component:removed", e);
2929
+ return q.hook("component:removed", e);
2930
2930
  },
2931
2931
  setupDevtoolsPlugin(e) {
2932
- J.hook("devtools-plugin:setup", e);
2932
+ q.hook("devtools-plugin:setup", e);
2933
2933
  },
2934
2934
  perfStart(e) {
2935
- return J.hook("perf:start", e);
2935
+ return q.hook("perf:start", e);
2936
2936
  },
2937
2937
  perfEnd(e) {
2938
- return J.hook("perf:end", e);
2938
+ return q.hook("perf:end", e);
2939
2939
  }
2940
2940
  }, Pr = {
2941
2941
  on: ki,
2942
2942
  setupDevToolsPlugin(e, t) {
2943
- return J.callHook("devtools-plugin:setup", e, t);
2943
+ return q.callHook("devtools-plugin:setup", e, t);
2944
2944
  }
2945
2945
  }, Si = class {
2946
2946
  constructor({ plugin: e, ctx: t }) {
@@ -2995,9 +2995,9 @@ var uo, fo, J = (fo = (uo = k).__VUE_DEVTOOLS_HOOK) != null ? fo : uo.__VUE_DEVT
2995
2995
  (t = e.parent) == null ? void 0 : t.uid,
2996
2996
  e
2997
2997
  ];
2998
- J.callHook("component:updated", ...o);
2998
+ q.callHook("component:updated", ...o);
2999
2999
  } else
3000
- J.callHook(
3000
+ q.callHook(
3001
3001
  "component:updated"
3002
3002
  /* COMPONENT_UPDATED */
3003
3003
  );
@@ -3032,7 +3032,7 @@ var uo, fo, J = (fo = (uo = k).__VUE_DEVTOOLS_HOOK) != null ? fo : uo.__VUE_DEVT
3032
3032
  }
3033
3033
  // settings
3034
3034
  getSettings(e) {
3035
- return Tr(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
3035
+ return Ir(e ?? this.plugin.descriptor.id, this.plugin.descriptor.settings);
3036
3036
  }
3037
3037
  // utilities
3038
3038
  getComponentInstances(e) {
@@ -3054,16 +3054,16 @@ var uo, fo, J = (fo = (uo = k).__VUE_DEVTOOLS_HOOK) != null ? fo : uo.__VUE_DEVT
3054
3054
  /* COMPONENT_UNHIGHLIGHT */
3055
3055
  );
3056
3056
  }
3057
- }, Ii = Si;
3057
+ }, Ti = Si;
3058
3058
  y();
3059
3059
  y();
3060
3060
  y();
3061
3061
  y();
3062
- var Ti = "__vue_devtool_undefined__", Pi = "__vue_devtool_infinity__", Ci = "__vue_devtool_negative_infinity__", Vi = "__vue_devtool_nan__";
3062
+ var Ii = "__vue_devtool_undefined__", Pi = "__vue_devtool_infinity__", Ci = "__vue_devtool_negative_infinity__", Vi = "__vue_devtool_nan__";
3063
3063
  y();
3064
3064
  y();
3065
3065
  var Ni = {
3066
- [Ti]: "undefined",
3066
+ [Ii]: "undefined",
3067
3067
  [Vi]: "NaN",
3068
3068
  [Pi]: "Infinity",
3069
3069
  [Ci]: "-Infinity"
@@ -3075,7 +3075,7 @@ y();
3075
3075
  y();
3076
3076
  y();
3077
3077
  var po;
3078
- (po = k).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (po.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
3078
+ (po = O).__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ != null || (po.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__ = /* @__PURE__ */ new Set());
3079
3079
  function Cr(e, t) {
3080
3080
  return Pr.setupDevToolsPlugin(e, t);
3081
3081
  }
@@ -3083,7 +3083,7 @@ function Di(e, t) {
3083
3083
  const [n, o] = e;
3084
3084
  if (n.app !== t)
3085
3085
  return;
3086
- const r = new Ii({
3086
+ const r = new Ti({
3087
3087
  plugin: {
3088
3088
  setupFn: o,
3089
3089
  descriptor: n
@@ -3095,28 +3095,28 @@ function Di(e, t) {
3095
3095
  }), o(r);
3096
3096
  }
3097
3097
  function Vr(e, t) {
3098
- k.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || B.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (k.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Cn.forEach((n) => {
3098
+ O.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.has(e) || B.highPerfModeEnabled && !(t != null && t.inspectingComponent) || (O.__VUE_DEVTOOLS_KIT__REGISTERED_PLUGIN_APPS__.add(e), Cn.forEach((n) => {
3099
3099
  Di(n, e);
3100
3100
  }));
3101
3101
  }
3102
3102
  y();
3103
3103
  y();
3104
- var at = "__VUE_DEVTOOLS_ROUTER__", ze = "__VUE_DEVTOOLS_ROUTER_INFO__", ho;
3105
- (ho = k)[ze] != null || (ho[ze] = {
3104
+ var at = "__VUE_DEVTOOLS_ROUTER__", Be = "__VUE_DEVTOOLS_ROUTER_INFO__", ho;
3105
+ (ho = O)[Be] != null || (ho[Be] = {
3106
3106
  currentRoute: null,
3107
3107
  routes: []
3108
3108
  });
3109
3109
  var mo;
3110
- (mo = k)[at] != null || (mo[at] = {});
3111
- new Proxy(k[ze], {
3110
+ (mo = O)[at] != null || (mo[at] = {});
3111
+ new Proxy(O[Be], {
3112
3112
  get(e, t) {
3113
- return k[ze][t];
3113
+ return O[Be][t];
3114
3114
  }
3115
3115
  });
3116
- new Proxy(k[at], {
3116
+ new Proxy(O[at], {
3117
3117
  get(e, t) {
3118
3118
  if (t === "value")
3119
- return k[at];
3119
+ return O[at];
3120
3120
  }
3121
3121
  });
3122
3122
  function xi(e) {
@@ -3155,14 +3155,14 @@ function $i(e, t) {
3155
3155
  var o;
3156
3156
  const r = (o = e.app) == null ? void 0 : o.config.globalProperties.$router, s = Ai(r == null ? void 0 : r.currentRoute.value), a = Nn(xi(r)), i = console.warn;
3157
3157
  console.warn = () => {
3158
- }, k[ze] = {
3159
- currentRoute: s ? Xn(s) : {},
3160
- routes: Xn(a)
3161
- }, k[at] = r, console.warn = i;
3158
+ }, O[Be] = {
3159
+ currentRoute: s ? Zn(s) : {},
3160
+ routes: Zn(a)
3161
+ }, O[at] = r, console.warn = i;
3162
3162
  }
3163
3163
  n(), Pr.on.componentUpdated(He(() => {
3164
3164
  var o;
3165
- ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !B.highPerfModeEnabled && qe.hooks.callHook("routerInfoUpdated", { state: k[ze] }));
3165
+ ((o = t.value) == null ? void 0 : o.app) === e.app && (n(), !B.highPerfModeEnabled && qe.hooks.callHook("routerInfoUpdated", { state: O[Be] }));
3166
3166
  }, 200));
3167
3167
  }
3168
3168
  function Ri(e) {
@@ -3171,7 +3171,7 @@ function Ri(e) {
3171
3171
  async getInspectorTree(t) {
3172
3172
  const n = {
3173
3173
  ...t,
3174
- app: q.value.app,
3174
+ app: Y.value.app,
3175
3175
  rootNodes: []
3176
3176
  };
3177
3177
  return await new Promise((o) => {
@@ -3188,7 +3188,7 @@ function Ri(e) {
3188
3188
  async getInspectorState(t) {
3189
3189
  const n = {
3190
3190
  ...t,
3191
- app: q.value.app,
3191
+ app: Y.value.app,
3192
3192
  state: null
3193
3193
  }, o = {
3194
3194
  currentTab: `custom-inspector:${t.inspectorId}`
@@ -3207,7 +3207,7 @@ function Ri(e) {
3207
3207
  editInspectorState(t) {
3208
3208
  const n = new li(), o = {
3209
3209
  ...t,
3210
- app: q.value.app,
3210
+ app: Y.value.app,
3211
3211
  set: (r, s = t.path, a = t.state.value, i) => {
3212
3212
  n.set(r, s, a, i || n.createDefaultSetCallback(t.state));
3213
3213
  }
@@ -3238,7 +3238,7 @@ function Ri(e) {
3238
3238
  },
3239
3239
  // get component render code
3240
3240
  getComponentRenderCode(t) {
3241
- const n = tn(q.value, t);
3241
+ const n = tn(Y.value, t);
3242
3242
  if (n)
3243
3243
  return (n == null ? void 0 : n.type) instanceof Function ? n.type.toString() : n.render.toString();
3244
3244
  },
@@ -3253,14 +3253,14 @@ function Ri(e) {
3253
3253
  // toggle app
3254
3254
  toggleApp(t, n) {
3255
3255
  const o = jt.value.find((r) => r.id === t);
3256
- o && (yi(t), gi(o), $i(o, q), kr(), Vr(o.app, n));
3256
+ o && (yi(t), gi(o), $i(o, Y), kr(), Vr(o.app, n));
3257
3257
  },
3258
3258
  // inspect dom
3259
3259
  inspectDOM(t) {
3260
- const n = tn(q.value, t);
3260
+ const n = tn(Y.value, t);
3261
3261
  if (n) {
3262
3262
  const [o] = kn(n);
3263
- o && (k.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = o);
3263
+ o && (O.__VUE_DEVTOOLS_INSPECT_DOM_TARGET__ = o);
3264
3264
  }
3265
3265
  },
3266
3266
  updatePluginSettings(t, n, o) {
@@ -3269,40 +3269,40 @@ function Ri(e) {
3269
3269
  getPluginSettings(t) {
3270
3270
  return {
3271
3271
  options: bi(t),
3272
- values: Tr(t)
3272
+ values: Ir(t)
3273
3273
  };
3274
3274
  }
3275
3275
  };
3276
3276
  }
3277
3277
  y();
3278
3278
  var _o;
3279
- (_o = k).__VUE_DEVTOOLS_ENV__ != null || (_o.__VUE_DEVTOOLS_ENV__ = {
3279
+ (_o = O).__VUE_DEVTOOLS_ENV__ != null || (_o.__VUE_DEVTOOLS_ENV__ = {
3280
3280
  vitePluginDetected: !1
3281
3281
  });
3282
3282
  var vo = mi(), go;
3283
- (go = k).__VUE_DEVTOOLS_KIT_CONTEXT__ != null || (go.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
3283
+ (go = O).__VUE_DEVTOOLS_KIT_CONTEXT__ != null || (go.__VUE_DEVTOOLS_KIT_CONTEXT__ = {
3284
3284
  hooks: vo,
3285
3285
  get state() {
3286
3286
  return {
3287
3287
  ...B,
3288
- activeAppRecordId: q.id,
3289
- activeAppRecord: q.value,
3288
+ activeAppRecordId: Y.id,
3289
+ activeAppRecord: Y.value,
3290
3290
  appRecords: jt.value
3291
3291
  };
3292
3292
  },
3293
3293
  api: Ri(vo)
3294
3294
  });
3295
- var qe = k.__VUE_DEVTOOLS_KIT_CONTEXT__;
3295
+ var qe = O.__VUE_DEVTOOLS_KIT_CONTEXT__;
3296
3296
  y();
3297
3297
  La(Ua());
3298
3298
  var yo;
3299
- (yo = k).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (yo.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
3299
+ (yo = O).__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ != null || (yo.__VUE_DEVTOOLS_NEXT_APP_RECORD_INFO__ = {
3300
3300
  id: 0,
3301
3301
  appIds: /* @__PURE__ */ new Set()
3302
3302
  });
3303
3303
  y();
3304
3304
  function Li(e) {
3305
- B.highPerfModeEnabled = e ?? !B.highPerfModeEnabled, !e && q.value && Vr(q.value.app);
3305
+ B.highPerfModeEnabled = e ?? !B.highPerfModeEnabled, !e && Y.value && Vr(Y.value.app);
3306
3306
  }
3307
3307
  y();
3308
3308
  y();
@@ -3316,7 +3316,7 @@ function ji(e) {
3316
3316
  Li(!t);
3317
3317
  }
3318
3318
  var Eo;
3319
- (Eo = k).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (Eo.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = ji);
3319
+ (Eo = O).__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ != null || (Eo.__VUE_DEVTOOLS_UPDATE_CLIENT_DETECTED__ = ji);
3320
3320
  y();
3321
3321
  y();
3322
3322
  y();
@@ -3377,7 +3377,7 @@ function Hi(e) {
3377
3377
  e.hasOwnProperty(n) && t.push(e[n]);
3378
3378
  return t;
3379
3379
  }
3380
- function zi(e, t) {
3380
+ function Bi(e, t) {
3381
3381
  const n = Hi(e);
3382
3382
  if ("find" in n)
3383
3383
  return n.find(t);
@@ -3388,7 +3388,7 @@ function zi(e, t) {
3388
3388
  return s;
3389
3389
  }
3390
3390
  }
3391
- function Be(e, t) {
3391
+ function ze(e, t) {
3392
3392
  Object.entries(e).forEach(([n, o]) => t(o, n));
3393
3393
  }
3394
3394
  function kt(e, t) {
@@ -3401,7 +3401,7 @@ function bo(e, t) {
3401
3401
  return o;
3402
3402
  }
3403
3403
  }
3404
- var Bi = class {
3404
+ var zi = class {
3405
3405
  constructor() {
3406
3406
  this.transfomers = {};
3407
3407
  }
@@ -3409,7 +3409,7 @@ var Bi = class {
3409
3409
  this.transfomers[e.name] = e;
3410
3410
  }
3411
3411
  findApplicable(e) {
3412
- return zi(this.transfomers, (t) => t.isApplicable(e));
3412
+ return Bi(this.transfomers, (t) => t.isApplicable(e));
3413
3413
  }
3414
3414
  findByName(e) {
3415
3415
  return this.transfomers[e];
@@ -3417,7 +3417,7 @@ var Bi = class {
3417
3417
  };
3418
3418
  y();
3419
3419
  y();
3420
- var Ki = (e) => Object.prototype.toString.call(e).slice(8, -1), Dr = (e) => typeof e > "u", Fi = (e) => e === null, it = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, sn = (e) => it(e) && Object.keys(e).length === 0, be = (e) => Array.isArray(e), Wi = (e) => typeof e == "string", Gi = (e) => typeof e == "number" && !isNaN(e), Yi = (e) => typeof e == "boolean", qi = (e) => e instanceof RegExp, lt = (e) => e instanceof Map, ct = (e) => e instanceof Set, xr = (e) => Ki(e) === "Symbol", Ji = (e) => e instanceof Date && !isNaN(e.valueOf()), Xi = (e) => e instanceof Error, wo = (e) => typeof e == "number" && isNaN(e), Zi = (e) => Yi(e) || Fi(e) || Dr(e) || Gi(e) || Wi(e) || xr(e), Qi = (e) => typeof e == "bigint", el = (e) => e === 1 / 0 || e === -1 / 0, tl = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), nl = (e) => e instanceof URL;
3420
+ var Ki = (e) => Object.prototype.toString.call(e).slice(8, -1), Dr = (e) => typeof e > "u", Wi = (e) => e === null, it = (e) => typeof e != "object" || e === null || e === Object.prototype ? !1 : Object.getPrototypeOf(e) === null ? !0 : Object.getPrototypeOf(e) === Object.prototype, sn = (e) => it(e) && Object.keys(e).length === 0, be = (e) => Array.isArray(e), Fi = (e) => typeof e == "string", Gi = (e) => typeof e == "number" && !isNaN(e), Yi = (e) => typeof e == "boolean", qi = (e) => e instanceof RegExp, lt = (e) => e instanceof Map, ct = (e) => e instanceof Set, xr = (e) => Ki(e) === "Symbol", Ji = (e) => e instanceof Date && !isNaN(e.valueOf()), Zi = (e) => e instanceof Error, wo = (e) => typeof e == "number" && isNaN(e), Xi = (e) => Yi(e) || Wi(e) || Dr(e) || Gi(e) || Fi(e) || xr(e), Qi = (e) => typeof e == "bigint", el = (e) => e === 1 / 0 || e === -1 / 0, tl = (e) => ArrayBuffer.isView(e) && !(e instanceof DataView), nl = (e) => e instanceof URL;
3421
3421
  y();
3422
3422
  var Ar = (e) => e.replace(/\./g, "\\."), Gt = (e) => e.map(String).map(Ar).join("."), ot = (e) => {
3423
3423
  const t = [];
@@ -3451,7 +3451,7 @@ var $r = [
3451
3451
  }),
3452
3452
  se(Qi, "bigint", (e) => e.toString(), (e) => typeof BigInt < "u" ? BigInt(e) : (console.error("Please add a BigInt polyfill."), e)),
3453
3453
  se(Ji, "Date", (e) => e.toISOString(), (e) => new Date(e)),
3454
- se(Xi, "Error", (e, t) => {
3454
+ se(Zi, "Error", (e, t) => {
3455
3455
  const n = {
3456
3456
  name: e.name,
3457
3457
  message: e.message
@@ -3579,7 +3579,7 @@ var je = (e, t) => {
3579
3579
  n.next(), t--;
3580
3580
  return n.next().value;
3581
3581
  };
3582
- function zr(e) {
3582
+ function Br(e) {
3583
3583
  if (kt(e, "__proto__"))
3584
3584
  throw new Error("__proto__ is not allowed as a property");
3585
3585
  if (kt(e, "prototype"))
@@ -3588,7 +3588,7 @@ function zr(e) {
3588
3588
  throw new Error("constructor is not allowed as a property");
3589
3589
  }
3590
3590
  var al = (e, t) => {
3591
- zr(t);
3591
+ Br(t);
3592
3592
  for (let n = 0; n < t.length; n++) {
3593
3593
  const o = t[n];
3594
3594
  if (ct(e))
@@ -3608,7 +3608,7 @@ var al = (e, t) => {
3608
3608
  }
3609
3609
  return e;
3610
3610
  }, an = (e, t, n) => {
3611
- if (zr(t), t.length === 0)
3611
+ if (Br(t), t.length === 0)
3612
3612
  return n(e);
3613
3613
  let o = e;
3614
3614
  for (let s = 0; s < t.length - 1; s++) {
@@ -3660,11 +3660,11 @@ function ln(e, t, n = []) {
3660
3660
  if (!e)
3661
3661
  return;
3662
3662
  if (!be(e)) {
3663
- Be(e, (s, a) => ln(s, t, [...n, ...ot(a)]));
3663
+ ze(e, (s, a) => ln(s, t, [...n, ...ot(a)]));
3664
3664
  return;
3665
3665
  }
3666
3666
  const [o, r] = e;
3667
- r && Be(r, (s, a) => {
3667
+ r && ze(r, (s, a) => {
3668
3668
  ln(s, t, [...n, ...ot(a)]);
3669
3669
  }), t(o, n);
3670
3670
  }
@@ -3684,9 +3684,9 @@ function ll(e, t) {
3684
3684
  const [o, r] = t;
3685
3685
  o.forEach((s) => {
3686
3686
  e = an(e, ot(s), () => e);
3687
- }), r && Be(r, n);
3687
+ }), r && ze(r, n);
3688
3688
  } else
3689
- Be(t, n);
3689
+ ze(t, n);
3690
3690
  return e;
3691
3691
  }
3692
3692
  var cl = (e, t) => it(e) || be(e) || lt(e) || ct(e) || jr(e, t);
@@ -3705,9 +3705,9 @@ function dl(e, t) {
3705
3705
  s.length === 0 ? o = a.map(Gt) : n[Gt(s)] = a.map(Gt);
3706
3706
  }), o ? sn(n) ? [o] : [o, n] : sn(n) ? void 0 : n;
3707
3707
  }
3708
- var Br = (e, t, n, o, r = [], s = [], a = /* @__PURE__ */ new Map()) => {
3708
+ var zr = (e, t, n, o, r = [], s = [], a = /* @__PURE__ */ new Map()) => {
3709
3709
  var i;
3710
- const l = Zi(e);
3710
+ const l = Xi(e);
3711
3711
  if (!l) {
3712
3712
  ul(e, r, t);
3713
3713
  const m = a.get(e);
@@ -3717,35 +3717,35 @@ var Br = (e, t, n, o, r = [], s = [], a = /* @__PURE__ */ new Map()) => {
3717
3717
  } : m;
3718
3718
  }
3719
3719
  if (!cl(e, n)) {
3720
- const m = Oo(e, n), E = m ? {
3720
+ const m = Oo(e, n), b = m ? {
3721
3721
  transformedValue: m.value,
3722
3722
  annotations: [m.type]
3723
3723
  } : {
3724
3724
  transformedValue: e
3725
3725
  };
3726
- return l || a.set(e, E), E;
3726
+ return l || a.set(e, b), b;
3727
3727
  }
3728
3728
  if (kt(s, e))
3729
3729
  return {
3730
3730
  transformedValue: null
3731
3731
  };
3732
- const c = Oo(e, n), u = (i = c == null ? void 0 : c.value) != null ? i : e, d = be(u) ? [] : {}, f = {};
3733
- Be(u, (m, E) => {
3734
- if (E === "__proto__" || E === "constructor" || E === "prototype")
3735
- throw new Error(`Detected property ${E}. This is a prototype pollution risk, please remove it from your object.`);
3736
- const h = Br(m, t, n, o, [...r, E], [...s, e], a);
3737
- d[E] = h.transformedValue, be(h.annotations) ? f[E] = h.annotations : it(h.annotations) && Be(h.annotations, (w, O) => {
3738
- f[Ar(E) + "." + O] = w;
3732
+ const c = Oo(e, n), u = (i = c == null ? void 0 : c.value) != null ? i : e, f = be(u) ? [] : {}, d = {};
3733
+ ze(u, (m, b) => {
3734
+ if (b === "__proto__" || b === "constructor" || b === "prototype")
3735
+ throw new Error(`Detected property ${b}. This is a prototype pollution risk, please remove it from your object.`);
3736
+ const p = zr(m, t, n, o, [...r, b], [...s, e], a);
3737
+ f[b] = p.transformedValue, be(p.annotations) ? d[b] = p.annotations : it(p.annotations) && ze(p.annotations, (E, k) => {
3738
+ d[Ar(b) + "." + k] = E;
3739
3739
  });
3740
3740
  });
3741
- const p = sn(f) ? {
3742
- transformedValue: d,
3741
+ const h = sn(d) ? {
3742
+ transformedValue: f,
3743
3743
  annotations: c ? [c.type] : void 0
3744
3744
  } : {
3745
- transformedValue: d,
3746
- annotations: c ? [c.type, f] : f
3745
+ transformedValue: f,
3746
+ annotations: c ? [c.type, d] : d
3747
3747
  };
3748
- return l || a.set(e, p), p;
3748
+ return l || a.set(e, h), h;
3749
3749
  };
3750
3750
  y();
3751
3751
  y();
@@ -3783,7 +3783,7 @@ function cn(e, t = {}) {
3783
3783
  return pl(r, s, i, e, t.nonenumerable), r;
3784
3784
  }, {});
3785
3785
  }
3786
- var L = class {
3786
+ var j = class {
3787
3787
  /**
3788
3788
  * @param dedupeReferentialEqualities If true, SuperJSON will make sure only one instance of referentially equal objects are serialized and the rest are replaced with `null`.
3789
3789
  */
@@ -3791,10 +3791,10 @@ var L = class {
3791
3791
  this.classRegistry = new Mi(), this.symbolRegistry = new Nr((t) => {
3792
3792
  var n;
3793
3793
  return (n = t.description) != null ? n : "";
3794
- }), this.customTransformerRegistry = new Bi(), this.allowedErrorProps = [], this.dedupe = e;
3794
+ }), this.customTransformerRegistry = new zi(), this.allowedErrorProps = [], this.dedupe = e;
3795
3795
  }
3796
3796
  serialize(e) {
3797
- const t = /* @__PURE__ */ new Map(), n = Br(e, t, this, this.dedupe), o = {
3797
+ const t = /* @__PURE__ */ new Map(), n = zr(e, t, this, this.dedupe), o = {
3798
3798
  json: n.transformedValue
3799
3799
  };
3800
3800
  n.annotations && (o.meta = {
@@ -3834,15 +3834,15 @@ var L = class {
3834
3834
  this.allowedErrorProps.push(...e);
3835
3835
  }
3836
3836
  };
3837
- L.defaultInstance = new L();
3838
- L.serialize = L.defaultInstance.serialize.bind(L.defaultInstance);
3839
- L.deserialize = L.defaultInstance.deserialize.bind(L.defaultInstance);
3840
- L.stringify = L.defaultInstance.stringify.bind(L.defaultInstance);
3841
- L.parse = L.defaultInstance.parse.bind(L.defaultInstance);
3842
- L.registerClass = L.defaultInstance.registerClass.bind(L.defaultInstance);
3843
- L.registerSymbol = L.defaultInstance.registerSymbol.bind(L.defaultInstance);
3844
- L.registerCustom = L.defaultInstance.registerCustom.bind(L.defaultInstance);
3845
- L.allowErrorProps = L.defaultInstance.allowErrorProps.bind(L.defaultInstance);
3837
+ j.defaultInstance = new j();
3838
+ j.serialize = j.defaultInstance.serialize.bind(j.defaultInstance);
3839
+ j.deserialize = j.defaultInstance.deserialize.bind(j.defaultInstance);
3840
+ j.stringify = j.defaultInstance.stringify.bind(j.defaultInstance);
3841
+ j.parse = j.defaultInstance.parse.bind(j.defaultInstance);
3842
+ j.registerClass = j.defaultInstance.registerClass.bind(j.defaultInstance);
3843
+ j.registerSymbol = j.defaultInstance.registerSymbol.bind(j.defaultInstance);
3844
+ j.registerCustom = j.defaultInstance.registerCustom.bind(j.defaultInstance);
3845
+ j.allowErrorProps = j.defaultInstance.allowErrorProps.bind(j.defaultInstance);
3846
3846
  y();
3847
3847
  y();
3848
3848
  y();
@@ -3867,17 +3867,17 @@ y();
3867
3867
  y();
3868
3868
  y();
3869
3869
  var So;
3870
- (So = k).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (So.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3871
- var Io;
3872
- (Io = k).__VUE_DEVTOOLS_KIT_RPC_CLIENT__ != null || (Io.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3870
+ (So = O).__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ != null || (So.__VUE_DEVTOOLS_KIT_MESSAGE_CHANNELS__ = []);
3873
3871
  var To;
3874
- (To = k).__VUE_DEVTOOLS_KIT_RPC_SERVER__ != null || (To.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3872
+ (To = O).__VUE_DEVTOOLS_KIT_RPC_CLIENT__ != null || (To.__VUE_DEVTOOLS_KIT_RPC_CLIENT__ = null);
3873
+ var Io;
3874
+ (Io = O).__VUE_DEVTOOLS_KIT_RPC_SERVER__ != null || (Io.__VUE_DEVTOOLS_KIT_RPC_SERVER__ = null);
3875
3875
  var Po;
3876
- (Po = k).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ != null || (Po.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3876
+ (Po = O).__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ != null || (Po.__VUE_DEVTOOLS_KIT_VITE_RPC_CLIENT__ = null);
3877
3877
  var Co;
3878
- (Co = k).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (Co.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3878
+ (Co = O).__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ != null || (Co.__VUE_DEVTOOLS_KIT_VITE_RPC_SERVER__ = null);
3879
3879
  var Vo;
3880
- (Vo = k).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (Vo.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3880
+ (Vo = O).__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ != null || (Vo.__VUE_DEVTOOLS_KIT_BROADCAST_RPC_SERVER__ = null);
3881
3881
  y();
3882
3882
  y();
3883
3883
  y();
@@ -3891,7 +3891,7 @@ y();
3891
3891
  * @license MIT
3892
3892
  */
3893
3893
  let Qe;
3894
- const ut = (e) => Qe = e, Fr = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
3894
+ const ut = (e) => Qe = e, Wr = process.env.NODE_ENV !== "production" ? Symbol("pinia") : (
3895
3895
  /* istanbul ignore next */
3896
3896
  Symbol()
3897
3897
  );
@@ -3914,7 +3914,7 @@ function Dn(e, t, n) {
3914
3914
  console.error("could not download file");
3915
3915
  }, o.send();
3916
3916
  }
3917
- function Wr(e) {
3917
+ function Fr(e) {
3918
3918
  const t = new XMLHttpRequest();
3919
3919
  t.open("HEAD", e, !1);
3920
3920
  try {
@@ -3931,11 +3931,11 @@ function St(e) {
3931
3931
  t.initMouseEvent("click", !0, !0, window, 0, 0, 0, 80, 20, !1, !1, !1, !1, 0, null), e.dispatchEvent(t);
3932
3932
  }
3933
3933
  }
3934
- const It = typeof navigator == "object" ? navigator : { userAgent: "" }, Gr = /Macintosh/.test(It.userAgent) && /AppleWebKit/.test(It.userAgent) && !/Safari/.test(It.userAgent), Yr = ge ? (
3934
+ const Tt = typeof navigator == "object" ? navigator : { userAgent: "" }, Gr = /Macintosh/.test(Tt.userAgent) && /AppleWebKit/.test(Tt.userAgent) && !/Safari/.test(Tt.userAgent), Yr = ge ? (
3935
3935
  // Use download attribute first if possible (#193 Lumia mobile) unless this is a macOS WebView or mini program
3936
3936
  typeof HTMLAnchorElement < "u" && "download" in HTMLAnchorElement.prototype && !Gr ? ml : (
3937
3937
  // Use msSaveOrOpenBlob as a second approach
3938
- "msSaveOrOpenBlob" in It ? _l : (
3938
+ "msSaveOrOpenBlob" in Tt ? _l : (
3939
3939
  // Fallback to using FileReader and a popup
3940
3940
  vl
3941
3941
  )
@@ -3944,7 +3944,7 @@ const It = typeof navigator == "object" ? navigator : { userAgent: "" }, Gr = /M
3944
3944
  };
3945
3945
  function ml(e, t = "download", n) {
3946
3946
  const o = document.createElement("a");
3947
- o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? Wr(o.href) ? Dn(e, t, n) : (o.target = "_blank", St(o)) : St(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
3947
+ o.download = t, o.rel = "noopener", typeof e == "string" ? (o.href = e, o.origin !== location.origin ? Fr(o.href) ? Dn(e, t, n) : (o.target = "_blank", St(o)) : St(o)) : (o.href = URL.createObjectURL(e), setTimeout(function() {
3948
3948
  URL.revokeObjectURL(o.href);
3949
3949
  }, 4e4), setTimeout(function() {
3950
3950
  St(o);
@@ -3952,7 +3952,7 @@ function ml(e, t = "download", n) {
3952
3952
  }
3953
3953
  function _l(e, t = "download", n) {
3954
3954
  if (typeof e == "string")
3955
- if (Wr(e))
3955
+ if (Fr(e))
3956
3956
  Dn(e, t, n);
3957
3957
  else {
3958
3958
  const o = document.createElement("a");
@@ -3982,7 +3982,7 @@ function vl(e, t, n, o) {
3982
3982
  }, 4e4);
3983
3983
  }
3984
3984
  }
3985
- function K(e, t) {
3985
+ function z(e, t) {
3986
3986
  const n = "🍍 " + e;
3987
3987
  typeof __VUE_DEVTOOLS_TOAST__ == "function" ? __VUE_DEVTOOLS_TOAST__(n, t) : t === "error" ? console.error(n) : t === "warn" ? console.warn(n) : console.log(n);
3988
3988
  }
@@ -3991,29 +3991,29 @@ function xn(e) {
3991
3991
  }
3992
3992
  function qr() {
3993
3993
  if (!("clipboard" in navigator))
3994
- return K("Your browser doesn't support the Clipboard API", "error"), !0;
3994
+ return z("Your browser doesn't support the Clipboard API", "error"), !0;
3995
3995
  }
3996
3996
  function Jr(e) {
3997
- return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (K('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
3997
+ return e instanceof Error && e.message.toLowerCase().includes("document is not focused") ? (z('You need to activate the "Emulate a focused page" setting in the "Rendering" panel of devtools.', "warn"), !0) : !1;
3998
3998
  }
3999
3999
  async function gl(e) {
4000
4000
  if (!qr())
4001
4001
  try {
4002
- await navigator.clipboard.writeText(JSON.stringify(e.state.value)), K("Global state copied to clipboard.");
4002
+ await navigator.clipboard.writeText(JSON.stringify(e.state.value)), z("Global state copied to clipboard.");
4003
4003
  } catch (t) {
4004
4004
  if (Jr(t))
4005
4005
  return;
4006
- K("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
4006
+ z("Failed to serialize the state. Check the console for more details.", "error"), console.error(t);
4007
4007
  }
4008
4008
  }
4009
4009
  async function yl(e) {
4010
4010
  if (!qr())
4011
4011
  try {
4012
- Xr(e, JSON.parse(await navigator.clipboard.readText())), K("Global state pasted from clipboard.");
4012
+ Zr(e, JSON.parse(await navigator.clipboard.readText())), z("Global state pasted from clipboard.");
4013
4013
  } catch (t) {
4014
4014
  if (Jr(t))
4015
4015
  return;
4016
- K("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
4016
+ z("Failed to deserialize the state from clipboard. Check the console for more details.", "error"), console.error(t);
4017
4017
  }
4018
4018
  }
4019
4019
  async function El(e) {
@@ -4022,7 +4022,7 @@ async function El(e) {
4022
4022
  type: "text/plain;charset=utf-8"
4023
4023
  }), "pinia-state.json");
4024
4024
  } catch (t) {
4025
- K("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
4025
+ z("Failed to export the state as JSON. Check the console for more details.", "error"), console.error(t);
4026
4026
  }
4027
4027
  }
4028
4028
  let ue;
@@ -4047,12 +4047,12 @@ async function wl(e) {
4047
4047
  if (!t)
4048
4048
  return;
4049
4049
  const { text: n, file: o } = t;
4050
- Xr(e, JSON.parse(n)), K(`Global state imported from "${o.name}".`);
4050
+ Zr(e, JSON.parse(n)), z(`Global state imported from "${o.name}".`);
4051
4051
  } catch (t) {
4052
- K("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
4052
+ z("Failed to import the state from JSON. Check the console for more details.", "error"), console.error(t);
4053
4053
  }
4054
4054
  }
4055
- function Xr(e, t) {
4055
+ function Zr(e, t) {
4056
4056
  for (const n in t) {
4057
4057
  const o = e.state.value[n];
4058
4058
  o ? Object.assign(o, t[n]) : e.state.value[n] = t[n];
@@ -4065,11 +4065,11 @@ function re(e) {
4065
4065
  }
4066
4066
  };
4067
4067
  }
4068
- const Zr = "🍍 Pinia (root)", Tt = "_root";
4068
+ const Xr = "🍍 Pinia (root)", It = "_root";
4069
4069
  function Ol(e) {
4070
4070
  return xn(e) ? {
4071
- id: Tt,
4072
- label: Zr
4071
+ id: It,
4072
+ label: Xr
4073
4073
  } : {
4074
4074
  id: e.$id,
4075
4075
  label: e.$id
@@ -4124,7 +4124,7 @@ function Sl(e) {
4124
4124
  newValue: e.newValue
4125
4125
  } : {};
4126
4126
  }
4127
- function Il(e) {
4127
+ function Tl(e) {
4128
4128
  switch (e) {
4129
4129
  case ie.direct:
4130
4130
  return "mutation";
@@ -4137,7 +4137,7 @@ function Il(e) {
4137
4137
  }
4138
4138
  }
4139
4139
  let Ue = !0;
4140
- const Pt = [], we = "pinia:mutations", W = "pinia", { assign: Tl } = Object, $t = (e) => "🍍 " + e;
4140
+ const Pt = [], we = "pinia:mutations", W = "pinia", { assign: Il } = Object, $t = (e) => "🍍 " + e;
4141
4141
  function Pl(e, t) {
4142
4142
  Cr({
4143
4143
  id: "dev.esm.pinia",
@@ -4148,7 +4148,7 @@ function Pl(e, t) {
4148
4148
  componentStateTypes: Pt,
4149
4149
  app: e
4150
4150
  }, (n) => {
4151
- typeof n.now != "function" && K("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
4151
+ typeof n.now != "function" && z("You seem to be using an outdated version of Vue Devtools. Are you still using the Beta release instead of the stable one? You can find the links at https://devtools.vuejs.org/guide/installation.html."), n.addTimelineLayer({
4152
4152
  id: we,
4153
4153
  label: "Pinia 🍍",
4154
4154
  color: 15064968
@@ -4193,7 +4193,7 @@ function Pl(e, t) {
4193
4193
  tooltip: 'Reset the state (with "$reset")',
4194
4194
  action: (o) => {
4195
4195
  const r = t._s.get(o);
4196
- r ? typeof r.$reset != "function" ? K(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), K(`Store "${o}" reset.`)) : K(`Cannot reset "${o}" store because it wasn't found.`, "warn");
4196
+ r ? typeof r.$reset != "function" ? z(`Cannot reset "${o}" store because it doesn't have a "$reset" method implemented.`, "warn") : (r.$reset(), z(`Store "${o}" reset.`)) : z(`Cannot reset "${o}" store because it wasn't found.`, "warn");
4197
4197
  }
4198
4198
  }
4199
4199
  ]
@@ -4239,20 +4239,20 @@ function Pl(e, t) {
4239
4239
  }), n.on.getInspectorTree((o) => {
4240
4240
  if (o.app === e && o.inspectorId === W) {
4241
4241
  let r = [t];
4242
- r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((s) => "$id" in s ? s.$id.toLowerCase().includes(o.filter.toLowerCase()) : Zr.toLowerCase().includes(o.filter.toLowerCase())) : r).map(Ol);
4242
+ r = r.concat(Array.from(t._s.values())), o.rootNodes = (o.filter ? r.filter((s) => "$id" in s ? s.$id.toLowerCase().includes(o.filter.toLowerCase()) : Xr.toLowerCase().includes(o.filter.toLowerCase())) : r).map(Ol);
4243
4243
  }
4244
4244
  }), globalThis.$pinia = t, n.on.getInspectorState((o) => {
4245
4245
  if (o.app === e && o.inspectorId === W) {
4246
- const r = o.nodeId === Tt ? t : t._s.get(o.nodeId);
4246
+ const r = o.nodeId === It ? t : t._s.get(o.nodeId);
4247
4247
  if (!r)
4248
4248
  return;
4249
- r && (o.nodeId !== Tt && (globalThis.$store = Me(r)), o.state = kl(r));
4249
+ r && (o.nodeId !== It && (globalThis.$store = Me(r)), o.state = kl(r));
4250
4250
  }
4251
4251
  }), n.on.editInspectorState((o) => {
4252
4252
  if (o.app === e && o.inspectorId === W) {
4253
- const r = o.nodeId === Tt ? t : t._s.get(o.nodeId);
4253
+ const r = o.nodeId === It ? t : t._s.get(o.nodeId);
4254
4254
  if (!r)
4255
- return K(`store "${o.nodeId}" not found`, "error");
4255
+ return z(`store "${o.nodeId}" not found`, "error");
4256
4256
  const { path: s } = o;
4257
4257
  xn(r) ? s.unshift("state") : (s.length !== 1 || !r._customProperties.has(s[0]) || s[0] in r.$state) && s.unshift("$state"), Ue = !1, o.set(r, s, o.state.value), Ue = !0;
4258
4258
  }
@@ -4260,10 +4260,10 @@ function Pl(e, t) {
4260
4260
  if (o.type.startsWith("🍍")) {
4261
4261
  const r = o.type.replace(/^🍍\s*/, ""), s = t._s.get(r);
4262
4262
  if (!s)
4263
- return K(`store "${r}" not found`, "error");
4263
+ return z(`store "${r}" not found`, "error");
4264
4264
  const { path: a } = o;
4265
4265
  if (a[0] !== "state")
4266
- return K(`Invalid path for store "${r}":
4266
+ return z(`Invalid path for store "${r}":
4267
4267
  ${a}
4268
4268
  Only state can be modified.`);
4269
4269
  a[0] = "$state", Ue = !1, o.set(s, a, o.state.value), Ue = !0;
@@ -4309,7 +4309,7 @@ function Cl(e, t) {
4309
4309
  },
4310
4310
  groupId: u
4311
4311
  }
4312
- }), a((d) => {
4312
+ }), a((f) => {
4313
4313
  ye = void 0, n.addTimelineEvent({
4314
4314
  layerId: we,
4315
4315
  event: {
@@ -4320,12 +4320,12 @@ function Cl(e, t) {
4320
4320
  store: re(t.$id),
4321
4321
  action: re(l),
4322
4322
  args: c,
4323
- result: d
4323
+ result: f
4324
4324
  },
4325
4325
  groupId: u
4326
4326
  }
4327
4327
  });
4328
- }), i((d) => {
4328
+ }), i((f) => {
4329
4329
  ye = void 0, n.addTimelineEvent({
4330
4330
  layerId: we,
4331
4331
  event: {
@@ -4337,14 +4337,14 @@ function Cl(e, t) {
4337
4337
  store: re(t.$id),
4338
4338
  action: re(l),
4339
4339
  args: c,
4340
- error: d
4340
+ error: f
4341
4341
  },
4342
4342
  groupId: u
4343
4343
  }
4344
4344
  });
4345
4345
  });
4346
4346
  }, !0), t._customProperties.forEach((a) => {
4347
- F(() => C(t[a]), (i, l) => {
4347
+ K(() => P(t[a]), (i, l) => {
4348
4348
  n.notifyComponentUpdate(), n.sendInspectorState(W), Ue && n.addTimelineEvent({
4349
4349
  layerId: we,
4350
4350
  event: {
@@ -4364,8 +4364,8 @@ function Cl(e, t) {
4364
4364
  return;
4365
4365
  const c = {
4366
4366
  time: o(),
4367
- title: Il(i),
4368
- data: Tl({ store: re(t.$id) }, Sl(a)),
4367
+ title: Tl(i),
4368
+ data: Il({ store: re(t.$id) }, Sl(a)),
4369
4369
  groupId: ye
4370
4370
  };
4371
4371
  i === ie.patchFunction ? c.subtitle = "⤵️" : i === ie.patchObject ? c.subtitle = "🧩" : a && !Array.isArray(a) && (c.subtitle = a.type), a && (c.data["rawEvent(s)"] = {
@@ -4381,7 +4381,7 @@ function Cl(e, t) {
4381
4381
  });
4382
4382
  }, { detached: !0, flush: "sync" });
4383
4383
  const r = t._hotUpdate;
4384
- t._hotUpdate = ne((a) => {
4384
+ t._hotUpdate = te((a) => {
4385
4385
  r(a), n.addTimelineEvent({
4386
4386
  layerId: we,
4387
4387
  event: {
@@ -4397,8 +4397,8 @@ function Cl(e, t) {
4397
4397
  });
4398
4398
  const { $dispose: s } = t;
4399
4399
  t.$dispose = () => {
4400
- s(), n.notifyComponentUpdate(), n.sendInspectorTree(W), n.sendInspectorState(W), n.getSettings().logStoreChanges && K(`Disposed "${t.$id}" store 🗑`);
4401
- }, n.notifyComponentUpdate(), n.sendInspectorTree(W), n.sendInspectorState(W), n.getSettings().logStoreChanges && K(`"${t.$id}" store installed 🆕`);
4400
+ s(), n.notifyComponentUpdate(), n.sendInspectorTree(W), n.sendInspectorState(W), n.getSettings().logStoreChanges && z(`Disposed "${t.$id}" store 🗑`);
4401
+ }, n.notifyComponentUpdate(), n.sendInspectorTree(W), n.sendInspectorState(W), n.getSettings().logStoreChanges && z(`"${t.$id}" store installed 🆕`);
4402
4402
  });
4403
4403
  }
4404
4404
  let Qr = 0, ye;
@@ -4436,11 +4436,11 @@ function Vl({ app: e, store: t, options: n }) {
4436
4436
  }
4437
4437
  }
4438
4438
  function Nl() {
4439
- const e = gn(!0), t = e.run(() => N({}));
4439
+ const e = gn(!0), t = e.run(() => V({}));
4440
4440
  let n = [], o = [];
4441
- const r = ne({
4441
+ const r = te({
4442
4442
  install(s) {
4443
- ut(r), r._a = s, s.provide(Fr, r), s.config.globalProperties.$pinia = r, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge && Pl(s, r), o.forEach((a) => n.push(a)), o = [];
4443
+ ut(r), r._a = s, s.provide(Wr, r), s.config.globalProperties.$pinia = r, process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge && Pl(s, r), o.forEach((a) => n.push(a)), o = [];
4444
4444
  },
4445
4445
  use(s) {
4446
4446
  return this._a ? n.push(s) : o.push(s), this;
@@ -4498,7 +4498,7 @@ const xl = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration")
4498
4498
  function Al(e) {
4499
4499
  return !De(e) || !e.hasOwnProperty(xl);
4500
4500
  }
4501
- const { assign: ee } = Object;
4501
+ const { assign: Q } = Object;
4502
4502
  function $o(e) {
4503
4503
  return !!(le(e) && e.effect);
4504
4504
  }
@@ -4509,51 +4509,51 @@ function Ro(e, t, n, o) {
4509
4509
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
4510
4510
  const u = process.env.NODE_ENV !== "production" && o ? (
4511
4511
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
4512
- Nt(N(r ? r() : {}).value)
4512
+ Nt(V(r ? r() : {}).value)
4513
4513
  ) : Nt(n.state.value[e]);
4514
- return ee(u, s, Object.keys(a || {}).reduce((d, f) => (process.env.NODE_ENV !== "production" && f in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = ne(x(() => {
4514
+ return Q(u, s, Object.keys(a || {}).reduce((f, d) => (process.env.NODE_ENV !== "production" && d in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${d}" in store "${e}".`), f[d] = te(A(() => {
4515
4515
  ut(n);
4516
- const p = n._s.get(e);
4517
- return a[f].call(p, p);
4518
- })), d), {}));
4516
+ const h = n._s.get(e);
4517
+ return a[d].call(h, h);
4518
+ })), f), {}));
4519
4519
  }
4520
4520
  return l = dn(e, c, t, n, o, !0), l;
4521
4521
  }
4522
4522
  function dn(e, t, n = {}, o, r, s) {
4523
4523
  let a;
4524
- const i = ee({ actions: {} }, n);
4524
+ const i = Q({ actions: {} }, n);
4525
4525
  if (process.env.NODE_ENV !== "production" && !o._e.active)
4526
4526
  throw new Error("Pinia destroyed");
4527
4527
  const l = { deep: !0 };
4528
- process.env.NODE_ENV !== "production" && (l.onTrigger = (b) => {
4529
- c ? p = b : c == !1 && !v._hotUpdating && (Array.isArray(p) ? p.push(b) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
4528
+ process.env.NODE_ENV !== "production" && (l.onTrigger = (w) => {
4529
+ c ? h = w : c == !1 && !v._hotUpdating && (Array.isArray(h) ? h.push(w) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
4530
4530
  });
4531
- let c, u, d = [], f = [], p;
4531
+ let c, u, f = [], d = [], h;
4532
4532
  const m = o.state.value[e];
4533
4533
  !s && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
4534
- const E = N({});
4535
- let h;
4536
- function w(b) {
4534
+ const b = V({});
4535
+ let p;
4536
+ function E(w) {
4537
4537
  let _;
4538
- c = u = !1, process.env.NODE_ENV !== "production" && (p = []), typeof b == "function" ? (b(o.state.value[e]), _ = {
4538
+ c = u = !1, process.env.NODE_ENV !== "production" && (h = []), typeof w == "function" ? (w(o.state.value[e]), _ = {
4539
4539
  type: ie.patchFunction,
4540
4540
  storeId: e,
4541
- events: p
4542
- }) : (un(o.state.value[e], b), _ = {
4541
+ events: h
4542
+ }) : (un(o.state.value[e], w), _ = {
4543
4543
  type: ie.patchObject,
4544
- payload: b,
4544
+ payload: w,
4545
4545
  storeId: e,
4546
- events: p
4546
+ events: h
4547
4547
  });
4548
- const g = h = Symbol();
4548
+ const g = p = Symbol();
4549
4549
  Ve().then(() => {
4550
- h === g && (c = !0);
4551
- }), u = !0, $e(d, _, o.state.value[e]);
4550
+ p === g && (c = !0);
4551
+ }), u = !0, $e(f, _, o.state.value[e]);
4552
4552
  }
4553
- const O = s ? function() {
4554
- const { state: b } = n, _ = b ? b() : {};
4553
+ const k = s ? function() {
4554
+ const { state: w } = n, _ = w ? w() : {};
4555
4555
  this.$patch((g) => {
4556
- ee(g, _);
4556
+ Q(g, _);
4557
4557
  });
4558
4558
  } : (
4559
4559
  /* istanbul ignore next */
@@ -4561,146 +4561,146 @@ function dn(e, t, n = {}, o, r, s) {
4561
4561
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
4562
4562
  } : ts
4563
4563
  );
4564
- function T() {
4565
- a.stop(), d = [], f = [], o._s.delete(e);
4564
+ function x() {
4565
+ a.stop(), f = [], d = [], o._s.delete(e);
4566
4566
  }
4567
- const H = (b, _ = "") => {
4568
- if (Ao in b)
4569
- return b[Yt] = _, b;
4567
+ const N = (w, _ = "") => {
4568
+ if (Ao in w)
4569
+ return w[Yt] = _, w;
4570
4570
  const g = function() {
4571
4571
  ut(o);
4572
- const I = Array.from(arguments), j = [], Z = [];
4573
- function G(A) {
4574
- j.push(A);
4572
+ const T = Array.from(arguments), U = [], Z = [];
4573
+ function F($) {
4574
+ U.push($);
4575
4575
  }
4576
- function P(A) {
4577
- Z.push(A);
4576
+ function I($) {
4577
+ Z.push($);
4578
4578
  }
4579
- $e(f, {
4580
- args: I,
4579
+ $e(d, {
4580
+ args: T,
4581
4581
  name: g[Yt],
4582
4582
  store: v,
4583
- after: G,
4584
- onError: P
4583
+ after: F,
4584
+ onError: I
4585
4585
  });
4586
- let Q;
4586
+ let X;
4587
4587
  try {
4588
- Q = b.apply(this && this.$id === e ? this : v, I);
4589
- } catch (A) {
4590
- throw $e(Z, A), A;
4588
+ X = w.apply(this && this.$id === e ? this : v, T);
4589
+ } catch ($) {
4590
+ throw $e(Z, $), $;
4591
4591
  }
4592
- return Q instanceof Promise ? Q.then((A) => ($e(j, A), A)).catch((A) => ($e(Z, A), Promise.reject(A))) : ($e(j, Q), Q);
4592
+ return X instanceof Promise ? X.then(($) => ($e(U, $), $)).catch(($) => ($e(Z, $), Promise.reject($))) : ($e(U, X), X);
4593
4593
  };
4594
4594
  return g[Ao] = !0, g[Yt] = _, g;
4595
- }, M = /* @__PURE__ */ ne({
4595
+ }, M = /* @__PURE__ */ te({
4596
4596
  actions: {},
4597
4597
  getters: {},
4598
4598
  state: [],
4599
- hotState: E
4600
- }), U = {
4599
+ hotState: b
4600
+ }), ne = {
4601
4601
  _p: o,
4602
4602
  // _s: scope,
4603
4603
  $id: e,
4604
- $onAction: xo.bind(null, f),
4605
- $patch: w,
4606
- $reset: O,
4607
- $subscribe(b, _ = {}) {
4608
- const g = xo(d, b, _.detached, () => I()), I = a.run(() => F(() => o.state.value[e], (j) => {
4609
- (_.flush === "sync" ? u : c) && b({
4604
+ $onAction: xo.bind(null, d),
4605
+ $patch: E,
4606
+ $reset: k,
4607
+ $subscribe(w, _ = {}) {
4608
+ const g = xo(f, w, _.detached, () => T()), T = a.run(() => K(() => o.state.value[e], (U) => {
4609
+ (_.flush === "sync" ? u : c) && w({
4610
4610
  storeId: e,
4611
4611
  type: ie.direct,
4612
- events: p
4613
- }, j);
4614
- }, ee({}, l, _)));
4612
+ events: h
4613
+ }, U);
4614
+ }, Q({}, l, _)));
4615
4615
  return g;
4616
4616
  },
4617
- $dispose: T
4618
- }, v = rr(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge ? ee(
4617
+ $dispose: x
4618
+ }, v = rr(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge ? Q(
4619
4619
  {
4620
4620
  _hmrPayload: M,
4621
- _customProperties: ne(/* @__PURE__ */ new Set())
4621
+ _customProperties: te(/* @__PURE__ */ new Set())
4622
4622
  // devtools custom properties
4623
4623
  },
4624
- U
4624
+ ne
4625
4625
  // must be added later
4626
4626
  // setupStore
4627
- ) : U);
4627
+ ) : ne);
4628
4628
  o._s.set(e, v);
4629
- const S = (o._a && o._a.runWithContext || Dl)(() => o._e.run(() => (a = gn()).run(() => t({ action: H }))));
4630
- for (const b in S) {
4631
- const _ = S[b];
4629
+ const S = (o._a && o._a.runWithContext || Dl)(() => o._e.run(() => (a = gn()).run(() => t({ action: N }))));
4630
+ for (const w in S) {
4631
+ const _ = S[w];
4632
4632
  if (le(_) && !$o(_) || Ge(_))
4633
- process.env.NODE_ENV !== "production" && r ? E.value[b] = Ee(S, b) : s || (m && Al(_) && (le(_) ? _.value = m[b] : un(_, m[b])), o.state.value[e][b] = _), process.env.NODE_ENV !== "production" && M.state.push(b);
4633
+ process.env.NODE_ENV !== "production" && r ? b.value[w] = Ee(S, w) : s || (m && Al(_) && (le(_) ? _.value = m[w] : un(_, m[w])), o.state.value[e][w] = _), process.env.NODE_ENV !== "production" && M.state.push(w);
4634
4634
  else if (typeof _ == "function") {
4635
- const g = process.env.NODE_ENV !== "production" && r ? _ : H(_, b);
4636
- S[b] = g, process.env.NODE_ENV !== "production" && (M.actions[b] = _), i.actions[b] = _;
4637
- } else process.env.NODE_ENV !== "production" && $o(_) && (M.getters[b] = s ? (
4635
+ const g = process.env.NODE_ENV !== "production" && r ? _ : N(_, w);
4636
+ S[w] = g, process.env.NODE_ENV !== "production" && (M.actions[w] = _), i.actions[w] = _;
4637
+ } else process.env.NODE_ENV !== "production" && $o(_) && (M.getters[w] = s ? (
4638
4638
  // @ts-expect-error
4639
- n.getters[b]
4639
+ n.getters[w]
4640
4640
  ) : _, ge && (S._getters || // @ts-expect-error: same
4641
- (S._getters = ne([]))).push(b));
4641
+ (S._getters = te([]))).push(w));
4642
4642
  }
4643
- if (ee(v, S), ee(Me(v), S), Object.defineProperty(v, "$state", {
4644
- get: () => process.env.NODE_ENV !== "production" && r ? E.value : o.state.value[e],
4645
- set: (b) => {
4643
+ if (Q(v, S), Q(Me(v), S), Object.defineProperty(v, "$state", {
4644
+ get: () => process.env.NODE_ENV !== "production" && r ? b.value : o.state.value[e],
4645
+ set: (w) => {
4646
4646
  if (process.env.NODE_ENV !== "production" && r)
4647
4647
  throw new Error("cannot set hotState");
4648
- w((_) => {
4649
- ee(_, b);
4648
+ E((_) => {
4649
+ Q(_, w);
4650
4650
  });
4651
4651
  }
4652
- }), process.env.NODE_ENV !== "production" && (v._hotUpdate = ne((b) => {
4653
- v._hotUpdating = !0, b._hmrPayload.state.forEach((_) => {
4652
+ }), process.env.NODE_ENV !== "production" && (v._hotUpdate = te((w) => {
4653
+ v._hotUpdating = !0, w._hmrPayload.state.forEach((_) => {
4654
4654
  if (_ in v.$state) {
4655
- const g = b.$state[_], I = v.$state[_];
4656
- typeof g == "object" && De(g) && De(I) ? es(g, I) : b.$state[_] = I;
4655
+ const g = w.$state[_], T = v.$state[_];
4656
+ typeof g == "object" && De(g) && De(T) ? es(g, T) : w.$state[_] = T;
4657
4657
  }
4658
- v[_] = Ee(b.$state, _);
4658
+ v[_] = Ee(w.$state, _);
4659
4659
  }), Object.keys(v.$state).forEach((_) => {
4660
- _ in b.$state || delete v[_];
4661
- }), c = !1, u = !1, o.state.value[e] = Ee(b._hmrPayload, "hotState"), u = !0, Ve().then(() => {
4660
+ _ in w.$state || delete v[_];
4661
+ }), c = !1, u = !1, o.state.value[e] = Ee(w._hmrPayload, "hotState"), u = !0, Ve().then(() => {
4662
4662
  c = !0;
4663
4663
  });
4664
- for (const _ in b._hmrPayload.actions) {
4665
- const g = b[_];
4664
+ for (const _ in w._hmrPayload.actions) {
4665
+ const g = w[_];
4666
4666
  v[_] = //
4667
- H(g, _);
4667
+ N(g, _);
4668
4668
  }
4669
- for (const _ in b._hmrPayload.getters) {
4670
- const g = b._hmrPayload.getters[_], I = s ? (
4669
+ for (const _ in w._hmrPayload.getters) {
4670
+ const g = w._hmrPayload.getters[_], T = s ? (
4671
4671
  // special handling of options api
4672
- x(() => (ut(o), g.call(v, v)))
4672
+ A(() => (ut(o), g.call(v, v)))
4673
4673
  ) : g;
4674
4674
  v[_] = //
4675
- I;
4675
+ T;
4676
4676
  }
4677
4677
  Object.keys(v._hmrPayload.getters).forEach((_) => {
4678
- _ in b._hmrPayload.getters || delete v[_];
4678
+ _ in w._hmrPayload.getters || delete v[_];
4679
4679
  }), Object.keys(v._hmrPayload.actions).forEach((_) => {
4680
- _ in b._hmrPayload.actions || delete v[_];
4681
- }), v._hmrPayload = b._hmrPayload, v._getters = b._getters, v._hotUpdating = !1;
4680
+ _ in w._hmrPayload.actions || delete v[_];
4681
+ }), v._hmrPayload = w._hmrPayload, v._getters = w._getters, v._hotUpdating = !1;
4682
4682
  })), process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge) {
4683
- const b = {
4683
+ const w = {
4684
4684
  writable: !0,
4685
4685
  configurable: !0,
4686
4686
  // avoid warning on devtools trying to display this property
4687
4687
  enumerable: !1
4688
4688
  };
4689
4689
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((_) => {
4690
- Object.defineProperty(v, _, ee({ value: v[_] }, b));
4690
+ Object.defineProperty(v, _, Q({ value: v[_] }, w));
4691
4691
  });
4692
4692
  }
4693
- return o._p.forEach((b) => {
4693
+ return o._p.forEach((w) => {
4694
4694
  if (process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && ge) {
4695
- const _ = a.run(() => b({
4695
+ const _ = a.run(() => w({
4696
4696
  store: v,
4697
4697
  app: o._a,
4698
4698
  pinia: o,
4699
4699
  options: i
4700
4700
  }));
4701
- Object.keys(_ || {}).forEach((g) => v._customProperties.add(g)), ee(v, _);
4701
+ Object.keys(_ || {}).forEach((g) => v._customProperties.add(g)), Q(v, _);
4702
4702
  } else
4703
- ee(v, a.run(() => b({
4703
+ Q(v, a.run(() => w({
4704
4704
  store: v,
4705
4705
  app: o._a,
4706
4706
  pinia: o,
@@ -4720,22 +4720,22 @@ function $l(e, t, n) {
4720
4720
  const l = or();
4721
4721
  if (a = // in test mode, ignore the argument provided as we can always retrieve a
4722
4722
  // pinia instance with getActivePinia()
4723
- (process.env.NODE_ENV === "test" && Qe && Qe._testing ? null : a) || (l ? yn(Fr, null) : null), a && ut(a), process.env.NODE_ENV !== "production" && !Qe)
4723
+ (process.env.NODE_ENV === "test" && Qe && Qe._testing ? null : a) || (l ? yn(Wr, null) : null), a && ut(a), process.env.NODE_ENV !== "production" && !Qe)
4724
4724
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
4725
4725
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
4726
4726
  This will fail in production.`);
4727
4727
  a = Qe, a._s.has(e) || (r ? dn(e, t, o, a) : Ro(e, o, a), process.env.NODE_ENV !== "production" && (s._pinia = a));
4728
4728
  const c = a._s.get(e);
4729
4729
  if (process.env.NODE_ENV !== "production" && i) {
4730
- const u = "__hot:" + e, d = r ? dn(u, t, o, a, !0) : Ro(u, ee({}, o), a, !0);
4731
- i._hotUpdate(d), delete a.state.value[u], a._s.delete(u);
4730
+ const u = "__hot:" + e, f = r ? dn(u, t, o, a, !0) : Ro(u, Q({}, o), a, !0);
4731
+ i._hotUpdate(f), delete a.state.value[u], a._s.delete(u);
4732
4732
  }
4733
4733
  if (process.env.NODE_ENV !== "production" && ge) {
4734
4734
  const u = ht();
4735
4735
  if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
4736
4736
  !i) {
4737
- const d = u.proxy, f = "_pStores" in d ? d._pStores : d._pStores = {};
4738
- f[e] = c;
4737
+ const f = u.proxy, d = "_pStores" in f ? f._pStores : f._pStores = {};
4738
+ d[e] = c;
4739
4739
  }
4740
4740
  }
4741
4741
  return c;
@@ -4743,11 +4743,11 @@ This will fail in production.`);
4743
4743
  return s.$id = e, s;
4744
4744
  }
4745
4745
  const Rl = /* @__PURE__ */ $l("data", () => {
4746
- const e = N([]), t = N({});
4746
+ const e = V([]), t = V({});
4747
4747
  return { records: e, record: t };
4748
4748
  });
4749
4749
  function ns(e) {
4750
- const t = N();
4750
+ const t = V();
4751
4751
  return Ae(async () => {
4752
4752
  var n, o, r;
4753
4753
  e || (e = yn("$registry"));
@@ -4767,7 +4767,7 @@ function ns(e) {
4767
4767
  }
4768
4768
  const Ll = class Ct {
4769
4769
  constructor(t, n) {
4770
- if (Y(this, "name"), Y(this, "registry"), Y(this, "router"), Y(this, "getMeta"), Ct._root)
4770
+ if (G(this, "name"), G(this, "registry"), G(this, "router"), G(this, "getMeta"), Ct._root)
4771
4771
  return Ct._root;
4772
4772
  Ct._root = this, this.name = "Registry", this.registry = {}, this.router = t, this.getMeta = n;
4773
4773
  }
@@ -4785,7 +4785,7 @@ const Ll = class Ct {
4785
4785
  });
4786
4786
  }
4787
4787
  };
4788
- Y(Ll, "_root");
4788
+ G(Ll, "_root");
4789
4789
  function jl(e) {
4790
4790
  return e && typeof e.then == "function";
4791
4791
  }
@@ -4811,7 +4811,7 @@ function vt() {
4811
4811
  return e <= qt && (e = qt + 1), qt = e, e;
4812
4812
  }
4813
4813
  var Ml = vt, Hl = "native";
4814
- function zl(e) {
4814
+ function Bl(e) {
4815
4815
  var t = {
4816
4816
  time: vt(),
4817
4817
  messagesCallback: null,
@@ -4823,7 +4823,7 @@ function zl(e) {
4823
4823
  t.messagesCallback && t.messagesCallback(n.data);
4824
4824
  }, t;
4825
4825
  }
4826
- function Bl(e) {
4826
+ function zl(e) {
4827
4827
  e.bc.close(), e.subFns = [];
4828
4828
  }
4829
4829
  function Kl(e, t) {
@@ -4833,10 +4833,10 @@ function Kl(e, t) {
4833
4833
  return Promise.reject(n);
4834
4834
  }
4835
4835
  }
4836
- function Fl(e, t) {
4836
+ function Wl(e, t) {
4837
4837
  e.messagesCallback = t;
4838
4838
  }
4839
- function Wl() {
4839
+ function Fl() {
4840
4840
  if (typeof globalThis < "u" && globalThis.Deno && globalThis.Deno.args)
4841
4841
  return !0;
4842
4842
  if ((typeof window < "u" || typeof self < "u") && typeof BroadcastChannel == "function") {
@@ -4850,18 +4850,18 @@ function Gl() {
4850
4850
  return 150;
4851
4851
  }
4852
4852
  var Yl = {
4853
- create: zl,
4854
- close: Bl,
4855
- onMessage: Fl,
4853
+ create: Bl,
4854
+ close: zl,
4855
+ onMessage: Wl,
4856
4856
  postMessage: Kl,
4857
- canBeUsed: Wl,
4857
+ canBeUsed: Fl,
4858
4858
  type: Hl,
4859
4859
  averageResponseTime: Gl,
4860
4860
  microSeconds: Ml
4861
4861
  };
4862
4862
  class rs {
4863
4863
  constructor(t) {
4864
- Y(this, "ttl"), Y(this, "map", /* @__PURE__ */ new Map()), Y(this, "_to", !1), this.ttl = t;
4864
+ G(this, "ttl"), G(this, "map", /* @__PURE__ */ new Map()), G(this, "_to", !1), this.ttl = t;
4865
4865
  }
4866
4866
  has(t) {
4867
4867
  return this.map.has(t);
@@ -4895,9 +4895,9 @@ function $n() {
4895
4895
  var e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, t = JSON.parse(JSON.stringify(e));
4896
4896
  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;
4897
4897
  }
4898
- var Jl = vt, Xl = "pubkey.broadcast-channel-0-", pe = "messages", Mt = {
4898
+ var Jl = vt, Zl = "pubkey.broadcast-channel-0-", pe = "messages", Mt = {
4899
4899
  durability: "relaxed"
4900
- }, Zl = "idb";
4900
+ }, Xl = "idb";
4901
4901
  function as() {
4902
4902
  if (typeof indexedDB < "u") return indexedDB;
4903
4903
  if (typeof window < "u") {
@@ -4911,7 +4911,7 @@ function Rn(e) {
4911
4911
  e.commit && e.commit();
4912
4912
  }
4913
4913
  function Ql(e) {
4914
- var t = as(), n = Xl + e, o = t.open(n);
4914
+ var t = as(), n = Zl + e, o = t.open(n);
4915
4915
  return o.onupgradeneeded = function(r) {
4916
4916
  var s = r.target.result;
4917
4917
  s.createObjectStore(pe, {
@@ -4963,11 +4963,11 @@ function tc(e, t) {
4963
4963
  }
4964
4964
  return new Promise(function(l, c) {
4965
4965
  var u = i();
4966
- u.onerror = function(d) {
4967
- return c(d);
4968
- }, u.onsuccess = function(d) {
4969
- var f = d.target.result;
4970
- f ? f.value.id < t + 1 ? f.continue(t + 1) : (r.push(f.value), f.continue()) : (Rn(n), l(r));
4966
+ u.onerror = function(f) {
4967
+ return c(f);
4968
+ }, u.onsuccess = function(f) {
4969
+ var d = f.target.result;
4970
+ d ? d.value.id < t + 1 ? d.continue(t + 1) : (r.push(d.value), d.continue()) : (Rn(n), l(r));
4971
4971
  };
4972
4972
  });
4973
4973
  }
@@ -5080,7 +5080,7 @@ var fc = {
5080
5080
  onMessage: cc,
5081
5081
  postMessage: lc,
5082
5082
  canBeUsed: uc,
5083
- type: Zl,
5083
+ type: Xl,
5084
5084
  averageResponseTime: dc,
5085
5085
  microSeconds: Jl
5086
5086
  }, pc = vt, hc = "pubkey.broadcastChannel-", mc = "localstorage";
@@ -5172,11 +5172,11 @@ function Sc(e) {
5172
5172
  };
5173
5173
  return Ln.add(t), t;
5174
5174
  }
5175
- function Ic(e) {
5175
+ function Tc(e) {
5176
5176
  Ln.delete(e);
5177
5177
  }
5178
5178
  var ps = 5;
5179
- function Tc(e, t) {
5179
+ function Ic(e, t) {
5180
5180
  return new Promise(function(n) {
5181
5181
  return setTimeout(function() {
5182
5182
  var o = Array.from(Ln);
@@ -5199,9 +5199,9 @@ function Vc() {
5199
5199
  }
5200
5200
  var Nc = {
5201
5201
  create: Sc,
5202
- close: Ic,
5202
+ close: Tc,
5203
5203
  onMessage: Pc,
5204
- postMessage: Tc,
5204
+ postMessage: Ic,
5205
5205
  canBeUsed: Cc,
5206
5206
  type: kc,
5207
5207
  averageResponseTime: Vc,
@@ -5365,29 +5365,29 @@ function jc({
5365
5365
  const c = ((a = s == null ? void 0 : s.share) == null ? void 0 : a.enable) ?? e, u = ((i = s == null ? void 0 : s.share) == null ? void 0 : i.omit) ?? [];
5366
5366
  if (!c)
5367
5367
  return;
5368
- const d = new jn(r.$id, {
5368
+ const f = new jn(r.$id, {
5369
5369
  type: n
5370
5370
  });
5371
- let f = 0, p = !1;
5372
- const m = Object.keys(r.$state).filter((E) => !u.includes(E) && Lc(E, r.$state));
5373
- d.onmessage = (E) => {
5374
- if (E === void 0) {
5375
- d.postMessage({
5376
- timestamp: f,
5371
+ let d = 0, h = !1;
5372
+ const m = Object.keys(r.$state).filter((b) => !u.includes(b) && Lc(b, r.$state));
5373
+ f.onmessage = (b) => {
5374
+ if (b === void 0) {
5375
+ f.postMessage({
5376
+ timestamp: d,
5377
5377
  state: Ho(r.$state, o)
5378
5378
  });
5379
5379
  return;
5380
5380
  }
5381
- E.timestamp <= f || (p = !0, f = E.timestamp, r.$patch((h) => {
5382
- m.forEach((w) => {
5383
- h[w] = E.state[w];
5381
+ b.timestamp <= d || (h = !0, d = b.timestamp, r.$patch((p) => {
5382
+ m.forEach((E) => {
5383
+ p[E] = b.state[E];
5384
5384
  });
5385
5385
  }));
5386
- }, (((l = s == null ? void 0 : s.share) == null ? void 0 : l.initialize) ?? t) && d.postMessage(void 0), r.$subscribe((E, h) => {
5387
- p || (f = Date.now(), d.postMessage({
5388
- timestamp: f,
5389
- state: Ho(h, o)
5390
- })), p = !1;
5386
+ }, (((l = s == null ? void 0 : s.share) == null ? void 0 : l.initialize) ?? t) && f.postMessage(void 0), r.$subscribe((b, p) => {
5387
+ h || (d = Date.now(), f.postMessage({
5388
+ timestamp: d,
5389
+ state: Ho(p, o)
5390
+ })), h = !1;
5391
5391
  });
5392
5392
  };
5393
5393
  }
@@ -5401,8 +5401,8 @@ Uc.use(
5401
5401
  const Mc = /* @__PURE__ */ ce({
5402
5402
  __name: "Doctype",
5403
5403
  setup(e) {
5404
- const { stonecrop: t, isReady: n } = ns(), o = N([]);
5405
- return F(n, () => {
5404
+ const { stonecrop: t, isReady: n } = ns(), o = V([]);
5405
+ return K(n, () => {
5406
5406
  if (n.value) {
5407
5407
  let r = t.value.schema.schema.toArray();
5408
5408
  r.forEach((s, a) => {
@@ -5410,7 +5410,7 @@ const Mc = /* @__PURE__ */ ce({
5410
5410
  r[a].value = l;
5411
5411
  }), o.value = r;
5412
5412
  }
5413
- }), (r, s) => C(n) ? (V(), Se(C(aa), {
5413
+ }), (r, s) => P(n) ? (C(), Se(P(aa), {
5414
5414
  key: 0,
5415
5415
  class: "aform-main",
5416
5416
  modelValue: o.value,
@@ -5448,7 +5448,7 @@ function _s(e, t) {
5448
5448
  }
5449
5449
  const vs = () => {
5450
5450
  };
5451
- function zo(e, t, n, o = vs) {
5451
+ function Bo(e, t, n, o = vs) {
5452
5452
  e.push(t);
5453
5453
  const r = () => {
5454
5454
  const s = e.indexOf(t);
@@ -5461,7 +5461,7 @@ function Re(e, ...t) {
5461
5461
  n(...t);
5462
5462
  });
5463
5463
  }
5464
- const zc = (e) => e(), Bo = Symbol(), Jt = Symbol();
5464
+ const Bc = (e) => e(), zo = Symbol(), Jt = Symbol();
5465
5465
  function fn(e, t) {
5466
5466
  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);
5467
5467
  for (const n in t) {
@@ -5472,69 +5472,69 @@ function fn(e, t) {
5472
5472
  }
5473
5473
  return e;
5474
5474
  }
5475
- const Bc = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
5475
+ const zc = process.env.NODE_ENV !== "production" ? Symbol("pinia:skipHydration") : (
5476
5476
  /* istanbul ignore next */
5477
5477
  Symbol()
5478
5478
  );
5479
5479
  function Kc(e) {
5480
- return !xe(e) || !e.hasOwnProperty(Bc);
5480
+ return !xe(e) || !e.hasOwnProperty(zc);
5481
5481
  }
5482
- const { assign: te } = Object;
5482
+ const { assign: ee } = Object;
5483
5483
  function Ko(e) {
5484
5484
  return !!(le(e) && e.effect);
5485
5485
  }
5486
- function Fo(e, t, n, o) {
5486
+ function Wo(e, t, n, o) {
5487
5487
  const { state: r, actions: s, getters: a } = t, i = n.state.value[e];
5488
5488
  let l;
5489
5489
  function c() {
5490
5490
  !i && (process.env.NODE_ENV === "production" || !o) && (n.state.value[e] = r ? r() : {});
5491
5491
  const u = process.env.NODE_ENV !== "production" && o ? (
5492
5492
  // use ref() to unwrap refs inside state TODO: check if this is still necessary
5493
- Nt(N(r ? r() : {}).value)
5493
+ Nt(V(r ? r() : {}).value)
5494
5494
  ) : Nt(n.state.value[e]);
5495
- return te(u, s, Object.keys(a || {}).reduce((d, f) => (process.env.NODE_ENV !== "production" && f in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${f}" in store "${e}".`), d[f] = ne(x(() => {
5495
+ return ee(u, s, Object.keys(a || {}).reduce((f, d) => (process.env.NODE_ENV !== "production" && d in u && console.warn(`[🍍]: A getter cannot have the same name as another state property. Rename one of them. Found with "${d}" in store "${e}".`), f[d] = te(A(() => {
5496
5496
  Rt(n);
5497
- const p = n._s.get(e);
5498
- return a[f].call(p, p);
5499
- })), d), {}));
5497
+ const h = n._s.get(e);
5498
+ return a[d].call(h, h);
5499
+ })), f), {}));
5500
5500
  }
5501
5501
  return l = pn(e, c, t, n, o, !0), l;
5502
5502
  }
5503
5503
  function pn(e, t, n = {}, o, r, s) {
5504
5504
  let a;
5505
- const i = te({ actions: {} }, n);
5505
+ const i = ee({ actions: {} }, n);
5506
5506
  if (process.env.NODE_ENV !== "production" && !o._e.active)
5507
5507
  throw new Error("Pinia destroyed");
5508
5508
  const l = { deep: !0 };
5509
5509
  process.env.NODE_ENV !== "production" && (l.onTrigger = (_) => {
5510
- c ? p = _ : c == !1 && !v._hotUpdating && (Array.isArray(p) ? p.push(_) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
5510
+ c ? h = _ : c == !1 && !v._hotUpdating && (Array.isArray(h) ? h.push(_) : console.error("🍍 debuggerEvents should be an array. This is most likely an internal Pinia bug."));
5511
5511
  });
5512
- let c, u, d = [], f = [], p;
5512
+ let c, u, f = [], d = [], h;
5513
5513
  const m = o.state.value[e];
5514
5514
  !s && !m && (process.env.NODE_ENV === "production" || !r) && (o.state.value[e] = {});
5515
- const E = N({});
5516
- let h;
5517
- function w(_) {
5515
+ const b = V({});
5516
+ let p;
5517
+ function E(_) {
5518
5518
  let g;
5519
- c = u = !1, process.env.NODE_ENV !== "production" && (p = []), typeof _ == "function" ? (_(o.state.value[e]), g = {
5519
+ c = u = !1, process.env.NODE_ENV !== "production" && (h = []), typeof _ == "function" ? (_(o.state.value[e]), g = {
5520
5520
  type: rt.patchFunction,
5521
5521
  storeId: e,
5522
- events: p
5522
+ events: h
5523
5523
  }) : (fn(o.state.value[e], _), g = {
5524
5524
  type: rt.patchObject,
5525
5525
  payload: _,
5526
5526
  storeId: e,
5527
- events: p
5527
+ events: h
5528
5528
  });
5529
- const I = h = Symbol();
5529
+ const T = p = Symbol();
5530
5530
  Ve().then(() => {
5531
- h === I && (c = !0);
5532
- }), u = !0, Re(d, g, o.state.value[e]);
5531
+ p === T && (c = !0);
5532
+ }), u = !0, Re(f, g, o.state.value[e]);
5533
5533
  }
5534
- const O = s ? function() {
5535
- const { state: g } = n, I = g ? g() : {};
5536
- this.$patch((j) => {
5537
- te(j, I);
5534
+ const k = s ? function() {
5535
+ const { state: g } = n, T = g ? g() : {};
5536
+ this.$patch((U) => {
5537
+ ee(U, T);
5538
5538
  });
5539
5539
  } : (
5540
5540
  /* istanbul ignore next */
@@ -5542,99 +5542,99 @@ function pn(e, t, n = {}, o, r, s) {
5542
5542
  throw new Error(`🍍: Store "${e}" is built using the setup syntax and does not implement $reset().`);
5543
5543
  } : vs
5544
5544
  );
5545
- function T() {
5546
- a.stop(), d = [], f = [], o._s.delete(e);
5545
+ function x() {
5546
+ a.stop(), f = [], d = [], o._s.delete(e);
5547
5547
  }
5548
- const H = (_, g = "") => {
5549
- if (Bo in _)
5548
+ const N = (_, g = "") => {
5549
+ if (zo in _)
5550
5550
  return _[Jt] = g, _;
5551
- const I = function() {
5551
+ const T = function() {
5552
5552
  Rt(o);
5553
- const j = Array.from(arguments), Z = [], G = [];
5554
- function P(z) {
5555
- Z.push(z);
5553
+ const U = Array.from(arguments), Z = [], F = [];
5554
+ function I(H) {
5555
+ Z.push(H);
5556
5556
  }
5557
- function Q(z) {
5558
- G.push(z);
5557
+ function X(H) {
5558
+ F.push(H);
5559
5559
  }
5560
- Re(f, {
5561
- args: j,
5562
- name: I[Jt],
5560
+ Re(d, {
5561
+ args: U,
5562
+ name: T[Jt],
5563
5563
  store: v,
5564
- after: P,
5565
- onError: Q
5564
+ after: I,
5565
+ onError: X
5566
5566
  });
5567
- let A;
5567
+ let $;
5568
5568
  try {
5569
- A = _.apply(this && this.$id === e ? this : v, j);
5570
- } catch (z) {
5571
- throw Re(G, z), z;
5569
+ $ = _.apply(this && this.$id === e ? this : v, U);
5570
+ } catch (H) {
5571
+ throw Re(F, H), H;
5572
5572
  }
5573
- return A instanceof Promise ? A.then((z) => (Re(Z, z), z)).catch((z) => (Re(G, z), Promise.reject(z))) : (Re(Z, A), A);
5573
+ return $ instanceof Promise ? $.then((H) => (Re(Z, H), H)).catch((H) => (Re(F, H), Promise.reject(H))) : (Re(Z, $), $);
5574
5574
  };
5575
- return I[Bo] = !0, I[Jt] = g, I;
5576
- }, M = /* @__PURE__ */ ne({
5575
+ return T[zo] = !0, T[Jt] = g, T;
5576
+ }, M = /* @__PURE__ */ te({
5577
5577
  actions: {},
5578
5578
  getters: {},
5579
5579
  state: [],
5580
- hotState: E
5581
- }), U = {
5580
+ hotState: b
5581
+ }), ne = {
5582
5582
  _p: o,
5583
5583
  // _s: scope,
5584
5584
  $id: e,
5585
- $onAction: zo.bind(null, f),
5586
- $patch: w,
5587
- $reset: O,
5585
+ $onAction: Bo.bind(null, d),
5586
+ $patch: E,
5587
+ $reset: k,
5588
5588
  $subscribe(_, g = {}) {
5589
- const I = zo(d, _, g.detached, () => j()), j = a.run(() => F(() => o.state.value[e], (Z) => {
5589
+ const T = Bo(f, _, g.detached, () => U()), U = a.run(() => K(() => o.state.value[e], (Z) => {
5590
5590
  (g.flush === "sync" ? u : c) && _({
5591
5591
  storeId: e,
5592
5592
  type: rt.direct,
5593
- events: p
5593
+ events: h
5594
5594
  }, Z);
5595
- }, te({}, l, g)));
5596
- return I;
5595
+ }, ee({}, l, g)));
5596
+ return T;
5597
5597
  },
5598
- $dispose: T
5599
- }, v = rr(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt ? te(
5598
+ $dispose: x
5599
+ }, v = rr(process.env.NODE_ENV !== "production" || process.env.NODE_ENV !== "production" && process.env.NODE_ENV !== "test" && tt ? ee(
5600
5600
  {
5601
5601
  _hmrPayload: M,
5602
- _customProperties: ne(/* @__PURE__ */ new Set())
5602
+ _customProperties: te(/* @__PURE__ */ new Set())
5603
5603
  // devtools custom properties
5604
5604
  },
5605
- U
5605
+ ne
5606
5606
  // must be added later
5607
5607
  // setupStore
5608
- ) : U);
5608
+ ) : ne);
5609
5609
  o._s.set(e, v);
5610
- const b = (o._a && o._a.runWithContext || zc)(() => o._e.run(() => (a = gn()).run(() => t({ action: H }))));
5611
- for (const _ in b) {
5612
- const g = b[_];
5610
+ const w = (o._a && o._a.runWithContext || Bc)(() => o._e.run(() => (a = gn()).run(() => t({ action: N }))));
5611
+ for (const _ in w) {
5612
+ const g = w[_];
5613
5613
  if (le(g) && !Ko(g) || Ge(g))
5614
- process.env.NODE_ENV !== "production" && r ? E.value[_] = Ee(b, _) : s || (m && Kc(g) && (le(g) ? g.value = m[_] : fn(g, m[_])), o.state.value[e][_] = g), process.env.NODE_ENV !== "production" && M.state.push(_);
5614
+ process.env.NODE_ENV !== "production" && r ? b.value[_] = Ee(w, _) : s || (m && Kc(g) && (le(g) ? g.value = m[_] : fn(g, m[_])), o.state.value[e][_] = g), process.env.NODE_ENV !== "production" && M.state.push(_);
5615
5615
  else if (typeof g == "function") {
5616
- const I = process.env.NODE_ENV !== "production" && r ? g : H(g, _);
5617
- b[_] = I, process.env.NODE_ENV !== "production" && (M.actions[_] = g), i.actions[_] = g;
5616
+ const T = process.env.NODE_ENV !== "production" && r ? g : N(g, _);
5617
+ w[_] = T, process.env.NODE_ENV !== "production" && (M.actions[_] = g), i.actions[_] = g;
5618
5618
  } else process.env.NODE_ENV !== "production" && Ko(g) && (M.getters[_] = s ? (
5619
5619
  // @ts-expect-error
5620
5620
  n.getters[_]
5621
- ) : g, tt && (b._getters || // @ts-expect-error: same
5622
- (b._getters = ne([]))).push(_));
5621
+ ) : g, tt && (w._getters || // @ts-expect-error: same
5622
+ (w._getters = te([]))).push(_));
5623
5623
  }
5624
- if (te(v, b), te(Me(v), b), Object.defineProperty(v, "$state", {
5625
- get: () => process.env.NODE_ENV !== "production" && r ? E.value : o.state.value[e],
5624
+ if (ee(v, w), ee(Me(v), w), Object.defineProperty(v, "$state", {
5625
+ get: () => process.env.NODE_ENV !== "production" && r ? b.value : o.state.value[e],
5626
5626
  set: (_) => {
5627
5627
  if (process.env.NODE_ENV !== "production" && r)
5628
5628
  throw new Error("cannot set hotState");
5629
- w((g) => {
5630
- te(g, _);
5629
+ E((g) => {
5630
+ ee(g, _);
5631
5631
  });
5632
5632
  }
5633
- }), process.env.NODE_ENV !== "production" && (v._hotUpdate = ne((_) => {
5633
+ }), process.env.NODE_ENV !== "production" && (v._hotUpdate = te((_) => {
5634
5634
  v._hotUpdating = !0, _._hmrPayload.state.forEach((g) => {
5635
5635
  if (g in v.$state) {
5636
- const I = _.$state[g], j = v.$state[g];
5637
- typeof I == "object" && xe(I) && xe(j) ? _s(I, j) : _.$state[g] = j;
5636
+ const T = _.$state[g], U = v.$state[g];
5637
+ typeof T == "object" && xe(T) && xe(U) ? _s(T, U) : _.$state[g] = U;
5638
5638
  }
5639
5639
  v[g] = Ee(_.$state, g);
5640
5640
  }), Object.keys(v.$state).forEach((g) => {
@@ -5643,17 +5643,17 @@ function pn(e, t, n = {}, o, r, s) {
5643
5643
  c = !0;
5644
5644
  });
5645
5645
  for (const g in _._hmrPayload.actions) {
5646
- const I = _[g];
5646
+ const T = _[g];
5647
5647
  v[g] = //
5648
- H(I, g);
5648
+ N(T, g);
5649
5649
  }
5650
5650
  for (const g in _._hmrPayload.getters) {
5651
- const I = _._hmrPayload.getters[g], j = s ? (
5651
+ const T = _._hmrPayload.getters[g], U = s ? (
5652
5652
  // special handling of options api
5653
- x(() => (Rt(o), I.call(v, v)))
5654
- ) : I;
5653
+ A(() => (Rt(o), T.call(v, v)))
5654
+ ) : T;
5655
5655
  v[g] = //
5656
- j;
5656
+ U;
5657
5657
  }
5658
5658
  Object.keys(v._hmrPayload.getters).forEach((g) => {
5659
5659
  g in _._hmrPayload.getters || delete v[g];
@@ -5668,7 +5668,7 @@ function pn(e, t, n = {}, o, r, s) {
5668
5668
  enumerable: !1
5669
5669
  };
5670
5670
  ["_p", "_hmrPayload", "_getters", "_customProperties"].forEach((g) => {
5671
- Object.defineProperty(v, g, te({ value: v[g] }, _));
5671
+ Object.defineProperty(v, g, ee({ value: v[g] }, _));
5672
5672
  });
5673
5673
  }
5674
5674
  return o._p.forEach((_) => {
@@ -5679,9 +5679,9 @@ function pn(e, t, n = {}, o, r, s) {
5679
5679
  pinia: o,
5680
5680
  options: i
5681
5681
  }));
5682
- Object.keys(g || {}).forEach((I) => v._customProperties.add(I)), te(v, g);
5682
+ Object.keys(g || {}).forEach((T) => v._customProperties.add(T)), ee(v, g);
5683
5683
  } else
5684
- te(v, a.run(() => _({
5684
+ ee(v, a.run(() => _({
5685
5685
  store: v,
5686
5686
  app: o._a,
5687
5687
  pinia: o,
@@ -5693,7 +5693,7 @@ Found in store "${v.$id}".`), m && s && n.hydrate && n.hydrate(v.$state, m), c =
5693
5693
  }
5694
5694
  /*! #__NO_SIDE_EFFECTS__ */
5695
5695
  // @__NO_SIDE_EFFECTS__
5696
- function Fc(e, t, n) {
5696
+ function Wc(e, t, n) {
5697
5697
  let o;
5698
5698
  const r = typeof t == "function";
5699
5699
  o = r ? n : t;
@@ -5705,18 +5705,18 @@ function Fc(e, t, n) {
5705
5705
  throw new Error(`[🍍]: "getActivePinia()" was called but there was no active Pinia. Are you trying to use a store before calling "app.use(pinia)"?
5706
5706
  See https://pinia.vuejs.org/core-concepts/outside-component-usage.html for help.
5707
5707
  This will fail in production.`);
5708
- a = et, a._s.has(e) || (r ? pn(e, t, o, a) : Fo(e, o, a), process.env.NODE_ENV !== "production" && (s._pinia = a));
5708
+ a = et, a._s.has(e) || (r ? pn(e, t, o, a) : Wo(e, o, a), process.env.NODE_ENV !== "production" && (s._pinia = a));
5709
5709
  const c = a._s.get(e);
5710
5710
  if (process.env.NODE_ENV !== "production" && i) {
5711
- const u = "__hot:" + e, d = r ? pn(u, t, o, a, !0) : Fo(u, te({}, o), a, !0);
5712
- i._hotUpdate(d), delete a.state.value[u], a._s.delete(u);
5711
+ const u = "__hot:" + e, f = r ? pn(u, t, o, a, !0) : Wo(u, ee({}, o), a, !0);
5712
+ i._hotUpdate(f), delete a.state.value[u], a._s.delete(u);
5713
5713
  }
5714
5714
  if (process.env.NODE_ENV !== "production" && tt) {
5715
5715
  const u = ht();
5716
5716
  if (u && u.proxy && // avoid adding stores that are just built for hot module replacement
5717
5717
  !i) {
5718
- const d = u.proxy, f = "_pStores" in d ? d._pStores : d._pStores = {};
5719
- f[e] = c;
5718
+ const f = u.proxy, d = "_pStores" in f ? f._pStores : f._pStores = {};
5719
+ d[e] = c;
5720
5720
  }
5721
5721
  }
5722
5722
  return c;
@@ -5726,15 +5726,15 @@ This will fail in production.`);
5726
5726
  function Un(e) {
5727
5727
  return ft() ? (pt(e), !0) : !1;
5728
5728
  }
5729
- const Wc = typeof window < "u" && typeof document < "u";
5729
+ const Fc = typeof window < "u" && typeof document < "u";
5730
5730
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
5731
5731
  const Gc = (e) => e != null, Yc = Object.prototype.toString, qc = (e) => Yc.call(e) === "[object Object]", Jc = () => {
5732
5732
  };
5733
5733
  function Vt(e) {
5734
5734
  return Array.isArray(e) ? e : [e];
5735
5735
  }
5736
- function Xc(e, t, n) {
5737
- return F(
5736
+ function Zc(e, t, n) {
5737
+ return K(
5738
5738
  e,
5739
5739
  t,
5740
5740
  {
@@ -5743,37 +5743,37 @@ function Xc(e, t, n) {
5743
5743
  }
5744
5744
  );
5745
5745
  }
5746
- const Je = Wc ? window : void 0;
5747
- function Fe(e) {
5746
+ const Je = Fc ? window : void 0;
5747
+ function We(e) {
5748
5748
  var t;
5749
- const n = $(e);
5749
+ const n = R(e);
5750
5750
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
5751
5751
  }
5752
5752
  function dt(...e) {
5753
5753
  const t = [], n = () => {
5754
5754
  t.forEach((i) => i()), t.length = 0;
5755
- }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = x(() => {
5756
- const i = Vt($(e[0])).filter((l) => l != null);
5755
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = A(() => {
5756
+ const i = Vt(R(e[0])).filter((l) => l != null);
5757
5757
  return i.every((l) => typeof l != "string") ? i : void 0;
5758
- }), s = Xc(
5758
+ }), s = Zc(
5759
5759
  () => {
5760
5760
  var i, l;
5761
5761
  return [
5762
- (l = (i = r.value) == null ? void 0 : i.map((c) => Fe(c))) != null ? l : [Je].filter((c) => c != null),
5763
- Vt($(r.value ? e[1] : e[0])),
5764
- Vt(C(r.value ? e[2] : e[1])),
5762
+ (l = (i = r.value) == null ? void 0 : i.map((c) => We(c))) != null ? l : [Je].filter((c) => c != null),
5763
+ Vt(R(r.value ? e[1] : e[0])),
5764
+ Vt(P(r.value ? e[2] : e[1])),
5765
5765
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
5766
- $(r.value ? e[3] : e[2])
5766
+ R(r.value ? e[3] : e[2])
5767
5767
  ];
5768
5768
  },
5769
5769
  ([i, l, c, u]) => {
5770
5770
  if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
5771
5771
  return;
5772
- const d = qc(u) ? { ...u } : u;
5772
+ const f = qc(u) ? { ...u } : u;
5773
5773
  t.push(
5774
5774
  ...i.flatMap(
5775
- (f) => l.flatMap(
5776
- (p) => c.map((m) => o(f, p, m, d))
5775
+ (d) => l.flatMap(
5776
+ (h) => c.map((m) => o(d, h, m, f))
5777
5777
  )
5778
5778
  )
5779
5779
  );
@@ -5784,36 +5784,36 @@ function dt(...e) {
5784
5784
  };
5785
5785
  return Un(n), a;
5786
5786
  }
5787
- function Zc() {
5788
- const e = X(!1), t = ht();
5787
+ function Xc() {
5788
+ const e = J(!1), t = ht();
5789
5789
  return t && Ae(() => {
5790
5790
  e.value = !0;
5791
5791
  }, t), e;
5792
5792
  }
5793
5793
  function Qc(e) {
5794
- const t = Zc();
5795
- return x(() => (t.value, !!e()));
5794
+ const t = Xc();
5795
+ return A(() => (t.value, !!e()));
5796
5796
  }
5797
5797
  function eu(e, t, n = {}) {
5798
5798
  const { window: o = Je, ...r } = n;
5799
5799
  let s;
5800
5800
  const a = Qc(() => o && "MutationObserver" in o), i = () => {
5801
5801
  s && (s.disconnect(), s = void 0);
5802
- }, l = x(() => {
5803
- const f = $(e), p = Vt(f).map(Fe).filter(Gc);
5804
- return new Set(p);
5805
- }), c = F(
5802
+ }, l = A(() => {
5803
+ const d = R(e), h = Vt(d).map(We).filter(Gc);
5804
+ return new Set(h);
5805
+ }), c = K(
5806
5806
  () => l.value,
5807
- (f) => {
5808
- i(), a.value && f.size && (s = new MutationObserver(t), f.forEach((p) => s.observe(p, r)));
5807
+ (d) => {
5808
+ i(), a.value && d.size && (s = new MutationObserver(t), d.forEach((h) => s.observe(h, r)));
5809
5809
  },
5810
5810
  { immediate: !0, flush: "post" }
5811
- ), u = () => s == null ? void 0 : s.takeRecords(), d = () => {
5811
+ ), u = () => s == null ? void 0 : s.takeRecords(), f = () => {
5812
5812
  c(), i();
5813
5813
  };
5814
- return Un(d), {
5814
+ return Un(f), {
5815
5815
  isSupported: a,
5816
- stop: d,
5816
+ stop: f,
5817
5817
  takeRecords: u
5818
5818
  };
5819
5819
  }
@@ -5829,12 +5829,12 @@ function tu(e, t, n = {}) {
5829
5829
  const i = (u) => {
5830
5830
  a == null || a(), a = u;
5831
5831
  }, l = Ps(() => {
5832
- const u = Fe(e);
5832
+ const u = We(e);
5833
5833
  if (u) {
5834
- const { stop: d } = eu(
5834
+ const { stop: f } = eu(
5835
5835
  r,
5836
- (f) => {
5837
- f.map((p) => [...p.removedNodes]).flat().some((p) => p === u || p.contains(u)) && t(f);
5836
+ (d) => {
5837
+ d.map((h) => [...h.removedNodes]).flat().some((h) => h === u || h.contains(u)) && t(d);
5838
5838
  },
5839
5839
  {
5840
5840
  window: o,
@@ -5842,7 +5842,7 @@ function tu(e, t, n = {}) {
5842
5842
  subtree: !0
5843
5843
  }
5844
5844
  );
5845
- i(d);
5845
+ i(f);
5846
5846
  }
5847
5847
  }, { flush: s }), c = () => {
5848
5848
  l(), i();
@@ -5862,7 +5862,7 @@ function nu(e = {}) {
5862
5862
  for (; u != null && u.shadowRoot; )
5863
5863
  u = (c = u == null ? void 0 : u.shadowRoot) == null ? void 0 : c.activeElement;
5864
5864
  return u;
5865
- }, i = N(), l = () => {
5865
+ }, i = V(), l = () => {
5866
5866
  i.value = a();
5867
5867
  };
5868
5868
  if (n) {
@@ -5888,7 +5888,7 @@ function nu(e = {}) {
5888
5888
  }
5889
5889
  const ou = "focusin", ru = "focusout", su = ":focus-within";
5890
5890
  function au(e, t = {}) {
5891
- const { window: n = Je } = t, o = x(() => Fe(e)), r = X(!1), s = x(() => r.value), a = nu(t);
5891
+ const { window: n = Je } = t, o = A(() => We(e)), r = J(!1), s = A(() => r.value), a = nu(t);
5892
5892
  if (!n || !a.value)
5893
5893
  return { focused: s };
5894
5894
  const i = { passive: !0 };
@@ -5898,9 +5898,9 @@ function au(e, t = {}) {
5898
5898
  }, i), { focused: s };
5899
5899
  }
5900
5900
  function iu(e, { window: t = Je, scrollTarget: n } = {}) {
5901
- const o = N(!1), r = () => {
5901
+ const o = V(!1), r = () => {
5902
5902
  if (!t) return;
5903
- const s = t.document, a = Fe(e);
5903
+ const s = t.document, a = We(e);
5904
5904
  if (!a)
5905
5905
  o.value = !1;
5906
5906
  else {
@@ -5908,8 +5908,8 @@ function iu(e, { window: t = Je, scrollTarget: n } = {}) {
5908
5908
  o.value = i.top <= (t.innerHeight || s.documentElement.clientHeight) && i.left <= (t.innerWidth || s.documentElement.clientWidth) && i.bottom >= 0 && i.right >= 0;
5909
5909
  }
5910
5910
  };
5911
- return F(
5912
- () => Fe(e),
5911
+ return K(
5912
+ () => We(e),
5913
5913
  () => r(),
5914
5914
  { immediate: !0, flush: "post" }
5915
5915
  ), t && dt(n || t, "scroll", r, {
@@ -5920,7 +5920,7 @@ function iu(e, { window: t = Je, scrollTarget: n } = {}) {
5920
5920
  const he = (e) => {
5921
5921
  let t = iu(e).value;
5922
5922
  return t = t && e.offsetHeight > 0, t;
5923
- }, me = (e) => e.tabIndex >= 0, Wo = (e) => {
5923
+ }, me = (e) => e.tabIndex >= 0, Fo = (e) => {
5924
5924
  const t = e.target;
5925
5925
  return Mn(t);
5926
5926
  }, Mn = (e) => {
@@ -5992,8 +5992,8 @@ const he = (e) => {
5992
5992
  return o && (!me(o) || !he(o)) ? Mn(o) : o;
5993
5993
  }, Yo = (e) => {
5994
5994
  const t = e.target;
5995
- return zn(t);
5996
- }, zn = (e) => {
5995
+ return Bn(t);
5996
+ }, Bn = (e) => {
5997
5997
  var t;
5998
5998
  let n;
5999
5999
  if (e.previousElementSibling)
@@ -6002,11 +6002,11 @@ const he = (e) => {
6002
6002
  const o = (t = e.parentElement) == null ? void 0 : t.previousElementSibling;
6003
6003
  n = o == null ? void 0 : o.lastElementChild;
6004
6004
  }
6005
- return n && (!me(n) || !he(n)) ? zn(n) : n;
6005
+ return n && (!me(n) || !he(n)) ? Bn(n) : n;
6006
6006
  }, qo = (e) => {
6007
6007
  const t = e.target;
6008
- return Bn(t);
6009
- }, Bn = (e) => {
6008
+ return zn(t);
6009
+ }, zn = (e) => {
6010
6010
  var t;
6011
6011
  let n;
6012
6012
  if (e.nextElementSibling)
@@ -6015,13 +6015,13 @@ const he = (e) => {
6015
6015
  const o = (t = e.parentElement) == null ? void 0 : t.nextElementSibling;
6016
6016
  n = o == null ? void 0 : o.firstElementChild;
6017
6017
  }
6018
- return n && (!me(n) || !he(n)) ? Bn(n) : n;
6018
+ return n && (!me(n) || !he(n)) ? zn(n) : n;
6019
6019
  }, Jo = (e) => {
6020
6020
  const t = e.target.parentElement, n = t == null ? void 0 : t.firstElementChild;
6021
- return n && (!me(n) || !he(n)) ? Bn(n) : n;
6022
- }, Xo = (e) => {
6023
- const t = e.target.parentElement, n = t == null ? void 0 : t.lastElementChild;
6024
6021
  return n && (!me(n) || !he(n)) ? zn(n) : n;
6022
+ }, Zo = (e) => {
6023
+ const t = e.target.parentElement, n = t == null ? void 0 : t.lastElementChild;
6024
+ return n && (!me(n) || !he(n)) ? Bn(n) : n;
6025
6025
  }, bt = ["alt", "control", "shift", "meta"], uu = {
6026
6026
  ArrowUp: "up",
6027
6027
  ArrowDown: "down",
@@ -6029,7 +6029,7 @@ const he = (e) => {
6029
6029
  ArrowRight: "right"
6030
6030
  }, Kn = {
6031
6031
  "keydown.up": (e) => {
6032
- const t = Wo(e);
6032
+ const t = Fo(e);
6033
6033
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
6034
6034
  },
6035
6035
  "keydown.down": (e) => {
@@ -6057,11 +6057,11 @@ const he = (e) => {
6057
6057
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
6058
6058
  },
6059
6059
  "keydown.control.right": (e) => {
6060
- const t = Xo(e);
6060
+ const t = Zo(e);
6061
6061
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
6062
6062
  },
6063
6063
  "keydown.end": (e) => {
6064
- const t = Xo(e);
6064
+ const t = Zo(e);
6065
6065
  t && (e.preventDefault(), e.stopPropagation(), t.focus());
6066
6066
  },
6067
6067
  "keydown.enter": (e) => {
@@ -6074,7 +6074,7 @@ const he = (e) => {
6074
6074
  "keydown.shift.enter": (e) => {
6075
6075
  if (e.target instanceof HTMLTableCellElement) {
6076
6076
  e.preventDefault(), e.stopPropagation();
6077
- const t = Wo(e);
6077
+ const t = Fo(e);
6078
6078
  t && t.focus();
6079
6079
  }
6080
6080
  },
@@ -6122,36 +6122,36 @@ function gs(e) {
6122
6122
  if (bt.includes(l)) return;
6123
6123
  const c = a.handlers || Kn;
6124
6124
  for (const u of Object.keys(c)) {
6125
- const [d, ...f] = u.split(".");
6126
- if (d === "keydown" && f.includes(l)) {
6127
- const p = c[u], m = f.filter((h) => bt.includes(h)), E = bt.some((h) => {
6128
- const w = h.charAt(0).toUpperCase() + h.slice(1);
6129
- return i.getModifierState(w);
6125
+ const [f, ...d] = u.split(".");
6126
+ if (f === "keydown" && d.includes(l)) {
6127
+ const h = c[u], m = d.filter((p) => bt.includes(p)), b = bt.some((p) => {
6128
+ const E = p.charAt(0).toUpperCase() + p.slice(1);
6129
+ return i.getModifierState(E);
6130
6130
  });
6131
6131
  if (m.length > 0) {
6132
- if (E) {
6133
- for (const h of bt)
6134
- if (f.includes(h)) {
6135
- const w = h.charAt(0).toUpperCase() + h.slice(1);
6136
- i.getModifierState(w) && p(i);
6132
+ if (b) {
6133
+ for (const p of bt)
6134
+ if (d.includes(p)) {
6135
+ const E = p.charAt(0).toUpperCase() + p.slice(1);
6136
+ i.getModifierState(E) && h(i);
6137
6137
  }
6138
6138
  }
6139
6139
  } else
6140
- E || p(i);
6140
+ b || h(i);
6141
6141
  }
6142
6142
  }
6143
6143
  }, s = [];
6144
6144
  Ae(() => {
6145
6145
  for (const a of e) {
6146
6146
  const i = t(a), l = o(a), c = r(a), u = i ? [i] : l;
6147
- for (const d of u) {
6148
- const { focused: f } = au(N(d)), p = F(f, (m) => {
6149
- m ? d.addEventListener("keydown", c) : d.removeEventListener("keydown", c);
6147
+ for (const f of u) {
6148
+ const { focused: d } = au(V(f)), h = K(d, (m) => {
6149
+ m ? f.addEventListener("keydown", c) : f.removeEventListener("keydown", c);
6150
6150
  });
6151
- s.push(p);
6151
+ s.push(h);
6152
6152
  }
6153
6153
  }
6154
- }), Ts(() => {
6154
+ }), Is(() => {
6155
6155
  for (const a of s)
6156
6156
  a();
6157
6157
  });
@@ -6159,31 +6159,31 @@ function gs(e) {
6159
6159
  function gt(e) {
6160
6160
  return ft() ? (pt(e), !0) : !1;
6161
6161
  }
6162
- const Fn = typeof window < "u" && typeof document < "u";
6162
+ const Wn = typeof window < "u" && typeof document < "u";
6163
6163
  typeof WorkerGlobalScope < "u" && globalThis instanceof WorkerGlobalScope;
6164
6164
  const du = (e) => e != null, fu = Object.prototype.toString, ys = (e) => fu.call(e) === "[object Object]", Oe = () => {
6165
6165
  }, hn = /* @__PURE__ */ pu();
6166
6166
  function pu() {
6167
6167
  var e, t;
6168
- return Fn && ((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));
6168
+ 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));
6169
6169
  }
6170
6170
  function hu(e) {
6171
6171
  return ht();
6172
6172
  }
6173
- function Ie(e) {
6173
+ function Te(e) {
6174
6174
  return Array.isArray(e) ? e : [e];
6175
6175
  }
6176
6176
  function mu(...e) {
6177
6177
  if (e.length !== 1)
6178
6178
  return Ee(...e);
6179
6179
  const t = e[0];
6180
- return typeof t == "function" ? tr(nr(() => ({ get: t, set: Oe }))) : N(t);
6180
+ return typeof t == "function" ? tr(nr(() => ({ get: t, set: Oe }))) : V(t);
6181
6181
  }
6182
6182
  function _u(e, t = !0, n) {
6183
6183
  hu() ? Ae(e, n) : t ? e() : Ve(e);
6184
6184
  }
6185
6185
  function Es(e, t, n) {
6186
- return F(
6186
+ return K(
6187
6187
  e,
6188
6188
  t,
6189
6189
  {
@@ -6192,37 +6192,37 @@ function Es(e, t, n) {
6192
6192
  }
6193
6193
  );
6194
6194
  }
6195
- const Wn = Fn ? window : void 0;
6196
- function We(e) {
6195
+ const Fn = Wn ? window : void 0;
6196
+ function Fe(e) {
6197
6197
  var t;
6198
- const n = $(e);
6198
+ const n = R(e);
6199
6199
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
6200
6200
  }
6201
- function Zo(...e) {
6201
+ function Xo(...e) {
6202
6202
  const t = [], n = () => {
6203
6203
  t.forEach((i) => i()), t.length = 0;
6204
- }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = x(() => {
6205
- const i = Ie($(e[0])).filter((l) => l != null);
6204
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = A(() => {
6205
+ const i = Te(R(e[0])).filter((l) => l != null);
6206
6206
  return i.every((l) => typeof l != "string") ? i : void 0;
6207
6207
  }), s = Es(
6208
6208
  () => {
6209
6209
  var i, l;
6210
6210
  return [
6211
- (l = (i = r.value) == null ? void 0 : i.map((c) => We(c))) != null ? l : [Wn].filter((c) => c != null),
6212
- Ie($(r.value ? e[1] : e[0])),
6213
- Ie(C(r.value ? e[2] : e[1])),
6211
+ (l = (i = r.value) == null ? void 0 : i.map((c) => Fe(c))) != null ? l : [Fn].filter((c) => c != null),
6212
+ Te(R(r.value ? e[1] : e[0])),
6213
+ Te(P(r.value ? e[2] : e[1])),
6214
6214
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
6215
- $(r.value ? e[3] : e[2])
6215
+ R(r.value ? e[3] : e[2])
6216
6216
  ];
6217
6217
  },
6218
6218
  ([i, l, c, u]) => {
6219
6219
  if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
6220
6220
  return;
6221
- const d = ys(u) ? { ...u } : u;
6221
+ const f = ys(u) ? { ...u } : u;
6222
6222
  t.push(
6223
6223
  ...i.flatMap(
6224
- (f) => l.flatMap(
6225
- (p) => c.map((m) => o(f, p, m, d))
6224
+ (d) => l.flatMap(
6225
+ (h) => c.map((m) => o(d, h, m, f))
6226
6226
  )
6227
6227
  )
6228
6228
  );
@@ -6234,53 +6234,53 @@ function Zo(...e) {
6234
6234
  return gt(n), a;
6235
6235
  }
6236
6236
  function vu() {
6237
- const e = X(!1), t = ht();
6237
+ const e = J(!1), t = ht();
6238
6238
  return t && Ae(() => {
6239
6239
  e.value = !0;
6240
6240
  }, t), e;
6241
6241
  }
6242
6242
  function bs(e) {
6243
6243
  const t = vu();
6244
- return x(() => (t.value, !!e()));
6244
+ return A(() => (t.value, !!e()));
6245
6245
  }
6246
6246
  function ws(e, t, n = {}) {
6247
- const { window: o = Wn, ...r } = n;
6247
+ const { window: o = Fn, ...r } = n;
6248
6248
  let s;
6249
6249
  const a = bs(() => o && "MutationObserver" in o), i = () => {
6250
6250
  s && (s.disconnect(), s = void 0);
6251
- }, l = x(() => {
6252
- const f = $(e), p = Ie(f).map(We).filter(du);
6253
- return new Set(p);
6254
- }), c = F(
6251
+ }, l = A(() => {
6252
+ const d = R(e), h = Te(d).map(Fe).filter(du);
6253
+ return new Set(h);
6254
+ }), c = K(
6255
6255
  () => l.value,
6256
- (f) => {
6257
- i(), a.value && f.size && (s = new MutationObserver(t), f.forEach((p) => s.observe(p, r)));
6256
+ (d) => {
6257
+ i(), a.value && d.size && (s = new MutationObserver(t), d.forEach((h) => s.observe(h, r)));
6258
6258
  },
6259
6259
  { immediate: !0, flush: "post" }
6260
- ), u = () => s == null ? void 0 : s.takeRecords(), d = () => {
6260
+ ), u = () => s == null ? void 0 : s.takeRecords(), f = () => {
6261
6261
  c(), i();
6262
6262
  };
6263
- return gt(d), {
6263
+ return gt(f), {
6264
6264
  isSupported: a,
6265
- stop: d,
6265
+ stop: f,
6266
6266
  takeRecords: u
6267
6267
  };
6268
6268
  }
6269
6269
  function gu(e, t, n = {}) {
6270
- const { window: o = Wn, ...r } = n;
6270
+ const { window: o = Fn, ...r } = n;
6271
6271
  let s;
6272
6272
  const a = bs(() => o && "ResizeObserver" in o), i = () => {
6273
6273
  s && (s.disconnect(), s = void 0);
6274
- }, l = x(() => {
6275
- const d = $(e);
6276
- return Array.isArray(d) ? d.map((f) => We(f)) : [We(d)];
6277
- }), c = F(
6274
+ }, l = A(() => {
6275
+ const f = R(e);
6276
+ return Array.isArray(f) ? f.map((d) => Fe(d)) : [Fe(f)];
6277
+ }), c = K(
6278
6278
  l,
6279
- (d) => {
6279
+ (f) => {
6280
6280
  if (i(), a.value && o) {
6281
6281
  s = new ResizeObserver(t);
6282
- for (const f of d)
6283
- f && s.observe(f, r);
6282
+ for (const d of f)
6283
+ d && s.observe(d, r);
6284
6284
  }
6285
6285
  },
6286
6286
  { immediate: !0, flush: "post" }
@@ -6299,33 +6299,33 @@ function Os(e, t = {}) {
6299
6299
  windowScroll: r = !0,
6300
6300
  immediate: s = !0,
6301
6301
  updateTiming: a = "sync"
6302
- } = t, i = X(0), l = X(0), c = X(0), u = X(0), d = X(0), f = X(0), p = X(0), m = X(0);
6303
- function E() {
6304
- const w = We(e);
6305
- if (!w) {
6306
- n && (i.value = 0, l.value = 0, c.value = 0, u.value = 0, d.value = 0, f.value = 0, p.value = 0, m.value = 0);
6302
+ } = t, i = J(0), l = J(0), c = J(0), u = J(0), f = J(0), d = J(0), h = J(0), m = J(0);
6303
+ function b() {
6304
+ const E = Fe(e);
6305
+ if (!E) {
6306
+ n && (i.value = 0, l.value = 0, c.value = 0, u.value = 0, f.value = 0, d.value = 0, h.value = 0, m.value = 0);
6307
6307
  return;
6308
6308
  }
6309
- const O = w.getBoundingClientRect();
6310
- i.value = O.height, l.value = O.bottom, c.value = O.left, u.value = O.right, d.value = O.top, f.value = O.width, p.value = O.x, m.value = O.y;
6309
+ const k = E.getBoundingClientRect();
6310
+ i.value = k.height, l.value = k.bottom, c.value = k.left, u.value = k.right, f.value = k.top, d.value = k.width, h.value = k.x, m.value = k.y;
6311
6311
  }
6312
- function h() {
6313
- a === "sync" ? E() : a === "next-frame" && requestAnimationFrame(() => E());
6312
+ function p() {
6313
+ a === "sync" ? b() : a === "next-frame" && requestAnimationFrame(() => b());
6314
6314
  }
6315
- return gu(e, h), F(() => We(e), (w) => !w && h()), ws(e, h, {
6315
+ return gu(e, p), K(() => Fe(e), (E) => !E && p()), ws(e, p, {
6316
6316
  attributeFilter: ["style", "class"]
6317
- }), r && Zo("scroll", h, { capture: !0, passive: !0 }), o && Zo("resize", h, { passive: !0 }), _u(() => {
6318
- s && h();
6317
+ }), r && Xo("scroll", p, { capture: !0, passive: !0 }), o && Xo("resize", p, { passive: !0 }), _u(() => {
6318
+ s && p();
6319
6319
  }), {
6320
6320
  height: i,
6321
6321
  bottom: l,
6322
6322
  left: c,
6323
6323
  right: u,
6324
- top: d,
6325
- width: f,
6326
- x: p,
6324
+ top: f,
6325
+ width: d,
6326
+ x: h,
6327
6327
  y: m,
6328
- update: h
6328
+ update: p
6329
6329
  };
6330
6330
  }
6331
6331
  const yu = (e) => {
@@ -6341,72 +6341,71 @@ const yu = (e) => {
6341
6341
  tabIndex: { default: 0 },
6342
6342
  pinned: { type: Boolean, default: !1 }
6343
6343
  },
6344
- emits: ["cellInput"],
6345
- setup(e, { emit: t }) {
6346
- const n = t, o = mt("cell"), r = e.store.getCellData(e.colIndex, e.rowIndex), s = N(""), a = N(!1), i = e.store.columns[e.colIndex], l = e.store.rows[e.rowIndex], c = i.align || "center", u = i.width || "40ch", d = x(() => e.store.getCellDisplayValue(e.colIndex, e.rowIndex)), f = x(() => typeof d.value == "string" ? yu(d.value) : !1), p = x(() => {
6347
- var O;
6344
+ setup(e) {
6345
+ const t = mt("cell"), n = e.store.getCellData(e.colIndex, e.rowIndex), o = V(""), r = V(!1), s = e.store.columns[e.colIndex], a = e.store.rows[e.rowIndex], i = s.align || "center", l = s.width || "40ch", c = A(() => e.store.getCellDisplayValue(e.colIndex, e.rowIndex)), u = A(() => typeof c.value == "string" ? yu(c.value) : !1), f = A(() => {
6346
+ var p;
6348
6347
  return {
6349
- textAlign: c,
6350
- width: u,
6351
- fontWeight: a.value ? "bold" : "inherit",
6352
- paddingLeft: e.store.getIndent(e.colIndex, (O = e.store.display[e.rowIndex]) == null ? void 0 : O.indent)
6348
+ textAlign: i,
6349
+ width: l,
6350
+ fontWeight: r.value ? "bold" : "inherit",
6351
+ paddingLeft: e.store.getIndent(e.colIndex, (p = e.store.display[e.rowIndex]) == null ? void 0 : p.indent)
6353
6352
  };
6354
- }), m = x(() => ({
6353
+ }), d = A(() => ({
6355
6354
  "sticky-column": e.pinned,
6356
- "cell-modified": a.value
6357
- })), E = () => {
6358
- const { left: O, bottom: T, width: H, height: M } = Os(o);
6359
- i.mask, i.modalComponent && e.store.$patch((U) => {
6360
- U.modal.visible = !0, U.modal.colIndex = e.colIndex, U.modal.rowIndex = e.rowIndex, U.modal.left = O, U.modal.bottom = T, U.modal.width = H, U.modal.height = M, U.modal.cell = o.value, typeof i.modalComponent == "function" ? U.modal.component = i.modalComponent({ table: U.table, row: l, column: i }) : U.modal.component = i.modalComponent, U.modal.componentProps = i.modalComponentExtraProps;
6355
+ "cell-modified": r.value
6356
+ })), h = () => {
6357
+ const { left: p, bottom: E, width: k, height: x } = Os(t);
6358
+ s.mask, s.modalComponent && e.store.$patch((N) => {
6359
+ N.modal.visible = !0, N.modal.colIndex = e.colIndex, N.modal.rowIndex = e.rowIndex, N.modal.left = p, N.modal.bottom = E, N.modal.width = k, N.modal.height = x, N.modal.cell = t.value, typeof s.modalComponent == "function" ? N.modal.component = s.modalComponent({ table: N.table, row: a, column: s }) : N.modal.component = s.modalComponent, N.modal.componentProps = s.modalComponentExtraProps;
6361
6360
  });
6362
6361
  };
6363
6362
  if (e.addNavigation) {
6364
- let O = {
6363
+ let p = {
6365
6364
  ...Kn,
6366
- "keydown.f2": E,
6367
- "keydown.alt.up": E,
6368
- "keydown.alt.down": E,
6369
- "keydown.alt.left": E,
6370
- "keydown.alt.right": E
6365
+ "keydown.f2": h,
6366
+ "keydown.alt.up": h,
6367
+ "keydown.alt.down": h,
6368
+ "keydown.alt.left": h,
6369
+ "keydown.alt.right": h
6371
6370
  };
6372
- typeof e.addNavigation == "object" && (O = {
6373
- ...O,
6371
+ typeof e.addNavigation == "object" && (p = {
6372
+ ...p,
6374
6373
  ...e.addNavigation
6375
6374
  }), gs([
6376
6375
  {
6377
- selectors: o,
6378
- handlers: O
6376
+ selectors: t,
6377
+ handlers: p
6379
6378
  }
6380
6379
  ]);
6381
6380
  }
6382
- const h = () => {
6383
- o.value && (s.value = o.value.textContent);
6384
- }, w = (O) => {
6385
- const T = O.target;
6386
- T.textContent !== s.value && (n("cellInput", e.colIndex, e.rowIndex, T.textContent, s.value), s.value = T.textContent, i.format ? (a.value = T.textContent !== e.store.getFormattedValue(e.colIndex, e.rowIndex, r), e.store.setCellText(e.colIndex, e.rowIndex, T.textContent)) : (a.value = T.textContent !== r, e.store.setCellData(e.colIndex, e.rowIndex, T.textContent)));
6381
+ const m = () => {
6382
+ t.value && (o.value = t.value.textContent);
6383
+ }, b = (p) => {
6384
+ const E = p.target;
6385
+ E.textContent !== o.value && (o.value = E.textContent, s.format ? (r.value = E.textContent !== e.store.getFormattedValue(e.colIndex, e.rowIndex, n), e.store.setCellText(e.colIndex, e.rowIndex, E.textContent)) : (r.value = E.textContent !== n, e.store.setCellData(e.colIndex, e.rowIndex, E.textContent)));
6387
6386
  };
6388
- return (O, T) => (V(), D("td", {
6387
+ return (p, E) => (C(), D("td", {
6389
6388
  ref: "cell",
6390
- "data-colindex": O.colIndex,
6391
- "data-rowindex": O.rowIndex,
6392
- "data-editable": C(i).edit,
6393
- contenteditable: C(i).edit,
6394
- tabindex: O.tabIndex,
6389
+ "data-colindex": p.colIndex,
6390
+ "data-rowindex": p.rowIndex,
6391
+ "data-editable": P(s).edit,
6392
+ contenteditable: P(s).edit,
6393
+ tabindex: p.tabIndex,
6395
6394
  spellcheck: !1,
6396
- style: ae(p.value),
6397
- onFocus: h,
6398
- onPaste: w,
6399
- onInput: w,
6400
- onClick: E,
6401
- class: Te(["atable-cell", m.value])
6395
+ style: ae(f.value),
6396
+ onFocus: m,
6397
+ onPaste: b,
6398
+ onInput: b,
6399
+ onClick: h,
6400
+ class: Ie(["atable-cell", d.value])
6402
6401
  }, [
6403
- C(i).cellComponent ? (V(), Se(_n(C(i).cellComponent), vn({
6402
+ P(s).cellComponent ? (C(), Se(_n(P(s).cellComponent), vn({
6404
6403
  key: 0,
6405
- value: d.value
6406
- }, C(i).cellComponentProps), null, 16, ["value"])) : f.value ? (V(), D("span", {
6404
+ value: c.value
6405
+ }, P(s).cellComponentProps), null, 16, ["value"])) : u.value ? (C(), D("span", {
6407
6406
  key: 1,
6408
- innerHTML: d.value
6409
- }, null, 8, wu)) : (V(), D("span", Ou, de(d.value), 1))
6407
+ innerHTML: c.value
6408
+ }, null, 8, wu)) : (C(), D("span", Ou, de(c.value), 1))
6410
6409
  ], 46, bu));
6411
6410
  }
6412
6411
  }), ks = (e, t) => {
@@ -6414,7 +6413,7 @@ const yu = (e) => {
6414
6413
  for (const [o, r] of t)
6415
6414
  n[o] = r;
6416
6415
  return n;
6417
- }, Su = ["tabindex"], Iu = /* @__PURE__ */ ce({
6416
+ }, Su = ["tabindex"], Tu = /* @__PURE__ */ ce({
6418
6417
  __name: "ARow",
6419
6418
  props: {
6420
6419
  rowIndex: {},
@@ -6423,7 +6422,7 @@ const yu = (e) => {
6423
6422
  addNavigation: { type: [Boolean, Object], default: !1 }
6424
6423
  },
6425
6424
  setup(e) {
6426
- const t = mt("rowEl"), n = x(() => e.store.isRowVisible(e.rowIndex)), o = x(() => e.store.getRowExpandSymbol(e.rowIndex));
6425
+ const t = mt("rowEl"), n = A(() => e.store.isRowVisible(e.rowIndex)), o = A(() => e.store.getRowExpandSymbol(e.rowIndex));
6427
6426
  if (e.addNavigation) {
6428
6427
  let r = Kn;
6429
6428
  typeof e.addNavigation == "object" && (r = {
@@ -6436,20 +6435,20 @@ const yu = (e) => {
6436
6435
  }
6437
6436
  ]);
6438
6437
  }
6439
- return (r, s) => st((V(), D("tr", {
6438
+ return (r, s) => st((C(), D("tr", {
6440
6439
  ref: "rowEl",
6441
6440
  tabindex: r.tabIndex,
6442
6441
  class: "atable-row"
6443
6442
  }, [
6444
6443
  r.store.config.view !== "uncounted" ? ve(r.$slots, "index", { key: 0 }, () => [
6445
- r.store.config.view === "list" ? (V(), D("td", {
6444
+ r.store.config.view === "list" ? (C(), D("td", {
6446
6445
  key: 0,
6447
6446
  tabIndex: -1,
6448
- class: Te(["list-index", r.store.hasPinnedColumns ? "sticky-index" : ""])
6449
- }, de(r.rowIndex + 1), 3)) : r.store.config.view === "tree" ? (V(), D("td", {
6447
+ class: Ie(["list-index", r.store.hasPinnedColumns ? "sticky-index" : ""])
6448
+ }, de(r.rowIndex + 1), 3)) : r.store.config.view === "tree" ? (C(), D("td", {
6450
6449
  key: 1,
6451
6450
  tabIndex: -1,
6452
- class: Te(["tree-index", r.store.hasPinnedColumns ? "sticky-index" : ""]),
6451
+ class: Ie(["tree-index", r.store.hasPinnedColumns ? "sticky-index" : ""]),
6453
6452
  onClick: s[0] || (s[0] = (a) => r.store.toggleRowExpand(r.rowIndex))
6454
6453
  }, de(o.value), 3)) : fe("", !0)
6455
6454
  ], !0) : fe("", !0),
@@ -6458,37 +6457,37 @@ const yu = (e) => {
6458
6457
  [mn, n.value]
6459
6458
  ]);
6460
6459
  }
6461
- }), Tu = /* @__PURE__ */ ks(Iu, [["__scopeId", "data-v-9c529d3d"]]), Ss = Fn ? window : void 0;
6460
+ }), Iu = /* @__PURE__ */ ks(Tu, [["__scopeId", "data-v-9c529d3d"]]), Ss = Wn ? window : void 0;
6462
6461
  function nt(e) {
6463
6462
  var t;
6464
- const n = $(e);
6463
+ const n = R(e);
6465
6464
  return (t = n == null ? void 0 : n.$el) != null ? t : n;
6466
6465
  }
6467
6466
  function Le(...e) {
6468
6467
  const t = [], n = () => {
6469
6468
  t.forEach((i) => i()), t.length = 0;
6470
- }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = x(() => {
6471
- const i = Ie($(e[0])).filter((l) => l != null);
6469
+ }, o = (i, l, c, u) => (i.addEventListener(l, c, u), () => i.removeEventListener(l, c, u)), r = A(() => {
6470
+ const i = Te(R(e[0])).filter((l) => l != null);
6472
6471
  return i.every((l) => typeof l != "string") ? i : void 0;
6473
6472
  }), s = Es(
6474
6473
  () => {
6475
6474
  var i, l;
6476
6475
  return [
6477
6476
  (l = (i = r.value) == null ? void 0 : i.map((c) => nt(c))) != null ? l : [Ss].filter((c) => c != null),
6478
- Ie($(r.value ? e[1] : e[0])),
6479
- Ie(C(r.value ? e[2] : e[1])),
6477
+ Te(R(r.value ? e[1] : e[0])),
6478
+ Te(P(r.value ? e[2] : e[1])),
6480
6479
  // @ts-expect-error - TypeScript gets the correct types, but somehow still complains
6481
- $(r.value ? e[3] : e[2])
6480
+ R(r.value ? e[3] : e[2])
6482
6481
  ];
6483
6482
  },
6484
6483
  ([i, l, c, u]) => {
6485
6484
  if (n(), !(i != null && i.length) || !(l != null && l.length) || !(c != null && c.length))
6486
6485
  return;
6487
- const d = ys(u) ? { ...u } : u;
6486
+ const f = ys(u) ? { ...u } : u;
6488
6487
  t.push(
6489
6488
  ...i.flatMap(
6490
- (f) => l.flatMap(
6491
- (p) => c.map((m) => o(f, p, m, d))
6489
+ (d) => l.flatMap(
6490
+ (h) => c.map((m) => o(d, h, m, f))
6492
6491
  )
6493
6492
  )
6494
6493
  );
@@ -6506,64 +6505,64 @@ function er(e, t, n = {}) {
6506
6505
  return i ? { stop: Oe, cancel: Oe, trigger: Oe } : Oe;
6507
6506
  if (hn && !Qo) {
6508
6507
  Qo = !0;
6509
- const h = { passive: !0 };
6510
- Array.from(o.document.body.children).forEach((w) => Le(w, "click", Oe, h)), Le(o.document.documentElement, "click", Oe, h);
6508
+ const p = { passive: !0 };
6509
+ Array.from(o.document.body.children).forEach((E) => Le(E, "click", Oe, p)), Le(o.document.documentElement, "click", Oe, p);
6511
6510
  }
6512
6511
  let l = !0;
6513
- const c = (h) => $(r).some((w) => {
6514
- if (typeof w == "string")
6515
- return Array.from(o.document.querySelectorAll(w)).some((O) => O === h.target || h.composedPath().includes(O));
6512
+ const c = (p) => R(r).some((E) => {
6513
+ if (typeof E == "string")
6514
+ return Array.from(o.document.querySelectorAll(E)).some((k) => k === p.target || p.composedPath().includes(k));
6516
6515
  {
6517
- const O = nt(w);
6518
- return O && (h.target === O || h.composedPath().includes(O));
6516
+ const k = nt(E);
6517
+ return k && (p.target === k || p.composedPath().includes(k));
6519
6518
  }
6520
6519
  });
6521
- function u(h) {
6522
- const w = $(h);
6523
- return w && w.$.subTree.shapeFlag === 16;
6524
- }
6525
- function d(h, w) {
6526
- const O = $(h), T = O.$.subTree && O.$.subTree.children;
6527
- return T == null || !Array.isArray(T) ? !1 : T.some((H) => H.el === w.target || w.composedPath().includes(H.el));
6528
- }
6529
- const f = (h) => {
6530
- const w = nt(e);
6531
- if (h.target != null && !(!(w instanceof Element) && u(e) && d(e, h)) && !(!w || w === h.target || h.composedPath().includes(w))) {
6532
- if ("detail" in h && h.detail === 0 && (l = !c(h)), !l) {
6520
+ function u(p) {
6521
+ const E = R(p);
6522
+ return E && E.$.subTree.shapeFlag === 16;
6523
+ }
6524
+ function f(p, E) {
6525
+ const k = R(p), x = k.$.subTree && k.$.subTree.children;
6526
+ return x == null || !Array.isArray(x) ? !1 : x.some((N) => N.el === E.target || E.composedPath().includes(N.el));
6527
+ }
6528
+ const d = (p) => {
6529
+ const E = nt(e);
6530
+ if (p.target != null && !(!(E instanceof Element) && u(e) && f(e, p)) && !(!E || E === p.target || p.composedPath().includes(E))) {
6531
+ if ("detail" in p && p.detail === 0 && (l = !c(p)), !l) {
6533
6532
  l = !0;
6534
6533
  return;
6535
6534
  }
6536
- t(h);
6535
+ t(p);
6537
6536
  }
6538
6537
  };
6539
- let p = !1;
6538
+ let h = !1;
6540
6539
  const m = [
6541
- Le(o, "click", (h) => {
6542
- p || (p = !0, setTimeout(() => {
6543
- p = !1;
6544
- }, 0), f(h));
6540
+ Le(o, "click", (p) => {
6541
+ h || (h = !0, setTimeout(() => {
6542
+ h = !1;
6543
+ }, 0), d(p));
6545
6544
  }, { passive: !0, capture: s }),
6546
- Le(o, "pointerdown", (h) => {
6547
- const w = nt(e);
6548
- l = !c(h) && !!(w && !h.composedPath().includes(w));
6545
+ Le(o, "pointerdown", (p) => {
6546
+ const E = nt(e);
6547
+ l = !c(p) && !!(E && !p.composedPath().includes(E));
6549
6548
  }, { passive: !0 }),
6550
- a && Le(o, "blur", (h) => {
6549
+ a && Le(o, "blur", (p) => {
6551
6550
  setTimeout(() => {
6552
- var w;
6553
- const O = nt(e);
6554
- ((w = o.document.activeElement) == null ? void 0 : w.tagName) === "IFRAME" && !(O != null && O.contains(o.document.activeElement)) && t(h);
6551
+ var E;
6552
+ const k = nt(e);
6553
+ ((E = o.document.activeElement) == null ? void 0 : E.tagName) === "IFRAME" && !(k != null && k.contains(o.document.activeElement)) && t(p);
6555
6554
  }, 0);
6556
6555
  }, { passive: !0 })
6557
- ].filter(Boolean), E = () => m.forEach((h) => h());
6556
+ ].filter(Boolean), b = () => m.forEach((p) => p());
6558
6557
  return i ? {
6559
- stop: E,
6558
+ stop: b,
6560
6559
  cancel: () => {
6561
6560
  l = !1;
6562
6561
  },
6563
- trigger: (h) => {
6564
- l = !0, f(h), l = !1;
6562
+ trigger: (p) => {
6563
+ l = !0, d(p), l = !1;
6565
6564
  }
6566
- } : E;
6565
+ } : b;
6567
6566
  }
6568
6567
  const Pu = {
6569
6568
  mounted(e, t) {
@@ -6579,31 +6578,31 @@ const Pu = {
6579
6578
  e.__onClickOutside_stop();
6580
6579
  }
6581
6580
  };
6582
- function Xt(e) {
6581
+ function Zt(e) {
6583
6582
  return typeof Window < "u" && e instanceof Window ? e.document.documentElement : typeof Document < "u" && e instanceof Document ? e.documentElement : e;
6584
6583
  }
6585
- function Is(e) {
6584
+ function Ts(e) {
6586
6585
  const t = window.getComputedStyle(e);
6587
6586
  if (t.overflowX === "scroll" || t.overflowY === "scroll" || t.overflowX === "auto" && e.clientWidth < e.scrollWidth || t.overflowY === "auto" && e.clientHeight < e.scrollHeight)
6588
6587
  return !0;
6589
6588
  {
6590
6589
  const n = e.parentNode;
6591
- return !n || n.tagName === "BODY" ? !1 : Is(n);
6590
+ return !n || n.tagName === "BODY" ? !1 : Ts(n);
6592
6591
  }
6593
6592
  }
6594
6593
  function Cu(e) {
6595
6594
  const t = e || window.event, n = t.target;
6596
- return Is(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
6595
+ return Ts(n) ? !1 : t.touches.length > 1 ? !0 : (t.preventDefault && t.preventDefault(), !1);
6597
6596
  }
6598
- const Zt = /* @__PURE__ */ new WeakMap();
6597
+ const Xt = /* @__PURE__ */ new WeakMap();
6599
6598
  function Vu(e, t = !1) {
6600
- const n = N(t);
6599
+ const n = V(t);
6601
6600
  let o = null, r = "";
6602
- F(mu(e), (i) => {
6603
- const l = Xt($(i));
6601
+ K(mu(e), (i) => {
6602
+ const l = Zt(R(i));
6604
6603
  if (l) {
6605
6604
  const c = l;
6606
- if (Zt.get(c) || Zt.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
6605
+ if (Xt.get(c) || Xt.set(c, c.style.overflow), c.style.overflow !== "hidden" && (r = c.style.overflow), c.style.overflow === "hidden")
6607
6606
  return n.value = !0;
6608
6607
  if (n.value)
6609
6608
  return c.style.overflow = "hidden";
@@ -6612,7 +6611,7 @@ function Vu(e, t = !1) {
6612
6611
  immediate: !0
6613
6612
  });
6614
6613
  const s = () => {
6615
- const i = Xt($(e));
6614
+ const i = Zt(R(e));
6616
6615
  !i || n.value || (hn && (o = Le(
6617
6616
  i,
6618
6617
  "touchmove",
@@ -6622,10 +6621,10 @@ function Vu(e, t = !1) {
6622
6621
  { passive: !1 }
6623
6622
  )), i.style.overflow = "hidden", n.value = !0);
6624
6623
  }, a = () => {
6625
- const i = Xt($(e));
6626
- !i || !n.value || (hn && (o == null || o()), i.style.overflow = r, Zt.delete(i), n.value = !1);
6624
+ const i = Zt(R(e));
6625
+ !i || !n.value || (hn && (o == null || o()), i.style.overflow = r, Xt.delete(i), n.value = !1);
6627
6626
  };
6628
- return gt(a), x({
6627
+ return gt(a), A({
6629
6628
  get() {
6630
6629
  return n.value;
6631
6630
  },
@@ -6636,13 +6635,13 @@ function Vu(e, t = !1) {
6636
6635
  }
6637
6636
  function Nu() {
6638
6637
  let e = !1;
6639
- const t = X(!1);
6638
+ const t = J(!1);
6640
6639
  return (n, o) => {
6641
6640
  if (t.value = o.value, e)
6642
6641
  return;
6643
6642
  e = !0;
6644
6643
  const r = Vu(n, o.value);
6645
- F(t, (s) => r.value = s);
6644
+ K(t, (s) => r.value = s);
6646
6645
  };
6647
6646
  }
6648
6647
  Nu();
@@ -6659,22 +6658,22 @@ const Du = {
6659
6658
  store: {}
6660
6659
  },
6661
6660
  setup(e) {
6662
- return (t, n) => t.columns.length ? (V(), D("thead", Du, [
6663
- R("tr", xu, [
6664
- t.store.zeroColumn ? (V(), D("th", {
6661
+ return (t, n) => t.columns.length ? (C(), D("thead", Du, [
6662
+ L("tr", xu, [
6663
+ t.store.zeroColumn ? (C(), D("th", {
6665
6664
  key: 0,
6666
6665
  id: "header-index",
6667
- class: Te([[
6666
+ class: Ie([[
6668
6667
  t.store.hasPinnedColumns ? "sticky-index" : "",
6669
6668
  t.store.config.view === "tree" ? "tree-index" : "",
6670
6669
  t.store.config.view === "list-expansion" ? "list-expansion-index" : ""
6671
6670
  ], "list-index"])
6672
6671
  }, null, 2)) : fe("", !0),
6673
- (V(!0), D(Pe, null, Ce(t.columns, (o, r) => (V(), D("th", {
6672
+ (C(!0), D(Pe, null, Ce(t.columns, (o, r) => (C(), D("th", {
6674
6673
  key: o.name,
6675
6674
  tabindex: "-1",
6676
6675
  style: ae(t.store.getHeaderCellStyle(o)),
6677
- class: Te(o.pinned ? "sticky-column" : "")
6676
+ class: Ie(o.pinned ? "sticky-column" : "")
6678
6677
  }, [
6679
6678
  ve(t.$slots, "default", {}, () => [
6680
6679
  sr(de(o.label || String.fromCharCode(r + 97).toUpperCase()), 1)
@@ -6689,20 +6688,20 @@ const Du = {
6689
6688
  store: {}
6690
6689
  },
6691
6690
  setup(e) {
6692
- const t = mt("amodal"), { width: n, height: o } = Os(t), r = x(() => {
6691
+ const t = mt("amodal"), { width: n, height: o } = Os(t), r = A(() => {
6693
6692
  var s, a, i, l;
6694
6693
  if (!(e.store.modal.height && e.store.modal.width && e.store.modal.left && e.store.modal.bottom)) return;
6695
- const c = (s = e.store.modal.cell) == null ? void 0 : s.closest("table"), u = c.offsetHeight || 0, d = c.offsetWidth || 0;
6696
- let f = ((a = e.store.modal.cell) == null ? void 0 : a.offsetTop) || 0;
6697
- const p = ((i = c.querySelector("thead")) == null ? void 0 : i.offsetHeight) || 0;
6698
- f += p, f = f + o.value < u ? f : f - (o.value + e.store.modal.height);
6694
+ const c = (s = e.store.modal.cell) == null ? void 0 : s.closest("table"), u = c.offsetHeight || 0, f = c.offsetWidth || 0;
6695
+ let d = ((a = e.store.modal.cell) == null ? void 0 : a.offsetTop) || 0;
6696
+ const h = ((i = c.querySelector("thead")) == null ? void 0 : i.offsetHeight) || 0;
6697
+ d += h, d = d + o.value < u ? d : d - (o.value + e.store.modal.height);
6699
6698
  let m = ((l = e.store.modal.cell) == null ? void 0 : l.offsetLeft) || 0;
6700
- return m = m + n.value <= d ? m : m - (n.value - e.store.modal.width), {
6699
+ return m = m + n.value <= f ? m : m - (n.value - e.store.modal.width), {
6701
6700
  left: `${m}px`,
6702
- top: `${f}px`
6701
+ top: `${d}px`
6703
6702
  };
6704
6703
  });
6705
- return (s, a) => (V(), D("div", {
6704
+ return (s, a) => (C(), D("div", {
6706
6705
  class: "amodal",
6707
6706
  ref: "amodal",
6708
6707
  tabindex: "-1",
@@ -6717,25 +6716,25 @@ const Du = {
6717
6716
  }
6718
6717
  }), Ru = (e) => {
6719
6718
  const t = e.id || Eu();
6720
- return (/* @__PURE__ */ Fc(`table-${t}`, () => {
6719
+ return (/* @__PURE__ */ Wc(`table-${t}`, () => {
6721
6720
  const n = () => {
6722
6721
  const v = {};
6723
- for (const [S, b] of r.value.entries())
6722
+ for (const [S, w] of r.value.entries())
6724
6723
  for (const [_, g] of s.value.entries())
6725
- v[`${S}:${_}`] = g[b.name];
6724
+ v[`${S}:${_}`] = g[w.name];
6726
6725
  return v;
6727
6726
  }, o = (v) => {
6728
6727
  const S = [Object.assign({}, { rowModified: !1 })];
6729
6728
  if (v && "0:0" in v)
6730
6729
  return v;
6731
- const b = /* @__PURE__ */ new Set();
6730
+ const w = /* @__PURE__ */ new Set();
6732
6731
  for (let _ = s.value.length - 1; _ >= 0; _--) {
6733
6732
  const g = s.value[_];
6734
- g.parent && b.add(g.parent), S[_] = {
6733
+ g.parent && w.add(g.parent), S[_] = {
6735
6734
  childrenOpen: !1,
6736
6735
  expanded: !1,
6737
6736
  indent: g.indent || 0,
6738
- isParent: b.has(_),
6737
+ isParent: w.has(_),
6739
6738
  isRoot: g.parent === null || g.parent === void 0,
6740
6739
  rowModified: !1,
6741
6740
  open: g.parent === null || g.parent === void 0,
@@ -6743,30 +6742,30 @@ const Du = {
6743
6742
  };
6744
6743
  }
6745
6744
  return S;
6746
- }, r = N(e.columns), s = N(e.rows), a = N(e.config || {}), i = N(e.table || n()), l = N(o(e.display)), c = N(e.modal || { visible: !1 }), u = N({}), d = x(() => r.value.some((v) => v.pinned)), f = x(() => `${Math.ceil(s.value.length / 100 + 1)}ch`), p = x(
6745
+ }, r = V(e.columns), s = V(e.rows), a = V(e.config || {}), i = V(e.table || n()), l = V(o(e.display)), c = V(e.modal || { visible: !1 }), u = V({}), f = A(() => r.value.some((v) => v.pinned)), d = A(() => `${Math.ceil(s.value.length / 100 + 1)}ch`), h = A(
6747
6746
  () => a.value.view ? ["list", "tree", "list-expansion"].includes(a.value.view) : !1
6748
- ), m = (v, S) => i.value[`${v}:${S}`], E = (v, S, b) => {
6747
+ ), m = (v, S) => i.value[`${v}:${S}`], b = (v, S, w) => {
6749
6748
  const _ = `${v}:${S}`, g = r.value[v];
6750
- i.value[_] !== b && (l.value[S].rowModified = !0), i.value[_] = b, s.value[S][g.name] = b;
6751
- }, h = (v, S, b) => {
6749
+ i.value[_] !== w && (l.value[S].rowModified = !0), i.value[_] = w, s.value[S][g.name] = w;
6750
+ }, p = (v, S, w) => {
6752
6751
  const _ = `${v}:${S}`;
6753
- i.value[_] !== b && (l.value[S].rowModified = !0, u.value[_] = b);
6754
- }, w = (v) => ({
6752
+ i.value[_] !== w && (l.value[S].rowModified = !0, u.value[_] = w);
6753
+ }, E = (v) => ({
6755
6754
  minWidth: v.width || "40ch",
6756
6755
  textAlign: v.align || "center",
6757
6756
  width: a.value.fullWidth ? "auto" : void 0
6758
- }), O = (v) => a.value.view !== "tree" || l.value[v].isRoot || l.value[v].open, T = (v) => a.value.view !== "tree" ? "" : l.value[v].isRoot || l.value[v].isParent ? l.value[v].childrenOpen ? "-" : "+" : "", H = (v) => {
6757
+ }), k = (v) => a.value.view !== "tree" || l.value[v].isRoot || l.value[v].open, x = (v) => a.value.view !== "tree" ? "" : l.value[v].isRoot || l.value[v].isParent ? l.value[v].childrenOpen ? "-" : "+" : "", N = (v) => {
6759
6758
  if (a.value.view === "tree") {
6760
6759
  l.value[v].childrenOpen = !l.value[v].childrenOpen;
6761
6760
  for (let S = s.value.length - 1; S >= 0; S--)
6762
- l.value[S].parent === v && (l.value[S].open = !l.value[S].open, l.value[S].childrenOpen && H(S));
6761
+ l.value[S].parent === v && (l.value[S].open = !l.value[S].open, l.value[S].childrenOpen && N(S));
6763
6762
  } else a.value.view === "list-expansion" && (l.value[v].expanded = !l.value[v].expanded);
6764
6763
  }, M = (v, S) => {
6765
- const b = m(v, S);
6766
- return U(v, S, b);
6767
- }, U = (v, S, b) => {
6768
- const _ = r.value[v], g = s.value[S], I = _.format;
6769
- return I ? typeof I == "function" ? I(b, { table: i.value, row: g, column: _ }) : typeof I == "string" ? Function(`"use strict";return (${I})`)()(b, { table: i.value, row: g, column: _ }) : b : b;
6764
+ const w = m(v, S);
6765
+ return ne(v, S, w);
6766
+ }, ne = (v, S, w) => {
6767
+ const _ = r.value[v], g = s.value[S], T = _.format;
6768
+ return T ? typeof T == "function" ? T(w, { table: i.value, row: g, column: _ }) : typeof T == "string" ? Function(`"use strict";return (${T})`)()(w, { table: i.value, row: g, column: _ }) : w : w;
6770
6769
  };
6771
6770
  return {
6772
6771
  // state
@@ -6778,9 +6777,9 @@ const Du = {
6778
6777
  table: i,
6779
6778
  updates: u,
6780
6779
  // getters
6781
- hasPinnedColumns: d,
6782
- numberedRowWidth: f,
6783
- zeroColumn: p,
6780
+ hasPinnedColumns: f,
6781
+ numberedRowWidth: d,
6782
+ zeroColumn: h,
6784
6783
  // actions
6785
6784
  closeModal: (v) => {
6786
6785
  var S;
@@ -6788,14 +6787,14 @@ const Du = {
6788
6787
  },
6789
6788
  getCellData: m,
6790
6789
  getCellDisplayValue: M,
6791
- getFormattedValue: U,
6792
- getHeaderCellStyle: w,
6790
+ getFormattedValue: ne,
6791
+ getHeaderCellStyle: E,
6793
6792
  getIndent: (v, S) => S && v === 0 && S > 0 ? `${S}ch` : "inherit",
6794
- getRowExpandSymbol: T,
6795
- isRowVisible: O,
6796
- setCellData: E,
6797
- setCellText: h,
6798
- toggleRowExpand: H
6793
+ getRowExpandSymbol: x,
6794
+ isRowVisible: k,
6795
+ setCellData: b,
6796
+ setCellText: p,
6797
+ toggleRowExpand: N
6799
6798
  };
6800
6799
  }))();
6801
6800
  }, Lu = /* @__PURE__ */ ce({
@@ -6810,119 +6809,116 @@ const Du = {
6810
6809
  emits: ["update:modelValue", "cellUpdate"],
6811
6810
  setup(e, { expose: t, emit: n }) {
6812
6811
  const o = n, r = mt("table"), s = e.modelValue ? e.modelValue : e.rows, a = Ru({ columns: e.columns, rows: s, id: e.id, config: e.config });
6813
- a.$onAction(({ name: c, store: u, args: d, after: f }) => {
6814
- if (c === "setCellData") {
6815
- const [p, m, E] = d, h = u.getCellData(p, m);
6812
+ a.$onAction(({ name: l, store: c, args: u, after: f }) => {
6813
+ if (l === "setCellData" || l === "setCellText") {
6814
+ const [d, h, m] = u, b = c.getCellData(d, h);
6816
6815
  f(() => {
6817
- o("cellUpdate", p, m, E, h);
6816
+ o("cellUpdate", { colIndex: d, rowIndex: h, newValue: m, oldValue: b });
6818
6817
  });
6819
6818
  }
6820
- }), F(
6819
+ }), K(
6821
6820
  () => a.rows,
6822
- (c) => {
6823
- o("update:modelValue", c);
6821
+ (l) => {
6822
+ o("update:modelValue", l);
6824
6823
  },
6825
6824
  { deep: !0 }
6826
6825
  ), Ae(() => {
6827
- e.columns.some((c) => c.pinned) && (l(), a.config.view === "tree" && ws(r, l, { childList: !0, subtree: !0 }));
6826
+ e.columns.some((l) => l.pinned) && (i(), a.config.view === "tree" && ws(r, i, { childList: !0, subtree: !0 }));
6828
6827
  });
6829
- const i = (c, u, d, f) => {
6830
- o("cellUpdate", c, u, d, f);
6831
- }, l = () => {
6832
- const c = r.value, u = c == null ? void 0 : c.rows[0], d = c == null ? void 0 : c.rows[1], f = u ? Array.from(u.cells) : [];
6833
- for (const [p, m] of f.entries()) {
6834
- const E = d == null ? void 0 : d.cells[p];
6835
- E && (m.style.width = `${E.offsetWidth}px`);
6828
+ const i = () => {
6829
+ const l = r.value, c = l == null ? void 0 : l.rows[0], u = l == null ? void 0 : l.rows[1], f = c ? Array.from(c.cells) : [];
6830
+ for (const [d, h] of f.entries()) {
6831
+ const m = u == null ? void 0 : u.cells[d];
6832
+ m && (h.style.width = `${m.offsetWidth}px`);
6836
6833
  }
6837
- for (const p of (c == null ? void 0 : c.rows) || []) {
6838
- let m = 0;
6839
- const E = [];
6840
- for (const h of p.cells)
6841
- (h.classList.contains("sticky-column") || h.classList.contains("sticky-index")) && (h.style.left = `${m}px`, m += h.offsetWidth, E.push(h));
6842
- E.length > 0 && E[E.length - 1].classList.add("sticky-column-edge");
6834
+ for (const d of (l == null ? void 0 : l.rows) || []) {
6835
+ let h = 0;
6836
+ const m = [];
6837
+ for (const b of d.cells)
6838
+ (b.classList.contains("sticky-column") || b.classList.contains("sticky-index")) && (b.style.left = `${h}px`, h += b.offsetWidth, m.push(b));
6839
+ m.length > 0 && m[m.length - 1].classList.add("sticky-column-edge");
6843
6840
  }
6844
6841
  };
6845
- return window.addEventListener("keydown", (c) => {
6846
- if (c.key === "Escape" && a.modal.visible) {
6842
+ return window.addEventListener("keydown", (l) => {
6843
+ if (l.key === "Escape" && a.modal.visible) {
6847
6844
  a.modal.visible = !1;
6848
- const u = a.modal.parent;
6849
- u && Ve().then(() => {
6850
- u.focus();
6845
+ const c = a.modal.parent;
6846
+ c && Ve().then(() => {
6847
+ c.focus();
6851
6848
  });
6852
6849
  }
6853
- }), t({ store: a }), (c, u) => st((V(), D("table", {
6850
+ }), t({ store: a }), (l, c) => st((C(), D("table", {
6854
6851
  ref: "table",
6855
6852
  class: "atable",
6856
- style: ae({ width: C(a).config.fullWidth ? "100%" : "auto" })
6853
+ style: ae({ width: P(a).config.fullWidth ? "100%" : "auto" })
6857
6854
  }, [
6858
- ve(c.$slots, "header", { data: C(a) }, () => [
6855
+ ve(l.$slots, "header", { data: P(a) }, () => [
6859
6856
  Dt(Au, {
6860
- columns: C(a).columns,
6861
- store: C(a)
6857
+ columns: P(a).columns,
6858
+ store: P(a)
6862
6859
  }, null, 8, ["columns", "store"])
6863
6860
  ], !0),
6864
- R("tbody", null, [
6865
- ve(c.$slots, "body", { data: C(a) }, () => [
6866
- (V(!0), D(Pe, null, Ce(C(a).rows, (d, f) => (V(), Se(Tu, {
6867
- key: d.id,
6868
- row: d,
6861
+ L("tbody", null, [
6862
+ ve(l.$slots, "body", { data: P(a) }, () => [
6863
+ (C(!0), D(Pe, null, Ce(P(a).rows, (u, f) => (C(), Se(Iu, {
6864
+ key: u.id,
6865
+ row: u,
6869
6866
  rowIndex: f,
6870
- store: C(a)
6867
+ store: P(a)
6871
6868
  }, {
6872
6869
  default: xt(() => [
6873
- (V(!0), D(Pe, null, Ce(C(a).columns, (p, m) => (V(), Se(ku, {
6874
- key: p.name,
6875
- store: C(a),
6876
- col: p,
6870
+ (C(!0), D(Pe, null, Ce(P(a).columns, (d, h) => (C(), Se(ku, {
6871
+ key: d.name,
6872
+ store: P(a),
6873
+ col: d,
6877
6874
  spellcheck: "false",
6878
- pinned: p.pinned,
6875
+ pinned: d.pinned,
6879
6876
  rowIndex: f,
6880
- colIndex: m,
6881
- component: p.cellComponent,
6877
+ colIndex: h,
6878
+ component: d.cellComponent,
6882
6879
  style: ae({
6883
- textAlign: (p == null ? void 0 : p.align) || "center",
6884
- minWidth: (p == null ? void 0 : p.width) || "40ch",
6885
- width: C(a).config.fullWidth ? "auto" : null
6886
- }),
6887
- onCellInput: i
6880
+ textAlign: (d == null ? void 0 : d.align) || "center",
6881
+ minWidth: (d == null ? void 0 : d.width) || "40ch",
6882
+ width: P(a).config.fullWidth ? "auto" : null
6883
+ })
6888
6884
  }, null, 8, ["store", "col", "pinned", "rowIndex", "colIndex", "component", "style"]))), 128))
6889
6885
  ]),
6890
6886
  _: 2
6891
6887
  }, 1032, ["row", "rowIndex", "store"]))), 128))
6892
6888
  ], !0)
6893
6889
  ]),
6894
- ve(c.$slots, "footer", { data: C(a) }, void 0, !0),
6895
- ve(c.$slots, "modal", { data: C(a) }, () => [
6896
- st(Dt($u, { store: C(a) }, {
6890
+ ve(l.$slots, "footer", { data: P(a) }, void 0, !0),
6891
+ ve(l.$slots, "modal", { data: P(a) }, () => [
6892
+ st(Dt($u, { store: P(a) }, {
6897
6893
  default: xt(() => [
6898
- (V(), Se(_n(C(a).modal.component), vn({
6899
- key: `${C(a).modal.rowIndex}:${C(a).modal.colIndex}`,
6900
- colIndex: C(a).modal.colIndex,
6901
- rowIndex: C(a).modal.rowIndex,
6902
- store: C(a)
6903
- }, C(a).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
6894
+ (C(), Se(_n(P(a).modal.component), vn({
6895
+ key: `${P(a).modal.rowIndex}:${P(a).modal.colIndex}`,
6896
+ colIndex: P(a).modal.colIndex,
6897
+ rowIndex: P(a).modal.rowIndex,
6898
+ store: P(a)
6899
+ }, P(a).modal.componentProps), null, 16, ["colIndex", "rowIndex", "store"]))
6904
6900
  ]),
6905
6901
  _: 1
6906
6902
  }, 8, ["store"]), [
6907
- [mn, C(a).modal.visible]
6903
+ [mn, P(a).modal.visible]
6908
6904
  ])
6909
6905
  ], !0)
6910
6906
  ], 4)), [
6911
- [C(Pu), C(a).closeModal]
6907
+ [P(Pu), P(a).closeModal]
6912
6908
  ]);
6913
6909
  }
6914
- }), ju = /* @__PURE__ */ ks(Lu, [["__scopeId", "data-v-37bee2a6"]]), Uu = /* @__PURE__ */ ce({
6910
+ }), ju = /* @__PURE__ */ ks(Lu, [["__scopeId", "data-v-ef1d9615"]]), Uu = /* @__PURE__ */ ce({
6915
6911
  __name: "Records",
6916
6912
  setup(e) {
6917
6913
  const { stonecrop: t, isReady: n } = ns(), o = { view: "list" };
6918
- return (r, s) => C(n) ? (V(), Se(C(ju), {
6914
+ return (r, s) => P(n) ? (C(), Se(P(ju), {
6919
6915
  key: 0,
6920
- columns: C(t).schema.schema.toArray(),
6921
- rows: C(t).store.records,
6916
+ columns: P(t).schema.schema.toArray(),
6917
+ rows: P(t).store.records,
6922
6918
  config: o
6923
6919
  }, null, 8, ["columns", "rows"])) : fe("", !0);
6924
6920
  }
6925
- }), Mu = { class: "tabs" }, Hu = { tabindex: "0" }, zu = {
6921
+ }), Mu = { class: "tabs" }, Hu = { tabindex: "0" }, Bu = {
6926
6922
  version: "1.1",
6927
6923
  id: "Capa_1",
6928
6924
  xmlns: "http://www.w3.org/2000/svg",
@@ -6932,53 +6928,53 @@ const Du = {
6932
6928
  viewBox: "0 0 424.098 424.098",
6933
6929
  style: { "enable-background": "new 0 0 424.098 424.098" },
6934
6930
  "xml:space": "preserve"
6935
- }, Bu = { tabindex: "0" }, Ku = { style: { width: "11pt" } }, Fu = /* @__PURE__ */ ce({
6931
+ }, zu = { tabindex: "0" }, Ku = { style: { width: "11pt" } }, Wu = /* @__PURE__ */ ce({
6936
6932
  __name: "SheetNav",
6937
6933
  props: {
6938
6934
  breadcrumbs: { default: () => [] }
6939
6935
  },
6940
6936
  setup(e) {
6941
- const t = N(!0), n = N(!1), o = N(""), r = mt("searchinput"), s = x(() => t.value ? "unrotated" : "rotated"), a = () => {
6937
+ const t = V(!0), n = V(!1), o = V(""), r = mt("searchinput"), s = A(() => t.value ? "unrotated" : "rotated"), a = () => {
6942
6938
  t.value = !t.value;
6943
6939
  }, i = async () => {
6944
6940
  n.value = !n.value, await Ve(() => {
6945
6941
  r.value.focus();
6946
6942
  });
6947
- }, l = (d) => {
6948
- d.preventDefault(), d.stopPropagation();
6949
- }, c = async (d) => {
6950
- d.preventDefault(), d.stopPropagation(), await i();
6943
+ }, l = (f) => {
6944
+ f.preventDefault(), f.stopPropagation();
6945
+ }, c = async (f) => {
6946
+ f.preventDefault(), f.stopPropagation(), await i();
6951
6947
  }, u = () => {
6952
6948
  };
6953
- return (d, f) => {
6954
- const p = Cs("router-link");
6955
- return V(), D("footer", null, [
6956
- R("ul", Mu, [
6957
- R("li", {
6949
+ return (f, d) => {
6950
+ const h = Cs("router-link");
6951
+ return C(), D("footer", null, [
6952
+ L("ul", Mu, [
6953
+ L("li", {
6958
6954
  class: "hidebreadcrumbs",
6959
6955
  onClick: a,
6960
6956
  onKeydown: yt(a, ["enter"])
6961
6957
  }, [
6962
- R("a", Hu, [
6963
- R("div", {
6964
- class: Te(s.value)
6958
+ L("a", Hu, [
6959
+ L("div", {
6960
+ class: Ie(s.value)
6965
6961
  }, "×", 2)
6966
6962
  ])
6967
6963
  ], 32),
6968
- R("li", {
6964
+ L("li", {
6969
6965
  class: "hometab",
6970
6966
  onClick: u,
6971
6967
  onKeydown: yt(u, ["enter"]),
6972
6968
  style: ae({ display: t.value ? "block" : "none" })
6973
6969
  }, [
6974
- Dt(p, {
6970
+ Dt(h, {
6975
6971
  to: "/home",
6976
6972
  tabindex: "0"
6977
6973
  }, {
6978
6974
  default: xt(() => [
6979
- (V(), D("svg", zu, f[5] || (f[5] = [
6980
- R("g", null, [
6981
- R("path", {
6975
+ (C(), D("svg", Bu, d[5] || (d[5] = [
6976
+ L("g", null, [
6977
+ L("path", {
6982
6978
  style: { fill: "#010002" },
6983
6979
  d: `M351.191,401.923H72.901c-4.487,0-8.129-3.633-8.129-8.129V242.262l-56.664-0.114
6984
6980
  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
@@ -6996,19 +6992,19 @@ const Du = {
6996
6992
  _: 1
6997
6993
  })
6998
6994
  ], 36),
6999
- R("li", {
6995
+ L("li", {
7000
6996
  class: "searchtab",
7001
6997
  onClick: i,
7002
6998
  onKeydown: yt(i, ["enter"]),
7003
6999
  style: ae({ display: t.value ? "block" : "none" })
7004
7000
  }, [
7005
- R("a", Bu, [
7006
- R("span", {
7001
+ L("a", zu, [
7002
+ L("span", {
7007
7003
  style: ae({ display: n.value ? "none" : "block" })
7008
7004
  }, [
7009
- (V(), D("svg", Ku, f[6] || (f[6] = [
7010
- R("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
7011
- R("path", {
7005
+ (C(), D("svg", Ku, d[6] || (d[6] = [
7006
+ L("g", { transform: "matrix(-0.08088215,0,0,0.08088215,9.8016177,3.1263021e-6)" }, [
7007
+ L("path", {
7012
7008
  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",
7013
7009
  style: { fill: "#000000", "fill-opacity": "1", "fill-rule": "nonzero", stroke: "none" },
7014
7010
  id: "path2"
@@ -7016,25 +7012,25 @@ const Du = {
7016
7012
  ], -1)
7017
7013
  ])))
7018
7014
  ], 4),
7019
- st(R("input", {
7020
- "onUpdate:modelValue": f[0] || (f[0] = (m) => o.value = m),
7015
+ st(L("input", {
7016
+ "onUpdate:modelValue": d[0] || (d[0] = (m) => o.value = m),
7021
7017
  ref: "searchinput",
7022
7018
  style: ae({ display: n.value ? "block" : "none" }),
7023
- onClick: f[1] || (f[1] = (m) => l(m)),
7024
- onInput: f[2] || (f[2] = (m) => l(m)),
7025
- onBlur: f[3] || (f[3] = (m) => c(m)),
7026
- onKeydown: f[4] || (f[4] = yt((m) => c(m), ["enter"])),
7019
+ onClick: d[1] || (d[1] = (m) => l(m)),
7020
+ onInput: d[2] || (d[2] = (m) => l(m)),
7021
+ onBlur: d[3] || (d[3] = (m) => c(m)),
7022
+ onKeydown: d[4] || (d[4] = yt((m) => c(m), ["enter"])),
7027
7023
  type: "text"
7028
7024
  }, null, 36), [
7029
7025
  [Vs, o.value]
7030
7026
  ])
7031
7027
  ])
7032
7028
  ], 36),
7033
- (V(!0), D(Pe, null, Ce(d.breadcrumbs, (m) => (V(), D("li", {
7029
+ (C(!0), D(Pe, null, Ce(f.breadcrumbs, (m) => (C(), D("li", {
7034
7030
  key: m.title,
7035
7031
  style: ae({ display: t.value ? "block" : "none" })
7036
7032
  }, [
7037
- Dt(p, {
7033
+ Dt(h, {
7038
7034
  tabindex: "0",
7039
7035
  to: m.to
7040
7036
  }, {
@@ -7048,9 +7044,9 @@ const Du = {
7048
7044
  ]);
7049
7045
  };
7050
7046
  }
7051
- }), Wu = /* @__PURE__ */ En(Fu, [["__scopeId", "data-v-a650f215"]]), Yu = {
7047
+ }), Fu = /* @__PURE__ */ En(Wu, [["__scopeId", "data-v-a650f215"]]), Yu = {
7052
7048
  install: (e) => {
7053
- e.component("ActionSet", Hs), e.component("CommandPalette", Ks), e.component("Doctype", Mc), e.component("Records", Uu), e.component("SheetNav", Wu);
7049
+ e.component("ActionSet", Hs), e.component("CommandPalette", Ks), e.component("Doctype", Mc), e.component("Records", Uu), e.component("SheetNav", Fu);
7054
7050
  }
7055
7051
  };
7056
7052
  export {
@@ -7058,7 +7054,7 @@ export {
7058
7054
  Ks as CommandPalette,
7059
7055
  Mc as Doctype,
7060
7056
  Uu as Records,
7061
- Wu as SheetNav,
7057
+ Fu as SheetNav,
7062
7058
  Yu as StonecropDesktop
7063
7059
  };
7064
7060
  //# sourceMappingURL=desktop.js.map