@mtdt/observeops-ds-elements 0.1.229 → 0.1.230

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.
@@ -68,13 +68,13 @@ function b6(e) {
68
68
  }
69
69
  }), t;
70
70
  }
71
- function W(e) {
71
+ function F(e) {
72
72
  let t = "";
73
73
  if (C2(e))
74
74
  t = e;
75
75
  else if (B1(e))
76
76
  for (let l = 0; l < e.length; l++) {
77
- const s = W(e[l]);
77
+ const s = F(e[l]);
78
78
  s && (t += s + " ");
79
79
  }
80
80
  else if (r2(e))
@@ -1049,16 +1049,16 @@ function Y6(e, t, l = i2) {
1049
1049
  v3 = k;
1050
1050
  }
1051
1051
  } : C = e3, t && a) {
1052
- const k = C, F = a === !0 ? 1 / 0 : a;
1053
- C = () => o3(k(), F);
1052
+ const k = C, G = a === !0 ? 1 / 0 : a;
1053
+ C = () => o3(k(), G);
1054
1054
  }
1055
1055
  const L = k6(), _ = () => {
1056
1056
  h.stop(), L && L.active && o5(L.effects, h);
1057
1057
  };
1058
1058
  if (o && t) {
1059
1059
  const k = t;
1060
- t = (...F) => {
1061
- const j = k(...F);
1060
+ t = (...G) => {
1061
+ const j = k(...G);
1062
1062
  return _(), j;
1063
1063
  };
1064
1064
  }
@@ -1066,19 +1066,19 @@ function Y6(e, t, l = i2) {
1066
1066
  const w = (k) => {
1067
1067
  if (!(!(h.flags & 1) || !h.dirty && !k))
1068
1068
  if (t) {
1069
- const F = h.run();
1070
- if (k || a || x || (H ? F.some((j, D) => Q2(j, S[D])) : Q2(F, S))) {
1069
+ const G = h.run();
1070
+ if (k || a || x || (H ? G.some((j, D) => Q2(j, S[D])) : Q2(G, S))) {
1071
1071
  v && v();
1072
1072
  const j = v3;
1073
1073
  v3 = h;
1074
1074
  try {
1075
1075
  const D = [
1076
- F,
1076
+ G,
1077
1077
  // pass undefined as the old value when it's changed for the first time
1078
1078
  S === o4 ? void 0 : H && S[0] === o4 ? [] : S,
1079
1079
  g
1080
1080
  ];
1081
- S = F, p ? p(t, 3, D) : (
1081
+ S = G, p ? p(t, 3, D) : (
1082
1082
  // @ts-expect-error
1083
1083
  t(...D)
1084
1084
  );
@@ -1095,7 +1095,7 @@ function Y6(e, t, l = i2) {
1095
1095
  if (p)
1096
1096
  p(k, 4);
1097
1097
  else
1098
- for (const F of k) F();
1098
+ for (const G of k) G();
1099
1099
  p4.delete(h);
1100
1100
  }
1101
1101
  }, t ? s ? w(!0) : S = h.run() : n ? n(w.bind(null, !0), !0) : h.run(), _.pause = h.pause.bind(h), _.resume = h.resume.bind(h), _.stop = _, _;
@@ -1719,7 +1719,7 @@ function w0(e) {
1719
1719
  beforeUnmount: S,
1720
1720
  destroyed: w,
1721
1721
  unmounted: k,
1722
- render: F,
1722
+ render: G,
1723
1723
  renderTracked: j,
1724
1724
  renderTriggered: D,
1725
1725
  errorCaptured: P,
@@ -1778,7 +1778,7 @@ function w0(e) {
1778
1778
  });
1779
1779
  });
1780
1780
  } else e.exposed || (e.exposed = {});
1781
- F && e.render === e3 && (e.render = F), t1 != null && (e.inheritAttrs = t1), e1 && (e.components = e1), n1 && (e.directives = n1), R && T8(e);
1781
+ G && e.render === e3 && (e.render = G), t1 != null && (e.inheritAttrs = t1), e1 && (e.components = e1), n1 && (e.directives = n1), R && T8(e);
1782
1782
  }
1783
1783
  function Z0(e, t, l = e3) {
1784
1784
  B1(e) && (e = Q4(e));
@@ -2068,10 +2068,10 @@ function E5(e) {
2068
2068
  let _, S;
2069
2069
  try {
2070
2070
  if (l.shapeFlag & 4) {
2071
- const k = a || s, F = k;
2071
+ const k = a || s, G = k;
2072
2072
  _ = X2(
2073
2073
  u.call(
2074
- F,
2074
+ G,
2075
2075
  k,
2076
2076
  h,
2077
2077
  C,
@@ -2097,8 +2097,8 @@ function E5(e) {
2097
2097
  }
2098
2098
  let w = _;
2099
2099
  if (S && H !== !1) {
2100
- const k = Object.keys(S), { shapeFlag: F } = w;
2101
- k.length && F & 7 && (o && k.some(y4) && (S = $0(
2100
+ const k = Object.keys(S), { shapeFlag: G } = w;
2101
+ k.length && G & 7 && (o && k.some(y4) && (S = $0(
2102
2102
  S,
2103
2103
  o
2104
2104
  )), w = S3(w, S, !1, !0));
@@ -2430,7 +2430,7 @@ function j0(e, t) {
2430
2430
  );
2431
2431
  break;
2432
2432
  default:
2433
- x1 & 1 ? F(
2433
+ x1 & 1 ? G(
2434
2434
  f,
2435
2435
  b,
2436
2436
  N,
@@ -2500,7 +2500,7 @@ function j0(e, t) {
2500
2500
  for (; f && f !== b; )
2501
2501
  N = v(f), a(f), f = N;
2502
2502
  a(b);
2503
- }, F = (f, b, N, c1, a1, X, g1, C1, v1) => {
2503
+ }, G = (f, b, N, c1, a1, X, g1, C1, v1) => {
2504
2504
  if (b.type === "svg" ? g1 = "svg" : b.type === "math" && (g1 = "mathml"), f == null)
2505
2505
  j(
2506
2506
  b,
@@ -3369,7 +3369,7 @@ function W0(e, t = null, l = null, s = 0, a = null, o = !1) {
3369
3369
  if (o9(e) && (e = e.__vccOpts), t) {
3370
3370
  t = K0(t);
3371
3371
  let { class: d, style: p } = t;
3372
- d && !C2(d) && (t.class = W(d)), r2(p) && (/* @__PURE__ */ h5(p) && !B1(p) && (p = f2({}, p)), t.style = H1(p));
3372
+ d && !C2(d) && (t.class = F(d)), r2(p) && (/* @__PURE__ */ h5(p) && !B1(p) && (p = f2({}, p)), t.style = H1(p));
3373
3373
  }
3374
3374
  const n = C2(e) ? 1 : l6(e) ? 128 : c0(e) ? 64 : r2(e) ? 4 : j1(e) ? 2 : 0;
3375
3375
  return i(
@@ -3483,7 +3483,7 @@ function J0(...e) {
3483
3483
  const s = e[l];
3484
3484
  for (const a in s)
3485
3485
  if (a === "class")
3486
- t.class !== s.class && (t.class = W([t.class, s.class]));
3486
+ t.class !== s.class && (t.class = F([t.class, s.class]));
3487
3487
  else if (a === "style")
3488
3488
  t.style = H1([t.style, s.style]);
3489
3489
  else if (x4(a)) {
@@ -4428,7 +4428,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4428
4428
  },
4429
4429
  setup(e) {
4430
4430
  return (t, l) => (c(), r("button", {
4431
- class: W(["btn", ["v-" + e.variant, "s-" + e.size, { outline: e.outline, block: e.block, square: e.square, squared: e.squared, loading: e.loading, "shape-circle": e.shape === "circle" }]]),
4431
+ class: F(["btn", ["v-" + e.variant, "s-" + e.size, { outline: e.outline, block: e.block, square: e.square, squared: e.squared, loading: e.loading, "shape-circle": e.shape === "circle" }]]),
4432
4432
  disabled: e.disabled || e.loading
4433
4433
  }, [
4434
4434
  e.loading ? (c(), r("span", B9)) : y("", !0),
@@ -4473,8 +4473,8 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4473
4473
  o.value = !1;
4474
4474
  }
4475
4475
  function C(k) {
4476
- return (F) => {
4477
- (F.key === "Enter" || F.key === " ") && (F.preventDefault(), k());
4476
+ return (G) => {
4477
+ (G.key === "Enter" || G.key === " ") && (G.preventDefault(), k());
4478
4478
  };
4479
4479
  }
4480
4480
  function v(k) {
@@ -4535,11 +4535,11 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4535
4535
  }, x = { poweredoff: "up", poweredon: "down" }, H = (k) => k ? k.charAt(0).toUpperCase() + k.slice(1).toLowerCase() : "", L = m(() => String(l.status || "").toLowerCase()), _ = m(
4536
4536
  () => l.status ? l.forcePrimary ? "tag-primary" : g[L.value] || "tag-primary" : l.variant
4537
4537
  ), S = m(() => l.rounded || !!l.status), w = m(() => H(x[L.value] || String(l.status || "")));
4538
- return (k, F) => {
4538
+ return (k, G) => {
4539
4539
  const j = M1("obs-icon");
4540
4540
  return a.value ? (c(), r("span", {
4541
4541
  key: 0,
4542
- class: W(["tag", [_.value, { rounded: S.value, disabled: e.disabled, numeric: e.numeric, "compliance-tag-padding": e.compliance }]])
4542
+ class: F(["tag", [_.value, { rounded: S.value, disabled: e.disabled, numeric: e.numeric, "compliance-tag-padding": e.compliance }]])
4543
4543
  }, [
4544
4544
  e.status ? (c(), r(E, { key: 0 }, [
4545
4545
  q1(V(w.value), 1)
@@ -4571,14 +4571,14 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4571
4571
  role: "button",
4572
4572
  tabindex: "0",
4573
4573
  onClick: u,
4574
- onKeydown: F[0] || (F[0] = (D) => C(u))
4574
+ onKeydown: G[0] || (G[0] = (D) => C(u))
4575
4575
  }, "Yes", 32),
4576
4576
  i("span", {
4577
4577
  class: "confirm-no",
4578
4578
  role: "button",
4579
4579
  tabindex: "0",
4580
4580
  onClick: h,
4581
- onKeydown: F[1] || (F[1] = (D) => C(h))
4581
+ onKeydown: G[1] || (G[1] = (D) => C(h))
4582
4582
  }, "No", 32)
4583
4583
  ])
4584
4584
  ])) : y("", !0)
@@ -4621,7 +4621,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4621
4621
  (p.key === " " || p.key === "Enter") && (p.preventDefault(), n());
4622
4622
  }
4623
4623
  return (p, u) => (c(), r("label", {
4624
- class: W(["cb", { disabled: e.disabled }]),
4624
+ class: F(["cb", { disabled: e.disabled }]),
4625
4625
  tabindex: e.disabled ? -1 : 0,
4626
4626
  role: "checkbox",
4627
4627
  "aria-checked": e.indeterminate ? "mixed" : o.value,
@@ -4629,7 +4629,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4629
4629
  onKeydown: d
4630
4630
  }, [
4631
4631
  i("span", {
4632
- class: W(["box", { on: o.value && !e.indeterminate, ind: e.indeterminate }])
4632
+ class: F(["box", { on: o.value && !e.indeterminate, ind: e.indeterminate }])
4633
4633
  }, [
4634
4634
  o.value && !e.indeterminate ? (c(), r("span", K9)) : e.indeterminate ? (c(), r("span", J9)) : y("", !0)
4635
4635
  ], 2),
@@ -4672,7 +4672,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4672
4672
  }
4673
4673
  }
4674
4674
  return (p, u) => (c(), r("button", {
4675
- class: W(["sw", ["s-" + e.size, { on: n.value, disabled: e.disabled, loading: e.loading, labelled: o.value }]]),
4675
+ class: F(["sw", ["s-" + e.size, { on: n.value, disabled: e.disabled, loading: e.loading, labelled: o.value }]]),
4676
4676
  role: "switch",
4677
4677
  "aria-checked": n.value,
4678
4678
  disabled: e.disabled || e.loading,
@@ -4808,12 +4808,12 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4808
4808
  return v ? h[v] || (String(v).trim().startsWith("<") ? v : "") : "";
4809
4809
  }
4810
4810
  return (v, g) => (c(), r("div", {
4811
- class: W(["rg", [d.value ? "seg" : "list", "s-" + e.size, { disabled: e.disabled, vertical: e.vertical, sev: e.severity, block: e.block }]]),
4811
+ class: F(["rg", [d.value ? "seg" : "list", "s-" + e.size, { disabled: e.disabled, vertical: e.vertical, sev: e.severity, block: e.block }]]),
4812
4812
  role: "radiogroup"
4813
4813
  }, [
4814
4814
  (c(!0), r(E, null, p1(p.value, (x) => (c(), r("label", {
4815
4815
  key: x.value,
4816
- class: W(["opt", { on: n.value === x.value, dis: x.disabled || e.disabled }]),
4816
+ class: F(["opt", { on: n.value === x.value, dis: x.disabled || e.disabled }]),
4817
4817
  role: "radio",
4818
4818
  "aria-checked": n.value === x.value,
4819
4819
  onClick: (H) => u(x)
@@ -4914,7 +4914,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4914
4914
  function k(j) {
4915
4915
  j.key === "Enter" && (s("enterKey", d.value), l.type === "search" && s("search", d.value));
4916
4916
  }
4917
- function F(j) {
4917
+ function G(j) {
4918
4918
  if (l.disabled || l.readonly) return;
4919
4919
  const D = parseFloat(d.value) || 0;
4920
4920
  p(String(D + j)), s("input", d.value), s("change", d.value);
@@ -4922,7 +4922,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4922
4922
  return (j, D) => {
4923
4923
  const P = M1("obs-icon");
4924
4924
  return c(), r("div", {
4925
- class: W(["root", { block: e.block }])
4925
+ class: F(["root", { block: e.block }])
4926
4926
  }, [
4927
4927
  e.label ? (c(), r("label", {
4928
4928
  key: 0,
@@ -4933,11 +4933,11 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4933
4933
  e.required ? (c(), r("span", Z7, " *")) : y("", !0)
4934
4934
  ], 8, w7)) : y("", !0),
4935
4935
  i("div", {
4936
- class: W(["grp", { "has-addon": L.value, area: u.value, block: e.block }])
4936
+ class: F(["grp", { "has-addon": L.value, area: u.value, block: e.block }])
4937
4937
  }, [
4938
4938
  e.addonBefore ? (c(), r("span", M7, V(e.addonBefore), 1)) : y("", !0),
4939
4939
  i("div", {
4940
- class: W(["ip", ["t-" + e.type, { error: e.error, disabled: e.disabled, readonly: e.readonly, material: e.material, nobord: e.noBorder }]])
4940
+ class: F(["ip", ["t-" + e.type, { error: e.error, disabled: e.disabled, readonly: e.readonly, material: e.material, nobord: e.noBorder }]])
4941
4941
  }, [
4942
4942
  x.value ? (c(), r("span", {
4943
4943
  key: 0,
@@ -4994,7 +4994,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
4994
4994
  i("button", {
4995
4995
  class: "stp up",
4996
4996
  tabindex: "-1",
4997
- onClick: D[0] || (D[0] = (R) => F(1))
4997
+ onClick: D[0] || (D[0] = (R) => G(1))
4998
4998
  }, [
4999
4999
  I(P, {
5000
5000
  name: "angleUp",
@@ -5005,7 +5005,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5005
5005
  i("button", {
5006
5006
  class: "stp down",
5007
5007
  tabindex: "-1",
5008
- onClick: D[1] || (D[1] = (R) => F(-1))
5008
+ onClick: D[1] || (D[1] = (R) => G(-1))
5009
5009
  }, [
5010
5010
  I(P, {
5011
5011
  name: "angleDown",
@@ -5037,7 +5037,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5037
5037
  },
5038
5038
  setup(e) {
5039
5039
  return (t, l) => (c(), r("a", {
5040
- class: W(["lnk", [e.asButton ? ["as-btn", "v-" + e.variant, "s-" + e.size] : null, { klink: e.kLink && !e.asButton, muted: e.muted && !e.asButton, disabled: e.disabled }]]),
5040
+ class: F(["lnk", [e.asButton ? ["as-btn", "v-" + e.variant, "s-" + e.size] : null, { klink: e.kLink && !e.asButton, muted: e.muted && !e.asButton, disabled: e.disabled }]]),
5041
5041
  href: e.disabled ? void 0 : e.href || "#",
5042
5042
  target: e.external ? "_blank" : void 0,
5043
5043
  rel: e.external ? "noopener noreferrer" : void 0,
@@ -5200,8 +5200,8 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5200
5200
  let k = L.toLowerCase().replace(/\s+/g, "-");
5201
5201
  if (k = w && w[k] || k, _[k] || S[k] || u.has(k)) return;
5202
5202
  u.add(k);
5203
- const F = !!(typeof globalThis < "u" && globalThis.__OBS_LOGOS__ && globalThis.__OBS_LOGOS__.LOGOS);
5204
- console.warn(F ? `obs-logo: unknown name "${L}" — not in the logo library (rendering the no-icon placeholder).` : `obs-logo: "${L}" is not in the built-in set and the full logo library is not loaded — add \`import '@mtdt/observeops-ds-elements/logos'\` to enable all logos (rendering the no-icon placeholder for now).`);
5203
+ const G = !!(typeof globalThis < "u" && globalThis.__OBS_LOGOS__ && globalThis.__OBS_LOGOS__.LOGOS);
5204
+ console.warn(G ? `obs-logo: unknown name "${L}" — not in the logo library (rendering the no-icon placeholder).` : `obs-logo: "${L}" is not in the built-in set and the full logo library is not loaded — add \`import '@mtdt/observeops-ds-elements/logos'\` to enable all logos (rendering the no-icon placeholder for now).`);
5205
5205
  }
5206
5206
  x2(h), U1(() => [t.name, l.value], h);
5207
5207
  const C = m(() => typeof t.size == "number" || /^\d+$/.test(String(t.size)) ? `${t.size}px` : String(t.size)), v = m(() => typeof t.size == "number" || /^\d+$/.test(String(t.size)) ? parseFloat(t.size) : null), g = m(() => {
@@ -5381,7 +5381,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5381
5381
  function _(M) {
5382
5382
  return M ? String(M).split(",").map((d1) => d1.trim()).filter(Boolean) : [];
5383
5383
  }
5384
- const S = /* @__PURE__ */ B(null), w = /* @__PURE__ */ B(null), k = /* @__PURE__ */ B(null), F = /* @__PURE__ */ B(null), j = /* @__PURE__ */ B(!1), D = /* @__PURE__ */ B(""), P = /* @__PURE__ */ B(-1), R = /* @__PURE__ */ B(-1), Y = /* @__PURE__ */ B(!1), t1 = /* @__PURE__ */ B(!1), e1 = /* @__PURE__ */ B(!1), n1 = /* @__PURE__ */ B(""), z = /* @__PURE__ */ B(_(l.value)), l1 = /* @__PURE__ */ B([]), V1 = /* @__PURE__ */ B({}), b1 = /* @__PURE__ */ B(!1), h1 = /* @__PURE__ */ B({});
5384
+ const S = /* @__PURE__ */ B(null), w = /* @__PURE__ */ B(null), k = /* @__PURE__ */ B(null), G = /* @__PURE__ */ B(null), j = /* @__PURE__ */ B(!1), D = /* @__PURE__ */ B(""), P = /* @__PURE__ */ B(-1), R = /* @__PURE__ */ B(-1), Y = /* @__PURE__ */ B(!1), t1 = /* @__PURE__ */ B(!1), e1 = /* @__PURE__ */ B(!1), n1 = /* @__PURE__ */ B(""), z = /* @__PURE__ */ B(_(l.value)), l1 = /* @__PURE__ */ B([]), V1 = /* @__PURE__ */ B({}), b1 = /* @__PURE__ */ B(!1), h1 = /* @__PURE__ */ B({});
5385
5385
  U1(() => l.value, (M) => {
5386
5386
  z.value = _(M);
5387
5387
  });
@@ -5478,8 +5478,8 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5478
5478
  const y1 = (M.querySelector(".trig, .t-text, .t-chip, .t-btn, .t-icon") || M).getBoundingClientRect(), Q1 = window.innerWidth, v2 = window.innerHeight, f1 = l.useAfterMenuDescription ? 600 : Math.max(y1.width, 200);
5479
5479
  let m2 = Math.min(y1.left, Q1 - f1 - 8);
5480
5480
  m2 < 8 && (m2 = 8);
5481
- const E2 = v2 - y1.bottom - 8, z3 = y1.top - 8, e4 = E2 < 260 && z3 > E2, t4 = Math.max(160, Math.min(440, e4 ? z3 : E2)), G = { position: "fixed", inset: "auto", margin: "0", left: m2 + "px", width: f1 + "px", maxHeight: t4 + "px" };
5482
- e4 ? G.bottom = v2 - y1.top + 4 + "px" : G.top = y1.bottom + 4 + "px", V1.value = G;
5481
+ const E2 = v2 - y1.bottom - 8, z3 = y1.top - 8, e4 = E2 < 260 && z3 > E2, t4 = Math.max(160, Math.min(440, e4 ? z3 : E2)), W = { position: "fixed", inset: "auto", margin: "0", left: m2 + "px", width: f1 + "px", maxHeight: t4 + "px" };
5482
+ e4 ? W.bottom = v2 - y1.top + 4 + "px" : W.top = y1.bottom + 4 + "px", V1.value = W;
5483
5483
  }
5484
5484
  function k2() {
5485
5485
  j.value && d2();
@@ -5521,7 +5521,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5521
5521
  }
5522
5522
  function _2() {
5523
5523
  e1.value = !0, n1.value = "", u2(() => {
5524
- F.value && F.value.focus(), d2();
5524
+ G.value && G.value.focus(), d2();
5525
5525
  });
5526
5526
  }
5527
5527
  function D2() {
@@ -5580,7 +5580,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5580
5580
  return c(), r("div", {
5581
5581
  ref_key: "rootRef",
5582
5582
  ref: S,
5583
- class: W(["sel", { open: j.value, disabled: e.disabled, multiple: e.multiple, block: e.block, text: s1.value === "text", chip: s1.value === "chip", btn: s1.value === "button", ic: s1.value === "icon", twopane: e.useAfterMenuDescription }]),
5583
+ class: F(["sel", { open: j.value, disabled: e.disabled, multiple: e.multiple, block: e.block, text: s1.value === "text", chip: s1.value === "chip", btn: s1.value === "button", ic: s1.value === "icon", twopane: e.useAfterMenuDescription }]),
5584
5584
  tabindex: "0",
5585
5585
  role: "combobox",
5586
5586
  "aria-expanded": j.value,
@@ -5612,7 +5612,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5612
5612
  ], 64)) : (c(), r("span", X7, V(W1.value), 1))
5613
5613
  ])) : s1.value === "text" ? (c(), r("span", {
5614
5614
  key: 1,
5615
- class: W(["t-text", { ph: !z.value.length }]),
5615
+ class: F(["t-text", { ph: !z.value.length }]),
5616
5616
  onClick: U,
5617
5617
  onMouseenter: Y1,
5618
5618
  onMouseleave: D1
@@ -5623,25 +5623,25 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5623
5623
  onClick: U
5624
5624
  }, [
5625
5625
  i("span", {
5626
- class: W({ ph: !z.value.length })
5626
+ class: F({ ph: !z.value.length })
5627
5627
  }, V(z.value.length ? e.multiple ? Q.value : S1.value : W1.value), 3)
5628
5628
  ], 8, Q7)) : s1.value === "button" ? (c(), r("button", {
5629
5629
  key: 3,
5630
- class: W(["t-btn", { open: j.value }]),
5630
+ class: F(["t-btn", { open: j.value }]),
5631
5631
  disabled: e.disabled,
5632
5632
  onClick: U
5633
5633
  }, [
5634
5634
  i("span", {
5635
- class: W({ ph: !z.value.length && !e.triggerLabel })
5635
+ class: F({ ph: !z.value.length && !e.triggerLabel })
5636
5636
  }, V(e.triggerLabel || (z.value.length ? e.multiple ? Q.value : S1.value : W1.value)), 3),
5637
5637
  I(y1, {
5638
- class: W(["chev", { up: j.value }]),
5638
+ class: F(["chev", { up: j.value }]),
5639
5639
  name: e.triggerIcon || "chevronDown",
5640
5640
  size: "13"
5641
5641
  }, null, 8, ["class", "name"])
5642
5642
  ], 10, ee)) : s1.value === "icon" ? (c(), r("button", {
5643
5643
  key: 4,
5644
- class: W(["t-icon", { on: z.value.length, open: j.value, bordered: d.value }]),
5644
+ class: F(["t-icon", { on: z.value.length, open: j.value, bordered: d.value }]),
5645
5645
  disabled: e.disabled,
5646
5646
  "aria-label": e.triggerLabel || W1.value,
5647
5647
  onClick: U
@@ -5653,7 +5653,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5653
5653
  e.multiple && z.value.length ? (c(), r("span", le, V(z.value.length), 1)) : y("", !0)
5654
5654
  ], 10, te)) : (c(), r("button", {
5655
5655
  key: 5,
5656
- class: W(["trig", { open: j.value }]),
5656
+ class: F(["trig", { open: j.value }]),
5657
5657
  disabled: e.disabled,
5658
5658
  onClick: U,
5659
5659
  onMouseenter: d1[1] || (d1[1] = (f1) => Y.value = !0),
@@ -5677,7 +5677,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5677
5677
  })
5678
5678
  ])) : e.loading ? (c(), r("span", ne)) : (c(), Z1(y1, {
5679
5679
  key: 2,
5680
- class: W(["chev", { up: j.value }]),
5680
+ class: F(["chev", { up: j.value }]),
5681
5681
  name: "chevronDown",
5682
5682
  size: "13"
5683
5683
  }, null, 8, ["class"]))
@@ -5698,7 +5698,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5698
5698
  ref_key: "menuRef",
5699
5699
  ref: w,
5700
5700
  popover: "manual",
5701
- class: W(["menu", { twopane: e.useAfterMenuDescription, grouped: f.value, cols: d.value }]),
5701
+ class: F(["menu", { twopane: e.useAfterMenuDescription, grouped: f.value, cols: d.value }]),
5702
5702
  style: H1(V1.value)
5703
5703
  }, [
5704
5704
  d.value ? (c(), r("div", ie, [
@@ -5706,7 +5706,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5706
5706
  i("div", pe, [
5707
5707
  (c(!0), r(E, null, p1(o.value, (f1, m2) => (c(), r("div", {
5708
5708
  key: f1.key,
5709
- class: W(["cc-row", { dragging: p.value === m2, over: u.value === m2 && p.value !== m2, locked: f1.locked }]),
5709
+ class: F(["cc-row", { dragging: p.value === m2, over: u.value === m2 && p.value !== m2, locked: f1.locked }]),
5710
5710
  draggable: !f1.locked,
5711
5711
  onClick: (E2) => C(f1),
5712
5712
  onDragstart: (E2) => v(m2),
@@ -5774,7 +5774,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5774
5774
  e.canUserAddOptions && e1.value ? (c(), r("div", me, [
5775
5775
  i("input", {
5776
5776
  ref_key: "addRef",
5777
- ref: F,
5777
+ ref: G,
5778
5778
  value: n1.value,
5779
5779
  placeholder: `Add ${e.addLabel || "option"}`,
5780
5780
  onInput: d1[4] || (d1[4] = w1((f1) => n1.value = f1.target.value, ["stop"])),
@@ -5814,7 +5814,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5814
5814
  onClick: _1
5815
5815
  }, [
5816
5816
  i("span", {
5817
- class: W(["cbx", { ck: c1.value }]),
5817
+ class: F(["cbx", { ck: c1.value }]),
5818
5818
  "aria-hidden": "true"
5819
5819
  }, null, 2),
5820
5820
  d1[8] || (d1[8] = i("span", { class: "mlbl" }, "Select All", -1))
@@ -5828,7 +5828,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5828
5828
  (c(!0), r(E, null, p1(O1.value, (f1) => (c(), r("button", {
5829
5829
  key: (f1.__branch ? "g-" : "o-") + f1.value,
5830
5830
  type: "button",
5831
- class: W(["mopt tnode", { branch: f1.__branch, on: !f1.__branch && z.value.includes(f1.value), dis: f1.disabled }]),
5831
+ class: F(["mopt tnode", { branch: f1.__branch, on: !f1.__branch && z.value.includes(f1.value), dis: f1.disabled }]),
5832
5832
  style: H1({ paddingLeft: 12 + f1.__level * 18 + "px" }),
5833
5833
  role: "option",
5834
5834
  "aria-selected": !f1.__branch && z.value.includes(f1.value),
@@ -5837,20 +5837,20 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5837
5837
  i("span", we, [
5838
5838
  f1.__branch ? (c(), Z1(y1, {
5839
5839
  key: 0,
5840
- class: W(["tchev", { open: x1(f1) }]),
5840
+ class: F(["tchev", { open: x1(f1) }]),
5841
5841
  name: "chevronRight",
5842
5842
  size: "10"
5843
5843
  }, null, 8, ["class"])) : y("", !0)
5844
5844
  ]),
5845
5845
  e.multiple ? (c(), r("span", {
5846
5846
  key: 0,
5847
- class: W(["cbx", f1.__branch ? { ck: R1(f1), ind: T1(f1) } : { ck: z.value.includes(f1.value) }]),
5847
+ class: F(["cbx", f1.__branch ? { ck: R1(f1), ind: T1(f1) } : { ck: z.value.includes(f1.value) }]),
5848
5848
  "aria-hidden": "true",
5849
5849
  onClick: w1((m2) => f1.__branch ? K1(f1) : $1(f1), ["stop"])
5850
5850
  }, null, 10, Ze)) : y("", !0),
5851
5851
  f1.avatar ? (c(), r("span", {
5852
5852
  key: 1,
5853
- class: W(["mav", { img: v1(f1.avatar) }]),
5853
+ class: F(["mav", { img: v1(f1.avatar) }]),
5854
5854
  "aria-hidden": "true"
5855
5855
  }, [
5856
5856
  v1(f1.avatar) ? (c(), r("img", {
@@ -5878,7 +5878,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5878
5878
  size: "16"
5879
5879
  }, null, 8, ["name"])) : y("", !0),
5880
5880
  i("span", {
5881
- class: W(["mlbl", { two: f1.sublabel, br: f1.__branch }])
5881
+ class: F(["mlbl", { two: f1.sublabel, br: f1.__branch }])
5882
5882
  }, [
5883
5883
  i("span", ke, V(f1.label), 1),
5884
5884
  f1.sublabel ? (c(), r("span", He, V(f1.sublabel), 1)) : y("", !0)
@@ -5894,7 +5894,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5894
5894
  ], 64)) : (c(), r(E, { key: 1 }, [
5895
5895
  (c(!0), r(E, null, p1(b.value, (f1, m2) => (c(), r("button", {
5896
5896
  key: f1.value,
5897
- class: W(["mopt", { on: z.value.includes(f1.value), dis: f1.disabled, active: m2 === P.value }]),
5897
+ class: F(["mopt", { on: z.value.includes(f1.value), dis: f1.disabled, active: m2 === P.value }]),
5898
5898
  role: "option",
5899
5899
  "aria-selected": z.value.includes(f1.value),
5900
5900
  onClick: (E2) => $1(f1),
@@ -5905,12 +5905,12 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5905
5905
  }, [
5906
5906
  e.multiple ? (c(), r("span", {
5907
5907
  key: 0,
5908
- class: W(["cbx", { ck: z.value.includes(f1.value) }]),
5908
+ class: F(["cbx", { ck: z.value.includes(f1.value) }]),
5909
5909
  "aria-hidden": "true"
5910
5910
  }, null, 2)) : y("", !0),
5911
5911
  f1.avatar ? (c(), r("span", {
5912
5912
  key: 1,
5913
- class: W(["mav", { img: v1(f1.avatar) }]),
5913
+ class: F(["mav", { img: v1(f1.avatar) }]),
5914
5914
  "aria-hidden": "true"
5915
5915
  }, [
5916
5916
  v1(f1.avatar) ? (c(), r("img", {
@@ -5938,7 +5938,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5938
5938
  size: "16"
5939
5939
  }, null, 8, ["name"])) : y("", !0),
5940
5940
  i("span", {
5941
- class: W(["mlbl", { two: f1.sublabel }])
5941
+ class: F(["mlbl", { two: f1.sublabel }])
5942
5942
  }, [
5943
5943
  i("span", Se, V(f1.label), 1),
5944
5944
  f1.sublabel ? (c(), r("span", ze, V(f1.sublabel), 1)) : y("", !0)
@@ -5995,7 +5995,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
5995
5995
  setup(e) {
5996
5996
  const t = e, l = (C) => C ? C.charAt(0).toUpperCase() + C.slice(1) : "", s = m(() => `var(--severity-${t.severity})`), a = m(() => t.severity === "down" ? "var(--severity-down)" : t.severity === "up" ? "var(--severity-critical-dot-box)" : t.severity === "disable" ? "var(--severity-disable-lighter)" : `var(--severity-${t.severity}-dot-box)`), o = m(() => l(t.severity)), n = m(() => t.value ?? l(t.severity)), d = m(() => t.severity === "down" ? { background: s.value, border: "0" } : { border: `2px solid ${s.value}`, background: a.value }), p = m(() => ({ background: s.value })), u = m(() => ({ color: s.value })), h = m(() => ({ background: `var(--severity-${t.severity}-lighter)`, borderColor: s.value, color: s.value }));
5997
5997
  return (C, v) => (c(), r("span", {
5998
- class: W(["sev", "shape-" + e.shape]),
5998
+ class: F(["sev", "shape-" + e.shape]),
5999
5999
  title: o.value,
6000
6000
  role: e.displayText ? null : "img",
6001
6001
  "aria-label": e.displayText ? null : o.value
@@ -6100,11 +6100,11 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6100
6100
  return;
6101
6101
  }
6102
6102
  const k = 62 + t.gap;
6103
- let F = 0, j = 0;
6103
+ let G = 0, j = 0;
6104
6104
  for (let D = 0; D < S; D++) {
6105
- const P = F + u[D] + (j > 0 ? t.gap : 0);
6105
+ const P = G + u[D] + (j > 0 ? t.gap : 0);
6106
6106
  if (P + k <= _)
6107
- F = P, j++;
6107
+ G = P, j++;
6108
6108
  else break;
6109
6109
  }
6110
6110
  p.value = Math.max(t.minVisible, Math.min(j, S - 1));
@@ -6252,7 +6252,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6252
6252
  function k(z) {
6253
6253
  u.value = z, s("change", u.value);
6254
6254
  }
6255
- function F(z) {
6255
+ function G(z) {
6256
6256
  u.value.includes(z) || k([...u.value, z]), h.value = "", v.value = 0;
6257
6257
  }
6258
6258
  function j(z) {
@@ -6269,7 +6269,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6269
6269
  if (z.key === "Enter" || z.key === "," && !a.value) {
6270
6270
  z.preventDefault();
6271
6271
  const l1 = S.value[v.value];
6272
- a.value ? l1 && F(l1.value) : j(l1 ? l1.value : h.value);
6272
+ a.value ? l1 && G(l1.value) : j(l1 ? l1.value : h.value);
6273
6273
  } else z.key === "ArrowDown" ? (z.preventDefault(), C.value = !0, v.value = Math.min(v.value + 1, S.value.length - 1)) : z.key === "ArrowUp" ? (z.preventDefault(), v.value = Math.max(v.value - 1, 0)) : z.key === "Escape" ? C.value = !1 : z.key === "Backspace" && !h.value && u.value.length && D(u.value.length - 1);
6274
6274
  }
6275
6275
  function Y() {
@@ -6281,7 +6281,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6281
6281
  }, 150);
6282
6282
  }
6283
6283
  function e1(z) {
6284
- a.value ? F(z.value) : j(z.value), g.value && g.value.focus();
6284
+ a.value ? G(z.value) : j(z.value), g.value && g.value.focus();
6285
6285
  }
6286
6286
  function n1() {
6287
6287
  C.value ? C.value = !1 : Y();
@@ -6289,7 +6289,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6289
6289
  return (z, l1) => {
6290
6290
  const V1 = M1("obs-icon");
6291
6291
  return c(), r("div", {
6292
- class: W(["box", ["t-" + e.type, { disabled: e.disabled, loading: e.loading, block: e.block, open: w.value }]]),
6292
+ class: F(["box", ["t-" + e.type, { disabled: e.disabled, loading: e.loading, block: e.block, open: w.value }]]),
6293
6293
  onMousedown: w1(Y, ["self"])
6294
6294
  }, [
6295
6295
  (c(!0), r(E, null, p1(u.value, (b1, h1) => (c(), r("span", {
@@ -6331,7 +6331,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6331
6331
  })
6332
6332
  ])) : !e.disabled || a.value ? (c(), r("span", {
6333
6333
  key: 3,
6334
- class: W(["arrow", { up: w.value, dim: e.disabled }]),
6334
+ class: F(["arrow", { up: w.value, dim: e.disabled }]),
6335
6335
  onMousedown: l1[2] || (l1[2] = w1((b1) => _.value && n1(), ["prevent"])),
6336
6336
  "aria-hidden": "true"
6337
6337
  }, [
@@ -6343,7 +6343,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6343
6343
  w.value ? (c(), r("ul", ot, [
6344
6344
  (c(!0), r(E, null, p1(S.value, (b1, h1) => (c(), r("li", {
6345
6345
  key: b1.value,
6346
- class: W(["mi", { active: h1 === v.value }]),
6346
+ class: F(["mi", { active: h1 === v.value }]),
6347
6347
  role: "option",
6348
6348
  onMousedown: w1((N1) => e1(b1), ["prevent"]),
6349
6349
  onMouseenter: (N1) => v.value = h1
@@ -6393,7 +6393,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6393
6393
  a[0] || (a[0] = i("span", { class: "logo" }, null, -1)),
6394
6394
  (c(!0), r(E, null, p1(t.value, (o) => (c(), r("span", {
6395
6395
  key: o,
6396
- class: W(["nico", { on: o === 2 }])
6396
+ class: F(["nico", { on: o === 2 }])
6397
6397
  }, null, 2))), 128))
6398
6398
  ]),
6399
6399
  i("div", Ct, [
@@ -6419,7 +6419,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6419
6419
  a[6] || (a[6] = i("span", { class: "logo" }, null, -1)),
6420
6420
  (c(!0), r(E, null, p1(t.value, (o) => (c(), r("span", {
6421
6421
  key: o,
6422
- class: W(["nico", { on: o === 2 }])
6422
+ class: F(["nico", { on: o === 2 }])
6423
6423
  }, null, 2))), 128))
6424
6424
  ])) : y("", !0),
6425
6425
  i("div", mt, [
@@ -6541,7 +6541,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6541
6541
  i("span", { class: "ts" }, null, -1)
6542
6542
  ])])) : y("", !0),
6543
6543
  i("div", {
6544
- class: W(["pbody", { col: l.value }])
6544
+ class: F(["pbody", { col: l.value }])
6545
6545
  }, [
6546
6546
  e.shape === "single" ? (c(), r("div", Et)) : e.shape === "two-pane" ? (c(), r(E, { key: 1 }, [
6547
6547
  a[5] || (a[5] = i("div", {
@@ -6615,7 +6615,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6615
6615
  n[1] || (n[1] = i("span", { class: "logo" }, null, -1)),
6616
6616
  (c(), r(E, null, p1(6, (d) => i("span", {
6617
6617
  key: d,
6618
- class: W(["nico", { on: d === 2 }])
6618
+ class: F(["nico", { on: d === 2 }])
6619
6619
  }, null, 2)), 64))
6620
6620
  ])) : y("", !0),
6621
6621
  i("div", Ut, [
@@ -6623,7 +6623,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6623
6623
  w2('<span class="brand"></span><span class="acts"><span class="ai"></span><span class="ai"></span><span class="ai bare"></span></span>', 2)
6624
6624
  ])])) : y("", !0),
6625
6625
  i("div", {
6626
- class: W(["body", { padded: s.value.padded }])
6626
+ class: F(["body", { padded: s.value.padded }])
6627
6627
  }, [
6628
6628
  s.value.twoPane === "tree" ? (c(), r("div", Gt, [
6629
6629
  (c(), r(E, null, p1(a, (d, p) => i("div", {
@@ -6638,7 +6638,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6638
6638
  n[4] || (n[4] = i("div", { class: "mhead" }, "SETTINGS", -1)),
6639
6639
  (c(), r(E, null, p1(6, (d) => i("div", {
6640
6640
  key: d,
6641
- class: W(["mrow", { on: d === 2 }])
6641
+ class: F(["mrow", { on: d === 2 }])
6642
6642
  }, null, 2)), 64))
6643
6643
  ])) : y("", !0),
6644
6644
  i("div", Jt, [
@@ -6828,7 +6828,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6828
6828
  class: "brow"
6829
6829
  }, [
6830
6830
  i("span", {
6831
- class: W(["cbox", { on: o <= 2 }])
6831
+ class: F(["cbox", { on: o <= 2 }])
6832
6832
  }, null, 2),
6833
6833
  a[9] || (a[9] = i("span", { class: "bar f1" }, null, -1))
6834
6834
  ])), 64)),
@@ -6890,7 +6890,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6890
6890
  return (a, o) => {
6891
6891
  const n = M1("obs-icon");
6892
6892
  return c(), r("span", {
6893
- class: W(["tt", s.value])
6893
+ class: F(["tt", s.value])
6894
6894
  }, [
6895
6895
  i("span", {
6896
6896
  class: "trigger",
@@ -6958,7 +6958,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
6958
6958
  "netroute-edge": { surface: "graph", w: "300px", html: `<div class="ghead f6">10.0.2.1 ──► 10.0.3.1</div><div class="gbody">${l("Latency (min/avg/max)", "8 / 14 / 22 ms")}${l("Packet loss", "2 %")}${l("Transit Likelihood", "94 %")}</div>` }
6959
6959
  }, o = e, n = m(() => a[o.kind] || a.bar), d = m(() => o.block ? { padding: n.value.surface === "graph" ? void 0 : n.value.pad } : n.value.surface === "graph" ? { minWidth: n.value.w } : { padding: n.value.pad, minWidth: n.value.w === "auto" ? void 0 : n.value.w, maxWidth: n.value.max });
6960
6960
  return (p, u) => (c(), r("div", {
6961
- class: W(["card", [n.value.surface, { block: e.block }]]),
6961
+ class: F(["card", [n.value.surface, { block: e.block }]]),
6962
6962
  style: H1(d.value),
6963
6963
  "data-extra": n.value.extra || "",
6964
6964
  innerHTML: n.value.html
@@ -7040,125 +7040,125 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7040
7040
  { k: "this.week", t: "This Week", s: "week" },
7041
7041
  { k: "this.month", t: "This Month", s: "month" }
7042
7042
  ], d = (() => {
7043
- const G = [];
7043
+ const W = [];
7044
7044
  for (let q = 0; q < 24; q++)
7045
- for (const A1 of ["00", "30"]) G.push(String(q).padStart(2, "0") + ":" + A1);
7046
- return G;
7047
- })(), p = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], u = /* @__PURE__ */ B(!1), h = /* @__PURE__ */ B("presets"), C = /* @__PURE__ */ B(null), v = /* @__PURE__ */ B(l.empty ? null : "-24h"), g = /* @__PURE__ */ B(2026), x = /* @__PURE__ */ B(5), H = /* @__PURE__ */ new Date(), L = new Date(H.getFullYear(), H.getMonth(), H.getDate()).getTime(), _ = /* @__PURE__ */ b3({ start: new Date(2026, 5, 10).getTime(), end: new Date(2026, 5, 11).getTime(), pickNext: "start" }), S = /* @__PURE__ */ B("10:05"), w = /* @__PURE__ */ B(null), k = /* @__PURE__ */ B(null), F = m(() => l.kind === "range" || l.kind === "range-presets"), j = m(() => l.kind === "range-presets"), D = m(() => v.value === "custom" ? { s: (_.start && _.end ? Math.max(1, Math.round((_.end - _.start) / 864e5)) : 0) + "d", t: "Custom" } : n.find((G) => G.k === v.value) || null), P = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], R = { "5m": 3e5, "15m": 9e5, "30m": 18e5, "1h": 36e5, "6h": 216e5, "12h": 432e5, "24h": 864e5, "48h": 1728e5, "1d": 864e5, "1w": 6048e5, "1mo": 2592e6 };
7048
- function Y(G) {
7049
- const q = new Date(G), A1 = (c2) => String(c2).padStart(2, "0");
7045
+ for (const A1 of ["00", "30"]) W.push(String(q).padStart(2, "0") + ":" + A1);
7046
+ return W;
7047
+ })(), p = ["Su", "Mo", "Tu", "We", "Th", "Fr", "Sa"], u = /* @__PURE__ */ B(!1), h = /* @__PURE__ */ B("presets"), C = /* @__PURE__ */ B(null), v = /* @__PURE__ */ B(l.empty ? null : "-24h"), g = /* @__PURE__ */ B(2026), x = /* @__PURE__ */ B(5), H = /* @__PURE__ */ new Date(), L = new Date(H.getFullYear(), H.getMonth(), H.getDate()).getTime(), _ = /* @__PURE__ */ b3({ start: new Date(2026, 5, 10).getTime(), end: new Date(2026, 5, 11).getTime(), pickNext: "start" }), S = /* @__PURE__ */ B("10:05"), w = /* @__PURE__ */ B(null), k = /* @__PURE__ */ B(null), G = m(() => l.kind === "range" || l.kind === "range-presets"), j = m(() => l.kind === "range-presets"), D = m(() => v.value === "custom" ? { s: (_.start && _.end ? Math.max(1, Math.round((_.end - _.start) / 864e5)) : 0) + "d", t: "Custom" } : n.find((W) => W.k === v.value) || null), P = ["Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], R = { "5m": 3e5, "15m": 9e5, "30m": 18e5, "1h": 36e5, "6h": 216e5, "12h": 432e5, "24h": 864e5, "48h": 1728e5, "1d": 864e5, "1w": 6048e5, "1mo": 2592e6 };
7048
+ function Y(W) {
7049
+ const q = new Date(W), A1 = (c2) => String(c2).padStart(2, "0");
7050
7050
  let r1 = q.getHours();
7051
7051
  const J1 = r1 < 12 ? "AM" : "PM";
7052
7052
  return r1 = r1 % 12 || 12, `${P[q.getDay()]}, ${o[q.getMonth()]} ${A1(q.getDate())}, ${q.getFullYear()} ${A1(r1)}:${A1(q.getMinutes())}:${A1(q.getSeconds())} ${J1}`;
7053
7053
  }
7054
- function t1(G) {
7054
+ function t1(W) {
7055
7055
  const q = new Date(H);
7056
- return q.setHours(0, 0, 0, 0), G === "this.week" ? q.setDate(q.getDate() - q.getDay()) : G === "this.month" && q.setDate(1), q.getTime();
7056
+ return q.setHours(0, 0, 0, 0), W === "this.week" ? q.setDate(q.getDate() - q.getDay()) : W === "this.month" && q.setDate(1), q.getTime();
7057
7057
  }
7058
7058
  const e1 = m(() => {
7059
- if (!F.value || !D.value) return null;
7060
- const G = H.getTime();
7059
+ if (!G.value || !D.value) return null;
7060
+ const W = H.getTime();
7061
7061
  if (v.value === "custom")
7062
7062
  return !_.start || !_.end ? null : { from: Y(_.start), to: Y(_.end) };
7063
7063
  const q = n.find((r1) => r1.k === v.value);
7064
7064
  if (!q) return null;
7065
- if (q.k === "today" || q.k === "this.week" || q.k === "this.month") return { from: Y(t1(q.k)), to: Y(G) };
7065
+ if (q.k === "today" || q.k === "this.week" || q.k === "this.month") return { from: Y(t1(q.k)), to: Y(W) };
7066
7066
  const A1 = R[q.s];
7067
- return A1 ? { from: Y(G - A1), to: Y(G) } : null;
7067
+ return A1 ? { from: Y(W - A1), to: Y(W) } : null;
7068
7068
  });
7069
- function n1(G, q) {
7070
- const A1 = new Date(G, q, 1).getDay(), r1 = new Date(G, q + 1, 0).getDate(), J1 = [];
7069
+ function n1(W, q) {
7070
+ const A1 = new Date(W, q, 1).getDay(), r1 = new Date(W, q + 1, 0).getDate(), J1 = [];
7071
7071
  for (let I2 = 0; I2 < 42; I2++) {
7072
- const p3 = I2 - A1 + 1, l4 = new Date(G, q, p3);
7072
+ const p3 = I2 - A1 + 1, l4 = new Date(W, q, p3);
7073
7073
  J1.push({ d: l4.getDate(), ts: l4.getTime(), cur: p3 >= 1 && p3 <= r1 });
7074
7074
  }
7075
7075
  const c2 = [];
7076
7076
  for (let I2 = 0; I2 < 42; I2 += 7) c2.push(J1.slice(I2, I2 + 7));
7077
- return { mlabel: o[q], y: G, mi: q, weeks: c2 };
7077
+ return { mlabel: o[q], y: W, mi: q, weeks: c2 };
7078
7078
  }
7079
7079
  const z = m(() => {
7080
- const G = new Date(g.value, x.value + 1, 1);
7081
- return [n1(g.value, x.value), n1(G.getFullYear(), G.getMonth())];
7080
+ const W = new Date(g.value, x.value + 1, 1);
7081
+ return [n1(g.value, x.value), n1(W.getFullYear(), W.getMonth())];
7082
7082
  }), l1 = m(() => {
7083
- const G = Math.floor(g.value / 10) * 10, q = [];
7084
- for (let A1 = -1; A1 <= 10; A1++) q.push(G + A1);
7083
+ const W = Math.floor(g.value / 10) * 10, q = [];
7084
+ for (let A1 = -1; A1 <= 10; A1++) q.push(W + A1);
7085
7085
  return q;
7086
7086
  });
7087
7087
  function V1() {
7088
7088
  l.disabled || (u.value = !u.value, u.value && (h.value = "presets", k.value = null));
7089
7089
  }
7090
- function b1(G) {
7091
- v.value = G, u.value = !1;
7090
+ function b1(W) {
7091
+ v.value = W, u.value = !1;
7092
7092
  }
7093
7093
  function h1() {
7094
7094
  v.value = "custom", u.value = !1;
7095
7095
  }
7096
- function N1(G) {
7097
- G.stopPropagation(), v.value = null, u.value = !1;
7096
+ function N1(W) {
7097
+ W.stopPropagation(), v.value = null, u.value = !1;
7098
7098
  }
7099
- function W1(G) {
7100
- !G.cur || G.ts > L || (_.pickNext === "start" || _.start && _.end ? (_.start = G.ts, _.end = null, _.pickNext = "end") : G.ts < _.start ? _.start = G.ts : (_.end = G.ts, _.pickNext = "start"));
7099
+ function W1(W) {
7100
+ !W.cur || W.ts > L || (_.pickNext === "start" || _.start && _.end ? (_.start = W.ts, _.end = null, _.pickNext = "end") : W.ts < _.start ? _.start = W.ts : (_.end = W.ts, _.pickNext = "start"));
7101
7101
  }
7102
- function A(G) {
7102
+ function A(W) {
7103
7103
  const q = { display: "flex", alignItems: "center", justifyContent: "center", width: "34px", height: "34px", marginTop: "1px", marginBottom: "1px", fontSize: "13px", borderRadius: "4px" }, A1 = { background: "var(--calendar-selected-day-background-color)", color: "var(--page-background-color)", fontWeight: 500, cursor: "pointer" };
7104
- if (!G.cur) return { ...q, color: "var(--neutral-light)", opacity: 0.4 };
7105
- const r1 = _.start, J1 = _.end, c2 = G.ts;
7104
+ if (!W.cur) return { ...q, color: "var(--neutral-light)", opacity: 0.4 };
7105
+ const r1 = _.start, J1 = _.end, c2 = W.ts;
7106
7106
  return r1 && J1 && c2 === r1 ? { ...q, ...A1, borderRadius: "4px 0 0 4px" } : r1 && J1 && c2 === J1 ? { ...q, ...A1, borderRadius: "0 4px 4px 0" } : r1 && J1 && c2 > r1 && c2 < J1 ? { ...q, background: "var(--timerange-background-color)", color: "var(--page-text-color)", borderRadius: "0", cursor: "pointer" } : r1 && !J1 && c2 === r1 ? { ...q, ...A1 } : c2 > L ? { ...q, color: "var(--neutral-light)", opacity: 0.5 } : c2 === L ? { ...q, border: "1px solid var(--primary)", color: "var(--primary)", fontWeight: 600, cursor: "pointer" } : { ...q, color: "var(--page-text-color)", cursor: "pointer" };
7107
7107
  }
7108
7108
  function Z() {
7109
- const G = new Date(g.value, x.value - 1, 1);
7110
- g.value = G.getFullYear(), x.value = G.getMonth();
7109
+ const W = new Date(g.value, x.value - 1, 1);
7110
+ g.value = W.getFullYear(), x.value = W.getMonth();
7111
7111
  }
7112
7112
  function i1() {
7113
- const G = new Date(g.value, x.value + 1, 1);
7114
- g.value = G.getFullYear(), x.value = G.getMonth();
7113
+ const W = new Date(g.value, x.value + 1, 1);
7114
+ g.value = W.getFullYear(), x.value = W.getMonth();
7115
7115
  }
7116
- function u1(G, q) {
7117
- q.stopPropagation(), k.value = k.value === G ? null : G;
7116
+ function u1(W, q) {
7117
+ q.stopPropagation(), k.value = k.value === W ? null : W;
7118
7118
  }
7119
- function I1(G) {
7120
- k.value === "from" ? S.value = G : w.value = G, k.value = null;
7119
+ function I1(W) {
7120
+ k.value === "from" ? S.value = W : w.value = W, k.value = null;
7121
7121
  }
7122
- function s1(G) {
7123
- x.value = G, C.value = null;
7122
+ function s1(W) {
7123
+ x.value = W, C.value = null;
7124
7124
  }
7125
- function k1(G) {
7126
- g.value = G, C.value = "month";
7125
+ function k1(W) {
7126
+ g.value = W, C.value = "month";
7127
7127
  }
7128
- function P1(G) {
7129
- g.value += G;
7128
+ function P1(W) {
7129
+ g.value += W;
7130
7130
  }
7131
- function G1(G) {
7131
+ function G1(W) {
7132
7132
  const q = { display: "flex", alignItems: "center", justifyContent: "center", height: "40px", fontSize: "13px", borderRadius: "4px", cursor: "pointer" };
7133
- return G ? { ...q, background: "var(--calendar-selected-day-background-color)", color: "var(--page-background-color)", fontWeight: 500 } : { ...q, color: "var(--page-text-color)" };
7133
+ return W ? { ...q, background: "var(--calendar-selected-day-background-color)", color: "var(--page-background-color)", fontWeight: 500 } : { ...q, color: "var(--page-text-color)" };
7134
7134
  }
7135
7135
  function h2() {
7136
7136
  u.value = !1;
7137
7137
  }
7138
- const M2 = Array.from({ length: 100 }, (G, q) => q), f = /* @__PURE__ */ B(26), b = /* @__PURE__ */ B(50), N = /* @__PURE__ */ B(null), c1 = /* @__PURE__ */ B(null), a1 = m(() => +l.rangeStart > 0 && +l.rangeEnd > +l.rangeStart), X = m(() => {
7138
+ const M2 = Array.from({ length: 100 }, (W, q) => q), f = /* @__PURE__ */ B(26), b = /* @__PURE__ */ B(50), N = /* @__PURE__ */ B(null), c1 = /* @__PURE__ */ B(null), a1 = m(() => +l.rangeStart > 0 && +l.rangeEnd > +l.rangeStart), X = m(() => {
7139
7139
  if (a1.value) {
7140
7140
  const q = +l.rangeStart, A1 = +l.rangeEnd, r1 = Math.max((A1 - q) * 0.5, 6 * 36e5);
7141
7141
  return { a: q - r1, b: A1 + r1 };
7142
7142
  }
7143
- const G = L - 5 * 864e5;
7144
- return { a: G, b: G + 10 * 864e5 };
7145
- }), g1 = (G) => X.value.a + G / 100 * (X.value.b - X.value.a), C1 = (G) => Math.min(100, Math.max(0, (G - X.value.a) / (X.value.b - X.value.a) * 100)), v1 = m(() => {
7146
- const G = [], q = X.value.b - X.value.a <= 2592e5, A1 = (r1) => String(r1).padStart(2, "0");
7143
+ const W = L - 5 * 864e5;
7144
+ return { a: W, b: W + 10 * 864e5 };
7145
+ }), g1 = (W) => X.value.a + W / 100 * (X.value.b - X.value.a), C1 = (W) => Math.min(100, Math.max(0, (W - X.value.a) / (X.value.b - X.value.a) * 100)), v1 = m(() => {
7146
+ const W = [], q = X.value.b - X.value.a <= 2592e5, A1 = (r1) => String(r1).padStart(2, "0");
7147
7147
  for (let r1 = 0; r1 <= 100; r1 += 10) {
7148
7148
  const J1 = new Date(g1(r1));
7149
- G.push({ pct: r1, t: q ? `${A1(J1.getHours())}:${A1(J1.getMinutes())}` : `${A1(J1.getDate())}/${A1(J1.getMonth() + 1)}` });
7149
+ W.push({ pct: r1, t: q ? `${A1(J1.getHours())}:${A1(J1.getMinutes())}` : `${A1(J1.getDate())}/${A1(J1.getMonth() + 1)}` });
7150
7150
  }
7151
- return G;
7151
+ return W;
7152
7152
  });
7153
7153
  U1([() => l.rangeStart, () => l.rangeEnd], () => {
7154
7154
  l.kind === "slider" && a1.value && (f.value = C1(+l.rangeStart), b.value = C1(+l.rangeEnd));
7155
7155
  }, { immediate: !0 });
7156
- function o1(G, q) {
7157
- N.value = G, q.preventDefault();
7156
+ function o1(W, q) {
7157
+ N.value = W, q.preventDefault();
7158
7158
  }
7159
- function z1(G) {
7159
+ function z1(W) {
7160
7160
  if (!N.value || !c1.value) return;
7161
- const q = c1.value.getBoundingClientRect(), A1 = Math.min(100, Math.max(0, (G.clientX - q.left) / q.width * 100));
7161
+ const q = c1.value.getBoundingClientRect(), A1 = Math.min(100, Math.max(0, (W.clientX - q.left) / q.width * 100));
7162
7162
  N.value === "left" ? f.value = Math.min(A1, b.value - 2) : b.value = Math.max(A1, f.value + 2);
7163
7163
  }
7164
7164
  function x1() {
@@ -7169,38 +7169,38 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7169
7169
  }), g2(() => {
7170
7170
  window.removeEventListener("mousemove", z1), window.removeEventListener("mouseup", x1);
7171
7171
  });
7172
- const m1 = m(() => l.kind === "field-time" ? "clock" : "calendar"), O1 = m(() => l.placeholder || (l.kind === "field-time" ? "Select time" : l.kind === "field-date" ? "Select date" : "Select date & time")), L1 = /* @__PURE__ */ B(!1), R1 = /* @__PURE__ */ B("date"), T1 = /* @__PURE__ */ B(null), K1 = /* @__PURE__ */ B(null), X1 = /* @__PURE__ */ B(null), o2 = /* @__PURE__ */ B(null), d2 = Array.from({ length: 12 }, (G, q) => q + 1), k2 = Array.from({ length: 60 }, (G, q) => q), $2 = m(() => l.kind === "field-date" || l.kind === "field-datetime"), $ = m(() => l.kind === "field-time"), U = m(() => n1(g.value, x.value)), $1 = (G) => String(G).padStart(2, "0"), _1 = m(() => K1.value != null && X1.value != null && o2.value != null), n2 = m(() => _1.value ? `${$1(K1.value)}:${$1(X1.value)} ${o2.value}` : ""), _2 = m(() => {
7172
+ const m1 = m(() => l.kind === "field-time" ? "clock" : "calendar"), O1 = m(() => l.placeholder || (l.kind === "field-time" ? "Select time" : l.kind === "field-date" ? "Select date" : "Select date & time")), L1 = /* @__PURE__ */ B(!1), R1 = /* @__PURE__ */ B("date"), T1 = /* @__PURE__ */ B(null), K1 = /* @__PURE__ */ B(null), X1 = /* @__PURE__ */ B(null), o2 = /* @__PURE__ */ B(null), d2 = Array.from({ length: 12 }, (W, q) => q + 1), k2 = Array.from({ length: 60 }, (W, q) => q), $2 = m(() => l.kind === "field-date" || l.kind === "field-datetime"), $ = m(() => l.kind === "field-time"), U = m(() => n1(g.value, x.value)), $1 = (W) => String(W).padStart(2, "0"), _1 = m(() => K1.value != null && X1.value != null && o2.value != null), n2 = m(() => _1.value ? `${$1(K1.value)}:${$1(X1.value)} ${o2.value}` : ""), _2 = m(() => {
7173
7173
  if (!T1.value) return "";
7174
- const G = new Date(T1.value);
7175
- return `${$1(G.getDate())}/${$1(G.getMonth() + 1)}/${G.getFullYear()}`;
7174
+ const W = new Date(T1.value);
7175
+ return `${$1(W.getDate())}/${$1(W.getMonth() + 1)}/${W.getFullYear()}`;
7176
7176
  }), D2 = m(() => {
7177
7177
  if (!T1.value) return "";
7178
- const G = new Date(T1.value);
7179
- return `${o[G.getMonth()]} ${G.getDate()} ${G.getFullYear()}`;
7178
+ const W = new Date(T1.value);
7179
+ return `${o[W.getMonth()]} ${W.getDate()} ${W.getFullYear()}`;
7180
7180
  }), R2 = m(() => $.value ? n2.value : T1.value ? l.kind === "field-datetime" ? `${_2.value}${_1.value ? " " + n2.value : ""}` : _2.value : ""), W2 = m(() => $.value ? _1.value : !!T1.value);
7181
7181
  function q2() {
7182
- const G = /* @__PURE__ */ new Date(), q = G.getHours();
7183
- K1.value = q % 12 || 12, X1.value = G.getMinutes(), o2.value = q < 12 ? "AM" : "PM";
7182
+ const W = /* @__PURE__ */ new Date(), q = W.getHours();
7183
+ K1.value = q % 12 || 12, X1.value = W.getMinutes(), o2.value = q < 12 ? "AM" : "PM";
7184
7184
  }
7185
7185
  function K() {
7186
7186
  l.disabled || (L1.value = !L1.value, L1.value && (R1.value = $.value ? "time" : "date"), L1.value && $.value && !_1.value && q2());
7187
7187
  }
7188
- function T(G) {
7188
+ function T(W) {
7189
7189
  return {
7190
- muted: !G.cur,
7191
- sel: G.cur && T1.value === G.ts,
7192
- today: G.cur && G.ts === L && T1.value !== G.ts
7190
+ muted: !W.cur,
7191
+ sel: W.cur && T1.value === W.ts,
7192
+ today: W.cur && W.ts === L && T1.value !== W.ts
7193
7193
  };
7194
7194
  }
7195
- function J(G) {
7196
- G.cur && (T1.value = G.ts, l.kind === "field-date" && (L1.value = !1));
7195
+ function J(W) {
7196
+ W.cur && (T1.value = W.ts, l.kind === "field-date" && (L1.value = !1));
7197
7197
  }
7198
7198
  function S1() {
7199
7199
  T1.value || (T1.value = L), _1.value || q2(), R1.value = "time";
7200
7200
  }
7201
7201
  function O() {
7202
- const G = /* @__PURE__ */ new Date();
7203
- T1.value = new Date(G.getFullYear(), G.getMonth(), G.getDate()).getTime(), q2();
7202
+ const W = /* @__PURE__ */ new Date();
7203
+ T1.value = new Date(W.getFullYear(), W.getMonth(), W.getDate()).getTime(), q2();
7204
7204
  }
7205
7205
  function Q() {
7206
7206
  T1.value = L, L1.value = !1;
@@ -7208,31 +7208,31 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7208
7208
  function Y1() {
7209
7209
  L1.value = !1;
7210
7210
  }
7211
- function D1(G) {
7212
- K1.value = G;
7211
+ function D1(W) {
7212
+ K1.value = W;
7213
7213
  }
7214
- function l2(G) {
7215
- X1.value = G;
7214
+ function l2(W) {
7215
+ X1.value = W;
7216
7216
  }
7217
- function M(G) {
7218
- o2.value = G;
7217
+ function M(W) {
7218
+ o2.value = W;
7219
7219
  }
7220
- function d1(G) {
7221
- G.stopPropagation(), T1.value = null, K1.value = X1.value = o2.value = null;
7220
+ function d1(W) {
7221
+ W.stopPropagation(), T1.value = null, K1.value = X1.value = o2.value = null;
7222
7222
  }
7223
- const y1 = (G) => Y(g1(G)), Q1 = () => {
7224
- if (!F.value || v.value == null) return null;
7225
- const G = H.getTime();
7223
+ const y1 = (W) => Y(g1(W)), Q1 = () => {
7224
+ if (!G.value || v.value == null) return null;
7225
+ const W = H.getTime();
7226
7226
  if (v.value === "custom") return _.start && _.end ? { fromMs: _.start, toMs: _.end } : null;
7227
7227
  const q = n.find((r1) => r1.k === v.value);
7228
7228
  if (!q) return null;
7229
- if (q.k === "today" || q.k === "this.week" || q.k === "this.month") return { fromMs: t1(q.k), toMs: G };
7229
+ if (q.k === "today" || q.k === "this.week" || q.k === "this.month") return { fromMs: t1(q.k), toMs: W };
7230
7230
  const A1 = R[q.s];
7231
- return A1 ? { fromMs: G - A1, toMs: G } : null;
7231
+ return A1 ? { fromMs: W - A1, toMs: W } : null;
7232
7232
  }, v2 = m(() => {
7233
- if (F.value) {
7233
+ if (G.value) {
7234
7234
  if (v.value == null) return null;
7235
- const G = Q1(), q = G ? { fromMs: G.fromMs, toMs: G.toMs, from: Y(G.fromMs), to: Y(G.toMs) } : {};
7235
+ const W = Q1(), q = W ? { fromMs: W.fromMs, toMs: W.toMs, from: Y(W.fromMs), to: Y(W.toMs) } : {};
7236
7236
  if (v.value === "custom") return { type: "absolute", start: _.start, end: _.end, fromTime: S.value, toTime: w.value, ...q };
7237
7237
  const A1 = n.find((r1) => r1.k === v.value);
7238
7238
  return { type: "relative", key: v.value, label: A1 ? A1.t : v.value, span: A1 ? A1.s : null, ...q };
@@ -7242,8 +7242,8 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7242
7242
  function f1() {
7243
7243
  if (a)
7244
7244
  try {
7245
- const G = v2.value == null ? "" : JSON.stringify(v2.value);
7246
- a.value !== G && (a.value = G);
7245
+ const W = v2.value == null ? "" : JSON.stringify(v2.value);
7246
+ a.value !== W && (a.value = W);
7247
7247
  } catch {
7248
7248
  }
7249
7249
  }
@@ -7253,32 +7253,32 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7253
7253
  const m2 = /* @__PURE__ */ B(null), E2 = /* @__PURE__ */ B(null), z3 = /* @__PURE__ */ B(null);
7254
7254
  function e4() {
7255
7255
  u2(() => {
7256
- for (const G of [m2.value, E2.value, z3.value]) {
7257
- const q = G && G.querySelector(".srow.on");
7258
- q && (G.scrollTop = q.offsetTop);
7256
+ for (const W of [m2.value, E2.value, z3.value]) {
7257
+ const q = W && W.querySelector(".srow.on");
7258
+ q && (W.scrollTop = q.offsetTop);
7259
7259
  }
7260
7260
  });
7261
7261
  }
7262
7262
  U1([R1, L1, K1, X1, o2], () => {
7263
7263
  L1.value && R1.value === "time" && e4();
7264
7264
  });
7265
- function t4(G) {
7266
- G.composedPath().some((q) => q && q.tagName === "OBS-DATE-TIME-PICKER") || (u.value = !1, k.value = null, L1.value = !1);
7265
+ function t4(W) {
7266
+ W.composedPath().some((q) => q && q.tagName === "OBS-DATE-TIME-PICKER") || (u.value = !1, k.value = null, L1.value = !1);
7267
7267
  }
7268
7268
  return x2(() => document.addEventListener("click", t4, !0)), g2(() => document.removeEventListener("click", t4, !0)), U1(() => l.kind, () => {
7269
7269
  u.value = !1, k.value = null, L1.value = !1, h.value = "presets", C.value = null, R1.value = l.kind === "field-time" ? "time" : "date";
7270
- }), (G, q) => {
7270
+ }), (W, q) => {
7271
7271
  const A1 = M1("obs-icon");
7272
7272
  return e.kind.startsWith("field") ? (c(), r("span", {
7273
7273
  key: 0,
7274
- class: W(["field-wrap", { open: L1.value, wide: $2.value }])
7274
+ class: F(["field-wrap", { open: L1.value, wide: $2.value }])
7275
7275
  }, [
7276
7276
  i("span", {
7277
- class: W(["field", { disabled: e.disabled, open: L1.value }]),
7277
+ class: F(["field", { disabled: e.disabled, open: L1.value }]),
7278
7278
  onClick: K
7279
7279
  }, [
7280
7280
  i("span", {
7281
- class: W(["field-ph", { filled: W2.value }])
7281
+ class: F(["field-ph", { filled: W2.value }])
7282
7282
  }, V(R2.value || O1.value), 3),
7283
7283
  W2.value && !e.disabled ? (c(), Z1(A1, {
7284
7284
  key: 0,
@@ -7355,7 +7355,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7355
7355
  }, [
7356
7356
  (c(!0), r(E, null, p1(r1, (c2, I2) => (c(), r("div", { key: I2 }, [
7357
7357
  i("div", {
7358
- class: W(["fday", T(c2)]),
7358
+ class: F(["fday", T(c2)]),
7359
7359
  onClick: w1((p3) => J(c2), ["stop"])
7360
7360
  }, V(c2.d), 11, Kl)
7361
7361
  ]))), 128))
@@ -7370,7 +7370,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7370
7370
  }, [
7371
7371
  (c(!0), r(E, null, p1(A2(d2), (r1) => (c(), r("div", {
7372
7372
  key: "h" + r1,
7373
- class: W(["srow", { on: K1.value === r1 }]),
7373
+ class: F(["srow", { on: K1.value === r1 }]),
7374
7374
  onClick: w1((J1) => D1(r1), ["stop"])
7375
7375
  }, V($1(r1)), 11, Ql))), 128))
7376
7376
  ], 512),
@@ -7381,7 +7381,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7381
7381
  }, [
7382
7382
  (c(!0), r(E, null, p1(A2(k2), (r1) => (c(), r("div", {
7383
7383
  key: "m" + r1,
7384
- class: W(["srow", { on: X1.value === r1 }]),
7384
+ class: F(["srow", { on: X1.value === r1 }]),
7385
7385
  onClick: w1((J1) => l2(r1), ["stop"])
7386
7386
  }, V($1(r1)), 11, es))), 128))
7387
7387
  ], 512),
@@ -7392,14 +7392,14 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7392
7392
  }, [
7393
7393
  (c(), r(E, null, p1(["AM", "PM"], (r1) => i("div", {
7394
7394
  key: r1,
7395
- class: W(["srow", { on: o2.value === r1 }]),
7395
+ class: F(["srow", { on: o2.value === r1 }]),
7396
7396
  onClick: w1((J1) => M(r1), ["stop"])
7397
7397
  }, V(r1), 11, ts)), 64))
7398
7398
  ], 512)
7399
7399
  ])
7400
7400
  ])),
7401
7401
  i("div", {
7402
- class: W(["dt-foot", { single: e.kind === "field-date" }])
7402
+ class: F(["dt-foot", { single: e.kind === "field-date" }])
7403
7403
  }, [
7404
7404
  e.kind === "field-date" ? (c(), r("span", {
7405
7405
  key: 0,
@@ -7442,14 +7442,14 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7442
7442
  style: H1({ left: f.value + "%", width: b.value - f.value + "%" })
7443
7443
  }, null, 4),
7444
7444
  i("div", {
7445
- class: W(["handle", { dragging: N.value === "left" }]),
7445
+ class: F(["handle", { dragging: N.value === "left" }]),
7446
7446
  style: H1({ left: f.value + "%", marginLeft: "4px" }),
7447
7447
  onMousedown: q[5] || (q[5] = (r1) => o1("left", r1))
7448
7448
  }, [
7449
7449
  i("span", as, V(y1(f.value)), 1)
7450
7450
  ], 38),
7451
7451
  i("div", {
7452
- class: W(["handle", { dragging: N.value === "right" }]),
7452
+ class: F(["handle", { dragging: N.value === "right" }]),
7453
7453
  style: H1({ left: b.value + "%", marginLeft: "-12px" }),
7454
7454
  onMousedown: q[6] || (q[6] = (r1) => o1("right", r1))
7455
7455
  }, [
@@ -7472,7 +7472,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7472
7472
  }, ["stop"]))
7473
7473
  }, [
7474
7474
  i("div", {
7475
- class: W(["trigger", { bordered: e.bordered, disabled: e.disabled, lg: e.size === "lg" }]),
7475
+ class: F(["trigger", { bordered: e.bordered, disabled: e.disabled, lg: e.size === "lg" }]),
7476
7476
  onClick: V1
7477
7477
  }, [
7478
7478
  D.value ? (c(), r(E, { key: 0 }, [
@@ -7510,7 +7510,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7510
7510
  u.value && h.value === "presets" ? (c(), r("div", is, [
7511
7511
  (c(), r(E, null, p1(n, (r1) => i("a", {
7512
7512
  key: r1.k,
7513
- class: W(["prow", { active: v.value === r1.k }]),
7513
+ class: F(["prow", { active: v.value === r1.k }]),
7514
7514
  onClick: (J1) => b1(r1.k)
7515
7515
  }, [
7516
7516
  i("span", null, V(r1.t), 1),
@@ -7518,7 +7518,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7518
7518
  ], 10, ds)), 64)),
7519
7519
  j.value ? y("", !0) : (c(), r("a", {
7520
7520
  key: 0,
7521
- class: W(["prow custom-row", { active: v.value === "custom" }]),
7521
+ class: F(["prow custom-row", { active: v.value === "custom" }]),
7522
7522
  onClick: q[7] || (q[7] = (r1) => h.value = "custom")
7523
7523
  }, [
7524
7524
  i("span", us, [
@@ -7597,7 +7597,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7597
7597
  i("div", Cs, [
7598
7598
  (c(!0), r(E, null, p1(z.value, (r1, J1) => (c(), r("div", {
7599
7599
  key: J1,
7600
- class: W(["month", { divr: J1 === 0 }])
7600
+ class: F(["month", { divr: J1 === 0 }])
7601
7601
  }, [
7602
7602
  i("div", vs, [
7603
7603
  i("span", fs, [
@@ -7692,7 +7692,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7692
7692
  k.value === "from" ? (c(), r("div", Zs, [
7693
7693
  (c(!0), r(E, null, p1(A2(d), (r1) => (c(), r("div", {
7694
7694
  key: r1,
7695
- class: W(["trow", { active: S.value === r1 }]),
7695
+ class: F(["trow", { active: S.value === r1 }]),
7696
7696
  onClick: (J1) => I1(r1)
7697
7697
  }, V(r1), 11, Ms))), 128))
7698
7698
  ])) : y("", !0)
@@ -7704,7 +7704,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7704
7704
  onClick: q[15] || (q[15] = (r1) => u1("to", r1))
7705
7705
  }, [
7706
7706
  i("span", {
7707
- class: W({ muted: !w.value })
7707
+ class: F({ muted: !w.value })
7708
7708
  }, V(w.value || "Select"), 3),
7709
7709
  I(A1, {
7710
7710
  name: "chevronDown",
@@ -7715,7 +7715,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7715
7715
  k.value === "to" ? (c(), r("div", Hs, [
7716
7716
  (c(!0), r(E, null, p1(A2(d), (r1) => (c(), r("div", {
7717
7717
  key: r1,
7718
- class: W(["trow", { active: w.value === r1 }]),
7718
+ class: F(["trow", { active: w.value === r1 }]),
7719
7719
  onClick: (J1) => I1(r1)
7720
7720
  }, V(r1), 11, Vs))), 128))
7721
7721
  ])) : y("", !0)
@@ -7820,7 +7820,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7820
7820
  const T = d.find((J) => J.k === K);
7821
7821
  return T ? T.l : K;
7822
7822
  };
7823
- function F(K) {
7823
+ function G(K) {
7824
7824
  if (!K || !K.groups) return "";
7825
7825
  const T = K.condition === "or" ? "OR" : "AND", J = K.groups.map((S1) => {
7826
7826
  const O = S1.conditions.filter((D1) => D1.operand && D1.operator);
@@ -7830,7 +7830,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
7830
7830
  }).filter(Boolean);
7831
7831
  return J.length ? J.length > 1 ? J.map((S1) => "(" + S1 + ")").join(" " + T + " ") : J[0] : "";
7832
7832
  }
7833
- const j = m(() => H.value ? ["pre", "post"].map((K) => F(H.value[K])).filter(Boolean).join(' <strong style="color:var(--primary,#111c2c);margin:0 6px">|</strong> ') : "");
7833
+ const j = m(() => H.value ? ["pre", "post"].map((K) => G(H.value[K])).filter(Boolean).join(' <strong style="color:var(--primary,#111c2c);margin:0 6px">|</strong> ') : "");
7834
7834
  function D() {
7835
7835
  g.value || (L.value = p(H.value || v())), g.value = !g.value;
7836
7836
  }
@@ -8065,7 +8065,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8065
8065
  return x2(() => document.addEventListener("click", q2, !0)), g2(() => document.removeEventListener("click", q2, !0)), (K, T) => {
8066
8066
  const J = M1("obs-icon"), S1 = M1("obs-select");
8067
8067
  return c(), r("div", {
8068
- class: W(["fx", "k-" + e.kind])
8068
+ class: F(["fx", "k-" + e.kind])
8069
8069
  }, [
8070
8070
  e.kind === "expression" ? (c(), r("div", Rs, [
8071
8071
  i("div", {
@@ -8104,7 +8104,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8104
8104
  i("div", Ns, [
8105
8105
  (c(), r(E, null, p1(_, (O) => i("div", {
8106
8106
  key: O.k,
8107
- class: W(["tab", { on: x.value === O.k }]),
8107
+ class: F(["tab", { on: x.value === O.k }]),
8108
8108
  onClick: (Q) => x.value = O.k
8109
8109
  }, V(O.text), 11, Us)), 64))
8110
8110
  ]),
@@ -8333,12 +8333,12 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8333
8333
  }, [
8334
8334
  i("span", ga, [
8335
8335
  i("span", {
8336
- class: W(["seg field", { on: X(O.i, "field") }]),
8336
+ class: F(["seg field", { on: X(O.i, "field") }]),
8337
8337
  onClick: w1((Q) => z1(O.i, "field", Q), ["stop"])
8338
8338
  }, V(h2(O.c)), 11, ma),
8339
8339
  O.c.operator ? (c(), r("span", {
8340
8340
  key: 0,
8341
- class: W(["seg op", { on: X(O.i, "operator") }]),
8341
+ class: F(["seg op", { on: X(O.i, "operator") }]),
8342
8342
  onClick: w1((Q) => z1(O.i, "operator", Q), ["stop"])
8343
8343
  }, V(M2(O.c)), 11, ba)) : y("", !0),
8344
8344
  O.c.operator && f(O.c) && b(O.c) ? (c(), r("span", {
@@ -8359,7 +8359,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8359
8359
  }, null, 8, ["allow-select-all", "options", "value", "onChange"])
8360
8360
  ])) : O.c.operator && f(O.c) ? (c(), r("span", {
8361
8361
  key: 2,
8362
- class: W(["seg val", { on: X(O.i, "value") }]),
8362
+ class: F(["seg val", { on: X(O.i, "value") }]),
8363
8363
  onClick: w1((Q) => z1(O.i, "value", Q), ["stop"])
8364
8364
  }, V(N(O.c)), 11, xa)) : y("", !0),
8365
8365
  a1(O.c) ? (c(), r("span", {
@@ -8398,7 +8398,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8398
8398
  i("div", wa, V(u1.value.step), 1),
8399
8399
  (c(!0), r(E, null, p1(g1.value, (O) => (c(), r("div", {
8400
8400
  key: O.k,
8401
- class: W(["menu-row", { msel: O1(u1.value.i, O) }]),
8401
+ class: F(["menu-row", { msel: O1(u1.value.i, O) }]),
8402
8402
  onClick: w1((Q) => x1(O), ["stop"])
8403
8403
  }, [
8404
8404
  i("span", null, V(O.l), 1),
@@ -8508,7 +8508,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8508
8508
  I(J, {
8509
8509
  name: "chevronRight",
8510
8510
  size: "10",
8511
- class: W(["i10 vchev", { open: O.open }])
8511
+ class: F(["i10 vchev", { open: O.open }])
8512
8512
  }, null, 8, ["class"]),
8513
8513
  q1(V(O.n), 1)
8514
8514
  ], 8, Pa),
@@ -8518,7 +8518,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8518
8518
  class: "vrow"
8519
8519
  }, [
8520
8520
  i("span", {
8521
- class: W(["vcb", { on: !!n2.value[O.n + Q.n] }]),
8521
+ class: F(["vcb", { on: !!n2.value[O.n + Q.n] }]),
8522
8522
  onClick: w1((Y1) => R2(O.n + Q.n), ["prevent"])
8523
8523
  }, [
8524
8524
  n2.value[O.n + Q.n] ? (c(), Z1(J, {
@@ -8537,7 +8537,7 @@ const E9 = ':host([hidden]){display:none!important}:host{display:inline-block}bu
8537
8537
  size: "13"
8538
8538
  }, null, 8, ["style", "name"])) : y("", !0),
8539
8539
  i("span", {
8540
- class: W(["vname", { noicon: !Q.i }])
8540
+ class: F(["vname", { noicon: !Q.i }])
8541
8541
  }, V(Q.n), 3),
8542
8542
  i("span", Ra, V(Q.c), 1)
8543
8543
  ]))), 128))
@@ -8600,7 +8600,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
8600
8600
  "note-split": { note: "* fields are mandatory", right: [{ t: "Back", v: "default", a: "back" }, { t: "Cancel", v: "default", close: !0 }, { t: "Save", v: "primary", a: "save" }] }
8601
8601
  }, x = m(() => g[l.footer] || null), H = m(() => !!(x.value && (x.value.left || x.value.note))), L = m(() => C.value || !!x.value);
8602
8602
  function _(Y) {
8603
- Y.a && a("footer-action", { action: Y.a }), Y.close && F();
8603
+ Y.a && a("footer-action", { action: Y.a }), Y.close && G();
8604
8604
  }
8605
8605
  function S() {
8606
8606
  const Y = v.value;
@@ -8616,7 +8616,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
8616
8616
  function k() {
8617
8617
  const Y = d.value;
8618
8618
  if (!(!Y || Y.open)) {
8619
- d6(F);
8619
+ d6(G);
8620
8620
  try {
8621
8621
  Y.showModal();
8622
8622
  } catch {
@@ -8631,37 +8631,37 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
8631
8631
  }), a("open");
8632
8632
  }
8633
8633
  }
8634
- function F() {
8634
+ function G() {
8635
8635
  const Y = d.value;
8636
8636
  !Y || !Y.open || Y.close();
8637
8637
  }
8638
8638
  function j() {
8639
- p.value = !1, p6(F), w(!1), a("update:open", !1), a("close"), a("after-close");
8639
+ p.value = !1, p6(G), w(!1), a("update:open", !1), a("close"), a("after-close");
8640
8640
  }
8641
8641
  function D(Y) {
8642
8642
  s(l.escClosable) && Y.preventDefault();
8643
8643
  }
8644
8644
  function P(Y) {
8645
- Y.target === d.value && !l.maskClosable || Y.target === d.value && l.maskClosable && F();
8645
+ Y.target === d.value && !l.maskClosable || Y.target === d.value && l.maskClosable && G();
8646
8646
  }
8647
8647
  function R(Y) {
8648
8648
  const t1 = Y.target;
8649
- t1 && t1.closest && t1.closest("[data-close]") && F();
8649
+ t1 && t1.closest && t1.closest("[data-close]") && G();
8650
8650
  }
8651
8651
  return U1(() => l.open, (Y) => {
8652
- Y ? k() : F();
8652
+ Y ? k() : G();
8653
8653
  }), x2(() => {
8654
8654
  S(), l.open && k();
8655
8655
  }), g2(() => {
8656
8656
  const Y = d.value;
8657
8657
  Y && Y.open && Y.close();
8658
- }), o && (o.show = k, o.hide = F), (Y, t1) => {
8658
+ }), o && (o.show = k, o.hide = G), (Y, t1) => {
8659
8659
  const e1 = M1("obs-icon"), n1 = M1("obs-button");
8660
8660
  return c(), r("dialog", {
8661
8661
  ref_key: "dlg",
8662
8662
  ref: d,
8663
8663
  tabindex: "-1",
8664
- class: W(["drawer", ["place-" + e.placement]]),
8664
+ class: F(["drawer", ["place-" + e.placement]]),
8665
8665
  style: H1({ width: u.value }),
8666
8666
  "aria-labelledby": A2(n),
8667
8667
  onClose: j,
@@ -8669,7 +8669,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
8669
8669
  onClick: P
8670
8670
  }, [
8671
8671
  i("div", {
8672
- class: W(["wrap", { pad: e.usePadding }]),
8672
+ class: F(["wrap", { pad: e.usePadding }]),
8673
8673
  onClick: R
8674
8674
  }, [
8675
8675
  i("header", Ua, [
@@ -8685,7 +8685,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
8685
8685
  type: "button",
8686
8686
  class: "x",
8687
8687
  "aria-label": "Close",
8688
- onClick: F
8688
+ onClick: G
8689
8689
  }, [
8690
8690
  I(e1, {
8691
8691
  name: "times",
@@ -8694,12 +8694,12 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
8694
8694
  ])
8695
8695
  ]),
8696
8696
  i("div", {
8697
- class: W(["body", { scroll: h.value, pad: e.usePadding, hasfoot: L.value }])
8697
+ class: F(["body", { scroll: h.value, pad: e.usePadding, hasfoot: L.value }])
8698
8698
  }, [
8699
8699
  F1(Y.$slots, "default")
8700
8700
  ], 2),
8701
8701
  T2(i("footer", {
8702
- class: W(["actions", { split: !C.value && H.value }])
8702
+ class: F(["actions", { split: !C.value && H.value }])
8703
8703
  }, [
8704
8704
  F1(Y.$slots, "actions", {
8705
8705
  ref_key: "actionsSlot",
@@ -9463,7 +9463,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9463
9463
  U1(() => l.value, (A) => {
9464
9464
  C.value = h(A);
9465
9465
  });
9466
- const v = /* @__PURE__ */ B(!1), g = /* @__PURE__ */ B(""), x = /* @__PURE__ */ B("all"), H = /* @__PURE__ */ B(null), L = /* @__PURE__ */ B(null), _ = /* @__PURE__ */ B(null), S = /* @__PURE__ */ B({}), w = m(() => C.value.length), k = (A) => A[l.rowKey], F = m(() => {
9466
+ const v = /* @__PURE__ */ B(!1), g = /* @__PURE__ */ B(""), x = /* @__PURE__ */ B("all"), H = /* @__PURE__ */ B(null), L = /* @__PURE__ */ B(null), _ = /* @__PURE__ */ B(null), S = /* @__PURE__ */ B({}), w = m(() => C.value.length), k = (A) => A[l.rowKey], G = m(() => {
9467
9467
  if (!w.value) return l.placeholder;
9468
9468
  const A = u.value.find((i1) => k(i1) === C.value[0]), Z = A ? A.name ?? A.label ?? k(A) : C.value[0];
9469
9469
  return w.value > 1 ? `${Z} (+${w.value - 1})` : Z;
@@ -9539,7 +9539,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9539
9539
  return c(), r("div", {
9540
9540
  ref_key: "rootRef",
9541
9541
  ref: H,
9542
- class: W(["gs", { open: v.value, disabled: e.disabled, block: e.block }])
9542
+ class: F(["gs", { open: v.value, disabled: e.disabled, block: e.block }])
9543
9543
  }, [
9544
9544
  i("button", {
9545
9545
  type: "button",
@@ -9548,10 +9548,10 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9548
9548
  onClick: w1(N1, ["stop"])
9549
9549
  }, [
9550
9550
  i("span", {
9551
- class: W(["tlabel", { ph: !w.value }])
9552
- }, V(F.value), 3),
9551
+ class: F(["tlabel", { ph: !w.value }])
9552
+ }, V(G.value), 3),
9553
9553
  I(i1, {
9554
- class: W(["chev", { up: v.value }]),
9554
+ class: F(["chev", { up: v.value }]),
9555
9555
  name: "angleDown",
9556
9556
  size: "12"
9557
9557
  }, null, 8, ["class"])
@@ -9637,7 +9637,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9637
9637
  } catch {
9638
9638
  return w;
9639
9639
  }
9640
- return k.split(",").map((F) => ({ key: F.trim(), label: F.trim() })).filter((F) => F.key);
9640
+ return k.split(",").map((G) => ({ key: G.trim(), label: G.trim() })).filter((G) => G.key);
9641
9641
  }, n = m(() => o(l.items)), d = m(() => l.mode === "inline"), p = /* @__PURE__ */ B(!1), u = /* @__PURE__ */ B(null), h = /* @__PURE__ */ B(null), C = /* @__PURE__ */ B({});
9642
9642
  function v(S) {
9643
9643
  if (!(S.divider || S.disabled)) {
@@ -9653,11 +9653,11 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9653
9653
  u2(() => {
9654
9654
  const S = u.value && u.value.getBoundingClientRect();
9655
9655
  if (!S) return;
9656
- const w = l.placement !== "bottom-start", k = 200, F = Math.max(8, Math.round(w ? S.right - k : S.left)), j = typeof window < "u" && window.innerHeight || 800, D = j - S.bottom, P = D < 220 && S.top > D, R = 8, Y = {
9656
+ const w = l.placement !== "bottom-start", k = 200, G = Math.max(8, Math.round(w ? S.right - k : S.left)), j = typeof window < "u" && window.innerHeight || 800, D = j - S.bottom, P = D < 220 && S.top > D, R = 8, Y = {
9657
9657
  position: "fixed",
9658
9658
  inset: "auto",
9659
9659
  margin: "0",
9660
- left: `${F}px`,
9660
+ left: `${G}px`,
9661
9661
  minWidth: `${k}px`,
9662
9662
  maxHeight: `${Math.max(160, Math.round((P ? S.top : D) - R - 8))}px`,
9663
9663
  overflowY: "auto"
@@ -9704,33 +9704,33 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9704
9704
  class: "menu inline",
9705
9705
  role: "menu"
9706
9706
  }, [
9707
- (c(!0), r(E, null, p1(n.value, (F, j) => (c(), r(E, null, [
9708
- F.divider ? (c(), r("div", {
9707
+ (c(!0), r(E, null, p1(n.value, (G, j) => (c(), r(E, null, [
9708
+ G.divider ? (c(), r("div", {
9709
9709
  key: "d" + j,
9710
9710
  class: "mdiv",
9711
9711
  role: "separator"
9712
9712
  })) : (c(), r("button", {
9713
- key: F.key,
9713
+ key: G.key,
9714
9714
  type: "button",
9715
- class: W(["mitem", { danger: F.danger, positive: F.positive, sel: F.selected, dis: F.disabled }]),
9715
+ class: F(["mitem", { danger: G.danger, positive: G.positive, sel: G.selected, dis: G.disabled }]),
9716
9716
  role: "menuitem",
9717
- disabled: F.disabled,
9718
- onClick: (D) => v(F)
9717
+ disabled: G.disabled,
9718
+ onClick: (D) => v(G)
9719
9719
  }, [
9720
- F.icon ? (c(), Z1(k, {
9720
+ G.icon ? (c(), Z1(k, {
9721
9721
  key: 0,
9722
9722
  class: "mico",
9723
- name: F.icon,
9723
+ name: G.icon,
9724
9724
  size: "15"
9725
9725
  }, null, 8, ["name"])) : y("", !0),
9726
- i("span", vo, V(F.label ?? F.name ?? F.key), 1)
9726
+ i("span", vo, V(G.label ?? G.name ?? G.key), 1)
9727
9727
  ], 10, Co))
9728
9728
  ], 64))), 256))
9729
9729
  ], 512)) : (c(), r("div", {
9730
9730
  key: 1,
9731
9731
  ref_key: "rootRef",
9732
9732
  ref: u,
9733
- class: W(["ctx", { disabled: e.disabled }])
9733
+ class: F(["ctx", { disabled: e.disabled }])
9734
9734
  }, [
9735
9735
  e.trigger === "button" ? (c(), r("button", {
9736
9736
  key: 0,
@@ -9741,14 +9741,14 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9741
9741
  }, [
9742
9742
  i("span", null, V(e.label), 1),
9743
9743
  I(k, {
9744
- class: W(["chev", { up: p.value }]),
9744
+ class: F(["chev", { up: p.value }]),
9745
9745
  name: "angleDown",
9746
9746
  size: "11"
9747
9747
  }, null, 8, ["class"])
9748
9748
  ], 8, fo)) : (c(), r("button", {
9749
9749
  key: 1,
9750
9750
  type: "button",
9751
- class: W(["dots", { act: p.value }]),
9751
+ class: F(["dots", { act: p.value }]),
9752
9752
  disabled: e.disabled,
9753
9753
  "aria-label": "Actions",
9754
9754
  onClick: w1(L, ["stop"])
@@ -9767,26 +9767,26 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9767
9767
  style: H1(C.value),
9768
9768
  role: "menu"
9769
9769
  }, [
9770
- (c(!0), r(E, null, p1(n.value, (F, j) => (c(), r(E, null, [
9771
- F.divider ? (c(), r("div", {
9770
+ (c(!0), r(E, null, p1(n.value, (G, j) => (c(), r(E, null, [
9771
+ G.divider ? (c(), r("div", {
9772
9772
  key: "d" + j,
9773
9773
  class: "mdiv",
9774
9774
  role: "separator"
9775
9775
  })) : (c(), r("button", {
9776
- key: F.key,
9776
+ key: G.key,
9777
9777
  type: "button",
9778
- class: W(["mitem", { danger: F.danger, positive: F.positive, sel: F.selected, dis: F.disabled }]),
9778
+ class: F(["mitem", { danger: G.danger, positive: G.positive, sel: G.selected, dis: G.disabled }]),
9779
9779
  role: "menuitem",
9780
- disabled: F.disabled,
9781
- onClick: (D) => v(F)
9780
+ disabled: G.disabled,
9781
+ onClick: (D) => v(G)
9782
9782
  }, [
9783
- F.icon ? (c(), Z1(k, {
9783
+ G.icon ? (c(), Z1(k, {
9784
9784
  key: 0,
9785
9785
  class: "mico",
9786
- name: F.icon,
9786
+ name: G.icon,
9787
9787
  size: "15"
9788
9788
  }, null, 8, ["name"])) : y("", !0),
9789
- i("span", bo, V(F.label ?? F.name ?? F.key), 1)
9789
+ i("span", bo, V(G.label ?? G.name ?? G.key), 1)
9790
9790
  ], 10, mo))
9791
9791
  ], 64))), 256))
9792
9792
  ], 4)) : y("", !0)
@@ -9868,7 +9868,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9868
9868
  }
9869
9869
  });
9870
9870
  }
9871
- function F() {
9871
+ function G() {
9872
9872
  s.disabled || (x.value = !0, a("show"), k());
9873
9873
  }
9874
9874
  function j() {
@@ -9883,7 +9883,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9883
9883
  a("hide");
9884
9884
  }
9885
9885
  function D() {
9886
- x.value ? j() : F();
9886
+ x.value ? j() : G();
9887
9887
  }
9888
9888
  function P(R) {
9889
9889
  if (!x.value) return;
@@ -9897,7 +9897,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9897
9897
  return c(), r("div", {
9898
9898
  ref_key: "rootRef",
9899
9899
  ref: H,
9900
- class: W(["cp", { disabled: e.disabled }])
9900
+ class: F(["cp", { disabled: e.disabled }])
9901
9901
  }, [
9902
9902
  i("button", {
9903
9903
  type: "button",
@@ -9906,7 +9906,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9906
9906
  onClick: w1(D, ["stop"])
9907
9907
  }, [
9908
9908
  i("span", {
9909
- class: W(["swatch", { tr: v.value }]),
9909
+ class: F(["swatch", { tr: v.value }]),
9910
9910
  style: H1(v.value ? {} : { background: C.value }),
9911
9911
  "aria-hidden": "true"
9912
9912
  }, [
@@ -9914,7 +9914,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9914
9914
  ], 6),
9915
9915
  u.value ? (c(), Z1(t1, {
9916
9916
  key: 0,
9917
- class: W(["chev", { up: x.value }]),
9917
+ class: F(["chev", { up: x.value }]),
9918
9918
  name: "angleDown",
9919
9919
  size: "10"
9920
9920
  }, null, 8, ["class"])) : y("", !0)
@@ -9931,7 +9931,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9931
9931
  i("div", ko, [
9932
9932
  (c(!0), r(E, null, p1(p.value, (e1) => (c(), r("span", {
9933
9933
  key: e1,
9934
- class: W(["cell", { on: C.value === e1 }]),
9934
+ class: F(["cell", { on: C.value === e1 }]),
9935
9935
  style: H1({ background: e1 }),
9936
9936
  title: e1,
9937
9937
  onClick: (n1) => S(e1)
@@ -9952,7 +9952,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
9952
9952
  ]),
9953
9953
  h.value ? (c(), r("span", {
9954
9954
  key: 0,
9955
- class: W(["tropt", { on: v.value }]),
9955
+ class: F(["tropt", { on: v.value }]),
9956
9956
  onClick: Y[0] || (Y[0] = (e1) => S("transparent"))
9957
9957
  }, [...Y[2] || (Y[2] = [
9958
9958
  i("span", { class: "swatch tr" }, [
@@ -10118,7 +10118,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10118
10118
  U1(() => l.page, ($) => {
10119
10119
  w.value = $ || 1;
10120
10120
  });
10121
- const k = ($) => $[l.rowKey], F = m(() => new Set(H.value.map(String))), j = ($) => F.value.has(String(k($))), D = /* @__PURE__ */ B(null), P = m(() => D.value ?? l.pageSize), R = m(() => P.value > 0), Y = m(() => Math.min(P.value, 10)), t1 = m(() => R.value && e1.value.length >= Y.value), e1 = m(() => _.value ? h.value.slice().sort(($, U) => (S.value === "asc" ? 1 : -1) * String($[_.value] ?? "").localeCompare(String(U[_.value] ?? ""), void 0, { numeric: !0 })) : h.value), n1 = m(() => {
10121
+ const k = ($) => $[l.rowKey], G = m(() => new Set(H.value.map(String))), j = ($) => G.value.has(String(k($))), D = /* @__PURE__ */ B(null), P = m(() => D.value ?? l.pageSize), R = m(() => P.value > 0), Y = m(() => Math.min(P.value, 10)), t1 = m(() => R.value && e1.value.length >= Y.value), e1 = m(() => _.value ? h.value.slice().sort(($, U) => (S.value === "asc" ? 1 : -1) * String($[_.value] ?? "").localeCompare(String(U[_.value] ?? ""), void 0, { numeric: !0 })) : h.value), n1 = m(() => {
10122
10122
  if (!R.value) return e1.value;
10123
10123
  const $ = (w.value - 1) * P.value;
10124
10124
  return e1.value.slice($, $ + P.value);
@@ -10238,7 +10238,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10238
10238
  style: H1(e.maxHeight ? { maxHeight: e.maxHeight } : null)
10239
10239
  }, [
10240
10240
  i("table", {
10241
- class: W(["grid", ["hs-" + e.headerStyle, "v-" + e.variant, { "hide-hdr": e.hideHeader, fw: e.fullWidth }]]),
10241
+ class: F(["grid", ["hs-" + e.headerStyle, "v-" + e.variant, { "hide-hdr": e.hideHeader, fw: e.fullWidth }]]),
10242
10242
  style: H1({ minWidth: v.value })
10243
10243
  }, [
10244
10244
  i("thead", null, [
@@ -10254,7 +10254,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10254
10254
  (c(!0), r(E, null, p1(d.value, (O, Q) => (c(), r("th", {
10255
10255
  key: O.key,
10256
10256
  title: O.title,
10257
- class: W(["al-" + (O.align || "left"), { srt: n.value && O.sortable !== !1, sorted: _.value === O.key, "first-col": Q === 0 }]),
10257
+ class: F(["al-" + (O.align || "left"), { srt: n.value && O.sortable !== !1, sorted: _.value === O.key, "first-col": Q === 0 }]),
10258
10258
  style: H1(O.width ? { width: O.width } : null),
10259
10259
  onClick: (Y1) => z1(O)
10260
10260
  }, [
@@ -10278,11 +10278,11 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10278
10278
  }, [
10279
10279
  O.__group !== void 0 ? (c(), r("tr", {
10280
10280
  key: 0,
10281
- class: W(["row-group", { report: !A.value }])
10281
+ class: F(["row-group", { report: !A.value }])
10282
10282
  }, [
10283
10283
  i("td", { colspan: V1.value }, [
10284
10284
  i("span", {
10285
- class: W(["grp", { clickable: A.value }]),
10285
+ class: F(["grp", { clickable: A.value }]),
10286
10286
  onClick: (Q) => i1(O.__group)
10287
10287
  }, [
10288
10288
  A.value ? (c(), Z1(_1, {
@@ -10296,7 +10296,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10296
10296
  ], 8, No)
10297
10297
  ], 2)) : (c(), r(E, { key: 1 }, [
10298
10298
  i("tr", {
10299
- class: W({ "row-selected": j(O), "in-group": !!e.groupBy }),
10299
+ class: F({ "row-selected": j(O), "in-group": !!e.groupBy }),
10300
10300
  onClick: (Q) => s("rowclick", k(O))
10301
10301
  }, [
10302
10302
  e.expandable ? (c(), r("td", {
@@ -10324,7 +10324,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10324
10324
  ])) : y("", !0),
10325
10325
  (c(!0), r(E, null, p1(d.value, (Q, Y1) => (c(), r("td", {
10326
10326
  key: Q.key,
10327
- class: W(["al-" + (Q.align || "left"), Q.cls, { heat: Q.type === "heat", "first-data": Y1 === 0, "primary-cell": u(Q, Y1) }]),
10327
+ class: F(["al-" + (Q.align || "left"), Q.cls, { heat: Q.type === "heat", "first-data": Y1 === 0, "primary-cell": u(Q, Y1) }]),
10328
10328
  style: H1(Q.type === "heat" ? { background: o2(O, Q) } : null)
10329
10329
  }, [
10330
10330
  e.tree && Y1 === 0 ? (c(), r("span", {
@@ -10359,7 +10359,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10359
10359
  shape: "dot"
10360
10360
  }, null, 8, ["severity"]),
10361
10361
  i("span", {
10362
- class: W(["cell-clip", { "primary-text": u(Q, Y1) }])
10362
+ class: F(["cell-clip", { "primary-text": u(Q, Y1) }])
10363
10363
  }, V(m1(O, Q)), 3)
10364
10364
  ])) : Q.type === "dot" ? (c(), r("span", tc, [
10365
10365
  I(_2, {
@@ -10464,7 +10464,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10464
10464
  _: 2
10465
10465
  }, 1032, ["variant", "onClick"])) : (c(), r("span", {
10466
10466
  key: 16,
10467
- class: W(["cell-clip", { "primary-text": u(Q, Y1) }])
10467
+ class: F(["cell-clip", { "primary-text": u(Q, Y1) }])
10468
10468
  }, V(m1(O, Q)), 3))
10469
10469
  ], 6))), 128)),
10470
10470
  C.value.length ? (c(), r("td", {
@@ -10616,10 +10616,10 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10616
10616
  return [...new Set([d.value, ..._].filter((S) => S > 0))].sort((S, w) => S - w);
10617
10617
  }), h = m(() => p.value ? Math.max(1, Math.ceil(l.total / d.value)) : 1), C = m(() => {
10618
10618
  const L = h.value, _ = o.value;
10619
- if (L <= 7) return Array.from({ length: L }, (F, j) => j + 1);
10619
+ if (L <= 7) return Array.from({ length: L }, (G, j) => j + 1);
10620
10620
  const S = [1], w = Math.max(2, _ - 1), k = Math.min(L - 1, _ + 1);
10621
10621
  w > 2 && S.push("…");
10622
- for (let F = w; F <= k; F++) S.push(F);
10622
+ for (let G = w; G <= k; G++) S.push(G);
10623
10623
  return k < L - 1 && S.push("…"), S.push(L), S;
10624
10624
  }), v = m(() => {
10625
10625
  const L = l.total, _ = p.value && L ? (o.value - 1) * d.value + 1 : L ? 1 : 0, S = p.value ? Math.min(o.value * d.value, L) : L;
@@ -10644,7 +10644,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10644
10644
  return c(), r("div", wc, [
10645
10645
  i("div", Zc, [
10646
10646
  i("span", {
10647
- class: W(["ppage nav", { dis: o.value <= 1 }]),
10647
+ class: F(["ppage nav", { dis: o.value <= 1 }]),
10648
10648
  title: "First",
10649
10649
  onClick: _[0] || (_[0] = (w) => x(1))
10650
10650
  }, [
@@ -10654,7 +10654,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10654
10654
  })
10655
10655
  ], 2),
10656
10656
  i("span", {
10657
- class: W(["ppage nav", { dis: o.value <= 1 }]),
10657
+ class: F(["ppage nav", { dis: o.value <= 1 }]),
10658
10658
  title: "Previous",
10659
10659
  onClick: _[1] || (_[1] = (w) => x(o.value - 1))
10660
10660
  }, [
@@ -10665,11 +10665,11 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10665
10665
  ], 2),
10666
10666
  (c(!0), r(E, null, p1(C.value, (w, k) => (c(), r("span", {
10667
10667
  key: k,
10668
- class: W(["ppage", { sel: w === o.value, dots: w === "…" }]),
10669
- onClick: (F) => x(w)
10668
+ class: F(["ppage", { sel: w === o.value, dots: w === "…" }]),
10669
+ onClick: (G) => x(w)
10670
10670
  }, V(w), 11, Mc))), 128)),
10671
10671
  i("span", {
10672
- class: W(["ppage nav", { dis: o.value >= h.value }]),
10672
+ class: F(["ppage nav", { dis: o.value >= h.value }]),
10673
10673
  title: "Next",
10674
10674
  onClick: _[2] || (_[2] = (w) => x(o.value + 1))
10675
10675
  }, [
@@ -10679,7 +10679,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10679
10679
  })
10680
10680
  ], 2),
10681
10681
  i("span", {
10682
- class: W(["ppage nav", { dis: o.value >= h.value }]),
10682
+ class: F(["ppage nav", { dis: o.value >= h.value }]),
10683
10683
  title: "Last",
10684
10684
  onClick: _[3] || (_[3] = (w) => x(h.value))
10685
10685
  }, [
@@ -10806,11 +10806,11 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10806
10806
  }), a && (a.show = g, a.hide = () => {
10807
10807
  s("close"), x();
10808
10808
  }), (w, k) => {
10809
- const F = M1("obs-icon"), j = M1("obs-button");
10809
+ const G = M1("obs-icon"), j = M1("obs-button");
10810
10810
  return c(), r("dialog", {
10811
10811
  ref_key: "dlg",
10812
10812
  ref: u,
10813
- class: W(["modal", { confirm: d.value, ["cfv-" + e.confirmVariant]: d.value, scrollable: o(e.scrollable), "no-pad": o(e.noPadding) }]),
10813
+ class: F(["modal", { confirm: d.value, ["cfv-" + e.confirmVariant]: d.value, scrollable: o(e.scrollable), "no-pad": o(e.noPadding) }]),
10814
10814
  style: H1(C.value),
10815
10815
  onClose: H,
10816
10816
  onCancel: _,
@@ -10818,7 +10818,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10818
10818
  }, [
10819
10819
  d.value ? (c(), r("div", Oc, [
10820
10820
  e.icon ? (c(), r("span", Tc, [
10821
- I(F, {
10821
+ I(G, {
10822
10822
  name: e.icon,
10823
10823
  size: "26"
10824
10824
  }, null, 8, ["name"])
@@ -10859,7 +10859,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10859
10859
  "aria-label": "Close",
10860
10860
  onClick: k[2] || (k[2] = (D) => L("cancel"))
10861
10861
  }, [
10862
- I(F, {
10862
+ I(G, {
10863
10863
  name: "times",
10864
10864
  size: "16"
10865
10865
  })
@@ -10956,7 +10956,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
10956
10956
  return (n, d) => {
10957
10957
  const p = M1("obs-tag");
10958
10958
  return c(), r("table", {
10959
- class: W(["kv", [`v-${e.variant}`, `cols-${a.value}`]])
10959
+ class: F(["kv", [`v-${e.variant}`, `cols-${a.value}`]])
10960
10960
  }, [
10961
10961
  i("tbody", null, [
10962
10962
  (c(!0), r(E, null, p1(o.value, (u, h) => (c(), r("tr", { key: h }, [
@@ -11010,7 +11010,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11010
11010
  const t = e, l = a2(), s = m(() => t.type === "vertical"), a = m(() => !s.value && (!!String(t.text || "").trim() || !!(l && l.textContent && l.textContent.trim()))), o = m(() => a.value ? "o-" + (t.orientation === "start" ? "start" : t.orientation === "end" ? "end" : "center") : "");
11011
11011
  return (n, d) => s.value ? (c(), r("div", ar)) : a.value ? (c(), r("div", {
11012
11012
  key: 1,
11013
- class: W(["dh withtext", o.value]),
11013
+ class: F(["dh withtext", o.value]),
11014
11014
  role: "separator"
11015
11015
  }, [
11016
11016
  i("span", or, [
@@ -11049,7 +11049,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11049
11049
  const g = M1("obs-icon");
11050
11050
  return u.value ? y("", !0) : (c(), r("div", {
11051
11051
  key: 0,
11052
- class: W(["bn", "v-" + d.value]),
11052
+ class: F(["bn", "v-" + d.value]),
11053
11053
  role: "status"
11054
11054
  }, [
11055
11055
  I(g, {
@@ -11119,7 +11119,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11119
11119
  return (h, C) => {
11120
11120
  const v = M1("obs-icon");
11121
11121
  return c(), r("nav", {
11122
- class: W(["bc", { divider: o(e.divider) }]),
11122
+ class: F(["bc", { divider: o(e.divider) }]),
11123
11123
  "aria-label": "Breadcrumb"
11124
11124
  }, [
11125
11125
  o(e.back) ? (c(), r("button", {
@@ -11231,7 +11231,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11231
11231
  const P = Array.isArray(D.detail) ? D.detail[0] : D.detail ?? ((R = D.target) == null ? void 0 : R.value);
11232
11232
  u.value = String(P ?? ""), s("search", { query: u.value });
11233
11233
  }
11234
- const F = m(() => d.value.map((D) => D.label).join(","));
11234
+ const G = m(() => d.value.map((D) => D.label).join(","));
11235
11235
  function j(D) {
11236
11236
  const P = Array.isArray(D.detail) ? D.detail[0] : D.detail ?? "";
11237
11237
  p.value = String(P), s("tab", { value: p.value });
@@ -11239,26 +11239,26 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11239
11239
  return (D, P) => {
11240
11240
  const R = M1("obs-radio"), Y = M1("obs-tabs"), t1 = M1("obs-input"), e1 = M1("obs-icon"), n1 = M1("obs-logo"), z = M1("obs-tag");
11241
11241
  return c(), r("div", {
11242
- class: W(["sm", "m-" + e.mode])
11242
+ class: F(["sm", "m-" + e.mode])
11243
11243
  }, [
11244
11244
  i("div", Zr, [
11245
11245
  F1(D.$slots, "logo")
11246
11246
  ]),
11247
11247
  d.value.length ? (c(), r("div", {
11248
11248
  key: 0,
11249
- class: W(["hd", { seg: e.tabStyle === "segmented" }])
11249
+ class: F(["hd", { seg: e.tabStyle === "segmented" }])
11250
11250
  }, [
11251
11251
  e.tabStyle === "segmented" ? (c(), Z1(R, {
11252
11252
  key: 0,
11253
11253
  class: "switcher",
11254
11254
  "as-button": "",
11255
- options: F.value,
11255
+ options: G.value,
11256
11256
  value: p.value,
11257
11257
  onChange: j
11258
11258
  }, null, 8, ["options", "value"])) : (c(), Z1(Y, {
11259
11259
  key: 1,
11260
11260
  class: "tabbar",
11261
- tabs: F.value,
11261
+ tabs: G.value,
11262
11262
  value: p.value,
11263
11263
  onChange: j
11264
11264
  }, null, 8, ["tabs", "value"])),
@@ -11278,7 +11278,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11278
11278
  i("div", kr, [
11279
11279
  (c(!0), r(E, null, p1(L.value, (l1) => (c(), r("div", {
11280
11280
  key: l1.path,
11281
- class: W(["row", { group: l1.kids, leaf: l1.leaf, active: l1.leaf && l1.label === S.value }]),
11281
+ class: F(["row", { group: l1.kids, leaf: l1.leaf, active: l1.leaf && l1.label === S.value }]),
11282
11282
  style: H1({ paddingLeft: _(l1) + "px" }),
11283
11283
  role: "treeitem",
11284
11284
  "aria-expanded": l1.kids ? String(l1.open) : null,
@@ -11371,7 +11371,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11371
11371
  return (u, h) => {
11372
11372
  const C = M1("obs-logo"), v = M1("obs-icon");
11373
11373
  return c(), r("nav", {
11374
- class: W(["sb", { expanded: n.value }]),
11374
+ class: F(["sb", { expanded: n.value }]),
11375
11375
  "aria-label": "Primary",
11376
11376
  onMouseenter: h[1] || (h[1] = (g) => o.value = !0),
11377
11377
  onMouseleave: h[2] || (h[2] = (g) => o.value = !1)
@@ -11398,7 +11398,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11398
11398
  i("div", Or, [
11399
11399
  (c(!0), r(E, null, p1(d.value, (g) => (c(), r("a", {
11400
11400
  key: g.key,
11401
- class: W(["item", { active: g.key === e.active }]),
11401
+ class: F(["item", { active: g.key === e.active }]),
11402
11402
  href: "#",
11403
11403
  "aria-current": g.key === e.active ? "page" : null,
11404
11404
  onClick: w1((x) => p(g), ["prevent"])
@@ -11501,7 +11501,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11501
11501
  }
11502
11502
  const H = m(() => l.scrollable !== !1 && l.scrollable !== "false" && l.scrollable !== "0" && l.scrollable !== "no"), L = /* @__PURE__ */ B(null), _ = /* @__PURE__ */ B(!1), S = /* @__PURE__ */ B(!1);
11503
11503
  let w = null, k = 0;
11504
- function F() {
11504
+ function G() {
11505
11505
  const P = L.value;
11506
11506
  if (!P || !H.value) {
11507
11507
  _.value = !1, S.value = !1;
@@ -11512,7 +11512,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11512
11512
  }
11513
11513
  function j() {
11514
11514
  k || (k = requestAnimationFrame(() => {
11515
- k = 0, F();
11515
+ k = 0, G();
11516
11516
  }));
11517
11517
  }
11518
11518
  function D() {
@@ -11521,12 +11521,12 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11521
11521
  if (!P)
11522
11522
  return;
11523
11523
  const R = P.querySelector(".tab.active");
11524
- R && R.scrollIntoView && R.scrollIntoView({ inline: "nearest", block: "nearest" }), F();
11524
+ R && R.scrollIntoView && R.scrollIntoView({ inline: "nearest", block: "nearest" }), G();
11525
11525
  });
11526
11526
  }
11527
- return U1(u, () => D()), U1(p, () => u2(F)), x2(() => {
11527
+ return U1(u, () => D()), U1(p, () => u2(G)), x2(() => {
11528
11528
  u2(() => {
11529
- F();
11529
+ G();
11530
11530
  const P = L.value;
11531
11531
  if (P && typeof ResizeObserver < "u") {
11532
11532
  w = new ResizeObserver(() => j()), w.observe(P);
@@ -11554,10 +11554,10 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11554
11554
  }), (P, R) => {
11555
11555
  const Y = M1("obs-icon"), t1 = M1("obs-button");
11556
11556
  return c(), r("div", {
11557
- class: W(["tabs", ["v-" + (e.variant || "line")]])
11557
+ class: F(["tabs", ["v-" + (e.variant || "line")]])
11558
11558
  }, [
11559
11559
  i("div", {
11560
- class: W(["bar-wrap", { "fade-left": _.value, "fade-right": S.value }])
11560
+ class: F(["bar-wrap", { "fade-left": _.value, "fade-right": S.value }])
11561
11561
  }, [
11562
11562
  i("div", {
11563
11563
  class: "scroll",
@@ -11568,7 +11568,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11568
11568
  i("div", qr, [
11569
11569
  (c(!0), r(E, null, p1(p.value, (e1) => (c(), r("button", {
11570
11570
  key: e1.key,
11571
- class: W(["tab", { active: e1.key === u.value, disabled: e1.disabled }]),
11571
+ class: F(["tab", { active: e1.key === u.value, disabled: e1.disabled }]),
11572
11572
  role: "tab",
11573
11573
  type: "button",
11574
11574
  "aria-selected": e1.key === u.value,
@@ -11693,12 +11693,12 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11693
11693
  return (v, g) => {
11694
11694
  const x = M1("obs-icon");
11695
11695
  return c(), r("div", {
11696
- class: W(["st", ["d-" + e.direction, "v-" + e.variant, "s-" + e.size, "f-" + e.fill, "c-" + e.connector, "done-" + e.completed, { clk: u.value, compact: h.value }]]),
11696
+ class: F(["st", ["d-" + e.direction, "v-" + e.variant, "s-" + e.size, "f-" + e.fill, "c-" + e.connector, "done-" + e.completed, { clk: u.value, compact: h.value }]]),
11697
11697
  role: "list"
11698
11698
  }, [
11699
11699
  (c(!0), r(E, null, p1(n.value, (H, L) => (c(), r("div", {
11700
11700
  key: L,
11701
- class: W(["step", ["is-" + p(L), { last: L === n.value.length - 1, nav: u.value && L <= d.value }]]),
11701
+ class: F(["step", ["is-" + p(L), { last: L === n.value.length - 1, nav: u.value && L <= d.value }]]),
11702
11702
  role: "listitem",
11703
11703
  "aria-current": L === d.value ? "step" : null,
11704
11704
  onClick: (_) => C(L)
@@ -11825,7 +11825,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11825
11825
  function k() {
11826
11826
  p.value = !0, s("show"), w();
11827
11827
  }
11828
- function F() {
11828
+ function G() {
11829
11829
  if (!p.value) return;
11830
11830
  p.value = !1;
11831
11831
  const n1 = _.value;
@@ -11837,13 +11837,13 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11837
11837
  s("hide");
11838
11838
  }
11839
11839
  function j() {
11840
- p.value ? F() : k();
11840
+ p.value ? G() : k();
11841
11841
  }
11842
11842
  function D(n1) {
11843
- n1.divider || (s("select", n1.key ?? n1.label), F());
11843
+ n1.divider || (s("select", n1.key ?? n1.label), G());
11844
11844
  }
11845
11845
  function P() {
11846
- s("logout"), F();
11846
+ s("logout"), G();
11847
11847
  }
11848
11848
  const R = JSON.stringify([
11849
11849
  { value: "dark", label: "Dark", icon: '<obs-icon name="moon" size="14"></obs-icon>' },
@@ -11857,10 +11857,10 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11857
11857
  function t1(n1) {
11858
11858
  if (!p.value) return;
11859
11859
  const z = n1.composedPath ? n1.composedPath() : [];
11860
- z.includes(L.value) || z.includes(_.value) || F();
11860
+ z.includes(L.value) || z.includes(_.value) || G();
11861
11861
  }
11862
11862
  function e1(n1) {
11863
- n1.key === "Escape" && F();
11863
+ n1.key === "Escape" && G();
11864
11864
  }
11865
11865
  return typeof document < "u" && (document.addEventListener("click", t1, !0), document.addEventListener("keydown", e1, !0)), g2(() => {
11866
11866
  typeof document < "u" && (document.removeEventListener("click", t1, !0), document.removeEventListener("keydown", e1, !0)), C && C.removeEventListener && C.removeEventListener("change", x);
@@ -11873,7 +11873,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11873
11873
  }, [
11874
11874
  i("button", {
11875
11875
  type: "button",
11876
- class: W(["avatar", { act: p.value }]),
11876
+ class: F(["avatar", { act: p.value }]),
11877
11877
  "aria-label": "Account menu",
11878
11878
  "aria-expanded": String(p.value),
11879
11879
  onClick: w1(j, ["stop"])
@@ -11919,7 +11919,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11919
11919
  })) : h1.href ? (c(), r("a", {
11920
11920
  key: "a" + N1,
11921
11921
  href: h1.href,
11922
- class: W(["urow", { danger: h1.danger }]),
11922
+ class: F(["urow", { danger: h1.danger }]),
11923
11923
  role: "menuitem",
11924
11924
  onClick: (W1) => D(h1)
11925
11925
  }, [
@@ -11933,7 +11933,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
11933
11933
  ], 10, mn)) : (c(), r("button", {
11934
11934
  key: "b" + N1,
11935
11935
  type: "button",
11936
- class: W(["urow", { danger: h1.danger }]),
11936
+ class: F(["urow", { danger: h1.danger }]),
11937
11937
  role: "menuitem",
11938
11938
  onClick: (W1) => D(h1)
11939
11939
  }, [
@@ -12068,7 +12068,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12068
12068
  function k() {
12069
12069
  d.value ? w() : S();
12070
12070
  }
12071
- function F(t1) {
12071
+ function G(t1) {
12072
12072
  const e1 = Array.isArray(t1.detail) ? t1.detail[0] : t1.detail ?? "";
12073
12073
  p.value = String(e1), s("tab", { value: p.value });
12074
12074
  }
@@ -12100,7 +12100,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12100
12100
  }, [
12101
12101
  i("button", {
12102
12102
  type: "button",
12103
- class: W(["bell", { act: d.value }]),
12103
+ class: F(["bell", { act: d.value }]),
12104
12104
  "aria-label": "Notifications",
12105
12105
  "aria-expanded": String(d.value),
12106
12106
  onClick: w1(k, ["stop"])
@@ -12129,13 +12129,13 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12129
12129
  class: "ntabs",
12130
12130
  tabs: H.value,
12131
12131
  value: p.value,
12132
- onChange: F
12132
+ onChange: G
12133
12133
  }, null, 8, ["tabs", "value"])) : y("", !0),
12134
12134
  i("div", zn, [
12135
12135
  (c(!0), r(E, null, p1(L.value, (b1, h1) => (c(), r("button", {
12136
12136
  key: h1,
12137
12137
  type: "button",
12138
- class: W(["nrow", { unread: b1.unread }]),
12138
+ class: F(["nrow", { unread: b1.unread }]),
12139
12139
  role: "listitem",
12140
12140
  onClick: (N1) => j(b1, h1)
12141
12141
  }, [
@@ -12258,7 +12258,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12258
12258
  }
12259
12259
  });
12260
12260
  }
12261
- function F() {
12261
+ function G() {
12262
12262
  v.value.length && (g.value = !0, x.value = 0, k());
12263
12263
  }
12264
12264
  function j() {
@@ -12277,7 +12277,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12277
12277
  function P(Z) {
12278
12278
  var u1;
12279
12279
  const i1 = Array.isArray(Z.detail) ? Z.detail[0] : Z.detail ?? ((u1 = Z.target) == null ? void 0 : u1.value);
12280
- u.value = String(i1 ?? ""), s("input", { query: u.value }), u.value && v.value.length ? F() : j();
12280
+ u.value = String(i1 ?? ""), s("input", { query: u.value }), u.value && v.value.length ? G() : j();
12281
12281
  }
12282
12282
  function R(Z) {
12283
12283
  const i1 = Array.isArray(Z.detail) ? Z.detail[0] : Z.detail ?? "";
@@ -12302,7 +12302,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12302
12302
  Z.key === "Escape" && j();
12303
12303
  }
12304
12304
  function e1() {
12305
- F();
12305
+ G();
12306
12306
  }
12307
12307
  function n1() {
12308
12308
  u.value = "", s("input", { query: "" }), s("clear"), j();
@@ -12319,7 +12319,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12319
12319
  }
12320
12320
  u2(() => {
12321
12321
  const i1 = L.value && L.value.querySelector("obs-input"), u1 = i1 && i1.shadowRoot && i1.shadowRoot.querySelector("input,textarea");
12322
- u1 && u1.focus(), F();
12322
+ u1 && u1.focus(), G();
12323
12323
  });
12324
12324
  }
12325
12325
  function N1() {
@@ -12346,7 +12346,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12346
12346
  return c(), r("div", {
12347
12347
  ref_key: "rootRef",
12348
12348
  ref: H,
12349
- class: W(["cpwrap", { ov: z.value }])
12349
+ class: F(["cpwrap", { ov: z.value }])
12350
12350
  }, [
12351
12351
  z.value ? (c(), r("button", {
12352
12352
  key: 0,
@@ -12369,7 +12369,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12369
12369
  onCancel: w1(N1, ["prevent"])
12370
12370
  }, [
12371
12371
  i("div", {
12372
- class: W(["cp", { err: h.value, hascat: n.value.length, blk: l1.value, ctr: V1.value }]),
12372
+ class: F(["cp", { err: h.value, hascat: n.value.length, blk: l1.value, ctr: V1.value }]),
12373
12373
  onClick: i1[0] || (i1[0] = w1(() => {
12374
12374
  }, ["stop"]))
12375
12375
  }, [
@@ -12419,7 +12419,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12419
12419
  (c(!0), r(E, null, p1(v.value, (G1, h2) => (c(), r("button", {
12420
12420
  key: h2,
12421
12421
  type: "button",
12422
- class: W(["cp-sug", { on: h2 === x.value }]),
12422
+ class: F(["cp-sug", { on: h2 === x.value }]),
12423
12423
  role: "option",
12424
12424
  onMousedown: w1((M2) => D(G1), ["prevent"]),
12425
12425
  onMouseenter: (M2) => x.value = h2
@@ -12507,7 +12507,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12507
12507
  ], 2);
12508
12508
  };
12509
12509
  }
12510
- }, Wn = /* @__PURE__ */ E1(Gn, [["styles", [qn]]]), Kn = ":host([hidden]){display:none!important}button{font-family:inherit}:host{display:block}.wrap{display:block;border-bottom:1px solid var(--border-color, #e3e8f2)}.wrap.no-divider{border-bottom-color:transparent}.inner{padding:var(--page-header-padding, 8px)}.crumb ::slotted(*){display:block;margin-bottom:4px}.ph{display:flex;align-items:center;justify-content:space-between;color:var(--page-text-color, #1d2a3e)}.left{display:flex;align-items:center;gap:8px;min-width:0}.left.stacked{align-items:flex-start}.before{display:inline-flex;align-items:center}.left.stacked .before{height:27px}.titles{display:flex;flex-direction:column;min-width:0}.ttl-row{display:flex;align-items:center;gap:10px;min-width:0}.subtitle{margin-top:2px;font-size:.75rem;line-height:1.4;color:var(--neutral-theme-color, #6a7fa0);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accent{flex:0 0 auto;width:3px;height:16px;border-radius:2px}.meta{display:flex;flex-wrap:wrap;align-items:center;row-gap:2px;margin-top:4px;font-size:.75rem;line-height:1.5;color:var(--page-text-color, #1d2a3e)}.meta-item{display:inline-flex;align-items:center}.meta-sep{margin:0 8px;color:var(--neutral-light, #6a7fa0)}.meta-ic{color:var(--neutral-theme-color, #6a7fa0);margin-right:4px;display:inline-flex}.meta-dot{margin-right:4px;display:inline-flex}.meta-label{color:var(--neutral-theme-color, #6a7fa0);margin-right:4px}.meta-value{color:var(--page-text-color, #1d2a3e)}.right{display:flex;align-items:center;gap:8px;flex:0 0 auto}.back{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:0;cursor:pointer;height:27px;display:inline-flex;align-items:center;color:var(--neutral-light, #a5bad0)}.menu-tgl{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;width:28px;height:28px;border-radius:50%;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-color, #e3e8f2);background:var(--page-background-color, #fff);color:var(--neutral-light, #6a7fa0);transition:background .12s,border-color .12s,color .12s}.menu-tgl:hover{background:var(--neutral-lightest, #ecf1f9);border-color:var(--neutral-lighter, #dfe5ef);color:var(--primary-alt, #3279be)}.menu-tgl:focus-visible{outline:2px solid var(--primary-alt, #3279be);outline-offset:2px}.left.stacked .menu-tgl{margin-top:-1px}.tgl-ic{transform:translate(1px)}.tgl-sep{flex:0 0 auto;width:1px;align-self:center;height:22px;margin:0;background:var(--border-color, #e3e8f2)}.title{margin:0;font-size:18px;font-weight:500;line-height:1.5;color:var(--primary-alt, #1d2a3e);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.count{display:inline-flex;align-items:center;height:18px;padding:0 4px;border-radius:4px;font-size:.7rem;background:var(--timerange-background-color, #e3e8f2);color:var(--timerange-text-color, #7186a8)}", Jn = { class: "inner" }, Yn = { class: "crumb" }, Xn = { class: "ph" }, Qn = ["aria-label", "aria-expanded"], ei = { class: "before" }, ti = { class: "titles" }, li = { class: "ttl-row" }, si = {
12510
+ }, Wn = /* @__PURE__ */ E1(Gn, [["styles", [qn]]]), Kn = ":host([hidden]){display:none!important}button{font-family:inherit}:host{display:block}.wrap{display:block;border-bottom:1px solid var(--border-color, #e3e8f2)}.wrap.no-divider{border-bottom-color:transparent}.inner{padding:var(--page-header-padding, 8px)}.crumb ::slotted(*){display:block;margin-bottom:4px}.ph{display:flex;align-items:center;justify-content:space-between;color:var(--page-text-color, #1d2a3e)}.left{display:flex;align-items:center;gap:8px;min-width:0}.left.stacked{align-items:flex-start}.before{display:inline-flex;align-items:center}.left.stacked .before{height:27px}.titles{display:flex;flex-direction:column;min-width:0}.ttl-row{display:flex;align-items:center;gap:10px;min-width:0}.subtitle{margin-top:2px;font-size:.75rem;line-height:1.4;color:var(--neutral-theme-color, #6a7fa0);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.accent{flex:0 0 auto;width:3px;height:16px;border-radius:2px}.meta{display:flex;flex-wrap:wrap;align-items:center;row-gap:2px;margin-top:4px;font-size:.75rem;line-height:1.5;color:var(--page-text-color, #1d2a3e)}.meta-item{display:inline-flex;align-items:center}.meta-sep{margin:0 8px;color:var(--neutral-light, #6a7fa0)}.meta-ic{color:var(--neutral-theme-color, #6a7fa0);margin-right:4px;display:inline-flex}.meta-dot{margin-right:4px;display:inline-flex}.meta-label{color:var(--neutral-theme-color, #6a7fa0);margin-right:4px}.meta-value{color:var(--page-text-color, #1d2a3e)}.right{display:flex;align-items:center;gap:8px;flex:0 0 auto}.back{-webkit-appearance:none;-moz-appearance:none;appearance:none;background:none;border:0;padding:0;cursor:pointer;height:27px;display:inline-flex;align-items:center;color:var(--neutral-light, #a5bad0)}.menu-tgl{-webkit-appearance:none;-moz-appearance:none;appearance:none;flex:0 0 auto;width:26px;height:26px;border-radius:50%;padding:0;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;border:1px solid var(--border-color, #e3e8f2);background:var(--page-background-color, #fff);color:var(--neutral-light, #6a7fa0);transition:background .12s,border-color .12s,color .12s}.menu-tgl:hover{background:var(--neutral-lightest, #ecf1f9);border-color:var(--neutral-lighter, #dfe5ef);color:var(--primary-alt, #3279be)}.menu-tgl:focus-visible{outline:2px solid var(--primary-alt, #3279be);outline-offset:2px}.left.stacked .menu-tgl{margin-top:-1px}.tgl-ic{transform:translate(1px)}.tgl-ic.open{transform:translate(-2px)}.tgl-sep{flex:0 0 auto;width:1px;align-self:center;height:22px;margin:0;background:var(--border-color, #e3e8f2)}.title{margin:0;font-size:18px;font-weight:500;line-height:1.5;color:var(--primary-alt, #1d2a3e);min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.count{display:inline-flex;align-items:center;height:18px;padding:0 4px;border-radius:4px;font-size:.7rem;background:var(--timerange-background-color, #e3e8f2);color:var(--timerange-text-color, #7186a8)}", Jn = { class: "inner" }, Yn = { class: "crumb" }, Xn = { class: "ph" }, Qn = ["aria-label", "aria-expanded"], ei = { class: "before" }, ti = { class: "titles" }, li = { class: "ttl-row" }, si = {
12511
12511
  key: 1,
12512
12512
  class: "title"
12513
12513
  }, ai = {
@@ -12568,7 +12568,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12568
12568
  return (u, h) => {
12569
12569
  const C = M1("obs-icon"), v = M1("obs-severity");
12570
12570
  return c(), r("div", {
12571
- class: W(["wrap", { "no-divider": s(e.noDivider) }])
12571
+ class: F(["wrap", { "no-divider": s(e.noDivider) }])
12572
12572
  }, [
12573
12573
  i("div", Jn, [
12574
12574
  i("div", Yn, [
@@ -12576,7 +12576,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12576
12576
  ]),
12577
12577
  i("div", Xn, [
12578
12578
  i("div", {
12579
- class: W(["left", { stacked: p.value }])
12579
+ class: F(["left", { stacked: p.value }])
12580
12580
  }, [
12581
12581
  s(e.menuToggle) ? (c(), r(E, { key: 0 }, [
12582
12582
  i("button", {
@@ -12587,10 +12587,10 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12587
12587
  onClick: d
12588
12588
  }, [
12589
12589
  I(C, {
12590
- class: "tgl-ic",
12590
+ class: F(["tgl-ic", { open: s(e.menuOpen) }]),
12591
12591
  name: s(e.menuOpen) ? "chevronLeft" : "chevronRight",
12592
- size: "16"
12593
- }, null, 8, ["name"])
12592
+ size: "15"
12593
+ }, null, 8, ["class", "name"])
12594
12594
  ], 8, Qn),
12595
12595
  h[0] || (h[0] = i("span", {
12596
12596
  class: "tgl-sep",
@@ -12708,7 +12708,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12708
12708
  i("div", mi, [
12709
12709
  (c(!0), r(E, null, p1(n.value, (C, v) => (c(), r("button", {
12710
12710
  key: v,
12711
- class: W(["circ", { active: C.active }]),
12711
+ class: F(["circ", { active: C.active }]),
12712
12712
  type: "button",
12713
12713
  "aria-label": C.label,
12714
12714
  title: C.label,
@@ -12759,7 +12759,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12759
12759
  return (n, d) => {
12760
12760
  const p = M1("obs-checkbox");
12761
12761
  return c(), r("div", {
12762
- class: W(["tb", "v-" + (e.variant || "grid")]),
12762
+ class: F(["tb", "v-" + (e.variant || "grid")]),
12763
12763
  role: e.variant === "bulk" ? "toolbar" : null
12764
12764
  }, [
12765
12765
  e.variant === "bulk" ? (c(), r(E, { key: 0 }, [
@@ -12843,7 +12843,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12843
12843
  return k1 ? k1.name : "";
12844
12844
  };
12845
12845
  let v = 0;
12846
- const g = (s1) => ({ key: "t" + v++, monitor: s1 || "", name: C(s1) }), x = n(l.selected, []), H = /* @__PURE__ */ B(x.length ? x.map((s1) => g(typeof s1 == "string" ? s1 : s1.id)) : [g("")]), L = l.active && H.value.find((s1) => String(s1.monitor) === String(l.active)), _ = /* @__PURE__ */ B(L ? L.key : H.value[0].key), S = m(() => H.value.find((s1) => s1.key === _.value) || H.value[0]), w = m(() => S.value ? S.value.monitor : ""), k = m(() => w.value !== "" && w.value != null), F = m(() => JSON.stringify(H.value.map((s1) => ({ key: s1.key, label: s1.name || "Select Monitor" }))));
12846
+ const g = (s1) => ({ key: "t" + v++, monitor: s1 || "", name: C(s1) }), x = n(l.selected, []), H = /* @__PURE__ */ B(x.length ? x.map((s1) => g(typeof s1 == "string" ? s1 : s1.id)) : [g("")]), L = l.active && H.value.find((s1) => String(s1.monitor) === String(l.active)), _ = /* @__PURE__ */ B(L ? L.key : H.value[0].key), S = m(() => H.value.find((s1) => s1.key === _.value) || H.value[0]), w = m(() => S.value ? S.value.monitor : ""), k = m(() => w.value !== "" && w.value != null), G = m(() => JSON.stringify(H.value.map((s1) => ({ key: s1.key, label: s1.name || "Select Monitor" }))));
12847
12847
  function j() {
12848
12848
  const s1 = g("");
12849
12849
  H.value = [...H.value, s1], _.value = s1.key, s("add-monitor");
@@ -12905,14 +12905,14 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12905
12905
  return (s1, k1) => {
12906
12906
  const P1 = M1("obs-tabs"), G1 = M1("obs-grid-select"), h2 = M1("obs-icon"), M2 = M1("obs-input");
12907
12907
  return c(), r("div", {
12908
- class: W(["mp", { embedded: V1.value }])
12908
+ class: F(["mp", { embedded: V1.value }])
12909
12909
  }, [
12910
12910
  V1.value ? y("", !0) : (c(), r(E, { key: 0 }, [
12911
12911
  I(P1, {
12912
12912
  class: "mp-mtabs",
12913
12913
  closable: "",
12914
12914
  addable: "",
12915
- tabs: F.value,
12915
+ tabs: G.value,
12916
12916
  value: _.value,
12917
12917
  onChange: P,
12918
12918
  onClose: D,
@@ -12958,7 +12958,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
12958
12958
  i("div", Ei, [
12959
12959
  (c(!0), r(E, null, p1(W1.value, (f) => (c(), r("div", {
12960
12960
  key: f.name,
12961
- class: W(["mp-row", { grab: z.value }]),
12961
+ class: F(["mp-row", { grab: z.value }]),
12962
12962
  draggable: z.value ? "true" : null,
12963
12963
  title: f.name,
12964
12964
  onDragstart: (b) => u1(f, b),
@@ -13054,19 +13054,19 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13054
13054
  function k() {
13055
13055
  s("close");
13056
13056
  }
13057
- function F(j) {
13057
+ function G(j) {
13058
13058
  j.key === "Escape" ? k() : j.key === "ArrowRight" ? _() : j.key === "ArrowLeft" ? S() : j.key === " " && (j.preventDefault(), w());
13059
13059
  }
13060
13060
  return x2(() => {
13061
- p.value = d.value, H(), h.value && document.addEventListener("keydown", F);
13061
+ p.value = d.value, H(), h.value && document.addEventListener("keydown", G);
13062
13062
  }), g2(() => {
13063
- x(), document.removeEventListener("keydown", F);
13063
+ x(), document.removeEventListener("keydown", G);
13064
13064
  }), U1([d, o, u], () => {
13065
13065
  H();
13066
13066
  }), (j, D) => {
13067
13067
  const P = M1("obs-icon"), R = M1("obs-button");
13068
13068
  return c(), r("div", {
13069
- class: W(["noc", { fs: h.value }])
13069
+ class: F(["noc", { fs: h.value }])
13070
13070
  }, [
13071
13071
  i("div", Ui, [
13072
13072
  i("div", Fi, [
@@ -13190,7 +13190,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13190
13190
  return (d, p) => {
13191
13191
  const u = M1("obs-icon"), h = M1("obs-button");
13192
13192
  return c(), r("div", {
13193
- class: W(["tl", { disabled: o.value }])
13193
+ class: F(["tl", { disabled: o.value }])
13194
13194
  }, [
13195
13195
  i("div", sd, [
13196
13196
  I(h, {
@@ -13309,7 +13309,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13309
13309
  const x = M1("obs-icon");
13310
13310
  return c(), r("div", dd, [
13311
13311
  i("header", {
13312
- class: W(["whead", { grab: !e.static }]),
13312
+ class: F(["whead", { grab: !e.static }]),
13313
13313
  onPointerdown: u
13314
13314
  }, [
13315
13315
  i("span", pd, V(e.title), 1),
@@ -13348,7 +13348,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13348
13348
  }, [
13349
13349
  (c(), r(E, null, p1(n, (H) => i("a", {
13350
13350
  key: H.key,
13351
- class: W(["mrow", { danger: H.danger }]),
13351
+ class: F(["mrow", { danger: H.danger }]),
13352
13352
  onClick: (L) => d(H.key)
13353
13353
  }, [
13354
13354
  I(x, {
@@ -13373,7 +13373,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13373
13373
  const l = e, s = t, a = a2(), o = /* @__PURE__ */ B(null), n = m(() => +l.columns || 12), d = m(() => +l.cellHeight || 80), p = m(() => +l.gap || 10), u = /* @__PURE__ */ B(0), h = m(() => Math.max(1, (u.value - (n.value - 1) * p.value) / n.value)), C = m(() => h.value + p.value), v = m(() => d.value + p.value), g = /* @__PURE__ */ B([]), x = /* @__PURE__ */ b3({ on: !1, mode: "", i: -1, sx: 0, sy: 0, ox: 0, oy: 0, ow: 0, oh: 0, left: 0, top: 0, w: 0, h: 0, scEl: null, st0: 0 }), H = /* @__PURE__ */ b3({ show: !1, x: 0, y: 0, w: 0, h: 0 });
13374
13374
  let L = 0, _ = 0, S = 0;
13375
13375
  const w = (A, Z) => A.x < Z.x + Z.w && Z.x < A.x + A.w && A.y < Z.y + Z.h && Z.y < A.y + A.h, k = (A, Z, i1) => Math.max(Z, Math.min(i1, A));
13376
- function F(A) {
13376
+ function G(A) {
13377
13377
  const Z = [...g.value].sort((u1, I1) => u1.y - I1.y || u1.x - I1.x), i1 = A ? [A] : [];
13378
13378
  for (const u1 of Z) {
13379
13379
  if (u1 === A) continue;
@@ -13393,7 +13393,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13393
13393
  y: +(Z.getAttribute("data-y") || 0),
13394
13394
  w: +(Z.getAttribute("data-w") || 4),
13395
13395
  h: +(Z.getAttribute("data-h") || 3)
13396
- })), F();
13396
+ })), G();
13397
13397
  }
13398
13398
  function D(A) {
13399
13399
  return {
@@ -13443,7 +13443,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13443
13443
  function l1() {
13444
13444
  if (!x.on) return;
13445
13445
  const A = g.value[x.i], Z = x.scEl ? x.scEl.scrollTop - x.st0 : 0, i1 = _ - x.sx, u1 = S - x.sy + Z;
13446
- x.mode === "move" ? (x.left = x.ox + i1, x.top = x.oy + u1, A.x = k(Math.round(x.left / C.value), 0, n.value - A.w), A.y = Math.max(0, Math.round(x.top / v.value))) : (x.w = Math.max(h.value, x.ow + i1), x.h = Math.max(d.value, x.oh + u1), A.w = k(Math.round((x.w + p.value) / C.value), 1, n.value - A.x), A.h = k(Math.round((x.h + p.value) / v.value), 1, md)), Object.assign(H, { x: A.x, y: A.y, w: A.w, h: A.h }), F(A);
13446
+ x.mode === "move" ? (x.left = x.ox + i1, x.top = x.oy + u1, A.x = k(Math.round(x.left / C.value), 0, n.value - A.w), A.y = Math.max(0, Math.round(x.top / v.value))) : (x.w = Math.max(h.value, x.ow + i1), x.h = Math.max(d.value, x.oh + u1), A.w = k(Math.round((x.w + p.value) / C.value), 1, n.value - A.x), A.h = k(Math.round((x.h + p.value) / v.value), 1, md)), Object.assign(H, { x: A.x, y: A.y, w: A.w, h: A.h }), G(A);
13447
13447
  }
13448
13448
  function V1(A) {
13449
13449
  x.on && (_ = A.clientX, S = A.clientY, l1(), L || (L = requestAnimationFrame(b1)));
@@ -13460,7 +13460,7 @@ const ja = ':host([hidden]){display:none!important}:host{font-family:var(--font-
13460
13460
  function h1() {
13461
13461
  window.removeEventListener("pointermove", V1), window.removeEventListener("pointerup", h1), L && (cancelAnimationFrame(L), L = 0);
13462
13462
  const A = g.value[x.i];
13463
- x.on = !1, H.show = !1, x.scEl = null, F(A);
13463
+ x.on = !1, H.show = !1, x.scEl = null, G(A);
13464
13464
  for (const Z of g.value)
13465
13465
  Z.el.setAttribute("data-x", Z.x), Z.el.setAttribute("data-y", Z.y), Z.el.setAttribute("data-w", Z.w), Z.el.setAttribute("data-h", Z.h);
13466
13466
  s("layout-change", g.value.map((Z) => ({ x: Z.x, y: Z.y, w: Z.w, h: Z.h })));