eidotter 0.41.0 → 0.41.2

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.
package/dist/index.es.js CHANGED
@@ -9479,7 +9479,7 @@ var _f = /*#__PURE__*/ r({}), vf = /*#__PURE__*/ r(null), yf = /*#__PURE__*/ Wn(
9479
9479
  }, Fp = (e, t, n = !1) => {
9480
9480
  let r = tp.exec(e);
9481
9481
  return r ? r[1] ? t(r[1]) : n : !1;
9482
- }, Ip = (e) => e === "position" || e === "percentage", Lp = (e) => e === "image" || e === "url", Rp = (e) => e === "length" || e === "size" || e === "bg-size", zp = (e) => e === "length", Bp = (e) => e === "number", Vp = (e) => e === "family-name", Hp = (e) => e === "number" || e === "weight", Up = (e) => e === "shadow", Wp = /*#__PURE__*/ Zf(() => {
9482
+ }, Ip = (e) => e === "position" || e === "percentage", Lp = (e) => e === "image" || e === "url", Rp = (e) => e === "length" || e === "size" || e === "bg-size", zp = (e) => e === "length", Bp = (e) => e === "number", Vp = (e) => e === "family-name", Hp = (e) => e === "number" || e === "weight", Up = (e) => e === "shadow", Wp = () => {
9483
9483
  let e = $f("color"), t = $f("font"), n = $f("text"), r = $f("font-weight"), i = $f("tracking"), a = $f("leading"), o = $f("breakpoint"), s = $f("container"), c = $f("spacing"), l = $f("radius"), u = $f("shadow"), d = $f("inset-shadow"), f = $f("text-shadow"), p = $f("drop-shadow"), m = $f("blur"), h = $f("perspective"), g = $f("aspect"), _ = $f("ease"), v = $f("animate"), y = () => [
9484
9484
  "auto",
9485
9485
  "avoid",
@@ -10954,44 +10954,70 @@ var _f = /*#__PURE__*/ r({}), vf = /*#__PURE__*/ r(null), yf = /*#__PURE__*/ Wn(
10954
10954
  "selection"
10955
10955
  ]
10956
10956
  };
10957
- });
10958
- //#endregion
10959
- //#region src/utils/cn.ts
10957
+ }, Gp = (e, { cacheSize: t, prefix: n, experimentalParseClassName: r, extend: i = {}, override: a = {} }) => (Kp(e, "cacheSize", t), Kp(e, "prefix", n), Kp(e, "experimentalParseClassName", r), qp(e.theme, a.theme), qp(e.classGroups, a.classGroups), qp(e.conflictingClassGroups, a.conflictingClassGroups), qp(e.conflictingClassGroupModifiers, a.conflictingClassGroupModifiers), Kp(e, "postfixLookupClassGroups", a.postfixLookupClassGroups), Kp(e, "orderSensitiveModifiers", a.orderSensitiveModifiers), Jp(e.theme, i.theme), Jp(e.classGroups, i.classGroups), Jp(e.conflictingClassGroups, i.conflictingClassGroups), Jp(e.conflictingClassGroupModifiers, i.conflictingClassGroupModifiers), Yp(e, i, "postfixLookupClassGroups"), Yp(e, i, "orderSensitiveModifiers"), e), Kp = (e, t, n) => {
10958
+ n !== void 0 && (e[t] = n);
10959
+ }, qp = (e, t) => {
10960
+ if (t) for (let n in t) Kp(e, n, t[n]);
10961
+ }, Jp = (e, t) => {
10962
+ if (t) for (let n in t) Yp(e, t, n);
10963
+ }, Yp = (e, t, n) => {
10964
+ let r = t[n];
10965
+ r !== void 0 && (e[n] = e[n] ? e[n].concat(r) : r);
10966
+ }, Xp = ((e, ...t) => typeof e == "function" ? Zf(Wp, e, ...t) : Zf(() => Gp(Wp(), e), ...t))({ extend: {
10967
+ classGroups: { "dos-font-size": [{ text: [
10968
+ "dos-text-base",
10969
+ "dos-text-xs",
10970
+ "dos-text-sm",
10971
+ "dos-text-md",
10972
+ "dos-text-lg",
10973
+ "dos-text-xl",
10974
+ "dos-display-xs",
10975
+ "dos-display-sm",
10976
+ "dos-display-md",
10977
+ "dos-display-lg",
10978
+ "dos-display-xl",
10979
+ "dos-display-2xl"
10980
+ ] }] },
10981
+ conflictingClassGroups: {
10982
+ "dos-font-size": ["font-size"],
10983
+ "font-size": ["dos-font-size"]
10984
+ }
10985
+ } });
10960
10986
  function $(...e) {
10961
- return Wp(e.filter(Boolean));
10987
+ return Xp(e.filter(Boolean));
10962
10988
  }
10963
10989
  //#endregion
10964
10990
  //#region node_modules/pixelarticons/react/InfoBox.js
10965
- var Gp = (t) => e.createElement("svg", Object.assign({
10991
+ var Zp = (t) => e.createElement("svg", Object.assign({
10966
10992
  viewBox: "0 0 24 24",
10967
10993
  width: "24",
10968
10994
  height: "24",
10969
10995
  fill: "currentColor",
10970
10996
  xmlns: "http://www.w3.org/2000/svg"
10971
- }, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z" })), Kp = (t) => e.createElement("svg", Object.assign({
10997
+ }, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM2 4h2v16H2zm18 0h2v16h-2zm-9 5h2V7h-2zm0 8h2v-6h-2z" })), Qp = (t) => e.createElement("svg", Object.assign({
10972
10998
  viewBox: "0 0 24 24",
10973
10999
  width: "24",
10974
11000
  height: "24",
10975
11001
  fill: "currentColor",
10976
11002
  xmlns: "http://www.w3.org/2000/svg"
10977
- }, t), e.createElement("path", { d: "M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z" })), qp = (t) => e.createElement("svg", Object.assign({
11003
+ }, t), e.createElement("path", { d: "M2 10h2v2H2zm0 4h2v-2H2zm20-4h-2v2h2zm0 4h-2v-2h2zM4 8h2v2H4zm0 8h2v-2H4zm16-8h-2v2h2zm0 8h-2v-2h2zM6 6h2v2H6zm0 12h2v-2H6zM18 6h-2v2h2zm0 12h-2v-2h2zM8 4h2v2H8zm0 16h2v-2H8zm8-16h-2v2h2zm0 16h-2v-2h2zM10 2h2v2h-2zm0 20h2v-2h-2zm4-20h-2v2h2zm0 20h-2v-2h2zm-3-5h2v-2h-2zm0-4h2V7h-2z" })), $p = (t) => e.createElement("svg", Object.assign({
10978
11004
  viewBox: "0 0 24 24",
10979
11005
  width: "24",
10980
11006
  height: "24",
10981
11007
  fill: "currentColor",
10982
11008
  xmlns: "http://www.w3.org/2000/svg"
10983
- }, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z" })), Jp = (t) => e.createElement("svg", Object.assign({
11009
+ }, t), e.createElement("path", { d: "M4 2h16v2H4zm0 18h16v2H4zM20 4h2v16h-2zM2 4h2v16H2zm9 2h2v8h-2zm0 10h2v2h-2z" })), em = (t) => e.createElement("svg", Object.assign({
10984
11010
  viewBox: "0 0 24 24",
10985
11011
  width: "24",
10986
11012
  height: "24",
10987
11013
  fill: "currentColor",
10988
11014
  xmlns: "http://www.w3.org/2000/svg"
10989
- }, t), e.createElement("path", { d: "M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z" })), Yp = {
10990
- Info: Gp,
10991
- Warning: Kp,
10992
- Error: qp,
10993
- Done: Jp,
10994
- Check: Jp,
11015
+ }, t), e.createElement("path", { d: "M10 18H8v-2h2v2Zm-2-2H6v-2h2v2Zm4-2v2h-2v-2h2Zm-6 0H4v-2h2v2Zm8 0h-2v-2h2v2Zm2-2h-2v-2h2v2Zm2-2h-2V8h2v2Zm2-2h-2V6h2v2Z" })), tm = {
11016
+ Info: Zp,
11017
+ Warning: Qp,
11018
+ Error: $p,
11019
+ Done: em,
11020
+ Check: em,
10995
11021
  Close: (e) => /* @__PURE__ */ x("svg", {
10996
11022
  viewBox: "0 0 24 24",
10997
11023
  width: "24",
@@ -11058,33 +11084,34 @@ var Gp = (t) => e.createElement("svg", Object.assign({
11058
11084
  xmlns: "http://www.w3.org/2000/svg"
11059
11085
  }, t), e.createElement("path", { d: "M13 11h7v2h-7v7h-2v-7H4v-2h7V4h2v7Z" }))
11060
11086
  };
11061
- function Xp(e) {
11062
- return e in Yp;
11087
+ function nm(e) {
11088
+ return e in tm;
11063
11089
  }
11064
- var Zp = {
11090
+ var rm = {
11065
11091
  L: 56,
11066
11092
  S: 24
11067
- }, Qp = ({ name: e, size: t = "L", className: n = "", onClick: r, color: i, role: a, "aria-label": o }) => {
11068
- let s = Yp[e];
11069
- if (!s) return null;
11070
- let c = Zp[t], l = a ?? "img", u = a === "button", d = u ? (e) => {
11093
+ }, im = ({ name: e, size: t = "L", className: n = "", onClick: r, color: i, role: a, "aria-label": o, decorative: s = !1 }) => {
11094
+ let c = tm[e];
11095
+ if (!c) return null;
11096
+ let l = rm[t], u = a ?? "img", d = a === "button", f = d ? (e) => {
11071
11097
  (e.key === "Enter" || e.key === " ") && (e.preventDefault(), r?.());
11072
11098
  } : void 0;
11073
11099
  return /* @__PURE__ */ x("span", {
11074
- className: $("icon", u && "icon--button", n),
11100
+ className: $("icon", d && "icon--button", n),
11075
11101
  onClick: r,
11076
- onKeyDown: d,
11077
- role: l,
11078
- tabIndex: u ? 0 : void 0,
11079
- "aria-label": o || `${e} icon`,
11102
+ onKeyDown: f,
11103
+ role: s ? void 0 : u,
11104
+ tabIndex: d ? 0 : void 0,
11105
+ "aria-label": s ? void 0 : o || `${e} icon`,
11106
+ "aria-hidden": s ? "true" : void 0,
11080
11107
  style: i ? { color: i } : void 0,
11081
- children: /* @__PURE__ */ x(s, {
11082
- width: c,
11083
- height: c,
11108
+ children: /* @__PURE__ */ x(c, {
11109
+ width: l,
11110
+ height: l,
11084
11111
  className: "icon__svg"
11085
11112
  })
11086
11113
  });
11087
- }, $p = i(({ icon: e, label: t, size: n = "md", variant: r = "outline", isDisabled: i, onPress: a, excludeFromTabOrder: o, className: s }, c) => /* @__PURE__ */ x(pi, {
11114
+ }, am = i(({ icon: e, label: t, size: n = "md", variant: r = "outline", isDisabled: i, onPress: a, excludeFromTabOrder: o, className: s }, c) => /* @__PURE__ */ x(pi, {
11088
11115
  ref: c,
11089
11116
  "aria-label": t,
11090
11117
  isDisabled: i,
@@ -11094,27 +11121,28 @@ var Zp = {
11094
11121
  children: /* @__PURE__ */ x("span", {
11095
11122
  className: "eidotter-icon-button__glyph",
11096
11123
  "aria-hidden": "true",
11097
- children: /* @__PURE__ */ x(Qp, {
11124
+ children: /* @__PURE__ */ x(im, {
11098
11125
  name: e,
11099
- size: "S"
11126
+ size: "S",
11127
+ decorative: !0
11100
11128
  })
11101
11129
  })
11102
11130
  }));
11103
- $p.displayName = "IconButton";
11131
+ am.displayName = "IconButton";
11104
11132
  //#endregion
11105
11133
  //#region src/utils/prefersReducedMotion.ts
11106
- function em() {
11134
+ function om() {
11107
11135
  return typeof window < "u" && window.matchMedia("(prefers-reduced-motion: reduce)").matches;
11108
11136
  }
11109
11137
  //#endregion
11110
11138
  //#region src/hooks/useAnimatedDismiss.ts
11111
- function tm(e, t) {
11139
+ function sm(e, t) {
11112
11140
  let [n, r] = m(!1), i = p(!1);
11113
11141
  return {
11114
11142
  isClosing: n,
11115
11143
  triggerClose: o(() => {
11116
11144
  if (!(i.current || !t)) {
11117
- if (em()) {
11145
+ if (om()) {
11118
11146
  t();
11119
11147
  return;
11120
11148
  }
@@ -11128,14 +11156,14 @@ function tm(e, t) {
11128
11156
  }
11129
11157
  //#endregion
11130
11158
  //#region src/components/Alert/components/Alert.tsx
11131
- var nm = {
11159
+ var cm = {
11132
11160
  info: "default",
11133
11161
  success: "success",
11134
11162
  warning: "warning",
11135
11163
  error: "error",
11136
11164
  default: "default",
11137
11165
  brand: "brand"
11138
- }, rm = {
11166
+ }, lm = {
11139
11167
  brand: "Info",
11140
11168
  gray: "Info",
11141
11169
  default: "Info",
@@ -11143,14 +11171,14 @@ var nm = {
11143
11171
  warning: "Warning",
11144
11172
  success: "Done"
11145
11173
  };
11146
- function im(e, t) {
11147
- return e || nm[t || "info"] || "default";
11174
+ function um(e, t) {
11175
+ return e || cm[t || "info"] || "default";
11148
11176
  }
11149
- function am(e) {
11177
+ function dm(e) {
11150
11178
  return e === "full-width" ? "full-width" : "floating";
11151
11179
  }
11152
- var om = i(({ color: e, size: t = "floating", type: n, title: r, children: i, actions: a, onClose: o, onClickHere: s, className: c }, l) => {
11153
- let u = im(e, n), d = am(t), { isClosing: f, triggerClose: p, handleAnimationEnd: m } = tm("eidotter-pop-out", o), h = [...a || [], ...s ? [{
11180
+ var fm = i(({ color: e, size: t = "floating", type: n, title: r, children: i, actions: a, onClose: o, onClickHere: s, className: c }, l) => {
11181
+ let u = um(e, n), d = dm(t), { isClosing: f, triggerClose: p, handleAnimationEnd: m } = sm("eidotter-pop-out", o), h = [...a || [], ...s ? [{
11154
11182
  label: "Click here",
11155
11183
  onClick: s
11156
11184
  }] : []];
@@ -11164,8 +11192,8 @@ var om = i(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
11164
11192
  children: [
11165
11193
  /* @__PURE__ */ x("div", {
11166
11194
  className: "eidotter-alert__icon",
11167
- children: /* @__PURE__ */ x(Qp, {
11168
- name: rm[u] || "Info",
11195
+ children: /* @__PURE__ */ x(im, {
11196
+ name: lm[u] || "Info",
11169
11197
  size: "S",
11170
11198
  "aria-label": `${u} alert`
11171
11199
  })
@@ -11190,7 +11218,7 @@ var om = i(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
11190
11218
  }, t))
11191
11219
  })]
11192
11220
  }),
11193
- o && /* @__PURE__ */ x($p, {
11221
+ o && /* @__PURE__ */ x(am, {
11194
11222
  icon: "Close",
11195
11223
  label: "Close alert",
11196
11224
  className: "eidotter-alert__close",
@@ -11199,10 +11227,10 @@ var om = i(({ color: e, size: t = "floating", type: n, title: r, children: i, ac
11199
11227
  ]
11200
11228
  });
11201
11229
  });
11202
- om.displayName = "Alert";
11230
+ fm.displayName = "Alert";
11203
11231
  //#endregion
11204
11232
  //#region src/components/Accordion/components/Section.tsx
11205
- var sm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, isActive: i = !1, onToggle: a }) => {
11233
+ var pm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, isActive: i = !1, onToggle: a }) => {
11206
11234
  let [o, s] = m(n);
11207
11235
  return c(() => {
11208
11236
  s(n);
@@ -11220,7 +11248,7 @@ var sm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
11220
11248
  children: e
11221
11249
  }), /* @__PURE__ */ x("div", {
11222
11250
  className: "eidotter-section__icon flex items-center justify-center w-6 h-6 ml-2 text-inherit",
11223
- children: /* @__PURE__ */ x(Qp, {
11251
+ children: /* @__PURE__ */ x(im, {
11224
11252
  name: o ? "Chevron Up" : "Chevron Down",
11225
11253
  size: "S"
11226
11254
  })
@@ -11234,20 +11262,20 @@ var sm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
11234
11262
  })
11235
11263
  })]
11236
11264
  });
11237
- }, cm = ({ sections: e, defaultExpandedIndex: t = -1, className: n }) => {
11265
+ }, mm = ({ sections: e, defaultExpandedIndex: t = -1, className: n }) => {
11238
11266
  let [, r] = m(t), i = (e, t) => {
11239
11267
  r(t ? e : -1);
11240
11268
  };
11241
11269
  return /* @__PURE__ */ x("div", {
11242
11270
  className: $("w-full flex flex-col items-stretch gap-2 text-left text-dos-text-base leading-6 font-dos text-dos-text-brand", "eidotter-accordion-fill", n),
11243
- children: e.map((e, n) => /* @__PURE__ */ x(sm, {
11271
+ children: e.map((e, n) => /* @__PURE__ */ x(pm, {
11244
11272
  title: e.title,
11245
11273
  defaultExpanded: n === t,
11246
11274
  onToggle: (e) => i(n, e),
11247
11275
  children: e.content
11248
11276
  }, n))
11249
11277
  });
11250
- }, lm = {
11278
+ }, hm = {
11251
11279
  xs: "text-dos-text-xs px-2 py-1 min-h-6 gap-1",
11252
11280
  sm: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1",
11253
11281
  md: "text-dos-text-md px-3 py-2 min-h-8 gap-1.5",
@@ -11256,14 +11284,14 @@ var sm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
11256
11284
  small: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1",
11257
11285
  medium: "text-dos-text-md px-3 py-2 min-h-8 gap-1.5",
11258
11286
  large: "text-dos-text-lg px-4 py-2.5 min-h-10 gap-2"
11259
- }, um = {
11287
+ }, gm = {
11260
11288
  primary: "eidotter-btn--primary",
11261
11289
  secondary: "eidotter-btn--secondary",
11262
11290
  tertiary: "eidotter-btn--tertiary",
11263
11291
  destructive: "eidotter-btn--destructive",
11264
11292
  ghost: "eidotter-btn--ghost",
11265
11293
  link: "eidotter-btn--link"
11266
- }, dm = i(({ variant: e = "primary", size: t = "md", type: n = "button", disabled: r = !1, loading: i = !1, children: a, onPress: o, onClick: s, className: c, fullWidth: l = !1, iconOnly: u = !1, ...d }, f) => {
11294
+ }, _m = i(({ variant: e = "primary", size: t = "md", type: n = "button", disabled: r = !1, loading: i = !1, children: a, onPress: o, onClick: s, className: c, fullWidth: l = !1, iconOnly: u = !1, ...d }, f) => {
11267
11295
  let p = r || i;
11268
11296
  return /* @__PURE__ */ S(pi, {
11269
11297
  ref: f,
@@ -11279,7 +11307,7 @@ var sm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
11279
11307
  stopPropagation: () => {}
11280
11308
  });
11281
11309
  },
11282
- className: $("eidotter-btn", "inline-flex items-center justify-center relative", "border-2 border-solid", "font-dos leading-none whitespace-nowrap select-none", "outline-none cursor-pointer", "transition-all duration-100 ease-linear", lm[t] || lm.md, um[e] || um.primary, p && "opacity-50 cursor-not-allowed", i && "cursor-wait", l && "w-full", u && "aspect-square !px-0", "focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus", c),
11310
+ className: $("eidotter-btn", "inline-flex items-center justify-center relative", "border-2 border-solid", "font-dos leading-none whitespace-nowrap select-none", "outline-none cursor-pointer", "transition-all duration-100 ease-linear", hm[t] || hm.md, gm[e] || gm.primary, p && "opacity-50 cursor-not-allowed", i && "cursor-wait", l && "w-full", u && "aspect-square !px-0", "focus-visible:outline-2 focus-visible:outline-solid focus-visible:outline-offset-2 focus-visible:outline-dos-border-focus", c),
11283
11311
  "data-loading": i || void 0,
11284
11312
  "data-variant": e,
11285
11313
  ...d,
@@ -11293,10 +11321,10 @@ var sm = ({ title: e, children: t, defaultExpanded: n = !1, isHovered: r = !1, i
11293
11321
  })]
11294
11322
  });
11295
11323
  });
11296
- dm.displayName = "Button";
11324
+ _m.displayName = "Button";
11297
11325
  //#endregion
11298
11326
  //#region src/components/DosWindow/components/DosWindow.tsx
11299
- var fm = i(({ title: e, marker: t = !0, active: n = !0, controls: r, footer: i, className: a, children: o, ...s }, c) => {
11327
+ var vm = i(({ title: e, marker: t = !0, active: n = !0, controls: r, footer: i, className: a, children: o, ...s }, c) => {
11300
11328
  let l = e != null && e !== !1 && e !== "", u = r != null && r !== !1;
11301
11329
  return /* @__PURE__ */ S("div", {
11302
11330
  ref: c,
@@ -11332,10 +11360,10 @@ var fm = i(({ title: e, marker: t = !0, active: n = !0, controls: r, footer: i,
11332
11360
  ]
11333
11361
  });
11334
11362
  });
11335
- fm.displayName = "DosWindow";
11363
+ vm.displayName = "DosWindow";
11336
11364
  //#endregion
11337
11365
  //#region src/components/Card/components/Card.tsx
11338
- var pm = {
11366
+ var ym = {
11339
11367
  default: "eidotter-card--default",
11340
11368
  elevated: "eidotter-card--elevated",
11341
11369
  bordered: "eidotter-card--bordered",
@@ -11343,18 +11371,18 @@ var pm = {
11343
11371
  interactive: "eidotter-card--interactive",
11344
11372
  minimal: "eidotter-card--minimal",
11345
11373
  callout: "eidotter-card--callout"
11346
- }, mm = i(({ title: e, children: t, footer: n, variant: r = "default", className: i, ...a }, o) => /* @__PURE__ */ x(fm, {
11374
+ }, bm = i(({ title: e, children: t, footer: n, variant: r = "default", className: i, ...a }, o) => /* @__PURE__ */ x(vm, {
11347
11375
  ref: o,
11348
11376
  title: e,
11349
11377
  footer: n || void 0,
11350
- className: $("font-dos text-dos-text-brand", "eidotter-card", pm[r] || pm.default, i),
11378
+ className: $("font-dos text-dos-text-brand", "eidotter-card", ym[r] || ym.default, i),
11351
11379
  ...a,
11352
11380
  children: t
11353
11381
  }));
11354
- mm.displayName = "Card";
11382
+ bm.displayName = "Card";
11355
11383
  //#endregion
11356
11384
  //#region src/components/Checkbox/components/Checkbox.tsx
11357
- var hm = i(({ checked: e, defaultChecked: t, onChange: n, indeterminate: r = !1, label: i, disabled: a = !1, size: o = "md", name: s, value: c, className: l, "aria-label": u, ...d }, f) => /* @__PURE__ */ x(sa, {
11385
+ var xm = i(({ checked: e, defaultChecked: t, onChange: n, indeterminate: r = !1, label: i, disabled: a = !1, size: o = "md", name: s, value: c, className: l, "aria-label": u, ...d }, f) => /* @__PURE__ */ x(sa, {
11358
11386
  ref: f,
11359
11387
  isSelected: e,
11360
11388
  defaultSelected: t,
@@ -11375,10 +11403,10 @@ var hm = i(({ checked: e, defaultChecked: t, onChange: n, indeterminate: r = !1,
11375
11403
  children: i
11376
11404
  })] })
11377
11405
  }));
11378
- hm.displayName = "Checkbox";
11406
+ xm.displayName = "Checkbox";
11379
11407
  //#endregion
11380
11408
  //#region src/components/CommandPrompt/components/CommandPrompt.tsx
11381
- var gm = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r = "", placeholder: i, disabled: a = !1 }) => {
11409
+ var Sm = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r = "", placeholder: i, disabled: a = !1 }) => {
11382
11410
  let [o, s] = m(""), l = p(null);
11383
11411
  return c(() => {
11384
11412
  n && l.current && l.current.focus();
@@ -11417,41 +11445,41 @@ var gm = ({ prompt: e = "C:\\>", onCommand: t, autoFocus: n = !1, className: r =
11417
11445
  })]
11418
11446
  })]
11419
11447
  });
11420
- }, _m = "█", vm = "░", ym = "▓", bm = "▒", xm = {
11448
+ }, Cm = "█", wm = "░", Tm = "▓", Em = "▒", Dm = {
11421
11449
  sm: "text-dos-text-base",
11422
11450
  md: "text-dos-text-sm",
11423
11451
  lg: "text-dos-text-md",
11424
11452
  small: "text-dos-text-base",
11425
11453
  medium: "text-dos-text-sm",
11426
11454
  large: "text-dos-text-md"
11427
- }, Sm = {
11455
+ }, Om = {
11428
11456
  default: "eidotter-progress--default",
11429
11457
  success: "eidotter-progress--success",
11430
11458
  warning: "eidotter-progress--warning",
11431
11459
  error: "eidotter-progress--error"
11432
11460
  };
11433
- function Cm(e, t, n) {
11461
+ function km(e, t, n) {
11434
11462
  let r = t - e;
11435
11463
  if (n === "gradient" && e > 0 && e < t) {
11436
- let t = Math.min(2, r), n = r - t, i = (t >= 1 ? ym : "") + (t >= 2 ? bm : "");
11464
+ let t = Math.min(2, r), n = r - t, i = (t >= 1 ? Tm : "") + (t >= 2 ? Em : "");
11437
11465
  return {
11438
- filled: _m.repeat(e),
11466
+ filled: Cm.repeat(e),
11439
11467
  transition: i,
11440
- empty: vm.repeat(n)
11468
+ empty: wm.repeat(n)
11441
11469
  };
11442
11470
  }
11443
11471
  return {
11444
- filled: _m.repeat(e),
11472
+ filled: Cm.repeat(e),
11445
11473
  transition: "",
11446
- empty: vm.repeat(r)
11474
+ empty: wm.repeat(r)
11447
11475
  };
11448
11476
  }
11449
- var wm = i(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "default", size: i = "md", trackStyle: a = "block", blocks: o = 20, showLabel: s = !1, fullWidth: c = !1, glow: l = !1, valueText: u, className: d, "aria-label": f, ...p }, m) => {
11450
- let h = Math.min(80, Math.max(3, Math.floor(o))), g = Math.min(100, Math.max(0, e / t * 100)), _ = Math.round(g / 100 * h), v = $("inline-flex items-center gap-2 font-dos", "eidotter-progress", xm[i] || xm.md, Sm[r] || Sm.default, l && "eidotter-progress--glow", c && "eidotter-progress--full-width", n && "eidotter-progress--indeterminate", a === "bordered" && "eidotter-progress--bordered", d), y = { "aria-label": f || `Progress: ${n ? "loading" : `${Math.round(g)}%`}` };
11477
+ var Am = i(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "default", size: i = "md", trackStyle: a = "block", blocks: o = 20, showLabel: s = !1, fullWidth: c = !1, glow: l = !1, valueText: u, className: d, "aria-label": f, ...p }, m) => {
11478
+ let h = Math.min(80, Math.max(3, Math.floor(o))), g = Math.min(100, Math.max(0, e / t * 100)), _ = Math.round(g / 100 * h), v = $("inline-flex items-center gap-2 font-dos", "eidotter-progress", Dm[i] || Dm.md, Om[r] || Om.default, l && "eidotter-progress--glow", c && "eidotter-progress--full-width", n && "eidotter-progress--indeterminate", a === "bordered" && "eidotter-progress--bordered", d), y = { "aria-label": f || `Progress: ${n ? "loading" : `${Math.round(g)}%`}` };
11451
11479
  n || (y["aria-valuenow"] = e, y["aria-valuemin"] = 0, y["aria-valuemax"] = t), u && (y["aria-valuetext"] = u);
11452
11480
  let b = a === "bordered", C = $("eidotter-progress__track", b && "eidotter-progress__track--borderless");
11453
11481
  if (n) {
11454
- let e = vm.repeat(h);
11482
+ let e = wm.repeat(h);
11455
11483
  return /* @__PURE__ */ S("div", {
11456
11484
  ref: m,
11457
11485
  className: v,
@@ -11473,9 +11501,9 @@ var wm = i(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "d
11473
11501
  }), /* @__PURE__ */ S("span", {
11474
11502
  className: "eidotter-progress__scanner",
11475
11503
  children: [
11476
- ym,
11477
- _m,
11478
- ym
11504
+ Tm,
11505
+ Cm,
11506
+ Tm
11479
11507
  ]
11480
11508
  })]
11481
11509
  }),
@@ -11490,7 +11518,7 @@ var wm = i(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "d
11490
11518
  })]
11491
11519
  });
11492
11520
  }
11493
- let w = _m.repeat(h), T = vm.repeat(h), { transition: E } = Cm(_, h, a);
11521
+ let w = Cm.repeat(h), T = wm.repeat(h), { transition: E } = km(_, h, a);
11494
11522
  return /* @__PURE__ */ S("div", {
11495
11523
  ref: m,
11496
11524
  className: v,
@@ -11534,11 +11562,11 @@ var wm = i(({ value: e = 0, max: t = 100, indeterminate: n = !1, variant: r = "d
11534
11562
  })]
11535
11563
  });
11536
11564
  });
11537
- wm.displayName = "Progress";
11565
+ Am.displayName = "Progress";
11538
11566
  //#endregion
11539
11567
  //#region src/components/ProgressRing/components/ProgressRing.tsx
11540
- var Tm = (e, t, n) => Math.min(n, Math.max(t, e)), Em = i(({ value: e = 0, max: t = 100, size: n = 64, thickness: r = 8, segments: i = 16, color: a, showLabel: o = !1, glow: s = !1, decorative: c = !1, className: l, "aria-label": u, ...d }, f) => {
11541
- let p = Math.max(1, Math.floor(i)), m = Tm(t === 0 ? 0 : e / t, 0, 1), h = Math.floor(m * p), g = Math.round(h / p * 100), _ = (n - r) / 2, v = n / 2, y = n / 2, b = 2 * Math.PI * _, C = b / p, w = Math.max(2, C / 6), T = Math.max(.5, C - w), E = a ?? "currentColor", D = Array.from({ length: p }, (e, t) => {
11568
+ var jm = (e, t, n) => Math.min(n, Math.max(t, e)), Mm = i(({ value: e = 0, max: t = 100, size: n = 64, thickness: r = 8, segments: i = 16, color: a, showLabel: o = !1, glow: s = !1, decorative: c = !1, className: l, "aria-label": u, ...d }, f) => {
11569
+ let p = Math.max(1, Math.floor(i)), m = jm(t === 0 ? 0 : e / t, 0, 1), h = Math.floor(m * p), g = Math.round(h / p * 100), _ = (n - r) / 2, v = n / 2, y = n / 2, b = 2 * Math.PI * _, C = b / p, w = Math.max(2, C / 6), T = Math.max(.5, C - w), E = a ?? "currentColor", D = Array.from({ length: p }, (e, t) => {
11542
11570
  let n = t < h;
11543
11571
  return /* @__PURE__ */ x("circle", {
11544
11572
  cx: v,
@@ -11584,43 +11612,43 @@ var Tm = (e, t, n) => Math.min(n, Math.max(t, e)), Em = i(({ value: e = 0, max:
11584
11612
  })]
11585
11613
  });
11586
11614
  });
11587
- Em.displayName = "ProgressRing";
11615
+ Mm.displayName = "ProgressRing";
11588
11616
  //#endregion
11589
11617
  //#region src/components/Skeleton/components/Skeleton.tsx
11590
- var Dm = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Om = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", km = 6, Am = {
11618
+ var Nm = "░░░░▒░░░░░░░▒░░░▒▒░░░░░░▒░░░░░░░▒░░░░▒░░", Pm = "▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▒▓▒▒▒▒▓▒▒▒▒▒▓▒▒▒▒▒▓▒", Fm = 6, Im = {
11591
11619
  text: 3,
11592
11620
  card: 3,
11593
11621
  figure: 4,
11594
11622
  timeline: 2
11595
- }, jm = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ x("span", {
11623
+ }, Lm = ({ dense: e = !1, width: t = "full" }) => /* @__PURE__ */ x("span", {
11596
11624
  className: $("eidotter-skeleton__line", t === "short" && "eidotter-skeleton__line--short", t === "meta" && "eidotter-skeleton__line--meta"),
11597
- children: (e ? Om : Dm).repeat(km)
11625
+ children: (e ? Pm : Nm).repeat(Fm)
11598
11626
  });
11599
- function Mm(e, t = !1, n = !0) {
11600
- return Array.from({ length: e }, (r, i) => /* @__PURE__ */ x(jm, {
11627
+ function Rm(e, t = !1, n = !0) {
11628
+ return Array.from({ length: e }, (r, i) => /* @__PURE__ */ x(Lm, {
11601
11629
  dense: t,
11602
11630
  width: n && i === e - 1 && e > 1 ? "short" : "full"
11603
11631
  }, i));
11604
11632
  }
11605
- var Nm = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
11606
- let a = Math.max(1, t ?? Am[e]), o;
11633
+ var zm = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading", className: i }) => {
11634
+ let a = Math.max(1, t ?? Im[e]), o;
11607
11635
  switch (e) {
11608
11636
  case "card":
11609
- o = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(jm, {
11637
+ o = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(Lm, {
11610
11638
  dense: !0,
11611
11639
  width: "meta"
11612
- }), Mm(a)] });
11640
+ }), Rm(a)] });
11613
11641
  break;
11614
11642
  case "figure":
11615
- o = Mm(a, !0, !1);
11643
+ o = Rm(a, !0, !1);
11616
11644
  break;
11617
11645
  case "timeline":
11618
11646
  o = /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", { className: "eidotter-skeleton__marker border-2 border-dos-border-default" }), /* @__PURE__ */ S("span", {
11619
11647
  className: "eidotter-skeleton__entry",
11620
- children: [/* @__PURE__ */ x(jm, { width: "meta" }), Mm(a)]
11648
+ children: [/* @__PURE__ */ x(Lm, { width: "meta" }), Rm(a)]
11621
11649
  })] });
11622
11650
  break;
11623
- default: o = Mm(a);
11651
+ default: o = Rm(a);
11624
11652
  }
11625
11653
  return /* @__PURE__ */ x("div", {
11626
11654
  role: "status",
@@ -11633,10 +11661,10 @@ var Nm = ({ variant: e = "text", lines: t, animated: n = !0, label: r = "Loading
11633
11661
  })
11634
11662
  });
11635
11663
  };
11636
- Nm.displayName = "Skeleton";
11664
+ zm.displayName = "Skeleton";
11637
11665
  //#endregion
11638
11666
  //#region src/utils/health/labels.ts
11639
- var Pm = {
11667
+ var Bm = {
11640
11668
  unknown: "unknown",
11641
11669
  stale: "stale",
11642
11670
  offline: "offline",
@@ -11646,22 +11674,22 @@ var Pm = {
11646
11674
  estimated: "estimated",
11647
11675
  modelled: "modelled"
11648
11676
  };
11649
- function Fm(e) {
11677
+ function Vm(e) {
11650
11678
  return {
11651
- ...Pm,
11679
+ ...Bm,
11652
11680
  ...e
11653
11681
  };
11654
11682
  }
11655
- function Im(e, t) {
11683
+ function Hm(e, t) {
11656
11684
  return t === "estimated" || t === "modelled" ? e[t] : null;
11657
11685
  }
11658
- var Lm = "−";
11659
- function Rm(e) {
11686
+ var Um = "−";
11687
+ function Wm(e) {
11660
11688
  return typeof e == "number" && Number.isFinite(e);
11661
11689
  }
11662
- var zm = 64, Bm = /* @__PURE__ */ new Map();
11663
- function Vm(e, t, n, r) {
11664
- let i = `${e}|${t ?? ""}|${n}|${r}|${n ? "percent" : ""}`, a = Bm.get(i);
11690
+ var Gm = 64, Km = /* @__PURE__ */ new Map();
11691
+ function qm(e, t, n, r) {
11692
+ let i = `${e}|${t ?? ""}|${n}|${r}|${n ? "percent" : ""}`, a = Km.get(i);
11665
11693
  return a || (a = new Intl.NumberFormat(e, {
11666
11694
  ...t !== void 0 && {
11667
11695
  minimumFractionDigits: t,
@@ -11672,33 +11700,33 @@ function Vm(e, t, n, r) {
11672
11700
  unit: "percent"
11673
11701
  },
11674
11702
  ...r && { signDisplay: "exceptZero" }
11675
- }), Bm.size >= zm && Bm.clear(), Bm.set(i, a)), a;
11703
+ }), Km.size >= Gm && Km.clear(), Km.set(i, a)), a;
11676
11704
  }
11677
- function Hm(e, t = {}) {
11678
- if (!Rm(e)) return {
11705
+ function Jm(e, t = {}) {
11706
+ if (!Wm(e)) return {
11679
11707
  text: "--",
11680
11708
  status: "unknown"
11681
11709
  };
11682
- let { locale: n = "en", digits: r, percent: i, max: a, unit: o, signed: s } = t, c = (e, t) => Vm(n, r, !!i, t).format(e).replace("-", Lm), l = c(e, !!s);
11683
- return Rm(a) && (l += `/${c(a, !1)}`), o && (l += ` ${o}`), {
11710
+ let { locale: n = "en", digits: r, percent: i, max: a, unit: o, signed: s } = t, c = (e, t) => qm(n, r, !!i, t).format(e).replace("-", Um), l = c(e, !!s);
11711
+ return Wm(a) && (l += `/${c(a, !1)}`), o && (l += ` ${o}`), {
11684
11712
  text: l,
11685
11713
  status: "ok"
11686
11714
  };
11687
11715
  }
11688
11716
  //#endregion
11689
11717
  //#region src/utils/health/resolveBand.ts
11690
- var Um = /* @__PURE__ */ new Set();
11691
- function Wm(e, t) {
11718
+ var Ym = /* @__PURE__ */ new Set();
11719
+ function Xm(e, t) {
11692
11720
  if (!(process.env.NODE_ENV === "production" || !t)) {
11693
11721
  for (let n of e) if (n.unit && n.unit !== t) {
11694
11722
  let e = `${n.unit}|${t}`;
11695
- if (Um.has(e)) continue;
11696
- Um.add(e), console.warn(`[eidotter] Band unit "${n.unit}" differs from value unit "${t}".`);
11723
+ if (Ym.has(e)) continue;
11724
+ Ym.add(e), console.warn(`[eidotter] Band unit "${n.unit}" differs from value unit "${t}".`);
11697
11725
  }
11698
11726
  }
11699
11727
  }
11700
- function Gm(e, t, n) {
11701
- if (!t || t.length === 0 || (Wm(t, n), !Rm(e))) return { tone: "neutral" };
11728
+ function Zm(e, t, n) {
11729
+ if (!t || t.length === 0 || (Xm(t, n), !Wm(e))) return { tone: "neutral" };
11702
11730
  let r = t.find((t) => e >= t.from && e < t.to);
11703
11731
  return r ? {
11704
11732
  tone: r.tone,
@@ -11708,46 +11736,46 @@ function Gm(e, t, n) {
11708
11736
  }
11709
11737
  //#endregion
11710
11738
  //#region src/components/Gauge/components/Gauge.tsx
11711
- var Km = {
11739
+ var Qm = {
11712
11740
  sm: "eidotter-gauge--sm text-dos-text-xs",
11713
11741
  md: "eidotter-gauge--md text-dos-text-sm",
11714
11742
  lg: "eidotter-gauge--lg text-dos-text-md"
11715
- }, qm = {
11743
+ }, $m = {
11716
11744
  sm: "text-dos-text-sm",
11717
11745
  md: "text-dos-display-xs",
11718
11746
  lg: "text-dos-display-sm"
11719
- }, Jm = {
11747
+ }, eh = {
11720
11748
  sm: 72,
11721
11749
  md: 104,
11722
11750
  lg: 136
11723
11751
  };
11724
- function Ym(e) {
11752
+ function th(e) {
11725
11753
  let t = e.indexOf(" ");
11726
11754
  return t > 0 ? [e.slice(0, t), e.slice(t + 1)] : [e, null];
11727
11755
  }
11728
- var Xm = {
11756
+ var nh = {
11729
11757
  neutral: "eidotter-tone--neutral",
11730
11758
  info: "eidotter-tone--info",
11731
11759
  success: "eidotter-tone--success",
11732
11760
  warning: "eidotter-tone--warning",
11733
11761
  critical: "eidotter-tone--critical"
11734
- }, Zm = {
11762
+ }, rh = {
11735
11763
  neutral: 16,
11736
11764
  info: 12,
11737
11765
  success: 16,
11738
11766
  warning: 20,
11739
11767
  critical: 24
11740
- }, Qm = {
11768
+ }, ih = {
11741
11769
  ok: "",
11742
11770
  loading: "eidotter-gauge--loading",
11743
11771
  empty: "eidotter-gauge--empty",
11744
11772
  stale: "eidotter-gauge--stale",
11745
11773
  unknown: "eidotter-gauge--unknown"
11746
- }, $m = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, secondary: a, size: o = "md", tone: s, status: c = "ok", provenance: l, bands: u, locale: d = "en", labels: f, glow: p = !1, className: m, "aria-label": h, ...g }, _) => {
11747
- let v = Fm(f), y = c === "loading", C = !Rm(n) || !(r > 0) || !Number.isFinite(r) || c === "empty" || c === "unknown", w = C ? 0 : n / r * 100, T = !C && n > r, E = Gm(C ? null : n, u, i), D = s ?? E.tone, O = C ? "--" : Hm(w, {
11774
+ }, ah = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, secondary: a, size: o = "md", tone: s, status: c = "ok", provenance: l, bands: u, locale: d = "en", labels: f, glow: p = !1, className: m, "aria-label": h, ...g }, _) => {
11775
+ let v = Vm(f), y = c === "loading", C = !Wm(n) || !(r > 0) || !Number.isFinite(r) || c === "empty" || c === "unknown", w = C ? 0 : n / r * 100, T = !C && n > r, E = Zm(C ? null : n, u, i), D = s ?? E.tone, O = C ? "--" : Jm(w, {
11748
11776
  locale: d,
11749
11777
  percent: !0
11750
- }).text, k = c === "stale" && !C, A = [C || y ? v.unknown : O, k && v.stale].filter(Boolean).join(", "), j = `${h ?? e}: ${A}`, M = o in Jm ? o : "md", N = Jm[M], P = Math.round(N / 8), F = M === "sm", [I, L] = Ym(a ?? ""), ee = a && !C && !y ? /* @__PURE__ */ S("span", {
11778
+ }).text, k = c === "stale" && !C, A = [C || y ? v.unknown : O, k && v.stale].filter(Boolean).join(", "), j = `${h ?? e}: ${A}`, M = o in eh ? o : "md", N = eh[M], P = Math.round(N / 8), F = M === "sm", [I, L] = th(a ?? ""), ee = a && !C && !y ? /* @__PURE__ */ S("span", {
11751
11779
  className: "eidotter-gauge__secondary text-dos-text-brand text-dos-text-xs tabular-nums leading-none",
11752
11780
  children: [/* @__PURE__ */ x("span", {
11753
11781
  className: "eidotter-gauge__secondary-head",
@@ -11756,10 +11784,10 @@ var Xm = {
11756
11784
  className: "eidotter-gauge__secondary-tail",
11757
11785
  children: L
11758
11786
  })] })]
11759
- }) : null, R = Im(v, l);
11787
+ }) : null, R = Hm(v, l);
11760
11788
  return /* @__PURE__ */ S("div", {
11761
11789
  ref: _,
11762
- className: $("eidotter-gauge eidotter-health flex flex-col items-center gap-1 w-full font-dos", Km[o] ?? Km.md, Xm[D], Qm[c], m),
11790
+ className: $("eidotter-gauge eidotter-health flex flex-col items-center gap-1 w-full font-dos", Qm[o] ?? Qm.md, nh[D], ih[c], m),
11763
11791
  style: { minWidth: N },
11764
11792
  "data-size": M,
11765
11793
  "data-has-short": t ? "true" : "false",
@@ -11774,13 +11802,13 @@ var Xm = {
11774
11802
  children: [
11775
11803
  /* @__PURE__ */ S("div", {
11776
11804
  className: "relative inline-flex items-center justify-center",
11777
- children: [/* @__PURE__ */ x(Em, {
11805
+ children: [/* @__PURE__ */ x(Mm, {
11778
11806
  decorative: !0,
11779
11807
  value: y ? 0 : w,
11780
11808
  max: 100,
11781
11809
  size: N,
11782
11810
  thickness: P,
11783
- segments: Zm[D] ?? 16,
11811
+ segments: rh[D] ?? 16,
11784
11812
  color: D === "neutral" ? void 0 : "var(--eidotter-fill)",
11785
11813
  glow: !1,
11786
11814
  className: $(p && "eidotter-health-glow")
@@ -11790,17 +11818,13 @@ var Xm = {
11790
11818
  children: y ? /* @__PURE__ */ x("div", {
11791
11819
  "aria-hidden": "true",
11792
11820
  className: "eidotter-gauge__skeleton w-full overflow-hidden",
11793
- children: /* @__PURE__ */ x(Nm, {
11821
+ children: /* @__PURE__ */ x(zm, {
11794
11822
  variant: "figure",
11795
11823
  lines: 2,
11796
11824
  animated: !1
11797
11825
  })
11798
11826
  }) : /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", {
11799
- className: [
11800
- "eidotter-gauge__value text-dos-text-accent tabular-nums",
11801
- qm[M],
11802
- k && "opacity-60"
11803
- ].filter(Boolean).join(" "),
11827
+ className: $("eidotter-gauge__value text-dos-text-accent tabular-nums", $m[M], k && "opacity-60"),
11804
11828
  children: O
11805
11829
  }), !F && ee] })
11806
11830
  })]
@@ -11847,51 +11871,51 @@ var Xm = {
11847
11871
  ]
11848
11872
  });
11849
11873
  });
11850
- $m.displayName = "Gauge";
11874
+ ah.displayName = "Gauge";
11851
11875
  //#endregion
11852
11876
  //#region src/components/Meter/components/Meter.tsx
11853
- var eh = {
11877
+ var oh = {
11854
11878
  vertical: "eidotter-meter--vertical flex-col items-center gap-1",
11855
11879
  horizontal: "eidotter-meter--horizontal flex-row items-center gap-2"
11856
- }, th = {
11880
+ }, sh = {
11857
11881
  xs: "eidotter-meter--xs text-dos-text-xs",
11858
11882
  sm: "eidotter-meter--sm text-dos-text-xs",
11859
11883
  md: "eidotter-meter--md text-dos-text-sm"
11860
- }, nh = {
11884
+ }, ch = {
11861
11885
  neutral: "eidotter-tone--neutral",
11862
11886
  info: "eidotter-tone--info",
11863
11887
  success: "eidotter-tone--success",
11864
11888
  warning: "eidotter-tone--warning",
11865
11889
  critical: "eidotter-tone--critical"
11866
- }, rh = {
11890
+ }, lh = {
11867
11891
  solid: "eidotter-fill--solid",
11868
11892
  dither: "eidotter-fill--dither",
11869
11893
  hatch: "eidotter-fill--hatch",
11870
11894
  dotted: "eidotter-fill--dotted"
11871
- }, ih = {
11895
+ }, uh = {
11872
11896
  neutral: "solid",
11873
11897
  info: "solid",
11874
11898
  success: "dither",
11875
11899
  warning: "hatch",
11876
11900
  critical: "dotted"
11877
- }, ah = (e) => Math.round(e * 1e4) / 1e4, oh = (e) => Math.min(1, Math.max(0, e));
11878
- function sh(e, t) {
11901
+ }, dh = (e) => Math.round(e * 1e4) / 1e4, fh = (e) => Math.min(1, Math.max(0, e));
11902
+ function ph(e, t) {
11879
11903
  if (e !== void 0) {
11880
11904
  if (Array.isArray(e)) {
11881
- let n = oh(e[0] / t), r = oh(e[1] / t);
11905
+ let n = fh(e[0] / t), r = fh(e[1] / t);
11882
11906
  return {
11883
- "--eidotter-meter-optimal-start": String(ah(n)),
11884
- "--eidotter-meter-optimal-size": String(ah(r - n))
11907
+ "--eidotter-meter-optimal-start": String(dh(n)),
11908
+ "--eidotter-meter-optimal-size": String(dh(r - n))
11885
11909
  };
11886
11910
  }
11887
- return { "--eidotter-meter-optimal": String(ah(oh(e / t))) };
11911
+ return { "--eidotter-meter-optimal": String(dh(fh(e / t))) };
11888
11912
  }
11889
11913
  }
11890
- var ch = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, optimal: a, orientation: o = "vertical", size: s = "sm", tone: c, pattern: l, segments: u, bands: d, locale: f = "en", labels: p, showValue: m = !0, className: h, "aria-label": g, ..._ }, v) => {
11891
- let y = Fm(p), C = r > 0 && Number.isFinite(r), w = !Rm(n) || !C, T = w ? 0 : oh(n / r), E = !w && n > r, D = Gm(w ? null : n, d, i), O = c ?? D.tone, k = rh[l ?? ih[O] ?? "solid"] ?? rh.solid, A = w ? "--" : Hm(n, {
11914
+ var mh = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, optimal: a, orientation: o = "vertical", size: s = "sm", tone: c, pattern: l, segments: u, bands: d, locale: f = "en", labels: p, showValue: m = !0, className: h, "aria-label": g, ..._ }, v) => {
11915
+ let y = Vm(p), C = r > 0 && Number.isFinite(r), w = !Wm(n) || !C, T = w ? 0 : fh(n / r), E = !w && n > r, D = Zm(w ? null : n, d, i), O = c ?? D.tone, k = lh[l ?? uh[O] ?? "solid"] ?? lh.solid, A = w ? "--" : Jm(n, {
11892
11916
  locale: f,
11893
11917
  unit: i
11894
- }).text, j = w ? "--" : Hm(n, { locale: f }).text, M = w ? void 0 : i || void 0, N = w ? y.unknown : A, P = `${g ?? e}: ${N}`, F = Array.isArray(a), I = C ? sh(a, r) : void 0, L = u === void 0 ? 0 : Math.max(0, Math.floor(u)), ee = Math.round(T * L), R = m || E ? /* @__PURE__ */ S("div", {
11918
+ }).text, j = w ? "--" : Jm(n, { locale: f }).text, M = w ? void 0 : i || void 0, N = w ? y.unknown : A, P = `${g ?? e}: ${N}`, F = Array.isArray(a), I = C ? ph(a, r) : void 0, L = u === void 0 ? 0 : Math.max(0, Math.floor(u)), ee = Math.round(T * L), R = m || E ? /* @__PURE__ */ S("div", {
11895
11919
  className: "eidotter-meter__readout flex items-center gap-1 leading-none",
11896
11920
  children: [m && /* @__PURE__ */ S("span", {
11897
11921
  className: "eidotter-meter__value text-dos-text-accent tabular-nums text-center",
@@ -11915,7 +11939,7 @@ var ch = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, optimal:
11915
11939
  children: Array.from({ length: L }, (e, t) => /* @__PURE__ */ x("span", { className: $("eidotter-meter__segment", t < ee && `eidotter-meter__segment--filled ${k}`) }, t))
11916
11940
  }) : /* @__PURE__ */ x("div", {
11917
11941
  className: $("eidotter-meter__fill", k),
11918
- style: { "--eidotter-meter-fill": String(ah(T)) }
11942
+ style: { "--eidotter-meter-fill": String(dh(T)) }
11919
11943
  }), I && /* @__PURE__ */ x("div", {
11920
11944
  "aria-hidden": "true",
11921
11945
  className: $("eidotter-meter__optimal", F && "eidotter-meter__optimal--range"),
@@ -11948,7 +11972,7 @@ var ch = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, optimal:
11948
11972
  });
11949
11973
  return /* @__PURE__ */ x("div", {
11950
11974
  ref: v,
11951
- className: $("eidotter-meter eidotter-health flex font-dos", eh[o] ?? eh.vertical, th[s] ?? th.sm, nh[O], h),
11975
+ className: $("eidotter-meter eidotter-health flex font-dos", oh[o] ?? oh.vertical, sh[s] ?? sh.sm, ch[O], h),
11952
11976
  "data-has-short": t ? "true" : "false",
11953
11977
  role: "meter",
11954
11978
  "aria-valuemin": 0,
@@ -11968,20 +11992,20 @@ var ch = i(({ label: e, shortLabel: t, value: n, max: r = 100, unit: i, optimal:
11968
11992
  ] })
11969
11993
  });
11970
11994
  });
11971
- ch.displayName = "Meter";
11995
+ mh.displayName = "Meter";
11972
11996
  //#endregion
11973
11997
  //#region src/components/EmptyState/components/EmptyState.tsx
11974
- var lh = {
11998
+ var hh = {
11975
11999
  default: "text-dos-text-primary",
11976
12000
  error: "text-dos-error",
11977
12001
  warning: "text-dos-warning",
11978
12002
  info: "text-dos-info"
11979
- }, uh = ({ title: e, description: t, tone: n = "default", action: r, className: i }) => /* @__PURE__ */ S("div", {
12003
+ }, gh = ({ title: e, description: t, tone: n = "default", action: r, className: i }) => /* @__PURE__ */ S("div", {
11980
12004
  className: $("eidotter-empty-state", "flex flex-col gap-2 py-6 text-center", i),
11981
12005
  role: "status",
11982
12006
  children: [
11983
12007
  /* @__PURE__ */ x("p", {
11984
- className: $("font-dos text-dos-text-sm", lh[n]),
12008
+ className: $("font-dos text-dos-text-sm", hh[n]),
11985
12009
  children: e
11986
12010
  }),
11987
12011
  t && /* @__PURE__ */ x("p", {
@@ -11994,108 +12018,108 @@ var lh = {
11994
12018
  })
11995
12019
  ]
11996
12020
  });
11997
- uh.displayName = "EmptyState";
12021
+ gh.displayName = "EmptyState";
11998
12022
  //#endregion
11999
12023
  //#region src/components/Meter/components/MeterGroup.tsx
12000
- var dh = {
12024
+ var _h = {
12001
12025
  row: "eidotter-meter-group--row",
12002
12026
  grid: "eidotter-meter-group--grid"
12003
- }, fh = i(({ layout: t = "row", columns: n, sharedMax: r = !1, items: i, children: a, labels: o, className: s, ...c }, l) => {
12027
+ }, vh = i(({ layout: t = "row", columns: n, sharedMax: r = !1, items: i, children: a, labels: o, className: s, ...c }, l) => {
12004
12028
  let u = e.Children.count(a) > 0;
12005
- if ((!i || i.length === 0) && !u) return /* @__PURE__ */ x(uh, {
12006
- title: Fm(o).unknown,
12029
+ if ((!i || i.length === 0) && !u) return /* @__PURE__ */ x(gh, {
12030
+ title: Vm(o).unknown,
12007
12031
  className: s
12008
12032
  });
12009
12033
  let d = r && i ? Math.max(...i.map((e) => e.max ?? 100)) : void 0, f = t === "grid" && n !== void 0;
12010
12034
  return /* @__PURE__ */ x("div", {
12011
12035
  ref: l,
12012
12036
  role: "group",
12013
- className: $("eidotter-meter-group", dh[t] ?? dh.row, f && "eidotter-meter-group--columns", s),
12037
+ className: $("eidotter-meter-group", _h[t] ?? _h.row, f && "eidotter-meter-group--columns", s),
12014
12038
  style: f ? { "--eidotter-meter-columns": String(n) } : void 0,
12015
12039
  ...c,
12016
12040
  children: /* @__PURE__ */ x("div", {
12017
12041
  className: "eidotter-meter-group__layout",
12018
- children: i ? i.map((e, t) => /* @__PURE__ */ x(ch, {
12042
+ children: i ? i.map((e, t) => /* @__PURE__ */ x(mh, {
12019
12043
  ...e,
12020
12044
  ...d !== void 0 && { max: d }
12021
12045
  }, `${e.label}-${t}`)) : a
12022
12046
  })
12023
12047
  });
12024
12048
  });
12025
- fh.displayName = "MeterGroup";
12049
+ vh.displayName = "MeterGroup";
12026
12050
  //#endregion
12027
12051
  //#region src/components/RangeBar/components/RangeBar.tsx
12028
- var ph = {
12052
+ var yh = {
12029
12053
  vertical: "eidotter-range-bar--vertical",
12030
12054
  horizontal: "eidotter-range-bar--horizontal"
12031
- }, mh = {
12055
+ }, bh = {
12032
12056
  sm: "eidotter-range-bar--sm text-dos-text-xs",
12033
12057
  md: "eidotter-range-bar--md text-dos-text-sm",
12034
12058
  lg: "eidotter-range-bar--lg text-dos-text-md"
12035
- }, hh = {
12059
+ }, xh = {
12036
12060
  "vertical-sm": "w-[1rem] h-[8rem]",
12037
12061
  "vertical-md": "w-[1.5rem] h-[12rem]",
12038
12062
  "vertical-lg": "w-[2rem] h-[16rem]",
12039
12063
  "horizontal-sm": "h-[1rem] w-full",
12040
12064
  "horizontal-md": "h-[1.5rem] w-full",
12041
12065
  "horizontal-lg": "h-[2rem] w-full"
12042
- }, gh = {
12066
+ }, Sh = {
12043
12067
  neutral: "eidotter-tone--neutral",
12044
12068
  info: "eidotter-tone--info",
12045
12069
  success: "eidotter-tone--success",
12046
12070
  warning: "eidotter-tone--warning",
12047
12071
  critical: "eidotter-tone--critical"
12048
- }, _h = "var(--color-semantic-text-muted)", vh = "__eidotter-other", yh = {
12072
+ }, Ch = "var(--color-semantic-text-muted)", wh = "__eidotter-other", Th = {
12049
12073
  neutral: "none",
12050
12074
  info: "solid",
12051
12075
  success: "dither",
12052
12076
  warning: "hatch",
12053
12077
  critical: "dotted"
12054
- }, bh = {
12078
+ }, Eh = {
12055
12079
  none: "eidotter-fill--none",
12056
12080
  solid: "eidotter-fill--solid",
12057
12081
  dither: "eidotter-fill--dither",
12058
12082
  hatch: "eidotter-fill--hatch",
12059
12083
  dotted: "eidotter-fill--dotted"
12060
- }, xh = (e, t) => {
12061
- let n = gh[e.tone] ? e.tone : "neutral", r = e.pattern ?? yh[n];
12084
+ }, Dh = (e, t) => {
12085
+ let n = Sh[e.tone] ? e.tone : "neutral", r = e.pattern ?? Th[n];
12062
12086
  return {
12063
12087
  ...e,
12064
12088
  weight: t,
12065
12089
  toneKey: n,
12066
- patternClass: bh[r] ?? bh.solid
12090
+ patternClass: Eh[r] ?? Eh.solid
12067
12091
  };
12068
- }, Sh = (e) => Math.round(e * 1e6) / 1e6, Ch = i(({ segments: e, orientation: t = "vertical", size: n = "md", showLegend: r = !0, target: i, minSegmentShare: a = .6, labelThreshold: o = 8, locale: s = "en", labels: c, className: l, ...u }, d) => {
12069
- let f = Fm(c), p = e.map((e) => Number.isFinite(e.share) && e.share > 0 ? e.share : 0), m = Sh(p.reduce((e, t) => e + t, 0)), h = e.map((e, t) => xh(e, Sh(m > 100 ? p[t] / m * 100 : p[t])));
12070
- m < 100 && !e.some((e) => e.id === vh) && h.push(xh({
12071
- id: vh,
12092
+ }, Oh = (e) => Math.round(e * 1e6) / 1e6, kh = i(({ segments: e, orientation: t = "vertical", size: n = "md", showLegend: r = !0, target: i, minSegmentShare: a = .6, labelThreshold: o = 8, locale: s = "en", labels: c, className: l, ...u }, d) => {
12093
+ let f = Vm(c), p = e.map((e) => Number.isFinite(e.share) && e.share > 0 ? e.share : 0), m = Oh(p.reduce((e, t) => e + t, 0)), h = e.map((e, t) => Dh(e, Oh(m > 100 ? p[t] / m * 100 : p[t])));
12094
+ m < 100 && !e.some((e) => e.id === wh) && h.push(Dh({
12095
+ id: wh,
12072
12096
  label: f.other,
12073
12097
  share: 0,
12074
12098
  tone: "neutral"
12075
- }, Sh(100 - m)));
12076
- let g = (e) => Hm(e, {
12099
+ }, Oh(100 - m)));
12100
+ let g = (e) => Jm(e, {
12077
12101
  locale: s,
12078
12102
  percent: !0
12079
12103
  }).text, _ = h.map((e) => `${e.label} ${g(e.weight)}`).join(", ");
12080
12104
  return /* @__PURE__ */ S("div", {
12081
12105
  ref: d,
12082
- className: $("eidotter-range-bar eidotter-health flex gap-3 font-dos", t === "horizontal" ? "flex-col" : "flex-row items-start", ph[t] ?? ph.vertical, mh[n] ?? mh.md, l),
12106
+ className: $("eidotter-range-bar eidotter-health flex gap-3 font-dos", t === "horizontal" ? "flex-col" : "flex-row flex-wrap items-start", yh[t] ?? yh.vertical, bh[n] ?? bh.md, l),
12083
12107
  ...u,
12084
12108
  children: [/* @__PURE__ */ S("div", {
12085
12109
  className: $("eidotter-range-bar__track flex gap-1", t === "horizontal" ? "flex-col w-full" : "flex-row"),
12086
12110
  children: [/* @__PURE__ */ x("div", {
12087
12111
  role: "img",
12088
12112
  "aria-label": _,
12089
- className: $("eidotter-range-bar__bar flex shrink-0", t === "horizontal" ? "flex-row" : "flex-col", hh[`${t}-${n}`] ?? hh["vertical-md"]),
12113
+ className: $("eidotter-range-bar__bar flex shrink-0", t === "horizontal" ? "flex-row" : "flex-col", xh[`${t}-${n}`] ?? xh["vertical-md"]),
12090
12114
  children: h.map((e) => {
12091
12115
  let n = i?.segmentId === e.id;
12092
12116
  return /* @__PURE__ */ x("div", {
12093
12117
  "data-segment-id": e.id,
12094
- className: $("eidotter-range-bar__seg relative", gh[e.toneKey], e.patternClass),
12118
+ className: $("eidotter-range-bar__seg relative", Sh[e.toneKey], e.patternClass),
12095
12119
  style: {
12096
12120
  flexGrow: Math.max(e.weight, a),
12097
12121
  flexBasis: 0,
12098
- ...e.toneKey === "neutral" && { "--eidotter-fill": _h }
12122
+ ...e.toneKey === "neutral" && { "--eidotter-fill": Ch }
12099
12123
  },
12100
12124
  children: n && i && /* @__PURE__ */ x("span", {
12101
12125
  "aria-hidden": "true",
@@ -12108,37 +12132,40 @@ var ph = {
12108
12132
  "aria-hidden": "true",
12109
12133
  className: $("eidotter-range-bar__lane flex tabular-nums text-dos-text-accent", t === "horizontal" ? "flex-row w-full" : "flex-col"),
12110
12134
  children: h.map((e) => /* @__PURE__ */ S("div", {
12111
- className: $("eidotter-range-bar__cell flex items-center justify-center gap-1 min-w-0", t === "horizontal" ? "flex-col" : "flex-row justify-start"),
12135
+ className: $("eidotter-range-bar__cell flex items-center justify-center gap-x-2 gap-y-1 min-w-0", t === "horizontal" ? "flex-col" : "flex-row justify-start"),
12112
12136
  style: {
12113
12137
  flexGrow: Math.max(e.weight, a),
12114
12138
  flexBasis: 0
12115
12139
  },
12116
- children: [e.weight >= o && /* @__PURE__ */ x("span", {
12117
- className: "eidotter-range-bar__pct",
12118
- children: g(e.weight)
12119
- }), i?.segmentId === e.id && /* @__PURE__ */ x("span", {
12120
- className: "eidotter-range-bar__target-label text-dos-text-brand whitespace-nowrap",
12121
- children: i.label
12122
- })]
12140
+ children: [
12141
+ e.weight >= o && /* @__PURE__ */ x("span", {
12142
+ className: "eidotter-range-bar__pct",
12143
+ children: g(e.weight)
12144
+ }),
12145
+ e.weight >= o && i?.segmentId === e.id && " ",
12146
+ i?.segmentId === e.id && /* @__PURE__ */ x("span", {
12147
+ className: "eidotter-range-bar__target-label text-dos-text-brand whitespace-nowrap",
12148
+ children: i.label
12149
+ })
12150
+ ]
12123
12151
  }, e.id))
12124
12152
  })]
12125
12153
  }), r && /* @__PURE__ */ x("ul", {
12126
- className: "eidotter-range-bar__legend flex flex-col gap-1 list-none p-0 m-0 min-w-0",
12154
+ className: "eidotter-range-bar__legend flex flex-col gap-1 list-none p-0 m-0 min-w-0 max-w-full",
12127
12155
  children: h.map((e) => /* @__PURE__ */ S("li", {
12128
- className: "eidotter-range-bar__row grid grid-cols-[auto_1fr_auto_auto] items-center gap-2",
12156
+ className: "eidotter-range-bar__row grid grid-cols-[auto_minmax(0,1fr)_auto_auto] items-baseline gap-2",
12129
12157
  children: [
12130
12158
  /* @__PURE__ */ x("span", {
12131
12159
  "aria-hidden": "true",
12132
- className: $("eidotter-range-bar__swatch inline-block w-[0.75rem] h-[0.75rem]", gh[e.toneKey], e.patternClass),
12133
- style: { ...e.toneKey === "neutral" && { "--eidotter-fill": _h } }
12160
+ className: $("eidotter-range-bar__swatch inline-block w-[0.75rem] h-[0.75rem]", Sh[e.toneKey], e.patternClass),
12161
+ style: { ...e.toneKey === "neutral" && { "--eidotter-fill": Ch } }
12134
12162
  }),
12135
12163
  /* @__PURE__ */ S("span", {
12136
- className: "text-dos-text-primary truncate",
12137
- title: e.label,
12138
- children: [e.label, e.bound && /* @__PURE__ */ S("span", {
12139
- className: "text-dos-text-muted",
12140
- children: [" ", e.bound]
12141
- })]
12164
+ className: "eidotter-range-bar__name text-dos-text-primary min-w-0 break-words",
12165
+ children: [e.label, e.bound && /* @__PURE__ */ S(b, { children: [" ", /* @__PURE__ */ x("span", {
12166
+ className: "eidotter-range-bar__bound text-dos-text-muted whitespace-nowrap",
12167
+ children: e.bound
12168
+ })] })]
12142
12169
  }),
12143
12170
  /* @__PURE__ */ x("span", {
12144
12171
  className: "text-dos-text-accent tabular-nums",
@@ -12153,63 +12180,69 @@ var ph = {
12153
12180
  })]
12154
12181
  });
12155
12182
  });
12156
- Ch.displayName = "RangeBar";
12183
+ kh.displayName = "RangeBar";
12157
12184
  //#endregion
12158
12185
  //#region src/components/SeriesBars/components/SeriesBars.tsx
12159
- var wh = {
12186
+ var Ah = {
12160
12187
  sm: "eidotter-series-bars--sm text-dos-text-xs",
12161
12188
  md: "eidotter-series-bars--md text-dos-text-sm",
12162
12189
  lg: "eidotter-series-bars--lg text-dos-text-md"
12163
- }, Th = {
12190
+ }, jh = {
12164
12191
  sm: "h-[6rem]",
12165
12192
  md: "h-[10rem]",
12166
12193
  lg: "h-[14rem]"
12167
- }, Eh = {
12194
+ }, Mh = {
12168
12195
  neutral: "eidotter-tone--neutral",
12169
12196
  info: "eidotter-tone--info",
12170
12197
  success: "eidotter-tone--success",
12171
12198
  warning: "eidotter-tone--warning",
12172
12199
  critical: "eidotter-tone--critical"
12173
- }, Dh = "var(--color-semantic-text-muted)", Oh = {
12200
+ }, Nh = "var(--color-semantic-text-muted)", Ph = {
12174
12201
  neutral: "eidotter-fill--none",
12175
12202
  info: "eidotter-fill--solid",
12176
12203
  success: "eidotter-fill--dither",
12177
12204
  warning: "eidotter-fill--hatch",
12178
12205
  critical: "eidotter-fill--dotted"
12179
- }, kh = i(({ points: e, max: t, goal: n, goalLabel: r, toneFor: i, tickEvery: a = 1, size: o = "md", locale: s = "en", labels: c, className: l, ...u }, d) => {
12180
- let f = Fm(c), p = e.map((e) => e.value).filter(Rm), m = t ?? Math.max(...p, n ?? 0, 0), h = m > 0 ? m : 1, g = i ?? (n === void 0 ? [] : [{
12206
+ }, Fh = i(({ points: e, max: t, goal: n, goalLabel: r, toneFor: i, tickEvery: a = 1, size: o = "md", locale: s = "en", unit: c, format: l, labels: u, className: d, ...f }, p) => {
12207
+ let m = Vm(u), h = e.map((e) => e.value).filter(Wm), g = t ?? Math.max(...h, n ?? 0, 0), _ = g > 0 ? g : 1, v = i ?? (n === void 0 ? [] : [{
12181
12208
  from: n,
12182
12209
  tone: "success"
12183
- }]), _ = (e) => g.filter((t) => e >= t.from).reduce((e, t) => !e || t.from > e.from ? t : e, void 0)?.tone ?? "neutral", v = n !== void 0 && !!r, y = (e) => Rm(e) ? Hm(e, { locale: s }).text : f.unknown, b = [...e.map((e) => `${e.label} ${y(e.value)}`), ...n === void 0 ? [] : [`${r ?? ""} ${y(n)}`.trim()]].join(", ");
12210
+ }]), y = (e) => v.filter((t) => e >= t.from).reduce((e, t) => !e || t.from > e.from ? t : e, void 0)?.tone ?? "neutral", b = n !== void 0 && !!r, C = (e) => Wm(e) ? Jm(e, {
12211
+ digits: l?.digits,
12212
+ percent: l?.percent,
12213
+ signed: l?.signed,
12214
+ locale: s,
12215
+ unit: c
12216
+ }).text : m.unknown, w = n === void 0 ? "" : C(n), T = (e) => ` ${e.replace(/\s+/g, " ")} `, E = r && T(r).includes(T(w)) ? r : `${r ?? ""} ${w}`.trim(), D = [...e.map((e) => `${e.label} ${C(e.value)}`), ...n === void 0 ? [] : [E]].join(", "), O = Math.max(a, 1), k = e.length - 1;
12184
12217
  return /* @__PURE__ */ S("div", {
12185
- ref: d,
12186
- className: $("eidotter-series-bars eidotter-health relative font-dos", wh[o] ?? wh.md, l),
12187
- ...u,
12218
+ ref: p,
12219
+ className: $("eidotter-series-bars eidotter-health relative font-dos", Ah[o] ?? Ah.md, d),
12220
+ ...f,
12188
12221
  children: [/* @__PURE__ */ S("div", {
12189
12222
  role: "img",
12190
- "aria-label": b,
12223
+ "aria-label": D,
12191
12224
  children: [/* @__PURE__ */ S("div", {
12192
- className: $("eidotter-series-bars__frame relative", v && "eidotter-series-bars__frame--goal-band"),
12193
- children: [v && /* @__PURE__ */ x("span", {
12225
+ className: $("eidotter-series-bars__frame relative", b && "eidotter-series-bars__frame--goal-band"),
12226
+ children: [b && /* @__PURE__ */ x("span", {
12194
12227
  className: "eidotter-series-bars__goal-tag text-dos-text-brand",
12195
12228
  children: r
12196
12229
  }), /* @__PURE__ */ S("div", {
12197
- className: $("eidotter-series-bars__plot relative", Th[o] ?? Th.md),
12230
+ className: $("eidotter-series-bars__plot relative", jh[o] ?? jh.md),
12198
12231
  children: [n !== void 0 && /* @__PURE__ */ x("div", {
12199
12232
  className: "eidotter-series-bars__goal absolute inset-x-0",
12200
- style: { bottom: `${Math.min(n, h) / h * 100}%` }
12233
+ style: { bottom: `${Math.min(n, _) / _ * 100}%` }
12201
12234
  }), /* @__PURE__ */ x("div", {
12202
12235
  className: "eidotter-series-bars__cols flex items-end gap-1 h-full",
12203
12236
  children: e.map((e, t) => {
12204
- let n = e.value, r = Rm(n) ? _(n) : "neutral";
12237
+ let n = e.value, r = Wm(n) ? y(n) : "neutral";
12205
12238
  return /* @__PURE__ */ x("div", {
12206
12239
  className: "eidotter-series-bars__col flex flex-col justify-end flex-1 min-w-0 h-full",
12207
- title: `${e.label}: ${y(n)}`,
12208
- children: Rm(n) ? /* @__PURE__ */ x("div", {
12209
- className: $("eidotter-series-bars__bar w-full", Eh[r], Oh[r]),
12240
+ title: `${e.label}: ${C(n)}`,
12241
+ children: Wm(n) ? /* @__PURE__ */ x("div", {
12242
+ className: $("eidotter-series-bars__bar w-full", Mh[r], Ph[r]),
12210
12243
  style: {
12211
- height: `${Math.min(Math.max(n, 0), h) / h * 100}%`,
12212
- ...r === "neutral" && { "--eidotter-fill": Dh }
12244
+ height: `${Math.min(Math.max(n, 0), _) / _ * 100}%`,
12245
+ ...r === "neutral" && { "--eidotter-fill": Nh }
12213
12246
  }
12214
12247
  }) : /* @__PURE__ */ x("span", {
12215
12248
  className: "eidotter-series-bars__gap text-dos-text-muted text-center",
@@ -12221,10 +12254,13 @@ var wh = {
12221
12254
  })]
12222
12255
  }), /* @__PURE__ */ x("div", {
12223
12256
  "aria-hidden": "true",
12224
- className: "flex gap-1 text-dos-text-muted",
12257
+ className: "eidotter-series-bars__ticks flex gap-1 text-dos-text-muted",
12225
12258
  children: e.map((e, t) => /* @__PURE__ */ x("span", {
12226
- className: "eidotter-series-bars__tick flex-1 min-w-0 truncate text-center tabular-nums",
12227
- children: t % Math.max(a, 1) === 0 ? e.label : ""
12259
+ className: $("eidotter-series-bars__tick-cell flex flex-1 min-w-0", t === 0 ? "justify-start" : t === k ? "justify-end" : "justify-center"),
12260
+ children: t % O === 0 && /* @__PURE__ */ x("span", {
12261
+ className: $("eidotter-series-bars__tick whitespace-nowrap tabular-nums", O === 1 && "min-w-0 truncate"),
12262
+ children: e.label
12263
+ })
12228
12264
  }, t))
12229
12265
  })]
12230
12266
  }), /* @__PURE__ */ x("table", {
@@ -12232,47 +12268,47 @@ var wh = {
12232
12268
  children: /* @__PURE__ */ S("tbody", { children: [e.map((e, t) => /* @__PURE__ */ S("tr", { children: [/* @__PURE__ */ x("th", {
12233
12269
  scope: "row",
12234
12270
  children: e.label
12235
- }), /* @__PURE__ */ x("td", { children: y(e.value) })] }, t)), n !== void 0 && /* @__PURE__ */ S("tr", { children: [/* @__PURE__ */ x("th", {
12271
+ }), /* @__PURE__ */ x("td", { children: C(e.value) })] }, t)), n !== void 0 && /* @__PURE__ */ S("tr", { children: [/* @__PURE__ */ x("th", {
12236
12272
  scope: "row",
12237
12273
  children: r
12238
- }), /* @__PURE__ */ x("td", { children: y(n) })] })] })
12274
+ }), /* @__PURE__ */ x("td", { children: C(n) })] })] })
12239
12275
  })]
12240
12276
  });
12241
12277
  });
12242
- kh.displayName = "SeriesBars";
12278
+ Fh.displayName = "SeriesBars";
12243
12279
  //#endregion
12244
12280
  //#region src/components/VitalsStrip/components/VitalsStrip.tsx
12245
- var Ah = {
12281
+ var Ih = {
12246
12282
  sm: "eidotter-vitals-strip--sm gap-1 text-dos-text-xs",
12247
12283
  md: "eidotter-vitals-strip--md gap-2 text-dos-text-sm",
12248
12284
  lg: "eidotter-vitals-strip--lg gap-2 text-dos-text-md"
12249
- }, jh = {
12285
+ }, Lh = {
12250
12286
  neutral: "eidotter-tone--neutral",
12251
12287
  info: "eidotter-tone--info",
12252
12288
  success: "eidotter-tone--success",
12253
12289
  warning: "eidotter-tone--warning",
12254
12290
  critical: "eidotter-tone--critical"
12255
- }, Mh = {
12291
+ }, Rh = {
12256
12292
  ok: "",
12257
12293
  loading: "eidotter-vitals-strip__tile--loading",
12258
12294
  empty: "eidotter-vitals-strip__tile--empty",
12259
12295
  stale: "eidotter-vitals-strip__tile--stale",
12260
12296
  unknown: "eidotter-vitals-strip__tile--unknown"
12261
12297
  };
12262
- function Nh(e, t) {
12298
+ function zh(e, t) {
12263
12299
  return e.loading ? t.unknown : e.offline ? t.offline : e.unknown ? t.unknown : null;
12264
12300
  }
12265
- var Ph = i(({ tiles: e, size: t = "md", locale: n = "en", labels: r, className: i, ...a }, o) => {
12266
- let s = Fm(r);
12301
+ var Bh = i(({ tiles: e, size: t = "md", locale: n = "en", labels: r, className: i, ...a }, o) => {
12302
+ let s = Vm(r);
12267
12303
  return /* @__PURE__ */ x("div", {
12268
12304
  ref: o,
12269
- className: $("eidotter-vitals-strip eidotter-health flex flex-wrap w-full font-dos", Ah[t] ?? Ah.md, i),
12305
+ className: $("eidotter-vitals-strip eidotter-health flex flex-wrap w-full font-dos", Ih[t] ?? Ih.md, i),
12270
12306
  ...a,
12271
12307
  children: e.map((e) => {
12272
- let t = e.status ?? "ok", r = t === "loading", i = e.pair ? e.pair[0] : e.value, a = e.pair ? Rm(e.pair[0]) && Rm(e.pair[1]) : Rm(e.value), o = t === "empty" || t === "ok" && !e.pair && e.value === null, c = o || t === "unknown" || !a, l = t === "stale" && !c, u = Gm(c ? null : i, e.bands, e.unit), d = e.tone ?? u.tone, f = c ? null : e.pair ? Hm(e.pair[0], {
12308
+ let t = e.status ?? "ok", r = t === "loading", i = e.pair ? e.pair[0] : e.value, a = e.pair ? Wm(e.pair[0]) && Wm(e.pair[1]) : Wm(e.value), o = t === "empty" || t === "ok" && !e.pair && e.value === null, c = o || t === "unknown" || !a, l = t === "stale" && !c, u = Zm(c ? null : i, e.bands, e.unit), d = e.tone ?? u.tone, f = c ? null : e.pair ? Jm(e.pair[0], {
12273
12309
  locale: n,
12274
12310
  max: e.pair[1]
12275
- }).text : Hm(e.value, { locale: n }).text, p = Nh({
12311
+ }).text : Jm(e.value, { locale: n }).text, p = zh({
12276
12312
  loading: r,
12277
12313
  offline: o,
12278
12314
  unknown: c
@@ -12281,7 +12317,7 @@ var Ph = i(({ tiles: e, size: t = "md", locale: n = "en", labels: r, className:
12281
12317
  role: "group",
12282
12318
  "aria-label": [`${e.label}: ${p ?? [f, e.unit].filter(Boolean).join(" ")}`, l && s.stale].filter(Boolean).join(", "),
12283
12319
  "aria-busy": r || void 0,
12284
- className: $("eidotter-vitals-strip__tile flex flex-col gap-0.5 border border-dos-border-default p-2", jh[d], Mh[t], d === "critical" && "eidotter-vitals-strip__marker border-l-4 border-dos-border-error"),
12320
+ className: $("eidotter-vitals-strip__tile flex flex-col gap-0.5 border border-dos-border-default p-2", Lh[d], Rh[t], d === "critical" && "eidotter-vitals-strip__marker border-l-4 border-dos-border-error"),
12285
12321
  children: [
12286
12322
  /* @__PURE__ */ S("span", {
12287
12323
  className: "flex items-center gap-1 text-dos-text-brand uppercase tracking-wider leading-tight",
@@ -12298,7 +12334,7 @@ var Ph = i(({ tiles: e, size: t = "md", locale: n = "en", labels: r, className:
12298
12334
  r ? /* @__PURE__ */ x("div", {
12299
12335
  "aria-hidden": "true",
12300
12336
  className: "w-full overflow-hidden",
12301
- children: /* @__PURE__ */ x(Nm, {
12337
+ children: /* @__PURE__ */ x(zm, {
12302
12338
  variant: "figure",
12303
12339
  lines: 1,
12304
12340
  animated: !1
@@ -12336,20 +12372,20 @@ var Ph = i(({ tiles: e, size: t = "md", locale: n = "en", labels: r, className:
12336
12372
  })
12337
12373
  });
12338
12374
  });
12339
- Ph.displayName = "VitalsStrip";
12375
+ Bh.displayName = "VitalsStrip";
12340
12376
  //#endregion
12341
12377
  //#region src/components/DecayStrip/components/resample.ts
12342
- function Fh(e) {
12378
+ function Vh(e) {
12343
12379
  return typeof e == "number" ? e : Date.parse(e);
12344
12380
  }
12345
- function Ih(e) {
12381
+ function Hh(e) {
12346
12382
  return e.map((e) => ({
12347
- t: Fh(e.t),
12383
+ t: Vh(e.t),
12348
12384
  v: e.remaining
12349
12385
  })).filter((e) => Number.isFinite(e.t) && Number.isFinite(e.v)).sort((e, t) => e.t - t.t);
12350
12386
  }
12351
- function Lh(e, t, n) {
12352
- let r = Fh(t.from), i = Fh(t.to), a = (i - r) / n, o = Ih(e), s = [], c = 0, l = null;
12387
+ function Uh(e, t, n) {
12388
+ let r = Vh(t.from), i = Vh(t.to), a = (i - r) / n, o = Hh(e), s = [], c = 0, l = null;
12353
12389
  for (let e = 0; e < n; e++) {
12354
12390
  let t = r + e * a, u = e === n - 1 ? i : r + (e + 1) * a, d = e === n - 1;
12355
12391
  for (; c < o.length && o[c].t < t;) l = o[c++].v;
@@ -12365,27 +12401,27 @@ function Lh(e, t, n) {
12365
12401
  }
12366
12402
  //#endregion
12367
12403
  //#region src/components/DecayStrip/components/DecayStrip.tsx
12368
- var Rh = {
12404
+ var Wh = {
12369
12405
  sm: "eidotter-decay-strip--sm text-dos-text-xs",
12370
12406
  md: "eidotter-decay-strip--md text-dos-text-sm",
12371
12407
  lg: "eidotter-decay-strip--lg text-dos-text-md"
12372
- }, zh = {
12408
+ }, Gh = {
12373
12409
  neutral: "eidotter-tone--neutral",
12374
12410
  info: "eidotter-tone--info",
12375
12411
  success: "eidotter-tone--success",
12376
12412
  warning: "eidotter-tone--warning",
12377
12413
  critical: "eidotter-tone--critical"
12378
- }, Bh = [
12414
+ }, Kh = [
12379
12415
  "░",
12380
12416
  "▒",
12381
12417
  "▓",
12382
12418
  "█"
12383
- ], Vh = "│", Hh = "·";
12384
- function Uh(e) {
12385
- return e === null ? Hh : Bh[Math.round(Math.min(1, Math.max(0, e)) * (Bh.length - 1))];
12419
+ ], qh = "│", Jh = "·";
12420
+ function Yh(e) {
12421
+ return e === null ? Jh : Kh[Math.round(Math.min(1, Math.max(0, e)) * (Kh.length - 1))];
12386
12422
  }
12387
- function Wh(e, t, n) {
12388
- let r = Ih(e), i = -1;
12423
+ function Xh(e, t, n) {
12424
+ let r = Hh(e), i = -1;
12389
12425
  r.forEach((e, t) => {
12390
12426
  e.v > 0 && (i = t);
12391
12427
  });
@@ -12394,29 +12430,29 @@ function Wh(e, t, n) {
12394
12430
  let o = (a.t - t) / 6e4, s = new Intl.RelativeTimeFormat(n, { numeric: "always" });
12395
12431
  return o < 60 ? s.format(Math.round(o), "minute") : s.format(Math.round(o / 6) / 10, "hour");
12396
12432
  }
12397
- var Gh = i(({ items: e, samples: t, now: n, window: r, provenance: i, size: a = "md", tone: o = "neutral", columns: s = 24, locale: c = "en", timeZone: l, labels: u, announce: d = !1, className: f, ...p }, m) => {
12398
- let h = Fm(u), g = Fh(n), _ = Lh(t, r, s), v = new Intl.DateTimeFormat(c, {
12433
+ var Zh = i(({ items: e, samples: t, now: n, window: r, provenance: i, size: a = "md", tone: o = "neutral", columns: s = 24, locale: c = "en", timeZone: l, labels: u, announce: d = !1, className: f, ...p }, m) => {
12434
+ let h = Vm(u), g = Vh(n), _ = Uh(t, r, s), v = new Intl.DateTimeFormat(c, {
12399
12435
  timeStyle: "short",
12400
12436
  ...l && { timeZone: l }
12401
- }), y = (e) => Number.isFinite(e) ? v.format(e) : "--", C = y(Fh(r.from)), w = y(Fh(r.to)), T = (e) => Im(h, e), E = Hm(0, {
12437
+ }), y = (e) => Number.isFinite(e) ? v.format(e) : "--", C = y(Vh(r.from)), w = y(Vh(r.to)), T = (e) => Hm(h, e), E = Jm(0, {
12402
12438
  locale: c,
12403
12439
  percent: !0
12404
12440
  }).text, D = e.map((e) => {
12405
- let t = Hm(e.amount, {
12441
+ let t = Jm(e.amount, {
12406
12442
  locale: c,
12407
12443
  unit: e.unit
12408
- }).text, n = Rm(e.remainingShare) ? e.remainingShare : null;
12444
+ }).text, n = Wm(e.remainingShare) ? e.remainingShare : null;
12409
12445
  return {
12410
12446
  item: e,
12411
12447
  amountText: t,
12412
12448
  share: n,
12413
- shareText: n === null ? h.unknown : `${Hm(n * 100, {
12449
+ shareText: n === null ? h.unknown : `${Jm(n * 100, {
12414
12450
  locale: c,
12415
12451
  percent: !0
12416
12452
  }).text} ${h.remaining}`,
12417
12453
  tagText: T(e.provenance)
12418
12454
  };
12419
- }), O = Wh(t, g, c), k = T(i), A = [
12455
+ }), O = Xh(t, g, c), k = T(i), A = [
12420
12456
  ...D.map((e) => `${e.item.label} ${e.amountText}: ${e.shareText}${e.tagText ? `, ${e.tagText}` : ""}`),
12421
12457
  `${C}–${w}`,
12422
12458
  Number.isFinite(g) && `${h.now} ${v.format(g)}`,
@@ -12425,10 +12461,10 @@ var Gh = i(({ items: e, samples: t, now: n, window: r, provenance: i, size: a =
12425
12461
  ].filter(Boolean).join("; "), j = a === "sm";
12426
12462
  return /* @__PURE__ */ S("div", {
12427
12463
  ref: m,
12428
- className: [$("eidotter-decay-strip eidotter-health flex flex-col gap-2 w-full min-w-0 font-dos text-dos-text-brand", zh[o], f), Rh[a] ?? Rh.md].join(" "),
12464
+ className: $("eidotter-decay-strip eidotter-health flex flex-col gap-2 w-full min-w-0 font-dos text-dos-text-brand", Gh[o], Wh[a] ?? Wh.md, f),
12429
12465
  ...p,
12430
12466
  children: [
12431
- e.length === 0 ? /* @__PURE__ */ x(uh, {
12467
+ e.length === 0 ? /* @__PURE__ */ x(gh, {
12432
12468
  title: `${E} ${h.remaining}`,
12433
12469
  className: "py-2"
12434
12470
  }) : /* @__PURE__ */ x("ul", {
@@ -12447,7 +12483,7 @@ var Gh = i(({ items: e, samples: t, now: n, window: r, provenance: i, size: a =
12447
12483
  className: "eidotter-decay-strip__item-provenance border border-dos-border-brand px-1",
12448
12484
  children: e.tagText
12449
12485
  })
12450
- ] }) : /* @__PURE__ */ x($m, {
12486
+ ] }) : /* @__PURE__ */ x(ah, {
12451
12487
  label: e.item.label,
12452
12488
  value: e.share === null ? null : e.share * 100,
12453
12489
  secondary: e.item.amount === null ? void 0 : e.amountText,
@@ -12475,7 +12511,7 @@ var Gh = i(({ items: e, samples: t, now: n, window: r, provenance: i, size: a =
12475
12511
  let n = t === _.length - 1, r = g >= e.start && (g < e.end || n && g === e.end), i = !r && g < e.start && g >= _[0].start;
12476
12512
  return /* @__PURE__ */ x("span", {
12477
12513
  className: $("eidotter-decay-strip__cell", `eidotter-decay-strip__cell--${r ? "now" : i ? "future" : "past"}`, i && "opacity-50", r && "text-dos-text-accent", r && d && "eidotter-health-pulse"),
12478
- children: r ? Vh : Uh(e.value)
12514
+ children: r ? qh : Yh(e.value)
12479
12515
  }, t);
12480
12516
  })
12481
12517
  }),
@@ -12497,26 +12533,26 @@ var Gh = i(({ items: e, samples: t, now: n, window: r, provenance: i, size: a =
12497
12533
  ]
12498
12534
  });
12499
12535
  });
12500
- Gh.displayName = "DecayStrip";
12536
+ Zh.displayName = "DecayStrip";
12501
12537
  //#endregion
12502
12538
  //#region src/components/CalendarHeatmap/components/CalendarHeatmap.tsx
12503
- var Kh = {
12539
+ var Qh = {
12504
12540
  success: "█",
12505
12541
  fail: "░",
12506
12542
  skip: "·",
12507
12543
  pending: "▒",
12508
12544
  empty: " "
12509
- }, qh = [
12545
+ }, $h = [
12510
12546
  "success",
12511
12547
  "fail",
12512
12548
  "skip",
12513
12549
  "pending"
12514
- ], Jh = {
12550
+ ], eg = {
12515
12551
  success: "DONE",
12516
12552
  fail: "MISS",
12517
12553
  skip: "OFF",
12518
12554
  pending: "TODAY"
12519
- }, Yh = [
12555
+ }, tg = [
12520
12556
  "MO",
12521
12557
  "TU",
12522
12558
  "WE",
@@ -12524,7 +12560,7 @@ var Kh = {
12524
12560
  "FR",
12525
12561
  "SA",
12526
12562
  "SU"
12527
- ], Xh = [
12563
+ ], ng = [
12528
12564
  "SU",
12529
12565
  "MO",
12530
12566
  "TU",
@@ -12532,7 +12568,7 @@ var Kh = {
12532
12568
  "TH",
12533
12569
  "FR",
12534
12570
  "SA"
12535
- ], Zh = [
12571
+ ], rg = [
12536
12572
  "January",
12537
12573
  "February",
12538
12574
  "March",
@@ -12545,16 +12581,16 @@ var Kh = {
12545
12581
  "October",
12546
12582
  "November",
12547
12583
  "December"
12548
- ], Qh = {
12584
+ ], ig = {
12549
12585
  sm: "eidotter-calendar-heatmap--sm",
12550
12586
  md: "eidotter-calendar-heatmap--md",
12551
12587
  lg: "eidotter-calendar-heatmap--lg"
12552
- }, $h = (e) => String(e).padStart(2, "0"), eg = i(({ month: e, statuses: t = {}, defaultStatus: n = "skip", weekStart: r = "monday", size: i = "md", successColor: a, showLegend: o = !0, legendLabels: s, glyphs: c, className: l, "aria-label": u, ...d }, f) => {
12588
+ }, ag = (e) => String(e).padStart(2, "0"), og = i(({ month: e, statuses: t = {}, defaultStatus: n = "skip", weekStart: r = "monday", size: i = "md", successColor: a, showLegend: o = !0, legendLabels: s, glyphs: c, className: l, "aria-label": u, ...d }, f) => {
12553
12589
  let p = Number(e.slice(0, 4)), m = Number(e.slice(5, 7)) - 1, h = Number.isFinite(p) && m >= 0 && m <= 11, g = {
12554
- ...Kh,
12590
+ ...Qh,
12555
12591
  ...c
12556
12592
  }, _ = {
12557
- ...Jh,
12593
+ ...eg,
12558
12594
  ...s
12559
12595
  }, v = [], y = 0, b = 0;
12560
12596
  if (h) {
@@ -12565,7 +12601,7 @@ var Kh = {
12565
12601
  status: "empty"
12566
12602
  });
12567
12603
  for (let r = 1; r <= e; r++) {
12568
- let e = `${p}-${$h(m + 1)}-${$h(r)}`, i = t[e] ?? n;
12604
+ let e = `${p}-${ag(m + 1)}-${ag(r)}`, i = t[e] ?? n;
12569
12605
  i === "success" && y++, i === "fail" && b++, o.push({
12570
12606
  key: e,
12571
12607
  day: r,
@@ -12579,10 +12615,10 @@ var Kh = {
12579
12615
  });
12580
12616
  for (let e = 0; e < o.length; e += 7) v.push(o.slice(e, e + 7));
12581
12617
  }
12582
- let C = r === "monday" ? Yh : Xh, w = h ? `${Zh[m]} ${p}` : e, T = u ?? `${w}: ${y} done, ${b} missed`, E = a ? { "--heatmap-success": a } : void 0;
12618
+ let C = r === "monday" ? tg : ng, w = h ? `${rg[m]} ${p}` : e, T = u ?? `${w}: ${y} done, ${b} missed`, E = a ? { "--heatmap-success": a } : void 0;
12583
12619
  return /* @__PURE__ */ S("div", {
12584
12620
  ref: f,
12585
- className: $("eidotter-calendar-heatmap font-dos", Qh[i], l),
12621
+ className: $("eidotter-calendar-heatmap font-dos", ig[i], l),
12586
12622
  style: E,
12587
12623
  ...d,
12588
12624
  children: [/* @__PURE__ */ S("div", {
@@ -12607,7 +12643,7 @@ var Kh = {
12607
12643
  }), o && /* @__PURE__ */ x("div", {
12608
12644
  className: "eidotter-calendar-heatmap__legend",
12609
12645
  "aria-hidden": "true",
12610
- children: qh.map((e) => /* @__PURE__ */ S("span", {
12646
+ children: $h.map((e) => /* @__PURE__ */ S("span", {
12611
12647
  className: `eidotter-calendar-heatmap__cell--${e}`,
12612
12648
  children: [
12613
12649
  g[e],
@@ -12618,10 +12654,10 @@ var Kh = {
12618
12654
  })]
12619
12655
  });
12620
12656
  });
12621
- eg.displayName = "CalendarHeatmap";
12657
+ og.displayName = "CalendarHeatmap";
12622
12658
  //#endregion
12623
12659
  //#region src/components/HoldToComplete/components/HoldToComplete.tsx
12624
- var tg = (e) => e * e, ng = .02, rg = 120, ig = i(({ onHold: e, onTap: t, onHoldProgress: n, holdDuration: r = 700, ringColor: i, ringScale: a = .72, disabled: s = !1, "aria-label": l, className: u, children: d }, f) => {
12660
+ var sg = (e) => e * e, cg = .02, lg = 120, ug = i(({ onHold: e, onTap: t, onHoldProgress: n, holdDuration: r = 700, ringColor: i, ringScale: a = .72, disabled: s = !1, "aria-label": l, className: u, children: d }, f) => {
12625
12661
  let [h, g] = m(0), [_, v] = m(0), y = p(null), b = p(null), C = p(0), w = p(0), T = p(0), E = p(0), D = p(r), O = p(!1), k = p(e), A = p(n);
12626
12662
  k.current = e, A.current = n;
12627
12663
  let j = o((e) => {
@@ -12629,7 +12665,7 @@ var tg = (e) => e * e, ng = .02, rg = 120, ig = i(({ onHold: e, onTap: t, onHold
12629
12665
  }, []), M = o(() => {
12630
12666
  b.current != null && (cancelAnimationFrame(b.current), b.current = null);
12631
12667
  }, []), N = o((e) => {
12632
- let t = e - E.current, n = D.current, r = n <= 0 ? 1 : Math.min(1, t / n), i = T.current === 1 ? tg(r) : r, a = w.current + (T.current - w.current) * i;
12668
+ let t = e - E.current, n = D.current, r = n <= 0 ? 1 : Math.min(1, t / n), i = T.current === 1 ? sg(r) : r, a = w.current + (T.current - w.current) * i;
12633
12669
  if (j(a), r >= 1) {
12634
12670
  b.current = null, T.current === 1 && (O.current = !0, j(0), k.current());
12635
12671
  return;
@@ -12655,7 +12691,7 @@ var tg = (e) => e * e, ng = .02, rg = 120, ig = i(({ onHold: e, onTap: t, onHold
12655
12691
  M();
12656
12692
  return;
12657
12693
  }
12658
- em() ? (M(), j(0)) : P(0, rg);
12694
+ om() ? (M(), j(0)) : P(0, lg);
12659
12695
  }
12660
12696
  }, [
12661
12697
  P,
@@ -12677,7 +12713,7 @@ var tg = (e) => e * e, ng = .02, rg = 120, ig = i(({ onHold: e, onTap: t, onHold
12677
12713
  }, []), c(() => M, [M]);
12678
12714
  let R = o((e) => {
12679
12715
  y.current = e, typeof f == "function" ? f(e) : f && (f.current = e);
12680
- }, [f]), te = h > ng && _ > 0;
12716
+ }, [f]), te = h > cg && _ > 0;
12681
12717
  return /* @__PURE__ */ S("div", {
12682
12718
  ref: R,
12683
12719
  className: $("eidotter-hold", s && "eidotter-hold--disabled", u),
@@ -12692,7 +12728,7 @@ var tg = (e) => e * e, ng = .02, rg = 120, ig = i(({ onHold: e, onTap: t, onHold
12692
12728
  onKeyDown: ee,
12693
12729
  children: [d, te && /* @__PURE__ */ x("div", {
12694
12730
  className: "eidotter-hold__overlay",
12695
- children: /* @__PURE__ */ x(Em, {
12731
+ children: /* @__PURE__ */ x(Mm, {
12696
12732
  value: h * 100,
12697
12733
  size: Math.floor(_ * a),
12698
12734
  color: i,
@@ -12701,13 +12737,13 @@ var tg = (e) => e * e, ng = .02, rg = 120, ig = i(({ onHold: e, onTap: t, onHold
12701
12737
  })]
12702
12738
  });
12703
12739
  });
12704
- ig.displayName = "HoldToComplete";
12740
+ ug.displayName = "HoldToComplete";
12705
12741
  //#endregion
12706
12742
  //#region src/components/Input/components/Input.tsx
12707
- var ag = {
12743
+ var dg = {
12708
12744
  default: "eidotter-input--default",
12709
12745
  error: "eidotter-input--error"
12710
- }, og = i(({ variant: e = "default", label: t, description: n, errorMessage: r, disabled: i, className: a, onChange: o, isRequired: s, ...c }, l) => {
12746
+ }, fg = i(({ variant: e = "default", label: t, description: n, errorMessage: r, disabled: i, className: a, onChange: o, isRequired: s, ...c }, l) => {
12711
12747
  let u = e === "error";
12712
12748
  return /* @__PURE__ */ S(yf, {
12713
12749
  isDisabled: i,
@@ -12721,7 +12757,7 @@ var ag = {
12721
12757
  }),
12722
12758
  /* @__PURE__ */ x(fa, {
12723
12759
  ref: l,
12724
- className: $("w-full bg-transparent text-dos-text-brand font-dos text-dos-text-base p-2", "border-2 border-dos-border-default outline-none box-border", "eidotter-input", ag[e] || ag.default, i && "eidotter-input--disabled"),
12760
+ className: $("w-full bg-transparent text-dos-text-brand font-dos text-dos-text-base p-2", "border-2 border-dos-border-default outline-none box-border", "eidotter-input", dg[e] || dg.default, i && "eidotter-input--disabled"),
12725
12761
  onChange: o,
12726
12762
  ...c
12727
12763
  }),
@@ -12738,10 +12774,10 @@ var ag = {
12738
12774
  ]
12739
12775
  });
12740
12776
  });
12741
- og.displayName = "Input";
12777
+ fg.displayName = "Input";
12742
12778
  //#endregion
12743
12779
  //#region src/components/Terminal/components/Terminal.tsx
12744
- var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", resizable: r = !0, minimizable: i = !1, maximizable: a = !1, closeable: o = !1, children: s, onMinimize: l, onMaximize: u, onClose: d, onFocus: f, className: h = "", autoFocus: g = !1 }) => {
12780
+ var pg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", resizable: r = !0, minimizable: i = !1, maximizable: a = !1, closeable: o = !1, children: s, onMinimize: l, onMaximize: u, onClose: d, onFocus: f, className: h = "", autoFocus: g = !1 }) => {
12745
12781
  let _ = {
12746
12782
  sm: "small",
12747
12783
  md: "medium",
@@ -12765,7 +12801,7 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12765
12801
  "aria-label": `Restore ${t} window`,
12766
12802
  children: /* @__PURE__ */ S("div", {
12767
12803
  className: "terminal__taskbar-item",
12768
- children: [/* @__PURE__ */ x(Qp, {
12804
+ children: [/* @__PURE__ */ x(im, {
12769
12805
  name: "App",
12770
12806
  size: "S"
12771
12807
  }), /* @__PURE__ */ x("span", {
@@ -12788,7 +12824,7 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12788
12824
  className: "terminal__title-bar",
12789
12825
  children: [/* @__PURE__ */ S("div", {
12790
12826
  className: "terminal__title",
12791
- children: [/* @__PURE__ */ x(Qp, {
12827
+ children: [/* @__PURE__ */ x(im, {
12792
12828
  name: "App",
12793
12829
  size: "S",
12794
12830
  "aria-hidden": "true"
@@ -12803,7 +12839,7 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12803
12839
  className: "terminal__control terminal__control--minimize",
12804
12840
  onPress: T,
12805
12841
  "aria-label": "Minimize window",
12806
- children: /* @__PURE__ */ x(Qp, {
12842
+ children: /* @__PURE__ */ x(im, {
12807
12843
  name: "Cancel",
12808
12844
  size: "S"
12809
12845
  })
@@ -12812,7 +12848,7 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12812
12848
  className: "terminal__control terminal__control--maximize",
12813
12849
  onPress: E,
12814
12850
  "aria-label": b ? "Restore window" : "Maximize window",
12815
- children: /* @__PURE__ */ x(Qp, {
12851
+ children: /* @__PURE__ */ x(im, {
12816
12852
  name: b ? "Fullscreen" : "Add",
12817
12853
  size: "S"
12818
12854
  })
@@ -12821,7 +12857,7 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12821
12857
  className: "terminal__control terminal__control--close",
12822
12858
  onPress: D,
12823
12859
  "aria-label": "Close window",
12824
- children: /* @__PURE__ */ x(Qp, {
12860
+ children: /* @__PURE__ */ x(im, {
12825
12861
  name: "Close",
12826
12862
  size: "S"
12827
12863
  })
@@ -12852,17 +12888,17 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12852
12888
  })
12853
12889
  ]
12854
12890
  });
12855
- }, cg = {
12891
+ }, mg = {
12856
12892
  sm: "eidotter-tabs--sm",
12857
12893
  md: "eidotter-tabs--md",
12858
12894
  lg: "eidotter-tabs--lg",
12859
12895
  small: "eidotter-tabs--sm",
12860
12896
  medium: "eidotter-tabs--md",
12861
12897
  large: "eidotter-tabs--lg"
12862
- }, lg = {
12898
+ }, hg = {
12863
12899
  underline: "eidotter-tabs--underline",
12864
12900
  pills: "eidotter-tabs--pills"
12865
- }, ug = i(({ tabs: e, variant: t = "underline", size: n = "md", activeTab: r, defaultActiveTab: i, onSelectionChange: a, onTabChange: s, className: c, ...l }, d) => {
12901
+ }, gg = i(({ tabs: e, variant: t = "underline", size: n = "md", activeTab: r, defaultActiveTab: i, onSelectionChange: a, onTabChange: s, className: c, ...l }, d) => {
12866
12902
  let f = p(null), h = p(r ?? i ?? e[0]?.id ?? ""), [g, _] = m(r ?? i ?? e[0]?.id ?? ""), v = a ?? s, y = o((e) => {
12867
12903
  let t = String(e), n = r ?? h.current;
12868
12904
  h.current = t, _(t), v?.(t, n);
@@ -12886,7 +12922,7 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12886
12922
  selectedKey: r,
12887
12923
  defaultSelectedKey: i ?? e[0]?.id,
12888
12924
  onSelectionChange: y,
12889
- className: $("eidotter-tabs", lg[t], cg[n] || cg.md, c),
12925
+ className: $("eidotter-tabs", hg[t], mg[n] || mg.md, c),
12890
12926
  children: [/* @__PURE__ */ S("div", {
12891
12927
  ref: f,
12892
12928
  className: "relative",
@@ -12909,16 +12945,16 @@ var sg = ({ size: e = "md", title: t = "MS-DOS Terminal", state: n = "active", r
12909
12945
  }, e.id))]
12910
12946
  });
12911
12947
  });
12912
- ug.displayName = "Tabs";
12948
+ gg.displayName = "Tabs";
12913
12949
  //#endregion
12914
12950
  //#region src/components/Badge/components/Badge.tsx
12915
- var dg = {
12951
+ var _g = {
12916
12952
  sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
12917
12953
  md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
12918
12954
  lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
12919
12955
  small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
12920
12956
  medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
12921
- }, fg = {
12957
+ }, vg = {
12922
12958
  default: "eidotter-badge--default",
12923
12959
  success: "eidotter-badge--success",
12924
12960
  warning: "eidotter-badge--warning",
@@ -12932,9 +12968,9 @@ var dg = {
12932
12968
  purple: "eidotter-badge--info",
12933
12969
  pink: "eidotter-badge--error",
12934
12970
  orange: "eidotter-badge--warning"
12935
- }, pg = i(({ variant: e = "default", size: t = "md", dot: n = !1, children: r, className: i, ...a }, o) => /* @__PURE__ */ S("span", {
12971
+ }, yg = i(({ variant: e = "default", size: t = "md", dot: n = !1, children: r, className: i, ...a }, o) => /* @__PURE__ */ S("span", {
12936
12972
  ref: o,
12937
- className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "uppercase tracking-wider", "rounded-dos-sm", "eidotter-badge", dg[t] || dg.md, fg[e] || fg.default, i),
12973
+ className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "uppercase tracking-wider", "rounded-dos-sm", "eidotter-badge", _g[t] || _g.md, vg[e] || vg.default, i),
12938
12974
  "data-variant": e,
12939
12975
  ...a,
12940
12976
  children: [n && /* @__PURE__ */ x("span", {
@@ -12945,10 +12981,10 @@ var dg = {
12945
12981
  children: r
12946
12982
  })]
12947
12983
  }));
12948
- pg.displayName = "Badge";
12984
+ yg.displayName = "Badge";
12949
12985
  //#endregion
12950
12986
  //#region src/components/Switch/components/Switch.tsx
12951
- var mg = i(({ checked: e, defaultChecked: t = !1, onChange: n, onCheckedChange: r, disabled: i = !1, size: a = "md", type: o = "default", label: s, name: c, value: l, className: u, ...d }, f) => /* @__PURE__ */ x(Yd, {
12987
+ var bg = i(({ checked: e, defaultChecked: t = !1, onChange: n, onCheckedChange: r, disabled: i = !1, size: a = "md", type: o = "default", label: s, name: c, value: l, className: u, ...d }, f) => /* @__PURE__ */ x(Yd, {
12952
12988
  ref: f,
12953
12989
  isSelected: e,
12954
12990
  defaultSelected: t,
@@ -12968,18 +13004,18 @@ var mg = i(({ checked: e, defaultChecked: t = !1, onChange: n, onCheckedChange:
12968
13004
  children: s
12969
13005
  })] })
12970
13006
  }));
12971
- mg.displayName = "Switch";
13007
+ bg.displayName = "Switch";
12972
13008
  //#endregion
12973
13009
  //#region src/utils/isSafeHref.ts
12974
- var hg = /^(?:https?:|mailto:)/i, gg = /^([a-z][a-z0-9+\-.]*):/i;
12975
- function _g(e, t) {
13010
+ var xg = /^(?:https?:|mailto:)/i, Sg = /^([a-z][a-z0-9+\-.]*):/i;
13011
+ function Cg(e, t) {
12976
13012
  if (typeof e != "string") return !1;
12977
13013
  let n = e.trim();
12978
13014
  if (n.length === 0) return !1;
12979
13015
  let r = n.replace(/[\t\n\r]/g, "");
12980
13016
  if (r.length === 0) return !1;
12981
- let i = gg.exec(r);
12982
- if (!i || hg.test(r)) return !0;
13017
+ let i = Sg.exec(r);
13018
+ if (!i || xg.test(r)) return !0;
12983
13019
  let a = t?.extraSchemes;
12984
13020
  if (a && a.length > 0) {
12985
13021
  let e = i[1].toLowerCase();
@@ -12989,7 +13025,7 @@ function _g(e, t) {
12989
13025
  }
12990
13026
  //#endregion
12991
13027
  //#region src/components/Breadcrumb/components/Breadcrumb.tsx
12992
- var vg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline", yg = ({ trail: e = [], currentLabel: t, showBackArrow: n = !0, separator: r = "/", linkComponent: i, className: a }) => {
13028
+ var wg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text-accent opacity-70 no-underline", Tg = ({ trail: e = [], currentLabel: t, showBackArrow: n = !0, separator: r = "/", linkComponent: i, className: a }) => {
12993
13029
  let o = (e, t) => {
12994
13030
  let r = /* @__PURE__ */ S(b, { children: [n && t && /* @__PURE__ */ x("span", {
12995
13031
  className: "text-[1em] leading-none",
@@ -12997,17 +13033,17 @@ var vg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
12997
13033
  children: "<"
12998
13034
  }), /* @__PURE__ */ x("span", { children: e.label })] });
12999
13035
  if (e.onClick) return /* @__PURE__ */ x(pi, {
13000
- className: $(vg, "bg-transparent border-0 cursor-pointer font-[inherit] p-0"),
13036
+ className: $(wg, "bg-transparent border-0 cursor-pointer font-[inherit] p-0"),
13001
13037
  onPress: e.onClick,
13002
13038
  children: r
13003
13039
  });
13004
- let a = e.href && _g(e.href) ? e.href : void 0;
13040
+ let a = e.href && Cg(e.href) ? e.href : void 0;
13005
13041
  return a ? x(i || "a", {
13006
13042
  href: a,
13007
- className: vg,
13043
+ className: wg,
13008
13044
  children: r
13009
13045
  }) : /* @__PURE__ */ x("span", {
13010
- className: vg,
13046
+ className: wg,
13011
13047
  children: r
13012
13048
  });
13013
13049
  };
@@ -13047,18 +13083,18 @@ var vg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
13047
13083
  ]
13048
13084
  })
13049
13085
  });
13050
- }, bg = "eidotter:retro-boot", xg = "1", Sg = (e) => {
13086
+ }, Eg = "eidotter:retro-boot", Dg = "1", Og = (e) => {
13051
13087
  if (typeof window > "u") return !1;
13052
13088
  try {
13053
- return window.sessionStorage.getItem(e) === xg;
13089
+ return window.sessionStorage.getItem(e) === Dg;
13054
13090
  } catch {
13055
13091
  return !1;
13056
13092
  }
13057
- }, Cg = (e) => {
13093
+ }, kg = (e) => {
13058
13094
  if (!(typeof window > "u")) try {
13059
- window.sessionStorage.setItem(e, xg);
13095
+ window.sessionStorage.setItem(e, Dg);
13060
13096
  } catch {}
13061
- }, wg = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0, boot: a = !1, bootOnce: o = !1, bootStorageKey: s = bg, intensity: l = 1, className: u, onPowerStateChange: d, onPowerOn: f, onPowerOff: h, onBootComplete: g }) => {
13097
+ }, Ag = ({ scanlines: e = !0, glow: t = !0, flicker: n = !0, bloom: r = !1, powered: i = !0, boot: a = !1, bootOnce: o = !1, bootStorageKey: s = Eg, intensity: l = 1, className: u, onPowerStateChange: d, onPowerOn: f, onPowerOff: h, onBootComplete: g }) => {
13062
13098
  let _ = p(i), [v, y] = m(i ? "on" : "off"), [C, w] = m(a), T = p(!1), E = p(s), D = p(g);
13063
13099
  c(() => {
13064
13100
  D.current = g;
@@ -13066,16 +13102,16 @@ var vg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
13066
13102
  let O = () => {
13067
13103
  T.current || (T.current = !0, D.current?.());
13068
13104
  }, k = () => {
13069
- w(!1), o && Cg(E.current), O();
13105
+ w(!1), o && kg(E.current), O();
13070
13106
  };
13071
13107
  c(() => {
13072
- if (!(!a || !o) && Sg(E.current)) {
13108
+ if (!(!a || !o) && Og(E.current)) {
13073
13109
  w(!1), O();
13074
13110
  return;
13075
13111
  }
13076
13112
  }, []), c(() => {
13077
13113
  if (!C || T.current) return;
13078
- if (em()) {
13114
+ if (om()) {
13079
13115
  k();
13080
13116
  return;
13081
13117
  }
@@ -13123,32 +13159,32 @@ var vg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
13123
13159
  ]
13124
13160
  })]
13125
13161
  });
13126
- }, Tg = {
13162
+ }, jg = {
13127
13163
  sm: "small",
13128
13164
  md: "medium",
13129
13165
  lg: "large",
13130
13166
  small: "small",
13131
13167
  medium: "medium",
13132
13168
  large: "large"
13133
- }, Eg = {
13169
+ }, Mg = {
13134
13170
  circle: "eidotter-timeline-node--circle",
13135
13171
  square: "eidotter-timeline-node--square",
13136
13172
  diamond: "eidotter-timeline-node--diamond"
13137
- }, Dg = {
13173
+ }, Ng = {
13138
13174
  default: "eidotter-timeline-node--default",
13139
13175
  primary: "eidotter-timeline-node--primary",
13140
13176
  secondary: "eidotter-timeline-node--secondary",
13141
13177
  accent: "eidotter-timeline-node--accent"
13142
- }, Og = {
13178
+ }, Pg = {
13143
13179
  left: "eidotter-timeline-node--label-left",
13144
13180
  right: "eidotter-timeline-node--label-right",
13145
13181
  top: "eidotter-timeline-node--label-top",
13146
13182
  bottom: "eidotter-timeline-node--label-bottom"
13147
- }, kg = i(({ shape: e = "circle", variant: t = "default", isActive: n = !1, label: r, labelPosition: i = "right", size: a = "md", className: o, onClick: s, ...c }, l) => {
13148
- let u = Tg[a] ?? "medium";
13183
+ }, Fg = i(({ shape: e = "circle", variant: t = "default", isActive: n = !1, label: r, labelPosition: i = "right", size: a = "md", className: o, onClick: s, ...c }, l) => {
13184
+ let u = jg[a] ?? "medium";
13149
13185
  return /* @__PURE__ */ S("div", {
13150
13186
  ref: l,
13151
- className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node", Eg[e], Dg[t], `eidotter-timeline-node--${u}`, Og[i], n && "eidotter-timeline-node--active", s && "eidotter-timeline-node--interactive", o),
13187
+ className: $("inline-flex items-center gap-2 font-dos", "eidotter-timeline-node", Mg[e], Ng[t], `eidotter-timeline-node--${u}`, Pg[i], n && "eidotter-timeline-node--active", s && "eidotter-timeline-node--interactive", o),
13152
13188
  onClick: () => {
13153
13189
  s && s();
13154
13190
  },
@@ -13183,10 +13219,10 @@ var vg = "eidotter-breadcrumb__link inline-flex items-center gap-1 text-dos-text
13183
13219
  ]
13184
13220
  });
13185
13221
  });
13186
- kg.displayName = "TimelineNode";
13222
+ Fg.displayName = "TimelineNode";
13187
13223
  //#endregion
13188
13224
  //#region src/components/TimelineContainer/components/types.ts
13189
- var Ag = [
13225
+ var Ig = [
13190
13226
  "year",
13191
13227
  "month",
13192
13228
  "day",
@@ -13194,12 +13230,12 @@ var Ag = [
13194
13230
  ];
13195
13231
  //#endregion
13196
13232
  //#region src/components/TimelineContainer/components/useDrillDown.ts
13197
- function jg({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {}) {
13233
+ function Lg({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {}) {
13198
13234
  let r = e === void 0, [i, a] = m(t), [s, l] = m([]), u = p(r);
13199
13235
  c(() => {
13200
13236
  u.current && !r && l([]), u.current = r;
13201
13237
  }, [r]);
13202
- let d = e ?? i, f = Ag.indexOf(d), h = f < Ag.length - 1, g = f > 0, _ = s.length > 0 ? s[s.length - 1].periodStart : null, v = p(r), y = p(h), b = p(f), x = p(s), S = p(n);
13238
+ let d = e ?? i, f = Ig.indexOf(d), h = f < Ig.length - 1, g = f > 0, _ = s.length > 0 ? s[s.length - 1].periodStart : null, v = p(r), y = p(h), b = p(f), x = p(s), S = p(n);
13203
13239
  c(() => {
13204
13240
  v.current = r, y.current = h, b.current = f, x.current = s, S.current = n;
13205
13241
  });
@@ -13215,7 +13251,7 @@ function jg({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
13215
13251
  isDrillDownEnabled: r,
13216
13252
  drillDown: o((e, t) => {
13217
13253
  if (!v.current || !y.current) return;
13218
- let n = Ag[b.current + 1];
13254
+ let n = Ig[b.current + 1];
13219
13255
  n !== void 0 && (l((n) => [...n, {
13220
13256
  periodStart: e,
13221
13257
  label: t
@@ -13223,7 +13259,7 @@ function jg({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
13223
13259
  }, [C]),
13224
13260
  drillUp: o(() => {
13225
13261
  if (!v.current || x.current.length === 0) return;
13226
- let e = Ag[b.current - 1];
13262
+ let e = Ig[b.current - 1];
13227
13263
  e !== void 0 && (l((e) => e.slice(0, -1)), C(e));
13228
13264
  }, [C]),
13229
13265
  reset: o(() => {
@@ -13233,7 +13269,7 @@ function jg({ zoomLevel: e, defaultZoomLevel: t = "month", onZoomChange: n } = {
13233
13269
  }
13234
13270
  //#endregion
13235
13271
  //#region src/components/TimelineContainer/components/useSelection.ts
13236
- function Mg({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntry: n } = {}) {
13272
+ function Rg({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntry: n } = {}) {
13237
13273
  let [r, i] = m(t), a = e !== void 0, s = e === void 0 ? r : e, l = p(s), u = p(a), d = p(n);
13238
13274
  c(() => {
13239
13275
  l.current = s, u.current = a, d.current = n;
@@ -13259,7 +13295,7 @@ function Mg({ selectedEntryId: e, defaultSelectedEntryId: t = null, onSelectEntr
13259
13295
  }
13260
13296
  //#endregion
13261
13297
  //#region src/components/TimelineContainer/components/timelineUtils.ts
13262
- var Ng = [
13298
+ var zg = [
13263
13299
  "January",
13264
13300
  "February",
13265
13301
  "March",
@@ -13272,7 +13308,7 @@ var Ng = [
13272
13308
  "October",
13273
13309
  "November",
13274
13310
  "December"
13275
- ], Pg = [
13311
+ ], Bg = [
13276
13312
  "Jan",
13277
13313
  "Feb",
13278
13314
  "Mar",
@@ -13286,48 +13322,48 @@ var Ng = [
13286
13322
  "Nov",
13287
13323
  "Dec"
13288
13324
  ];
13289
- function Fg(e) {
13325
+ function Vg(e) {
13290
13326
  return new Date(e).getUTCFullYear();
13291
13327
  }
13292
- function Ig(e) {
13328
+ function Hg(e) {
13293
13329
  return new Date(e).getUTCMonth();
13294
13330
  }
13295
- function Lg(e) {
13331
+ function Ug(e) {
13296
13332
  return new Date(e).getUTCDate();
13297
13333
  }
13298
- function Rg(e) {
13334
+ function Wg(e) {
13299
13335
  return new Date(e).getUTCHours();
13300
13336
  }
13301
- function zg(e) {
13337
+ function Gg(e) {
13302
13338
  return String(e);
13303
13339
  }
13304
- function Bg(e, t) {
13305
- return `${Ng[t]} ${e}`;
13340
+ function Kg(e, t) {
13341
+ return `${zg[t]} ${e}`;
13306
13342
  }
13307
- function Vg(e, t, n) {
13308
- return `${Pg[t]} ${n}`;
13343
+ function qg(e, t, n) {
13344
+ return `${Bg[t]} ${n}`;
13309
13345
  }
13310
- function Hg(e, t, n, r) {
13346
+ function Jg(e, t, n, r) {
13311
13347
  let i = r >= 12 ? "pm" : "am", a = r === 0 ? 12 : r > 12 ? r - 12 : r;
13312
- return `${Pg[t]} ${n}, ${a}${i}`;
13348
+ return `${Bg[t]} ${n}, ${a}${i}`;
13313
13349
  }
13314
- function Ug(e) {
13315
- let t = new Date(e), n = Pg[t.getUTCMonth()], r = t.getUTCDate(), i = t.getUTCFullYear(), a = t.getUTCHours(), o = t.getUTCMinutes(), s = a >= 12 ? "pm" : "am";
13350
+ function Yg(e) {
13351
+ let t = new Date(e), n = Bg[t.getUTCMonth()], r = t.getUTCDate(), i = t.getUTCFullYear(), a = t.getUTCHours(), o = t.getUTCMinutes(), s = a >= 12 ? "pm" : "am";
13316
13352
  return `${n} ${r}, ${i} at ${a === 0 ? 12 : a > 12 ? a - 12 : a}${o > 0 ? `:${String(o).padStart(2, "0")}` : ""}${s}`;
13317
13353
  }
13318
- function Wg(e) {
13354
+ function Xg(e) {
13319
13355
  return new Date(Date.UTC(e, 0, 1)).toISOString();
13320
13356
  }
13321
- function Gg(e, t) {
13357
+ function Zg(e, t) {
13322
13358
  return new Date(Date.UTC(e, t, 1)).toISOString();
13323
13359
  }
13324
- function Kg(e, t, n) {
13360
+ function Qg(e, t, n) {
13325
13361
  return new Date(Date.UTC(e, t, n)).toISOString();
13326
13362
  }
13327
- function qg(e, t, n, r) {
13363
+ function $g(e, t, n, r) {
13328
13364
  return new Date(Date.UTC(e, t, n, r)).toISOString();
13329
13365
  }
13330
- function Jg(e, t, n, r, i) {
13366
+ function e_(e, t, n, r, i) {
13331
13367
  let a = /* @__PURE__ */ new Map(), o = [];
13332
13368
  for (let n of e) {
13333
13369
  let e = t(n), r = a.get(e);
@@ -13344,32 +13380,32 @@ function Jg(e, t, n, r, i) {
13344
13380
  entries: a.get(e) ?? []
13345
13381
  }));
13346
13382
  }
13347
- function Yg(e) {
13348
- return String(Fg(e.date));
13383
+ function t_(e) {
13384
+ return String(Vg(e.date));
13349
13385
  }
13350
- function Xg(e) {
13351
- let t = Fg(e.date), n = Ig(e.date);
13386
+ function n_(e) {
13387
+ let t = Vg(e.date), n = Hg(e.date);
13352
13388
  return `${t}-${String(n).padStart(2, "0")}`;
13353
13389
  }
13354
- function Zg(e) {
13355
- let t = Fg(e.date), n = Ig(e.date), r = Lg(e.date);
13390
+ function r_(e) {
13391
+ let t = Vg(e.date), n = Hg(e.date), r = Ug(e.date);
13356
13392
  return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}`;
13357
13393
  }
13358
- function Qg(e) {
13359
- let t = Fg(e.date), n = Ig(e.date), r = Lg(e.date), i = Rg(e.date);
13394
+ function i_(e) {
13395
+ let t = Vg(e.date), n = Hg(e.date), r = Ug(e.date), i = Wg(e.date);
13360
13396
  return `${t}-${String(n).padStart(2, "0")}-${String(r).padStart(2, "0")}-${String(i).padStart(2, "0")}`;
13361
13397
  }
13362
- function $g(e) {
13398
+ function a_(e) {
13363
13399
  return { year: parseInt(e) };
13364
13400
  }
13365
- function e_(e) {
13401
+ function o_(e) {
13366
13402
  let [t, n] = e.split("-");
13367
13403
  return {
13368
13404
  year: parseInt(t),
13369
13405
  month: parseInt(n)
13370
13406
  };
13371
13407
  }
13372
- function t_(e) {
13408
+ function s_(e) {
13373
13409
  let [t, n, r] = e.split("-");
13374
13410
  return {
13375
13411
  year: parseInt(t),
@@ -13377,7 +13413,7 @@ function t_(e) {
13377
13413
  day: parseInt(r)
13378
13414
  };
13379
13415
  }
13380
- function n_(e) {
13416
+ function c_(e) {
13381
13417
  let [t, n, r, i] = e.split("-");
13382
13418
  return {
13383
13419
  year: parseInt(t),
@@ -13386,63 +13422,63 @@ function n_(e) {
13386
13422
  hour: parseInt(i)
13387
13423
  };
13388
13424
  }
13389
- var r_ = {
13425
+ var l_ = {
13390
13426
  year: 4,
13391
13427
  month: 7,
13392
13428
  day: 10
13393
13429
  };
13394
- function i_(e, t, n) {
13430
+ function u_(e, t, n) {
13395
13431
  if (t === null || n === "hour") return e;
13396
- let r = r_[n];
13432
+ let r = l_[n];
13397
13433
  if (r === void 0) return e;
13398
13434
  let i = t.slice(0, r);
13399
13435
  return e.filter((e) => e.periodStart.slice(0, r) === i);
13400
13436
  }
13401
- function a_(e, t, n = "desc") {
13437
+ function d_(e, t, n = "desc") {
13402
13438
  if (e.length === 0) return [];
13403
13439
  let r = e.filter((e) => !isNaN(new Date(e.date).getTime()));
13404
13440
  if (r.length === 0) return [];
13405
13441
  switch (t) {
13406
- case "year": return Jg(r, Yg, (e) => {
13407
- let { year: t } = $g(e);
13408
- return zg(t);
13442
+ case "year": return e_(r, t_, (e) => {
13443
+ let { year: t } = a_(e);
13444
+ return Gg(t);
13409
13445
  }, (e) => {
13410
- let { year: t } = $g(e);
13411
- return Wg(t);
13446
+ let { year: t } = a_(e);
13447
+ return Xg(t);
13412
13448
  }, n);
13413
- case "month": return Jg(r, Xg, (e) => {
13414
- let { year: t, month: n } = e_(e);
13415
- return Bg(t, n);
13449
+ case "month": return e_(r, n_, (e) => {
13450
+ let { year: t, month: n } = o_(e);
13451
+ return Kg(t, n);
13416
13452
  }, (e) => {
13417
- let { year: t, month: n } = e_(e);
13418
- return Gg(t, n);
13453
+ let { year: t, month: n } = o_(e);
13454
+ return Zg(t, n);
13419
13455
  }, n);
13420
- case "day": return Jg(r, Zg, (e) => {
13421
- let { year: t, month: n, day: r } = t_(e);
13422
- return Vg(t, n, r);
13456
+ case "day": return e_(r, r_, (e) => {
13457
+ let { year: t, month: n, day: r } = s_(e);
13458
+ return qg(t, n, r);
13423
13459
  }, (e) => {
13424
- let { year: t, month: n, day: r } = t_(e);
13425
- return Kg(t, n, r);
13460
+ let { year: t, month: n, day: r } = s_(e);
13461
+ return Qg(t, n, r);
13426
13462
  }, n);
13427
- case "hour": return Jg(r, Qg, (e) => {
13428
- let { year: t, month: n, day: r, hour: i } = n_(e);
13429
- return Hg(t, n, r, i);
13463
+ case "hour": return e_(r, i_, (e) => {
13464
+ let { year: t, month: n, day: r, hour: i } = c_(e);
13465
+ return Jg(t, n, r, i);
13430
13466
  }, (e) => {
13431
- let { year: t, month: n, day: r, hour: i } = n_(e);
13432
- return qg(t, n, r, i);
13467
+ let { year: t, month: n, day: r, hour: i } = c_(e);
13468
+ return $g(t, n, r, i);
13433
13469
  }, n);
13434
13470
  }
13435
13471
  }
13436
13472
  //#endregion
13437
13473
  //#region src/components/TimelineContainer/components/ZoomControls.tsx
13438
- var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i, onReset: a, breadcrumbs: o = [], onBreadcrumbClick: s }) => {
13474
+ var f_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i, onReset: a, breadcrumbs: o = [], onBreadcrumbClick: s }) => {
13439
13475
  let c = o.length > 0;
13440
13476
  return /* @__PURE__ */ S("div", {
13441
13477
  className: "timeline-zoom-controls",
13442
13478
  role: "toolbar",
13443
13479
  "aria-label": "Timeline zoom controls",
13444
13480
  children: [
13445
- /* @__PURE__ */ x(dm, {
13481
+ /* @__PURE__ */ x(_m, {
13446
13482
  variant: "secondary",
13447
13483
  size: "small",
13448
13484
  onClick: i,
@@ -13450,7 +13486,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13450
13486
  "aria-label": "Zoom out",
13451
13487
  children: "[-]"
13452
13488
  }),
13453
- c ? /* @__PURE__ */ x(yg, {
13489
+ c ? /* @__PURE__ */ x(Tg, {
13454
13490
  trail: [{
13455
13491
  label: "ALL",
13456
13492
  onClick: a
@@ -13466,13 +13502,13 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13466
13502
  className: "timeline-zoom-controls__level",
13467
13503
  onPress: a,
13468
13504
  "aria-label": `Current zoom: ${e}. Click to reset.`,
13469
- children: /* @__PURE__ */ x(pg, {
13505
+ children: /* @__PURE__ */ x(yg, {
13470
13506
  variant: "accent",
13471
13507
  size: "medium",
13472
13508
  children: e.toUpperCase()
13473
13509
  })
13474
13510
  }),
13475
- /* @__PURE__ */ x(dm, {
13511
+ /* @__PURE__ */ x(_m, {
13476
13512
  variant: "secondary",
13477
13513
  size: "small",
13478
13514
  onClick: r,
@@ -13482,7 +13518,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13482
13518
  })
13483
13519
  ]
13484
13520
  });
13485
- }, s_ = ({ children: e }) => /* @__PURE__ */ S("div", {
13521
+ }, p_ = ({ children: e }) => /* @__PURE__ */ S("div", {
13486
13522
  className: "timeline-axis",
13487
13523
  children: [/* @__PURE__ */ x("div", {
13488
13524
  className: "timeline-axis__line",
@@ -13491,7 +13527,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13491
13527
  className: "timeline-axis__content",
13492
13528
  children: e
13493
13529
  })]
13494
- }), c_ = e.memo(({ buckets: e, onBucketClick: t }) => /* @__PURE__ */ x("div", {
13530
+ }), m_ = e.memo(({ buckets: e, onBucketClick: t }) => /* @__PURE__ */ x("div", {
13495
13531
  className: "timeline-view timeline-view--year",
13496
13532
  role: "list",
13497
13533
  children: e.map((e) => /* @__PURE__ */ x("div", {
@@ -13502,7 +13538,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13502
13538
  onPress: () => t(e),
13503
13539
  children: [/* @__PURE__ */ x("div", {
13504
13540
  className: "timeline-view__node",
13505
- children: /* @__PURE__ */ x(kg, {
13541
+ children: /* @__PURE__ */ x(Fg, {
13506
13542
  shape: "circle",
13507
13543
  size: "medium",
13508
13544
  variant: "default",
@@ -13511,7 +13547,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13511
13547
  })
13512
13548
  }), /* @__PURE__ */ x("div", {
13513
13549
  className: "timeline-view__content",
13514
- children: /* @__PURE__ */ S(pg, {
13550
+ children: /* @__PURE__ */ S(yg, {
13515
13551
  variant: "default",
13516
13552
  size: "small",
13517
13553
  children: [
@@ -13523,7 +13559,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13523
13559
  })]
13524
13560
  }) : /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
13525
13561
  className: "timeline-view__node",
13526
- children: /* @__PURE__ */ x(kg, {
13562
+ children: /* @__PURE__ */ x(Fg, {
13527
13563
  shape: "circle",
13528
13564
  size: "medium",
13529
13565
  variant: "default",
@@ -13532,7 +13568,7 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13532
13568
  })
13533
13569
  }), /* @__PURE__ */ x("div", {
13534
13570
  className: "timeline-view__content",
13535
- children: /* @__PURE__ */ S(pg, {
13571
+ children: /* @__PURE__ */ S(yg, {
13536
13572
  variant: "default",
13537
13573
  size: "small",
13538
13574
  children: [
@@ -13544,21 +13580,21 @@ var o_ = ({ zoomLevel: e, canZoomIn: t, canZoomOut: n, onZoomIn: r, onZoomOut: i
13544
13580
  })] })
13545
13581
  }, e.periodStart))
13546
13582
  }));
13547
- c_.displayName = "YearView";
13583
+ m_.displayName = "YearView";
13548
13584
  //#endregion
13549
13585
  //#region src/components/DosDialog/components/DosDialog.tsx
13550
- function l_(e) {
13586
+ function h_(e) {
13551
13587
  return typeof e == "object" && !!e && !a(e) && !Array.isArray(e) && "title" in e;
13552
13588
  }
13553
- var u_ = i(({ open: e, onOpenChange: t, placement: n = "center", size: r = "md", head: i, footer: a, isDismissable: o = !0, "aria-label": s, "aria-labelledby": u, className: d, children: f }, p) => {
13554
- let m = l(), h = em(), g = l_(i) ? i : null, _ = u ?? (!s && g && !g.decorative ? m : void 0), v = e && !s && !_;
13589
+ var g_ = i(({ open: e, onOpenChange: t, inline: n = !1, placement: r = "center", size: i = "md", head: a, footer: o, isDismissable: s = !0, "aria-label": u, "aria-labelledby": d, className: f, children: p }, m) => {
13590
+ let h = l(), g = om(), _ = h_(a) ? a : null, v = d ?? (!u && _ && !_.decorative ? h : void 0), y = e && !n && !u && !v;
13555
13591
  c(() => {
13556
- v && process.env.NODE_ENV !== "production" && console.warn("[eidotter] DosDialog has no accessible name. A ReactNode or decorative head does not name the dialog: pass aria-label or aria-labelledby.");
13557
- }, [v]);
13558
- let y = null;
13559
- if (g) {
13560
- let { title: e, end: t, marker: n = !0, decorative: r = !1 } = g;
13561
- y = /* @__PURE__ */ S("div", {
13592
+ y && process.env.NODE_ENV !== "production" && console.warn("[eidotter] DosDialog has no accessible name. A ReactNode or decorative head does not name the dialog: pass aria-label or aria-labelledby.");
13593
+ }, [y]);
13594
+ let C = null;
13595
+ if (_) {
13596
+ let { title: e, end: t, marker: n = !0, decorative: r = !1 } = _;
13597
+ C = /* @__PURE__ */ S("div", {
13562
13598
  className: "eidotter-dialog__head",
13563
13599
  "aria-hidden": r || void 0,
13564
13600
  children: [/* @__PURE__ */ S("div", {
@@ -13568,7 +13604,7 @@ var u_ = i(({ open: e, onOpenChange: t, placement: n = "center", size: r = "md",
13568
13604
  "aria-hidden": "true",
13569
13605
  children: "▸"
13570
13606
  }), /* @__PURE__ */ x(r ? "span" : "h2", {
13571
- id: m,
13607
+ id: h,
13572
13608
  className: "eidotter-dialog__title",
13573
13609
  children: e
13574
13610
  })]
@@ -13577,41 +13613,52 @@ var u_ = i(({ open: e, onOpenChange: t, placement: n = "center", size: r = "md",
13577
13613
  children: t
13578
13614
  })]
13579
13615
  });
13580
- } else i != null && i !== !1 && (y = /* @__PURE__ */ x("div", {
13616
+ } else a != null && a !== !1 && (C = /* @__PURE__ */ x("div", {
13581
13617
  className: "eidotter-dialog__head",
13582
- children: i
13618
+ children: a
13583
13619
  }));
13584
- return /* @__PURE__ */ x(kd, {
13620
+ let w = /* @__PURE__ */ S(b, { children: [
13621
+ C,
13622
+ /* @__PURE__ */ x("div", {
13623
+ className: "eidotter-dialog__body",
13624
+ children: p
13625
+ }),
13626
+ o != null && o !== !1 && /* @__PURE__ */ x("div", {
13627
+ className: "eidotter-dialog__footer",
13628
+ children: o
13629
+ })
13630
+ ] });
13631
+ return n ? e ? /* @__PURE__ */ x("div", {
13632
+ className: $("eidotter-dialog", `eidotter-dialog--${i}`, `eidotter-dialog--${r}`, "eidotter-dialog--inline"),
13633
+ children: /* @__PURE__ */ x("div", {
13634
+ ref: m,
13635
+ role: "group",
13636
+ "aria-label": u,
13637
+ "aria-labelledby": v,
13638
+ className: $("eidotter-dialog__container outline-none", f),
13639
+ children: w
13640
+ })
13641
+ }) : null : /* @__PURE__ */ x(kd, {
13585
13642
  isOpen: e,
13586
13643
  onOpenChange: t,
13587
- isDismissable: o,
13588
- className: ({ isEntering: e, isExiting: t }) => $("eidotter-dialog__overlay", `eidotter-dialog__overlay--${n}`, !h && e && "eidotter-dialog__overlay--entering", !h && t && "eidotter-dialog__overlay--exiting"),
13644
+ isDismissable: s,
13645
+ className: ({ isEntering: e, isExiting: t }) => $("eidotter-dialog__overlay", `eidotter-dialog__overlay--${r}`, !g && e && "eidotter-dialog__overlay--entering", !g && t && "eidotter-dialog__overlay--exiting"),
13589
13646
  children: /* @__PURE__ */ x(Dd, {
13590
- className: ({ isEntering: e, isExiting: t }) => $("eidotter-dialog", `eidotter-dialog--${r}`, `eidotter-dialog--${n}`, !h && e && "eidotter-dialog--entering", !h && t && "eidotter-dialog--exiting"),
13591
- children: /* @__PURE__ */ S(Su, {
13592
- ref: p,
13593
- "aria-label": s,
13594
- "aria-labelledby": _,
13595
- className: $("eidotter-dialog__container outline-none", d),
13596
- children: [
13597
- y,
13598
- /* @__PURE__ */ x("div", {
13599
- className: "eidotter-dialog__body",
13600
- children: f
13601
- }),
13602
- a != null && a !== !1 && /* @__PURE__ */ x("div", {
13603
- className: "eidotter-dialog__footer",
13604
- children: a
13605
- })
13606
- ]
13647
+ className: ({ isEntering: e, isExiting: t }) => $("eidotter-dialog", `eidotter-dialog--${i}`, `eidotter-dialog--${r}`, !g && e && "eidotter-dialog--entering", !g && t && "eidotter-dialog--exiting"),
13648
+ children: /* @__PURE__ */ x(Su, {
13649
+ ref: m,
13650
+ "aria-label": u,
13651
+ "aria-labelledby": v,
13652
+ className: $("eidotter-dialog__container outline-none", f),
13653
+ children: w
13607
13654
  })
13608
13655
  })
13609
13656
  });
13610
13657
  });
13611
- u_.displayName = "DosDialog";
13658
+ g_.displayName = "DosDialog";
13612
13659
  //#endregion
13613
13660
  //#region src/components/Lightbox/components/Lightbox.tsx
13614
- var d_ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: a }) => {
13661
+ var __ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange: a }) => {
13615
13662
  let s = t.length === 0 ? 0 : Math.max(0, Math.min(n, t.length - 1)), [l, u] = m(s);
13616
13663
  c(() => {
13617
13664
  r && u(s);
@@ -13644,7 +13691,7 @@ var d_ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
13644
13691
  p
13645
13692
  ]), t.length === 0) return null;
13646
13693
  let v = Math.max(0, Math.min(l, t.length - 1)), y = t[v], b = v > 0, C = v < t.length - 1;
13647
- return /* @__PURE__ */ x(u_, {
13694
+ return /* @__PURE__ */ x(g_, {
13648
13695
  open: r,
13649
13696
  onOpenChange: (e) => {
13650
13697
  e || i();
@@ -13665,7 +13712,7 @@ var d_ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
13665
13712
  " ]"
13666
13713
  ]
13667
13714
  }),
13668
- end: /* @__PURE__ */ x($p, {
13715
+ end: /* @__PURE__ */ x(am, {
13669
13716
  icon: "Close",
13670
13717
  label: "Close lightbox",
13671
13718
  className: "eidotter-lightbox__close",
@@ -13684,14 +13731,14 @@ var d_ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
13684
13731
  onTouchStart: g,
13685
13732
  onTouchEnd: _
13686
13733
  }),
13687
- /* @__PURE__ */ x($p, {
13734
+ /* @__PURE__ */ x(am, {
13688
13735
  icon: "Chevron Left",
13689
13736
  label: "Previous image",
13690
13737
  className: "eidotter-lightbox__nav eidotter-lightbox__nav--prev",
13691
13738
  onPress: f,
13692
13739
  isDisabled: !b
13693
13740
  }),
13694
- /* @__PURE__ */ x($p, {
13741
+ /* @__PURE__ */ x(am, {
13695
13742
  icon: "Chevron Right",
13696
13743
  label: "Next image",
13697
13744
  className: "eidotter-lightbox__nav eidotter-lightbox__nav--next",
@@ -13706,11 +13753,11 @@ var d_ = ({ images: t, initialIndex: n = 0, isOpen: r, onClose: i, onIndexChange
13706
13753
  })
13707
13754
  });
13708
13755
  };
13709
- d_.displayName = "Lightbox";
13756
+ __.displayName = "Lightbox";
13710
13757
  //#endregion
13711
13758
  //#region src/components/TimelineContainer/components/variants/TimelineEntryCardImage.tsx
13712
- var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13713
- let [r, i] = m(!1), { image: a } = e, o = a.thumbnail || a.src, s = a.link && _g(a.link) ? a.link : void 0;
13759
+ var v_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13760
+ let [r, i] = m(!1), { image: a } = e, o = a.thumbnail || a.src, s = a.link && Cg(a.link) ? a.link : void 0;
13714
13761
  return c(() => {
13715
13762
  t || i(!1);
13716
13763
  }, [t]), s ? /* @__PURE__ */ S("a", {
@@ -13758,13 +13805,13 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13758
13805
  height: a.height
13759
13806
  })
13760
13807
  }),
13761
- /* @__PURE__ */ x(d_, {
13808
+ /* @__PURE__ */ x(__, {
13762
13809
  images: [a],
13763
13810
  isOpen: r,
13764
13811
  onClose: () => i(!1)
13765
13812
  })
13766
13813
  ] });
13767
- }, p_ = ({ images: e, isExpanded: t }) => {
13814
+ }, y_ = ({ images: e, isExpanded: t }) => {
13768
13815
  let [n, r] = m({ phase: "grid" });
13769
13816
  if (c(() => {
13770
13817
  t || r({ phase: "grid" });
@@ -13772,7 +13819,7 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13772
13819
  r((t) => t.phase === "grid" ? t : t.index >= e.length ? { phase: "grid" } : t);
13773
13820
  }, [e.length]), e.length === 0) return null;
13774
13821
  let i = (e, t) => {
13775
- t.link && _g(t.link) || r((t) => t.phase === "focused" && t.index === e ? {
13822
+ t.link && Cg(t.link) || r((t) => t.phase === "focused" && t.index === e ? {
13776
13823
  phase: "lightbox",
13777
13824
  index: e
13778
13825
  } : {
@@ -13783,12 +13830,12 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13783
13830
  return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
13784
13831
  className: "eidotter-timeline-card-gallery__grid",
13785
13832
  role: "list",
13786
- children: e.map((e, t) => /* @__PURE__ */ x(m_, {
13833
+ children: e.map((e, t) => /* @__PURE__ */ x(b_, {
13787
13834
  image: e,
13788
13835
  isFocused: a === t,
13789
13836
  onClick: () => i(t, e)
13790
13837
  }, t))
13791
- }), /* @__PURE__ */ x(d_, {
13838
+ }), /* @__PURE__ */ x(__, {
13792
13839
  images: e,
13793
13840
  isOpen: n.phase === "lightbox",
13794
13841
  initialIndex: n.phase === "lightbox" ? n.index : 0,
@@ -13805,8 +13852,8 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13805
13852
  } : t);
13806
13853
  }
13807
13854
  })] });
13808
- }, m_ = ({ image: e, isFocused: t, onClick: n }) => {
13809
- let r = e.thumbnail || e.src, i = e.link && _g(e.link) ? e.link : void 0;
13855
+ }, b_ = ({ image: e, isFocused: t, onClick: n }) => {
13856
+ let r = e.thumbnail || e.src, i = e.link && Cg(e.link) ? e.link : void 0;
13810
13857
  return i ? /* @__PURE__ */ x("div", {
13811
13858
  role: "listitem",
13812
13859
  className: "eidotter-timeline-card-gallery__cell eidotter-timeline-card-gallery__cell--link",
@@ -13840,7 +13887,7 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13840
13887
  })
13841
13888
  })
13842
13889
  });
13843
- }, h_ = ({ entry: e, isExpanded: t, onSelect: n }) => e.images.length === 0 ? (process.env.NODE_ENV !== "production" && console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("p", {
13890
+ }, x_ = ({ entry: e, isExpanded: t, onSelect: n }) => e.images.length === 0 ? (process.env.NODE_ENV !== "production" && console.error(`[eidotter] TimelineEntryCard kind="gallery" entry "${e.id}" has no images.`), /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("p", {
13844
13891
  className: "eidotter-timeline-card__title",
13845
13892
  children: e.title
13846
13893
  }), /* @__PURE__ */ x("p", {
@@ -13854,11 +13901,11 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13854
13901
  className: "eidotter-timeline-card__title",
13855
13902
  children: e.title
13856
13903
  })
13857
- }), /* @__PURE__ */ x(p_, {
13904
+ }), /* @__PURE__ */ x(y_, {
13858
13905
  images: e.images,
13859
13906
  isExpanded: t
13860
- })] }), g_ = 4, __ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
13861
- let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && _g(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0, g_), p = c.length - f.length;
13907
+ })] }), S_ = 4, C_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
13908
+ let { summary: i, content: a, href: o, hrefLabel: s } = e, c = e.images ?? [], l = c.length > 0, u = o && Cg(o) ? o : void 0, d = l || a != null || u !== void 0, f = c.slice(0, S_), p = c.length - f.length;
13862
13909
  return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S(pi, {
13863
13910
  className: "eidotter-timeline-card__trigger",
13864
13911
  onPress: () => n?.(e.id),
@@ -13908,7 +13955,7 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13908
13955
  className: "eidotter-timeline-card__body-inner",
13909
13956
  inert: !t || void 0,
13910
13957
  children: [
13911
- l && /* @__PURE__ */ x(p_, {
13958
+ l && /* @__PURE__ */ x(y_, {
13912
13959
  images: c,
13913
13960
  isExpanded: t
13914
13961
  }),
@@ -13928,45 +13975,45 @@ var f_ = ({ entry: e, isExpanded: t, onSelect: n }) => {
13928
13975
  ]
13929
13976
  })
13930
13977
  })] });
13931
- }, v_ = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ S("div", {
13978
+ }, w_ = e.memo(({ entry: e, isSelected: t, isExpanded: n = !1, onSelect: r, footer: i, children: a }) => /* @__PURE__ */ S("div", {
13932
13979
  className: $("eidotter-timeline-card", t && "eidotter-timeline-card--selected", n && "eidotter-timeline-card--expanded"),
13933
- children: [y_(e, n, r, a), i && /* @__PURE__ */ x("div", {
13980
+ children: [T_(e, n, r, a), i && /* @__PURE__ */ x("div", {
13934
13981
  className: "eidotter-timeline-card__footer",
13935
13982
  children: i
13936
13983
  })]
13937
13984
  }));
13938
- v_.displayName = "TimelineEntryCard";
13939
- function y_(e, t, n, r) {
13985
+ w_.displayName = "TimelineEntryCard";
13986
+ function T_(e, t, n, r) {
13940
13987
  switch (e.kind) {
13941
- case "text": return /* @__PURE__ */ x(x_, {
13988
+ case "text": return /* @__PURE__ */ x(D_, {
13942
13989
  entry: e,
13943
13990
  isExpanded: t,
13944
13991
  onSelect: n,
13945
13992
  children: r
13946
13993
  });
13947
- case "image": return /* @__PURE__ */ x(f_, {
13994
+ case "image": return /* @__PURE__ */ x(v_, {
13948
13995
  entry: e,
13949
13996
  isExpanded: t,
13950
13997
  onSelect: n
13951
13998
  });
13952
- case "gallery": return /* @__PURE__ */ x(h_, {
13999
+ case "gallery": return /* @__PURE__ */ x(x_, {
13953
14000
  entry: e,
13954
14001
  isExpanded: t,
13955
14002
  onSelect: n
13956
14003
  });
13957
- case "article": return /* @__PURE__ */ x(__, {
14004
+ case "article": return /* @__PURE__ */ x(C_, {
13958
14005
  entry: e,
13959
14006
  isExpanded: t,
13960
14007
  onSelect: n,
13961
14008
  children: r
13962
14009
  });
13963
- default: return b_(e);
14010
+ default: return E_(e);
13964
14011
  }
13965
14012
  }
13966
- function b_(e) {
14013
+ function E_(e) {
13967
14014
  throw Error(`TimelineEntryCard: unhandled entry kind: ${JSON.stringify(e)}`);
13968
14015
  }
13969
- var x_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
14016
+ var D_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
13970
14017
  let i = typeof e.content == "string", a = e.content != null;
13971
14018
  return /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ S(pi, {
13972
14019
  className: "eidotter-timeline-card__trigger",
@@ -14004,7 +14051,7 @@ var x_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
14004
14051
  children: e.content
14005
14052
  })
14006
14053
  })] });
14007
- }, S_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ x("div", {
14054
+ }, O_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => /* @__PURE__ */ x("div", {
14008
14055
  className: "timeline-view timeline-view--month",
14009
14056
  role: "list",
14010
14057
  children: t.map((t) => /* @__PURE__ */ S("div", {
@@ -14012,7 +14059,7 @@ var x_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
14012
14059
  role: "listitem",
14013
14060
  children: [/* @__PURE__ */ x("div", {
14014
14061
  className: "timeline-view__node",
14015
- children: /* @__PURE__ */ x(kg, {
14062
+ children: /* @__PURE__ */ x(Fg, {
14016
14063
  shape: "circle",
14017
14064
  size: "medium",
14018
14065
  variant: "default",
@@ -14023,7 +14070,7 @@ var x_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
14023
14070
  }), /* @__PURE__ */ x("div", {
14024
14071
  className: "timeline-view__content",
14025
14072
  children: t.entries.map((t) => {
14026
- let i = n === t.id, o = () => /* @__PURE__ */ x(v_, {
14073
+ let i = n === t.id, o = () => /* @__PURE__ */ x(w_, {
14027
14074
  entry: t,
14028
14075
  isSelected: i,
14029
14076
  isExpanded: i,
@@ -14038,23 +14085,23 @@ var x_ = ({ entry: e, isExpanded: t, onSelect: n, children: r }) => {
14038
14085
  })]
14039
14086
  }, t.periodStart))
14040
14087
  }));
14041
- S_.displayName = "MonthView";
14088
+ O_.displayName = "MonthView";
14042
14089
  //#endregion
14043
14090
  //#region src/components/Tag/components/Tag.tsx
14044
- var C_ = {
14091
+ var k_ = {
14045
14092
  sm: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
14046
14093
  md: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5",
14047
14094
  lg: "text-dos-text-md px-3 py-1.5 min-h-8 gap-1.5",
14048
14095
  small: "text-dos-text-xs px-2 py-0.5 min-h-6 gap-1",
14049
14096
  medium: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-1.5"
14050
- }, w_ = ({ children: e, variant: t = "default", size: n = "md", color: r, selected: i = !1, closeable: a = !1, disabled: o = !1, onClick: s, onClose: c, className: l, "aria-label": u, ...d }) => {
14051
- let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = tm("eidotter-pop-out", c), g = (e) => {
14097
+ }, A_ = ({ children: e, variant: t = "default", size: n = "md", color: r, selected: i = !1, closeable: a = !1, disabled: o = !1, onClick: s, onClose: c, className: l, "aria-label": u, ...d }) => {
14098
+ let f = !!s && !o, { isClosing: p, triggerClose: m, handleAnimationEnd: h } = sm("eidotter-pop-out", c), g = (e) => {
14052
14099
  o || ((e.key === "Enter" || e.key === " ") && s && (e.preventDefault(), s(e)), (e.key === "Delete" || e.key === "Backspace") && a && c && (e.preventDefault(), m()));
14053
14100
  }, _ = () => {
14054
14101
  o || m();
14055
14102
  }, v = r ? { "--tag-color": "var(" + r + ")" } : void 0;
14056
14103
  return /* @__PURE__ */ S("span", {
14057
- className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", C_[n] || C_.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
14104
+ className: $("inline-flex items-center justify-center", "font-dos leading-none whitespace-nowrap select-none", "rounded-dos-sm uppercase tracking-wider", k_[n] || k_.md, "eidotter-tag", "eidotter-tag--" + t, i && "eidotter-tag--selected", o && "opacity-50 cursor-not-allowed", p && "eidotter-tag--closing", f && "cursor-pointer", l),
14058
14105
  style: v,
14059
14106
  onClick: f ? (e) => !o && s?.(e) : void 0,
14060
14107
  onKeyDown: g,
@@ -14071,7 +14118,7 @@ var C_ = {
14071
14118
  children: [/* @__PURE__ */ x("span", {
14072
14119
  className: "eidotter-tag__content",
14073
14120
  children: e
14074
- }), a && /* @__PURE__ */ x($p, {
14121
+ }), a && /* @__PURE__ */ x(am, {
14075
14122
  icon: "Close",
14076
14123
  label: "Remove " + (typeof e == "string" ? e : "tag"),
14077
14124
  variant: "bare",
@@ -14081,17 +14128,17 @@ var C_ = {
14081
14128
  isDisabled: o
14082
14129
  })]
14083
14130
  });
14084
- }, T_ = {
14131
+ }, j_ = {
14085
14132
  tight: "gap-1",
14086
14133
  normal: "gap-2",
14087
14134
  loose: "gap-3"
14088
- }, E_ = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ x("div", {
14089
- className: $("flex", n ? "flex-wrap" : "flex-nowrap", T_[t] || T_.normal, r),
14135
+ }, M_ = ({ children: e, gap: t = "normal", wrap: n = !0, className: r, "aria-label": i, ...a }) => /* @__PURE__ */ x("div", {
14136
+ className: $("flex", n ? "flex-wrap" : "flex-nowrap", j_[t] || j_.normal, r),
14090
14137
  role: "group",
14091
14138
  "aria-label": i,
14092
14139
  ...a,
14093
14140
  children: e
14094
- }), D_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
14141
+ }), N_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
14095
14142
  className: "timeline-view timeline-view--day",
14096
14143
  role: "list",
14097
14144
  children: t.map((t) => /* @__PURE__ */ S("div", {
@@ -14099,7 +14146,7 @@ var C_ = {
14099
14146
  role: "listitem",
14100
14147
  children: [/* @__PURE__ */ x("div", {
14101
14148
  className: "timeline-view__node",
14102
- children: /* @__PURE__ */ x(kg, {
14149
+ children: /* @__PURE__ */ x(Fg, {
14103
14150
  shape: "circle",
14104
14151
  size: "medium",
14105
14152
  variant: "default",
@@ -14109,15 +14156,15 @@ var C_ = {
14109
14156
  }), /* @__PURE__ */ x("div", {
14110
14157
  className: "timeline-view__content",
14111
14158
  children: t.entries.map((t) => {
14112
- let a = n === t.id, o = () => /* @__PURE__ */ x(v_, {
14159
+ let a = n === t.id, o = () => /* @__PURE__ */ x(w_, {
14113
14160
  entry: t,
14114
14161
  isSelected: a,
14115
14162
  isExpanded: a,
14116
14163
  onSelect: r,
14117
- footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ x(E_, {
14164
+ footer: t.tags && t.tags.length > 0 ? /* @__PURE__ */ x(M_, {
14118
14165
  gap: "tight",
14119
14166
  "aria-label": `Tags for ${t.title}`,
14120
- children: t.tags.map((e) => /* @__PURE__ */ x(w_, {
14167
+ children: t.tags.map((e) => /* @__PURE__ */ x(A_, {
14121
14168
  size: "small",
14122
14169
  variant: "outlined",
14123
14170
  children: e
@@ -14133,10 +14180,10 @@ var C_ = {
14133
14180
  })]
14134
14181
  }, t.periodStart))
14135
14182
  }));
14136
- D_.displayName = "DayView";
14183
+ N_.displayName = "DayView";
14137
14184
  //#endregion
14138
14185
  //#region src/components/TimelineContainer/components/views/HourView.tsx
14139
- var O_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
14186
+ var P_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry: i }) => /* @__PURE__ */ x("div", {
14140
14187
  className: "timeline-view timeline-view--hour",
14141
14188
  role: "list",
14142
14189
  children: t.map((t) => /* @__PURE__ */ S("div", {
@@ -14144,7 +14191,7 @@ var O_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
14144
14191
  role: "listitem",
14145
14192
  children: [/* @__PURE__ */ x("div", {
14146
14193
  className: "timeline-view__node",
14147
- children: /* @__PURE__ */ x(kg, {
14194
+ children: /* @__PURE__ */ x(Fg, {
14148
14195
  shape: "circle",
14149
14196
  size: "medium",
14150
14197
  variant: "default",
@@ -14154,22 +14201,22 @@ var O_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
14154
14201
  }), /* @__PURE__ */ x("div", {
14155
14202
  className: "timeline-view__content",
14156
14203
  children: t.entries.map((t) => {
14157
- let a = n === t.id, o = () => /* @__PURE__ */ S(v_, {
14204
+ let a = n === t.id, o = () => /* @__PURE__ */ S(w_, {
14158
14205
  entry: t,
14159
14206
  isSelected: a,
14160
14207
  isExpanded: !0,
14161
14208
  onSelect: r,
14162
14209
  footer: /* @__PURE__ */ S("div", {
14163
14210
  className: "timeline-view__entry-footer",
14164
- children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ x(E_, {
14211
+ children: [t.tags && t.tags.length > 0 && /* @__PURE__ */ x(M_, {
14165
14212
  gap: "tight",
14166
14213
  "aria-label": `Tags for ${t.title}`,
14167
- children: t.tags.map((e) => /* @__PURE__ */ x(w_, {
14214
+ children: t.tags.map((e) => /* @__PURE__ */ x(A_, {
14168
14215
  size: "small",
14169
14216
  variant: "outlined",
14170
14217
  children: e
14171
14218
  }, e))
14172
- }), t.type && /* @__PURE__ */ x(pg, {
14219
+ }), t.type && /* @__PURE__ */ x(yg, {
14173
14220
  variant: "default",
14174
14221
  size: "small",
14175
14222
  children: t.type
@@ -14179,7 +14226,7 @@ var O_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
14179
14226
  /* @__PURE__ */ x("time", {
14180
14227
  className: "timeline-view__timestamp",
14181
14228
  dateTime: t.date,
14182
- children: Ug(t.date)
14229
+ children: Yg(t.date)
14183
14230
  }),
14184
14231
  t.kind === "text" && t.content !== void 0 && /* @__PURE__ */ x("div", {
14185
14232
  className: "timeline-view__entry-content",
@@ -14200,29 +14247,29 @@ var O_ = e.memo(({ buckets: t, selectedEntryId: n, onEntrySelect: r, renderEntry
14200
14247
  })]
14201
14248
  }, t.periodStart))
14202
14249
  }));
14203
- O_.displayName = "HourView";
14250
+ P_.displayName = "HourView";
14204
14251
  //#endregion
14205
14252
  //#region src/components/TimelineContainer/components/TimelineContent.tsx
14206
- var k_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
14253
+ var F_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBucketClick: i, renderEntry: a }) => {
14207
14254
  switch (e) {
14208
- case "year": return /* @__PURE__ */ x(c_, {
14255
+ case "year": return /* @__PURE__ */ x(m_, {
14209
14256
  buckets: t,
14210
14257
  onBucketClick: i
14211
14258
  });
14212
- case "month": return /* @__PURE__ */ x(S_, {
14259
+ case "month": return /* @__PURE__ */ x(O_, {
14213
14260
  buckets: t,
14214
14261
  selectedEntryId: n,
14215
14262
  onEntrySelect: r,
14216
14263
  onBucketClick: i,
14217
14264
  renderEntry: a
14218
14265
  });
14219
- case "day": return /* @__PURE__ */ x(D_, {
14266
+ case "day": return /* @__PURE__ */ x(N_, {
14220
14267
  buckets: t,
14221
14268
  selectedEntryId: n,
14222
14269
  onEntrySelect: r,
14223
14270
  renderEntry: a
14224
14271
  });
14225
- case "hour": return /* @__PURE__ */ x(O_, {
14272
+ case "hour": return /* @__PURE__ */ x(P_, {
14226
14273
  buckets: t,
14227
14274
  selectedEntryId: n,
14228
14275
  onEntrySelect: r,
@@ -14230,7 +14277,7 @@ var k_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
14230
14277
  });
14231
14278
  default: return e;
14232
14279
  }
14233
- }, A_ = ({ entries: e, selectedEntryId: t, onSelect: n, onDeselect: r, renderEntry: i, formatDate: a }) => {
14280
+ }, I_ = ({ entries: e, selectedEntryId: t, onSelect: n, onDeselect: r, renderEntry: i, formatDate: a }) => {
14234
14281
  let s = e.find((e) => e.id === t) ?? null, l = p(null), u = p(null), d = p(t);
14235
14282
  c(() => {
14236
14283
  let e = d.current;
@@ -14275,7 +14322,7 @@ var k_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
14275
14322
  children: [/* @__PURE__ */ x("span", {
14276
14323
  className: "eidotter-timeline-md__rail-node",
14277
14324
  "aria-hidden": "true",
14278
- children: /* @__PURE__ */ x(kg, {
14325
+ children: /* @__PURE__ */ x(Fg, {
14279
14326
  shape: "circle",
14280
14327
  size: "sm",
14281
14328
  variant: "default",
@@ -14309,7 +14356,7 @@ var k_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
14309
14356
  }), /* @__PURE__ */ x("div", {
14310
14357
  className: "eidotter-timeline-md__detail-body",
14311
14358
  children: ((e) => {
14312
- let t = () => /* @__PURE__ */ x(v_, {
14359
+ let t = () => /* @__PURE__ */ x(w_, {
14313
14360
  entry: e,
14314
14361
  isSelected: !0,
14315
14362
  isExpanded: !0
@@ -14328,19 +14375,19 @@ var k_ = ({ zoomLevel: e, buckets: t, selectedEntryId: n, onEntrySelect: r, onBu
14328
14375
  })]
14329
14376
  });
14330
14377
  };
14331
- A_.displayName = "MasterDetailLayout";
14378
+ I_.displayName = "MasterDetailLayout";
14332
14379
  //#endregion
14333
14380
  //#region src/components/TimelineContainer/components/TimelineContainer.tsx
14334
- var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: a, defaultSelectedEntryId: s, onSelectEntry: l, sortOrder: u = "desc", scrollToZoom: f = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
14335
- let b = t === "static", C = t === "feed", w = b || C, T = t === "master-detail", E = p(null), D = p(null), [O, k] = m(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: P, isDrillDownEnabled: F, drillDown: I, drillUp: L, reset: ee } = jg({
14381
+ var L_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel: r = "month", onZoomChange: i, selectedEntryId: a, defaultSelectedEntryId: s, onSelectEntry: l, sortOrder: u = "desc", scrollToZoom: f = !0, keyboardShortcuts: h = !0, renderEntry: g, pageSize: _ = 10, onLoadMore: v, ...y }) => {
14382
+ let b = t === "static", C = t === "feed", w = b || C, T = t === "master-detail", E = p(null), D = p(null), [O, k] = m(""), { zoomLevel: A, canZoomIn: j, canZoomOut: M, breadcrumbs: N, currentPeriod: P, isDrillDownEnabled: F, drillDown: I, drillUp: L, reset: ee } = Lg({
14336
14383
  zoomLevel: n,
14337
14384
  defaultZoomLevel: r,
14338
14385
  onZoomChange: i
14339
- }), { selectedEntryId: R, select: te, toggle: z, deselect: B } = Mg({
14386
+ }), { selectedEntryId: R, select: te, toggle: z, deselect: B } = Rg({
14340
14387
  selectedEntryId: a,
14341
14388
  defaultSelectedEntryId: s,
14342
14389
  onSelectEntry: l
14343
- }), ne = d(() => a_(e, A, u), [
14390
+ }), ne = d(() => d_(e, A, u), [
14344
14391
  e,
14345
14392
  A,
14346
14393
  u
@@ -14349,7 +14396,7 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14349
14396
  "month",
14350
14397
  "day",
14351
14398
  "hour"
14352
- ][N.length - 1] : null, V = d(() => P && re ? i_(ne, P, re) : ne, [
14399
+ ][N.length - 1] : null, V = d(() => P && re ? u_(ne, P, re) : ne, [
14353
14400
  ne,
14354
14401
  P,
14355
14402
  re
@@ -14463,7 +14510,7 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14463
14510
  "aria-atomic": "true",
14464
14511
  children: O
14465
14512
  }),
14466
- !w && !T && /* @__PURE__ */ x(o_, {
14513
+ !w && !T && /* @__PURE__ */ x(f_, {
14467
14514
  zoomLevel: A,
14468
14515
  canZoomIn: j,
14469
14516
  canZoomOut: M,
@@ -14482,12 +14529,12 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14482
14529
  className: "eidotter-timeline-container__empty",
14483
14530
  role: "status",
14484
14531
  children: [/* @__PURE__ */ x("p", { children: "C:\\TIMELINE> No entries found." }), /* @__PURE__ */ x("p", { children: "_" })]
14485
- }) : b ? /* @__PURE__ */ x(s_, { children: /* @__PURE__ */ x("div", {
14532
+ }) : b ? /* @__PURE__ */ x(p_, { children: /* @__PURE__ */ x("div", {
14486
14533
  className: "eidotter-timeline-container__static",
14487
14534
  role: "list",
14488
14535
  "aria-label": "Timeline",
14489
14536
  children: U.map((e) => {
14490
- let t = () => /* @__PURE__ */ x(v_, {
14537
+ let t = () => /* @__PURE__ */ x(w_, {
14491
14538
  entry: e,
14492
14539
  isSelected: !1,
14493
14540
  isExpanded: !0
@@ -14497,7 +14544,7 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14497
14544
  role: "listitem",
14498
14545
  children: [/* @__PURE__ */ x("div", {
14499
14546
  className: "timeline-view__node",
14500
- children: /* @__PURE__ */ x(kg, {
14547
+ children: /* @__PURE__ */ x(Fg, {
14501
14548
  shape: "circle",
14502
14549
  size: "medium",
14503
14550
  variant: "default",
@@ -14511,12 +14558,12 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14511
14558
  }) : t()]
14512
14559
  }, e.id);
14513
14560
  })
14514
- }) }) : C ? /* @__PURE__ */ S(s_, { children: [/* @__PURE__ */ x("div", {
14561
+ }) }) : C ? /* @__PURE__ */ S(p_, { children: [/* @__PURE__ */ x("div", {
14515
14562
  className: "eidotter-timeline-container__feed",
14516
14563
  role: "list",
14517
14564
  "aria-label": "Timeline",
14518
14565
  children: le.map((e) => {
14519
- let t = R === e.id, n = () => /* @__PURE__ */ x(v_, {
14566
+ let t = R === e.id, n = () => /* @__PURE__ */ x(w_, {
14520
14567
  entry: e,
14521
14568
  isSelected: t,
14522
14569
  isExpanded: t,
@@ -14527,7 +14574,7 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14527
14574
  role: "listitem",
14528
14575
  children: [/* @__PURE__ */ x("div", {
14529
14576
  className: "timeline-view__node",
14530
- children: /* @__PURE__ */ x(kg, {
14577
+ children: /* @__PURE__ */ x(Fg, {
14531
14578
  shape: "circle",
14532
14579
  size: "medium",
14533
14580
  variant: "default",
@@ -14547,14 +14594,14 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14547
14594
  onClick: de,
14548
14595
  "aria-label": `Load more entries (showing ${ce} of ${U.length})`,
14549
14596
  children: "LOAD MORE..."
14550
- })] }) : T ? /* @__PURE__ */ x(A_, {
14597
+ })] }) : T ? /* @__PURE__ */ x(I_, {
14551
14598
  entries: U,
14552
14599
  selectedEntryId: R,
14553
14600
  onSelect: te,
14554
14601
  onDeselect: B,
14555
14602
  renderEntry: g,
14556
14603
  formatDate: pe
14557
- }) : V.length === 0 && P ? /* @__PURE__ */ x(s_, { children: /* @__PURE__ */ S("div", {
14604
+ }) : V.length === 0 && P ? /* @__PURE__ */ x(p_, { children: /* @__PURE__ */ S("div", {
14558
14605
  className: "eidotter-timeline-container__empty",
14559
14606
  role: "status",
14560
14607
  children: [/* @__PURE__ */ S("p", { children: [
@@ -14562,7 +14609,7 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14562
14609
  N[N.length - 1]?.label ?? "this period",
14563
14610
  "."
14564
14611
  ] }), /* @__PURE__ */ x("p", { children: "_" })]
14565
- }) }) : /* @__PURE__ */ x(s_, { children: /* @__PURE__ */ x(k_, {
14612
+ }) }) : /* @__PURE__ */ x(p_, { children: /* @__PURE__ */ x(F_, {
14566
14613
  zoomLevel: A,
14567
14614
  buckets: V,
14568
14615
  selectedEntryId: R,
@@ -14573,15 +14620,15 @@ var j_ = ({ entries: e, mode: t = "interactive", zoomLevel: n, defaultZoomLevel:
14573
14620
  })
14574
14621
  ]
14575
14622
  });
14576
- }, M_ = {
14623
+ }, R_ = {
14577
14624
  milestone: "milestone",
14578
14625
  project: "project",
14579
14626
  event: "event"
14580
- }, N_ = (e) => e.tags?.[0];
14581
- function P_(e) {
14627
+ }, z_ = (e) => e.tags?.[0];
14628
+ function B_(e) {
14582
14629
  return e.kind === "article" ? e.href : void 0;
14583
14630
  }
14584
- function F_({ entries: e, categories: t, categoryOf: n = N_, activeCategory: r, defaultCategory: i = null, onCategoryChange: a, linkComponent: o, className: s, ...c }) {
14631
+ function V_({ entries: e, categories: t, categoryOf: n = z_, activeCategory: r, defaultCategory: i = null, onCategoryChange: a, linkComponent: o, className: s, ...c }) {
14585
14632
  let l = o ?? "a", u = r !== void 0, [f, p] = m(i), h = u ? r : f, g = (e) => {
14586
14633
  u || p(e), a?.(e);
14587
14634
  }, _ = d(() => {
@@ -14638,7 +14685,7 @@ function F_({ entries: e, categories: t, categoryOf: n = N_, activeCategory: r,
14638
14685
  className: "eidotter-feed__list",
14639
14686
  "aria-label": c["aria-label"] ?? "Timeline feed",
14640
14687
  children: b.map((e) => {
14641
- let t = n(e), r = t ? _.get(t) : void 0, i = P_(e), a = i && _g(i) ? i : void 0, o = e.type ? M_[e.type] : void 0;
14688
+ let t = n(e), r = t ? _.get(t) : void 0, i = B_(e), a = i && Cg(i) ? i : void 0, o = e.type ? R_[e.type] : void 0;
14642
14689
  return /* @__PURE__ */ S("li", {
14643
14690
  className: "eidotter-feed__row",
14644
14691
  children: [
@@ -14672,20 +14719,20 @@ function F_({ entries: e, categories: t, categoryOf: n = N_, activeCategory: r,
14672
14719
  }
14673
14720
  //#endregion
14674
14721
  //#region src/components/TimelinePage/components/TimelinePage.tsx
14675
- var I_ = (e) => e.tags?.[0], L_ = (e) => e.kind === "article" ? e.summary : void 0;
14676
- function R_(e) {
14722
+ var H_ = (e) => e.tags?.[0], U_ = (e) => e.kind === "article" ? e.summary : void 0;
14723
+ function W_(e) {
14677
14724
  if (e.kind === "image") return e.image;
14678
14725
  if (e.kind === "gallery") return e.images[0];
14679
14726
  if (e.kind === "article") return e.images?.[0];
14680
14727
  }
14681
- function z_(e) {
14728
+ function G_(e) {
14682
14729
  return e.kind === "article" ? e.href : void 0;
14683
14730
  }
14684
- function B_(e) {
14731
+ function K_(e) {
14685
14732
  let t = new Date(e).getFullYear();
14686
14733
  return Number.isNaN(t) ? e.slice(0, 4) : String(t);
14687
14734
  }
14688
- function V_({ entries: e, categories: t, categoryOf: n = I_, descriptionOf: r = L_, activeCategory: i, defaultCategory: a = null, onCategoryChange: o, brand: s, preview: c = !0, linkComponent: l, className: u, ...f }) {
14735
+ function q_({ entries: e, categories: t, categoryOf: n = H_, descriptionOf: r = U_, activeCategory: i, defaultCategory: a = null, onCategoryChange: o, brand: s, preview: c = !0, linkComponent: l, className: u, ...f }) {
14689
14736
  let p = l ?? "a", h = i !== void 0, [g, _] = m(a), v = h ? i : g, y = (e) => {
14690
14737
  h || _(e), o?.(e);
14691
14738
  }, b = d(() => new Intl.DateTimeFormat("en-US", {
@@ -14704,14 +14751,14 @@ function V_({ entries: e, categories: t, categoryOf: n = I_, descriptionOf: r =
14704
14751
  ]), T = d(() => {
14705
14752
  let e = /* @__PURE__ */ new Map();
14706
14753
  for (let t of w) {
14707
- let n = B_(t.date), r = e.get(n);
14754
+ let n = K_(t.date), r = e.get(n);
14708
14755
  r ? r.push(t) : e.set(n, [t]);
14709
14756
  }
14710
14757
  return Array.from(e.entries()).map(([e, t]) => ({
14711
14758
  year: e,
14712
14759
  entries: [...t].sort((e, t) => t.date.localeCompare(e.date))
14713
14760
  })).sort((e, t) => t.year.localeCompare(e.year));
14714
- }, [w]), [E, D] = m(null), O = d(() => w.find((e) => e.id === E) ?? w[0], [w, E]), k = O ? R_(O) : void 0;
14761
+ }, [w]), [E, D] = m(null), O = d(() => w.find((e) => e.id === E) ?? w[0], [w, E]), k = O ? W_(O) : void 0;
14715
14762
  return /* @__PURE__ */ S("section", {
14716
14763
  className: $("eidotter-blog font-dos", u),
14717
14764
  ...f,
@@ -14765,7 +14812,7 @@ function V_({ entries: e, categories: t, categoryOf: n = I_, descriptionOf: r =
14765
14812
  }), /* @__PURE__ */ x("ol", {
14766
14813
  className: "eidotter-blog__entries",
14767
14814
  children: e.entries.map((e) => {
14768
- let t = z_(e), n = t && _g(t) ? t : void 0, i = r(e), a = () => D(e.id);
14815
+ let t = G_(e), n = t && Cg(t) ? t : void 0, i = r(e), a = () => D(e.id);
14769
14816
  return /* @__PURE__ */ S("li", {
14770
14817
  className: $("eidotter-blog__entry", O?.id === e.id && "eidotter-blog__entry--focused"),
14771
14818
  onMouseEnter: a,
@@ -14827,7 +14874,7 @@ function V_({ entries: e, categories: t, categoryOf: n = I_, descriptionOf: r =
14827
14874
  }
14828
14875
  //#endregion
14829
14876
  //#region src/components/Modal/components/Modal.tsx
14830
- var H_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, size: o = "md", isDismissable: s = !0, className: l }, u) => {
14877
+ var J_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, footer: a, size: o = "md", isDismissable: s = !0, className: l }, u) => {
14831
14878
  let d = p(e), f = p(!1);
14832
14879
  c(() => {
14833
14880
  e !== d.current && (d.current = e, f.current || (t?.(e), e || n?.()), f.current = !1);
@@ -14839,7 +14886,7 @@ var H_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
14839
14886
  let m = (e) => {
14840
14887
  f.current = !0, t?.(e), e || n?.();
14841
14888
  };
14842
- return /* @__PURE__ */ x(u_, {
14889
+ return /* @__PURE__ */ x(g_, {
14843
14890
  ref: u,
14844
14891
  open: e,
14845
14892
  onOpenChange: m,
@@ -14849,7 +14896,7 @@ var H_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
14849
14896
  className: $("eidotter-modal__container", l),
14850
14897
  head: {
14851
14898
  title: r,
14852
- end: /* @__PURE__ */ x($p, {
14899
+ end: /* @__PURE__ */ x(am, {
14853
14900
  icon: "Close",
14854
14901
  label: "Close modal",
14855
14902
  className: "eidotter-modal__close",
@@ -14866,44 +14913,42 @@ var H_ = i(({ isOpen: e, onOpenChange: t, onClose: n, title: r, children: i, foo
14866
14913
  })
14867
14914
  });
14868
14915
  });
14869
- H_.displayName = "Modal";
14916
+ J_.displayName = "Modal";
14870
14917
  //#endregion
14871
14918
  //#region src/hooks/useTextScramble.ts
14872
- var U_ = "░▒▓█│┤┐└┴┬├─┼", W_ = 4;
14873
- function G_(e, t) {
14874
- let { speed: n = 40, characters: r = U_, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, s] = m(() => {
14875
- if (!i || em()) return e;
14876
- let t = "";
14877
- for (let n = 0; n < e.length; n++) e[n] === " " ? t += " " : t += r[Math.floor(Math.random() * r.length)];
14878
- return t;
14879
- }), [l, u] = m(!1), d = p(0);
14880
- return c(() => {
14881
- if (!i || em()) {
14882
- s(e), u(!1);
14919
+ var Y_ = "░▒▓█│┤┐└┴┬├─┼", X_ = 4, Z_ = typeof window < "u" ? u : c;
14920
+ function Q_(e, t, n) {
14921
+ let r = "";
14922
+ for (let i = 0; i < e.length; i++) i < n || e[i] === " " ? r += e[i] : r += t[Math.floor(Math.random() * t.length)];
14923
+ return r;
14924
+ }
14925
+ function $_(e, t) {
14926
+ let { speed: n = 40, characters: r = Y_, enabled: i = !0, delay: a = 0 } = t ?? {}, [o, s] = m(e), [c, l] = m(!1), u = p(0);
14927
+ return Z_(() => {
14928
+ if (!i || om()) {
14929
+ s(e), l(!1);
14883
14930
  return;
14884
14931
  }
14885
- let t = 0, o = 0, c = 0, l = a;
14886
- u(!0);
14932
+ let t = 0, o = 0, c = 0, d = a;
14933
+ s(Q_(e, r, 0)), l(!0);
14887
14934
  let f = (i) => {
14888
14935
  c ||= i;
14889
14936
  let a = i - c;
14890
- if (l > 0) {
14891
- l -= a, c = i, d.current = requestAnimationFrame(f);
14937
+ if (d > 0) {
14938
+ d -= a, c = i, u.current = requestAnimationFrame(f);
14892
14939
  return;
14893
14940
  }
14894
14941
  if (a >= n) {
14895
- if (c = i, o++, o >= W_ && (t++, o = 0), t >= e.length) {
14896
- s(e), u(!1);
14942
+ if (c = i, o++, o >= X_ && (t++, o = 0), t >= e.length) {
14943
+ s(e), l(!1);
14897
14944
  return;
14898
14945
  }
14899
- let n = "";
14900
- for (let i = 0; i < e.length; i++) i < t ? n += e[i] : e[i] === " " ? n += " " : n += r[Math.floor(Math.random() * r.length)];
14901
- s(n);
14946
+ s(Q_(e, r, t));
14902
14947
  }
14903
- d.current = requestAnimationFrame(f);
14948
+ u.current = requestAnimationFrame(f);
14904
14949
  };
14905
- return d.current = requestAnimationFrame(f), () => {
14906
- d.current && cancelAnimationFrame(d.current);
14950
+ return u.current = requestAnimationFrame(f), () => {
14951
+ u.current && cancelAnimationFrame(u.current);
14907
14952
  };
14908
14953
  }, [
14909
14954
  e,
@@ -14913,12 +14958,12 @@ function G_(e, t) {
14913
14958
  a
14914
14959
  ]), {
14915
14960
  text: o,
14916
- isScrambling: l
14961
+ isScrambling: c
14917
14962
  };
14918
14963
  }
14919
14964
  //#endregion
14920
14965
  //#region src/components/Stat/components/Stat.tsx
14921
- var K_ = {
14966
+ var ev = {
14922
14967
  sm: {
14923
14968
  root: "gap-0.5",
14924
14969
  label: "text-dos-text-xs",
@@ -14955,23 +15000,23 @@ var K_ = {
14955
15000
  value: "text-dos-display-md",
14956
15001
  trend: "text-dos-text-md"
14957
15002
  }
14958
- }, q_ = {
15003
+ }, tv = {
14959
15004
  up: "text-dos-text-success",
14960
15005
  down: "text-dos-text-error",
14961
15006
  neutral: "text-dos-text-brand"
14962
- }, J_ = {
15007
+ }, nv = {
14963
15008
  up: "▲",
14964
15009
  down: "▼",
14965
15010
  neutral: "►"
14966
- }, Y_ = {
15011
+ }, rv = {
14967
15012
  up: "increasing",
14968
15013
  down: "decreasing",
14969
15014
  neutral: "unchanged"
14970
- }, X_ = i(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, unit: o, note: s, target: c, className: l, ...u }, d) => {
14971
- let { text: f } = G_(String(t), {
15015
+ }, iv = i(({ label: e, value: t, trend: n, trendValue: r, size: i = "md", scramble: a = !1, unit: o, note: s, target: c, className: l, ...u }, d) => {
15016
+ let { text: f } = $_(String(t), {
14972
15017
  speed: 30,
14973
15018
  enabled: a
14974
- }), p = a ? f : String(t), m = K_[i] || K_.md;
15019
+ }), p = a ? f : String(t), m = ev[i] || ev.md;
14975
15020
  return /* @__PURE__ */ S("div", {
14976
15021
  ref: d,
14977
15022
  className: $("flex flex-col font-dos", "eidotter-stat", m.root, l),
@@ -14983,9 +15028,9 @@ var K_ = {
14983
15028
  }),
14984
15029
  /* @__PURE__ */ S("span", {
14985
15030
  className: $("text-dos-text-accent font-bold leading-none tabular-nums", m.value),
14986
- children: [p, o && /* @__PURE__ */ x("span", {
14987
- className: "eidotter-stat__unit ml-1 text-[0.5em] font-normal text-dos-text-brand",
14988
- children: o
15031
+ children: [p, o && /* @__PURE__ */ S("span", {
15032
+ className: "eidotter-stat__unit text-[0.5em] font-normal text-dos-text-brand",
15033
+ children: [" ", o]
14989
15034
  })]
14990
15035
  }),
14991
15036
  s && /* @__PURE__ */ x("span", {
@@ -14997,12 +15042,12 @@ var K_ = {
14997
15042
  children: c
14998
15043
  }),
14999
15044
  n && /* @__PURE__ */ S("span", {
15000
- className: $("inline-flex items-center gap-1 leading-none", q_[n], m.trend),
15001
- "aria-label": `Trend: ${Y_[n]}${r ? `, ${r}` : ""}`,
15045
+ className: $("inline-flex items-center gap-1 leading-none", tv[n], m.trend),
15046
+ "aria-label": `Trend: ${rv[n]}${r ? `, ${r}` : ""}`,
15002
15047
  children: [/* @__PURE__ */ x("span", {
15003
15048
  className: "text-[0.8em]",
15004
15049
  "aria-hidden": "true",
15005
- children: J_[n]
15050
+ children: nv[n]
15006
15051
  }), r && /* @__PURE__ */ x("span", {
15007
15052
  className: "tabular-nums",
15008
15053
  children: r
@@ -15011,17 +15056,17 @@ var K_ = {
15011
15056
  ]
15012
15057
  });
15013
15058
  });
15014
- X_.displayName = "Stat";
15059
+ iv.displayName = "Stat";
15015
15060
  //#endregion
15016
15061
  //#region src/components/FilterBar/components/FilterBar.tsx
15017
- var Z_ = {
15062
+ var av = {
15018
15063
  sm: "eidotter-filter-bar--sm",
15019
15064
  md: "eidotter-filter-bar--md",
15020
15065
  lg: "eidotter-filter-bar--lg",
15021
15066
  small: "eidotter-filter-bar--sm",
15022
15067
  medium: "eidotter-filter-bar--md",
15023
15068
  large: "eidotter-filter-bar--lg"
15024
- }, Q_ = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: a = "All", size: s = "md", onChange: c, className: l, ...u }) => {
15069
+ }, ov = ({ items: e, activeIds: t, defaultActiveIds: n = [], mode: r = "multi", showAll: i = !1, allLabel: a = "All", size: s = "md", onChange: c, className: l, ...u }) => {
15025
15070
  let [d, f] = m(n), h = p(null), g = t !== void 0, _ = g ? t : d, v = e.filter((e) => !e.disabled).map((e) => e.id), y = _.length === 0, b = o((e) => {
15026
15071
  g || f(e), c?.(e);
15027
15072
  }, [g, c]), C = o((e) => {
@@ -15062,7 +15107,7 @@ var Z_ = {
15062
15107
  }, [T]), D = i && y ? "__all__" : _.length > 0 ? _[0] : i ? "__all__" : v[0] || null;
15063
15108
  return /* @__PURE__ */ S("div", {
15064
15109
  ref: h,
15065
- className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar", Z_[s] || Z_.md, l),
15110
+ className: $("inline-flex flex-wrap items-center gap-1 p-1 font-dos max-w-full", "bg-dos-bg-secondary border border-dos-border-default rounded-dos-sm", "eidotter-filter-bar", av[s] || av.md, l),
15066
15111
  role: "toolbar",
15067
15112
  onKeyDown: E,
15068
15113
  ...u,
@@ -15095,7 +15140,7 @@ var Z_ = {
15095
15140
  }, e.id);
15096
15141
  })]
15097
15142
  });
15098
- }, $_ = (e) => {
15143
+ }, sv = (e) => {
15099
15144
  if (!e) return !1;
15100
15145
  try {
15101
15146
  let t = new URL(e);
@@ -15110,7 +15155,7 @@ var Z_ = {
15110
15155
  };
15111
15156
  //#endregion
15112
15157
  //#region src/components/InlineExpand/components/InlineExpand.tsx
15113
- function ev(e) {
15158
+ function cv(e) {
15114
15159
  try {
15115
15160
  let { hostname: t } = new URL(e);
15116
15161
  return `https://www.google.com/s2/favicons?domain=${encodeURIComponent(t)}&sz=32`;
@@ -15118,7 +15163,7 @@ function ev(e) {
15118
15163
  return null;
15119
15164
  }
15120
15165
  }
15121
- var tv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
15166
+ var lv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onToggle: i, sources: a = [], className: o, ...s }) => {
15122
15167
  let [c, u] = m(n), [d, f] = m({}), h = l(), g = p(null), _ = r !== void 0, v = _ ? r : c, y = () => {
15123
15168
  let e = !v;
15124
15169
  _ || u(e), i?.(e);
@@ -15164,7 +15209,7 @@ var tv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
15164
15209
  className: "eidotter-inline-expand__source-item",
15165
15210
  role: "listitem",
15166
15211
  children: /* @__PURE__ */ x("a", {
15167
- href: $_(e.url) ? e.url : void 0,
15212
+ href: sv(e.url) ? e.url : void 0,
15168
15213
  className: "eidotter-inline-expand__source-link",
15169
15214
  target: "_blank",
15170
15215
  rel: "noopener noreferrer",
@@ -15177,7 +15222,7 @@ var tv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
15177
15222
  "aria-hidden": "true",
15178
15223
  children: "[→]"
15179
15224
  });
15180
- let n = !!e.favicon && $_(e.favicon);
15225
+ let n = !!e.favicon && sv(e.favicon);
15181
15226
  if (!t && n) return /* @__PURE__ */ x("img", {
15182
15227
  className: "eidotter-inline-expand__source-favicon",
15183
15228
  src: e.favicon,
@@ -15190,7 +15235,7 @@ var tv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
15190
15235
  [e.url]: "google"
15191
15236
  }))
15192
15237
  });
15193
- let r = ev(e.url);
15238
+ let r = cv(e.url);
15194
15239
  return r ? /* @__PURE__ */ x("img", {
15195
15240
  className: "eidotter-inline-expand__source-favicon",
15196
15241
  src: r,
@@ -15214,34 +15259,34 @@ var tv = ({ children: e, content: t, defaultExpanded: n = !1, expanded: r, onTog
15214
15259
  ]
15215
15260
  })] })]
15216
15261
  });
15217
- }, nv = {
15262
+ }, uv = {
15218
15263
  horizontal: "h-px w-full",
15219
15264
  vertical: "w-px h-full"
15220
- }, rv = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ x("div", {
15265
+ }, dv = ({ orientation: e = "horizontal", className: t }) => /* @__PURE__ */ x("div", {
15221
15266
  role: "separator",
15222
15267
  "aria-orientation": e,
15223
- className: $("shrink-0 bg-dos-border-default", "eidotter-separator", nv[e], t)
15224
- }), iv = {
15268
+ className: $("shrink-0 bg-dos-border-default", "eidotter-separator", uv[e], t)
15269
+ }), fv = {
15225
15270
  default: "text-dos-text-primary",
15226
15271
  error: "text-dos-error",
15227
15272
  warning: "text-dos-warning",
15228
15273
  info: "text-dos-info"
15229
- }, av = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ S("h3", {
15230
- className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", iv[n], i),
15274
+ }, pv = ({ title: e, count: t, tone: n = "default", children: r, className: i }) => /* @__PURE__ */ S("h3", {
15275
+ className: $("eidotter-section-heading", "font-dos uppercase tracking-wider mb-2 text-dos-text-sm", fv[n], i),
15231
15276
  children: [
15232
15277
  e,
15233
15278
  t !== void 0 && ` (${t})`,
15234
15279
  r
15235
15280
  ]
15236
15281
  });
15237
- av.displayName = "SectionHeading";
15282
+ pv.displayName = "SectionHeading";
15238
15283
  //#endregion
15239
15284
  //#region src/components/ChecklistRow/components/ChecklistRow.tsx
15240
- var ov = {
15285
+ var mv = {
15241
15286
  default: "text-dos-text-primary",
15242
15287
  muted: "text-dos-text-muted line-through",
15243
15288
  error: "text-dos-error"
15244
- }, sv = ({ checked: e, onToggle: t, disabled: n, pending: r, ariaLabel: i, labelTone: a = "default", label: o, children: s, note: c, leading: l, trailing: u, className: d }) => /* @__PURE__ */ S("div", {
15289
+ }, hv = ({ checked: e, onToggle: t, disabled: n, pending: r, ariaLabel: i, labelTone: a = "default", label: o, children: s, note: c, leading: l, trailing: u, className: d }) => /* @__PURE__ */ S("div", {
15245
15290
  className: $("eidotter-checklist-row", "flex items-start gap-3 py-2 border-b border-dos-border-disabled", r && "opacity-50", d),
15246
15291
  children: [
15247
15292
  /* @__PURE__ */ x("button", {
@@ -15262,7 +15307,7 @@ var ov = {
15262
15307
  children: l
15263
15308
  }),
15264
15309
  o !== void 0 && /* @__PURE__ */ x("div", {
15265
- className: $("font-dos text-dos-text-sm", ov[a]),
15310
+ className: $("font-dos text-dos-text-sm", mv[a]),
15266
15311
  children: o
15267
15312
  }),
15268
15313
  s,
@@ -15278,10 +15323,10 @@ var ov = {
15278
15323
  })
15279
15324
  ]
15280
15325
  });
15281
- sv.displayName = "ChecklistRow";
15326
+ hv.displayName = "ChecklistRow";
15282
15327
  //#endregion
15283
15328
  //#region src/components/CopyButton/components/CopyButton.tsx
15284
- var cv = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
15329
+ var gv = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Copy to clipboard", copiedTitle: i = "Copied!", className: a }) => {
15285
15330
  let [s, c] = m(!1), l = p(null), u = o(() => {
15286
15331
  c(!0), l.current && clearTimeout(l.current), l.current = setTimeout(() => c(!1), 1500);
15287
15332
  }, []), d = o(() => {
@@ -15311,22 +15356,22 @@ var cv = ({ value: e, label: t = "[cp]", copiedLabel: n = "[OK]", title: r = "Co
15311
15356
  children: s ? n : t
15312
15357
  });
15313
15358
  };
15314
- cv.displayName = "CopyButton";
15359
+ gv.displayName = "CopyButton";
15315
15360
  //#endregion
15316
15361
  //#region src/components/Select/components/Select.tsx
15317
- var lv = {
15362
+ var _v = {
15318
15363
  sm: "text-dos-text-sm px-2.5 py-1 min-h-7 gap-2",
15319
15364
  md: "text-dos-text-md px-3 py-2 min-h-8 gap-2",
15320
15365
  lg: "text-dos-text-lg px-4 py-2.5 min-h-10 gap-2"
15321
- }, uv = (e = "md") => ({
15366
+ }, vv = (e = "md") => ({
15322
15367
  small: "sm",
15323
15368
  medium: "md",
15324
15369
  large: "lg"
15325
- })[e] ?? e, dv = "eidotter-select__label text-dos-text-brand font-dos text-dos-text-xs uppercase tracking-wider", fv = "eidotter-select__description text-dos-text-muted font-dos text-dos-text-xs", pv = "eidotter-select__error text-dos-text-error font-dos text-dos-text-xs", mv = "eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border", hv = "eidotter-select__option font-dos", gv = "NO MATCHES", _v = (e) => e == null || e === "" ? null : e, vv = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, "aria-label": h }) => {
15326
- let g = a === "error", _ = s !== void 0, v = uv(o);
15370
+ })[e] ?? e, yv = "eidotter-select__label text-dos-text-brand font-dos text-dos-text-xs uppercase tracking-wider", bv = "eidotter-select__description text-dos-text-muted font-dos text-dos-text-xs", xv = "eidotter-select__error text-dos-text-error font-dos text-dos-text-xs", Sv = "eidotter-select__trigger flex items-center w-full bg-transparent text-dos-text-brand font-dos border-2 border-dos-border-default outline-none box-border", Cv = "eidotter-select__option font-dos", wv = "NO MATCHES", Tv = (e) => e == null || e === "" ? null : e, Ev = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, "aria-label": h }) => {
15371
+ let g = a === "error", _ = s !== void 0, v = vv(o);
15327
15372
  return /* @__PURE__ */ S(Vd, {
15328
15373
  "aria-label": t ? void 0 : h,
15329
- selectedKey: _ ? _v(s) : void 0,
15374
+ selectedKey: _ ? Tv(s) : void 0,
15330
15375
  defaultSelectedKey: _ ? void 0 : c,
15331
15376
  onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
15332
15377
  isDisabled: u,
@@ -15337,12 +15382,12 @@ var lv = {
15337
15382
  className: $("eidotter-select flex flex-col gap-1", m),
15338
15383
  children: [
15339
15384
  t && /* @__PURE__ */ x(ri, {
15340
- className: dv,
15385
+ className: yv,
15341
15386
  children: t
15342
15387
  }),
15343
15388
  /* @__PURE__ */ S(pi, {
15344
15389
  id: p,
15345
- className: $(mv, lv[v]),
15390
+ className: $(Sv, _v[v]),
15346
15391
  children: [/* @__PURE__ */ x(Gd, { className: "eidotter-select__value flex-1 text-left truncate" }), /* @__PURE__ */ x("span", {
15347
15392
  "aria-hidden": "true",
15348
15393
  className: "eidotter-select__arrow",
@@ -15351,12 +15396,12 @@ var lv = {
15351
15396
  }),
15352
15397
  r && !g && /* @__PURE__ */ x(vi, {
15353
15398
  slot: "description",
15354
- className: fv,
15399
+ className: bv,
15355
15400
  children: r
15356
15401
  }),
15357
15402
  i && g && /* @__PURE__ */ x(vi, {
15358
15403
  slot: "errorMessage",
15359
- className: pv,
15404
+ className: xv,
15360
15405
  children: i
15361
15406
  }),
15362
15407
  /* @__PURE__ */ x(Nl, {
@@ -15368,19 +15413,19 @@ var lv = {
15368
15413
  id: e.value,
15369
15414
  textValue: e.label,
15370
15415
  isDisabled: e.disabled,
15371
- className: hv,
15416
+ className: Cv,
15372
15417
  children: e.label
15373
15418
  })
15374
15419
  })
15375
15420
  })
15376
15421
  ]
15377
15422
  });
15378
- }, yv = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, emptyMessage: h = gv, "aria-label": g }) => {
15379
- let _ = a === "error", v = s !== void 0, y = uv(o);
15423
+ }, Dv = ({ options: e, label: t, placeholder: n, description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: l, disabled: u, isRequired: d, name: f, id: p, className: m, emptyMessage: h = wv, "aria-label": g }) => {
15424
+ let _ = a === "error", v = s !== void 0, y = vv(o);
15380
15425
  return /* @__PURE__ */ S(gd, {
15381
15426
  "aria-label": t ? void 0 : g,
15382
15427
  defaultItems: e,
15383
- selectedKey: v ? _v(s) : void 0,
15428
+ selectedKey: v ? Tv(s) : void 0,
15384
15429
  defaultSelectedKey: v ? void 0 : c,
15385
15430
  onSelectionChange: (e) => l?.(e == null ? "" : String(e)),
15386
15431
  isDisabled: u,
@@ -15392,11 +15437,11 @@ var lv = {
15392
15437
  className: $("eidotter-select eidotter-select--searchable flex flex-col gap-1", m),
15393
15438
  children: [
15394
15439
  t && /* @__PURE__ */ x(ri, {
15395
- className: dv,
15440
+ className: yv,
15396
15441
  children: t
15397
15442
  }),
15398
15443
  /* @__PURE__ */ S("div", {
15399
- className: $(mv, lv[y]),
15444
+ className: $(Sv, _v[y]),
15400
15445
  children: [/* @__PURE__ */ x(fa, {
15401
15446
  id: p,
15402
15447
  placeholder: n,
@@ -15413,12 +15458,12 @@ var lv = {
15413
15458
  }),
15414
15459
  r && !_ && /* @__PURE__ */ x(vi, {
15415
15460
  slot: "description",
15416
- className: fv,
15461
+ className: bv,
15417
15462
  children: r
15418
15463
  }),
15419
15464
  i && _ && /* @__PURE__ */ x(vi, {
15420
15465
  slot: "errorMessage",
15421
- className: pv,
15466
+ className: xv,
15422
15467
  children: i
15423
15468
  }),
15424
15469
  /* @__PURE__ */ x(Nl, {
@@ -15433,15 +15478,15 @@ var lv = {
15433
15478
  id: e.value,
15434
15479
  textValue: e.label,
15435
15480
  isDisabled: e.disabled,
15436
- className: hv,
15481
+ className: Cv,
15437
15482
  children: e.label
15438
15483
  })
15439
15484
  })
15440
15485
  })
15441
15486
  ]
15442
15487
  });
15443
- }, bv = ({ options: e, label: t, placeholder: n = "Select…", description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: u, disabled: f, name: h, id: g, className: _, searchable: v, searchPlaceholder: y = "FILTER…", emptyMessage: C = gv, "aria-label": w }) => {
15444
- let T = a === "error", E = s !== void 0, D = uv(o), O = p(null), [k, A] = m(!1), [j, M] = m(""), [N, P] = m(c ?? []), F = E ? s ?? [] : N, I = `${l()}-label`, L = d(() => new Set(E ? s ?? [] : N), [
15488
+ }, Ov = ({ options: e, label: t, placeholder: n = "Select…", description: r, errorMessage: i, variant: a = "default", size: o, value: s, defaultValue: c, onChange: u, disabled: f, name: h, id: g, className: _, searchable: v, searchPlaceholder: y = "FILTER…", emptyMessage: C = wv, "aria-label": w }) => {
15489
+ let T = a === "error", E = s !== void 0, D = vv(o), O = p(null), [k, A] = m(!1), [j, M] = m(""), [N, P] = m(c ?? []), F = E ? s ?? [] : N, I = `${l()}-label`, L = d(() => new Set(E ? s ?? [] : N), [
15445
15490
  E,
15446
15491
  s,
15447
15492
  N
@@ -15464,7 +15509,7 @@ var lv = {
15464
15509
  children: [
15465
15510
  t && /* @__PURE__ */ x("span", {
15466
15511
  id: I,
15467
- className: dv,
15512
+ className: yv,
15468
15513
  children: t
15469
15514
  }),
15470
15515
  /* @__PURE__ */ S(pi, {
@@ -15476,7 +15521,7 @@ var lv = {
15476
15521
  "aria-haspopup": "listbox",
15477
15522
  "aria-expanded": k,
15478
15523
  onPress: () => z(!k),
15479
- className: $(mv, lv[D], T && "eidotter-select__trigger--error"),
15524
+ className: $(Sv, _v[D], T && "eidotter-select__trigger--error"),
15480
15525
  children: [/* @__PURE__ */ x("span", {
15481
15526
  className: $("eidotter-select__value flex-1 text-left truncate", F.length === 0 && "eidotter-select__value--placeholder text-dos-text-muted"),
15482
15527
  children: B
@@ -15487,11 +15532,11 @@ var lv = {
15487
15532
  })]
15488
15533
  }),
15489
15534
  r && !T && /* @__PURE__ */ x("span", {
15490
- className: fv,
15535
+ className: bv,
15491
15536
  children: r
15492
15537
  }),
15493
15538
  i && T && /* @__PURE__ */ x("span", {
15494
- className: pv,
15539
+ className: xv,
15495
15540
  children: i
15496
15541
  }),
15497
15542
  h && F.map((e) => /* @__PURE__ */ x("input", {
@@ -15528,7 +15573,7 @@ var lv = {
15528
15573
  id: e.value,
15529
15574
  textValue: e.label,
15530
15575
  isDisabled: e.disabled,
15531
- className: $(hv, "eidotter-select__option--multi"),
15576
+ className: $(Cv, "eidotter-select__option--multi"),
15532
15577
  children: ({ isSelected: t }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("span", {
15533
15578
  "aria-hidden": "true",
15534
15579
  className: "eidotter-select__check",
@@ -15542,11 +15587,11 @@ var lv = {
15542
15587
  })
15543
15588
  ]
15544
15589
  });
15545
- }, xv = (e) => e.multiple ? /* @__PURE__ */ x(bv, { ...e }) : e.searchable ? /* @__PURE__ */ x(yv, { ...e }) : /* @__PURE__ */ x(vv, { ...e });
15546
- xv.displayName = "Select";
15590
+ }, kv = (e) => e.multiple ? /* @__PURE__ */ x(Ov, { ...e }) : e.searchable ? /* @__PURE__ */ x(Dv, { ...e }) : /* @__PURE__ */ x(Ev, { ...e });
15591
+ kv.displayName = "Select";
15547
15592
  //#endregion
15548
15593
  //#region src/components/LedgerRow/components/LedgerRow.tsx
15549
- var Sv = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ S("div", {
15594
+ var Av = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a, className: o }) => /* @__PURE__ */ S("div", {
15550
15595
  className: $("eidotter-ledger-row", "flex items-center gap-3 py-2 border-b border-dos-border-disabled", a && "opacity-50", o),
15551
15596
  children: [/* @__PURE__ */ S("div", {
15552
15597
  className: "flex-1 min-w-0",
@@ -15564,15 +15609,15 @@ var Sv = ({ label: e, note: t, value: n, copyValue: r, trailing: i, pending: a,
15564
15609
  className: "font-dos text-dos-text-sm text-dos-text-accent tabular-nums",
15565
15610
  children: n
15566
15611
  }),
15567
- r !== void 0 && /* @__PURE__ */ x(cv, { value: r }),
15612
+ r !== void 0 && /* @__PURE__ */ x(gv, { value: r }),
15568
15613
  i
15569
15614
  ]
15570
15615
  })]
15571
15616
  });
15572
- Sv.displayName = "LedgerRow";
15617
+ Av.displayName = "LedgerRow";
15573
15618
  //#endregion
15574
15619
  //#region src/components/LabeledProgress/components/LabeledProgress.tsx
15575
- var Cv = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
15620
+ var jv = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i = !0, className: a, "aria-label": o }) => {
15576
15621
  let s = n === 0 ? 0 : Math.min(100, Math.max(0, Math.round(t / n * 100)));
15577
15622
  return /* @__PURE__ */ S("div", {
15578
15623
  className: $("eidotter-labeled-progress", "flex items-center gap-3", a),
@@ -15600,11 +15645,11 @@ var Cv = ({ label: e, value: t, max: n = 100, valueSuffix: r = "%", showValue: i
15600
15645
  ]
15601
15646
  });
15602
15647
  };
15603
- Cv.displayName = "LabeledProgress";
15648
+ jv.displayName = "LabeledProgress";
15604
15649
  //#endregion
15605
15650
  //#region src/components/TextScramble/components/TextScramble.tsx
15606
- var wv = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
15607
- let { text: s, isScrambling: c } = G_(e, {
15651
+ var Mv = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a }, o) => {
15652
+ let { text: s, isScrambling: c } = $_(e, {
15608
15653
  speed: t,
15609
15654
  characters: n,
15610
15655
  delay: r
@@ -15616,21 +15661,21 @@ var wv = i(({ children: e, speed: t, characters: n, delay: r, className: i, ...a
15616
15661
  children: s
15617
15662
  });
15618
15663
  });
15619
- wv.displayName = "TextScramble";
15664
+ Mv.displayName = "TextScramble";
15620
15665
  //#endregion
15621
15666
  //#region src/components/Nav/components/Nav.tsx
15622
- var Tv = {
15667
+ var Nv = {
15623
15668
  retro: "eidotter-nav--retro",
15624
15669
  modern: "eidotter-nav--modern"
15625
- }, Ev = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
15670
+ }, Pv = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
15626
15671
  let a = r || "a";
15627
15672
  return /* @__PURE__ */ x("nav", {
15628
- className: $("eidotter-nav eidotter-nav--desktop", Tv[n], i),
15673
+ className: $("eidotter-nav eidotter-nav--desktop", Nv[n], i),
15629
15674
  "aria-label": "Main navigation",
15630
15675
  children: /* @__PURE__ */ x("ul", {
15631
15676
  className: "eidotter-nav__desktop-list",
15632
15677
  children: e.map((e) => {
15633
- let r = _g(e.href) ? e.href : void 0, i = $("eidotter-nav__link", n === "retro" && "uppercase", t === e.href && "eidotter-nav__link--active");
15678
+ let r = Cg(e.href) ? e.href : void 0, i = $("eidotter-nav__link", n === "retro" && "uppercase", t === e.href && "eidotter-nav__link--active");
15634
15679
  return /* @__PURE__ */ x("li", {
15635
15680
  className: "eidotter-nav__desktop-item",
15636
15681
  children: r ? /* @__PURE__ */ x(a, {
@@ -15646,7 +15691,7 @@ var Tv = {
15646
15691
  })
15647
15692
  })
15648
15693
  });
15649
- }, Dv = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
15694
+ }, Fv = ({ items: e, activeHref: t, variant: n = "retro", linkComponent: r, className: i }) => {
15650
15695
  let [a, s] = m(!1), l = r || "a", u = p(null), d = p(null), f = p(null), h = p(!1), g = o(() => s((e) => !e), []), _ = o(() => s(!1), []);
15651
15696
  return c(() => {
15652
15697
  if (!a) return;
@@ -15657,7 +15702,7 @@ var Tv = {
15657
15702
  }, [a, _]), c(() => {
15658
15703
  a ? d.current?.focus() : h.current && u.current?.focus(), h.current = a;
15659
15704
  }, [a]), /* @__PURE__ */ S("div", {
15660
- className: $("eidotter-nav eidotter-nav--mobile", Tv[n], i),
15705
+ className: $("eidotter-nav eidotter-nav--mobile", Nv[n], i),
15661
15706
  children: [
15662
15707
  /* @__PURE__ */ x("button", {
15663
15708
  ref: u,
@@ -15688,7 +15733,7 @@ var Tv = {
15688
15733
  },
15689
15734
  children: [/* @__PURE__ */ x("div", {
15690
15735
  className: "eidotter-nav__panel-header",
15691
- children: /* @__PURE__ */ x($p, {
15736
+ children: /* @__PURE__ */ x(am, {
15692
15737
  ref: d,
15693
15738
  icon: "Close",
15694
15739
  label: "Close menu",
@@ -15698,7 +15743,7 @@ var Tv = {
15698
15743
  }), /* @__PURE__ */ x("ul", {
15699
15744
  className: "eidotter-nav__list",
15700
15745
  children: e.map((e) => {
15701
- let r = _g(e.href) ? e.href : void 0, i = $("eidotter-nav__link", n === "retro" && "uppercase", t === e.href && "eidotter-nav__link--active");
15746
+ let r = Cg(e.href) ? e.href : void 0, i = $("eidotter-nav__link", n === "retro" && "uppercase", t === e.href && "eidotter-nav__link--active");
15702
15747
  return /* @__PURE__ */ x("li", {
15703
15748
  className: "eidotter-nav__item",
15704
15749
  children: r ? /* @__PURE__ */ x(l, {
@@ -15717,14 +15762,14 @@ var Tv = {
15717
15762
  })
15718
15763
  ]
15719
15764
  });
15720
- }, Ov = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(Dv, { ...e }), /* @__PURE__ */ x(Ev, { ...e })] }), kv = {
15765
+ }, Iv = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x(Fv, { ...e }), /* @__PURE__ */ x(Pv, { ...e })] }), Lv = {
15721
15766
  user: "eidotter-chat-message--user",
15722
15767
  assistant: "eidotter-chat-message--assistant",
15723
15768
  system: "eidotter-chat-message--system"
15724
- }, Av = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
15769
+ }, Rv = ({ role: e, content: t, isStreaming: n = !1, userPrefix: r = ">", assistantPrefix: i = "C:\\>", className: a, ...o }) => {
15725
15770
  let s = e === "user" ? r : e === "assistant" ? i : "";
15726
15771
  return /* @__PURE__ */ S("div", {
15727
- className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", kv[e], n && "eidotter-chat-message--streaming", a),
15772
+ className: $("flex gap-2 font-dos text-dos-text-md leading-[1.4] py-1 whitespace-pre-wrap break-words", Lv[e], n && "eidotter-chat-message--streaming", a),
15728
15773
  ...o,
15729
15774
  children: [
15730
15775
  s && /* @__PURE__ */ x("span", {
@@ -15743,7 +15788,7 @@ var Tv = {
15743
15788
  })
15744
15789
  ]
15745
15790
  });
15746
- }, jv = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
15791
+ }, zv = ({ messages: e, isStreaming: t = !1, userPrefix: n, assistantPrefix: r, className: i, ...a }) => {
15747
15792
  let o = p(null);
15748
15793
  c(() => {
15749
15794
  o.current?.scrollIntoView?.({ behavior: "smooth" });
@@ -15772,7 +15817,7 @@ var Tv = {
15772
15817
  className: "flex flex-col",
15773
15818
  children: [e.map((i, a) => {
15774
15819
  let o = t && i.role === "assistant" && a === e.length - 1;
15775
- return /* @__PURE__ */ x(Av, {
15820
+ return /* @__PURE__ */ x(Rv, {
15776
15821
  role: i.role,
15777
15822
  content: i.content,
15778
15823
  isStreaming: o,
@@ -15782,7 +15827,7 @@ var Tv = {
15782
15827
  }), /* @__PURE__ */ x("div", { ref: o })]
15783
15828
  })
15784
15829
  });
15785
- }, Mv = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
15830
+ }, Bv = ({ onSend: e, prompt: t = ">", placeholder: n, disabled: r = !1, className: i, ...a }) => {
15786
15831
  let [o, s] = m(""), c = p(null);
15787
15832
  u(() => {
15788
15833
  let e = c.current;
@@ -15824,30 +15869,30 @@ var Tv = {
15824
15869
  })]
15825
15870
  })]
15826
15871
  });
15827
- }, Nv = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ S("div", {
15872
+ }, Vv = ({ messages: e, onSend: t, isStreaming: n = !1, inputPrompt: r, userPrefix: i, assistantPrefix: a, placeholder: o, disabled: s = !1, className: c, ...l }) => /* @__PURE__ */ S("div", {
15828
15873
  className: $("flex flex-col h-full min-h-0", c),
15829
15874
  ...l,
15830
- children: [/* @__PURE__ */ x(jv, {
15875
+ children: [/* @__PURE__ */ x(zv, {
15831
15876
  className: "flex-1 min-h-0",
15832
15877
  messages: e,
15833
15878
  isStreaming: n,
15834
15879
  userPrefix: i,
15835
15880
  assistantPrefix: a
15836
- }), /* @__PURE__ */ x(Mv, {
15881
+ }), /* @__PURE__ */ x(Bv, {
15837
15882
  className: "shrink-0",
15838
15883
  onSend: t,
15839
15884
  prompt: r,
15840
15885
  placeholder: o,
15841
15886
  disabled: s
15842
15887
  })]
15843
- }), Pv = [{
15888
+ }), Hv = [{
15844
15889
  label: "Impressum",
15845
15890
  href: "/impressum"
15846
15891
  }, {
15847
15892
  label: "Datenschutz",
15848
15893
  href: "/datenschutz"
15849
- }], Fv = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
15850
- let s = n ?? Pv, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
15894
+ }], Uv = ({ copyright: t, links: n, linkComponent: r, children: i, className: a, ...o }) => {
15895
+ let s = n ?? Hv, c = r ?? "a", l = "eidotter-footer__link text-dos-text-brand no-underline";
15851
15896
  return /* @__PURE__ */ S("footer", {
15852
15897
  className: $("font-dos text-dos-text-base py-4 px-2 text-center", "eidotter-footer", a),
15853
15898
  ...o,
@@ -15864,7 +15909,7 @@ var Tv = {
15864
15909
  className: "flex justify-center items-center flex-wrap gap-2 mb-2",
15865
15910
  "aria-label": "Footer links",
15866
15911
  children: s.map((t, n) => {
15867
- let r = _g(t.href) ? t.href : void 0;
15912
+ let r = Cg(t.href) ? t.href : void 0;
15868
15913
  return /* @__PURE__ */ S(e.Fragment, { children: [n > 0 && /* @__PURE__ */ x("span", {
15869
15914
  className: "text-dos-text-muted select-none eidotter-footer__dot",
15870
15915
  "aria-hidden": "true",
@@ -15891,9 +15936,9 @@ var Tv = {
15891
15936
  })
15892
15937
  ]
15893
15938
  });
15894
- }, Iv = /* @__PURE__ */ "M20.375 9.0625H17.625V9.75H20.375V9.0625Z,M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z,M17.625 9.75H16.9375V10.4375H17.625V9.75Z,M22.4375 9.75H20.375V10.4375H22.4375V9.75Z,M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z,M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z,M14.1875 11.125H13.5V11.8125H14.1875V11.125Z,M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z,M13.5 11.8125H12.8125V12.5H13.5V11.8125Z,M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z,M12.8125 12.5H12.125V13.875H12.8125V12.5Z,M12.125 13.875H11.4375V15.9375H12.125V13.875Z,M11.4375 15.9375H10.75V18H11.4375V15.9375Z,M10.75 18H10.0625V19.375H10.75V18Z,M11.4375 19.375H10.75V20.75H11.4375V19.375Z,M12.125 20.75H11.4375V22.125H12.125V20.75Z,M12.8125 22.125H12.125V23.5H12.8125V22.125Z,M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z,M27.25 15.25H26.5625V17.3125H27.25V15.25Z,M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z,M27.25 19.375H26.5625V20.75H27.25V19.375Z,M26.5625 20.75H25.875V22.125H26.5625V20.75Z,M25.875 22.125H25.1875V23.5H25.875V22.125Z,M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z,M16.25 24.1875H14.1875V24.875H16.25V24.1875Z,M18.3125 24.875H16.25V25.5625H18.3125V24.875Z,M20.375 25.5625H18.3125V26.25H20.375V25.5625Z,M22.4375 24.875H20.375V25.5625H22.4375V24.875Z,M24.5 24.1875H22.4375V24.875H24.5V24.1875Z,M25.1875 23.5H24.5V24.1875H25.1875V23.5Z,M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z,M29.3125 16.625H28.625V17.3125H29.3125V16.625Z,M28.625 20.75H27.9375V21.4375H28.625V20.75Z,M10.75 21.4375H10.0625V22.125H10.75V21.4375Z".split(",");
15895
- Iv.length - 4;
15896
- var Lv = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z", Rv = "M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z", zv = "M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z", Bv = ["M16.25 15.25H15.5625V17.3125H16.25V15.25Z", "M18.3125 13.875H16.25V14.5625H18.3125V13.875Z"], Vv = "M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z", Hv = i(({ size: e = 32, title: t = "eiDotter", ...n }, r) => {
15939
+ }, Wv = /* @__PURE__ */ "M20.375 9.0625H17.625V9.75H20.375V9.0625Z,M16.9375 9.75H15.5625V10.4375H16.9375V9.75Z,M17.625 9.75H16.9375V10.4375H17.625V9.75Z,M22.4375 9.75H20.375V10.4375H22.4375V9.75Z,M15.5625 10.4375H14.1875V11.125H15.5625V10.4375Z,M23.8125 10.4375H22.4375V11.125H23.8125V10.4375Z,M14.1875 11.125H13.5V11.8125H14.1875V11.125Z,M25.1875 11.125H23.8125V11.8125H25.1875V11.125Z,M13.5 11.8125H12.8125V12.5H13.5V11.8125Z,M25.875 11.8125H25.1875V13.1875H25.875V11.8125Z,M12.8125 12.5H12.125V13.875H12.8125V12.5Z,M12.125 13.875H11.4375V15.9375H12.125V13.875Z,M11.4375 15.9375H10.75V18H11.4375V15.9375Z,M10.75 18H10.0625V19.375H10.75V18Z,M11.4375 19.375H10.75V20.75H11.4375V19.375Z,M12.125 20.75H11.4375V22.125H12.125V20.75Z,M12.8125 22.125H12.125V23.5H12.8125V22.125Z,M26.5625 13.1875H25.875V15.25H26.5625V13.1875Z,M27.25 15.25H26.5625V17.3125H27.25V15.25Z,M27.9375 17.3125H27.25V19.375H27.9375V17.3125Z,M27.25 19.375H26.5625V20.75H27.25V19.375Z,M26.5625 20.75H25.875V22.125H26.5625V20.75Z,M25.875 22.125H25.1875V23.5H25.875V22.125Z,M14.1875 23.5H12.8125V24.1875H14.1875V23.5Z,M16.25 24.1875H14.1875V24.875H16.25V24.1875Z,M18.3125 24.875H16.25V25.5625H18.3125V24.875Z,M20.375 25.5625H18.3125V26.25H20.375V25.5625Z,M22.4375 24.875H20.375V25.5625H22.4375V24.875Z,M24.5 24.1875H22.4375V24.875H24.5V24.1875Z,M25.1875 23.5H24.5V24.1875H25.1875V23.5Z,M10.0625 15.9375H9.375V16.625H10.0625V15.9375Z,M29.3125 16.625H28.625V17.3125H29.3125V16.625Z,M28.625 20.75H27.9375V21.4375H28.625V20.75Z,M10.75 21.4375H10.0625V22.125H10.75V21.4375Z".split(",");
15940
+ Wv.length - 4;
15941
+ var Gv = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7 8 11.9249 8 18C8 24.0751 12.9249 29 19 29Z", Kv = "M19 27C23.9706 27 28 22.9706 28 18C28 13.0294 23.9706 9 19 9C14.0294 9 10 13.0294 10 18C10 22.9706 14.0294 27 19 27Z", qv = "M18.4375 21C20.6466 21 22.4375 19.2091 22.4375 17C22.4375 14.7909 20.6466 13 18.4375 13C16.2284 13 14.4375 14.7909 14.4375 17C14.4375 19.2091 16.2284 21 18.4375 21Z", Jv = ["M16.25 15.25H15.5625V17.3125H16.25V15.25Z", "M18.3125 13.875H16.25V14.5625H18.3125V13.875Z"], Yv = "M17.5 15C17.7761 15 18 14.7761 18 14.5C18 14.2239 17.7761 14 17.5 14C17.2239 14 17 14.2239 17 14.5C17 14.7761 17.2239 15 17.5 15Z", Xv = i(({ size: e = 32, title: t = "eiDotter", ...n }, r) => {
15897
15942
  let i = l(), a = `eidotter-logo-halo-${i}`, o = `eidotter-logo-core-${i}`, s = `eidotter-logo-yolk-${i}`;
15898
15943
  return /* @__PURE__ */ S("svg", {
15899
15944
  ref: r,
@@ -15968,48 +16013,48 @@ var Lv = "M19 29C25.0751 29 30 24.0751 30 18C30 11.9249 25.0751 7 19 7C12.9249 7
15968
16013
  })
15969
16014
  ] }),
15970
16015
  /* @__PURE__ */ x("path", {
15971
- d: Lv,
16016
+ d: Gv,
15972
16017
  fill: `url(#${a})`
15973
16018
  }),
15974
16019
  /* @__PURE__ */ x("path", {
15975
- d: Rv,
16020
+ d: Kv,
15976
16021
  fill: `url(#${o})`
15977
16022
  }),
15978
- Iv.map((e) => /* @__PURE__ */ x("path", {
16023
+ Wv.map((e) => /* @__PURE__ */ x("path", {
15979
16024
  d: e,
15980
16025
  fill: "#FFB000"
15981
16026
  }, e)),
15982
16027
  /* @__PURE__ */ x("path", {
15983
- d: zv,
16028
+ d: qv,
15984
16029
  fill: `url(#${s})`
15985
16030
  }),
15986
- Bv.map((e) => /* @__PURE__ */ x("path", {
16031
+ Jv.map((e) => /* @__PURE__ */ x("path", {
15987
16032
  d: e,
15988
16033
  fill: "#FFE8A8",
15989
16034
  opacity: "0.8"
15990
16035
  }, e)),
15991
16036
  /* @__PURE__ */ x("path", {
15992
- d: Vv,
16037
+ d: Yv,
15993
16038
  fill: "#FFFFFF",
15994
16039
  opacity: "0.9"
15995
16040
  })
15996
16041
  ]
15997
16042
  });
15998
16043
  });
15999
- Hv.displayName = "LogoGeometry";
16044
+ Xv.displayName = "LogoGeometry";
16000
16045
  //#endregion
16001
16046
  //#region src/components/Brand/components/Logo.tsx
16002
- var Uv = i(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ x(Hv, {
16047
+ var Zv = i(({ size: e = 32, glow: t = !0, title: n = "eiDotter", className: r, ...i }, a) => /* @__PURE__ */ x(Xv, {
16003
16048
  ref: a,
16004
16049
  size: e,
16005
16050
  title: n,
16006
16051
  className: $("eidotter-logo", t && "eidotter-logo--glow", r),
16007
16052
  ...i
16008
16053
  }));
16009
- Uv.displayName = "Logo";
16054
+ Zv.displayName = "Logo";
16010
16055
  //#endregion
16011
16056
  //#region src/components/Brand/components/Wordmark.tsx
16012
- var Wv = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span", {
16057
+ var Qv = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span", {
16013
16058
  ref: r,
16014
16059
  className: $("eidotter-wordmark font-dos", e && "eidotter-wordmark--glow", t),
16015
16060
  role: "img",
@@ -16025,29 +16070,29 @@ var Wv = i(({ glow: e = !0, className: t, ...n }, r) => /* @__PURE__ */ S("span"
16025
16070
  children: "Dotter"
16026
16071
  })]
16027
16072
  }));
16028
- Wv.displayName = "Wordmark";
16073
+ Qv.displayName = "Wordmark";
16029
16074
  //#endregion
16030
16075
  //#region src/components/Brand/components/BrandLockup.tsx
16031
- var Gv = i(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ S("div", {
16076
+ var $v = i(({ logoSize: e = 32, iconOnly: t = !1, wordmarkOnly: n = !1, glow: r = !0, className: i, ...a }, o) => /* @__PURE__ */ S("div", {
16032
16077
  ref: o,
16033
16078
  className: $("eidotter-brand-lockup inline-flex items-center gap-3", i),
16034
16079
  role: "img",
16035
16080
  "aria-label": "eiDotter",
16036
16081
  ...a,
16037
- children: [!n && /* @__PURE__ */ x(Uv, {
16082
+ children: [!n && /* @__PURE__ */ x(Zv, {
16038
16083
  size: e,
16039
16084
  glow: r,
16040
16085
  title: ""
16041
- }), !t && /* @__PURE__ */ x(Wv, {
16086
+ }), !t && /* @__PURE__ */ x(Qv, {
16042
16087
  glow: r,
16043
16088
  "aria-hidden": "true"
16044
16089
  })]
16045
16090
  }));
16046
- Gv.displayName = "BrandLockup";
16091
+ $v.displayName = "BrandLockup";
16047
16092
  //#endregion
16048
16093
  //#region src/components/Brand/components/markGeometry.ts
16049
- var Kv = 9.25 / 22, qv = (e) => Math.round(e * 100) / 100;
16050
- function Jv(e, t, n = {}) {
16094
+ var ey = 9.25 / 22, ty = (e) => Math.round(e * 100) / 100;
16095
+ function ny(e, t, n = {}) {
16051
16096
  let { curvature: r = 24, startRadius: i = 0 } = n;
16052
16097
  if (e.width === 0 || e.height === 0) return [];
16053
16098
  let a = t.filter((e) => !(e.width === 0 && e.height === 0));
@@ -16057,24 +16102,24 @@ function Jv(e, t, n = {}) {
16057
16102
  let a = t.x - e.x, l = t.y - e.y, u = a + t.width / 2 >= o ? a : a + t.width, d = l + t.height / 2, f = u - o, p = d - s, m = Math.hypot(f, p);
16058
16103
  if (m - i < 1) return;
16059
16104
  let h = o + f / m * i, g = s + p / m * i, _ = u - h, v = d - g, y = Math.hypot(_, v), b = (n % 2 == 0 ? 1 : -1) * Math.min(r, y / 3), x = (h + u) / 2, S = (g + d) / 2, C = x + -v / y * b, w = S + _ / y * b;
16060
- c.push(`M ${qv(h)} ${qv(g)} Q ${qv(C)} ${qv(w)} ${qv(u)} ${qv(d)}`);
16105
+ c.push(`M ${ty(h)} ${ty(g)} Q ${ty(C)} ${ty(w)} ${ty(u)} ${ty(d)}`);
16061
16106
  }), c;
16062
16107
  }
16063
16108
  //#endregion
16064
16109
  //#region src/components/Brand/components/Mark.tsx
16065
- var Yv = [], Xv = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow: r = !0, arms: i, className: a, style: s, ...l }, u) => {
16066
- let d = p(null), [f, h] = m(Yv), g = o((e) => {
16110
+ var ry = [], iy = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow: r = !0, arms: i, className: a, style: s, ...l }, u) => {
16111
+ let d = p(null), [f, h] = m(ry), g = o((e) => {
16067
16112
  d.current = e, typeof u == "function" ? u(e) : u && (u.current = e);
16068
16113
  }, [u]);
16069
16114
  return c(() => {
16070
16115
  if (!i) {
16071
- h(Yv);
16116
+ h(ry);
16072
16117
  return;
16073
16118
  }
16074
16119
  let e = d.current, t = i.scopeRef.current;
16075
16120
  if (!e) return;
16076
16121
  let n = [], r = () => {
16077
- let t = e.getBoundingClientRect(), r = Jv(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * Kv });
16122
+ let t = e.getBoundingClientRect(), r = ny(t, n.map((e) => e.getBoundingClientRect()), { startRadius: t.width * ey });
16078
16123
  h((e) => e.length === r.length && e.every((e, t) => e === r[t]) ? e : r);
16079
16124
  }, a = () => i.targetRefs ? i.targetRefs.map((e) => e.current).filter((e) => !!e) : t ? Array.from(t.querySelectorAll(i.targetSelector ?? ".eidotter-header__category")) : [], o = typeof ResizeObserver < "u" ? new ResizeObserver(r) : void 0, s = () => {
16080
16125
  o?.disconnect(), n = a(), o?.observe(e), t && o?.observe(t), n.forEach((e) => o?.observe(e)), r();
@@ -16115,7 +16160,7 @@ var Yv = [], Xv = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
16115
16160
  stroke: "currentColor",
16116
16161
  strokeWidth: 2
16117
16162
  }, t))
16118
- }), /* @__PURE__ */ x(Hv, {
16163
+ }), /* @__PURE__ */ x(Xv, {
16119
16164
  size: "100%",
16120
16165
  title: "",
16121
16166
  focusable: "false",
@@ -16123,12 +16168,12 @@ var Yv = [], Xv = i(({ size: e = 48, label: t = "eiDotter", morph: n = !0, glow:
16123
16168
  })]
16124
16169
  });
16125
16170
  });
16126
- Xv.displayName = "Mark";
16171
+ iy.displayName = "Mark";
16127
16172
  //#endregion
16128
16173
  //#region src/components/Header/components/HeaderContextRow.tsx
16129
- var Zv = $("eidotter-header__return", "inline-flex items-center gap-1 no-underline", "border border-dos-border-default rounded-dos-base", "px-2 py-0.5 text-dos-text-xs uppercase tracking-wider");
16130
- function Qv({ context: e, linkComponent: t, activeHref: n }) {
16131
- let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && _g(a.href) ? a.href : void 0, s = (e, t) => {
16174
+ var ay = $("eidotter-header__return", "inline-flex items-center gap-1 no-underline", "border border-dos-border-default rounded-dos-base", "px-2 py-0.5 text-dos-text-xs uppercase tracking-wider");
16175
+ function oy({ context: e, linkComponent: t, activeHref: n }) {
16176
+ let r = t ?? "a", { categories: i, returnTo: a } = e, o = a && Cg(a.href) ? a.href : void 0, s = (e, t) => {
16132
16177
  if (e.defaultPrevented || e.button !== 0 || e.metaKey || e.ctrlKey || e.shiftKey || e.altKey) return;
16133
16178
  let n = window.open(t, "rizomorf-shell");
16134
16179
  n && (e.preventDefault(), n.focus());
@@ -16139,16 +16184,16 @@ function Qv({ context: e, linkComponent: t, activeHref: n }) {
16139
16184
  return /* @__PURE__ */ S("div", {
16140
16185
  className: $("eidotter-header__context", "flex w-full flex-wrap items-center gap-x-4 gap-y-2"),
16141
16186
  children: [a && (o === void 0 ? /* @__PURE__ */ x("span", {
16142
- className: Zv,
16187
+ className: ay,
16143
16188
  children: c
16144
16189
  }) : a.reuseTab ? /* @__PURE__ */ x("a", {
16145
16190
  href: o,
16146
16191
  onClick: (e) => s(e, o),
16147
- className: Zv,
16192
+ className: ay,
16148
16193
  children: c
16149
16194
  }) : /* @__PURE__ */ x(r, {
16150
16195
  href: o,
16151
- className: Zv,
16196
+ className: ay,
16152
16197
  children: c
16153
16198
  })), i.length > 0 && /* @__PURE__ */ x("nav", {
16154
16199
  "aria-label": "Categories",
@@ -16156,13 +16201,13 @@ function Qv({ context: e, linkComponent: t, activeHref: n }) {
16156
16201
  children: /* @__PURE__ */ x("ul", {
16157
16202
  className: $("eidotter-header__categories", "m-0 flex list-none flex-wrap items-center gap-2 p-0"),
16158
16203
  children: i.map((e) => {
16159
- let t = _g(e.href) ? e.href : void 0, i = n !== void 0 && e.href === n, a = $("eidotter-header__category inline-flex no-underline", i && "eidotter-header__category--active"), o = /* @__PURE__ */ S(pg, {
16204
+ let t = Cg(e.href) ? e.href : void 0, i = n !== void 0 && e.href === n, a = $("eidotter-header__category inline-flex no-underline", i && "eidotter-header__category--active"), o = /* @__PURE__ */ S(yg, {
16160
16205
  size: "sm",
16161
16206
  variant: "default",
16162
- children: [Xp(e.icon) && /* @__PURE__ */ x("span", {
16207
+ children: [nm(e.icon) && /* @__PURE__ */ x("span", {
16163
16208
  "aria-hidden": "true",
16164
16209
  className: "me-1 inline-flex",
16165
- children: /* @__PURE__ */ x(Qp, {
16210
+ children: /* @__PURE__ */ x(im, {
16166
16211
  name: e.icon,
16167
16212
  size: "S",
16168
16213
  className: "eidotter-header__category-icon"
@@ -16189,15 +16234,15 @@ function Qv({ context: e, linkComponent: t, activeHref: n }) {
16189
16234
  }
16190
16235
  //#endregion
16191
16236
  //#region src/components/Header/components/Header.tsx
16192
- var $v = {
16237
+ var sy = {
16193
16238
  retro: "eidotter-header--retro",
16194
16239
  modern: "eidotter-header--modern"
16195
- }, ey = i(({ brandName: t, brandHref: n = "/", items: r, activeHref: i, variant: a = "retro", sticky: o = !0, linkComponent: s, context: c, brand: l = "lockup", end: u, skipLinkTarget: d, children: f, className: p, ...m }, h) => {
16196
- let g = s ?? "a", _ = _g(n) ? n : "/", v = !!c && (c.categories.length > 0 || !!c.returnTo), y = d && _g(d) ? d : void 0, C = !f && !!t && l !== "text", w = f || (C ? /* @__PURE__ */ S(b, { children: [l === "mark" ? /* @__PURE__ */ x(Xv, {
16240
+ }, cy = i(({ brandName: t, brandHref: n = "/", items: r, activeHref: i, variant: a = "retro", sticky: o = !0, linkComponent: s, context: c, brand: l = "lockup", end: u, skipLinkTarget: d, children: f, className: p, ...m }, h) => {
16241
+ let g = s ?? "a", _ = Cg(n) ? n : "/", v = !!c && (c.categories.length > 0 || !!c.returnTo), y = d && Cg(d) ? d : void 0, C = !f && !!t && l !== "text", w = f || (C ? /* @__PURE__ */ S(b, { children: [l === "mark" ? /* @__PURE__ */ x(iy, {
16197
16242
  size: 28,
16198
16243
  label: "",
16199
16244
  className: "eidotter-header__brand-icon"
16200
- }) : /* @__PURE__ */ x(Uv, {
16245
+ }) : /* @__PURE__ */ x(Zv, {
16201
16246
  size: 28,
16202
16247
  glow: !0,
16203
16248
  title: "",
@@ -16212,7 +16257,7 @@ var $v = {
16212
16257
  }), /* @__PURE__ */ S(E, {
16213
16258
  ...D,
16214
16259
  children: [
16215
- /* @__PURE__ */ x(Ev, {
16260
+ /* @__PURE__ */ x(Pv, {
16216
16261
  items: r,
16217
16262
  activeHref: i,
16218
16263
  variant: a,
@@ -16222,7 +16267,7 @@ var $v = {
16222
16267
  className: "eidotter-header__end flex items-center",
16223
16268
  children: u
16224
16269
  }),
16225
- /* @__PURE__ */ x(Dv, {
16270
+ /* @__PURE__ */ x(Fv, {
16226
16271
  items: r,
16227
16272
  activeHref: i,
16228
16273
  variant: a,
@@ -16236,22 +16281,22 @@ var $v = {
16236
16281
  }) : null;
16237
16282
  return /* @__PURE__ */ S("header", {
16238
16283
  ref: h,
16239
- className: $(v ? "flex flex-col gap-2 px-4 py-3 font-dos" : "flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", $v[a], o && "sticky top-0 z-50 bg-dos-bg-primary", p),
16284
+ className: $(v ? "flex flex-col gap-2 px-4 py-3 font-dos" : "flex items-center justify-between px-4 py-3 font-dos", "eidotter-header", sy[a], o && "sticky top-0 z-50 bg-dos-bg-primary", p),
16240
16285
  ...m,
16241
16286
  children: [k, v ? /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("div", {
16242
16287
  className: "eidotter-header__main flex w-full items-center justify-between",
16243
16288
  children: O
16244
- }), /* @__PURE__ */ x(Qv, {
16289
+ }), /* @__PURE__ */ x(oy, {
16245
16290
  context: c,
16246
16291
  linkComponent: s,
16247
16292
  activeHref: i
16248
16293
  })] }) : O]
16249
16294
  });
16250
16295
  });
16251
- ey.displayName = "Header";
16296
+ cy.displayName = "Header";
16252
16297
  //#endregion
16253
16298
  //#region src/components/Connector/components/connectorGeometry.ts
16254
- var ty = {
16299
+ var ly = {
16255
16300
  delicate: {
16256
16301
  base: 5,
16257
16302
  mid: 3.2,
@@ -16264,11 +16309,11 @@ var ty = {
16264
16309
  tip: 5,
16265
16310
  curvature: 30
16266
16311
  }
16267
- }, ny = 28, ry = (e) => Math.round(e * 100) / 100, iy = (e, t, n) => e + (t - e) * n, ay = (e) => e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
16268
- function oy(e, t) {
16269
- return e < .5 ? iy(t.base, t.mid, ay(e / .5)) : iy(t.mid, t.tip, ay((e - .5) / .5));
16312
+ }, uy = 28, dy = (e) => Math.round(e * 100) / 100, fy = (e, t, n) => e + (t - e) * n, py = (e) => e < .5 ? 2 * e * e : 1 - (-2 * e + 2) ** 2 / 2;
16313
+ function my(e, t) {
16314
+ return e < .5 ? fy(t.base, t.mid, py(e / .5)) : fy(t.mid, t.tip, py((e - .5) / .5));
16270
16315
  }
16271
- function sy(e, t, n) {
16316
+ function hy(e, t, n) {
16272
16317
  let r = t.x - e.x, i = t.y - e.y, a = n.width / 2, o = n.height / 2, s = r === 0 ? Infinity : a / Math.abs(r), c = i === 0 ? Infinity : o / Math.abs(i), l = Math.min(s, c);
16273
16318
  return Number.isFinite(l) ? {
16274
16319
  x: e.x + r * l,
@@ -16278,21 +16323,21 @@ function sy(e, t, n) {
16278
16323
  y: e.y
16279
16324
  };
16280
16325
  }
16281
- function cy(e, t, n, r, i) {
16326
+ function gy(e, t, n, r, i) {
16282
16327
  let a = 1 - i, o = a * a * a, s = 3 * a * a * i, c = 3 * a * i * i, l = i * i * i;
16283
16328
  return {
16284
16329
  x: o * e.x + s * t.x + c * n.x + l * r.x,
16285
16330
  y: o * e.y + s * t.y + c * n.y + l * r.y
16286
16331
  };
16287
16332
  }
16288
- function ly(e, t, n, r, i) {
16333
+ function _y(e, t, n, r, i) {
16289
16334
  let a = 1 - i, o = 3 * a * a, s = 6 * a * i, c = 3 * i * i;
16290
16335
  return {
16291
16336
  x: o * (t.x - e.x) + s * (n.x - t.x) + c * (r.x - n.x),
16292
16337
  y: o * (t.y - e.y) + s * (n.y - t.y) + c * (r.y - n.y)
16293
16338
  };
16294
16339
  }
16295
- function uy(e, t, n, r = {}) {
16340
+ function vy(e, t, n, r = {}) {
16296
16341
  let { sign: i = 1, sway: a = 0 } = r, o = t.x - e.x, s = t.y - e.y, c = Math.hypot(o, s);
16297
16342
  if (c < .5) return "";
16298
16343
  let l = -s / c, u = o / c, d = Math.min(n.curvature, c / 3), f = (d + a) * i, p = (d * .5 - a * .6) * i, m = {
@@ -16302,8 +16347,8 @@ function uy(e, t, n, r = {}) {
16302
16347
  x: e.x + o * .66 + l * p,
16303
16348
  y: e.y + s * .66 + u * p
16304
16349
  }, g = [], _ = [];
16305
- for (let r = 0; r <= ny; r++) {
16306
- let i = r / ny, a = cy(e, m, h, t, i), o = ly(e, m, h, t, i), s = Math.hypot(o.x, o.y) || 1, c = -o.y / s, l = o.x / s, u = oy(i, n);
16350
+ for (let r = 0; r <= uy; r++) {
16351
+ let i = r / uy, a = gy(e, m, h, t, i), o = _y(e, m, h, t, i), s = Math.hypot(o.x, o.y) || 1, c = -o.y / s, l = o.x / s, u = my(i, n);
16307
16352
  g.push({
16308
16353
  x: a.x + c * u,
16309
16354
  y: a.y + l * u
@@ -16312,14 +16357,14 @@ function uy(e, t, n, r = {}) {
16312
16357
  y: a.y - l * u
16313
16358
  });
16314
16359
  }
16315
- let v = `M ${ry(g[0].x)} ${ry(g[0].y)}`;
16316
- for (let e = 1; e <= ny; e++) v += ` L ${ry(g[e].x)} ${ry(g[e].y)}`;
16317
- for (let e = ny; e >= 0; e--) v += ` L ${ry(_[e].x)} ${ry(_[e].y)}`;
16360
+ let v = `M ${dy(g[0].x)} ${dy(g[0].y)}`;
16361
+ for (let e = 1; e <= uy; e++) v += ` L ${dy(g[e].x)} ${dy(g[e].y)}`;
16362
+ for (let e = uy; e >= 0; e--) v += ` L ${dy(_[e].x)} ${dy(_[e].y)}`;
16318
16363
  return v += " Z", v;
16319
16364
  }
16320
16365
  //#endregion
16321
16366
  //#region src/components/Connector/components/Connector.tsx
16322
- var dy = .0011, fy = 4, py = i(({ sourceRef: e, targets: t, weight: n = "delicate", sway: r = !0, refreshKey: i, className: a, ...s }, u) => {
16367
+ var yy = .0011, by = 4, xy = i(({ sourceRef: e, targets: t, weight: n = "delicate", sway: r = !0, refreshKey: i, className: a, ...s }, u) => {
16323
16368
  let d = l().replace(/[:]/g, ""), f = p(null), m = p([]), h = p([]), g = p(null), _ = p(t);
16324
16369
  _.current = t;
16325
16370
  let v = p(n);
@@ -16336,7 +16381,7 @@ var dy = .0011, fy = 4, py = i(({ sourceRef: e, targets: t, weight: n = "delicat
16336
16381
  let o = a.getBoundingClientRect(), s = {
16337
16382
  x: o.left - i.left + o.width / 2,
16338
16383
  y: o.top - i.top + o.height / 2
16339
- }, c = ty[v.current] ?? ty.delicate, l = r && !em();
16384
+ }, c = ly[v.current] ?? ly.delicate, l = r && !om();
16340
16385
  _.current.forEach((e, t) => {
16341
16386
  let r = e.ref.current, a = m.current[t];
16342
16387
  if (!a) return;
@@ -16354,11 +16399,11 @@ var dy = .0011, fy = 4, py = i(({ sourceRef: e, targets: t, weight: n = "delicat
16354
16399
  y: o.top - i.top,
16355
16400
  width: o.width,
16356
16401
  height: o.height
16357
- }, d = sy({
16402
+ }, d = hy({
16358
16403
  x: u.x + u.width / 2,
16359
16404
  y: u.y + u.height / 2
16360
- }, s, u), f = t % 2 == 0 ? 1 : -1, p = l ? Math.sin(n * dy + t * 1.7) * fy : 0;
16361
- a.setAttribute("d", uy(s, d, c, {
16405
+ }, s, u), f = t % 2 == 0 ? 1 : -1, p = l ? Math.sin(n * yy + t * 1.7) * by : 0;
16406
+ a.setAttribute("d", vy(s, d, c, {
16362
16407
  sign: f,
16363
16408
  sway: p
16364
16409
  }));
@@ -16370,7 +16415,7 @@ var dy = .0011, fy = 4, py = i(({ sourceRef: e, targets: t, weight: n = "delicat
16370
16415
  }, o = (e) => {
16371
16416
  n(e), i && typeof requestAnimationFrame < "u" && (g.current = requestAnimationFrame(o));
16372
16417
  }, s = () => {
16373
- r && !em() && typeof requestAnimationFrame < "u" ? i || (i = !0, g.current = requestAnimationFrame(o)) : n(0);
16418
+ r && !om() && typeof requestAnimationFrame < "u" ? i || (i = !0, g.current = requestAnimationFrame(o)) : n(0);
16374
16419
  }, c = () => {
16375
16420
  i || n(0);
16376
16421
  }, l = typeof ResizeObserver < "u" ? new ResizeObserver(c) : void 0, u = () => {
@@ -16420,17 +16465,17 @@ var dy = .0011, fy = 4, py = i(({ sourceRef: e, targets: t, weight: n = "delicat
16420
16465
  }, t))]
16421
16466
  });
16422
16467
  });
16423
- py.displayName = "Connector";
16468
+ xy.displayName = "Connector";
16424
16469
  //#endregion
16425
16470
  //#region src/components/Notification/components/Notification.tsx
16426
- var my = {
16471
+ var Sy = {
16427
16472
  primary: "Info",
16428
16473
  gray: "Info",
16429
16474
  success: "Done",
16430
16475
  warning: "Warning",
16431
16476
  error: "Error"
16432
- }, hy = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: s, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
16433
- let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = tm("eidotter-pop-out", i);
16477
+ }, Cy = ({ type: e = "primary", title: t, children: n, actions: r, onClose: i, avatar: a, image: o, progress: s, progressLabel: l, duration: u, showIcon: d = !0, className: f }) => {
16478
+ let { isClosing: p, triggerClose: m, handleAnimationEnd: h } = sm("eidotter-pop-out", i);
16434
16479
  c(() => {
16435
16480
  if (u == null || !i) return;
16436
16481
  let e = setTimeout(() => m(), u);
@@ -16458,8 +16503,8 @@ var my = {
16458
16503
  }),
16459
16504
  g && /* @__PURE__ */ x("div", {
16460
16505
  className: "eidotter-notification__icon",
16461
- children: /* @__PURE__ */ x(Qp, {
16462
- name: my[e] || "Info",
16506
+ children: /* @__PURE__ */ x(im, {
16507
+ name: Sy[e] || "Info",
16463
16508
  size: "S",
16464
16509
  "aria-label": `${e} notification`
16465
16510
  })
@@ -16479,7 +16524,7 @@ var my = {
16479
16524
  }),
16480
16525
  _ && /* @__PURE__ */ S("div", {
16481
16526
  className: "flex flex-col gap-1",
16482
- children: [/* @__PURE__ */ x(wm, {
16527
+ children: [/* @__PURE__ */ x(Am, {
16483
16528
  value: s,
16484
16529
  max: 100,
16485
16530
  size: "sm",
@@ -16500,7 +16545,7 @@ var my = {
16500
16545
  })
16501
16546
  ]
16502
16547
  }),
16503
- i && /* @__PURE__ */ x($p, {
16548
+ i && /* @__PURE__ */ x(am, {
16504
16549
  icon: "Close",
16505
16550
  label: "Close notification",
16506
16551
  className: "eidotter-notification__close",
@@ -16512,22 +16557,22 @@ var my = {
16512
16557
  };
16513
16558
  //#endregion
16514
16559
  //#region src/components/InlineLink/components/InlineLink.tsx
16515
- function gy(e) {
16560
+ function wy(e) {
16516
16561
  let t = e.trim();
16517
- return t === "" || _g(t, { extraSchemes: [
16562
+ return t === "" || Cg(t, { extraSchemes: [
16518
16563
  "tel",
16519
16564
  "ftp",
16520
16565
  "sms"
16521
16566
  ] }) ? t : "#";
16522
16567
  }
16523
- function _y(e, t) {
16568
+ function Ty(e, t) {
16524
16569
  if (t.length === 0) return e;
16525
16570
  let n = new Set((e ?? "").split(/\s+/).map((e) => e.trim().toLowerCase()).filter(Boolean));
16526
16571
  for (let e of t) n.add(e.toLowerCase());
16527
16572
  return Array.from(n).join(" ");
16528
16573
  }
16529
- var vy = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
16530
- let l = gy(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? _y(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
16574
+ var Ey = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, className: i, target: a, rel: o, ...s }, c) => {
16575
+ let l = wy(t), u = a ?? (r ? "_blank" : void 0), d = u === "_blank", f = d ? Ty(o, ["noopener", "noreferrer"]) : o, p = r && d ? "↗" : "▸";
16531
16576
  return /* @__PURE__ */ S("a", {
16532
16577
  ref: c,
16533
16578
  href: l,
@@ -16545,10 +16590,10 @@ var vy = i(({ children: e, href: t, showGlyph: n = !0, external: r = !1, classNa
16545
16590
  })]
16546
16591
  });
16547
16592
  });
16548
- vy.displayName = "InlineLink";
16593
+ Ey.displayName = "InlineLink";
16549
16594
  //#endregion
16550
16595
  //#region src/components/DosFigure/components/DosFigure.tsx
16551
- var yy = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
16596
+ var Dy = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], animated: a = !0, "aria-label": o, className: s }, c) => {
16552
16597
  let u = l(), d = r ? u : void 0;
16553
16598
  return /* @__PURE__ */ S("figure", {
16554
16599
  ref: c,
@@ -16556,7 +16601,7 @@ var yy = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
16556
16601
  role: "img",
16557
16602
  "aria-label": o,
16558
16603
  "aria-describedby": d,
16559
- children: [/* @__PURE__ */ x(fm, {
16604
+ children: [/* @__PURE__ */ x(vm, {
16560
16605
  title: e && /* @__PURE__ */ x("span", {
16561
16606
  "aria-hidden": "true",
16562
16607
  children: e
@@ -16608,11 +16653,11 @@ var yy = i(({ title: e, resolution: t, subject: n, caption: r, pins: i = [], ani
16608
16653
  })]
16609
16654
  });
16610
16655
  });
16611
- yy.displayName = "DosFigure";
16656
+ Dy.displayName = "DosFigure";
16612
16657
  //#endregion
16613
16658
  //#region src/components/CmdPalette/components/CmdPalette.tsx
16614
- var by = /* @__PURE__ */ x(b, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
16615
- function xy(e) {
16659
+ var Oy = /* @__PURE__ */ x(b, { children: "↑/↓ NAVIGATE · ↵ OPEN · ESC CLOSE" });
16660
+ function ky(e) {
16616
16661
  let t = e.toLowerCase().split("+").map((e) => e.trim()), n = t[t.length - 1], r = t.includes("mod"), i = t.includes("shift"), a = t.includes("alt");
16617
16662
  return (e) => {
16618
16663
  if (e.key.toLowerCase() !== n) return !1;
@@ -16620,15 +16665,15 @@ function xy(e) {
16620
16665
  return !(!(r ? t ? e.metaKey : e.ctrlKey : !(e.metaKey || e.ctrlKey)) || i !== e.shiftKey || a !== e.altKey);
16621
16666
  };
16622
16667
  }
16623
- function Sy(e, t) {
16668
+ function Ay(e, t) {
16624
16669
  if (!t) return 0;
16625
16670
  let n = t.toLowerCase(), r = e.label.toLowerCase(), i = (e.keywords || []).map((e) => e.toLowerCase());
16626
16671
  return r.startsWith(n) ? 100 : i.some((e) => e.startsWith(n)) ? 80 : r.includes(n) ? 50 : i.some((e) => e.includes(n)) ? 30 : (e.type || "").toLowerCase().includes(n) ? 10 : -1;
16627
16672
  }
16628
- var Cy = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: a = "NO MATCHES", footerHint: s = by, renderItem: u, maxResults: f = 20, className: h, "aria-label": g = "Command palette" }, _) => {
16673
+ var jy = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TYPE · ▸", hotkey: i = "mod+k", emptyMessage: a = "NO MATCHES", footerHint: s = Oy, renderItem: u, maxResults: f = 20, className: h, "aria-label": g = "Command palette" }, _) => {
16629
16674
  let v = l(), y = `${v}-listbox`, [C, w] = m(""), [T, E] = m(0), D = p(null), O = p(null), k = p(!1), A = d(() => C.trim() ? n.map((e) => ({
16630
16675
  item: e,
16631
- score: Sy(e, C.trim())
16676
+ score: Ay(e, C.trim())
16632
16677
  })).filter((e) => e.score >= 0).sort((e, t) => t.score - e.score).slice(0, f).map((e) => e.item) : n.slice(0, f), [
16633
16678
  n,
16634
16679
  C,
@@ -16653,7 +16698,7 @@ var Cy = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
16653
16698
  M.current = t;
16654
16699
  }, [t]), c(() => {
16655
16700
  if (i === !1) return;
16656
- let e = xy(i), t = (t) => {
16701
+ let e = ky(i), t = (t) => {
16657
16702
  e(t) && (t.preventDefault(), M.current(!j.current));
16658
16703
  };
16659
16704
  return window.addEventListener("keydown", t), () => window.removeEventListener("keydown", t);
@@ -16675,7 +16720,7 @@ var Cy = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
16675
16720
  let N = o((e) => {
16676
16721
  e.onSelect?.(e), t(!1);
16677
16722
  }, [t]);
16678
- return /* @__PURE__ */ S(u_, {
16723
+ return /* @__PURE__ */ S(g_, {
16679
16724
  ref: _,
16680
16725
  open: e,
16681
16726
  onOpenChange: t,
@@ -16754,10 +16799,10 @@ var Cy = i(({ open: e, onOpenChange: t, items: n, placeholder: r = "SEARCH · TY
16754
16799
  })]
16755
16800
  });
16756
16801
  });
16757
- Cy.displayName = "CmdPalette";
16802
+ jy.displayName = "CmdPalette";
16758
16803
  //#endregion
16759
16804
  //#region src/components/AIText/components/AIText.tsx
16760
- var wy = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ S("span", {
16805
+ var My = ({ children: e, className: t, title: n = "AI-assisted text — being rewritten" }) => /* @__PURE__ */ S("span", {
16761
16806
  "data-provenance": "ai-draft",
16762
16807
  className: $("eidotter-ai-text", t),
16763
16808
  title: n,
@@ -16766,10 +16811,10 @@ var wy = ({ children: e, className: t, title: n = "AI-assisted text — being re
16766
16811
  children: "AI-assisted: "
16767
16812
  }), e]
16768
16813
  });
16769
- wy.displayName = "AIText";
16814
+ My.displayName = "AIText";
16770
16815
  //#endregion
16771
16816
  //#region src/components/LegalPage/components/LegalPage.tsx
16772
- var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ S("div", {
16817
+ var Ny = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...o }) => /* @__PURE__ */ S("div", {
16773
16818
  className: $("eidotter-legal-page", a),
16774
16819
  ...o,
16775
16820
  children: [r && /* @__PURE__ */ x("div", {
@@ -16792,13 +16837,13 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
16792
16837
  className: "eidotter-legal-page__body",
16793
16838
  children: i
16794
16839
  })] })]
16795
- }), Ey = /* @__PURE__ */ S(b, { children: [
16840
+ }), Py = /* @__PURE__ */ S(b, { children: [
16796
16841
  "Haus-Endt-Str. 149A",
16797
16842
  /* @__PURE__ */ x("br", {}),
16798
16843
  "40593 Düsseldorf",
16799
16844
  /* @__PURE__ */ x("br", {}),
16800
16845
  "Deutschland"
16801
- ] }), Dy = "Dominic Kennedy", Oy = ({ email: e, address: t = Ey, name: n = Dy }) => /* @__PURE__ */ S("address", { children: [
16846
+ ] }), Fy = "Dominic Kennedy", Iy = ({ email: e, address: t = Py, name: n = Fy }) => /* @__PURE__ */ S("address", { children: [
16802
16847
  n,
16803
16848
  /* @__PURE__ */ x("br", {}),
16804
16849
  t,
@@ -16810,16 +16855,16 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
16810
16855
  children: e
16811
16856
  })
16812
16857
  ] })
16813
- ] }), ky = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ x(Oy, { ...e })] }), Ay = ({ email: e }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Kontakt" }), /* @__PURE__ */ S("p", { children: ["E-Mail: ", /* @__PURE__ */ x("a", {
16858
+ ] }), Ly = (e) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Angaben gemäß § 5 DDG" }), /* @__PURE__ */ x(Iy, { ...e })] }), Ry = ({ email: e }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Kontakt" }), /* @__PURE__ */ S("p", { children: ["E-Mail: ", /* @__PURE__ */ x("a", {
16814
16859
  href: `mailto:${e}`,
16815
16860
  children: e
16816
- })] })] }), jy = ({ name: e = Dy }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ S("address", { children: [
16861
+ })] })] }), zy = ({ name: e = Fy }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Inhaltlich verantwortlich (§ 18 Abs. 2 MStV)" }), /* @__PURE__ */ S("address", { children: [
16817
16862
  e,
16818
16863
  /* @__PURE__ */ x("br", {}),
16819
16864
  "Haus-Endt-Str. 149A",
16820
16865
  /* @__PURE__ */ x("br", {}),
16821
16866
  "40593 Düsseldorf"
16822
- ] })] }), My = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ x("p", { children: "Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht." })] }), Ny = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Links" }), /* @__PURE__ */ x("p", { children: "Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend." })] }), Py = ({ email: e, name: t = Dy }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ S("address", { children: [
16867
+ ] })] }), By = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Inhalte" }), /* @__PURE__ */ x("p", { children: "Ich erstelle die Inhalte dieser Seiten mit größter Sorgfalt, übernehme jedoch keine Gewähr für Richtigkeit, Vollständigkeit oder Aktualität. Als Diensteanbieter bin ich gemäß § 7 Abs. 1 DDG für eigene Inhalte verantwortlich. Eine Pflicht zur Überwachung fremder Informationen besteht gemäß §§ 8–10 DDG nicht." })] }), Vy = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Haftung für Links" }), /* @__PURE__ */ x("p", { children: "Diese Website verlinkt auf externe Seiten Dritter, auf deren Inhalte ich keinen Einfluss habe. Für verlinkte Inhalte haftet der jeweilige Anbieter. Eine dauerhafte Kontrolle ist ohne Anhaltspunkte für Rechtsverletzungen nicht zumutbar. Bei Bekanntwerden von Verstößen entferne ich solche Links umgehend." })] }), Hy = ({ email: e, name: t = Fy }) => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verantwortlicher" }), /* @__PURE__ */ S("address", { children: [
16823
16868
  t,
16824
16869
  /* @__PURE__ */ x("br", {}),
16825
16870
  "Haus-Endt-Str. 149A",
@@ -16831,14 +16876,14 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
16831
16876
  href: `mailto:${e}`,
16832
16877
  children: e
16833
16878
  })
16834
- ] })] }), Fy = () => /* @__PURE__ */ S(b, { children: [
16879
+ ] })] }), Uy = () => /* @__PURE__ */ S(b, { children: [
16835
16880
  /* @__PURE__ */ x("h2", { children: "Hosting" }),
16836
16881
  /* @__PURE__ */ x("p", { children: "Cloudflare Pages stellt diese Website bereit. Beim Seitenaufruf erhebt Cloudflare automatisch technische Zugriffsdaten (darunter Ihre IP-Adresse), um die Seite auszuliefern." }),
16837
16882
  /* @__PURE__ */ x("p", {
16838
16883
  className: "eidotter-legal-page__basis",
16839
16884
  children: "Anbieter: Cloudflare, Inc., 101 Townsend St, San Francisco, CA 94107, USA. Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
16840
16885
  })
16841
- ] }), Iy = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ S(b, { children: [
16886
+ ] }), Wy = ({ proxyHost: e = "e.dmnc.tech" }) => /* @__PURE__ */ S(b, { children: [
16842
16887
  /* @__PURE__ */ x("h2", { children: "Webanalyse — PostHog" }),
16843
16888
  /* @__PURE__ */ S("p", { children: [
16844
16889
  "Diese Website nutzt PostHog zur Analyse des Nutzungsverhaltens. PostHog läuft auf EU-Servern (eu.posthog.com). Die Datenübertragung erfolgt über einen Reverse-Proxy auf der Domain ",
@@ -16855,7 +16900,7 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
16855
16900
  className: "eidotter-legal-page__basis",
16856
16901
  children: "Rechtsgrundlage: Art. 6 Abs. 1 lit. f DSGVO (berechtigtes Interesse)."
16857
16902
  })
16858
- ] }), Ly = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Schriftarten" }), /* @__PURE__ */ x("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), Ry = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ x("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), zy = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ S(b, { children: [
16903
+ ] }), Gy = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Schriftarten" }), /* @__PURE__ */ x("p", { children: "Die Schriftart „Perfect DOS VGA 437“ wird lokal von diesem Server ausgeliefert. Es findet keine Verbindung zu externen Schriftarten-Diensten statt." })] }), Ky = () => /* @__PURE__ */ S(b, { children: [/* @__PURE__ */ x("h2", { children: "Verschlüsselung" }), /* @__PURE__ */ x("p", { children: "Diese Website nutzt SSL-/TLS-Verschlüsselung. Eine verschlüsselte Verbindung erkennen Sie am „https://“ in der Adresszeile Ihres Browsers." })] }), qy = ({ email: e, supervisoryAuthority: t = "die Landesbeauftragte für Datenschutz und Informationsfreiheit Nordrhein-Westfalen" }) => /* @__PURE__ */ S(b, { children: [
16859
16904
  /* @__PURE__ */ x("h2", { children: "Ihre Rechte" }),
16860
16905
  /* @__PURE__ */ x("p", { children: "Die DSGVO gewährt Ihnen folgende Rechte:" }),
16861
16906
  /* @__PURE__ */ S("ul", { children: [
@@ -16880,7 +16925,7 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
16880
16925
  t,
16881
16926
  "."
16882
16927
  ] })
16883
- ] }), By = {
16928
+ ] }), Jy = {
16884
16929
  eidotter: { displayName: "eiDotter" },
16885
16930
  spacewar: { displayName: "Spacewar!" },
16886
16931
  rizomorf: { displayName: "rizomorf" },
@@ -16900,7 +16945,7 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
16900
16945
  },
16901
16946
  "doctor-portal": { displayName: "Doctor Portal" },
16902
16947
  dosbts: { displayName: "DOSBTS" }
16903
- }, Vy = {
16948
+ }, Yy = {
16904
16949
  Alert: {
16905
16950
  origin: "eidotter",
16906
16951
  consumers: ["rizomorf", "steuerdash"],
@@ -18003,6 +18048,16 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
18003
18048
  swiftui: { status: "planned" }
18004
18049
  },
18005
18050
  changelog: [
18051
+ {
18052
+ version: "0.41.1",
18053
+ type: "changed",
18054
+ description: "The unit can drop under the value in a narrow card (a space before the unit is the break opportunity; was a 4px margin with no break) (DMNC-1610)"
18055
+ },
18056
+ {
18057
+ version: "0.41.2",
18058
+ type: "changed",
18059
+ description: "scramble: server HTML and first client render show the final value; scramble starts after mount (no hydration mismatch, DMNC-1609)"
18060
+ },
18006
18061
  {
18007
18062
  version: "0.40.0",
18008
18063
  type: "changed",
@@ -18629,15 +18684,23 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
18629
18684
  path: "src/components/TextScramble",
18630
18685
  status: "canonical"
18631
18686
  } },
18632
- changelog: [{
18633
- version: "0.18.0",
18634
- type: "changed",
18635
- description: "Migrate BEM to Tailwind-first; adopt cn() and forwardRef"
18636
- }, {
18637
- version: "0.10.0",
18638
- type: "added",
18639
- description: "Initial TextScramble — children string, speed, characters, delay; rAF-based reveal"
18640
- }]
18687
+ changelog: [
18688
+ {
18689
+ version: "0.41.2",
18690
+ type: "changed",
18691
+ description: "SSR-safe: server HTML and first client render show the final text; scramble and reduced-motion check run after mount (no hydration mismatch, DMNC-1609)"
18692
+ },
18693
+ {
18694
+ version: "0.18.0",
18695
+ type: "changed",
18696
+ description: "Migrate BEM to Tailwind-first; adopt cn() and forwardRef"
18697
+ },
18698
+ {
18699
+ version: "0.10.0",
18700
+ type: "added",
18701
+ description: "Initial TextScramble — children string, speed, characters, delay; rAF-based reveal"
18702
+ }
18703
+ ]
18641
18704
  },
18642
18705
  ChatMessage: {
18643
18706
  origin: "eidotter",
@@ -18807,17 +18870,37 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
18807
18870
  "size:full": {
18808
18871
  description: "Viewport width minus 2x spacing-4 (Lightbox)",
18809
18872
  since: "0.41.0"
18873
+ },
18874
+ "inline:false": {
18875
+ description: "Modal overlay: React Aria ModalOverlay, portal, scrim, focus trap (default)",
18876
+ since: "0.41.0"
18877
+ },
18878
+ "inline:true": {
18879
+ description: "Same chrome in document flow: no overlay, portal or focus trap; role=group, no aria-modal (docs, static previews)",
18880
+ since: "0.41.1"
18810
18881
  }
18811
18882
  },
18812
18883
  platforms: { react: {
18813
18884
  path: "src/components/DosDialog",
18814
18885
  status: "canonical"
18815
18886
  } },
18816
- changelog: [{
18817
- version: "0.41.0",
18818
- type: "added",
18819
- description: "Initial DosDialog: open/onOpenChange, placement, size, head strip (title/end/marker/decorative or ReactNode), footer, isDismissable, pop-in/out panel (150ms) over a fading scrim, reduced-motion bypass"
18820
- }]
18887
+ changelog: [
18888
+ {
18889
+ version: "0.41.1",
18890
+ type: "added",
18891
+ description: "inline prop: renders the same frame, strip, head, body, footer and end control in place without ModalOverlay, portal or focus trap, as a role=group with no aria-modal; server HTML carries the chrome (DMNC-1605)"
18892
+ },
18893
+ {
18894
+ version: "0.41.1",
18895
+ type: "changed",
18896
+ description: "Last end IconButton docks flush in the frame corner (0px top, 0px right, was 0px top, 4px right), the same rule as DosWindow controls (DMNC-1605)"
18897
+ },
18898
+ {
18899
+ version: "0.41.0",
18900
+ type: "added",
18901
+ description: "Initial DosDialog: open/onOpenChange, placement, size, head strip (title/end/marker/decorative or ReactNode), footer, isDismissable, pop-in/out panel (150ms) over a fading scrim, reduced-motion bypass"
18902
+ }
18903
+ ]
18821
18904
  },
18822
18905
  IconButton: {
18823
18906
  origin: "eidotter",
@@ -18872,6 +18955,10 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
18872
18955
  status: "canonical"
18873
18956
  } },
18874
18957
  changelog: [{
18958
+ version: "0.41.1",
18959
+ type: "changed",
18960
+ description: "Last control IconButton docks flush in the frame corner (0px top, 0px right, was 0px top, 4px right); the inline-end overhang moved from the controls container to the last IconButton, so non-IconButton controls keep the strip padding (DMNC-1605)"
18961
+ }, {
18875
18962
  version: "0.41.0",
18876
18963
  type: "added",
18877
18964
  description: "Initial DosWindow: title, marker, active, controls, footer, className; stable classes eidotter-window, __strip, __title, __controls, __body, __footer (DMNC-1592)"
@@ -19368,6 +19455,10 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
19368
19455
  version: "0.40.0",
19369
19456
  type: "added",
19370
19457
  description: "Initial RangeBar (health metabolism family)"
19458
+ }, {
19459
+ version: "0.41.1",
19460
+ type: "changed",
19461
+ description: "Vertical legend wraps under the bar in a narrow container; legend names wrap instead of truncating and a bound moves to the next line whole; percent and target label separated by a gap and a space; lane and legend text print black on white (DMNC-1610)"
19371
19462
  }]
19372
19463
  },
19373
19464
  SeriesBars: {
@@ -19416,15 +19507,28 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
19416
19507
  },
19417
19508
  swiftui: { status: "planned" }
19418
19509
  },
19419
- changelog: [{
19420
- version: "0.40.0",
19421
- type: "added",
19422
- description: "Initial SeriesBars (health metabolism family)"
19423
- }, {
19424
- version: "0.41.0",
19425
- type: "changed",
19426
- description: "Goal label moved into a reserved band above the plot so it never paints over a bar (DMNC-1573)"
19427
- }]
19510
+ changelog: [
19511
+ {
19512
+ version: "0.40.0",
19513
+ type: "added",
19514
+ description: "Initial SeriesBars (health metabolism family)"
19515
+ },
19516
+ {
19517
+ version: "0.41.0",
19518
+ type: "changed",
19519
+ description: "Goal label moved into a reserved band above the plot so it never paints over a bar (DMNC-1573)"
19520
+ },
19521
+ {
19522
+ version: "0.41.1",
19523
+ type: "added",
19524
+ description: "Additive unit and format (formatValue digits/percent/signed) props: values and the goal carry the unit in the summary, value table and bar titles; a goal label that already holds the goal value is not repeated (DMNC-1610)"
19525
+ },
19526
+ {
19527
+ version: "0.41.1",
19528
+ type: "changed",
19529
+ description: "Sparse ticks (tickEvery > 1) overflow into empty neighbour columns instead of truncating; first and last labels pinned to the plot edges; goal tag and ticks print black on white (DMNC-1610)"
19530
+ }
19531
+ ]
19428
19532
  },
19429
19533
  DecayStrip: {
19430
19534
  origin: "eidotter",
@@ -19559,21 +19663,21 @@ var Ty = ({ title: e, date: t, intro: n, home: r, children: i, className: a, ...
19559
19663
  }]
19560
19664
  }
19561
19665
  };
19562
- function Hy(e) {
19563
- return Vy[e];
19666
+ function Xy(e) {
19667
+ return Yy[e];
19564
19668
  }
19565
- function Uy(e) {
19566
- return Object.entries(Vy).filter(([, t]) => t.origin === e).map(([e]) => e);
19669
+ function Zy(e) {
19670
+ return Object.entries(Yy).filter(([, t]) => t.origin === e).map(([e]) => e);
19567
19671
  }
19568
- function Wy(e) {
19569
- return Object.entries(Vy).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
19672
+ function Qy(e) {
19673
+ return Object.entries(Yy).filter(([, t]) => t.consumers.includes(e)).map(([e]) => e);
19570
19674
  }
19571
- function Gy(e, t) {
19572
- let n = Vy[e];
19675
+ function $y(e, t) {
19676
+ let n = Yy[e];
19573
19677
  return n?.variants ? Object.entries(n.variants).filter(([, e]) => e.usedBy?.includes(t)).map(([e]) => e) : [];
19574
19678
  }
19575
- function Ky(e) {
19576
- let t = Vy[e];
19679
+ function eb(e) {
19680
+ let t = Yy[e];
19577
19681
  if (!t?.variants) return {};
19578
19682
  let n = {};
19579
19683
  for (let [e, r] of Object.entries(t.variants)) n[e] = r.usedBy ?? [];
@@ -19581,6 +19685,6 @@ function Ky(e) {
19581
19685
  }
19582
19686
  //#endregion
19583
19687
  //#region src/index.ts
19584
- var qy = "0.41.0";
19688
+ var tb = "0.41.2";
19585
19689
  //#endregion
19586
- export { wy as AIText, cm as AccordionFill, Oy as AddressBlock, om as Alert, pg as Badge, Gv as BrandLockup, yg as Breadcrumb, dm as Button, eg as CalendarHeatmap, mm as Card, Nv as ChatContainer, jv as ChatHistory, Mv as ChatInput, Av as ChatMessage, hm as Checkbox, sv as ChecklistRow, Cy as CmdPalette, gm as CommandPrompt, py as Connector, cv as CopyButton, Py as DatenschutzController, Ry as DatenschutzEncryption, Ly as DatenschutzFonts, Fy as DatenschutzHosting, Iy as DatenschutzPostHog, zy as DatenschutzRights, Gh as DecayStrip, Ev as DesktopNav, u_ as DosDialog, yy as DosFigure, fm as DosWindow, uh as EmptyState, Q_ as FilterBar, Fv as Footer, $m as Gauge, ey as Header, ig as HoldToComplete, Qp as Icon, $p as IconButton, ky as ImpressumAddress, Ay as ImpressumContact, My as ImpressumLiabilityContent, Ny as ImpressumLiabilityLinks, jy as ImpressumResponsible, tv as InlineExpand, vy as InlineLink, og as Input, Cv as LabeledProgress, Sv as LedgerRow, Ty as LegalPage, d_ as Lightbox, Uv as Logo, Xv as Mark, ch as Meter, fh as MeterGroup, Dv as MobileNav, H_ as Modal, Ov as Nav, hy as Notification, wm as Progress, Em as ProgressRing, Ch as RangeBar, wg as RetroEffects, sm as Section, av as SectionHeading, xv as Select, rv as Separator, kh as SeriesBars, Nm as Skeleton, X_ as Stat, mg as Switch, ug as Tabs, w_ as Tag, E_ as TagGroup, sg as Terminal, wv as TextScramble, j_ as TimelineContainer, F_ as TimelineFeed, kg as TimelineNode, V_ as TimelinePage, Ph as VitalsStrip, Wv as Wordmark, Ag as ZOOM_LEVELS, Vy as componentRegistry, Pv as defaultLegalLinks, Hy as getComponentMeta, Wy as getComponentsByConsumer, Uy as getComponentsByOrigin, Ky as getVariantConsumerMap, Gy as getVariantsUsedBy, _g as isSafeHref, $_ as isSafeUrl, By as projects, G_ as useTextScramble, qy as version };
19690
+ export { My as AIText, mm as AccordionFill, Iy as AddressBlock, fm as Alert, yg as Badge, $v as BrandLockup, Tg as Breadcrumb, _m as Button, og as CalendarHeatmap, bm as Card, Vv as ChatContainer, zv as ChatHistory, Bv as ChatInput, Rv as ChatMessage, xm as Checkbox, hv as ChecklistRow, jy as CmdPalette, Sm as CommandPrompt, xy as Connector, gv as CopyButton, Hy as DatenschutzController, Ky as DatenschutzEncryption, Gy as DatenschutzFonts, Uy as DatenschutzHosting, Wy as DatenschutzPostHog, qy as DatenschutzRights, Zh as DecayStrip, Pv as DesktopNav, g_ as DosDialog, Dy as DosFigure, vm as DosWindow, gh as EmptyState, ov as FilterBar, Uv as Footer, ah as Gauge, cy as Header, ug as HoldToComplete, im as Icon, am as IconButton, Ly as ImpressumAddress, Ry as ImpressumContact, By as ImpressumLiabilityContent, Vy as ImpressumLiabilityLinks, zy as ImpressumResponsible, lv as InlineExpand, Ey as InlineLink, fg as Input, jv as LabeledProgress, Av as LedgerRow, Ny as LegalPage, __ as Lightbox, Zv as Logo, iy as Mark, mh as Meter, vh as MeterGroup, Fv as MobileNav, J_ as Modal, Iv as Nav, Cy as Notification, Am as Progress, Mm as ProgressRing, kh as RangeBar, Ag as RetroEffects, pm as Section, pv as SectionHeading, kv as Select, dv as Separator, Fh as SeriesBars, zm as Skeleton, iv as Stat, bg as Switch, gg as Tabs, A_ as Tag, M_ as TagGroup, pg as Terminal, Mv as TextScramble, L_ as TimelineContainer, V_ as TimelineFeed, Fg as TimelineNode, q_ as TimelinePage, Bh as VitalsStrip, Qv as Wordmark, Ig as ZOOM_LEVELS, Yy as componentRegistry, Hv as defaultLegalLinks, Xy as getComponentMeta, Qy as getComponentsByConsumer, Zy as getComponentsByOrigin, eb as getVariantConsumerMap, $y as getVariantsUsedBy, Cg as isSafeHref, sv as isSafeUrl, Jy as projects, $_ as useTextScramble, tb as version };