@nordmanai/nif 0.2.18 → 0.2.19
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 +440 -349
- package/dist/styles.css +1 -1
- package/dist/ui/components/nm-sidebar/nm-sidebar.d.ts +23 -1
- package/package.json +1 -1
- package/registry/index.json +1 -1
- package/registry/ui/components/nm-sidebar/nm-sidebar.css +45 -3
- package/registry/ui/components/nm-sidebar/nm-sidebar.tsx +165 -4
- package/registry/ui/styles/tokens.css +2 -0
package/dist/index.js
CHANGED
|
@@ -13,10 +13,10 @@ import { Menu as k } from "@base-ui/react/menu";
|
|
|
13
13
|
import { ContextMenu as A } from "@base-ui/react/context-menu";
|
|
14
14
|
import { Dialog as j } from "@base-ui/react/dialog";
|
|
15
15
|
import { Menubar as ee } from "@base-ui/react/menubar";
|
|
16
|
-
import { Popover as
|
|
17
|
-
import { PreviewCard as
|
|
18
|
-
import { Progress as
|
|
19
|
-
import { Radio as
|
|
16
|
+
import { Popover as te } from "@base-ui/react/popover";
|
|
17
|
+
import { PreviewCard as ne } from "@base-ui/react/preview-card";
|
|
18
|
+
import { Progress as re } from "@base-ui/react/progress";
|
|
19
|
+
import { Radio as M } from "@base-ui/react/radio";
|
|
20
20
|
import { RadioGroup as ie } from "@base-ui/react/radio-group";
|
|
21
21
|
import { Select as N } from "@base-ui/react/select";
|
|
22
22
|
import { Slider as P } from "@base-ui/react/slider";
|
|
@@ -2896,18 +2896,18 @@ function Du(e, t, n, r, i) {
|
|
|
2896
2896
|
});
|
|
2897
2897
|
O.push(t);
|
|
2898
2898
|
}
|
|
2899
|
-
let j = Zi(i.fadeIn), ee = Zi(i.slideIn),
|
|
2899
|
+
let j = Zi(i.fadeIn), ee = Zi(i.slideIn), te = Zi(i.out), ne = {
|
|
2900
2900
|
overflow: "hidden",
|
|
2901
2901
|
whiteSpace: "nowrap"
|
|
2902
2902
|
};
|
|
2903
|
-
o(e, [
|
|
2904
|
-
let [
|
|
2903
|
+
o(e, [ne, ne], { duration: Math.max(g.duration, te.duration, j.duration) });
|
|
2904
|
+
let [re, M] = S.slide, ie = Math.abs(re) >= .5 || Math.abs(M) >= .5;
|
|
2905
2905
|
for (let e of u) {
|
|
2906
2906
|
let t = getComputedStyle(e).opacity;
|
|
2907
2907
|
o(e, [{ opacity: Number(t) * S.shown }, { opacity: t }], j), A && O.push(o(e, [{ translate: `${-f}px ${-p}px` }, { translate: "0px 0px" }], {
|
|
2908
2908
|
...g,
|
|
2909
2909
|
composite: "add"
|
|
2910
|
-
})), ie && o(e, [{ translate: `${
|
|
2910
|
+
})), ie && o(e, [{ translate: `${re}px ${M}px` }, { translate: "0px 0px" }], {
|
|
2911
2911
|
...ee,
|
|
2912
2912
|
composite: "add"
|
|
2913
2913
|
});
|
|
@@ -2920,12 +2920,12 @@ function Du(e, t, n, r, i) {
|
|
|
2920
2920
|
composite: "add",
|
|
2921
2921
|
fill: "forwards"
|
|
2922
2922
|
})), (o[0] !== s[0] || o[1] !== s[1]) && t.animate([{ transform: `translate(${o[0]}px, ${o[1]}px)` }, { transform: `translate(${s[0]}px, ${s[1]}px)` }], {
|
|
2923
|
-
...
|
|
2923
|
+
...te,
|
|
2924
2924
|
composite: "add",
|
|
2925
2925
|
fill: "forwards"
|
|
2926
2926
|
});
|
|
2927
2927
|
let c = t.animate([{ opacity: a }, { opacity: 0 }], {
|
|
2928
|
-
...
|
|
2928
|
+
...te,
|
|
2929
2929
|
fill: "forwards"
|
|
2930
2930
|
}), l = {
|
|
2931
2931
|
menu: n,
|
|
@@ -3598,31 +3598,31 @@ function uf({ open: e, defaultOpen: t, onOpenChange: n, ...r }) {
|
|
|
3598
3598
|
let [i, a] = ef(e, t, n);
|
|
3599
3599
|
return /* @__PURE__ */ b(sf, {
|
|
3600
3600
|
value: { open: i },
|
|
3601
|
-
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(
|
|
3601
|
+
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(te.Root, {
|
|
3602
3602
|
...r,
|
|
3603
3603
|
open: i,
|
|
3604
3604
|
onOpenChange: a
|
|
3605
3605
|
}) })
|
|
3606
3606
|
});
|
|
3607
3607
|
}
|
|
3608
|
-
var df =
|
|
3608
|
+
var df = te.Trigger;
|
|
3609
3609
|
function ff({ keepMounted: e = !1, ...t }) {
|
|
3610
3610
|
let { open: n } = cf();
|
|
3611
3611
|
return /* @__PURE__ */ b(lf, {
|
|
3612
3612
|
value: e,
|
|
3613
3613
|
children: /* @__PURE__ */ b(tf, {
|
|
3614
|
-
component:
|
|
3614
|
+
component: te.Portal,
|
|
3615
3615
|
portalProps: t,
|
|
3616
3616
|
open: n,
|
|
3617
3617
|
keepMounted: e
|
|
3618
3618
|
})
|
|
3619
3619
|
});
|
|
3620
3620
|
}
|
|
3621
|
-
var pf =
|
|
3621
|
+
var pf = te.Positioner;
|
|
3622
3622
|
function mf({ transition: t, exitTransition: n, ...r }) {
|
|
3623
3623
|
let { open: i } = cf();
|
|
3624
3624
|
return /* @__PURE__ */ b(rf, {
|
|
3625
|
-
component:
|
|
3625
|
+
component: te.Popup,
|
|
3626
3626
|
popupProps: r,
|
|
3627
3627
|
open: i,
|
|
3628
3628
|
keepMounted: e.use(lf),
|
|
@@ -3630,7 +3630,7 @@ function mf({ transition: t, exitTransition: n, ...r }) {
|
|
|
3630
3630
|
exitTransition: n
|
|
3631
3631
|
});
|
|
3632
3632
|
}
|
|
3633
|
-
var hf =
|
|
3633
|
+
var hf = te.Arrow, gf = te.Backdrop, _f = te.Title, vf = te.Description, yf = te.Close, bf = te.Viewport, xf = te.createHandle, Sf = te.Handle, Cf = /* @__PURE__ */ ji({
|
|
3634
3634
|
Arrow: () => Mf,
|
|
3635
3635
|
Backdrop: () => Nf,
|
|
3636
3636
|
Handle: () => If,
|
|
@@ -3649,7 +3649,7 @@ function Df({ open: e, defaultOpen: t, onOpenChange: n, followCursor: r, followC
|
|
|
3649
3649
|
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(Yd, {
|
|
3650
3650
|
followCursor: r,
|
|
3651
3651
|
followCursorSpringOptions: i,
|
|
3652
|
-
children: /* @__PURE__ */ b(
|
|
3652
|
+
children: /* @__PURE__ */ b(ne.Root, {
|
|
3653
3653
|
...a,
|
|
3654
3654
|
open: o,
|
|
3655
3655
|
onOpenChange: s
|
|
@@ -3658,7 +3658,7 @@ function Df({ open: e, defaultOpen: t, onOpenChange: n, followCursor: r, followC
|
|
|
3658
3658
|
});
|
|
3659
3659
|
}
|
|
3660
3660
|
function Of({ onMouseMove: e, ...t }) {
|
|
3661
|
-
return /* @__PURE__ */ b(
|
|
3661
|
+
return /* @__PURE__ */ b(ne.Trigger, {
|
|
3662
3662
|
...t,
|
|
3663
3663
|
onMouseMove: Qd(e)
|
|
3664
3664
|
});
|
|
@@ -3668,18 +3668,18 @@ function kf({ keepMounted: e = !1, ...t }) {
|
|
|
3668
3668
|
return /* @__PURE__ */ b(Ef, {
|
|
3669
3669
|
value: e,
|
|
3670
3670
|
children: /* @__PURE__ */ b(tf, {
|
|
3671
|
-
component:
|
|
3671
|
+
component: ne.Portal,
|
|
3672
3672
|
portalProps: t,
|
|
3673
3673
|
open: n,
|
|
3674
3674
|
keepMounted: e
|
|
3675
3675
|
})
|
|
3676
3676
|
});
|
|
3677
3677
|
}
|
|
3678
|
-
var Af =
|
|
3678
|
+
var Af = ne.Positioner;
|
|
3679
3679
|
function jf({ transition: t, exitTransition: n, ...r }) {
|
|
3680
3680
|
let { open: i } = Tf();
|
|
3681
3681
|
return /* @__PURE__ */ b(rf, {
|
|
3682
|
-
component:
|
|
3682
|
+
component: ne.Popup,
|
|
3683
3683
|
popupProps: r,
|
|
3684
3684
|
open: i,
|
|
3685
3685
|
keepMounted: e.use(Ef),
|
|
@@ -3687,7 +3687,7 @@ function jf({ transition: t, exitTransition: n, ...r }) {
|
|
|
3687
3687
|
exitTransition: n
|
|
3688
3688
|
});
|
|
3689
3689
|
}
|
|
3690
|
-
var Mf =
|
|
3690
|
+
var Mf = ne.Arrow, Nf = ne.Backdrop, Pf = ne.Viewport, Ff = ne.createHandle, If = ne.Handle, Lf = z.spring.progress, Rf = Lf;
|
|
3691
3691
|
function zf(t, n, r = 0) {
|
|
3692
3692
|
let [i, a] = e.useState(r), [o] = e.useState(() => (0, I.motionValue)(r)), s = ia(), c = e.useRef(n);
|
|
3693
3693
|
return e.useLayoutEffect(() => {
|
|
@@ -3734,15 +3734,15 @@ function Kf(e) {
|
|
|
3734
3734
|
format: i,
|
|
3735
3735
|
locale: a
|
|
3736
3736
|
},
|
|
3737
|
-
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(
|
|
3737
|
+
children: /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(re.Root, {
|
|
3738
3738
|
...e,
|
|
3739
3739
|
locale: a
|
|
3740
3740
|
}) })
|
|
3741
3741
|
});
|
|
3742
3742
|
}
|
|
3743
|
-
var qf =
|
|
3743
|
+
var qf = re.Track;
|
|
3744
3744
|
function Jf({ transition: e, render: t, ...n }) {
|
|
3745
|
-
return /* @__PURE__ */ b(
|
|
3745
|
+
return /* @__PURE__ */ b(re.Indicator, {
|
|
3746
3746
|
...n,
|
|
3747
3747
|
render: (n, r) => /* @__PURE__ */ b(Yf, {
|
|
3748
3748
|
...n,
|
|
@@ -3776,12 +3776,12 @@ function Zf(e, { min: t, max: n, format: r, locale: i }) {
|
|
|
3776
3776
|
}
|
|
3777
3777
|
function Qf({ transition: e, children: t, ...n }) {
|
|
3778
3778
|
let r = Gf(), i = B(e ?? Rf), a = zf(r.value !== null && Number.isFinite(r.value) ? r.value : r.min, i, r.min), o = Zf(a, r);
|
|
3779
|
-
return /* @__PURE__ */ b(
|
|
3779
|
+
return /* @__PURE__ */ b(re.Value, {
|
|
3780
3780
|
...n,
|
|
3781
3781
|
children: (e, n) => e === "indeterminate" || n === null ? t ? t(e, n) : null : t ? t(o, a) : o
|
|
3782
3782
|
});
|
|
3783
3783
|
}
|
|
3784
|
-
var $f =
|
|
3784
|
+
var $f = re.Label, ep = z.spring.press, tp = z.scale.press;
|
|
3785
3785
|
function np({ disabled: e, transition: t, scale: n = tp } = {}) {
|
|
3786
3786
|
let r = ia(), i = B(t ?? ep);
|
|
3787
3787
|
return r || e ? {} : {
|
|
@@ -3803,12 +3803,12 @@ function ap({ transition: e, render: t, ...n }) {
|
|
|
3803
3803
|
disabled: n.disabled,
|
|
3804
3804
|
transition: e
|
|
3805
3805
|
});
|
|
3806
|
-
if (t) return /* @__PURE__ */ b(
|
|
3806
|
+
if (t) return /* @__PURE__ */ b(M.Root, {
|
|
3807
3807
|
...n,
|
|
3808
3808
|
render: t
|
|
3809
3809
|
});
|
|
3810
3810
|
let i = n.nativeButton ? L.button : L.span;
|
|
3811
|
-
return /* @__PURE__ */ b(
|
|
3811
|
+
return /* @__PURE__ */ b(M.Root, {
|
|
3812
3812
|
...n,
|
|
3813
3813
|
render: (e) => /* @__PURE__ */ b(i, {
|
|
3814
3814
|
...e,
|
|
@@ -3817,11 +3817,11 @@ function ap({ transition: e, render: t, ...n }) {
|
|
|
3817
3817
|
});
|
|
3818
3818
|
}
|
|
3819
3819
|
function op({ keepMounted: e, render: t, transition: n, exitTransition: r, ...i }) {
|
|
3820
|
-
return t ? /* @__PURE__ */ b(
|
|
3820
|
+
return t ? /* @__PURE__ */ b(M.Indicator, {
|
|
3821
3821
|
...i,
|
|
3822
3822
|
keepMounted: e,
|
|
3823
3823
|
render: t
|
|
3824
|
-
}) : /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(
|
|
3824
|
+
}) : /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(M.Indicator, {
|
|
3825
3825
|
...i,
|
|
3826
3826
|
keepMounted: !0,
|
|
3827
3827
|
render: (t, i) => /* @__PURE__ */ b(Oa, {
|
|
@@ -5126,11 +5126,11 @@ function Kh(e) {
|
|
|
5126
5126
|
return /* @__PURE__ */ b(ea, { children: /* @__PURE__ */ b(qh, { ...e }) });
|
|
5127
5127
|
}
|
|
5128
5128
|
function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateOnTap: i = !1, animateOnView: a = !1, animateOnViewMargin: o = "0px", animateOnViewOnce: s = !0, animation: c = "default", loop: l = !1, loopDelay: u = 0, initialOnAnimateEnd: d = !1, completeOnStop: f = !1, persistOnAnimateEnd: p = !1, delay: m = 0, speed: h, initial: g, children: _, ref: v, onMouseEnter: y, onMouseLeave: x, onPointerEnter: S, onPointerLeave: C, onPointerDown: w, onPointerUp: T, onPointerCancel: E, ...D }) {
|
|
5129
|
-
let O = (0, I.useAnimation)(), k = ia(), [A, j] = e.useState(() => n === void 0 || n === !1 ? !1 : m <= 0), [ee,
|
|
5129
|
+
let O = (0, I.useAnimation)(), k = ia(), [A, j] = e.useState(() => n === void 0 || n === !1 ? !1 : m <= 0), [ee, te] = e.useState(typeof n == "string" ? n : c), [ne, re] = e.useState("initial"), M = A && !k, [ie, N] = e.useState(() => g === !1 && M), P = e.useRef(null), ae = e.useRef(null), oe = e.useRef(!1), se = e.useRef(null), ce = e.useRef(null), le = e.useRef(M), ue = e.useRef(0), de = e.useRef(!1), fe = e.useRef(!1), pe = e.useCallback(() => {
|
|
5130
5130
|
ue.current++;
|
|
5131
5131
|
}, []), me = e.useCallback((e) => {
|
|
5132
5132
|
let t = typeof e == "string" ? e : c;
|
|
5133
|
-
pe(), P.current &&= (clearTimeout(P.current), null),
|
|
5133
|
+
pe(), P.current &&= (clearTimeout(P.current), null), te(t), m > 0 ? (j(!1), P.current = setTimeout(() => {
|
|
5134
5134
|
j(!0);
|
|
5135
5135
|
}, m)) : j(!0);
|
|
5136
5136
|
}, [
|
|
@@ -5141,9 +5141,9 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5141
5141
|
pe(), P.current &&= (clearTimeout(P.current), null), ae.current &&= (clearTimeout(ae.current), null), j(!1);
|
|
5142
5142
|
}, [pe]);
|
|
5143
5143
|
e.useEffect(() => {
|
|
5144
|
-
le.current =
|
|
5145
|
-
}, [
|
|
5146
|
-
n !== void 0 && (
|
|
5144
|
+
le.current = M;
|
|
5145
|
+
}, [M]), e.useEffect(() => {
|
|
5146
|
+
n !== void 0 && (te(typeof n == "string" ? n : c), n ? me(n) : he());
|
|
5147
5147
|
}, [n]), e.useEffect(() => () => {
|
|
5148
5148
|
P.current && clearTimeout(P.current), ae.current && clearTimeout(ae.current);
|
|
5149
5149
|
}, []);
|
|
@@ -5157,7 +5157,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5157
5157
|
}, [ve]);
|
|
5158
5158
|
let xe = e.useCallback(async (e, t = "start") => {
|
|
5159
5159
|
try {
|
|
5160
|
-
t === "jump" ? await O.start(e, { duration: 0 }) : await O[t](e),
|
|
5160
|
+
t === "jump" ? await O.start(e, { duration: 0 }) : await O[t](e), re(e);
|
|
5161
5161
|
} catch {
|
|
5162
5162
|
return;
|
|
5163
5163
|
}
|
|
@@ -5176,7 +5176,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5176
5176
|
fe.current = !0;
|
|
5177
5177
|
async function n() {
|
|
5178
5178
|
if (de.current || e !== ue.current) await xe("initial");
|
|
5179
|
-
else if (
|
|
5179
|
+
else if (M) {
|
|
5180
5180
|
if (l) {
|
|
5181
5181
|
if (de.current || e !== ue.current) {
|
|
5182
5182
|
await xe("initial");
|
|
@@ -5207,11 +5207,11 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5207
5207
|
return;
|
|
5208
5208
|
}
|
|
5209
5209
|
if (!le.current) {
|
|
5210
|
-
|
|
5210
|
+
ne !== "initial" && !p && await xe("initial");
|
|
5211
5211
|
return;
|
|
5212
5212
|
}
|
|
5213
5213
|
} else if (!le.current) {
|
|
5214
|
-
|
|
5214
|
+
ne !== "initial" && !p && await xe("initial");
|
|
5215
5215
|
return;
|
|
5216
5216
|
}
|
|
5217
5217
|
if (de.current || e !== ue.current) {
|
|
@@ -5245,7 +5245,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5245
5245
|
return n(), () => {
|
|
5246
5246
|
de.current = !0, be.current?.(), be.current = null, P.current &&= (clearTimeout(P.current), null), ae.current &&= (clearTimeout(ae.current), null);
|
|
5247
5247
|
};
|
|
5248
|
-
}, [
|
|
5248
|
+
}, [M, O]);
|
|
5249
5249
|
let Se = t && e.isValidElement(_) ? _.props : {}, Ce = {
|
|
5250
5250
|
onMouseEnter: (e) => {
|
|
5251
5251
|
Se.onMouseEnter?.(e), y?.(e);
|
|
@@ -5280,7 +5280,7 @@ function qh({ asChild: t = !1, animate: n = !1, animateOnHover: r = !1, animateO
|
|
|
5280
5280
|
animation: ee,
|
|
5281
5281
|
loop: l,
|
|
5282
5282
|
loopDelay: u,
|
|
5283
|
-
active:
|
|
5283
|
+
active: M,
|
|
5284
5284
|
animate: n,
|
|
5285
5285
|
initialOnAnimateEnd: d,
|
|
5286
5286
|
completeOnStop: f,
|
|
@@ -24960,7 +24960,7 @@ function _j(e) {
|
|
|
24960
24960
|
...n,
|
|
24961
24961
|
today: c.today()
|
|
24962
24962
|
});
|
|
24963
|
-
let { captionLayout: p, mode: m, navLayout: h, numberOfMonths: g = 1, onDayBlur: _, onDayClick: v, onDayFocus: y, onDayKeyDown: b, onDayMouseEnter: x, onDayMouseLeave: S, onNextClick: C, onPrevClick: w, showWeekNumber: T, styles: E } = n, { formatCaption: D, formatDay: O, formatMonthDropdown: k, formatWeekNumber: A, formatWeekNumberHeader: j, formatWeekdayName: ee, formatYearDropdown:
|
|
24963
|
+
let { captionLayout: p, mode: m, navLayout: h, numberOfMonths: g = 1, onDayBlur: _, onDayClick: v, onDayFocus: y, onDayKeyDown: b, onDayMouseEnter: x, onDayMouseLeave: S, onNextClick: C, onPrevClick: w, showWeekNumber: T, styles: E } = n, { formatCaption: D, formatDay: O, formatMonthDropdown: k, formatWeekNumber: A, formatWeekNumberHeader: j, formatWeekdayName: ee, formatYearDropdown: te } = a, ne = QA(n, c), { days: re, months: M, navStart: ie, navEnd: N, previousMonth: P, nextMonth: ae, goToMonth: oe } = ne, se = eA(re, n, ie, N, c), { isSelected: ce, select: le, selected: ue } = fj(n, c) ?? {}, { blur: de, focused: fe, isFocusTarget: pe, moveFocus: me, setFocused: he } = ij(n, ne, se, ce ?? (() => !1), c), { labelDayButton: ge, labelGridcell: _e, labelGrid: ve, labelMonthDropdown: ye, labelNav: be, labelPrevious: xe, labelNext: Se, labelWeekday: Ce, labelWeekNumber: we, labelWeekNumberHeader: Te, labelYearDropdown: Ee } = s, De = d(() => jA(c, n.ISOWeek, n.broadcastCalendar, n.today), [
|
|
24964
24964
|
c,
|
|
24965
24965
|
n.ISOWeek,
|
|
24966
24966
|
n.broadcastCalendar,
|
|
@@ -25038,7 +25038,7 @@ function _j(e) {
|
|
|
25038
25038
|
}, Ue = f(null);
|
|
25039
25039
|
VA(Ue, !!n.animate, {
|
|
25040
25040
|
classNames: u,
|
|
25041
|
-
months:
|
|
25041
|
+
months: M,
|
|
25042
25042
|
focused: fe,
|
|
25043
25043
|
dateLib: c
|
|
25044
25044
|
});
|
|
@@ -25047,7 +25047,7 @@ function _j(e) {
|
|
|
25047
25047
|
selected: ue,
|
|
25048
25048
|
select: le,
|
|
25049
25049
|
isSelected: ce,
|
|
25050
|
-
months:
|
|
25050
|
+
months: M,
|
|
25051
25051
|
nextMonth: ae,
|
|
25052
25052
|
previousMonth: P,
|
|
25053
25053
|
goToMonth: oe,
|
|
@@ -25083,8 +25083,8 @@ function _j(e) {
|
|
|
25083
25083
|
onNextClick: Ae,
|
|
25084
25084
|
previousMonth: P,
|
|
25085
25085
|
nextMonth: ae
|
|
25086
|
-
}),
|
|
25087
|
-
let o = n.reverseMonths ?
|
|
25086
|
+
}), M.map((e, r) => {
|
|
25087
|
+
let o = n.reverseMonths ? M.length - 1 - r : r;
|
|
25088
25088
|
return t.createElement(i.Month, {
|
|
25089
25089
|
"data-animated-month": n.animate ? "true" : void 0,
|
|
25090
25090
|
className: u[Z.Month],
|
|
@@ -25134,7 +25134,7 @@ function _j(e) {
|
|
|
25134
25134
|
options: MA(ie, N, a, c, !!n.reverseYears),
|
|
25135
25135
|
style: He(Z.YearsDropdown),
|
|
25136
25136
|
value: c.getYear(e.date)
|
|
25137
|
-
}) : t.createElement("span", { key: "year" },
|
|
25137
|
+
}) : t.createElement("span", { key: "year" }, te(e.date, c));
|
|
25138
25138
|
return c.getMonthYearOrder() === "year-first" ? [s, r] : [r, s];
|
|
25139
25139
|
})(), t.createElement("span", {
|
|
25140
25140
|
role: "status",
|
|
@@ -26803,9 +26803,9 @@ function GN(e) {
|
|
|
26803
26803
|
return n;
|
|
26804
26804
|
}
|
|
26805
26805
|
var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1, panelTitle: r, panelButtonLabel: i = "Open in panel", panelDefaultTab: a = "code", renderMarkdown: s, value: l, defaultValue: u, onChange: d, ...m }, h) {
|
|
26806
|
-
let g = t === "panel" || n, [_, v] = p(!1), [S, C] = p(a), [T, E] = p(!1), D = f(null), O = f(null), [k, A] = p(() => String(u ?? "")), j = l !== void 0, ee = j ? String(l) : k,
|
|
26806
|
+
let g = t === "panel" || n, [_, v] = p(!1), [S, C] = p(a), [T, E] = p(!1), D = f(null), O = f(null), [k, A] = p(() => String(u ?? "")), j = l !== void 0, ee = j ? String(l) : k, te = (e) => {
|
|
26807
26807
|
j || A(e.target.value), d?.(e);
|
|
26808
|
-
},
|
|
26808
|
+
}, ne = (e) => {
|
|
26809
26809
|
j || A(e), O.current && (O.current.value = e), d && d({
|
|
26810
26810
|
target: {
|
|
26811
26811
|
value: e,
|
|
@@ -26816,18 +26816,18 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26816
26816
|
name: m.name
|
|
26817
26817
|
}
|
|
26818
26818
|
});
|
|
26819
|
-
},
|
|
26819
|
+
}, re = () => {
|
|
26820
26820
|
typeof navigator < "u" && navigator.clipboard && (navigator.clipboard.writeText(ee), E(!0), setTimeout(() => E(!1), 1500));
|
|
26821
|
-
},
|
|
26821
|
+
}, M = o(() => {
|
|
26822
26822
|
v(!1), D.current?.focus();
|
|
26823
26823
|
}, []);
|
|
26824
26824
|
c(() => {
|
|
26825
26825
|
if (!_) return;
|
|
26826
26826
|
let e = (e) => {
|
|
26827
|
-
e.key === "Escape" && (e.preventDefault(),
|
|
26827
|
+
e.key === "Escape" && (e.preventDefault(), M());
|
|
26828
26828
|
};
|
|
26829
26829
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
26830
|
-
}, [_,
|
|
26830
|
+
}, [_, M]);
|
|
26831
26831
|
let ie = /* @__PURE__ */ b("textarea", {
|
|
26832
26832
|
className: F("nm-textarea", e),
|
|
26833
26833
|
ref: (e) => {
|
|
@@ -26836,13 +26836,13 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26836
26836
|
"data-slot": "textarea",
|
|
26837
26837
|
value: l,
|
|
26838
26838
|
defaultValue: u,
|
|
26839
|
-
onChange:
|
|
26839
|
+
onChange: te,
|
|
26840
26840
|
...m
|
|
26841
26841
|
});
|
|
26842
26842
|
if (!g) return ie;
|
|
26843
26843
|
let N = _ && typeof document < "u" ? w(/* @__PURE__ */ x(y, { children: [/* @__PURE__ */ b("div", {
|
|
26844
26844
|
className: "nm-textarea-panel__backdrop",
|
|
26845
|
-
onClick:
|
|
26845
|
+
onClick: M,
|
|
26846
26846
|
"aria-hidden": "true"
|
|
26847
26847
|
}), /* @__PURE__ */ x(BN, {
|
|
26848
26848
|
label: r ?? "Markdown",
|
|
@@ -26874,13 +26874,13 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26874
26874
|
icon: T ? "check" : "copy",
|
|
26875
26875
|
label: T ? "Copied" : "Copy",
|
|
26876
26876
|
tone: "quiet",
|
|
26877
|
-
onClick:
|
|
26877
|
+
onClick: re
|
|
26878
26878
|
}),
|
|
26879
26879
|
/* @__PURE__ */ b(PN, {
|
|
26880
26880
|
icon: "x",
|
|
26881
26881
|
label: "Close",
|
|
26882
26882
|
tone: "quiet",
|
|
26883
|
-
onClick:
|
|
26883
|
+
onClick: M
|
|
26884
26884
|
})
|
|
26885
26885
|
]
|
|
26886
26886
|
}), /* @__PURE__ */ b(VN, {
|
|
@@ -26891,7 +26891,7 @@ var KN = a(function({ className: e, variant: t = "default", openInPanel: n = !1,
|
|
|
26891
26891
|
placeholder: m.placeholder ?? "Enter markdown content...",
|
|
26892
26892
|
"aria-label": "Markdown source",
|
|
26893
26893
|
autoFocus: !0,
|
|
26894
|
-
onChange: (e) =>
|
|
26894
|
+
onChange: (e) => ne(e.target.value)
|
|
26895
26895
|
}) : /* @__PURE__ */ b(wN, {
|
|
26896
26896
|
className: "nm-textarea-panel__preview",
|
|
26897
26897
|
children: s ? s(ee) : GN(ee)
|
|
@@ -29002,24 +29002,24 @@ var pR = "[cmdk-group=\"\"]", mR = "[cmdk-group-items=\"\"]", hR = "[cmdk-group-
|
|
|
29002
29002
|
function ee() {
|
|
29003
29003
|
return Array.from(S.current?.querySelectorAll(_R) || []);
|
|
29004
29004
|
}
|
|
29005
|
-
function
|
|
29005
|
+
function te(e) {
|
|
29006
29006
|
let t = ee()[e];
|
|
29007
29007
|
t && w.setState("value", t.getAttribute(yR));
|
|
29008
29008
|
}
|
|
29009
|
-
function
|
|
29009
|
+
function ne(e) {
|
|
29010
29010
|
var t;
|
|
29011
29011
|
let n = j(), r = ee(), i = r.findIndex((e) => e === n), a = r[i + e];
|
|
29012
29012
|
(t = c.current) != null && t.loop && (a = i + e < 0 ? r[r.length - 1] : i + e === r.length ? r[0] : r[i + e]), a && w.setState("value", a.getAttribute(yR));
|
|
29013
29013
|
}
|
|
29014
|
-
function
|
|
29014
|
+
function re(e) {
|
|
29015
29015
|
let t = j()?.closest(pR), n;
|
|
29016
29016
|
for (; t && !n;) t = e > 0 ? IR(t, pR) : LR(t, pR), n = t?.querySelector(_R);
|
|
29017
|
-
n ? w.setState("value", n.getAttribute(yR)) :
|
|
29017
|
+
n ? w.setState("value", n.getAttribute(yR)) : ne(e);
|
|
29018
29018
|
}
|
|
29019
|
-
let
|
|
29020
|
-
e.preventDefault(), e.metaKey ?
|
|
29019
|
+
let M = () => te(ee().length - 1), ie = (e) => {
|
|
29020
|
+
e.preventDefault(), e.metaKey ? M() : e.altKey ? re(1) : ne(1);
|
|
29021
29021
|
}, N = (e) => {
|
|
29022
|
-
e.preventDefault(), e.metaKey ?
|
|
29022
|
+
e.preventDefault(), e.metaKey ? te(0) : e.altKey ? re(-1) : ne(-1);
|
|
29023
29023
|
};
|
|
29024
29024
|
return e.createElement(SF.div, {
|
|
29025
29025
|
ref: n,
|
|
@@ -29046,10 +29046,10 @@ var pR = "[cmdk-group=\"\"]", mR = "[cmdk-group-items=\"\"]", hR = "[cmdk-group-
|
|
|
29046
29046
|
N(e);
|
|
29047
29047
|
break;
|
|
29048
29048
|
case "Home":
|
|
29049
|
-
e.preventDefault(),
|
|
29049
|
+
e.preventDefault(), te(0);
|
|
29050
29050
|
break;
|
|
29051
29051
|
case "End":
|
|
29052
|
-
e.preventDefault(),
|
|
29052
|
+
e.preventDefault(), M();
|
|
29053
29053
|
break;
|
|
29054
29054
|
case "Enter": {
|
|
29055
29055
|
e.preventDefault();
|
|
@@ -31794,85 +31794,98 @@ function PH(e) {
|
|
|
31794
31794
|
return r(), t.addEventListener("change", r), () => t.removeEventListener("change", r);
|
|
31795
31795
|
}, [e]), t;
|
|
31796
31796
|
}
|
|
31797
|
-
function FH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill",
|
|
31798
|
-
let
|
|
31799
|
-
|
|
31800
|
-
}, [
|
|
31801
|
-
|
|
31797
|
+
function FH({ defaultOpen: e = !0, open: t, onOpenChange: n, shortcut: r = !0, peek: i = !0, height: a = "fill", width: s, defaultWidth: l, onWidthChange: u, className: m, style: h, children: g, ..._ }) {
|
|
31798
|
+
let v = PH(CH), [y, x] = p(!1), [S, C] = p(e), [w, T] = p(!1), [E, D] = p(l ?? null), [O, k] = p(!1), A = s === void 0 ? E : s, j = o((e) => {
|
|
31799
|
+
u?.(e), s === void 0 && D(e);
|
|
31800
|
+
}, [u, s]), [ee, te] = p("offcanvas"), ne = f(null), re = f(null), M = t ?? S, ie = o((e) => {
|
|
31801
|
+
n?.(e), t ?? C(e), T(!1);
|
|
31802
|
+
}, [n, t]), N = o(() => {
|
|
31803
|
+
v ? x((e) => !e) : ie(!M);
|
|
31802
31804
|
}, [
|
|
31803
|
-
|
|
31804
|
-
|
|
31805
|
-
|
|
31806
|
-
]),
|
|
31807
|
-
|
|
31808
|
-
},
|
|
31809
|
-
|
|
31805
|
+
v,
|
|
31806
|
+
M,
|
|
31807
|
+
ie
|
|
31808
|
+
]), P = () => {
|
|
31809
|
+
ne.current != null && (clearTimeout(ne.current), ne.current = null);
|
|
31810
|
+
}, ae = o((e) => {
|
|
31811
|
+
P(), e && (re.current = {
|
|
31810
31812
|
x: e.clientX,
|
|
31811
31813
|
y: e.clientY
|
|
31812
|
-
}), i && !
|
|
31814
|
+
}), i && !M && !v && ee !== "none" && T(!0);
|
|
31813
31815
|
}, [
|
|
31814
31816
|
i,
|
|
31815
|
-
|
|
31816
|
-
|
|
31817
|
-
|
|
31818
|
-
]),
|
|
31819
|
-
let e =
|
|
31817
|
+
M,
|
|
31818
|
+
v,
|
|
31819
|
+
ee
|
|
31820
|
+
]), oe = () => {
|
|
31821
|
+
let e = re.current;
|
|
31820
31822
|
return e != null && document.elementFromPoint(e.x, e.y)?.closest(AH) != null;
|
|
31821
|
-
},
|
|
31822
|
-
|
|
31823
|
-
|
|
31823
|
+
}, se = o(() => {
|
|
31824
|
+
P(), ne.current = setTimeout(() => {
|
|
31825
|
+
ne.current = null, oe() || T(!1);
|
|
31824
31826
|
}, 200);
|
|
31825
31827
|
}, []);
|
|
31826
|
-
c(() =>
|
|
31827
|
-
if (!
|
|
31828
|
+
c(() => P, []), c(() => {
|
|
31829
|
+
if (!w) return;
|
|
31828
31830
|
let e = (e) => {
|
|
31829
|
-
|
|
31831
|
+
re.current = {
|
|
31830
31832
|
x: e.clientX,
|
|
31831
31833
|
y: e.clientY
|
|
31832
|
-
},
|
|
31834
|
+
}, oe() ? P() : ne.current ?? se();
|
|
31833
31835
|
};
|
|
31834
31836
|
return document.addEventListener("pointermove", e), () => document.removeEventListener("pointermove", e);
|
|
31835
|
-
}, [
|
|
31837
|
+
}, [w, se]), c(() => {
|
|
31836
31838
|
if (!r) return;
|
|
31837
31839
|
let e = (e) => {
|
|
31838
|
-
e.key === "b" && (e.metaKey || e.ctrlKey) && (e.preventDefault(),
|
|
31840
|
+
e.key === "b" && (e.metaKey || e.ctrlKey) && (e.preventDefault(), N());
|
|
31839
31841
|
};
|
|
31840
31842
|
return window.addEventListener("keydown", e), () => window.removeEventListener("keydown", e);
|
|
31841
|
-
}, [r,
|
|
31842
|
-
let
|
|
31843
|
-
state:
|
|
31844
|
-
open:
|
|
31845
|
-
setOpen:
|
|
31846
|
-
openMobile:
|
|
31847
|
-
setOpenMobile:
|
|
31848
|
-
isMobile:
|
|
31849
|
-
toggleSidebar:
|
|
31850
|
-
peek:
|
|
31851
|
-
peekIn:
|
|
31852
|
-
peekOut:
|
|
31853
|
-
collapsible:
|
|
31854
|
-
setCollapsible:
|
|
31843
|
+
}, [r, N]);
|
|
31844
|
+
let ce = M ? "expanded" : "collapsed", le = d(() => ({
|
|
31845
|
+
state: ce,
|
|
31846
|
+
open: M,
|
|
31847
|
+
setOpen: ie,
|
|
31848
|
+
openMobile: y,
|
|
31849
|
+
setOpenMobile: x,
|
|
31850
|
+
isMobile: v,
|
|
31851
|
+
toggleSidebar: N,
|
|
31852
|
+
peek: w && !M,
|
|
31853
|
+
peekIn: ae,
|
|
31854
|
+
peekOut: se,
|
|
31855
|
+
collapsible: ee,
|
|
31856
|
+
setCollapsible: te,
|
|
31857
|
+
width: A,
|
|
31858
|
+
setWidth: j,
|
|
31859
|
+
resizing: O,
|
|
31860
|
+
setResizing: k
|
|
31855
31861
|
}), [
|
|
31856
|
-
|
|
31857
|
-
D,
|
|
31858
|
-
O,
|
|
31859
|
-
g,
|
|
31860
|
-
h,
|
|
31861
|
-
k,
|
|
31862
|
-
x,
|
|
31863
|
-
j,
|
|
31862
|
+
ce,
|
|
31864
31863
|
M,
|
|
31865
|
-
|
|
31864
|
+
ie,
|
|
31865
|
+
y,
|
|
31866
|
+
v,
|
|
31867
|
+
N,
|
|
31868
|
+
w,
|
|
31869
|
+
ae,
|
|
31870
|
+
se,
|
|
31871
|
+
ee,
|
|
31872
|
+
A,
|
|
31873
|
+
j,
|
|
31874
|
+
O
|
|
31866
31875
|
]);
|
|
31867
31876
|
return /* @__PURE__ */ b(kH.Provider, {
|
|
31868
|
-
value:
|
|
31877
|
+
value: le,
|
|
31869
31878
|
children: /* @__PURE__ */ b("div", {
|
|
31870
31879
|
"data-slot": "sidebar-wrapper",
|
|
31871
31880
|
"data-height": a,
|
|
31872
|
-
|
|
31873
|
-
|
|
31874
|
-
|
|
31875
|
-
|
|
31881
|
+
"data-resizing": O ? "" : void 0,
|
|
31882
|
+
className: F("nm-sidebar-provider", m),
|
|
31883
|
+
style: A == null ? h : {
|
|
31884
|
+
...h,
|
|
31885
|
+
"--nm-sidebar-resized": `${A}px`
|
|
31886
|
+
},
|
|
31887
|
+
..._,
|
|
31888
|
+
children: g
|
|
31876
31889
|
})
|
|
31877
31890
|
});
|
|
31878
31891
|
}
|
|
@@ -32120,7 +32133,85 @@ function nU({ className: e, ...t }) {
|
|
|
32120
32133
|
...t
|
|
32121
32134
|
});
|
|
32122
32135
|
}
|
|
32123
|
-
function rU(
|
|
32136
|
+
function rU(e) {
|
|
32137
|
+
let t = parseFloat(e);
|
|
32138
|
+
return e.trim().endsWith("rem") ? t * parseFloat(getComputedStyle(document.documentElement).fontSize) : t;
|
|
32139
|
+
}
|
|
32140
|
+
function iU(e, t, n) {
|
|
32141
|
+
return Math.min(n, Math.max(t, e));
|
|
32142
|
+
}
|
|
32143
|
+
function aU({ className: e, label: t = "Resize sidebar", ...n }) {
|
|
32144
|
+
let { open: r, isMobile: i, setWidth: a, setResizing: s } = NH(), l = f(null), [u, d] = p({
|
|
32145
|
+
min: 0,
|
|
32146
|
+
max: 0,
|
|
32147
|
+
now: 0
|
|
32148
|
+
}), m = o(() => {
|
|
32149
|
+
let e = l.current, t = e?.closest(".nm-sidebar-provider"), n = e?.closest(".nm-sidebar");
|
|
32150
|
+
if (!e || !t || !n) return null;
|
|
32151
|
+
let r = getComputedStyle(t);
|
|
32152
|
+
return {
|
|
32153
|
+
host: t,
|
|
32154
|
+
sidebar: n,
|
|
32155
|
+
min: rU(r.getPropertyValue("--nm-width-sidebar-min")),
|
|
32156
|
+
max: rU(r.getPropertyValue("--nm-width-sidebar-max")),
|
|
32157
|
+
now: n.getBoundingClientRect().width,
|
|
32158
|
+
sign: n.getAttribute("data-side") === "right" == (r.direction === "rtl") ? 1 : -1
|
|
32159
|
+
};
|
|
32160
|
+
}, []);
|
|
32161
|
+
return c(() => {
|
|
32162
|
+
let e = m();
|
|
32163
|
+
if (!e) return;
|
|
32164
|
+
let t = () => {
|
|
32165
|
+
let e = m();
|
|
32166
|
+
e && d((t) => t.min === e.min && t.max === e.max && t.now === e.now ? t : {
|
|
32167
|
+
min: e.min,
|
|
32168
|
+
max: e.max,
|
|
32169
|
+
now: e.now
|
|
32170
|
+
});
|
|
32171
|
+
};
|
|
32172
|
+
t();
|
|
32173
|
+
let n = new ResizeObserver(t);
|
|
32174
|
+
return n.observe(e.sidebar), () => n.disconnect();
|
|
32175
|
+
}, [
|
|
32176
|
+
r,
|
|
32177
|
+
i,
|
|
32178
|
+
m
|
|
32179
|
+
]), c(() => () => s(!1), [s]), !r || i ? null : /* @__PURE__ */ b("div", {
|
|
32180
|
+
ref: l,
|
|
32181
|
+
role: "separator",
|
|
32182
|
+
"aria-orientation": "vertical",
|
|
32183
|
+
"aria-label": t,
|
|
32184
|
+
"aria-valuemin": Math.round(u.min),
|
|
32185
|
+
"aria-valuemax": Math.round(u.max),
|
|
32186
|
+
"aria-valuenow": Math.round(u.now),
|
|
32187
|
+
tabIndex: 0,
|
|
32188
|
+
"data-slot": "sidebar-resizer",
|
|
32189
|
+
className: F("nm-sidebar__resizer", e),
|
|
32190
|
+
onPointerDown: (e) => {
|
|
32191
|
+
if (e.button !== 0) return;
|
|
32192
|
+
let t = m();
|
|
32193
|
+
if (!t) return;
|
|
32194
|
+
e.preventDefault();
|
|
32195
|
+
let n = e.currentTarget, r = e.clientX, i = t.now;
|
|
32196
|
+
n.setPointerCapture(e.pointerId), n.focus(), s(!0);
|
|
32197
|
+
let o = (e) => {
|
|
32198
|
+
a(iU(i + t.sign * (e.clientX - r), t.min, t.max));
|
|
32199
|
+
}, c = () => {
|
|
32200
|
+
s(!1), n.removeEventListener("pointermove", o), n.removeEventListener("pointerup", c), n.removeEventListener("pointercancel", c);
|
|
32201
|
+
};
|
|
32202
|
+
n.addEventListener("pointermove", o), n.addEventListener("pointerup", c), n.addEventListener("pointercancel", c);
|
|
32203
|
+
},
|
|
32204
|
+
onKeyDown: (e) => {
|
|
32205
|
+
let t = m();
|
|
32206
|
+
if (!t) return;
|
|
32207
|
+
let n = (t.max - t.min) / 10, r = e.key === "ArrowRight" ? t.sign : e.key === "ArrowLeft" ? -t.sign : 0;
|
|
32208
|
+
r === 0 ? e.key === "Home" ? (e.preventDefault(), a(t.min)) : e.key === "End" ? (e.preventDefault(), a(t.max)) : e.key === "Enter" && (e.preventDefault(), a(null)) : (e.preventDefault(), a(iU(t.now + r * n, t.min, t.max)));
|
|
32209
|
+
},
|
|
32210
|
+
onDoubleClick: () => a(null),
|
|
32211
|
+
...n
|
|
32212
|
+
});
|
|
32213
|
+
}
|
|
32214
|
+
function oU({ className: e, ...t }) {
|
|
32124
32215
|
return /* @__PURE__ */ b(CC, {
|
|
32125
32216
|
"data-slot": "sidebar-menu-badge",
|
|
32126
32217
|
size: "sm",
|
|
@@ -32128,7 +32219,7 @@ function rU({ className: e, ...t }) {
|
|
|
32128
32219
|
...t
|
|
32129
32220
|
});
|
|
32130
32221
|
}
|
|
32131
|
-
function
|
|
32222
|
+
function sU({ title: e, description: t, className: n, ...r }) {
|
|
32132
32223
|
return /* @__PURE__ */ x("span", {
|
|
32133
32224
|
"data-slot": "sidebar-menu-text",
|
|
32134
32225
|
className: F("nm-sidebar__text", n),
|
|
@@ -32136,7 +32227,7 @@ function iU({ title: e, description: t, className: n, ...r }) {
|
|
|
32136
32227
|
children: [/* @__PURE__ */ b("span", { children: e }), t == null ? null : /* @__PURE__ */ b("span", { children: t })]
|
|
32137
32228
|
});
|
|
32138
32229
|
}
|
|
32139
|
-
function
|
|
32230
|
+
function cU({ className: e, showIcon: t = !1, ...n }) {
|
|
32140
32231
|
let [r] = p(() => `${Math.floor(Math.random() * 40) + 50}%`);
|
|
32141
32232
|
return /* @__PURE__ */ x("div", {
|
|
32142
32233
|
"data-slot": "sidebar-menu-skeleton",
|
|
@@ -32148,21 +32239,21 @@ function aU({ className: e, showIcon: t = !1, ...n }) {
|
|
|
32148
32239
|
})]
|
|
32149
32240
|
});
|
|
32150
32241
|
}
|
|
32151
|
-
function
|
|
32242
|
+
function lU({ className: e, ...t }) {
|
|
32152
32243
|
return /* @__PURE__ */ b("ul", {
|
|
32153
32244
|
"data-slot": "sidebar-menu-sub",
|
|
32154
32245
|
className: F("nm-sidebar__menu-sub", e),
|
|
32155
32246
|
...t
|
|
32156
32247
|
});
|
|
32157
32248
|
}
|
|
32158
|
-
function
|
|
32249
|
+
function uU({ className: e, ...t }) {
|
|
32159
32250
|
return /* @__PURE__ */ b("li", {
|
|
32160
32251
|
"data-slot": "sidebar-menu-sub-item",
|
|
32161
32252
|
className: F("nm-sidebar__menu-sub-item", e),
|
|
32162
32253
|
...t
|
|
32163
32254
|
});
|
|
32164
32255
|
}
|
|
32165
|
-
function
|
|
32256
|
+
function dU({ render: e, size: t = "default", isActive: n = !1, disabled: r = !1, className: i, ref: a, ...o }) {
|
|
32166
32257
|
return Si({
|
|
32167
32258
|
render: e,
|
|
32168
32259
|
ref: a,
|
|
@@ -32180,7 +32271,7 @@ function cU({ render: e, size: t = "default", isActive: n = !1, disabled: r = !1
|
|
|
32180
32271
|
}
|
|
32181
32272
|
});
|
|
32182
32273
|
}
|
|
32183
|
-
function
|
|
32274
|
+
function fU({ className: e, menu: t = !1, flyout: n = !1, ...r }) {
|
|
32184
32275
|
return /* @__PURE__ */ b(G, {
|
|
32185
32276
|
id: "chevron",
|
|
32186
32277
|
"data-menu": t ? "" : void 0,
|
|
@@ -32189,7 +32280,7 @@ function lU({ className: e, menu: t = !1, flyout: n = !1, ...r }) {
|
|
|
32189
32280
|
...r
|
|
32190
32281
|
});
|
|
32191
32282
|
}
|
|
32192
|
-
function
|
|
32283
|
+
function pU({ open: e, onOpenChange: t, ...n }) {
|
|
32193
32284
|
let r = jH(), [i, a] = p(!1), s = (e ?? i) && r, l = o((e, n) => {
|
|
32194
32285
|
a(e), t?.(e, n);
|
|
32195
32286
|
}, [t]);
|
|
@@ -32202,7 +32293,7 @@ function uU({ open: e, onOpenChange: t, ...n }) {
|
|
|
32202
32293
|
});
|
|
32203
32294
|
}
|
|
32204
32295
|
// src/ui/components/nm-slider/nm-slider.tsx
|
|
32205
|
-
function
|
|
32296
|
+
function mU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100, label: a, output: o, ...s }) {
|
|
32206
32297
|
let c = Array.isArray(n) ? n : Array.isArray(t) ? t : [r, i], l = /* @__PURE__ */ b(Up.Root, {
|
|
32207
32298
|
"data-slot": "slider",
|
|
32208
32299
|
className: F("nm-slider", e),
|
|
@@ -32243,7 +32334,7 @@ function dU({ className: e, defaultValue: t, value: n, min: r = 0, max: i = 100,
|
|
|
32243
32334
|
}) : l;
|
|
32244
32335
|
}
|
|
32245
32336
|
// src/ui/components/nm-spinner/nm-spinner.tsx
|
|
32246
|
-
function
|
|
32337
|
+
function hU({ className: e, ...t }) {
|
|
32247
32338
|
return /* @__PURE__ */ b("span", {
|
|
32248
32339
|
role: "status",
|
|
32249
32340
|
"aria-live": "polite",
|
|
@@ -32253,14 +32344,14 @@ function fU({ className: e, ...t }) {
|
|
|
32253
32344
|
});
|
|
32254
32345
|
}
|
|
32255
32346
|
// src/ui/components/nm-status-bar/nm-status-bar.tsx
|
|
32256
|
-
function
|
|
32347
|
+
function gU({ className: e, ...t }) {
|
|
32257
32348
|
return /* @__PURE__ */ b("footer", {
|
|
32258
32349
|
"data-slot": "status-bar",
|
|
32259
32350
|
className: F("nm-status-bar", e),
|
|
32260
32351
|
...t
|
|
32261
32352
|
});
|
|
32262
32353
|
}
|
|
32263
|
-
function
|
|
32354
|
+
function _U({ className: e, onClick: t, children: n, ...r }) {
|
|
32264
32355
|
let i = F("nm-status-bar__item", e);
|
|
32265
32356
|
return t ? /* @__PURE__ */ b("button", {
|
|
32266
32357
|
type: "button",
|
|
@@ -32275,7 +32366,7 @@ function mU({ className: e, onClick: t, children: n, ...r }) {
|
|
|
32275
32366
|
children: n
|
|
32276
32367
|
});
|
|
32277
32368
|
}
|
|
32278
|
-
function
|
|
32369
|
+
function vU({ className: e, ...t }) {
|
|
32279
32370
|
return /* @__PURE__ */ b("span", {
|
|
32280
32371
|
"aria-hidden": "true",
|
|
32281
32372
|
"data-slot": "status-bar-spacer",
|
|
@@ -32284,7 +32375,7 @@ function hU({ className: e, ...t }) {
|
|
|
32284
32375
|
});
|
|
32285
32376
|
}
|
|
32286
32377
|
// src/ui/components/nm-switch/nm-switch.tsx
|
|
32287
|
-
function
|
|
32378
|
+
function yU({ className: e, ...t }) {
|
|
32288
32379
|
return /* @__PURE__ */ b(ae.Root, {
|
|
32289
32380
|
"data-slot": "switch",
|
|
32290
32381
|
className: F("nm-switch", e),
|
|
@@ -32296,13 +32387,13 @@ function gU({ className: e, ...t }) {
|
|
|
32296
32387
|
});
|
|
32297
32388
|
}
|
|
32298
32389
|
// src/ui/components/nm-table/nm-table.tsx
|
|
32299
|
-
var
|
|
32390
|
+
var bU = [
|
|
32300
32391
|
"default",
|
|
32301
32392
|
"striped",
|
|
32302
32393
|
"lined",
|
|
32303
32394
|
"plain"
|
|
32304
|
-
],
|
|
32305
|
-
function
|
|
32395
|
+
], xU = ["default", "sm"];
|
|
32396
|
+
function SU({ className: e, variant: t = "default", size: n = "default", stickyHeader: r, maxHeight: i, ...a }) {
|
|
32306
32397
|
return /* @__PURE__ */ b("div", {
|
|
32307
32398
|
"data-slot": "table-container",
|
|
32308
32399
|
"data-sticky": r ? "" : void 0,
|
|
@@ -32317,28 +32408,28 @@ function yU({ className: e, variant: t = "default", size: n = "default", stickyH
|
|
|
32317
32408
|
})
|
|
32318
32409
|
});
|
|
32319
32410
|
}
|
|
32320
|
-
function
|
|
32411
|
+
function CU({ className: e, ...t }) {
|
|
32321
32412
|
return /* @__PURE__ */ b("thead", {
|
|
32322
32413
|
"data-slot": "table-header",
|
|
32323
32414
|
className: F("nm-table__header", e),
|
|
32324
32415
|
...t
|
|
32325
32416
|
});
|
|
32326
32417
|
}
|
|
32327
|
-
function
|
|
32418
|
+
function wU({ className: e, ...t }) {
|
|
32328
32419
|
return /* @__PURE__ */ b("tbody", {
|
|
32329
32420
|
"data-slot": "table-body",
|
|
32330
32421
|
className: F("nm-table__body", e),
|
|
32331
32422
|
...t
|
|
32332
32423
|
});
|
|
32333
32424
|
}
|
|
32334
|
-
function
|
|
32425
|
+
function TU({ className: e, ...t }) {
|
|
32335
32426
|
return /* @__PURE__ */ b("tfoot", {
|
|
32336
32427
|
"data-slot": "table-footer",
|
|
32337
32428
|
className: F("nm-table__footer", e),
|
|
32338
32429
|
...t
|
|
32339
32430
|
});
|
|
32340
32431
|
}
|
|
32341
|
-
function
|
|
32432
|
+
function EU({ className: e, selected: t, disabled: n, ...r }) {
|
|
32342
32433
|
return /* @__PURE__ */ b("tr", {
|
|
32343
32434
|
"data-slot": "table-row",
|
|
32344
32435
|
"data-selected": t ? "" : void 0,
|
|
@@ -32350,7 +32441,7 @@ function CU({ className: e, selected: t, disabled: n, ...r }) {
|
|
|
32350
32441
|
...r
|
|
32351
32442
|
});
|
|
32352
32443
|
}
|
|
32353
|
-
function
|
|
32444
|
+
function DU({ className: e, textAlign: t = "start", sort: n, onSort: r, children: i, ...a }) {
|
|
32354
32445
|
return /* @__PURE__ */ b("th", {
|
|
32355
32446
|
"data-slot": "table-head",
|
|
32356
32447
|
"data-align": t,
|
|
@@ -32370,7 +32461,7 @@ function wU({ className: e, textAlign: t = "start", sort: n, onSort: r, children
|
|
|
32370
32461
|
}) : i
|
|
32371
32462
|
});
|
|
32372
32463
|
}
|
|
32373
|
-
function
|
|
32464
|
+
function OU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
|
|
32374
32465
|
return /* @__PURE__ */ b("td", {
|
|
32375
32466
|
"data-slot": "table-cell",
|
|
32376
32467
|
"data-align": t,
|
|
@@ -32379,7 +32470,7 @@ function TU({ className: e, textAlign: t = "start", wrap: n, ...r }) {
|
|
|
32379
32470
|
...r
|
|
32380
32471
|
});
|
|
32381
32472
|
}
|
|
32382
|
-
function
|
|
32473
|
+
function kU({ className: e, ...t }) {
|
|
32383
32474
|
return /* @__PURE__ */ b("caption", {
|
|
32384
32475
|
"data-slot": "table-caption",
|
|
32385
32476
|
className: F("nm-table__caption", e),
|
|
@@ -32387,17 +32478,17 @@ function EU({ className: e, ...t }) {
|
|
|
32387
32478
|
});
|
|
32388
32479
|
}
|
|
32389
32480
|
// src/ui/config/nm-tabs.ts
|
|
32390
|
-
var
|
|
32481
|
+
var AU = {
|
|
32391
32482
|
root: "nm-tabs",
|
|
32392
32483
|
item: "nm-tabs__item"
|
|
32393
|
-
},
|
|
32394
|
-
function
|
|
32395
|
-
return
|
|
32396
|
-
className:
|
|
32484
|
+
}, jU = W("interface-nm-tabs");
|
|
32485
|
+
function MU(e) {
|
|
32486
|
+
return jU.debug("render", e.label, { value: e.value }), /* @__PURE__ */ b("div", {
|
|
32487
|
+
className: AU.root,
|
|
32397
32488
|
role: "tablist",
|
|
32398
32489
|
"aria-label": e.label,
|
|
32399
32490
|
children: e.items.map((t) => /* @__PURE__ */ b("button", {
|
|
32400
|
-
className:
|
|
32491
|
+
className: AU.item,
|
|
32401
32492
|
type: "button",
|
|
32402
32493
|
role: "tab",
|
|
32403
32494
|
"aria-selected": t.id === e.value,
|
|
@@ -32406,27 +32497,27 @@ function kU(e) {
|
|
|
32406
32497
|
}, t.id))
|
|
32407
32498
|
});
|
|
32408
32499
|
}
|
|
32409
|
-
function
|
|
32500
|
+
function NU(e) {
|
|
32410
32501
|
return /* @__PURE__ */ b(ch.Root, {
|
|
32411
32502
|
"data-slot": "tabs",
|
|
32412
32503
|
...e
|
|
32413
32504
|
});
|
|
32414
32505
|
}
|
|
32415
|
-
function
|
|
32506
|
+
function PU({ className: e, ...t }) {
|
|
32416
32507
|
return /* @__PURE__ */ b(ch.List, {
|
|
32417
32508
|
"data-slot": "tabs-list",
|
|
32418
|
-
className: F(
|
|
32509
|
+
className: F(AU.root, e),
|
|
32419
32510
|
...t
|
|
32420
32511
|
});
|
|
32421
32512
|
}
|
|
32422
|
-
function
|
|
32513
|
+
function FU({ className: e, ...t }) {
|
|
32423
32514
|
return /* @__PURE__ */ b(ch.Tab, {
|
|
32424
32515
|
"data-slot": "tabs-trigger",
|
|
32425
|
-
className: F(
|
|
32516
|
+
className: F(AU.item, e),
|
|
32426
32517
|
...t
|
|
32427
32518
|
});
|
|
32428
32519
|
}
|
|
32429
|
-
function
|
|
32520
|
+
function IU({ className: e, ...t }) {
|
|
32430
32521
|
return /* @__PURE__ */ b(ch.Panel, {
|
|
32431
32522
|
"data-slot": "tabs-content",
|
|
32432
32523
|
className: F("nm-tabs__panel", e),
|
|
@@ -32434,12 +32525,12 @@ function NU({ className: e, ...t }) {
|
|
|
32434
32525
|
});
|
|
32435
32526
|
}
|
|
32436
32527
|
// src/ui/components/nm-toggle/nm-toggle.tsx
|
|
32437
|
-
var
|
|
32528
|
+
var LU = ["default", "outline"], RU = [
|
|
32438
32529
|
"sm",
|
|
32439
32530
|
"default",
|
|
32440
32531
|
"lg"
|
|
32441
32532
|
];
|
|
32442
|
-
function
|
|
32533
|
+
function zU({ className: e, variant: t = "default", size: n = "default", ...r }) {
|
|
32443
32534
|
return /* @__PURE__ */ b(vh, {
|
|
32444
32535
|
"data-slot": "toggle",
|
|
32445
32536
|
"data-variant": t,
|
|
@@ -32449,21 +32540,21 @@ function IU({ className: e, variant: t = "default", size: n = "default", ...r })
|
|
|
32449
32540
|
});
|
|
32450
32541
|
}
|
|
32451
32542
|
// src/ui/config/nm-top-bar.ts
|
|
32452
|
-
var
|
|
32543
|
+
var BU = {
|
|
32453
32544
|
root: "nm-header",
|
|
32454
32545
|
end: "nm-header__end"
|
|
32455
|
-
},
|
|
32456
|
-
function
|
|
32457
|
-
return
|
|
32546
|
+
}, VU = W("interface-nm-top-bar");
|
|
32547
|
+
function HU(e) {
|
|
32548
|
+
return VU.debug("render", "top-bar", {
|
|
32458
32549
|
end: e.end != null,
|
|
32459
32550
|
menu: e.menu != null
|
|
32460
32551
|
}), /* @__PURE__ */ x("header", {
|
|
32461
|
-
className:
|
|
32552
|
+
className: BU.root,
|
|
32462
32553
|
children: [
|
|
32463
32554
|
e.menu,
|
|
32464
32555
|
e.children,
|
|
32465
32556
|
e.end == null ? null : /* @__PURE__ */ b("div", {
|
|
32466
|
-
className:
|
|
32557
|
+
className: BU.end,
|
|
32467
32558
|
"data-hidden-narrow": e.endHidden === !0 ? "true" : "false",
|
|
32468
32559
|
children: e.end
|
|
32469
32560
|
})
|
|
@@ -32471,12 +32562,12 @@ function zU(e) {
|
|
|
32471
32562
|
});
|
|
32472
32563
|
}
|
|
32473
32564
|
// src/ui/config/nordman-login.ts
|
|
32474
|
-
var
|
|
32565
|
+
var UU = {
|
|
32475
32566
|
signIn: "signIn",
|
|
32476
32567
|
register: "register",
|
|
32477
32568
|
forgot: "forgot",
|
|
32478
32569
|
reset: "reset"
|
|
32479
|
-
},
|
|
32570
|
+
}, WU = "nm-login-form", GU = {
|
|
32480
32571
|
username: "username",
|
|
32481
32572
|
password: "password",
|
|
32482
32573
|
displayName: "displayName",
|
|
@@ -32484,11 +32575,11 @@ var BU = {
|
|
|
32484
32575
|
registerPassword: "register-password",
|
|
32485
32576
|
confirmPassword: "confirm-password",
|
|
32486
32577
|
resetPassword: "reset-password"
|
|
32487
|
-
},
|
|
32578
|
+
}, KU = {
|
|
32488
32579
|
viewBox: "0 0 24 24",
|
|
32489
32580
|
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",
|
|
32490
32581
|
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"
|
|
32491
|
-
},
|
|
32582
|
+
}, qU = "nordman", JU = {
|
|
32492
32583
|
skip: "Hoppa till innehållet",
|
|
32493
32584
|
identifier: "Email",
|
|
32494
32585
|
identifierPlaceholder: "name@mail.com",
|
|
@@ -32521,7 +32612,7 @@ var BU = {
|
|
|
32521
32612
|
registerEmailInUse: "Det finns redan ett konto med den här e-postadressen.",
|
|
32522
32613
|
registerDone: "Kolla mejlet för att bekräfta kontot.",
|
|
32523
32614
|
registerDoneReady: "Kontot är skapat. Logga in."
|
|
32524
|
-
},
|
|
32615
|
+
}, YU = {
|
|
32525
32616
|
skip: "Skip to content",
|
|
32526
32617
|
identifier: "Email",
|
|
32527
32618
|
identifierPlaceholder: "name@mail.com",
|
|
@@ -32555,13 +32646,13 @@ var BU = {
|
|
|
32555
32646
|
registerDone: "Check your email to confirm the account.",
|
|
32556
32647
|
registerDoneReady: "The account is created. Log in."
|
|
32557
32648
|
};
|
|
32558
|
-
function
|
|
32559
|
-
return hV(e ?? fV()) ?
|
|
32649
|
+
function XU(e) {
|
|
32650
|
+
return hV(e ?? fV()) ? YU : JU;
|
|
32560
32651
|
}
|
|
32561
32652
|
var $ = new Proxy({}, { get(e, t) {
|
|
32562
|
-
return
|
|
32563
|
-
} }),
|
|
32564
|
-
function
|
|
32653
|
+
return XU()[t];
|
|
32654
|
+
} }), ZU = W("interface-nordman-login-reveal");
|
|
32655
|
+
function QU(e) {
|
|
32565
32656
|
let t = e.revealed ? $.hidePassword : $.showPassword;
|
|
32566
32657
|
return /* @__PURE__ */ b("button", {
|
|
32567
32658
|
className: "nm-login__reveal",
|
|
@@ -32570,22 +32661,22 @@ function YU(e) {
|
|
|
32570
32661
|
"aria-pressed": e.revealed,
|
|
32571
32662
|
"data-testid": "cta-reveal-password",
|
|
32572
32663
|
onClick: () => {
|
|
32573
|
-
|
|
32664
|
+
ZU.debug("toggle", e.revealed ? "hide" : "show"), e.onToggle();
|
|
32574
32665
|
},
|
|
32575
32666
|
children: /* @__PURE__ */ b("svg", {
|
|
32576
32667
|
className: "nm-login__reveal-icon",
|
|
32577
|
-
viewBox:
|
|
32668
|
+
viewBox: KU.viewBox,
|
|
32578
32669
|
"aria-hidden": "true",
|
|
32579
32670
|
focusable: "false",
|
|
32580
32671
|
children: /* @__PURE__ */ b("path", {
|
|
32581
|
-
d: e.revealed ?
|
|
32672
|
+
d: e.revealed ? KU.hide : KU.show,
|
|
32582
32673
|
fill: "currentColor"
|
|
32583
32674
|
})
|
|
32584
32675
|
})
|
|
32585
32676
|
});
|
|
32586
32677
|
}
|
|
32587
32678
|
// src/ui/components/nordman-login-field/nordman-login-field.tsx
|
|
32588
|
-
function
|
|
32679
|
+
function $U(e) {
|
|
32589
32680
|
let t = e.type === "password", [n, r] = p(!1), i = t && n ? "text" : e.type, a = /* @__PURE__ */ b("input", {
|
|
32590
32681
|
className: t ? "nm-login__control nm-login__control--secret" : "nm-login__control",
|
|
32591
32682
|
id: e.id,
|
|
@@ -32607,7 +32698,7 @@ function XU(e) {
|
|
|
32607
32698
|
}), e.accessory]
|
|
32608
32699
|
}), t ? /* @__PURE__ */ x("div", {
|
|
32609
32700
|
className: "nm-login__control-wrap",
|
|
32610
|
-
children: [a, /* @__PURE__ */ b(
|
|
32701
|
+
children: [a, /* @__PURE__ */ b(QU, {
|
|
32611
32702
|
revealed: n,
|
|
32612
32703
|
onToggle: () => r((e) => !e)
|
|
32613
32704
|
})]
|
|
@@ -32615,43 +32706,43 @@ function XU(e) {
|
|
|
32615
32706
|
});
|
|
32616
32707
|
}
|
|
32617
32708
|
// src/ui/components/nordman-login-register/nordman-login-register.tsx
|
|
32618
|
-
var
|
|
32619
|
-
function
|
|
32709
|
+
var eW = W("interface-nordman-login-register");
|
|
32710
|
+
function tW(e) {
|
|
32620
32711
|
function t(t) {
|
|
32621
32712
|
t.preventDefault();
|
|
32622
32713
|
let n = new FormData(t.currentTarget);
|
|
32623
|
-
|
|
32624
|
-
username: String(n.get(
|
|
32625
|
-
displayName: String(n.get(
|
|
32626
|
-
password: String(n.get(
|
|
32714
|
+
eW.debug("submit", "start"), e.onRegister({
|
|
32715
|
+
username: String(n.get(GU.registerUsername) ?? ""),
|
|
32716
|
+
displayName: String(n.get(GU.displayName) ?? ""),
|
|
32717
|
+
password: String(n.get(GU.registerPassword) ?? "")
|
|
32627
32718
|
});
|
|
32628
32719
|
}
|
|
32629
32720
|
return /* @__PURE__ */ x("form", {
|
|
32630
32721
|
className: "nm-login__form",
|
|
32631
|
-
id:
|
|
32722
|
+
id: WU,
|
|
32632
32723
|
onSubmit: t,
|
|
32633
32724
|
children: [
|
|
32634
|
-
/* @__PURE__ */ b(
|
|
32635
|
-
id:
|
|
32636
|
-
name:
|
|
32725
|
+
/* @__PURE__ */ b($U, {
|
|
32726
|
+
id: GU.registerUsername,
|
|
32727
|
+
name: GU.registerUsername,
|
|
32637
32728
|
label: $.identifier,
|
|
32638
32729
|
type: "email",
|
|
32639
32730
|
autoComplete: "email",
|
|
32640
32731
|
placeholder: $.identifierPlaceholder,
|
|
32641
32732
|
required: !0
|
|
32642
32733
|
}),
|
|
32643
|
-
/* @__PURE__ */ b(
|
|
32644
|
-
id:
|
|
32645
|
-
name:
|
|
32734
|
+
/* @__PURE__ */ b($U, {
|
|
32735
|
+
id: GU.displayName,
|
|
32736
|
+
name: GU.displayName,
|
|
32646
32737
|
label: $.displayName,
|
|
32647
32738
|
type: "text",
|
|
32648
32739
|
autoComplete: "name",
|
|
32649
32740
|
minLength: 3,
|
|
32650
32741
|
required: !0
|
|
32651
32742
|
}),
|
|
32652
|
-
/* @__PURE__ */ b(
|
|
32653
|
-
id:
|
|
32654
|
-
name:
|
|
32743
|
+
/* @__PURE__ */ b($U, {
|
|
32744
|
+
id: GU.registerPassword,
|
|
32745
|
+
name: GU.registerPassword,
|
|
32655
32746
|
label: $.password,
|
|
32656
32747
|
type: "password",
|
|
32657
32748
|
autoComplete: "new-password",
|
|
@@ -32674,32 +32765,32 @@ function QU(e) {
|
|
|
32674
32765
|
});
|
|
32675
32766
|
}
|
|
32676
32767
|
// src/ui/components/nordman-login-sign-in/nordman-login-sign-in.tsx
|
|
32677
|
-
var
|
|
32678
|
-
function
|
|
32768
|
+
var nW = W("interface-nordman-login-sign-in");
|
|
32769
|
+
function rW(e) {
|
|
32679
32770
|
function t(t) {
|
|
32680
32771
|
t.preventDefault();
|
|
32681
|
-
let n = new FormData(t.currentTarget), r = String(n.get(
|
|
32682
|
-
|
|
32772
|
+
let n = new FormData(t.currentTarget), r = String(n.get(GU.username) ?? ""), i = String(n.get(GU.password) ?? "");
|
|
32773
|
+
nW.debug("submit", "start"), e.onSignIn({
|
|
32683
32774
|
username: r,
|
|
32684
32775
|
password: i
|
|
32685
32776
|
});
|
|
32686
32777
|
}
|
|
32687
32778
|
return /* @__PURE__ */ x("form", {
|
|
32688
32779
|
className: "nm-login__form",
|
|
32689
|
-
id:
|
|
32780
|
+
id: WU,
|
|
32690
32781
|
onSubmit: t,
|
|
32691
32782
|
children: [
|
|
32692
|
-
/* @__PURE__ */ b(
|
|
32693
|
-
id:
|
|
32694
|
-
name:
|
|
32783
|
+
/* @__PURE__ */ b($U, {
|
|
32784
|
+
id: GU.username,
|
|
32785
|
+
name: GU.username,
|
|
32695
32786
|
label: $.identifier,
|
|
32696
32787
|
type: "text",
|
|
32697
32788
|
autoComplete: "username",
|
|
32698
32789
|
placeholder: $.identifierPlaceholder
|
|
32699
32790
|
}),
|
|
32700
|
-
/* @__PURE__ */ b(
|
|
32701
|
-
id:
|
|
32702
|
-
name:
|
|
32791
|
+
/* @__PURE__ */ b($U, {
|
|
32792
|
+
id: GU.password,
|
|
32793
|
+
name: GU.password,
|
|
32703
32794
|
label: $.password,
|
|
32704
32795
|
type: "password",
|
|
32705
32796
|
autoComplete: "current-password",
|
|
@@ -32729,12 +32820,12 @@ function eW(e) {
|
|
|
32729
32820
|
});
|
|
32730
32821
|
}
|
|
32731
32822
|
// src/ui/components/nordman-login-forgot/nordman-login-forgot.tsx
|
|
32732
|
-
var
|
|
32733
|
-
function
|
|
32823
|
+
var iW = W("interface-nordman-login-forgot");
|
|
32824
|
+
function aW(e) {
|
|
32734
32825
|
function t(t) {
|
|
32735
32826
|
t.preventDefault();
|
|
32736
|
-
let n = new FormData(t.currentTarget), r = String(n.get(
|
|
32737
|
-
|
|
32827
|
+
let n = new FormData(t.currentTarget), r = String(n.get(GU.username) ?? "");
|
|
32828
|
+
iW.debug("submit", "start"), e.onRequestReset({ identifier: r });
|
|
32738
32829
|
}
|
|
32739
32830
|
return e.sent ? /* @__PURE__ */ b("p", {
|
|
32740
32831
|
className: "nm-login__notice",
|
|
@@ -32742,11 +32833,11 @@ function nW(e) {
|
|
|
32742
32833
|
children: $.forgotSent
|
|
32743
32834
|
}) : /* @__PURE__ */ x("form", {
|
|
32744
32835
|
className: "nm-login__form",
|
|
32745
|
-
id:
|
|
32836
|
+
id: WU,
|
|
32746
32837
|
onSubmit: t,
|
|
32747
|
-
children: [/* @__PURE__ */ b(
|
|
32748
|
-
id:
|
|
32749
|
-
name:
|
|
32838
|
+
children: [/* @__PURE__ */ b($U, {
|
|
32839
|
+
id: GU.username,
|
|
32840
|
+
name: GU.username,
|
|
32750
32841
|
label: $.identifier,
|
|
32751
32842
|
type: "text",
|
|
32752
32843
|
autoComplete: "username",
|
|
@@ -32766,7 +32857,7 @@ function nW(e) {
|
|
|
32766
32857
|
});
|
|
32767
32858
|
}
|
|
32768
32859
|
// src/ui/components/nordman-login-google/nordman-login-google.tsx
|
|
32769
|
-
function
|
|
32860
|
+
function oW(e) {
|
|
32770
32861
|
return mV(), /* @__PURE__ */ b("div", {
|
|
32771
32862
|
className: "nm-login__google-wrap",
|
|
32772
32863
|
children: /* @__PURE__ */ b(jC, {
|
|
@@ -32782,17 +32873,17 @@ function rW(e) {
|
|
|
32782
32873
|
});
|
|
32783
32874
|
}
|
|
32784
32875
|
// src/ui/components/nordman-login-reset/nordman-login-reset.tsx
|
|
32785
|
-
var
|
|
32786
|
-
function
|
|
32876
|
+
var sW = W("interface-nordman-login-reset");
|
|
32877
|
+
function cW(e) {
|
|
32787
32878
|
let [t, n] = p(!1);
|
|
32788
32879
|
function r(t) {
|
|
32789
32880
|
t.preventDefault();
|
|
32790
|
-
let r = new FormData(t.currentTarget), i = String(r.get(
|
|
32791
|
-
i === String(r.get(
|
|
32881
|
+
let r = new FormData(t.currentTarget), i = String(r.get(GU.resetPassword) ?? "");
|
|
32882
|
+
i === String(r.get(GU.confirmPassword) ?? "") ? (n(!1), sW.debug("submit", "start"), e.onResetPassword({ password: i })) : (sW.warn("submit", "mismatch"), n(!0));
|
|
32792
32883
|
}
|
|
32793
32884
|
return /* @__PURE__ */ x("form", {
|
|
32794
32885
|
className: "nm-login__form",
|
|
32795
|
-
id:
|
|
32886
|
+
id: WU,
|
|
32796
32887
|
onSubmit: r,
|
|
32797
32888
|
children: [
|
|
32798
32889
|
t ? /* @__PURE__ */ b("p", {
|
|
@@ -32800,18 +32891,18 @@ function aW(e) {
|
|
|
32800
32891
|
role: "alert",
|
|
32801
32892
|
children: $.mismatch
|
|
32802
32893
|
}) : null,
|
|
32803
|
-
/* @__PURE__ */ b(
|
|
32804
|
-
id:
|
|
32805
|
-
name:
|
|
32894
|
+
/* @__PURE__ */ b($U, {
|
|
32895
|
+
id: GU.resetPassword,
|
|
32896
|
+
name: GU.resetPassword,
|
|
32806
32897
|
label: $.password,
|
|
32807
32898
|
type: "password",
|
|
32808
32899
|
autoComplete: "new-password",
|
|
32809
32900
|
placeholder: $.passwordPlaceholder,
|
|
32810
32901
|
minLength: e.passwordMin
|
|
32811
32902
|
}),
|
|
32812
|
-
/* @__PURE__ */ b(
|
|
32813
|
-
id:
|
|
32814
|
-
name:
|
|
32903
|
+
/* @__PURE__ */ b($U, {
|
|
32904
|
+
id: GU.confirmPassword,
|
|
32905
|
+
name: GU.confirmPassword,
|
|
32815
32906
|
label: $.confirmPassword,
|
|
32816
32907
|
type: "password",
|
|
32817
32908
|
autoComplete: "new-password",
|
|
@@ -32833,12 +32924,12 @@ function aW(e) {
|
|
|
32833
32924
|
});
|
|
32834
32925
|
}
|
|
32835
32926
|
// src/ui/components/nordman-login-hero/nordman-login-hero.tsx
|
|
32836
|
-
var
|
|
32927
|
+
var lW = {
|
|
32837
32928
|
square: "glow",
|
|
32838
32929
|
triangle: "glow tri",
|
|
32839
32930
|
circle: "glow circle"
|
|
32840
32931
|
};
|
|
32841
|
-
function
|
|
32932
|
+
function uW(e) {
|
|
32842
32933
|
let t = f(null);
|
|
32843
32934
|
return c(() => {
|
|
32844
32935
|
let n = window.NordmanUI;
|
|
@@ -32850,51 +32941,51 @@ function sW(e) {
|
|
|
32850
32941
|
}), () => r.abort();
|
|
32851
32942
|
}, [e.shape]), /* @__PURE__ */ b("div", {
|
|
32852
32943
|
ref: t,
|
|
32853
|
-
className:
|
|
32944
|
+
className: lW[e.shape],
|
|
32854
32945
|
"aria-hidden": "true",
|
|
32855
32946
|
children: /* @__PURE__ */ b("i", {})
|
|
32856
32947
|
});
|
|
32857
32948
|
}
|
|
32858
32949
|
// src/ui/components/nordman-login/nordman-login.tsx
|
|
32859
|
-
function
|
|
32860
|
-
return e.view ===
|
|
32950
|
+
function dW(e) {
|
|
32951
|
+
return e.view === UU.register ? /* @__PURE__ */ b(tW, {
|
|
32861
32952
|
pending: e.pending,
|
|
32862
32953
|
passwordMin: e.passwordMin,
|
|
32863
32954
|
onRegister: e.onRegister
|
|
32864
|
-
}) : e.view ===
|
|
32955
|
+
}) : e.view === UU.forgot ? /* @__PURE__ */ b(aW, {
|
|
32865
32956
|
pending: e.pending,
|
|
32866
32957
|
sent: e.sent,
|
|
32867
32958
|
onRequestReset: e.onRequestReset
|
|
32868
|
-
}) : e.view ===
|
|
32959
|
+
}) : e.view === UU.reset ? /* @__PURE__ */ b(cW, {
|
|
32869
32960
|
pending: e.pending,
|
|
32870
32961
|
passwordMin: e.passwordMin,
|
|
32871
32962
|
onResetPassword: e.onResetPassword
|
|
32872
|
-
}) : e.googleOnly ? /* @__PURE__ */ b(
|
|
32963
|
+
}) : e.googleOnly ? /* @__PURE__ */ b(oW, {
|
|
32873
32964
|
pending: e.pending,
|
|
32874
32965
|
onContinueWithGoogle: () => e.onContinueWithGoogle?.()
|
|
32875
|
-
}) : /* @__PURE__ */ b(
|
|
32966
|
+
}) : /* @__PURE__ */ b(rW, {
|
|
32876
32967
|
pending: e.pending,
|
|
32877
32968
|
passwordMin: e.passwordMin,
|
|
32878
|
-
onForgot: () => e.onView(
|
|
32969
|
+
onForgot: () => e.onView(UU.forgot),
|
|
32879
32970
|
onSignIn: e.onSignIn
|
|
32880
32971
|
});
|
|
32881
32972
|
}
|
|
32882
|
-
function
|
|
32883
|
-
let t = e.view ===
|
|
32973
|
+
function fW(e) {
|
|
32974
|
+
let t = e.view === UU.register, n = e.view === UU.signIn;
|
|
32884
32975
|
return c(() => {
|
|
32885
|
-
document.documentElement.dataset.interface =
|
|
32976
|
+
document.documentElement.dataset.interface = qU;
|
|
32886
32977
|
}, []), /* @__PURE__ */ x("div", {
|
|
32887
32978
|
className: e.googleOnly ? "nm-login nm-login--google-only" : "nm-login",
|
|
32888
32979
|
"data-testid": "nordman-login",
|
|
32889
32980
|
children: [
|
|
32890
32981
|
/* @__PURE__ */ b("a", {
|
|
32891
32982
|
className: "nm-login__skip",
|
|
32892
|
-
href: `#${
|
|
32983
|
+
href: `#${WU}`,
|
|
32893
32984
|
children: $.skip
|
|
32894
32985
|
}),
|
|
32895
32986
|
/* @__PURE__ */ b("div", {
|
|
32896
32987
|
className: "nm-login__visual",
|
|
32897
|
-
children: /* @__PURE__ */ b(
|
|
32988
|
+
children: /* @__PURE__ */ b(uW, { shape: e.shape })
|
|
32898
32989
|
}),
|
|
32899
32990
|
/* @__PURE__ */ b("section", {
|
|
32900
32991
|
className: "nm-login__panel",
|
|
@@ -32910,11 +33001,11 @@ function lW(e) {
|
|
|
32910
33001
|
role: "alert",
|
|
32911
33002
|
children: e.error
|
|
32912
33003
|
}) : null,
|
|
32913
|
-
e.notice && e.view !==
|
|
33004
|
+
e.notice && e.view !== UU.forgot ? /* @__PURE__ */ b("p", {
|
|
32914
33005
|
className: "nm-login__notice",
|
|
32915
33006
|
children: e.notice
|
|
32916
33007
|
}) : null,
|
|
32917
|
-
e.children ??
|
|
33008
|
+
e.children ?? dW(e),
|
|
32918
33009
|
e.after,
|
|
32919
33010
|
e.children == null && e.hideSwitch !== !0 && !e.googleOnly ? /* @__PURE__ */ x("p", {
|
|
32920
33011
|
className: "nm-login__switch",
|
|
@@ -32924,7 +33015,7 @@ function lW(e) {
|
|
|
32924
33015
|
/* @__PURE__ */ b("button", {
|
|
32925
33016
|
className: "nm-login__switch-action",
|
|
32926
33017
|
type: "button",
|
|
32927
|
-
onClick: () => e.onView(t || !n ?
|
|
33018
|
+
onClick: () => e.onView(t || !n ? UU.signIn : UU.register),
|
|
32928
33019
|
children: n ? $.registerAction : $.signInAction
|
|
32929
33020
|
})
|
|
32930
33021
|
]
|
|
@@ -32936,9 +33027,9 @@ function lW(e) {
|
|
|
32936
33027
|
});
|
|
32937
33028
|
}
|
|
32938
33029
|
// src/ui/components/nordman-toggle/nordman-toggle.tsx
|
|
32939
|
-
var
|
|
32940
|
-
function
|
|
32941
|
-
return
|
|
33030
|
+
var pW = W("interface-nordman-toggle");
|
|
33031
|
+
function mW(e) {
|
|
33032
|
+
return pW.debug("render", e.active, { items: e.items.length }), /* @__PURE__ */ b("nav", {
|
|
32942
33033
|
className: "nm-toggle",
|
|
32943
33034
|
"data-testid": e.testId,
|
|
32944
33035
|
children: e.items.map((t) => /* @__PURE__ */ b("a", {
|
|
@@ -32951,12 +33042,12 @@ function dW(e) {
|
|
|
32951
33042
|
});
|
|
32952
33043
|
}
|
|
32953
33044
|
// src/ui/config/nm-app-panel.ts
|
|
32954
|
-
var
|
|
33045
|
+
var hW = {
|
|
32955
33046
|
code: "code",
|
|
32956
33047
|
preview: "preview",
|
|
32957
33048
|
environment: "environment",
|
|
32958
33049
|
machine: "machine"
|
|
32959
|
-
},
|
|
33050
|
+
}, gW = {
|
|
32960
33051
|
code: "/interface/app-panel/code.svg",
|
|
32961
33052
|
play: "/interface/app-panel/play.svg",
|
|
32962
33053
|
ellipsis: "/interface/app-panel/ellipsis.svg",
|
|
@@ -32965,7 +33056,7 @@ var fW = {
|
|
|
32965
33056
|
network: "/interface/app-panel/network.svg",
|
|
32966
33057
|
message: "/interface/app-panel/message.svg",
|
|
32967
33058
|
copy: "/interface/app-panel/copy.svg"
|
|
32968
|
-
},
|
|
33059
|
+
}, _W = {
|
|
32969
33060
|
root: "nm-app-panel",
|
|
32970
33061
|
body: "nm-app-panel__body",
|
|
32971
33062
|
canvas: "nm-app-panel__canvas",
|
|
@@ -32980,35 +33071,35 @@ var fW = {
|
|
|
32980
33071
|
blocked: "nm-app-panel__blocked",
|
|
32981
33072
|
blockedTitle: "nm-app-panel__blocked-title",
|
|
32982
33073
|
blockedBody: "nm-app-panel__blocked-body"
|
|
32983
|
-
},
|
|
33074
|
+
}, vW = {
|
|
32984
33075
|
root: "nm-logs-panel",
|
|
32985
33076
|
body: "nm-logs-panel__body"
|
|
32986
|
-
},
|
|
33077
|
+
}, yW = ["left", "right"], bW = [
|
|
32987
33078
|
.22,
|
|
32988
33079
|
1,
|
|
32989
33080
|
.36,
|
|
32990
33081
|
1
|
|
32991
|
-
],
|
|
32992
|
-
function
|
|
32993
|
-
return
|
|
33082
|
+
], xW = .25;
|
|
33083
|
+
function SW() {
|
|
33084
|
+
return CW();
|
|
32994
33085
|
}
|
|
32995
|
-
function
|
|
32996
|
-
if (typeof document > "u") return
|
|
33086
|
+
function CW() {
|
|
33087
|
+
if (typeof document > "u") return xW;
|
|
32997
33088
|
let e = getComputedStyle(document.documentElement).getPropertyValue("--reveal").trim();
|
|
32998
|
-
return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) :
|
|
33089
|
+
return e.endsWith("ms") ? parseFloat(e) / 1e3 : e.endsWith("s") ? parseFloat(e) : xW;
|
|
32999
33090
|
}
|
|
33000
|
-
function
|
|
33091
|
+
function wW(e) {
|
|
33001
33092
|
return e ? { duration: 0 } : {
|
|
33002
|
-
duration:
|
|
33003
|
-
ease: [...
|
|
33093
|
+
duration: CW(),
|
|
33094
|
+
ease: [...bW]
|
|
33004
33095
|
};
|
|
33005
33096
|
}
|
|
33006
|
-
function
|
|
33097
|
+
function TW() {
|
|
33007
33098
|
let e = v();
|
|
33008
|
-
return d(() =>
|
|
33099
|
+
return d(() => wW(e === !0), [e]);
|
|
33009
33100
|
}
|
|
33010
33101
|
// src/ui/config/nm-header-icons.ts
|
|
33011
|
-
var
|
|
33102
|
+
var EW = [
|
|
33012
33103
|
"chat",
|
|
33013
33104
|
"bot",
|
|
33014
33105
|
"app",
|
|
@@ -33020,7 +33111,7 @@ var CW = [
|
|
|
33020
33111
|
"play",
|
|
33021
33112
|
"schedule",
|
|
33022
33113
|
"search"
|
|
33023
|
-
],
|
|
33114
|
+
], DW = {
|
|
33024
33115
|
chat: "/interface/header/chat.svg",
|
|
33025
33116
|
bot: "/interface/header/bot.svg",
|
|
33026
33117
|
app: "/interface/header/app.svg",
|
|
@@ -33032,16 +33123,16 @@ var CW = [
|
|
|
33032
33123
|
play: "/interface/header/play.svg",
|
|
33033
33124
|
schedule: "/interface/header/schedule.svg",
|
|
33034
33125
|
search: "/interface/header/search.svg"
|
|
33035
|
-
},
|
|
33126
|
+
}, OW = { root: "nm-icon-border" }, kW = /* @__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("."), AW = "--nm-radius-scale", jW = {
|
|
33036
33127
|
sm: 4,
|
|
33037
33128
|
md: 8,
|
|
33038
33129
|
lg: 12
|
|
33039
|
-
},
|
|
33130
|
+
}, MW = {
|
|
33040
33131
|
row: "--nm-space-4",
|
|
33041
33132
|
menu: "--nm-space-8",
|
|
33042
33133
|
field: "--nm-space-12",
|
|
33043
33134
|
composer: "--nm-space-24"
|
|
33044
|
-
},
|
|
33135
|
+
}, NW = {
|
|
33045
33136
|
sm: "--nm-radius-sm",
|
|
33046
33137
|
md: "--nm-radius-md",
|
|
33047
33138
|
lg: "--nm-radius-lg",
|
|
@@ -33050,17 +33141,17 @@ var CW = [
|
|
|
33050
33141
|
field: "--nm-field-radius",
|
|
33051
33142
|
menu: "--nm-menu-radius",
|
|
33052
33143
|
row: "--nm-row-radius"
|
|
33053
|
-
},
|
|
33144
|
+
}, PW = {
|
|
33054
33145
|
control: "calc(var(--nm-icon-control) / 2 * var(--nm-radius-scale))",
|
|
33055
33146
|
composer: "var(--nm-radius-lg)",
|
|
33056
33147
|
field: "var(--nm-control-r)",
|
|
33057
33148
|
menu: "var(--nm-radius-lg)",
|
|
33058
33149
|
row: "var(--nm-control-r)"
|
|
33059
|
-
},
|
|
33150
|
+
}, FW = {
|
|
33060
33151
|
sm: "calc(4px * var(--nm-radius-scale))",
|
|
33061
33152
|
md: "calc(8px * var(--nm-radius-scale))",
|
|
33062
33153
|
lg: "calc(12px * var(--nm-radius-scale))"
|
|
33063
|
-
},
|
|
33154
|
+
}, IW = {
|
|
33064
33155
|
pad: "--nm-menu-pad",
|
|
33065
33156
|
menuRadius: "--nm-control-menu-radius",
|
|
33066
33157
|
optionRadius: "--nm-control-option-radius",
|
|
@@ -33070,7 +33161,7 @@ var CW = [
|
|
|
33070
33161
|
panelItemRadius: "--nm-panel-item-radius",
|
|
33071
33162
|
rowInline: "--nm-row-inline",
|
|
33072
33163
|
rowInlineEnd: "--nm-row-inline-end"
|
|
33073
|
-
},
|
|
33164
|
+
}, LW = [
|
|
33074
33165
|
"plus",
|
|
33075
33166
|
"folder",
|
|
33076
33167
|
"chats",
|
|
@@ -33081,7 +33172,7 @@ var CW = [
|
|
|
33081
33172
|
"settings",
|
|
33082
33173
|
"search",
|
|
33083
33174
|
"plusSm"
|
|
33084
|
-
],
|
|
33175
|
+
], RW = {
|
|
33085
33176
|
plus: "/interface/rail/plus.svg",
|
|
33086
33177
|
folder: "/interface/rail/folder.svg",
|
|
33087
33178
|
chats: "/interface/rail/chats.svg",
|
|
@@ -33092,29 +33183,29 @@ var CW = [
|
|
|
33092
33183
|
settings: "/interface/rail/settings.svg",
|
|
33093
33184
|
search: "/interface/rail/search.svg",
|
|
33094
33185
|
plusSm: "/interface/rail/plus-sm.svg"
|
|
33095
|
-
},
|
|
33186
|
+
}, zW = 750, BW = 7e3, VW = 500;
|
|
33096
33187
|
// src/ui/lib/appearance/appearanceState.ts
|
|
33097
|
-
function
|
|
33188
|
+
function HW(e) {
|
|
33098
33189
|
return typeof e == "string" && Rz.includes(e);
|
|
33099
33190
|
}
|
|
33100
|
-
function
|
|
33191
|
+
function UW(e) {
|
|
33101
33192
|
return typeof e == "string" && Gz.includes(e);
|
|
33102
33193
|
}
|
|
33103
|
-
function
|
|
33194
|
+
function WW(e) {
|
|
33104
33195
|
return typeof e == "string" && Yz.includes(e);
|
|
33105
33196
|
}
|
|
33106
|
-
function
|
|
33197
|
+
function GW(e, t, n, r) {
|
|
33107
33198
|
let i = typeof e == "number" ? e : Number(e);
|
|
33108
33199
|
return Number.isFinite(i) ? Math.min(n, Math.max(t, Math.round(i))) : r;
|
|
33109
33200
|
}
|
|
33110
|
-
function
|
|
33201
|
+
function KW() {
|
|
33111
33202
|
return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
33112
33203
|
}
|
|
33113
|
-
function
|
|
33204
|
+
function qW(e, t = KW()) {
|
|
33114
33205
|
return e === "light" ? "light" : e === "dark" || t ? "dark" : "light";
|
|
33115
33206
|
}
|
|
33116
|
-
function
|
|
33117
|
-
return
|
|
33207
|
+
function JW() {
|
|
33208
|
+
return nG({
|
|
33118
33209
|
mode: Qz.mode,
|
|
33119
33210
|
themePresetId: Qz.themePresetId,
|
|
33120
33211
|
accentPreset: Qz.accentPreset,
|
|
@@ -33130,98 +33221,98 @@ function GW() {
|
|
|
33130
33221
|
borders: Qz.borders
|
|
33131
33222
|
});
|
|
33132
33223
|
}
|
|
33133
|
-
function
|
|
33224
|
+
function YW(e, t) {
|
|
33134
33225
|
let n = eB(e) ?? eB(Qz.themePresetId), r = t === "dark" ? n.dark : n.light;
|
|
33135
33226
|
return {
|
|
33136
33227
|
backgroundHex: r.canvas,
|
|
33137
33228
|
foregroundHex: r.foreground
|
|
33138
33229
|
};
|
|
33139
33230
|
}
|
|
33140
|
-
var
|
|
33231
|
+
var XW = {
|
|
33141
33232
|
"#000000/#ffffff": "dark",
|
|
33142
33233
|
"#fcfaf6/#0a0a0a": "light"
|
|
33143
33234
|
};
|
|
33144
|
-
function
|
|
33145
|
-
let r =
|
|
33235
|
+
function ZW(e, t, n) {
|
|
33236
|
+
let r = XW[`${t}/${n}`.toLowerCase()];
|
|
33146
33237
|
return e !== Qz.themePresetId || r == null ? {
|
|
33147
33238
|
backgroundHex: t,
|
|
33148
33239
|
foregroundHex: n
|
|
33149
|
-
} :
|
|
33240
|
+
} : YW(e, r);
|
|
33150
33241
|
}
|
|
33151
|
-
function
|
|
33152
|
-
let t =
|
|
33242
|
+
function QW(e) {
|
|
33243
|
+
let t = JW();
|
|
33153
33244
|
if (!e || typeof e != "object") return t;
|
|
33154
|
-
let n = e, r = typeof n.themePresetId == "string" && eB(n.themePresetId) ? n.themePresetId : t.themePresetId, i =
|
|
33245
|
+
let n = e, r = typeof n.themePresetId == "string" && eB(n.themePresetId) ? n.themePresetId : t.themePresetId, i = ZW(r, wz(typeof n.backgroundHex == "string" ? n.backgroundHex : t.backgroundHex, t.backgroundHex), wz(typeof n.foregroundHex == "string" ? n.foregroundHex : t.foregroundHex, t.foregroundHex));
|
|
33155
33246
|
return {
|
|
33156
|
-
mode:
|
|
33247
|
+
mode: HW(n.mode) ? n.mode : t.mode,
|
|
33157
33248
|
themePresetId: r,
|
|
33158
|
-
accentPreset:
|
|
33249
|
+
accentPreset: WW(n.accentPreset) ? n.accentPreset : t.accentPreset,
|
|
33159
33250
|
customAccentHex: wz(typeof n.customAccentHex == "string" ? n.customAccentHex : t.customAccentHex, t.customAccentHex),
|
|
33160
33251
|
...i,
|
|
33161
|
-
uiFontSizePx:
|
|
33162
|
-
uiFontWeight: Math.round(
|
|
33163
|
-
uiIconSizePx:
|
|
33164
|
-
uiRadiusPercent:
|
|
33165
|
-
uiSpacePercent:
|
|
33166
|
-
contrast:
|
|
33167
|
-
borders:
|
|
33252
|
+
uiFontSizePx: GW(n.uiFontSizePx, zz.min, zz.max, t.uiFontSizePx),
|
|
33253
|
+
uiFontWeight: Math.round(GW(n.uiFontWeight, Vz.min, Vz.max, t.uiFontWeight) / 100) * 100,
|
|
33254
|
+
uiIconSizePx: GW(n.uiIconSizePx, Hz.min, Hz.max, t.uiIconSizePx),
|
|
33255
|
+
uiRadiusPercent: GW(n.uiRadiusPercent, Uz.min, Uz.max, t.uiRadiusPercent),
|
|
33256
|
+
uiSpacePercent: GW(n.uiSpacePercent, Wz.min, Wz.max, t.uiSpacePercent),
|
|
33257
|
+
contrast: GW(n.contrast, Jz.min, Jz.max, t.contrast),
|
|
33258
|
+
borders: UW(n.borders) ? n.borders : t.borders
|
|
33168
33259
|
};
|
|
33169
33260
|
}
|
|
33170
|
-
function
|
|
33261
|
+
function $W() {
|
|
33171
33262
|
if (typeof window > "u") return null;
|
|
33172
33263
|
try {
|
|
33173
33264
|
let e = window.localStorage.getItem(Iz);
|
|
33174
|
-
return e ?
|
|
33265
|
+
return e ? QW(JSON.parse(e)) : null;
|
|
33175
33266
|
} catch {
|
|
33176
33267
|
return null;
|
|
33177
33268
|
}
|
|
33178
33269
|
}
|
|
33179
|
-
function
|
|
33270
|
+
function eG(e) {
|
|
33180
33271
|
typeof window < "u" && window.localStorage.setItem(Iz, JSON.stringify(e));
|
|
33181
33272
|
}
|
|
33182
|
-
function
|
|
33273
|
+
function tG(e, t) {
|
|
33183
33274
|
if (e.themePresetId === "custom") return e;
|
|
33184
|
-
let { backgroundHex: n, foregroundHex: r } =
|
|
33275
|
+
let { backgroundHex: n, foregroundHex: r } = YW(e.themePresetId, t), i = eB(e.themePresetId), a = {
|
|
33185
33276
|
...e,
|
|
33186
33277
|
backgroundHex: wz(n, e.backgroundHex),
|
|
33187
33278
|
foregroundHex: wz(r, e.foregroundHex)
|
|
33188
33279
|
};
|
|
33189
33280
|
return a.accentPreset === "default" && i && (a.customAccentHex = wz(i.swatch, a.customAccentHex)), a;
|
|
33190
33281
|
}
|
|
33191
|
-
function
|
|
33192
|
-
return
|
|
33282
|
+
function nG(e, t = KW()) {
|
|
33283
|
+
return tG(e, qW(e.mode, t));
|
|
33193
33284
|
}
|
|
33194
33285
|
// src/ui/lib/appearance/markTokens.ts
|
|
33195
|
-
var
|
|
33286
|
+
var rG = 4.6, iG = .09, aG = 120, oG = {
|
|
33196
33287
|
min: .4,
|
|
33197
33288
|
max: .7
|
|
33198
|
-
},
|
|
33199
|
-
function
|
|
33289
|
+
}, sG = .02;
|
|
33290
|
+
function cG(e, t, n, r) {
|
|
33200
33291
|
let i = n[0] ?? "#000000", a = kz(i, "#FFFFFF") > kz(i, "#000000"), o = a ? 1 : -1;
|
|
33201
|
-
for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o *
|
|
33292
|
+
for (let r = a ? .68 : .42; r >= 0 && r <= 1; r += o * sG) {
|
|
33202
33293
|
let i = jz(e, t, r);
|
|
33203
|
-
if (n.every((e) => kz(i, e) >=
|
|
33294
|
+
if (n.every((e) => kz(i, e) >= rG)) return i;
|
|
33204
33295
|
}
|
|
33205
33296
|
return r;
|
|
33206
33297
|
}
|
|
33207
|
-
function
|
|
33208
|
-
let r = Dz(t, n,
|
|
33298
|
+
function lG(e, t, n) {
|
|
33299
|
+
let r = Dz(t, n, iG), { hue: i, saturation: a } = Az(e), o = Math.min(oG.max, Math.max(oG.min, a)), s = (e) => cG((i + e) % 360, o, [t, r], n);
|
|
33209
33300
|
return {
|
|
33210
33301
|
"--nm-mark-primary": s(0),
|
|
33211
|
-
"--nm-mark-secondary": s(
|
|
33302
|
+
"--nm-mark-secondary": s(aG),
|
|
33212
33303
|
"--nm-mark-tertiary": s(240),
|
|
33213
33304
|
"--nm-mark-surface": r
|
|
33214
33305
|
};
|
|
33215
33306
|
}
|
|
33216
33307
|
// src/ui/lib/appearance/deriveTokens.ts
|
|
33217
|
-
function
|
|
33308
|
+
function uG(e) {
|
|
33218
33309
|
return e.accentPreset === "custom" || e.accentPreset === "default" && e.themePresetId === "custom" ? wz(e.customAccentHex, "#D2BB9C") : e.accentPreset === "default" ? eB(e.themePresetId)?.swatch ?? Xz[0].swatch : Zz[e.accentPreset];
|
|
33219
33310
|
}
|
|
33220
|
-
function
|
|
33311
|
+
function dG(e, t) {
|
|
33221
33312
|
let n = e / Jz.max, r = t === "dark" ? .06 : .05;
|
|
33222
33313
|
return r + n * ((t === "dark" ? .42 : .38) - r);
|
|
33223
33314
|
}
|
|
33224
|
-
function
|
|
33315
|
+
function fG(e) {
|
|
33225
33316
|
let t = `${e}px`;
|
|
33226
33317
|
return {
|
|
33227
33318
|
"--nm-icon-button": t,
|
|
@@ -33229,18 +33320,18 @@ function lG(e) {
|
|
|
33229
33320
|
"--nm-rail-icon": t
|
|
33230
33321
|
};
|
|
33231
33322
|
}
|
|
33232
|
-
function
|
|
33323
|
+
function pG(e, t) {
|
|
33233
33324
|
let n = t + 16;
|
|
33234
33325
|
return { "--nm-ui-chip-min-height": `${Math.max(n, e + 16)}px` };
|
|
33235
33326
|
}
|
|
33236
|
-
function
|
|
33327
|
+
function mG(e) {
|
|
33237
33328
|
let t = e / Uz.default;
|
|
33238
|
-
return { [
|
|
33329
|
+
return { [AW]: String(t) };
|
|
33239
33330
|
}
|
|
33240
|
-
function
|
|
33331
|
+
function hG(e) {
|
|
33241
33332
|
return { "--nm-space-scale": String(e / Wz.default) };
|
|
33242
33333
|
}
|
|
33243
|
-
function
|
|
33334
|
+
function gG(e) {
|
|
33244
33335
|
let t = (t) => String(Math.min(Vz.max, Math.max(Vz.min, e + t)));
|
|
33245
33336
|
return {
|
|
33246
33337
|
"--nm-weight-light": t(-100),
|
|
@@ -33250,7 +33341,7 @@ function pG(e) {
|
|
|
33250
33341
|
"--nm-weight-bold": t(300)
|
|
33251
33342
|
};
|
|
33252
33343
|
}
|
|
33253
|
-
function
|
|
33344
|
+
function _G(e) {
|
|
33254
33345
|
let t = e / zz.default, n = `${e}px`, r = `${Math.max(zz.min, e - 2)}px`;
|
|
33255
33346
|
return {
|
|
33256
33347
|
"--nm-type-body": n,
|
|
@@ -33266,7 +33357,7 @@ function mG(e) {
|
|
|
33266
33357
|
"--font-size-sm": r
|
|
33267
33358
|
};
|
|
33268
33359
|
}
|
|
33269
|
-
function
|
|
33360
|
+
function vG(e, t) {
|
|
33270
33361
|
let n = Tz(t);
|
|
33271
33362
|
return {
|
|
33272
33363
|
"--text-primary": e["--nm-fg-rgb"],
|
|
@@ -33294,12 +33385,12 @@ function hG(e, t) {
|
|
|
33294
33385
|
"--nordman-accent": n
|
|
33295
33386
|
};
|
|
33296
33387
|
}
|
|
33297
|
-
function
|
|
33388
|
+
function yG(e, t, n, r) {
|
|
33298
33389
|
let i = Fz[t];
|
|
33299
33390
|
return e.themePresetId === Xz[0].id && e.contrast === Jz.default && n.toLowerCase() === i.canvas && r.toLowerCase() === i.fg;
|
|
33300
33391
|
}
|
|
33301
|
-
function
|
|
33302
|
-
let n = wz(e.backgroundHex, "#000000"), r = wz(e.foregroundHex, "#ffffff"), i =
|
|
33392
|
+
function bG(e, t) {
|
|
33393
|
+
let n = wz(e.backgroundHex, "#000000"), r = wz(e.foregroundHex, "#ffffff"), i = uG(e), a = dG(e.contrast, t), o = yG(e, t, n, r) ? Fz[t] : null, s = o?.panel ?? Dz(n, r, a), c = o?.raised ?? Dz(n, r, a * .72), l = o?.inset ?? Dz(n, r, a * .85), u = o?.line ?? Dz(n, r, Math.min(.55, a + .12)), d = o?.lineStrong ?? Dz(n, r, Math.min(.6, a + .17)), f = o?.stroke ?? Dz(n, r, Math.min(.65, a + .22)), p = o?.muted ?? Dz(r, n, .22), m = o?.subtle ?? Dz(r, n, .38), h = {
|
|
33303
33394
|
"--nm-canvas": n,
|
|
33304
33395
|
"--nm-fg": r,
|
|
33305
33396
|
"--nm-fg-muted": p,
|
|
@@ -33324,36 +33415,36 @@ function _G(e, t) {
|
|
|
33324
33415
|
"--nm-accent": i,
|
|
33325
33416
|
"--nm-accent-rgb": Tz(i),
|
|
33326
33417
|
...Pz(i, n, r),
|
|
33327
|
-
...
|
|
33328
|
-
...
|
|
33329
|
-
...
|
|
33330
|
-
...
|
|
33331
|
-
...
|
|
33332
|
-
...
|
|
33333
|
-
...
|
|
33418
|
+
...lG(i, n, r),
|
|
33419
|
+
..._G(e.uiFontSizePx),
|
|
33420
|
+
...gG(e.uiFontWeight),
|
|
33421
|
+
...fG(e.uiIconSizePx),
|
|
33422
|
+
...pG(e.uiFontSizePx, e.uiIconSizePx),
|
|
33423
|
+
...mG(e.uiRadiusPercent),
|
|
33424
|
+
...hG(e.uiSpacePercent),
|
|
33334
33425
|
"--nm-border-strength": Kz[e.borders]
|
|
33335
33426
|
};
|
|
33336
33427
|
return {
|
|
33337
33428
|
...h,
|
|
33338
|
-
...
|
|
33429
|
+
...vG(h, i)
|
|
33339
33430
|
};
|
|
33340
33431
|
}
|
|
33341
|
-
function
|
|
33432
|
+
function xG(e) {
|
|
33342
33433
|
return e;
|
|
33343
33434
|
}
|
|
33344
33435
|
// src/ui/lib/appearance/applyAppearance.ts
|
|
33345
|
-
var
|
|
33346
|
-
function
|
|
33436
|
+
var SG = W("interface-appearance-apply");
|
|
33437
|
+
function CG() {
|
|
33347
33438
|
return typeof window > "u" || typeof window.matchMedia != "function" || window.matchMedia("(prefers-color-scheme: dark)").matches;
|
|
33348
33439
|
}
|
|
33349
|
-
function
|
|
33440
|
+
function wG(e = document.documentElement) {
|
|
33350
33441
|
$z.forEach((t) => {
|
|
33351
33442
|
e.style.removeProperty(t);
|
|
33352
33443
|
}), e.removeAttribute(qz);
|
|
33353
33444
|
}
|
|
33354
|
-
function
|
|
33355
|
-
let n =
|
|
33356
|
-
return
|
|
33445
|
+
function TG(e, t = document.documentElement) {
|
|
33446
|
+
let n = qW(e.mode, CG()), r = bG(e, n);
|
|
33447
|
+
return SG.debug("apply", "appearance", {
|
|
33357
33448
|
mode: e.mode,
|
|
33358
33449
|
scheme: n,
|
|
33359
33450
|
theme: e.themePresetId
|
|
@@ -33362,7 +33453,7 @@ function SG(e, t = document.documentElement) {
|
|
|
33362
33453
|
}), t.setAttribute(qz, e.borders), typeof window < "u" && window.dispatchEvent(new CustomEvent(Lz)), { scheme: n };
|
|
33363
33454
|
}
|
|
33364
33455
|
// src/ui/lib/appearance/readLayoutMetrics.ts
|
|
33365
|
-
function
|
|
33456
|
+
function EG(e, t, n) {
|
|
33366
33457
|
let r = getComputedStyle(e).getPropertyValue(t).trim();
|
|
33367
33458
|
if (!r) return n;
|
|
33368
33459
|
if (r.endsWith("px")) {
|
|
@@ -33375,7 +33466,7 @@ function CG(e, t, n) {
|
|
|
33375
33466
|
}
|
|
33376
33467
|
return n;
|
|
33377
33468
|
}
|
|
33378
|
-
function
|
|
33379
|
-
return
|
|
33469
|
+
function DG(e = document.documentElement) {
|
|
33470
|
+
return EG(e, "--nm-icon-control", 34) + EG(e, "--nm-space-2", 2);
|
|
33380
33471
|
}
|
|
33381
|
-
export { Zz as NM_ACCENT_HEX, Yz as NM_ACCENT_PRESETS, uw as NM_AI_BADGE_TONES, K as NM_AI_CLASSES, sw as NM_AI_STATUS, Lz as NM_APPEARANCE_APPLIED_EVENT, Jz as NM_APPEARANCE_CONTRAST, $z as NM_APPEARANCE_CSS_VARS, Qz as NM_APPEARANCE_DEFAULTS, Rz as NM_APPEARANCE_MODES, Iz as NM_APPEARANCE_STORAGE_KEY, mW as NM_APP_PANEL_CLASSES, pW as NM_APP_PANEL_ICON_SRC, fW as NM_APP_PANEL_TABS, HE as NM_AVATAR_SIZES, YE as NM_BAR_OVERFLOW_CLASSES, XE as NM_BAR_OVERFLOW_TEST_IDS, qz as NM_BORDER_ATTRIBUTE, Kz as NM_BORDER_STRENGTH, Gz as NM_BORDER_STYLES, EC as NM_BUTTON_CLASSES, TC as NM_BUTTON_SIZES, wC as NM_BUTTON_TONES, xj as NM_CARD_SIZES, bj as NM_CARD_VARIANTS, PC as NM_CHATBOX_ACTION_CLASS, Lj as NM_CHATBOX_CLASSES, Nj as NM_CHATBOX_COMPOSER_ACTION_ICONS, Pj as NM_CHATBOX_DURING_RUN_MENU_ICONS, Aj as NM_CHATBOX_ICON_IDS, Mj as NM_CHATBOX_ICON_SRC, jj as NM_CHATBOX_INTEGRATION_ICON_PATH, Fj as NM_CHATBOX_LUCIDE_MAP, Rj as NM_CHATBOX_MENU_MODE, SC as NM_CHIP_SIZES, xC as NM_CHIP_TONES, qC as NM_CODE_BLOCK_SIZES, KC as NM_CODE_BLOCK_VARIANTS, nw as NM_CODE_LANGUAGES, Xj as NM_COLLECTION_ACTIONS, Yj as NM_COLLECTION_CLASSES, Gj as NM_COLLECTION_FILES_REFRESH_MS, Jj as NM_COLLECTION_ICON_SRC, Zj as NM_COLLECTION_MEDIA_KINDS, Kj as NM_COLLECTION_SCROLL_IDLE_MS, qj as NM_COLLECTION_VIEWS, Q as NM_COMPOSER_CLASSES, gz as NM_COMPOSER_COPY, _z as NM_COMPOSER_INLINE_MARK, vz as NM_COMPOSER_SHAPE_ATTRIBUTE, NW as NM_CONTROL_MENU_CSS_VARS, OC as NM_CONTROL_SHAPES, gW as NM_DRAWER_SIDES, pw as NM_DROPDOWN_ALIGN, q as NM_DROPDOWN_CLASSES, gw as NM_DROPDOWN_GAP_PX, hw as NM_DROPDOWN_REVEAL, _w as NM_DROPDOWN_SCROLL_IDLE_MS, mw as NM_DROPDOWN_SIDE, fw as NM_DROPDOWN_TONE, dw as NM_DROPDOWN_TRIGGER, EW as NM_EXTENDED_ICON_IDS, _M as NM_FIELD_CLASSES, hM as NM_FIELD_KINDS, gM as NM_FIELD_LAYOUT, Bz as NM_FONT_WEIGHTS, CW as NM_HEADER_ICON_IDS, wW as NM_HEADER_ICON_SRC, og as NM_ICONS, TW as NM_ICON_BORDER_CLASSES, NC as NM_ICON_BUTTON_CLASSES, MC as NM_ICON_BUTTON_TONES, ag as NM_ICON_IDS, QB as NM_LIST_ITEM_CLASSES, hW as NM_LOGS_PANEL_CLASSES, cC as NM_LUCIDE_EXTENDED, lC as NM_LUCIDE_FILLED_IDS, J as NM_MESSAGE_CLASSES, AT as NM_MESSAGE_ICON_GLYPH, kT as NM_MESSAGE_ICON_IDS, jT as NM_MESSAGE_ICON_SRC, sV as NM_MODAL_ACTION, lV as NM_MODAL_CLASSES, oV as NM_MODAL_FOOTER, cV as NM_MODAL_SCROLL_IDLE_MS, aV as NM_MODAL_SIZE, iV as NM_MODAL_TITLE, $V as NM_PANEL_BAR_CLASSES, QV as NM_PANEL_BAR_LAYOUT, zV as NM_PANEL_MEASURES, RV as NM_PANEL_VARIANTS, aH as NM_QUESTIONNAIRE_CLASSES, iH as NM_QUESTIONNAIRE_COPY, nH as NM_QUESTIONNAIRE_SHORTCUTS, rH as NM_QUESTIONNAIRE_VARIANTS, AW as NM_RADIUS_CSS_VARS, jW as NM_RADIUS_FORMULAS, MW as NM_RADIUS_PRIMITIVE_FORMULAS, OW as NM_RADIUS_PRIMITIVE_PX, DW as NM_RADIUS_SCALE_VAR, kW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, LW as NM_RAIL_FACE_HOLD_MS, PW as NM_RAIL_ICON_IDS, FW as NM_RAIL_ICON_SRC, IW as NM_RAIL_SCROLL_IDLE_MS, RW as NM_RAIL_SEARCH_DEBOUNCE_MS, JV as NM_SEGMENTED_CLASSES, qV as NM_SEGMENTED_TONES, kC as NM_SHAPE_ATTRIBUTE, yH as NM_SIDEBAR_BUTTON_SIZES, bH as NM_SIDEBAR_BUTTON_VARIANTS, _H as NM_SIDEBAR_COLLAPSIBLE, CH as NM_SIDEBAR_MOBILE_QUERY, SH as NM_SIDEBAR_PEEK_LEAVE_MS, xH as NM_SIDEBAR_SHORTCUT, hH as NM_SIDEBAR_SIDES, vH as NM_SIDEBAR_STATES, gH as NM_SIDEBAR_VARIANTS, TN as NM_SIDE_PANEL_KINDS, EN as NM_SIDE_PANEL_SIZES, Fz as NM_SITE_PALETTE, aM as NM_SMALL_ICON_BUTTON_CLASSES, iM as NM_SMALL_ICON_BUTTON_TONES, vU as NM_TABLE_SIZES, _U as NM_TABLE_VARIANTS, DU as NM_TABS_CLASSES, Xz as NM_THEME_PRESETS, FU as NM_TOGGLE_SIZES, PU as NM_TOGGLE_VARIANTS, lw as NM_TOOL_STATES, LU as NM_TOP_BAR_CLASSES, NT as NM_TRACE_GLYPH_PATHS, MT as NM_TRACE_STATUSES, zz as NM_UI_FONT_SIZE_PX, Vz as NM_UI_FONT_WEIGHT, Hz as NM_UI_ICON_SIZE_PX, Uz as NM_UI_RADIUS_PERCENT, Wz as NM_UI_SPACE_PERCENT, RC as NORDMAN_CHROME_ICONS, LC as NORDMAN_CHROME_ICON_IDS, BC as NORDMAN_ICON_BUTTON_VARIANTS, HU as NORDMAN_LOGIN_FIELDS, VU as NORDMAN_LOGIN_FORM_ID, WU as NORDMAN_LOGIN_INTERFACE, UU as NORDMAN_LOGIN_REVEAL, BU as NORDMAN_LOGIN_VIEWS, kE as NmAlert, ME as NmAlertAction, jE as NmAlertDescription, NE as NmAlertDialog, BE as NmAlertDialogAction, VE as NmAlertDialogCancel, FE as NmAlertDialogContent, zE as NmAlertDialogDescription, LE as NmAlertDialogFooter, IE as NmAlertDialogHeader, RE as NmAlertDialogTitle, PE as NmAlertDialogTrigger, AE as NmAlertTitle, UE as NmAvatar, KE as NmAvatarBadge, GE as NmAvatarFallback, qE as NmAvatarGroup, JE as NmAvatarGroupCount, WE as NmAvatarImage, nE as NmBadge, nD as NmBarOverflow, rD as NmBrandLogo, iD as NmBreadcrumb, uD as NmBreadcrumbEllipsis, oD as NmBreadcrumbItem, sD as NmBreadcrumbLink, aD as NmBreadcrumbList, cD as NmBreadcrumbPage, lD as NmBreadcrumbSeparator, eE as NmBubble, jC as NmButton, fD as NmButtonGroup, pD as NmButtonGroupSeparator, mD as NmButtonGroupText, yj as NmCalendar, Sj as NmCard, Ej as NmCardAction, Dj as NmCardContent, Tj as NmCardDescription, Oj as NmCardFooter, Cj as NmCardHeader, kj as NmCardMedia, wj as NmCardTitle, sE as NmChainOfThought, OE as NmChat, Bj as NmChatbox, Ij as NmChatboxIcon, Vj as NmCheckbox, cE as NmCheckpoint, CC as NmChip, YC as NmCodeBlock, QC as NmCodeBlockActions, aw as NmCodeBlockContent, $C as NmCodeBlockCopyButton, ow as NmCodeBlockFooter, XC as NmCodeBlockHeader, ew as NmCodeBlockLine, ZC as NmCodeBlockTitle, Hj as NmCollapsible, Wj as NmCollapsibleContent, Uj as NmCollapsibleTrigger, rM as NmCollectionBar, mM as NmCollectionGrid, $N as NmCollectionQuery, nP as NmCollectionRowMenu, iP as NmCollectionTable, dM as NmCollectionTileActions, eM as NmCollectionTitle, CN as NmColorPicker, xN as NmColorSwatch, vM as NmCombobox, bM as NmComboboxContent, CM as NmComboboxEmpty, wM as NmComboboxGroup, yM as NmComboboxInput, SM as NmComboboxItem, TM as NmComboboxLabel, xM as NmComboboxList, EM as NmComboboxSeparator, nz as NmCommand, mz as NmCommandDescription, rz as NmCommandDialog, sz as NmCommandEmpty, az as NmCommandFilters, lz as NmCommandGroup, hz as NmCommandIcon, iz as NmCommandInput, dz as NmCommandItem, fz as NmCommandItemActions, oz as NmCommandList, cz as NmCommandLoading, uz as NmCommandSeparator, pz as NmCommandShortcut, fB as NmComposer, lE as NmConfirmation, dE as NmContext, pB as NmContextMenu, hB as NmContextMenuContent, mB as NmContextMenuTrigger, yB as NmDatePicker, bB as NmDateRangePicker, wB as NmDateTimePicker, qR as NmDialog, QR as NmDialogBody, YR as NmDialogClose, XR as NmDialogContent, tz as NmDialogDescription, $R as NmDialogFooter, ZR as NmDialogHeader, ez as NmDialogTitle, JR as NmDialogTrigger, TB as NmDrawer, DB as NmDrawerClose, OB as NmDrawerContent, MB as NmDrawerDescription, AB as NmDrawerFooter, kB as NmDrawerHeader, jB as NmDrawerTitle, EB as NmDrawerTrigger, wT as NmDropdown, Kw as NmDropdownBranch, nT as NmDropdownMenu, dT as NmDropdownMenuCheckboxItem, iT as NmDropdownMenuContent, _T as NmDropdownMenuDot, aT as NmDropdownMenuGroup, sT as NmDropdownMenuItem, yT as NmDropdownMenuItems, oT as NmDropdownMenuLabel, fT as NmDropdownMenuRadioGroup, pT as NmDropdownMenuRadioItem, mT as NmDropdownMenuSeparator, hT as NmDropdownMenuShortcut, cT as NmDropdownMenuSub, uT as NmDropdownMenuSubContent, lT as NmDropdownMenuSubTrigger, gT as NmDropdownMenuText, rT as NmDropdownMenuTrigger, eT as NmDropdownOptions, Uw as NmDropdownPanel, XN as NmField, RB as NmFieldContent, VB as NmFieldDescription, HB as NmFieldError, IB as NmFieldGroup, zB as NmFieldLabel, FB as NmFieldLegend, UB as NmFieldSeparator, PB as NmFieldSet, BB as NmFieldTitle, mE as NmFileTree, LB as NmFormField, WB as NmGallery, GB as NmGalleryItem, TT as NmHoverCard, DT as NmHoverCardContent, ET as NmHoverCardTrigger, G as NmIcon, $j as NmIconBorder, hE as NmInlineCitation, mN as NmInput, KB as NmInputGroup, qB as NmInputGroupAddon, YB as NmInputGroupInput, JB as NmInputGroupText, rE as NmItem, XB as NmKbd, ZB as NmKbdGroup, NB as NmLabel, eV as NmListItem, hC as NmLucide, tV as NmMenubar, nV as NmMenubarMenu, rV as NmMenubarTrigger, aE as NmMessage, FT as NmMessageActions, RT as NmMessageMeta, NV as NmModal, PV as NmModalAction, gE as NmModelSelector, xB as NmMonthPicker, FV as NmNativeSelect, LV as NmNativeSelectOptGroup, IV as NmNativeSelectOption, BV as NmPanel, WV as NmPanelActions, tH as NmPanelBar, GV as NmPanelContent, UV as NmPanelDescription, KV as NmPanelFooter, VV as NmPanelHeader, HV as NmPanelTitle, _E as NmPlan, hN as NmPopover, _N as NmPopoverContent, bN as NmPopoverDescription, vN as NmPopoverHeader, yN as NmPopoverTitle, gN as NmPopoverTrigger, OT as NmProgress, wN as NmProse, lH as NmQuestionnaire, vE as NmQueue, uH as NmRadioGroup, dH as NmRadioGroupItem, mH as NmRailIcon, oE as NmReasoning, kN as NmResizeHandle, ZV as NmSegmented, DM as NmSelect, AM as NmSelectContent, MM as NmSelectGroup, jM as NmSelectItem, NM as NmSelectLabel, PM as NmSelectSeparator, OM as NmSelectTrigger, kM as NmSelectValue, dD as NmSeparator, iE as NmSheet, BN as NmSidePanel, VN as NmSidePanelBody, HN as NmSidePanelKinds, IH as NmSidebar, tU as NmSidebarBar, nU as NmSidebarBrand, lU as NmSidebarChevron, GH as NmSidebarContent, uU as NmSidebarDropdownMenu, UH as NmSidebarFooter, KH as NmSidebarGroup, JH as NmSidebarGroupAction, YH as NmSidebarGroupContent, qH as NmSidebarGroupLabel, HH as NmSidebarHeader, VH as NmSidebarInput, BH as NmSidebarInset, XH as NmSidebarMenu, $H as NmSidebarMenuAction, eU as NmSidebarMenuActions, rU as NmSidebarMenuBadge, QH as NmSidebarMenuButton, ZH as NmSidebarMenuItem, aU as NmSidebarMenuSkeleton, oU as NmSidebarMenuSub, cU as NmSidebarMenuSubButton, sU as NmSidebarMenuSubItem, iU as NmSidebarMenuText, FH as NmSidebarProvider, zH as NmSidebarRail, WH as NmSidebarSeparator, LH as NmSidebarTrigger, RH as NmSidebarTriggerSpace, wH as NmSkeleton, dU as NmSlider, cM as NmSmallIconButton, bE as NmSources, fU as NmSpinner, SE as NmStackTrace, pU as NmStatusBar, mU as NmStatusBarItem, hU as NmStatusBarSpacer, EE as NmSubagent, DE as NmSuggestions, gU as NmSwitch, yU as NmTable, xU as NmTableBody, EU as NmTableCaption, TU as NmTableCell, SU as NmTableFooter, wU as NmTableHead, bU as NmTableHeader, CU as NmTableRow, kU as NmTabs, NU as NmTabsContent, jU as NmTabsList, AU as NmTabsRoot, MU as NmTabsTrigger, yE as NmTask, xE as NmTerminal, CE as NmTestResults, IT as NmTextShimmer, KN as NmTextarea, qN as NmTextareaPanel, CB as NmTimePicker, IU as NmToggle, TE as NmTool, AN as NmToolbar, PN as NmToolbarButton, jN as NmToolbarGroup, FN as NmToolbarInput, MN as NmToolbarSeparator, NN as NmToolbarSpacer, EH as NmTooltip, OH as NmTooltipContent, TH as NmTooltipProvider, DH as NmTooltipTrigger, zU as NmTopBar, HT as NmTrace, ZT as NmTraceBadge, XT as NmTraceBadges, UT as NmTraceCollapsible, GT as NmTraceCollapsibleContent, WT as NmTraceCollapsibleTrigger, YT as NmTraceDescription, VT as NmTraceGlyph, qT as NmTraceIcon, KT as NmTraceLine, JT as NmTraceTitle, IN as NmWorkspace, RN as NmWorkspaceBody, zN as NmWorkspaceFooter, LN as NmWorkspaceMain, GC as NordmanIconButton, lW as NordmanLogin, XU as NordmanLoginField, nW as NordmanLoginForgot, rW as NordmanLoginGoogle, sW as NordmanLoginHero, QU as NordmanLoginRegister, aW as NordmanLoginReset, YU as NordmanLoginReveal, eW as NordmanLoginSignIn, dW as NordmanToggle, SG as applyAppearanceState, $W as applyThemePresetPalette, xG as clearAppliedAppearance, kz as contrastRatio, GW as createDefaultAppearanceState, tB as defaultThemePresetId, _G as deriveAppearanceTokens, bw as dropdownBranchPath, Vw as dropdownPortalHost, qw as findDropdownItem, eB as findThemePreset, pC as hasNmLucide, Az as hexToHsl, Tz as hexToRgbTriplet, jz as hslToHex, Cz as isHexColor, vw as isNmDropdownSeparator, fC as isNmIconAnimated, QW as mergeThemePresetColors, Dz as mixHex, Sw as nextExpandedBranches, cw as nmAiTraceStatus, DC as nmButtonClassName, IC as nmChatboxActionButtonClassName, F as nmClass, yw as nmDropdownSeparator, Iw as nmDropdownViewportMaxHeight, xW as nmFade, tw as nmHighlightedLines, FC as nmIconButtonClassName, yW as nmSettleSeconds, wz as normalizeHexColor, xw as openDropdownBranch, KW as paletteForPreset, YW as parseAppearanceState, Lw as placeNmDropdownPanel, Rw as placeNmDropdownRowPanel, zw as placeNmDropdownSubpanel, CG as readCssLengthPx, wG as readNmRailRowStridePx, XW as readStoredAppearanceState, sG as resolveAccentHex, WW as resolveAppearanceScheme, vG as themeModeFromAppearance, eD as useBarOverflow, SW as useNmFade, MH as useOptionalSidebar, OV as useReportSaveDirty, NH as useSidebar, jH as useSidebarVisible, kV as useTrackSave, ZW as writeStoredAppearanceState };
|
|
33472
|
+
export { Zz as NM_ACCENT_HEX, Yz as NM_ACCENT_PRESETS, uw as NM_AI_BADGE_TONES, K as NM_AI_CLASSES, sw as NM_AI_STATUS, Lz as NM_APPEARANCE_APPLIED_EVENT, Jz as NM_APPEARANCE_CONTRAST, $z as NM_APPEARANCE_CSS_VARS, Qz as NM_APPEARANCE_DEFAULTS, Rz as NM_APPEARANCE_MODES, Iz as NM_APPEARANCE_STORAGE_KEY, _W as NM_APP_PANEL_CLASSES, gW as NM_APP_PANEL_ICON_SRC, hW as NM_APP_PANEL_TABS, HE as NM_AVATAR_SIZES, YE as NM_BAR_OVERFLOW_CLASSES, XE as NM_BAR_OVERFLOW_TEST_IDS, qz as NM_BORDER_ATTRIBUTE, Kz as NM_BORDER_STRENGTH, Gz as NM_BORDER_STYLES, EC as NM_BUTTON_CLASSES, TC as NM_BUTTON_SIZES, wC as NM_BUTTON_TONES, xj as NM_CARD_SIZES, bj as NM_CARD_VARIANTS, PC as NM_CHATBOX_ACTION_CLASS, Lj as NM_CHATBOX_CLASSES, Nj as NM_CHATBOX_COMPOSER_ACTION_ICONS, Pj as NM_CHATBOX_DURING_RUN_MENU_ICONS, Aj as NM_CHATBOX_ICON_IDS, Mj as NM_CHATBOX_ICON_SRC, jj as NM_CHATBOX_INTEGRATION_ICON_PATH, Fj as NM_CHATBOX_LUCIDE_MAP, Rj as NM_CHATBOX_MENU_MODE, SC as NM_CHIP_SIZES, xC as NM_CHIP_TONES, qC as NM_CODE_BLOCK_SIZES, KC as NM_CODE_BLOCK_VARIANTS, nw as NM_CODE_LANGUAGES, Xj as NM_COLLECTION_ACTIONS, Yj as NM_COLLECTION_CLASSES, Gj as NM_COLLECTION_FILES_REFRESH_MS, Jj as NM_COLLECTION_ICON_SRC, Zj as NM_COLLECTION_MEDIA_KINDS, Kj as NM_COLLECTION_SCROLL_IDLE_MS, qj as NM_COLLECTION_VIEWS, Q as NM_COMPOSER_CLASSES, gz as NM_COMPOSER_COPY, _z as NM_COMPOSER_INLINE_MARK, vz as NM_COMPOSER_SHAPE_ATTRIBUTE, IW as NM_CONTROL_MENU_CSS_VARS, OC as NM_CONTROL_SHAPES, yW as NM_DRAWER_SIDES, pw as NM_DROPDOWN_ALIGN, q as NM_DROPDOWN_CLASSES, gw as NM_DROPDOWN_GAP_PX, hw as NM_DROPDOWN_REVEAL, _w as NM_DROPDOWN_SCROLL_IDLE_MS, mw as NM_DROPDOWN_SIDE, fw as NM_DROPDOWN_TONE, dw as NM_DROPDOWN_TRIGGER, kW as NM_EXTENDED_ICON_IDS, _M as NM_FIELD_CLASSES, hM as NM_FIELD_KINDS, gM as NM_FIELD_LAYOUT, Bz as NM_FONT_WEIGHTS, EW as NM_HEADER_ICON_IDS, DW as NM_HEADER_ICON_SRC, og as NM_ICONS, OW as NM_ICON_BORDER_CLASSES, NC as NM_ICON_BUTTON_CLASSES, MC as NM_ICON_BUTTON_TONES, ag as NM_ICON_IDS, QB as NM_LIST_ITEM_CLASSES, vW as NM_LOGS_PANEL_CLASSES, cC as NM_LUCIDE_EXTENDED, lC as NM_LUCIDE_FILLED_IDS, J as NM_MESSAGE_CLASSES, AT as NM_MESSAGE_ICON_GLYPH, kT as NM_MESSAGE_ICON_IDS, jT as NM_MESSAGE_ICON_SRC, sV as NM_MODAL_ACTION, lV as NM_MODAL_CLASSES, oV as NM_MODAL_FOOTER, cV as NM_MODAL_SCROLL_IDLE_MS, aV as NM_MODAL_SIZE, iV as NM_MODAL_TITLE, $V as NM_PANEL_BAR_CLASSES, QV as NM_PANEL_BAR_LAYOUT, zV as NM_PANEL_MEASURES, RV as NM_PANEL_VARIANTS, aH as NM_QUESTIONNAIRE_CLASSES, iH as NM_QUESTIONNAIRE_COPY, nH as NM_QUESTIONNAIRE_SHORTCUTS, rH as NM_QUESTIONNAIRE_VARIANTS, NW as NM_RADIUS_CSS_VARS, PW as NM_RADIUS_FORMULAS, FW as NM_RADIUS_PRIMITIVE_FORMULAS, jW as NM_RADIUS_PRIMITIVE_PX, AW as NM_RADIUS_SCALE_VAR, MW as NM_RADIUS_SEMANTIC_OFFSET_SPACE, BW as NM_RAIL_FACE_HOLD_MS, LW as NM_RAIL_ICON_IDS, RW as NM_RAIL_ICON_SRC, zW as NM_RAIL_SCROLL_IDLE_MS, VW as NM_RAIL_SEARCH_DEBOUNCE_MS, JV as NM_SEGMENTED_CLASSES, qV as NM_SEGMENTED_TONES, kC as NM_SHAPE_ATTRIBUTE, yH as NM_SIDEBAR_BUTTON_SIZES, bH as NM_SIDEBAR_BUTTON_VARIANTS, _H as NM_SIDEBAR_COLLAPSIBLE, CH as NM_SIDEBAR_MOBILE_QUERY, SH as NM_SIDEBAR_PEEK_LEAVE_MS, xH as NM_SIDEBAR_SHORTCUT, hH as NM_SIDEBAR_SIDES, vH as NM_SIDEBAR_STATES, gH as NM_SIDEBAR_VARIANTS, TN as NM_SIDE_PANEL_KINDS, EN as NM_SIDE_PANEL_SIZES, Fz as NM_SITE_PALETTE, aM as NM_SMALL_ICON_BUTTON_CLASSES, iM as NM_SMALL_ICON_BUTTON_TONES, xU as NM_TABLE_SIZES, bU as NM_TABLE_VARIANTS, AU as NM_TABS_CLASSES, Xz as NM_THEME_PRESETS, RU as NM_TOGGLE_SIZES, LU as NM_TOGGLE_VARIANTS, lw as NM_TOOL_STATES, BU as NM_TOP_BAR_CLASSES, NT as NM_TRACE_GLYPH_PATHS, MT as NM_TRACE_STATUSES, zz as NM_UI_FONT_SIZE_PX, Vz as NM_UI_FONT_WEIGHT, Hz as NM_UI_ICON_SIZE_PX, Uz as NM_UI_RADIUS_PERCENT, Wz as NM_UI_SPACE_PERCENT, RC as NORDMAN_CHROME_ICONS, LC as NORDMAN_CHROME_ICON_IDS, BC as NORDMAN_ICON_BUTTON_VARIANTS, GU as NORDMAN_LOGIN_FIELDS, WU as NORDMAN_LOGIN_FORM_ID, qU as NORDMAN_LOGIN_INTERFACE, KU as NORDMAN_LOGIN_REVEAL, UU as NORDMAN_LOGIN_VIEWS, kE as NmAlert, ME as NmAlertAction, jE as NmAlertDescription, NE as NmAlertDialog, BE as NmAlertDialogAction, VE as NmAlertDialogCancel, FE as NmAlertDialogContent, zE as NmAlertDialogDescription, LE as NmAlertDialogFooter, IE as NmAlertDialogHeader, RE as NmAlertDialogTitle, PE as NmAlertDialogTrigger, AE as NmAlertTitle, UE as NmAvatar, KE as NmAvatarBadge, GE as NmAvatarFallback, qE as NmAvatarGroup, JE as NmAvatarGroupCount, WE as NmAvatarImage, nE as NmBadge, nD as NmBarOverflow, rD as NmBrandLogo, iD as NmBreadcrumb, uD as NmBreadcrumbEllipsis, oD as NmBreadcrumbItem, sD as NmBreadcrumbLink, aD as NmBreadcrumbList, cD as NmBreadcrumbPage, lD as NmBreadcrumbSeparator, eE as NmBubble, jC as NmButton, fD as NmButtonGroup, pD as NmButtonGroupSeparator, mD as NmButtonGroupText, yj as NmCalendar, Sj as NmCard, Ej as NmCardAction, Dj as NmCardContent, Tj as NmCardDescription, Oj as NmCardFooter, Cj as NmCardHeader, kj as NmCardMedia, wj as NmCardTitle, sE as NmChainOfThought, OE as NmChat, Bj as NmChatbox, Ij as NmChatboxIcon, Vj as NmCheckbox, cE as NmCheckpoint, CC as NmChip, YC as NmCodeBlock, QC as NmCodeBlockActions, aw as NmCodeBlockContent, $C as NmCodeBlockCopyButton, ow as NmCodeBlockFooter, XC as NmCodeBlockHeader, ew as NmCodeBlockLine, ZC as NmCodeBlockTitle, Hj as NmCollapsible, Wj as NmCollapsibleContent, Uj as NmCollapsibleTrigger, rM as NmCollectionBar, mM as NmCollectionGrid, $N as NmCollectionQuery, nP as NmCollectionRowMenu, iP as NmCollectionTable, dM as NmCollectionTileActions, eM as NmCollectionTitle, CN as NmColorPicker, xN as NmColorSwatch, vM as NmCombobox, bM as NmComboboxContent, CM as NmComboboxEmpty, wM as NmComboboxGroup, yM as NmComboboxInput, SM as NmComboboxItem, TM as NmComboboxLabel, xM as NmComboboxList, EM as NmComboboxSeparator, nz as NmCommand, mz as NmCommandDescription, rz as NmCommandDialog, sz as NmCommandEmpty, az as NmCommandFilters, lz as NmCommandGroup, hz as NmCommandIcon, iz as NmCommandInput, dz as NmCommandItem, fz as NmCommandItemActions, oz as NmCommandList, cz as NmCommandLoading, uz as NmCommandSeparator, pz as NmCommandShortcut, fB as NmComposer, lE as NmConfirmation, dE as NmContext, pB as NmContextMenu, hB as NmContextMenuContent, mB as NmContextMenuTrigger, yB as NmDatePicker, bB as NmDateRangePicker, wB as NmDateTimePicker, qR as NmDialog, QR as NmDialogBody, YR as NmDialogClose, XR as NmDialogContent, tz as NmDialogDescription, $R as NmDialogFooter, ZR as NmDialogHeader, ez as NmDialogTitle, JR as NmDialogTrigger, TB as NmDrawer, DB as NmDrawerClose, OB as NmDrawerContent, MB as NmDrawerDescription, AB as NmDrawerFooter, kB as NmDrawerHeader, jB as NmDrawerTitle, EB as NmDrawerTrigger, wT as NmDropdown, Kw as NmDropdownBranch, nT as NmDropdownMenu, dT as NmDropdownMenuCheckboxItem, iT as NmDropdownMenuContent, _T as NmDropdownMenuDot, aT as NmDropdownMenuGroup, sT as NmDropdownMenuItem, yT as NmDropdownMenuItems, oT as NmDropdownMenuLabel, fT as NmDropdownMenuRadioGroup, pT as NmDropdownMenuRadioItem, mT as NmDropdownMenuSeparator, hT as NmDropdownMenuShortcut, cT as NmDropdownMenuSub, uT as NmDropdownMenuSubContent, lT as NmDropdownMenuSubTrigger, gT as NmDropdownMenuText, rT as NmDropdownMenuTrigger, eT as NmDropdownOptions, Uw as NmDropdownPanel, XN as NmField, RB as NmFieldContent, VB as NmFieldDescription, HB as NmFieldError, IB as NmFieldGroup, zB as NmFieldLabel, FB as NmFieldLegend, UB as NmFieldSeparator, PB as NmFieldSet, BB as NmFieldTitle, mE as NmFileTree, LB as NmFormField, WB as NmGallery, GB as NmGalleryItem, TT as NmHoverCard, DT as NmHoverCardContent, ET as NmHoverCardTrigger, G as NmIcon, $j as NmIconBorder, hE as NmInlineCitation, mN as NmInput, KB as NmInputGroup, qB as NmInputGroupAddon, YB as NmInputGroupInput, JB as NmInputGroupText, rE as NmItem, XB as NmKbd, ZB as NmKbdGroup, NB as NmLabel, eV as NmListItem, hC as NmLucide, tV as NmMenubar, nV as NmMenubarMenu, rV as NmMenubarTrigger, aE as NmMessage, FT as NmMessageActions, RT as NmMessageMeta, NV as NmModal, PV as NmModalAction, gE as NmModelSelector, xB as NmMonthPicker, FV as NmNativeSelect, LV as NmNativeSelectOptGroup, IV as NmNativeSelectOption, BV as NmPanel, WV as NmPanelActions, tH as NmPanelBar, GV as NmPanelContent, UV as NmPanelDescription, KV as NmPanelFooter, VV as NmPanelHeader, HV as NmPanelTitle, _E as NmPlan, hN as NmPopover, _N as NmPopoverContent, bN as NmPopoverDescription, vN as NmPopoverHeader, yN as NmPopoverTitle, gN as NmPopoverTrigger, OT as NmProgress, wN as NmProse, lH as NmQuestionnaire, vE as NmQueue, uH as NmRadioGroup, dH as NmRadioGroupItem, mH as NmRailIcon, oE as NmReasoning, kN as NmResizeHandle, ZV as NmSegmented, DM as NmSelect, AM as NmSelectContent, MM as NmSelectGroup, jM as NmSelectItem, NM as NmSelectLabel, PM as NmSelectSeparator, OM as NmSelectTrigger, kM as NmSelectValue, dD as NmSeparator, iE as NmSheet, BN as NmSidePanel, VN as NmSidePanelBody, HN as NmSidePanelKinds, IH as NmSidebar, tU as NmSidebarBar, nU as NmSidebarBrand, fU as NmSidebarChevron, GH as NmSidebarContent, pU as NmSidebarDropdownMenu, UH as NmSidebarFooter, KH as NmSidebarGroup, JH as NmSidebarGroupAction, YH as NmSidebarGroupContent, qH as NmSidebarGroupLabel, HH as NmSidebarHeader, VH as NmSidebarInput, BH as NmSidebarInset, XH as NmSidebarMenu, $H as NmSidebarMenuAction, eU as NmSidebarMenuActions, oU as NmSidebarMenuBadge, QH as NmSidebarMenuButton, ZH as NmSidebarMenuItem, cU as NmSidebarMenuSkeleton, lU as NmSidebarMenuSub, dU as NmSidebarMenuSubButton, uU as NmSidebarMenuSubItem, sU as NmSidebarMenuText, FH as NmSidebarProvider, zH as NmSidebarRail, aU as NmSidebarResizer, WH as NmSidebarSeparator, LH as NmSidebarTrigger, RH as NmSidebarTriggerSpace, wH as NmSkeleton, mU as NmSlider, cM as NmSmallIconButton, bE as NmSources, hU as NmSpinner, SE as NmStackTrace, gU as NmStatusBar, _U as NmStatusBarItem, vU as NmStatusBarSpacer, EE as NmSubagent, DE as NmSuggestions, yU as NmSwitch, SU as NmTable, wU as NmTableBody, kU as NmTableCaption, OU as NmTableCell, TU as NmTableFooter, DU as NmTableHead, CU as NmTableHeader, EU as NmTableRow, MU as NmTabs, IU as NmTabsContent, PU as NmTabsList, NU as NmTabsRoot, FU as NmTabsTrigger, yE as NmTask, xE as NmTerminal, CE as NmTestResults, IT as NmTextShimmer, KN as NmTextarea, qN as NmTextareaPanel, CB as NmTimePicker, zU as NmToggle, TE as NmTool, AN as NmToolbar, PN as NmToolbarButton, jN as NmToolbarGroup, FN as NmToolbarInput, MN as NmToolbarSeparator, NN as NmToolbarSpacer, EH as NmTooltip, OH as NmTooltipContent, TH as NmTooltipProvider, DH as NmTooltipTrigger, HU as NmTopBar, HT as NmTrace, ZT as NmTraceBadge, XT as NmTraceBadges, UT as NmTraceCollapsible, GT as NmTraceCollapsibleContent, WT as NmTraceCollapsibleTrigger, YT as NmTraceDescription, VT as NmTraceGlyph, qT as NmTraceIcon, KT as NmTraceLine, JT as NmTraceTitle, IN as NmWorkspace, RN as NmWorkspaceBody, zN as NmWorkspaceFooter, LN as NmWorkspaceMain, GC as NordmanIconButton, fW as NordmanLogin, $U as NordmanLoginField, aW as NordmanLoginForgot, oW as NordmanLoginGoogle, uW as NordmanLoginHero, tW as NordmanLoginRegister, cW as NordmanLoginReset, QU as NordmanLoginReveal, rW as NordmanLoginSignIn, mW as NordmanToggle, TG as applyAppearanceState, nG as applyThemePresetPalette, wG as clearAppliedAppearance, kz as contrastRatio, JW as createDefaultAppearanceState, tB as defaultThemePresetId, bG as deriveAppearanceTokens, bw as dropdownBranchPath, Vw as dropdownPortalHost, qw as findDropdownItem, eB as findThemePreset, pC as hasNmLucide, Az as hexToHsl, Tz as hexToRgbTriplet, jz as hslToHex, Cz as isHexColor, vw as isNmDropdownSeparator, fC as isNmIconAnimated, tG as mergeThemePresetColors, Dz as mixHex, Sw as nextExpandedBranches, cw as nmAiTraceStatus, DC as nmButtonClassName, IC as nmChatboxActionButtonClassName, F as nmClass, yw as nmDropdownSeparator, Iw as nmDropdownViewportMaxHeight, wW as nmFade, tw as nmHighlightedLines, FC as nmIconButtonClassName, SW as nmSettleSeconds, wz as normalizeHexColor, xw as openDropdownBranch, YW as paletteForPreset, QW as parseAppearanceState, Lw as placeNmDropdownPanel, Rw as placeNmDropdownRowPanel, zw as placeNmDropdownSubpanel, EG as readCssLengthPx, DG as readNmRailRowStridePx, $W as readStoredAppearanceState, uG as resolveAccentHex, qW as resolveAppearanceScheme, xG as themeModeFromAppearance, eD as useBarOverflow, TW as useNmFade, MH as useOptionalSidebar, OV as useReportSaveDirty, NH as useSidebar, jH as useSidebarVisible, kV as useTrackSave, eG as writeStoredAppearanceState };
|