@aerogel/core 0.1.0-next.f99d02aba04109e68987d90489974bfa0bb54a41 → 0.1.1-next.1a964fb10cbea49d0eed8de0623c9b71ce8442f4

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,38 +1,38 @@
1
1
  var St = Object.defineProperty;
2
2
  var Tt = (t, s, e) => s in t ? St(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
3
  var _ = (t, s, e) => Tt(t, typeof s != "symbol" ? s + "" : s, e);
4
- import { markRaw as E, Comment as Mt, Text as Ht, Static as Et, inject as X, reactive as pe, unref as o, onUnmounted as ge, ref as U, computed as c, readonly as ve, nextTick as Oe, useAttrs as Ne, onMounted as Vt, watch as Me, toRaw as Lt, watchEffect as Y, defineComponent as g, createBlock as h, openBlock as u, mergeProps as H, withCtx as f, renderSlot as w, createPropsRestProxy as N, createVNode as p, normalizeProps as ne, guardReactiveProps as ae, createTextVNode as I, toDisplayString as x, normalizeClass as k, createElementBlock as b, Fragment as D, renderList as F, provide as le, resolveDynamicComponent as W, useSlots as He, createCommentVNode as T, createElementVNode as y, h as It, toRef as Re, useTemplateRef as G, withModifiers as We, withDirectives as Ke, vModelCheckbox as qt, normalizeStyle as zt, resolveComponent as Rt, createApp as Pt, vModelText as At } from "vue";
5
- import { JSError as be, stringToSlug as Dt, tap as ee, MagicObject as Qe, PromisedValue as K, Storage as O, objectOnly as oe, arrayFrom as Je, isEmpty as xe, objectDeepClone as jt, fail as Q, facade as te, arrayRemove as Se, getEnv as Bt, updateLocationQueryParameters as Ft, forever as Ut, toString as B, objectWithout as Ot, noop as Nt, debounce as Wt, stringMatchAll as Ze, isDevelopment as J, isTesting as Ee, after as ue, uuid as re, required as Kt, isObject as ce, objectWithoutEmpty as Xe, value as Qt, isInstanceOf as Pe, stringExcerpt as Jt, arraySorted as Zt, ListenersManager as Xt, toError as Yt, round as Gt } from "@noeldemartin/utils";
4
+ import { markRaw as E, Comment as Mt, Text as Ht, Static as Et, inject as X, reactive as pe, unref as l, onUnmounted as ge, ref as U, computed as c, readonly as ve, nextTick as Oe, useAttrs as Ne, onMounted as Vt, watch as Me, toRaw as Lt, customRef as It, watchEffect as Y, defineComponent as g, createBlock as h, openBlock as u, mergeProps as H, withCtx as f, renderSlot as w, createPropsRestProxy as W, createVNode as p, normalizeProps as ne, guardReactiveProps as ae, createTextVNode as I, toDisplayString as x, normalizeClass as k, createElementBlock as b, Fragment as D, renderList as F, provide as le, resolveDynamicComponent as K, useSlots as He, createCommentVNode as T, createElementVNode as y, h as qt, toRef as Re, useTemplateRef as G, withModifiers as We, withDirectives as Ke, vModelCheckbox as zt, normalizeStyle as Rt, resolveComponent as At, createApp as Pt, vModelText as Dt } from "vue";
5
+ import { JSError as be, stringToSlug as jt, tap as ee, MagicObject as Qe, PromisedValue as Q, Storage as O, objectOnly as oe, arrayFrom as Je, isEmpty as xe, objectDeepClone as Bt, fail as N, facade as te, arrayRemove as Se, getEnv as Ft, updateLocationQueryParameters as Ut, forever as Ot, toString as B, objectWithout as Nt, noop as Wt, debounce as Kt, stringMatchAll as Ze, isDevelopment as J, isTesting as Ee, after as ue, uuid as re, required as Qt, isObject as ce, objectWithoutEmpty as Xe, value as Jt, isInstanceOf as Ae, stringExcerpt as Zt, arraySorted as Xt, ListenersManager as Yt, toError as Gt, round as es } from "@noeldemartin/utils";
6
6
  import j from "virtual:aerogel";
7
- import { createPinia as es, setActivePinia as ts, defineStore as ss } from "pinia";
8
- import rs from "dompurify";
9
- import { marked as ns, Renderer as Ae } from "marked";
10
- import as from "clsx";
11
- import { cva as ls } from "class-variance-authority";
12
- import { twMerge as os } from "tailwind-merge";
13
- import { Primitive as is, SelectValue as De, SelectTrigger as us, SelectIcon as cs, SelectItem as ds, SelectItemText as ps, SelectPortal as ms, SelectContent as fs, SelectViewport as hs, SelectRoot as gs, Label as vs, useForwardExpose as Ve, SwitchRoot as bs, SwitchThumb as ys, DialogRoot as ws, DialogPortal as $s, DialogContent as _s, DialogDescription as xs, DialogOverlay as Cs, DialogTitle as ks, ToastClose as Ss, ToastRoot as Ts, ToastProvider as Ms, ToastViewport as Hs, DropdownMenuItem as Es, DropdownMenuContent as Vs, DropdownMenuRoot as Ls, DropdownMenuTrigger as Is, DropdownMenuPortal as qs } from "reka-ui";
7
+ import { createPinia as ts, setActivePinia as ss, defineStore as rs } from "pinia";
8
+ import ns from "dompurify";
9
+ import { marked as as, Renderer as Pe } from "marked";
10
+ import ls from "clsx";
11
+ import { cva as os } from "class-variance-authority";
12
+ import { twMerge as is } from "tailwind-merge";
13
+ import { Primitive as us, SelectValue as De, SelectTrigger as cs, SelectIcon as ds, SelectItem as ps, SelectItemText as ms, SelectPortal as fs, SelectContent as hs, SelectViewport as gs, SelectRoot as vs, Label as bs, useForwardExpose as Ve, SwitchRoot as ys, SwitchThumb as ws, DialogRoot as $s, DialogPortal as _s, DialogContent as xs, DialogDescription as Cs, DialogOverlay as ks, DialogTitle as Ss, ToastClose as Ts, ToastRoot as Ms, ToastProvider as Hs, ToastViewport as Es, DropdownMenuItem as Vs, DropdownMenuContent as Ls, DropdownMenuRoot as Is, DropdownMenuTrigger as qs, DropdownMenuPortal as zs } from "reka-ui";
14
14
  class Te extends be {
15
15
  constructor(s, e) {
16
16
  super(`Service '${s}' failed booting`, { cause: e });
17
17
  }
18
18
  }
19
- function zs() {
20
- return j.namespace ?? Dt(j.name);
19
+ function Rs() {
20
+ return j.namespace ?? jt(j.name);
21
21
  }
22
22
  let Le = null;
23
23
  function Ye() {
24
- return Le ?? Rs();
24
+ return Le ?? As();
25
25
  }
26
- function Rs() {
27
- return ee(es(), (t) => {
28
- Le = t, ts(t);
26
+ function As() {
27
+ return ee(ts(), (t) => {
28
+ Le = t, ss(t);
29
29
  });
30
30
  }
31
31
  function Ps() {
32
32
  return Le ?? Ye();
33
33
  }
34
- function As(t, s) {
35
- return Ye(), ss(t, s)();
34
+ function Ds(t, s) {
35
+ return Ye(), rs(t, s)();
36
36
  }
37
37
  function ye(t) {
38
38
  var s;
@@ -82,7 +82,7 @@ let we = (ke = class extends Qe {
82
82
  _(this, "_watchers");
83
83
  _(this, "_store");
84
84
  const e = this.getComputedStateDefinition();
85
- this._name = this.getName() ?? new.target.name, this._booted = new K(), this._computedStateKeys = new Set(Object.keys(e)), this._watchers = this.getStateWatchers(), this._store = this.usesStore() && As(this._name, {
85
+ this._name = this.getName() ?? new.target.name, this._booted = new Q(), this._computedStateKeys = new Set(Object.keys(e)), this._watchers = this.getStateWatchers(), this._store = this.usesStore() && Ds(this._name, {
86
86
  state: () => this.getInitialState(),
87
87
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
88
88
  getters: e
@@ -132,7 +132,7 @@ let we = (ke = class extends Qe {
132
132
  this.setState({ [e]: r });
133
133
  }
134
134
  get storageKey() {
135
- return `${zs()}:${this._name}`;
135
+ return `${Rs()}:${this._name}`;
136
136
  }
137
137
  onStateUpdated(e, r) {
138
138
  const n = oe(e, this.static("persist"));
@@ -146,7 +146,7 @@ let we = (ke = class extends Qe {
146
146
  const r = O.get(this.storageKey);
147
147
  r && O.set(this.storageKey, {
148
148
  ...r,
149
- ...this.serializePersistedState(jt(e))
149
+ ...this.serializePersistedState(Bt(e))
150
150
  });
151
151
  }
152
152
  usesStore() {
@@ -186,15 +186,15 @@ let we = (ke = class extends Qe {
186
186
  }
187
187
  }
188
188
  requireStore() {
189
- return this._store ? this._store : Q(`Failed getting '${this._name}' store`);
189
+ return this._store ? this._store : N(`Failed getting '${this._name}' store`);
190
190
  }
191
191
  }, _(ke, "persist", []), ke);
192
- const ol = {
192
+ const il = {
193
193
  Low: -256,
194
194
  Default: 0,
195
195
  High: 256
196
196
  };
197
- class Ds extends we {
197
+ class js extends we {
198
198
  constructor() {
199
199
  super(...arguments);
200
200
  _(this, "listeners", {});
@@ -209,7 +209,7 @@ class Ds extends we {
209
209
  var a;
210
210
  const n = this.listeners[e] ?? { priorities: [], handlers: {} };
211
211
  for (const i of n.priorities)
212
- await Promise.all(((a = n.handlers[i]) == null ? void 0 : a.map((l) => l(r))) ?? []);
212
+ await Promise.all(((a = n.handlers[i]) == null ? void 0 : a.map((o) => o(r))) ?? []);
213
213
  }
214
214
  // prettier-ignore
215
215
  /* eslint-enable max-len */
@@ -221,11 +221,11 @@ class Ds extends we {
221
221
  /* eslint-enable max-len */
222
222
  once(e, r, n) {
223
223
  let a = null;
224
- const i = typeof r == "function" ? {} : r, l = typeof r == "function" ? r : n;
224
+ const i = typeof r == "function" ? {} : r, o = typeof r == "function" ? r : n;
225
225
  return ee(
226
226
  () => a && this.off(e, a),
227
227
  (d) => {
228
- a = (...v) => (d(), l(...v)), this.registerListener(e, i, l);
228
+ a = (...v) => (d(), o(...v)), this.registerListener(e, i, o);
229
229
  }
230
230
  );
231
231
  }
@@ -235,28 +235,28 @@ class Ds extends we {
235
235
  if (!n)
236
236
  return;
237
237
  const a = [...n.priorities];
238
- for (const l of a)
239
- Se(n.handlers[l] ?? [], r), ((i = n.handlers[l]) == null ? void 0 : i.length) === 0 && (delete n.handlers[l], Se(n.priorities, l));
238
+ for (const o of a)
239
+ Se(n.handlers[o] ?? [], r), ((i = n.handlers[o]) == null ? void 0 : i.length) === 0 && (delete n.handlers[o], Se(n.priorities, o));
240
240
  n.priorities.length === 0 && delete this.listeners[e];
241
241
  }
242
242
  registerListener(e, r, n) {
243
243
  var d, v, $;
244
244
  const a = r.priority ?? 0;
245
245
  e in this.listeners || (this.listeners[e] = { priorities: [], handlers: {} });
246
- const i = ((d = this.listeners[e]) == null ? void 0 : d.priorities) ?? Q(`priorities missing for event '${e}'`), l = ((v = this.listeners[e]) == null ? void 0 : v.handlers) ?? Q(`handlers missing for event '${e}'`);
247
- i.includes(a) || (i.push(a), i.sort((m, C) => C - m), l[a] = []), ($ = l[a]) == null || $.push(n);
246
+ const i = ((d = this.listeners[e]) == null ? void 0 : d.priorities) ?? N(`priorities missing for event '${e}'`), o = ((v = this.listeners[e]) == null ? void 0 : v.handlers) ?? N(`handlers missing for event '${e}'`);
247
+ i.includes(a) || (i.push(a), i.sort((m, C) => C - m), o[a] = []), ($ = o[a]) == null || $.push(n);
248
248
  }
249
249
  }
250
- const R = te(Ds);
251
- function il(t) {
250
+ const R = te(js);
251
+ function ul(t) {
252
252
  return t;
253
253
  }
254
- const js = ye({
254
+ const Bs = ye({
255
255
  name: "app",
256
256
  initialState: {
257
257
  plugins: {},
258
258
  instance: null,
259
- environment: Bt() ?? "development",
259
+ environment: Ft() ?? "development",
260
260
  version: j.version,
261
261
  sourceUrl: j.sourceUrl,
262
262
  settings: []
@@ -273,12 +273,12 @@ const js = ye({
273
273
  }
274
274
  }
275
275
  });
276
- class Bs extends js {
276
+ class Fs extends Bs {
277
277
  constructor() {
278
278
  super(...arguments);
279
279
  _(this, "name", j.name);
280
- _(this, "ready", new K());
281
- _(this, "mounted", new K());
280
+ _(this, "ready", new Q());
281
+ _(this, "mounted", new Q());
282
282
  }
283
283
  isReady() {
284
284
  return this.ready.isResolved();
@@ -293,7 +293,7 @@ class Bs extends js {
293
293
  return await this.ready.then(e);
294
294
  }
295
295
  async reload(e) {
296
- e && Ft(e), location.reload(), await Ut();
296
+ e && Ut(e), location.reload(), await Ot();
297
297
  }
298
298
  plugin(e) {
299
299
  return this.plugins[e] ?? null;
@@ -306,12 +306,12 @@ class Bs extends js {
306
306
  R.once("application-ready", () => this.ready.resolve()), R.once("application-mounted", () => this.mounted.resolve());
307
307
  }
308
308
  }
309
- const A = te(Bs);
310
- function ul(t) {
309
+ const P = te(Fs);
310
+ function cl(t) {
311
311
  return t;
312
312
  }
313
- async function Fs(t, ...s) {
314
- A.setState(
313
+ async function Us(t, ...s) {
314
+ P.setState(
315
315
  "plugins",
316
316
  t.reduce(
317
317
  (e, r) => (r.name && (e[r.name] = r), e),
@@ -319,28 +319,28 @@ async function Fs(t, ...s) {
319
319
  )
320
320
  ), await Promise.all(t.map((e) => e.install(...s)) ?? []);
321
321
  }
322
- function Us(t) {
322
+ function Os(t) {
323
323
  return Object.entries(t.props ?? {}).reduce((s, [e, r]) => s + `${e}="${B(r)}"`, "");
324
324
  }
325
- function cl(t) {
325
+ function dl(t) {
326
326
  return t;
327
327
  }
328
- function Os(t) {
328
+ function Ns(t) {
329
329
  const s = X(t);
330
330
  return s ? pe(s) : void 0;
331
331
  }
332
332
  function V(t, s) {
333
- return Os(t) ?? Q(s ?? `Could not resolve '${B(t)}' injection key`);
333
+ return Ns(t) ?? N(s ?? `Could not resolve '${B(t)}' injection key`);
334
334
  }
335
- function Ns(t, s) {
336
- return X(t) ?? Q(s ?? `Could not resolve '${B(t)}' injection key`);
335
+ function Ws(t, s) {
336
+ return X(t) ?? N(s ?? `Could not resolve '${B(t)}' injection key`);
337
337
  }
338
338
  function Ge(t) {
339
339
  return typeof t == "string" ? t : t.type === Mt ? "" : t.type === Ht || t.type === Et ? t.children : t.type === "br" ? `
340
340
 
341
- ` : `<${t.type} ${Us(t)}>${Array.from(t.children).map(Ge).join("")}</${t.type}>`;
341
+ ` : `<${t.type} ${Os(t)}>${Array.from(t.children).map(Ge).join("")}</${t.type}>`;
342
342
  }
343
- const Ce = /* @__PURE__ */ new WeakMap(), Ws = {
343
+ const Ce = /* @__PURE__ */ new WeakMap(), Ks = {
344
344
  mounted(t, { value: s, modifiers: e }) {
345
345
  const r = typeof s == "function" ? s : null, n = () => {
346
346
  const a = t.getBoundingClientRect();
@@ -354,20 +354,20 @@ const Ce = /* @__PURE__ */ new WeakMap(), Ws = {
354
354
  }
355
355
  };
356
356
  function et(t, s) {
357
- const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, i = ls(n, a);
358
- return M(i(r), o(e));
357
+ const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, i = os(n, a);
358
+ return M(i(r), l(e));
359
359
  }
360
360
  function M(...t) {
361
- return os(as(t));
361
+ return is(ls(t));
362
362
  }
363
363
  function tt(t, s) {
364
364
  const e = R.on(t, s);
365
365
  ge(() => e());
366
366
  }
367
- const Ks = {
367
+ const Qs = {
368
368
  required: (t) => t ? void 0 : "required"
369
369
  };
370
- function Qs(t, s) {
370
+ function Js(t, s) {
371
371
  var e;
372
372
  if (t == null)
373
373
  return !0;
@@ -386,20 +386,20 @@ function Qs(t, s) {
386
386
  return typeof t == "object";
387
387
  }
388
388
  }
389
- const de = { ...Ks };
390
- function dl(t, s) {
389
+ const de = { ...Qs };
390
+ function pl(t, s) {
391
391
  de[t] = s;
392
392
  }
393
- function Js(t, s) {
394
- return Qs(t, s) ? [] : ["invalid_value"];
395
- }
396
393
  function Zs(t, s) {
394
+ return Js(t, s) ? [] : ["invalid_value"];
395
+ }
396
+ function Xs(t, s) {
397
397
  var r;
398
398
  const e = (r = de[s]) == null ? void 0 : r.call(de, t);
399
399
  return e ? Je(e) : [];
400
400
  }
401
- const pl = Symbol(), je = /* @__PURE__ */ new WeakMap();
402
- class Xs extends Qe {
401
+ const ml = Symbol(), je = /* @__PURE__ */ new WeakMap();
402
+ class Ys extends Qe {
403
403
  constructor(e) {
404
404
  super();
405
405
  _(this, "errors");
@@ -421,7 +421,7 @@ class Xs extends Qe {
421
421
  return this._submitted.value;
422
422
  }
423
423
  setFieldValue(e, r) {
424
- const n = this._fields[e] ?? Q(`Trying to set undefined '${B(e)}' field`);
424
+ const n = this._fields[e] ?? N(`Trying to set undefined '${B(e)}' field`);
425
425
  this._data[e] = n.type === "string" && (n.trim ?? !0) ? B(r).trim() : r, this._submitted.value && this.validate();
426
426
  }
427
427
  getFieldValue(e) {
@@ -476,11 +476,11 @@ class Xs extends Qe {
476
476
  this.setFieldValue(e, r);
477
477
  }
478
478
  getFieldErrors(e, r) {
479
- var l;
480
- const n = [], a = this._data[e], i = ((l = r.rules) == null ? void 0 : l.split("|")) ?? [];
481
- n.push(...Js(a, r));
479
+ var o;
480
+ const n = [], a = this._data[e], i = ((o = r.rules) == null ? void 0 : o.split("|")) ?? [];
481
+ n.push(...Zs(a, r));
482
482
  for (const d of i)
483
- d !== "required" && a == null || n.push(...Zs(a, d));
483
+ d !== "required" && a == null || n.push(...Xs(a, d));
484
484
  return n.length > 0 ? n : null;
485
485
  }
486
486
  getInitialData(e) {
@@ -508,44 +508,71 @@ function st(t, s) {
508
508
  ge(() => r == null ? void 0 : r());
509
509
  }
510
510
  function rt(t) {
511
- return new Xs(t);
511
+ return new Ys(t);
512
512
  }
513
513
  function Ie() {
514
514
  const t = Ne(), s = c(() => t.class);
515
- return [c(() => Ot(t, "class")), s];
515
+ return [c(() => Nt(t, "class")), s];
516
516
  }
517
- function ml(t) {
518
- let s = Nt;
517
+ function fl(t) {
518
+ let s = Wt;
519
519
  Vt(() => s = t()), ge(() => s());
520
520
  }
521
- function fl(t, s) {
521
+ function hl(t, s) {
522
522
  const e = pe(O.get(t) ?? s);
523
523
  return Me(e, () => O.set(t, Lt(e))), e;
524
524
  }
525
- function hl(t) {
525
+ function gl(t) {
526
+ let s = new Set(t), e, r;
527
+ const n = It((a, i) => (r = a, e = i, {
528
+ get: () => s,
529
+ set: () => N("Attempted to write read-only reactive set")
530
+ }));
531
+ return {
532
+ values() {
533
+ return r(), Array.from(n.value.values());
534
+ },
535
+ has(a) {
536
+ return r(), n.value.has(a);
537
+ },
538
+ add(a) {
539
+ e(), n.value.add(a);
540
+ },
541
+ delete(a) {
542
+ e(), n.value.delete(a);
543
+ },
544
+ clear() {
545
+ e(), n.value.clear();
546
+ },
547
+ reset(a) {
548
+ e(), s = new Set(a);
549
+ }
550
+ };
551
+ }
552
+ function vl(t) {
526
553
  const s = U(), e = c(t);
527
554
  return Me(e, async () => s.value = await e.value, { immediate: !0 }), s;
528
555
  }
529
- function gl(t, s) {
530
- const e = s ? t : {}, r = s ?? t, n = U(e.initial ?? null), a = Wt((i) => n.value = i, e.delay ?? 300);
556
+ function bl(t, s) {
557
+ const e = s ? t : {}, r = s ?? t, n = U(e.initial ?? null), a = Kt((i) => n.value = i, e.delay ?? 300);
531
558
  return Y(() => a(r())), n;
532
559
  }
533
560
  let ie = null;
534
- function Ys() {
535
- return ee(new Ae(), (t) => {
561
+ function Gs() {
562
+ return ee(new Pe(), (t) => {
536
563
  t.link = function(s) {
537
- const e = Ae.prototype.link.apply(this, [s]);
564
+ const e = Pe.prototype.link.apply(this, [s]);
538
565
  return s.href.startsWith("#") ? e : e.replace("<a", '<a target="_blank"');
539
566
  };
540
567
  });
541
568
  }
542
- function Gs(t) {
569
+ function er(t) {
543
570
  const s = Ze(t, /<a[^>]*href="#action:([^"]+)"[^>]*>([^<]+)<\/a>/g);
544
571
  for (const [e, r, n] of s)
545
572
  t = t.replace(e, `<button type="button" data-markdown-action="${r}">${n}</button>`);
546
573
  return t;
547
574
  }
548
- function er(t) {
575
+ function tr(t) {
549
576
  const s = Ze(t, /<a[^>]*href="#route:([^"]+)"[^>]*>([^<]+)<\/a>/g);
550
577
  for (const [e, r, n] of s) {
551
578
  const a = (ie == null ? void 0 : ie.resolve(r)) ?? r;
@@ -553,37 +580,37 @@ function er(t) {
553
580
  }
554
581
  return t;
555
582
  }
556
- function tr() {
583
+ function sr() {
557
584
  return ie;
558
585
  }
559
- function vl(t) {
586
+ function yl(t) {
560
587
  ie = t;
561
588
  }
562
- function sr(t) {
563
- let s = ns(t, { renderer: Ys(), async: !1 });
564
- return s = nt(s), s = Gs(s), s = er(s), s;
589
+ function rr(t) {
590
+ let s = as(t, { renderer: Gs(), async: !1 });
591
+ return s = nt(s), s = er(s), s = tr(s), s;
565
592
  }
566
593
  function nt(t) {
567
- return rs.sanitize(t, { ADD_ATTR: ["target"] });
594
+ return ns.sanitize(t, { ADD_ATTR: ["target"] });
568
595
  }
569
- const rr = {
596
+ const nr = {
570
597
  mounted(t, { value: s }) {
571
598
  t.innerHTML = nt(s);
572
599
  }
573
- }, nr = {
574
- measure: Ws,
575
- "safe-html": rr
576
600
  }, ar = {
601
+ measure: Ks,
602
+ "safe-html": nr
603
+ }, lr = {
577
604
  install(t, s) {
578
605
  const e = {
579
- ...nr,
606
+ ...ar,
580
607
  ...s.directives
581
608
  };
582
609
  for (const [r, n] of Object.entries(e))
583
610
  t.directive(r, n);
584
611
  }
585
612
  };
586
- class lr extends we {
613
+ class or extends we {
587
614
  constructor() {
588
615
  super(...arguments);
589
616
  _(this, "cache");
@@ -599,26 +626,26 @@ class lr extends we {
599
626
  (await n.keys(e)).length !== 0 && await n.put(e, r);
600
627
  }
601
628
  async open() {
602
- return this.cache = this.cache ?? ee(new K(), (e) => {
629
+ return this.cache = this.cache ?? ee(new Q(), (e) => {
603
630
  caches.open("app").then((r) => e.resolve(r));
604
631
  });
605
632
  }
606
633
  }
607
- const bl = te(lr);
608
- class or extends we {
634
+ const wl = te(or);
635
+ class ir extends we {
609
636
  async purge() {
610
637
  await R.emit("purge-storage");
611
638
  }
612
639
  }
613
- const at = te(or);
614
- function yl(t, s) {
640
+ const at = te(ir);
641
+ function $l(t, s) {
615
642
  return {
616
643
  ...t,
617
644
  ...oe(s, Object.keys(t))
618
645
  };
619
646
  }
620
- const ir = {
621
- $app: A,
647
+ const ur = {
648
+ $app: P,
622
649
  $events: R,
623
650
  $storage: at
624
651
  };
@@ -632,14 +659,14 @@ async function $e(t, s) {
632
659
  })
633
660
  ), Object.assign(t.config.globalProperties, s), (J() || Ee()) && Object.assign(globalThis, s);
634
661
  }
635
- const ur = {
662
+ const cr = {
636
663
  async install(t, s) {
637
664
  var r;
638
665
  const e = {
639
- ...ir,
666
+ ...ur,
640
667
  ...s.services
641
668
  };
642
- t.use(Ps()), (r = s.settings) == null || r.forEach((n) => A.addSetting(n)), await $e(t, e);
669
+ t.use(Ps()), (r = s.settings) == null || r.forEach((n) => P.addSetting(n)), await $e(t, e);
643
670
  }
644
671
  }, lt = 768, me = {
645
672
  Mobile: "mobile",
@@ -648,7 +675,7 @@ const ur = {
648
675
  function ot() {
649
676
  return globalThis.innerWidth > lt ? me.Desktop : me.Mobile;
650
677
  }
651
- const cr = ye({
678
+ const dr = ye({
652
679
  name: "ui",
653
680
  initialState: {
654
681
  modals: [],
@@ -661,7 +688,7 @@ const cr = ye({
661
688
  openModals: ({ modals: t }) => t.filter(({ closing: s }) => !s)
662
689
  }
663
690
  });
664
- class dr extends cr {
691
+ class pr extends dr {
665
692
  constructor() {
666
693
  super(...arguments);
667
694
  _(this, "modalCallbacks", {});
@@ -674,7 +701,7 @@ class dr extends cr {
674
701
  return this.components[e] ?? null;
675
702
  }
676
703
  requireComponent(e) {
677
- return this.resolveComponent(e) ?? Q(`UI Component '${e}' is not defined!`);
704
+ return this.resolveComponent(e) ?? N(`UI Component '${e}' is not defined!`);
678
705
  }
679
706
  alert(e, r) {
680
707
  const n = () => typeof r != "string" ? { message: e } : {
@@ -695,7 +722,7 @@ class dr extends cr {
695
722
  title: e,
696
723
  message: r,
697
724
  required: !!(n != null && n.required)
698
- }, l = await this.modalForm(this.requireComponent("confirm-modal"), i), d = typeof l == "object" ? l[0] : l ?? !1, v = typeof l == "object" ? l[1] : Object.entries(i.checkboxes ?? {}).reduce(
725
+ }, o = await this.modalForm(this.requireComponent("confirm-modal"), i), d = typeof o == "object" ? o[0] : o ?? !1, v = typeof o == "object" ? o[1] : Object.entries(i.checkboxes ?? {}).reduce(
699
726
  ($, [m, { default: C }]) => ({
700
727
  [m]: C ?? !1,
701
728
  ...$
@@ -715,8 +742,8 @@ class dr extends cr {
715
742
  title: e,
716
743
  message: r,
717
744
  ...n ?? {}
718
- }, l = await this.modalForm(this.requireComponent("prompt-modal"), i());
719
- return (a && typeof l == "string" ? l == null ? void 0 : l.trim() : l) ?? null;
745
+ }, o = await this.modalForm(this.requireComponent("prompt-modal"), i());
746
+ return (a && typeof o == "string" ? o == null ? void 0 : o.trim() : o) ?? null;
720
747
  }
721
748
  async loading(e, r) {
722
749
  const n = (m) => typeof m == "function" ? Promise.resolve(m()) : m, a = () => {
@@ -730,17 +757,17 @@ class dr extends cr {
730
757
  const { delay: m, ...C } = e;
731
758
  return {
732
759
  props: C,
733
- delay: o(m),
760
+ delay: l(m),
734
761
  operationPromise: n(r)
735
762
  };
736
763
  };
737
764
  let i = !1;
738
- const { operationPromise: l, props: d, delay: v } = a();
739
- if (v && await Promise.race([ue({ ms: v }).then(() => i = !0), l]), v && !i)
740
- return l;
765
+ const { operationPromise: o, props: d, delay: v } = a();
766
+ if (v && await Promise.race([ue({ ms: v }).then(() => i = !0), o]), v && !i)
767
+ return o;
741
768
  const $ = await this.modal(this.requireComponent("loading-modal"), d);
742
769
  try {
743
- const m = await l;
770
+ const m = await o;
744
771
  return await ue({ ms: 500 }), m;
745
772
  } finally {
746
773
  await this.closeModal($.id);
@@ -762,14 +789,14 @@ class dr extends cr {
762
789
  component: E(e),
763
790
  beforeClose: new Promise((d) => a.willClose = d),
764
791
  afterClose: new Promise((d) => a.hasClosed = d)
765
- }, l = this.modals.concat(i);
766
- return this.modalCallbacks[i.id] = a, this.setState({ modals: l }), await Oe(), i;
792
+ }, o = this.modals.concat(i);
793
+ return this.modalCallbacks[i.id] = a, this.setState({ modals: o }), await Oe(), i;
767
794
  }
768
795
  async modalForm(e, r) {
769
796
  return await (await this.modal(e, r)).beforeClose;
770
797
  }
771
798
  async closeModal(e, r) {
772
- if (!A.isMounted()) {
799
+ if (!P.isMounted()) {
773
800
  await this.removeModal(e, r);
774
801
  return;
775
802
  }
@@ -777,7 +804,7 @@ class dr extends cr {
777
804
  }
778
805
  async closeAllModals() {
779
806
  for (; this.modals.length > 0; )
780
- await this.closeModal(Kt(this.modals[this.modals.length - 1]).id);
807
+ await this.closeModal(Qt(this.modals[this.modals.length - 1]).id);
781
808
  }
782
809
  async boot() {
783
810
  this.watchModalEvents(), this.watchMountedEvent(), this.watchViewportBreakpoints();
@@ -792,7 +819,7 @@ class dr extends cr {
792
819
  watchModalEvents() {
793
820
  R.on("modal-will-close", ({ modal: { id: e }, result: r }) => {
794
821
  var a, i;
795
- const n = this.modals.find((l) => e === l.id);
822
+ const n = this.modals.find((o) => e === o.id);
796
823
  n && (n.closing = !0), (i = (a = this.modalCallbacks[e]) == null ? void 0 : a.willClose) == null || i.call(a, r);
797
824
  }), R.on("modal-has-closed", async ({ modal: { id: e }, result: r }) => {
798
825
  await this.removeModal(e, r);
@@ -812,8 +839,8 @@ class dr extends cr {
812
839
  globalThis.matchMedia(`(min-width: ${lt}px)`).addEventListener("change", () => this.setState({ layout: ot() }));
813
840
  }
814
841
  }
815
- const z = te(dr);
816
- class pr {
842
+ const z = te(pr);
843
+ class mr {
817
844
  constructor(s, e) {
818
845
  this.locale = s, this.fallbackLocale = e;
819
846
  }
@@ -839,7 +866,7 @@ class pr {
839
866
  return J() && console.warn("Lang provider is missing"), e;
840
867
  }
841
868
  }
842
- const mr = ye({
869
+ const fr = ye({
843
870
  name: "lang",
844
871
  persist: ["locale", "fallbackLocale"],
845
872
  initialState: {
@@ -848,11 +875,11 @@ const mr = ye({
848
875
  fallbackLocale: "en"
849
876
  }
850
877
  });
851
- class fr extends mr {
878
+ class hr extends fr {
852
879
  constructor() {
853
880
  super();
854
881
  _(this, "provider");
855
- this.provider = new pr(
882
+ this.provider = new mr(
856
883
  this.getState("locale") ?? this.getBrowserLocale(),
857
884
  this.getState("fallbackLocale")
858
885
  );
@@ -880,7 +907,7 @@ class fr extends mr {
880
907
  );
881
908
  }
882
909
  }
883
- const Z = te(fr), it = Z.translate.bind(Z), S = Z.translateWithDefault.bind(Z), hr = ye({
910
+ const Z = te(hr), it = Z.translate.bind(Z), S = Z.translateWithDefault.bind(Z), gr = ye({
884
911
  name: "errors",
885
912
  initialState: {
886
913
  logs: [],
@@ -893,7 +920,7 @@ const Z = te(fr), it = Z.translate.bind(Z), S = Z.translateWithDefault.bind(Z),
893
920
  hasStartupErrors: ({ startupErrors: t }) => t.length > 0
894
921
  }
895
922
  });
896
- class gr extends hr {
923
+ class vr extends gr {
897
924
  constructor() {
898
925
  super(...arguments);
899
926
  _(this, "forceReporting", !1);
@@ -917,7 +944,7 @@ class gr extends hr {
917
944
  async report(e, r) {
918
945
  if (await R.emit("error", { error: e, message: r }), Ee("unit") || (J() && this.logError(e), !this.enabled))
919
946
  throw e;
920
- if (!A.isMounted()) {
947
+ if (!P.isMounted()) {
921
948
  const i = await this.createStartupErrorReport(e);
922
949
  i && this.setState({ startupErrors: this.startupErrors.concat(i) });
923
950
  return;
@@ -995,7 +1022,7 @@ class gr extends hr {
995
1022
  };
996
1023
  }
997
1024
  }
998
- const ut = te(gr), ct = /* @__PURE__ */ g({
1025
+ const ut = te(vr), ct = /* @__PURE__ */ g({
999
1026
  __name: "HeadlessButton",
1000
1027
  props: {
1001
1028
  class: {},
@@ -1026,7 +1053,7 @@ const ut = te(gr), ct = /* @__PURE__ */ g({
1026
1053
  as: "button",
1027
1054
  type: t.submit ? "submit" : "button"
1028
1055
  });
1029
- return (e, r) => (u(), h(o(is), H({
1056
+ return (e, r) => (u(), h(l(us), H({
1030
1057
  class: t.class,
1031
1058
  "as-child": e.asChild,
1032
1059
  disabled: e.disabled
@@ -1053,7 +1080,7 @@ const ut = te(gr), ct = /* @__PURE__ */ g({
1053
1080
  as: {}
1054
1081
  },
1055
1082
  setup(t) {
1056
- const s = N(t, ["class", "size", "variant", "disabled"]), e = c(() => et(
1083
+ const s = W(t, ["class", "size", "variant", "disabled"]), e = c(() => et(
1057
1084
  { baseClasses: t.class, variant: t.variant, size: t.size, disabled: t.disabled },
1058
1085
  {
1059
1086
  baseClasses: "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",
@@ -1159,7 +1186,7 @@ const ut = te(gr), ct = /* @__PURE__ */ g({
1159
1186
  }, 16, ["class", "disabled"]));
1160
1187
  }
1161
1188
  });
1162
- function vr(t) {
1189
+ function br(t) {
1163
1190
  return typeof t == "object" && t !== null && "label" in t;
1164
1191
  }
1165
1192
  const dt = /* @__PURE__ */ g({
@@ -1169,17 +1196,17 @@ const dt = /* @__PURE__ */ g({
1169
1196
  "select",
1170
1197
  "<HeadlessSelectValue> must be a child of a <HeadlessSelect>"
1171
1198
  );
1172
- return (e, r) => e.$slots.default ? (u(), h(o(De), {
1199
+ return (e, r) => e.$slots.default ? (u(), h(l(De), {
1173
1200
  key: 0,
1174
- placeholder: o(s).placeholder
1201
+ placeholder: l(s).placeholder
1175
1202
  }, {
1176
1203
  default: f(() => [
1177
1204
  w(e.$slots, "default")
1178
1205
  ]),
1179
1206
  _: 3
1180
- }, 8, ["placeholder"])) : (u(), h(o(De), {
1207
+ }, 8, ["placeholder"])) : (u(), h(l(De), {
1181
1208
  key: 1,
1182
- placeholder: o(s).placeholder
1209
+ placeholder: l(s).placeholder
1183
1210
  }, null, 8, ["placeholder"]));
1184
1211
  }
1185
1212
  }), pt = /* @__PURE__ */ g({
@@ -1189,15 +1216,15 @@ const dt = /* @__PURE__ */ g({
1189
1216
  "select",
1190
1217
  "<HeadlessSelectTrigger> must be a child of a <HeadlessSelect>"
1191
1218
  );
1192
- return (e, r) => (u(), h(o(us), {
1193
- id: o(s).id
1219
+ return (e, r) => (u(), h(l(cs), {
1220
+ id: l(s).id
1194
1221
  }, {
1195
1222
  default: f(() => [
1196
1223
  w(e.$slots, "default", {}, () => [
1197
1224
  p(dt, {
1198
- placeholder: o(s).placeholder
1225
+ placeholder: l(s).placeholder
1199
1226
  }, null, 8, ["placeholder"]),
1200
- p(o(cs))
1227
+ p(l(ds))
1201
1228
  ])
1202
1229
  ]),
1203
1230
  _: 3
@@ -1221,9 +1248,9 @@ const dt = /* @__PURE__ */ g({
1221
1248
  const r = (n = s.options) == null ? void 0 : n.find((a) => a.value === t.value);
1222
1249
  return r ? r.label : B(t.value);
1223
1250
  });
1224
- return (r, n) => (u(), h(o(ds), ne(ae(r.$props)), {
1251
+ return (r, n) => (u(), h(l(ps), ne(ae(r.$props)), {
1225
1252
  default: f(() => [
1226
- p(o(ps), null, {
1253
+ p(l(ms), null, {
1227
1254
  default: f(() => [
1228
1255
  w(r.$slots, "default", {}, () => [
1229
1256
  I(x(e.value), 1)
@@ -1246,22 +1273,22 @@ const dt = /* @__PURE__ */ g({
1246
1273
  "select",
1247
1274
  "<HeadlessSelectOptions> must be a child of a <HeadlessSelect>"
1248
1275
  ), e = c(() => M("min-w-(--reka-select-trigger-width) max-h-(--reka-select-content-available-height)", t.class));
1249
- return (r, n) => (u(), h(o(ms), null, {
1276
+ return (r, n) => (u(), h(l(fs), null, {
1250
1277
  default: f(() => [
1251
- p(o(fs), {
1278
+ p(l(hs), {
1252
1279
  position: "popper",
1253
1280
  class: k(e.value),
1254
- align: o(s).align,
1255
- side: o(s).side,
1281
+ align: l(s).align,
1282
+ side: l(s).side,
1256
1283
  "side-offset": 4
1257
1284
  }, {
1258
1285
  default: f(() => [
1259
- p(o(hs), {
1286
+ p(l(gs), {
1260
1287
  class: k(r.innerClass)
1261
1288
  }, {
1262
1289
  default: f(() => [
1263
1290
  w(r.$slots, "default", {}, () => [
1264
- (u(!0), b(D, null, F(o(s).options ?? [], (a) => (u(), h(mt, {
1291
+ (u(!0), b(D, null, F(l(s).options ?? [], (a) => (u(), h(mt, {
1265
1292
  key: a.key,
1266
1293
  value: a.value
1267
1294
  }, null, 8, ["value"]))), 128))
@@ -1276,7 +1303,7 @@ const dt = /* @__PURE__ */ g({
1276
1303
  _: 3
1277
1304
  }));
1278
1305
  }
1279
- }), br = /* @__PURE__ */ g({
1306
+ }), yr = /* @__PURE__ */ g({
1280
1307
  inheritAttrs: !1,
1281
1308
  __name: "HeadlessSelect",
1282
1309
  props: {
@@ -1296,9 +1323,9 @@ const dt = /* @__PURE__ */ g({
1296
1323
  },
1297
1324
  emits: ["update:modelValue"],
1298
1325
  setup(t, { expose: s, emit: e }) {
1299
- const r = e, n = X("form", null), a = c(() => n && t.name ? n.getFieldValue(t.name) : t.modelValue), i = c(() => a.value), l = c(() => !n || !t.name ? null : n.errors[t.name] ?? null), d = c(() => t.options ? t.options.map((m) => ({
1326
+ const r = e, n = X("form", null), a = c(() => n && t.name ? n.getFieldValue(t.name) : t.modelValue), i = c(() => a.value), o = c(() => !n || !t.name ? null : n.errors[t.name] ?? null), d = c(() => t.options ? t.options.map((m) => ({
1300
1327
  key: re(),
1301
- label: t.renderOption ? t.renderOption(m) : vr(m) ? Qt(m.label) : B(m),
1328
+ label: t.renderOption ? t.renderOption(m) : br(m) ? Jt(m.label) : B(m),
1302
1329
  value: m
1303
1330
  })) : null), v = {
1304
1331
  labelClass: t.labelClass,
@@ -1316,7 +1343,7 @@ const dt = /* @__PURE__ */ g({
1316
1343
  var m;
1317
1344
  return (m = d.value) == null ? void 0 : m.find((C) => C.value === t.modelValue);
1318
1345
  }),
1319
- errors: ve(l),
1346
+ errors: ve(o),
1320
1347
  required: c(() => {
1321
1348
  if (!(!t.name || !n))
1322
1349
  return n.getFieldRules(t.name).includes("required");
@@ -1332,13 +1359,13 @@ const dt = /* @__PURE__ */ g({
1332
1359
  function $(m) {
1333
1360
  v.update(m);
1334
1361
  }
1335
- return le("select", v), s(v), (m, C) => (u(), h(o(gs), {
1362
+ return le("select", v), s(v), (m, C) => (u(), h(l(vs), {
1336
1363
  "model-value": i.value,
1337
1364
  by: m.compareOptions,
1338
1365
  "onUpdate:modelValue": C[0] || (C[0] = (L) => $(L))
1339
1366
  }, {
1340
1367
  default: f(({ open: L }) => [
1341
- (u(), h(W(m.as), ne(ae(m.$attrs)), {
1368
+ (u(), h(K(m.as), ne(ae(m.$attrs)), {
1342
1369
  default: f(() => [
1343
1370
  w(m.$slots, "default", {
1344
1371
  modelValue: m.modelValue,
@@ -1365,13 +1392,13 @@ const dt = /* @__PURE__ */ g({
1365
1392
  "select",
1366
1393
  "<HeadlessSelectLabel> must be a child of a <HeadlessSelect>"
1367
1394
  ), e = He(), r = c(() => !!(s.label || e.default));
1368
- return (n, a) => r.value ? (u(), h(o(vs), H({
1395
+ return (n, a) => r.value ? (u(), h(l(bs), H({
1369
1396
  key: 0,
1370
- for: o(s).id
1397
+ for: l(s).id
1371
1398
  }, n.$props), {
1372
1399
  default: f(() => [
1373
1400
  w(n.$slots, "default", {}, () => [
1374
- I(x(o(s).label), 1)
1401
+ I(x(l(s).label), 1)
1375
1402
  ])
1376
1403
  ]),
1377
1404
  _: 3
@@ -1441,15 +1468,15 @@ const dt = /* @__PURE__ */ g({
1441
1468
  default: f(() => {
1442
1469
  var a;
1443
1470
  return [
1444
- (a = o(s).options) != null && a.length ? w(r.$slots, "default", { key: 0 }, () => {
1471
+ (a = l(s).options) != null && a.length ? w(r.$slots, "default", { key: 0 }, () => {
1445
1472
  var i;
1446
1473
  return [
1447
- (u(!0), b(D, null, F(((i = o(s)) == null ? void 0 : i.options) ?? [], (l) => (u(), h(Fe, {
1448
- key: l.key,
1449
- value: l.value
1474
+ (u(!0), b(D, null, F(((i = l(s)) == null ? void 0 : i.options) ?? [], (o) => (u(), h(Fe, {
1475
+ key: o.key,
1476
+ value: o.value
1450
1477
  }, {
1451
1478
  default: f(() => [
1452
- I(x(l.label), 1)
1479
+ I(x(o.label), 1)
1453
1480
  ]),
1454
1481
  _: 2
1455
1482
  }, 1032, ["value"]))), 128))
@@ -1470,20 +1497,20 @@ const dt = /* @__PURE__ */ g({
1470
1497
  _: 3
1471
1498
  }, 8, ["class"]));
1472
1499
  }
1473
- }), yr = {
1500
+ }), wr = {
1474
1501
  viewBox: "0 0 20 20",
1475
1502
  width: "1.2em",
1476
1503
  height: "1.2em"
1477
1504
  };
1478
- function wr(t, s) {
1479
- return u(), b("svg", yr, s[0] || (s[0] = [
1505
+ function $r(t, s) {
1506
+ return u(), b("svg", wr, s[0] || (s[0] = [
1480
1507
  y("path", {
1481
1508
  fill: "currentColor",
1482
1509
  d: "m9.293 12.95l.707.707L15.657 8l-1.414-1.414L10 10.828L5.757 6.586L4.343 8z"
1483
1510
  }, null, -1)
1484
1511
  ]));
1485
1512
  }
1486
- const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__ */ g({
1513
+ const _r = E({ name: "zondicons-cheveron-down", render: $r }), vt = /* @__PURE__ */ g({
1487
1514
  __name: "SelectTrigger",
1488
1515
  props: {
1489
1516
  class: {}
@@ -1500,12 +1527,12 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1500
1527
  }, {
1501
1528
  default: f(() => [
1502
1529
  p(dt, { class: "col-start-1 row-start-1 truncate pr-6" }),
1503
- p(o($r), { class: "col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4" })
1530
+ p(l(_r), { class: "col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4" })
1504
1531
  ]),
1505
1532
  _: 1
1506
1533
  }, 8, ["class"]));
1507
1534
  }
1508
- }), _r = /* @__PURE__ */ g({
1535
+ }), xr = /* @__PURE__ */ g({
1509
1536
  __name: "Select",
1510
1537
  props: {
1511
1538
  as: {},
@@ -1525,7 +1552,7 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1525
1552
  emits: ["update:modelValue"],
1526
1553
  setup(t) {
1527
1554
  const { forwardRef: s } = Ve();
1528
- return (e, r) => (u(), h(br, H({ ref: o(s) }, e.$props, {
1555
+ return (e, r) => (u(), h(yr, H({ ref: l(s) }, e.$props, {
1529
1556
  "onUpdate:modelValue": r[0] || (r[0] = (n) => e.$emit("update:modelValue", n))
1530
1557
  }), {
1531
1558
  default: f(() => [
@@ -1538,7 +1565,7 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1538
1565
  _: 3
1539
1566
  }, 16));
1540
1567
  }
1541
- }), xr = { class: "grow" }, Cr = /* @__PURE__ */ g({
1568
+ }), Cr = { class: "grow" }, kr = /* @__PURE__ */ g({
1542
1569
  __name: "Language",
1543
1570
  setup(t) {
1544
1571
  const s = Z.getBrowserLocale(), e = c(() => [null, ...Z.locales]);
@@ -1547,7 +1574,7 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1547
1574
  locale: j.locales[s] ?? s
1548
1575
  });
1549
1576
  }
1550
- return (n, a) => (u(), h(_r, {
1577
+ return (n, a) => (u(), h(xr, {
1551
1578
  modelValue: n.$lang.locale,
1552
1579
  "onUpdate:modelValue": a[0] || (a[0] = (i) => n.$lang.locale = i),
1553
1580
  class: "flex flex-col items-start md:flex-row",
@@ -1556,14 +1583,14 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1556
1583
  "render-option": r
1557
1584
  }, {
1558
1585
  default: f(() => [
1559
- y("div", xr, [
1586
+ y("div", Cr, [
1560
1587
  p(ht, { class: "text-base font-semibold" }, {
1561
1588
  default: f(() => [
1562
1589
  I(x(n.$td("settings.locale", "Language")), 1)
1563
1590
  ]),
1564
1591
  _: 1
1565
1592
  }),
1566
- p(P, {
1593
+ p(A, {
1567
1594
  "lang-key": "settings.localeDescription",
1568
1595
  "lang-default": "Choose the application's language.",
1569
1596
  class: "mt-1 text-sm text-gray-500"
@@ -1579,17 +1606,17 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1579
1606
  _: 1
1580
1607
  }, 8, ["modelValue", "options"]));
1581
1608
  }
1582
- }), kr = [
1609
+ }), Sr = [
1583
1610
  {
1584
1611
  priority: 100,
1585
- component: Cr
1612
+ component: kr
1586
1613
  }
1587
- ], Sr = { $lang: Z }, Tr = {
1614
+ ], Tr = { $lang: Z }, Mr = {
1588
1615
  async install(t) {
1589
1616
  var s;
1590
- (s = t.config.globalProperties).$t ?? (s.$t = it), t.config.globalProperties.$td = S, kr.forEach((e) => A.addSetting(e)), await $e(t, Sr);
1617
+ (s = t.config.globalProperties).$t ?? (s.$t = it), t.config.globalProperties.$td = S, Sr.forEach((e) => P.addSetting(e)), await $e(t, Tr);
1591
1618
  }
1592
- }, Mr = /* @__PURE__ */ g({
1619
+ }, Hr = /* @__PURE__ */ g({
1593
1620
  __name: "Markdown",
1594
1621
  props: {
1595
1622
  as: {},
@@ -1604,35 +1631,35 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1604
1631
  const s = Ne(), e = He(), r = c(() => e.default ? e.default().map(Ge).join("") : t.text ?? (t.langKey && (t.langDefault ? S(t.langKey, t.langDefault, t.langParams ?? {}) : it(t.langKey, t.langParams ?? {})))), n = c(() => {
1605
1632
  if (!r.value)
1606
1633
  return null;
1607
- let l = sr(r.value);
1608
- return t.inline && (l = l.replace("<p>", "<span>").replace("</p>", "</span>")), l;
1609
- }), a = () => It(t.as ?? (t.inline ? "span" : "div"), {
1634
+ let o = rr(r.value);
1635
+ return t.inline && (o = o.replace("<p>", "<span>").replace("</p>", "</span>")), o;
1636
+ }), a = () => qt(t.as ?? (t.inline ? "span" : "div"), {
1610
1637
  innerHTML: n.value,
1611
1638
  onClick: i,
1612
1639
  ...s,
1613
1640
  class: `${s.class ?? ""} ${t.inline ? "" : "prose"}`
1614
1641
  });
1615
- async function i(l) {
1642
+ async function i(o) {
1616
1643
  var v, $;
1617
- const { target: d } = l;
1618
- if (Pe(d, HTMLElement) && d.dataset.markdownAction) {
1644
+ const { target: d } = o;
1645
+ if (Ae(d, HTMLElement) && d.dataset.markdownAction) {
1619
1646
  ($ = (v = t.actions) == null ? void 0 : v[d.dataset.markdownAction]) == null || $.call(v);
1620
1647
  return;
1621
1648
  }
1622
- if (Pe(d, HTMLAnchorElement) && d.dataset.markdownRoute) {
1623
- const m = tr();
1624
- m && (l.preventDefault(), m.visit(d.dataset.markdownRoute));
1649
+ if (Ae(d, HTMLAnchorElement) && d.dataset.markdownRoute) {
1650
+ const m = sr();
1651
+ m && (o.preventDefault(), m.visit(d.dataset.markdownRoute));
1625
1652
  return;
1626
1653
  }
1627
1654
  }
1628
- return (l, d) => (u(), h(a));
1655
+ return (o, d) => (u(), h(a));
1629
1656
  }
1630
- }), Hr = (t, s) => {
1657
+ }), Er = (t, s) => {
1631
1658
  const e = t.__vccOpts || t;
1632
1659
  for (const [r, n] of s)
1633
1660
  e[r] = n;
1634
1661
  return e;
1635
- }, P = /* @__PURE__ */ Hr(Mr, [["__scopeId", "data-v-8b211cfb"]]), Er = { class: "flex-grow" }, Vr = ["id"], Lr = /* @__PURE__ */ g({
1662
+ }, A = /* @__PURE__ */ Er(Hr, [["__scopeId", "data-v-8b211cfb"]]), Vr = { class: "flex-grow" }, Lr = ["id"], Ir = /* @__PURE__ */ g({
1636
1663
  __name: "Setting",
1637
1664
  props: {
1638
1665
  title: {},
@@ -1646,12 +1673,12 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1646
1673
  return (e, r) => (u(), b("div", {
1647
1674
  class: k(["mt-4 flex", { "flex-col": e.layout === "vertical" }])
1648
1675
  }, [
1649
- y("div", Er, [
1676
+ y("div", Vr, [
1650
1677
  y("h3", {
1651
1678
  id: e.titleId,
1652
1679
  class: "text-base font-semibold"
1653
- }, x(e.title), 9, Vr),
1654
- e.description ? (u(), h(P, {
1680
+ }, x(e.title), 9, Lr),
1681
+ e.description ? (u(), h(A, {
1655
1682
  key: 0,
1656
1683
  text: e.description,
1657
1684
  class: "mt-1 text-sm text-gray-500"
@@ -1664,7 +1691,7 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1664
1691
  ], 2)
1665
1692
  ], 2));
1666
1693
  }
1667
- }), Ir = ["for"], qr = /* @__PURE__ */ g({
1694
+ }), qr = ["for"], zr = /* @__PURE__ */ g({
1668
1695
  inheritAttrs: !1,
1669
1696
  __name: "HeadlessSwitch",
1670
1697
  props: {
@@ -1690,60 +1717,60 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1690
1717
  if (!(!t.name || !n))
1691
1718
  return n.getFieldRules(t.name).includes("required");
1692
1719
  }),
1693
- update(l) {
1720
+ update(o) {
1694
1721
  if (n && t.name) {
1695
- n.setFieldValue(t.name, l);
1722
+ n.setFieldValue(t.name, o);
1696
1723
  return;
1697
1724
  }
1698
- r("update:modelValue", l);
1725
+ r("update:modelValue", o);
1699
1726
  }
1700
1727
  };
1701
1728
  return s(i), Y(() => {
1702
1729
  !t.description && !a.value || console.warn("Errors and description not implemented in <HeadlessSwitch>");
1703
- }), (l, d) => (u(), b("div", {
1730
+ }), (o, d) => (u(), b("div", {
1704
1731
  class: k(t.class)
1705
1732
  }, [
1706
- l.label ? (u(), b("label", {
1733
+ o.label ? (u(), b("label", {
1707
1734
  key: 0,
1708
1735
  for: i.id,
1709
- class: k(l.labelClass)
1710
- }, x(l.label), 11, Ir)) : T("", !0),
1711
- p(o(bs), H({
1736
+ class: k(o.labelClass)
1737
+ }, x(o.label), 11, qr)) : T("", !0),
1738
+ p(l(ys), H({
1712
1739
  id: i.id,
1713
- name: l.name,
1740
+ name: o.name,
1714
1741
  "model-value": i.value.value
1715
- }, l.$attrs, {
1716
- class: l.inputClass,
1717
- "onUpdate:modelValue": d[0] || (d[0] = (v) => l.$emit("update:modelValue", v))
1742
+ }, o.$attrs, {
1743
+ class: o.inputClass,
1744
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => o.$emit("update:modelValue", v))
1718
1745
  }), {
1719
1746
  default: f(() => [
1720
- p(o(ys), {
1721
- class: k(l.thumbClass)
1747
+ p(l(ws), {
1748
+ class: k(o.thumbClass)
1722
1749
  }, null, 8, ["class"])
1723
1750
  ]),
1724
1751
  _: 1
1725
1752
  }, 16, ["id", "name", "model-value", "class"])
1726
1753
  ], 2));
1727
1754
  }
1728
- }), zr = /* @__PURE__ */ g({
1755
+ }), Rr = /* @__PURE__ */ g({
1729
1756
  __name: "Switch",
1730
1757
  setup(t) {
1731
- return (s, e) => (u(), h(qr, {
1758
+ return (s, e) => (u(), h(zr, {
1732
1759
  class: "flex flex-row items-center gap-1",
1733
1760
  "input-class": "disabled:opacity-50 disabled:cursor-not-allowed data-[state=checked]:bg-primary-600 data-[state=unchecked]:bg-gray-200 relative inline-flex h-6 w-11 shrink-0 cursor-pointer rounded-full border-2 border-transparent transition-colors duration-200 ease-in-out focusdisabled:opacity-50 disabled:cursor-not-allowed :ring-2 focus:ring-primary-600 focus:ring-offset-2 focus:outline-hidden",
1734
1761
  "thumb-class": "data-[state=checked]:translate-x-5 data-[state=unchecked]:translate-x-0 pointer-events-none inline-block size-5 transform rounded-full bg-white shadow-sm ring-0 transition duration-200 ease-in-out"
1735
1762
  }));
1736
1763
  }
1737
- }), Rr = /* @__PURE__ */ g({
1764
+ }), Ar = /* @__PURE__ */ g({
1738
1765
  __name: "Debug",
1739
1766
  setup(t) {
1740
- return (s, e) => (u(), h(Lr, {
1767
+ return (s, e) => (u(), h(Ir, {
1741
1768
  "title-id": "debug-setting",
1742
1769
  title: s.$td("settings.debug", "Debugging"),
1743
1770
  description: s.$td("settings.debugDescription", "Enable debugging with [Eruda](https://eruda.liriliri.io/).")
1744
1771
  }, {
1745
1772
  default: f(() => [
1746
- p(zr, {
1773
+ p(Rr, {
1747
1774
  modelValue: s.$errors.debug,
1748
1775
  "onUpdate:modelValue": e[0] || (e[0] = (r) => s.$errors.debug = r),
1749
1776
  "aria-labelledby": "debug-setting"
@@ -1755,10 +1782,10 @@ const $r = E({ name: "zondicons-cheveron-down", render: wr }), vt = /* @__PURE__
1755
1782
  }), Pr = [
1756
1783
  {
1757
1784
  priority: 10,
1758
- component: Rr
1785
+ component: Ar
1759
1786
  }
1760
1787
  ], bt = [];
1761
- function wl(t) {
1788
+ function _l(t) {
1762
1789
  bt.push(t);
1763
1790
  }
1764
1791
  function yt(t) {
@@ -1771,36 +1798,36 @@ function yt(t) {
1771
1798
  }
1772
1799
  class Ue extends be {
1773
1800
  }
1774
- const Ar = { $errors: ut }, Dr = (t) => (ut.report(t), !0);
1775
- function jr(t, s = () => !1) {
1776
- const e = (r) => s(r) || Dr(r);
1777
- t.config.errorHandler = e, globalThis.onerror = (r, n, a, i, l) => e(l ?? r), globalThis.onunhandledrejection = (r) => e(r.reason);
1801
+ const Dr = { $errors: ut }, jr = (t) => (ut.report(t), !0);
1802
+ function Br(t, s = () => !1) {
1803
+ const e = (r) => s(r) || jr(r);
1804
+ t.config.errorHandler = e, globalThis.onerror = (r, n, a, i, o) => e(o ?? r), globalThis.onunhandledrejection = (r) => e(r.reason);
1778
1805
  }
1779
- const Br = {
1806
+ const Fr = {
1780
1807
  async install(t, s) {
1781
- jr(t, s.handleError), Pr.forEach((e) => A.addSetting(e)), await $e(t, Ar);
1808
+ Br(t, s.handleError), Pr.forEach((e) => P.addSetting(e)), await $e(t, Dr);
1782
1809
  }
1783
- }, Fr = {
1810
+ }, Ur = {
1784
1811
  async install() {
1785
1812
  Ee() && (globalThis.testingRuntime = {
1786
1813
  on: (...t) => R.on(...t),
1787
- service: (t) => A.service(t)
1814
+ service: (t) => P.service(t)
1788
1815
  });
1789
1816
  }
1790
- }, Ur = {
1817
+ }, Or = {
1791
1818
  viewBox: "0 0 20 20",
1792
1819
  width: "1.2em",
1793
1820
  height: "1.2em"
1794
1821
  };
1795
- function Or(t, s) {
1796
- return u(), b("svg", Ur, s[0] || (s[0] = [
1822
+ function Nr(t, s) {
1823
+ return u(), b("svg", Or, s[0] || (s[0] = [
1797
1824
  y("path", {
1798
1825
  fill: "currentColor",
1799
1826
  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"
1800
1827
  }, null, -1)
1801
1828
  ]));
1802
1829
  }
1803
- const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1830
+ const Wr = E({ name: "zondicons-close", render: Nr }), Kr = /* @__PURE__ */ g({
1804
1831
  __name: "HeadlessModal",
1805
1832
  props: {
1806
1833
  persistent: { type: Boolean },
@@ -1816,21 +1843,21 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1816
1843
  );
1817
1844
  s({ close: i, $content: e });
1818
1845
  const { forwardRef: n } = Ve(), a = U(!1);
1819
- le("$modalContentRef", e), tt("close-modal", async ({ id: l, result: d }) => {
1820
- l === r.id && await i(d);
1846
+ le("$modalContentRef", e), tt("close-modal", async ({ id: o, result: d }) => {
1847
+ o === r.id && await i(d);
1821
1848
  });
1822
- async function i(l) {
1823
- a.value || (await R.emit("modal-will-close", { modal: r, result: l }), a.value = !0, await R.emit("modal-has-closed", { modal: r, result: l }));
1849
+ async function i(o) {
1850
+ a.value || (await R.emit("modal-will-close", { modal: r, result: o }), a.value = !0, await R.emit("modal-has-closed", { modal: r, result: o }));
1824
1851
  }
1825
- return (l, d) => (u(), h(o(ws), {
1826
- ref: o(n),
1852
+ return (o, d) => (u(), h(l($s), {
1853
+ ref: l(n),
1827
1854
  open: "",
1828
- "onUpdate:open": d[0] || (d[0] = (v) => l.persistent || i())
1855
+ "onUpdate:open": d[0] || (d[0] = (v) => o.persistent || i())
1829
1856
  }, {
1830
1857
  default: f(() => [
1831
- p(o($s), null, {
1858
+ p(l(_s), null, {
1832
1859
  default: f(() => [
1833
- w(l.$slots, "default", { close: i })
1860
+ w(o.$slots, "default", { close: i })
1834
1861
  ]),
1835
1862
  _: 3
1836
1863
  })
@@ -1848,48 +1875,48 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1848
1875
  const s = t, e = c(() => {
1849
1876
  const r = {};
1850
1877
  for (const n in s.modal.properties)
1851
- r[n] = o(s.modal.properties[n]);
1878
+ r[n] = l(s.modal.properties[n]);
1852
1879
  return r;
1853
1880
  });
1854
1881
  return le("modal", {
1855
1882
  modal: Re(s, "modal"),
1856
1883
  childIndex: Re(s, "childIndex")
1857
- }), (r, n) => (u(), h(W(r.modal.component), ne(ae(e.value)), null, 16));
1884
+ }), (r, n) => (u(), h(K(r.modal.component), ne(ae(e.value)), null, 16));
1858
1885
  }
1859
- }), Kr = /* @__PURE__ */ g({
1886
+ }), Qr = /* @__PURE__ */ g({
1860
1887
  __name: "HeadlessModalContent",
1861
1888
  setup(t) {
1862
1889
  const { childIndex: s = 0 } = V(
1863
1890
  "modal",
1864
1891
  "could not obtain modal reference from <HeadlessModalContent>, did you render this component manually? Show it using $ui.modal() instead"
1865
- ), e = Ns("$modalContentRef"), r = G("$contentRef"), n = c(() => z.modals[s] ?? null);
1866
- return Y(() => e.value = r.value), (a, i) => (u(), h(o(_s), { ref: "$contentRef" }, {
1892
+ ), e = Ws("$modalContentRef"), r = G("$contentRef"), n = c(() => z.modals[s] ?? null);
1893
+ return Y(() => e.value = r.value), (a, i) => (u(), h(l(xs), { ref: "$contentRef" }, {
1867
1894
  default: f(() => [
1868
1895
  w(a.$slots, "default"),
1869
1896
  n.value ? (u(), h(wt, {
1870
1897
  key: 0,
1871
- "child-index": o(s) + 1,
1898
+ "child-index": l(s) + 1,
1872
1899
  modal: n.value
1873
1900
  }, null, 8, ["child-index", "modal"])) : T("", !0)
1874
1901
  ]),
1875
1902
  _: 3
1876
1903
  }, 512));
1877
1904
  }
1878
- }), Qr = /* @__PURE__ */ g({
1905
+ }), Jr = /* @__PURE__ */ g({
1879
1906
  __name: "HeadlessModalDescription",
1880
1907
  props: {
1881
1908
  asChild: { type: Boolean },
1882
1909
  as: {}
1883
1910
  },
1884
1911
  setup(t) {
1885
- return (s, e) => (u(), h(o(xs), ne(ae(s.$props)), {
1912
+ return (s, e) => (u(), h(l(Cs), ne(ae(s.$props)), {
1886
1913
  default: f(() => [
1887
1914
  w(s.$slots, "default")
1888
1915
  ]),
1889
1916
  _: 3
1890
1917
  }, 16));
1891
1918
  }
1892
- }), Jr = /* @__PURE__ */ g({
1919
+ }), Zr = /* @__PURE__ */ g({
1893
1920
  __name: "HeadlessModalOverlay",
1894
1921
  props: {
1895
1922
  forceMount: { type: Boolean },
@@ -1897,31 +1924,31 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1897
1924
  as: {}
1898
1925
  },
1899
1926
  setup(t) {
1900
- return (s, e) => (u(), h(o(Cs), ne(ae(s.$props)), {
1927
+ return (s, e) => (u(), h(l(ks), ne(ae(s.$props)), {
1901
1928
  default: f(() => [
1902
1929
  w(s.$slots, "default")
1903
1930
  ]),
1904
1931
  _: 3
1905
1932
  }, 16));
1906
1933
  }
1907
- }), Zr = /* @__PURE__ */ g({
1934
+ }), Xr = /* @__PURE__ */ g({
1908
1935
  __name: "HeadlessModalTitle",
1909
1936
  props: {
1910
1937
  asChild: { type: Boolean },
1911
1938
  as: {}
1912
1939
  },
1913
1940
  setup(t) {
1914
- return (s, e) => (u(), h(o(ks), ne(ae(s.$props)), {
1941
+ return (s, e) => (u(), h(l(Ss), ne(ae(s.$props)), {
1915
1942
  default: f(() => [
1916
1943
  w(s.$slots, "default")
1917
1944
  ]),
1918
1945
  _: 3
1919
1946
  }, 16));
1920
1947
  }
1921
- }), Xr = {
1948
+ }), Yr = {
1922
1949
  key: 0,
1923
1950
  class: "absolute top-0 right-0 hidden pt-3.5 pr-2.5 sm:block"
1924
- }, Yr = ["onClick"], Gr = { class: "sr-only" }, se = /* @__PURE__ */ g({
1951
+ }, Gr = ["onClick"], en = { class: "sr-only" }, se = /* @__PURE__ */ g({
1925
1952
  __name: "Modal",
1926
1953
  props: {
1927
1954
  persistent: { type: Boolean },
@@ -1934,7 +1961,7 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1934
1961
  closeHidden: { type: Boolean }
1935
1962
  },
1936
1963
  setup(t, { expose: s }) {
1937
- const e = N(t, ["class", "wrapperClass", "title", "titleHidden", "description", "persistent", "closeHidden"]);
1964
+ const e = W(t, ["class", "wrapperClass", "title", "titleHidden", "description", "persistent", "closeHidden"]);
1938
1965
  s({
1939
1966
  close: async (m) => {
1940
1967
  var C;
@@ -1945,43 +1972,43 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1945
1972
  return (m = a.value) == null ? void 0 : m.$content;
1946
1973
  })
1947
1974
  });
1948
- const { forwardRef: r, currentRef: n } = Ve(), a = n, i = V("modal"), l = c(() => !i.modal.closing && i.childIndex === z.openModals.length), d = c(() => t.description ? {} : { "aria-describedby": void 0 }), v = c(() => M("max-h-[90vh] overflow-auto px-4 pb-4", { "pt-4": !t.title || t.titleHidden }, t.class)), $ = c(() => M(
1975
+ const { forwardRef: r, currentRef: n } = Ve(), a = n, i = V("modal"), o = c(() => !i.modal.closing && i.childIndex === z.openModals.length), d = c(() => t.description ? {} : { "aria-describedby": void 0 }), v = c(() => M("max-h-[90vh] overflow-auto px-4 pb-4", { "pt-4": !t.title || t.titleHidden }, t.class)), $ = c(() => M(
1949
1976
  "isolate fixed top-1/2 left-1/2 z-50 w-full max-w-[calc(100%-2rem)] -translate-x-1/2 -translate-y-1/2",
1950
1977
  "overflow-hidden rounded-lg bg-white text-left shadow-xl sm:max-w-lg",
1951
1978
  "animate-[fade-in_var(--tw-duration)_ease-in-out,grow_var(--tw-duration)_ease-in-out]",
1952
1979
  "transition-[scale,opacity] will-change-[scale,opacity] duration-300",
1953
1980
  {
1954
- "scale-50 opacity-0": !l.value,
1955
- "scale-100 opacity-100": l.value
1981
+ "scale-50 opacity-0": !o.value,
1982
+ "scale-100 opacity-100": o.value
1956
1983
  },
1957
1984
  t.wrapperClass
1958
1985
  ));
1959
1986
  return tt("modal-will-close", async ({ modal: { id: m } }) => {
1960
1987
  m === i.modal.id && await ue({ ms: 300 });
1961
- }), (m, C) => (u(), h(Wr, H(e, {
1962
- ref: (L) => o(r)(L),
1988
+ }), (m, C) => (u(), h(Kr, H(e, {
1989
+ ref: (L) => l(r)(L),
1963
1990
  persistent: m.persistent
1964
1991
  }), {
1965
1992
  default: f(({ close: L }) => [
1966
- p(Jr, {
1993
+ p(Zr, {
1967
1994
  class: k(["fixed inset-0 animate-[fade-in_var(--tw-duration)_ease-in-out] transition-opacity duration-300 will-change-[opacity]", {
1968
- "bg-black/30": o(i).childIndex === 1,
1969
- "opacity-0": o(i).childIndex === 1 && o(i).modal.closing
1995
+ "bg-black/30": l(i).childIndex === 1,
1996
+ "opacity-0": l(i).childIndex === 1 && l(i).modal.closing
1970
1997
  }])
1971
1998
  }, null, 8, ["class"]),
1972
- p(Kr, H(d.value, { class: $.value }), {
1999
+ p(Qr, H(d.value, { class: $.value }), {
1973
2000
  default: f(() => [
1974
- !m.persistent && !m.closeHidden ? (u(), b("div", Xr, [
2001
+ !m.persistent && !m.closeHidden ? (u(), b("div", Yr, [
1975
2002
  y("button", {
1976
2003
  type: "button",
1977
2004
  class: "clickable z-10 rounded-full p-2.5 text-gray-400 hover:text-gray-500",
1978
2005
  onClick: (_e) => L()
1979
2006
  }, [
1980
- y("span", Gr, x(m.$td("ui.close", "Close")), 1),
1981
- p(o(Nr), { class: "size-4" })
1982
- ], 8, Yr)
2007
+ y("span", en, x(m.$td("ui.close", "Close")), 1),
2008
+ p(l(Wr), { class: "size-4" })
2009
+ ], 8, Gr)
1983
2010
  ])) : T("", !0),
1984
- m.title ? (u(), h(Zr, {
2011
+ m.title ? (u(), h(Xr, {
1985
2012
  key: 1,
1986
2013
  class: k(["px-4 pt-5 text-base font-semibold text-gray-900", {
1987
2014
  "sr-only": m.titleHidden,
@@ -1990,19 +2017,19 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
1990
2017
  }])
1991
2018
  }, {
1992
2019
  default: f(() => [
1993
- p(P, {
2020
+ p(A, {
1994
2021
  text: m.title,
1995
2022
  inline: ""
1996
2023
  }, null, 8, ["text"])
1997
2024
  ]),
1998
2025
  _: 1
1999
2026
  }, 8, ["class"])) : T("", !0),
2000
- m.description ? (u(), h(Qr, {
2027
+ m.description ? (u(), h(Jr, {
2001
2028
  key: 2,
2002
2029
  class: k(["px-4 pt-1 pb-2", { "sr-only": m.descriptionHidden }])
2003
2030
  }, {
2004
2031
  default: f(() => [
2005
- p(P, {
2032
+ p(A, {
2006
2033
  text: m.description,
2007
2034
  class: "text-sm leading-6 text-gray-500"
2008
2035
  }, null, 8, ["text"])
@@ -2022,24 +2049,24 @@ const Nr = E({ name: "zondicons-close", render: Or }), Wr = /* @__PURE__ */ g({
2022
2049
  }, 16, ["persistent"]));
2023
2050
  }
2024
2051
  });
2025
- function en(t) {
2052
+ function tn(t) {
2026
2053
  const s = c(() => t.title ?? S("ui.alert", "Alert")), e = c(() => !t.title);
2027
2054
  return { renderedTitle: s, titleHidden: e };
2028
2055
  }
2029
- const tn = /* @__PURE__ */ g({
2056
+ const sn = /* @__PURE__ */ g({
2030
2057
  __name: "AlertModal",
2031
2058
  props: {
2032
2059
  title: {},
2033
2060
  message: {}
2034
2061
  },
2035
2062
  setup(t, { expose: s }) {
2036
- const e = t, { renderedTitle: r, titleHidden: n } = en(e);
2063
+ const e = t, { renderedTitle: r, titleHidden: n } = tn(e);
2037
2064
  return s(), (a, i) => (u(), h(se, {
2038
- title: o(r),
2039
- "title-hidden": o(n)
2065
+ title: l(r),
2066
+ "title-hidden": l(n)
2040
2067
  }, {
2041
2068
  default: f(() => [
2042
- p(P, { text: a.message }, null, 8, ["text"])
2069
+ p(A, { text: a.message }, null, 8, ["text"])
2043
2070
  ]),
2044
2071
  _: 1
2045
2072
  }, 8, ["title", "title-hidden"]));
@@ -2057,20 +2084,17 @@ const tn = /* @__PURE__ */ g({
2057
2084
  var a;
2058
2085
  e == null || e(), e = (a = t.form) == null ? void 0 : a.on("submit", () => r("submit")), n(() => e == null ? void 0 : e());
2059
2086
  }), le("form", t.form), (n, a) => (u(), b("form", {
2060
- onSubmit: a[0] || (a[0] = We((i) => {
2061
- var l;
2062
- return (l = n.form) == null ? void 0 : l.submit();
2063
- }, ["prevent"]))
2087
+ onSubmit: a[0] || (a[0] = We((i) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
2064
2088
  }, [
2065
2089
  w(n.$slots, "default")
2066
2090
  ], 32));
2067
2091
  }
2068
2092
  });
2069
- function sn(t) {
2093
+ function rn(t) {
2070
2094
  const s = rt(
2071
2095
  Object.entries(t.checkboxes ?? {}).reduce(
2072
- (i, [l, d]) => ({
2073
- [l]: {
2096
+ (i, [o, d]) => ({
2097
+ [o]: {
2074
2098
  type: "boolean",
2075
2099
  default: d.default,
2076
2100
  required: d.required ? "required" : void 0
@@ -2082,10 +2106,10 @@ function sn(t) {
2082
2106
  ), e = c(() => t.title ?? S("ui.confirm", "Confirm")), r = c(() => !t.title), n = c(() => t.acceptText ?? S("ui.accept", "Ok")), a = c(() => t.cancelText ?? S("ui.cancel", "Cancel"));
2083
2107
  return { form: s, renderedTitle: e, titleHidden: r, renderedAcceptText: n, renderedCancelText: a };
2084
2108
  }
2085
- const rn = {
2109
+ const nn = {
2086
2110
  key: 0,
2087
2111
  class: "mt-4 flex flex-col text-sm text-gray-600"
2088
- }, nn = { class: "flex items-center" }, an = ["onUpdate:modelValue", "required"], ln = { class: "ml-1.5" }, on = { class: "mt-4 flex flex-row-reverse gap-2" }, un = /* @__PURE__ */ g({
2112
+ }, an = { class: "flex items-center" }, ln = ["onUpdate:modelValue", "required"], on = { class: "ml-1.5" }, un = { class: "mt-4 flex flex-row-reverse gap-2" }, cn = /* @__PURE__ */ g({
2089
2113
  __name: "ConfirmModal",
2090
2114
  props: {
2091
2115
  title: {},
@@ -2099,44 +2123,44 @@ const rn = {
2099
2123
  required: { type: Boolean }
2100
2124
  },
2101
2125
  setup(t, { expose: s }) {
2102
- const e = N(t, ["cancelVariant"]), { form: r, renderedTitle: n, titleHidden: a, renderedAcceptText: i, renderedCancelText: l } = sn(e);
2126
+ const e = W(t, ["cancelVariant"]), { form: r, renderedTitle: n, titleHidden: a, renderedAcceptText: i, renderedCancelText: o } = rn(e);
2103
2127
  return s(), (d, v) => (u(), h(se, {
2104
- title: o(n),
2105
- "title-hidden": o(a),
2128
+ title: l(n),
2129
+ "title-hidden": l(a),
2106
2130
  persistent: ""
2107
2131
  }, {
2108
2132
  default: f(({ close: $ }) => [
2109
2133
  p($t, {
2110
- form: o(r),
2111
- onSubmit: (m) => $([!0, o(r).data()])
2134
+ form: l(r),
2135
+ onSubmit: (m) => $([!0, l(r).data()])
2112
2136
  }, {
2113
2137
  default: f(() => [
2114
- p(P, {
2138
+ p(A, {
2115
2139
  text: d.message,
2116
2140
  actions: d.actions
2117
2141
  }, null, 8, ["text", "actions"]),
2118
- d.checkboxes ? (u(), b("ul", rn, [
2142
+ d.checkboxes ? (u(), b("ul", nn, [
2119
2143
  (u(!0), b(D, null, F(d.checkboxes, (m, C) => (u(), b("li", { key: C }, [
2120
- y("label", nn, [
2144
+ y("label", an, [
2121
2145
  Ke(y("input", {
2122
- "onUpdate:modelValue": (L) => o(r)[C] = L,
2146
+ "onUpdate:modelValue": (L) => l(r)[C] = L,
2123
2147
  type: "checkbox",
2124
2148
  required: m.required,
2125
2149
  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"
2126
- }, null, 8, an), [
2127
- [qt, o(r)[C]]
2150
+ }, null, 8, ln), [
2151
+ [zt, l(r)[C]]
2128
2152
  ]),
2129
- y("span", ln, x(m.label), 1)
2153
+ y("span", on, x(m.label), 1)
2130
2154
  ])
2131
2155
  ]))), 128))
2132
2156
  ])) : T("", !0),
2133
- y("div", on, [
2157
+ y("div", un, [
2134
2158
  p(q, {
2135
2159
  variant: d.acceptVariant,
2136
2160
  submit: ""
2137
2161
  }, {
2138
2162
  default: f(() => [
2139
- I(x(o(i)), 1)
2163
+ I(x(l(i)), 1)
2140
2164
  ]),
2141
2165
  _: 1
2142
2166
  }, 8, ["variant"]),
@@ -2146,7 +2170,7 @@ const rn = {
2146
2170
  onClick: (m) => $(!1)
2147
2171
  }, {
2148
2172
  default: f(() => [
2149
- I(x(o(l)), 1)
2173
+ I(x(l(o)), 1)
2150
2174
  ]),
2151
2175
  _: 2
2152
2176
  }, 1032, ["variant", "onClick"]))
@@ -2158,92 +2182,92 @@ const rn = {
2158
2182
  _: 1
2159
2183
  }, 8, ["title", "title-hidden"]));
2160
2184
  }
2161
- }), cn = {
2185
+ }), dn = {
2162
2186
  viewBox: "0 0 20 20",
2163
2187
  width: "1.2em",
2164
2188
  height: "1.2em"
2165
2189
  };
2166
- function dn(t, s) {
2167
- return u(), b("svg", cn, s[0] || (s[0] = [
2190
+ function pn(t, s) {
2191
+ return u(), b("svg", dn, s[0] || (s[0] = [
2168
2192
  y("path", {
2169
2193
  fill: "currentColor",
2170
2194
  d: "M7.05 9.293L6.343 10L12 15.657l1.414-1.414L9.172 10l4.242-4.243L12 4.343z"
2171
2195
  }, null, -1)
2172
2196
  ]));
2173
2197
  }
2174
- const pn = E({ name: "zondicons-cheveron-left", render: dn }), mn = {
2198
+ const mn = E({ name: "zondicons-cheveron-left", render: pn }), fn = {
2175
2199
  viewBox: "0 0 20 20",
2176
2200
  width: "1.2em",
2177
2201
  height: "1.2em"
2178
2202
  };
2179
- function fn(t, s) {
2180
- return u(), b("svg", mn, s[0] || (s[0] = [
2203
+ function hn(t, s) {
2204
+ return u(), b("svg", fn, s[0] || (s[0] = [
2181
2205
  y("path", {
2182
2206
  fill: "currentColor",
2183
2207
  d: "m12.95 10.707l.707-.707L8 4.343L6.586 5.757L10.828 10l-4.242 4.243L8 15.657z"
2184
2208
  }, null, -1)
2185
2209
  ]));
2186
2210
  }
2187
- const _t = E({ name: "zondicons-cheveron-right", render: fn }), hn = {
2211
+ const _t = E({ name: "zondicons-cheveron-right", render: hn }), gn = {
2188
2212
  viewBox: "0 0 20 20",
2189
2213
  width: "1.2em",
2190
2214
  height: "1.2em"
2191
2215
  };
2192
- function gn(t, s) {
2193
- return u(), b("svg", hn, s[0] || (s[0] = [
2216
+ function vn(t, s) {
2217
+ return u(), b("svg", gn, s[0] || (s[0] = [
2194
2218
  y("path", {
2195
2219
  fill: "currentColor",
2196
2220
  d: "M2.93 17.07A10 10 0 1 1 17.07 2.93A10 10 0 0 1 2.93 17.07M9 5v6h2V5zm0 8v2h2v-2z"
2197
2221
  }, null, -1)
2198
2222
  ]));
2199
2223
  }
2200
- const qe = E({ name: "zondicons-exclamation-solid", render: gn }), vn = {
2224
+ const qe = E({ name: "zondicons-exclamation-solid", render: vn }), bn = {
2201
2225
  viewBox: "0 0 24 24",
2202
2226
  width: "1.2em",
2203
2227
  height: "1.2em"
2204
2228
  };
2205
- function bn(t, s) {
2206
- return u(), b("svg", vn, s[0] || (s[0] = [
2229
+ function yn(t, s) {
2230
+ return u(), b("svg", bn, s[0] || (s[0] = [
2207
2231
  y("path", {
2208
2232
  fill: "currentColor",
2209
2233
  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"
2210
2234
  }, null, -1)
2211
2235
  ]));
2212
2236
  }
2213
- const yn = E({ name: "mdi-console", render: bn }), wn = {
2237
+ const wn = E({ name: "mdi-console", render: yn }), $n = {
2214
2238
  viewBox: "0 0 20 20",
2215
2239
  width: "1.2em",
2216
2240
  height: "1.2em"
2217
2241
  };
2218
- function $n(t, s) {
2219
- return u(), b("svg", wn, s[0] || (s[0] = [
2242
+ function _n(t, s) {
2243
+ return u(), b("svg", $n, s[0] || (s[0] = [
2220
2244
  y("path", {
2221
2245
  fill: "currentColor",
2222
2246
  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"
2223
2247
  }, null, -1)
2224
2248
  ]));
2225
2249
  }
2226
- const _n = E({ name: "zondicons-copy", render: $n }), xn = {
2250
+ const xn = E({ name: "zondicons-copy", render: _n }), Cn = {
2227
2251
  viewBox: "0 0 24 24",
2228
2252
  width: "1.2em",
2229
2253
  height: "1.2em"
2230
2254
  };
2231
- function Cn(t, s) {
2232
- return u(), b("svg", xn, s[0] || (s[0] = [
2255
+ function kn(t, s) {
2256
+ return u(), b("svg", Cn, s[0] || (s[0] = [
2233
2257
  y("path", {
2234
2258
  fill: "currentColor",
2235
2259
  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"
2236
2260
  }, null, -1)
2237
2261
  ]));
2238
2262
  }
2239
- const kn = E({ name: "mdi-github", render: Cn }), Sn = { class: "flex" }, Tn = { class: "sr-only" }, Mn = /* @__PURE__ */ g({
2263
+ const Sn = E({ name: "mdi-github", render: kn }), Tn = { class: "flex" }, Mn = { class: "sr-only" }, Hn = /* @__PURE__ */ g({
2240
2264
  __name: "ErrorReportModalButtons",
2241
2265
  props: {
2242
2266
  report: {}
2243
2267
  },
2244
2268
  setup(t) {
2245
2269
  const s = t, e = c(() => s.report.description ? `${s.report.title}: ${s.report.description}` : s.report.title), r = c(() => {
2246
- if (!A.sourceUrl)
2270
+ if (!P.sourceUrl)
2247
2271
  return !1;
2248
2272
  const a = encodeURIComponent(e.value), i = encodeURIComponent(
2249
2273
  [
@@ -2251,21 +2275,21 @@ const kn = E({ name: "mdi-github", render: Cn }), Sn = { class: "flex" }, Tn = {
2251
2275
  "",
2252
2276
  "Error details:",
2253
2277
  "```",
2254
- Jt(
2278
+ Zt(
2255
2279
  s.report.details ?? "Details missing from report",
2256
- 1800 - a.length - A.sourceUrl.length
2280
+ 1800 - a.length - P.sourceUrl.length
2257
2281
  ).trim(),
2258
2282
  "```"
2259
2283
  ].join(`
2260
2284
  `)
2261
2285
  );
2262
- return `${A.sourceUrl}/issues/new?title=${a}&body=${i}`;
2286
+ return `${P.sourceUrl}/issues/new?title=${a}&body=${i}`;
2263
2287
  }), n = c(() => ee(
2264
2288
  [
2265
2289
  {
2266
2290
  id: "clipboard",
2267
2291
  description: "Copy to clipboard",
2268
- iconComponent: _n,
2292
+ iconComponent: xn,
2269
2293
  async click() {
2270
2294
  await navigator.clipboard.writeText(`${e.value}
2271
2295
 
@@ -2275,7 +2299,7 @@ ${s.report.details}`), z.toast(S("errors.copiedToClipboard", "Debug information
2275
2299
  {
2276
2300
  id: "console",
2277
2301
  description: "Log to console",
2278
- iconComponent: yn,
2302
+ iconComponent: wn,
2279
2303
  click() {
2280
2304
  const a = s.report.error ?? s.report;
2281
2305
  window.error = a, console.error(a), z.toast(
@@ -2291,24 +2315,24 @@ ${s.report.details}`), z.toast(S("errors.copiedToClipboard", "Debug information
2291
2315
  r.value && a.push({
2292
2316
  id: "github",
2293
2317
  description: "Report in GitHub",
2294
- iconComponent: kn,
2318
+ iconComponent: Sn,
2295
2319
  url: r.value
2296
2320
  });
2297
2321
  }
2298
2322
  ));
2299
- return (a, i) => (u(), b("div", Sn, [
2300
- (u(!0), b(D, null, F(n.value, (l) => w(a.$slots, "default", H({ ref_for: !0 }, l), () => [
2323
+ return (a, i) => (u(), b("div", Tn, [
2324
+ (u(!0), b(D, null, F(n.value, (o) => w(a.$slots, "default", H({ ref_for: !0 }, o), () => [
2301
2325
  p(q, {
2302
2326
  size: "icon",
2303
2327
  variant: "ghost",
2304
2328
  class: "group whitespace-nowrap",
2305
- href: l.url,
2306
- title: a.$td(`errors.report_${l.id}`, l.description),
2307
- onClick: l.click
2329
+ href: o.url,
2330
+ title: a.$td(`errors.report_${o.id}`, o.description),
2331
+ onClick: o.click
2308
2332
  }, {
2309
2333
  default: f(() => [
2310
- y("span", Tn, x(a.$td(`errors.report_${l.id}`, l.description)), 1),
2311
- (u(), h(W(l.iconComponent), {
2334
+ y("span", Mn, x(a.$td(`errors.report_${o.id}`, o.description)), 1),
2335
+ (u(), h(K(o.iconComponent), {
2312
2336
  class: "size-4",
2313
2337
  "aria-hidden": "true"
2314
2338
  }))
@@ -2318,7 +2342,7 @@ ${s.report.details}`), z.toast(S("errors.copiedToClipboard", "Debug information
2318
2342
  ])), 256))
2319
2343
  ]));
2320
2344
  }
2321
- }), Hn = /* @__PURE__ */ g({
2345
+ }), En = /* @__PURE__ */ g({
2322
2346
  __name: "ErrorReportModalTitle",
2323
2347
  props: {
2324
2348
  report: {},
@@ -2327,13 +2351,13 @@ ${s.report.details}`), z.toast(S("errors.copiedToClipboard", "Debug information
2327
2351
  },
2328
2352
  setup(t) {
2329
2353
  const s = c(() => !t.totalReports || t.totalReports <= 1 ? t.report.title : `${t.report.title} (${t.currentReport}/${t.totalReports})`);
2330
- return (e, r) => (u(), h(P, {
2354
+ return (e, r) => (u(), h(A, {
2331
2355
  text: s.value,
2332
2356
  inline: ""
2333
2357
  }, null, 8, ["text"]));
2334
2358
  }
2335
2359
  });
2336
- function En(t) {
2360
+ function Vn(t) {
2337
2361
  const s = U(t.reports.includes(t.report) ? t.reports.indexOf(t.report) : 0), e = c(() => t.reports[s.value]), r = c(
2338
2362
  () => {
2339
2363
  var i;
@@ -2348,17 +2372,17 @@ function En(t) {
2348
2372
  activeReport: e
2349
2373
  };
2350
2374
  }
2351
- const Vn = { class: "px-4 pt-5 pb-4" }, Ln = { class: "flex justify-between gap-4" }, In = { class: "flex items-center gap-2" }, qn = {
2375
+ const Ln = { class: "px-4 pt-5 pb-4" }, In = { class: "flex justify-between gap-4" }, qn = { class: "flex items-center gap-2" }, zn = {
2352
2376
  key: 0,
2353
2377
  class: "flex gap-0.5"
2354
- }, zn = { class: "-mt-2 max-h-[75vh] overflow-auto bg-red-800/10" }, Rn = ["textContent"], Pn = /* @__PURE__ */ g({
2378
+ }, Rn = { class: "-mt-2 max-h-[75vh] overflow-auto bg-red-800/10" }, An = ["textContent"], Pn = /* @__PURE__ */ g({
2355
2379
  __name: "ErrorReportModal",
2356
2380
  props: {
2357
2381
  report: {},
2358
2382
  reports: {}
2359
2383
  },
2360
2384
  setup(t, { expose: s }) {
2361
- const e = t, { activeReportIndex: r, details: n, nextReportText: a, previousReportText: i, activeReport: l } = En(e);
2385
+ const e = t, { activeReportIndex: r, details: n, nextReportText: a, previousReportText: i, activeReport: o } = Vn(e);
2362
2386
  return s(), (d, v) => (u(), h(se, {
2363
2387
  title: d.$td("errors.report", "Error report"),
2364
2388
  "title-hidden": "",
@@ -2367,73 +2391,73 @@ const Vn = { class: "px-4 pt-5 pb-4" }, Ln = { class: "flex justify-between gap-
2367
2391
  "wrapper-class": "sm:w-auto sm:min-w-lg sm:max-w-[80vw]"
2368
2392
  }, {
2369
2393
  default: f(() => [
2370
- y("div", Vn, [
2371
- y("h2", Ln, [
2372
- y("div", In, [
2373
- p(o(qe), { class: "size-5 text-red-600" }),
2374
- p(Hn, {
2394
+ y("div", Ln, [
2395
+ y("h2", In, [
2396
+ y("div", qn, [
2397
+ p(l(qe), { class: "size-5 text-red-600" }),
2398
+ p(En, {
2375
2399
  class: "text-lg leading-6 font-semibold text-gray-900",
2376
- report: o(l),
2377
- "current-report": o(r) + 1,
2400
+ report: l(o),
2401
+ "current-report": l(r) + 1,
2378
2402
  "total-reports": d.reports.length
2379
2403
  }, null, 8, ["report", "current-report", "total-reports"]),
2380
- d.reports.length > 1 ? (u(), b("span", qn, [
2404
+ d.reports.length > 1 ? (u(), b("span", zn, [
2381
2405
  p(q, {
2382
2406
  size: "icon",
2383
2407
  variant: "ghost",
2384
- disabled: o(r) === 0,
2385
- "aria-label": o(i),
2386
- title: o(i),
2408
+ disabled: l(r) === 0,
2409
+ "aria-label": l(i),
2410
+ title: l(i),
2387
2411
  onClick: v[0] || (v[0] = ($) => r.value--)
2388
2412
  }, {
2389
2413
  default: f(() => [
2390
- p(o(pn), { class: "size-4" })
2414
+ p(l(mn), { class: "size-4" })
2391
2415
  ]),
2392
2416
  _: 1
2393
2417
  }, 8, ["disabled", "aria-label", "title"]),
2394
2418
  p(q, {
2395
2419
  size: "icon",
2396
2420
  variant: "ghost",
2397
- disabled: o(r) === d.reports.length - 1,
2398
- "aria-label": o(a),
2399
- title: o(a),
2421
+ disabled: l(r) === d.reports.length - 1,
2422
+ "aria-label": l(a),
2423
+ title: l(a),
2400
2424
  onClick: v[1] || (v[1] = ($) => r.value++)
2401
2425
  }, {
2402
2426
  default: f(() => [
2403
- p(o(_t), { class: "size-4" })
2427
+ p(l(_t), { class: "size-4" })
2404
2428
  ]),
2405
2429
  _: 1
2406
2430
  }, 8, ["disabled", "aria-label", "title"])
2407
2431
  ])) : T("", !0)
2408
2432
  ]),
2409
- p(Mn, {
2410
- report: o(l),
2433
+ p(Hn, {
2434
+ report: l(o),
2411
2435
  class: "gap-0.5"
2412
2436
  }, null, 8, ["report"])
2413
2437
  ]),
2414
- o(l).description ? (u(), h(P, {
2438
+ l(o).description ? (u(), h(A, {
2415
2439
  key: 0,
2416
- text: o(l).description,
2440
+ text: l(o).description,
2417
2441
  class: "text-gray-600"
2418
2442
  }, null, 8, ["text"])) : T("", !0)
2419
2443
  ]),
2420
- y("div", zn, [
2444
+ y("div", Rn, [
2421
2445
  y("pre", {
2422
2446
  class: "p-4 text-xs text-red-800",
2423
- textContent: x(o(n))
2424
- }, null, 8, Rn)
2447
+ textContent: x(l(n))
2448
+ }, null, 8, An)
2425
2449
  ])
2426
2450
  ]),
2427
2451
  _: 1
2428
2452
  }, 8, ["title"]));
2429
2453
  }
2430
- }), An = {
2454
+ }), Dn = {
2431
2455
  viewBox: "0 0 24 24",
2432
2456
  width: "1.2em",
2433
2457
  height: "1.2em"
2434
2458
  };
2435
- function Dn(t, s) {
2436
- return u(), b("svg", An, s[0] || (s[0] = [
2459
+ function jn(t, s) {
2460
+ return u(), b("svg", Dn, s[0] || (s[0] = [
2437
2461
  y("path", {
2438
2462
  fill: "currentColor",
2439
2463
  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",
@@ -2453,7 +2477,7 @@ function Dn(t, s) {
2453
2477
  ], -1)
2454
2478
  ]));
2455
2479
  }
2456
- const jn = E({ name: "svg-spinners-90-ring-with-bg", render: Dn }), Bn = { class: "mt-1 h-2 w-full overflow-hidden rounded-full bg-gray-200" }, Fn = { class: "sr-only" }, Un = /* @__PURE__ */ g({
2480
+ const Bn = E({ name: "svg-spinners-90-ring-with-bg", render: jn }), Fn = { class: "mt-1 h-2 w-full overflow-hidden rounded-full bg-gray-200" }, Un = { class: "sr-only" }, On = /* @__PURE__ */ g({
2457
2481
  __name: "ProgressBar",
2458
2482
  props: {
2459
2483
  filledClass: {},
@@ -2469,24 +2493,24 @@ const jn = E({ name: "svg-spinners-90-ring-with-bg", render: Dn }), Bn = { class
2469
2493
  s && s(), e.value = t.job ? t.job.progress : 0, s = t.job && t.job.listeners.add({ onUpdated: (a) => e.value = a });
2470
2494
  },
2471
2495
  { immediate: !0 }
2472
- ), ge(() => s && s()), (a, i) => (u(), b("div", Bn, [
2496
+ ), ge(() => s && s()), (a, i) => (u(), b("div", Fn, [
2473
2497
  y("div", {
2474
2498
  class: k(r.value),
2475
- style: zt(`transform:translateX(-${(1 - n.value) * 100}%)`)
2499
+ style: Rt(`transform:translateX(-${(1 - n.value) * 100}%)`)
2476
2500
  }, null, 6),
2477
- y("span", Fn, x(a.$td("ui.progress", "{progress}% complete", {
2501
+ y("span", Un, x(a.$td("ui.progress", "{progress}% complete", {
2478
2502
  progress: n.value * 100
2479
2503
  })), 1)
2480
2504
  ]));
2481
2505
  }
2482
2506
  });
2483
- function On(t) {
2507
+ function Nn(t) {
2484
2508
  const s = c(() => t.title ?? S("ui.loading", "Loading")), e = c(
2485
2509
  () => t.message ?? S("ui.loadingInProgress", "Loading in progress...")
2486
2510
  ), r = c(() => typeof t.progress == "number" || !!t.job), n = c(() => !t.title);
2487
2511
  return { renderedTitle: s, renderedMessage: e, titleHidden: n, showProgress: r };
2488
2512
  }
2489
- const Nn = /* @__PURE__ */ g({
2513
+ const Wn = /* @__PURE__ */ g({
2490
2514
  __name: "LoadingModal",
2491
2515
  props: {
2492
2516
  title: {},
@@ -2495,25 +2519,25 @@ const Nn = /* @__PURE__ */ g({
2495
2519
  job: {}
2496
2520
  },
2497
2521
  setup(t, { expose: s }) {
2498
- const e = t, { renderedTitle: r, renderedMessage: n, titleHidden: a, showProgress: i } = On(e);
2499
- return s(), (l, d) => (u(), h(se, {
2522
+ const e = t, { renderedTitle: r, renderedMessage: n, titleHidden: a, showProgress: i } = Nn(e);
2523
+ return s(), (o, d) => (u(), h(se, {
2500
2524
  persistent: "",
2501
- class: k(["flex", { "flex-col-reverse": o(i), "items-center justify-center gap-2": !o(i) }]),
2525
+ class: k(["flex", { "flex-col-reverse": l(i), "items-center justify-center gap-2": !l(i) }]),
2502
2526
  "wrapper-class": "w-auto",
2503
- title: o(r),
2504
- "title-hidden": o(a)
2527
+ title: l(r),
2528
+ "title-hidden": l(a)
2505
2529
  }, {
2506
2530
  default: f(() => [
2507
- o(i) ? (u(), h(Un, {
2531
+ l(i) ? (u(), h(On, {
2508
2532
  key: 0,
2509
- progress: l.progress,
2510
- job: l.job,
2533
+ progress: o.progress,
2534
+ job: o.job,
2511
2535
  class: "min-w-[min(400px,80vw)]"
2512
- }, null, 8, ["progress", "job"])) : (u(), h(o(jn), {
2536
+ }, null, 8, ["progress", "job"])) : (u(), h(l(Bn), {
2513
2537
  key: 1,
2514
2538
  class: "text-primary-600 mr-1 size-6"
2515
2539
  })),
2516
- p(P, { text: o(n) }, null, 8, ["text"])
2540
+ p(A, { text: l(n) }, null, 8, ["text"])
2517
2541
  ]),
2518
2542
  _: 1
2519
2543
  }, 8, ["title", "title-hidden", "class"]));
@@ -2540,35 +2564,35 @@ const Nn = /* @__PURE__ */ g({
2540
2564
  if (!(!t.name || !n))
2541
2565
  return n.getFieldRules(t.name).includes("required");
2542
2566
  }),
2543
- update(l) {
2567
+ update(o) {
2544
2568
  if (n && t.name) {
2545
- n.setFieldValue(t.name, l);
2569
+ n.setFieldValue(t.name, o);
2546
2570
  return;
2547
2571
  }
2548
- r("update:modelValue", l);
2572
+ r("update:modelValue", o);
2549
2573
  }
2550
2574
  };
2551
- return le("input", i), s(i), (l, d) => (u(), h(W(l.as), null, {
2575
+ return le("input", i), s(i), (o, d) => (u(), h(K(o.as), null, {
2552
2576
  default: f(() => [
2553
- w(l.$slots, "default")
2577
+ w(o.$slots, "default")
2554
2578
  ]),
2555
2579
  _: 3
2556
2580
  }));
2557
2581
  }
2558
- }), Wn = ["for"], fe = /* @__PURE__ */ g({
2582
+ }), Kn = ["for"], fe = /* @__PURE__ */ g({
2559
2583
  __name: "HeadlessInputLabel",
2560
2584
  setup(t) {
2561
2585
  const s = V("input", "<HeadlessInputLabel> must be a child of a <HeadlessInput>"), e = He(), r = c(() => !!(s.label || e.default));
2562
2586
  return (n, a) => r.value ? (u(), b("label", {
2563
2587
  key: 0,
2564
- for: o(s).id
2588
+ for: l(s).id
2565
2589
  }, [
2566
2590
  w(n.$slots, "default", {}, () => [
2567
- I(x(o(s).label), 1)
2591
+ I(x(l(s).label), 1)
2568
2592
  ])
2569
- ], 8, Wn)) : T("", !0);
2593
+ ], 8, Kn)) : T("", !0);
2570
2594
  }
2571
- }), Kn = ["id", "name", "checked", "type", "required", "aria-invalid", "aria-describedby"], xt = /* @__PURE__ */ g({
2595
+ }), Qn = ["id", "name", "checked", "type", "required", "aria-invalid", "aria-describedby"], xt = /* @__PURE__ */ g({
2572
2596
  __name: "HeadlessInputInput",
2573
2597
  props: {
2574
2598
  type: {}
@@ -2579,7 +2603,7 @@ const Nn = /* @__PURE__ */ g({
2579
2603
  return t.type;
2580
2604
  const $ = (n.value && (r == null ? void 0 : r.getFieldType(n.value))) ?? "";
2581
2605
  return ["text", "email", "number", "tel", "url"].includes($) ? $ : "text";
2582
- }), l = c(() => {
2606
+ }), o = c(() => {
2583
2607
  if (t.type === "checkbox")
2584
2608
  return !!a.value;
2585
2609
  });
@@ -2610,16 +2634,16 @@ const Nn = /* @__PURE__ */ g({
2610
2634
  s.value.value = a.value ?? null;
2611
2635
  }
2612
2636
  }), ($, m) => (u(), b("input", {
2613
- id: o(e).id,
2637
+ id: l(e).id,
2614
2638
  ref: "$inputRef",
2615
2639
  name: n.value,
2616
- checked: l.value,
2640
+ checked: o.value,
2617
2641
  type: i.value,
2618
- required: o(e).required ?? void 0,
2619
- "aria-invalid": o(e).errors ? "true" : "false",
2620
- "aria-describedby": o(e).errors ? `${o(e).id}-error` : o(e).description ? `${o(e).id}-description` : void 0,
2642
+ required: l(e).required ?? void 0,
2643
+ "aria-invalid": l(e).errors ? "true" : "false",
2644
+ "aria-describedby": l(e).errors ? `${l(e).id}-error` : l(e).description ? `${l(e).id}-description` : void 0,
2621
2645
  onInput: d
2622
- }, null, 40, Kn));
2646
+ }, null, 40, Qn));
2623
2647
  }
2624
2648
  }), Ct = /* @__PURE__ */ g({
2625
2649
  inheritAttrs: !1,
@@ -2630,27 +2654,27 @@ const Nn = /* @__PURE__ */ g({
2630
2654
  "<HeadlessInputDescription> must be a child of a <HeadlessInput>"
2631
2655
  ), e = c(() => typeof s.description == "string" ? s.description : ""), r = c(() => !!s.description);
2632
2656
  return (n, a) => w(n.$slots, "default", {
2633
- id: `${o(s).id}-description`
2657
+ id: `${l(s).id}-description`
2634
2658
  }, () => [
2635
- r.value ? (u(), h(P, H({ key: 0 }, n.$attrs, {
2636
- id: `${o(s).id}-description`,
2659
+ r.value ? (u(), h(A, H({ key: 0 }, n.$attrs, {
2660
+ id: `${l(s).id}-description`,
2637
2661
  text: e.value
2638
2662
  }), null, 16, ["id", "text"])) : T("", !0)
2639
2663
  ]);
2640
2664
  }
2641
- }), Qn = ["id"], he = /* @__PURE__ */ g({
2665
+ }), Jn = ["id"], he = /* @__PURE__ */ g({
2642
2666
  __name: "HeadlessInputError",
2643
2667
  setup(t) {
2644
2668
  const s = V("input", "<HeadlessInputError> must be a child of a <HeadlessInput>"), e = c(() => s.errors ? S(`errors.${s.errors[0]}`, `Error: ${s.errors[0]}`) : null);
2645
2669
  return (r, n) => e.value ? (u(), b("p", {
2646
2670
  key: 0,
2647
- id: `${o(s).id}-error`
2648
- }, x(e.value), 9, Qn)) : T("", !0);
2671
+ id: `${l(s).id}-error`
2672
+ }, x(e.value), 9, Jn)) : T("", !0);
2649
2673
  }
2650
- }), Jn = {
2674
+ }), Zn = {
2651
2675
  key: 0,
2652
2676
  class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
2653
- }, Zn = /* @__PURE__ */ g({
2677
+ }, Xn = /* @__PURE__ */ g({
2654
2678
  inheritAttrs: !1,
2655
2679
  __name: "Input",
2656
2680
  props: {
@@ -2663,25 +2687,25 @@ const Nn = /* @__PURE__ */ g({
2663
2687
  },
2664
2688
  emits: ["update:modelValue"],
2665
2689
  setup(t) {
2666
- const s = N(t, ["label", "inputClass", "wrapperClass"]), e = G("$inputRef"), [r, n] = Ie(), a = c(() => M("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), i = c(() => {
2667
- var l, d, v;
2690
+ const s = W(t, ["label", "inputClass", "wrapperClass"]), e = G("$inputRef"), [r, n] = Ie(), a = c(() => M("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), i = c(() => {
2691
+ var o, d, v;
2668
2692
  return M(
2669
2693
  // eslint-disable-next-line vue/max-len
2670
2694
  "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",
2671
2695
  {
2672
- "focus:ring-primary-600": !((l = e.value) != null && l.errors),
2696
+ "focus:ring-primary-600": !((o = e.value) != null && o.errors),
2673
2697
  "text-gray-900 shadow-2xs ring-gray-900/10 placeholder:text-gray-400": !((d = e.value) != null && d.errors),
2674
2698
  "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (v = e.value) == null ? void 0 : v.errors
2675
2699
  },
2676
2700
  t.inputClass
2677
2701
  );
2678
2702
  });
2679
- return (l, d) => (u(), h(ze, H({
2703
+ return (o, d) => (u(), h(ze, H({
2680
2704
  ref: "$inputRef",
2681
- label: l.label,
2682
- class: o(n)
2705
+ label: o.label,
2706
+ class: l(n)
2683
2707
  }, s, {
2684
- "onUpdate:modelValue": d[0] || (d[0] = (v) => l.$emit("update:modelValue", v))
2708
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => o.$emit("update:modelValue", v))
2685
2709
  }), {
2686
2710
  default: f(() => {
2687
2711
  var v;
@@ -2690,9 +2714,9 @@ const Nn = /* @__PURE__ */ g({
2690
2714
  y("div", {
2691
2715
  class: k(a.value)
2692
2716
  }, [
2693
- p(xt, H(o(r), { class: i.value }), null, 16, ["class"]),
2694
- (v = e.value) != null && v.errors ? (u(), b("div", Jn, [
2695
- p(o(qe), { class: "size-5 text-red-500" })
2717
+ p(xt, H(l(r), { class: i.value }), null, 16, ["class"]),
2718
+ (v = e.value) != null && v.errors ? (u(), b("div", Zn, [
2719
+ p(l(qe), { class: "size-5 text-red-500" })
2696
2720
  ])) : T("", !0)
2697
2721
  ], 2),
2698
2722
  p(Ct, { class: "mt-2 text-sm text-gray-600" }),
@@ -2703,21 +2727,21 @@ const Nn = /* @__PURE__ */ g({
2703
2727
  }, 16, ["label", "class"]));
2704
2728
  }
2705
2729
  });
2706
- function $l(t, s = {}) {
2730
+ function xl(t, s = {}) {
2707
2731
  return {
2708
2732
  default: t,
2709
2733
  type: "boolean",
2710
2734
  rules: s.rules
2711
2735
  };
2712
2736
  }
2713
- function _l(t, s = {}) {
2737
+ function Cl(t, s = {}) {
2714
2738
  return {
2715
2739
  default: t,
2716
2740
  type: "date",
2717
2741
  rules: s.rules
2718
2742
  };
2719
2743
  }
2720
- function xl(t, s, e = {}) {
2744
+ function kl(t, s, e = {}) {
2721
2745
  return {
2722
2746
  default: s,
2723
2747
  type: "enum",
@@ -2725,21 +2749,21 @@ function xl(t, s, e = {}) {
2725
2749
  values: t
2726
2750
  };
2727
2751
  }
2728
- function Cl(t) {
2752
+ function Sl(t) {
2729
2753
  return {
2730
2754
  default: t,
2731
2755
  type: "boolean",
2732
2756
  rules: "required"
2733
2757
  };
2734
2758
  }
2735
- function kl(t) {
2759
+ function Tl(t) {
2736
2760
  return {
2737
2761
  default: t,
2738
2762
  type: "date",
2739
2763
  rules: "required"
2740
2764
  };
2741
2765
  }
2742
- function Sl(t, s) {
2766
+ function Ml(t, s) {
2743
2767
  return {
2744
2768
  default: s,
2745
2769
  type: "enum",
@@ -2747,55 +2771,55 @@ function Sl(t, s) {
2747
2771
  values: t
2748
2772
  };
2749
2773
  }
2750
- function Tl(t) {
2774
+ function Hl(t) {
2751
2775
  return {
2752
2776
  default: t,
2753
2777
  type: "number",
2754
2778
  rules: "required"
2755
2779
  };
2756
2780
  }
2757
- function Ml(t) {
2781
+ function El(t) {
2758
2782
  return {
2759
2783
  default: t,
2760
2784
  type: "object",
2761
2785
  rules: "required"
2762
2786
  };
2763
2787
  }
2764
- function Xn(t) {
2788
+ function Yn(t) {
2765
2789
  return {
2766
2790
  default: t,
2767
2791
  type: "string",
2768
2792
  rules: "required"
2769
2793
  };
2770
2794
  }
2771
- function Hl(t, s = {}) {
2795
+ function Vl(t, s = {}) {
2772
2796
  return {
2773
2797
  default: t,
2774
2798
  type: "number",
2775
2799
  rules: s.rules
2776
2800
  };
2777
2801
  }
2778
- function El(t, s = {}) {
2802
+ function Ll(t, s = {}) {
2779
2803
  return {
2780
2804
  default: t,
2781
2805
  type: "object",
2782
2806
  rules: s.rules
2783
2807
  };
2784
2808
  }
2785
- function Vl(t, s = {}) {
2809
+ function Il(t, s = {}) {
2786
2810
  return {
2787
2811
  default: t,
2788
2812
  type: "string",
2789
2813
  rules: s.rules
2790
2814
  };
2791
2815
  }
2792
- function Yn(t) {
2816
+ function Gn(t) {
2793
2817
  const s = rt({
2794
- draft: Xn(t.defaultValue ?? "")
2818
+ draft: Yn(t.defaultValue ?? "")
2795
2819
  }), e = c(() => t.title ?? t.message), r = c(() => t.title ? t.message : null), n = c(() => t.acceptText ?? S("ui.accept", "Ok")), a = c(() => t.cancelText ?? S("ui.cancel", "Cancel"));
2796
2820
  return { form: s, renderedTitle: e, renderedMessage: r, renderedAcceptText: n, renderedCancelText: a };
2797
2821
  }
2798
- const Gn = { class: "mt-4 flex flex-row-reverse gap-2" }, ea = /* @__PURE__ */ g({
2822
+ const ea = { class: "mt-4 flex flex-row-reverse gap-2" }, ta = /* @__PURE__ */ g({
2799
2823
  __name: "PromptModal",
2800
2824
  props: {
2801
2825
  title: {},
@@ -2809,34 +2833,34 @@ const Gn = { class: "mt-4 flex flex-row-reverse gap-2" }, ea = /* @__PURE__ */ g
2809
2833
  cancelVariant: { default: "secondary" }
2810
2834
  },
2811
2835
  setup(t, { expose: s }) {
2812
- const e = N(t, ["cancelVariant"]), { form: r, renderedTitle: n, renderedMessage: a, renderedAcceptText: i, renderedCancelText: l } = Yn(e);
2836
+ const e = W(t, ["cancelVariant"]), { form: r, renderedTitle: n, renderedMessage: a, renderedAcceptText: i, renderedCancelText: o } = Gn(e);
2813
2837
  return s(), (d, v) => (u(), h(se, {
2814
- title: o(n),
2838
+ title: l(n),
2815
2839
  persistent: ""
2816
2840
  }, {
2817
2841
  default: f(({ close: $ }) => [
2818
2842
  p($t, {
2819
- form: o(r),
2820
- onSubmit: (m) => $(o(r).draft)
2843
+ form: l(r),
2844
+ onSubmit: (m) => $(l(r).draft)
2821
2845
  }, {
2822
2846
  default: f(() => [
2823
- o(a) ? (u(), h(P, {
2847
+ l(a) ? (u(), h(A, {
2824
2848
  key: 0,
2825
- text: o(a)
2849
+ text: l(a)
2826
2850
  }, null, 8, ["text"])) : T("", !0),
2827
- p(Zn, {
2851
+ p(Xn, {
2828
2852
  name: "draft",
2829
2853
  class: "mt-2",
2830
2854
  placeholder: d.placeholder,
2831
2855
  label: d.label
2832
2856
  }, null, 8, ["placeholder", "label"]),
2833
- y("div", Gn, [
2857
+ y("div", ea, [
2834
2858
  p(q, {
2835
2859
  variant: d.acceptVariant,
2836
2860
  submit: ""
2837
2861
  }, {
2838
2862
  default: f(() => [
2839
- I(x(o(i)), 1)
2863
+ I(x(l(i)), 1)
2840
2864
  ]),
2841
2865
  _: 1
2842
2866
  }, 8, ["variant"]),
@@ -2845,7 +2869,7 @@ const Gn = { class: "mt-4 flex flex-row-reverse gap-2" }, ea = /* @__PURE__ */ g
2845
2869
  onClick: (m) => $()
2846
2870
  }, {
2847
2871
  default: f(() => [
2848
- I(x(o(l)), 1)
2872
+ I(x(l(o)), 1)
2849
2873
  ]),
2850
2874
  _: 2
2851
2875
  }, 1032, ["variant", "onClick"])
@@ -2857,59 +2881,59 @@ const Gn = { class: "mt-4 flex flex-row-reverse gap-2" }, ea = /* @__PURE__ */ g
2857
2881
  _: 1
2858
2882
  }, 8, ["title"]));
2859
2883
  }
2860
- }), ta = {
2884
+ }), sa = {
2861
2885
  viewBox: "0 0 24 24",
2862
2886
  width: "1.2em",
2863
2887
  height: "1.2em"
2864
2888
  };
2865
- function sa(t, s) {
2866
- return u(), b("svg", ta, s[0] || (s[0] = [
2889
+ function ra(t, s) {
2890
+ return u(), b("svg", sa, s[0] || (s[0] = [
2867
2891
  y("path", {
2868
2892
  fill: "currentColor",
2869
2893
  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"
2870
2894
  }, null, -1)
2871
2895
  ]));
2872
2896
  }
2873
- const ra = E({ name: "material-symbols-bug-report", render: sa }), na = {
2897
+ const na = E({ name: "material-symbols-bug-report", render: ra }), aa = {
2874
2898
  viewBox: "0 0 24 24",
2875
2899
  width: "1.2em",
2876
2900
  height: "1.2em"
2877
2901
  };
2878
- function aa(t, s) {
2879
- return u(), b("svg", na, s[0] || (s[0] = [
2902
+ function la(t, s) {
2903
+ return u(), b("svg", aa, s[0] || (s[0] = [
2880
2904
  y("path", {
2881
2905
  fill: "currentColor",
2882
2906
  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"
2883
2907
  }, null, -1)
2884
2908
  ]));
2885
2909
  }
2886
- const la = E({ name: "material-symbols-delete-forever-rounded", render: aa }), oa = {
2910
+ const oa = E({ name: "material-symbols-delete-forever-rounded", render: la }), ia = {
2887
2911
  viewBox: "0 0 24 24",
2888
2912
  width: "1.2em",
2889
2913
  height: "1.2em"
2890
2914
  };
2891
- function ia(t, s) {
2892
- return u(), b("svg", oa, s[0] || (s[0] = [
2915
+ function ua(t, s) {
2916
+ return u(), b("svg", ia, s[0] || (s[0] = [
2893
2917
  y("path", {
2894
2918
  fill: "currentColor",
2895
2919
  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"
2896
2920
  }, null, -1)
2897
2921
  ]));
2898
2922
  }
2899
- const ua = E({ name: "material-symbols-frame-inspect", render: ia }), ca = {
2923
+ const ca = E({ name: "material-symbols-frame-inspect", render: ua }), da = {
2900
2924
  viewBox: "0 0 24 24",
2901
2925
  width: "1.2em",
2902
2926
  height: "1.2em"
2903
2927
  };
2904
- function da(t, s) {
2905
- return u(), b("svg", ca, s[0] || (s[0] = [
2928
+ function pa(t, s) {
2929
+ return u(), b("svg", da, s[0] || (s[0] = [
2906
2930
  y("path", {
2907
2931
  fill: "currentColor",
2908
2932
  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"
2909
2933
  }, null, -1)
2910
2934
  ]));
2911
2935
  }
2912
- const pa = E({ name: "material-symbols-refresh-rounded", render: da }), ma = { class: "grid grow place-items-center" }, fa = { class: "flex flex-col items-center p-8" }, ha = { class: "mt-0 mb-0 text-center text-4xl font-medium text-red-600" }, ga = { class: "mt-4 grid grid-cols-1 gap-2 sm:grid-cols-2 [&_button]:justify-start sm:[&_button]:size-32 sm:[&_button]:flex-col sm:[&_button]:justify-center [&_svg]:size-6 sm:[&_svg]:size-8" }, va = /* @__PURE__ */ g({
2936
+ const ma = E({ name: "material-symbols-refresh-rounded", render: pa }), fa = { class: "grid grow place-items-center" }, ha = { class: "flex flex-col items-center p-8" }, ga = { class: "mt-0 mb-0 text-center text-4xl font-medium text-red-600" }, va = { class: "mt-4 grid grid-cols-1 gap-2 sm:grid-cols-2 [&_button]:justify-start sm:[&_button]:size-32 sm:[&_button]:flex-col sm:[&_button]:justify-center [&_svg]:size-6 sm:[&_svg]:size-8" }, ba = /* @__PURE__ */ g({
2913
2937
  __name: "StartupCrash",
2914
2938
  setup(t) {
2915
2939
  async function s() {
@@ -2925,28 +2949,28 @@ Do you still want to proceed?`
2925
2949
  acceptVariant: "danger",
2926
2950
  acceptText: S("startupCrash.purgeConfirmAccept", "Purge device")
2927
2951
  }
2928
- ) && (await at.purge(), await A.reload());
2952
+ ) && (await at.purge(), await P.reload());
2929
2953
  }
2930
2954
  return (e, r) => {
2931
- const n = Rt("i-majesticons-exclamation");
2932
- return u(), b("div", ma, [
2933
- y("div", fa, [
2955
+ const n = At("i-majesticons-exclamation");
2956
+ return u(), b("div", fa, [
2957
+ y("div", ha, [
2934
2958
  p(n, { class: "size-20 text-red-600" }),
2935
- y("h1", ha, x(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
2936
- p(P, {
2959
+ y("h1", ga, x(e.$td("startupCrash.title", "Oops, something went wrong!")), 1),
2960
+ p(A, {
2937
2961
  text: e.$td(
2938
2962
  "startupCrash.message",
2939
2963
  "There was a problem starting the application, but here's some things you can do:"
2940
2964
  ),
2941
2965
  class: "mt-4 text-center"
2942
2966
  }, null, 8, ["text"]),
2943
- y("div", ga, [
2967
+ y("div", va, [
2944
2968
  p(q, {
2945
2969
  variant: "danger",
2946
2970
  onClick: r[0] || (r[0] = (a) => e.$app.reload())
2947
2971
  }, {
2948
2972
  default: f(() => [
2949
- p(o(pa)),
2973
+ p(l(ma)),
2950
2974
  I(" " + x(e.$td("startupCrash.reload", "Try again")), 1)
2951
2975
  ]),
2952
2976
  _: 1
@@ -2956,7 +2980,7 @@ Do you still want to proceed?`
2956
2980
  onClick: r[1] || (r[1] = (a) => e.$errors.inspect(e.$errors.startupErrors))
2957
2981
  }, {
2958
2982
  default: f(() => [
2959
- p(o(ra)),
2983
+ p(l(na)),
2960
2984
  I(" " + x(e.$td("startupCrash.inspect", "View error details")), 1)
2961
2985
  ]),
2962
2986
  _: 1
@@ -2966,7 +2990,7 @@ Do you still want to proceed?`
2966
2990
  onClick: r[2] || (r[2] = (a) => s())
2967
2991
  }, {
2968
2992
  default: f(() => [
2969
- p(o(la)),
2993
+ p(l(oa)),
2970
2994
  I(" " + x(e.$td("startupCrash.purge", "Purge device")), 1)
2971
2995
  ]),
2972
2996
  _: 1
@@ -2976,7 +3000,7 @@ Do you still want to proceed?`
2976
3000
  onClick: r[3] || (r[3] = (a) => e.$errors.debug = !e.$errors.debug)
2977
3001
  }, {
2978
3002
  default: f(() => [
2979
- p(o(ua)),
3003
+ p(l(ca)),
2980
3004
  I(" " + x(e.$td("startupCrash.debug", "Toggle debugging")), 1)
2981
3005
  ]),
2982
3006
  _: 1
@@ -2992,7 +3016,7 @@ Do you still want to proceed?`
2992
3016
  action: {}
2993
3017
  },
2994
3018
  setup(t) {
2995
- return (s, e) => (u(), h(W(s.action.dismiss ? o(Ss) : "button"), {
3019
+ return (s, e) => (u(), h(K(s.action.dismiss ? l(Ts) : "button"), {
2996
3020
  type: "button",
2997
3021
  onClick: s.action.click
2998
3022
  }, {
@@ -3002,7 +3026,7 @@ Do you still want to proceed?`
3002
3026
  _: 1
3003
3027
  }, 8, ["onClick"]));
3004
3028
  }
3005
- }), ba = { key: 0 }, ya = /* @__PURE__ */ g({
3029
+ }), ya = { key: 0 }, wa = /* @__PURE__ */ g({
3006
3030
  __name: "HeadlessToast",
3007
3031
  props: {
3008
3032
  message: {},
@@ -3010,10 +3034,10 @@ Do you still want to proceed?`
3010
3034
  variant: {}
3011
3035
  },
3012
3036
  setup(t) {
3013
- return (s, e) => (u(), h(o(Ts), null, {
3037
+ return (s, e) => (u(), h(l(Ms), null, {
3014
3038
  default: f(() => [
3015
3039
  w(s.$slots, "default", {}, () => [
3016
- s.message ? (u(), b("span", ba, x(s.message), 1)) : T("", !0),
3040
+ s.message ? (u(), b("span", ya, x(s.message), 1)) : T("", !0),
3017
3041
  (u(!0), b(D, null, F(s.actions, (r, n) => (u(), h(kt, {
3018
3042
  key: n,
3019
3043
  action: r
@@ -3023,7 +3047,7 @@ Do you still want to proceed?`
3023
3047
  _: 3
3024
3048
  }));
3025
3049
  }
3026
- }), wa = /* @__PURE__ */ g({
3050
+ }), $a = /* @__PURE__ */ g({
3027
3051
  __name: "Toast",
3028
3052
  props: {
3029
3053
  message: {},
@@ -3047,11 +3071,11 @@ Do you still want to proceed?`
3047
3071
  }
3048
3072
  }
3049
3073
  ));
3050
- return s(), (r, n) => (u(), h(ya, {
3074
+ return s(), (r, n) => (u(), h(wa, {
3051
3075
  class: k(e.value)
3052
3076
  }, {
3053
3077
  default: f(() => [
3054
- r.message ? (u(), h(P, {
3078
+ r.message ? (u(), h(A, {
3055
3079
  key: 0,
3056
3080
  text: r.message,
3057
3081
  inline: ""
@@ -3066,78 +3090,78 @@ Do you still want to proceed?`
3066
3090
  _: 1
3067
3091
  }, 8, ["class"]));
3068
3092
  }
3069
- }), $a = { $ui: z }, _a = {
3093
+ }), _a = { $ui: z }, xa = {
3070
3094
  async install(t, s) {
3071
3095
  const e = {
3072
- "alert-modal": tn,
3073
- "confirm-modal": un,
3096
+ "alert-modal": sn,
3097
+ "confirm-modal": cn,
3074
3098
  "error-report-modal": Pn,
3075
- "loading-modal": Nn,
3076
- "prompt-modal": ea,
3077
- "startup-crash": va,
3078
- toast: wa,
3099
+ "loading-modal": Wn,
3100
+ "prompt-modal": ta,
3101
+ "startup-crash": ba,
3102
+ toast: $a,
3079
3103
  ...s.components
3080
3104
  };
3081
3105
  for (const [r, n] of Object.entries(e))
3082
3106
  z.registerComponent(r, n);
3083
- await $e(t, $a);
3107
+ await $e(t, _a);
3084
3108
  }
3085
3109
  };
3086
- async function xa(t, s = {}) {
3110
+ async function Ca(t, s = {}) {
3087
3111
  var r;
3088
- const e = [Fr, ar, Br, Tr, ur, _a, ...s.plugins ?? []];
3089
- A.instance = t, await Fs(e, t, s), await ((r = s.install) == null ? void 0 : r.call(s, t)), await R.emit("application-ready");
3112
+ const e = [Ur, lr, Fr, Mr, cr, xa, ...s.plugins ?? []];
3113
+ P.instance = t, await Us(e, t, s), await ((r = s.install) == null ? void 0 : r.call(s, t)), await R.emit("application-ready");
3090
3114
  }
3091
- async function Ll(t, s = {}) {
3115
+ async function ql(t, s = {}) {
3092
3116
  var r;
3093
3117
  const e = Pt(t);
3094
- J() && (window.$aerogel = e), await xa(e, s), e.mount("#app"), (r = e._container) == null || r.classList.remove("loading"), await R.emit("application-mounted");
3118
+ J() && (window.$aerogel = e), await Ca(e, s), e.mount("#app"), (r = e._container) == null || r.classList.remove("loading"), await R.emit("application-mounted");
3095
3119
  }
3096
- const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3120
+ const ka = { key: 0 }, Sa = /* @__PURE__ */ g({
3097
3121
  __name: "AppModals",
3098
3122
  setup(t) {
3099
3123
  const s = c(() => z.modals[0] ?? null);
3100
- return (e, r) => s.value ? (u(), b("aside", Ca, [
3124
+ return (e, r) => s.value ? (u(), b("aside", ka, [
3101
3125
  p(wt, {
3102
3126
  "child-index": 1,
3103
3127
  modal: s.value
3104
3128
  }, null, 8, ["modal"])
3105
3129
  ])) : T("", !0);
3106
3130
  }
3107
- }), Sa = /* @__PURE__ */ g({
3131
+ }), Ta = /* @__PURE__ */ g({
3108
3132
  __name: "AppToasts",
3109
3133
  setup(t) {
3110
- return (s, e) => (u(), h(o(Ms), null, {
3134
+ return (s, e) => (u(), h(l(Hs), null, {
3111
3135
  default: f(() => [
3112
- (u(!0), b(D, null, F(s.$ui.toasts, (r) => (u(), h(W(r.component), H({
3136
+ (u(!0), b(D, null, F(s.$ui.toasts, (r) => (u(), h(K(r.component), H({
3113
3137
  id: r.id,
3114
3138
  key: r.id,
3115
3139
  ref_for: !0
3116
3140
  }, r.properties), null, 16, ["id"]))), 128)),
3117
- p(o(Hs), { class: "fixed right-0 bottom-0 z-50 flex flex-col items-end space-y-4 px-4 py-6 sm:p-6" })
3141
+ p(l(Es), { class: "fixed right-0 bottom-0 z-50 flex flex-col items-end space-y-4 px-4 py-6 sm:p-6" })
3118
3142
  ]),
3119
3143
  _: 1
3120
3144
  }));
3121
3145
  }
3122
- }), Ta = /* @__PURE__ */ g({
3146
+ }), Ma = /* @__PURE__ */ g({
3123
3147
  __name: "AppOverlays",
3124
3148
  setup(t) {
3125
3149
  return (s, e) => (u(), b(D, null, [
3126
- p(ka),
3127
- p(Sa)
3150
+ p(Sa),
3151
+ p(Ta)
3128
3152
  ], 64));
3129
3153
  }
3130
- }), Ma = { class: "flex min-h-full flex-col text-base leading-tight font-normal text-gray-900 antialiased" }, Il = /* @__PURE__ */ g({
3154
+ }), Ha = { class: "flex min-h-full flex-col text-base leading-tight font-normal text-gray-900 antialiased" }, zl = /* @__PURE__ */ g({
3131
3155
  __name: "AppLayout",
3132
3156
  setup(t) {
3133
- return (s, e) => (u(), b("div", Ma, [
3157
+ return (s, e) => (u(), b("div", Ha, [
3134
3158
  s.$errors.hasStartupErrors ? w(s.$slots, "startup-crash", { key: 0 }, () => [
3135
- (u(), h(W(s.$ui.requireComponent("startup-crash"))))
3159
+ (u(), h(K(s.$ui.requireComponent("startup-crash"))))
3136
3160
  ]) : w(s.$slots, "default", { key: 1 }),
3137
- p(Ta)
3161
+ p(Ma)
3138
3162
  ]));
3139
3163
  }
3140
- }), Ha = ["id", "name", "value", "required", "aria-invalid", "aria-describedby"], Ea = /* @__PURE__ */ g({
3164
+ }), Ea = ["id", "name", "value", "required", "aria-invalid", "aria-describedby"], Va = /* @__PURE__ */ g({
3141
3165
  __name: "HeadlessInputTextArea",
3142
3166
  setup(t) {
3143
3167
  const s = G("$textAreaRef"), e = V(
@@ -3150,31 +3174,31 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3150
3174
  return st(e, () => {
3151
3175
  var i;
3152
3176
  return (i = s.value) == null ? void 0 : i.focus();
3153
- }), (i, l) => (u(), b("textarea", {
3154
- id: o(e).id,
3177
+ }), (i, o) => (u(), b("textarea", {
3178
+ id: l(e).id,
3155
3179
  ref: "$textAreaRef",
3156
3180
  name: r.value,
3157
3181
  value: n.value,
3158
- required: o(e).required ?? void 0,
3159
- "aria-invalid": o(e).errors ? "true" : "false",
3160
- "aria-describedby": o(e).errors ? `${o(e).id}-error` : o(e).description ? `${o(e).id}-description` : void 0,
3182
+ required: l(e).required ?? void 0,
3183
+ "aria-invalid": l(e).errors ? "true" : "false",
3184
+ "aria-describedby": l(e).errors ? `${l(e).id}-error` : l(e).description ? `${l(e).id}-description` : void 0,
3161
3185
  onInput: a
3162
- }, null, 40, Ha));
3186
+ }, null, 40, Ea));
3163
3187
  }
3164
- }), Va = { class: "group" }, La = { class: "-ml-2 flex w-[max-content] items-center rounded-lg py-2 pr-3 pl-1 hover:bg-gray-100 focus-visible:outline focus-visible:outline-gray-700" }, Ia = { class: "pt-2 pl-4" }, ql = /* @__PURE__ */ g({
3188
+ }), La = { class: "group" }, Ia = { class: "-ml-2 flex w-[max-content] items-center rounded-lg py-2 pr-3 pl-1 hover:bg-gray-100 focus-visible:outline focus-visible:outline-gray-700" }, qa = { class: "pt-2 pl-4" }, Rl = /* @__PURE__ */ g({
3165
3189
  __name: "AdvancedOptions",
3166
3190
  setup(t) {
3167
- return (s, e) => (u(), b("details", Va, [
3168
- y("summary", La, [
3169
- p(o(_t), { class: "size-6 transition-transform group-open:rotate-90" }),
3191
+ return (s, e) => (u(), b("details", La, [
3192
+ y("summary", Ia, [
3193
+ p(l(_t), { class: "size-6 transition-transform group-open:rotate-90" }),
3170
3194
  y("span", null, x(s.$td("ui.advancedOptions", "Advanced options")), 1)
3171
3195
  ]),
3172
- y("div", Ia, [
3196
+ y("div", qa, [
3173
3197
  w(s.$slots, "default")
3174
3198
  ])
3175
3199
  ]));
3176
3200
  }
3177
- }), qa = { class: "flex h-6 items-center" }, zl = /* @__PURE__ */ g({
3201
+ }), za = { class: "flex h-6 items-center" }, Al = /* @__PURE__ */ g({
3178
3202
  inheritAttrs: !1,
3179
3203
  __name: "Checkbox",
3180
3204
  props: {
@@ -3187,7 +3211,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3187
3211
  },
3188
3212
  emits: ["update:modelValue"],
3189
3213
  setup(t) {
3190
- const s = N(t, ["inputClass", "labelClass"]), e = G("$inputRef"), [r, n] = Ie(), a = c(() => M("relative flex items-start", n.value)), i = c(() => {
3214
+ const s = W(t, ["inputClass", "labelClass"]), e = G("$inputRef"), [r, n] = Ie(), a = c(() => M("relative flex items-start", n.value)), i = c(() => {
3191
3215
  var d, v;
3192
3216
  return M(
3193
3217
  "size-4 rounded text-primary-600 not-checked:hover:bg-gray-200 checked:hover:text-primary-500 checked:border-0",
@@ -3197,7 +3221,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3197
3221
  },
3198
3222
  t.inputClass
3199
3223
  );
3200
- }), l = c(() => M("ml-2 text-sm leading-6", t.labelClass));
3224
+ }), o = c(() => M("ml-2 text-sm leading-6", t.labelClass));
3201
3225
  return (d, v) => (u(), h(ze, H({
3202
3226
  ref: "$inputRef",
3203
3227
  class: a.value
@@ -3205,15 +3229,15 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3205
3229
  "onUpdate:modelValue": v[0] || (v[0] = ($) => d.$emit("update:modelValue", $))
3206
3230
  }), {
3207
3231
  default: f(() => [
3208
- y("div", qa, [
3209
- p(xt, H(o(r), {
3232
+ y("div", za, [
3233
+ p(xt, H(l(r), {
3210
3234
  type: "checkbox",
3211
3235
  class: i.value
3212
3236
  }), null, 16, ["class"])
3213
3237
  ]),
3214
3238
  d.$slots.default ? (u(), b("div", {
3215
3239
  key: 0,
3216
- class: k(l.value)
3240
+ class: k(o.value)
3217
3241
  }, [
3218
3242
  p(fe, { class: "text-gray-900" }, {
3219
3243
  default: f(() => [
@@ -3224,7 +3248,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3224
3248
  p(he, { class: "text-red-600" })
3225
3249
  ], 2)) : d.label ? (u(), b("div", {
3226
3250
  key: 1,
3227
- class: k(l.value)
3251
+ class: k(o.value)
3228
3252
  }, [
3229
3253
  p(fe, { class: "text-gray-900" }),
3230
3254
  p(he, { class: "text-red-600" })
@@ -3233,7 +3257,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3233
3257
  _: 3
3234
3258
  }, 16, ["class"]));
3235
3259
  }
3236
- }), za = /* @__PURE__ */ g({
3260
+ }), Ra = /* @__PURE__ */ g({
3237
3261
  __name: "DropdownMenuOption",
3238
3262
  props: {
3239
3263
  class: {},
@@ -3242,11 +3266,11 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3242
3266
  },
3243
3267
  emits: ["select"],
3244
3268
  setup(t) {
3245
- const s = N(t, ["class"]), e = c(() => M(
3269
+ const s = W(t, ["class"]), e = c(() => M(
3246
3270
  "flex w-full items-center gap-2 rounded-lg px-2 py-2 text-sm text-gray-900 data-[highlighted]:bg-gray-100",
3247
3271
  t.class
3248
3272
  ));
3249
- return (r, n) => (u(), h(o(Es), H({ class: e.value }, s, {
3273
+ return (r, n) => (u(), h(l(Vs), H({ class: e.value }, s, {
3250
3274
  onSelect: n[0] || (n[0] = (a) => r.$emit("select"))
3251
3275
  }), {
3252
3276
  default: f(() => [
@@ -3255,21 +3279,21 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3255
3279
  _: 3
3256
3280
  }, 16, ["class"]));
3257
3281
  }
3258
- }), Ra = /* @__PURE__ */ g({
3282
+ }), Aa = /* @__PURE__ */ g({
3259
3283
  __name: "DropdownMenuOptions",
3260
3284
  setup(t) {
3261
3285
  const s = V(
3262
3286
  "dropdown-menu",
3263
3287
  "<DropdownMenuOptions> must be a child of a <DropdownMenu>"
3264
3288
  );
3265
- return (e, r) => (u(), h(o(Vs), {
3289
+ return (e, r) => (u(), h(l(Ls), {
3266
3290
  class: "gap-y-0.5 rounded-lg bg-white p-1.5 shadow-lg ring-1 ring-black/5",
3267
- align: o(s).align,
3268
- side: o(s).side
3291
+ align: l(s).align,
3292
+ side: l(s).side
3269
3293
  }, {
3270
3294
  default: f(() => [
3271
3295
  w(e.$slots, "default", {}, () => [
3272
- (u(!0), b(D, null, F(o(s).options, (n, a) => (u(), h(za, H(
3296
+ (u(!0), b(D, null, F(l(s).options, (n, a) => (u(), h(Ra, H(
3273
3297
  {
3274
3298
  key: a,
3275
3299
  as: n.route || n.href ? ct : void 0,
@@ -3284,8 +3308,8 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3284
3308
  } : {},
3285
3309
  {
3286
3310
  onSelect: (i) => {
3287
- var l;
3288
- return (l = n.click) == null ? void 0 : l.call(n);
3311
+ var o;
3312
+ return (o = n.click) == null ? void 0 : o.call(n);
3289
3313
  }
3290
3314
  }
3291
3315
  ), {
@@ -3299,7 +3323,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3299
3323
  _: 3
3300
3324
  }, 8, ["align", "side"]));
3301
3325
  }
3302
- }), Rl = /* @__PURE__ */ g({
3326
+ }), Pl = /* @__PURE__ */ g({
3303
3327
  __name: "DropdownMenu",
3304
3328
  props: {
3305
3329
  align: {},
@@ -3315,18 +3339,18 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3315
3339
  return (r = t.options) == null ? void 0 : r.filter(Boolean);
3316
3340
  })
3317
3341
  };
3318
- return le("dropdown-menu", e), s(e), (r, n) => (u(), h(o(Ls), null, {
3342
+ return le("dropdown-menu", e), s(e), (r, n) => (u(), h(l(Is), null, {
3319
3343
  default: f(() => [
3320
- p(o(Is), null, {
3344
+ p(l(qs), null, {
3321
3345
  default: f(() => [
3322
3346
  w(r.$slots, "default")
3323
3347
  ]),
3324
3348
  _: 3
3325
3349
  }),
3326
- p(o(qs), null, {
3350
+ p(l(zs), null, {
3327
3351
  default: f(() => [
3328
3352
  w(r.$slots, "options", {}, () => [
3329
- p(Ra)
3353
+ p(Aa)
3330
3354
  ])
3331
3355
  ]),
3332
3356
  _: 3
@@ -3335,7 +3359,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3335
3359
  _: 3
3336
3360
  }));
3337
3361
  }
3338
- }), Pa = ["aria-hidden"], Aa = ["tabindex", "aria-label", "type"], Pl = /* @__PURE__ */ g({
3362
+ }), Pa = ["aria-hidden"], Da = ["tabindex", "aria-label", "type"], Dl = /* @__PURE__ */ g({
3339
3363
  __name: "EditableContent",
3340
3364
  props: {
3341
3365
  type: { default: "text" },
@@ -3348,7 +3372,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3348
3372
  },
3349
3373
  emits: ["update", "save"],
3350
3374
  setup(t, { emit: s }) {
3351
- const e = s, r = G("$inputRef"), n = U(null), a = U(t.text), i = c(() => M("inline whitespace-pre", t.contentClass)), l = c(() => M("invisible whitespace-pre", t.contentClass)), d = c(() => M("absolute inset-0 h-full w-full resize-none border-0 bg-transparent p-0 focus:ring-0", t.contentClass));
3375
+ const e = s, r = G("$inputRef"), n = U(null), a = U(t.text), i = c(() => M("inline whitespace-pre", t.contentClass)), o = c(() => M("invisible whitespace-pre", t.contentClass)), d = c(() => M("absolute inset-0 h-full w-full resize-none border-0 bg-transparent p-0 focus:ring-0", t.contentClass));
3352
3376
  function v() {
3353
3377
  n.value = t.text;
3354
3378
  }
@@ -3360,7 +3384,7 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3360
3384
  }, [
3361
3385
  n.value ? (u(), b("span", {
3362
3386
  key: 1,
3363
- class: k(l.value)
3387
+ class: k(o.value)
3364
3388
  }, x(a.value), 3)) : (u(), b("div", {
3365
3389
  key: 0,
3366
3390
  class: k(i.value)
@@ -3392,39 +3416,39 @@ const Ca = { key: 0 }, ka = /* @__PURE__ */ g({
3392
3416
  onKeyup: C[1] || (C[1] = (L) => m.$emit("update", a.value)),
3393
3417
  onFocus: C[2] || (C[2] = (L) => v()),
3394
3418
  onBlur: C[3] || (C[3] = (L) => $())
3395
- }, null, 42, Aa), [
3396
- [At, a.value]
3419
+ }, null, 42, Da), [
3420
+ [Dt, a.value]
3397
3421
  ])
3398
3422
  ], 40, Pa)
3399
3423
  ], 2));
3400
3424
  }
3401
- }), Da = {
3425
+ }), ja = {
3402
3426
  viewBox: "0 0 512 512",
3403
3427
  width: "1.2em",
3404
3428
  height: "1.2em"
3405
3429
  };
3406
- function ja(t, s) {
3407
- return u(), b("svg", Da, s[0] || (s[0] = [
3430
+ function Ba(t, s) {
3431
+ return u(), b("svg", ja, s[0] || (s[0] = [
3408
3432
  y("path", {
3409
3433
  fill: "currentColor",
3410
3434
  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"
3411
3435
  }, null, -1)
3412
3436
  ]));
3413
3437
  }
3414
- const Ba = E({ name: "ion-warning", render: ja }), Fa = {
3438
+ const Fa = E({ name: "ion-warning", render: Ba }), Ua = {
3415
3439
  viewBox: "0 0 20 20",
3416
3440
  width: "1.2em",
3417
3441
  height: "1.2em"
3418
3442
  };
3419
- function Ua(t, s) {
3420
- return u(), b("svg", Fa, s[0] || (s[0] = [
3443
+ function Oa(t, s) {
3444
+ return u(), b("svg", Ua, s[0] || (s[0] = [
3421
3445
  y("path", {
3422
3446
  fill: "currentColor",
3423
3447
  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"
3424
3448
  }, null, -1)
3425
3449
  ]));
3426
3450
  }
3427
- const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-medium" }, Wa = ["datetime"], Ka = /* @__PURE__ */ g({
3451
+ const Na = E({ name: "zondicons-view-show", render: Oa }), Wa = { class: "font-medium" }, Ka = ["datetime"], Qa = /* @__PURE__ */ g({
3428
3452
  __name: "ErrorLogsModal",
3429
3453
  setup(t) {
3430
3454
  return (s, e) => (u(), h(se, {
@@ -3437,14 +3461,14 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3437
3461
  class: "mb-2 flex max-w-prose min-w-56 justify-between py-2 last:mb-0"
3438
3462
  }, [
3439
3463
  y("div", null, [
3440
- y("h3", Na, x(r.report.title), 1),
3464
+ y("h3", Wa, x(r.report.title), 1),
3441
3465
  y("time", {
3442
3466
  datetime: r.date.toISOString(),
3443
3467
  class: "text-xs text-gray-700"
3444
- }, x(r.date.toLocaleTimeString()), 9, Wa),
3445
- p(P, {
3468
+ }, x(r.date.toLocaleTimeString()), 9, Ka),
3469
+ p(A, {
3446
3470
  class: "text-sm text-gray-500",
3447
- text: r.report.description ?? o(yt)(r.report)
3471
+ text: r.report.description ?? l(yt)(r.report)
3448
3472
  }, null, 8, ["text"])
3449
3473
  ]),
3450
3474
  p(q, {
@@ -3459,7 +3483,7 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3459
3483
  )
3460
3484
  }, {
3461
3485
  default: f(() => [
3462
- p(o(Oa), {
3486
+ p(l(Na), {
3463
3487
  class: "size-4",
3464
3488
  "aria-hidden": "true"
3465
3489
  })
@@ -3472,7 +3496,7 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3472
3496
  _: 1
3473
3497
  }, 8, ["title"]));
3474
3498
  }
3475
- }), Al = /* @__PURE__ */ g({
3499
+ }), jl = /* @__PURE__ */ g({
3476
3500
  __name: "ErrorLogs",
3477
3501
  setup(t) {
3478
3502
  return (s, e) => s.$errors.logs.length > 0 ? (u(), h(q, {
@@ -3481,27 +3505,27 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3481
3505
  variant: "ghost",
3482
3506
  title: s.$td("errors.viewLogs", "View error logs"),
3483
3507
  "aria-label": s.$td("errors.viewLogs", "View error logs"),
3484
- onClick: e[0] || (e[0] = (r) => s.$ui.modal(Ka))
3508
+ onClick: e[0] || (e[0] = (r) => s.$ui.modal(Qa))
3485
3509
  }, {
3486
3510
  default: f(() => [
3487
- p(o(Ba), { class: "size-6 text-red-500" })
3511
+ p(l(Fa), { class: "size-6 text-red-500" })
3488
3512
  ]),
3489
3513
  _: 1
3490
3514
  }, 8, ["title", "aria-label"])) : T("", !0);
3491
3515
  }
3492
- }), Dl = /* @__PURE__ */ g({
3516
+ }), Bl = /* @__PURE__ */ g({
3493
3517
  __name: "ErrorMessage",
3494
3518
  props: {
3495
3519
  error: {}
3496
3520
  },
3497
3521
  setup(t) {
3498
3522
  const s = c(() => yt(t.error));
3499
- return (e, r) => (u(), h(P, {
3523
+ return (e, r) => (u(), h(A, {
3500
3524
  text: s.value,
3501
3525
  inline: ""
3502
3526
  }, null, 8, ["text"]));
3503
3527
  }
3504
- }), jl = /* @__PURE__ */ g({
3528
+ }), Fl = /* @__PURE__ */ g({
3505
3529
  __name: "Link",
3506
3530
  props: {
3507
3531
  class: {},
@@ -3523,23 +3547,23 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3523
3547
  _: 3
3524
3548
  }, 16));
3525
3549
  }
3526
- }), Bl = /* @__PURE__ */ g({
3550
+ }), Ul = /* @__PURE__ */ g({
3527
3551
  __name: "SettingsModal",
3528
3552
  setup(t) {
3529
- const s = c(() => Zt(A.settings, "priority", "desc"));
3553
+ const s = c(() => Xt(P.settings, "priority", "desc"));
3530
3554
  return (e, r) => (u(), h(se, {
3531
3555
  title: e.$td("settings.title", "Settings")
3532
3556
  }, {
3533
3557
  default: f(() => [
3534
- (u(!0), b(D, null, F(s.value, (n, a) => (u(), h(W(n.component), { key: a }))), 128))
3558
+ (u(!0), b(D, null, F(s.value, (n, a) => (u(), h(K(n.component), { key: a }))), 128))
3535
3559
  ]),
3536
3560
  _: 1
3537
3561
  }, 8, ["title"]));
3538
3562
  }
3539
- }), Qa = {
3563
+ }), Ja = {
3540
3564
  key: 0,
3541
3565
  class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
3542
- }, Fl = /* @__PURE__ */ g({
3566
+ }, Ol = /* @__PURE__ */ g({
3543
3567
  inheritAttrs: !1,
3544
3568
  __name: "TextArea",
3545
3569
  props: {
@@ -3552,25 +3576,25 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3552
3576
  },
3553
3577
  emits: ["update:modelValue"],
3554
3578
  setup(t) {
3555
- const s = N(t, ["label", "inputClass", "wrapperClass"]), e = G("$inputRef"), [r, n] = Ie(), a = c(() => M("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), i = c(() => {
3556
- var l, d, v;
3579
+ const s = W(t, ["label", "inputClass", "wrapperClass"]), e = G("$inputRef"), [r, n] = Ie(), a = c(() => M("relative rounded-md shadow-2xs", { "mt-1": t.label }, t.wrapperClass)), i = c(() => {
3580
+ var o, d, v;
3557
3581
  return M(
3558
3582
  // eslint-disable-next-line vue/max-len
3559
3583
  "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",
3560
3584
  {
3561
- "focus:ring-primary-600": !((l = e.value) != null && l.errors),
3585
+ "focus:ring-primary-600": !((o = e.value) != null && o.errors),
3562
3586
  "text-gray-900 shadow-2xs ring-gray-900/10 placeholder:text-gray-400": !((d = e.value) != null && d.errors),
3563
3587
  "pr-10 text-red-900 ring-red-900/10 placeholder:text-red-300 focus:ring-red-500": (v = e.value) == null ? void 0 : v.errors
3564
3588
  },
3565
3589
  t.inputClass
3566
3590
  );
3567
3591
  });
3568
- return (l, d) => (u(), h(ze, H({
3592
+ return (o, d) => (u(), h(ze, H({
3569
3593
  ref: "$inputRef",
3570
- label: l.label,
3571
- class: o(n)
3594
+ label: o.label,
3595
+ class: l(n)
3572
3596
  }, s, {
3573
- "onUpdate:modelValue": d[0] || (d[0] = (v) => l.$emit("update:modelValue", v))
3597
+ "onUpdate:modelValue": d[0] || (d[0] = (v) => o.$emit("update:modelValue", v))
3574
3598
  }), {
3575
3599
  default: f(() => {
3576
3600
  var v;
@@ -3579,9 +3603,9 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3579
3603
  y("div", {
3580
3604
  class: k(a.value)
3581
3605
  }, [
3582
- p(Ea, H(o(r), { class: i.value }), null, 16, ["class"]),
3583
- (v = e.value) != null && v.errors ? (u(), b("div", Qa, [
3584
- p(o(qe), { class: "size-5 text-red-500" })
3606
+ p(Va, H(l(r), { class: i.value }), null, 16, ["class"]),
3607
+ (v = e.value) != null && v.errors ? (u(), b("div", Ja, [
3608
+ p(l(qe), { class: "size-5 text-red-500" })
3585
3609
  ])) : T("", !0)
3586
3610
  ], 2),
3587
3611
  p(Ct, { class: "mt-2 text-sm text-gray-600" }),
@@ -3592,7 +3616,7 @@ const Oa = E({ name: "zondicons-view-show", render: Ua }), Na = { class: "font-m
3592
3616
  }, 16, ["label", "class"]));
3593
3617
  }
3594
3618
  });
3595
- class Ul {
3619
+ class Nl {
3596
3620
  constructor() {
3597
3621
  _(this, "status");
3598
3622
  _(this, "_listeners");
@@ -3600,7 +3624,7 @@ class Ul {
3600
3624
  _(this, "_cancelled");
3601
3625
  _(this, "_started");
3602
3626
  _(this, "_completed");
3603
- this.status = this.getInitialStatus(), this._listeners = new Xt(), this._started = new K(), this._completed = new K();
3627
+ this.status = this.getInitialStatus(), this._listeners = new Yt(), this._started = new Q(), this._completed = new Q();
3604
3628
  }
3605
3629
  async start() {
3606
3630
  this.beforeStart(), this._started.resolve();
@@ -3609,13 +3633,13 @@ class Ul {
3609
3633
  } catch (s) {
3610
3634
  if (s instanceof Ue)
3611
3635
  return;
3612
- throw ee(Yt(s), (e) => {
3636
+ throw ee(Gt(s), (e) => {
3613
3637
  this._completed.reject(e);
3614
3638
  });
3615
3639
  }
3616
3640
  }
3617
3641
  async cancel() {
3618
- this._cancelled = new K(), await this._cancelled;
3642
+ this._cancelled = new Q(), await this._cancelled;
3619
3643
  }
3620
3644
  serialize() {
3621
3645
  return this.serializeStatus(this.status);
@@ -3653,7 +3677,7 @@ class Ul {
3653
3677
  throw this._cancelled.resolve(), new Ue();
3654
3678
  }
3655
3679
  calculateCurrentProgress(s) {
3656
- return s ?? (s = this.status), s.completed ? 1 : s.children ? Gt(
3680
+ return s ?? (s = this.status), s.completed ? 1 : s.children ? es(
3657
3681
  s.children.reduce((e, r) => e + this.calculateCurrentProgress(r), 0) / s.children.length,
3658
3682
  2
3659
3683
  ) : 0;
@@ -3667,146 +3691,148 @@ class Ul {
3667
3691
  return { ...s };
3668
3692
  }
3669
3693
  }
3670
- async function Ol(t) {
3694
+ async function Wl(t) {
3671
3695
  await t.start();
3672
3696
  }
3673
3697
  export {
3674
- ql as AdvancedOptions,
3675
- tn as AlertModal,
3676
- A as App,
3677
- Il as AppLayout,
3678
- ka as AppModals,
3679
- Ta as AppOverlays,
3680
- Bs as AppService,
3681
- Sa as AppToasts,
3698
+ Rl as AdvancedOptions,
3699
+ sn as AlertModal,
3700
+ P as App,
3701
+ zl as AppLayout,
3702
+ Sa as AppModals,
3703
+ Ma as AppOverlays,
3704
+ Fs as AppService,
3705
+ Ta as AppToasts,
3682
3706
  q as Button,
3683
- bl as Cache,
3684
- lr as CacheService,
3685
- zl as Checkbox,
3686
- un as ConfirmModal,
3687
- Rl as DropdownMenu,
3688
- za as DropdownMenuOption,
3689
- Ra as DropdownMenuOptions,
3690
- Pl as EditableContent,
3691
- Al as ErrorLogs,
3692
- Ka as ErrorLogsModal,
3693
- Dl as ErrorMessage,
3707
+ wl as Cache,
3708
+ or as CacheService,
3709
+ Al as Checkbox,
3710
+ cn as ConfirmModal,
3711
+ Pl as DropdownMenu,
3712
+ Ra as DropdownMenuOption,
3713
+ Aa as DropdownMenuOptions,
3714
+ Dl as EditableContent,
3715
+ jl as ErrorLogs,
3716
+ Qa as ErrorLogsModal,
3717
+ Bl as ErrorMessage,
3694
3718
  Pn as ErrorReportModal,
3695
- Mn as ErrorReportModalButtons,
3696
- Hn as ErrorReportModalTitle,
3719
+ Hn as ErrorReportModalButtons,
3720
+ En as ErrorReportModalTitle,
3697
3721
  ut as Errors,
3698
- ol as EventListenerPriorities,
3722
+ il as EventListenerPriorities,
3699
3723
  R as Events,
3700
- Ds as EventsService,
3724
+ js as EventsService,
3701
3725
  $t as Form,
3702
- Xs as FormController,
3726
+ Ys as FormController,
3703
3727
  ct as HeadlessButton,
3704
3728
  ze as HeadlessInput,
3705
3729
  Ct as HeadlessInputDescription,
3706
3730
  he as HeadlessInputError,
3707
3731
  xt as HeadlessInputInput,
3708
3732
  fe as HeadlessInputLabel,
3709
- Ea as HeadlessInputTextArea,
3710
- Wr as HeadlessModal,
3711
- Kr as HeadlessModalContent,
3712
- Qr as HeadlessModalDescription,
3713
- Jr as HeadlessModalOverlay,
3714
- Zr as HeadlessModalTitle,
3715
- br as HeadlessSelect,
3733
+ Va as HeadlessInputTextArea,
3734
+ Kr as HeadlessModal,
3735
+ Qr as HeadlessModalContent,
3736
+ Jr as HeadlessModalDescription,
3737
+ Zr as HeadlessModalOverlay,
3738
+ Xr as HeadlessModalTitle,
3739
+ yr as HeadlessSelect,
3716
3740
  Be as HeadlessSelectLabel,
3717
3741
  mt as HeadlessSelectOption,
3718
3742
  ft as HeadlessSelectOptions,
3719
3743
  pt as HeadlessSelectTrigger,
3720
3744
  dt as HeadlessSelectValue,
3721
- qr as HeadlessSwitch,
3722
- ya as HeadlessToast,
3723
- Zn as Input,
3724
- Ul as Job,
3745
+ zr as HeadlessSwitch,
3746
+ wa as HeadlessToast,
3747
+ Xn as Input,
3748
+ Nl as Job,
3725
3749
  Ue as JobCancelledError,
3726
3750
  Z as Lang,
3727
3751
  me as Layouts,
3728
- jl as Link,
3729
- Nn as LoadingModal,
3752
+ Fl as Link,
3753
+ Wn as LoadingModal,
3730
3754
  lt as MOBILE_BREAKPOINT,
3731
- P as Markdown,
3755
+ A as Markdown,
3732
3756
  se as Modal,
3733
3757
  wt as ModalContext,
3734
- Un as ProgressBar,
3735
- ea as PromptModal,
3736
- _r as Select,
3758
+ On as ProgressBar,
3759
+ ta as PromptModal,
3760
+ xr as Select,
3737
3761
  ht as SelectLabel,
3738
3762
  Fe as SelectOption,
3739
3763
  gt as SelectOptions,
3740
3764
  vt as SelectTrigger,
3741
3765
  we as Service,
3742
3766
  Te as ServiceBootError,
3743
- Lr as Setting,
3744
- Bl as SettingsModal,
3745
- va as StartupCrash,
3767
+ Ir as Setting,
3768
+ Ul as SettingsModal,
3769
+ ba as StartupCrash,
3746
3770
  at as Storage,
3747
- zr as Switch,
3748
- Fl as TextArea,
3749
- wa as Toast,
3771
+ Rr as Switch,
3772
+ Ol as TextArea,
3773
+ $a as Toast,
3750
3774
  z as UI,
3751
- dr as UIService,
3752
- pl as __valueType,
3753
- zs as appNamespace,
3754
- $l as booleanInput,
3775
+ pr as UIService,
3776
+ ml as __valueType,
3777
+ ar as aerogelDirectives,
3778
+ Rs as appNamespace,
3779
+ xl as booleanInput,
3755
3780
  $e as bootServices,
3756
- Ll as bootstrap,
3757
- xa as bootstrapApplication,
3781
+ ql as bootstrap,
3782
+ Ca as bootstrapApplication,
3758
3783
  M as classes,
3759
- hl as computedAsync,
3760
- gl as computedDebounce,
3761
- _l as dateInput,
3762
- cl as defineDirective,
3763
- dl as defineFormValidationRule,
3764
- ul as definePlugin,
3784
+ vl as computedAsync,
3785
+ bl as computedDebounce,
3786
+ Cl as dateInput,
3787
+ dl as defineDirective,
3788
+ pl as defineFormValidationRule,
3789
+ cl as definePlugin,
3765
3790
  ye as defineServiceState,
3766
- As as defineServiceStore,
3767
- il as defineSettings,
3768
- Ol as dispatch,
3769
- xl as enumInput,
3791
+ Ds as defineServiceStore,
3792
+ ul as defineSettings,
3793
+ Wl as dispatch,
3794
+ kl as enumInput,
3770
3795
  ot as getCurrentLayout,
3771
3796
  yt as getErrorMessage,
3772
- tr as getMarkdownRouter,
3797
+ sr as getMarkdownRouter,
3773
3798
  Ps as getPiniaStore,
3774
- vr as hasSelectOptionLabel,
3775
- Ns as injectOrFail,
3776
- Os as injectReactive,
3799
+ br as hasSelectOptionLabel,
3800
+ Ws as injectOrFail,
3801
+ Ns as injectReactive,
3777
3802
  V as injectReactiveOrFail,
3778
- Fs as installPlugins,
3779
- Hl as numberInput,
3780
- El as objectInput,
3781
- ml as onCleanMounted,
3803
+ Us as installPlugins,
3804
+ Vl as numberInput,
3805
+ Ll as objectInput,
3806
+ fl as onCleanMounted,
3782
3807
  st as onFormFocus,
3783
- fl as persistent,
3784
- wl as registerErrorHandler,
3785
- sr as renderMarkdown,
3808
+ hl as persistent,
3809
+ gl as reactiveSet,
3810
+ _l as registerErrorHandler,
3811
+ rr as renderMarkdown,
3786
3812
  Ge as renderVNode,
3787
- yl as replaceExisting,
3788
- Cl as requiredBooleanInput,
3789
- kl as requiredDateInput,
3790
- Sl as requiredEnumInput,
3791
- Tl as requiredNumberInput,
3792
- Ml as requiredObjectInput,
3793
- Xn as requiredStringInput,
3794
- Rs as resetPiniaStore,
3813
+ $l as replaceExisting,
3814
+ Sl as requiredBooleanInput,
3815
+ Tl as requiredDateInput,
3816
+ Ml as requiredEnumInput,
3817
+ Hl as requiredNumberInput,
3818
+ El as requiredObjectInput,
3819
+ Yn as requiredStringInput,
3820
+ As as resetPiniaStore,
3795
3821
  nt as safeHtml,
3796
- vl as setMarkdownRouter,
3797
- Vl as stringInput,
3822
+ yl as setMarkdownRouter,
3823
+ Il as stringInput,
3798
3824
  it as translate,
3799
3825
  S as translateWithDefault,
3800
- en as useAlertModal,
3801
- sn as useConfirmModal,
3802
- En as useErrorReportModal,
3826
+ tn as useAlertModal,
3827
+ rn as useConfirmModal,
3828
+ Vn as useErrorReportModal,
3803
3829
  tt as useEvent,
3804
3830
  rt as useForm,
3805
3831
  Ie as useInputAttrs,
3806
- On as useLoadingModal,
3807
- Yn as usePromptModal,
3808
- Zs as validate,
3809
- Js as validateType,
3832
+ Nn as useLoadingModal,
3833
+ Gn as usePromptModal,
3834
+ Xs as validate,
3835
+ Zs as validateType,
3810
3836
  de as validators,
3811
3837
  et as variantClasses
3812
3838
  };