@nordmanai/nif 0.2.11 → 0.2.12

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -31749,19 +31749,22 @@ function wH({ className: e, side: t = "top", sideOffset: n = 4, align: r = "cent
31749
31749
  // src/ui/components/nm-sidebar/nm-sidebar.tsx
31750
31750
  var TH = i(null), EH = "[data-slot=\"sidebar\"], [data-slot=\"sidebar-trigger\"], [data-slot=\"tooltip-content\"], [role=\"menu\"], [role=\"dialog\"]";
31751
31751
  function DH() {
31752
+ return s(TH);
31753
+ }
31754
+ function OH() {
31752
31755
  let e = s(TH);
31753
31756
  if (!e) throw Error("useSidebar must be used within a NmSidebarProvider.");
31754
31757
  return e;
31755
31758
  }
31756
- function OH(e) {
31759
+ function kH(e) {
31757
31760
  let [t, n] = p(() => typeof window > "u" ? !1 : window.matchMedia(e).matches);
31758
31761
  return c(() => {
31759
31762
  let t = window.matchMedia(e), r = () => n(t.matches);
31760
31763
  return r(), t.addEventListener("change", r), () => t.removeEventListener("change", r);
31761
31764
  }, [e]), t;
31762
31765
  }
31763
- 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 }) {
31764
- 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) => {
31766
+ function AH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill", className: s, style: l, children: u, ...m }) {
31767
+ let h = kH(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) => {
31765
31768
  n?.(e), t ?? y(e), S(!1);
31766
31769
  }, [n, t]), k = o(() => {
31767
31770
  h ? _((e) => !e) : O(!D);
@@ -31842,8 +31845,8 @@ function kH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, p
31842
31845
  })
31843
31846
  });
31844
31847
  }
31845
- function AH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", label: r = "Sidebar", className: i, children: a, ...o }) {
31846
- let { isMobile: s, state: l, openMobile: u, setOpenMobile: d, peek: f, peekIn: p, peekOut: m, setCollapsible: h } = DH();
31848
+ function jH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcanvas", label: r = "Sidebar", className: i, children: a, ...o }) {
31849
+ let { isMobile: s, state: l, openMobile: u, setOpenMobile: d, peek: f, peekIn: p, peekOut: m, setCollapsible: h } = OH();
31847
31850
  if (c(() => h(n), [n, h]), n === "none") return /* @__PURE__ */ b("div", {
31848
31851
  "data-slot": "sidebar",
31849
31852
  "data-side": e,
@@ -31893,8 +31896,8 @@ function AH({ side: e = "left", variant: t = "sidebar", collapsible: n = "offcan
31893
31896
  })
31894
31897
  });
31895
31898
  }
31896
- function jH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, onClick: i, onPointerEnter: a, onPointerLeave: o, ...s }) {
31897
- let { open: c, isMobile: l, toggleSidebar: u, peekIn: d, peekOut: f } = DH(), p = t ?? (c || l ? "Close sidebar" : "Open sidebar"), m = /* @__PURE__ */ b(UC, {
31899
+ function MH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, onClick: i, onPointerEnter: a, onPointerLeave: o, ...s }) {
31900
+ let { open: c, isMobile: l, toggleSidebar: u, peekIn: d, peekOut: f } = OH(), p = t ?? (c || l ? "Close sidebar" : "Open sidebar"), m = /* @__PURE__ */ b(UC, {
31898
31901
  "data-slot": "sidebar-trigger",
31899
31902
  glyph: n,
31900
31903
  label: p,
@@ -31916,8 +31919,8 @@ function jH({ className: e, label: t, icon: n = "panel-left", tooltip: r = !0, o
31916
31919
  children: [p, /* @__PURE__ */ b(KB, { children: "⌘B" })]
31917
31920
  })] }) : m;
31918
31921
  }
31919
- function MH({ className: e, label: t = "Toggle sidebar", ...n }) {
31920
- let { toggleSidebar: r } = DH();
31922
+ function NH({ className: e, label: t = "Toggle sidebar", ...n }) {
31923
+ let { toggleSidebar: r } = OH();
31921
31924
  return /* @__PURE__ */ b("button", {
31922
31925
  type: "button",
31923
31926
  "data-slot": "sidebar-rail",
@@ -31929,56 +31932,61 @@ function MH({ className: e, label: t = "Toggle sidebar", ...n }) {
31929
31932
  ...n
31930
31933
  });
31931
31934
  }
31932
- function NH({ className: e, ...t }) {
31933
- return /* @__PURE__ */ b("main", {
31934
- "data-slot": "sidebar-inset",
31935
- className: F("nm-sidebar__inset", e),
31936
- ...t
31935
+ function PH({ className: e, render: t, ref: n, ...r }) {
31936
+ return Si({
31937
+ render: t,
31938
+ ref: n,
31939
+ defaultTagName: "main",
31940
+ props: {
31941
+ "data-slot": "sidebar-inset",
31942
+ className: F("nm-sidebar__inset", e),
31943
+ ...r
31944
+ }
31937
31945
  });
31938
31946
  }
31939
- function PH({ className: e, ...t }) {
31947
+ function FH({ className: e, ...t }) {
31940
31948
  return /* @__PURE__ */ b(dN, {
31941
31949
  "data-slot": "sidebar-input",
31942
31950
  className: F("nm-sidebar__input", e),
31943
31951
  ...t
31944
31952
  });
31945
31953
  }
31946
- function FH({ className: e, ...t }) {
31954
+ function IH({ className: e, ...t }) {
31947
31955
  return /* @__PURE__ */ b("div", {
31948
31956
  "data-slot": "sidebar-header",
31949
31957
  className: F("nm-sidebar__header", e),
31950
31958
  ...t
31951
31959
  });
31952
31960
  }
31953
- function IH({ className: e, ...t }) {
31961
+ function LH({ className: e, ...t }) {
31954
31962
  return /* @__PURE__ */ b("div", {
31955
31963
  "data-slot": "sidebar-footer",
31956
31964
  className: F("nm-sidebar__footer", e),
31957
31965
  ...t
31958
31966
  });
31959
31967
  }
31960
- function LH({ className: e, ...t }) {
31968
+ function RH({ className: e, ...t }) {
31961
31969
  return /* @__PURE__ */ b(cD, {
31962
31970
  "data-slot": "sidebar-separator",
31963
31971
  className: F("nm-sidebar__separator", e),
31964
31972
  ...t
31965
31973
  });
31966
31974
  }
31967
- function RH({ className: e, ...t }) {
31975
+ function zH({ className: e, ...t }) {
31968
31976
  return /* @__PURE__ */ b("div", {
31969
31977
  "data-slot": "sidebar-content",
31970
31978
  className: F("nm-sidebar__content", e),
31971
31979
  ...t
31972
31980
  });
31973
31981
  }
31974
- function zH({ className: e, ...t }) {
31982
+ function BH({ className: e, ...t }) {
31975
31983
  return /* @__PURE__ */ b("div", {
31976
31984
  "data-slot": "sidebar-group",
31977
31985
  className: F("nm-sidebar__group", e),
31978
31986
  ...t
31979
31987
  });
31980
31988
  }
31981
- function BH({ className: e, render: t, ref: n, ...r }) {
31989
+ function VH({ className: e, render: t, ref: n, ...r }) {
31982
31990
  return Si({
31983
31991
  render: t,
31984
31992
  ref: n,
@@ -31990,7 +31998,7 @@ function BH({ className: e, render: t, ref: n, ...r }) {
31990
31998
  }
31991
31999
  });
31992
32000
  }
31993
- function VH({ className: e, ...t }) {
32001
+ function HH({ className: e, ...t }) {
31994
32002
  return /* @__PURE__ */ b(aM, {
31995
32003
  "data-slot": "sidebar-group-action",
31996
32004
  tone: "quiet",
@@ -31998,29 +32006,29 @@ function VH({ className: e, ...t }) {
31998
32006
  ...t
31999
32007
  });
32000
32008
  }
32001
- function HH({ className: e, ...t }) {
32009
+ function UH({ className: e, ...t }) {
32002
32010
  return /* @__PURE__ */ b("div", {
32003
32011
  "data-slot": "sidebar-group-content",
32004
32012
  className: F("nm-sidebar__group-content", e),
32005
32013
  ...t
32006
32014
  });
32007
32015
  }
32008
- function UH({ className: e, ...t }) {
32016
+ function WH({ className: e, ...t }) {
32009
32017
  return /* @__PURE__ */ b("ul", {
32010
32018
  "data-slot": "sidebar-menu",
32011
32019
  className: F("nm-sidebar__menu", e),
32012
32020
  ...t
32013
32021
  });
32014
32022
  }
32015
- function WH({ className: e, ...t }) {
32023
+ function GH({ className: e, ...t }) {
32016
32024
  return /* @__PURE__ */ b("li", {
32017
32025
  "data-slot": "sidebar-menu-item",
32018
32026
  className: F("nm-sidebar__menu-item", e),
32019
32027
  ...t
32020
32028
  });
32021
32029
  }
32022
- function GH({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ref: o, ...s }) {
32023
- let { isMobile: c, state: l, peek: u } = DH(), d = Si({
32030
+ function KH({ render: e, isActive: t = !1, variant: n = "default", size: r = "default", tooltip: i, className: a, ref: o, ...s }) {
32031
+ let { isMobile: c, state: l, peek: u } = OH(), d = Si({
32024
32032
  render: e,
32025
32033
  ref: o,
32026
32034
  defaultTagName: "button",
@@ -32041,7 +32049,7 @@ function GH({ render: e, isActive: t = !1, variant: n = "default", size: r = "de
32041
32049
  ...typeof i == "string" ? { children: i } : i
32042
32050
  }) : null] });
32043
32051
  }
32044
- function KH({ className: e, showOnHover: t = !1, ...n }) {
32052
+ function qH({ className: e, showOnHover: t = !1, ...n }) {
32045
32053
  return /* @__PURE__ */ b(aM, {
32046
32054
  "data-slot": "sidebar-menu-action",
32047
32055
  "data-show-on-hover": t ? "" : void 0,
@@ -32050,7 +32058,7 @@ function KH({ className: e, showOnHover: t = !1, ...n }) {
32050
32058
  ...n
32051
32059
  });
32052
32060
  }
32053
- function qH({ className: e, ...t }) {
32061
+ function JH({ className: e, ...t }) {
32054
32062
  return /* @__PURE__ */ b(CC, {
32055
32063
  "data-slot": "sidebar-menu-badge",
32056
32064
  size: "sm",
@@ -32058,7 +32066,7 @@ function qH({ className: e, ...t }) {
32058
32066
  ...t
32059
32067
  });
32060
32068
  }
32061
- function JH({ title: e, description: t, className: n, ...r }) {
32069
+ function YH({ title: e, description: t, className: n, ...r }) {
32062
32070
  return /* @__PURE__ */ x("span", {
32063
32071
  "data-slot": "sidebar-menu-text",
32064
32072
  className: F("nm-sidebar__text", n),
@@ -32066,7 +32074,7 @@ function JH({ title: e, description: t, className: n, ...r }) {
32066
32074
  children: [/* @__PURE__ */ b("span", { children: e }), t == null ? null : /* @__PURE__ */ b("span", { children: t })]
32067
32075
  });
32068
32076
  }
32069
- function YH({ className: e, showIcon: t = !1, ...n }) {
32077
+ function XH({ className: e, showIcon: t = !1, ...n }) {
32070
32078
  let [r] = p(() => `${Math.floor(Math.random() * 40) + 50}%`);
32071
32079
  return /* @__PURE__ */ x("div", {
32072
32080
  "data-slot": "sidebar-menu-skeleton",
@@ -32078,36 +32086,39 @@ function YH({ className: e, showIcon: t = !1, ...n }) {
32078
32086
  })]
32079
32087
  });
32080
32088
  }
32081
- function XH({ className: e, ...t }) {
32089
+ function ZH({ className: e, ...t }) {
32082
32090
  return /* @__PURE__ */ b("ul", {
32083
32091
  "data-slot": "sidebar-menu-sub",
32084
32092
  className: F("nm-sidebar__menu-sub", e),
32085
32093
  ...t
32086
32094
  });
32087
32095
  }
32088
- function ZH({ className: e, ...t }) {
32096
+ function QH({ className: e, ...t }) {
32089
32097
  return /* @__PURE__ */ b("li", {
32090
32098
  "data-slot": "sidebar-menu-sub-item",
32091
32099
  className: F("nm-sidebar__menu-sub-item", e),
32092
32100
  ...t
32093
32101
  });
32094
32102
  }
32095
- function QH({ render: e, size: t = "default", isActive: n = !1, className: r, ref: i, ...a }) {
32103
+ function $H({ render: e, size: t = "default", isActive: n = !1, disabled: r = !1, className: i, ref: a, ...o }) {
32096
32104
  return Si({
32097
32105
  render: e,
32098
- ref: i,
32106
+ ref: a,
32099
32107
  defaultTagName: "a",
32100
32108
  props: {
32101
32109
  "data-slot": "sidebar-menu-sub-button",
32102
32110
  "data-size": t,
32103
32111
  "data-active": n ? "" : void 0,
32112
+ "data-disabled": r ? "" : void 0,
32113
+ "aria-disabled": r ? !0 : void 0,
32114
+ disabled: r ? !0 : void 0,
32104
32115
  "aria-current": n ? "page" : void 0,
32105
- className: F("nm-sidebar__menu-sub-button", r),
32106
- ...a
32116
+ className: F("nm-sidebar__menu-sub-button", i),
32117
+ ...o
32107
32118
  }
32108
32119
  });
32109
32120
  }
32110
- function $H({ className: e, menu: t = !1, ...n }) {
32121
+ function eU({ className: e, menu: t = !1, ...n }) {
32111
32122
  return /* @__PURE__ */ b(G, {
32112
32123
  id: "chevron",
32113
32124
  "data-menu": t ? "" : void 0,
@@ -32116,7 +32127,7 @@ function $H({ className: e, menu: t = !1, ...n }) {
32116
32127
  });
32117
32128
  }
32118
32129
  // src/ui/components/nm-slider/nm-slider.tsx
32119
- function eU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
32130
+ function tU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
32120
32131
  let c = Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], l = /* @__PURE__ */ b(Up.Root, {
32121
32132
  "data-slot": "slider",
32122
32133
  className: F("nm-slider", e),
@@ -32157,7 +32168,7 @@ function eU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100,
32157
32168
  }) : l;
32158
32169
  }
32159
32170
  // src/ui/components/nm-spinner/nm-spinner.tsx
32160
- function tU({ className: e, ...t }) {
32171
+ function nU({ className: e, ...t }) {
32161
32172
  return /* @__PURE__ */ b("span", {
32162
32173
  role: "status",
32163
32174
  "aria-live": "polite",
@@ -32167,14 +32178,14 @@ function tU({ className: e, ...t }) {
32167
32178
  });
32168
32179
  }
32169
32180
  // src/ui/components/nm-status-bar/nm-status-bar.tsx
32170
- function nU({ className: e, ...t }) {
32181
+ function rU({ className: e, ...t }) {
32171
32182
  return /* @__PURE__ */ b("footer", {
32172
32183
  "data-slot": "status-bar",
32173
32184
  className: F("nm-status-bar", e),
32174
32185
  ...t
32175
32186
  });
32176
32187
  }
32177
- function rU({ className: e, onClick: t, children: n, ...r }) {
32188
+ function iU({ className: e, onClick: t, children: n, ...r }) {
32178
32189
  let i = F("nm-status-bar__item", e);
32179
32190
  return t ? /* @__PURE__ */ b("button", {
32180
32191
  type: "button",
@@ -32189,7 +32200,7 @@ function rU({ className: e, onClick: t, children: n, ...r }) {
32189
32200
  children: n
32190
32201
  });
32191
32202
  }
32192
- function iU({ className: e, ...t }) {
32203
+ function aU({ className: e, ...t }) {
32193
32204
  return /* @__PURE__ */ b("span", {
32194
32205
  "aria-hidden": "true",
32195
32206
  "data-slot": "status-bar-spacer",
@@ -32198,7 +32209,7 @@ function iU({ className: e, ...t }) {
32198
32209
  });
32199
32210
  }
32200
32211
  // src/ui/components/nm-switch/nm-switch.tsx
32201
- function aU({ className: e, ...t }) {
32212
+ function oU({ className: e, ...t }) {
32202
32213
  return /* @__PURE__ */ b(ae.Root, {
32203
32214
  "data-slot": "switch",
32204
32215
  className: F("nm-switch", e),
@@ -32210,13 +32221,13 @@ function aU({ className: e, ...t }) {
32210
32221
  });
32211
32222
  }
32212
32223
  // src/ui/components/nm-table/nm-table.tsx
32213
- var oU = [
32224
+ var sU = [
32214
32225
  "default",
32215
32226
  "striped",
32216
32227
  "lined",
32217
32228
  "plain"
32218
- ], sU = ["default", "sm"];
32219
- function cU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
32229
+ ], cU = ["default", "sm"];
32230
+ function lU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
32220
32231
  return /* @__PURE__ */ b("div", {
32221
32232
  "data-slot": "table-container",
32222
32233
  "data-sticky": r ? "" : void 0,
@@ -32231,28 +32242,28 @@ function cU({ className: e, variant: t = "default", size: n = "default", stickyH
32231
32242
  })
32232
32243
  });
32233
32244
  }
32234
- function lU({ className: e, ...t }) {
32245
+ function uU({ className: e, ...t }) {
32235
32246
  return /* @__PURE__ */ b("thead", {
32236
32247
  "data-slot": "table-header",
32237
32248
  className: F("nm-table__header", e),
32238
32249
  ...t
32239
32250
  });
32240
32251
  }
32241
- function uU({ className: e, ...t }) {
32252
+ function dU({ className: e, ...t }) {
32242
32253
  return /* @__PURE__ */ b("tbody", {
32243
32254
  "data-slot": "table-body",
32244
32255
  className: F("nm-table__body", e),
32245
32256
  ...t
32246
32257
  });
32247
32258
  }
32248
- function dU({ className: e, ...t }) {
32259
+ function fU({ className: e, ...t }) {
32249
32260
  return /* @__PURE__ */ b("tfoot", {
32250
32261
  "data-slot": "table-footer",
32251
32262
  className: F("nm-table__footer", e),
32252
32263
  ...t
32253
32264
  });
32254
32265
  }
32255
- function fU({ className: e, selected: t, disabled: n, ...r }) {
32266
+ function pU({ className: e, selected: t, disabled: n, ...r }) {
32256
32267
  return /* @__PURE__ */ b("tr", {
32257
32268
  "data-slot": "table-row",
32258
32269
  "data-selected": t ? "" : void 0,
@@ -32264,7 +32275,7 @@ function fU({ className: e, selected: t, disabled: n, ...r }) {
32264
32275
  ...r
32265
32276
  });
32266
32277
  }
32267
- function pU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
32278
+ function mU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
32268
32279
  return /* @__PURE__ */ b("th", {
32269
32280
  "data-slot": "table-head",
32270
32281
  "data-align": t,
@@ -32284,7 +32295,7 @@ function pU({ className: e, textAlign: t = "start", sort: n, onSort: r, children
32284
32295
  }) : i
32285
32296
  });
32286
32297
  }
32287
- function mU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32298
+ function hU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32288
32299
  return /* @__PURE__ */ b("td", {
32289
32300
  "data-slot": "table-cell",
32290
32301
  "data-align": t,
@@ -32293,7 +32304,7 @@ function mU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
32293
32304
  ...r
32294
32305
  });
32295
32306
  }
32296
- function hU({ className: e, ...t }) {
32307
+ function gU({ className: e, ...t }) {
32297
32308
  return /* @__PURE__ */ b("caption", {
32298
32309
  "data-slot": "table-caption",
32299
32310
  className: F("nm-table__caption", e),
@@ -32301,17 +32312,17 @@ function hU({ className: e, ...t }) {
32301
32312
  });
32302
32313
  }
32303
32314
  // src/ui/config/nm-tabs.ts
32304
- var gU = {
32315
+ var _U = {
32305
32316
  root: "nm-tabs",
32306
32317
  item: "nm-tabs__item"
32307
- }, _U = W("interface-nm-tabs");
32308
- function vU(e) {
32309
- return _U.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
32310
- className: gU.root,
32318
+ }, vU = W("interface-nm-tabs");
32319
+ function yU(e) {
32320
+ return vU.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
32321
+ className: _U.root,
32311
32322
  role: "tablist",
32312
32323
  "aria-label": e.label,
32313
32324
  children: e.items.map((t) => /* @__PURE__ */ b("button", {
32314
- className: gU.item,
32325
+ className: _U.item,
32315
32326
  type: "button",
32316
32327
  role: "tab",
32317
32328
  "aria-selected": t.id === e.value,
@@ -32320,27 +32331,27 @@ function vU(e) {
32320
32331
  }, t.id))
32321
32332
  });
32322
32333
  }
32323
- function yU(e) {
32334
+ function bU(e) {
32324
32335
  return /* @__PURE__ */ b(ch.Root, {
32325
32336
  "data-slot": "tabs",
32326
32337
  ...e
32327
32338
  });
32328
32339
  }
32329
- function bU({ className: e, ...t }) {
32340
+ function xU({ className: e, ...t }) {
32330
32341
  return /* @__PURE__ */ b(ch.List, {
32331
32342
  "data-slot": "tabs-list",
32332
- className: F(gU.root, e),
32343
+ className: F(_U.root, e),
32333
32344
  ...t
32334
32345
  });
32335
32346
  }
32336
- function xU({ className: e, ...t }) {
32347
+ function SU({ className: e, ...t }) {
32337
32348
  return /* @__PURE__ */ b(ch.Tab, {
32338
32349
  "data-slot": "tabs-trigger",
32339
- className: F(gU.item, e),
32350
+ className: F(_U.item, e),
32340
32351
  ...t
32341
32352
  });
32342
32353
  }
32343
- function SU({ className: e, ...t }) {
32354
+ function CU({ className: e, ...t }) {
32344
32355
  return /* @__PURE__ */ b(ch.Panel, {
32345
32356
  "data-slot": "tabs-content",
32346
32357
  className: F("nm-tabs__panel", e),
@@ -32348,12 +32359,12 @@ function SU({ className: e, ...t }) {
32348
32359
  });
32349
32360
  }
32350
32361
  // src/ui/components/nm-toggle/nm-toggle.tsx
32351
- var CU = ["default", "outline"], wU = [
32362
+ var wU = ["default", "outline"], TU = [
32352
32363
  "sm",
32353
32364
  "default",
32354
32365
  "lg"
32355
32366
  ];
32356
- function TU({ className: e, variant: t = "default", size: n = "default", ...r }) {
32367
+ function EU({ className: e, variant: t = "default", size: n = "default", ...r }) {
32357
32368
  return /* @__PURE__ */ b(vh, {
32358
32369
  "data-slot": "toggle",
32359
32370
  "data-variant": t,
@@ -32363,21 +32374,21 @@ function TU({ className: e, variant: t = "default", size: n = "default", ...r })
32363
32374
  });
32364
32375
  }
32365
32376
  // src/ui/config/nm-top-bar.ts
32366
- var EU = {
32377
+ var DU = {
32367
32378
  root: "nm-header",
32368
32379
  end: "nm-header__end"
32369
- }, DU = W("interface-nm-top-bar");
32370
- function OU(e) {
32371
- return DU.debug("render", "top-bar", {
32380
+ }, OU = W("interface-nm-top-bar");
32381
+ function kU(e) {
32382
+ return OU.debug("render", "top-bar", {
32372
32383
  end: e.end != null,
32373
32384
  menu: e.menu != null
32374
32385
  }), /* @__PURE__ */ x("header", {
32375
- className: EU.root,
32386
+ className: DU.root,
32376
32387
  children: [
32377
32388
  e.menu,
32378
32389
  e.children,
32379
32390
  e.end == null ? null : /* @__PURE__ */ b("div", {
32380
- className: EU.end,
32391
+ className: DU.end,
32381
32392
  "data-hidden-narrow": e.endHidden === !0 ? "true" : "false",
32382
32393
  children: e.end
32383
32394
  })
@@ -32385,12 +32396,12 @@ function OU(e) {
32385
32396
  });
32386
32397
  }
32387
32398
  // src/ui/config/nordman-login.ts
32388
- var kU = {
32399
+ var AU = {
32389
32400
  signIn: "signIn",
32390
32401
  register: "register",
32391
32402
  forgot: "forgot",
32392
32403
  reset: "reset"
32393
- }, AU = "nm-login-form", jU = {
32404
+ }, jU = "nm-login-form", MU = {
32394
32405
  username: "username",
32395
32406
  password: "password",
32396
32407
  displayName: "displayName",
@@ -32398,11 +32409,11 @@ var kU = {
32398
32409
  registerPassword: "register-password",
32399
32410
  confirmPassword: "confirm-password",
32400
32411
  resetPassword: "reset-password"
32401
- }, MU = {
32412
+ }, NU = {
32402
32413
  viewBox: "0 0 24 24",
32403
32414
  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",
32404
32415
  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"
32405
- }, NU = "nordman", PU = {
32416
+ }, PU = "nordman", FU = {
32406
32417
  skip: "Hoppa till innehållet",
32407
32418
  identifier: "Email",
32408
32419
  identifierPlaceholder: "name@mail.com",
@@ -32435,7 +32446,7 @@ var kU = {
32435
32446
  registerEmailInUse: "Det finns redan ett konto med den här e-postadressen.",
32436
32447
  registerDone: "Kolla mejlet för att bekräfta kontot.",
32437
32448
  registerDoneReady: "Kontot är skapat. Logga in."
32438
- }, FU = {
32449
+ }, IU = {
32439
32450
  skip: "Skip to content",
32440
32451
  identifier: "Email",
32441
32452
  identifierPlaceholder: "name@mail.com",
@@ -32469,13 +32480,13 @@ var kU = {
32469
32480
  registerDone: "Check your email to confirm the account.",
32470
32481
  registerDoneReady: "The account is created. Log in."
32471
32482
  };
32472
- function IU(e) {
32473
- return dV(e ?? cV()) ? FU : PU;
32483
+ function LU(e) {
32484
+ return dV(e ?? cV()) ? IU : FU;
32474
32485
  }
32475
32486
  var $ = new Proxy({}, { get(e, t) {
32476
- return IU()[t];
32477
- } }), LU = W("interface-nordman-login-reveal");
32478
- function RU(e) {
32487
+ return LU()[t];
32488
+ } }), RU = W("interface-nordman-login-reveal");
32489
+ function zU(e) {
32479
32490
  let t = e.revealed ? $.hidePassword : $.showPassword;
32480
32491
  return /* @__PURE__ */ b("button", {
32481
32492
  className: "nm-login__reveal",
@@ -32484,22 +32495,22 @@ function RU(e) {
32484
32495
  "aria-pressed": e.revealed,
32485
32496
  "data-testid": "cta-reveal-password",
32486
32497
  onClick: () => {
32487
- LU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
32498
+ RU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
32488
32499
  },
32489
32500
  children: /* @__PURE__ */ b("svg", {
32490
32501
  className: "nm-login__reveal-icon",
32491
- viewBox: MU.viewBox,
32502
+ viewBox: NU.viewBox,
32492
32503
  "aria-hidden": "true",
32493
32504
  focusable: "false",
32494
32505
  children: /* @__PURE__ */ b("path", {
32495
- d: e.revealed ? MU.hide : MU.show,
32506
+ d: e.revealed ? NU.hide : NU.show,
32496
32507
  fill: "currentColor"
32497
32508
  })
32498
32509
  })
32499
32510
  });
32500
32511
  }
32501
32512
  // src/ui/components/nordman-login-field/nordman-login-field.tsx
32502
- function zU(e) {
32513
+ function BU(e) {
32503
32514
  let t = e.type === "password", [n, r] = p(!1), i = t && n ? "text" : e.type, a = /* @__PURE__ */ b("input", {
32504
32515
  className: t ? "nm-login__control nm-login__control--secret" : "nm-login__control",
32505
32516
  id: e.id,
@@ -32521,7 +32532,7 @@ function zU(e) {
32521
32532
  }), e.accessory]
32522
32533
  }), t ? /* @__PURE__ */ x("div", {
32523
32534
  className: "nm-login__control-wrap",
32524
- children: [a, /* @__PURE__ */ b(RU, {
32535
+ children: [a, /* @__PURE__ */ b(zU, {
32525
32536
  revealed: n,
32526
32537
  onToggle: () => r((e) => !e)
32527
32538
  })]
@@ -32529,43 +32540,43 @@ function zU(e) {
32529
32540
  });
32530
32541
  }
32531
32542
  // src/ui/components/nordman-login-register/nordman-login-register.tsx
32532
- var BU = W("interface-nordman-login-register");
32533
- function VU(e) {
32543
+ var VU = W("interface-nordman-login-register");
32544
+ function HU(e) {
32534
32545
  function t(t) {
32535
32546
  t.preventDefault();
32536
32547
  let n = new FormData(t.currentTarget);
32537
- BU.debug("submit", "start"), e.onRegister({
32538
- username: String(n.get(jU.registerUsername) ?? ""),
32539
- displayName: String(n.get(jU.displayName) ?? ""),
32540
- password: String(n.get(jU.registerPassword) ?? "")
32548
+ VU.debug("submit", "start"), e.onRegister({
32549
+ username: String(n.get(MU.registerUsername) ?? ""),
32550
+ displayName: String(n.get(MU.displayName) ?? ""),
32551
+ password: String(n.get(MU.registerPassword) ?? "")
32541
32552
  });
32542
32553
  }
32543
32554
  return /* @__PURE__ */ x("form", {
32544
32555
  className: "nm-login__form",
32545
- id: AU,
32556
+ id: jU,
32546
32557
  onSubmit: t,
32547
32558
  children: [
32548
- /* @__PURE__ */ b(zU, {
32549
- id: jU.registerUsername,
32550
- name: jU.registerUsername,
32559
+ /* @__PURE__ */ b(BU, {
32560
+ id: MU.registerUsername,
32561
+ name: MU.registerUsername,
32551
32562
  label: $.identifier,
32552
32563
  type: "email",
32553
32564
  autoComplete: "email",
32554
32565
  placeholder: $.identifierPlaceholder,
32555
32566
  required: !0
32556
32567
  }),
32557
- /* @__PURE__ */ b(zU, {
32558
- id: jU.displayName,
32559
- name: jU.displayName,
32568
+ /* @__PURE__ */ b(BU, {
32569
+ id: MU.displayName,
32570
+ name: MU.displayName,
32560
32571
  label: $.displayName,
32561
32572
  type: "text",
32562
32573
  autoComplete: "name",
32563
32574
  minLength: 3,
32564
32575
  required: !0
32565
32576
  }),
32566
- /* @__PURE__ */ b(zU, {
32567
- id: jU.registerPassword,
32568
- name: jU.registerPassword,
32577
+ /* @__PURE__ */ b(BU, {
32578
+ id: MU.registerPassword,
32579
+ name: MU.registerPassword,
32569
32580
  label: $.password,
32570
32581
  type: "password",
32571
32582
  autoComplete: "new-password",
@@ -32588,32 +32599,32 @@ function VU(e) {
32588
32599
  });
32589
32600
  }
32590
32601
  // src/ui/components/nordman-login-sign-in/nordman-login-sign-in.tsx
32591
- var HU = W("interface-nordman-login-sign-in");
32592
- function UU(e) {
32602
+ var UU = W("interface-nordman-login-sign-in");
32603
+ function WU(e) {
32593
32604
  function t(t) {
32594
32605
  t.preventDefault();
32595
- let n = new FormData(t.currentTarget), r = String(n.get(jU.username) ?? ""), i = String(n.get(jU.password) ?? "");
32596
- HU.debug("submit", "start"), e.onSignIn({
32606
+ let n = new FormData(t.currentTarget), r = String(n.get(MU.username) ?? ""), i = String(n.get(MU.password) ?? "");
32607
+ UU.debug("submit", "start"), e.onSignIn({
32597
32608
  username: r,
32598
32609
  password: i
32599
32610
  });
32600
32611
  }
32601
32612
  return /* @__PURE__ */ x("form", {
32602
32613
  className: "nm-login__form",
32603
- id: AU,
32614
+ id: jU,
32604
32615
  onSubmit: t,
32605
32616
  children: [
32606
- /* @__PURE__ */ b(zU, {
32607
- id: jU.username,
32608
- name: jU.username,
32617
+ /* @__PURE__ */ b(BU, {
32618
+ id: MU.username,
32619
+ name: MU.username,
32609
32620
  label: $.identifier,
32610
32621
  type: "text",
32611
32622
  autoComplete: "username",
32612
32623
  placeholder: $.identifierPlaceholder
32613
32624
  }),
32614
- /* @__PURE__ */ b(zU, {
32615
- id: jU.password,
32616
- name: jU.password,
32625
+ /* @__PURE__ */ b(BU, {
32626
+ id: MU.password,
32627
+ name: MU.password,
32617
32628
  label: $.password,
32618
32629
  type: "password",
32619
32630
  autoComplete: "current-password",
@@ -32643,12 +32654,12 @@ function UU(e) {
32643
32654
  });
32644
32655
  }
32645
32656
  // src/ui/components/nordman-login-forgot/nordman-login-forgot.tsx
32646
- var WU = W("interface-nordman-login-forgot");
32647
- function GU(e) {
32657
+ var GU = W("interface-nordman-login-forgot");
32658
+ function KU(e) {
32648
32659
  function t(t) {
32649
32660
  t.preventDefault();
32650
- let n = new FormData(t.currentTarget), r = String(n.get(jU.username) ?? "");
32651
- WU.debug("submit", "start"), e.onRequestReset({ identifier: r });
32661
+ let n = new FormData(t.currentTarget), r = String(n.get(MU.username) ?? "");
32662
+ GU.debug("submit", "start"), e.onRequestReset({ identifier: r });
32652
32663
  }
32653
32664
  return e.sent ? /* @__PURE__ */ b("p", {
32654
32665
  className: "nm-login__notice",
@@ -32656,11 +32667,11 @@ function GU(e) {
32656
32667
  children: $.forgotSent
32657
32668
  }) : /* @__PURE__ */ x("form", {
32658
32669
  className: "nm-login__form",
32659
- id: AU,
32670
+ id: jU,
32660
32671
  onSubmit: t,
32661
- children: [/* @__PURE__ */ b(zU, {
32662
- id: jU.username,
32663
- name: jU.username,
32672
+ children: [/* @__PURE__ */ b(BU, {
32673
+ id: MU.username,
32674
+ name: MU.username,
32664
32675
  label: $.identifier,
32665
32676
  type: "text",
32666
32677
  autoComplete: "username",
@@ -32680,7 +32691,7 @@ function GU(e) {
32680
32691
  });
32681
32692
  }
32682
32693
  // src/ui/components/nordman-login-google/nordman-login-google.tsx
32683
- function KU(e) {
32694
+ function qU(e) {
32684
32695
  return uV(), /* @__PURE__ */ b("div", {
32685
32696
  className: "nm-login__google-wrap",
32686
32697
  children: /* @__PURE__ */ b(kC, {
@@ -32696,17 +32707,17 @@ function KU(e) {
32696
32707
  });
32697
32708
  }
32698
32709
  // src/ui/components/nordman-login-reset/nordman-login-reset.tsx
32699
- var qU = W("interface-nordman-login-reset");
32700
- function JU(e) {
32710
+ var JU = W("interface-nordman-login-reset");
32711
+ function YU(e) {
32701
32712
  let [t, n] = p(!1);
32702
32713
  function r(t) {
32703
32714
  t.preventDefault();
32704
- let r = new FormData(t.currentTarget), i = String(r.get(jU.resetPassword) ?? "");
32705
- i === String(r.get(jU.confirmPassword) ?? "") ? (n(!1), qU.debug("submit", "start"), e.onResetPassword({ password: i })) : (qU.warn("submit", "mismatch"), n(!0));
32715
+ let r = new FormData(t.currentTarget), i = String(r.get(MU.resetPassword) ?? "");
32716
+ i === String(r.get(MU.confirmPassword) ?? "") ? (n(!1), JU.debug("submit", "start"), e.onResetPassword({ password: i })) : (JU.warn("submit", "mismatch"), n(!0));
32706
32717
  }
32707
32718
  return /* @__PURE__ */ x("form", {
32708
32719
  className: "nm-login__form",
32709
- id: AU,
32720
+ id: jU,
32710
32721
  onSubmit: r,
32711
32722
  children: [
32712
32723
  t ? /* @__PURE__ */ b("p", {
@@ -32714,18 +32725,18 @@ function JU(e) {
32714
32725
  role: "alert",
32715
32726
  children: $.mismatch
32716
32727
  }) : null,
32717
- /* @__PURE__ */ b(zU, {
32718
- id: jU.resetPassword,
32719
- name: jU.resetPassword,
32728
+ /* @__PURE__ */ b(BU, {
32729
+ id: MU.resetPassword,
32730
+ name: MU.resetPassword,
32720
32731
  label: $.password,
32721
32732
  type: "password",
32722
32733
  autoComplete: "new-password",
32723
32734
  placeholder: $.passwordPlaceholder,
32724
32735
  minLength: e.passwordMin
32725
32736
  }),
32726
- /* @__PURE__ */ b(zU, {
32727
- id: jU.confirmPassword,
32728
- name: jU.confirmPassword,
32737
+ /* @__PURE__ */ b(BU, {
32738
+ id: MU.confirmPassword,
32739
+ name: MU.confirmPassword,
32729
32740
  label: $.confirmPassword,
32730
32741
  type: "password",
32731
32742
  autoComplete: "new-password",
@@ -32747,12 +32758,12 @@ function JU(e) {
32747
32758
  });
32748
32759
  }
32749
32760
  // src/ui/components/nordman-login-hero/nordman-login-hero.tsx
32750
- var YU = {
32761
+ var XU = {
32751
32762
  square: "glow",
32752
32763
  triangle: "glow tri",
32753
32764
  circle: "glow circle"
32754
32765
  };
32755
- function XU(e) {
32766
+ function ZU(e) {
32756
32767
  let t = f(null);
32757
32768
  return c(() => {
32758
32769
  let n = window.NordmanUI;
@@ -32764,51 +32775,51 @@ function XU(e) {
32764
32775
  }), () => r.abort();
32765
32776
  }, [e.shape]), /* @__PURE__ */ b("div", {
32766
32777
  ref: t,
32767
- className: YU[e.shape],
32778
+ className: XU[e.shape],
32768
32779
  "aria-hidden": "true",
32769
32780
  children: /* @__PURE__ */ b("i", {})
32770
32781
  });
32771
32782
  }
32772
32783
  // src/ui/components/nordman-login/nordman-login.tsx
32773
- function ZU(e) {
32774
- return e.view === kU.register ? /* @__PURE__ */ b(VU, {
32784
+ function QU(e) {
32785
+ return e.view === AU.register ? /* @__PURE__ */ b(HU, {
32775
32786
  pending: e.pending,
32776
32787
  passwordMin: e.passwordMin,
32777
32788
  onRegister: e.onRegister
32778
- }) : e.view === kU.forgot ? /* @__PURE__ */ b(GU, {
32789
+ }) : e.view === AU.forgot ? /* @__PURE__ */ b(KU, {
32779
32790
  pending: e.pending,
32780
32791
  sent: e.sent,
32781
32792
  onRequestReset: e.onRequestReset
32782
- }) : e.view === kU.reset ? /* @__PURE__ */ b(JU, {
32793
+ }) : e.view === AU.reset ? /* @__PURE__ */ b(YU, {
32783
32794
  pending: e.pending,
32784
32795
  passwordMin: e.passwordMin,
32785
32796
  onResetPassword: e.onResetPassword
32786
- }) : e.googleOnly ? /* @__PURE__ */ b(KU, {
32797
+ }) : e.googleOnly ? /* @__PURE__ */ b(qU, {
32787
32798
  pending: e.pending,
32788
32799
  onContinueWithGoogle: () => e.onContinueWithGoogle?.()
32789
- }) : /* @__PURE__ */ b(UU, {
32800
+ }) : /* @__PURE__ */ b(WU, {
32790
32801
  pending: e.pending,
32791
32802
  passwordMin: e.passwordMin,
32792
- onForgot: () => e.onView(kU.forgot),
32803
+ onForgot: () => e.onView(AU.forgot),
32793
32804
  onSignIn: e.onSignIn
32794
32805
  });
32795
32806
  }
32796
- function QU(e) {
32797
- let t = e.view === kU.register, n = e.view === kU.signIn;
32807
+ function $U(e) {
32808
+ let t = e.view === AU.register, n = e.view === AU.signIn;
32798
32809
  return c(() => {
32799
- document.documentElement.dataset.interface = NU;
32810
+ document.documentElement.dataset.interface = PU;
32800
32811
  }, []), /* @__PURE__ */ x("div", {
32801
32812
  className: e.googleOnly ? "nm-login nm-login--google-only" : "nm-login",
32802
32813
  "data-testid": "nordman-login",
32803
32814
  children: [
32804
32815
  /* @__PURE__ */ b("a", {
32805
32816
  className: "nm-login__skip",
32806
- href: `#${AU}`,
32817
+ href: `#${jU}`,
32807
32818
  children: $.skip
32808
32819
  }),
32809
32820
  /* @__PURE__ */ b("div", {
32810
32821
  className: "nm-login__visual",
32811
- children: /* @__PURE__ */ b(XU, { shape: e.shape })
32822
+ children: /* @__PURE__ */ b(ZU, { shape: e.shape })
32812
32823
  }),
32813
32824
  /* @__PURE__ */ b("section", {
32814
32825
  className: "nm-login__panel",
@@ -32824,11 +32835,11 @@ function QU(e) {
32824
32835
  role: "alert",
32825
32836
  children: e.error
32826
32837
  }) : null,
32827
- e.notice && e.view !== kU.forgot ? /* @__PURE__ */ b("p", {
32838
+ e.notice && e.view !== AU.forgot ? /* @__PURE__ */ b("p", {
32828
32839
  className: "nm-login__notice",
32829
32840
  children: e.notice
32830
32841
  }) : null,
32831
- e.children ?? ZU(e),
32842
+ e.children ?? QU(e),
32832
32843
  e.after,
32833
32844
  e.children == null && e.hideSwitch !== !0 && !e.googleOnly ? /* @__PURE__ */ x("p", {
32834
32845
  className: "nm-login__switch",
@@ -32838,7 +32849,7 @@ function QU(e) {
32838
32849
  /* @__PURE__ */ b("button", {
32839
32850
  className: "nm-login__switch-action",
32840
32851
  type: "button",
32841
- onClick: () => e.onView(t || !n ? kU.signIn : kU.register),
32852
+ onClick: () => e.onView(t || !n ? AU.signIn : AU.register),
32842
32853
  children: n ? $.registerAction : $.signInAction
32843
32854
  })
32844
32855
  ]
@@ -32850,9 +32861,9 @@ function QU(e) {
32850
32861
  });
32851
32862
  }
32852
32863
  // src/ui/components/nordman-toggle/nordman-toggle.tsx
32853
- var $U = W("interface-nordman-toggle");
32854
- function eW(e) {
32855
- return $U.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
32864
+ var eW = W("interface-nordman-toggle");
32865
+ function tW(e) {
32866
+ return eW.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
32856
32867
  className: "nm-toggle",
32857
32868
  "data-testid": e.testId,
32858
32869
  children: e.items.map((t) => /* @__PURE__ */ b("a", {
@@ -32865,12 +32876,12 @@ function eW(e) {
32865
32876
  });
32866
32877
  }
32867
32878
  // src/ui/config/nm-app-panel.ts
32868
- var tW = {
32879
+ var nW = {
32869
32880
  code: "code",
32870
32881
  preview: "preview",
32871
32882
  environment: "environment",
32872
32883
  machine: "machine"
32873
- }, nW = {
32884
+ }, rW = {
32874
32885
  code: "/interface/app-panel/code.svg",
32875
32886
  play: "/interface/app-panel/play.svg",
32876
32887
  ellipsis: "/interface/app-panel/ellipsis.svg",
@@ -32879,7 +32890,7 @@ var tW = {
32879
32890
  network: "/interface/app-panel/network.svg",
32880
32891
  message: "/interface/app-panel/message.svg",
32881
32892
  copy: "/interface/app-panel/copy.svg"
32882
- }, rW = {
32893
+ }, iW = {
32883
32894
  root: "nm-app-panel",
32884
32895
  body: "nm-app-panel__body",
32885
32896
  canvas: "nm-app-panel__canvas",
@@ -32894,35 +32905,35 @@ var tW = {
32894
32905
  blocked: "nm-app-panel__blocked",
32895
32906
  blockedTitle: "nm-app-panel__blocked-title",
32896
32907
  blockedBody: "nm-app-panel__blocked-body"
32897
- }, iW = {
32908
+ }, aW = {
32898
32909
  root: "nm-logs-panel",
32899
32910
  body: "nm-logs-panel__body"
32900
- }, aW = ["left", "right"], oW = [
32911
+ }, oW = ["left", "right"], sW = [
32901
32912
  .22,
32902
32913
  1,
32903
32914
  .36,
32904
32915
  1
32905
- ], sW = .25;
32906
- function cW() {
32907
- return lW();
32908
- }
32916
+ ], cW = .25;
32909
32917
  function lW() {
32910
- if (typeof document > "u") return sW;
32918
+ return uW();
32919
+ }
32920
+ function uW() {
32921
+ if (typeof document > "u") return cW;
32911
32922
  let e = getComputedStyle(document.documentElement).getPropertyValue("--reveal").trim();
32912
- return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : sW;
32923
+ return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : cW;
32913
32924
  }
32914
- function uW(e) {
32925
+ function dW(e) {
32915
32926
  return e ? { duration: 0 } : {
32916
- duration: lW(),
32917
- ease: [...oW]
32927
+ duration: uW(),
32928
+ ease: [...sW]
32918
32929
  };
32919
32930
  }
32920
- function dW() {
32931
+ function fW() {
32921
32932
  let e = v();
32922
- return d(() => uW(e === !0), [e]);
32933
+ return d(() => dW(e === !0), [e]);
32923
32934
  }
32924
32935
  // src/ui/config/nm-header-icons.ts
32925
- var fW = [
32936
+ var pW = [
32926
32937
  "chat",
32927
32938
  "bot",
32928
32939
  "app",
@@ -32934,7 +32945,7 @@ var fW = [
32934
32945
  "play",
32935
32946
  "schedule",
32936
32947
  "search"
32937
- ], pW = {
32948
+ ], mW = {
32938
32949
  chat: "/interface/header/chat.svg",
32939
32950
  bot: "/interface/header/bot.svg",
32940
32951
  app: "/interface/header/app.svg",
@@ -32946,16 +32957,16 @@ var fW = [
32946
32957
  play: "/interface/header/play.svg",
32947
32958
  schedule: "/interface/header/schedule.svg",
32948
32959
  search: "/interface/header/search.svg"
32949
- }, 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 = {
32960
+ }, hW = { root: "nm-icon-border" }, gW = /* @__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("."), _W = "--nm-radius-scale", vW = {
32950
32961
  sm: 4,
32951
32962
  md: 8,
32952
32963
  lg: 12
32953
- }, vW = {
32964
+ }, yW = {
32954
32965
  row: "--nm-space-4",
32955
32966
  menu: "--nm-space-8",
32956
32967
  field: "--nm-space-12",
32957
32968
  composer: "--nm-space-24"
32958
- }, yW = {
32969
+ }, bW = {
32959
32970
  sm: "--nm-radius-sm",
32960
32971
  md: "--nm-radius-md",
32961
32972
  lg: "--nm-radius-lg",
@@ -32964,17 +32975,17 @@ var fW = [
32964
32975
  field: "--nm-field-radius",
32965
32976
  menu: "--nm-menu-radius",
32966
32977
  row: "--nm-row-radius"
32967
- }, bW = {
32978
+ }, xW = {
32968
32979
  control: "calc(var(--nm-icon-control) / 2 * var(--nm-radius-scale))",
32969
32980
  composer: "var(--nm-radius-lg)",
32970
32981
  field: "var(--nm-control-r)",
32971
32982
  menu: "var(--nm-radius-lg)",
32972
32983
  row: "var(--nm-control-r)"
32973
- }, xW = {
32984
+ }, SW = {
32974
32985
  sm: "calc(4px * var(--nm-radius-scale))",
32975
32986
  md: "calc(8px * var(--nm-radius-scale))",
32976
32987
  lg: "calc(12px * var(--nm-radius-scale))"
32977
- }, SW = {
32988
+ }, CW = {
32978
32989
  pad: "--nm-menu-pad",
32979
32990
  menuRadius: "--nm-control-menu-radius",
32980
32991
  optionRadius: "--nm-control-option-radius",
@@ -32984,7 +32995,7 @@ var fW = [
32984
32995
  panelItemRadius: "--nm-panel-item-radius",
32985
32996
  rowInline: "--nm-row-inline",
32986
32997
  rowInlineEnd: "--nm-row-inline-end"
32987
- }, CW = [
32998
+ }, wW = [
32988
32999
  "plus",
32989
33000
  "folder",
32990
33001
  "chats",
@@ -32995,7 +33006,7 @@ var fW = [
32995
33006
  "settings",
32996
33007
  "search",
32997
33008
  "plusSm"
32998
- ], wW = {
33009
+ ], TW = {
32999
33010
  plus: "/interface/rail/plus.svg",
33000
33011
  folder: "/interface/rail/folder.svg",
33001
33012
  chats: "/interface/rail/chats.svg",
@@ -33006,29 +33017,29 @@ var fW = [
33006
33017
  settings: "/interface/rail/settings.svg",
33007
33018
  search: "/interface/rail/search.svg",
33008
33019
  plusSm: "/interface/rail/plus-sm.svg"
33009
- }, TW = 750, EW = 7e3, DW = 500;
33020
+ }, EW = 750, DW = 7e3, OW = 500;
33010
33021
  // src/ui/lib/appearance/appearanceState.ts
33011
- function OW(e) {
33022
+ function kW(e) {
33012
33023
  return typeof e == "string" && Pz.includes(e);
33013
33024
  }
33014
- function kW(e) {
33025
+ function AW(e) {
33015
33026
  return typeof e == "string" && Vz.includes(e);
33016
33027
  }
33017
- function AW(e) {
33028
+ function jW(e) {
33018
33029
  return typeof e == "string" && Gz.includes(e);
33019
33030
  }
33020
- function jW(e, t, n, r) {
33031
+ function MW(e, t, n, r) {
33021
33032
  let i = typeof e == "number" ? e : Number(e);
33022
33033
  return Number.isFinite(i) ? Math.min(n, Math.max(t, Math.round(i))) : r;
33023
33034
  }
33024
- function MW() {
33035
+ function NW() {
33025
33036
  return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
33026
33037
  }
33027
- function NW(e, t = MW()) {
33038
+ function PW(e, t = NW()) {
33028
33039
  return e === "light" ? "light" : e === "dark" || t ? "dark" : "light";
33029
33040
  }
33030
- function PW() {
33031
- return HW({
33041
+ function FW() {
33042
+ return UW({
33032
33043
  mode: Jz.mode,
33033
33044
  themePresetId: Jz.themePresetId,
33034
33045
  accentPreset: Jz.accentPreset,
@@ -33044,98 +33055,98 @@ function PW() {
33044
33055
  borders: Jz.borders
33045
33056
  });
33046
33057
  }
33047
- function FW(e, t) {
33058
+ function IW(e, t) {
33048
33059
  let n = Xz(e) ?? Xz(Jz.themePresetId), r = t === "dark" ? n.dark : n.light;
33049
33060
  return {
33050
33061
  backgroundHex: r.canvas,
33051
33062
  foregroundHex: r.foreground
33052
33063
  };
33053
33064
  }
33054
- var IW = {
33065
+ var LW = {
33055
33066
  "#000000/#ffffff": "dark",
33056
33067
  "#fcfaf6/#0a0a0a": "light"
33057
33068
  };
33058
- function LW(e, t, n) {
33059
- let r = IW[`${t}/${n}`.toLowerCase()];
33069
+ function RW(e, t, n) {
33070
+ let r = LW[`${t}/${n}`.toLowerCase()];
33060
33071
  return e !== Jz.themePresetId || r == null ? {
33061
33072
  backgroundHex: t,
33062
33073
  foregroundHex: n
33063
- } : FW(e, r);
33074
+ } : IW(e, r);
33064
33075
  }
33065
- function RW(e) {
33066
- let t = PW();
33076
+ function zW(e) {
33077
+ let t = FW();
33067
33078
  if (!e || typeof e != "object") return t;
33068
- 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));
33079
+ let n = e, r = typeof n.themePresetId == "string" && Xz(n.themePresetId) ? n.themePresetId : t.themePresetId, i = RW(r, bz(typeof n.backgroundHex == "string" ? n.backgroundHex : t.backgroundHex, t.backgroundHex), bz(typeof n.foregroundHex == "string" ? n.foregroundHex : t.foregroundHex, t.foregroundHex));
33069
33080
  return {
33070
- mode: OW(n.mode) ? n.mode : t.mode,
33081
+ mode: kW(n.mode) ? n.mode : t.mode,
33071
33082
  themePresetId: r,
33072
- accentPreset: AW(n.accentPreset) ? n.accentPreset : t.accentPreset,
33083
+ accentPreset: jW(n.accentPreset) ? n.accentPreset : t.accentPreset,
33073
33084
  customAccentHex: bz(typeof n.customAccentHex == "string" ? n.customAccentHex : t.customAccentHex, t.customAccentHex),
33074
33085
  ...i,
33075
- uiFontSizePx: jW(n.uiFontSizePx, Fz.min, Fz.max, t.uiFontSizePx),
33076
- uiFontWeight: Math.round(jW(n.uiFontWeight, Lz.min, Lz.max, t.uiFontWeight) / 100) * 100,
33077
- uiIconSizePx: jW(n.uiIconSizePx, Rz.min, Rz.max, t.uiIconSizePx),
33078
- uiRadiusPercent: jW(n.uiRadiusPercent, zz.min, zz.max, t.uiRadiusPercent),
33079
- uiSpacePercent: jW(n.uiSpacePercent, Bz.min, Bz.max, t.uiSpacePercent),
33080
- contrast: jW(n.contrast, Wz.min, Wz.max, t.contrast),
33081
- borders: kW(n.borders) ? n.borders : t.borders
33086
+ uiFontSizePx: MW(n.uiFontSizePx, Fz.min, Fz.max, t.uiFontSizePx),
33087
+ uiFontWeight: Math.round(MW(n.uiFontWeight, Lz.min, Lz.max, t.uiFontWeight) / 100) * 100,
33088
+ uiIconSizePx: MW(n.uiIconSizePx, Rz.min, Rz.max, t.uiIconSizePx),
33089
+ uiRadiusPercent: MW(n.uiRadiusPercent, zz.min, zz.max, t.uiRadiusPercent),
33090
+ uiSpacePercent: MW(n.uiSpacePercent, Bz.min, Bz.max, t.uiSpacePercent),
33091
+ contrast: MW(n.contrast, Wz.min, Wz.max, t.contrast),
33092
+ borders: AW(n.borders) ? n.borders : t.borders
33082
33093
  };
33083
33094
  }
33084
- function zW() {
33095
+ function BW() {
33085
33096
  if (typeof window > "u") return null;
33086
33097
  try {
33087
33098
  let e = window.localStorage.getItem(Mz);
33088
- return e ? RW(JSON.parse(e)) : null;
33099
+ return e ? zW(JSON.parse(e)) : null;
33089
33100
  } catch {
33090
33101
  return null;
33091
33102
  }
33092
33103
  }
33093
- function BW(e) {
33104
+ function VW(e) {
33094
33105
  typeof window < "u" && window.localStorage.setItem(Mz, JSON.stringify(e));
33095
33106
  }
33096
- function VW(e, t) {
33107
+ function HW(e, t) {
33097
33108
  if (e.themePresetId === "custom") return e;
33098
- let { backgroundHex: n, foregroundHex: r } = FW(e.themePresetId, t), i = Xz(e.themePresetId), a = {
33109
+ let { backgroundHex: n, foregroundHex: r } = IW(e.themePresetId, t), i = Xz(e.themePresetId), a = {
33099
33110
  ...e,
33100
33111
  backgroundHex: bz(n, e.backgroundHex),
33101
33112
  foregroundHex: bz(r, e.foregroundHex)
33102
33113
  };
33103
33114
  return a.accentPreset === "default" && i && (a.customAccentHex = bz(i.swatch, a.customAccentHex)), a;
33104
33115
  }
33105
- function HW(e, t = MW()) {
33106
- return VW(e, NW(e.mode, t));
33116
+ function UW(e, t = NW()) {
33117
+ return HW(e, PW(e.mode, t));
33107
33118
  }
33108
33119
  // src/ui/lib/appearance/markTokens.ts
33109
- var UW = 4.6, WW = .09, GW = 120, KW = {
33120
+ var WW = 4.6, GW = .09, KW = 120, qW = {
33110
33121
  min: .4,
33111
33122
  max: .7
33112
- }, qW = .02;
33113
- function JW(e, t, n, r) {
33123
+ }, JW = .02;
33124
+ function YW(e, t, n, r) {
33114
33125
  let i = n[0] ?? "#000000", a = Tz(i, "#FFFFFF") > Tz(i, "#000000"), o = a ? 1 : -1;
33115
- for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * qW) {
33126
+ for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * JW) {
33116
33127
  let i = Dz(e, t, r);
33117
- if (n.every((e) => Tz(i, e) >= UW)) return i;
33128
+ if (n.every((e) => Tz(i, e) >= WW)) return i;
33118
33129
  }
33119
33130
  return r;
33120
33131
  }
33121
- function YW(e, t, n) {
33122
- 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);
33132
+ function XW(e, t, n) {
33133
+ let r = Cz(t, n, GW), { hue: i, saturation: a } = Ez(e), o = Math.min(qW.max, Math.max(qW.min, a)), s = (e) => YW((i + e) % 360, o, [t, r], n);
33123
33134
  return {
33124
33135
  "--nm-mark-primary": s(0),
33125
- "--nm-mark-secondary": s(GW),
33136
+ "--nm-mark-secondary": s(KW),
33126
33137
  "--nm-mark-tertiary": s(240),
33127
33138
  "--nm-mark-surface": r
33128
33139
  };
33129
33140
  }
33130
33141
  // src/ui/lib/appearance/deriveTokens.ts
33131
- function XW(e) {
33142
+ function ZW(e) {
33132
33143
  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];
33133
33144
  }
33134
- function ZW(e, t) {
33145
+ function QW(e, t) {
33135
33146
  let n = e / Wz.max, r = t === "dark" ? .06 : .05;
33136
33147
  return r + n * ((t === "dark" ? .42 : .38) - r);
33137
33148
  }
33138
- function QW(e) {
33149
+ function $W(e) {
33139
33150
  let t = `${e}px`;
33140
33151
  return {
33141
33152
  "--nm-icon-button": t,
@@ -33143,18 +33154,18 @@ function QW(e) {
33143
33154
  "--nm-rail-icon": t
33144
33155
  };
33145
33156
  }
33146
- function $W(e, t) {
33157
+ function eG(e, t) {
33147
33158
  let n = t + 16;
33148
33159
  return { "--nm-ui-chip-min-height": `${Math.max(n, e + 16)}px` };
33149
33160
  }
33150
- function eG(e) {
33161
+ function tG(e) {
33151
33162
  let t = e / zz.default;
33152
- return { [gW]: String(t) };
33163
+ return { [_W]: String(t) };
33153
33164
  }
33154
- function tG(e) {
33165
+ function nG(e) {
33155
33166
  return { "--nm-space-scale": String(e / Bz.default) };
33156
33167
  }
33157
- function nG(e) {
33168
+ function rG(e) {
33158
33169
  let t = (t) => String(Math.min(Lz.max, Math.max(Lz.min, e + t)));
33159
33170
  return {
33160
33171
  "--nm-weight-light": t(-100),
@@ -33164,7 +33175,7 @@ function nG(e) {
33164
33175
  "--nm-weight-bold": t(300)
33165
33176
  };
33166
33177
  }
33167
- function rG(e) {
33178
+ function iG(e) {
33168
33179
  let t = e / Fz.default, n = `${e}px`, r = `${Math.max(Fz.min, e - 2)}px`;
33169
33180
  return {
33170
33181
  "--nm-type-body": n,
@@ -33180,7 +33191,7 @@ function rG(e) {
33180
33191
  "--font-size-sm": r
33181
33192
  };
33182
33193
  }
33183
- function iG(e, t) {
33194
+ function aG(e, t) {
33184
33195
  let n = xz(t);
33185
33196
  return {
33186
33197
  "--text-primary": e["--nm-fg-rgb"],
@@ -33208,12 +33219,12 @@ function iG(e, t) {
33208
33219
  "--nordman-accent": n
33209
33220
  };
33210
33221
  }
33211
- function aG(e, t, n, r) {
33222
+ function oG(e, t, n, r) {
33212
33223
  let i = jz[t];
33213
33224
  return e.themePresetId === Kz[0].id && e.contrast === Wz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
33214
33225
  }
33215
- function oG(e, t) {
33216
- 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 = {
33226
+ function sG(e, t) {
33227
+ let n = bz(e.backgroundHex, "#000000"), r = bz(e.foregroundHex, "#ffffff"), i = ZW(e), a = QW(e.contrast, t), o = oG(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 = {
33217
33228
  "--nm-canvas": n,
33218
33229
  "--nm-fg": r,
33219
33230
  "--nm-fg-muted": p,
@@ -33238,36 +33249,36 @@ function oG(e, t) {
33238
33249
  "--nm-accent": i,
33239
33250
  "--nm-accent-rgb": xz(i),
33240
33251
  ...Az(i, n, r),
33241
- ...YW(i, n, r),
33242
- ...rG(e.uiFontSizePx),
33243
- ...nG(e.uiFontWeight),
33244
- ...QW(e.uiIconSizePx),
33245
- ...$W(e.uiFontSizePx, e.uiIconSizePx),
33246
- ...eG(e.uiRadiusPercent),
33247
- ...tG(e.uiSpacePercent),
33252
+ ...XW(i, n, r),
33253
+ ...iG(e.uiFontSizePx),
33254
+ ...rG(e.uiFontWeight),
33255
+ ...$W(e.uiIconSizePx),
33256
+ ...eG(e.uiFontSizePx, e.uiIconSizePx),
33257
+ ...tG(e.uiRadiusPercent),
33258
+ ...nG(e.uiSpacePercent),
33248
33259
  "--nm-border-strength": Hz[e.borders]
33249
33260
  };
33250
33261
  return {
33251
33262
  ...h,
33252
- ...iG(h, i)
33263
+ ...aG(h, i)
33253
33264
  };
33254
33265
  }
33255
- function sG(e) {
33266
+ function cG(e) {
33256
33267
  return e;
33257
33268
  }
33258
33269
  // src/ui/lib/appearance/applyAppearance.ts
33259
- var cG = W("interface-appearance-apply");
33260
- function lG() {
33270
+ var lG = W("interface-appearance-apply");
33271
+ function uG() {
33261
33272
  return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
33262
33273
  }
33263
- function uG(e = document.documentElement) {
33274
+ function dG(e = document.documentElement) {
33264
33275
  Yz.forEach((t) => {
33265
33276
  e.style.removeProperty(t);
33266
33277
  }), e.removeAttribute(Uz);
33267
33278
  }
33268
- function dG(e, t = document.documentElement) {
33269
- let n = NW(e.mode, lG()), r = oG(e, n);
33270
- return cG.debug("apply", "appearance", {
33279
+ function fG(e, t = document.documentElement) {
33280
+ let n = PW(e.mode, uG()), r = sG(e, n);
33281
+ return lG.debug("apply", "appearance", {
33271
33282
  mode: e.mode,
33272
33283
  scheme: n,
33273
33284
  theme: e.themePresetId
@@ -33276,7 +33287,7 @@ function dG(e, t = document.documentElement) {
33276
33287
  }), t.setAttribute(Uz, e.borders), typeof window < "u" && window.dispatchEvent(new CustomEvent(Nz)), { scheme: n };
33277
33288
  }
33278
33289
  // src/ui/lib/appearance/readLayoutMetrics.ts
33279
- function fG(e, t, n) {
33290
+ function pG(e, t, n) {
33280
33291
  let r = getComputedStyle(e).getPropertyValue(t).trim();
33281
33292
  if (!r) return n;
33282
33293
  if (r.endsWith("px")) {
@@ -33289,7 +33300,7 @@ function fG(e, t, n) {
33289
33300
  }
33290
33301
  return n;
33291
33302
  }
33292
- function pG(e = document.documentElement) {
33293
- return fG(e, "--nm-icon-control", 34) + fG(e, "--nm-space-2", 2);
33303
+ function mG(e = document.documentElement) {
33304
+ return pG(e, "--nm-icon-control", 34) + pG(e, "--nm-space-2", 2);
33294
33305
  }
33295
- 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 };
33306
+ 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, iW as NM_APP_PANEL_CLASSES, rW as NM_APP_PANEL_ICON_SRC, nW 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, CW as NM_CONTROL_MENU_CSS_VARS, oW 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, gW 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, pW as NM_HEADER_ICON_IDS, mW as NM_HEADER_ICON_SRC, og as NM_ICONS, hW 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, aW 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, bW as NM_RADIUS_CSS_VARS, xW as NM_RADIUS_FORMULAS, SW as NM_RADIUS_PRIMITIVE_FORMULAS, vW as NM_RADIUS_PRIMITIVE_PX, _W as NM_RADIUS_SCALE_VAR, yW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, DW as NM_RAIL_FACE_HOLD_MS, wW as NM_RAIL_ICON_IDS, TW as NM_RAIL_ICON_SRC, EW as NM_RAIL_SCROLL_IDLE_MS, OW 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, cU as NM_TABLE_SIZES, sU as NM_TABLE_VARIANTS, _U as NM_TABS_CLASSES, Kz as NM_THEME_PRESETS, TU as NM_TOGGLE_SIZES, wU as NM_TOGGLE_VARIANTS, sw as NM_TOOL_STATES, DU 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, MU as NORDMAN_LOGIN_FIELDS, jU as NORDMAN_LOGIN_FORM_ID, PU as NORDMAN_LOGIN_INTERFACE, NU as NORDMAN_LOGIN_REVEAL, AU 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, jH as NmSidebar, eU as NmSidebarChevron, zH as NmSidebarContent, LH as NmSidebarFooter, BH as NmSidebarGroup, HH as NmSidebarGroupAction, UH as NmSidebarGroupContent, VH as NmSidebarGroupLabel, IH as NmSidebarHeader, FH as NmSidebarInput, PH as NmSidebarInset, WH as NmSidebarMenu, qH as NmSidebarMenuAction, JH as NmSidebarMenuBadge, KH as NmSidebarMenuButton, GH as NmSidebarMenuItem, XH as NmSidebarMenuSkeleton, ZH as NmSidebarMenuSub, $H as NmSidebarMenuSubButton, QH as NmSidebarMenuSubItem, YH as NmSidebarMenuText, AH as NmSidebarProvider, NH as NmSidebarRail, RH as NmSidebarSeparator, MH as NmSidebarTrigger, bH as NmSkeleton, tU as NmSlider, aM as NmSmallIconButton, _E as NmSources, nU as NmSpinner, yE as NmStackTrace, rU as NmStatusBar, iU as NmStatusBarItem, aU as NmStatusBarSpacer, CE as NmSubagent, wE as NmSuggestions, oU as NmSwitch, lU as NmTable, dU as NmTableBody, gU as NmTableCaption, hU as NmTableCell, fU as NmTableFooter, mU as NmTableHead, uU as NmTableHeader, pU as NmTableRow, yU as NmTabs, CU as NmTabsContent, xU as NmTabsList, bU as NmTabsRoot, SU as NmTabsTrigger, gE as NmTask, vE as NmTerminal, bE as NmTestResults, NT as NmTextShimmer, UN as NmTextarea, WN as NmTextareaPanel, yB as NmTimePicker, EU 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, kU 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, $U as NordmanLogin, BU as NordmanLoginField, KU as NordmanLoginForgot, qU as NordmanLoginGoogle, ZU as NordmanLoginHero, HU as NordmanLoginRegister, YU as NordmanLoginReset, zU as NordmanLoginReveal, WU as NordmanLoginSignIn, tW as NordmanToggle, fG as applyAppearanceState, UW as applyThemePresetPalette, dG as clearAppliedAppearance, Tz as contrastRatio, FW as createDefaultAppearanceState, Zz as defaultThemePresetId, sG 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, HW 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, dW as nmFade, $C as nmHighlightedLines, NC as nmIconButtonClassName, lW as nmSettleSeconds, bz as normalizeHexColor, vw as openDropdownBranch, IW as paletteForPreset, zW as parseAppearanceState, Pw as placeNmDropdownPanel, Fw as placeNmDropdownRowPanel, Iw as placeNmDropdownSubpanel, pG as readCssLengthPx, mG as readNmRailRowStridePx, BW as readStoredAppearanceState, ZW as resolveAccentHex, PW as resolveAppearanceScheme, cG as themeModeFromAppearance, ZE as useBarOverflow, fW as useNmFade, DH as useOptionalSidebar, wV as useReportSaveDirty, OH as useSidebar, TV as useTrackSave, VW as writeStoredAppearanceState };