@vanjana/vue-ui 0.1.105 → 0.1.110

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,36 +1,36 @@
1
- import { createElementBlock as g, openBlock as f, createElementVNode as x, renderSlot as j, defineComponent as T, computed as C, normalizeClass as z, createBlock as M, createCommentVNode as L, createTextVNode as Ue, unref as S, toDisplayString as B, useSlots as Wt, ref as E, onMounted as Be, nextTick as me, onBeforeUnmount as Re, watch as X, resolveComponent as K, createVNode as O, normalizeStyle as G, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as N, provide as Nt, Teleport as Pe, Transition as Oe, withCtx as W, createSlots as rt, resolveDynamicComponent as Kt, mergeProps as yn, shallowRef as wn, getCurrentScope as _n, onScopeDispose as xn, shallowReadonly as Ve, render as St, resolveDirective as Xt, withDirectives as ct, withKeys as lt, inject as ut, vModelText as kn, toRef as nt, normalizeProps as Vn, guardReactiveProps as Cn, TransitionGroup as En, isRef as Ln, createApp as $n, h as Sn } from "vue";
2
- import { useRouter as Rn, useRoute as Tn } from "vue-router";
3
- const D = (e, n) => {
1
+ import { createElementBlock as g, openBlock as v, createElementVNode as x, renderSlot as M, defineComponent as R, computed as C, normalizeClass as I, createBlock as F, createCommentVNode as $, createTextVNode as Ue, unref as S, toDisplayString as B, useSlots as Ut, ref as E, onMounted as Re, nextTick as me, onBeforeUnmount as Te, watch as N, resolveComponent as X, createVNode as D, normalizeStyle as q, Fragment as Z, renderList as ge, mergeModels as ee, useModel as ve, withModifiers as K, provide as Kt, Teleport as Pe, Transition as De, withCtx as U, createSlots as rt, resolveDynamicComponent as Nt, mergeProps as yn, shallowRef as wn, getCurrentScope as _n, onScopeDispose as xn, shallowReadonly as Ve, render as St, resolveDirective as Xt, withDirectives as ct, withKeys as je, inject as ut, onUnmounted as kn, vModelText as Vn, toRef as ot, normalizeProps as Cn, guardReactiveProps as En, TransitionGroup as Ln, isRef as $n, createApp as Sn, h as Rn } from "vue";
2
+ import { useRouter as Tn, useRoute as An } from "vue-router";
3
+ const O = (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
- }, An = {}, On = { class: "button-bar" }, Dn = { class: "left" }, Bn = { class: "right" };
8
+ }, On = {}, Dn = { class: "button-bar" }, jn = { class: "left" }, Bn = { class: "right" };
9
9
  function Pn(e, n) {
10
- return f(), g("div", On, [
11
- x("div", Dn, [
12
- j(e.$slots, "left", {}, void 0, !0)
10
+ return v(), g("div", Dn, [
11
+ x("div", jn, [
12
+ M(e.$slots, "left", {}, void 0, !0)
13
13
  ]),
14
14
  x("div", Bn, [
15
- j(e.$slots, "default", {}, void 0, !0)
15
+ M(e.$slots, "default", {}, void 0, !0)
16
16
  ])
17
17
  ]);
18
18
  }
19
- const jn = /* @__PURE__ */ D(An, [["render", Pn], ["__scopeId", "data-v-45a6ed1a"]]);
20
- var F = /* @__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.LOGOUT = "fa-solid fa-right-from-bracket", 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-circle", 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.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", 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.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", 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.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(F || {}), q = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(q || {});
21
- const be = /* @__PURE__ */ T({
19
+ const Mn = /* @__PURE__ */ O(On, [["render", Pn], ["__scopeId", "data-v-45a6ed1a"]]);
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.LOGOUT = "fa-solid fa-right-from-bracket", 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-circle", 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.SAVE = "fa-regular fa-floppy-disk", e.COPY = "fa-regular fa-copy", e.DUPLICATE = "fa-regular fa-clone", e.CUT = "fa-solid fa-scissors", e.PASTE = "fa-regular fa-clipboard", e.REFRESH = "fa-solid fa-rotate-right", e.RELOAD = "fa-solid fa-arrows-rotate", e.PRINT = "fa-solid fa-print", e.FILTER = "fa-solid fa-filter", e.UNDO = "fa-solid fa-rotate-left", e.REDO = "fa-solid fa-rotate-right", e.PIN = "fa-solid fa-thumbtack", e.EXPAND = "fa-solid fa-expand", e.COLLAPSE = "fa-solid fa-compress", e.EXTERNAL_LINK = "fa-solid fa-arrow-up-right-from-square", e.INFO = "fa-solid fa-circle-info", e.WARNING = "fa-solid fa-triangle-exclamation", e.ERROR = "fa-regular fa-circle-xmark", e.CHECK = "fa-regular fa-circle-check", e.LOVE = "fa-regular fa-heart", e.STAR = "fa-regular fa-star", e.STAR_FILLED = "fa-solid fa-star", e.HELP = "fa-regular fa-circle-question", e.QUESTION = "fa-solid fa-question", 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.ATTACHMENT = "fa-solid fa-paperclip", e.LINK = "fa-solid fa-link", e.TAG = "fa-solid fa-tag", e.TAGS = "fa-solid fa-tags", 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.COMMENT = "fa-regular fa-comment", e.COMMENTS = "fa-regular fa-comments", e.CALENDAR = "fa-regular fa-calendar", e.CALENDAR_DAY = "fa-solid fa-calendar-day", e.CLOCK = "fa-regular fa-clock", e.HISTORY = "fa-solid fa-clock-rotate-left", e.LOCK = "fa-solid fa-lock", e.UNLOCK = "fa-solid fa-lock-open", e.EYE = "fa-regular fa-eye", e.EYE_SLASH = "fa-regular fa-eye-slash", e.SHIELD = "fa-solid fa-shield", e.LIST = "fa-solid fa-list", e.GRID = "fa-solid fa-grid", e.TABLE = "fa-solid fa-table", e.COLUMNS = "fa-solid fa-columns", e.BELL = "fa-regular fa-bell", e.IMAGE = "fa-regular fa-image", e))(H || {}), G = /* @__PURE__ */ ((e) => (e.S = "icon-size-s", e.M = "icon-size-m", e.L = "icon-size-l", e))(G || {});
21
+ const be = /* @__PURE__ */ R({
22
22
  __name: "icon",
23
23
  props: {
24
24
  icon: {},
25
25
  size: {}
26
26
  },
27
27
  setup(e) {
28
- const n = e, t = q.M, o = C(() => `${n.icon} ${n.size ?? t}`);
29
- return (l, a) => (f(), g("i", {
30
- class: z(o.value)
28
+ const n = e, t = G.M, o = C(() => `${n.icon} ${n.size ?? t}`);
29
+ return (l, a) => (v(), g("i", {
30
+ class: I(o.value)
31
31
  }, null, 2));
32
32
  }
33
- }), Mn = ["disabled"], Fn = /* @__PURE__ */ T({
33
+ }), Fn = ["disabled"], zn = /* @__PURE__ */ R({
34
34
  __name: "button",
35
35
  props: {
36
36
  label: {},
@@ -41,51 +41,51 @@ const be = /* @__PURE__ */ T({
41
41
  disabled: { type: Boolean }
42
42
  },
43
43
  setup(e) {
44
- const n = e, t = q.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = C(() => !n.label && !!n.icon);
45
- return (a, i) => (f(), g("button", {
46
- class: z(["button", o.value, { "icon-only": l.value }]),
44
+ const n = e, t = G.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary"), l = C(() => !n.label && !!n.icon);
45
+ return (a, i) => (v(), g("button", {
46
+ class: I(["button", o.value, { "icon-only": l.value }]),
47
47
  disabled: e.disabled
48
48
  }, [
49
- e.icon ? (f(), M(be, {
49
+ e.icon ? (v(), F(be, {
50
50
  key: 0,
51
51
  icon: e.icon,
52
52
  size: S(t)
53
- }, null, 8, ["icon", "size"])) : L("", !0),
53
+ }, null, 8, ["icon", "size"])) : $("", !0),
54
54
  Ue(" " + B(e.label), 1)
55
- ], 10, Mn));
55
+ ], 10, Fn));
56
56
  }
57
- }), dt = /* @__PURE__ */ D(Fn, [["__scopeId", "data-v-f31c33cf"]]), zn = {
57
+ }), dt = /* @__PURE__ */ O(zn, [["__scopeId", "data-v-f31c33cf"]]), In = {
58
58
  key: 0,
59
59
  class: "header-actions"
60
- }, In = { key: 0 }, Hn = /* @__PURE__ */ T({
60
+ }, Hn = { key: 0 }, Wn = /* @__PURE__ */ R({
61
61
  __name: "card",
62
62
  props: {
63
63
  header: {},
64
64
  scrollable: { type: Boolean }
65
65
  },
66
66
  setup(e) {
67
- const n = Wt();
68
- return (t, o) => (f(), g("div", {
69
- class: z(["card", { scrollable: e.scrollable }])
67
+ const n = Ut();
68
+ return (t, o) => (v(), g("div", {
69
+ class: I(["card", { scrollable: e.scrollable }])
70
70
  }, [
71
71
  x("header", null, [
72
72
  x("h3", null, B(e.header), 1),
73
- S(n).headerActions ? (f(), g("span", zn, [
74
- j(t.$slots, "headerActions", {}, void 0, !0)
75
- ])) : L("", !0)
73
+ S(n).headerActions ? (v(), g("span", In, [
74
+ M(t.$slots, "headerActions", {}, void 0, !0)
75
+ ])) : $("", !0)
76
76
  ]),
77
77
  x("main", null, [
78
- j(t.$slots, "default", {}, void 0, !0)
78
+ M(t.$slots, "default", {}, void 0, !0)
79
79
  ]),
80
- S(n).footer ? (f(), g("footer", In, [
81
- j(t.$slots, "footer", {}, void 0, !0)
82
- ])) : L("", !0)
80
+ S(n).footer ? (v(), g("footer", Hn, [
81
+ M(t.$slots, "footer", {}, void 0, !0)
82
+ ])) : $("", !0)
83
83
  ], 2));
84
84
  }
85
- }), at = /* @__PURE__ */ D(Hn, [["__scopeId", "data-v-ec6ab562"]]), Un = ["aria-label"], Wn = {
85
+ }), at = /* @__PURE__ */ O(Wn, [["__scopeId", "data-v-ec6ab562"]]), Un = ["aria-label"], Kn = {
86
86
  key: 0,
87
87
  class: "carousel-indicators"
88
- }, Nn = /* @__PURE__ */ T({
88
+ }, Nn = /* @__PURE__ */ R({
89
89
  __name: "carousel",
90
90
  props: {
91
91
  autoplay: { type: Boolean },
@@ -96,102 +96,102 @@ const be = /* @__PURE__ */ T({
96
96
  ariaLabel: {}
97
97
  },
98
98
  setup(e) {
99
- const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, a = n.pauseOnHover ?? !0, i = n.startIndex ?? 0, c = n.ariaLabel ?? "Carousel", s = E(Math.max(0, i)), r = E(null), u = E(null), d = E(0), v = E(0);
99
+ const n = e, t = n.autoplay ?? !1, o = n.interval ?? 4e3, l = n.loop ?? !0, a = n.pauseOnHover ?? !0, i = n.startIndex ?? 0, c = n.ariaLabel ?? "Carousel", s = E(Math.max(0, i)), r = E(null), u = E(null), d = E(0), f = E(0);
100
100
  let m = !1;
101
101
  const p = E(0), w = E(!1);
102
102
  let h = null, y = null;
103
- const _ = E(null), b = E(null), $ = () => {
104
- p.value = r.value ? r.value.children.length : 0, p.value === 0 ? s.value = 0 : s.value >= p.value && (s.value = l ? 0 : p.value - 1), I();
105
- }, P = C(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + v.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), I = () => {
106
- r.value && Array.from(r.value.children).forEach((R, ye) => {
103
+ const _ = E(null), b = E(null), L = () => {
104
+ p.value = r.value ? r.value.children.length : 0, p.value === 0 ? s.value = 0 : s.value >= p.value && (s.value = l ? 0 : p.value - 1), z();
105
+ }, j = C(() => d.value > 0 ? { transform: `translateX(${-s.value * d.value + f.value}px)` } : { transform: `translateX(-${s.value * 100}%)` }), z = () => {
106
+ r.value && Array.from(r.value.children).forEach((A, ye) => {
107
107
  try {
108
- ye === s.value ? R.removeAttribute("aria-hidden") : R.setAttribute("aria-hidden", "true");
108
+ ye === s.value ? A.removeAttribute("aria-hidden") : A.setAttribute("aria-hidden", "true");
109
109
  } catch {
110
110
  }
111
111
  });
112
112
  }, k = () => {
113
113
  V(), !(!t || p.value <= 1) && (a && w.value || (h = setTimeout(() => {
114
- H(), k();
114
+ P(), k();
115
115
  }, o)));
116
116
  }, V = () => {
117
117
  h && (clearTimeout(h), h = null);
118
- }, A = () => {
118
+ }, T = () => {
119
119
  p.value !== 0 && (s.value <= 0 ? s.value = l ? p.value - 1 : 0 : s.value--);
120
- }, H = () => {
120
+ }, P = () => {
121
121
  p.value !== 0 && (s.value >= p.value - 1 ? s.value = l ? 0 : p.value - 1 : s.value++);
122
- }, U = (R) => {
123
- R < 0 || R >= p.value || (s.value = R);
124
- }, ce = () => {
122
+ }, W = (A) => {
123
+ A < 0 || A >= p.value || (s.value = A);
124
+ }, te = () => {
125
125
  w.value = !0, a && V();
126
126
  }, ue = () => {
127
127
  w.value = !1, k();
128
- }, de = (R) => {
129
- R.key === "ArrowLeft" ? A() : R.key === "ArrowRight" && H();
128
+ }, de = (A) => {
129
+ A.key === "ArrowLeft" ? T() : A.key === "ArrowRight" && P();
130
130
  };
131
- let ke = 0, te = 0;
132
- const ae = (R) => {
133
- ke = R.touches[0].clientX, te = 0;
134
- }, Y = (R) => {
135
- te = R.touches[0].clientX - ke;
136
- }, ne = () => {
137
- te > 50 ? A() : te < -50 && H(), te = 0;
131
+ let ke = 0, ne = 0;
132
+ const ie = (A) => {
133
+ ke = A.touches[0].clientX, ne = 0;
134
+ }, Y = (A) => {
135
+ ne = A.touches[0].clientX - ke;
136
+ }, oe = () => {
137
+ ne > 50 ? T() : ne < -50 && P(), ne = 0;
138
138
  };
139
- let Ie = 0;
140
- const Vt = (R) => {
141
- if (R.isPrimary !== !1 && !(R.pointerType === "mouse" && R.button !== 0)) {
142
- m = !0, Ie = R.clientX, v.value = 0, V();
139
+ let He = 0;
140
+ const Vt = (A) => {
141
+ if (A.isPrimary !== !1 && !(A.pointerType === "mouse" && A.button !== 0)) {
142
+ m = !0, He = A.clientX, f.value = 0, V();
143
143
  try {
144
- R.target?.setPointerCapture?.(R.pointerId);
144
+ A.target?.setPointerCapture?.(A.pointerId);
145
145
  } catch {
146
146
  }
147
147
  }
148
- }, Ct = (R) => {
149
- m && (v.value = R.clientX - Ie, R.preventDefault());
148
+ }, Ct = (A) => {
149
+ m && (f.value = A.clientX - He, A.preventDefault());
150
150
  }, Et = () => {
151
151
  if (!m) return;
152
152
  m = !1;
153
- const R = Math.max(50, d.value * 0.15);
154
- v.value > R ? A() : v.value < -R && H(), v.value = 0, k();
155
- }, Lt = (R) => {
153
+ const A = Math.max(50, d.value * 0.15);
154
+ f.value > A ? T() : f.value < -A && P(), f.value = 0, k();
155
+ }, Lt = (A) => {
156
156
  try {
157
- R.target?.releasePointerCapture?.(R.pointerId);
157
+ A.target?.releasePointerCapture?.(A.pointerId);
158
158
  } catch {
159
159
  }
160
160
  Et();
161
161
  }, $t = () => Et();
162
- return Be(() => {
162
+ return Re(() => {
163
163
  me(() => {
164
- if ($(), r.value && (y = new MutationObserver($), y.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", ae, { passive: !0 }), r.value.addEventListener("touchmove", Y, { passive: !0 }), r.value.addEventListener("touchend", ne)), u.value) {
165
- const R = () => {
164
+ if (L(), r.value && (y = new MutationObserver(L), y.observe(r.value, { childList: !0 }), r.value.addEventListener("touchstart", ie, { passive: !0 }), r.value.addEventListener("touchmove", Y, { passive: !0 }), r.value.addEventListener("touchend", oe)), u.value) {
165
+ const A = () => {
166
166
  d.value = u.value ? u.value.clientWidth : 0;
167
167
  };
168
- R();
168
+ A();
169
169
  const ye = window.ResizeObserver;
170
170
  if (ye && u.value) {
171
- const we = new ye(() => R());
171
+ const we = new ye(() => A());
172
172
  we.observe(u.value), _.value = we;
173
173
  } else
174
- window.addEventListener("resize", R), b.value = R;
174
+ window.addEventListener("resize", A), b.value = A;
175
175
  u.value && (u.value.addEventListener("pointerdown", Vt), u.value.addEventListener("pointermove", Ct), u.value.addEventListener("pointerup", Lt), u.value.addEventListener("pointercancel", $t));
176
176
  }
177
- I(), k();
177
+ z(), k();
178
178
  });
179
- }), Re(() => {
180
- V(), y && r.value && y.disconnect(), r.value && (r.value.removeEventListener("touchstart", ae), r.value.removeEventListener("touchmove", Y), r.value.removeEventListener("touchend", ne)), u.value && (_.value && _.value.disconnect && _.value.disconnect(), b.value && window.removeEventListener("resize", b.value), u.value.removeEventListener("pointerdown", Vt), u.value.removeEventListener("pointermove", Ct), u.value.removeEventListener("pointerup", Lt), u.value.removeEventListener("pointercancel", $t));
181
- }), X([s, () => p.value], () => {
182
- I();
183
- }), X([() => w.value, s], () => {
179
+ }), Te(() => {
180
+ V(), y && r.value && y.disconnect(), r.value && (r.value.removeEventListener("touchstart", ie), r.value.removeEventListener("touchmove", Y), r.value.removeEventListener("touchend", oe)), u.value && (_.value && _.value.disconnect && _.value.disconnect(), b.value && window.removeEventListener("resize", b.value), u.value.removeEventListener("pointerdown", Vt), u.value.removeEventListener("pointermove", Ct), u.value.removeEventListener("pointerup", Lt), u.value.removeEventListener("pointercancel", $t));
181
+ }), N([s, () => p.value], () => {
182
+ z();
183
+ }), N([() => w.value, s], () => {
184
184
  k();
185
- }), (R, ye) => {
186
- const we = K("VjButton");
187
- return f(), g("div", {
185
+ }), (A, ye) => {
186
+ const we = X("VjButton");
187
+ return v(), g("div", {
188
188
  class: "carousel",
189
189
  role: "region",
190
190
  "aria-roledescription": "carousel",
191
191
  "aria-label": S(c),
192
192
  tabindex: "0",
193
193
  onKeydown: de,
194
- onMouseenter: ce,
194
+ onMouseenter: te,
195
195
  onMouseleave: ue
196
196
  }, [
197
197
  x("div", {
@@ -203,42 +203,42 @@ const be = /* @__PURE__ */ T({
203
203
  class: "carousel-track",
204
204
  ref_key: "track",
205
205
  ref: r,
206
- style: G(P.value)
206
+ style: q(j.value)
207
207
  }, [
208
- j(R.$slots, "default", {}, void 0, !0)
208
+ M(A.$slots, "default", {}, void 0, !0)
209
209
  ], 4)
210
210
  ], 512),
211
- O(we, {
211
+ D(we, {
212
212
  class: "carousel-btn prev",
213
- icon: S(F).PREVIOUS,
214
- onClick: A,
213
+ icon: S(H).PREVIOUS,
214
+ onClick: T,
215
215
  type: "button",
216
216
  "aria-label": "Previous slide"
217
217
  }, null, 8, ["icon"]),
218
- O(we, {
218
+ D(we, {
219
219
  class: "carousel-btn next",
220
- icon: S(F).NEXT,
221
- onClick: H,
220
+ icon: S(H).NEXT,
221
+ onClick: P,
222
222
  type: "button",
223
223
  "aria-label": "Next slide"
224
224
  }, null, 8, ["icon"]),
225
- p.value > 1 ? (f(), g("div", Wn, [
226
- (f(!0), g(Z, null, ge(p.value, (Te) => (f(), M(we, {
227
- key: Te - 1,
228
- class: z(["indicator", { active: Te - 1 === s.value }]),
229
- onClick: (Oi) => U(Te - 1),
230
- "aria-current": Te - 1 === s.value,
231
- "aria-label": `Go to slide ${Te}`,
225
+ p.value > 1 ? (v(), g("div", Kn, [
226
+ (v(!0), g(Z, null, ge(p.value, (Ae) => (v(), F(we, {
227
+ key: Ae - 1,
228
+ class: I(["indicator", { active: Ae - 1 === s.value }]),
229
+ onClick: (Hi) => W(Ae - 1),
230
+ "aria-current": Ae - 1 === s.value,
231
+ "aria-label": `Go to slide ${Ae}`,
232
232
  type: "button"
233
233
  }, null, 8, ["class", "onClick", "aria-current", "aria-label"]))), 128))
234
- ])) : L("", !0)
234
+ ])) : $("", !0)
235
235
  ], 40, Un);
236
236
  };
237
237
  }
238
- }), Pi = /* @__PURE__ */ D(Nn, [["__scopeId", "data-v-232abca2"]]), Kn = { class: "checkbox" }, Xn = ["checked", "disabled"], Gn = {
238
+ }), Ki = /* @__PURE__ */ O(Nn, [["__scopeId", "data-v-232abca2"]]), Xn = { class: "checkbox" }, qn = ["checked", "disabled"], Gn = {
239
239
  key: 0,
240
240
  class: "checkbox-label"
241
- }, qn = /* @__PURE__ */ T({
241
+ }, Yn = /* @__PURE__ */ R({
242
242
  __name: "checkbox",
243
243
  props: /* @__PURE__ */ ee({
244
244
  label: {},
@@ -253,14 +253,14 @@ const be = /* @__PURE__ */ T({
253
253
  const l = o.target;
254
254
  n.value = l.checked;
255
255
  };
256
- return (o, l) => (f(), g("label", Kn, [
256
+ return (o, l) => (v(), g("label", Xn, [
257
257
  x("input", {
258
258
  type: "checkbox",
259
259
  checked: n.value,
260
260
  onChange: t,
261
261
  disabled: e.disabled,
262
262
  class: "checkbox-input"
263
- }, null, 40, Xn),
263
+ }, null, 40, qn),
264
264
  l[0] || (l[0] = x("span", { class: "checkbox-box" }, [
265
265
  x("svg", {
266
266
  class: "checkbox-icon",
@@ -278,13 +278,13 @@ const be = /* @__PURE__ */ T({
278
278
  })
279
279
  ])
280
280
  ], -1)),
281
- e.label ? (f(), g("span", Gn, B(e.label), 1)) : L("", !0)
281
+ e.label ? (v(), g("span", Gn, B(e.label), 1)) : $("", !0)
282
282
  ]));
283
283
  }
284
- }), Yn = /* @__PURE__ */ D(qn, [["__scopeId", "data-v-d44b45ff"]]), Jn = { class: "radio" }, Qn = ["checked", "disabled"], Zn = {
284
+ }), Jn = /* @__PURE__ */ O(Yn, [["__scopeId", "data-v-d44b45ff"]]), Qn = { class: "radio" }, Zn = ["checked", "disabled"], eo = {
285
285
  key: 0,
286
286
  class: "radio-label"
287
- }, eo = /* @__PURE__ */ T({
287
+ }, to = /* @__PURE__ */ R({
288
288
  __name: "radio",
289
289
  props: /* @__PURE__ */ ee({
290
290
  label: {},
@@ -299,24 +299,24 @@ const be = /* @__PURE__ */ T({
299
299
  const l = o.target;
300
300
  n.value = l.checked;
301
301
  };
302
- return (o, l) => (f(), g("label", Jn, [
302
+ return (o, l) => (v(), g("label", Qn, [
303
303
  x("input", {
304
304
  type: "checkbox",
305
305
  checked: n.value,
306
306
  onChange: t,
307
307
  disabled: e.disabled,
308
308
  class: "radio-input"
309
- }, null, 40, Qn),
309
+ }, null, 40, Zn),
310
310
  l[0] || (l[0] = x("span", { class: "radio-box" }, [
311
311
  x("span", {
312
312
  class: "radio-dot",
313
313
  "aria-hidden": "true"
314
314
  })
315
315
  ], -1)),
316
- e.label ? (f(), g("span", Zn, B(e.label), 1)) : L("", !0)
316
+ e.label ? (v(), g("span", eo, B(e.label), 1)) : $("", !0)
317
317
  ]));
318
318
  }
319
- }), ji = /* @__PURE__ */ D(eo, [["__scopeId", "data-v-f9e4bb65"]]), to = { class: "chip__label" }, no = /* @__PURE__ */ T({
319
+ }), Ni = /* @__PURE__ */ O(to, [["__scopeId", "data-v-f9e4bb65"]]), no = { class: "chip__label" }, oo = /* @__PURE__ */ R({
320
320
  __name: "chip",
321
321
  props: /* @__PURE__ */ ee({
322
322
  label: {},
@@ -334,33 +334,33 @@ const be = /* @__PURE__ */ T({
334
334
  }), c = () => {
335
335
  l("dismiss", o.value);
336
336
  };
337
- return (s, r) => (f(), g("div", {
338
- class: z(["chip", { "chip--dismissable": S(a) }]),
339
- style: G(i.value),
337
+ return (s, r) => (v(), g("div", {
338
+ class: I(["chip", { "chip--dismissable": S(a) }]),
339
+ style: q(i.value),
340
340
  onClick: r[0] || (r[0] = (u) => s.$emit("click"))
341
341
  }, [
342
- x("span", to, B(e.label), 1),
343
- S(a) ? (f(), g("button", {
342
+ x("span", no, B(e.label), 1),
343
+ S(a) ? (v(), g("button", {
344
344
  key: 0,
345
345
  class: "chip__close",
346
346
  type: "button",
347
- onClick: N(c, ["stop"]),
347
+ onClick: K(c, ["stop"]),
348
348
  "aria-label": "Dismiss"
349
349
  }, [
350
- O(be, {
351
- icon: S(F).CLOSE,
352
- size: S(q).S
350
+ D(be, {
351
+ icon: S(H).CLOSE,
352
+ size: S(G).S
353
353
  }, null, 8, ["icon", "size"])
354
- ])) : L("", !0)
354
+ ])) : $("", !0)
355
355
  ], 6));
356
356
  }
357
- }), Gt = /* @__PURE__ */ D(no, [["__scopeId", "data-v-c2014a3b"]]), oo = { class: "chip-group" }, lo = {
357
+ }), qt = /* @__PURE__ */ O(oo, [["__scopeId", "data-v-c2014a3b"]]), lo = { class: "chip-group" }, ao = {
358
358
  key: 0,
359
359
  class: "chip-group__label"
360
- }, ao = { class: "chip-group__container" }, io = ["onDragover", "onDrop"], so = ["onDragstart", "onDragover", "onDragenter", "onDrop"], ro = ["onDragover", "onDrop"], co = {
360
+ }, io = { class: "chip-group__container" }, so = ["onDragover", "onDrop"], ro = ["onDragstart", "onDragover", "onDragenter", "onDrop"], co = ["onDragover", "onDrop"], uo = {
361
361
  key: 1,
362
362
  class: "chip-group__hint"
363
- }, uo = /* @__PURE__ */ T({
363
+ }, fo = /* @__PURE__ */ R({
364
364
  __name: "chip-group",
365
365
  props: {
366
366
  items: { default: () => [] },
@@ -391,7 +391,7 @@ const be = /* @__PURE__ */ T({
391
391
  }
392
392
  function d() {
393
393
  }
394
- function v(h, y) {
394
+ function f(h, y) {
395
395
  return l.value === null || a.value === null || l.value === h ? !1 : y === "before" && a.value === h && l.value > h || y === "after" && a.value === h && l.value < h;
396
396
  }
397
397
  function m(h, y) {
@@ -404,51 +404,51 @@ const be = /* @__PURE__ */ T({
404
404
  l.value = null, a.value = null;
405
405
  }
406
406
  function w(h) {
407
- const y = t.items[h], _ = t.items.filter((b, $) => $ !== h);
407
+ const y = t.items[h], _ = t.items.filter((b, L) => L !== h);
408
408
  o("update:items", _), o("dismiss", y, h);
409
409
  }
410
- return (h, y) => (f(), g("div", oo, [
411
- e.label ? (f(), g("label", lo, B(e.label), 1)) : L("", !0),
412
- x("div", ao, [
413
- (f(!0), g(Z, null, ge(e.items, (_, b) => (f(), g(Z, {
410
+ return (h, y) => (v(), g("div", lo, [
411
+ e.label ? (v(), g("label", ao, B(e.label), 1)) : $("", !0),
412
+ x("div", io, [
413
+ (v(!0), g(Z, null, ge(e.items, (_, b) => (v(), g(Z, {
414
414
  key: i(_, b)
415
415
  }, [
416
- v(b, "before") ? (f(), g("div", {
416
+ f(b, "before") ? (v(), g("div", {
417
417
  key: 0,
418
418
  class: "chip-group__drop-indicator",
419
- onDragover: N(($) => r(b, $), ["prevent"]),
420
- onDrop: ($) => m(b, $)
421
- }, null, 40, io)) : L("", !0),
419
+ onDragover: K((L) => r(b, L), ["prevent"]),
420
+ onDrop: (L) => m(b, L)
421
+ }, null, 40, so)) : $("", !0),
422
422
  x("div", {
423
- class: z(["chip-group__item", { "chip-group__item--dragging": l.value === b }]),
423
+ class: I(["chip-group__item", { "chip-group__item--dragging": l.value === b }]),
424
424
  draggable: "true",
425
- onDragstart: ($) => s(b, $),
426
- onDragover: N(($) => r(b, $), ["prevent"]),
427
- onDragenter: N(($) => u(b), ["prevent"]),
425
+ onDragstart: (L) => s(b, L),
426
+ onDragover: K((L) => r(b, L), ["prevent"]),
427
+ onDragenter: K((L) => u(b), ["prevent"]),
428
428
  onDragleave: d,
429
- onDrop: ($) => m(b, $),
429
+ onDrop: (L) => m(b, L),
430
430
  onDragend: p
431
431
  }, [
432
- O(Gt, {
432
+ D(qt, {
433
433
  label: c(_),
434
434
  dismissable: typeof _ == "string" ? e.dismissable : _.dismissable ?? e.dismissable,
435
435
  color: typeof _ == "string" ? e.color : _.color ?? e.color,
436
- onDismiss: ($) => w(b),
437
- onClick: ($) => h.$emit("chip-click", _, b)
436
+ onDismiss: (L) => w(b),
437
+ onClick: (L) => h.$emit("chip-click", _, b)
438
438
  }, null, 8, ["label", "dismissable", "color", "onDismiss", "onClick"])
439
- ], 42, so),
440
- v(b, "after") ? (f(), g("div", {
439
+ ], 42, ro),
440
+ f(b, "after") ? (v(), g("div", {
441
441
  key: 1,
442
442
  class: "chip-group__drop-indicator",
443
- onDragover: N(($) => r(b, $), ["prevent"]),
444
- onDrop: ($) => m(b, $)
445
- }, null, 40, ro)) : L("", !0)
443
+ onDragover: K((L) => r(b, L), ["prevent"]),
444
+ onDrop: (L) => m(b, L)
445
+ }, null, 40, co)) : $("", !0)
446
446
  ], 64))), 128))
447
447
  ]),
448
- e.hint ? (f(), g("div", co, B(e.hint), 1)) : L("", !0)
448
+ e.hint ? (v(), g("div", uo, B(e.hint), 1)) : $("", !0)
449
449
  ]));
450
450
  }
451
- }), qt = /* @__PURE__ */ D(uo, [["__scopeId", "data-v-66199d19"]]), Yt = /* @__PURE__ */ Symbol("VjDialogController"), fo = { class: "dialog-content" }, vo = { key: 1 }, mo = { class: "dialog-footer" }, po = /* @__PURE__ */ T({
451
+ }), Gt = /* @__PURE__ */ O(fo, [["__scopeId", "data-v-66199d19"]]), Yt = /* @__PURE__ */ Symbol("VjDialogController"), vo = { class: "dialog-content" }, mo = { key: 1 }, po = { class: "dialog-footer" }, ho = /* @__PURE__ */ R({
452
452
  __name: "dialog",
453
453
  props: {
454
454
  modelValue: { type: Boolean, default: !1 },
@@ -466,7 +466,7 @@ const be = /* @__PURE__ */ T({
466
466
  emits: ["update:modelValue", "confirm", "cancel", "close", "resolve"],
467
467
  setup(e, { emit: n }) {
468
468
  const t = e, o = n, l = E(t.modelValue);
469
- X(
469
+ N(
470
470
  () => t.modelValue,
471
471
  (d) => l.value = d
472
472
  );
@@ -479,7 +479,7 @@ const be = /* @__PURE__ */ T({
479
479
  }, s = () => {
480
480
  o("cancel"), a();
481
481
  };
482
- Nt(Yt, {
482
+ Kt(Yt, {
483
483
  close: a,
484
484
  resolve: i,
485
485
  cancel: s
@@ -489,64 +489,64 @@ const be = /* @__PURE__ */ T({
489
489
  }, u = (d) => {
490
490
  d.key === "Escape" && t.closeOnEscape && l.value && a();
491
491
  };
492
- return Be(() => {
492
+ return Re(() => {
493
493
  document.addEventListener("keydown", u);
494
- }), Re(() => {
494
+ }), Te(() => {
495
495
  document.removeEventListener("keydown", u);
496
- }), (d, v) => {
497
- const m = K("VjIcon"), p = K("VjButton"), w = K("VjCard");
498
- return f(), M(Pe, { to: "body" }, [
499
- O(Oe, { name: "dialog-fade" }, {
500
- default: W(() => [
501
- l.value ? (f(), g("div", {
496
+ }), (d, f) => {
497
+ const m = X("VjIcon"), p = X("VjButton"), w = X("VjCard");
498
+ return v(), F(Pe, { to: "body" }, [
499
+ D(De, { name: "dialog-fade" }, {
500
+ default: U(() => [
501
+ l.value ? (v(), g("div", {
502
502
  key: 0,
503
503
  class: "dialog-backdrop",
504
504
  onClick: r
505
505
  }, [
506
- O(Oe, { name: "dialog-scale" }, {
507
- default: W(() => [
508
- l.value ? (f(), g("div", {
506
+ D(De, { name: "dialog-scale" }, {
507
+ default: U(() => [
508
+ l.value ? (v(), g("div", {
509
509
  key: 0,
510
510
  class: "dialog-wrapper",
511
- onClick: v[0] || (v[0] = N(() => {
511
+ onClick: f[0] || (f[0] = K(() => {
512
512
  }, ["stop"]))
513
513
  }, [
514
- O(w, {
514
+ D(w, {
515
515
  class: "dialog-card",
516
516
  header: e.title || ""
517
517
  }, rt({
518
- headerActions: W(() => [
519
- O(m, {
520
- icon: S(F).CLOSE,
521
- size: S(q).S,
518
+ headerActions: U(() => [
519
+ D(m, {
520
+ icon: S(H).CLOSE,
521
+ size: S(G).S,
522
522
  class: "dialog-close",
523
523
  onClick: a
524
524
  }, null, 8, ["icon", "size"])
525
525
  ]),
526
- default: W(() => [
527
- x("div", fo, [
528
- e.component ? (f(), M(Kt(e.component), yn({ key: 0 }, e.componentProps, {
526
+ default: U(() => [
527
+ x("div", vo, [
528
+ e.component ? (v(), F(Nt(e.component), yn({ key: 0 }, e.componentProps, {
529
529
  onCancel: s,
530
530
  onClose: a,
531
531
  onConfirm: c,
532
532
  onResolve: i
533
- }), null, 16)) : e.message ? (f(), g("div", vo, B(e.message), 1)) : j(d.$slots, "default", { key: 2 }, void 0, !0)
533
+ }), null, 16)) : e.message ? (v(), g("div", mo, B(e.message), 1)) : M(d.$slots, "default", { key: 2 }, void 0, !0)
534
534
  ])
535
535
  ]),
536
536
  _: 2
537
537
  }, [
538
538
  e.showFooter ? {
539
539
  name: "footer",
540
- fn: W(() => [
541
- x("div", mo, [
542
- j(d.$slots, "footer", {}, () => [
543
- e.showCancel ? (f(), M(p, {
540
+ fn: U(() => [
541
+ x("div", po, [
542
+ M(d.$slots, "footer", {}, () => [
543
+ e.showCancel ? (v(), F(p, {
544
544
  key: 0,
545
545
  secondary: "",
546
546
  onClick: s,
547
547
  label: e.cancelText
548
- }, null, 8, ["label"])) : L("", !0),
549
- O(p, {
548
+ }, null, 8, ["label"])) : $("", !0),
549
+ D(p, {
550
550
  primary: "",
551
551
  onClick: c,
552
552
  label: e.confirmText
@@ -557,21 +557,21 @@ const be = /* @__PURE__ */ T({
557
557
  key: "0"
558
558
  } : void 0
559
559
  ]), 1032, ["header"])
560
- ])) : L("", !0)
560
+ ])) : $("", !0)
561
561
  ]),
562
562
  _: 3
563
563
  })
564
- ])) : L("", !0)
564
+ ])) : $("", !0)
565
565
  ]),
566
566
  _: 3
567
567
  })
568
568
  ]);
569
569
  };
570
570
  }
571
- }), ft = /* @__PURE__ */ D(po, [["__scopeId", "data-v-29d1729b"]]), ho = { class: "vj-chip-selector" }, go = { class: "options-grid" }, bo = ["onClick"], yo = {
571
+ }), ft = /* @__PURE__ */ O(ho, [["__scopeId", "data-v-29d1729b"]]), go = { class: "vj-chip-selector" }, bo = { class: "options-grid" }, yo = ["onClick"], wo = {
572
572
  key: 0,
573
573
  class: "no-options"
574
- }, wo = /* @__PURE__ */ T({
574
+ }, _o = /* @__PURE__ */ R({
575
575
  __name: "chip-selector",
576
576
  props: {
577
577
  items: { default: () => [] },
@@ -594,14 +594,14 @@ const be = /* @__PURE__ */ T({
594
594
  l.value = u, o("update:items", u);
595
595
  }
596
596
  }
597
- return X(
597
+ return N(
598
598
  () => t.items,
599
599
  (r) => {
600
600
  JSON.stringify(r) !== JSON.stringify(l.value) && (l.value = [...r]);
601
601
  },
602
602
  { deep: !0 }
603
- ), (r, u) => (f(), g("div", ho, [
604
- O(qt, {
603
+ ), (r, u) => (v(), g("div", go, [
604
+ D(Gt, {
605
605
  items: l.value,
606
606
  "onUpdate:items": [
607
607
  u[0] || (u[0] = (d) => l.value = d),
@@ -615,49 +615,49 @@ const be = /* @__PURE__ */ T({
615
615
  class: "add-button",
616
616
  onClick: u[1] || (u[1] = (d) => a.value = !0)
617
617
  }, B(e.addButtonText), 1),
618
- O(ft, {
618
+ D(ft, {
619
619
  modelValue: a.value,
620
620
  "onUpdate:modelValue": u[2] || (u[2] = (d) => a.value = d),
621
621
  title: e.dialogTitle || `Add ${e.label}`,
622
622
  "close-on-backdrop": ""
623
623
  }, {
624
- default: W(() => [
625
- x("div", go, [
626
- (f(!0), g(Z, null, ge(i.value, (d) => (f(), g("button", {
624
+ default: U(() => [
625
+ x("div", bo, [
626
+ (v(!0), g(Z, null, ge(i.value, (d) => (v(), g("button", {
627
627
  key: d.value,
628
628
  type: "button",
629
629
  class: "option-btn",
630
- onClick: (v) => s(d.value)
631
- }, "+ " + B(d.label), 9, bo))), 128))
630
+ onClick: (f) => s(d.value)
631
+ }, "+ " + B(d.label), 9, yo))), 128))
632
632
  ]),
633
- i.value.length === 0 ? (f(), g("div", yo, "All options already selected")) : L("", !0)
633
+ i.value.length === 0 ? (v(), g("div", wo, "All options already selected")) : $("", !0)
634
634
  ]),
635
635
  _: 1
636
636
  }, 8, ["modelValue", "title"])
637
637
  ]));
638
638
  }
639
- }), _o = /* @__PURE__ */ D(wo, [["__scopeId", "data-v-f2e1b880"]]), $e = Math.min, J = Math.max, We = Math.round, He = Math.floor, ie = (e) => ({
639
+ }), xo = /* @__PURE__ */ O(_o, [["__scopeId", "data-v-f2e1b880"]]), $e = Math.min, J = Math.max, Ke = Math.round, We = Math.floor, se = (e) => ({
640
640
  x: e,
641
641
  y: e
642
- }), xo = {
642
+ }), ko = {
643
643
  left: "right",
644
644
  right: "left",
645
645
  bottom: "top",
646
646
  top: "bottom"
647
- }, ko = {
647
+ }, Vo = {
648
648
  start: "end",
649
649
  end: "start"
650
650
  };
651
651
  function Rt(e, n, t) {
652
652
  return J(e, $e(n, t));
653
653
  }
654
- function je(e, n) {
654
+ function Me(e, n) {
655
655
  return typeof e == "function" ? e(n) : e;
656
656
  }
657
657
  function pe(e) {
658
658
  return e.split("-")[0];
659
659
  }
660
- function Me(e) {
660
+ function Fe(e) {
661
661
  return e.split("-")[1];
662
662
  }
663
663
  function Jt(e) {
@@ -666,48 +666,48 @@ function Jt(e) {
666
666
  function Qt(e) {
667
667
  return e === "y" ? "height" : "width";
668
668
  }
669
- const Vo = /* @__PURE__ */ new Set(["top", "bottom"]);
669
+ const Co = /* @__PURE__ */ new Set(["top", "bottom"]);
670
670
  function fe(e) {
671
- return Vo.has(pe(e)) ? "y" : "x";
671
+ return Co.has(pe(e)) ? "y" : "x";
672
672
  }
673
673
  function Zt(e) {
674
674
  return Jt(fe(e));
675
675
  }
676
- function Co(e, n, t) {
676
+ function Eo(e, n, t) {
677
677
  t === void 0 && (t = !1);
678
- const o = Me(e), l = Zt(e), a = Qt(l);
678
+ const o = Fe(e), l = Zt(e), a = Qt(l);
679
679
  let i = l === "x" ? o === (t ? "end" : "start") ? "right" : "left" : o === "start" ? "bottom" : "top";
680
680
  return n.reference[a] > n.floating[a] && (i = Ne(i)), [i, Ne(i)];
681
681
  }
682
- function Eo(e) {
682
+ function Lo(e) {
683
683
  const n = Ne(e);
684
684
  return [it(e), n, it(n)];
685
685
  }
686
686
  function it(e) {
687
- return e.replace(/start|end/g, (n) => ko[n]);
687
+ return e.replace(/start|end/g, (n) => Vo[n]);
688
688
  }
689
- const Tt = ["left", "right"], At = ["right", "left"], Lo = ["top", "bottom"], $o = ["bottom", "top"];
690
- function So(e, n, t) {
689
+ const Tt = ["left", "right"], At = ["right", "left"], $o = ["top", "bottom"], So = ["bottom", "top"];
690
+ function Ro(e, n, t) {
691
691
  switch (e) {
692
692
  case "top":
693
693
  case "bottom":
694
694
  return t ? n ? At : Tt : n ? Tt : At;
695
695
  case "left":
696
696
  case "right":
697
- return n ? Lo : $o;
697
+ return n ? $o : So;
698
698
  default:
699
699
  return [];
700
700
  }
701
701
  }
702
- function Ro(e, n, t, o) {
703
- const l = Me(e);
704
- let a = So(pe(e), t === "start", o);
702
+ function To(e, n, t, o) {
703
+ const l = Fe(e);
704
+ let a = Ro(pe(e), t === "start", o);
705
705
  return l && (a = a.map((i) => i + "-" + l), n && (a = a.concat(a.map(it)))), a;
706
706
  }
707
707
  function Ne(e) {
708
- return e.replace(/left|right|bottom|top/g, (n) => xo[n]);
708
+ return e.replace(/left|right|bottom|top/g, (n) => ko[n]);
709
709
  }
710
- function To(e) {
710
+ function Ao(e) {
711
711
  return {
712
712
  top: 0,
713
713
  right: 0,
@@ -716,15 +716,15 @@ function To(e) {
716
716
  ...e
717
717
  };
718
718
  }
719
- function Ao(e) {
720
- return typeof e != "number" ? To(e) : {
719
+ function Oo(e) {
720
+ return typeof e != "number" ? Ao(e) : {
721
721
  top: e,
722
722
  right: e,
723
723
  bottom: e,
724
724
  left: e
725
725
  };
726
726
  }
727
- function Ke(e) {
727
+ function Xe(e) {
728
728
  const {
729
729
  x: n,
730
730
  y: t,
@@ -747,7 +747,7 @@ function Ot(e, n, t) {
747
747
  reference: o,
748
748
  floating: l
749
749
  } = e;
750
- const a = fe(n), i = Zt(n), c = Qt(i), s = pe(n), r = a === "y", u = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, v = o[c] / 2 - l[c] / 2;
750
+ const a = fe(n), i = Zt(n), c = Qt(i), s = pe(n), r = a === "y", u = o.x + o.width / 2 - l.width / 2, d = o.y + o.height / 2 - l.height / 2, f = o[c] / 2 - l[c] / 2;
751
751
  let m;
752
752
  switch (s) {
753
753
  case "top":
@@ -780,17 +780,17 @@ function Ot(e, n, t) {
780
780
  y: o.y
781
781
  };
782
782
  }
783
- switch (Me(n)) {
783
+ switch (Fe(n)) {
784
784
  case "start":
785
- m[i] -= v * (t && r ? -1 : 1);
785
+ m[i] -= f * (t && r ? -1 : 1);
786
786
  break;
787
787
  case "end":
788
- m[i] += v * (t && r ? -1 : 1);
788
+ m[i] += f * (t && r ? -1 : 1);
789
789
  break;
790
790
  }
791
791
  return m;
792
792
  }
793
- const Oo = async (e, n, t) => {
793
+ const Do = async (e, n, t) => {
794
794
  const {
795
795
  placement: o = "bottom",
796
796
  strategy: l = "absolute",
@@ -804,7 +804,7 @@ const Oo = async (e, n, t) => {
804
804
  }), {
805
805
  x: u,
806
806
  y: d
807
- } = Ot(r, o, s), v = o, m = {}, p = 0;
807
+ } = Ot(r, o, s), f = o, m = {}, p = 0;
808
808
  for (let w = 0; w < c.length; w++) {
809
809
  const {
810
810
  name: h,
@@ -812,13 +812,13 @@ const Oo = async (e, n, t) => {
812
812
  } = c[w], {
813
813
  x: _,
814
814
  y: b,
815
- data: $,
816
- reset: P
815
+ data: L,
816
+ reset: j
817
817
  } = await y({
818
818
  x: u,
819
819
  y: d,
820
820
  initialPlacement: o,
821
- placement: v,
821
+ placement: f,
822
822
  strategy: l,
823
823
  middlewareData: m,
824
824
  rects: r,
@@ -832,21 +832,21 @@ const Oo = async (e, n, t) => {
832
832
  ...m,
833
833
  [h]: {
834
834
  ...m[h],
835
- ...$
835
+ ...L
836
836
  }
837
- }, P && p <= 50 && (p++, typeof P == "object" && (P.placement && (v = P.placement), P.rects && (r = P.rects === !0 ? await i.getElementRects({
837
+ }, j && p <= 50 && (p++, typeof j == "object" && (j.placement && (f = j.placement), j.rects && (r = j.rects === !0 ? await i.getElementRects({
838
838
  reference: e,
839
839
  floating: n,
840
840
  strategy: l
841
- }) : P.rects), {
841
+ }) : j.rects), {
842
842
  x: u,
843
843
  y: d
844
- } = Ot(r, v, s)), w = -1);
844
+ } = Ot(r, f, s)), w = -1);
845
845
  }
846
846
  return {
847
847
  x: u,
848
848
  y: d,
849
- placement: v,
849
+ placement: f,
850
850
  strategy: l,
851
851
  middlewareData: m
852
852
  };
@@ -865,9 +865,9 @@ async function vt(e, n) {
865
865
  boundary: r = "clippingAncestors",
866
866
  rootBoundary: u = "viewport",
867
867
  elementContext: d = "floating",
868
- altBoundary: v = !1,
868
+ altBoundary: f = !1,
869
869
  padding: m = 0
870
- } = je(n, e), p = Ao(m), h = c[v ? d === "floating" ? "reference" : "floating" : d], y = Ke(await a.getClippingRect({
870
+ } = Me(n, e), p = Oo(m), h = c[f ? d === "floating" ? "reference" : "floating" : d], y = Xe(await a.getClippingRect({
871
871
  element: (t = await (a.isElement == null ? void 0 : a.isElement(h))) == null || t ? h : h.contextElement || await (a.getDocumentElement == null ? void 0 : a.getDocumentElement(c.floating)),
872
872
  boundary: r,
873
873
  rootBoundary: u,
@@ -877,26 +877,26 @@ async function vt(e, n) {
877
877
  y: l,
878
878
  width: i.floating.width,
879
879
  height: i.floating.height
880
- } : i.reference, b = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c.floating)), $ = await (a.isElement == null ? void 0 : a.isElement(b)) ? await (a.getScale == null ? void 0 : a.getScale(b)) || {
880
+ } : i.reference, b = await (a.getOffsetParent == null ? void 0 : a.getOffsetParent(c.floating)), L = await (a.isElement == null ? void 0 : a.isElement(b)) ? await (a.getScale == null ? void 0 : a.getScale(b)) || {
881
881
  x: 1,
882
882
  y: 1
883
883
  } : {
884
884
  x: 1,
885
885
  y: 1
886
- }, P = Ke(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
886
+ }, j = Xe(a.convertOffsetParentRelativeRectToViewportRelativeRect ? await a.convertOffsetParentRelativeRectToViewportRelativeRect({
887
887
  elements: c,
888
888
  rect: _,
889
889
  offsetParent: b,
890
890
  strategy: s
891
891
  }) : _);
892
892
  return {
893
- top: (y.top - P.top + p.top) / $.y,
894
- bottom: (P.bottom - y.bottom + p.bottom) / $.y,
895
- left: (y.left - P.left + p.left) / $.x,
896
- right: (P.right - y.right + p.right) / $.x
893
+ top: (y.top - j.top + p.top) / L.y,
894
+ bottom: (j.bottom - y.bottom + p.bottom) / L.y,
895
+ left: (y.left - j.left + p.left) / L.x,
896
+ right: (j.right - y.right + p.right) / L.x
897
897
  };
898
898
  }
899
- const Do = function(e) {
899
+ const jo = function(e) {
900
900
  return e === void 0 && (e = {}), {
901
901
  name: "flip",
902
902
  options: e,
@@ -912,65 +912,65 @@ const Do = function(e) {
912
912
  } = n, {
913
913
  mainAxis: u = !0,
914
914
  crossAxis: d = !0,
915
- fallbackPlacements: v,
915
+ fallbackPlacements: f,
916
916
  fallbackStrategy: m = "bestFit",
917
917
  fallbackAxisSideDirection: p = "none",
918
918
  flipAlignment: w = !0,
919
919
  ...h
920
- } = je(e, n);
920
+ } = Me(e, n);
921
921
  if ((t = a.arrow) != null && t.alignmentOffset)
922
922
  return {};
923
- const y = pe(l), _ = fe(c), b = pe(c) === c, $ = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), P = v || (b || !w ? [Ne(c)] : Eo(c)), I = p !== "none";
924
- !v && I && P.push(...Ro(c, w, p, $));
925
- const k = [c, ...P], V = await vt(n, h), A = [];
926
- let H = ((o = a.flip) == null ? void 0 : o.overflows) || [];
927
- if (u && A.push(V[y]), d) {
928
- const de = Co(l, i, $);
929
- A.push(V[de[0]], V[de[1]]);
923
+ const y = pe(l), _ = fe(c), b = pe(c) === c, L = await (s.isRTL == null ? void 0 : s.isRTL(r.floating)), j = f || (b || !w ? [Ne(c)] : Lo(c)), z = p !== "none";
924
+ !f && z && j.push(...To(c, w, p, L));
925
+ const k = [c, ...j], V = await vt(n, h), T = [];
926
+ let P = ((o = a.flip) == null ? void 0 : o.overflows) || [];
927
+ if (u && T.push(V[y]), d) {
928
+ const de = Eo(l, i, L);
929
+ T.push(V[de[0]], V[de[1]]);
930
930
  }
931
- if (H = [...H, {
931
+ if (P = [...P, {
932
932
  placement: l,
933
- overflows: A
934
- }], !A.every((de) => de <= 0)) {
935
- var U, ce;
936
- const de = (((U = a.flip) == null ? void 0 : U.index) || 0) + 1, ke = k[de];
933
+ overflows: T
934
+ }], !T.every((de) => de <= 0)) {
935
+ var W, te;
936
+ const de = (((W = a.flip) == null ? void 0 : W.index) || 0) + 1, ke = k[de];
937
937
  if (ke && (!(d === "alignment" ? _ !== fe(ke) : !1) || // We leave the current main axis only if every placement on that axis
938
938
  // overflows the main axis.
939
- H.every((Y) => fe(Y.placement) === _ ? Y.overflows[0] > 0 : !0)))
939
+ P.every((Y) => fe(Y.placement) === _ ? Y.overflows[0] > 0 : !0)))
940
940
  return {
941
941
  data: {
942
942
  index: de,
943
- overflows: H
943
+ overflows: P
944
944
  },
945
945
  reset: {
946
946
  placement: ke
947
947
  }
948
948
  };
949
- let te = (ce = H.filter((ae) => ae.overflows[0] <= 0).sort((ae, Y) => ae.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : ce.placement;
950
- if (!te)
949
+ let ne = (te = P.filter((ie) => ie.overflows[0] <= 0).sort((ie, Y) => ie.overflows[1] - Y.overflows[1])[0]) == null ? void 0 : te.placement;
950
+ if (!ne)
951
951
  switch (m) {
952
952
  case "bestFit": {
953
953
  var ue;
954
- const ae = (ue = H.filter((Y) => {
955
- if (I) {
956
- const ne = fe(Y.placement);
957
- return ne === _ || // Create a bias to the `y` side axis due to horizontal
954
+ const ie = (ue = P.filter((Y) => {
955
+ if (z) {
956
+ const oe = fe(Y.placement);
957
+ return oe === _ || // Create a bias to the `y` side axis due to horizontal
958
958
  // reading directions favoring greater width.
959
- ne === "y";
959
+ oe === "y";
960
960
  }
961
961
  return !0;
962
- }).map((Y) => [Y.placement, Y.overflows.filter((ne) => ne > 0).reduce((ne, Ie) => ne + Ie, 0)]).sort((Y, ne) => Y[1] - ne[1])[0]) == null ? void 0 : ue[0];
963
- ae && (te = ae);
962
+ }).map((Y) => [Y.placement, Y.overflows.filter((oe) => oe > 0).reduce((oe, He) => oe + He, 0)]).sort((Y, oe) => Y[1] - oe[1])[0]) == null ? void 0 : ue[0];
963
+ ie && (ne = ie);
964
964
  break;
965
965
  }
966
966
  case "initialPlacement":
967
- te = c;
967
+ ne = c;
968
968
  break;
969
969
  }
970
- if (l !== te)
970
+ if (l !== ne)
971
971
  return {
972
972
  reset: {
973
- placement: te
973
+ placement: ne
974
974
  }
975
975
  };
976
976
  }
@@ -983,9 +983,9 @@ async function Po(e, n) {
983
983
  placement: t,
984
984
  platform: o,
985
985
  elements: l
986
- } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), c = Me(t), s = fe(t) === "y", r = Bo.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = je(n, e);
986
+ } = e, a = await (o.isRTL == null ? void 0 : o.isRTL(l.floating)), i = pe(t), c = Fe(t), s = fe(t) === "y", r = Bo.has(i) ? -1 : 1, u = a && s ? -1 : 1, d = Me(n, e);
987
987
  let {
988
- mainAxis: v,
988
+ mainAxis: f,
989
989
  crossAxis: m,
990
990
  alignmentAxis: p
991
991
  } = typeof d == "number" ? {
@@ -999,13 +999,13 @@ async function Po(e, n) {
999
999
  };
1000
1000
  return c && typeof p == "number" && (m = c === "end" ? p * -1 : p), s ? {
1001
1001
  x: m * u,
1002
- y: v * r
1002
+ y: f * r
1003
1003
  } : {
1004
- x: v * r,
1004
+ x: f * r,
1005
1005
  y: m * u
1006
1006
  };
1007
1007
  }
1008
- const jo = function(e) {
1008
+ const Mo = function(e) {
1009
1009
  return e === void 0 && (e = 0), {
1010
1010
  name: "offset",
1011
1011
  options: e,
@@ -1027,7 +1027,7 @@ const jo = function(e) {
1027
1027
  };
1028
1028
  }
1029
1029
  };
1030
- }, Mo = function(e) {
1030
+ }, Fo = function(e) {
1031
1031
  return e === void 0 && (e = {}), {
1032
1032
  name: "shift",
1033
1033
  options: e,
@@ -1052,13 +1052,13 @@ const jo = function(e) {
1052
1052
  }
1053
1053
  },
1054
1054
  ...s
1055
- } = je(e, n), r = {
1055
+ } = Me(e, n), r = {
1056
1056
  x: t,
1057
1057
  y: o
1058
- }, u = await vt(n, s), d = fe(pe(l)), v = Jt(d);
1059
- let m = r[v], p = r[d];
1058
+ }, u = await vt(n, s), d = fe(pe(l)), f = Jt(d);
1059
+ let m = r[f], p = r[d];
1060
1060
  if (a) {
1061
- const h = v === "y" ? "top" : "left", y = v === "y" ? "bottom" : "right", _ = m + u[h], b = m - u[y];
1061
+ const h = f === "y" ? "top" : "left", y = f === "y" ? "bottom" : "right", _ = m + u[h], b = m - u[y];
1062
1062
  m = Rt(_, m, b);
1063
1063
  }
1064
1064
  if (i) {
@@ -1067,7 +1067,7 @@ const jo = function(e) {
1067
1067
  }
1068
1068
  const w = c.fn({
1069
1069
  ...n,
1070
- [v]: m,
1070
+ [f]: m,
1071
1071
  [d]: p
1072
1072
  });
1073
1073
  return {
@@ -1076,14 +1076,14 @@ const jo = function(e) {
1076
1076
  x: w.x - t,
1077
1077
  y: w.y - o,
1078
1078
  enabled: {
1079
- [v]: a,
1079
+ [f]: a,
1080
1080
  [d]: i
1081
1081
  }
1082
1082
  }
1083
1083
  };
1084
1084
  }
1085
1085
  };
1086
- }, Fo = function(e) {
1086
+ }, zo = function(e) {
1087
1087
  return e === void 0 && (e = {}), {
1088
1088
  name: "size",
1089
1089
  options: e,
@@ -1098,25 +1098,25 @@ const jo = function(e) {
1098
1098
  apply: s = () => {
1099
1099
  },
1100
1100
  ...r
1101
- } = je(e, n), u = await vt(n, r), d = pe(l), v = Me(l), m = fe(l) === "y", {
1101
+ } = Me(e, n), u = await vt(n, r), d = pe(l), f = Fe(l), m = fe(l) === "y", {
1102
1102
  width: p,
1103
1103
  height: w
1104
1104
  } = a.floating;
1105
1105
  let h, y;
1106
- d === "top" || d === "bottom" ? (h = d, y = v === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = v === "end" ? "top" : "bottom");
1107
- const _ = w - u.top - u.bottom, b = p - u.left - u.right, $ = $e(w - u[h], _), P = $e(p - u[y], b), I = !n.middlewareData.shift;
1108
- let k = $, V = P;
1109
- if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = b), (o = n.middlewareData.shift) != null && o.enabled.y && (k = _), I && !v) {
1110
- const H = J(u.left, 0), U = J(u.right, 0), ce = J(u.top, 0), ue = J(u.bottom, 0);
1111
- m ? V = p - 2 * (H !== 0 || U !== 0 ? H + U : J(u.left, u.right)) : k = w - 2 * (ce !== 0 || ue !== 0 ? ce + ue : J(u.top, u.bottom));
1106
+ d === "top" || d === "bottom" ? (h = d, y = f === (await (i.isRTL == null ? void 0 : i.isRTL(c.floating)) ? "start" : "end") ? "left" : "right") : (y = d, h = f === "end" ? "top" : "bottom");
1107
+ const _ = w - u.top - u.bottom, b = p - u.left - u.right, L = $e(w - u[h], _), j = $e(p - u[y], b), z = !n.middlewareData.shift;
1108
+ let k = L, V = j;
1109
+ if ((t = n.middlewareData.shift) != null && t.enabled.x && (V = b), (o = n.middlewareData.shift) != null && o.enabled.y && (k = _), z && !f) {
1110
+ const P = J(u.left, 0), W = J(u.right, 0), te = J(u.top, 0), ue = J(u.bottom, 0);
1111
+ m ? V = p - 2 * (P !== 0 || W !== 0 ? P + W : J(u.left, u.right)) : k = w - 2 * (te !== 0 || ue !== 0 ? te + ue : J(u.top, u.bottom));
1112
1112
  }
1113
1113
  await s({
1114
1114
  ...n,
1115
1115
  availableWidth: V,
1116
1116
  availableHeight: k
1117
1117
  });
1118
- const A = await i.getDimensions(c.floating);
1119
- return p !== A.width || w !== A.height ? {
1118
+ const T = await i.getDimensions(c.floating);
1119
+ return p !== T.width || w !== T.height ? {
1120
1120
  reset: {
1121
1121
  rects: !0
1122
1122
  }
@@ -1134,38 +1134,38 @@ function Q(e) {
1134
1134
  var n;
1135
1135
  return (e == null || (n = e.ownerDocument) == null ? void 0 : n.defaultView) || window;
1136
1136
  }
1137
- function re(e) {
1137
+ function ce(e) {
1138
1138
  var n;
1139
1139
  return (n = (mt(e) ? e.ownerDocument : e.document) || window.document) == null ? void 0 : n.documentElement;
1140
1140
  }
1141
1141
  function mt(e) {
1142
1142
  return Ge() ? e instanceof Node || e instanceof Q(e).Node : !1;
1143
1143
  }
1144
- function oe(e) {
1144
+ function le(e) {
1145
1145
  return Ge() ? e instanceof Element || e instanceof Q(e).Element : !1;
1146
1146
  }
1147
- function se(e) {
1147
+ function re(e) {
1148
1148
  return Ge() ? e instanceof HTMLElement || e instanceof Q(e).HTMLElement : !1;
1149
1149
  }
1150
1150
  function Dt(e) {
1151
1151
  return !Ge() || typeof ShadowRoot > "u" ? !1 : e instanceof ShadowRoot || e instanceof Q(e).ShadowRoot;
1152
1152
  }
1153
- const zo = /* @__PURE__ */ new Set(["inline", "contents"]);
1154
- function Fe(e) {
1153
+ const Io = /* @__PURE__ */ new Set(["inline", "contents"]);
1154
+ function ze(e) {
1155
1155
  const {
1156
1156
  overflow: n,
1157
1157
  overflowX: t,
1158
1158
  overflowY: o,
1159
1159
  display: l
1160
- } = le(e);
1161
- return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !zo.has(l);
1160
+ } = ae(e);
1161
+ return /auto|scroll|overlay|hidden|clip/.test(n + o + t) && !Io.has(l);
1162
1162
  }
1163
- const Io = /* @__PURE__ */ new Set(["table", "td", "th"]);
1164
- function Ho(e) {
1165
- return Io.has(xe(e));
1163
+ const Ho = /* @__PURE__ */ new Set(["table", "td", "th"]);
1164
+ function Wo(e) {
1165
+ return Ho.has(xe(e));
1166
1166
  }
1167
1167
  const Uo = [":popover-open", ":modal"];
1168
- function qe(e) {
1168
+ function Ye(e) {
1169
1169
  return Uo.some((n) => {
1170
1170
  try {
1171
1171
  return e.matches(n);
@@ -1174,17 +1174,17 @@ function qe(e) {
1174
1174
  }
1175
1175
  });
1176
1176
  }
1177
- const Wo = ["transform", "translate", "scale", "rotate", "perspective"], No = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Ko = ["paint", "layout", "strict", "content"];
1177
+ const Ko = ["transform", "translate", "scale", "rotate", "perspective"], No = ["transform", "translate", "scale", "rotate", "perspective", "filter"], Xo = ["paint", "layout", "strict", "content"];
1178
1178
  function pt(e) {
1179
- const n = ht(), t = oe(e) ? le(e) : e;
1180
- return Wo.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) || No.some((o) => (t.willChange || "").includes(o)) || Ko.some((o) => (t.contain || "").includes(o));
1179
+ const n = ht(), t = le(e) ? ae(e) : e;
1180
+ return Ko.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) || No.some((o) => (t.willChange || "").includes(o)) || Xo.some((o) => (t.contain || "").includes(o));
1181
1181
  }
1182
- function Xo(e) {
1182
+ function qo(e) {
1183
1183
  let n = he(e);
1184
- for (; se(n) && !Se(n); ) {
1184
+ for (; re(n) && !Se(n); ) {
1185
1185
  if (pt(n))
1186
1186
  return n;
1187
- if (qe(n))
1187
+ if (Ye(n))
1188
1188
  return null;
1189
1189
  n = he(n);
1190
1190
  }
@@ -1197,11 +1197,11 @@ const Go = /* @__PURE__ */ new Set(["html", "body", "#document"]);
1197
1197
  function Se(e) {
1198
1198
  return Go.has(xe(e));
1199
1199
  }
1200
- function le(e) {
1200
+ function ae(e) {
1201
1201
  return Q(e).getComputedStyle(e);
1202
1202
  }
1203
- function Ye(e) {
1204
- return oe(e) ? {
1203
+ function Je(e) {
1204
+ return le(e) ? {
1205
1205
  scrollLeft: e.scrollLeft,
1206
1206
  scrollTop: e.scrollTop
1207
1207
  } : {
@@ -1217,31 +1217,31 @@ function he(e) {
1217
1217
  e.assignedSlot || // DOM Element detected.
1218
1218
  e.parentNode || // ShadowRoot detected.
1219
1219
  Dt(e) && e.host || // Fallback.
1220
- re(e)
1220
+ ce(e)
1221
1221
  );
1222
1222
  return Dt(n) ? n.host : n;
1223
1223
  }
1224
1224
  function en(e) {
1225
1225
  const n = he(e);
1226
- return Se(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : se(n) && Fe(n) ? n : en(n);
1226
+ return Se(n) ? e.ownerDocument ? e.ownerDocument.body : e.body : re(n) && ze(n) ? n : en(n);
1227
1227
  }
1228
- function De(e, n, t) {
1228
+ function Be(e, n, t) {
1229
1229
  var o;
1230
1230
  n === void 0 && (n = []), t === void 0 && (t = !0);
1231
1231
  const l = en(e), a = l === ((o = e.ownerDocument) == null ? void 0 : o.body), i = Q(l);
1232
1232
  if (a) {
1233
1233
  const c = st(i);
1234
- return n.concat(i, i.visualViewport || [], Fe(l) ? l : [], c && t ? De(c) : []);
1234
+ return n.concat(i, i.visualViewport || [], ze(l) ? l : [], c && t ? Be(c) : []);
1235
1235
  }
1236
- return n.concat(l, De(l, [], t));
1236
+ return n.concat(l, Be(l, [], t));
1237
1237
  }
1238
1238
  function st(e) {
1239
1239
  return e.parent && Object.getPrototypeOf(e.parent) ? e.frameElement : null;
1240
1240
  }
1241
1241
  function tn(e) {
1242
- const n = le(e);
1242
+ const n = ae(e);
1243
1243
  let t = parseFloat(n.width) || 0, o = parseFloat(n.height) || 0;
1244
- const l = se(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, c = We(t) !== a || We(o) !== i;
1244
+ const l = re(e), a = l ? e.offsetWidth : t, i = l ? e.offsetHeight : o, c = Ke(t) !== a || Ke(o) !== i;
1245
1245
  return c && (t = a, o = i), {
1246
1246
  width: t,
1247
1247
  height: o,
@@ -1249,122 +1249,122 @@ function tn(e) {
1249
1249
  };
1250
1250
  }
1251
1251
  function gt(e) {
1252
- return oe(e) ? e : e.contextElement;
1252
+ return le(e) ? e : e.contextElement;
1253
1253
  }
1254
1254
  function Ee(e) {
1255
1255
  const n = gt(e);
1256
- if (!se(n))
1257
- return ie(1);
1256
+ if (!re(n))
1257
+ return se(1);
1258
1258
  const t = n.getBoundingClientRect(), {
1259
1259
  width: o,
1260
1260
  height: l,
1261
1261
  $: a
1262
1262
  } = tn(n);
1263
- let i = (a ? We(t.width) : t.width) / o, c = (a ? We(t.height) : t.height) / l;
1263
+ let i = (a ? Ke(t.width) : t.width) / o, c = (a ? Ke(t.height) : t.height) / l;
1264
1264
  return (!i || !Number.isFinite(i)) && (i = 1), (!c || !Number.isFinite(c)) && (c = 1), {
1265
1265
  x: i,
1266
1266
  y: c
1267
1267
  };
1268
1268
  }
1269
- const qo = /* @__PURE__ */ ie(0);
1269
+ const Yo = /* @__PURE__ */ se(0);
1270
1270
  function nn(e) {
1271
1271
  const n = Q(e);
1272
- return !ht() || !n.visualViewport ? qo : {
1272
+ return !ht() || !n.visualViewport ? Yo : {
1273
1273
  x: n.visualViewport.offsetLeft,
1274
1274
  y: n.visualViewport.offsetTop
1275
1275
  };
1276
1276
  }
1277
- function Yo(e, n, t) {
1277
+ function Jo(e, n, t) {
1278
1278
  return n === void 0 && (n = !1), !t || n && t !== Q(e) ? !1 : n;
1279
1279
  }
1280
1280
  function _e(e, n, t, o) {
1281
1281
  n === void 0 && (n = !1), t === void 0 && (t = !1);
1282
1282
  const l = e.getBoundingClientRect(), a = gt(e);
1283
- let i = ie(1);
1284
- n && (o ? oe(o) && (i = Ee(o)) : i = Ee(e));
1285
- const c = Yo(a, t, o) ? nn(a) : ie(0);
1283
+ let i = se(1);
1284
+ n && (o ? le(o) && (i = Ee(o)) : i = Ee(e));
1285
+ const c = Jo(a, t, o) ? nn(a) : se(0);
1286
1286
  let s = (l.left + c.x) / i.x, r = (l.top + c.y) / i.y, u = l.width / i.x, d = l.height / i.y;
1287
1287
  if (a) {
1288
- const v = Q(a), m = o && oe(o) ? Q(o) : o;
1289
- let p = v, w = st(p);
1288
+ const f = Q(a), m = o && le(o) ? Q(o) : o;
1289
+ let p = f, w = st(p);
1290
1290
  for (; w && o && m !== p; ) {
1291
- const h = Ee(w), y = w.getBoundingClientRect(), _ = le(w), b = y.left + (w.clientLeft + parseFloat(_.paddingLeft)) * h.x, $ = y.top + (w.clientTop + parseFloat(_.paddingTop)) * h.y;
1292
- s *= h.x, r *= h.y, u *= h.x, d *= h.y, s += b, r += $, p = Q(w), w = st(p);
1291
+ const h = Ee(w), y = w.getBoundingClientRect(), _ = ae(w), b = y.left + (w.clientLeft + parseFloat(_.paddingLeft)) * h.x, L = y.top + (w.clientTop + parseFloat(_.paddingTop)) * h.y;
1292
+ s *= h.x, r *= h.y, u *= h.x, d *= h.y, s += b, r += L, p = Q(w), w = st(p);
1293
1293
  }
1294
1294
  }
1295
- return Ke({
1295
+ return Xe({
1296
1296
  width: u,
1297
1297
  height: d,
1298
1298
  x: s,
1299
1299
  y: r
1300
1300
  });
1301
1301
  }
1302
- function Je(e, n) {
1303
- const t = Ye(e).scrollLeft;
1304
- return n ? n.left + t : _e(re(e)).left + t;
1302
+ function Qe(e, n) {
1303
+ const t = Je(e).scrollLeft;
1304
+ return n ? n.left + t : _e(ce(e)).left + t;
1305
1305
  }
1306
1306
  function on(e, n) {
1307
- const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Je(e, t), l = t.top + n.scrollTop;
1307
+ const t = e.getBoundingClientRect(), o = t.left + n.scrollLeft - Qe(e, t), l = t.top + n.scrollTop;
1308
1308
  return {
1309
1309
  x: o,
1310
1310
  y: l
1311
1311
  };
1312
1312
  }
1313
- function Jo(e) {
1313
+ function Qo(e) {
1314
1314
  let {
1315
1315
  elements: n,
1316
1316
  rect: t,
1317
1317
  offsetParent: o,
1318
1318
  strategy: l
1319
1319
  } = e;
1320
- const a = l === "fixed", i = re(o), c = n ? qe(n.floating) : !1;
1320
+ const a = l === "fixed", i = ce(o), c = n ? Ye(n.floating) : !1;
1321
1321
  if (o === i || c && a)
1322
1322
  return t;
1323
1323
  let s = {
1324
1324
  scrollLeft: 0,
1325
1325
  scrollTop: 0
1326
- }, r = ie(1);
1327
- const u = ie(0), d = se(o);
1328
- if ((d || !d && !a) && ((xe(o) !== "body" || Fe(i)) && (s = Ye(o)), se(o))) {
1326
+ }, r = se(1);
1327
+ const u = se(0), d = re(o);
1328
+ if ((d || !d && !a) && ((xe(o) !== "body" || ze(i)) && (s = Je(o)), re(o))) {
1329
1329
  const m = _e(o);
1330
1330
  r = Ee(o), u.x = m.x + o.clientLeft, u.y = m.y + o.clientTop;
1331
1331
  }
1332
- const v = i && !d && !a ? on(i, s) : ie(0);
1332
+ const f = i && !d && !a ? on(i, s) : se(0);
1333
1333
  return {
1334
1334
  width: t.width * r.x,
1335
1335
  height: t.height * r.y,
1336
- x: t.x * r.x - s.scrollLeft * r.x + u.x + v.x,
1337
- y: t.y * r.y - s.scrollTop * r.y + u.y + v.y
1336
+ x: t.x * r.x - s.scrollLeft * r.x + u.x + f.x,
1337
+ y: t.y * r.y - s.scrollTop * r.y + u.y + f.y
1338
1338
  };
1339
1339
  }
1340
- function Qo(e) {
1340
+ function Zo(e) {
1341
1341
  return Array.from(e.getClientRects());
1342
1342
  }
1343
- function Zo(e) {
1344
- const n = re(e), t = Ye(e), o = e.ownerDocument.body, l = J(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), a = J(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
1345
- let i = -t.scrollLeft + Je(e);
1343
+ function el(e) {
1344
+ const n = ce(e), t = Je(e), o = e.ownerDocument.body, l = J(n.scrollWidth, n.clientWidth, o.scrollWidth, o.clientWidth), a = J(n.scrollHeight, n.clientHeight, o.scrollHeight, o.clientHeight);
1345
+ let i = -t.scrollLeft + Qe(e);
1346
1346
  const c = -t.scrollTop;
1347
- return le(o).direction === "rtl" && (i += J(n.clientWidth, o.clientWidth) - l), {
1347
+ return ae(o).direction === "rtl" && (i += J(n.clientWidth, o.clientWidth) - l), {
1348
1348
  width: l,
1349
1349
  height: a,
1350
1350
  x: i,
1351
1351
  y: c
1352
1352
  };
1353
1353
  }
1354
- const Bt = 25;
1355
- function el(e, n) {
1356
- const t = Q(e), o = re(e), l = t.visualViewport;
1354
+ const jt = 25;
1355
+ function tl(e, n) {
1356
+ const t = Q(e), o = ce(e), l = t.visualViewport;
1357
1357
  let a = o.clientWidth, i = o.clientHeight, c = 0, s = 0;
1358
1358
  if (l) {
1359
1359
  a = l.width, i = l.height;
1360
1360
  const u = ht();
1361
1361
  (!u || u && n === "fixed") && (c = l.offsetLeft, s = l.offsetTop);
1362
1362
  }
1363
- const r = Je(o);
1363
+ const r = Qe(o);
1364
1364
  if (r <= 0) {
1365
- const u = o.ownerDocument, d = u.body, v = getComputedStyle(d), m = u.compatMode === "CSS1Compat" && parseFloat(v.marginLeft) + parseFloat(v.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - m);
1366
- p <= Bt && (a -= p);
1367
- } else r <= Bt && (a += r);
1365
+ const u = o.ownerDocument, d = u.body, f = getComputedStyle(d), m = u.compatMode === "CSS1Compat" && parseFloat(f.marginLeft) + parseFloat(f.marginRight) || 0, p = Math.abs(o.clientWidth - d.clientWidth - m);
1366
+ p <= jt && (a -= p);
1367
+ } else r <= jt && (a += r);
1368
1368
  return {
1369
1369
  width: a,
1370
1370
  height: i,
@@ -1372,9 +1372,9 @@ function el(e, n) {
1372
1372
  y: s
1373
1373
  };
1374
1374
  }
1375
- const tl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1376
- function nl(e, n) {
1377
- const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = se(e) ? Ee(e) : ie(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1375
+ const nl = /* @__PURE__ */ new Set(["absolute", "fixed"]);
1376
+ function ol(e, n) {
1377
+ const t = _e(e, !0, n === "fixed"), o = t.top + e.clientTop, l = t.left + e.clientLeft, a = re(e) ? Ee(e) : se(1), i = e.clientWidth * a.x, c = e.clientHeight * a.y, s = l * a.x, r = o * a.y;
1378
1378
  return {
1379
1379
  width: i,
1380
1380
  height: c,
@@ -1382,14 +1382,14 @@ function nl(e, n) {
1382
1382
  y: r
1383
1383
  };
1384
1384
  }
1385
- function Pt(e, n, t) {
1385
+ function Bt(e, n, t) {
1386
1386
  let o;
1387
1387
  if (n === "viewport")
1388
- o = el(e, t);
1388
+ o = tl(e, t);
1389
1389
  else if (n === "document")
1390
- o = Zo(re(e));
1391
- else if (oe(n))
1392
- o = nl(n, t);
1390
+ o = el(ce(e));
1391
+ else if (le(n))
1392
+ o = ol(n, t);
1393
1393
  else {
1394
1394
  const l = nn(e);
1395
1395
  o = {
@@ -1399,36 +1399,36 @@ function Pt(e, n, t) {
1399
1399
  height: n.height
1400
1400
  };
1401
1401
  }
1402
- return Ke(o);
1402
+ return Xe(o);
1403
1403
  }
1404
1404
  function ln(e, n) {
1405
1405
  const t = he(e);
1406
- return t === n || !oe(t) || Se(t) ? !1 : le(t).position === "fixed" || ln(t, n);
1406
+ return t === n || !le(t) || Se(t) ? !1 : ae(t).position === "fixed" || ln(t, n);
1407
1407
  }
1408
- function ol(e, n) {
1408
+ function ll(e, n) {
1409
1409
  const t = n.get(e);
1410
1410
  if (t)
1411
1411
  return t;
1412
- let o = De(e, [], !1).filter((c) => oe(c) && xe(c) !== "body"), l = null;
1413
- const a = le(e).position === "fixed";
1412
+ let o = Be(e, [], !1).filter((c) => le(c) && xe(c) !== "body"), l = null;
1413
+ const a = ae(e).position === "fixed";
1414
1414
  let i = a ? he(e) : e;
1415
- for (; oe(i) && !Se(i); ) {
1416
- const c = le(i), s = pt(i);
1417
- !s && c.position === "fixed" && (l = null), (a ? !s && !l : !s && c.position === "static" && !!l && tl.has(l.position) || Fe(i) && !s && ln(e, i)) ? o = o.filter((u) => u !== i) : l = c, i = he(i);
1415
+ for (; le(i) && !Se(i); ) {
1416
+ const c = ae(i), s = pt(i);
1417
+ !s && c.position === "fixed" && (l = null), (a ? !s && !l : !s && c.position === "static" && !!l && nl.has(l.position) || ze(i) && !s && ln(e, i)) ? o = o.filter((u) => u !== i) : l = c, i = he(i);
1418
1418
  }
1419
1419
  return n.set(e, o), o;
1420
1420
  }
1421
- function ll(e) {
1421
+ function al(e) {
1422
1422
  let {
1423
1423
  element: n,
1424
1424
  boundary: t,
1425
1425
  rootBoundary: o,
1426
1426
  strategy: l
1427
1427
  } = e;
1428
- const i = [...t === "clippingAncestors" ? qe(n) ? [] : ol(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1429
- const d = Pt(n, u, l);
1428
+ const i = [...t === "clippingAncestors" ? Ye(n) ? [] : ll(n, this._c) : [].concat(t), o], c = i[0], s = i.reduce((r, u) => {
1429
+ const d = Bt(n, u, l);
1430
1430
  return r.top = J(d.top, r.top), r.right = $e(d.right, r.right), r.bottom = $e(d.bottom, r.bottom), r.left = J(d.left, r.left), r;
1431
- }, Pt(n, c, l));
1431
+ }, Bt(n, c, l));
1432
1432
  return {
1433
1433
  width: s.right - s.left,
1434
1434
  height: s.bottom - s.top,
@@ -1436,7 +1436,7 @@ function ll(e) {
1436
1436
  y: s.top
1437
1437
  };
1438
1438
  }
1439
- function al(e) {
1439
+ function il(e) {
1440
1440
  const {
1441
1441
  width: n,
1442
1442
  height: t
@@ -1446,63 +1446,63 @@ function al(e) {
1446
1446
  height: t
1447
1447
  };
1448
1448
  }
1449
- function il(e, n, t) {
1450
- const o = se(n), l = re(n), a = t === "fixed", i = _e(e, !0, a, n);
1449
+ function sl(e, n, t) {
1450
+ const o = re(n), l = ce(n), a = t === "fixed", i = _e(e, !0, a, n);
1451
1451
  let c = {
1452
1452
  scrollLeft: 0,
1453
1453
  scrollTop: 0
1454
1454
  };
1455
- const s = ie(0);
1455
+ const s = se(0);
1456
1456
  function r() {
1457
- s.x = Je(l);
1457
+ s.x = Qe(l);
1458
1458
  }
1459
1459
  if (o || !o && !a)
1460
- if ((xe(n) !== "body" || Fe(l)) && (c = Ye(n)), o) {
1460
+ if ((xe(n) !== "body" || ze(l)) && (c = Je(n)), o) {
1461
1461
  const m = _e(n, !0, a, n);
1462
1462
  s.x = m.x + n.clientLeft, s.y = m.y + n.clientTop;
1463
1463
  } else l && r();
1464
1464
  a && !o && l && r();
1465
- const u = l && !o && !a ? on(l, c) : ie(0), d = i.left + c.scrollLeft - s.x - u.x, v = i.top + c.scrollTop - s.y - u.y;
1465
+ const u = l && !o && !a ? on(l, c) : se(0), d = i.left + c.scrollLeft - s.x - u.x, f = i.top + c.scrollTop - s.y - u.y;
1466
1466
  return {
1467
1467
  x: d,
1468
- y: v,
1468
+ y: f,
1469
1469
  width: i.width,
1470
1470
  height: i.height
1471
1471
  };
1472
1472
  }
1473
- function ot(e) {
1474
- return le(e).position === "static";
1473
+ function lt(e) {
1474
+ return ae(e).position === "static";
1475
1475
  }
1476
- function jt(e, n) {
1477
- if (!se(e) || le(e).position === "fixed")
1476
+ function Pt(e, n) {
1477
+ if (!re(e) || ae(e).position === "fixed")
1478
1478
  return null;
1479
1479
  if (n)
1480
1480
  return n(e);
1481
1481
  let t = e.offsetParent;
1482
- return re(e) === t && (t = t.ownerDocument.body), t;
1482
+ return ce(e) === t && (t = t.ownerDocument.body), t;
1483
1483
  }
1484
1484
  function an(e, n) {
1485
1485
  const t = Q(e);
1486
- if (qe(e))
1486
+ if (Ye(e))
1487
1487
  return t;
1488
- if (!se(e)) {
1488
+ if (!re(e)) {
1489
1489
  let l = he(e);
1490
1490
  for (; l && !Se(l); ) {
1491
- if (oe(l) && !ot(l))
1491
+ if (le(l) && !lt(l))
1492
1492
  return l;
1493
1493
  l = he(l);
1494
1494
  }
1495
1495
  return t;
1496
1496
  }
1497
- let o = jt(e, n);
1498
- for (; o && Ho(o) && ot(o); )
1499
- o = jt(o, n);
1500
- return o && Se(o) && ot(o) && !pt(o) ? t : o || Xo(e) || t;
1497
+ let o = Pt(e, n);
1498
+ for (; o && Wo(o) && lt(o); )
1499
+ o = Pt(o, n);
1500
+ return o && Se(o) && lt(o) && !pt(o) ? t : o || qo(e) || t;
1501
1501
  }
1502
- const sl = async function(e) {
1502
+ const rl = async function(e) {
1503
1503
  const n = this.getOffsetParent || an, t = this.getDimensions, o = await t(e.floating);
1504
1504
  return {
1505
- reference: il(e.reference, await n(e.floating), e.strategy),
1505
+ reference: sl(e.reference, await n(e.floating), e.strategy),
1506
1506
  floating: {
1507
1507
  x: 0,
1508
1508
  y: 0,
@@ -1511,27 +1511,27 @@ const sl = async function(e) {
1511
1511
  }
1512
1512
  };
1513
1513
  };
1514
- function rl(e) {
1515
- return le(e).direction === "rtl";
1514
+ function cl(e) {
1515
+ return ae(e).direction === "rtl";
1516
1516
  }
1517
- const cl = {
1518
- convertOffsetParentRelativeRectToViewportRelativeRect: Jo,
1519
- getDocumentElement: re,
1520
- getClippingRect: ll,
1517
+ const ul = {
1518
+ convertOffsetParentRelativeRectToViewportRelativeRect: Qo,
1519
+ getDocumentElement: ce,
1520
+ getClippingRect: al,
1521
1521
  getOffsetParent: an,
1522
- getElementRects: sl,
1523
- getClientRects: Qo,
1524
- getDimensions: al,
1522
+ getElementRects: rl,
1523
+ getClientRects: Zo,
1524
+ getDimensions: il,
1525
1525
  getScale: Ee,
1526
- isElement: oe,
1527
- isRTL: rl
1526
+ isElement: le,
1527
+ isRTL: cl
1528
1528
  };
1529
1529
  function sn(e, n) {
1530
1530
  return e.x === n.x && e.y === n.y && e.width === n.width && e.height === n.height;
1531
1531
  }
1532
- function ul(e, n) {
1532
+ function dl(e, n) {
1533
1533
  let t = null, o;
1534
- const l = re(e);
1534
+ const l = ce(e);
1535
1535
  function a() {
1536
1536
  var c;
1537
1537
  clearTimeout(o), (c = t) == null || c.disconnect(), t = null;
@@ -1541,41 +1541,41 @@ function ul(e, n) {
1541
1541
  const r = e.getBoundingClientRect(), {
1542
1542
  left: u,
1543
1543
  top: d,
1544
- width: v,
1544
+ width: f,
1545
1545
  height: m
1546
1546
  } = r;
1547
- if (c || n(), !v || !m)
1547
+ if (c || n(), !f || !m)
1548
1548
  return;
1549
- const p = He(d), w = He(l.clientWidth - (u + v)), h = He(l.clientHeight - (d + m)), y = He(u), b = {
1549
+ const p = We(d), w = We(l.clientWidth - (u + f)), h = We(l.clientHeight - (d + m)), y = We(u), b = {
1550
1550
  rootMargin: -p + "px " + -w + "px " + -h + "px " + -y + "px",
1551
1551
  threshold: J(0, $e(1, s)) || 1
1552
1552
  };
1553
- let $ = !0;
1554
- function P(I) {
1555
- const k = I[0].intersectionRatio;
1553
+ let L = !0;
1554
+ function j(z) {
1555
+ const k = z[0].intersectionRatio;
1556
1556
  if (k !== s) {
1557
- if (!$)
1557
+ if (!L)
1558
1558
  return i();
1559
1559
  k ? i(!1, k) : o = setTimeout(() => {
1560
1560
  i(!1, 1e-7);
1561
1561
  }, 1e3);
1562
1562
  }
1563
- k === 1 && !sn(r, e.getBoundingClientRect()) && i(), $ = !1;
1563
+ k === 1 && !sn(r, e.getBoundingClientRect()) && i(), L = !1;
1564
1564
  }
1565
1565
  try {
1566
- t = new IntersectionObserver(P, {
1566
+ t = new IntersectionObserver(j, {
1567
1567
  ...b,
1568
1568
  // Handle <iframe>s
1569
1569
  root: l.ownerDocument
1570
1570
  });
1571
1571
  } catch {
1572
- t = new IntersectionObserver(P, b);
1572
+ t = new IntersectionObserver(j, b);
1573
1573
  }
1574
1574
  t.observe(e);
1575
1575
  }
1576
1576
  return i(!0), a;
1577
1577
  }
1578
- function Qe(e, n, t, o) {
1578
+ function Ze(e, n, t, o) {
1579
1579
  o === void 0 && (o = {});
1580
1580
  const {
1581
1581
  ancestorScroll: l = !0,
@@ -1583,17 +1583,17 @@ function Qe(e, n, t, o) {
1583
1583
  elementResize: i = typeof ResizeObserver == "function",
1584
1584
  layoutShift: c = typeof IntersectionObserver == "function",
1585
1585
  animationFrame: s = !1
1586
- } = o, r = gt(e), u = l || a ? [...r ? De(r) : [], ...De(n)] : [];
1586
+ } = o, r = gt(e), u = l || a ? [...r ? Be(r) : [], ...Be(n)] : [];
1587
1587
  u.forEach((y) => {
1588
1588
  l && y.addEventListener("scroll", t, {
1589
1589
  passive: !0
1590
1590
  }), a && y.addEventListener("resize", t);
1591
1591
  });
1592
- const d = r && c ? ul(r, t) : null;
1593
- let v = -1, m = null;
1592
+ const d = r && c ? dl(r, t) : null;
1593
+ let f = -1, m = null;
1594
1594
  i && (m = new ResizeObserver((y) => {
1595
1595
  let [_] = y;
1596
- _ && _.target === r && m && (m.unobserve(n), cancelAnimationFrame(v), v = requestAnimationFrame(() => {
1596
+ _ && _.target === r && m && (m.unobserve(n), cancelAnimationFrame(f), f = requestAnimationFrame(() => {
1597
1597
  var b;
1598
1598
  (b = m) == null || b.observe(n);
1599
1599
  })), t();
@@ -1611,30 +1611,30 @@ function Qe(e, n, t, o) {
1611
1611
  }), d?.(), (y = m) == null || y.disconnect(), m = null, s && cancelAnimationFrame(p);
1612
1612
  };
1613
1613
  }
1614
- const Ze = jo, et = Mo, tt = Do, dl = Fo, rn = (e, n, t) => {
1614
+ const et = Mo, tt = Fo, nt = jo, fl = zo, rn = (e, n, t) => {
1615
1615
  const o = /* @__PURE__ */ new Map(), l = {
1616
- platform: cl,
1616
+ platform: ul,
1617
1617
  ...t
1618
1618
  }, a = {
1619
1619
  ...l.platform,
1620
1620
  _c: o
1621
1621
  };
1622
- return Oo(e, n, {
1622
+ return Do(e, n, {
1623
1623
  ...l,
1624
1624
  platform: a
1625
1625
  });
1626
1626
  };
1627
- function fl(e) {
1627
+ function vl(e) {
1628
1628
  return e != null && typeof e == "object" && "$el" in e;
1629
1629
  }
1630
1630
  function Mt(e) {
1631
- if (fl(e)) {
1631
+ if (vl(e)) {
1632
1632
  const n = e.$el;
1633
1633
  return mt(n) && xe(n) === "#comment" ? null : n;
1634
1634
  }
1635
1635
  return e;
1636
1636
  }
1637
- function Ae(e) {
1637
+ function Oe(e) {
1638
1638
  return typeof e == "function" ? e() : S(e);
1639
1639
  }
1640
1640
  function cn(e) {
@@ -1648,17 +1648,17 @@ function bt(e, n, t) {
1648
1648
  t === void 0 && (t = {});
1649
1649
  const o = t.whileElementsMounted, l = C(() => {
1650
1650
  var k;
1651
- return (k = Ae(t.open)) != null ? k : !0;
1652
- }), a = C(() => Ae(t.middleware)), i = C(() => {
1651
+ return (k = Oe(t.open)) != null ? k : !0;
1652
+ }), a = C(() => Oe(t.middleware)), i = C(() => {
1653
1653
  var k;
1654
- return (k = Ae(t.placement)) != null ? k : "bottom";
1654
+ return (k = Oe(t.placement)) != null ? k : "bottom";
1655
1655
  }), c = C(() => {
1656
1656
  var k;
1657
- return (k = Ae(t.strategy)) != null ? k : "absolute";
1657
+ return (k = Oe(t.strategy)) != null ? k : "absolute";
1658
1658
  }), s = C(() => {
1659
1659
  var k;
1660
- return (k = Ae(t.transform)) != null ? k : !0;
1661
- }), r = C(() => Mt(e.value)), u = C(() => Mt(n.value)), d = E(0), v = E(0), m = E(c.value), p = E(i.value), w = wn({}), h = E(!1), y = C(() => {
1660
+ return (k = Oe(t.transform)) != null ? k : !0;
1661
+ }), r = C(() => Mt(e.value)), u = C(() => Mt(n.value)), d = E(0), f = E(0), m = E(c.value), p = E(i.value), w = wn({}), h = E(!1), y = C(() => {
1662
1662
  const k = {
1663
1663
  position: m.value,
1664
1664
  left: "0",
@@ -1666,17 +1666,17 @@ function bt(e, n, t) {
1666
1666
  };
1667
1667
  if (!u.value)
1668
1668
  return k;
1669
- const V = Ft(u.value, d.value), A = Ft(u.value, v.value);
1669
+ const V = Ft(u.value, d.value), T = Ft(u.value, f.value);
1670
1670
  return s.value ? {
1671
1671
  ...k,
1672
- transform: "translate(" + V + "px, " + A + "px)",
1672
+ transform: "translate(" + V + "px, " + T + "px)",
1673
1673
  ...cn(u.value) >= 1.5 && {
1674
1674
  willChange: "transform"
1675
1675
  }
1676
1676
  } : {
1677
1677
  position: m.value,
1678
1678
  left: V + "px",
1679
- top: A + "px"
1679
+ top: T + "px"
1680
1680
  };
1681
1681
  });
1682
1682
  let _;
@@ -1689,14 +1689,14 @@ function bt(e, n, t) {
1689
1689
  placement: i.value,
1690
1690
  strategy: c.value
1691
1691
  }).then((V) => {
1692
- d.value = V.x, v.value = V.y, m.value = V.strategy, p.value = V.placement, w.value = V.middlewareData, h.value = k !== !1;
1692
+ d.value = V.x, f.value = V.y, m.value = V.strategy, p.value = V.placement, w.value = V.middlewareData, h.value = k !== !1;
1693
1693
  });
1694
1694
  }
1695
- function $() {
1695
+ function L() {
1696
1696
  typeof _ == "function" && (_(), _ = void 0);
1697
1697
  }
1698
- function P() {
1699
- if ($(), o === void 0) {
1698
+ function j() {
1699
+ if (L(), o === void 0) {
1700
1700
  b();
1701
1701
  return;
1702
1702
  }
@@ -1705,18 +1705,18 @@ function bt(e, n, t) {
1705
1705
  return;
1706
1706
  }
1707
1707
  }
1708
- function I() {
1708
+ function z() {
1709
1709
  l.value || (h.value = !1);
1710
1710
  }
1711
- return X([a, i, c, l], b, {
1711
+ return N([a, i, c, l], b, {
1712
1712
  flush: "sync"
1713
- }), X([r, u], P, {
1713
+ }), N([r, u], j, {
1714
1714
  flush: "sync"
1715
- }), X(l, I, {
1715
+ }), N(l, z, {
1716
1716
  flush: "sync"
1717
- }), _n() && xn($), {
1717
+ }), _n() && xn(L), {
1718
1718
  x: Ve(d),
1719
- y: Ve(v),
1719
+ y: Ve(f),
1720
1720
  strategy: Ve(m),
1721
1721
  placement: Ve(p),
1722
1722
  middlewareData: Ve(w),
@@ -1725,17 +1725,17 @@ function bt(e, n, t) {
1725
1725
  update: b
1726
1726
  };
1727
1727
  }
1728
- const vl = /* @__PURE__ */ T({
1728
+ const ml = /* @__PURE__ */ R({
1729
1729
  inheritAttrs: !1,
1730
1730
  __name: "dot-menu",
1731
1731
  props: {
1732
1732
  icon: {}
1733
1733
  },
1734
1734
  setup(e) {
1735
- const n = e, t = E(!1), o = E(null), l = E(null), a = C(() => n.icon ?? F.DOT_MENU), { floatingStyles: i } = bt(o, l, {
1735
+ const n = e, t = E(!1), o = E(null), l = E(null), a = C(() => n.icon ?? H.DOT_MENU), { floatingStyles: i } = bt(o, l, {
1736
1736
  placement: "bottom-end",
1737
- middleware: [Ze(8), tt(), et({ padding: 8 })],
1738
- whileElementsMounted: Qe
1737
+ middleware: [et(8), nt(), tt({ padding: 8 })],
1738
+ whileElementsMounted: Ze
1739
1739
  }), c = () => {
1740
1740
  t.value = !t.value;
1741
1741
  }, s = () => {
@@ -1745,12 +1745,12 @@ const vl = /* @__PURE__ */ T({
1745
1745
  d && (d.closest(".menu-action") || d.closest('[role="menuitem"]') || d.closest("a")) && s();
1746
1746
  };
1747
1747
  return (u, d) => {
1748
- const v = K("VjButton"), m = K("VjMenu");
1749
- return f(), g(Z, null, [
1748
+ const f = X("VjButton"), m = X("VjMenu");
1749
+ return v(), g(Z, null, [
1750
1750
  x("div", {
1751
- class: z(["dot-menu-container", u.$attrs.class])
1751
+ class: I(["dot-menu-container", u.$attrs.class])
1752
1752
  }, [
1753
- O(v, {
1753
+ D(f, {
1754
1754
  ref_key: "buttonRef",
1755
1755
  ref: o,
1756
1756
  class: "dot-menu",
@@ -1758,37 +1758,37 @@ const vl = /* @__PURE__ */ T({
1758
1758
  icon: a.value,
1759
1759
  onClick: c
1760
1760
  }, null, 8, ["icon"]),
1761
- O(Oe, { name: "menu" }, {
1762
- default: W(() => [
1763
- t.value ? (f(), M(m, {
1761
+ D(De, { name: "menu" }, {
1762
+ default: U(() => [
1763
+ t.value ? (v(), F(m, {
1764
1764
  key: 0,
1765
1765
  ref_key: "floatingRef",
1766
1766
  ref: l,
1767
- style: G(S(i)),
1767
+ style: q(S(i)),
1768
1768
  class: "menu-dropdown",
1769
1769
  onClose: s,
1770
1770
  onClickCapture: r
1771
1771
  }, {
1772
- default: W(() => [
1773
- j(u.$slots, "default", {}, void 0, !0)
1772
+ default: U(() => [
1773
+ M(u.$slots, "default", {}, void 0, !0)
1774
1774
  ]),
1775
1775
  _: 3
1776
- }, 8, ["style"])) : L("", !0)
1776
+ }, 8, ["style"])) : $("", !0)
1777
1777
  ]),
1778
1778
  _: 3
1779
1779
  })
1780
1780
  ], 2),
1781
- (f(), M(Pe, { to: "body" }, [
1782
- t.value ? (f(), g("div", {
1781
+ (v(), F(Pe, { to: "body" }, [
1782
+ t.value ? (v(), g("div", {
1783
1783
  key: 0,
1784
1784
  class: "menu-backdrop",
1785
1785
  onClick: s
1786
- })) : L("", !0)
1786
+ })) : $("", !0)
1787
1787
  ]))
1788
1788
  ], 64);
1789
1789
  };
1790
1790
  }
1791
- }), ml = /* @__PURE__ */ D(vl, [["__scopeId", "data-v-3c400bfd"]]), pl = /* @__PURE__ */ T({
1791
+ }), pl = /* @__PURE__ */ O(ml, [["__scopeId", "data-v-3c400bfd"]]), hl = /* @__PURE__ */ R({
1792
1792
  __name: "link-button",
1793
1793
  props: {
1794
1794
  label: {},
@@ -1800,27 +1800,27 @@ const vl = /* @__PURE__ */ T({
1800
1800
  disabled: { type: Boolean }
1801
1801
  },
1802
1802
  setup(e) {
1803
- const n = e, t = q.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1803
+ const n = e, t = G.S, o = C(() => n.primary ? "primary" : n.secondary ? "secondary" : n.tertiary ? "tertiary" : "primary");
1804
1804
  return (l, a) => {
1805
- const i = K("router-link");
1806
- return f(), M(i, {
1805
+ const i = X("router-link");
1806
+ return v(), F(i, {
1807
1807
  to: e.to,
1808
- class: z(["button", o.value]),
1808
+ class: I(["button", o.value]),
1809
1809
  disabled: e.disabled
1810
1810
  }, {
1811
- default: W(() => [
1812
- e.icon ? (f(), M(be, {
1811
+ default: U(() => [
1812
+ e.icon ? (v(), F(be, {
1813
1813
  key: 0,
1814
1814
  icon: e.icon,
1815
1815
  size: S(t)
1816
- }, null, 8, ["icon", "size"])) : L("", !0),
1816
+ }, null, 8, ["icon", "size"])) : $("", !0),
1817
1817
  Ue(" " + B(e.label), 1)
1818
1818
  ]),
1819
1819
  _: 1
1820
1820
  }, 8, ["to", "class", "disabled"]);
1821
1821
  };
1822
1822
  }
1823
- }), hl = /* @__PURE__ */ D(pl, [["__scopeId", "data-v-bd3cf2f5"]]), gl = ["disabled"], bl = { class: "menu-action--icon" }, yl = /* @__PURE__ */ T({
1823
+ }), gl = /* @__PURE__ */ O(hl, [["__scopeId", "data-v-bd3cf2f5"]]), bl = ["disabled"], yl = { class: "menu-action--icon" }, wl = /* @__PURE__ */ R({
1824
1824
  __name: "menu-action",
1825
1825
  props: {
1826
1826
  label: {},
@@ -1828,28 +1828,28 @@ const vl = /* @__PURE__ */ T({
1828
1828
  disabled: { type: Boolean }
1829
1829
  },
1830
1830
  setup(e) {
1831
- const n = q.S;
1832
- return (t, o) => (f(), g("button", {
1831
+ const n = G.S;
1832
+ return (t, o) => (v(), g("button", {
1833
1833
  class: "menu-action button tertiary",
1834
1834
  disabled: e.disabled
1835
1835
  }, [
1836
- x("span", bl, [
1837
- e.icon ? (f(), M(be, {
1836
+ x("span", yl, [
1837
+ e.icon ? (v(), F(be, {
1838
1838
  key: 0,
1839
1839
  icon: e.icon,
1840
1840
  size: S(n)
1841
- }, null, 8, ["icon", "size"])) : L("", !0)
1841
+ }, null, 8, ["icon", "size"])) : $("", !0)
1842
1842
  ]),
1843
1843
  x("span", null, B(e.label), 1)
1844
- ], 8, gl));
1844
+ ], 8, bl));
1845
1845
  }
1846
- }), wl = /* @__PURE__ */ D(yl, [["__scopeId", "data-v-07850995"]]), _l = {}, xl = { class: "menu" };
1847
- function kl(e, n) {
1848
- return f(), g("div", xl, [
1849
- j(e.$slots, "default", {}, void 0, !0)
1846
+ }), _l = /* @__PURE__ */ O(wl, [["__scopeId", "data-v-07850995"]]), xl = {}, kl = { class: "menu" };
1847
+ function Vl(e, n) {
1848
+ return v(), g("div", kl, [
1849
+ M(e.$slots, "default", {}, void 0, !0)
1850
1850
  ]);
1851
1851
  }
1852
- const Vl = /* @__PURE__ */ D(_l, [["render", kl], ["__scopeId", "data-v-259fec08"]]), Cl = {
1852
+ const Cl = /* @__PURE__ */ O(xl, [["render", Vl], ["__scopeId", "data-v-259fec08"]]), El = {
1853
1853
  mounted(e) {
1854
1854
  e.classList.add("compact");
1855
1855
  },
@@ -1865,21 +1865,21 @@ const Vl = /* @__PURE__ */ D(_l, [["render", kl], ["__scopeId", "data-v-259fec08
1865
1865
  '[tabindex]:not([tabindex="-1"])',
1866
1866
  '[contenteditable="true"]'
1867
1867
  ].join(", ");
1868
- function El(e) {
1868
+ function Ll(e) {
1869
1869
  const n = e.querySelectorAll(un);
1870
1870
  for (const t of Array.from(n))
1871
1871
  if (t.offsetParent !== null || t.getClientRects().length > 0)
1872
1872
  return t;
1873
1873
  return null;
1874
1874
  }
1875
- const Ll = {
1875
+ const $l = {
1876
1876
  mounted(e, n) {
1877
1877
  const t = typeof n.value == "number" ? n.value : 0, o = () => {
1878
1878
  if (e.matches(un)) {
1879
1879
  e.focus();
1880
1880
  return;
1881
1881
  }
1882
- const l = El(e);
1882
+ const l = Ll(e);
1883
1883
  l && l.focus();
1884
1884
  };
1885
1885
  t > 0 ? setTimeout(o, t) : requestAnimationFrame(o);
@@ -1948,7 +1948,7 @@ class yt {
1948
1948
  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)));
1949
1949
  }
1950
1950
  }
1951
- const Ce = yt.instance, $l = {
1951
+ const Ce = yt.instance, Sl = {
1952
1952
  mounted(e, n) {
1953
1953
  const t = n.value, o = typeof t == "function" ? t : t?.onResize, l = typeof t == "object" && t?.breakpoints ? t.breakpoints : void 0, a = typeof t == "object" && !!t?.immediate, i = e;
1954
1954
  i.__resize_cb = o, i.__resize_breakpoints = l, o && Ce.observe(e, o, { breakpoints: l, immediate: a });
@@ -1965,25 +1965,25 @@ const Ce = yt.instance, $l = {
1965
1965
  const n = e, t = n.__resize_cb;
1966
1966
  t && Ce.unobserve(e, t), delete n.__resize_cb, delete n.__resize_breakpoints;
1967
1967
  }
1968
- }, Sl = {}, Rl = { class: "spinner" };
1969
- function Tl(e, n) {
1970
- return f(), g("div", Rl);
1968
+ }, Rl = {}, Tl = { class: "spinner" };
1969
+ function Al(e, n) {
1970
+ return v(), g("div", Tl);
1971
1971
  }
1972
- const dn = /* @__PURE__ */ D(Sl, [["render", Tl], ["__scopeId", "data-v-b957fb82"]]), Al = 200, Ol = 120;
1972
+ const dn = /* @__PURE__ */ O(Rl, [["render", Al], ["__scopeId", "data-v-b957fb82"]]), Ol = 200, Dl = 120;
1973
1973
  function zt(e, n) {
1974
1974
  const t = n.querySelector(".vj-loading-inner");
1975
1975
  if (!t) return;
1976
1976
  const o = e.clientHeight || e.getBoundingClientRect().height;
1977
1977
  t.classList.remove("vj-loading-inner--small", "vj-loading-inner--minimal");
1978
1978
  const l = t.querySelector(".vj-loading-text");
1979
- l && l.classList.remove("vj-loading-text--hidden"), o <= Ol ? (t.classList.add("vj-loading-inner--minimal"), l && l.classList.add("vj-loading-text--hidden")) : o <= Al && t.classList.add("vj-loading-inner--small");
1979
+ l && l.classList.remove("vj-loading-text--hidden"), o <= Dl ? (t.classList.add("vj-loading-inner--minimal"), l && l.classList.add("vj-loading-text--hidden")) : o <= Ol && t.classList.add("vj-loading-inner--small");
1980
1980
  }
1981
- const Dl = {
1981
+ const jl = {
1982
1982
  mounted(e, n) {
1983
1983
  let t, o;
1984
1984
  if (typeof n.value == "object" && n.value !== null) {
1985
- const v = n.value;
1986
- t = !!(v.active ?? !0), o = v.text;
1985
+ const f = n.value;
1986
+ t = !!(f.active ?? !0), o = f.text;
1987
1987
  } else
1988
1988
  t = !!n.value, o = void 0;
1989
1989
  const l = getComputedStyle(e), a = { overlay: document.createElement("div") };
@@ -1994,7 +1994,7 @@ const Dl = {
1994
1994
  s.className = "vj-loading-inner", s.appendChild(c);
1995
1995
  let r;
1996
1996
  o && (r = document.createElement("div"), r.className = "vj-loading-text", r.textContent = o, s.appendChild(r)), i.appendChild(s), zt(e, i);
1997
- const u = O(dn);
1997
+ const u = D(dn);
1998
1998
  St(u, c), a.spinnerVnode = u, a.spinnerContainer = c, t && (e.setAttribute("aria-busy", "true"), e.style.pointerEvents = "none"), e.appendChild(i);
1999
1999
  const d = e;
2000
2000
  d.__vjLoading = a;
@@ -2049,7 +2049,7 @@ const fn = {
2049
2049
  const l = { tooltip: o, cleanup: void 0, showTimer: null, hideTimer: null }, a = async () => {
2050
2050
  const m = await rn(e, o, {
2051
2051
  placement: t.placement,
2052
- middleware: [Ze(6), tt(), et({ padding: 8 })]
2052
+ middleware: [et(6), nt(), tt({ padding: 8 })]
2053
2053
  }), { x: p, y: w } = m;
2054
2054
  Object.assign(o.style, {
2055
2055
  left: `${p}px`,
@@ -2057,7 +2057,7 @@ const fn = {
2057
2057
  });
2058
2058
  }, i = () => {
2059
2059
  l.hideTimer && window.clearTimeout(l.hideTimer), l.showTimer = window.setTimeout(() => {
2060
- o.classList.add("vj-tooltip--visible"), a(), l.cleanup = Qe(e, o, a);
2060
+ o.classList.add("vj-tooltip--visible"), a(), l.cleanup = Ze(e, o, a);
2061
2061
  }, t.delay);
2062
2062
  }, c = () => {
2063
2063
  l.showTimer && window.clearTimeout(l.showTimer), l.hideTimer = window.setTimeout(() => {
@@ -2073,12 +2073,12 @@ const fn = {
2073
2073
  i();
2074
2074
  }, r = (m) => {
2075
2075
  c();
2076
- }, u = () => i(), d = () => c(), v = (m) => {
2076
+ }, u = () => i(), d = () => c(), f = (m) => {
2077
2077
  m.pointerType === "touch" && (i(), l.docHandler = (p) => {
2078
2078
  !o.contains(p.target) && !e.contains(p.target) && (c(), document.removeEventListener("pointerdown", l.docHandler), l.docHandler = void 0);
2079
2079
  }, document.addEventListener("pointerdown", l.docHandler));
2080
2080
  };
2081
- e.addEventListener("pointerenter", s), e.addEventListener("pointerleave", r), e.addEventListener("focus", u), e.addEventListener("blur", d), e.addEventListener("pointerdown", v), l.onPointerEnter = s, l.onPointerLeave = r, l.onFocus = u, l.onBlur = d, l.onPointerDown = v, e.__vjTooltip = l;
2081
+ e.addEventListener("pointerenter", s), e.addEventListener("pointerleave", r), e.addEventListener("focus", u), e.addEventListener("blur", d), e.addEventListener("pointerdown", f), l.onPointerEnter = s, l.onPointerLeave = r, l.onFocus = u, l.onBlur = d, l.onPointerDown = f, e.__vjTooltip = l;
2082
2082
  },
2083
2083
  updated(e, n) {
2084
2084
  const t = e.__vjTooltip;
@@ -2096,7 +2096,7 @@ const fn = {
2096
2096
  n.tooltip && n.tooltip.parentElement && n.tooltip.parentElement.removeChild(n.tooltip), n.onPointerEnter && e.removeEventListener("pointerenter", n.onPointerEnter), n.onPointerLeave && e.removeEventListener("pointerleave", n.onPointerLeave), n.onFocus && e.removeEventListener("focus", n.onFocus), n.onBlur && e.removeEventListener("blur", n.onBlur), n.onPointerDown && e.removeEventListener("pointerdown", n.onPointerDown), n.docHandler && document.removeEventListener("pointerdown", n.docHandler), e.__vjTooltip = void 0;
2097
2097
  }
2098
2098
  }
2099
- }, Pl = { class: "notification__icon" }, jl = { class: "notification__message" }, Ml = { class: "notification__title" }, Fl = { class: "notification__text" }, zl = /* @__PURE__ */ T({
2099
+ }, Pl = { class: "notification__icon" }, Ml = { class: "notification__message" }, Fl = { class: "notification__title" }, zl = { class: "notification__text" }, Il = /* @__PURE__ */ R({
2100
2100
  __name: "notification",
2101
2101
  props: {
2102
2102
  type: {},
@@ -2108,47 +2108,47 @@ const fn = {
2108
2108
  const t = e, o = n, l = C(() => {
2109
2109
  switch (t.type) {
2110
2110
  case "success":
2111
- return F.CHECK;
2111
+ return H.CHECK;
2112
2112
  case "warning":
2113
- return F.WARNING;
2113
+ return H.WARNING;
2114
2114
  case "error":
2115
- return F.ERROR;
2115
+ return H.ERROR;
2116
2116
  default:
2117
- return F.INFO;
2117
+ return H.INFO;
2118
2118
  }
2119
2119
  }), a = () => {
2120
2120
  o("close");
2121
2121
  };
2122
- return (i, c) => (f(), g("div", {
2123
- class: z(["notification", `notification--${e.type}`]),
2122
+ return (i, c) => (v(), g("div", {
2123
+ class: I(["notification", `notification--${e.type}`]),
2124
2124
  onClick: a
2125
2125
  }, [
2126
2126
  x("div", Pl, [
2127
- O(be, { icon: l.value }, null, 8, ["icon"])
2127
+ D(be, { icon: l.value }, null, 8, ["icon"])
2128
2128
  ]),
2129
- x("div", jl, [
2130
- x("div", Ml, B(e.title), 1),
2131
- x("div", Fl, B(e.message), 1)
2129
+ x("div", Ml, [
2130
+ x("div", Fl, B(e.title), 1),
2131
+ x("div", zl, B(e.message), 1)
2132
2132
  ]),
2133
- O(dt, {
2133
+ D(dt, {
2134
2134
  class: "notification__close compact",
2135
- icon: S(F).CLOSE,
2136
- onClick: N(a, ["stop"]),
2135
+ icon: S(H).CLOSE,
2136
+ onClick: K(a, ["stop"]),
2137
2137
  tertiary: ""
2138
2138
  }, null, 8, ["icon"])
2139
2139
  ], 2));
2140
2140
  }
2141
- }), wt = /* @__PURE__ */ D(zl, [["__scopeId", "data-v-ca4451c0"]]), Il = { class: "page" }, Hl = { class: "header-left" }, Ul = { class: "header-titles" }, Wl = { key: 0 }, Nl = { class: "header-actions" }, Kl = {
2141
+ }), wt = /* @__PURE__ */ O(Il, [["__scopeId", "data-v-ca4451c0"]]), Hl = { class: "page" }, Wl = { class: "header-left" }, Ul = { class: "header-titles" }, Kl = { key: 0 }, Nl = { class: "header-actions" }, Xl = {
2142
2142
  key: 0,
2143
2143
  class: "page-error"
2144
- }, Xl = {
2144
+ }, ql = {
2145
2145
  key: 1,
2146
2146
  class: "contents"
2147
2147
  }, Gl = {
2148
2148
  key: 2,
2149
2149
  class: "actions"
2150
- }, ql = { key: 3 }, Yl = { key: 0 }, Jl = /* @__PURE__ */ T({
2151
- directives: { loading: Dl },
2150
+ }, Yl = { key: 3 }, Jl = { key: 0 }, Ql = /* @__PURE__ */ R({
2151
+ directives: { loading: jl },
2152
2152
  __name: "page",
2153
2153
  props: {
2154
2154
  title: {},
@@ -2163,60 +2163,60 @@ const fn = {
2163
2163
  setup(e, { emit: n }) {
2164
2164
  const t = e, o = C(() => t.flow?.running?.value ?? !1), l = C(() => t.flow?.error?.value ?? null), a = C(() => t.errorMessage ?? (l.value ? String(l.value) : null));
2165
2165
  return (i, c) => {
2166
- const s = K("VjButton"), r = Xt("loading");
2167
- return ct((f(), g("div", Il, [
2166
+ const s = X("VjButton"), r = Xt("loading");
2167
+ return ct((v(), g("div", Hl, [
2168
2168
  x("header", null, [
2169
- x("div", Hl, [
2170
- e.backLabel ? (f(), M(s, {
2169
+ x("div", Wl, [
2170
+ e.backLabel ? (v(), F(s, {
2171
2171
  key: 0,
2172
2172
  tertiary: "",
2173
- icon: S(F).BACK,
2173
+ icon: S(H).BACK,
2174
2174
  onClick: c[0] || (c[0] = (u) => i.$emit("back")),
2175
2175
  size: "small"
2176
- }, null, 8, ["icon"])) : L("", !0),
2176
+ }, null, 8, ["icon"])) : $("", !0),
2177
2177
  x("div", Ul, [
2178
2178
  x("h1", null, B(e.title), 1),
2179
- e.subTitle ? (f(), g("h2", Wl, B(e.subTitle), 1)) : L("", !0)
2179
+ e.subTitle ? (v(), g("h2", Kl, B(e.subTitle), 1)) : $("", !0)
2180
2180
  ])
2181
2181
  ]),
2182
2182
  x("div", Nl, [
2183
- j(i.$slots, "headerActions", {}, void 0, !0)
2183
+ M(i.$slots, "headerActions", {}, void 0, !0)
2184
2184
  ])
2185
2185
  ]),
2186
2186
  x("main", {
2187
- class: z({ scrollable: e.scrollable })
2187
+ class: I({ scrollable: e.scrollable })
2188
2188
  }, [
2189
- a.value ? (f(), g("div", Kl, [
2190
- j(i.$slots, "error", {}, () => [
2191
- O(wt, {
2189
+ a.value ? (v(), g("div", Xl, [
2190
+ M(i.$slots, "error", {}, () => [
2191
+ D(wt, {
2192
2192
  type: "error",
2193
2193
  title: a.value,
2194
2194
  message: a.value
2195
2195
  }, null, 8, ["title", "message"])
2196
2196
  ], !0)
2197
- ])) : L("", !0),
2198
- a.value ? L("", !0) : (f(), g("div", Xl, [
2199
- j(i.$slots, "default", {}, void 0, !0)
2197
+ ])) : $("", !0),
2198
+ a.value ? $("", !0) : (v(), g("div", ql, [
2199
+ M(i.$slots, "default", {}, void 0, !0)
2200
2200
  ])),
2201
- a.value ? L("", !0) : (f(), g("div", Gl, [
2202
- j(i.$slots, "actions", {}, void 0, !0)
2201
+ a.value ? $("", !0) : (v(), g("div", Gl, [
2202
+ M(i.$slots, "actions", {}, void 0, !0)
2203
2203
  ])),
2204
- i.$slots.flexFooter ? (f(), g("footer", ql, [
2205
- j(i.$slots, "flexFooter", {}, void 0, !0)
2206
- ])) : L("", !0)
2204
+ i.$slots.flexFooter ? (v(), g("footer", Yl, [
2205
+ M(i.$slots, "flexFooter", {}, void 0, !0)
2206
+ ])) : $("", !0)
2207
2207
  ], 2),
2208
- i.$slots.footer ? (f(), g("footer", Yl, [
2209
- j(i.$slots, "footer", {}, void 0, !0)
2210
- ])) : L("", !0)
2208
+ i.$slots.footer ? (v(), g("footer", Jl, [
2209
+ M(i.$slots, "footer", {}, void 0, !0)
2210
+ ])) : $("", !0)
2211
2211
  ])), [
2212
2212
  [r, { active: o.value, text: t.loadingMessage }]
2213
2213
  ]);
2214
2214
  };
2215
2215
  }
2216
- }), Ql = /* @__PURE__ */ D(Jl, [["__scopeId", "data-v-3e724555"]]), Zl = {
2216
+ }), Zl = /* @__PURE__ */ O(Ql, [["__scopeId", "data-v-3e724555"]]), ea = {
2217
2217
  class: "paginator-info",
2218
2218
  "aria-live": "polite"
2219
- }, ea = /* @__PURE__ */ T({
2219
+ }, ta = /* @__PURE__ */ R({
2220
2220
  __name: "paginator",
2221
2221
  props: /* @__PURE__ */ ee({
2222
2222
  totalItems: {},
@@ -2228,55 +2228,55 @@ const fn = {
2228
2228
  }),
2229
2229
  emits: /* @__PURE__ */ ee(["change"], ["update:modelValue"]),
2230
2230
  setup(e, { emit: n }) {
2231
- const t = e, o = ve(e, "modelValue"), l = n, a = C(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), i = C(() => Math.min(Math.max(1, o.value ?? 1), a.value)), c = C(() => i.value), s = C(() => i.value <= 1), r = C(() => i.value >= a.value), u = C(() => t.labels?.item ?? "Eintrag"), d = C(() => t.labels?.of ?? "von"), v = (y) => {
2231
+ const t = e, o = ve(e, "modelValue"), l = n, a = C(() => Math.max(1, Math.ceil((t.totalItems ?? 0) / t.pageSize))), i = C(() => Math.min(Math.max(1, o.value ?? 1), a.value)), c = C(() => i.value), s = C(() => i.value <= 1), r = C(() => i.value >= a.value), u = C(() => t.labels?.item ?? "Eintrag"), d = C(() => t.labels?.of ?? "von"), f = (y) => {
2232
2232
  const _ = Math.min(Math.max(1, Math.floor(y)), a.value);
2233
2233
  _ !== o.value && (o.value = _, l("change", _));
2234
- }, m = () => v(1), p = () => v(i.value - 1), w = () => v(i.value + 1), h = () => v(a.value);
2235
- return X([() => t.totalItems, () => t.pageSize], () => {
2236
- o.value > a.value && v(a.value);
2234
+ }, m = () => f(1), p = () => f(i.value - 1), w = () => f(i.value + 1), h = () => f(a.value);
2235
+ return N([() => t.totalItems, () => t.pageSize], () => {
2236
+ o.value > a.value && f(a.value);
2237
2237
  }), (y, _) => {
2238
- const b = K("VjButton");
2239
- return f(), g("nav", {
2238
+ const b = X("VjButton");
2239
+ return v(), g("nav", {
2240
2240
  class: "paginator",
2241
2241
  "aria-label": "Pagination",
2242
- onKeydown: _[0] || (_[0] = lt(N(() => {
2242
+ onKeydown: _[0] || (_[0] = je(K(() => {
2243
2243
  }, ["prevent"]), ["enter"]))
2244
2244
  }, [
2245
- O(b, {
2245
+ D(b, {
2246
2246
  tertiary: "",
2247
2247
  class: "paginator-btn",
2248
- icon: S(F).FIRST,
2248
+ icon: S(H).FIRST,
2249
2249
  disabled: s.value,
2250
2250
  onClick: m,
2251
2251
  "aria-label": "First page"
2252
2252
  }, null, 8, ["icon", "disabled"]),
2253
- O(b, {
2253
+ D(b, {
2254
2254
  tertiary: "",
2255
2255
  class: "paginator-btn",
2256
- icon: S(F).PREVIOUS,
2256
+ icon: S(H).PREVIOUS,
2257
2257
  disabled: s.value,
2258
2258
  onClick: p,
2259
2259
  "aria-label": "Previous page"
2260
2260
  }, null, 8, ["icon", "disabled"]),
2261
- j(y.$slots, "info", {
2261
+ M(y.$slots, "info", {
2262
2262
  current: i.value,
2263
2263
  totalPages: a.value,
2264
- goTo: v
2264
+ goTo: f
2265
2265
  }, () => [
2266
- x("div", Zl, B(u.value) + " " + B(c.value) + " " + B(d.value) + " " + B(a.value), 1)
2266
+ x("div", ea, B(u.value) + " " + B(c.value) + " " + B(d.value) + " " + B(a.value), 1)
2267
2267
  ], !0),
2268
- O(b, {
2268
+ D(b, {
2269
2269
  tertiary: "",
2270
2270
  class: "paginator-btn",
2271
- icon: S(F).NEXT,
2271
+ icon: S(H).NEXT,
2272
2272
  disabled: r.value,
2273
2273
  onClick: w,
2274
2274
  "aria-label": "Next page"
2275
2275
  }, null, 8, ["icon", "disabled"]),
2276
- O(b, {
2276
+ D(b, {
2277
2277
  tertiary: "",
2278
2278
  class: "paginator-btn",
2279
- icon: S(F).LAST,
2279
+ icon: S(H).LAST,
2280
2280
  disabled: r.value,
2281
2281
  onClick: h,
2282
2282
  "aria-label": "Last page"
@@ -2284,7 +2284,7 @@ const fn = {
2284
2284
  ], 32);
2285
2285
  };
2286
2286
  }
2287
- }), ta = /* @__PURE__ */ D(ea, [["__scopeId", "data-v-b6fa8efe"]]), na = { class: "search-field" }, oa = ["value", "placeholder"], la = /* @__PURE__ */ T({
2287
+ }), na = /* @__PURE__ */ O(ta, [["__scopeId", "data-v-b6fa8efe"]]), oa = { class: "search-field" }, la = ["value", "placeholder"], aa = /* @__PURE__ */ R({
2288
2288
  __name: "search-field",
2289
2289
  props: /* @__PURE__ */ ee({
2290
2290
  placeholder: { default: "Search..." }
@@ -2300,41 +2300,58 @@ const fn = {
2300
2300
  n.value = "";
2301
2301
  }, l = C(() => !n.value);
2302
2302
  return (a, i) => {
2303
- const c = K("VjIcon");
2304
- return f(), g("div", na, [
2305
- O(c, {
2306
- icon: S(F).SEARCH,
2307
- size: S(q).S
2303
+ const c = X("VjIcon");
2304
+ return v(), g("div", oa, [
2305
+ D(c, {
2306
+ icon: S(H).SEARCH,
2307
+ size: S(G).S
2308
2308
  }, null, 8, ["icon", "size"]),
2309
2309
  x("input", {
2310
2310
  value: n.value,
2311
2311
  onInput: t,
2312
2312
  type: "text",
2313
2313
  placeholder: e.placeholder
2314
- }, null, 40, oa),
2315
- O(c, {
2316
- class: z(["reset", { invisible: l.value }]),
2317
- icon: S(F).CLOSE,
2318
- size: S(q).S,
2314
+ }, null, 40, la),
2315
+ D(c, {
2316
+ class: I(["reset", { invisible: l.value }]),
2317
+ icon: S(H).CLOSE,
2318
+ size: S(G).S,
2319
2319
  onClick: o
2320
2320
  }, null, 8, ["class", "icon", "size"])
2321
2321
  ]);
2322
2322
  };
2323
2323
  }
2324
- }), aa = /* @__PURE__ */ D(la, [["__scopeId", "data-v-2771c8ed"]]), ia = /* @__PURE__ */ T({
2324
+ }), ia = /* @__PURE__ */ O(aa, [["__scopeId", "data-v-2771c8ed"]]), sa = /* @__PURE__ */ R({
2325
2325
  __name: "separator",
2326
2326
  props: {
2327
2327
  vertical: { type: Boolean }
2328
2328
  },
2329
2329
  setup(e) {
2330
- return (n, t) => (f(), g("div", {
2331
- class: z(["separator", { vertical: e.vertical }])
2330
+ return (n, t) => (v(), g("div", {
2331
+ class: I(["separator", { vertical: e.vertical }])
2332
2332
  }, null, 2));
2333
2333
  }
2334
- }), sa = /* @__PURE__ */ D(ia, [["__scopeId", "data-v-e354bb4e"]]), ra = { class: "tab-view" }, ca = {
2334
+ }), ra = /* @__PURE__ */ O(sa, [["__scopeId", "data-v-e354bb4e"]]), ca = {
2335
+ key: 0,
2336
+ class: "tab"
2337
+ }, ua = /* @__PURE__ */ R({
2338
+ __name: "tab",
2339
+ props: {
2340
+ name: {},
2341
+ label: {}
2342
+ },
2343
+ setup(e) {
2344
+ const n = e, t = ut("tabView"), o = C(() => t?.activeTab() === n.name);
2345
+ return Re(() => {
2346
+ t?.registerTab(n.name, n.label);
2347
+ }), (l, a) => o.value ? (v(), g("div", ca, [
2348
+ M(l.$slots, "default")
2349
+ ])) : $("", !0);
2350
+ }
2351
+ }), da = { class: "tab-view" }, fa = {
2335
2352
  ref: "headerRef",
2336
2353
  class: "tab-view-header"
2337
- }, ua = ["onClick"], da = { class: "tab-view-content" }, fa = /* @__PURE__ */ T({
2354
+ }, va = ["onClick"], ma = { class: "tab-view-content" }, pa = /* @__PURE__ */ R({
2338
2355
  __name: "tab-view",
2339
2356
  props: {
2340
2357
  modelValue: {},
@@ -2350,10 +2367,10 @@ const fn = {
2350
2367
  }, i = () => {
2351
2368
  const r = t.value.findIndex((u) => u.name === n.value);
2352
2369
  if (r >= 0 && o.value[r]) {
2353
- const u = o.value[r], d = u.offsetWidth, v = u.offsetLeft;
2370
+ const u = o.value[r], d = u.offsetWidth, f = u.offsetLeft;
2354
2371
  l.value = {
2355
2372
  width: `${d}px`,
2356
- transform: `translateX(${v}px)`
2373
+ transform: `translateX(${f}px)`
2357
2374
  };
2358
2375
  }
2359
2376
  }, c = (r, u) => {
@@ -2363,51 +2380,169 @@ const fn = {
2363
2380
  }, s = (r) => {
2364
2381
  n.value = r;
2365
2382
  };
2366
- return X(n, () => {
2383
+ return N(n, () => {
2367
2384
  me(() => {
2368
2385
  i();
2369
2386
  });
2370
- }), Nt("tabView", {
2387
+ }), Kt("tabView", {
2371
2388
  activeTab: () => n.value,
2372
2389
  registerTab: c
2373
- }), (r, u) => (f(), g("div", ra, [
2374
- x("div", ca, [
2375
- (f(!0), g(Z, null, ge(t.value, (d, v) => (f(), g("div", {
2390
+ }), (r, u) => (v(), g("div", da, [
2391
+ x("div", fa, [
2392
+ (v(!0), g(Z, null, ge(t.value, (d, f) => (v(), g("div", {
2376
2393
  key: d.name,
2377
2394
  ref_for: !0,
2378
- ref: (m) => a(m, v),
2379
- class: z(["tab-button", { active: n.value === d.name }]),
2395
+ ref: (m) => a(m, f),
2396
+ class: I(["tab-button", { active: n.value === d.name }]),
2380
2397
  onClick: (m) => s(d.name)
2381
- }, B(d.label), 11, ua))), 128)),
2398
+ }, B(d.label), 11, va))), 128)),
2382
2399
  u[0] || (u[0] = x("div", { class: "tab-line" }, null, -1)),
2383
2400
  x("div", {
2384
2401
  class: "tab-indicator",
2385
- style: G(l.value)
2402
+ style: q(l.value)
2386
2403
  }, null, 4)
2387
2404
  ], 512),
2388
- x("div", da, [
2389
- j(r.$slots, "default", {}, void 0, !0)
2405
+ x("div", ma, [
2406
+ M(r.$slots, "default", {}, void 0, !0)
2390
2407
  ])
2391
2408
  ]));
2392
2409
  }
2393
- }), va = /* @__PURE__ */ D(fa, [["__scopeId", "data-v-3d4ee454"]]), ma = {
2394
- key: 0,
2395
- class: "tab"
2396
- }, pa = /* @__PURE__ */ T({
2397
- __name: "tab",
2410
+ }), ha = /* @__PURE__ */ O(pa, [["__scopeId", "data-v-3d4ee454"]]), ga = ["width", "height", "role", "tabindex", "aria-label", "onKeydown"], ba = ["cx", "cy", "r", "stroke-width"], ya = ["cx", "cy", "r", "stroke-width", "stroke-dasharray", "stroke-dashoffset"], wa = ["transform"], _a = ["x", "y", "width", "height", "rx"], xa = ["x", "y", "width", "height", "rx"], ka = /* @__PURE__ */ R({
2411
+ __name: "timer",
2398
2412
  props: {
2399
- name: {},
2400
- label: {}
2413
+ duration: { default: 5e3 },
2414
+ action: { type: Function, default: void 0 },
2415
+ pausable: { type: Boolean, default: !1 },
2416
+ paused: { type: Boolean, default: !1 },
2417
+ timerSize: { default: "m" }
2401
2418
  },
2402
- setup(e) {
2403
- const n = e, t = ut("tabView"), o = C(() => t?.activeTab() === n.name);
2404
- return Be(() => {
2405
- t?.registerTab(n.name, n.label);
2406
- }), (l, a) => o.value ? (f(), g("div", ma, [
2407
- j(l.$slots, "default")
2408
- ])) : L("", !0);
2409
- }
2410
- }), ha = ["onKeydown"], ga = /* @__PURE__ */ T({
2419
+ emits: ["update:paused"],
2420
+ setup(e, { emit: n }) {
2421
+ const t = {
2422
+ s: { size: 24, strokeWidth: 1, innerStrokeWidth: 2 },
2423
+ m: { size: 32, strokeWidth: 1, innerStrokeWidth: 4 },
2424
+ l: { size: 40, strokeWidth: 2, innerStrokeWidth: 6 },
2425
+ xl: { size: 64, strokeWidth: 2, innerStrokeWidth: 8 },
2426
+ xxl: { size: 92, strokeWidth: 2, innerStrokeWidth: 10 }
2427
+ }, o = e, l = n, a = C(() => t[o.timerSize].size), i = C(() => t[o.timerSize].strokeWidth), c = C(() => t[o.timerSize].innerStrokeWidth), s = E(!1), r = E(100), u = E(!1), d = E(o.paused);
2428
+ let f = null, m = null, p = 0;
2429
+ const w = C(() => (a.value - Math.max(i.value, c.value)) / 2), h = C(() => 2 * Math.PI * w.value), y = C(() => h.value * (1 - r.value / 100));
2430
+ N(
2431
+ () => o.paused,
2432
+ (P) => {
2433
+ d.value = P, P ? k() : V();
2434
+ }
2435
+ ), Re(() => {
2436
+ b();
2437
+ }), kn(() => {
2438
+ T();
2439
+ });
2440
+ function _() {
2441
+ o.pausable && (d.value = !d.value, l("update:paused", d.value));
2442
+ }
2443
+ function b() {
2444
+ d.value || (m = performance.now() - p, L());
2445
+ }
2446
+ function L() {
2447
+ if (!m || d.value) return;
2448
+ p = performance.now() - m;
2449
+ const W = Math.max(0, o.duration - p), te = W / o.duration * 100;
2450
+ r.value = te, W > 0 ? f = requestAnimationFrame(L) : j();
2451
+ }
2452
+ async function j() {
2453
+ if (!o.action) {
2454
+ z();
2455
+ return;
2456
+ }
2457
+ s.value = !0;
2458
+ try {
2459
+ await o.action();
2460
+ } catch (P) {
2461
+ console.error("Timer action failed:", P);
2462
+ } finally {
2463
+ s.value = !1, z();
2464
+ }
2465
+ }
2466
+ function z() {
2467
+ u.value = !0, p = 0, requestAnimationFrame(() => {
2468
+ r.value = 100, requestAnimationFrame(() => {
2469
+ u.value = !1, b();
2470
+ });
2471
+ });
2472
+ }
2473
+ function k() {
2474
+ f !== null && (cancelAnimationFrame(f), f = null);
2475
+ }
2476
+ function V() {
2477
+ f === null && !s.value && b();
2478
+ }
2479
+ function T() {
2480
+ f !== null && (cancelAnimationFrame(f), f = null);
2481
+ }
2482
+ return (P, W) => (v(), g("svg", {
2483
+ width: a.value,
2484
+ height: a.value,
2485
+ class: I([
2486
+ "vj-timer",
2487
+ {
2488
+ "vj-timer--executing": s.value,
2489
+ "vj-timer--resetting": u.value,
2490
+ "vj-timer--pausable": e.pausable,
2491
+ "vj-timer--paused": d.value
2492
+ }
2493
+ ]),
2494
+ role: e.pausable ? "button" : void 0,
2495
+ tabindex: e.pausable ? 0 : void 0,
2496
+ "aria-label": e.pausable ? d.value ? "Resume timer" : "Pause timer" : void 0,
2497
+ onClick: _,
2498
+ onKeydown: [
2499
+ je(K(_, ["prevent"]), ["space"]),
2500
+ je(_, ["enter"])
2501
+ ]
2502
+ }, [
2503
+ x("circle", {
2504
+ cx: a.value / 2,
2505
+ cy: a.value / 2,
2506
+ r: w.value,
2507
+ "stroke-width": i.value,
2508
+ class: "vj-timer__outer-ring",
2509
+ fill: "none"
2510
+ }, null, 8, ba),
2511
+ x("circle", {
2512
+ cx: a.value / 2,
2513
+ cy: a.value / 2,
2514
+ r: w.value,
2515
+ "stroke-width": c.value,
2516
+ "stroke-dasharray": h.value,
2517
+ "stroke-dashoffset": y.value,
2518
+ class: "vj-timer__progress-ring",
2519
+ fill: "none"
2520
+ }, null, 8, ya),
2521
+ d.value ? (v(), g("g", {
2522
+ key: 0,
2523
+ class: "vj-timer__pause-icon",
2524
+ transform: `translate(${a.value / 2},${a.value / 2}) rotate(-90) scale(-1, 1)`
2525
+ }, [
2526
+ x("rect", {
2527
+ x: -a.value * 0.12,
2528
+ y: -a.value * 0.15,
2529
+ width: a.value * 0.08,
2530
+ height: a.value * 0.3,
2531
+ rx: a.value * 0.015,
2532
+ class: "vj-timer__pause-bar"
2533
+ }, null, 8, _a),
2534
+ x("rect", {
2535
+ x: a.value * 0.04,
2536
+ y: -a.value * 0.15,
2537
+ width: a.value * 0.08,
2538
+ height: a.value * 0.3,
2539
+ rx: a.value * 0.015,
2540
+ class: "vj-timer__pause-bar"
2541
+ }, null, 8, xa)
2542
+ ], 8, wa)) : $("", !0)
2543
+ ], 42, ga));
2544
+ }
2545
+ }), Va = /* @__PURE__ */ O(ka, [["__scopeId", "data-v-49a33853"]]), Ca = ["onKeydown"], Ea = /* @__PURE__ */ R({
2411
2546
  __name: "editable-label",
2412
2547
  props: {
2413
2548
  modelValue: {},
@@ -2416,7 +2551,7 @@ const fn = {
2416
2551
  emits: ["update:modelValue", "edit"],
2417
2552
  setup(e, { emit: n }) {
2418
2553
  const t = e, o = n, l = C(() => t.modelValue ?? ""), a = E(l.value), i = E(!1), c = E(!1), s = E(null), r = C(() => !!t.showIcon);
2419
- X(l, (m) => {
2554
+ N(l, (m) => {
2420
2555
  a.value = m;
2421
2556
  });
2422
2557
  function u() {
@@ -2425,46 +2560,46 @@ const fn = {
2425
2560
  function d() {
2426
2561
  i.value = !1, a.value !== l.value && (o("update:modelValue", a.value), o("edit", a.value));
2427
2562
  }
2428
- function v() {
2563
+ function f() {
2429
2564
  a.value = l.value, i.value = !1;
2430
2565
  }
2431
- return (m, p) => (f(), g("span", {
2432
- class: z(["vj-editable-label", { editing: i.value }]),
2566
+ return (m, p) => (v(), g("span", {
2567
+ class: I(["vj-editable-label", { editing: i.value }]),
2433
2568
  onMouseenter: p[1] || (p[1] = (w) => c.value = !0),
2434
2569
  onMouseleave: p[2] || (p[2] = (w) => c.value = !1)
2435
2570
  }, [
2436
- i.value ? ct((f(), g("input", {
2571
+ i.value ? ct((v(), g("input", {
2437
2572
  key: 1,
2438
2573
  ref_key: "inputRef",
2439
2574
  ref: s,
2440
2575
  class: "edit-input",
2441
2576
  "onUpdate:modelValue": p[0] || (p[0] = (w) => a.value = w),
2442
2577
  onKeydown: [
2443
- lt(N(d, ["prevent"]), ["enter"]),
2444
- lt(N(v, ["prevent"]), ["esc"])
2578
+ je(K(d, ["prevent"]), ["enter"]),
2579
+ je(K(f, ["prevent"]), ["esc"])
2445
2580
  ],
2446
2581
  onBlur: d
2447
- }, null, 40, ha)), [
2448
- [kn, a.value]
2449
- ]) : (f(), g(Z, { key: 0 }, [
2582
+ }, null, 40, Ca)), [
2583
+ [Vn, a.value]
2584
+ ]) : (v(), g(Z, { key: 0 }, [
2450
2585
  x("span", {
2451
2586
  class: "label-text",
2452
2587
  onClick: u,
2453
2588
  title: "Click to edit"
2454
2589
  }, B(l.value), 1),
2455
- c.value || r.value ? (f(), g("span", {
2590
+ c.value || r.value ? (v(), g("span", {
2456
2591
  key: 0,
2457
2592
  class: "edit-icon",
2458
- onClick: N(u, ["stop"])
2593
+ onClick: K(u, ["stop"])
2459
2594
  }, [
2460
- O(be, {
2461
- icon: S(F).EDIT
2595
+ D(be, {
2596
+ icon: S(H).EDIT
2462
2597
  }, null, 8, ["icon"])
2463
- ])) : L("", !0)
2598
+ ])) : $("", !0)
2464
2599
  ], 64))
2465
2600
  ], 34));
2466
2601
  }
2467
- }), Mi = /* @__PURE__ */ D(ga, [["__scopeId", "data-v-cdc52c5b"]]), ba = "200% 200%", ya = /* @__PURE__ */ T({
2602
+ }), Xi = /* @__PURE__ */ O(Ea, [["__scopeId", "data-v-cdc52c5b"]]), La = "200% 200%", $a = /* @__PURE__ */ R({
2468
2603
  __name: "skeleton",
2469
2604
  props: {
2470
2605
  width: {},
@@ -2473,23 +2608,24 @@ const fn = {
2473
2608
  },
2474
2609
  setup(e) {
2475
2610
  const n = e, t = C(() => n.width ?? "100%"), o = C(() => n.height ?? "16px"), l = C(() => n.borderRadius ?? "4px");
2476
- return (a, i) => (f(), g("div", {
2611
+ return (a, i) => (v(), g("div", {
2477
2612
  class: "vj-skeleton",
2478
- style: G({
2613
+ style: q({
2479
2614
  width: t.value,
2480
2615
  height: o.value,
2481
2616
  borderRadius: l.value,
2482
- backgroundSize: ba
2617
+ backgroundSize: La
2483
2618
  }),
2484
2619
  "aria-hidden": "true"
2485
2620
  }, null, 4));
2486
2621
  }
2487
- }), wa = /* @__PURE__ */ D(ya, [["__scopeId", "data-v-ac05e016"]]), _a = /* @__PURE__ */ T({
2622
+ }), Sa = /* @__PURE__ */ O($a, [["__scopeId", "data-v-ac05e016"]]), Ra = /* @__PURE__ */ R({
2488
2623
  __name: "amount-bar",
2489
2624
  props: {
2490
2625
  amount: {},
2491
2626
  maxAmount: {},
2492
- segments: {}
2627
+ segments: {},
2628
+ colorMode: { default: "monochrome" }
2493
2629
  },
2494
2630
  setup(e) {
2495
2631
  const n = e, t = C(() => n.amount / n.maxAmount * 100), o = (a) => {
@@ -2497,30 +2633,37 @@ const fn = {
2497
2633
  const i = 100 / n.segments, c = a * i;
2498
2634
  return t.value > c;
2499
2635
  }, l = (a) => (160 - a / (n.segments - 1 || 1) * 160).toString();
2500
- return (a, i) => (f(), g("div", {
2501
- class: z(["amount-bar", { "amount-bar--segmented": e.segments }])
2636
+ return (a, i) => (v(), g("div", {
2637
+ class: I([
2638
+ "amount-bar",
2639
+ {
2640
+ "amount-bar--segmented": e.segments,
2641
+ "amount-bar--hue-gradient": e.segments && e.colorMode === "hue-gradient",
2642
+ "amount-bar--monochrome": e.segments && e.colorMode === "monochrome"
2643
+ }
2644
+ ])
2502
2645
  }, [
2503
- e.segments ? (f(!0), g(Z, { key: 0 }, ge(Array.from({ length: e.segments }), (c, s) => (f(), g("div", {
2646
+ e.segments ? (v(!0), g(Z, { key: 0 }, ge(Array.from({ length: e.segments }), (c, s) => (v(), g("div", {
2504
2647
  key: s,
2505
- class: z(["amount-bar__segment", { "amount-bar__segment--filled": o(s) }]),
2506
- style: G({ "--segment-hue": l(s) })
2507
- }, null, 6))), 128)) : (f(), g("div", {
2648
+ class: I(["amount-bar__segment", { "amount-bar__segment--filled": o(s) }]),
2649
+ style: q(o(s) && e.colorMode === "hue-gradient" ? { backgroundColor: `hsl(${l(s)}, 100%, 45%)` } : {})
2650
+ }, null, 6))), 128)) : (v(), g("div", {
2508
2651
  key: 1,
2509
2652
  class: "amount-bar__fill",
2510
- style: G({ width: `${e.amount / e.maxAmount * 100}%` })
2653
+ style: q({ width: `${e.amount / e.maxAmount * 100}%` })
2511
2654
  }, null, 4))
2512
2655
  ], 2));
2513
2656
  }
2514
- }), xa = /* @__PURE__ */ D(_a, [["__scopeId", "data-v-f85c6d8c"]]), vn = {
2657
+ }), Ta = /* @__PURE__ */ O(Ra, [["__scopeId", "data-v-7e89d03f"]]), vn = {
2515
2658
  form: {
2516
2659
  labelPosition: "inline",
2517
2660
  appearance: "bordered"
2518
2661
  }
2519
2662
  };
2520
- let Xe = {};
2521
- function Fi(e) {
2522
- Xe = {
2523
- ...Xe,
2663
+ let qe = {};
2664
+ function qi(e) {
2665
+ qe = {
2666
+ ...qe,
2524
2667
  ...e,
2525
2668
  form: {
2526
2669
  ...vn.form,
@@ -2532,22 +2675,22 @@ function Ht() {
2532
2675
  return {
2533
2676
  form: {
2534
2677
  ...vn.form,
2535
- ...Xe.form
2678
+ ...qe.form
2536
2679
  }
2537
2680
  };
2538
2681
  }
2539
- function zi() {
2540
- Xe = {};
2682
+ function Gi() {
2683
+ qe = {};
2541
2684
  }
2542
- const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-field__wrapper" }, Ea = ["for"], La = {
2685
+ const Aa = ["data-colspan", "data-newline"], Oa = ["for"], Da = { class: "form-field__wrapper" }, ja = ["for"], Ba = {
2543
2686
  key: 1,
2544
2687
  class: "form-field__error"
2545
- }, $a = {
2688
+ }, Pa = {
2546
2689
  key: 2,
2547
2690
  class: "form-field__help",
2548
2691
  type: "button",
2549
2692
  "aria-label": "Hilfe"
2550
- }, Sa = /* @__PURE__ */ T({
2693
+ }, Ma = /* @__PURE__ */ R({
2551
2694
  directives: { tooltip: fn },
2552
2695
  __name: "form-field",
2553
2696
  props: {
@@ -2567,7 +2710,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2567
2710
  emits: ["update:modelValue", "focus", "blur"],
2568
2711
  setup(e, { emit: n }) {
2569
2712
  const t = e, o = n, l = E(t.modelValue), a = E(!1), i = C(() => `form-field-${t.id ?? Math.random().toString(36).slice(2)}`), c = C(() => t.labelPosition ?? Ht().form.labelPosition), s = C(() => t.appearance ?? Ht().form.appearance);
2570
- X(
2713
+ N(
2571
2714
  () => t.modelValue,
2572
2715
  (p) => l.value = p
2573
2716
  );
@@ -2581,16 +2724,16 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2581
2724
  const h = p.target.value;
2582
2725
  l.value = h, o("update:modelValue", h);
2583
2726
  }
2584
- function v(p) {
2727
+ function f(p) {
2585
2728
  a.value = !0, o("focus", p);
2586
2729
  }
2587
2730
  function m(p) {
2588
2731
  a.value = !1, o("blur", p);
2589
2732
  }
2590
2733
  return (p, w) => {
2591
- const h = K("VjIcon"), y = Xt("tooltip");
2592
- return f(), g("div", {
2593
- class: z([
2734
+ const h = X("VjIcon"), y = Xt("tooltip");
2735
+ return v(), g("div", {
2736
+ class: I([
2594
2737
  "form-field",
2595
2738
  `form-field--${c.value}`,
2596
2739
  `form-field--${s.value}`,
@@ -2600,41 +2743,41 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2600
2743
  ]),
2601
2744
  "data-colspan": t.spanRow ? void 0 : t.colspan,
2602
2745
  "data-newline": t.spanRow || t.newLine ? "true" : void 0,
2603
- style: G(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
2746
+ style: q(t.spanRow ? { gridColumn: "1 / -1" } : void 0)
2604
2747
  }, [
2605
- e.label && c.value === "outline" ? (f(), g("label", {
2748
+ e.label && c.value === "outline" ? (v(), g("label", {
2606
2749
  key: 0,
2607
2750
  for: i.value,
2608
2751
  class: "form-field__label-outline"
2609
- }, B(e.label), 9, Va)) : L("", !0),
2610
- x("div", Ca, [
2611
- j(p.$slots, "control", {
2752
+ }, B(e.label), 9, Oa)) : $("", !0),
2753
+ x("div", Da, [
2754
+ M(p.$slots, "control", {
2612
2755
  id: i.value,
2613
2756
  value: l.value,
2614
2757
  onInput: d,
2615
- onFocus: v,
2758
+ onFocus: f,
2616
2759
  onBlur: m,
2617
2760
  disabled: e.disabled,
2618
2761
  placeholder: u.value
2619
2762
  }, void 0, !0),
2620
- e.label && c.value === "inline" ? (f(), g("label", {
2763
+ e.label && c.value === "inline" ? (v(), g("label", {
2621
2764
  key: 0,
2622
2765
  for: i.value,
2623
- class: z(["form-field__label", { "form-field__label--float": r.value }])
2624
- }, B(e.label), 11, Ea)) : L("", !0)
2766
+ class: I(["form-field__label", { "form-field__label--float": r.value }])
2767
+ }, B(e.label), 11, ja)) : $("", !0)
2625
2768
  ]),
2626
- e.error ? (f(), g("div", La, B(e.error), 1)) : L("", !0),
2627
- t.helpText ? ct((f(), g("button", $a, [
2628
- O(h, {
2629
- icon: S(F).HELP
2769
+ e.error ? (v(), g("div", Ba, B(e.error), 1)) : $("", !0),
2770
+ t.helpText ? ct((v(), g("button", Pa, [
2771
+ D(h, {
2772
+ icon: S(H).HELP
2630
2773
  }, null, 8, ["icon"])
2631
2774
  ])), [
2632
2775
  [y, t.helpText]
2633
- ]) : L("", !0)
2634
- ], 14, ka);
2776
+ ]) : $("", !0)
2777
+ ], 14, Aa);
2635
2778
  };
2636
2779
  }
2637
- }), ze = /* @__PURE__ */ D(Sa, [["__scopeId", "data-v-19959d5e"]]), Ra = /* @__PURE__ */ T({
2780
+ }), Ie = /* @__PURE__ */ O(Ma, [["__scopeId", "data-v-19959d5e"]]), Fa = /* @__PURE__ */ R({
2638
2781
  __name: "form-layout",
2639
2782
  props: {
2640
2783
  columns: { type: Number, default: 4 },
@@ -2650,46 +2793,46 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2650
2793
  r !== null && r !== "false" ? i.style.gridColumn = "1 / -1" : i.style.gridColumn = `span ${s}`;
2651
2794
  });
2652
2795
  }
2653
- return Be(() => {
2796
+ return Re(() => {
2654
2797
  me(() => {
2655
2798
  l(), t.value && (o = new MutationObserver(() => l()), o.observe(t.value, { childList: !0, subtree: !1, attributes: !0, attributeFilter: ["data-colspan", "data-newline"] }));
2656
2799
  });
2657
- }), Re(() => {
2800
+ }), Te(() => {
2658
2801
  o?.disconnect();
2659
- }), X(
2802
+ }), N(
2660
2803
  () => n.columns,
2661
2804
  () => me(l)
2662
- ), X(
2805
+ ), N(
2663
2806
  () => n.gap,
2664
2807
  () => me(l)
2665
- ), (a, i) => (f(), g("div", {
2808
+ ), (a, i) => (v(), g("div", {
2666
2809
  ref_key: "container",
2667
2810
  ref: t,
2668
2811
  class: "form-layout",
2669
- style: G({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
2812
+ style: q({ gridTemplateColumns: `repeat(${e.columns}, minmax(0, 1fr))`, gap: e.gap })
2670
2813
  }, [
2671
- j(a.$slots, "default", {}, void 0, !0)
2814
+ M(a.$slots, "default", {}, void 0, !0)
2672
2815
  ], 4));
2673
2816
  }
2674
- }), Ta = /* @__PURE__ */ D(Ra, [["__scopeId", "data-v-96f62ab7"]]), Aa = {
2817
+ }), za = /* @__PURE__ */ O(Fa, [["__scopeId", "data-v-96f62ab7"]]), Ia = {
2675
2818
  key: 0,
2676
2819
  class: "form-section__title",
2677
2820
  "data-newline": ""
2678
- }, Oa = /* @__PURE__ */ T({
2821
+ }, Ha = /* @__PURE__ */ R({
2679
2822
  __name: "form-section",
2680
2823
  props: {
2681
2824
  title: {}
2682
2825
  },
2683
2826
  setup(e) {
2684
- return (n, t) => (f(), g(Z, null, [
2685
- e.title ? (f(), g("h3", Aa, B(e.title), 1)) : L("", !0),
2686
- j(n.$slots, "default", {}, void 0, !0)
2827
+ return (n, t) => (v(), g(Z, null, [
2828
+ e.title ? (v(), g("h3", Ia, B(e.title), 1)) : $("", !0),
2829
+ M(n.$slots, "default", {}, void 0, !0)
2687
2830
  ], 64));
2688
2831
  }
2689
- }), Da = /* @__PURE__ */ D(Oa, [["__scopeId", "data-v-69cff1d0"]]), Ba = ["id", "disabled"], Pa = { class: "select-value" }, ja = {
2832
+ }), Wa = /* @__PURE__ */ O(Ha, [["__scopeId", "data-v-69cff1d0"]]), Ua = ["id", "disabled"], Ka = { class: "select-value" }, Na = {
2690
2833
  key: 1,
2691
2834
  class: "select-placeholder"
2692
- }, Ma = { class: "select-options" }, Fa = ["onClick", "onMouseenter"], za = /* @__PURE__ */ T({
2835
+ }, Xa = { class: "select-options" }, qa = ["onClick", "onMouseenter"], Ga = /* @__PURE__ */ R({
2693
2836
  inheritAttrs: !1,
2694
2837
  __name: "select",
2695
2838
  props: /* @__PURE__ */ ee({
@@ -2710,19 +2853,19 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2710
2853
  const t = e, o = ve(e, "modelValue"), l = E(!1), a = E(-1), i = E(null), c = E(null), s = E(null), { floatingStyles: r } = bt(c, s, {
2711
2854
  placement: "bottom-start",
2712
2855
  middleware: [
2713
- Ze(4),
2714
- tt(),
2715
- et({ padding: 8 }),
2716
- dl({
2717
- apply({ rects: b, elements: $ }) {
2718
- Object.assign($.floating.style, {
2856
+ et(4),
2857
+ nt(),
2858
+ tt({ padding: 8 }),
2859
+ fl({
2860
+ apply({ rects: b, elements: L }) {
2861
+ Object.assign(L.floating.style, {
2719
2862
  minWidth: `${b.reference.width}px`
2720
2863
  });
2721
2864
  }
2722
2865
  })
2723
2866
  ],
2724
- whileElementsMounted: Qe
2725
- }), u = (b) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(b) : String(b[t.optionLabel]) : String(b), d = (b) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(b) : b[t.optionValue] : b, v = C(() => t.options.find((b) => d(b) === o.value)), m = (b) => d(b) === o.value, p = () => {
2867
+ whileElementsMounted: Ze
2868
+ }), u = (b) => t.optionLabel ? typeof t.optionLabel == "function" ? t.optionLabel(b) : String(b[t.optionLabel]) : String(b), d = (b) => t.optionValue ? typeof t.optionValue == "function" ? t.optionValue(b) : b[t.optionValue] : b, f = C(() => t.options.find((b) => d(b) === o.value)), m = (b) => d(b) === o.value, p = () => {
2726
2869
  t.disabled || (l.value = !l.value);
2727
2870
  }, w = () => {
2728
2871
  l.value = !1, a.value = -1;
@@ -2733,22 +2876,22 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2733
2876
  }, _ = (b) => {
2734
2877
  l.value && i.value && !i.value.contains(b.target) && w();
2735
2878
  };
2736
- return Be(() => {
2879
+ return Re(() => {
2737
2880
  document.addEventListener("click", _);
2738
- }), Re(() => {
2881
+ }), Te(() => {
2739
2882
  document.removeEventListener("click", _);
2740
- }), X(l, (b) => {
2741
- b && v.value && (a.value = t.options.findIndex(($) => m($)));
2883
+ }), N(l, (b) => {
2884
+ b && f.value && (a.value = t.options.findIndex((L) => m(L)));
2742
2885
  }), n({
2743
2886
  focus: () => c.value?.focus(),
2744
2887
  blur: () => c.value?.blur()
2745
- }), (b, $) => {
2746
- const P = K("VjIcon");
2747
- return f(), g(Z, null, [
2888
+ }), (b, L) => {
2889
+ const j = X("VjIcon");
2890
+ return v(), g(Z, null, [
2748
2891
  x("div", {
2749
2892
  ref_key: "selectRef",
2750
2893
  ref: i,
2751
- class: z(["select", b.$attrs.class])
2894
+ class: I(["select", b.$attrs.class])
2752
2895
  }, [
2753
2896
  x("button", {
2754
2897
  ref_key: "buttonRef",
@@ -2759,73 +2902,73 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2759
2902
  onClick: p,
2760
2903
  disabled: e.disabled
2761
2904
  }, [
2762
- t.icon ? (f(), M(P, {
2905
+ t.icon ? (v(), F(j, {
2763
2906
  key: 0,
2764
2907
  icon: t.icon,
2765
- size: S(q).S,
2908
+ size: S(G).S,
2766
2909
  class: "select-icon-left"
2767
- }, null, 8, ["icon", "size"])) : L("", !0),
2768
- x("span", Pa, [
2769
- v.value ? j(b.$slots, "selected", {
2910
+ }, null, 8, ["icon", "size"])) : $("", !0),
2911
+ x("span", Ka, [
2912
+ f.value ? M(b.$slots, "selected", {
2770
2913
  key: 0,
2771
- option: v.value
2914
+ option: f.value
2772
2915
  }, () => [
2773
- Ue(B(u(v.value)), 1)
2774
- ], !0) : (f(), g("span", ja, B(e.placeholder), 1))
2916
+ Ue(B(u(f.value)), 1)
2917
+ ], !0) : (v(), g("span", Na, B(e.placeholder), 1))
2775
2918
  ]),
2776
- t.clearable && v.value && !e.disabled ? (f(), M(P, {
2919
+ t.clearable && f.value && !e.disabled ? (v(), F(j, {
2777
2920
  key: 1,
2778
- icon: S(F).CLOSE,
2779
- size: S(q).S,
2921
+ icon: S(H).CLOSE,
2922
+ size: S(G).S,
2780
2923
  class: "select-clear-icon",
2781
- onClick: N(y, ["stop"])
2782
- }, null, 8, ["icon", "size"])) : L("", !0),
2783
- O(P, {
2784
- icon: S(F).CHEVRON_DOWN,
2785
- size: S(q).S,
2786
- class: z(["select-icon-right", { open: l.value }])
2924
+ onClick: K(y, ["stop"])
2925
+ }, null, 8, ["icon", "size"])) : $("", !0),
2926
+ D(j, {
2927
+ icon: S(H).CHEVRON_DOWN,
2928
+ size: S(G).S,
2929
+ class: I(["select-icon-right", { open: l.value }])
2787
2930
  }, null, 8, ["icon", "size", "class"])
2788
- ], 8, Ba),
2789
- O(Oe, { name: "dropdown" }, {
2790
- default: W(() => [
2791
- l.value ? (f(), g("div", {
2931
+ ], 8, Ua),
2932
+ D(De, { name: "dropdown" }, {
2933
+ default: U(() => [
2934
+ l.value ? (v(), g("div", {
2792
2935
  key: 0,
2793
2936
  ref_key: "floatingRef",
2794
2937
  ref: s,
2795
- style: G(S(r)),
2938
+ style: q(S(r)),
2796
2939
  class: "select-dropdown"
2797
2940
  }, [
2798
- x("div", Ma, [
2799
- (f(!0), g(Z, null, ge(e.options, (I, k) => (f(), g("div", {
2800
- key: String(d(I)),
2801
- class: z(["select-option", { selected: m(I), highlighted: a.value === k }]),
2802
- onClick: (V) => h(I),
2941
+ x("div", Xa, [
2942
+ (v(!0), g(Z, null, ge(e.options, (z, k) => (v(), g("div", {
2943
+ key: String(d(z)),
2944
+ class: I(["select-option", { selected: m(z), highlighted: a.value === k }]),
2945
+ onClick: (V) => h(z),
2803
2946
  onMouseenter: (V) => a.value = k
2804
2947
  }, [
2805
- j(b.$slots, "option", {
2806
- option: I,
2807
- selected: m(I)
2948
+ M(b.$slots, "option", {
2949
+ option: z,
2950
+ selected: m(z)
2808
2951
  }, () => [
2809
- Ue(B(u(I)), 1)
2952
+ Ue(B(u(z)), 1)
2810
2953
  ], !0)
2811
- ], 42, Fa))), 128))
2954
+ ], 42, qa))), 128))
2812
2955
  ])
2813
- ], 4)) : L("", !0)
2956
+ ], 4)) : $("", !0)
2814
2957
  ]),
2815
2958
  _: 3
2816
2959
  })
2817
2960
  ], 2),
2818
- (f(), M(Pe, { to: "body" }, [
2819
- l.value ? (f(), g("div", {
2961
+ (v(), F(Pe, { to: "body" }, [
2962
+ l.value ? (v(), g("div", {
2820
2963
  key: 0,
2821
2964
  class: "select-backdrop",
2822
2965
  onClick: w
2823
- })) : L("", !0)
2966
+ })) : $("", !0)
2824
2967
  ]))
2825
2968
  ], 64);
2826
2969
  };
2827
2970
  }
2828
- }), mn = /* @__PURE__ */ D(za, [["__scopeId", "data-v-fc22f0e9"]]), Ia = /* @__PURE__ */ T({
2971
+ }), mn = /* @__PURE__ */ O(Ga, [["__scopeId", "data-v-fc22f0e9"]]), Ya = /* @__PURE__ */ R({
2829
2972
  __name: "input-select",
2830
2973
  props: {
2831
2974
  modelValue: {},
@@ -2845,7 +2988,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2845
2988
  emits: ["update:modelValue", "input", "focus", "blur"],
2846
2989
  setup(e, { emit: n }) {
2847
2990
  const t = e, o = n, l = E(t.modelValue);
2848
- X(
2991
+ N(
2849
2992
  () => t.modelValue,
2850
2993
  (i) => {
2851
2994
  l.value = i;
@@ -2854,7 +2997,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2854
2997
  const a = (i) => {
2855
2998
  l.value = i, o("update:modelValue", i);
2856
2999
  };
2857
- return (i, c) => (f(), M(ze, {
3000
+ return (i, c) => (v(), F(Ie, {
2858
3001
  modelValue: l.value,
2859
3002
  "onUpdate:modelValue": a,
2860
3003
  label: t.label,
@@ -2869,8 +3012,8 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2869
3012
  labelPosition: t.labelPosition,
2870
3013
  appearance: t.appearance
2871
3014
  }, {
2872
- control: W(({ id: s, disabled: r, placeholder: u }) => [
2873
- O(mn, {
3015
+ control: U(({ id: s, disabled: r, placeholder: u }) => [
3016
+ D(mn, {
2874
3017
  id: s,
2875
3018
  modelValue: l.value,
2876
3019
  "onUpdate:modelValue": [
@@ -2886,15 +3029,15 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2886
3029
  }, rt({ _: 2 }, [
2887
3030
  i.$slots.selected ? {
2888
3031
  name: "selected",
2889
- fn: W(({ option: d }) => [
2890
- j(i.$slots, "selected", { option: d })
3032
+ fn: U(({ option: d }) => [
3033
+ M(i.$slots, "selected", { option: d })
2891
3034
  ]),
2892
3035
  key: "0"
2893
3036
  } : void 0,
2894
3037
  i.$slots.option ? {
2895
3038
  name: "option",
2896
- fn: W(({ option: d }) => [
2897
- j(i.$slots, "option", { option: d })
3039
+ fn: U(({ option: d }) => [
3040
+ M(i.$slots, "option", { option: d })
2898
3041
  ]),
2899
3042
  key: "1"
2900
3043
  } : void 0
@@ -2903,7 +3046,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2903
3046
  _: 3
2904
3047
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
2905
3048
  }
2906
- }), Ha = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], Ua = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Wa = /* @__PURE__ */ T({
3049
+ }), Ja = ["aria-valuemin", "aria-valuemax", "aria-valuenow", "aria-label"], Qa = ["aria-valuemin", "aria-valuemax", "aria-valuenow"], Za = /* @__PURE__ */ R({
2907
3050
  __name: "slider",
2908
3051
  props: {
2909
3052
  modelValue: { default: void 0 },
@@ -2914,17 +3057,17 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2914
3057
  },
2915
3058
  emits: ["update:modelValue", "change"],
2916
3059
  setup(e, { emit: n }) {
2917
- const t = e, o = n, l = E(null), a = E(!1), i = E(!1), c = (k, V, A) => Math.min(Math.max(k, V), A), s = E(
3060
+ const t = e, o = n, l = E(null), a = E(!1), i = E(!1), c = (k, V, T) => Math.min(Math.max(k, V), T), s = E(
2918
3061
  t.range ? Array.isArray(t.modelValue) ? t.modelValue[0] : t.min : typeof t.modelValue == "number" ? t.modelValue : t.min
2919
3062
  ), r = E(t.range && Array.isArray(t.modelValue) ? t.modelValue[1] : t.max);
2920
- X(
3063
+ N(
2921
3064
  () => t.modelValue,
2922
3065
  (k) => {
2923
3066
  t.range ? Array.isArray(k) && (s.value = c(k[0], t.min, t.max), r.value = c(k[1], t.min, t.max)) : typeof k == "number" && (s.value = c(k, t.min, t.max));
2924
3067
  },
2925
3068
  { immediate: !0 }
2926
3069
  );
2927
- const u = (k) => (k - t.min) / (t.max - t.min) * 100, d = C(() => ({ left: `${u(s.value)}%` })), v = C(() => ({ left: `${u(r.value)}%` })), m = C(() => {
3070
+ const u = (k) => (k - t.min) / (t.max - t.min) * 100, d = C(() => ({ left: `${u(s.value)}%` })), f = C(() => ({ left: `${u(r.value)}%` })), m = C(() => {
2928
3071
  if (!t.range) return { width: `${u(s.value)}%`, left: "0%" };
2929
3072
  const k = u(s.value), V = u(r.value);
2930
3073
  return { left: `${k}%`, width: `${Math.max(0, V - k)}%` };
@@ -2943,46 +3086,46 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2943
3086
  k.target.releasePointerCapture(k.pointerId);
2944
3087
  } catch {
2945
3088
  }
2946
- p = null, w = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y), P();
3089
+ p = null, w = null, a.value = !1, i.value = !1, window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y), j();
2947
3090
  }, _ = (k) => {
2948
3091
  if (!p || !l.value) return;
2949
- const V = l.value.getBoundingClientRect(), A = c(k.clientX - V.left, 0, V.width), H = t.min + A / V.width * (t.max - t.min), U = Math.round(H / t.step) * t.step;
2950
- p === "low" ? t.range ? s.value = Math.min(U, r.value) : s.value = c(U, t.min, t.max) : p === "high" && (r.value = Math.max(U, s.value));
3092
+ const V = l.value.getBoundingClientRect(), T = c(k.clientX - V.left, 0, V.width), P = t.min + T / V.width * (t.max - t.min), W = Math.round(P / t.step) * t.step;
3093
+ p === "low" ? t.range ? s.value = Math.min(W, r.value) : s.value = c(W, t.min, t.max) : p === "high" && (r.value = Math.max(W, s.value));
2951
3094
  }, b = (k) => {
2952
3095
  if (!l.value) return;
2953
- const V = l.value.getBoundingClientRect(), A = c(k.clientX - V.left, 0, V.width), H = t.min + A / V.width * (t.max - t.min), U = Math.round(H / t.step) * t.step;
3096
+ const V = l.value.getBoundingClientRect(), T = c(k.clientX - V.left, 0, V.width), P = t.min + T / V.width * (t.max - t.min), W = Math.round(P / t.step) * t.step;
2954
3097
  if (t.range) {
2955
- const ce = Math.abs(U - s.value), ue = Math.abs(U - r.value);
2956
- ce <= ue ? s.value = Math.min(U, r.value) : r.value = Math.max(U, s.value);
3098
+ const te = Math.abs(W - s.value), ue = Math.abs(W - r.value);
3099
+ te <= ue ? s.value = Math.min(W, r.value) : r.value = Math.max(W, s.value);
2957
3100
  } else
2958
- s.value = c(U, t.min, t.max);
2959
- P();
2960
- }, $ = (k, V) => {
2961
- const A = t.step, H = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
2962
- if (H) {
3101
+ s.value = c(W, t.min, t.max);
3102
+ j();
3103
+ }, L = (k, V) => {
3104
+ const T = t.step, P = V.key === "ArrowLeft" || V.key === "ArrowDown" ? -1 : V.key === "ArrowRight" || V.key === "ArrowUp" ? 1 : 0;
3105
+ if (P) {
2963
3106
  if (k === "low") {
2964
- const U = c(s.value + H * A, t.min, t.range ? r.value : t.max);
2965
- s.value = U, a.value = !0, setTimeout(() => a.value = !1, 800);
3107
+ const W = c(s.value + P * T, t.min, t.range ? r.value : t.max);
3108
+ s.value = W, a.value = !0, setTimeout(() => a.value = !1, 800);
2966
3109
  } else {
2967
- const U = c(r.value + H * A, t.range ? s.value : t.max, t.max);
2968
- r.value = U, i.value = !0, setTimeout(() => i.value = !1, 800);
3110
+ const W = c(r.value + P * T, t.range ? s.value : t.max, t.max);
3111
+ r.value = W, i.value = !0, setTimeout(() => i.value = !1, 800);
2969
3112
  }
2970
- P();
3113
+ j();
2971
3114
  }
2972
- }, P = () => {
3115
+ }, j = () => {
2973
3116
  t.range ? (o("update:modelValue", [s.value, r.value]), o("change", [s.value, r.value])) : (o("update:modelValue", s.value), o("change", s.value));
2974
3117
  };
2975
- Re(() => {
3118
+ Te(() => {
2976
3119
  window.removeEventListener("pointermove", _), window.removeEventListener("pointerup", y);
2977
- }), X([() => t.min, () => t.max], () => {
3120
+ }), N([() => t.min, () => t.max], () => {
2978
3121
  s.value = c(s.value, t.min, t.max), r.value = c(r.value, t.min, t.max);
2979
3122
  });
2980
- const I = C(() => t.range);
3123
+ const z = C(() => t.range);
2981
3124
  return me(() => {
2982
3125
  t.modelValue === void 0 && (t.range ? o("update:modelValue", [s.value, r.value]) : o("update:modelValue", s.value));
2983
- }), (k, V) => (f(), g("div", {
3126
+ }), (k, V) => (v(), g("div", {
2984
3127
  class: "vj-slider",
2985
- onPointerdown: V[8] || (V[8] = N(() => {
3128
+ onPointerdown: V[8] || (V[8] = K(() => {
2986
3129
  }, ["stop"]))
2987
3130
  }, [
2988
3131
  x("div", {
@@ -2993,51 +3136,51 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
2993
3136
  }, [
2994
3137
  x("div", {
2995
3138
  class: "range",
2996
- style: G(m.value)
3139
+ style: q(m.value)
2997
3140
  }, null, 4),
2998
- a.value ? (f(), g("div", {
3141
+ a.value ? (v(), g("div", {
2999
3142
  key: 0,
3000
3143
  class: "tooltip",
3001
- style: G({ left: d.value.left })
3002
- }, B(s.value), 5)) : L("", !0),
3144
+ style: q({ left: d.value.left })
3145
+ }, B(s.value), 5)) : $("", !0),
3003
3146
  x("button", {
3004
3147
  class: "handle low",
3005
- style: G(d.value),
3148
+ style: q(d.value),
3006
3149
  "aria-valuemin": e.min,
3007
3150
  "aria-valuemax": e.max,
3008
3151
  "aria-valuenow": s.value,
3009
- "aria-label": I.value ? "Lower value" : "Value",
3010
- onPointerdown: V[0] || (V[0] = N((A) => h("low", A), ["prevent"])),
3011
- onFocus: V[1] || (V[1] = (A) => a.value = !0),
3012
- onBlur: V[2] || (V[2] = (A) => a.value = !1),
3013
- onKeydown: V[3] || (V[3] = N((A) => $("low", A), ["stop", "prevent"])),
3152
+ "aria-label": z.value ? "Lower value" : "Value",
3153
+ onPointerdown: V[0] || (V[0] = K((T) => h("low", T), ["prevent"])),
3154
+ onFocus: V[1] || (V[1] = (T) => a.value = !0),
3155
+ onBlur: V[2] || (V[2] = (T) => a.value = !1),
3156
+ onKeydown: V[3] || (V[3] = K((T) => L("low", T), ["stop", "prevent"])),
3014
3157
  role: "slider",
3015
3158
  tabindex: "0"
3016
- }, null, 44, Ha),
3017
- I.value && i.value ? (f(), g("div", {
3159
+ }, null, 44, Ja),
3160
+ z.value && i.value ? (v(), g("div", {
3018
3161
  key: 1,
3019
3162
  class: "tooltip",
3020
- style: G({ left: v.value.left })
3021
- }, B(r.value), 5)) : L("", !0),
3022
- I.value ? (f(), g("button", {
3163
+ style: q({ left: f.value.left })
3164
+ }, B(r.value), 5)) : $("", !0),
3165
+ z.value ? (v(), g("button", {
3023
3166
  key: 2,
3024
3167
  class: "handle high",
3025
- style: G(v.value),
3168
+ style: q(f.value),
3026
3169
  "aria-valuemin": e.min,
3027
3170
  "aria-valuemax": e.max,
3028
3171
  "aria-valuenow": r.value,
3029
3172
  "aria-label": "Upper value",
3030
- onPointerdown: V[4] || (V[4] = N((A) => h("high", A), ["prevent"])),
3031
- onFocus: V[5] || (V[5] = (A) => i.value = !0),
3032
- onBlur: V[6] || (V[6] = (A) => i.value = !1),
3033
- onKeydown: V[7] || (V[7] = N((A) => $("high", A), ["stop", "prevent"])),
3173
+ onPointerdown: V[4] || (V[4] = K((T) => h("high", T), ["prevent"])),
3174
+ onFocus: V[5] || (V[5] = (T) => i.value = !0),
3175
+ onBlur: V[6] || (V[6] = (T) => i.value = !1),
3176
+ onKeydown: V[7] || (V[7] = K((T) => L("high", T), ["stop", "prevent"])),
3034
3177
  role: "slider",
3035
3178
  tabindex: "0"
3036
- }, null, 44, Ua)) : L("", !0)
3179
+ }, null, 44, Qa)) : $("", !0)
3037
3180
  ], 512)
3038
3181
  ], 32));
3039
3182
  }
3040
- }), Na = /* @__PURE__ */ D(Wa, [["__scopeId", "data-v-d47c7475"]]), Ka = ["onFocusin", "onFocusout"], Xa = /* @__PURE__ */ T({
3183
+ }), ei = /* @__PURE__ */ O(Za, [["__scopeId", "data-v-d47c7475"]]), ti = ["onFocusin", "onFocusout"], ni = /* @__PURE__ */ R({
3041
3184
  __name: "input-slider",
3042
3185
  props: {
3043
3186
  modelValue: {},
@@ -3062,7 +3205,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3062
3205
  const s = typeof c == "number" ? c : Number(c ?? 0);
3063
3206
  a.value = Number.isNaN(s) ? 0 : s, o("update:modelValue", a.value), o("input", a.value);
3064
3207
  };
3065
- return (c, s) => (f(), M(ze, {
3208
+ return (c, s) => (v(), F(Ie, {
3066
3209
  modelValue: a.value,
3067
3210
  "onUpdate:modelValue": i,
3068
3211
  label: t.label,
@@ -3074,13 +3217,13 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3074
3217
  spanRow: t.spanRow,
3075
3218
  error: t.error
3076
3219
  }, {
3077
- control: W(({ id: r, disabled: u, placeholder: d, onFocus: v, onBlur: m }) => [
3220
+ control: U(({ id: r, disabled: u, placeholder: d, onFocus: f, onBlur: m }) => [
3078
3221
  x("div", {
3079
3222
  class: "input-slider__control",
3080
- onFocusin: v,
3223
+ onFocusin: f,
3081
3224
  onFocusout: m
3082
3225
  }, [
3083
- O(Na, {
3226
+ D(ei, {
3084
3227
  id: r,
3085
3228
  modelValue: a.value,
3086
3229
  "onUpdate:modelValue": s[0] || (s[0] = (p) => a.value = p),
@@ -3090,12 +3233,12 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3090
3233
  range: !1,
3091
3234
  disabled: u
3092
3235
  }, null, 8, ["id", "modelValue", "min", "max", "step", "disabled"])
3093
- ], 40, Ka)
3236
+ ], 40, ti)
3094
3237
  ]),
3095
3238
  _: 1
3096
3239
  }, 8, ["modelValue", "label", "id", "disabled", "colspan", "newLine", "spanRow", "error"]));
3097
3240
  }
3098
- }), Ga = /* @__PURE__ */ D(Xa, [["__scopeId", "data-v-051e6d17"]]), qa = { class: "textarea" }, Ya = ["value", "placeholder", "disabled", "rows"], Ja = /* @__PURE__ */ T({
3241
+ }), oi = /* @__PURE__ */ O(ni, [["__scopeId", "data-v-051e6d17"]]), li = { class: "textarea" }, ai = ["value", "placeholder", "disabled", "rows"], ii = /* @__PURE__ */ R({
3099
3242
  __name: "textarea",
3100
3243
  props: /* @__PURE__ */ ee({
3101
3244
  icon: {},
@@ -3119,14 +3262,14 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3119
3262
  t("blur", r);
3120
3263
  }, s = C(() => !o.value);
3121
3264
  return (r, u) => {
3122
- const d = K("VjIcon");
3123
- return f(), g("div", qa, [
3124
- e.icon ? (f(), M(d, {
3265
+ const d = X("VjIcon");
3266
+ return v(), g("div", li, [
3267
+ e.icon ? (v(), F(d, {
3125
3268
  key: 0,
3126
3269
  icon: e.icon,
3127
- size: S(q).S,
3270
+ size: S(G).S,
3128
3271
  class: "textarea-icon"
3129
- }, null, 8, ["icon", "size"])) : L("", !0),
3272
+ }, null, 8, ["icon", "size"])) : $("", !0),
3130
3273
  x("textarea", {
3131
3274
  value: o.value,
3132
3275
  onInput: l,
@@ -3135,18 +3278,18 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3135
3278
  placeholder: e.placeholder,
3136
3279
  disabled: e.disabled,
3137
3280
  rows: e.rows
3138
- }, null, 40, Ya),
3139
- e.clearable && !e.disabled ? (f(), M(d, {
3281
+ }, null, 40, ai),
3282
+ e.clearable && !e.disabled ? (v(), F(d, {
3140
3283
  key: 1,
3141
- class: z(["clear-icon", { invisible: s.value }]),
3142
- icon: S(F).CLOSE,
3143
- size: S(q).S,
3284
+ class: I(["clear-icon", { invisible: s.value }]),
3285
+ icon: S(H).CLOSE,
3286
+ size: S(G).S,
3144
3287
  onClick: a
3145
- }, null, 8, ["class", "icon", "size"])) : L("", !0)
3288
+ }, null, 8, ["class", "icon", "size"])) : $("", !0)
3146
3289
  ]);
3147
3290
  };
3148
3291
  }
3149
- }), pn = /* @__PURE__ */ D(Ja, [["__scopeId", "data-v-2ea43716"]]), Qa = /* @__PURE__ */ T({
3292
+ }), pn = /* @__PURE__ */ O(ii, [["__scopeId", "data-v-2ea43716"]]), si = /* @__PURE__ */ R({
3150
3293
  __name: "input-text-area",
3151
3294
  props: {
3152
3295
  modelValue: {},
@@ -3171,7 +3314,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3171
3314
  const u = t.modelValue;
3172
3315
  return u == null ? "" : String(u);
3173
3316
  });
3174
- return (u, d) => (f(), M(ze, {
3317
+ return (u, d) => (v(), F(Ie, {
3175
3318
  modelValue: t.modelValue,
3176
3319
  "onUpdate:modelValue": l,
3177
3320
  onInput: a,
@@ -3189,9 +3332,9 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3189
3332
  helpText: t.helpText,
3190
3333
  appearance: t.appearance
3191
3334
  }, {
3192
- control: W(({ id: v, disabled: m, placeholder: p, onFocus: w, onBlur: h }) => [
3193
- O(pn, {
3194
- id: v,
3335
+ control: U(({ id: f, disabled: m, placeholder: p, onFocus: w, onBlur: h }) => [
3336
+ D(pn, {
3337
+ id: f,
3195
3338
  modelValue: r.value,
3196
3339
  "onUpdate:modelValue": s,
3197
3340
  onFocus: (y) => {
@@ -3209,7 +3352,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3209
3352
  _: 1
3210
3353
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "labelPosition", "error", "helpText", "appearance"]));
3211
3354
  }
3212
- }), Za = { class: "input" }, ei = ["value", "type", "placeholder", "disabled"], ti = /* @__PURE__ */ T({
3355
+ }), ri = { class: "input" }, ci = ["value", "type", "placeholder", "disabled"], ui = /* @__PURE__ */ R({
3213
3356
  __name: "input",
3214
3357
  props: /* @__PURE__ */ ee({
3215
3358
  icon: {},
@@ -3233,13 +3376,13 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3233
3376
  t("blur", r);
3234
3377
  }, s = C(() => !o.value);
3235
3378
  return (r, u) => {
3236
- const d = K("VjIcon");
3237
- return f(), g("div", Za, [
3238
- e.icon ? (f(), M(d, {
3379
+ const d = X("VjIcon");
3380
+ return v(), g("div", ri, [
3381
+ e.icon ? (v(), F(d, {
3239
3382
  key: 0,
3240
3383
  icon: e.icon,
3241
- size: S(q).S
3242
- }, null, 8, ["icon", "size"])) : L("", !0),
3384
+ size: S(G).S
3385
+ }, null, 8, ["icon", "size"])) : $("", !0),
3243
3386
  x("input", {
3244
3387
  value: o.value,
3245
3388
  onInput: l,
@@ -3248,18 +3391,18 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3248
3391
  type: e.type,
3249
3392
  placeholder: e.placeholder,
3250
3393
  disabled: e.disabled
3251
- }, null, 40, ei),
3252
- e.clearable && !e.disabled ? (f(), M(d, {
3394
+ }, null, 40, ci),
3395
+ e.clearable && !e.disabled ? (v(), F(d, {
3253
3396
  key: 1,
3254
- class: z(["clear-icon", { invisible: s.value }]),
3255
- icon: S(F).CLOSE,
3256
- size: S(q).S,
3397
+ class: I(["clear-icon", { invisible: s.value }]),
3398
+ icon: S(H).CLOSE,
3399
+ size: S(G).S,
3257
3400
  onClick: a
3258
- }, null, 8, ["class", "icon", "size"])) : L("", !0)
3401
+ }, null, 8, ["class", "icon", "size"])) : $("", !0)
3259
3402
  ]);
3260
3403
  };
3261
3404
  }
3262
- }), hn = /* @__PURE__ */ D(ti, [["__scopeId", "data-v-3187d49c"]]), ni = /* @__PURE__ */ T({
3405
+ }), hn = /* @__PURE__ */ O(ui, [["__scopeId", "data-v-3187d49c"]]), di = /* @__PURE__ */ R({
3263
3406
  __name: "input-text",
3264
3407
  props: {
3265
3408
  modelValue: {},
@@ -3281,7 +3424,7 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3281
3424
  const t = e, o = n, l = (r) => o("update:modelValue", r), a = (r) => o("input", r), i = (r) => o("focus", r), c = (r) => o("blur", r), s = (r) => {
3282
3425
  l(r ?? "");
3283
3426
  };
3284
- return (r, u) => (f(), M(ze, {
3427
+ return (r, u) => (v(), F(Ie, {
3285
3428
  modelValue: e.modelValue,
3286
3429
  "onUpdate:modelValue": l,
3287
3430
  onInput: a,
@@ -3299,8 +3442,8 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3299
3442
  labelPosition: e.labelPosition,
3300
3443
  appearance: e.appearance
3301
3444
  }, {
3302
- control: W(({ id: d, disabled: v, placeholder: m, onFocus: p, onBlur: w }) => [
3303
- O(hn, {
3445
+ control: U(({ id: d, disabled: f, placeholder: m, onFocus: p, onBlur: w }) => [
3446
+ D(hn, {
3304
3447
  id: d,
3305
3448
  modelValue: e.modelValue,
3306
3449
  type: e.type,
@@ -3312,17 +3455,17 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3312
3455
  w(h), c(h);
3313
3456
  },
3314
3457
  placeholder: m,
3315
- disabled: v,
3458
+ disabled: f,
3316
3459
  clearable: ""
3317
3460
  }, null, 8, ["id", "modelValue", "type", "onFocus", "onBlur", "placeholder", "disabled"])
3318
3461
  ]),
3319
3462
  _: 1
3320
3463
  }, 8, ["modelValue", "label", "id", "placeholder", "disabled", "colspan", "newLine", "spanRow", "error", "helpText", "labelPosition", "appearance"]));
3321
3464
  }
3322
- }), oi = { class: "shell-navigation-item" }, li = { class: "shell-navigation-item-label" }, ai = {
3465
+ }), fi = { class: "shell-navigation-item" }, vi = { class: "shell-navigation-item-label" }, mi = {
3323
3466
  key: 1,
3324
3467
  class: "shell-navigation-item-link"
3325
- }, ii = ["aria-expanded"], si = { class: "shell-navigation-item-label" }, ri = /* @__PURE__ */ T({
3468
+ }, pi = ["aria-expanded"], hi = { class: "shell-navigation-item-label" }, gi = /* @__PURE__ */ R({
3326
3469
  __name: "shell-navigation-item",
3327
3470
  props: {
3328
3471
  label: {},
@@ -3330,120 +3473,120 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3330
3473
  to: {}
3331
3474
  },
3332
3475
  setup(e) {
3333
- const n = Wt(), t = C(() => !!n.default), o = E(!1), l = E(null), a = E(null), { floatingStyles: i } = bt(l, a, {
3476
+ const n = Ut(), t = C(() => !!n.default), o = E(!1), l = E(null), a = E(null), { floatingStyles: i } = bt(l, a, {
3334
3477
  placement: "right-start",
3335
- middleware: [Ze(8), tt(), et({ padding: 8 })],
3336
- whileElementsMounted: Qe
3337
- }), c = (v) => {
3478
+ middleware: [et(8), nt(), tt({ padding: 8 })],
3479
+ whileElementsMounted: Ze
3480
+ }), c = (f) => {
3338
3481
  t.value && (o.value = !o.value);
3339
3482
  }, s = () => {
3340
3483
  o.value = !1;
3341
- }, r = (v) => {
3484
+ }, r = (f) => {
3342
3485
  s();
3343
- }, u = (v) => {
3344
- (v.key === "Escape" || v.key === "Esc") && s();
3345
- }, d = (v) => {
3346
- const m = v.target;
3486
+ }, u = (f) => {
3487
+ (f.key === "Escape" || f.key === "Esc") && s();
3488
+ }, d = (f) => {
3489
+ const m = f.target;
3347
3490
  m && (l.value && l.value.contains(m) || a.value && a.value.contains(m) || s());
3348
3491
  };
3349
- return X(o, (v) => {
3350
- v ? (window.addEventListener("keydown", u), window.addEventListener("pointerdown", d)) : (window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d));
3351
- }), Re(() => {
3492
+ return N(o, (f) => {
3493
+ f ? (window.addEventListener("keydown", u), window.addEventListener("pointerdown", d)) : (window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d));
3494
+ }), Te(() => {
3352
3495
  window.removeEventListener("keydown", u), window.removeEventListener("pointerdown", d);
3353
- }), (v, m) => {
3354
- const p = K("VjIcon"), w = K("RouterLink"), h = K("VjMenu");
3355
- return f(), g("li", oi, [
3356
- e.to ? (f(), M(w, {
3496
+ }), (f, m) => {
3497
+ const p = X("VjIcon"), w = X("RouterLink"), h = X("VjMenu");
3498
+ return v(), g("li", fi, [
3499
+ e.to ? (v(), F(w, {
3357
3500
  key: 0,
3358
3501
  to: e.to,
3359
3502
  class: "shell-navigation-item-link"
3360
3503
  }, {
3361
- default: W(() => [
3362
- O(p, {
3504
+ default: U(() => [
3505
+ D(p, {
3363
3506
  icon: e.icon,
3364
3507
  class: "shell-navigation-item-icon"
3365
3508
  }, null, 8, ["icon"]),
3366
- x("label", li, B(e.label), 1)
3509
+ x("label", vi, B(e.label), 1)
3367
3510
  ]),
3368
3511
  _: 1
3369
- }, 8, ["to"])) : (f(), g("div", ai, [
3512
+ }, 8, ["to"])) : (v(), g("div", mi, [
3370
3513
  x("button", {
3371
3514
  ref_key: "buttonRef",
3372
3515
  ref: l,
3373
3516
  class: "shell-navigation-item-button",
3374
- onClick: N(c, ["stop"]),
3517
+ onClick: K(c, ["stop"]),
3375
3518
  "aria-expanded": o.value,
3376
3519
  type: "button"
3377
3520
  }, [
3378
- O(p, {
3521
+ D(p, {
3379
3522
  icon: e.icon,
3380
3523
  class: "shell-navigation-item-icon"
3381
3524
  }, null, 8, ["icon"]),
3382
- x("label", si, B(e.label), 1)
3383
- ], 8, ii),
3384
- O(Oe, { name: "menu" }, {
3385
- default: W(() => [
3386
- o.value ? (f(), M(h, {
3525
+ x("label", hi, B(e.label), 1)
3526
+ ], 8, pi),
3527
+ D(De, { name: "menu" }, {
3528
+ default: U(() => [
3529
+ o.value ? (v(), F(h, {
3387
3530
  key: 0,
3388
3531
  ref_key: "floatingRef",
3389
3532
  ref: a,
3390
- style: G(S(i)),
3533
+ style: q(S(i)),
3391
3534
  class: "shell-navigation-item-menu",
3392
3535
  onClose: s,
3393
- onClick: N(r, ["stop"])
3536
+ onClick: K(r, ["stop"])
3394
3537
  }, {
3395
- default: W(() => [
3396
- j(v.$slots, "default", {}, void 0, !0)
3538
+ default: U(() => [
3539
+ M(f.$slots, "default", {}, void 0, !0)
3397
3540
  ]),
3398
3541
  _: 3
3399
- }, 8, ["style"])) : L("", !0)
3542
+ }, 8, ["style"])) : $("", !0)
3400
3543
  ]),
3401
3544
  _: 3
3402
3545
  }),
3403
- (f(), M(Pe, { to: "body" }, [
3404
- o.value ? (f(), g("div", {
3546
+ (v(), F(Pe, { to: "body" }, [
3547
+ o.value ? (v(), g("div", {
3405
3548
  key: 0,
3406
3549
  class: "menu-backdrop",
3407
3550
  onClick: s
3408
- })) : L("", !0)
3551
+ })) : $("", !0)
3409
3552
  ]))
3410
3553
  ]))
3411
3554
  ]);
3412
3555
  };
3413
3556
  }
3414
- }), ci = /* @__PURE__ */ D(ri, [["__scopeId", "data-v-3a50d1c2"]]), ui = { class: "navigation-top" }, di = {
3557
+ }), bi = /* @__PURE__ */ O(gi, [["__scopeId", "data-v-3a50d1c2"]]), yi = { class: "navigation-top" }, wi = {
3415
3558
  key: 0,
3416
3559
  class: "navigation-bottom"
3417
- }, fi = /* @__PURE__ */ T({
3560
+ }, _i = /* @__PURE__ */ R({
3418
3561
  __name: "shell-navigation",
3419
3562
  setup(e) {
3420
- const n = ut(ki, Ci()), t = C(() => n.showLabels);
3563
+ const n = ut(Ai, Di()), t = C(() => n.showLabels);
3421
3564
  return (o, l) => {
3422
- const a = K("VjShellNavigationItem");
3423
- return f(), g("nav", {
3424
- class: z(["shell-navigation", { "with-labels": t.value }])
3565
+ const a = X("VjShellNavigationItem");
3566
+ return v(), g("nav", {
3567
+ class: I(["shell-navigation", { "with-labels": t.value }])
3425
3568
  }, [
3426
- x("ul", ui, [
3427
- S(n).hasParent && S(n).backRoute.value ? (f(), M(a, {
3569
+ x("ul", yi, [
3570
+ S(n).hasParent && S(n).backRoute.value ? (v(), F(a, {
3428
3571
  key: 0,
3429
3572
  to: S(n).backRoute.value,
3430
3573
  label: "BACK",
3431
- icon: S(F).HOME
3432
- }, null, 8, ["to", "icon"])) : L("", !0),
3433
- (f(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (f(), M(a, {
3574
+ icon: S(H).HOME
3575
+ }, null, 8, ["to", "icon"])) : $("", !0),
3576
+ (v(!0), g(Z, null, ge(S(n).childRoutes.value, (i) => (v(), F(a, {
3434
3577
  key: i.name,
3435
3578
  to: { name: i.name },
3436
3579
  label: i.meta.label,
3437
- icon: i.meta.icon ?? S(F).HOME
3580
+ icon: i.meta.icon ?? S(H).HOME
3438
3581
  }, null, 8, ["to", "label", "icon"]))), 128))
3439
3582
  ]),
3440
- o.$slots.fixed ? (f(), g("ul", di, [
3441
- j(o.$slots, "fixed", {}, void 0, !0)
3442
- ])) : L("", !0)
3583
+ o.$slots.fixed ? (v(), g("ul", wi, [
3584
+ M(o.$slots, "fixed", {}, void 0, !0)
3585
+ ])) : $("", !0)
3443
3586
  ], 2);
3444
3587
  };
3445
3588
  }
3446
- }), gn = /* @__PURE__ */ D(fi, [["__scopeId", "data-v-306cfc22"]]), vi = { class: "shell" }, mi = { class: "shell-title" }, pi = ["src"], hi = { class: "header-actions" }, gi = /* @__PURE__ */ T({
3589
+ }), gn = /* @__PURE__ */ O(_i, [["__scopeId", "data-v-306cfc22"]]), xi = { class: "shell" }, ki = { class: "shell-title" }, Vi = ["src"], Ci = { class: "header-actions" }, Ei = /* @__PURE__ */ R({
3447
3590
  __name: "shell",
3448
3591
  props: {
3449
3592
  title: {},
@@ -3451,55 +3594,55 @@ const ka = ["data-colspan", "data-newline"], Va = ["for"], Ca = { class: "form-f
3451
3594
  showNavigation: { type: Boolean }
3452
3595
  },
3453
3596
  setup(e) {
3454
- const n = Ri(), t = nt(n, "asideComponent"), o = nt(n, "hasAside"), l = nt(n, "asideData"), a = C(() => {
3597
+ const n = Fi(), t = ot(n, "asideComponent"), o = ot(n, "hasAside"), l = ot(n, "asideData"), a = C(() => {
3455
3598
  const i = l.value;
3456
3599
  return i && typeof i == "object" ? i : {};
3457
3600
  });
3458
3601
  return (i, c) => {
3459
- const s = K("router-view");
3460
- return f(), g("div", vi, [
3602
+ const s = X("router-view");
3603
+ return v(), g("div", xi, [
3461
3604
  x("header", null, [
3462
- x("span", mi, [
3463
- e.icon ? (f(), g("img", {
3605
+ x("span", ki, [
3606
+ e.icon ? (v(), g("img", {
3464
3607
  key: 0,
3465
3608
  src: e.icon,
3466
3609
  alt: "Shell Icon"
3467
- }, null, 8, pi)) : L("", !0),
3610
+ }, null, 8, Vi)) : $("", !0),
3468
3611
  x("h1", null, B(e.title), 1)
3469
3612
  ]),
3470
- x("div", hi, [
3471
- j(i.$slots, "header-actions", {}, void 0, !0)
3613
+ x("div", Ci, [
3614
+ M(i.$slots, "header-actions", {}, void 0, !0)
3472
3615
  ])
3473
3616
  ]),
3474
3617
  x("div", {
3475
- class: z(["shell-content", { "with-navigation": e.showNavigation }])
3618
+ class: I(["shell-content", { "with-navigation": e.showNavigation }])
3476
3619
  }, [
3477
- e.showNavigation ? (f(), M(S(gn), { key: 0 }, rt({ _: 2 }, [
3620
+ e.showNavigation ? (v(), F(S(gn), { key: 0 }, rt({ _: 2 }, [
3478
3621
  i.$slots?.["navigation-fixed"] ? {
3479
3622
  name: "fixed",
3480
- fn: W(() => [
3481
- j(i.$slots, "navigation-fixed", {}, void 0, !0)
3623
+ fn: U(() => [
3624
+ M(i.$slots, "navigation-fixed", {}, void 0, !0)
3482
3625
  ]),
3483
3626
  key: "0"
3484
3627
  } : void 0
3485
- ]), 1024)) : L("", !0),
3628
+ ]), 1024)) : $("", !0),
3486
3629
  x("main", null, [
3487
- j(i.$slots, "default", {}, () => [
3488
- O(s)
3630
+ M(i.$slots, "default", {}, () => [
3631
+ D(s)
3489
3632
  ], !0)
3490
3633
  ]),
3491
3634
  x("aside", {
3492
- class: z({ "aside-visible": o.value })
3635
+ class: I({ "aside-visible": o.value })
3493
3636
  }, [
3494
- (f(), M(Kt(t.value), Vn(Cn(a.value)), null, 16))
3637
+ (v(), F(Nt(t.value), Cn(En(a.value)), null, 16))
3495
3638
  ], 2)
3496
3639
  ], 2),
3497
3640
  c[0] || (c[0] = x("footer", null, null, -1))
3498
3641
  ]);
3499
3642
  };
3500
3643
  }
3501
- }), bi = /* @__PURE__ */ D(gi, [["__scopeId", "data-v-4dfd0097"]]);
3502
- class yi {
3644
+ }), Li = /* @__PURE__ */ O(Ei, [["__scopeId", "data-v-4dfd0097"]]);
3645
+ class $i {
3503
3646
  notifications = E([]);
3504
3647
  notificationIdCounter = 0;
3505
3648
  /**
@@ -3565,15 +3708,15 @@ class yi {
3565
3708
  this.notifications.value = [];
3566
3709
  }
3567
3710
  }
3568
- const Ut = new yi(), wi = { class: "notifications" }, _i = /* @__PURE__ */ T({
3711
+ const Wt = new $i(), Si = { class: "notifications" }, Ri = /* @__PURE__ */ R({
3569
3712
  __name: "notifications",
3570
3713
  setup(e) {
3571
- const n = Ut.getNotifications(), t = (o) => Ut.remove(o);
3572
- return (o, l) => (f(), M(Pe, { to: "body" }, [
3573
- x("div", wi, [
3574
- O(En, { name: "notification" }, {
3575
- default: W(() => [
3576
- (f(!0), g(Z, null, ge(S(n), (a) => (f(), M(wt, {
3714
+ const n = Wt.getNotifications(), t = (o) => Wt.remove(o);
3715
+ return (o, l) => (v(), F(Pe, { to: "body" }, [
3716
+ x("div", Si, [
3717
+ D(Ln, { name: "notification" }, {
3718
+ default: U(() => [
3719
+ (v(!0), g(Z, null, ge(S(n), (a) => (v(), F(wt, {
3577
3720
  key: a.id,
3578
3721
  type: a.type,
3579
3722
  title: a.title,
@@ -3586,14 +3729,14 @@ const Ut = new yi(), wi = { class: "notifications" }, _i = /* @__PURE__ */ T({
3586
3729
  ])
3587
3730
  ]));
3588
3731
  }
3589
- }), xi = /* @__PURE__ */ D(_i, [["__scopeId", "data-v-543c499f"]]), ki = "navigationProvider";
3590
- function Vi(e) {
3732
+ }), Ti = /* @__PURE__ */ O(Ri, [["__scopeId", "data-v-543c499f"]]), Ai = "navigationProvider";
3733
+ function Oi(e) {
3591
3734
  return !!e.meta && "icon" in e.meta && "label" in e.meta;
3592
3735
  }
3593
- const Ci = () => {
3594
- const e = Rn(), n = Tn(), t = !0, o = C(() => {
3736
+ const Di = () => {
3737
+ const e = Tn(), n = An(), t = !0, o = C(() => {
3595
3738
  const u = e.getRoutes();
3596
- return u.filter((d) => d.path !== "/" && !u.some((v) => v.children?.some((m) => m.name === d.name)));
3739
+ return u.filter((d) => d.path !== "/" && !u.some((f) => f.children?.some((m) => m.name === d.name)));
3597
3740
  }), l = C(() => {
3598
3741
  const u = n.matched;
3599
3742
  return u.length ? u[u.length - 1] : null;
@@ -3602,11 +3745,11 @@ const Ci = () => {
3602
3745
  return u.length > 1 ? u[u.length - 2] : null;
3603
3746
  }), i = C(() => !!(l.value?.children?.length || a.value)), c = C(() => l.value?.children?.length ? l.value : a.value?.children?.length ? a.value : null), s = C(() => {
3604
3747
  if (!c.value) return null;
3605
- const d = e.getRoutes().find((v) => v.children?.some((m) => m.name === c.value.name));
3748
+ const d = e.getRoutes().find((f) => f.children?.some((m) => m.name === c.value.name));
3606
3749
  return d ? { name: d.name } : { path: "/" };
3607
3750
  }), r = C(() => {
3608
3751
  let u = [];
3609
- return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(Vi);
3752
+ return n.path === "/" ? u = o.value : l.value?.children?.length ? u = l.value.children : a.value?.children?.length ? u = a.value.children : u = o.value, u.filter(Oi);
3610
3753
  });
3611
3754
  return {
3612
3755
  hasParent: i,
@@ -3614,8 +3757,8 @@ const Ci = () => {
3614
3757
  childRoutes: r,
3615
3758
  showLabels: t
3616
3759
  };
3617
- }, Ii = (e, n = !0, t = void 0) => {
3618
- const o = Ln(e) ? e : E(e), l = !!t, a = E(t || null);
3760
+ }, Yi = (e, n = !0, t = void 0) => {
3761
+ const o = $n(e) ? e : E(e), l = !!t, a = E(t || null);
3619
3762
  return {
3620
3763
  hasParent: l,
3621
3764
  backRoute: a,
@@ -3626,9 +3769,9 @@ const Ci = () => {
3626
3769
  let Le = [];
3627
3770
  const bn = (e) => (Le.push(e), () => {
3628
3771
  Le = Le.filter((n) => n !== e);
3629
- }), Ei = (e, n) => (Le = [], xt.value = e, kt.value = n ?? null, _t.value = !0, {
3772
+ }), ji = (e, n) => (Le = [], xt.value = e, kt.value = n ?? null, _t.value = !0, {
3630
3773
  onClose: (t) => bn(t)
3631
- }), Li = (e) => {
3774
+ }), Bi = (e) => {
3632
3775
  try {
3633
3776
  Le.forEach((n) => {
3634
3777
  try {
@@ -3638,18 +3781,18 @@ const bn = (e) => (Le.push(e), () => {
3638
3781
  }
3639
3782
  });
3640
3783
  } finally {
3641
- _t.value = !1, setTimeout($i, 1e3);
3784
+ _t.value = !1, setTimeout(Pi, 1e3);
3642
3785
  }
3643
- }, $i = () => {
3786
+ }, Pi = () => {
3644
3787
  Le = [], xt.value = null, kt.value = null;
3645
- }, Si = {
3788
+ }, Mi = {
3646
3789
  asideComponent: xt,
3647
3790
  asideData: kt,
3648
- showAside: Ei,
3649
- closeAside: Li,
3791
+ showAside: ji,
3792
+ closeAside: Bi,
3650
3793
  onAsideClose: bn,
3651
3794
  hasAside: _t
3652
- }, Ri = () => Si, Hi = (e, n) => {
3795
+ }, Fi = () => Mi, Ji = (e, n) => {
3653
3796
  let t = null;
3654
3797
  return (...l) => {
3655
3798
  t && clearTimeout(t), t = setTimeout(() => {
@@ -3657,7 +3800,7 @@ const bn = (e) => (Le.push(e), () => {
3657
3800
  }, n);
3658
3801
  };
3659
3802
  };
3660
- class Ti {
3803
+ class zi {
3661
3804
  containerElement = null;
3662
3805
  apps = [];
3663
3806
  mainApp = null;
@@ -3667,6 +3810,9 @@ class Ti {
3667
3810
  ensureContainer() {
3668
3811
  return this.containerElement || (this.containerElement = document.createElement("div"), this.containerElement.id = "vj-dialog-container", document.body.appendChild(this.containerElement)), this.containerElement;
3669
3812
  }
3813
+ inheritAppContext(n) {
3814
+ this.mainApp && (Object.assign(n.config.globalProperties, this.mainApp.config.globalProperties), Object.assign(n._context.provides, this.mainApp._context.provides), Object.assign(n._context.components, this.mainApp._context.components), Object.assign(n._context.directives, this.mainApp._context.directives), Object.assign(n.config.compilerOptions, this.mainApp.config.compilerOptions), n.config.errorHandler = this.mainApp.config.errorHandler, n.config.warnHandler = this.mainApp.config.warnHandler, n.config.performance = this.mainApp.config.performance, n.config.optionMergeStrategies = this.mainApp.config.optionMergeStrategies, n._context.mixins.push(...this.mainApp._context.mixins));
3815
+ }
3670
3816
  open(n) {
3671
3817
  return new Promise((t) => {
3672
3818
  const o = this.ensureContainer(), l = document.createElement("div");
@@ -3677,9 +3823,9 @@ class Ti {
3677
3823
  const s = this.apps.find((r) => r.element === l);
3678
3824
  s && (s.app.unmount(), this.apps = this.apps.filter((r) => r !== s)), l.remove();
3679
3825
  }, 300));
3680
- }, c = $n({
3826
+ }, c = Sn({
3681
3827
  setup() {
3682
- return () => Sn(ft, {
3828
+ return () => Rn(ft, {
3683
3829
  modelValue: !0,
3684
3830
  title: n.title,
3685
3831
  message: n.message,
@@ -3706,7 +3852,7 @@ class Ti {
3706
3852
  });
3707
3853
  }
3708
3854
  });
3709
- this.mainApp && (Object.assign(c.config.globalProperties, this.mainApp.config.globalProperties), Object.assign(c._context.provides, this.mainApp._context.provides)), c.component("VjCard", at), c.component("VjIcon", be), c.component("VjButton", dt), c.mount(l), this.apps.push({ app: c, element: l });
3855
+ this.inheritAppContext(c), c.component("VjCard", at), c.component("VjIcon", be), c.component("VjButton", dt), c.mount(l), this.apps.push({ app: c, element: l });
3710
3856
  });
3711
3857
  }
3712
3858
  confirm(n) {
@@ -3734,17 +3880,17 @@ class Ti {
3734
3880
  }), this.apps = [];
3735
3881
  }
3736
3882
  }
3737
- const Ai = new Ti();
3738
- function Ui() {
3739
- return Ai;
3883
+ const Ii = new zi();
3884
+ function Qi() {
3885
+ return Ii;
3740
3886
  }
3741
- function Wi() {
3887
+ function Zi() {
3742
3888
  const e = ut(Yt, null);
3743
3889
  if (!e)
3744
3890
  throw new Error("useDialogController must be used inside a dialog component.");
3745
3891
  return e;
3746
3892
  }
3747
- const Ni = () => {
3893
+ const es = () => {
3748
3894
  const e = E(!1), n = E(null), t = () => {
3749
3895
  n.value = null;
3750
3896
  };
@@ -3784,72 +3930,73 @@ const Ni = () => {
3784
3930
  return new o(a, i);
3785
3931
  }
3786
3932
  return { run: l, running: e, error: n, clearError: t };
3787
- }, Ki = {
3933
+ }, ts = {
3788
3934
  install(e) {
3789
- e.component("VjAmountBar", xa), e.component("VjButton", dt), e.component("VjButtonBar", jn), e.component("VjCard", at), e.component("VjChip", Gt), e.component("VjChipGroup", qt), e.component("VjChipSelector", _o), e.component("VjCarousel", at), e.component("VjCheckbox", Yn), e.component("VjDotMenu", ml), e.component("VjDialog", ft), e.component("VjIcon", be), e.component("VjLinkButton", hl), e.component("VjMenu", Vl), e.component("VjMenuAction", wl), e.component("VjPage", Ql), e.component("VjPaginator", ta), e.component("VjTab", pa), e.component("VjTabView", va), e.component("VjSkeleton", wa), e.component("VjSpinner", dn), e.component("VjNotifications", xi), e.component("VjNotification", wt), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", ze), e.component("VjFormLayout", Ta), e.component("VjFormSection", Da), e.component("VjInputText", ni), e.component("VjInputTextArea", Qa), e.component("VjInputSelect", Ia), e.component("VjInputSlider", Ga), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", ci), e.component("VjShell", bi), e.component("VjSearchField", aa), e.component("VjSeparator", sa), e.directive("focus", Ll), e.directive("resize", $l), e.directive("compact", Cl), e.directive("tooltip", fn);
3935
+ e.component("VjAmountBar", Ta), e.component("VjButton", dt), e.component("VjButtonBar", Mn), e.component("VjCard", at), e.component("VjChip", qt), e.component("VjChipGroup", Gt), e.component("VjChipSelector", xo), e.component("VjCarousel", at), e.component("VjCheckbox", Jn), e.component("VjDotMenu", pl), e.component("VjDialog", ft), e.component("VjIcon", be), e.component("VjLinkButton", gl), e.component("VjMenu", Cl), e.component("VjMenuAction", _l), e.component("VjPage", Zl), e.component("VjPaginator", na), e.component("VjTab", ua), e.component("VjTabView", ha), e.component("VjTimer", Va), e.component("VjSkeleton", Sa), e.component("VjSpinner", dn), e.component("VjNotifications", Ti), e.component("VjNotification", wt), e.component("VjInput", hn), e.component("VjSelect", mn), e.component("VjTextArea", pn), e.component("VjFormField", Ie), e.component("VjFormLayout", za), e.component("VjFormSection", Wa), e.component("VjInputText", di), e.component("VjInputTextArea", si), e.component("VjInputSelect", Ya), e.component("VjInputSlider", oi), e.component("VjShellNavigation", gn), e.component("VjShellNavigationItem", bi), e.component("VjShell", Li), e.component("VjSearchField", ia), e.component("VjSeparator", ra), e.directive("focus", $l), e.directive("resize", Sl), e.directive("compact", El), e.directive("tooltip", fn);
3790
3936
  }
3791
3937
  };
3792
3938
  export {
3793
- xa as AmountBar,
3939
+ Ta as AmountBar,
3794
3940
  dt as Button,
3795
- jn as ButtonBar,
3941
+ Mn as ButtonBar,
3796
3942
  at as Card,
3797
- Pi as Carousel,
3798
- Yn as Checkbox,
3799
- Gt as Chip,
3800
- qt as ChipGroup,
3801
- _o as ChipSelector,
3943
+ Ki as Carousel,
3944
+ Jn as Checkbox,
3945
+ qt as Chip,
3946
+ Gt as ChipGroup,
3947
+ xo as ChipSelector,
3802
3948
  ft as Dialog,
3803
- ml as DotMenu,
3804
- Mi as EditableLabel,
3805
- Ll as FocusFirstDirective,
3806
- ze as FormField,
3807
- Ta as FormLayout,
3808
- Da as FormSection,
3949
+ pl as DotMenu,
3950
+ Xi as EditableLabel,
3951
+ $l as FocusFirstDirective,
3952
+ Ie as FormField,
3953
+ za as FormLayout,
3954
+ Wa as FormSection,
3809
3955
  be as Icon,
3810
- F as IconNames,
3811
- q as IconSize,
3956
+ H as IconNames,
3957
+ G as IconSize,
3812
3958
  hn as Input,
3813
- Ia as InputSelect,
3814
- Ga as InputSlider,
3815
- ni as InputText,
3816
- Qa as InputTextArea,
3817
- hl as LinkButton,
3818
- Dl as LoadingDirective,
3819
- Vl as Menu,
3820
- wl as MenuAction,
3959
+ Ya as InputSelect,
3960
+ oi as InputSlider,
3961
+ di as InputText,
3962
+ si as InputTextArea,
3963
+ gl as LinkButton,
3964
+ jl as LoadingDirective,
3965
+ Cl as Menu,
3966
+ _l as MenuAction,
3821
3967
  wt as NotificationComponent,
3822
- xi as Notifications,
3823
- Ql as Page,
3824
- ta as Paginator,
3825
- ji as Radio,
3826
- $l as ResizeDirective,
3827
- aa as SearchField,
3968
+ Ti as Notifications,
3969
+ Zl as Page,
3970
+ na as Paginator,
3971
+ Ni as Radio,
3972
+ Sl as ResizeDirective,
3973
+ ia as SearchField,
3828
3974
  mn as Select,
3829
- sa as Separator,
3830
- bi as Shell,
3975
+ ra as Separator,
3976
+ Li as Shell,
3831
3977
  gn as ShellNavigation,
3832
- ci as ShellNavigationItem,
3833
- wa as Skeleton,
3978
+ bi as ShellNavigationItem,
3979
+ Sa as Skeleton,
3834
3980
  dn as Spinner,
3835
- pa as Tab,
3836
- va as TabView,
3981
+ ua as Tab,
3982
+ ha as TabView,
3837
3983
  pn as TextArea,
3984
+ Va as Timer,
3838
3985
  fn as TooltipDirective,
3839
- Ki as VjComponents,
3986
+ ts as VjComponents,
3840
3987
  Yt as VjDialogControllerKey,
3841
- ki as VjNavigationProviderKey,
3842
- Cl as compactDirective,
3843
- Fi as configureVueUI,
3844
- Ai as dialogService,
3988
+ Ai as VjNavigationProviderKey,
3989
+ El as compactDirective,
3990
+ qi as configureVueUI,
3991
+ Ii as dialogService,
3845
3992
  Ht as getVueUIConfig,
3846
- Ut as notificationService,
3847
- zi as resetVueUIConfig,
3848
- Ri as useAsideService,
3849
- Hi as useDebounce,
3850
- Ui as useDialog,
3851
- Wi as useDialogController,
3852
- Ni as useFlow,
3853
- Ci as useRouterNavigationProvider,
3854
- Ii as useStaticNavigationProvider
3993
+ Wt as notificationService,
3994
+ Gi as resetVueUIConfig,
3995
+ Fi as useAsideService,
3996
+ Ji as useDebounce,
3997
+ Qi as useDialog,
3998
+ Zi as useDialogController,
3999
+ es as useFlow,
4000
+ Di as useRouterNavigationProvider,
4001
+ Yi as useStaticNavigationProvider
3855
4002
  };