@vanjana/vue-ui 0.1.61 → 0.1.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,24 +1,24 @@
1
- import { createElementBlock as x, openBlock as v, createElementVNode as k, renderSlot as T, defineComponent as B, computed as C, normalizeClass as N, createBlock as P, createCommentVNode as L, createTextVNode as ze, unref as E, toDisplayString as j, useSlots as tn, mergeModels as ue, useModel as ye, ref as R, onMounted as Ae, nextTick as he, onBeforeUnmount as Oe, watch as q, resolveComponent as U, createVNode as D, normalizeStyle as Z, Fragment as be, renderList as Xe, Teleport as tt, Transition as Ie, withCtx as W, withModifiers as de, createSlots as Rt, resolveDynamicComponent as Et, mergeProps as nn, shallowRef as on, getCurrentScope as ln, onScopeDispose as an, shallowReadonly as _e, withKeys as sn, provide as rn, inject as St, toRef as Je, normalizeProps as cn, guardReactiveProps as un, isRef as dn, createApp as fn, h as mn } from "vue";
2
- import { useRouter as vn, useRoute as pn } from "vue-router";
1
+ import { createElementBlock as x, openBlock as v, createElementVNode as k, renderSlot as T, defineComponent as B, computed as C, normalizeClass as N, createBlock as j, createCommentVNode as $, createTextVNode as $e, unref as R, toDisplayString as D, useSlots as on, mergeModels as ue, useModel as ye, ref as E, onMounted as Oe, nextTick as he, onBeforeUnmount as Te, watch as q, resolveComponent as U, createVNode as P, normalizeStyle as Z, Fragment as ge, renderList as Xe, Teleport as tt, Transition as Ie, withCtx as W, withModifiers as de, createSlots as Lt, resolveDynamicComponent as St, mergeProps as ln, shallowRef as an, getCurrentScope as sn, onScopeDispose as rn, shallowReadonly as _e, render as ht, withDirectives as cn, withKeys as un, provide as dn, inject as $t, toRef as Je, normalizeProps as fn, guardReactiveProps as mn, isRef as vn, createApp as pn, h as hn } from "vue";
2
+ import { useRouter as gn, useRoute as bn } from "vue-router";
3
3
  const M = (e, n) => {
4
4
  const t = e.__vccOpts || e;
5
5
  for (const [o, l] of n)
6
6
  t[o] = l;
7
7
  return t;
8
- }, hn = {}, bn = { class: "button-bar" }, gn = { class: "left" }, yn = { class: "right" };
9
- function wn(e, n) {
10
- return v(), x("div", bn, [
11
- k("div", gn, [
8
+ }, yn = {}, wn = { class: "button-bar" }, xn = { class: "left" }, _n = { class: "right" };
9
+ function Vn(e, n) {
10
+ return v(), x("div", wn, [
11
+ k("div", xn, [
12
12
  T(e.$slots, "left", {}, void 0, !0)
13
13
  ]),
14
- k("div", yn, [
14
+ k("div", _n, [
15
15
  T(e.$slots, "default", {}, void 0, !0)
16
16
  ])
17
17
  ]);
18
18
  }
19
- const xn = /* @__PURE__ */ M(hn, [["render", wn], ["__scopeId", "data-v-45a6ed1a"]]);
19
+ const kn = /* @__PURE__ */ M(yn, [["render", Vn], ["__scopeId", "data-v-45a6ed1a"]]);
20
20
  var H = /* @__PURE__ */ ((e) => (e.HOME = "fa-regular fa-house", e.DASHBOARD = "fa-solid fa-gauge", e.MENU = "fa-solid fa-bars", e.DOT_MENU = "fa-solid fa-ellipsis-vertical", e.BACK = "fa-regular fa-hand-point-left", e.CHEVRON_LEFT = "fa-solid fa-chevron-left", e.CHEVRON_RIGHT = "fa-solid fa-chevron-right", e.CHEVRON_UP = "fa-solid fa-chevron-up", e.CHEVRON_DOWN = "fa-solid fa-chevron-down", e.PREVIOUS = "fa-solid fa-angle-left", e.FIRST = "fa-solid fa-angles-left", e.NEXT = "fa-solid fa-angle-right", e.LAST = "fa-solid fa-angles-right", e.USER = "fa-regular fa-user", e.CHARACTER = "fa-solid fa-person", e.SETTINGS = "fa-solid fa-gear", e.ADD = "fa-regular fa-plus", e.EDIT = "fa-solid fa-pen", e.REMOVE = "fa-regular fa-trash-can", e.DELETE = "fa-regular fa-trash-can", e.SHARE = "fa-solid fa-share-nodes", e.SORT = "fa-regular fa-arrow-up-arrow-down", e.CLOSE = "fa-regular fa-circle-xmark", e.INFO = "fa-regular fa-circle-info", e.WARNING = "fa-regular fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.PROJECT = "fa-regular fa-folder-open", e.FOLDER = "fa-regular fa-folder", e.FILE_TEXT = "fa-regular fa-file-lines", e.UPLOAD = "fa-solid fa-cloud-arrow-up", e.DOWNLOAD = "fa-solid fa-cloud-arrow-down", e.SEARCH = "fa-solid fa-magnifying-glass", e.MESSAGE_SQUARE = "fa-regular fa-message", e.MAIL = "fa-regular fa-envelope", e.SHOPPING_BAG = "fa-regular fa-bag-shopping", e))(H || {}), X = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(X || {});
21
- const Te = /* @__PURE__ */ B({
21
+ const Be = /* @__PURE__ */ B({
22
22
  __name: "icon",
23
23
  props: {
24
24
  icon: {},
@@ -30,7 +30,7 @@ const Te = /* @__PURE__ */ B({
30
30
  class: N(o.value)
31
31
  }, null, 2));
32
32
  }
33
- }), _n = ["disabled"], Vn = /* @__PURE__ */ B({
33
+ }), Cn = ["disabled"], En = /* @__PURE__ */ B({
34
34
  __name: "button",
35
35
  props: {
36
36
  label: {},
@@ -46,46 +46,46 @@ const Te = /* @__PURE__ */ B({
46
46
  class: N(["button", o.value, { "icon-only": l.value }]),
47
47
  disabled: e.disabled
48
48
  }, [
49
- e.icon ? (v(), P(Te, {
49
+ e.icon ? (v(), j(Be, {
50
50
  key: 0,
51
51
  icon: e.icon,
52
- size: E(t)
53
- }, null, 8, ["icon", "size"])) : L("", !0),
54
- ze(" " + j(e.label), 1)
55
- ], 10, _n));
52
+ size: R(t)
53
+ }, null, 8, ["icon", "size"])) : $("", !0),
54
+ $e(" " + D(e.label), 1)
55
+ ], 10, Cn));
56
56
  }
57
- }), $t = /* @__PURE__ */ M(Vn, [["__scopeId", "data-v-f31c33cf"]]), kn = {
57
+ }), At = /* @__PURE__ */ M(En, [["__scopeId", "data-v-f31c33cf"]]), Rn = {
58
58
  key: 0,
59
59
  class: "header-actions"
60
- }, Cn = { key: 0 }, Rn = /* @__PURE__ */ B({
60
+ }, Ln = { key: 0 }, Sn = /* @__PURE__ */ B({
61
61
  __name: "card",
62
62
  props: {
63
63
  header: {},
64
64
  scrollable: { type: Boolean }
65
65
  },
66
66
  setup(e) {
67
- const n = tn();
67
+ const n = on();
68
68
  return (t, o) => (v(), x("div", {
69
69
  class: N(["card", { scrollable: e.scrollable }])
70
70
  }, [
71
71
  k("header", null, [
72
- k("h3", null, j(e.header), 1),
73
- E(n).headerActions ? (v(), x("span", kn, [
72
+ k("h3", null, D(e.header), 1),
73
+ R(n).headerActions ? (v(), x("span", Rn, [
74
74
  T(t.$slots, "headerActions", {}, void 0, !0)
75
- ])) : L("", !0)
75
+ ])) : $("", !0)
76
76
  ]),
77
77
  k("main", null, [
78
78
  T(t.$slots, "default", {}, void 0, !0)
79
79
  ]),
80
- E(n).footer ? (v(), x("footer", Cn, [
80
+ R(n).footer ? (v(), x("footer", Ln, [
81
81
  T(t.$slots, "footer", {}, void 0, !0)
82
- ])) : L("", !0)
82
+ ])) : $("", !0)
83
83
  ], 2));
84
84
  }
85
- }), Lt = /* @__PURE__ */ M(Rn, [["__scopeId", "data-v-ec6ab562"]]), En = { class: "checkbox" }, Sn = ["checked", "disabled"], $n = {
85
+ }), Ot = /* @__PURE__ */ M(Sn, [["__scopeId", "data-v-ec6ab562"]]), $n = { class: "checkbox" }, An = ["checked", "disabled"], On = {
86
86
  key: 0,
87
87
  class: "checkbox-label"
88
- }, Ln = /* @__PURE__ */ B({
88
+ }, Tn = /* @__PURE__ */ B({
89
89
  __name: "checkbox",
90
90
  props: /* @__PURE__ */ ue({
91
91
  label: {},
@@ -100,14 +100,14 @@ const Te = /* @__PURE__ */ B({
100
100
  const l = o.target;
101
101
  n.value = l.checked;
102
102
  };
103
- return (o, l) => (v(), x("label", En, [
103
+ return (o, l) => (v(), x("label", $n, [
104
104
  k("input", {
105
105
  type: "checkbox",
106
106
  checked: n.value,
107
107
  onChange: t,
108
108
  disabled: e.disabled,
109
109
  class: "checkbox-input"
110
- }, null, 40, Sn),
110
+ }, null, 40, An),
111
111
  l[0] || (l[0] = k("span", { class: "checkbox-box" }, [
112
112
  k("svg", {
113
113
  class: "checkbox-icon",
@@ -125,13 +125,13 @@ const Te = /* @__PURE__ */ B({
125
125
  })
126
126
  ])
127
127
  ], -1)),
128
- e.label ? (v(), x("span", $n, j(e.label), 1)) : L("", !0)
128
+ e.label ? (v(), x("span", On, D(e.label), 1)) : $("", !0)
129
129
  ]));
130
130
  }
131
- }), Ca = /* @__PURE__ */ M(Ln, [["__scopeId", "data-v-e2d27ecb"]]), An = ["aria-label"], On = {
131
+ }), Ma = /* @__PURE__ */ M(Tn, [["__scopeId", "data-v-e2d27ecb"]]), Bn = ["aria-label"], Mn = {
132
132
  key: 0,
133
133
  class: "carousel-indicators"
134
- }, Tn = /* @__PURE__ */ B({
134
+ }, Pn = /* @__PURE__ */ B({
135
135
  __name: "carousel",
136
136
  props: {
137
137
  autoplay: { type: Boolean },
@@ -142,99 +142,99 @@ const Te = /* @__PURE__ */ B({
142
142
  ariaLabel: {}
143
143
  },
144
144
  setup(e) {
145
- const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, s = n.pauseOnHover ?? !0, a = n.startIndex ?? 0, r = n.ariaLabel ?? "Carousel", i = R(Math.max(0, a)), u = R(null), c = R(null), d = R(0), m = R(0);
145
+ const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, s = n.pauseOnHover ?? !0, a = n.startIndex ?? 0, r = n.ariaLabel ?? "Carousel", i = E(Math.max(0, a)), c = E(null), u = E(null), d = E(0), m = E(0);
146
146
  let f = !1;
147
- const p = R(0), y = R(!1);
147
+ const p = E(0), y = E(!1);
148
148
  let V = null, w = null;
149
- const _ = R(null), h = R(null), O = () => {
150
- p.value = u.value ? u.value.children.length : 0, p.value === 0 ? i.value = 0 : i.value >= p.value && (i.value = l ? 0 : p.value - 1), F();
149
+ const _ = E(null), h = E(null), O = () => {
150
+ p.value = c.value ? c.value.children.length : 0, p.value === 0 ? i.value = 0 : i.value >= p.value && (i.value = l ? 0 : p.value - 1), F();
151
151
  }, A = C(() => d.value > 0 ? { transform: `translateX(${-i.value * d.value + m.value}px)` } : { transform: `translateX(-${i.value * 100}%)` }), F = () => {
152
- u.value && Array.from(u.value.children).forEach((S, ve) => {
152
+ c.value && Array.from(c.value.children).forEach((L, ve) => {
153
153
  try {
154
- ve === i.value ? S.removeAttribute("aria-hidden") : S.setAttribute("aria-hidden", "true");
154
+ ve === i.value ? L.removeAttribute("aria-hidden") : L.setAttribute("aria-hidden", "true");
155
155
  } catch {
156
156
  }
157
157
  });
158
- }, b = () => {
159
- g(), !(!t || p.value <= 1) && (s && y.value || (V = setTimeout(() => {
160
- z(), b();
161
- }, o)));
162
158
  }, g = () => {
159
+ b(), !(!t || p.value <= 1) && (s && y.value || (V = setTimeout(() => {
160
+ z(), g();
161
+ }, o)));
162
+ }, b = () => {
163
163
  V && (clearTimeout(V), V = null);
164
- }, $ = () => {
164
+ }, S = () => {
165
165
  p.value !== 0 && (i.value <= 0 ? i.value = l ? p.value - 1 : 0 : i.value--);
166
166
  }, z = () => {
167
167
  p.value !== 0 && (i.value >= p.value - 1 ? i.value = l ? 0 : p.value - 1 : i.value++);
168
- }, I = (S) => {
169
- S < 0 || S >= p.value || (i.value = S);
168
+ }, I = (L) => {
169
+ L < 0 || L >= p.value || (i.value = L);
170
170
  }, se = () => {
171
- y.value = !0, s && g();
171
+ y.value = !0, s && b();
172
172
  }, ie = () => {
173
- y.value = !1, b();
174
- }, re = (S) => {
175
- S.key === "ArrowLeft" ? $() : S.key === "ArrowRight" && z();
173
+ y.value = !1, g();
174
+ }, re = (L) => {
175
+ L.key === "ArrowLeft" ? S() : L.key === "ArrowRight" && z();
176
176
  };
177
177
  let xe = 0, J = 0;
178
- const ne = (S) => {
179
- xe = S.touches[0].clientX, J = 0;
180
- }, K = (S) => {
181
- J = S.touches[0].clientX - xe;
178
+ const ne = (L) => {
179
+ xe = L.touches[0].clientX, J = 0;
180
+ }, K = (L) => {
181
+ J = L.touches[0].clientX - xe;
182
182
  }, Q = () => {
183
- J > 50 ? $() : J < -50 && z(), J = 0;
183
+ J > 50 ? S() : J < -50 && z(), J = 0;
184
184
  };
185
185
  let De = 0;
186
- const dt = (S) => {
187
- if (S.isPrimary !== !1 && !(S.pointerType === "mouse" && S.button !== 0)) {
188
- f = !0, De = S.clientX, m.value = 0, g();
186
+ const dt = (L) => {
187
+ if (L.isPrimary !== !1 && !(L.pointerType === "mouse" && L.button !== 0)) {
188
+ f = !0, De = L.clientX, m.value = 0, b();
189
189
  try {
190
- S.target?.setPointerCapture?.(S.pointerId);
190
+ L.target?.setPointerCapture?.(L.pointerId);
191
191
  } catch {
192
192
  }
193
193
  }
194
- }, ft = (S) => {
195
- f && (m.value = S.clientX - De, S.preventDefault());
194
+ }, ft = (L) => {
195
+ f && (m.value = L.clientX - De, L.preventDefault());
196
196
  }, mt = () => {
197
197
  if (!f) return;
198
198
  f = !1;
199
- const S = Math.max(50, d.value * 0.15);
200
- m.value > S ? $() : m.value < -S && z(), m.value = 0, b();
201
- }, vt = (S) => {
199
+ const L = Math.max(50, d.value * 0.15);
200
+ m.value > L ? S() : m.value < -L && z(), m.value = 0, g();
201
+ }, vt = (L) => {
202
202
  try {
203
- S.target?.releasePointerCapture?.(S.pointerId);
203
+ L.target?.releasePointerCapture?.(L.pointerId);
204
204
  } catch {
205
205
  }
206
206
  mt();
207
207
  }, pt = () => mt();
208
- return Ae(() => {
208
+ return Oe(() => {
209
209
  he(() => {
210
- if (O(), u.value && (w = new MutationObserver(O), w.observe(u.value, { childList: !0 }), u.value.addEventListener("touchstart", ne, { passive: !0 }), u.value.addEventListener("touchmove", K, { passive: !0 }), u.value.addEventListener("touchend", Q)), c.value) {
211
- const S = () => {
212
- d.value = c.value ? c.value.clientWidth : 0;
210
+ if (O(), c.value && (w = new MutationObserver(O), w.observe(c.value, { childList: !0 }), c.value.addEventListener("touchstart", ne, { passive: !0 }), c.value.addEventListener("touchmove", K, { passive: !0 }), c.value.addEventListener("touchend", Q)), u.value) {
211
+ const L = () => {
212
+ d.value = u.value ? u.value.clientWidth : 0;
213
213
  };
214
- S();
214
+ L();
215
215
  const ve = window.ResizeObserver;
216
- if (ve && c.value) {
217
- const pe = new ve(() => S());
218
- pe.observe(c.value), _.value = pe;
216
+ if (ve && u.value) {
217
+ const pe = new ve(() => L());
218
+ pe.observe(u.value), _.value = pe;
219
219
  } else
220
- window.addEventListener("resize", S), h.value = S;
221
- c.value && (c.value.addEventListener("pointerdown", dt), c.value.addEventListener("pointermove", ft), c.value.addEventListener("pointerup", vt), c.value.addEventListener("pointercancel", pt));
220
+ window.addEventListener("resize", L), h.value = L;
221
+ u.value && (u.value.addEventListener("pointerdown", dt), u.value.addEventListener("pointermove", ft), u.value.addEventListener("pointerup", vt), u.value.addEventListener("pointercancel", pt));
222
222
  }
223
- F(), b();
223
+ F(), g();
224
224
  });
225
- }), Oe(() => {
226
- g(), w && u.value && w.disconnect(), u.value && (u.value.removeEventListener("touchstart", ne), u.value.removeEventListener("touchmove", K), u.value.removeEventListener("touchend", Q)), c.value && (_.value && _.value.disconnect && _.value.disconnect(), h.value && window.removeEventListener("resize", h.value), c.value.removeEventListener("pointerdown", dt), c.value.removeEventListener("pointermove", ft), c.value.removeEventListener("pointerup", vt), c.value.removeEventListener("pointercancel", pt));
225
+ }), Te(() => {
226
+ b(), w && c.value && w.disconnect(), c.value && (c.value.removeEventListener("touchstart", ne), c.value.removeEventListener("touchmove", K), c.value.removeEventListener("touchend", Q)), u.value && (_.value && _.value.disconnect && _.value.disconnect(), h.value && window.removeEventListener("resize", h.value), u.value.removeEventListener("pointerdown", dt), u.value.removeEventListener("pointermove", ft), u.value.removeEventListener("pointerup", vt), u.value.removeEventListener("pointercancel", pt));
227
227
  }), q([i, () => p.value], () => {
228
228
  F();
229
229
  }), q([() => y.value, i], () => {
230
- b();
231
- }), (S, ve) => {
230
+ g();
231
+ }), (L, ve) => {
232
232
  const pe = U("VjButton");
233
233
  return v(), x("div", {
234
234
  class: "carousel",
235
235
  role: "region",
236
236
  "aria-roledescription": "carousel",
237
- "aria-label": E(r),
237
+ "aria-label": R(r),
238
238
  tabindex: "0",
239
239
  onKeydown: re,
240
240
  onMouseenter: se,
@@ -243,45 +243,45 @@ const Te = /* @__PURE__ */ B({
243
243
  k("div", {
244
244
  class: "carousel-window",
245
245
  ref_key: "windowRef",
246
- ref: c
246
+ ref: u
247
247
  }, [
248
248
  k("div", {
249
249
  class: "carousel-track",
250
250
  ref_key: "track",
251
- ref: u,
251
+ ref: c,
252
252
  style: Z(A.value)
253
253
  }, [
254
- T(S.$slots, "default", {}, void 0, !0)
254
+ T(L.$slots, "default", {}, void 0, !0)
255
255
  ], 4)
256
256
  ], 512),
257
- D(pe, {
257
+ P(pe, {
258
258
  class: "carousel-btn prev",
259
- icon: E(H).PREVIOUS,
260
- onClick: $,
259
+ icon: R(H).PREVIOUS,
260
+ onClick: S,
261
261
  type: "button",
262
262
  "aria-label": "Previous slide"
263
263
  }, null, 8, ["icon"]),
264
- D(pe, {
264
+ P(pe, {
265
265
  class: "carousel-btn next",
266
- icon: E(H).NEXT,
266
+ icon: R(H).NEXT,
267
267
  onClick: z,
268
268
  type: "button",
269
269
  "aria-label": "Next slide"
270
270
  }, null, 8, ["icon"]),
271
- p.value > 1 ? (v(), x("div", On, [
272
- (v(!0), x(be, null, Xe(p.value, (Se) => (v(), P(pe, {
273
- key: Se - 1,
274
- class: N(["indicator", { active: Se - 1 === i.value }]),
275
- onClick: (_a) => I(Se - 1),
276
- "aria-current": Se - 1 === i.value,
277
- "aria-label": `Go to slide ${Se}`,
271
+ p.value > 1 ? (v(), x("div", Mn, [
272
+ (v(!0), x(ge, null, Xe(p.value, (Le) => (v(), j(pe, {
273
+ key: Le - 1,
274
+ class: N(["indicator", { active: Le - 1 === i.value }]),
275
+ onClick: (Oa) => I(Le - 1),
276
+ "aria-current": Le - 1 === i.value,
277
+ "aria-label": `Go to slide ${Le}`,
278
278
  type: "button"
279
279
  }, null, 8, ["class", "onClick", "aria-current", "aria-label"]))), 128))
280
- ])) : L("", !0)
281
- ], 40, An);
280
+ ])) : $("", !0)
281
+ ], 40, Bn);
282
282
  };
283
283
  }
284
- }), Bn = /* @__PURE__ */ M(Tn, [["__scopeId", "data-v-232abca2"]]), Mn = { class: "dialog-content" }, Pn = { key: 1 }, Fn = { class: "dialog-footer" }, Dn = /* @__PURE__ */ B({
284
+ }), jn = /* @__PURE__ */ M(Pn, [["__scopeId", "data-v-232abca2"]]), Fn = { class: "dialog-content" }, Dn = { key: 1 }, zn = { class: "dialog-footer" }, In = /* @__PURE__ */ B({
285
285
  __name: "dialog",
286
286
  props: {
287
287
  modelValue: { type: Boolean, default: !1 },
@@ -298,10 +298,10 @@ const Te = /* @__PURE__ */ B({
298
298
  },
299
299
  emits: ["update:modelValue", "confirm", "cancel", "close"],
300
300
  setup(e, { emit: n }) {
301
- const t = e, o = n, l = R(t.modelValue);
301
+ const t = e, o = n, l = E(t.modelValue);
302
302
  q(
303
303
  () => t.modelValue,
304
- (c) => l.value = c
304
+ (u) => l.value = u
305
305
  );
306
306
  const s = () => {
307
307
  l.value = !1, o("update:modelValue", !1), o("close");
@@ -311,24 +311,24 @@ const Te = /* @__PURE__ */ B({
311
311
  o("cancel"), s();
312
312
  }, i = () => {
313
313
  t.closeOnBackdrop && s();
314
- }, u = (c) => {
315
- c.key === "Escape" && t.closeOnEscape && l.value && s();
314
+ }, c = (u) => {
315
+ u.key === "Escape" && t.closeOnEscape && l.value && s();
316
316
  };
317
- return Ae(() => {
318
- document.addEventListener("keydown", u);
319
- }), Oe(() => {
320
- document.removeEventListener("keydown", u);
321
- }), (c, d) => {
317
+ return Oe(() => {
318
+ document.addEventListener("keydown", c);
319
+ }), Te(() => {
320
+ document.removeEventListener("keydown", c);
321
+ }), (u, d) => {
322
322
  const m = U("VjIcon"), f = U("VjButton"), p = U("VjCard");
323
- return v(), P(tt, { to: "body" }, [
324
- D(Ie, { name: "dialog-fade" }, {
323
+ return v(), j(tt, { to: "body" }, [
324
+ P(Ie, { name: "dialog-fade" }, {
325
325
  default: W(() => [
326
326
  l.value ? (v(), x("div", {
327
327
  key: 0,
328
328
  class: "dialog-backdrop",
329
329
  onClick: i
330
330
  }, [
331
- D(Ie, { name: "dialog-scale" }, {
331
+ P(Ie, { name: "dialog-scale" }, {
332
332
  default: W(() => [
333
333
  l.value ? (v(), x("div", {
334
334
  key: 0,
@@ -336,21 +336,21 @@ const Te = /* @__PURE__ */ B({
336
336
  onClick: d[0] || (d[0] = de(() => {
337
337
  }, ["stop"]))
338
338
  }, [
339
- D(p, {
339
+ P(p, {
340
340
  class: "dialog-card",
341
341
  header: e.title || ""
342
- }, Rt({
342
+ }, Lt({
343
343
  headerActions: W(() => [
344
- D(m, {
345
- icon: E(H).CLOSE,
346
- size: E(X).S,
344
+ P(m, {
345
+ icon: R(H).CLOSE,
346
+ size: R(X).S,
347
347
  class: "dialog-close",
348
348
  onClick: s
349
349
  }, null, 8, ["icon", "size"])
350
350
  ]),
351
351
  default: W(() => [
352
- k("div", Mn, [
353
- e.component ? (v(), P(Et(e.component), nn({ key: 0 }, e.componentProps, { onClose: s }), null, 16)) : e.message ? (v(), x("div", Pn, j(e.message), 1)) : T(c.$slots, "default", { key: 2 }, void 0, !0)
352
+ k("div", Fn, [
353
+ e.component ? (v(), j(St(e.component), ln({ key: 0 }, e.componentProps, { onClose: s }), null, 16)) : e.message ? (v(), x("div", Dn, D(e.message), 1)) : T(u.$slots, "default", { key: 2 }, void 0, !0)
354
354
  ])
355
355
  ]),
356
356
  _: 2
@@ -358,15 +358,15 @@ const Te = /* @__PURE__ */ B({
358
358
  e.showFooter ? {
359
359
  name: "footer",
360
360
  fn: W(() => [
361
- k("div", Fn, [
362
- T(c.$slots, "footer", {}, () => [
363
- e.showCancel ? (v(), P(f, {
361
+ k("div", zn, [
362
+ T(u.$slots, "footer", {}, () => [
363
+ e.showCancel ? (v(), j(f, {
364
364
  key: 0,
365
365
  secondary: "",
366
366
  onClick: r,
367
367
  label: e.cancelText
368
- }, null, 8, ["label"])) : L("", !0),
369
- D(f, {
368
+ }, null, 8, ["label"])) : $("", !0),
369
+ P(f, {
370
370
  primary: "",
371
371
  onClick: a,
372
372
  label: e.confirmText
@@ -377,89 +377,89 @@ const Te = /* @__PURE__ */ B({
377
377
  key: "0"
378
378
  } : void 0
379
379
  ]), 1032, ["header"])
380
- ])) : L("", !0)
380
+ ])) : $("", !0)
381
381
  ]),
382
382
  _: 3
383
383
  })
384
- ])) : L("", !0)
384
+ ])) : $("", !0)
385
385
  ]),
386
386
  _: 3
387
387
  })
388
388
  ]);
389
389
  };
390
390
  }
391
- }), At = /* @__PURE__ */ M(Dn, [["__scopeId", "data-v-6af510b3"]]), Re = Math.min, G = Math.max, Ne = Math.round, je = Math.floor, oe = (e) => ({
391
+ }), Tt = /* @__PURE__ */ M(In, [["__scopeId", "data-v-6af510b3"]]), Ee = Math.min, G = Math.max, Ne = Math.round, ze = Math.floor, oe = (e) => ({
392
392
  x: e,
393
393
  y: e
394
- }), jn = {
394
+ }), Nn = {
395
395
  left: "right",
396
396
  right: "left",
397
397
  bottom: "top",
398
398
  top: "bottom"
399
- }, zn = {
399
+ }, Hn = {
400
400
  start: "end",
401
401
  end: "start"
402
402
  };
403
- function ht(e, n, t) {
404
- return G(e, Re(n, t));
403
+ function gt(e, n, t) {
404
+ return G(e, Ee(n, t));
405
405
  }
406
- function Be(e, n) {
406
+ function Me(e, n) {
407
407
  return typeof e == "function" ? e(n) : e;
408
408
  }
409
409
  function fe(e) {
410
410
  return e.split("-")[0];
411
411
  }
412
- function Me(e) {
412
+ function Pe(e) {
413
413
  return e.split("-")[1];
414
414
  }
415
- function Ot(e) {
415
+ function Bt(e) {
416
416
  return e === "x" ? "y" : "x";
417
417
  }
418
- function Tt(e) {
418
+ function Mt(e) {
419
419
  return e === "y" ? "height" : "width";
420
420
  }
421
- const In = /* @__PURE__ */ new Set(["top", "bottom"]);
421
+ const Wn = /* @__PURE__ */ new Set(["top", "bottom"]);
422
422
  function ce(e) {
423
- return In.has(fe(e)) ? "y" : "x";
423
+ return Wn.has(fe(e)) ? "y" : "x";
424
424
  }
425
- function Bt(e) {
426
- return Ot(ce(e));
425
+ function Pt(e) {
426
+ return Bt(ce(e));
427
427
  }
428
- function Nn(e, n, t) {
428
+ function Un(e, n, t) {
429
429
  t === void 0 && (t = !1);
430
- const o = Me(e), l = Bt(e), s = Tt(l);
430
+ const o = Pe(e), l = Pt(e), s = Mt(l);
431
431
  let a = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
432
432
  return n.reference[s] > n.floating[s] && (a = He(a)), [a, He(a)];
433
433
  }
434
- function Hn(e) {
434
+ function Xn(e) {
435
435
  const n = He(e);
436
436
  return [Ze(e), n, Ze(n)];
437
437
  }
438
438
  function Ze(e) {
439
- return e.replace(/start|end/g, (n) => zn[n]);
439
+ return e.replace(/start|end/g, (n) => Hn[n]);
440
440
  }
441
- const bt = ["left", "right"], gt = ["right", "left"], Wn = ["top", "bottom"], Un = ["bottom", "top"];
442
- function Xn(e, n, t) {
441
+ const bt = ["left", "right"], yt = ["right", "left"], Kn = ["top", "bottom"], qn = ["bottom", "top"];
442
+ function Gn(e, n, t) {
443
443
  switch (e) {
444
444
  case "top":
445
445
  case "bottom":
446
- return t ? n ? gt : bt : n ? bt : gt;
446
+ return t ? n ? yt : bt : n ? bt : yt;
447
447
  case "left":
448
448
  case "right":
449
- return n ? Wn : Un;
449
+ return n ? Kn : qn;
450
450
  default:
451
451
  return [];
452
452
  }
453
453
  }
454
- function Kn(e, n, t, o) {
455
- const l = Me(e);
456
- let s = Xn(fe(e), t === "start", o);
454
+ function Yn(e, n, t, o) {
455
+ const l = Pe(e);
456
+ let s = Gn(fe(e), t === "start", o);
457
457
  return l && (s = s.map((a) => a + "-" + l), n && (s = s.concat(s.map(Ze)))), s;
458
458
  }
459
459
  function He(e) {
460
- return e.replace(/left|right|bottom|top/g, (n) => jn[n]);
460
+ return e.replace(/left|right|bottom|top/g, (n) => Nn[n]);
461
461
  }
462
- function qn(e) {
462
+ function Jn(e) {
463
463
  return {
464
464
  top: 0,
465
465
  right: 0,
@@ -468,8 +468,8 @@ function qn(e) {
468
468
  ...e
469
469
  };
470
470
  }
471
- function Gn(e) {
472
- return typeof e != "number" ? qn(e) : {
471
+ function Qn(e) {
472
+ return typeof e != "number" ? Jn(e) : {
473
473
  top: e,
474
474
  right: e,
475
475
  bottom: e,
@@ -494,23 +494,23 @@ function We(e) {
494
494
  y: t
495
495
  };
496
496
  }
497
- function yt(e, n, t) {
497
+ function wt(e, n, t) {
498
498
  let {
499
499
  reference: o,
500
500
  floating: l
501
501
  } = e;
502
- const s = ce(n), a = Bt(n), r = Tt(a), i = fe(n), u = s === "y", c = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, m = o[r] / 2 - l[r] / 2;
502
+ const s = ce(n), a = Pt(n), r = Mt(a), i = fe(n), c = s === "y", u = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, m = o[r] / 2 - l[r] / 2;
503
503
  let f;
504
504
  switch (i) {
505
505
  case "top":
506
506
  f = {
507
- x: c,
507
+ x: u,
508
508
  y: o.y - l.height
509
509
  };
510
510
  break;
511
511
  case "bottom":
512
512
  f = {
513
- x: c,
513
+ x: u,
514
514
  y: o.y + o.height
515
515
  };
516
516
  break;
@@ -532,31 +532,31 @@ function yt(e, n, t) {
532
532
  y: o.y
533
533
  };
534
534
  }
535
- switch (Me(n)) {
535
+ switch (Pe(n)) {
536
536
  case "start":
537
- f[a] -= m * (t && u ? -1 : 1);
537
+ f[a] -= m * (t && c ? -1 : 1);
538
538
  break;
539
539
  case "end":
540
- f[a] += m * (t && u ? -1 : 1);
540
+ f[a] += m * (t && c ? -1 : 1);
541
541
  break;
542
542
  }
543
543
  return f;
544
544
  }
545
- const Yn = async (e, n, t) => {
545
+ const Zn = async (e, n, t) => {
546
546
  const {
547
547
  placement: o = "bottom",
548
548
  strategy: l = "absolute",
549
549
  middleware: s = [],
550
550
  platform: a
551
551
  } = t, r = s.filter(Boolean), i = await (a.isRTL == null ? void 0 : a.isRTL(n));
552
- let u = await a.getElementRects({
552
+ let c = await a.getElementRects({
553
553
  reference: e,
554
554
  floating: n,
555
555
  strategy: l
556
556
  }), {
557
- x: c,
557
+ x: u,
558
558
  y: d
559
- } = yt(u, o, i), m = o, f = {}, p = 0;
559
+ } = wt(c, o, i), m = o, f = {}, p = 0;
560
560
  for (let y = 0; y < r.length; y++) {
561
561
  const {
562
562
  name: V,
@@ -567,36 +567,36 @@ const Yn = async (e, n, t) => {
567
567
  data: O,
568
568
  reset: A
569
569
  } = await w({
570
- x: c,
570
+ x: u,
571
571
  y: d,
572
572
  initialPlacement: o,
573
573
  placement: m,
574
574
  strategy: l,
575
575
  middlewareData: f,
576
- rects: u,
576
+ rects: c,
577
577
  platform: a,
578
578
  elements: {
579
579
  reference: e,
580
580
  floating: n
581
581
  }
582
582
  });
583
- c = _ ?? c, d = h ?? d, f = {
583
+ u = _ ?? u, d = h ?? d, f = {
584
584
  ...f,
585
585
  [V]: {
586
586
  ...f[V],
587
587
  ...O
588
588
  }
589
- }, A && p <= 50 && (p++, typeof A == "object" && (A.placement && (m = A.placement), A.rects && (u = A.rects === !0 ? await a.getElementRects({
589
+ }, A && p <= 50 && (p++, typeof A == "object" && (A.placement && (m = A.placement), A.rects && (c = A.rects === !0 ? await a.getElementRects({
590
590
  reference: e,
591
591
  floating: n,
592
592
  strategy: l
593
593
  }) : A.rects), {
594
- x: c,
594
+ x: u,
595
595
  y: d
596
- } = yt(u, m, i)), y = -1);
596
+ } = wt(c, m, i)), y = -1);
597
597
  }
598
598
  return {
599
- x: c,
599
+ x: u,
600
600
  y: d,
601
601
  placement: m,
602
602
  strategy: l,
@@ -614,15 +614,15 @@ async function nt(e, n) {
614
614
  elements: r,
615
615
  strategy: i
616
616
  } = e, {
617
- boundary: u = "clippingAncestors",
618
- rootBoundary: c = "viewport",
617
+ boundary: c = "clippingAncestors",
618
+ rootBoundary: u = "viewport",
619
619
  elementContext: d = "floating",
620
620
  altBoundary: m = !1,
621
621
  padding: f = 0
622
- } = Be(n, e), p = Gn(f), V = r[m ? d === "floating" ? "reference" : "floating" : d], w = We(await s.getClippingRect({
622
+ } = Me(n, e), p = Qn(f), V = r[m ? d === "floating" ? "reference" : "floating" : d], w = We(await s.getClippingRect({
623
623
  element: (t = await (s.isElement == null ? void 0 : s.isElement(V))) == null || t ? V : V.contextElement || await (s.getDocumentElement == null ? void 0 : s.getDocumentElement(r.floating)),
624
- boundary: u,
625
- rootBoundary: c,
624
+ boundary: c,
625
+ rootBoundary: u,
626
626
  strategy: i
627
627
  })), _ = d === "floating" ? {
628
628
  x: o,
@@ -648,7 +648,7 @@ async function nt(e, n) {
648
648
  right: (A.right - w.right + p.right) / O.x
649
649
  };
650
650
  }
651
- const Jn = function(e) {
651
+ const eo = function(e) {
652
652
  return e === void 0 && (e = {}), {
653
653
  name: "flip",
654
654
  options: e,
@@ -660,32 +660,32 @@ const Jn = function(e) {
660
660
  rects: a,
661
661
  initialPlacement: r,
662
662
  platform: i,
663
- elements: u
663
+ elements: c
664
664
  } = n, {
665
- mainAxis: c = !0,
665
+ mainAxis: u = !0,
666
666
  crossAxis: d = !0,
667
667
  fallbackPlacements: m,
668
668
  fallbackStrategy: f = "bestFit",
669
669
  fallbackAxisSideDirection: p = "none",
670
670
  flipAlignment: y = !0,
671
671
  ...V
672
- } = Be(e, n);
672
+ } = Me(e, n);
673
673
  if ((t = s.arrow) != null && t.alignmentOffset)
674
674
  return {};
675
- const w = fe(l), _ = ce(r), h = fe(r) === r, O = await (i.isRTL == null ? void 0 : i.isRTL(u.floating)), A = m || (h || !y ? [He(r)] : Hn(r)), F = p !== "none";
676
- !m && F && A.push(...Kn(r, y, p, O));
677
- const b = [r, ...A], g = await nt(n, V), $ = [];
675
+ const w = fe(l), _ = ce(r), h = fe(r) === r, O = await (i.isRTL == null ? void 0 : i.isRTL(c.floating)), A = m || (h || !y ? [He(r)] : Xn(r)), F = p !== "none";
676
+ !m && F && A.push(...Yn(r, y, p, O));
677
+ const g = [r, ...A], b = await nt(n, V), S = [];
678
678
  let z = ((o = s.flip) == null ? void 0 : o.overflows) || [];
679
- if (c && $.push(g[w]), d) {
680
- const re = Nn(l, a, O);
681
- $.push(g[re[0]], g[re[1]]);
679
+ if (u && S.push(b[w]), d) {
680
+ const re = Un(l, a, O);
681
+ S.push(b[re[0]], b[re[1]]);
682
682
  }
683
683
  if (z = [...z, {
684
684
  placement: l,
685
- overflows: $
686
- }], !$.every((re) => re <= 0)) {
685
+ overflows: S
686
+ }], !S.every((re) => re <= 0)) {
687
687
  var I, se;
688
- const re = (((I = s.flip) == null ? void 0 : I.index) || 0) + 1, xe = b[re];
688
+ const re = (((I = s.flip) == null ? void 0 : I.index) || 0) + 1, xe = g[re];
689
689
  if (xe && (!(d === "alignment" ? _ !== ce(xe) : !1) || // We leave the current main axis only if every placement on that axis
690
690
  // overflows the main axis.
691
691
  z.every((K) => ce(K.placement) === _ ? K.overflows[0] > 0 : !0)))
@@ -729,13 +729,13 @@ const Jn = function(e) {
729
729
  return {};
730
730
  }
731
731
  };
732
- }, Qn = /* @__PURE__ */ new Set(["left", "top"]);
733
- async function Zn(e, n) {
732
+ }, to = /* @__PURE__ */ new Set(["left", "top"]);
733
+ async function no(e, n) {
734
734
  const {
735
735
  placement: t,
736
736
  platform: o,
737
737
  elements: l
738
- } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), a = fe(t), r = Me(t), i = ce(t) === "y", u = Qn.has(a) ? -1 : 1, c = s && i ? -1 : 1, d = Be(n, e);
738
+ } = e, s = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), a = fe(t), r = Pe(t), i = ce(t) === "y", c = to.has(a) ? -1 : 1, u = s && i ? -1 : 1, d = Me(n, e);
739
739
  let {
740
740
  mainAxis: m,
741
741
  crossAxis: f,
@@ -750,14 +750,14 @@ async function Zn(e, n) {
750
750
  alignmentAxis: d.alignmentAxis
751
751
  };
752
752
  return r && typeof p == "number" && (f = r === "end" ? p * -1 : p), i ? {
753
- x: f * c,
754
- y: m * u
753
+ x: f * u,
754
+ y: m * c
755
755
  } : {
756
- x: m * u,
757
- y: f * c
756
+ x: m * c,
757
+ y: f * u
758
758
  };
759
759
  }
760
- const eo = function(e) {
760
+ const oo = function(e) {
761
761
  return e === void 0 && (e = 0), {
762
762
  name: "offset",
763
763
  options: e,
@@ -768,7 +768,7 @@ const eo = function(e) {
768
768
  y: s,
769
769
  placement: a,
770
770
  middlewareData: r
771
- } = n, i = await Zn(n, e);
771
+ } = n, i = await no(n, e);
772
772
  return a === ((t = r.offset) == null ? void 0 : t.placement) && (o = r.arrow) != null && o.alignmentOffset ? {} : {
773
773
  x: l + i.x,
774
774
  y: s + i.y,
@@ -779,7 +779,7 @@ const eo = function(e) {
779
779
  };
780
780
  }
781
781
  };
782
- }, to = function(e) {
782
+ }, lo = function(e) {
783
783
  return e === void 0 && (e = {}), {
784
784
  name: "shift",
785
785
  options: e,
@@ -804,18 +804,18 @@ const eo = function(e) {
804
804
  }
805
805
  },
806
806
  ...i
807
- } = Be(e, n), u = {
807
+ } = Me(e, n), c = {
808
808
  x: t,
809
809
  y: o
810
- }, c = await nt(n, i), d = ce(fe(l)), m = Ot(d);
811
- let f = u[m], p = u[d];
810
+ }, u = await nt(n, i), d = ce(fe(l)), m = Bt(d);
811
+ let f = c[m], p = c[d];
812
812
  if (s) {
813
- const V = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", _ = f + c[V], h = f - c[w];
814
- f = ht(_, f, h);
813
+ const V = m === "y" ? "top" : "left", w = m === "y" ? "bottom" : "right", _ = f + u[V], h = f - u[w];
814
+ f = gt(_, f, h);
815
815
  }
816
816
  if (a) {
817
- const V = d === "y" ? "top" : "left", w = d === "y" ? "bottom" : "right", _ = p + c[V], h = p - c[w];
818
- p = ht(_, p, h);
817
+ const V = d === "y" ? "top" : "left", w = d === "y" ? "bottom" : "right", _ = p + u[V], h = p - u[w];
818
+ p = gt(_, p, h);
819
819
  }
820
820
  const y = r.fn({
821
821
  ...n,
@@ -835,7 +835,7 @@ const eo = function(e) {
835
835
  };
836
836
  }
837
837
  };
838
- }, no = function(e) {
838
+ }, ao = function(e) {
839
839
  return e === void 0 && (e = {}), {
840
840
  name: "size",
841
841
  options: e,
@@ -849,26 +849,26 @@ const eo = function(e) {
849
849
  } = n, {
850
850
  apply: i = () => {
851
851
  },
852
- ...u
853
- } = Be(e, n), c = await nt(n, u), d = fe(l), m = Me(l), f = ce(l) === "y", {
852
+ ...c
853
+ } = Me(e, n), u = await nt(n, c), d = fe(l), m = Pe(l), f = ce(l) === "y", {
854
854
  width: p,
855
855
  height: y
856
856
  } = s.floating;
857
857
  let V, w;
858
858
  d === "top" || d === "bottom" ? (V = d, w = m === (await (a.isRTL == null ? void 0 : a.isRTL(r.floating)) ? "start" : "end") ? "left" : "right") : (w = d, V = m === "end" ? "top" : "bottom");
859
- const _ = y - c.top - c.bottom, h = p - c.left - c.right, O = Re(y - c[V], _), A = Re(p - c[w], h), F = !n.middlewareData.shift;
860
- let b = O, g = A;
861
- if ((t = n.middlewareData.shift) != null && t.enabled.x && (g = h), (o = n.middlewareData.shift) != null && o.enabled.y && (b = _), F && !m) {
862
- const z = G(c.left, 0), I = G(c.right, 0), se = G(c.top, 0), ie = G(c.bottom, 0);
863
- f ? g = p - 2 * (z !== 0 || I !== 0 ? z + I : G(c.left, c.right)) : b = y - 2 * (se !== 0 || ie !== 0 ? se + ie : G(c.top, c.bottom));
859
+ const _ = y - u.top - u.bottom, h = p - u.left - u.right, O = Ee(y - u[V], _), A = Ee(p - u[w], h), F = !n.middlewareData.shift;
860
+ let g = O, b = A;
861
+ if ((t = n.middlewareData.shift) != null && t.enabled.x && (b = h), (o = n.middlewareData.shift) != null && o.enabled.y && (g = _), F && !m) {
862
+ const z = G(u.left, 0), I = G(u.right, 0), se = G(u.top, 0), ie = G(u.bottom, 0);
863
+ f ? b = p - 2 * (z !== 0 || I !== 0 ? z + I : G(u.left, u.right)) : g = y - 2 * (se !== 0 || ie !== 0 ? se + ie : G(u.top, u.bottom));
864
864
  }
865
865
  await i({
866
866
  ...n,
867
- availableWidth: g,
868
- availableHeight: b
867
+ availableWidth: b,
868
+ availableHeight: g
869
869
  });
870
- const $ = await a.getDimensions(r.floating);
871
- return p !== $.width || y !== $.height ? {
870
+ const S = await a.getDimensions(r.floating);
871
+ return p !== S.width || y !== S.height ? {
872
872
  reset: {
873
873
  rects: !0
874
874
  }
@@ -899,26 +899,26 @@ function ee(e) {
899
899
  function le(e) {
900
900
  return Ke() ? e instanceof HTMLElement || e instanceof Y(e).HTMLElement : !1;
901
901
  }
902
- function wt(e) {
902
+ function xt(e) {
903
903
  return !Ke() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Y(e).ShadowRoot;
904
904
  }
905
- const oo = /* @__PURE__ */ new Set(["inline", "contents"]);
906
- function Pe(e) {
905
+ const so = /* @__PURE__ */ new Set(["inline", "contents"]);
906
+ function je(e) {
907
907
  const {
908
908
  overflow: n,
909
909
  overflowX: t,
910
910
  overflowY: o,
911
911
  display: l
912
912
  } = te(e);
913
- return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !oo.has(l);
913
+ return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !so.has(l);
914
914
  }
915
- const lo = /* @__PURE__ */ new Set(["table", "td", "th"]);
916
- function ao(e) {
917
- return lo.has(we(e));
915
+ const io = /* @__PURE__ */ new Set(["table", "td", "th"]);
916
+ function ro(e) {
917
+ return io.has(we(e));
918
918
  }
919
- const so = [":popover-open", ":modal"];
919
+ const co = [":popover-open", ":modal"];
920
920
  function qe(e) {
921
- return so.some((n) => {
921
+ return co.some((n) => {
922
922
  try {
923
923
  return e.matches(n);
924
924
  } catch {
@@ -926,14 +926,14 @@ function qe(e) {
926
926
  }
927
927
  });
928
928
  }
929
- const io = ["transform", "translate", "scale", "rotate", "perspective"], ro = ["transform", "translate", "scale", "rotate", "perspective", "filter"], co = ["paint", "layout", "strict", "content"];
929
+ const uo = ["transform", "translate", "scale", "rotate", "perspective"], fo = ["transform", "translate", "scale", "rotate", "perspective", "filter"], mo = ["paint", "layout", "strict", "content"];
930
930
  function lt(e) {
931
931
  const n = at(), t = ee(e) ? te(e) : e;
932
- return io.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !n && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !n && (t.filter ? t.filter !== "none" : !1) || ro.some((o) => (t.willChange || "").includes(o)) || co.some((o) => (t.contain || "").includes(o));
932
+ return uo.some((o) => t[o] ? t[o] !== "none" : !1) || (t.containerType ? t.containerType !== "normal" : !1) || !n && (t.backdropFilter ? t.backdropFilter !== "none" : !1) || !n && (t.filter ? t.filter !== "none" : !1) || fo.some((o) => (t.willChange || "").includes(o)) || mo.some((o) => (t.contain || "").includes(o));
933
933
  }
934
- function uo(e) {
934
+ function vo(e) {
935
935
  let n = me(e);
936
- for (; le(n) && !Ee(n); ) {
936
+ for (; le(n) && !Re(n); ) {
937
937
  if (lt(n))
938
938
  return n;
939
939
  if (qe(n))
@@ -945,9 +945,9 @@ function uo(e) {
945
945
  function at() {
946
946
  return typeof CSS > "u" || !CSS.supports ? !1 : CSS.supports("-webkit-backdrop-filter", "none");
947
947
  }
948
- const fo = /* @__PURE__ */ new Set(["html", "body", "#document"]);
949
- function Ee(e) {
950
- return fo.has(we(e));
948
+ const po = /* @__PURE__ */ new Set(["html", "body", "#document"]);
949
+ function Re(e) {
950
+ return po.has(we(e));
951
951
  }
952
952
  function te(e) {
953
953
  return Y(e).getComputedStyle(e);
@@ -968,29 +968,29 @@ function me(e) {
968
968
  // Step into the shadow DOM of the parent of a slotted node.
969
969
  e.assignedSlot || // DOM Element detected.
970
970
  e.parentNode || // ShadowRoot detected.
971
- wt(e) && e.host || // Fallback.
971
+ xt(e) && e.host || // Fallback.
972
972
  ae(e)
973
973
  );
974
- return wt(n) ? n.host : n;
974
+ return xt(n) ? n.host : n;
975
975
  }
976
- function Mt(e) {
976
+ function jt(e) {
977
977
  const n = me(e);
978
- return Ee(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : le(n) && Pe(n) ? n : Mt(n);
978
+ return Re(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : le(n) && je(n) ? n : jt(n);
979
979
  }
980
- function Le(e, n, t) {
980
+ function Ae(e, n, t) {
981
981
  var o;
982
982
  n === void 0 && (n = []), t === void 0 && (t = !0);
983
- const l = Mt(e), s = l === ((o = e.ownerDocument) == null ? void 0 : o.body), a = Y(l);
983
+ const l = jt(e), s = l === ((o = e.ownerDocument) == null ? void 0 : o.body), a = Y(l);
984
984
  if (s) {
985
985
  const r = et(a);
986
- return n.concat(a, a.visualViewport || [], Pe(l) ? l : [], r && t ? Le(r) : []);
986
+ return n.concat(a, a.visualViewport || [], je(l) ? l : [], r && t ? Ae(r) : []);
987
987
  }
988
- return n.concat(l, Le(l, [], t));
988
+ return n.concat(l, Ae(l, [], t));
989
989
  }
990
990
  function et(e) {
991
991
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
992
992
  }
993
- function Pt(e) {
993
+ function Ft(e) {
994
994
  const n = te(e);
995
995
  let t = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
996
996
  const l = le(e), s = l ? e.offsetWidth : t, a = l ? e.offsetHeight : o, r = Ne(t) !== s || Ne(o) !== a;
@@ -1011,58 +1011,58 @@ function ke(e) {
1011
1011
  width: o,
1012
1012
  height: l,
1013
1013
  $: s
1014
- } = Pt(n);
1014
+ } = Ft(n);
1015
1015
  let a = (s ? Ne(t.width) : t.width) / o, r = (s ? Ne(t.height) : t.height) / l;
1016
1016
  return (!a || !Number.isFinite(a)) && (a = 1), (!r || !Number.isFinite(r)) && (r = 1), {
1017
1017
  x: a,
1018
1018
  y: r
1019
1019
  };
1020
1020
  }
1021
- const mo = /* @__PURE__ */ oe(0);
1022
- function Ft(e) {
1021
+ const ho = /* @__PURE__ */ oe(0);
1022
+ function Dt(e) {
1023
1023
  const n = Y(e);
1024
- return !at() || !n.visualViewport ? mo : {
1024
+ return !at() || !n.visualViewport ? ho : {
1025
1025
  x: n.visualViewport.offsetLeft,
1026
1026
  y: n.visualViewport.offsetTop
1027
1027
  };
1028
1028
  }
1029
- function vo(e, n, t) {
1029
+ function go(e, n, t) {
1030
1030
  return n === void 0 && (n = !1), !t || n && t !== Y(e) ? !1 : n;
1031
1031
  }
1032
- function ge(e, n, t, o) {
1032
+ function be(e, n, t, o) {
1033
1033
  n === void 0 && (n = !1), t === void 0 && (t = !1);
1034
1034
  const l = e.getBoundingClientRect(), s = st(e);
1035
1035
  let a = oe(1);
1036
1036
  n && (o ? ee(o) && (a = ke(o)) : a = ke(e));
1037
- const r = vo(s, t, o) ? Ft(s) : oe(0);
1038
- let i = (l.left + r.x) / a.x, u = (l.top + r.y) / a.y, c = l.width / a.x, d = l.height / a.y;
1037
+ const r = go(s, t, o) ? Dt(s) : oe(0);
1038
+ let i = (l.left + r.x) / a.x, c = (l.top + r.y) / a.y, u = l.width / a.x, d = l.height / a.y;
1039
1039
  if (s) {
1040
1040
  const m = Y(s), f = o && ee(o) ? Y(o) : o;
1041
1041
  let p = m, y = et(p);
1042
1042
  for (; y && o && f !== p; ) {
1043
1043
  const V = ke(y), w = y.getBoundingClientRect(), _ = te(y), h = w.left + (y.clientLeft + parseFloat(_.paddingLeft)) * V.x, O = w.top + (y.clientTop + parseFloat(_.paddingTop)) * V.y;
1044
- i *= V.x, u *= V.y, c *= V.x, d *= V.y, i += h, u += O, p = Y(y), y = et(p);
1044
+ i *= V.x, c *= V.y, u *= V.x, d *= V.y, i += h, c += O, p = Y(y), y = et(p);
1045
1045
  }
1046
1046
  }
1047
1047
  return We({
1048
- width: c,
1048
+ width: u,
1049
1049
  height: d,
1050
1050
  x: i,
1051
- y: u
1051
+ y: c
1052
1052
  });
1053
1053
  }
1054
1054
  function Ye(e, n) {
1055
1055
  const t = Ge(e).scrollLeft;
1056
- return n ? n.left + t : ge(ae(e)).left + t;
1056
+ return n ? n.left + t : be(ae(e)).left + t;
1057
1057
  }
1058
- function Dt(e, n) {
1058
+ function zt(e, n) {
1059
1059
  const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Ye(e, t), l = t.top + n.scrollTop;
1060
1060
  return {
1061
1061
  x: o,
1062
1062
  y: l
1063
1063
  };
1064
1064
  }
1065
- function po(e) {
1065
+ function bo(e) {
1066
1066
  let {
1067
1067
  elements: n,
1068
1068
  rect: t,
@@ -1075,24 +1075,24 @@ function po(e) {
1075
1075
  let i = {
1076
1076
  scrollLeft: 0,
1077
1077
  scrollTop: 0
1078
- }, u = oe(1);
1079
- const c = oe(0), d = le(o);
1080
- if ((d || !d && !s) && ((we(o) !== "body" || Pe(a)) && (i = Ge(o)), le(o))) {
1081
- const f = ge(o);
1082
- u = ke(o), c.x = f.x + o.clientLeft, c.y = f.y + o.clientTop;
1078
+ }, c = oe(1);
1079
+ const u = oe(0), d = le(o);
1080
+ if ((d || !d && !s) && ((we(o) !== "body" || je(a)) && (i = Ge(o)), le(o))) {
1081
+ const f = be(o);
1082
+ c = ke(o), u.x = f.x + o.clientLeft, u.y = f.y + o.clientTop;
1083
1083
  }
1084
- const m = a && !d && !s ? Dt(a, i) : oe(0);
1084
+ const m = a && !d && !s ? zt(a, i) : oe(0);
1085
1085
  return {
1086
- width: t.width * u.x,
1087
- height: t.height * u.y,
1088
- x: t.x * u.x - i.scrollLeft * u.x + c.x + m.x,
1089
- y: t.y * u.y - i.scrollTop * u.y + c.y + m.y
1086
+ width: t.width * c.x,
1087
+ height: t.height * c.y,
1088
+ x: t.x * c.x - i.scrollLeft * c.x + u.x + m.x,
1089
+ y: t.y * c.y - i.scrollTop * c.y + u.y + m.y
1090
1090
  };
1091
1091
  }
1092
- function ho(e) {
1092
+ function yo(e) {
1093
1093
  return Array.from(e.getClientRects());
1094
1094
  }
1095
- function bo(e) {
1095
+ function wo(e) {
1096
1096
  const n = ae(e), t = Ge(e), o = e.ownerDocument.body, l = G(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), s = G(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
1097
1097
  let a = -t.scrollLeft + Ye(e);
1098
1098
  const r = -t.scrollTop;
@@ -1103,20 +1103,20 @@ function bo(e) {
1103
1103
  y: r
1104
1104
  };
1105
1105
  }
1106
- const xt = 25;
1107
- function go(e, n) {
1106
+ const _t = 25;
1107
+ function xo(e, n) {
1108
1108
  const t = Y(e), o = ae(e), l = t.visualViewport;
1109
1109
  let s = o.clientWidth, a = o.clientHeight, r = 0, i = 0;
1110
1110
  if (l) {
1111
1111
  s = l.width, a = l.height;
1112
- const c = at();
1113
- (!c || c && n === "fixed") && (r = l.offsetLeft, i = l.offsetTop);
1114
- }
1115
- const u = Ye(o);
1116
- if (u <= 0) {
1117
- const c = o.ownerDocument, d = c.body, m = getComputedStyle(d), f = c.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - f);
1118
- p <= xt && (s -= p);
1119
- } else u <= xt && (s += u);
1112
+ const u = at();
1113
+ (!u || u && n === "fixed") && (r = l.offsetLeft, i = l.offsetTop);
1114
+ }
1115
+ const c = Ye(o);
1116
+ if (c <= 0) {
1117
+ const u = o.ownerDocument, d = u.body, m = getComputedStyle(d), f = u.compatMode === "CSS1Compat" && parseFloat(m.marginLeft) + parseFloat(m.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - f);
1118
+ p <= _t && (s -= p);
1119
+ } else c <= _t && (s += c);
1120
1120
  return {
1121
1121
  width: s,
1122
1122
  height: a,
@@ -1124,26 +1124,26 @@ function go(e, n) {
1124
1124
  y: i
1125
1125
  };
1126
1126
  }
1127
- const yo = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1128
- function wo(e, n) {
1129
- const t = ge(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, s = le(e) ? ke(e) : oe(1), a = e.clientWidth * s.x, r = e.clientHeight * s.y, i = l * s.x, u = o * s.y;
1127
+ const _o = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1128
+ function Vo(e, n) {
1129
+ const t = be(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, s = le(e) ? ke(e) : oe(1), a = e.clientWidth * s.x, r = e.clientHeight * s.y, i = l * s.x, c = o * s.y;
1130
1130
  return {
1131
1131
  width: a,
1132
1132
  height: r,
1133
1133
  x: i,
1134
- y: u
1134
+ y: c
1135
1135
  };
1136
1136
  }
1137
- function _t(e, n, t) {
1137
+ function Vt(e, n, t) {
1138
1138
  let o;
1139
1139
  if (n === "viewport")
1140
- o = go(e, t);
1140
+ o = xo(e, t);
1141
1141
  else if (n === "document")
1142
- o = bo(ae(e));
1142
+ o = wo(ae(e));
1143
1143
  else if (ee(n))
1144
- o = wo(n, t);
1144
+ o = Vo(n, t);
1145
1145
  else {
1146
- const l = Ft(e);
1146
+ const l = Dt(e);
1147
1147
  o = {
1148
1148
  x: n.x - l.x,
1149
1149
  y: n.y - l.y,
@@ -1153,34 +1153,34 @@ function _t(e, n, t) {
1153
1153
  }
1154
1154
  return We(o);
1155
1155
  }
1156
- function jt(e, n) {
1156
+ function It(e, n) {
1157
1157
  const t = me(e);
1158
- return t === n || !ee(t) || Ee(t) ? !1 : te(t).position === "fixed" || jt(t, n);
1158
+ return t === n || !ee(t) || Re(t) ? !1 : te(t).position === "fixed" || It(t, n);
1159
1159
  }
1160
- function xo(e, n) {
1160
+ function ko(e, n) {
1161
1161
  const t = n.get(e);
1162
1162
  if (t)
1163
1163
  return t;
1164
- let o = Le(e, [], !1).filter((r) => ee(r) && we(r) !== "body"), l = null;
1164
+ let o = Ae(e, [], !1).filter((r) => ee(r) && we(r) !== "body"), l = null;
1165
1165
  const s = te(e).position === "fixed";
1166
1166
  let a = s ? me(e) : e;
1167
- for (; ee(a) && !Ee(a); ) {
1167
+ for (; ee(a) && !Re(a); ) {
1168
1168
  const r = te(a), i = lt(a);
1169
- !i && r.position === "fixed" && (l = null), (s ? !i && !l : !i && r.position === "static" && !!l && yo.has(l.position) || Pe(a) && !i && jt(e, a)) ? o = o.filter((c) => c !== a) : l = r, a = me(a);
1169
+ !i && r.position === "fixed" && (l = null), (s ? !i && !l : !i && r.position === "static" && !!l && _o.has(l.position) || je(a) && !i && It(e, a)) ? o = o.filter((u) => u !== a) : l = r, a = me(a);
1170
1170
  }
1171
1171
  return n.set(e, o), o;
1172
1172
  }
1173
- function _o(e) {
1173
+ function Co(e) {
1174
1174
  let {
1175
1175
  element: n,
1176
1176
  boundary: t,
1177
1177
  rootBoundary: o,
1178
1178
  strategy: l
1179
1179
  } = e;
1180
- const a = [...t === "clippingAncestors" ? qe(n) ? [] : xo(n, this._c) : [].concat(t), o], r = a[0], i = a.reduce((u, c) => {
1181
- const d = _t(n, c, l);
1182
- return u.top = G(d.top, u.top), u.right = Re(d.right, u.right), u.bottom = Re(d.bottom, u.bottom), u.left = G(d.left, u.left), u;
1183
- }, _t(n, r, l));
1180
+ const a = [...t === "clippingAncestors" ? qe(n) ? [] : ko(n, this._c) : [].concat(t), o], r = a[0], i = a.reduce((c, u) => {
1181
+ const d = Vt(n, u, l);
1182
+ return c.top = G(d.top, c.top), c.right = Ee(d.right, c.right), c.bottom = Ee(d.bottom, c.bottom), c.left = G(d.left, c.left), c;
1183
+ }, Vt(n, r, l));
1184
1184
  return {
1185
1185
  width: i.right - i.left,
1186
1186
  height: i.bottom - i.top,
@@ -1188,33 +1188,33 @@ function _o(e) {
1188
1188
  y: i.top
1189
1189
  };
1190
1190
  }
1191
- function Vo(e) {
1191
+ function Eo(e) {
1192
1192
  const {
1193
1193
  width: n,
1194
1194
  height: t
1195
- } = Pt(e);
1195
+ } = Ft(e);
1196
1196
  return {
1197
1197
  width: n,
1198
1198
  height: t
1199
1199
  };
1200
1200
  }
1201
- function ko(e, n, t) {
1202
- const o = le(n), l = ae(n), s = t === "fixed", a = ge(e, !0, s, n);
1201
+ function Ro(e, n, t) {
1202
+ const o = le(n), l = ae(n), s = t === "fixed", a = be(e, !0, s, n);
1203
1203
  let r = {
1204
1204
  scrollLeft: 0,
1205
1205
  scrollTop: 0
1206
1206
  };
1207
1207
  const i = oe(0);
1208
- function u() {
1208
+ function c() {
1209
1209
  i.x = Ye(l);
1210
1210
  }
1211
1211
  if (o || !o && !s)
1212
- if ((we(n) !== "body" || Pe(l)) && (r = Ge(n)), o) {
1213
- const f = ge(n, !0, s, n);
1212
+ if ((we(n) !== "body" || je(l)) && (r = Ge(n)), o) {
1213
+ const f = be(n, !0, s, n);
1214
1214
  i.x = f.x + n.clientLeft, i.y = f.y + n.clientTop;
1215
- } else l && u();
1216
- s && !o && l && u();
1217
- const c = l && !o && !s ? Dt(l, r) : oe(0), d = a.left + r.scrollLeft - i.x - c.x, m = a.top + r.scrollTop - i.y - c.y;
1215
+ } else l && c();
1216
+ s && !o && l && c();
1217
+ const u = l && !o && !s ? zt(l, r) : oe(0), d = a.left + r.scrollLeft - i.x - u.x, m = a.top + r.scrollTop - i.y - u.y;
1218
1218
  return {
1219
1219
  x: d,
1220
1220
  y: m,
@@ -1225,7 +1225,7 @@ function ko(e, n, t) {
1225
1225
  function Qe(e) {
1226
1226
  return te(e).position === "static";
1227
1227
  }
1228
- function Vt(e, n) {
1228
+ function kt(e, n) {
1229
1229
  if (!le(e) || te(e).position === "fixed")
1230
1230
  return null;
1231
1231
  if (n)
@@ -1233,28 +1233,28 @@ function Vt(e, n) {
1233
1233
  let t = e.offsetParent;
1234
1234
  return ae(e) === t && (t = t.ownerDocument.body), t;
1235
1235
  }
1236
- function zt(e, n) {
1236
+ function Nt(e, n) {
1237
1237
  const t = Y(e);
1238
1238
  if (qe(e))
1239
1239
  return t;
1240
1240
  if (!le(e)) {
1241
1241
  let l = me(e);
1242
- for (; l && !Ee(l); ) {
1242
+ for (; l && !Re(l); ) {
1243
1243
  if (ee(l) && !Qe(l))
1244
1244
  return l;
1245
1245
  l = me(l);
1246
1246
  }
1247
1247
  return t;
1248
1248
  }
1249
- let o = Vt(e, n);
1250
- for (; o && ao(o) && Qe(o); )
1251
- o = Vt(o, n);
1252
- return o && Ee(o) && Qe(o) && !lt(o) ? t : o || uo(e) || t;
1249
+ let o = kt(e, n);
1250
+ for (; o && ro(o) && Qe(o); )
1251
+ o = kt(o, n);
1252
+ return o && Re(o) && Qe(o) && !lt(o) ? t : o || vo(e) || t;
1253
1253
  }
1254
- const Co = async function(e) {
1255
- const n = this.getOffsetParent || zt, t = this.getDimensions, o = await t(e.floating);
1254
+ const Lo = async function(e) {
1255
+ const n = this.getOffsetParent || Nt, t = this.getDimensions, o = await t(e.floating);
1256
1256
  return {
1257
- reference: ko(e.reference, await n(e.floating), e.strategy),
1257
+ reference: Ro(e.reference, await n(e.floating), e.strategy),
1258
1258
  floating: {
1259
1259
  x: 0,
1260
1260
  y: 0,
@@ -1263,25 +1263,25 @@ const Co = async function(e) {
1263
1263
  }
1264
1264
  };
1265
1265
  };
1266
- function Ro(e) {
1266
+ function So(e) {
1267
1267
  return te(e).direction === "rtl";
1268
1268
  }
1269
- const Eo = {
1270
- convertOffsetParentRelativeRectToViewportRelativeRect: po,
1269
+ const $o = {
1270
+ convertOffsetParentRelativeRectToViewportRelativeRect: bo,
1271
1271
  getDocumentElement: ae,
1272
- getClippingRect: _o,
1273
- getOffsetParent: zt,
1274
- getElementRects: Co,
1275
- getClientRects: ho,
1276
- getDimensions: Vo,
1272
+ getClippingRect: Co,
1273
+ getOffsetParent: Nt,
1274
+ getElementRects: Lo,
1275
+ getClientRects: yo,
1276
+ getDimensions: Eo,
1277
1277
  getScale: ke,
1278
1278
  isElement: ee,
1279
- isRTL: Ro
1279
+ isRTL: So
1280
1280
  };
1281
- function It(e, n) {
1281
+ function Ht(e, n) {
1282
1282
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
1283
1283
  }
1284
- function So(e, n) {
1284
+ function Ao(e, n) {
1285
1285
  let t = null, o;
1286
1286
  const l = ae(e);
1287
1287
  function s() {
@@ -1290,29 +1290,29 @@ function So(e, n) {
1290
1290
  }
1291
1291
  function a(r, i) {
1292
1292
  r === void 0 && (r = !1), i === void 0 && (i = 1), s();
1293
- const u = e.getBoundingClientRect(), {
1294
- left: c,
1293
+ const c = e.getBoundingClientRect(), {
1294
+ left: u,
1295
1295
  top: d,
1296
1296
  width: m,
1297
1297
  height: f
1298
- } = u;
1298
+ } = c;
1299
1299
  if (r || n(), !m || !f)
1300
1300
  return;
1301
- const p = je(d), y = je(l.clientWidth - (c + m)), V = je(l.clientHeight - (d + f)), w = je(c), h = {
1301
+ const p = ze(d), y = ze(l.clientWidth - (u + m)), V = ze(l.clientHeight - (d + f)), w = ze(u), h = {
1302
1302
  rootMargin: -p + "px " + -y + "px " + -V + "px " + -w + "px",
1303
- threshold: G(0, Re(1, i)) || 1
1303
+ threshold: G(0, Ee(1, i)) || 1
1304
1304
  };
1305
1305
  let O = !0;
1306
1306
  function A(F) {
1307
- const b = F[0].intersectionRatio;
1308
- if (b !== i) {
1307
+ const g = F[0].intersectionRatio;
1308
+ if (g !== i) {
1309
1309
  if (!O)
1310
1310
  return a();
1311
- b ? a(!1, b) : o = setTimeout(() => {
1311
+ g ? a(!1, g) : o = setTimeout(() => {
1312
1312
  a(!1, 1e-7);
1313
1313
  }, 1e3);
1314
1314
  }
1315
- b === 1 && !It(u, e.getBoundingClientRect()) && a(), O = !1;
1315
+ g === 1 && !Ht(c, e.getBoundingClientRect()) && a(), O = !1;
1316
1316
  }
1317
1317
  try {
1318
1318
  t = new IntersectionObserver(A, {
@@ -1327,7 +1327,7 @@ function So(e, n) {
1327
1327
  }
1328
1328
  return a(!0), s;
1329
1329
  }
1330
- function Nt(e, n, t, o) {
1330
+ function Wt(e, n, t, o) {
1331
1331
  o === void 0 && (o = {});
1332
1332
  const {
1333
1333
  ancestorScroll: l = !0,
@@ -1335,113 +1335,113 @@ function Nt(e, n, t, o) {
1335
1335
  elementResize: a = typeof ResizeObserver == "function",
1336
1336
  layoutShift: r = typeof IntersectionObserver == "function",
1337
1337
  animationFrame: i = !1
1338
- } = o, u = st(e), c = l || s ? [...u ? Le(u) : [], ...Le(n)] : [];
1339
- c.forEach((w) => {
1338
+ } = o, c = st(e), u = l || s ? [...c ? Ae(c) : [], ...Ae(n)] : [];
1339
+ u.forEach((w) => {
1340
1340
  l && w.addEventListener("scroll", t, {
1341
1341
  passive: !0
1342
1342
  }), s && w.addEventListener("resize", t);
1343
1343
  });
1344
- const d = u && r ? So(u, t) : null;
1344
+ const d = c && r ? Ao(c, t) : null;
1345
1345
  let m = -1, f = null;
1346
1346
  a && (f = new ResizeObserver((w) => {
1347
1347
  let [_] = w;
1348
- _ && _.target === u && f && (f.unobserve(n), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
1348
+ _ && _.target === c && f && (f.unobserve(n), cancelAnimationFrame(m), m = requestAnimationFrame(() => {
1349
1349
  var h;
1350
1350
  (h = f) == null || h.observe(n);
1351
1351
  })), t();
1352
- }), u && !i && f.observe(u), f.observe(n));
1353
- let p, y = i ? ge(e) : null;
1352
+ }), c && !i && f.observe(c), f.observe(n));
1353
+ let p, y = i ? be(e) : null;
1354
1354
  i && V();
1355
1355
  function V() {
1356
- const w = ge(e);
1357
- y && !It(y, w) && t(), y = w, p = requestAnimationFrame(V);
1356
+ const w = be(e);
1357
+ y && !Ht(y, w) && t(), y = w, p = requestAnimationFrame(V);
1358
1358
  }
1359
1359
  return t(), () => {
1360
1360
  var w;
1361
- c.forEach((_) => {
1361
+ u.forEach((_) => {
1362
1362
  l && _.removeEventListener("scroll", t), s && _.removeEventListener("resize", t);
1363
1363
  }), d?.(), (w = f) == null || w.disconnect(), f = null, i && cancelAnimationFrame(p);
1364
1364
  };
1365
1365
  }
1366
- const Ht = eo, Wt = to, Ut = Jn, $o = no, Lo = (e, n, t) => {
1366
+ const Ut = oo, Xt = lo, Kt = eo, Oo = ao, To = (e, n, t) => {
1367
1367
  const o = /* @__PURE__ */ new Map(), l = {
1368
- platform: Eo,
1368
+ platform: $o,
1369
1369
  ...t
1370
1370
  }, s = {
1371
1371
  ...l.platform,
1372
1372
  _c: o
1373
1373
  };
1374
- return Yn(e, n, {
1374
+ return Zn(e, n, {
1375
1375
  ...l,
1376
1376
  platform: s
1377
1377
  });
1378
1378
  };
1379
- function Ao(e) {
1379
+ function Bo(e) {
1380
1380
  return e != null && typeof e == "object" && "$el" in e;
1381
1381
  }
1382
- function kt(e) {
1383
- if (Ao(e)) {
1382
+ function Ct(e) {
1383
+ if (Bo(e)) {
1384
1384
  const n = e.$el;
1385
1385
  return ot(n) && we(n) === "#comment" ? null : n;
1386
1386
  }
1387
1387
  return e;
1388
1388
  }
1389
- function $e(e) {
1390
- return typeof e == "function" ? e() : E(e);
1389
+ function Se(e) {
1390
+ return typeof e == "function" ? e() : R(e);
1391
1391
  }
1392
- function Xt(e) {
1392
+ function qt(e) {
1393
1393
  return typeof window > "u" ? 1 : (e.ownerDocument.defaultView || window).devicePixelRatio || 1;
1394
1394
  }
1395
- function Ct(e, n) {
1396
- const t = Xt(e);
1395
+ function Et(e, n) {
1396
+ const t = qt(e);
1397
1397
  return Math.round(n * t) / t;
1398
1398
  }
1399
- function Kt(e, n, t) {
1399
+ function Gt(e, n, t) {
1400
1400
  t === void 0 && (t = {});
1401
1401
  const o = t.whileElementsMounted, l = C(() => {
1402
- var b;
1403
- return (b = $e(t.open)) != null ? b : !0;
1404
- }), s = C(() => $e(t.middleware)), a = C(() => {
1405
- var b;
1406
- return (b = $e(t.placement)) != null ? b : "bottom";
1402
+ var g;
1403
+ return (g = Se(t.open)) != null ? g : !0;
1404
+ }), s = C(() => Se(t.middleware)), a = C(() => {
1405
+ var g;
1406
+ return (g = Se(t.placement)) != null ? g : "bottom";
1407
1407
  }), r = C(() => {
1408
- var b;
1409
- return (b = $e(t.strategy)) != null ? b : "absolute";
1408
+ var g;
1409
+ return (g = Se(t.strategy)) != null ? g : "absolute";
1410
1410
  }), i = C(() => {
1411
- var b;
1412
- return (b = $e(t.transform)) != null ? b : !0;
1413
- }), u = C(() => kt(e.value)), c = C(() => kt(n.value)), d = R(0), m = R(0), f = R(r.value), p = R(a.value), y = on({}), V = R(!1), w = C(() => {
1414
- const b = {
1411
+ var g;
1412
+ return (g = Se(t.transform)) != null ? g : !0;
1413
+ }), c = C(() => Ct(e.value)), u = C(() => Ct(n.value)), d = E(0), m = E(0), f = E(r.value), p = E(a.value), y = an({}), V = E(!1), w = C(() => {
1414
+ const g = {
1415
1415
  position: f.value,
1416
1416
  left: "0",
1417
1417
  top: "0"
1418
1418
  };
1419
- if (!c.value)
1420
- return b;
1421
- const g = Ct(c.value, d.value), $ = Ct(c.value, m.value);
1419
+ if (!u.value)
1420
+ return g;
1421
+ const b = Et(u.value, d.value), S = Et(u.value, m.value);
1422
1422
  return i.value ? {
1423
- ...b,
1424
- transform: "translate(" + g + "px, " + $ + "px)",
1425
- ...Xt(c.value) >= 1.5 && {
1423
+ ...g,
1424
+ transform: "translate(" + b + "px, " + S + "px)",
1425
+ ...qt(u.value) >= 1.5 && {
1426
1426
  willChange: "transform"
1427
1427
  }
1428
1428
  } : {
1429
1429
  position: f.value,
1430
- left: g + "px",
1431
- top: $ + "px"
1430
+ left: b + "px",
1431
+ top: S + "px"
1432
1432
  };
1433
1433
  });
1434
1434
  let _;
1435
1435
  function h() {
1436
- if (u.value == null || c.value == null)
1436
+ if (c.value == null || u.value == null)
1437
1437
  return;
1438
- const b = l.value;
1439
- Lo(u.value, c.value, {
1438
+ const g = l.value;
1439
+ To(c.value, u.value, {
1440
1440
  middleware: s.value,
1441
1441
  placement: a.value,
1442
1442
  strategy: r.value
1443
- }).then((g) => {
1444
- d.value = g.x, m.value = g.y, f.value = g.strategy, p.value = g.placement, y.value = g.middlewareData, V.value = b !== !1;
1443
+ }).then((b) => {
1444
+ d.value = b.x, m.value = b.y, f.value = b.strategy, p.value = b.placement, y.value = b.middlewareData, V.value = g !== !1;
1445
1445
  });
1446
1446
  }
1447
1447
  function O() {
@@ -1452,8 +1452,8 @@ function Kt(e, n, t) {
1452
1452
  h();
1453
1453
  return;
1454
1454
  }
1455
- if (u.value != null && c.value != null) {
1456
- _ = o(u.value, c.value, h);
1455
+ if (c.value != null && u.value != null) {
1456
+ _ = o(c.value, u.value, h);
1457
1457
  return;
1458
1458
  }
1459
1459
  }
@@ -1462,11 +1462,11 @@ function Kt(e, n, t) {
1462
1462
  }
1463
1463
  return q([s, a, r, l], h, {
1464
1464
  flush: "sync"
1465
- }), q([u, c], A, {
1465
+ }), q([c, u], A, {
1466
1466
  flush: "sync"
1467
1467
  }), q(l, F, {
1468
1468
  flush: "sync"
1469
- }), ln() && an(O), {
1469
+ }), sn() && rn(O), {
1470
1470
  x: _e(d),
1471
1471
  y: _e(m),
1472
1472
  strategy: _e(f),
@@ -1477,32 +1477,32 @@ function Kt(e, n, t) {
1477
1477
  update: h
1478
1478
  };
1479
1479
  }
1480
- const Oo = /* @__PURE__ */ B({
1480
+ const Mo = /* @__PURE__ */ B({
1481
1481
  inheritAttrs: !1,
1482
1482
  __name: "dot-menu",
1483
1483
  props: {
1484
1484
  icon: {}
1485
1485
  },
1486
1486
  setup(e) {
1487
- const n = e, t = R(!1), o = R(null), l = R(null), s = C(() => n.icon ?? H.DOT_MENU), { floatingStyles: a } = Kt(o, l, {
1487
+ const n = e, t = E(!1), o = E(null), l = E(null), s = C(() => n.icon ?? H.DOT_MENU), { floatingStyles: a } = Gt(o, l, {
1488
1488
  placement: "bottom-end",
1489
- middleware: [Ht(8), Ut(), Wt({ padding: 8 })],
1490
- whileElementsMounted: Nt
1489
+ middleware: [Ut(8), Kt(), Xt({ padding: 8 })],
1490
+ whileElementsMounted: Wt
1491
1491
  }), r = () => {
1492
1492
  t.value = !t.value;
1493
1493
  }, i = () => {
1494
1494
  t.value = !1;
1495
- }, u = (c) => {
1496
- const d = c.target;
1495
+ }, c = (u) => {
1496
+ const d = u.target;
1497
1497
  d && (d.closest(".menu-action") || d.closest('[role="menuitem"]') || d.closest("a")) && i();
1498
1498
  };
1499
- return (c, d) => {
1499
+ return (u, d) => {
1500
1500
  const m = U("VjButton"), f = U("VjMenu");
1501
- return v(), x(be, null, [
1501
+ return v(), x(ge, null, [
1502
1502
  k("div", {
1503
- class: N(["dot-menu-container", c.$attrs.class])
1503
+ class: N(["dot-menu-container", u.$attrs.class])
1504
1504
  }, [
1505
- D(m, {
1505
+ P(m, {
1506
1506
  ref_key: "buttonRef",
1507
1507
  ref: o,
1508
1508
  class: "dot-menu",
@@ -1510,37 +1510,37 @@ const Oo = /* @__PURE__ */ B({
1510
1510
  icon: s.value,
1511
1511
  onClick: r
1512
1512
  }, null, 8, ["icon"]),
1513
- D(Ie, { name: "menu" }, {
1513
+ P(Ie, { name: "menu" }, {
1514
1514
  default: W(() => [
1515
- t.value ? (v(), P(f, {
1515
+ t.value ? (v(), j(f, {
1516
1516
  key: 0,
1517
1517
  ref_key: "floatingRef",
1518
1518
  ref: l,
1519
- style: Z(E(a)),
1519
+ style: Z(R(a)),
1520
1520
  class: "menu-dropdown",
1521
1521
  onClose: i,
1522
- onClick: u
1522
+ onClick: c
1523
1523
  }, {
1524
1524
  default: W(() => [
1525
- T(c.$slots, "default", {}, void 0, !0)
1525
+ T(u.$slots, "default", {}, void 0, !0)
1526
1526
  ]),
1527
1527
  _: 3
1528
- }, 8, ["style"])) : L("", !0)
1528
+ }, 8, ["style"])) : $("", !0)
1529
1529
  ]),
1530
1530
  _: 3
1531
1531
  })
1532
1532
  ], 2),
1533
- (v(), P(tt, { to: "body" }, [
1533
+ (v(), j(tt, { to: "body" }, [
1534
1534
  t.value ? (v(), x("div", {
1535
1535
  key: 0,
1536
1536
  class: "menu-backdrop",
1537
1537
  onClick: i
1538
- })) : L("", !0)
1538
+ })) : $("", !0)
1539
1539
  ]))
1540
1540
  ], 64);
1541
1541
  };
1542
1542
  }
1543
- }), To = /* @__PURE__ */ M(Oo, [["__scopeId", "data-v-67bd71e4"]]), Bo = /* @__PURE__ */ B({
1543
+ }), Po = /* @__PURE__ */ M(Mo, [["__scopeId", "data-v-67bd71e4"]]), jo = /* @__PURE__ */ B({
1544
1544
  __name: "link-button",
1545
1545
  props: {
1546
1546
  label: {},
@@ -1555,24 +1555,24 @@ const Oo = /* @__PURE__ */ B({
1555
1555
  const n = e, t = X.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1556
1556
  return (l, s) => {
1557
1557
  const a = U("router-link");
1558
- return v(), P(a, {
1558
+ return v(), j(a, {
1559
1559
  to: e.to,
1560
1560
  class: N(["button", o.value]),
1561
1561
  disabled: e.disabled
1562
1562
  }, {
1563
1563
  default: W(() => [
1564
- e.icon ? (v(), P(Te, {
1564
+ e.icon ? (v(), j(Be, {
1565
1565
  key: 0,
1566
1566
  icon: e.icon,
1567
- size: E(t)
1568
- }, null, 8, ["icon", "size"])) : L("", !0),
1569
- ze(" " + j(e.label), 1)
1567
+ size: R(t)
1568
+ }, null, 8, ["icon", "size"])) : $("", !0),
1569
+ $e(" " + D(e.label), 1)
1570
1570
  ]),
1571
1571
  _: 1
1572
1572
  }, 8, ["to", "class", "disabled"]);
1573
1573
  };
1574
1574
  }
1575
- }), Mo = /* @__PURE__ */ M(Bo, [["__scopeId", "data-v-bd3cf2f5"]]), Po = ["disabled"], Fo = { class: "menu-action--icon" }, Do = /* @__PURE__ */ B({
1575
+ }), Fo = /* @__PURE__ */ M(jo, [["__scopeId", "data-v-bd3cf2f5"]]), Do = ["disabled"], zo = { class: "menu-action--icon" }, Io = /* @__PURE__ */ B({
1576
1576
  __name: "menu-action",
1577
1577
  props: {
1578
1578
  label: {},
@@ -1585,71 +1585,260 @@ const Oo = /* @__PURE__ */ B({
1585
1585
  class: "menu-action button tertiary",
1586
1586
  disabled: e.disabled
1587
1587
  }, [
1588
- k("span", Fo, [
1589
- e.icon ? (v(), P(Te, {
1588
+ k("span", zo, [
1589
+ e.icon ? (v(), j(Be, {
1590
1590
  key: 0,
1591
1591
  icon: e.icon,
1592
- size: E(n)
1593
- }, null, 8, ["icon", "size"])) : L("", !0)
1592
+ size: R(n)
1593
+ }, null, 8, ["icon", "size"])) : $("", !0)
1594
1594
  ]),
1595
- k("span", null, j(e.label), 1)
1596
- ], 8, Po));
1595
+ k("span", null, D(e.label), 1)
1596
+ ], 8, Do));
1597
1597
  }
1598
- }), jo = /* @__PURE__ */ M(Do, [["__scopeId", "data-v-07850995"]]), zo = {}, Io = { class: "menu" };
1599
- function No(e, n) {
1600
- return v(), x("div", Io, [
1598
+ }), No = /* @__PURE__ */ M(Io, [["__scopeId", "data-v-07850995"]]), Ho = {}, Wo = { class: "menu" };
1599
+ function Uo(e, n) {
1600
+ return v(), x("div", Wo, [
1601
1601
  T(e.$slots, "default", {}, void 0, !0)
1602
1602
  ]);
1603
1603
  }
1604
- const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08"]]), Wo = { class: "page" }, Uo = {
1604
+ const Xo = /* @__PURE__ */ M(Ho, [["render", Uo], ["__scopeId", "data-v-259fec08"]]), Ko = {
1605
+ mounted(e) {
1606
+ e.classList.add("compact");
1607
+ },
1608
+ unmounted(e) {
1609
+ e.classList.remove("compact");
1610
+ }
1611
+ }, Yt = [
1612
+ 'input:not([disabled]):not([type="hidden"])',
1613
+ "select:not([disabled])",
1614
+ "textarea:not([disabled])",
1615
+ "button:not([disabled])",
1616
+ "a[href]",
1617
+ '[tabindex]:not([tabindex="-1"])',
1618
+ '[contenteditable="true"]'
1619
+ ].join(", ");
1620
+ function qo(e) {
1621
+ const n = e.querySelectorAll(Yt);
1622
+ for (const t of Array.from(n))
1623
+ if (t.offsetParent !== null || t.getClientRects().length > 0)
1624
+ return t;
1625
+ return null;
1626
+ }
1627
+ const Go = {
1628
+ mounted(e, n) {
1629
+ const t = typeof n.value == "number" ? n.value : 0, o = () => {
1630
+ if (e.matches(Yt)) {
1631
+ e.focus();
1632
+ return;
1633
+ }
1634
+ const l = qo(e);
1635
+ l && l.focus();
1636
+ };
1637
+ t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
1638
+ }
1639
+ };
1640
+ class it {
1641
+ static _instance = null;
1642
+ observer = null;
1643
+ targets = /* @__PURE__ */ new Map();
1644
+ constructor() {
1645
+ this.init();
1646
+ }
1647
+ static get instance() {
1648
+ return this._instance || (this._instance = new it()), this._instance;
1649
+ }
1650
+ init() {
1651
+ typeof window < "u" && "ResizeObserver" in window ? this.observer = new ResizeObserver((n) => {
1652
+ for (const t of n) this.handleEntry(t);
1653
+ }) : typeof window < "u" && globalThis.addEventListener("resize", this.handleWindowResize);
1654
+ }
1655
+ handleWindowResize = () => {
1656
+ for (const n of this.targets.keys()) {
1657
+ const t = n.getBoundingClientRect(), o = {
1658
+ target: n,
1659
+ contentRect: t
1660
+ };
1661
+ this.handleEntry(o);
1662
+ }
1663
+ };
1664
+ handleEntry(n) {
1665
+ const t = this.targets.get(n.target);
1666
+ if (!t) return;
1667
+ const o = n.contentRect.width, l = n.contentRect.height, s = n.target;
1668
+ for (const a of t.callbacks)
1669
+ try {
1670
+ a(o, l, s);
1671
+ } catch (r) {
1672
+ console.error("resize callback error", r);
1673
+ }
1674
+ if (t.breakpoints) {
1675
+ const a = Object.keys(t.breakpoints).map((i) => Number(i)).filter((i) => !Number.isNaN(i)).sort((i, c) => i - c);
1676
+ let r;
1677
+ for (const i of a)
1678
+ o >= i && (r = t.breakpoints[i]);
1679
+ r !== t.currentClass && (t.currentClass && n.target.classList.remove(t.currentClass), r && n.target.classList.add(r), t.currentClass = r);
1680
+ }
1681
+ }
1682
+ observe(n, t, o) {
1683
+ const l = this.targets.get(n);
1684
+ if (l)
1685
+ t && l.callbacks.add(t), o?.breakpoints && (l.breakpoints = o.breakpoints);
1686
+ else {
1687
+ const s = /* @__PURE__ */ new Set();
1688
+ t && s.add(t), this.targets.set(n, { callbacks: s, breakpoints: o?.breakpoints }), this.observer && this.observer.observe(n);
1689
+ }
1690
+ if (o?.immediate) {
1691
+ const s = n.getBoundingClientRect(), a = { target: n, contentRect: s };
1692
+ if (this.handleEntry(a), t) {
1693
+ const r = s.width, i = s.height;
1694
+ t(r, i, n);
1695
+ }
1696
+ }
1697
+ }
1698
+ unobserve(n, t) {
1699
+ const o = this.targets.get(n);
1700
+ o && (t && o.callbacks.delete(t), (!t || o.callbacks.size === 0) && (this.targets.delete(n), this.observer && this.observer.unobserve(n), o.currentClass && n.classList && n.classList.remove(o.currentClass)));
1701
+ }
1702
+ }
1703
+ const Ve = it.instance, Yo = {
1704
+ mounted(e, n) {
1705
+ const t = n.value, o = typeof t == "function" ? t : t?.onResize, l = typeof t == "object" && t?.breakpoints ? t.breakpoints : void 0, s = typeof t == "object" && !!t?.immediate, a = e;
1706
+ a.__resize_cb = o, a.__resize_breakpoints = l, o && Ve.observe(e, o, { breakpoints: l, immediate: s });
1707
+ },
1708
+ updated(e, n) {
1709
+ const t = e, o = t.__resize_cb, l = t.__resize_breakpoints, s = n.value, a = typeof s == "function" ? s : s?.onResize, r = typeof s == "object" && s?.breakpoints ? s.breakpoints : void 0;
1710
+ if (o !== a) {
1711
+ o && Ve.unobserve(e, o), a && Ve.observe(e, a, { breakpoints: r, immediate: !!(s && typeof s == "object" && s.immediate) }), t.__resize_cb = a, t.__resize_breakpoints = r;
1712
+ return;
1713
+ }
1714
+ JSON.stringify(l || {}) !== JSON.stringify(r || {}) && (o && Ve.unobserve(e, o), a && Ve.observe(e, a, { breakpoints: r, immediate: !0 }), t.__resize_breakpoints = r);
1715
+ },
1716
+ unmounted(e) {
1717
+ const n = e, t = n.__resize_cb;
1718
+ t && Ve.unobserve(e, t), delete n.__resize_cb, delete n.__resize_breakpoints;
1719
+ }
1720
+ }, Jo = {}, Qo = { class: "spinner" };
1721
+ function Zo(e, n) {
1722
+ return v(), x("div", Qo);
1723
+ }
1724
+ const el = /* @__PURE__ */ M(Jo, [["render", Zo], ["__scopeId", "data-v-661ad3b6"]]), tl = 200, nl = 120;
1725
+ function Rt(e, n) {
1726
+ const t = n.querySelector(".vj-loading-inner");
1727
+ if (!t) return;
1728
+ const o = e.clientHeight || e.getBoundingClientRect().height;
1729
+ t.classList.remove("vj-loading-inner--small", "vj-loading-inner--minimal");
1730
+ const l = t.querySelector(".vj-loading-text");
1731
+ l && l.classList.remove("vj-loading-text--hidden"), o <= nl ? (t.classList.add("vj-loading-inner--minimal"), l && l.classList.add("vj-loading-text--hidden")) : o <= tl && t.classList.add("vj-loading-inner--small");
1732
+ }
1733
+ const ol = {
1734
+ mounted(e, n) {
1735
+ let t, o;
1736
+ if (typeof n.value == "object" && n.value !== null) {
1737
+ const m = n.value;
1738
+ t = !!(m.active ?? !0), o = m.text;
1739
+ } else
1740
+ t = !!n.value, o = void 0;
1741
+ const l = getComputedStyle(e), s = { overlay: document.createElement("div") };
1742
+ (l.position === "static" || !l.position) && (s.originalPosition = e.style.position, e.style.position = "relative");
1743
+ const a = s.overlay;
1744
+ a.className = "vj-loading-overlay", t || a.classList.add("vj-loading-overlay--hidden");
1745
+ const r = document.createElement("div"), i = document.createElement("div");
1746
+ i.className = "vj-loading-inner", i.appendChild(r);
1747
+ let c;
1748
+ o && (c = document.createElement("div"), c.className = "vj-loading-text", c.textContent = o, i.appendChild(c)), a.appendChild(i), Rt(e, a);
1749
+ const u = P(el);
1750
+ ht(u, r), s.spinnerVnode = u, s.spinnerContainer = r, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(a);
1751
+ const d = e;
1752
+ d.__vjLoading = s;
1753
+ },
1754
+ updated(e, n) {
1755
+ const o = e.__vjLoading;
1756
+ if (!o) return;
1757
+ const { overlay: l } = o;
1758
+ let s, a;
1759
+ if (typeof n.value == "object" && n.value !== null) {
1760
+ const i = n.value;
1761
+ s = !!(i.active ?? !0), a = i.text;
1762
+ } else
1763
+ s = !!n.value, a = void 0;
1764
+ s ? (l.classList.remove("vj-loading-overlay--hidden"), e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none") : (l.classList.add("vj-loading-overlay--hidden"), e.removeAttribute("aria-busy"), e.style.pointerEvents = "");
1765
+ const r = l.querySelector(".vj-loading-inner");
1766
+ if (r) {
1767
+ const i = r.querySelector(".vj-loading-text");
1768
+ if (i)
1769
+ a ? i.textContent = a : i.remove();
1770
+ else if (a) {
1771
+ const c = document.createElement("div");
1772
+ c.className = "vj-loading-text", c.textContent = a, r.appendChild(c);
1773
+ }
1774
+ }
1775
+ Rt(e, l);
1776
+ },
1777
+ unmounted(e) {
1778
+ const n = e, t = n.__vjLoading;
1779
+ if (!t) return;
1780
+ const { overlay: o, originalPosition: l } = t;
1781
+ try {
1782
+ t.spinnerContainer && ht(null, t.spinnerContainer);
1783
+ } catch {
1784
+ }
1785
+ o && o.parentElement === e && e.removeChild(o), l !== void 0 && (e.style.position = l), n.__vjLoading = void 0;
1786
+ }
1787
+ }, ll = { class: "page" }, al = {
1605
1788
  key: 0,
1606
1789
  class: "page-error"
1607
- }, Xo = {
1790
+ }, sl = {
1608
1791
  key: 1,
1609
1792
  class: "contents"
1610
- }, Ko = {
1793
+ }, il = {
1611
1794
  key: 2,
1612
1795
  class: "actions"
1613
- }, qo = { key: 3 }, Go = { key: 0 }, Yo = /* @__PURE__ */ B({
1796
+ }, rl = { key: 3 }, cl = { key: 0 }, ul = /* @__PURE__ */ B({
1614
1797
  __name: "page",
1615
1798
  props: {
1616
1799
  title: {},
1617
1800
  scrollable: { type: Boolean },
1618
- errorMessage: {}
1801
+ errorMessage: {},
1802
+ flow: {},
1803
+ loadingMessage: {}
1619
1804
  },
1620
1805
  setup(e) {
1621
- return (n, t) => (v(), x("div", Wo, [
1806
+ const n = e, t = C(() => n.flow?.running?.value ?? !1);
1807
+ return (o, l) => cn((v(), x("div", ll, [
1622
1808
  k("header", null, [
1623
- k("h2", null, j(e.title), 1),
1809
+ k("h2", null, D(e.title), 1),
1624
1810
  k("span", null, [
1625
- T(n.$slots, "headerActions", {}, void 0, !0)
1811
+ T(o.$slots, "headerActions", {}, void 0, !0)
1626
1812
  ])
1627
1813
  ]),
1628
1814
  k("main", {
1629
1815
  class: N({ scrollable: e.scrollable })
1630
1816
  }, [
1631
- e.errorMessage ? (v(), x("div", Uo, [
1632
- T(n.$slots, "error", {}, void 0, !0)
1633
- ])) : L("", !0),
1634
- e.errorMessage ? L("", !0) : (v(), x("div", Xo, [
1635
- T(n.$slots, "default", {}, void 0, !0)
1817
+ $e(D(t.value) + " ", 1),
1818
+ e.errorMessage ? (v(), x("div", al, [
1819
+ T(o.$slots, "error", {}, void 0, !0)
1820
+ ])) : $("", !0),
1821
+ e.errorMessage ? $("", !0) : (v(), x("div", sl, [
1822
+ T(o.$slots, "default", {}, void 0, !0)
1636
1823
  ])),
1637
- e.errorMessage ? L("", !0) : (v(), x("div", Ko, [
1638
- T(n.$slots, "actions", {}, void 0, !0)
1824
+ e.errorMessage ? $("", !0) : (v(), x("div", il, [
1825
+ T(o.$slots, "actions", {}, void 0, !0)
1639
1826
  ])),
1640
- n.$slots.flexFooter ? (v(), x("footer", qo, [
1641
- T(n.$slots, "flexFooter", {}, void 0, !0)
1642
- ])) : L("", !0)
1827
+ o.$slots.flexFooter ? (v(), x("footer", rl, [
1828
+ T(o.$slots, "flexFooter", {}, void 0, !0)
1829
+ ])) : $("", !0)
1643
1830
  ], 2),
1644
- n.$slots.footer ? (v(), x("footer", Go, [
1645
- T(n.$slots, "footer", {}, void 0, !0)
1646
- ])) : L("", !0)
1647
- ]));
1648
- }
1649
- }), Jo = /* @__PURE__ */ M(Yo, [["__scopeId", "data-v-1618f861"]]), Qo = {
1831
+ o.$slots.footer ? (v(), x("footer", cl, [
1832
+ T(o.$slots, "footer", {}, void 0, !0)
1833
+ ])) : $("", !0)
1834
+ ])), [
1835
+ [R(ol), { active: t.value, text: n.loadingMessage }]
1836
+ ]);
1837
+ }
1838
+ }), dl = /* @__PURE__ */ M(ul, [["__scopeId", "data-v-89f776b0"]]), fl = {
1650
1839
  class: "paginator-info",
1651
1840
  "aria-live": "polite"
1652
- }, Zo = /* @__PURE__ */ B({
1841
+ }, ml = /* @__PURE__ */ B({
1653
1842
  __name: "paginator",
1654
1843
  props: /* @__PURE__ */ ue({
1655
1844
  totalItems: {},
@@ -1661,7 +1850,7 @@ const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08
1661
1850
  }),
1662
1851
  emits: /* @__PURE__ */ ue(["change"], ["update:modelValue"]),
1663
1852
  setup(e, { emit: n }) {
1664
- const t = e, o = ye(e, "modelValue"), l = n, s = C(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), a = C(() => Math.min(Math.max(1, o.value ?? 1), s.value)), r = C(() => a.value), i = C(() => a.value <= 1), u = C(() => a.value >= s.value), c = C(() => t.labels?.item ?? "Eintrag"), d = C(() => t.labels?.of ?? "von"), m = (w) => {
1853
+ const t = e, o = ye(e, "modelValue"), l = n, s = C(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), a = C(() => Math.min(Math.max(1, o.value ?? 1), s.value)), r = C(() => a.value), i = C(() => a.value <= 1), c = C(() => a.value >= s.value), u = C(() => t.labels?.item ?? "Eintrag"), d = C(() => t.labels?.of ?? "von"), m = (w) => {
1665
1854
  const _ = Math.min(Math.max(1, Math.floor(w)), s.value);
1666
1855
  _ !== o.value && (o.value = _, l("change", _));
1667
1856
  }, f = () => m(1), p = () => m(a.value - 1), y = () => m(a.value + 1), V = () => m(s.value);
@@ -1672,21 +1861,21 @@ const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08
1672
1861
  return v(), x("nav", {
1673
1862
  class: "paginator",
1674
1863
  "aria-label": "Pagination",
1675
- onKeydown: _[0] || (_[0] = sn(de(() => {
1864
+ onKeydown: _[0] || (_[0] = un(de(() => {
1676
1865
  }, ["prevent"]), ["enter"]))
1677
1866
  }, [
1678
- D(h, {
1867
+ P(h, {
1679
1868
  tertiary: "",
1680
1869
  class: "paginator-btn",
1681
- icon: E(H).FIRST,
1870
+ icon: R(H).FIRST,
1682
1871
  disabled: i.value,
1683
1872
  onClick: f,
1684
1873
  "aria-label": "First page"
1685
1874
  }, null, 8, ["icon", "disabled"]),
1686
- D(h, {
1875
+ P(h, {
1687
1876
  tertiary: "",
1688
1877
  class: "paginator-btn",
1689
- icon: E(H).PREVIOUS,
1878
+ icon: R(H).PREVIOUS,
1690
1879
  disabled: i.value,
1691
1880
  onClick: p,
1692
1881
  "aria-label": "Previous page"
@@ -1696,28 +1885,28 @@ const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08
1696
1885
  totalPages: s.value,
1697
1886
  goTo: m
1698
1887
  }, () => [
1699
- k("div", Qo, j(c.value) + " " + j(r.value) + " " + j(d.value) + " " + j(s.value), 1)
1888
+ k("div", fl, D(u.value) + " " + D(r.value) + " " + D(d.value) + " " + D(s.value), 1)
1700
1889
  ], !0),
1701
- D(h, {
1890
+ P(h, {
1702
1891
  tertiary: "",
1703
1892
  class: "paginator-btn",
1704
- icon: E(H).NEXT,
1705
- disabled: u.value,
1893
+ icon: R(H).NEXT,
1894
+ disabled: c.value,
1706
1895
  onClick: y,
1707
1896
  "aria-label": "Next page"
1708
1897
  }, null, 8, ["icon", "disabled"]),
1709
- D(h, {
1898
+ P(h, {
1710
1899
  tertiary: "",
1711
1900
  class: "paginator-btn",
1712
- icon: E(H).LAST,
1713
- disabled: u.value,
1901
+ icon: R(H).LAST,
1902
+ disabled: c.value,
1714
1903
  onClick: V,
1715
1904
  "aria-label": "Last page"
1716
1905
  }, null, 8, ["icon", "disabled"])
1717
1906
  ], 32);
1718
1907
  };
1719
1908
  }
1720
- }), el = /* @__PURE__ */ M(Zo, [["__scopeId", "data-v-b6fa8efe"]]), tl = { class: "search-field" }, nl = ["value", "placeholder"], ol = /* @__PURE__ */ B({
1909
+ }), vl = /* @__PURE__ */ M(ml, [["__scopeId", "data-v-b6fa8efe"]]), pl = { class: "search-field" }, hl = ["value", "placeholder"], gl = /* @__PURE__ */ B({
1721
1910
  __name: "search-field",
1722
1911
  props: /* @__PURE__ */ ue({
1723
1912
  placeholder: { default: "Search..." }
@@ -1734,27 +1923,27 @@ const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08
1734
1923
  }, l = C(() => !n.value);
1735
1924
  return (s, a) => {
1736
1925
  const r = U("VjIcon");
1737
- return v(), x("div", tl, [
1738
- D(r, {
1739
- icon: E(H).SEARCH,
1740
- size: E(X).S
1926
+ return v(), x("div", pl, [
1927
+ P(r, {
1928
+ icon: R(H).SEARCH,
1929
+ size: R(X).S
1741
1930
  }, null, 8, ["icon", "size"]),
1742
1931
  k("input", {
1743
1932
  value: n.value,
1744
1933
  onInput: t,
1745
1934
  type: "text",
1746
1935
  placeholder: e.placeholder
1747
- }, null, 40, nl),
1748
- D(r, {
1936
+ }, null, 40, hl),
1937
+ P(r, {
1749
1938
  class: N(["reset", { invisible: l.value }]),
1750
- icon: E(H).CLOSE,
1751
- size: E(X).S,
1939
+ icon: R(H).CLOSE,
1940
+ size: R(X).S,
1752
1941
  onClick: o
1753
1942
  }, null, 8, ["class", "icon", "size"])
1754
1943
  ]);
1755
1944
  };
1756
1945
  }
1757
- }), ll = /* @__PURE__ */ M(ol, [["__scopeId", "data-v-2771c8ed"]]), al = /* @__PURE__ */ B({
1946
+ }), bl = /* @__PURE__ */ M(gl, [["__scopeId", "data-v-2771c8ed"]]), yl = /* @__PURE__ */ B({
1758
1947
  __name: "separator",
1759
1948
  props: {
1760
1949
  vertical: { type: Boolean }
@@ -1764,10 +1953,10 @@ const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08
1764
1953
  class: N(["separator", { vertical: e.vertical }])
1765
1954
  }, null, 2));
1766
1955
  }
1767
- }), sl = /* @__PURE__ */ M(al, [["__scopeId", "data-v-e354bb4e"]]), il = { class: "tab-view" }, rl = {
1956
+ }), wl = /* @__PURE__ */ M(yl, [["__scopeId", "data-v-e354bb4e"]]), xl = { class: "tab-view" }, _l = {
1768
1957
  ref: "headerRef",
1769
1958
  class: "tab-view-header"
1770
- }, cl = ["onClick"], ul = { class: "tab-view-content" }, dl = /* @__PURE__ */ B({
1959
+ }, Vl = ["onClick"], kl = { class: "tab-view-content" }, Cl = /* @__PURE__ */ B({
1771
1960
  __name: "tab-view",
1772
1961
  props: {
1773
1962
  modelValue: {},
@@ -1775,102 +1964,102 @@ const Ho = /* @__PURE__ */ M(zo, [["render", No], ["__scopeId", "data-v-259fec08
1775
1964
  },
1776
1965
  emits: ["update:modelValue"],
1777
1966
  setup(e) {
1778
- const n = ye(e, "modelValue"), t = R([]), o = R([]), l = R({
1967
+ const n = ye(e, "modelValue"), t = E([]), o = E([]), l = E({
1779
1968
  width: "0px",
1780
1969
  transform: "translateX(0px)"
1781
- }), s = (u, c) => {
1782
- u && (o.value[c] = u);
1970
+ }), s = (c, u) => {
1971
+ c && (o.value[u] = c);
1783
1972
  }, a = () => {
1784
- const u = t.value.findIndex((c) => c.name === n.value);
1785
- if (u >= 0 && o.value[u]) {
1786
- const c = o.value[u], d = c.offsetWidth, m = c.offsetLeft;
1973
+ const c = t.value.findIndex((u) => u.name === n.value);
1974
+ if (c >= 0 && o.value[c]) {
1975
+ const u = o.value[c], d = u.offsetWidth, m = u.offsetLeft;
1787
1976
  l.value = {
1788
1977
  width: `${d}px`,
1789
1978
  transform: `translateX(${m}px)`
1790
1979
  };
1791
1980
  }
1792
- }, r = (u, c) => {
1793
- t.value.find((d) => d.name === u) || (t.value.push({ name: u, label: c }), he(() => {
1794
- !n.value && t.value.length === 1 && (n.value = u), a();
1981
+ }, r = (c, u) => {
1982
+ t.value.find((d) => d.name === c) || (t.value.push({ name: c, label: u }), he(() => {
1983
+ !n.value && t.value.length === 1 && (n.value = c), a();
1795
1984
  }));
1796
- }, i = (u) => {
1797
- n.value = u;
1985
+ }, i = (c) => {
1986
+ n.value = c;
1798
1987
  };
1799
1988
  return q(n, () => {
1800
1989
  he(() => {
1801
1990
  a();
1802
1991
  });
1803
- }), rn("tabView", {
1992
+ }), dn("tabView", {
1804
1993
  activeTab: () => n.value,
1805
1994
  registerTab: r
1806
- }), (u, c) => (v(), x("div", il, [
1807
- k("div", rl, [
1808
- (v(!0), x(be, null, Xe(t.value, (d, m) => (v(), x("div", {
1995
+ }), (c, u) => (v(), x("div", xl, [
1996
+ k("div", _l, [
1997
+ (v(!0), x(ge, null, Xe(t.value, (d, m) => (v(), x("div", {
1809
1998
  key: d.name,
1810
1999
  ref_for: !0,
1811
2000
  ref: (f) => s(f, m),
1812
2001
  class: N(["tab-button", { active: n.value === d.name }]),
1813
2002
  onClick: (f) => i(d.name)
1814
- }, j(d.label), 11, cl))), 128)),
1815
- c[0] || (c[0] = k("div", { class: "tab-line" }, null, -1)),
2003
+ }, D(d.label), 11, Vl))), 128)),
2004
+ u[0] || (u[0] = k("div", { class: "tab-line" }, null, -1)),
1816
2005
  k("div", {
1817
2006
  class: "tab-indicator",
1818
2007
  style: Z(l.value)
1819
2008
  }, null, 4)
1820
2009
  ], 512),
1821
- k("div", ul, [
1822
- T(u.$slots, "default", {}, void 0, !0)
2010
+ k("div", kl, [
2011
+ T(c.$slots, "default", {}, void 0, !0)
1823
2012
  ])
1824
2013
  ]));
1825
2014
  }
1826
- }), fl = /* @__PURE__ */ M(dl, [["__scopeId", "data-v-3d4ee454"]]), ml = {
2015
+ }), El = /* @__PURE__ */ M(Cl, [["__scopeId", "data-v-3d4ee454"]]), Rl = {
1827
2016
  key: 0,
1828
2017
  class: "tab"
1829
- }, vl = /* @__PURE__ */ B({
2018
+ }, Ll = /* @__PURE__ */ B({
1830
2019
  __name: "tab",
1831
2020
  props: {
1832
2021
  name: {},
1833
2022
  label: {}
1834
2023
  },
1835
2024
  setup(e) {
1836
- const n = e, t = St("tabView"), o = C(() => t?.activeTab() === n.name);
1837
- return Ae(() => {
2025
+ const n = e, t = $t("tabView"), o = C(() => t?.activeTab() === n.name);
2026
+ return Oe(() => {
1838
2027
  t?.registerTab(n.name, n.label);
1839
- }), (l, s) => o.value ? (v(), x("div", ml, [
2028
+ }), (l, s) => o.value ? (v(), x("div", Rl, [
1840
2029
  T(l.$slots, "default")
1841
- ])) : L("", !0);
2030
+ ])) : $("", !0);
1842
2031
  }
1843
- }), qt = {
2032
+ }), Jt = {
1844
2033
  form: {
1845
2034
  labelPosition: "inline"
1846
2035
  }
1847
2036
  };
1848
2037
  let Ue = {};
1849
- function Ra(e) {
2038
+ function Pa(e) {
1850
2039
  Ue = {
1851
2040
  ...Ue,
1852
2041
  ...e,
1853
2042
  form: {
1854
- ...qt.form,
2043
+ ...Jt.form,
1855
2044
  ...e.form
1856
2045
  }
1857
2046
  };
1858
2047
  }
1859
- function pl() {
2048
+ function Sl() {
1860
2049
  return {
1861
2050
  form: {
1862
- ...qt.form,
2051
+ ...Jt.form,
1863
2052
  ...Ue.form
1864
2053
  }
1865
2054
  };
1866
2055
  }
1867
- function Ea() {
2056
+ function ja() {
1868
2057
  Ue = {};
1869
2058
  }
1870
- const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-field__wrapper" }, yl = ["for"], wl = {
2059
+ const $l = ["data-colspan", "data-newline"], Al = ["for"], Ol = { class: "form-field__wrapper" }, Tl = ["for"], Bl = {
1871
2060
  key: 1,
1872
2061
  class: "form-field__error"
1873
- }, xl = /* @__PURE__ */ B({
2062
+ }, Ml = /* @__PURE__ */ B({
1874
2063
  __name: "form-field",
1875
2064
  props: {
1876
2065
  modelValue: {},
@@ -1886,7 +2075,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
1886
2075
  },
1887
2076
  emits: ["update:modelValue", "focus", "blur"],
1888
2077
  setup(e, { emit: n }) {
1889
- const t = e, o = n, l = R(t.modelValue), s = R(!1), a = C(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), r = C(() => t.labelPosition ?? pl().form.labelPosition);
2078
+ const t = e, o = n, l = E(t.modelValue), s = E(!1), a = C(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), r = C(() => t.labelPosition ?? Sl().form.labelPosition);
1890
2079
  q(
1891
2080
  () => t.modelValue,
1892
2081
  (f) => l.value = f
@@ -1896,8 +2085,8 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
1896
2085
  return !0;
1897
2086
  const f = l.value !== "" && l.value !== null && l.value !== void 0;
1898
2087
  return s.value || f;
1899
- }), u = C(() => r.value === "outline" || i.value ? t.placeholder : "");
1900
- function c(f) {
2088
+ }), c = C(() => r.value === "outline" || i.value ? t.placeholder : "");
2089
+ function u(f) {
1901
2090
  const y = f.target.value;
1902
2091
  l.value = y, o("update:modelValue", y);
1903
2092
  }
@@ -1917,47 +2106,47 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
1917
2106
  key: 0,
1918
2107
  for: a.value,
1919
2108
  class: "form-field__label-outline"
1920
- }, j(e.label) + " " + j(r.value), 9, bl)) : L("", !0),
1921
- k("div", gl, [
2109
+ }, D(e.label), 9, Al)) : $("", !0),
2110
+ k("div", Ol, [
1922
2111
  T(f.$slots, "control", {
1923
2112
  id: a.value,
1924
2113
  value: l.value,
1925
- onInput: c,
2114
+ onInput: u,
1926
2115
  onFocus: d,
1927
2116
  onBlur: m,
1928
2117
  disabled: e.disabled,
1929
- placeholder: u.value
2118
+ placeholder: c.value
1930
2119
  }, void 0, !0),
1931
2120
  e.label && r.value === "inline" ? (v(), x("label", {
1932
2121
  key: 0,
1933
2122
  for: a.value,
1934
2123
  class: N(["form-field__label", { "form-field__label--float": i.value }])
1935
- }, j(e.label), 11, yl)) : L("", !0)
2124
+ }, D(e.label), 11, Tl)) : $("", !0)
1936
2125
  ]),
1937
- e.error ? (v(), x("div", wl, j(e.error), 1)) : L("", !0)
1938
- ], 14, hl));
2126
+ e.error ? (v(), x("div", Bl, D(e.error), 1)) : $("", !0)
2127
+ ], 14, $l));
1939
2128
  }
1940
- }), Fe = /* @__PURE__ */ M(xl, [["__scopeId", "data-v-4ab68d08"]]), _l = /* @__PURE__ */ B({
2129
+ }), Fe = /* @__PURE__ */ M(Ml, [["__scopeId", "data-v-bb7aeb5f"]]), Pl = /* @__PURE__ */ B({
1941
2130
  __name: "form-layout",
1942
2131
  props: {
1943
2132
  columns: { type: Number, default: 4 },
1944
2133
  gap: { type: String, default: "0.75rem" }
1945
2134
  },
1946
2135
  setup(e) {
1947
- const n = e, t = R(null);
2136
+ const n = e, t = E(null);
1948
2137
  let o = null;
1949
2138
  function l() {
1950
2139
  if (!t.value) return;
1951
2140
  Array.from(t.value.children).forEach((a) => {
1952
- const r = a.getAttribute("data-colspan"), i = r ? Math.max(1, Number(r) || 1) : 1, u = a.getAttribute("data-newline");
1953
- u !== null && u !== "false" ? a.style.gridColumn = "1 / -1" : a.style.gridColumn = `span ${i}`;
2141
+ const r = a.getAttribute("data-colspan"), i = r ? Math.max(1, Number(r) || 1) : 1, c = a.getAttribute("data-newline");
2142
+ c !== null && c !== "false" ? a.style.gridColumn = "1 / -1" : a.style.gridColumn = `span ${i}`;
1954
2143
  });
1955
2144
  }
1956
- return Ae(() => {
2145
+ return Oe(() => {
1957
2146
  he(() => {
1958
2147
  l(), t.value && (o = new MutationObserver(() => l()), o.observe(t.value, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["data-colspan", "data-newline"] }));
1959
2148
  });
1960
- }), Oe(() => {
2149
+ }), Te(() => {
1961
2150
  o?.disconnect();
1962
2151
  }), q(
1963
2152
  () => n.columns,
@@ -1974,25 +2163,25 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
1974
2163
  T(s.$slots, "default", {}, void 0, !0)
1975
2164
  ], 4));
1976
2165
  }
1977
- }), Vl = /* @__PURE__ */ M(_l, [["__scopeId", "data-v-96f62ab7"]]), kl = {
2166
+ }), jl = /* @__PURE__ */ M(Pl, [["__scopeId", "data-v-96f62ab7"]]), Fl = {
1978
2167
  key: 0,
1979
2168
  class: "form-section__title",
1980
2169
  "data-newline": ""
1981
- }, Cl = /* @__PURE__ */ B({
2170
+ }, Dl = /* @__PURE__ */ B({
1982
2171
  __name: "form-section",
1983
2172
  props: {
1984
2173
  title: {}
1985
2174
  },
1986
2175
  setup(e) {
1987
- return (n, t) => (v(), x(be, null, [
1988
- e.title ? (v(), x("h3", kl, j(e.title), 1)) : L("", !0),
2176
+ return (n, t) => (v(), x(ge, null, [
2177
+ e.title ? (v(), x("h3", Fl, D(e.title), 1)) : $("", !0),
1989
2178
  T(n.$slots, "default", {}, void 0, !0)
1990
2179
  ], 64));
1991
2180
  }
1992
- }), Rl = /* @__PURE__ */ M(Cl, [["__scopeId", "data-v-69cff1d0"]]), El = ["id", "disabled"], Sl = { class: "select-value" }, $l = {
2181
+ }), zl = /* @__PURE__ */ M(Dl, [["__scopeId", "data-v-69cff1d0"]]), Il = ["id", "disabled"], Nl = { class: "select-value" }, Hl = {
1993
2182
  key: 1,
1994
2183
  class: "select-placeholder"
1995
- }, Ll = { class: "select-options" }, Al = ["onClick", "onMouseenter"], Ol = /* @__PURE__ */ B({
2184
+ }, Wl = { class: "select-options" }, Ul = ["onClick", "onMouseenter"], Xl = /* @__PURE__ */ B({
1996
2185
  inheritAttrs: !1,
1997
2186
  __name: "select",
1998
2187
  props: /* @__PURE__ */ ue({
@@ -2010,13 +2199,13 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2010
2199
  }),
2011
2200
  emits: ["update:modelValue"],
2012
2201
  setup(e, { expose: n }) {
2013
- const t = e, o = ye(e, "modelValue"), l = R(!1), s = R(-1), a = R(null), r = R(null), i = R(null), { floatingStyles: u } = Kt(r, i, {
2202
+ const t = e, o = ye(e, "modelValue"), l = E(!1), s = E(-1), a = E(null), r = E(null), i = E(null), { floatingStyles: c } = Gt(r, i, {
2014
2203
  placement: "bottom-start",
2015
2204
  middleware: [
2016
- Ht(4),
2017
- Ut(),
2018
- Wt({ padding: 8 }),
2019
- $o({
2205
+ Ut(4),
2206
+ Kt(),
2207
+ Xt({ padding: 8 }),
2208
+ Oo({
2020
2209
  apply({ rects: h, elements: O }) {
2021
2210
  Object.assign(O.floating.style, {
2022
2211
  minWidth: `${h.reference.width}px`
@@ -2024,8 +2213,8 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2024
2213
  }
2025
2214
  })
2026
2215
  ],
2027
- whileElementsMounted: Nt
2028
- }), c = (h) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(h) : String(h[t.optionLabel]) : String(h), d = (h) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(h) : h[t.optionValue] : h, m = C(() => t.options.find((h) => d(h) === o.value)), f = (h) => d(h) === o.value, p = () => {
2216
+ whileElementsMounted: Wt
2217
+ }), u = (h) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(h) : String(h[t.optionLabel]) : String(h), d = (h) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(h) : h[t.optionValue] : h, m = C(() => t.options.find((h) => d(h) === o.value)), f = (h) => d(h) === o.value, p = () => {
2029
2218
  t.disabled || (l.value = !l.value);
2030
2219
  }, y = () => {
2031
2220
  l.value = !1, s.value = -1;
@@ -2036,9 +2225,9 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2036
2225
  }, _ = (h) => {
2037
2226
  l.value && a.value && !a.value.contains(h.target) && y();
2038
2227
  };
2039
- return Ae(() => {
2228
+ return Oe(() => {
2040
2229
  document.addEventListener("click", _);
2041
- }), Oe(() => {
2230
+ }), Te(() => {
2042
2231
  document.removeEventListener("click", _);
2043
2232
  }), q(l, (h) => {
2044
2233
  h && m.value && (s.value = t.options.findIndex((O) => f(O)));
@@ -2047,7 +2236,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2047
2236
  blur: () => r.value?.blur()
2048
2237
  }), (h, O) => {
2049
2238
  const A = U("VjIcon");
2050
- return v(), x(be, null, [
2239
+ return v(), x(ge, null, [
2051
2240
  k("div", {
2052
2241
  ref_key: "selectRef",
2053
2242
  ref: a,
@@ -2062,73 +2251,73 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2062
2251
  onClick: p,
2063
2252
  disabled: e.disabled
2064
2253
  }, [
2065
- t.icon ? (v(), P(A, {
2254
+ t.icon ? (v(), j(A, {
2066
2255
  key: 0,
2067
2256
  icon: t.icon,
2068
- size: E(X).S,
2257
+ size: R(X).S,
2069
2258
  class: "select-icon-left"
2070
- }, null, 8, ["icon", "size"])) : L("", !0),
2071
- k("span", Sl, [
2259
+ }, null, 8, ["icon", "size"])) : $("", !0),
2260
+ k("span", Nl, [
2072
2261
  m.value ? T(h.$slots, "selected", {
2073
2262
  key: 0,
2074
2263
  option: m.value
2075
2264
  }, () => [
2076
- ze(j(c(m.value)), 1)
2077
- ], !0) : (v(), x("span", $l, j(e.placeholder), 1))
2265
+ $e(D(u(m.value)), 1)
2266
+ ], !0) : (v(), x("span", Hl, D(e.placeholder), 1))
2078
2267
  ]),
2079
- t.clearable && m.value && !e.disabled ? (v(), P(A, {
2268
+ t.clearable && m.value && !e.disabled ? (v(), j(A, {
2080
2269
  key: 1,
2081
- icon: E(H).CLOSE,
2082
- size: E(X).S,
2270
+ icon: R(H).CLOSE,
2271
+ size: R(X).S,
2083
2272
  class: "select-clear-icon",
2084
2273
  onClick: de(w, ["stop"])
2085
- }, null, 8, ["icon", "size"])) : L("", !0),
2086
- D(A, {
2087
- icon: E(H).CHEVRON_DOWN,
2088
- size: E(X).S,
2274
+ }, null, 8, ["icon", "size"])) : $("", !0),
2275
+ P(A, {
2276
+ icon: R(H).CHEVRON_DOWN,
2277
+ size: R(X).S,
2089
2278
  class: N(["select-icon-right", { open: l.value }])
2090
2279
  }, null, 8, ["icon", "size", "class"])
2091
- ], 8, El),
2092
- D(Ie, { name: "dropdown" }, {
2280
+ ], 8, Il),
2281
+ P(Ie, { name: "dropdown" }, {
2093
2282
  default: W(() => [
2094
2283
  l.value ? (v(), x("div", {
2095
2284
  key: 0,
2096
2285
  ref_key: "floatingRef",
2097
2286
  ref: i,
2098
- style: Z(E(u)),
2287
+ style: Z(R(c)),
2099
2288
  class: "select-dropdown"
2100
2289
  }, [
2101
- k("div", Ll, [
2102
- (v(!0), x(be, null, Xe(e.options, (F, b) => (v(), x("div", {
2290
+ k("div", Wl, [
2291
+ (v(!0), x(ge, null, Xe(e.options, (F, g) => (v(), x("div", {
2103
2292
  key: String(d(F)),
2104
- class: N(["select-option", { selected: f(F), highlighted: s.value === b }]),
2105
- onClick: (g) => V(F),
2106
- onMouseenter: (g) => s.value = b
2293
+ class: N(["select-option", { selected: f(F), highlighted: s.value === g }]),
2294
+ onClick: (b) => V(F),
2295
+ onMouseenter: (b) => s.value = g
2107
2296
  }, [
2108
2297
  T(h.$slots, "option", {
2109
2298
  option: F,
2110
2299
  selected: f(F)
2111
2300
  }, () => [
2112
- ze(j(c(F)), 1)
2301
+ $e(D(u(F)), 1)
2113
2302
  ], !0)
2114
- ], 42, Al))), 128))
2303
+ ], 42, Ul))), 128))
2115
2304
  ])
2116
- ], 4)) : L("", !0)
2305
+ ], 4)) : $("", !0)
2117
2306
  ]),
2118
2307
  _: 3
2119
2308
  })
2120
2309
  ], 2),
2121
- (v(), P(tt, { to: "body" }, [
2310
+ (v(), j(tt, { to: "body" }, [
2122
2311
  l.value ? (v(), x("div", {
2123
2312
  key: 0,
2124
2313
  class: "select-backdrop",
2125
2314
  onClick: y
2126
- })) : L("", !0)
2315
+ })) : $("", !0)
2127
2316
  ]))
2128
2317
  ], 64);
2129
2318
  };
2130
2319
  }
2131
- }), Gt = /* @__PURE__ */ M(Ol, [["__scopeId", "data-v-fc22f0e9"]]), Tl = /* @__PURE__ */ B({
2320
+ }), Qt = /* @__PURE__ */ M(Xl, [["__scopeId", "data-v-fc22f0e9"]]), Kl = /* @__PURE__ */ B({
2132
2321
  __name: "input-select",
2133
2322
  props: {
2134
2323
  modelValue: {},
@@ -2145,10 +2334,10 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2145
2334
  },
2146
2335
  emits: ["update:modelValue", "input", "focus", "blur"],
2147
2336
  setup(e, { emit: n }) {
2148
- const t = e, o = n, l = R(t.modelValue), s = (a) => {
2337
+ const t = e, o = n, l = E(t.modelValue), s = (a) => {
2149
2338
  l.value = a, o("update:modelValue", a);
2150
2339
  };
2151
- return (a, r) => (v(), P(Fe, {
2340
+ return (a, r) => (v(), j(Fe, {
2152
2341
  modelValue: l.value,
2153
2342
  "onUpdate:modelValue": s,
2154
2343
  label: t.label,
@@ -2161,8 +2350,8 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2161
2350
  error: t.error,
2162
2351
  labelPosition: t.labelPosition
2163
2352
  }, {
2164
- control: W(({ id: i, disabled: u, placeholder: c }) => [
2165
- D(Gt, {
2353
+ control: W(({ id: i, disabled: c, placeholder: u }) => [
2354
+ P(Qt, {
2166
2355
  id: i,
2167
2356
  modelValue: l.value,
2168
2357
  "onUpdate:modelValue": [
@@ -2170,12 +2359,12 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2170
2359
  s
2171
2360
  ],
2172
2361
  options: t.options,
2173
- placeholder: c,
2174
- disabled: u,
2362
+ placeholder: u,
2363
+ disabled: c,
2175
2364
  "option-label": (d) => d.label,
2176
2365
  "option-value": (d) => d.value,
2177
2366
  clearable: ""
2178
- }, Rt({ _: 2 }, [
2367
+ }, Lt({ _: 2 }, [
2179
2368
  a.$slots.selected ? {
2180
2369
  name: "selected",
2181
2370
  fn: W(({ option: d }) => [
@@ -2195,7 +2384,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2195
2384
  _: 3
2196
2385
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "labelPosition"]));
2197
2386
  }
2198
- }), Bl = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], Ml = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Pl = /* @__PURE__ */ B({
2387
+ }), ql = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], Gl = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Yl = /* @__PURE__ */ B({
2199
2388
  __name: "slider",
2200
2389
  props: {
2201
2390
  modelValue: { default: void 0 },
@@ -2206,75 +2395,75 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2206
2395
  },
2207
2396
  emits: ["update:modelValue", "change"],
2208
2397
  setup(e, { emit: n }) {
2209
- const t = e, o = n, l = R(null), s = R(!1), a = R(!1), r = (b, g, $) => Math.min(Math.max(b, g), $), i = R(
2398
+ const t = e, o = n, l = E(null), s = E(!1), a = E(!1), r = (g, b, S) => Math.min(Math.max(g, b), S), i = E(
2210
2399
  t.range ? Array.isArray(t.modelValue) ? t.modelValue[0] : t.min : typeof t.modelValue == "number" ? t.modelValue : t.min
2211
- ), u = R(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
2400
+ ), c = E(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
2212
2401
  q(
2213
2402
  () => t.modelValue,
2214
- (b) => {
2215
- t.range ? Array.isArray(b) && (i.value = r(b[0], t.min, t.max), u.value = r(b[1], t.min, t.max)) : typeof b == "number" && (i.value = r(b, t.min, t.max));
2403
+ (g) => {
2404
+ t.range ? Array.isArray(g) && (i.value = r(g[0], t.min, t.max), c.value = r(g[1], t.min, t.max)) : typeof g == "number" && (i.value = r(g, t.min, t.max));
2216
2405
  },
2217
2406
  { immediate: !0 }
2218
2407
  );
2219
- const c = (b) => (b - t.min) / (t.max - t.min) * 100, d = C(() => ({ left: `${c(i.value)}%` })), m = C(() => ({ left: `${c(u.value)}%` })), f = C(() => {
2220
- if (!t.range) return { width: `${c(i.value)}%`, left: "0%" };
2221
- const b = c(i.value), g = c(u.value);
2222
- return { left: `${b}%`, width: `${Math.max(0, g - b)}%` };
2408
+ const u = (g) => (g - t.min) / (t.max - t.min) * 100, d = C(() => ({ left: `${u(i.value)}%` })), m = C(() => ({ left: `${u(c.value)}%` })), f = C(() => {
2409
+ if (!t.range) return { width: `${u(i.value)}%`, left: "0%" };
2410
+ const g = u(i.value), b = u(c.value);
2411
+ return { left: `${g}%`, width: `${Math.max(0, b - g)}%` };
2223
2412
  });
2224
2413
  let p = null, y = null;
2225
- const V = async (b, g) => {
2226
- p = b, y = g.pointerId, b === "low" ? s.value = !0 : a.value = !0;
2414
+ const V = async (g, b) => {
2415
+ p = g, y = b.pointerId, g === "low" ? s.value = !0 : a.value = !0;
2227
2416
  try {
2228
- g.target.setPointerCapture(g.pointerId);
2417
+ b.target.setPointerCapture(b.pointerId);
2229
2418
  } catch {
2230
2419
  }
2231
2420
  window.addEventListener("pointermove", _), window.addEventListener("pointerup", w);
2232
- }, w = (b) => {
2233
- if (y != null && b)
2421
+ }, w = (g) => {
2422
+ if (y != null && g)
2234
2423
  try {
2235
- b.target.releasePointerCapture(b.pointerId);
2424
+ g.target.releasePointerCapture(g.pointerId);
2236
2425
  } catch {
2237
2426
  }
2238
2427
  p = null, y = null, s.value = !1, a.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", w), A();
2239
- }, _ = (b) => {
2428
+ }, _ = (g) => {
2240
2429
  if (!p || !l.value) return;
2241
- const g = l.value.getBoundingClientRect(), $ = r(b.clientX - g.left, 0, g.width), z = t.min + $ / g.width * (t.max - t.min), I = Math.round(z / t.step) * t.step;
2242
- p === "low" ? t.range ? i.value = Math.min(I, u.value) : i.value = r(I, t.min, t.max) : p === "high" && (u.value = Math.max(I, i.value));
2243
- }, h = (b) => {
2430
+ const b = l.value.getBoundingClientRect(), S = r(g.clientX - b.left, 0, b.width), z = t.min + S / b.width * (t.max - t.min), I = Math.round(z / t.step) * t.step;
2431
+ p === "low" ? t.range ? i.value = Math.min(I, c.value) : i.value = r(I, t.min, t.max) : p === "high" && (c.value = Math.max(I, i.value));
2432
+ }, h = (g) => {
2244
2433
  if (!l.value) return;
2245
- const g = l.value.getBoundingClientRect(), $ = r(b.clientX - g.left, 0, g.width), z = t.min + $ / g.width * (t.max - t.min), I = Math.round(z / t.step) * t.step;
2434
+ const b = l.value.getBoundingClientRect(), S = r(g.clientX - b.left, 0, b.width), z = t.min + S / b.width * (t.max - t.min), I = Math.round(z / t.step) * t.step;
2246
2435
  if (t.range) {
2247
- const se = Math.abs(I - i.value), ie = Math.abs(I - u.value);
2248
- se <= ie ? i.value = Math.min(I, u.value) : u.value = Math.max(I, i.value);
2436
+ const se = Math.abs(I - i.value), ie = Math.abs(I - c.value);
2437
+ se <= ie ? i.value = Math.min(I, c.value) : c.value = Math.max(I, i.value);
2249
2438
  } else
2250
2439
  i.value = r(I, t.min, t.max);
2251
2440
  A();
2252
- }, O = (b, g) => {
2253
- const $ = t.step, z = g.key === "ArrowLeft" || g.key === "ArrowDown" ? -1 : g.key === "ArrowRight" || g.key === "ArrowUp" ? 1 : 0;
2441
+ }, O = (g, b) => {
2442
+ const S = t.step, z = b.key === "ArrowLeft" || b.key === "ArrowDown" ? -1 : b.key === "ArrowRight" || b.key === "ArrowUp" ? 1 : 0;
2254
2443
  if (z) {
2255
- if (b === "low") {
2256
- const I = r(i.value + z * $, t.min, t.range ? u.value : t.max);
2444
+ if (g === "low") {
2445
+ const I = r(i.value + z * S, t.min, t.range ? c.value : t.max);
2257
2446
  i.value = I, s.value = !0, setTimeout(() => s.value = !1, 800);
2258
2447
  } else {
2259
- const I = r(u.value + z * $, t.range ? i.value : t.max, t.max);
2260
- u.value = I, a.value = !0, setTimeout(() => a.value = !1, 800);
2448
+ const I = r(c.value + z * S, t.range ? i.value : t.max, t.max);
2449
+ c.value = I, a.value = !0, setTimeout(() => a.value = !1, 800);
2261
2450
  }
2262
2451
  A();
2263
2452
  }
2264
2453
  }, A = () => {
2265
- t.range ? (o("update:modelValue", [i.value, u.value]), o("change", [i.value, u.value])) : (o("update:modelValue", i.value), o("change", i.value));
2454
+ t.range ? (o("update:modelValue", [i.value, c.value]), o("change", [i.value, c.value])) : (o("update:modelValue", i.value), o("change", i.value));
2266
2455
  };
2267
- Oe(() => {
2456
+ Te(() => {
2268
2457
  window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", w);
2269
2458
  }), q([() => t.min, () => t.max], () => {
2270
- i.value = r(i.value, t.min, t.max), u.value = r(u.value, t.min, t.max);
2459
+ i.value = r(i.value, t.min, t.max), c.value = r(c.value, t.min, t.max);
2271
2460
  });
2272
2461
  const F = C(() => t.range);
2273
2462
  return he(() => {
2274
- t.modelValue === void 0 && (t.range ? o("update:modelValue", [i.value, u.value]) : o("update:modelValue", i.value));
2275
- }), (b, g) => (v(), x("div", {
2463
+ t.modelValue === void 0 && (t.range ? o("update:modelValue", [i.value, c.value]) : o("update:modelValue", i.value));
2464
+ }), (g, b) => (v(), x("div", {
2276
2465
  class: "vj-slider",
2277
- onPointerdown: g[8] || (g[8] = de(() => {
2466
+ onPointerdown: b[8] || (b[8] = de(() => {
2278
2467
  }, ["stop"]))
2279
2468
  }, [
2280
2469
  k("div", {
@@ -2291,7 +2480,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2291
2480
  key: 0,
2292
2481
  class: "tooltip",
2293
2482
  style: Z({ left: d.value.left })
2294
- }, j(i.value), 5)) : L("", !0),
2483
+ }, D(i.value), 5)) : $("", !0),
2295
2484
  k("button", {
2296
2485
  class: "handle low",
2297
2486
  style: Z(d.value),
@@ -2299,37 +2488,37 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2299
2488
  "aria-valuemax": e.max,
2300
2489
  "aria-valuenow": i.value,
2301
2490
  "aria-label": F.value ? "Lower value" : "Value",
2302
- onPointerdown: g[0] || (g[0] = de(($) => V("low", $), ["prevent"])),
2303
- onFocus: g[1] || (g[1] = ($) => s.value = !0),
2304
- onBlur: g[2] || (g[2] = ($) => s.value = !1),
2305
- onKeydown: g[3] || (g[3] = de(($) => O("low", $), ["stop", "prevent"])),
2491
+ onPointerdown: b[0] || (b[0] = de((S) => V("low", S), ["prevent"])),
2492
+ onFocus: b[1] || (b[1] = (S) => s.value = !0),
2493
+ onBlur: b[2] || (b[2] = (S) => s.value = !1),
2494
+ onKeydown: b[3] || (b[3] = de((S) => O("low", S), ["stop", "prevent"])),
2306
2495
  role: "slider",
2307
2496
  tabindex: "0"
2308
- }, null, 44, Bl),
2497
+ }, null, 44, ql),
2309
2498
  F.value && a.value ? (v(), x("div", {
2310
2499
  key: 1,
2311
2500
  class: "tooltip",
2312
2501
  style: Z({ left: m.value.left })
2313
- }, j(u.value), 5)) : L("", !0),
2502
+ }, D(c.value), 5)) : $("", !0),
2314
2503
  F.value ? (v(), x("button", {
2315
2504
  key: 2,
2316
2505
  class: "handle high",
2317
2506
  style: Z(m.value),
2318
2507
  "aria-valuemin": e.min,
2319
2508
  "aria-valuemax": e.max,
2320
- "aria-valuenow": u.value,
2509
+ "aria-valuenow": c.value,
2321
2510
  "aria-label": "Upper value",
2322
- onPointerdown: g[4] || (g[4] = de(($) => V("high", $), ["prevent"])),
2323
- onFocus: g[5] || (g[5] = ($) => a.value = !0),
2324
- onBlur: g[6] || (g[6] = ($) => a.value = !1),
2325
- onKeydown: g[7] || (g[7] = de(($) => O("high", $), ["stop", "prevent"])),
2511
+ onPointerdown: b[4] || (b[4] = de((S) => V("high", S), ["prevent"])),
2512
+ onFocus: b[5] || (b[5] = (S) => a.value = !0),
2513
+ onBlur: b[6] || (b[6] = (S) => a.value = !1),
2514
+ onKeydown: b[7] || (b[7] = de((S) => O("high", S), ["stop", "prevent"])),
2326
2515
  role: "slider",
2327
2516
  tabindex: "0"
2328
- }, null, 44, Ml)) : L("", !0)
2517
+ }, null, 44, Gl)) : $("", !0)
2329
2518
  ], 512)
2330
2519
  ], 32));
2331
2520
  }
2332
- }), Fl = /* @__PURE__ */ M(Pl, [["__scopeId", "data-v-d47c7475"]]), Dl = ["onFocusin", "onFocusout"], jl = /* @__PURE__ */ B({
2521
+ }), Jl = /* @__PURE__ */ M(Yl, [["__scopeId", "data-v-d47c7475"]]), Ql = ["onFocusin", "onFocusout"], Zl = /* @__PURE__ */ B({
2333
2522
  __name: "input-slider",
2334
2523
  props: {
2335
2524
  modelValue: {},
@@ -2348,11 +2537,11 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2348
2537
  },
2349
2538
  emits: ["update:modelValue", "input", "focus", "blur"],
2350
2539
  setup(e, { emit: n }) {
2351
- const t = e, o = n, l = t.modelValue === void 0 ? 0 : Number(t.modelValue), s = R(Number.isNaN(l) ? 0 : l), a = (r) => {
2540
+ const t = e, o = n, l = t.modelValue === void 0 ? 0 : Number(t.modelValue), s = E(Number.isNaN(l) ? 0 : l), a = (r) => {
2352
2541
  const i = typeof r == "number" ? r : Number(r ?? 0);
2353
2542
  s.value = Number.isNaN(i) ? 0 : i, o("update:modelValue", s.value), o("input", s.value);
2354
2543
  };
2355
- return (r, i) => (v(), P(Fe, {
2544
+ return (r, i) => (v(), j(Fe, {
2356
2545
  modelValue: s.value,
2357
2546
  "onUpdate:modelValue": a,
2358
2547
  label: t.label,
@@ -2364,28 +2553,28 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2364
2553
  spanRow: t.spanRow,
2365
2554
  error: t.error
2366
2555
  }, {
2367
- control: W(({ id: u, disabled: c, placeholder: d, onFocus: m, onBlur: f }) => [
2556
+ control: W(({ id: c, disabled: u, placeholder: d, onFocus: m, onBlur: f }) => [
2368
2557
  k("div", {
2369
2558
  class: "input-slider__control",
2370
2559
  onFocusin: m,
2371
2560
  onFocusout: f
2372
2561
  }, [
2373
- D(Fl, {
2374
- id: u,
2562
+ P(Jl, {
2563
+ id: c,
2375
2564
  modelValue: s.value,
2376
2565
  "onUpdate:modelValue": i[0] || (i[0] = (p) => s.value = p),
2377
2566
  min: t.min,
2378
2567
  max: t.max,
2379
2568
  step: t.step,
2380
2569
  range: !1,
2381
- disabled: c
2570
+ disabled: u
2382
2571
  }, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
2383
- ], 40, Dl)
2572
+ ], 40, Ql)
2384
2573
  ]),
2385
2574
  _: 1
2386
2575
  }, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
2387
2576
  }
2388
- }), zl = /* @__PURE__ */ M(jl, [["__scopeId", "data-v-051e6d17"]]), Il = { class: "textarea" }, Nl = ["value", "placeholder", "disabled", "rows"], Hl = /* @__PURE__ */ B({
2577
+ }), ea = /* @__PURE__ */ M(Zl, [["__scopeId", "data-v-051e6d17"]]), ta = { class: "textarea" }, na = ["value", "placeholder", "disabled", "rows"], oa = /* @__PURE__ */ B({
2389
2578
  __name: "textarea",
2390
2579
  props: /* @__PURE__ */ ue({
2391
2580
  icon: {},
@@ -2399,24 +2588,24 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2399
2588
  }),
2400
2589
  emits: /* @__PURE__ */ ue(["focus", "blur"], ["update:modelValue"]),
2401
2590
  setup(e, { emit: n }) {
2402
- const t = n, o = ye(e, "modelValue"), l = (u) => {
2403
- o.value = u.target.value;
2591
+ const t = n, o = ye(e, "modelValue"), l = (c) => {
2592
+ o.value = c.target.value;
2404
2593
  }, s = () => {
2405
2594
  o.value = "";
2406
- }, a = (u) => {
2407
- t("focus", u);
2408
- }, r = (u) => {
2409
- t("blur", u);
2595
+ }, a = (c) => {
2596
+ t("focus", c);
2597
+ }, r = (c) => {
2598
+ t("blur", c);
2410
2599
  }, i = C(() => !o.value);
2411
- return (u, c) => {
2600
+ return (c, u) => {
2412
2601
  const d = U("VjIcon");
2413
- return v(), x("div", Il, [
2414
- e.icon ? (v(), P(d, {
2602
+ return v(), x("div", ta, [
2603
+ e.icon ? (v(), j(d, {
2415
2604
  key: 0,
2416
2605
  icon: e.icon,
2417
- size: E(X).S,
2606
+ size: R(X).S,
2418
2607
  class: "textarea-icon"
2419
- }, null, 8, ["icon", "size"])) : L("", !0),
2608
+ }, null, 8, ["icon", "size"])) : $("", !0),
2420
2609
  k("textarea", {
2421
2610
  value: o.value,
2422
2611
  onInput: l,
@@ -2425,18 +2614,18 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2425
2614
  placeholder: e.placeholder,
2426
2615
  disabled: e.disabled,
2427
2616
  rows: e.rows
2428
- }, null, 40, Nl),
2429
- e.clearable && !e.disabled ? (v(), P(d, {
2617
+ }, null, 40, na),
2618
+ e.clearable && !e.disabled ? (v(), j(d, {
2430
2619
  key: 1,
2431
2620
  class: N(["clear-icon", { invisible: i.value }]),
2432
- icon: E(H).CLOSE,
2433
- size: E(X).S,
2621
+ icon: R(H).CLOSE,
2622
+ size: R(X).S,
2434
2623
  onClick: s
2435
- }, null, 8, ["class", "icon", "size"])) : L("", !0)
2624
+ }, null, 8, ["class", "icon", "size"])) : $("", !0)
2436
2625
  ]);
2437
2626
  };
2438
2627
  }
2439
- }), Yt = /* @__PURE__ */ M(Hl, [["__scopeId", "data-v-2ea43716"]]), Wl = /* @__PURE__ */ B({
2628
+ }), Zt = /* @__PURE__ */ M(oa, [["__scopeId", "data-v-2ea43716"]]), la = /* @__PURE__ */ B({
2440
2629
  __name: "input-text-area",
2441
2630
  props: {
2442
2631
  modelValue: {},
@@ -2453,13 +2642,13 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2453
2642
  },
2454
2643
  emits: ["update:modelValue", "input", "focus", "blur"],
2455
2644
  setup(e, { emit: n }) {
2456
- const t = e, o = n, l = (c) => o("update:modelValue", c), s = (c) => o("input", c), a = (c) => o("focus", c), r = (c) => o("blur", c), i = (c) => {
2457
- l(c ?? "");
2458
- }, u = C(() => {
2459
- const c = t.modelValue;
2460
- return c == null ? "" : String(c);
2645
+ const t = e, o = n, l = (u) => o("update:modelValue", u), s = (u) => o("input", u), a = (u) => o("focus", u), r = (u) => o("blur", u), i = (u) => {
2646
+ l(u ?? "");
2647
+ }, c = C(() => {
2648
+ const u = t.modelValue;
2649
+ return u == null ? "" : String(u);
2461
2650
  });
2462
- return (c, d) => (v(), P(Fe, {
2651
+ return (u, d) => (v(), j(Fe, {
2463
2652
  modelValue: t.modelValue,
2464
2653
  "onUpdate:modelValue": l,
2465
2654
  onInput: s,
@@ -2476,9 +2665,9 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2476
2665
  error: t.error
2477
2666
  }, {
2478
2667
  control: W(({ id: m, disabled: f, placeholder: p, onFocus: y, onBlur: V }) => [
2479
- D(Yt, {
2668
+ P(Zt, {
2480
2669
  id: m,
2481
- modelValue: u.value,
2670
+ modelValue: c.value,
2482
2671
  "onUpdate:modelValue": i,
2483
2672
  onFocus: (w) => {
2484
2673
  y(w), a(w);
@@ -2495,7 +2684,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2495
2684
  _: 1
2496
2685
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error"]));
2497
2686
  }
2498
- }), Ul = { class: "input" }, Xl = ["value", "type", "placeholder", "disabled"], Kl = /* @__PURE__ */ B({
2687
+ }), aa = { class: "input" }, sa = ["value", "type", "placeholder", "disabled"], ia = /* @__PURE__ */ B({
2499
2688
  __name: "input",
2500
2689
  props: /* @__PURE__ */ ue({
2501
2690
  icon: {},
@@ -2509,23 +2698,23 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2509
2698
  }),
2510
2699
  emits: /* @__PURE__ */ ue(["focus", "blur"], ["update:modelValue"]),
2511
2700
  setup(e, { emit: n }) {
2512
- const t = n, o = ye(e, "modelValue"), l = (u) => {
2513
- o.value = u.target.value;
2701
+ const t = n, o = ye(e, "modelValue"), l = (c) => {
2702
+ o.value = c.target.value;
2514
2703
  }, s = () => {
2515
2704
  o.value = "";
2516
- }, a = (u) => {
2517
- t("focus", u);
2518
- }, r = (u) => {
2519
- t("blur", u);
2705
+ }, a = (c) => {
2706
+ t("focus", c);
2707
+ }, r = (c) => {
2708
+ t("blur", c);
2520
2709
  }, i = C(() => !o.value);
2521
- return (u, c) => {
2710
+ return (c, u) => {
2522
2711
  const d = U("VjIcon");
2523
- return v(), x("div", Ul, [
2524
- e.icon ? (v(), P(d, {
2712
+ return v(), x("div", aa, [
2713
+ e.icon ? (v(), j(d, {
2525
2714
  key: 0,
2526
2715
  icon: e.icon,
2527
- size: E(X).S
2528
- }, null, 8, ["icon", "size"])) : L("", !0),
2716
+ size: R(X).S
2717
+ }, null, 8, ["icon", "size"])) : $("", !0),
2529
2718
  k("input", {
2530
2719
  value: o.value,
2531
2720
  onInput: l,
@@ -2534,18 +2723,18 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2534
2723
  type: e.type,
2535
2724
  placeholder: e.placeholder,
2536
2725
  disabled: e.disabled
2537
- }, null, 40, Xl),
2538
- e.clearable && !e.disabled ? (v(), P(d, {
2726
+ }, null, 40, sa),
2727
+ e.clearable && !e.disabled ? (v(), j(d, {
2539
2728
  key: 1,
2540
2729
  class: N(["clear-icon", { invisible: i.value }]),
2541
- icon: E(H).CLOSE,
2542
- size: E(X).S,
2730
+ icon: R(H).CLOSE,
2731
+ size: R(X).S,
2543
2732
  onClick: s
2544
- }, null, 8, ["class", "icon", "size"])) : L("", !0)
2733
+ }, null, 8, ["class", "icon", "size"])) : $("", !0)
2545
2734
  ]);
2546
2735
  };
2547
2736
  }
2548
- }), Jt = /* @__PURE__ */ M(Kl, [["__scopeId", "data-v-3187d49c"]]), ql = /* @__PURE__ */ B({
2737
+ }), en = /* @__PURE__ */ M(ia, [["__scopeId", "data-v-3187d49c"]]), ra = /* @__PURE__ */ B({
2549
2738
  __name: "input-text",
2550
2739
  props: {
2551
2740
  modelValue: {},
@@ -2565,7 +2754,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2565
2754
  const t = n, o = (i) => t("update:modelValue", i), l = (i) => t("input", i), s = (i) => t("focus", i), a = (i) => t("blur", i), r = (i) => {
2566
2755
  o(i ?? "");
2567
2756
  };
2568
- return (i, u) => (v(), P(Fe, {
2757
+ return (i, c) => (v(), j(Fe, {
2569
2758
  modelValue: e.modelValue,
2570
2759
  "onUpdate:modelValue": o,
2571
2760
  onInput: l,
@@ -2581,9 +2770,9 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2581
2770
  error: e.error,
2582
2771
  labelPosition: e.labelPosition
2583
2772
  }, {
2584
- control: W(({ id: c, disabled: d, placeholder: m, onFocus: f, onBlur: p }) => [
2585
- D(Jt, {
2586
- id: c,
2773
+ control: W(({ id: u, disabled: d, placeholder: m, onFocus: f, onBlur: p }) => [
2774
+ P(en, {
2775
+ id: u,
2587
2776
  modelValue: e.modelValue,
2588
2777
  type: e.type,
2589
2778
  "onUpdate:modelValue": r,
@@ -2601,7 +2790,7 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2601
2790
  _: 1
2602
2791
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "labelPosition"]));
2603
2792
  }
2604
- }), Gl = { class: "shell-navigation-item" }, Yl = { class: "shell-navigation-item-label" }, Jl = /* @__PURE__ */ B({
2793
+ }), ca = { class: "shell-navigation-item" }, ua = { class: "shell-navigation-item-label" }, da = /* @__PURE__ */ B({
2605
2794
  __name: "shell-navigation-item",
2606
2795
  props: {
2607
2796
  label: {},
@@ -2611,27 +2800,27 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2611
2800
  setup(e) {
2612
2801
  return (n, t) => {
2613
2802
  const o = U("VjIcon"), l = U("RouterLink");
2614
- return v(), x("li", Gl, [
2615
- D(l, {
2803
+ return v(), x("li", ca, [
2804
+ P(l, {
2616
2805
  to: e.to,
2617
2806
  class: "shell-navigation-item-link"
2618
2807
  }, {
2619
2808
  default: W(() => [
2620
- D(o, {
2809
+ P(o, {
2621
2810
  icon: e.icon,
2622
2811
  class: "shell-navigation-item-icon"
2623
2812
  }, null, 8, ["icon"]),
2624
- k("label", Yl, j(e.label), 1)
2813
+ k("label", ua, D(e.label), 1)
2625
2814
  ]),
2626
2815
  _: 1
2627
2816
  }, 8, ["to"])
2628
2817
  ]);
2629
2818
  };
2630
2819
  }
2631
- }), Ql = /* @__PURE__ */ M(Jl, [["__scopeId", "data-v-d5c087be"]]), Zl = { class: "navigation-top" }, ea = { class: "navigation-bottom" }, ta = /* @__PURE__ */ B({
2820
+ }), fa = /* @__PURE__ */ M(da, [["__scopeId", "data-v-d5c087be"]]), ma = { class: "navigation-top" }, va = { class: "navigation-bottom" }, pa = /* @__PURE__ */ B({
2632
2821
  __name: "shell-navigation",
2633
2822
  setup(e) {
2634
- const n = St(fa, va());
2823
+ const n = $t(_a, ka());
2635
2824
  console.log("navigationProvider", n);
2636
2825
  const t = C(() => n.showLabels);
2637
2826
  return (o, l) => {
@@ -2639,27 +2828,27 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2639
2828
  return v(), x("nav", {
2640
2829
  class: N(["shell-navigation", { "with-labels": t.value }])
2641
2830
  }, [
2642
- k("ul", Zl, [
2643
- E(n).hasParent && E(n).backRoute.value ? (v(), P(s, {
2831
+ k("ul", ma, [
2832
+ R(n).hasParent && R(n).backRoute.value ? (v(), j(s, {
2644
2833
  key: 0,
2645
- to: E(n).backRoute.value,
2834
+ to: R(n).backRoute.value,
2646
2835
  label: "BACK",
2647
- icon: E(H).HOME
2648
- }, null, 8, ["to", "icon"])) : L("", !0),
2649
- (v(!0), x(be, null, Xe(E(n).childRoutes.value, (a) => (v(), P(s, {
2836
+ icon: R(H).HOME
2837
+ }, null, 8, ["to", "icon"])) : $("", !0),
2838
+ (v(!0), x(ge, null, Xe(R(n).childRoutes.value, (a) => (v(), j(s, {
2650
2839
  key: a.name,
2651
2840
  to: { name: a.name },
2652
2841
  label: a.meta.label,
2653
- icon: a.meta.icon ?? E(H).HOME
2842
+ icon: a.meta.icon ?? R(H).HOME
2654
2843
  }, null, 8, ["to", "label", "icon"]))), 128))
2655
2844
  ]),
2656
- k("ul", ea, [
2845
+ k("ul", va, [
2657
2846
  T(o.$slots, "fixed", {}, void 0, !0)
2658
2847
  ])
2659
2848
  ], 2);
2660
2849
  };
2661
2850
  }
2662
- }), Qt = /* @__PURE__ */ M(ta, [["__scopeId", "data-v-0f990f5b"]]), na = { class: "shell" }, oa = { class: "shell-title" }, la = ["src"], aa = { class: "header-actions" }, sa = /* @__PURE__ */ B({
2851
+ }), tn = /* @__PURE__ */ M(pa, [["__scopeId", "data-v-0f990f5b"]]), ha = { class: "shell" }, ga = { class: "shell-title" }, ba = ["src"], ya = { class: "header-actions" }, wa = /* @__PURE__ */ B({
2663
2852
  __name: "shell",
2664
2853
  props: {
2665
2854
  title: {},
@@ -2667,204 +2856,88 @@ const hl = ["data-colspan", "data-newline"], bl = ["for"], gl = { class: "form-f
2667
2856
  showNavigation: { type: Boolean }
2668
2857
  },
2669
2858
  setup(e) {
2670
- const n = ya(), t = Je(n, "asideComponent"), o = Je(n, "hasAside"), l = Je(n, "asideData"), s = C(() => {
2859
+ const n = Sa(), t = Je(n, "asideComponent"), o = Je(n, "hasAside"), l = Je(n, "asideData"), s = C(() => {
2671
2860
  const a = l.value;
2672
2861
  return a && typeof a == "object" ? a : {};
2673
2862
  });
2674
2863
  return (a, r) => {
2675
2864
  const i = U("router-view");
2676
- return v(), x("div", na, [
2865
+ return v(), x("div", ha, [
2677
2866
  k("header", null, [
2678
- k("span", oa, [
2867
+ k("span", ga, [
2679
2868
  e.icon ? (v(), x("img", {
2680
2869
  key: 0,
2681
2870
  src: e.icon,
2682
2871
  alt: "Shell Icon"
2683
- }, null, 8, la)) : L("", !0),
2684
- k("h1", null, j(e.title), 1)
2872
+ }, null, 8, ba)) : $("", !0),
2873
+ k("h1", null, D(e.title), 1)
2685
2874
  ]),
2686
- k("div", aa, [
2875
+ k("div", ya, [
2687
2876
  T(a.$slots, "header-actions", {}, void 0, !0)
2688
2877
  ])
2689
2878
  ]),
2690
2879
  k("div", {
2691
2880
  class: N(["shell-content", { "with-navigation": e.showNavigation }])
2692
2881
  }, [
2693
- e.showNavigation ? (v(), P(E(Qt), { key: 0 })) : L("", !0),
2882
+ e.showNavigation ? (v(), j(R(tn), { key: 0 })) : $("", !0),
2694
2883
  k("main", null, [
2695
2884
  T(a.$slots, "default", {}, () => [
2696
- D(i)
2885
+ P(i)
2697
2886
  ], !0)
2698
2887
  ]),
2699
2888
  k("aside", {
2700
2889
  class: N({ "aside-visible": o.value })
2701
2890
  }, [
2702
- (v(), P(Et(t.value), cn(un(s.value)), null, 16))
2891
+ (v(), j(St(t.value), fn(mn(s.value)), null, 16))
2703
2892
  ], 2)
2704
2893
  ], 2),
2705
2894
  r[0] || (r[0] = k("footer", null, null, -1))
2706
2895
  ]);
2707
2896
  };
2708
2897
  }
2709
- }), ia = /* @__PURE__ */ M(sa, [["__scopeId", "data-v-336560c3"]]), ra = {
2710
- mounted(e) {
2711
- e.classList.add("compact");
2712
- },
2713
- unmounted(e) {
2714
- e.classList.remove("compact");
2715
- }
2716
- }, Zt = [
2717
- 'input:not([disabled]):not([type="hidden"])',
2718
- "select:not([disabled])",
2719
- "textarea:not([disabled])",
2720
- "button:not([disabled])",
2721
- "a[href]",
2722
- '[tabindex]:not([tabindex="-1"])',
2723
- '[contenteditable="true"]'
2724
- ].join(", ");
2725
- function ca(e) {
2726
- const n = e.querySelectorAll(Zt);
2727
- for (const t of Array.from(n))
2728
- if (t.offsetParent !== null || t.getClientRects().length > 0)
2729
- return t;
2730
- return null;
2731
- }
2732
- const ua = {
2733
- mounted(e, n) {
2734
- const t = typeof n.value == "number" ? n.value : 0, o = () => {
2735
- if (e.matches(Zt)) {
2736
- e.focus();
2737
- return;
2738
- }
2739
- const l = ca(e);
2740
- l && l.focus();
2741
- };
2742
- t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
2743
- }
2744
- };
2745
- class it {
2746
- static _instance = null;
2747
- observer = null;
2748
- targets = /* @__PURE__ */ new Map();
2749
- constructor() {
2750
- this.init();
2751
- }
2752
- static get instance() {
2753
- return this._instance || (this._instance = new it()), this._instance;
2754
- }
2755
- init() {
2756
- typeof window < "u" && "ResizeObserver" in window ? this.observer = new ResizeObserver((n) => {
2757
- for (const t of n) this.handleEntry(t);
2758
- }) : typeof window < "u" && globalThis.addEventListener("resize", this.handleWindowResize);
2759
- }
2760
- handleWindowResize = () => {
2761
- for (const n of this.targets.keys()) {
2762
- const t = n.getBoundingClientRect(), o = {
2763
- target: n,
2764
- contentRect: t
2765
- };
2766
- this.handleEntry(o);
2767
- }
2768
- };
2769
- handleEntry(n) {
2770
- const t = this.targets.get(n.target);
2771
- if (!t) return;
2772
- const o = n.contentRect.width, l = n.contentRect.height, s = n.target;
2773
- for (const a of t.callbacks)
2774
- try {
2775
- a(o, l, s);
2776
- } catch (r) {
2777
- console.error("resize callback error", r);
2778
- }
2779
- if (t.breakpoints) {
2780
- const a = Object.keys(t.breakpoints).map((i) => Number(i)).filter((i) => !Number.isNaN(i)).sort((i, u) => i - u);
2781
- let r;
2782
- for (const i of a)
2783
- o >= i && (r = t.breakpoints[i]);
2784
- r !== t.currentClass && (t.currentClass && n.target.classList.remove(t.currentClass), r && n.target.classList.add(r), t.currentClass = r);
2785
- }
2786
- }
2787
- observe(n, t, o) {
2788
- const l = this.targets.get(n);
2789
- if (l)
2790
- t && l.callbacks.add(t), o?.breakpoints && (l.breakpoints = o.breakpoints);
2791
- else {
2792
- const s = /* @__PURE__ */ new Set();
2793
- t && s.add(t), this.targets.set(n, { callbacks: s, breakpoints: o?.breakpoints }), this.observer && this.observer.observe(n);
2794
- }
2795
- if (o?.immediate) {
2796
- const s = n.getBoundingClientRect(), a = { target: n, contentRect: s };
2797
- if (this.handleEntry(a), t) {
2798
- const r = s.width, i = s.height;
2799
- t(r, i, n);
2800
- }
2801
- }
2802
- }
2803
- unobserve(n, t) {
2804
- const o = this.targets.get(n);
2805
- o && (t && o.callbacks.delete(t), (!t || o.callbacks.size === 0) && (this.targets.delete(n), this.observer && this.observer.unobserve(n), o.currentClass && n.classList && n.classList.remove(o.currentClass)));
2806
- }
2807
- }
2808
- const Ve = it.instance, da = {
2809
- mounted(e, n) {
2810
- const t = n.value, o = typeof t == "function" ? t : t?.onResize, l = typeof t == "object" && t?.breakpoints ? t.breakpoints : void 0, s = typeof t == "object" && !!t?.immediate, a = e;
2811
- a.__resize_cb = o, a.__resize_breakpoints = l, o && Ve.observe(e, o, { breakpoints: l, immediate: s });
2812
- },
2813
- updated(e, n) {
2814
- const t = e, o = t.__resize_cb, l = t.__resize_breakpoints, s = n.value, a = typeof s == "function" ? s : s?.onResize, r = typeof s == "object" && s?.breakpoints ? s.breakpoints : void 0;
2815
- if (o !== a) {
2816
- o && Ve.unobserve(e, o), a && Ve.observe(e, a, { breakpoints: r, immediate: !!(s && typeof s == "object" && s.immediate) }), t.__resize_cb = a, t.__resize_breakpoints = r;
2817
- return;
2818
- }
2819
- JSON.stringify(l || {}) !== JSON.stringify(r || {}) && (o && Ve.unobserve(e, o), a && Ve.observe(e, a, { breakpoints: r, immediate: !0 }), t.__resize_breakpoints = r);
2820
- },
2821
- unmounted(e) {
2822
- const n = e, t = n.__resize_cb;
2823
- t && Ve.unobserve(e, t), delete n.__resize_cb, delete n.__resize_breakpoints;
2824
- }
2825
- }, fa = "navigationProvider";
2826
- function ma(e) {
2898
+ }), xa = /* @__PURE__ */ M(wa, [["__scopeId", "data-v-336560c3"]]), _a = "navigationProvider";
2899
+ function Va(e) {
2827
2900
  return !!e.meta && "icon" in e.meta && "label" in e.meta;
2828
2901
  }
2829
- const va = () => {
2830
- const e = vn(), n = pn(), t = !0, o = C(() => {
2831
- const c = e.getRoutes();
2832
- return c.filter((d) => d.path !== "/" && !c.some((m) => m.children?.some((f) => f.name === d.name)));
2902
+ const ka = () => {
2903
+ const e = gn(), n = bn(), t = !0, o = C(() => {
2904
+ const u = e.getRoutes();
2905
+ return u.filter((d) => d.path !== "/" && !u.some((m) => m.children?.some((f) => f.name === d.name)));
2833
2906
  }), l = C(() => {
2834
- const c = n.matched;
2835
- return c.length ? c[c.length - 1] : null;
2907
+ const u = n.matched;
2908
+ return u.length ? u[u.length - 1] : null;
2836
2909
  }), s = C(() => {
2837
- const c = n.matched;
2838
- return c.length > 1 ? c[c.length - 2] : null;
2910
+ const u = n.matched;
2911
+ return u.length > 1 ? u[u.length - 2] : null;
2839
2912
  }), a = C(() => !!(l.value?.children?.length || s.value)), r = C(() => l.value?.children?.length ? l.value : s.value?.children?.length ? s.value : null), i = C(() => {
2840
2913
  if (!r.value) return null;
2841
2914
  const d = e.getRoutes().find((m) => m.children?.some((f) => f.name === r.value.name));
2842
2915
  return d ? { name: d.name } : { path: "/" };
2843
- }), u = C(() => {
2844
- let c = [];
2845
- return n.path === "/" ? c = o.value : l.value?.children?.length ? c = l.value.children : s.value?.children?.length ? c = s.value.children : c = o.value, c.filter(ma);
2916
+ }), c = C(() => {
2917
+ let u = [];
2918
+ return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : s.value?.children?.length ? u = s.value.children : u = o.value, u.filter(Va);
2846
2919
  });
2847
2920
  return {
2848
2921
  hasParent: a,
2849
2922
  backRoute: i,
2850
- childRoutes: u,
2923
+ childRoutes: c,
2851
2924
  showLabels: t
2852
2925
  };
2853
- }, Sa = (e, n = !0, t = void 0) => {
2854
- const o = dn(e) ? e : R(e), l = !!t, s = R(t || null);
2926
+ }, Fa = (e, n = !0, t = void 0) => {
2927
+ const o = vn(e) ? e : E(e), l = !!t, s = E(t || null);
2855
2928
  return {
2856
2929
  hasParent: l,
2857
2930
  backRoute: s,
2858
2931
  childRoutes: o,
2859
2932
  showLabels: n
2860
2933
  };
2861
- }, rt = R(!1), ct = R(null), ut = R(null);
2934
+ }, rt = E(!1), ct = E(null), ut = E(null);
2862
2935
  let Ce = [];
2863
- const en = (e) => (Ce.push(e), () => {
2936
+ const nn = (e) => (Ce.push(e), () => {
2864
2937
  Ce = Ce.filter((n) => n !== e);
2865
- }), pa = (e, n) => (Ce = [], ct.value = e, ut.value = n ?? null, rt.value = !0, {
2866
- onClose: (t) => en(t)
2867
- }), ha = (e) => {
2938
+ }), Ca = (e, n) => (Ce = [], ct.value = e, ut.value = n ?? null, rt.value = !0, {
2939
+ onClose: (t) => nn(t)
2940
+ }), Ea = (e) => {
2868
2941
  try {
2869
2942
  Ce.forEach((n) => {
2870
2943
  try {
@@ -2874,26 +2947,26 @@ const en = (e) => (Ce.push(e), () => {
2874
2947
  }
2875
2948
  });
2876
2949
  } finally {
2877
- rt.value = !1, setTimeout(ba, 1e3);
2950
+ rt.value = !1, setTimeout(Ra, 1e3);
2878
2951
  }
2879
- }, ba = () => {
2952
+ }, Ra = () => {
2880
2953
  Ce = [], ct.value = null, ut.value = null;
2881
- }, ga = {
2954
+ }, La = {
2882
2955
  asideComponent: ct,
2883
2956
  asideData: ut,
2884
- showAside: pa,
2885
- closeAside: ha,
2886
- onAsideClose: en,
2957
+ showAside: Ca,
2958
+ closeAside: Ea,
2959
+ onAsideClose: nn,
2887
2960
  hasAside: rt
2888
- }, ya = () => ga, $a = (e, n) => {
2961
+ }, Sa = () => La, Da = (e, n) => {
2889
2962
  let t = null;
2890
2963
  return (...l) => {
2891
2964
  t && clearTimeout(t), t = setTimeout(() => {
2892
2965
  e(...l);
2893
2966
  }, n);
2894
2967
  };
2895
- }, La = () => {
2896
- const e = R(!1), n = R(null), t = () => {
2968
+ }, za = () => {
2969
+ const e = E(!1), n = E(null), t = () => {
2897
2970
  n.value = null;
2898
2971
  };
2899
2972
  class o {
@@ -2933,7 +3006,7 @@ const en = (e) => (Ce.push(e), () => {
2933
3006
  }
2934
3007
  return { run: l, running: e, error: n, clearError: t };
2935
3008
  };
2936
- class wa {
3009
+ class $a {
2937
3010
  containerElement = null;
2938
3011
  apps = [];
2939
3012
  ensureContainer() {
@@ -2946,12 +3019,12 @@ class wa {
2946
3019
  let s = !1;
2947
3020
  const a = () => {
2948
3021
  s || (s = !0, setTimeout(() => {
2949
- const i = this.apps.find((u) => u.element === l);
2950
- i && (i.app.unmount(), this.apps = this.apps.filter((u) => u !== i)), l.remove();
3022
+ const i = this.apps.find((c) => c.element === l);
3023
+ i && (i.app.unmount(), this.apps = this.apps.filter((c) => c !== i)), l.remove();
2951
3024
  }, 300));
2952
- }, r = fn({
3025
+ }, r = pn({
2953
3026
  setup() {
2954
- return () => mn(At, {
3027
+ return () => hn(Tt, {
2955
3028
  modelValue: !0,
2956
3029
  title: n.title,
2957
3030
  message: n.message,
@@ -2975,7 +3048,7 @@ class wa {
2975
3048
  });
2976
3049
  }
2977
3050
  });
2978
- r.component("VjCard", Lt), r.component("VjIcon", Te), r.component("VjButton", $t), r.mount(l), this.apps.push({ app: r, element: l });
3051
+ r.component("VjCard", Ot), r.component("VjIcon", Be), r.component("VjButton", At), r.mount(l), this.apps.push({ app: r, element: l });
2979
3052
  });
2980
3053
  }
2981
3054
  confirm(n) {
@@ -3003,61 +3076,62 @@ class wa {
3003
3076
  }), this.apps = [];
3004
3077
  }
3005
3078
  }
3006
- const xa = new wa();
3007
- function Aa() {
3008
- return xa;
3079
+ const Aa = new $a();
3080
+ function Ia() {
3081
+ return Aa;
3009
3082
  }
3010
- const Oa = {
3083
+ const Na = {
3011
3084
  install(e) {
3012
- e.component("VjButton", $t), e.component("VjButtonBar", xn), e.component("VjCard", Lt), e.component("VjCarousel", Bn), e.component("VjDotMenu", To), e.component("VjIcon", Te), e.component("VjLinkButton", Mo), e.component("VjMenu", Ho), e.component("VjMenuAction", jo), e.component("VjPage", Jo), e.component("VjPaginator", el), e.component("VjTab", vl), e.component("VjTabView", fl), e.component("VjDialog", At), e.component("VjInput", Jt), e.component("VjSelect", Gt), e.component("VjTextArea", Yt), e.component("VjFormField", Fe), e.component("VjFormLayout", Vl), e.component("VjFormSection", Rl), e.component("VjInputText", ql), e.component("VjInputTextArea", Wl), e.component("VjInputSelect", Tl), e.component("VjInputSlider", zl), e.component("VjShellNavigation", Qt), e.component("VjShellNavigationItem", Ql), e.component("VjShell", ia), e.component("VjSearchField", ll), e.component("VjSeparator", sl), e.directive("focus", ua), e.directive("resize", da), e.directive("compact", ra);
3085
+ e.component("VjButton", At), e.component("VjButtonBar", kn), e.component("VjCard", Ot), e.component("VjCarousel", jn), e.component("VjDotMenu", Po), e.component("VjIcon", Be), e.component("VjLinkButton", Fo), e.component("VjMenu", Xo), e.component("VjMenuAction", No), e.component("VjPage", dl), e.component("VjPaginator", vl), e.component("VjTab", Ll), e.component("VjTabView", El), e.component("VjDialog", Tt), e.component("VjInput", en), e.component("VjSelect", Qt), e.component("VjTextArea", Zt), e.component("VjFormField", Fe), e.component("VjFormLayout", jl), e.component("VjFormSection", zl), e.component("VjInputText", ra), e.component("VjInputTextArea", la), e.component("VjInputSelect", Kl), e.component("VjInputSlider", ea), e.component("VjShellNavigation", tn), e.component("VjShellNavigationItem", fa), e.component("VjShell", xa), e.component("VjSearchField", bl), e.component("VjSeparator", wl), e.directive("focus", Go), e.directive("resize", Yo), e.directive("compact", Ko);
3013
3086
  }
3014
3087
  };
3015
3088
  export {
3016
- $t as Button,
3017
- xn as ButtonBar,
3018
- Lt as Card,
3019
- Bn as Carousel,
3020
- Ca as Checkbox,
3021
- At as Dialog,
3022
- To as DotMenu,
3089
+ At as Button,
3090
+ kn as ButtonBar,
3091
+ Ot as Card,
3092
+ jn as Carousel,
3093
+ Ma as Checkbox,
3094
+ Tt as Dialog,
3095
+ Po as DotMenu,
3023
3096
  Fe as FormField,
3024
- Vl as FormLayout,
3025
- Rl as FormSection,
3026
- Te as Icon,
3097
+ jl as FormLayout,
3098
+ zl as FormSection,
3099
+ Be as Icon,
3027
3100
  H as IconNames,
3028
3101
  X as IconSize,
3029
- Jt as Input,
3030
- Tl as InputSelect,
3031
- zl as InputSlider,
3032
- ql as InputText,
3033
- Wl as InputTextArea,
3034
- Mo as LinkButton,
3035
- Ho as Menu,
3036
- jo as MenuAction,
3037
- Jo as Page,
3038
- el as Paginator,
3039
- ll as SearchField,
3040
- Gt as Select,
3041
- sl as Separator,
3042
- ia as Shell,
3043
- Qt as ShellNavigation,
3044
- Ql as ShellNavigationItem,
3045
- vl as Tab,
3046
- fl as TabView,
3047
- Yt as TextArea,
3048
- Oa as VjComponents,
3049
- fa as VjNavigationProviderKey,
3050
- ra as compactDirective,
3051
- Ra as configureVueUI,
3052
- xa as dialogService,
3053
- pl as getVueUIConfig,
3054
- Ea as resetVueUIConfig,
3055
- ya as useAsideService,
3056
- $a as useDebounce,
3057
- Aa as useDialog,
3058
- La as useFlow,
3059
- va as useRouterNavigationProvider,
3060
- Sa as useStaticNavigationProvider,
3061
- ua as vFocusFirst,
3062
- da as vResize
3102
+ en as Input,
3103
+ Kl as InputSelect,
3104
+ ea as InputSlider,
3105
+ ra as InputText,
3106
+ la as InputTextArea,
3107
+ Fo as LinkButton,
3108
+ Xo as Menu,
3109
+ No as MenuAction,
3110
+ dl as Page,
3111
+ vl as Paginator,
3112
+ bl as SearchField,
3113
+ Qt as Select,
3114
+ wl as Separator,
3115
+ xa as Shell,
3116
+ tn as ShellNavigation,
3117
+ fa as ShellNavigationItem,
3118
+ Ll as Tab,
3119
+ El as TabView,
3120
+ Zt as TextArea,
3121
+ Na as VjComponents,
3122
+ _a as VjNavigationProviderKey,
3123
+ Ko as compactDirective,
3124
+ Pa as configureVueUI,
3125
+ Aa as dialogService,
3126
+ Sl as getVueUIConfig,
3127
+ ja as resetVueUIConfig,
3128
+ Sa as useAsideService,
3129
+ Da as useDebounce,
3130
+ Ia as useDialog,
3131
+ za as useFlow,
3132
+ ka as useRouterNavigationProvider,
3133
+ Fa as useStaticNavigationProvider,
3134
+ Go as vFocusFirst,
3135
+ ol as vLoading,
3136
+ Yo as vResize
3063
3137
  };