@aerogel/core 0.1.1-next.6005e06a52b9294023bae608af05bf826d281a4d → 0.1.1-next.67bc601cc533a1a67bccc4e35d9abb10108ced7c

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,13 +1,13 @@
1
1
  var jt = Object.defineProperty;
2
2
  var Ft = (t, s, e) => s in t ? jt(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
- var x = (t, s, e) => Ft(t, typeof s != "symbol" ? s + "" : s, e);
4
- import { markRaw as R, Comment as Ot, Text as Ut, Static as Nt, inject as Y, reactive as be, unref as l, onUnmounted as _e, ref as B, computed as d, readonly as Ce, nextTick as Wt, useAttrs as rt, onMounted as nt, watch as de, toRaw as Kt, customRef as Qt, watchEffect as ee, defineComponent as v, createBlock as g, openBlock as o, mergeProps as E, withCtx as f, renderSlot as $, createPropsRestProxy as W, provide as ae, createVNode as p, normalizeProps as pe, guardReactiveProps as me, createTextVNode as I, toDisplayString as C, normalizeClass as _, createElementBlock as y, Fragment as j, renderList as O, resolveDynamicComponent as te, useSlots as xe, createCommentVNode as V, createElementVNode as b, h as Zt, useTemplateRef as Z, withModifiers as at, withDirectives as lt, vModelCheckbox as Jt, normalizeStyle as Ue, resolveComponent as Gt, createApp as Xt, withKeys as Yt, vModelText as es } from "vue";
5
- import { JSError as ke, stringToSlug as ts, tap as se, MagicObject as ot, PromisedValue as J, Storage as K, objectOnly as le, arrayFrom as it, isEmpty as Ve, objectDeepClone as ss, fail as Q, facade as re, arrayRemove as Le, getEnv as rs, updateLocationQueryParameters as ns, forever as as, toString as F, objectWithout as ls, noop as os, debounce as is, stringMatchAll as ut, isDevelopment as G, isTesting as Re, after as ie, uuid as ce, isObject as ge, objectWithoutEmpty as ct, evaluate as us, isInstanceOf as Ne, stringExcerpt as cs, arraySorted as ds, ListenersManager as ps, toError as ms, round as fs } from "@noeldemartin/utils";
3
+ var k = (t, s, e) => Ft(t, typeof s != "symbol" ? s + "" : s, e);
4
+ import { markRaw as R, Comment as Ot, Text as Ut, Static as Nt, inject as Y, reactive as be, unref as l, onUnmounted as _e, ref as B, computed as d, readonly as Ce, nextTick as Wt, useAttrs as rt, onMounted as nt, watch as ae, toRaw as Kt, customRef as Qt, watchEffect as ee, defineComponent as v, createBlock as g, openBlock as o, mergeProps as E, withCtx as f, renderSlot as $, createPropsRestProxy as W, provide as le, createVNode as p, normalizeProps as pe, guardReactiveProps as me, createTextVNode as I, toDisplayString as C, normalizeClass as _, createElementBlock as w, Fragment as j, renderList as O, resolveDynamicComponent as te, useSlots as xe, createCommentVNode as V, createElementVNode as y, h as Zt, useTemplateRef as Z, withModifiers as at, withDirectives as lt, vModelCheckbox as Jt, normalizeStyle as Ue, resolveComponent as Gt, createApp as Xt, withKeys as Yt, vModelText as es } from "vue";
5
+ import { JSError as ke, stringToSlug as ts, tap as se, MagicObject as ot, PromisedValue as J, Storage as K, objectOnly as oe, arrayFrom as it, isEmpty as Ve, objectDeepClone as ss, fail as Q, facade as re, arrayRemove as Le, getEnv as rs, updateLocationQueryParameters as ns, forever as as, toString as F, objectWithout as ls, noop as os, debounce as is, stringMatchAll as ut, isDevelopment as G, isTesting as Re, after as ue, uuid as de, isObject as ge, objectWithoutEmpty as ct, evaluate as us, isInstanceOf as Ne, stringExcerpt as cs, arraySorted as ds, ListenersManager as ps, toError as ms, round as fs } from "@noeldemartin/utils";
6
6
  import U from "virtual:aerogel";
7
7
  import { createPinia as hs, setActivePinia as gs, defineStore as vs } from "pinia";
8
8
  import bs from "dompurify";
9
9
  import { marked as ys, Renderer as We } from "marked";
10
- import { injectModal as dt, useModal as ws, createModal as $s, showModal as Ke, closeModal as Qe, modals as oe, ModalComponent as _s, ModalsPortal as Cs } from "@noeldemartin/vue-modals";
10
+ import { injectModal as dt, useModal as ws, createModal as $s, showModal as Ke, closeModal as Qe, modals as ie, ModalComponent as _s, ModalsPortal as Cs } from "@noeldemartin/vue-modals";
11
11
  import { ModalComponent as Ho, ModalsPortal as Lo, closeModal as Io, createModal as Ro, injectModal as zo, modals as qo, showModal as Po } from "@noeldemartin/vue-modals";
12
12
  import xs from "clsx";
13
13
  import { cva as ks } from "class-variance-authority";
@@ -72,17 +72,17 @@ To fix this problem, declare your initialState as a function instead.`
72
72
  var r;
73
73
  return ((r = t.restore) == null ? void 0 : r.call(t, e)) ?? e;
74
74
  }
75
- }, x(s, "persist", t.persist ?? []), s;
75
+ }, k(s, "persist", t.persist ?? []), s;
76
76
  }
77
77
  var He;
78
78
  let Te = (He = class extends ot {
79
79
  constructor() {
80
80
  super();
81
- x(this, "_name");
82
- x(this, "_booted");
83
- x(this, "_computedStateKeys");
84
- x(this, "_watchers");
85
- x(this, "_store");
81
+ k(this, "_name");
82
+ k(this, "_booted");
83
+ k(this, "_computedStateKeys");
84
+ k(this, "_watchers");
85
+ k(this, "_store");
86
86
  const e = this.getComputedStateDefinition();
87
87
  this._name = this.getName() ?? new.target.name, this._booted = new J(), this._computedStateKeys = new Set(Object.keys(e)), this._watchers = this.getStateWatchers(), this._store = this.usesStore() && mr(this._name, {
88
88
  state: () => this.getInitialState(),
@@ -118,13 +118,13 @@ let Te = (He = class extends ot {
118
118
  setState(e, r) {
119
119
  if (!this._store)
120
120
  return;
121
- const n = typeof e == "string" ? { [e]: r } : e, a = le(this._store.$state, Object.keys(n));
121
+ const n = typeof e == "string" ? { [e]: r } : e, a = oe(this._store.$state, Object.keys(n));
122
122
  Object.assign(this._store.$state, n), this.onStateUpdated(n, a);
123
123
  }
124
124
  updatePersistedState(e) {
125
125
  if (!this._store)
126
126
  return;
127
- const r = it(e), n = le(this._store.$state, r);
127
+ const r = it(e), n = oe(this._store.$state, r);
128
128
  Ve(n) || this.onPersistentStateUpdated(n);
129
129
  }
130
130
  __get(e) {
@@ -137,7 +137,7 @@ let Te = (He = class extends ot {
137
137
  return `${cr()}:${this._name}`;
138
138
  }
139
139
  onStateUpdated(e, r) {
140
- const n = le(e, this.static("persist"));
140
+ const n = oe(e, this.static("persist"));
141
141
  Ve(n) || this.onPersistentStateUpdated(n);
142
142
  for (const a in e) {
143
143
  const u = this._watchers[a];
@@ -184,13 +184,13 @@ let Te = (He = class extends ot {
184
184
  this.setState(this.deserializePersistedState(e));
185
185
  return;
186
186
  }
187
- K.set(this.storageKey, le(this.getState(), this.static("persist")));
187
+ K.set(this.storageKey, oe(this.getState(), this.static("persist")));
188
188
  }
189
189
  }
190
190
  requireStore() {
191
191
  return this._store ? this._store : Q(`Failed getting '${this._name}' store`);
192
192
  }
193
- }, x(He, "persist", []), He);
193
+ }, k(He, "persist", []), He);
194
194
  const Fl = {
195
195
  Low: -256,
196
196
  Default: 0,
@@ -199,7 +199,7 @@ const Fl = {
199
199
  class fr extends Te {
200
200
  constructor() {
201
201
  super(...arguments);
202
- x(this, "listeners", {});
202
+ k(this, "listeners", {});
203
203
  }
204
204
  async boot() {
205
205
  Object.entries(globalThis.__aerogelEvents__ ?? {}).forEach(([e, r]) => (
@@ -246,7 +246,7 @@ class fr extends Te {
246
246
  const a = r.priority ?? 0;
247
247
  e in this.listeners || (this.listeners[e] = { priorities: [], handlers: {} });
248
248
  const u = ((c = this.listeners[e]) == null ? void 0 : c.priorities) ?? Q(`priorities missing for event '${e}'`), i = ((m = this.listeners[e]) == null ? void 0 : m.handlers) ?? Q(`handlers missing for event '${e}'`);
249
- u.includes(a) || (u.push(a), u.sort((w, S) => S - w), i[a] = []), (h = i[a]) == null || h.push(n);
249
+ u.includes(a) || (u.push(a), u.sort((b, x) => x - b), i[a] = []), (h = i[a]) == null || h.push(n);
250
250
  }
251
251
  }
252
252
  const N = re(fr);
@@ -279,9 +279,9 @@ const hr = Se({
279
279
  class gr extends hr {
280
280
  constructor() {
281
281
  super(...arguments);
282
- x(this, "name", U.name);
283
- x(this, "ready", new J());
284
- x(this, "mounted", new J());
282
+ k(this, "name", U.name);
283
+ k(this, "ready", new J());
284
+ k(this, "mounted", new J());
285
285
  }
286
286
  isReady() {
287
287
  return this.ready.isResolved();
@@ -361,9 +361,9 @@ const Ee = /* @__PURE__ */ new WeakMap(), $r = {
361
361
  };
362
362
  function ht(t, s) {
363
363
  const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, u = ks(n, a);
364
- return k(u(r), l(e));
364
+ return S(u(r), l(e));
365
365
  }
366
- function k(...t) {
366
+ function S(...t) {
367
367
  return Ss(xs(t));
368
368
  }
369
369
  function Wl(t, s) {
@@ -408,12 +408,12 @@ const Ql = Symbol(), Je = /* @__PURE__ */ new WeakMap();
408
408
  class Sr extends ot {
409
409
  constructor(e) {
410
410
  super();
411
- x(this, "errors");
412
- x(this, "_fields");
413
- x(this, "_data");
414
- x(this, "_submitted");
415
- x(this, "_errors");
416
- x(this, "_listeners", {});
411
+ k(this, "errors");
412
+ k(this, "_fields");
413
+ k(this, "_data");
414
+ k(this, "_submitted");
415
+ k(this, "_errors");
416
+ k(this, "_listeners", {});
417
417
  this._fields = e, this._submitted = B(!1), this._data = this.getInitialData(e), this._errors = this.getInitialErrors(e), Je.set(
418
418
  this,
419
419
  d(() => !Object.values(this._errors).some((r) => r !== null))
@@ -529,7 +529,7 @@ function Zl(t) {
529
529
  }
530
530
  function Jl(t, s) {
531
531
  const e = be(K.get(t) ?? s);
532
- return de(e, () => K.set(t, Kt(e))), e;
532
+ return ae(e, () => K.set(t, Kt(e))), e;
533
533
  }
534
534
  function Tr(t) {
535
535
  let s = new Set(t), e, r;
@@ -560,13 +560,13 @@ function Tr(t) {
560
560
  }
561
561
  function Gl(t) {
562
562
  const s = B(), e = d(t);
563
- return de(e, async () => s.value = await e.value, { immediate: !0 }), s;
563
+ return ae(e, async () => s.value = await e.value, { immediate: !0 }), s;
564
564
  }
565
565
  function Xl(t, s) {
566
566
  const e = s ? t : {}, r = s ?? t, n = B(e.initial ?? null), a = is((u) => n.value = u, e.delay ?? 300);
567
567
  return ee(() => a(r())), n;
568
568
  }
569
- let ue = null;
569
+ let ce = null;
570
570
  function Mr() {
571
571
  return se(new We(), (t) => {
572
572
  t.link = function(s) {
@@ -584,16 +584,16 @@ function Vr(t) {
584
584
  function Er(t) {
585
585
  const s = ut(t, /<a[^>]*href="#route:([^"]+)"[^>]*>([^<]+)<\/a>/g);
586
586
  for (const [e, r, n] of s) {
587
- const a = (ue == null ? void 0 : ue.resolve(r)) ?? r;
587
+ const a = (ce == null ? void 0 : ce.resolve(r)) ?? r;
588
588
  t = t.replace(e, `<a data-markdown-route="${r}" href="${a}">${n}</a>`);
589
589
  }
590
590
  return t;
591
591
  }
592
592
  function Hr() {
593
- return ue;
593
+ return ce;
594
594
  }
595
595
  function Yl(t) {
596
- ue = t;
596
+ ce = t;
597
597
  }
598
598
  function Lr(t) {
599
599
  let s = ys(t, { renderer: Mr(), async: !1 });
@@ -622,7 +622,7 @@ const Ir = 6e4, Ge = -(/* @__PURE__ */ new Date()).getTimezoneOffset() * -Ir, Rr
622
622
  class Pr extends Te {
623
623
  constructor() {
624
624
  super(...arguments);
625
- x(this, "cache");
625
+ k(this, "cache");
626
626
  }
627
627
  async get(e) {
628
628
  return await (await this.open()).match(e) ?? null;
@@ -650,7 +650,7 @@ const yt = re(Ar);
650
650
  function to(t, s) {
651
651
  return {
652
652
  ...t,
653
- ...le(s, Object.keys(t))
653
+ ...oe(s, Object.keys(t))
654
654
  };
655
655
  }
656
656
  const Dr = {
@@ -683,7 +683,7 @@ function Ae() {
683
683
  return Xe.add(t), {
684
684
  ...r,
685
685
  async close(n) {
686
- s(n), await ie(1e3), e();
686
+ s(n), await ue(1e3), e();
687
687
  }
688
688
  };
689
689
  }
@@ -708,7 +708,7 @@ const jr = Se({
708
708
  class Fr extends jr {
709
709
  constructor() {
710
710
  super(...arguments);
711
- x(this, "components", {});
711
+ k(this, "components", {});
712
712
  }
713
713
  registerComponent(e, r) {
714
714
  this.components[e] = r;
@@ -739,14 +739,14 @@ class Fr extends jr {
739
739
  message: r,
740
740
  required: !!(n != null && n.required)
741
741
  }, { response: i } = await this.modal(this.requireComponent("confirm-modal"), u), c = typeof i == "object" ? i[0] : i ?? !1, m = typeof i == "object" ? i[1] : Object.entries(u.checkboxes ?? {}).reduce(
742
- (h, [w, { default: S }]) => ({
743
- [w]: S ?? !1,
742
+ (h, [b, { default: x }]) => ({
743
+ [b]: x ?? !1,
744
744
  ...h
745
745
  }),
746
746
  {}
747
747
  );
748
- for (const [h, w] of Object.entries(u.checkboxes ?? {}))
749
- if (!(!w.required || m[h]))
748
+ for (const [h, b] of Object.entries(u.checkboxes ?? {}))
749
+ if (!(!b.required || m[h]))
750
750
  return c && G() && console.warn(`Confirmed confirm modal was suppressed because required '${h}' checkbox was missing`), [!1, m];
751
751
  return "checkboxes" in u ? [c, m] : c;
752
752
  }
@@ -762,7 +762,7 @@ class Fr extends jr {
762
762
  return (a && typeof i == "string" ? i == null ? void 0 : i.trim() : i) ?? null;
763
763
  }
764
764
  async loading(e, r) {
765
- const n = (w) => typeof w == "function" ? Promise.resolve(w()) : w, a = () => {
765
+ const n = (b) => typeof b == "function" ? Promise.resolve(b()) : b, a = () => {
766
766
  if (typeof e == "string")
767
767
  return {
768
768
  props: { message: e },
@@ -770,29 +770,29 @@ class Fr extends jr {
770
770
  };
771
771
  if (typeof e == "function" || e instanceof Promise)
772
772
  return { operationPromise: n(e) };
773
- const { delay: w, ...S } = e;
773
+ const { delay: b, ...x } = e;
774
774
  return {
775
- props: S,
776
- delay: l(w),
775
+ props: x,
776
+ delay: l(b),
777
777
  operationPromise: n(r)
778
778
  };
779
779
  };
780
780
  let u = !1;
781
781
  const { operationPromise: i, props: c, delay: m } = a();
782
- if (m && await Promise.race([ie({ ms: m }).then(() => u = !0), i]), m && !u)
782
+ if (m && await Promise.race([ue({ ms: m }).then(() => u = !0), i]), m && !u)
783
783
  return i;
784
784
  const h = $s(this.requireComponent("loading-modal"), c);
785
785
  Ke(h);
786
786
  try {
787
- const w = await i;
788
- return await ie({ ms: 500 }), w;
787
+ const b = await i;
788
+ return await ue({ ms: 500 }), b;
789
789
  } finally {
790
790
  await Qe(h.id, { removeAfter: 1e3 });
791
791
  }
792
792
  }
793
793
  toast(e, r = {}) {
794
794
  const { component: n, ...a } = r, u = {
795
- id: ce(),
795
+ id: de(),
796
796
  properties: { message: e, ...a },
797
797
  component: R(n ?? this.requireComponent("toast"))
798
798
  };
@@ -802,7 +802,7 @@ class Fr extends jr {
802
802
  return Ke(e, r ?? {});
803
803
  }
804
804
  async closeAllModals() {
805
- await Promise.all(oe.value.map(({ id: e }) => Qe(e, { removeAfter: 1e3 })));
805
+ await Promise.all(ie.value.map(({ id: e }) => Qe(e, { removeAfter: 1e3 })));
806
806
  }
807
807
  async boot() {
808
808
  this.watchMountedEvent(), this.watchViewportBreakpoints();
@@ -812,7 +812,7 @@ class Fr extends jr {
812
812
  if (!globalThis.document || !globalThis.getComputedStyle)
813
813
  return;
814
814
  const e = globalThis.document.getElementById("splash");
815
- e && (globalThis.getComputedStyle(e).opacity !== "0" && (e.style.opacity = "0", await ie({ ms: 600 })), e.remove());
815
+ e && (globalThis.getComputedStyle(e).opacity !== "0" && (e.style.opacity = "0", await ue({ ms: 600 })), e.remove());
816
816
  });
817
817
  }
818
818
  watchViewportBreakpoints() {
@@ -860,7 +860,7 @@ const Ur = Se({
860
860
  class Nr extends Ur {
861
861
  constructor() {
862
862
  super();
863
- x(this, "provider");
863
+ k(this, "provider");
864
864
  this.provider = new Or(
865
865
  this.getState("locale") ?? this.getBrowserLocale(),
866
866
  this.getState("fallbackLocale")
@@ -905,10 +905,10 @@ const X = re(Nr), _t = X.translate.bind(X), T = X.translateWithDefault.bind(X),
905
905
  class Kr extends Wr {
906
906
  constructor() {
907
907
  super(...arguments);
908
- x(this, "forceReporting", !1);
909
- x(this, "enabled", !0);
910
- x(this, "eruda", null);
911
- x(this, "erudaPlugins", null);
908
+ k(this, "forceReporting", !1);
909
+ k(this, "enabled", !0);
910
+ k(this, "eruda", null);
911
+ k(this, "erudaPlugins", null);
912
912
  }
913
913
  enable() {
914
914
  this.enabled = !0;
@@ -1178,10 +1178,10 @@ function Qr(t) {
1178
1178
  }
1179
1179
  function kt(t, s) {
1180
1180
  const e = Y("form", null), r = (h) => h === void 0 ? "" : t.value.renderOption ? t.value.renderOption(h) : Qr(h) ? us(h.label) : F(h), n = d(() => {
1181
- const { name: h, modelValue: w } = t.value;
1182
- return e && h ? e.getFieldValue(h) : w;
1181
+ const { name: h, modelValue: b } = t.value;
1182
+ return e && h ? e.getFieldValue(h) : b;
1183
1183
  }), a = d(() => n.value), u = d(() => !e || !t.value.name ? null : e.errors[t.value.name] ?? null), i = d(() => t.value.options ? t.value.options.map((h) => ({
1184
- key: ce(),
1184
+ key: de(),
1185
1185
  label: r(h),
1186
1186
  value: h
1187
1187
  })) : null), c = {
@@ -1191,7 +1191,7 @@ function kt(t, s) {
1191
1191
  align: d(() => t.value.align),
1192
1192
  side: d(() => t.value.side),
1193
1193
  value: n,
1194
- id: `select-${ce()}`,
1194
+ id: `select-${de()}`,
1195
1195
  name: d(() => t.value.name),
1196
1196
  label: d(() => t.value.label),
1197
1197
  description: d(() => t.value.description),
@@ -1199,7 +1199,7 @@ function kt(t, s) {
1199
1199
  options: i,
1200
1200
  selectedOption: d(() => {
1201
1201
  var h;
1202
- return (h = i.value) == null ? void 0 : h.find((w) => w.value === t.value.modelValue);
1202
+ return (h = i.value) == null ? void 0 : h.find((b) => b.value === t.value.modelValue);
1203
1203
  }),
1204
1204
  errors: Ce(u),
1205
1205
  required: d(() => {
@@ -1217,7 +1217,7 @@ function kt(t, s) {
1217
1217
  function m(h) {
1218
1218
  c.update(h);
1219
1219
  }
1220
- return ae("select", c), { expose: c, acceptableValue: a, update: m, renderOption: r };
1220
+ return le("select", c), { expose: c, acceptableValue: a, update: m, renderOption: r };
1221
1221
  }
1222
1222
  const St = /* @__PURE__ */ v({
1223
1223
  __name: "HeadlessSelectValue",
@@ -1302,7 +1302,7 @@ const St = /* @__PURE__ */ v({
1302
1302
  const s = H(
1303
1303
  "select",
1304
1304
  "<HeadlessSelectOptions> must be a child of a <HeadlessSelect>"
1305
- ), e = d(() => k("min-w-(--reka-select-trigger-width) max-h-(--reka-select-content-available-height)", t.class));
1305
+ ), e = d(() => S("min-w-(--reka-select-trigger-width) max-h-(--reka-select-content-available-height)", t.class));
1306
1306
  return (r, n) => (o(), g(l(Ls), null, {
1307
1307
  default: f(() => [
1308
1308
  p(l(Is), {
@@ -1318,7 +1318,7 @@ const St = /* @__PURE__ */ v({
1318
1318
  }, {
1319
1319
  default: f(() => [
1320
1320
  $(r.$slots, "default", {}, () => [
1321
- (o(!0), y(j, null, O(l(s).options ?? [], (a) => (o(), g(Mt, {
1321
+ (o(!0), w(j, null, O(l(s).options ?? [], (a) => (o(), g(Mt, {
1322
1322
  key: a.key,
1323
1323
  value: a.value
1324
1324
  }, null, 8, ["value"]))), 128))
@@ -1408,7 +1408,7 @@ const St = /* @__PURE__ */ v({
1408
1408
  class: {}
1409
1409
  },
1410
1410
  setup(t) {
1411
- const s = H("select", "<SelectLabel> must be a child of a <Select>"), e = d(() => k("block text-sm leading-6 font-medium text-gray-900", s.labelClass, t.class));
1411
+ const s = H("select", "<SelectLabel> must be a child of a <Select>"), e = d(() => S("block text-sm leading-6 font-medium text-gray-900", s.labelClass, t.class));
1412
1412
  return (r, n) => r.$slots.default ? (o(), g(Ye, {
1413
1413
  key: 0,
1414
1414
  class: _(e.value)
@@ -1430,7 +1430,7 @@ const St = /* @__PURE__ */ v({
1430
1430
  innerClass: {}
1431
1431
  },
1432
1432
  setup(t) {
1433
- const s = d(() => k("group p-1 outline-none", t.class)), e = d(() => k(
1433
+ const s = d(() => S("group p-1 outline-none", t.class)), e = d(() => S(
1434
1434
  // eslint-disable-next-line vue/max-len
1435
1435
  "relative flex max-w-[calc(100vw-2rem)] cursor-pointer items-center truncate rounded-md gap-2 px-2 py-1 text-sm select-none *:truncate group-data-[highlighted]:bg-gray-100 group-data-[state=checked]:font-semibold group-data-[state=unchecked]:opacity-50",
1436
1436
  t.innerClass
@@ -1440,7 +1440,7 @@ const St = /* @__PURE__ */ v({
1440
1440
  value: r.value
1441
1441
  }, {
1442
1442
  default: f(() => [
1443
- b("div", {
1443
+ y("div", {
1444
1444
  class: _(e.value)
1445
1445
  }, [
1446
1446
  $(r.$slots, "default")
@@ -1455,7 +1455,7 @@ const St = /* @__PURE__ */ v({
1455
1455
  class: {}
1456
1456
  },
1457
1457
  setup(t) {
1458
- const s = H("select", "<SelectOptions> must be a child of a <Select>"), e = d(() => k(
1458
+ const s = H("select", "<SelectOptions> must be a child of a <Select>"), e = d(() => S(
1459
1459
  "z-50 overflow-auto rounded-lg bg-white text-base shadow-lg ring-1 ring-black/5 focus:outline-hidden",
1460
1460
  s.optionsClass,
1461
1461
  t.class
@@ -1469,7 +1469,7 @@ const St = /* @__PURE__ */ v({
1469
1469
  (a = l(s).options) != null && a.length ? $(r.$slots, "default", { key: 0 }, () => {
1470
1470
  var u;
1471
1471
  return [
1472
- (o(!0), y(j, null, O(((u = l(s)) == null ? void 0 : u.options) ?? [], (i) => (o(), g(et, {
1472
+ (o(!0), w(j, null, O(((u = l(s)) == null ? void 0 : u.options) ?? [], (i) => (o(), g(et, {
1473
1473
  key: i.key,
1474
1474
  value: i.value
1475
1475
  }, {
@@ -1501,8 +1501,8 @@ const St = /* @__PURE__ */ v({
1501
1501
  height: "1.2em"
1502
1502
  };
1503
1503
  function Gr(t, s) {
1504
- return o(), y("svg", Jr, s[0] || (s[0] = [
1505
- b("path", {
1504
+ return o(), w("svg", Jr, s[0] || (s[0] = [
1505
+ y("path", {
1506
1506
  fill: "currentColor",
1507
1507
  d: "m9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828L5.757 6.586L4.343 8z"
1508
1508
  }, null, -1)
@@ -1514,7 +1514,7 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1514
1514
  class: {}
1515
1515
  },
1516
1516
  setup(t) {
1517
- const s = H("select", "<SelectTrigger> must be a child of a <Select>"), e = d(() => k(
1517
+ const s = H("select", "<SelectTrigger> must be a child of a <Select>"), e = d(() => S(
1518
1518
  // eslint-disable-next-line vue/max-len
1519
1519
  "focus:outline-primary-600 data-[state=open]:outline-primary-600 grid w-full cursor-default grid-cols-1 rounded-md bg-white py-1.5 pr-2 pl-3 text-left text-gray-900 outline-1 -outline-offset-1 outline-gray-300 focus:outline-2 focus:-outline-offset-2 sm:text-sm/6",
1520
1520
  { "mt-1": s.label },
@@ -1581,7 +1581,7 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1581
1581
  "render-option": r
1582
1582
  }, {
1583
1583
  default: f(() => [
1584
- b("div", en, [
1584
+ y("div", en, [
1585
1585
  p(Et, { class: "text-base font-semibold" }, {
1586
1586
  default: f(() => [
1587
1587
  I(C(n.$td("settings.locale", "Language")), 1)
@@ -1645,8 +1645,8 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1645
1645
  return;
1646
1646
  }
1647
1647
  if (Ne(c, HTMLAnchorElement) && c.dataset.markdownRoute) {
1648
- const w = Hr();
1649
- w && (i.preventDefault(), w.visit(c.dataset.markdownRoute));
1648
+ const b = Hr();
1649
+ b && (i.preventDefault(), b.visit(c.dataset.markdownRoute));
1650
1650
  return;
1651
1651
  }
1652
1652
  }
@@ -1667,12 +1667,12 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1667
1667
  layout: { default: "horizontal" }
1668
1668
  },
1669
1669
  setup(t) {
1670
- const s = d(() => k(t.class, "flex flex-col justify-center gap-1"));
1671
- return (e, r) => (o(), y("div", {
1670
+ const s = d(() => S(t.class, "flex flex-col justify-center gap-1"));
1671
+ return (e, r) => (o(), w("div", {
1672
1672
  class: _(["mt-4 flex", { "flex-col": e.layout === "vertical" }])
1673
1673
  }, [
1674
- b("div", on, [
1675
- b("h3", {
1674
+ y("div", on, [
1675
+ y("h3", {
1676
1676
  id: e.titleId,
1677
1677
  class: "text-base font-semibold"
1678
1678
  }, C(e.title), 9, un),
@@ -1682,7 +1682,7 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1682
1682
  class: "mt-1 text-sm text-gray-500"
1683
1683
  }, null, 8, ["text"])) : V("", !0)
1684
1684
  ]),
1685
- b("div", {
1685
+ y("div", {
1686
1686
  class: _(s.value)
1687
1687
  }, [
1688
1688
  $(e.$slots, "default")
@@ -1705,7 +1705,7 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1705
1705
  emits: ["update:modelValue"],
1706
1706
  setup(t, { expose: s, emit: e }) {
1707
1707
  const r = e, n = Y("form", null), a = d(() => !n || !t.name ? null : n.errors[t.name] ?? null), u = {
1708
- id: `switch-${ce()}`,
1708
+ id: `switch-${de()}`,
1709
1709
  name: d(() => t.name),
1710
1710
  label: d(() => t.label),
1711
1711
  description: d(() => t.description),
@@ -1725,10 +1725,10 @@ const Xr = R({ name: "zondicons-cheveron-down", render: Gr }), Lt = /* @__PURE__
1725
1725
  };
1726
1726
  return s(u), ee(() => {
1727
1727
  !t.description && !a.value || console.warn("Errors and description not implemented in <HeadlessSwitch>");
1728
- }), (i, c) => (o(), y("div", {
1728
+ }), (i, c) => (o(), w("div", {
1729
1729
  class: _(t.class)
1730
1730
  }, [
1731
- i.label ? (o(), y("label", {
1731
+ i.label ? (o(), w("label", {
1732
1732
  key: 0,
1733
1733
  for: u.id,
1734
1734
  class: _(i.labelClass)
@@ -1818,8 +1818,8 @@ const yn = {
1818
1818
  height: "1.2em"
1819
1819
  };
1820
1820
  function _n(t, s) {
1821
- return o(), y("svg", $n, s[0] || (s[0] = [
1822
- b("path", {
1821
+ return o(), w("svg", $n, s[0] || (s[0] = [
1822
+ y("path", {
1823
1823
  fill: "currentColor",
1824
1824
  d: "M10 8.586L2.929 1.515L1.515 2.929L8.586 10l-7.071 7.071l1.414 1.414L10 11.414l7.071 7.071l1.414-1.414L11.414 10l7.071-7.071l-1.414-1.414z"
1825
1825
  }, null, -1)
@@ -1840,7 +1840,7 @@ const Cn = R({ name: "zondicons-close", render: _n }), xn = /* @__PURE__ */ v({
1840
1840
  const e = B(null), { close: r } = Ae();
1841
1841
  s({ $content: e });
1842
1842
  const { forwardRef: n } = ze();
1843
- return ae("$modalContentRef", e), (a, u) => (o(), g(l(As), {
1843
+ return le("$modalContentRef", e), (a, u) => (o(), g(l(As), {
1844
1844
  ref: l(n),
1845
1845
  open: "",
1846
1846
  "onUpdate:open": u[0] || (u[0] = (i) => a.persistent || i || l(r)())
@@ -1939,13 +1939,13 @@ const Cn = R({ name: "zondicons-close", render: _n }), xn = /* @__PURE__ */ v({
1939
1939
  const { forwardRef: r, currentRef: n } = ze(), { id: a, visible: u } = Ae(), i = n, c = dt(), m = d(
1940
1940
  () => {
1941
1941
  var M;
1942
- return u.value && ((M = oe.value.toReversed().find((je) => je.visible.value)) == null ? void 0 : M.id) === a.value;
1942
+ return u.value && ((M = ie.value.toReversed().find((je) => je.visible.value)) == null ? void 0 : M.id) === a.value;
1943
1943
  }
1944
- ), h = d(() => oe.value.find((M) => M.visible.value)), w = d(() => oe.value.some((M) => he.has(M))), S = d(() => t.description ? {} : { "aria-describedby": void 0 }), L = d(() => k(
1944
+ ), h = d(() => ie.value.find((M) => M.visible.value)), b = d(() => ie.value.some((M) => he.has(M))), x = d(() => t.description ? {} : { "aria-describedby": void 0 }), L = d(() => S(
1945
1945
  "overflow-auto px-4 pb-4 flex flex-col flex-1",
1946
1946
  { "pt-4": !t.title || t.titleHidden, "max-h-[90vh]": !A.value },
1947
1947
  t.class
1948
- )), A = d(() => t.fullscreen || t.fullscreenOnMobile && D.mobile), Bt = d(() => k(
1948
+ )), A = d(() => t.fullscreen || t.fullscreenOnMobile && D.mobile), Bt = d(() => S(
1949
1949
  "isolate fixed z-50 flex flex-col overflow-hidden bg-white text-left duration-300",
1950
1950
  A.value ? [
1951
1951
  "inset-0 transition-[transform,translate] will-change-[transform,translate]",
@@ -1960,7 +1960,7 @@ const Cn = R({ name: "zondicons-close", render: _n }), xn = /* @__PURE__ */ v({
1960
1960
  ],
1961
1961
  t.wrapperClass
1962
1962
  ));
1963
- return nt(() => ie(500).then(() => he.add(c.value))), (M, je) => (o(), g(xn, E(e, {
1963
+ return nt(() => ue(500).then(() => he.add(c.value))), (M, je) => (o(), g(xn, E(e, {
1964
1964
  ref: (fe) => l(r)(fe),
1965
1965
  persistent: M.persistent
1966
1966
  }), {
@@ -1969,24 +1969,24 @@ const Cn = R({ name: "zondicons-close", render: _n }), xn = /* @__PURE__ */ v({
1969
1969
  return [
1970
1970
  p(Tn, {
1971
1971
  class: _(["fixed inset-0 transition-opacity duration-300 will-change-[opacity]", {
1972
- "animate-[fade-in_var(--tw-duration)_ease-in-out]": !w.value,
1973
- "bg-black/30": ((Fe = h.value) == null ? void 0 : Fe.id) === l(a) || !h.value && ((Oe = l(oe)[0]) == null ? void 0 : Oe.id) === l(a),
1972
+ "animate-[fade-in_var(--tw-duration)_ease-in-out]": !b.value,
1973
+ "bg-black/30": ((Fe = h.value) == null ? void 0 : Fe.id) === l(a) || !h.value && ((Oe = l(ie)[0]) == null ? void 0 : Oe.id) === l(a),
1974
1974
  "opacity-0": !h.value,
1975
1975
  hidden: A.value
1976
1976
  }])
1977
1977
  }, null, 8, ["class"]),
1978
- p(kn, E(S.value, { class: Bt.value }), {
1978
+ p(kn, E(x.value, { class: Bt.value }), {
1979
1979
  default: f(() => [
1980
- !M.persistent && !M.closeHidden ? (o(), y("div", {
1980
+ !M.persistent && !M.closeHidden ? (o(), w("div", {
1981
1981
  key: 0,
1982
1982
  class: _(["absolute top-0 right-0 pt-3.5 pr-2.5", { "hidden sm:block": !A.value }])
1983
1983
  }, [
1984
- b("button", {
1984
+ y("button", {
1985
1985
  type: "button",
1986
1986
  class: "clickable z-10 rounded-full p-2.5 text-gray-400 hover:text-gray-500",
1987
1987
  onClick: (Ml) => fe()
1988
1988
  }, [
1989
- b("span", En, C(M.$td("ui.close", "Close")), 1),
1989
+ y("span", En, C(M.$td("ui.close", "Close")), 1),
1990
1990
  p(l(Cn), { class: "size-4" })
1991
1991
  ], 8, Vn)
1992
1992
  ], 2)) : V("", !0),
@@ -2018,7 +2018,7 @@ const Cn = R({ name: "zondicons-close", render: _n }), xn = /* @__PURE__ */ v({
2018
2018
  ]),
2019
2019
  _: 1
2020
2020
  }, 8, ["class"])) : V("", !0),
2021
- b("div", {
2021
+ y("div", {
2022
2022
  class: _(L.value)
2023
2023
  }, [
2024
2024
  $(M.$slots, "default", { close: fe })
@@ -2066,7 +2066,7 @@ const Ln = /* @__PURE__ */ v({
2066
2066
  return ee((n) => {
2067
2067
  var a;
2068
2068
  e == null || e(), e = (a = t.form) == null ? void 0 : a.on("submit", () => r("submit")), n(() => e == null ? void 0 : e());
2069
- }), ae("form", t.form), (n, a) => (o(), y("form", {
2069
+ }), le("form", t.form), (n, a) => (o(), w("form", {
2070
2070
  onSubmit: a[0] || (a[0] = at((u) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
2071
2071
  }, [
2072
2072
  $(n.$slots, "default")
@@ -2116,29 +2116,29 @@ const Rn = {
2116
2116
  default: f(({ close: h }) => [
2117
2117
  p(zt, {
2118
2118
  form: l(r),
2119
- onSubmit: (w) => h([!0, l(r).data()])
2119
+ onSubmit: (b) => h([!0, l(r).data()])
2120
2120
  }, {
2121
2121
  default: f(() => [
2122
2122
  p(q, {
2123
2123
  text: c.message,
2124
2124
  actions: c.actions
2125
2125
  }, null, 8, ["text", "actions"]),
2126
- c.checkboxes ? (o(), y("ul", Rn, [
2127
- (o(!0), y(j, null, O(c.checkboxes, (w, S) => (o(), y("li", { key: S }, [
2128
- b("label", zn, [
2129
- lt(b("input", {
2130
- "onUpdate:modelValue": (L) => l(r)[S] = L,
2126
+ c.checkboxes ? (o(), w("ul", Rn, [
2127
+ (o(!0), w(j, null, O(c.checkboxes, (b, x) => (o(), w("li", { key: x }, [
2128
+ y("label", zn, [
2129
+ lt(y("input", {
2130
+ "onUpdate:modelValue": (L) => l(r)[x] = L,
2131
2131
  type: "checkbox",
2132
- required: w.required,
2132
+ required: b.required,
2133
2133
  class: "border-primary-600 text-primary-600 hover:bg-primary-50 hover:checked:bg-primary-500 focus:ring-primary-600 focus-visible:ring-primary-600 rounded border-2"
2134
2134
  }, null, 8, qn), [
2135
- [Jt, l(r)[S]]
2135
+ [Jt, l(r)[x]]
2136
2136
  ]),
2137
- b("span", Pn, C(w.label), 1)
2137
+ y("span", Pn, C(b.label), 1)
2138
2138
  ])
2139
2139
  ]))), 128))
2140
2140
  ])) : V("", !0),
2141
- b("div", An, [
2141
+ y("div", An, [
2142
2142
  p(z, {
2143
2143
  variant: c.acceptVariant,
2144
2144
  submit: ""
@@ -2151,7 +2151,7 @@ const Rn = {
2151
2151
  c.required ? V("", !0) : (o(), g(z, {
2152
2152
  key: 0,
2153
2153
  variant: c.cancelVariant,
2154
- onClick: (w) => h(!1)
2154
+ onClick: (b) => h(!1)
2155
2155
  }, {
2156
2156
  default: f(() => [
2157
2157
  I(C(l(i)), 1)
@@ -2172,8 +2172,8 @@ const Rn = {
2172
2172
  height: "1.2em"
2173
2173
  };
2174
2174
  function jn(t, s) {
2175
- return o(), y("svg", Bn, s[0] || (s[0] = [
2176
- b("path", {
2175
+ return o(), w("svg", Bn, s[0] || (s[0] = [
2176
+ y("path", {
2177
2177
  fill: "currentColor",
2178
2178
  d: "M7.05 9.293L6.343 10L12 15.657l1.414-1.414L9.172 10l4.242-4.243L12 4.343z"
2179
2179
  }, null, -1)
@@ -2185,8 +2185,8 @@ const Fn = R({ name: "zondicons-cheveron-left", render: jn }), On = {
2185
2185
  height: "1.2em"
2186
2186
  };
2187
2187
  function Un(t, s) {
2188
- return o(), y("svg", On, s[0] || (s[0] = [
2189
- b("path", {
2188
+ return o(), w("svg", On, s[0] || (s[0] = [
2189
+ y("path", {
2190
2190
  fill: "currentColor",
2191
2191
  d: "m12.95 10.707l.707-.707L8 4.343L6.586 5.757L10.828 10l-4.242 4.243L8 15.657z"
2192
2192
  }, null, -1)
@@ -2198,8 +2198,8 @@ const qt = R({ name: "zondicons-cheveron-right", render: Un }), Nn = {
2198
2198
  height: "1.2em"
2199
2199
  };
2200
2200
  function Wn(t, s) {
2201
- return o(), y("svg", Nn, s[0] || (s[0] = [
2202
- b("path", {
2201
+ return o(), w("svg", Nn, s[0] || (s[0] = [
2202
+ y("path", {
2203
2203
  fill: "currentColor",
2204
2204
  d: "M2.93 17.07A10 10 0 1 1 17.07 2.93A10 10 0 0 1 2.93 17.07M9 5v6h2V5zm0 8v2h2v-2z"
2205
2205
  }, null, -1)
@@ -2211,8 +2211,8 @@ const De = R({ name: "zondicons-exclamation-solid", render: Wn }), Kn = {
2211
2211
  height: "1.2em"
2212
2212
  };
2213
2213
  function Qn(t, s) {
2214
- return o(), y("svg", Kn, s[0] || (s[0] = [
2215
- b("path", {
2214
+ return o(), w("svg", Kn, s[0] || (s[0] = [
2215
+ y("path", {
2216
2216
  fill: "currentColor",
2217
2217
  d: "M20 19V7H4v12zm0-16a2 2 0 0 1 2 2v14a2 2 0 0 1-2 2H4a2 2 0 0 1-2-2V5a2 2 0 0 1 2-2zm-7 14v-2h5v2zm-3.42-4L5.57 9H8.4l3.3 3.3c.39.39.39 1.03 0 1.42L8.42 17H5.59z"
2218
2218
  }, null, -1)
@@ -2224,8 +2224,8 @@ const Zn = R({ name: "mdi-console", render: Qn }), Jn = {
2224
2224
  height: "1.2em"
2225
2225
  };
2226
2226
  function Gn(t, s) {
2227
- return o(), y("svg", Jn, s[0] || (s[0] = [
2228
- b("path", {
2227
+ return o(), w("svg", Jn, s[0] || (s[0] = [
2228
+ y("path", {
2229
2229
  fill: "currentColor",
2230
2230
  d: "M6 6V2c0-1.1.9-2 2-2h10a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2h-4v4a2 2 0 0 1-2 2H2a2 2 0 0 1-2-2V8c0-1.1.9-2 2-2zm2 0h4a2 2 0 0 1 2 2v4h4V2H8zM2 8v10h10V8z"
2231
2231
  }, null, -1)
@@ -2237,8 +2237,8 @@ const Xn = R({ name: "zondicons-copy", render: Gn }), Yn = {
2237
2237
  height: "1.2em"
2238
2238
  };
2239
2239
  function ea(t, s) {
2240
- return o(), y("svg", Yn, s[0] || (s[0] = [
2241
- b("path", {
2240
+ return o(), w("svg", Yn, s[0] || (s[0] = [
2241
+ y("path", {
2242
2242
  fill: "currentColor",
2243
2243
  d: "M12 2A10 10 0 0 0 2 12c0 4.42 2.87 8.17 6.84 9.5c.5.08.66-.23.66-.5v-1.69c-2.77.6-3.36-1.34-3.36-1.34c-.46-1.16-1.11-1.47-1.11-1.47c-.91-.62.07-.6.07-.6c1 .07 1.53 1.03 1.53 1.03c.87 1.52 2.34 1.07 2.91.83c.09-.65.35-1.09.63-1.34c-2.22-.25-4.55-1.11-4.55-4.92c0-1.11.38-2 1.03-2.71c-.1-.25-.45-1.29.1-2.64c0 0 .84-.27 2.75 1.02c.79-.22 1.65-.33 2.5-.33s1.71.11 2.5.33c1.91-1.29 2.75-1.02 2.75-1.02c.55 1.35.2 2.39.1 2.64c.65.71 1.03 1.6 1.03 2.71c0 3.82-2.34 4.66-4.57 4.91c.36.31.69.92.69 1.85V21c0 .27.16.59.67.5C19.14 20.16 22 16.42 22 12A10 10 0 0 0 12 2"
2244
2244
  }, null, -1)
@@ -2304,8 +2304,8 @@ ${s.report.details}`), D.toast(T("errors.copiedToClipboard", "Debug information
2304
2304
  });
2305
2305
  }
2306
2306
  ));
2307
- return (a, u) => (o(), y("div", sa, [
2308
- (o(!0), y(j, null, O(n.value, (i) => $(a.$slots, "default", E({ ref_for: !0 }, i), () => [
2307
+ return (a, u) => (o(), w("div", sa, [
2308
+ (o(!0), w(j, null, O(n.value, (i) => $(a.$slots, "default", E({ ref_for: !0 }, i), () => [
2309
2309
  p(z, {
2310
2310
  size: "icon",
2311
2311
  variant: "ghost",
@@ -2315,7 +2315,7 @@ ${s.report.details}`), D.toast(T("errors.copiedToClipboard", "Debug information
2315
2315
  onClick: i.click
2316
2316
  }, {
2317
2317
  default: f(() => [
2318
- b("span", ra, C(a.$td(`errors.report_${i.id}`, i.description)), 1),
2318
+ y("span", ra, C(a.$td(`errors.report_${i.id}`, i.description)), 1),
2319
2319
  (o(), g(te(i.iconComponent), {
2320
2320
  class: "size-4",
2321
2321
  "aria-hidden": "true"
@@ -2375,9 +2375,9 @@ const oa = { class: "px-4 pt-5 pb-4" }, ia = { class: "flex justify-between gap-
2375
2375
  "wrapper-class": "sm:w-auto sm:min-w-lg sm:max-w-[80vw]"
2376
2376
  }, {
2377
2377
  default: f(() => [
2378
- b("div", oa, [
2379
- b("h2", ia, [
2380
- b("div", ua, [
2378
+ y("div", oa, [
2379
+ y("h2", ia, [
2380
+ y("div", ua, [
2381
2381
  p(l(De), { class: "size-5 text-red-600" }),
2382
2382
  p(aa, {
2383
2383
  class: "text-lg leading-6 font-semibold text-gray-900",
@@ -2385,7 +2385,7 @@ const oa = { class: "px-4 pt-5 pb-4" }, ia = { class: "flex justify-between gap-
2385
2385
  "current-report": l(r) + 1,
2386
2386
  "total-reports": c.reports.length
2387
2387
  }, null, 8, ["report", "current-report", "total-reports"]),
2388
- c.reports.length > 1 ? (o(), y("span", ca, [
2388
+ c.reports.length > 1 ? (o(), w("span", ca, [
2389
2389
  p(z, {
2390
2390
  size: "icon",
2391
2391
  variant: "ghost",
@@ -2425,8 +2425,8 @@ const oa = { class: "px-4 pt-5 pb-4" }, ia = { class: "flex justify-between gap-
2425
2425
  class: "text-gray-600"
2426
2426
  }, null, 8, ["text"])) : V("", !0)
2427
2427
  ]),
2428
- b("div", da, [
2429
- b("pre", {
2428
+ y("div", da, [
2429
+ y("pre", {
2430
2430
  class: "p-4 text-xs text-red-800",
2431
2431
  textContent: C(l(n))
2432
2432
  }, null, 8, pa)
@@ -2441,17 +2441,17 @@ const oa = { class: "px-4 pt-5 pb-4" }, ia = { class: "flex justify-between gap-
2441
2441
  height: "1.2em"
2442
2442
  };
2443
2443
  function ha(t, s) {
2444
- return o(), y("svg", fa, s[0] || (s[0] = [
2445
- b("path", {
2444
+ return o(), w("svg", fa, s[0] || (s[0] = [
2445
+ y("path", {
2446
2446
  fill: "currentColor",
2447
2447
  d: "M12,1A11,11,0,1,0,23,12,11,11,0,0,0,12,1Zm0,19a8,8,0,1,1,8-8A8,8,0,0,1,12,20Z",
2448
2448
  opacity: ".25"
2449
2449
  }, null, -1),
2450
- b("path", {
2450
+ y("path", {
2451
2451
  fill: "currentColor",
2452
2452
  d: "M10.14,1.16a11,11,0,0,0-9,8.92A1.59,1.59,0,0,0,2.46,12,1.52,1.52,0,0,0,4.11,10.7a8,8,0,0,1,6.66-6.61A1.42,1.42,0,0,0,12,2.69h0A1.57,1.57,0,0,0,10.14,1.16Z"
2453
2453
  }, [
2454
- b("animateTransform", {
2454
+ y("animateTransform", {
2455
2455
  attributeName: "transform",
2456
2456
  dur: "0.75s",
2457
2457
  repeatCount: "indefinite",
@@ -2471,28 +2471,28 @@ const ga = R({ name: "svg-spinners-90-ring-with-bg", render: ha }), va = { class
2471
2471
  },
2472
2472
  setup(t) {
2473
2473
  let s;
2474
- const e = B(0), r = d(() => k("size-full transition-transform duration-500 rounded-r-full ease-linear bg-primary-600", t.filledClass)), n = d(() => k(
2474
+ const e = B(0), r = d(() => S("size-full transition-transform duration-500 rounded-r-full ease-linear bg-primary-600", t.filledClass)), n = d(() => S(
2475
2475
  "absolute inset-y-0 right-0 size-full rounded-r-full",
2476
2476
  "bg-primary-900 transition-[width] duration-500 ease-linear",
2477
2477
  t.overflowClass
2478
2478
  )), a = d(() => typeof t.progress == "number" ? t.progress : e.value), u = d(() => a.value > 1 ? 100 * ((a.value - 1) / a.value) : null);
2479
- return de(
2479
+ return ae(
2480
2480
  () => t.job,
2481
2481
  () => {
2482
2482
  s && s(), e.value = t.job ? t.job.progress : 0, s = t.job && t.job.listeners.add({ onUpdated: (i) => e.value = i });
2483
2483
  },
2484
2484
  { immediate: !0 }
2485
- ), _e(() => s && s()), (i, c) => (o(), y("div", va, [
2486
- b("div", {
2485
+ ), _e(() => s && s()), (i, c) => (o(), w("div", va, [
2486
+ y("div", {
2487
2487
  class: _(r.value),
2488
2488
  style: Ue(`transform:translateX(-${(1 - a.value) * 100}%)`)
2489
2489
  }, null, 6),
2490
- u.value ? (o(), y("div", {
2490
+ u.value ? (o(), w("div", {
2491
2491
  key: 0,
2492
2492
  class: _(n.value),
2493
2493
  style: Ue({ width: `${u.value}%` })
2494
2494
  }, null, 6)) : V("", !0),
2495
- b("span", ba, C(i.$td("ui.progress", "{progress}% complete", {
2495
+ y("span", ba, C(i.$td("ui.progress", "{progress}% complete", {
2496
2496
  progress: a.value * 100
2497
2497
  })), 1)
2498
2498
  ]));
@@ -2548,7 +2548,7 @@ const $a = /* @__PURE__ */ v({
2548
2548
  emits: ["update:modelValue"],
2549
2549
  setup(t, { expose: s, emit: e }) {
2550
2550
  const r = e, n = Y("form", null), a = d(() => !n || !t.name ? null : n.errors[t.name] ?? null), u = {
2551
- id: `input-${ce()}`,
2551
+ id: `input-${de()}`,
2552
2552
  name: d(() => t.name),
2553
2553
  label: d(() => t.label),
2554
2554
  description: d(() => t.description),
@@ -2566,7 +2566,7 @@ const $a = /* @__PURE__ */ v({
2566
2566
  r("update:modelValue", i);
2567
2567
  }
2568
2568
  };
2569
- return ae("input", u), s(u), (i, c) => (o(), g(te(i.as), null, {
2569
+ return le("input", u), s(u), (i, c) => (o(), g(te(i.as), null, {
2570
2570
  default: f(() => [
2571
2571
  $(i.$slots, "default")
2572
2572
  ]),
@@ -2577,7 +2577,7 @@ const $a = /* @__PURE__ */ v({
2577
2577
  __name: "HeadlessInputLabel",
2578
2578
  setup(t) {
2579
2579
  const s = H("input", "<HeadlessInputLabel> must be a child of a <HeadlessInput>"), e = xe(), r = d(() => !!(s.label || e.default));
2580
- return (n, a) => r.value ? (o(), y("label", {
2580
+ return (n, a) => r.value ? (o(), w("label", {
2581
2581
  key: 0,
2582
2582
  for: l(s).id
2583
2583
  }, [
@@ -2632,7 +2632,7 @@ const $a = /* @__PURE__ */ v({
2632
2632
  }
2633
2633
  s.value.value = a.value ?? null;
2634
2634
  }
2635
- }), (h, w) => (o(), y("input", {
2635
+ }), (h, b) => (o(), w("input", {
2636
2636
  id: l(e).id,
2637
2637
  ref: "$inputRef",
2638
2638
  name: n.value,
@@ -2665,7 +2665,7 @@ const $a = /* @__PURE__ */ v({
2665
2665
  __name: "HeadlessInputError",
2666
2666
  setup(t) {
2667
2667
  const s = H("input", "<HeadlessInputError> must be a child of a <HeadlessInput>"), e = d(() => s.errors ? T(`errors.${s.errors[0]}`, `Error: ${s.errors[0]}`) : null);
2668
- return (r, n) => e.value ? (o(), y("p", {
2668
+ return (r, n) => e.value ? (o(), w("p", {
2669
2669
  key: 0,
2670
2670
  id: `${l(s).id}-error`
2671
2671
  }, C(e.value), 9, xa)) : V("", !0);
@@ -2688,15 +2688,15 @@ const $a = /* @__PURE__ */ v({
2688
2688
  },
2689
2689
  emits: ["update:modelValue"],
2690
2690
  setup(t) {
2691
- const s = W(t, ["label", "inputClass", "wrapperClass", "descriptionClass", "errorClass"]), e = Z("$inputRef"), [r, n] = Pe(), a = d(() => k("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = d(() => k("mt-2 text-sm text-gray-600", t.descriptionClass)), i = d(() => k("mt-2 text-sm text-red-600", t.errorClass)), c = d(() => {
2692
- var m, h, w;
2693
- return k(
2691
+ const s = W(t, ["label", "inputClass", "wrapperClass", "descriptionClass", "errorClass"]), e = Z("$inputRef"), [r, n] = Pe(), a = d(() => S("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = d(() => S("mt-2 text-sm text-gray-600", t.descriptionClass)), i = d(() => S("mt-2 text-sm text-red-600", t.errorClass)), c = d(() => {
2692
+ var m, h, b;
2693
+ return S(
2694
2694
  // eslint-disable-next-line vue/max-len
2695
2695
  "block w-full rounded-md border-0 py-1.5 ring-1 ring-inset focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6",
2696
2696
  {
2697
2697
  "focus:ring-primary-600": !((m = e.value) != null && m.errors),
2698
2698
  "text-gray-900 shadow-2xs ring-gray-900/10 placeholder:text-gray-400": !((h = e.value) != null && h.errors),
2699
- "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (w = e.value) == null ? void 0 : w.errors
2699
+ "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (b = e.value) == null ? void 0 : b.errors
2700
2700
  },
2701
2701
  t.inputClass
2702
2702
  );
@@ -2706,17 +2706,17 @@ const $a = /* @__PURE__ */ v({
2706
2706
  label: m.label,
2707
2707
  class: l(n)
2708
2708
  }, s, {
2709
- "onUpdate:modelValue": h[0] || (h[0] = (w) => m.$emit("update:modelValue", w))
2709
+ "onUpdate:modelValue": h[0] || (h[0] = (b) => m.$emit("update:modelValue", b))
2710
2710
  }), {
2711
2711
  default: f(() => {
2712
- var w;
2712
+ var b;
2713
2713
  return [
2714
2714
  p(we, { class: "block text-sm leading-6 font-medium text-gray-900" }),
2715
- b("div", {
2715
+ y("div", {
2716
2716
  class: _(a.value)
2717
2717
  }, [
2718
2718
  p(Pt, E(l(r), { class: c.value }), null, 16, ["class"]),
2719
- (w = e.value) != null && w.errors ? (o(), y("div", ka, [
2719
+ (b = e.value) != null && b.errors ? (o(), w("div", ka, [
2720
2720
  p(l(De), { class: "size-5 text-red-500" })
2721
2721
  ])) : V("", !0)
2722
2722
  ], 2),
@@ -2847,7 +2847,7 @@ const Va = { class: "mt-4 flex flex-row-reverse gap-2" }, Ea = /* @__PURE__ */ v
2847
2847
  default: f(({ close: h }) => [
2848
2848
  p(zt, {
2849
2849
  form: l(r),
2850
- onSubmit: (w) => h(l(r).draft)
2850
+ onSubmit: (b) => h(l(r).draft)
2851
2851
  }, {
2852
2852
  default: f(() => [
2853
2853
  l(a) ? (o(), g(q, {
@@ -2860,7 +2860,7 @@ const Va = { class: "mt-4 flex flex-row-reverse gap-2" }, Ea = /* @__PURE__ */ v
2860
2860
  placeholder: c.placeholder,
2861
2861
  label: c.label
2862
2862
  }, null, 8, ["placeholder", "label"]),
2863
- b("div", Va, [
2863
+ y("div", Va, [
2864
2864
  p(z, {
2865
2865
  variant: c.acceptVariant,
2866
2866
  submit: ""
@@ -2872,7 +2872,7 @@ const Va = { class: "mt-4 flex flex-row-reverse gap-2" }, Ea = /* @__PURE__ */ v
2872
2872
  }, 8, ["variant"]),
2873
2873
  p(z, {
2874
2874
  variant: c.cancelVariant,
2875
- onClick: (w) => h()
2875
+ onClick: (b) => h()
2876
2876
  }, {
2877
2877
  default: f(() => [
2878
2878
  I(C(l(i)), 1)
@@ -2893,8 +2893,8 @@ const Va = { class: "mt-4 flex flex-row-reverse gap-2" }, Ea = /* @__PURE__ */ v
2893
2893
  height: "1.2em"
2894
2894
  };
2895
2895
  function La(t, s) {
2896
- return o(), y("svg", Ha, s[0] || (s[0] = [
2897
- b("path", {
2896
+ return o(), w("svg", Ha, s[0] || (s[0] = [
2897
+ y("path", {
2898
2898
  fill: "currentColor",
2899
2899
  d: "M12 21q-1.625 0-3.012-.8T6.8 18H4v-2h2.1q-.075-.5-.088-1T6 14H4v-2h2q0-.5.012-1t.088-1H4V8h2.8q.35-.575.788-1.075T8.6 6.05L7 4.4L8.4 3l2.15 2.15q.7-.225 1.425-.225t1.425.225L15.6 3L17 4.4l-1.65 1.65q.575.375 1.038.862T17.2 8H20v2h-2.1q.075.5.088 1T18 12h2v2h-2q0 .5-.013 1t-.087 1H20v2h-2.8q-.8 1.4-2.187 2.2T12 21m-2-5h4v-2h-4zm0-4h4v-2h-4z"
2900
2900
  }, null, -1)
@@ -2906,8 +2906,8 @@ const Ia = R({ name: "material-symbols-bug-report", render: La }), Ra = {
2906
2906
  height: "1.2em"
2907
2907
  };
2908
2908
  function za(t, s) {
2909
- return o(), y("svg", Ra, s[0] || (s[0] = [
2910
- b("path", {
2909
+ return o(), w("svg", Ra, s[0] || (s[0] = [
2910
+ y("path", {
2911
2911
  fill: "currentColor",
2912
2912
  d: "M7 21q-.825 0-1.412-.587T5 19V6q-.425 0-.712-.288T4 5t.288-.712T5 4h4q0-.425.288-.712T10 3h4q.425 0 .713.288T15 4h4q.425 0 .713.288T20 5t-.288.713T19 6v13q0 .825-.587 1.413T17 21zm5-7.1l1.9 1.9q.275.275.7.275t.7-.275t.275-.7t-.275-.7l-1.9-1.9l1.9-1.9q.275-.275.275-.7t-.275-.7t-.7-.275t-.7.275L12 11.1l-1.9-1.9q-.275-.275-.7-.275t-.7.275t-.275.7t.275.7l1.9 1.9l-1.9 1.9q-.275.275-.275.7t.275.7t.7.275t.7-.275z"
2913
2913
  }, null, -1)
@@ -2919,8 +2919,8 @@ const qa = R({ name: "material-symbols-delete-forever-rounded", render: za }), P
2919
2919
  height: "1.2em"
2920
2920
  };
2921
2921
  function Aa(t, s) {
2922
- return o(), y("svg", Pa, s[0] || (s[0] = [
2923
- b("path", {
2922
+ return o(), w("svg", Pa, s[0] || (s[0] = [
2923
+ y("path", {
2924
2924
  fill: "currentColor",
2925
2925
  d: "M11.25 13.5q.95 0 1.6-.65t.65-1.6t-.65-1.6t-1.6-.65t-1.6.65t-.65 1.6t.65 1.6t1.6.65m4.825 4l-2.625-2.625q-.5.325-1.062.475t-1.138.15q-1.775 0-3.012-1.237T7 11.25t1.238-3.012T11.25 7t3.013 1.238T15.5 11.25q0 .575-.162 1.138t-.488 1.062l2.65 2.65zM5 21q-.825 0-1.412-.587T3 19v-4h2v4h4v2zm10 0v-2h4v-4h2v4q0 .825-.587 1.413T19 21zM3 9V5q0-.825.588-1.412T5 3h4v2H5v4zm16 0V5h-4V3h4q.825 0 1.413.588T21 5v4z"
2926
2926
  }, null, -1)
@@ -2932,8 +2932,8 @@ const Da = R({ name: "material-symbols-frame-inspect", render: Aa }), Ba = {
2932
2932
  height: "1.2em"
2933
2933
  };
2934
2934
  function ja(t, s) {
2935
- return o(), y("svg", Ba, s[0] || (s[0] = [
2936
- b("path", {
2935
+ return o(), w("svg", Ba, s[0] || (s[0] = [
2936
+ y("path", {
2937
2937
  fill: "currentColor",
2938
2938
  d: "M12 20q-3.35 0-5.675-2.325T4 12t2.325-5.675T12 4q1.725 0 3.3.712T18 6.75V5q0-.425.288-.712T19 4t.713.288T20 5v5q0 .425-.288.713T19 11h-5q-.425 0-.712-.288T13 10t.288-.712T14 9h3.2q-.8-1.4-2.187-2.2T12 6Q9.5 6 7.75 7.75T6 12t1.75 4.25T12 18q1.7 0 3.113-.862t2.187-2.313q.2-.35.563-.487t.737-.013q.4.125.575.525t-.025.75q-1.025 2-2.925 3.2T12 20"
2939
2939
  }, null, -1)
@@ -2959,10 +2959,10 @@ Do you still want to proceed?`
2959
2959
  }
2960
2960
  return (e, r) => {
2961
2961
  const n = Gt("i-majesticons-exclamation");
2962
- return o(), y("div", Oa, [
2963
- b("div", Ua, [
2962
+ return o(), w("div", Oa, [
2963
+ y("div", Ua, [
2964
2964
  p(n, { class: "size-20 text-red-600" }),
2965
- b("h1", Na, C(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
2965
+ y("h1", Na, C(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
2966
2966
  p(q, {
2967
2967
  text: e.$td(
2968
2968
  "startupCrash.message",
@@ -2970,7 +2970,7 @@ Do you still want to proceed?`
2970
2970
  ),
2971
2971
  class: "mt-4 text-center"
2972
2972
  }, null, 8, ["text"]),
2973
- b("div", Wa, [
2973
+ y("div", Wa, [
2974
2974
  p(z, {
2975
2975
  variant: "danger",
2976
2976
  onClick: r[0] || (r[0] = (a) => e.$app.reload())
@@ -3043,8 +3043,8 @@ Do you still want to proceed?`
3043
3043
  return (s, e) => (o(), g(l(Ns), null, {
3044
3044
  default: f(() => [
3045
3045
  $(s.$slots, "default", {}, () => [
3046
- s.message ? (o(), y("span", Qa, C(s.message), 1)) : V("", !0),
3047
- (o(!0), y(j, null, O(s.actions, (r, n) => (o(), g(Dt, {
3046
+ s.message ? (o(), w("span", Qa, C(s.message), 1)) : V("", !0),
3047
+ (o(!0), w(j, null, O(s.actions, (r, n) => (o(), g(Dt, {
3048
3048
  key: n,
3049
3049
  action: r
3050
3050
  }, null, 8, ["action"]))), 128))
@@ -3087,7 +3087,7 @@ Do you still want to proceed?`
3087
3087
  text: r.message,
3088
3088
  inline: ""
3089
3089
  }, null, 8, ["text"])) : V("", !0),
3090
- (o(!0), y(j, null, O(r.actions, (a, u) => (o(), g(z, {
3090
+ (o(!0), w(j, null, O(r.actions, (a, u) => (o(), g(z, {
3091
3091
  key: u,
3092
3092
  action: a,
3093
3093
  variant: r.variant,
@@ -3129,7 +3129,7 @@ const el = /* @__PURE__ */ v({
3129
3129
  setup(t) {
3130
3130
  return (s, e) => (o(), g(l(Ws), null, {
3131
3131
  default: f(() => [
3132
- (o(!0), y(j, null, O(s.$ui.toasts, (r) => (o(), g(te(r.component), E({
3132
+ (o(!0), w(j, null, O(s.$ui.toasts, (r) => (o(), g(te(r.component), E({
3133
3133
  id: r.id,
3134
3134
  key: r.id
3135
3135
  }, { ref_for: !0 }, r.properties), null, 16, ["id"]))), 128)),
@@ -3141,7 +3141,7 @@ const el = /* @__PURE__ */ v({
3141
3141
  }), tl = /* @__PURE__ */ v({
3142
3142
  __name: "AppOverlays",
3143
3143
  setup(t) {
3144
- return (s, e) => (o(), y(j, null, [
3144
+ return (s, e) => (o(), w(j, null, [
3145
3145
  p(l(Cs), { nested: "" }),
3146
3146
  p(el)
3147
3147
  ], 64));
@@ -3149,7 +3149,7 @@ const el = /* @__PURE__ */ v({
3149
3149
  }), sl = { class: "text-primary-text flex min-h-full flex-col text-base leading-tight font-normal antialiased" }, go = /* @__PURE__ */ v({
3150
3150
  __name: "AppLayout",
3151
3151
  setup(t) {
3152
- return (s, e) => (o(), y("div", sl, [
3152
+ return (s, e) => (o(), w("div", sl, [
3153
3153
  s.$errors.hasStartupErrors ? $(s.$slots, "startup-crash", { key: 0 }, () => [
3154
3154
  (o(), g(te(s.$ui.requireComponent("startup-crash"))))
3155
3155
  ]) : $(s.$slots, "default", { key: 1 }),
@@ -3169,7 +3169,7 @@ const el = /* @__PURE__ */ v({
3169
3169
  return gt(e, () => {
3170
3170
  var u;
3171
3171
  return (u = s.value) == null ? void 0 : u.focus();
3172
- }), (u, i) => (o(), y("textarea", {
3172
+ }), (u, i) => (o(), w("textarea", {
3173
3173
  id: l(e).id,
3174
3174
  ref: "$textAreaRef",
3175
3175
  name: r.value,
@@ -3189,21 +3189,21 @@ const el = /* @__PURE__ */ v({
3189
3189
  summaryClass: {}
3190
3190
  },
3191
3191
  setup(t) {
3192
- const s = d(() => k("pt-2 pl-4", t.contentClass)), e = d(() => k(
3192
+ const s = d(() => S("pt-2 pl-4", t.contentClass)), e = d(() => S(
3193
3193
  "-ml-2 flex w-[max-content] items-center rounded-lg py-2 pr-3 pl-1 max-w-full",
3194
3194
  "hover:bg-gray-100 focus-visible:outline focus-visible:outline-gray-700",
3195
3195
  t.summaryClass
3196
3196
  ));
3197
- return (r, n) => (o(), y("details", al, [
3198
- b("summary", {
3197
+ return (r, n) => (o(), w("details", al, [
3198
+ y("summary", {
3199
3199
  class: _(e.value)
3200
3200
  }, [
3201
3201
  p(l(qt), { class: "size-6 transition-transform group-open:rotate-90" }),
3202
3202
  $(r.$slots, "label", {}, () => [
3203
- b("span", null, C(r.label ?? r.$td("ui.details", "Details")), 1)
3203
+ y("span", null, C(r.label ?? r.$td("ui.details", "Details")), 1)
3204
3204
  ])
3205
3205
  ], 2),
3206
- b("div", {
3206
+ y("div", {
3207
3207
  class: _(s.value)
3208
3208
  }, [
3209
3209
  $(r.$slots, "default")
@@ -3235,9 +3235,9 @@ const el = /* @__PURE__ */ v({
3235
3235
  },
3236
3236
  emits: ["update:modelValue"],
3237
3237
  setup(t) {
3238
- const s = W(t, ["inputClass", "labelClass"]), e = Z("$inputRef"), [r, n] = Pe(), a = d(() => k("relative flex items-start", n.value)), u = d(() => {
3238
+ const s = W(t, ["inputClass", "labelClass"]), e = Z("$inputRef"), [r, n] = Pe(), a = d(() => S("relative flex items-start", n.value)), u = d(() => {
3239
3239
  var c, m;
3240
- return k(
3240
+ return S(
3241
3241
  "size-4 rounded text-primary-600 not-checked:hover:bg-gray-200 checked:hover:text-primary-500 checked:border-0",
3242
3242
  {
3243
3243
  "border-gray-300 focus:ring-primary-600": !((c = e.value) != null && c.errors),
@@ -3245,7 +3245,7 @@ const el = /* @__PURE__ */ v({
3245
3245
  },
3246
3246
  t.inputClass
3247
3247
  );
3248
- }), i = d(() => k("ml-2 text-sm leading-6", t.labelClass));
3248
+ }), i = d(() => S("ml-2 text-sm leading-6", t.labelClass));
3249
3249
  return (c, m) => (o(), g(Be, E({
3250
3250
  ref: "$inputRef",
3251
3251
  class: a.value
@@ -3253,13 +3253,13 @@ const el = /* @__PURE__ */ v({
3253
3253
  "onUpdate:modelValue": m[0] || (m[0] = (h) => c.$emit("update:modelValue", h))
3254
3254
  }), {
3255
3255
  default: f(() => [
3256
- b("div", ol, [
3256
+ y("div", ol, [
3257
3257
  p(Pt, E(l(r), {
3258
3258
  type: "checkbox",
3259
3259
  class: u.value
3260
3260
  }), null, 16, ["class"])
3261
3261
  ]),
3262
- c.$slots.default ? (o(), y("div", {
3262
+ c.$slots.default ? (o(), w("div", {
3263
3263
  key: 0,
3264
3264
  class: _(i.value)
3265
3265
  }, [
@@ -3270,7 +3270,7 @@ const el = /* @__PURE__ */ v({
3270
3270
  _: 3
3271
3271
  }),
3272
3272
  p($e, { class: "text-red-600" })
3273
- ], 2)) : c.label ? (o(), y("div", {
3273
+ ], 2)) : c.label ? (o(), w("div", {
3274
3274
  key: 1,
3275
3275
  class: _(i.value)
3276
3276
  }, [
@@ -3288,7 +3288,7 @@ const el = /* @__PURE__ */ v({
3288
3288
  value: {}
3289
3289
  },
3290
3290
  setup(t) {
3291
- return ae(t.name, t.value), (s, e) => $(s.$slots, "default");
3291
+ return le(t.name, t.value), (s, e) => $(s.$slots, "default");
3292
3292
  }
3293
3293
  }), ul = { class: "relative flex max-w-[calc(100vw-2rem)] cursor-pointer items-center gap-2 truncate rounded-md px-2 py-1 text-sm select-none *:truncate group-data-[highlighted]:bg-gray-100 group-data-[state=checked]:font-semibold group-data-[state=unchecked]:opacity-50" }, st = /* @__PURE__ */ v({
3294
3294
  __name: "ComboboxOption",
@@ -3314,7 +3314,7 @@ const el = /* @__PURE__ */ v({
3314
3314
  onSelect: m[0] || (m[0] = (h) => i(h))
3315
3315
  }), {
3316
3316
  default: f(() => [
3317
- b("div", ul, [
3317
+ y("div", ul, [
3318
3318
  $(c.$slots, "default", {}, () => [
3319
3319
  I(C(u.value), 1)
3320
3320
  ])
@@ -3337,11 +3337,11 @@ const el = /* @__PURE__ */ v({
3337
3337
  }
3338
3338
  ), u = d(
3339
3339
  () => r.input && !a.value.some((c) => c.label === r.input)
3340
- ), i = k(
3340
+ ), i = S(
3341
3341
  "max-h-(--reka-combobox-content-available-height) min-w-(--reka-combobox-trigger-width)",
3342
3342
  "z-50 overflow-auto rounded-lg bg-white text-base shadow-lg ring-1 ring-black/5 focus:outline-hidden"
3343
3343
  );
3344
- return de(n, () => {
3344
+ return ae(n, () => {
3345
3345
  var c;
3346
3346
  return r.$group = ((c = n.value) == null ? void 0 : c.$el) ?? null;
3347
3347
  }), (c, m) => (o(), g(l(Gs), null, {
@@ -3358,7 +3358,7 @@ const el = /* @__PURE__ */ v({
3358
3358
  default: f(() => [
3359
3359
  p(l(er), { class: "group p-1 outline-none" }, {
3360
3360
  default: f(() => [
3361
- b("div", cl, C(c.$td("ui.comboboxEmpty", "No options found")), 1)
3361
+ y("div", cl, C(c.$td("ui.comboboxEmpty", "No options found")), 1)
3362
3362
  ]),
3363
3363
  _: 1
3364
3364
  }),
@@ -3372,17 +3372,17 @@ const el = /* @__PURE__ */ v({
3372
3372
  u.value ? (o(), g(st, {
3373
3373
  key: 0,
3374
3374
  value: ((h = c.newInputValue) == null ? void 0 : h.call(c, l(r).input)) ?? l(r).input,
3375
- onSelect: m[0] || (m[0] = (w) => c.$emit("select"))
3375
+ onSelect: m[0] || (m[0] = (b) => c.$emit("select"))
3376
3376
  }, {
3377
3377
  default: f(() => [
3378
3378
  I(C(l(r).input), 1)
3379
3379
  ]),
3380
3380
  _: 1
3381
3381
  }, 8, ["value"])) : V("", !0),
3382
- (o(!0), y(j, null, O(a.value, (w) => (o(), g(st, {
3383
- key: w.key,
3384
- value: w.value,
3385
- onSelect: m[1] || (m[1] = (S) => c.$emit("select"))
3382
+ (o(!0), w(j, null, O(a.value, (b) => (o(), g(st, {
3383
+ key: b.key,
3384
+ value: b.value,
3385
+ onSelect: m[1] || (m[1] = (x) => c.$emit("select"))
3386
3386
  }, null, 8, ["value"]))), 128))
3387
3387
  ];
3388
3388
  }),
@@ -3402,7 +3402,7 @@ const el = /* @__PURE__ */ v({
3402
3402
  __name: "ComboboxTrigger",
3403
3403
  emits: ["focus", "change", "blur"],
3404
3404
  setup(t, { emit: s }) {
3405
- const e = s, r = H("select", "<ComboboxTrigger> must be a child of a <Combobox>"), n = H("combobox"), a = d(() => k(
3405
+ const e = s, r = H("select", "<ComboboxTrigger> must be a child of a <Combobox>"), n = H("combobox"), a = d(() => S(
3406
3406
  // eslint-disable-next-line vue/max-len
3407
3407
  "block w-full rounded-md border-0 py-1.5 ring-1 ring-inset focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6",
3408
3408
  {
@@ -3418,7 +3418,7 @@ const el = /* @__PURE__ */ v({
3418
3418
  return (m = n.$group) == null ? void 0 : m.contains(c);
3419
3419
  }) || e("blur");
3420
3420
  }
3421
- return de(
3421
+ return ae(
3422
3422
  () => n.input,
3423
3423
  () => {
3424
3424
  if (n.preventChange) {
@@ -3452,7 +3452,7 @@ const el = /* @__PURE__ */ v({
3452
3452
  as: {}
3453
3453
  },
3454
3454
  setup(t) {
3455
- const s = H("select", "<ComboboxLabel> must be a child of a <Combobox>"), e = xe(), r = d(() => !!(s.label || e.default)), n = d(() => k("block text-sm leading-6 font-medium text-gray-900", s.labelClass));
3455
+ const s = H("select", "<ComboboxLabel> must be a child of a <Combobox>"), e = xe(), r = d(() => !!(s.label || e.default)), n = d(() => S("block text-sm leading-6 font-medium text-gray-900", s.labelClass));
3456
3456
  return (a, u) => r.value ? (o(), g(l(pt), E({
3457
3457
  key: 0,
3458
3458
  for: l(s).id,
@@ -3486,7 +3486,7 @@ const el = /* @__PURE__ */ v({
3486
3486
  },
3487
3487
  emits: ["update:modelValue"],
3488
3488
  setup(t, { expose: s, emit: e }) {
3489
- const r = e, n = W(t, ["as", "compareOptions"]), {
3489
+ const r = e, n = W(t, ["as", "compareOptions", "newInputValue"]), {
3490
3490
  expose: a,
3491
3491
  acceptableValue: u,
3492
3492
  update: i,
@@ -3499,17 +3499,17 @@ const el = /* @__PURE__ */ v({
3499
3499
  preventChange: B(!1),
3500
3500
  $group: B(null)
3501
3501
  };
3502
- function w(S) {
3503
- h.input.value = c(S), i(S);
3502
+ function b(x) {
3503
+ h.input.value = c(x), i(x);
3504
3504
  }
3505
- return s(a), (S, L) => (o(), g(l(nr), {
3505
+ return ae(h.input, (x) => b(t.newInputValue ? t.newInputValue(x) : x)), s(a), (x, L) => (o(), g(l(nr), {
3506
3506
  "ignore-filter": "",
3507
3507
  open: m.value,
3508
3508
  "reset-search-term-on-blur": !1,
3509
3509
  "reset-search-term-on-select": !1,
3510
3510
  "model-value": l(u),
3511
- by: S.compareOptions,
3512
- "onUpdate:modelValue": L[4] || (L[4] = (A) => w(A))
3511
+ by: x.compareOptions,
3512
+ "onUpdate:modelValue": L[4] || (L[4] = (A) => b(A))
3513
3513
  }, {
3514
3514
  default: f(() => [
3515
3515
  p(il, {
@@ -3524,7 +3524,7 @@ const el = /* @__PURE__ */ v({
3524
3524
  onBlur: L[2] || (L[2] = (A) => m.value = !1)
3525
3525
  }),
3526
3526
  p(dl, {
3527
- "new-input-value": S.newInputValue,
3527
+ "new-input-value": x.newInputValue,
3528
3528
  onSelect: L[3] || (L[3] = (A) => m.value = !1)
3529
3529
  }, null, 8, ["new-input-value"])
3530
3530
  ]),
@@ -3543,7 +3543,7 @@ const el = /* @__PURE__ */ v({
3543
3543
  },
3544
3544
  emits: ["select"],
3545
3545
  setup(t) {
3546
- const s = W(t, ["class"]), e = d(() => k(
3546
+ const s = W(t, ["class"]), e = d(() => S(
3547
3547
  "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-sm text-gray-900 data-[highlighted]:bg-gray-100",
3548
3548
  t.class
3549
3549
  ));
@@ -3570,7 +3570,7 @@ const el = /* @__PURE__ */ v({
3570
3570
  }, {
3571
3571
  default: f(() => [
3572
3572
  $(e.$slots, "default", {}, () => [
3573
- (o(!0), y(j, null, O(l(s).options, (n, a) => (o(), g(fl, E(
3573
+ (o(!0), w(j, null, O(l(s).options, (n, a) => (o(), g(fl, E(
3574
3574
  {
3575
3575
  key: a,
3576
3576
  as: n.route || n.href ? xt : void 0,
@@ -3616,7 +3616,7 @@ const el = /* @__PURE__ */ v({
3616
3616
  return (r = t.options) == null ? void 0 : r.filter(Boolean);
3617
3617
  })
3618
3618
  };
3619
- return ae("dropdown-menu", e), s(e), (r, n) => (o(), g(l(or), null, {
3619
+ return le("dropdown-menu", e), s(e), (r, n) => (o(), g(l(or), null, {
3620
3620
  default: f(() => [
3621
3621
  p(l(ir), null, {
3622
3622
  default: f(() => [
@@ -3649,50 +3649,50 @@ const el = /* @__PURE__ */ v({
3649
3649
  },
3650
3650
  emits: ["update", "save"],
3651
3651
  setup(t, { emit: s }) {
3652
- const e = s, r = Z("$inputRef"), n = B(null), a = B(t.text), u = d(() => k("inline whitespace-pre", t.contentClass)), i = d(() => k("invisible whitespace-pre", t.contentClass)), c = d(() => k("absolute inset-0 h-full w-full resize-none border-0 bg-transparent p-0 focus:ring-0", t.contentClass));
3652
+ const e = s, r = Z("$inputRef"), n = B(null), a = B(t.text), u = d(() => S("inline whitespace-pre", t.contentClass)), i = d(() => S("invisible whitespace-pre", t.contentClass)), c = d(() => S("absolute inset-0 h-full w-full resize-none border-0 bg-transparent p-0 focus:ring-0", t.contentClass));
3653
3653
  function m() {
3654
3654
  n.value = t.text;
3655
3655
  }
3656
3656
  function h() {
3657
3657
  n.value && (t.type !== "number" && a.value.trim().length === 0 && (a.value = n.value, e("update", a.value)), n.value = null, e("save"));
3658
3658
  }
3659
- return ee(() => a.value = t.text), (w, S) => (o(), y("div", {
3660
- class: _(["relative", { "pointer-events-none!": w.disabled && !n.value }])
3659
+ return ee(() => a.value = t.text), (b, x) => (o(), w("div", {
3660
+ class: _(["relative", { "pointer-events-none!": b.disabled && !n.value }])
3661
3661
  }, [
3662
- n.value ? (o(), y("span", {
3662
+ n.value ? (o(), w("span", {
3663
3663
  key: 1,
3664
3664
  class: _(i.value)
3665
- }, C(a.value), 3)) : (o(), y("div", {
3665
+ }, C(a.value), 3)) : (o(), w("div", {
3666
3666
  key: 0,
3667
3667
  class: _(u.value)
3668
3668
  }, [
3669
- $(w.$slots, "default")
3669
+ $(b.$slots, "default")
3670
3670
  ], 2)),
3671
- w.type === "number" ? (o(), y("span", {
3671
+ b.type === "number" ? (o(), w("span", {
3672
3672
  key: 2,
3673
3673
  class: _(["inline-block transition-[width]", n.value ? "w-5" : "w-0"])
3674
3674
  }, null, 2)) : V("", !0),
3675
- b("form", {
3675
+ y("form", {
3676
3676
  class: "w-full",
3677
- "aria-hidden": w.formAriaHidden,
3678
- onSubmit: S[4] || (S[4] = at((L) => {
3677
+ "aria-hidden": b.formAriaHidden,
3678
+ onSubmit: x[4] || (x[4] = at((L) => {
3679
3679
  var A;
3680
3680
  return (A = r.value) == null ? void 0 : A.blur();
3681
3681
  }, ["prevent"]))
3682
3682
  }, [
3683
- lt(b("input", {
3683
+ lt(y("input", {
3684
3684
  ref: "$inputRef",
3685
- "onUpdate:modelValue": S[0] || (S[0] = (L) => a.value = L),
3686
- tabindex: w.tabindex ?? void 0,
3687
- "aria-label": w.ariaLabel ?? void 0,
3688
- type: w.type,
3685
+ "onUpdate:modelValue": x[0] || (x[0] = (L) => a.value = L),
3686
+ tabindex: b.tabindex ?? void 0,
3687
+ "aria-label": b.ariaLabel ?? void 0,
3688
+ type: b.type,
3689
3689
  class: _([
3690
3690
  c.value,
3691
- { "opacity-0": !n.value, "appearance-textfield": !n.value && w.type === "number" }
3691
+ { "opacity-0": !n.value, "appearance-textfield": !n.value && b.type === "number" }
3692
3692
  ]),
3693
- onKeyup: S[1] || (S[1] = (L) => w.$emit("update", a.value)),
3694
- onFocus: S[2] || (S[2] = (L) => m()),
3695
- onBlur: S[3] || (S[3] = (L) => h())
3693
+ onKeyup: x[1] || (x[1] = (L) => b.$emit("update", a.value)),
3694
+ onFocus: x[2] || (x[2] = (L) => m()),
3695
+ onBlur: x[3] || (x[3] = (L) => h())
3696
3696
  }, null, 42, vl), [
3697
3697
  [es, a.value]
3698
3698
  ])
@@ -3705,8 +3705,8 @@ const el = /* @__PURE__ */ v({
3705
3705
  height: "1.2em"
3706
3706
  };
3707
3707
  function yl(t, s) {
3708
- return o(), y("svg", bl, s[0] || (s[0] = [
3709
- b("path", {
3708
+ return o(), w("svg", bl, s[0] || (s[0] = [
3709
+ y("path", {
3710
3710
  fill: "currentColor",
3711
3711
  d: "M449.07 399.08L278.64 82.58c-12.08-22.44-44.26-22.44-56.35 0L51.87 399.08A32 32 0 0 0 80 446.25h340.89a32 32 0 0 0 28.18-47.17m-198.6-1.83a20 20 0 1 1 20-20a20 20 0 0 1-20 20m21.72-201.15l-5.74 122a16 16 0 0 1-32 0l-5.74-121.95a21.73 21.73 0 0 1 21.5-22.69h.21a21.74 21.74 0 0 1 21.73 22.7Z"
3712
3712
  }, null, -1)
@@ -3718,8 +3718,8 @@ const wl = R({ name: "ion-warning", render: yl }), $l = {
3718
3718
  height: "1.2em"
3719
3719
  };
3720
3720
  function _l(t, s) {
3721
- return o(), y("svg", $l, s[0] || (s[0] = [
3722
- b("path", {
3721
+ return o(), w("svg", $l, s[0] || (s[0] = [
3722
+ y("path", {
3723
3723
  fill: "currentColor",
3724
3724
  d: "M.2 10a11 11 0 0 1 19.6 0A11 11 0 0 1 .2 10m9.8 4a4 4 0 1 0 0-8a4 4 0 0 0 0 8m0-2a2 2 0 1 1 0-4a2 2 0 0 1 0 4"
3725
3725
  }, null, -1)
@@ -3732,14 +3732,14 @@ const Cl = R({ name: "zondicons-view-show", render: _l }), xl = { class: "font-m
3732
3732
  title: s.$td("errors.report", "Errors ({count})", { count: s.$errors.logs.length })
3733
3733
  }, {
3734
3734
  default: f(() => [
3735
- b("ol", null, [
3736
- (o(!0), y(j, null, O(s.$errors.logs, (r, n) => (o(), y("li", {
3735
+ y("ol", null, [
3736
+ (o(!0), w(j, null, O(s.$errors.logs, (r, n) => (o(), w("li", {
3737
3737
  key: n,
3738
3738
  class: "mb-2 flex max-w-prose min-w-56 justify-between py-2 last:mb-0"
3739
3739
  }, [
3740
- b("div", null, [
3741
- b("h3", xl, C(r.report.title), 1),
3742
- b("time", {
3740
+ y("div", null, [
3741
+ y("h3", xl, C(r.report.title), 1),
3742
+ y("time", {
3743
3743
  datetime: r.date.toISOString(),
3744
3744
  class: "text-xs text-gray-700"
3745
3745
  }, C(r.date.toLocaleTimeString()), 9, kl),
@@ -3833,7 +3833,7 @@ const Cl = R({ name: "zondicons-view-show", render: _l }), xl = { class: "font-m
3833
3833
  "fullscreen-on-mobile": e.$app.settingsFullscreenOnMobile
3834
3834
  }, {
3835
3835
  default: f(() => [
3836
- (o(!0), y(j, null, O(s.value, (n, a) => (o(), g(te(n.component), { key: a }))), 128))
3836
+ (o(!0), w(j, null, O(s.value, (n, a) => (o(), g(te(n.component), { key: a }))), 128))
3837
3837
  ]),
3838
3838
  _: 1
3839
3839
  }, 8, ["title", "fullscreen-on-mobile"]));
@@ -3854,9 +3854,9 @@ const Cl = R({ name: "zondicons-view-show", render: _l }), xl = { class: "font-m
3854
3854
  },
3855
3855
  emits: ["update:modelValue"],
3856
3856
  setup(t) {
3857
- const s = W(t, ["label", "inputClass", "wrapperClass"]), e = Z("$inputRef"), [r, n] = Pe(), a = d(() => k("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = d(() => {
3857
+ const s = W(t, ["label", "inputClass", "wrapperClass"]), e = Z("$inputRef"), [r, n] = Pe(), a = d(() => S("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), u = d(() => {
3858
3858
  var i, c, m;
3859
- return k(
3859
+ return S(
3860
3860
  // eslint-disable-next-line vue/max-len
3861
3861
  "block w-full rounded-md border-0 py-1.5 ring-1 ring-inset focus:ring-2 focus:ring-inset sm:text-sm sm:leading-6",
3862
3862
  {
@@ -3878,11 +3878,11 @@ const Cl = R({ name: "zondicons-view-show", render: _l }), xl = { class: "font-m
3878
3878
  var m;
3879
3879
  return [
3880
3880
  p(we, { class: "block text-sm leading-6 font-medium text-gray-900" }),
3881
- b("div", {
3881
+ y("div", {
3882
3882
  class: _(a.value)
3883
3883
  }, [
3884
3884
  p(nl, E(l(r), { class: u.value }), null, 16, ["class"]),
3885
- (m = e.value) != null && m.errors ? (o(), y("div", Tl, [
3885
+ (m = e.value) != null && m.errors ? (o(), w("div", Tl, [
3886
3886
  p(l(De), { class: "size-5 text-red-500" })
3887
3887
  ])) : V("", !0)
3888
3888
  ], 2),
@@ -3896,12 +3896,12 @@ const Cl = R({ name: "zondicons-view-show", render: _l }), xl = { class: "font-m
3896
3896
  });
3897
3897
  class To {
3898
3898
  constructor() {
3899
- x(this, "status");
3900
- x(this, "_listeners");
3901
- x(this, "_progress");
3902
- x(this, "_cancelled");
3903
- x(this, "_started");
3904
- x(this, "_completed");
3899
+ k(this, "status");
3900
+ k(this, "_listeners");
3901
+ k(this, "_progress");
3902
+ k(this, "_cancelled");
3903
+ k(this, "_started");
3904
+ k(this, "_completed");
3905
3905
  this.status = this.getInitialStatus(), this._listeners = new ps(), this._started = new J(), this._completed = new J();
3906
3906
  }
3907
3907
  async start() {
@@ -4067,7 +4067,7 @@ export {
4067
4067
  Me as bootServices,
4068
4068
  ho as bootstrap,
4069
4069
  Ya as bootstrapApplication,
4070
- k as classes,
4070
+ S as classes,
4071
4071
  Io as closeModal,
4072
4072
  Gl as computedAsync,
4073
4073
  Xl as computedDebounce,