@nordmanai/nif 0.2.8 → 0.2.9

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 (56) hide show
  1. package/dist/index.js +572 -557
  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-command/nm-command.css +1 -1
  21. package/registry/ui/components/nm-composer/nm-composer.css +3 -3
  22. package/registry/ui/components/nm-date-picker/nm-date-picker.css +2 -2
  23. package/registry/ui/components/nm-dialog/nm-dialog.css +1 -1
  24. package/registry/ui/components/nm-drawer/nm-drawer.css +2 -2
  25. package/registry/ui/components/nm-dropdown/nm-dropdown.css +2 -2
  26. package/registry/ui/components/nm-dropdown-menu/nm-dropdown-menu.css +1 -1
  27. package/registry/ui/components/nm-field/nm-field.css +6 -6
  28. package/registry/ui/components/nm-hover-card/nm-hover-card.css +1 -1
  29. package/registry/ui/components/nm-input/nm-input.css +3 -3
  30. package/registry/ui/components/nm-input-group/nm-input-group.css +2 -2
  31. package/registry/ui/components/nm-message/nm-message.css +1 -1
  32. package/registry/ui/components/nm-native-select/nm-native-select.css +2 -2
  33. package/registry/ui/components/nm-popover/nm-popover.css +1 -1
  34. package/registry/ui/components/nm-prose/nm-prose.css +3 -3
  35. package/registry/ui/components/nm-questionnaire/nm-questionnaire.css +3 -3
  36. package/registry/ui/components/nm-radio-group/nm-radio-group.css +2 -2
  37. package/registry/ui/components/nm-segmented/nm-segmented.css +1 -1
  38. package/registry/ui/components/nm-select/nm-select.css +2 -2
  39. package/registry/ui/components/nm-separator/nm-separator.css +1 -1
  40. package/registry/ui/components/nm-side-panel/nm-side-panel.css +1 -1
  41. package/registry/ui/components/nm-sidebar/nm-sidebar.css +9 -9
  42. package/registry/ui/components/nm-spinner/nm-spinner.css +1 -1
  43. package/registry/ui/components/nm-switch/nm-switch.css +1 -1
  44. package/registry/ui/components/nm-table/nm-table.css +4 -4
  45. package/registry/ui/components/nm-tabs/nm-tabs.css +1 -1
  46. package/registry/ui/components/nm-textarea/nm-textarea.css +5 -5
  47. package/registry/ui/components/nm-toggle/nm-toggle.css +1 -1
  48. package/registry/ui/components/nordman-icon-button/nordman-icon-button.css +2 -2
  49. package/registry/ui/components/nordman-login/nordman-login.css +3 -3
  50. package/registry/ui/components/nordman-toggle/nordman-toggle.css +1 -1
  51. package/registry/ui/config/nm-appearance.ts +17 -0
  52. package/registry/ui/lib/appearance/appearanceState.ts +8 -0
  53. package/registry/ui/lib/appearance/applyAppearance.ts +3 -1
  54. package/registry/ui/lib/appearance/deriveTokens.ts +2 -0
  55. package/registry/ui/styles/light-appearance.css +3 -3
  56. package/registry/ui/styles/tokens.css +21 -0
package/dist/index.js CHANGED
@@ -29724,11 +29724,19 @@ var jz = {
29724
29724
  min: 75,
29725
29725
  max: 125,
29726
29726
  default: 100
29727
- }, Vz = {
29727
+ }, Vz = [
29728
+ "default",
29729
+ "subtle",
29730
+ "none"
29731
+ ], Hz = {
29732
+ default: "100%",
29733
+ subtle: "35%",
29734
+ none: "0%"
29735
+ }, Uz = "data-nm-borders", Wz = {
29728
29736
  min: 0,
29729
29737
  max: 100,
29730
29738
  default: 0
29731
- }, Hz = [
29739
+ }, Gz = [
29732
29740
  "default",
29733
29741
  "blue",
29734
29742
  "green",
@@ -29738,7 +29746,7 @@ var jz = {
29738
29746
  "purple",
29739
29747
  "white",
29740
29748
  "custom"
29741
- ], Uz = [
29749
+ ], Kz = [
29742
29750
  {
29743
29751
  id: "nordman",
29744
29752
  label: "Nordman",
@@ -29999,7 +30007,7 @@ var jz = {
29999
30007
  foreground: jz.light.fg
30000
30008
  }
30001
30009
  }
30002
- ], Wz = {
30010
+ ], qz = {
30003
30011
  blue: "#58A6FF",
30004
30012
  green: "#3DDC84",
30005
30013
  yellow: "#E6B450",
@@ -30007,7 +30015,7 @@ var jz = {
30007
30015
  orange: "#FF9F43",
30008
30016
  purple: "#A371F7",
30009
30017
  white: "#FFFFFF"
30010
- }, Gz = {
30018
+ }, Jz = {
30011
30019
  mode: "system",
30012
30020
  themePresetId: "nordman",
30013
30021
  accentPreset: "default",
@@ -30019,27 +30027,28 @@ var jz = {
30019
30027
  uiIconSizePx: Rz.default,
30020
30028
  uiRadiusPercent: zz.default,
30021
30029
  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);
30030
+ contrast: Wz.default,
30031
+ borders: "default"
30032
+ }, 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(".");
30033
+ function Xz(e) {
30034
+ return Kz.find((t) => t.id === e);
30026
30035
  }
30027
- function Jz() {
30028
- return Gz.themePresetId;
30036
+ function Zz() {
30037
+ return Jz.themePresetId;
30029
30038
  }
30030
30039
  // src/ui/components/nm-voice-orb/use-nm-voice-orb-theme.ts
30031
- function Yz(e, t) {
30040
+ function Qz(e, t) {
30032
30041
  if (typeof document > "u") return t;
30033
30042
  let n = getComputedStyle(document.documentElement).getPropertyValue(e).trim();
30034
30043
  return n.length > 0 ? n : t;
30035
30044
  }
30036
- function Xz() {
30045
+ function $z() {
30037
30046
  let [e, t] = p(0);
30038
30047
  return c(() => {
30039
30048
  let e = () => t((e) => e + 1);
30040
30049
  return window.addEventListener(Nz, e), () => window.removeEventListener(Nz, e);
30041
30050
  }, []), d(() => {
30042
- let e = Yz("--nm-accent", "#D2BB9C"), t = Yz("--nm-canvas", "#000000"), n = Yz("--nm-fg", "#FFFFFF");
30051
+ let e = Qz("--nm-accent", "#D2BB9C"), t = Qz("--nm-canvas", "#000000"), n = Qz("--nm-fg", "#FFFFFF");
30043
30052
  return xi({
30044
30053
  ...gz,
30045
30054
  appearance: Oz(e, t, n)
@@ -30047,11 +30056,11 @@ function Xz() {
30047
30056
  }, [e]);
30048
30057
  }
30049
30058
  // src/ui/components/nm-voice-orb/nm-voice-orb.tsx
30050
- var Zz = W("interface-nm-voice-orb");
30051
- function Qz(e) {
30059
+ var eB = W("interface-nm-voice-orb");
30060
+ function tB(e) {
30052
30061
  return typeof e != "number" || !Number.isFinite(e) ? 0 : Math.min(1, Math.max(0, e));
30053
30062
  }
30054
- function $z() {
30063
+ function nB() {
30055
30064
  typeof window < "u" && typeof window.matchMedia != "function" && Object.defineProperty(window, "matchMedia", {
30056
30065
  writable: !0,
30057
30066
  configurable: !0,
@@ -30067,12 +30076,12 @@ function $z() {
30067
30076
  })
30068
30077
  });
30069
30078
  }
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(() => {
30079
+ function rB(e) {
30080
+ nB();
30081
+ let t = $z(), { signal: n, adapter: r, inputVolume: i, outputVolume: a, getInputVolume: o, getOutputVolume: s } = e, c = _z(e.agentState), l = d(() => {
30073
30082
  if (n) return n;
30074
30083
  if (r) return;
30075
- let e = Qz(i ?? o?.() ?? 0), t = Qz(a ?? s?.() ?? (c === "speaking" ? .72 : 0));
30084
+ let e = tB(i ?? o?.() ?? 0), t = tB(a ?? s?.() ?? (c === "speaking" ? .72 : 0));
30076
30085
  return {
30077
30086
  state: c,
30078
30087
  inputVolume: e,
@@ -30087,7 +30096,7 @@ function eB(e) {
30087
30096
  a,
30088
30097
  n
30089
30098
  ]);
30090
- return Zz.debug("render", "orb-ui", { state: c }), /* @__PURE__ */ b(bi, {
30099
+ return eB.debug("render", "orb-ui", { state: c }), /* @__PURE__ */ b(bi, {
30091
30100
  adapter: e.adapter,
30092
30101
  signal: l,
30093
30102
  state: e.agentState == null ? void 0 : c,
@@ -30102,7 +30111,7 @@ function eB(e) {
30102
30111
  });
30103
30112
  }
30104
30113
  // src/ui/components/nm-composer/nm-composer.tsx
30105
- function tB(e) {
30114
+ function iB(e) {
30106
30115
  let t = [], n = 0, r = 0;
30107
30116
  for (let i of e.matchAll(/* @__PURE__ */ RegExp("⁠([^⁠]*)⁠", "g"))) {
30108
30117
  let a = i.index ?? 0;
@@ -30120,19 +30129,19 @@ function tB(e) {
30120
30129
  value: e.slice(n)
30121
30130
  }), t;
30122
30131
  }
30123
- var nB = null;
30124
- function rB(e, t) {
30125
- if (nB ??= document.createElement("canvas").getContext("2d"), nB == null) return 0;
30132
+ var aB = null;
30133
+ function oB(e, t) {
30134
+ if (aB ??= document.createElement("canvas").getContext("2d"), aB == null) return 0;
30126
30135
  let n = getComputedStyle(e);
30127
- return nB.font = n.font || `${n.fontSize} sans-serif`, nB.measureText(t).width;
30136
+ return aB.font = n.font || `${n.fontSize} sans-serif`, aB.measureText(t).width;
30128
30137
  }
30129
- function iB(e) {
30138
+ function sB(e) {
30130
30139
  let t = f(null), [, n] = p(0), { field: r, text: i } = e;
30131
30140
  return u(() => {
30132
30141
  let e = r.current, n = t.current;
30133
30142
  if (e != null && n != null) for (let t of n.querySelectorAll("[data-token]")) {
30134
30143
  t.style.marginRight = "0px";
30135
- let n = rB(e, t.dataset.token ?? "") - t.getBoundingClientRect().width;
30144
+ let n = oB(e, t.dataset.token ?? "") - t.getBoundingClientRect().width;
30136
30145
  t.style.marginRight = `${n}px`;
30137
30146
  }
30138
30147
  }), c(() => {
@@ -30146,7 +30155,7 @@ function iB(e) {
30146
30155
  ref: t,
30147
30156
  className: Q.inline,
30148
30157
  "aria-hidden": "true",
30149
- children: tB(i).map((t, n) => {
30158
+ children: iB(i).map((t, n) => {
30150
30159
  if (t.kind === "text") return /* @__PURE__ */ b("span", { children: t.value }, `t-${n}`);
30151
30160
  let r = e.chip?.(t.label);
30152
30161
  return /* @__PURE__ */ b(CC, {
@@ -30163,7 +30172,7 @@ function iB(e) {
30163
30172
  })
30164
30173
  });
30165
30174
  }
30166
- function aB(e) {
30175
+ function cB(e) {
30167
30176
  let t = f(null), n = f(null), r = o((r) => {
30168
30177
  n.current = r, t.current = r;
30169
30178
  let i = e.fieldRef;
@@ -30238,7 +30247,7 @@ function aB(e) {
30238
30247
  "data-testid": "voice-orb-connecting",
30239
30248
  onClick: e.onVoiceStop,
30240
30249
  children: /* @__PURE__ */ b(G, { id: "loader" })
30241
- }) : /* @__PURE__ */ b(eB, {
30250
+ }) : /* @__PURE__ */ b(rB, {
30242
30251
  adapter: e.voiceAdapter,
30243
30252
  agentState: e.voiceState ?? "listening",
30244
30253
  onClick: e.onVoiceStop,
@@ -30326,7 +30335,7 @@ function aB(e) {
30326
30335
  "data-listening": e.listening ? "true" : void 0,
30327
30336
  children: [
30328
30337
  e.overlay,
30329
- l ? /* @__PURE__ */ b(iB, {
30338
+ l ? /* @__PURE__ */ b(sB, {
30330
30339
  text: e.value,
30331
30340
  field: n,
30332
30341
  chip: e.inlineChip
@@ -30400,20 +30409,20 @@ function aB(e) {
30400
30409
  });
30401
30410
  }
30402
30411
  // src/ui/components/nm-context-menu/nm-context-menu.tsx
30403
- function oB(e) {
30412
+ function lB(e) {
30404
30413
  return /* @__PURE__ */ b(hd.Root, {
30405
30414
  "data-slot": "context-menu",
30406
30415
  ...e
30407
30416
  });
30408
30417
  }
30409
- function sB({ className: e, ...t }) {
30418
+ function uB({ className: e, ...t }) {
30410
30419
  return /* @__PURE__ */ b(hd.Trigger, {
30411
30420
  "data-slot": "context-menu-trigger",
30412
30421
  className: e,
30413
30422
  ...t
30414
30423
  });
30415
30424
  }
30416
- function cB({ className: e, ...t }) {
30425
+ function dB({ className: e, ...t }) {
30417
30426
  return /* @__PURE__ */ b(hd.Portal, { children: /* @__PURE__ */ b(hd.Positioner, {
30418
30427
  className: "nm-menu__positioner",
30419
30428
  children: /* @__PURE__ */ b(hd.Popup, {
@@ -30424,12 +30433,12 @@ function cB({ className: e, ...t }) {
30424
30433
  }) });
30425
30434
  }
30426
30435
  // src/ui/components/nm-date-picker/nm-date-picker.tsx
30427
- var lB = (e) => e.toLocaleDateString(void 0, {
30436
+ var fB = (e) => e.toLocaleDateString(void 0, {
30428
30437
  year: "numeric",
30429
30438
  month: "short",
30430
30439
  day: "numeric"
30431
- }), uB = (e) => String(e).padStart(2, "0");
30432
- function dB(e) {
30440
+ }), pB = (e) => String(e).padStart(2, "0");
30441
+ function mB(e) {
30433
30442
  return /* @__PURE__ */ x(pN, {
30434
30443
  className: "nm-picker__trigger",
30435
30444
  disabled: e.disabled,
@@ -30439,14 +30448,14 @@ function dB(e) {
30439
30448
  children: [/* @__PURE__ */ b(G, { id: e.icon }), /* @__PURE__ */ b("span", { children: e.text ?? e.placeholder })]
30440
30449
  });
30441
30450
  }
30442
- function fB({ value: e, onValueChange: t, placeholder: n = "Pick a date", ...r }) {
30451
+ function hB({ value: e, onValueChange: t, placeholder: n = "Pick a date", ...r }) {
30443
30452
  let [i, a] = p(!1);
30444
30453
  return /* @__PURE__ */ x(fN, {
30445
30454
  open: i,
30446
30455
  onOpenChange: a,
30447
- children: [/* @__PURE__ */ b(dB, {
30456
+ children: [/* @__PURE__ */ b(mB, {
30448
30457
  icon: "calendar",
30449
- text: e ? lB(e) : null,
30458
+ text: e ? fB(e) : null,
30450
30459
  placeholder: n,
30451
30460
  ...r
30452
30461
  }), /* @__PURE__ */ b(mN, {
@@ -30463,9 +30472,9 @@ function fB({ value: e, onValueChange: t, placeholder: n = "Pick a date", ...r }
30463
30472
  })]
30464
30473
  });
30465
30474
  }
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, {
30475
+ function gB({ value: e, onValueChange: t, placeholder: n = "Pick a range", ...r }) {
30476
+ let i = e?.from ? `${fB(e.from)}${e.to ? ` – ${fB(e.to)}` : ""}` : null;
30477
+ return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(mB, {
30469
30478
  icon: "calendar",
30470
30479
  text: i,
30471
30480
  placeholder: n,
@@ -30482,7 +30491,7 @@ function pB({ value: e, onValueChange: t, placeholder: n = "Pick a range", ...r
30482
30491
  })
30483
30492
  })] });
30484
30493
  }
30485
- function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r }) {
30494
+ function _B({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r }) {
30486
30495
  let [i, a] = p(!1), [o, s] = p(e ? Number(e.slice(0, 4)) : (/* @__PURE__ */ new Date()).getFullYear()), c = e ? {
30487
30496
  y: Number(e.slice(0, 4)),
30488
30497
  m: Number(e.slice(5, 7))
@@ -30493,7 +30502,7 @@ function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r
30493
30502
  return /* @__PURE__ */ x(fN, {
30494
30503
  open: i,
30495
30504
  onOpenChange: a,
30496
- children: [/* @__PURE__ */ b(dB, {
30505
+ children: [/* @__PURE__ */ b(mB, {
30497
30506
  icon: "calendar",
30498
30507
  text: u,
30499
30508
  placeholder: n,
@@ -30535,7 +30544,7 @@ function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r
30535
30544
  className: "nm-picker__option",
30536
30545
  "aria-pressed": c?.y === o && c.m === n + 1,
30537
30546
  onClick: () => {
30538
- t?.(`${o}-${uB(n + 1)}`), a(!1);
30547
+ t?.(`${o}-${pB(n + 1)}`), a(!1);
30539
30548
  },
30540
30549
  children: e
30541
30550
  }, e))
@@ -30544,7 +30553,7 @@ function mB({ value: e, onValueChange: t, placeholder: n = "Pick a month", ...r
30544
30553
  })]
30545
30554
  });
30546
30555
  }
30547
- function hB(e) {
30556
+ function vB(e) {
30548
30557
  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
30558
  return /* @__PURE__ */ x("div", {
30550
30559
  className: "nm-picker__time",
@@ -30557,8 +30566,8 @@ function hB(e) {
30557
30566
  role: "option",
30558
30567
  "aria-selected": r === t,
30559
30568
  className: "nm-picker__option",
30560
- onClick: () => e.onValueChange(`${uB(r)}:${uB(n ?? 0)}`),
30561
- children: uB(r)
30569
+ onClick: () => e.onValueChange(`${pB(r)}:${pB(n ?? 0)}`),
30570
+ children: pB(r)
30562
30571
  }, r))
30563
30572
  }), /* @__PURE__ */ b("div", {
30564
30573
  className: "nm-picker__column",
@@ -30569,14 +30578,14 @@ function hB(e) {
30569
30578
  role: "option",
30570
30579
  "aria-selected": r === n,
30571
30580
  className: "nm-picker__option",
30572
- onClick: () => e.onValueChange(`${uB(t ?? 0)}:${uB(r)}`),
30573
- children: uB(r)
30581
+ onClick: () => e.onValueChange(`${pB(t ?? 0)}:${pB(r)}`),
30582
+ children: pB(r)
30574
30583
  }, r))
30575
30584
  })]
30576
30585
  });
30577
30586
  }
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, {
30587
+ function yB({ value: e, onValueChange: t, placeholder: n = "Pick a time", minuteStep: r = 5, ...i }) {
30588
+ return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(mB, {
30580
30589
  icon: "clock",
30581
30590
  text: e || null,
30582
30591
  placeholder: n,
@@ -30584,21 +30593,21 @@ function gB({ value: e, onValueChange: t, placeholder: n = "Pick a time", minute
30584
30593
  }), /* @__PURE__ */ b(mN, {
30585
30594
  className: "nm-picker__popup",
30586
30595
  align: "start",
30587
- children: /* @__PURE__ */ b(hB, {
30596
+ children: /* @__PURE__ */ b(vB, {
30588
30597
  value: e ?? "",
30589
30598
  onValueChange: (e) => t?.(e),
30590
30599
  minuteStep: r
30591
30600
  })
30592
30601
  })] });
30593
30602
  }
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) => {
30603
+ function bB({ value: e, onValueChange: t, placeholder: n = "Pick a date and time", minuteStep: r = 5, ...i }) {
30604
+ let a = e ? `${pB(e.getHours())}:${pB(e.getMinutes())}` : "", o = (e, t) => {
30596
30605
  let [n, r] = t ? t.split(":").map(Number) : [0, 0], i = new Date(e);
30597
30606
  return i.setHours(n, r, 0, 0), i;
30598
30607
  };
30599
- return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(dB, {
30608
+ return /* @__PURE__ */ x(fN, { children: [/* @__PURE__ */ b(mB, {
30600
30609
  icon: "calendar",
30601
- text: e ? `${lB(e)}, ${a}` : null,
30610
+ text: e ? `${fB(e)}, ${a}` : null,
30602
30611
  placeholder: n,
30603
30612
  ...i
30604
30613
  }), /* @__PURE__ */ x(mN, {
@@ -30609,7 +30618,7 @@ function _B({ value: e, onValueChange: t, placeholder: n = "Pick a date and time
30609
30618
  selected: e,
30610
30619
  onSelect: (e) => t?.(e ? o(e, a) : void 0),
30611
30620
  defaultMonth: e
30612
- }), /* @__PURE__ */ b(hB, {
30621
+ }), /* @__PURE__ */ b(vB, {
30613
30622
  value: a,
30614
30623
  onValueChange: (n) => t?.(o(e ?? /* @__PURE__ */ new Date(), n)),
30615
30624
  minuteStep: r
@@ -30617,25 +30626,25 @@ function _B({ value: e, onValueChange: t, placeholder: n = "Pick a date and time
30617
30626
  })] });
30618
30627
  }
30619
30628
  // src/ui/components/nm-drawer/nm-drawer.tsx
30620
- function vB(e) {
30629
+ function xB(e) {
30621
30630
  return /* @__PURE__ */ b(Nd.Root, {
30622
30631
  "data-slot": "drawer",
30623
30632
  ...e
30624
30633
  });
30625
30634
  }
30626
- function yB(e) {
30635
+ function SB(e) {
30627
30636
  return /* @__PURE__ */ b(Nd.Trigger, {
30628
30637
  "data-slot": "drawer-trigger",
30629
30638
  ...e
30630
30639
  });
30631
30640
  }
30632
- function bB(e) {
30641
+ function CB(e) {
30633
30642
  return /* @__PURE__ */ b(Nd.Close, {
30634
30643
  "data-slot": "drawer-close",
30635
30644
  ...e
30636
30645
  });
30637
30646
  }
30638
- function xB({ className: e, children: t, side: n = "left", ...r }) {
30647
+ function wB({ className: e, children: t, side: n = "left", ...r }) {
30639
30648
  return /* @__PURE__ */ x(Nd.Portal, { children: [/* @__PURE__ */ b(Nd.Backdrop, {
30640
30649
  "data-slot": "drawer-overlay",
30641
30650
  className: "nm-drawer__backdrop"
@@ -30648,28 +30657,28 @@ function xB({ className: e, children: t, side: n = "left", ...r }) {
30648
30657
  children: t
30649
30658
  })] });
30650
30659
  }
30651
- function SB({ className: e, ...t }) {
30660
+ function TB({ className: e, ...t }) {
30652
30661
  return /* @__PURE__ */ b("div", {
30653
30662
  "data-slot": "drawer-header",
30654
30663
  className: F("nm-drawer__header", e),
30655
30664
  ...t
30656
30665
  });
30657
30666
  }
30658
- function CB({ className: e, ...t }) {
30667
+ function EB({ className: e, ...t }) {
30659
30668
  return /* @__PURE__ */ b("div", {
30660
30669
  "data-slot": "drawer-footer",
30661
30670
  className: F("nm-drawer__footer", e),
30662
30671
  ...t
30663
30672
  });
30664
30673
  }
30665
- function wB({ className: e, ...t }) {
30674
+ function DB({ className: e, ...t }) {
30666
30675
  return /* @__PURE__ */ b(Nd.Title, {
30667
30676
  "data-slot": "drawer-title",
30668
30677
  className: F("nm-drawer__title", e),
30669
30678
  ...t
30670
30679
  });
30671
30680
  }
30672
- function TB({ className: e, ...t }) {
30681
+ function OB({ className: e, ...t }) {
30673
30682
  return /* @__PURE__ */ b(Nd.Description, {
30674
30683
  "data-slot": "drawer-description",
30675
30684
  className: F("nm-drawer__description", e),
@@ -30677,7 +30686,7 @@ function TB({ className: e, ...t }) {
30677
30686
  });
30678
30687
  }
30679
30688
  // src/ui/components/nm-label/nm-label.tsx
30680
- function EB({ className: e, ...t }) {
30689
+ function kB({ className: e, ...t }) {
30681
30690
  return /* @__PURE__ */ b("label", {
30682
30691
  "data-slot": "label",
30683
30692
  className: F("nm-label", e),
@@ -30685,14 +30694,14 @@ function EB({ className: e, ...t }) {
30685
30694
  });
30686
30695
  }
30687
30696
  // src/ui/components/nm-form-field/nm-form-field.tsx
30688
- function DB({ className: e, ...t }) {
30697
+ function AB({ className: e, ...t }) {
30689
30698
  return /* @__PURE__ */ b("fieldset", {
30690
30699
  "data-slot": "field-set",
30691
30700
  className: F("nm-field-set", e),
30692
30701
  ...t
30693
30702
  });
30694
30703
  }
30695
- function OB({ className: e, variant: t = "legend", ...n }) {
30704
+ function jB({ className: e, variant: t = "legend", ...n }) {
30696
30705
  return /* @__PURE__ */ b("legend", {
30697
30706
  "data-slot": "field-legend",
30698
30707
  "data-variant": t,
@@ -30700,14 +30709,14 @@ function OB({ className: e, variant: t = "legend", ...n }) {
30700
30709
  ...n
30701
30710
  });
30702
30711
  }
30703
- function kB({ className: e, ...t }) {
30712
+ function MB({ className: e, ...t }) {
30704
30713
  return /* @__PURE__ */ b("div", {
30705
30714
  "data-slot": "field-group",
30706
30715
  className: F("nm-field-group", e),
30707
30716
  ...t
30708
30717
  });
30709
30718
  }
30710
- function AB({ className: e, orientation: t = "vertical", invalid: n, disabled: r, ...i }) {
30719
+ function NB({ className: e, orientation: t = "vertical", invalid: n, disabled: r, ...i }) {
30711
30720
  return /* @__PURE__ */ b("div", {
30712
30721
  "data-slot": "field",
30713
30722
  role: "group",
@@ -30718,35 +30727,35 @@ function AB({ className: e, orientation: t = "vertical", invalid: n, disabled: r
30718
30727
  ...i
30719
30728
  });
30720
30729
  }
30721
- function jB({ className: e, ...t }) {
30730
+ function PB({ className: e, ...t }) {
30722
30731
  return /* @__PURE__ */ b("div", {
30723
30732
  "data-slot": "field-content",
30724
30733
  className: F("nm-field-content", e),
30725
30734
  ...t
30726
30735
  });
30727
30736
  }
30728
- function MB({ className: e, ...t }) {
30729
- return /* @__PURE__ */ b(EB, {
30737
+ function FB({ className: e, ...t }) {
30738
+ return /* @__PURE__ */ b(kB, {
30730
30739
  "data-slot": "field-label",
30731
30740
  className: F("nm-field-label", e),
30732
30741
  ...t
30733
30742
  });
30734
30743
  }
30735
- function NB({ className: e, ...t }) {
30744
+ function IB({ className: e, ...t }) {
30736
30745
  return /* @__PURE__ */ b("div", {
30737
30746
  "data-slot": "field-title",
30738
30747
  className: F("nm-field-title", e),
30739
30748
  ...t
30740
30749
  });
30741
30750
  }
30742
- function PB({ className: e, ...t }) {
30751
+ function LB({ className: e, ...t }) {
30743
30752
  return /* @__PURE__ */ b("p", {
30744
30753
  "data-slot": "field-description",
30745
30754
  className: F("nm-field-description", e),
30746
30755
  ...t
30747
30756
  });
30748
30757
  }
30749
- function FB({ className: e, children: t, ...n }) {
30758
+ function RB({ className: e, children: t, ...n }) {
30750
30759
  return t == null ? null : /* @__PURE__ */ b("div", {
30751
30760
  "data-slot": "field-error",
30752
30761
  role: "alert",
@@ -30755,7 +30764,7 @@ function FB({ className: e, children: t, ...n }) {
30755
30764
  children: t
30756
30765
  });
30757
30766
  }
30758
- function IB({ className: e, children: t, ...n }) {
30767
+ function zB({ className: e, children: t, ...n }) {
30759
30768
  return /* @__PURE__ */ b("div", {
30760
30769
  "data-slot": "field-separator",
30761
30770
  "data-content": t == null ? void 0 : "",
@@ -30768,14 +30777,14 @@ function IB({ className: e, children: t, ...n }) {
30768
30777
  });
30769
30778
  }
30770
30779
  // src/ui/components/nm-gallery/nm-gallery.tsx
30771
- function LB({ className: e, ...t }) {
30780
+ function BB({ className: e, ...t }) {
30772
30781
  return /* @__PURE__ */ b("ul", {
30773
30782
  "data-slot": "gallery",
30774
30783
  className: F("nm-gallery", e),
30775
30784
  ...t
30776
30785
  });
30777
30786
  }
30778
- function RB({ className: e, label: t, selected: n, children: r, ...i }) {
30787
+ function VB({ className: e, label: t, selected: n, children: r, ...i }) {
30779
30788
  return /* @__PURE__ */ b("li", {
30780
30789
  className: "nm-gallery__cell",
30781
30790
  children: /* @__PURE__ */ x("button", {
@@ -30796,7 +30805,7 @@ function RB({ className: e, label: t, selected: n, children: r, ...i }) {
30796
30805
  });
30797
30806
  }
30798
30807
  // src/ui/components/nm-input-group/nm-input-group.tsx
30799
- function zB({ className: e, ...t }) {
30808
+ function HB({ className: e, ...t }) {
30800
30809
  return /* @__PURE__ */ b("div", {
30801
30810
  "data-slot": "input-group",
30802
30811
  role: "group",
@@ -30804,7 +30813,7 @@ function zB({ className: e, ...t }) {
30804
30813
  ...t
30805
30814
  });
30806
30815
  }
30807
- function BB({ className: e, align: t = "inline-start", ...n }) {
30816
+ function UB({ className: e, align: t = "inline-start", ...n }) {
30808
30817
  return /* @__PURE__ */ b("div", {
30809
30818
  "data-slot": "input-group-addon",
30810
30819
  "data-align": t,
@@ -30812,13 +30821,13 @@ function BB({ className: e, align: t = "inline-start", ...n }) {
30812
30821
  ...n
30813
30822
  });
30814
30823
  }
30815
- function VB({ className: e, ...t }) {
30824
+ function WB({ className: e, ...t }) {
30816
30825
  return /* @__PURE__ */ b("span", {
30817
30826
  className: F("nm-input-group__text", e),
30818
30827
  ...t
30819
30828
  });
30820
30829
  }
30821
- function HB({ className: e, ...t }) {
30830
+ function GB({ className: e, ...t }) {
30822
30831
  return /* @__PURE__ */ b(vi, {
30823
30832
  "data-slot": "input-group-control",
30824
30833
  className: F("nm-input-group__control", e),
@@ -30826,14 +30835,14 @@ function HB({ className: e, ...t }) {
30826
30835
  });
30827
30836
  }
30828
30837
  // src/ui/components/nm-kbd/nm-kbd.tsx
30829
- function UB({ className: e, ...t }) {
30838
+ function KB({ className: e, ...t }) {
30830
30839
  return /* @__PURE__ */ b("kbd", {
30831
30840
  "data-slot": "kbd",
30832
30841
  className: F("nm-kbd", e),
30833
30842
  ...t
30834
30843
  });
30835
30844
  }
30836
- function WB({ className: e, ...t }) {
30845
+ function qB({ className: e, ...t }) {
30837
30846
  return /* @__PURE__ */ b("span", {
30838
30847
  "data-slot": "kbd-group",
30839
30848
  className: F("nm-kbd__group", e),
@@ -30841,7 +30850,7 @@ function WB({ className: e, ...t }) {
30841
30850
  });
30842
30851
  }
30843
30852
  // src/ui/config/nm-list-item.ts
30844
- var GB = {
30853
+ var JB = {
30845
30854
  root: "nm-list-item",
30846
30855
  marked: "nm-list-item--marked",
30847
30856
  icon: "nm-list-item--icon",
@@ -30854,17 +30863,17 @@ var GB = {
30854
30863
  action: "nm-list-item__action",
30855
30864
  menu: "nm-list-item__menu",
30856
30865
  rest: "nm-list-item__rest"
30857
- }, KB = W("interface-nm-list-item");
30858
- function qB(e) {
30859
- KB.debug("render", e.title);
30866
+ }, YB = W("interface-nm-list-item");
30867
+ function XB(e) {
30868
+ YB.debug("render", e.title);
30860
30869
  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 : ""
30870
+ JB.root,
30871
+ r ? JB.marked : "",
30872
+ n ? JB.icon : "",
30873
+ t ? JB.face : ""
30865
30874
  ].filter((e) => e.length > 0).join(" "), a = null;
30866
30875
  return e.menuItems != null && e.menuItems.length > 0 ? a = /* @__PURE__ */ b("span", {
30867
- className: GB.menu,
30876
+ className: JB.menu,
30868
30877
  children: /* @__PURE__ */ b(xT, {
30869
30878
  label: e.menuLabel ?? e.title,
30870
30879
  trigger: lw.iconButton,
@@ -30875,7 +30884,7 @@ function qB(e) {
30875
30884
  onSelect: (t) => e.onMenuSelect?.(t)
30876
30885
  })
30877
30886
  }) : e.onMenu != null && (a = /* @__PURE__ */ b("button", {
30878
- className: `${GB.menu} ${q.revealHover}`,
30887
+ className: `${JB.menu} ${q.revealHover}`,
30879
30888
  type: "button",
30880
30889
  "aria-label": e.menuLabel ?? e.title,
30881
30890
  onClick: e.onMenu,
@@ -30884,33 +30893,33 @@ function qB(e) {
30884
30893
  className: i,
30885
30894
  "data-nm-menu": "",
30886
30895
  children: [/* @__PURE__ */ x("span", {
30887
- className: GB.identity,
30896
+ className: JB.identity,
30888
30897
  children: [e.leading == null ? null : /* @__PURE__ */ b("span", {
30889
- className: GB.lead,
30898
+ className: JB.lead,
30890
30899
  children: e.leading
30891
30900
  }), e.onOpen ? /* @__PURE__ */ b("button", {
30892
30901
  type: "button",
30893
- className: GB.open,
30902
+ className: JB.open,
30894
30903
  onClick: e.onOpen,
30895
30904
  children: /* @__PURE__ */ b("span", {
30896
- className: GB.title,
30905
+ className: JB.title,
30897
30906
  children: e.title
30898
30907
  })
30899
30908
  }) : /* @__PURE__ */ b("span", {
30900
- className: GB.title,
30909
+ className: JB.title,
30901
30910
  children: e.title
30902
30911
  })]
30903
30912
  }), /* @__PURE__ */ b("span", { children: e.locked ? /* @__PURE__ */ b(G, { id: "lock" }) : /* @__PURE__ */ x(y, { children: [
30904
30913
  e.action ? /* @__PURE__ */ b("span", {
30905
- className: GB.action,
30914
+ className: JB.action,
30906
30915
  children: e.action
30907
30916
  }) : null,
30908
30917
  e.detail ? /* @__PURE__ */ b("span", {
30909
- className: GB.detail,
30918
+ className: JB.detail,
30910
30919
  children: e.detail
30911
30920
  }) : null,
30912
30921
  e.resting === "lock" ? /* @__PURE__ */ b("span", {
30913
- className: GB.rest,
30922
+ className: JB.rest,
30914
30923
  children: /* @__PURE__ */ b(G, { id: "lock" })
30915
30924
  }) : null,
30916
30925
  a
@@ -30918,20 +30927,20 @@ function qB(e) {
30918
30927
  });
30919
30928
  }
30920
30929
  // src/ui/components/nm-menubar/nm-menubar.tsx
30921
- function JB({ className: e, ...t }) {
30930
+ function ZB({ className: e, ...t }) {
30922
30931
  return /* @__PURE__ */ b(Kd, {
30923
30932
  "data-slot": "menubar",
30924
30933
  className: F("nm-menubar", e),
30925
30934
  ...t
30926
30935
  });
30927
30936
  }
30928
- function YB(e) {
30937
+ function QB(e) {
30929
30938
  return /* @__PURE__ */ b(Wu.Root, {
30930
30939
  "data-slot": "menubar-menu",
30931
30940
  ...e
30932
30941
  });
30933
30942
  }
30934
- function XB({ className: e, ...t }) {
30943
+ function $B({ className: e, ...t }) {
30935
30944
  return /* @__PURE__ */ b(Wu.Trigger, {
30936
30945
  "data-slot": "menubar-trigger",
30937
30946
  className: F("nm-menubar__trigger", e),
@@ -30939,20 +30948,20 @@ function XB({ className: e, ...t }) {
30939
30948
  });
30940
30949
  }
30941
30950
  // src/ui/config/nm-modal.ts
30942
- var ZB = {
30951
+ var eV = {
30943
30952
  section: "section",
30944
30953
  page: "page"
30945
- }, QB = {
30954
+ }, tV = {
30946
30955
  simple: "simple",
30947
30956
  menu: "menu",
30948
30957
  wide: "wide"
30949
- }, $B = {
30958
+ }, nV = {
30950
30959
  modal: "modal",
30951
30960
  pane: "pane"
30952
- }, eV = {
30961
+ }, rV = {
30953
30962
  quiet: "quiet",
30954
30963
  primary: "primary"
30955
- }, tV = 750, nV = {
30964
+ }, iV = 750, aV = {
30956
30965
  layer: "nm-modal-layer",
30957
30966
  root: "nm-modal",
30958
30967
  simple: "nm-modal--simple",
@@ -30995,54 +31004,54 @@ var ZB = {
30995
31004
  actionQuiet: "nm-modal__action--quiet",
30996
31005
  actionPrimary: "nm-modal__action--primary",
30997
31006
  tabs: "nm-modal__tabs"
30998
- }, rV = "sv-SE", iV = /* @__PURE__ */ new Set();
30999
- function aV() {
31000
- return rV;
31007
+ }, oV = "sv-SE", sV = /* @__PURE__ */ new Set();
31008
+ function cV() {
31009
+ return oV;
31001
31010
  }
31002
- function oV(e) {
31003
- return iV.add(e), () => {
31004
- iV.delete(e);
31011
+ function lV(e) {
31012
+ return sV.add(e), () => {
31013
+ sV.delete(e);
31005
31014
  };
31006
31015
  }
31007
- function sV() {
31008
- return m(oV, aV, aV);
31016
+ function uV() {
31017
+ return m(lV, cV, cV);
31009
31018
  }
31010
- function cV(e) {
31019
+ function dV(e) {
31011
31020
  let t = e === "auto" && typeof navigator < "u" ? navigator.language : e;
31012
31021
  return /^en\b/i.test(t);
31013
31022
  }
31014
31023
  // src/ui/content/nm-modal.ts
31015
- function lV() {
31016
- return cV(aV()) ? "Saved" : "Sparat";
31024
+ function fV() {
31025
+ return dV(cV()) ? "Saved" : "Sparat";
31017
31026
  }
31018
31027
  // src/ui/components/nm-modal/nm-modal.tsx
31019
- var uV = W("interface-nm-modal"), dV = 1200, fV = 400, pV = i({
31028
+ var pV = W("interface-nm-modal"), mV = 1200, hV = 400, gV = i({
31020
31029
  phase: "idle",
31021
31030
  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);
31031
+ }), _V = [], vV = i(!1), yV = [], bV = /* @__PURE__ */ new Map(), xV = 0;
31032
+ function SV() {
31033
+ return [...bV.values()].some((e) => e);
31025
31034
  }
31026
- function bV() {
31027
- let e = yV();
31028
- gV[gV.length - 1]?.(e);
31035
+ function CV() {
31036
+ let e = SV();
31037
+ yV[yV.length - 1]?.(e);
31029
31038
  }
31030
- function xV(e, t = !0) {
31039
+ function wV(e, t = !0) {
31031
31040
  let n = f(0);
31032
- n.current === 0 && (vV += 1, n.current = vV), u(() => {
31041
+ n.current === 0 && (xV += 1, n.current = xV), u(() => {
31033
31042
  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();
31043
+ return t ? (bV.set(r, e), CV(), () => {
31044
+ bV.delete(r), CV();
31045
+ }) : (bV.delete(r), CV(), () => {
31046
+ bV.delete(r), CV();
31038
31047
  });
31039
31048
  }, [e, t]);
31040
31049
  }
31041
- function SV() {
31042
- let e = s(pV).track;
31043
- return (t) => (mV[mV.length - 1] ?? e)(t);
31050
+ function TV() {
31051
+ let e = s(gV).track;
31052
+ return (t) => (_V[_V.length - 1] ?? e)(t);
31044
31053
  }
31045
- function CV(e) {
31054
+ function EV(e) {
31046
31055
  let [t, n] = p("idle"), [r, i] = p(!1), a = o((e) => {
31047
31056
  i((t) => t === e ? t : e);
31048
31057
  }, []), s = f(null), l = () => {
@@ -31052,47 +31061,47 @@ function CV(e) {
31052
31061
  let d = o((e) => {
31053
31062
  l(), n("saving");
31054
31063
  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));
31064
+ return pV.debug("save", "start"), e.then((e) => new Promise((r) => {
31065
+ let i = Math.max(0, hV - (Date.now() - t));
31057
31066
  s.current = window.setTimeout(() => {
31058
- uV.info("save", "confirmed"), n("saved"), s.current = window.setTimeout(() => {
31067
+ pV.info("save", "confirmed"), n("saved"), s.current = window.setTimeout(() => {
31059
31068
  n("idle"), s.current = null, r(e);
31060
- }, dV);
31069
+ }, mV);
31061
31070
  }, i);
31062
31071
  }), (e) => {
31063
- throw uV.warn("save", "failed", { error: e }), n("idle"), e;
31072
+ throw pV.warn("save", "failed", { error: e }), n("idle"), e;
31064
31073
  });
31065
31074
  }, []);
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, {
31075
+ return c(() => (_V.push(d), () => {
31076
+ let e = _V.lastIndexOf(d);
31077
+ e >= 0 && _V.splice(e, 1);
31078
+ }), [d]), u(() => (yV.push(a), a(SV()), () => {
31079
+ let e = yV.lastIndexOf(a);
31080
+ e >= 0 && yV.splice(e, 1);
31081
+ }), [a]), /* @__PURE__ */ b(gV.Provider, {
31073
31082
  value: {
31074
31083
  phase: t,
31075
31084
  track: d
31076
31085
  },
31077
- children: /* @__PURE__ */ b(hV.Provider, {
31086
+ children: /* @__PURE__ */ b(vV.Provider, {
31078
31087
  value: r,
31079
31088
  children: e.children
31080
31089
  })
31081
31090
  });
31082
31091
  }
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);
31092
+ var DV = "a[href], button:not([disabled]), textarea:not([disabled]), input:not([disabled]), select:not([disabled]), [tabindex]:not([tabindex=\"-1\"])";
31093
+ function OV(e) {
31094
+ return [...e.querySelectorAll(DV)].filter((e) => e.tabIndex !== -1);
31086
31095
  }
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(" ");
31096
+ function kV(e) {
31097
+ 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 = [
31098
+ aV.root,
31099
+ s === tV.simple ? aV.simple : "",
31100
+ s === tV.menu || s === tV.wide ? aV.menu : "",
31101
+ s === tV.wide ? aV.wide : ""
31102
+ ].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
31103
  c(() => {
31095
- uV.debug("presence", r, {
31104
+ pV.debug("presence", r, {
31096
31105
  open: t,
31097
31106
  size: s,
31098
31107
  footer: d
@@ -31138,7 +31147,7 @@ function EV(e) {
31138
31147
  let t = a.current;
31139
31148
  if (t == null) return;
31140
31149
  let n = document.activeElement;
31141
- return o.current = n instanceof HTMLElement ? n : null, (TV(t)[0] ?? t).focus({ preventScroll: !0 }), () => {
31150
+ return o.current = n instanceof HTMLElement ? n : null, (OV(t)[0] ?? t).focus({ preventScroll: !0 }), () => {
31142
31151
  o.current?.focus({ preventScroll: !0 }), o.current = null;
31143
31152
  };
31144
31153
  }, [e.open]);
@@ -31159,7 +31168,7 @@ function EV(e) {
31159
31168
  if (e.key !== "Tab") return;
31160
31169
  let t = a.current;
31161
31170
  if (t == null) return;
31162
- let n = TV(t);
31171
+ let n = OV(t);
31163
31172
  if (n.length === 0) {
31164
31173
  e.preventDefault();
31165
31174
  return;
@@ -31174,16 +31183,16 @@ function EV(e) {
31174
31183
  };
31175
31184
  if (typeof document > "u") return null;
31176
31185
  let S = e.actions != null || e.leading != null, C = /* @__PURE__ */ x(y, { children: [e.paneTitle == null ? null : /* @__PURE__ */ b("div", {
31177
- className: nV.paneTitle,
31186
+ className: aV.paneTitle,
31178
31187
  children: e.paneTitle
31179
31188
  }), /* @__PURE__ */ b("div", {
31180
- className: nV.body,
31189
+ className: aV.body,
31181
31190
  children: e.children
31182
31191
  })] });
31183
- return w(e.open ? /* @__PURE__ */ b(CV, { children: /* @__PURE__ */ x("div", {
31184
- className: nV.layer,
31192
+ return w(e.open ? /* @__PURE__ */ b(EV, { children: /* @__PURE__ */ x("div", {
31193
+ className: aV.layer,
31185
31194
  children: [/* @__PURE__ */ b("div", {
31186
- className: nV.backdrop,
31195
+ className: aV.backdrop,
31187
31196
  "aria-hidden": "true",
31188
31197
  onMouseDown: e.onClose
31189
31198
  }), /* @__PURE__ */ x("div", {
@@ -31200,7 +31209,7 @@ function EV(e) {
31200
31209
  onMouseDown: (e) => e.stopPropagation(),
31201
31210
  children: [
31202
31211
  /* @__PURE__ */ x("div", {
31203
- className: nV.titleBar,
31212
+ className: aV.titleBar,
31204
31213
  children: [/* @__PURE__ */ b("h2", {
31205
31214
  id: i,
31206
31215
  className: h,
@@ -31208,19 +31217,19 @@ function EV(e) {
31208
31217
  }), e.titleEnd]
31209
31218
  }),
31210
31219
  e.menu == null ? C : /* @__PURE__ */ x("div", {
31211
- className: nV.layout,
31220
+ className: aV.layout,
31212
31221
  children: [/* @__PURE__ */ b("div", {
31213
- className: nV.nav,
31222
+ className: aV.nav,
31214
31223
  children: e.menu
31215
31224
  }), /* @__PURE__ */ b("div", {
31216
- className: nV.main,
31225
+ className: aV.main,
31217
31226
  children: C
31218
31227
  })]
31219
31228
  }),
31220
31229
  S ? /* @__PURE__ */ x("div", {
31221
31230
  className: g,
31222
- children: [d === $B.pane ? e.leading : null, /* @__PURE__ */ b("div", {
31223
- className: nV.actionsEnd,
31231
+ children: [d === nV.pane ? e.leading : null, /* @__PURE__ */ b("div", {
31232
+ className: aV.actionsEnd,
31224
31233
  children: e.actions
31225
31234
  })]
31226
31235
  }) : null
@@ -31228,24 +31237,24 @@ function EV(e) {
31228
31237
  })]
31229
31238
  }) }) : null, document.body);
31230
31239
  }
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
31240
+ function AV(e) {
31241
+ uV();
31242
+ 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 = [
31243
+ aV.action,
31244
+ d ? aV.actionIcon : "",
31245
+ t === rV.primary ? aV.actionPrimary : aV.actionQuiet
31237
31246
  ].filter((e) => e !== "").join(" "), p;
31238
31247
  return d ? (p = e.accessibleName ?? e.icon, /* @__PURE__ */ b(UC, {
31239
31248
  glyph: l,
31240
31249
  label: p,
31241
- tone: t === eV.primary ? AC.invert : AC.panel,
31250
+ tone: t === rV.primary ? AC.invert : AC.panel,
31242
31251
  type: e.type ?? "button",
31243
31252
  form: e.form,
31244
31253
  disabled: e.disabled || a || c,
31245
31254
  "data-save": i ? n : void 0,
31246
31255
  testId: e.testId,
31247
31256
  busy: a || void 0,
31248
- className: nV.action,
31257
+ className: aV.action,
31249
31258
  onClick: e.onClick
31250
31259
  })) : (o && (p = u), /* @__PURE__ */ x("button", {
31251
31260
  className: f,
@@ -31261,7 +31270,7 @@ function DV(e) {
31261
31270
  }));
31262
31271
  }
31263
31272
  // src/ui/components/nm-native-select/nm-native-select.tsx
31264
- function OV({ className: e, children: t, ...n }) {
31273
+ function jV({ className: e, children: t, ...n }) {
31265
31274
  return /* @__PURE__ */ x("div", {
31266
31275
  className: "nm-native-select",
31267
31276
  children: [/* @__PURE__ */ b("select", {
@@ -31275,25 +31284,25 @@ function OV({ className: e, children: t, ...n }) {
31275
31284
  })]
31276
31285
  });
31277
31286
  }
31278
- function kV(e) {
31287
+ function MV(e) {
31279
31288
  return /* @__PURE__ */ b("option", {
31280
31289
  "data-slot": "native-select-option",
31281
31290
  ...e
31282
31291
  });
31283
31292
  }
31284
- function AV(e) {
31293
+ function NV(e) {
31285
31294
  return /* @__PURE__ */ b("optgroup", {
31286
31295
  "data-slot": "native-select-optgroup",
31287
31296
  ...e
31288
31297
  });
31289
31298
  }
31290
31299
  // src/ui/components/nm-panel/nm-panel.tsx
31291
- var jV = [
31300
+ var PV = [
31292
31301
  "default",
31293
31302
  "inset",
31294
31303
  "plain"
31295
- ], MV = ["full", "column"];
31296
- function NV({ className: e, variant: t = "default", measure: n = "full", ...r }) {
31304
+ ], FV = ["full", "column"];
31305
+ function IV({ className: e, variant: t = "default", measure: n = "full", ...r }) {
31297
31306
  return /* @__PURE__ */ b("section", {
31298
31307
  "data-slot": "panel",
31299
31308
  "data-variant": t,
@@ -31302,42 +31311,42 @@ function NV({ className: e, variant: t = "default", measure: n = "full", ...r })
31302
31311
  ...r
31303
31312
  });
31304
31313
  }
31305
- function PV({ className: e, ...t }) {
31314
+ function LV({ className: e, ...t }) {
31306
31315
  return /* @__PURE__ */ b("header", {
31307
31316
  "data-slot": "panel-header",
31308
31317
  className: F("nm-panel-region__header", e),
31309
31318
  ...t
31310
31319
  });
31311
31320
  }
31312
- function FV({ className: e, ...t }) {
31321
+ function RV({ className: e, ...t }) {
31313
31322
  return /* @__PURE__ */ b("h2", {
31314
31323
  "data-slot": "panel-title",
31315
31324
  className: F("nm-panel-region__title", e),
31316
31325
  ...t
31317
31326
  });
31318
31327
  }
31319
- function IV({ className: e, ...t }) {
31328
+ function zV({ className: e, ...t }) {
31320
31329
  return /* @__PURE__ */ b("p", {
31321
31330
  "data-slot": "panel-description",
31322
31331
  className: F("nm-panel-region__description", e),
31323
31332
  ...t
31324
31333
  });
31325
31334
  }
31326
- function LV({ className: e, ...t }) {
31335
+ function BV({ className: e, ...t }) {
31327
31336
  return /* @__PURE__ */ b("div", {
31328
31337
  "data-slot": "panel-actions",
31329
31338
  className: F("nm-panel-region__actions", e),
31330
31339
  ...t
31331
31340
  });
31332
31341
  }
31333
- function RV({ className: e, ...t }) {
31342
+ function VV({ className: e, ...t }) {
31334
31343
  return /* @__PURE__ */ b("div", {
31335
31344
  "data-slot": "panel-content",
31336
31345
  className: F("nm-panel-region__content", e),
31337
31346
  ...t
31338
31347
  });
31339
31348
  }
31340
- function zV({ className: e, ...t }) {
31349
+ function HV({ className: e, ...t }) {
31341
31350
  return /* @__PURE__ */ b("footer", {
31342
31351
  "data-slot": "panel-footer",
31343
31352
  className: F("nm-panel-region__footer", e),
@@ -31345,12 +31354,12 @@ function zV({ className: e, ...t }) {
31345
31354
  });
31346
31355
  }
31347
31356
  // src/ui/config/nm-segmented.ts
31348
- var BV = {
31357
+ var UV = {
31349
31358
  fill: "fill",
31350
31359
  line: "line",
31351
31360
  pills: "pills",
31352
31361
  track: "track"
31353
- }, VV = {
31362
+ }, WV = {
31354
31363
  root: "nm-segmented",
31355
31364
  fill: "nm-segmented--fill",
31356
31365
  line: "nm-segmented--line",
@@ -31359,29 +31368,29 @@ var BV = {
31359
31368
  item: "nm-segmented__item",
31360
31369
  itemIcon: "nm-segmented__item--icon",
31361
31370
  icon: "nm-segmented__icon"
31362
- }, HV = W("interface-nm-segmented");
31363
- function UV(e) {
31371
+ }, GV = W("interface-nm-segmented");
31372
+ function KV(e) {
31364
31373
  return e.imageSrc ? /* @__PURE__ */ b("img", {
31365
- className: VV.icon,
31374
+ className: WV.icon,
31366
31375
  src: e.imageSrc,
31367
31376
  alt: ""
31368
31377
  }) : e.icon ? /* @__PURE__ */ b(G, {
31369
31378
  id: e.icon,
31370
- className: VV.icon
31379
+ className: WV.icon
31371
31380
  }) : null;
31372
31381
  }
31373
- function WV(e) {
31374
- let t = e.tone ?? BV.line;
31375
- return HV.debug("render", e.active, {
31382
+ function qV(e) {
31383
+ let t = e.tone ?? UV.line;
31384
+ return GV.debug("render", e.active, {
31376
31385
  tone: t,
31377
31386
  items: e.items.length
31378
31387
  }), /* @__PURE__ */ b("div", {
31379
- className: `${VV.root} ${VV[t]}`,
31388
+ className: `${WV.root} ${WV[t]}`,
31380
31389
  role: "radiogroup",
31381
31390
  "aria-label": e.label,
31382
31391
  "data-testid": e.testId,
31383
31392
  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;
31393
+ let n = t.id === e.active, r = t.iconOnly === !0, i = r ? `${WV.item} ${WV.itemIcon} ${jC.root} ${jC[AC.quiet]}` : WV.item;
31385
31394
  return /* @__PURE__ */ x("button", {
31386
31395
  className: i,
31387
31396
  type: "button",
@@ -31390,23 +31399,23 @@ function WV(e) {
31390
31399
  "aria-checked": n,
31391
31400
  "data-active": n ? "true" : "false",
31392
31401
  onClick: () => e.onSelect(t.id),
31393
- children: [UV(t), r ? null : t.label]
31402
+ children: [KV(t), r ? null : t.label]
31394
31403
  }, t.id);
31395
31404
  })
31396
31405
  });
31397
31406
  }
31398
31407
  // src/ui/config/nm-panel-bar.ts
31399
- var GV = { icons: "icons" }, KV = {
31408
+ var JV = { icons: "icons" }, YV = {
31400
31409
  root: "nm-panel-bar",
31401
31410
  icons: "nm-panel-bar--icons",
31402
31411
  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,
31412
+ }, XV = W("interface-nm-panel-bar");
31413
+ function ZV(e) {
31414
+ return XV.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ x("header", {
31415
+ className: e.layout === JV.icons ? `${YV.root} ${YV.icons}` : YV.root,
31407
31416
  "aria-label": e.label,
31408
31417
  "data-testid": e.testId,
31409
- children: [/* @__PURE__ */ b(WV, {
31418
+ children: [/* @__PURE__ */ b(qV, {
31410
31419
  label: e.toggleLabel,
31411
31420
  active: e.active,
31412
31421
  testId: e.toggleTestId,
@@ -31414,17 +31423,17 @@ function JV(e) {
31414
31423
  items: e.items,
31415
31424
  onSelect: e.onSelect
31416
31425
  }), e.trailing ? /* @__PURE__ */ b("div", {
31417
- className: KV.actions,
31426
+ className: YV.actions,
31418
31427
  children: e.trailing
31419
31428
  }) : null]
31420
31429
  });
31421
31430
  }
31422
31431
  // src/ui/config/nm-questionnaire.ts
31423
- var YV = [
31432
+ var QV = [
31424
31433
  "none",
31425
31434
  "letters",
31426
31435
  "numbers"
31427
- ], XV = ["card", "plain"], ZV = {
31436
+ ], $V = ["card", "plain"], eH = {
31428
31437
  previous: "Previous",
31429
31438
  next: "Next",
31430
31439
  skip: "Skip",
@@ -31432,7 +31441,7 @@ var YV = [
31432
31441
  required: "Choose an answer to continue.",
31433
31442
  progress: (e, t) => `Question ${e + 1} of ${t}`,
31434
31443
  skipped: "Skipped"
31435
- }, QV = {
31444
+ }, tH = {
31436
31445
  root: "nm-questionnaire",
31437
31446
  card: "nm-questionnaire--card",
31438
31447
  progress: "nm-questionnaire__progress",
@@ -31451,17 +31460,17 @@ var YV = [
31451
31460
  error: "nm-questionnaire__error",
31452
31461
  actions: "nm-questionnaire__actions",
31453
31462
  summary: "nm-questionnaire__summary"
31454
- }, $V = {
31463
+ }, nH = {
31455
31464
  values: [],
31456
31465
  text: ""
31457
31466
  };
31458
- function eH(e) {
31467
+ function rH(e) {
31459
31468
  return e != null && (e.values.length > 0 || e.text.trim() !== "");
31460
31469
  }
31461
- function tH(e, t) {
31470
+ function iH(e, t) {
31462
31471
  return e === "letters" ? String.fromCharCode(97 + t) : e === "numbers" ? String(t + 1) : null;
31463
31472
  }
31464
- function nH(e) {
31473
+ function aH(e) {
31465
31474
  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
31475
  c(() => {
31467
31476
  u.current?.querySelector(`[data-step="${a}"] input:checked, [data-step="${a}"] input`)?.focus({ preventScroll: !0 });
@@ -31474,7 +31483,7 @@ function nH(e) {
31474
31483
  l(null), r(a), e.onChange?.(a);
31475
31484
  }
31476
31485
  function _(e, t) {
31477
- let n = i[e.name] ?? $V;
31486
+ let n = i[e.name] ?? nH;
31478
31487
  if (e.multiple === !0) {
31479
31488
  let r = n.values.includes(t);
31480
31489
  g(e.name, {
@@ -31487,87 +31496,87 @@ function nH(e) {
31487
31496
  });
31488
31497
  }
31489
31498
  function v(e, t) {
31490
- let n = i[e.name] ?? $V;
31499
+ let n = i[e.name] ?? nH;
31491
31500
  g(e.name, {
31492
31501
  values: e.multiple === !0 ? n.values : [],
31493
31502
  text: t
31494
31503
  });
31495
31504
  }
31496
31505
  function y(e) {
31497
- return e.required !== !0 || eH(i[e.name]);
31506
+ return e.required !== !0 || rH(i[e.name]);
31498
31507
  }
31499
31508
  function S(e) {
31500
31509
  l(null), o(e);
31501
31510
  }
31502
31511
  function C() {
31503
- y(h) ? S(a + 1) : l(ZV.required);
31512
+ y(h) ? S(a + 1) : l(eH.required);
31504
31513
  }
31505
31514
  function w() {
31506
31515
  let n = t.findIndex((e) => !y(e));
31507
- n === -1 ? e.onSubmit(i) : (o(n), l(ZV.required));
31516
+ n === -1 ? e.onSubmit(i) : (o(n), l(eH.required));
31508
31517
  }
31509
31518
  function T(e) {
31510
31519
  let t = e.target;
31511
31520
  if (d === "none" || t.tagName === "INPUT" && t.type === "text") return;
31512
- let n = h.choices.findIndex((t, n) => tH(d, n) === e.key.toLowerCase());
31521
+ let n = h.choices.findIndex((t, n) => iH(d, n) === e.key.toLowerCase());
31513
31522
  n === -1 || e.metaKey || e.ctrlKey || e.altKey || (e.preventDefault(), _(h, h.choices[n].value));
31514
31523
  }
31515
31524
  return e.submitted === !0 ? /* @__PURE__ */ b("div", {
31516
- className: `${QV.root}${e.variant === "plain" ? "" : ` ${QV.card}`}`,
31525
+ className: `${tH.root}${e.variant === "plain" ? "" : ` ${tH.card}`}`,
31517
31526
  children: /* @__PURE__ */ b("ul", {
31518
- className: QV.summary,
31527
+ className: tH.summary,
31519
31528
  children: t.map((e) => {
31520
31529
  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);
31530
+ 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
31531
  })
31523
31532
  })
31524
31533
  }) : /* @__PURE__ */ x("form", {
31525
31534
  ref: u,
31526
- className: `${QV.root}${e.variant === "plain" ? "" : ` ${QV.card}`}`,
31535
+ className: `${tH.root}${e.variant === "plain" ? "" : ` ${tH.card}`}`,
31527
31536
  onKeyDown: T,
31528
31537
  onSubmit: (e) => {
31529
31538
  e.preventDefault(), m ? w() : C();
31530
31539
  },
31531
31540
  children: [
31532
31541
  /* @__PURE__ */ x("div", {
31533
- className: QV.progress,
31542
+ className: tH.progress,
31534
31543
  children: [/* @__PURE__ */ b("span", {
31535
- className: QV.progressLabel,
31536
- children: ZV.progress(a, t.length)
31544
+ className: tH.progressLabel,
31545
+ children: eH.progress(a, t.length)
31537
31546
  }), /* @__PURE__ */ b(TT, {
31538
31547
  value: a + 1,
31539
31548
  max: t.length,
31540
- "aria-label": ZV.progress(a, t.length)
31549
+ "aria-label": eH.progress(a, t.length)
31541
31550
  })]
31542
31551
  }),
31543
31552
  t.map((e, t) => {
31544
- let n = i[e.name] ?? $V, r = t === a, o = `${e.name}-description`;
31553
+ let n = i[e.name] ?? nH, r = t === a, o = `${e.name}-description`;
31545
31554
  return /* @__PURE__ */ x("fieldset", {
31546
- className: QV.item,
31555
+ className: tH.item,
31547
31556
  hidden: !r,
31548
31557
  "data-step": t,
31549
31558
  "aria-describedby": o,
31550
31559
  "aria-invalid": r && s != null ? !0 : void 0,
31551
31560
  children: [
31552
31561
  /* @__PURE__ */ b("legend", {
31553
- className: QV.title,
31562
+ className: tH.title,
31554
31563
  children: e.title
31555
31564
  }),
31556
31565
  e.description ? /* @__PURE__ */ b("p", {
31557
31566
  id: o,
31558
- className: QV.description,
31567
+ className: tH.description,
31559
31568
  children: e.description
31560
31569
  }) : null,
31561
31570
  /* @__PURE__ */ x("div", {
31562
- className: QV.choices,
31571
+ className: tH.choices,
31563
31572
  children: [e.choices.map((t, r) => {
31564
- let i = tH(d, r), a = n.values.includes(t.value);
31573
+ let i = iH(d, r), a = n.values.includes(t.value);
31565
31574
  return /* @__PURE__ */ x("label", {
31566
- className: QV.choice,
31575
+ className: tH.choice,
31567
31576
  "data-multiple": e.multiple === !0 ? "true" : void 0,
31568
31577
  children: [
31569
31578
  /* @__PURE__ */ b("input", {
31570
- className: QV.input,
31579
+ className: tH.input,
31571
31580
  type: e.multiple === !0 ? "checkbox" : "radio",
31572
31581
  name: e.name,
31573
31582
  value: t.value,
@@ -31575,22 +31584,22 @@ function nH(e) {
31575
31584
  onChange: () => _(e, t.value)
31576
31585
  }),
31577
31586
  /* @__PURE__ */ b("span", {
31578
- className: QV.mark,
31587
+ className: tH.mark,
31579
31588
  "aria-hidden": "true",
31580
31589
  children: a ? /* @__PURE__ */ b(G, { id: "check" }) : null
31581
31590
  }),
31582
31591
  /* @__PURE__ */ x("span", {
31583
- className: QV.choiceBody,
31592
+ className: tH.choiceBody,
31584
31593
  children: [/* @__PURE__ */ b("span", {
31585
- className: QV.choiceLabel,
31594
+ className: tH.choiceLabel,
31586
31595
  children: t.label
31587
31596
  }), t.description ? /* @__PURE__ */ b("span", {
31588
- className: QV.choiceDescription,
31597
+ className: tH.choiceDescription,
31589
31598
  children: t.description
31590
31599
  }) : null]
31591
31600
  }),
31592
31601
  i ? /* @__PURE__ */ b("kbd", {
31593
- className: QV.key,
31602
+ className: tH.key,
31594
31603
  "aria-hidden": "true",
31595
31604
  children: i
31596
31605
  }) : null
@@ -31606,7 +31615,7 @@ function nH(e) {
31606
31615
  }) : null]
31607
31616
  }),
31608
31617
  r && s != null ? /* @__PURE__ */ b("p", {
31609
- className: QV.error,
31618
+ className: tH.error,
31610
31619
  role: "alert",
31611
31620
  children: s
31612
31621
  }) : null
@@ -31614,28 +31623,28 @@ function nH(e) {
31614
31623
  }, e.name);
31615
31624
  }),
31616
31625
  /* @__PURE__ */ x("div", {
31617
- className: QV.actions,
31626
+ className: tH.actions,
31618
31627
  children: [
31619
31628
  a > 0 ? /* @__PURE__ */ b(kC, {
31620
- label: ZV.previous,
31629
+ label: eH.previous,
31621
31630
  tone: "outline",
31622
31631
  size: "compact",
31623
31632
  onClick: () => S(a - 1)
31624
31633
  }) : null,
31625
31634
  /* @__PURE__ */ b("span", { "data-push": "" }),
31626
31635
  h.required !== !0 && !m ? /* @__PURE__ */ b(kC, {
31627
- label: ZV.skip,
31636
+ label: eH.skip,
31628
31637
  tone: "outline",
31629
31638
  size: "compact",
31630
31639
  onClick: () => S(a + 1)
31631
31640
  }) : null,
31632
31641
  m ? /* @__PURE__ */ b(kC, {
31633
- label: e.submitLabel ?? ZV.submit,
31642
+ label: e.submitLabel ?? eH.submit,
31634
31643
  tone: "filled",
31635
31644
  size: "compact",
31636
31645
  type: "submit"
31637
31646
  }) : /* @__PURE__ */ b(kC, {
31638
- label: ZV.next,
31647
+ label: eH.next,
31639
31648
  tone: "filled",
31640
31649
  size: "compact",
31641
31650
  type: "submit"
@@ -31646,14 +31655,14 @@ function nH(e) {
31646
31655
  });
31647
31656
  }
31648
31657
  // src/ui/components/nm-radio-group/nm-radio-group.tsx
31649
- function rH({ className: e, ...t }) {
31658
+ function oH({ className: e, ...t }) {
31650
31659
  return /* @__PURE__ */ b(ie, {
31651
31660
  "data-slot": "radio-group",
31652
31661
  className: F("nm-radio-group", e),
31653
31662
  ...t
31654
31663
  });
31655
31664
  }
31656
- function iH({ className: e, ...t }) {
31665
+ function sH({ className: e, ...t }) {
31657
31666
  return /* @__PURE__ */ b(rp.Root, {
31658
31667
  "data-slot": "radio-group-item",
31659
31668
  className: F("nm-radio", e),
@@ -31665,7 +31674,7 @@ function iH({ className: e, ...t }) {
31665
31674
  });
31666
31675
  }
31667
31676
  // src/ui/components/nm-rail-icon/nm-rail-icon.tsx
31668
- var aH = W("interface-nm-rail-icon"), oH = {
31677
+ var cH = W("interface-nm-rail-icon"), lH = {
31669
31678
  plus: "plus",
31670
31679
  plusSm: "plus",
31671
31680
  folder: "folder",
@@ -31677,29 +31686,29 @@ var aH = W("interface-nm-rail-icon"), oH = {
31677
31686
  settings: "settings",
31678
31687
  search: "search"
31679
31688
  };
31680
- function sH(e) {
31681
- return aH.debug("render", e.id), /* @__PURE__ */ b(hC, {
31682
- id: oH[e.id],
31689
+ function uH(e) {
31690
+ return cH.debug("render", e.id), /* @__PURE__ */ b(hC, {
31691
+ id: lH[e.id],
31683
31692
  className: "nm-rail-icon"
31684
31693
  });
31685
31694
  }
31686
31695
  // src/ui/config/nm-sidebar.ts
31687
- var cH = ["left", "right"], lH = [
31696
+ var dH = ["left", "right"], fH = [
31688
31697
  "sidebar",
31689
31698
  "floating",
31690
31699
  "inset"
31691
- ], uH = [
31700
+ ], pH = [
31692
31701
  "offcanvas",
31693
31702
  "icon",
31694
31703
  "toggle",
31695
31704
  "none"
31696
- ], dH = ["expanded", "collapsed"], fH = [
31705
+ ], mH = ["expanded", "collapsed"], hH = [
31697
31706
  "sm",
31698
31707
  "default",
31699
31708
  "lg"
31700
- ], pH = ["default", "outline"], mH = "b", hH = 200, gH = "(max-width: 48rem)";
31709
+ ], gH = ["default", "outline"], _H = "b", vH = 200, yH = "(max-width: 48rem)";
31701
31710
  // src/ui/components/nm-skeleton/nm-skeleton.tsx
31702
- function _H({ className: e, ...t }) {
31711
+ function bH({ className: e, ...t }) {
31703
31712
  return /* @__PURE__ */ b("div", {
31704
31713
  "data-slot": "skeleton",
31705
31714
  className: F("nm-skeleton", e),
@@ -31707,26 +31716,26 @@ function _H({ className: e, ...t }) {
31707
31716
  });
31708
31717
  }
31709
31718
  // src/ui/components/nm-tooltip/nm-tooltip.tsx
31710
- function vH({ delay: e = 0, ...t }) {
31719
+ function xH({ delay: e = 0, ...t }) {
31711
31720
  return /* @__PURE__ */ b(bh.Provider, {
31712
31721
  "data-slot": "tooltip-provider",
31713
31722
  delay: e,
31714
31723
  ...t
31715
31724
  });
31716
31725
  }
31717
- function yH(e) {
31726
+ function SH(e) {
31718
31727
  return /* @__PURE__ */ b(bh.Root, {
31719
31728
  "data-slot": "tooltip",
31720
31729
  ...e
31721
31730
  });
31722
31731
  }
31723
- function bH(e) {
31732
+ function CH(e) {
31724
31733
  return /* @__PURE__ */ b(bh.Trigger, {
31725
31734
  "data-slot": "tooltip-trigger",
31726
31735
  ...e
31727
31736
  });
31728
31737
  }
31729
- function xH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...o }) {
31738
+ function wH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "center", alignOffset: i = 0, children: a, ...o }) {
31730
31739
  return /* @__PURE__ */ b(bh.Portal, { children: /* @__PURE__ */ b(bh.Positioner, {
31731
31740
  align: r,
31732
31741
  alignOffset: i,
@@ -31742,21 +31751,21 @@ function xH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
31742
31751
  }) });
31743
31752
  }
31744
31753
  // 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);
31754
+ var TH = i(null), EH = "[data-slot=\"sidebar\"], [data-slot=\"sidebar-trigger\"], [data-slot=\"tooltip-content\"], [role=\"menu\"], [role=\"dialog\"]";
31755
+ function DH() {
31756
+ let e = s(TH);
31748
31757
  if (!e) throw Error("useSidebar must be used within a NmSidebarProvider.");
31749
31758
  return e;
31750
31759
  }
31751
- function TH(e) {
31760
+ function OH(e) {
31752
31761
  let [t, n] = p(() => typeof window > "u" ? !1 : window.matchMedia(e).matches);
31753
31762
  return c(() => {
31754
31763
  let t = window.matchMedia(e), r = () => n(t.matches);
31755
31764
  return r(), t.addEventListener("change", r), () => t.removeEventListener("change", r);
31756
31765
  }, [e]), t;
31757
31766
  }
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) => {
31767
+ 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 }) {
31768
+ 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
31769
  n?.(e), t ?? y(e), S(!1);
31761
31770
  }, [n, t]), k = o(() => {
31762
31771
  h ? _((e) => !e) : O(!D);
@@ -31778,7 +31787,7 @@ function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31778
31787
  C
31779
31788
  ]), ee = () => {
31780
31789
  let e = E.current;
31781
- return e != null && document.elementFromPoint(e.x, e.y)?.closest(CH) != null;
31790
+ return e != null && document.elementFromPoint(e.x, e.y)?.closest(EH) != null;
31782
31791
  }, M = o(() => {
31783
31792
  A(), T.current = setTimeout(() => {
31784
31793
  T.current = null, ee() || S(!1);
@@ -31825,7 +31834,7 @@ function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31825
31834
  M,
31826
31835
  C
31827
31836
  ]);
31828
- return /* @__PURE__ */ b(SH.Provider, {
31837
+ return /* @__PURE__ */ b(TH.Provider, {
31829
31838
  value: ne,
31830
31839
  children: /* @__PURE__ */ b("div", {
31831
31840
  "data-slot": "sidebar-wrapper",
@@ -31837,8 +31846,8 @@ function EH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31837
31846
  })
31838
31847
  });
31839
31848
  }
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();
31849
+ function AH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", label: r = "Sidebar", className: i, children: a, ...o }) {
31850
+ let { isMobile: s, state: l, openMobile: u, setOpenMobile: d, peek: f, peekIn: p, peekOut: m, setCollapsible: h } = DH();
31842
31851
  if (c(() => h(n), [n, h]), n === "none") return /* @__PURE__ */ b("div", {
31843
31852
  "data-slot": "sidebar",
31844
31853
  "data-side": e,
@@ -31852,10 +31861,10 @@ function DH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
31852
31861
  children: a
31853
31862
  })
31854
31863
  });
31855
- if (s) return /* @__PURE__ */ b(vB, {
31864
+ if (s) return /* @__PURE__ */ b(xB, {
31856
31865
  open: u,
31857
31866
  onOpenChange: d,
31858
- children: /* @__PURE__ */ b(xB, {
31867
+ children: /* @__PURE__ */ b(wB, {
31859
31868
  "data-slot": "sidebar",
31860
31869
  "data-mobile": "",
31861
31870
  side: e,
@@ -31888,8 +31897,8 @@ function DH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
31888
31897
  })
31889
31898
  });
31890
31899
  }
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, {
31900
+ function jH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, onClick: i, onPointerEnter: a, onPointerLeave: o, ...s }) {
31901
+ 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
31902
  "data-slot": "sidebar-trigger",
31894
31903
  glyph: n,
31895
31904
  label: p,
@@ -31906,13 +31915,13 @@ function OH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, o
31906
31915
  },
31907
31916
  ...s
31908
31917
  });
31909
- return r ? /* @__PURE__ */ x(yH, { children: [/* @__PURE__ */ b(bH, { render: m }), /* @__PURE__ */ x(xH, {
31918
+ return r ? /* @__PURE__ */ x(SH, { children: [/* @__PURE__ */ b(CH, { render: m }), /* @__PURE__ */ x(wH, {
31910
31919
  side: "bottom",
31911
- children: [p, /* @__PURE__ */ b(UB, { children: "⌘B" })]
31920
+ children: [p, /* @__PURE__ */ b(KB, { children: "⌘B" })]
31912
31921
  })] }) : m;
31913
31922
  }
31914
- function kH({ className: e, label: t = "Toggle sidebar", ...n }) {
31915
- let { toggleSidebar: r } = wH();
31923
+ function MH({ className: e, label: t = "Toggle sidebar", ...n }) {
31924
+ let { toggleSidebar: r } = DH();
31916
31925
  return /* @__PURE__ */ b("button", {
31917
31926
  type: "button",
31918
31927
  "data-slot": "sidebar-rail",
@@ -31924,56 +31933,56 @@ function kH({ className: e, label: t = "Toggle sidebar", ...n }) {
31924
31933
  ...n
31925
31934
  });
31926
31935
  }
31927
- function AH({ className: e, ...t }) {
31936
+ function NH({ className: e, ...t }) {
31928
31937
  return /* @__PURE__ */ b("main", {
31929
31938
  "data-slot": "sidebar-inset",
31930
31939
  className: F("nm-sidebar__inset", e),
31931
31940
  ...t
31932
31941
  });
31933
31942
  }
31934
- function jH({ className: e, ...t }) {
31943
+ function PH({ className: e, ...t }) {
31935
31944
  return /* @__PURE__ */ b(dN, {
31936
31945
  "data-slot": "sidebar-input",
31937
31946
  className: F("nm-sidebar__input", e),
31938
31947
  ...t
31939
31948
  });
31940
31949
  }
31941
- function MH({ className: e, ...t }) {
31950
+ function FH({ className: e, ...t }) {
31942
31951
  return /* @__PURE__ */ b("div", {
31943
31952
  "data-slot": "sidebar-header",
31944
31953
  className: F("nm-sidebar__header", e),
31945
31954
  ...t
31946
31955
  });
31947
31956
  }
31948
- function NH({ className: e, ...t }) {
31957
+ function IH({ className: e, ...t }) {
31949
31958
  return /* @__PURE__ */ b("div", {
31950
31959
  "data-slot": "sidebar-footer",
31951
31960
  className: F("nm-sidebar__footer", e),
31952
31961
  ...t
31953
31962
  });
31954
31963
  }
31955
- function PH({ className: e, ...t }) {
31964
+ function LH({ className: e, ...t }) {
31956
31965
  return /* @__PURE__ */ b(cD, {
31957
31966
  "data-slot": "sidebar-separator",
31958
31967
  className: F("nm-sidebar__separator", e),
31959
31968
  ...t
31960
31969
  });
31961
31970
  }
31962
- function FH({ className: e, ...t }) {
31971
+ function RH({ className: e, ...t }) {
31963
31972
  return /* @__PURE__ */ b("div", {
31964
31973
  "data-slot": "sidebar-content",
31965
31974
  className: F("nm-sidebar__content", e),
31966
31975
  ...t
31967
31976
  });
31968
31977
  }
31969
- function IH({ className: e, ...t }) {
31978
+ function zH({ className: e, ...t }) {
31970
31979
  return /* @__PURE__ */ b("div", {
31971
31980
  "data-slot": "sidebar-group",
31972
31981
  className: F("nm-sidebar__group", e),
31973
31982
  ...t
31974
31983
  });
31975
31984
  }
31976
- function LH({ className: e, render: t, ref: n, ...r }) {
31985
+ function BH({ className: e, render: t, ref: n, ...r }) {
31977
31986
  return Si({
31978
31987
  render: t,
31979
31988
  ref: n,
@@ -31985,7 +31994,7 @@ function LH({ className: e, render: t, ref: n, ...r }) {
31985
31994
  }
31986
31995
  });
31987
31996
  }
31988
- function RH({ className: e, ...t }) {
31997
+ function VH({ className: e, ...t }) {
31989
31998
  return /* @__PURE__ */ b(aM, {
31990
31999
  "data-slot": "sidebar-group-action",
31991
32000
  tone: "quiet",
@@ -31993,29 +32002,29 @@ function RH({ className: e, ...t }) {
31993
32002
  ...t
31994
32003
  });
31995
32004
  }
31996
- function zH({ className: e, ...t }) {
32005
+ function HH({ className: e, ...t }) {
31997
32006
  return /* @__PURE__ */ b("div", {
31998
32007
  "data-slot": "sidebar-group-content",
31999
32008
  className: F("nm-sidebar__group-content", e),
32000
32009
  ...t
32001
32010
  });
32002
32011
  }
32003
- function BH({ className: e, ...t }) {
32012
+ function UH({ className: e, ...t }) {
32004
32013
  return /* @__PURE__ */ b("ul", {
32005
32014
  "data-slot": "sidebar-menu",
32006
32015
  className: F("nm-sidebar__menu", e),
32007
32016
  ...t
32008
32017
  });
32009
32018
  }
32010
- function VH({ className: e, ...t }) {
32019
+ function WH({ className: e, ...t }) {
32011
32020
  return /* @__PURE__ */ b("li", {
32012
32021
  "data-slot": "sidebar-menu-item",
32013
32022
  className: F("nm-sidebar__menu-item", e),
32014
32023
  ...t
32015
32024
  });
32016
32025
  }
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({
32026
+ function GH({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ref: o, ...s }) {
32027
+ let { isMobile: c, state: l, peek: u } = DH(), d = Si({
32019
32028
  render: e,
32020
32029
  ref: o,
32021
32030
  defaultTagName: "button",
@@ -32030,13 +32039,13 @@ function HH({ render: e, isActive: t = !1, variant: n = "default", size: r = "de
32030
32039
  ...s
32031
32040
  }
32032
32041
  });
32033
- return i == null ? d : /* @__PURE__ */ x(yH, { children: [/* @__PURE__ */ b(bH, { render: d }), l === "collapsed" && !u && !c ? /* @__PURE__ */ b(xH, {
32042
+ return i == null ? d : /* @__PURE__ */ x(SH, { children: [/* @__PURE__ */ b(CH, { render: d }), l === "collapsed" && !u && !c ? /* @__PURE__ */ b(wH, {
32034
32043
  side: "right",
32035
32044
  align: "center",
32036
32045
  ...typeof i == "string" ? { children: i } : i
32037
32046
  }) : null] });
32038
32047
  }
32039
- function UH({ className: e, showOnHover: t = !1, ...n }) {
32048
+ function KH({ className: e, showOnHover: t = !1, ...n }) {
32040
32049
  return /* @__PURE__ */ b(aM, {
32041
32050
  "data-slot": "sidebar-menu-action",
32042
32051
  "data-show-on-hover": t ? "" : void 0,
@@ -32045,7 +32054,7 @@ function UH({ className: e, showOnHover: t = !1, ...n }) {
32045
32054
  ...n
32046
32055
  });
32047
32056
  }
32048
- function WH({ className: e, ...t }) {
32057
+ function qH({ className: e, ...t }) {
32049
32058
  return /* @__PURE__ */ b(CC, {
32050
32059
  "data-slot": "sidebar-menu-badge",
32051
32060
  size: "sm",
@@ -32053,7 +32062,7 @@ function WH({ className: e, ...t }) {
32053
32062
  ...t
32054
32063
  });
32055
32064
  }
32056
- function GH({ title: e, description: t, className: n, ...r }) {
32065
+ function JH({ title: e, description: t, className: n, ...r }) {
32057
32066
  return /* @__PURE__ */ x("span", {
32058
32067
  "data-slot": "sidebar-menu-text",
32059
32068
  className: F("nm-sidebar__text", n),
@@ -32061,33 +32070,33 @@ function GH({ title: e, description: t, className: n, ...r }) {
32061
32070
  children: [/* @__PURE__ */ b("span", { children: e }), t == null ? null : /* @__PURE__ */ b("span", { children: t })]
32062
32071
  });
32063
32072
  }
32064
- function KH({ className: e, showIcon: t = !1, ...n }) {
32073
+ function YH({ className: e, showIcon: t = !1, ...n }) {
32065
32074
  let [r] = p(() => `${Math.floor(Math.random() * 40) + 50}%`);
32066
32075
  return /* @__PURE__ */ x("div", {
32067
32076
  "data-slot": "sidebar-menu-skeleton",
32068
32077
  className: F("nm-sidebar__menu-skeleton", e),
32069
32078
  ...n,
32070
- children: [t ? /* @__PURE__ */ b(_H, { className: "nm-sidebar__menu-skeleton-icon" }) : null, /* @__PURE__ */ b(_H, {
32079
+ children: [t ? /* @__PURE__ */ b(bH, { className: "nm-sidebar__menu-skeleton-icon" }) : null, /* @__PURE__ */ b(bH, {
32071
32080
  className: "nm-sidebar__menu-skeleton-text",
32072
32081
  style: { "--nm-sidebar-skeleton-width": r }
32073
32082
  })]
32074
32083
  });
32075
32084
  }
32076
- function qH({ className: e, ...t }) {
32085
+ function XH({ className: e, ...t }) {
32077
32086
  return /* @__PURE__ */ b("ul", {
32078
32087
  "data-slot": "sidebar-menu-sub",
32079
32088
  className: F("nm-sidebar__menu-sub", e),
32080
32089
  ...t
32081
32090
  });
32082
32091
  }
32083
- function JH({ className: e, ...t }) {
32092
+ function ZH({ className: e, ...t }) {
32084
32093
  return /* @__PURE__ */ b("li", {
32085
32094
  "data-slot": "sidebar-menu-sub-item",
32086
32095
  className: F("nm-sidebar__menu-sub-item", e),
32087
32096
  ...t
32088
32097
  });
32089
32098
  }
32090
- function YH({ render: e, size: t = "default", isActive: n = !1, className: r, ref: i, ...a }) {
32099
+ function QH({ render: e, size: t = "default", isActive: n = !1, className: r, ref: i, ...a }) {
32091
32100
  return Si({
32092
32101
  render: e,
32093
32102
  ref: i,
@@ -32102,7 +32111,7 @@ function YH({ render: e, size: t = "default", isActive: n = !1, className: r, re
32102
32111
  }
32103
32112
  });
32104
32113
  }
32105
- function XH({ className: e, menu: t = !1, ...n }) {
32114
+ function $H({ className: e, menu: t = !1, ...n }) {
32106
32115
  return /* @__PURE__ */ b(G, {
32107
32116
  id: "chevron",
32108
32117
  "data-menu": t ? "" : void 0,
@@ -32111,7 +32120,7 @@ function XH({ className: e, menu: t = !1, ...n }) {
32111
32120
  });
32112
32121
  }
32113
32122
  // 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 }) {
32123
+ function eU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
32115
32124
  let c = Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], l = /* @__PURE__ */ b(Up.Root, {
32116
32125
  "data-slot": "slider",
32117
32126
  className: F("nm-slider", e),
@@ -32152,7 +32161,7 @@ function ZH({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100,
32152
32161
  }) : l;
32153
32162
  }
32154
32163
  // src/ui/components/nm-spinner/nm-spinner.tsx
32155
- function QH({ className: e, ...t }) {
32164
+ function tU({ className: e, ...t }) {
32156
32165
  return /* @__PURE__ */ b("span", {
32157
32166
  role: "status",
32158
32167
  "aria-live": "polite",
@@ -32162,14 +32171,14 @@ function QH({ className: e, ...t }) {
32162
32171
  });
32163
32172
  }
32164
32173
  // src/ui/components/nm-status-bar/nm-status-bar.tsx
32165
- function $H({ className: e, ...t }) {
32174
+ function nU({ className: e, ...t }) {
32166
32175
  return /* @__PURE__ */ b("footer", {
32167
32176
  "data-slot": "status-bar",
32168
32177
  className: F("nm-status-bar", e),
32169
32178
  ...t
32170
32179
  });
32171
32180
  }
32172
- function eU({ className: e, onClick: t, children: n, ...r }) {
32181
+ function rU({ className: e, onClick: t, children: n, ...r }) {
32173
32182
  let i = F("nm-status-bar__item", e);
32174
32183
  return t ? /* @__PURE__ */ b("button", {
32175
32184
  type: "button",
@@ -32184,7 +32193,7 @@ function eU({ className: e, onClick: t, children: n, ...r }) {
32184
32193
  children: n
32185
32194
  });
32186
32195
  }
32187
- function tU({ className: e, ...t }) {
32196
+ function iU({ className: e, ...t }) {
32188
32197
  return /* @__PURE__ */ b("span", {
32189
32198
  "aria-hidden": "true",
32190
32199
  "data-slot": "status-bar-spacer",
@@ -32193,7 +32202,7 @@ function tU({ className: e, ...t }) {
32193
32202
  });
32194
32203
  }
32195
32204
  // src/ui/components/nm-switch/nm-switch.tsx
32196
- function nU({ className: e, ...t }) {
32205
+ function aU({ className: e, ...t }) {
32197
32206
  return /* @__PURE__ */ b(ae.Root, {
32198
32207
  "data-slot": "switch",
32199
32208
  className: F("nm-switch", e),
@@ -32205,13 +32214,13 @@ function nU({ className: e, ...t }) {
32205
32214
  });
32206
32215
  }
32207
32216
  // src/ui/components/nm-table/nm-table.tsx
32208
- var rU = [
32217
+ var oU = [
32209
32218
  "default",
32210
32219
  "striped",
32211
32220
  "lined",
32212
32221
  "plain"
32213
- ], iU = ["default", "sm"];
32214
- function aU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
32222
+ ], sU = ["default", "sm"];
32223
+ function cU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
32215
32224
  return /* @__PURE__ */ b("div", {
32216
32225
  "data-slot": "table-container",
32217
32226
  "data-sticky": r ? "" : void 0,
@@ -32226,28 +32235,28 @@ function aU({ className: e, variant: t = "default", size: n = "default", stickyH
32226
32235
  })
32227
32236
  });
32228
32237
  }
32229
- function oU({ className: e, ...t }) {
32238
+ function lU({ className: e, ...t }) {
32230
32239
  return /* @__PURE__ */ b("thead", {
32231
32240
  "data-slot": "table-header",
32232
32241
  className: F("nm-table__header", e),
32233
32242
  ...t
32234
32243
  });
32235
32244
  }
32236
- function sU({ className: e, ...t }) {
32245
+ function uU({ className: e, ...t }) {
32237
32246
  return /* @__PURE__ */ b("tbody", {
32238
32247
  "data-slot": "table-body",
32239
32248
  className: F("nm-table__body", e),
32240
32249
  ...t
32241
32250
  });
32242
32251
  }
32243
- function cU({ className: e, ...t }) {
32252
+ function dU({ className: e, ...t }) {
32244
32253
  return /* @__PURE__ */ b("tfoot", {
32245
32254
  "data-slot": "table-footer",
32246
32255
  className: F("nm-table__footer", e),
32247
32256
  ...t
32248
32257
  });
32249
32258
  }
32250
- function lU({ className: e, selected: t, disabled: n, ...r }) {
32259
+ function fU({ className: e, selected: t, disabled: n, ...r }) {
32251
32260
  return /* @__PURE__ */ b("tr", {
32252
32261
  "data-slot": "table-row",
32253
32262
  "data-selected": t ? "" : void 0,
@@ -32259,7 +32268,7 @@ function lU({ className: e, selected: t, disabled: n, ...r }) {
32259
32268
  ...r
32260
32269
  });
32261
32270
  }
32262
- function uU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
32271
+ function pU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
32263
32272
  return /* @__PURE__ */ b("th", {
32264
32273
  "data-slot": "table-head",
32265
32274
  "data-align": t,
@@ -32279,7 +32288,7 @@ function uU({ className: e, textAlign: t = "start", sort: n, onSort: r, children
32279
32288
  }) : i
32280
32289
  });
32281
32290
  }
32282
- function dU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32291
+ function mU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32283
32292
  return /* @__PURE__ */ b("td", {
32284
32293
  "data-slot": "table-cell",
32285
32294
  "data-align": t,
@@ -32288,7 +32297,7 @@ function dU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32288
32297
  ...r
32289
32298
  });
32290
32299
  }
32291
- function fU({ className: e, ...t }) {
32300
+ function hU({ className: e, ...t }) {
32292
32301
  return /* @__PURE__ */ b("caption", {
32293
32302
  "data-slot": "table-caption",
32294
32303
  className: F("nm-table__caption", e),
@@ -32296,17 +32305,17 @@ function fU({ className: e, ...t }) {
32296
32305
  });
32297
32306
  }
32298
32307
  // src/ui/config/nm-tabs.ts
32299
- var pU = {
32308
+ var gU = {
32300
32309
  root: "nm-tabs",
32301
32310
  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,
32311
+ }, _U = W("interface-nm-tabs");
32312
+ function vU(e) {
32313
+ return _U.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
32314
+ className: gU.root,
32306
32315
  role: "tablist",
32307
32316
  "aria-label": e.label,
32308
32317
  children: e.items.map((t) => /* @__PURE__ */ b("button", {
32309
- className: pU.item,
32318
+ className: gU.item,
32310
32319
  type: "button",
32311
32320
  role: "tab",
32312
32321
  "aria-selected": t.id === e.value,
@@ -32315,27 +32324,27 @@ function hU(e) {
32315
32324
  }, t.id))
32316
32325
  });
32317
32326
  }
32318
- function gU(e) {
32327
+ function yU(e) {
32319
32328
  return /* @__PURE__ */ b(ch.Root, {
32320
32329
  "data-slot": "tabs",
32321
32330
  ...e
32322
32331
  });
32323
32332
  }
32324
- function _U({ className: e, ...t }) {
32333
+ function bU({ className: e, ...t }) {
32325
32334
  return /* @__PURE__ */ b(ch.List, {
32326
32335
  "data-slot": "tabs-list",
32327
- className: F(pU.root, e),
32336
+ className: F(gU.root, e),
32328
32337
  ...t
32329
32338
  });
32330
32339
  }
32331
- function vU({ className: e, ...t }) {
32340
+ function xU({ className: e, ...t }) {
32332
32341
  return /* @__PURE__ */ b(ch.Tab, {
32333
32342
  "data-slot": "tabs-trigger",
32334
- className: F(pU.item, e),
32343
+ className: F(gU.item, e),
32335
32344
  ...t
32336
32345
  });
32337
32346
  }
32338
- function yU({ className: e, ...t }) {
32347
+ function SU({ className: e, ...t }) {
32339
32348
  return /* @__PURE__ */ b(ch.Panel, {
32340
32349
  "data-slot": "tabs-content",
32341
32350
  className: F("nm-tabs__panel", e),
@@ -32343,12 +32352,12 @@ function yU({ className: e, ...t }) {
32343
32352
  });
32344
32353
  }
32345
32354
  // src/ui/components/nm-toggle/nm-toggle.tsx
32346
- var bU = ["default", "outline"], xU = [
32355
+ var CU = ["default", "outline"], wU = [
32347
32356
  "sm",
32348
32357
  "default",
32349
32358
  "lg"
32350
32359
  ];
32351
- function SU({ className: e, variant: t = "default", size: n = "default", ...r }) {
32360
+ function TU({ className: e, variant: t = "default", size: n = "default", ...r }) {
32352
32361
  return /* @__PURE__ */ b(vh, {
32353
32362
  "data-slot": "toggle",
32354
32363
  "data-variant": t,
@@ -32358,21 +32367,21 @@ function SU({ className: e, variant: t = "default", size: n = "default", ...r })
32358
32367
  });
32359
32368
  }
32360
32369
  // src/ui/config/nm-top-bar.ts
32361
- var CU = {
32370
+ var EU = {
32362
32371
  root: "nm-header",
32363
32372
  end: "nm-header__end"
32364
- }, wU = W("interface-nm-top-bar");
32365
- function TU(e) {
32366
- return wU.debug("render", "top-bar", {
32373
+ }, DU = W("interface-nm-top-bar");
32374
+ function OU(e) {
32375
+ return DU.debug("render", "top-bar", {
32367
32376
  end: e.end != null,
32368
32377
  menu: e.menu != null
32369
32378
  }), /* @__PURE__ */ x("header", {
32370
- className: CU.root,
32379
+ className: EU.root,
32371
32380
  children: [
32372
32381
  e.menu,
32373
32382
  e.children,
32374
32383
  e.end == null ? null : /* @__PURE__ */ b("div", {
32375
- className: CU.end,
32384
+ className: EU.end,
32376
32385
  "data-hidden-narrow": e.endHidden === !0 ? "true" : "false",
32377
32386
  children: e.end
32378
32387
  })
@@ -32380,12 +32389,12 @@ function TU(e) {
32380
32389
  });
32381
32390
  }
32382
32391
  // src/ui/config/nordman-login.ts
32383
- var EU = {
32392
+ var kU = {
32384
32393
  signIn: "signIn",
32385
32394
  register: "register",
32386
32395
  forgot: "forgot",
32387
32396
  reset: "reset"
32388
- }, DU = "nm-login-form", OU = {
32397
+ }, AU = "nm-login-form", jU = {
32389
32398
  username: "username",
32390
32399
  password: "password",
32391
32400
  displayName: "displayName",
@@ -32393,11 +32402,11 @@ var EU = {
32393
32402
  registerPassword: "register-password",
32394
32403
  confirmPassword: "confirm-password",
32395
32404
  resetPassword: "reset-password"
32396
- }, kU = {
32405
+ }, MU = {
32397
32406
  viewBox: "0 0 24 24",
32398
32407
  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
32408
  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 = {
32409
+ }, NU = "nordman", PU = {
32401
32410
  skip: "Hoppa till innehållet",
32402
32411
  identifier: "Email",
32403
32412
  identifierPlaceholder: "name@mail.com",
@@ -32430,7 +32439,7 @@ var EU = {
32430
32439
  registerEmailInUse: "Det finns redan ett konto med den här e-postadressen.",
32431
32440
  registerDone: "Kolla mejlet för att bekräfta kontot.",
32432
32441
  registerDoneReady: "Kontot är skapat. Logga in."
32433
- }, MU = {
32442
+ }, FU = {
32434
32443
  skip: "Skip to content",
32435
32444
  identifier: "Email",
32436
32445
  identifierPlaceholder: "name@mail.com",
@@ -32464,13 +32473,13 @@ var EU = {
32464
32473
  registerDone: "Check your email to confirm the account.",
32465
32474
  registerDoneReady: "The account is created. Log in."
32466
32475
  };
32467
- function NU(e) {
32468
- return cV(e ?? aV()) ? MU : jU;
32476
+ function IU(e) {
32477
+ return dV(e ?? cV()) ? FU : PU;
32469
32478
  }
32470
32479
  var $ = new Proxy({}, { get(e, t) {
32471
- return NU()[t];
32472
- } }), PU = W("interface-nordman-login-reveal");
32473
- function FU(e) {
32480
+ return IU()[t];
32481
+ } }), LU = W("interface-nordman-login-reveal");
32482
+ function RU(e) {
32474
32483
  let t = e.revealed ? $.hidePassword : $.showPassword;
32475
32484
  return /* @__PURE__ */ b("button", {
32476
32485
  className: "nm-login__reveal",
@@ -32479,22 +32488,22 @@ function FU(e) {
32479
32488
  "aria-pressed": e.revealed,
32480
32489
  "data-testid": "cta-reveal-password",
32481
32490
  onClick: () => {
32482
- PU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
32491
+ LU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
32483
32492
  },
32484
32493
  children: /* @__PURE__ */ b("svg", {
32485
32494
  className: "nm-login__reveal-icon",
32486
- viewBox: kU.viewBox,
32495
+ viewBox: MU.viewBox,
32487
32496
  "aria-hidden": "true",
32488
32497
  focusable: "false",
32489
32498
  children: /* @__PURE__ */ b("path", {
32490
- d: e.revealed ? kU.hide : kU.show,
32499
+ d: e.revealed ? MU.hide : MU.show,
32491
32500
  fill: "currentColor"
32492
32501
  })
32493
32502
  })
32494
32503
  });
32495
32504
  }
32496
32505
  // src/ui/components/nordman-login-field/nordman-login-field.tsx
32497
- function IU(e) {
32506
+ function zU(e) {
32498
32507
  let t = e.type === "password", [n, r] = p(!1), i = t && n ? "text" : e.type, a = /* @__PURE__ */ b("input", {
32499
32508
  className: t ? "nm-login__control nm-login__control--secret" : "nm-login__control",
32500
32509
  id: e.id,
@@ -32516,7 +32525,7 @@ function IU(e) {
32516
32525
  }), e.accessory]
32517
32526
  }), t ? /* @__PURE__ */ x("div", {
32518
32527
  className: "nm-login__control-wrap",
32519
- children: [a, /* @__PURE__ */ b(FU, {
32528
+ children: [a, /* @__PURE__ */ b(RU, {
32520
32529
  revealed: n,
32521
32530
  onToggle: () => r((e) => !e)
32522
32531
  })]
@@ -32524,43 +32533,43 @@ function IU(e) {
32524
32533
  });
32525
32534
  }
32526
32535
  // src/ui/components/nordman-login-register/nordman-login-register.tsx
32527
- var LU = W("interface-nordman-login-register");
32528
- function RU(e) {
32536
+ var BU = W("interface-nordman-login-register");
32537
+ function VU(e) {
32529
32538
  function t(t) {
32530
32539
  t.preventDefault();
32531
32540
  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) ?? "")
32541
+ BU.debug("submit", "start"), e.onRegister({
32542
+ username: String(n.get(jU.registerUsername) ?? ""),
32543
+ displayName: String(n.get(jU.displayName) ?? ""),
32544
+ password: String(n.get(jU.registerPassword) ?? "")
32536
32545
  });
32537
32546
  }
32538
32547
  return /* @__PURE__ */ x("form", {
32539
32548
  className: "nm-login__form",
32540
- id: DU,
32549
+ id: AU,
32541
32550
  onSubmit: t,
32542
32551
  children: [
32543
- /* @__PURE__ */ b(IU, {
32544
- id: OU.registerUsername,
32545
- name: OU.registerUsername,
32552
+ /* @__PURE__ */ b(zU, {
32553
+ id: jU.registerUsername,
32554
+ name: jU.registerUsername,
32546
32555
  label: $.identifier,
32547
32556
  type: "email",
32548
32557
  autoComplete: "email",
32549
32558
  placeholder: $.identifierPlaceholder,
32550
32559
  required: !0
32551
32560
  }),
32552
- /* @__PURE__ */ b(IU, {
32553
- id: OU.displayName,
32554
- name: OU.displayName,
32561
+ /* @__PURE__ */ b(zU, {
32562
+ id: jU.displayName,
32563
+ name: jU.displayName,
32555
32564
  label: $.displayName,
32556
32565
  type: "text",
32557
32566
  autoComplete: "name",
32558
32567
  minLength: 3,
32559
32568
  required: !0
32560
32569
  }),
32561
- /* @__PURE__ */ b(IU, {
32562
- id: OU.registerPassword,
32563
- name: OU.registerPassword,
32570
+ /* @__PURE__ */ b(zU, {
32571
+ id: jU.registerPassword,
32572
+ name: jU.registerPassword,
32564
32573
  label: $.password,
32565
32574
  type: "password",
32566
32575
  autoComplete: "new-password",
@@ -32583,32 +32592,32 @@ function RU(e) {
32583
32592
  });
32584
32593
  }
32585
32594
  // 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) {
32595
+ var HU = W("interface-nordman-login-sign-in");
32596
+ function UU(e) {
32588
32597
  function t(t) {
32589
32598
  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({
32599
+ let n = new FormData(t.currentTarget), r = String(n.get(jU.username) ?? ""), i = String(n.get(jU.password) ?? "");
32600
+ HU.debug("submit", "start"), e.onSignIn({
32592
32601
  username: r,
32593
32602
  password: i
32594
32603
  });
32595
32604
  }
32596
32605
  return /* @__PURE__ */ x("form", {
32597
32606
  className: "nm-login__form",
32598
- id: DU,
32607
+ id: AU,
32599
32608
  onSubmit: t,
32600
32609
  children: [
32601
- /* @__PURE__ */ b(IU, {
32602
- id: OU.username,
32603
- name: OU.username,
32610
+ /* @__PURE__ */ b(zU, {
32611
+ id: jU.username,
32612
+ name: jU.username,
32604
32613
  label: $.identifier,
32605
32614
  type: "text",
32606
32615
  autoComplete: "username",
32607
32616
  placeholder: $.identifierPlaceholder
32608
32617
  }),
32609
- /* @__PURE__ */ b(IU, {
32610
- id: OU.password,
32611
- name: OU.password,
32618
+ /* @__PURE__ */ b(zU, {
32619
+ id: jU.password,
32620
+ name: jU.password,
32612
32621
  label: $.password,
32613
32622
  type: "password",
32614
32623
  autoComplete: "current-password",
@@ -32638,12 +32647,12 @@ function BU(e) {
32638
32647
  });
32639
32648
  }
32640
32649
  // src/ui/components/nordman-login-forgot/nordman-login-forgot.tsx
32641
- var VU = W("interface-nordman-login-forgot");
32642
- function HU(e) {
32650
+ var WU = W("interface-nordman-login-forgot");
32651
+ function GU(e) {
32643
32652
  function t(t) {
32644
32653
  t.preventDefault();
32645
- let n = new FormData(t.currentTarget), r = String(n.get(OU.username) ?? "");
32646
- VU.debug("submit", "start"), e.onRequestReset({ identifier: r });
32654
+ let n = new FormData(t.currentTarget), r = String(n.get(jU.username) ?? "");
32655
+ WU.debug("submit", "start"), e.onRequestReset({ identifier: r });
32647
32656
  }
32648
32657
  return e.sent ? /* @__PURE__ */ b("p", {
32649
32658
  className: "nm-login__notice",
@@ -32651,11 +32660,11 @@ function HU(e) {
32651
32660
  children: $.forgotSent
32652
32661
  }) : /* @__PURE__ */ x("form", {
32653
32662
  className: "nm-login__form",
32654
- id: DU,
32663
+ id: AU,
32655
32664
  onSubmit: t,
32656
- children: [/* @__PURE__ */ b(IU, {
32657
- id: OU.username,
32658
- name: OU.username,
32665
+ children: [/* @__PURE__ */ b(zU, {
32666
+ id: jU.username,
32667
+ name: jU.username,
32659
32668
  label: $.identifier,
32660
32669
  type: "text",
32661
32670
  autoComplete: "username",
@@ -32675,8 +32684,8 @@ function HU(e) {
32675
32684
  });
32676
32685
  }
32677
32686
  // src/ui/components/nordman-login-google/nordman-login-google.tsx
32678
- function UU(e) {
32679
- return sV(), /* @__PURE__ */ b("div", {
32687
+ function KU(e) {
32688
+ return uV(), /* @__PURE__ */ b("div", {
32680
32689
  className: "nm-login__google-wrap",
32681
32690
  children: /* @__PURE__ */ b(kC, {
32682
32691
  label: e.pending ? $.googlePending : $.continueWithGoogle,
@@ -32691,17 +32700,17 @@ function UU(e) {
32691
32700
  });
32692
32701
  }
32693
32702
  // src/ui/components/nordman-login-reset/nordman-login-reset.tsx
32694
- var WU = W("interface-nordman-login-reset");
32695
- function GU(e) {
32703
+ var qU = W("interface-nordman-login-reset");
32704
+ function JU(e) {
32696
32705
  let [t, n] = p(!1);
32697
32706
  function r(t) {
32698
32707
  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));
32708
+ let r = new FormData(t.currentTarget), i = String(r.get(jU.resetPassword) ?? "");
32709
+ i === String(r.get(jU.confirmPassword) ?? "") ? (n(!1), qU.debug("submit", "start"), e.onResetPassword({ password: i })) : (qU.warn("submit", "mismatch"), n(!0));
32701
32710
  }
32702
32711
  return /* @__PURE__ */ x("form", {
32703
32712
  className: "nm-login__form",
32704
- id: DU,
32713
+ id: AU,
32705
32714
  onSubmit: r,
32706
32715
  children: [
32707
32716
  t ? /* @__PURE__ */ b("p", {
@@ -32709,18 +32718,18 @@ function GU(e) {
32709
32718
  role: "alert",
32710
32719
  children: $.mismatch
32711
32720
  }) : null,
32712
- /* @__PURE__ */ b(IU, {
32713
- id: OU.resetPassword,
32714
- name: OU.resetPassword,
32721
+ /* @__PURE__ */ b(zU, {
32722
+ id: jU.resetPassword,
32723
+ name: jU.resetPassword,
32715
32724
  label: $.password,
32716
32725
  type: "password",
32717
32726
  autoComplete: "new-password",
32718
32727
  placeholder: $.passwordPlaceholder,
32719
32728
  minLength: e.passwordMin
32720
32729
  }),
32721
- /* @__PURE__ */ b(IU, {
32722
- id: OU.confirmPassword,
32723
- name: OU.confirmPassword,
32730
+ /* @__PURE__ */ b(zU, {
32731
+ id: jU.confirmPassword,
32732
+ name: jU.confirmPassword,
32724
32733
  label: $.confirmPassword,
32725
32734
  type: "password",
32726
32735
  autoComplete: "new-password",
@@ -32742,12 +32751,12 @@ function GU(e) {
32742
32751
  });
32743
32752
  }
32744
32753
  // src/ui/components/nordman-login-hero/nordman-login-hero.tsx
32745
- var KU = {
32754
+ var YU = {
32746
32755
  square: "glow",
32747
32756
  triangle: "glow tri",
32748
32757
  circle: "glow circle"
32749
32758
  };
32750
- function qU(e) {
32759
+ function XU(e) {
32751
32760
  let t = f(null);
32752
32761
  return c(() => {
32753
32762
  let n = window.NordmanUI;
@@ -32759,51 +32768,51 @@ function qU(e) {
32759
32768
  }), () => r.abort();
32760
32769
  }, [e.shape]), /* @__PURE__ */ b("div", {
32761
32770
  ref: t,
32762
- className: KU[e.shape],
32771
+ className: YU[e.shape],
32763
32772
  "aria-hidden": "true",
32764
32773
  children: /* @__PURE__ */ b("i", {})
32765
32774
  });
32766
32775
  }
32767
32776
  // src/ui/components/nordman-login/nordman-login.tsx
32768
- function JU(e) {
32769
- return e.view === EU.register ? /* @__PURE__ */ b(RU, {
32777
+ function ZU(e) {
32778
+ return e.view === kU.register ? /* @__PURE__ */ b(VU, {
32770
32779
  pending: e.pending,
32771
32780
  passwordMin: e.passwordMin,
32772
32781
  onRegister: e.onRegister
32773
- }) : e.view === EU.forgot ? /* @__PURE__ */ b(HU, {
32782
+ }) : e.view === kU.forgot ? /* @__PURE__ */ b(GU, {
32774
32783
  pending: e.pending,
32775
32784
  sent: e.sent,
32776
32785
  onRequestReset: e.onRequestReset
32777
- }) : e.view === EU.reset ? /* @__PURE__ */ b(GU, {
32786
+ }) : e.view === kU.reset ? /* @__PURE__ */ b(JU, {
32778
32787
  pending: e.pending,
32779
32788
  passwordMin: e.passwordMin,
32780
32789
  onResetPassword: e.onResetPassword
32781
- }) : e.googleOnly ? /* @__PURE__ */ b(UU, {
32790
+ }) : e.googleOnly ? /* @__PURE__ */ b(KU, {
32782
32791
  pending: e.pending,
32783
32792
  onContinueWithGoogle: () => e.onContinueWithGoogle?.()
32784
- }) : /* @__PURE__ */ b(BU, {
32793
+ }) : /* @__PURE__ */ b(UU, {
32785
32794
  pending: e.pending,
32786
32795
  passwordMin: e.passwordMin,
32787
- onForgot: () => e.onView(EU.forgot),
32796
+ onForgot: () => e.onView(kU.forgot),
32788
32797
  onSignIn: e.onSignIn
32789
32798
  });
32790
32799
  }
32791
- function YU(e) {
32792
- let t = e.view === EU.register, n = e.view === EU.signIn;
32800
+ function QU(e) {
32801
+ let t = e.view === kU.register, n = e.view === kU.signIn;
32793
32802
  return c(() => {
32794
- document.documentElement.dataset.interface = AU;
32803
+ document.documentElement.dataset.interface = NU;
32795
32804
  }, []), /* @__PURE__ */ x("div", {
32796
32805
  className: e.googleOnly ? "nm-login nm-login--google-only" : "nm-login",
32797
32806
  "data-testid": "nordman-login",
32798
32807
  children: [
32799
32808
  /* @__PURE__ */ b("a", {
32800
32809
  className: "nm-login__skip",
32801
- href: `#${DU}`,
32810
+ href: `#${AU}`,
32802
32811
  children: $.skip
32803
32812
  }),
32804
32813
  /* @__PURE__ */ b("div", {
32805
32814
  className: "nm-login__visual",
32806
- children: /* @__PURE__ */ b(qU, { shape: e.shape })
32815
+ children: /* @__PURE__ */ b(XU, { shape: e.shape })
32807
32816
  }),
32808
32817
  /* @__PURE__ */ b("section", {
32809
32818
  className: "nm-login__panel",
@@ -32819,11 +32828,11 @@ function YU(e) {
32819
32828
  role: "alert",
32820
32829
  children: e.error
32821
32830
  }) : null,
32822
- e.notice && e.view !== EU.forgot ? /* @__PURE__ */ b("p", {
32831
+ e.notice && e.view !== kU.forgot ? /* @__PURE__ */ b("p", {
32823
32832
  className: "nm-login__notice",
32824
32833
  children: e.notice
32825
32834
  }) : null,
32826
- e.children ?? JU(e),
32835
+ e.children ?? ZU(e),
32827
32836
  e.after,
32828
32837
  e.children == null && e.hideSwitch !== !0 && !e.googleOnly ? /* @__PURE__ */ x("p", {
32829
32838
  className: "nm-login__switch",
@@ -32833,7 +32842,7 @@ function YU(e) {
32833
32842
  /* @__PURE__ */ b("button", {
32834
32843
  className: "nm-login__switch-action",
32835
32844
  type: "button",
32836
- onClick: () => e.onView(t || !n ? EU.signIn : EU.register),
32845
+ onClick: () => e.onView(t || !n ? kU.signIn : kU.register),
32837
32846
  children: n ? $.registerAction : $.signInAction
32838
32847
  })
32839
32848
  ]
@@ -32845,9 +32854,9 @@ function YU(e) {
32845
32854
  });
32846
32855
  }
32847
32856
  // 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", {
32857
+ var $U = W("interface-nordman-toggle");
32858
+ function eW(e) {
32859
+ return $U.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
32851
32860
  className: "nm-toggle",
32852
32861
  "data-testid": e.testId,
32853
32862
  children: e.items.map((t) => /* @__PURE__ */ b("a", {
@@ -32860,12 +32869,12 @@ function ZU(e) {
32860
32869
  });
32861
32870
  }
32862
32871
  // src/ui/config/nm-app-panel.ts
32863
- var QU = {
32872
+ var tW = {
32864
32873
  code: "code",
32865
32874
  preview: "preview",
32866
32875
  environment: "environment",
32867
32876
  machine: "machine"
32868
- }, $U = {
32877
+ }, nW = {
32869
32878
  code: "/interface/app-panel/code.svg",
32870
32879
  play: "/interface/app-panel/play.svg",
32871
32880
  ellipsis: "/interface/app-panel/ellipsis.svg",
@@ -32874,7 +32883,7 @@ var QU = {
32874
32883
  network: "/interface/app-panel/network.svg",
32875
32884
  message: "/interface/app-panel/message.svg",
32876
32885
  copy: "/interface/app-panel/copy.svg"
32877
- }, eW = {
32886
+ }, rW = {
32878
32887
  root: "nm-app-panel",
32879
32888
  body: "nm-app-panel__body",
32880
32889
  canvas: "nm-app-panel__canvas",
@@ -32889,35 +32898,35 @@ var QU = {
32889
32898
  blocked: "nm-app-panel__blocked",
32890
32899
  blockedTitle: "nm-app-panel__blocked-title",
32891
32900
  blockedBody: "nm-app-panel__blocked-body"
32892
- }, tW = {
32901
+ }, iW = {
32893
32902
  root: "nm-logs-panel",
32894
32903
  body: "nm-logs-panel__body"
32895
- }, nW = ["left", "right"], rW = [
32904
+ }, aW = ["left", "right"], oW = [
32896
32905
  .22,
32897
32906
  1,
32898
32907
  .36,
32899
32908
  1
32900
- ], iW = .25;
32901
- function aW() {
32902
- return oW();
32909
+ ], sW = .25;
32910
+ function cW() {
32911
+ return lW();
32903
32912
  }
32904
- function oW() {
32905
- if (typeof document > "u") return iW;
32913
+ function lW() {
32914
+ if (typeof document > "u") return sW;
32906
32915
  let e = getComputedStyle(document.documentElement).getPropertyValue("--reveal").trim();
32907
- return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : iW;
32916
+ return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : sW;
32908
32917
  }
32909
- function sW(e) {
32918
+ function uW(e) {
32910
32919
  return e ? { duration: 0 } : {
32911
- duration: oW(),
32912
- ease: [...rW]
32920
+ duration: lW(),
32921
+ ease: [...oW]
32913
32922
  };
32914
32923
  }
32915
- function cW() {
32924
+ function dW() {
32916
32925
  let e = v();
32917
- return d(() => sW(e === !0), [e]);
32926
+ return d(() => uW(e === !0), [e]);
32918
32927
  }
32919
32928
  // src/ui/config/nm-header-icons.ts
32920
- var lW = [
32929
+ var fW = [
32921
32930
  "chat",
32922
32931
  "bot",
32923
32932
  "app",
@@ -32929,7 +32938,7 @@ var lW = [
32929
32938
  "play",
32930
32939
  "schedule",
32931
32940
  "search"
32932
- ], uW = {
32941
+ ], pW = {
32933
32942
  chat: "/interface/header/chat.svg",
32934
32943
  bot: "/interface/header/bot.svg",
32935
32944
  app: "/interface/header/app.svg",
@@ -32941,16 +32950,16 @@ var lW = [
32941
32950
  play: "/interface/header/play.svg",
32942
32951
  schedule: "/interface/header/schedule.svg",
32943
32952
  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 = {
32953
+ }, 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
32954
  sm: 4,
32946
32955
  md: 8,
32947
32956
  lg: 12
32948
- }, hW = {
32957
+ }, vW = {
32949
32958
  row: "--nm-space-4",
32950
32959
  menu: "--nm-space-8",
32951
32960
  field: "--nm-space-12",
32952
32961
  composer: "--nm-space-24"
32953
- }, gW = {
32962
+ }, yW = {
32954
32963
  sm: "--nm-radius-sm",
32955
32964
  md: "--nm-radius-md",
32956
32965
  lg: "--nm-radius-lg",
@@ -32959,17 +32968,17 @@ var lW = [
32959
32968
  field: "--nm-field-radius",
32960
32969
  menu: "--nm-menu-radius",
32961
32970
  row: "--nm-row-radius"
32962
- }, _W = {
32971
+ }, bW = {
32963
32972
  control: "calc(var(--nm-icon-control) / 2 * var(--nm-radius-scale))",
32964
32973
  composer: "var(--nm-radius-lg)",
32965
32974
  field: "var(--nm-control-r)",
32966
32975
  menu: "var(--nm-radius-lg)",
32967
32976
  row: "var(--nm-control-r)"
32968
- }, vW = {
32977
+ }, xW = {
32969
32978
  sm: "calc(4px * var(--nm-radius-scale))",
32970
32979
  md: "calc(8px * var(--nm-radius-scale))",
32971
32980
  lg: "calc(12px * var(--nm-radius-scale))"
32972
- }, yW = {
32981
+ }, SW = {
32973
32982
  pad: "--nm-menu-pad",
32974
32983
  menuRadius: "--nm-control-menu-radius",
32975
32984
  optionRadius: "--nm-control-option-radius",
@@ -32979,7 +32988,7 @@ var lW = [
32979
32988
  panelItemRadius: "--nm-panel-item-radius",
32980
32989
  rowInline: "--nm-row-inline",
32981
32990
  rowInlineEnd: "--nm-row-inline-end"
32982
- }, bW = [
32991
+ }, CW = [
32983
32992
  "plus",
32984
32993
  "folder",
32985
32994
  "chats",
@@ -32990,7 +32999,7 @@ var lW = [
32990
32999
  "settings",
32991
33000
  "search",
32992
33001
  "plusSm"
32993
- ], xW = {
33002
+ ], wW = {
32994
33003
  plus: "/interface/rail/plus.svg",
32995
33004
  folder: "/interface/rail/folder.svg",
32996
33005
  chats: "/interface/rail/chats.svg",
@@ -33001,131 +33010,136 @@ var lW = [
33001
33010
  settings: "/interface/rail/settings.svg",
33002
33011
  search: "/interface/rail/search.svg",
33003
33012
  plusSm: "/interface/rail/plus-sm.svg"
33004
- }, SW = 750, CW = 7e3, wW = 500;
33013
+ }, TW = 750, EW = 7e3, DW = 500;
33005
33014
  // src/ui/lib/appearance/appearanceState.ts
33006
- function TW(e) {
33015
+ function OW(e) {
33007
33016
  return typeof e == "string" && Pz.includes(e);
33008
33017
  }
33009
- function EW(e) {
33010
- return typeof e == "string" && Hz.includes(e);
33018
+ function kW(e) {
33019
+ return typeof e == "string" && Vz.includes(e);
33011
33020
  }
33012
- function DW(e, t, n, r) {
33021
+ function AW(e) {
33022
+ return typeof e == "string" && Gz.includes(e);
33023
+ }
33024
+ function jW(e, t, n, r) {
33013
33025
  let i = typeof e == "number" ? e : Number(e);
33014
33026
  return Number.isFinite(i) ? Math.min(n, Math.max(t, Math.round(i))) : r;
33015
33027
  }
33016
- function OW() {
33028
+ function MW() {
33017
33029
  return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
33018
33030
  }
33019
- function kW(e, t = OW()) {
33031
+ function NW(e, t = MW()) {
33020
33032
  return e === "light" ? "light" : e === "dark" || t ? "dark" : "light";
33021
33033
  }
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;
33034
+ function PW() {
33035
+ return HW({
33036
+ mode: Jz.mode,
33037
+ themePresetId: Jz.themePresetId,
33038
+ accentPreset: Jz.accentPreset,
33039
+ customAccentHex: Jz.customAccentHex,
33040
+ backgroundHex: Jz.backgroundHex,
33041
+ foregroundHex: Jz.foregroundHex,
33042
+ uiFontSizePx: Jz.uiFontSizePx,
33043
+ uiFontWeight: Jz.uiFontWeight,
33044
+ uiIconSizePx: Jz.uiIconSizePx,
33045
+ uiRadiusPercent: Jz.uiRadiusPercent,
33046
+ uiSpacePercent: Jz.uiSpacePercent,
33047
+ contrast: Wz.default,
33048
+ borders: Jz.borders
33049
+ });
33050
+ }
33051
+ function FW(e, t) {
33052
+ let n = Xz(e) ?? Xz(Jz.themePresetId), r = t === "dark" ? n.dark : n.light;
33040
33053
  return {
33041
33054
  backgroundHex: r.canvas,
33042
33055
  foregroundHex: r.foreground
33043
33056
  };
33044
33057
  }
33045
- var MW = {
33058
+ var IW = {
33046
33059
  "#000000/#ffffff": "dark",
33047
33060
  "#fcfaf6/#0a0a0a": "light"
33048
33061
  };
33049
- function NW(e, t, n) {
33050
- let r = MW[`${t}/${n}`.toLowerCase()];
33051
- return e !== Gz.themePresetId || r == null ? {
33062
+ function LW(e, t, n) {
33063
+ let r = IW[`${t}/${n}`.toLowerCase()];
33064
+ return e !== Jz.themePresetId || r == null ? {
33052
33065
  backgroundHex: t,
33053
33066
  foregroundHex: n
33054
- } : jW(e, r);
33067
+ } : FW(e, r);
33055
33068
  }
33056
- function PW(e) {
33057
- let t = AW();
33069
+ function RW(e) {
33070
+ let t = PW();
33058
33071
  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));
33072
+ 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
33073
  return {
33061
- mode: TW(n.mode) ? n.mode : t.mode,
33074
+ mode: OW(n.mode) ? n.mode : t.mode,
33062
33075
  themePresetId: r,
33063
- accentPreset: EW(n.accentPreset) ? n.accentPreset : t.accentPreset,
33076
+ accentPreset: AW(n.accentPreset) ? n.accentPreset : t.accentPreset,
33064
33077
  customAccentHex: bz(typeof n.customAccentHex == "string" ? n.customAccentHex : t.customAccentHex, t.customAccentHex),
33065
33078
  ...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)
33079
+ uiFontSizePx: jW(n.uiFontSizePx, Fz.min, Fz.max, t.uiFontSizePx),
33080
+ uiFontWeight: Math.round(jW(n.uiFontWeight, Lz.min, Lz.max, t.uiFontWeight) / 100) * 100,
33081
+ uiIconSizePx: jW(n.uiIconSizePx, Rz.min, Rz.max, t.uiIconSizePx),
33082
+ uiRadiusPercent: jW(n.uiRadiusPercent, zz.min, zz.max, t.uiRadiusPercent),
33083
+ uiSpacePercent: jW(n.uiSpacePercent, Bz.min, Bz.max, t.uiSpacePercent),
33084
+ contrast: jW(n.contrast, Wz.min, Wz.max, t.contrast),
33085
+ borders: kW(n.borders) ? n.borders : t.borders
33072
33086
  };
33073
33087
  }
33074
- function FW() {
33088
+ function zW() {
33075
33089
  if (typeof window > "u") return null;
33076
33090
  try {
33077
33091
  let e = window.localStorage.getItem(Mz);
33078
- return e ? PW(JSON.parse(e)) : null;
33092
+ return e ? RW(JSON.parse(e)) : null;
33079
33093
  } catch {
33080
33094
  return null;
33081
33095
  }
33082
33096
  }
33083
- function IW(e) {
33097
+ function BW(e) {
33084
33098
  typeof window < "u" && window.localStorage.setItem(Mz, JSON.stringify(e));
33085
33099
  }
33086
- function LW(e, t) {
33100
+ function VW(e, t) {
33087
33101
  if (e.themePresetId === "custom") return e;
33088
- let { backgroundHex: n, foregroundHex: r } = jW(e.themePresetId, t), i = qz(e.themePresetId), a = {
33102
+ let { backgroundHex: n, foregroundHex: r } = FW(e.themePresetId, t), i = Xz(e.themePresetId), a = {
33089
33103
  ...e,
33090
33104
  backgroundHex: bz(n, e.backgroundHex),
33091
33105
  foregroundHex: bz(r, e.foregroundHex)
33092
33106
  };
33093
33107
  return a.accentPreset === "default" && i && (a.customAccentHex = bz(i.swatch, a.customAccentHex)), a;
33094
33108
  }
33095
- function RW(e, t = OW()) {
33096
- return LW(e, kW(e.mode, t));
33109
+ function HW(e, t = MW()) {
33110
+ return VW(e, NW(e.mode, t));
33097
33111
  }
33098
33112
  // src/ui/lib/appearance/markTokens.ts
33099
- var zW = 4.6, BW = .09, VW = 120, HW = {
33113
+ var UW = 4.6, WW = .09, GW = 120, KW = {
33100
33114
  min: .4,
33101
33115
  max: .7
33102
- }, UW = .02;
33103
- function WW(e, t, n, r) {
33116
+ }, qW = .02;
33117
+ function JW(e, t, n, r) {
33104
33118
  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) {
33119
+ for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * qW) {
33106
33120
  let i = Dz(e, t, r);
33107
- if (n.every((e) => Tz(i, e) >= zW)) return i;
33121
+ if (n.every((e) => Tz(i, e) >= UW)) return i;
33108
33122
  }
33109
33123
  return r;
33110
33124
  }
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);
33125
+ function YW(e, t, n) {
33126
+ 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
33127
  return {
33114
33128
  "--nm-mark-primary": s(0),
33115
- "--nm-mark-secondary": s(VW),
33129
+ "--nm-mark-secondary": s(GW),
33116
33130
  "--nm-mark-tertiary": s(240),
33117
33131
  "--nm-mark-surface": r
33118
33132
  };
33119
33133
  }
33120
33134
  // 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];
33135
+ function XW(e) {
33136
+ 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
33137
  }
33124
- function qW(e, t) {
33125
- let n = e / Vz.max, r = t === "dark" ? .06 : .05;
33138
+ function ZW(e, t) {
33139
+ let n = e / Wz.max, r = t === "dark" ? .06 : .05;
33126
33140
  return r + n * ((t === "dark" ? .42 : .38) - r);
33127
33141
  }
33128
- function JW(e) {
33142
+ function QW(e) {
33129
33143
  let t = `${e}px`;
33130
33144
  return {
33131
33145
  "--nm-icon-button": t,
@@ -33133,18 +33147,18 @@ function JW(e) {
33133
33147
  "--nm-rail-icon": t
33134
33148
  };
33135
33149
  }
33136
- function YW(e, t) {
33150
+ function $W(e, t) {
33137
33151
  let n = t + 16;
33138
33152
  return { "--nm-ui-chip-min-height": `${Math.max(n, e + 16)}px` };
33139
33153
  }
33140
- function XW(e) {
33154
+ function eG(e) {
33141
33155
  let t = e / zz.default;
33142
- return { [pW]: String(t) };
33156
+ return { [gW]: String(t) };
33143
33157
  }
33144
- function ZW(e) {
33158
+ function tG(e) {
33145
33159
  return { "--nm-space-scale": String(e / Bz.default) };
33146
33160
  }
33147
- function QW(e) {
33161
+ function nG(e) {
33148
33162
  let t = (t) => String(Math.min(Lz.max, Math.max(Lz.min, e + t)));
33149
33163
  return {
33150
33164
  "--nm-weight-light": t(-100),
@@ -33154,7 +33168,7 @@ function QW(e) {
33154
33168
  "--nm-weight-bold": t(300)
33155
33169
  };
33156
33170
  }
33157
- function $W(e) {
33171
+ function rG(e) {
33158
33172
  let t = e / Fz.default, n = `${e}px`, r = `${Math.max(Fz.min, e - 2)}px`;
33159
33173
  return {
33160
33174
  "--nm-type-body": n,
@@ -33170,7 +33184,7 @@ function $W(e) {
33170
33184
  "--font-size-sm": r
33171
33185
  };
33172
33186
  }
33173
- function eG(e, t) {
33187
+ function iG(e, t) {
33174
33188
  let n = xz(t);
33175
33189
  return {
33176
33190
  "--text-primary": e["--nm-fg-rgb"],
@@ -33198,12 +33212,12 @@ function eG(e, t) {
33198
33212
  "--nordman-accent": n
33199
33213
  };
33200
33214
  }
33201
- function tG(e, t, n, r) {
33215
+ function aG(e, t, n, r) {
33202
33216
  let i = jz[t];
33203
- return e.themePresetId === Uz[0].id && e.contrast === Vz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
33217
+ return e.themePresetId === Kz[0].id && e.contrast === Wz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
33204
33218
  }
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 = {
33219
+ function oG(e, t) {
33220
+ 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
33221
  "--nm-canvas": n,
33208
33222
  "--nm-fg": r,
33209
33223
  "--nm-fg-muted": p,
@@ -33211,7 +33225,7 @@ function nG(e, t) {
33211
33225
  "--nm-stroke": f,
33212
33226
  "--nm-line": u,
33213
33227
  "--nm-line-strong": d,
33214
- "--nm-divider": Cz(n, r, e.contrast / Vz.max * .5),
33228
+ "--nm-divider": Cz(n, r, e.contrast / Wz.max * .5),
33215
33229
  "--nm-panel": s,
33216
33230
  "--nm-raised": c,
33217
33231
  "--nm-inset": l,
@@ -33228,44 +33242,45 @@ function nG(e, t) {
33228
33242
  "--nm-accent": i,
33229
33243
  "--nm-accent-rgb": xz(i),
33230
33244
  ...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)
33245
+ ...YW(i, n, r),
33246
+ ...rG(e.uiFontSizePx),
33247
+ ...nG(e.uiFontWeight),
33248
+ ...QW(e.uiIconSizePx),
33249
+ ...$W(e.uiFontSizePx, e.uiIconSizePx),
33250
+ ...eG(e.uiRadiusPercent),
33251
+ ...tG(e.uiSpacePercent),
33252
+ "--nm-border-strength": Hz[e.borders]
33238
33253
  };
33239
33254
  return {
33240
33255
  ...h,
33241
- ...eG(h, i)
33256
+ ...iG(h, i)
33242
33257
  };
33243
33258
  }
33244
- function rG(e) {
33259
+ function sG(e) {
33245
33260
  return e;
33246
33261
  }
33247
33262
  // src/ui/lib/appearance/applyAppearance.ts
33248
- var iG = W("interface-appearance-apply");
33249
- function aG() {
33263
+ var cG = W("interface-appearance-apply");
33264
+ function lG() {
33250
33265
  return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
33251
33266
  }
33252
- function oG(e = document.documentElement) {
33253
- Kz.forEach((t) => {
33267
+ function uG(e = document.documentElement) {
33268
+ Yz.forEach((t) => {
33254
33269
  e.style.removeProperty(t);
33255
- });
33270
+ }), e.removeAttribute(Uz);
33256
33271
  }
33257
- function sG(e, t = document.documentElement) {
33258
- let n = kW(e.mode, aG()), r = nG(e, n);
33259
- return iG.debug("apply", "appearance", {
33272
+ function dG(e, t = document.documentElement) {
33273
+ let n = NW(e.mode, lG()), r = oG(e, n);
33274
+ return cG.debug("apply", "appearance", {
33260
33275
  mode: e.mode,
33261
33276
  scheme: n,
33262
33277
  theme: e.themePresetId
33263
33278
  }), Object.entries(r).forEach(([e, n]) => {
33264
33279
  t.style.setProperty(e, n);
33265
- }), typeof window < "u" && window.dispatchEvent(new CustomEvent(Nz)), { scheme: n };
33280
+ }), t.setAttribute(Uz, e.borders), typeof window < "u" && window.dispatchEvent(new CustomEvent(Nz)), { scheme: n };
33266
33281
  }
33267
33282
  // src/ui/lib/appearance/readLayoutMetrics.ts
33268
- function cG(e, t, n) {
33283
+ function fG(e, t, n) {
33269
33284
  let r = getComputedStyle(e).getPropertyValue(t).trim();
33270
33285
  if (!r) return n;
33271
33286
  if (r.endsWith("px")) {
@@ -33278,7 +33293,7 @@ function cG(e, t, n) {
33278
33293
  }
33279
33294
  return n;
33280
33295
  }
33281
- function lG(e = document.documentElement) {
33282
- return cG(e, "--nm-icon-control", 34) + cG(e, "--nm-space-2", 2);
33296
+ function pG(e = document.documentElement) {
33297
+ return fG(e, "--nm-icon-control", 34) + fG(e, "--nm-space-2", 2);
33283
33298
  }
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 };
33299
+ 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 };