@aerogel/core 0.1.1-next.9089cf50b6e252df5d7c6f134d3d287dae86fc73 → 0.1.1-next.99766defd90af84297715d34b226d66e90304026

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,19 +1,19 @@
1
1
  var Ot = Object.defineProperty;
2
2
  var Ft = (t, s, e) => s in t ? Ot(t, s, { enumerable: !0, configurable: !0, writable: !0, value: e }) : t[s] = e;
3
3
  var C = (t, s, e) => Ft(t, typeof s != "symbol" ? s + "" : s, e);
4
- import { markRaw as R, Comment as Ut, Text as Nt, Static as Wt, inject as te, reactive as we, unref as l, onUnmounted as Ce, ref as B, computed as d, readonly as ke, nextTick as Kt, useAttrs as nt, onMounted as at, watch as X, toRaw as Qt, customRef as Jt, watchEffect as se, defineComponent as v, createBlock as g, openBlock as i, mergeProps as I, withCtx as h, renderSlot as $, createPropsRestProxy as K, provide as oe, createVNode as p, normalizeProps as me, guardReactiveProps as fe, createTextVNode as z, toDisplayString as x, normalizeClass as _, createElementBlock as y, Fragment as j, renderList as F, resolveDynamicComponent as re, useSlots as Se, createCommentVNode as T, createElementVNode as w, h as Zt, useTemplateRef as Z, withModifiers as lt, withDirectives as ot, vModelCheckbox as Gt, normalizeStyle as Ne, resolveComponent as Xt, createApp as Yt, withKeys as es, vModelText as ts } from "vue";
5
- import { JSError as Te, stringToSlug as ss, tap as ne, MagicObject as it, PromisedValue as G, Storage as Q, objectOnly as ie, arrayFrom as ut, isEmpty as He, objectDeepClone as rs, fail as J, facade as ae, arrayRemove as ze, getEnv as ns, updateLocationQueryParameters as as, forever as ls, toString as O, objectWithout as os, noop as is, debounce as us, stringMatchAll as ct, isDevelopment as Y, isTesting as qe, after as ce, uuid as pe, isObject as be, objectWithoutEmpty as dt, evaluate as cs, isInstanceOf as We, stringExcerpt as ds, arraySorted as ps, ListenersManager as ms, toError as fs, round as hs } from "@noeldemartin/utils";
4
+ import { markRaw as R, Comment as Ut, Text as Nt, Static as Wt, inject as te, reactive as we, unref as l, onUnmounted as Ce, ref as B, computed as d, readonly as ke, nextTick as Kt, useAttrs as at, onMounted as lt, watch as X, toRaw as Qt, customRef as Jt, watchEffect as se, defineComponent as v, createBlock as g, openBlock as i, mergeProps as I, withCtx as h, renderSlot as $, createPropsRestProxy as K, provide as oe, createVNode as p, normalizeProps as me, guardReactiveProps as fe, createTextVNode as z, toDisplayString as x, normalizeClass as _, createElementBlock as y, Fragment as j, renderList as F, resolveDynamicComponent as re, useSlots as Se, createCommentVNode as T, createElementVNode as w, h as Zt, useTemplateRef as Z, withModifiers as ot, withDirectives as it, vModelCheckbox as Gt, normalizeStyle as We, resolveComponent as Xt, createApp as Yt, withKeys as es, vModelText as ts } from "vue";
5
+ import { JSError as Te, stringToSlug as ss, tap as ne, MagicObject as ut, PromisedValue as G, Storage as Q, objectOnly as ie, arrayFrom as ct, isEmpty as Le, objectDeepClone as rs, fail as J, facade as ae, arrayRemove as Re, getEnv as ns, updateLocationQueryParameters as as, forever as ls, toString as O, objectWithout as os, noop as is, debounce as us, stringMatchAll as dt, isDevelopment as Y, isTesting as Me, isObject as be, after as ce, uuid as pe, objectWithoutEmpty as pt, evaluate as cs, isInstanceOf as Ke, stringExcerpt as ds, arraySorted as ps, ListenersManager as ms, toError as fs, round as hs } from "@noeldemartin/utils";
6
6
  import N from "virtual:aerogel";
7
7
  import { createPinia as gs, setActivePinia as vs, defineStore as bs } from "pinia";
8
8
  import ys from "dompurify";
9
- import { marked as ws, Renderer as Ke } from "marked";
10
- import { injectModal as pt, useModal as $s, createModal as _s, showModal as Qe, closeModal as Je, modals as ue, ModalComponent as xs, ModalsPortal as Cs } from "@noeldemartin/vue-modals";
9
+ import { marked as ws, Renderer as Qe } from "marked";
10
+ import { injectModal as mt, useModal as $s, createModal as _s, showModal as Je, closeModal as Ze, modals as ue, ModalComponent as xs, ModalsPortal as Cs } from "@noeldemartin/vue-modals";
11
11
  import { ModalComponent as Po, ModalsPortal as Ao, closeModal as Do, createModal as Bo, injectModal as jo, modals as Oo, showModal as Fo } from "@noeldemartin/vue-modals";
12
12
  import ks from "clsx";
13
13
  import { cva as Ss } from "class-variance-authority";
14
14
  import { twMerge as Ts } from "tailwind-merge";
15
- import { Primitive as Ms, SelectValue as Ze, SelectTrigger as Vs, SelectIcon as Es, SelectItem as Hs, SelectItemText as Ls, SelectPortal as Is, SelectContent as zs, SelectViewport as Rs, SelectRoot as qs, Label as mt, useForwardExpose as Pe, SwitchRoot as Ps, SwitchThumb as As, DialogRoot as Ds, DialogPortal as Bs, DialogContent as js, DialogDescription as Os, DialogOverlay as Fs, DialogTitle as Us, ToastClose as Ns, ToastRoot as Ws, ToastProvider as Ks, ToastViewport as Qs, injectComboboxRootContext as Js, ComboboxItem as Zs, useFilter as Gs, ComboboxPortal as Xs, ComboboxContent as Ys, ComboboxViewport as er, ComboboxEmpty as tr, ComboboxGroup as sr, ComboboxAnchor as rr, ComboboxInput as nr, ComboboxRoot as ar, DropdownMenuItem as lr, DropdownMenuContent as or, DropdownMenuRoot as ir, DropdownMenuTrigger as ur, DropdownMenuPortal as cr } from "reka-ui";
16
- class Re extends Te {
15
+ import { Primitive as Ms, SelectValue as Ge, SelectTrigger as Vs, SelectIcon as Es, SelectItem as Hs, SelectItemText as Ls, SelectPortal as Is, SelectContent as zs, SelectViewport as Rs, SelectRoot as qs, Label as ft, useForwardExpose as Pe, SwitchRoot as Ps, SwitchThumb as As, DialogRoot as Ds, DialogPortal as Bs, DialogContent as js, DialogDescription as Os, DialogOverlay as Fs, DialogTitle as Us, ToastClose as Ns, ToastRoot as Ws, ToastProvider as Ks, ToastViewport as Qs, injectComboboxRootContext as Js, ComboboxItem as Zs, useFilter as Gs, ComboboxPortal as Xs, ComboboxContent as Ys, ComboboxViewport as er, ComboboxEmpty as tr, ComboboxGroup as sr, ComboboxAnchor as rr, ComboboxInput as nr, ComboboxRoot as ar, DropdownMenuItem as lr, DropdownMenuContent as or, DropdownMenuRoot as ir, DropdownMenuTrigger as ur, DropdownMenuPortal as cr } from "reka-ui";
16
+ class qe extends Te {
17
17
  constructor(s, e) {
18
18
  super(`Service '${s}' failed booting`, { cause: e });
19
19
  }
@@ -22,7 +22,7 @@ function dr() {
22
22
  return N.namespace ?? ss(N.name);
23
23
  }
24
24
  let Ae = null;
25
- function ft() {
25
+ function ht() {
26
26
  return Ae ?? pr();
27
27
  }
28
28
  function pr() {
@@ -31,14 +31,14 @@ function pr() {
31
31
  });
32
32
  }
33
33
  function mr() {
34
- return Ae ?? ft();
34
+ return Ae ?? ht();
35
35
  }
36
36
  function fr(t, s) {
37
- return ft(), bs(t, s)();
37
+ return ht(), bs(t, s)();
38
38
  }
39
- function Me(t) {
39
+ function Ve(t) {
40
40
  var s;
41
- return s = class extends Ve {
41
+ return s = class extends Ee {
42
42
  usesStore() {
43
43
  return !0;
44
44
  }
@@ -74,8 +74,8 @@ To fix this problem, declare your initialState as a function instead.`
74
74
  }
75
75
  }, C(s, "persist", t.persist ?? []), s;
76
76
  }
77
- var Ie;
78
- let Ve = (Ie = class extends it {
77
+ var ze;
78
+ let Ee = (ze = class extends ut {
79
79
  constructor() {
80
80
  super();
81
81
  C(this, "_name");
@@ -97,7 +97,7 @@ let Ve = (Ie = class extends it {
97
97
  return super.static(e);
98
98
  }
99
99
  launch() {
100
- const e = (r) => this._booted.reject(new Re(this._name, r));
100
+ const e = (r) => this._booted.reject(new qe(this._name, r));
101
101
  try {
102
102
  this.frameworkBoot().then(() => this.boot()).then(() => this._booted.resolve()).catch(e);
103
103
  } catch (r) {
@@ -124,8 +124,8 @@ let Ve = (Ie = class extends it {
124
124
  updatePersistedState(e) {
125
125
  if (!this._store)
126
126
  return;
127
- const r = ut(e), n = ie(this._store.$state, r);
128
- He(n) || this.onPersistentStateUpdated(n);
127
+ const r = ct(e), n = ie(this._store.$state, r);
128
+ Le(n) || this.onPersistentStateUpdated(n);
129
129
  }
130
130
  __get(e) {
131
131
  return this.hasState(e) ? this.getState(e) : super.__get(e);
@@ -138,7 +138,7 @@ let Ve = (Ie = class extends it {
138
138
  }
139
139
  onStateUpdated(e, r) {
140
140
  const n = ie(e, this.static("persist"));
141
- He(n) || this.onPersistentStateUpdated(n);
141
+ Le(n) || this.onPersistentStateUpdated(n);
142
142
  for (const a in e) {
143
143
  const c = this._watchers[a];
144
144
  !c || e[a] === r[a] || c.call(this, e[a], r[a]);
@@ -178,7 +178,7 @@ let Ve = (Ie = class extends it {
178
178
  async boot() {
179
179
  }
180
180
  restorePersistedState() {
181
- if (!(!this.usesStore() || He(this.static("persist")))) {
181
+ if (!(!this.usesStore() || Le(this.static("persist")))) {
182
182
  if (Q.has(this.storageKey)) {
183
183
  const e = Q.require(this.storageKey);
184
184
  this.setState(this.deserializePersistedState(e));
@@ -190,13 +190,13 @@ let Ve = (Ie = class extends it {
190
190
  requireStore() {
191
191
  return this._store ? this._store : J(`Failed getting '${this._name}' store`);
192
192
  }
193
- }, C(Ie, "persist", []), Ie);
193
+ }, C(ze, "persist", []), ze);
194
194
  const Ql = {
195
195
  Low: -256,
196
196
  Default: 0,
197
197
  High: 256
198
198
  };
199
- class hr extends Ve {
199
+ class hr extends Ee {
200
200
  constructor() {
201
201
  super(...arguments);
202
202
  C(this, "listeners", {});
@@ -238,7 +238,7 @@ class hr extends Ve {
238
238
  return;
239
239
  const a = [...n.priorities];
240
240
  for (const o of a)
241
- ze(n.handlers[o] ?? [], r), ((c = n.handlers[o]) == null ? void 0 : c.length) === 0 && (delete n.handlers[o], ze(n.priorities, o));
241
+ Re(n.handlers[o] ?? [], r), ((c = n.handlers[o]) == null ? void 0 : c.length) === 0 && (delete n.handlers[o], Re(n.priorities, o));
242
242
  n.priorities.length === 0 && delete this.listeners[e];
243
243
  }
244
244
  registerListener(e, r, n) {
@@ -253,7 +253,7 @@ const W = ae(hr);
253
253
  function Jl(t) {
254
254
  return t;
255
255
  }
256
- const gr = Me({
256
+ const gr = Ve({
257
257
  name: "app",
258
258
  initialState: {
259
259
  plugins: {},
@@ -341,25 +341,25 @@ function L(t, s) {
341
341
  function $r(t, s) {
342
342
  return te(t) ?? J(s ?? `Could not resolve '${O(t)}' injection key`);
343
343
  }
344
- function ht(t) {
344
+ function gt(t) {
345
345
  return typeof t == "string" ? t : t.type === Ut ? "" : t.type === Nt || t.type === Wt ? t.children : t.type === "br" ? `
346
346
 
347
- ` : `<${t.type} ${yr(t)}>${Array.from(t.children).map(ht).join("")}</${t.type}>`;
347
+ ` : `<${t.type} ${yr(t)}>${Array.from(t.children).map(gt).join("")}</${t.type}>`;
348
348
  }
349
- const Le = /* @__PURE__ */ new WeakMap(), _r = {
349
+ const Ie = /* @__PURE__ */ new WeakMap(), _r = {
350
350
  mounted(t, { value: s, modifiers: e }) {
351
351
  const r = typeof s == "function" ? s : null, n = () => {
352
352
  const a = t.getBoundingClientRect();
353
353
  e.css && (t.style.setProperty("--width", `${a.width}px`), t.style.setProperty("--height", `${a.height}px`)), r == null || r({ width: a.width, height: a.height });
354
354
  };
355
- e.watch && Le.set(t, ne(new ResizeObserver(n)).observe(t)), n();
355
+ e.watch && Ie.set(t, ne(new ResizeObserver(n)).observe(t)), n();
356
356
  },
357
357
  unmounted(t) {
358
358
  var s;
359
- (s = Le.get(t)) == null || s.unobserve(t), Le.delete(t);
359
+ (s = Ie.get(t)) == null || s.unobserve(t), Ie.delete(t);
360
360
  }
361
361
  };
362
- function gt(t, s) {
362
+ function vt(t, s) {
363
363
  const { baseClasses: e, ...r } = t, { baseClasses: n, ...a } = s, c = Ss(n, a);
364
364
  return k(c(r), l(e));
365
365
  }
@@ -405,10 +405,10 @@ function Sr(t, s) {
405
405
  function Tr(t, s) {
406
406
  var r;
407
407
  const e = (r = ye[s]) == null ? void 0 : r.call(ye, t);
408
- return e ? ut(e) : [];
408
+ return e ? ct(e) : [];
409
409
  }
410
- const eo = Symbol(), Ge = /* @__PURE__ */ new WeakMap();
411
- class Mr extends it {
410
+ const eo = Symbol(), Xe = /* @__PURE__ */ new WeakMap();
411
+ class Mr extends ut {
412
412
  constructor(e) {
413
413
  super();
414
414
  C(this, "errors");
@@ -417,14 +417,14 @@ class Mr extends it {
417
417
  C(this, "_submitted");
418
418
  C(this, "_errors");
419
419
  C(this, "_listeners", {});
420
- this._fields = e, this._submitted = B(!1), this._data = this.getInitialData(e), this._errors = this.getInitialErrors(e), Ge.set(
420
+ this._fields = e, this._submitted = B(!1), this._data = this.getInitialData(e), this._errors = this.getInitialErrors(e), Xe.set(
421
421
  this,
422
422
  d(() => !Object.values(this._errors).some((r) => r !== null))
423
423
  ), this.errors = ke(this._errors);
424
424
  }
425
425
  get valid() {
426
426
  var e;
427
- return !!((e = Ge.get(this)) != null && e.value);
427
+ return !!((e = Xe.get(this)) != null && e.value);
428
428
  }
429
429
  get submitted() {
430
430
  return this._submitted.value;
@@ -471,7 +471,7 @@ class Mr extends it {
471
471
  return (n = this._listeners)[e] ?? (n[e] = []), (a = this._listeners[e]) == null || a.push(r), () => this.off(e, r);
472
472
  }
473
473
  off(e, r) {
474
- ze(this._listeners[e] ?? [], r);
474
+ Re(this._listeners[e] ?? [], r);
475
475
  }
476
476
  async focus(e) {
477
477
  var r;
@@ -514,20 +514,20 @@ class Mr extends it {
514
514
  Object.keys(this._errors).forEach((r) => delete this._errors[r]), e && Object.assign(this._errors, e);
515
515
  }
516
516
  }
517
- function vt(t, s) {
517
+ function bt(t, s) {
518
518
  const e = te("form", null), r = e == null ? void 0 : e.on("focus", (n) => t.name === n && s());
519
519
  Ce(() => r == null ? void 0 : r());
520
520
  }
521
- function bt(t) {
521
+ function yt(t) {
522
522
  return new Mr(t);
523
523
  }
524
524
  function De() {
525
- const t = nt(), s = d(() => t.class);
525
+ const t = at(), s = d(() => t.class);
526
526
  return [d(() => os(t, "class")), s];
527
527
  }
528
528
  function to(t) {
529
529
  let s = is;
530
- at(() => s = t()), Ce(() => s());
530
+ lt(() => s = t()), Ce(() => s());
531
531
  }
532
532
  function so(t, s) {
533
533
  const e = we(Q.get(t) ?? s);
@@ -570,21 +570,21 @@ function no(t, s) {
570
570
  }
571
571
  let de = null;
572
572
  function Er() {
573
- return ne(new Ke(), (t) => {
573
+ return ne(new Qe(), (t) => {
574
574
  t.link = function(s) {
575
- const e = Ke.prototype.link.apply(this, [s]);
575
+ const e = Qe.prototype.link.apply(this, [s]);
576
576
  return s.href.startsWith("#") ? e : e.replace("<a", '<a target="_blank"');
577
577
  };
578
578
  });
579
579
  }
580
580
  function Hr(t) {
581
- const s = ct(t, /<a[^>]*href="#action:([^"]+)"[^>]*>([^<]+)<\/a>/g);
581
+ const s = dt(t, /<a[^>]*href="#action:([^"]+)"[^>]*>([^<]+)<\/a>/g);
582
582
  for (const [e, r, n] of s)
583
583
  t = t.replace(e, `<button type="button" data-markdown-action="${r}">${n}</button>`);
584
584
  return t;
585
585
  }
586
586
  function Lr(t) {
587
- const s = ct(t, /<a[^>]*href="#route:([^"]+)"[^>]*>([^<]+)<\/a>/g);
587
+ const s = dt(t, /<a[^>]*href="#route:([^"]+)"[^>]*>([^<]+)<\/a>/g);
588
588
  for (const [e, r, n] of s) {
589
589
  const a = (de == null ? void 0 : de.resolve(r)) ?? r;
590
590
  t = t.replace(e, `<a data-markdown-route="${r}" href="${a}">${n}</a>`);
@@ -599,18 +599,18 @@ function ao(t) {
599
599
  }
600
600
  function zr(t) {
601
601
  let s = ws(t, { renderer: Er(), async: !1 });
602
- return s = yt(s), s = Hr(s), s = Lr(s), s;
602
+ return s = wt(s), s = Hr(s), s = Lr(s), s;
603
603
  }
604
- function yt(t) {
604
+ function wt(t) {
605
605
  return ys.sanitize(t, { ADD_ATTR: ["target"] });
606
606
  }
607
607
  const Rr = 6e4;
608
- function Xe(t) {
608
+ function Ye(t) {
609
609
  return -(t ?? /* @__PURE__ */ new Date()).getTimezoneOffset() * -Rr;
610
610
  }
611
611
  const qr = {
612
612
  mounted(t, { value: s }) {
613
- t.innerHTML = yt(s);
613
+ t.innerHTML = wt(s);
614
614
  }
615
615
  }, Pr = {
616
616
  measure: _r,
@@ -625,7 +625,7 @@ const qr = {
625
625
  t.directive(r, n);
626
626
  }
627
627
  };
628
- class Dr extends Ve {
628
+ class Dr extends Ee {
629
629
  constructor() {
630
630
  super(...arguments);
631
631
  C(this, "cache");
@@ -647,12 +647,12 @@ class Dr extends Ve {
647
647
  }
648
648
  }
649
649
  const lo = ae(Dr);
650
- class Br extends Ve {
650
+ class Br extends Ee {
651
651
  async purge() {
652
652
  await W.emit("purge-storage");
653
653
  }
654
654
  }
655
- const wt = ae(Br);
655
+ const $t = ae(Br);
656
656
  function oo(t, s) {
657
657
  return {
658
658
  ...t,
@@ -662,9 +662,9 @@ function oo(t, s) {
662
662
  const jr = {
663
663
  $app: A,
664
664
  $events: W,
665
- $storage: wt
665
+ $storage: $t
666
666
  };
667
- async function Ee(t, s) {
667
+ async function He(t, s) {
668
668
  await Promise.all(
669
669
  Object.entries(s).map(async ([e, r]) => {
670
670
  await r.launch().catch((n) => {
@@ -672,7 +672,7 @@ async function Ee(t, s) {
672
672
  return (c = (a = t.config).errorHandler) == null ? void 0 : c.call(a, n, null, `Failed launching ${e}.`);
673
673
  });
674
674
  })
675
- ), Object.assign(t.config.globalProperties, s), (Y() || qe()) && Object.assign(globalThis, s);
675
+ ), Object.assign(t.config.globalProperties, s), (Y() || Me()) && Object.assign(globalThis, s);
676
676
  }
677
677
  const Or = {
678
678
  async install(t, s) {
@@ -681,37 +681,117 @@ const Or = {
681
681
  ...jr,
682
682
  ...s.services
683
683
  };
684
- t.use(mr()), (r = s.settings) == null || r.forEach((n) => A.addSetting(n)), s.settingsFullscreenOnMobile !== void 0 && A.setSettingsFullscreenOnMobile(s.settingsFullscreenOnMobile), await Ee(t, e);
684
+ t.use(mr()), (r = s.settings) == null || r.forEach((n) => A.addSetting(n)), s.settingsFullscreenOnMobile !== void 0 && A.setSettingsFullscreenOnMobile(s.settingsFullscreenOnMobile), await He(t, e);
685
+ }
686
+ };
687
+ class Fr {
688
+ constructor(s, e) {
689
+ this.locale = s, this.fallbackLocale = e;
690
+ }
691
+ getLocale() {
692
+ return this.locale;
693
+ }
694
+ async setLocale(s) {
695
+ this.locale = s;
696
+ }
697
+ getFallbackLocale() {
698
+ return this.fallbackLocale;
699
+ }
700
+ async setFallbackLocale(s) {
701
+ this.fallbackLocale = s;
702
+ }
703
+ getLocales() {
704
+ return ["en"];
705
+ }
706
+ translate(s) {
707
+ return Y() && console.warn("Lang provider is missing"), s;
708
+ }
709
+ translateWithDefault(s, e) {
710
+ return Y() && console.warn("Lang provider is missing"), e;
711
+ }
712
+ }
713
+ const Ur = Ve({
714
+ name: "lang",
715
+ persist: ["locale", "fallbackLocale"],
716
+ initialState: {
717
+ locale: null,
718
+ locales: ["en"],
719
+ fallbackLocale: "en"
720
+ }
721
+ });
722
+ class Nr extends Ur {
723
+ constructor() {
724
+ super();
725
+ C(this, "provider");
726
+ this.provider = new Fr(
727
+ this.getState("locale") ?? this.getBrowserLocale(),
728
+ this.getState("fallbackLocale")
729
+ );
730
+ }
731
+ async setProvider(e) {
732
+ this.provider = e, this.locales = e.getLocales(), await e.setLocale(this.locale ?? this.getBrowserLocale()), await e.setFallbackLocale(this.fallbackLocale);
733
+ }
734
+ translate(e, r) {
735
+ return this.provider.translate(e, r) ?? e;
736
+ }
737
+ translateWithDefault(e, r, n = {}) {
738
+ return this.provider.translateWithDefault(e, r, n);
739
+ }
740
+ getBrowserLocale() {
741
+ const e = this.getState("locales");
742
+ return navigator.languages.find((r) => e.includes(r)) ?? "en";
743
+ }
744
+ async boot() {
745
+ globalThis.document && this.requireStore().$subscribe(
746
+ async () => {
747
+ var e, r;
748
+ await this.provider.setLocale(this.locale ?? this.getBrowserLocale()), await this.provider.setFallbackLocale(this.fallbackLocale), this.locale ? (e = document.querySelector("html")) == null || e.setAttribute("lang", this.locale) : (r = document.querySelector("html")) == null || r.removeAttribute("lang");
749
+ },
750
+ { immediate: !0 }
751
+ );
752
+ }
753
+ }
754
+ const ee = ae(Nr), _t = ee.translate.bind(ee), S = ee.translateWithDefault.bind(ee), xt = [];
755
+ function io(t) {
756
+ xt.push(t);
757
+ }
758
+ function Be(t) {
759
+ for (const s of xt) {
760
+ const e = s(t);
761
+ if (e)
762
+ return e;
685
763
  }
686
- }, Ye = /* @__PURE__ */ new WeakSet();
687
- function Be() {
688
- const t = pt(), { close: s, remove: e, ...r } = $s(Ye.has(t) ? {} : { removeOnClose: !1 });
689
- return Ye.add(t), {
764
+ return typeof t == "string" ? t : t instanceof Error || t instanceof Te ? t.message : be(t) ? O(t.message ?? t.description ?? "Unknown error object") : S("errors.unknown", "Unknown Error");
765
+ }
766
+ const et = /* @__PURE__ */ new WeakSet();
767
+ function je() {
768
+ const t = mt(), { close: s, remove: e, ...r } = $s(et.has(t) ? {} : { removeOnClose: !1 });
769
+ return et.add(t), {
690
770
  ...r,
691
771
  async close(n) {
692
772
  s(n), await ce(1e3), e();
693
773
  }
694
774
  };
695
775
  }
696
- const $t = 768, $e = {
776
+ const Ct = 768, $e = {
697
777
  Mobile: "mobile",
698
778
  Desktop: "desktop"
699
779
  };
700
- function _t() {
701
- return globalThis.innerWidth > $t ? $e.Desktop : $e.Mobile;
780
+ function kt() {
781
+ return globalThis.innerWidth > Ct ? $e.Desktop : $e.Mobile;
702
782
  }
703
- const Fr = Me({
783
+ const Wr = Ve({
704
784
  name: "ui",
705
785
  initialState: {
706
786
  toasts: [],
707
- layout: _t()
787
+ layout: kt()
708
788
  },
709
789
  computed: {
710
790
  desktop: ({ layout: t }) => t === $e.Desktop,
711
791
  mobile: ({ layout: t }) => t === $e.Mobile
712
792
  }
713
793
  });
714
- class Ur extends Fr {
794
+ class Kr extends Wr {
715
795
  constructor() {
716
796
  super(...arguments);
717
797
  C(this, "components", {});
@@ -788,12 +868,12 @@ class Ur extends Fr {
788
868
  if (m && await Promise.race([ce({ ms: m }).then(() => c = !0), o]), m && !c)
789
869
  return o;
790
870
  const f = _s(this.requireComponent("loading-modal"), u);
791
- Qe(f);
871
+ Je(f);
792
872
  try {
793
873
  const b = await o;
794
874
  return await ce({ ms: 500 }), b;
795
875
  } finally {
796
- await Je(f.id, { removeAfter: 1e3 });
876
+ await Ze(f.id, { removeAfter: 1e3 });
797
877
  }
798
878
  }
799
879
  toast(e, r = {}) {
@@ -805,10 +885,10 @@ class Ur extends Fr {
805
885
  this.setState("toasts", this.toasts.concat(c));
806
886
  }
807
887
  modal(e, r) {
808
- return Qe(e, r ?? {});
888
+ return Je(e, r ?? {});
809
889
  }
810
890
  async closeAllModals() {
811
- await Promise.all(ue.value.map(({ id: e }) => Je(e, { removeAfter: 1e3 })));
891
+ await Promise.all(ue.value.map(({ id: e }) => Ze(e, { removeAfter: 1e3 })));
812
892
  }
813
893
  async boot() {
814
894
  this.watchMountedEvent(), this.watchViewportBreakpoints();
@@ -824,78 +904,10 @@ class Ur extends Fr {
824
904
  watchViewportBreakpoints() {
825
905
  if (!globalThis.matchMedia)
826
906
  return;
827
- globalThis.matchMedia(`(min-width: ${$t}px)`).addEventListener("change", () => this.setState({ layout: _t() }));
907
+ globalThis.matchMedia(`(min-width: ${Ct}px)`).addEventListener("change", () => this.setState({ layout: kt() }));
828
908
  }
829
909
  }
830
- const D = ae(Ur);
831
- class Nr {
832
- constructor(s, e) {
833
- this.locale = s, this.fallbackLocale = e;
834
- }
835
- getLocale() {
836
- return this.locale;
837
- }
838
- async setLocale(s) {
839
- this.locale = s;
840
- }
841
- getFallbackLocale() {
842
- return this.fallbackLocale;
843
- }
844
- async setFallbackLocale(s) {
845
- this.fallbackLocale = s;
846
- }
847
- getLocales() {
848
- return ["en"];
849
- }
850
- translate(s) {
851
- return Y() && console.warn("Lang provider is missing"), s;
852
- }
853
- translateWithDefault(s, e) {
854
- return Y() && console.warn("Lang provider is missing"), e;
855
- }
856
- }
857
- const Wr = Me({
858
- name: "lang",
859
- persist: ["locale", "fallbackLocale"],
860
- initialState: {
861
- locale: null,
862
- locales: ["en"],
863
- fallbackLocale: "en"
864
- }
865
- });
866
- class Kr extends Wr {
867
- constructor() {
868
- super();
869
- C(this, "provider");
870
- this.provider = new Nr(
871
- this.getState("locale") ?? this.getBrowserLocale(),
872
- this.getState("fallbackLocale")
873
- );
874
- }
875
- async setProvider(e) {
876
- this.provider = e, this.locales = e.getLocales(), await e.setLocale(this.locale ?? this.getBrowserLocale()), await e.setFallbackLocale(this.fallbackLocale);
877
- }
878
- translate(e, r) {
879
- return this.provider.translate(e, r) ?? e;
880
- }
881
- translateWithDefault(e, r, n = {}) {
882
- return this.provider.translateWithDefault(e, r, n);
883
- }
884
- getBrowserLocale() {
885
- const e = this.getState("locales");
886
- return navigator.languages.find((r) => e.includes(r)) ?? "en";
887
- }
888
- async boot() {
889
- globalThis.document && this.requireStore().$subscribe(
890
- async () => {
891
- var e, r;
892
- await this.provider.setLocale(this.locale ?? this.getBrowserLocale()), await this.provider.setFallbackLocale(this.fallbackLocale), this.locale ? (e = document.querySelector("html")) == null || e.setAttribute("lang", this.locale) : (r = document.querySelector("html")) == null || r.removeAttribute("lang");
893
- },
894
- { immediate: !0 }
895
- );
896
- }
897
- }
898
- const ee = ae(Kr), xt = ee.translate.bind(ee), S = ee.translateWithDefault.bind(ee), Qr = Me({
910
+ const D = ae(Kr), Qr = Ve({
899
911
  name: "errors",
900
912
  initialState: {
901
913
  logs: [],
@@ -931,7 +943,7 @@ class Jr extends Qr {
931
943
  D.modal(D.requireComponent("error-report-modal"), { report: n, reports: a });
932
944
  }
933
945
  async report(e, r) {
934
- if (await W.emit("error", { error: e, message: r }), qe("unit") || (Y() && this.logError(e), !this.enabled))
946
+ if (await W.emit("error", { error: e, message: r }), Me("unit") || (Y() && this.logError(e), !this.enabled))
935
947
  throw e;
936
948
  if (!A.isMounted()) {
937
949
  const c = await this.createStartupErrorReport(e);
@@ -988,7 +1000,7 @@ class Jr extends Qr {
988
1000
  return be(e) && "title" in e;
989
1001
  }
990
1002
  async createErrorReport(e) {
991
- return typeof e == "string" ? { title: e } : e instanceof Error || e instanceof Te ? this.createErrorReportFromError(e) : be(e) ? dt({
1003
+ return typeof e == "string" ? { title: e } : e instanceof Error || e instanceof Te ? this.createErrorReportFromError(e) : be(e) ? pt({
992
1004
  title: O(
993
1005
  e.name ?? e.title ?? S("errors.unknown", "Unknown Error")
994
1006
  ),
@@ -1002,7 +1014,7 @@ class Jr extends Qr {
1002
1014
  };
1003
1015
  }
1004
1016
  async createStartupErrorReport(e) {
1005
- return e instanceof Re ? e.cause instanceof Re ? null : this.createErrorReport(e.cause) : this.createErrorReport(e);
1017
+ return e instanceof qe ? e.cause instanceof qe ? null : this.createErrorReport(e.cause) : this.createErrorReport(e);
1006
1018
  }
1007
1019
  createErrorReportFromError(e, r = {}) {
1008
1020
  return {
@@ -1014,7 +1026,7 @@ class Jr extends Qr {
1014
1026
  };
1015
1027
  }
1016
1028
  }
1017
- const Ct = ae(Jr), kt = /* @__PURE__ */ v({
1029
+ const St = ae(Jr), Tt = /* @__PURE__ */ v({
1018
1030
  __name: "HeadlessButton",
1019
1031
  props: {
1020
1032
  class: {},
@@ -1032,7 +1044,7 @@ const Ct = ae(Jr), kt = /* @__PURE__ */ v({
1032
1044
  setup(t) {
1033
1045
  const s = d(() => t.as ? { as: t.as } : t.route ? {
1034
1046
  as: D.resolveComponent("router-link") ?? "a",
1035
- to: dt({
1047
+ to: pt({
1036
1048
  name: t.route,
1037
1049
  params: t.routeParams,
1038
1050
  query: t.routeQuery
@@ -1072,7 +1084,7 @@ const Ct = ae(Jr), kt = /* @__PURE__ */ v({
1072
1084
  as: {}
1073
1085
  },
1074
1086
  setup(t) {
1075
- const s = K(t, ["class", "size", "variant", "disabled"]), e = d(() => gt(
1087
+ const s = K(t, ["class", "size", "variant", "disabled"]), e = d(() => vt(
1076
1088
  { baseClasses: t.class, variant: t.variant, size: t.size, disabled: t.disabled },
1077
1089
  {
1078
1090
  baseClasses: "focus-visible:outline focus-visible:outline-2 focus-visible:outline-offset-2",
@@ -1168,7 +1180,7 @@ const Ct = ae(Jr), kt = /* @__PURE__ */ v({
1168
1180
  }
1169
1181
  }
1170
1182
  ));
1171
- return (r, n) => (i(), g(kt, I({
1183
+ return (r, n) => (i(), g(Tt, I({
1172
1184
  class: e.value,
1173
1185
  disabled: r.disabled
1174
1186
  }, s), {
@@ -1182,7 +1194,7 @@ const Ct = ae(Jr), kt = /* @__PURE__ */ v({
1182
1194
  function Zr(t) {
1183
1195
  return typeof t == "object" && t !== null && "label" in t;
1184
1196
  }
1185
- function St(t, s) {
1197
+ function Mt(t, s) {
1186
1198
  const e = te("form", null), r = (f) => f === void 0 ? "" : t.value.renderOption ? t.value.renderOption(f) : Zr(f) ? cs(f.label) : O(f), n = d(() => {
1187
1199
  const { name: f, modelValue: b } = t.value;
1188
1200
  return e && f ? e.getFieldValue(f) : b;
@@ -1225,14 +1237,14 @@ function St(t, s) {
1225
1237
  }
1226
1238
  return oe("select", u), { expose: u, acceptableValue: a, update: m, renderOption: r };
1227
1239
  }
1228
- const Tt = /* @__PURE__ */ v({
1240
+ const Vt = /* @__PURE__ */ v({
1229
1241
  __name: "HeadlessSelectValue",
1230
1242
  setup(t) {
1231
1243
  const s = L(
1232
1244
  "select",
1233
1245
  "<HeadlessSelectValue> must be a child of a <HeadlessSelect>"
1234
1246
  );
1235
- return (e, r) => e.$slots.default ? (i(), g(l(Ze), {
1247
+ return (e, r) => e.$slots.default ? (i(), g(l(Ge), {
1236
1248
  key: 0,
1237
1249
  placeholder: l(s).placeholder
1238
1250
  }, {
@@ -1240,12 +1252,12 @@ const Tt = /* @__PURE__ */ v({
1240
1252
  $(e.$slots, "default")
1241
1253
  ]),
1242
1254
  _: 3
1243
- }, 8, ["placeholder"])) : (i(), g(l(Ze), {
1255
+ }, 8, ["placeholder"])) : (i(), g(l(Ge), {
1244
1256
  key: 1,
1245
1257
  placeholder: l(s).placeholder
1246
1258
  }, null, 8, ["placeholder"]));
1247
1259
  }
1248
- }), Mt = /* @__PURE__ */ v({
1260
+ }), Et = /* @__PURE__ */ v({
1249
1261
  __name: "HeadlessSelectTrigger",
1250
1262
  setup(t) {
1251
1263
  const s = L(
@@ -1257,7 +1269,7 @@ const Tt = /* @__PURE__ */ v({
1257
1269
  }, {
1258
1270
  default: h(() => [
1259
1271
  $(e.$slots, "default", {}, () => [
1260
- p(Tt, {
1272
+ p(Vt, {
1261
1273
  placeholder: l(s).placeholder
1262
1274
  }, null, 8, ["placeholder"]),
1263
1275
  p(l(Es))
@@ -1266,7 +1278,7 @@ const Tt = /* @__PURE__ */ v({
1266
1278
  _: 3
1267
1279
  }, 8, ["id"]));
1268
1280
  }
1269
- }), Vt = /* @__PURE__ */ v({
1281
+ }), Ht = /* @__PURE__ */ v({
1270
1282
  __name: "HeadlessSelectOption",
1271
1283
  props: {
1272
1284
  value: {},
@@ -1298,7 +1310,7 @@ const Tt = /* @__PURE__ */ v({
1298
1310
  _: 3
1299
1311
  }, 16));
1300
1312
  }
1301
- }), Et = /* @__PURE__ */ v({
1313
+ }), Lt = /* @__PURE__ */ v({
1302
1314
  __name: "HeadlessSelectOptions",
1303
1315
  props: {
1304
1316
  class: {},
@@ -1324,7 +1336,7 @@ const Tt = /* @__PURE__ */ v({
1324
1336
  }, {
1325
1337
  default: h(() => [
1326
1338
  $(r.$slots, "default", {}, () => [
1327
- (i(!0), y(j, null, F(l(s).options ?? [], (a) => (i(), g(Vt, {
1339
+ (i(!0), y(j, null, F(l(s).options ?? [], (a) => (i(), g(Ht, {
1328
1340
  key: a.key,
1329
1341
  value: a.value
1330
1342
  }, null, 8, ["value"]))), 128))
@@ -1359,7 +1371,7 @@ const Tt = /* @__PURE__ */ v({
1359
1371
  },
1360
1372
  emits: ["update:modelValue"],
1361
1373
  setup(t, { expose: s, emit: e }) {
1362
- const r = e, n = K(t, ["as", "compareOptions"]), { expose: a, acceptableValue: c, update: o } = St(
1374
+ const r = e, n = K(t, ["as", "compareOptions"]), { expose: a, acceptableValue: c, update: o } = Mt(
1363
1375
  d(() => ({ as: t.as, compareOptions: t.compareOptions, ...n })),
1364
1376
  r
1365
1377
  );
@@ -1375,8 +1387,8 @@ const Tt = /* @__PURE__ */ v({
1375
1387
  modelValue: u.modelValue,
1376
1388
  open: f
1377
1389
  }, () => [
1378
- p(Mt),
1379
- p(Et)
1390
+ p(Et),
1391
+ p(Lt)
1380
1392
  ])
1381
1393
  ]),
1382
1394
  _: 2
@@ -1385,7 +1397,7 @@ const Tt = /* @__PURE__ */ v({
1385
1397
  _: 3
1386
1398
  }, 8, ["model-value", "by"]));
1387
1399
  }
1388
- }), et = /* @__PURE__ */ v({
1400
+ }), tt = /* @__PURE__ */ v({
1389
1401
  __name: "HeadlessSelectLabel",
1390
1402
  props: {
1391
1403
  asChild: { type: Boolean },
@@ -1396,7 +1408,7 @@ const Tt = /* @__PURE__ */ v({
1396
1408
  "select",
1397
1409
  "<HeadlessSelectLabel> must be a child of a <HeadlessSelect>"
1398
1410
  ), e = Se(), r = d(() => !!(s.label || e.default));
1399
- return (n, a) => r.value ? (i(), g(l(mt), I({
1411
+ return (n, a) => r.value ? (i(), g(l(ft), I({
1400
1412
  key: 0,
1401
1413
  for: l(s).id
1402
1414
  }, n.$props), {
@@ -1408,14 +1420,14 @@ const Tt = /* @__PURE__ */ v({
1408
1420
  _: 3
1409
1421
  }, 16, ["for"])) : T("", !0);
1410
1422
  }
1411
- }), Ht = /* @__PURE__ */ v({
1423
+ }), It = /* @__PURE__ */ v({
1412
1424
  __name: "SelectLabel",
1413
1425
  props: {
1414
1426
  class: {}
1415
1427
  },
1416
1428
  setup(t) {
1417
1429
  const s = L("select", "<SelectLabel> must be a child of a <Select>"), e = d(() => k("block text-sm leading-6 font-medium text-gray-900", s.labelClass, t.class));
1418
- return (r, n) => r.$slots.default ? (i(), g(et, {
1430
+ return (r, n) => r.$slots.default ? (i(), g(tt, {
1419
1431
  key: 0,
1420
1432
  class: _(e.value)
1421
1433
  }, {
@@ -1423,12 +1435,12 @@ const Tt = /* @__PURE__ */ v({
1423
1435
  $(r.$slots, "default")
1424
1436
  ]),
1425
1437
  _: 3
1426
- }, 8, ["class"])) : (i(), g(et, {
1438
+ }, 8, ["class"])) : (i(), g(tt, {
1427
1439
  key: 1,
1428
1440
  class: _(e.value)
1429
1441
  }, null, 8, ["class"]));
1430
1442
  }
1431
- }), tt = /* @__PURE__ */ v({
1443
+ }), st = /* @__PURE__ */ v({
1432
1444
  __name: "SelectOption",
1433
1445
  props: {
1434
1446
  value: {},
@@ -1441,7 +1453,7 @@ const Tt = /* @__PURE__ */ v({
1441
1453
  "relative flex max-w-[calc(100vw-2rem)] cursor-pointer items-center truncate rounded-md gap-2 px-2 py-1 text-sm select-none *:truncate group-data-[highlighted]:bg-gray-100 group-data-[state=checked]:font-semibold group-data-[state=unchecked]:opacity-50",
1442
1454
  t.innerClass
1443
1455
  ));
1444
- return (r, n) => (i(), g(Vt, {
1456
+ return (r, n) => (i(), g(Ht, {
1445
1457
  class: _(s.value),
1446
1458
  value: r.value
1447
1459
  }, {
@@ -1455,7 +1467,7 @@ const Tt = /* @__PURE__ */ v({
1455
1467
  _: 3
1456
1468
  }, 8, ["class", "value"]));
1457
1469
  }
1458
- }), Lt = /* @__PURE__ */ v({
1470
+ }), zt = /* @__PURE__ */ v({
1459
1471
  __name: "SelectOptions",
1460
1472
  props: {
1461
1473
  class: {}
@@ -1466,7 +1478,7 @@ const Tt = /* @__PURE__ */ v({
1466
1478
  s.optionsClass,
1467
1479
  t.class
1468
1480
  ));
1469
- return (r, n) => (i(), g(Et, {
1481
+ return (r, n) => (i(), g(Lt, {
1470
1482
  class: _(e.value)
1471
1483
  }, {
1472
1484
  default: h(() => {
@@ -1475,7 +1487,7 @@ const Tt = /* @__PURE__ */ v({
1475
1487
  (a = l(s).options) != null && a.length ? $(r.$slots, "default", { key: 0 }, () => {
1476
1488
  var c;
1477
1489
  return [
1478
- (i(!0), y(j, null, F(((c = l(s)) == null ? void 0 : c.options) ?? [], (o) => (i(), g(tt, {
1490
+ (i(!0), y(j, null, F(((c = l(s)) == null ? void 0 : c.options) ?? [], (o) => (i(), g(st, {
1479
1491
  key: o.key,
1480
1492
  value: o.value
1481
1493
  }, {
@@ -1486,7 +1498,7 @@ const Tt = /* @__PURE__ */ v({
1486
1498
  }, 1032, ["value"]))), 128))
1487
1499
  ];
1488
1500
  }) : $(r.$slots, "default", { key: 1 }, () => [
1489
- p(tt, {
1501
+ p(st, {
1490
1502
  disabled: "",
1491
1503
  value: null
1492
1504
  }, {
@@ -1530,7 +1542,7 @@ function sn(t, s) {
1530
1542
  const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1531
1543
  key: 0,
1532
1544
  class: "pointer-events-none absolute inset-y-0 right-0 flex items-center pr-3"
1533
- }, It = /* @__PURE__ */ v({
1545
+ }, Rt = /* @__PURE__ */ v({
1534
1546
  __name: "SelectTrigger",
1535
1547
  props: {
1536
1548
  class: {}
@@ -1549,13 +1561,13 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1549
1561
  },
1550
1562
  t.class
1551
1563
  ));
1552
- return (r, n) => (i(), g(Mt, {
1564
+ return (r, n) => (i(), g(Et, {
1553
1565
  class: _(e.value)
1554
1566
  }, {
1555
1567
  default: h(() => {
1556
1568
  var a;
1557
1569
  return [
1558
- p(Tt, { class: "col-start-1 row-start-1 truncate pr-6" }),
1570
+ p(Vt, { class: "col-start-1 row-start-1 truncate pr-6" }),
1559
1571
  p(l(en), { class: "col-start-1 row-start-1 size-5 self-center justify-self-end text-gray-500 sm:size-4" }),
1560
1572
  (a = l(s)) != null && a.errors ? (i(), y("div", rn, [
1561
1573
  p(l(he), { class: "size-5 text-red-500" })
@@ -1565,7 +1577,7 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1565
1577
  _: 1
1566
1578
  }, 8, ["class"]));
1567
1579
  }
1568
- }), nn = ["id"], zt = /* @__PURE__ */ v({
1580
+ }), nn = ["id"], qt = /* @__PURE__ */ v({
1569
1581
  __name: "HeadlessSelectError",
1570
1582
  setup(t) {
1571
1583
  const s = L(
@@ -1601,11 +1613,11 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1601
1613
  "onUpdate:modelValue": r[0] || (r[0] = (n) => e.$emit("update:modelValue", n))
1602
1614
  }), {
1603
1615
  default: h(() => [
1604
- p(Ht),
1616
+ p(It),
1605
1617
  $(e.$slots, "default", {}, () => [
1606
- p(It),
1607
- p(zt, { class: "mt-2 text-sm text-red-600" }),
1608
- p(Lt)
1618
+ p(Rt),
1619
+ p(qt, { class: "mt-2 text-sm text-red-600" }),
1620
+ p(zt)
1609
1621
  ])
1610
1622
  ]),
1611
1623
  _: 3
@@ -1630,7 +1642,7 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1630
1642
  }, {
1631
1643
  default: h(() => [
1632
1644
  w("div", ln, [
1633
- p(Ht, { class: "text-base font-semibold" }, {
1645
+ p(It, { class: "text-base font-semibold" }, {
1634
1646
  default: h(() => [
1635
1647
  z(x(n.$td("settings.locale", "Language")), 1)
1636
1648
  ]),
@@ -1644,10 +1656,10 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1644
1656
  ]),
1645
1657
  p(q, {
1646
1658
  variant: "ghost",
1647
- as: It,
1659
+ as: Rt,
1648
1660
  class: "grid w-auto outline-none"
1649
1661
  }),
1650
- p(Lt)
1662
+ p(zt)
1651
1663
  ]),
1652
1664
  _: 1
1653
1665
  }, 8, ["modelValue", "options"]));
@@ -1660,7 +1672,7 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1660
1672
  ], cn = { $lang: ee }, dn = {
1661
1673
  async install(t) {
1662
1674
  var s;
1663
- (s = t.config.globalProperties).$t ?? (s.$t = xt), t.config.globalProperties.$td = S, un.forEach((e) => A.addSetting(e)), await Ee(t, cn);
1675
+ (s = t.config.globalProperties).$t ?? (s.$t = _t), t.config.globalProperties.$td = S, un.forEach((e) => A.addSetting(e)), await He(t, cn);
1664
1676
  }
1665
1677
  }, pn = /* @__PURE__ */ v({
1666
1678
  __name: "Markdown",
@@ -1674,7 +1686,7 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1674
1686
  actions: {}
1675
1687
  },
1676
1688
  setup(t) {
1677
- const s = nt(), e = Se(), r = d(() => e.default ? e.default().map(ht).join("") : t.text ?? (t.langKey && (t.langDefault ? S(t.langKey, t.langDefault, t.langParams ?? {}) : xt(t.langKey, t.langParams ?? {})))), n = d(() => {
1689
+ const s = at(), e = Se(), r = d(() => e.default ? e.default().map(gt).join("") : t.text ?? (t.langKey && (t.langDefault ? S(t.langKey, t.langDefault, t.langParams ?? {}) : _t(t.langKey, t.langParams ?? {})))), n = d(() => {
1678
1690
  if (!r.value)
1679
1691
  return null;
1680
1692
  let o = zr(r.value);
@@ -1688,11 +1700,11 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1688
1700
  async function c(o) {
1689
1701
  var m, f;
1690
1702
  const { target: u } = o;
1691
- if (We(u, HTMLElement) && u.dataset.markdownAction) {
1703
+ if (Ke(u, HTMLElement) && u.dataset.markdownAction) {
1692
1704
  (f = (m = t.actions) == null ? void 0 : m[u.dataset.markdownAction]) == null || f.call(m);
1693
1705
  return;
1694
1706
  }
1695
- if (We(u, HTMLAnchorElement) && u.dataset.markdownRoute) {
1707
+ if (Ke(u, HTMLAnchorElement) && u.dataset.markdownRoute) {
1696
1708
  const b = Ir();
1697
1709
  b && (o.preventDefault(), b.visit(u.dataset.markdownRoute));
1698
1710
  return;
@@ -1830,32 +1842,21 @@ const he = R({ name: "zondicons-exclamation-solid", render: sn }), rn = {
1830
1842
  priority: 10,
1831
1843
  component: wn
1832
1844
  }
1833
- ], Rt = [];
1834
- function io(t) {
1835
- Rt.push(t);
1836
- }
1837
- function qt(t) {
1838
- for (const s of Rt) {
1839
- const e = s(t);
1840
- if (e)
1841
- return e;
1842
- }
1843
- return typeof t == "string" ? t : t instanceof Error || t instanceof Te ? t.message : be(t) ? O(t.message ?? t.description ?? "Unknown error object") : S("errors.unknown", "Unknown Error");
1844
- }
1845
- class st extends Te {
1845
+ ];
1846
+ class rt extends Te {
1846
1847
  }
1847
- const _n = { $errors: Ct }, xn = (t) => (Ct.report(t), !0);
1848
+ const _n = { $errors: St }, xn = (t) => (Me("e2e") && Be(t).includes("ResizeObserver loop completed with undelivered notifications.") || St.report(t), !0);
1848
1849
  function Cn(t, s = () => !1) {
1849
1850
  const e = (r) => s(r) || xn(r);
1850
1851
  t.config.errorHandler = e, globalThis.onerror = (r, n, a, c, o) => e(o ?? r), globalThis.onunhandledrejection = (r) => e(r.reason);
1851
1852
  }
1852
1853
  const kn = {
1853
1854
  async install(t, s) {
1854
- Cn(t, s.handleError), $n.forEach((e) => A.addSetting(e)), await Ee(t, _n);
1855
+ Cn(t, s.handleError), $n.forEach((e) => A.addSetting(e)), await He(t, _n);
1855
1856
  }
1856
1857
  }, Sn = {
1857
1858
  async install() {
1858
- qe() && (globalThis.testingRuntime = {
1859
+ Me() && (globalThis.testingRuntime = {
1859
1860
  on: (...t) => W.on(...t),
1860
1861
  service: (t) => A.service(t)
1861
1862
  });
@@ -1885,7 +1886,7 @@ const Vn = R({ name: "zondicons-close", render: Mn }), En = /* @__PURE__ */ v({
1885
1886
  descriptionHidden: { type: Boolean }
1886
1887
  },
1887
1888
  setup(t, { expose: s }) {
1888
- const e = B(null), { close: r } = Be();
1889
+ const e = B(null), { close: r } = je();
1889
1890
  s({ $content: e });
1890
1891
  const { forwardRef: n } = Pe();
1891
1892
  return oe("$modalContentRef", e), (a, c) => (i(), g(l(Ds), {
@@ -1907,7 +1908,7 @@ const Vn = R({ name: "zondicons-close", render: Mn }), En = /* @__PURE__ */ v({
1907
1908
  }), Hn = /* @__PURE__ */ v({
1908
1909
  __name: "HeadlessModalContent",
1909
1910
  setup(t) {
1910
- const { child: s } = Be(), e = $r("$modalContentRef"), r = Z("$contentRef");
1911
+ const { child: s } = je(), e = $r("$modalContentRef"), r = Z("$contentRef");
1911
1912
  return se(() => e.value = r.value), (n, a) => (i(), g(l(js), { ref: "$contentRef" }, {
1912
1913
  default: h(() => [
1913
1914
  $(n.$slots, "default"),
@@ -1984,10 +1985,10 @@ const Vn = R({ name: "zondicons-close", render: Mn }), En = /* @__PURE__ */ v({
1984
1985
  return (E = o.value) == null ? void 0 : E.$content;
1985
1986
  })
1986
1987
  });
1987
- const { forwardRef: r, currentRef: n } = Pe(), { id: a, visible: c } = Be(), o = n, u = pt(), m = d(
1988
+ const { forwardRef: r, currentRef: n } = Pe(), { id: a, visible: c } = je(), o = n, u = mt(), m = d(
1988
1989
  () => {
1989
1990
  var E;
1990
- return c.value && ((E = ue.value.toReversed().find((Oe) => Oe.visible.value)) == null ? void 0 : E.id) === a.value;
1991
+ return c.value && ((E = ue.value.toReversed().find((Fe) => Fe.visible.value)) == null ? void 0 : E.id) === a.value;
1991
1992
  }
1992
1993
  ), f = d(() => ue.value.find((E) => E.visible.value)), b = d(() => ue.value.some((E) => ve.has(E))), M = d(() => t.description ? {} : { "aria-describedby": void 0 }), H = d(() => k(
1993
1994
  "overflow-auto px-4 pb-4 flex flex-col flex-1",
@@ -2008,17 +2009,17 @@ const Vn = R({ name: "zondicons-close", render: Mn }), En = /* @__PURE__ */ v({
2008
2009
  ],
2009
2010
  t.wrapperClass
2010
2011
  ));
2011
- return at(() => ce(500).then(() => ve.add(u.value))), (E, Oe) => (i(), g(En, I(e, {
2012
+ return lt(() => ce(500).then(() => ve.add(u.value))), (E, Fe) => (i(), g(En, I(e, {
2012
2013
  ref: (ge) => l(r)(ge),
2013
2014
  persistent: E.persistent
2014
2015
  }), {
2015
2016
  default: h(({ close: ge }) => {
2016
- var Fe, Ue;
2017
+ var Ue, Ne;
2017
2018
  return [
2018
2019
  p(In, {
2019
2020
  class: _(["fixed inset-0 transition-opacity duration-300 will-change-[opacity]", {
2020
2021
  "animate-[fade-in_var(--tw-duration)_ease-in-out]": !b.value,
2021
- "bg-black/30": ((Fe = f.value) == null ? void 0 : Fe.id) === l(a) || !f.value && ((Ue = l(ue)[0]) == null ? void 0 : Ue.id) === l(a),
2022
+ "bg-black/30": ((Ue = f.value) == null ? void 0 : Ue.id) === l(a) || !f.value && ((Ne = l(ue)[0]) == null ? void 0 : Ne.id) === l(a),
2022
2023
  "opacity-0": !f.value,
2023
2024
  hidden: V.value
2024
2025
  }])
@@ -2115,14 +2116,14 @@ const An = /* @__PURE__ */ v({
2115
2116
  var a;
2116
2117
  e == null || e(), e = (a = t.form) == null ? void 0 : a.on("submit", () => r("submit")), n(() => e == null ? void 0 : e());
2117
2118
  }), oe("form", t.form), (n, a) => (i(), y("form", {
2118
- onSubmit: a[0] || (a[0] = lt((c) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
2119
+ onSubmit: a[0] || (a[0] = ot((c) => n.form ? n.form.submit() : n.$emit("submit"), ["prevent"]))
2119
2120
  }, [
2120
2121
  $(n.$slots, "default")
2121
2122
  ], 32));
2122
2123
  }
2123
2124
  });
2124
2125
  function Dn(t) {
2125
- const s = bt(
2126
+ const s = yt(
2126
2127
  Object.entries(t.checkboxes ?? {}).reduce(
2127
2128
  (c, [o, u]) => ({
2128
2129
  [o]: {
@@ -2174,7 +2175,7 @@ const Bn = {
2174
2175
  u.checkboxes ? (i(), y("ul", Bn, [
2175
2176
  (i(!0), y(j, null, F(u.checkboxes, (b, M) => (i(), y("li", { key: M }, [
2176
2177
  w("label", jn, [
2177
- ot(w("input", {
2178
+ it(w("input", {
2178
2179
  "onUpdate:modelValue": (H) => l(r)[M] = H,
2179
2180
  type: "checkbox",
2180
2181
  required: b.required,
@@ -2520,12 +2521,12 @@ const wa = R({ name: "svg-spinners-90-ring-with-bg", render: ya }), $a = { class
2520
2521
  ), Ce(() => s && s()), (o, u) => (i(), y("div", $a, [
2521
2522
  w("div", {
2522
2523
  class: _(r.value),
2523
- style: Ne(`transform:translateX(-${(1 - a.value) * 100}%)`)
2524
+ style: We(`transform:translateX(-${(1 - a.value) * 100}%)`)
2524
2525
  }, null, 6),
2525
2526
  c.value ? (i(), y("div", {
2526
2527
  key: 0,
2527
2528
  class: _(n.value),
2528
- style: Ne({ width: `${c.value}%` })
2529
+ style: We({ width: `${c.value}%` })
2529
2530
  }, null, 6)) : T("", !0),
2530
2531
  w("span", _a, x(o.$td("ui.progress", "{progress}% complete", {
2531
2532
  progress: a.value * 100
@@ -2571,7 +2572,7 @@ const ka = /* @__PURE__ */ v({
2571
2572
  _: 1
2572
2573
  }, 8, ["title", "title-hidden", "class"]));
2573
2574
  }
2574
- }), je = /* @__PURE__ */ v({
2575
+ }), Oe = /* @__PURE__ */ v({
2575
2576
  __name: "HeadlessInput",
2576
2577
  props: {
2577
2578
  name: {},
@@ -2649,7 +2650,7 @@ const ka = /* @__PURE__ */ v({
2649
2650
  case "time":
2650
2651
  case "datetime-local":
2651
2652
  return new Date(
2652
- Math.round(s.value.valueAsNumber / 6e4) * 6e4 + Xe(s.value.valueAsDate)
2653
+ Math.round(s.value.valueAsNumber / 6e4) * 6e4 + Ye(s.value.valueAsDate)
2653
2654
  );
2654
2655
  case "number":
2655
2656
  return s.value.valueAsNumber;
@@ -2657,14 +2658,14 @@ const ka = /* @__PURE__ */ v({
2657
2658
  return s.value.value;
2658
2659
  }
2659
2660
  }
2660
- return vt(e, () => {
2661
+ return bt(e, () => {
2661
2662
  var f;
2662
2663
  return (f = s.value) == null ? void 0 : f.focus();
2663
2664
  }), se(() => {
2664
2665
  if (s.value) {
2665
2666
  if (["date", "time", "datetime-local"].includes(c.value) && a.value instanceof Date) {
2666
2667
  const f = Math.round(a.value.getTime() / 6e4) * 6e4;
2667
- s.value.valueAsNumber = f - Xe(a.value), e.update(new Date(f));
2668
+ s.value.valueAsNumber = f - Ye(a.value), e.update(new Date(f));
2668
2669
  return;
2669
2670
  }
2670
2671
  s.value.value = a.value ?? null;
@@ -2738,7 +2739,7 @@ const ka = /* @__PURE__ */ v({
2738
2739
  t.inputClass
2739
2740
  );
2740
2741
  });
2741
- return (m, f) => (i(), g(je, I({
2742
+ return (m, f) => (i(), g(Oe, I({
2742
2743
  ref: "$inputRef",
2743
2744
  label: m.label,
2744
2745
  class: l(n)
@@ -2856,7 +2857,7 @@ function wo(t, s = {}) {
2856
2857
  };
2857
2858
  }
2858
2859
  function La(t) {
2859
- const s = bt({
2860
+ const s = yt({
2860
2861
  draft: Ha(t.defaultValue ?? "")
2861
2862
  }), e = d(() => t.title ?? t.message), r = d(() => t.title ? t.message : null), n = d(() => t.acceptText ?? S("ui.accept", "Ok")), a = d(() => t.cancelText ?? S("ui.cancel", "Cancel"));
2862
2863
  return { form: s, renderedTitle: e, renderedMessage: r, renderedAcceptText: n, renderedCancelText: a };
@@ -2992,7 +2993,7 @@ Do you still want to proceed?`
2992
2993
  acceptVariant: "danger",
2993
2994
  acceptText: S("startupCrash.purgeConfirmAccept", "Purge device")
2994
2995
  }
2995
- ) && (await wt.purge(), await A.reload());
2996
+ ) && (await $t.purge(), await A.reload());
2996
2997
  }
2997
2998
  return (e, r) => {
2998
2999
  const n = Xt("i-majesticons-exclamation");
@@ -3099,7 +3100,7 @@ Do you still want to proceed?`
3099
3100
  class: {}
3100
3101
  },
3101
3102
  setup(t, { expose: s }) {
3102
- const e = d(() => gt(
3103
+ const e = d(() => vt(
3103
3104
  { baseClasses: t.class, variant: t.variant },
3104
3105
  {
3105
3106
  baseClasses: "flex items-center gap-2 rounded-md p-2 ring-1 shadow-lg border-gray-200",
@@ -3148,7 +3149,7 @@ Do you still want to proceed?`
3148
3149
  };
3149
3150
  for (const [r, n] of Object.entries(e))
3150
3151
  D.registerComponent(r, n);
3151
- await Ee(t, tl);
3152
+ await He(t, tl);
3152
3153
  }
3153
3154
  }, rl = {
3154
3155
  async install(t, { formValidationRules: s }) {
@@ -3208,7 +3209,7 @@ const al = /* @__PURE__ */ v({
3208
3209
  function a() {
3209
3210
  s.value && e.update(s.value.value);
3210
3211
  }
3211
- return vt(e, () => {
3212
+ return bt(e, () => {
3212
3213
  var c;
3213
3214
  return (c = s.value) == null ? void 0 : c.focus();
3214
3215
  }), (c, o) => (i(), y("textarea", {
@@ -3288,7 +3289,7 @@ const al = /* @__PURE__ */ v({
3288
3289
  t.inputClass
3289
3290
  );
3290
3291
  }), o = d(() => k("ml-2 text-sm leading-6", t.labelClass));
3291
- return (u, m) => (i(), g(je, I({
3292
+ return (u, m) => (i(), g(Oe, I({
3292
3293
  ref: "$inputRef",
3293
3294
  class: a.value
3294
3295
  }, s, {
@@ -3332,7 +3333,7 @@ const al = /* @__PURE__ */ v({
3332
3333
  setup(t) {
3333
3334
  return oe(t.name, t.value), (s, e) => $(s.$slots, "default");
3334
3335
  }
3335
- }), fl = { class: "relative flex max-w-[calc(100vw-2rem)] cursor-pointer items-center gap-2 truncate rounded-md px-2 py-1 text-sm select-none *:truncate group-data-[highlighted]:bg-gray-100 group-data-[state=checked]:font-semibold group-data-[state=unchecked]:opacity-50" }, rt = /* @__PURE__ */ v({
3336
+ }), fl = { class: "relative flex max-w-[calc(100vw-2rem)] cursor-pointer items-center gap-2 truncate rounded-md px-2 py-1 text-sm select-none *:truncate group-data-[highlighted]:bg-gray-100 group-data-[state=checked]:font-semibold group-data-[state=unchecked]:opacity-50" }, nt = /* @__PURE__ */ v({
3336
3337
  __name: "ComboboxOption",
3337
3338
  props: {
3338
3339
  textValue: {},
@@ -3411,7 +3412,7 @@ const al = /* @__PURE__ */ v({
3411
3412
  default: h(() => {
3412
3413
  var f;
3413
3414
  return [
3414
- c.value ? (i(), g(rt, {
3415
+ c.value ? (i(), g(nt, {
3415
3416
  key: 0,
3416
3417
  value: ((f = u.newInputValue) == null ? void 0 : f.call(u, l(r).input)) ?? l(r).input,
3417
3418
  onSelect: m[0] || (m[0] = (b) => u.$emit("select"))
@@ -3421,7 +3422,7 @@ const al = /* @__PURE__ */ v({
3421
3422
  ]),
3422
3423
  _: 1
3423
3424
  }, 8, ["value"])) : T("", !0),
3424
- (i(!0), y(j, null, F(a.value, (b) => (i(), g(rt, {
3425
+ (i(!0), y(j, null, F(a.value, (b) => (i(), g(nt, {
3425
3426
  key: b.key,
3426
3427
  value: b.value,
3427
3428
  onSelect: m[1] || (m[1] = (M) => u.$emit("select"))
@@ -3504,7 +3505,7 @@ const al = /* @__PURE__ */ v({
3504
3505
  },
3505
3506
  setup(t) {
3506
3507
  const s = L("select", "<ComboboxLabel> must be a child of a <Combobox>"), e = Se(), r = d(() => !!(s.label || e.default)), n = d(() => k("block text-sm leading-6 font-medium text-gray-900", s.labelClass));
3507
- return (a, c) => r.value ? (i(), g(l(mt), I({
3508
+ return (a, c) => r.value ? (i(), g(l(ft), I({
3508
3509
  key: 0,
3509
3510
  for: l(s).id,
3510
3511
  class: n.value
@@ -3542,7 +3543,7 @@ const al = /* @__PURE__ */ v({
3542
3543
  acceptableValue: c,
3543
3544
  update: o,
3544
3545
  renderOption: u
3545
- } = St(
3546
+ } = Mt(
3546
3547
  d(() => ({ as: t.as, compareOptions: t.compareOptions, ...n })),
3547
3548
  r
3548
3549
  ), m = B(!1), f = d(() => {
@@ -3587,7 +3588,7 @@ const al = /* @__PURE__ */ v({
3587
3588
  onChange: V[1] || (V[1] = (U) => m.value = !0),
3588
3589
  onBlur: V[2] || (V[2] = (U) => m.value = !1)
3589
3590
  }),
3590
- p(zt, { class: "mt-2 text-sm text-red-600" }),
3591
+ p(qt, { class: "mt-2 text-sm text-red-600" }),
3591
3592
  p(gl, {
3592
3593
  "new-input-value": H.newInputValue,
3593
3594
  onSelect: V[3] || (V[3] = (U) => m.value = !1)
@@ -3638,7 +3639,7 @@ const al = /* @__PURE__ */ v({
3638
3639
  (i(!0), y(j, null, F(l(s).options, (n, a) => (i(), g(wl, I(
3639
3640
  {
3640
3641
  key: a,
3641
- as: n.route || n.href ? kt : void 0,
3642
+ as: n.route || n.href ? Tt : void 0,
3642
3643
  class: n.class
3643
3644
  },
3644
3645
  { ref_for: !0 },
@@ -3740,12 +3741,12 @@ const al = /* @__PURE__ */ v({
3740
3741
  w("form", {
3741
3742
  class: "w-full",
3742
3743
  "aria-hidden": b.formAriaHidden,
3743
- onSubmit: M[4] || (M[4] = lt((H) => {
3744
+ onSubmit: M[4] || (M[4] = ot((H) => {
3744
3745
  var V;
3745
3746
  return (V = r.value) == null ? void 0 : V.blur();
3746
3747
  }, ["prevent"]))
3747
3748
  }, [
3748
- ot(w("input", {
3749
+ it(w("input", {
3749
3750
  ref: "$inputRef",
3750
3751
  "onUpdate:modelValue": M[0] || (M[0] = (H) => a.value = H),
3751
3752
  tabindex: b.tabindex ?? void 0,
@@ -3810,7 +3811,7 @@ const Vl = R({ name: "zondicons-view-show", render: Ml }), El = { class: "font-m
3810
3811
  }, x(r.date.toLocaleTimeString()), 9, Hl),
3811
3812
  p(P, {
3812
3813
  class: "text-sm text-gray-500",
3813
- text: r.report.description ?? l(qt)(r.report)
3814
+ text: r.report.description ?? l(Be)(r.report)
3814
3815
  }, null, 8, ["text"])
3815
3816
  ]),
3816
3817
  p(q, {
@@ -3861,7 +3862,7 @@ const Vl = R({ name: "zondicons-view-show", render: Ml }), El = { class: "font-m
3861
3862
  error: {}
3862
3863
  },
3863
3864
  setup(t) {
3864
- const s = d(() => qt(t.error));
3865
+ const s = d(() => Be(t.error));
3865
3866
  return (e, r) => (i(), g(P, {
3866
3867
  text: s.value,
3867
3868
  inline: ""
@@ -3932,7 +3933,7 @@ const Vl = R({ name: "zondicons-view-show", render: Ml }), El = { class: "font-m
3932
3933
  t.inputClass
3933
3934
  );
3934
3935
  });
3935
- return (o, u) => (i(), g(je, I({
3936
+ return (o, u) => (i(), g(Oe, I({
3936
3937
  ref: "$inputRef",
3937
3938
  label: o.label,
3938
3939
  class: l(n)
@@ -3974,7 +3975,7 @@ class Io {
3974
3975
  try {
3975
3976
  await this.updateProgress(), await this.run(), await this.updateProgress(), this._completed.resolve();
3976
3977
  } catch (s) {
3977
- if (s instanceof st)
3978
+ if (s instanceof rt)
3978
3979
  return;
3979
3980
  throw ne(fs(s), (e) => {
3980
3981
  this._completed.reject(e);
@@ -4017,7 +4018,7 @@ class Io {
4017
4018
  }
4018
4019
  assertNotCancelled() {
4019
4020
  if (this._cancelled)
4020
- throw this._cancelled.resolve(), new st();
4021
+ throw this._cancelled.resolve(), new rt();
4021
4022
  }
4022
4023
  calculateCurrentProgress(s) {
4023
4024
  return s ?? (s = this.status), s.completed ? 1 : !s.children || s.children.length === 0 ? 0 : hs(
@@ -4051,7 +4052,7 @@ export {
4051
4052
  Co as Checkbox,
4052
4053
  ko as Combobox,
4053
4054
  yl as ComboboxLabel,
4054
- rt as ComboboxOption,
4055
+ nt as ComboboxOption,
4055
4056
  gl as ComboboxOptions,
4056
4057
  bl as ComboboxTrigger,
4057
4058
  Nn as ConfirmModal,
@@ -4066,14 +4067,14 @@ export {
4066
4067
  va as ErrorReportModal,
4067
4068
  ia as ErrorReportModalButtons,
4068
4069
  ua as ErrorReportModalTitle,
4069
- Ct as Errors,
4070
+ St as Errors,
4070
4071
  Ql as EventListenerPriorities,
4071
4072
  W as Events,
4072
4073
  hr as EventsService,
4073
4074
  Pt as Form,
4074
4075
  Mr as FormController,
4075
- kt as HeadlessButton,
4076
- je as HeadlessInput,
4076
+ Tt as HeadlessButton,
4077
+ Oe as HeadlessInput,
4077
4078
  Bt as HeadlessInputDescription,
4078
4079
  xe as HeadlessInputError,
4079
4080
  Dt as HeadlessInputInput,
@@ -4085,22 +4086,22 @@ export {
4085
4086
  In as HeadlessModalOverlay,
4086
4087
  zn as HeadlessModalTitle,
4087
4088
  Gr as HeadlessSelect,
4088
- et as HeadlessSelectLabel,
4089
- Vt as HeadlessSelectOption,
4090
- Et as HeadlessSelectOptions,
4091
- Mt as HeadlessSelectTrigger,
4092
- Tt as HeadlessSelectValue,
4089
+ tt as HeadlessSelectLabel,
4090
+ Ht as HeadlessSelectOption,
4091
+ Lt as HeadlessSelectOptions,
4092
+ Et as HeadlessSelectTrigger,
4093
+ Vt as HeadlessSelectValue,
4093
4094
  bn as HeadlessSwitch,
4094
4095
  Ya as HeadlessToast,
4095
4096
  Ea as Input,
4096
4097
  Io as Job,
4097
- st as JobCancelledError,
4098
+ rt as JobCancelledError,
4098
4099
  ee as Lang,
4099
4100
  $e as Layouts,
4100
4101
  Eo as Link,
4101
4102
  ka as LoadingModal,
4102
4103
  Rr as MINUTE_MILLISECONDS,
4103
- $t as MOBILE_BREAKPOINT,
4104
+ Ct as MOBILE_BREAKPOINT,
4104
4105
  P as Markdown,
4105
4106
  le as Modal,
4106
4107
  Po as ModalComponent,
@@ -4109,26 +4110,26 @@ export {
4109
4110
  za as PromptModal,
4110
4111
  ml as Provide,
4111
4112
  an as Select,
4112
- Ht as SelectLabel,
4113
- tt as SelectOption,
4114
- Lt as SelectOptions,
4115
- It as SelectTrigger,
4116
- Ve as Service,
4117
- Re as ServiceBootError,
4113
+ It as SelectLabel,
4114
+ st as SelectOption,
4115
+ zt as SelectOptions,
4116
+ Rt as SelectTrigger,
4117
+ Ee as Service,
4118
+ qe as ServiceBootError,
4118
4119
  gn as Setting,
4119
4120
  Ho as SettingsModal,
4120
4121
  Ga as StartupCrash,
4121
- wt as Storage,
4122
+ $t as Storage,
4122
4123
  yn as Switch,
4123
4124
  Lo as TextArea,
4124
4125
  el as Toast,
4125
4126
  D as UI,
4126
- Ur as UIService,
4127
+ Kr as UIService,
4127
4128
  eo as __valueType,
4128
4129
  Pr as aerogelDirectives,
4129
4130
  dr as appNamespace,
4130
4131
  uo as booleanInput,
4131
- Ee as bootServices,
4132
+ He as bootServices,
4132
4133
  $o as bootstrap,
4133
4134
  nl as bootstrapApplication,
4134
4135
  k as classes,
@@ -4140,14 +4141,14 @@ export {
4140
4141
  Gl as defineDirective,
4141
4142
  Yl as defineFormValidationRules,
4142
4143
  Zl as definePlugin,
4143
- Me as defineServiceState,
4144
+ Ve as defineServiceState,
4144
4145
  fr as defineServiceStore,
4145
4146
  Jl as defineSettings,
4146
4147
  zo as dispatch,
4147
4148
  po as enumInput,
4148
- _t as getCurrentLayout,
4149
- qt as getErrorMessage,
4150
- Xe as getLocalTimezoneOffset,
4149
+ kt as getCurrentLayout,
4150
+ Be as getErrorMessage,
4151
+ Ye as getLocalTimezoneOffset,
4151
4152
  Ir as getMarkdownRouter,
4152
4153
  mr as getPiniaStore,
4153
4154
  Zr as hasSelectOptionLabel,
@@ -4160,13 +4161,13 @@ export {
4160
4161
  bo as numberInput,
4161
4162
  yo as objectInput,
4162
4163
  to as onCleanMounted,
4163
- vt as onFormFocus,
4164
+ bt as onFormFocus,
4164
4165
  so as persistent,
4165
4166
  Vr as reactiveSet,
4166
4167
  io as registerErrorHandler,
4167
4168
  kr as registerFormValidationRule,
4168
4169
  zr as renderMarkdown,
4169
- ht as renderVNode,
4170
+ gt as renderVNode,
4170
4171
  oo as replaceExisting,
4171
4172
  mo as requiredBooleanInput,
4172
4173
  fo as requiredDateInput,
@@ -4175,25 +4176,25 @@ export {
4175
4176
  vo as requiredObjectInput,
4176
4177
  Ha as requiredStringInput,
4177
4178
  pr as resetPiniaStore,
4178
- yt as safeHtml,
4179
+ wt as safeHtml,
4179
4180
  ao as setMarkdownRouter,
4180
4181
  Fo as showModal,
4181
4182
  wo as stringInput,
4182
- xt as translate,
4183
+ _t as translate,
4183
4184
  S as translateWithDefault,
4184
4185
  Pn as useAlertModal,
4185
4186
  Dn as useConfirmModal,
4186
4187
  ca as useErrorReportModal,
4187
4188
  Xl as useEvent,
4188
- bt as useForm,
4189
+ yt as useForm,
4189
4190
  De as useInputAttrs,
4190
4191
  Ca as useLoadingModal,
4191
- Be as useModal,
4192
+ je as useModal,
4192
4193
  La as usePromptModal,
4193
- St as useSelect,
4194
+ Mt as useSelect,
4194
4195
  Tr as validate,
4195
4196
  Sr as validateType,
4196
4197
  ye as validators,
4197
- gt as variantClasses
4198
+ vt as variantClasses
4198
4199
  };
4199
4200
  //# sourceMappingURL=aerogel-core.js.map