sprintify-ui 0.0.33 → 0.0.35

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,14 +1,14 @@
1
1
  import al from "axios";
2
- import { defineComponent as Q, inject as Oe, resolveComponent as pe, openBlock as w, createBlock as ne, withCtx as G, createElementVNode as h, normalizeClass as z, withModifiers as Ue, renderSlot as X, createElementBlock as M, createCommentVNode as Z, toDisplayString as J, h as Be, unref as g, computed as V, ref as N, watch as Ee, Teleport as Mt, createVNode as H, Transition as qe, TransitionGroup as Ar, Fragment as me, renderList as ye, normalizeStyle as Ne, onMounted as he, withDirectives as Pe, vShow as nt, normalizeProps as We, guardReactiveProps as Qe, mergeProps as vt, resolveDynamicComponent as rn, onBeforeUnmount as on, createTextVNode as Je, cloneVNode as sl, provide as Se, watchEffect as Re, nextTick as Ve, onUnmounted as et, reactive as il, isRef as _t, withKeys as Sn, vModelText as $n, useSlots as ul, createStaticVNode as Er, getCurrentInstance as cl, pushScopeId as dl, popScopeId as fl, createSlots as ml, vModelSelect as vn } from "vue";
2
+ import { defineComponent as Q, inject as Oe, resolveComponent as pe, openBlock as b, createBlock as ne, withCtx as G, createElementVNode as h, normalizeClass as z, withModifiers as Ue, renderSlot as X, createElementBlock as T, createCommentVNode as Z, toDisplayString as J, h as Be, unref as g, computed as V, ref as N, watch as Ee, Teleport as Mt, createVNode as H, Transition as qe, TransitionGroup as Ar, Fragment as me, renderList as ye, normalizeStyle as Ne, onMounted as he, withDirectives as Pe, vShow as nt, normalizeProps as We, guardReactiveProps as Qe, mergeProps as vt, resolveDynamicComponent as rn, createTextVNode as Ye, onBeforeUnmount as on, cloneVNode as sl, provide as Se, watchEffect as Re, nextTick as Ve, onUnmounted as et, reactive as il, isRef as _t, withKeys as $n, vModelText as Cn, useSlots as ul, createStaticVNode as Er, getCurrentInstance as cl, pushScopeId as dl, popScopeId as fl, createSlots as ml, vModelSelect as gn } from "vue";
3
3
  import { useI18n as rt, createI18n as pl } from "vue-i18n";
4
- import { defineStore as Rn } from "pinia";
4
+ import { defineStore as zn } from "pinia";
5
5
  import sr from "qs";
6
- import { isArray as Ze, isObject as Cn, get as Ot, debounce as ot, cloneDeep as De, trim as It, padStart as pt, range as it, isNumber as Tr, merge as ir, set as gn, capitalize as Ht, isString as Lr, isEqual as hl } from "lodash";
6
+ import { isArray as Ze, isObject as Bn, get as Ot, debounce as ot, cloneDeep as De, trim as It, padStart as pt, range as it, isNumber as Tr, merge as ir, set as yn, capitalize as Ht, isString as Lr, isEqual as hl } from "lodash";
7
7
  import { useInfiniteScroll as Mr, useMutationObserver as ln, useResizeObserver as an, useBreakpoints as vl, useMounted as gl } from "@vueuse/core";
8
8
  import { useRoute as yl, useRouter as bl } from "vue-router";
9
9
  import wl from "pikaday";
10
10
  import { Info as Kt, DateTime as ut } from "luxon";
11
- const xl = ["active", "href", "aria-current", "onClick"], kl = ["href"], zn = /* @__PURE__ */ Q({
11
+ const xl = ["active", "href", "aria-current", "onClick"], kl = ["href"], Un = /* @__PURE__ */ Q({
12
12
  __name: "BaseActionItem",
13
13
  props: {
14
14
  item: {
@@ -32,7 +32,7 @@ const xl = ["active", "href", "aria-current", "onClick"], kl = ["href"], zn = /*
32
32
  }
33
33
  return (o, a) => {
34
34
  const s = pe("RouterLink");
35
- return e.item.to ? (w(), ne(s, {
35
+ return e.item.to ? (b(), ne(s, {
36
36
  key: 0,
37
37
  custom: "",
38
38
  to: e.item.to
@@ -49,14 +49,14 @@ const xl = ["active", "href", "aria-current", "onClick"], kl = ["href"], zn = /*
49
49
  ], 10, xl)
50
50
  ]),
51
51
  _: 3
52
- }, 8, ["to"])) : e.item.action ? (w(), M("button", {
52
+ }, 8, ["to"])) : e.item.action ? (b(), T("button", {
53
53
  key: 1,
54
54
  type: "button",
55
55
  class: z(e.itemClass),
56
56
  onClick: a[0] || (a[0] = (i) => l(e.item.action))
57
57
  }, [
58
58
  X(o.$slots, "default", { active: !1 })
59
- ], 2)) : e.item.href ? (w(), M("a", {
59
+ ], 2)) : e.item.href ? (b(), T("a", {
60
60
  key: 2,
61
61
  href: e.item.href,
62
62
  class: z(e.itemClass),
@@ -117,34 +117,34 @@ const xl = ["active", "href", "aria-current", "onClick"], kl = ["href"], zn = /*
117
117
  };
118
118
  function Cl(e, n, r, l, o, a) {
119
119
  const s = pe("BaseIcon");
120
- return w(), M("div", {
120
+ return b(), T("div", {
121
121
  class: z(["flex w-full items-start rounded-md p-4", [e.backgroundClass, e.borderClass]])
122
122
  }, [
123
- e.showIcon ? (w(), M("div", $l, [
124
- e.color == "warning" ? (w(), ne(s, {
123
+ e.showIcon ? (b(), T("div", $l, [
124
+ e.color == "warning" ? (b(), ne(s, {
125
125
  key: 0,
126
126
  icon: "heroicons-solid:exclamation",
127
127
  class: z(e.iconClass)
128
- }, null, 8, ["class"])) : e.color == "danger" ? (w(), ne(s, {
128
+ }, null, 8, ["class"])) : e.color == "danger" ? (b(), ne(s, {
129
129
  key: 1,
130
130
  icon: "heroicons-solid:exclamation-circle",
131
131
  class: z(e.iconClass)
132
- }, null, 8, ["class"])) : e.color == "success" ? (w(), ne(s, {
132
+ }, null, 8, ["class"])) : e.color == "success" ? (b(), ne(s, {
133
133
  key: 2,
134
134
  icon: "heroicons-solid:check-circle",
135
135
  class: z(e.iconClass)
136
- }, null, 8, ["class"])) : e.color == "info" ? (w(), ne(s, {
136
+ }, null, 8, ["class"])) : e.color == "info" ? (b(), ne(s, {
137
137
  key: 3,
138
138
  icon: "heroicons-solid:information-circle",
139
139
  class: z(e.iconClass)
140
140
  }, null, 8, ["class"])) : Z("", !0)
141
141
  ])) : Z("", !0),
142
142
  h("div", null, [
143
- e.title ? (w(), M("h3", {
143
+ e.title ? (b(), T("h3", {
144
144
  key: 0,
145
145
  class: z(["mb-1 font-medium leading-tight", [e.titleClass]])
146
146
  }, J(e.title), 3)) : Z("", !0),
147
- e.$slots.default ? (w(), M("div", {
147
+ e.$slots.default ? (b(), T("div", {
148
148
  key: 1,
149
149
  class: z([e.textClass, "text-sm leading-tight"])
150
150
  }, [
@@ -202,7 +202,7 @@ const Or = /* @__PURE__ */ Fe(Sl, [["render", Cl]]), Ct = /^[a-z0-9]+(-[a-z0-9]+
202
202
  }), un = Object.freeze({
203
203
  ...jr,
204
204
  ...Zt
205
- }), Bn = Object.freeze({
205
+ }), _n = Object.freeze({
206
206
  ...un,
207
207
  body: "",
208
208
  hidden: !1
@@ -215,7 +215,7 @@ function Bl(e, n) {
215
215
  }
216
216
  function ur(e, n) {
217
217
  const r = Bl(e, n);
218
- for (const l in Bn)
218
+ for (const l in _n)
219
219
  l in Zt ? l in e && !(l in r) && (r[l] = Zt[l]) : l in n ? r[l] = n[l] : l in e && (r[l] = e[l]);
220
220
  return r;
221
221
  }
@@ -264,7 +264,7 @@ const Al = {
264
264
  not_found: {},
265
265
  ...jr
266
266
  };
267
- function yn(e, n) {
267
+ function bn(e, n) {
268
268
  for (const r in n)
269
269
  if (r in e && typeof e[r] != typeof n[r])
270
270
  return !1;
@@ -274,23 +274,23 @@ function Fr(e) {
274
274
  if (typeof e != "object" || e === null)
275
275
  return null;
276
276
  const n = e;
277
- if (typeof n.prefix != "string" || !e.icons || typeof e.icons != "object" || !yn(e, Al))
277
+ if (typeof n.prefix != "string" || !e.icons || typeof e.icons != "object" || !bn(e, Al))
278
278
  return null;
279
279
  const r = n.icons;
280
280
  for (const o in r) {
281
281
  const a = r[o];
282
- if (!o.match(Ct) || typeof a.body != "string" || !yn(
282
+ if (!o.match(Ct) || typeof a.body != "string" || !bn(
283
283
  a,
284
- Bn
284
+ _n
285
285
  ))
286
286
  return null;
287
287
  }
288
288
  const l = n.aliases || /* @__PURE__ */ Object.create(null);
289
289
  for (const o in l) {
290
290
  const a = l[o], s = a.parent;
291
- if (!o.match(Ct) || typeof s != "string" || !r[s] && !l[s] || !yn(
291
+ if (!o.match(Ct) || typeof s != "string" || !r[s] && !l[s] || !bn(
292
292
  a,
293
- Bn
293
+ _n
294
294
  ))
295
295
  return null;
296
296
  }
@@ -309,7 +309,7 @@ function gt(e, n) {
309
309
  const r = cr[e] || (cr[e] = /* @__PURE__ */ Object.create(null));
310
310
  return r[n] || (r[n] = El(e, n));
311
311
  }
312
- function Un(e, n) {
312
+ function qn(e, n) {
313
313
  return Fr(n) ? Dr(n, (r, l) => {
314
314
  l ? e.icons[r] = l : e.missing.add(r);
315
315
  }) : [];
@@ -357,7 +357,7 @@ function Ol(e, n) {
357
357
  }))
358
358
  return !1;
359
359
  const l = gt(n, r);
360
- return !!Un(l, e);
360
+ return !!qn(l, e);
361
361
  }
362
362
  const Vr = Object.freeze({
363
363
  width: null,
@@ -405,14 +405,14 @@ function Fl(e, n) {
405
405
  let a = r.body;
406
406
  [r, l].forEach((A) => {
407
407
  const k = [], F = A.hFlip, S = A.vFlip;
408
- let T = A.rotate;
409
- F ? S ? T += 2 : (k.push(
408
+ let L = A.rotate;
409
+ F ? S ? L += 2 : (k.push(
410
410
  "translate(" + (o.width + o.left).toString() + " " + (0 - o.top).toString() + ")"
411
411
  ), k.push("scale(-1 1)"), o.top = o.left = 0) : S && (k.push(
412
412
  "translate(" + (0 - o.left).toString() + " " + (o.height + o.top).toString() + ")"
413
413
  ), k.push("scale(1 -1)"), o.top = o.left = 0);
414
414
  let t;
415
- switch (T < 0 && (T -= Math.floor(T / 4) * 4), T = T % 4, T) {
415
+ switch (L < 0 && (L -= Math.floor(L / 4) * 4), L = L % 4, L) {
416
416
  case 1:
417
417
  t = o.height / 2 + o.top, k.unshift(
418
418
  "rotate(90 " + t.toString() + " " + t.toString() + ")"
@@ -429,7 +429,7 @@ function Fl(e, n) {
429
429
  );
430
430
  break;
431
431
  }
432
- T % 2 === 1 && (o.left !== o.top && (t = o.left, o.left = o.top, o.top = t), o.width !== o.height && (t = o.width, o.width = o.height, o.height = t)), k.length && (a = '<g transform="' + k.join(" ") + '">' + a + "</g>");
432
+ L % 2 === 1 && (o.left !== o.top && (t = o.left, o.left = o.top, o.top = t), o.width !== o.height && (t = o.width, o.width = o.height, o.height = t)), k.length && (a = '<g transform="' + k.join(" ") + '">' + a + "</g>");
433
433
  });
434
434
  const s = l.width, i = l.height, d = o.width, p = o.height;
435
435
  let x, y;
@@ -457,14 +457,14 @@ function Rl(e, n = Vl) {
457
457
  );
458
458
  }), e;
459
459
  }
460
- const _n = /* @__PURE__ */ Object.create(null);
460
+ const In = /* @__PURE__ */ Object.create(null);
461
461
  function zl(e, n) {
462
- _n[e] = n;
462
+ In[e] = n;
463
463
  }
464
- function In(e) {
465
- return _n[e] || _n[""];
464
+ function An(e) {
465
+ return In[e] || In[""];
466
466
  }
467
- function qn(e) {
467
+ function Hn(e) {
468
468
  let n;
469
469
  if (typeof e.resources == "string")
470
470
  n = [e.resources];
@@ -481,21 +481,21 @@ function qn(e) {
481
481
  dataAfterTimeout: e.dataAfterTimeout !== !1
482
482
  };
483
483
  }
484
- const Hn = /* @__PURE__ */ Object.create(null), St = [
484
+ const Kn = /* @__PURE__ */ Object.create(null), St = [
485
485
  "https://api.simplesvg.com",
486
486
  "https://api.unisvg.com"
487
487
  ], Wt = [];
488
488
  for (; St.length > 0; )
489
489
  St.length === 1 || Math.random() > 0.5 ? Wt.push(St.shift()) : Wt.push(St.pop());
490
- Hn[""] = qn({
490
+ Kn[""] = Hn({
491
491
  resources: ["https://api.iconify.design"].concat(Wt)
492
492
  });
493
493
  function Ul(e, n) {
494
- const r = qn(n);
495
- return r === null ? !1 : (Hn[e] = r, !0);
494
+ const r = Hn(n);
495
+ return r === null ? !1 : (Kn[e] = r, !0);
496
496
  }
497
- function Kn(e) {
498
- return Hn[e];
497
+ function Gn(e) {
498
+ return Kn[e];
499
499
  }
500
500
  const ql = () => {
501
501
  let e;
@@ -507,7 +507,7 @@ const ql = () => {
507
507
  };
508
508
  let fr = ql();
509
509
  function Hl(e, n) {
510
- const r = Kn(e);
510
+ const r = Gn(e);
511
511
  if (!r)
512
512
  return 0;
513
513
  let l;
@@ -545,7 +545,7 @@ const Gl = (e, n, r) => {
545
545
  };
546
546
  function Wl(e) {
547
547
  if (typeof e == "string") {
548
- const n = Kn(e);
548
+ const n = Gn(e);
549
549
  if (n)
550
550
  return n.path;
551
551
  }
@@ -706,12 +706,12 @@ function ra(e, n, r, l) {
706
706
  const o = e.resources.length, a = e.random ? Math.floor(Math.random() * o) : e.index;
707
707
  let s;
708
708
  if (e.random) {
709
- let b = e.resources.slice(0);
710
- for (s = []; b.length > 1; ) {
711
- const B = Math.floor(Math.random() * b.length);
712
- s.push(b[B]), b = b.slice(0, B).concat(b.slice(B + 1));
709
+ let w = e.resources.slice(0);
710
+ for (s = []; w.length > 1; ) {
711
+ const B = Math.floor(Math.random() * w.length);
712
+ s.push(w[B]), w = w.slice(0, B).concat(w.slice(B + 1));
713
713
  }
714
- s = s.concat(b);
714
+ s = s.concat(w);
715
715
  } else
716
716
  s = e.resources.slice(a).concat(e.resources.slice(0, a));
717
717
  const i = Date.now();
@@ -721,14 +721,14 @@ function ra(e, n, r, l) {
721
721
  y && (clearTimeout(y), y = null);
722
722
  }
723
723
  function F() {
724
- d === "pending" && (d = "aborted"), k(), _.forEach((b) => {
725
- b.status === "pending" && (b.status = "aborted");
724
+ d === "pending" && (d = "aborted"), k(), _.forEach((w) => {
725
+ w.status === "pending" && (w.status = "aborted");
726
726
  }), _ = [];
727
727
  }
728
- function S(b, B) {
729
- B && (A = []), typeof b == "function" && A.push(b);
728
+ function S(w, B) {
729
+ B && (A = []), typeof w == "function" && A.push(w);
730
730
  }
731
- function T() {
731
+ function L() {
732
732
  return {
733
733
  startTime: i,
734
734
  payload: n,
@@ -740,18 +740,18 @@ function ra(e, n, r, l) {
740
740
  };
741
741
  }
742
742
  function t() {
743
- d = "failed", A.forEach((b) => {
744
- b(void 0, x);
743
+ d = "failed", A.forEach((w) => {
744
+ w(void 0, x);
745
745
  });
746
746
  }
747
747
  function E() {
748
- _.forEach((b) => {
749
- b.status === "pending" && (b.status = "aborted");
748
+ _.forEach((w) => {
749
+ w.status === "pending" && (w.status = "aborted");
750
750
  }), _ = [];
751
751
  }
752
- function L(b, B, c) {
752
+ function M(w, B, c) {
753
753
  const m = B !== "success";
754
- switch (_ = _.filter((f) => f !== b), d) {
754
+ switch (_ = _.filter((f) => f !== w), d) {
755
755
  case "pending":
756
756
  break;
757
757
  case "failed":
@@ -770,7 +770,7 @@ function ra(e, n, r, l) {
770
770
  return;
771
771
  }
772
772
  if (k(), E(), !e.random) {
773
- const f = e.resources.indexOf(b.resource);
773
+ const f = e.resources.indexOf(w.resource);
774
774
  f !== -1 && f !== e.index && (e.index = f);
775
775
  }
776
776
  d = "completed", A.forEach((f) => {
@@ -781,8 +781,8 @@ function ra(e, n, r, l) {
781
781
  if (d !== "pending")
782
782
  return;
783
783
  k();
784
- const b = s.shift();
785
- if (b === void 0) {
784
+ const w = s.shift();
785
+ if (w === void 0) {
786
786
  if (_.length) {
787
787
  y = setTimeout(() => {
788
788
  k(), d === "pending" && (E(), t());
@@ -794,14 +794,14 @@ function ra(e, n, r, l) {
794
794
  }
795
795
  const B = {
796
796
  status: "pending",
797
- resource: b,
797
+ resource: w,
798
798
  callback: (c, m) => {
799
- L(B, c, m);
799
+ M(B, c, m);
800
800
  }
801
801
  };
802
- _.push(B), p++, y = setTimeout(R, e.rotate), r(b, n, B.callback);
802
+ _.push(B), p++, y = setTimeout(R, e.rotate), r(w, n, B.callback);
803
803
  }
804
- return setTimeout(R), T;
804
+ return setTimeout(R), L;
805
805
  }
806
806
  function zr(e) {
807
807
  const n = {
@@ -838,47 +838,47 @@ function zr(e) {
838
838
  }
839
839
  function mr() {
840
840
  }
841
- const bn = /* @__PURE__ */ Object.create(null);
841
+ const wn = /* @__PURE__ */ Object.create(null);
842
842
  function oa(e) {
843
- if (!bn[e]) {
844
- const n = Kn(e);
843
+ if (!wn[e]) {
844
+ const n = Gn(e);
845
845
  if (!n)
846
846
  return;
847
847
  const r = zr(n), l = {
848
848
  config: n,
849
849
  redundancy: r
850
850
  };
851
- bn[e] = l;
851
+ wn[e] = l;
852
852
  }
853
- return bn[e];
853
+ return wn[e];
854
854
  }
855
855
  function la(e, n, r) {
856
856
  let l, o;
857
857
  if (typeof e == "string") {
858
- const a = In(e);
858
+ const a = An(e);
859
859
  if (!a)
860
860
  return r(void 0, 424), mr;
861
861
  o = a.send;
862
862
  const s = oa(e);
863
863
  s && (l = s.redundancy);
864
864
  } else {
865
- const a = qn(e);
865
+ const a = Hn(e);
866
866
  if (a) {
867
867
  l = zr(a);
868
- const s = e.resources ? e.resources[0] : "", i = In(s);
868
+ const s = e.resources ? e.resources[0] : "", i = An(s);
869
869
  i && (o = i.send);
870
870
  }
871
871
  }
872
872
  return !l || !o ? (r(void 0, 424), mr) : l.query(n, o, r)().abort;
873
873
  }
874
874
  const pr = "iconify2", Et = "iconify", Ur = Et + "-count", hr = Et + "-version", qr = 36e5, aa = 168;
875
- function An(e, n) {
875
+ function En(e, n) {
876
876
  try {
877
877
  return e.getItem(n);
878
878
  } catch {
879
879
  }
880
880
  }
881
- function Gn(e, n, r) {
881
+ function Wn(e, n, r) {
882
882
  try {
883
883
  return e.setItem(n, r), !0;
884
884
  } catch {
@@ -890,11 +890,11 @@ function vr(e, n) {
890
890
  } catch {
891
891
  }
892
892
  }
893
- function En(e, n) {
894
- return Gn(e, Ur, n.toString());
893
+ function Tn(e, n) {
894
+ return Wn(e, Ur, n.toString());
895
895
  }
896
- function Tn(e) {
897
- return parseInt(An(e, Ur)) || 0;
896
+ function Ln(e) {
897
+ return parseInt(En(e, Ur)) || 0;
898
898
  }
899
899
  const cn = {
900
900
  local: !0,
@@ -903,9 +903,9 @@ const cn = {
903
903
  local: /* @__PURE__ */ new Set(),
904
904
  session: /* @__PURE__ */ new Set()
905
905
  };
906
- let Wn = !1;
906
+ let Qn = !1;
907
907
  function sa(e) {
908
- Wn = e;
908
+ Qn = e;
909
909
  }
910
910
  let Rt = typeof window > "u" ? {} : window;
911
911
  function Kr(e) {
@@ -921,18 +921,18 @@ function Gr(e, n) {
921
921
  const r = Kr(e);
922
922
  if (!r)
923
923
  return;
924
- const l = An(r, hr);
924
+ const l = En(r, hr);
925
925
  if (l !== pr) {
926
926
  if (l) {
927
- const i = Tn(r);
927
+ const i = Ln(r);
928
928
  for (let d = 0; d < i; d++)
929
929
  vr(r, Et + d.toString());
930
930
  }
931
- Gn(r, hr, pr), En(r, 0);
931
+ Wn(r, hr, pr), Tn(r, 0);
932
932
  return;
933
933
  }
934
934
  const o = Math.floor(Date.now() / qr) - aa, a = (i) => {
935
- const d = Et + i.toString(), p = An(r, d);
935
+ const d = Et + i.toString(), p = En(r, d);
936
936
  if (typeof p == "string") {
937
937
  try {
938
938
  const x = JSON.parse(p);
@@ -943,12 +943,12 @@ function Gr(e, n) {
943
943
  vr(r, d);
944
944
  }
945
945
  };
946
- let s = Tn(r);
946
+ let s = Ln(r);
947
947
  for (let i = s - 1; i >= 0; i--)
948
- a(i) || (i === s - 1 ? (s--, En(r, s)) : Hr[e].add(i));
948
+ a(i) || (i === s - 1 ? (s--, Tn(r, s)) : Hr[e].add(i));
949
949
  }
950
950
  function Wr() {
951
- if (!Wn) {
951
+ if (!Qn) {
952
952
  sa(!0);
953
953
  for (const e in cn)
954
954
  Gr(e, (n) => {
@@ -956,7 +956,7 @@ function Wr() {
956
956
  l,
957
957
  o
958
958
  );
959
- if (!Un(a, r).length)
959
+ if (!qn(a, r).length)
960
960
  return !1;
961
961
  const s = r.lastModified || -1;
962
962
  return a.lastModifiedCached = a.lastModifiedCached ? Math.min(a.lastModifiedCached, s) : s, !0;
@@ -976,7 +976,7 @@ function ia(e, n) {
976
976
  return !0;
977
977
  }
978
978
  function ua(e, n) {
979
- Wn || Wr();
979
+ Qn || Wr();
980
980
  function r(l) {
981
981
  let o;
982
982
  if (!cn[l] || !(o = Kr(l)))
@@ -985,14 +985,14 @@ function ua(e, n) {
985
985
  let s;
986
986
  if (a.size)
987
987
  a.delete(s = Array.from(a).shift());
988
- else if (s = Tn(o), !En(o, s + 1))
988
+ else if (s = Ln(o), !Tn(o, s + 1))
989
989
  return;
990
990
  const i = {
991
991
  cached: Math.floor(Date.now() / qr),
992
992
  provider: e.provider,
993
993
  data: n
994
994
  };
995
- return Gn(
995
+ return Wn(
996
996
  o,
997
997
  Et + s.toString(),
998
998
  JSON.stringify(i)
@@ -1013,7 +1013,7 @@ function da(e, n) {
1013
1013
  const { provider: r, prefix: l } = e, o = e.iconsToLoad;
1014
1014
  delete e.iconsToLoad;
1015
1015
  let a;
1016
- if (!o || !(a = In(r)))
1016
+ if (!o || !(a = An(r)))
1017
1017
  return;
1018
1018
  a.prepare(r, l, o).forEach((i) => {
1019
1019
  la(r, i, (d) => {
@@ -1023,7 +1023,7 @@ function da(e, n) {
1023
1023
  });
1024
1024
  else
1025
1025
  try {
1026
- const p = Un(
1026
+ const p = qn(
1027
1027
  e,
1028
1028
  d
1029
1029
  );
@@ -1144,7 +1144,7 @@ const yr = {
1144
1144
  role: "img"
1145
1145
  }, xa = {
1146
1146
  display: "inline-block"
1147
- }, Ln = {
1147
+ }, Mn = {
1148
1148
  backgroundColor: "currentColor"
1149
1149
  }, Qr = {
1150
1150
  backgroundColor: "transparent"
@@ -1153,8 +1153,8 @@ const yr = {
1153
1153
  Repeat: "no-repeat",
1154
1154
  Size: "100% 100%"
1155
1155
  }, wr = {
1156
- webkitMask: Ln,
1157
- mask: Ln,
1156
+ webkitMask: Mn,
1157
+ mask: Mn,
1158
1158
  background: Qr
1159
1159
  };
1160
1160
  for (const e in wr) {
@@ -1200,8 +1200,8 @@ const kr = (e, n) => {
1200
1200
  S !== !0 && S !== "true" && delete l["aria-hidden"];
1201
1201
  break;
1202
1202
  default: {
1203
- const T = Qt[F];
1204
- T ? (S === !0 || S === "true" || S === 1) && (r[T] = !0) : yr[F] === void 0 && (l[F] = S);
1203
+ const L = Qt[F];
1204
+ L ? (S === !0 || S === "true" || S === 1) && (r[L] = !0) : yr[F] === void 0 && (l[F] = S);
1205
1205
  }
1206
1206
  }
1207
1207
  }
@@ -1225,7 +1225,7 @@ const kr = (e, n) => {
1225
1225
  width: xr(p.width),
1226
1226
  height: xr(p.height),
1227
1227
  ...xa,
1228
- ...A ? Ln : Qr,
1228
+ ...A ? Mn : Qr,
1229
1229
  ...i
1230
1230
  }, Be("span", l);
1231
1231
  };
@@ -1351,7 +1351,7 @@ const ka = {
1351
1351
  setup(e) {
1352
1352
  return (n, r) => {
1353
1353
  var l, o;
1354
- return w(), M("div", Sa, [
1354
+ return b(), T("div", Sa, [
1355
1355
  h("div", $a, [
1356
1356
  h("div", {
1357
1357
  class: z(["mx-auto flex h-12 w-12 flex-shrink-0 items-center justify-center rounded-full sm:mx-0 sm:h-10 sm:w-10", {
@@ -1361,19 +1361,19 @@ const ka = {
1361
1361
  "bg-green-100": e.color == "success"
1362
1362
  }])
1363
1363
  }, [
1364
- e.color == "danger" ? (w(), ne(g(_e), {
1364
+ e.color == "danger" ? (b(), ne(g(_e), {
1365
1365
  key: 0,
1366
1366
  class: "h-6 w-6 text-red-600",
1367
1367
  icon: "heroicons:exclamation-triangle-20-solid"
1368
- })) : e.color == "warning" ? (w(), ne(g(_e), {
1368
+ })) : e.color == "warning" ? (b(), ne(g(_e), {
1369
1369
  key: 1,
1370
1370
  class: "h-6 w-6 text-yellow-600",
1371
1371
  icon: "heroicons:exclamation-triangle-20-solid"
1372
- })) : e.color == "success" ? (w(), ne(g(_e), {
1372
+ })) : e.color == "success" ? (b(), ne(g(_e), {
1373
1373
  key: 2,
1374
1374
  class: "h-6 w-6 text-green-600",
1375
1375
  icon: "heroicons:check-circle-20-solid"
1376
- })) : (w(), ne(g(_e), {
1376
+ })) : (b(), ne(g(_e), {
1377
1377
  key: 3,
1378
1378
  class: "h-6 w-6 text-primary-600",
1379
1379
  icon: "heroicons:information-circle-20-solid"
@@ -1408,7 +1408,7 @@ const ka = {
1408
1408
  ]);
1409
1409
  };
1410
1410
  }
1411
- }), Qn = Rn("dialogs", {
1411
+ }), Yn = zn("dialogs", {
1412
1412
  state: () => ({
1413
1413
  count: 0,
1414
1414
  dialogs: []
@@ -1538,7 +1538,7 @@ var Ea = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1538
1538
  var Y = C.scrollTop, re = C.scrollHeight, ie = Y + C.offsetHeight;
1539
1539
  return ie >= re;
1540
1540
  }
1541
- }, T = function(C) {
1541
+ }, L = function(C) {
1542
1542
  if (C) {
1543
1543
  if (k(C))
1544
1544
  return !0;
@@ -1555,7 +1555,7 @@ var Ea = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1555
1555
  }, E = function(C) {
1556
1556
  var Y = 'textarea, [contenteditable="true"]';
1557
1557
  return A(C, Y);
1558
- }, L = function(C) {
1558
+ }, M = function(C) {
1559
1559
  var Y = 'input[type="range"]';
1560
1560
  return A(C, Y);
1561
1561
  };
@@ -1592,7 +1592,7 @@ var Ea = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1592
1592
  }), o.d(l, "addFillGapTarget", function() {
1593
1593
  return Le;
1594
1594
  }), o.d(l, "removeFillGapTarget", function() {
1595
- return Ye;
1595
+ return Je;
1596
1596
  }), o.d(l, "addFillGapSelector", function() {
1597
1597
  return Ge;
1598
1598
  }), o.d(l, "removeFillGapSelector", function() {
@@ -1606,12 +1606,12 @@ var Ea = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
1606
1606
  typeof Object.getOwnPropertySymbols == "function" && (re = re.concat(Object.getOwnPropertySymbols(Y).filter(function(ie) {
1607
1607
  return Object.getOwnPropertyDescriptor(Y, ie).enumerable;
1608
1608
  }))), re.forEach(function(ie) {
1609
- b(te, ie, Y[ie]);
1609
+ w(te, ie, Y[ie]);
1610
1610
  });
1611
1611
  }
1612
1612
  return te;
1613
1613
  }
1614
- function b(te, C, Y) {
1614
+ function w(te, C, Y) {
1615
1615
  return C in te ? Object.defineProperty(te, C, { value: Y, enumerable: !0, configurable: !0, writable: !0 }) : te[C] = Y, te;
1616
1616
  }
1617
1617
  var B = ["padding", "margin", "width", "max-width", "none"], c = 3, m = {
@@ -1726,7 +1726,7 @@ Available fill gap methods: `).concat(Y, "."));
1726
1726
  });
1727
1727
  });
1728
1728
  }
1729
- }, Ye = function(C) {
1729
+ }, Je = function(C) {
1730
1730
  if (C) {
1731
1731
  var Y = a(C);
1732
1732
  Y.map(function(re) {
@@ -1844,14 +1844,14 @@ Available fill gap methods: `).concat(Y, "."));
1844
1844
  }, ol = function ar(Me) {
1845
1845
  var ll = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : !1;
1846
1846
  if (Me) {
1847
- var hn = _(Me, ft, !1);
1848
- if (L(Me))
1847
+ var vn = _(Me, ft, !1);
1848
+ if (M(Me))
1849
1849
  return !1;
1850
1850
  if (ll || E(Me) && _(Me, ft) || A(Me, ft)) {
1851
1851
  var Nt = !1;
1852
- T(Me) && t(Me) ? (at.up && F(Me) || at.down && S(Me)) && (Nt = !0) : F(Me) && S(Me) ? (at.left && T(Me) || at.right && t(Me)) && (Nt = !0) : (Vt.up && F(Me) || Vt.down && S(Me) || Vt.left && T(Me) || Vt.right && t(Me)) && (Nt = !0), Nt && (hn ? ar(hn, !0) : C.cancelable && C.preventDefault());
1852
+ L(Me) && t(Me) ? (at.up && F(Me) || at.down && S(Me)) && (Nt = !0) : F(Me) && S(Me) ? (at.left && L(Me) || at.right && t(Me)) && (Nt = !0) : (Vt.up && F(Me) || Vt.down && S(Me) || Vt.left && L(Me) || Vt.right && t(Me)) && (Nt = !0), Nt && (vn ? ar(vn, !0) : C.cancelable && C.preventDefault());
1853
1853
  } else
1854
- ar(hn);
1854
+ ar(vn);
1855
1855
  } else
1856
1856
  C.cancelable && C.preventDefault();
1857
1857
  };
@@ -1922,7 +1922,7 @@ Available fill gap methods: `).concat(Y, "."));
1922
1922
  addFillGapSelector: Ge,
1923
1923
  removeFillGapSelector: P,
1924
1924
  addFillGapTarget: Le,
1925
- removeFillGapTarget: Ye,
1925
+ removeFillGapTarget: Je,
1926
1926
  setFillGapMethod: fe,
1927
1927
  refillGaps: u,
1928
1928
  _state: m
@@ -1944,7 +1944,7 @@ const Ta = {
1944
1944
  }, La = { class: "flex min-h-full items-end justify-center p-4 text-center sm:items-center sm:p-0" }, Ma = ["onClick"], Xr = /* @__PURE__ */ Q({
1945
1945
  __name: "BaseAppDialogs",
1946
1946
  setup(e, { expose: n }) {
1947
- const r = Qn(), l = V(() => r.dialogs);
1947
+ const r = Yn(), l = V(() => r.dialogs);
1948
1948
  function o(p) {
1949
1949
  p.onConfirm(), s(p);
1950
1950
  }
@@ -1967,7 +1967,7 @@ const Ta = {
1967
1967
  }
1968
1968
  ), n({
1969
1969
  dialogs: l
1970
- }), (p, x) => (w(), ne(Mt, { to: "body" }, [
1970
+ }), (p, x) => (b(), ne(Mt, { to: "body" }, [
1971
1971
  H(qe, {
1972
1972
  appear: "",
1973
1973
  "enter-active-class": "duration-300 ease-out",
@@ -1978,7 +1978,7 @@ const Ta = {
1978
1978
  "leave-to-class": "opacity-0"
1979
1979
  }, {
1980
1980
  default: G(() => [
1981
- g(l).length ? (w(), M("div", Ta)) : Z("", !0)
1981
+ g(l).length ? (b(), T("div", Ta)) : Z("", !0)
1982
1982
  ]),
1983
1983
  _: 1
1984
1984
  }),
@@ -1993,9 +1993,9 @@ const Ta = {
1993
1993
  tag: "div"
1994
1994
  }, {
1995
1995
  default: G(() => [
1996
- (w(!0), M(me, null, ye(g(l), (y) => {
1996
+ (b(!0), T(me, null, ye(g(l), (y) => {
1997
1997
  var _;
1998
- return w(), M("div", {
1998
+ return b(), T("div", {
1999
1999
  key: y.id,
2000
2000
  "scroll-lock-target": "",
2001
2001
  class: "fixed inset-0 z-dialogs transform overflow-y-auto"
@@ -2035,7 +2035,7 @@ const Ta = {
2035
2035
  __name: "BaseAppNotifications",
2036
2036
  setup(e) {
2037
2037
  const n = Ft(), r = V(() => n.notifications);
2038
- return (l, o) => (w(), ne(Mt, { to: "body" }, [
2038
+ return (l, o) => (b(), ne(Mt, { to: "body" }, [
2039
2039
  h("div", Oa, [
2040
2040
  h("div", ja, [
2041
2041
  H(Ar, {
@@ -2047,7 +2047,7 @@ const Ta = {
2047
2047
  "leave-to-class": "sm:translate-y-0 sm:translate-x-4 translate-y-2 opacity-0"
2048
2048
  }, {
2049
2049
  default: G(() => [
2050
- (w(!0), M(me, null, ye(g(r), (a) => (w(), M("div", {
2050
+ (b(!0), T(me, null, ye(g(r), (a) => (b(), T("div", {
2051
2051
  key: a.id
2052
2052
  }, [
2053
2053
  h("div", Da, [
@@ -2084,7 +2084,7 @@ const Ta = {
2084
2084
  }), za = { class: "min-h-full" }, Ua = /* @__PURE__ */ Q({
2085
2085
  __name: "BaseApp",
2086
2086
  setup(e) {
2087
- return (n, r) => (w(), M("div", za, [
2087
+ return (n, r) => (b(), T("div", za, [
2088
2088
  X(n.$slots, "default"),
2089
2089
  H(eo),
2090
2090
  H(Xr)
@@ -2103,7 +2103,7 @@ const Ta = {
2103
2103
  }
2104
2104
  },
2105
2105
  setup(e) {
2106
- return (n, r) => (w(), M("div", {
2106
+ return (n, r) => (b(), T("div", {
2107
2107
  class: z(["relative isolate overflow-hidden rounded", [e.background]])
2108
2108
  }, [
2109
2109
  h("div", {
@@ -2116,13 +2116,13 @@ const Ta = {
2116
2116
  ], 2));
2117
2117
  }
2118
2118
  });
2119
- function Yn(e, n, r, l, o = N(!1)) {
2119
+ function dn(e, n, r, l, o = N(!1)) {
2120
2120
  const a = V(
2121
2121
  () => o.value ? Ze(e.value) ? e.value.map((d) => ({
2122
2122
  label: d[r.value],
2123
2123
  value: d[l.value],
2124
2124
  option: d
2125
- })) : [] : Cn(e.value) ? {
2125
+ })) : [] : Bn(e.value) ? {
2126
2126
  label: e.value[r.value],
2127
2127
  value: e.value[l.value],
2128
2128
  option: e.value
@@ -2133,7 +2133,7 @@ function Yn(e, n, r, l, o = N(!1)) {
2133
2133
  option: d
2134
2134
  })));
2135
2135
  function i(d) {
2136
- return Ze(a.value) ? a.value.some((p) => p.value === d.value) : Cn(a.value) ? a.value.value == d.value : !1;
2136
+ return Ze(a.value) ? a.value.some((p) => p.value === d.value) : Bn(a.value) ? a.value.value == d.value : !1;
2137
2137
  }
2138
2138
  return {
2139
2139
  normalizedOptions: s,
@@ -2205,7 +2205,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2205
2205
  "clear"
2206
2206
  ],
2207
2207
  setup(e, { emit: n }) {
2208
- const r = e, l = N(0), o = N(""), a = N(!1), s = N(0), i = N(null), d = N(null), p = Yn(
2208
+ const r = e, l = N(0), o = N(""), a = N(!1), s = N(0), i = N(null), d = N(null), p = dn(
2209
2209
  V(() => r.modelValue),
2210
2210
  V(() => r.options),
2211
2211
  V(() => r.labelKey),
@@ -2244,7 +2244,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2244
2244
  const S = (U) => {
2245
2245
  var q;
2246
2246
  (q = i.value) == null || q.focus(), U.preventDefault();
2247
- }, T = () => {
2247
+ }, L = () => {
2248
2248
  clearTimeout(l.value), a.value = !0, n("focus");
2249
2249
  }, t = () => {
2250
2250
  l.value = setTimeout(() => {
@@ -2255,7 +2255,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2255
2255
  s.value = 0, f(Ot(U, "target.value") + ""), (q = d.value) == null || q.scrollTo({
2256
2256
  top: 0
2257
2257
  }), o.value == "" && c(null);
2258
- }, L = (U) => {
2258
+ }, M = (U) => {
2259
2259
  const q = U.key;
2260
2260
  if (!r.loading) {
2261
2261
  if (q === "ArrowDown") {
@@ -2277,7 +2277,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2277
2277
  }, R = (U) => {
2278
2278
  const q = A.value && A.value.value == U.value;
2279
2279
  return x(U) ? q ? "bg-blue-600 hover:bg-blue-700 text-white" : "bg-blue-500 hover:bg-blue-600 text-white" : q ? "bg-slate-200 hover:bg-slate-300" : "bg-white hover:bg-slate-100";
2280
- }, b = () => {
2280
+ }, w = () => {
2281
2281
  var U;
2282
2282
  n("clear"), m(""), c(null), (U = i.value) == null || U.focus();
2283
2283
  }, B = (U) => {
@@ -2306,7 +2306,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2306
2306
  { attributes: !1, childList: !0 }
2307
2307
  ), (U, q) => {
2308
2308
  const ee = pe("BaseIcon");
2309
- return w(), M("div", null, [
2309
+ return b(), T("div", null, [
2310
2310
  h("div", qa, [
2311
2311
  h("div", Ha, [
2312
2312
  h("input", {
@@ -2318,10 +2318,10 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2318
2318
  placeholder: e.placeholder ? e.placeholder : U.$t("sui.autocomplete_placeholder"),
2319
2319
  autocomplete: "off",
2320
2320
  disabled: e.disabled,
2321
- onFocus: T,
2321
+ onFocus: L,
2322
2322
  onBlur: t,
2323
2323
  onInput: E,
2324
- onKeydown: L
2324
+ onKeydown: M
2325
2325
  }, null, 42, Ka),
2326
2326
  h("div", Ga, [
2327
2327
  H(ee, {
@@ -2330,11 +2330,11 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2330
2330
  })
2331
2331
  ])
2332
2332
  ]),
2333
- g(_) && !e.disabled ? (w(), M("div", Wa, [
2333
+ g(_) && !e.disabled ? (b(), T("div", Wa, [
2334
2334
  h("button", {
2335
2335
  type: "button",
2336
2336
  class: "group flex h-full items-center rounded p-1.5 enabled:hover:bg-slate-100",
2337
- onClick: q[0] || (q[0] = (W) => b())
2337
+ onClick: q[0] || (q[0] = (W) => w())
2338
2338
  }, [
2339
2339
  H(ee, {
2340
2340
  icon: "heroicons:x-mark",
@@ -2352,8 +2352,8 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2352
2352
  }, [
2353
2353
  g(k).length == 0 ? X(U.$slots, "empty", { key: 0 }, () => [
2354
2354
  h("div", Ja, J(U.$t("sui.nothing_found")), 1)
2355
- ]) : (w(), M("ul", Za, [
2356
- (w(!0), M(me, null, ye(g(k), (W) => (w(), M("li", {
2355
+ ]) : (b(), T("ul", Za, [
2356
+ (b(!0), T(me, null, ye(g(k), (W) => (b(), T("li", {
2357
2357
  key: W.value,
2358
2358
  class: "block"
2359
2359
  }, [
@@ -2381,11 +2381,11 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2381
2381
  ref_key: "footer",
2382
2382
  ref: I
2383
2383
  }, [
2384
- U.$slots.footer ? (w(), M("div", es, [
2384
+ U.$slots.footer ? (b(), T("div", es, [
2385
2385
  X(U.$slots, "footer", { options: g(k) })
2386
2386
  ])) : Z("", !0)
2387
2387
  ], 512),
2388
- e.loading ? (w(), M("div", ts, [
2388
+ e.loading ? (b(), T("div", ts, [
2389
2389
  h("div", ns, [
2390
2390
  H(ht, {
2391
2391
  class: "h-7 w-full",
@@ -2478,17 +2478,17 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2478
2478
  page: d.value
2479
2479
  }
2480
2480
  }).then((S) => {
2481
- const T = S.data.data;
2482
- T.length == 0 && (s.value = !0), d.value == 1 ? p.value = T : p.value.push(...T), a.value = !0;
2481
+ const L = S.data.data;
2482
+ L.length == 0 && (s.value = !0), d.value == 1 ? p.value = L : p.value.push(...L), a.value = !0;
2483
2483
  }).finally(() => {
2484
2484
  o.value = !1, l.value = !1;
2485
2485
  }));
2486
2486
  }, F = ot(() => {
2487
2487
  k();
2488
2488
  }, 300);
2489
- return (S, T) => {
2489
+ return (S, L) => {
2490
2490
  const t = pe("BaseIcon"), E = pe("router-link");
2491
- return w(), ne(to, {
2491
+ return b(), ne(to, {
2492
2492
  ref: "input",
2493
2493
  loading: g(l) && g(d) == 1,
2494
2494
  "model-value": e.modelValue,
@@ -2503,17 +2503,17 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2503
2503
  onFocus: y,
2504
2504
  onTyping: x,
2505
2505
  onScrollBottom: A,
2506
- "onUpdate:modelValue": T[0] || (T[0] = (L) => S.$emit("update:modelValue", L))
2506
+ "onUpdate:modelValue": L[0] || (L[0] = (M) => S.$emit("update:modelValue", M))
2507
2507
  }, {
2508
- option: G((L) => [
2509
- X(S.$slots, "option", We(Qe(L)))
2508
+ option: G((M) => [
2509
+ X(S.$slots, "option", We(Qe(M)))
2510
2510
  ]),
2511
- footer: G((L) => [
2512
- X(S.$slots, "footer", vt(L, { keywords: g(i) }), () => [
2513
- e.createNewUrl ? (w(), M("div", {
2511
+ footer: G((M) => [
2512
+ X(S.$slots, "footer", vt(M, { keywords: g(i) }), () => [
2513
+ e.createNewUrl ? (b(), T("div", {
2514
2514
  key: 0,
2515
2515
  class: z(["p-2", {
2516
- "border-t border-slate-300": L.options.length > 0
2516
+ "border-t border-slate-300": M.options.length > 0
2517
2517
  }])
2518
2518
  }, [
2519
2519
  H(E, {
@@ -2533,9 +2533,9 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2533
2533
  ], 2)) : Z("", !0)
2534
2534
  ])
2535
2535
  ]),
2536
- empty: G((L) => [
2537
- X(S.$slots, "empty", vt(L, { firstSearch: g(a) }), () => [
2538
- g(a) ? (w(), M("div", rs, J(S.$t("sui.nothing_found")), 1)) : Z("", !0)
2536
+ empty: G((M) => [
2537
+ X(S.$slots, "empty", vt(M, { firstSearch: g(a) }), () => [
2538
+ g(a) ? (b(), T("div", rs, J(S.$t("sui.nothing_found")), 1)) : Z("", !0)
2539
2539
  ])
2540
2540
  ]),
2541
2541
  _: 3
@@ -2570,12 +2570,12 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2570
2570
  const o = "text-sm";
2571
2571
  return n.size == "xs" || n.size == "sm" ? "text-xs" : n.size == "base" ? o : n.size == "lg" ? "text-sm" : n.size == "xl" ? "text-base" : o;
2572
2572
  });
2573
- return (o, a) => (w(), M("div", os, [
2573
+ return (o, a) => (b(), T("div", os, [
2574
2574
  h("img", {
2575
2575
  src: e.user.avatar_url,
2576
2576
  class: z([[g(r), e.detailsPosition == "left" ? "order-2" : "order-1"], "shrink-0 overflow-hidden rounded-full"])
2577
2577
  }, null, 10, ls),
2578
- e.showDetails ? (w(), M("div", {
2578
+ e.showDetails ? (b(), T("div", {
2579
2579
  key: 0,
2580
2580
  class: z(["max-w-[120px] grow leading-tight", [
2581
2581
  g(l),
@@ -2609,10 +2609,10 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2609
2609
  },
2610
2610
  setup(e) {
2611
2611
  const n = e, r = V(() => n.color == "gray" ? n.contrast == "high" ? "bg-slate-600 text-white" : "bg-slate-100 text-slate-800" : n.color == "red" ? n.contrast == "high" ? "bg-red-600 text-white" : "bg-red-100 text-red-900" : n.color == "orange" ? n.contrast == "high" ? "bg-orange-500 text-white" : "bg-orange-100 text-yellow-900" : n.color == "yellow" ? n.contrast == "high" ? "bg-yellow-500 text-white" : "bg-yellow-100 text-yellow-900" : n.color == "green" ? n.contrast == "high" ? "bg-green-600 text-white" : "bg-green-100 text-green-900" : n.color == "blue" ? n.contrast == "high" ? "bg-blue-600 text-white" : "bg-blue-100 text-blue-900" : n.color == "indigo" ? n.contrast == "high" ? "bg-indigo-600 text-white" : "bg-indigo-100 text-indigo-900" : n.color == "purple" ? n.contrast == "high" ? "bg-purple-600 text-white" : "bg-purple-100 text-purple-900" : n.color == "pink" ? n.contrast == "high" ? "bg-pink-600 text-white" : "bg-pink-100 text-pink-900" : "bg-slate-100 text-slate-900"), l = V(() => n.size == "base" ? "px-2.5 py-0.5 text-xs" : n.size == "lg" ? "px-3 py-0.5 text-sm" : "px-2.5 py-0.5 text-xs"), o = V(() => n.size == "base" ? "h-3 w-3 mr-1 -ml-0.5" : n.size == "lg" ? "h-4 w-4 mr-1 -ml-0.5" : "h-3 w-3 mr-1 -ml-0.5");
2612
- return (a, s) => (w(), M("span", {
2612
+ return (a, s) => (b(), T("span", {
2613
2613
  class: z(["inline-flex items-center rounded-full font-medium", [g(r), g(l)]])
2614
2614
  }, [
2615
- e.icon ? (w(), ne(g(_e), {
2615
+ e.icon ? (b(), ne(g(_e), {
2616
2616
  key: 0,
2617
2617
  icon: e.icon,
2618
2618
  class: z(g(o))
@@ -2695,7 +2695,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2695
2695
  function a(s) {
2696
2696
  s ? (o.value = s, n("update:modelValue", s[r.foreignKey])) : (o.value = null, n("update:modelValue", null));
2697
2697
  }
2698
- return (s, i) => (w(), ne(no, {
2698
+ return (s, i) => (b(), ne(no, {
2699
2699
  "model-value": g(o),
2700
2700
  url: e.url,
2701
2701
  disabled: e.disabled,
@@ -2731,12 +2731,12 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2731
2731
  const n = e, r = V(() => n.modelValue ? "text-white bg-green-500" : "text-white bg-red-500");
2732
2732
  return (l, o) => {
2733
2733
  const a = pe("BaseIcon");
2734
- return w(), M("div", {
2734
+ return b(), T("div", {
2735
2735
  class: z(["inline-flex h-5 w-5 items-center justify-center rounded-full", g(r)])
2736
2736
  }, [
2737
- e.modelValue ? (w(), M("div", cs, [
2737
+ e.modelValue ? (b(), T("div", cs, [
2738
2738
  H(a, { icon: "heroicons-solid:check" })
2739
- ])) : (w(), M("div", ds, [
2739
+ ])) : (b(), T("div", ds, [
2740
2740
  H(a, { icon: "heroicons-solid:x" })
2741
2741
  ]))
2742
2742
  ], 2);
@@ -2764,12 +2764,12 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2764
2764
  });
2765
2765
  return (l, o) => {
2766
2766
  const a = pe("BaseIcon"), s = pe("RouterLink");
2767
- return w(), M("div", null, [
2768
- e.breadcrumbs.length > 0 ? (w(), M("nav", ms, [
2767
+ return b(), T("div", null, [
2768
+ e.breadcrumbs.length > 0 ? (b(), T("nav", ms, [
2769
2769
  h("ol", ps, [
2770
- (w(!0), M(me, null, ye(e.breadcrumbs, (i, d) => (w(), M("li", { key: d }, [
2770
+ (b(!0), T(me, null, ye(e.breadcrumbs, (i, d) => (b(), T("li", { key: d }, [
2771
2771
  h("div", hs, [
2772
- d > 0 ? (w(), ne(a, {
2772
+ d > 0 ? (b(), ne(a, {
2773
2773
  key: 0,
2774
2774
  icon: "heroicons-solid:chevron-right",
2775
2775
  class: "h-5 w-5 flex-shrink-0 text-slate-400",
@@ -2788,11 +2788,11 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2788
2788
  ]]),
2789
2789
  onClick: Ue((_) => x(), ["prevent"])
2790
2790
  }, [
2791
- i.icon ? (w(), M("span", gs, [
2791
+ i.icon ? (b(), T("span", gs, [
2792
2792
  H(a, {
2793
2793
  icon: i.icon
2794
2794
  }, null, 8, ["icon"])
2795
- ])) : (w(), M("span", ys, J(i.label), 1))
2795
+ ])) : (b(), T("span", ys, J(i.label), 1))
2796
2796
  ], 10, vs)
2797
2797
  ]),
2798
2798
  _: 2
@@ -2801,7 +2801,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2801
2801
  ]))), 128))
2802
2802
  ])
2803
2803
  ])) : Z("", !0),
2804
- g(r) ? (w(), ne(s, {
2804
+ g(r) ? (b(), ne(s, {
2805
2805
  key: 1,
2806
2806
  to: g(r).to,
2807
2807
  class: "block text-slate-500 sm:hidden"
@@ -2846,7 +2846,7 @@ const qa = { class: "relative" }, Ha = { class: "relative" }, Ka = ["value", "pl
2846
2846
  Ss
2847
2847
  ];
2848
2848
  function Cs(e, n, r, l, o, a) {
2849
- return w(), ne(rn(e.as), {
2849
+ return b(), ne(rn(e.as), {
2850
2850
  ref: "button",
2851
2851
  class: "btn"
2852
2852
  }, {
@@ -2856,7 +2856,7 @@ function Cs(e, n, r, l, o, a) {
2856
2856
  }, [
2857
2857
  X(e.$slots, "default")
2858
2858
  ], 2),
2859
- e.loading ? (w(), M("div", ks, $s)) : Z("", !0)
2859
+ e.loading ? (b(), T("div", ks, $s)) : Z("", !0)
2860
2860
  ]),
2861
2861
  _: 3
2862
2862
  }, 512);
@@ -2884,11 +2884,11 @@ const Bs = /* @__PURE__ */ Fe(xs, [["render", Cs]]), _s = ["type", "disabled", "
2884
2884
  default: "btn btn-sm",
2885
2885
  type: String
2886
2886
  },
2887
- buttonActiveClass: {
2887
+ buttonSelectedClass: {
2888
2888
  default: "btn-primary",
2889
2889
  type: String
2890
2890
  },
2891
- buttonInactiveClass: {
2891
+ buttonUnselectedClass: {
2892
2892
  default: "",
2893
2893
  type: String
2894
2894
  },
@@ -2915,7 +2915,7 @@ const Bs = /* @__PURE__ */ Fe(xs, [["render", Cs]]), _s = ["type", "disabled", "
2915
2915
  },
2916
2916
  emits: ["update:modelValue"],
2917
2917
  setup(e, { emit: n }) {
2918
- const r = e, { normalizedOptions: l, normalizedModelValue: o, isSelected: a } = Yn(
2918
+ const r = e, { normalizedOptions: l, normalizedModelValue: o, isSelected: a } = dn(
2919
2919
  V(() => r.modelValue),
2920
2920
  V(() => r.options),
2921
2921
  V(() => r.labelKey),
@@ -2939,29 +2939,31 @@ const Bs = /* @__PURE__ */ Fe(xs, [["render", Cs]]), _s = ["type", "disabled", "
2939
2939
  n("update:modelValue", p);
2940
2940
  }
2941
2941
  }
2942
- return (i, d) => (w(), M("div", {
2942
+ return (i, d) => (b(), T("div", {
2943
2943
  class: "flex flex-wrap",
2944
2944
  style: Ne({ margin: "-" + e.spacing })
2945
2945
  }, [
2946
- (w(!0), M(me, null, ye(g(l), (p) => (w(), M("div", {
2946
+ (b(!0), T(me, null, ye(g(l), (p) => (b(), T("div", {
2947
2947
  key: p.value,
2948
2948
  style: Ne({ padding: e.spacing })
2949
2949
  }, [
2950
- X(i.$slots, "option", {
2951
- selected: g(a)(p),
2952
- onSelect: s,
2953
- option: p
2954
- }, () => [
2955
- h("button", {
2956
- type: e.buttonType,
2957
- disabled: e.disabled,
2958
- class: z([
2959
- e.buttonClass,
2960
- g(a)(p) ? e.buttonActiveClass : e.buttonInactiveClass
2961
- ]),
2962
- onClick: (x) => s(p)
2963
- }, J(p.label), 11, _s)
2964
- ])
2950
+ h("button", {
2951
+ type: e.buttonType,
2952
+ disabled: e.disabled,
2953
+ class: z([
2954
+ e.buttonClass,
2955
+ g(a)(p) ? e.buttonSelectedClass : e.buttonUnselectedClass
2956
+ ]),
2957
+ onClick: (x) => s(p)
2958
+ }, [
2959
+ X(i.$slots, "option", {
2960
+ selected: g(a)(p),
2961
+ option: p,
2962
+ disabled: e.disabled
2963
+ }, () => [
2964
+ Ye(J(p.label), 1)
2965
+ ])
2966
+ ], 10, _s)
2965
2967
  ], 4))), 128))
2966
2968
  ], 4));
2967
2969
  }
@@ -2986,7 +2988,7 @@ const Bs = /* @__PURE__ */ Fe(xs, [["render", Cs]]), _s = ["type", "disabled", "
2986
2988
  function a() {
2987
2989
  n.value = document.body.clientWidth, l.value && (r.value = l.value.offsetWidth);
2988
2990
  }
2989
- return (s, i) => (w(), M("div", {
2991
+ return (s, i) => (b(), T("div", {
2990
2992
  ref_key: "card",
2991
2993
  ref: l,
2992
2994
  class: z(["border-t border-b border-slate-300 bg-white", {
@@ -3011,7 +3013,7 @@ const Bs = /* @__PURE__ */ Fe(xs, [["render", Cs]]), _s = ["type", "disabled", "
3011
3013
  }
3012
3014
  }), Es = { class: "border-t border-slate-300 first:border-t-0" };
3013
3015
  function Ts(e, n, r, l, o, a) {
3014
- return w(), M("div", Es, [
3016
+ return b(), T("div", Es, [
3015
3017
  h("div", {
3016
3018
  class: z(e.paddingClass)
3017
3019
  }, [
@@ -3051,13 +3053,13 @@ const Jn = /* @__PURE__ */ Fe(As, [["render", Ts]]), Ls = {
3051
3053
  let o = n.text;
3052
3054
  return n.trim && (o = It(n.text)), n.removeDoubleSpaces && (o = o.replace(/ +(?= )/g, "")), o;
3053
3055
  }), l = V(() => r.value.length);
3054
- return (o, a) => (w(), M("div", null, [
3055
- e.max && (!e.min || g(l) >= e.min) ? (w(), M("div", {
3056
+ return (o, a) => (b(), T("div", null, [
3057
+ e.max && (!e.min || g(l) >= e.min) ? (b(), T("div", {
3056
3058
  key: 0,
3057
3059
  class: z({
3058
3060
  "text-red-600": g(l) > e.max
3059
3061
  })
3060
- }, J(g(l)) + "/" + J(e.max), 3)) : e.min && g(l) < e.min ? (w(), M("div", Ls, J(o.$t("sui.min_x_characters", { x: e.min })) + " (" + J(g(l)) + "/" + J(e.min) + ") ", 1)) : Z("", !0)
3062
+ }, J(g(l)) + "/" + J(e.max), 3)) : e.min && g(l) < e.min ? (b(), T("div", Ls, J(o.$t("sui.min_x_characters", { x: e.min })) + " (" + J(g(l)) + "/" + J(e.min) + ") ", 1)) : Z("", !0)
3061
3063
  ]));
3062
3064
  }
3063
3065
  }), Os = { class: "pointer-events-none absolute left-full z-[1] items-center" }, js = { class: "ml-2 whitespace-nowrap rounded bg-slate-900 bg-opacity-80 px-3 py-2 text-xs leading-tight text-white backdrop-blur" }, Ds = {
@@ -3099,7 +3101,7 @@ const Jn = /* @__PURE__ */ Fe(As, [["render", Ts]]), Ls = {
3099
3101
  }
3100
3102
  return (x, y) => {
3101
3103
  const _ = pe("BaseIcon");
3102
- return w(), M("button", {
3104
+ return b(), T("button", {
3103
3105
  type: "button",
3104
3106
  class: "relative inline-flex items-center",
3105
3107
  onClick: y[0] || (y[0] = (A) => d()),
@@ -3118,13 +3120,13 @@ const Jn = /* @__PURE__ */ Fe(As, [["render", Ts]]), Ls = {
3118
3120
  default: G(() => [
3119
3121
  Pe(h("div", Os, [
3120
3122
  h("div", js, [
3121
- g(l) ? (w(), M("div", Ds, [
3123
+ g(l) ? (b(), T("div", Ds, [
3122
3124
  H(_, {
3123
3125
  class: "mr-1 text-green-500",
3124
3126
  icon: "heroicons:check-circle-solid"
3125
3127
  }),
3126
- Je(" " + J(x.$t("sui.copied")), 1)
3127
- ])) : (w(), M("div", Fs, J(x.$t("sui.click_to_copy")), 1))
3128
+ Ye(" " + J(x.$t("sui.copied")), 1)
3129
+ ])) : (b(), T("div", Fs, J(x.$t("sui.click_to_copy")), 1))
3128
3130
  ])
3129
3131
  ], 512), [
3130
3132
  [nt, g(r)]
@@ -3167,7 +3169,7 @@ const Jn = /* @__PURE__ */ Fe(As, [["render", Ts]]), Ls = {
3167
3169
  }
3168
3170
  });
3169
3171
  function Ns(e, n, r, l, o, a) {
3170
- return w(), M("div", {
3172
+ return b(), T("div", {
3171
3173
  class: z(["mx-auto w-full md:px-8", [e.width, { "px-4": !e.paddinglessMobile }]])
3172
3174
  }, [
3173
3175
  X(e.$slots, "default")
@@ -3198,7 +3200,7 @@ const ro = /* @__PURE__ */ Fe(Vs, [["render", Ns]]), jt = /* @__PURE__ */ Q({
3198
3200
  const a = Math.max(1, n.maxDigit), s = n.count + "";
3199
3201
  return s.length > a ? pt("+", a + 1, "9") : s;
3200
3202
  }), l = V(() => n.size == "xs" ? "text-[10px]" : n.size == "sm" ? "text-xs" : n.size == "base" ? "text-sm" : "text-xs"), o = V(() => n.color == "danger" ? "bg-red-500 text-white" : n.color == "primary" ? "bg-primary-500 text-white" : n.color == "dark" ? "bg-slate-900 text-white" : n.color == "light" ? "bg-slate-200 text-slate-900" : "bg-white text-slate-900");
3201
- return (a, s) => (w(), M("div", {
3203
+ return (a, s) => (b(), T("div", {
3202
3204
  class: z(["inline-flex h-4 w-auto items-center justify-center rounded-full px-1.5", [g(l), g(o)]])
3203
3205
  }, J(g(r)), 3));
3204
3206
  }
@@ -3235,44 +3237,44 @@ var oo = { exports: {} };
3235
3237
  }({ 1: [function(r, l, o) {
3236
3238
  (function(a, s, i, d, p, x, y, _, A) {
3237
3239
  var k = r("crypto");
3238
- function F(b, B) {
3239
- B = t(b, B);
3240
+ function F(w, B) {
3241
+ B = t(w, B);
3240
3242
  var c;
3241
- return (c = B.algorithm !== "passthrough" ? k.createHash(B.algorithm) : new R()).write === void 0 && (c.write = c.update, c.end = c.update), L(B, c).dispatch(b), c.update || c.end(""), c.digest ? c.digest(B.encoding === "buffer" ? void 0 : B.encoding) : (b = c.read(), B.encoding !== "buffer" ? b.toString(B.encoding) : b);
3243
+ return (c = B.algorithm !== "passthrough" ? k.createHash(B.algorithm) : new R()).write === void 0 && (c.write = c.update, c.end = c.update), M(B, c).dispatch(w), c.update || c.end(""), c.digest ? c.digest(B.encoding === "buffer" ? void 0 : B.encoding) : (w = c.read(), B.encoding !== "buffer" ? w.toString(B.encoding) : w);
3242
3244
  }
3243
- (o = l.exports = F).sha1 = function(b) {
3244
- return F(b);
3245
- }, o.keys = function(b) {
3246
- return F(b, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
3247
- }, o.MD5 = function(b) {
3248
- return F(b, { algorithm: "md5", encoding: "hex" });
3249
- }, o.keysMD5 = function(b) {
3250
- return F(b, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
3245
+ (o = l.exports = F).sha1 = function(w) {
3246
+ return F(w);
3247
+ }, o.keys = function(w) {
3248
+ return F(w, { excludeValues: !0, algorithm: "sha1", encoding: "hex" });
3249
+ }, o.MD5 = function(w) {
3250
+ return F(w, { algorithm: "md5", encoding: "hex" });
3251
+ }, o.keysMD5 = function(w) {
3252
+ return F(w, { algorithm: "md5", encoding: "hex", excludeValues: !0 });
3251
3253
  };
3252
- var S = k.getHashes ? k.getHashes().slice() : ["sha1", "md5"], T = (S.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
3253
- function t(b, B) {
3254
+ var S = k.getHashes ? k.getHashes().slice() : ["sha1", "md5"], L = (S.push("passthrough"), ["buffer", "hex", "binary", "base64"]);
3255
+ function t(w, B) {
3254
3256
  var c = {};
3255
- if (c.algorithm = (B = B || {}).algorithm || "sha1", c.encoding = B.encoding || "hex", c.excludeValues = !!B.excludeValues, c.algorithm = c.algorithm.toLowerCase(), c.encoding = c.encoding.toLowerCase(), c.ignoreUnknown = B.ignoreUnknown === !0, c.respectType = B.respectType !== !1, c.respectFunctionNames = B.respectFunctionNames !== !1, c.respectFunctionProperties = B.respectFunctionProperties !== !1, c.unorderedArrays = B.unorderedArrays === !0, c.unorderedSets = B.unorderedSets !== !1, c.unorderedObjects = B.unorderedObjects !== !1, c.replacer = B.replacer || void 0, c.excludeKeys = B.excludeKeys || void 0, b === void 0)
3257
+ if (c.algorithm = (B = B || {}).algorithm || "sha1", c.encoding = B.encoding || "hex", c.excludeValues = !!B.excludeValues, c.algorithm = c.algorithm.toLowerCase(), c.encoding = c.encoding.toLowerCase(), c.ignoreUnknown = B.ignoreUnknown === !0, c.respectType = B.respectType !== !1, c.respectFunctionNames = B.respectFunctionNames !== !1, c.respectFunctionProperties = B.respectFunctionProperties !== !1, c.unorderedArrays = B.unorderedArrays === !0, c.unorderedSets = B.unorderedSets !== !1, c.unorderedObjects = B.unorderedObjects !== !1, c.replacer = B.replacer || void 0, c.excludeKeys = B.excludeKeys || void 0, w === void 0)
3256
3258
  throw new Error("Object argument required.");
3257
3259
  for (var m = 0; m < S.length; ++m)
3258
3260
  S[m].toLowerCase() === c.algorithm.toLowerCase() && (c.algorithm = S[m]);
3259
3261
  if (S.indexOf(c.algorithm) === -1)
3260
3262
  throw new Error('Algorithm "' + c.algorithm + '" not supported. supported values: ' + S.join(", "));
3261
- if (T.indexOf(c.encoding) === -1 && c.algorithm !== "passthrough")
3262
- throw new Error('Encoding "' + c.encoding + '" not supported. supported values: ' + T.join(", "));
3263
+ if (L.indexOf(c.encoding) === -1 && c.algorithm !== "passthrough")
3264
+ throw new Error('Encoding "' + c.encoding + '" not supported. supported values: ' + L.join(", "));
3263
3265
  return c;
3264
3266
  }
3265
- function E(b) {
3266
- if (typeof b == "function")
3267
- return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(b)) != null;
3267
+ function E(w) {
3268
+ if (typeof w == "function")
3269
+ return /^function\s+\w*\s*\(\s*\)\s*{\s+\[native code\]\s+}$/i.exec(Function.prototype.toString.call(w)) != null;
3268
3270
  }
3269
- function L(b, B, c) {
3271
+ function M(w, B, c) {
3270
3272
  c = c || [];
3271
3273
  function m(f) {
3272
3274
  return B.update ? B.update(f, "utf8") : B.write(f, "utf8");
3273
3275
  }
3274
3276
  return { dispatch: function(f) {
3275
- return this["_" + ((f = b.replacer ? b.replacer(f) : f) === null ? "null" : typeof f)](f);
3277
+ return this["_" + ((f = w.replacer ? w.replacer(f) : f) === null ? "null" : typeof f)](f);
3276
3278
  }, _object: function(f) {
3277
3279
  var I, O = Object.prototype.toString.call(f), U = /\[object (.*)\]/i.exec(O);
3278
3280
  if (U = (U = U ? U[1] : "unknown:[" + O + "]").toLowerCase(), 0 <= (O = c.indexOf(f)))
@@ -3280,19 +3282,19 @@ var oo = { exports: {} };
3280
3282
  if (c.push(f), i !== void 0 && i.isBuffer && i.isBuffer(f))
3281
3283
  return m("buffer:"), m(f);
3282
3284
  if (U === "object" || U === "function" || U === "asyncfunction")
3283
- return O = Object.keys(f), b.unorderedObjects && (O = O.sort()), b.respectType === !1 || E(f) || O.splice(0, 0, "prototype", "__proto__", "constructor"), b.excludeKeys && (O = O.filter(function(q) {
3284
- return !b.excludeKeys(q);
3285
+ return O = Object.keys(f), w.unorderedObjects && (O = O.sort()), w.respectType === !1 || E(f) || O.splice(0, 0, "prototype", "__proto__", "constructor"), w.excludeKeys && (O = O.filter(function(q) {
3286
+ return !w.excludeKeys(q);
3285
3287
  })), m("object:" + O.length + ":"), I = this, O.forEach(function(q) {
3286
- I.dispatch(q), m(":"), b.excludeValues || I.dispatch(f[q]), m(",");
3288
+ I.dispatch(q), m(":"), w.excludeValues || I.dispatch(f[q]), m(",");
3287
3289
  });
3288
3290
  if (!this["_" + U]) {
3289
- if (b.ignoreUnknown)
3291
+ if (w.ignoreUnknown)
3290
3292
  return m("[" + U + "]");
3291
3293
  throw new Error('Unknown object type "' + U + '"');
3292
3294
  }
3293
3295
  this["_" + U](f);
3294
3296
  }, _array: function(f, q) {
3295
- q = q !== void 0 ? q : b.unorderedArrays !== !1;
3297
+ q = q !== void 0 ? q : w.unorderedArrays !== !1;
3296
3298
  var O = this;
3297
3299
  if (m("array:" + f.length + ":"), !q || f.length <= 1)
3298
3300
  return f.forEach(function(ee) {
@@ -3300,7 +3302,7 @@ var oo = { exports: {} };
3300
3302
  });
3301
3303
  var U = [], q = f.map(function(ee) {
3302
3304
  var W = new R(), ae = c.slice();
3303
- return L(b, W, ae).dispatch(ee), U = U.concat(ae.slice(c.length)), W.read().toString();
3305
+ return M(w, W, ae).dispatch(ee), U = U.concat(ae.slice(c.length)), W.read().toString();
3304
3306
  });
3305
3307
  return c = c.concat(U), q.sort(), this._array(q, !1);
3306
3308
  }, _date: function(f) {
@@ -3314,7 +3316,7 @@ var oo = { exports: {} };
3314
3316
  }, _string: function(f) {
3315
3317
  m("string:" + f.length + ":"), m(f.toString());
3316
3318
  }, _function: function(f) {
3317
- m("fn:"), E(f) ? this.dispatch("[native]") : this.dispatch(f.toString()), b.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(f.name)), b.respectFunctionProperties && this._object(f);
3319
+ m("fn:"), E(f) ? this.dispatch("[native]") : this.dispatch(f.toString()), w.respectFunctionNames !== !1 && this.dispatch("function-name:" + String(f.name)), w.respectFunctionProperties && this._object(f);
3318
3320
  }, _number: function(f) {
3319
3321
  return m("number:" + f.toString());
3320
3322
  }, _xml: function(f) {
@@ -3348,13 +3350,13 @@ var oo = { exports: {} };
3348
3350
  }, _url: function(f) {
3349
3351
  return m("url:" + f.toString());
3350
3352
  }, _map: function(f) {
3351
- return m("map:"), f = Array.from(f), this._array(f, b.unorderedSets !== !1);
3353
+ return m("map:"), f = Array.from(f), this._array(f, w.unorderedSets !== !1);
3352
3354
  }, _set: function(f) {
3353
- return m("set:"), f = Array.from(f), this._array(f, b.unorderedSets !== !1);
3355
+ return m("set:"), f = Array.from(f), this._array(f, w.unorderedSets !== !1);
3354
3356
  }, _file: function(f) {
3355
3357
  return m("file:"), this.dispatch([f.name, f.size, f.type, f.lastModfied]);
3356
3358
  }, _blob: function() {
3357
- if (b.ignoreUnknown)
3359
+ if (w.ignoreUnknown)
3358
3360
  return m("[blob]");
3359
3361
  throw Error(`Hashing Blob objects is currently not supported
3360
3362
  (see https://github.com/puleos/object-hash/issues/26)
@@ -3401,24 +3403,24 @@ Use "options.replacer" or "options.ignoreUnknown"
3401
3403
  } };
3402
3404
  }
3403
3405
  function R() {
3404
- return { buf: "", write: function(b) {
3405
- this.buf += b;
3406
- }, end: function(b) {
3407
- this.buf += b;
3406
+ return { buf: "", write: function(w) {
3407
+ this.buf += w;
3408
+ }, end: function(w) {
3409
+ this.buf += w;
3408
3410
  }, read: function() {
3409
3411
  return this.buf;
3410
3412
  } };
3411
3413
  }
3412
- o.writeToStream = function(b, B, c) {
3413
- return c === void 0 && (c = B, B = {}), L(B = t(b, B), c).dispatch(b);
3414
+ o.writeToStream = function(w, B, c) {
3415
+ return c === void 0 && (c = B, B = {}), M(B = t(w, B), c).dispatch(w);
3414
3416
  };
3415
3417
  }).call(this, r("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, r("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/fake_9a5aa49d.js", "/");
3416
3418
  }, { buffer: 3, crypto: 5, lYpoI2: 11 }], 2: [function(r, l, o) {
3417
3419
  (function(a, s, i, d, p, x, y, _, A) {
3418
3420
  (function(k) {
3419
- var F = typeof Uint8Array < "u" ? Uint8Array : Array, S = "+".charCodeAt(0), T = "/".charCodeAt(0), t = "0".charCodeAt(0), E = "a".charCodeAt(0), L = "A".charCodeAt(0), R = "-".charCodeAt(0), b = "_".charCodeAt(0);
3421
+ var F = typeof Uint8Array < "u" ? Uint8Array : Array, S = "+".charCodeAt(0), L = "/".charCodeAt(0), t = "0".charCodeAt(0), E = "a".charCodeAt(0), M = "A".charCodeAt(0), R = "-".charCodeAt(0), w = "_".charCodeAt(0);
3420
3422
  function B(c) {
3421
- return c = c.charCodeAt(0), c === S || c === R ? 62 : c === T || c === b ? 63 : c < t ? -1 : c < t + 10 ? c - t + 26 + 26 : c < L + 26 ? c - L : c < E + 26 ? c - E + 26 : void 0;
3423
+ return c = c.charCodeAt(0), c === S || c === R ? 62 : c === L || c === w ? 63 : c < t ? -1 : c < t + 10 ? c - t + 26 + 26 : c < M + 26 ? c - M : c < E + 26 ? c - E + 26 : void 0;
3422
3424
  }
3423
3425
  k.toByteArray = function(c) {
3424
3426
  var m, f;
@@ -3480,7 +3482,7 @@ Use "options.replacer" or "options.ignoreUnknown"
3480
3482
  D[K] = 0;
3481
3483
  return D;
3482
3484
  }
3483
- function T(u, v, $, j) {
3485
+ function L(u, v, $, j) {
3484
3486
  return S._charsWritten = ce(function(D) {
3485
3487
  for (var K = [], le = 0; le < D.length; le++)
3486
3488
  K.push(255 & D.charCodeAt(le));
@@ -3501,7 +3503,7 @@ Use "options.replacer" or "options.ignoreUnknown"
3501
3503
  j += String.fromCharCode(u[D]);
3502
3504
  return j;
3503
3505
  }
3504
- function L(u, v, $, K) {
3506
+ function M(u, v, $, K) {
3505
3507
  K || (P(typeof $ == "boolean", "missing or invalid endian"), P(v != null, "missing offset"), P(v + 1 < u.length, "Trying to read beyond buffer length"));
3506
3508
  var D, K = u.length;
3507
3509
  if (!(K <= v))
@@ -3513,9 +3515,9 @@ Use "options.replacer" or "options.ignoreUnknown"
3513
3515
  if (!(K <= v))
3514
3516
  return $ ? (v + 2 < K && (D = u[v + 2] << 16), v + 1 < K && (D |= u[v + 1] << 8), D |= u[v], v + 3 < K && (D += u[v + 3] << 24 >>> 0)) : (v + 1 < K && (D = u[v + 1] << 16), v + 2 < K && (D |= u[v + 2] << 8), v + 3 < K && (D |= u[v + 3]), D += u[v] << 24 >>> 0), D;
3515
3517
  }
3516
- function b(u, v, $, j) {
3518
+ function w(u, v, $, j) {
3517
3519
  if (j || (P(typeof $ == "boolean", "missing or invalid endian"), P(v != null, "missing offset"), P(v + 1 < u.length, "Trying to read beyond buffer length")), !(u.length <= v))
3518
- return j = L(u, v, $, !0), 32768 & j ? -1 * (65535 - j + 1) : j;
3520
+ return j = M(u, v, $, !0), 32768 & j ? -1 * (65535 - j + 1) : j;
3519
3521
  }
3520
3522
  function B(u, v, $, j) {
3521
3523
  if (j || (P(typeof $ == "boolean", "missing or invalid endian"), P(v != null, "missing offset"), P(v + 3 < u.length, "Trying to read beyond buffer length")), !(u.length <= v))
@@ -3538,10 +3540,10 @@ Use "options.replacer" or "options.ignoreUnknown"
3538
3540
  u[$ + K] = v >>> 8 * (j ? K : 3 - K) & 255;
3539
3541
  }
3540
3542
  function O(u, v, $, j, D) {
3541
- D || (P(v != null, "missing value"), P(typeof j == "boolean", "missing or invalid endian"), P($ != null, "missing offset"), P($ + 1 < u.length, "Trying to write beyond buffer length"), Ye(v, 32767, -32768)), u.length <= $ || f(u, 0 <= v ? v : 65535 + v + 1, $, j, D);
3543
+ D || (P(v != null, "missing value"), P(typeof j == "boolean", "missing or invalid endian"), P($ != null, "missing offset"), P($ + 1 < u.length, "Trying to write beyond buffer length"), Je(v, 32767, -32768)), u.length <= $ || f(u, 0 <= v ? v : 65535 + v + 1, $, j, D);
3542
3544
  }
3543
3545
  function U(u, v, $, j, D) {
3544
- D || (P(v != null, "missing value"), P(typeof j == "boolean", "missing or invalid endian"), P($ != null, "missing offset"), P($ + 3 < u.length, "Trying to write beyond buffer length"), Ye(v, 2147483647, -2147483648)), u.length <= $ || I(u, 0 <= v ? v : 4294967295 + v + 1, $, j, D);
3546
+ D || (P(v != null, "missing value"), P(typeof j == "boolean", "missing or invalid endian"), P($ != null, "missing offset"), P($ + 3 < u.length, "Trying to write beyond buffer length"), Je(v, 2147483647, -2147483648)), u.length <= $ || I(u, 0 <= v ? v : 4294967295 + v + 1, $, j, D);
3545
3547
  }
3546
3548
  function q(u, v, $, j, D) {
3547
3549
  D || (P(v != null, "missing value"), P(typeof j == "boolean", "missing or invalid endian"), P($ != null, "missing offset"), P($ + 3 < u.length, "Trying to write beyond buffer length"), Ge(v, 34028234663852886e22, -34028234663852886e22)), u.length <= $ || F.write(u, v, $, j, 23, 4);
@@ -3641,7 +3643,7 @@ list should be an Array.`), u.length === 0)
3641
3643
  break;
3642
3644
  case "ascii":
3643
3645
  case "binary":
3644
- D = T(this, u, v, $);
3646
+ D = L(this, u, v, $);
3645
3647
  break;
3646
3648
  case "base64":
3647
3649
  K = this, le = v, ve = $, D = S._charsWritten = ce(oe(u), K, le, ve);
@@ -3728,9 +3730,9 @@ list should be an Array.`), u.length === 0)
3728
3730
  if (v || (P(u != null, "missing offset"), P(u < this.length, "Trying to read beyond buffer length")), !(u >= this.length))
3729
3731
  return this[u];
3730
3732
  }, S.prototype.readUInt16LE = function(u, v) {
3731
- return L(this, u, !0, v);
3733
+ return M(this, u, !0, v);
3732
3734
  }, S.prototype.readUInt16BE = function(u, v) {
3733
- return L(this, u, !1, v);
3735
+ return M(this, u, !1, v);
3734
3736
  }, S.prototype.readUInt32LE = function(u, v) {
3735
3737
  return R(this, u, !0, v);
3736
3738
  }, S.prototype.readUInt32BE = function(u, v) {
@@ -3739,9 +3741,9 @@ list should be an Array.`), u.length === 0)
3739
3741
  if (v || (P(u != null, "missing offset"), P(u < this.length, "Trying to read beyond buffer length")), !(u >= this.length))
3740
3742
  return 128 & this[u] ? -1 * (255 - this[u] + 1) : this[u];
3741
3743
  }, S.prototype.readInt16LE = function(u, v) {
3742
- return b(this, u, !0, v);
3744
+ return w(this, u, !0, v);
3743
3745
  }, S.prototype.readInt16BE = function(u, v) {
3744
- return b(this, u, !1, v);
3746
+ return w(this, u, !1, v);
3745
3747
  }, S.prototype.readInt32LE = function(u, v) {
3746
3748
  return B(this, u, !0, v);
3747
3749
  }, S.prototype.readInt32BE = function(u, v) {
@@ -3765,7 +3767,7 @@ list should be an Array.`), u.length === 0)
3765
3767
  }, S.prototype.writeUInt32BE = function(u, v, $) {
3766
3768
  I(this, u, v, !1, $);
3767
3769
  }, S.prototype.writeInt8 = function(u, v, $) {
3768
- $ || (P(u != null, "missing value"), P(v != null, "missing offset"), P(v < this.length, "Trying to write beyond buffer length"), Ye(u, 127, -128)), v >= this.length || (0 <= u ? this.writeUInt8(u, v, $) : this.writeUInt8(255 + u + 1, v, $));
3770
+ $ || (P(u != null, "missing value"), P(v != null, "missing offset"), P(v < this.length, "Trying to write beyond buffer length"), Je(u, 127, -128)), v >= this.length || (0 <= u ? this.writeUInt8(u, v, $) : this.writeUInt8(255 + u + 1, v, $));
3769
3771
  }, S.prototype.writeInt16LE = function(u, v, $) {
3770
3772
  O(this, u, v, !0, $);
3771
3773
  }, S.prototype.writeInt16BE = function(u, v, $) {
@@ -3848,7 +3850,7 @@ list should be an Array.`), u.length === 0)
3848
3850
  function Le(u, v) {
3849
3851
  P(typeof u == "number", "cannot write a non-number as a number"), P(0 <= u, "specified a negative value for writing an unsigned value"), P(u <= v, "value is larger than maximum value for type"), P(Math.floor(u) === u, "value has a fractional component");
3850
3852
  }
3851
- function Ye(u, v, $) {
3853
+ function Je(u, v, $) {
3852
3854
  P(typeof u == "number", "cannot write a non-number as a number"), P(u <= v, "value larger than maximum allowed value"), P($ <= u, "value smaller than minimum allowed value"), P(Math.floor(u) === u, "value has a fractional component");
3853
3855
  }
3854
3856
  function Ge(u, v, $) {
@@ -3865,27 +3867,27 @@ list should be an Array.`), u.length === 0)
3865
3867
  }, { "base64-js": 2, buffer: 3, ieee754: 10, lYpoI2: 11 }], 4: [function(r, l, o) {
3866
3868
  (function(a, s, k, d, p, x, y, _, A) {
3867
3869
  var k = r("buffer").Buffer, F = 4, S = new k(F);
3868
- S.fill(0), l.exports = { hash: function(T, t, E, L) {
3870
+ S.fill(0), l.exports = { hash: function(L, t, E, M) {
3869
3871
  for (var R = t(function(f, I) {
3870
3872
  f.length % F != 0 && (O = f.length + (F - f.length % F), f = k.concat([f, S], O));
3871
3873
  for (var O, U = [], q = I ? f.readInt32BE : f.readInt32LE, ee = 0; ee < f.length; ee += F)
3872
3874
  U.push(q.call(f, ee));
3873
3875
  return U;
3874
- }(T = k.isBuffer(T) ? T : new k(T), L), 8 * T.length), t = L, b = new k(E), B = t ? b.writeInt32BE : b.writeInt32LE, c = 0; c < R.length; c++)
3875
- B.call(b, R[c], 4 * c, !0);
3876
- return b;
3876
+ }(L = k.isBuffer(L) ? L : new k(L), M), 8 * L.length), t = M, w = new k(E), B = t ? w.writeInt32BE : w.writeInt32LE, c = 0; c < R.length; c++)
3877
+ B.call(w, R[c], 4 * c, !0);
3878
+ return w;
3877
3879
  } };
3878
3880
  }).call(this, r("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, r("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/helpers.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
3879
3881
  }, { buffer: 3, lYpoI2: 11 }], 5: [function(r, l, o) {
3880
3882
  (function(a, s, k, d, p, x, y, _, A) {
3881
- var k = r("buffer").Buffer, F = r("./sha"), S = r("./sha256"), T = r("./rng"), t = { sha1: F, sha256: S, md5: r("./md5") }, E = 64, L = new k(E);
3883
+ var k = r("buffer").Buffer, F = r("./sha"), S = r("./sha256"), L = r("./rng"), t = { sha1: F, sha256: S, md5: r("./md5") }, E = 64, M = new k(E);
3882
3884
  function R(f, I) {
3883
3885
  var O = t[f = f || "sha1"], U = [];
3884
- return O || b("algorithm:", f, "is not yet supported"), { update: function(q) {
3886
+ return O || w("algorithm:", f, "is not yet supported"), { update: function(q) {
3885
3887
  return k.isBuffer(q) || (q = new k(q)), U.push(q), q.length, this;
3886
3888
  }, digest: function(q) {
3887
3889
  var ee = k.concat(U), ee = I ? function(W, ae, de) {
3888
- k.isBuffer(ae) || (ae = new k(ae)), k.isBuffer(de) || (de = new k(de)), ae.length > E ? ae = W(ae) : ae.length < E && (ae = k.concat([ae, L], E));
3890
+ k.isBuffer(ae) || (ae = new k(ae)), k.isBuffer(de) || (de = new k(de)), ae.length > E ? ae = W(ae) : ae.length < E && (ae = k.concat([ae, M], E));
3889
3891
  for (var se = new k(E), ue = new k(E), $e = 0; $e < E; $e++)
3890
3892
  se[$e] = 54 ^ ae[$e], ue[$e] = 92 ^ ae[$e];
3891
3893
  return de = W(k.concat([se, de])), W(k.concat([ue, de]));
@@ -3893,25 +3895,25 @@ list should be an Array.`), u.length === 0)
3893
3895
  return U = null, q ? ee.toString(q) : ee;
3894
3896
  } };
3895
3897
  }
3896
- function b() {
3898
+ function w() {
3897
3899
  var f = [].slice.call(arguments).join(" ");
3898
3900
  throw new Error([f, "we accept pull requests", "http://github.com/dominictarr/crypto-browserify"].join(`
3899
3901
  `));
3900
3902
  }
3901
- L.fill(0), o.createHash = function(f) {
3903
+ M.fill(0), o.createHash = function(f) {
3902
3904
  return R(f);
3903
3905
  }, o.createHmac = R, o.randomBytes = function(f, I) {
3904
3906
  if (!I || !I.call)
3905
- return new k(T(f));
3907
+ return new k(L(f));
3906
3908
  try {
3907
- I.call(this, void 0, new k(T(f)));
3909
+ I.call(this, void 0, new k(L(f)));
3908
3910
  } catch (O) {
3909
3911
  I(O);
3910
3912
  }
3911
3913
  };
3912
3914
  var B, c = ["createCredentials", "createCipher", "createCipheriv", "createDecipher", "createDecipheriv", "createSign", "createVerify", "createDiffieHellman", "pbkdf2"], m = function(f) {
3913
3915
  o[f] = function() {
3914
- b("sorry,", f, "is not implemented yet");
3916
+ w("sorry,", f, "is not implemented yet");
3915
3917
  };
3916
3918
  };
3917
3919
  for (B in c)
@@ -3920,42 +3922,42 @@ list should be an Array.`), u.length === 0)
3920
3922
  }, { "./md5": 6, "./rng": 7, "./sha": 8, "./sha256": 9, buffer: 3, lYpoI2: 11 }], 6: [function(r, l, o) {
3921
3923
  (function(a, s, i, d, p, x, y, _, A) {
3922
3924
  var k = r("./helpers");
3923
- function F(b, B) {
3924
- b[B >> 5] |= 128 << B % 32, b[14 + (B + 64 >>> 9 << 4)] = B;
3925
- for (var c = 1732584193, m = -271733879, f = -1732584194, I = 271733878, O = 0; O < b.length; O += 16) {
3926
- var U = c, q = m, ee = f, W = I, c = T(c, m, f, I, b[O + 0], 7, -680876936), I = T(I, c, m, f, b[O + 1], 12, -389564586), f = T(f, I, c, m, b[O + 2], 17, 606105819), m = T(m, f, I, c, b[O + 3], 22, -1044525330);
3927
- c = T(c, m, f, I, b[O + 4], 7, -176418897), I = T(I, c, m, f, b[O + 5], 12, 1200080426), f = T(f, I, c, m, b[O + 6], 17, -1473231341), m = T(m, f, I, c, b[O + 7], 22, -45705983), c = T(c, m, f, I, b[O + 8], 7, 1770035416), I = T(I, c, m, f, b[O + 9], 12, -1958414417), f = T(f, I, c, m, b[O + 10], 17, -42063), m = T(m, f, I, c, b[O + 11], 22, -1990404162), c = T(c, m, f, I, b[O + 12], 7, 1804603682), I = T(I, c, m, f, b[O + 13], 12, -40341101), f = T(f, I, c, m, b[O + 14], 17, -1502002290), c = t(c, m = T(m, f, I, c, b[O + 15], 22, 1236535329), f, I, b[O + 1], 5, -165796510), I = t(I, c, m, f, b[O + 6], 9, -1069501632), f = t(f, I, c, m, b[O + 11], 14, 643717713), m = t(m, f, I, c, b[O + 0], 20, -373897302), c = t(c, m, f, I, b[O + 5], 5, -701558691), I = t(I, c, m, f, b[O + 10], 9, 38016083), f = t(f, I, c, m, b[O + 15], 14, -660478335), m = t(m, f, I, c, b[O + 4], 20, -405537848), c = t(c, m, f, I, b[O + 9], 5, 568446438), I = t(I, c, m, f, b[O + 14], 9, -1019803690), f = t(f, I, c, m, b[O + 3], 14, -187363961), m = t(m, f, I, c, b[O + 8], 20, 1163531501), c = t(c, m, f, I, b[O + 13], 5, -1444681467), I = t(I, c, m, f, b[O + 2], 9, -51403784), f = t(f, I, c, m, b[O + 7], 14, 1735328473), c = E(c, m = t(m, f, I, c, b[O + 12], 20, -1926607734), f, I, b[O + 5], 4, -378558), I = E(I, c, m, f, b[O + 8], 11, -2022574463), f = E(f, I, c, m, b[O + 11], 16, 1839030562), m = E(m, f, I, c, b[O + 14], 23, -35309556), c = E(c, m, f, I, b[O + 1], 4, -1530992060), I = E(I, c, m, f, b[O + 4], 11, 1272893353), f = E(f, I, c, m, b[O + 7], 16, -155497632), m = E(m, f, I, c, b[O + 10], 23, -1094730640), c = E(c, m, f, I, b[O + 13], 4, 681279174), I = E(I, c, m, f, b[O + 0], 11, -358537222), f = E(f, I, c, m, b[O + 3], 16, -722521979), m = E(m, f, I, c, b[O + 6], 23, 76029189), c = E(c, m, f, I, b[O + 9], 4, -640364487), I = E(I, c, m, f, b[O + 12], 11, -421815835), f = E(f, I, c, m, b[O + 15], 16, 530742520), c = L(c, m = E(m, f, I, c, b[O + 2], 23, -995338651), f, I, b[O + 0], 6, -198630844), I = L(I, c, m, f, b[O + 7], 10, 1126891415), f = L(f, I, c, m, b[O + 14], 15, -1416354905), m = L(m, f, I, c, b[O + 5], 21, -57434055), c = L(c, m, f, I, b[O + 12], 6, 1700485571), I = L(I, c, m, f, b[O + 3], 10, -1894986606), f = L(f, I, c, m, b[O + 10], 15, -1051523), m = L(m, f, I, c, b[O + 1], 21, -2054922799), c = L(c, m, f, I, b[O + 8], 6, 1873313359), I = L(I, c, m, f, b[O + 15], 10, -30611744), f = L(f, I, c, m, b[O + 6], 15, -1560198380), m = L(m, f, I, c, b[O + 13], 21, 1309151649), c = L(c, m, f, I, b[O + 4], 6, -145523070), I = L(I, c, m, f, b[O + 11], 10, -1120210379), f = L(f, I, c, m, b[O + 2], 15, 718787259), m = L(m, f, I, c, b[O + 9], 21, -343485551), c = R(c, U), m = R(m, q), f = R(f, ee), I = R(I, W);
3925
+ function F(w, B) {
3926
+ w[B >> 5] |= 128 << B % 32, w[14 + (B + 64 >>> 9 << 4)] = B;
3927
+ for (var c = 1732584193, m = -271733879, f = -1732584194, I = 271733878, O = 0; O < w.length; O += 16) {
3928
+ var U = c, q = m, ee = f, W = I, c = L(c, m, f, I, w[O + 0], 7, -680876936), I = L(I, c, m, f, w[O + 1], 12, -389564586), f = L(f, I, c, m, w[O + 2], 17, 606105819), m = L(m, f, I, c, w[O + 3], 22, -1044525330);
3929
+ c = L(c, m, f, I, w[O + 4], 7, -176418897), I = L(I, c, m, f, w[O + 5], 12, 1200080426), f = L(f, I, c, m, w[O + 6], 17, -1473231341), m = L(m, f, I, c, w[O + 7], 22, -45705983), c = L(c, m, f, I, w[O + 8], 7, 1770035416), I = L(I, c, m, f, w[O + 9], 12, -1958414417), f = L(f, I, c, m, w[O + 10], 17, -42063), m = L(m, f, I, c, w[O + 11], 22, -1990404162), c = L(c, m, f, I, w[O + 12], 7, 1804603682), I = L(I, c, m, f, w[O + 13], 12, -40341101), f = L(f, I, c, m, w[O + 14], 17, -1502002290), c = t(c, m = L(m, f, I, c, w[O + 15], 22, 1236535329), f, I, w[O + 1], 5, -165796510), I = t(I, c, m, f, w[O + 6], 9, -1069501632), f = t(f, I, c, m, w[O + 11], 14, 643717713), m = t(m, f, I, c, w[O + 0], 20, -373897302), c = t(c, m, f, I, w[O + 5], 5, -701558691), I = t(I, c, m, f, w[O + 10], 9, 38016083), f = t(f, I, c, m, w[O + 15], 14, -660478335), m = t(m, f, I, c, w[O + 4], 20, -405537848), c = t(c, m, f, I, w[O + 9], 5, 568446438), I = t(I, c, m, f, w[O + 14], 9, -1019803690), f = t(f, I, c, m, w[O + 3], 14, -187363961), m = t(m, f, I, c, w[O + 8], 20, 1163531501), c = t(c, m, f, I, w[O + 13], 5, -1444681467), I = t(I, c, m, f, w[O + 2], 9, -51403784), f = t(f, I, c, m, w[O + 7], 14, 1735328473), c = E(c, m = t(m, f, I, c, w[O + 12], 20, -1926607734), f, I, w[O + 5], 4, -378558), I = E(I, c, m, f, w[O + 8], 11, -2022574463), f = E(f, I, c, m, w[O + 11], 16, 1839030562), m = E(m, f, I, c, w[O + 14], 23, -35309556), c = E(c, m, f, I, w[O + 1], 4, -1530992060), I = E(I, c, m, f, w[O + 4], 11, 1272893353), f = E(f, I, c, m, w[O + 7], 16, -155497632), m = E(m, f, I, c, w[O + 10], 23, -1094730640), c = E(c, m, f, I, w[O + 13], 4, 681279174), I = E(I, c, m, f, w[O + 0], 11, -358537222), f = E(f, I, c, m, w[O + 3], 16, -722521979), m = E(m, f, I, c, w[O + 6], 23, 76029189), c = E(c, m, f, I, w[O + 9], 4, -640364487), I = E(I, c, m, f, w[O + 12], 11, -421815835), f = E(f, I, c, m, w[O + 15], 16, 530742520), c = M(c, m = E(m, f, I, c, w[O + 2], 23, -995338651), f, I, w[O + 0], 6, -198630844), I = M(I, c, m, f, w[O + 7], 10, 1126891415), f = M(f, I, c, m, w[O + 14], 15, -1416354905), m = M(m, f, I, c, w[O + 5], 21, -57434055), c = M(c, m, f, I, w[O + 12], 6, 1700485571), I = M(I, c, m, f, w[O + 3], 10, -1894986606), f = M(f, I, c, m, w[O + 10], 15, -1051523), m = M(m, f, I, c, w[O + 1], 21, -2054922799), c = M(c, m, f, I, w[O + 8], 6, 1873313359), I = M(I, c, m, f, w[O + 15], 10, -30611744), f = M(f, I, c, m, w[O + 6], 15, -1560198380), m = M(m, f, I, c, w[O + 13], 21, 1309151649), c = M(c, m, f, I, w[O + 4], 6, -145523070), I = M(I, c, m, f, w[O + 11], 10, -1120210379), f = M(f, I, c, m, w[O + 2], 15, 718787259), m = M(m, f, I, c, w[O + 9], 21, -343485551), c = R(c, U), m = R(m, q), f = R(f, ee), I = R(I, W);
3928
3930
  }
3929
3931
  return Array(c, m, f, I);
3930
3932
  }
3931
- function S(b, B, c, m, f, I) {
3932
- return R((B = R(R(B, b), R(m, I))) << f | B >>> 32 - f, c);
3933
+ function S(w, B, c, m, f, I) {
3934
+ return R((B = R(R(B, w), R(m, I))) << f | B >>> 32 - f, c);
3933
3935
  }
3934
- function T(b, B, c, m, f, I, O) {
3935
- return S(B & c | ~B & m, b, B, f, I, O);
3936
+ function L(w, B, c, m, f, I, O) {
3937
+ return S(B & c | ~B & m, w, B, f, I, O);
3936
3938
  }
3937
- function t(b, B, c, m, f, I, O) {
3938
- return S(B & m | c & ~m, b, B, f, I, O);
3939
+ function t(w, B, c, m, f, I, O) {
3940
+ return S(B & m | c & ~m, w, B, f, I, O);
3939
3941
  }
3940
- function E(b, B, c, m, f, I, O) {
3941
- return S(B ^ c ^ m, b, B, f, I, O);
3942
+ function E(w, B, c, m, f, I, O) {
3943
+ return S(B ^ c ^ m, w, B, f, I, O);
3942
3944
  }
3943
- function L(b, B, c, m, f, I, O) {
3944
- return S(c ^ (B | ~m), b, B, f, I, O);
3945
+ function M(w, B, c, m, f, I, O) {
3946
+ return S(c ^ (B | ~m), w, B, f, I, O);
3945
3947
  }
3946
- function R(b, B) {
3947
- var c = (65535 & b) + (65535 & B);
3948
- return (b >> 16) + (B >> 16) + (c >> 16) << 16 | 65535 & c;
3948
+ function R(w, B) {
3949
+ var c = (65535 & w) + (65535 & B);
3950
+ return (w >> 16) + (B >> 16) + (c >> 16) << 16 | 65535 & c;
3949
3951
  }
3950
- l.exports = function(b) {
3951
- return k.hash(b, F, 16);
3952
+ l.exports = function(w) {
3953
+ return k.hash(w, F, 16);
3952
3954
  };
3953
3955
  }).call(this, r("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, r("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/md5.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
3954
3956
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 7: [function(r, l, o) {
3955
3957
  (function(a, s, i, d, p, x, y, _, A) {
3956
3958
  l.exports = function(k) {
3957
- for (var F, S = new Array(k), T = 0; T < k; T++)
3958
- (3 & T) == 0 && (F = 4294967296 * Math.random()), S[T] = F >>> ((3 & T) << 3) & 255;
3959
+ for (var F, S = new Array(k), L = 0; L < k; L++)
3960
+ (3 & L) == 0 && (F = 4294967296 * Math.random()), S[L] = F >>> ((3 & L) << 3) & 255;
3959
3961
  return S;
3960
3962
  };
3961
3963
  }).call(this, r("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, r("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/rng.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
@@ -3964,20 +3966,20 @@ list should be an Array.`), u.length === 0)
3964
3966
  var k = r("./helpers");
3965
3967
  function F(t, E) {
3966
3968
  t[E >> 5] |= 128 << 24 - E % 32, t[15 + (E + 64 >> 9 << 4)] = E;
3967
- for (var L, R, b, B = Array(80), c = 1732584193, m = -271733879, f = -1732584194, I = 271733878, O = -1009589776, U = 0; U < t.length; U += 16) {
3969
+ for (var M, R, w, B = Array(80), c = 1732584193, m = -271733879, f = -1732584194, I = 271733878, O = -1009589776, U = 0; U < t.length; U += 16) {
3968
3970
  for (var q = c, ee = m, W = f, ae = I, de = O, se = 0; se < 80; se++) {
3969
- B[se] = se < 16 ? t[U + se] : T(B[se - 3] ^ B[se - 8] ^ B[se - 14] ^ B[se - 16], 1);
3970
- var ue = S(S(T(c, 5), (ue = m, R = f, b = I, (L = se) < 20 ? ue & R | ~ue & b : !(L < 40) && L < 60 ? ue & R | ue & b | R & b : ue ^ R ^ b)), S(S(O, B[se]), (L = se) < 20 ? 1518500249 : L < 40 ? 1859775393 : L < 60 ? -1894007588 : -899497514)), O = I, I = f, f = T(m, 30), m = c, c = ue;
3971
+ B[se] = se < 16 ? t[U + se] : L(B[se - 3] ^ B[se - 8] ^ B[se - 14] ^ B[se - 16], 1);
3972
+ var ue = S(S(L(c, 5), (ue = m, R = f, w = I, (M = se) < 20 ? ue & R | ~ue & w : !(M < 40) && M < 60 ? ue & R | ue & w | R & w : ue ^ R ^ w)), S(S(O, B[se]), (M = se) < 20 ? 1518500249 : M < 40 ? 1859775393 : M < 60 ? -1894007588 : -899497514)), O = I, I = f, f = L(m, 30), m = c, c = ue;
3971
3973
  }
3972
3974
  c = S(c, q), m = S(m, ee), f = S(f, W), I = S(I, ae), O = S(O, de);
3973
3975
  }
3974
3976
  return Array(c, m, f, I, O);
3975
3977
  }
3976
3978
  function S(t, E) {
3977
- var L = (65535 & t) + (65535 & E);
3978
- return (t >> 16) + (E >> 16) + (L >> 16) << 16 | 65535 & L;
3979
+ var M = (65535 & t) + (65535 & E);
3980
+ return (t >> 16) + (E >> 16) + (M >> 16) << 16 | 65535 & M;
3979
3981
  }
3980
- function T(t, E) {
3982
+ function L(t, E) {
3981
3983
  return t << E | t >>> 32 - E;
3982
3984
  }
3983
3985
  l.exports = function(t) {
@@ -3986,24 +3988,24 @@ list should be an Array.`), u.length === 0)
3986
3988
  }).call(this, r("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, r("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
3987
3989
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 9: [function(r, l, o) {
3988
3990
  (function(a, s, i, d, p, x, y, _, A) {
3989
- function k(E, L) {
3990
- var R = (65535 & E) + (65535 & L);
3991
- return (E >> 16) + (L >> 16) + (R >> 16) << 16 | 65535 & R;
3991
+ function k(E, M) {
3992
+ var R = (65535 & E) + (65535 & M);
3993
+ return (E >> 16) + (M >> 16) + (R >> 16) << 16 | 65535 & R;
3992
3994
  }
3993
- function F(E, L) {
3994
- var R, b = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), B = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), c = new Array(64);
3995
- E[L >> 5] |= 128 << 24 - L % 32, E[15 + (L + 64 >> 9 << 4)] = L;
3995
+ function F(E, M) {
3996
+ var R, w = new Array(1116352408, 1899447441, 3049323471, 3921009573, 961987163, 1508970993, 2453635748, 2870763221, 3624381080, 310598401, 607225278, 1426881987, 1925078388, 2162078206, 2614888103, 3248222580, 3835390401, 4022224774, 264347078, 604807628, 770255983, 1249150122, 1555081692, 1996064986, 2554220882, 2821834349, 2952996808, 3210313671, 3336571891, 3584528711, 113926993, 338241895, 666307205, 773529912, 1294757372, 1396182291, 1695183700, 1986661051, 2177026350, 2456956037, 2730485921, 2820302411, 3259730800, 3345764771, 3516065817, 3600352804, 4094571909, 275423344, 430227734, 506948616, 659060556, 883997877, 958139571, 1322822218, 1537002063, 1747873779, 1955562222, 2024104815, 2227730452, 2361852424, 2428436474, 2756734187, 3204031479, 3329325298), B = new Array(1779033703, 3144134277, 1013904242, 2773480762, 1359893119, 2600822924, 528734635, 1541459225), c = new Array(64);
3997
+ E[M >> 5] |= 128 << 24 - M % 32, E[15 + (M + 64 >> 9 << 4)] = M;
3996
3998
  for (var m, f, I = 0; I < E.length; I += 16) {
3997
3999
  for (var O = B[0], U = B[1], q = B[2], ee = B[3], W = B[4], ae = B[5], de = B[6], se = B[7], ue = 0; ue < 64; ue++)
3998
- c[ue] = ue < 16 ? E[ue + I] : k(k(k((f = c[ue - 2], T(f, 17) ^ T(f, 19) ^ t(f, 10)), c[ue - 7]), (f = c[ue - 15], T(f, 7) ^ T(f, 18) ^ t(f, 3))), c[ue - 16]), R = k(k(k(k(se, T(f = W, 6) ^ T(f, 11) ^ T(f, 25)), W & ae ^ ~W & de), b[ue]), c[ue]), m = k(T(m = O, 2) ^ T(m, 13) ^ T(m, 22), O & U ^ O & q ^ U & q), se = de, de = ae, ae = W, W = k(ee, R), ee = q, q = U, U = O, O = k(R, m);
4000
+ c[ue] = ue < 16 ? E[ue + I] : k(k(k((f = c[ue - 2], L(f, 17) ^ L(f, 19) ^ t(f, 10)), c[ue - 7]), (f = c[ue - 15], L(f, 7) ^ L(f, 18) ^ t(f, 3))), c[ue - 16]), R = k(k(k(k(se, L(f = W, 6) ^ L(f, 11) ^ L(f, 25)), W & ae ^ ~W & de), w[ue]), c[ue]), m = k(L(m = O, 2) ^ L(m, 13) ^ L(m, 22), O & U ^ O & q ^ U & q), se = de, de = ae, ae = W, W = k(ee, R), ee = q, q = U, U = O, O = k(R, m);
3999
4001
  B[0] = k(O, B[0]), B[1] = k(U, B[1]), B[2] = k(q, B[2]), B[3] = k(ee, B[3]), B[4] = k(W, B[4]), B[5] = k(ae, B[5]), B[6] = k(de, B[6]), B[7] = k(se, B[7]);
4000
4002
  }
4001
4003
  return B;
4002
4004
  }
4003
- var S = r("./helpers"), T = function(E, L) {
4004
- return E >>> L | E << 32 - L;
4005
- }, t = function(E, L) {
4006
- return E >>> L;
4005
+ var S = r("./helpers"), L = function(E, M) {
4006
+ return E >>> M | E << 32 - M;
4007
+ }, t = function(E, M) {
4008
+ return E >>> M;
4007
4009
  };
4008
4010
  l.exports = function(E) {
4009
4011
  return S.hash(E, F, 32, !0);
@@ -4011,25 +4013,25 @@ list should be an Array.`), u.length === 0)
4011
4013
  }).call(this, r("lYpoI2"), typeof self < "u" ? self : typeof window < "u" ? window : {}, r("buffer").Buffer, arguments[3], arguments[4], arguments[5], arguments[6], "/node_modules/gulp-browserify/node_modules/crypto-browserify/sha256.js", "/node_modules/gulp-browserify/node_modules/crypto-browserify");
4012
4014
  }, { "./helpers": 4, buffer: 3, lYpoI2: 11 }], 10: [function(r, l, o) {
4013
4015
  (function(a, s, i, d, p, x, y, _, A) {
4014
- o.read = function(k, F, S, T, I) {
4015
- var E, L, R = 8 * I - T - 1, b = (1 << R) - 1, B = b >> 1, c = -7, m = S ? I - 1 : 0, f = S ? -1 : 1, I = k[F + m];
4016
+ o.read = function(k, F, S, L, I) {
4017
+ var E, M, R = 8 * I - L - 1, w = (1 << R) - 1, B = w >> 1, c = -7, m = S ? I - 1 : 0, f = S ? -1 : 1, I = k[F + m];
4016
4018
  for (m += f, E = I & (1 << -c) - 1, I >>= -c, c += R; 0 < c; E = 256 * E + k[F + m], m += f, c -= 8)
4017
4019
  ;
4018
- for (L = E & (1 << -c) - 1, E >>= -c, c += T; 0 < c; L = 256 * L + k[F + m], m += f, c -= 8)
4020
+ for (M = E & (1 << -c) - 1, E >>= -c, c += L; 0 < c; M = 256 * M + k[F + m], m += f, c -= 8)
4019
4021
  ;
4020
4022
  if (E === 0)
4021
4023
  E = 1 - B;
4022
4024
  else {
4023
- if (E === b)
4024
- return L ? NaN : 1 / 0 * (I ? -1 : 1);
4025
- L += Math.pow(2, T), E -= B;
4025
+ if (E === w)
4026
+ return M ? NaN : 1 / 0 * (I ? -1 : 1);
4027
+ M += Math.pow(2, L), E -= B;
4026
4028
  }
4027
- return (I ? -1 : 1) * L * Math.pow(2, E - T);
4028
- }, o.write = function(k, F, S, T, t, O) {
4029
- var L, R, b = 8 * O - t - 1, B = (1 << b) - 1, c = B >> 1, m = t === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, f = T ? 0 : O - 1, I = T ? 1 : -1, O = F < 0 || F === 0 && 1 / F < 0 ? 1 : 0;
4030
- for (F = Math.abs(F), isNaN(F) || F === 1 / 0 ? (R = isNaN(F) ? 1 : 0, L = B) : (L = Math.floor(Math.log(F) / Math.LN2), F * (T = Math.pow(2, -L)) < 1 && (L--, T *= 2), 2 <= (F += 1 <= L + c ? m / T : m * Math.pow(2, 1 - c)) * T && (L++, T /= 2), B <= L + c ? (R = 0, L = B) : 1 <= L + c ? (R = (F * T - 1) * Math.pow(2, t), L += c) : (R = F * Math.pow(2, c - 1) * Math.pow(2, t), L = 0)); 8 <= t; k[S + f] = 255 & R, f += I, R /= 256, t -= 8)
4029
+ return (I ? -1 : 1) * M * Math.pow(2, E - L);
4030
+ }, o.write = function(k, F, S, L, t, O) {
4031
+ var M, R, w = 8 * O - t - 1, B = (1 << w) - 1, c = B >> 1, m = t === 23 ? Math.pow(2, -24) - Math.pow(2, -77) : 0, f = L ? 0 : O - 1, I = L ? 1 : -1, O = F < 0 || F === 0 && 1 / F < 0 ? 1 : 0;
4032
+ for (F = Math.abs(F), isNaN(F) || F === 1 / 0 ? (R = isNaN(F) ? 1 : 0, M = B) : (M = Math.floor(Math.log(F) / Math.LN2), F * (L = Math.pow(2, -M)) < 1 && (M--, L *= 2), 2 <= (F += 1 <= M + c ? m / L : m * Math.pow(2, 1 - c)) * L && (M++, L /= 2), B <= M + c ? (R = 0, M = B) : 1 <= M + c ? (R = (F * L - 1) * Math.pow(2, t), M += c) : (R = F * Math.pow(2, c - 1) * Math.pow(2, t), M = 0)); 8 <= t; k[S + f] = 255 & R, f += I, R /= 256, t -= 8)
4031
4033
  ;
4032
- for (L = L << t | R, b += t; 0 < b; k[S + f] = 255 & L, f += I, L /= 256, b -= 8)
4034
+ for (M = M << t | R, w += t; 0 < w; k[S + f] = 255 & M, f += I, M /= 256, w -= 8)
4033
4035
  ;
4034
4036
  k[S + f - I] |= 128 * O;
4035
4037
  };
@@ -4037,7 +4039,7 @@ list should be an Array.`), u.length === 0)
4037
4039
  }, { buffer: 3, lYpoI2: 11 }], 11: [function(r, l, o) {
4038
4040
  (function(a, s, i, d, p, x, y, _, A) {
4039
4041
  var k, F, S;
4040
- function T() {
4042
+ function L() {
4041
4043
  }
4042
4044
  (a = l.exports = {}).nextTick = (F = typeof window < "u" && window.setImmediate, S = typeof window < "u" && window.postMessage && window.addEventListener, F ? function(t) {
4043
4045
  return window.setImmediate(t);
@@ -4048,7 +4050,7 @@ list should be an Array.`), u.length === 0)
4048
4050
  k.push(t), window.postMessage("process-tick", "*");
4049
4051
  }) : function(t) {
4050
4052
  setTimeout(t, 0);
4051
- }), a.title = "browser", a.browser = !0, a.env = {}, a.argv = [], a.on = T, a.addListener = T, a.once = T, a.off = T, a.removeListener = T, a.removeAllListeners = T, a.emit = T, a.binding = function(t) {
4053
+ }), a.title = "browser", a.browser = !0, a.env = {}, a.argv = [], a.on = L, a.addListener = L, a.once = L, a.off = L, a.removeListener = L, a.removeAllListeners = L, a.emit = L, a.binding = function(t) {
4052
4054
  throw new Error("process.binding is not supported");
4053
4055
  }, a.cwd = function() {
4054
4056
  return "/";
@@ -4073,18 +4075,18 @@ function Te({ visible: e = !0, features: n = 0, ourProps: r, theirProps: l, ...o
4073
4075
  var a;
4074
4076
  let s = zs(l, r), i = Object.assign(o, { props: s });
4075
4077
  if (e || n & 2 && s.static)
4076
- return wn(i);
4078
+ return xn(i);
4077
4079
  if (n & 1) {
4078
4080
  let d = (a = s.unmount) == null || a ? 0 : 1;
4079
4081
  return He(d, { [0]() {
4080
4082
  return null;
4081
4083
  }, [1]() {
4082
- return wn({ ...o, props: { ...s, hidden: !0, style: { display: "none" } } });
4084
+ return xn({ ...o, props: { ...s, hidden: !0, style: { display: "none" } } });
4083
4085
  } });
4084
4086
  }
4085
- return wn(i);
4087
+ return xn(i);
4086
4088
  }
4087
- function wn({ props: e, attrs: n, slots: r, slot: l, name: o }) {
4089
+ function xn({ props: e, attrs: n, slots: r, slot: l, name: o }) {
4088
4090
  var a;
4089
4091
  let { as: s, ...i } = Zn(e, ["unmount", "static"]), d = (a = r.default) == null ? void 0 : a.call(r, l), p = {};
4090
4092
  if (l) {
@@ -4194,9 +4196,9 @@ function ge(e) {
4194
4196
  let ao = Symbol("Context");
4195
4197
  var Xe = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(Xe || {});
4196
4198
  function Qs() {
4197
- return dn() !== null;
4199
+ return fn() !== null;
4198
4200
  }
4199
- function dn() {
4201
+ function fn() {
4200
4202
  return Oe(ao, null);
4201
4203
  }
4202
4204
  function so(e) {
@@ -4218,9 +4220,9 @@ function io(e, n) {
4218
4220
  r.value || !ge(n) || ge(n) instanceof HTMLButtonElement && !((l = ge(n)) != null && l.hasAttribute("type")) && (r.value = "button");
4219
4221
  }), r;
4220
4222
  }
4221
- const fn = typeof window > "u" || typeof document > "u";
4223
+ const mn = typeof window > "u" || typeof document > "u";
4222
4224
  function dt(e) {
4223
- if (fn)
4225
+ if (mn)
4224
4226
  return null;
4225
4227
  if (e instanceof Node)
4226
4228
  return e.ownerDocument;
@@ -4244,20 +4246,20 @@ function Ys({ container: e, accept: n, walk: r, enabled: l }) {
4244
4246
  r(i.currentNode);
4245
4247
  });
4246
4248
  }
4247
- let Mn = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
4249
+ let On = ["[contentEditable=true]", "[tabindex]", "a[href]", "area[href]", "button:not([disabled])", "iframe", "input:not([disabled])", "select:not([disabled])", "textarea:not([disabled])"].map((e) => `${e}:not([tabindex='-1'])`).join(",");
4248
4250
  var yt = ((e) => (e[e.First = 1] = "First", e[e.Previous = 2] = "Previous", e[e.Next = 4] = "Next", e[e.Last = 8] = "Last", e[e.WrapAround = 16] = "WrapAround", e[e.NoScroll = 32] = "NoScroll", e))(yt || {}), uo = ((e) => (e[e.Error = 0] = "Error", e[e.Overflow = 1] = "Overflow", e[e.Success = 2] = "Success", e[e.Underflow = 3] = "Underflow", e))(uo || {}), Js = ((e) => (e[e.Previous = -1] = "Previous", e[e.Next = 1] = "Next", e))(Js || {});
4249
4251
  function co(e = document.body) {
4250
- return e == null ? [] : Array.from(e.querySelectorAll(Mn));
4252
+ return e == null ? [] : Array.from(e.querySelectorAll(On));
4251
4253
  }
4252
4254
  var Xn = ((e) => (e[e.Strict = 0] = "Strict", e[e.Loose = 1] = "Loose", e))(Xn || {});
4253
4255
  function er(e, n = 0) {
4254
4256
  var r;
4255
4257
  return e === ((r = dt(e)) == null ? void 0 : r.body) ? !1 : He(n, { [0]() {
4256
- return e.matches(Mn);
4258
+ return e.matches(On);
4257
4259
  }, [1]() {
4258
4260
  let l = e;
4259
4261
  for (; l !== null; ) {
4260
- if (l.matches(Mn))
4262
+ if (l.matches(On))
4261
4263
  return !0;
4262
4264
  l = l.parentElement;
4263
4265
  }
@@ -4327,8 +4329,8 @@ function tn(e, n, r = !0, l = null) {
4327
4329
  } while (_ !== a.activeElement);
4328
4330
  return n & 6 && Xs(_) && _.select(), _.hasAttribute("tabindex") || _.setAttribute("tabindex", "0"), 2;
4329
4331
  }
4330
- function xn(e, n, r) {
4331
- fn || Re((l) => {
4332
+ function kn(e, n, r) {
4333
+ mn || Re((l) => {
4332
4334
  document.addEventListener(e, n, r), l(() => document.removeEventListener(e, n, r));
4333
4335
  });
4334
4336
  }
@@ -4352,12 +4354,12 @@ function po(e, n, r = V(() => !0)) {
4352
4354
  return !er(i, Xn.Loose) && i.tabIndex !== -1 && a.preventDefault(), n(a, i);
4353
4355
  }
4354
4356
  let o = N(null);
4355
- xn("mousedown", (a) => {
4357
+ kn("mousedown", (a) => {
4356
4358
  var s, i;
4357
4359
  r.value && (o.value = ((i = (s = a.composedPath) == null ? void 0 : s.call(a)) == null ? void 0 : i[0]) || a.target);
4358
- }, !0), xn("click", (a) => {
4360
+ }, !0), kn("click", (a) => {
4359
4361
  !o.value || (l(a, () => o.value), o.value = null);
4360
- }, !0), xn("blur", (a) => l(a, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
4362
+ }, !0), kn("blur", (a) => l(a, () => window.document.activeElement instanceof HTMLIFrameElement ? window.document.activeElement : null), !0);
4361
4363
  }
4362
4364
  var Lt = ((e) => (e[e.None = 1] = "None", e[e.Focusable = 2] = "Focusable", e[e.Hidden = 4] = "Hidden", e))(Lt || {});
4363
4365
  let nn = Q({ name: "Hidden", props: { as: { type: [Object, String], default: "div" }, features: { type: Number, default: 1 } }, setup(e, { slots: n, attrs: r }) {
@@ -4384,11 +4386,11 @@ function ni(e, n, r) {
4384
4386
  }];
4385
4387
  }
4386
4388
  function ri(e, n, r) {
4387
- fn || Re((l) => {
4389
+ mn || Re((l) => {
4388
4390
  window.addEventListener(e, n, r), l(() => window.removeEventListener(e, n, r));
4389
4391
  });
4390
4392
  }
4391
- var On = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(On || {});
4393
+ var jn = ((e) => (e[e.Forwards = 0] = "Forwards", e[e.Backwards = 1] = "Backwards", e))(jn || {});
4392
4394
  function oi() {
4393
4395
  let e = N(0);
4394
4396
  return ri("keydown", (n) => {
@@ -4396,7 +4398,7 @@ function oi() {
4396
4398
  }), e;
4397
4399
  }
4398
4400
  function ho(e, n, r, l) {
4399
- fn || Re((o) => {
4401
+ mn || Re((o) => {
4400
4402
  e = e != null ? e : window, e.addEventListener(n, r, l), o(() => e.removeEventListener(n, r, l));
4401
4403
  });
4402
4404
  }
@@ -4416,7 +4418,7 @@ let $t = Object.assign(Q({ name: "FocusTrap", props: { as: { type: [Object, Stri
4416
4418
  let i = oi();
4417
4419
  function d() {
4418
4420
  let p = ge(o);
4419
- !p || He(i.value, { [On.Forwards]: () => tn(p, yt.First), [On.Backwards]: () => tn(p, yt.Last) });
4421
+ !p || He(i.value, { [jn.Forwards]: () => tn(p, yt.First), [jn.Backwards]: () => tn(p, yt.Last) });
4420
4422
  }
4421
4423
  return () => {
4422
4424
  let p = {}, x = { ref: o }, { features: y, initialFocus: _, containers: A, ...k } = e;
@@ -4530,7 +4532,7 @@ let go = Symbol("ForcePortalRootContext");
4530
4532
  function di() {
4531
4533
  return Oe(go, !1);
4532
4534
  }
4533
- let jn = Q({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: n, attrs: r }) {
4535
+ let Dn = Q({ name: "ForcePortalRoot", props: { as: { type: [Object, String], default: "template" }, force: { type: Boolean, default: !1 } }, setup(e, { slots: n, attrs: r }) {
4534
4536
  return Se(go, e.force), () => {
4535
4537
  let { force: l, ...o } = e;
4536
4538
  return Te({ theirProps: o, ourProps: {}, slot: {}, slots: n, attrs: r, name: "ForcePortalRoot" });
@@ -4572,7 +4574,7 @@ let yo = Q({ name: "Portal", props: { as: { type: [Object, String], default: "di
4572
4574
  return Te({ theirProps: a, ourProps: {}, slot: {}, attrs: n, slots: r, name: "PortalGroup" });
4573
4575
  };
4574
4576
  } }), wo = Symbol("StackContext");
4575
- var Dn = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Dn || {});
4577
+ var Fn = ((e) => (e[e.Add = 0] = "Add", e[e.Remove = 1] = "Remove", e))(Fn || {});
4576
4578
  function pi() {
4577
4579
  return Oe(wo, () => {
4578
4580
  });
@@ -4607,7 +4609,7 @@ function ko({ slot: e = N({}), name: n = "Description", props: r = {} } = {}) {
4607
4609
  }
4608
4610
  return Se(xo, { register: o, slot: e, name: n, props: r }), V(() => l.value.length > 0 ? l.value.join(" ") : void 0);
4609
4611
  }
4610
- let gp = Q({ name: "Description", props: { as: { type: [Object, String], default: "p" } }, setup(e, { attrs: n, slots: r }) {
4612
+ let kp = Q({ name: "Description", props: { as: { type: [Object, String], default: "p" } }, setup(e, { attrs: n, slots: r }) {
4611
4613
  let l = vi(), o = `headlessui-description-${Ke()}`;
4612
4614
  return he(() => et(l.register(o))), () => {
4613
4615
  let { name: a = "Description", slot: s = N({}), props: i = {} } = l, d = e, p = { ...Object.entries(i).reduce((x, [y, _]) => Object.assign(x, { [y]: g(_) }), {}), id: o };
@@ -4644,9 +4646,9 @@ function gi() {
4644
4646
  return /iPhone/gi.test(window.navigator.platform) || /Mac/gi.test(window.navigator.platform) && window.navigator.maxTouchPoints > 0;
4645
4647
  }
4646
4648
  var yi = ((e) => (e[e.Open = 0] = "Open", e[e.Closed = 1] = "Closed", e))(yi || {});
4647
- let Fn = Symbol("DialogContext");
4649
+ let Pn = Symbol("DialogContext");
4648
4650
  function Dt(e) {
4649
- let n = Oe(Fn, null);
4651
+ let n = Oe(Pn, null);
4650
4652
  if (n === null) {
4651
4653
  let r = new Error(`<${e} /> is missing a parent <Dialog /> component.`);
4652
4654
  throw Error.captureStackTrace && Error.captureStackTrace(r, Dt), r;
@@ -4659,35 +4661,35 @@ let Ut = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", bi = Q({ name: "Dialog", inheri
4659
4661
  he(() => {
4660
4662
  s.value = !0;
4661
4663
  });
4662
- let i = N(0), d = dn(), p = V(() => e.open === Ut && d !== null ? He(d.value, { [Xe.Open]: !0, [Xe.Closed]: !1 }) : e.open), x = N(/* @__PURE__ */ new Set()), y = N(null), _ = N(null), A = V(() => dt(y));
4664
+ let i = N(0), d = fn(), p = V(() => e.open === Ut && d !== null ? He(d.value, { [Xe.Open]: !0, [Xe.Closed]: !1 }) : e.open), x = N(/* @__PURE__ */ new Set()), y = N(null), _ = N(null), A = V(() => dt(y));
4663
4665
  if (o({ el: y, $el: y }), !(e.open !== Ut || d !== null))
4664
4666
  throw new Error("You forgot to provide an `open` prop to the `Dialog`.");
4665
4667
  if (typeof p.value != "boolean")
4666
4668
  throw new Error(`You provided an \`open\` prop to the \`Dialog\`, but the value is not a boolean. Received: ${p.value === Ut ? void 0 : e.open}`);
4667
- let k = V(() => s.value && p.value ? 0 : 1), F = V(() => k.value === 0), S = V(() => i.value > 1), T = Oe(Fn, null) !== null, t = V(() => S.value ? "parent" : "leaf");
4669
+ let k = V(() => s.value && p.value ? 0 : 1), F = V(() => k.value === 0), S = V(() => i.value > 1), L = Oe(Pn, null) !== null, t = V(() => S.value ? "parent" : "leaf");
4668
4670
  ci(y, V(() => S.value ? F.value : !1)), hi({ type: "Dialog", enabled: V(() => k.value === 0), element: y, onUpdate: (B, c, m) => {
4669
4671
  if (c === "Dialog")
4670
- return He(B, { [Dn.Add]() {
4672
+ return He(B, { [Fn.Add]() {
4671
4673
  x.value.add(m), i.value += 1;
4672
- }, [Dn.Remove]() {
4674
+ }, [Fn.Remove]() {
4673
4675
  x.value.delete(m), i.value -= 1;
4674
4676
  } });
4675
4677
  } });
4676
- let E = ko({ name: "DialogDescription", slot: V(() => ({ open: p.value })) }), L = `headlessui-dialog-${Ke()}`, R = N(null), b = { titleId: R, panelRef: N(null), dialogState: k, setTitleId(B) {
4678
+ let E = ko({ name: "DialogDescription", slot: V(() => ({ open: p.value })) }), M = `headlessui-dialog-${Ke()}`, R = N(null), w = { titleId: R, panelRef: N(null), dialogState: k, setTitleId(B) {
4677
4679
  R.value !== B && (R.value = B);
4678
4680
  }, close() {
4679
4681
  n("close", !1);
4680
4682
  } };
4681
- return Se(Fn, b), po(() => {
4683
+ return Se(Pn, w), po(() => {
4682
4684
  var B, c, m;
4683
- return [...Array.from((c = (B = A.value) == null ? void 0 : B.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? c : []).filter((f) => !(!(f instanceof HTMLElement) || f.contains(ge(_)) || b.panelRef.value && f.contains(b.panelRef.value))), (m = b.panelRef.value) != null ? m : y.value];
4685
+ return [...Array.from((c = (B = A.value) == null ? void 0 : B.querySelectorAll("body > *, [data-headlessui-portal]")) != null ? c : []).filter((f) => !(!(f instanceof HTMLElement) || f.contains(ge(_)) || w.panelRef.value && f.contains(w.panelRef.value))), (m = w.panelRef.value) != null ? m : y.value];
4684
4686
  }, (B, c) => {
4685
- b.close(), Ve(() => c == null ? void 0 : c.focus());
4687
+ w.close(), Ve(() => c == null ? void 0 : c.focus());
4686
4688
  }, V(() => k.value === 0 && !S.value)), ho((a = A.value) == null ? void 0 : a.defaultView, "keydown", (B) => {
4687
- B.defaultPrevented || B.key === Ae.Escape && k.value === 0 && (S.value || (B.preventDefault(), B.stopPropagation(), b.close()));
4689
+ B.defaultPrevented || B.key === Ae.Escape && k.value === 0 && (S.value || (B.preventDefault(), B.stopPropagation(), w.close()));
4688
4690
  }), Re((B) => {
4689
4691
  var c;
4690
- if (k.value !== 0 || T)
4692
+ if (k.value !== 0 || L)
4691
4693
  return;
4692
4694
  let m = A.value;
4693
4695
  if (!m)
@@ -4717,12 +4719,12 @@ let Ut = "DC8F892D-2EBD-447C-A4C8-A03058436FF4", bi = Q({ name: "Dialog", inheri
4717
4719
  return;
4718
4720
  let m = new IntersectionObserver((f) => {
4719
4721
  for (let I of f)
4720
- I.boundingClientRect.x === 0 && I.boundingClientRect.y === 0 && I.boundingClientRect.width === 0 && I.boundingClientRect.height === 0 && b.close();
4722
+ I.boundingClientRect.x === 0 && I.boundingClientRect.y === 0 && I.boundingClientRect.width === 0 && I.boundingClientRect.height === 0 && w.close();
4721
4723
  });
4722
4724
  m.observe(c), B(() => m.disconnect());
4723
4725
  }), () => {
4724
- let B = { ...r, ref: y, id: L, role: "dialog", "aria-modal": k.value === 0 ? !0 : void 0, "aria-labelledby": R.value, "aria-describedby": E.value }, { open: c, initialFocus: m, ...f } = e, I = { open: k.value === 0 };
4725
- return Be(jn, { force: !0 }, () => [Be(yo, () => Be(mi, { target: y.value }, () => Be(jn, { force: !1 }, () => Be($t, { initialFocus: m, containers: x, features: F.value ? He(t.value, { parent: $t.features.RestoreFocus, leaf: $t.features.All & ~$t.features.FocusLock }) : $t.features.None }, () => Te({ ourProps: B, theirProps: f, slot: I, attrs: r, slots: l, visible: k.value === 0, features: xt.RenderStrategy | xt.Static, name: "Dialog" }))))), Be(nn, { features: Lt.Hidden, ref: _ })]);
4726
+ let B = { ...r, ref: y, id: M, role: "dialog", "aria-modal": k.value === 0 ? !0 : void 0, "aria-labelledby": R.value, "aria-describedby": E.value }, { open: c, initialFocus: m, ...f } = e, I = { open: k.value === 0 };
4727
+ return Be(Dn, { force: !0 }, () => [Be(yo, () => Be(mi, { target: y.value }, () => Be(Dn, { force: !1 }, () => Be($t, { initialFocus: m, containers: x, features: F.value ? He(t.value, { parent: $t.features.RestoreFocus, leaf: $t.features.All & ~$t.features.FocusLock }) : $t.features.None }, () => Te({ ourProps: B, theirProps: f, slot: I, attrs: r, slots: l, visible: k.value === 0, features: xt.RenderStrategy | xt.Static, name: "Dialog" }))))), Be(nn, { features: Lt.Hidden, ref: _ })]);
4726
4728
  };
4727
4729
  } });
4728
4730
  Q({ name: "DialogOverlay", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: n, slots: r }) {
@@ -4739,7 +4741,7 @@ Q({ name: "DialogBackdrop", props: { as: { type: [Object, String], default: "div
4739
4741
  throw new Error("A <DialogBackdrop /> component is being used, but a <DialogPanel /> component is missing.");
4740
4742
  }), () => {
4741
4743
  let i = e, d = { id: a, ref: s, "aria-hidden": !0 };
4742
- return Be(jn, { force: !0 }, () => Be(yo, () => Te({ ourProps: d, theirProps: { ...n, ...i }, slot: { open: o.dialogState.value === 0 }, attrs: n, slots: r, name: "DialogBackdrop" })));
4744
+ return Be(Dn, { force: !0 }, () => Be(yo, () => Te({ ourProps: d, theirProps: { ...n, ...i }, slot: { open: o.dialogState.value === 0 }, attrs: n, slots: r, name: "DialogBackdrop" })));
4743
4745
  };
4744
4746
  } });
4745
4747
  let wi = Q({ name: "DialogPanel", props: { as: { type: [Object, String], default: "div" } }, setup(e, { attrs: n, slots: r, expose: l }) {
@@ -4764,11 +4766,11 @@ function Si(e) {
4764
4766
  requestAnimationFrame(() => requestAnimationFrame(e));
4765
4767
  }
4766
4768
  let So = Symbol("MenuContext");
4767
- function mn(e) {
4769
+ function pn(e) {
4768
4770
  let n = Oe(So, null);
4769
4771
  if (n === null) {
4770
4772
  let r = new Error(`<${e} /> is missing a parent <Menu /> component.`);
4771
- throw Error.captureStackTrace && Error.captureStackTrace(r, mn), r;
4773
+ throw Error.captureStackTrace && Error.captureStackTrace(r, pn), r;
4772
4774
  }
4773
4775
  return n;
4774
4776
  }
@@ -4781,7 +4783,7 @@ let $i = Q({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4781
4783
  let y = { menuState: l, buttonRef: o, itemsRef: a, items: s, searchQuery: i, activeItemIndex: d, activationTrigger: p, closeMenu: () => {
4782
4784
  l.value = 1, d.value = null;
4783
4785
  }, openMenu: () => l.value = 0, goToItem(_, A, k) {
4784
- let F = x(), S = Ws(_ === ze.Specific ? { focus: ze.Specific, id: A } : { focus: _ }, { resolveItems: () => F.items, resolveActiveIndex: () => F.activeItemIndex, resolveId: (T) => T.id, resolveDisabled: (T) => T.dataRef.disabled });
4786
+ let F = x(), S = Ws(_ === ze.Specific ? { focus: ze.Specific, id: A } : { focus: _ }, { resolveItems: () => F.items, resolveActiveIndex: () => F.activeItemIndex, resolveId: (L) => L.id, resolveDisabled: (L) => L.dataRef.disabled });
4785
4787
  i.value = "", d.value = S, p.value = k != null ? k : 1, s.value = F.items;
4786
4788
  }, search(_) {
4787
4789
  let A = i.value !== "" ? 0 : 1;
@@ -4808,7 +4810,7 @@ let $i = Q({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4808
4810
  return Te({ ourProps: {}, theirProps: e, slot: _, slots: n, attrs: r, name: "Menu" });
4809
4811
  };
4810
4812
  } }), Ci = Q({ name: "MenuButton", props: { disabled: { type: Boolean, default: !1 }, as: { type: [Object, String], default: "button" } }, setup(e, { attrs: n, slots: r, expose: l }) {
4811
- let o = mn("MenuButton"), a = `headlessui-menu-button-${Ke()}`;
4813
+ let o = pn("MenuButton"), a = `headlessui-menu-button-${Ke()}`;
4812
4814
  l({ el: o.buttonRef, $el: o.buttonRef });
4813
4815
  function s(x) {
4814
4816
  switch (x.key) {
@@ -4851,7 +4853,7 @@ let $i = Q({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4851
4853
  return Te({ ourProps: _, theirProps: e, slot: y, attrs: n, slots: r, name: "MenuButton" });
4852
4854
  };
4853
4855
  } }), Bi = Q({ name: "MenuItems", props: { as: { type: [Object, String], default: "div" }, static: { type: Boolean, default: !1 }, unmount: { type: Boolean, default: !0 } }, setup(e, { attrs: n, slots: r, expose: l }) {
4854
- let o = mn("MenuItems"), a = `headlessui-menu-items-${Ke()}`, s = N(null);
4856
+ let o = pn("MenuItems"), a = `headlessui-menu-items-${Ke()}`, s = N(null);
4855
4857
  l({ el: o.itemsRef, $el: o.itemsRef }), Ys({ container: V(() => ge(o.itemsRef)), enabled: V(() => o.menuState.value === 0), accept(y) {
4856
4858
  return y.getAttribute("role") === "menuitem" ? NodeFilter.FILTER_REJECT : y.hasAttribute("role") ? NodeFilter.FILTER_SKIP : NodeFilter.FILTER_ACCEPT;
4857
4859
  }, walk(y) {
@@ -4901,14 +4903,14 @@ let $i = Q({ name: "Menu", props: { as: { type: [Object, String], default: "temp
4901
4903
  break;
4902
4904
  }
4903
4905
  }
4904
- let p = dn(), x = V(() => p !== null ? p.value === Xe.Open : o.menuState.value === 0);
4906
+ let p = fn(), x = V(() => p !== null ? p.value === Xe.Open : o.menuState.value === 0);
4905
4907
  return () => {
4906
4908
  var y, _;
4907
4909
  let A = { open: o.menuState.value === 0 }, k = { "aria-activedescendant": o.activeItemIndex.value === null || (y = o.items.value[o.activeItemIndex.value]) == null ? void 0 : y.id, "aria-labelledby": (_ = ge(o.buttonRef)) == null ? void 0 : _.id, id: a, onKeydown: i, onKeyup: d, role: "menu", tabIndex: 0, ref: o.itemsRef };
4908
4910
  return Te({ ourProps: k, theirProps: e, slot: A, attrs: n, slots: r, features: xt.RenderStrategy | xt.Static, visible: x.value, name: "MenuItems" });
4909
4911
  };
4910
4912
  } }), Bt = Q({ name: "MenuItem", props: { as: { type: [Object, String], default: "template" }, disabled: { type: Boolean, default: !1 } }, setup(e, { slots: n, attrs: r, expose: l }) {
4911
- let o = mn("MenuItem"), a = `headlessui-menu-item-${Ke()}`, s = N(null);
4913
+ let o = pn("MenuItem"), a = `headlessui-menu-item-${Ke()}`, s = N(null);
4912
4914
  l({ el: s, $el: s });
4913
4915
  let i = V(() => o.activeItemIndex.value !== null ? o.items.value[o.activeItemIndex.value].id === a : !1), d = V(() => ({ disabled: e.disabled, textValue: "", domRef: s }));
4914
4916
  he(() => {
@@ -4988,8 +4990,8 @@ let Ii = Q({ name: "Label", props: { as: { type: [Object, String], default: "lab
4988
4990
  S.preventDefault();
4989
4991
  }
4990
4992
  return () => {
4991
- let { name: S, value: T, ...t } = e, E = { checked: i.value }, L = { id: s, ref: y, role: "switch", type: _.value, tabIndex: 0, "aria-checked": i.value, "aria-labelledby": a == null ? void 0 : a.labelledby.value, "aria-describedby": a == null ? void 0 : a.describedby.value, onClick: A, onKeyup: k, onKeypress: F };
4992
- return Be(me, [S != null && i.value != null ? Be(nn, Us({ features: Lt.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: i.value, name: S, value: T })) : null, Te({ ourProps: L, theirProps: { ...r, ...Zn(t, ["modelValue", "defaultChecked"]) }, slot: E, attrs: r, slots: l, name: "Switch" })]);
4993
+ let { name: S, value: L, ...t } = e, E = { checked: i.value }, M = { id: s, ref: y, role: "switch", type: _.value, tabIndex: 0, "aria-checked": i.value, "aria-labelledby": a == null ? void 0 : a.labelledby.value, "aria-describedby": a == null ? void 0 : a.describedby.value, onClick: A, onKeyup: k, onKeypress: F };
4994
+ return Be(me, [S != null && i.value != null ? Be(nn, Us({ features: Lt.Hidden, as: "input", type: "checkbox", hidden: !0, readOnly: !0, checked: i.value, name: S, value: L })) : null, Te({ ourProps: M, theirProps: { ...r, ...Zn(t, ["modelValue", "defaultChecked"]) }, slot: E, attrs: r, slots: l, name: "Switch" })]);
4993
4995
  };
4994
4996
  } }), Ti = Ii;
4995
4997
  function Li(e) {
@@ -4999,13 +5001,13 @@ function Li(e) {
4999
5001
  return n.called = !0, e(...r);
5000
5002
  };
5001
5003
  }
5002
- function kn(e, ...n) {
5004
+ function Sn(e, ...n) {
5003
5005
  e && n.length > 0 && e.classList.add(...n);
5004
5006
  }
5005
5007
  function qt(e, ...n) {
5006
5008
  e && n.length > 0 && e.classList.remove(...n);
5007
5009
  }
5008
- var Pn = ((e) => (e.Finished = "finished", e.Cancelled = "cancelled", e))(Pn || {});
5010
+ var Vn = ((e) => (e.Finished = "finished", e.Cancelled = "cancelled", e))(Vn || {});
5009
5011
  function Mi(e, n) {
5010
5012
  let r = tr();
5011
5013
  if (!e)
@@ -5019,8 +5021,8 @@ function Mi(e, n) {
5019
5021
  function _r(e, n, r, l, o, a) {
5020
5022
  let s = tr(), i = a !== void 0 ? Li(a) : () => {
5021
5023
  };
5022
- return qt(e, ...o), kn(e, ...n, ...r), s.nextFrame(() => {
5023
- qt(e, ...r), kn(e, ...l), s.add(Mi(e, (d) => (qt(e, ...l, ...n), kn(e, ...o), i(d))));
5024
+ return qt(e, ...o), Sn(e, ...n, ...r), s.nextFrame(() => {
5025
+ qt(e, ...r), Sn(e, ...l), s.add(Mi(e, (d) => (qt(e, ...l, ...n), Sn(e, ...o), i(d))));
5024
5026
  }), s.add(() => qt(e, ...n, ...r, ...l, ...o)), s.add(() => i("cancelled")), s.dispose;
5025
5027
  }
5026
5028
  function mt(e = "") {
@@ -5044,8 +5046,8 @@ function Fi() {
5044
5046
  return e;
5045
5047
  }
5046
5048
  let rr = Symbol("NestingContext");
5047
- function pn(e) {
5048
- return "children" in e ? pn(e.children) : e.value.filter(({ state: n }) => n === "visible").length > 0;
5049
+ function hn(e) {
5050
+ return "children" in e ? hn(e.children) : e.value.filter(({ state: n }) => n === "visible").length > 0;
5049
5051
  }
5050
5052
  function _o(e) {
5051
5053
  let n = N([]), r = N(!1);
@@ -5056,7 +5058,7 @@ function _o(e) {
5056
5058
  n.value.splice(i, 1);
5057
5059
  }, [ct.Hidden]() {
5058
5060
  n.value[i].state = "hidden";
5059
- } }), !pn(n) && r.value && (e == null || e()));
5061
+ } }), !hn(n) && r.value && (e == null || e()));
5060
5062
  }
5061
5063
  function o(a) {
5062
5064
  let s = n.value.find(({ id: i }) => i === a);
@@ -5084,7 +5086,7 @@ let Io = xt.RenderStrategy, Yt = Q({ props: { as: { type: [Object, String], defa
5084
5086
  He(s.value, { hidden: () => y(A), visible: () => x(A) });
5085
5087
  }
5086
5088
  });
5087
- let S = mt(e.enter), T = mt(e.enterFrom), t = mt(e.enterTo), E = mt(e.entered), L = mt(e.leave), R = mt(e.leaveFrom), b = mt(e.leaveTo);
5089
+ let S = mt(e.enter), L = mt(e.enterFrom), t = mt(e.enterTo), E = mt(e.entered), M = mt(e.leave), R = mt(e.leaveFrom), w = mt(e.leaveTo);
5088
5090
  he(() => {
5089
5091
  Re(() => {
5090
5092
  if (s.value === "visible") {
@@ -5096,10 +5098,10 @@ let Io = xt.RenderStrategy, Yt = Q({ props: { as: { type: [Object, String], defa
5096
5098
  });
5097
5099
  function B(c) {
5098
5100
  let m = _.value && !p.value, f = ge(a);
5099
- !f || !(f instanceof HTMLElement) || m || (k.value = !0, d.value && n("beforeEnter"), d.value || n("beforeLeave"), c(d.value ? _r(f, S, T, t, E, (I) => {
5100
- k.value = !1, I === Pn.Finished && n("afterEnter");
5101
- }) : _r(f, L, R, b, E, (I) => {
5102
- k.value = !1, I === Pn.Finished && (pn(F) || (s.value = "hidden", y(A), n("afterLeave")));
5101
+ !f || !(f instanceof HTMLElement) || m || (k.value = !0, d.value && n("beforeEnter"), d.value || n("beforeLeave"), c(d.value ? _r(f, S, L, t, E, (I) => {
5102
+ k.value = !1, I === Vn.Finished && n("afterEnter");
5103
+ }) : _r(f, M, R, w, E, (I) => {
5104
+ k.value = !1, I === Vn.Finished && (hn(F) || (s.value = "hidden", y(A), n("afterLeave")));
5103
5105
  })));
5104
5106
  }
5105
5107
  return he(() => {
@@ -5111,7 +5113,7 @@ let Io = xt.RenderStrategy, Yt = Q({ props: { as: { type: [Object, String], defa
5111
5113
  return Te({ theirProps: ae, ourProps: { ref: a }, slot: {}, slots: l, attrs: r, features: Io, visible: s.value === "visible", name: "TransitionChild" });
5112
5114
  };
5113
5115
  } }), Pi = Yt, Ao = Q({ inheritAttrs: !1, props: { as: { type: [Object, String], default: "div" }, show: { type: [Boolean], default: null }, unmount: { type: [Boolean], default: !0 }, appear: { type: [Boolean], default: !1 }, enter: { type: [String], default: "" }, enterFrom: { type: [String], default: "" }, enterTo: { type: [String], default: "" }, entered: { type: [String], default: "" }, leave: { type: [String], default: "" }, leaveFrom: { type: [String], default: "" }, leaveTo: { type: [String], default: "" } }, emits: { beforeEnter: () => !0, afterEnter: () => !0, beforeLeave: () => !0, afterLeave: () => !0 }, setup(e, { emit: n, attrs: r, slots: l }) {
5114
- let o = dn(), a = V(() => e.show === null && o !== null ? He(o.value, { [Xe.Open]: !0, [Xe.Closed]: !1 }) : e.show);
5116
+ let o = fn(), a = V(() => e.show === null && o !== null ? He(o.value, { [Xe.Open]: !0, [Xe.Closed]: !1 }) : e.show);
5115
5117
  Re(() => {
5116
5118
  if (![!0, !1].includes(a.value))
5117
5119
  throw new Error('A <Transition /> is used but it is missing a `:show="true | false"` prop.');
@@ -5121,7 +5123,7 @@ let Io = xt.RenderStrategy, Yt = Q({ props: { as: { type: [Object, String], defa
5121
5123
  }), d = N(!0), p = { show: a, appear: V(() => e.appear || !d.value) };
5122
5124
  return he(() => {
5123
5125
  Re(() => {
5124
- d.value = !1, a.value ? s.value = "visible" : pn(i) || (s.value = "hidden");
5126
+ d.value = !1, a.value ? s.value = "visible" : hn(i) || (s.value = "hidden");
5125
5127
  });
5126
5128
  }), Se(rr, i), Se(nr, p), () => {
5127
5129
  let x = Zn(e, ["show", "appear", "unmount", "onBeforeEnter", "onBeforeLeave", "onAfterEnter", "onAfterLeave"]), y = { unmount: e.unmount };
@@ -5165,18 +5167,18 @@ const Vi = { class: "flex items-center" }, Ni = {
5165
5167
  });
5166
5168
  return (a, s) => {
5167
5169
  const i = pe("BaseIcon");
5168
- return w(), M("div", {
5170
+ return b(), T("div", {
5169
5171
  class: z(g(l))
5170
5172
  }, [
5171
5173
  h("div", Vi, [
5172
- e.icon ? (w(), ne(i, {
5174
+ e.icon ? (b(), ne(i, {
5173
5175
  key: 0,
5174
5176
  icon: e.icon,
5175
5177
  class: z(g(o))
5176
5178
  }, null, 8, ["icon", "class"])) : Z("", !0),
5177
- Je(" " + J(e.label), 1)
5179
+ Ye(" " + J(e.label), 1)
5178
5180
  ]),
5179
- e.count ? (w(), M("div", Ni, [
5181
+ e.count ? (b(), T("div", Ni, [
5180
5182
  H(jt, {
5181
5183
  count: e.count,
5182
5184
  "max-digit": 2,
@@ -5216,7 +5218,7 @@ const Vi = { class: "flex items-center" }, Ni = {
5216
5218
  });
5217
5219
  return (l, o) => {
5218
5220
  const a = pe("router-link");
5219
- return w(), ne(g($i), {
5221
+ return b(), ne(g($i), {
5220
5222
  as: "div",
5221
5223
  class: z(["text-left", [e.position == "custom" ? "static" : "relative"]])
5222
5224
  }, {
@@ -5243,10 +5245,10 @@ const Vi = { class: "flex items-center" }, Ni = {
5243
5245
  }, {
5244
5246
  default: G(() => [
5245
5247
  X(l.$slots, "items", { items: e.items }, () => [
5246
- (w(!0), M(me, null, ye(e.items, (i) => (w(), M(me, {
5248
+ (b(!0), T(me, null, ye(e.items, (i) => (b(), T(me, {
5247
5249
  key: i.label + "link"
5248
5250
  }, [
5249
- i.line ? (w(), M("div", Ri)) : i.to ? (w(), ne(a, {
5251
+ i.line ? (b(), T("div", Ri)) : i.to ? (b(), ne(a, {
5250
5252
  key: 1,
5251
5253
  custom: "",
5252
5254
  to: i.to
@@ -5270,7 +5272,7 @@ const Vi = { class: "flex items-center" }, Ni = {
5270
5272
  }, 1032, ["href", "onClick"])
5271
5273
  ]),
5272
5274
  _: 2
5273
- }, 1032, ["to"])) : i.href ? (w(), ne(g(Bt), {
5275
+ }, 1032, ["to"])) : i.href ? (b(), ne(g(Bt), {
5274
5276
  key: 2,
5275
5277
  as: "a",
5276
5278
  href: i.href
@@ -5285,7 +5287,7 @@ const Vi = { class: "flex items-center" }, Ni = {
5285
5287
  }, null, 8, ["label", "count", "icon", "color", "active"])
5286
5288
  ]),
5287
5289
  _: 2
5288
- }, 1032, ["href"])) : i.action ? (w(), ne(g(Bt), {
5290
+ }, 1032, ["href"])) : i.action ? (b(), ne(g(Bt), {
5289
5291
  key: 3,
5290
5292
  as: "button",
5291
5293
  type: "button",
@@ -5390,36 +5392,36 @@ const Vi = { class: "flex items-center" }, Ni = {
5390
5392
  !A(B) || R(B);
5391
5393
  }
5392
5394
  const F = ot(() => {
5393
- T();
5395
+ L();
5394
5396
  }, 1e3);
5395
5397
  function S(B) {
5396
- B.preventDefault(), T();
5398
+ B.preventDefault(), L();
5397
5399
  }
5398
- function T() {
5400
+ function L() {
5399
5401
  R(l.value), Ve(() => {
5400
5402
  l.value = null;
5401
5403
  });
5402
5404
  }
5403
5405
  const t = ot(() => {
5404
- L();
5406
+ M();
5405
5407
  }, 1e3);
5406
5408
  function E(B) {
5407
- B.preventDefault(), L();
5409
+ B.preventDefault(), M();
5408
5410
  }
5409
- function L() {
5410
- R(o.value), b(o.value) || Ve(() => {
5411
+ function M() {
5412
+ R(o.value), w(o.value) || Ve(() => {
5411
5413
  o.value = r.modelValue;
5412
5414
  });
5413
5415
  }
5414
5416
  function R(B) {
5415
- b(B) && n("update:model-value", B);
5417
+ w(B) && n("update:model-value", B);
5416
5418
  }
5417
- function b(B) {
5419
+ function w(B) {
5418
5420
  return !!(Tr(B) && B >= 1 && B <= r.lastPage);
5419
5421
  }
5420
5422
  return (B, c) => {
5421
5423
  const m = pe("BaseIcon");
5422
- return Pe((w(), M("nav", {
5424
+ return Pe((b(), T("nav", {
5423
5425
  ref_key: "paginationNode",
5424
5426
  ref: i,
5425
5427
  class: "flex items-start border-t border-slate-200"
@@ -5441,7 +5443,7 @@ const Vi = { class: "flex items-center" }, Ni = {
5441
5443
  h("div", {
5442
5444
  class: z([g(p) ? "hidden" : "-mt-px flex"])
5443
5445
  }, [
5444
- (w(!0), M(me, null, ye(g(_), (f, I) => (w(), M("button", {
5446
+ (b(!0), T(me, null, ye(g(_), (f, I) => (b(), T("button", {
5445
5447
  key: f + (I + ""),
5446
5448
  type: "button",
5447
5449
  class: z(["inline-flex items-center border-t-2 px-4 py-4 text-sm font-medium", [
@@ -5452,7 +5454,7 @@ const Vi = { class: "flex items-center" }, Ni = {
5452
5454
  onClick: (O) => k(f)
5453
5455
  }, J(f), 11, Hi))), 128))
5454
5456
  ], 2),
5455
- g(p) ? (w(), M("div", Ki, [
5457
+ g(p) ? (b(), T("div", Ki, [
5456
5458
  h("span", Gi, J(B.$t("sui.page")), 1),
5457
5459
  Pe(h("input", {
5458
5460
  "onUpdate:modelValue": c[1] || (c[1] = (f) => _t(o) ? o.value = f : null),
@@ -5461,11 +5463,11 @@ const Vi = { class: "flex items-center" }, Ni = {
5461
5463
  max: e.lastPage,
5462
5464
  step: 1,
5463
5465
  class: "rounded border border-slate-300 py-0 px-0.5 pl-1.5",
5464
- onKeydown: Sn(E, ["enter"]),
5466
+ onKeydown: $n(E, ["enter"]),
5465
5467
  onInput: c[2] || (c[2] = (...f) => g(t) && g(t)(...f)),
5466
- onBlur: L
5468
+ onBlur: M
5467
5469
  }, null, 40, Wi), [
5468
- [$n, g(o)]
5470
+ [Cn, g(o)]
5469
5471
  ]),
5470
5472
  h("span", Qi, J(B.$t("sui.of")) + " " + J(e.lastPage), 1)
5471
5473
  ])) : Z("", !0),
@@ -5482,7 +5484,7 @@ const Vi = { class: "flex items-center" }, Ni = {
5482
5484
  ], 8, Ji)
5483
5485
  ])
5484
5486
  ]),
5485
- g(p) ? Z("", !0) : (w(), M("div", Zi, [
5487
+ g(p) ? Z("", !0) : (b(), T("div", Zi, [
5486
5488
  h("span", Xi, J(B.$t("sui.go_to_page")), 1),
5487
5489
  Pe(h("input", {
5488
5490
  "onUpdate:modelValue": c[4] || (c[4] = (f) => _t(l) ? l.value = f : null),
@@ -5491,11 +5493,11 @@ const Vi = { class: "flex items-center" }, Ni = {
5491
5493
  max: e.lastPage,
5492
5494
  step: 1,
5493
5495
  class: "rounded border border-slate-300 py-0.5 px-0.5 pl-2",
5494
- onKeydown: Sn(S, ["enter"]),
5496
+ onKeydown: $n(S, ["enter"]),
5495
5497
  onInput: c[5] || (c[5] = (...f) => g(F) && g(F)(...f)),
5496
- onBlur: T
5498
+ onBlur: L
5497
5499
  }, null, 40, eu), [
5498
- [$n, g(l)]
5500
+ [Cn, g(l)]
5499
5501
  ])
5500
5502
  ]))
5501
5503
  ], 512)), [
@@ -5603,7 +5605,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5603
5605
  ), a = Mo(), s = V(() => a.greater("sm").value ? r.maxWidth : "100%");
5604
5606
  return (i, d) => {
5605
5607
  const p = pe("BaseIcon");
5606
- return w(), ne(Mt, { to: "body" }, [
5608
+ return b(), ne(Mt, { to: "body" }, [
5607
5609
  H(qe, {
5608
5610
  name: "modal",
5609
5611
  "enter-active-class": "duration-300",
@@ -5706,10 +5708,6 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5706
5708
  required: !0,
5707
5709
  type: String
5708
5710
  },
5709
- routeKeyName: {
5710
- default: "id",
5711
- type: String
5712
- },
5713
5711
  urlQuery: {
5714
5712
  default: void 0,
5715
5713
  type: Object
@@ -5749,13 +5747,13 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5749
5747
  });
5750
5748
  const x = N(!1), y = N(!0), _ = N(!1), A = N(!1), k = N("");
5751
5749
  let F = "", S = "";
5752
- const T = N(De(r.defaultQuery)), t = ul(), E = V(() => p.value < 1024), L = V(() => t.filters !== void 0), R = N(!1), b = N(null);
5750
+ const L = N(De(r.defaultQuery)), t = ul(), E = V(() => p.value < 1024), M = V(() => t.filters !== void 0), R = N(!1), w = N(null);
5753
5751
  function B() {
5754
5752
  var j, D;
5755
- R.value = ((D = (j = b == null ? void 0 : b.value) == null ? void 0 : j.childElementCount) != null ? D : 0) > 0;
5753
+ R.value = ((D = (j = w == null ? void 0 : w.value) == null ? void 0 : j.childElementCount) != null ? D : 0) > 0;
5756
5754
  }
5757
5755
  const c = ot(B, 100);
5758
- ln(b, c, {
5756
+ ln(w, c, {
5759
5757
  attributes: !1,
5760
5758
  childList: !0
5761
5759
  }), he(() => {
@@ -5769,15 +5767,15 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5769
5767
  }
5770
5768
  );
5771
5769
  function m(j, D) {
5772
- let K = De(T.value);
5773
- K = gn(K, j, D), K = gn(K, "page", 1), I(K);
5770
+ let K = De(L.value);
5771
+ K = yn(K, j, D), K = yn(K, "page", 1), I(K);
5774
5772
  }
5775
5773
  function f(j) {
5776
- j = gn(j, "page", 1), I(j);
5774
+ j = yn(j, "page", 1), I(j);
5777
5775
  }
5778
5776
  function I(j) {
5779
5777
  if (!r.historyMode) {
5780
- T.value = j, se();
5778
+ L.value = j, se();
5781
5779
  return;
5782
5780
  }
5783
5781
  const D = i.resolve({
@@ -5792,24 +5790,24 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5792
5790
  i.push(le);
5793
5791
  return;
5794
5792
  }
5795
- x.value || (T.value = j, se());
5793
+ x.value || (L.value = j, se());
5796
5794
  }
5797
5795
  function O(j) {
5798
5796
  return Rs(j);
5799
5797
  }
5800
5798
  const U = V(() => r.url);
5801
5799
  function q(j) {
5802
- const D = De(T.value);
5800
+ const D = De(L.value);
5803
5801
  D.page = j, I(D), P();
5804
5802
  }
5805
5803
  function ee(j, D) {
5806
5804
  let K = j;
5807
5805
  K && D == "desc" && (K = "-" + K);
5808
- const le = De(T.value);
5806
+ const le = De(L.value);
5809
5807
  le.page = 1, le.sort = K, I(le);
5810
5808
  }
5811
5809
  const W = ot((j) => {
5812
- const D = De(T.value);
5810
+ const D = De(L.value);
5813
5811
  D.page = 1, D.search = k.value, I(D);
5814
5812
  }, 350);
5815
5813
  Ee(
@@ -5825,12 +5823,12 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5825
5823
  if (!r.historyMode || s.name != d)
5826
5824
  return;
5827
5825
  const D = ae(), K = O(D);
5828
- K != S && (S = K, T.value = D, a.value && a.value !== document.activeElement && u(), se());
5826
+ K != S && (S = K, L.value = D, a.value && a.value !== document.activeElement && u(), se());
5829
5827
  }
5830
5828
  function se(j = !1) {
5831
5829
  var Ie;
5832
5830
  const D = U.value.split(/[?#]/), K = D[0], le = (Ie = D[1]) != null ? Ie : null, ve = be.parseQueryString(le), xe = ir(
5833
- De(T.value),
5831
+ De(L.value),
5834
5832
  De(r.urlQuery),
5835
5833
  De(ve)
5836
5834
  ), je = be.formatQueryString(xe), Ce = K + "?" + je;
@@ -5853,12 +5851,12 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5853
5851
  per_page: ue.value.per_page,
5854
5852
  total: ue.value.total
5855
5853
  };
5856
- }), ce = V(() => T.value.page && parseInt(T.value.page + "") ? parseInt(T.value.page + "") : 1), fe = V(() => oe.value.last_page), Le = V(() => {
5854
+ }), ce = V(() => L.value.page && parseInt(L.value.page + "") ? parseInt(L.value.page + "") : 1), fe = V(() => oe.value.last_page), Le = V(() => {
5857
5855
  var j, D;
5858
- return (D = (j = T.value.sort) == null ? void 0 : j.trim().replace(/^(-)/, "")) != null ? D : "";
5859
- }), Ye = V(() => T.value.sort && T.value.sort.length && T.value.sort[0] == "-" ? "desc" : "asc"), Ge = V(() => {
5856
+ return (D = (j = L.value.sort) == null ? void 0 : j.trim().replace(/^(-)/, "")) != null ? D : "";
5857
+ }), Je = V(() => L.value.sort && L.value.sort.length && L.value.sort[0] == "-" ? "desc" : "asc"), Ge = V(() => {
5860
5858
  var j;
5861
- return (j = T.value.search) != null ? j : "";
5859
+ return (j = L.value.search) != null ? j : "";
5862
5860
  }), P = () => {
5863
5861
  o.value != null && o.value.scrollIntoView({
5864
5862
  behavior: "smooth"
@@ -5867,17 +5865,17 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5867
5865
  function u() {
5868
5866
  k.value = Ge.value;
5869
5867
  }
5870
- let v = De(T.value);
5868
+ let v = De(L.value);
5871
5869
  const $ = ae();
5872
5870
  return v = ir(v, $), I(v), he(() => {
5873
5871
  u();
5874
5872
  }), n({
5875
5873
  fetch: se,
5876
5874
  scrollIntoView: P,
5877
- query: T
5875
+ query: L
5878
5876
  }), (j, D) => {
5879
5877
  const K = pe("BaseIcon");
5880
- return w(), M("div", {
5878
+ return b(), T("div", {
5881
5879
  ref_key: "dataIteratorNode",
5882
5880
  ref: o
5883
5881
  }, [
@@ -5890,7 +5888,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5890
5888
  class: z(["min-w-0", { "col-span-1": !g(E), "col-span-2": g(E) }])
5891
5889
  }, [
5892
5890
  h("div", uu, [
5893
- e.searchable ? (w(), M("div", cu, [
5891
+ e.searchable ? (b(), T("div", cu, [
5894
5892
  h("div", du, [
5895
5893
  h("div", fu, [
5896
5894
  H(K, {
@@ -5907,9 +5905,9 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5907
5905
  placeholder: j.$t("sui.autocomplete_placeholder"),
5908
5906
  onInput: D[1] || (D[1] = (...le) => g(W) && g(W)(...le))
5909
5907
  }, null, 40, mu), [
5910
- [$n, g(k)]
5908
+ [Cn, g(k)]
5911
5909
  ]),
5912
- g(k) ? (w(), M("div", pu, [
5910
+ g(k) ? (b(), T("div", pu, [
5913
5911
  h("button", {
5914
5912
  type: "button",
5915
5913
  class: "flex appearance-none items-center rounded p-1 hover:bg-slate-100",
@@ -5925,7 +5923,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5925
5923
  ])) : Z("", !0)
5926
5924
  ])
5927
5925
  ])) : Z("", !0),
5928
- g(E) && g(L) ? (w(), M("button", {
5926
+ g(E) && g(M) ? (b(), T("button", {
5929
5927
  key: 1,
5930
5928
  class: "btn flex h-11 items-center justify-center py-1 text-base shadow-sm",
5931
5929
  type: "button",
@@ -5937,7 +5935,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5937
5935
  }),
5938
5936
  h("span", hu, J(j.$t("sui.filters")), 1)
5939
5937
  ])) : Z("", !0),
5940
- e.actions && e.actions.length ? (w(), ne(kt, {
5938
+ e.actions && e.actions.length ? (b(), ne(kt, {
5941
5939
  key: 2,
5942
5940
  "menu-class": "w-52",
5943
5941
  items: e.actions
@@ -5961,7 +5959,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5961
5959
  firstLoad: g(x),
5962
5960
  page: g(ce),
5963
5961
  sortField: g(Le),
5964
- sortDirection: g(Ye),
5962
+ sortDirection: g(Je),
5965
5963
  onSortChange: ee,
5966
5964
  onPageChange: q
5967
5965
  }),
@@ -5982,20 +5980,20 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
5982
5980
  }, null, 8, ["model-value", "last-page"])
5983
5981
  ])
5984
5982
  ], 2),
5985
- g(E) ? Z("", !0) : (w(), M("div", {
5983
+ g(E) ? Z("", !0) : (b(), T("div", {
5986
5984
  key: 0,
5987
5985
  ref_key: "sidebar",
5988
- ref: b
5986
+ ref: w
5989
5987
  }, [
5990
5988
  X(j.$slots, "sidebarTop", { paginationMetadata: g(oe) }),
5991
- g(L) ? (w(), M("div", bu, [
5989
+ g(M) ? (b(), T("div", bu, [
5992
5990
  H(Tt, null, {
5993
5991
  default: G(() => [
5994
5992
  H(Jn, { size: "sm" }, {
5995
5993
  default: G(() => [
5996
5994
  h("div", wu, [
5997
5995
  X(j.$slots, "filters", {
5998
- query: g(T),
5996
+ query: g(L),
5999
5997
  updateQuery: f,
6000
5998
  updateQueryValue: m
6001
5999
  })
@@ -6010,7 +6008,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
6010
6008
  X(j.$slots, "sidebarBottom", { paginationMetadata: g(oe) })
6011
6009
  ], 512))
6012
6010
  ], 2),
6013
- g(L) ? (w(), ne(Oo, {
6011
+ g(M) ? (b(), ne(Oo, {
6014
6012
  key: 0,
6015
6013
  modelValue: g(A),
6016
6014
  "onUpdate:modelValue": D[5] || (D[5] = (le) => _t(A) ? A.value = le : null)
@@ -6020,7 +6018,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
6020
6018
  h("h2", ku, J(j.$t("sui.filters")), 1),
6021
6019
  h("div", Su, [
6022
6020
  X(j.$slots, "filters", {
6023
- query: g(T),
6021
+ query: g(L),
6024
6022
  updateQuery: f,
6025
6023
  updateQueryValue: m
6026
6024
  })
@@ -6038,7 +6036,7 @@ const su = { class: "flex min-h-full w-full pt-20 sm:pt-0" }, iu = { class: "min
6038
6036
  ], 512);
6039
6037
  };
6040
6038
  }
6041
- }), Ft = Rn("notifications", {
6039
+ }), Ft = zn("notifications", {
6042
6040
  state: () => ({
6043
6041
  count: 0,
6044
6042
  notifications: [],
@@ -6106,7 +6104,7 @@ const _u = {
6106
6104
  Iu
6107
6105
  ];
6108
6106
  function Eu(e, n, r, l, o, a) {
6109
- return w(), M("svg", _u, Au);
6107
+ return b(), T("svg", _u, Au);
6110
6108
  }
6111
6109
  const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f9"]]), Tu = (e) => (dl("data-v-6e5812c9"), e = e(), fl(), e), Lu = { class: "relative w-full overflow-hidden" }, Mu = { class: "flex flex-col" }, Ou = { class: "inline-block min-w-full align-middle" }, ju = { class: "relative min-h-[300px]" }, Du = { class: "min-w-full border-separate border-spacing-0" }, Fu = {
6112
6110
  key: 0,
@@ -6210,10 +6208,10 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6210
6208
  function S() {
6211
6209
  A.value && (k.value = A.value.clientHeight);
6212
6210
  }
6213
- const T = V(() => x.value), t = V(() => T.value ? T.value.filter((P) => P.visible === !1 ? !1 : !!(!Ze(l.visibleColumns) || l.visibleColumns.includes(P.newKey))) : T.value), E = V(() => {
6211
+ const L = V(() => x.value), t = V(() => L.value ? L.value.filter((P) => P.visible === !1 ? !1 : !!(!Ze(l.visibleColumns) || l.visibleColumns.includes(P.newKey))) : L.value), E = V(() => {
6214
6212
  let P = t.value.length;
6215
6213
  return P += l.checkable ? 1 : 0, P += l.detailed ? 1 : 0, P;
6216
- }), L = V(() => l.detailed);
6214
+ }), M = V(() => l.detailed);
6217
6215
  Ee(
6218
6216
  () => l.checkedRows,
6219
6217
  (P) => {
@@ -6238,12 +6236,12 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6238
6236
  function R(P, u = !1, v = null) {
6239
6237
  !P || !P.sortable || (u || (p.value = P === d.value ? !p.value : l.sortDirection.toLowerCase() !== "desc"), r("sort", P.field, p.value ? "asc" : "desc", v), d.value = P);
6240
6238
  }
6241
- function b(P) {
6239
+ function w(P) {
6242
6240
  return s.value.find((u) => u[l.rowKey] == P[l.rowKey]) !== void 0;
6243
6241
  }
6244
6242
  const B = V(() => l.data.filter((u) => l.isRowCheckable(u)).length === 0), c = V(() => {
6245
6243
  const P = l.data.filter((v) => l.isRowCheckable(v));
6246
- return P.length === 0 ? !1 : !P.some((v) => !b(v));
6244
+ return P.length === 0 ? !1 : !P.some((v) => !w(v));
6247
6245
  });
6248
6246
  function m(P) {
6249
6247
  const u = s.value.findIndex(
@@ -6266,13 +6264,13 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6266
6264
  if (!l.isRowCheckable(P))
6267
6265
  return;
6268
6266
  const $ = i.value;
6269
- i.value = u, v.shiftKey && $ !== null && u !== $ ? q(P, u, $) : b(P) ? m(P) : s.value.push(P), r("check", s.value, P), r("update:checkedRows", s.value);
6267
+ i.value = u, v.shiftKey && $ !== null && u !== $ ? q(P, u, $) : w(P) ? m(P) : s.value.push(P), r("check", s.value, P), r("update:checkedRows", s.value);
6270
6268
  }
6271
6269
  function q(P, u, v) {
6272
6270
  const $ = l.data.slice(
6273
6271
  Math.min(u, v),
6274
6272
  Math.max(u, v) + 1
6275
- ), j = !b(P);
6273
+ ), j = !w(P);
6276
6274
  $.forEach((D) => {
6277
6275
  m(D), j && l.isRowCheckable(D) && s.value.push(D);
6278
6276
  });
@@ -6300,7 +6298,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6300
6298
  return !u.length || !P ? P : P[u];
6301
6299
  }
6302
6300
  function $e() {
6303
- const P = l.sortField, u = l.sortDirection, v = T.value.filter(
6301
+ const P = l.sortField, u = l.sortDirection, v = L.value.filter(
6304
6302
  ($) => $.field === P
6305
6303
  )[0];
6306
6304
  if (v)
@@ -6329,17 +6327,17 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6329
6327
  function Le(P, u) {
6330
6328
  return P < l.data.length - 1 || se(u) ? fe : "";
6331
6329
  }
6332
- function Ye(P) {
6330
+ function Je(P) {
6333
6331
  return P < l.data.length - 1 ? fe : "";
6334
6332
  }
6335
6333
  function Ge() {
6336
6334
  return y.value++;
6337
6335
  }
6338
6336
  return Se("addColumn", oe), Se("removeColumn", ce), Se("nextSequence", Ge), n({
6339
- newColumns: T
6337
+ newColumns: L
6340
6338
  }), (P, u) => {
6341
6339
  const v = pe("BaseIcon");
6342
- return w(), M("div", Lu, [
6340
+ return b(), T("div", Lu, [
6343
6341
  h("div", {
6344
6342
  ref_key: "slot",
6345
6343
  ref: _,
@@ -6355,14 +6353,14 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6355
6353
  h("div", Ou, [
6356
6354
  h("div", ju, [
6357
6355
  h("table", Du, [
6358
- g(T).length ? (w(), M("thead", {
6356
+ g(L).length ? (b(), T("thead", {
6359
6357
  key: 0,
6360
6358
  ref_key: "thead",
6361
6359
  ref: A
6362
6360
  }, [
6363
6361
  h("tr", null, [
6364
- g(L) ? (w(), M("th", Fu)) : Z("", !0),
6365
- e.checkable && e.checkboxPosition === "left" ? (w(), M("th", Pu, [
6362
+ g(M) ? (b(), T("th", Fu)) : Z("", !0),
6363
+ e.checkable && e.checkboxPosition === "left" ? (b(), T("th", Pu, [
6366
6364
  h("div", Vu, [
6367
6365
  h("input", {
6368
6366
  type: "checkbox",
@@ -6374,7 +6372,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6374
6372
  }, null, 40, Nu)
6375
6373
  ])
6376
6374
  ])) : Z("", !0),
6377
- (w(!0), M(me, null, ye(g(t), ($, j) => (w(), M("th", vt({
6375
+ (b(!0), T(me, null, ye(g(t), ($, j) => (b(), T("th", vt({
6378
6376
  key: $.newKey + ":" + j + "header"
6379
6377
  }, $.thAttrs && $.thAttrs($), {
6380
6378
  style: $.style,
@@ -6401,7 +6399,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6401
6399
  ])
6402
6400
  ], 2)
6403
6401
  ], 16, Ru))), 128)),
6404
- e.checkable && e.checkboxPosition === "right" ? (w(), M("th", Uu, [
6402
+ e.checkable && e.checkboxPosition === "right" ? (b(), T("th", Uu, [
6405
6403
  h("input", {
6406
6404
  autocomplete: "off",
6407
6405
  type: "checkbox",
@@ -6414,7 +6412,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6414
6412
  ])
6415
6413
  ], 512)) : Z("", !0),
6416
6414
  h("tbody", Hu, [
6417
- g(s).length ? (w(), M("tr", Ku, [
6415
+ g(s).length ? (b(), T("tr", Ku, [
6418
6416
  h("td", {
6419
6417
  colspan: g(E),
6420
6418
  class: z(["sticky z-[1] p-0", [fe]]),
@@ -6440,7 +6438,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6440
6438
  onClick: u[0] || (u[0] = (j) => I())
6441
6439
  }, J(P.$t("sui.deselect_all")), 1)
6442
6440
  ]),
6443
- ($ = e.checkableActions) != null && $.length ? (w(), ne(kt, {
6441
+ ($ = e.checkableActions) != null && $.length ? (b(), ne(kt, {
6444
6442
  key: 0,
6445
6443
  "menu-class": "w-52",
6446
6444
  items: e.checkableActions
@@ -6461,9 +6459,9 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6461
6459
  }, !0)
6462
6460
  ], 14, Gu)
6463
6461
  ])) : Z("", !0),
6464
- (w(!0), M(me, null, ye(e.data, ($, j) => (w(), M(me, { key: j }, [
6462
+ (b(!0), T(me, null, ye(e.data, ($, j) => (b(), T(me, { key: j }, [
6465
6463
  h("tr", null, [
6466
- g(L) ? (w(), M("td", {
6464
+ g(M) ? (b(), T("td", {
6467
6465
  key: 0,
6468
6466
  class: z(["pl-3", Le(j, $)]),
6469
6467
  style: { width: "36px" }
@@ -6475,14 +6473,14 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6475
6473
  }]),
6476
6474
  onClick: Ue((D) => ee($), ["stop"])
6477
6475
  }, [
6478
- e.hasDetailedVisible($) ? (w(), ne(v, {
6476
+ e.hasDetailedVisible($) ? (b(), ne(v, {
6479
6477
  key: 0,
6480
6478
  icon: "mdi:chevron-down",
6481
6479
  class: "h-5 w-5"
6482
6480
  })) : Z("", !0)
6483
6481
  ], 10, Yu)
6484
6482
  ], 2)) : Z("", !0),
6485
- e.checkable && e.checkboxPosition === "left" ? (w(), M("td", {
6483
+ e.checkable && e.checkboxPosition === "left" ? (b(), T("td", {
6486
6484
  key: 1,
6487
6485
  class: z(["pl-3", Le(j, $)])
6488
6486
  }, [
@@ -6491,13 +6489,13 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6491
6489
  type: "checkbox",
6492
6490
  autocomplete: "off",
6493
6491
  disabled: !e.isRowCheckable($),
6494
- checked: b($),
6492
+ checked: w($),
6495
6493
  class: z(o),
6496
6494
  onClick: (D) => U($, j, D)
6497
6495
  }, null, 8, Zu)
6498
6496
  ])
6499
6497
  ], 2)) : Z("", !0),
6500
- (w(!0), M(me, null, ye(g(t), (D, K) => (w(), ne(g(Cu), vt({
6498
+ (b(!0), T(me, null, ye(g(t), (D, K) => (b(), ne(g(Cu), vt({
6501
6499
  key: D.newKey + j + ":" + K
6502
6500
  }, D.tdAttrs && D.tdAttrs($, D), {
6503
6501
  component: D,
@@ -6516,7 +6514,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6516
6514
  le
6517
6515
  )
6518
6516
  }), null, 16, ["component", "class", "data-label", "props", "onClick"]))), 128)),
6519
- e.checkable && e.checkboxPosition === "right" ? (w(), M("td", {
6517
+ e.checkable && e.checkboxPosition === "right" ? (b(), T("td", {
6520
6518
  key: 2,
6521
6519
  class: z(["pr-3", Le(j, $)]),
6522
6520
  align: "right"
@@ -6525,7 +6523,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6525
6523
  type: "checkbox",
6526
6524
  autocomplete: "off",
6527
6525
  disabled: !e.isRowCheckable($),
6528
- checked: b($),
6526
+ checked: w($),
6529
6527
  class: z(o),
6530
6528
  onClick: (D) => U($, j, D)
6531
6529
  }, null, 8, Xu)
@@ -6533,12 +6531,12 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6533
6531
  ]),
6534
6532
  H(qe, { name: e.detailTransition }, {
6535
6533
  default: G(() => [
6536
- se($) ? (w(), M("tr", {
6534
+ se($) ? (b(), T("tr", {
6537
6535
  key: j + "detail"
6538
6536
  }, [
6539
6537
  h("td", {
6540
6538
  colspan: g(E),
6541
- class: z(["td", Ye(j)])
6539
+ class: z(["td", Je(j)])
6542
6540
  }, [
6543
6541
  X(P.$slots, "detail", {
6544
6542
  row: $,
@@ -6550,7 +6548,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6550
6548
  _: 2
6551
6549
  }, 1032, ["name"])
6552
6550
  ], 64))), 128)),
6553
- e.data.length == 0 ? (w(), M("tr", tc, [
6551
+ e.data.length == 0 ? (b(), T("tr", tc, [
6554
6552
  h("td", { colspan: g(E) }, [
6555
6553
  X(P.$slots, "empty", {}, void 0, !0)
6556
6554
  ], 8, nc)
@@ -6567,7 +6565,7 @@ const Do = /* @__PURE__ */ Fe(Bu, [["render", Eu], ["__scopeId", "data-v-945515f
6567
6565
  "leave-to-class": "opacity-0"
6568
6566
  }, {
6569
6567
  default: G(() => [
6570
- e.loading ? (w(), M("div", rc, [
6568
+ e.loading ? (b(), T("div", rc, [
6571
6569
  oc,
6572
6570
  h("div", lc, [
6573
6571
  H(Do, { class: "h-10 w-10 text-blue-500" })
@@ -6705,8 +6703,8 @@ const Fo = /* @__PURE__ */ Fe(sc, [["__scopeId", "data-v-6e5812c9"]]), Po = Q({
6705
6703
  let d = De(r.visibleColumns);
6706
6704
  i ? d.includes(s) || d.push(s) : d = d.filter((p) => p != s), n("update:visibleColumns", d);
6707
6705
  }
6708
- return (a, s) => (w(), M("ul", null, [
6709
- (w(!0), M(me, null, ye(g(l), (i) => (w(), M("li", {
6706
+ return (a, s) => (b(), T("ul", null, [
6707
+ (b(!0), T(me, null, ye(g(l), (i) => (b(), T("li", {
6710
6708
  key: i.newKey
6711
6709
  }, [
6712
6710
  h("label", null, [
@@ -6730,7 +6728,7 @@ const Fo = /* @__PURE__ */ Fe(sc, [["__scopeId", "data-v-6e5812c9"]]), Po = Q({
6730
6728
  mc
6731
6729
  ];
6732
6730
  function hc(e, n) {
6733
- return w(), M("svg", fc, pc);
6731
+ return b(), T("svg", fc, pc);
6734
6732
  }
6735
6733
  const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify-end text-right" }, yc = { class: "btn btn-white bg-transparent p-2" }, bc = ["disabled", "onClick"], wc = {
6736
6734
  key: 0,
@@ -6745,10 +6743,6 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6745
6743
  required: !0,
6746
6744
  type: String
6747
6745
  },
6748
- routeKeyName: {
6749
- default: "id",
6750
- type: String
6751
- },
6752
6746
  urlQuery: {
6753
6747
  default: void 0,
6754
6748
  type: Object
@@ -6832,7 +6826,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6832
6826
  "check"
6833
6827
  ],
6834
6828
  setup(e, { expose: n, emit: r }) {
6835
- const l = e, o = rt(), a = be.http, s = Qn(), i = Ft(), d = N(null), p = N(null);
6829
+ const l = e, o = rt(), a = be.http, s = Yn(), i = Ft(), d = N(null), p = N(null);
6836
6830
  function x(c) {
6837
6831
  r("click", c);
6838
6832
  }
@@ -6853,7 +6847,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6853
6847
  title: o.t("sui.success"),
6854
6848
  text: m.data.message,
6855
6849
  color: "success"
6856
- }), r("delete", c), b();
6850
+ }), r("delete", c), w();
6857
6851
  }).catch((m) => {
6858
6852
  var f, I;
6859
6853
  i.push({
@@ -6866,10 +6860,10 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6866
6860
  localStorage.getItem(t) + ""
6867
6861
  );
6868
6862
  E && Ze(E) && E.length > 0 && (S.value = E);
6869
- const L = Ee(
6863
+ const M = Ee(
6870
6864
  () => d.value,
6871
6865
  () => {
6872
- d.value && d.value.newColumns.length && S.value.length == 0 && (S.value = d.value.newColumns.filter((c) => !c.optional).map((c) => c.newKey), L());
6866
+ d.value && d.value.newColumns.length && S.value.length == 0 && (S.value = d.value.newColumns.filter((c) => !c.optional).map((c) => c.newKey), M());
6873
6867
  }
6874
6868
  );
6875
6869
  function R() {
@@ -6878,7 +6872,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6878
6872
  JSON.stringify(S.value)
6879
6873
  );
6880
6874
  }
6881
- function b() {
6875
+ function w() {
6882
6876
  !p.value || p.value.fetch(!0);
6883
6877
  }
6884
6878
  const B = V(() => {
@@ -6886,15 +6880,14 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6886
6880
  return (m = (c = p.value) == null ? void 0 : c.query) != null ? m : null;
6887
6881
  });
6888
6882
  return n({
6889
- fetch: b,
6883
+ fetch: w,
6890
6884
  query: B
6891
6885
  }), (c, m) => {
6892
6886
  const f = pe("BaseIcon"), I = pe("router-link");
6893
- return w(), ne(jo, {
6887
+ return b(), ne(jo, {
6894
6888
  ref_key: "dataIterator",
6895
6889
  ref: p,
6896
6890
  url: e.url,
6897
- "route-key-name": e.routeKeyName,
6898
6891
  "url-query": e.urlQuery,
6899
6892
  "default-query": e.defaultQuery,
6900
6893
  searchable: e.searchable,
@@ -6946,7 +6939,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6946
6939
  default: G(({ row: se }) => [
6947
6940
  h("div", gc, [
6948
6941
  X(c.$slots, "rowActions", { row: se }),
6949
- e.editButton && e.editUrl ? (w(), ne(I, {
6942
+ e.editButton && e.editUrl ? (b(), ne(I, {
6950
6943
  key: 0,
6951
6944
  to: e.editUrl(se),
6952
6945
  disabled: !_(se)
@@ -6961,7 +6954,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6961
6954
  ]),
6962
6955
  _: 2
6963
6956
  }, 1032, ["to", "disabled"])) : Z("", !0),
6964
- e.deleteButton && e.deleteUrl ? (w(), M("button", {
6957
+ e.deleteButton && e.deleteUrl ? (b(), T("button", {
6965
6958
  key: 1,
6966
6959
  type: "button",
6967
6960
  class: "btn btn-white bg-transparent p-2",
@@ -6985,7 +6978,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6985
6978
  X(c.$slots, "checkedHeader", We(Qe(se)))
6986
6979
  ]),
6987
6980
  empty: G(() => [
6988
- ae ? (w(), M("div", wc, [
6981
+ ae ? (b(), T("div", wc, [
6989
6982
  h("div", xc, [
6990
6983
  H(f, {
6991
6984
  icon: "heroicons:x-circle",
@@ -6993,7 +6986,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
6993
6986
  }),
6994
6987
  h("p", kc, J(c.$t("sui.whoops")), 1)
6995
6988
  ])
6996
- ])) : de ? (w(), M("div", Sc, [
6989
+ ])) : de ? (b(), T("div", Sc, [
6997
6990
  h("div", $c, [
6998
6991
  H(vc, { class: "w-32" }),
6999
6992
  h("p", Cc, J(c.$t("sui.nothing_found")), 1)
@@ -7049,7 +7042,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7049
7042
  ]),
7050
7043
  key: "1"
7051
7044
  } : void 0
7052
- ]), 1032, ["url", "route-key-name", "url-query", "default-query", "searchable", "actions", "history-mode"]);
7045
+ ]), 1032, ["url", "url-query", "default-query", "searchable", "actions", "history-mode"]);
7053
7046
  };
7054
7047
  }
7055
7048
  }), Ac = { class: "relative" }, Ec = { class: "pointer-events-none absolute top-0 left-0 flex h-full items-center justify-center pl-2.5" }, Tc = ["value", "disabled", "placeholder"], Lc = {
@@ -7149,7 +7142,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7149
7142
  }
7150
7143
  return (y, _) => {
7151
7144
  const A = pe("BaseIcon");
7152
- return w(), M("div", Ac, [
7145
+ return b(), T("div", Ac, [
7153
7146
  h("div", Ec, [
7154
7147
  H(A, {
7155
7148
  class: "relative -top-px h-5 w-5 text-slate-400",
@@ -7166,7 +7159,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7166
7159
  class: z(["w-full rounded pl-10 pr-16 disabled:cursor-not-allowed disabled:text-gray-300", e.inputClass]),
7167
7160
  placeholder: y.$t("sui.click_or_select_date")
7168
7161
  }, null, 10, Tc),
7169
- e.modelValue && !e.disabled ? (w(), M("div", Lc, [
7162
+ e.modelValue && !e.disabled ? (b(), T("div", Lc, [
7170
7163
  h("button", {
7171
7164
  type: "button",
7172
7165
  class: "flex h-8 items-center rounded p-1 hover:bg-slate-200",
@@ -7261,7 +7254,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7261
7254
  );
7262
7255
  }
7263
7256
  const y = V(() => s.value.length == 0 || r.disabled);
7264
- return (_, A) => (w(), M("div", null, [
7257
+ return (_, A) => (b(), T("div", null, [
7265
7258
  h("div", Oc, [
7266
7259
  h("div", jc, [
7267
7260
  Pe(h("select", {
@@ -7279,12 +7272,12 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7279
7272
  onChange: A[1] || (A[1] = (k) => d())
7280
7273
  }, [
7281
7274
  h("option", Fc, J(_.$t("sui.year")), 1),
7282
- (w(!0), M(me, null, ye(g(o), (k) => (w(), M("option", {
7275
+ (b(!0), T(me, null, ye(g(o), (k) => (b(), T("option", {
7283
7276
  key: k,
7284
7277
  value: k
7285
7278
  }, J(k), 9, Pc))), 128))
7286
7279
  ], 42, Dc), [
7287
- [vn, g(i).year]
7280
+ [gn, g(i).year]
7288
7281
  ])
7289
7282
  ]),
7290
7283
  h("div", Vc, [
@@ -7303,12 +7296,12 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7303
7296
  onChange: A[3] || (A[3] = (k) => d())
7304
7297
  }, [
7305
7298
  h("option", Rc, J(_.$t("sui.month")), 1),
7306
- (w(!0), M(me, null, ye(g(a), (k, F) => (w(), M("option", {
7299
+ (b(!0), T(me, null, ye(g(a), (k, F) => (b(), T("option", {
7307
7300
  key: k,
7308
7301
  value: F + 1
7309
7302
  }, J(k), 9, zc))), 128))
7310
7303
  ], 42, Nc), [
7311
- [vn, g(i).month]
7304
+ [gn, g(i).month]
7312
7305
  ])
7313
7306
  ]),
7314
7307
  h("div", Uc, [
@@ -7327,12 +7320,12 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7327
7320
  onChange: A[5] || (A[5] = (k) => d())
7328
7321
  }, [
7329
7322
  h("option", Hc, J(_.$t("sui.day")), 1),
7330
- (w(!0), M(me, null, ye(g(s), (k) => (w(), M("option", {
7323
+ (b(!0), T(me, null, ye(g(s), (k) => (b(), T("option", {
7331
7324
  key: k,
7332
7325
  value: k
7333
7326
  }, J(k), 9, Kc))), 128))
7334
7327
  ], 42, qc), [
7335
- [vn, g(i).day]
7328
+ [gn, g(i).day]
7336
7329
  ])
7337
7330
  ])
7338
7331
  ]),
@@ -7349,7 +7342,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7349
7342
  }), Qc = { class: "" }, Yc = { class: "divide-y divide-slate-200" }, Jc = /* @__PURE__ */ Q({
7350
7343
  __name: "BaseDescriptionList",
7351
7344
  setup(e) {
7352
- return (n, r) => (w(), ne(Tt, null, {
7345
+ return (n, r) => (b(), ne(Tt, null, {
7353
7346
  default: G(() => [
7354
7347
  h("div", Qc, [
7355
7348
  h("dl", Yc, [
@@ -7370,7 +7363,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7370
7363
  }
7371
7364
  return he(() => {
7372
7365
  a();
7373
- }), an(r, ot(a, 50)), (s, i) => (w(), M("div", {
7366
+ }), an(r, ot(a, 50)), (s, i) => (b(), T("div", {
7374
7367
  ref_key: "item",
7375
7368
  ref: r,
7376
7369
  class: z({
@@ -7449,7 +7442,7 @@ const vc = /* @__PURE__ */ Fe(dc, [["render", hc]]), gc = { class: "flex justify
7449
7442
  }
7450
7443
  }), td = ["disabled"], nd = ["accept"];
7451
7444
  function rd(e, n, r, l, o, a) {
7452
- return w(), M(me, null, [
7445
+ return b(), T(me, null, [
7453
7446
  h("button", {
7454
7447
  type: "button",
7455
7448
  class: z(e.buttonClass),
@@ -7487,7 +7480,7 @@ const Vo = /* @__PURE__ */ Fe(ed, [["render", rd]]), od = {}, ld = {
7487
7480
  ad
7488
7481
  ];
7489
7482
  function id(e, n) {
7490
- return w(), M("svg", ld, sd);
7483
+ return b(), T("svg", ld, sd);
7491
7484
  }
7492
7485
  const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7493
7486
  key: 0,
@@ -7534,7 +7527,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7534
7527
  {
7535
7528
  immediate: !0
7536
7529
  }
7537
- ), (o, a) => (w(), ne(qe, {
7530
+ ), (o, a) => (b(), ne(qe, {
7538
7531
  "enter-active-class": "transition ease-out " + e.duration,
7539
7532
  "enter-from-class": "opacity-0",
7540
7533
  "enter-to-class": "opacity-100",
@@ -7543,14 +7536,14 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7543
7536
  "leave-to-class": "opacity-0"
7544
7537
  }, {
7545
7538
  default: G(() => [
7546
- g(l) ? (w(), M("div", cd, [
7539
+ g(l) ? (b(), T("div", cd, [
7547
7540
  h("div", {
7548
7541
  class: z(["absolute h-full w-full", e.backdropClass])
7549
7542
  }, null, 2),
7550
- e.size == "sm" ? (w(), ne(ud, {
7543
+ e.size == "sm" ? (b(), ne(ud, {
7551
7544
  key: 0,
7552
7545
  class: z(e.iconClass)
7553
- }, null, 8, ["class"])) : e.size == "lg" ? (w(), ne(Do, {
7546
+ }, null, 8, ["class"])) : e.size == "lg" ? (b(), ne(Do, {
7554
7547
  key: 1,
7555
7548
  class: z(e.iconClass)
7556
7549
  }, null, 8, ["class"])) : Z("", !0)
@@ -7654,7 +7647,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7654
7647
  function d(p) {
7655
7648
  n("upload:success", p);
7656
7649
  }
7657
- return (p, x) => (w(), M("div", dd, [
7650
+ return (p, x) => (b(), T("div", dd, [
7658
7651
  H(Vo, {
7659
7652
  "button-class": e.buttonClass,
7660
7653
  disabled: g(s) || e.disabled,
@@ -7749,7 +7742,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7749
7742
  "scrollBottom"
7750
7743
  ],
7751
7744
  setup(e, { emit: n }) {
7752
- const r = e, l = rt(), o = Ft(), a = N(0), s = N(""), i = N(!1), d = N(null), p = N(null), x = N(0), y = N(null), _ = Yn(
7745
+ const r = e, l = rt(), o = Ft(), a = N(0), s = N(""), i = N(!1), d = N(null), p = N(null), x = N(0), y = N(null), _ = dn(
7753
7746
  V(() => r.modelValue),
7754
7747
  V(() => r.options),
7755
7748
  V(() => r.labelKey),
@@ -7767,8 +7760,8 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7767
7760
  });
7768
7761
  const S = V(() => {
7769
7762
  var oe;
7770
- return (oe = T.value[Math.min(x.value, T.value.length - 1)]) != null ? oe : null;
7771
- }), T = V(() => k.value.filter((oe) => r.filter !== void 0 ? r.filter(oe) : oe.label ? oe.label.toLowerCase().includes(s.value.toLowerCase()) : !1).filter((oe) => !A(oe)));
7763
+ return (oe = L.value[Math.min(x.value, L.value.length - 1)]) != null ? oe : null;
7764
+ }), L = V(() => k.value.filter((oe) => r.filter !== void 0 ? r.filter(oe) : oe.label ? oe.label.toLowerCase().includes(s.value.toLowerCase()) : !1).filter((oe) => !A(oe)));
7772
7765
  function t(oe) {
7773
7766
  oe.forEach((ce) => {
7774
7767
  ce.removeEventListener("mousedown", E);
@@ -7779,13 +7772,13 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7779
7772
  const E = (oe, ce = null) => {
7780
7773
  var fe;
7781
7774
  oe.preventDefault(), (fe = d.value) == null || fe.focus(), ce && ce();
7782
- }, L = () => {
7775
+ }, M = () => {
7783
7776
  clearTimeout(a.value), i.value = !0, n("focus");
7784
7777
  }, R = () => {
7785
7778
  a.value = setTimeout(() => {
7786
7779
  i.value = !1;
7787
7780
  }, 10);
7788
- }, b = (oe) => {
7781
+ }, w = (oe) => {
7789
7782
  var ce;
7790
7783
  x.value = 0, y.value = null, se(Ot(oe, "target.value", "") + ""), (ce = p.value) == null || ce.scrollTo({
7791
7784
  top: 0
@@ -7798,13 +7791,13 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7798
7791
  return;
7799
7792
  }
7800
7793
  if (ce === "ArrowDown") {
7801
- x.value < T.value.length - 1 ? x.value++ : x.value = 0;
7794
+ x.value < L.value.length - 1 ? x.value++ : x.value = 0;
7802
7795
  return;
7803
7796
  }
7804
7797
  if (ce === "ArrowUp") {
7805
7798
  x.value > 0 ? x.value-- : x.value = Math.max(
7806
7799
  0,
7807
- T.value.length - 1
7800
+ L.value.length - 1
7808
7801
  );
7809
7802
  return;
7810
7803
  }
@@ -7857,7 +7850,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7857
7850
  Ve(() => {
7858
7851
  x.value = Math.max(
7859
7852
  0,
7860
- Math.min(x.value, T.value.length - 1)
7853
+ Math.min(x.value, L.value.length - 1)
7861
7854
  );
7862
7855
  });
7863
7856
  }, se = (oe) => {
@@ -7876,10 +7869,10 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7876
7869
  $e();
7877
7870
  },
7878
7871
  { attributes: !1, childList: !0 }
7879
- ), (oe, ce) => (w(), M("div", null, [
7872
+ ), (oe, ce) => (b(), T("div", null, [
7880
7873
  h("div", fd, [
7881
7874
  h("div", md, [
7882
- (w(!0), M(me, null, ye(g(F), (fe) => (w(), M("div", {
7875
+ (b(!0), T(me, null, ye(g(F), (fe) => (b(), T("div", {
7883
7876
  key: fe.value,
7884
7877
  class: "p-0.5"
7885
7878
  }, [
@@ -7892,7 +7885,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7892
7885
  h("div", {
7893
7886
  class: z(["py-[5px] pl-3 text-sm", [e.disabled ? "pr-3" : "pr-1"]])
7894
7887
  }, J(fe.label), 3),
7895
- e.disabled ? Z("", !0) : (w(), M("button", {
7888
+ e.disabled ? Z("", !0) : (b(), T("button", {
7896
7889
  key: 0,
7897
7890
  type: "button",
7898
7891
  class: "flex shrink-0 appearance-none items-center justify-center border-0 bg-transparent pl-1 pr-3 text-xs outline-none",
@@ -7909,9 +7902,9 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7909
7902
  type: "text",
7910
7903
  placeholder: oe.$t("sui.select_an_item"),
7911
7904
  class: z(["h-[32px] w-full min-w-[50px] border-none p-0 pl-1 shadow-none outline-none focus:border-none focus:shadow-none focus:outline-none focus:ring-0", e.inputClass]),
7912
- onFocus: L,
7905
+ onFocus: M,
7913
7906
  onBlur: R,
7914
- onInput: b,
7907
+ onInput: w,
7915
7908
  onKeydown: B
7916
7909
  }, null, 42, vd)
7917
7910
  ])
@@ -7924,10 +7917,10 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7924
7917
  ref: p,
7925
7918
  class: "max-h-[214px] min-h-[75px] w-full overflow-y-auto"
7926
7919
  }, [
7927
- g(T).length == 0 ? X(oe.$slots, "empty", { key: 0 }, () => [
7920
+ g(L).length == 0 ? X(oe.$slots, "empty", { key: 0 }, () => [
7928
7921
  h("div", bd, J(oe.$t("sui.nothing_found")), 1)
7929
- ]) : (w(), M("ul", wd, [
7930
- (w(!0), M(me, null, ye(g(T), (fe) => (w(), M("li", {
7922
+ ]) : (b(), T("ul", wd, [
7923
+ (b(!0), T(me, null, ye(g(L), (fe) => (b(), T("li", {
7931
7924
  key: fe.value,
7932
7925
  class: "block"
7933
7926
  }, [
@@ -7954,11 +7947,11 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
7954
7947
  ref_key: "footer",
7955
7948
  ref: ue
7956
7949
  }, [
7957
- oe.$slots.footer ? (w(), M("div", kd, [
7958
- X(oe.$slots, "footer", { options: g(T) })
7950
+ oe.$slots.footer ? (b(), T("div", kd, [
7951
+ X(oe.$slots, "footer", { options: g(L) })
7959
7952
  ])) : Z("", !0)
7960
7953
  ], 512),
7961
- e.loading ? (w(), M("div", Sd, [
7954
+ e.loading ? (b(), T("div", Sd, [
7962
7955
  h("div", $d, [
7963
7956
  H(ht, {
7964
7957
  class: "h-7 w-full",
@@ -8050,7 +8043,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8050
8043
  }, k = ot(() => {
8051
8044
  A();
8052
8045
  }, 300);
8053
- return (F, S) => (w(), ne(zo, {
8046
+ return (F, S) => (b(), ne(zo, {
8054
8047
  loading: g(l) && g(d) == 1,
8055
8048
  "model-value": e.modelValue,
8056
8049
  disabled: e.disabled,
@@ -8064,17 +8057,17 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8064
8057
  onFocus: y,
8065
8058
  onTyping: x,
8066
8059
  onScrollBottom: _,
8067
- "onUpdate:modelValue": S[0] || (S[0] = (T) => F.$emit("update:modelValue", T))
8060
+ "onUpdate:modelValue": S[0] || (S[0] = (L) => F.$emit("update:modelValue", L))
8068
8061
  }, {
8069
- option: G((T) => [
8070
- X(F.$slots, "option", We(Qe(T)))
8062
+ option: G((L) => [
8063
+ X(F.$slots, "option", We(Qe(L)))
8071
8064
  ]),
8072
- footer: G((T) => [
8073
- X(F.$slots, "footer", vt(T, { keywords: g(i) }))
8065
+ footer: G((L) => [
8066
+ X(F.$slots, "footer", vt(L, { keywords: g(i) }))
8074
8067
  ]),
8075
- empty: G((T) => [
8076
- X(F.$slots, "empty", vt(T, { firstSearch: g(a) }), () => [
8077
- g(a) ? (w(), M("div", Cd, J(F.$t("sui.nothing_found")), 1)) : Z("", !0)
8068
+ empty: G((L) => [
8069
+ X(F.$slots, "empty", vt(L, { firstSearch: g(a) }), () => [
8070
+ g(a) ? (b(), T("div", Cd, J(F.$t("sui.nothing_found")), 1)) : Z("", !0)
8078
8071
  ])
8079
8072
  ]),
8080
8073
  _: 3
@@ -8146,7 +8139,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8146
8139
  a.map((s) => s[r.foreignKey])
8147
8140
  );
8148
8141
  }
8149
- return (a, s) => (w(), ne(Uo, {
8142
+ return (a, s) => (b(), ne(Uo, {
8150
8143
  "model-value": g(l),
8151
8144
  url: e.url,
8152
8145
  disabled: e.disabled,
@@ -8255,16 +8248,16 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8255
8248
  }
8256
8249
  }
8257
8250
  const o = V(() => n.hasError ? "border-red-500" : "border-slate-300"), a = V(() => n.hasError ? "bg-red-100" : "bg-slate-100"), s = V(() => n.hasError ? "text-red-800" : "text-slate-600");
8258
- return (i, d) => (w(), M("div", {
8251
+ return (i, d) => (b(), T("div", {
8259
8252
  class: z(["inline-flex rounded border", g(o)])
8260
8253
  }, [
8261
- e.iconLeft ? (w(), M("div", {
8254
+ e.iconLeft ? (b(), T("div", {
8262
8255
  key: 0,
8263
8256
  class: z(["flex shrink-0 items-center justify-center rounded-l border-r px-3 transition-colors", [g(o), g(a), g(s)]])
8264
8257
  }, [
8265
8258
  H(g(_e), { icon: e.iconLeft }, null, 8, ["icon"])
8266
8259
  ], 2)) : Z("", !0),
8267
- e.prefix ? (w(), M("div", {
8260
+ e.prefix ? (b(), T("div", {
8268
8261
  key: 1,
8269
8262
  class: z(["flex shrink-0 items-center justify-center border-r px-4 transition-colors", [
8270
8263
  e.iconLeft ? "" : "rounded-l",
@@ -8289,12 +8282,12 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8289
8282
  "rounded-r": !e.iconRight && !e.suffix
8290
8283
  }]),
8291
8284
  autocomplete: e.autocomplete ? "on" : "off",
8292
- onKeydown: Sn(l, ["enter"]),
8285
+ onKeydown: $n(l, ["enter"]),
8293
8286
  onInput: d[0] || (d[0] = (p) => i.$emit("update:modelValue", r(p))),
8294
8287
  onFocus: d[1] || (d[1] = (p) => i.$emit("focus", p)),
8295
8288
  onBlur: d[2] || (d[2] = (p) => i.$emit("blur", p))
8296
8289
  }, null, 42, _d),
8297
- e.suffix ? (w(), M("div", {
8290
+ e.suffix ? (b(), T("div", {
8298
8291
  key: 2,
8299
8292
  class: z(["flex shrink-0 items-center justify-center border-l px-4 transition-colors", [
8300
8293
  e.iconRight ? "" : "rounded-r",
@@ -8303,7 +8296,7 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8303
8296
  g(s)
8304
8297
  ]])
8305
8298
  }, J(e.suffix), 3)) : Z("", !0),
8306
- e.iconRight ? (w(), M("div", {
8299
+ e.iconRight ? (b(), T("div", {
8307
8300
  key: 3,
8308
8301
  class: z(["flex shrink-0 items-center justify-center rounded-r border-l px-3 transition-colors", [g(o), g(a), g(s)]])
8309
8302
  }, [
@@ -8331,11 +8324,11 @@ const ud = /* @__PURE__ */ Fe(od, [["render", id]]), cd = {
8331
8324
  class: "text-red-600"
8332
8325
  };
8333
8326
  function Td(e, n, r, l, o, a) {
8334
- return w(), M("label", {
8327
+ return b(), T("label", {
8335
8328
  class: z(e.classes)
8336
8329
  }, [
8337
- Je(J(e.label), 1),
8338
- e.required ? (w(), M("span", Ed, " *")) : Z("", !0)
8330
+ Ye(J(e.label), 1),
8331
+ e.required ? (b(), T("span", Ed, " *")) : Z("", !0)
8339
8332
  ], 2);
8340
8333
  }
8341
8334
  const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = ["src", "alt"], jd = {
@@ -8362,36 +8355,36 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8362
8355
  const s = n.media.mime_type.split("/");
8363
8356
  return s[s.length - 1];
8364
8357
  }), a = V(() => "url" in n.media ? n.media.url : null);
8365
- return (s, i) => (w(), ne(rn(g(a) ? "a" : "div"), {
8358
+ return (s, i) => (b(), ne(rn(g(a) ? "a" : "div"), {
8366
8359
  href: g(a),
8367
8360
  target: "_blank",
8368
8361
  class: z(["relative flex items-center justify-center overflow-hidden", [g(a) ? "duration-100 hover:bg-slate-100" : "bg-white"]])
8369
8362
  }, {
8370
8363
  default: G(() => [
8371
- g(l) == "image" && g(a) ? (w(), M("img", {
8364
+ g(l) == "image" && g(a) ? (b(), T("img", {
8372
8365
  key: 0,
8373
8366
  src: g(a),
8374
8367
  class: "h-full w-full bg-black object-contain object-center",
8375
8368
  alt: g(r)
8376
- }, null, 8, Md)) : g(l) == "image" && "data_url" in e.media ? (w(), M("img", {
8369
+ }, null, 8, Md)) : g(l) == "image" && "data_url" in e.media ? (b(), T("img", {
8377
8370
  key: 1,
8378
8371
  src: e.media.data_url,
8379
8372
  class: "h-full w-full bg-black object-contain object-center",
8380
8373
  alt: g(r)
8381
- }, null, 8, Od)) : (w(), M("div", jd, [
8382
- g(o) == "pdf" ? (w(), ne(g(_e), {
8374
+ }, null, 8, Od)) : (b(), T("div", jd, [
8375
+ g(o) == "pdf" ? (b(), ne(g(_e), {
8383
8376
  key: 0,
8384
8377
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
8385
8378
  icon: "mdi:file-pdf-box"
8386
- })) : g(l) == "image" ? (w(), ne(g(_e), {
8379
+ })) : g(l) == "image" ? (b(), ne(g(_e), {
8387
8380
  key: 1,
8388
8381
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
8389
8382
  icon: "mdi:camera"
8390
- })) : g(l) == "audio" ? (w(), ne(g(_e), {
8383
+ })) : g(l) == "audio" ? (b(), ne(g(_e), {
8391
8384
  key: 2,
8392
8385
  class: "max-w-8 h-1/2 max-h-8 w-1/2 text-slate-600",
8393
8386
  icon: "mdi:music"
8394
- })) : (w(), M("span", Dd, J(g(o)), 1))
8387
+ })) : (b(), T("span", Dd, J(g(o)), 1))
8395
8388
  ]))
8396
8389
  ]),
8397
8390
  _: 1
@@ -8400,7 +8393,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8400
8393
  }), Fd = { class: "rounded bg-white shadow" }, Pd = { class: "relative flex" }, Vd = { class: "shrink-0" }, Nd = { class: "text-left leading-tight" }, Rd = { class: "mb-px grow truncate text-[13px] font-medium" }, zd = { class: "shrink-0 text-[10px] text-slate-400" }, Ud = {
8401
8394
  key: 0,
8402
8395
  class: "shrink-0 p-0.5"
8403
- }, Vn = /* @__PURE__ */ Q({
8396
+ }, Nn = /* @__PURE__ */ Q({
8404
8397
  __name: "BaseMediaItem",
8405
8398
  props: {
8406
8399
  media: {
@@ -8415,7 +8408,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8415
8408
  emits: ["remove"],
8416
8409
  setup(e) {
8417
8410
  const n = e, r = V(() => n.media.file_name), l = V(() => or(n.media.size)), o = V(() => "url" in n.media ? n.media.url : null);
8418
- return (a, s) => (w(), M("div", Fd, [
8411
+ return (a, s) => (b(), T("div", Fd, [
8419
8412
  h("div", Pd, [
8420
8413
  h("div", Vd, [
8421
8414
  H(qo, {
@@ -8423,7 +8416,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8423
8416
  media: e.media
8424
8417
  }, null, 8, ["media"])
8425
8418
  ]),
8426
- (w(), ne(rn(g(o) ? "a" : "p"), {
8419
+ (b(), ne(rn(g(o) ? "a" : "p"), {
8427
8420
  href: g(o),
8428
8421
  target: "_blank",
8429
8422
  class: "flex grow items-center overflow-hidden px-3"
@@ -8436,7 +8429,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8436
8429
  ]),
8437
8430
  _: 1
8438
8431
  }, 8, ["href"])),
8439
- e.showRemove ? (w(), M("div", Ud, [
8432
+ e.showRemove ? (b(), T("div", Ud, [
8440
8433
  h("button", {
8441
8434
  type: "button",
8442
8435
  class: "rounded-full bg-white p-1 text-slate-400 hover:bg-slate-100",
@@ -8508,12 +8501,12 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8508
8501
  "upload:end"
8509
8502
  ],
8510
8503
  setup(e, { emit: n }) {
8511
- const r = e, l = rt(), o = Qn(), a = Ft(), s = N(De(r.currentMedia)), i = V(() => r.modelValue && Cn(r.modelValue) && Ze(r.modelValue.to_add) && Ze(r.modelValue.to_remove) ? r.modelValue : {
8504
+ const r = e, l = rt(), o = Yn(), a = Ft(), s = N(De(r.currentMedia)), i = V(() => r.modelValue && Bn(r.modelValue) && Ze(r.modelValue.to_add) && Ze(r.modelValue.to_remove) ? r.modelValue : {
8512
8505
  to_add: [],
8513
8506
  to_remove: []
8514
8507
  }), d = V(() => {
8515
- var t, E, L, R;
8516
- return s.value.length + ((E = (t = r.modelValue) == null ? void 0 : t.to_add.length) != null ? E : 0) - ((R = (L = r.modelValue) == null ? void 0 : L.to_remove.length) != null ? R : 0);
8508
+ var t, E, M, R;
8509
+ return s.value.length + ((E = (t = r.modelValue) == null ? void 0 : t.to_add.length) != null ? E : 0) - ((R = (M = r.modelValue) == null ? void 0 : M.to_remove.length) != null ? R : 0);
8517
8510
  });
8518
8511
  k(i.value);
8519
8512
  function p(t) {
@@ -8528,7 +8521,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8528
8521
  return;
8529
8522
  }
8530
8523
  const E = De(i.value);
8531
- r.max == 1 && (E.to_remove.push(...s.value.map((L) => L.id)), E.to_add = [], s.value = []), E.to_add.push(t), k(E), n("upload:success", t);
8524
+ r.max == 1 && (E.to_remove.push(...s.value.map((M) => M.id)), E.to_add = [], s.value = []), E.to_add.push(t), k(E), n("upload:success", t);
8532
8525
  }
8533
8526
  function x(t, E = 1) {
8534
8527
  o.push({
@@ -8551,25 +8544,25 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8551
8544
  });
8552
8545
  }
8553
8546
  function _(t, E = 1) {
8554
- const L = De(i.value);
8555
- L == null || L.to_add.splice(t, E), k(L);
8547
+ const M = De(i.value);
8548
+ M == null || M.to_add.splice(t, E), k(M);
8556
8549
  }
8557
8550
  function A(t) {
8558
8551
  const E = s.value[t];
8559
8552
  if (E) {
8560
- const L = De(i.value);
8561
- L.to_remove.push(E.id), k(L), s.value.splice(t, 1);
8553
+ const M = De(i.value);
8554
+ M.to_remove.push(E.id), k(M), s.value.splice(t, 1);
8562
8555
  }
8563
8556
  }
8564
8557
  function k(t) {
8565
8558
  n("update", t);
8566
8559
  }
8567
- const F = V(() => r.errors && r.errors.length ? r.errors[0] : ""), S = V(() => l.t("sui.you_can_upload_up_to_n_files", { count: r.max })), T = V(() => Ht(
8560
+ const F = V(() => r.errors && r.errors.length ? r.errors[0] : ""), S = V(() => l.t("sui.you_can_upload_up_to_n_files", { count: r.max })), L = V(() => Ht(
8568
8561
  l.t("sui.up_to_x", { x: or(r.maxSize) })
8569
8562
  ));
8570
8563
  return (t, E) => {
8571
- const L = pe("BaseIcon");
8572
- return w(), M("div", null, [
8564
+ const M = pe("BaseIcon");
8565
+ return b(), T("div", null, [
8573
8566
  H(Ro, {
8574
8567
  "max-size": e.maxSize,
8575
8568
  disabled: e.disabled,
@@ -8596,15 +8589,15 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8596
8589
  h("div", {
8597
8590
  class: z([R.disabled ? "opacity-30" : ""])
8598
8591
  }, [
8599
- H(L, {
8592
+ H(M, {
8600
8593
  icon: "heroicons:arrow-up-on-square",
8601
8594
  class: "mx-auto mb-3 h-6 w-6 text-slate-500"
8602
8595
  }),
8603
8596
  h("div", qd, [
8604
8597
  h("p", Hd, J(t.$t("sui.drop_or_click_to_upload")), 1),
8605
8598
  h("div", Kd, [
8606
- g(S) ? (w(), M("p", Gd, J(g(S)), 1)) : Z("", !0),
8607
- h("p", null, J(g(T)), 1)
8599
+ g(S) ? (b(), T("p", Gd, J(g(S)), 1)) : Z("", !0),
8600
+ h("p", null, J(g(L)), 1)
8608
8601
  ])
8609
8602
  ])
8610
8603
  ], 2)
@@ -8613,45 +8606,45 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8613
8606
  ]),
8614
8607
  _: 3
8615
8608
  }, 8, ["max-size", "disabled", "accept", "accepted-extensions"]),
8616
- g(F) ? (w(), ne(Or, {
8609
+ g(F) ? (b(), ne(Or, {
8617
8610
  key: 0,
8618
8611
  class: "mt-5",
8619
8612
  color: "danger",
8620
8613
  bordered: ""
8621
8614
  }, {
8622
8615
  default: G(() => [
8623
- Je(J(g(F)), 1)
8616
+ Ye(J(g(F)), 1)
8624
8617
  ]),
8625
8618
  _: 1
8626
8619
  })) : Z("", !0),
8627
- g(s).length + g(i).to_add.length ? (w(), M("div", Wd, [
8620
+ g(s).length + g(i).to_add.length ? (b(), T("div", Wd, [
8628
8621
  h("div", Qd, [
8629
- (w(!0), M(me, null, ye(g(s), (R, b) => (w(), M("div", {
8622
+ (b(!0), T(me, null, ye(g(s), (R, w) => (b(), T("div", {
8630
8623
  key: R.id,
8631
8624
  class: "min-w-[220px] flex-1 p-1"
8632
8625
  }, [
8633
- H(Vn, {
8626
+ H(Nn, {
8634
8627
  media: R,
8635
8628
  "show-remove": !e.disabled,
8636
- onRemove: (B) => y(b)
8629
+ onRemove: (B) => y(w)
8637
8630
  }, {
8638
8631
  default: G(() => [
8639
- Je(J(R.file_name), 1)
8632
+ Ye(J(R.file_name), 1)
8640
8633
  ]),
8641
8634
  _: 2
8642
8635
  }, 1032, ["media", "show-remove", "onRemove"])
8643
8636
  ]))), 128)),
8644
- (w(!0), M(me, null, ye(g(i).to_add, (R, b) => (w(), M("div", {
8637
+ (b(!0), T(me, null, ye(g(i).to_add, (R, w) => (b(), T("div", {
8645
8638
  key: R.id,
8646
8639
  class: "min-w-[220px] flex-1 p-1"
8647
8640
  }, [
8648
- H(Vn, {
8641
+ H(Nn, {
8649
8642
  media: R,
8650
8643
  "show-remove": !e.disabled,
8651
- onRemove: (B) => x(b)
8644
+ onRemove: (B) => x(w)
8652
8645
  }, {
8653
8646
  default: G(() => [
8654
- Je(J(R.file_name), 1)
8647
+ Ye(J(R.file_name), 1)
8655
8648
  ]),
8656
8649
  _: 2
8657
8650
  }, 1032, ["media", "show-remove", "onRemove"])
@@ -8690,7 +8683,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8690
8683
  );
8691
8684
  return (a, s) => {
8692
8685
  const i = pe("BaseIcon");
8693
- return w(), ne(Mt, { to: "body" }, [
8686
+ return b(), ne(Mt, { to: "body" }, [
8694
8687
  H(qe, {
8695
8688
  name: "modal",
8696
8689
  "enter-active-class": "duration-300",
@@ -8721,7 +8714,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8721
8714
  "leave-to-class": "opacity-0"
8722
8715
  }, {
8723
8716
  default: G(() => [
8724
- e.modelValue ? (w(), M("div", {
8717
+ e.modelValue ? (b(), T("div", {
8725
8718
  key: 0,
8726
8719
  class: z([e.backdropClass, "fixed inset-0 transition-opacity"]),
8727
8720
  onClick: s[0] || (s[0] = (d) => e.closeOnOutsideClick ? g(o).close() : g(o).refuseAnimation())
@@ -8739,7 +8732,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8739
8732
  "leave-to-class": "translate-y-20 opacity-0"
8740
8733
  }, {
8741
8734
  default: G(() => [
8742
- e.modelValue ? (w(), M("div", {
8735
+ e.modelValue ? (b(), T("div", {
8743
8736
  key: 0,
8744
8737
  class: z(["pb-safe relative z-[1] mx-auto block w-full rounded-t-xl bg-white sm:max-w-lg sm:rounded-xl sm:shadow-xl", [g(o).animationClasses.value]])
8745
8738
  }, [
@@ -8795,7 +8788,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8795
8788
  function o() {
8796
8789
  n.value = !1;
8797
8790
  }
8798
- return Se("toggleMenu", r), Se("openMenu", l), Se("closeMenu", o), (a, s) => (w(), M("nav", {
8791
+ return Se("toggleMenu", r), Se("openMenu", l), Se("closeMenu", o), (a, s) => (b(), T("nav", {
8799
8792
  class: z(["border-t-[3px] border-primary-500", [e.dark ? "bg-slate-900" : "bg-white"]])
8800
8793
  }, [
8801
8794
  H(ro, { size: e.size }, {
@@ -8813,12 +8806,12 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8813
8806
  onClick: s[0] || (s[0] = (i) => r())
8814
8807
  }, [
8815
8808
  nf,
8816
- g(n) ? (w(), ne(g(_e), {
8809
+ g(n) ? (b(), ne(g(_e), {
8817
8810
  key: 1,
8818
8811
  icon: "heroicons:x-mark",
8819
8812
  class: "block h-6 w-6",
8820
8813
  "aria-hidden": "true"
8821
- })) : (w(), ne(g(_e), {
8814
+ })) : (b(), ne(g(_e), {
8822
8815
  key: 0,
8823
8816
  icon: "heroicons:bars-3",
8824
8817
  class: "block h-6 w-6",
@@ -8830,7 +8823,7 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8830
8823
  ]),
8831
8824
  _: 3
8832
8825
  }, 8, ["size"]),
8833
- g(n) ? (w(), M("div", {
8826
+ g(n) ? (b(), T("div", {
8834
8827
  key: 0,
8835
8828
  class: z(["absolute w-full md:hidden", [e.dark ? "bg-slate-900" : "bg-white"]])
8836
8829
  }, [
@@ -8881,18 +8874,18 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8881
8874
  const o = ["w-5 h-5 shrink-0 mr-2 leading-none inline-block"];
8882
8875
  return n.active ? o.push("opacity-100") : o.push("opacity-70 group-hover:opacity-100"), o;
8883
8876
  });
8884
- return (o, a) => (w(), M("div", {
8877
+ return (o, a) => (b(), T("div", {
8885
8878
  class: z(g(r))
8886
8879
  }, [
8887
8880
  h("div", rf, [
8888
- e.icon ? (w(), ne(g(_e), {
8881
+ e.icon ? (b(), ne(g(_e), {
8889
8882
  key: 0,
8890
8883
  icon: e.icon,
8891
8884
  class: z(g(l))
8892
8885
  }, null, 8, ["icon", "class"])) : Z("", !0),
8893
- Je(" " + J(e.label), 1)
8886
+ Ye(" " + J(e.label), 1)
8894
8887
  ]),
8895
- e.count ? (w(), M("div", of, [
8888
+ e.count ? (b(), T("div", of, [
8896
8889
  H(jt, {
8897
8890
  count: e.count,
8898
8891
  "max-digit": 2,
@@ -8919,8 +8912,8 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8919
8912
  async function l() {
8920
8913
  n("click"), r();
8921
8914
  }
8922
- return (o, a) => (w(), M("div", lf, [
8923
- H(zn, {
8915
+ return (o, a) => (b(), T("div", lf, [
8916
+ H(Un, {
8924
8917
  item: e.item,
8925
8918
  dark: e.dark,
8926
8919
  "item-class": "flex w-full",
@@ -8959,12 +8952,12 @@ const Ld = /* @__PURE__ */ Fe(Ad, [["render", Td]]), Md = ["src", "alt"], Od = [
8959
8952
  class: "mt-2 text-sm leading-tight text-slate-500"
8960
8953
  }, df = { class: "mt-5 md:col-span-2 md:mt-0" };
8961
8954
  function ff(e, n, r, l, o, a) {
8962
- return w(), M("div", {
8955
+ return b(), T("div", {
8963
8956
  class: z(["pb-8 md:grid md:grid-cols-3 md:gap-8", [e.bordered ? "mb-8 border-b border-slate-300" : ""]])
8964
8957
  }, [
8965
8958
  h("div", sf, [
8966
8959
  h("h3", uf, J(e.title), 1),
8967
- e.description ? (w(), M("p", cf, J(e.description), 1)) : Z("", !0)
8960
+ e.description ? (b(), T("p", cf, J(e.description), 1)) : Z("", !0)
8968
8961
  ]),
8969
8962
  h("div", df, [
8970
8963
  X(e.$slots, "default")
@@ -9014,7 +9007,7 @@ const mf = /* @__PURE__ */ Fe(af, [["render", ff]]), pf = Q({
9014
9007
  }), hf = ["value", "type", "name", "disabled", "placeholder", "required"], vf = { class: "flex shrink-0 pl-3" }, gf = ["disabled"];
9015
9008
  function yf(e, n, r, l, o, a) {
9016
9009
  const s = pe("BaseIcon");
9017
- return w(), M("div", {
9010
+ return b(), T("div", {
9018
9011
  class: z(["flex rounded border border-slate-300 bg-white", [e.disabled ? "cursor-not-allowed text-slate-300" : ""]])
9019
9012
  }, [
9020
9013
  h("input", {
@@ -9036,11 +9029,11 @@ function yf(e, n, r, l, o, a) {
9036
9029
  disabled: e.disabled,
9037
9030
  onClick: n[1] || (n[1] = (i) => e.showPassword = !e.showPassword)
9038
9031
  }, [
9039
- e.showPassword ? (w(), ne(s, {
9032
+ e.showPassword ? (b(), ne(s, {
9040
9033
  key: 1,
9041
9034
  icon: "heroicons:eye-20-solid",
9042
9035
  class: "h-5 w-5"
9043
- })) : (w(), ne(s, {
9036
+ })) : (b(), ne(s, {
9044
9037
  key: 0,
9045
9038
  icon: "heroicons:eye-slash-20-solid",
9046
9039
  class: "h-5 w-5"
@@ -9081,7 +9074,7 @@ const bf = /* @__PURE__ */ Fe(pf, [["render", yf]]), wf = Q({
9081
9074
  });
9082
9075
  const xf = ["height", "width"], kf = ["stroke-width", "r", "cx", "cy"], Sf = ["stroke-dasharray", "stroke-width", "r", "cx", "cy"], $f = ["x", "y"];
9083
9076
  function Cf(e, n, r, l, o, a) {
9084
- return w(), M("svg", {
9077
+ return b(), T("svg", {
9085
9078
  height: e.radius * 2,
9086
9079
  width: e.radius * 2
9087
9080
  }, [
@@ -9113,7 +9106,84 @@ function Cf(e, n, r, l, o, a) {
9113
9106
  }, J(Math.round(e.progress * 100)) + "% ", 13, $f)
9114
9107
  ], 8, xf);
9115
9108
  }
9116
- const Bf = /* @__PURE__ */ Fe(wf, [["render", Cf], ["__scopeId", "data-v-e5ae83e3"]]), _f = { class: "text-base font-medium" }, If = /* @__PURE__ */ Q({
9109
+ const Bf = /* @__PURE__ */ Fe(wf, [["render", Cf], ["__scopeId", "data-v-e5ae83e3"]]), _f = { class: "space-y-3" }, If = ["for"], Af = ["id", "name", "checked", "required", "disabled", "value", "onInput"], Ef = { class: "text-sm" }, Tf = /* @__PURE__ */ Q({
9110
+ __name: "BaseRadioGroup",
9111
+ props: {
9112
+ modelValue: {
9113
+ default: void 0,
9114
+ type: [Object, null]
9115
+ },
9116
+ name: {
9117
+ required: !0,
9118
+ type: String
9119
+ },
9120
+ required: {
9121
+ default: !1,
9122
+ type: Boolean
9123
+ },
9124
+ disabled: {
9125
+ default: !1,
9126
+ type: Boolean
9127
+ },
9128
+ options: {
9129
+ required: !0,
9130
+ type: Array
9131
+ },
9132
+ labelKey: {
9133
+ required: !0,
9134
+ type: String
9135
+ },
9136
+ valueKey: {
9137
+ required: !0,
9138
+ type: String
9139
+ },
9140
+ labelClass: {
9141
+ default: "flex space-x-2",
9142
+ type: String
9143
+ },
9144
+ inputClass: {
9145
+ default: "mt-0.5 border-slate-300",
9146
+ type: String
9147
+ }
9148
+ },
9149
+ emits: ["update:modelValue"],
9150
+ setup(e, { emit: n }) {
9151
+ const r = e, { normalizedOptions: l, isSelected: o } = dn(
9152
+ V(() => r.modelValue),
9153
+ V(() => r.options),
9154
+ V(() => r.labelKey),
9155
+ V(() => r.valueKey),
9156
+ V(() => !1)
9157
+ );
9158
+ return (a, s) => (b(), T("div", null, [
9159
+ h("ul", _f, [
9160
+ (b(!0), T(me, null, ye(g(l), (i) => (b(), T("li", {
9161
+ key: i.value
9162
+ }, [
9163
+ h("label", {
9164
+ for: e.name + "-" + i.value,
9165
+ class: z(["cursor-pointer", [e.labelClass, e.disabled ? "cursor-not-allowed opacity-50" : ""]])
9166
+ }, [
9167
+ h("input", {
9168
+ id: e.name + "-" + i.value,
9169
+ type: "radio",
9170
+ name: e.name,
9171
+ checked: g(o)(i),
9172
+ required: e.required,
9173
+ disabled: e.disabled,
9174
+ value: i.value,
9175
+ class: z(e.inputClass),
9176
+ onInput: (d) => n("update:modelValue", i.option)
9177
+ }, null, 42, Af),
9178
+ X(a.$slots, "option", { option: i }, () => [
9179
+ h("span", Ef, J(i.label), 1)
9180
+ ])
9181
+ ], 10, If)
9182
+ ]))), 128))
9183
+ ])
9184
+ ]));
9185
+ }
9186
+ }), Lf = { class: "text-base font-medium" }, Mf = /* @__PURE__ */ Q({
9117
9187
  __name: "BaseReadMore",
9118
9188
  props: {
9119
9189
  maxLines: {
@@ -9145,7 +9215,7 @@ const Bf = /* @__PURE__ */ Fe(wf, [["render", Cf], ["__scopeId", "data-v-e5ae83e
9145
9215
  const i = r.value;
9146
9216
  !i || (o.value = i.scrollHeight > i.clientHeight);
9147
9217
  }
9148
- return (i, d) => (w(), M("div", null, [
9218
+ return (i, d) => (b(), T("div", null, [
9149
9219
  h("p", {
9150
9220
  ref_key: "content",
9151
9221
  ref: r,
@@ -9154,17 +9224,17 @@ const Bf = /* @__PURE__ */ Fe(wf, [["render", Cf], ["__scopeId", "data-v-e5ae83e
9154
9224
  }, [
9155
9225
  X(i.$slots, "default")
9156
9226
  ], 4),
9157
- !g(l) && g(o) ? (w(), M("button", {
9227
+ !g(l) && g(o) ? (b(), T("button", {
9158
9228
  key: 0,
9159
9229
  type: "button",
9160
9230
  class: "mt-1 inline appearance-none border-b border-dashed border-slate-400 bg-transparent px-0.5 py-0 text-slate-900 hover:text-slate-600",
9161
9231
  onClick: d[0] || (d[0] = (p) => l.value = !0)
9162
9232
  }, [
9163
- h("span", _f, J(i.$t("sui.read_more")), 1)
9233
+ h("span", Lf, J(i.$t("sui.read_more")), 1)
9164
9234
  ])) : Z("", !0)
9165
9235
  ]));
9166
9236
  }
9167
- }), Af = ["value", "name", "disabled", "required"], Ef = /* @__PURE__ */ Q({
9237
+ }), Of = ["value", "name", "disabled", "required"], jf = /* @__PURE__ */ Q({
9168
9238
  __name: "BaseSelect",
9169
9239
  props: {
9170
9240
  modelValue: {
@@ -9220,7 +9290,7 @@ const Bf = /* @__PURE__ */ Fe(wf, [["render", Cf], ["__scopeId", "data-v-e5ae83e
9220
9290
  }
9221
9291
  n("update:modelValue", k);
9222
9292
  }
9223
- return (A, k) => (w(), M("select", {
9293
+ return (A, k) => (b(), T("select", {
9224
9294
  ref_key: "select",
9225
9295
  ref: s,
9226
9296
  value: g(p),
@@ -9230,33 +9300,33 @@ const Bf = /* @__PURE__ */ Fe(wf, [["render", Cf], ["__scopeId", "data-v-e5ae83e
9230
9300
  class: z(["rounded border border-slate-300 disabled:cursor-not-allowed disabled:text-slate-300 disabled:opacity-100", [!e.modelValue && e.required ? "text-slate-400" : ""]]),
9231
9301
  onChange: k[0] || (k[0] = (F) => _(F))
9232
9302
  }, [
9233
- e.required ? (w(), M("option", {
9303
+ e.required ? (b(), T("option", {
9234
9304
  key: 0,
9235
9305
  disabled: "",
9236
9306
  hidden: "",
9237
9307
  value: l
9238
- }, J(e.placeholder ? e.placeholder : A.$t("sui.select_an_option")), 1)) : (w(), M("option", {
9308
+ }, J(e.placeholder ? e.placeholder : A.$t("sui.select_an_option")), 1)) : (b(), T("option", {
9239
9309
  key: 1,
9240
9310
  value: l
9241
9311
  }, J(e.placeholder ? e.placeholder : A.$t("sui.select_an_option")), 1)),
9242
9312
  X(A.$slots, "default")
9243
- ], 42, Af));
9313
+ ], 42, Of));
9244
9314
  }
9245
- }), Tf = {}, Lf = {
9315
+ }), Df = {}, Ff = {
9246
9316
  "aria-label": "Sidebar",
9247
9317
  class: "relative"
9248
- }, Mf = /* @__PURE__ */ h("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1), Of = { class: "relative overflow-x-auto overflow-y-hidden" }, jf = { class: "space-y-2" };
9249
- function Df(e, n) {
9250
- return w(), M("nav", Lf, [
9251
- Mf,
9252
- h("div", Of, [
9253
- h("div", jf, [
9318
+ }, Pf = /* @__PURE__ */ h("div", { class: "absolute bottom-0 left-0 h-full w-px bg-slate-300" }, null, -1), Vf = { class: "relative overflow-x-auto overflow-y-hidden" }, Nf = { class: "space-y-2" };
9319
+ function Rf(e, n) {
9320
+ return b(), T("nav", Ff, [
9321
+ Pf,
9322
+ h("div", Vf, [
9323
+ h("div", Nf, [
9254
9324
  X(e.$slots, "default")
9255
9325
  ])
9256
9326
  ])
9257
9327
  ]);
9258
9328
  }
9259
- const Ff = /* @__PURE__ */ Fe(Tf, [["render", Df]]), Pf = ["href", "disabled", "onClick"], Vf = /* @__PURE__ */ Q({
9329
+ const zf = /* @__PURE__ */ Fe(Df, [["render", Rf]]), Uf = ["href", "disabled", "onClick"], qf = /* @__PURE__ */ Q({
9260
9330
  __name: "BaseSideNavigationItem",
9261
9331
  props: {
9262
9332
  to: {
@@ -9278,7 +9348,7 @@ const Ff = /* @__PURE__ */ Fe(Tf, [["render", Df]]), Pf = ["href", "disabled", "
9278
9348
  };
9279
9349
  return (l, o) => {
9280
9350
  const a = pe("router-link");
9281
- return w(), ne(a, {
9351
+ return b(), ne(a, {
9282
9352
  to: e.to,
9283
9353
  custom: ""
9284
9354
  }, {
@@ -9298,13 +9368,13 @@ const Ff = /* @__PURE__ */ Fe(Tf, [["render", Df]]), Pf = ["href", "disabled", "
9298
9368
  ]])
9299
9369
  }, null, 2),
9300
9370
  X(l.$slots, "default")
9301
- ], 10, Pf)
9371
+ ], 10, Uf)
9302
9372
  ]),
9303
9373
  _: 3
9304
9374
  }, 8, ["to"]);
9305
9375
  };
9306
9376
  }
9307
- }), Nf = Q({
9377
+ }), Hf = Q({
9308
9378
  components: {
9309
9379
  Switch: Ei,
9310
9380
  SwitchGroup: Ai,
@@ -9356,12 +9426,12 @@ const Ff = /* @__PURE__ */ Fe(Tf, [["render", Df]]), Pf = ["href", "disabled", "
9356
9426
  this.$emit("update:modelValue", e);
9357
9427
  }
9358
9428
  }
9359
- }), Rf = { class: "inline-flex items-center space-x-3" };
9360
- function zf(e, n, r, l, o, a) {
9429
+ }), Kf = { class: "inline-flex items-center space-x-3" };
9430
+ function Gf(e, n, r, l, o, a) {
9361
9431
  const s = pe("Switch"), i = pe("SwitchLabel"), d = pe("SwitchGroup");
9362
- return w(), ne(d, null, {
9432
+ return b(), ne(d, null, {
9363
9433
  default: G(() => [
9364
- h("div", Rf, [
9434
+ h("div", Kf, [
9365
9435
  H(s, {
9366
9436
  "model-value": e.modelValue,
9367
9437
  class: z([
@@ -9388,7 +9458,7 @@ function zf(e, n, r, l, o, a) {
9388
9458
  ]),
9389
9459
  _: 1
9390
9460
  }, 8, ["model-value", "class", "style", "onUpdate:modelValue"]),
9391
- e.$slots.default ? (w(), ne(i, {
9461
+ e.$slots.default ? (b(), ne(i, {
9392
9462
  key: 0,
9393
9463
  class: "cursor-pointer"
9394
9464
  }, {
@@ -9402,7 +9472,7 @@ function zf(e, n, r, l, o, a) {
9402
9472
  _: 3
9403
9473
  });
9404
9474
  }
9405
- const Uf = /* @__PURE__ */ Fe(Nf, [["render", zf]]), qf = { class: "relative" }, Hf = { class: "max-w-4xl" }, Kf = {
9475
+ const Wf = /* @__PURE__ */ Fe(Hf, [["render", Gf]]), Qf = { class: "relative" }, Yf = { class: "max-w-4xl" }, Jf = {
9406
9476
  key: 0,
9407
9477
  class: "absolute top-0 right-0 p-3"
9408
9478
  }, lr = /* @__PURE__ */ Q({
@@ -9434,8 +9504,8 @@ const Uf = /* @__PURE__ */ Fe(Nf, [["render", zf]]), qf = { class: "relative" },
9434
9504
  const o = V(() => r.to ? "RouterLink" : r.action ? "button" : "div"), a = V(() => r.color == "info" ? "bg-blue-500 text-white" : r.color == "success" ? "bg-green-600 text-white" : r.color == "danger" ? "bg-red-600 text-white" : r.color == "warning" ? "bg-yellow-400 text-yellow-900" : "bg-slate-900 text-white");
9435
9505
  return (s, i) => {
9436
9506
  const d = pe("BaseIcon");
9437
- return w(), M("div", qf, [
9438
- (w(), ne(rn(g(o)), {
9507
+ return b(), T("div", Qf, [
9508
+ (b(), ne(rn(g(o)), {
9439
9509
  type: g(o) == "button" ? "button" : void 0,
9440
9510
  to: g(o) == "RouterLink" ? e.to : void 0,
9441
9511
  class: z(["relative flex w-full items-center justify-center bg-white text-center font-medium", [g(a)]]),
@@ -9445,14 +9515,14 @@ const Uf = /* @__PURE__ */ Fe(Nf, [["render", zf]]), qf = { class: "relative" },
9445
9515
  h("div", {
9446
9516
  class: z(["py-4 text-sm leading-tight", [e.closable ? "pr-10 pl-3" : "px-3"]])
9447
9517
  }, [
9448
- h("div", Hf, [
9518
+ h("div", Yf, [
9449
9519
  X(s.$slots, "default")
9450
9520
  ])
9451
9521
  ], 2)
9452
9522
  ]),
9453
9523
  _: 3
9454
9524
  }, 8, ["type", "to", "class"])),
9455
- e.closable ? (w(), M("div", Kf, [
9525
+ e.closable ? (b(), T("div", Jf, [
9456
9526
  h("button", {
9457
9527
  type: "button",
9458
9528
  class: "rounded-full bg-black bg-opacity-50 p-1 text-white",
@@ -9464,18 +9534,18 @@ const Uf = /* @__PURE__ */ Fe(Nf, [["render", zf]]), qf = { class: "relative" },
9464
9534
  ]);
9465
9535
  };
9466
9536
  }
9467
- }), Gf = {}, Wf = { class: "relative" }, Qf = /* @__PURE__ */ h("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1), Yf = { class: "relative overflow-x-auto overflow-y-hidden" }, Jf = { class: "flex space-x-4 text-center" };
9468
- function Zf(e, n) {
9469
- return w(), M("div", Wf, [
9470
- Qf,
9471
- h("div", Yf, [
9472
- h("ul", Jf, [
9537
+ }), Zf = {}, Xf = { class: "relative" }, em = /* @__PURE__ */ h("div", { class: "absolute bottom-0 left-0 h-px w-full bg-slate-300" }, null, -1), tm = { class: "relative overflow-x-auto overflow-y-hidden" }, nm = { class: "flex space-x-4 text-center" };
9538
+ function rm(e, n) {
9539
+ return b(), T("div", Xf, [
9540
+ em,
9541
+ h("div", tm, [
9542
+ h("ul", nm, [
9473
9543
  X(e.$slots, "default")
9474
9544
  ])
9475
9545
  ])
9476
9546
  ]);
9477
9547
  }
9478
- const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation" }, tm = ["href", "onClick"], nm = { class: "whitespace-nowrap" }, rm = /* @__PURE__ */ Q({
9548
+ const om = /* @__PURE__ */ Fe(Zf, [["render", rm]]), lm = { role: "presentation" }, am = ["href", "onClick"], sm = { class: "whitespace-nowrap" }, im = /* @__PURE__ */ Q({
9479
9549
  __name: "BaseTabItem",
9480
9550
  props: {
9481
9551
  to: {
@@ -9494,7 +9564,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9494
9564
  setup(e) {
9495
9565
  return (n, r) => {
9496
9566
  const l = pe("router-link");
9497
- return w(), M("li", em, [
9567
+ return b(), T("li", lm, [
9498
9568
  H(l, {
9499
9569
  to: e.to,
9500
9570
  custom: ""
@@ -9513,17 +9583,17 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9513
9583
  (e.activeStrategy == "default" ? s : i) ? "h-[2px] bg-primary-600" : "group-hover:h-px group-hover:bg-slate-700"
9514
9584
  ]])
9515
9585
  }, null, 2),
9516
- h("div", nm, [
9586
+ h("div", sm, [
9517
9587
  X(n.$slots, "default")
9518
9588
  ])
9519
- ], 10, tm)
9589
+ ], 10, am)
9520
9590
  ]),
9521
9591
  _: 3
9522
9592
  }, 8, ["to"])
9523
9593
  ]);
9524
9594
  };
9525
9595
  }
9526
- }), om = ["value", "type", "name", "placeholder", "disabled", "required", "rows"], lm = /* @__PURE__ */ Q({
9596
+ }), um = ["value", "type", "name", "placeholder", "disabled", "required", "rows"], cm = /* @__PURE__ */ Q({
9527
9597
  __name: "BaseTextarea",
9528
9598
  props: {
9529
9599
  modelValue: {
@@ -9571,7 +9641,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9571
9641
  const l = Ot(r, "target.value", null);
9572
9642
  return Lr(l) ? It(l) : "";
9573
9643
  }
9574
- return (r, l) => (w(), M("textarea", {
9644
+ return (r, l) => (b(), T("textarea", {
9575
9645
  value: e.modelValue,
9576
9646
  type: e.type,
9577
9647
  name: e.name,
@@ -9581,9 +9651,9 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9581
9651
  rows: e.rows,
9582
9652
  class: "mb-0 block rounded border-slate-300 disabled:cursor-not-allowed disabled:text-slate-300",
9583
9653
  onInput: l[0] || (l[0] = (o) => r.$emit("update:modelValue", n(o)))
9584
- }, null, 40, om));
9654
+ }, null, 40, um));
9585
9655
  }
9586
- }), am = ["value", "name", "placeholder", "disabled"], sm = /* @__PURE__ */ Q({
9656
+ }), dm = ["value", "name", "placeholder", "disabled"], fm = /* @__PURE__ */ Q({
9587
9657
  __name: "BaseTextareaAutoresize",
9588
9658
  props: {
9589
9659
  modelValue: {
@@ -9628,7 +9698,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9628
9698
  function y(_) {
9629
9699
  n("focus", _);
9630
9700
  }
9631
- return (_, A) => (w(), M("div", {
9701
+ return (_, A) => (b(), T("div", {
9632
9702
  ref_key: "wrapper",
9633
9703
  ref: s,
9634
9704
  class: "wrapper grid",
@@ -9646,7 +9716,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9646
9716
  onKeyup: x,
9647
9717
  onKeydown: p,
9648
9718
  onFocus: y
9649
- }, null, 44, am),
9719
+ }, null, 44, dm),
9650
9720
  h("div", {
9651
9721
  class: z(["invisible whitespace-pre-wrap", l]),
9652
9722
  style: Ne({
@@ -9657,7 +9727,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9657
9727
  }, J(e.modelValue) + " " + J(" "), 5)
9658
9728
  ], 4));
9659
9729
  }
9660
- }), Wo = Rn("systemAlerts", {
9730
+ }), Wo = zn("systemAlerts", {
9661
9731
  state: () => ({
9662
9732
  count: 0,
9663
9733
  systemAlerts: []
@@ -9684,7 +9754,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9684
9754
  this.systemAlerts = [];
9685
9755
  }
9686
9756
  }
9687
- }), im = { class: "sticky top-0 z-20 w-full shadow-sm" }, Qo = /* @__PURE__ */ Q({
9757
+ }), mm = { class: "sticky top-0 z-20 w-full shadow-sm" }, Qo = /* @__PURE__ */ Q({
9688
9758
  __name: "BaseLayoutStacked",
9689
9759
  props: {
9690
9760
  dark: {
@@ -9694,9 +9764,9 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9694
9764
  },
9695
9765
  setup(e) {
9696
9766
  const n = Wo(), r = V(() => n.systemAlerts);
9697
- return (l, o) => (w(), M(me, null, [
9698
- h("div", im, [
9699
- (w(!0), M(me, null, ye(g(r), (a) => (w(), ne(lr, {
9767
+ return (l, o) => (b(), T(me, null, [
9768
+ h("div", mm, [
9769
+ (b(!0), T(me, null, ye(g(r), (a) => (b(), ne(lr, {
9700
9770
  key: a.id,
9701
9771
  color: a.color,
9702
9772
  to: a.to,
@@ -9705,7 +9775,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9705
9775
  onClose: (s) => g(n).remove(a)
9706
9776
  }, {
9707
9777
  default: G(() => [
9708
- Je(J(a.message), 1)
9778
+ Ye(J(a.message), 1)
9709
9779
  ]),
9710
9780
  _: 2
9711
9781
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
@@ -9724,10 +9794,10 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9724
9794
  ])
9725
9795
  ], 64));
9726
9796
  }
9727
- }), um = { class: "group flex grow items-center" }, cm = {
9797
+ }), pm = { class: "group flex grow items-center" }, hm = {
9728
9798
  key: 0,
9729
9799
  class: "relative -top-px ml-[5px]"
9730
- }, dm = /* @__PURE__ */ Q({
9800
+ }, vm = /* @__PURE__ */ Q({
9731
9801
  __name: "BaseNavbarSideItemContent",
9732
9802
  props: {
9733
9803
  label: {
@@ -9761,18 +9831,18 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9761
9831
  const o = ["w-5 h-5 shrink-0 mr-2 leading-none inline-block"];
9762
9832
  return n.active ? o.push("opacity-100") : o.push("opacity-70 group-hover:opacity-100"), o;
9763
9833
  });
9764
- return (o, a) => (w(), M("div", {
9834
+ return (o, a) => (b(), T("div", {
9765
9835
  class: z(g(r))
9766
9836
  }, [
9767
- h("div", um, [
9768
- e.icon ? (w(), ne(g(_e), {
9837
+ h("div", pm, [
9838
+ e.icon ? (b(), ne(g(_e), {
9769
9839
  key: 0,
9770
9840
  icon: e.icon,
9771
9841
  class: z(g(l))
9772
9842
  }, null, 8, ["icon", "class"])) : Z("", !0),
9773
- Je(" " + J(e.label), 1)
9843
+ Ye(" " + J(e.label), 1)
9774
9844
  ]),
9775
- e.count ? (w(), M("div", cm, [
9845
+ e.count ? (b(), T("div", hm, [
9776
9846
  H(jt, {
9777
9847
  count: e.count,
9778
9848
  "max-digit": 2,
@@ -9781,7 +9851,7 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9781
9851
  ])) : Z("", !0)
9782
9852
  ], 2));
9783
9853
  }
9784
- }), Nn = /* @__PURE__ */ Q({
9854
+ }), Rn = /* @__PURE__ */ Q({
9785
9855
  __name: "BaseNavbarSideItem",
9786
9856
  props: {
9787
9857
  item: {
@@ -9798,14 +9868,14 @@ const Xf = /* @__PURE__ */ Fe(Gf, [["render", Zf]]), em = { role: "presentation"
9798
9868
  async function r() {
9799
9869
  n("click");
9800
9870
  }
9801
- return (l, o) => (w(), ne(zn, {
9871
+ return (l, o) => (b(), ne(Un, {
9802
9872
  item: e.item,
9803
9873
  dark: e.dark,
9804
9874
  "item-class": "flex w-full",
9805
9875
  onClick: r
9806
9876
  }, {
9807
9877
  default: G(({ active: a }) => [
9808
- H(dm, {
9878
+ H(vm, {
9809
9879
  label: e.item.label,
9810
9880
  icon: e.item.icon,
9811
9881
  active: a,
@@ -9900,9 +9970,9 @@ var Yo = { exports: {} };
9900
9970
  decimal: ",",
9901
9971
  delimiter: " \u0648 ",
9902
9972
  _formatCount: function(t, E) {
9903
- for (var L = p(r, { ".": E }), R = t.toString().split(""), b = 0; b < R.length; b++) {
9904
- var B = R[b];
9905
- T(L, B) && (R[b] = L[B]);
9973
+ for (var M = p(r, { ".": E }), R = t.toString().split(""), w = 0; w < R.length; w++) {
9974
+ var B = R[w];
9975
+ L(M, B) && (R[w] = M[B]);
9906
9976
  }
9907
9977
  return R.join("");
9908
9978
  }
@@ -11056,8 +11126,8 @@ var Yo = { exports: {} };
11056
11126
  }
11057
11127
  };
11058
11128
  function o(t) {
11059
- var E = function(R, b) {
11060
- var B = p({}, E, b || {});
11129
+ var E = function(R, w) {
11130
+ var B = p({}, E, w || {});
11061
11131
  return i(R, B);
11062
11132
  };
11063
11133
  return p(
@@ -11087,27 +11157,27 @@ var Yo = { exports: {} };
11087
11157
  var a = o({});
11088
11158
  function s(t) {
11089
11159
  var E = [t.language];
11090
- if (T(t, "fallbacks"))
11160
+ if (L(t, "fallbacks"))
11091
11161
  if (S(t.fallbacks) && t.fallbacks.length)
11092
11162
  E = E.concat(t.fallbacks);
11093
11163
  else
11094
11164
  throw new Error("fallbacks must be an array with at least one element");
11095
- for (var L = 0; L < E.length; L++) {
11096
- var R = E[L];
11097
- if (T(t.languages, R))
11165
+ for (var M = 0; M < E.length; M++) {
11166
+ var R = E[M];
11167
+ if (L(t.languages, R))
11098
11168
  return t.languages[R];
11099
- if (T(l, R))
11169
+ if (L(l, R))
11100
11170
  return l[R];
11101
11171
  }
11102
11172
  throw new Error("No language found.");
11103
11173
  }
11104
11174
  function i(t, E) {
11105
- var L, R, b;
11175
+ var M, R, w;
11106
11176
  t = Math.abs(t);
11107
11177
  var B = s(E), c = [], m, f, I;
11108
- for (L = 0, R = E.units.length; L < R; L++) {
11109
- if (m = E.units[L], f = E.unitMeasures[m], L + 1 === R)
11110
- if (T(E, "maxDecimalPoints")) {
11178
+ for (M = 0, R = E.units.length; M < R; M++) {
11179
+ if (m = E.units[M], f = E.unitMeasures[m], M + 1 === R)
11180
+ if (L(E, "maxDecimalPoints")) {
11111
11181
  var O = Math.pow(10, E.maxDecimalPoints), U = t / f;
11112
11182
  I = parseFloat(
11113
11183
  (Math.floor(O * U) / O).toFixed(
@@ -11124,24 +11194,24 @@ var Yo = { exports: {} };
11124
11194
  }), t -= I * f;
11125
11195
  }
11126
11196
  var q = 0;
11127
- for (L = 0; L < c.length; L++)
11128
- if (c[L].unitCount) {
11129
- q = L;
11197
+ for (M = 0; M < c.length; M++)
11198
+ if (c[M].unitCount) {
11199
+ q = M;
11130
11200
  break;
11131
11201
  }
11132
11202
  if (E.round) {
11133
11203
  var ee, W;
11134
- for (L = c.length - 1; L >= 0 && (b = c[L], b.unitCount = Math.round(b.unitCount), L !== 0); L--)
11135
- W = c[L - 1], ee = E.unitMeasures[W.unitName] / E.unitMeasures[b.unitName], (b.unitCount % ee === 0 || E.largest && E.largest - 1 < L - q) && (W.unitCount += b.unitCount / ee, b.unitCount = 0);
11204
+ for (M = c.length - 1; M >= 0 && (w = c[M], w.unitCount = Math.round(w.unitCount), M !== 0); M--)
11205
+ W = c[M - 1], ee = E.unitMeasures[W.unitName] / E.unitMeasures[w.unitName], (w.unitCount % ee === 0 || E.largest && E.largest - 1 < M - q) && (W.unitCount += w.unitCount / ee, w.unitCount = 0);
11136
11206
  }
11137
11207
  var ae = [];
11138
- for (L = 0, c.length; L < R && (b = c[L], b.unitCount && ae.push(
11139
- d(b.unitCount, b.unitName, B, E)
11140
- ), ae.length !== E.largest); L++)
11208
+ for (M = 0, c.length; M < R && (w = c[M], w.unitCount && ae.push(
11209
+ d(w.unitCount, w.unitName, B, E)
11210
+ ), ae.length !== E.largest); M++)
11141
11211
  ;
11142
11212
  if (ae.length) {
11143
11213
  var de;
11144
- if (T(E, "delimiter") ? de = E.delimiter : T(B, "delimiter") ? de = B.delimiter : de = ", ", !E.conjunction || ae.length === 1)
11214
+ if (L(E, "delimiter") ? de = E.delimiter : L(B, "delimiter") ? de = B.delimiter : de = ", ", !E.conjunction || ae.length === 1)
11145
11215
  return ae.join(de);
11146
11216
  if (ae.length === 2)
11147
11217
  return ae.join(E.conjunction);
@@ -11155,19 +11225,19 @@ var Yo = { exports: {} };
11155
11225
  E
11156
11226
  );
11157
11227
  }
11158
- function d(t, E, L, R) {
11159
- var b;
11160
- T(R, "decimal") ? b = R.decimal : T(L, "decimal") ? b = L.decimal : b = ".";
11228
+ function d(t, E, M, R) {
11229
+ var w;
11230
+ L(R, "decimal") ? w = R.decimal : L(M, "decimal") ? w = M.decimal : w = ".";
11161
11231
  var B;
11162
- typeof L._formatCount == "function" ? B = L._formatCount(t, b) : B = t.toString().replace(".", b);
11163
- var c = L[E], m;
11164
- return typeof c == "function" ? m = c(t) : m = c, L._numberFirst ? m + R.spacer + B : B + R.spacer + m;
11232
+ typeof M._formatCount == "function" ? B = M._formatCount(t, w) : B = t.toString().replace(".", w);
11233
+ var c = M[E], m;
11234
+ return typeof c == "function" ? m = c(t) : m = c, M._numberFirst ? m + R.spacer + B : B + R.spacer + m;
11165
11235
  }
11166
11236
  function p(t) {
11167
- for (var E, L = 1; L < arguments.length; L++) {
11168
- E = arguments[L];
11237
+ for (var E, M = 1; M < arguments.length; M++) {
11238
+ E = arguments[M];
11169
11239
  for (var R in E)
11170
- T(E, R) && (t[R] = E[R]);
11240
+ L(E, R) && (t[R] = E[R]);
11171
11241
  }
11172
11242
  return t;
11173
11243
  }
@@ -11192,21 +11262,21 @@ var Yo = { exports: {} };
11192
11262
  var S = Array.isArray || function(t) {
11193
11263
  return Object.prototype.toString.call(t) === "[object Array]";
11194
11264
  };
11195
- function T(t, E) {
11265
+ function L(t, E) {
11196
11266
  return Object.prototype.hasOwnProperty.call(t, E);
11197
11267
  }
11198
11268
  a.getSupportedLanguages = function() {
11199
11269
  var E = [];
11200
- for (var L in l)
11201
- T(l, L) && L !== "gr" && E.push(L);
11270
+ for (var M in l)
11271
+ L(l, M) && M !== "gr" && E.push(M);
11202
11272
  return E;
11203
11273
  }, a.humanizer = o, e.exports ? e.exports = a : this.humanizeDuration = a;
11204
11274
  })();
11205
11275
  })(Yo);
11206
- const fm = Yo.exports, mm = ["innerHTML"], pm = {
11276
+ const gm = Yo.exports, ym = ["innerHTML"], bm = {
11207
11277
  key: 0,
11208
11278
  class: "mt-1 text-xs text-slate-400"
11209
- }, hm = /* @__PURE__ */ Q({
11279
+ }, wm = /* @__PURE__ */ Q({
11210
11280
  __name: "BaseLayoutNotificationItem",
11211
11281
  props: {
11212
11282
  notification: {
@@ -11222,7 +11292,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11222
11292
  if (r.notification.created_at) {
11223
11293
  const d = ut.fromISO(r.notification.created_at).diff(
11224
11294
  o.value
11225
- ).milliseconds, p = fm(d, {
11295
+ ).milliseconds, p = gm(d, {
11226
11296
  language: l.locale.value,
11227
11297
  round: !0,
11228
11298
  largest: 1
@@ -11238,7 +11308,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11238
11308
  }
11239
11309
  return (d, p) => {
11240
11310
  const x = pe("router-link");
11241
- return w(), ne(x, {
11311
+ return b(), ne(x, {
11242
11312
  custom: "",
11243
11313
  to: e.notification.to
11244
11314
  }, {
@@ -11255,8 +11325,8 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11255
11325
  h("div", {
11256
11326
  class: "text-sm leading-tight text-slate-800",
11257
11327
  innerHTML: e.notification.text
11258
- }, null, 8, mm),
11259
- g(s) ? (w(), M("p", pm, J(g(s)), 1)) : Z("", !0)
11328
+ }, null, 8, ym),
11329
+ g(s) ? (b(), T("p", bm, J(g(s)), 1)) : Z("", !0)
11260
11330
  ], 2)
11261
11331
  ]),
11262
11332
  _: 2
@@ -11266,13 +11336,13 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11266
11336
  }, 8, ["to"]);
11267
11337
  };
11268
11338
  }
11269
- }), vm = {
11339
+ }), xm = {
11270
11340
  key: 0,
11271
11341
  class: "flex items-center justify-center p-6"
11272
- }, gm = { class: "" }, ym = { class: "text-center text-sm text-slate-700" }, bm = {
11342
+ }, km = { class: "" }, Sm = { class: "text-center text-sm text-slate-700" }, $m = {
11273
11343
  key: 1,
11274
11344
  class: "mt-1 border-t border-slate-200 pt-1"
11275
- }, wm = { class: "hover block px-3 py-2 text-center text-sm font-medium text-primary-600 hover:bg-slate-100" }, Jo = /* @__PURE__ */ Q({
11345
+ }, Cm = { class: "hover block px-3 py-2 text-center text-sm font-medium text-primary-600 hover:bg-slate-100" }, Jo = /* @__PURE__ */ Q({
11276
11346
  __name: "BaseLayoutNotificationDropdown",
11277
11347
  props: {
11278
11348
  notificationsConfig: {
@@ -11295,7 +11365,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11295
11365
  }
11296
11366
  return (s, i) => {
11297
11367
  const d = pe("RouterLink");
11298
- return w(), ne(kt, {
11368
+ return b(), ne(kt, {
11299
11369
  class: "inline-block",
11300
11370
  position: g(l) ? "custom" : "bottom-left",
11301
11371
  "menu-class": ["sm:w-[320px] w-[280px]", g(l) ? "right-4" : ""]
@@ -11309,7 +11379,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11309
11379
  icon: "heroicons:bell",
11310
11380
  class: z(["h-6 w-6", [e.dark ? "text-slate-300" : "text-slate-600"]])
11311
11381
  }, null, 8, ["class"]),
11312
- e.notificationsConfig.items.length ? (w(), ne(jt, {
11382
+ e.notificationsConfig.items.length ? (b(), ne(jt, {
11313
11383
  key: 0,
11314
11384
  class: "absolute top-0 right-0",
11315
11385
  count: e.notificationsConfig.items.length
@@ -11317,21 +11387,21 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11317
11387
  ], 2)
11318
11388
  ]),
11319
11389
  items: G(() => [
11320
- (w(!0), M(me, null, ye(e.notificationsConfig.items, (p) => (w(), ne(hm, {
11390
+ (b(!0), T(me, null, ye(e.notificationsConfig.items, (p) => (b(), ne(wm, {
11321
11391
  key: p.id + "link",
11322
11392
  notification: p,
11323
11393
  onClick: o
11324
11394
  }, null, 8, ["notification"]))), 128)),
11325
- e.notificationsConfig.items.length == 0 ? (w(), M("div", vm, [
11326
- h("div", gm, [
11395
+ e.notificationsConfig.items.length == 0 ? (b(), T("div", xm, [
11396
+ h("div", km, [
11327
11397
  H(g(_e), {
11328
11398
  icon: "heroicons:inbox-stack",
11329
11399
  class: "mx-auto mb-2 h-8 w-8 text-slate-400"
11330
11400
  }),
11331
- h("p", ym, J(s.$t("sui.notifications_empty")), 1)
11401
+ h("p", Sm, J(s.$t("sui.notifications_empty")), 1)
11332
11402
  ])
11333
11403
  ])) : Z("", !0),
11334
- e.notificationsConfig.footerTo ? (w(), M("div", bm, [
11404
+ e.notificationsConfig.footerTo ? (b(), T("div", $m, [
11335
11405
  H(d, {
11336
11406
  custom: "",
11337
11407
  to: e.notificationsConfig.footerTo
@@ -11343,7 +11413,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11343
11413
  onClick: x
11344
11414
  }, {
11345
11415
  default: G(() => [
11346
- h("div", wm, J(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
11416
+ h("div", Cm, J(e.notificationsConfig.footerLabel ? e.notificationsConfig.footerLabel : s.$t("sui.see_all_notifications")), 1)
11347
11417
  ]),
11348
11418
  _: 2
11349
11419
  }, 1032, ["href", "onClick"])
@@ -11356,7 +11426,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11356
11426
  }, 8, ["position", "menu-class"]);
11357
11427
  };
11358
11428
  }
11359
- }), xm = { class: "flex h-16 justify-between" }, km = { class: "flex justify-center" }, Sm = ["src", "alt"], $m = { class: "ml-10 hidden space-x-4 md:flex" }, Cm = { class: "flex items-center md:ml-6" }, Bm = { class: "space-y-1 p-2 pt-0" }, _m = { class: "p-2 pb-6" }, Im = { class: "mt-4 space-y-1" }, Am = /* @__PURE__ */ Q({
11429
+ }), Bm = { class: "flex h-16 justify-between" }, _m = { class: "flex justify-center" }, Im = ["src", "alt"], Am = { class: "ml-10 hidden space-x-4 md:flex" }, Em = { class: "flex items-center md:ml-6" }, Tm = { class: "space-y-1 p-2 pt-0" }, Lm = { class: "p-2 pb-6" }, Mm = { class: "mt-4 space-y-1" }, Om = /* @__PURE__ */ Q({
11360
11430
  __name: "BaseLayoutStackedConfigurable",
11361
11431
  props: {
11362
11432
  appName: {
@@ -11398,10 +11468,10 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11398
11468
  }
11399
11469
  return (o, a) => {
11400
11470
  const s = pe("router-link");
11401
- return w(), ne(Qo, { dark: e.dark }, {
11471
+ return b(), ne(Qo, { dark: e.dark }, {
11402
11472
  navbar: G(() => [
11403
- h("div", xm, [
11404
- h("div", km, [
11473
+ h("div", Bm, [
11474
+ h("div", _m, [
11405
11475
  H(s, {
11406
11476
  to: "/",
11407
11477
  class: "flex flex-shrink-0 items-center p-2 pl-0"
@@ -11411,20 +11481,20 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11411
11481
  class: "block h-8 w-auto",
11412
11482
  src: e.logoUrl,
11413
11483
  alt: e.appName
11414
- }, null, 8, Sm)
11484
+ }, null, 8, Im)
11415
11485
  ]),
11416
11486
  _: 1
11417
11487
  }),
11418
- h("div", $m, [
11419
- (w(!0), M(me, null, ye(e.menu, (i) => (w(), ne(Go, {
11488
+ h("div", Am, [
11489
+ (b(!0), T(me, null, ye(e.menu, (i) => (b(), ne(Go, {
11420
11490
  key: i.label,
11421
11491
  item: i,
11422
11492
  dark: e.dark
11423
11493
  }, null, 8, ["item", "dark"]))), 128))
11424
11494
  ])
11425
11495
  ]),
11426
- h("div", Cm, [
11427
- e.notifications ? (w(), ne(Jo, {
11496
+ h("div", Em, [
11497
+ e.notifications ? (b(), ne(Jo, {
11428
11498
  key: 0,
11429
11499
  class: "mr-4 md:mr-5",
11430
11500
  dark: e.dark,
@@ -11453,8 +11523,8 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11453
11523
  ])
11454
11524
  ]),
11455
11525
  mobile: G(() => [
11456
- h("div", Bm, [
11457
- (w(!0), M(me, null, ye(e.menu, (i) => (w(), ne(Nn, {
11526
+ h("div", Tm, [
11527
+ (b(!0), T(me, null, ye(e.menu, (i) => (b(), ne(Rn, {
11458
11528
  key: i.label,
11459
11529
  item: i,
11460
11530
  dark: e.dark
@@ -11463,15 +11533,15 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11463
11533
  h("hr", {
11464
11534
  class: z(["mb-4 mt-2", [e.dark ? "border-slate-700" : "border-slate-200"]])
11465
11535
  }, null, 2),
11466
- h("div", _m, [
11536
+ h("div", Lm, [
11467
11537
  H(en, {
11468
11538
  user: e.user,
11469
11539
  "show-details": "",
11470
11540
  size: "base",
11471
11541
  class: z(["px-3", e.dark ? "text-white" : ""])
11472
11542
  }, null, 8, ["user", "class"]),
11473
- h("div", Im, [
11474
- (w(!0), M(me, null, ye(e.userMenu, (i) => (w(), ne(Nn, {
11543
+ h("div", Mm, [
11544
+ (b(!0), T(me, null, ye(e.userMenu, (i) => (b(), ne(Rn, {
11475
11545
  key: i.label,
11476
11546
  item: i,
11477
11547
  dark: e.dark
@@ -11486,10 +11556,10 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11486
11556
  }, 8, ["dark"]);
11487
11557
  };
11488
11558
  }
11489
- }), Em = { class: "min-h-full" }, Tm = /* @__PURE__ */ h("div", { class: "fixed inset-0 bg-slate-600 bg-opacity-75" }, null, -1), Lm = { class: "fixed inset-0 z-40 flex" }, Mm = { class: "absolute top-0 right-0 -mr-12 pt-2" }, Om = /* @__PURE__ */ h("span", { class: "sr-only" }, "Close sidebar", -1), jm = { class: "flex flex-shrink-0 items-center px-4" }, Dm = ["src", "alt"], Fm = { class: "mt-5 h-0 flex-1 overflow-y-auto" }, Pm = /* @__PURE__ */ h("div", {
11559
+ }), jm = { class: "min-h-full" }, Dm = /* @__PURE__ */ h("div", { class: "fixed inset-0 bg-slate-600 bg-opacity-75" }, null, -1), Fm = { class: "fixed inset-0 z-40 flex" }, Pm = { class: "absolute top-0 right-0 -mr-12 pt-2" }, Vm = /* @__PURE__ */ h("span", { class: "sr-only" }, "Close sidebar", -1), Nm = { class: "flex flex-shrink-0 items-center px-4" }, Rm = ["src", "alt"], zm = { class: "mt-5 h-0 flex-1 overflow-y-auto" }, Um = /* @__PURE__ */ h("div", {
11490
11560
  class: "w-14 flex-shrink-0",
11491
11561
  "aria-hidden": "true"
11492
- }, null, -1), Vm = { class: "flex min-h-full flex-col xl:pl-64" }, Nm = { class: "sticky top-0 left-0 z-10 shrink-0 shadow" }, Rm = { class: "flex h-16 bg-white" }, zm = /* @__PURE__ */ h("span", { class: "sr-only" }, "Open sidebar", -1), Um = { class: "flex flex-1" }, qm = { class: "relative min-h-full flex-1" }, Hm = { class: "z-10 hidden xl:fixed xl:inset-y-0 xl:flex xl:w-64 xl:flex-col" }, Km = ["src", "alt"], Gm = { class: "flex flex-1" }, Wm = { class: "flex-1" }, Zo = /* @__PURE__ */ Q({
11562
+ }, null, -1), qm = { class: "flex min-h-full flex-col xl:pl-64" }, Hm = { class: "sticky top-0 left-0 z-10 shrink-0 shadow" }, Km = { class: "flex h-16 bg-white" }, Gm = /* @__PURE__ */ h("span", { class: "sr-only" }, "Open sidebar", -1), Wm = { class: "flex flex-1" }, Qm = { class: "relative min-h-full flex-1" }, Ym = { class: "z-10 hidden xl:fixed xl:inset-y-0 xl:flex xl:w-64 xl:flex-col" }, Jm = ["src", "alt"], Zm = { class: "flex flex-1" }, Xm = { class: "flex-1" }, Zo = /* @__PURE__ */ Q({
11493
11563
  __name: "BaseLayoutSidebar",
11494
11564
  props: {
11495
11565
  appName: {
@@ -11516,7 +11586,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11516
11586
  function s() {
11517
11587
  l.value = !1;
11518
11588
  }
11519
- return Se("toggleMenu", o), Se("openMenu", a), Se("closeMenu", s), (i, d) => (w(), M("div", Em, [
11589
+ return Se("toggleMenu", o), Se("openMenu", a), Se("closeMenu", s), (i, d) => (b(), T("div", jm, [
11520
11590
  H(g(Ao), {
11521
11591
  as: "template",
11522
11592
  show: l.value
@@ -11538,11 +11608,11 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11538
11608
  "leave-to": "opacity-0"
11539
11609
  }, {
11540
11610
  default: G(() => [
11541
- Tm
11611
+ Dm
11542
11612
  ]),
11543
11613
  _: 1
11544
11614
  }),
11545
- h("div", Lm, [
11615
+ h("div", Fm, [
11546
11616
  H(g(Yt), {
11547
11617
  as: "template",
11548
11618
  enter: "transition ease-in-out duration-300 transform",
@@ -11567,13 +11637,13 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11567
11637
  "leave-to": "opacity-0"
11568
11638
  }, {
11569
11639
  default: G(() => [
11570
- h("div", Mm, [
11640
+ h("div", Pm, [
11571
11641
  h("button", {
11572
11642
  type: "button",
11573
11643
  class: "ml-1 flex h-10 w-10 items-center justify-center rounded-full",
11574
11644
  onClick: d[0] || (d[0] = (p) => l.value = !1)
11575
11645
  }, [
11576
- Om,
11646
+ Vm,
11577
11647
  H(g(_e), {
11578
11648
  icon: "heroicons:x-mark",
11579
11649
  class: "h-6 w-6 text-white",
@@ -11584,14 +11654,14 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11584
11654
  ]),
11585
11655
  _: 1
11586
11656
  }),
11587
- h("div", jm, [
11657
+ h("div", Nm, [
11588
11658
  h("img", {
11589
11659
  class: "block h-8 w-auto",
11590
11660
  src: e.logoUrl,
11591
11661
  alt: e.appName
11592
- }, null, 8, Dm)
11662
+ }, null, 8, Rm)
11593
11663
  ]),
11594
- h("div", Fm, [
11664
+ h("div", zm, [
11595
11665
  h("nav", null, [
11596
11666
  X(i.$slots, "menu")
11597
11667
  ])
@@ -11602,7 +11672,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11602
11672
  ]),
11603
11673
  _: 3
11604
11674
  }),
11605
- Pm
11675
+ Um
11606
11676
  ])
11607
11677
  ]),
11608
11678
  _: 3
@@ -11610,9 +11680,9 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11610
11680
  ]),
11611
11681
  _: 3
11612
11682
  }, 8, ["show"]),
11613
- h("div", Vm, [
11614
- h("div", Nm, [
11615
- (w(!0), M(me, null, ye(g(r), (p) => (w(), ne(lr, {
11683
+ h("div", qm, [
11684
+ h("div", Hm, [
11685
+ (b(!0), T(me, null, ye(g(r), (p) => (b(), ne(lr, {
11616
11686
  key: p.id,
11617
11687
  color: p.color,
11618
11688
  to: p.to,
@@ -11621,33 +11691,33 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11621
11691
  onClose: (x) => g(n).remove(p)
11622
11692
  }, {
11623
11693
  default: G(() => [
11624
- Je(J(p.message), 1)
11694
+ Ye(J(p.message), 1)
11625
11695
  ]),
11626
11696
  _: 2
11627
11697
  }, 1032, ["color", "to", "action", "closable", "onClose"]))), 128)),
11628
- h("div", Rm, [
11698
+ h("div", Km, [
11629
11699
  h("button", {
11630
11700
  type: "button",
11631
11701
  class: "border-r border-slate-200 px-4 text-slate-500 xl:hidden",
11632
11702
  onClick: d[2] || (d[2] = (p) => l.value = !0)
11633
11703
  }, [
11634
- zm,
11704
+ Gm,
11635
11705
  H(g(_e), {
11636
11706
  icon: "heroicons:bars-3-bottom-left",
11637
11707
  class: "h-6 w-6",
11638
11708
  "aria-hidden": "true"
11639
11709
  })
11640
11710
  ]),
11641
- h("div", Um, [
11711
+ h("div", Wm, [
11642
11712
  X(i.$slots, "navbar")
11643
11713
  ])
11644
11714
  ])
11645
11715
  ]),
11646
- h("main", qm, [
11716
+ h("main", Qm, [
11647
11717
  X(i.$slots, "default")
11648
11718
  ])
11649
11719
  ]),
11650
- h("div", Hm, [
11720
+ h("div", Ym, [
11651
11721
  h("div", {
11652
11722
  class: z(["flex min-h-0 flex-1 flex-col", [e.dark ? "bg-slate-800" : "bg-white shadow"]])
11653
11723
  }, [
@@ -11658,10 +11728,10 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11658
11728
  class: "block h-8 w-auto",
11659
11729
  src: e.logoUrl,
11660
11730
  alt: e.appName
11661
- }, null, 8, Km)
11731
+ }, null, 8, Jm)
11662
11732
  ], 2),
11663
- h("div", Gm, [
11664
- h("nav", Wm, [
11733
+ h("div", Zm, [
11734
+ h("nav", Xm, [
11665
11735
  X(i.$slots, "menu")
11666
11736
  ])
11667
11737
  ])
@@ -11669,7 +11739,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11669
11739
  ])
11670
11740
  ]));
11671
11741
  }
11672
- }), Qm = { class: "px-3 py-6" }, Ym = { class: "space-y-8" }, Jm = { class: "space-y-1" }, Zm = { class: "flex flex-1 justify-between px-4" }, Xm = /* @__PURE__ */ h("div", { class: "flex flex-1" }, null, -1), ep = { class: "ml-4 flex items-center md:ml-6" }, tp = { class: "relative ml-3 mr-3" }, np = /* @__PURE__ */ Q({
11742
+ }), ep = { class: "px-3 py-6" }, tp = { class: "space-y-8" }, np = { class: "space-y-1" }, rp = { class: "flex flex-1 justify-between px-4" }, op = /* @__PURE__ */ h("div", { class: "flex flex-1" }, null, -1), lp = { class: "ml-4 flex items-center md:ml-6" }, ap = { class: "relative ml-3 mr-3" }, sp = /* @__PURE__ */ Q({
11673
11743
  __name: "BaseLayoutSidebarConfigurable",
11674
11744
  props: {
11675
11745
  appName: {
@@ -11715,24 +11785,24 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11715
11785
  function a() {
11716
11786
  n("notification:open");
11717
11787
  }
11718
- return (s, i) => (w(), ne(Zo, {
11788
+ return (s, i) => (b(), ne(Zo, {
11719
11789
  "app-name": e.appName,
11720
11790
  "logo-url": e.logoUrl,
11721
11791
  dark: e.dark
11722
11792
  }, {
11723
11793
  menu: G(() => [
11724
- h("div", Qm, [
11725
- h("div", Ym, [
11726
- (w(!0), M(me, null, ye(g(l), (d) => (w(), M("div", {
11794
+ h("div", ep, [
11795
+ h("div", tp, [
11796
+ (b(!0), T(me, null, ye(g(l), (d) => (b(), T("div", {
11727
11797
  key: d.title
11728
11798
  }, [
11729
- d.title ? (w(), M("h2", {
11799
+ d.title ? (b(), T("h2", {
11730
11800
  key: 0,
11731
11801
  class: z(["mb-3 pl-3 text-xs font-semibold uppercase tracking-widest", e.dark ? "text-slate-400" : "text-slate-500"])
11732
11802
  }, J(d.title), 3)) : Z("", !0),
11733
11803
  h("div", null, [
11734
- h("div", Jm, [
11735
- (w(!0), M(me, null, ye(d.actions, (p) => (w(), ne(Nn, {
11804
+ h("div", np, [
11805
+ (b(!0), T(me, null, ye(d.actions, (p) => (b(), ne(Rn, {
11736
11806
  key: p.label,
11737
11807
  item: p,
11738
11808
  dark: e.dark
@@ -11744,17 +11814,17 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11744
11814
  ])
11745
11815
  ]),
11746
11816
  navbar: G(() => [
11747
- h("div", Zm, [
11748
- Xm,
11749
- h("div", ep, [
11750
- e.notifications ? (w(), ne(Jo, {
11817
+ h("div", rp, [
11818
+ op,
11819
+ h("div", lp, [
11820
+ e.notifications ? (b(), ne(Jo, {
11751
11821
  key: 0,
11752
11822
  "notifications-config": e.notifications,
11753
11823
  class: "mr-1 sm:mr-2",
11754
11824
  onClick: o,
11755
11825
  onOpen: a
11756
11826
  }, null, 8, ["notifications-config"])) : Z("", !0),
11757
- h("div", tp, [
11827
+ h("div", ap, [
11758
11828
  H(kt, { items: e.userMenu }, {
11759
11829
  button: G(({ open: d }) => [
11760
11830
  h("div", {
@@ -11780,7 +11850,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11780
11850
  }
11781
11851
  }), Ir = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11782
11852
  __proto__: null,
11783
- BaseActionItem: zn,
11853
+ BaseActionItem: Un,
11784
11854
  BaseAlert: Or,
11785
11855
  BaseApp: Ua,
11786
11856
  BaseAppDialogs: Xr,
@@ -11814,7 +11884,7 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11814
11884
  BaseInput: Id,
11815
11885
  BaseInputLabel: Ld,
11816
11886
  BaseLoadingCover: No,
11817
- BaseMediaItem: Vn,
11887
+ BaseMediaItem: Nn,
11818
11888
  BaseMediaLibrary: Yd,
11819
11889
  BaseMediaPreview: qo,
11820
11890
  BaseMenu: kt,
@@ -11828,26 +11898,27 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11828
11898
  BasePanel: mf,
11829
11899
  BasePassword: bf,
11830
11900
  BaseProgressCircle: Bf,
11831
- BaseReadMore: If,
11832
- BaseSelect: Ef,
11833
- BaseSideNavigation: Ff,
11834
- BaseSideNavigationItem: Vf,
11901
+ BaseRadioGroup: Tf,
11902
+ BaseReadMore: Mf,
11903
+ BaseSelect: jf,
11904
+ BaseSideNavigation: zf,
11905
+ BaseSideNavigationItem: qf,
11835
11906
  BaseSkeleton: ht,
11836
- BaseSwitch: Uf,
11907
+ BaseSwitch: Wf,
11837
11908
  BaseSystemAlert: lr,
11838
- BaseTabs: Xf,
11839
- BaseTabItem: rm,
11909
+ BaseTabs: om,
11910
+ BaseTabItem: im,
11840
11911
  BaseTagAutocomplete: zo,
11841
11912
  BaseTagAutocompleteFetch: Uo,
11842
11913
  BaseTable: Fo,
11843
11914
  BaseTableColumn: Po,
11844
- BaseTextarea: lm,
11845
- BaseTextareaAutoresize: sm,
11915
+ BaseTextarea: cm,
11916
+ BaseTextareaAutoresize: fm,
11846
11917
  BaseLayoutStacked: Qo,
11847
- BaseLayoutStackedConfigurable: Am,
11918
+ BaseLayoutStackedConfigurable: Om,
11848
11919
  BaseLayoutSidebar: Zo,
11849
- BaseLayoutSidebarConfigurable: np
11850
- }, Symbol.toStringTag, { value: "Module" })), rp = {
11920
+ BaseLayoutSidebarConfigurable: sp
11921
+ }, Symbol.toStringTag, { value: "Module" })), ip = {
11851
11922
  and: "and",
11852
11923
  apply_filters: "Apply filters",
11853
11924
  autocomplete_placeholder: "Type to start your search",
@@ -11909,8 +11980,8 @@ const fm = Yo.exports, mm = ["innerHTML"], pm = {
11909
11980
  you_can_upload_up_to_n_files: "You can upload one file at most|You can upload up to {count} files",
11910
11981
  you_cannot_select_more_than_x_items: "You can't select more than one item|You can't select more than {count} items"
11911
11982
  }, Xo = {
11912
- sui: rp
11913
- }, op = {
11983
+ sui: ip
11984
+ }, up = {
11914
11985
  and: "et",
11915
11986
  apply_filters: "Appliquer les filtres",
11916
11987
  autocomplete_placeholder: "Tapez pour lancer votre recherche",
@@ -11975,12 +12046,12 @@ Cette action est irr\xE9versible.`,
11975
12046
  you_can_upload_up_to_n_files: "Vous pouvez t\xE9l\xE9charger un fichier au maximum|Vous pouvez t\xE9l\xE9charger jusqu'\xE0 {count}\xA0fichiers",
11976
12047
  you_cannot_select_more_than_x_items: "Vous ne pouvez pas s\xE9lectionner plus de un \xE9l\xE9ment|Vous ne pouvez pas s\xE9lectionner plus de {count} \xE9l\xE9ments"
11977
12048
  }, el = {
11978
- sui: op
12049
+ sui: up
11979
12050
  };
11980
- const lp = 100, yp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
12051
+ const cp = 100, Sp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
11981
12052
  __proto__: null,
11982
- MAGIC_NUM: lp
11983
- }, Symbol.toStringTag, { value: "Module" })), bp = { en: Xo, fr: el }, be = {
12053
+ MAGIC_NUM: cp
12054
+ }, Symbol.toStringTag, { value: "Module" })), $p = { en: Xo, fr: el }, be = {
11984
12055
  i18n: pl({
11985
12056
  locale: "en",
11986
12057
  fallbackLocale: "en",
@@ -11998,14 +12069,14 @@ const lp = 100, yp = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.define
11998
12069
  return sr.parse(e);
11999
12070
  }
12000
12071
  };
12001
- function ap(e, n) {
12072
+ function dp(e, n) {
12002
12073
  for (const r in Ir)
12003
12074
  e.component(r, Ir[r]);
12004
12075
  n != null && n.i18n && (be.i18n = n.i18n), n != null && n.http && (be.http = n.http), n != null && n.upload_url && (be.upload_url = n.upload_url), n != null && n.formatQueryString && (be.formatQueryString = n.formatQueryString), n != null && n.parseQueryString && (be.parseQueryString = n.parseQueryString);
12005
12076
  }
12006
- const wp = { install: ap };
12077
+ const Cp = { install: dp };
12007
12078
  export {
12008
- zn as BaseActionItem,
12079
+ Un as BaseActionItem,
12009
12080
  Or as BaseAlert,
12010
12081
  Ua as BaseApp,
12011
12082
  Xr as BaseAppDialogs,
@@ -12039,11 +12110,11 @@ export {
12039
12110
  Id as BaseInput,
12040
12111
  Ld as BaseInputLabel,
12041
12112
  Zo as BaseLayoutSidebar,
12042
- np as BaseLayoutSidebarConfigurable,
12113
+ sp as BaseLayoutSidebarConfigurable,
12043
12114
  Qo as BaseLayoutStacked,
12044
- Am as BaseLayoutStackedConfigurable,
12115
+ Om as BaseLayoutStackedConfigurable,
12045
12116
  No as BaseLoadingCover,
12046
- Vn as BaseMediaItem,
12117
+ Nn as BaseMediaItem,
12047
12118
  Yd as BaseMediaLibrary,
12048
12119
  qo as BaseMediaPreview,
12049
12120
  kt as BaseMenu,
@@ -12057,30 +12128,31 @@ export {
12057
12128
  mf as BasePanel,
12058
12129
  bf as BasePassword,
12059
12130
  Bf as BaseProgressCircle,
12060
- If as BaseReadMore,
12061
- Ef as BaseSelect,
12062
- Ff as BaseSideNavigation,
12063
- Vf as BaseSideNavigationItem,
12131
+ Tf as BaseRadioGroup,
12132
+ Mf as BaseReadMore,
12133
+ jf as BaseSelect,
12134
+ zf as BaseSideNavigation,
12135
+ qf as BaseSideNavigationItem,
12064
12136
  ht as BaseSkeleton,
12065
- Uf as BaseSwitch,
12137
+ Wf as BaseSwitch,
12066
12138
  lr as BaseSystemAlert,
12067
- rm as BaseTabItem,
12139
+ im as BaseTabItem,
12068
12140
  Fo as BaseTable,
12069
12141
  Po as BaseTableColumn,
12070
- Xf as BaseTabs,
12142
+ om as BaseTabs,
12071
12143
  zo as BaseTagAutocomplete,
12072
12144
  Uo as BaseTagAutocompleteFetch,
12073
- lm as BaseTextarea,
12074
- sm as BaseTextareaAutoresize,
12075
- yp as MyConstants,
12145
+ cm as BaseTextarea,
12146
+ fm as BaseTextareaAutoresize,
12147
+ Sp as MyConstants,
12076
12148
  be as config,
12077
- wp as default,
12149
+ Cp as default,
12078
12150
  Jr as disableScroll,
12079
12151
  Zr as enableScroll,
12080
12152
  or as fileSizeFormat,
12081
- bp as messages,
12153
+ $p as messages,
12082
12154
  tu as toHumanList,
12083
- Qn as useDialogsStore,
12155
+ Yn as useDialogsStore,
12084
12156
  Ft as useNotificationsStore,
12085
12157
  Wo as useSystemAlertStore
12086
12158
  };