@reinosoft-ui/core 0.1.21 → 0.1.23

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,5 +1,5 @@
1
- import { defineComponent as _, ref as C, computed as $, watch as Y, onMounted as te, createElementBlock as f, openBlock as v, normalizeStyle as ye, normalizeClass as re, renderSlot as U, createCommentVNode as N, withDirectives as Ie, createElementVNode as g, vShow as ze, mergeProps as Ce, onUnmounted as ge, Fragment as ae, withKeys as fe, unref as R, toDisplayString as K, renderList as ce, createBlock as W, Transition as $e, withCtx as G, withModifiers as ne, nextTick as Le, mergeModels as oe, useModel as pe, useId as ie, provide as be, createVNode as P, createTextVNode as me, onBeforeUnmount as He, Teleport as Be, resolveDynamicComponent as Ve, useAttrs as Oe, inject as le, h as F, useSlots as qe, resolveComponent as C1, vModelRadio as p1, vModelDynamic as m1, reactive as o1, TransitionGroup as h1, createApp as y1, shallowRef as b1 } from "vue";
2
- const g1 = ["aria-busy"], k1 = ["aria-label"], w1 = ["src", "srcset", "sizes", "alt", "aria-hidden", "loading", "decoding"], M1 = /* @__PURE__ */ _({
1
+ import { defineComponent as _, ref as C, computed as $, watch as Y, onMounted as ae, createElementBlock as f, openBlock as v, normalizeStyle as ye, normalizeClass as le, renderSlot as j, createCommentVNode as N, withDirectives as Ie, createElementVNode as b, vShow as ze, mergeProps as pe, mergeModels as te, useModel as Ce, withKeys as ce, withModifiers as oe, onUnmounted as ge, Fragment as ne, unref as R, toDisplayString as K, renderList as de, createBlock as W, Transition as $e, withCtx as G, nextTick as Le, useId as ie, provide as be, createVNode as P, createTextVNode as me, onBeforeUnmount as He, Teleport as Be, resolveDynamicComponent as Ve, useAttrs as Oe, inject as re, h as F, useSlots as qe, resolveComponent as p1, vModelRadio as m1, vModelDynamic as h1, reactive as n1, TransitionGroup as y1, createApp as b1, shallowRef as g1 } from "vue";
2
+ const k1 = ["aria-busy"], w1 = ["aria-label"], M1 = ["src", "srcset", "sizes", "alt", "aria-hidden", "loading", "decoding"], L1 = /* @__PURE__ */ _({
3
3
  __name: "Image",
4
4
  props: {
5
5
  src: {},
@@ -15,9 +15,9 @@ const g1 = ["aria-busy"], k1 = ["aria-label"], w1 = ["src", "srcset", "sizes", "
15
15
  },
16
16
  emits: ["loaded", "error"],
17
17
  setup(e, { emit: o }) {
18
- const t = e, a = o, s = C(t.src), l = C(), i = C("loading"), n = $(() => t.ratio ? {
18
+ const t = e, a = o, s = C(t.src), r = C(), i = C("loading"), n = $(() => t.ratio ? {
19
19
  aspectRatio: typeof t.ratio == "number" ? `${t.ratio}` : t.ratio
20
- } : void 0), r = () => {
20
+ } : void 0), l = () => {
21
21
  i.value = "loaded", a("loaded");
22
22
  }, d = () => {
23
23
  if (t.fallbackSrc && s.value !== t.fallbackSrc) {
@@ -31,8 +31,8 @@ const g1 = ["aria-busy"], k1 = ["aria-label"], w1 = ["src", "srcset", "sizes", "
31
31
  (c) => {
32
32
  s.value = c, i.value = "loading";
33
33
  }
34
- ), te(() => l.value?.complete && l.value.naturalWidth > 0 && (i.value = "loaded")), (c, h) => (v(), f("div", {
35
- class: re(["ui-image", {
34
+ ), ae(() => r.value?.complete && r.value.naturalWidth > 0 && (i.value = "loaded")), (c, h) => (v(), f("div", {
35
+ class: le(["ui-image", {
36
36
  "is-loading": i.value === "loading",
37
37
  "is-error": i.value === "error",
38
38
  "is-loaded": i.value === "loaded",
@@ -41,21 +41,21 @@ const g1 = ["aria-busy"], k1 = ["aria-label"], w1 = ["src", "srcset", "sizes", "
41
41
  style: ye(n.value),
42
42
  "aria-busy": i.value === "loading" || void 0
43
43
  }, [
44
- i.value === "loading" ? U(c.$slots, "placeholder", { key: 0 }, () => [
45
- h[0] || (h[0] = g("div", {
44
+ i.value === "loading" ? j(c.$slots, "placeholder", { key: 0 }, () => [
45
+ h[0] || (h[0] = b("div", {
46
46
  class: "ui-image__placeholder",
47
47
  "aria-hidden": "true"
48
48
  }, null, -1))
49
- ], !0) : i.value === "error" ? U(c.$slots, "fallback", { key: 1 }, () => [
50
- g("div", {
49
+ ], !0) : i.value === "error" ? j(c.$slots, "fallback", { key: 1 }, () => [
50
+ b("div", {
51
51
  class: "ui-image__fallback",
52
52
  role: "img",
53
53
  "aria-label": e.decorative ? void 0 : e.alt
54
- }, "Image not available", 8, k1)
54
+ }, "Image not available", 8, w1)
55
55
  ], !0) : N("", !0),
56
- Ie(g("img", {
56
+ Ie(b("img", {
57
57
  ref_key: "imgRef",
58
- ref: l,
58
+ ref: r,
59
59
  class: "ui-image__img",
60
60
  src: s.value,
61
61
  srcset: e.srcset,
@@ -64,104 +64,143 @@ const g1 = ["aria-busy"], k1 = ["aria-label"], w1 = ["src", "srcset", "sizes", "
64
64
  "aria-hidden": e.decorative || void 0,
65
65
  loading: e.lazy ? "lazy" : void 0,
66
66
  decoding: e.decoding,
67
- onLoad: r,
67
+ onLoad: l,
68
68
  onError: d
69
- }, null, 40, w1), [
69
+ }, null, 40, M1), [
70
70
  [ze, i.value !== "error"]
71
71
  ])
72
- ], 14, g1));
72
+ ], 14, k1));
73
73
  }
74
- }), j = (e, o) => {
74
+ }), U = (e, o) => {
75
75
  const t = e.__vccOpts || e;
76
76
  for (const [a, s] of o)
77
77
  t[a] = s;
78
78
  return t;
79
- }, xe = /* @__PURE__ */ j(M1, [["__scopeId", "data-v-4c5a40da"]]);
79
+ }, xe = /* @__PURE__ */ U(L1, [["__scopeId", "data-v-4c5a40da"]]);
80
80
  xe.install = (e) => {
81
81
  e.component("Image", xe);
82
82
  };
83
- const L1 = /* @__PURE__ */ _({
83
+ const x1 = /* @__PURE__ */ _({
84
84
  __name: "Button",
85
85
  setup(e, { expose: o }) {
86
86
  const t = C();
87
87
  return o({
88
88
  el: t
89
- }), (a, s) => (v(), f("button", Ce({
89
+ }), (a, s) => (v(), f("button", pe({
90
90
  ref_key: "rootRef",
91
91
  ref: t,
92
92
  type: "button",
93
93
  class: "btn"
94
94
  }, a.$attrs), [
95
- U(a.$slots, "default", {}, void 0, !0)
95
+ j(a.$slots, "default", {}, void 0, !0)
96
96
  ], 16));
97
97
  }
98
- }), he = /* @__PURE__ */ j(L1, [["__scopeId", "data-v-b46162b4"]]);
98
+ }), he = /* @__PURE__ */ U(x1, [["__scopeId", "data-v-b46162b4"]]);
99
99
  he.install = (e) => {
100
100
  e.component("Button", he);
101
101
  };
102
- const n1 = (e) => {
102
+ const $1 = ["id", "aria-checked", "aria-disabled", "disabled", "onKeydown"], V1 = /* @__PURE__ */ _({
103
+ __name: "Toggle",
104
+ props: /* @__PURE__ */ te({
105
+ id: {},
106
+ disabled: { type: Boolean }
107
+ }, {
108
+ modelValue: { type: Boolean },
109
+ modelModifiers: {}
110
+ }),
111
+ emits: /* @__PURE__ */ te(["change"], ["update:modelValue"]),
112
+ setup(e, { emit: o }) {
113
+ const t = Ce(e, "modelValue"), a = o, s = e, r = $(() => t.value), i = () => {
114
+ if (s.disabled) return;
115
+ const n = !t.value;
116
+ t.value = n, a("change", n);
117
+ };
118
+ return (n, l) => (v(), f("button", {
119
+ id: e.id,
120
+ role: "switch",
121
+ type: "button",
122
+ class: le(["ui-toggle", { "ui-toggle--checked": r.value, "ui-toggle--disabled": e.disabled }]),
123
+ "aria-checked": r.value,
124
+ "aria-disabled": e.disabled || void 0,
125
+ disabled: e.disabled || void 0,
126
+ onClick: i,
127
+ onKeydown: [
128
+ ce(oe(i, ["prevent"]), ["space"]),
129
+ ce(oe(i, ["prevent"]), ["enter"])
130
+ ]
131
+ }, [...l[0] || (l[0] = [
132
+ b("span", { class: "ui-toggle__track" }, [
133
+ b("span", { class: "ui-toggle__thumb" })
134
+ ], -1)
135
+ ])], 42, $1));
136
+ }
137
+ }), Xe = /* @__PURE__ */ U(V1, [["__scopeId", "data-v-d2681823"]]);
138
+ Xe.install = (e) => {
139
+ e.component("Toggle", Xe);
140
+ };
141
+ const l1 = (e) => {
103
142
  for (; e; ) {
104
143
  if (e instanceof HTMLElement && e.dataset?.block !== void 0) return e;
105
144
  e = e.parentNode;
106
145
  }
107
146
  return null;
108
- }, x1 = (e, o, t) => {
147
+ }, I1 = (e, o, t) => {
109
148
  for (; e && e !== t; ) {
110
149
  if (e instanceof HTMLElement && e.tagName.toLowerCase() === o) return e;
111
150
  e = e.parentNode;
112
151
  }
113
152
  return null;
114
- }, $1 = (e) => e.replaceWith(...Array.from(e.childNodes)), V1 = (e = "p") => {
153
+ }, H1 = (e) => e.replaceWith(...Array.from(e.childNodes)), B1 = (e = "p") => {
115
154
  const o = document.createElement(e);
116
155
  return o.dataset.block = "", o.innerHTML = "<br>", o;
117
- }, Xe = (e) => {
156
+ }, Ge = (e) => {
118
157
  const o = document.createRange(), t = window.getSelection();
119
158
  o.selectNodeContents(e), o.collapse(!0), t?.removeAllRanges(), t?.addRange(o);
120
- }, I1 = (e, o) => {
159
+ }, _1 = (e, o) => {
121
160
  if (e.shiftKey) {
122
- B1();
161
+ Z1();
123
162
  return;
124
163
  }
125
- H1(e, o);
126
- }, H1 = (e, o) => {
164
+ R1(e, o);
165
+ }, R1 = (e, o) => {
127
166
  e.preventDefault();
128
167
  const t = window.getSelection();
129
168
  if (!t || t.rangeCount === 0) return;
130
- const a = t.getRangeAt(0), s = n1(a.startContainer);
169
+ const a = t.getRangeAt(0), s = l1(a.startContainer);
131
170
  if (!s) return;
132
- const i = V1("p");
171
+ const i = B1("p");
133
172
  document.createRange().selectNodeContents(s);
134
- const r = a.cloneRange(), d = document.createRange();
135
- d.selectNodeContents(s), d.setEnd(r.startContainer, r.startOffset);
173
+ const l = a.cloneRange(), d = document.createRange();
174
+ d.selectNodeContents(s), d.setEnd(l.startContainer, l.startOffset);
136
175
  const c = d.cloneContents(), h = document.createRange();
137
- h.selectNodeContents(s), h.setStart(r.startContainer, r.startOffset);
176
+ h.selectNodeContents(s), h.setStart(l.startContainer, l.startOffset);
138
177
  const L = h.cloneContents();
139
178
  s.innerHTML = "", s.appendChild(c), s.innerHTML === "" && (s.innerHTML = "<br>"), i.innerHTML = "", i.appendChild(L), i.innerHTML === "" && (i.innerHTML = "<br>"), s.after(i);
140
179
  const M = document.createRange();
141
180
  M.setStart(i, 0), M.collapse(!0), t.removeAllRanges(), t.addRange(M), o?.normalize();
142
- }, B1 = () => {
181
+ }, Z1 = () => {
143
182
  const e = window.getSelection();
144
183
  if (!e || e.rangeCount === 0) return;
145
184
  const o = e.getRangeAt(0), t = document.createElement("br");
146
185
  o.insertNode(t), o.setStartAfter(t), o.collapse(!0), e.removeAllRanges(), e.addRange(o);
147
- }, Ge = (e) => {
186
+ }, We = (e) => {
148
187
  const o = window.getSelection();
149
188
  if (!o || o.rangeCount === 0) return;
150
- const t = o.getRangeAt(0), a = n1(t.startContainer);
189
+ const t = o.getRangeAt(0), a = l1(t.startContainer);
151
190
  if (!a || !(a.textContent === "" || a.innerHTML === "<br>")) return;
152
- const l = a.previousElementSibling, i = a.nextElementSibling;
153
- if (e.preventDefault(), !l && !i) {
154
- a.innerHTML = "<br>", Xe(a);
191
+ const r = a.previousElementSibling, i = a.nextElementSibling;
192
+ if (e.preventDefault(), !r && !i) {
193
+ a.innerHTML = "<br>", Ge(a);
155
194
  return;
156
195
  }
157
- l && l.dataset.block !== void 0 ? (a.remove(), _1(l)) : i && i.dataset.block !== void 0 && (a.remove(), Xe(i));
158
- }, _1 = (e) => {
196
+ r && r.dataset.block !== void 0 ? (a.remove(), A1(r)) : i && i.dataset.block !== void 0 && (a.remove(), Ge(i));
197
+ }, A1 = (e) => {
159
198
  const o = document.createRange(), t = window.getSelection();
160
199
  o.selectNodeContents(e), o.collapse(!1), t?.removeAllRanges(), t?.addRange(o);
161
- }, R1 = (e, o) => {
200
+ }, T1 = (e, o) => {
162
201
  const t = C(null), a = o?.buttons ?? [];
163
202
  let s = C(null);
164
- const l = () => {
203
+ const r = () => {
165
204
  const p = e;
166
205
  if (!p) return;
167
206
  const x = window.getSelection();
@@ -175,13 +214,13 @@ const n1 = (e) => {
175
214
  if (!O) return !1;
176
215
  const Z = n(I, O), q = [];
177
216
  if (Z.forEach((m) => {
178
- const b = m === I.startContainer ? I.startOffset : 0, T = m === I.endContainer ? I.endOffset : m.textContent.length;
179
- if (b === T) return;
217
+ const g = m === I.startContainer ? I.startOffset : 0, S = m === I.endContainer ? I.endOffset : m.textContent.length;
218
+ if (g === S) return;
180
219
  let w;
181
- b === 0 && T === m.textContent.length ? w = m : (w = m.splitText(b), T - b < w.textContent.length && w.splitText(T - b));
182
- const A = x1(w, p, O);
220
+ g === 0 && S === m.textContent.length ? w = m : (w = m.splitText(g), S - g < w.textContent.length && w.splitText(S - g));
221
+ const A = I1(w, p, O);
183
222
  if (A)
184
- $1(A), q.push(w);
223
+ H1(A), q.push(w);
185
224
  else {
186
225
  const J = document.createElement(p);
187
226
  w.replaceWith(J), J.appendChild(w), q.push(w);
@@ -189,8 +228,8 @@ const n1 = (e) => {
189
228
  }), q.length > 0) {
190
229
  const m = document.createRange();
191
230
  m.setStart(q[0], 0);
192
- const b = q[q.length - 1];
193
- m.setEnd(b, b.textContent.length), x.removeAllRanges(), x.addRange(m), l();
231
+ const g = q[q.length - 1];
232
+ m.setEnd(g, g.textContent.length), x.removeAllRanges(), x.addRange(m), r();
194
233
  }
195
234
  return M(), u(p);
196
235
  }, n = (p, x) => {
@@ -199,15 +238,15 @@ const n1 = (e) => {
199
238
  O,
200
239
  NodeFilter.SHOW_TEXT,
201
240
  {
202
- acceptNode(b) {
203
- return x.contains(b) && p.intersectsNode(b) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;
241
+ acceptNode(g) {
242
+ return x.contains(g) && p.intersectsNode(g) ? NodeFilter.FILTER_ACCEPT : NodeFilter.FILTER_REJECT;
204
243
  }
205
244
  }
206
245
  ), q = [];
207
246
  let m;
208
247
  for (; m = Z.nextNode(); ) q.push(m);
209
248
  return q;
210
- }, r = (p) => {
249
+ }, l = (p) => {
211
250
  const x = window.getSelection();
212
251
  if (!x || x.rangeCount === 0) return !1;
213
252
  const I = x.getRangeAt(0), O = d(I.startContainer);
@@ -215,8 +254,8 @@ const n1 = (e) => {
215
254
  const q = O.tagName.toLowerCase() === p.toLowerCase() ? "p" : p.toLowerCase(), m = document.createElement(q);
216
255
  for (q === "blockquote" && m.setAttribute("class", "rs-blockquote"), m.dataset.block = "true"; O.firstChild; ) m.appendChild(O.firstChild);
217
256
  O.replaceWith(m);
218
- const b = document.createRange();
219
- return b.selectNodeContents(m), x.removeAllRanges(), x.addRange(b), l(), M(), y(p);
257
+ const g = document.createRange();
258
+ return g.selectNodeContents(m), x.removeAllRanges(), x.addRange(g), r(), M(), y(p);
220
259
  }, d = (p) => {
221
260
  const x = e;
222
261
  if (!x) return null;
@@ -243,8 +282,8 @@ const n1 = (e) => {
243
282
  const Z = O.parentElement;
244
283
  if (!Z) return;
245
284
  if (O.textContent?.trim() === "") {
246
- const b = document.createElement("p");
247
- b.dataset.block = "true", b.innerHTML = "<br>", Z.after(b), O.remove(), Z.children.length === 0 && Z.remove(), L(b);
285
+ const g = document.createElement("p");
286
+ g.dataset.block = "true", g.innerHTML = "<br>", Z.after(g), O.remove(), Z.children.length === 0 && Z.remove(), L(g);
248
287
  return;
249
288
  }
250
289
  const m = document.createElement("li");
@@ -295,30 +334,30 @@ const n1 = (e) => {
295
334
  Z.selectNodeContents(O), Z.setEnd(I.startContainer, I.startOffset);
296
335
  const q = Z.toString().length, m = I.cloneRange();
297
336
  m.selectNodeContents(O), m.setEnd(I.endContainer, I.endOffset);
298
- const b = m.toString().length, T = I.collapsed, w = p(O);
337
+ const g = m.toString().length, S = I.collapsed, w = p(O);
299
338
  O.replaceWith(w);
300
339
  const A = document.createTreeWalker(
301
340
  w,
302
341
  NodeFilter.SHOW_TEXT,
303
342
  null
304
343
  );
305
- let J = 0, de = null, H = 0, z = null, Q = 0;
344
+ let J = 0, ve = null, H = 0, z = null, Q = 0;
306
345
  for (; A.nextNode(); ) {
307
346
  const X = A.currentNode, se = X.textContent?.length ?? 0;
308
- !de && J + se >= q && (de = X, H = q - J), !z && J + se >= b && (z = X, Q = b - J), J += se;
347
+ !ve && J + se >= q && (ve = X, H = q - J), !z && J + se >= g && (z = X, Q = g - J), J += se;
309
348
  }
310
- const S = document.createRange();
311
- de ? S.setStart(de, H) : S.setStart(w, 0), !T && z ? S.setEnd(z, Q) : S.collapse(!0), x.removeAllRanges(), x.addRange(S), l(), M();
349
+ const T = document.createRange();
350
+ ve ? T.setStart(ve, H) : T.setStart(w, 0), !S && z ? T.setEnd(z, Q) : T.collapse(!0), x.removeAllRanges(), x.addRange(T), r(), M();
312
351
  }, E = (p) => {
313
352
  const x = e.parentElement?.querySelector("#editor-status");
314
353
  x && (x.textContent = p, setTimeout(() => x.textContent = "", 2e3));
315
354
  };
316
355
  return e.addEventListener("keydown", h, { capture: !0 }), {
317
356
  toggleInline: i,
318
- toggleBlock: r,
357
+ toggleBlock: l,
319
358
  normalize: M,
320
359
  rootElement: e,
321
- saveSelection: l,
360
+ saveSelection: r,
322
361
  restoreSelection: B,
323
362
  isInlineActive: u,
324
363
  isBlockActive: y,
@@ -329,12 +368,12 @@ const n1 = (e) => {
329
368
  buttons: a,
330
369
  announce: E
331
370
  };
332
- }, Z1 = ["id", "aria-label"], A1 = {
371
+ }, S1 = ["id", "aria-label"], E1 = {
333
372
  id: "editor-status",
334
373
  class: "sr-only",
335
374
  "aria-live": "polite",
336
375
  "aria-atomic": "true"
337
- }, S1 = /* @__PURE__ */ _({
376
+ }, D1 = /* @__PURE__ */ _({
338
377
  __name: "EditorContent",
339
378
  props: {
340
379
  editor: {},
@@ -342,7 +381,7 @@ const n1 = (e) => {
342
381
  ariaLabel: {}
343
382
  },
344
383
  setup(e, { expose: o }) {
345
- const t = e, a = C(""), s = C(null), l = (n) => {
384
+ const t = e, a = C(""), s = C(null), r = (n) => {
346
385
  if (n.ctrlKey || n.metaKey)
347
386
  switch (n.altKey && n.key === "F10" && (n.preventDefault(), t.editor?.restoreSelection(), t.editor?.focusFirstToolbarButton()), n.key.toLowerCase()) {
348
387
  case "b":
@@ -358,15 +397,15 @@ const n1 = (e) => {
358
397
  }, i = () => {
359
398
  const n = window.getSelection();
360
399
  if (!n || n.rangeCount === 0) return;
361
- const r = s.value;
362
- if (!r) return;
400
+ const l = s.value;
401
+ if (!l) return;
363
402
  const d = n.getRangeAt(0);
364
- r.contains(d.commonAncestorContainer) && t.editor?.saveSelection();
403
+ l.contains(d.commonAncestorContainer) && t.editor?.saveSelection();
365
404
  };
366
- return te(() => document.addEventListener("selectionchange", i)), ge(() => document.removeEventListener("selectionchange", i)), o({
405
+ return ae(() => document.addEventListener("selectionchange", i)), ge(() => document.removeEventListener("selectionchange", i)), o({
367
406
  getRoot: () => s
368
- }), (n, r) => (v(), f(ae, null, [
369
- g("div", {
407
+ }), (n, l) => (v(), f(ne, null, [
408
+ b("div", {
370
409
  ref_key: "rootRef",
371
410
  ref: s,
372
411
  class: "editor",
@@ -377,29 +416,29 @@ const n1 = (e) => {
377
416
  "aria-label": e.ariaLabel || "Text editor",
378
417
  "aria-describedby": "editor-help editor-status",
379
418
  onKeydown: [
380
- l,
381
- r[0] || (r[0] = fe((d) => R(I1)(d, e.editor), ["enter"])),
382
- r[1] || (r[1] = fe(
419
+ r,
420
+ l[0] || (l[0] = ce((d) => R(_1)(d, e.editor), ["enter"])),
421
+ l[1] || (l[1] = ce(
383
422
  //@ts-ignore
384
- (...d) => R(Ge) && R(Ge)(...d),
423
+ (...d) => R(We) && R(We)(...d),
385
424
  ["backspace"]
386
425
  ))
387
426
  ],
388
- onMouseup: r[2] || (r[2] = //@ts-ignore
427
+ onMouseup: l[2] || (l[2] = //@ts-ignore
389
428
  (...d) => e.editor?.saveSelection && e.editor?.saveSelection(...d)),
390
- onKeyup: r[3] || (r[3] = //@ts-ignore
429
+ onKeyup: l[3] || (l[3] = //@ts-ignore
391
430
  (...d) => e.editor?.saveSelection && e.editor?.saveSelection(...d))
392
- }, [...r[4] || (r[4] = [
393
- g("p", { "data-block": "" }, "Write here...", -1)
394
- ])], 40, Z1),
395
- g("div", A1, K(a.value), 1),
396
- r[5] || (r[5] = g("p", {
431
+ }, [...l[4] || (l[4] = [
432
+ b("p", { "data-block": "" }, "Write here...", -1)
433
+ ])], 40, S1),
434
+ b("div", E1, K(a.value), 1),
435
+ l[5] || (l[5] = b("p", {
397
436
  id: "editor-help",
398
437
  class: "sr-only"
399
438
  }, " Use Ctrl+B for bold, Ctrl+I for italic, Alt+Ctrl+1 for heading level 1. ", -1))
400
439
  ], 64));
401
440
  }
402
- }), T1 = /* @__PURE__ */ j(S1, [["__scopeId", "data-v-445744be"]]), E1 = {
441
+ }), z1 = /* @__PURE__ */ U(D1, [["__scopeId", "data-v-445744be"]]), O1 = {
403
442
  viewBox: "0 0 512 512",
404
443
  paths: [
405
444
  {
@@ -409,7 +448,7 @@ const n1 = (e) => {
409
448
  transform: "translate(5,0)"
410
449
  }
411
450
  ]
412
- }, D1 = {
451
+ }, q1 = {
413
452
  viewBox: "0 0 24 24",
414
453
  paths: [
415
454
  {
@@ -421,7 +460,7 @@ const n1 = (e) => {
421
460
  "stroke-linecap": "round"
422
461
  }
423
462
  ]
424
- }, z1 = {
463
+ }, N1 = {
425
464
  viewBox: "0 0 24 24",
426
465
  paths: [
427
466
  {
@@ -441,7 +480,7 @@ const n1 = (e) => {
441
480
  "stroke-width": 2
442
481
  }
443
482
  ]
444
- }, O1 = {
483
+ }, F1 = {
445
484
  viewBox: "0 0 24 24",
446
485
  paths: [
447
486
  {
@@ -466,7 +505,7 @@ const n1 = (e) => {
466
505
  "stroke-width": 2
467
506
  }
468
507
  ]
469
- }, q1 = {
508
+ }, K1 = {
470
509
  viewBox: "0 0 24 24",
471
510
  paths: [
472
511
  {
@@ -478,7 +517,7 @@ const n1 = (e) => {
478
517
  "stroke-linejoin": "round"
479
518
  }
480
519
  ]
481
- }, N1 = {
520
+ }, P1 = {
482
521
  viewBox: "0 0 24 24",
483
522
  paths: [
484
523
  {
@@ -488,7 +527,7 @@ const n1 = (e) => {
488
527
  "stroke-width": 2
489
528
  }
490
529
  ]
491
- }, F1 = {
530
+ }, U1 = {
492
531
  viewBox: "0 0 24 24",
493
532
  paths: [
494
533
  {
@@ -500,7 +539,7 @@ const n1 = (e) => {
500
539
  "stroke-linejoin": "round"
501
540
  }
502
541
  ]
503
- }, K1 = {
542
+ }, j1 = {
504
543
  viewBox: "0 0 24 24",
505
544
  paths: [
506
545
  {
@@ -516,7 +555,7 @@ const n1 = (e) => {
516
555
  "stroke-width": 2
517
556
  }
518
557
  ]
519
- }, P1 = {
558
+ }, X1 = {
520
559
  viewBox: "0 0 24 24",
521
560
  paths: [
522
561
  {
@@ -547,7 +586,7 @@ const n1 = (e) => {
547
586
  "stroke-width": 2
548
587
  }
549
588
  ]
550
- }, U1 = {
589
+ }, G1 = {
551
590
  viewBox: "0 0 24 24",
552
591
  paths: [
553
592
  {
@@ -559,7 +598,7 @@ const n1 = (e) => {
559
598
  "stroke-linecap": "round"
560
599
  }
561
600
  ]
562
- }, j1 = {
601
+ }, W1 = {
563
602
  viewBox: "0 0 24 24",
564
603
  paths: [
565
604
  {
@@ -571,7 +610,7 @@ const n1 = (e) => {
571
610
  "stroke-linecap": "round"
572
611
  }
573
612
  ]
574
- }, X1 = {
613
+ }, J1 = {
575
614
  viewBox: "0 0 24 24",
576
615
  paths: [
577
616
  {
@@ -584,7 +623,7 @@ const n1 = (e) => {
584
623
  "stroke-linejoin": "round"
585
624
  }
586
625
  ]
587
- }, G1 = {
626
+ }, Y1 = {
588
627
  viewBox: "0 0 24 24",
589
628
  paths: [
590
629
  {
@@ -600,7 +639,7 @@ const n1 = (e) => {
600
639
  fill: "currentColor"
601
640
  }
602
641
  ]
603
- }, W1 = {
642
+ }, Q1 = {
604
643
  viewBox: "0 0 24 24",
605
644
  paths: [
606
645
  {
@@ -609,7 +648,7 @@ const n1 = (e) => {
609
648
  fill: "currentColor"
610
649
  }
611
650
  ]
612
- }, J1 = {
651
+ }, et = {
613
652
  viewBox: "0 0 24 24",
614
653
  paths: [
615
654
  {
@@ -618,7 +657,7 @@ const n1 = (e) => {
618
657
  fill: "currentColor"
619
658
  }
620
659
  ]
621
- }, Y1 = {
660
+ }, tt = {
622
661
  viewBox: "0 0 24 24",
623
662
  paths: [
624
663
  {
@@ -627,7 +666,7 @@ const n1 = (e) => {
627
666
  fill: "currentColor"
628
667
  }
629
668
  ]
630
- }, Q1 = {
669
+ }, at = {
631
670
  viewBox: "0 0 24 24",
632
671
  paths: [
633
672
  {
@@ -636,7 +675,7 @@ const n1 = (e) => {
636
675
  fill: "currentColor"
637
676
  }
638
677
  ]
639
- }, et = {
678
+ }, ot = {
640
679
  viewBox: "0 0 24 24",
641
680
  paths: [
642
681
  {
@@ -658,7 +697,7 @@ const n1 = (e) => {
658
697
  fill: "currentColor"
659
698
  }
660
699
  ]
661
- }, tt = {
700
+ }, nt = {
662
701
  viewBox: "0 0 24 24",
663
702
  paths: [
664
703
  {
@@ -671,7 +710,7 @@ const n1 = (e) => {
671
710
  "stroke-linejoin": "round"
672
711
  }
673
712
  ]
674
- }, at = {
713
+ }, lt = {
675
714
  viewBox: "0 0 24 24",
676
715
  paths: [
677
716
  {
@@ -680,7 +719,7 @@ const n1 = (e) => {
680
719
  fill: "currentColor"
681
720
  }
682
721
  ]
683
- }, ot = {
722
+ }, rt = {
684
723
  viewBox: "0 0 24 24",
685
724
  paths: [
686
725
  {
@@ -704,7 +743,7 @@ const n1 = (e) => {
704
743
  "stroke-width": 2
705
744
  }
706
745
  ]
707
- }, nt = {
746
+ }, st = {
708
747
  viewBox: "0 0 24 24",
709
748
  paths: [
710
749
  {
@@ -738,7 +777,7 @@ const n1 = (e) => {
738
777
  fill: "currentColor"
739
778
  }
740
779
  ]
741
- }, rt = {
780
+ }, it = {
742
781
  viewBox: "0 0 24 24",
743
782
  paths: [
744
783
  {
@@ -778,7 +817,7 @@ const n1 = (e) => {
778
817
  fill: "currentColor"
779
818
  }
780
819
  ]
781
- }, lt = {
820
+ }, ut = {
782
821
  viewBox: "0 0 24 24",
783
822
  paths: [
784
823
  {
@@ -791,7 +830,7 @@ const n1 = (e) => {
791
830
  "stroke-linejoin": "round"
792
831
  }
793
832
  ]
794
- }, st = {
833
+ }, ct = {
795
834
  viewBox: "0 0 24 24",
796
835
  paths: [
797
836
  {
@@ -800,7 +839,7 @@ const n1 = (e) => {
800
839
  fill: "currentColor"
801
840
  }
802
841
  ]
803
- }, it = {
842
+ }, dt = {
804
843
  viewBox: "0 0 24 24",
805
844
  paths: [
806
845
  {
@@ -826,7 +865,7 @@ const n1 = (e) => {
826
865
  "stroke-width": 2
827
866
  }
828
867
  ]
829
- }, ut = {
868
+ }, vt = {
830
869
  viewBox: "0 0 24 24",
831
870
  paths: [
832
871
  {
@@ -839,7 +878,7 @@ const n1 = (e) => {
839
878
  "stroke-linejoin": "round"
840
879
  }
841
880
  ]
842
- }, ct = {
881
+ }, ft = {
843
882
  viewBox: "0 0 24 24",
844
883
  paths: [
845
884
  {
@@ -861,7 +900,7 @@ const n1 = (e) => {
861
900
  fill: "currentColor"
862
901
  }
863
902
  ]
864
- }, dt = {
903
+ }, Ct = {
865
904
  viewBox: "0 0 24 24",
866
905
  paths: [
867
906
  {
@@ -871,7 +910,7 @@ const n1 = (e) => {
871
910
  "stroke-width": 2
872
911
  }
873
912
  ]
874
- }, vt = {
913
+ }, pt = {
875
914
  viewBox: "0 0 24 24",
876
915
  paths: [
877
916
  {
@@ -917,7 +956,7 @@ const n1 = (e) => {
917
956
  "stroke-width": 2
918
957
  }
919
958
  ]
920
- }, ft = {
959
+ }, mt = {
921
960
  viewBox: "0 0 24 24",
922
961
  paths: [
923
962
  {
@@ -927,7 +966,16 @@ const n1 = (e) => {
927
966
  "stroke-width": 2
928
967
  }
929
968
  ]
930
- }, Ct = {
969
+ }, ht = {
970
+ viewBox: "0 0 24 24",
971
+ paths: [
972
+ {
973
+ type: "path",
974
+ d: "M3 17.25V21h3.75L17.81 9.94l-3.75-3.75L3 17.25zM20.71 7.04c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.39-.39-1.02-.39-1.41 0l-1.83 1.83 3.75 3.75 1.83-1.83z",
975
+ fill: "currentColor"
976
+ }
977
+ ]
978
+ }, yt = {
931
979
  viewBox: "0 0 512 512",
932
980
  paths: [
933
981
  {
@@ -955,7 +1003,7 @@ const n1 = (e) => {
955
1003
  transform: "translate(189.5458984375,309.93798828125)"
956
1004
  }
957
1005
  ]
958
- }, pt = {
1006
+ }, bt = {
959
1007
  viewBox: "0 0 24 24",
960
1008
  paths: [
961
1009
  {
@@ -964,7 +1012,7 @@ const n1 = (e) => {
964
1012
  fill: "currentColor"
965
1013
  }
966
1014
  ]
967
- }, mt = {
1015
+ }, gt = {
968
1016
  viewBox: "0 0 24 24",
969
1017
  paths: [
970
1018
  {
@@ -1008,7 +1056,7 @@ const n1 = (e) => {
1008
1056
  "stroke-width": 2
1009
1057
  }
1010
1058
  ]
1011
- }, ht = {
1059
+ }, kt = {
1012
1060
  viewBox: "0 0 24 24",
1013
1061
  paths: [
1014
1062
  {
@@ -1019,7 +1067,7 @@ const n1 = (e) => {
1019
1067
  "stroke-width": 2
1020
1068
  }
1021
1069
  ]
1022
- }, yt = {
1070
+ }, wt = {
1023
1071
  viewBox: "0 0 24 24",
1024
1072
  paths: [
1025
1073
  {
@@ -1033,7 +1081,7 @@ const n1 = (e) => {
1033
1081
  fill: "currentColor"
1034
1082
  }
1035
1083
  ]
1036
- }, bt = {
1084
+ }, Mt = {
1037
1085
  viewBox: "0 0 24 24",
1038
1086
  paths: [
1039
1087
  {
@@ -1042,7 +1090,7 @@ const n1 = (e) => {
1042
1090
  fill: "currentColor"
1043
1091
  }
1044
1092
  ]
1045
- }, gt = {
1093
+ }, Lt = {
1046
1094
  viewBox: "0 0 24 24",
1047
1095
  paths: [
1048
1096
  {
@@ -1051,7 +1099,7 @@ const n1 = (e) => {
1051
1099
  fill: "currentColor"
1052
1100
  }
1053
1101
  ]
1054
- }, kt = {
1102
+ }, xt = {
1055
1103
  viewBox: "0 0 24 24",
1056
1104
  transform: "matrix(-1,0,0,1,0,0)",
1057
1105
  paths: [
@@ -1078,7 +1126,7 @@ const n1 = (e) => {
1078
1126
  "stroke-width": 2
1079
1127
  }
1080
1128
  ]
1081
- }, wt = {
1129
+ }, $t = {
1082
1130
  viewBox: "0 0 24 24",
1083
1131
  paths: [
1084
1132
  {
@@ -1090,7 +1138,7 @@ const n1 = (e) => {
1090
1138
  "stroke-linecap": "round"
1091
1139
  }
1092
1140
  ]
1093
- }, Mt = {
1141
+ }, Vt = {
1094
1142
  viewBox: "0 0 24 24",
1095
1143
  paths: [
1096
1144
  {
@@ -1099,7 +1147,7 @@ const n1 = (e) => {
1099
1147
  fill: "currentColor"
1100
1148
  }
1101
1149
  ]
1102
- }, Lt = {
1150
+ }, It = {
1103
1151
  viewBox: "0 0 24 24",
1104
1152
  paths: [
1105
1153
  {
@@ -1139,7 +1187,7 @@ const n1 = (e) => {
1139
1187
  fill: "currentColor"
1140
1188
  }
1141
1189
  ]
1142
- }, xt = {
1190
+ }, Ht = {
1143
1191
  viewBox: "0 0 24 24",
1144
1192
  paths: [
1145
1193
  {
@@ -1151,7 +1199,7 @@ const n1 = (e) => {
1151
1199
  "stroke-linejoin": "round"
1152
1200
  }
1153
1201
  ]
1154
- }, $t = {
1202
+ }, Bt = {
1155
1203
  viewBox: "0 0 24 24",
1156
1204
  paths: [
1157
1205
  {
@@ -1163,7 +1211,7 @@ const n1 = (e) => {
1163
1211
  "stroke-linecap": "round"
1164
1212
  }
1165
1213
  ]
1166
- }, Vt = {
1214
+ }, _t = {
1167
1215
  viewBox: "0 0 24 24",
1168
1216
  paths: [
1169
1217
  {
@@ -1173,7 +1221,7 @@ const n1 = (e) => {
1173
1221
  "stroke-width": 2
1174
1222
  }
1175
1223
  ]
1176
- }, It = {
1224
+ }, Rt = {
1177
1225
  viewBox: "0 0 24 24",
1178
1226
  paths: [
1179
1227
  {
@@ -1210,7 +1258,7 @@ const n1 = (e) => {
1210
1258
  "stroke-width": 2
1211
1259
  }
1212
1260
  ]
1213
- }, Ht = {
1261
+ }, Zt = {
1214
1262
  viewBox: "0 0 24 24",
1215
1263
  paths: [
1216
1264
  {
@@ -1223,7 +1271,7 @@ const n1 = (e) => {
1223
1271
  "stroke-linejoin": "round"
1224
1272
  }
1225
1273
  ]
1226
- }, Bt = {
1274
+ }, At = {
1227
1275
  viewBox: "0 0 24 24",
1228
1276
  paths: [
1229
1277
  {
@@ -1236,7 +1284,7 @@ const n1 = (e) => {
1236
1284
  "stroke-linejoin": "round"
1237
1285
  }
1238
1286
  ]
1239
- }, _t = {
1287
+ }, Tt = {
1240
1288
  viewBox: "0 0 24 24",
1241
1289
  paths: [
1242
1290
  {
@@ -1245,7 +1293,7 @@ const n1 = (e) => {
1245
1293
  fill: "currentColor"
1246
1294
  }
1247
1295
  ]
1248
- }, Rt = {
1296
+ }, St = {
1249
1297
  viewBox: "0 0 24 24",
1250
1298
  paths: [
1251
1299
  {
@@ -1266,7 +1314,7 @@ const n1 = (e) => {
1266
1314
  "stroke-linejoin": "round"
1267
1315
  }
1268
1316
  ]
1269
- }, Zt = {
1317
+ }, Et = {
1270
1318
  viewBox: "0 0 24 24",
1271
1319
  paths: [
1272
1320
  {
@@ -1282,7 +1330,7 @@ const n1 = (e) => {
1282
1330
  "stroke-width": 2
1283
1331
  }
1284
1332
  ]
1285
- }, At = {
1333
+ }, Dt = {
1286
1334
  viewBox: "0 0 24 24",
1287
1335
  paths: [
1288
1336
  {
@@ -1311,7 +1359,7 @@ const n1 = (e) => {
1311
1359
  "stroke-width": 2
1312
1360
  }
1313
1361
  ]
1314
- }, St = {
1362
+ }, zt = {
1315
1363
  viewBox: "0 0 24 24",
1316
1364
  paths: [
1317
1365
  {
@@ -1353,7 +1401,7 @@ const n1 = (e) => {
1353
1401
  "stroke-width": 2
1354
1402
  }
1355
1403
  ]
1356
- }, Tt = {
1404
+ }, Ot = {
1357
1405
  viewBox: "0 0 24 24",
1358
1406
  paths: [
1359
1407
  {
@@ -1363,7 +1411,7 @@ const n1 = (e) => {
1363
1411
  "stroke-width": 2
1364
1412
  }
1365
1413
  ]
1366
- }, Et = {
1414
+ }, qt = {
1367
1415
  viewBox: "0 0 24 24",
1368
1416
  paths: [
1369
1417
  {
@@ -1373,7 +1421,7 @@ const n1 = (e) => {
1373
1421
  "stroke-width": 2
1374
1422
  }
1375
1423
  ]
1376
- }, Dt = {
1424
+ }, Nt = {
1377
1425
  viewBox: "0 0 24 24",
1378
1426
  paths: [
1379
1427
  {
@@ -1396,7 +1444,7 @@ const n1 = (e) => {
1396
1444
  fill: "currentColor"
1397
1445
  }
1398
1446
  ]
1399
- }, zt = {
1447
+ }, Ft = {
1400
1448
  viewBox: "0 0 24 24",
1401
1449
  paths: [
1402
1450
  {
@@ -1413,7 +1461,7 @@ const n1 = (e) => {
1413
1461
  "stroke-width": 2
1414
1462
  }
1415
1463
  ]
1416
- }, Ot = {
1464
+ }, Kt = {
1417
1465
  viewBox: "0 0 24 24",
1418
1466
  paths: [
1419
1467
  {
@@ -1426,7 +1474,7 @@ const n1 = (e) => {
1426
1474
  "stroke-linejoin": "round"
1427
1475
  }
1428
1476
  ]
1429
- }, qt = {
1477
+ }, Pt = {
1430
1478
  viewBox: "0 0 24 24",
1431
1479
  paths: [
1432
1480
  {
@@ -1435,7 +1483,7 @@ const n1 = (e) => {
1435
1483
  fill: "currentColor"
1436
1484
  }
1437
1485
  ]
1438
- }, Nt = {
1486
+ }, Ut = {
1439
1487
  viewBox: "0 0 24 24",
1440
1488
  paths: [
1441
1489
  {
@@ -1444,7 +1492,7 @@ const n1 = (e) => {
1444
1492
  fill: "currentColor"
1445
1493
  }
1446
1494
  ]
1447
- }, Ft = {
1495
+ }, jt = {
1448
1496
  viewBox: "0 0 24 24",
1449
1497
  paths: [
1450
1498
  {
@@ -1474,7 +1522,7 @@ const n1 = (e) => {
1474
1522
  "stroke-width": 2
1475
1523
  }
1476
1524
  ]
1477
- }, Kt = {
1525
+ }, Xt = {
1478
1526
  viewBox: "0 0 24 24",
1479
1527
  paths: [
1480
1528
  {
@@ -1525,7 +1573,7 @@ const n1 = (e) => {
1525
1573
  "stroke-width": 2
1526
1574
  }
1527
1575
  ]
1528
- }, Pt = {
1576
+ }, Gt = {
1529
1577
  viewBox: "0 0 24 24",
1530
1578
  paths: [
1531
1579
  {
@@ -1565,7 +1613,7 @@ const n1 = (e) => {
1565
1613
  "stroke-width": 2
1566
1614
  }
1567
1615
  ]
1568
- }, Ut = {
1616
+ }, Wt = {
1569
1617
  viewBox: "0 0 24 24",
1570
1618
  paths: [
1571
1619
  {
@@ -1576,7 +1624,7 @@ const n1 = (e) => {
1576
1624
  "stroke-width": 2
1577
1625
  }
1578
1626
  ]
1579
- }, jt = {
1627
+ }, Jt = {
1580
1628
  viewBox: "0 0 24 24",
1581
1629
  paths: [
1582
1630
  {
@@ -1585,7 +1633,16 @@ const n1 = (e) => {
1585
1633
  fill: "currentColor"
1586
1634
  }
1587
1635
  ]
1588
- }, Xt = {
1636
+ }, Yt = {
1637
+ viewBox: "0 0 24 24",
1638
+ paths: [
1639
+ {
1640
+ type: "path",
1641
+ d: "M17 1H7c-1.1 0-2 .9-2 2v18c0 1.1.9 2 2 2h10c1.1 0 2-.9 2-2V3c0-1.1-.9-2-2-2zm0 18H7V5h10v14z",
1642
+ fill: "currentColor"
1643
+ }
1644
+ ]
1645
+ }, Qt = {
1589
1646
  viewBox: "0 0 24 24",
1590
1647
  paths: [
1591
1648
  {
@@ -1603,7 +1660,7 @@ const n1 = (e) => {
1603
1660
  "stroke-width": 2
1604
1661
  }
1605
1662
  ]
1606
- }, Gt = {
1663
+ }, e2 = {
1607
1664
  viewBox: "0 0 24 24",
1608
1665
  paths: [
1609
1666
  {
@@ -1612,7 +1669,7 @@ const n1 = (e) => {
1612
1669
  fill: "currentColor"
1613
1670
  }
1614
1671
  ]
1615
- }, Wt = {
1672
+ }, t2 = {
1616
1673
  viewBox: "0 0 24 24",
1617
1674
  paths: [
1618
1675
  {
@@ -1640,7 +1697,7 @@ const n1 = (e) => {
1640
1697
  "stroke-width": 2
1641
1698
  }
1642
1699
  ]
1643
- }, Jt = {
1700
+ }, a2 = {
1644
1701
  viewBox: "0 0 24 24",
1645
1702
  paths: [
1646
1703
  {
@@ -1660,7 +1717,7 @@ const n1 = (e) => {
1660
1717
  "stroke-linejoin": "round"
1661
1718
  }
1662
1719
  ]
1663
- }, Yt = {
1720
+ }, o2 = {
1664
1721
  viewBox: "0 0 24 24",
1665
1722
  paths: [
1666
1723
  {
@@ -1680,7 +1737,7 @@ const n1 = (e) => {
1680
1737
  "stroke-linejoin": "round"
1681
1738
  }
1682
1739
  ]
1683
- }, Qt = {
1740
+ }, n2 = {
1684
1741
  viewBox: "0 0 24 24",
1685
1742
  paths: [
1686
1743
  {
@@ -1698,7 +1755,7 @@ const n1 = (e) => {
1698
1755
  "stroke-width": 2
1699
1756
  }
1700
1757
  ]
1701
- }, e2 = {
1758
+ }, l2 = {
1702
1759
  viewBox: "0 0 24 24",
1703
1760
  paths: [
1704
1761
  {
@@ -1726,7 +1783,7 @@ const n1 = (e) => {
1726
1783
  "stroke-width": 2
1727
1784
  }
1728
1785
  ]
1729
- }, t2 = {
1786
+ }, r2 = {
1730
1787
  viewBox: "0 0 24 24",
1731
1788
  paths: [
1732
1789
  {
@@ -1739,7 +1796,7 @@ const n1 = (e) => {
1739
1796
  "stroke-linejoin": "round"
1740
1797
  }
1741
1798
  ]
1742
- }, a2 = {
1799
+ }, s2 = {
1743
1800
  viewBox: "0 0 24 24",
1744
1801
  paths: [
1745
1802
  {
@@ -1750,7 +1807,7 @@ const n1 = (e) => {
1750
1807
  clipRule: "evenodd"
1751
1808
  }
1752
1809
  ]
1753
- }, o2 = {
1810
+ }, i2 = {
1754
1811
  viewBox: "0 0 24 24",
1755
1812
  paths: [
1756
1813
  {
@@ -1763,83 +1820,85 @@ const n1 = (e) => {
1763
1820
  "stroke-linejoin": "round"
1764
1821
  }
1765
1822
  ]
1766
- }, Se = {
1767
- x: E1,
1768
- eye: D1,
1769
- sun: z1,
1770
- box: O1,
1771
- art: q1,
1772
- plus: N1,
1773
- bars: F1,
1774
- bell: K1,
1775
- lock: P1,
1776
- star: U1,
1777
- home: X1,
1778
- edit: j1,
1779
- disk: Q1,
1780
- user: et,
1781
- info: G1,
1782
- sort: Y1,
1783
- tick: tt,
1784
- link: W1,
1785
- head: J1,
1786
- bold: at,
1787
- card: ot,
1788
- heart: ft,
1789
- oList: nt,
1790
- uList: rt,
1791
- close: lt,
1792
- clock: st,
1793
- login: it,
1794
- image: ct,
1795
- phone: dt,
1796
- trash: ut,
1797
- share: vt,
1798
- spotfy: Ct,
1799
- church: pt,
1800
- health: xt,
1801
- blocks: mt,
1802
- shield: ht,
1803
- upload: yt,
1804
- italic: gt,
1805
- logout: kt,
1806
- ticket: Mt,
1807
- search: wt,
1808
- eyeOff: $t,
1809
- cookie: Lt,
1810
- camera: bt,
1811
- fashion: Vt,
1812
- addUser: It,
1813
- loading: Bt,
1814
- sortAsc: Ht,
1815
- profile: _t,
1816
- youtube: Zt,
1817
- warning: Rt,
1818
- calendar: St,
1819
- whatsapp: Tt,
1820
- linkedin: At,
1821
- facebook: Et,
1822
- question: Dt,
1823
- envelope: zt,
1824
- sortDesc: Ot,
1825
- location: qt,
1826
- keyShield: Nt,
1827
- clipboard: Kt,
1828
- corporate: Pt,
1829
- instagram: Ft,
1830
- arrowLeft: Ut,
1831
- starSolid: jt,
1832
- basketball: Xt,
1833
- gastronomy: Wt,
1834
- closeSolid: Gt,
1835
- closeCircle: Jt,
1836
- checkCircle: Yt,
1837
- checkShield: Qt,
1838
- musicalNote: e2,
1839
- shoppingBag: t2,
1840
- directionDown: a2,
1841
- shoppingBasket: o2
1842
- }, n2 = ["viewBox", "transform", "width", "height"], r2 = /* @__PURE__ */ _({
1823
+ }, Te = {
1824
+ x: O1,
1825
+ eye: q1,
1826
+ sun: N1,
1827
+ box: F1,
1828
+ art: K1,
1829
+ plus: P1,
1830
+ bars: U1,
1831
+ bell: j1,
1832
+ lock: X1,
1833
+ star: G1,
1834
+ home: J1,
1835
+ edit: W1,
1836
+ disk: at,
1837
+ user: ot,
1838
+ info: Y1,
1839
+ sort: tt,
1840
+ tick: nt,
1841
+ link: Q1,
1842
+ head: et,
1843
+ bold: lt,
1844
+ card: rt,
1845
+ heart: mt,
1846
+ oList: st,
1847
+ uList: it,
1848
+ close: ut,
1849
+ clock: ct,
1850
+ login: dt,
1851
+ image: ft,
1852
+ phone: Ct,
1853
+ trash: vt,
1854
+ share: pt,
1855
+ spotfy: yt,
1856
+ church: bt,
1857
+ health: Ht,
1858
+ blocks: gt,
1859
+ shield: kt,
1860
+ upload: wt,
1861
+ italic: Lt,
1862
+ logout: xt,
1863
+ ticket: Vt,
1864
+ search: $t,
1865
+ eyeOff: Bt,
1866
+ cookie: It,
1867
+ camera: Mt,
1868
+ pencil: ht,
1869
+ fashion: _t,
1870
+ addUser: Rt,
1871
+ loading: At,
1872
+ sortAsc: Zt,
1873
+ profile: Tt,
1874
+ youtube: Et,
1875
+ warning: St,
1876
+ calendar: zt,
1877
+ whatsapp: Ot,
1878
+ linkedin: Dt,
1879
+ facebook: qt,
1880
+ question: Nt,
1881
+ envelope: Ft,
1882
+ sortDesc: Kt,
1883
+ location: Pt,
1884
+ keyShield: Ut,
1885
+ clipboard: Xt,
1886
+ corporate: Gt,
1887
+ instagram: jt,
1888
+ arrowLeft: Wt,
1889
+ starSolid: Jt,
1890
+ basketball: Qt,
1891
+ smartPhone: Yt,
1892
+ gastronomy: t2,
1893
+ closeSolid: e2,
1894
+ closeCircle: a2,
1895
+ checkCircle: o2,
1896
+ checkShield: n2,
1897
+ musicalNote: l2,
1898
+ shoppingBag: r2,
1899
+ directionDown: s2,
1900
+ shoppingBasket: i2
1901
+ }, u2 = ["viewBox", "transform", "width", "height"], c2 = /* @__PURE__ */ _({
1843
1902
  __name: "Icon",
1844
1903
  props: {
1845
1904
  name: {},
@@ -1849,43 +1908,43 @@ const n1 = (e) => {
1849
1908
  setup(e) {
1850
1909
  return (o, t) => (v(), f("svg", {
1851
1910
  xmlns: "http://www.w3.org/2000/svg",
1852
- class: re(["icon", { spin: e.spin }]),
1853
- viewBox: R(Se)[e.name].viewBox,
1854
- transform: R(Se)[e.name].transform || void 0,
1911
+ class: le(["icon", { spin: e.spin }]),
1912
+ viewBox: R(Te)[e.name].viewBox,
1913
+ transform: R(Te)[e.name].transform || void 0,
1855
1914
  width: e.size || 24,
1856
1915
  height: e.size || 24,
1857
1916
  fill: "none",
1858
1917
  "aria-hidden": "true"
1859
1918
  }, [
1860
- (v(!0), f(ae, null, ce(R(Se)[e.name].paths, (a, s) => (v(), f(ae, { key: s }, [
1861
- a.type === "path" ? (v(), f("path", Ce({
1919
+ (v(!0), f(ne, null, de(R(Te)[e.name].paths, (a, s) => (v(), f(ne, { key: s }, [
1920
+ a.type === "path" ? (v(), f("path", pe({
1862
1921
  key: 0,
1863
1922
  ref_for: !0
1864
1923
  }, a), null, 16)) : N("", !0),
1865
- a.type === "circle" ? (v(), f("circle", Ce({
1924
+ a.type === "circle" ? (v(), f("circle", pe({
1866
1925
  key: 1,
1867
1926
  ref_for: !0
1868
1927
  }, a), null, 16)) : N("", !0),
1869
- a.type === "line" ? (v(), f("line", Ce({
1928
+ a.type === "line" ? (v(), f("line", pe({
1870
1929
  key: 2,
1871
1930
  ref_for: !0
1872
1931
  }, a), null, 16)) : N("", !0),
1873
- a.type === "polyline" ? (v(), f("polyline", Ce({
1932
+ a.type === "polyline" ? (v(), f("polyline", pe({
1874
1933
  key: 3,
1875
1934
  ref_for: !0
1876
1935
  }, a), null, 16)) : N("", !0),
1877
- a.type === "rect" ? (v(), f("rect", Ce({
1936
+ a.type === "rect" ? (v(), f("rect", pe({
1878
1937
  key: 4,
1879
1938
  ref_for: !0
1880
1939
  }, a), null, 16)) : N("", !0),
1881
- a.type === "polygon" ? (v(), f("polygon", Ce({
1940
+ a.type === "polygon" ? (v(), f("polygon", pe({
1882
1941
  key: 5,
1883
1942
  ref_for: !0
1884
1943
  }, a), null, 16)) : N("", !0)
1885
1944
  ], 64))), 128))
1886
- ], 10, n2));
1945
+ ], 10, u2));
1887
1946
  }
1888
- }), ue = /* @__PURE__ */ j(r2, [["__scopeId", "data-v-dd8423eb"]]), l2 = ["aria-controls"], s2 = ["aria-pressed", "onMousedown", "aria-label"], i2 = { key: 1 }, u2 = /* @__PURE__ */ _({
1947
+ }), ue = /* @__PURE__ */ U(c2, [["__scopeId", "data-v-dd8423eb"]]), d2 = ["aria-controls"], v2 = ["aria-pressed", "onMousedown", "aria-label"], f2 = { key: 1 }, C2 = /* @__PURE__ */ _({
1889
1948
  __name: "FloatingToolbar",
1890
1949
  props: {
1891
1950
  editor: {},
@@ -1893,15 +1952,15 @@ const n1 = (e) => {
1893
1952
  buttons: {}
1894
1953
  },
1895
1954
  setup(e, { expose: o }) {
1896
- const t = e, a = C(0), s = C(0), l = C(!1), i = C([]);
1955
+ const t = e, a = C(0), s = C(0), r = C(!1), i = C([]);
1897
1956
  Y(
1898
- l,
1957
+ r,
1899
1958
  (u) => !u && (i.value = [])
1900
1959
  );
1901
1960
  const n = $(() => ({
1902
1961
  top: `${s.value}px`,
1903
1962
  left: `${a.value}px`
1904
- })), r = (u, y) => u && (i.value[y] = u), d = $(() => [
1963
+ })), l = (u, y) => u && (i.value[y] = u), d = $(() => [
1905
1964
  {
1906
1965
  key: "strong",
1907
1966
  label: "bold",
@@ -1974,20 +2033,20 @@ const n1 = (e) => {
1974
2033
  }, M = () => {
1975
2034
  const u = window.getSelection();
1976
2035
  if (!u || u.rangeCount === 0) {
1977
- l.value = !1;
2036
+ r.value = !1;
1978
2037
  return;
1979
2038
  }
1980
2039
  const y = t.editor?.rootElement;
1981
2040
  if (!y) return;
1982
2041
  const V = u.getRangeAt(0);
1983
2042
  if (!y.contains(V.commonAncestorContainer) || u.isCollapsed) {
1984
- l.value = !1;
2043
+ r.value = !1;
1985
2044
  return;
1986
2045
  }
1987
2046
  const B = V.getBoundingClientRect();
1988
- a.value = B.left + B.width / 2, s.value = B.top - 45, l.value = !0;
2047
+ a.value = B.left + B.width / 2, s.value = B.top - 45, r.value = !0;
1989
2048
  };
1990
- return te(() => {
2049
+ return ae(() => {
1991
2050
  document.addEventListener("selectionchange", M), window.addEventListener("scroll", M, !0), window.addEventListener("resize", M);
1992
2051
  }), ge(() => {
1993
2052
  document.removeEventListener("selectionchange", M), window.removeEventListener("scroll", M, !0), window.removeEventListener("resize", M);
@@ -1995,7 +2054,7 @@ const n1 = (e) => {
1995
2054
  focusFirstButton: h
1996
2055
  }), (u, y) => (v(), W($e, { name: "tooltip-fade" }, {
1997
2056
  default: G(() => [
1998
- l.value ? (v(), f("div", {
2057
+ r.value ? (v(), f("div", {
1999
2058
  key: 0,
2000
2059
  class: "toolbar",
2001
2060
  role: "toolbar",
@@ -2005,31 +2064,31 @@ const n1 = (e) => {
2005
2064
  tabindex: "-1",
2006
2065
  onKeydown: L
2007
2066
  }, [
2008
- y[0] || (y[0] = g("div", { class: "arrow" }, null, -1)),
2009
- (v(!0), f(ae, null, ce(c.value, (V, B) => (v(), f("button", {
2067
+ y[0] || (y[0] = b("div", { class: "arrow" }, null, -1)),
2068
+ (v(!0), f(ne, null, de(c.value, (V, B) => (v(), f("button", {
2010
2069
  key: V.key ?? B,
2011
2070
  type: "button",
2012
2071
  ref_for: !0,
2013
- ref: (k) => r(k, B),
2014
- class: re({ "is-active": V.isActive?.(t.editor) }),
2072
+ ref: (k) => l(k, B),
2073
+ class: le({ "is-active": V.isActive?.(t.editor) }),
2015
2074
  "aria-pressed": V.isActive?.(t.editor),
2016
- onMousedown: ne((k) => V.action(t.editor), ["prevent"]),
2075
+ onMousedown: oe((k) => V.action(t.editor), ["prevent"]),
2017
2076
  "aria-label": V.ariaLabel
2018
2077
  }, [
2019
2078
  V.type === "icon" ? (v(), W(ue, {
2020
2079
  key: 0,
2021
2080
  name: V.label,
2022
2081
  size: V.size ?? 14
2023
- }, null, 8, ["name", "size"])) : (v(), f("span", i2, K(V.label), 1))
2024
- ], 42, s2))), 128))
2025
- ], 44, l2)) : N("", !0)
2082
+ }, null, 8, ["name", "size"])) : (v(), f("span", f2, K(V.label), 1))
2083
+ ], 42, v2))), 128))
2084
+ ], 44, d2)) : N("", !0)
2026
2085
  ]),
2027
2086
  _: 1
2028
2087
  }));
2029
2088
  }
2030
- }), c2 = /* @__PURE__ */ j(u2, [["__scopeId", "data-v-3f279ebe"]]), d2 = { class: "editor" }, We = /* @__PURE__ */ _({
2089
+ }), p2 = /* @__PURE__ */ U(C2, [["__scopeId", "data-v-3f279ebe"]]), m2 = { class: "editor" }, Je = /* @__PURE__ */ _({
2031
2090
  __name: "Editor",
2032
- props: /* @__PURE__ */ oe({
2091
+ props: /* @__PURE__ */ te({
2033
2092
  ariaLabel: {},
2034
2093
  buttons: {}
2035
2094
  }, {
@@ -2040,65 +2099,65 @@ const n1 = (e) => {
2040
2099
  }),
2041
2100
  emits: ["update:modelValue"],
2042
2101
  setup(e) {
2043
- const o = pe(e, "modelValue"), t = e, a = ie(), s = C(), l = C(null), i = C(null);
2102
+ const o = Ce(e, "modelValue"), t = e, a = ie(), s = C(), r = C(null), i = C(null);
2044
2103
  return Y(
2045
2104
  () => o.value,
2046
2105
  (n) => {
2047
- const r = i.value?.getRoot()?.value;
2048
- r && r.innerHTML !== n && (r.innerHTML = n, l.value?.normalize());
2106
+ const l = i.value?.getRoot()?.value;
2107
+ l && l.innerHTML !== n && (l.innerHTML = n, r.value?.normalize());
2049
2108
  }
2050
- ), te(() => {
2051
- const r = i.value?.getRoot()?.value;
2052
- if (!r) return;
2053
- l.value = R1(r, { buttons: t.buttons ?? [] }), l.value && (l.value.toolbarRef = s);
2054
- const d = () => o.value = r.innerHTML;
2055
- r.addEventListener("input", d), ge(() => r.removeEventListener("input", d));
2056
- }), be("announce", (n) => l.value?.announce(n)), (n, r) => (v(), f("section", d2, [
2057
- P(T1, {
2109
+ ), ae(() => {
2110
+ const l = i.value?.getRoot()?.value;
2111
+ if (!l) return;
2112
+ r.value = T1(l, { buttons: t.buttons ?? [] }), r.value && (r.value.toolbarRef = s);
2113
+ const d = () => o.value = l.innerHTML;
2114
+ l.addEventListener("input", d), ge(() => l.removeEventListener("input", d));
2115
+ }), be("announce", (n) => r.value?.announce(n)), (n, l) => (v(), f("section", m2, [
2116
+ P(z1, {
2058
2117
  ref_key: "contentRef",
2059
2118
  ref: i,
2060
- editor: l.value,
2119
+ editor: r.value,
2061
2120
  "editor-id": R(a),
2062
2121
  "aria-label": e.ariaLabel
2063
2122
  }, null, 8, ["editor", "editor-id", "aria-label"]),
2064
- P(c2, {
2123
+ P(p2, {
2065
2124
  ref_key: "toolbarRef",
2066
2125
  ref: s,
2067
- editor: l.value,
2126
+ editor: r.value,
2068
2127
  "editor-id": R(a)
2069
2128
  }, null, 8, ["editor", "editor-id"])
2070
2129
  ]));
2071
2130
  }
2072
2131
  });
2073
- We.install = (e) => {
2074
- e.component("Editor", We);
2132
+ Je.install = (e) => {
2133
+ e.component("Editor", Je);
2075
2134
  };
2076
- const v2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-disabled", "data-disabled", "data-dragging"], f2 = ["multiple", "accept", "disabled"], C2 = {
2135
+ const h2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-disabled", "data-disabled", "data-dragging"], y2 = ["multiple", "accept", "disabled"], b2 = {
2077
2136
  key: 1,
2078
2137
  class: "ui-upload__list"
2079
- }, p2 = { class: "ui-upload__item--default" }, m2 = { class: "ui-upload__file-name" }, h2 = { class: "ui-upload__file-size" }, y2 = {
2138
+ }, g2 = { class: "ui-upload__item--default" }, k2 = { class: "ui-upload__file-name" }, w2 = { class: "ui-upload__file-size" }, M2 = {
2080
2139
  key: 0,
2081
2140
  class: "ui-upload__progress-wrapper"
2082
- }, b2 = { class: "ui-upload__progress-text" }, g2 = ["value", "aria-label"], k2 = {
2141
+ }, L2 = { class: "ui-upload__progress-text" }, x2 = ["value", "aria-label"], $2 = {
2083
2142
  key: 1,
2084
2143
  class: "ui-upload__status success",
2085
2144
  style: { color: "var(--green-color)" },
2086
2145
  role: "status"
2087
- }, w2 = {
2146
+ }, V2 = {
2088
2147
  key: 2,
2089
2148
  class: "ui-upload__status error",
2090
2149
  style: { color: "var(--red-color)" },
2091
2150
  role: "alert"
2092
- }, M2 = {
2151
+ }, I2 = {
2093
2152
  key: 3,
2094
2153
  class: "ui-upload__status canceled",
2095
2154
  role: "status"
2096
- }, L2 = { class: "ui-upload__actions" }, x2 = {
2155
+ }, H2 = { class: "ui-upload__actions" }, B2 = {
2097
2156
  class: "sr-only",
2098
2157
  "aria-live": "polite"
2099
- }, $2 = ["id"], V2 = /* @__PURE__ */ _({
2158
+ }, _2 = ["id"], R2 = /* @__PURE__ */ _({
2100
2159
  __name: "Upload",
2101
- props: /* @__PURE__ */ oe({
2160
+ props: /* @__PURE__ */ te({
2102
2161
  multiple: { type: Boolean, default: !1 },
2103
2162
  accept: { default: "*/*" },
2104
2163
  maxSize: { default: 1 / 0 },
@@ -2112,48 +2171,48 @@ const v2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2112
2171
  },
2113
2172
  modelModifiers: {}
2114
2173
  }),
2115
- emits: /* @__PURE__ */ oe(["select", "upload", "remove"], ["update:modelValue"]),
2174
+ emits: /* @__PURE__ */ te(["select", "upload", "remove"], ["update:modelValue"]),
2116
2175
  setup(e, { emit: o }) {
2117
- const t = pe(e, "modelValue"), a = e, s = o, l = C(0), i = C(""), n = C(!1), r = ie(), d = C(), c = $(() => t.value), h = $(() => a.maxSize === 1 / 0 ? "Unlimited" : O(a.maxSize)), L = $(() => !a.disabled && (a.multiple || t.value.length === 0)), M = $(() => c.value.some((m) => m.status === "uploading")), u = () => L.value && d.value?.click(), y = () => {
2118
- a.disabled || (l.value++, n.value = !0);
2176
+ const t = Ce(e, "modelValue"), a = e, s = o, r = C(0), i = C(""), n = C(!1), l = ie(), d = C(), c = $(() => t.value), h = $(() => a.maxSize === 1 / 0 ? "Unlimited" : O(a.maxSize)), L = $(() => !a.disabled && (a.multiple || t.value.length === 0)), M = $(() => c.value.some((m) => m.status === "uploading")), u = () => L.value && d.value?.click(), y = () => {
2177
+ a.disabled || (r.value++, n.value = !0);
2119
2178
  }, V = () => {
2120
- l.value = Math.max(0, l.value - 1), l.value === 0 && (n.value = !1);
2179
+ r.value = Math.max(0, r.value - 1), r.value === 0 && (n.value = !1);
2121
2180
  }, B = (m) => {
2122
- if (!a.disabled && !(!a.multiple && t.value.length > 0) && (l.value = 0, n.value = !1, !!m.dataTransfer)) {
2181
+ if (!a.disabled && !(!a.multiple && t.value.length > 0) && (r.value = 0, n.value = !1, !!m.dataTransfer)) {
2123
2182
  if (!a.multiple && m.dataTransfer?.files.length) {
2124
- const b = m.dataTransfer.files[0];
2125
- D([b]);
2183
+ const g = m.dataTransfer.files[0];
2184
+ D([g]);
2126
2185
  return;
2127
2186
  }
2128
2187
  D(Array.from(m.dataTransfer.files));
2129
2188
  }
2130
2189
  }, k = (m) => {
2131
- const b = m.target;
2132
- b.files && (D(Array.from(b.files)), b.value = "");
2190
+ const g = m.target;
2191
+ g.files && (D(Array.from(g.files)), g.value = "");
2133
2192
  }, D = (m) => {
2134
- const b = [];
2193
+ const g = [];
2135
2194
  for (const w of m) {
2136
- if (c.value.length + b.length >= a.maxFiles) break;
2137
- w.size > a.maxSize || b.push({
2195
+ if (c.value.length + g.length >= a.maxFiles) break;
2196
+ w.size > a.maxSize || g.push({
2138
2197
  id: crypto.randomUUID(),
2139
2198
  file: w,
2140
2199
  progress: 0,
2141
2200
  status: "idle"
2142
2201
  });
2143
2202
  }
2144
- if (!b.length) return;
2145
- s("select", b.map((w) => w.file));
2146
- const T = [...c.value, ...b];
2147
- t.value = T, a.autoUpload && b.forEach(E);
2203
+ if (!g.length) return;
2204
+ s("select", g.map((w) => w.file));
2205
+ const S = [...c.value, ...g];
2206
+ t.value = S, a.autoUpload && g.forEach(E);
2148
2207
  }, E = (m) => {
2149
- const b = new AbortController();
2150
- m.progress = 0, m.error = void 0, m.status = "uploading", m.controller = b, Z(`Started uploading ${m.file.name}`);
2151
- const T = () => {
2152
- b.signal.removeEventListener("abort", T);
2208
+ const g = new AbortController();
2209
+ m.progress = 0, m.error = void 0, m.status = "uploading", m.controller = g, Z(`Started uploading ${m.file.name}`);
2210
+ const S = () => {
2211
+ g.signal.removeEventListener("abort", S);
2153
2212
  };
2154
- b.signal.addEventListener("abort", T);
2213
+ g.signal.addEventListener("abort", S);
2155
2214
  const w = {
2156
- signal: b.signal,
2215
+ signal: g.signal,
2157
2216
  onProgress: (A) => {
2158
2217
  m.progress = A, I();
2159
2218
  },
@@ -2170,38 +2229,38 @@ const v2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2170
2229
  }, x = (m) => {
2171
2230
  m.status !== "error" && m.status !== "canceled" || E(m);
2172
2231
  }, I = () => t.value = [...c.value], O = (m) => {
2173
- const b = ["B", "KB", "MB", "GB", "TB"];
2174
- let T = 0;
2175
- for (; m >= 1024 && T < b.length - 1; )
2176
- m /= 1024, T++;
2177
- return `${m.toFixed(2)} ${b[T]}`;
2232
+ const g = ["B", "KB", "MB", "GB", "TB"];
2233
+ let S = 0;
2234
+ for (; m >= 1024 && S < g.length - 1; )
2235
+ m /= 1024, S++;
2236
+ return `${m.toFixed(2)} ${g[S]}`;
2178
2237
  }, Z = (m) => {
2179
2238
  i.value = "", requestAnimationFrame(() => {
2180
2239
  i.value = m;
2181
2240
  });
2182
2241
  }, q = (m) => {
2183
- m.controller && m.controller.abort(), s("remove", m), t.value = c.value.filter((b) => b.id !== m.id);
2242
+ m.controller && m.controller.abort(), s("remove", m), t.value = c.value.filter((g) => g.id !== m.id);
2184
2243
  };
2185
- return (m, b) => (v(), f("div", {
2244
+ return (m, g) => (v(), f("div", {
2186
2245
  role: "button",
2187
2246
  class: "ui-upload",
2188
2247
  tabindex: e.disabled ? -1 : 0,
2189
2248
  "aria-label": e.ariaLabel || "File upload area",
2190
- "aria-describedby": n.value ? R(r) : void 0,
2249
+ "aria-describedby": n.value ? R(l) : void 0,
2191
2250
  "aria-busy": M.value ? "true" : void 0,
2192
2251
  "aria-disabled": e.disabled ? "true" : void 0,
2193
2252
  "data-disabled": e.disabled || void 0,
2194
2253
  "data-dragging": n.value || void 0,
2195
- onClick: b[0] || (b[0] = (T) => !e.disabled && u()),
2254
+ onClick: g[0] || (g[0] = (S) => !e.disabled && u()),
2196
2255
  onKeydown: [
2197
- b[1] || (b[1] = fe(ne((T) => !e.disabled && u(), ["stop", "prevent"]), ["enter"])),
2198
- b[2] || (b[2] = fe(ne((T) => !e.disabled && u(), ["prevent"]), ["space"]))
2256
+ g[1] || (g[1] = ce(oe((S) => !e.disabled && u(), ["stop", "prevent"]), ["enter"])),
2257
+ g[2] || (g[2] = ce(oe((S) => !e.disabled && u(), ["prevent"]), ["space"]))
2199
2258
  ],
2200
- onDragover: b[3] || (b[3] = ne((T) => !e.disabled && y(), ["prevent"])),
2259
+ onDragover: g[3] || (g[3] = oe((S) => !e.disabled && y(), ["prevent"])),
2201
2260
  onDragleave: V,
2202
- onDrop: b[4] || (b[4] = ne((T) => !e.disabled && B(T), ["prevent"]))
2261
+ onDrop: g[4] || (g[4] = oe((S) => !e.disabled && B(S), ["prevent"]))
2203
2262
  }, [
2204
- g("input", {
2263
+ b("input", {
2205
2264
  type: "file",
2206
2265
  ref_key: "inputRef",
2207
2266
  ref: d,
@@ -2210,8 +2269,8 @@ const v2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2210
2269
  accept: e.accept,
2211
2270
  disabled: e.disabled,
2212
2271
  onChange: k
2213
- }, null, 40, f2),
2214
- e.multiple || !e.multiple && t.value.length === 0 ? U(m.$slots, "default", {
2272
+ }, null, 40, y2),
2273
+ e.multiple || !e.multiple && t.value.length === 0 ? j(m.$slots, "default", {
2215
2274
  key: 0,
2216
2275
  dragging: n.value
2217
2276
  }, () => [
@@ -2219,77 +2278,77 @@ const v2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2219
2278
  name: "upload",
2220
2279
  size: 32
2221
2280
  }),
2222
- b[6] || (b[6] = g("p", null, "Drag and Drop files here", -1)),
2223
- b[7] || (b[7] = g("span", null, "or", -1)),
2281
+ g[6] || (g[6] = b("p", null, "Drag and Drop files here", -1)),
2282
+ g[7] || (g[7] = b("span", null, "or", -1)),
2224
2283
  P(he, {
2225
2284
  type: "button",
2226
2285
  class: "btn btn-outline"
2227
2286
  }, {
2228
- default: G(() => [...b[5] || (b[5] = [
2287
+ default: G(() => [...g[5] || (g[5] = [
2229
2288
  me("Choose File", -1)
2230
2289
  ])]),
2231
2290
  _: 1
2232
2291
  }),
2233
- g("span", null, "Maximum size: " + K(h.value), 1)
2292
+ b("span", null, "Maximum size: " + K(h.value), 1)
2234
2293
  ], !0) : N("", !0),
2235
- c.value?.length ? (v(), f("ul", C2, [
2236
- (v(!0), f(ae, null, ce(c.value, (T) => (v(), f("li", {
2237
- key: T.id,
2294
+ c.value?.length ? (v(), f("ul", b2, [
2295
+ (v(!0), f(ne, null, de(c.value, (S) => (v(), f("li", {
2296
+ key: S.id,
2238
2297
  class: "ui-upload__item"
2239
2298
  }, [
2240
- U(m.$slots, "file", {
2241
- file: T,
2242
- remove: () => q(T),
2243
- cancel: () => p(T),
2244
- retry: () => x(T)
2299
+ j(m.$slots, "file", {
2300
+ file: S,
2301
+ remove: () => q(S),
2302
+ cancel: () => p(S),
2303
+ retry: () => x(S)
2245
2304
  }, () => [
2246
- g("div", p2, [
2247
- g("span", m2, K(T.file.name), 1),
2248
- g("span", h2, K(O(T.file.size)), 1)
2305
+ b("div", g2, [
2306
+ b("span", k2, K(S.file.name), 1),
2307
+ b("span", w2, K(O(S.file.size)), 1)
2249
2308
  ]),
2250
- T.status === "uploading" ? (v(), f("div", y2, [
2251
- g("span", b2, K(T.progress) + "% ", 1),
2252
- g("progress", {
2309
+ S.status === "uploading" ? (v(), f("div", M2, [
2310
+ b("span", L2, K(S.progress) + "% ", 1),
2311
+ b("progress", {
2253
2312
  class: "ui-upload__progress",
2254
- value: T.progress,
2313
+ value: S.progress,
2255
2314
  max: "100",
2256
- "aria-label": `Upload progress for ${T.file.name}`
2257
- }, null, 8, g2)
2315
+ "aria-label": `Upload progress for ${S.file.name}`
2316
+ }, null, 8, x2)
2258
2317
  ])) : N("", !0),
2259
- T.status === "success" ? (v(), f("span", k2, " Uploaded successful ")) : N("", !0),
2260
- T.status === "error" ? (v(), f("span", w2, K(T.error || "Upload failed"), 1)) : N("", !0),
2261
- T.status === "canceled" ? (v(), f("span", M2, " Upload canceled ")) : N("", !0),
2262
- g("div", L2, [
2263
- T.status === "uploading" ? (v(), W(he, {
2318
+ S.status === "success" ? (v(), f("span", $2, " Uploaded successful ")) : N("", !0),
2319
+ S.status === "error" ? (v(), f("span", V2, K(S.error || "Upload failed"), 1)) : N("", !0),
2320
+ S.status === "canceled" ? (v(), f("span", I2, " Upload canceled ")) : N("", !0),
2321
+ b("div", H2, [
2322
+ S.status === "uploading" ? (v(), W(he, {
2264
2323
  key: 0,
2265
2324
  type: "button",
2266
2325
  class: "btn-danger btn-xs",
2267
- onClick: ne((w) => p(T), ["stop"])
2326
+ onClick: oe((w) => p(S), ["stop"])
2268
2327
  }, {
2269
- default: G(() => [...b[8] || (b[8] = [
2328
+ default: G(() => [...g[8] || (g[8] = [
2270
2329
  me(" Cancel ", -1)
2271
2330
  ])]),
2272
2331
  _: 1
2273
2332
  }, 8, ["onClick"])) : N("", !0),
2274
- T.status === "error" || T.status === "canceled" ? (v(), W(he, {
2333
+ S.status === "error" || S.status === "canceled" ? (v(), W(he, {
2275
2334
  key: 1,
2276
2335
  type: "button",
2277
2336
  class: "btn-info btn-xs",
2278
- onClick: ne((w) => x(T), ["stop"])
2337
+ onClick: oe((w) => x(S), ["stop"])
2279
2338
  }, {
2280
- default: G(() => [...b[9] || (b[9] = [
2339
+ default: G(() => [...g[9] || (g[9] = [
2281
2340
  me(" Retry ", -1)
2282
2341
  ])]),
2283
2342
  _: 1
2284
2343
  }, 8, ["onClick"])) : N("", !0),
2285
- T.status !== "uploading" ? (v(), W(he, {
2344
+ S.status !== "uploading" ? (v(), W(he, {
2286
2345
  key: 2,
2287
2346
  type: "button",
2288
2347
  class: "btn-outline btn-xs",
2289
- onClick: ne((w) => q(T), ["stop"]),
2348
+ onClick: oe((w) => q(S), ["stop"]),
2290
2349
  "aria-label": "Remove file"
2291
2350
  }, {
2292
- default: G(() => [...b[10] || (b[10] = [
2351
+ default: G(() => [...g[10] || (g[10] = [
2293
2352
  me(" Remove ", -1)
2294
2353
  ])]),
2295
2354
  _: 1
@@ -2298,23 +2357,23 @@ const v2 = ["tabindex", "aria-label", "aria-describedby", "aria-busy", "aria-dis
2298
2357
  ], !0)
2299
2358
  ]))), 128))
2300
2359
  ])) : N("", !0),
2301
- g("div", x2, K(i.value), 1),
2302
- g("p", {
2303
- id: R(r),
2360
+ b("div", B2, K(i.value), 1),
2361
+ b("p", {
2362
+ id: R(l),
2304
2363
  class: "sr-only"
2305
- }, " Drop files to upload ", 8, $2)
2306
- ], 40, v2));
2364
+ }, " Drop files to upload ", 8, _2)
2365
+ ], 40, h2));
2307
2366
  }
2308
- }), Je = /* @__PURE__ */ j(V2, [["__scopeId", "data-v-041ff337"]]);
2309
- Je.install = (e) => {
2310
- e.component("Upload", Je);
2367
+ }), Ye = /* @__PURE__ */ U(R2, [["__scopeId", "data-v-041ff337"]]);
2368
+ Ye.install = (e) => {
2369
+ e.component("Upload", Ye);
2311
2370
  };
2312
- const I2 = (e) => {
2371
+ const Z2 = (e) => {
2313
2372
  const o = () => e(), t = () => e();
2314
2373
  return window.addEventListener("scroll", o, !0), window.addEventListener("resize", t), () => {
2315
2374
  window.removeEventListener("scroll", o, !0), window.removeEventListener("resize", t);
2316
2375
  };
2317
- }, H2 = ["aria-describedby", "aria-disabled", "aria-expanded"], B2 = ["aria-hidden", "data-placement"], _2 = 8, R2 = 6, Z2 = /* @__PURE__ */ _({
2376
+ }, A2 = ["aria-describedby", "aria-disabled", "aria-expanded"], T2 = ["aria-hidden", "data-placement"], S2 = 8, E2 = 6, D2 = /* @__PURE__ */ _({
2318
2377
  __name: "Tooltip",
2319
2378
  props: {
2320
2379
  content: {},
@@ -2323,17 +2382,17 @@ const I2 = (e) => {
2323
2382
  disabled: { type: Boolean, default: !1 }
2324
2383
  },
2325
2384
  setup(e) {
2326
- const o = e, t = _2 + R2, a = C(!1), s = `tooltip-${ie()}`, l = C(null), i = C(null), n = C({});
2327
- let r = null, d = null, c = null;
2385
+ const o = e, t = S2 + E2, a = C(!1), s = `tooltip-${ie()}`, r = C(null), i = C(null), n = C({});
2386
+ let l = null, d = null, c = null;
2328
2387
  const h = () => {
2329
- o.disabled || (r && (clearTimeout(r), r = null), o.delay ? r = window.setTimeout(() => {
2330
- a.value = !0, r = null;
2388
+ o.disabled || (l && (clearTimeout(l), l = null), o.delay ? l = window.setTimeout(() => {
2389
+ a.value = !0, l = null;
2331
2390
  }, o.delay) : a.value = !0);
2332
2391
  }, L = () => {
2333
- r && (clearTimeout(r), r = null), a.value = !1;
2392
+ l && (clearTimeout(l), l = null), a.value = !1;
2334
2393
  }, M = () => {
2335
- if (!l.value || !i.value) return {};
2336
- const y = l.value.getBoundingClientRect(), V = i.value.getBoundingClientRect(), B = {
2394
+ if (!r.value || !i.value) return {};
2395
+ const y = r.value.getBoundingClientRect(), V = i.value.getBoundingClientRect(), B = {
2337
2396
  position: "fixed"
2338
2397
  };
2339
2398
  switch (o.placement) {
@@ -2359,13 +2418,13 @@ const I2 = (e) => {
2359
2418
  d?.(), d = null, c?.disconnect(), c = null;
2360
2419
  return;
2361
2420
  }
2362
- await Le(), u(), d = I2(u), c = new ResizeObserver(u), i.value && c.observe(i.value), l.value && c.observe(l.value);
2421
+ await Le(), u(), d = Z2(u), c = new ResizeObserver(u), i.value && c.observe(i.value), r.value && c.observe(r.value);
2363
2422
  }), He(() => {
2364
2423
  d?.(), c?.disconnect();
2365
- }), (y, V) => (v(), f(ae, null, [
2366
- g("span", {
2424
+ }), (y, V) => (v(), f(ne, null, [
2425
+ b("span", {
2367
2426
  ref_key: "triggerRef",
2368
- ref: l,
2427
+ ref: r,
2369
2428
  class: "tooltip-trigger",
2370
2429
  "aria-describedby": a.value ? s : void 0,
2371
2430
  "aria-disabled": e.disabled || void 0,
@@ -2374,10 +2433,10 @@ const I2 = (e) => {
2374
2433
  onMouseleave: L,
2375
2434
  onFocus: h,
2376
2435
  onBlur: L,
2377
- onKeydown: fe(L, ["esc"])
2436
+ onKeydown: ce(L, ["esc"])
2378
2437
  }, [
2379
- U(y.$slots, "default", {}, void 0, !0)
2380
- ], 40, H2),
2438
+ j(y.$slots, "default", {}, void 0, !0)
2439
+ ], 40, A2),
2381
2440
  (v(), W(Be, { to: "body" }, [
2382
2441
  P($e, { name: "tooltip-fade" }, {
2383
2442
  default: G(() => [
@@ -2393,25 +2452,25 @@ const I2 = (e) => {
2393
2452
  "data-placement": o.placement,
2394
2453
  style: ye(n.value)
2395
2454
  }, [
2396
- V[0] || (V[0] = g("div", { class: "tooltip-arrow" }, null, -1)),
2397
- U(y.$slots, "content", {}, () => [
2455
+ V[0] || (V[0] = b("div", { class: "tooltip-arrow" }, null, -1)),
2456
+ j(y.$slots, "content", {}, () => [
2398
2457
  me(K(e.content), 1)
2399
2458
  ], !0)
2400
- ], 12, B2)) : N("", !0)
2459
+ ], 12, T2)) : N("", !0)
2401
2460
  ]),
2402
2461
  _: 3
2403
2462
  })
2404
2463
  ]))
2405
2464
  ], 64));
2406
2465
  }
2407
- }), Ye = /* @__PURE__ */ j(Z2, [["__scopeId", "data-v-c489ef7b"]]);
2408
- Ye.install = (e) => {
2409
- e.component("Tooltip", Ye);
2466
+ }), Qe = /* @__PURE__ */ U(D2, [["__scopeId", "data-v-c489ef7b"]]);
2467
+ Qe.install = (e) => {
2468
+ e.component("Tooltip", Qe);
2410
2469
  };
2411
- const A2 = {
2470
+ const z2 = {
2412
2471
  key: 0,
2413
2472
  class: "ui-tag__icon"
2414
- }, S2 = { class: "ui-tag__label" }, T2 = ["aria-label"], E2 = /* @__PURE__ */ _({
2473
+ }, O2 = { class: "ui-tag__label" }, q2 = ["aria-label"], N2 = /* @__PURE__ */ _({
2415
2474
  __name: "Tag",
2416
2475
  props: {
2417
2476
  as: { default: "span" },
@@ -2424,53 +2483,53 @@ const A2 = {
2424
2483
  },
2425
2484
  emits: ["click", "remove"],
2426
2485
  setup(e, { emit: o }) {
2427
- const t = e, a = o, s = C(), l = $(() => t.clickable || t.as === "button" || t.as === "a"), i = $(() => [
2486
+ const t = e, a = o, s = C(), r = $(() => t.clickable || t.as === "button" || t.as === "a"), i = $(() => [
2428
2487
  `ui-tag--${t.variant}`,
2429
2488
  `ui-tag--${t.size}`,
2430
2489
  {
2431
2490
  "is-clickable": t.clickable,
2432
2491
  "is-removable": t.removable
2433
2492
  }
2434
- ]), n = $(() => t.clickable && t.as !== "button" && t.as !== "a"), r = (c) => {
2435
- t.disabled || !l.value || a("click", c);
2493
+ ]), n = $(() => t.clickable && t.as !== "button" && t.as !== "a"), l = (c) => {
2494
+ t.disabled || !r.value || a("click", c);
2436
2495
  }, d = () => a("remove");
2437
2496
  return (c, h) => (v(), W(Ve(e.as), {
2438
2497
  ref_key: "rootRef",
2439
2498
  ref: s,
2440
- class: re(["ui-tag", i.value]),
2499
+ class: le(["ui-tag", i.value]),
2441
2500
  "aria-disabled": e.disabled || void 0,
2442
2501
  tabindex: e.disabled ? -1 : n.value ? 0 : void 0,
2443
2502
  role: n.value ? "button" : void 0,
2444
- onClick: r,
2503
+ onClick: l,
2445
2504
  onKeydown: [
2446
- h[0] || (h[0] = fe(ne((L) => !e.disabled && l.value && r(L), ["prevent"]), ["enter"])),
2447
- h[1] || (h[1] = fe(ne((L) => !e.disabled && l.value && r(L), ["prevent"]), ["space"]))
2505
+ h[0] || (h[0] = ce(oe((L) => !e.disabled && r.value && l(L), ["prevent"]), ["enter"])),
2506
+ h[1] || (h[1] = ce(oe((L) => !e.disabled && r.value && l(L), ["prevent"]), ["space"]))
2448
2507
  ]
2449
2508
  }, {
2450
2509
  default: G(() => [
2451
- c.$slots.icon ? (v(), f("span", A2, [
2452
- U(c.$slots, "icon", {}, void 0, !0)
2510
+ c.$slots.icon ? (v(), f("span", z2, [
2511
+ j(c.$slots, "icon", {}, void 0, !0)
2453
2512
  ])) : N("", !0),
2454
- g("span", S2, [
2455
- U(c.$slots, "default", {}, void 0, !0)
2513
+ b("span", O2, [
2514
+ j(c.$slots, "default", {}, void 0, !0)
2456
2515
  ]),
2457
2516
  e.removable ? (v(), f("button", {
2458
2517
  key: 1,
2459
2518
  class: "ui-tag__remove",
2460
2519
  type: "button",
2461
2520
  "aria-label": `Remove ${e.textContent}`,
2462
- onClick: ne(d, ["stop"])
2521
+ onClick: oe(d, ["stop"])
2463
2522
  }, [
2464
2523
  P(ue, {
2465
2524
  name: "close",
2466
2525
  size: 32
2467
2526
  })
2468
- ], 8, T2)) : N("", !0)
2527
+ ], 8, q2)) : N("", !0)
2469
2528
  ]),
2470
2529
  _: 3
2471
2530
  }, 40, ["class", "aria-disabled", "tabindex", "role"]));
2472
2531
  }
2473
- }), D2 = /* @__PURE__ */ j(E2, [["__scopeId", "data-v-ea48b943"]]), z2 = ["href", "aria-disabled", "tabindex", "target", "aria-current", "rel"], O2 = /* @__PURE__ */ _({
2532
+ }), F2 = /* @__PURE__ */ U(N2, [["__scopeId", "data-v-ea48b943"]]), K2 = ["href", "aria-disabled", "tabindex", "target", "aria-current", "rel"], P2 = /* @__PURE__ */ _({
2474
2533
  __name: "Link",
2475
2534
  props: {
2476
2535
  target: {},
@@ -2480,14 +2539,14 @@ const A2 = {
2480
2539
  },
2481
2540
  emits: ["click"],
2482
2541
  setup(e, { emit: o }) {
2483
- const t = e, a = o, s = (l) => {
2484
- if (t.disabled || l.button !== 0) {
2485
- l.preventDefault();
2542
+ const t = e, a = o, s = (r) => {
2543
+ if (t.disabled || r.button !== 0) {
2544
+ r.preventDefault();
2486
2545
  return;
2487
2546
  }
2488
- a("click", l);
2547
+ a("click", r);
2489
2548
  };
2490
- return (l, i) => (v(), f("a", {
2549
+ return (r, i) => (v(), f("a", {
2491
2550
  class: "link",
2492
2551
  href: e.disabled ? void 0 : e.href,
2493
2552
  "aria-disabled": e.disabled ? "true" : void 0,
@@ -2497,10 +2556,10 @@ const A2 = {
2497
2556
  "aria-current": e.ariaCurrent,
2498
2557
  rel: e.target === "_blank" ? "noopener noreferrer" : void 0
2499
2558
  }, [
2500
- U(l.$slots, "default", {}, void 0, !0)
2501
- ], 8, z2));
2559
+ j(r.$slots, "default", {}, void 0, !0)
2560
+ ], 8, K2));
2502
2561
  }
2503
- }), uo = /* @__PURE__ */ j(O2, [["__scopeId", "data-v-0f5d7308"]]), Ne = (e, o, t, a) => $(() => {
2562
+ }), po = /* @__PURE__ */ U(P2, [["__scopeId", "data-v-0f5d7308"]]), Ne = (e, o, t, a) => $(() => {
2504
2563
  const s = [];
2505
2564
  return e.invalid && e.errorMessage && s.push(t), o.hint && s.push(a), s.length > 0 ? s.join(" ") : void 0;
2506
2565
  }), _e = (e) => $(() => Object.keys(e).includes("required") && e.required !== "false" ? "true" : void 0), r1 = (e) => $(() => e.disabled === !0 ? "true" : void 0), Fe = (e, o, t) => {
@@ -2509,7 +2568,7 @@ const A2 = {
2509
2568
  we(o, t), t && (t?.classList.remove("focused"), a("blur", e));
2510
2569
  }, we = (e, o) => {
2511
2570
  !e || !o || (e.value.length > 0 ? o.classList.add("filled") : o.classList.remove("filled"));
2512
- }, q2 = ["id"], Pe = /* @__PURE__ */ _({
2571
+ }, U2 = ["id"], Pe = /* @__PURE__ */ _({
2513
2572
  __name: "Hint",
2514
2573
  props: {
2515
2574
  hintId: {}
@@ -2520,10 +2579,10 @@ const A2 = {
2520
2579
  id: e.hintId,
2521
2580
  class: "visually-hidden"
2522
2581
  }, [
2523
- U(o.$slots, "default")
2524
- ], 8, q2)) : N("", !0);
2582
+ j(o.$slots, "default")
2583
+ ], 8, U2)) : N("", !0);
2525
2584
  }
2526
- }), N2 = ["id"], Ue = /* @__PURE__ */ _({
2585
+ }), j2 = ["id"], Ue = /* @__PURE__ */ _({
2527
2586
  __name: "RequiredHint",
2528
2587
  props: {
2529
2588
  baseId: {},
@@ -2534,9 +2593,9 @@ const A2 = {
2534
2593
  key: 0,
2535
2594
  id: `${e.baseId}-required-hint`,
2536
2595
  class: "visually-hidden"
2537
- }, " Required field ", 8, N2)) : N("", !0);
2596
+ }, " Required field ", 8, j2)) : N("", !0);
2538
2597
  }
2539
- }), F2 = ["id"], je = /* @__PURE__ */ _({
2598
+ }), X2 = ["id"], je = /* @__PURE__ */ _({
2540
2599
  __name: "ErrorMessage",
2541
2600
  props: {
2542
2601
  errorId: {},
@@ -2549,11 +2608,11 @@ const A2 = {
2549
2608
  id: e.errorId,
2550
2609
  class: "error-text",
2551
2610
  role: "alert"
2552
- }, K(e.errorMessage), 9, F2)) : N("", !0);
2611
+ }, K(e.errorMessage), 9, X2)) : N("", !0);
2553
2612
  }
2554
- }), K2 = ["for"], P2 = ["id", "type", "value", "required", "aria-invalid", "aria-errormessage", "aria-describedby"], U2 = /* @__PURE__ */ _({
2613
+ }), G2 = ["for"], W2 = ["id", "type", "value", "required", "aria-invalid", "aria-errormessage", "aria-describedby"], J2 = /* @__PURE__ */ _({
2555
2614
  __name: "Input",
2556
- props: /* @__PURE__ */ oe({
2615
+ props: /* @__PURE__ */ te({
2557
2616
  id: {},
2558
2617
  label: {},
2559
2618
  type: {},
@@ -2565,28 +2624,28 @@ const A2 = {
2565
2624
  },
2566
2625
  modelModifiers: {}
2567
2626
  }),
2568
- emits: /* @__PURE__ */ oe(["focus", "blur"], ["update:modelValue"]),
2627
+ emits: /* @__PURE__ */ te(["focus", "blur"], ["update:modelValue"]),
2569
2628
  setup(e, { emit: o }) {
2570
- const t = pe(e, "modelValue"), a = e, s = o, l = Oe(), i = ie(), n = `${i}-error`, r = `${i}-hint`, d = _e(l).value, c = $(() => d ? `${r} ${i}-required-hint` : r), h = $(() => a.invalid === !0 && a.errorMessage ? n : void 0), L = $(() => a.type === "password" ? V.value ? "text" : "password" : a.type), M = $(() => {
2571
- const { type: D, ...E } = l;
2629
+ const t = Ce(e, "modelValue"), a = e, s = o, r = Oe(), i = ie(), n = `${i}-error`, l = `${i}-hint`, d = _e(r).value, c = $(() => d ? `${l} ${i}-required-hint` : l), h = $(() => a.invalid === !0 && a.errorMessage ? n : void 0), L = $(() => a.type === "password" ? V.value ? "text" : "password" : a.type), M = $(() => {
2630
+ const { type: D, ...E } = r;
2572
2631
  return E;
2573
2632
  }), u = C(null), y = C(null), V = C(!1), B = () => V.value = !V.value, k = (D) => {
2574
2633
  we(u.value, y.value);
2575
2634
  const E = D.target;
2576
2635
  t.value = a.type === "number" ? Number(E.value) : E.value;
2577
2636
  };
2578
- return te(() => {
2637
+ return ae(() => {
2579
2638
  we(u.value, y.value);
2580
2639
  }), (D, E) => (v(), f("div", {
2581
- class: re(["input-box", { required: R(d), error: e.invalid }]),
2640
+ class: le(["input-box", { required: R(d), error: e.invalid }]),
2582
2641
  ref_key: "inputBoxRef",
2583
2642
  ref: y
2584
2643
  }, [
2585
- g("label", {
2644
+ b("label", {
2586
2645
  for: e.id,
2587
2646
  class: "label"
2588
- }, K(e.label), 9, K2),
2589
- g("input", Ce({
2647
+ }, K(e.label), 9, G2),
2648
+ b("input", pe({
2590
2649
  id: e.id,
2591
2650
  type: L.value
2592
2651
  }, M.value, {
@@ -2601,10 +2660,10 @@ const A2 = {
2601
2660
  "aria-describedby": R(Ne)(D.$props, D.$slots, n, c.value).value,
2602
2661
  ref_key: "inputRef",
2603
2662
  ref: u
2604
- }), null, 16, P2),
2605
- P(Pe, { hintId: r }, {
2663
+ }), null, 16, W2),
2664
+ P(Pe, { hintId: l }, {
2606
2665
  default: G(() => [
2607
- U(D.$slots, "hint", {}, void 0, !0)
2666
+ j(D.$slots, "hint", {}, void 0, !0)
2608
2667
  ]),
2609
2668
  _: 3
2610
2669
  }),
@@ -2617,7 +2676,7 @@ const A2 = {
2617
2676
  invalid: e.invalid,
2618
2677
  errorMessage: e.errorMessage
2619
2678
  }, null, 8, ["invalid", "errorMessage"]),
2620
- e.type === "password" ? (v(), W(he, Ce({ key: 0 }, Object.keys(D.$attrs).includes("disabled") ? { disabled: !0 } : void 0, {
2679
+ e.type === "password" ? (v(), W(he, pe({ key: 0 }, Object.keys(D.$attrs).includes("disabled") ? { disabled: !0 } : void 0, {
2621
2680
  type: "button",
2622
2681
  class: "btn-icon",
2623
2682
  onClick: B,
@@ -2632,14 +2691,14 @@ const A2 = {
2632
2691
  }, 16, ["aria-label"])) : N("", !0)
2633
2692
  ], 2));
2634
2693
  }
2635
- }), co = /* @__PURE__ */ j(U2, [["__scopeId", "data-v-a4f7bb5b"]]), j2 = ["data-size", "data-shape", "aria-label", "aria-busy"], X2 = {
2694
+ }), mo = /* @__PURE__ */ U(J2, [["__scopeId", "data-v-90332310"]]), Y2 = ["data-size", "data-shape", "aria-label", "aria-busy"], Q2 = {
2636
2695
  key: 1,
2637
2696
  class: "ui-avatar__loading"
2638
- }, G2 = {
2697
+ }, e5 = {
2639
2698
  key: 2,
2640
2699
  class: "ui-avatar__fallback",
2641
2700
  "aria-hidden": "true"
2642
- }, W2 = /* @__PURE__ */ _({
2701
+ }, t5 = /* @__PURE__ */ _({
2643
2702
  __name: "Avatar",
2644
2703
  props: {
2645
2704
  src: {},
@@ -2649,15 +2708,15 @@ const A2 = {
2649
2708
  shape: { default: "circle" }
2650
2709
  },
2651
2710
  setup(e) {
2652
- const o = e, t = C("loading"), a = $(() => o.src && t.value !== "error"), s = $(() => o.name ? o.name.split(" ").map((r) => r[0]).slice(0, 2).join("").toUpperCase() : ""), l = $(() => o.alt ? o.alt : o.name ? o.name : "Avatar"), i = () => t.value = "loaded", n = () => t.value = "error";
2711
+ const o = e, t = C("loading"), a = $(() => o.src && t.value !== "error"), s = $(() => o.name ? o.name.split(" ").map((l) => l[0]).slice(0, 2).join("").toUpperCase() : ""), r = $(() => o.alt ? o.alt : o.name ? o.name : "Avatar"), i = () => t.value = "loaded", n = () => t.value = "error";
2653
2712
  return Y(
2654
2713
  () => o.src,
2655
2714
  () => o.src && (t.value = "loading")
2656
- ), te(() => !o.src && (t.value = "error")), (r, d) => (v(), f("div", {
2715
+ ), ae(() => !o.src && (t.value = "error")), (l, d) => (v(), f("div", {
2657
2716
  class: "ui-avatar",
2658
2717
  "data-size": e.size,
2659
2718
  "data-shape": e.shape,
2660
- "aria-label": a.value ? void 0 : l.value,
2719
+ "aria-label": a.value ? void 0 : r.value,
2661
2720
  "aria-busy": t.value === "loading" || void 0
2662
2721
  }, [
2663
2722
  a.value ? (v(), W(xe, {
@@ -2667,16 +2726,16 @@ const A2 = {
2667
2726
  class: "ui-avatar__img",
2668
2727
  onLoad: i,
2669
2728
  onError: n
2670
- }, null, 8, ["src", "alt"])) : t.value === "loading" ? (v(), f("div", X2)) : (v(), f("div", G2, [
2671
- U(r.$slots, "default", {}, () => [
2729
+ }, null, 8, ["src", "alt"])) : t.value === "loading" ? (v(), f("div", Q2)) : (v(), f("div", e5, [
2730
+ j(l.$slots, "default", {}, () => [
2672
2731
  me(K(s.value), 1)
2673
2732
  ], !0)
2674
2733
  ]))
2675
- ], 8, j2));
2734
+ ], 8, Y2));
2676
2735
  }
2677
- }), vo = /* @__PURE__ */ j(W2, [["__scopeId", "data-v-e36c822a"]]), J2 = ["id", "aria-expanded", "aria-invalid", "aria-labelledby", "aria-required", "aria-describedby", "aria-activedescendant", "aria-disabled", "disabled"], Y2 = ["innerHTML"], Q2 = ["id", "aria-disabled", "aria-selected", "onClick"], e5 = ["innerHTML"], t5 = /* @__PURE__ */ _({
2736
+ }), ho = /* @__PURE__ */ U(t5, [["__scopeId", "data-v-e36c822a"]]), a5 = ["id", "aria-expanded", "aria-invalid", "aria-labelledby", "aria-required", "aria-describedby", "aria-activedescendant", "aria-disabled", "disabled"], o5 = ["innerHTML"], n5 = ["id", "aria-disabled", "aria-selected", "onClick"], l5 = ["innerHTML"], r5 = /* @__PURE__ */ _({
2678
2737
  __name: "Select",
2679
- props: /* @__PURE__ */ oe({
2738
+ props: /* @__PURE__ */ te({
2680
2739
  id: {},
2681
2740
  options: {},
2682
2741
  label: {},
@@ -2686,44 +2745,44 @@ const A2 = {
2686
2745
  modelValue: { required: !0 },
2687
2746
  modelModifiers: {}
2688
2747
  }),
2689
- emits: /* @__PURE__ */ oe(["focus", "blur", "change", "click"], ["update:modelValue"]),
2748
+ emits: /* @__PURE__ */ te(["focus", "blur", "change", "click"], ["update:modelValue"]),
2690
2749
  setup(e, { emit: o }) {
2691
- const t = pe(e, "modelValue"), a = e, s = o, l = C(!1);
2692
- Y(l, (w) => {
2693
- w ? document.addEventListener("mousedown", T) : document.removeEventListener("mousedown", T);
2750
+ const t = Ce(e, "modelValue"), a = e, s = o, r = C(!1);
2751
+ Y(r, (w) => {
2752
+ w ? document.addEventListener("mousedown", S) : document.removeEventListener("mousedown", S);
2694
2753
  });
2695
- const i = Oe(), n = C(null), r = $(() => a.id ?? ie()), d = `${r.value}-label`, c = `${r.value}-listbox`, h = `${r.value}-error`, L = `${r.value}-hint`, M = `${r.value}-value`, u = C(null), y = C(null), V = $(() => u.value !== null ? `${c}-option-${u.value}` : void 0), B = _e(i).value, k = $(() => B ? `${L} ${r.value}-required-hint` : L), D = $(() => l.value && V.value ? V.value : void 0), E = $(() => y.value !== null ? a.options[y.value]?.value : ""), p = (w) => {
2754
+ const i = Oe(), n = C(null), l = $(() => a.id ?? ie()), d = `${l.value}-label`, c = `${l.value}-listbox`, h = `${l.value}-error`, L = `${l.value}-hint`, M = `${l.value}-value`, u = C(null), y = C(null), V = $(() => u.value !== null ? `${c}-option-${u.value}` : void 0), B = _e(i).value, k = $(() => B ? `${L} ${l.value}-required-hint` : L), D = $(() => r.value && V.value ? V.value : void 0), E = $(() => y.value !== null ? a.options[y.value]?.value : ""), p = (w) => {
2696
2755
  const A = n.value;
2697
2756
  A && (A.classList.add("focused"), s("focus", w));
2698
2757
  }, x = (w) => {
2699
2758
  const A = w.relatedTarget, J = n.value;
2700
- !J || J?.contains(A) || (J.classList.remove("focused"), l.value = !1, s("blur", w));
2759
+ !J || J?.contains(A) || (J.classList.remove("focused"), r.value = !1, s("blur", w));
2701
2760
  }, I = (w) => {
2702
- l.value = !l.value, l.value && t.value.toString().length > 0 && (u.value = u.value ?? a.options.findIndex((A) => !A.disabled)), !(!a.options || a.options.length === 0) && s("click", w);
2761
+ r.value = !r.value, r.value && t.value.toString().length > 0 && (u.value = u.value ?? a.options.findIndex((A) => !A.disabled)), !(!a.options || a.options.length === 0) && s("click", w);
2703
2762
  }, O = (w, A) => {
2704
2763
  const J = n.value;
2705
2764
  !J || w.disabled || (y.value = A, u.value = A, w && w.key && w.key.toString().length > 0 ? J.classList.add("filled") : J.classList.remove("filled"), t.value = w.key, s("change", w.key));
2706
2765
  }, Z = (w) => {
2707
- if (!l.value && ["ArrowDown", "ArrowUp"].includes(w.key)) {
2708
- l.value = !0, u.value = u.value ?? a.options.findIndex((A) => !A.disabled), w.preventDefault();
2766
+ if (!r.value && ["ArrowDown", "ArrowUp"].includes(w.key)) {
2767
+ r.value = !0, u.value = u.value ?? a.options.findIndex((A) => !A.disabled), w.preventDefault();
2709
2768
  return;
2710
2769
  }
2711
- if (l.value) {
2770
+ if (r.value) {
2712
2771
  if (w.key === "ArrowDown" && (q(1), w.preventDefault()), w.key === "ArrowUp" && (q(-1), w.preventDefault()), w.key === "Home") {
2713
2772
  const A = m();
2714
2773
  A >= 0 && (u.value = A), w.preventDefault();
2715
2774
  }
2716
2775
  if (w.key === "End") {
2717
- const A = b();
2776
+ const A = g();
2718
2777
  A >= 0 && (u.value = A), w.preventDefault();
2719
2778
  }
2720
2779
  if (w.key === "Enter" || w.key === " ") {
2721
2780
  if (u.value === null) return;
2722
2781
  const A = a.options[u.value];
2723
2782
  if (!A || A.disabled) return;
2724
- O(A, u.value), l.value = !1, w.preventDefault();
2783
+ O(A, u.value), r.value = !1, w.preventDefault();
2725
2784
  }
2726
- w.key === "Escape" && (l.value = !1);
2785
+ w.key === "Escape" && (r.value = !1);
2727
2786
  }
2728
2787
  }, q = (w) => {
2729
2788
  if (u.value === null) return;
@@ -2732,13 +2791,13 @@ const A2 = {
2732
2791
  A += w;
2733
2792
  while (A >= 0 && A < a.options.length && a.options[A]?.disabled);
2734
2793
  A >= 0 && A < a.options.length && (u.value = A);
2735
- }, m = () => a.options.findIndex((w) => !w.disabled), b = () => [...a.options].reverse().findIndex((w) => !w.disabled) >= 0 ? a.options.length - 1 - [...a.options].reverse().findIndex((w) => !w.disabled) : -1, T = (w) => {
2794
+ }, m = () => a.options.findIndex((w) => !w.disabled), g = () => [...a.options].reverse().findIndex((w) => !w.disabled) >= 0 ? a.options.length - 1 - [...a.options].reverse().findIndex((w) => !w.disabled) : -1, S = (w) => {
2736
2795
  const A = n.value;
2737
- !A || A.contains(w.target) || (l.value = !1);
2796
+ !A || A.contains(w.target) || (r.value = !1);
2738
2797
  };
2739
2798
  return He(() => {
2740
- document.removeEventListener("mousedown", T);
2741
- }), te(() => {
2799
+ document.removeEventListener("mousedown", S);
2800
+ }), ae(() => {
2742
2801
  if (t.value.toString().length > 0) {
2743
2802
  if (!a.options || a.options.length === 0) return;
2744
2803
  const w = a.options.findIndex((A) => A.key === t.value);
@@ -2751,15 +2810,15 @@ const A2 = {
2751
2810
  }), (w, A) => (v(), f("div", {
2752
2811
  ref_key: "selectRef",
2753
2812
  ref: n,
2754
- class: re(["select-box", { required: Object.keys(w.$attrs).includes("required"), error: e.invalid }])
2813
+ class: le(["select-box", { required: Object.keys(w.$attrs).includes("required"), error: e.invalid }])
2755
2814
  }, [
2756
- g("button", {
2757
- id: r.value,
2815
+ b("button", {
2816
+ id: l.value,
2758
2817
  class: "select-btn",
2759
2818
  role: "combobox",
2760
2819
  type: "button",
2761
2820
  "aria-haspopup": "listbox",
2762
- "aria-expanded": l.value,
2821
+ "aria-expanded": r.value,
2763
2822
  "aria-controls": c,
2764
2823
  "aria-invalid": e.invalid ? "true" : void 0,
2765
2824
  "aria-labelledby": `${d} ${M}`,
@@ -2774,57 +2833,57 @@ const A2 = {
2774
2833
  onKeydown: Z,
2775
2834
  ref: "buttonRef"
2776
2835
  }, [
2777
- g("span", {
2836
+ b("span", {
2778
2837
  id: d,
2779
2838
  class: "label"
2780
2839
  }, K(e.label), 1),
2781
- g("span", {
2840
+ b("span", {
2782
2841
  id: M,
2783
2842
  class: "selected-object",
2784
2843
  "aria-live": "polite",
2785
2844
  "aria-atomic": "true",
2786
2845
  innerHTML: E.value
2787
- }, null, 8, Y2),
2846
+ }, null, 8, o5),
2788
2847
  P(ue, {
2789
2848
  name: "directionDown",
2790
2849
  "aria-hidden": "true"
2791
2850
  })
2792
- ], 40, J2),
2851
+ ], 40, a5),
2793
2852
  P($e, { name: "select" }, {
2794
2853
  default: G(() => [
2795
- Ie(g("ul", {
2854
+ Ie(b("ul", {
2796
2855
  id: c,
2797
2856
  role: "listbox",
2798
2857
  class: "options"
2799
2858
  }, [
2800
- (v(!0), f(ae, null, ce(e.options, (J, de) => (v(), f("li", {
2801
- id: `${c}-option-${de}`,
2802
- key: de,
2859
+ (v(!0), f(ne, null, de(e.options, (J, ve) => (v(), f("li", {
2860
+ id: `${c}-option-${ve}`,
2861
+ key: ve,
2803
2862
  role: "option",
2804
- class: re(["option", { "focus-visible": u.value === de }]),
2863
+ class: le(["option", { "focus-visible": u.value === ve }]),
2805
2864
  "aria-disabled": J.disabled,
2806
- "aria-selected": y.value === de,
2807
- onClick: (H) => !J.disabled && O(J, de)
2865
+ "aria-selected": y.value === ve,
2866
+ onClick: (H) => !J.disabled && O(J, ve)
2808
2867
  }, [
2809
- g("div", {
2868
+ b("div", {
2810
2869
  class: "option-value",
2811
2870
  innerHTML: J.value
2812
- }, null, 8, e5)
2813
- ], 10, Q2))), 128))
2871
+ }, null, 8, l5)
2872
+ ], 10, n5))), 128))
2814
2873
  ], 512), [
2815
- [ze, l.value]
2874
+ [ze, r.value]
2816
2875
  ])
2817
2876
  ]),
2818
2877
  _: 1
2819
2878
  }),
2820
2879
  P(Pe, { hintId: L }, {
2821
2880
  default: G(() => [
2822
- U(w.$slots, "hint", {}, void 0, !0)
2881
+ j(w.$slots, "hint", {}, void 0, !0)
2823
2882
  ]),
2824
2883
  _: 3
2825
2884
  }),
2826
2885
  P(Ue, {
2827
- baseId: r.value,
2886
+ baseId: l.value,
2828
2887
  isRequired: R(B)
2829
2888
  }, null, 8, ["baseId", "isRequired"]),
2830
2889
  P(je, {
@@ -2834,12 +2893,12 @@ const A2 = {
2834
2893
  }, null, 8, ["invalid", "errorMessage"])
2835
2894
  ], 2));
2836
2895
  }
2837
- }), fo = /* @__PURE__ */ j(t5, [["__scopeId", "data-v-7be7a049"]]), a5 = ["aria-label"], o5 = ["onKeydown"], n5 = {
2896
+ }), yo = /* @__PURE__ */ U(r5, [["__scopeId", "data-v-7be7a049"]]), s5 = ["aria-label"], i5 = ["onKeydown"], u5 = {
2838
2897
  key: 1,
2839
2898
  class: "rs-gallery-thumbs"
2840
- }, r5 = ["aria-selected"], l5 = ["onClick"], s5 = /* @__PURE__ */ _({
2899
+ }, c5 = ["aria-selected"], d5 = ["onClick"], v5 = /* @__PURE__ */ _({
2841
2900
  __name: "GalleryCarousel",
2842
- props: /* @__PURE__ */ oe({
2901
+ props: /* @__PURE__ */ te({
2843
2902
  images: {},
2844
2903
  layout: { default: "carousel" },
2845
2904
  showThumbnails: { type: Boolean, default: !0 },
@@ -2856,10 +2915,10 @@ const A2 = {
2856
2915
  },
2857
2916
  modelModifiers: {}
2858
2917
  }),
2859
- emits: /* @__PURE__ */ oe(["change"], ["update:modelValue"]),
2918
+ emits: /* @__PURE__ */ te(["change"], ["update:modelValue"]),
2860
2919
  setup(e, { emit: o }) {
2861
- const t = pe(e, "modelValue"), a = e, s = o, l = C([]), i = C("next"), n = C(null), r = `gallery-caption-${ie()}`, d = C(null), c = $(() => t.value), h = $(() => a.images[c.value]), L = (k, D) => {
2862
- k && (l.value[D] = k);
2920
+ const t = Ce(e, "modelValue"), a = e, s = o, r = C([]), i = C("next"), n = C(null), l = `gallery-caption-${ie()}`, d = C(null), c = $(() => t.value), h = $(() => a.images[c.value]), L = (k, D) => {
2921
+ k && (r.value[D] = k);
2863
2922
  }, M = (k) => {
2864
2923
  k !== c.value && (i.value = k > c.value ? "next" : "prev", t.value = k, s("change", k));
2865
2924
  }, u = () => {
@@ -2881,31 +2940,31 @@ const A2 = {
2881
2940
  };
2882
2941
  return Y(c, async (k) => {
2883
2942
  await Le();
2884
- const D = l.value[k];
2943
+ const D = r.value[k];
2885
2944
  D && D.scrollIntoView({
2886
2945
  behavior: window.matchMedia("(prefers-reduced-motion: reduce)").matches ? "auto" : "smooth",
2887
2946
  inline: "center",
2888
2947
  block: "nearest"
2889
2948
  });
2890
2949
  }), Y(() => a.images, () => {
2891
- l.value = [];
2950
+ r.value = [];
2892
2951
  }), (k, D) => (v(), f("div", {
2893
2952
  role: "region",
2894
2953
  class: "rs-gallery",
2895
2954
  "aria-roledescription": "carousel",
2896
2955
  "aria-label": e.ariaLabel || "Image gallery",
2897
2956
  "aria-live": "polite",
2898
- "aria-describedby": r
2957
+ "aria-describedby": l
2899
2958
  }, [
2900
- g("div", {
2959
+ b("div", {
2901
2960
  ref_key: "previewRef",
2902
2961
  ref: d,
2903
2962
  tabindex: "0",
2904
2963
  class: "rs-gallery-review",
2905
2964
  style: ye(n.value ? { height: `${n.value}px` } : void 0),
2906
2965
  onKeydown: [
2907
- fe(ne(y, ["prevent"]), ["left"]),
2908
- fe(ne(u, ["prevent"]), ["right"])
2966
+ ce(oe(y, ["prevent"]), ["left"]),
2967
+ ce(oe(u, ["prevent"]), ["right"])
2909
2968
  ]
2910
2969
  }, [
2911
2970
  P($e, {
@@ -2924,26 +2983,26 @@ const A2 = {
2924
2983
  ]),
2925
2984
  _: 1
2926
2985
  }, 8, ["name"]),
2927
- U(k.$slots, "overlay", {
2986
+ j(k.$slots, "overlay", {
2928
2987
  image: h.value,
2929
2988
  index: c.value
2930
2989
  }, void 0, !0)
2931
- ], 44, o5),
2990
+ ], 44, i5),
2932
2991
  h.value?.title ? (v(), f("p", {
2933
2992
  key: 0,
2934
- id: r,
2993
+ id: l,
2935
2994
  class: "rs-gallery-caption"
2936
2995
  }, K(h.value.title), 1)) : N("", !0),
2937
- e.showThumbnails ? (v(), f("ul", n5, [
2938
- (v(!0), f(ae, null, ce(e.images, (E, p) => (v(), f("li", {
2996
+ e.showThumbnails ? (v(), f("ul", u5, [
2997
+ (v(!0), f(ne, null, de(e.images, (E, p) => (v(), f("li", {
2939
2998
  key: E.src,
2940
2999
  ref_for: !0,
2941
3000
  ref: (x) => L(x, p),
2942
3001
  "aria-selected": c.value === p
2943
3002
  }, [
2944
- g("button", {
3003
+ b("button", {
2945
3004
  type: "button",
2946
- class: re(["rs-gallery-thumb", { active: c.value === p }]),
3005
+ class: le(["rs-gallery-thumb", { active: c.value === p }]),
2947
3006
  onClick: (x) => M(p)
2948
3007
  }, [
2949
3008
  P(xe, {
@@ -2951,12 +3010,12 @@ const A2 = {
2951
3010
  alt: `Select image ${p + 1}`,
2952
3011
  transform: e.transformThumbnails
2953
3012
  }, null, 8, ["src", "alt", "transform"])
2954
- ], 10, l5)
2955
- ], 8, r5))), 128))
3013
+ ], 10, d5)
3014
+ ], 8, c5))), 128))
2956
3015
  ])) : N("", !0)
2957
- ], 8, a5));
3016
+ ], 8, s5));
2958
3017
  }
2959
- }), l1 = /* @__PURE__ */ j(s5, [["__scopeId", "data-v-dcfacff6"]]), i5 = ["aria-label"], u5 = ["onClick"], c5 = /* @__PURE__ */ _({
3018
+ }), s1 = /* @__PURE__ */ U(v5, [["__scopeId", "data-v-dcfacff6"]]), f5 = ["aria-label"], C5 = ["onClick"], p5 = /* @__PURE__ */ _({
2960
3019
  __name: "GalleryGrid",
2961
3020
  props: {
2962
3021
  images: {},
@@ -2977,22 +3036,22 @@ const A2 = {
2977
3036
  role: "list",
2978
3037
  "aria-label": e.ariaLabel || "Image grid gallery"
2979
3038
  }, [
2980
- (v(!0), f(ae, null, ce(e.images, (a, s) => (v(), f("button", {
3039
+ (v(!0), f(ne, null, de(e.images, (a, s) => (v(), f("button", {
2981
3040
  key: a.src,
2982
3041
  type: "button",
2983
3042
  class: "grid-item",
2984
- onClick: (l) => o.$emit("change", s)
3043
+ onClick: (r) => o.$emit("change", s)
2985
3044
  }, [
2986
3045
  P(xe, {
2987
3046
  src: a.src,
2988
3047
  alt: a.alt || "",
2989
3048
  transform: e.transform
2990
3049
  }, null, 8, ["src", "alt", "transform"])
2991
- ], 8, u5))), 128))
2992
- ], 12, i5));
3050
+ ], 8, C5))), 128))
3051
+ ], 12, f5));
2993
3052
  }
2994
- }), s1 = /* @__PURE__ */ j(c5, [["__scopeId", "data-v-17067a4b"]]), Re = /* @__PURE__ */ Symbol("ModalContext");
2995
- let Te = 0, Qe = 0, Ee = null;
3053
+ }), i1 = /* @__PURE__ */ U(p5, [["__scopeId", "data-v-17067a4b"]]), Re = /* @__PURE__ */ Symbol("ModalContext");
3054
+ let Se = 0, e1 = 0, Ee = null;
2996
3055
  const De = _({
2997
3056
  name: "Modal",
2998
3057
  props: {
@@ -3009,29 +3068,29 @@ const De = _({
3009
3068
  },
3010
3069
  emits: ["update:open", "opened", "closed"],
3011
3070
  setup(e, { emit: o, slots: t }) {
3012
- const a = C(!1), s = C(e.open), l = ie(), i = `modal-title-${l}`, n = `modal-desc-${l}`;
3071
+ const a = C(!1), s = C(e.open), r = ie(), i = `modal-title-${r}`, n = `modal-desc-${r}`;
3013
3072
  Y(() => e.open, (h) => s.value = h), Y(s, (h) => {
3014
3073
  o("update:open", h), o(h ? "opened" : "closed");
3015
3074
  });
3016
- const r = () => s.value = !1, d = $(() => e.motion), c = $(() => e.size);
3075
+ const l = () => s.value = !1, d = $(() => e.motion), c = $(() => e.size);
3017
3076
  return be(Re, {
3018
3077
  isOpen: s,
3019
3078
  motion: d,
3020
3079
  size: c,
3021
- close: r,
3080
+ close: l,
3022
3081
  closeOnOverlay: e.closeOnOverlay,
3023
3082
  labelId: i,
3024
3083
  descriptionId: n,
3025
3084
  hasTitle: a
3026
3085
  }), () => t.default?.();
3027
3086
  }
3028
- }), i1 = _({
3087
+ }), u1 = _({
3029
3088
  name: "ModalContent",
3030
3089
  setup(e, { slots: o }) {
3031
- const t = le(Re);
3090
+ const t = re(Re);
3032
3091
  if (!t) throw new Error("ModalContent components must be used inside <Modal>");
3033
- const a = C(null), s = ++Te, l = (c) => {
3034
- c.key === "Escape" && s === Te && t.close();
3092
+ const a = C(null), s = ++Se, r = (c) => {
3093
+ c.key === "Escape" && s === Se && t.close();
3035
3094
  };
3036
3095
  let i = null;
3037
3096
  const n = (c) => {
@@ -3050,10 +3109,10 @@ const De = _({
3050
3109
  c.addEventListener("keydown", u), L?.focus(), i = () => {
3051
3110
  c.removeEventListener("keydown", u), i = null;
3052
3111
  };
3053
- }, r = () => {
3054
- ++Qe === 1 && (document.body.style.overflow = "hidden");
3112
+ }, l = () => {
3113
+ ++e1 === 1 && (document.body.style.overflow = "hidden");
3055
3114
  }, d = () => {
3056
- --Qe === 0 && (document.body.style.overflow = "");
3115
+ --e1 === 0 && (document.body.style.overflow = "");
3057
3116
  };
3058
3117
  return () => F(
3059
3118
  Be,
@@ -3064,13 +3123,13 @@ const De = _({
3064
3123
  name: `modal-${t.motion.value}`,
3065
3124
  appear: !0,
3066
3125
  onEnter: () => {
3067
- Ee = document.activeElement, r();
3126
+ Ee = document.activeElement, l();
3068
3127
  },
3069
3128
  onAfterEnter: () => {
3070
- a.value && (n(a.value), document.addEventListener("keydown", l));
3129
+ a.value && (n(a.value), document.addEventListener("keydown", r));
3071
3130
  },
3072
3131
  onAfterLeave: () => {
3073
- Te--, document.removeEventListener("keydown", l), i?.(), d(), Ee?.focus(), Ee = null;
3132
+ Se--, document.removeEventListener("keydown", r), i?.(), d(), Ee?.focus(), Ee = null;
3074
3133
  }
3075
3134
  },
3076
3135
  {
@@ -3098,32 +3157,32 @@ const De = _({
3098
3157
  )
3099
3158
  );
3100
3159
  }
3101
- }), u1 = _({
3160
+ }), c1 = _({
3102
3161
  name: "ModalTitle",
3103
3162
  setup(e, { slots: o }) {
3104
- const t = le(Re);
3163
+ const t = re(Re);
3105
3164
  if (!t) throw new Error("ModalTitle components must be used inside <Modal>");
3106
3165
  return t.hasTitle.value = !0, () => F("h2", { id: t.labelId }, o.default?.());
3107
3166
  }
3108
- }), c1 = _({
3167
+ }), d1 = _({
3109
3168
  name: "ModalHeader",
3110
3169
  setup(e, { slots: o }) {
3111
3170
  return () => F("div", { class: "modal-header" }, o.default?.());
3112
3171
  }
3113
- }), d1 = _({
3172
+ }), v1 = _({
3114
3173
  name: "ModalBody",
3115
3174
  setup(e, { slots: o }) {
3116
3175
  return () => F("div", { class: "modal-body" }, o.default?.());
3117
3176
  }
3118
- }), Co = _({
3177
+ }), bo = _({
3119
3178
  name: "ModalFooter",
3120
3179
  setup(e, { slots: o }) {
3121
3180
  return () => F("div", { class: "modal-footer" }, o.default?.());
3122
3181
  }
3123
- }), v1 = _({
3182
+ }), f1 = _({
3124
3183
  name: "ModalClose",
3125
3184
  setup() {
3126
- const e = le(Re);
3185
+ const e = re(Re);
3127
3186
  if (!e) throw new Error("ModalClose components must be used inside <Modal>");
3128
3187
  return () => F(
3129
3188
  "button",
@@ -3139,10 +3198,10 @@ const De = _({
3139
3198
  });
3140
3199
  Object.assign(De, {
3141
3200
  install(e) {
3142
- e.component("Modal", De), e.component("ModalBody", d1), e.component("ModalTitle", u1), e.component("ModalClose", v1), e.component("ModalHeader", c1), e.component("ModalContent", i1);
3201
+ e.component("Modal", De), e.component("ModalBody", v1), e.component("ModalTitle", c1), e.component("ModalClose", f1), e.component("ModalHeader", d1), e.component("ModalContent", u1);
3143
3202
  }
3144
3203
  });
3145
- const d5 = /* @__PURE__ */ _({
3204
+ const m5 = /* @__PURE__ */ _({
3146
3205
  __name: "GalleryGridWithLightbox",
3147
3206
  props: {
3148
3207
  images: {},
@@ -3157,11 +3216,11 @@ const d5 = /* @__PURE__ */ _({
3157
3216
  },
3158
3217
  emits: ["change"],
3159
3218
  setup(e) {
3160
- const o = C(0), t = C(!1), a = (l) => {
3161
- o.value = l, t.value = !0;
3219
+ const o = C(0), t = C(!1), a = (r) => {
3220
+ o.value = r, t.value = !0;
3162
3221
  }, s = () => t.value = !1;
3163
- return (l, i) => (v(), f(ae, null, [
3164
- P(s1, {
3222
+ return (r, i) => (v(), f(ne, null, [
3223
+ P(i1, {
3165
3224
  images: e.images,
3166
3225
  onChange: a,
3167
3226
  "aria-label": e.ariaLabel,
@@ -3174,27 +3233,27 @@ const d5 = /* @__PURE__ */ _({
3174
3233
  size: "xl"
3175
3234
  }, {
3176
3235
  default: G(() => [
3177
- P(R(i1), null, {
3236
+ P(R(u1), null, {
3178
3237
  default: G(() => [
3179
- P(R(c1), null, {
3238
+ P(R(d1), null, {
3180
3239
  default: G(() => [
3181
- P(R(u1), null, {
3240
+ P(R(c1), null, {
3182
3241
  default: G(() => [...i[3] || (i[3] = [
3183
3242
  me("Image Gallery", -1)
3184
3243
  ])]),
3185
3244
  _: 1
3186
3245
  }),
3187
- P(R(v1))
3246
+ P(R(f1))
3188
3247
  ]),
3189
3248
  _: 1
3190
3249
  }),
3191
- P(R(d1), null, {
3250
+ P(R(v1), null, {
3192
3251
  default: G(() => [
3193
- P(l1, {
3252
+ P(s1, {
3194
3253
  modelValue: o.value,
3195
3254
  "onUpdate:modelValue": i[0] || (i[0] = (n) => o.value = n),
3196
3255
  images: e.images,
3197
- onChange: i[1] || (i[1] = (n) => l.$emit("change", n)),
3256
+ onChange: i[1] || (i[1] = (n) => r.$emit("change", n)),
3198
3257
  onClose: s,
3199
3258
  "aria-label": e.ariaLabel,
3200
3259
  "transform-thumbnails": e.transform
@@ -3210,7 +3269,7 @@ const d5 = /* @__PURE__ */ _({
3210
3269
  }, 8, ["open"])
3211
3270
  ], 64));
3212
3271
  }
3213
- }), v5 = { class: "rs-gallery-masonry" }, f5 = /* @__PURE__ */ _({
3272
+ }), h5 = { class: "rs-gallery-masonry" }, y5 = /* @__PURE__ */ _({
3214
3273
  __name: "GalleryMasonry",
3215
3274
  props: {
3216
3275
  images: {},
@@ -3224,8 +3283,8 @@ const d5 = /* @__PURE__ */ _({
3224
3283
  gap: { default: "1rem" }
3225
3284
  },
3226
3285
  setup(e) {
3227
- return (o, t) => (v(), f("div", v5, [
3228
- (v(!0), f(ae, null, ce(e.images, (a) => (v(), f("button", {
3286
+ return (o, t) => (v(), f("div", h5, [
3287
+ (v(!0), f(ne, null, de(e.images, (a) => (v(), f("button", {
3229
3288
  key: a.src,
3230
3289
  class: "masonry-item"
3231
3290
  }, [
@@ -3237,13 +3296,13 @@ const d5 = /* @__PURE__ */ _({
3237
3296
  ]))), 128))
3238
3297
  ]));
3239
3298
  }
3240
- }), C5 = /* @__PURE__ */ j(f5, [["__scopeId", "data-v-afb75845"]]), p5 = {
3299
+ }), b5 = /* @__PURE__ */ U(y5, [["__scopeId", "data-v-afb75845"]]), g5 = {
3241
3300
  class: "rs-image-gallery",
3242
3301
  role: "region",
3243
3302
  "aria-label": "Image gallery"
3244
- }, m5 = /* @__PURE__ */ _({
3303
+ }, k5 = /* @__PURE__ */ _({
3245
3304
  __name: "ImageGallery",
3246
- props: /* @__PURE__ */ oe({
3305
+ props: /* @__PURE__ */ te({
3247
3306
  images: {},
3248
3307
  layout: { default: "carousel" },
3249
3308
  showThumbnails: { type: Boolean, default: !0 },
@@ -3260,68 +3319,68 @@ const d5 = /* @__PURE__ */ _({
3260
3319
  },
3261
3320
  modelModifiers: {}
3262
3321
  }),
3263
- emits: /* @__PURE__ */ oe(["change"], ["update:modelValue"]),
3322
+ emits: /* @__PURE__ */ te(["change"], ["update:modelValue"]),
3264
3323
  setup(e, { emit: o }) {
3265
- const t = pe(e, "modelValue"), a = o, s = $({
3324
+ const t = Ce(e, "modelValue"), a = o, s = $({
3266
3325
  get: () => t.value ?? 0,
3267
3326
  set: (i) => {
3268
3327
  t.value = i, a("change", i);
3269
3328
  }
3270
- }), l = (i) => s.value = i;
3271
- return (i, n) => (v(), f("section", p5, [
3272
- e.layout === "carousel" ? (v(), W(l1, {
3329
+ }), r = (i) => s.value = i;
3330
+ return (i, n) => (v(), f("section", g5, [
3331
+ e.layout === "carousel" ? (v(), W(s1, {
3273
3332
  key: 0,
3274
3333
  modelValue: s.value,
3275
- "onUpdate:modelValue": n[0] || (n[0] = (r) => s.value = r),
3334
+ "onUpdate:modelValue": n[0] || (n[0] = (l) => s.value = l),
3276
3335
  images: e.images,
3277
3336
  loop: e.loop,
3278
3337
  "aria-label": e.ariaLabel,
3279
3338
  transform: e.transform,
3280
3339
  "transform-thumbnails": e.transformThumbnails,
3281
3340
  "show-thumbnails": e.showThumbnails
3282
- }, null, 8, ["modelValue", "images", "loop", "aria-label", "transform", "transform-thumbnails", "show-thumbnails"])) : e.layout === "grid" ? (v(), W(s1, {
3341
+ }, null, 8, ["modelValue", "images", "loop", "aria-label", "transform", "transform-thumbnails", "show-thumbnails"])) : e.layout === "grid" ? (v(), W(i1, {
3283
3342
  key: 1,
3284
3343
  modelValue: s.value,
3285
- "onUpdate:modelValue": n[1] || (n[1] = (r) => s.value = r),
3344
+ "onUpdate:modelValue": n[1] || (n[1] = (l) => s.value = l),
3286
3345
  images: e.images,
3287
- onSelect: l,
3346
+ onSelect: r,
3288
3347
  columns: e.columns,
3289
3348
  gap: e.gap,
3290
3349
  transform: e.transform,
3291
3350
  "aria-label": e.ariaLabel
3292
- }, null, 8, ["modelValue", "images", "columns", "gap", "transform", "aria-label"])) : e.layout === "grid-lightbox" ? (v(), W(d5, {
3351
+ }, null, 8, ["modelValue", "images", "columns", "gap", "transform", "aria-label"])) : e.layout === "grid-lightbox" ? (v(), W(m5, {
3293
3352
  key: 2,
3294
3353
  modelValue: s.value,
3295
- "onUpdate:modelValue": n[2] || (n[2] = (r) => s.value = r),
3354
+ "onUpdate:modelValue": n[2] || (n[2] = (l) => s.value = l),
3296
3355
  images: e.images,
3297
3356
  transform: e.transform,
3298
3357
  "aria-label": e.ariaLabel
3299
- }, null, 8, ["modelValue", "images", "transform", "aria-label"])) : e.layout === "masonry" ? (v(), W(C5, {
3358
+ }, null, 8, ["modelValue", "images", "transform", "aria-label"])) : e.layout === "masonry" ? (v(), W(b5, {
3300
3359
  key: 3,
3301
3360
  modelValue: s.value,
3302
- "onUpdate:modelValue": n[3] || (n[3] = (r) => s.value = r),
3361
+ "onUpdate:modelValue": n[3] || (n[3] = (l) => s.value = l),
3303
3362
  images: e.images,
3304
3363
  transform: e.transform,
3305
3364
  "aria-label": e.ariaLabel
3306
3365
  }, null, 8, ["modelValue", "images", "transform", "aria-label"])) : N("", !0)
3307
3366
  ]));
3308
3367
  }
3309
- }), e1 = /* @__PURE__ */ j(m5, [["__scopeId", "data-v-d6be1b96"]]);
3310
- e1.install = (e) => e.component("ImageGallery", e1);
3311
- const h5 = ["aria-busy"], y5 = {
3368
+ }), t1 = /* @__PURE__ */ U(k5, [["__scopeId", "data-v-d6be1b96"]]);
3369
+ t1.install = (e) => e.component("ImageGallery", t1);
3370
+ const w5 = ["aria-busy"], M5 = {
3312
3371
  key: 0,
3313
3372
  class: "message",
3314
3373
  "aria-hidden": "true"
3315
- }, b5 = {
3374
+ }, L5 = {
3316
3375
  class: "message sr-only",
3317
3376
  "aria-atomic": "true"
3318
- }, g5 = /* @__PURE__ */ _({
3377
+ }, x5 = /* @__PURE__ */ _({
3319
3378
  __name: "Spinner",
3320
3379
  props: {
3321
3380
  message: {}
3322
3381
  },
3323
3382
  setup(e) {
3324
- const o = e, t = C(0), a = C(null), s = C(o.message || ""), l = () => {
3383
+ const o = e, t = C(0), a = C(null), s = C(o.message || ""), r = () => {
3325
3384
  !o.message || a.value !== null || s.value.length > 0 && (a.value = window.setInterval(() => {
3326
3385
  t.value = t.value % 3 + 1, s.value = `${o.message}${".".repeat(t.value)}`;
3327
3386
  }, 750));
@@ -3330,36 +3389,36 @@ const h5 = ["aria-busy"], y5 = {
3330
3389
  };
3331
3390
  return Y(
3332
3391
  () => o.message,
3333
- (n, r) => {
3334
- n !== r && (s.value = n || "", i());
3392
+ (n, l) => {
3393
+ n !== l && (s.value = n || "", i());
3335
3394
  }
3336
- ), te(l), ge(i), (n, r) => (v(), f("div", {
3395
+ ), ae(r), ge(i), (n, l) => (v(), f("div", {
3337
3396
  class: "spinner-container",
3338
3397
  role: "status",
3339
3398
  "aria-live": "polite",
3340
3399
  "aria-busy": !!e.message
3341
3400
  }, [
3342
- r[0] || (r[0] = g("div", {
3401
+ l[0] || (l[0] = b("div", {
3343
3402
  class: "spinner",
3344
3403
  "aria-hidden": "true"
3345
3404
  }, null, -1)),
3346
- e.message ? (v(), f("span", y5, K(s.value), 1)) : N("", !0),
3347
- g("span", b5, K(e.message || "Loading"), 1)
3348
- ], 8, h5));
3405
+ e.message ? (v(), f("span", M5, K(s.value), 1)) : N("", !0),
3406
+ b("span", L5, K(e.message || "Loading"), 1)
3407
+ ], 8, w5));
3349
3408
  }
3350
- }), f1 = /* @__PURE__ */ j(g5, [["__scopeId", "data-v-e61a1cf5"]]), k5 = ["id", "required", "checked", "disabled", "aria-invalid", "aria-disabled", "aria-checked"], w5 = {
3409
+ }), C1 = /* @__PURE__ */ U(x5, [["__scopeId", "data-v-e61a1cf5"]]), $5 = ["id", "required", "checked", "disabled", "aria-invalid", "aria-disabled", "aria-checked"], V5 = {
3351
3410
  class: "checkbox-control",
3352
3411
  "aria-hidden": "true"
3353
- }, M5 = {
3412
+ }, I5 = {
3354
3413
  key: 0,
3355
3414
  "view-box": "0 0 16 16"
3356
- }, L5 = {
3415
+ }, H5 = {
3357
3416
  key: 1,
3358
3417
  class: "indeterminate",
3359
3418
  "view-box": "0 0 16 16"
3360
- }, x5 = { class: "checkbox-label" }, $5 = /* @__PURE__ */ _({
3419
+ }, B5 = { class: "checkbox-label" }, _5 = /* @__PURE__ */ _({
3361
3420
  __name: "Checkbox",
3362
- props: /* @__PURE__ */ oe({
3421
+ props: /* @__PURE__ */ te({
3363
3422
  id: {},
3364
3423
  disabled: { type: Boolean, default: void 0 },
3365
3424
  required: { type: Boolean, default: !1 },
@@ -3369,9 +3428,9 @@ const h5 = ["aria-busy"], y5 = {
3369
3428
  modelValue: { type: Boolean, required: !0 },
3370
3429
  modelModifiers: {}
3371
3430
  }),
3372
- emits: /* @__PURE__ */ oe(["change"], ["update:modelValue"]),
3431
+ emits: /* @__PURE__ */ te(["change"], ["update:modelValue"]),
3373
3432
  setup(e, { emit: o }) {
3374
- const t = o, a = pe(e, "modelValue"), s = e, l = ie(), i = $(() => s.id ?? `checkbox-${l}`), n = C(null), r = r1(s).value, d = $(() => s.required ? !0 : void 0), c = $(() => s.triState && a.value === void 0 ? "mixed" : void 0);
3433
+ const t = o, a = Ce(e, "modelValue"), s = e, r = ie(), i = $(() => s.id ?? `checkbox-${r}`), n = C(null), l = r1(s).value, d = $(() => s.required ? !0 : void 0), c = $(() => s.triState && a.value === void 0 ? "mixed" : void 0);
3375
3434
  Y(
3376
3435
  () => a.value,
3377
3436
  (L) => {
@@ -3390,9 +3449,9 @@ const h5 = ["aria-busy"], y5 = {
3390
3449
  }
3391
3450
  };
3392
3451
  return (L, M) => (v(), f("label", {
3393
- class: re(["checkbox-root", { required: d.value, error: e.invalid }])
3452
+ class: le(["checkbox-root", { required: d.value, error: e.invalid }])
3394
3453
  }, [
3395
- g("input", {
3454
+ b("input", {
3396
3455
  id: i.value,
3397
3456
  type: "checkbox",
3398
3457
  class: "checkbox",
@@ -3400,34 +3459,34 @@ const h5 = ["aria-busy"], y5 = {
3400
3459
  checked: a.value === !0,
3401
3460
  disabled: e.disabled,
3402
3461
  "aria-invalid": e.invalid ? "true" : void 0,
3403
- "aria-disabled": R(r),
3462
+ "aria-disabled": R(l),
3404
3463
  "aria-checked": c.value,
3405
3464
  onClick: M[0] || (M[0] = (u) => e.triState ? h(u) : void 0),
3406
3465
  onChange: M[1] || (M[1] = (u) => e.triState ? void 0 : h(u)),
3407
3466
  ref_key: "inputRef",
3408
3467
  ref: n
3409
- }, null, 40, k5),
3410
- g("span", w5, [
3411
- a.value === !0 ? (v(), f("svg", M5, [...M[2] || (M[2] = [
3412
- g("path", {
3468
+ }, null, 40, $5),
3469
+ b("span", V5, [
3470
+ a.value === !0 ? (v(), f("svg", I5, [...M[2] || (M[2] = [
3471
+ b("path", {
3413
3472
  d: "M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",
3414
3473
  fill: "currentColor"
3415
3474
  }, null, -1)
3416
- ])])) : a.value === void 0 ? (v(), f("svg", L5, [...M[3] || (M[3] = [
3417
- g("path", {
3475
+ ])])) : a.value === void 0 ? (v(), f("svg", H5, [...M[3] || (M[3] = [
3476
+ b("path", {
3418
3477
  d: "M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",
3419
3478
  fill: "currentColor"
3420
3479
  }, null, -1)
3421
3480
  ])])) : N("", !0)
3422
3481
  ]),
3423
- g("span", x5, [
3424
- U(L.$slots, "default", {}, void 0, !0)
3482
+ b("span", B5, [
3483
+ j(L.$slots, "default", {}, void 0, !0)
3425
3484
  ])
3426
3485
  ], 2));
3427
3486
  }
3428
- }), po = /* @__PURE__ */ j($5, [["__scopeId", "data-v-3a0c4f73"]]), V5 = ["for"], I5 = ["id", "value", "required", "aria-invalid", "aria-errormessage", "aria-describedby"], H5 = /* @__PURE__ */ _({
3487
+ }), go = /* @__PURE__ */ U(_5, [["__scopeId", "data-v-3a0c4f73"]]), R5 = ["for"], Z5 = ["id", "value", "required", "aria-invalid", "aria-errormessage", "aria-describedby"], A5 = /* @__PURE__ */ _({
3429
3488
  __name: "Textarea",
3430
- props: /* @__PURE__ */ oe({
3489
+ props: /* @__PURE__ */ te({
3431
3490
  id: {},
3432
3491
  label: {},
3433
3492
  type: {},
@@ -3439,28 +3498,28 @@ const h5 = ["aria-busy"], y5 = {
3439
3498
  },
3440
3499
  modelModifiers: {}
3441
3500
  }),
3442
- emits: /* @__PURE__ */ oe(["focus", "blur"], ["update:modelValue"]),
3501
+ emits: /* @__PURE__ */ te(["focus", "blur"], ["update:modelValue"]),
3443
3502
  setup(e, { emit: o }) {
3444
- const t = pe(e, "modelValue"), a = Oe(), s = qe(), l = o, i = e, n = C(null), r = C(null), d = ie(), c = `${d}-error`, h = `${d}-hint`, L = _e(a).value, M = $(() => L ? `${h} ${d}-required-hint` : h), u = Ne(i, s, c, M.value).value, y = (B) => {
3445
- we(n.value, r.value);
3503
+ const t = Ce(e, "modelValue"), a = Oe(), s = qe(), r = o, i = e, n = C(null), l = C(null), d = ie(), c = `${d}-error`, h = `${d}-hint`, L = _e(a).value, M = $(() => L ? `${h} ${d}-required-hint` : h), u = Ne(i, s, c, M.value).value, y = (B) => {
3504
+ we(n.value, l.value);
3446
3505
  const k = B.target;
3447
3506
  t.value = i.type === "number" ? Number(k.value) : k.value;
3448
3507
  }, V = $(() => i.invalid === !0 && i.errorMessage ? c : void 0);
3449
- return te(() => {
3450
- we(n.value, r.value);
3508
+ return ae(() => {
3509
+ we(n.value, l.value);
3451
3510
  }), (B, k) => (v(), f("div", {
3452
- class: re(["textarea-box", { required: R(L), error: e.invalid }]),
3511
+ class: le(["textarea-box", { required: R(L), error: e.invalid }]),
3453
3512
  ref_key: "inputBoxRef",
3454
- ref: r
3513
+ ref: l
3455
3514
  }, [
3456
- g("label", {
3515
+ b("label", {
3457
3516
  for: e.id,
3458
3517
  class: "label"
3459
- }, K(e.label), 9, V5),
3460
- g("textarea", Ce({ id: e.id }, B.$attrs, {
3518
+ }, K(e.label), 9, R5),
3519
+ b("textarea", pe({ id: e.id }, B.$attrs, {
3461
3520
  class: "custom-textarea",
3462
- onFocus: k[0] || (k[0] = (D) => R(Fe)(D, r.value, l)),
3463
- onBlur: k[1] || (k[1] = (D) => R(Ke)(D, n.value, r.value, l)),
3521
+ onFocus: k[0] || (k[0] = (D) => R(Fe)(D, l.value, r)),
3522
+ onBlur: k[1] || (k[1] = (D) => R(Ke)(D, n.value, l.value, r)),
3464
3523
  onInput: y,
3465
3524
  value: t.value,
3466
3525
  required: R(L),
@@ -3469,10 +3528,10 @@ const h5 = ["aria-busy"], y5 = {
3469
3528
  "aria-describedby": R(u),
3470
3529
  ref_key: "textareaRef",
3471
3530
  ref: n
3472
- }), " ", 16, I5),
3531
+ }), " ", 16, Z5),
3473
3532
  P(Pe, { hintId: h }, {
3474
3533
  default: G(() => [
3475
- U(B.$slots, "hint", {}, void 0, !0)
3534
+ j(B.$slots, "hint", {}, void 0, !0)
3476
3535
  ]),
3477
3536
  _: 3
3478
3537
  }),
@@ -3487,7 +3546,7 @@ const h5 = ["aria-busy"], y5 = {
3487
3546
  }, null, 8, ["invalid", "errorMessage"])
3488
3547
  ], 2));
3489
3548
  }
3490
- }), mo = /* @__PURE__ */ j(H5, [["__scopeId", "data-v-3615613f"]]), B5 = { key: 0 }, _5 = { key: 1 }, R5 = /* @__PURE__ */ _({
3549
+ }), ko = /* @__PURE__ */ U(A5, [["__scopeId", "data-v-3615613f"]]), T5 = { key: 0 }, S5 = { key: 1 }, E5 = /* @__PURE__ */ _({
3491
3550
  __name: "Highlight",
3492
3551
  props: {
3493
3552
  text: {},
@@ -3496,48 +3555,48 @@ const h5 = ["aria-busy"], y5 = {
3496
3555
  setup(e) {
3497
3556
  const o = (t, a) => {
3498
3557
  if (!a) return [{ text: t, match: !1 }];
3499
- const s = a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), l = new RegExp(s, "ig"), i = [];
3558
+ const s = a.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), r = new RegExp(s, "ig"), i = [];
3500
3559
  let n = 0;
3501
- return t.replace(l, (r, d) => (d > n && i.push({ text: t.slice(n, d), match: !1 }), i.push({ text: r, match: !0 }), n = d + r.length, r)), n < t.length && i.push({ text: t.slice(n), match: !1 }), i;
3560
+ return t.replace(r, (l, d) => (d > n && i.push({ text: t.slice(n, d), match: !1 }), i.push({ text: l, match: !0 }), n = d + l.length, l)), n < t.length && i.push({ text: t.slice(n), match: !1 }), i;
3502
3561
  };
3503
- return (t, a) => (v(!0), f(ae, null, ce(o(e.text, e.query), (s, l) => (v(), f(ae, { key: l }, [
3504
- s.match ? (v(), f("mark", B5, K(s.text), 1)) : (v(), f("span", _5, K(s.text), 1))
3562
+ return (t, a) => (v(!0), f(ne, null, de(o(e.text, e.query), (s, r) => (v(), f(ne, { key: r }, [
3563
+ s.match ? (v(), f("mark", T5, K(s.text), 1)) : (v(), f("span", S5, K(s.text), 1))
3505
3564
  ], 64))), 128));
3506
3565
  }
3507
- }), Z5 = /* @__PURE__ */ j(R5, [["__scopeId", "data-v-edfa70b3"]]);
3566
+ }), D5 = /* @__PURE__ */ U(E5, [["__scopeId", "data-v-edfa70b3"]]);
3508
3567
  process.env.NODE_ENV;
3509
3568
  process.env.NODE_ENV;
3510
3569
  process.env.NODE_ENV;
3511
- const A5 = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
3570
+ const z5 = /* @__PURE__ */ Symbol(process.env.NODE_ENV !== "production" ? "router" : "");
3512
3571
  process.env.NODE_ENV;
3513
3572
  process.env.NODE_ENV;
3514
- const S5 = {
3573
+ const O5 = {
3515
3574
  class: "ui-breadcrumb",
3516
3575
  "aria-label": "Breadcrumb"
3517
- }, T5 = { class: "ui-breadcrumb__list" }, E5 = {
3576
+ }, q5 = { class: "ui-breadcrumb__list" }, N5 = {
3518
3577
  key: 0,
3519
3578
  class: "ui-breadcrumb__separator",
3520
3579
  "aria-hidden": "true"
3521
- }, D5 = /* @__PURE__ */ _({
3580
+ }, F5 = /* @__PURE__ */ _({
3522
3581
  __name: "Breadcrumb",
3523
3582
  props: {
3524
3583
  items: {},
3525
3584
  separator: { default: "/" }
3526
3585
  },
3527
3586
  setup(e) {
3528
- const o = e, t = le(A5), a = (n) => n === o.items.length - 1, s = (n, r) => l(n, r), l = (n, r) => a(r) || n.disabled ? "span" : n.to && t ? C1("RouterLink") : n.href ? "a" : "span", i = (n, r) => a(r) || n.disabled ? { "data-disabled": n.disabled || void 0 } : n.to ? { to: n.to } : n.href ? {
3587
+ const o = e, t = re(z5), a = (n) => n === o.items.length - 1, s = (n, l) => r(n, l), r = (n, l) => a(l) || n.disabled ? "span" : n.to && t ? p1("RouterLink") : n.href ? "a" : "span", i = (n, l) => a(l) || n.disabled ? { "data-disabled": n.disabled || void 0 } : n.to ? { to: n.to } : n.href ? {
3529
3588
  href: n.href,
3530
3589
  target: n.external ? "_blank" : void 0,
3531
3590
  rel: n.external ? "noopener noreferrer" : void 0,
3532
3591
  "aria-label": n.external ? `${n.label} (opens in a new tab)` : void 0
3533
3592
  } : {};
3534
- return (n, r) => (v(), f("nav", S5, [
3535
- g("ol", T5, [
3536
- (v(!0), f(ae, null, ce(e.items, (d, c) => (v(), f("li", {
3593
+ return (n, l) => (v(), f("nav", O5, [
3594
+ b("ol", q5, [
3595
+ (v(!0), f(ne, null, de(e.items, (d, c) => (v(), f("li", {
3537
3596
  key: d.to ?? d.href ?? `${d.label}-${c}`,
3538
3597
  class: "ui-breadcrumb__item"
3539
3598
  }, [
3540
- (v(), W(Ve(s(d, c)), Ce({ class: "ui-breadcrumb__link" }, { ref_for: !0 }, i(d, c), {
3599
+ (v(), W(Ve(s(d, c)), pe({ class: "ui-breadcrumb__link" }, { ref_for: !0 }, i(d, c), {
3541
3600
  "aria-posinset": c + 1,
3542
3601
  "aria-setsize": e.items.length,
3543
3602
  "aria-current": a(c) ? "page" : void 0,
@@ -3548,8 +3607,8 @@ const S5 = {
3548
3607
  ]),
3549
3608
  _: 2
3550
3609
  }, 1040, ["aria-posinset", "aria-setsize", "aria-current", "tabindex"])),
3551
- a(c) ? N("", !0) : (v(), f("span", E5, [
3552
- U(n.$slots, "separator", {}, () => [
3610
+ a(c) ? N("", !0) : (v(), f("span", N5, [
3611
+ j(n.$slots, "separator", {}, () => [
3553
3612
  me(K(e.separator), 1)
3554
3613
  ], !0)
3555
3614
  ]))
@@ -3557,13 +3616,13 @@ const S5 = {
3557
3616
  ])
3558
3617
  ]));
3559
3618
  }
3560
- }), ho = /* @__PURE__ */ j(D5, [["__scopeId", "data-v-baed1592"]]), z5 = ["aria-invalid", "aria-required", "disabled"], O5 = { class: "sr-only" }, q5 = ["name", "value", "disabled", "required"], N5 = {
3619
+ }), wo = /* @__PURE__ */ U(F5, [["__scopeId", "data-v-baed1592"]]), K5 = ["aria-invalid", "aria-required", "disabled"], P5 = { class: "sr-only" }, U5 = ["name", "value", "disabled", "required"], j5 = {
3561
3620
  key: 0,
3562
3621
  class: "radio-control",
3563
3622
  "aria-hidden": "true"
3564
- }, F5 = { class: "radio-label" }, K5 = /* @__PURE__ */ _({
3623
+ }, X5 = { class: "radio-label" }, G5 = /* @__PURE__ */ _({
3565
3624
  __name: "RadioButton",
3566
- props: /* @__PURE__ */ oe({
3625
+ props: /* @__PURE__ */ te({
3567
3626
  name: {},
3568
3627
  options: {},
3569
3628
  disabled: { type: Boolean },
@@ -3579,53 +3638,53 @@ const S5 = {
3579
3638
  }),
3580
3639
  emits: ["update:modelValue"],
3581
3640
  setup(e) {
3582
- const o = e, t = pe(e, "modelValue"), a = $(() => o.invalid ? "true" : void 0), s = $(() => o.required && !o.disabled ? "true" : void 0), l = $(() => o.disabled ? !0 : void 0);
3641
+ const o = e, t = Ce(e, "modelValue"), a = $(() => o.invalid ? "true" : void 0), s = $(() => o.required && !o.disabled ? "true" : void 0), r = $(() => o.disabled ? !0 : void 0);
3583
3642
  return (i, n) => (v(), f("fieldset", {
3584
- class: re(["radio-group", { "in-column": e.inColumn, btn: e.mode === "button" }]),
3643
+ class: le(["radio-group", { "in-column": e.inColumn, btn: e.mode === "button" }]),
3585
3644
  "aria-invalid": a.value,
3586
3645
  "aria-required": s.value,
3587
- disabled: l.value
3646
+ disabled: r.value
3588
3647
  }, [
3589
- g("legend", O5, K(e.name), 1),
3590
- (v(!0), f(ae, null, ce(e.options, (r) => (v(), f("label", {
3591
- key: r.key,
3592
- class: re(["radio", { checked: t.value === r.key, disabled: e.disabled || r.disabled }])
3648
+ b("legend", P5, K(e.name), 1),
3649
+ (v(!0), f(ne, null, de(e.options, (l) => (v(), f("label", {
3650
+ key: l.key,
3651
+ class: le(["radio", { checked: t.value === l.key, disabled: e.disabled || l.disabled }])
3593
3652
  }, [
3594
- Ie(g("input", {
3653
+ Ie(b("input", {
3595
3654
  type: "radio",
3596
3655
  class: "radio-input",
3597
3656
  name: e.name,
3598
- value: r.key,
3599
- disabled: e.disabled || r.disabled,
3657
+ value: l.key,
3658
+ disabled: e.disabled || l.disabled,
3600
3659
  required: e.required,
3601
3660
  "onUpdate:modelValue": n[0] || (n[0] = (d) => t.value = d)
3602
- }, null, 8, q5), [
3603
- [p1, t.value]
3661
+ }, null, 8, U5), [
3662
+ [m1, t.value]
3604
3663
  ]),
3605
- e.mode === "standard" ? (v(), f("span", N5)) : N("", !0),
3606
- g("span", F5, K(r.label), 1)
3664
+ e.mode === "standard" ? (v(), f("span", j5)) : N("", !0),
3665
+ b("span", X5, K(l.label), 1)
3607
3666
  ], 2))), 128))
3608
- ], 10, z5));
3667
+ ], 10, K5));
3609
3668
  }
3610
- }), yo = /* @__PURE__ */ j(K5, [["__scopeId", "data-v-8f76f7f0"]]), P5 = ["for"], U5 = ["id", "type", "aria-expanded", "aria-activedescendant", "aria-required", "aria-invalid", "disabled"], j5 = ["id", "aria-disabled", "aria-selected", "onClick"], X5 = {
3669
+ }), Mo = /* @__PURE__ */ U(G5, [["__scopeId", "data-v-8f76f7f0"]]), W5 = ["for"], J5 = ["id", "type", "aria-expanded", "aria-activedescendant", "aria-required", "aria-invalid", "disabled"], Y5 = ["id", "aria-disabled", "aria-selected", "onClick"], Q5 = {
3611
3670
  class: "option-value",
3612
3671
  "aria-hidden": "true"
3613
- }, G5 = { class: "option-value sr-only" }, W5 = {
3672
+ }, ea = { class: "option-value sr-only" }, ta = {
3614
3673
  key: 1,
3615
3674
  class: "option no-found",
3616
3675
  "aria-disabled": "true"
3617
- }, J5 = {
3676
+ }, aa = {
3618
3677
  key: 3,
3619
3678
  class: "option recents",
3620
3679
  "aria-disabled": "true",
3621
3680
  "aria-hidden": "true"
3622
- }, Y5 = ["onClick"], Q5 = { class: "option-value" }, ea = {
3681
+ }, oa = ["onClick"], na = { class: "option-value" }, la = {
3623
3682
  key: 0,
3624
3683
  class: "start-icon",
3625
3684
  "aria-hidden": "true"
3626
- }, ta = /* @__PURE__ */ _({
3685
+ }, ra = /* @__PURE__ */ _({
3627
3686
  __name: "Autocomplete",
3628
- props: /* @__PURE__ */ oe({
3687
+ props: /* @__PURE__ */ te({
3629
3688
  id: {},
3630
3689
  type: { default: "text" },
3631
3690
  options: {},
@@ -3647,14 +3706,14 @@ const S5 = {
3647
3706
  },
3648
3707
  modelModifiers: {}
3649
3708
  }),
3650
- emits: /* @__PURE__ */ oe(["change", "select", "focus", "blur"], ["update:modelValue"]),
3709
+ emits: /* @__PURE__ */ te(["change", "select", "focus", "blur"], ["update:modelValue"]),
3651
3710
  setup(e, { emit: o }) {
3652
- const t = e, a = o, s = pe(e, "modelValue"), l = C(null), i = C(null), n = C(""), r = C(!1), d = C([]), c = C(null), h = C(null), L = $(() => t.id ? `${t.id}-search-history` : "search-history"), u = `${ie()}-list`, y = $(() => c.value !== null ? `${u}-option-${c.value}` : void 0), V = $(() => r.value && y.value ? y.value : void 0), B = $(() => d.value.length > 0), k = $(() => {
3711
+ const t = e, a = o, s = Ce(e, "modelValue"), r = C(null), i = C(null), n = C(""), l = C(!1), d = C([]), c = C(null), h = C(null), L = $(() => t.id ? `${t.id}-search-history` : "search-history"), u = `${ie()}-list`, y = $(() => c.value !== null ? `${u}-option-${c.value}` : void 0), V = $(() => l.value && y.value ? y.value : void 0), B = $(() => d.value.length > 0), k = $(() => {
3653
3712
  if (!t.filterable) return t.options;
3654
3713
  const H = n.value.toLowerCase();
3655
3714
  return t.options.filter((z) => t.getValue(z).toLowerCase().includes(H));
3656
3715
  }), D = r1(t).value, E = _e(t).value;
3657
- Y(n, () => we(l.value, i.value)), Y(
3716
+ Y(n, () => we(r.value, i.value)), Y(
3658
3717
  () => L.value,
3659
3718
  (H) => {
3660
3719
  if (H)
@@ -3665,7 +3724,7 @@ const S5 = {
3665
3724
  }
3666
3725
  },
3667
3726
  { immediate: !0 }
3668
- ), Y(r, async (H) => {
3727
+ ), Y(l, async (H) => {
3669
3728
  if (!H) {
3670
3729
  c.value = null;
3671
3730
  return;
@@ -3674,7 +3733,7 @@ const S5 = {
3674
3733
  }), Y(
3675
3734
  () => t.loading,
3676
3735
  async (H) => {
3677
- H || r.value && k.value.length !== 0 && (await Le(), A());
3736
+ H || l.value && k.value.length !== 0 && (await Le(), A());
3678
3737
  }
3679
3738
  ), Y(
3680
3739
  () => t.options,
@@ -3683,37 +3742,37 @@ const S5 = {
3683
3742
  }
3684
3743
  );
3685
3744
  const p = (H) => {
3686
- n.value.length >= t.minChars && !t.filterable && !t.loading && (r.value = !0), Fe(H, i.value, a);
3745
+ n.value.length >= t.minChars && !t.filterable && !t.loading && (l.value = !0), Fe(H, i.value, a);
3687
3746
  }, x = (H) => {
3688
3747
  const z = H.relatedTarget;
3689
- i.value?.contains(z) || (r.value = !1, s.value ? m() : n.value = "", Ke(H, l.value, i.value, a));
3748
+ i.value?.contains(z) || (l.value = !1, s.value ? m() : n.value = "", Ke(H, r.value, i.value, a));
3690
3749
  }, I = (H, z) => {
3691
3750
  const Q = i.value;
3692
3751
  if (!Q || t.isDisabled(H)) return;
3693
- r.value = !1, T(n.value), h.value = z, c.value = z;
3694
- const S = t.getKey(H);
3695
- S && S.toString().length > 0 ? Q.classList.add("filled") : Q.classList.remove("filled"), n.value = t.getValue(H), s.value = S, a("select", S);
3752
+ l.value = !1, S(n.value), h.value = z, c.value = z;
3753
+ const T = t.getKey(H);
3754
+ T && T.toString().length > 0 ? Q.classList.add("filled") : Q.classList.remove("filled"), n.value = t.getValue(H), s.value = T, a("select", T);
3696
3755
  }, O = (H) => {
3697
- if (!r.value && ["ArrowDown", "ArrowUp"].includes(H.key)) {
3698
- r.value = !0, c.value = c.value ?? k.value.findIndex((z) => !t.isDisabled(z)), H.preventDefault();
3756
+ if (!l.value && ["ArrowDown", "ArrowUp"].includes(H.key)) {
3757
+ l.value = !0, c.value = c.value ?? k.value.findIndex((z) => !t.isDisabled(z)), H.preventDefault();
3699
3758
  return;
3700
3759
  }
3701
- if (r.value) {
3760
+ if (l.value) {
3702
3761
  if (H.key === "ArrowDown" && (Z(1), H.preventDefault()), H.key === "ArrowUp" && (Z(-1), H.preventDefault()), H.key === "Home") {
3703
3762
  const z = J();
3704
3763
  z >= 0 && (c.value = z), H.preventDefault();
3705
3764
  }
3706
3765
  if (H.key === "End") {
3707
- const z = de();
3766
+ const z = ve();
3708
3767
  z >= 0 && (c.value = z), H.preventDefault();
3709
3768
  }
3710
3769
  if (H.key === "Enter") {
3711
3770
  if (c.value === null) return;
3712
3771
  const z = k.value[c.value];
3713
3772
  if (!z || t.isDisabled(z)) return;
3714
- I(z, c.value), r.value = !1, H.preventDefault();
3773
+ I(z, c.value), l.value = !1, H.preventDefault();
3715
3774
  }
3716
- H.key === "Escape" && (r.value = !1);
3775
+ H.key === "Escape" && (l.value = !1);
3717
3776
  }
3718
3777
  }, Z = (H) => {
3719
3778
  if (c.value === null) return;
@@ -3723,14 +3782,14 @@ const S5 = {
3723
3782
  while (z >= 0 && z < k.value.length && t.isDisabled(k.value[z]));
3724
3783
  z >= 0 && z < k.value.length && (c.value = z);
3725
3784
  }, q = () => {
3726
- n.value.length === 0 && (s.value = ""), we(l.value, i.value), n.value.length >= t.minChars ? (a("change", n.value), r.value = !0) : r.value = !1;
3785
+ n.value.length === 0 && (s.value = ""), we(r.value, i.value), n.value.length >= t.minChars ? (a("change", n.value), l.value = !0) : l.value = !1;
3727
3786
  }, m = () => {
3728
3787
  if (s.value.toString().length === 0 || !t.options || t.options.length === 0) return;
3729
3788
  const H = t.options.findIndex((z) => t.getKey(z) === s.value);
3730
- H > -1 && (c.value = H, h.value = H, n.value = t.getValue(t.options[H]), we(l.value, i.value));
3731
- }, b = () => {
3789
+ H > -1 && (c.value = H, h.value = H, n.value = t.getValue(t.options[H]), we(r.value, i.value));
3790
+ }, g = () => {
3732
3791
  n.value = "", s.value = "";
3733
- }, T = (H) => {
3792
+ }, S = (H) => {
3734
3793
  !H || H.trim().length === 0 || (d.value = [
3735
3794
  H,
3736
3795
  ...d.value.filter((z) => z !== H)
@@ -3740,30 +3799,30 @@ const S5 = {
3740
3799
  }, A = () => {
3741
3800
  const H = J();
3742
3801
  H >= 0 && (c.value = H);
3743
- }, J = () => k.value.findIndex((H) => !t.isDisabled(H)), de = () => {
3802
+ }, J = () => k.value.findIndex((H) => !t.isDisabled(H)), ve = () => {
3744
3803
  for (let H = k.value.length - 1; H >= 0; H--) if (!t.isDisabled(k.value[H])) return H;
3745
3804
  return -1;
3746
3805
  };
3747
- return te(() => {
3748
- m(), we(l.value, i.value);
3806
+ return ae(() => {
3807
+ m(), we(r.value, i.value);
3749
3808
  }), (H, z) => (v(), f("div", {
3750
- class: re(["autocomplete", { required: R(E), error: e.invalid, "has-icon": Object.keys(H.$slots).includes("icon") }]),
3809
+ class: le(["autocomplete", { required: R(E), error: e.invalid, "has-icon": Object.keys(H.$slots).includes("icon") }]),
3751
3810
  ref_key: "autocompleteRef",
3752
3811
  ref: i
3753
3812
  }, [
3754
- g("label", {
3813
+ b("label", {
3755
3814
  for: e.id,
3756
3815
  class: "label"
3757
- }, K(e.label), 9, P5),
3758
- Ie(g("input", Ce({
3816
+ }, K(e.label), 9, W5),
3817
+ Ie(b("input", pe({
3759
3818
  id: e.id,
3760
3819
  type: e.type
3761
3820
  }, H.$attrs, {
3762
3821
  ref_key: "inputRef",
3763
- ref: l,
3822
+ ref: r,
3764
3823
  role: "combobox",
3765
3824
  "aria-autocomplete": "list",
3766
- "aria-expanded": r.value,
3825
+ "aria-expanded": l.value,
3767
3826
  "aria-controls": u,
3768
3827
  "aria-activedescendant": V.value,
3769
3828
  "aria-required": R(E),
@@ -3774,76 +3833,76 @@ const S5 = {
3774
3833
  onBlur: x,
3775
3834
  onInput: q,
3776
3835
  onKeydown: O
3777
- }), null, 16, U5), [
3778
- [m1, n.value]
3836
+ }), null, 16, J5), [
3837
+ [h1, n.value]
3779
3838
  ]),
3780
3839
  P($e, { name: "select" }, {
3781
3840
  default: G(() => [
3782
- Ie(g("ul", {
3841
+ Ie(b("ul", {
3783
3842
  id: u,
3784
3843
  role: "listbox",
3785
3844
  class: "options"
3786
3845
  }, [
3787
- k.value.length > 0 ? (v(!0), f(ae, { key: 0 }, ce(k.value, (Q, S) => (v(), f("li", {
3788
- id: `${u}-option-${S}`,
3846
+ k.value.length > 0 ? (v(!0), f(ne, { key: 0 }, de(k.value, (Q, T) => (v(), f("li", {
3847
+ id: `${u}-option-${T}`,
3789
3848
  key: e.getKey(Q),
3790
3849
  role: "option",
3791
- class: re(["option", { "focus-visible": c.value === S }]),
3850
+ class: le(["option", { "focus-visible": c.value === T }]),
3792
3851
  "aria-disabled": t.isDisabled(Q) || void 0,
3793
- "aria-selected": S === h.value,
3794
- onMousedown: z[1] || (z[1] = ne(() => {
3852
+ "aria-selected": T === h.value,
3853
+ onMousedown: z[1] || (z[1] = oe(() => {
3795
3854
  }, ["prevent"])),
3796
- onClick: (X) => !t.isDisabled(Q) && I(Q, S)
3855
+ onClick: (X) => !t.isDisabled(Q) && I(Q, T)
3797
3856
  }, [
3798
3857
  t.isDisabled(Q) ? N("", !0) : (v(), W(ue, {
3799
3858
  key: 0,
3800
3859
  name: "search",
3801
3860
  size: 22
3802
3861
  })),
3803
- U(H.$slots, "option", {
3862
+ j(H.$slots, "option", {
3804
3863
  option: Q,
3805
3864
  value: e.getValue(Q),
3806
3865
  query: n.value,
3807
- selected: S === h.value,
3808
- active: S === c.value
3866
+ selected: T === h.value,
3867
+ active: T === c.value
3809
3868
  }, () => [
3810
- g("div", X5, [
3811
- P(Z5, {
3869
+ b("div", Q5, [
3870
+ P(D5, {
3812
3871
  text: e.getValue(Q),
3813
3872
  query: n.value
3814
3873
  }, null, 8, ["text", "query"])
3815
3874
  ])
3816
3875
  ], !0),
3817
- g("div", G5, K(e.getValue(Q)), 1)
3818
- ], 42, j5))), 128)) : k.value.length === 0 && !e.loading ? (v(), f("li", W5, [...z[3] || (z[3] = [
3819
- g("div", { class: "option-value" }, "No results found", -1)
3820
- ])])) : (v(), W(f1, {
3876
+ b("div", ea, K(e.getValue(Q)), 1)
3877
+ ], 42, Y5))), 128)) : k.value.length === 0 && !e.loading ? (v(), f("li", ta, [...z[3] || (z[3] = [
3878
+ b("div", { class: "option-value" }, "No results found", -1)
3879
+ ])])) : (v(), W(C1, {
3821
3880
  key: 2,
3822
3881
  "aria-live": "polite",
3823
3882
  role: "status",
3824
3883
  message: "Loading"
3825
3884
  })),
3826
- B.value ? (v(), f("li", J5, [...z[4] || (z[4] = [
3827
- g("div", { class: "option-value" }, " Recents ", -1)
3885
+ B.value ? (v(), f("li", aa, [...z[4] || (z[4] = [
3886
+ b("div", { class: "option-value" }, " Recents ", -1)
3828
3887
  ])])) : N("", !0),
3829
- (v(!0), f(ae, null, ce(d.value, (Q) => (v(), f("li", {
3888
+ (v(!0), f(ne, null, de(d.value, (Q) => (v(), f("li", {
3830
3889
  key: Q,
3831
3890
  role: "presentation",
3832
3891
  "aria-hidden": "true",
3833
3892
  class: "option recent-item",
3834
- onClick: (S) => w(Q)
3893
+ onClick: (T) => w(Q)
3835
3894
  }, [
3836
3895
  P(ue, { name: "clock" }),
3837
- g("div", Q5, K(Q), 1)
3838
- ], 8, Y5))), 128))
3896
+ b("div", na, K(Q), 1)
3897
+ ], 8, oa))), 128))
3839
3898
  ], 512), [
3840
- [ze, r.value]
3899
+ [ze, l.value]
3841
3900
  ])
3842
3901
  ]),
3843
3902
  _: 3
3844
3903
  }),
3845
- H.$slots.icon ? (v(), f("span", ea, [
3846
- U(H.$slots, "icon", {}, void 0, !0)
3904
+ H.$slots.icon ? (v(), f("span", la, [
3905
+ j(H.$slots, "icon", {}, void 0, !0)
3847
3906
  ])) : N("", !0),
3848
3907
  n.value.length > 0 ? (v(), W(he, {
3849
3908
  key: 1,
@@ -3851,9 +3910,9 @@ const S5 = {
3851
3910
  class: "btn btn-icon",
3852
3911
  "aria-label": "Clear search query",
3853
3912
  title: "Clear search query",
3854
- onMousedown: z[2] || (z[2] = ne(() => {
3913
+ onMousedown: z[2] || (z[2] = oe(() => {
3855
3914
  }, ["prevent"])),
3856
- onClick: b
3915
+ onClick: g
3857
3916
  }, {
3858
3917
  default: G(() => [
3859
3918
  P(ue, {
@@ -3867,37 +3926,37 @@ const S5 = {
3867
3926
  })) : N("", !0)
3868
3927
  ], 2));
3869
3928
  }
3870
- }), bo = /* @__PURE__ */ j(ta, [["__scopeId", "data-v-aefb7615"]]), aa = 5, ve = o1({
3929
+ }), Lo = /* @__PURE__ */ U(ra, [["__scopeId", "data-v-aefb7615"]]), sa = 5, fe = n1({
3871
3930
  toasts: []
3872
3931
  });
3873
- let oa = 0;
3932
+ let ia = 0;
3874
3933
  const Me = (e, o = "info") => {
3875
3934
  const t = {
3876
- id: `toast-${oa++}`,
3935
+ id: `toast-${ia++}`,
3877
3936
  duration: 4e3,
3878
3937
  ...typeof e == "string" ? { description: e } : e,
3879
3938
  variant: o
3880
3939
  };
3881
- return ve.toasts.push(t), ve.toasts.length > aa && ve.toasts.shift(), t.id;
3882
- }, na = (e, o) => ve.toasts = ve.toasts.map((t) => t.id === e ? { ...t, ...o, loading: !1 } : t), go = Object.assign(
3940
+ return fe.toasts.push(t), fe.toasts.length > sa && fe.toasts.shift(), t.id;
3941
+ }, ua = (e, o) => fe.toasts = fe.toasts.map((t) => t.id === e ? { ...t, ...o, loading: !1 } : t), xo = Object.assign(
3883
3942
  (e) => Me(e),
3884
3943
  {
3885
- update: na,
3944
+ update: ua,
3886
3945
  success: (e) => Me(e, "success"),
3887
3946
  error: (e) => Me(e, "error"),
3888
3947
  info: (e) => Me(e, "info"),
3889
3948
  warning: (e) => Me(e, "warning"),
3890
3949
  loading: (e) => Me({ description: e, loading: !0, variant: "info", duration: 1 / 0 }),
3891
- dismiss: (e) => ve.toasts = ve.toasts.filter((o) => o.id !== e),
3950
+ dismiss: (e) => fe.toasts = fe.toasts.filter((o) => o.id !== e),
3892
3951
  promise(e, o) {
3893
3952
  const t = Me({ loading: !0, description: o.loading, duration: 1 / 0 });
3894
- return e.then(() => ve.toasts = ve.toasts.map((a) => a.id === t ? { ...a, description: o.success, duration: 3e3, variant: "success", loading: !1 } : a)).catch(() => ve.toasts = ve.toasts.map((a) => a.id === t ? { ...a, description: o.error, duration: 5e3, variant: "error", loading: !1 } : a)), e;
3953
+ return e.then(() => fe.toasts = fe.toasts.map((a) => a.id === t ? { ...a, description: o.success, duration: 3e3, variant: "success", loading: !1 } : a)).catch(() => fe.toasts = fe.toasts.map((a) => a.id === t ? { ...a, description: o.error, duration: 5e3, variant: "error", loading: !1 } : a)), e;
3895
3954
  }
3896
3955
  }
3897
- ), ra = ["data-variant", "data-state", "role", "aria-describedby"], la = { class: "content" }, sa = {
3956
+ ), ca = ["data-variant", "data-state", "role", "aria-describedby"], da = { class: "content" }, va = {
3898
3957
  key: 0,
3899
3958
  class: "progress"
3900
- }, ia = 160, ua = /* @__PURE__ */ _({
3959
+ }, fa = 160, Ca = /* @__PURE__ */ _({
3901
3960
  __name: "ToastRoot",
3902
3961
  props: {
3903
3962
  id: {},
@@ -3908,30 +3967,30 @@ const Me = (e, o = "info") => {
3908
3967
  },
3909
3968
  setup(e) {
3910
3969
  const o = e, t = C(null), a = C("open"), s = C(100);
3911
- let l = Date.now(), i;
3970
+ let r = Date.now(), i;
3912
3971
  const n = () => {
3913
- const c = Date.now() - l;
3972
+ const c = Date.now() - r;
3914
3973
  if (s.value = Math.max(0, 100 - c / o.duration * 100), s.value <= 0) {
3915
3974
  d();
3916
3975
  return;
3917
3976
  }
3918
3977
  i = requestAnimationFrame(n);
3919
- }, r = () => {
3978
+ }, l = () => {
3920
3979
  if (cancelAnimationFrame(i), o.duration === 1 / 0) {
3921
3980
  s.value = 100;
3922
3981
  return;
3923
3982
  }
3924
- l = Date.now(), i = requestAnimationFrame(n);
3983
+ r = Date.now(), i = requestAnimationFrame(n);
3925
3984
  };
3926
3985
  Y(
3927
3986
  () => o.duration,
3928
- () => r(),
3987
+ () => l(),
3929
3988
  { immediate: !0 }
3930
3989
  );
3931
3990
  const d = () => {
3932
- cancelAnimationFrame(i), a.value = "closing", setTimeout(() => ve.toasts = ve.toasts.filter((c) => c.id !== o.id), ia);
3991
+ cancelAnimationFrame(i), a.value = "closing", setTimeout(() => fe.toasts = fe.toasts.filter((c) => c.id !== o.id), fa);
3933
3992
  };
3934
- return te(() => o.variant === "error" && o.focus && t.value?.focus()), He(() => cancelAnimationFrame(i)), (c, h) => (v(), f("div", {
3993
+ return ae(() => o.variant === "error" && o.focus && t.value?.focus()), He(() => cancelAnimationFrame(i)), (c, h) => (v(), f("div", {
3935
3994
  ref_key: "rootRef",
3936
3995
  ref: t,
3937
3996
  tabindex: "-1",
@@ -3943,8 +4002,8 @@ const Me = (e, o = "info") => {
3943
4002
  "aria-atomic": "true",
3944
4003
  "aria-describedby": e.loading ? void 0 : `toast-desc-${e.id}`
3945
4004
  }, [
3946
- g("div", la, [
3947
- U(c.$slots, "default", {}, void 0, !0),
4005
+ b("div", da, [
4006
+ j(c.$slots, "default", {}, void 0, !0),
3948
4007
  P(he, {
3949
4008
  type: "button",
3950
4009
  onClick: d,
@@ -3960,22 +4019,22 @@ const Me = (e, o = "info") => {
3960
4019
  _: 1
3961
4020
  }, 8, ["aria-label"])
3962
4021
  ]),
3963
- e.duration !== 1 / 0 ? (v(), f("div", sa, [
3964
- g("div", {
4022
+ e.duration !== 1 / 0 ? (v(), f("div", va, [
4023
+ b("div", {
3965
4024
  class: "bar",
3966
4025
  style: ye({ width: s.value + "%" })
3967
4026
  }, null, 4)
3968
4027
  ])) : N("", !0)
3969
- ], 8, ra));
4028
+ ], 8, ca));
3970
4029
  }
3971
- }), ca = /* @__PURE__ */ j(ua, [["__scopeId", "data-v-f9e75b9d"]]), da = { class: "toast-viewport" }, va = { class: "toast-message" }, fa = { key: 0 }, Ca = ["id"], pa = /* @__PURE__ */ _({
4030
+ }), pa = /* @__PURE__ */ U(Ca, [["__scopeId", "data-v-f9e75b9d"]]), ma = { class: "toast-viewport" }, ha = { class: "toast-message" }, ya = { key: 0 }, ba = ["id"], ga = /* @__PURE__ */ _({
3972
4031
  __name: "ToastViewport",
3973
4032
  setup(e) {
3974
4033
  return (o, t) => (v(), W(Be, { to: "body" }, [
3975
- g("div", da, [
3976
- P(h1, { name: "toast-stack" }, {
4034
+ b("div", ma, [
4035
+ P(y1, { name: "toast-stack" }, {
3977
4036
  default: G(() => [
3978
- (v(!0), f(ae, null, ce(R(ve).toasts, (a) => (v(), W(ca, {
4037
+ (v(!0), f(ne, null, de(R(fe).toasts, (a) => (v(), W(pa, {
3979
4038
  key: a.id,
3980
4039
  id: a.id,
3981
4040
  duration: a.duration,
@@ -3983,16 +4042,16 @@ const Me = (e, o = "info") => {
3983
4042
  loading: a.loading
3984
4043
  }, {
3985
4044
  default: G(() => [
3986
- g("div", va, [
3987
- a.title ? (v(), f("strong", fa, K(a.title), 1)) : N("", !0),
3988
- a.loading ? (v(), W(f1, {
4045
+ b("div", ha, [
4046
+ a.title ? (v(), f("strong", ya, K(a.title), 1)) : N("", !0),
4047
+ a.loading ? (v(), W(C1, {
3989
4048
  key: 1,
3990
4049
  message: a.description,
3991
4050
  "aria-hidden": "true"
3992
4051
  }, null, 8, ["message"])) : (v(), f("p", {
3993
4052
  key: 2,
3994
4053
  id: `toast-desc-${a.id}`
3995
- }, K(a.description), 9, Ca))
4054
+ }, K(a.description), 9, ba))
3996
4055
  ])
3997
4056
  ]),
3998
4057
  _: 2
@@ -4003,18 +4062,18 @@ const Me = (e, o = "info") => {
4003
4062
  ])
4004
4063
  ]));
4005
4064
  }
4006
- }), t1 = /* @__PURE__ */ j(pa, [["__scopeId", "data-v-afe47f2a"]]);
4007
- let a1 = !1;
4008
- const ko = {
4065
+ }), a1 = /* @__PURE__ */ U(ga, [["__scopeId", "data-v-afe47f2a"]]);
4066
+ let o1 = !1;
4067
+ const $o = {
4009
4068
  install(e, o = {}) {
4010
4069
  const { autoMount: t = !0 } = o;
4011
- if (e.component("ToastViewport", t1), t && !a1 && typeof window < "u") {
4012
- a1 = !0;
4070
+ if (e.component("ToastViewport", a1), t && !o1 && typeof window < "u") {
4071
+ o1 = !0;
4013
4072
  const a = document.createElement("div");
4014
- a.setAttribute("data-toast-host", ""), document.body.appendChild(a), y1(t1).mount(a);
4073
+ a.setAttribute("data-toast-host", ""), document.body.appendChild(a), b1(a1).mount(a);
4015
4074
  }
4016
4075
  }
4017
- }, ma = /* @__PURE__ */ _({
4076
+ }, ka = /* @__PURE__ */ _({
4018
4077
  __name: "Card",
4019
4078
  props: {
4020
4079
  as: { default: "div" },
@@ -4022,56 +4081,56 @@ const ko = {
4022
4081
  },
4023
4082
  emits: ["click"],
4024
4083
  setup(e, { emit: o }) {
4025
- const t = e, a = o, s = C(), l = C();
4026
- be("card:labelId", s), be("card:descriptionId", l);
4084
+ const t = e, a = o, s = C(), r = C();
4085
+ be("card:labelId", s), be("card:descriptionId", r);
4027
4086
  const i = $(() => t.clickable && t.as !== "button" && t.as !== "a"), n = () => t.clickable && a("click");
4028
- return (r, d) => (v(), W(Ve(e.as), {
4029
- class: re(["rs-card", { clickable: e.clickable }]),
4087
+ return (l, d) => (v(), W(Ve(e.as), {
4088
+ class: le(["rs-card", { clickable: e.clickable }]),
4030
4089
  tabindex: i.value ? 0 : void 0,
4031
4090
  role: i.value ? "button" : void 0,
4032
4091
  onClick: n,
4033
4092
  onKeydown: [
4034
- d[0] || (d[0] = fe(ne((c) => i.value && n(), ["prevent"]), ["enter"])),
4035
- d[1] || (d[1] = fe(ne((c) => i.value && n(), ["prevent"]), ["space"]))
4093
+ d[0] || (d[0] = ce(oe((c) => i.value && n(), ["prevent"]), ["enter"])),
4094
+ d[1] || (d[1] = ce(oe((c) => i.value && n(), ["prevent"]), ["space"]))
4036
4095
  ],
4037
4096
  "aria-labelledby": s.value,
4038
- "aria-describedby": l.value
4097
+ "aria-describedby": r.value
4039
4098
  }, {
4040
4099
  default: G(() => [
4041
- U(r.$slots, "default", {}, void 0, !0)
4100
+ j(l.$slots, "default", {}, void 0, !0)
4042
4101
  ]),
4043
4102
  _: 3
4044
4103
  }, 40, ["class", "tabindex", "role", "aria-labelledby", "aria-describedby"]));
4045
4104
  }
4046
- }), wo = /* @__PURE__ */ j(ma, [["__scopeId", "data-v-e892a9f2"]]), ha = /* @__PURE__ */ _({
4105
+ }), Vo = /* @__PURE__ */ U(ka, [["__scopeId", "data-v-e892a9f2"]]), wa = /* @__PURE__ */ _({
4047
4106
  __name: "CardHeader",
4048
4107
  props: {
4049
4108
  as: { default: "div" }
4050
4109
  },
4051
4110
  setup(e) {
4052
- const o = le("card:labelId", void 0), t = `rs-card-label-${ie()}`;
4053
- return te(() => o && (o.value = t)), (a, s) => (v(), W(Ve(e.as), {
4111
+ const o = re("card:labelId", void 0), t = `rs-card-label-${ie()}`;
4112
+ return ae(() => o && (o.value = t)), (a, s) => (v(), W(Ve(e.as), {
4054
4113
  id: t,
4055
4114
  class: "rs-card-header"
4056
4115
  }, {
4057
4116
  default: G(() => [
4058
- U(a.$slots, "default", {}, void 0, !0)
4117
+ j(a.$slots, "default", {}, void 0, !0)
4059
4118
  ]),
4060
4119
  _: 3
4061
4120
  }));
4062
4121
  }
4063
- }), Mo = /* @__PURE__ */ j(ha, [["__scopeId", "data-v-570794b4"]]), ya = /* @__PURE__ */ _({
4122
+ }), Io = /* @__PURE__ */ U(wa, [["__scopeId", "data-v-570794b4"]]), Ma = /* @__PURE__ */ _({
4064
4123
  __name: "CardBody",
4065
4124
  setup(e) {
4066
- const o = le("card:descriptionId", void 0), t = `rs-card-desc-${ie()}`;
4067
- return te(() => o && (o.value = t)), (a, s) => (v(), f("div", {
4125
+ const o = re("card:descriptionId", void 0), t = `rs-card-desc-${ie()}`;
4126
+ return ae(() => o && (o.value = t)), (a, s) => (v(), f("div", {
4068
4127
  id: t,
4069
4128
  class: "rs-card-body"
4070
4129
  }, [
4071
- U(a.$slots, "default", {}, void 0, !0)
4130
+ j(a.$slots, "default", {}, void 0, !0)
4072
4131
  ]));
4073
4132
  }
4074
- }), Lo = /* @__PURE__ */ j(ya, [["__scopeId", "data-v-f0380fda"]]), ba = /* @__PURE__ */ _({
4133
+ }), Ho = /* @__PURE__ */ U(Ma, [["__scopeId", "data-v-f0380fda"]]), La = /* @__PURE__ */ _({
4075
4134
  __name: "CardFooter",
4076
4135
  props: {
4077
4136
  as: { default: "div" }
@@ -4079,28 +4138,28 @@ const ko = {
4079
4138
  setup(e) {
4080
4139
  return (o, t) => (v(), W(Ve(e.as), { class: "rs-card-footer" }, {
4081
4140
  default: G(() => [
4082
- U(o.$slots, "default", {}, void 0, !0)
4141
+ j(o.$slots, "default", {}, void 0, !0)
4083
4142
  ]),
4084
4143
  _: 3
4085
4144
  }));
4086
4145
  }
4087
- }), xo = /* @__PURE__ */ j(ba, [["__scopeId", "data-v-9b223473"]]), ga = ["data-status", "data-orientation", "data-active", "data-completed", "aria-labelledby", "tabindex", "aria-current", "aria-posinset", "aria-setsize", "aria-describedby"], ka = {
4146
+ }), Bo = /* @__PURE__ */ U(La, [["__scopeId", "data-v-9b223473"]]), xa = ["data-status", "data-orientation", "data-active", "data-completed", "aria-labelledby", "tabindex", "aria-current", "aria-posinset", "aria-setsize", "aria-describedby"], $a = {
4088
4147
  key: 2,
4089
4148
  class: "icon",
4090
4149
  "aria-hidden": "true",
4091
4150
  focusable: "false"
4092
- }, wa = {
4151
+ }, Va = {
4093
4152
  key: 3,
4094
4153
  class: "icon",
4095
4154
  "aria-hidden": "true",
4096
4155
  focusable: "false"
4097
- }, Ma = {
4156
+ }, Ia = {
4098
4157
  key: 4,
4099
4158
  class: "dot"
4100
- }, La = ["id"], xa = { class: "addons" }, $a = ["id"], Va = {
4159
+ }, Ha = ["id"], Ba = { class: "addons" }, _a = ["id"], Ra = {
4101
4160
  key: 0,
4102
4161
  class: "slot-default"
4103
- }, Ia = /* @__PURE__ */ _({
4162
+ }, Za = /* @__PURE__ */ _({
4104
4163
  __name: "Step",
4105
4164
  props: {
4106
4165
  title: {},
@@ -4109,11 +4168,11 @@ const ko = {
4109
4168
  size: {}
4110
4169
  },
4111
4170
  setup(e) {
4112
- const o = e, t = le("StepsContext");
4171
+ const o = e, t = re("StepsContext");
4113
4172
  if (!t) throw new Error("Step component must be used inside Steps.");
4114
- const a = qe(), s = C(null), l = C(null), i = $(() => t.orientation ?? "horizontal");
4115
- let n = null, r = null;
4116
- const d = le("StepIndex");
4173
+ const a = qe(), s = C(null), r = C(null), i = $(() => t.orientation ?? "horizontal");
4174
+ let n = null, l = null;
4175
+ const d = re("StepIndex");
4117
4176
  if (d == null) throw new Error("StepIndex component must be used inside Steps.");
4118
4177
  const c = $(() => o.status ? o.status : d < t.current.value ? "completed" : d === t.current.value ? "active" : "pending"), h = $(() => t?.icons?.[c.value]), L = $(() => a.icon ? "slot" : o.icon ? o.icon : h.value), M = $(() => {
4119
4178
  switch (c.value) {
@@ -4159,8 +4218,8 @@ const ko = {
4159
4218
  n = null, k();
4160
4219
  }));
4161
4220
  }, k = () => {
4162
- if (!s.value || !l.value) return;
4163
- const E = l.value.getBoundingClientRect(), p = t.stepsRef.value.getBoundingClientRect(), x = t.orientation === "vertical" ? E.top + E.height / 2 - p.top : E.left + E.width / 2 - p.left;
4221
+ if (!s.value || !r.value) return;
4222
+ const E = r.value.getBoundingClientRect(), p = t.stepsRef.value.getBoundingClientRect(), x = t.orientation === "vertical" ? E.top + E.height / 2 - p.top : E.left + E.width / 2 - p.left;
4164
4223
  t.registerIndicatorCenter(d, x);
4165
4224
  }, D = (E) => {
4166
4225
  const p = t.orientation === "horizontal", x = t.orientation === "vertical";
@@ -4188,18 +4247,18 @@ const ko = {
4188
4247
  }
4189
4248
  E.preventDefault();
4190
4249
  };
4191
- return te(() => {
4192
- !s.value || !l.value || (requestAnimationFrame(() => {
4250
+ return ae(() => {
4251
+ !s.value || !r.value || (requestAnimationFrame(() => {
4193
4252
  requestAnimationFrame(k);
4194
- }), r = new ResizeObserver(() => {
4253
+ }), l = new ResizeObserver(() => {
4195
4254
  B();
4196
- }), r.observe(s.value), r.observe(l.value), t.stepsRef.value && r.observe(t.stepsRef.value), t.registerStep(s.value));
4255
+ }), l.observe(s.value), l.observe(r.value), t.stepsRef.value && l.observe(t.stepsRef.value), t.registerStep(s.value));
4197
4256
  }), ge(() => {
4198
- r?.disconnect(), t.unregisterStep(s.value), n != null && cancelAnimationFrame(n);
4257
+ l?.disconnect(), t.unregisterStep(s.value), n != null && cancelAnimationFrame(n);
4199
4258
  }), (E, p) => (v(), f("li", {
4200
4259
  ref_key: "stepRef",
4201
4260
  ref: s,
4202
- class: re(["step", `step__${y.value}`]),
4261
+ class: le(["step", `step__${y.value}`]),
4203
4262
  role: "listitem",
4204
4263
  "data-status": c.value,
4205
4264
  "data-orientation": i.value,
@@ -4213,13 +4272,13 @@ const ko = {
4213
4272
  "aria-describedby": `step-status-${R(d)}`,
4214
4273
  onKeydown: D
4215
4274
  }, [
4216
- g("span", {
4275
+ b("span", {
4217
4276
  ref_key: "indicatorRef",
4218
- ref: l,
4277
+ ref: r,
4219
4278
  class: "indicator",
4220
4279
  "aria-hidden": "true"
4221
4280
  }, [
4222
- E.$slots.icon ? U(E.$slots, "icon", {
4281
+ E.$slots.icon ? j(E.$slots, "icon", {
4223
4282
  key: 0,
4224
4283
  status: c.value
4225
4284
  }, void 0, !0) : L.value ? (v(), W(ue, {
@@ -4227,28 +4286,28 @@ const ko = {
4227
4286
  name: L.value,
4228
4287
  class: "icon"
4229
4288
  }, null, 8, ["name"])) : N("", !0),
4230
- c.value === "completed" ? (v(), f("svg", ka, [...p[0] || (p[0] = [
4231
- g("path", {
4289
+ c.value === "completed" ? (v(), f("svg", $a, [...p[0] || (p[0] = [
4290
+ b("path", {
4232
4291
  d: "M4.86199 11.5948C4.78717 11.5923 4.71366 11.5745 4.64596 11.5426C4.57826 11.5107 4.51779 11.4652 4.46827 11.4091L0.753985 7.69483C0.683167 7.64891 0.623706 7.58751 0.580092 7.51525C0.536478 7.44299 0.509851 7.36177 0.502221 7.27771C0.49459 7.19366 0.506156 7.10897 0.536046 7.03004C0.565935 6.95111 0.613367 6.88 0.674759 6.82208C0.736151 6.76416 0.8099 6.72095 0.890436 6.69571C0.970973 6.67046 1.05619 6.66385 1.13966 6.67635C1.22313 6.68886 1.30266 6.72017 1.37226 6.76792C1.44186 6.81567 1.4997 6.8786 1.54141 6.95197L4.86199 10.2503L12.6397 2.49483C12.7444 2.42694 12.8689 2.39617 12.9932 2.40745C13.1174 2.41873 13.2343 2.47141 13.3251 2.55705C13.4159 2.64268 13.4753 2.75632 13.4938 2.87973C13.5123 3.00315 13.4888 3.1292 13.4271 3.23768L5.2557 11.4091C5.20618 11.4652 5.14571 11.5107 5.07801 11.5426C5.01031 11.5745 4.9368 11.5923 4.86199 11.5948Z",
4233
4292
  fill: "currentColor"
4234
4293
  }, null, -1)
4235
- ])])) : c.value === "error" ? (v(), f("svg", wa, [...p[1] || (p[1] = [
4236
- g("path", {
4294
+ ])])) : c.value === "error" ? (v(), f("svg", Va, [...p[1] || (p[1] = [
4295
+ b("path", {
4237
4296
  d: "M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",
4238
4297
  fill: "currentColor"
4239
4298
  }, null, -1)
4240
- ])])) : c.value === "active" ? (v(), f("span", Ma)) : N("", !0)
4299
+ ])])) : c.value === "active" ? (v(), f("span", Ia)) : N("", !0)
4241
4300
  ], 512),
4242
- g("span", {
4301
+ b("span", {
4243
4302
  id: `step-status-${R(d)}`,
4244
4303
  class: "sr-only"
4245
- }, K(M.value), 9, La),
4246
- g("div", xa, [
4247
- g("span", {
4304
+ }, K(M.value), 9, Ha),
4305
+ b("div", Ba, [
4306
+ b("span", {
4248
4307
  id: `step-title-${R(d)}`,
4249
4308
  class: "title"
4250
- }, K(e.title), 9, $a),
4251
- P(D2, {
4309
+ }, K(e.title), 9, _a),
4310
+ P(F2, {
4252
4311
  variant: u.value,
4253
4312
  size: "sm"
4254
4313
  }, {
@@ -4257,27 +4316,27 @@ const ko = {
4257
4316
  ]),
4258
4317
  _: 1
4259
4318
  }, 8, ["variant"]),
4260
- E.$slots.default ? (v(), f("span", Va, [
4261
- U(E.$slots, "default", {}, void 0, !0)
4319
+ E.$slots.default ? (v(), f("span", Ra, [
4320
+ j(E.$slots, "default", {}, void 0, !0)
4262
4321
  ])) : N("", !0)
4263
4322
  ])
4264
- ], 42, ga));
4323
+ ], 42, xa));
4265
4324
  }
4266
- }), $o = /* @__PURE__ */ j(Ia, [["__scopeId", "data-v-5c2d8caa"]]), Ha = /* @__PURE__ */ _({
4325
+ }), _o = /* @__PURE__ */ U(Za, [["__scopeId", "data-v-5c2d8caa"]]), Aa = /* @__PURE__ */ _({
4267
4326
  __name: "StepsItem",
4268
4327
  props: {
4269
4328
  index: {}
4270
4329
  },
4271
4330
  setup(e) {
4272
- return be("StepIndex", e.index), (t, a) => U(t.$slots, "default");
4331
+ return be("StepIndex", e.index), (t, a) => j(t.$slots, "default");
4273
4332
  }
4274
- }), Ba = ["data-size", "data-orientation"], _a = ["data-error", "data-completed"], Ra = {
4333
+ }), Ta = ["data-size", "data-orientation"], Sa = ["data-error", "data-completed"], Ea = {
4275
4334
  "aria-live": "polite",
4276
4335
  "aria-atomic": "true",
4277
4336
  class: "sr-only"
4278
- }, Za = /* @__PURE__ */ _({
4337
+ }, Da = /* @__PURE__ */ _({
4279
4338
  __name: "Steps",
4280
- props: /* @__PURE__ */ oe({
4339
+ props: /* @__PURE__ */ te({
4281
4340
  orientation: { default: "horizontal" },
4282
4341
  icons: {},
4283
4342
  size: { default: "sm" }
@@ -4290,7 +4349,7 @@ const ko = {
4290
4349
  }),
4291
4350
  emits: ["update:modelValue"],
4292
4351
  setup(e) {
4293
- const o = e, t = C(0), a = qe(), s = pe(e, "modelValue"), l = C([]), i = C(null), n = $(() => s.value ?? 0), r = `steps-description-${ie()}`, d = b1({}), c = o1({});
4352
+ const o = e, t = C(0), a = qe(), s = Ce(e, "modelValue"), r = C([]), i = C(null), n = $(() => s.value ?? 0), l = `steps-description-${ie()}`, d = g1({}), c = n1({});
4294
4353
  let h = null;
4295
4354
  const L = $(() => (a.default?.() ?? [])[n.value]?.props?.title ?? ""), M = $(() => Object.entries(c).filter(([, Z]) => Z !== "completed").length === 0), u = $(
4296
4355
  () => Object.values(c).includes("error")
@@ -4304,16 +4363,16 @@ const ko = {
4304
4363
  width: "100%",
4305
4364
  left: "0px"
4306
4365
  };
4307
- const m = q.value[0], b = q.value[Z];
4366
+ const m = q.value[0], g = q.value[Z];
4308
4367
  return o.orientation === "vertical" ? {
4309
4368
  top: `${m}px`,
4310
- height: `${b - m}px`
4369
+ height: `${g - m}px`
4311
4370
  } : {
4312
4371
  left: `${m}px`,
4313
- width: `${b - m}px`
4372
+ width: `${g - m}px`
4314
4373
  };
4315
4374
  }), V = $(() => {
4316
- const Z = Object.values(d.value).sort((b, T) => b - T);
4375
+ const Z = Object.values(d.value).sort((g, S) => g - S);
4317
4376
  if (Z.length < 2) return {};
4318
4377
  const q = Z[0], m = Z[Z.length - 1];
4319
4378
  return o.orientation === "vertical" ? {
@@ -4325,13 +4384,13 @@ const ko = {
4325
4384
  };
4326
4385
  }), B = (Z, q) => d.value = { ...d.value, [Z]: q };
4327
4386
  function k(Z) {
4328
- l.value.push(Z), t.value = l.value.length;
4387
+ r.value.push(Z), t.value = r.value.length;
4329
4388
  }
4330
4389
  function D(Z) {
4331
- l.value = l.value.filter((q) => q !== Z), t.value = l.value.length;
4390
+ r.value = r.value.filter((q) => q !== Z), t.value = r.value.length;
4332
4391
  }
4333
4392
  function E(Z) {
4334
- Z < 0 || Z >= l.value.length || (s.value = Z, l.value[Z]?.focus());
4393
+ Z < 0 || Z >= r.value.length || (s.value = Z, r.value[Z]?.focus());
4335
4394
  }
4336
4395
  function p() {
4337
4396
  E(s.value + 1);
@@ -4345,7 +4404,7 @@ const ko = {
4345
4404
  function O() {
4346
4405
  E(t.value - 1);
4347
4406
  }
4348
- return te(() => {
4407
+ return ae(() => {
4349
4408
  i.value && (h = new ResizeObserver(() => {
4350
4409
  }), h.observe(i.value));
4351
4410
  }), ge(() => h?.disconnect()), be("StepsContext", {
@@ -4367,46 +4426,46 @@ const ko = {
4367
4426
  focusPrev: x,
4368
4427
  focusFirst: I,
4369
4428
  focusLast: O
4370
- }), (Z, q) => (v(), f(ae, null, [
4371
- g("ol", {
4429
+ }), (Z, q) => (v(), f(ne, null, [
4430
+ b("ol", {
4372
4431
  ref_key: "stepsRef",
4373
4432
  ref: i,
4374
4433
  class: "steps",
4375
4434
  role: "list",
4376
4435
  "data-size": e.size,
4377
4436
  "data-orientation": o.orientation,
4378
- "aria-describedby": r
4437
+ "aria-describedby": l
4379
4438
  }, [
4380
- g("p", {
4381
- id: r,
4439
+ b("p", {
4440
+ id: l,
4382
4441
  class: "sr-only"
4383
4442
  }, " This is a multi-step process. Use arrow keys to navigate between steps. "),
4384
- g("div", {
4443
+ b("div", {
4385
4444
  class: "track",
4386
4445
  "aria-hidden": "true",
4387
4446
  style: ye(V.value)
4388
4447
  }, [
4389
- g("div", {
4448
+ b("div", {
4390
4449
  class: "track-progress",
4391
4450
  "data-error": u.value,
4392
4451
  "data-completed": M.value,
4393
4452
  style: ye(y.value)
4394
- }, null, 12, _a)
4453
+ }, null, 12, Sa)
4395
4454
  ], 4),
4396
- (v(!0), f(ae, null, ce(Z.$slots.default?.(), (m, b) => (v(), W(Ha, {
4397
- key: b,
4398
- index: b
4455
+ (v(!0), f(ne, null, de(Z.$slots.default?.(), (m, g) => (v(), W(Aa, {
4456
+ key: g,
4457
+ index: g
4399
4458
  }, {
4400
4459
  default: G(() => [
4401
4460
  (v(), W(Ve(m)))
4402
4461
  ]),
4403
4462
  _: 2
4404
4463
  }, 1032, ["index"]))), 128))
4405
- ], 8, Ba),
4406
- g("div", Ra, " Step " + K(n.value + 1) + " of " + K(t.value) + ": " + K(L.value), 1)
4464
+ ], 8, Ta),
4465
+ b("div", Ea, " Step " + K(n.value + 1) + " of " + K(t.value) + ": " + K(L.value), 1)
4407
4466
  ], 64));
4408
4467
  }
4409
- }), Vo = /* @__PURE__ */ j(Za, [["__scopeId", "data-v-8697173d"]]), Aa = ["data-align"], Sa = /* @__PURE__ */ _({
4468
+ }), Ro = /* @__PURE__ */ U(Da, [["__scopeId", "data-v-8697173d"]]), za = ["data-align"], Oa = /* @__PURE__ */ _({
4410
4469
  __name: "Timeline",
4411
4470
  props: {
4412
4471
  align: { default: "left" }
@@ -4417,10 +4476,10 @@ const ko = {
4417
4476
  class: "ui-timeline",
4418
4477
  "data-align": e.align
4419
4478
  }, [
4420
- U(t.$slots, "default", {}, void 0, !0)
4421
- ], 8, Aa));
4479
+ j(t.$slots, "default", {}, void 0, !0)
4480
+ ], 8, za));
4422
4481
  }
4423
- }), Io = /* @__PURE__ */ j(Sa, [["__scopeId", "data-v-d56deb2b"]]), Ta = ["data-align", "aria-labelledby", "aria-describedby"], Ea = { class: "ui-timeline-content" }, Da = ["datetime"], za = { class: "ui-timeline-date--month" }, Oa = { class: "ui-timeline-date--day" }, qa = { class: "ui-timeline-date--year" }, Na = ["data-direction"], Fa = { class: "info" }, Ka = ["id"], Pa = { class: "addons" }, Ua = /* @__PURE__ */ _({
4482
+ }), Zo = /* @__PURE__ */ U(Oa, [["__scopeId", "data-v-d56deb2b"]]), qa = ["data-align", "aria-labelledby", "aria-describedby"], Na = { class: "ui-timeline-content" }, Fa = ["datetime"], Ka = { class: "ui-timeline-date--month" }, Pa = { class: "ui-timeline-date--day" }, Ua = { class: "ui-timeline-date--year" }, ja = ["data-direction"], Xa = { class: "info" }, Ga = ["id"], Wa = { class: "addons" }, Ja = /* @__PURE__ */ _({
4424
4483
  __name: "TimelineItem",
4425
4484
  props: {
4426
4485
  date: {},
@@ -4431,39 +4490,39 @@ const ko = {
4431
4490
  titleAs: {}
4432
4491
  },
4433
4492
  setup(e) {
4434
- const o = e, t = le("TimelineContext");
4493
+ const o = e, t = re("TimelineContext");
4435
4494
  if (!t) throw new Error("TimelineItem must be used within a Timeline component");
4436
- const a = ie(), s = ie(), l = $(() => t.align === "alternate" ? (o.index ?? 0) % 2 === 0 ? "ui-timeline-item--left" : "ui-timeline-item--right" : `ui-timeline-item--${t.align}`), i = (d) => {
4495
+ const a = ie(), s = ie(), r = $(() => t.align === "alternate" ? (o.index ?? 0) % 2 === 0 ? "ui-timeline-item--left" : "ui-timeline-item--right" : `ui-timeline-item--${t.align}`), i = (d) => {
4437
4496
  const c = new Date(d).getDay();
4438
4497
  return c < 10 ? `0${c}` : c;
4439
- }, n = (d) => new Date(d).toLocaleString("default", { month: "short" }), r = (d) => new Date(d).getFullYear();
4498
+ }, n = (d) => new Date(d).toLocaleString("default", { month: "short" }), l = (d) => new Date(d).getFullYear();
4440
4499
  return (d, c) => (v(), f("li", {
4441
4500
  tabindex: "0",
4442
- class: re([l.value, "ui-timeline-item"]),
4501
+ class: le([r.value, "ui-timeline-item"]),
4443
4502
  "data-align": R(t).align,
4444
4503
  "aria-labelledby": e.title ? R(a) : void 0,
4445
4504
  "aria-describedby": e.description ? R(s) : void 0
4446
4505
  }, [
4447
- c[0] || (c[0] = g("div", {
4506
+ c[0] || (c[0] = b("div", {
4448
4507
  class: "ui-timeline-marker",
4449
4508
  "aria-hidden": "true"
4450
4509
  }, null, -1)),
4451
- g("div", Ea, [
4510
+ b("div", Na, [
4452
4511
  e.date ? (v(), f("time", {
4453
4512
  key: 0,
4454
4513
  class: "ui-timeline-date",
4455
4514
  datetime: e.date
4456
4515
  }, [
4457
- g("span", za, K(n(e.date)), 1),
4458
- g("span", Oa, K(i(e.date)), 1),
4459
- g("span", qa, K(r(e.date)), 1)
4460
- ], 8, Da)) : N("", !0),
4461
- g("div", {
4516
+ b("span", Ka, K(n(e.date)), 1),
4517
+ b("span", Pa, K(i(e.date)), 1),
4518
+ b("span", Ua, K(l(e.date)), 1)
4519
+ ], 8, Fa)) : N("", !0),
4520
+ b("div", {
4462
4521
  class: "ui-timeline-body",
4463
4522
  "data-direction": e.flexDirection
4464
4523
  }, [
4465
- g("div", Fa, [
4466
- U(d.$slots, "title", {}, () => [
4524
+ b("div", Xa, [
4525
+ j(d.$slots, "title", {}, () => [
4467
4526
  (v(), W(Ve(e.titleAs ?? "h3"), {
4468
4527
  id: R(a),
4469
4528
  class: "ui-timeline-title"
@@ -4474,31 +4533,31 @@ const ko = {
4474
4533
  _: 1
4475
4534
  }, 8, ["id"]))
4476
4535
  ], !0),
4477
- U(d.$slots, "description", {}, () => [
4536
+ j(d.$slots, "description", {}, () => [
4478
4537
  e.description ? (v(), f("p", {
4479
4538
  key: 0,
4480
4539
  id: R(s),
4481
4540
  class: "ui-timeline-description"
4482
- }, K(e.description), 9, Ka)) : N("", !0)
4541
+ }, K(e.description), 9, Ga)) : N("", !0)
4483
4542
  ], !0)
4484
4543
  ]),
4485
- g("div", Pa, [
4486
- U(d.$slots, "default", {}, void 0, !0)
4544
+ b("div", Wa, [
4545
+ j(d.$slots, "default", {}, void 0, !0)
4487
4546
  ])
4488
- ], 8, Na)
4547
+ ], 8, ja)
4489
4548
  ])
4490
- ], 10, Ta));
4549
+ ], 10, qa));
4491
4550
  }
4492
- }), Ho = /* @__PURE__ */ j(Ua, [["__scopeId", "data-v-10599410"]]), ja = ["aria-label", "aria-activedescendant"], Xa = { class: "carousel-viewport" }, Ga = {
4551
+ }), Ao = /* @__PURE__ */ U(Ja, [["__scopeId", "data-v-10599410"]]), Ya = ["aria-label", "aria-activedescendant"], Qa = { class: "carousel-viewport" }, eo = {
4493
4552
  class: "sr-only",
4494
4553
  "aria-live": "polite"
4495
- }, Wa = {
4554
+ }, to = {
4496
4555
  key: 0,
4497
4556
  role: "tablist",
4498
4557
  class: "carousel-indicators"
4499
- }, Ja = ["aria-label", "aria-selected", "aria-current", "onClick", "onKeydown"], Ya = 0.35, Qa = 0.2, eo = /* @__PURE__ */ _({
4558
+ }, ao = ["aria-label", "aria-selected", "aria-current", "onClick", "onKeydown"], oo = 0.35, no = 0.2, lo = /* @__PURE__ */ _({
4500
4559
  __name: "Carousel",
4501
- props: /* @__PURE__ */ oe({
4560
+ props: /* @__PURE__ */ te({
4502
4561
  ariaLabel: { default: "Carousel" },
4503
4562
  showIndicators: { type: Boolean, default: !0 },
4504
4563
  loop: { type: Boolean, default: !0 },
@@ -4518,77 +4577,77 @@ const ko = {
4518
4577
  }),
4519
4578
  emits: ["update:modelValue"],
4520
4579
  setup(e) {
4521
- const o = pe(e, "modelValue"), t = e, a = C(0), s = C(0), l = C(0), i = C(0), n = C(0), r = C(0), d = C(!1), c = C(!1), h = C(0), L = C([]), M = C(1), u = C(o.value), y = C(null), V = C(null);
4580
+ const o = Ce(e, "modelValue"), t = e, a = C(0), s = C(0), r = C(0), i = C(0), n = C(0), l = C(0), d = C(!1), c = C(!1), h = C(0), L = C([]), M = C(1), u = C(o.value), y = C(null), V = C(null);
4522
4581
  let B = null, k = null;
4523
4582
  Y(
4524
4583
  () => o.value,
4525
- (S) => u.value = S
4584
+ (T) => u.value = T
4526
4585
  );
4527
4586
  const D = $(() => L.value[u.value] ?? void 0), E = $(() => Math.floor(u.value / M.value)), p = $(() => Math.ceil(w.value / M.value)), x = $(() => Math.max(0, w.value - M.value)), I = $(() => {
4528
- const S = u.value * (100 / M.value), X = c.value && V.value ? l.value / V.value.clientWidth * 100 : 0;
4587
+ const T = u.value * (100 / M.value), X = c.value && V.value ? r.value / V.value.clientWidth * 100 : 0;
4529
4588
  return {
4530
- transform: `translateX(calc(-${S}% + ${X}%))`,
4589
+ transform: `translateX(calc(-${T}% + ${X}%))`,
4531
4590
  transition: c.value ? "none" : "transform 300ms ease"
4532
4591
  };
4533
- }), O = (S) => {
4534
- let X = S;
4592
+ }), O = (T) => {
4593
+ let X = T;
4535
4594
  if (t.loop) {
4536
- const se = Math.round(S / M.value), ee = p.value;
4595
+ const se = Math.round(T / M.value), ee = p.value;
4537
4596
  X = (se % ee + ee) % ee * M.value;
4538
4597
  } else
4539
4598
  X = Math.min(
4540
- Math.max(S, 0),
4599
+ Math.max(T, 0),
4541
4600
  x.value
4542
4601
  );
4543
4602
  u.value = X, o.value = X;
4544
- }, Z = () => O(u.value + M.value), q = () => O(u.value - M.value), m = (S) => {
4545
- S.key === "ArrowRight" ? Z() : S.key === "ArrowLeft" && q();
4546
- }, b = (S) => (L.value.includes(S) || L.value.push(S), L.value.indexOf(S)), T = (S) => L.value = L.value.filter((X) => X !== S), w = $(() => L.value.length), A = () => {
4603
+ }, Z = () => O(u.value + M.value), q = () => O(u.value - M.value), m = (T) => {
4604
+ T.key === "ArrowRight" ? Z() : T.key === "ArrowLeft" && q();
4605
+ }, g = (T) => (L.value.includes(T) || L.value.push(T), L.value.indexOf(T)), S = (T) => L.value = L.value.filter((X) => X !== T), w = $(() => L.value.length), A = () => {
4547
4606
  !t.autoplay || B !== null || (B = window.setInterval(() => {
4548
4607
  d.value || Z();
4549
4608
  }, t.autoplayDelay));
4550
4609
  }, J = () => {
4551
4610
  B !== null && (clearInterval(B), B = null);
4552
- }, de = (S) => {
4611
+ }, ve = (T) => {
4553
4612
  if (typeof t.itemsPerView == "number")
4554
4613
  return t.itemsPerView;
4555
4614
  const X = Object.entries(t.itemsPerView).map(([ee, ke]) => [Number(ee), ke]).sort((ee, ke) => ee[0] - ke[0]);
4556
4615
  let se = X[0]?.[1] ?? 1;
4557
- for (const [ee, ke] of X) S >= ee && (se = ke);
4616
+ for (const [ee, ke] of X) T >= ee && (se = ke);
4558
4617
  return se;
4559
- }, H = (S) => {
4560
- S.button === 0 && (c.value = !0, s.value = S.clientX, a.value = S.clientX, r.value = S.clientX, l.value = 0, i.value = performance.now(), n.value = 0, h.value = u.value, V.value?.setPointerCapture(S.pointerId), J(), V.value.style.userSelect = "");
4561
- }, z = (S) => {
4618
+ }, H = (T) => {
4619
+ T.button === 0 && (c.value = !0, s.value = T.clientX, a.value = T.clientX, l.value = T.clientX, r.value = 0, i.value = performance.now(), n.value = 0, h.value = u.value, V.value?.setPointerCapture(T.pointerId), J(), V.value.style.userSelect = "");
4620
+ }, z = (T) => {
4562
4621
  if (!c.value) return;
4563
- const X = performance.now(), se = S.clientX - a.value, ee = X - i.value;
4564
- ee > 0 && (n.value = se / ee), a.value = S.clientX, i.value = X, r.value = S.clientX, l.value = r.value - s.value;
4565
- }, Q = (S) => {
4622
+ const X = performance.now(), se = T.clientX - a.value, ee = X - i.value;
4623
+ ee > 0 && (n.value = se / ee), a.value = T.clientX, i.value = X, l.value = T.clientX, r.value = l.value - s.value;
4624
+ }, Q = (T) => {
4566
4625
  if (!c.value) return;
4567
- c.value = !1, V.value?.releasePointerCapture(S.pointerId), V.value.style.userSelect = "";
4568
- const X = V.value.clientWidth / M.value, se = l.value / X;
4569
- Math.abs(n.value) > Ya ? n.value < 0 ? Z() : q() : Math.abs(se) > Qa ? se < 0 ? Z() : q() : O(h.value), l.value = 0, n.value = 0, A();
4626
+ c.value = !1, V.value?.releasePointerCapture(T.pointerId), V.value.style.userSelect = "";
4627
+ const X = V.value.clientWidth / M.value, se = r.value / X;
4628
+ Math.abs(n.value) > oo ? n.value < 0 ? Z() : q() : Math.abs(se) > no ? se < 0 ? Z() : q() : O(h.value), r.value = 0, n.value = 0, A();
4570
4629
  };
4571
- return te(() => {
4572
- A(), y.value && (k = new ResizeObserver((S) => {
4573
- const X = S[0]?.contentRect.width;
4574
- X !== void 0 && (M.value = de(X));
4630
+ return ae(() => {
4631
+ A(), y.value && (k = new ResizeObserver((T) => {
4632
+ const X = T[0]?.contentRect.width;
4633
+ X !== void 0 && (M.value = ve(X));
4575
4634
  }), k.observe(y.value));
4576
4635
  }), ge(() => {
4577
4636
  J(), k?.disconnect();
4578
4637
  }), Y(
4579
4638
  () => t.autoplay,
4580
- (S) => {
4581
- S ? A() : J();
4639
+ (T) => {
4640
+ T ? A() : J();
4582
4641
  },
4583
4642
  { immediate: !0 }
4584
4643
  ), Y(M, () => u.value = Math.min(u.value, x.value)), be("CarouselContext", {
4585
- register: b,
4586
- unregister: T,
4644
+ register: g,
4645
+ unregister: S,
4587
4646
  activeIndex: u,
4588
4647
  slideCount: w,
4589
- deltaX: l,
4648
+ deltaX: r,
4590
4649
  itemsPerView: t.itemsPerView instanceof Object ? M : C(t.itemsPerView)
4591
- }), (S, X) => (v(), f("div", {
4650
+ }), (T, X) => (v(), f("div", {
4592
4651
  ref_key: "rootRef",
4593
4652
  ref: y,
4594
4653
  role: "region",
@@ -4604,12 +4663,12 @@ const ko = {
4604
4663
  onFocusin: X[2] || (X[2] = (se) => d.value = !0),
4605
4664
  onFocusout: X[3] || (X[3] = (se) => d.value = !1)
4606
4665
  }, [
4607
- X[4] || (X[4] = g("span", {
4666
+ X[4] || (X[4] = b("span", {
4608
4667
  id: "carousel-instructions",
4609
4668
  class: "sr-only"
4610
4669
  }, " Use left and right arrow keys to navigate slides ", -1)),
4611
- g("div", Xa, [
4612
- g("div", {
4670
+ b("div", Qa, [
4671
+ b("div", {
4613
4672
  ref_key: "trackRef",
4614
4673
  ref: V,
4615
4674
  class: "carousel-track",
@@ -4619,11 +4678,11 @@ const ko = {
4619
4678
  onPointerup: Q,
4620
4679
  onPointercancel: Q
4621
4680
  }, [
4622
- U(S.$slots, "default", {}, void 0, !0)
4681
+ j(T.$slots, "default", {}, void 0, !0)
4623
4682
  ], 36)
4624
4683
  ]),
4625
- g("span", Ga, " Slide " + K(Math.floor(u.value / M.value) + 1) + " of " + K(p.value), 1),
4626
- g("button", {
4684
+ b("span", eo, " Slide " + K(Math.floor(u.value / M.value) + 1) + " of " + K(p.value), 1),
4685
+ b("button", {
4627
4686
  type: "button",
4628
4687
  class: "carousel-control prev",
4629
4688
  "aria-label": "Previous slide",
@@ -4631,7 +4690,7 @@ const ko = {
4631
4690
  }, [
4632
4691
  P(ue, { name: "directionDown" })
4633
4692
  ]),
4634
- g("button", {
4693
+ b("button", {
4635
4694
  type: "button",
4636
4695
  class: "carousel-control next",
4637
4696
  "aria-label": "Next slide",
@@ -4639,43 +4698,43 @@ const ko = {
4639
4698
  }, [
4640
4699
  P(ue, { name: "directionDown" })
4641
4700
  ]),
4642
- e.showIndicators ? (v(), f("div", Wa, [
4643
- (v(!0), f(ae, null, ce(p.value, (se, ee) => (v(), f("button", {
4701
+ e.showIndicators ? (v(), f("div", to, [
4702
+ (v(!0), f(ne, null, de(p.value, (se, ee) => (v(), f("button", {
4644
4703
  role: "tab",
4645
4704
  type: "button",
4646
4705
  key: ee,
4647
- class: re(["indicator", { active: ee === Math.floor(u.value / M.value) }]),
4706
+ class: le(["indicator", { active: ee === Math.floor(u.value / M.value) }]),
4648
4707
  "aria-label": `Go to slide ${ee + 1}`,
4649
4708
  "aria-selected": ee === E.value,
4650
4709
  "aria-current": ee === E.value,
4651
4710
  onClick: (ke) => O(ee * M.value),
4652
4711
  onKeydown: [
4653
- fe(ne((ke) => O((ee - 1 + p.value) % p.value * M.value), ["prevent"]), ["left"]),
4654
- fe(ne((ke) => O((ee + 1) % p.value * M.value), ["prevent"]), ["right"])
4712
+ ce(oe((ke) => O((ee - 1 + p.value) % p.value * M.value), ["prevent"]), ["left"]),
4713
+ ce(oe((ke) => O((ee + 1) % p.value * M.value), ["prevent"]), ["right"])
4655
4714
  ]
4656
- }, null, 42, Ja))), 128))
4715
+ }, null, 42, ao))), 128))
4657
4716
  ])) : N("", !0)
4658
- ], 44, ja));
4717
+ ], 44, Ya));
4659
4718
  }
4660
- }), Bo = /* @__PURE__ */ j(eo, [["__scopeId", "data-v-30cdfc00"]]), to = ["aria-hidden", "aria-label"], ao = /* @__PURE__ */ _({
4719
+ }), To = /* @__PURE__ */ U(lo, [["__scopeId", "data-v-30cdfc00"]]), ro = ["aria-hidden", "aria-label"], so = /* @__PURE__ */ _({
4661
4720
  __name: "CarouselItem",
4662
4721
  setup(e) {
4663
- const o = le("CarouselContext");
4722
+ const o = re("CarouselContext");
4664
4723
  if (!o) throw new Error("CarouselItem must be used inside a Carousel");
4665
- const t = "carousel-item-" + ie(), a = C(0), s = $(() => Math.abs(o.deltaX.value) > 5), l = $(() => Math.floor(a.value / o.itemsPerView.value) === Math.floor(o.activeIndex.value / o.itemsPerView.value));
4666
- return te(() => a.value = o.register(t)), ge(() => o.unregister(t)), (i, n) => (v(), f("div", {
4724
+ const t = "carousel-item-" + ie(), a = C(0), s = $(() => Math.abs(o.deltaX.value) > 5), r = $(() => Math.floor(a.value / o.itemsPerView.value) === Math.floor(o.activeIndex.value / o.itemsPerView.value));
4725
+ return ae(() => a.value = o.register(t)), ge(() => o.unregister(t)), (i, n) => (v(), f("div", {
4667
4726
  role: "group",
4668
4727
  class: "carousel-item",
4669
4728
  id: t,
4670
4729
  "aria-roledescription": "slide",
4671
- "aria-hidden": !l.value,
4730
+ "aria-hidden": !r.value,
4672
4731
  "aria-label": `Slide ${a.value + 1}`,
4673
- onClickCapture: n[0] || (n[0] = (r) => s.value && r.preventDefault())
4732
+ onClickCapture: n[0] || (n[0] = (l) => s.value && l.preventDefault())
4674
4733
  }, [
4675
- U(i.$slots, "default", {}, void 0, !0)
4676
- ], 40, to));
4734
+ j(i.$slots, "default", {}, void 0, !0)
4735
+ ], 40, ro));
4677
4736
  }
4678
- }), _o = /* @__PURE__ */ j(ao, [["__scopeId", "data-v-a569d055"]]), Ze = /* @__PURE__ */ Symbol("TabsContext"), Ro = _({
4737
+ }), So = /* @__PURE__ */ U(so, [["__scopeId", "data-v-a569d055"]]), Ze = /* @__PURE__ */ Symbol("TabsContext"), Eo = _({
4679
4738
  name: "Tabs",
4680
4739
  props: {
4681
4740
  modelValue: String,
@@ -4691,7 +4750,7 @@ const ko = {
4691
4750
  },
4692
4751
  emits: ["update:modelValue"],
4693
4752
  setup(e, { emit: o, slots: t }) {
4694
- const a = C(e.modelValue ?? e.defaultValue), s = C(!1), l = C([]), i = C("forward"), n = C();
4753
+ const a = C(e.modelValue ?? e.defaultValue), s = C(!1), r = C([]), i = C("forward"), n = C();
4695
4754
  Y(a, (u) => {
4696
4755
  !u || !s.value || requestAnimationFrame(() => {
4697
4756
  document.getElementById(`tab-${u}`)?.focus(), s.value = !1;
@@ -4701,11 +4760,11 @@ const ko = {
4701
4760
  (u) => {
4702
4761
  u !== void 0 && (a.value = u);
4703
4762
  }
4704
- ), Y(l, (u) => {
4763
+ ), Y(r, (u) => {
4705
4764
  !a.value && u.length && (a.value = u[0]);
4706
4765
  });
4707
- const r = (u, y) => l.value[y] = u, d = (u) => {
4708
- const y = l.value.filter(Boolean);
4766
+ const l = (u, y) => r.value[y] = u, d = (u) => {
4767
+ const y = r.value.filter(Boolean);
4709
4768
  if (!y.length) return;
4710
4769
  const V = a.value;
4711
4770
  if (!V) {
@@ -4733,11 +4792,11 @@ const ko = {
4733
4792
  return be(Ze, {
4734
4793
  activeValue: a,
4735
4794
  setValue: d,
4736
- registerTrigger: r,
4795
+ registerTrigger: l,
4737
4796
  direction: i,
4738
4797
  activationMode: C(e.activationMode),
4739
4798
  orientation: C(e.orientation),
4740
- triggers: l,
4799
+ triggers: r,
4741
4800
  contentWrapperRef: n,
4742
4801
  focusOnChange: s
4743
4802
  }), () => {
@@ -4772,10 +4831,10 @@ const ko = {
4772
4831
  ];
4773
4832
  };
4774
4833
  }
4775
- }), Zo = _({
4834
+ }), Do = _({
4776
4835
  name: "TabsList",
4777
4836
  setup(e, { slots: o }) {
4778
- const t = le(Ze);
4837
+ const t = re(Ze);
4779
4838
  if (!t) throw new Error("TabsList components must be used inside <Tabs>");
4780
4839
  return () => F(
4781
4840
  "div",
@@ -4787,7 +4846,7 @@ const ko = {
4787
4846
  o.default?.()
4788
4847
  );
4789
4848
  }
4790
- }), Ao = _({
4849
+ }), zo = _({
4791
4850
  name: "TabsTrigger",
4792
4851
  props: {
4793
4852
  value: {
@@ -4804,13 +4863,13 @@ const ko = {
4804
4863
  }
4805
4864
  },
4806
4865
  setup(e, { slots: o }) {
4807
- const t = le(Ze);
4866
+ const t = re(Ze);
4808
4867
  if (!t) throw new Error("TabsTrigger components must be used inside <Tabs>");
4809
- const a = $(() => t.activeValue.value === e.value), s = () => !e.disabled && t.setValue(e.value), l = (i) => {
4868
+ const a = $(() => t.activeValue.value === e.value), s = () => !e.disabled && t.setValue(e.value), r = (i) => {
4810
4869
  if (t.focusOnChange.value = !0, !["ArrowRight", "ArrowLeft", "ArrowDown", "ArrowUp", "Home", "End"].includes(i.key)) return;
4811
4870
  i.preventDefault();
4812
- const r = t.triggers.value.filter(Boolean);
4813
- let c = r.indexOf(e.value);
4871
+ const l = t.triggers.value.filter(Boolean);
4872
+ let c = l.indexOf(e.value);
4814
4873
  const h = t.orientation.value === "horizontal";
4815
4874
  switch (i.key) {
4816
4875
  case "ArrowRight":
@@ -4829,16 +4888,16 @@ const ko = {
4829
4888
  c = 0;
4830
4889
  break;
4831
4890
  case "End":
4832
- c = r.length - 1;
4891
+ c = l.length - 1;
4833
4892
  break;
4834
4893
  }
4835
- c = (c + r.length) % r.length;
4836
- const L = r[c];
4894
+ c = (c + l.length) % l.length;
4895
+ const L = l[c];
4837
4896
  t.activationMode.value === "auto" && t.setValue(L), requestAnimationFrame(() => {
4838
4897
  document.getElementById(`tab-${L}`)?.focus();
4839
4898
  });
4840
4899
  };
4841
- return te(() => !e.disabled && t.registerTrigger(e.value, e.index)), ge(() => t.triggers.value[e.index] = void 0), () => F(
4900
+ return ae(() => !e.disabled && t.registerTrigger(e.value, e.index)), ge(() => t.triggers.value[e.index] = void 0), () => F(
4842
4901
  he,
4843
4902
  {
4844
4903
  role: "tab",
@@ -4850,12 +4909,12 @@ const ko = {
4850
4909
  disabled: e.disabled ?? void 0,
4851
4910
  class: "tabs-trigger",
4852
4911
  onClick: s,
4853
- onKeydown: l
4912
+ onKeydown: r
4854
4913
  },
4855
4914
  { default: () => o.default?.() }
4856
4915
  );
4857
4916
  }
4858
- }), So = _({
4917
+ }), Oo = _({
4859
4918
  name: "TabsContent",
4860
4919
  props: {
4861
4920
  value: {
@@ -4864,7 +4923,7 @@ const ko = {
4864
4923
  }
4865
4924
  },
4866
4925
  setup(e, { slots: o }) {
4867
- if (!le(Ze)) throw new Error("TabsContent components must be used inside <Tabs>");
4926
+ if (!re(Ze)) throw new Error("TabsContent components must be used inside <Tabs>");
4868
4927
  return () => F(
4869
4928
  "div",
4870
4929
  {
@@ -4877,11 +4936,11 @@ const ko = {
4877
4936
  o.default?.()
4878
4937
  );
4879
4938
  }
4880
- }), oo = { class: "ui-dropdown" }, To = /* @__PURE__ */ _({
4939
+ }), io = { class: "ui-dropdown" }, qo = /* @__PURE__ */ _({
4881
4940
  __name: "Dropdown",
4882
4941
  setup(e) {
4883
4942
  let o = 0;
4884
- const t = C(!1), a = C(null), s = C({}), l = `dropdown-${ie()}`, i = `${l}-menu`, n = `${l}-trigger`, r = () => t.value = !0, d = () => {
4943
+ const t = C(!1), a = C(null), s = C({}), r = `dropdown-${ie()}`, i = `${r}-menu`, n = `${r}-trigger`, l = () => t.value = !0, d = () => {
4885
4944
  t.value = !1, s.value = {}, o = 0, a.value?.focus({ preventScroll: !0 });
4886
4945
  }, c = () => t.value = !t.value, h = (k) => {
4887
4946
  const D = `dropdown-item-${o++}`;
@@ -4903,7 +4962,7 @@ const ko = {
4903
4962
  E > 0 && p && L(p);
4904
4963
  }, B = (k) => Object.keys(s.value).indexOf(k);
4905
4964
  return be("DropdownContext", {
4906
- open: r,
4965
+ open: l,
4907
4966
  close: d,
4908
4967
  toggle: c,
4909
4968
  isOpen: t,
@@ -4916,26 +4975,26 @@ const ko = {
4916
4975
  triggerRef: a,
4917
4976
  menuId: i,
4918
4977
  triggerId: n
4919
- }), (k, D) => (v(), f("div", oo, [
4920
- U(k.$slots, "default")
4978
+ }), (k, D) => (v(), f("div", io, [
4979
+ j(k.$slots, "default")
4921
4980
  ]));
4922
4981
  }
4923
- }), no = /* @__PURE__ */ _({
4982
+ }), uo = /* @__PURE__ */ _({
4924
4983
  __name: "DropdownTrigger",
4925
4984
  props: {
4926
4985
  variant: { default: "button" }
4927
4986
  },
4928
4987
  setup(e) {
4929
- const o = e, t = le("DropdownContext");
4988
+ const o = e, t = re("DropdownContext");
4930
4989
  if (!t) throw new Error("DropdownTrigger must be used within a Dropdown");
4931
- const a = C(), s = (l) => {
4932
- l.key === "ArrowDown" && (l.preventDefault(), t.open(), Le(() => t.focusFirstItem())), l.key === "ArrowUp" && (l.preventDefault(), t.open(), Le(() => t.focusLastItem()));
4990
+ const a = C(), s = (r) => {
4991
+ r.key === "ArrowDown" && (r.preventDefault(), t.open(), Le(() => t.focusFirstItem())), r.key === "ArrowUp" && (r.preventDefault(), t.open(), Le(() => t.focusLastItem()));
4933
4992
  };
4934
- return te(() => t.triggerRef.value = a.value?.el), (l, i) => (v(), W(he, {
4993
+ return ae(() => t.triggerRef.value = a.value?.el), (r, i) => (v(), W(he, {
4935
4994
  ref_key: "btn",
4936
4995
  ref: a,
4937
4996
  id: R(t).triggerId,
4938
- class: re(["ui-dropdown-trigger", { "btn-outline": o.variant === "button" }]),
4997
+ class: le(["ui-dropdown-trigger", { "btn-outline": o.variant === "button" }]),
4939
4998
  "aria-haspopup": "menu",
4940
4999
  "aria-controls": R(t).menuId,
4941
5000
  "aria-expanded": R(t).isOpen.value,
@@ -4943,7 +5002,7 @@ const ko = {
4943
5002
  onKeydown: s
4944
5003
  }, {
4945
5004
  default: G(() => [
4946
- U(l.$slots, "default", {}, void 0, !0),
5005
+ j(r.$slots, "default", {}, void 0, !0),
4947
5006
  o.variant === "button" ? (v(), W(ue, {
4948
5007
  key: 0,
4949
5008
  name: "directionDown"
@@ -4952,22 +5011,22 @@ const ko = {
4952
5011
  _: 3
4953
5012
  }, 8, ["id", "class", "aria-controls", "aria-expanded", "onClick"]));
4954
5013
  }
4955
- }), Eo = /* @__PURE__ */ j(no, [["__scopeId", "data-v-267a3d51"]]), ro = ["id", "aria-labelledby"], lo = /* @__PURE__ */ _({
5014
+ }), No = /* @__PURE__ */ U(uo, [["__scopeId", "data-v-267a3d51"]]), co = ["id", "aria-labelledby"], vo = /* @__PURE__ */ _({
4956
5015
  __name: "DropdownMenu",
4957
5016
  setup(e) {
4958
- const o = le("DropdownContext");
5017
+ const o = re("DropdownContext");
4959
5018
  if (!o) throw new Error("DropdownMenu must be used within a Dropdown");
4960
5019
  const t = C(), a = C({}), s = (n) => {
4961
- const r = n.target;
4962
- t.value?.contains(r) || o.triggerRef.value?.contains(r) || o.close();
4963
- }, l = (n) => n.key === "Escape" && o.close(), i = () => {
5020
+ const l = n.target;
5021
+ t.value?.contains(l) || o.triggerRef.value?.contains(l) || o.close();
5022
+ }, r = (n) => n.key === "Escape" && o.close(), i = () => {
4964
5023
  const n = o.triggerRef.value;
4965
5024
  if (!n) return;
4966
- const r = n.getBoundingClientRect();
5025
+ const l = n.getBoundingClientRect();
4967
5026
  a.value = {
4968
5027
  "--dropdown-menu-position": "fixed",
4969
- "--dropdown-menu-top": `${r.bottom}px`,
4970
- "--dropdown-menu-left": `${r.left}px`
5028
+ "--dropdown-menu-top": `${l.bottom}px`,
5029
+ "--dropdown-menu-left": `${l.left}px`
4971
5030
  };
4972
5031
  };
4973
5032
  return Y(
@@ -4980,11 +5039,11 @@ const ko = {
4980
5039
  (n) => {
4981
5040
  n ? document.addEventListener("pointerdown", s, !0) : document.removeEventListener("pointerdown", s, !0);
4982
5041
  }
4983
- ), te(() => {
5042
+ ), ae(() => {
4984
5043
  window.addEventListener("scroll", i, !0), window.addEventListener("resize", i);
4985
5044
  }), ge(() => {
4986
5045
  window.removeEventListener("scroll", i, !0), window.removeEventListener("resize", i);
4987
- }), (n, r) => (v(), W(Be, { to: "body" }, [
5046
+ }), (n, l) => (v(), W(Be, { to: "body" }, [
4988
5047
  R(o).isOpen.value ? (v(), f("div", {
4989
5048
  key: 0,
4990
5049
  role: "menu",
@@ -4995,22 +5054,22 @@ const ko = {
4995
5054
  "aria-orientation": "vertical",
4996
5055
  "aria-labelledby": R(o).triggerId,
4997
5056
  class: "ui-dropdown-menu",
4998
- onKeydown: l
5057
+ onKeydown: r
4999
5058
  }, [
5000
- U(n.$slots, "default", {}, void 0, !0)
5001
- ], 44, ro)) : N("", !0)
5059
+ j(n.$slots, "default", {}, void 0, !0)
5060
+ ], 44, co)) : N("", !0)
5002
5061
  ]));
5003
5062
  }
5004
- }), Do = /* @__PURE__ */ j(lo, [["__scopeId", "data-v-f2be8ab5"]]), so = /* @__PURE__ */ _({
5063
+ }), Fo = /* @__PURE__ */ U(vo, [["__scopeId", "data-v-f2be8ab5"]]), fo = /* @__PURE__ */ _({
5005
5064
  __name: "DropdownItem",
5006
5065
  setup(e) {
5007
- const o = le("DropdownContext");
5066
+ const o = re("DropdownContext");
5008
5067
  if (!o) throw new Error("DropdownItem must be used within a Dropdown");
5009
5068
  let t;
5010
- const a = C(), s = (l) => {
5011
- l.key === "ArrowDown" && (l.preventDefault(), o.focusNextItem(t)), l.key === "ArrowUp" && (l.preventDefault(), o.focusPrevItem(t)), (l.key === "Enter" || l.key === " ") && (l.preventDefault(), a.value?.click(), o.close());
5069
+ const a = C(), s = (r) => {
5070
+ r.key === "ArrowDown" && (r.preventDefault(), o.focusNextItem(t)), r.key === "ArrowUp" && (r.preventDefault(), o.focusPrevItem(t)), (r.key === "Enter" || r.key === " ") && (r.preventDefault(), a.value?.click(), o.close());
5012
5071
  };
5013
- return te(() => t = o.registerItem(a.value)), (l, i) => (v(), f("div", {
5072
+ return ae(() => t = o.registerItem(a.value)), (r, i) => (v(), f("div", {
5014
5073
  ref_key: "itemRef",
5015
5074
  ref: a,
5016
5075
  role: "menuitem",
@@ -5021,10 +5080,10 @@ const ko = {
5021
5080
  (...n) => R(o).close && R(o).close(...n)),
5022
5081
  onPointerenter: i[1] || (i[1] = (n) => a.value?.focus())
5023
5082
  }, [
5024
- U(l.$slots, "default", {}, void 0, !0)
5083
+ j(r.$slots, "default", {}, void 0, !0)
5025
5084
  ], 544));
5026
5085
  }
5027
- }), zo = /* @__PURE__ */ j(so, [["__scopeId", "data-v-69de3d9c"]]), Oo = _({
5086
+ }), Ko = /* @__PURE__ */ U(fo, [["__scopeId", "data-v-69de3d9c"]]), Po = _({
5028
5087
  name: "Table",
5029
5088
  props: {
5030
5089
  columns: {
@@ -5053,9 +5112,9 @@ const ko = {
5053
5112
  setup(e, { emit: o, slots: t }) {
5054
5113
  const a = (n) => {
5055
5114
  if (!n.sortable) return;
5056
- const r = e.sort?.key === n.key && e.sort.direction === "asc" ? "desc" : "asc";
5057
- o("update:sort", { key: n.key, direction: r });
5058
- }, s = () => window.matchMedia("(max-width: 640px)").matches, l = () => F(
5115
+ const l = e.sort?.key === n.key && e.sort.direction === "asc" ? "desc" : "asc";
5116
+ o("update:sort", { key: n.key, direction: l });
5117
+ }, s = () => window.matchMedia("(max-width: 640px)").matches, r = () => F(
5059
5118
  "div",
5060
5119
  {
5061
5120
  class: "rs-table-mobile",
@@ -5063,10 +5122,10 @@ const ko = {
5063
5122
  "aria-busy": e.loading || void 0
5064
5123
  },
5065
5124
  e.loading ? t.loading?.() ?? "Loading..." : e.data.length === 0 ? t.empty?.() ?? "No data available." : e.data.map(
5066
- (n, r) => F(
5125
+ (n, l) => F(
5067
5126
  "div",
5068
5127
  {
5069
- key: n.id ?? r,
5128
+ key: n.id ?? l,
5070
5129
  class: "rs-table-card",
5071
5130
  role: e.rowClickable ? "button" : "listitem",
5072
5131
  tabindex: e.rowClickable ? 0 : void 0,
@@ -5130,8 +5189,8 @@ const ko = {
5130
5189
  "aria-sort": n.sortable ? e.sort?.key === n.key ? e.sort.direction === "asc" ? "ascending" : "descending" : "none" : void 0,
5131
5190
  tabindex: n.sortable ? 0 : void 0,
5132
5191
  onClick: n.sortable ? () => a(n) : void 0,
5133
- onKeydown: n.sortable ? (r) => {
5134
- (r.key === "Enter" || r.key === " ") && (r.preventDefault(), a(n));
5192
+ onKeydown: n.sortable ? (l) => {
5193
+ (l.key === "Enter" || l.key === " ") && (l.preventDefault(), a(n));
5135
5194
  } : void 0,
5136
5195
  scope: "col"
5137
5196
  },
@@ -5184,10 +5243,10 @@ const ko = {
5184
5243
  ]
5185
5244
  )
5186
5245
  ] : e.data.map(
5187
- (n, r) => F(
5246
+ (n, l) => F(
5188
5247
  "tr",
5189
5248
  {
5190
- key: n.id ?? r,
5249
+ key: n.id ?? l,
5191
5250
  tabindex: e.rowClickable ? 0 : void 0,
5192
5251
  role: e.rowClickable ? "button" : void 0,
5193
5252
  onClick: e.rowClickable ? () => o("rowClick", n) : void 0,
@@ -5224,11 +5283,11 @@ const ko = {
5224
5283
  return F(
5225
5284
  "div",
5226
5285
  { class: "rs-table-container" },
5227
- n ? l() : i()
5286
+ n ? r() : i()
5228
5287
  );
5229
5288
  };
5230
5289
  }
5231
- }), Ae = /* @__PURE__ */ Symbol("AccordionContext"), qo = _({
5290
+ }), Ae = /* @__PURE__ */ Symbol("AccordionContext"), Uo = _({
5232
5291
  name: "Accordion",
5233
5292
  props: {
5234
5293
  multiple: { type: Boolean, default: !1 },
@@ -5244,12 +5303,12 @@ const ko = {
5244
5303
  return;
5245
5304
  }
5246
5305
  e.multiple || a.value.clear(), a.value.add(h);
5247
- }, l = (h) => {
5306
+ }, r = (h) => {
5248
5307
  h.disabled || t.value.includes(h) || (t.value.push(h), t.value.sort((L, M) => L.offsetTop - M.offsetTop));
5249
5308
  }, i = (h) => t.value = t.value.filter((L) => L !== h), n = (h) => {
5250
5309
  const L = t.value.indexOf(h);
5251
5310
  t.value[(L + 1) % t.value.length]?.focus();
5252
- }, r = (h) => {
5311
+ }, l = (h) => {
5253
5312
  const L = t.value.indexOf(h);
5254
5313
  t.value[(L - 1 + t.value.length) % t.value.length]?.focus();
5255
5314
  }, d = () => t.value[0]?.focus(), c = () => {
@@ -5260,22 +5319,22 @@ const ko = {
5260
5319
  multiple: e.multiple,
5261
5320
  openItems: a,
5262
5321
  toggle: s,
5263
- registerHeader: l,
5322
+ registerHeader: r,
5264
5323
  unregisterHeader: i,
5265
5324
  focusNext: n,
5266
- focusPrev: r,
5325
+ focusPrev: l,
5267
5326
  focusFirst: d,
5268
5327
  focusLast: c
5269
5328
  }), () => o.default?.();
5270
5329
  }
5271
- }), No = _({
5330
+ }), jo = _({
5272
5331
  name: "AccordionItem",
5273
5332
  props: {
5274
5333
  id: { type: String, required: !0 },
5275
5334
  disabled: { type: Boolean, default: !1 }
5276
5335
  },
5277
5336
  setup(e, { slots: o }) {
5278
- const t = le(Ae);
5337
+ const t = re(Ae);
5279
5338
  if (!t) throw new Error("AccordionItem must be used inside Accordion");
5280
5339
  const a = $(() => t.openItems.value.has(e.id));
5281
5340
  return () => F(
@@ -5287,16 +5346,16 @@ const ko = {
5287
5346
  o.default?.({ open: a.value })
5288
5347
  );
5289
5348
  }
5290
- }), Fo = _({
5349
+ }), Xo = _({
5291
5350
  name: "AccordionHeader",
5292
5351
  props: {
5293
5352
  id: { type: String, required: !0 },
5294
5353
  disabled: { type: Boolean, default: !1 }
5295
5354
  },
5296
5355
  setup(e, { slots: o }) {
5297
- const t = le(Ae), a = C(null);
5356
+ const t = re(Ae), a = C(null);
5298
5357
  if (!t) throw new Error("AccordionHeader must be used inside Accordion");
5299
- const s = $(() => t.openItems.value.has(e.id)), l = () => {
5358
+ const s = $(() => t.openItems.value.has(e.id)), r = () => {
5300
5359
  e.disabled || t.toggle?.(e.id);
5301
5360
  }, i = (n) => {
5302
5361
  if (a.value)
@@ -5315,7 +5374,7 @@ const ko = {
5315
5374
  break;
5316
5375
  }
5317
5376
  };
5318
- return te(() => {
5377
+ return ae(() => {
5319
5378
  a.value && t.registerHeader(a.value);
5320
5379
  }), He(() => {
5321
5380
  a.value && t.unregisterHeader(a.value);
@@ -5330,7 +5389,7 @@ const ko = {
5330
5389
  "aria-controls": `panel-${e.id}`,
5331
5390
  disabled: e.disabled,
5332
5391
  "data-state": s.value ? "open" : "closed",
5333
- onClick: l,
5392
+ onClick: r,
5334
5393
  onKeydown: i
5335
5394
  },
5336
5395
  [
@@ -5347,13 +5406,13 @@ const ko = {
5347
5406
  ]
5348
5407
  );
5349
5408
  }
5350
- }), Ko = _({
5409
+ }), Go = _({
5351
5410
  name: "AccordionPanel",
5352
5411
  props: {
5353
5412
  id: { type: String, required: !0 }
5354
5413
  },
5355
5414
  setup(e, { slots: o }) {
5356
- const t = le(Ae);
5415
+ const t = re(Ae);
5357
5416
  if (!t) throw new Error("AccordionPanel must be used inside Accordion");
5358
5417
  const a = $(() => t.openItems.value.has(e.id));
5359
5418
  return () => F(
@@ -5375,56 +5434,57 @@ const ko = {
5375
5434
  }
5376
5435
  });
5377
5436
  export {
5378
- qo as Accordion,
5379
- Fo as AccordionHeader,
5380
- No as AccordionItem,
5381
- Ko as AccordionPanel,
5382
- bo as Autocomplete,
5383
- vo as Avatar,
5384
- ho as Breadcrumb,
5437
+ Uo as Accordion,
5438
+ Xo as AccordionHeader,
5439
+ jo as AccordionItem,
5440
+ Go as AccordionPanel,
5441
+ Lo as Autocomplete,
5442
+ ho as Avatar,
5443
+ wo as Breadcrumb,
5385
5444
  he as Button,
5386
- wo as Card,
5387
- Lo as CardBody,
5388
- xo as CardFooter,
5389
- Mo as CardHeader,
5390
- Bo as Carousel,
5391
- _o as CarouselItem,
5392
- po as Checkbox,
5393
- To as Dropdown,
5394
- zo as DropdownItem,
5395
- Do as DropdownMenu,
5396
- Eo as DropdownTrigger,
5397
- We as Editor,
5398
- Z5 as Highlight,
5445
+ Vo as Card,
5446
+ Ho as CardBody,
5447
+ Bo as CardFooter,
5448
+ Io as CardHeader,
5449
+ To as Carousel,
5450
+ So as CarouselItem,
5451
+ go as Checkbox,
5452
+ qo as Dropdown,
5453
+ Ko as DropdownItem,
5454
+ Fo as DropdownMenu,
5455
+ No as DropdownTrigger,
5456
+ Je as Editor,
5457
+ D5 as Highlight,
5399
5458
  ue as Icon,
5400
5459
  xe as Image,
5401
- e1 as ImageGallery,
5402
- co as Input,
5403
- uo as Link,
5460
+ t1 as ImageGallery,
5461
+ mo as Input,
5462
+ po as Link,
5404
5463
  De as Modal,
5405
- d1 as ModalBody,
5406
- v1 as ModalClose,
5407
- i1 as ModalContent,
5408
- Co as ModalFooter,
5409
- c1 as ModalHeader,
5410
- u1 as ModalTitle,
5411
- yo as RadioButton,
5412
- fo as Select,
5413
- f1 as Spinner,
5414
- $o as Step,
5415
- Vo as Steps,
5416
- Oo as Table,
5417
- Ro as Tabs,
5418
- So as TabsContent,
5419
- Zo as TabsList,
5420
- Ao as TabsTrigger,
5421
- D2 as Tag,
5422
- mo as Textarea,
5423
- Io as Timeline,
5424
- Ho as TimelineItem,
5425
- ko as ToastPlugin,
5426
- t1 as ToastViewport,
5427
- Ye as Tooltip,
5428
- Je as Upload,
5429
- go as toast
5464
+ v1 as ModalBody,
5465
+ f1 as ModalClose,
5466
+ u1 as ModalContent,
5467
+ bo as ModalFooter,
5468
+ d1 as ModalHeader,
5469
+ c1 as ModalTitle,
5470
+ Mo as RadioButton,
5471
+ yo as Select,
5472
+ C1 as Spinner,
5473
+ _o as Step,
5474
+ Ro as Steps,
5475
+ Po as Table,
5476
+ Eo as Tabs,
5477
+ Oo as TabsContent,
5478
+ Do as TabsList,
5479
+ zo as TabsTrigger,
5480
+ F2 as Tag,
5481
+ ko as Textarea,
5482
+ Zo as Timeline,
5483
+ Ao as TimelineItem,
5484
+ $o as ToastPlugin,
5485
+ a1 as ToastViewport,
5486
+ Xe as Toggle,
5487
+ Qe as Tooltip,
5488
+ Ye as Upload,
5489
+ xo as toast
5430
5490
  };