@melodicdev/components 1.0.18 → 1.0.20

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  const O = (e) => typeof e == "string" ? e : typeof e == "symbol" ? e.toString() : e.name;
2
- function gs(e) {
2
+ function fs(e) {
3
3
  return function(t, r, l) {
4
4
  t.params || (t.params = []), t.params[l] = { __injectionToken: O(e) };
5
5
  };
@@ -60,7 +60,7 @@ var ve = class {
60
60
  clearInstance() {
61
61
  return this._instance = void 0, this._resolved = !1, this;
62
62
  }
63
- }, Wr = class {
63
+ }, Gr = class {
64
64
  constructor() {
65
65
  this._bindings = /* @__PURE__ */ new Map(), this._constructionStack = /* @__PURE__ */ new Set();
66
66
  }
@@ -134,7 +134,7 @@ var ve = class {
134
134
  return e.args.length > 0 && (l = l.concat(e.args)), Reflect.construct(r, l);
135
135
  }
136
136
  };
137
- const L = new Wr();
137
+ const L = new Gr();
138
138
  function H(e) {
139
139
  return function(t, r) {
140
140
  const l = `__service_${String(r)}`;
@@ -151,7 +151,7 @@ function H(e) {
151
151
  function ee(e) {
152
152
  return Symbol(e);
153
153
  }
154
- async function bs(e = {}) {
154
+ async function _s(e = {}) {
155
155
  const t = e.devMode ?? !1, r = [];
156
156
  if (t && console.log("[Melodic] Bootstrap starting..."), e.onError) {
157
157
  const o = (n) => {
@@ -197,17 +197,17 @@ async function bs(e = {}) {
197
197
  function Le(e, t) {
198
198
  e.renderInto(t);
199
199
  }
200
- const wr = Symbol("melodic.signal"), Gr = (e) => typeof e == "function" && wr in e;
201
- var Ve = "melodic-styles", Ur = `style[${Ve}], link[rel="stylesheet"][${Ve}]`, ze = [], ge = null;
202
- const Yr = (e) => {
203
- if (Jr()) {
200
+ const wr = Symbol("melodic.signal"), Ur = (e) => typeof e == "function" && wr in e;
201
+ var Ve = "melodic-styles", Yr = `style[${Ve}], link[rel="stylesheet"][${Ve}]`, ze = [], ge = null;
202
+ const Xr = (e) => {
203
+ if (Qr()) {
204
204
  je(e);
205
205
  return;
206
206
  }
207
- ge || (ge = Xr()), ge.then(() => je(e));
207
+ ge || (ge = Jr()), ge.then(() => je(e));
208
208
  };
209
- var Xr = async () => {
210
- const e = document.querySelectorAll(Ur);
209
+ var Jr = async () => {
210
+ const e = document.querySelectorAll(Yr);
211
211
  if (e.length !== 0)
212
212
  for (const t of e) {
213
213
  if (t instanceof HTMLStyleElement) {
@@ -228,9 +228,9 @@ var Xr = async () => {
228
228
  const r = new CSSStyleSheet();
229
229
  r.replaceSync(t), ze.push(r);
230
230
  }
231
- }, Jr = () => ze.length > 0, Qr = class extends HTMLElement {
231
+ }, Qr = () => ze.length > 0, Zr = class extends HTMLElement {
232
232
  constructor(e, t) {
233
- super(), this._unsubscribers = [], this._renderScheduled = !1, this._booleanProperties = /* @__PURE__ */ new Set(), this._meta = e, this._component = t, this._component.elementRef = this, this._root = this.attachShadow({ mode: "open" }), Yr(this._root), this._style = this.renderStyles(), this.observe(), this._component.onInit && this._component.onInit();
233
+ super(), this._unsubscribers = [], this._renderScheduled = !1, this._booleanProperties = /* @__PURE__ */ new Set(), this._meta = e, this._component = t, this._component.elementRef = this, this._root = this.attachShadow({ mode: "open" }), Xr(this._root), this._style = this.renderStyles(), this.observe(), this._component.onInit && this._component.onInit();
234
234
  }
235
235
  get component() {
236
236
  return this._component;
@@ -281,7 +281,7 @@ var Xr = async () => {
281
281
  }
282
282
  const l = e.filter((a) => {
283
283
  const o = this._component[a];
284
- return a.startsWith("_") ? !1 : Gr(o) ? (this.subscribeToSignal(o), !1) : typeof o == "function" ? !1 : a !== "elementRef" && a !== "constructor";
284
+ return a.startsWith("_") ? !1 : Ur(o) ? (this.subscribeToSignal(o), !1) : typeof o == "function" ? !1 : a !== "elementRef" && a !== "constructor";
285
285
  });
286
286
  for (const a of l) {
287
287
  const o = this.getPropertyDescriptor(this._component, a), s = Object.getOwnPropertyDescriptor(this, a)?.value;
@@ -335,7 +335,7 @@ var Xr = async () => {
335
335
  function _(e) {
336
336
  return function(t) {
337
337
  if (customElements.get(e.selector) === void 0) {
338
- const r = class extends Qr {
338
+ const r = class extends Zr {
339
339
  constructor() {
340
340
  const a = [], o = t.params;
341
341
  if (o && Array.isArray(o)) for (const s of o) {
@@ -350,10 +350,10 @@ function _(e) {
350
350
  }
351
351
  };
352
352
  }
353
- function Zr() {
353
+ function el() {
354
354
  return "prod";
355
355
  }
356
- const el = Zr();
356
+ const tl = el();
357
357
  function kr(e, t) {
358
358
  const r = { ...e };
359
359
  for (const l of Object.keys(t)) {
@@ -362,17 +362,17 @@ function kr(e, t) {
362
362
  }
363
363
  return r;
364
364
  }
365
- function fs(e) {
366
- const t = e[el], r = {
365
+ function ys(e) {
366
+ const t = e[tl], r = {
367
367
  ...e.base,
368
368
  ...t
369
369
  };
370
370
  return e.extends ? kr(e.extends, r) : r;
371
371
  }
372
- const tl = ee("APP_CONFIG");
373
- function _s(e) {
372
+ const rl = ee("APP_CONFIG");
373
+ function xs(e) {
374
374
  return (t) => {
375
- t.bindValue(tl, e);
375
+ t.bindValue(rl, e);
376
376
  };
377
377
  }
378
378
  var Ae = class $r extends Error {
@@ -383,15 +383,15 @@ var Ae = class $r extends Error {
383
383
  constructor(t, r, l) {
384
384
  super(t, l, `HTTP_${r.status}`), this.response = r, this.name = "HttpError", Object.setPrototypeOf(this, Cr.prototype);
385
385
  }
386
- }, rl = class Sr extends Ae {
386
+ }, ll = class Sr extends Ae {
387
387
  constructor(t, r) {
388
388
  super(t, r, "NETWORK_ERROR"), this.name = "NetworkError", Object.setPrototypeOf(this, Sr.prototype);
389
389
  }
390
- }, ll = class Er extends Ae {
390
+ }, al = class Er extends Ae {
391
391
  constructor(t, r) {
392
392
  super(t, r, "ABORTED"), this.name = "AbortError", Object.setPrototypeOf(this, Er.prototype);
393
393
  }
394
- }, al = class {
394
+ }, ol = class {
395
395
  constructor() {
396
396
  this._pendingRequests = /* @__PURE__ */ new Map();
397
397
  }
@@ -441,7 +441,7 @@ var Ae = class $r extends Error {
441
441
  }
442
442
  }, Be = class {
443
443
  constructor(e) {
444
- this._requestManager = new al(), this._interceptors = {
444
+ this._requestManager = new ol(), this._interceptors = {
445
445
  request: [],
446
446
  response: []
447
447
  }, this.interceptors = {
@@ -538,7 +538,7 @@ var Ae = class $r extends Error {
538
538
  if (!r.ok) throw new qe(`HTTP Error: ${r.status} ${r.statusText}`, l, e);
539
539
  return l;
540
540
  }).catch((r) => {
541
- throw r instanceof qe ? r : r instanceof Error && r.name === "AbortError" ? new ll("Request aborted", e) : new rl((r instanceof Error ? r.message : "Network error") || "Network error", e);
541
+ throw r instanceof qe ? r : r instanceof Error && r.name === "AbortError" ? new al("Request aborted", e) : new ll((r instanceof Error ? r.message : "Network error") || "Network error", e);
542
542
  });
543
543
  return e.deduplicate === !0 && this._requestManager.addPendingRequest(e, t), await t;
544
544
  }
@@ -605,7 +605,7 @@ var Ae = class $r extends Error {
605
605
  return r.includes("application/json") ? await e.json() : r.includes("text/") ? await e.text() : r.includes("application/octet-stream") || r.includes("image/") ? await e.blob() : await e.text();
606
606
  }
607
607
  };
608
- function ys(e, t) {
608
+ function ws(e, t) {
609
609
  return (r) => {
610
610
  const l = new Be(e);
611
611
  r.bindValue(Be, l), t?.request && t.request.forEach((a) => {
@@ -615,13 +615,13 @@ function ys(e, t) {
615
615
  });
616
616
  };
617
617
  }
618
- function xs(e) {
618
+ function ks(e) {
619
619
  return { canActivate: e };
620
620
  }
621
- function ws(e) {
621
+ function $s(e) {
622
622
  return { canDeactivate: e };
623
623
  }
624
- function ks(e) {
624
+ function Cs(e) {
625
625
  return { resolve: e };
626
626
  }
627
627
  var _e = class {
@@ -677,10 +677,10 @@ var _e = class {
677
677
  return r === "R" ? e.test(t) : r === "F" ? e(t) : e === t;
678
678
  }
679
679
  };
680
- const ol = "melodic:route-context";
681
- var $s = class extends CustomEvent {
680
+ const il = "melodic:route-context";
681
+ var Ss = class extends CustomEvent {
682
682
  constructor(e) {
683
- super(ol, {
683
+ super(il, {
684
684
  bubbles: !1,
685
685
  composed: !0,
686
686
  detail: e
@@ -746,17 +746,17 @@ function ye(e, t, r = "") {
746
746
  redirectTo: l.redirectTo
747
747
  };
748
748
  }
749
- function il(e, t) {
749
+ function sl(e, t) {
750
750
  for (const r of e) {
751
751
  if (r.name === t) return r;
752
752
  if (r.children) {
753
- const l = il(r.children, t);
753
+ const l = sl(r.children, t);
754
754
  if (l) return l;
755
755
  }
756
756
  }
757
757
  return null;
758
758
  }
759
- function sl(e, t, r = {}) {
759
+ function nl(e, t, r = {}) {
760
760
  const l = [];
761
761
  function a(o, s) {
762
762
  for (const n of o) {
@@ -868,9 +868,9 @@ var De = (e, t, r, l) => new PopStateEvent("History", { state: {
868
868
  protocol: window.location.protocol,
869
869
  params: new URLSearchParams(window.location.search),
870
870
  title: r
871
- } }), nl = history.pushState;
871
+ } }), dl = history.pushState;
872
872
  history.pushState = (e, t, r) => {
873
- nl.apply(history, [
873
+ dl.apply(history, [
874
874
  e,
875
875
  t,
876
876
  r
@@ -878,9 +878,9 @@ history.pushState = (e, t, r) => {
878
878
  const l = new CustomEvent("NavigationEvent", { detail: De("push", e, t, r) });
879
879
  window.dispatchEvent(l);
880
880
  };
881
- var dl = history.replaceState;
881
+ var cl = history.replaceState;
882
882
  history.replaceState = (e, t, r) => {
883
- dl.apply(history, [
883
+ cl.apply(history, [
884
884
  e,
885
885
  t,
886
886
  r
@@ -990,7 +990,7 @@ var V = class {
990
990
  };
991
991
  }
992
992
  async navigateByName(t, r = {}, l = {}) {
993
- const a = sl(this._routes, t, r);
993
+ const a = nl(this._routes, t, r);
994
994
  return a ? this.navigate(a, l) : {
995
995
  success: !1,
996
996
  error: `Route with name '${t}' not found`
@@ -1109,27 +1109,27 @@ var W = /* @__PURE__ */ new Map(), Tr = (e) => {
1109
1109
  function he(e, t) {
1110
1110
  W.set(e, t);
1111
1111
  }
1112
- function cl(e) {
1112
+ function ml(e) {
1113
1113
  return Tr(e);
1114
1114
  }
1115
- function Es(e) {
1115
+ function Ts(e) {
1116
1116
  return Tr(e) !== void 0;
1117
1117
  }
1118
- function Rs(e) {
1118
+ function zs(e) {
1119
1119
  return W.delete(e);
1120
1120
  }
1121
- function Ts() {
1121
+ function As() {
1122
1122
  return Array.from(W.keys());
1123
1123
  }
1124
1124
  function oe(e) {
1125
1125
  return typeof e == "object" && e !== null && "__directive" in e;
1126
1126
  }
1127
- var pe = `m${Math.random().toString(36).slice(2, 9)}`, ml = `<!--${pe}-->`, Ie = `__${pe}_`, He = new RegExp(`${Ie}(\\d+)__`, "g"), ie = (e) => `${Ie}${e}__`, Y = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new WeakMap();
1127
+ var pe = `m${Math.random().toString(36).slice(2, 9)}`, ul = `<!--${pe}-->`, Ie = `__${pe}_`, He = new RegExp(`${Ie}(\\d+)__`, "g"), ie = (e) => `${Ie}${e}__`, Y = /* @__PURE__ */ new Map(), Ke = /* @__PURE__ */ new WeakMap();
1128
1128
  function be(e) {
1129
1129
  let t = Ke.get(e);
1130
1130
  return t === void 0 && (t = e.join(pe), Ke.set(e, t)), t;
1131
1131
  }
1132
- var ul = class X {
1132
+ var hl = class X {
1133
1133
  constructor(t, r) {
1134
1134
  this.strings = t, this.values = r;
1135
1135
  }
@@ -1319,7 +1319,7 @@ var ul = class X {
1319
1319
  ___: (r, l) => (t.push({
1320
1320
  type: "node",
1321
1321
  index: r
1322
- }), l + ml)
1322
+ }), l + ul)
1323
1323
  };
1324
1324
  }
1325
1325
  prepareParts(t, r) {
@@ -1586,7 +1586,7 @@ var ul = class X {
1586
1586
  const o = r.node, s = r.index >= 0 ? l : r.staticValue;
1587
1587
  if (r.index >= 0 && r.previousValue === s || r.index < 0 && r.actionCleanup !== void 0) continue;
1588
1588
  r.actionCleanup && (r.actionCleanup(), r.actionCleanup = void 0);
1589
- const n = cl(r.name);
1589
+ const n = ml(r.name);
1590
1590
  if (n) {
1591
1591
  const c = n(o, s, r.name);
1592
1592
  typeof c == "function" ? r.actionCleanup = c : r.actionCleanup = () => {
@@ -1603,7 +1603,7 @@ var ul = class X {
1603
1603
  }
1604
1604
  };
1605
1605
  function i(e, ...t) {
1606
- return new ul(e, t);
1606
+ return new hl(e, t);
1607
1607
  }
1608
1608
  const y = i;
1609
1609
  var We, Ge = "melodic:outlet-register", we = class {
@@ -1883,7 +1883,7 @@ ke = g([_({
1883
1883
  `,
1884
1884
  attributes: ["href", "active-class"]
1885
1885
  })], ke);
1886
- function hl(e, t, r) {
1886
+ function pl(e, t, r) {
1887
1887
  let l;
1888
1888
  if (typeof t == "string") l = { href: t };
1889
1889
  else if (t && typeof t == "object" && "href" in t) l = t;
@@ -1925,7 +1925,7 @@ function hl(e, t, r) {
1925
1925
  e.removeEventListener("click", b), window.removeEventListener("NavigationEvent", x);
1926
1926
  });
1927
1927
  }
1928
- he("routerLink", hl);
1928
+ he("routerLink", pl);
1929
1929
  var zr = null;
1930
1930
  const Ye = (e) => {
1931
1931
  zr = e;
@@ -1989,23 +1989,23 @@ function z(e) {
1989
1989
  r.destroy(), l();
1990
1990
  }, t;
1991
1991
  }
1992
- const Ds = () => () => ({}), Is = (e, t) => ((r) => ({
1992
+ const Ms = () => () => ({}), Ps = (e, t) => ((r) => ({
1993
1993
  type: e,
1994
1994
  payload: r ?? (t ? t() : void 0)
1995
1995
  }));
1996
- function Ms(...e) {
1996
+ function Os(...e) {
1997
1997
  return { reducers: e };
1998
1998
  }
1999
- const Ps = (e) => {
1999
+ const Ns = (e) => {
2000
2000
  const t = {};
2001
2001
  return Object.keys(e).forEach((r) => {
2002
2002
  t[r] = P(e[r]);
2003
2003
  }), t;
2004
- }, Os = (e, t) => ({
2004
+ }, Ls = (e, t) => ({
2005
2005
  action: e(),
2006
2006
  reducer: t
2007
2007
  }), $e = ee("RX_INIT_STATE"), Ce = ee("RX_ACTION_PROVIDERS"), Se = ee("RX_EFFECTS_PROVIDERS"), Ir = ee("RX_STATE_DEBUG");
2008
- var pl = class {
2008
+ var vl = class {
2009
2009
  constructor() {
2010
2010
  this._effects = [];
2011
2011
  }
@@ -2018,7 +2018,7 @@ var pl = class {
2018
2018
  getEffects() {
2019
2019
  return this._effects;
2020
2020
  }
2021
- }, Ns = class extends pl {
2021
+ }, Vs = class extends vl {
2022
2022
  constructor(e, t = { reducers: [] }, r = !1) {
2023
2023
  super(), this._initState = e, this._reducerConfig = t, this._debug = r, this._state = P(e);
2024
2024
  }
@@ -2132,7 +2132,7 @@ g([H(Ce), j("design:type", Object)], F.prototype, "_reducerMap", void 0);
2132
2132
  g([H(Se), j("design:type", Object)], F.prototype, "_effectMap", void 0);
2133
2133
  g([H(Ir), j("design:type", Boolean)], F.prototype, "_debug", void 0);
2134
2134
  F = g([Z(), j("design:paramtypes", [])], F);
2135
- function Vs(e, t, r, l = !1) {
2135
+ function Fs(e, t, r, l = !1) {
2136
2136
  return (a) => {
2137
2137
  a.bindValue($e, e), a.bindValue(Ce, t), a.bindValue(Se, r), a.bindValue(Ir, l), a.bind(F, F, { dependencies: [
2138
2138
  $e,
@@ -2141,7 +2141,7 @@ function Vs(e, t, r, l = !1) {
2141
2141
  ] });
2142
2142
  };
2143
2143
  }
2144
- var Xe = /* @__PURE__ */ new WeakMap(), vl = class Mr {
2144
+ var Xe = /* @__PURE__ */ new WeakMap(), gl = class Mr {
2145
2145
  constructor(t) {
2146
2146
  this._factory = null, this._hasEvents = !1, this._canCompile = !1, this.analyzeAndCompile(t);
2147
2147
  }
@@ -2274,7 +2274,7 @@ function Je(e, t, r, l) {
2274
2274
  }
2275
2275
  }
2276
2276
  if (l.useCompiledPath === void 0 && e.length > 0) {
2277
- const p = r(e[0], 0), b = vl.compile(p.strings);
2277
+ const p = r(e[0], 0), b = gl.compile(p.strings);
2278
2278
  l.useCompiledPath = b.canUseFastPath(), l.useCompiledPath && (l.compiledTemplate = b);
2279
2279
  }
2280
2280
  const n = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map();
@@ -2290,7 +2290,7 @@ function Je(e, t, r, l) {
2290
2290
  isNew: !1
2291
2291
  });
2292
2292
  } else {
2293
- const f = gl(b, p, x, r, l);
2293
+ const f = bl(b, p, x, r, l);
2294
2294
  s.push({
2295
2295
  item: f,
2296
2296
  oldIndex: -1,
@@ -2298,20 +2298,20 @@ function Je(e, t, r, l) {
2298
2298
  });
2299
2299
  }
2300
2300
  }
2301
- for (const p of n.values()) _l(p);
2301
+ for (const p of n.values()) yl(p);
2302
2302
  if (s.length === 0) {
2303
2303
  l.keyToIndex = o, l.items = [];
2304
2304
  return;
2305
2305
  }
2306
- const m = yl(s), u = l.startMarker.parentElement;
2306
+ const m = xl(s), u = l.startMarker.parentElement;
2307
2307
  let h = l.endMarker;
2308
2308
  for (let p = s.length - 1; p >= 0; p--) {
2309
2309
  const b = s[p];
2310
- b.isNew ? bl(b.item, u, h) : m.has(p) || fl(b.item, h), h = b.item.start;
2310
+ b.isNew ? fl(b.item, u, h) : m.has(p) || _l(b.item, h), h = b.item.start;
2311
2311
  }
2312
2312
  l.keyToIndex = o, l.items = s.map((p) => p.item);
2313
2313
  }
2314
- function gl(e, t, r, l, a) {
2314
+ function bl(e, t, r, l, a) {
2315
2315
  const o = l(e, t);
2316
2316
  let s, n;
2317
2317
  if (a.useCompiledPath && a.compiledTemplate) {
@@ -2328,13 +2328,13 @@ function gl(e, t, r, l, a) {
2328
2328
  end: document.createComment("repeat-item-end")
2329
2329
  };
2330
2330
  }
2331
- function bl(e, t, r) {
2331
+ function fl(e, t, r) {
2332
2332
  const l = document.createDocumentFragment();
2333
2333
  l.appendChild(e.start);
2334
2334
  for (const a of e.nodes) l.appendChild(a);
2335
2335
  l.appendChild(e.end), t.insertBefore(l, r);
2336
2336
  }
2337
- function fl(e, t) {
2337
+ function _l(e, t) {
2338
2338
  const r = t.parentNode;
2339
2339
  if (!r) return;
2340
2340
  const l = document.createDocumentFragment();
@@ -2347,7 +2347,7 @@ function fl(e, t) {
2347
2347
  }
2348
2348
  r.insertBefore(l, t);
2349
2349
  }
2350
- function _l(e) {
2350
+ function yl(e) {
2351
2351
  let t = e.start;
2352
2352
  const r = e.end;
2353
2353
  for (; t; ) {
@@ -2356,17 +2356,17 @@ function _l(e) {
2356
2356
  t = l;
2357
2357
  }
2358
2358
  }
2359
- function yl(e) {
2359
+ function xl(e) {
2360
2360
  const t = [], r = [];
2361
2361
  for (let o = 0; o < e.length; o++) e[o].oldIndex >= 0 && (t.push(e[o].oldIndex), r.push(o));
2362
- const l = xl(t), a = /* @__PURE__ */ new Set();
2362
+ const l = wl(t), a = /* @__PURE__ */ new Set();
2363
2363
  for (const o of l) {
2364
2364
  const s = r[o];
2365
2365
  s !== void 0 && a.add(s);
2366
2366
  }
2367
2367
  return a;
2368
2368
  }
2369
- function xl(e) {
2369
+ function wl(e) {
2370
2370
  if (e.length === 0) return [];
2371
2371
  const t = new Array(e.length).fill(-1), r = new Array(e.length).fill(0);
2372
2372
  let l = 0;
@@ -2385,7 +2385,7 @@ function xl(e) {
2385
2385
  a[s] = o, o = t[o];
2386
2386
  return a;
2387
2387
  }
2388
- function js(e, t, r) {
2388
+ function qs(e, t, r) {
2389
2389
  return U((l, a) => {
2390
2390
  if (!a) {
2391
2391
  const o = l.parentNode;
@@ -2406,10 +2406,10 @@ function js(e, t, r) {
2406
2406
  }
2407
2407
  return o.insertBefore(m, n), c;
2408
2408
  }
2409
- return wl(e, t, r, a), a;
2409
+ return kl(e, t, r, a), a;
2410
2410
  });
2411
2411
  }
2412
- function wl(e, t, r, l) {
2412
+ function kl(e, t, r, l) {
2413
2413
  const a = l.keyToItem, o = /* @__PURE__ */ new Map(), s = l.startMarker.parentElement, n = l.endMarker;
2414
2414
  if (a.size === e.length) {
2415
2415
  let u = !0, h = 0;
@@ -2522,7 +2522,7 @@ function G(e) {
2522
2522
  return a;
2523
2523
  });
2524
2524
  }
2525
- function Fs(e) {
2525
+ function Bs(e) {
2526
2526
  return U((t, r) => {
2527
2527
  if (!r) {
2528
2528
  const l = t.parentNode;
@@ -2552,10 +2552,10 @@ function Ze(e, t) {
2552
2552
  for (const o of t.nodes) r.insertBefore(o, t.endMarker);
2553
2553
  t.html = e;
2554
2554
  }
2555
- function kl(e) {
2555
+ function $l(e) {
2556
2556
  return typeof e == "string" ? document.querySelector(e) : e;
2557
2557
  }
2558
- function $l(e) {
2558
+ function Cl(e) {
2559
2559
  return typeof e == "string" ? {
2560
2560
  target: e,
2561
2561
  persist: !1
@@ -2567,12 +2567,12 @@ function $l(e) {
2567
2567
  persist: e.persist ?? !1
2568
2568
  };
2569
2569
  }
2570
- function Cl(e, t, r) {
2570
+ function Sl(e, t, r) {
2571
2571
  if (!t) {
2572
2572
  console.warn("portal directive: value is required");
2573
2573
  return;
2574
2574
  }
2575
- const l = $l(t), a = kl(l.target);
2575
+ const l = Cl(t), a = $l(l.target);
2576
2576
  if (!a) {
2577
2577
  console.warn(`portal directive: target "${l.target}" not found`);
2578
2578
  return;
@@ -2583,14 +2583,14 @@ function Cl(e, t, r) {
2583
2583
  l.persist || e.remove(), o.remove();
2584
2584
  };
2585
2585
  }
2586
- he("portal", Cl);
2587
- var qs = class {
2586
+ he("portal", Sl);
2587
+ var Hs = class {
2588
2588
  constructor() {
2589
2589
  this.__directive = !0;
2590
2590
  }
2591
2591
  };
2592
2592
  const Pr = Symbol("melodic.formControl");
2593
- var Sl = class {
2593
+ var El = class {
2594
2594
  constructor(e, t = {}) {
2595
2595
  this[Pr] = !0, this._validators = [], this._asyncValidators = [], this._touched = P(!1), this._dirty = P(!1), this._pending = P(!1), this._disabled = P(!1), this._asyncValidationId = 0, this.initialValue = e, this.value = P(e), this.errors = P(null), this._validators = t.validators ?? [], this._asyncValidators = t.asyncValidators ?? [], this._disabled.set(t.disabled ?? !1), this.updateOn = t.updateOn ?? "input", this.dirty = z(() => this._dirty()), this.touched = z(() => this._touched()), this.pristine = z(() => !this._dirty()), this.pending = z(() => this._pending()), this.disabled = z(() => this._disabled()), this.valid = z(() => this.errors() === null && !this._pending()), this.invalid = z(() => this.errors() !== null), this.state = z(() => ({
2596
2596
  dirty: this._dirty(),
@@ -2689,10 +2689,10 @@ var Sl = class {
2689
2689
  this.errors.set(t);
2690
2690
  }
2691
2691
  };
2692
- const El = Symbol("melodic.formGroup");
2693
- var Rl = class {
2692
+ const Rl = Symbol("melodic.formGroup");
2693
+ var Tl = class {
2694
2694
  constructor(e, t = {}) {
2695
- this[El] = !0, this._validators = [], this._asyncValidators = [], this._disabled = P(!1), this._controlEffects = [], this.controls = e, this._validators = t.validators ?? [], this._asyncValidators = t.asyncValidators ?? [], this._disabled.set(t.disabled ?? !1), this.value = z(() => this.computeValue()), this.errors = P(null), this.setupControlWatchers(), this.valid = z(() => this.errors() !== null ? !1 : Object.values(this.controls).every((r) => r.valid())), this.invalid = z(() => !this.valid()), this.pending = z(() => Object.values(this.controls).some((r) => r.pending())), this.dirty = z(() => Object.values(this.controls).some((r) => r.dirty())), this.touched = z(() => Object.values(this.controls).some((r) => r.touched())), this.pristine = z(() => !this.dirty()), this.disabled = z(() => this._disabled()), this.runGroupValidation();
2695
+ this[Rl] = !0, this._validators = [], this._asyncValidators = [], this._disabled = P(!1), this._controlEffects = [], this.controls = e, this._validators = t.validators ?? [], this._asyncValidators = t.asyncValidators ?? [], this._disabled.set(t.disabled ?? !1), this.value = z(() => this.computeValue()), this.errors = P(null), this.setupControlWatchers(), this.valid = z(() => this.errors() !== null ? !1 : Object.values(this.controls).every((r) => r.valid())), this.invalid = z(() => !this.valid()), this.pending = z(() => Object.values(this.controls).some((r) => r.pending())), this.dirty = z(() => Object.values(this.controls).some((r) => r.dirty())), this.touched = z(() => Object.values(this.controls).some((r) => r.touched())), this.pristine = z(() => !this.dirty()), this.disabled = z(() => this._disabled()), this.runGroupValidation();
2696
2696
  }
2697
2697
  get(e) {
2698
2698
  return this.controls[e];
@@ -2808,13 +2808,13 @@ var Rl = class {
2808
2808
  this.errors.set(t);
2809
2809
  }
2810
2810
  };
2811
- function Bs(e, t) {
2812
- return new Sl(e, t);
2811
+ function Ks(e, t) {
2812
+ return new El(e, t);
2813
2813
  }
2814
- function Hs(e, t) {
2815
- return new Rl(e, t);
2814
+ function Ws(e, t) {
2815
+ return new Tl(e, t);
2816
2816
  }
2817
- const Ks = {
2817
+ const Gs = {
2818
2818
  required: (e) => e == null || e === "" || Array.isArray(e) && e.length === 0 ? { required: {
2819
2819
  code: "required",
2820
2820
  message: "This field is required"
@@ -2890,22 +2890,22 @@ const Ks = {
2890
2890
  return l;
2891
2891
  }
2892
2892
  };
2893
- function Ws(e, t, r) {
2893
+ function Us(e, t, r) {
2894
2894
  return (l) => t(l) ? null : { [e]: {
2895
2895
  code: e,
2896
2896
  message: typeof r == "function" ? r(l) : r
2897
2897
  } };
2898
2898
  }
2899
- function Gs(e, t, r) {
2899
+ function Ys(e, t, r) {
2900
2900
  return async (l) => await t(l) ? null : { [e]: {
2901
2901
  code: e,
2902
2902
  message: typeof r == "function" ? r(l) : r
2903
2903
  } };
2904
2904
  }
2905
- function Tl(e) {
2905
+ function zl(e) {
2906
2906
  return e !== null && typeof e == "object" && Pr in e;
2907
2907
  }
2908
- function zl(e) {
2908
+ function Al(e) {
2909
2909
  const t = e.tagName.toLowerCase();
2910
2910
  if (t === "select") return "select";
2911
2911
  if (t === "textarea") return "textarea";
@@ -2916,12 +2916,12 @@ function zl(e) {
2916
2916
  }
2917
2917
  return "text";
2918
2918
  }
2919
- function Al(e, t, r) {
2920
- if (!Tl(t)) {
2919
+ function Dl(e, t, r) {
2920
+ if (!zl(t)) {
2921
2921
  console.warn("formControl directive: value must be a FormControl");
2922
2922
  return;
2923
2923
  }
2924
- const l = t, a = zl(e), o = [], s = (f) => {
2924
+ const l = t, a = Al(e), o = [], s = (f) => {
2925
2925
  a === "checkbox" ? e.checked = !!f : a === "radio" ? e.checked = e.value === f : e.value = f != null ? String(f) : "";
2926
2926
  }, n = (f) => {
2927
2927
  f ? e.setAttribute("disabled", "") : e.removeAttribute("disabled");
@@ -2951,8 +2951,8 @@ function Al(e, t, r) {
2951
2951
  e.removeEventListener(x, m), e.removeEventListener("blur", u), e.removeAttribute("data-form-control"), o.forEach((f) => f());
2952
2952
  };
2953
2953
  }
2954
- he("formControl", Al);
2955
- const Dl = {
2954
+ he("formControl", Dl);
2955
+ const Il = {
2956
2956
  "--ml-white": "#ffffff",
2957
2957
  "--ml-black": "#000000",
2958
2958
  "--ml-gray-25": "#fcfcfd",
@@ -3039,7 +3039,7 @@ const Dl = {
3039
3039
  "--ml-purple-800": "#53389e",
3040
3040
  "--ml-purple-900": "#42307d",
3041
3041
  "--ml-purple-950": "#2c1c5f"
3042
- }, Il = {
3042
+ }, Ml = {
3043
3043
  "--ml-color-primary": "var(--ml-blue-600)",
3044
3044
  "--ml-color-primary-hover": "var(--ml-blue-700)",
3045
3045
  "--ml-color-primary-active": "var(--ml-blue-800)",
@@ -3117,7 +3117,7 @@ const Dl = {
3117
3117
  "--ml-tooltip-bg": "var(--ml-gray-900)",
3118
3118
  "--ml-tooltip-text": "var(--ml-white)",
3119
3119
  "--ml-card-footer-bg": "var(--ml-gray-50)"
3120
- }, Ml = {
3120
+ }, Pl = {
3121
3121
  "--ml-space-0": "0",
3122
3122
  "--ml-space-px": "1px",
3123
3123
  "--ml-space-0-5": "0.125rem",
@@ -3153,7 +3153,7 @@ const Dl = {
3153
3153
  "--ml-space-72": "18rem",
3154
3154
  "--ml-space-80": "20rem",
3155
3155
  "--ml-space-96": "24rem"
3156
- }, Pl = {
3156
+ }, Ol = {
3157
3157
  "--ml-font-sans": "system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', 'Noto Color Emoji'",
3158
3158
  "--ml-font-serif": "Georgia, Cambria, 'Times New Roman', Times, serif",
3159
3159
  "--ml-font-mono": "ui-monospace, SFMono-Regular, 'SF Mono', Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New', monospace",
@@ -3191,7 +3191,7 @@ const Dl = {
3191
3191
  "--ml-tracking-wide": "0.025em",
3192
3192
  "--ml-tracking-wider": "0.05em",
3193
3193
  "--ml-tracking-widest": "0.1em"
3194
- }, Ol = {
3194
+ }, Nl = {
3195
3195
  "--ml-shadow-none": "none",
3196
3196
  "--ml-shadow-xs": "0 1px 2px 0 rgb(16 24 40 / 0.05)",
3197
3197
  "--ml-shadow-sm": "0 1px 2px 0 rgb(16 24 40 / 0.06), 0 1px 3px 0 rgb(16 24 40 / 0.1)",
@@ -3216,7 +3216,7 @@ const Dl = {
3216
3216
  "--ml-shadow-primary": "0 1px 2px 0 rgb(21 94 239 / 0.05)",
3217
3217
  "--ml-shadow-success": "0 1px 2px 0 rgb(7 148 85 / 0.05)",
3218
3218
  "--ml-shadow-danger": "0 1px 2px 0 rgb(217 45 32 / 0.05)"
3219
- }, Nl = {
3219
+ }, Ll = {
3220
3220
  "--ml-radius-none": "0",
3221
3221
  "--ml-radius-xxs": "0.125rem",
3222
3222
  "--ml-radius-xs": "0.25rem",
@@ -3234,7 +3234,7 @@ const Dl = {
3234
3234
  "--ml-border-2": "2px",
3235
3235
  "--ml-border-4": "4px",
3236
3236
  "--ml-border-8": "8px"
3237
- }, Ll = {
3237
+ }, Vl = {
3238
3238
  "--ml-duration-0": "0ms",
3239
3239
  "--ml-duration-75": "75ms",
3240
3240
  "--ml-duration-100": "100ms",
@@ -3255,35 +3255,35 @@ const Dl = {
3255
3255
  "--ml-transition-opacity": "opacity var(--ml-duration-150) var(--ml-ease-in-out)",
3256
3256
  "--ml-transition-shadow": "box-shadow var(--ml-duration-150) var(--ml-ease-in-out)",
3257
3257
  "--ml-transition-transform": "transform var(--ml-duration-150) var(--ml-ease-in-out)"
3258
- }, Vl = {
3258
+ }, jl = {
3259
3259
  "--ml-screen-xs": "320px",
3260
3260
  "--ml-screen-sm": "640px",
3261
3261
  "--ml-screen-md": "768px",
3262
3262
  "--ml-screen-lg": "1024px",
3263
3263
  "--ml-screen-xl": "1280px",
3264
3264
  "--ml-screen-2xl": "1536px"
3265
- }, Us = {
3265
+ }, Xs = {
3266
3266
  xs: 320,
3267
3267
  sm: 640,
3268
3268
  md: 768,
3269
3269
  lg: 1024,
3270
3270
  xl: 1280,
3271
3271
  "2xl": 1536
3272
- }, jl = {
3273
- ...Dl,
3272
+ }, Fl = {
3274
3273
  ...Il,
3275
3274
  ...Ml,
3276
3275
  ...Pl,
3277
3276
  ...Ol,
3278
3277
  ...Nl,
3279
3278
  ...Ll,
3280
- ...Vl
3279
+ ...Vl,
3280
+ ...jl
3281
3281
  };
3282
- function Fl(e) {
3282
+ function ql(e) {
3283
3283
  return Object.entries(e).map(([t, r]) => `${t}: ${r};`).join(`
3284
3284
  `);
3285
3285
  }
3286
- const ql = {
3286
+ const Bl = {
3287
3287
  "--ml-color-background": "var(--ml-white)",
3288
3288
  "--ml-color-surface": "var(--ml-white)",
3289
3289
  "--ml-color-surface-raised": "var(--ml-gray-50)",
@@ -3297,8 +3297,8 @@ const ql = {
3297
3297
  "--ml-color-border": "var(--ml-gray-200)",
3298
3298
  "--ml-color-border-strong": "var(--ml-gray-300)",
3299
3299
  "--ml-color-border-muted": "var(--ml-gray-100)"
3300
- }, Ys = `:root, [data-theme="light"] {
3301
- ${Object.entries(ql).map(([e, t]) => `${e}: ${t};`).join(`
3300
+ }, Js = `:root, [data-theme="light"] {
3301
+ ${Object.entries(Bl).map(([e, t]) => `${e}: ${t};`).join(`
3302
3302
  `)}
3303
3303
 
3304
3304
  color-scheme: light;
@@ -3371,7 +3371,7 @@ const ql = {
3371
3371
  "--ml-tooltip-bg": "var(--ml-gray-100)",
3372
3372
  "--ml-tooltip-text": "var(--ml-gray-900)",
3373
3373
  "--ml-card-footer-bg": "var(--ml-gray-800)"
3374
- }, Xs = `[data-theme="dark"] {
3374
+ }, Qs = `[data-theme="dark"] {
3375
3375
  ${Object.entries(et).map(([e, t]) => `${e}: ${t};`).join(`
3376
3376
  `)}
3377
3377
 
@@ -3385,20 +3385,20 @@ const ql = {
3385
3385
 
3386
3386
  color-scheme: dark;
3387
3387
  }
3388
- }`, Js = `:root {
3389
- ${Fl(jl)}
3388
+ }`, Zs = `:root {
3389
+ ${ql(Fl)}
3390
3390
 
3391
3391
  /* Default to light color scheme */
3392
3392
  color-scheme: light;
3393
3393
  }`;
3394
3394
  var ce = "system", Ee = /* @__PURE__ */ new Set(), ne = null;
3395
- function Qs() {
3395
+ function en() {
3396
3396
  return ce;
3397
3397
  }
3398
- function Bl() {
3398
+ function Hl() {
3399
3399
  return ce === "system" ? window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light" : ce;
3400
3400
  }
3401
- function Hl(e) {
3401
+ function Kl(e) {
3402
3402
  if (ne && (ne(), ne = null), ce = e, e === "system") {
3403
3403
  const t = window.matchMedia("(prefers-color-scheme: dark)"), r = () => {
3404
3404
  const a = t.matches ? "dark" : "light";
@@ -3410,14 +3410,14 @@ function Hl(e) {
3410
3410
  } else
3411
3411
  document.documentElement.setAttribute("data-theme", e), fe(e, e);
3412
3412
  }
3413
- function Zs(e) {
3413
+ function tn(e) {
3414
3414
  return Ee.add(e), () => Ee.delete(e);
3415
3415
  }
3416
3416
  function fe(e, t) {
3417
3417
  Ee.forEach((r) => r(e, t));
3418
3418
  }
3419
- function en() {
3420
- Hl(Bl() === "light" ? "dark" : "light");
3419
+ function rn() {
3420
+ Kl(Hl() === "light" ? "dark" : "light");
3421
3421
  }
3422
3422
  function Or(e, t) {
3423
3423
  return `[data-theme="${e}"] {
@@ -3425,17 +3425,17 @@ function Or(e, t) {
3425
3425
  `)}
3426
3426
  }`;
3427
3427
  }
3428
- function tn(e, t) {
3428
+ function ln(e, t) {
3429
3429
  const r = Or(e, t), l = document.createElement("style");
3430
3430
  l.id = `ml-theme-${e}`, l.textContent = r;
3431
3431
  const a = document.getElementById(l.id);
3432
3432
  return a && a.remove(), document.head.appendChild(l), l;
3433
3433
  }
3434
- function rn(e, t) {
3434
+ function an(e, t) {
3435
3435
  const r = {};
3436
3436
  return t.primary && (r["--ml-color-primary"] = t.primary), t.secondary && (r["--ml-color-secondary"] = t.secondary), t.success && (r["--ml-color-success"] = t.success), t.warning && (r["--ml-color-warning"] = t.warning), t.danger && (r["--ml-color-danger"] = t.danger), Or(e, r);
3437
3437
  }
3438
- function Kl(e, t, r) {
3438
+ function Wl(e, t, r) {
3439
3439
  const [l, a = "center"] = r.split("-");
3440
3440
  let o = 0, s = 0;
3441
3441
  switch (l) {
@@ -3480,7 +3480,7 @@ function Kl(e, t, r) {
3480
3480
  };
3481
3481
  }
3482
3482
  function te(e, t, r = {}) {
3483
- const { placement: l = "bottom", middleware: a = [] } = r, o = e.getBoundingClientRect(), s = t.getBoundingClientRect(), { x: n, y: c } = Kl(o, s, l);
3483
+ const { placement: l = "bottom", middleware: a = [] } = r, o = e.getBoundingClientRect(), s = t.getBoundingClientRect(), { x: n, y: c } = Wl(o, s, l);
3484
3484
  let m = {
3485
3485
  x: n,
3486
3486
  y: c,
@@ -3512,7 +3512,7 @@ function te(e, t, r = {}) {
3512
3512
  middlewareData: m.middlewareData
3513
3513
  };
3514
3514
  }
3515
- function Wl(e) {
3515
+ function Gl(e) {
3516
3516
  const t = {
3517
3517
  top: "bottom",
3518
3518
  bottom: "top",
@@ -3524,7 +3524,7 @@ function Wl(e) {
3524
3524
  function me(e) {
3525
3525
  return e.split("-")[0];
3526
3526
  }
3527
- function Gl(e) {
3527
+ function Ul(e) {
3528
3528
  const t = [];
3529
3529
  let r = e;
3530
3530
  for (; r; ) {
@@ -3543,7 +3543,7 @@ function Gl(e) {
3543
3543
  function Me(e, t, r, l = {}) {
3544
3544
  const { ancestorScroll: a = !0, ancestorResize: o = !0, elementResize: s = !0, animationFrame: n = !1 } = l, c = [];
3545
3545
  if (a) {
3546
- const m = Gl(e);
3546
+ const m = Ul(e);
3547
3547
  for (const u of m)
3548
3548
  u.addEventListener("scroll", r, { passive: !0 }), c.push(() => u.removeEventListener("scroll", r));
3549
3549
  window.addEventListener("scroll", r, { passive: !0 }), c.push(() => window.removeEventListener("scroll", r));
@@ -3628,9 +3628,9 @@ function le(e = {}) {
3628
3628
  fn(r) {
3629
3629
  const { x: l, y: a, placement: o, rects: s } = r, n = me(o);
3630
3630
  if (!rt(tt(l, a, s.floating, t), n)) return;
3631
- const c = Wl(o), m = e.fallbackPlacements ?? [c];
3631
+ const c = Gl(o), m = e.fallbackPlacements ?? [c];
3632
3632
  for (const u of m) {
3633
- const h = Ul(s.reference, s.floating, u);
3633
+ const h = Yl(s.reference, s.floating, u);
3634
3634
  if (!rt(tt(h.x, h.y, s.floating, t), me(u))) return {
3635
3635
  x: h.x,
3636
3636
  y: h.y,
@@ -3640,7 +3640,7 @@ function le(e = {}) {
3640
3640
  }
3641
3641
  };
3642
3642
  }
3643
- function Ul(e, t, r) {
3643
+ function Yl(e, t, r) {
3644
3644
  const [l, a = "center"] = r.split("-");
3645
3645
  let o = 0, s = 0;
3646
3646
  switch (l) {
@@ -3733,7 +3733,7 @@ function Nr(e) {
3733
3733
  }
3734
3734
  };
3735
3735
  }
3736
- var Yl = [
3736
+ var Xl = [
3737
3737
  "a[href]",
3738
3738
  "area[href]",
3739
3739
  'input:not([disabled]):not([type="hidden"])',
@@ -3747,24 +3747,24 @@ var Yl = [
3747
3747
  '[tabindex]:not([tabindex="-1"])'
3748
3748
  ].join(", ");
3749
3749
  function Pe(e) {
3750
- return Array.from(e.querySelectorAll(Yl)).filter((t) => !(t.offsetParent === null && t.style.position !== "fixed" || getComputedStyle(t).visibility === "hidden"));
3750
+ return Array.from(e.querySelectorAll(Xl)).filter((t) => !(t.offsetParent === null && t.style.position !== "fixed" || getComputedStyle(t).visibility === "hidden"));
3751
3751
  }
3752
3752
  function Lr(e) {
3753
3753
  return Pe(e)[0] ?? null;
3754
3754
  }
3755
- function Xl(e) {
3755
+ function Jl(e) {
3756
3756
  const t = Pe(e);
3757
3757
  return t[t.length - 1] ?? null;
3758
3758
  }
3759
- function ln(e) {
3759
+ function on(e) {
3760
3760
  const t = Lr(e);
3761
3761
  return t ? (t.focus(), !0) : !1;
3762
3762
  }
3763
- function an(e) {
3764
- const t = Xl(e);
3763
+ function sn(e) {
3764
+ const t = Jl(e);
3765
3765
  return t ? (t.focus(), !0) : !1;
3766
3766
  }
3767
- function Jl(e, t = {}) {
3767
+ function Ql(e, t = {}) {
3768
3768
  const { initialFocus: r = null, returnFocus: l = null, autoFocus: a = !0 } = t;
3769
3769
  let o = !1, s = null;
3770
3770
  function n(h) {
@@ -3798,8 +3798,8 @@ function Jl(e, t = {}) {
3798
3798
  isActive: u
3799
3799
  };
3800
3800
  }
3801
- function on(e, t) {
3802
- const r = Jl(e, t);
3801
+ function nn(e, t) {
3802
+ const r = Ql(e, t);
3803
3803
  return r.activate(), () => r.deactivate();
3804
3804
  }
3805
3805
  var J = !1, lt = !1;
@@ -3812,10 +3812,10 @@ function Vr() {
3812
3812
  J = !1;
3813
3813
  }, !0));
3814
3814
  }
3815
- function sn() {
3815
+ function dn() {
3816
3816
  return Vr(), J;
3817
3817
  }
3818
- function nn(e, t = "focus-visible") {
3818
+ function cn(e, t = "focus-visible") {
3819
3819
  Vr();
3820
3820
  function r() {
3821
3821
  J && e.classList.add(t);
@@ -3828,7 +3828,7 @@ function nn(e, t = "focus-visible") {
3828
3828
  };
3829
3829
  }
3830
3830
  var I = null;
3831
- function Ql() {
3831
+ function Zl() {
3832
3832
  return I && document.body.contains(I) || (I = document.createElement("div"), I.id = "ml-live-region", I.setAttribute("aria-live", "polite"), I.setAttribute("aria-atomic", "true"), I.setAttribute("role", "status"), Object.assign(I.style, {
3833
3833
  position: "absolute",
3834
3834
  width: "1px",
@@ -3841,13 +3841,13 @@ function Ql() {
3841
3841
  border: "0"
3842
3842
  }), document.body.appendChild(I)), I;
3843
3843
  }
3844
- function dn(e, t = "polite") {
3845
- const r = Ql();
3844
+ function mn(e, t = "polite") {
3845
+ const r = Zl();
3846
3846
  r.setAttribute("aria-live", t), r.textContent = "", setTimeout(() => {
3847
3847
  r.textContent = e;
3848
3848
  }, 50);
3849
3849
  }
3850
- function cn(e = {}) {
3850
+ function un(e = {}) {
3851
3851
  const { id: t, priority: r = "polite", atomic: l = !0 } = e, a = document.createElement("div");
3852
3852
  return t && (a.id = t), a.setAttribute("aria-live", r), a.setAttribute("aria-atomic", l.toString()), a.setAttribute("role", "status"), Object.assign(a.style, {
3853
3853
  position: "absolute",
@@ -3861,7 +3861,7 @@ function cn(e = {}) {
3861
3861
  border: "0"
3862
3862
  }), a;
3863
3863
  }
3864
- const mn = `
3864
+ const hn = `
3865
3865
  *,
3866
3866
  *::before,
3867
3867
  *::after {
@@ -3906,7 +3906,7 @@ const mn = `
3906
3906
  [hidden] {
3907
3907
  display: none !important;
3908
3908
  }
3909
- `, un = `
3909
+ `, pn = `
3910
3910
  .visually-hidden {
3911
3911
  position: absolute;
3912
3912
  width: 1px;
@@ -3929,7 +3929,7 @@ const mn = `
3929
3929
  clip: auto;
3930
3930
  white-space: normal;
3931
3931
  }
3932
- `, hn = `
3932
+ `, vn = `
3933
3933
  :host {
3934
3934
  /* Inherit font from parent by default */
3935
3935
  font-family: var(--ml-font-sans);
@@ -3961,7 +3961,7 @@ const mn = `
3961
3961
  display: none !important;
3962
3962
  }
3963
3963
  `;
3964
- function pn(e, t) {
3964
+ function gn(e, t) {
3965
3965
  function r(l) {
3966
3966
  const a = l.target;
3967
3967
  e.contains(a) || t(l);
@@ -4001,24 +4001,24 @@ var jr = class {
4001
4001
  l(Math.max(0, Math.floor(n / c) - o), Math.min(s, Math.ceil((n + e) / c) + o));
4002
4002
  }
4003
4003
  };
4004
- const Zl = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, function(e) {
4004
+ const ea = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, function(e) {
4005
4005
  const t = Math.trunc(Math.random() * 16);
4006
4006
  return (e === "x" ? t : t & 3 | 8).toString(16);
4007
4007
  });
4008
- function ea(e) {
4008
+ function ta(e) {
4009
4009
  return typeof e == "string" ? { content: e } : e && typeof e == "object" && "content" in e ? e : { content: String(e ?? "") };
4010
4010
  }
4011
- function ta(e, t) {
4011
+ function ra(e, t) {
4012
4012
  if (!t) return;
4013
- const { content: r, placement: l } = ea(t);
4013
+ const { content: r, placement: l } = ta(t);
4014
4014
  if (!r) return;
4015
4015
  const a = document.createElement("ml-tooltip");
4016
4016
  return a.setAttribute("content", r), l && a.setAttribute("placement", l), e.parentNode?.insertBefore(a, e), a.appendChild(e), () => {
4017
4017
  a.parentNode?.insertBefore(e, a), a.remove();
4018
4018
  };
4019
4019
  }
4020
- he("tooltip", ta);
4021
- function ra(e) {
4020
+ he("tooltip", ra);
4021
+ function la(e) {
4022
4022
  return i`
4023
4023
  <div
4024
4024
  class=${v({
@@ -4042,7 +4042,7 @@ function ra(e) {
4042
4042
  </div>
4043
4043
  `;
4044
4044
  }
4045
- const la = () => y`
4045
+ const aa = () => y`
4046
4046
  :host {
4047
4047
  display: inline-flex;
4048
4048
  align-items: center;
@@ -4120,11 +4120,11 @@ var at = class {
4120
4120
  };
4121
4121
  at = g([_({
4122
4122
  selector: "ml-spinner",
4123
- template: ra,
4124
- styles: la,
4123
+ template: la,
4124
+ styles: aa,
4125
4125
  attributes: ["size", "label"]
4126
4126
  })], at);
4127
- function aa(e) {
4127
+ function oa(e) {
4128
4128
  return i`
4129
4129
  <button
4130
4130
  type="${e.type}"
@@ -4154,7 +4154,7 @@ function aa(e) {
4154
4154
  </button>
4155
4155
  `;
4156
4156
  }
4157
- const oa = () => y`
4157
+ const ia = () => y`
4158
4158
  :host {
4159
4159
  display: inline-block;
4160
4160
  }
@@ -4402,8 +4402,8 @@ var ot = class {
4402
4402
  };
4403
4403
  ot = g([_({
4404
4404
  selector: "ml-button",
4405
- template: aa,
4406
- styles: oa,
4405
+ template: oa,
4406
+ styles: ia,
4407
4407
  attributes: [
4408
4408
  "variant",
4409
4409
  "size",
@@ -4413,7 +4413,7 @@ ot = g([_({
4413
4413
  "full-width"
4414
4414
  ]
4415
4415
  })], ot);
4416
- function ia(e) {
4416
+ function sa(e) {
4417
4417
  return i`
4418
4418
  <div
4419
4419
  class=${v({
@@ -4426,7 +4426,7 @@ function ia(e) {
4426
4426
  </div>
4427
4427
  `;
4428
4428
  }
4429
- const sa = () => y`
4429
+ const na = () => y`
4430
4430
  :host {
4431
4431
  display: inline-flex;
4432
4432
  }
@@ -4482,8 +4482,8 @@ var it = class {
4482
4482
  };
4483
4483
  it = g([_({
4484
4484
  selector: "ml-button-group",
4485
- template: ia,
4486
- styles: sa,
4485
+ template: sa,
4486
+ styles: na,
4487
4487
  attributes: [
4488
4488
  "value",
4489
4489
  "variant",
@@ -4492,7 +4492,7 @@ it = g([_({
4492
4492
  "multiple"
4493
4493
  ]
4494
4494
  })], it);
4495
- function na(e) {
4495
+ function da(e) {
4496
4496
  return i`
4497
4497
  <button
4498
4498
  type="button"
@@ -4506,7 +4506,7 @@ function na(e) {
4506
4506
  </button>
4507
4507
  `;
4508
4508
  }
4509
- const da = () => y`
4509
+ const ca = () => y`
4510
4510
  :host {
4511
4511
  display: inline-flex;
4512
4512
  }
@@ -4630,8 +4630,8 @@ var st = class {
4630
4630
  };
4631
4631
  st = g([_({
4632
4632
  selector: "ml-button-group-item",
4633
- template: na,
4634
- styles: da,
4633
+ template: da,
4634
+ styles: ca,
4635
4635
  attributes: [
4636
4636
  "value",
4637
4637
  "icon",
@@ -4641,7 +4641,7 @@ st = g([_({
4641
4641
  "group-size"
4642
4642
  ]
4643
4643
  })], st);
4644
- function ca(e) {
4644
+ function ma(e) {
4645
4645
  return i`
4646
4646
  <div
4647
4647
  class=${v({
@@ -4686,7 +4686,7 @@ function ca(e) {
4686
4686
  </div>
4687
4687
  `;
4688
4688
  }
4689
- const ma = () => y`
4689
+ const ua = () => y`
4690
4690
  :host {
4691
4691
  display: block;
4692
4692
  width: 100%;
@@ -4848,8 +4848,8 @@ var nt = class {
4848
4848
  };
4849
4849
  nt = g([_({
4850
4850
  selector: "ml-input",
4851
- template: ca,
4852
- styles: ma,
4851
+ template: ma,
4852
+ styles: ua,
4853
4853
  attributes: [
4854
4854
  "type",
4855
4855
  "value",
@@ -4864,7 +4864,7 @@ nt = g([_({
4864
4864
  "autocomplete"
4865
4865
  ]
4866
4866
  })], nt);
4867
- function ua(e) {
4867
+ function ha(e) {
4868
4868
  return i`
4869
4869
  <div
4870
4870
  class=${v({
@@ -4911,7 +4911,7 @@ function ua(e) {
4911
4911
  </div>
4912
4912
  `;
4913
4913
  }
4914
- const ha = () => y`
4914
+ const pa = () => y`
4915
4915
  :host {
4916
4916
  display: block;
4917
4917
  width: 100%;
@@ -5056,8 +5056,8 @@ var dt = class {
5056
5056
  };
5057
5057
  dt = g([_({
5058
5058
  selector: "ml-textarea",
5059
- template: ua,
5060
- styles: ha,
5059
+ template: ha,
5060
+ styles: pa,
5061
5061
  attributes: [
5062
5062
  "value",
5063
5063
  "placeholder",
@@ -5073,7 +5073,7 @@ dt = g([_({
5073
5073
  "resize"
5074
5074
  ]
5075
5075
  })], dt);
5076
- function pa(e) {
5076
+ function va(e) {
5077
5077
  return i`
5078
5078
  <label
5079
5079
  class=${v({
@@ -5109,7 +5109,7 @@ function pa(e) {
5109
5109
  ${d(!!e.hint, () => i`<span class="ml-checkbox__hint">${e.hint}</span>`)}
5110
5110
  `;
5111
5111
  }
5112
- const va = () => y`
5112
+ const ga = () => y`
5113
5113
  :host {
5114
5114
  display: block;
5115
5115
  }
@@ -5241,8 +5241,8 @@ var ct = class {
5241
5241
  };
5242
5242
  ct = g([_({
5243
5243
  selector: "ml-checkbox",
5244
- template: pa,
5245
- styles: va,
5244
+ template: va,
5245
+ styles: ga,
5246
5246
  attributes: [
5247
5247
  "label",
5248
5248
  "hint",
@@ -5252,7 +5252,7 @@ ct = g([_({
5252
5252
  "disabled"
5253
5253
  ]
5254
5254
  })], ct);
5255
- function ga(e) {
5255
+ function ba(e) {
5256
5256
  return i`
5257
5257
  <label
5258
5258
  class=${v({
@@ -5279,7 +5279,7 @@ function ga(e) {
5279
5279
  ${d(!!e.hint, () => i`<span class="ml-radio__hint">${e.hint}</span>`)}
5280
5280
  `;
5281
5281
  }
5282
- const ba = () => y`
5282
+ const fa = () => y`
5283
5283
  :host {
5284
5284
  display: block;
5285
5285
  }
@@ -5422,8 +5422,8 @@ var mt = class {
5422
5422
  };
5423
5423
  mt = g([_({
5424
5424
  selector: "ml-radio",
5425
- template: ga,
5426
- styles: ba,
5425
+ template: ba,
5426
+ styles: fa,
5427
5427
  attributes: [
5428
5428
  "name",
5429
5429
  "value",
@@ -5434,7 +5434,7 @@ mt = g([_({
5434
5434
  "disabled"
5435
5435
  ]
5436
5436
  })], mt);
5437
- function fa(e) {
5437
+ function _a(e) {
5438
5438
  return i`
5439
5439
  <fieldset
5440
5440
  class=${v({
@@ -5461,7 +5461,7 @@ function fa(e) {
5461
5461
  </fieldset>
5462
5462
  `;
5463
5463
  }
5464
- const _a = () => y`
5464
+ const ya = () => y`
5465
5465
  :host {
5466
5466
  display: block;
5467
5467
  }
@@ -5551,8 +5551,8 @@ var ut = class {
5551
5551
  };
5552
5552
  ut = g([_({
5553
5553
  selector: "ml-radio-group",
5554
- template: fa,
5555
- styles: _a,
5554
+ template: _a,
5555
+ styles: ya,
5556
5556
  attributes: [
5557
5557
  "label",
5558
5558
  "name",
@@ -5564,7 +5564,7 @@ ut = g([_({
5564
5564
  "required"
5565
5565
  ]
5566
5566
  })], ut);
5567
- function ya(e) {
5567
+ function xa(e) {
5568
5568
  return i`
5569
5569
  <fieldset
5570
5570
  class=${v({
@@ -5593,7 +5593,7 @@ function ya(e) {
5593
5593
  </fieldset>
5594
5594
  `;
5595
5595
  }
5596
- const xa = () => y`
5596
+ const wa = () => y`
5597
5597
  :host {
5598
5598
  display: block;
5599
5599
  }
@@ -5694,8 +5694,8 @@ var ht = class {
5694
5694
  };
5695
5695
  ht = g([_({
5696
5696
  selector: "ml-radio-card-group",
5697
- template: ya,
5698
- styles: xa,
5697
+ template: xa,
5698
+ styles: wa,
5699
5699
  attributes: [
5700
5700
  "value",
5701
5701
  "label",
@@ -5706,7 +5706,7 @@ ht = g([_({
5706
5706
  "required"
5707
5707
  ]
5708
5708
  })], ht);
5709
- function wa(e) {
5709
+ function ka(e) {
5710
5710
  return i`
5711
5711
  <div
5712
5712
  class=${v({
@@ -5746,7 +5746,7 @@ function wa(e) {
5746
5746
  </div>
5747
5747
  `;
5748
5748
  }
5749
- const ka = () => y`
5749
+ const $a = () => y`
5750
5750
  :host {
5751
5751
  display: block;
5752
5752
  }
@@ -5899,8 +5899,8 @@ var pt = class {
5899
5899
  };
5900
5900
  pt = g([_({
5901
5901
  selector: "ml-radio-card",
5902
- template: wa,
5903
- styles: ka,
5902
+ template: ka,
5903
+ styles: $a,
5904
5904
  attributes: [
5905
5905
  "value",
5906
5906
  "label",
@@ -5912,7 +5912,7 @@ pt = g([_({
5912
5912
  "group-disabled"
5913
5913
  ]
5914
5914
  })], pt);
5915
- function $a(e) {
5915
+ function Ca(e) {
5916
5916
  return i`
5917
5917
  <label
5918
5918
  class=${v({
@@ -5931,7 +5931,7 @@ function $a(e) {
5931
5931
  ${d(!!e.hint, () => i`<span class="ml-toggle__hint">${e.hint}</span>`)}
5932
5932
  `;
5933
5933
  }
5934
- const Ca = () => y`
5934
+ const Sa = () => y`
5935
5935
  :host {
5936
5936
  display: block;
5937
5937
  }
@@ -6078,8 +6078,8 @@ var vt = class {
6078
6078
  };
6079
6079
  vt = g([_({
6080
6080
  selector: "ml-toggle",
6081
- template: $a,
6082
- styles: Ca,
6081
+ template: Ca,
6082
+ styles: Sa,
6083
6083
  attributes: [
6084
6084
  "label",
6085
6085
  "hint",
@@ -6088,7 +6088,7 @@ vt = g([_({
6088
6088
  "disabled"
6089
6089
  ]
6090
6090
  })], vt);
6091
- function Sa(e) {
6091
+ function Ea(e) {
6092
6092
  return i`
6093
6093
  <div
6094
6094
  class=${v({
@@ -6119,7 +6119,7 @@ function Sa(e) {
6119
6119
  @click=${e.toggle}
6120
6120
  >
6121
6121
  <span class="ml-select__value">
6122
- ${d(e.multiple, () => Ra(e), () => Ea(e))}
6122
+ ${d(e.multiple, () => Ta(e), () => Ra(e))}
6123
6123
  </span>
6124
6124
  <ml-icon icon="caret-down" size="sm" format="regular" class="ml-select__chevron"></ml-icon>
6125
6125
  </div>
@@ -6130,7 +6130,7 @@ function Sa(e) {
6130
6130
  popover="auto"
6131
6131
  aria-multiselectable=${e.multiple || !1}
6132
6132
  >
6133
- ${e.filteredOptions.length ? $(e.filteredOptions, (t) => `${t.value}-${e.multiple ? e.values.includes(t.value) : e.value === t.value}`, (t, r) => Ta(e, t, r)) : i`<div class="ml-select__empty">No results found</div>`}
6133
+ ${e.filteredOptions.length ? $(e.filteredOptions, (t) => `${t.value}-${e.multiple ? e.values.includes(t.value) : e.value === t.value}`, (t, r) => za(e, t, r)) : i`<div class="ml-select__empty">No results found</div>`}
6134
6134
  </div>
6135
6135
  </div>
6136
6136
 
@@ -6138,13 +6138,13 @@ function Sa(e) {
6138
6138
  </div>
6139
6139
  `;
6140
6140
  }
6141
- function Ea(e) {
6141
+ function Ra(e) {
6142
6142
  return i`
6143
6143
  ${d(!!e.selectedOption?.icon, () => i`<ml-icon icon="${e.selectedOption?.icon ?? ""}" size="sm" class="ml-select__value-icon"></ml-icon>`)}
6144
6144
  ${e.displayText ? i`<span class="ml-select__value-text">${e.displayText}</span>` : i`<span class="ml-select__placeholder">${e.placeholder}</span>`}
6145
6145
  `;
6146
6146
  }
6147
- function Ra(e) {
6147
+ function Ta(e) {
6148
6148
  return i`
6149
6149
  <ml-icon icon="magnifying-glass" size="sm" format="regular" class="ml-select__search-icon"></ml-icon>
6150
6150
  <span class="ml-select__tags">
@@ -6169,7 +6169,7 @@ function Ra(e) {
6169
6169
  />
6170
6170
  `;
6171
6171
  }
6172
- function Ta(e, t, r) {
6172
+ function za(e, t, r) {
6173
6173
  const l = e.multiple ? e.values.includes(t.value) : e.value === t.value, a = e.focusedIndex === r;
6174
6174
  return i`
6175
6175
  <div
@@ -6191,7 +6191,7 @@ function Ta(e, t, r) {
6191
6191
  </div>
6192
6192
  `;
6193
6193
  }
6194
- const za = () => y`
6194
+ const Aa = () => y`
6195
6195
  :host {
6196
6196
  display: block;
6197
6197
  width: 100%;
@@ -6778,8 +6778,8 @@ var gt = class {
6778
6778
  };
6779
6779
  gt = g([_({
6780
6780
  selector: "ml-select",
6781
- template: Sa,
6782
- styles: za,
6781
+ template: Ea,
6782
+ styles: Aa,
6783
6783
  attributes: [
6784
6784
  "label",
6785
6785
  "placeholder",
@@ -6792,7 +6792,7 @@ gt = g([_({
6792
6792
  "multiple"
6793
6793
  ]
6794
6794
  })], gt);
6795
- function Aa(e) {
6795
+ function Da(e) {
6796
6796
  return i`
6797
6797
  <div
6798
6798
  class=${v({
@@ -6831,7 +6831,7 @@ function Aa(e) {
6831
6831
  </div>
6832
6832
  `;
6833
6833
  }
6834
- const Da = () => y`
6834
+ const Ia = () => y`
6835
6835
  :host {
6836
6836
  display: block;
6837
6837
  }
@@ -7029,8 +7029,8 @@ var bt = class {
7029
7029
  };
7030
7030
  bt = g([_({
7031
7031
  selector: "ml-slider",
7032
- template: Aa,
7033
- styles: Da,
7032
+ template: Da,
7033
+ styles: Ia,
7034
7034
  attributes: [
7035
7035
  "label",
7036
7036
  "value",
@@ -7044,7 +7044,7 @@ bt = g([_({
7044
7044
  "error"
7045
7045
  ]
7046
7046
  })], bt);
7047
- function Ia(e) {
7047
+ function Ma(e) {
7048
7048
  return i`
7049
7049
  <div
7050
7050
  class=${v({
@@ -7071,7 +7071,7 @@ function Ia(e) {
7071
7071
  </div>
7072
7072
  `;
7073
7073
  }
7074
- const Ma = () => y`
7074
+ const Pa = () => y`
7075
7075
  :host {
7076
7076
  display: block;
7077
7077
  width: 100%;
@@ -7287,8 +7287,8 @@ var ft = class {
7287
7287
  };
7288
7288
  ft = g([_({
7289
7289
  selector: "ml-form-field",
7290
- template: Ia,
7291
- styles: Ma,
7290
+ template: Ma,
7291
+ styles: Pa,
7292
7292
  attributes: [
7293
7293
  "label",
7294
7294
  "hint",
@@ -7299,7 +7299,7 @@ ft = g([_({
7299
7299
  "required"
7300
7300
  ]
7301
7301
  })], ft);
7302
- function Pa(e) {
7302
+ function Oa(e) {
7303
7303
  return i`
7304
7304
  <div class="ml-calendar" role="grid" aria-label=${e.monthLabel}>
7305
7305
  <div class="ml-calendar__header">
@@ -7357,7 +7357,7 @@ function Pa(e) {
7357
7357
  </div>
7358
7358
  `;
7359
7359
  }
7360
- const Oa = () => y`
7360
+ const Na = () => y`
7361
7361
  :host {
7362
7362
  display: inline-block;
7363
7363
  }
@@ -7542,7 +7542,7 @@ const Oa = () => y`
7542
7542
  box-shadow: var(--ml-shadow-focus-ring);
7543
7543
  }
7544
7544
  `;
7545
- var Na = [
7545
+ var La = [
7546
7546
  "January",
7547
7547
  "February",
7548
7548
  "March",
@@ -7555,7 +7555,7 @@ var Na = [
7555
7555
  "October",
7556
7556
  "November",
7557
7557
  "December"
7558
- ], La = [
7558
+ ], Va = [
7559
7559
  "Su",
7560
7560
  "Mo",
7561
7561
  "Tu",
@@ -7610,10 +7610,10 @@ var yt = class {
7610
7610
  t.length === 3 && (this.viewYear = Number.parseInt(t[0], 10), this.viewMonth = Number.parseInt(t[1], 10) - 1);
7611
7611
  }
7612
7612
  get monthLabel() {
7613
- return `${Na[this.viewMonth]} ${this.viewYear}`;
7613
+ return `${La[this.viewMonth]} ${this.viewYear}`;
7614
7614
  }
7615
7615
  get weekdays() {
7616
- return La;
7616
+ return Va;
7617
7617
  }
7618
7618
  get days() {
7619
7619
  const t = this.viewYear, r = this.viewMonth, l = new Date(t, r, 1).getDay(), a = new Date(t, r + 1, 0).getDate(), o = new Date(t, r, 0).getDate(), s = _t(), n = [], c = r === 0 ? 11 : r - 1, m = r === 0 ? t - 1 : t;
@@ -7668,15 +7668,15 @@ var yt = class {
7668
7668
  };
7669
7669
  yt = g([_({
7670
7670
  selector: "ml-calendar",
7671
- template: Pa,
7672
- styles: Oa,
7671
+ template: Oa,
7672
+ styles: Na,
7673
7673
  attributes: [
7674
7674
  "value",
7675
7675
  "min",
7676
7676
  "max"
7677
7677
  ]
7678
7678
  })], yt);
7679
- function Va(e) {
7679
+ function ja(e) {
7680
7680
  return i`
7681
7681
  <div class=${v({
7682
7682
  "ml-date-picker": !0,
@@ -7723,7 +7723,7 @@ function Va(e) {
7723
7723
  </div>
7724
7724
  `;
7725
7725
  }
7726
- const ja = () => y`
7726
+ const Fa = () => y`
7727
7727
  :host {
7728
7728
  display: block;
7729
7729
  }
@@ -7875,7 +7875,7 @@ const ja = () => y`
7875
7875
  color: var(--ml-color-danger);
7876
7876
  }
7877
7877
  `;
7878
- var Fa = [
7878
+ var qa = [
7879
7879
  "Jan",
7880
7880
  "Feb",
7881
7881
  "Mar",
@@ -7889,12 +7889,12 @@ var Fa = [
7889
7889
  "Nov",
7890
7890
  "Dec"
7891
7891
  ];
7892
- function qa(e) {
7892
+ function Ba(e) {
7893
7893
  if (!e) return "";
7894
7894
  const t = e.split("-");
7895
7895
  if (t.length !== 3) return e;
7896
7896
  const r = parseInt(t[1], 10) - 1, l = parseInt(t[2], 10), a = parseInt(t[0], 10);
7897
- return `${Fa[r]} ${l}, ${a}`;
7897
+ return `${qa[r]} ${l}, ${a}`;
7898
7898
  }
7899
7899
  var xt = class {
7900
7900
  constructor() {
@@ -7913,7 +7913,7 @@ var xt = class {
7913
7913
  };
7914
7914
  }
7915
7915
  get displayValue() {
7916
- return qa(this.value);
7916
+ return Ba(this.value);
7917
7917
  }
7918
7918
  onCreate() {
7919
7919
  const t = this.getPopoverEl();
@@ -7965,8 +7965,8 @@ var xt = class {
7965
7965
  };
7966
7966
  xt = g([_({
7967
7967
  selector: "ml-date-picker",
7968
- template: Va,
7969
- styles: ja,
7968
+ template: ja,
7969
+ styles: Fa,
7970
7970
  attributes: [
7971
7971
  "value",
7972
7972
  "placeholder",
@@ -7980,7 +7980,7 @@ xt = g([_({
7980
7980
  "max"
7981
7981
  ]
7982
7982
  })], xt);
7983
- function Ba(e) {
7983
+ function Ha(e) {
7984
7984
  return i`
7985
7985
  <div
7986
7986
  class=${v({
@@ -8008,7 +8008,7 @@ function Ba(e) {
8008
8008
  </div>
8009
8009
  `;
8010
8010
  }
8011
- const Ha = () => y`
8011
+ const Ka = () => y`
8012
8012
  :host {
8013
8013
  display: block;
8014
8014
  }
@@ -8140,8 +8140,8 @@ var wt = class {
8140
8140
  };
8141
8141
  wt = g([_({
8142
8142
  selector: "ml-alert",
8143
- template: Ba,
8144
- styles: Ha,
8143
+ template: Ha,
8144
+ styles: Ka,
8145
8145
  attributes: [
8146
8146
  "variant",
8147
8147
  "title",
@@ -8198,7 +8198,7 @@ var kt = class {
8198
8198
  }
8199
8199
  };
8200
8200
  kt = g([Z()], kt);
8201
- function Ka(e) {
8201
+ function Wa(e) {
8202
8202
  return i`
8203
8203
  <div
8204
8204
  class=${v({
@@ -8222,7 +8222,7 @@ function Ka(e) {
8222
8222
  </div>
8223
8223
  `;
8224
8224
  }
8225
- const Wa = () => y`
8225
+ const Ga = () => y`
8226
8226
  :host {
8227
8227
  display: block;
8228
8228
  }
@@ -8335,8 +8335,8 @@ var $t = class {
8335
8335
  };
8336
8336
  $t = g([_({
8337
8337
  selector: "ml-toast",
8338
- template: Ka,
8339
- styles: Wa,
8338
+ template: Wa,
8339
+ styles: Ga,
8340
8340
  attributes: [
8341
8341
  "variant",
8342
8342
  "title",
@@ -8345,7 +8345,7 @@ $t = g([_({
8345
8345
  "dismissible"
8346
8346
  ]
8347
8347
  })], $t);
8348
- function Ga(e) {
8348
+ function Ua(e) {
8349
8349
  return i`
8350
8350
  <div
8351
8351
  class=${v({
@@ -8357,7 +8357,7 @@ function Ga(e) {
8357
8357
  </div>
8358
8358
  `;
8359
8359
  }
8360
- const Ua = () => y`
8360
+ const Ya = () => y`
8361
8361
  :host {
8362
8362
  display: block;
8363
8363
  }
@@ -8426,11 +8426,11 @@ var Ct = class {
8426
8426
  };
8427
8427
  Ct = g([_({
8428
8428
  selector: "ml-toast-container",
8429
- template: Ga,
8430
- styles: Ua,
8429
+ template: Ua,
8430
+ styles: Ya,
8431
8431
  attributes: ["position"]
8432
8432
  })], Ct);
8433
- function Ya(e) {
8433
+ function Xa(e) {
8434
8434
  const t = e.labelPosition === "top" && (!!e.label || e.showValue), r = e.labelPosition === "right" && e.showValue, l = e.labelPosition === "bottom" && e.showValue, a = e.labelPosition === "floating-top" && e.showValue, o = e.labelPosition === "floating-bottom" && e.showValue;
8435
8435
  return i`
8436
8436
  <div class=${v({
@@ -8474,7 +8474,7 @@ function Ya(e) {
8474
8474
  </div>
8475
8475
  `;
8476
8476
  }
8477
- function Xa(e) {
8477
+ function Ja(e) {
8478
8478
  return i`
8479
8479
  <div class=${v({
8480
8480
  "ml-progress-circle": !0,
@@ -8517,7 +8517,7 @@ function Xa(e) {
8517
8517
  </div>
8518
8518
  `;
8519
8519
  }
8520
- function Ja(e) {
8520
+ function Qa(e) {
8521
8521
  return i`
8522
8522
  <div class=${v({
8523
8523
  "ml-progress-half": !0,
@@ -8556,10 +8556,10 @@ function Ja(e) {
8556
8556
  </div>
8557
8557
  `;
8558
8558
  }
8559
- function Qa(e) {
8560
- return e.shape === "circle" ? Xa(e) : e.shape === "half-circle" ? Ja(e) : Ya(e);
8559
+ function Za(e) {
8560
+ return e.shape === "circle" ? Ja(e) : e.shape === "half-circle" ? Qa(e) : Xa(e);
8561
8561
  }
8562
- const Za = () => y`
8562
+ const eo = () => y`
8563
8563
  :host {
8564
8564
  display: block;
8565
8565
  }
@@ -8899,8 +8899,8 @@ var St = class {
8899
8899
  };
8900
8900
  St = g([_({
8901
8901
  selector: "ml-progress",
8902
- template: Qa,
8903
- styles: Za,
8902
+ template: Za,
8903
+ styles: eo,
8904
8904
  attributes: [
8905
8905
  "value",
8906
8906
  "max",
@@ -8912,7 +8912,7 @@ St = g([_({
8912
8912
  "label-position"
8913
8913
  ]
8914
8914
  })], St);
8915
- function eo(e) {
8915
+ function to(e) {
8916
8916
  return i`
8917
8917
  <div
8918
8918
  class=${v({
@@ -8939,7 +8939,7 @@ function eo(e) {
8939
8939
  </div>
8940
8940
  `;
8941
8941
  }
8942
- const to = () => y`
8942
+ const ro = () => y`
8943
8943
  :host {
8944
8944
  display: block;
8945
8945
  }
@@ -9030,15 +9030,15 @@ var Et = class {
9030
9030
  };
9031
9031
  Et = g([_({
9032
9032
  selector: "ml-card",
9033
- template: eo,
9034
- styles: to,
9033
+ template: to,
9034
+ styles: ro,
9035
9035
  attributes: [
9036
9036
  "variant",
9037
9037
  "hoverable",
9038
9038
  "clickable"
9039
9039
  ]
9040
9040
  })], Et);
9041
- function ro(e) {
9041
+ function lo(e) {
9042
9042
  return i`
9043
9043
  <div
9044
9044
  class=${v({
@@ -9057,7 +9057,7 @@ function ro(e) {
9057
9057
  </div>
9058
9058
  `;
9059
9059
  }
9060
- const lo = () => y`
9060
+ const ao = () => y`
9061
9061
  :host {
9062
9062
  display: block;
9063
9063
  }
@@ -9139,18 +9139,18 @@ var Rt = class {
9139
9139
  };
9140
9140
  Rt = g([_({
9141
9141
  selector: "ml-divider",
9142
- template: ro,
9143
- styles: lo,
9142
+ template: lo,
9143
+ styles: ao,
9144
9144
  attributes: ["orientation"]
9145
9145
  })], Rt);
9146
- function ao(e) {
9146
+ function oo(e) {
9147
9147
  return i`
9148
9148
  <div class="ml-stack" style=${G(e.getStyles())}>
9149
9149
  <slot></slot>
9150
9150
  </div>
9151
9151
  `;
9152
9152
  }
9153
- const oo = () => y`
9153
+ const io = () => y`
9154
9154
  :host {
9155
9155
  display: block;
9156
9156
  }
@@ -9189,8 +9189,8 @@ var Tt = class {
9189
9189
  };
9190
9190
  Tt = g([_({
9191
9191
  selector: "ml-stack",
9192
- template: ao,
9193
- styles: oo,
9192
+ template: oo,
9193
+ styles: io,
9194
9194
  attributes: [
9195
9195
  "direction",
9196
9196
  "gap",
@@ -9199,14 +9199,14 @@ Tt = g([_({
9199
9199
  "wrap"
9200
9200
  ]
9201
9201
  })], Tt);
9202
- function io(e) {
9202
+ function so(e) {
9203
9203
  return i`
9204
9204
  <div class="ml-container" style=${G(e.getStyles())}>
9205
9205
  <slot></slot>
9206
9206
  </div>
9207
9207
  `;
9208
9208
  }
9209
- const so = () => y`
9209
+ const no = () => y`
9210
9210
  :host {
9211
9211
  display: block;
9212
9212
  width: 100%;
@@ -9238,15 +9238,15 @@ var zt = class {
9238
9238
  };
9239
9239
  zt = g([_({
9240
9240
  selector: "ml-container",
9241
- template: io,
9242
- styles: so,
9241
+ template: so,
9242
+ styles: no,
9243
9243
  attributes: [
9244
9244
  "size",
9245
9245
  "padding",
9246
9246
  "centered"
9247
9247
  ]
9248
9248
  })], zt);
9249
- function no(e) {
9249
+ function co(e) {
9250
9250
  return i`
9251
9251
  <span
9252
9252
  class=${v({
@@ -9267,7 +9267,7 @@ function no(e) {
9267
9267
  </span>
9268
9268
  `;
9269
9269
  }
9270
- const co = () => y`
9270
+ const mo = () => y`
9271
9271
  :host {
9272
9272
  display: inline-block;
9273
9273
  }
@@ -9368,8 +9368,8 @@ var At = class {
9368
9368
  };
9369
9369
  At = g([_({
9370
9370
  selector: "ml-avatar",
9371
- template: no,
9372
- styles: co,
9371
+ template: co,
9372
+ styles: mo,
9373
9373
  attributes: [
9374
9374
  "src",
9375
9375
  "alt",
@@ -9378,7 +9378,7 @@ At = g([_({
9378
9378
  "rounded"
9379
9379
  ]
9380
9380
  })], At);
9381
- function mo(e) {
9381
+ function uo(e) {
9382
9382
  return i`
9383
9383
  <span
9384
9384
  class=${v({
@@ -9394,7 +9394,7 @@ function mo(e) {
9394
9394
  </span>
9395
9395
  `;
9396
9396
  }
9397
- const uo = () => y`
9397
+ const ho = () => y`
9398
9398
  :host {
9399
9399
  display: inline-block;
9400
9400
  }
@@ -9486,8 +9486,8 @@ var Dt = class {
9486
9486
  };
9487
9487
  Dt = g([_({
9488
9488
  selector: "ml-badge",
9489
- template: mo,
9490
- styles: uo,
9489
+ template: uo,
9490
+ styles: ho,
9491
9491
  attributes: [
9492
9492
  "variant",
9493
9493
  "size",
@@ -9495,7 +9495,7 @@ Dt = g([_({
9495
9495
  "pill"
9496
9496
  ]
9497
9497
  })], Dt);
9498
- function ho(e) {
9498
+ function po(e) {
9499
9499
  const t = e.badgePosition === "trailing";
9500
9500
  return i`
9501
9501
  <span
@@ -9518,7 +9518,7 @@ function ho(e) {
9518
9518
  </span>
9519
9519
  `;
9520
9520
  }
9521
- const po = () => y`
9521
+ const vo = () => y`
9522
9522
  :host {
9523
9523
  display: inline-block;
9524
9524
  }
@@ -9656,8 +9656,8 @@ var It = class {
9656
9656
  };
9657
9657
  It = g([_({
9658
9658
  selector: "ml-badge-group",
9659
- template: ho,
9660
- styles: po,
9659
+ template: po,
9660
+ styles: vo,
9661
9661
  attributes: [
9662
9662
  "label",
9663
9663
  "variant",
@@ -9667,7 +9667,7 @@ It = g([_({
9667
9667
  "icon"
9668
9668
  ]
9669
9669
  })], It);
9670
- function vo(e) {
9670
+ function go(e) {
9671
9671
  const t = e["avatar-src"], r = e["dot-color"];
9672
9672
  return i`
9673
9673
  <span
@@ -9718,7 +9718,7 @@ function vo(e) {
9718
9718
  </span>
9719
9719
  `;
9720
9720
  }
9721
- const go = () => y`
9721
+ const bo = () => y`
9722
9722
  :host {
9723
9723
  display: inline-block;
9724
9724
  }
@@ -9929,8 +9929,8 @@ var Mt = class {
9929
9929
  };
9930
9930
  Mt = g([_({
9931
9931
  selector: "ml-tag",
9932
- template: vo,
9933
- styles: go,
9932
+ template: go,
9933
+ styles: bo,
9934
9934
  attributes: [
9935
9935
  "size",
9936
9936
  "dot",
@@ -9944,7 +9944,7 @@ Mt = g([_({
9944
9944
  "disabled"
9945
9945
  ]
9946
9946
  })], Mt);
9947
- function bo(e) {
9947
+ function fo(e) {
9948
9948
  return i`
9949
9949
  <div
9950
9950
  class=${v({
@@ -9958,7 +9958,7 @@ function bo(e) {
9958
9958
  </div>
9959
9959
  `;
9960
9960
  }
9961
- const fo = () => y`
9961
+ const _o = () => y`
9962
9962
  :host {
9963
9963
  display: block;
9964
9964
  }
@@ -9993,11 +9993,11 @@ var Pt = class {
9993
9993
  };
9994
9994
  Pt = g([_({
9995
9995
  selector: "ml-list",
9996
- template: bo,
9997
- styles: fo,
9996
+ template: fo,
9997
+ styles: _o,
9998
9998
  attributes: ["variant", "size"]
9999
9999
  })], Pt);
10000
- function _o(e) {
10000
+ function yo(e) {
10001
10001
  return i`
10002
10002
  <div class="ml-li" role="listitem">
10003
10003
  ${d(e.hasLeadingSlot, () => i`
@@ -10018,7 +10018,7 @@ function _o(e) {
10018
10018
  </div>
10019
10019
  `;
10020
10020
  }
10021
- const yo = () => y`
10021
+ const xo = () => y`
10022
10022
  :host {
10023
10023
  display: block;
10024
10024
  padding: var(--_ml-list-padding, var(--ml-space-3) 0);
@@ -10104,8 +10104,8 @@ var Ot = class {
10104
10104
  };
10105
10105
  Ot = g([_({
10106
10106
  selector: "ml-list-item",
10107
- template: _o,
10108
- styles: yo,
10107
+ template: yo,
10108
+ styles: xo,
10109
10109
  attributes: [
10110
10110
  "primary",
10111
10111
  "secondary",
@@ -10113,7 +10113,7 @@ Ot = g([_({
10113
10113
  "interactive"
10114
10114
  ]
10115
10115
  })], Ot);
10116
- function xo(e) {
10116
+ function wo(e) {
10117
10117
  return i`
10118
10118
  <div
10119
10119
  class=${v({
@@ -10126,7 +10126,7 @@ function xo(e) {
10126
10126
  </div>
10127
10127
  `;
10128
10128
  }
10129
- const wo = () => y`
10129
+ const ko = () => y`
10130
10130
  :host {
10131
10131
  display: block;
10132
10132
  }
@@ -10157,11 +10157,11 @@ var Nt = class {
10157
10157
  };
10158
10158
  Nt = g([_({
10159
10159
  selector: "ml-activity-feed",
10160
- template: xo,
10161
- styles: wo,
10160
+ template: wo,
10161
+ styles: ko,
10162
10162
  attributes: ["variant"]
10163
10163
  })], Nt);
10164
- function ko(e) {
10164
+ function $o(e) {
10165
10165
  return i`
10166
10166
  <article class="ml-afi">
10167
10167
  <div class="ml-afi__left">
@@ -10204,7 +10204,7 @@ function ko(e) {
10204
10204
  </article>
10205
10205
  `;
10206
10206
  }
10207
- const $o = () => y`
10207
+ const Co = () => y`
10208
10208
  :host {
10209
10209
  display: block;
10210
10210
  padding: var(--ml-space-4) 0;
@@ -10347,8 +10347,8 @@ var Lt = class {
10347
10347
  };
10348
10348
  Lt = g([_({
10349
10349
  selector: "ml-activity-feed-item",
10350
- template: ko,
10351
- styles: $o,
10350
+ template: $o,
10351
+ styles: Co,
10352
10352
  attributes: [
10353
10353
  "name",
10354
10354
  "timestamp",
@@ -10360,16 +10360,17 @@ Lt = g([_({
10360
10360
  "indicator-color"
10361
10361
  ]
10362
10362
  })], Lt);
10363
- function Co(e, t, r) {
10363
+ function So(e, t, r) {
10364
10364
  return e.render ? e.render(t[e.key], t, r) : t[e.key] ?? "";
10365
10365
  }
10366
- function So(e) {
10366
+ function Eo(e) {
10367
10367
  return i`
10368
10368
  <div class=${v({
10369
10369
  "ml-table": !0,
10370
10370
  [`ml-table--${e.size}`]: !0,
10371
10371
  "ml-table--striped": e.striped,
10372
10372
  "ml-table--hoverable": e.hoverable,
10373
+ "ml-table--row-clickable": e._rowClickable,
10373
10374
  "ml-table--sticky-header": e.stickyHeader,
10374
10375
  "ml-table--virtual": e.virtual
10375
10376
  })}>
@@ -10456,7 +10457,7 @@ function So(e) {
10456
10457
  "ml-table__td": !0,
10457
10458
  [`ml-table__td--${a.align ?? "left"}`]: !0
10458
10459
  })}>
10459
- ${Co(a, t, l)}
10460
+ ${So(a, t, l)}
10460
10461
  </td>
10461
10462
  `)}
10462
10463
  </tr>
@@ -10480,7 +10481,7 @@ function So(e) {
10480
10481
  </div>
10481
10482
  `;
10482
10483
  }
10483
- const Eo = () => y`
10484
+ const Ro = () => y`
10484
10485
  :host {
10485
10486
  display: block;
10486
10487
  }
@@ -10613,6 +10614,10 @@ const Eo = () => y`
10613
10614
  background-color: var(--ml-color-surface-sunken);
10614
10615
  }
10615
10616
 
10617
+ .ml-table--row-clickable .ml-table__row {
10618
+ cursor: pointer;
10619
+ }
10620
+
10616
10621
  .ml-table__row--selected {
10617
10622
  background-color: var(--ml-color-primary-subtle, rgba(99, 102, 241, 0.04));
10618
10623
  }
@@ -10719,9 +10724,13 @@ const Eo = () => y`
10719
10724
  padding: var(--ml-space-2) var(--ml-space-4);
10720
10725
  }
10721
10726
  `;
10727
+ var Fr = /* @__PURE__ */ new WeakSet(), To = EventTarget.prototype.addEventListener;
10728
+ EventTarget.prototype.addEventListener = function(e, t, r) {
10729
+ e === "ml:row-click" && Fr.add(this), To.call(this, e, t, r);
10730
+ };
10722
10731
  var Vt = class {
10723
10732
  constructor() {
10724
- this.hasFooter = !1, this.hasHeaderActions = !1, this.selectable = !1, this.striped = !1, this.hoverable = !0, this.stickyHeader = !1, this.size = "md", this.tableTitle = "", this.description = "", this.virtual = !1, this.columns = [], this.rows = [], this.sortKey = "", this.sortDirection = "asc", this.selectedIndices = [], this.startIndex = 0, this.endIndex = 50, this._scroller = new jr(), this._viewport = null, this.isRowSelected = (t) => this.selectedIndices.includes(t), this.handleSort = (t) => {
10733
+ this._rowClickable = !1, this.hasFooter = !1, this.hasHeaderActions = !1, this.selectable = !1, this.striped = !1, this.hoverable = !0, this.stickyHeader = !1, this.size = "md", this.tableTitle = "", this.description = "", this.virtual = !1, this.columns = [], this.rows = [], this.sortKey = "", this.sortDirection = "asc", this.selectedIndices = [], this.startIndex = 0, this.endIndex = 50, this._scroller = new jr(), this._viewport = null, this.isRowSelected = (t) => this.selectedIndices.includes(t), this.handleSort = (t) => {
10725
10734
  t.sortable && (this.sortKey === t.key ? this.sortDirection = this.sortDirection === "asc" ? "desc" : "asc" : (this.sortKey = t.key, this.sortDirection = "asc"), this.selectedIndices = [], this._scroller.invalidate(), this.elementRef.dispatchEvent(new CustomEvent("ml:sort", {
10726
10735
  bubbles: !0,
10727
10736
  composed: !0,
@@ -10751,6 +10760,9 @@ var Vt = class {
10751
10760
  onPropertyChange(t, r, l) {
10752
10761
  (t === "rows" || t === "columns") && this._scroller.invalidate();
10753
10762
  }
10763
+ onInit() {
10764
+ this._rowClickable = Fr.has(this.elementRef);
10765
+ }
10754
10766
  onCreate() {
10755
10767
  const t = this.elementRef.shadowRoot;
10756
10768
  t && (t.querySelectorAll("slot").forEach((r) => {
@@ -10825,8 +10837,8 @@ var Vt = class {
10825
10837
  };
10826
10838
  Vt = g([_({
10827
10839
  selector: "ml-table",
10828
- template: So,
10829
- styles: Eo,
10840
+ template: Eo,
10841
+ styles: Ro,
10830
10842
  attributes: [
10831
10843
  "selectable",
10832
10844
  "striped",
@@ -10838,12 +10850,12 @@ Vt = g([_({
10838
10850
  "virtual"
10839
10851
  ]
10840
10852
  })], Vt);
10841
- function Ro(e, t, r) {
10853
+ function zo(e, t, r) {
10842
10854
  if (e.render) return e.render(t[e.key], t, r);
10843
10855
  const l = t[e.key];
10844
10856
  return l ?? "";
10845
10857
  }
10846
- function To(e) {
10858
+ function Ao(e) {
10847
10859
  const t = e.gridTemplateColumns, r = e.totalGridWidth;
10848
10860
  return i`
10849
10861
  <div class=${v({
@@ -10990,7 +11002,7 @@ function To(e) {
10990
11002
  })}
10991
11003
  style=${o.pinned === "left" ? `left: ${e.getPinnedLeftOffset(o.key)}px` : ""}
10992
11004
  >
10993
- ${Ro(o, l, e.startIndex + a)}
11005
+ ${zo(o, l, e.startIndex + a)}
10994
11006
  </div>
10995
11007
  `)}
10996
11008
  </div>
@@ -11045,7 +11057,7 @@ function To(e) {
11045
11057
  </div>
11046
11058
  `;
11047
11059
  }
11048
- const zo = () => y`
11060
+ const Do = () => y`
11049
11061
  :host {
11050
11062
  display: flex;
11051
11063
  flex-direction: column;
@@ -11745,8 +11757,8 @@ var jt = class {
11745
11757
  };
11746
11758
  jt = g([_({
11747
11759
  selector: "ml-data-grid",
11748
- template: To,
11749
- styles: zo,
11760
+ template: Ao,
11761
+ styles: Do,
11750
11762
  attributes: [
11751
11763
  "selectable",
11752
11764
  "striped",
@@ -11760,7 +11772,7 @@ jt = g([_({
11760
11772
  "show-filter-row"
11761
11773
  ]
11762
11774
  })], jt);
11763
- var Ao = [
11775
+ var Io = [
11764
11776
  "January",
11765
11777
  "February",
11766
11778
  "March",
@@ -11786,7 +11798,7 @@ var Ao = [
11786
11798
  "Oct",
11787
11799
  "Nov",
11788
11800
  "Dec"
11789
- ], Fr = [
11801
+ ], qr = [
11790
11802
  "Sunday",
11791
11803
  "Monday",
11792
11804
  "Tuesday",
@@ -11810,11 +11822,11 @@ function Ft(e) {
11810
11822
  const [t, r, l] = e.split("T")[0].split("-").map(Number);
11811
11823
  return new Date(t, r - 1, l);
11812
11824
  }
11813
- function Do(e, t) {
11825
+ function Mo(e, t) {
11814
11826
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
11815
11827
  }
11816
- function qr(e) {
11817
- return Do(e, /* @__PURE__ */ new Date());
11828
+ function Br(e) {
11829
+ return Mo(e, /* @__PURE__ */ new Date());
11818
11830
  }
11819
11831
  function K(e, t) {
11820
11832
  const r = new Date(e);
@@ -11824,11 +11836,11 @@ function qt(e, t) {
11824
11836
  const r = new Date(e);
11825
11837
  return r.setMonth(r.getMonth() + t), r;
11826
11838
  }
11827
- function Br(e, t = 0) {
11839
+ function Hr(e, t = 0) {
11828
11840
  const r = new Date(e), l = (r.getDay() - t + 7) % 7;
11829
11841
  return r.setDate(r.getDate() - l), r;
11830
11842
  }
11831
- function Io(e) {
11843
+ function Po(e) {
11832
11844
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate()));
11833
11845
  t.setUTCDate(t.getUTCDate() + 4 - (t.getUTCDay() || 7));
11834
11846
  const r = new Date(Date.UTC(t.getUTCFullYear(), 0, 1));
@@ -11839,9 +11851,9 @@ function B(e) {
11839
11851
  return l === 0 ? `${o} ${a}` : `${o}:${String(l).padStart(2, "0")} ${a}`;
11840
11852
  }
11841
11853
  function Bt(e) {
11842
- return `${Ao[e.getMonth()]} ${e.getFullYear()}`;
11854
+ return `${Io[e.getMonth()]} ${e.getFullYear()}`;
11843
11855
  }
11844
- function Mo(e, t) {
11856
+ function Oo(e, t) {
11845
11857
  const r = Re[e.getMonth()], l = Re[t.getMonth()];
11846
11858
  return e.getMonth() === t.getMonth() && e.getFullYear() === t.getFullYear() ? `${r} ${e.getDate()} – ${t.getDate()}, ${e.getFullYear()}` : e.getFullYear() === t.getFullYear() ? `${r} ${e.getDate()} – ${l} ${t.getDate()}, ${e.getFullYear()}` : `${r} ${e.getDate()}, ${e.getFullYear()} – ${l} ${t.getDate()}, ${t.getFullYear()}`;
11847
11859
  }
@@ -11886,8 +11898,8 @@ function Ht(e, t, r = 0) {
11886
11898
  }
11887
11899
  return c;
11888
11900
  }
11889
- function Po(e, t = 0) {
11890
- const r = Br(e, t);
11901
+ function No(e, t = 0) {
11902
+ const r = Hr(e, t);
11891
11903
  return Array.from({ length: 7 }, (l, a) => K(r, a));
11892
11904
  }
11893
11905
  function Kt(e = 0) {
@@ -11895,18 +11907,18 @@ function Kt(e = 0) {
11895
11907
  const l = (e + r) % 7;
11896
11908
  return {
11897
11909
  short: Oe[l],
11898
- full: Fr[l]
11910
+ full: qr[l]
11899
11911
  };
11900
11912
  });
11901
11913
  }
11902
11914
  function ue(e, t) {
11903
11915
  return e.filter((r) => r.start.split("T")[0] === t);
11904
11916
  }
11905
- function Oo(e) {
11917
+ function Lo(e) {
11906
11918
  return Re[e.getMonth()];
11907
11919
  }
11908
- function No(e) {
11909
- return Fr[e.getDay()];
11920
+ function Vo(e) {
11921
+ return qr[e.getDay()];
11910
11922
  }
11911
11923
  function M(e) {
11912
11924
  const t = new Date(e);
@@ -11915,7 +11927,7 @@ function M(e) {
11915
11927
  function Wt(e) {
11916
11928
  return Math.floor(e / 30) + 1;
11917
11929
  }
11918
- function Hr(e) {
11930
+ function Kr(e) {
11919
11931
  if (e.length === 0) return [];
11920
11932
  const t = [...e].sort((n, c) => {
11921
11933
  const m = M(n.start), u = M(c.start);
@@ -11958,7 +11970,7 @@ function Hr(e) {
11958
11970
  }
11959
11971
  return s;
11960
11972
  }
11961
- function Lo() {
11973
+ function jo() {
11962
11974
  const e = [];
11963
11975
  for (let t = 0; t < 24; t++) for (let r = 0; r < 60; r += 30) {
11964
11976
  const l = t >= 12 ? "PM" : "AM", a = t % 12 || 12, o = r === 0 ? `${a} ${l}` : "";
@@ -11970,29 +11982,29 @@ function Lo() {
11970
11982
  }
11971
11983
  return e;
11972
11984
  }
11973
- function Vo(e, t, r) {
11974
- return Po(e, t).map((l) => {
11985
+ function Fo(e, t, r) {
11986
+ return No(e, t).map((l) => {
11975
11987
  const a = N(l.getFullYear(), l.getMonth(), l.getDate()), o = ue(r, a).filter((s) => !s.allDay);
11976
11988
  return {
11977
11989
  date: a,
11978
11990
  dayLabel: Oe[l.getDay()],
11979
11991
  dayNumber: l.getDate(),
11980
- isToday: qr(l),
11981
- events: Hr(o)
11992
+ isToday: Br(l),
11993
+ events: Kr(o)
11982
11994
  };
11983
11995
  });
11984
11996
  }
11985
- function jo(e, t) {
11997
+ function qo(e, t) {
11986
11998
  const r = N(e.getFullYear(), e.getMonth(), e.getDate()), l = ue(t, r).filter((a) => !a.allDay);
11987
11999
  return {
11988
12000
  date: r,
11989
12001
  dayLabel: Oe[e.getDay()],
11990
12002
  dayNumber: e.getDate(),
11991
- isToday: qr(e),
11992
- events: Hr(l)
12003
+ isToday: Br(e),
12004
+ events: Kr(l)
11993
12005
  };
11994
12006
  }
11995
- function Fo(e, t, r) {
12007
+ function Bo(e, t, r) {
11996
12008
  const l = /* @__PURE__ */ new Set(), a = new Date(e, t + 1, 0).getDate();
11997
12009
  for (let o = 1; o <= a; o++) {
11998
12010
  const s = N(e, t, o);
@@ -12000,12 +12012,12 @@ function Fo(e, t, r) {
12000
12012
  }
12001
12013
  return l;
12002
12014
  }
12003
- var qo = {
12015
+ var Ho = {
12004
12016
  month: "Month view",
12005
12017
  week: "Week view",
12006
12018
  day: "Day view"
12007
12019
  };
12008
- function Bo(e) {
12020
+ function Ko(e) {
12009
12021
  return i`
12010
12022
  <div class="ml-cv__today-badge">
12011
12023
  <span class="ml-cv__today-badge-month">${e.todayMonthAbbrev}</span>
@@ -12020,7 +12032,7 @@ function Bo(e) {
12020
12032
  </div>
12021
12033
  `;
12022
12034
  }
12023
- function Ho(e) {
12035
+ function Wo(e) {
12024
12036
  return i`
12025
12037
  ${d(!e.hideNav, () => i`
12026
12038
  <div class="ml-cv__nav-group">
@@ -12045,7 +12057,7 @@ function Ho(e) {
12045
12057
  })}
12046
12058
  @click=${e.toggleViewDropdown}
12047
12059
  >
12048
- ${qo[e.view]}
12060
+ ${Ho[e.view]}
12049
12061
  <ml-icon icon="caret-down" size="xs"></ml-icon>
12050
12062
  </button>
12051
12063
  ${d(e.isViewDropdownOpen, () => i`
@@ -12093,20 +12105,20 @@ function Ho(e) {
12093
12105
  `)}
12094
12106
  `;
12095
12107
  }
12096
- function Ko(e) {
12108
+ function Go(e) {
12097
12109
  return i`
12098
12110
  <div class="ml-cv__header">
12099
12111
  <div class="ml-cv__header-left">
12100
- ${d(e.hasHeaderLeftSlot, () => i`<slot name="header-left"></slot>`, () => Bo(e))}
12112
+ ${d(e.hasHeaderLeftSlot, () => i`<slot name="header-left"></slot>`, () => Ko(e))}
12101
12113
  </div>
12102
12114
 
12103
12115
  <div class="ml-cv__header-right">
12104
- ${d(e.hasHeaderActionsSlot, () => i`<slot name="header-actions"></slot>`, () => Ho(e))}
12116
+ ${d(e.hasHeaderActionsSlot, () => i`<slot name="header-actions"></slot>`, () => Wo(e))}
12105
12117
  </div>
12106
12118
  </div>
12107
12119
  `;
12108
12120
  }
12109
- function Wo(e, t) {
12121
+ function Uo(e, t) {
12110
12122
  const r = t.color || "blue";
12111
12123
  return i`
12112
12124
  <div
@@ -12125,7 +12137,7 @@ function Wo(e, t) {
12125
12137
  </div>
12126
12138
  `;
12127
12139
  }
12128
- function Go(e) {
12140
+ function Yo(e) {
12129
12141
  const t = e.weekdayHeaders, r = e.monthGrid, l = (/* @__PURE__ */ new Date()).getDay(), a = e.weekStartsOn;
12130
12142
  return i`
12131
12143
  <div class="ml-cv__month">
@@ -12158,7 +12170,7 @@ function Go(e) {
12158
12170
  })}>${o.date}</div>
12159
12171
 
12160
12172
  <div class="ml-cv__day-events">
12161
- ${$(s, (c) => c.id, (c) => Wo(e, c))}
12173
+ ${$(s, (c) => c.id, (c) => Uo(e, c))}
12162
12174
  ${d(n > 0, () => i`
12163
12175
  <button
12164
12176
  type="button"
@@ -12185,7 +12197,7 @@ function Go(e) {
12185
12197
  </div>
12186
12198
  `;
12187
12199
  }
12188
- function Uo(e, t, r) {
12200
+ function Xo(e, t, r) {
12189
12201
  const l = t.event.color || "blue";
12190
12202
  return i`
12191
12203
  <div
@@ -12203,7 +12215,7 @@ function Uo(e, t, r) {
12203
12215
  </div>
12204
12216
  `;
12205
12217
  }
12206
- function Yo(e) {
12218
+ function Jo(e) {
12207
12219
  const t = e.weekColumns, r = e.timeSlots;
12208
12220
  return i`
12209
12221
  <div class="ml-cv__time-layout">
@@ -12250,13 +12262,13 @@ function Yo(e) {
12250
12262
  ${$(t.flatMap((l, a) => l.events.map((o) => ({
12251
12263
  pe: o,
12252
12264
  colIdx: a
12253
- }))), (l) => l.pe.event.id, (l) => Uo(e, l.pe, l.colIdx))}
12265
+ }))), (l) => l.pe.event.id, (l) => Xo(e, l.pe, l.colIdx))}
12254
12266
  </div>
12255
12267
  </div>
12256
12268
  </div>
12257
12269
  `;
12258
12270
  }
12259
- function Xo(e, t) {
12271
+ function Qo(e, t) {
12260
12272
  const r = t.event.color || "blue";
12261
12273
  return i`
12262
12274
  <div
@@ -12274,7 +12286,7 @@ function Xo(e, t) {
12274
12286
  </div>
12275
12287
  `;
12276
12288
  }
12277
- function Jo(e) {
12289
+ function Zo(e) {
12278
12290
  const t = e.miniCalendarGrid, r = e.miniCalendarWeekdays, l = e.miniCalendarDots, a = e.currentIsoDate;
12279
12291
  return i`
12280
12292
  <div class="ml-cv__mini-cal">
@@ -12316,7 +12328,7 @@ function Jo(e) {
12316
12328
  </div>
12317
12329
  `;
12318
12330
  }
12319
- function Qo(e) {
12331
+ function ei(e) {
12320
12332
  const t = e.dayEvents;
12321
12333
  return i`
12322
12334
  <div class="ml-cv__sidebar-title">Events for ${e.dayViewDateLabel}</div>
@@ -12340,7 +12352,7 @@ function Qo(e) {
12340
12352
  `)}
12341
12353
  `;
12342
12354
  }
12343
- function Zo(e) {
12355
+ function ti(e) {
12344
12356
  const t = e.dayColumn, r = e.timeSlots;
12345
12357
  return i`
12346
12358
  <div class="ml-cv__day-layout">
@@ -12376,30 +12388,30 @@ function Zo(e) {
12376
12388
  `)}
12377
12389
 
12378
12390
  <!-- Events -->
12379
- ${$(t.events, (l) => l.event.id, (l) => Xo(e, l))}
12391
+ ${$(t.events, (l) => l.event.id, (l) => Qo(e, l))}
12380
12392
  </div>
12381
12393
  </div>
12382
12394
  </div>
12383
12395
  </div>
12384
12396
 
12385
12397
  <div class="ml-cv__day-sidebar">
12386
- ${Jo(e)}
12387
- ${Qo(e)}
12398
+ ${Zo(e)}
12399
+ ${ei(e)}
12388
12400
  </div>
12389
12401
  </div>
12390
12402
  `;
12391
12403
  }
12392
- function ei(e) {
12404
+ function ri(e) {
12393
12405
  return i`
12394
12406
  <div class="ml-cv">
12395
- ${Ko(e)}
12396
- ${d(e.view === "month", () => Go(e))}
12397
- ${d(e.view === "week", () => Yo(e))}
12398
- ${d(e.view === "day", () => Zo(e))}
12407
+ ${Go(e)}
12408
+ ${d(e.view === "month", () => Yo(e))}
12409
+ ${d(e.view === "week", () => Jo(e))}
12410
+ ${d(e.view === "day", () => ti(e))}
12399
12411
  </div>
12400
12412
  `;
12401
12413
  }
12402
- const ti = () => y`
12414
+ const li = () => y`
12403
12415
  :host {
12404
12416
  display: block;
12405
12417
  font-family: var(--ml-font-sans);
@@ -13257,7 +13269,7 @@ var Gt = class {
13257
13269
  }
13258
13270
  }
13259
13271
  get todayMonthAbbrev() {
13260
- return Oo(/* @__PURE__ */ new Date());
13272
+ return Lo(/* @__PURE__ */ new Date());
13261
13273
  }
13262
13274
  get todayDayNumber() {
13263
13275
  return (/* @__PURE__ */ new Date()).getDate();
@@ -13266,15 +13278,15 @@ var Gt = class {
13266
13278
  return Bt(this._currentDate);
13267
13279
  }
13268
13280
  get weekNumber() {
13269
- return Io(this._currentDate);
13281
+ return Po(this._currentDate);
13270
13282
  }
13271
13283
  get headerSubtitle() {
13272
13284
  if (this.view === "month") return `Week ${this.weekNumber}`;
13273
13285
  if (this.view === "week") {
13274
- const t = Br(this._currentDate, this.weekStartsOn);
13275
- return Mo(t, K(t, 6));
13286
+ const t = Hr(this._currentDate, this.weekStartsOn);
13287
+ return Oo(t, K(t, 6));
13276
13288
  }
13277
- return No(this._currentDate);
13289
+ return Vo(this._currentDate);
13278
13290
  }
13279
13291
  get currentIsoDate() {
13280
13292
  const t = this._currentDate;
@@ -13289,13 +13301,13 @@ var Gt = class {
13289
13301
  return r;
13290
13302
  }
13291
13303
  get weekColumns() {
13292
- return Vo(this._currentDate, this.weekStartsOn, this.events);
13304
+ return Fo(this._currentDate, this.weekStartsOn, this.events);
13293
13305
  }
13294
13306
  get timeSlots() {
13295
- return Lo();
13307
+ return jo();
13296
13308
  }
13297
13309
  get dayColumn() {
13298
- return jo(this._currentDate, this.events);
13310
+ return qo(this._currentDate, this.events);
13299
13311
  }
13300
13312
  get dayEvents() {
13301
13313
  return ue(this.events, this.currentIsoDate);
@@ -13317,7 +13329,7 @@ var Gt = class {
13317
13329
  return Ht(this._miniCalYear, this._miniCalMonth, this.weekStartsOn);
13318
13330
  }
13319
13331
  get miniCalendarDots() {
13320
- return Fo(this._miniCalYear, this._miniCalMonth, this.events);
13332
+ return Bo(this._miniCalYear, this._miniCalMonth, this.events);
13321
13333
  }
13322
13334
  setDate(t) {
13323
13335
  this.date = N(t.getFullYear(), t.getMonth(), t.getDate()), this._miniCalYear = t.getFullYear(), this._miniCalMonth = t.getMonth(), this.elementRef.dispatchEvent(new CustomEvent("ml:date-change", {
@@ -13329,8 +13341,8 @@ var Gt = class {
13329
13341
  };
13330
13342
  Gt = g([_({
13331
13343
  selector: "ml-calendar-view",
13332
- template: ei,
13333
- styles: ti,
13344
+ template: ri,
13345
+ styles: li,
13334
13346
  attributes: [
13335
13347
  "view",
13336
13348
  "date",
@@ -13343,7 +13355,7 @@ Gt = g([_({
13343
13355
  "hide-add-button"
13344
13356
  ]
13345
13357
  })], Gt);
13346
- const ri = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`}">${e.format === "regular" ? e.icon : `${e.icon}-${e.format}`}</i>`, li = () => y`
13358
+ const ai = (e) => i`<i class="${e.format === "regular" ? "ph" : `ph-${e.format}`}">${e.format === "regular" ? e.icon : `${e.icon}-${e.format}`}</i>`, oi = () => y`
13347
13359
  :host {
13348
13360
  display: inline-flex;
13349
13361
  align-items: center;
@@ -13378,15 +13390,15 @@ var Ut = class {
13378
13390
  };
13379
13391
  Ut = g([_({
13380
13392
  selector: "ml-icon",
13381
- template: ri,
13382
- styles: li,
13393
+ template: ai,
13394
+ styles: oi,
13383
13395
  attributes: [
13384
13396
  "icon",
13385
13397
  "format",
13386
13398
  "size"
13387
13399
  ]
13388
13400
  })], Ut);
13389
- function ai(e) {
13401
+ function ii(e) {
13390
13402
  const t = e.tabs.length > 0;
13391
13403
  return i`
13392
13404
  <div
@@ -13403,7 +13415,7 @@ function ai(e) {
13403
13415
  aria-orientation=${e.orientation}
13404
13416
  @keydown=${e.handleKeyDown}
13405
13417
  >
13406
- ${t ? $(e.tabs, (r) => `${r.value}-${e.value === r.value}`, (r) => oi(e, r)) : i`<slot name="tab" @slotchange=${e.handleTabSlotChange}></slot>`}
13418
+ ${t ? $(e.tabs, (r) => `${r.value}-${e.value === r.value}`, (r) => si(e, r)) : i`<slot name="tab" @slotchange=${e.handleTabSlotChange}></slot>`}
13407
13419
  </div>
13408
13420
 
13409
13421
  <div class="ml-tabs__panels">
@@ -13412,7 +13424,7 @@ function ai(e) {
13412
13424
  </div>
13413
13425
  `;
13414
13426
  }
13415
- function oi(e, t) {
13427
+ function si(e, t) {
13416
13428
  const r = e.value === t.value;
13417
13429
  return i`
13418
13430
  <button
@@ -13435,7 +13447,7 @@ function oi(e, t) {
13435
13447
  </button>
13436
13448
  `;
13437
13449
  }
13438
- const ii = () => y`
13450
+ const ni = () => y`
13439
13451
  :host {
13440
13452
  display: block;
13441
13453
  width: 100%;
@@ -13777,8 +13789,8 @@ var Yt = class {
13777
13789
  };
13778
13790
  Yt = g([_({
13779
13791
  selector: "ml-tabs",
13780
- template: ai,
13781
- styles: ii,
13792
+ template: ii,
13793
+ styles: ni,
13782
13794
  attributes: [
13783
13795
  "value",
13784
13796
  "variant",
@@ -13787,7 +13799,7 @@ Yt = g([_({
13787
13799
  "routed"
13788
13800
  ]
13789
13801
  })], Yt);
13790
- function si(e) {
13802
+ function di(e) {
13791
13803
  return i`
13792
13804
  <button
13793
13805
  type="button"
@@ -13809,7 +13821,7 @@ function si(e) {
13809
13821
  </button>
13810
13822
  `;
13811
13823
  }
13812
- const ni = () => y`
13824
+ const ci = () => y`
13813
13825
  :host {
13814
13826
  display: contents;
13815
13827
  }
@@ -13870,8 +13882,8 @@ var Xt = class {
13870
13882
  };
13871
13883
  Xt = g([_({
13872
13884
  selector: "ml-tab",
13873
- template: si,
13874
- styles: ni,
13885
+ template: di,
13886
+ styles: ci,
13875
13887
  attributes: [
13876
13888
  "value",
13877
13889
  "label",
@@ -13881,14 +13893,14 @@ Xt = g([_({
13881
13893
  "href"
13882
13894
  ]
13883
13895
  })], Xt);
13884
- function di(e) {
13896
+ function mi(e) {
13885
13897
  return i`
13886
13898
  <div class="ml-tab-panel" role="tabpanel">
13887
13899
  <slot></slot>
13888
13900
  </div>
13889
13901
  `;
13890
13902
  }
13891
- const ci = () => y`
13903
+ const ui = () => y`
13892
13904
  :host {
13893
13905
  display: block;
13894
13906
  }
@@ -13913,11 +13925,11 @@ var Jt = class {
13913
13925
  };
13914
13926
  Jt = g([_({
13915
13927
  selector: "ml-tab-panel",
13916
- template: di,
13917
- styles: ci,
13928
+ template: mi,
13929
+ styles: ui,
13918
13930
  attributes: ["value"]
13919
13931
  })], Jt);
13920
- function mi(e) {
13932
+ function hi(e) {
13921
13933
  return i`
13922
13934
  <nav class="ml-breadcrumb" aria-label="Breadcrumb">
13923
13935
  <ol class="ml-breadcrumb__list">
@@ -13926,7 +13938,7 @@ function mi(e) {
13926
13938
  </nav>
13927
13939
  `;
13928
13940
  }
13929
- const ui = () => y`
13941
+ const pi = () => y`
13930
13942
  :host {
13931
13943
  display: block;
13932
13944
  }
@@ -13948,11 +13960,11 @@ var Qt = class {
13948
13960
  };
13949
13961
  Qt = g([_({
13950
13962
  selector: "ml-breadcrumb",
13951
- template: mi,
13952
- styles: ui,
13963
+ template: hi,
13964
+ styles: pi,
13953
13965
  attributes: ["separator"]
13954
13966
  })], Qt);
13955
- function hi(e) {
13967
+ function vi(e) {
13956
13968
  const t = e.separator === "slash" ? "slash-forward" : "caret-right";
13957
13969
  return i`
13958
13970
  <li
@@ -13978,7 +13990,7 @@ function hi(e) {
13978
13990
  </li>
13979
13991
  `;
13980
13992
  }
13981
- const pi = () => y`
13993
+ const gi = () => y`
13982
13994
  :host {
13983
13995
  display: contents;
13984
13996
  }
@@ -14046,8 +14058,8 @@ var Zt = class {
14046
14058
  };
14047
14059
  Zt = g([_({
14048
14060
  selector: "ml-breadcrumb-item",
14049
- template: hi,
14050
- styles: pi,
14061
+ template: vi,
14062
+ styles: gi,
14051
14063
  attributes: [
14052
14064
  "href",
14053
14065
  "icon",
@@ -14055,7 +14067,7 @@ Zt = g([_({
14055
14067
  "separator"
14056
14068
  ]
14057
14069
  })], Zt);
14058
- function vi(e) {
14070
+ function bi(e) {
14059
14071
  return i`
14060
14072
  <nav class="ml-pagination" aria-label="Pagination">
14061
14073
  <button
@@ -14105,7 +14117,7 @@ function vi(e) {
14105
14117
  </nav>
14106
14118
  `;
14107
14119
  }
14108
- const gi = () => y`
14120
+ const fi = () => y`
14109
14121
  :host {
14110
14122
  display: block;
14111
14123
  }
@@ -14237,15 +14249,15 @@ var er = class {
14237
14249
  };
14238
14250
  er = g([_({
14239
14251
  selector: "ml-pagination",
14240
- template: vi,
14241
- styles: gi,
14252
+ template: bi,
14253
+ styles: fi,
14242
14254
  attributes: [
14243
14255
  "page",
14244
14256
  "total-pages",
14245
14257
  "siblings"
14246
14258
  ]
14247
14259
  })], er);
14248
- function bi(e) {
14260
+ function _i(e) {
14249
14261
  const t = e.navigation.length > 0, r = e.footerNavigation.length > 0, l = e.collapsed;
14250
14262
  return i`
14251
14263
  <aside
@@ -14268,7 +14280,7 @@ function bi(e) {
14268
14280
  `)}
14269
14281
 
14270
14282
  <div class="ml-sidebar__main">
14271
- ${t ? $(e.navigation, (a, o) => `nav-group-${o}`, (a) => fi(e, a)) : i`<slot @slotchange=${e.handleDefaultSlotChange}></slot>`}
14283
+ ${t ? $(e.navigation, (a, o) => `nav-group-${o}`, (a) => yi(e, a)) : i`<slot @slotchange=${e.handleDefaultSlotChange}></slot>`}
14272
14284
  </div>
14273
14285
 
14274
14286
  <div class="ml-sidebar__footer">
@@ -14297,7 +14309,7 @@ function bi(e) {
14297
14309
  </aside>
14298
14310
  `;
14299
14311
  }
14300
- function fi(e, t) {
14312
+ function yi(e, t) {
14301
14313
  const r = e.collapsed;
14302
14314
  return i`
14303
14315
  <div class="ml-sidebar__group">
@@ -14380,7 +14392,7 @@ function Ne(e, t, r) {
14380
14392
  </div>
14381
14393
  `;
14382
14394
  }
14383
- const _i = () => y`
14395
+ const xi = () => y`
14384
14396
  :host {
14385
14397
  display: block;
14386
14398
  height: 100%;
@@ -14765,11 +14777,11 @@ var tr = class {
14765
14777
  };
14766
14778
  tr = g([_({
14767
14779
  selector: "ml-sidebar",
14768
- template: bi,
14769
- styles: _i,
14780
+ template: _i,
14781
+ styles: xi,
14770
14782
  attributes: ["variant", "active"]
14771
14783
  })], tr);
14772
- function yi(e) {
14784
+ function wi(e) {
14773
14785
  return i`
14774
14786
  <div class="ml-sidebar-group">
14775
14787
  ${d(!!e.label && !e.collapsed, () => i`
@@ -14781,7 +14793,7 @@ function yi(e) {
14781
14793
  </div>
14782
14794
  `;
14783
14795
  }
14784
- const xi = () => y`
14796
+ const ki = () => y`
14785
14797
  :host {
14786
14798
  display: block;
14787
14799
  }
@@ -14816,11 +14828,11 @@ var rr = class {
14816
14828
  };
14817
14829
  rr = g([_({
14818
14830
  selector: "ml-sidebar-group",
14819
- template: yi,
14820
- styles: xi,
14831
+ template: wi,
14832
+ styles: ki,
14821
14833
  attributes: ["label", "collapsed"]
14822
14834
  })], rr);
14823
- function wi(e) {
14835
+ function $i(e) {
14824
14836
  const t = parseInt(e.level, 10) || 0, r = e.collapsed, l = i`
14825
14837
  <div class="ml-sidebar-item__leading">
14826
14838
  <slot name="leading">
@@ -14891,7 +14903,7 @@ function wi(e) {
14891
14903
  </div>
14892
14904
  `;
14893
14905
  }
14894
- const ki = () => y`
14906
+ const Ci = () => y`
14895
14907
  :host {
14896
14908
  display: block;
14897
14909
  }
@@ -15073,8 +15085,8 @@ var lr = class {
15073
15085
  };
15074
15086
  lr = g([_({
15075
15087
  selector: "ml-sidebar-item",
15076
- template: wi,
15077
- styles: ki,
15088
+ template: $i,
15089
+ styles: Ci,
15078
15090
  attributes: [
15079
15091
  "icon",
15080
15092
  "label",
@@ -15090,7 +15102,7 @@ lr = g([_({
15090
15102
  "level"
15091
15103
  ]
15092
15104
  })], lr);
15093
- function $i(e) {
15105
+ function Si(e) {
15094
15106
  const t = e.steps.length > 0, r = e.compact;
15095
15107
  return i`
15096
15108
  <div
@@ -15107,7 +15119,7 @@ function $i(e) {
15107
15119
  aria-orientation=${e.orientation}
15108
15120
  @keydown=${e.handleKeyDown}
15109
15121
  >
15110
- ${t ? $(e.steps, (l) => `${l.value}-${e.active === l.value}`, (l, a) => Ci(e, l, a)) : i`<slot name="step" @slotchange=${e.handleStepSlotChange}></slot>`}
15122
+ ${t ? $(e.steps, (l) => `${l.value}-${e.active === l.value}`, (l, a) => Ei(e, l, a)) : i`<slot name="step" @slotchange=${e.handleStepSlotChange}></slot>`}
15111
15123
  </div>
15112
15124
 
15113
15125
  ${d(r, () => i`
@@ -15122,7 +15134,7 @@ function $i(e) {
15122
15134
  </div>
15123
15135
  `;
15124
15136
  }
15125
- function Ci(e, t, r) {
15137
+ function Ei(e, t, r) {
15126
15138
  const l = e.steps, a = r === 0, o = r === l.length - 1, s = e.getStepStatus(t.value), n = e.variant === "bar", c = e.compact;
15127
15139
  return i`
15128
15140
  <div
@@ -15144,13 +15156,13 @@ function Ci(e, t, r) {
15144
15156
  tabindex=${s === "current" ? "0" : "-1"}
15145
15157
  @click=${() => e.handleStepClick(t.value, t.href)}
15146
15158
  >
15147
- ${d(n, () => Si(e, t))}
15148
- ${d(!n && !c, () => Ei(e, t, r, a, o, s))}
15149
- ${d(!n && c, () => Ri(e, s))}
15159
+ ${d(n, () => Ri(e, t))}
15160
+ ${d(!n && !c, () => Ti(e, t, r, a, o, s))}
15161
+ ${d(!n && c, () => zi(e, s))}
15150
15162
  </div>
15151
15163
  `;
15152
15164
  }
15153
- function Si(e, t) {
15165
+ function Ri(e, t) {
15154
15166
  return i`
15155
15167
  <div class="ml-step__bar"></div>
15156
15168
  <div class="ml-step__content">
@@ -15159,12 +15171,12 @@ function Si(e, t) {
15159
15171
  </div>
15160
15172
  `;
15161
15173
  }
15162
- function Ei(e, t, r, l, a, o) {
15174
+ function Ti(e, t, r, l, a, o) {
15163
15175
  return i`
15164
15176
  <div class="ml-step__track">
15165
15177
  <div class="ml-step__connector-before ${l ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15166
15178
  <div class="ml-step__indicator">
15167
- ${Ti(e, t, r, o)}
15179
+ ${Ai(e, t, r, o)}
15168
15180
  </div>
15169
15181
  <div class="ml-step__connector-after ${a ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15170
15182
  </div>
@@ -15174,10 +15186,10 @@ function Ei(e, t, r, l, a, o) {
15174
15186
  </div>
15175
15187
  `;
15176
15188
  }
15177
- function Ri(e, t) {
15189
+ function zi(e, t) {
15178
15190
  return i`<div class="ml-step__dot"></div>`;
15179
15191
  }
15180
- function Ti(e, t, r, l) {
15192
+ function Ai(e, t, r, l) {
15181
15193
  switch (e.variant) {
15182
15194
  case "numbered":
15183
15195
  return i`
@@ -15203,7 +15215,7 @@ function Ti(e, t, r, l) {
15203
15215
  return i``;
15204
15216
  }
15205
15217
  }
15206
- const zi = () => y`
15218
+ const Di = () => y`
15207
15219
  :host {
15208
15220
  display: block;
15209
15221
  width: 100%;
@@ -15853,8 +15865,8 @@ var ar = class {
15853
15865
  };
15854
15866
  ar = g([_({
15855
15867
  selector: "ml-steps",
15856
- template: $i,
15857
- styles: zi,
15868
+ template: Si,
15869
+ styles: Di,
15858
15870
  attributes: [
15859
15871
  "active",
15860
15872
  "variant",
@@ -15865,7 +15877,7 @@ ar = g([_({
15865
15877
  "routed"
15866
15878
  ]
15867
15879
  })], ar);
15868
- function Ai(e) {
15880
+ function Ii(e) {
15869
15881
  const t = e.variant === "bar", r = e.compact;
15870
15882
  return i`
15871
15883
  <div
@@ -15886,13 +15898,13 @@ function Ai(e) {
15886
15898
  tabindex=${e.status === "current" ? "0" : "-1"}
15887
15899
  @click=${e.handleClick}
15888
15900
  >
15889
- ${d(t, () => Di(e))}
15890
- ${d(!t && !r, () => Ii(e))}
15891
- ${d(!t && r, () => Mi(e))}
15901
+ ${d(t, () => Mi(e))}
15902
+ ${d(!t && !r, () => Pi(e))}
15903
+ ${d(!t && r, () => Oi(e))}
15892
15904
  </div>
15893
15905
  `;
15894
15906
  }
15895
- function Di(e) {
15907
+ function Mi(e) {
15896
15908
  return i`
15897
15909
  <div class="ml-step__bar"></div>
15898
15910
  <div class="ml-step__content">
@@ -15901,12 +15913,12 @@ function Di(e) {
15901
15913
  </div>
15902
15914
  `;
15903
15915
  }
15904
- function Ii(e) {
15916
+ function Pi(e) {
15905
15917
  return i`
15906
15918
  <div class="ml-step__track">
15907
15919
  <div class="ml-step__connector-before ${e.first ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15908
15920
  <div class="ml-step__indicator">
15909
- ${Pi(e)}
15921
+ ${Ni(e)}
15910
15922
  </div>
15911
15923
  <div class="ml-step__connector-after ${e.last ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15912
15924
  </div>
@@ -15916,19 +15928,19 @@ function Ii(e) {
15916
15928
  </div>
15917
15929
  `;
15918
15930
  }
15919
- function Mi(e) {
15931
+ function Oi(e) {
15920
15932
  return i`
15921
15933
  <div class="ml-step__dot"></div>
15922
15934
  `;
15923
15935
  }
15924
- function Pi(e) {
15936
+ function Ni(e) {
15925
15937
  switch (e.variant) {
15926
15938
  case "numbered":
15927
15939
  return or(e);
15928
15940
  case "circles":
15929
- return Oi(e);
15941
+ return Li(e);
15930
15942
  case "icons":
15931
- return Ni(e);
15943
+ return Vi(e);
15932
15944
  default:
15933
15945
  return or(e);
15934
15946
  }
@@ -15942,7 +15954,7 @@ function or(e) {
15942
15954
  </div>
15943
15955
  `;
15944
15956
  }
15945
- function Oi(e) {
15957
+ function Li(e) {
15946
15958
  const t = e.status === "completed";
15947
15959
  return i`
15948
15960
  <div class="ml-step__indicator-inner ml-step__indicator-inner--circles">
@@ -15951,14 +15963,14 @@ function Oi(e) {
15951
15963
  </div>
15952
15964
  `;
15953
15965
  }
15954
- function Ni(e) {
15966
+ function Vi(e) {
15955
15967
  return i`
15956
15968
  <div class="ml-step__indicator-inner ml-step__indicator-inner--icons">
15957
15969
  <ml-icon icon=${e.icon || "circle"} size="sm"></ml-icon>
15958
15970
  </div>
15959
15971
  `;
15960
15972
  }
15961
- const Li = () => y`
15973
+ const ji = () => y`
15962
15974
  :host {
15963
15975
  display: contents;
15964
15976
  }
@@ -16478,8 +16490,8 @@ var ir = class {
16478
16490
  };
16479
16491
  ir = g([_({
16480
16492
  selector: "ml-step",
16481
- template: Ai,
16482
- styles: Li,
16493
+ template: Ii,
16494
+ styles: ji,
16483
16495
  attributes: [
16484
16496
  "value",
16485
16497
  "label",
@@ -16497,14 +16509,14 @@ ir = g([_({
16497
16509
  "compact"
16498
16510
  ]
16499
16511
  })], ir);
16500
- function Vi(e) {
16512
+ function Fi(e) {
16501
16513
  return i`
16502
16514
  <div class="ml-step-panel" role="tabpanel">
16503
16515
  <slot></slot>
16504
16516
  </div>
16505
16517
  `;
16506
16518
  }
16507
- const ji = () => y`
16519
+ const qi = () => y`
16508
16520
  :host {
16509
16521
  display: block;
16510
16522
  }
@@ -16524,11 +16536,11 @@ var sr = class {
16524
16536
  };
16525
16537
  sr = g([_({
16526
16538
  selector: "ml-step-panel",
16527
- template: Vi,
16528
- styles: ji,
16539
+ template: Fi,
16540
+ styles: qi,
16529
16541
  attributes: ["value"]
16530
16542
  })], sr);
16531
- const Fi = () => i`<dialog class="ml-dialog">
16543
+ const Bi = () => i`<dialog class="ml-dialog">
16532
16544
  <div class="ml-dialog-header">
16533
16545
  <slot name="dialog-header"></slot>
16534
16546
  </div>
@@ -16540,7 +16552,7 @@ const Fi = () => i`<dialog class="ml-dialog">
16540
16552
  <div class="ml-dialog-footer">
16541
16553
  <slot name="dialog-footer"></slot>
16542
16554
  </div>
16543
- </dialog> `, qi = () => y`
16555
+ </dialog> `, Hi = () => y`
16544
16556
  :host {
16545
16557
  display: contents;
16546
16558
  }
@@ -16719,7 +16731,7 @@ const Fi = () => i`<dialog class="ml-dialog">
16719
16731
  }
16720
16732
  }
16721
16733
  `;
16722
- var Bi = class {
16734
+ var Ki = class {
16723
16735
  constructor(e, t) {
16724
16736
  this._dialogID = e, this._dialogEl = t, this._afterOpenedCallback = null, this._afterClosedCallback = null, this._disableClose = !1, this._handleCancel = this.onCancel.bind(this), this._handleBackdropClick = this.onBackdropClick.bind(this), this._dialogEl.addEventListener("cancel", this._handleCancel), this._dialogEl.addEventListener("click", this._handleBackdropClick);
16725
16737
  }
@@ -16762,7 +16774,7 @@ var Bi = class {
16762
16774
  this._dialogs = /* @__PURE__ */ new Map();
16763
16775
  }
16764
16776
  addDialog(t, r) {
16765
- const l = new Bi(t, r);
16777
+ const l = new Ki(t, r);
16766
16778
  return this._dialogs.set(t, {
16767
16779
  dialogRef: l,
16768
16780
  dialogComponent: void 0
@@ -16799,7 +16811,7 @@ var Bi = class {
16799
16811
  Q = g([Z()], Q);
16800
16812
  var nr, Te = class {
16801
16813
  constructor() {
16802
- this._dialogID = Zl(), this._registered = !1;
16814
+ this._dialogID = ea(), this._registered = !1;
16803
16815
  }
16804
16816
  registerDialog() {
16805
16817
  if (this._registered) return;
@@ -16822,11 +16834,11 @@ var nr, Te = class {
16822
16834
  g([H(Q), j("design:type", typeof (nr = typeof Q < "u" && Q) == "function" ? nr : Object)], Te.prototype, "_dialogService", void 0);
16823
16835
  Te = g([_({
16824
16836
  selector: "ml-dialog",
16825
- template: Fi,
16826
- styles: qi,
16837
+ template: Bi,
16838
+ styles: Hi,
16827
16839
  attributes: []
16828
16840
  })], Te);
16829
- function Hi(e) {
16841
+ function Wi(e) {
16830
16842
  const t = e.side === "left" ? "left" : "right", r = e.size === "sm" || e.size === "md" || e.size === "lg" || e.size === "xl" ? e.size : "md";
16831
16843
  return i`
16832
16844
  <dialog
@@ -16861,7 +16873,7 @@ function Hi(e) {
16861
16873
  </dialog>
16862
16874
  `;
16863
16875
  }
16864
- const Ki = () => y`
16876
+ const Gi = () => y`
16865
16877
  :host {
16866
16878
  display: contents;
16867
16879
  }
@@ -17085,15 +17097,15 @@ var dr = class {
17085
17097
  };
17086
17098
  dr = g([_({
17087
17099
  selector: "ml-drawer",
17088
- template: Hi,
17089
- styles: Ki,
17100
+ template: Wi,
17101
+ styles: Gi,
17090
17102
  attributes: [
17091
17103
  "side",
17092
17104
  "size",
17093
17105
  "show-close"
17094
17106
  ]
17095
17107
  })], dr);
17096
- function Wi(e) {
17108
+ function Ui(e) {
17097
17109
  return i`
17098
17110
  <div class="ml-dropdown">
17099
17111
  <div class="ml-dropdown__trigger" @click=${e.toggle}>
@@ -17110,7 +17122,7 @@ function Wi(e) {
17110
17122
  </div>
17111
17123
  `;
17112
17124
  }
17113
- const Gi = () => y`
17125
+ const Yi = () => y`
17114
17126
  :host {
17115
17127
  display: inline-block;
17116
17128
  }
@@ -17365,15 +17377,15 @@ var cr = class {
17365
17377
  };
17366
17378
  cr = g([_({
17367
17379
  selector: "ml-dropdown",
17368
- template: Wi,
17369
- styles: Gi,
17380
+ template: Ui,
17381
+ styles: Yi,
17370
17382
  attributes: [
17371
17383
  "placement",
17372
17384
  "offset",
17373
17385
  "arrow"
17374
17386
  ]
17375
17387
  })], cr);
17376
- function Ui(e) {
17388
+ function Xi(e) {
17377
17389
  return i`
17378
17390
  <div
17379
17391
  class=${v({
@@ -17393,7 +17405,7 @@ function Ui(e) {
17393
17405
  </div>
17394
17406
  `;
17395
17407
  }
17396
- const Yi = () => y`
17408
+ const Ji = () => y`
17397
17409
  :host {
17398
17410
  display: block;
17399
17411
  }
@@ -17474,8 +17486,8 @@ var mr = class {
17474
17486
  };
17475
17487
  mr = g([_({
17476
17488
  selector: "ml-dropdown-item",
17477
- template: Ui,
17478
- styles: Yi,
17489
+ template: Xi,
17490
+ styles: Ji,
17479
17491
  attributes: [
17480
17492
  "value",
17481
17493
  "icon",
@@ -17484,10 +17496,10 @@ mr = g([_({
17484
17496
  "destructive"
17485
17497
  ]
17486
17498
  })], mr);
17487
- function Xi() {
17499
+ function Qi() {
17488
17500
  return i`<div class="ml-dropdown-separator" role="separator"></div>`;
17489
17501
  }
17490
- const Ji = () => y`
17502
+ const Zi = () => y`
17491
17503
  :host {
17492
17504
  display: block;
17493
17505
  }
@@ -17502,10 +17514,10 @@ var ur = class {
17502
17514
  };
17503
17515
  ur = g([_({
17504
17516
  selector: "ml-dropdown-separator",
17505
- template: Xi,
17506
- styles: Ji
17517
+ template: Qi,
17518
+ styles: Zi
17507
17519
  })], ur);
17508
- function Qi(e) {
17520
+ function es(e) {
17509
17521
  return i`
17510
17522
  <div class="ml-dropdown-group" role="group">
17511
17523
  ${d(!!e.label, () => i`<div class="ml-dropdown-group__label">${e.label}</div>`)}
@@ -17513,7 +17525,7 @@ function Qi(e) {
17513
17525
  </div>
17514
17526
  `;
17515
17527
  }
17516
- const Zi = () => y`
17528
+ const ts = () => y`
17517
17529
  :host {
17518
17530
  display: block;
17519
17531
  }
@@ -17535,11 +17547,11 @@ var hr = class {
17535
17547
  };
17536
17548
  hr = g([_({
17537
17549
  selector: "ml-dropdown-group",
17538
- template: Qi,
17539
- styles: Zi,
17550
+ template: es,
17551
+ styles: ts,
17540
17552
  attributes: ["label"]
17541
17553
  })], hr);
17542
- function es(e) {
17554
+ function rs(e) {
17543
17555
  return i`
17544
17556
  <div class="ml-tooltip">
17545
17557
  <div
@@ -17565,7 +17577,7 @@ function es(e) {
17565
17577
  </div>
17566
17578
  `;
17567
17579
  }
17568
- const ts = () => y`
17580
+ const ls = () => y`
17569
17581
  :host {
17570
17582
  display: inline-block;
17571
17583
  }
@@ -17666,15 +17678,15 @@ var pr = class {
17666
17678
  };
17667
17679
  pr = g([_({
17668
17680
  selector: "ml-tooltip",
17669
- template: es,
17670
- styles: ts,
17681
+ template: rs,
17682
+ styles: ls,
17671
17683
  attributes: [
17672
17684
  "content",
17673
17685
  "placement",
17674
17686
  "delay"
17675
17687
  ]
17676
17688
  })], pr);
17677
- function rs(e) {
17689
+ function as(e) {
17678
17690
  return i`
17679
17691
  <div class="ml-popover">
17680
17692
  <div class="ml-popover__trigger" @click=${e.toggle}>
@@ -17690,7 +17702,7 @@ function rs(e) {
17690
17702
  </div>
17691
17703
  `;
17692
17704
  }
17693
- const ls = () => y`
17705
+ const os = () => y`
17694
17706
  :host {
17695
17707
  display: inline-block;
17696
17708
  }
@@ -17833,8 +17845,8 @@ var vr = class {
17833
17845
  };
17834
17846
  vr = g([_({
17835
17847
  selector: "ml-popover",
17836
- template: rs,
17837
- styles: ls,
17848
+ template: as,
17849
+ styles: os,
17838
17850
  attributes: [
17839
17851
  "placement",
17840
17852
  "offset",
@@ -17842,7 +17854,7 @@ vr = g([_({
17842
17854
  "arrow"
17843
17855
  ]
17844
17856
  })], vr);
17845
- function as(e) {
17857
+ function is(e) {
17846
17858
  const t = e["sidebar-position"] === "right", r = e["sidebar-collapsed"], l = e["header-fixed"], a = e.mobileOpen, o = e.mobile;
17847
17859
  return i`
17848
17860
  <div
@@ -17897,7 +17909,7 @@ function as(e) {
17897
17909
  </div>
17898
17910
  `;
17899
17911
  }
17900
- const os = () => y`
17912
+ const ss = () => y`
17901
17913
  :host {
17902
17914
  display: block;
17903
17915
  height: 100%;
@@ -18105,15 +18117,15 @@ var gr = class {
18105
18117
  };
18106
18118
  gr = g([_({
18107
18119
  selector: "ml-app-shell",
18108
- template: as,
18109
- styles: os,
18120
+ template: is,
18121
+ styles: ss,
18110
18122
  attributes: [
18111
18123
  "sidebar-position",
18112
18124
  "sidebar-collapsed",
18113
18125
  "header-fixed"
18114
18126
  ]
18115
18127
  })], gr);
18116
- function is(e) {
18128
+ function ns(e) {
18117
18129
  const t = e.variant === "split" || e.variant === "split-reverse";
18118
18130
  return i`
18119
18131
  <section
@@ -18174,7 +18186,7 @@ function is(e) {
18174
18186
  </section>
18175
18187
  `;
18176
18188
  }
18177
- const ss = () => y`
18189
+ const ds = () => y`
18178
18190
  :host {
18179
18191
  display: block;
18180
18192
  width: 100%;
@@ -18446,8 +18458,8 @@ var br = class {
18446
18458
  };
18447
18459
  br = g([_({
18448
18460
  selector: "ml-hero-section",
18449
- template: is,
18450
- styles: ss,
18461
+ template: ns,
18462
+ styles: ds,
18451
18463
  attributes: [
18452
18464
  "variant",
18453
18465
  "size",
@@ -18456,7 +18468,7 @@ br = g([_({
18456
18468
  "description"
18457
18469
  ]
18458
18470
  })], br);
18459
- function ns(e) {
18471
+ function cs(e) {
18460
18472
  const t = !!(e.title || e.hasTitleSlot), r = !!(e.description || e.hasDescriptionSlot);
18461
18473
  return i`
18462
18474
  <header
@@ -18508,7 +18520,7 @@ function ns(e) {
18508
18520
  </header>
18509
18521
  `;
18510
18522
  }
18511
- const ds = () => y`
18523
+ const ms = () => y`
18512
18524
  :host {
18513
18525
  display: block;
18514
18526
  }
@@ -18704,8 +18716,8 @@ var fr = class {
18704
18716
  };
18705
18717
  fr = g([_({
18706
18718
  selector: "ml-page-header",
18707
- template: ns,
18708
- styles: ds,
18719
+ template: cs,
18720
+ styles: ms,
18709
18721
  attributes: [
18710
18722
  "variant",
18711
18723
  "divider",
@@ -18713,7 +18725,7 @@ fr = g([_({
18713
18725
  "description"
18714
18726
  ]
18715
18727
  })], fr);
18716
- function cs(e) {
18728
+ function us(e) {
18717
18729
  const t = e.variant === "split", r = i`
18718
18730
  <div class="ml-auth__logo">
18719
18731
  <slot name="logo"></slot>
@@ -18767,7 +18779,7 @@ function cs(e) {
18767
18779
  </div>
18768
18780
  `;
18769
18781
  }
18770
- const Kr = `
18782
+ const Wr = `
18771
18783
  /* ============================================
18772
18784
  AUTH LAYOUT - SHARED STYLES
18773
18785
  ============================================ */
@@ -18939,8 +18951,8 @@ const Kr = `
18939
18951
  padding: var(--ml-space-6);
18940
18952
  }
18941
18953
  }
18942
- `, ms = () => y`
18943
- ${Kr}
18954
+ `, hs = () => y`
18955
+ ${Wr}
18944
18956
  `;
18945
18957
  var _r = class {
18946
18958
  constructor() {
@@ -18957,15 +18969,15 @@ var _r = class {
18957
18969
  };
18958
18970
  _r = g([_({
18959
18971
  selector: "ml-login-page",
18960
- template: cs,
18961
- styles: ms,
18972
+ template: us,
18973
+ styles: hs,
18962
18974
  attributes: [
18963
18975
  "variant",
18964
18976
  "title",
18965
18977
  "description"
18966
18978
  ]
18967
18979
  })], _r);
18968
- function us(e) {
18980
+ function ps(e) {
18969
18981
  const t = e.variant === "split", r = i`
18970
18982
  <div class="ml-auth__logo">
18971
18983
  <slot name="logo"></slot>
@@ -19019,8 +19031,8 @@ function us(e) {
19019
19031
  </div>
19020
19032
  `;
19021
19033
  }
19022
- const hs = () => y`
19023
- ${Kr}
19034
+ const vs = () => y`
19035
+ ${Wr}
19024
19036
  `;
19025
19037
  var yr = class {
19026
19038
  constructor() {
@@ -19037,15 +19049,15 @@ var yr = class {
19037
19049
  };
19038
19050
  yr = g([_({
19039
19051
  selector: "ml-signup-page",
19040
- template: us,
19041
- styles: hs,
19052
+ template: ps,
19053
+ styles: vs,
19042
19054
  attributes: [
19043
19055
  "variant",
19044
19056
  "title",
19045
19057
  "description"
19046
19058
  ]
19047
19059
  })], yr);
19048
- function ps(e) {
19060
+ function gs(e) {
19049
19061
  const t = e.layout === "default" && e.hasAside;
19050
19062
  return i`
19051
19063
  <ml-app-shell>
@@ -19088,7 +19100,7 @@ function ps(e) {
19088
19100
  </ml-app-shell>
19089
19101
  `;
19090
19102
  }
19091
- const vs = () => y`
19103
+ const bs = () => y`
19092
19104
  :host {
19093
19105
  display: block;
19094
19106
  height: 100%;
@@ -19200,8 +19212,8 @@ var xr = class {
19200
19212
  };
19201
19213
  xr = g([_({
19202
19214
  selector: "ml-dashboard-page",
19203
- template: ps,
19204
- styles: vs,
19215
+ template: gs,
19216
+ styles: bs,
19205
19217
  attributes: [
19206
19218
  "title",
19207
19219
  "description",
@@ -19209,8 +19221,8 @@ xr = g([_({
19209
19221
  ]
19210
19222
  })], xr);
19211
19223
  export {
19212
- tl as APP_CONFIG,
19213
- ll as AbortError,
19224
+ rl as APP_CONFIG,
19225
+ al as AbortError,
19214
19226
  Nt as ActivityFeedComponent,
19215
19227
  Lt as ActivityFeedItemComponent,
19216
19228
  wt as AlertComponent,
@@ -19228,47 +19240,47 @@ export {
19228
19240
  Gt as CalendarViewComponent,
19229
19241
  Et as CardComponent,
19230
19242
  ct as CheckboxComponent,
19231
- Qr as ComponentBase,
19232
- Ns as ComponentStateBaseService,
19243
+ Zr as ComponentBase,
19244
+ Vs as ComponentStateBaseService,
19233
19245
  zt as ContainerComponent,
19234
19246
  xr as DashboardPageComponent,
19235
19247
  xt as DatePickerComponent,
19236
19248
  Te as DialogComponent,
19237
- Bi as DialogRef,
19249
+ Ki as DialogRef,
19238
19250
  Q as DialogService,
19239
- qs as Directive,
19251
+ Hs as Directive,
19240
19252
  Rt as DividerComponent,
19241
19253
  dr as DrawerComponent,
19242
19254
  cr as DropdownComponent,
19243
19255
  hr as DropdownGroupComponent,
19244
19256
  mr as DropdownItemComponent,
19245
19257
  ur as DropdownSeparatorComponent,
19246
- pl as EffectsBase,
19258
+ vl as EffectsBase,
19247
19259
  Pr as FORM_CONTROL_MARKER,
19248
- El as FORM_GROUP_MARKER,
19249
- Sl as FormControl,
19260
+ Rl as FORM_GROUP_MARKER,
19261
+ El as FormControl,
19250
19262
  ft as FormFieldComponent,
19251
- Rl as FormGroup,
19263
+ Tl as FormGroup,
19252
19264
  br as HeroSectionComponent,
19253
19265
  Ae as HttpBaseError,
19254
19266
  Be as HttpClient,
19255
19267
  qe as HttpError,
19256
19268
  Ut as IconComponent,
19257
- gs as Inject,
19269
+ fs as Inject,
19258
19270
  Z as Injectable,
19259
- Wr as InjectionEngine,
19271
+ Gr as InjectionEngine,
19260
19272
  L as Injector,
19261
19273
  nt as InputComponent,
19262
19274
  Pt as ListComponent,
19263
19275
  Ot as ListItemComponent,
19264
19276
  _r as LoginPageComponent,
19265
19277
  _ as MelodicComponent,
19266
- rl as NetworkError,
19278
+ ll as NetworkError,
19267
19279
  fr as PageHeaderComponent,
19268
19280
  er as PaginationComponent,
19269
19281
  vr as PopoverComponent,
19270
19282
  St as ProgressComponent,
19271
- ol as ROUTE_CONTEXT_EVENT,
19283
+ il as ROUTE_CONTEXT_EVENT,
19272
19284
  Ce as RX_ACTION_PROVIDERS,
19273
19285
  Se as RX_EFFECTS_PROVIDERS,
19274
19286
  $e as RX_INIT_STATE,
@@ -19277,7 +19289,7 @@ export {
19277
19289
  ht as RadioCardGroupComponent,
19278
19290
  mt as RadioComponent,
19279
19291
  ut as RadioGroupComponent,
19280
- $s as RouteContextEvent,
19292
+ Ss as RouteContextEvent,
19281
19293
  xe as RouteContextService,
19282
19294
  _e as RouteMatcher,
19283
19295
  ke as RouterLinkComponent,
@@ -19303,181 +19315,181 @@ export {
19303
19315
  Vt as TableComponent,
19304
19316
  Yt as TabsComponent,
19305
19317
  Mt as TagComponent,
19306
- ul as TemplateResult,
19318
+ hl as TemplateResult,
19307
19319
  dt as TextareaComponent,
19308
19320
  $t as ToastComponent,
19309
19321
  Ct as ToastContainerComponent,
19310
19322
  kt as ToastService,
19311
19323
  vt as ToggleComponent,
19312
19324
  pr as TooltipComponent,
19313
- Ks as Validators,
19325
+ Gs as Validators,
19314
19326
  jr as VirtualScroller,
19315
- $o as activityFeedItemStyles,
19316
- ko as activityFeedItemTemplate,
19317
- wo as activityFeedStyles,
19318
- xo as activityFeedTemplate,
19319
- jl as allTokens,
19320
- dn as announce,
19321
- os as appShellStyles,
19322
- as as appShellTemplate,
19323
- Yr as applyGlobalStyles,
19324
- Hl as applyTheme,
19327
+ Co as activityFeedItemStyles,
19328
+ $o as activityFeedItemTemplate,
19329
+ ko as activityFeedStyles,
19330
+ wo as activityFeedTemplate,
19331
+ Fl as allTokens,
19332
+ mn as announce,
19333
+ ss as appShellStyles,
19334
+ is as appShellTemplate,
19335
+ Xr as applyGlobalStyles,
19336
+ Kl as applyTheme,
19325
19337
  Nr as arrow,
19326
19338
  Me as autoUpdate,
19327
- Js as baseThemeCss,
19328
- bs as bootstrap,
19329
- Nl as borderTokens,
19330
- pi as breadcrumbItemStyles,
19331
- hi as breadcrumbItemTemplate,
19332
- ui as breadcrumbStyles,
19333
- mi as breadcrumbTemplate,
19334
- Vl as breakpointTokens,
19335
- Us as breakpoints,
19336
- sl as buildPathFromRoute,
19337
- ti as calendarViewStyles,
19338
- ei as calendarViewTemplate,
19339
+ Zs as baseThemeCss,
19340
+ _s as bootstrap,
19341
+ Ll as borderTokens,
19342
+ gi as breadcrumbItemStyles,
19343
+ vi as breadcrumbItemTemplate,
19344
+ pi as breadcrumbStyles,
19345
+ hi as breadcrumbTemplate,
19346
+ jl as breakpointTokens,
19347
+ Xs as breakpoints,
19348
+ nl as buildPathFromRoute,
19349
+ li as calendarViewStyles,
19350
+ ri as calendarViewTemplate,
19339
19351
  v as classMap,
19340
- pn as clickOutside,
19341
- Il as colorTokens,
19342
- hn as componentBaseStyles,
19352
+ gn as clickOutside,
19353
+ Ml as colorTokens,
19354
+ vn as componentBaseStyles,
19343
19355
  te as computePosition,
19344
19356
  z as computed,
19345
- so as containerStyles,
19346
- io as containerTemplate,
19347
- Is as createAction,
19348
- Gs as createAsyncValidator,
19349
- rn as createBrandTheme,
19350
- ws as createDeactivateGuard,
19351
- Jl as createFocusTrap,
19352
- Bs as createFormControl,
19353
- Hs as createFormGroup,
19354
- xs as createGuard,
19355
- cn as createLiveRegion,
19356
- Ms as createReducer,
19357
- ks as createResolver,
19358
- Ps as createState,
19357
+ no as containerStyles,
19358
+ so as containerTemplate,
19359
+ Ps as createAction,
19360
+ Ys as createAsyncValidator,
19361
+ an as createBrandTheme,
19362
+ $s as createDeactivateGuard,
19363
+ Ql as createFocusTrap,
19364
+ Ks as createFormControl,
19365
+ Ws as createFormGroup,
19366
+ ks as createGuard,
19367
+ un as createLiveRegion,
19368
+ Os as createReducer,
19369
+ Cs as createResolver,
19370
+ Ns as createState,
19359
19371
  Or as createTheme,
19360
19372
  ee as createToken,
19361
- Ws as createValidator,
19373
+ Us as createValidator,
19362
19374
  y as css,
19363
19375
  et as darkTheme,
19364
- Xs as darkThemeCss,
19365
- vs as dashboardPageStyles,
19366
- ps as dashboardPageTemplate,
19367
- fs as defineConfig,
19376
+ Qs as darkThemeCss,
19377
+ bs as dashboardPageStyles,
19378
+ gs as dashboardPageTemplate,
19379
+ ys as defineConfig,
19368
19380
  U as directive,
19369
- Ki as drawerStyles,
19370
- Hi as drawerTemplate,
19371
- Zi as dropdownGroupStyles,
19372
- Qi as dropdownGroupTemplate,
19373
- Yi as dropdownItemStyles,
19374
- Ui as dropdownItemTemplate,
19375
- Ji as dropdownSeparatorStyles,
19376
- Xi as dropdownSeparatorTemplate,
19377
- Gi as dropdownStyles,
19378
- Wi as dropdownTemplate,
19379
- el as environment,
19380
- il as findRouteByName,
19381
+ Gi as drawerStyles,
19382
+ Wi as drawerTemplate,
19383
+ ts as dropdownGroupStyles,
19384
+ es as dropdownGroupTemplate,
19385
+ Ji as dropdownItemStyles,
19386
+ Xi as dropdownItemTemplate,
19387
+ Zi as dropdownSeparatorStyles,
19388
+ Qi as dropdownSeparatorTemplate,
19389
+ Yi as dropdownStyles,
19390
+ Ui as dropdownTemplate,
19391
+ tl as environment,
19392
+ sl as findRouteByName,
19381
19393
  le as flip,
19382
- ln as focusFirst,
19383
- an as focusLast,
19384
- on as focusTrap,
19385
- nn as focusVisible,
19386
- Al as formControlDirective,
19387
- Ma as formFieldStyles,
19388
- Ia as formFieldTemplate,
19394
+ on as focusFirst,
19395
+ sn as focusLast,
19396
+ nn as focusTrap,
19397
+ cn as focusVisible,
19398
+ Dl as formControlDirective,
19399
+ Pa as formFieldStyles,
19400
+ Ma as formFieldTemplate,
19389
19401
  Ar as getActiveEffect,
19390
- cl as getAttributeDirective,
19391
- Zr as getEnvironment,
19402
+ ml as getAttributeDirective,
19403
+ el as getEnvironment,
19392
19404
  Lr as getFirstFocusable,
19393
19405
  Pe as getFocusableElements,
19394
- Xl as getLastFocusable,
19395
- Ts as getRegisteredDirectives,
19396
- Bl as getResolvedTheme,
19397
- Qs as getTheme,
19406
+ Jl as getLastFocusable,
19407
+ As as getRegisteredDirectives,
19408
+ Hl as getResolvedTheme,
19409
+ en as getTheme,
19398
19410
  O as getTokenKey,
19399
- Es as hasAttributeDirective,
19400
- ss as heroSectionStyles,
19401
- is as heroSectionTemplate,
19411
+ Ts as hasAttributeDirective,
19412
+ ds as heroSectionStyles,
19413
+ ns as heroSectionTemplate,
19402
19414
  i as html,
19403
- tn as injectTheme,
19415
+ ln as injectTheme,
19404
19416
  oe as isDirective,
19405
- sn as isFocusVisible,
19406
- Gr as isSignal,
19407
- ql as lightTheme,
19408
- Ys as lightThemeCss,
19409
- yo as listItemStyles,
19410
- _o as listItemTemplate,
19411
- fo as listStyles,
19412
- bo as listTemplate,
19413
- ms as loginPageStyles,
19414
- cs as loginPageTemplate,
19417
+ dn as isFocusVisible,
19418
+ Ur as isSignal,
19419
+ Bl as lightTheme,
19420
+ Js as lightThemeCss,
19421
+ xo as listItemStyles,
19422
+ yo as listItemTemplate,
19423
+ _o as listStyles,
19424
+ fo as listTemplate,
19425
+ hs as loginPageStyles,
19426
+ us as loginPageTemplate,
19415
19427
  ye as matchRouteTree,
19416
- Zl as newID,
19428
+ ea as newID,
19417
19429
  re as offset,
19418
- Os as onAction,
19419
- Zs as onThemeChange,
19420
- ds as pageHeaderStyles,
19421
- ns as pageHeaderTemplate,
19422
- gi as paginationStyles,
19423
- vi as paginationTemplate,
19424
- Cl as portalDirective,
19425
- Dl as primitiveColors,
19426
- Za as progressStyles,
19427
- Qa as progressTemplate,
19428
- Ds as props,
19429
- _s as provideConfig,
19430
- ys as provideHttp,
19431
- Vs as provideRX,
19430
+ Ls as onAction,
19431
+ tn as onThemeChange,
19432
+ ms as pageHeaderStyles,
19433
+ cs as pageHeaderTemplate,
19434
+ fi as paginationStyles,
19435
+ bi as paginationTemplate,
19436
+ Sl as portalDirective,
19437
+ Il as primitiveColors,
19438
+ eo as progressStyles,
19439
+ Za as progressTemplate,
19440
+ Ms as props,
19441
+ xs as provideConfig,
19442
+ ws as provideHttp,
19443
+ Fs as provideRX,
19432
19444
  he as registerAttributeDirective,
19433
19445
  Le as render,
19434
19446
  $ as repeat,
19435
- js as repeatRaw,
19436
- mn as resetStyles,
19437
- hl as routerLinkDirective,
19438
- za as selectStyles,
19439
- Sa as selectTemplate,
19447
+ qs as repeatRaw,
19448
+ hn as resetStyles,
19449
+ pl as routerLinkDirective,
19450
+ Aa as selectStyles,
19451
+ Ea as selectTemplate,
19440
19452
  Ye as setActiveEffect,
19441
- Ol as shadowTokens,
19453
+ Nl as shadowTokens,
19442
19454
  ae as shift,
19443
- xi as sidebarGroupStyles,
19444
- yi as sidebarGroupTemplate,
19445
- ki as sidebarItemStyles,
19446
- wi as sidebarItemTemplate,
19447
- _i as sidebarStyles,
19448
- bi as sidebarTemplate,
19455
+ ki as sidebarGroupStyles,
19456
+ wi as sidebarGroupTemplate,
19457
+ Ci as sidebarItemStyles,
19458
+ $i as sidebarItemTemplate,
19459
+ xi as sidebarStyles,
19460
+ _i as sidebarTemplate,
19449
19461
  P as signal,
19450
- hs as signupPageStyles,
19451
- us as signupPageTemplate,
19452
- Da as sliderStyles,
19453
- Aa as sliderTemplate,
19454
- Ml as spacingTokens,
19455
- ji as stepPanelStyles,
19456
- Vi as stepPanelTemplate,
19457
- Li as stepStyles,
19458
- Ai as stepTemplate,
19459
- zi as stepsStyles,
19460
- $i as stepsTemplate,
19462
+ vs as signupPageStyles,
19463
+ ps as signupPageTemplate,
19464
+ Ia as sliderStyles,
19465
+ Da as sliderTemplate,
19466
+ Pl as spacingTokens,
19467
+ qi as stepPanelStyles,
19468
+ Fi as stepPanelTemplate,
19469
+ ji as stepStyles,
19470
+ Ii as stepTemplate,
19471
+ Di as stepsStyles,
19472
+ Si as stepsTemplate,
19461
19473
  G as styleMap,
19462
- ci as tabPanelStyles,
19463
- di as tabPanelTemplate,
19464
- ni as tabStyles,
19465
- si as tabTemplate,
19466
- Eo as tableStyles,
19467
- So as tableTemplate,
19468
- ii as tabsStyles,
19469
- ai as tabsTemplate,
19470
- Ua as toastContainerStyles,
19471
- Ga as toastContainerTemplate,
19472
- Wa as toastStyles,
19473
- Ka as toastTemplate,
19474
- en as toggleTheme,
19475
- Fl as tokensToCss,
19476
- ta as tooltipDirective,
19477
- Ll as transitionTokens,
19478
- Pl as typographyTokens,
19479
- Rs as unregisterAttributeDirective,
19480
- Fs as unsafeHTML,
19481
- un as visuallyHiddenStyles,
19474
+ ui as tabPanelStyles,
19475
+ mi as tabPanelTemplate,
19476
+ ci as tabStyles,
19477
+ di as tabTemplate,
19478
+ Ro as tableStyles,
19479
+ Eo as tableTemplate,
19480
+ ni as tabsStyles,
19481
+ ii as tabsTemplate,
19482
+ Ya as toastContainerStyles,
19483
+ Ua as toastContainerTemplate,
19484
+ Ga as toastStyles,
19485
+ Wa as toastTemplate,
19486
+ rn as toggleTheme,
19487
+ ql as tokensToCss,
19488
+ ra as tooltipDirective,
19489
+ Vl as transitionTokens,
19490
+ Ol as typographyTokens,
19491
+ zs as unregisterAttributeDirective,
19492
+ Bs as unsafeHTML,
19493
+ pn as visuallyHiddenStyles,
19482
19494
  d as when
19483
19495
  };