@melodicdev/components 1.0.19 → 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,10 +10360,10 @@ 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,
@@ -10457,7 +10457,7 @@ function So(e) {
10457
10457
  "ml-table__td": !0,
10458
10458
  [`ml-table__td--${a.align ?? "left"}`]: !0
10459
10459
  })}>
10460
- ${Co(a, t, l)}
10460
+ ${So(a, t, l)}
10461
10461
  </td>
10462
10462
  `)}
10463
10463
  </tr>
@@ -10481,7 +10481,7 @@ function So(e) {
10481
10481
  </div>
10482
10482
  `;
10483
10483
  }
10484
- const Eo = () => y`
10484
+ const Ro = () => y`
10485
10485
  :host {
10486
10486
  display: block;
10487
10487
  }
@@ -10724,6 +10724,10 @@ const Eo = () => y`
10724
10724
  padding: var(--ml-space-2) var(--ml-space-4);
10725
10725
  }
10726
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
+ };
10727
10731
  var Vt = class {
10728
10732
  constructor() {
10729
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) => {
@@ -10757,8 +10761,7 @@ var Vt = class {
10757
10761
  (t === "rows" || t === "columns") && this._scroller.invalidate();
10758
10762
  }
10759
10763
  onInit() {
10760
- const t = this.elementRef.addEventListener.bind(this.elementRef);
10761
- this.elementRef.addEventListener = (r, l, a) => (r === "ml:row-click" && (this._rowClickable = !0), t(r, l, a));
10764
+ this._rowClickable = Fr.has(this.elementRef);
10762
10765
  }
10763
10766
  onCreate() {
10764
10767
  const t = this.elementRef.shadowRoot;
@@ -10834,8 +10837,8 @@ var Vt = class {
10834
10837
  };
10835
10838
  Vt = g([_({
10836
10839
  selector: "ml-table",
10837
- template: So,
10838
- styles: Eo,
10840
+ template: Eo,
10841
+ styles: Ro,
10839
10842
  attributes: [
10840
10843
  "selectable",
10841
10844
  "striped",
@@ -10847,12 +10850,12 @@ Vt = g([_({
10847
10850
  "virtual"
10848
10851
  ]
10849
10852
  })], Vt);
10850
- function Ro(e, t, r) {
10853
+ function zo(e, t, r) {
10851
10854
  if (e.render) return e.render(t[e.key], t, r);
10852
10855
  const l = t[e.key];
10853
10856
  return l ?? "";
10854
10857
  }
10855
- function To(e) {
10858
+ function Ao(e) {
10856
10859
  const t = e.gridTemplateColumns, r = e.totalGridWidth;
10857
10860
  return i`
10858
10861
  <div class=${v({
@@ -10999,7 +11002,7 @@ function To(e) {
10999
11002
  })}
11000
11003
  style=${o.pinned === "left" ? `left: ${e.getPinnedLeftOffset(o.key)}px` : ""}
11001
11004
  >
11002
- ${Ro(o, l, e.startIndex + a)}
11005
+ ${zo(o, l, e.startIndex + a)}
11003
11006
  </div>
11004
11007
  `)}
11005
11008
  </div>
@@ -11054,7 +11057,7 @@ function To(e) {
11054
11057
  </div>
11055
11058
  `;
11056
11059
  }
11057
- const zo = () => y`
11060
+ const Do = () => y`
11058
11061
  :host {
11059
11062
  display: flex;
11060
11063
  flex-direction: column;
@@ -11754,8 +11757,8 @@ var jt = class {
11754
11757
  };
11755
11758
  jt = g([_({
11756
11759
  selector: "ml-data-grid",
11757
- template: To,
11758
- styles: zo,
11760
+ template: Ao,
11761
+ styles: Do,
11759
11762
  attributes: [
11760
11763
  "selectable",
11761
11764
  "striped",
@@ -11769,7 +11772,7 @@ jt = g([_({
11769
11772
  "show-filter-row"
11770
11773
  ]
11771
11774
  })], jt);
11772
- var Ao = [
11775
+ var Io = [
11773
11776
  "January",
11774
11777
  "February",
11775
11778
  "March",
@@ -11795,7 +11798,7 @@ var Ao = [
11795
11798
  "Oct",
11796
11799
  "Nov",
11797
11800
  "Dec"
11798
- ], Fr = [
11801
+ ], qr = [
11799
11802
  "Sunday",
11800
11803
  "Monday",
11801
11804
  "Tuesday",
@@ -11819,11 +11822,11 @@ function Ft(e) {
11819
11822
  const [t, r, l] = e.split("T")[0].split("-").map(Number);
11820
11823
  return new Date(t, r - 1, l);
11821
11824
  }
11822
- function Do(e, t) {
11825
+ function Mo(e, t) {
11823
11826
  return e.getFullYear() === t.getFullYear() && e.getMonth() === t.getMonth() && e.getDate() === t.getDate();
11824
11827
  }
11825
- function qr(e) {
11826
- return Do(e, /* @__PURE__ */ new Date());
11828
+ function Br(e) {
11829
+ return Mo(e, /* @__PURE__ */ new Date());
11827
11830
  }
11828
11831
  function K(e, t) {
11829
11832
  const r = new Date(e);
@@ -11833,11 +11836,11 @@ function qt(e, t) {
11833
11836
  const r = new Date(e);
11834
11837
  return r.setMonth(r.getMonth() + t), r;
11835
11838
  }
11836
- function Br(e, t = 0) {
11839
+ function Hr(e, t = 0) {
11837
11840
  const r = new Date(e), l = (r.getDay() - t + 7) % 7;
11838
11841
  return r.setDate(r.getDate() - l), r;
11839
11842
  }
11840
- function Io(e) {
11843
+ function Po(e) {
11841
11844
  const t = new Date(Date.UTC(e.getFullYear(), e.getMonth(), e.getDate()));
11842
11845
  t.setUTCDate(t.getUTCDate() + 4 - (t.getUTCDay() || 7));
11843
11846
  const r = new Date(Date.UTC(t.getUTCFullYear(), 0, 1));
@@ -11848,9 +11851,9 @@ function B(e) {
11848
11851
  return l === 0 ? `${o} ${a}` : `${o}:${String(l).padStart(2, "0")} ${a}`;
11849
11852
  }
11850
11853
  function Bt(e) {
11851
- return `${Ao[e.getMonth()]} ${e.getFullYear()}`;
11854
+ return `${Io[e.getMonth()]} ${e.getFullYear()}`;
11852
11855
  }
11853
- function Mo(e, t) {
11856
+ function Oo(e, t) {
11854
11857
  const r = Re[e.getMonth()], l = Re[t.getMonth()];
11855
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()}`;
11856
11859
  }
@@ -11895,8 +11898,8 @@ function Ht(e, t, r = 0) {
11895
11898
  }
11896
11899
  return c;
11897
11900
  }
11898
- function Po(e, t = 0) {
11899
- const r = Br(e, t);
11901
+ function No(e, t = 0) {
11902
+ const r = Hr(e, t);
11900
11903
  return Array.from({ length: 7 }, (l, a) => K(r, a));
11901
11904
  }
11902
11905
  function Kt(e = 0) {
@@ -11904,18 +11907,18 @@ function Kt(e = 0) {
11904
11907
  const l = (e + r) % 7;
11905
11908
  return {
11906
11909
  short: Oe[l],
11907
- full: Fr[l]
11910
+ full: qr[l]
11908
11911
  };
11909
11912
  });
11910
11913
  }
11911
11914
  function ue(e, t) {
11912
11915
  return e.filter((r) => r.start.split("T")[0] === t);
11913
11916
  }
11914
- function Oo(e) {
11917
+ function Lo(e) {
11915
11918
  return Re[e.getMonth()];
11916
11919
  }
11917
- function No(e) {
11918
- return Fr[e.getDay()];
11920
+ function Vo(e) {
11921
+ return qr[e.getDay()];
11919
11922
  }
11920
11923
  function M(e) {
11921
11924
  const t = new Date(e);
@@ -11924,7 +11927,7 @@ function M(e) {
11924
11927
  function Wt(e) {
11925
11928
  return Math.floor(e / 30) + 1;
11926
11929
  }
11927
- function Hr(e) {
11930
+ function Kr(e) {
11928
11931
  if (e.length === 0) return [];
11929
11932
  const t = [...e].sort((n, c) => {
11930
11933
  const m = M(n.start), u = M(c.start);
@@ -11967,7 +11970,7 @@ function Hr(e) {
11967
11970
  }
11968
11971
  return s;
11969
11972
  }
11970
- function Lo() {
11973
+ function jo() {
11971
11974
  const e = [];
11972
11975
  for (let t = 0; t < 24; t++) for (let r = 0; r < 60; r += 30) {
11973
11976
  const l = t >= 12 ? "PM" : "AM", a = t % 12 || 12, o = r === 0 ? `${a} ${l}` : "";
@@ -11979,29 +11982,29 @@ function Lo() {
11979
11982
  }
11980
11983
  return e;
11981
11984
  }
11982
- function Vo(e, t, r) {
11983
- return Po(e, t).map((l) => {
11985
+ function Fo(e, t, r) {
11986
+ return No(e, t).map((l) => {
11984
11987
  const a = N(l.getFullYear(), l.getMonth(), l.getDate()), o = ue(r, a).filter((s) => !s.allDay);
11985
11988
  return {
11986
11989
  date: a,
11987
11990
  dayLabel: Oe[l.getDay()],
11988
11991
  dayNumber: l.getDate(),
11989
- isToday: qr(l),
11990
- events: Hr(o)
11992
+ isToday: Br(l),
11993
+ events: Kr(o)
11991
11994
  };
11992
11995
  });
11993
11996
  }
11994
- function jo(e, t) {
11997
+ function qo(e, t) {
11995
11998
  const r = N(e.getFullYear(), e.getMonth(), e.getDate()), l = ue(t, r).filter((a) => !a.allDay);
11996
11999
  return {
11997
12000
  date: r,
11998
12001
  dayLabel: Oe[e.getDay()],
11999
12002
  dayNumber: e.getDate(),
12000
- isToday: qr(e),
12001
- events: Hr(l)
12003
+ isToday: Br(e),
12004
+ events: Kr(l)
12002
12005
  };
12003
12006
  }
12004
- function Fo(e, t, r) {
12007
+ function Bo(e, t, r) {
12005
12008
  const l = /* @__PURE__ */ new Set(), a = new Date(e, t + 1, 0).getDate();
12006
12009
  for (let o = 1; o <= a; o++) {
12007
12010
  const s = N(e, t, o);
@@ -12009,12 +12012,12 @@ function Fo(e, t, r) {
12009
12012
  }
12010
12013
  return l;
12011
12014
  }
12012
- var qo = {
12015
+ var Ho = {
12013
12016
  month: "Month view",
12014
12017
  week: "Week view",
12015
12018
  day: "Day view"
12016
12019
  };
12017
- function Bo(e) {
12020
+ function Ko(e) {
12018
12021
  return i`
12019
12022
  <div class="ml-cv__today-badge">
12020
12023
  <span class="ml-cv__today-badge-month">${e.todayMonthAbbrev}</span>
@@ -12029,7 +12032,7 @@ function Bo(e) {
12029
12032
  </div>
12030
12033
  `;
12031
12034
  }
12032
- function Ho(e) {
12035
+ function Wo(e) {
12033
12036
  return i`
12034
12037
  ${d(!e.hideNav, () => i`
12035
12038
  <div class="ml-cv__nav-group">
@@ -12054,7 +12057,7 @@ function Ho(e) {
12054
12057
  })}
12055
12058
  @click=${e.toggleViewDropdown}
12056
12059
  >
12057
- ${qo[e.view]}
12060
+ ${Ho[e.view]}
12058
12061
  <ml-icon icon="caret-down" size="xs"></ml-icon>
12059
12062
  </button>
12060
12063
  ${d(e.isViewDropdownOpen, () => i`
@@ -12102,20 +12105,20 @@ function Ho(e) {
12102
12105
  `)}
12103
12106
  `;
12104
12107
  }
12105
- function Ko(e) {
12108
+ function Go(e) {
12106
12109
  return i`
12107
12110
  <div class="ml-cv__header">
12108
12111
  <div class="ml-cv__header-left">
12109
- ${d(e.hasHeaderLeftSlot, () => i`<slot name="header-left"></slot>`, () => Bo(e))}
12112
+ ${d(e.hasHeaderLeftSlot, () => i`<slot name="header-left"></slot>`, () => Ko(e))}
12110
12113
  </div>
12111
12114
 
12112
12115
  <div class="ml-cv__header-right">
12113
- ${d(e.hasHeaderActionsSlot, () => i`<slot name="header-actions"></slot>`, () => Ho(e))}
12116
+ ${d(e.hasHeaderActionsSlot, () => i`<slot name="header-actions"></slot>`, () => Wo(e))}
12114
12117
  </div>
12115
12118
  </div>
12116
12119
  `;
12117
12120
  }
12118
- function Wo(e, t) {
12121
+ function Uo(e, t) {
12119
12122
  const r = t.color || "blue";
12120
12123
  return i`
12121
12124
  <div
@@ -12134,7 +12137,7 @@ function Wo(e, t) {
12134
12137
  </div>
12135
12138
  `;
12136
12139
  }
12137
- function Go(e) {
12140
+ function Yo(e) {
12138
12141
  const t = e.weekdayHeaders, r = e.monthGrid, l = (/* @__PURE__ */ new Date()).getDay(), a = e.weekStartsOn;
12139
12142
  return i`
12140
12143
  <div class="ml-cv__month">
@@ -12167,7 +12170,7 @@ function Go(e) {
12167
12170
  })}>${o.date}</div>
12168
12171
 
12169
12172
  <div class="ml-cv__day-events">
12170
- ${$(s, (c) => c.id, (c) => Wo(e, c))}
12173
+ ${$(s, (c) => c.id, (c) => Uo(e, c))}
12171
12174
  ${d(n > 0, () => i`
12172
12175
  <button
12173
12176
  type="button"
@@ -12194,7 +12197,7 @@ function Go(e) {
12194
12197
  </div>
12195
12198
  `;
12196
12199
  }
12197
- function Uo(e, t, r) {
12200
+ function Xo(e, t, r) {
12198
12201
  const l = t.event.color || "blue";
12199
12202
  return i`
12200
12203
  <div
@@ -12212,7 +12215,7 @@ function Uo(e, t, r) {
12212
12215
  </div>
12213
12216
  `;
12214
12217
  }
12215
- function Yo(e) {
12218
+ function Jo(e) {
12216
12219
  const t = e.weekColumns, r = e.timeSlots;
12217
12220
  return i`
12218
12221
  <div class="ml-cv__time-layout">
@@ -12259,13 +12262,13 @@ function Yo(e) {
12259
12262
  ${$(t.flatMap((l, a) => l.events.map((o) => ({
12260
12263
  pe: o,
12261
12264
  colIdx: a
12262
- }))), (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))}
12263
12266
  </div>
12264
12267
  </div>
12265
12268
  </div>
12266
12269
  `;
12267
12270
  }
12268
- function Xo(e, t) {
12271
+ function Qo(e, t) {
12269
12272
  const r = t.event.color || "blue";
12270
12273
  return i`
12271
12274
  <div
@@ -12283,7 +12286,7 @@ function Xo(e, t) {
12283
12286
  </div>
12284
12287
  `;
12285
12288
  }
12286
- function Jo(e) {
12289
+ function Zo(e) {
12287
12290
  const t = e.miniCalendarGrid, r = e.miniCalendarWeekdays, l = e.miniCalendarDots, a = e.currentIsoDate;
12288
12291
  return i`
12289
12292
  <div class="ml-cv__mini-cal">
@@ -12325,7 +12328,7 @@ function Jo(e) {
12325
12328
  </div>
12326
12329
  `;
12327
12330
  }
12328
- function Qo(e) {
12331
+ function ei(e) {
12329
12332
  const t = e.dayEvents;
12330
12333
  return i`
12331
12334
  <div class="ml-cv__sidebar-title">Events for ${e.dayViewDateLabel}</div>
@@ -12349,7 +12352,7 @@ function Qo(e) {
12349
12352
  `)}
12350
12353
  `;
12351
12354
  }
12352
- function Zo(e) {
12355
+ function ti(e) {
12353
12356
  const t = e.dayColumn, r = e.timeSlots;
12354
12357
  return i`
12355
12358
  <div class="ml-cv__day-layout">
@@ -12385,30 +12388,30 @@ function Zo(e) {
12385
12388
  `)}
12386
12389
 
12387
12390
  <!-- Events -->
12388
- ${$(t.events, (l) => l.event.id, (l) => Xo(e, l))}
12391
+ ${$(t.events, (l) => l.event.id, (l) => Qo(e, l))}
12389
12392
  </div>
12390
12393
  </div>
12391
12394
  </div>
12392
12395
  </div>
12393
12396
 
12394
12397
  <div class="ml-cv__day-sidebar">
12395
- ${Jo(e)}
12396
- ${Qo(e)}
12398
+ ${Zo(e)}
12399
+ ${ei(e)}
12397
12400
  </div>
12398
12401
  </div>
12399
12402
  `;
12400
12403
  }
12401
- function ei(e) {
12404
+ function ri(e) {
12402
12405
  return i`
12403
12406
  <div class="ml-cv">
12404
- ${Ko(e)}
12405
- ${d(e.view === "month", () => Go(e))}
12406
- ${d(e.view === "week", () => Yo(e))}
12407
- ${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))}
12408
12411
  </div>
12409
12412
  `;
12410
12413
  }
12411
- const ti = () => y`
12414
+ const li = () => y`
12412
12415
  :host {
12413
12416
  display: block;
12414
12417
  font-family: var(--ml-font-sans);
@@ -13266,7 +13269,7 @@ var Gt = class {
13266
13269
  }
13267
13270
  }
13268
13271
  get todayMonthAbbrev() {
13269
- return Oo(/* @__PURE__ */ new Date());
13272
+ return Lo(/* @__PURE__ */ new Date());
13270
13273
  }
13271
13274
  get todayDayNumber() {
13272
13275
  return (/* @__PURE__ */ new Date()).getDate();
@@ -13275,15 +13278,15 @@ var Gt = class {
13275
13278
  return Bt(this._currentDate);
13276
13279
  }
13277
13280
  get weekNumber() {
13278
- return Io(this._currentDate);
13281
+ return Po(this._currentDate);
13279
13282
  }
13280
13283
  get headerSubtitle() {
13281
13284
  if (this.view === "month") return `Week ${this.weekNumber}`;
13282
13285
  if (this.view === "week") {
13283
- const t = Br(this._currentDate, this.weekStartsOn);
13284
- return Mo(t, K(t, 6));
13286
+ const t = Hr(this._currentDate, this.weekStartsOn);
13287
+ return Oo(t, K(t, 6));
13285
13288
  }
13286
- return No(this._currentDate);
13289
+ return Vo(this._currentDate);
13287
13290
  }
13288
13291
  get currentIsoDate() {
13289
13292
  const t = this._currentDate;
@@ -13298,13 +13301,13 @@ var Gt = class {
13298
13301
  return r;
13299
13302
  }
13300
13303
  get weekColumns() {
13301
- return Vo(this._currentDate, this.weekStartsOn, this.events);
13304
+ return Fo(this._currentDate, this.weekStartsOn, this.events);
13302
13305
  }
13303
13306
  get timeSlots() {
13304
- return Lo();
13307
+ return jo();
13305
13308
  }
13306
13309
  get dayColumn() {
13307
- return jo(this._currentDate, this.events);
13310
+ return qo(this._currentDate, this.events);
13308
13311
  }
13309
13312
  get dayEvents() {
13310
13313
  return ue(this.events, this.currentIsoDate);
@@ -13326,7 +13329,7 @@ var Gt = class {
13326
13329
  return Ht(this._miniCalYear, this._miniCalMonth, this.weekStartsOn);
13327
13330
  }
13328
13331
  get miniCalendarDots() {
13329
- return Fo(this._miniCalYear, this._miniCalMonth, this.events);
13332
+ return Bo(this._miniCalYear, this._miniCalMonth, this.events);
13330
13333
  }
13331
13334
  setDate(t) {
13332
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", {
@@ -13338,8 +13341,8 @@ var Gt = class {
13338
13341
  };
13339
13342
  Gt = g([_({
13340
13343
  selector: "ml-calendar-view",
13341
- template: ei,
13342
- styles: ti,
13344
+ template: ri,
13345
+ styles: li,
13343
13346
  attributes: [
13344
13347
  "view",
13345
13348
  "date",
@@ -13352,7 +13355,7 @@ Gt = g([_({
13352
13355
  "hide-add-button"
13353
13356
  ]
13354
13357
  })], Gt);
13355
- 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`
13356
13359
  :host {
13357
13360
  display: inline-flex;
13358
13361
  align-items: center;
@@ -13387,15 +13390,15 @@ var Ut = class {
13387
13390
  };
13388
13391
  Ut = g([_({
13389
13392
  selector: "ml-icon",
13390
- template: ri,
13391
- styles: li,
13393
+ template: ai,
13394
+ styles: oi,
13392
13395
  attributes: [
13393
13396
  "icon",
13394
13397
  "format",
13395
13398
  "size"
13396
13399
  ]
13397
13400
  })], Ut);
13398
- function ai(e) {
13401
+ function ii(e) {
13399
13402
  const t = e.tabs.length > 0;
13400
13403
  return i`
13401
13404
  <div
@@ -13412,7 +13415,7 @@ function ai(e) {
13412
13415
  aria-orientation=${e.orientation}
13413
13416
  @keydown=${e.handleKeyDown}
13414
13417
  >
13415
- ${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>`}
13416
13419
  </div>
13417
13420
 
13418
13421
  <div class="ml-tabs__panels">
@@ -13421,7 +13424,7 @@ function ai(e) {
13421
13424
  </div>
13422
13425
  `;
13423
13426
  }
13424
- function oi(e, t) {
13427
+ function si(e, t) {
13425
13428
  const r = e.value === t.value;
13426
13429
  return i`
13427
13430
  <button
@@ -13444,7 +13447,7 @@ function oi(e, t) {
13444
13447
  </button>
13445
13448
  `;
13446
13449
  }
13447
- const ii = () => y`
13450
+ const ni = () => y`
13448
13451
  :host {
13449
13452
  display: block;
13450
13453
  width: 100%;
@@ -13786,8 +13789,8 @@ var Yt = class {
13786
13789
  };
13787
13790
  Yt = g([_({
13788
13791
  selector: "ml-tabs",
13789
- template: ai,
13790
- styles: ii,
13792
+ template: ii,
13793
+ styles: ni,
13791
13794
  attributes: [
13792
13795
  "value",
13793
13796
  "variant",
@@ -13796,7 +13799,7 @@ Yt = g([_({
13796
13799
  "routed"
13797
13800
  ]
13798
13801
  })], Yt);
13799
- function si(e) {
13802
+ function di(e) {
13800
13803
  return i`
13801
13804
  <button
13802
13805
  type="button"
@@ -13818,7 +13821,7 @@ function si(e) {
13818
13821
  </button>
13819
13822
  `;
13820
13823
  }
13821
- const ni = () => y`
13824
+ const ci = () => y`
13822
13825
  :host {
13823
13826
  display: contents;
13824
13827
  }
@@ -13879,8 +13882,8 @@ var Xt = class {
13879
13882
  };
13880
13883
  Xt = g([_({
13881
13884
  selector: "ml-tab",
13882
- template: si,
13883
- styles: ni,
13885
+ template: di,
13886
+ styles: ci,
13884
13887
  attributes: [
13885
13888
  "value",
13886
13889
  "label",
@@ -13890,14 +13893,14 @@ Xt = g([_({
13890
13893
  "href"
13891
13894
  ]
13892
13895
  })], Xt);
13893
- function di(e) {
13896
+ function mi(e) {
13894
13897
  return i`
13895
13898
  <div class="ml-tab-panel" role="tabpanel">
13896
13899
  <slot></slot>
13897
13900
  </div>
13898
13901
  `;
13899
13902
  }
13900
- const ci = () => y`
13903
+ const ui = () => y`
13901
13904
  :host {
13902
13905
  display: block;
13903
13906
  }
@@ -13922,11 +13925,11 @@ var Jt = class {
13922
13925
  };
13923
13926
  Jt = g([_({
13924
13927
  selector: "ml-tab-panel",
13925
- template: di,
13926
- styles: ci,
13928
+ template: mi,
13929
+ styles: ui,
13927
13930
  attributes: ["value"]
13928
13931
  })], Jt);
13929
- function mi(e) {
13932
+ function hi(e) {
13930
13933
  return i`
13931
13934
  <nav class="ml-breadcrumb" aria-label="Breadcrumb">
13932
13935
  <ol class="ml-breadcrumb__list">
@@ -13935,7 +13938,7 @@ function mi(e) {
13935
13938
  </nav>
13936
13939
  `;
13937
13940
  }
13938
- const ui = () => y`
13941
+ const pi = () => y`
13939
13942
  :host {
13940
13943
  display: block;
13941
13944
  }
@@ -13957,11 +13960,11 @@ var Qt = class {
13957
13960
  };
13958
13961
  Qt = g([_({
13959
13962
  selector: "ml-breadcrumb",
13960
- template: mi,
13961
- styles: ui,
13963
+ template: hi,
13964
+ styles: pi,
13962
13965
  attributes: ["separator"]
13963
13966
  })], Qt);
13964
- function hi(e) {
13967
+ function vi(e) {
13965
13968
  const t = e.separator === "slash" ? "slash-forward" : "caret-right";
13966
13969
  return i`
13967
13970
  <li
@@ -13987,7 +13990,7 @@ function hi(e) {
13987
13990
  </li>
13988
13991
  `;
13989
13992
  }
13990
- const pi = () => y`
13993
+ const gi = () => y`
13991
13994
  :host {
13992
13995
  display: contents;
13993
13996
  }
@@ -14055,8 +14058,8 @@ var Zt = class {
14055
14058
  };
14056
14059
  Zt = g([_({
14057
14060
  selector: "ml-breadcrumb-item",
14058
- template: hi,
14059
- styles: pi,
14061
+ template: vi,
14062
+ styles: gi,
14060
14063
  attributes: [
14061
14064
  "href",
14062
14065
  "icon",
@@ -14064,7 +14067,7 @@ Zt = g([_({
14064
14067
  "separator"
14065
14068
  ]
14066
14069
  })], Zt);
14067
- function vi(e) {
14070
+ function bi(e) {
14068
14071
  return i`
14069
14072
  <nav class="ml-pagination" aria-label="Pagination">
14070
14073
  <button
@@ -14114,7 +14117,7 @@ function vi(e) {
14114
14117
  </nav>
14115
14118
  `;
14116
14119
  }
14117
- const gi = () => y`
14120
+ const fi = () => y`
14118
14121
  :host {
14119
14122
  display: block;
14120
14123
  }
@@ -14246,15 +14249,15 @@ var er = class {
14246
14249
  };
14247
14250
  er = g([_({
14248
14251
  selector: "ml-pagination",
14249
- template: vi,
14250
- styles: gi,
14252
+ template: bi,
14253
+ styles: fi,
14251
14254
  attributes: [
14252
14255
  "page",
14253
14256
  "total-pages",
14254
14257
  "siblings"
14255
14258
  ]
14256
14259
  })], er);
14257
- function bi(e) {
14260
+ function _i(e) {
14258
14261
  const t = e.navigation.length > 0, r = e.footerNavigation.length > 0, l = e.collapsed;
14259
14262
  return i`
14260
14263
  <aside
@@ -14277,7 +14280,7 @@ function bi(e) {
14277
14280
  `)}
14278
14281
 
14279
14282
  <div class="ml-sidebar__main">
14280
- ${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>`}
14281
14284
  </div>
14282
14285
 
14283
14286
  <div class="ml-sidebar__footer">
@@ -14306,7 +14309,7 @@ function bi(e) {
14306
14309
  </aside>
14307
14310
  `;
14308
14311
  }
14309
- function fi(e, t) {
14312
+ function yi(e, t) {
14310
14313
  const r = e.collapsed;
14311
14314
  return i`
14312
14315
  <div class="ml-sidebar__group">
@@ -14389,7 +14392,7 @@ function Ne(e, t, r) {
14389
14392
  </div>
14390
14393
  `;
14391
14394
  }
14392
- const _i = () => y`
14395
+ const xi = () => y`
14393
14396
  :host {
14394
14397
  display: block;
14395
14398
  height: 100%;
@@ -14774,11 +14777,11 @@ var tr = class {
14774
14777
  };
14775
14778
  tr = g([_({
14776
14779
  selector: "ml-sidebar",
14777
- template: bi,
14778
- styles: _i,
14780
+ template: _i,
14781
+ styles: xi,
14779
14782
  attributes: ["variant", "active"]
14780
14783
  })], tr);
14781
- function yi(e) {
14784
+ function wi(e) {
14782
14785
  return i`
14783
14786
  <div class="ml-sidebar-group">
14784
14787
  ${d(!!e.label && !e.collapsed, () => i`
@@ -14790,7 +14793,7 @@ function yi(e) {
14790
14793
  </div>
14791
14794
  `;
14792
14795
  }
14793
- const xi = () => y`
14796
+ const ki = () => y`
14794
14797
  :host {
14795
14798
  display: block;
14796
14799
  }
@@ -14825,11 +14828,11 @@ var rr = class {
14825
14828
  };
14826
14829
  rr = g([_({
14827
14830
  selector: "ml-sidebar-group",
14828
- template: yi,
14829
- styles: xi,
14831
+ template: wi,
14832
+ styles: ki,
14830
14833
  attributes: ["label", "collapsed"]
14831
14834
  })], rr);
14832
- function wi(e) {
14835
+ function $i(e) {
14833
14836
  const t = parseInt(e.level, 10) || 0, r = e.collapsed, l = i`
14834
14837
  <div class="ml-sidebar-item__leading">
14835
14838
  <slot name="leading">
@@ -14900,7 +14903,7 @@ function wi(e) {
14900
14903
  </div>
14901
14904
  `;
14902
14905
  }
14903
- const ki = () => y`
14906
+ const Ci = () => y`
14904
14907
  :host {
14905
14908
  display: block;
14906
14909
  }
@@ -15082,8 +15085,8 @@ var lr = class {
15082
15085
  };
15083
15086
  lr = g([_({
15084
15087
  selector: "ml-sidebar-item",
15085
- template: wi,
15086
- styles: ki,
15088
+ template: $i,
15089
+ styles: Ci,
15087
15090
  attributes: [
15088
15091
  "icon",
15089
15092
  "label",
@@ -15099,7 +15102,7 @@ lr = g([_({
15099
15102
  "level"
15100
15103
  ]
15101
15104
  })], lr);
15102
- function $i(e) {
15105
+ function Si(e) {
15103
15106
  const t = e.steps.length > 0, r = e.compact;
15104
15107
  return i`
15105
15108
  <div
@@ -15116,7 +15119,7 @@ function $i(e) {
15116
15119
  aria-orientation=${e.orientation}
15117
15120
  @keydown=${e.handleKeyDown}
15118
15121
  >
15119
- ${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>`}
15120
15123
  </div>
15121
15124
 
15122
15125
  ${d(r, () => i`
@@ -15131,7 +15134,7 @@ function $i(e) {
15131
15134
  </div>
15132
15135
  `;
15133
15136
  }
15134
- function Ci(e, t, r) {
15137
+ function Ei(e, t, r) {
15135
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;
15136
15139
  return i`
15137
15140
  <div
@@ -15153,13 +15156,13 @@ function Ci(e, t, r) {
15153
15156
  tabindex=${s === "current" ? "0" : "-1"}
15154
15157
  @click=${() => e.handleStepClick(t.value, t.href)}
15155
15158
  >
15156
- ${d(n, () => Si(e, t))}
15157
- ${d(!n && !c, () => Ei(e, t, r, a, o, s))}
15158
- ${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))}
15159
15162
  </div>
15160
15163
  `;
15161
15164
  }
15162
- function Si(e, t) {
15165
+ function Ri(e, t) {
15163
15166
  return i`
15164
15167
  <div class="ml-step__bar"></div>
15165
15168
  <div class="ml-step__content">
@@ -15168,12 +15171,12 @@ function Si(e, t) {
15168
15171
  </div>
15169
15172
  `;
15170
15173
  }
15171
- function Ei(e, t, r, l, a, o) {
15174
+ function Ti(e, t, r, l, a, o) {
15172
15175
  return i`
15173
15176
  <div class="ml-step__track">
15174
15177
  <div class="ml-step__connector-before ${l ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15175
15178
  <div class="ml-step__indicator">
15176
- ${Ti(e, t, r, o)}
15179
+ ${Ai(e, t, r, o)}
15177
15180
  </div>
15178
15181
  <div class="ml-step__connector-after ${a ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15179
15182
  </div>
@@ -15183,10 +15186,10 @@ function Ei(e, t, r, l, a, o) {
15183
15186
  </div>
15184
15187
  `;
15185
15188
  }
15186
- function Ri(e, t) {
15189
+ function zi(e, t) {
15187
15190
  return i`<div class="ml-step__dot"></div>`;
15188
15191
  }
15189
- function Ti(e, t, r, l) {
15192
+ function Ai(e, t, r, l) {
15190
15193
  switch (e.variant) {
15191
15194
  case "numbered":
15192
15195
  return i`
@@ -15212,7 +15215,7 @@ function Ti(e, t, r, l) {
15212
15215
  return i``;
15213
15216
  }
15214
15217
  }
15215
- const zi = () => y`
15218
+ const Di = () => y`
15216
15219
  :host {
15217
15220
  display: block;
15218
15221
  width: 100%;
@@ -15862,8 +15865,8 @@ var ar = class {
15862
15865
  };
15863
15866
  ar = g([_({
15864
15867
  selector: "ml-steps",
15865
- template: $i,
15866
- styles: zi,
15868
+ template: Si,
15869
+ styles: Di,
15867
15870
  attributes: [
15868
15871
  "active",
15869
15872
  "variant",
@@ -15874,7 +15877,7 @@ ar = g([_({
15874
15877
  "routed"
15875
15878
  ]
15876
15879
  })], ar);
15877
- function Ai(e) {
15880
+ function Ii(e) {
15878
15881
  const t = e.variant === "bar", r = e.compact;
15879
15882
  return i`
15880
15883
  <div
@@ -15895,13 +15898,13 @@ function Ai(e) {
15895
15898
  tabindex=${e.status === "current" ? "0" : "-1"}
15896
15899
  @click=${e.handleClick}
15897
15900
  >
15898
- ${d(t, () => Di(e))}
15899
- ${d(!t && !r, () => Ii(e))}
15900
- ${d(!t && r, () => Mi(e))}
15901
+ ${d(t, () => Mi(e))}
15902
+ ${d(!t && !r, () => Pi(e))}
15903
+ ${d(!t && r, () => Oi(e))}
15901
15904
  </div>
15902
15905
  `;
15903
15906
  }
15904
- function Di(e) {
15907
+ function Mi(e) {
15905
15908
  return i`
15906
15909
  <div class="ml-step__bar"></div>
15907
15910
  <div class="ml-step__content">
@@ -15910,12 +15913,12 @@ function Di(e) {
15910
15913
  </div>
15911
15914
  `;
15912
15915
  }
15913
- function Ii(e) {
15916
+ function Pi(e) {
15914
15917
  return i`
15915
15918
  <div class="ml-step__track">
15916
15919
  <div class="ml-step__connector-before ${e.first ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15917
15920
  <div class="ml-step__indicator">
15918
- ${Pi(e)}
15921
+ ${Ni(e)}
15919
15922
  </div>
15920
15923
  <div class="ml-step__connector-after ${e.last ? "ml-step__connector--hidden" : `ml-step__connector--${e.connector}`}"></div>
15921
15924
  </div>
@@ -15925,19 +15928,19 @@ function Ii(e) {
15925
15928
  </div>
15926
15929
  `;
15927
15930
  }
15928
- function Mi(e) {
15931
+ function Oi(e) {
15929
15932
  return i`
15930
15933
  <div class="ml-step__dot"></div>
15931
15934
  `;
15932
15935
  }
15933
- function Pi(e) {
15936
+ function Ni(e) {
15934
15937
  switch (e.variant) {
15935
15938
  case "numbered":
15936
15939
  return or(e);
15937
15940
  case "circles":
15938
- return Oi(e);
15941
+ return Li(e);
15939
15942
  case "icons":
15940
- return Ni(e);
15943
+ return Vi(e);
15941
15944
  default:
15942
15945
  return or(e);
15943
15946
  }
@@ -15951,7 +15954,7 @@ function or(e) {
15951
15954
  </div>
15952
15955
  `;
15953
15956
  }
15954
- function Oi(e) {
15957
+ function Li(e) {
15955
15958
  const t = e.status === "completed";
15956
15959
  return i`
15957
15960
  <div class="ml-step__indicator-inner ml-step__indicator-inner--circles">
@@ -15960,14 +15963,14 @@ function Oi(e) {
15960
15963
  </div>
15961
15964
  `;
15962
15965
  }
15963
- function Ni(e) {
15966
+ function Vi(e) {
15964
15967
  return i`
15965
15968
  <div class="ml-step__indicator-inner ml-step__indicator-inner--icons">
15966
15969
  <ml-icon icon=${e.icon || "circle"} size="sm"></ml-icon>
15967
15970
  </div>
15968
15971
  `;
15969
15972
  }
15970
- const Li = () => y`
15973
+ const ji = () => y`
15971
15974
  :host {
15972
15975
  display: contents;
15973
15976
  }
@@ -16487,8 +16490,8 @@ var ir = class {
16487
16490
  };
16488
16491
  ir = g([_({
16489
16492
  selector: "ml-step",
16490
- template: Ai,
16491
- styles: Li,
16493
+ template: Ii,
16494
+ styles: ji,
16492
16495
  attributes: [
16493
16496
  "value",
16494
16497
  "label",
@@ -16506,14 +16509,14 @@ ir = g([_({
16506
16509
  "compact"
16507
16510
  ]
16508
16511
  })], ir);
16509
- function Vi(e) {
16512
+ function Fi(e) {
16510
16513
  return i`
16511
16514
  <div class="ml-step-panel" role="tabpanel">
16512
16515
  <slot></slot>
16513
16516
  </div>
16514
16517
  `;
16515
16518
  }
16516
- const ji = () => y`
16519
+ const qi = () => y`
16517
16520
  :host {
16518
16521
  display: block;
16519
16522
  }
@@ -16533,11 +16536,11 @@ var sr = class {
16533
16536
  };
16534
16537
  sr = g([_({
16535
16538
  selector: "ml-step-panel",
16536
- template: Vi,
16537
- styles: ji,
16539
+ template: Fi,
16540
+ styles: qi,
16538
16541
  attributes: ["value"]
16539
16542
  })], sr);
16540
- const Fi = () => i`<dialog class="ml-dialog">
16543
+ const Bi = () => i`<dialog class="ml-dialog">
16541
16544
  <div class="ml-dialog-header">
16542
16545
  <slot name="dialog-header"></slot>
16543
16546
  </div>
@@ -16549,7 +16552,7 @@ const Fi = () => i`<dialog class="ml-dialog">
16549
16552
  <div class="ml-dialog-footer">
16550
16553
  <slot name="dialog-footer"></slot>
16551
16554
  </div>
16552
- </dialog> `, qi = () => y`
16555
+ </dialog> `, Hi = () => y`
16553
16556
  :host {
16554
16557
  display: contents;
16555
16558
  }
@@ -16728,7 +16731,7 @@ const Fi = () => i`<dialog class="ml-dialog">
16728
16731
  }
16729
16732
  }
16730
16733
  `;
16731
- var Bi = class {
16734
+ var Ki = class {
16732
16735
  constructor(e, t) {
16733
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);
16734
16737
  }
@@ -16771,7 +16774,7 @@ var Bi = class {
16771
16774
  this._dialogs = /* @__PURE__ */ new Map();
16772
16775
  }
16773
16776
  addDialog(t, r) {
16774
- const l = new Bi(t, r);
16777
+ const l = new Ki(t, r);
16775
16778
  return this._dialogs.set(t, {
16776
16779
  dialogRef: l,
16777
16780
  dialogComponent: void 0
@@ -16808,7 +16811,7 @@ var Bi = class {
16808
16811
  Q = g([Z()], Q);
16809
16812
  var nr, Te = class {
16810
16813
  constructor() {
16811
- this._dialogID = Zl(), this._registered = !1;
16814
+ this._dialogID = ea(), this._registered = !1;
16812
16815
  }
16813
16816
  registerDialog() {
16814
16817
  if (this._registered) return;
@@ -16831,11 +16834,11 @@ var nr, Te = class {
16831
16834
  g([H(Q), j("design:type", typeof (nr = typeof Q < "u" && Q) == "function" ? nr : Object)], Te.prototype, "_dialogService", void 0);
16832
16835
  Te = g([_({
16833
16836
  selector: "ml-dialog",
16834
- template: Fi,
16835
- styles: qi,
16837
+ template: Bi,
16838
+ styles: Hi,
16836
16839
  attributes: []
16837
16840
  })], Te);
16838
- function Hi(e) {
16841
+ function Wi(e) {
16839
16842
  const t = e.side === "left" ? "left" : "right", r = e.size === "sm" || e.size === "md" || e.size === "lg" || e.size === "xl" ? e.size : "md";
16840
16843
  return i`
16841
16844
  <dialog
@@ -16870,7 +16873,7 @@ function Hi(e) {
16870
16873
  </dialog>
16871
16874
  `;
16872
16875
  }
16873
- const Ki = () => y`
16876
+ const Gi = () => y`
16874
16877
  :host {
16875
16878
  display: contents;
16876
16879
  }
@@ -17094,15 +17097,15 @@ var dr = class {
17094
17097
  };
17095
17098
  dr = g([_({
17096
17099
  selector: "ml-drawer",
17097
- template: Hi,
17098
- styles: Ki,
17100
+ template: Wi,
17101
+ styles: Gi,
17099
17102
  attributes: [
17100
17103
  "side",
17101
17104
  "size",
17102
17105
  "show-close"
17103
17106
  ]
17104
17107
  })], dr);
17105
- function Wi(e) {
17108
+ function Ui(e) {
17106
17109
  return i`
17107
17110
  <div class="ml-dropdown">
17108
17111
  <div class="ml-dropdown__trigger" @click=${e.toggle}>
@@ -17119,7 +17122,7 @@ function Wi(e) {
17119
17122
  </div>
17120
17123
  `;
17121
17124
  }
17122
- const Gi = () => y`
17125
+ const Yi = () => y`
17123
17126
  :host {
17124
17127
  display: inline-block;
17125
17128
  }
@@ -17374,15 +17377,15 @@ var cr = class {
17374
17377
  };
17375
17378
  cr = g([_({
17376
17379
  selector: "ml-dropdown",
17377
- template: Wi,
17378
- styles: Gi,
17380
+ template: Ui,
17381
+ styles: Yi,
17379
17382
  attributes: [
17380
17383
  "placement",
17381
17384
  "offset",
17382
17385
  "arrow"
17383
17386
  ]
17384
17387
  })], cr);
17385
- function Ui(e) {
17388
+ function Xi(e) {
17386
17389
  return i`
17387
17390
  <div
17388
17391
  class=${v({
@@ -17402,7 +17405,7 @@ function Ui(e) {
17402
17405
  </div>
17403
17406
  `;
17404
17407
  }
17405
- const Yi = () => y`
17408
+ const Ji = () => y`
17406
17409
  :host {
17407
17410
  display: block;
17408
17411
  }
@@ -17483,8 +17486,8 @@ var mr = class {
17483
17486
  };
17484
17487
  mr = g([_({
17485
17488
  selector: "ml-dropdown-item",
17486
- template: Ui,
17487
- styles: Yi,
17489
+ template: Xi,
17490
+ styles: Ji,
17488
17491
  attributes: [
17489
17492
  "value",
17490
17493
  "icon",
@@ -17493,10 +17496,10 @@ mr = g([_({
17493
17496
  "destructive"
17494
17497
  ]
17495
17498
  })], mr);
17496
- function Xi() {
17499
+ function Qi() {
17497
17500
  return i`<div class="ml-dropdown-separator" role="separator"></div>`;
17498
17501
  }
17499
- const Ji = () => y`
17502
+ const Zi = () => y`
17500
17503
  :host {
17501
17504
  display: block;
17502
17505
  }
@@ -17511,10 +17514,10 @@ var ur = class {
17511
17514
  };
17512
17515
  ur = g([_({
17513
17516
  selector: "ml-dropdown-separator",
17514
- template: Xi,
17515
- styles: Ji
17517
+ template: Qi,
17518
+ styles: Zi
17516
17519
  })], ur);
17517
- function Qi(e) {
17520
+ function es(e) {
17518
17521
  return i`
17519
17522
  <div class="ml-dropdown-group" role="group">
17520
17523
  ${d(!!e.label, () => i`<div class="ml-dropdown-group__label">${e.label}</div>`)}
@@ -17522,7 +17525,7 @@ function Qi(e) {
17522
17525
  </div>
17523
17526
  `;
17524
17527
  }
17525
- const Zi = () => y`
17528
+ const ts = () => y`
17526
17529
  :host {
17527
17530
  display: block;
17528
17531
  }
@@ -17544,11 +17547,11 @@ var hr = class {
17544
17547
  };
17545
17548
  hr = g([_({
17546
17549
  selector: "ml-dropdown-group",
17547
- template: Qi,
17548
- styles: Zi,
17550
+ template: es,
17551
+ styles: ts,
17549
17552
  attributes: ["label"]
17550
17553
  })], hr);
17551
- function es(e) {
17554
+ function rs(e) {
17552
17555
  return i`
17553
17556
  <div class="ml-tooltip">
17554
17557
  <div
@@ -17574,7 +17577,7 @@ function es(e) {
17574
17577
  </div>
17575
17578
  `;
17576
17579
  }
17577
- const ts = () => y`
17580
+ const ls = () => y`
17578
17581
  :host {
17579
17582
  display: inline-block;
17580
17583
  }
@@ -17675,15 +17678,15 @@ var pr = class {
17675
17678
  };
17676
17679
  pr = g([_({
17677
17680
  selector: "ml-tooltip",
17678
- template: es,
17679
- styles: ts,
17681
+ template: rs,
17682
+ styles: ls,
17680
17683
  attributes: [
17681
17684
  "content",
17682
17685
  "placement",
17683
17686
  "delay"
17684
17687
  ]
17685
17688
  })], pr);
17686
- function rs(e) {
17689
+ function as(e) {
17687
17690
  return i`
17688
17691
  <div class="ml-popover">
17689
17692
  <div class="ml-popover__trigger" @click=${e.toggle}>
@@ -17699,7 +17702,7 @@ function rs(e) {
17699
17702
  </div>
17700
17703
  `;
17701
17704
  }
17702
- const ls = () => y`
17705
+ const os = () => y`
17703
17706
  :host {
17704
17707
  display: inline-block;
17705
17708
  }
@@ -17842,8 +17845,8 @@ var vr = class {
17842
17845
  };
17843
17846
  vr = g([_({
17844
17847
  selector: "ml-popover",
17845
- template: rs,
17846
- styles: ls,
17848
+ template: as,
17849
+ styles: os,
17847
17850
  attributes: [
17848
17851
  "placement",
17849
17852
  "offset",
@@ -17851,7 +17854,7 @@ vr = g([_({
17851
17854
  "arrow"
17852
17855
  ]
17853
17856
  })], vr);
17854
- function as(e) {
17857
+ function is(e) {
17855
17858
  const t = e["sidebar-position"] === "right", r = e["sidebar-collapsed"], l = e["header-fixed"], a = e.mobileOpen, o = e.mobile;
17856
17859
  return i`
17857
17860
  <div
@@ -17906,7 +17909,7 @@ function as(e) {
17906
17909
  </div>
17907
17910
  `;
17908
17911
  }
17909
- const os = () => y`
17912
+ const ss = () => y`
17910
17913
  :host {
17911
17914
  display: block;
17912
17915
  height: 100%;
@@ -18114,15 +18117,15 @@ var gr = class {
18114
18117
  };
18115
18118
  gr = g([_({
18116
18119
  selector: "ml-app-shell",
18117
- template: as,
18118
- styles: os,
18120
+ template: is,
18121
+ styles: ss,
18119
18122
  attributes: [
18120
18123
  "sidebar-position",
18121
18124
  "sidebar-collapsed",
18122
18125
  "header-fixed"
18123
18126
  ]
18124
18127
  })], gr);
18125
- function is(e) {
18128
+ function ns(e) {
18126
18129
  const t = e.variant === "split" || e.variant === "split-reverse";
18127
18130
  return i`
18128
18131
  <section
@@ -18183,7 +18186,7 @@ function is(e) {
18183
18186
  </section>
18184
18187
  `;
18185
18188
  }
18186
- const ss = () => y`
18189
+ const ds = () => y`
18187
18190
  :host {
18188
18191
  display: block;
18189
18192
  width: 100%;
@@ -18455,8 +18458,8 @@ var br = class {
18455
18458
  };
18456
18459
  br = g([_({
18457
18460
  selector: "ml-hero-section",
18458
- template: is,
18459
- styles: ss,
18461
+ template: ns,
18462
+ styles: ds,
18460
18463
  attributes: [
18461
18464
  "variant",
18462
18465
  "size",
@@ -18465,7 +18468,7 @@ br = g([_({
18465
18468
  "description"
18466
18469
  ]
18467
18470
  })], br);
18468
- function ns(e) {
18471
+ function cs(e) {
18469
18472
  const t = !!(e.title || e.hasTitleSlot), r = !!(e.description || e.hasDescriptionSlot);
18470
18473
  return i`
18471
18474
  <header
@@ -18517,7 +18520,7 @@ function ns(e) {
18517
18520
  </header>
18518
18521
  `;
18519
18522
  }
18520
- const ds = () => y`
18523
+ const ms = () => y`
18521
18524
  :host {
18522
18525
  display: block;
18523
18526
  }
@@ -18713,8 +18716,8 @@ var fr = class {
18713
18716
  };
18714
18717
  fr = g([_({
18715
18718
  selector: "ml-page-header",
18716
- template: ns,
18717
- styles: ds,
18719
+ template: cs,
18720
+ styles: ms,
18718
18721
  attributes: [
18719
18722
  "variant",
18720
18723
  "divider",
@@ -18722,7 +18725,7 @@ fr = g([_({
18722
18725
  "description"
18723
18726
  ]
18724
18727
  })], fr);
18725
- function cs(e) {
18728
+ function us(e) {
18726
18729
  const t = e.variant === "split", r = i`
18727
18730
  <div class="ml-auth__logo">
18728
18731
  <slot name="logo"></slot>
@@ -18776,7 +18779,7 @@ function cs(e) {
18776
18779
  </div>
18777
18780
  `;
18778
18781
  }
18779
- const Kr = `
18782
+ const Wr = `
18780
18783
  /* ============================================
18781
18784
  AUTH LAYOUT - SHARED STYLES
18782
18785
  ============================================ */
@@ -18948,8 +18951,8 @@ const Kr = `
18948
18951
  padding: var(--ml-space-6);
18949
18952
  }
18950
18953
  }
18951
- `, ms = () => y`
18952
- ${Kr}
18954
+ `, hs = () => y`
18955
+ ${Wr}
18953
18956
  `;
18954
18957
  var _r = class {
18955
18958
  constructor() {
@@ -18966,15 +18969,15 @@ var _r = class {
18966
18969
  };
18967
18970
  _r = g([_({
18968
18971
  selector: "ml-login-page",
18969
- template: cs,
18970
- styles: ms,
18972
+ template: us,
18973
+ styles: hs,
18971
18974
  attributes: [
18972
18975
  "variant",
18973
18976
  "title",
18974
18977
  "description"
18975
18978
  ]
18976
18979
  })], _r);
18977
- function us(e) {
18980
+ function ps(e) {
18978
18981
  const t = e.variant === "split", r = i`
18979
18982
  <div class="ml-auth__logo">
18980
18983
  <slot name="logo"></slot>
@@ -19028,8 +19031,8 @@ function us(e) {
19028
19031
  </div>
19029
19032
  `;
19030
19033
  }
19031
- const hs = () => y`
19032
- ${Kr}
19034
+ const vs = () => y`
19035
+ ${Wr}
19033
19036
  `;
19034
19037
  var yr = class {
19035
19038
  constructor() {
@@ -19046,15 +19049,15 @@ var yr = class {
19046
19049
  };
19047
19050
  yr = g([_({
19048
19051
  selector: "ml-signup-page",
19049
- template: us,
19050
- styles: hs,
19052
+ template: ps,
19053
+ styles: vs,
19051
19054
  attributes: [
19052
19055
  "variant",
19053
19056
  "title",
19054
19057
  "description"
19055
19058
  ]
19056
19059
  })], yr);
19057
- function ps(e) {
19060
+ function gs(e) {
19058
19061
  const t = e.layout === "default" && e.hasAside;
19059
19062
  return i`
19060
19063
  <ml-app-shell>
@@ -19097,7 +19100,7 @@ function ps(e) {
19097
19100
  </ml-app-shell>
19098
19101
  `;
19099
19102
  }
19100
- const vs = () => y`
19103
+ const bs = () => y`
19101
19104
  :host {
19102
19105
  display: block;
19103
19106
  height: 100%;
@@ -19209,8 +19212,8 @@ var xr = class {
19209
19212
  };
19210
19213
  xr = g([_({
19211
19214
  selector: "ml-dashboard-page",
19212
- template: ps,
19213
- styles: vs,
19215
+ template: gs,
19216
+ styles: bs,
19214
19217
  attributes: [
19215
19218
  "title",
19216
19219
  "description",
@@ -19218,8 +19221,8 @@ xr = g([_({
19218
19221
  ]
19219
19222
  })], xr);
19220
19223
  export {
19221
- tl as APP_CONFIG,
19222
- ll as AbortError,
19224
+ rl as APP_CONFIG,
19225
+ al as AbortError,
19223
19226
  Nt as ActivityFeedComponent,
19224
19227
  Lt as ActivityFeedItemComponent,
19225
19228
  wt as AlertComponent,
@@ -19237,47 +19240,47 @@ export {
19237
19240
  Gt as CalendarViewComponent,
19238
19241
  Et as CardComponent,
19239
19242
  ct as CheckboxComponent,
19240
- Qr as ComponentBase,
19241
- Ns as ComponentStateBaseService,
19243
+ Zr as ComponentBase,
19244
+ Vs as ComponentStateBaseService,
19242
19245
  zt as ContainerComponent,
19243
19246
  xr as DashboardPageComponent,
19244
19247
  xt as DatePickerComponent,
19245
19248
  Te as DialogComponent,
19246
- Bi as DialogRef,
19249
+ Ki as DialogRef,
19247
19250
  Q as DialogService,
19248
- qs as Directive,
19251
+ Hs as Directive,
19249
19252
  Rt as DividerComponent,
19250
19253
  dr as DrawerComponent,
19251
19254
  cr as DropdownComponent,
19252
19255
  hr as DropdownGroupComponent,
19253
19256
  mr as DropdownItemComponent,
19254
19257
  ur as DropdownSeparatorComponent,
19255
- pl as EffectsBase,
19258
+ vl as EffectsBase,
19256
19259
  Pr as FORM_CONTROL_MARKER,
19257
- El as FORM_GROUP_MARKER,
19258
- Sl as FormControl,
19260
+ Rl as FORM_GROUP_MARKER,
19261
+ El as FormControl,
19259
19262
  ft as FormFieldComponent,
19260
- Rl as FormGroup,
19263
+ Tl as FormGroup,
19261
19264
  br as HeroSectionComponent,
19262
19265
  Ae as HttpBaseError,
19263
19266
  Be as HttpClient,
19264
19267
  qe as HttpError,
19265
19268
  Ut as IconComponent,
19266
- gs as Inject,
19269
+ fs as Inject,
19267
19270
  Z as Injectable,
19268
- Wr as InjectionEngine,
19271
+ Gr as InjectionEngine,
19269
19272
  L as Injector,
19270
19273
  nt as InputComponent,
19271
19274
  Pt as ListComponent,
19272
19275
  Ot as ListItemComponent,
19273
19276
  _r as LoginPageComponent,
19274
19277
  _ as MelodicComponent,
19275
- rl as NetworkError,
19278
+ ll as NetworkError,
19276
19279
  fr as PageHeaderComponent,
19277
19280
  er as PaginationComponent,
19278
19281
  vr as PopoverComponent,
19279
19282
  St as ProgressComponent,
19280
- ol as ROUTE_CONTEXT_EVENT,
19283
+ il as ROUTE_CONTEXT_EVENT,
19281
19284
  Ce as RX_ACTION_PROVIDERS,
19282
19285
  Se as RX_EFFECTS_PROVIDERS,
19283
19286
  $e as RX_INIT_STATE,
@@ -19286,7 +19289,7 @@ export {
19286
19289
  ht as RadioCardGroupComponent,
19287
19290
  mt as RadioComponent,
19288
19291
  ut as RadioGroupComponent,
19289
- $s as RouteContextEvent,
19292
+ Ss as RouteContextEvent,
19290
19293
  xe as RouteContextService,
19291
19294
  _e as RouteMatcher,
19292
19295
  ke as RouterLinkComponent,
@@ -19312,181 +19315,181 @@ export {
19312
19315
  Vt as TableComponent,
19313
19316
  Yt as TabsComponent,
19314
19317
  Mt as TagComponent,
19315
- ul as TemplateResult,
19318
+ hl as TemplateResult,
19316
19319
  dt as TextareaComponent,
19317
19320
  $t as ToastComponent,
19318
19321
  Ct as ToastContainerComponent,
19319
19322
  kt as ToastService,
19320
19323
  vt as ToggleComponent,
19321
19324
  pr as TooltipComponent,
19322
- Ks as Validators,
19325
+ Gs as Validators,
19323
19326
  jr as VirtualScroller,
19324
- $o as activityFeedItemStyles,
19325
- ko as activityFeedItemTemplate,
19326
- wo as activityFeedStyles,
19327
- xo as activityFeedTemplate,
19328
- jl as allTokens,
19329
- dn as announce,
19330
- os as appShellStyles,
19331
- as as appShellTemplate,
19332
- Yr as applyGlobalStyles,
19333
- 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,
19334
19337
  Nr as arrow,
19335
19338
  Me as autoUpdate,
19336
- Js as baseThemeCss,
19337
- bs as bootstrap,
19338
- Nl as borderTokens,
19339
- pi as breadcrumbItemStyles,
19340
- hi as breadcrumbItemTemplate,
19341
- ui as breadcrumbStyles,
19342
- mi as breadcrumbTemplate,
19343
- Vl as breakpointTokens,
19344
- Us as breakpoints,
19345
- sl as buildPathFromRoute,
19346
- ti as calendarViewStyles,
19347
- 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,
19348
19351
  v as classMap,
19349
- pn as clickOutside,
19350
- Il as colorTokens,
19351
- hn as componentBaseStyles,
19352
+ gn as clickOutside,
19353
+ Ml as colorTokens,
19354
+ vn as componentBaseStyles,
19352
19355
  te as computePosition,
19353
19356
  z as computed,
19354
- so as containerStyles,
19355
- io as containerTemplate,
19356
- Is as createAction,
19357
- Gs as createAsyncValidator,
19358
- rn as createBrandTheme,
19359
- ws as createDeactivateGuard,
19360
- Jl as createFocusTrap,
19361
- Bs as createFormControl,
19362
- Hs as createFormGroup,
19363
- xs as createGuard,
19364
- cn as createLiveRegion,
19365
- Ms as createReducer,
19366
- ks as createResolver,
19367
- 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,
19368
19371
  Or as createTheme,
19369
19372
  ee as createToken,
19370
- Ws as createValidator,
19373
+ Us as createValidator,
19371
19374
  y as css,
19372
19375
  et as darkTheme,
19373
- Xs as darkThemeCss,
19374
- vs as dashboardPageStyles,
19375
- ps as dashboardPageTemplate,
19376
- fs as defineConfig,
19376
+ Qs as darkThemeCss,
19377
+ bs as dashboardPageStyles,
19378
+ gs as dashboardPageTemplate,
19379
+ ys as defineConfig,
19377
19380
  U as directive,
19378
- Ki as drawerStyles,
19379
- Hi as drawerTemplate,
19380
- Zi as dropdownGroupStyles,
19381
- Qi as dropdownGroupTemplate,
19382
- Yi as dropdownItemStyles,
19383
- Ui as dropdownItemTemplate,
19384
- Ji as dropdownSeparatorStyles,
19385
- Xi as dropdownSeparatorTemplate,
19386
- Gi as dropdownStyles,
19387
- Wi as dropdownTemplate,
19388
- el as environment,
19389
- 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,
19390
19393
  le as flip,
19391
- ln as focusFirst,
19392
- an as focusLast,
19393
- on as focusTrap,
19394
- nn as focusVisible,
19395
- Al as formControlDirective,
19396
- Ma as formFieldStyles,
19397
- 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,
19398
19401
  Ar as getActiveEffect,
19399
- cl as getAttributeDirective,
19400
- Zr as getEnvironment,
19402
+ ml as getAttributeDirective,
19403
+ el as getEnvironment,
19401
19404
  Lr as getFirstFocusable,
19402
19405
  Pe as getFocusableElements,
19403
- Xl as getLastFocusable,
19404
- Ts as getRegisteredDirectives,
19405
- Bl as getResolvedTheme,
19406
- Qs as getTheme,
19406
+ Jl as getLastFocusable,
19407
+ As as getRegisteredDirectives,
19408
+ Hl as getResolvedTheme,
19409
+ en as getTheme,
19407
19410
  O as getTokenKey,
19408
- Es as hasAttributeDirective,
19409
- ss as heroSectionStyles,
19410
- is as heroSectionTemplate,
19411
+ Ts as hasAttributeDirective,
19412
+ ds as heroSectionStyles,
19413
+ ns as heroSectionTemplate,
19411
19414
  i as html,
19412
- tn as injectTheme,
19415
+ ln as injectTheme,
19413
19416
  oe as isDirective,
19414
- sn as isFocusVisible,
19415
- Gr as isSignal,
19416
- ql as lightTheme,
19417
- Ys as lightThemeCss,
19418
- yo as listItemStyles,
19419
- _o as listItemTemplate,
19420
- fo as listStyles,
19421
- bo as listTemplate,
19422
- ms as loginPageStyles,
19423
- 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,
19424
19427
  ye as matchRouteTree,
19425
- Zl as newID,
19428
+ ea as newID,
19426
19429
  re as offset,
19427
- Os as onAction,
19428
- Zs as onThemeChange,
19429
- ds as pageHeaderStyles,
19430
- ns as pageHeaderTemplate,
19431
- gi as paginationStyles,
19432
- vi as paginationTemplate,
19433
- Cl as portalDirective,
19434
- Dl as primitiveColors,
19435
- Za as progressStyles,
19436
- Qa as progressTemplate,
19437
- Ds as props,
19438
- _s as provideConfig,
19439
- ys as provideHttp,
19440
- 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,
19441
19444
  he as registerAttributeDirective,
19442
19445
  Le as render,
19443
19446
  $ as repeat,
19444
- js as repeatRaw,
19445
- mn as resetStyles,
19446
- hl as routerLinkDirective,
19447
- za as selectStyles,
19448
- Sa as selectTemplate,
19447
+ qs as repeatRaw,
19448
+ hn as resetStyles,
19449
+ pl as routerLinkDirective,
19450
+ Aa as selectStyles,
19451
+ Ea as selectTemplate,
19449
19452
  Ye as setActiveEffect,
19450
- Ol as shadowTokens,
19453
+ Nl as shadowTokens,
19451
19454
  ae as shift,
19452
- xi as sidebarGroupStyles,
19453
- yi as sidebarGroupTemplate,
19454
- ki as sidebarItemStyles,
19455
- wi as sidebarItemTemplate,
19456
- _i as sidebarStyles,
19457
- 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,
19458
19461
  P as signal,
19459
- hs as signupPageStyles,
19460
- us as signupPageTemplate,
19461
- Da as sliderStyles,
19462
- Aa as sliderTemplate,
19463
- Ml as spacingTokens,
19464
- ji as stepPanelStyles,
19465
- Vi as stepPanelTemplate,
19466
- Li as stepStyles,
19467
- Ai as stepTemplate,
19468
- zi as stepsStyles,
19469
- $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,
19470
19473
  G as styleMap,
19471
- ci as tabPanelStyles,
19472
- di as tabPanelTemplate,
19473
- ni as tabStyles,
19474
- si as tabTemplate,
19475
- Eo as tableStyles,
19476
- So as tableTemplate,
19477
- ii as tabsStyles,
19478
- ai as tabsTemplate,
19479
- Ua as toastContainerStyles,
19480
- Ga as toastContainerTemplate,
19481
- Wa as toastStyles,
19482
- Ka as toastTemplate,
19483
- en as toggleTheme,
19484
- Fl as tokensToCss,
19485
- ta as tooltipDirective,
19486
- Ll as transitionTokens,
19487
- Pl as typographyTokens,
19488
- Rs as unregisterAttributeDirective,
19489
- Fs as unsafeHTML,
19490
- 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,
19491
19494
  d as when
19492
19495
  };