@nordmanai/nif 0.2.8 → 0.2.10

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.
Files changed (58) hide show
  1. package/dist/index.js +578 -569
  2. package/dist/styles.css +1 -1
  3. package/dist/ui/config/nm-appearance.d.ts +13 -1
  4. package/dist/ui/lib/appearance/appearanceState.d.ts +2 -1
  5. package/package.json +1 -1
  6. package/registry/index.json +1 -1
  7. package/registry/ui/components/nm-ai/nm-ai.css +3 -3
  8. package/registry/ui/components/nm-alert/nm-alert.css +1 -1
  9. package/registry/ui/components/nm-button/nm-button.css +2 -2
  10. package/registry/ui/components/nm-button-group/nm-button-group.css +1 -1
  11. package/registry/ui/components/nm-calendar/nm-calendar.css +1 -1
  12. package/registry/ui/components/nm-card/nm-card.css +2 -2
  13. package/registry/ui/components/nm-chatbox/nm-chatbox.css +1 -1
  14. package/registry/ui/components/nm-checkbox/nm-checkbox.css +2 -2
  15. package/registry/ui/components/nm-chip/nm-chip.css +1 -1
  16. package/registry/ui/components/nm-code-block/nm-code-block.css +1 -1
  17. package/registry/ui/components/nm-collection/nm-collection.css +2 -2
  18. package/registry/ui/components/nm-color-picker/nm-color-picker.css +1 -1
  19. package/registry/ui/components/nm-combobox/nm-combobox.css +2 -2
  20. package/registry/ui/components/nm-combobox/nm-combobox.tsx +0 -3
  21. package/registry/ui/components/nm-command/nm-command.css +1 -1
  22. package/registry/ui/components/nm-composer/nm-composer.css +3 -3
  23. package/registry/ui/components/nm-date-picker/nm-date-picker.css +2 -2
  24. package/registry/ui/components/nm-dialog/nm-dialog.css +1 -1
  25. package/registry/ui/components/nm-drawer/nm-drawer.css +2 -2
  26. package/registry/ui/components/nm-dropdown/nm-dropdown.css +2 -2
  27. package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +1 -1
  28. package/registry/ui/components/nm-field/nm-field.css +6 -6
  29. package/registry/ui/components/nm-hover-card/nm-hover-card.css +1 -1
  30. package/registry/ui/components/nm-input/nm-input.css +3 -3
  31. package/registry/ui/components/nm-input-group/nm-input-group.css +2 -2
  32. package/registry/ui/components/nm-message/nm-message.css +1 -1
  33. package/registry/ui/components/nm-native-select/nm-native-select.css +2 -2
  34. package/registry/ui/components/nm-popover/nm-popover.css +1 -1
  35. package/registry/ui/components/nm-prose/nm-prose.css +3 -3
  36. package/registry/ui/components/nm-questionnaire/nm-questionnaire.css +3 -3
  37. package/registry/ui/components/nm-radio-group/nm-radio-group.css +2 -2
  38. package/registry/ui/components/nm-segmented/nm-segmented.css +1 -1
  39. package/registry/ui/components/nm-select/nm-select.css +9 -5
  40. package/registry/ui/components/nm-select/nm-select.tsx +0 -3
  41. package/registry/ui/components/nm-separator/nm-separator.css +1 -1
  42. package/registry/ui/components/nm-side-panel/nm-side-panel.css +1 -1
  43. package/registry/ui/components/nm-sidebar/nm-sidebar.css +9 -9
  44. package/registry/ui/components/nm-spinner/nm-spinner.css +1 -1
  45. package/registry/ui/components/nm-switch/nm-switch.css +1 -1
  46. package/registry/ui/components/nm-table/nm-table.css +4 -4
  47. package/registry/ui/components/nm-tabs/nm-tabs.css +1 -1
  48. package/registry/ui/components/nm-textarea/nm-textarea.css +5 -5
  49. package/registry/ui/components/nm-toggle/nm-toggle.css +1 -1
  50. package/registry/ui/components/nordman-icon-button/nordman-icon-button.css +2 -2
  51. package/registry/ui/components/nordman-login/nordman-login.css +3 -3
  52. package/registry/ui/components/nordman-toggle/nordman-toggle.css +1 -1
  53. package/registry/ui/config/nm-appearance.ts +17 -0
  54. package/registry/ui/lib/appearance/appearanceState.ts +8 -0
  55. package/registry/ui/lib/appearance/applyAppearance.ts +3 -1
  56. package/registry/ui/lib/appearance/deriveTokens.ts +2 -0
  57. package/registry/ui/styles/light-appearance.css +3 -3
  58. package/registry/ui/styles/tokens.css +21 -0
package/dist/index.js CHANGED
@@ -25887,17 +25887,14 @@ function vM({ className: e, ...t }) {
25887
25887
  });
25888
25888
  }
25889
25889
  function yM({ className: e, children: t, ...n }) {
25890
- return /* @__PURE__ */ x(Lc.Item, {
25890
+ return /* @__PURE__ */ b(Lc.Item, {
25891
25891
  "data-slot": "combobox-item",
25892
25892
  className: F("nm-menu__item nm-select__item", e),
25893
25893
  ...n,
25894
- children: [/* @__PURE__ */ b("span", {
25894
+ children: /* @__PURE__ */ b("span", {
25895
25895
  className: "nm-select__text",
25896
25896
  children: t
25897
- }), /* @__PURE__ */ b(Lc.ItemIndicator, {
25898
- className: "nm-select__check",
25899
- children: /* @__PURE__ */ b(G, { id: "check" })
25900
- })]
25897
+ })
25901
25898
  });
25902
25899
  }
25903
25900
  function bM({ className: e, ...t }) {
@@ -25970,17 +25967,14 @@ function DM({ className: e, children: t, anchor: n, ...r }) {
25970
25967
  }) });
25971
25968
  }
25972
25969
  function OM({ className: e, children: t, ...n }) {
25973
- return /* @__PURE__ */ x(sp.Item, {
25970
+ return /* @__PURE__ */ b(sp.Item, {
25974
25971
  "data-slot": "select-item",
25975
25972
  className: F("nm-menu__item nm-select__item", e),
25976
25973
  ...n,
25977
- children: [/* @__PURE__ */ b(sp.ItemText, {
25974
+ children: /* @__PURE__ */ b(sp.ItemText, {
25978
25975
  className: "nm-select__text",
25979
25976
  children: t
25980
- }), /* @__PURE__ */ b(sp.ItemIndicator, {
25981
- className: "nm-select__check",
25982
- children: /* @__PURE__ */ b(G, { id: "check" })
25983
- })]
25977
+ })
25984
25978
  });
25985
25979
  }
25986
25980
  function kM(e) {
@@ -29724,11 +29718,19 @@ var jz = {
29724
29718
  min: 75,
29725
29719
  max: 125,
29726
29720
  default: 100
29727
- }, Vz = {
29721
+ }, Vz = [
29722
+ "default",
29723
+ "subtle",
29724
+ "none"
29725
+ ], Hz = {
29726
+ default: "100%",
29727
+ subtle: "35%",
29728
+ none: "0%"
29729
+ }, Uz = "data-nm-borders", Wz = {
29728
29730
  min: 0,
29729
29731
  max: 100,
29730
29732
  default: 0
29731
- }, Hz = [
29733
+ }, Gz = [
29732
29734
  "default",
29733
29735
  "blue",
29734
29736
  "green",
@@ -29738,7 +29740,7 @@ var jz = {
29738
29740
  "purple",
29739
29741
  "white",
29740
29742
  "custom"
29741
- ], Uz = [
29743
+ ], Kz = [
29742
29744
  {
29743
29745
  id: "nordman",
29744
29746
  label: "Nordman",
@@ -29999,7 +30001,7 @@ var jz = {
29999
30001
  foreground: jz.light.fg
30000
30002
  }
30001
30003
  }
30002
- ], Wz = {
30004
+ ], qz = {
30003
30005
  blue: "#58A6FF",
30004
30006
  green: "#3DDC84",
30005
30007
  yellow: "#E6B450",
@@ -30007,7 +30009,7 @@ var jz = {
30007
30009
  orange: "#FF9F43",
30008
30010
  purple: "#A371F7",
30009
30011
  white: "#FFFFFF"
30010
- }, Gz = {
30012
+ }, Jz = {
30011
30013
  mode: "system",
30012
30014
  themePresetId: "nordman",
30013
30015
  accentPreset: "default",
@@ -30019,27 +30021,28 @@ var jz = {
30019
30021
  uiIconSizePx: Rz.default,
30020
30022
  uiRadiusPercent: zz.default,
30021
30023
  uiSpacePercent: Bz.default,
30022
- contrast: Vz.default
30023
- }, Kz = /* @__PURE__ */ "--nm-canvas.--nm-fg.--nm-fg-muted.--nm-fg-subtle.--nm-stroke.--nm-line.--nm-line-strong.--nm-divider.--control-fs.--nm-panel.--nm-raised.--nm-inset.--nm-mark-primary.--nm-mark-secondary.--nm-mark-tertiary.--nm-mark-surface.--nm-canvas-rgb.--nm-fg-rgb.--nm-fg-muted-rgb.--nm-fg-subtle-rgb.--nm-stroke-rgb.--nm-line-rgb.--nm-panel-rgb.--nm-raised-rgb.--nm-inset-rgb.--sand.--nm-accent.--nm-accent-rgb.--orb-ui-cloud-appearance-deepColor.--orb-ui-cloud-appearance-upperColor.--orb-ui-cloud-appearance-lowerColor.--orb-ui-cloud-appearance-highlightColor.--orb-ui-cloud-appearance-launchColor.--orb-ui-cloud-appearance-spinnerColor.--nm-weight-light.--nm-weight-regular.--nm-weight-medium.--nm-weight-semibold.--nm-weight-bold.--nm-type-body.--nm-type-ui.--nm-type-ui-sm.--nm-type-lede.--nm-type-section.--nm-type-card.--nm-type-caption.--markdown-font-size.--font-size-base.--font-size-sm.--nm-icon-button.--nm-icon-sm.--nm-rail-icon.--nm-ui-chip-min-height.--nm-radius-scale.--nm-space-scale.--text-primary.--text-secondary.--text-tertiary.--text-muted.--presentation.--surface-primary.--surface-chat.--surface-secondary.--surface-secondary-alt.--surface-tertiary.--surface-primary-alt.--surface-dialog.--surface-hover.--surface-active.--border-light.--border-medium.--link.--link-hover.--link-visited.--accent-primary.--ring-primary.--brand-purple.--nordman-accent".split(".");
30024
- function qz(e) {
30025
- return Uz.find((t) => t.id === e);
30024
+ contrast: Wz.default,
30025
+ borders: "default"
30026
+ }, Yz = /* @__PURE__ */ "--nm-canvas.--nm-fg.--nm-fg-muted.--nm-fg-subtle.--nm-stroke.--nm-line.--nm-line-strong.--nm-divider.--control-fs.--nm-panel.--nm-raised.--nm-inset.--nm-mark-primary.--nm-mark-secondary.--nm-mark-tertiary.--nm-mark-surface.--nm-canvas-rgb.--nm-fg-rgb.--nm-fg-muted-rgb.--nm-fg-subtle-rgb.--nm-stroke-rgb.--nm-line-rgb.--nm-panel-rgb.--nm-raised-rgb.--nm-inset-rgb.--sand.--nm-accent.--nm-accent-rgb.--orb-ui-cloud-appearance-deepColor.--orb-ui-cloud-appearance-upperColor.--orb-ui-cloud-appearance-lowerColor.--orb-ui-cloud-appearance-highlightColor.--orb-ui-cloud-appearance-launchColor.--orb-ui-cloud-appearance-spinnerColor.--nm-weight-light.--nm-weight-regular.--nm-weight-medium.--nm-weight-semibold.--nm-weight-bold.--nm-type-body.--nm-type-ui.--nm-type-ui-sm.--nm-type-lede.--nm-type-section.--nm-type-card.--nm-type-caption.--markdown-font-size.--font-size-base.--font-size-sm.--nm-icon-button.--nm-icon-sm.--nm-rail-icon.--nm-ui-chip-min-height.--nm-radius-scale.--nm-space-scale.--nm-border-strength.--text-primary.--text-secondary.--text-tertiary.--text-muted.--presentation.--surface-primary.--surface-chat.--surface-secondary.--surface-secondary-alt.--surface-tertiary.--surface-primary-alt.--surface-dialog.--surface-hover.--surface-active.--border-light.--border-medium.--link.--link-hover.--link-visited.--accent-primary.--ring-primary.--brand-purple.--nordman-accent".split(".");
30027
+ function Xz(e) {
30028
+ return Kz.find((t) => t.id === e);
30026
30029
  }
30027
- function Jz() {
30028
- return Gz.themePresetId;
30030
+ function Zz() {
30031
+ return Jz.themePresetId;
30029
30032
  }
30030
30033
  // src/ui/components/nm-voice-orb/use-nm-voice-orb-theme.ts
30031
- function Yz(e, t) {
30034
+ function Qz(e, t) {
30032
30035
  if (typeof document > "u") return t;
30033
30036
  let n = getComputedStyle(document.documentElement).getPropertyValue(e).trim();
30034
30037
  return n.length > 0 ? n : t;
30035
30038
  }
30036
- function Xz() {
30039
+ function $z() {
30037
30040
  let [e, t] = p(0);
30038
30041
  return c(() => {
30039
30042
  let e = () => t((e) => e + 1);
30040
30043
  return window.addEventListener(Nz, e), () => window.removeEventListener(Nz, e);
30041
30044
  }, []), d(() => {
30042
- let e = Yz("--nm-accent", "#D2BB9C"), t = Yz("--nm-canvas", "#000000"), n = Yz("--nm-fg", "#FFFFFF");
30045
+ let e = Qz("--nm-accent", "#D2BB9C"), t = Qz("--nm-canvas", "#000000"), n = Qz("--nm-fg", "#FFFFFF");
30043
30046
  return xi({
30044
30047
  ...gz,
30045
30048
  appearance: Oz(e, t, n)
@@ -30047,11 +30050,11 @@ function Xz() {
30047
30050
  }, [e]);
30048
30051
  }
30049
30052
  // src/ui/components/nm-voice-orb/nm-voice-orb.tsx
30050
- var Zz = W("interface-nm-voice-orb");
30051
- function Qz(e) {
30053
+ var eB = W("interface-nm-voice-orb");
30054
+ function tB(e) {
30052
30055
  return typeof e != "number" || !Number.isFinite(e) ? 0 : Math.min(1, Math.max(0, e));
30053
30056
  }
30054
- function $z() {
30057
+ function nB() {
30055
30058
  typeof window < "u" && typeof window.matchMedia != "function" && Object.defineProperty(window, "matchMedia", {
30056
30059
  writable: !0,
30057
30060
  configurable: !0,
@@ -30067,12 +30070,12 @@ function $z() {
30067
30070
  })
30068
30071
  });
30069
30072
  }
30070
- function eB(e) {
30071
- $z();
30072
- let t = Xz(), { signal: n, adapter: r, inputVolume: i, outputVolume: a, getInputVolume: o, getOutputVolume: s } = e, c = _z(e.agentState), l = d(() => {
30073
+ function rB(e) {
30074
+ nB();
30075
+ let t = $z(), { signal: n, adapter: r, inputVolume: i, outputVolume: a, getInputVolume: o, getOutputVolume: s } = e, c = _z(e.agentState), l = d(() => {
30073
30076
  if (n) return n;
30074
30077
  if (r) return;
30075
- let e = Qz(i ?? o?.() ?? 0), t = Qz(a ?? s?.() ?? (c === "speaking" ? .72 : 0));
30078
+ let e = tB(i ?? o?.() ?? 0), t = tB(a ?? s?.() ?? (c === "speaking" ? .72 : 0));
30076
30079
  return {
30077
30080
  state: c,
30078
30081
  inputVolume: e,
@@ -30087,7 +30090,7 @@ function eB(e) {
30087
30090
  a,
30088
30091
  n
30089
30092
  ]);
30090
- return Zz.debug("render", "orb-ui", { state: c }), /* @__PURE__ */ b(bi, {
30093
+ return eB.debug("render", "orb-ui", { state: c }), /* @__PURE__ */ b(bi, {
30091
30094
  adapter: e.adapter,
30092
30095
  signal: l,
30093
30096
  state: e.agentState == null ? void 0 : c,
@@ -30102,7 +30105,7 @@ function eB(e) {
30102
30105
  });
30103
30106
  }
30104
30107
  // src/ui/components/nm-composer/nm-composer.tsx
30105
- function tB(e) {
30108
+ function iB(e) {
30106
30109
  let t = [], n = 0, r = 0;
30107
30110
  for (let i of e.matchAll(/* @__PURE__ */ RegExp("⁠([^⁠]*)⁠", "g"))) {
30108
30111
  let a = i.index ?? 0;
@@ -30120,19 +30123,19 @@ function tB(e) {
30120
30123
  value: e.slice(n)
30121
30124
  }), t;
30122
30125
  }
30123
- var nB = null;
30124
- function rB(e, t) {
30125
- if (nB ??= document.createElement("canvas").getContext("2d"), nB == null) return 0;
30126
+ var aB = null;
30127
+ function oB(e, t) {
30128
+ if (aB ??= document.createElement("canvas").getContext("2d"), aB == null) return 0;
30126
30129
  let n = getComputedStyle(e);
30127
- return nB.font = n.font || `${n.fontSize} sans-serif`, nB.measureText(t).width;
30130
+ return aB.font = n.font || `${n.fontSize} sans-serif`, aB.measureText(t).width;
30128
30131
  }
30129
- function iB(e) {
30132
+ function sB(e) {
30130
30133
  let t = f(null), [, n] = p(0), { field: r, text: i } = e;
30131
30134
  return u(() => {
30132
30135
  let e = r.current, n = t.current;
30133
30136
  if (e != null && n != null) for (let t of n.querySelectorAll("[data-token]")) {
30134
30137
  t.style.marginRight = "0px";
30135
- let n = rB(e, t.dataset.token ?? "") - t.getBoundingClientRect().width;
30138
+ let n = oB(e, t.dataset.token ?? "") - t.getBoundingClientRect().width;
30136
30139
  t.style.marginRight = `${n}px`;
30137
30140
  }
30138
30141
  }), c(() => {
@@ -30146,7 +30149,7 @@ function iB(e) {
30146
30149
  ref: t,
30147
30150
  className: Q.inline,
30148
30151
  "aria-hidden": "true",
30149
- children: tB(i).map((t, n) => {
30152
+ children: iB(i).map((t, n) => {
30150
30153
  if (t.kind === "text") return /* @__PURE__ */ b("span", { children: t.value }, `t-${n}`);
30151
30154
  let r = e.chip?.(t.label);
30152
30155
  return /* @__PURE__ */ b(CC, {
@@ -30163,7 +30166,7 @@ function iB(e) {
30163
30166
  })
30164
30167
  });
30165
30168
  }
30166
- function aB(e) {
30169
+ function cB(e) {
30167
30170
  let t = f(null), n = f(null), r = o((r) => {
30168
30171
  n.current = r, t.current = r;
30169
30172
  let i = e.fieldRef;
@@ -30238,7 +30241,7 @@ function aB(e) {
30238
30241
  "data-testid": "voice-orb-connecting",
30239
30242
  onClick: e.onVoiceStop,
30240
30243
  children: /* @__PURE__ */ b(G, { id: "loader" })
30241
- }) : /* @__PURE__ */ b(eB, {
30244
+ }) : /* @__PURE__ */ b(rB, {
30242
30245
  adapter: e.voiceAdapter,
30243
30246
  agentState: e.voiceState ?? "listening",
30244
30247
  onClick: e.onVoiceStop,
@@ -30326,7 +30329,7 @@ function aB(e) {
30326
30329
  "data-listening": e.listening ? "true" : void 0,
30327
30330
  children: [
30328
30331
  e.overlay,
30329
- l ? /* @__PURE__ */ b(iB, {
30332
+ l ? /* @__PURE__ */ b(sB, {
30330
30333
  text: e.value,
30331
30334
  field: n,
30332
30335
  chip: e.inlineChip
@@ -30400,20 +30403,20 @@ function aB(e) {
30400
30403
  });
30401
30404
  }
30402
30405
  // src/ui/components/nm-context-menu/nm-context-menu.tsx
30403
- function oB(e) {
30406
+ function lB(e) {
30404
30407
  return /* @__PURE__ */ b(hd.Root, {
30405
30408
  "data-slot": "context-menu",
30406
30409
  ...e
30407
30410
  });
30408
30411
  }
30409
- function sB({ className: e, ...t }) {
30412
+ function uB({ className: e, ...t }) {
30410
30413
  return /* @__PURE__ */ b(hd.Trigger, {
30411
30414
  "data-slot": "context-menu-trigger",
30412
30415
  className: e,
30413
30416
  ...t
30414
30417
  });
30415
30418
  }
30416
- function cB({ className: e, ...t }) {
30419
+ function dB({ className: e, ...t }) {
30417
30420
  return /* @__PURE__ */ b(hd.Portal, { children: /* @__PURE__ */ b(hd.Positioner, {
30418
30421
  className: "nm-menu__positioner",
30419
30422
  children: /* @__PURE__ */ b(hd.Popup, {
@@ -30424,12 +30427,12 @@ function cB({ className: e, ...t }) {
30424
30427
  }) });
30425
30428
  }
30426
30429
  // src/ui/components/nm-date-picker/nm-date-picker.tsx
30427
- var lB = (e) => e.toLocaleDateString(void 0, {
30430
+ var fB = (e) => e.toLocaleDateString(void 0, {
30428
30431
  year: "numeric",
30429
30432
  month: "short",
30430
30433
  day: "numeric"
30431
- }), uB = (e) => String(e).padStart(2, "0");
30432
- function dB(e) {
30434
+ }), pB = (e) => String(e).padStart(2, "0");
30435
+ function mB(e) {
30433
30436
  return /* @__PURE__ */ x(pN, {
30434
30437
  className: "nm-picker__trigger",
30435
30438
  disabled: e.disabled,
@@ -30439,14 +30442,14 @@ function dB(e) {
30439
30442
  children: [/* @__PURE__ */ b(G, { id: e.icon }), /* @__PURE__ */ b("span", { children: e.text ?? e.placeholder })]
30440
30443
  });
30441
30444
  }
30442
- function fB({ value: e, onValueChange: t, placeholder: n = "Pick a date", ...r }) {
30445
+ function hB({ value: e, onValueChange: t, placeholder: n = "Pick a date", ...r }) {
30443
30446
  let [i, a] = p(!1);
30444
30447
  return /* @__PURE__ */ x(fN, {
30445
30448
  open: i,
30446
30449
  onOpenChange: a,
30447
- children: [/* @__PURE__ */ b(dB, {
30450
+ children: [/* @__PURE__ */ b(mB, {
30448
30451
  icon: "calendar",
30449
- text: e ? lB(e) : null,
30452
+ text: e ? fB(e) : null,
30450
30453
  placeholder: n,
30451
30454
  ...r
30452
30455
  }), /* @__PURE__ */ b(mN, {
@@ -30463,9 +30466,9 @@ function fB({ value: e, onValueChange: t, placeholder: n = "Pick a date", ...r }
30463
30466
  })]
30464
30467
  });
30465
30468
  }
30466
- function pB({ value: e, onValueChange: t, placeholder: n = "Pick a range", ...r }) {
30467
- let i = e?.from ? `${lB(e.from)}${e.to ? ` – ${lB(e.to)}` : ""}` : null;
30468
- return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(dB, {
30469
+ function gB({ value: e, onValueChange: t, placeholder: n = "Pick a range", ...r }) {
30470
+ let i = e?.from ? `${fB(e.from)}${e.to ? ` – ${fB(e.to)}` : ""}` : null;
30471
+ return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(mB, {
30469
30472
  icon: "calendar",
30470
30473
  text: i,
30471
30474
  placeholder: n,
@@ -30482,7 +30485,7 @@ function pB({ value: e, onValueChange: t, placeholder: n = "Pick a range", ...r
30482
30485
  })
30483
30486
  })] });
30484
30487
  }
30485
- function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r }) {
30488
+ function _B({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r }) {
30486
30489
  let [i, a] = p(!1), [o, s] = p(e ? Number(e.slice(0, 4)) : (/* @__PURE__ */ new Date()).getFullYear()), c = e ? {
30487
30490
  y: Number(e.slice(0, 4)),
30488
30491
  m: Number(e.slice(5, 7))
@@ -30493,7 +30496,7 @@ function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r
30493
30496
  return /* @__PURE__ */ x(fN, {
30494
30497
  open: i,
30495
30498
  onOpenChange: a,
30496
- children: [/* @__PURE__ */ b(dB, {
30499
+ children: [/* @__PURE__ */ b(mB, {
30497
30500
  icon: "calendar",
30498
30501
  text: u,
30499
30502
  placeholder: n,
@@ -30535,7 +30538,7 @@ function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r
30535
30538
  className: "nm-picker__option",
30536
30539
  "aria-pressed": c?.y === o && c.m === n + 1,
30537
30540
  onClick: () => {
30538
- t?.(`${o}-${uB(n + 1)}`), a(!1);
30541
+ t?.(`${o}-${pB(n + 1)}`), a(!1);
30539
30542
  },
30540
30543
  children: e
30541
30544
  }, e))
@@ -30544,7 +30547,7 @@ function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r
30544
30547
  })]
30545
30548
  });
30546
30549
  }
30547
- function hB(e) {
30550
+ function vB(e) {
30548
30551
  let [t, n] = e.value ? e.value.split(":").map(Number) : [void 0, void 0], r = Array.from({ length: 24 }, (e, t) => t), i = Array.from({ length: Math.ceil(60 / e.minuteStep) }, (t, n) => n * e.minuteStep);
30549
30552
  return /* @__PURE__ */ x("div", {
30550
30553
  className: "nm-picker__time",
@@ -30557,8 +30560,8 @@ function hB(e) {
30557
30560
  role: "option",
30558
30561
  "aria-selected": r === t,
30559
30562
  className: "nm-picker__option",
30560
- onClick: () => e.onValueChange(`${uB(r)}:${uB(n ?? 0)}`),
30561
- children: uB(r)
30563
+ onClick: () => e.onValueChange(`${pB(r)}:${pB(n ?? 0)}`),
30564
+ children: pB(r)
30562
30565
  }, r))
30563
30566
  }), /* @__PURE__ */ b("div", {
30564
30567
  className: "nm-picker__column",
@@ -30569,14 +30572,14 @@ function hB(e) {
30569
30572
  role: "option",
30570
30573
  "aria-selected": r === n,
30571
30574
  className: "nm-picker__option",
30572
- onClick: () => e.onValueChange(`${uB(t ?? 0)}:${uB(r)}`),
30573
- children: uB(r)
30575
+ onClick: () => e.onValueChange(`${pB(t ?? 0)}:${pB(r)}`),
30576
+ children: pB(r)
30574
30577
  }, r))
30575
30578
  })]
30576
30579
  });
30577
30580
  }
30578
- function gB({ value: e, onValueChange: t, placeholder: n = "Pick a time", minuteStep: r = 5, ...i }) {
30579
- return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(dB, {
30581
+ function yB({ value: e, onValueChange: t, placeholder: n = "Pick a time", minuteStep: r = 5, ...i }) {
30582
+ return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(mB, {
30580
30583
  icon: "clock",
30581
30584
  text: e || null,
30582
30585
  placeholder: n,
@@ -30584,21 +30587,21 @@ function gB({ value: e, onValueChange: t, placeholder: n = "Pick a time", minute
30584
30587
  }), /* @__PURE__ */ b(mN, {
30585
30588
  className: "nm-picker__popup",
30586
30589
  align: "start",
30587
- children: /* @__PURE__ */ b(hB, {
30590
+ children: /* @__PURE__ */ b(vB, {
30588
30591
  value: e ?? "",
30589
30592
  onValueChange: (e) => t?.(e),
30590
30593
  minuteStep: r
30591
30594
  })
30592
30595
  })] });
30593
30596
  }
30594
- function _B({ value: e, onValueChange: t, placeholder: n = "Pick a date and time", minuteStep: r = 5, ...i }) {
30595
- let a = e ? `${uB(e.getHours())}:${uB(e.getMinutes())}` : "", o = (e, t) => {
30597
+ function bB({ value: e, onValueChange: t, placeholder: n = "Pick a date and time", minuteStep: r = 5, ...i }) {
30598
+ let a = e ? `${pB(e.getHours())}:${pB(e.getMinutes())}` : "", o = (e, t) => {
30596
30599
  let [n, r] = t ? t.split(":").map(Number) : [0, 0], i = new Date(e);
30597
30600
  return i.setHours(n, r, 0, 0), i;
30598
30601
  };
30599
- return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(dB, {
30602
+ return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(mB, {
30600
30603
  icon: "calendar",
30601
- text: e ? `${lB(e)}, ${a}` : null,
30604
+ text: e ? `${fB(e)}, ${a}` : null,
30602
30605
  placeholder: n,
30603
30606
  ...i
30604
30607
  }), /* @__PURE__ */ x(mN, {
@@ -30609,7 +30612,7 @@ function _B({ value: e, onValueChange: t, placeholder: n = "Pick a date and time
30609
30612
  selected: e,
30610
30613
  onSelect: (e) => t?.(e ? o(e, a) : void 0),
30611
30614
  defaultMonth: e
30612
- }), /* @__PURE__ */ b(hB, {
30615
+ }), /* @__PURE__ */ b(vB, {
30613
30616
  value: a,
30614
30617
  onValueChange: (n) => t?.(o(e ?? /* @__PURE__ */ new Date(), n)),
30615
30618
  minuteStep: r
@@ -30617,25 +30620,25 @@ function _B({ value: e, onValueChange: t, placeholder: n = "Pick a date and time
30617
30620
  })] });
30618
30621
  }
30619
30622
  // src/ui/components/nm-drawer/nm-drawer.tsx
30620
- function vB(e) {
30623
+ function xB(e) {
30621
30624
  return /* @__PURE__ */ b(Nd.Root, {
30622
30625
  "data-slot": "drawer",
30623
30626
  ...e
30624
30627
  });
30625
30628
  }
30626
- function yB(e) {
30629
+ function SB(e) {
30627
30630
  return /* @__PURE__ */ b(Nd.Trigger, {
30628
30631
  "data-slot": "drawer-trigger",
30629
30632
  ...e
30630
30633
  });
30631
30634
  }
30632
- function bB(e) {
30635
+ function CB(e) {
30633
30636
  return /* @__PURE__ */ b(Nd.Close, {
30634
30637
  "data-slot": "drawer-close",
30635
30638
  ...e
30636
30639
  });
30637
30640
  }
30638
- function xB({ className: e, children: t, side: n = "left", ...r }) {
30641
+ function wB({ className: e, children: t, side: n = "left", ...r }) {
30639
30642
  return /* @__PURE__ */ x(Nd.Portal, { children: [/* @__PURE__ */ b(Nd.Backdrop, {
30640
30643
  "data-slot": "drawer-overlay",
30641
30644
  className: "nm-drawer__backdrop"
@@ -30648,28 +30651,28 @@ function xB({ className: e, children: t, side: n = "left", ...r }) {
30648
30651
  children: t
30649
30652
  })] });
30650
30653
  }
30651
- function SB({ className: e, ...t }) {
30654
+ function TB({ className: e, ...t }) {
30652
30655
  return /* @__PURE__ */ b("div", {
30653
30656
  "data-slot": "drawer-header",
30654
30657
  className: F("nm-drawer__header", e),
30655
30658
  ...t
30656
30659
  });
30657
30660
  }
30658
- function CB({ className: e, ...t }) {
30661
+ function EB({ className: e, ...t }) {
30659
30662
  return /* @__PURE__ */ b("div", {
30660
30663
  "data-slot": "drawer-footer",
30661
30664
  className: F("nm-drawer__footer", e),
30662
30665
  ...t
30663
30666
  });
30664
30667
  }
30665
- function wB({ className: e, ...t }) {
30668
+ function DB({ className: e, ...t }) {
30666
30669
  return /* @__PURE__ */ b(Nd.Title, {
30667
30670
  "data-slot": "drawer-title",
30668
30671
  className: F("nm-drawer__title", e),
30669
30672
  ...t
30670
30673
  });
30671
30674
  }
30672
- function TB({ className: e, ...t }) {
30675
+ function OB({ className: e, ...t }) {
30673
30676
  return /* @__PURE__ */ b(Nd.Description, {
30674
30677
  "data-slot": "drawer-description",
30675
30678
  className: F("nm-drawer__description", e),
@@ -30677,7 +30680,7 @@ function TB({ className: e, ...t }) {
30677
30680
  });
30678
30681
  }
30679
30682
  // src/ui/components/nm-label/nm-label.tsx
30680
- function EB({ className: e, ...t }) {
30683
+ function kB({ className: e, ...t }) {
30681
30684
  return /* @__PURE__ */ b("label", {
30682
30685
  "data-slot": "label",
30683
30686
  className: F("nm-label", e),
@@ -30685,14 +30688,14 @@ function EB({ className: e, ...t }) {
30685
30688
  });
30686
30689
  }
30687
30690
  // src/ui/components/nm-form-field/nm-form-field.tsx
30688
- function DB({ className: e, ...t }) {
30691
+ function AB({ className: e, ...t }) {
30689
30692
  return /* @__PURE__ */ b("fieldset", {
30690
30693
  "data-slot": "field-set",
30691
30694
  className: F("nm-field-set", e),
30692
30695
  ...t
30693
30696
  });
30694
30697
  }
30695
- function OB({ className: e, variant: t = "legend", ...n }) {
30698
+ function jB({ className: e, variant: t = "legend", ...n }) {
30696
30699
  return /* @__PURE__ */ b("legend", {
30697
30700
  "data-slot": "field-legend",
30698
30701
  "data-variant": t,
@@ -30700,14 +30703,14 @@ function OB({ className: e, variant: t = "legend", ...n }) {
30700
30703
  ...n
30701
30704
  });
30702
30705
  }
30703
- function kB({ className: e, ...t }) {
30706
+ function MB({ className: e, ...t }) {
30704
30707
  return /* @__PURE__ */ b("div", {
30705
30708
  "data-slot": "field-group",
30706
30709
  className: F("nm-field-group", e),
30707
30710
  ...t
30708
30711
  });
30709
30712
  }
30710
- function AB({ className: e, orientation: t = "vertical", invalid: n, disabled: r, ...i }) {
30713
+ function NB({ className: e, orientation: t = "vertical", invalid: n, disabled: r, ...i }) {
30711
30714
  return /* @__PURE__ */ b("div", {
30712
30715
  "data-slot": "field",
30713
30716
  role: "group",
@@ -30718,35 +30721,35 @@ function AB({ className: e, orientation: t = "vertical", invalid: n, disabled: r
30718
30721
  ...i
30719
30722
  });
30720
30723
  }
30721
- function jB({ className: e, ...t }) {
30724
+ function PB({ className: e, ...t }) {
30722
30725
  return /* @__PURE__ */ b("div", {
30723
30726
  "data-slot": "field-content",
30724
30727
  className: F("nm-field-content", e),
30725
30728
  ...t
30726
30729
  });
30727
30730
  }
30728
- function MB({ className: e, ...t }) {
30729
- return /* @__PURE__ */ b(EB, {
30731
+ function FB({ className: e, ...t }) {
30732
+ return /* @__PURE__ */ b(kB, {
30730
30733
  "data-slot": "field-label",
30731
30734
  className: F("nm-field-label", e),
30732
30735
  ...t
30733
30736
  });
30734
30737
  }
30735
- function NB({ className: e, ...t }) {
30738
+ function IB({ className: e, ...t }) {
30736
30739
  return /* @__PURE__ */ b("div", {
30737
30740
  "data-slot": "field-title",
30738
30741
  className: F("nm-field-title", e),
30739
30742
  ...t
30740
30743
  });
30741
30744
  }
30742
- function PB({ className: e, ...t }) {
30745
+ function LB({ className: e, ...t }) {
30743
30746
  return /* @__PURE__ */ b("p", {
30744
30747
  "data-slot": "field-description",
30745
30748
  className: F("nm-field-description", e),
30746
30749
  ...t
30747
30750
  });
30748
30751
  }
30749
- function FB({ className: e, children: t, ...n }) {
30752
+ function RB({ className: e, children: t, ...n }) {
30750
30753
  return t == null ? null : /* @__PURE__ */ b("div", {
30751
30754
  "data-slot": "field-error",
30752
30755
  role: "alert",
@@ -30755,7 +30758,7 @@ function FB({ className: e, children: t, ...n }) {
30755
30758
  children: t
30756
30759
  });
30757
30760
  }
30758
- function IB({ className: e, children: t, ...n }) {
30761
+ function zB({ className: e, children: t, ...n }) {
30759
30762
  return /* @__PURE__ */ b("div", {
30760
30763
  "data-slot": "field-separator",
30761
30764
  "data-content": t == null ? void 0 : "",
@@ -30768,14 +30771,14 @@ function IB({ className: e, children: t, ...n }) {
30768
30771
  });
30769
30772
  }
30770
30773
  // src/ui/components/nm-gallery/nm-gallery.tsx
30771
- function LB({ className: e, ...t }) {
30774
+ function BB({ className: e, ...t }) {
30772
30775
  return /* @__PURE__ */ b("ul", {
30773
30776
  "data-slot": "gallery",
30774
30777
  className: F("nm-gallery", e),
30775
30778
  ...t
30776
30779
  });
30777
30780
  }
30778
- function RB({ className: e, label: t, selected: n, children: r, ...i }) {
30781
+ function VB({ className: e, label: t, selected: n, children: r, ...i }) {
30779
30782
  return /* @__PURE__ */ b("li", {
30780
30783
  className: "nm-gallery__cell",
30781
30784
  children: /* @__PURE__ */ x("button", {
@@ -30796,7 +30799,7 @@ function RB({ className: e, label: t, selected: n, children: r, ...i }) {
30796
30799
  });
30797
30800
  }
30798
30801
  // src/ui/components/nm-input-group/nm-input-group.tsx
30799
- function zB({ className: e, ...t }) {
30802
+ function HB({ className: e, ...t }) {
30800
30803
  return /* @__PURE__ */ b("div", {
30801
30804
  "data-slot": "input-group",
30802
30805
  role: "group",
@@ -30804,7 +30807,7 @@ function zB({ className: e, ...t }) {
30804
30807
  ...t
30805
30808
  });
30806
30809
  }
30807
- function BB({ className: e, align: t = "inline-start", ...n }) {
30810
+ function UB({ className: e, align: t = "inline-start", ...n }) {
30808
30811
  return /* @__PURE__ */ b("div", {
30809
30812
  "data-slot": "input-group-addon",
30810
30813
  "data-align": t,
@@ -30812,13 +30815,13 @@ function BB({ className: e, align: t = "inline-start", ...n }) {
30812
30815
  ...n
30813
30816
  });
30814
30817
  }
30815
- function VB({ className: e, ...t }) {
30818
+ function WB({ className: e, ...t }) {
30816
30819
  return /* @__PURE__ */ b("span", {
30817
30820
  className: F("nm-input-group__text", e),
30818
30821
  ...t
30819
30822
  });
30820
30823
  }
30821
- function HB({ className: e, ...t }) {
30824
+ function GB({ className: e, ...t }) {
30822
30825
  return /* @__PURE__ */ b(vi, {
30823
30826
  "data-slot": "input-group-control",
30824
30827
  className: F("nm-input-group__control", e),
@@ -30826,14 +30829,14 @@ function HB({ className: e, ...t }) {
30826
30829
  });
30827
30830
  }
30828
30831
  // src/ui/components/nm-kbd/nm-kbd.tsx
30829
- function UB({ className: e, ...t }) {
30832
+ function KB({ className: e, ...t }) {
30830
30833
  return /* @__PURE__ */ b("kbd", {
30831
30834
  "data-slot": "kbd",
30832
30835
  className: F("nm-kbd", e),
30833
30836
  ...t
30834
30837
  });
30835
30838
  }
30836
- function WB({ className: e, ...t }) {
30839
+ function qB({ className: e, ...t }) {
30837
30840
  return /* @__PURE__ */ b("span", {
30838
30841
  "data-slot": "kbd-group",
30839
30842
  className: F("nm-kbd__group", e),
@@ -30841,7 +30844,7 @@ function WB({ className: e, ...t }) {
30841
30844
  });
30842
30845
  }
30843
30846
  // src/ui/config/nm-list-item.ts
30844
- var GB = {
30847
+ var JB = {
30845
30848
  root: "nm-list-item",
30846
30849
  marked: "nm-list-item--marked",
30847
30850
  icon: "nm-list-item--icon",
@@ -30854,17 +30857,17 @@ var GB = {
30854
30857
  action: "nm-list-item__action",
30855
30858
  menu: "nm-list-item__menu",
30856
30859
  rest: "nm-list-item__rest"
30857
- }, KB = W("interface-nm-list-item");
30858
- function qB(e) {
30859
- KB.debug("render", e.title);
30860
+ }, YB = W("interface-nm-list-item");
30861
+ function XB(e) {
30862
+ YB.debug("render", e.title);
30860
30863
  let t = e.leading != null && e.leadingSize === "face", n = e.leading != null && e.leadingSize === "icon", r = e.leading != null && !t && !n, i = [
30861
- GB.root,
30862
- r ? GB.marked : "",
30863
- n ? GB.icon : "",
30864
- t ? GB.face : ""
30864
+ JB.root,
30865
+ r ? JB.marked : "",
30866
+ n ? JB.icon : "",
30867
+ t ? JB.face : ""
30865
30868
  ].filter((e) => e.length > 0).join(" "), a = null;
30866
30869
  return e.menuItems != null && e.menuItems.length > 0 ? a = /* @__PURE__ */ b("span", {
30867
- className: GB.menu,
30870
+ className: JB.menu,
30868
30871
  children: /* @__PURE__ */ b(xT, {
30869
30872
  label: e.menuLabel ?? e.title,
30870
30873
  trigger: lw.iconButton,
@@ -30875,7 +30878,7 @@ function qB(e) {
30875
30878
  onSelect: (t) => e.onMenuSelect?.(t)
30876
30879
  })
30877
30880
  }) : e.onMenu != null && (a = /* @__PURE__ */ b("button", {
30878
- className: `${GB.menu} ${q.revealHover}`,
30881
+ className: `${JB.menu} ${q.revealHover}`,
30879
30882
  type: "button",
30880
30883
  "aria-label": e.menuLabel ?? e.title,
30881
30884
  onClick: e.onMenu,
@@ -30884,33 +30887,33 @@ function qB(e) {
30884
30887
  className: i,
30885
30888
  "data-nm-menu": "",
30886
30889
  children: [/* @__PURE__ */ x("span", {
30887
- className: GB.identity,
30890
+ className: JB.identity,
30888
30891
  children: [e.leading == null ? null : /* @__PURE__ */ b("span", {
30889
- className: GB.lead,
30892
+ className: JB.lead,
30890
30893
  children: e.leading
30891
30894
  }), e.onOpen ? /* @__PURE__ */ b("button", {
30892
30895
  type: "button",
30893
- className: GB.open,
30896
+ className: JB.open,
30894
30897
  onClick: e.onOpen,
30895
30898
  children: /* @__PURE__ */ b("span", {
30896
- className: GB.title,
30899
+ className: JB.title,
30897
30900
  children: e.title
30898
30901
  })
30899
30902
  }) : /* @__PURE__ */ b("span", {
30900
- className: GB.title,
30903
+ className: JB.title,
30901
30904
  children: e.title
30902
30905
  })]
30903
30906
  }), /* @__PURE__ */ b("span", { children: e.locked ? /* @__PURE__ */ b(G, { id: "lock" }) : /* @__PURE__ */ x(y, { children: [
30904
30907
  e.action ? /* @__PURE__ */ b("span", {
30905
- className: GB.action,
30908
+ className: JB.action,
30906
30909
  children: e.action
30907
30910
  }) : null,
30908
30911
  e.detail ? /* @__PURE__ */ b("span", {
30909
- className: GB.detail,
30912
+ className: JB.detail,
30910
30913
  children: e.detail
30911
30914
  }) : null,
30912
30915
  e.resting === "lock" ? /* @__PURE__ */ b("span", {
30913
- className: GB.rest,
30916
+ className: JB.rest,
30914
30917
  children: /* @__PURE__ */ b(G, { id: "lock" })
30915
30918
  }) : null,
30916
30919
  a
@@ -30918,20 +30921,20 @@ function qB(e) {
30918
30921
  });
30919
30922
  }
30920
30923
  // src/ui/components/nm-menubar/nm-menubar.tsx
30921
- function JB({ className: e, ...t }) {
30924
+ function ZB({ className: e, ...t }) {
30922
30925
  return /* @__PURE__ */ b(Kd, {
30923
30926
  "data-slot": "menubar",
30924
30927
  className: F("nm-menubar", e),
30925
30928
  ...t
30926
30929
  });
30927
30930
  }
30928
- function YB(e) {
30931
+ function QB(e) {
30929
30932
  return /* @__PURE__ */ b(Wu.Root, {
30930
30933
  "data-slot": "menubar-menu",
30931
30934
  ...e
30932
30935
  });
30933
30936
  }
30934
- function XB({ className: e, ...t }) {
30937
+ function $B({ className: e, ...t }) {
30935
30938
  return /* @__PURE__ */ b(Wu.Trigger, {
30936
30939
  "data-slot": "menubar-trigger",
30937
30940
  className: F("nm-menubar__trigger", e),
@@ -30939,20 +30942,20 @@ function XB({ className: e, ...t }) {
30939
30942
  });
30940
30943
  }
30941
30944
  // src/ui/config/nm-modal.ts
30942
- var ZB = {
30945
+ var eV = {
30943
30946
  section: "section",
30944
30947
  page: "page"
30945
- }, QB = {
30948
+ }, tV = {
30946
30949
  simple: "simple",
30947
30950
  menu: "menu",
30948
30951
  wide: "wide"
30949
- }, $B = {
30952
+ }, nV = {
30950
30953
  modal: "modal",
30951
30954
  pane: "pane"
30952
- }, eV = {
30955
+ }, rV = {
30953
30956
  quiet: "quiet",
30954
30957
  primary: "primary"
30955
- }, tV = 750, nV = {
30958
+ }, iV = 750, aV = {
30956
30959
  layer: "nm-modal-layer",
30957
30960
  root: "nm-modal",
30958
30961
  simple: "nm-modal--simple",
@@ -30995,54 +30998,54 @@ var ZB = {
30995
30998
  actionQuiet: "nm-modal__action--quiet",
30996
30999
  actionPrimary: "nm-modal__action--primary",
30997
31000
  tabs: "nm-modal__tabs"
30998
- }, rV = "sv-SE", iV = /* @__PURE__ */ new Set();
30999
- function aV() {
31000
- return rV;
31001
+ }, oV = "sv-SE", sV = /* @__PURE__ */ new Set();
31002
+ function cV() {
31003
+ return oV;
31001
31004
  }
31002
- function oV(e) {
31003
- return iV.add(e), () => {
31004
- iV.delete(e);
31005
+ function lV(e) {
31006
+ return sV.add(e), () => {
31007
+ sV.delete(e);
31005
31008
  };
31006
31009
  }
31007
- function sV() {
31008
- return m(oV, aV, aV);
31010
+ function uV() {
31011
+ return m(lV, cV, cV);
31009
31012
  }
31010
- function cV(e) {
31013
+ function dV(e) {
31011
31014
  let t = e === "auto" && typeof navigator < "u" ? navigator.language : e;
31012
31015
  return /^en\b/i.test(t);
31013
31016
  }
31014
31017
  // src/ui/content/nm-modal.ts
31015
- function lV() {
31016
- return cV(aV()) ? "Saved" : "Sparat";
31018
+ function fV() {
31019
+ return dV(cV()) ? "Saved" : "Sparat";
31017
31020
  }
31018
31021
  // src/ui/components/nm-modal/nm-modal.tsx
31019
- var uV = W("interface-nm-modal"), dV = 1200, fV = 400, pV = i({
31022
+ var pV = W("interface-nm-modal"), mV = 1200, hV = 400, gV = i({
31020
31023
  phase: "idle",
31021
31024
  track: async (e) => e
31022
- }), mV = [], hV = i(!1), gV = [], _V = /* @__PURE__ */ new Map(), vV = 0;
31023
- function yV() {
31024
- return [..._V.values()].some((e) => e);
31025
+ }), _V = [], vV = i(!1), yV = [], bV = /* @__PURE__ */ new Map(), xV = 0;
31026
+ function SV() {
31027
+ return [...bV.values()].some((e) => e);
31025
31028
  }
31026
- function bV() {
31027
- let e = yV();
31028
- gV[gV.length - 1]?.(e);
31029
+ function CV() {
31030
+ let e = SV();
31031
+ yV[yV.length - 1]?.(e);
31029
31032
  }
31030
- function xV(e, t = !0) {
31033
+ function wV(e, t = !0) {
31031
31034
  let n = f(0);
31032
- n.current === 0 && (vV += 1, n.current = vV), u(() => {
31035
+ n.current === 0 && (xV += 1, n.current = xV), u(() => {
31033
31036
  let r = n.current;
31034
- return t ? (_V.set(r, e), bV(), () => {
31035
- _V.delete(r), bV();
31036
- }) : (_V.delete(r), bV(), () => {
31037
- _V.delete(r), bV();
31037
+ return t ? (bV.set(r, e), CV(), () => {
31038
+ bV.delete(r), CV();
31039
+ }) : (bV.delete(r), CV(), () => {
31040
+ bV.delete(r), CV();
31038
31041
  });
31039
31042
  }, [e, t]);
31040
31043
  }
31041
- function SV() {
31042
- let e = s(pV).track;
31043
- return (t) => (mV[mV.length - 1] ?? e)(t);
31044
+ function TV() {
31045
+ let e = s(gV).track;
31046
+ return (t) => (_V[_V.length - 1] ?? e)(t);
31044
31047
  }
31045
- function CV(e) {
31048
+ function EV(e) {
31046
31049
  let [t, n] = p("idle"), [r, i] = p(!1), a = o((e) => {
31047
31050
  i((t) => t === e ? t : e);
31048
31051
  }, []), s = f(null), l = () => {
@@ -31052,47 +31055,47 @@ function CV(e) {
31052
31055
  let d = o((e) => {
31053
31056
  l(), n("saving");
31054
31057
  let t = Date.now();
31055
- return uV.debug("save", "start"), e.then((e) => new Promise((r) => {
31056
- let i = Math.max(0, fV - (Date.now() - t));
31058
+ return pV.debug("save", "start"), e.then((e) => new Promise((r) => {
31059
+ let i = Math.max(0, hV - (Date.now() - t));
31057
31060
  s.current = window.setTimeout(() => {
31058
- uV.info("save", "confirmed"), n("saved"), s.current = window.setTimeout(() => {
31061
+ pV.info("save", "confirmed"), n("saved"), s.current = window.setTimeout(() => {
31059
31062
  n("idle"), s.current = null, r(e);
31060
- }, dV);
31063
+ }, mV);
31061
31064
  }, i);
31062
31065
  }), (e) => {
31063
- throw uV.warn("save", "failed", { error: e }), n("idle"), e;
31066
+ throw pV.warn("save", "failed", { error: e }), n("idle"), e;
31064
31067
  });
31065
31068
  }, []);
31066
- return c(() => (mV.push(d), () => {
31067
- let e = mV.lastIndexOf(d);
31068
- e >= 0 && mV.splice(e, 1);
31069
- }), [d]), u(() => (gV.push(a), a(yV()), () => {
31070
- let e = gV.lastIndexOf(a);
31071
- e >= 0 && gV.splice(e, 1);
31072
- }), [a]), /* @__PURE__ */ b(pV.Provider, {
31069
+ return c(() => (_V.push(d), () => {
31070
+ let e = _V.lastIndexOf(d);
31071
+ e >= 0 && _V.splice(e, 1);
31072
+ }), [d]), u(() => (yV.push(a), a(SV()), () => {
31073
+ let e = yV.lastIndexOf(a);
31074
+ e >= 0 && yV.splice(e, 1);
31075
+ }), [a]), /* @__PURE__ */ b(gV.Provider, {
31073
31076
  value: {
31074
31077
  phase: t,
31075
31078
  track: d
31076
31079
  },
31077
- children: /* @__PURE__ */ b(hV.Provider, {
31080
+ children: /* @__PURE__ */ b(vV.Provider, {
31078
31081
  value: r,
31079
31082
  children: e.children
31080
31083
  })
31081
31084
  });
31082
31085
  }
31083
- var wV = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
31084
- function TV(e) {
31085
- return [...e.querySelectorAll(wV)].filter((e) => e.tabIndex !== -1);
31086
+ var DV = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
31087
+ function OV(e) {
31088
+ return [...e.querySelectorAll(DV)].filter((e) => e.tabIndex !== -1);
31086
31089
  }
31087
- function EV(e) {
31088
- let { open: t, onClose: n, title: r } = e, i = l(), a = f(null), o = f(null), s = e.size ?? (e.menu == null ? QB.simple : QB.menu), d = e.footer ?? $B.modal, p = e.titleSize ?? (s === QB.simple ? ZB.section : ZB.page), m = [
31089
- nV.root,
31090
- s === QB.simple ? nV.simple : "",
31091
- s === QB.menu || s === QB.wide ? nV.menu : "",
31092
- s === QB.wide ? nV.wide : ""
31093
- ].filter((e) => e !== "").join(" "), h = [nV.title, p === ZB.page ? nV.titlePage : ""].filter((e) => e !== "").join(" "), g = [nV.footer, d === $B.pane ? nV.footerPane : ""].filter((e) => e !== "").join(" ");
31090
+ function kV(e) {
31091
+ let { open: t, onClose: n, title: r } = e, i = l(), a = f(null), o = f(null), s = e.size ?? (e.menu == null ? tV.simple : tV.menu), d = e.footer ?? nV.modal, p = e.titleSize ?? (s === tV.simple ? eV.section : eV.page), m = [
31092
+ aV.root,
31093
+ s === tV.simple ? aV.simple : "",
31094
+ s === tV.menu || s === tV.wide ? aV.menu : "",
31095
+ s === tV.wide ? aV.wide : ""
31096
+ ].filter((e) => e !== "").join(" "), h = [aV.title, p === eV.page ? aV.titlePage : ""].filter((e) => e !== "").join(" "), g = [aV.footer, d === nV.pane ? aV.footerPane : ""].filter((e) => e !== "").join(" ");
31094
31097
  c(() => {
31095
- uV.debug("presence", r, {
31098
+ pV.debug("presence", r, {
31096
31099
  open: t,
31097
31100
  size: s,
31098
31101
  footer: d
@@ -31138,7 +31141,7 @@ function EV(e) {
31138
31141
  let t = a.current;
31139
31142
  if (t == null) return;
31140
31143
  let n = document.activeElement;
31141
- return o.current = n instanceof HTMLElement ? n : null, (TV(t)[0] ?? t).focus({ preventScroll: !0 }), () => {
31144
+ return o.current = n instanceof HTMLElement ? n : null, (OV(t)[0] ?? t).focus({ preventScroll: !0 }), () => {
31142
31145
  o.current?.focus({ preventScroll: !0 }), o.current = null;
31143
31146
  };
31144
31147
  }, [e.open]);
@@ -31159,7 +31162,7 @@ function EV(e) {
31159
31162
  if (e.key !== "Tab") return;
31160
31163
  let t = a.current;
31161
31164
  if (t == null) return;
31162
- let n = TV(t);
31165
+ let n = OV(t);
31163
31166
  if (n.length === 0) {
31164
31167
  e.preventDefault();
31165
31168
  return;
@@ -31174,16 +31177,16 @@ function EV(e) {
31174
31177
  };
31175
31178
  if (typeof document > "u") return null;
31176
31179
  let S = e.actions != null || e.leading != null, C = /* @__PURE__ */ x(y, { children: [e.paneTitle == null ? null : /* @__PURE__ */ b("div", {
31177
- className: nV.paneTitle,
31180
+ className: aV.paneTitle,
31178
31181
  children: e.paneTitle
31179
31182
  }), /* @__PURE__ */ b("div", {
31180
- className: nV.body,
31183
+ className: aV.body,
31181
31184
  children: e.children
31182
31185
  })] });
31183
- return w(e.open ? /* @__PURE__ */ b(CV, { children: /* @__PURE__ */ x("div", {
31184
- className: nV.layer,
31186
+ return w(e.open ? /* @__PURE__ */ b(EV, { children: /* @__PURE__ */ x("div", {
31187
+ className: aV.layer,
31185
31188
  children: [/* @__PURE__ */ b("div", {
31186
- className: nV.backdrop,
31189
+ className: aV.backdrop,
31187
31190
  "aria-hidden": "true",
31188
31191
  onMouseDown: e.onClose
31189
31192
  }), /* @__PURE__ */ x("div", {
@@ -31200,7 +31203,7 @@ function EV(e) {
31200
31203
  onMouseDown: (e) => e.stopPropagation(),
31201
31204
  children: [
31202
31205
  /* @__PURE__ */ x("div", {
31203
- className: nV.titleBar,
31206
+ className: aV.titleBar,
31204
31207
  children: [/* @__PURE__ */ b("h2", {
31205
31208
  id: i,
31206
31209
  className: h,
@@ -31208,19 +31211,19 @@ function EV(e) {
31208
31211
  }), e.titleEnd]
31209
31212
  }),
31210
31213
  e.menu == null ? C : /* @__PURE__ */ x("div", {
31211
- className: nV.layout,
31214
+ className: aV.layout,
31212
31215
  children: [/* @__PURE__ */ b("div", {
31213
- className: nV.nav,
31216
+ className: aV.nav,
31214
31217
  children: e.menu
31215
31218
  }), /* @__PURE__ */ b("div", {
31216
- className: nV.main,
31219
+ className: aV.main,
31217
31220
  children: C
31218
31221
  })]
31219
31222
  }),
31220
31223
  S ? /* @__PURE__ */ x("div", {
31221
31224
  className: g,
31222
- children: [d === $B.pane ? e.leading : null, /* @__PURE__ */ b("div", {
31223
- className: nV.actionsEnd,
31225
+ children: [d === nV.pane ? e.leading : null, /* @__PURE__ */ b("div", {
31226
+ className: aV.actionsEnd,
31224
31227
  children: e.actions
31225
31228
  })]
31226
31229
  }) : null
@@ -31228,24 +31231,24 @@ function EV(e) {
31228
31231
  })]
31229
31232
  }) }) : null, document.body);
31230
31233
  }
31231
- function DV(e) {
31232
- sV();
31233
- let t = e.tone ?? eV.quiet, n = s(pV).phase, r = s(hV), i = e.icon === "check" && t === eV.primary, a = i && n === "saving", o = i && n === "saved", c = !!e.requireChange && !r && !o, l = a ? "loader" : e.icon, u = o ? lV() : e.label, d = u == null || u.length === 0, f = [
31234
- nV.action,
31235
- d ? nV.actionIcon : "",
31236
- t === eV.primary ? nV.actionPrimary : nV.actionQuiet
31234
+ function AV(e) {
31235
+ uV();
31236
+ let t = e.tone ?? rV.quiet, n = s(gV).phase, r = s(vV), i = e.icon === "check" && t === rV.primary, a = i && n === "saving", o = i && n === "saved", c = !!e.requireChange && !r && !o, l = a ? "loader" : e.icon, u = o ? fV() : e.label, d = u == null || u.length === 0, f = [
31237
+ aV.action,
31238
+ d ? aV.actionIcon : "",
31239
+ t === rV.primary ? aV.actionPrimary : aV.actionQuiet
31237
31240
  ].filter((e) => e !== "").join(" "), p;
31238
31241
  return d ? (p = e.accessibleName ?? e.icon, /* @__PURE__ */ b(UC, {
31239
31242
  glyph: l,
31240
31243
  label: p,
31241
- tone: t === eV.primary ? AC.invert : AC.panel,
31244
+ tone: t === rV.primary ? AC.invert : AC.panel,
31242
31245
  type: e.type ?? "button",
31243
31246
  form: e.form,
31244
31247
  disabled: e.disabled || a || c,
31245
31248
  "data-save": i ? n : void 0,
31246
31249
  testId: e.testId,
31247
31250
  busy: a || void 0,
31248
- className: nV.action,
31251
+ className: aV.action,
31249
31252
  onClick: e.onClick
31250
31253
  })) : (o && (p = u), /* @__PURE__ */ x("button", {
31251
31254
  className: f,
@@ -31261,7 +31264,7 @@ function DV(e) {
31261
31264
  }));
31262
31265
  }
31263
31266
  // src/ui/components/nm-native-select/nm-native-select.tsx
31264
- function OV({ className: e, children: t, ...n }) {
31267
+ function jV({ className: e, children: t, ...n }) {
31265
31268
  return /* @__PURE__ */ x("div", {
31266
31269
  className: "nm-native-select",
31267
31270
  children: [/* @__PURE__ */ b("select", {
@@ -31275,25 +31278,25 @@ function OV({ className: e, children: t, ...n }) {
31275
31278
  })]
31276
31279
  });
31277
31280
  }
31278
- function kV(e) {
31281
+ function MV(e) {
31279
31282
  return /* @__PURE__ */ b("option", {
31280
31283
  "data-slot": "native-select-option",
31281
31284
  ...e
31282
31285
  });
31283
31286
  }
31284
- function AV(e) {
31287
+ function NV(e) {
31285
31288
  return /* @__PURE__ */ b("optgroup", {
31286
31289
  "data-slot": "native-select-optgroup",
31287
31290
  ...e
31288
31291
  });
31289
31292
  }
31290
31293
  // src/ui/components/nm-panel/nm-panel.tsx
31291
- var jV = [
31294
+ var PV = [
31292
31295
  "default",
31293
31296
  "inset",
31294
31297
  "plain"
31295
- ], MV = ["full", "column"];
31296
- function NV({ className: e, variant: t = "default", measure: n = "full", ...r }) {
31298
+ ], FV = ["full", "column"];
31299
+ function IV({ className: e, variant: t = "default", measure: n = "full", ...r }) {
31297
31300
  return /* @__PURE__ */ b("section", {
31298
31301
  "data-slot": "panel",
31299
31302
  "data-variant": t,
@@ -31302,42 +31305,42 @@ function NV({ className: e, variant: t = "default", measure: n = "full", ...r })
31302
31305
  ...r
31303
31306
  });
31304
31307
  }
31305
- function PV({ className: e, ...t }) {
31308
+ function LV({ className: e, ...t }) {
31306
31309
  return /* @__PURE__ */ b("header", {
31307
31310
  "data-slot": "panel-header",
31308
31311
  className: F("nm-panel-region__header", e),
31309
31312
  ...t
31310
31313
  });
31311
31314
  }
31312
- function FV({ className: e, ...t }) {
31315
+ function RV({ className: e, ...t }) {
31313
31316
  return /* @__PURE__ */ b("h2", {
31314
31317
  "data-slot": "panel-title",
31315
31318
  className: F("nm-panel-region__title", e),
31316
31319
  ...t
31317
31320
  });
31318
31321
  }
31319
- function IV({ className: e, ...t }) {
31322
+ function zV({ className: e, ...t }) {
31320
31323
  return /* @__PURE__ */ b("p", {
31321
31324
  "data-slot": "panel-description",
31322
31325
  className: F("nm-panel-region__description", e),
31323
31326
  ...t
31324
31327
  });
31325
31328
  }
31326
- function LV({ className: e, ...t }) {
31329
+ function BV({ className: e, ...t }) {
31327
31330
  return /* @__PURE__ */ b("div", {
31328
31331
  "data-slot": "panel-actions",
31329
31332
  className: F("nm-panel-region__actions", e),
31330
31333
  ...t
31331
31334
  });
31332
31335
  }
31333
- function RV({ className: e, ...t }) {
31336
+ function VV({ className: e, ...t }) {
31334
31337
  return /* @__PURE__ */ b("div", {
31335
31338
  "data-slot": "panel-content",
31336
31339
  className: F("nm-panel-region__content", e),
31337
31340
  ...t
31338
31341
  });
31339
31342
  }
31340
- function zV({ className: e, ...t }) {
31343
+ function HV({ className: e, ...t }) {
31341
31344
  return /* @__PURE__ */ b("footer", {
31342
31345
  "data-slot": "panel-footer",
31343
31346
  className: F("nm-panel-region__footer", e),
@@ -31345,12 +31348,12 @@ function zV({ className: e, ...t }) {
31345
31348
  });
31346
31349
  }
31347
31350
  // src/ui/config/nm-segmented.ts
31348
- var BV = {
31351
+ var UV = {
31349
31352
  fill: "fill",
31350
31353
  line: "line",
31351
31354
  pills: "pills",
31352
31355
  track: "track"
31353
- }, VV = {
31356
+ }, WV = {
31354
31357
  root: "nm-segmented",
31355
31358
  fill: "nm-segmented--fill",
31356
31359
  line: "nm-segmented--line",
@@ -31359,29 +31362,29 @@ var BV = {
31359
31362
  item: "nm-segmented__item",
31360
31363
  itemIcon: "nm-segmented__item--icon",
31361
31364
  icon: "nm-segmented__icon"
31362
- }, HV = W("interface-nm-segmented");
31363
- function UV(e) {
31365
+ }, GV = W("interface-nm-segmented");
31366
+ function KV(e) {
31364
31367
  return e.imageSrc ? /* @__PURE__ */ b("img", {
31365
- className: VV.icon,
31368
+ className: WV.icon,
31366
31369
  src: e.imageSrc,
31367
31370
  alt: ""
31368
31371
  }) : e.icon ? /* @__PURE__ */ b(G, {
31369
31372
  id: e.icon,
31370
- className: VV.icon
31373
+ className: WV.icon
31371
31374
  }) : null;
31372
31375
  }
31373
- function WV(e) {
31374
- let t = e.tone ?? BV.line;
31375
- return HV.debug("render", e.active, {
31376
+ function qV(e) {
31377
+ let t = e.tone ?? UV.line;
31378
+ return GV.debug("render", e.active, {
31376
31379
  tone: t,
31377
31380
  items: e.items.length
31378
31381
  }), /* @__PURE__ */ b("div", {
31379
- className: `${VV.root} ${VV[t]}`,
31382
+ className: `${WV.root} ${WV[t]}`,
31380
31383
  role: "radiogroup",
31381
31384
  "aria-label": e.label,
31382
31385
  "data-testid": e.testId,
31383
31386
  children: e.items.map((t) => {
31384
- let n = t.id === e.active, r = t.iconOnly === !0, i = r ? `${VV.item} ${VV.itemIcon} ${jC.root} ${jC[AC.quiet]}` : VV.item;
31387
+ let n = t.id === e.active, r = t.iconOnly === !0, i = r ? `${WV.item} ${WV.itemIcon} ${jC.root} ${jC[AC.quiet]}` : WV.item;
31385
31388
  return /* @__PURE__ */ x("button", {
31386
31389
  className: i,
31387
31390
  type: "button",
@@ -31390,23 +31393,23 @@ function WV(e) {
31390
31393
  "aria-checked": n,
31391
31394
  "data-active": n ? "true" : "false",
31392
31395
  onClick: () => e.onSelect(t.id),
31393
- children: [UV(t), r ? null : t.label]
31396
+ children: [KV(t), r ? null : t.label]
31394
31397
  }, t.id);
31395
31398
  })
31396
31399
  });
31397
31400
  }
31398
31401
  // src/ui/config/nm-panel-bar.ts
31399
- var GV = { icons: "icons" }, KV = {
31402
+ var JV = { icons: "icons" }, YV = {
31400
31403
  root: "nm-panel-bar",
31401
31404
  icons: "nm-panel-bar--icons",
31402
31405
  actions: "nm-panel-bar__actions"
31403
- }, qV = W("interface-nm-panel-bar");
31404
- function JV(e) {
31405
- return qV.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ x("header", {
31406
- className: e.layout === GV.icons ? `${KV.root} ${KV.icons}` : KV.root,
31406
+ }, XV = W("interface-nm-panel-bar");
31407
+ function ZV(e) {
31408
+ return XV.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ x("header", {
31409
+ className: e.layout === JV.icons ? `${YV.root} ${YV.icons}` : YV.root,
31407
31410
  "aria-label": e.label,
31408
31411
  "data-testid": e.testId,
31409
- children: [/* @__PURE__ */ b(WV, {
31412
+ children: [/* @__PURE__ */ b(qV, {
31410
31413
  label: e.toggleLabel,
31411
31414
  active: e.active,
31412
31415
  testId: e.toggleTestId,
@@ -31414,17 +31417,17 @@ function JV(e) {
31414
31417
  items: e.items,
31415
31418
  onSelect: e.onSelect
31416
31419
  }), e.trailing ? /* @__PURE__ */ b("div", {
31417
- className: KV.actions,
31420
+ className: YV.actions,
31418
31421
  children: e.trailing
31419
31422
  }) : null]
31420
31423
  });
31421
31424
  }
31422
31425
  // src/ui/config/nm-questionnaire.ts
31423
- var YV = [
31426
+ var QV = [
31424
31427
  "none",
31425
31428
  "letters",
31426
31429
  "numbers"
31427
- ], XV = ["card", "plain"], ZV = {
31430
+ ], $V = ["card", "plain"], eH = {
31428
31431
  previous: "Previous",
31429
31432
  next: "Next",
31430
31433
  skip: "Skip",
@@ -31432,7 +31435,7 @@ var YV = [
31432
31435
  required: "Choose an answer to continue.",
31433
31436
  progress: (e, t) => `Question ${e + 1} of ${t}`,
31434
31437
  skipped: "Skipped"
31435
- }, QV = {
31438
+ }, tH = {
31436
31439
  root: "nm-questionnaire",
31437
31440
  card: "nm-questionnaire--card",
31438
31441
  progress: "nm-questionnaire__progress",
@@ -31451,17 +31454,17 @@ var YV = [
31451
31454
  error: "nm-questionnaire__error",
31452
31455
  actions: "nm-questionnaire__actions",
31453
31456
  summary: "nm-questionnaire__summary"
31454
- }, $V = {
31457
+ }, nH = {
31455
31458
  values: [],
31456
31459
  text: ""
31457
31460
  };
31458
- function eH(e) {
31461
+ function rH(e) {
31459
31462
  return e != null && (e.values.length > 0 || e.text.trim() !== "");
31460
31463
  }
31461
- function tH(e, t) {
31464
+ function iH(e, t) {
31462
31465
  return e === "letters" ? String.fromCharCode(97 + t) : e === "numbers" ? String(t + 1) : null;
31463
31466
  }
31464
- function nH(e) {
31467
+ function aH(e) {
31465
31468
  let { questions: t } = e, [n, r] = p({}), i = e.answers ?? n, [a, o] = p(Math.min(e.defaultStep ?? 0, t.length - 1)), [s, l] = p(null), u = f(null), d = e.shortcuts ?? "none", m = a === t.length - 1, h = t[a];
31466
31469
  c(() => {
31467
31470
  u.current?.querySelector(`[data-step="${a}"] input:checked, [data-step="${a}"] input`)?.focus({ preventScroll: !0 });
@@ -31474,7 +31477,7 @@ function nH(e) {
31474
31477
  l(null), r(a), e.onChange?.(a);
31475
31478
  }
31476
31479
  function _(e, t) {
31477
- let n = i[e.name] ?? $V;
31480
+ let n = i[e.name] ?? nH;
31478
31481
  if (e.multiple === !0) {
31479
31482
  let r = n.values.includes(t);
31480
31483
  g(e.name, {
@@ -31487,87 +31490,87 @@ function nH(e) {
31487
31490
  });
31488
31491
  }
31489
31492
  function v(e, t) {
31490
- let n = i[e.name] ?? $V;
31493
+ let n = i[e.name] ?? nH;
31491
31494
  g(e.name, {
31492
31495
  values: e.multiple === !0 ? n.values : [],
31493
31496
  text: t
31494
31497
  });
31495
31498
  }
31496
31499
  function y(e) {
31497
- return e.required !== !0 || eH(i[e.name]);
31500
+ return e.required !== !0 || rH(i[e.name]);
31498
31501
  }
31499
31502
  function S(e) {
31500
31503
  l(null), o(e);
31501
31504
  }
31502
31505
  function C() {
31503
- y(h) ? S(a + 1) : l(ZV.required);
31506
+ y(h) ? S(a + 1) : l(eH.required);
31504
31507
  }
31505
31508
  function w() {
31506
31509
  let n = t.findIndex((e) => !y(e));
31507
- n === -1 ? e.onSubmit(i) : (o(n), l(ZV.required));
31510
+ n === -1 ? e.onSubmit(i) : (o(n), l(eH.required));
31508
31511
  }
31509
31512
  function T(e) {
31510
31513
  let t = e.target;
31511
31514
  if (d === "none" || t.tagName === "INPUT" && t.type === "text") return;
31512
- let n = h.choices.findIndex((t, n) => tH(d, n) === e.key.toLowerCase());
31515
+ let n = h.choices.findIndex((t, n) => iH(d, n) === e.key.toLowerCase());
31513
31516
  n === -1 || e.metaKey || e.ctrlKey || e.altKey || (e.preventDefault(), _(h, h.choices[n].value));
31514
31517
  }
31515
31518
  return e.submitted === !0 ? /* @__PURE__ */ b("div", {
31516
- className: `${QV.root}${e.variant === "plain" ? "" : ` ${QV.card}`}`,
31519
+ className: `${tH.root}${e.variant === "plain" ? "" : ` ${tH.card}`}`,
31517
31520
  children: /* @__PURE__ */ b("ul", {
31518
- className: QV.summary,
31521
+ className: tH.summary,
31519
31522
  children: t.map((e) => {
31520
31523
  let t = i[e.name], n = (t?.values ?? []).map((t) => e.choices.find((e) => e.value === t)?.label ?? t);
31521
- return t?.text && n.push(t.text), /* @__PURE__ */ x("li", { children: [/* @__PURE__ */ b("span", { children: e.title }), /* @__PURE__ */ b("span", { children: n.length > 0 ? n.join(", ") : ZV.skipped })] }, e.name);
31524
+ return t?.text && n.push(t.text), /* @__PURE__ */ x("li", { children: [/* @__PURE__ */ b("span", { children: e.title }), /* @__PURE__ */ b("span", { children: n.length > 0 ? n.join(", ") : eH.skipped })] }, e.name);
31522
31525
  })
31523
31526
  })
31524
31527
  }) : /* @__PURE__ */ x("form", {
31525
31528
  ref: u,
31526
- className: `${QV.root}${e.variant === "plain" ? "" : ` ${QV.card}`}`,
31529
+ className: `${tH.root}${e.variant === "plain" ? "" : ` ${tH.card}`}`,
31527
31530
  onKeyDown: T,
31528
31531
  onSubmit: (e) => {
31529
31532
  e.preventDefault(), m ? w() : C();
31530
31533
  },
31531
31534
  children: [
31532
31535
  /* @__PURE__ */ x("div", {
31533
- className: QV.progress,
31536
+ className: tH.progress,
31534
31537
  children: [/* @__PURE__ */ b("span", {
31535
- className: QV.progressLabel,
31536
- children: ZV.progress(a, t.length)
31538
+ className: tH.progressLabel,
31539
+ children: eH.progress(a, t.length)
31537
31540
  }), /* @__PURE__ */ b(TT, {
31538
31541
  value: a + 1,
31539
31542
  max: t.length,
31540
- "aria-label": ZV.progress(a, t.length)
31543
+ "aria-label": eH.progress(a, t.length)
31541
31544
  })]
31542
31545
  }),
31543
31546
  t.map((e, t) => {
31544
- let n = i[e.name] ?? $V, r = t === a, o = `${e.name}-description`;
31547
+ let n = i[e.name] ?? nH, r = t === a, o = `${e.name}-description`;
31545
31548
  return /* @__PURE__ */ x("fieldset", {
31546
- className: QV.item,
31549
+ className: tH.item,
31547
31550
  hidden: !r,
31548
31551
  "data-step": t,
31549
31552
  "aria-describedby": o,
31550
31553
  "aria-invalid": r && s != null ? !0 : void 0,
31551
31554
  children: [
31552
31555
  /* @__PURE__ */ b("legend", {
31553
- className: QV.title,
31556
+ className: tH.title,
31554
31557
  children: e.title
31555
31558
  }),
31556
31559
  e.description ? /* @__PURE__ */ b("p", {
31557
31560
  id: o,
31558
- className: QV.description,
31561
+ className: tH.description,
31559
31562
  children: e.description
31560
31563
  }) : null,
31561
31564
  /* @__PURE__ */ x("div", {
31562
- className: QV.choices,
31565
+ className: tH.choices,
31563
31566
  children: [e.choices.map((t, r) => {
31564
- let i = tH(d, r), a = n.values.includes(t.value);
31567
+ let i = iH(d, r), a = n.values.includes(t.value);
31565
31568
  return /* @__PURE__ */ x("label", {
31566
- className: QV.choice,
31569
+ className: tH.choice,
31567
31570
  "data-multiple": e.multiple === !0 ? "true" : void 0,
31568
31571
  children: [
31569
31572
  /* @__PURE__ */ b("input", {
31570
- className: QV.input,
31573
+ className: tH.input,
31571
31574
  type: e.multiple === !0 ? "checkbox" : "radio",
31572
31575
  name: e.name,
31573
31576
  value: t.value,
@@ -31575,22 +31578,22 @@ function nH(e) {
31575
31578
  onChange: () => _(e, t.value)
31576
31579
  }),
31577
31580
  /* @__PURE__ */ b("span", {
31578
- className: QV.mark,
31581
+ className: tH.mark,
31579
31582
  "aria-hidden": "true",
31580
31583
  children: a ? /* @__PURE__ */ b(G, { id: "check" }) : null
31581
31584
  }),
31582
31585
  /* @__PURE__ */ x("span", {
31583
- className: QV.choiceBody,
31586
+ className: tH.choiceBody,
31584
31587
  children: [/* @__PURE__ */ b("span", {
31585
- className: QV.choiceLabel,
31588
+ className: tH.choiceLabel,
31586
31589
  children: t.label
31587
31590
  }), t.description ? /* @__PURE__ */ b("span", {
31588
- className: QV.choiceDescription,
31591
+ className: tH.choiceDescription,
31589
31592
  children: t.description
31590
31593
  }) : null]
31591
31594
  }),
31592
31595
  i ? /* @__PURE__ */ b("kbd", {
31593
- className: QV.key,
31596
+ className: tH.key,
31594
31597
  "aria-hidden": "true",
31595
31598
  children: i
31596
31599
  }) : null
@@ -31606,7 +31609,7 @@ function nH(e) {
31606
31609
  }) : null]
31607
31610
  }),
31608
31611
  r && s != null ? /* @__PURE__ */ b("p", {
31609
- className: QV.error,
31612
+ className: tH.error,
31610
31613
  role: "alert",
31611
31614
  children: s
31612
31615
  }) : null
@@ -31614,28 +31617,28 @@ function nH(e) {
31614
31617
  }, e.name);
31615
31618
  }),
31616
31619
  /* @__PURE__ */ x("div", {
31617
- className: QV.actions,
31620
+ className: tH.actions,
31618
31621
  children: [
31619
31622
  a > 0 ? /* @__PURE__ */ b(kC, {
31620
- label: ZV.previous,
31623
+ label: eH.previous,
31621
31624
  tone: "outline",
31622
31625
  size: "compact",
31623
31626
  onClick: () => S(a - 1)
31624
31627
  }) : null,
31625
31628
  /* @__PURE__ */ b("span", { "data-push": "" }),
31626
31629
  h.required !== !0 && !m ? /* @__PURE__ */ b(kC, {
31627
- label: ZV.skip,
31630
+ label: eH.skip,
31628
31631
  tone: "outline",
31629
31632
  size: "compact",
31630
31633
  onClick: () => S(a + 1)
31631
31634
  }) : null,
31632
31635
  m ? /* @__PURE__ */ b(kC, {
31633
- label: e.submitLabel ?? ZV.submit,
31636
+ label: e.submitLabel ?? eH.submit,
31634
31637
  tone: "filled",
31635
31638
  size: "compact",
31636
31639
  type: "submit"
31637
31640
  }) : /* @__PURE__ */ b(kC, {
31638
- label: ZV.next,
31641
+ label: eH.next,
31639
31642
  tone: "filled",
31640
31643
  size: "compact",
31641
31644
  type: "submit"
@@ -31646,14 +31649,14 @@ function nH(e) {
31646
31649
  });
31647
31650
  }
31648
31651
  // src/ui/components/nm-radio-group/nm-radio-group.tsx
31649
- function rH({ className: e, ...t }) {
31652
+ function oH({ className: e, ...t }) {
31650
31653
  return /* @__PURE__ */ b(ie, {
31651
31654
  "data-slot": "radio-group",
31652
31655
  className: F("nm-radio-group", e),
31653
31656
  ...t
31654
31657
  });
31655
31658
  }
31656
- function iH({ className: e, ...t }) {
31659
+ function sH({ className: e, ...t }) {
31657
31660
  return /* @__PURE__ */ b(rp.Root, {
31658
31661
  "data-slot": "radio-group-item",
31659
31662
  className: F("nm-radio", e),
@@ -31665,7 +31668,7 @@ function iH({ className: e, ...t }) {
31665
31668
  });
31666
31669
  }
31667
31670
  // src/ui/components/nm-rail-icon/nm-rail-icon.tsx
31668
- var aH = W("interface-nm-rail-icon"), oH = {
31671
+ var cH = W("interface-nm-rail-icon"), lH = {
31669
31672
  plus: "plus",
31670
31673
  plusSm: "plus",
31671
31674
  folder: "folder",
@@ -31677,29 +31680,29 @@ var aH = W("interface-nm-rail-icon"), oH = {
31677
31680
  settings: "settings",
31678
31681
  search: "search"
31679
31682
  };
31680
- function sH(e) {
31681
- return aH.debug("render", e.id), /* @__PURE__ */ b(hC, {
31682
- id: oH[e.id],
31683
+ function uH(e) {
31684
+ return cH.debug("render", e.id), /* @__PURE__ */ b(hC, {
31685
+ id: lH[e.id],
31683
31686
  className: "nm-rail-icon"
31684
31687
  });
31685
31688
  }
31686
31689
  // src/ui/config/nm-sidebar.ts
31687
- var cH = ["left", "right"], lH = [
31690
+ var dH = ["left", "right"], fH = [
31688
31691
  "sidebar",
31689
31692
  "floating",
31690
31693
  "inset"
31691
- ], uH = [
31694
+ ], pH = [
31692
31695
  "offcanvas",
31693
31696
  "icon",
31694
31697
  "toggle",
31695
31698
  "none"
31696
- ], dH = ["expanded", "collapsed"], fH = [
31699
+ ], mH = ["expanded", "collapsed"], hH = [
31697
31700
  "sm",
31698
31701
  "default",
31699
31702
  "lg"
31700
- ], pH = ["default", "outline"], mH = "b", hH = 200, gH = "(max-width: 48rem)";
31703
+ ], gH = ["default", "outline"], _H = "b", vH = 200, yH = "(max-width: 48rem)";
31701
31704
  // src/ui/components/nm-skeleton/nm-skeleton.tsx
31702
- function _H({ className: e, ...t }) {
31705
+ function bH({ className: e, ...t }) {
31703
31706
  return /* @__PURE__ */ b("div", {
31704
31707
  "data-slot": "skeleton",
31705
31708
  className: F("nm-skeleton", e),
@@ -31707,26 +31710,26 @@ function _H({ className: e, ...t }) {
31707
31710
  });
31708
31711
  }
31709
31712
  // src/ui/components/nm-tooltip/nm-tooltip.tsx
31710
- function vH({ delay: e = 0, ...t }) {
31713
+ function xH({ delay: e = 0, ...t }) {
31711
31714
  return /* @__PURE__ */ b(bh.Provider, {
31712
31715
  "data-slot": "tooltip-provider",
31713
31716
  delay: e,
31714
31717
  ...t
31715
31718
  });
31716
31719
  }
31717
- function yH(e) {
31720
+ function SH(e) {
31718
31721
  return /* @__PURE__ */ b(bh.Root, {
31719
31722
  "data-slot": "tooltip",
31720
31723
  ...e
31721
31724
  });
31722
31725
  }
31723
- function bH(e) {
31726
+ function CH(e) {
31724
31727
  return /* @__PURE__ */ b(bh.Trigger, {
31725
31728
  "data-slot": "tooltip-trigger",
31726
31729
  ...e
31727
31730
  });
31728
31731
  }
31729
- function xH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...o }) {
31732
+ function wH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...o }) {
31730
31733
  return /* @__PURE__ */ b(bh.Portal, { children: /* @__PURE__ */ b(bh.Positioner, {
31731
31734
  align: r,
31732
31735
  alignOffset: i,
@@ -31742,21 +31745,21 @@ function xH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
31742
31745
  }) });
31743
31746
  }
31744
31747
  // src/ui/components/nm-sidebar/nm-sidebar.tsx
31745
- var SH = i(null), CH = "[data-slot=\"sidebar\"], [data-slot=\"sidebar-trigger\"], [data-slot=\"tooltip-content\"], [role=\"menu\"], [role=\"dialog\"]";
31746
- function wH() {
31747
- let e = s(SH);
31748
+ var TH = i(null), EH = "[data-slot=\"sidebar\"], [data-slot=\"sidebar-trigger\"], [data-slot=\"tooltip-content\"], [role=\"menu\"], [role=\"dialog\"]";
31749
+ function DH() {
31750
+ let e = s(TH);
31748
31751
  if (!e) throw Error("useSidebar must be used within a NmSidebarProvider.");
31749
31752
  return e;
31750
31753
  }
31751
- function TH(e) {
31754
+ function OH(e) {
31752
31755
  let [t, n] = p(() => typeof window > "u" ? !1 : window.matchMedia(e).matches);
31753
31756
  return c(() => {
31754
31757
  let t = window.matchMedia(e), r = () => n(t.matches);
31755
31758
  return r(), t.addEventListener("change", r), () => t.removeEventListener("change", r);
31756
31759
  }, [e]), t;
31757
31760
  }
31758
- function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill", className: s, style: l, children: u, ...m }) {
31759
- let h = TH(gH), [g, _] = p(!1), [v, y] = p(e), [x, S] = p(!1), [C, w] = p("offcanvas"), T = f(null), E = f(null), D = t ?? v, O = o((e) => {
31761
+ function kH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill", className: s, style: l, children: u, ...m }) {
31762
+ let h = OH(yH), [g, _] = p(!1), [v, y] = p(e), [x, S] = p(!1), [C, w] = p("offcanvas"), T = f(null), E = f(null), D = t ?? v, O = o((e) => {
31760
31763
  n?.(e), t ?? y(e), S(!1);
31761
31764
  }, [n, t]), k = o(() => {
31762
31765
  h ? _((e) => !e) : O(!D);
@@ -31778,7 +31781,7 @@ function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31778
31781
  C
31779
31782
  ]), ee = () => {
31780
31783
  let e = E.current;
31781
- return e != null && document.elementFromPoint(e.x, e.y)?.closest(CH) != null;
31784
+ return e != null && document.elementFromPoint(e.x, e.y)?.closest(EH) != null;
31782
31785
  }, M = o(() => {
31783
31786
  A(), T.current = setTimeout(() => {
31784
31787
  T.current = null, ee() || S(!1);
@@ -31825,7 +31828,7 @@ function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31825
31828
  M,
31826
31829
  C
31827
31830
  ]);
31828
- return /* @__PURE__ */ b(SH.Provider, {
31831
+ return /* @__PURE__ */ b(TH.Provider, {
31829
31832
  value: ne,
31830
31833
  children: /* @__PURE__ */ b("div", {
31831
31834
  "data-slot": "sidebar-wrapper",
@@ -31837,8 +31840,8 @@ function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31837
31840
  })
31838
31841
  });
31839
31842
  }
31840
- function DH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", label: r = "Sidebar", className: i, children: a, ...o }) {
31841
- let { isMobile: s, state: l, openMobile: u, setOpenMobile: d, peek: f, peekIn: p, peekOut: m, setCollapsible: h } = wH();
31843
+ function AH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", label: r = "Sidebar", className: i, children: a, ...o }) {
31844
+ let { isMobile: s, state: l, openMobile: u, setOpenMobile: d, peek: f, peekIn: p, peekOut: m, setCollapsible: h } = DH();
31842
31845
  if (c(() => h(n), [n, h]), n === "none") return /* @__PURE__ */ b("div", {
31843
31846
  "data-slot": "sidebar",
31844
31847
  "data-side": e,
@@ -31852,10 +31855,10 @@ function DH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
31852
31855
  children: a
31853
31856
  })
31854
31857
  });
31855
- if (s) return /* @__PURE__ */ b(vB, {
31858
+ if (s) return /* @__PURE__ */ b(xB, {
31856
31859
  open: u,
31857
31860
  onOpenChange: d,
31858
- children: /* @__PURE__ */ b(xB, {
31861
+ children: /* @__PURE__ */ b(wB, {
31859
31862
  "data-slot": "sidebar",
31860
31863
  "data-mobile": "",
31861
31864
  side: e,
@@ -31888,8 +31891,8 @@ function DH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
31888
31891
  })
31889
31892
  });
31890
31893
  }
31891
- function OH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, onClick: i, onPointerEnter: a, onPointerLeave: o, ...s }) {
31892
- let { open: c, isMobile: l, toggleSidebar: u, peekIn: d, peekOut: f } = wH(), p = t ?? (c || l ? "Close sidebar" : "Open sidebar"), m = /* @__PURE__ */ b(UC, {
31894
+ function jH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, onClick: i, onPointerEnter: a, onPointerLeave: o, ...s }) {
31895
+ let { open: c, isMobile: l, toggleSidebar: u, peekIn: d, peekOut: f } = DH(), p = t ?? (c || l ? "Close sidebar" : "Open sidebar"), m = /* @__PURE__ */ b(UC, {
31893
31896
  "data-slot": "sidebar-trigger",
31894
31897
  glyph: n,
31895
31898
  label: p,
@@ -31906,13 +31909,13 @@ function OH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, o
31906
31909
  },
31907
31910
  ...s
31908
31911
  });
31909
- return r ? /* @__PURE__ */ x(yH, { children: [/* @__PURE__ */ b(bH, { render: m }), /* @__PURE__ */ x(xH, {
31912
+ return r ? /* @__PURE__ */ x(SH, { children: [/* @__PURE__ */ b(CH, { render: m }), /* @__PURE__ */ x(wH, {
31910
31913
  side: "bottom",
31911
- children: [p, /* @__PURE__ */ b(UB, { children: "⌘B" })]
31914
+ children: [p, /* @__PURE__ */ b(KB, { children: "⌘B" })]
31912
31915
  })] }) : m;
31913
31916
  }
31914
- function kH({ className: e, label: t = "Toggle sidebar", ...n }) {
31915
- let { toggleSidebar: r } = wH();
31917
+ function MH({ className: e, label: t = "Toggle sidebar", ...n }) {
31918
+ let { toggleSidebar: r } = DH();
31916
31919
  return /* @__PURE__ */ b("button", {
31917
31920
  type: "button",
31918
31921
  "data-slot": "sidebar-rail",
@@ -31924,56 +31927,56 @@ function kH({ className: e, label: t = "Toggle sidebar", ...n }) {
31924
31927
  ...n
31925
31928
  });
31926
31929
  }
31927
- function AH({ className: e, ...t }) {
31930
+ function NH({ className: e, ...t }) {
31928
31931
  return /* @__PURE__ */ b("main", {
31929
31932
  "data-slot": "sidebar-inset",
31930
31933
  className: F("nm-sidebar__inset", e),
31931
31934
  ...t
31932
31935
  });
31933
31936
  }
31934
- function jH({ className: e, ...t }) {
31937
+ function PH({ className: e, ...t }) {
31935
31938
  return /* @__PURE__ */ b(dN, {
31936
31939
  "data-slot": "sidebar-input",
31937
31940
  className: F("nm-sidebar__input", e),
31938
31941
  ...t
31939
31942
  });
31940
31943
  }
31941
- function MH({ className: e, ...t }) {
31944
+ function FH({ className: e, ...t }) {
31942
31945
  return /* @__PURE__ */ b("div", {
31943
31946
  "data-slot": "sidebar-header",
31944
31947
  className: F("nm-sidebar__header", e),
31945
31948
  ...t
31946
31949
  });
31947
31950
  }
31948
- function NH({ className: e, ...t }) {
31951
+ function IH({ className: e, ...t }) {
31949
31952
  return /* @__PURE__ */ b("div", {
31950
31953
  "data-slot": "sidebar-footer",
31951
31954
  className: F("nm-sidebar__footer", e),
31952
31955
  ...t
31953
31956
  });
31954
31957
  }
31955
- function PH({ className: e, ...t }) {
31958
+ function LH({ className: e, ...t }) {
31956
31959
  return /* @__PURE__ */ b(cD, {
31957
31960
  "data-slot": "sidebar-separator",
31958
31961
  className: F("nm-sidebar__separator", e),
31959
31962
  ...t
31960
31963
  });
31961
31964
  }
31962
- function FH({ className: e, ...t }) {
31965
+ function RH({ className: e, ...t }) {
31963
31966
  return /* @__PURE__ */ b("div", {
31964
31967
  "data-slot": "sidebar-content",
31965
31968
  className: F("nm-sidebar__content", e),
31966
31969
  ...t
31967
31970
  });
31968
31971
  }
31969
- function IH({ className: e, ...t }) {
31972
+ function zH({ className: e, ...t }) {
31970
31973
  return /* @__PURE__ */ b("div", {
31971
31974
  "data-slot": "sidebar-group",
31972
31975
  className: F("nm-sidebar__group", e),
31973
31976
  ...t
31974
31977
  });
31975
31978
  }
31976
- function LH({ className: e, render: t, ref: n, ...r }) {
31979
+ function BH({ className: e, render: t, ref: n, ...r }) {
31977
31980
  return Si({
31978
31981
  render: t,
31979
31982
  ref: n,
@@ -31985,7 +31988,7 @@ function LH({ className: e, render: t, ref: n, ...r }) {
31985
31988
  }
31986
31989
  });
31987
31990
  }
31988
- function RH({ className: e, ...t }) {
31991
+ function VH({ className: e, ...t }) {
31989
31992
  return /* @__PURE__ */ b(aM, {
31990
31993
  "data-slot": "sidebar-group-action",
31991
31994
  tone: "quiet",
@@ -31993,29 +31996,29 @@ function RH({ className: e, ...t }) {
31993
31996
  ...t
31994
31997
  });
31995
31998
  }
31996
- function zH({ className: e, ...t }) {
31999
+ function HH({ className: e, ...t }) {
31997
32000
  return /* @__PURE__ */ b("div", {
31998
32001
  "data-slot": "sidebar-group-content",
31999
32002
  className: F("nm-sidebar__group-content", e),
32000
32003
  ...t
32001
32004
  });
32002
32005
  }
32003
- function BH({ className: e, ...t }) {
32006
+ function UH({ className: e, ...t }) {
32004
32007
  return /* @__PURE__ */ b("ul", {
32005
32008
  "data-slot": "sidebar-menu",
32006
32009
  className: F("nm-sidebar__menu", e),
32007
32010
  ...t
32008
32011
  });
32009
32012
  }
32010
- function VH({ className: e, ...t }) {
32013
+ function WH({ className: e, ...t }) {
32011
32014
  return /* @__PURE__ */ b("li", {
32012
32015
  "data-slot": "sidebar-menu-item",
32013
32016
  className: F("nm-sidebar__menu-item", e),
32014
32017
  ...t
32015
32018
  });
32016
32019
  }
32017
- function HH({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ref: o, ...s }) {
32018
- let { isMobile: c, state: l, peek: u } = wH(), d = Si({
32020
+ function GH({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ref: o, ...s }) {
32021
+ let { isMobile: c, state: l, peek: u } = DH(), d = Si({
32019
32022
  render: e,
32020
32023
  ref: o,
32021
32024
  defaultTagName: "button",
@@ -32030,13 +32033,13 @@ function HH({ render: e, isActive: t = !1, variant: n = "default", size: r = "de
32030
32033
  ...s
32031
32034
  }
32032
32035
  });
32033
- return i == null ? d : /* @__PURE__ */ x(yH, { children: [/* @__PURE__ */ b(bH, { render: d }), l === "collapsed" && !u && !c ? /* @__PURE__ */ b(xH, {
32036
+ return i == null ? d : /* @__PURE__ */ x(SH, { children: [/* @__PURE__ */ b(CH, { render: d }), l === "collapsed" && !u && !c ? /* @__PURE__ */ b(wH, {
32034
32037
  side: "right",
32035
32038
  align: "center",
32036
32039
  ...typeof i == "string" ? { children: i } : i
32037
32040
  }) : null] });
32038
32041
  }
32039
- function UH({ className: e, showOnHover: t = !1, ...n }) {
32042
+ function KH({ className: e, showOnHover: t = !1, ...n }) {
32040
32043
  return /* @__PURE__ */ b(aM, {
32041
32044
  "data-slot": "sidebar-menu-action",
32042
32045
  "data-show-on-hover": t ? "" : void 0,
@@ -32045,7 +32048,7 @@ function UH({ className: e, showOnHover: t = !1, ...n }) {
32045
32048
  ...n
32046
32049
  });
32047
32050
  }
32048
- function WH({ className: e, ...t }) {
32051
+ function qH({ className: e, ...t }) {
32049
32052
  return /* @__PURE__ */ b(CC, {
32050
32053
  "data-slot": "sidebar-menu-badge",
32051
32054
  size: "sm",
@@ -32053,7 +32056,7 @@ function WH({ className: e, ...t }) {
32053
32056
  ...t
32054
32057
  });
32055
32058
  }
32056
- function GH({ title: e, description: t, className: n, ...r }) {
32059
+ function JH({ title: e, description: t, className: n, ...r }) {
32057
32060
  return /* @__PURE__ */ x("span", {
32058
32061
  "data-slot": "sidebar-menu-text",
32059
32062
  className: F("nm-sidebar__text", n),
@@ -32061,33 +32064,33 @@ function GH({ title: e, description: t, className: n, ...r }) {
32061
32064
  children: [/* @__PURE__ */ b("span", { children: e }), t == null ? null : /* @__PURE__ */ b("span", { children: t })]
32062
32065
  });
32063
32066
  }
32064
- function KH({ className: e, showIcon: t = !1, ...n }) {
32067
+ function YH({ className: e, showIcon: t = !1, ...n }) {
32065
32068
  let [r] = p(() => `${Math.floor(Math.random() * 40) + 50}%`);
32066
32069
  return /* @__PURE__ */ x("div", {
32067
32070
  "data-slot": "sidebar-menu-skeleton",
32068
32071
  className: F("nm-sidebar__menu-skeleton", e),
32069
32072
  ...n,
32070
- children: [t ? /* @__PURE__ */ b(_H, { className: "nm-sidebar__menu-skeleton-icon" }) : null, /* @__PURE__ */ b(_H, {
32073
+ children: [t ? /* @__PURE__ */ b(bH, { className: "nm-sidebar__menu-skeleton-icon" }) : null, /* @__PURE__ */ b(bH, {
32071
32074
  className: "nm-sidebar__menu-skeleton-text",
32072
32075
  style: { "--nm-sidebar-skeleton-width": r }
32073
32076
  })]
32074
32077
  });
32075
32078
  }
32076
- function qH({ className: e, ...t }) {
32079
+ function XH({ className: e, ...t }) {
32077
32080
  return /* @__PURE__ */ b("ul", {
32078
32081
  "data-slot": "sidebar-menu-sub",
32079
32082
  className: F("nm-sidebar__menu-sub", e),
32080
32083
  ...t
32081
32084
  });
32082
32085
  }
32083
- function JH({ className: e, ...t }) {
32086
+ function ZH({ className: e, ...t }) {
32084
32087
  return /* @__PURE__ */ b("li", {
32085
32088
  "data-slot": "sidebar-menu-sub-item",
32086
32089
  className: F("nm-sidebar__menu-sub-item", e),
32087
32090
  ...t
32088
32091
  });
32089
32092
  }
32090
- function YH({ render: e, size: t = "default", isActive: n = !1, className: r, ref: i, ...a }) {
32093
+ function QH({ render: e, size: t = "default", isActive: n = !1, className: r, ref: i, ...a }) {
32091
32094
  return Si({
32092
32095
  render: e,
32093
32096
  ref: i,
@@ -32102,7 +32105,7 @@ function YH({ render: e, size: t = "default", isActive: n = !1, className: r, re
32102
32105
  }
32103
32106
  });
32104
32107
  }
32105
- function XH({ className: e, menu: t = !1, ...n }) {
32108
+ function $H({ className: e, menu: t = !1, ...n }) {
32106
32109
  return /* @__PURE__ */ b(G, {
32107
32110
  id: "chevron",
32108
32111
  "data-menu": t ? "" : void 0,
@@ -32111,7 +32114,7 @@ function XH({ className: e, menu: t = !1, ...n }) {
32111
32114
  });
32112
32115
  }
32113
32116
  // src/ui/components/nm-slider/nm-slider.tsx
32114
- function ZH({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
32117
+ function eU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
32115
32118
  let c = Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], l = /* @__PURE__ */ b(Up.Root, {
32116
32119
  "data-slot": "slider",
32117
32120
  className: F("nm-slider", e),
@@ -32152,7 +32155,7 @@ function ZH({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100,
32152
32155
  }) : l;
32153
32156
  }
32154
32157
  // src/ui/components/nm-spinner/nm-spinner.tsx
32155
- function QH({ className: e, ...t }) {
32158
+ function tU({ className: e, ...t }) {
32156
32159
  return /* @__PURE__ */ b("span", {
32157
32160
  role: "status",
32158
32161
  "aria-live": "polite",
@@ -32162,14 +32165,14 @@ function QH({ className: e, ...t }) {
32162
32165
  });
32163
32166
  }
32164
32167
  // src/ui/components/nm-status-bar/nm-status-bar.tsx
32165
- function $H({ className: e, ...t }) {
32168
+ function nU({ className: e, ...t }) {
32166
32169
  return /* @__PURE__ */ b("footer", {
32167
32170
  "data-slot": "status-bar",
32168
32171
  className: F("nm-status-bar", e),
32169
32172
  ...t
32170
32173
  });
32171
32174
  }
32172
- function eU({ className: e, onClick: t, children: n, ...r }) {
32175
+ function rU({ className: e, onClick: t, children: n, ...r }) {
32173
32176
  let i = F("nm-status-bar__item", e);
32174
32177
  return t ? /* @__PURE__ */ b("button", {
32175
32178
  type: "button",
@@ -32184,7 +32187,7 @@ function eU({ className: e, onClick: t, children: n, ...r }) {
32184
32187
  children: n
32185
32188
  });
32186
32189
  }
32187
- function tU({ className: e, ...t }) {
32190
+ function iU({ className: e, ...t }) {
32188
32191
  return /* @__PURE__ */ b("span", {
32189
32192
  "aria-hidden": "true",
32190
32193
  "data-slot": "status-bar-spacer",
@@ -32193,7 +32196,7 @@ function tU({ className: e, ...t }) {
32193
32196
  });
32194
32197
  }
32195
32198
  // src/ui/components/nm-switch/nm-switch.tsx
32196
- function nU({ className: e, ...t }) {
32199
+ function aU({ className: e, ...t }) {
32197
32200
  return /* @__PURE__ */ b(ae.Root, {
32198
32201
  "data-slot": "switch",
32199
32202
  className: F("nm-switch", e),
@@ -32205,13 +32208,13 @@ function nU({ className: e, ...t }) {
32205
32208
  });
32206
32209
  }
32207
32210
  // src/ui/components/nm-table/nm-table.tsx
32208
- var rU = [
32211
+ var oU = [
32209
32212
  "default",
32210
32213
  "striped",
32211
32214
  "lined",
32212
32215
  "plain"
32213
- ], iU = ["default", "sm"];
32214
- function aU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
32216
+ ], sU = ["default", "sm"];
32217
+ function cU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
32215
32218
  return /* @__PURE__ */ b("div", {
32216
32219
  "data-slot": "table-container",
32217
32220
  "data-sticky": r ? "" : void 0,
@@ -32226,28 +32229,28 @@ function aU({ className: e, variant: t = "default", size: n = "default", stickyH
32226
32229
  })
32227
32230
  });
32228
32231
  }
32229
- function oU({ className: e, ...t }) {
32232
+ function lU({ className: e, ...t }) {
32230
32233
  return /* @__PURE__ */ b("thead", {
32231
32234
  "data-slot": "table-header",
32232
32235
  className: F("nm-table__header", e),
32233
32236
  ...t
32234
32237
  });
32235
32238
  }
32236
- function sU({ className: e, ...t }) {
32239
+ function uU({ className: e, ...t }) {
32237
32240
  return /* @__PURE__ */ b("tbody", {
32238
32241
  "data-slot": "table-body",
32239
32242
  className: F("nm-table__body", e),
32240
32243
  ...t
32241
32244
  });
32242
32245
  }
32243
- function cU({ className: e, ...t }) {
32246
+ function dU({ className: e, ...t }) {
32244
32247
  return /* @__PURE__ */ b("tfoot", {
32245
32248
  "data-slot": "table-footer",
32246
32249
  className: F("nm-table__footer", e),
32247
32250
  ...t
32248
32251
  });
32249
32252
  }
32250
- function lU({ className: e, selected: t, disabled: n, ...r }) {
32253
+ function fU({ className: e, selected: t, disabled: n, ...r }) {
32251
32254
  return /* @__PURE__ */ b("tr", {
32252
32255
  "data-slot": "table-row",
32253
32256
  "data-selected": t ? "" : void 0,
@@ -32259,7 +32262,7 @@ function lU({ className: e, selected: t, disabled: n, ...r }) {
32259
32262
  ...r
32260
32263
  });
32261
32264
  }
32262
- function uU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
32265
+ function pU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
32263
32266
  return /* @__PURE__ */ b("th", {
32264
32267
  "data-slot": "table-head",
32265
32268
  "data-align": t,
@@ -32279,7 +32282,7 @@ function uU({ className: e, textAlign: t = "start", sort: n, onSort: r, children
32279
32282
  }) : i
32280
32283
  });
32281
32284
  }
32282
- function dU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32285
+ function mU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32283
32286
  return /* @__PURE__ */ b("td", {
32284
32287
  "data-slot": "table-cell",
32285
32288
  "data-align": t,
@@ -32288,7 +32291,7 @@ function dU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32288
32291
  ...r
32289
32292
  });
32290
32293
  }
32291
- function fU({ className: e, ...t }) {
32294
+ function hU({ className: e, ...t }) {
32292
32295
  return /* @__PURE__ */ b("caption", {
32293
32296
  "data-slot": "table-caption",
32294
32297
  className: F("nm-table__caption", e),
@@ -32296,17 +32299,17 @@ function fU({ className: e, ...t }) {
32296
32299
  });
32297
32300
  }
32298
32301
  // src/ui/config/nm-tabs.ts
32299
- var pU = {
32302
+ var gU = {
32300
32303
  root: "nm-tabs",
32301
32304
  item: "nm-tabs__item"
32302
- }, mU = W("interface-nm-tabs");
32303
- function hU(e) {
32304
- return mU.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
32305
- className: pU.root,
32305
+ }, _U = W("interface-nm-tabs");
32306
+ function vU(e) {
32307
+ return _U.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
32308
+ className: gU.root,
32306
32309
  role: "tablist",
32307
32310
  "aria-label": e.label,
32308
32311
  children: e.items.map((t) => /* @__PURE__ */ b("button", {
32309
- className: pU.item,
32312
+ className: gU.item,
32310
32313
  type: "button",
32311
32314
  role: "tab",
32312
32315
  "aria-selected": t.id === e.value,
@@ -32315,27 +32318,27 @@ function hU(e) {
32315
32318
  }, t.id))
32316
32319
  });
32317
32320
  }
32318
- function gU(e) {
32321
+ function yU(e) {
32319
32322
  return /* @__PURE__ */ b(ch.Root, {
32320
32323
  "data-slot": "tabs",
32321
32324
  ...e
32322
32325
  });
32323
32326
  }
32324
- function _U({ className: e, ...t }) {
32327
+ function bU({ className: e, ...t }) {
32325
32328
  return /* @__PURE__ */ b(ch.List, {
32326
32329
  "data-slot": "tabs-list",
32327
- className: F(pU.root, e),
32330
+ className: F(gU.root, e),
32328
32331
  ...t
32329
32332
  });
32330
32333
  }
32331
- function vU({ className: e, ...t }) {
32334
+ function xU({ className: e, ...t }) {
32332
32335
  return /* @__PURE__ */ b(ch.Tab, {
32333
32336
  "data-slot": "tabs-trigger",
32334
- className: F(pU.item, e),
32337
+ className: F(gU.item, e),
32335
32338
  ...t
32336
32339
  });
32337
32340
  }
32338
- function yU({ className: e, ...t }) {
32341
+ function SU({ className: e, ...t }) {
32339
32342
  return /* @__PURE__ */ b(ch.Panel, {
32340
32343
  "data-slot": "tabs-content",
32341
32344
  className: F("nm-tabs__panel", e),
@@ -32343,12 +32346,12 @@ function yU({ className: e, ...t }) {
32343
32346
  });
32344
32347
  }
32345
32348
  // src/ui/components/nm-toggle/nm-toggle.tsx
32346
- var bU = ["default", "outline"], xU = [
32349
+ var CU = ["default", "outline"], wU = [
32347
32350
  "sm",
32348
32351
  "default",
32349
32352
  "lg"
32350
32353
  ];
32351
- function SU({ className: e, variant: t = "default", size: n = "default", ...r }) {
32354
+ function TU({ className: e, variant: t = "default", size: n = "default", ...r }) {
32352
32355
  return /* @__PURE__ */ b(vh, {
32353
32356
  "data-slot": "toggle",
32354
32357
  "data-variant": t,
@@ -32358,21 +32361,21 @@ function SU({ className: e, variant: t = "default", size: n = "default", ...r })
32358
32361
  });
32359
32362
  }
32360
32363
  // src/ui/config/nm-top-bar.ts
32361
- var CU = {
32364
+ var EU = {
32362
32365
  root: "nm-header",
32363
32366
  end: "nm-header__end"
32364
- }, wU = W("interface-nm-top-bar");
32365
- function TU(e) {
32366
- return wU.debug("render", "top-bar", {
32367
+ }, DU = W("interface-nm-top-bar");
32368
+ function OU(e) {
32369
+ return DU.debug("render", "top-bar", {
32367
32370
  end: e.end != null,
32368
32371
  menu: e.menu != null
32369
32372
  }), /* @__PURE__ */ x("header", {
32370
- className: CU.root,
32373
+ className: EU.root,
32371
32374
  children: [
32372
32375
  e.menu,
32373
32376
  e.children,
32374
32377
  e.end == null ? null : /* @__PURE__ */ b("div", {
32375
- className: CU.end,
32378
+ className: EU.end,
32376
32379
  "data-hidden-narrow": e.endHidden === !0 ? "true" : "false",
32377
32380
  children: e.end
32378
32381
  })
@@ -32380,12 +32383,12 @@ function TU(e) {
32380
32383
  });
32381
32384
  }
32382
32385
  // src/ui/config/nordman-login.ts
32383
- var EU = {
32386
+ var kU = {
32384
32387
  signIn: "signIn",
32385
32388
  register: "register",
32386
32389
  forgot: "forgot",
32387
32390
  reset: "reset"
32388
- }, DU = "nm-login-form", OU = {
32391
+ }, AU = "nm-login-form", jU = {
32389
32392
  username: "username",
32390
32393
  password: "password",
32391
32394
  displayName: "displayName",
@@ -32393,11 +32396,11 @@ var EU = {
32393
32396
  registerPassword: "register-password",
32394
32397
  confirmPassword: "confirm-password",
32395
32398
  resetPassword: "reset-password"
32396
- }, kU = {
32399
+ }, MU = {
32397
32400
  viewBox: "0 0 24 24",
32398
32401
  show: "M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5zM12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5zm0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3z",
32399
32402
  hide: "M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7zM2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3 2 4.27zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2zm4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3l-.17.01z"
32400
- }, AU = "nordman", jU = {
32403
+ }, NU = "nordman", PU = {
32401
32404
  skip: "Hoppa till innehållet",
32402
32405
  identifier: "Email",
32403
32406
  identifierPlaceholder: "name@mail.com",
@@ -32430,7 +32433,7 @@ var EU = {
32430
32433
  registerEmailInUse: "Det finns redan ett konto med den här e-postadressen.",
32431
32434
  registerDone: "Kolla mejlet för att bekräfta kontot.",
32432
32435
  registerDoneReady: "Kontot är skapat. Logga in."
32433
- }, MU = {
32436
+ }, FU = {
32434
32437
  skip: "Skip to content",
32435
32438
  identifier: "Email",
32436
32439
  identifierPlaceholder: "name@mail.com",
@@ -32464,13 +32467,13 @@ var EU = {
32464
32467
  registerDone: "Check your email to confirm the account.",
32465
32468
  registerDoneReady: "The account is created. Log in."
32466
32469
  };
32467
- function NU(e) {
32468
- return cV(e ?? aV()) ? MU : jU;
32470
+ function IU(e) {
32471
+ return dV(e ?? cV()) ? FU : PU;
32469
32472
  }
32470
32473
  var $ = new Proxy({}, { get(e, t) {
32471
- return NU()[t];
32472
- } }), PU = W("interface-nordman-login-reveal");
32473
- function FU(e) {
32474
+ return IU()[t];
32475
+ } }), LU = W("interface-nordman-login-reveal");
32476
+ function RU(e) {
32474
32477
  let t = e.revealed ? $.hidePassword : $.showPassword;
32475
32478
  return /* @__PURE__ */ b("button", {
32476
32479
  className: "nm-login__reveal",
@@ -32479,22 +32482,22 @@ function FU(e) {
32479
32482
  "aria-pressed": e.revealed,
32480
32483
  "data-testid": "cta-reveal-password",
32481
32484
  onClick: () => {
32482
- PU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
32485
+ LU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
32483
32486
  },
32484
32487
  children: /* @__PURE__ */ b("svg", {
32485
32488
  className: "nm-login__reveal-icon",
32486
- viewBox: kU.viewBox,
32489
+ viewBox: MU.viewBox,
32487
32490
  "aria-hidden": "true",
32488
32491
  focusable: "false",
32489
32492
  children: /* @__PURE__ */ b("path", {
32490
- d: e.revealed ? kU.hide : kU.show,
32493
+ d: e.revealed ? MU.hide : MU.show,
32491
32494
  fill: "currentColor"
32492
32495
  })
32493
32496
  })
32494
32497
  });
32495
32498
  }
32496
32499
  // src/ui/components/nordman-login-field/nordman-login-field.tsx
32497
- function IU(e) {
32500
+ function zU(e) {
32498
32501
  let t = e.type === "password", [n, r] = p(!1), i = t && n ? "text" : e.type, a = /* @__PURE__ */ b("input", {
32499
32502
  className: t ? "nm-login__control nm-login__control--secret" : "nm-login__control",
32500
32503
  id: e.id,
@@ -32516,7 +32519,7 @@ function IU(e) {
32516
32519
  }), e.accessory]
32517
32520
  }), t ? /* @__PURE__ */ x("div", {
32518
32521
  className: "nm-login__control-wrap",
32519
- children: [a, /* @__PURE__ */ b(FU, {
32522
+ children: [a, /* @__PURE__ */ b(RU, {
32520
32523
  revealed: n,
32521
32524
  onToggle: () => r((e) => !e)
32522
32525
  })]
@@ -32524,43 +32527,43 @@ function IU(e) {
32524
32527
  });
32525
32528
  }
32526
32529
  // src/ui/components/nordman-login-register/nordman-login-register.tsx
32527
- var LU = W("interface-nordman-login-register");
32528
- function RU(e) {
32530
+ var BU = W("interface-nordman-login-register");
32531
+ function VU(e) {
32529
32532
  function t(t) {
32530
32533
  t.preventDefault();
32531
32534
  let n = new FormData(t.currentTarget);
32532
- LU.debug("submit", "start"), e.onRegister({
32533
- username: String(n.get(OU.registerUsername) ?? ""),
32534
- displayName: String(n.get(OU.displayName) ?? ""),
32535
- password: String(n.get(OU.registerPassword) ?? "")
32535
+ BU.debug("submit", "start"), e.onRegister({
32536
+ username: String(n.get(jU.registerUsername) ?? ""),
32537
+ displayName: String(n.get(jU.displayName) ?? ""),
32538
+ password: String(n.get(jU.registerPassword) ?? "")
32536
32539
  });
32537
32540
  }
32538
32541
  return /* @__PURE__ */ x("form", {
32539
32542
  className: "nm-login__form",
32540
- id: DU,
32543
+ id: AU,
32541
32544
  onSubmit: t,
32542
32545
  children: [
32543
- /* @__PURE__ */ b(IU, {
32544
- id: OU.registerUsername,
32545
- name: OU.registerUsername,
32546
+ /* @__PURE__ */ b(zU, {
32547
+ id: jU.registerUsername,
32548
+ name: jU.registerUsername,
32546
32549
  label: $.identifier,
32547
32550
  type: "email",
32548
32551
  autoComplete: "email",
32549
32552
  placeholder: $.identifierPlaceholder,
32550
32553
  required: !0
32551
32554
  }),
32552
- /* @__PURE__ */ b(IU, {
32553
- id: OU.displayName,
32554
- name: OU.displayName,
32555
+ /* @__PURE__ */ b(zU, {
32556
+ id: jU.displayName,
32557
+ name: jU.displayName,
32555
32558
  label: $.displayName,
32556
32559
  type: "text",
32557
32560
  autoComplete: "name",
32558
32561
  minLength: 3,
32559
32562
  required: !0
32560
32563
  }),
32561
- /* @__PURE__ */ b(IU, {
32562
- id: OU.registerPassword,
32563
- name: OU.registerPassword,
32564
+ /* @__PURE__ */ b(zU, {
32565
+ id: jU.registerPassword,
32566
+ name: jU.registerPassword,
32564
32567
  label: $.password,
32565
32568
  type: "password",
32566
32569
  autoComplete: "new-password",
@@ -32583,32 +32586,32 @@ function RU(e) {
32583
32586
  });
32584
32587
  }
32585
32588
  // src/ui/components/nordman-login-sign-in/nordman-login-sign-in.tsx
32586
- var zU = W("interface-nordman-login-sign-in");
32587
- function BU(e) {
32589
+ var HU = W("interface-nordman-login-sign-in");
32590
+ function UU(e) {
32588
32591
  function t(t) {
32589
32592
  t.preventDefault();
32590
- let n = new FormData(t.currentTarget), r = String(n.get(OU.username) ?? ""), i = String(n.get(OU.password) ?? "");
32591
- zU.debug("submit", "start"), e.onSignIn({
32593
+ let n = new FormData(t.currentTarget), r = String(n.get(jU.username) ?? ""), i = String(n.get(jU.password) ?? "");
32594
+ HU.debug("submit", "start"), e.onSignIn({
32592
32595
  username: r,
32593
32596
  password: i
32594
32597
  });
32595
32598
  }
32596
32599
  return /* @__PURE__ */ x("form", {
32597
32600
  className: "nm-login__form",
32598
- id: DU,
32601
+ id: AU,
32599
32602
  onSubmit: t,
32600
32603
  children: [
32601
- /* @__PURE__ */ b(IU, {
32602
- id: OU.username,
32603
- name: OU.username,
32604
+ /* @__PURE__ */ b(zU, {
32605
+ id: jU.username,
32606
+ name: jU.username,
32604
32607
  label: $.identifier,
32605
32608
  type: "text",
32606
32609
  autoComplete: "username",
32607
32610
  placeholder: $.identifierPlaceholder
32608
32611
  }),
32609
- /* @__PURE__ */ b(IU, {
32610
- id: OU.password,
32611
- name: OU.password,
32612
+ /* @__PURE__ */ b(zU, {
32613
+ id: jU.password,
32614
+ name: jU.password,
32612
32615
  label: $.password,
32613
32616
  type: "password",
32614
32617
  autoComplete: "current-password",
@@ -32638,12 +32641,12 @@ function BU(e) {
32638
32641
  });
32639
32642
  }
32640
32643
  // src/ui/components/nordman-login-forgot/nordman-login-forgot.tsx
32641
- var VU = W("interface-nordman-login-forgot");
32642
- function HU(e) {
32644
+ var WU = W("interface-nordman-login-forgot");
32645
+ function GU(e) {
32643
32646
  function t(t) {
32644
32647
  t.preventDefault();
32645
- let n = new FormData(t.currentTarget), r = String(n.get(OU.username) ?? "");
32646
- VU.debug("submit", "start"), e.onRequestReset({ identifier: r });
32648
+ let n = new FormData(t.currentTarget), r = String(n.get(jU.username) ?? "");
32649
+ WU.debug("submit", "start"), e.onRequestReset({ identifier: r });
32647
32650
  }
32648
32651
  return e.sent ? /* @__PURE__ */ b("p", {
32649
32652
  className: "nm-login__notice",
@@ -32651,11 +32654,11 @@ function HU(e) {
32651
32654
  children: $.forgotSent
32652
32655
  }) : /* @__PURE__ */ x("form", {
32653
32656
  className: "nm-login__form",
32654
- id: DU,
32657
+ id: AU,
32655
32658
  onSubmit: t,
32656
- children: [/* @__PURE__ */ b(IU, {
32657
- id: OU.username,
32658
- name: OU.username,
32659
+ children: [/* @__PURE__ */ b(zU, {
32660
+ id: jU.username,
32661
+ name: jU.username,
32659
32662
  label: $.identifier,
32660
32663
  type: "text",
32661
32664
  autoComplete: "username",
@@ -32675,8 +32678,8 @@ function HU(e) {
32675
32678
  });
32676
32679
  }
32677
32680
  // src/ui/components/nordman-login-google/nordman-login-google.tsx
32678
- function UU(e) {
32679
- return sV(), /* @__PURE__ */ b("div", {
32681
+ function KU(e) {
32682
+ return uV(), /* @__PURE__ */ b("div", {
32680
32683
  className: "nm-login__google-wrap",
32681
32684
  children: /* @__PURE__ */ b(kC, {
32682
32685
  label: e.pending ? $.googlePending : $.continueWithGoogle,
@@ -32691,17 +32694,17 @@ function UU(e) {
32691
32694
  });
32692
32695
  }
32693
32696
  // src/ui/components/nordman-login-reset/nordman-login-reset.tsx
32694
- var WU = W("interface-nordman-login-reset");
32695
- function GU(e) {
32697
+ var qU = W("interface-nordman-login-reset");
32698
+ function JU(e) {
32696
32699
  let [t, n] = p(!1);
32697
32700
  function r(t) {
32698
32701
  t.preventDefault();
32699
- let r = new FormData(t.currentTarget), i = String(r.get(OU.resetPassword) ?? "");
32700
- i === String(r.get(OU.confirmPassword) ?? "") ? (n(!1), WU.debug("submit", "start"), e.onResetPassword({ password: i })) : (WU.warn("submit", "mismatch"), n(!0));
32702
+ let r = new FormData(t.currentTarget), i = String(r.get(jU.resetPassword) ?? "");
32703
+ i === String(r.get(jU.confirmPassword) ?? "") ? (n(!1), qU.debug("submit", "start"), e.onResetPassword({ password: i })) : (qU.warn("submit", "mismatch"), n(!0));
32701
32704
  }
32702
32705
  return /* @__PURE__ */ x("form", {
32703
32706
  className: "nm-login__form",
32704
- id: DU,
32707
+ id: AU,
32705
32708
  onSubmit: r,
32706
32709
  children: [
32707
32710
  t ? /* @__PURE__ */ b("p", {
@@ -32709,18 +32712,18 @@ function GU(e) {
32709
32712
  role: "alert",
32710
32713
  children: $.mismatch
32711
32714
  }) : null,
32712
- /* @__PURE__ */ b(IU, {
32713
- id: OU.resetPassword,
32714
- name: OU.resetPassword,
32715
+ /* @__PURE__ */ b(zU, {
32716
+ id: jU.resetPassword,
32717
+ name: jU.resetPassword,
32715
32718
  label: $.password,
32716
32719
  type: "password",
32717
32720
  autoComplete: "new-password",
32718
32721
  placeholder: $.passwordPlaceholder,
32719
32722
  minLength: e.passwordMin
32720
32723
  }),
32721
- /* @__PURE__ */ b(IU, {
32722
- id: OU.confirmPassword,
32723
- name: OU.confirmPassword,
32724
+ /* @__PURE__ */ b(zU, {
32725
+ id: jU.confirmPassword,
32726
+ name: jU.confirmPassword,
32724
32727
  label: $.confirmPassword,
32725
32728
  type: "password",
32726
32729
  autoComplete: "new-password",
@@ -32742,12 +32745,12 @@ function GU(e) {
32742
32745
  });
32743
32746
  }
32744
32747
  // src/ui/components/nordman-login-hero/nordman-login-hero.tsx
32745
- var KU = {
32748
+ var YU = {
32746
32749
  square: "glow",
32747
32750
  triangle: "glow tri",
32748
32751
  circle: "glow circle"
32749
32752
  };
32750
- function qU(e) {
32753
+ function XU(e) {
32751
32754
  let t = f(null);
32752
32755
  return c(() => {
32753
32756
  let n = window.NordmanUI;
@@ -32759,51 +32762,51 @@ function qU(e) {
32759
32762
  }), () => r.abort();
32760
32763
  }, [e.shape]), /* @__PURE__ */ b("div", {
32761
32764
  ref: t,
32762
- className: KU[e.shape],
32765
+ className: YU[e.shape],
32763
32766
  "aria-hidden": "true",
32764
32767
  children: /* @__PURE__ */ b("i", {})
32765
32768
  });
32766
32769
  }
32767
32770
  // src/ui/components/nordman-login/nordman-login.tsx
32768
- function JU(e) {
32769
- return e.view === EU.register ? /* @__PURE__ */ b(RU, {
32771
+ function ZU(e) {
32772
+ return e.view === kU.register ? /* @__PURE__ */ b(VU, {
32770
32773
  pending: e.pending,
32771
32774
  passwordMin: e.passwordMin,
32772
32775
  onRegister: e.onRegister
32773
- }) : e.view === EU.forgot ? /* @__PURE__ */ b(HU, {
32776
+ }) : e.view === kU.forgot ? /* @__PURE__ */ b(GU, {
32774
32777
  pending: e.pending,
32775
32778
  sent: e.sent,
32776
32779
  onRequestReset: e.onRequestReset
32777
- }) : e.view === EU.reset ? /* @__PURE__ */ b(GU, {
32780
+ }) : e.view === kU.reset ? /* @__PURE__ */ b(JU, {
32778
32781
  pending: e.pending,
32779
32782
  passwordMin: e.passwordMin,
32780
32783
  onResetPassword: e.onResetPassword
32781
- }) : e.googleOnly ? /* @__PURE__ */ b(UU, {
32784
+ }) : e.googleOnly ? /* @__PURE__ */ b(KU, {
32782
32785
  pending: e.pending,
32783
32786
  onContinueWithGoogle: () => e.onContinueWithGoogle?.()
32784
- }) : /* @__PURE__ */ b(BU, {
32787
+ }) : /* @__PURE__ */ b(UU, {
32785
32788
  pending: e.pending,
32786
32789
  passwordMin: e.passwordMin,
32787
- onForgot: () => e.onView(EU.forgot),
32790
+ onForgot: () => e.onView(kU.forgot),
32788
32791
  onSignIn: e.onSignIn
32789
32792
  });
32790
32793
  }
32791
- function YU(e) {
32792
- let t = e.view === EU.register, n = e.view === EU.signIn;
32794
+ function QU(e) {
32795
+ let t = e.view === kU.register, n = e.view === kU.signIn;
32793
32796
  return c(() => {
32794
- document.documentElement.dataset.interface = AU;
32797
+ document.documentElement.dataset.interface = NU;
32795
32798
  }, []), /* @__PURE__ */ x("div", {
32796
32799
  className: e.googleOnly ? "nm-login nm-login--google-only" : "nm-login",
32797
32800
  "data-testid": "nordman-login",
32798
32801
  children: [
32799
32802
  /* @__PURE__ */ b("a", {
32800
32803
  className: "nm-login__skip",
32801
- href: `#${DU}`,
32804
+ href: `#${AU}`,
32802
32805
  children: $.skip
32803
32806
  }),
32804
32807
  /* @__PURE__ */ b("div", {
32805
32808
  className: "nm-login__visual",
32806
- children: /* @__PURE__ */ b(qU, { shape: e.shape })
32809
+ children: /* @__PURE__ */ b(XU, { shape: e.shape })
32807
32810
  }),
32808
32811
  /* @__PURE__ */ b("section", {
32809
32812
  className: "nm-login__panel",
@@ -32819,11 +32822,11 @@ function YU(e) {
32819
32822
  role: "alert",
32820
32823
  children: e.error
32821
32824
  }) : null,
32822
- e.notice && e.view !== EU.forgot ? /* @__PURE__ */ b("p", {
32825
+ e.notice && e.view !== kU.forgot ? /* @__PURE__ */ b("p", {
32823
32826
  className: "nm-login__notice",
32824
32827
  children: e.notice
32825
32828
  }) : null,
32826
- e.children ?? JU(e),
32829
+ e.children ?? ZU(e),
32827
32830
  e.after,
32828
32831
  e.children == null && e.hideSwitch !== !0 && !e.googleOnly ? /* @__PURE__ */ x("p", {
32829
32832
  className: "nm-login__switch",
@@ -32833,7 +32836,7 @@ function YU(e) {
32833
32836
  /* @__PURE__ */ b("button", {
32834
32837
  className: "nm-login__switch-action",
32835
32838
  type: "button",
32836
- onClick: () => e.onView(t || !n ? EU.signIn : EU.register),
32839
+ onClick: () => e.onView(t || !n ? kU.signIn : kU.register),
32837
32840
  children: n ? $.registerAction : $.signInAction
32838
32841
  })
32839
32842
  ]
@@ -32845,9 +32848,9 @@ function YU(e) {
32845
32848
  });
32846
32849
  }
32847
32850
  // src/ui/components/nordman-toggle/nordman-toggle.tsx
32848
- var XU = W("interface-nordman-toggle");
32849
- function ZU(e) {
32850
- return XU.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
32851
+ var $U = W("interface-nordman-toggle");
32852
+ function eW(e) {
32853
+ return $U.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
32851
32854
  className: "nm-toggle",
32852
32855
  "data-testid": e.testId,
32853
32856
  children: e.items.map((t) => /* @__PURE__ */ b("a", {
@@ -32860,12 +32863,12 @@ function ZU(e) {
32860
32863
  });
32861
32864
  }
32862
32865
  // src/ui/config/nm-app-panel.ts
32863
- var QU = {
32866
+ var tW = {
32864
32867
  code: "code",
32865
32868
  preview: "preview",
32866
32869
  environment: "environment",
32867
32870
  machine: "machine"
32868
- }, $U = {
32871
+ }, nW = {
32869
32872
  code: "/interface/app-panel/code.svg",
32870
32873
  play: "/interface/app-panel/play.svg",
32871
32874
  ellipsis: "/interface/app-panel/ellipsis.svg",
@@ -32874,7 +32877,7 @@ var QU = {
32874
32877
  network: "/interface/app-panel/network.svg",
32875
32878
  message: "/interface/app-panel/message.svg",
32876
32879
  copy: "/interface/app-panel/copy.svg"
32877
- }, eW = {
32880
+ }, rW = {
32878
32881
  root: "nm-app-panel",
32879
32882
  body: "nm-app-panel__body",
32880
32883
  canvas: "nm-app-panel__canvas",
@@ -32889,35 +32892,35 @@ var QU = {
32889
32892
  blocked: "nm-app-panel__blocked",
32890
32893
  blockedTitle: "nm-app-panel__blocked-title",
32891
32894
  blockedBody: "nm-app-panel__blocked-body"
32892
- }, tW = {
32895
+ }, iW = {
32893
32896
  root: "nm-logs-panel",
32894
32897
  body: "nm-logs-panel__body"
32895
- }, nW = ["left", "right"], rW = [
32898
+ }, aW = ["left", "right"], oW = [
32896
32899
  .22,
32897
32900
  1,
32898
32901
  .36,
32899
32902
  1
32900
- ], iW = .25;
32901
- function aW() {
32902
- return oW();
32903
+ ], sW = .25;
32904
+ function cW() {
32905
+ return lW();
32903
32906
  }
32904
- function oW() {
32905
- if (typeof document > "u") return iW;
32907
+ function lW() {
32908
+ if (typeof document > "u") return sW;
32906
32909
  let e = getComputedStyle(document.documentElement).getPropertyValue("--reveal").trim();
32907
- return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : iW;
32910
+ return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : sW;
32908
32911
  }
32909
- function sW(e) {
32912
+ function uW(e) {
32910
32913
  return e ? { duration: 0 } : {
32911
- duration: oW(),
32912
- ease: [...rW]
32914
+ duration: lW(),
32915
+ ease: [...oW]
32913
32916
  };
32914
32917
  }
32915
- function cW() {
32918
+ function dW() {
32916
32919
  let e = v();
32917
- return d(() => sW(e === !0), [e]);
32920
+ return d(() => uW(e === !0), [e]);
32918
32921
  }
32919
32922
  // src/ui/config/nm-header-icons.ts
32920
- var lW = [
32923
+ var fW = [
32921
32924
  "chat",
32922
32925
  "bot",
32923
32926
  "app",
@@ -32929,7 +32932,7 @@ var lW = [
32929
32932
  "play",
32930
32933
  "schedule",
32931
32934
  "search"
32932
- ], uW = {
32935
+ ], pW = {
32933
32936
  chat: "/interface/header/chat.svg",
32934
32937
  bot: "/interface/header/bot.svg",
32935
32938
  app: "/interface/header/app.svg",
@@ -32941,16 +32944,16 @@ var lW = [
32941
32944
  play: "/interface/header/play.svg",
32942
32945
  schedule: "/interface/header/schedule.svg",
32943
32946
  search: "/interface/header/search.svg"
32944
- }, dW = { root: "nm-icon-border" }, fW = /* @__PURE__ */ "activity.app-window.archive-restore.arrow-down.arrow-left-right.arrow-right-left.arrow-up-down.arrow-up-left.ban.beaker.bitcoin.bone.book-copy.bookmark.bookmark-plus.calendar-days.chart-column.chart-column-increasing.chart-line.check-check.chevron-left.chevron-right.chevron-up.chevrons-up-down.circle.circle-alert.circle-check-big.circle-dashed.circle-dot.circle-plus.circle-question-mark.circle-x.clock-3.clock-4.cloud-sun.code-xml.copy-check.corner-down-right.database.dices.earth.external-link.eye.eye-off.fast-forward.feather.file-clock.file-code.file-image.file-json.file-pen-line.file-plus-2.file-question-mark.file-search.file-spreadsheet.file-type-2.file-up.file-x-2.files.film.folder-kanban.funnel-x.git-branch-plus.git-commit-horizontal.git-fork.graduation-cap.grip-vertical.history.image-off.image-up.info.key-round.keyboard.laptop.layers.layout-dashboard.library.life-buoy.lightbulb.link.link-2-off.list.list-tree.map-pin.message-circle-question-mark.message-square.message-square-plus.message-square-text.messages-square.minimize-2.mouse-pointer-click.newspaper.notebook-pen.octagon-pause.paperclip.pen-line.pen-tool.pin-off.plane-takeoff.plug-zap.qr-code.radio.refresh-cw.rocket.rotate-cw.scale.scan-search.scroll-text.send.share-2.shield.shield-check.shield-ellipsis.shopping-bag.sliders-horizontal.sparkles.square-pen.square-slash.square-terminal.star.table-2.text-quote.trash.trending-up.triangle-alert.trophy.type.user.user-check.users.utensils-crossed.variable.video.wand-sparkles.zap.zap-off.zoom-in.zoom-out".split("."), pW = "--nm-radius-scale", mW = {
32947
+ }, mW = { root: "nm-icon-border" }, hW = /* @__PURE__ */ "activity.app-window.archive-restore.arrow-down.arrow-left-right.arrow-right-left.arrow-up-down.arrow-up-left.ban.beaker.bitcoin.bone.book-copy.bookmark.bookmark-plus.calendar-days.chart-column.chart-column-increasing.chart-line.check-check.chevron-left.chevron-right.chevron-up.chevrons-up-down.circle.circle-alert.circle-check-big.circle-dashed.circle-dot.circle-plus.circle-question-mark.circle-x.clock-3.clock-4.cloud-sun.code-xml.copy-check.corner-down-right.database.dices.earth.external-link.eye.eye-off.fast-forward.feather.file-clock.file-code.file-image.file-json.file-pen-line.file-plus-2.file-question-mark.file-search.file-spreadsheet.file-type-2.file-up.file-x-2.files.film.folder-kanban.funnel-x.git-branch-plus.git-commit-horizontal.git-fork.graduation-cap.grip-vertical.history.image-off.image-up.info.key-round.keyboard.laptop.layers.layout-dashboard.library.life-buoy.lightbulb.link.link-2-off.list.list-tree.map-pin.message-circle-question-mark.message-square.message-square-plus.message-square-text.messages-square.minimize-2.mouse-pointer-click.newspaper.notebook-pen.octagon-pause.paperclip.pen-line.pen-tool.pin-off.plane-takeoff.plug-zap.qr-code.radio.refresh-cw.rocket.rotate-cw.scale.scan-search.scroll-text.send.share-2.shield.shield-check.shield-ellipsis.shopping-bag.sliders-horizontal.sparkles.square-pen.square-slash.square-terminal.star.table-2.text-quote.trash.trending-up.triangle-alert.trophy.type.user.user-check.users.utensils-crossed.variable.video.wand-sparkles.zap.zap-off.zoom-in.zoom-out".split("."), gW = "--nm-radius-scale", _W = {
32945
32948
  sm: 4,
32946
32949
  md: 8,
32947
32950
  lg: 12
32948
- }, hW = {
32951
+ }, vW = {
32949
32952
  row: "--nm-space-4",
32950
32953
  menu: "--nm-space-8",
32951
32954
  field: "--nm-space-12",
32952
32955
  composer: "--nm-space-24"
32953
- }, gW = {
32956
+ }, yW = {
32954
32957
  sm: "--nm-radius-sm",
32955
32958
  md: "--nm-radius-md",
32956
32959
  lg: "--nm-radius-lg",
@@ -32959,17 +32962,17 @@ var lW = [
32959
32962
  field: "--nm-field-radius",
32960
32963
  menu: "--nm-menu-radius",
32961
32964
  row: "--nm-row-radius"
32962
- }, _W = {
32965
+ }, bW = {
32963
32966
  control: "calc(var(--nm-icon-control) / 2 * var(--nm-radius-scale))",
32964
32967
  composer: "var(--nm-radius-lg)",
32965
32968
  field: "var(--nm-control-r)",
32966
32969
  menu: "var(--nm-radius-lg)",
32967
32970
  row: "var(--nm-control-r)"
32968
- }, vW = {
32971
+ }, xW = {
32969
32972
  sm: "calc(4px * var(--nm-radius-scale))",
32970
32973
  md: "calc(8px * var(--nm-radius-scale))",
32971
32974
  lg: "calc(12px * var(--nm-radius-scale))"
32972
- }, yW = {
32975
+ }, SW = {
32973
32976
  pad: "--nm-menu-pad",
32974
32977
  menuRadius: "--nm-control-menu-radius",
32975
32978
  optionRadius: "--nm-control-option-radius",
@@ -32979,7 +32982,7 @@ var lW = [
32979
32982
  panelItemRadius: "--nm-panel-item-radius",
32980
32983
  rowInline: "--nm-row-inline",
32981
32984
  rowInlineEnd: "--nm-row-inline-end"
32982
- }, bW = [
32985
+ }, CW = [
32983
32986
  "plus",
32984
32987
  "folder",
32985
32988
  "chats",
@@ -32990,7 +32993,7 @@ var lW = [
32990
32993
  "settings",
32991
32994
  "search",
32992
32995
  "plusSm"
32993
- ], xW = {
32996
+ ], wW = {
32994
32997
  plus: "/interface/rail/plus.svg",
32995
32998
  folder: "/interface/rail/folder.svg",
32996
32999
  chats: "/interface/rail/chats.svg",
@@ -33001,131 +33004,136 @@ var lW = [
33001
33004
  settings: "/interface/rail/settings.svg",
33002
33005
  search: "/interface/rail/search.svg",
33003
33006
  plusSm: "/interface/rail/plus-sm.svg"
33004
- }, SW = 750, CW = 7e3, wW = 500;
33007
+ }, TW = 750, EW = 7e3, DW = 500;
33005
33008
  // src/ui/lib/appearance/appearanceState.ts
33006
- function TW(e) {
33009
+ function OW(e) {
33007
33010
  return typeof e == "string" && Pz.includes(e);
33008
33011
  }
33009
- function EW(e) {
33010
- return typeof e == "string" && Hz.includes(e);
33012
+ function kW(e) {
33013
+ return typeof e == "string" && Vz.includes(e);
33014
+ }
33015
+ function AW(e) {
33016
+ return typeof e == "string" && Gz.includes(e);
33011
33017
  }
33012
- function DW(e, t, n, r) {
33018
+ function jW(e, t, n, r) {
33013
33019
  let i = typeof e == "number" ? e : Number(e);
33014
33020
  return Number.isFinite(i) ? Math.min(n, Math.max(t, Math.round(i))) : r;
33015
33021
  }
33016
- function OW() {
33022
+ function MW() {
33017
33023
  return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
33018
33024
  }
33019
- function kW(e, t = OW()) {
33025
+ function NW(e, t = MW()) {
33020
33026
  return e === "light" ? "light" : e === "dark" || t ? "dark" : "light";
33021
33027
  }
33022
- function AW() {
33023
- return RW({
33024
- mode: Gz.mode,
33025
- themePresetId: Gz.themePresetId,
33026
- accentPreset: Gz.accentPreset,
33027
- customAccentHex: Gz.customAccentHex,
33028
- backgroundHex: Gz.backgroundHex,
33029
- foregroundHex: Gz.foregroundHex,
33030
- uiFontSizePx: Gz.uiFontSizePx,
33031
- uiFontWeight: Gz.uiFontWeight,
33032
- uiIconSizePx: Gz.uiIconSizePx,
33033
- uiRadiusPercent: Gz.uiRadiusPercent,
33034
- uiSpacePercent: Gz.uiSpacePercent,
33035
- contrast: Vz.default
33036
- });
33037
- }
33038
- function jW(e, t) {
33039
- let n = qz(e) ?? qz(Gz.themePresetId), r = t === "dark" ? n.dark : n.light;
33028
+ function PW() {
33029
+ return HW({
33030
+ mode: Jz.mode,
33031
+ themePresetId: Jz.themePresetId,
33032
+ accentPreset: Jz.accentPreset,
33033
+ customAccentHex: Jz.customAccentHex,
33034
+ backgroundHex: Jz.backgroundHex,
33035
+ foregroundHex: Jz.foregroundHex,
33036
+ uiFontSizePx: Jz.uiFontSizePx,
33037
+ uiFontWeight: Jz.uiFontWeight,
33038
+ uiIconSizePx: Jz.uiIconSizePx,
33039
+ uiRadiusPercent: Jz.uiRadiusPercent,
33040
+ uiSpacePercent: Jz.uiSpacePercent,
33041
+ contrast: Wz.default,
33042
+ borders: Jz.borders
33043
+ });
33044
+ }
33045
+ function FW(e, t) {
33046
+ let n = Xz(e) ?? Xz(Jz.themePresetId), r = t === "dark" ? n.dark : n.light;
33040
33047
  return {
33041
33048
  backgroundHex: r.canvas,
33042
33049
  foregroundHex: r.foreground
33043
33050
  };
33044
33051
  }
33045
- var MW = {
33052
+ var IW = {
33046
33053
  "#000000/#ffffff": "dark",
33047
33054
  "#fcfaf6/#0a0a0a": "light"
33048
33055
  };
33049
- function NW(e, t, n) {
33050
- let r = MW[`${t}/${n}`.toLowerCase()];
33051
- return e !== Gz.themePresetId || r == null ? {
33056
+ function LW(e, t, n) {
33057
+ let r = IW[`${t}/${n}`.toLowerCase()];
33058
+ return e !== Jz.themePresetId || r == null ? {
33052
33059
  backgroundHex: t,
33053
33060
  foregroundHex: n
33054
- } : jW(e, r);
33061
+ } : FW(e, r);
33055
33062
  }
33056
- function PW(e) {
33057
- let t = AW();
33063
+ function RW(e) {
33064
+ let t = PW();
33058
33065
  if (!e || typeof e != "object") return t;
33059
- let n = e, r = typeof n.themePresetId == "string" && qz(n.themePresetId) ? n.themePresetId : t.themePresetId, i = NW(r, bz(typeof n.backgroundHex == "string" ? n.backgroundHex : t.backgroundHex, t.backgroundHex), bz(typeof n.foregroundHex == "string" ? n.foregroundHex : t.foregroundHex, t.foregroundHex));
33066
+ let n = e, r = typeof n.themePresetId == "string" && Xz(n.themePresetId) ? n.themePresetId : t.themePresetId, i = LW(r, bz(typeof n.backgroundHex == "string" ? n.backgroundHex : t.backgroundHex, t.backgroundHex), bz(typeof n.foregroundHex == "string" ? n.foregroundHex : t.foregroundHex, t.foregroundHex));
33060
33067
  return {
33061
- mode: TW(n.mode) ? n.mode : t.mode,
33068
+ mode: OW(n.mode) ? n.mode : t.mode,
33062
33069
  themePresetId: r,
33063
- accentPreset: EW(n.accentPreset) ? n.accentPreset : t.accentPreset,
33070
+ accentPreset: AW(n.accentPreset) ? n.accentPreset : t.accentPreset,
33064
33071
  customAccentHex: bz(typeof n.customAccentHex == "string" ? n.customAccentHex : t.customAccentHex, t.customAccentHex),
33065
33072
  ...i,
33066
- uiFontSizePx: DW(n.uiFontSizePx, Fz.min, Fz.max, t.uiFontSizePx),
33067
- uiFontWeight: Math.round(DW(n.uiFontWeight, Lz.min, Lz.max, t.uiFontWeight) / 100) * 100,
33068
- uiIconSizePx: DW(n.uiIconSizePx, Rz.min, Rz.max, t.uiIconSizePx),
33069
- uiRadiusPercent: DW(n.uiRadiusPercent, zz.min, zz.max, t.uiRadiusPercent),
33070
- uiSpacePercent: DW(n.uiSpacePercent, Bz.min, Bz.max, t.uiSpacePercent),
33071
- contrast: DW(n.contrast, Vz.min, Vz.max, t.contrast)
33073
+ uiFontSizePx: jW(n.uiFontSizePx, Fz.min, Fz.max, t.uiFontSizePx),
33074
+ uiFontWeight: Math.round(jW(n.uiFontWeight, Lz.min, Lz.max, t.uiFontWeight) / 100) * 100,
33075
+ uiIconSizePx: jW(n.uiIconSizePx, Rz.min, Rz.max, t.uiIconSizePx),
33076
+ uiRadiusPercent: jW(n.uiRadiusPercent, zz.min, zz.max, t.uiRadiusPercent),
33077
+ uiSpacePercent: jW(n.uiSpacePercent, Bz.min, Bz.max, t.uiSpacePercent),
33078
+ contrast: jW(n.contrast, Wz.min, Wz.max, t.contrast),
33079
+ borders: kW(n.borders) ? n.borders : t.borders
33072
33080
  };
33073
33081
  }
33074
- function FW() {
33082
+ function zW() {
33075
33083
  if (typeof window > "u") return null;
33076
33084
  try {
33077
33085
  let e = window.localStorage.getItem(Mz);
33078
- return e ? PW(JSON.parse(e)) : null;
33086
+ return e ? RW(JSON.parse(e)) : null;
33079
33087
  } catch {
33080
33088
  return null;
33081
33089
  }
33082
33090
  }
33083
- function IW(e) {
33091
+ function BW(e) {
33084
33092
  typeof window < "u" && window.localStorage.setItem(Mz, JSON.stringify(e));
33085
33093
  }
33086
- function LW(e, t) {
33094
+ function VW(e, t) {
33087
33095
  if (e.themePresetId === "custom") return e;
33088
- let { backgroundHex: n, foregroundHex: r } = jW(e.themePresetId, t), i = qz(e.themePresetId), a = {
33096
+ let { backgroundHex: n, foregroundHex: r } = FW(e.themePresetId, t), i = Xz(e.themePresetId), a = {
33089
33097
  ...e,
33090
33098
  backgroundHex: bz(n, e.backgroundHex),
33091
33099
  foregroundHex: bz(r, e.foregroundHex)
33092
33100
  };
33093
33101
  return a.accentPreset === "default" && i && (a.customAccentHex = bz(i.swatch, a.customAccentHex)), a;
33094
33102
  }
33095
- function RW(e, t = OW()) {
33096
- return LW(e, kW(e.mode, t));
33103
+ function HW(e, t = MW()) {
33104
+ return VW(e, NW(e.mode, t));
33097
33105
  }
33098
33106
  // src/ui/lib/appearance/markTokens.ts
33099
- var zW = 4.6, BW = .09, VW = 120, HW = {
33107
+ var UW = 4.6, WW = .09, GW = 120, KW = {
33100
33108
  min: .4,
33101
33109
  max: .7
33102
- }, UW = .02;
33103
- function WW(e, t, n, r) {
33110
+ }, qW = .02;
33111
+ function JW(e, t, n, r) {
33104
33112
  let i = n[0] ?? "#000000", a = Tz(i, "#FFFFFF") > Tz(i, "#000000"), o = a ? 1 : -1;
33105
- for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * UW) {
33113
+ for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * qW) {
33106
33114
  let i = Dz(e, t, r);
33107
- if (n.every((e) => Tz(i, e) >= zW)) return i;
33115
+ if (n.every((e) => Tz(i, e) >= UW)) return i;
33108
33116
  }
33109
33117
  return r;
33110
33118
  }
33111
- function GW(e, t, n) {
33112
- let r = Cz(t, n, BW), { hue: i, saturation: a } = Ez(e), o = Math.min(HW.max, Math.max(HW.min, a)), s = (e) => WW((i + e) % 360, o, [t, r], n);
33119
+ function YW(e, t, n) {
33120
+ let r = Cz(t, n, WW), { hue: i, saturation: a } = Ez(e), o = Math.min(KW.max, Math.max(KW.min, a)), s = (e) => JW((i + e) % 360, o, [t, r], n);
33113
33121
  return {
33114
33122
  "--nm-mark-primary": s(0),
33115
- "--nm-mark-secondary": s(VW),
33123
+ "--nm-mark-secondary": s(GW),
33116
33124
  "--nm-mark-tertiary": s(240),
33117
33125
  "--nm-mark-surface": r
33118
33126
  };
33119
33127
  }
33120
33128
  // src/ui/lib/appearance/deriveTokens.ts
33121
- function KW(e) {
33122
- return e.accentPreset === "custom" || e.accentPreset === "default" && e.themePresetId === "custom" ? bz(e.customAccentHex, "#D2BB9C") : e.accentPreset === "default" ? qz(e.themePresetId)?.swatch ?? Uz[0].swatch : Wz[e.accentPreset];
33129
+ function XW(e) {
33130
+ return e.accentPreset === "custom" || e.accentPreset === "default" && e.themePresetId === "custom" ? bz(e.customAccentHex, "#D2BB9C") : e.accentPreset === "default" ? Xz(e.themePresetId)?.swatch ?? Kz[0].swatch : qz[e.accentPreset];
33123
33131
  }
33124
- function qW(e, t) {
33125
- let n = e / Vz.max, r = t === "dark" ? .06 : .05;
33132
+ function ZW(e, t) {
33133
+ let n = e / Wz.max, r = t === "dark" ? .06 : .05;
33126
33134
  return r + n * ((t === "dark" ? .42 : .38) - r);
33127
33135
  }
33128
- function JW(e) {
33136
+ function QW(e) {
33129
33137
  let t = `${e}px`;
33130
33138
  return {
33131
33139
  "--nm-icon-button": t,
@@ -33133,18 +33141,18 @@ function JW(e) {
33133
33141
  "--nm-rail-icon": t
33134
33142
  };
33135
33143
  }
33136
- function YW(e, t) {
33144
+ function $W(e, t) {
33137
33145
  let n = t + 16;
33138
33146
  return { "--nm-ui-chip-min-height": `${Math.max(n, e + 16)}px` };
33139
33147
  }
33140
- function XW(e) {
33148
+ function eG(e) {
33141
33149
  let t = e / zz.default;
33142
- return { [pW]: String(t) };
33150
+ return { [gW]: String(t) };
33143
33151
  }
33144
- function ZW(e) {
33152
+ function tG(e) {
33145
33153
  return { "--nm-space-scale": String(e / Bz.default) };
33146
33154
  }
33147
- function QW(e) {
33155
+ function nG(e) {
33148
33156
  let t = (t) => String(Math.min(Lz.max, Math.max(Lz.min, e + t)));
33149
33157
  return {
33150
33158
  "--nm-weight-light": t(-100),
@@ -33154,7 +33162,7 @@ function QW(e) {
33154
33162
  "--nm-weight-bold": t(300)
33155
33163
  };
33156
33164
  }
33157
- function $W(e) {
33165
+ function rG(e) {
33158
33166
  let t = e / Fz.default, n = `${e}px`, r = `${Math.max(Fz.min, e - 2)}px`;
33159
33167
  return {
33160
33168
  "--nm-type-body": n,
@@ -33170,7 +33178,7 @@ function $W(e) {
33170
33178
  "--font-size-sm": r
33171
33179
  };
33172
33180
  }
33173
- function eG(e, t) {
33181
+ function iG(e, t) {
33174
33182
  let n = xz(t);
33175
33183
  return {
33176
33184
  "--text-primary": e["--nm-fg-rgb"],
@@ -33198,12 +33206,12 @@ function eG(e, t) {
33198
33206
  "--nordman-accent": n
33199
33207
  };
33200
33208
  }
33201
- function tG(e, t, n, r) {
33209
+ function aG(e, t, n, r) {
33202
33210
  let i = jz[t];
33203
- return e.themePresetId === Uz[0].id && e.contrast === Vz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
33211
+ return e.themePresetId === Kz[0].id && e.contrast === Wz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
33204
33212
  }
33205
- function nG(e, t) {
33206
- let n = bz(e.backgroundHex, "#000000"), r = bz(e.foregroundHex, "#ffffff"), i = KW(e), a = qW(e.contrast, t), o = tG(e, t, n, r) ? jz[t] : null, s = o?.panel ?? Cz(n, r, a), c = o?.raised ?? Cz(n, r, a * .72), l = o?.inset ?? Cz(n, r, a * .85), u = o?.line ?? Cz(n, r, Math.min(.55, a + .12)), d = o?.lineStrong ?? Cz(n, r, Math.min(.6, a + .17)), f = o?.stroke ?? Cz(n, r, Math.min(.65, a + .22)), p = o?.muted ?? Cz(r, n, .22), m = o?.subtle ?? Cz(r, n, .38), h = {
33213
+ function oG(e, t) {
33214
+ let n = bz(e.backgroundHex, "#000000"), r = bz(e.foregroundHex, "#ffffff"), i = XW(e), a = ZW(e.contrast, t), o = aG(e, t, n, r) ? jz[t] : null, s = o?.panel ?? Cz(n, r, a), c = o?.raised ?? Cz(n, r, a * .72), l = o?.inset ?? Cz(n, r, a * .85), u = o?.line ?? Cz(n, r, Math.min(.55, a + .12)), d = o?.lineStrong ?? Cz(n, r, Math.min(.6, a + .17)), f = o?.stroke ?? Cz(n, r, Math.min(.65, a + .22)), p = o?.muted ?? Cz(r, n, .22), m = o?.subtle ?? Cz(r, n, .38), h = {
33207
33215
  "--nm-canvas": n,
33208
33216
  "--nm-fg": r,
33209
33217
  "--nm-fg-muted": p,
@@ -33211,7 +33219,7 @@ function nG(e, t) {
33211
33219
  "--nm-stroke": f,
33212
33220
  "--nm-line": u,
33213
33221
  "--nm-line-strong": d,
33214
- "--nm-divider": Cz(n, r, e.contrast / Vz.max * .5),
33222
+ "--nm-divider": Cz(n, r, e.contrast / Wz.max * .5),
33215
33223
  "--nm-panel": s,
33216
33224
  "--nm-raised": c,
33217
33225
  "--nm-inset": l,
@@ -33228,44 +33236,45 @@ function nG(e, t) {
33228
33236
  "--nm-accent": i,
33229
33237
  "--nm-accent-rgb": xz(i),
33230
33238
  ...Az(i, n, r),
33231
- ...GW(i, n, r),
33232
- ...$W(e.uiFontSizePx),
33233
- ...QW(e.uiFontWeight),
33234
- ...JW(e.uiIconSizePx),
33235
- ...YW(e.uiFontSizePx, e.uiIconSizePx),
33236
- ...XW(e.uiRadiusPercent),
33237
- ...ZW(e.uiSpacePercent)
33239
+ ...YW(i, n, r),
33240
+ ...rG(e.uiFontSizePx),
33241
+ ...nG(e.uiFontWeight),
33242
+ ...QW(e.uiIconSizePx),
33243
+ ...$W(e.uiFontSizePx, e.uiIconSizePx),
33244
+ ...eG(e.uiRadiusPercent),
33245
+ ...tG(e.uiSpacePercent),
33246
+ "--nm-border-strength": Hz[e.borders]
33238
33247
  };
33239
33248
  return {
33240
33249
  ...h,
33241
- ...eG(h, i)
33250
+ ...iG(h, i)
33242
33251
  };
33243
33252
  }
33244
- function rG(e) {
33253
+ function sG(e) {
33245
33254
  return e;
33246
33255
  }
33247
33256
  // src/ui/lib/appearance/applyAppearance.ts
33248
- var iG = W("interface-appearance-apply");
33249
- function aG() {
33257
+ var cG = W("interface-appearance-apply");
33258
+ function lG() {
33250
33259
  return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
33251
33260
  }
33252
- function oG(e = document.documentElement) {
33253
- Kz.forEach((t) => {
33261
+ function uG(e = document.documentElement) {
33262
+ Yz.forEach((t) => {
33254
33263
  e.style.removeProperty(t);
33255
- });
33264
+ }), e.removeAttribute(Uz);
33256
33265
  }
33257
- function sG(e, t = document.documentElement) {
33258
- let n = kW(e.mode, aG()), r = nG(e, n);
33259
- return iG.debug("apply", "appearance", {
33266
+ function dG(e, t = document.documentElement) {
33267
+ let n = NW(e.mode, lG()), r = oG(e, n);
33268
+ return cG.debug("apply", "appearance", {
33260
33269
  mode: e.mode,
33261
33270
  scheme: n,
33262
33271
  theme: e.themePresetId
33263
33272
  }), Object.entries(r).forEach(([e, n]) => {
33264
33273
  t.style.setProperty(e, n);
33265
- }), typeof window < "u" && window.dispatchEvent(new CustomEvent(Nz)), { scheme: n };
33274
+ }), t.setAttribute(Uz, e.borders), typeof window < "u" && window.dispatchEvent(new CustomEvent(Nz)), { scheme: n };
33266
33275
  }
33267
33276
  // src/ui/lib/appearance/readLayoutMetrics.ts
33268
- function cG(e, t, n) {
33277
+ function fG(e, t, n) {
33269
33278
  let r = getComputedStyle(e).getPropertyValue(t).trim();
33270
33279
  if (!r) return n;
33271
33280
  if (r.endsWith("px")) {
@@ -33278,7 +33287,7 @@ function cG(e, t, n) {
33278
33287
  }
33279
33288
  return n;
33280
33289
  }
33281
- function lG(e = document.documentElement) {
33282
- return cG(e, "--nm-icon-control", 34) + cG(e, "--nm-space-2", 2);
33290
+ function pG(e = document.documentElement) {
33291
+ return fG(e, "--nm-icon-control", 34) + fG(e, "--nm-space-2", 2);
33283
33292
  }
33284
- export { Wz as NM_ACCENT_HEX, Hz as NM_ACCENT_PRESETS, cw as NM_AI_BADGE_TONES, K as NM_AI_CLASSES, aw as NM_AI_STATUS, Nz as NM_APPEARANCE_APPLIED_EVENT, Vz as NM_APPEARANCE_CONTRAST, Kz as NM_APPEARANCE_CSS_VARS, Gz as NM_APPEARANCE_DEFAULTS, Pz as NM_APPEARANCE_MODES, Mz as NM_APPEARANCE_STORAGE_KEY, eW as NM_APP_PANEL_CLASSES, $U as NM_APP_PANEL_ICON_SRC, QU as NM_APP_PANEL_TABS, zE as NM_AVATAR_SIZES, KE as NM_BAR_OVERFLOW_CLASSES, qE as NM_BAR_OVERFLOW_TEST_IDS, EC as NM_BUTTON_CLASSES, TC as NM_BUTTON_SIZES, wC as NM_BUTTON_TONES, vj as NM_CARD_SIZES, _j as NM_CARD_VARIANTS, MC as NM_CHATBOX_ACTION_CLASS, Pj as NM_CHATBOX_CLASSES, Aj as NM_CHATBOX_COMPOSER_ACTION_ICONS, jj as NM_CHATBOX_DURING_RUN_MENU_ICONS, Dj as NM_CHATBOX_ICON_IDS, kj as NM_CHATBOX_ICON_SRC, Oj as NM_CHATBOX_INTEGRATION_ICON_PATH, Mj as NM_CHATBOX_LUCIDE_MAP, Fj as NM_CHATBOX_MENU_MODE, SC as NM_CHIP_SIZES, xC as NM_CHIP_TONES, GC as NM_CODE_BLOCK_SIZES, WC as NM_CODE_BLOCK_VARIANTS, ew as NM_CODE_LANGUAGES, qj as NM_COLLECTION_ACTIONS, Kj as NM_COLLECTION_CLASSES, Hj as NM_COLLECTION_FILES_REFRESH_MS, Gj as NM_COLLECTION_ICON_SRC, Jj as NM_COLLECTION_MEDIA_KINDS, Uj as NM_COLLECTION_SCROLL_IDLE_MS, Wj as NM_COLLECTION_VIEWS, Q as NM_COMPOSER_CLASSES, pz as NM_COMPOSER_COPY, mz as NM_COMPOSER_INLINE_MARK, yW as NM_CONTROL_MENU_CSS_VARS, nW as NM_DRAWER_SIDES, dw as NM_DROPDOWN_ALIGN, q as NM_DROPDOWN_CLASSES, pw as NM_DROPDOWN_GAP_PX, fw as NM_DROPDOWN_REVEAL, mw as NM_DROPDOWN_SCROLL_IDLE_MS, uw as NM_DROPDOWN_TONE, lw as NM_DROPDOWN_TRIGGER, fW as NM_EXTENDED_ICON_IDS, mM as NM_FIELD_CLASSES, fM as NM_FIELD_KINDS, pM as NM_FIELD_LAYOUT, Iz as NM_FONT_WEIGHTS, lW as NM_HEADER_ICON_IDS, uW as NM_HEADER_ICON_SRC, og as NM_ICONS, dW as NM_ICON_BORDER_CLASSES, jC as NM_ICON_BUTTON_CLASSES, AC as NM_ICON_BUTTON_TONES, ag as NM_ICON_IDS, GB as NM_LIST_ITEM_CLASSES, tW as NM_LOGS_PANEL_CLASSES, cC as NM_LUCIDE_EXTENDED, lC as NM_LUCIDE_FILLED_IDS, J as NM_MESSAGE_CLASSES, DT as NM_MESSAGE_ICON_GLYPH, ET as NM_MESSAGE_ICON_IDS, OT as NM_MESSAGE_ICON_SRC, eV as NM_MODAL_ACTION, nV as NM_MODAL_CLASSES, $B as NM_MODAL_FOOTER, tV as NM_MODAL_SCROLL_IDLE_MS, QB as NM_MODAL_SIZE, ZB as NM_MODAL_TITLE, KV as NM_PANEL_BAR_CLASSES, GV as NM_PANEL_BAR_LAYOUT, MV as NM_PANEL_MEASURES, jV as NM_PANEL_VARIANTS, QV as NM_QUESTIONNAIRE_CLASSES, ZV as NM_QUESTIONNAIRE_COPY, YV as NM_QUESTIONNAIRE_SHORTCUTS, XV as NM_QUESTIONNAIRE_VARIANTS, gW as NM_RADIUS_CSS_VARS, _W as NM_RADIUS_FORMULAS, vW as NM_RADIUS_PRIMITIVE_FORMULAS, mW as NM_RADIUS_PRIMITIVE_PX, pW as NM_RADIUS_SCALE_VAR, hW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, CW as NM_RAIL_FACE_HOLD_MS, bW as NM_RAIL_ICON_IDS, xW as NM_RAIL_ICON_SRC, SW as NM_RAIL_SCROLL_IDLE_MS, wW as NM_RAIL_SEARCH_DEBOUNCE_MS, VV as NM_SEGMENTED_CLASSES, BV as NM_SEGMENTED_TONES, fH as NM_SIDEBAR_BUTTON_SIZES, pH as NM_SIDEBAR_BUTTON_VARIANTS, uH as NM_SIDEBAR_COLLAPSIBLE, gH as NM_SIDEBAR_MOBILE_QUERY, hH as NM_SIDEBAR_PEEK_LEAVE_MS, mH as NM_SIDEBAR_SHORTCUT, cH as NM_SIDEBAR_SIDES, dH as NM_SIDEBAR_STATES, lH as NM_SIDEBAR_VARIANTS, SN as NM_SIDE_PANEL_KINDS, CN as NM_SIDE_PANEL_SIZES, jz as NM_SITE_PALETTE, nM as NM_SMALL_ICON_BUTTON_CLASSES, tM as NM_SMALL_ICON_BUTTON_TONES, iU as NM_TABLE_SIZES, rU as NM_TABLE_VARIANTS, pU as NM_TABS_CLASSES, Uz as NM_THEME_PRESETS, xU as NM_TOGGLE_SIZES, bU as NM_TOGGLE_VARIANTS, sw as NM_TOOL_STATES, CU as NM_TOP_BAR_CLASSES, AT as NM_TRACE_GLYPH_PATHS, kT as NM_TRACE_STATUSES, Fz as NM_UI_FONT_SIZE_PX, Lz as NM_UI_FONT_WEIGHT, Rz as NM_UI_ICON_SIZE_PX, zz as NM_UI_RADIUS_PERCENT, Bz as NM_UI_SPACE_PERCENT, IC as NORDMAN_CHROME_ICONS, FC as NORDMAN_CHROME_ICON_IDS, RC as NORDMAN_ICON_BUTTON_VARIANTS, OU as NORDMAN_LOGIN_FIELDS, DU as NORDMAN_LOGIN_FORM_ID, AU as NORDMAN_LOGIN_INTERFACE, kU as NORDMAN_LOGIN_REVEAL, EU as NORDMAN_LOGIN_VIEWS, EE as NmAlert, kE as NmAlertAction, OE as NmAlertDescription, AE as NmAlertDialog, LE as NmAlertDialogAction, RE as NmAlertDialogCancel, ME as NmAlertDialogContent, IE as NmAlertDialogDescription, PE as NmAlertDialogFooter, NE as NmAlertDialogHeader, FE as NmAlertDialogTitle, jE as NmAlertDialogTrigger, DE as NmAlertTitle, BE as NmAvatar, UE as NmAvatarBadge, HE as NmAvatarFallback, WE as NmAvatarGroup, GE as NmAvatarGroupCount, VE as NmAvatarImage, $T as NmBadge, $E as NmBarOverflow, eD as NmBrandLogo, tD as NmBreadcrumb, sD as NmBreadcrumbEllipsis, rD as NmBreadcrumbItem, iD as NmBreadcrumbLink, nD as NmBreadcrumbList, aD as NmBreadcrumbPage, oD as NmBreadcrumbSeparator, ZT as NmBubble, kC as NmButton, lD as NmButtonGroup, uD as NmButtonGroupSeparator, dD as NmButtonGroupText, gj as NmCalendar, yj as NmCard, Cj as NmCardAction, wj as NmCardContent, Sj as NmCardDescription, Tj as NmCardFooter, bj as NmCardHeader, Ej as NmCardMedia, xj as NmCardTitle, iE as NmChainOfThought, TE as NmChat, Lj as NmChatbox, Nj as NmChatboxIcon, Rj as NmCheckbox, aE as NmCheckpoint, CC as NmChip, qC as NmCodeBlock, XC as NmCodeBlockActions, rw as NmCodeBlockContent, ZC as NmCodeBlockCopyButton, iw as NmCodeBlockFooter, JC as NmCodeBlockHeader, QC as NmCodeBlockLine, YC as NmCodeBlockTitle, zj as NmCollapsible, Vj as NmCollapsibleContent, Bj as NmCollapsibleTrigger, eM as NmCollectionBar, dM as NmCollectionGrid, XN as NmCollectionQuery, $N as NmCollectionRowMenu, tP as NmCollectionTable, cM as NmCollectionTileActions, Zj as NmCollectionTitle, bN as NmColorPicker, vN as NmColorSwatch, hM as NmCombobox, _M as NmComboboxContent, bM as NmComboboxEmpty, xM as NmComboboxGroup, gM as NmComboboxInput, yM as NmComboboxItem, SM as NmComboboxLabel, vM as NmComboboxList, CM as NmComboboxSeparator, $R as NmCommand, dz as NmCommandDescription, ez as NmCommandDialog, iz as NmCommandEmpty, nz as NmCommandFilters, oz as NmCommandGroup, fz as NmCommandIcon, tz as NmCommandInput, cz as NmCommandItem, lz as NmCommandItemActions, rz as NmCommandList, az as NmCommandLoading, sz as NmCommandSeparator, uz as NmCommandShortcut, aB as NmComposer, oE as NmConfirmation, cE as NmContext, oB as NmContextMenu, cB as NmContextMenuContent, sB as NmContextMenuTrigger, fB as NmDatePicker, pB as NmDateRangePicker, _B as NmDateTimePicker, WR as NmDialog, YR as NmDialogBody, KR as NmDialogClose, qR as NmDialogContent, QR as NmDialogDescription, XR as NmDialogFooter, JR as NmDialogHeader, ZR as NmDialogTitle, GR as NmDialogTrigger, vB as NmDrawer, bB as NmDrawerClose, xB as NmDrawerContent, TB as NmDrawerDescription, CB as NmDrawerFooter, SB as NmDrawerHeader, wB as NmDrawerTitle, yB as NmDrawerTrigger, xT as NmDropdown, Uw as NmDropdownBranch, $w as NmDropdownMenu, cT as NmDropdownMenuCheckboxItem, tT as NmDropdownMenuContent, mT as NmDropdownMenuDot, nT as NmDropdownMenuGroup, iT as NmDropdownMenuItem, gT as NmDropdownMenuItems, rT as NmDropdownMenuLabel, lT as NmDropdownMenuRadioGroup, uT as NmDropdownMenuRadioItem, dT as NmDropdownMenuSeparator, fT as NmDropdownMenuShortcut, aT as NmDropdownMenuSub, sT as NmDropdownMenuSubContent, oT as NmDropdownMenuSubTrigger, pT as NmDropdownMenuText, eT as NmDropdownMenuTrigger, Zw as NmDropdownOptions, Bw as NmDropdownPanel, qN as NmField, jB as NmFieldContent, PB as NmFieldDescription, FB as NmFieldError, kB as NmFieldGroup, MB as NmFieldLabel, OB as NmFieldLegend, IB as NmFieldSeparator, DB as NmFieldSet, NB as NmFieldTitle, dE as NmFileTree, AB as NmFormField, LB as NmGallery, RB as NmGalleryItem, ST as NmHoverCard, wT as NmHoverCardContent, CT as NmHoverCardTrigger, G as NmIcon, Xj as NmIconBorder, fE as NmInlineCitation, dN as NmInput, zB as NmInputGroup, BB as NmInputGroupAddon, HB as NmInputGroupInput, VB as NmInputGroupText, eE as NmItem, UB as NmKbd, WB as NmKbdGroup, EB as NmLabel, qB as NmListItem, hC as NmLucide, JB as NmMenubar, YB as NmMenubarMenu, XB as NmMenubarTrigger, nE as NmMessage, MT as NmMessageActions, FT as NmMessageMeta, EV as NmModal, DV as NmModalAction, pE as NmModelSelector, mB as NmMonthPicker, OV as NmNativeSelect, AV as NmNativeSelectOptGroup, kV as NmNativeSelectOption, NV as NmPanel, LV as NmPanelActions, JV as NmPanelBar, RV as NmPanelContent, IV as NmPanelDescription, zV as NmPanelFooter, PV as NmPanelHeader, FV as NmPanelTitle, mE as NmPlan, fN as NmPopover, mN as NmPopoverContent, _N as NmPopoverDescription, hN as NmPopoverHeader, gN as NmPopoverTitle, pN as NmPopoverTrigger, TT as NmProgress, xN as NmProse, nH as NmQuestionnaire, hE as NmQueue, rH as NmRadioGroup, iH as NmRadioGroupItem, sH as NmRailIcon, rE as NmReasoning, EN as NmResizeHandle, WV as NmSegmented, wM as NmSelect, DM as NmSelectContent, kM as NmSelectGroup, OM as NmSelectItem, AM as NmSelectLabel, jM as NmSelectSeparator, TM as NmSelectTrigger, EM as NmSelectValue, cD as NmSeparator, tE as NmSheet, LN as NmSidePanel, RN as NmSidePanelBody, zN as NmSidePanelKinds, DH as NmSidebar, XH as NmSidebarChevron, FH as NmSidebarContent, NH as NmSidebarFooter, IH as NmSidebarGroup, RH as NmSidebarGroupAction, zH as NmSidebarGroupContent, LH as NmSidebarGroupLabel, MH as NmSidebarHeader, jH as NmSidebarInput, AH as NmSidebarInset, BH as NmSidebarMenu, UH as NmSidebarMenuAction, WH as NmSidebarMenuBadge, HH as NmSidebarMenuButton, VH as NmSidebarMenuItem, KH as NmSidebarMenuSkeleton, qH as NmSidebarMenuSub, YH as NmSidebarMenuSubButton, JH as NmSidebarMenuSubItem, GH as NmSidebarMenuText, EH as NmSidebarProvider, kH as NmSidebarRail, PH as NmSidebarSeparator, OH as NmSidebarTrigger, _H as NmSkeleton, ZH as NmSlider, aM as NmSmallIconButton, _E as NmSources, QH as NmSpinner, yE as NmStackTrace, $H as NmStatusBar, eU as NmStatusBarItem, tU as NmStatusBarSpacer, CE as NmSubagent, wE as NmSuggestions, nU as NmSwitch, aU as NmTable, sU as NmTableBody, fU as NmTableCaption, dU as NmTableCell, cU as NmTableFooter, uU as NmTableHead, oU as NmTableHeader, lU as NmTableRow, hU as NmTabs, yU as NmTabsContent, _U as NmTabsList, gU as NmTabsRoot, vU as NmTabsTrigger, gE as NmTask, vE as NmTerminal, bE as NmTestResults, NT as NmTextShimmer, UN as NmTextarea, WN as NmTextareaPanel, gB as NmTimePicker, SU as NmToggle, SE as NmTool, DN as NmToolbar, jN as NmToolbarButton, ON as NmToolbarGroup, MN as NmToolbarInput, kN as NmToolbarSeparator, AN as NmToolbarSpacer, yH as NmTooltip, xH as NmTooltipContent, vH as NmTooltipProvider, bH as NmTooltipTrigger, TU as NmTopBar, zT as NmTrace, JT as NmTraceBadge, qT as NmTraceBadges, BT as NmTraceCollapsible, HT as NmTraceCollapsibleContent, VT as NmTraceCollapsibleTrigger, KT as NmTraceDescription, RT as NmTraceGlyph, WT as NmTraceIcon, UT as NmTraceLine, GT as NmTraceTitle, NN as NmWorkspace, FN as NmWorkspaceBody, IN as NmWorkspaceFooter, PN as NmWorkspaceMain, UC as NordmanIconButton, YU as NordmanLogin, IU as NordmanLoginField, HU as NordmanLoginForgot, UU as NordmanLoginGoogle, qU as NordmanLoginHero, RU as NordmanLoginRegister, GU as NordmanLoginReset, FU as NordmanLoginReveal, BU as NordmanLoginSignIn, ZU as NordmanToggle, sG as applyAppearanceState, RW as applyThemePresetPalette, oG as clearAppliedAppearance, Tz as contrastRatio, AW as createDefaultAppearanceState, Jz as defaultThemePresetId, nG as deriveAppearanceTokens, _w as dropdownBranchPath, Rw as dropdownPortalHost, Ww as findDropdownItem, qz as findThemePreset, pC as hasNmLucide, Ez as hexToHsl, xz as hexToRgbTriplet, Dz as hslToHex, yz as isHexColor, hw as isNmDropdownSeparator, fC as isNmIconAnimated, LW as mergeThemePresetColors, Cz as mixHex, yw as nextExpandedBranches, ow as nmAiTraceStatus, DC as nmButtonClassName, PC as nmChatboxActionButtonClassName, F as nmClass, gw as nmDropdownSeparator, Nw as nmDropdownViewportMaxHeight, sW as nmFade, $C as nmHighlightedLines, NC as nmIconButtonClassName, aW as nmSettleSeconds, bz as normalizeHexColor, vw as openDropdownBranch, jW as paletteForPreset, PW as parseAppearanceState, Pw as placeNmDropdownPanel, Fw as placeNmDropdownRowPanel, Iw as placeNmDropdownSubpanel, cG as readCssLengthPx, lG as readNmRailRowStridePx, FW as readStoredAppearanceState, KW as resolveAccentHex, kW as resolveAppearanceScheme, rG as themeModeFromAppearance, ZE as useBarOverflow, cW as useNmFade, xV as useReportSaveDirty, wH as useSidebar, SV as useTrackSave, IW as writeStoredAppearanceState };
33293
+ export { qz as NM_ACCENT_HEX, Gz as NM_ACCENT_PRESETS, cw as NM_AI_BADGE_TONES, K as NM_AI_CLASSES, aw as NM_AI_STATUS, Nz as NM_APPEARANCE_APPLIED_EVENT, Wz as NM_APPEARANCE_CONTRAST, Yz as NM_APPEARANCE_CSS_VARS, Jz as NM_APPEARANCE_DEFAULTS, Pz as NM_APPEARANCE_MODES, Mz as NM_APPEARANCE_STORAGE_KEY, rW as NM_APP_PANEL_CLASSES, nW as NM_APP_PANEL_ICON_SRC, tW as NM_APP_PANEL_TABS, zE as NM_AVATAR_SIZES, KE as NM_BAR_OVERFLOW_CLASSES, qE as NM_BAR_OVERFLOW_TEST_IDS, Uz as NM_BORDER_ATTRIBUTE, Hz as NM_BORDER_STRENGTH, Vz as NM_BORDER_STYLES, EC as NM_BUTTON_CLASSES, TC as NM_BUTTON_SIZES, wC as NM_BUTTON_TONES, vj as NM_CARD_SIZES, _j as NM_CARD_VARIANTS, MC as NM_CHATBOX_ACTION_CLASS, Pj as NM_CHATBOX_CLASSES, Aj as NM_CHATBOX_COMPOSER_ACTION_ICONS, jj as NM_CHATBOX_DURING_RUN_MENU_ICONS, Dj as NM_CHATBOX_ICON_IDS, kj as NM_CHATBOX_ICON_SRC, Oj as NM_CHATBOX_INTEGRATION_ICON_PATH, Mj as NM_CHATBOX_LUCIDE_MAP, Fj as NM_CHATBOX_MENU_MODE, SC as NM_CHIP_SIZES, xC as NM_CHIP_TONES, GC as NM_CODE_BLOCK_SIZES, WC as NM_CODE_BLOCK_VARIANTS, ew as NM_CODE_LANGUAGES, qj as NM_COLLECTION_ACTIONS, Kj as NM_COLLECTION_CLASSES, Hj as NM_COLLECTION_FILES_REFRESH_MS, Gj as NM_COLLECTION_ICON_SRC, Jj as NM_COLLECTION_MEDIA_KINDS, Uj as NM_COLLECTION_SCROLL_IDLE_MS, Wj as NM_COLLECTION_VIEWS, Q as NM_COMPOSER_CLASSES, pz as NM_COMPOSER_COPY, mz as NM_COMPOSER_INLINE_MARK, SW as NM_CONTROL_MENU_CSS_VARS, aW as NM_DRAWER_SIDES, dw as NM_DROPDOWN_ALIGN, q as NM_DROPDOWN_CLASSES, pw as NM_DROPDOWN_GAP_PX, fw as NM_DROPDOWN_REVEAL, mw as NM_DROPDOWN_SCROLL_IDLE_MS, uw as NM_DROPDOWN_TONE, lw as NM_DROPDOWN_TRIGGER, hW as NM_EXTENDED_ICON_IDS, mM as NM_FIELD_CLASSES, fM as NM_FIELD_KINDS, pM as NM_FIELD_LAYOUT, Iz as NM_FONT_WEIGHTS, fW as NM_HEADER_ICON_IDS, pW as NM_HEADER_ICON_SRC, og as NM_ICONS, mW as NM_ICON_BORDER_CLASSES, jC as NM_ICON_BUTTON_CLASSES, AC as NM_ICON_BUTTON_TONES, ag as NM_ICON_IDS, JB as NM_LIST_ITEM_CLASSES, iW as NM_LOGS_PANEL_CLASSES, cC as NM_LUCIDE_EXTENDED, lC as NM_LUCIDE_FILLED_IDS, J as NM_MESSAGE_CLASSES, DT as NM_MESSAGE_ICON_GLYPH, ET as NM_MESSAGE_ICON_IDS, OT as NM_MESSAGE_ICON_SRC, rV as NM_MODAL_ACTION, aV as NM_MODAL_CLASSES, nV as NM_MODAL_FOOTER, iV as NM_MODAL_SCROLL_IDLE_MS, tV as NM_MODAL_SIZE, eV as NM_MODAL_TITLE, YV as NM_PANEL_BAR_CLASSES, JV as NM_PANEL_BAR_LAYOUT, FV as NM_PANEL_MEASURES, PV as NM_PANEL_VARIANTS, tH as NM_QUESTIONNAIRE_CLASSES, eH as NM_QUESTIONNAIRE_COPY, QV as NM_QUESTIONNAIRE_SHORTCUTS, $V as NM_QUESTIONNAIRE_VARIANTS, yW as NM_RADIUS_CSS_VARS, bW as NM_RADIUS_FORMULAS, xW as NM_RADIUS_PRIMITIVE_FORMULAS, _W as NM_RADIUS_PRIMITIVE_PX, gW as NM_RADIUS_SCALE_VAR, vW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, EW as NM_RAIL_FACE_HOLD_MS, CW as NM_RAIL_ICON_IDS, wW as NM_RAIL_ICON_SRC, TW as NM_RAIL_SCROLL_IDLE_MS, DW as NM_RAIL_SEARCH_DEBOUNCE_MS, WV as NM_SEGMENTED_CLASSES, UV as NM_SEGMENTED_TONES, hH as NM_SIDEBAR_BUTTON_SIZES, gH as NM_SIDEBAR_BUTTON_VARIANTS, pH as NM_SIDEBAR_COLLAPSIBLE, yH as NM_SIDEBAR_MOBILE_QUERY, vH as NM_SIDEBAR_PEEK_LEAVE_MS, _H as NM_SIDEBAR_SHORTCUT, dH as NM_SIDEBAR_SIDES, mH as NM_SIDEBAR_STATES, fH as NM_SIDEBAR_VARIANTS, SN as NM_SIDE_PANEL_KINDS, CN as NM_SIDE_PANEL_SIZES, jz as NM_SITE_PALETTE, nM as NM_SMALL_ICON_BUTTON_CLASSES, tM as NM_SMALL_ICON_BUTTON_TONES, sU as NM_TABLE_SIZES, oU as NM_TABLE_VARIANTS, gU as NM_TABS_CLASSES, Kz as NM_THEME_PRESETS, wU as NM_TOGGLE_SIZES, CU as NM_TOGGLE_VARIANTS, sw as NM_TOOL_STATES, EU as NM_TOP_BAR_CLASSES, AT as NM_TRACE_GLYPH_PATHS, kT as NM_TRACE_STATUSES, Fz as NM_UI_FONT_SIZE_PX, Lz as NM_UI_FONT_WEIGHT, Rz as NM_UI_ICON_SIZE_PX, zz as NM_UI_RADIUS_PERCENT, Bz as NM_UI_SPACE_PERCENT, IC as NORDMAN_CHROME_ICONS, FC as NORDMAN_CHROME_ICON_IDS, RC as NORDMAN_ICON_BUTTON_VARIANTS, jU as NORDMAN_LOGIN_FIELDS, AU as NORDMAN_LOGIN_FORM_ID, NU as NORDMAN_LOGIN_INTERFACE, MU as NORDMAN_LOGIN_REVEAL, kU as NORDMAN_LOGIN_VIEWS, EE as NmAlert, kE as NmAlertAction, OE as NmAlertDescription, AE as NmAlertDialog, LE as NmAlertDialogAction, RE as NmAlertDialogCancel, ME as NmAlertDialogContent, IE as NmAlertDialogDescription, PE as NmAlertDialogFooter, NE as NmAlertDialogHeader, FE as NmAlertDialogTitle, jE as NmAlertDialogTrigger, DE as NmAlertTitle, BE as NmAvatar, UE as NmAvatarBadge, HE as NmAvatarFallback, WE as NmAvatarGroup, GE as NmAvatarGroupCount, VE as NmAvatarImage, $T as NmBadge, $E as NmBarOverflow, eD as NmBrandLogo, tD as NmBreadcrumb, sD as NmBreadcrumbEllipsis, rD as NmBreadcrumbItem, iD as NmBreadcrumbLink, nD as NmBreadcrumbList, aD as NmBreadcrumbPage, oD as NmBreadcrumbSeparator, ZT as NmBubble, kC as NmButton, lD as NmButtonGroup, uD as NmButtonGroupSeparator, dD as NmButtonGroupText, gj as NmCalendar, yj as NmCard, Cj as NmCardAction, wj as NmCardContent, Sj as NmCardDescription, Tj as NmCardFooter, bj as NmCardHeader, Ej as NmCardMedia, xj as NmCardTitle, iE as NmChainOfThought, TE as NmChat, Lj as NmChatbox, Nj as NmChatboxIcon, Rj as NmCheckbox, aE as NmCheckpoint, CC as NmChip, qC as NmCodeBlock, XC as NmCodeBlockActions, rw as NmCodeBlockContent, ZC as NmCodeBlockCopyButton, iw as NmCodeBlockFooter, JC as NmCodeBlockHeader, QC as NmCodeBlockLine, YC as NmCodeBlockTitle, zj as NmCollapsible, Vj as NmCollapsibleContent, Bj as NmCollapsibleTrigger, eM as NmCollectionBar, dM as NmCollectionGrid, XN as NmCollectionQuery, $N as NmCollectionRowMenu, tP as NmCollectionTable, cM as NmCollectionTileActions, Zj as NmCollectionTitle, bN as NmColorPicker, vN as NmColorSwatch, hM as NmCombobox, _M as NmComboboxContent, bM as NmComboboxEmpty, xM as NmComboboxGroup, gM as NmComboboxInput, yM as NmComboboxItem, SM as NmComboboxLabel, vM as NmComboboxList, CM as NmComboboxSeparator, $R as NmCommand, dz as NmCommandDescription, ez as NmCommandDialog, iz as NmCommandEmpty, nz as NmCommandFilters, oz as NmCommandGroup, fz as NmCommandIcon, tz as NmCommandInput, cz as NmCommandItem, lz as NmCommandItemActions, rz as NmCommandList, az as NmCommandLoading, sz as NmCommandSeparator, uz as NmCommandShortcut, cB as NmComposer, oE as NmConfirmation, cE as NmContext, lB as NmContextMenu, dB as NmContextMenuContent, uB as NmContextMenuTrigger, hB as NmDatePicker, gB as NmDateRangePicker, bB as NmDateTimePicker, WR as NmDialog, YR as NmDialogBody, KR as NmDialogClose, qR as NmDialogContent, QR as NmDialogDescription, XR as NmDialogFooter, JR as NmDialogHeader, ZR as NmDialogTitle, GR as NmDialogTrigger, xB as NmDrawer, CB as NmDrawerClose, wB as NmDrawerContent, OB as NmDrawerDescription, EB as NmDrawerFooter, TB as NmDrawerHeader, DB as NmDrawerTitle, SB as NmDrawerTrigger, xT as NmDropdown, Uw as NmDropdownBranch, $w as NmDropdownMenu, cT as NmDropdownMenuCheckboxItem, tT as NmDropdownMenuContent, mT as NmDropdownMenuDot, nT as NmDropdownMenuGroup, iT as NmDropdownMenuItem, gT as NmDropdownMenuItems, rT as NmDropdownMenuLabel, lT as NmDropdownMenuRadioGroup, uT as NmDropdownMenuRadioItem, dT as NmDropdownMenuSeparator, fT as NmDropdownMenuShortcut, aT as NmDropdownMenuSub, sT as NmDropdownMenuSubContent, oT as NmDropdownMenuSubTrigger, pT as NmDropdownMenuText, eT as NmDropdownMenuTrigger, Zw as NmDropdownOptions, Bw as NmDropdownPanel, qN as NmField, PB as NmFieldContent, LB as NmFieldDescription, RB as NmFieldError, MB as NmFieldGroup, FB as NmFieldLabel, jB as NmFieldLegend, zB as NmFieldSeparator, AB as NmFieldSet, IB as NmFieldTitle, dE as NmFileTree, NB as NmFormField, BB as NmGallery, VB as NmGalleryItem, ST as NmHoverCard, wT as NmHoverCardContent, CT as NmHoverCardTrigger, G as NmIcon, Xj as NmIconBorder, fE as NmInlineCitation, dN as NmInput, HB as NmInputGroup, UB as NmInputGroupAddon, GB as NmInputGroupInput, WB as NmInputGroupText, eE as NmItem, KB as NmKbd, qB as NmKbdGroup, kB as NmLabel, XB as NmListItem, hC as NmLucide, ZB as NmMenubar, QB as NmMenubarMenu, $B as NmMenubarTrigger, nE as NmMessage, MT as NmMessageActions, FT as NmMessageMeta, kV as NmModal, AV as NmModalAction, pE as NmModelSelector, _B as NmMonthPicker, jV as NmNativeSelect, NV as NmNativeSelectOptGroup, MV as NmNativeSelectOption, IV as NmPanel, BV as NmPanelActions, ZV as NmPanelBar, VV as NmPanelContent, zV as NmPanelDescription, HV as NmPanelFooter, LV as NmPanelHeader, RV as NmPanelTitle, mE as NmPlan, fN as NmPopover, mN as NmPopoverContent, _N as NmPopoverDescription, hN as NmPopoverHeader, gN as NmPopoverTitle, pN as NmPopoverTrigger, TT as NmProgress, xN as NmProse, aH as NmQuestionnaire, hE as NmQueue, oH as NmRadioGroup, sH as NmRadioGroupItem, uH as NmRailIcon, rE as NmReasoning, EN as NmResizeHandle, qV as NmSegmented, wM as NmSelect, DM as NmSelectContent, kM as NmSelectGroup, OM as NmSelectItem, AM as NmSelectLabel, jM as NmSelectSeparator, TM as NmSelectTrigger, EM as NmSelectValue, cD as NmSeparator, tE as NmSheet, LN as NmSidePanel, RN as NmSidePanelBody, zN as NmSidePanelKinds, AH as NmSidebar, $H as NmSidebarChevron, RH as NmSidebarContent, IH as NmSidebarFooter, zH as NmSidebarGroup, VH as NmSidebarGroupAction, HH as NmSidebarGroupContent, BH as NmSidebarGroupLabel, FH as NmSidebarHeader, PH as NmSidebarInput, NH as NmSidebarInset, UH as NmSidebarMenu, KH as NmSidebarMenuAction, qH as NmSidebarMenuBadge, GH as NmSidebarMenuButton, WH as NmSidebarMenuItem, YH as NmSidebarMenuSkeleton, XH as NmSidebarMenuSub, QH as NmSidebarMenuSubButton, ZH as NmSidebarMenuSubItem, JH as NmSidebarMenuText, kH as NmSidebarProvider, MH as NmSidebarRail, LH as NmSidebarSeparator, jH as NmSidebarTrigger, bH as NmSkeleton, eU as NmSlider, aM as NmSmallIconButton, _E as NmSources, tU as NmSpinner, yE as NmStackTrace, nU as NmStatusBar, rU as NmStatusBarItem, iU as NmStatusBarSpacer, CE as NmSubagent, wE as NmSuggestions, aU as NmSwitch, cU as NmTable, uU as NmTableBody, hU as NmTableCaption, mU as NmTableCell, dU as NmTableFooter, pU as NmTableHead, lU as NmTableHeader, fU as NmTableRow, vU as NmTabs, SU as NmTabsContent, bU as NmTabsList, yU as NmTabsRoot, xU as NmTabsTrigger, gE as NmTask, vE as NmTerminal, bE as NmTestResults, NT as NmTextShimmer, UN as NmTextarea, WN as NmTextareaPanel, yB as NmTimePicker, TU as NmToggle, SE as NmTool, DN as NmToolbar, jN as NmToolbarButton, ON as NmToolbarGroup, MN as NmToolbarInput, kN as NmToolbarSeparator, AN as NmToolbarSpacer, SH as NmTooltip, wH as NmTooltipContent, xH as NmTooltipProvider, CH as NmTooltipTrigger, OU as NmTopBar, zT as NmTrace, JT as NmTraceBadge, qT as NmTraceBadges, BT as NmTraceCollapsible, HT as NmTraceCollapsibleContent, VT as NmTraceCollapsibleTrigger, KT as NmTraceDescription, RT as NmTraceGlyph, WT as NmTraceIcon, UT as NmTraceLine, GT as NmTraceTitle, NN as NmWorkspace, FN as NmWorkspaceBody, IN as NmWorkspaceFooter, PN as NmWorkspaceMain, UC as NordmanIconButton, QU as NordmanLogin, zU as NordmanLoginField, GU as NordmanLoginForgot, KU as NordmanLoginGoogle, XU as NordmanLoginHero, VU as NordmanLoginRegister, JU as NordmanLoginReset, RU as NordmanLoginReveal, UU as NordmanLoginSignIn, eW as NordmanToggle, dG as applyAppearanceState, HW as applyThemePresetPalette, uG as clearAppliedAppearance, Tz as contrastRatio, PW as createDefaultAppearanceState, Zz as defaultThemePresetId, oG as deriveAppearanceTokens, _w as dropdownBranchPath, Rw as dropdownPortalHost, Ww as findDropdownItem, Xz as findThemePreset, pC as hasNmLucide, Ez as hexToHsl, xz as hexToRgbTriplet, Dz as hslToHex, yz as isHexColor, hw as isNmDropdownSeparator, fC as isNmIconAnimated, VW as mergeThemePresetColors, Cz as mixHex, yw as nextExpandedBranches, ow as nmAiTraceStatus, DC as nmButtonClassName, PC as nmChatboxActionButtonClassName, F as nmClass, gw as nmDropdownSeparator, Nw as nmDropdownViewportMaxHeight, uW as nmFade, $C as nmHighlightedLines, NC as nmIconButtonClassName, cW as nmSettleSeconds, bz as normalizeHexColor, vw as openDropdownBranch, FW as paletteForPreset, RW as parseAppearanceState, Pw as placeNmDropdownPanel, Fw as placeNmDropdownRowPanel, Iw as placeNmDropdownSubpanel, fG as readCssLengthPx, pG as readNmRailRowStridePx, zW as readStoredAppearanceState, XW as resolveAccentHex, NW as resolveAppearanceScheme, sG as themeModeFromAppearance, ZE as useBarOverflow, dW as useNmFade, wV as useReportSaveDirty, DH as useSidebar, TV as useTrackSave, BW as writeStoredAppearanceState };