@talogic/react 0.6.3 → 0.7.0

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/index.js CHANGED
@@ -1,20 +1,20 @@
1
1
  import { clsx as e } from "clsx";
2
2
  import { twMerge as t } from "tailwind-merge";
3
3
  import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
4
- import { Accordion as a, AlertDialog as o, Avatar as s, Checkbox as c, Collapsible as l, ContextMenu as u, Dialog as d, DropdownMenu as f, Label as p, Menubar as m, NavigationMenu as h, Popover as g, Progress as _, RadioGroup as v, ScrollArea as y, Select as b, Separator as ee, Slider as x, Slot as S, Switch as te, Tabs as C, ToggleGroup as ne, Tooltip as w } from "radix-ui";
5
- import { cva as re } from "class-variance-authority";
6
- import { Bookmark as ie, Check as T, ChevronDown as ae, ChevronRight as oe, ChevronsLeft as se, ChevronsRight as ce, ChevronsUpDown as le, CircleCheck as ue, Ellipsis as de, Info as fe, LoaderCircle as pe, Mic as me, Minus as he, PanelLeft as ge, Pause as _e, Play as ve, Plus as ye, Search as E, Square as be, TriangleAlert as xe, X as D } from "lucide-react";
7
- import { cloneElement as Se, createContext as Ce, isValidElement as we, useCallback as Te, useContext as Ee, useEffect as O, useId as De, useRef as Oe, useState as k, useSyncExternalStore as ke } from "react";
8
- import { Toaster as Ae } from "sonner";
9
- import { Group as je, Panel as Me, Separator as Ne } from "react-resizable-panels";
10
- import { Drawer as A } from "vaul";
11
- import { Command as j } from "cmdk";
4
+ import { Accordion as a, AlertDialog as o, Avatar as s, Checkbox as c, Collapsible as l, ContextMenu as u, Dialog as d, DropdownMenu as f, Label as p, Menubar as m, NavigationMenu as h, Popover as g, Portal as _, Progress as v, RadioGroup as y, ScrollArea as b, Select as x, Separator as ee, Slider as S, Slot as C, Switch as w, Tabs as T, ToggleGroup as E, Tooltip as D } from "radix-ui";
5
+ import { cva as O } from "class-variance-authority";
6
+ import { Ban as te, Bookmark as ne, Check as k, ChevronDown as re, ChevronRight as ie, ChevronsLeft as A, ChevronsRight as ae, ChevronsUpDown as oe, CircleCheck as se, Ellipsis as ce, Info as j, LoaderCircle as le, Mic as M, Minus as ue, PanelLeft as de, Pause as fe, Play as pe, Plus as me, Search as he, Square as ge, TriangleAlert as _e, Upload as ve, X as N } from "lucide-react";
7
+ import { cloneElement as ye, createContext as be, isValidElement as xe, useCallback as Se, useContext as Ce, useEffect as P, useId as we, useLayoutEffect as Te, useRef as F, useState as I, useSyncExternalStore as Ee } from "react";
8
+ import { Drawer as L } from "vaul";
9
+ import { Command as R } from "cmdk";
10
+ import { Toaster as De } from "sonner";
11
+ import { Group as Oe, Panel as ke, Separator as Ae } from "react-resizable-panels";
12
12
  // src/class-names/class-names.algorithm.ts
13
- function M(...n) {
13
+ function z(...n) {
14
14
  return t(e(n));
15
15
  }
16
16
  // src/product/product-catalogue.content.ts
17
- var N = {
17
+ var B = {
18
18
  talogic: {
19
19
  name: "Talogic",
20
20
  tagline: "Human focused automations.",
@@ -54,7 +54,7 @@ var N = {
54
54
  logoColor: "#3e63dd",
55
55
  logoAccents: ["#e5484d", "#30a46c"]
56
56
  }
57
- }, Pe = {
57
+ }, je = {
58
58
  talogic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3ccircle%20cx='4266.667'%20cy='4266.667'%20r='4266.667'%20fill='%23753edd'/%3e%3cpath%20d='M6239.492,7179.279c-587.992,403.439%20-1284.858,619.682%20-1998.46,619.682c-1937.781,0%20-3532.333,-1594.553%20-3532.333,-3532.333c0,-1937.781%201594.553,-3532.333%203532.333,-3532.333c1593.826,-0%202999.58,1078.727%203412.017,2618.266c53.557,199.918%20-65.269,405.709%20-265.188,459.266c-199.918,53.557%20-405.709,-65.269%20-459.266,-265.188c-324.867,-1212.657%20-1432.145,-2062.344%20-2687.563,-2062.344c-1526.343,-0%20-2782.333,1255.99%20-2782.333,2782.333c0,1526.343%201255.99,2782.333%202782.333,2782.333c559.652,0%201106.236,-168.857%201568.116,-483.988l-249.007,-355.451l1686.002,-207.645l-771.521,1513.043l-235.13,-335.642Zm-3156.366,-3334.215c39.357,-108.037%20159.021,-163.797%20267.058,-124.44c108.037,39.357%20163.797,159.021%20124.44,267.058c-32.594,89.472%20-49.269,183.965%20-49.269,279.189c0,447.461%20368.205,815.667%20815.667,815.667c447.461,0%20815.667,-368.205%20815.667,-815.667c0,-291.052%20-155.783,-560.872%20-407.844,-706.394c-99.578,-57.49%20-133.749,-185.009%20-76.26,-284.587c57.49,-99.578%20185.009,-133.749%20284.587,-76.26c380.821,219.859%20616.183,627.511%20616.183,1067.242c0,676.038%20-556.295,1232.333%20-1232.333,1232.333c-676.038,0%20-1232.333,-556.295%20-1232.333,-1232.333c0,-143.867%2025.193,-286.63%2074.437,-421.807Zm3319.934,1203.659c-55.039,151.274%20-222.539,229.404%20-373.813,174.364c-151.274,-55.039%20-229.404,-222.539%20-174.364,-373.813c68.47,-188.186%20103.497,-386.907%20103.497,-587.163c0,-942.081%20-775.215,-1717.296%20-1717.296,-1717.296c-942.081,0%20-1717.296,775.215%20-1717.296,1717.296c0,612.741%20327.944,1180.786%20858.578,1487.182c139.405,80.494%20187.233,259.024%20106.739,398.429c-80.494,139.405%20-259.024,187.233%20-398.429,106.739c-710.881,-410.472%20-1150.221,-1171.472%20-1150.221,-1992.349c0,-1262.088%201038.541,-2300.629%202300.629,-2300.629c1262.088,0%202300.629,1038.541%202300.629,2300.629c0,268.278%20-46.926,534.501%20-138.654,786.611Zm-2172.051,-1208.724c229.965,0%20416.667,186.702%20416.667,416.667c0,229.965%20-186.702,416.667%20-416.667,416.667c-229.965,0%20-416.667,-186.702%20-416.667,-416.667c0,-229.965%20186.702,-416.667%20416.667,-416.667Z'%20fill='%23fff'/%3e%3c/svg%3e" },
59
59
  pargic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3cpath%20d='M8350.618,5542.197c-16.744,53.324%20-34,106.427%20-51.758,159.296c-44.706,128.857%20-95.419,254.916%20-151.804,377.842l-1503.884,-488.642l-256.17,788.41l-1812.022,-1974.821l2626.74,-532.622l-256.169,788.407l1504.03,488.689c-26.854,133.499%20-59.948,264.752%20-98.963,393.441Zm-8116.145,159.296c-17.758,-52.869%20-35.014,-105.971%20-51.758,-159.296c-39.015,-128.688%20-72.108,-259.939%20-98.962,-393.437l1504.031,-488.689l-256.17,-788.41l2626.728,532.584l-1812.01,1974.86l-256.169,-788.407l-1503.884,488.641c-56.385,-122.927%20-107.099,-248.988%20-151.806,-377.846Zm1936.602,-5114.117l929.208,1278.945l670.662,-487.264l305.186,2662.744l-2438.145,-1113.059l670.659,-487.262l-928.662,-1278.193c239.997,-220.72%20505.322,-414.318%20791.092,-575.911Zm4982.272,575.908l-928.662,1278.194l670.662,487.264l-2438.112,1113.082l305.153,-2662.768l670.659,487.262l929.208,-1278.945c285.77,161.593%20551.095,355.19%20791.092,575.91Zm-3375.938,7379.666l0,-1581.091l-828.984,0l1318.221,-2333.589l1318.261,2333.589l-828.98,0l0,1581.091c-160.561,18.364%20-323.818,27.801%20-489.261,27.801c-165.442,0%20-328.698,-9.437%20-489.257,-27.801Z'%20fill='%23dd773e'/%3e%3c/svg%3e" },
60
60
  daygic: { light: "data:image/svg+xml,%3csvg%20viewBox='0%200%208534%208534'%20xmlns='http://www.w3.org/2000/svg'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2'%3e%3cpath%20d='M4266.667,0c513.234,0%20929.915,416.681%20929.915,929.915l0,1969.231c0,513.234%20-416.681,929.915%20-929.915,929.915c-513.234,0%20-929.915,-416.681%20-929.915,-929.915l0,-1969.231c0,-513.234%20416.681,-929.915%20929.915,-929.915Zm3884.531,2899.145c256.617,444.474%20104.101,1013.67%20-340.372,1270.287l-1136.936,656.41c-444.474,256.617%20-1013.67,104.101%20-1270.287,-340.372c-256.617,-444.474%20-104.101,-1013.67%20340.372,-1270.287l1136.936,-656.41c444.474,-256.617%201013.67,-104.101%201270.287,340.372Zm-568.468,4157.265c-256.617,444.474%20-825.813,596.989%20-1270.287,340.372l-568.468,-328.205c-444.474,-256.617%20-596.989,-825.813%20-340.372,-1270.287c256.617,-444.474%20825.813,-596.989%201270.287,-340.372l568.468,328.205c444.474,256.617%20596.989,825.813%20340.372,1270.287Zm-3316.063,1476.923c-513.234,0%20-929.915,-416.681%20-929.915,-929.915l0,-218.803c0,-513.234%20416.681,-929.915%20929.915,-929.915c513.234,0%20929.915,416.681%20929.915,929.915l0,218.803c0,513.234%20-416.681,929.915%20-929.915,929.915Zm-3316.063,-1476.923c-256.617,-444.474%20-104.101,-1013.67%20340.372,-1270.287l568.468,-328.205c444.474,-256.617%201013.67,-104.101%201270.287,340.372c256.617,444.474%20104.101,1013.67%20-340.372,1270.287l-568.468,328.205c-444.474,256.617%20-1013.67,104.101%20-1270.287,-340.372Zm-568.468,-4157.265c256.617,-444.474%20825.813,-596.989%201270.287,-340.372l1136.936,656.41c444.474,256.617%20596.989,825.813%20340.372,1270.287c-256.617,444.474%20-825.813,596.989%20-1270.287,340.372l-1136.936,-656.41c-444.474,-256.617%20-596.989,-825.813%20-340.372,-1270.287Z'%20fill='%23c8902e'/%3e%3ccircle%20cx='4266.667'%20cy='5141.88'%20r='984.615'%20fill='%239a6a1c'/%3e%3c/svg%3e" },
@@ -68,19 +68,19 @@ var N = {
68
68
  dark: "data:image/svg+xml,%3c?xml%20version='1.0'%20encoding='UTF-8'%20standalone='no'?%3e%3c!DOCTYPE%20svg%20PUBLIC%20'-//W3C//DTD%20SVG%201.1//EN'%20'http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd'%3e%3csvg%20width='100%25'%20height='100%25'%20viewBox='0%200%208534%208534'%20version='1.1'%20xmlns='http://www.w3.org/2000/svg'%20xmlns:xlink='http://www.w3.org/1999/xlink'%20xml:space='preserve'%20xmlns:affinity='https://www.affinity.studio/'%20style='fill-rule:evenodd;clip-rule:evenodd;stroke-linejoin:round;stroke-miterlimit:2;'%3e%3crect%20id='loomgic-symbol-dark'%20x='0'%20y='0'%20width='8533.333'%20height='8533.333'%20style='fill:none;'/%3e%3cclipPath%20id='_clip1'%3e%3crect%20x='0'%20y='0'%20width='8533.333'%20height='8533.333'/%3e%3c/clipPath%3e%3cg%20clip-path='url(%23_clip1)'%3e%3cpath%20d='M7950,3683.287c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-7366.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l7366.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M6062.5,474.953c321.95,0%20583.333,261.383%20583.333,583.333l0,6416.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l-0,-6416.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%233e63dd;'/%3e%3cpath%20d='M2470.833,474.953c321.95,0%20583.333,261.383%20583.333,583.333l0,6416.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l-0,-6416.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%23e5484d;'/%3e%3cpath%20d='M7475,1887.453c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-6416.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l6416.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M7475,5479.12c321.95,0%20583.333,261.383%20583.333,583.333c0,321.95%20-261.383,583.333%20-583.333,583.333l-6416.667,0c-321.95,0%20-583.333,-261.383%20-583.333,-583.333c0,-321.95%20261.383,-583.333%20583.333,-583.333l6416.667,0Z'%20style='fill:%23979797;'/%3e%3cpath%20d='M4266.667,-0.047c321.95,0%20583.333,261.383%20583.333,583.333l0,7366.667c0,321.95%20-261.383,583.333%20-583.333,583.333c-321.95,0%20-583.333,-261.383%20-583.333,-583.333l0,-7366.667c0,-321.95%20261.383,-583.333%20583.333,-583.333Z'%20style='fill:%2330a46c;'/%3e%3crect%20x='3365.106'%20y='3683.287'%20width='1799.257'%20height='1166.667'%20style='fill:%23979797;'/%3e%3c/g%3e%3c/svg%3e"
69
69
  }
70
70
  };
71
- function P({ product: e, alt: t = N[e].name, className: a, ...o }) {
72
- let { light: s, dark: c } = Pe[e], l = M("size-6 shrink-0 object-contain", a);
71
+ function V({ product: e, alt: t = B[e].name, className: a, ...o }) {
72
+ let { light: s, dark: c } = je[e], l = z("size-6 shrink-0 object-contain", a);
73
73
  return c ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r("img", {
74
74
  "data-slot": "product-logo",
75
75
  src: s,
76
76
  alt: t,
77
- className: M(l, "dark:hidden"),
77
+ className: z(l, "dark:hidden"),
78
78
  ...o
79
79
  }), /* @__PURE__ */ r("img", {
80
80
  "data-slot": "product-logo",
81
81
  src: c,
82
82
  alt: t,
83
- className: M(l, "hidden dark:block"),
83
+ className: z(l, "hidden dark:block"),
84
84
  ...o
85
85
  })] }) : /* @__PURE__ */ r("img", {
86
86
  "data-slot": "product-logo",
@@ -91,7 +91,7 @@ function P({ product: e, alt: t = N[e].name, className: a, ...o }) {
91
91
  });
92
92
  }
93
93
  // src/tokens/apca-contrast.algorithm.ts
94
- var F = {
94
+ var H = {
95
95
  mainTrc: 2.4,
96
96
  red: .2126729,
97
97
  green: .7151522,
@@ -106,8 +106,8 @@ var F = {
106
106
  lowOffset: .027,
107
107
  deltaYMin: 5e-4,
108
108
  lowClip: .1
109
- }, Fe = ["#14121a", "#ffffff"];
110
- function Ie(e) {
109
+ }, Me = ["#14121a", "#ffffff"];
110
+ function Ne(e) {
111
111
  let t = e.replace("#", "").trim(), n = t.length === 3 ? [...t].map((e) => e.repeat(2)).join("") : t;
112
112
  if (!/^[\da-f]{6}$/i.test(n)) throw RangeError(`Not a hex colour: ${e}`);
113
113
  return [
@@ -116,32 +116,32 @@ function Ie(e) {
116
116
  4
117
117
  ].map((e) => Number.parseInt(n.slice(e, e + 2), 16));
118
118
  }
119
- function Le(e) {
120
- let [t, n, r] = Ie(e).map((e) => (e / 255) ** F.mainTrc), i = F.red * t + F.green * n + F.blue * r;
121
- return i < F.blackThresh ? i + (F.blackThresh - i) ** F.blackClamp : i;
119
+ function Pe(e) {
120
+ let [t, n, r] = Ne(e).map((e) => (e / 255) ** H.mainTrc), i = H.red * t + H.green * n + H.blue * r;
121
+ return i < H.blackThresh ? i + (H.blackThresh - i) ** H.blackClamp : i;
122
122
  }
123
- function Re(e, t) {
124
- let n = Le(e), r = Le(t);
125
- if (Math.abs(r - n) < F.deltaYMin) return 0;
123
+ function Fe(e, t) {
124
+ let n = Pe(e), r = Pe(t);
125
+ if (Math.abs(r - n) < H.deltaYMin) return 0;
126
126
  if (r > n) {
127
- let e = (r ** F.normBg - n ** F.normText) * F.scale;
128
- return e < F.lowClip ? 0 : (e - F.lowOffset) * 100;
127
+ let e = (r ** H.normBg - n ** H.normText) * H.scale;
128
+ return e < H.lowClip ? 0 : (e - H.lowOffset) * 100;
129
129
  }
130
- let i = (r ** F.revBg - n ** F.revText) * F.scale;
131
- return i > -F.lowClip ? 0 : (i + F.lowOffset) * 100;
130
+ let i = (r ** H.revBg - n ** H.revText) * H.scale;
131
+ return i > -H.lowClip ? 0 : (i + H.lowOffset) * 100;
132
132
  }
133
- function ze(e, t = Fe) {
133
+ function Ie(e, t = Me) {
134
134
  let n = t[0];
135
135
  if (n === void 0) throw RangeError("No label colour to choose from");
136
- let r = Math.abs(Re(n, e));
136
+ let r = Math.abs(Fe(n, e));
137
137
  for (let i of t.slice(1)) {
138
- let t = Math.abs(Re(i, e));
138
+ let t = Math.abs(Fe(i, e));
139
139
  t > r && (n = i, r = t);
140
140
  }
141
141
  return n;
142
142
  }
143
143
  // src/tokens/hue-fill.style.ts
144
- var I = {
144
+ var U = {
145
145
  red: "bg-red-500",
146
146
  orange: "bg-orange-500",
147
147
  amber: "bg-amber-500",
@@ -154,7 +154,7 @@ var I = {
154
154
  violet: "bg-violet-500",
155
155
  purple: "bg-purple-500",
156
156
  pink: "bg-pink-500"
157
- }, Be = {
157
+ }, Le = {
158
158
  red: {
159
159
  50: "#fef4f3",
160
160
  100: "#fee9e7",
@@ -311,24 +311,24 @@ var I = {
311
311
  900: "#531b39",
312
312
  950: "#331123"
313
313
  }
314
- }, L = {
314
+ }, W = {
315
315
  saturation: .7,
316
316
  lightness: .55,
317
317
  maxOklchLightness: .7,
318
318
  lightnessStep: .005
319
319
  };
320
- function Ve(e) {
320
+ function Re(e) {
321
321
  return [
322
322
  1,
323
323
  3,
324
324
  5
325
325
  ].map((t) => Number.parseInt(e.slice(t, t + 2), 16) / 255);
326
326
  }
327
- function He(e) {
328
- let [t, n, r] = Ve(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
327
+ function ze(e) {
328
+ let [t, n, r] = Re(e), i = Math.max(t, n, r), a = i - Math.min(t, n, r);
329
329
  return a === 0 ? 0 : ((i === t ? (n - r) / a % 6 : i === n ? (r - t) / a + 2 : (t - n) / a + 4) * 60 + 360) % 360;
330
330
  }
331
- function Ue(e, t, n) {
331
+ function Be(e, t, n) {
332
332
  let r = (1 - Math.abs(2 * n - 1)) * t, i = r * (1 - Math.abs(e / 60 % 2 - 1)), a = n - r / 2, o = Math.floor(e / 60) % 6;
333
333
  return `#${([
334
334
  [
@@ -367,24 +367,24 @@ function Ue(e, t, n) {
367
367
  0
368
368
  ]).map((e) => Math.round((e + a) * 255).toString(16).padStart(2, "0")).join("")}`;
369
369
  }
370
- function We(e) {
371
- let [t, n, r] = Ve(e).map((e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4), i = Math.cbrt(.4122214708 * t + .5363325363 * n + .0514459929 * r), a = Math.cbrt(.2119034982 * t + .6806995451 * n + .1073969566 * r), o = Math.cbrt(.0883024619 * t + .2817188376 * n + .6299787005 * r);
370
+ function Ve(e) {
371
+ let [t, n, r] = Re(e).map((e) => e <= .04045 ? e / 12.92 : ((e + .055) / 1.055) ** 2.4), i = Math.cbrt(.4122214708 * t + .5363325363 * n + .0514459929 * r), a = Math.cbrt(.2119034982 * t + .6806995451 * n + .1073969566 * r), o = Math.cbrt(.0883024619 * t + .2817188376 * n + .6299787005 * r);
372
372
  return .2104542553 * i + .793617785 * a - .0040720468 * o;
373
373
  }
374
- function Ge(e) {
375
- let t = He(Be[e][500]), n = L.lightness, r = Ue(t, L.saturation, n);
376
- for (; We(r) > L.maxOklchLightness;) n -= L.lightnessStep, r = Ue(t, L.saturation, n);
374
+ function He(e) {
375
+ let t = ze(Le[e][500]), n = W.lightness, r = Be(t, W.saturation, n);
376
+ for (; Ve(r) > W.maxOklchLightness;) n -= W.lightnessStep, r = Be(t, W.saturation, n);
377
377
  return r;
378
378
  }
379
379
  // src/tokens/product-hue.policy.ts
380
- var Ke = {
380
+ var Ue = {
381
381
  talogic: "violet",
382
382
  pargic: "orange",
383
383
  daygic: "amber",
384
384
  ingic: "blue",
385
385
  loregic: "green",
386
386
  loomgic: "blue"
387
- }, qe = [
387
+ }, We = [
388
388
  "lime",
389
389
  "teal",
390
390
  "cyan",
@@ -392,18 +392,18 @@ var Ke = {
392
392
  "purple",
393
393
  "pink"
394
394
  ];
395
- function Je(e) {
396
- return Ke[e];
395
+ function Ge(e) {
396
+ return Ue[e];
397
397
  }
398
398
  // src/tokens/theme.contract.ts
399
- var Ye = [
399
+ var Ke = [
400
400
  "talogic",
401
401
  "pargic",
402
402
  "daygic",
403
403
  "ingic",
404
404
  "loregic",
405
405
  "loomgic"
406
- ], Xe = [
406
+ ], qe = [
407
407
  "red",
408
408
  "orange",
409
409
  "amber",
@@ -416,7 +416,7 @@ var Ye = [
416
416
  "violet",
417
417
  "purple",
418
418
  "pink"
419
- ], Ze = [
419
+ ], Je = [
420
420
  "50",
421
421
  "100",
422
422
  "200",
@@ -428,56 +428,56 @@ var Ye = [
428
428
  "800",
429
429
  "900",
430
430
  "950"
431
- ], Qe = [
431
+ ], Ye = [
432
432
  "web",
433
433
  "app",
434
434
  "desk",
435
435
  "mob"
436
- ], $e = ["light", "dark"];
436
+ ], Xe = ["light", "dark"];
437
437
  // src/tokens/theme-attributes.mapper.ts
438
- function et(e) {
438
+ function Ze(e) {
439
439
  let t = { className: [e.scheme === "dark" ? "dark" : "", e.density ? `d-${e.density}` : ""].filter(Boolean).join(" ") };
440
440
  return e.product && (t["data-product"] = e.product), e.hue && (t["data-hue"] = e.hue), t;
441
441
  }
442
442
  // src/tokens/theme-root.component.tsx
443
- function tt({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
- let { className: c, ...l } = et({
443
+ function Qe({ product: e, hue: t, scheme: n, density: i, asChild: a = !1, className: o, ...s }) {
444
+ let { className: c, ...l } = Ze({
445
445
  product: e,
446
446
  hue: t,
447
447
  scheme: n,
448
448
  density: i
449
- }), u = a ? S.Root : "div";
449
+ }), u = a ? C.Root : "div";
450
450
  return /* @__PURE__ */ r(u, {
451
451
  "data-slot": "theme-root",
452
- className: M(c, o),
452
+ className: z(c, o),
453
453
  ...l,
454
454
  ...s
455
455
  });
456
456
  }
457
457
  // src/ui/avatar/avatar.component.tsx
458
- function nt({ className: e, ...t }) {
458
+ function $e({ className: e, ...t }) {
459
459
  return /* @__PURE__ */ r(s.Root, {
460
460
  "data-slot": "avatar",
461
- className: M("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
461
+ className: z("relative flex size-8 shrink-0 overflow-hidden rounded-full", e),
462
462
  ...t
463
463
  });
464
464
  }
465
- function rt({ className: e, ...t }) {
465
+ function et({ className: e, ...t }) {
466
466
  return /* @__PURE__ */ r(s.Image, {
467
467
  "data-slot": "avatar-image",
468
- className: M("aspect-square size-full object-cover", e),
468
+ className: z("aspect-square size-full object-cover", e),
469
469
  ...t
470
470
  });
471
471
  }
472
- function it({ className: e, ...t }) {
472
+ function tt({ className: e, ...t }) {
473
473
  return /* @__PURE__ */ r(s.Fallback, {
474
474
  "data-slot": "avatar-fallback",
475
- className: M("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
475
+ className: z("flex size-full items-center justify-center rounded-full bg-brand-soft text-xs font-semibold text-brand-text", e),
476
476
  ...t
477
477
  });
478
478
  }
479
479
  // src/ui/badge/badge.recipe.ts
480
- var at = re("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowrap rounded-full border border-transparent px-2 text-xs font-medium [&_svg]:size-3", {
480
+ var nt = O("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-nowrap rounded-full border border-transparent px-2 text-xs font-medium [&_svg]:size-3", {
481
481
  variants: { variant: {
482
482
  default: "bg-primary text-primary-foreground",
483
483
  secondary: "bg-secondary text-secondary-foreground",
@@ -491,10 +491,10 @@ var at = re("inline-flex h-[22px] shrink-0 items-center gap-[5px] whitespace-now
491
491
  defaultVariants: { variant: "default" }
492
492
  });
493
493
  // src/ui/badge/badge.component.tsx
494
- function R({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
494
+ function G({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
495
495
  return /* @__PURE__ */ i("span", {
496
496
  "data-slot": "badge",
497
- className: M(at({ variant: t }), e),
497
+ className: z(nt({ variant: t }), e),
498
498
  ...o,
499
499
  children: [n && /* @__PURE__ */ r("span", {
500
500
  "aria-hidden": "true",
@@ -503,7 +503,7 @@ function R({ className: e, variant: t, dot: n = !1, children: a, ...o }) {
503
503
  });
504
504
  }
505
505
  // src/ui/button/button.recipe.ts
506
- var z = re([
506
+ var K = O([
507
507
  "inline-flex shrink-0 cursor-pointer items-center justify-center gap-2 whitespace-nowrap rounded-md border border-transparent font-medium no-underline",
508
508
  "transition-[background-color,border-color,box-shadow,color] duration-150 ease-out outline-none motion-reduce:transition-none",
509
509
  "focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:ring-offset-background",
@@ -537,29 +537,29 @@ var z = re([
537
537
  }
538
538
  });
539
539
  // src/ui/button/button.component.tsx
540
- function B({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
541
- let d = o ? S.Root : "button";
540
+ function q({ className: e, variant: t, size: a, asChild: o = !1, loading: s = !1, disabled: c = s, children: l, ...u }) {
541
+ let d = o ? C.Root : "button";
542
542
  return /* @__PURE__ */ r(d, {
543
543
  "data-slot": "button",
544
- className: M(z({
544
+ className: z(K({
545
545
  variant: t,
546
546
  size: a
547
547
  }), e),
548
548
  disabled: o ? void 0 : c,
549
549
  "aria-busy": s || void 0,
550
550
  ...u,
551
- children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(pe, {
551
+ children: s && !o ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(le, {
552
552
  className: "animate-spin",
553
553
  "aria-hidden": "true"
554
554
  }), l] }) : l
555
555
  });
556
556
  }
557
557
  // src/ui/choice/checkbox.component.tsx
558
- var ot = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2.4] transition-[stroke-dashoffset] ease-emphasised motion-reduce:transition-none";
559
- function V({ className: e, ...t }) {
558
+ var rt = "fill-none stroke-current [stroke-dasharray:1] [stroke-linecap:round] [stroke-linejoin:round] [stroke-width:2.4] transition-[stroke-dashoffset] ease-emphasised motion-reduce:transition-none";
559
+ function it({ className: e, ...t }) {
560
560
  return /* @__PURE__ */ r(c.Root, {
561
561
  "data-slot": "checkbox",
562
- className: M("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary", e),
562
+ className: z("peer group/checkbox grid size-4 shrink-0 cursor-pointer place-content-center rounded-[4px] border border-input bg-background text-primary-foreground shadow-xs outline-none", "transition-[background-color,border-color] duration-150 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary data-[state=indeterminate]:border-primary data-[state=indeterminate]:bg-primary", e),
563
563
  ...t,
564
564
  children: /* @__PURE__ */ r(c.Indicator, {
565
565
  forceMount: !0,
@@ -571,39 +571,39 @@ function V({ className: e, ...t }) {
571
571
  children: [/* @__PURE__ */ r("path", {
572
572
  d: "M3.5 8.5 L6.5 11.5 L12.5 4.5",
573
573
  pathLength: 1,
574
- className: M(ot, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
574
+ className: z(rt, "duration-200 [stroke-dashoffset:1] group-data-[state=checked]/checkbox:[stroke-dashoffset:0]")
575
575
  }), /* @__PURE__ */ r("path", {
576
576
  d: "M4 8 L12 8",
577
577
  pathLength: 1,
578
- className: M(ot, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
578
+ className: z(rt, "duration-200 [stroke-dashoffset:1] group-data-[state=indeterminate]/checkbox:[stroke-dashoffset:0] group-data-[state=indeterminate]/checkbox:delay-75")
579
579
  })]
580
580
  })
581
581
  })
582
582
  });
583
583
  }
584
584
  // src/ui/choice/radio-group.component.tsx
585
- function st({ className: e, ...t }) {
586
- return /* @__PURE__ */ r(v.Root, {
585
+ function at({ className: e, ...t }) {
586
+ return /* @__PURE__ */ r(y.Root, {
587
587
  "data-slot": "radio-group",
588
- className: M("grid gap-2.5", e),
588
+ className: z("grid gap-2.5", e),
589
589
  ...t
590
590
  });
591
591
  }
592
- function ct({ className: e, ...t }) {
593
- return /* @__PURE__ */ r(v.Item, {
592
+ function ot({ className: e, ...t }) {
593
+ return /* @__PURE__ */ r(y.Item, {
594
594
  "data-slot": "radio-group-item",
595
- className: M("peer group/radio grid size-4 shrink-0 cursor-pointer place-content-center rounded-full border border-input bg-background shadow-xs outline-none", "transition-[background-color,border-color] duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary", e),
595
+ className: z("peer group/radio grid size-4 shrink-0 cursor-pointer place-content-center rounded-full border border-input bg-background shadow-xs outline-none", "transition-[background-color,border-color] duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50", "data-[state=checked]:border-primary data-[state=checked]:bg-primary", e),
596
596
  ...t,
597
- children: /* @__PURE__ */ r(v.Indicator, {
597
+ children: /* @__PURE__ */ r(y.Indicator, {
598
598
  forceMount: !0,
599
599
  className: "size-1.5 scale-0 rounded-full bg-primary-foreground opacity-0 transition-[opacity,scale] duration-200 ease-emphasised group-data-[state=checked]/radio:scale-100 group-data-[state=checked]/radio:opacity-100 motion-reduce:transition-none"
600
600
  })
601
601
  });
602
602
  }
603
603
  // src/ui/choice/slider.component.tsx
604
- function lt({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
605
- let [d, f] = k(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
606
- return /* @__PURE__ */ i(x.Root, {
604
+ function st({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100, onPointerDown: s, onPointerMove: c, onPointerUp: l, ...u }) {
605
+ let [d, f] = I(!1), p = (t ?? n ?? [a]).length, m = u["aria-label"];
606
+ return /* @__PURE__ */ i(S.Root, {
607
607
  "data-slot": "slider",
608
608
  value: t,
609
609
  defaultValue: n,
@@ -619,29 +619,29 @@ function lt({ className: e, value: t, defaultValue: n, min: a = 0, max: o = 100,
619
619
  onPointerUp: (e) => {
620
620
  f(!1), l?.(e);
621
621
  },
622
- className: M("group/slider relative flex w-full touch-none select-none items-center data-disabled:opacity-50", "not-data-dragging:[&>span:has([role=slider])]:transition-[left] not-data-dragging:[&>span:has([role=slider])]:duration-200 not-data-dragging:[&>span:has([role=slider])]:ease-emphasised", "motion-reduce:[&>span:has([role=slider])]:transition-none", e),
622
+ className: z("group/slider relative flex w-full touch-none select-none items-center data-disabled:opacity-50", "not-data-dragging:[&>span:has([role=slider])]:transition-[left] not-data-dragging:[&>span:has([role=slider])]:duration-200 not-data-dragging:[&>span:has([role=slider])]:ease-emphasised", "motion-reduce:[&>span:has([role=slider])]:transition-none", e),
623
623
  ...u,
624
- children: [/* @__PURE__ */ r(x.Track, {
624
+ children: [/* @__PURE__ */ r(S.Track, {
625
625
  className: "relative h-1.5 grow overflow-hidden rounded-full bg-muted",
626
- children: /* @__PURE__ */ r(x.Range, { className: "absolute h-full bg-primary transition-[left,right] duration-200 ease-emphasised group-data-dragging/slider:transition-none motion-reduce:transition-none" })
627
- }), Array.from({ length: p }, (e, t) => /* @__PURE__ */ r(x.Thumb, {
626
+ children: /* @__PURE__ */ r(S.Range, { className: "absolute h-full bg-primary transition-[left,right] duration-200 ease-emphasised group-data-dragging/slider:transition-none motion-reduce:transition-none" })
627
+ }), Array.from({ length: p }, (e, t) => /* @__PURE__ */ r(S.Thumb, {
628
628
  "aria-label": m,
629
629
  className: "block size-4 cursor-grab rounded-full border border-primary bg-background shadow-xs outline-none focus-visible:ring-3 focus-visible:ring-ring/25"
630
630
  }, t))]
631
631
  });
632
632
  }
633
633
  // src/ui/choice/switch.component.tsx
634
- function ut({ className: e, ...t }) {
635
- return /* @__PURE__ */ r(te.Root, {
634
+ function ct({ className: e, ...t }) {
635
+ return /* @__PURE__ */ r(w.Root, {
636
636
  "data-slot": "switch",
637
- className: M("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full bg-input p-0.5 outline-none transition-colors duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary", e),
637
+ className: z("peer inline-flex h-5 w-9 shrink-0 cursor-pointer items-center rounded-full bg-input p-0.5 outline-none transition-colors duration-200 motion-reduce:transition-none", "focus-visible:ring-3 focus-visible:ring-ring/25 disabled:cursor-not-allowed disabled:opacity-50 data-[state=checked]:bg-primary", e),
638
638
  ...t,
639
- children: /* @__PURE__ */ r(te.Thumb, { className: "block size-4 rounded-full bg-white shadow-xs transition-transform duration-200 ease-emphasised data-[state=checked]:translate-x-4 motion-reduce:transition-none" })
639
+ children: /* @__PURE__ */ r(w.Thumb, { className: "block size-4 rounded-full bg-white shadow-xs transition-transform duration-200 ease-emphasised data-[state=checked]:translate-x-4 motion-reduce:transition-none" })
640
640
  });
641
641
  }
642
642
  // src/ui/active-indicator/active-indicator.hook.ts
643
- function dt(e) {
644
- let t = Oe(null), n = Oe(void 0), r = Te((r) => {
643
+ function lt(e) {
644
+ let t = F(null), n = F(void 0), r = Se((r) => {
645
645
  if (n.current?.(), n.current = void 0, t.current = r, !r) return;
646
646
  function i() {
647
647
  if (!r) return;
@@ -663,188 +663,70 @@ function dt(e) {
663
663
  a.disconnect(), o.disconnect();
664
664
  };
665
665
  }, [e]);
666
- return O(() => () => n.current?.(), []), r;
666
+ return P(() => () => n.current?.(), []), r;
667
667
  }
668
668
  // src/ui/active-indicator/active-indicator.recipe.ts
669
- var ft = "pointer-events-none absolute left-(--indicator-left) top-(--indicator-top) h-(--indicator-height) w-(--indicator-width) group-data-[indicator=ready]/indicator:transition-[left,top,width,height] group-data-[indicator=ready]/indicator:duration-250 group-data-[indicator=ready]/indicator:ease-emphasised group-data-[indicator=none]/indicator:opacity-0 group-not-data-indicator/indicator:opacity-0 motion-reduce:transition-none";
669
+ var ut = "pointer-events-none absolute left-(--indicator-left) top-(--indicator-top) h-(--indicator-height) w-(--indicator-width) group-data-[indicator=ready]/indicator:transition-[left,top,width,height] group-data-[indicator=ready]/indicator:duration-250 group-data-[indicator=ready]/indicator:ease-emphasised group-data-[indicator=none]/indicator:opacity-0 group-not-data-indicator/indicator:opacity-0 motion-reduce:transition-none";
670
670
  // src/ui/choice/toggle-group.component.tsx
671
- function pt({ className: e, children: t, ...n }) {
672
- let a = dt("[data-state=on]"), o = n.type === "single";
673
- return /* @__PURE__ */ i(ne.Root, {
671
+ function dt({ className: e, children: t, ...n }) {
672
+ let a = lt("[data-state=on]"), o = n.type === "single";
673
+ return /* @__PURE__ */ i(E.Root, {
674
674
  ref: o ? a : void 0,
675
675
  "data-slot": "toggle-group",
676
676
  "data-mode": n.type,
677
- className: M("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
677
+ className: z("group/indicator relative inline-flex w-fit items-center gap-0.5 rounded-md bg-muted p-[3px]", e),
678
678
  ...n,
679
679
  children: [o && /* @__PURE__ */ r("span", {
680
680
  "aria-hidden": "true",
681
681
  "data-slot": "toggle-group-indicator",
682
- className: M(ft, "rounded-sm bg-background shadow-xs")
682
+ className: z(ut, "rounded-sm bg-background shadow-xs")
683
683
  }), t]
684
684
  });
685
685
  }
686
- function mt({ className: e, ...t }) {
687
- return /* @__PURE__ */ r(ne.Item, {
686
+ function ft({ className: e, ...t }) {
687
+ return /* @__PURE__ */ r(E.Item, {
688
688
  "data-slot": "toggle-group-item",
689
- className: M("inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-sm px-3 text-[13px] font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 [&_svg]:size-4", "relative transition-colors duration-150 data-[state=on]:text-foreground motion-reduce:transition-none", "in-data-[mode=multiple]:data-[state=on]:bg-background in-data-[mode=multiple]:data-[state=on]:shadow-xs", e),
690
- ...t
691
- });
692
- }
693
- // src/ui/feedback/alert.component.tsx
694
- var ht = {
695
- info: {
696
- box: "border-border bg-card",
697
- icon: "text-info",
698
- Icon: fe
699
- },
700
- success: {
701
- box: "border-border bg-card",
702
- icon: "text-success",
703
- Icon: ue
704
- },
705
- warning: {
706
- box: "border-[color-mix(in_oklab,var(--warning)_35%,var(--border))] bg-warning-soft",
707
- icon: "text-warning",
708
- Icon: xe
709
- },
710
- danger: {
711
- box: "border-[color-mix(in_oklab,var(--destructive)_40%,var(--border))] bg-destructive-soft",
712
- icon: "text-destructive",
713
- Icon: xe
714
- }
715
- };
716
- function gt({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
717
- let { box: c, icon: l, Icon: u } = ht[e];
718
- return /* @__PURE__ */ i("div", {
719
- "data-slot": "alert",
720
- role: e === "danger" || e === "warning" ? "alert" : "status",
721
- className: M("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
722
- ...s,
723
- children: [/* @__PURE__ */ r("span", {
724
- "aria-hidden": "true",
725
- className: M("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
726
- children: n ?? /* @__PURE__ */ r(u, {})
727
- }), /* @__PURE__ */ i("div", {
728
- className: "flex flex-col gap-0.5",
729
- children: [/* @__PURE__ */ r("p", {
730
- className: "m-0 type-h4",
731
- children: t
732
- }), a && /* @__PURE__ */ r("div", {
733
- className: "text-[13px] text-muted-foreground",
734
- children: a
735
- })]
736
- })]
737
- });
738
- }
739
- // src/ui/feedback/empty-state.component.tsx
740
- function _t({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
741
- return /* @__PURE__ */ i("div", {
742
- "data-slot": "empty-state",
743
- className: M("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
744
- ...s,
745
- children: [
746
- /* @__PURE__ */ r("span", {
747
- "aria-hidden": "true",
748
- className: "grid size-10 place-items-center rounded-[10px] bg-brand-soft text-brand-text [&_svg]:size-5",
749
- children: n ?? /* @__PURE__ */ r(ye, {})
750
- }),
751
- /* @__PURE__ */ r("p", {
752
- className: "m-0 type-h4",
753
- children: e
754
- }),
755
- t && /* @__PURE__ */ r("p", {
756
- className: "m-0 max-w-sm text-[13px] text-muted-foreground",
757
- children: t
758
- }),
759
- a && /* @__PURE__ */ r("div", {
760
- className: "mt-1",
761
- children: a
762
- })
763
- ]
764
- });
765
- }
766
- // src/ui/feedback/progress.component.tsx
767
- function vt({ className: e, value: t, max: n = 100, ...i }) {
768
- let a = t == null ? 0 : Math.min(100, Math.max(0, t / n * 100));
769
- return /* @__PURE__ */ r(_.Root, {
770
- "data-slot": "progress",
771
- value: t,
772
- max: n,
773
- className: M("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
774
- ...i,
775
- children: /* @__PURE__ */ r(_.Indicator, {
776
- className: "h-full rounded-full bg-brand transition-[width]",
777
- style: { width: `${a}%` }
778
- })
779
- });
780
- }
781
- // src/ui/feedback/skeleton.component.tsx
782
- function yt({ className: e, ...t }) {
783
- return /* @__PURE__ */ r("div", {
784
- "data-slot": "skeleton",
785
- "aria-hidden": "true",
786
- className: M("animate-pulse rounded-sm bg-muted", e),
689
+ className: z("inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap rounded-sm px-3 text-[13px] font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:opacity-50 [&_svg]:size-4", "relative transition-colors duration-150 data-[state=on]:text-foreground motion-reduce:transition-none", "in-data-[mode=multiple]:data-[state=on]:bg-background in-data-[mode=multiple]:data-[state=on]:shadow-xs", e),
787
690
  ...t
788
691
  });
789
692
  }
790
- // src/ui/feedback/spinner.component.tsx
791
- function bt({ className: e, label: t = "Loading", ...n }) {
792
- return /* @__PURE__ */ r(pe, {
793
- "data-slot": "spinner",
794
- role: "status",
795
- "aria-label": t,
796
- className: M("size-4 animate-spin text-muted-foreground", e),
797
- ...n
798
- });
799
- }
800
- // src/ui/feedback/toaster.component.tsx
801
- function xt(e) {
802
- return /* @__PURE__ */ r(Ae, {
803
- className: "toaster group",
804
- toastOptions: { classNames: {
805
- toast: "group flex w-[360px] items-start gap-3 rounded-lg border bg-popover px-4 py-3.5 font-sans text-popover-foreground shadow-lg",
806
- title: "text-[15px] font-semibold",
807
- description: "text-[13px] text-muted-foreground",
808
- success: "[&_[data-icon]]:text-success",
809
- error: "[&_[data-icon]]:text-destructive",
810
- info: "[&_[data-icon]]:text-info",
811
- warning: "[&_[data-icon]]:text-warning"
812
- } },
813
- ...e
814
- });
815
- }
816
693
  // src/ui/field/control.recipe.ts
817
- var H = "w-full min-w-0 rounded-md border border-input bg-background text-(length:--control-fs) text-foreground shadow-xs outline-none transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/25 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50", St = Ce(null);
818
- function U(e = {}) {
819
- let t = Ee(St);
694
+ var pt = "w-full min-w-0 rounded-md border border-input bg-background text-(length:--control-fs) text-foreground shadow-xs outline-none transition-[border-color,box-shadow] placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/25 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 disabled:cursor-not-allowed disabled:opacity-50", mt = be(null);
695
+ function J(e = {}) {
696
+ let t = Ce(mt);
820
697
  return t ? {
821
698
  id: e.id ?? t.id,
822
699
  "aria-describedby": e["aria-describedby"] ?? (t.describedBy || void 0),
823
700
  "aria-invalid": e["aria-invalid"] ?? (t.invalid || void 0)
824
701
  } : e;
825
702
  }
703
+ function ht() {
704
+ return Ce(mt)?.labelId;
705
+ }
826
706
  // src/ui/field/label.component.tsx
827
- function Ct({ className: e, ...t }) {
707
+ function gt({ className: e, ...t }) {
828
708
  return /* @__PURE__ */ r(p.Root, {
829
709
  "data-slot": "label",
830
- className: M("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
710
+ className: z("flex select-none items-center gap-2 text-[13px] font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-50", e),
831
711
  ...t
832
712
  });
833
713
  }
834
714
  // src/ui/field/field.component.tsx
835
- function wt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
836
- let c = De(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
837
- return /* @__PURE__ */ r(St, {
715
+ function _t({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
716
+ let c = we(), l = a ?? c, u = t ? `${l}-hint` : "", d = n ? `${l}-error` : "", f = [u, d].filter(Boolean).join(" ");
717
+ return /* @__PURE__ */ r(mt, {
838
718
  value: {
839
719
  id: l,
840
720
  describedBy: f,
841
- invalid: !!n
721
+ invalid: !!n,
722
+ labelId: `${l}-label`
842
723
  },
843
724
  children: /* @__PURE__ */ i("div", {
844
725
  "data-slot": "field",
845
- className: M("flex flex-col gap-1.5", s),
726
+ className: z("flex flex-col gap-1.5", s),
846
727
  children: [
847
- /* @__PURE__ */ r(Ct, {
728
+ /* @__PURE__ */ r(gt, {
729
+ id: `${l}-label`,
848
730
  htmlFor: l,
849
731
  children: e
850
732
  }),
@@ -864,11 +746,11 @@ function wt({ label: e, hint: t, error: n, id: a, children: o, className: s }) {
864
746
  });
865
747
  }
866
748
  // src/ui/field/input.component.tsx
867
- function W({ className: e, startIcon: t, type: n = "text", ...a }) {
868
- let o = U(a), s = /* @__PURE__ */ r("input", {
749
+ function vt({ className: e, startIcon: t, type: n = "text", ...a }) {
750
+ let o = J(a), s = /* @__PURE__ */ r("input", {
869
751
  "data-slot": "input",
870
752
  type: n,
871
- className: M(H, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
753
+ className: z(pt, "h-(--control-h) px-3 file:border-0 file:bg-transparent file:text-sm file:font-medium", t ? "ps-[34px]" : "", e),
872
754
  ...a,
873
755
  ...o
874
756
  });
@@ -882,667 +764,1234 @@ function W({ className: e, startIcon: t, type: n = "text", ...a }) {
882
764
  }) : s;
883
765
  }
884
766
  // src/ui/field/select.component.tsx
885
- var Tt = b.Root, Et = b.Group, Dt = b.Value;
886
- function Ot({ className: e, children: t, ...n }) {
887
- let a = U(n);
888
- return /* @__PURE__ */ i(b.Trigger, {
767
+ var yt = x.Root, bt = x.Group, xt = x.Value;
768
+ function St({ className: e, children: t, ...n }) {
769
+ let a = J(n);
770
+ return /* @__PURE__ */ i(x.Trigger, {
889
771
  "data-slot": "select-trigger",
890
- className: M(H, "flex h-(--control-h) cursor-pointer items-center justify-between gap-2 px-3 text-start data-placeholder:text-muted-foreground [&>span]:truncate", e),
772
+ className: z(pt, "flex h-(--control-h) cursor-pointer items-center justify-between gap-2 px-3 text-start data-placeholder:text-muted-foreground [&>span]:truncate", e),
891
773
  ...n,
892
774
  ...a,
893
- children: [t, /* @__PURE__ */ r(b.Icon, {
775
+ children: [t, /* @__PURE__ */ r(x.Icon, {
894
776
  asChild: !0,
895
- children: /* @__PURE__ */ r(ae, {
777
+ children: /* @__PURE__ */ r(re, {
896
778
  className: "size-4 shrink-0 text-muted-foreground",
897
779
  "aria-hidden": "true"
898
780
  })
899
781
  })]
900
782
  });
901
783
  }
902
- function kt({ className: e, children: t, position: n = "popper", ...i }) {
903
- return /* @__PURE__ */ r(b.Portal, { children: /* @__PURE__ */ r(b.Content, {
784
+ function Ct({ className: e, children: t, position: n = "popper", ...i }) {
785
+ return /* @__PURE__ */ r(x.Portal, { children: /* @__PURE__ */ r(x.Content, {
904
786
  "data-slot": "select-content",
905
787
  position: n,
906
- className: M("relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-hidden rounded-lg border bg-popover text-popover-foreground shadow-md", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", n === "popper" && "w-full min-w-(--radix-select-trigger-width) data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1", e),
788
+ className: z("relative z-50 max-h-(--radix-select-content-available-height) min-w-32 origin-(--radix-select-content-transform-origin) overflow-hidden rounded-lg border bg-popover text-popover-foreground shadow-md", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", n === "popper" && "w-full min-w-(--radix-select-trigger-width) data-[side=bottom]:translate-y-1 data-[side=top]:-translate-y-1", e),
907
789
  ...i,
908
- children: /* @__PURE__ */ r(b.Viewport, {
790
+ children: /* @__PURE__ */ r(x.Viewport, {
909
791
  className: "p-1",
910
792
  children: t
911
793
  })
912
794
  }) });
913
795
  }
914
- function At({ className: e, ...t }) {
915
- return /* @__PURE__ */ r(b.Label, {
796
+ function wt({ className: e, ...t }) {
797
+ return /* @__PURE__ */ r(x.Label, {
916
798
  "data-slot": "select-label",
917
- className: M("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
799
+ className: z("px-2.5 py-1.5 text-xs font-medium text-muted-foreground", e),
918
800
  ...t
919
801
  });
920
802
  }
921
- function jt({ className: e, children: t, ...n }) {
922
- return /* @__PURE__ */ i(b.Item, {
803
+ function Tt({ className: e, children: t, ...n }) {
804
+ return /* @__PURE__ */ i(x.Item, {
923
805
  "data-slot": "select-item",
924
- className: M("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-2.5 pe-8 text-[13.5px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
806
+ className: z("relative flex w-full cursor-default select-none items-center gap-2 rounded-sm py-1.5 ps-2.5 pe-8 text-[13.5px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
925
807
  ...n,
926
- children: [/* @__PURE__ */ r(b.ItemText, { children: t }), /* @__PURE__ */ r("span", {
808
+ children: [/* @__PURE__ */ r(x.ItemText, { children: t }), /* @__PURE__ */ r("span", {
927
809
  className: "absolute end-2 flex size-4 items-center justify-center",
928
- children: /* @__PURE__ */ r(b.ItemIndicator, { children: /* @__PURE__ */ r(T, {
810
+ children: /* @__PURE__ */ r(x.ItemIndicator, { children: /* @__PURE__ */ r(k, {
929
811
  className: "size-4",
930
812
  "aria-hidden": "true"
931
813
  }) })
932
814
  })]
933
815
  });
934
816
  }
935
- function Mt({ className: e, ...t }) {
936
- return /* @__PURE__ */ r(b.Separator, {
817
+ function Et({ className: e, ...t }) {
818
+ return /* @__PURE__ */ r(x.Separator, {
937
819
  "data-slot": "select-separator",
938
- className: M("-mx-1 my-1 h-px bg-border", e),
820
+ className: z("-mx-1 my-1 h-px bg-border", e),
939
821
  ...t
940
822
  });
941
823
  }
942
824
  // src/ui/field/textarea.component.tsx
943
- function Nt({ className: e, ...t }) {
944
- let n = U(t);
825
+ function Dt({ className: e, ...t }) {
826
+ let n = J(t);
945
827
  return /* @__PURE__ */ r("textarea", {
946
828
  "data-slot": "textarea",
947
- className: M(H, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
829
+ className: z(pt, "min-h-20 resize-y px-3 py-2.5 leading-normal", e),
948
830
  ...t,
949
831
  ...n
950
832
  });
951
833
  }
952
- // src/ui/layout/accordion.component.tsx
953
- function Pt({ className: e, ...t }) {
954
- return /* @__PURE__ */ r(a.Root, {
955
- "data-slot": "accordion",
956
- className: M("border-t", e),
834
+ // src/ui/overlay/overlay.recipe.ts
835
+ var Y = "fixed inset-0 z-50 backdrop-blur-[5px] backdrop-contrast-[.5] backdrop-saturate-[.3] backdrop-brightness-[1.3] dark:backdrop-brightness-[.7] data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out", Ot = "data-[state=open]:animate-zoom-in data-[state=delayed-open]:animate-zoom-in data-[state=instant-open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=delayed-open]:animate-fade-in motion-reduce:data-[state=instant-open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", kt = {
836
+ start: "data-[state=open]:animate-sheet-in-start data-[state=closed]:animate-sheet-out-start motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
837
+ end: "data-[state=open]:animate-sheet-in-end data-[state=closed]:animate-sheet-out-end motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
838
+ top: "data-[state=open]:animate-sheet-in-top data-[state=closed]:animate-sheet-out-top motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
839
+ bottom: "data-[state=open]:animate-sheet-in-bottom data-[state=closed]:animate-sheet-out-bottom motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out"
840
+ }, At = o.Root, jt = o.Trigger;
841
+ function Mt({ className: e, ...t }) {
842
+ return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: Y }), /* @__PURE__ */ r(o.Content, {
843
+ "data-slot": "alert-dialog-content",
844
+ className: z("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", Ot, e),
957
845
  ...t
958
- });
846
+ })] });
959
847
  }
960
- function Ft({ className: e, ...t }) {
961
- return /* @__PURE__ */ r(a.Item, {
962
- "data-slot": "accordion-item",
963
- className: M("border-b", e),
848
+ function Nt({ className: e, ...t }) {
849
+ return /* @__PURE__ */ r(o.Title, {
850
+ "data-slot": "alert-dialog-title",
851
+ className: z("m-0 font-display text-lg font-bold leading-tight", e),
964
852
  ...t
965
853
  });
966
854
  }
967
- function It({ className: e, children: t, ...n }) {
968
- return /* @__PURE__ */ r(a.Header, {
969
- className: "m-0 flex",
970
- children: /* @__PURE__ */ i(a.Trigger, {
971
- "data-slot": "accordion-trigger",
972
- className: M("group flex flex-1 cursor-pointer items-center justify-between gap-4 py-3 text-start type-h4 outline-none transition-colors duration-150 hover:text-brand-text focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none", e),
973
- ...n,
974
- children: [t, /* @__PURE__ */ i("svg", {
975
- viewBox: "0 0 16 16",
976
- "aria-hidden": "true",
977
- className: "size-4 shrink-0 text-muted-foreground transition-transform duration-300 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
978
- children: [/* @__PURE__ */ r("rect", {
979
- x: "3",
980
- y: "7.25",
981
- width: "10",
982
- height: "1.5",
983
- rx: "0.75",
984
- fill: "currentColor"
985
- }), /* @__PURE__ */ r("rect", {
986
- x: "7.25",
987
- y: "3",
988
- width: "1.5",
989
- height: "10",
990
- rx: "0.75",
991
- fill: "currentColor",
992
- className: "origin-center transition-[scale] duration-300 ease-emphasised [transform-box:fill-box] group-data-[state=open]:scale-y-0 motion-reduce:transition-none"
993
- })]
994
- })]
995
- })
996
- });
997
- }
998
- function Lt({ className: e, children: t, ...n }) {
999
- return /* @__PURE__ */ r(a.Content, {
1000
- "data-slot": "accordion-content",
1001
- className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
1002
- ...n,
1003
- children: /* @__PURE__ */ r("div", {
1004
- className: M("pb-3", e),
1005
- children: t
1006
- })
855
+ function Pt({ className: e, ...t }) {
856
+ return /* @__PURE__ */ r(o.Description, {
857
+ "data-slot": "alert-dialog-description",
858
+ className: z("m-0 text-sm text-muted-foreground", e),
859
+ ...t
1007
860
  });
1008
861
  }
1009
- // src/ui/layout/card.component.tsx
1010
- function Rt({ className: e, ...t }) {
1011
- return /* @__PURE__ */ r("div", {
1012
- "data-slot": "card",
1013
- className: M("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1014
- ...t
862
+ function Ft({ className: e, variant: t = "default", ...n }) {
863
+ return /* @__PURE__ */ r(o.Action, {
864
+ "data-slot": "alert-dialog-action",
865
+ className: z(K({ variant: t }), e),
866
+ ...n
1015
867
  });
1016
868
  }
1017
- function zt({ className: e, ...t }) {
1018
- return /* @__PURE__ */ r("div", {
1019
- "data-slot": "card-header",
1020
- className: M("flex flex-col gap-1 px-5 pt-5", e),
869
+ function It({ className: e, ...t }) {
870
+ return /* @__PURE__ */ r(o.Cancel, {
871
+ "data-slot": "alert-dialog-cancel",
872
+ className: z(K({ variant: "outline" }), e),
1021
873
  ...t
1022
874
  });
1023
875
  }
1024
- function Bt({ className: e, children: t, ...n }) {
1025
- return /* @__PURE__ */ r("h3", {
1026
- "data-slot": "card-title",
1027
- className: M("m-0 type-h4", e),
1028
- ...n,
1029
- children: t
1030
- });
876
+ // src/ui/overlay/dialog.component.tsx
877
+ var Lt = d.Root, Rt = d.Trigger, zt = d.Close;
878
+ function Bt({ className: e, children: t, showClose: n = !0, ...a }) {
879
+ return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: Y }), /* @__PURE__ */ i(d.Content, {
880
+ "data-slot": "dialog-content",
881
+ className: z("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", Ot, e),
882
+ ...a,
883
+ children: [t, n && /* @__PURE__ */ i(d.Close, {
884
+ className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
885
+ children: [/* @__PURE__ */ r(N, {
886
+ className: "size-4",
887
+ "aria-hidden": "true"
888
+ }), /* @__PURE__ */ r("span", {
889
+ className: "sr-only",
890
+ children: "Close"
891
+ })]
892
+ })]
893
+ })] });
1031
894
  }
1032
895
  function Vt({ className: e, ...t }) {
1033
- return /* @__PURE__ */ r("p", {
1034
- "data-slot": "card-description",
1035
- className: M("m-0 text-[13px] text-muted-foreground", e),
896
+ return /* @__PURE__ */ r("div", {
897
+ "data-slot": "dialog-header",
898
+ className: z("flex flex-col gap-1.5 text-start", e),
1036
899
  ...t
1037
900
  });
1038
901
  }
1039
902
  function Ht({ className: e, ...t }) {
1040
903
  return /* @__PURE__ */ r("div", {
1041
- "data-slot": "card-content",
1042
- className: M("px-5 py-4", e),
904
+ "data-slot": "dialog-footer",
905
+ className: z("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
1043
906
  ...t
1044
907
  });
1045
908
  }
1046
909
  function Ut({ className: e, ...t }) {
1047
- return /* @__PURE__ */ r("div", {
1048
- "data-slot": "card-footer",
1049
- className: M("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
910
+ return /* @__PURE__ */ r(d.Title, {
911
+ "data-slot": "dialog-title",
912
+ className: z("m-0 font-display text-lg font-bold leading-tight", e),
1050
913
  ...t
1051
914
  });
1052
915
  }
1053
- // src/ui/layout/kbd.component.tsx
1054
916
  function Wt({ className: e, ...t }) {
1055
- return /* @__PURE__ */ r("kbd", {
1056
- "data-slot": "kbd",
1057
- className: M("inline-flex h-5 min-w-5 items-center justify-center rounded-[5px] border border-b-2 bg-muted px-1.5 font-mono text-[11px] text-muted-foreground", e),
1058
- ...t
1059
- });
1060
- }
1061
- // src/ui/layout/resizable.component.tsx
1062
- function Gt({ className: e, ...t }) {
1063
- return /* @__PURE__ */ r(je, {
1064
- "data-slot": "resizable-panel-group",
1065
- className: M("flex size-full", e),
917
+ return /* @__PURE__ */ r(d.Description, {
918
+ "data-slot": "dialog-description",
919
+ className: z("m-0 text-sm text-muted-foreground", e),
1066
920
  ...t
1067
921
  });
1068
922
  }
1069
- function Kt(e) {
1070
- return /* @__PURE__ */ r(Me, {
1071
- "data-slot": "resizable-panel",
1072
- ...e
1073
- });
923
+ // src/ui/overlay/drawer.component.tsx
924
+ var Gt = L.Root, Kt = L.Trigger, qt = L.Close;
925
+ function Jt({ className: e, children: t, ...n }) {
926
+ return /* @__PURE__ */ i(L.Portal, { children: [/* @__PURE__ */ r(L.Overlay, { className: Y }), /* @__PURE__ */ i(L.Content, {
927
+ "data-slot": "drawer-content",
928
+ className: z("fixed inset-x-0 bottom-0 z-50 flex max-h-[85vh] flex-col gap-3.5 rounded-t-3xl border-t bg-popover px-5 pt-2.5 pb-8 text-popover-foreground outline-none", e),
929
+ ...n,
930
+ children: [/* @__PURE__ */ r("div", {
931
+ "aria-hidden": "true",
932
+ className: "mx-auto h-[5px] w-10 shrink-0 rounded-full bg-input"
933
+ }), t]
934
+ })] });
1074
935
  }
1075
- function qt({ className: e, ...t }) {
1076
- return /* @__PURE__ */ r(Ne, {
1077
- "data-slot": "resizable-handle",
1078
- className: M("relative flex w-px shrink-0 items-center justify-center bg-border outline-none after:absolute after:inset-y-0 after:start-1/2 after:w-2 after:-translate-x-1/2", "hover:bg-ring focus-visible:bg-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full", e),
936
+ function Yt({ className: e, ...t }) {
937
+ return /* @__PURE__ */ r(L.Title, {
938
+ "data-slot": "drawer-title",
939
+ className: z("m-0 text-xl font-semibold leading-tight", e),
1079
940
  ...t
1080
941
  });
1081
942
  }
1082
- // src/ui/layout/scroll-area.component.tsx
1083
- function Jt({ className: e, children: t, ...n }) {
1084
- return /* @__PURE__ */ i(y.Root, {
1085
- "data-slot": "scroll-area",
1086
- className: M("relative overflow-hidden", e),
1087
- ...n,
1088
- children: [
1089
- /* @__PURE__ */ r(y.Viewport, {
1090
- className: "size-full rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring",
1091
- children: t
1092
- }),
1093
- /* @__PURE__ */ r(Yt, {}),
1094
- /* @__PURE__ */ r(Yt, { orientation: "horizontal" }),
1095
- /* @__PURE__ */ r(y.Corner, {})
1096
- ]
943
+ function Xt({ className: e, ...t }) {
944
+ return /* @__PURE__ */ r(L.Description, {
945
+ "data-slot": "drawer-description",
946
+ className: z("m-0 text-sm text-muted-foreground", e),
947
+ ...t
1097
948
  });
1098
949
  }
1099
- function Yt({ className: e, orientation: t = "vertical", ...n }) {
1100
- return /* @__PURE__ */ r(y.Scrollbar, {
1101
- "data-slot": "scroll-area-scrollbar",
1102
- orientation: t,
1103
- className: M("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1104
- ...n,
1105
- children: /* @__PURE__ */ r(y.Thumb, { className: "relative flex-1 rounded-full bg-input" })
950
+ // src/ui/overlay/portal.component.tsx
951
+ function Zt(e) {
952
+ return /* @__PURE__ */ r(_.Root, {
953
+ "data-slot": "portal",
954
+ ...e
1106
955
  });
1107
956
  }
1108
- // src/ui/layout/separator.component.tsx
1109
- function Xt({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1110
- return /* @__PURE__ */ r(ee.Root, {
1111
- "data-slot": "separator",
1112
- orientation: t,
1113
- decorative: n,
1114
- className: M("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
957
+ // src/ui/overlay/popover.component.tsx
958
+ var Qt = g.Root, $t = g.Trigger, en = g.Anchor;
959
+ function tn({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
960
+ return /* @__PURE__ */ r(g.Portal, { children: /* @__PURE__ */ r(g.Content, {
961
+ "data-slot": "popover-content",
962
+ align: t,
963
+ sideOffset: n,
964
+ className: z("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", Ot, e),
1115
965
  ...i
1116
- });
966
+ }) });
1117
967
  }
1118
- // src/ui/layout/table.component.tsx
1119
- function Zt({ className: e, ...t }) {
1120
- return /* @__PURE__ */ r("div", {
1121
- "data-slot": "table-container",
1122
- className: "relative w-full overflow-x-auto",
1123
- children: /* @__PURE__ */ r("table", {
1124
- "data-slot": "table",
1125
- className: M("w-full caption-bottom border-collapse text-[13px]", e),
1126
- ...t
968
+ // src/ui/overlay/sheet.component.tsx
969
+ var nn = d.Root, rn = d.Trigger, an = d.Close, on = d.Title, sn = d.Description, cn = {
970
+ start: "inset-y-0 start-0 h-full w-3/4 max-w-sm border-e",
971
+ end: "inset-y-0 end-0 h-full w-3/4 max-w-sm border-s",
972
+ top: "inset-x-0 top-0 border-b",
973
+ bottom: "inset-x-0 bottom-0 border-t"
974
+ };
975
+ function ln({ className: e, children: t, side: n = "end", ...a }) {
976
+ return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: Y }), /* @__PURE__ */ i(d.Content, {
977
+ "data-slot": "sheet-content",
978
+ className: z("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", cn[n], kt[n], e),
979
+ ...a,
980
+ children: [t, /* @__PURE__ */ i(d.Close, {
981
+ className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
982
+ children: [/* @__PURE__ */ r(N, {
983
+ className: "size-4",
984
+ "aria-hidden": "true"
985
+ }), /* @__PURE__ */ r("span", {
986
+ className: "sr-only",
987
+ children: "Close"
988
+ })]
989
+ })]
990
+ })] });
991
+ }
992
+ // src/ui/overlay/tooltip.component.tsx
993
+ var un = D.Provider;
994
+ function dn(e) {
995
+ return /* @__PURE__ */ r(D.Provider, {
996
+ delayDuration: 300,
997
+ children: /* @__PURE__ */ r(D.Root, {
998
+ "data-slot": "tooltip",
999
+ ...e
1127
1000
  })
1128
1001
  });
1129
1002
  }
1130
- function Qt(e) {
1131
- return /* @__PURE__ */ r("thead", {
1132
- "data-slot": "table-header",
1133
- ...e
1003
+ var fn = D.Trigger;
1004
+ function pn({ className: e, sideOffset: t = 6, ...n }) {
1005
+ return /* @__PURE__ */ r(D.Portal, { children: /* @__PURE__ */ r(D.Content, {
1006
+ "data-slot": "tooltip-content",
1007
+ sideOffset: t,
1008
+ className: z("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", Ot, e),
1009
+ ...n
1010
+ }) });
1011
+ }
1012
+ // src/ui/menu/menu.recipe.ts
1013
+ var mn = "z-50 min-w-48 overflow-hidden rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", X = "relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-[7px] text-[13.5px] outline-none transition-colors duration-150 motion-reduce:transition-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50 data-[disabled=false]:pointer-events-auto data-[disabled=false]:opacity-100 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:[&_svg]:text-destructive", hn = "ms-auto text-xs tracking-wide text-muted-foreground", gn = "-mx-1 my-1 h-px bg-border", _n = "px-2.5 py-1.5 text-xs font-medium text-muted-foreground";
1014
+ // src/ui/menu/command.component.tsx
1015
+ function vn({ className: e, ...t }) {
1016
+ return /* @__PURE__ */ r(R, {
1017
+ "data-slot": "command",
1018
+ className: z("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1019
+ ...t
1134
1020
  });
1135
1021
  }
1136
- function $t(e) {
1137
- return /* @__PURE__ */ r("tbody", {
1138
- "data-slot": "table-body",
1139
- ...e
1022
+ function yn({ title: e = "Search", children: t, ...n }) {
1023
+ return /* @__PURE__ */ r(d.Root, {
1024
+ ...n,
1025
+ children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: Y }), /* @__PURE__ */ i(d.Content, {
1026
+ className: z("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2", Ot),
1027
+ children: [
1028
+ /* @__PURE__ */ r(d.Title, {
1029
+ className: "sr-only",
1030
+ children: e
1031
+ }),
1032
+ /* @__PURE__ */ r(d.Description, {
1033
+ className: "sr-only",
1034
+ children: "Type to filter the commands."
1035
+ }),
1036
+ /* @__PURE__ */ r(vn, { children: t })
1037
+ ]
1038
+ })] })
1140
1039
  });
1141
1040
  }
1142
- function en({ className: e, ...t }) {
1143
- return /* @__PURE__ */ r("tr", {
1144
- "data-slot": "table-row",
1145
- className: M("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1146
- ...t
1041
+ function bn({ className: e, ...t }) {
1042
+ return /* @__PURE__ */ i("div", {
1043
+ "data-slot": "command-input-wrapper",
1044
+ className: "flex h-11 items-center gap-2 border-b px-3",
1045
+ children: [/* @__PURE__ */ r(he, {
1046
+ className: "size-4 shrink-0 text-muted-foreground",
1047
+ "aria-hidden": "true"
1048
+ }), /* @__PURE__ */ r(R.Input, {
1049
+ "data-slot": "command-input",
1050
+ className: z("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1051
+ ...t
1052
+ })]
1147
1053
  });
1148
1054
  }
1149
- function G({ className: e, ...t }) {
1150
- return /* @__PURE__ */ r("th", {
1151
- "data-slot": "table-head",
1152
- className: M("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1055
+ function xn({ className: e, ...t }) {
1056
+ return /* @__PURE__ */ r(R.List, {
1057
+ "data-slot": "command-list",
1058
+ className: z("max-h-80 overflow-y-auto p-1", e),
1153
1059
  ...t
1154
1060
  });
1155
1061
  }
1156
- function K({ className: e, ...t }) {
1157
- return /* @__PURE__ */ r("td", {
1158
- "data-slot": "table-cell",
1159
- className: M("px-3 py-[11px] align-middle", e),
1062
+ function Sn({ className: e, ...t }) {
1063
+ return /* @__PURE__ */ r(R.Empty, {
1064
+ "data-slot": "command-empty",
1065
+ className: z("py-6 text-center text-sm text-muted-foreground", e),
1160
1066
  ...t
1161
1067
  });
1162
1068
  }
1163
- function tn({ className: e, ...t }) {
1164
- return /* @__PURE__ */ r("caption", {
1165
- "data-slot": "table-caption",
1166
- className: M("mt-3 text-xs text-muted-foreground", e),
1069
+ function Cn({ className: e, ...t }) {
1070
+ return /* @__PURE__ */ r(R.Group, {
1071
+ "data-slot": "command-group",
1072
+ className: z("[&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
1167
1073
  ...t
1168
1074
  });
1169
1075
  }
1170
- // src/ui/overlay/overlay.recipe.ts
1171
- var q = "fixed inset-0 z-50 backdrop-blur-[5px] backdrop-contrast-[.5] backdrop-saturate-[.3] backdrop-brightness-[1.3] dark:backdrop-brightness-[.7] data-[state=open]:animate-fade-in data-[state=closed]:animate-fade-out", J = "data-[state=open]:animate-zoom-in data-[state=delayed-open]:animate-zoom-in data-[state=instant-open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=delayed-open]:animate-fade-in motion-reduce:data-[state=instant-open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", nn = {
1172
- start: "data-[state=open]:animate-sheet-in-start data-[state=closed]:animate-sheet-out-start motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
1173
- end: "data-[state=open]:animate-sheet-in-end data-[state=closed]:animate-sheet-out-end motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
1174
- top: "data-[state=open]:animate-sheet-in-top data-[state=closed]:animate-sheet-out-top motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out",
1175
- bottom: "data-[state=open]:animate-sheet-in-bottom data-[state=closed]:animate-sheet-out-bottom motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out"
1176
- }, rn = o.Root, an = o.Trigger;
1177
- function on({ className: e, ...t }) {
1178
- return /* @__PURE__ */ i(o.Portal, { children: [/* @__PURE__ */ r(o.Overlay, { className: q }), /* @__PURE__ */ r(o.Content, {
1179
- "data-slot": "alert-dialog-content",
1180
- className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-md -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", J, e),
1076
+ function wn({ className: e, ...t }) {
1077
+ return /* @__PURE__ */ r(R.Item, {
1078
+ "data-slot": "command-item",
1079
+ className: z(X, "data-[selected=true]:bg-accent", e),
1181
1080
  ...t
1182
- })] });
1081
+ });
1183
1082
  }
1184
- function sn({ className: e, ...t }) {
1185
- return /* @__PURE__ */ r(o.Title, {
1186
- "data-slot": "alert-dialog-title",
1187
- className: M("m-0 font-display text-lg font-bold leading-tight", e),
1083
+ function Tn({ className: e, ...t }) {
1084
+ return /* @__PURE__ */ r(R.Separator, {
1085
+ "data-slot": "command-separator",
1086
+ className: z(gn, e),
1188
1087
  ...t
1189
1088
  });
1190
1089
  }
1191
- function cn({ className: e, ...t }) {
1192
- return /* @__PURE__ */ r(o.Description, {
1193
- "data-slot": "alert-dialog-description",
1194
- className: M("m-0 text-sm text-muted-foreground", e),
1090
+ function En({ className: e, ...t }) {
1091
+ return /* @__PURE__ */ r("span", {
1092
+ "data-slot": "command-shortcut",
1093
+ className: z(hn, e),
1195
1094
  ...t
1196
1095
  });
1197
1096
  }
1198
- function ln({ className: e, variant: t = "default", ...n }) {
1199
- return /* @__PURE__ */ r(o.Action, {
1200
- "data-slot": "alert-dialog-action",
1201
- className: M(z({ variant: t }), e),
1097
+ // src/ui/menu/context-menu.component.tsx
1098
+ var Dn = u.Root, On = u.Trigger;
1099
+ function kn({ className: e, ...t }) {
1100
+ return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
1101
+ "data-slot": "context-menu-content",
1102
+ className: z(mn, "origin-(--radix-context-menu-content-transform-origin)", e),
1103
+ ...t
1104
+ }) });
1105
+ }
1106
+ function An({ className: e, variant: t = "default", ...n }) {
1107
+ return /* @__PURE__ */ r(u.Item, {
1108
+ "data-slot": "context-menu-item",
1109
+ "data-variant": t,
1110
+ className: z(X, e),
1202
1111
  ...n
1203
1112
  });
1204
1113
  }
1205
- function un({ className: e, ...t }) {
1206
- return /* @__PURE__ */ r(o.Cancel, {
1207
- "data-slot": "alert-dialog-cancel",
1208
- className: M(z({ variant: "outline" }), e),
1114
+ function jn({ className: e, ...t }) {
1115
+ return /* @__PURE__ */ r(u.Separator, {
1116
+ "data-slot": "context-menu-separator",
1117
+ className: z(gn, e),
1209
1118
  ...t
1210
1119
  });
1211
1120
  }
1212
- // src/ui/overlay/dialog.component.tsx
1213
- var dn = d.Root, fn = d.Trigger, pn = d.Close;
1214
- function mn({ className: e, children: t, showClose: n = !0, ...a }) {
1215
- return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: q }), /* @__PURE__ */ i(d.Content, {
1216
- "data-slot": "dialog-content",
1217
- className: M("fixed start-1/2 top-1/2 z-50 grid w-[calc(100%-2rem)] max-w-lg -translate-x-1/2 -translate-y-1/2 gap-4 rounded-xl border bg-popover p-6 text-popover-foreground shadow-lg outline-none rtl:translate-x-1/2", J, e),
1218
- ...a,
1219
- children: [t, n && /* @__PURE__ */ i(d.Close, {
1220
- className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
1221
- children: [/* @__PURE__ */ r(D, {
1222
- className: "size-4",
1223
- "aria-hidden": "true"
1224
- }), /* @__PURE__ */ r("span", {
1225
- className: "sr-only",
1226
- children: "Close"
1227
- })]
1228
- })]
1229
- })] });
1230
- }
1231
- function hn({ className: e, ...t }) {
1232
- return /* @__PURE__ */ r("div", {
1233
- "data-slot": "dialog-header",
1234
- className: M("flex flex-col gap-1.5 text-start", e),
1121
+ function Mn({ className: e, ...t }) {
1122
+ return /* @__PURE__ */ r("span", {
1123
+ "data-slot": "context-menu-shortcut",
1124
+ className: z(hn, e),
1235
1125
  ...t
1236
1126
  });
1237
1127
  }
1238
- function gn({ className: e, ...t }) {
1239
- return /* @__PURE__ */ r("div", {
1240
- "data-slot": "dialog-footer",
1241
- className: M("flex flex-col-reverse gap-2 sm:flex-row sm:justify-end", e),
1128
+ // src/ui/menu/dropdown-menu.component.tsx
1129
+ var Nn = f.Root, Pn = f.Trigger, Fn = f.Group, In = f.RadioGroup;
1130
+ function Ln({ className: e, sideOffset: t = 6, ...n }) {
1131
+ return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
1132
+ "data-slot": "dropdown-menu-content",
1133
+ sideOffset: t,
1134
+ className: z(mn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1135
+ ...n
1136
+ }) });
1137
+ }
1138
+ function Rn({ className: e, variant: t = "default", ...n }) {
1139
+ return /* @__PURE__ */ r(f.Item, {
1140
+ "data-slot": "dropdown-menu-item",
1141
+ "data-variant": t,
1142
+ className: z(X, e),
1143
+ ...n
1144
+ });
1145
+ }
1146
+ function zn({ className: e, children: t, ...n }) {
1147
+ return /* @__PURE__ */ i(f.RadioItem, {
1148
+ "data-slot": "dropdown-menu-radio-item",
1149
+ className: z(X, "ps-7", e),
1150
+ ...n,
1151
+ children: [/* @__PURE__ */ r("span", {
1152
+ className: "absolute start-2.5 flex size-2 items-center justify-center",
1153
+ children: /* @__PURE__ */ r(f.ItemIndicator, { children: /* @__PURE__ */ r("span", { className: "block size-2 rounded-full bg-brand" }) })
1154
+ }), t]
1155
+ });
1156
+ }
1157
+ function Bn({ className: e, ...t }) {
1158
+ return /* @__PURE__ */ r(f.Label, {
1159
+ "data-slot": "dropdown-menu-label",
1160
+ className: z(_n, e),
1242
1161
  ...t
1243
1162
  });
1244
1163
  }
1245
- function _n({ className: e, ...t }) {
1246
- return /* @__PURE__ */ r(d.Title, {
1247
- "data-slot": "dialog-title",
1248
- className: M("m-0 font-display text-lg font-bold leading-tight", e),
1164
+ function Vn({ className: e, ...t }) {
1165
+ return /* @__PURE__ */ r(f.Separator, {
1166
+ "data-slot": "dropdown-menu-separator",
1167
+ className: z(gn, e),
1249
1168
  ...t
1250
1169
  });
1251
1170
  }
1252
- function vn({ className: e, ...t }) {
1253
- return /* @__PURE__ */ r(d.Description, {
1254
- "data-slot": "dialog-description",
1255
- className: M("m-0 text-sm text-muted-foreground", e),
1171
+ function Hn({ className: e, ...t }) {
1172
+ return /* @__PURE__ */ r("span", {
1173
+ "data-slot": "dropdown-menu-shortcut",
1174
+ className: z(hn, e),
1256
1175
  ...t
1257
1176
  });
1258
1177
  }
1259
- // src/ui/overlay/drawer.component.tsx
1260
- var yn = A.Root, bn = A.Trigger, xn = A.Close;
1261
- function Sn({ className: e, children: t, ...n }) {
1262
- return /* @__PURE__ */ i(A.Portal, { children: [/* @__PURE__ */ r(A.Overlay, { className: q }), /* @__PURE__ */ i(A.Content, {
1263
- "data-slot": "drawer-content",
1264
- className: M("fixed inset-x-0 bottom-0 z-50 flex max-h-[85vh] flex-col gap-3.5 rounded-t-3xl border-t bg-popover px-5 pt-2.5 pb-8 text-popover-foreground outline-none", e),
1265
- ...n,
1266
- children: [/* @__PURE__ */ r("div", {
1178
+ // src/ui/tags-input/tag-entry.algorithm.ts
1179
+ var Un = /[,;\n\t]/;
1180
+ function Wn(e) {
1181
+ return e.split(Un).map((e) => e.trim()).filter(Boolean);
1182
+ }
1183
+ function Gn(e, t, n = {}) {
1184
+ let r = [...e], i = [];
1185
+ for (let e of t) (n.allowDuplicates || !r.some((t) => t.toLowerCase() === e.toLowerCase())) && (n.validate && !n.validate(e) || n.max !== void 0 && r.length >= n.max ? i.push(e) : r.push(e));
1186
+ return {
1187
+ tags: r,
1188
+ rejected: i
1189
+ };
1190
+ }
1191
+ // src/ui/tags-input/tag.component.tsx
1192
+ function Kn({ className: e, children: t, onRemove: n, removeLabel: a = "Remove", highlighted: o = !1, ...s }) {
1193
+ return /* @__PURE__ */ i("span", {
1194
+ "data-slot": "tag",
1195
+ "data-highlighted": o || void 0,
1196
+ className: z("inline-flex h-6 max-w-full items-center gap-0.5 rounded-sm bg-brand-soft ps-2 text-[13px] font-medium text-brand-text animate-zoom-in motion-reduce:animate-none", "data-highlighted:ring-2 data-highlighted:ring-brand", n ? "pe-0.5" : "pe-2", e),
1197
+ ...s,
1198
+ children: [/* @__PURE__ */ r("span", {
1199
+ className: "truncate",
1200
+ children: t
1201
+ }), n ? /* @__PURE__ */ r("button", {
1202
+ type: "button",
1203
+ "aria-label": a,
1204
+ onClick: n,
1205
+ className: "grid size-5 shrink-0 cursor-pointer place-items-center rounded-[3px] outline-none hover:bg-brand/15 focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-3",
1206
+ children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1207
+ }) : null]
1208
+ });
1209
+ }
1210
+ // src/ui/tags-input/tags-field.recipe.ts
1211
+ var qn = "flex min-h-(--control-h) w-full min-w-0 cursor-text flex-wrap items-center gap-1 rounded-md border border-input bg-background px-1.5 py-1 shadow-xs text-(length:--control-fs) text-foreground transition-[border-color,box-shadow] focus-within:border-ring focus-within:ring-3 focus-within:ring-ring/25 has-[input[aria-invalid=true]]:border-destructive has-[input[aria-invalid=true]]:ring-3 has-[input[aria-invalid=true]]:ring-destructive/20 has-[input:disabled]:cursor-not-allowed has-[input:disabled]:opacity-50", Jn = "h-6 min-w-16 flex-1 bg-transparent px-1 outline-none placeholder:text-muted-foreground disabled:cursor-not-allowed";
1212
+ // src/ui/tags-input/tags-input.component.tsx
1213
+ function Yn({ value: e, defaultValue: t = [], onValueChange: n, onReject: a, max: o, validate: s, allowDuplicates: c, addOnBlur: l = !0, removeLabel: u = (e) => `Remove ${e}`, fieldClassName: d, className: f, disabled: p, placeholder: m, onKeyDown: h, onPaste: g, onBlur: _, ...v }) {
1214
+ let [y, b] = I(t), [x, ee] = I(""), [S, C] = I(!1), [w, T] = I(!1), E = F(null), D = e ?? y, O = J(v), te = o !== void 0 && D.length >= o;
1215
+ function ne(t) {
1216
+ e === void 0 && b(t), n?.(t);
1217
+ }
1218
+ function k(e) {
1219
+ if (e.length === 0) return;
1220
+ let { tags: t, rejected: n } = Gn(D, e, {
1221
+ max: o,
1222
+ validate: s,
1223
+ allowDuplicates: c
1224
+ });
1225
+ t.length !== D.length && ne(t), ee(n.join(", ")), C(n.length > 0), n.length > 0 && a?.(n);
1226
+ }
1227
+ function re(e) {
1228
+ ne(D.filter((t, n) => n !== e)), T(!1), E.current?.focus();
1229
+ }
1230
+ function ie(e) {
1231
+ if (h?.(e), !(e.defaultPrevented || e.nativeEvent.isComposing)) {
1232
+ if ([
1233
+ "Enter",
1234
+ ",",
1235
+ ";"
1236
+ ].includes(e.key)) {
1237
+ if (x.trim() === "" && e.key === "Enter") return;
1238
+ e.preventDefault(), k(Wn(x));
1239
+ } else x === "" && e.key === "Backspace" && D.length > 0 ? (e.preventDefault(), w ? re(D.length - 1) : T(!0)) : T(!1);
1240
+ }
1241
+ }
1242
+ function A(e) {
1243
+ g?.(e);
1244
+ let t = e.clipboardData.getData("text");
1245
+ !e.defaultPrevented && Un.test(t) && (e.preventDefault(), k(Wn(`${x}${t}`)));
1246
+ }
1247
+ return /* @__PURE__ */ i("div", {
1248
+ "data-slot": "tags-input",
1249
+ className: z(qn, d),
1250
+ onClick: (e) => {
1251
+ e.target === e.currentTarget && E.current?.focus();
1252
+ },
1253
+ children: [D.map((e, t) => /* @__PURE__ */ r(Kn, {
1254
+ highlighted: w && t === D.length - 1,
1255
+ removeLabel: u(e),
1256
+ onRemove: p ? void 0 : () => {
1257
+ re(t);
1258
+ },
1259
+ children: e
1260
+ }, `${e}-${String(t)}`)), /* @__PURE__ */ r("input", {
1261
+ ref: E,
1262
+ type: "text",
1263
+ "data-slot": "tags-input-input",
1264
+ value: x,
1265
+ disabled: p,
1266
+ placeholder: D.length === 0 ? m : void 0,
1267
+ readOnly: te,
1268
+ className: z(Jn, f),
1269
+ onChange: (e) => {
1270
+ ee(e.target.value), C(!1), T(!1);
1271
+ },
1272
+ onKeyDown: ie,
1273
+ onPaste: A,
1274
+ onBlur: (e) => {
1275
+ _?.(e), T(!1), l && !S && k(Wn(x));
1276
+ },
1277
+ ...v,
1278
+ ...O,
1279
+ "aria-invalid": S || O["aria-invalid"] || void 0
1280
+ })]
1281
+ });
1282
+ }
1283
+ // src/ui/combobox/option-search.hook.ts
1284
+ function Xn(e, t, { debounceMs: n = 250, minQueryLength: r = 1 } = {}) {
1285
+ let [i, a] = I({
1286
+ options: [],
1287
+ status: "idle"
1288
+ }), o = F(e);
1289
+ return o.current = e, P(() => {
1290
+ let e = t.trim();
1291
+ if (!o.current || e.length < r) {
1292
+ a({
1293
+ options: [],
1294
+ status: "idle"
1295
+ });
1296
+ return;
1297
+ }
1298
+ let i = new AbortController();
1299
+ a((e) => ({
1300
+ ...e,
1301
+ status: "loading"
1302
+ }));
1303
+ async function s() {
1304
+ try {
1305
+ let t = await o.current?.(e, { signal: i.signal }) ?? [];
1306
+ i.signal.aborted || a({
1307
+ options: t,
1308
+ status: "done"
1309
+ });
1310
+ } catch {
1311
+ i.signal.aborted || a({
1312
+ options: [],
1313
+ status: "error"
1314
+ });
1315
+ }
1316
+ }
1317
+ let c = setTimeout(() => {
1318
+ s();
1319
+ }, n);
1320
+ return () => {
1321
+ clearTimeout(c), i.abort();
1322
+ };
1323
+ }, [
1324
+ t,
1325
+ n,
1326
+ r
1327
+ ]), i;
1328
+ }
1329
+ // src/ui/combobox/combobox.component.tsx
1330
+ var Zn = "\0create";
1331
+ function Qn(e) {
1332
+ let { options: t, loadOptions: n, debounceMs: a, minQueryLength: o = +!!n, createOption: s, createLabel: c = (e) => `Use "${e}"`, emptyText: l = "No results", loadingText: u = "Searching…", errorText: d = "The search failed. Try again.", idleText: f = "Type to search", placeholder: p, disabled: m, className: h, contentClassName: g } = e, _ = n !== void 0, v = J({
1333
+ id: e.id,
1334
+ "aria-describedby": e["aria-describedby"],
1335
+ "aria-invalid": e["aria-invalid"]
1336
+ }), [y, b] = I(e.multiple ? null : e.defaultValue ?? null), [x, ee] = I(e.multiple ? e.defaultValue ?? [] : []), S = e.multiple ? null : e.value === void 0 ? y : e.value, C = e.multiple ? e.value ?? x : S ? [S] : [], [w, T] = I(!1), [E, D] = I(S?.label ?? ""), [O, te] = I(!1), ne = F(!1);
1337
+ ne.current = O;
1338
+ let [ie, A] = I(!1), ae = F(null), oe = F(null), se = ht(), ce = e["aria-label"];
1339
+ Te(() => {
1340
+ let e = ae.current;
1341
+ e && (se ? e.setAttribute("aria-labelledby", se) : ce && e.removeAttribute("aria-labelledby"));
1342
+ }, [se, ce]);
1343
+ let j = O ? E : "", M = Xn(n, j, {
1344
+ debounceMs: a,
1345
+ minQueryLength: o
1346
+ }), ue = _ ? M.options : t ?? [], de = s && j.trim() !== "" && ue.every((e) => e.label.toLowerCase() !== j.trim().toLowerCase()) ? s(j.trim()) : null, fe = e.multiple && e.max !== void 0 && C.length >= e.max;
1347
+ function pe(t) {
1348
+ e.multiple || (e.value === void 0 && b(t), e.onValueChange?.(t));
1349
+ }
1350
+ function he(t) {
1351
+ e.multiple && (e.value === void 0 && ee(t), e.onValueChange?.(t));
1352
+ }
1353
+ function ge(t) {
1354
+ if (te(!1), A(!1), !e.multiple) {
1355
+ pe(t), D(t.label), T(!1);
1356
+ return;
1357
+ }
1358
+ let n = C.some((e) => e.value === t.value);
1359
+ (n || !fe) && (he(n ? C.filter((e) => e.value !== t.value) : [...C, t]), D(""));
1360
+ }
1361
+ function _e() {
1362
+ T(!1), te(!1), A(!1), D(e.multiple ? "" : S?.label ?? "");
1363
+ }
1364
+ let ve = (e) => C.some((t) => t.value === e.value);
1365
+ return /* @__PURE__ */ r(R, {
1366
+ "data-slot": "combobox",
1367
+ shouldFilter: !_,
1368
+ filter: (e, t, n) => ne.current ? $n(t, [e, ...n ?? []]) : 1,
1369
+ loop: !0,
1370
+ className: "w-full",
1371
+ children: /* @__PURE__ */ i(Qt, {
1372
+ open: w,
1373
+ onOpenChange: (e) => {
1374
+ e || _e();
1375
+ },
1376
+ children: [/* @__PURE__ */ r(en, {
1377
+ asChild: !0,
1378
+ children: /* @__PURE__ */ i("div", {
1379
+ ref: oe,
1380
+ "data-slot": "combobox-field",
1381
+ className: z(qn, "pe-1", h),
1382
+ onClick: (e) => {
1383
+ e.target === e.currentTarget && ae.current?.focus();
1384
+ },
1385
+ children: [
1386
+ e.multiple ? C.map((e, t) => /* @__PURE__ */ r(Kn, {
1387
+ highlighted: ie && t === C.length - 1,
1388
+ removeLabel: `Remove ${e.label}`,
1389
+ onRemove: m ? void 0 : () => {
1390
+ ge(e);
1391
+ },
1392
+ children: e.label
1393
+ }, e.value)) : !O && S?.icon ? /* @__PURE__ */ r("span", {
1394
+ "aria-hidden": "true",
1395
+ className: "ms-1 flex text-muted-foreground [&_svg]:size-4",
1396
+ children: S.icon
1397
+ }) : null,
1398
+ /* @__PURE__ */ r(R.Input, {
1399
+ ref: ae,
1400
+ "data-slot": "combobox-input",
1401
+ value: E,
1402
+ disabled: m,
1403
+ readOnly: fe,
1404
+ placeholder: C.length === 0 || !e.multiple ? p : void 0,
1405
+ "aria-label": e["aria-label"],
1406
+ className: Jn,
1407
+ onValueChange: (e) => {
1408
+ D(e), te(!0), A(!1), T(!0);
1409
+ },
1410
+ onFocus: () => {
1411
+ _ || T(!0);
1412
+ },
1413
+ onKeyDown: (t) => {
1414
+ if (t.key === "Escape") w && t.preventDefault(), _e();
1415
+ else if (!w && t.key === "ArrowDown") T(!0);
1416
+ else if (E === "" && t.key === "Backspace" && e.multiple && C.length > 0) {
1417
+ t.preventDefault();
1418
+ let e = C.at(-1);
1419
+ ie && e ? ge(e) : A(!0);
1420
+ }
1421
+ },
1422
+ ...v
1423
+ }),
1424
+ S && !m && !e.multiple ? /* @__PURE__ */ r("button", {
1425
+ type: "button",
1426
+ "aria-label": "Clear",
1427
+ className: "grid size-6 shrink-0 cursor-pointer place-items-center rounded-sm text-muted-foreground outline-none hover:bg-muted hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring [&_svg]:size-3.5",
1428
+ onClick: () => {
1429
+ pe(null), D(""), ae.current?.focus();
1430
+ },
1431
+ children: /* @__PURE__ */ r(N, { "aria-hidden": "true" })
1432
+ }) : null,
1433
+ _ ? null : /* @__PURE__ */ r(re, {
1434
+ "aria-hidden": "true",
1435
+ className: z("mx-1 size-4 shrink-0 text-muted-foreground transition-transform duration-200 motion-reduce:transition-none", w && "rotate-180")
1436
+ })
1437
+ ]
1438
+ })
1439
+ }), /* @__PURE__ */ r(tn, {
1440
+ align: "start",
1441
+ sideOffset: 4,
1442
+ className: z("w-(--radix-popover-trigger-width) min-w-56 p-1", g),
1443
+ onOpenAutoFocus: (e) => {
1444
+ e.preventDefault();
1445
+ },
1446
+ onInteractOutside: (e) => {
1447
+ e.target instanceof Node && oe.current?.contains(e.target) && e.preventDefault();
1448
+ },
1449
+ onMouseDown: (e) => {
1450
+ e.preventDefault();
1451
+ },
1452
+ children: /* @__PURE__ */ i(R.List, {
1453
+ "data-slot": "combobox-list",
1454
+ className: "max-h-72 overflow-y-auto",
1455
+ children: [
1456
+ _ && M.status === "idle" ? /* @__PURE__ */ r(er, { children: f }) : null,
1457
+ _ && M.status === "loading" ? /* @__PURE__ */ i(er, { children: [/* @__PURE__ */ r(le, {
1458
+ "aria-hidden": "true",
1459
+ className: "size-4 animate-spin"
1460
+ }), u] }) : null,
1461
+ _ && M.status === "error" ? /* @__PURE__ */ r(er, {
1462
+ tone: "destructive",
1463
+ children: d
1464
+ }) : null,
1465
+ !_ || M.status === "done" ? /* @__PURE__ */ r(R.Empty, {
1466
+ className: "px-2.5 py-5 text-center text-sm text-muted-foreground",
1467
+ children: de ? null : l
1468
+ }) : null,
1469
+ (!_ || M.status === "done") && ue.map((e) => /* @__PURE__ */ i(R.Item, {
1470
+ value: e.value,
1471
+ keywords: [e.label, e.description ?? ""],
1472
+ disabled: e.disabled,
1473
+ onSelect: () => {
1474
+ ge(e);
1475
+ },
1476
+ className: z(X, "data-[selected=true]:bg-accent"),
1477
+ children: [
1478
+ e.icon ? /* @__PURE__ */ r("span", {
1479
+ "aria-hidden": "true",
1480
+ className: "flex shrink-0 text-muted-foreground [&_svg]:size-4",
1481
+ children: e.icon
1482
+ }) : null,
1483
+ /* @__PURE__ */ i("span", {
1484
+ className: "flex min-w-0 flex-1 flex-col",
1485
+ children: [/* @__PURE__ */ r("span", {
1486
+ className: "truncate",
1487
+ children: e.label
1488
+ }), e.description ? /* @__PURE__ */ r("span", {
1489
+ className: "truncate text-xs text-muted-foreground",
1490
+ children: e.description
1491
+ }) : null]
1492
+ }),
1493
+ /* @__PURE__ */ r(k, {
1494
+ "aria-hidden": "true",
1495
+ className: z("size-4 shrink-0 text-brand", ve(e) ? "opacity-100" : "opacity-0")
1496
+ })
1497
+ ]
1498
+ }, e.value)),
1499
+ de ? /* @__PURE__ */ i(R.Item, {
1500
+ forceMount: !0,
1501
+ value: Zn,
1502
+ onSelect: () => {
1503
+ ge(de);
1504
+ },
1505
+ className: z(X, "data-[selected=true]:bg-accent"),
1506
+ children: [/* @__PURE__ */ r(me, {
1507
+ "aria-hidden": "true",
1508
+ className: "size-4 shrink-0 text-brand"
1509
+ }), /* @__PURE__ */ r("span", {
1510
+ className: "truncate",
1511
+ children: c(j.trim())
1512
+ })]
1513
+ }) : null
1514
+ ]
1515
+ })
1516
+ })]
1517
+ })
1518
+ });
1519
+ }
1520
+ function $n(e, t) {
1521
+ let n = e.trim().toLowerCase();
1522
+ if (n === "") return 1;
1523
+ let r = t.map((e) => e.toLowerCase());
1524
+ return r.some((e) => e.startsWith(n)) ? 2 : +!!r.some((e) => e.includes(n));
1525
+ }
1526
+ function er({ children: e, tone: t }) {
1527
+ return /* @__PURE__ */ r("div", {
1528
+ role: "status",
1529
+ className: z("flex items-center justify-center gap-2 px-2.5 py-5 text-sm", t === "destructive" ? "text-destructive" : "text-muted-foreground"),
1530
+ children: e
1531
+ });
1532
+ }
1533
+ // src/ui/feedback/alert.component.tsx
1534
+ var tr = {
1535
+ info: {
1536
+ box: "border-border bg-card",
1537
+ icon: "text-info",
1538
+ Icon: j
1539
+ },
1540
+ success: {
1541
+ box: "border-border bg-card",
1542
+ icon: "text-success",
1543
+ Icon: se
1544
+ },
1545
+ warning: {
1546
+ box: "border-[color-mix(in_oklab,var(--warning)_35%,var(--border))] bg-warning-soft",
1547
+ icon: "text-warning",
1548
+ Icon: _e
1549
+ },
1550
+ danger: {
1551
+ box: "border-[color-mix(in_oklab,var(--destructive)_40%,var(--border))] bg-destructive-soft",
1552
+ icon: "text-destructive",
1553
+ Icon: _e
1554
+ }
1555
+ };
1556
+ function nr({ tone: e = "info", title: t, icon: n, children: a, className: o, ...s }) {
1557
+ let { box: c, icon: l, Icon: u } = tr[e];
1558
+ return /* @__PURE__ */ i("div", {
1559
+ "data-slot": "alert",
1560
+ role: e === "danger" || e === "warning" ? "alert" : "status",
1561
+ className: z("flex gap-3 rounded-lg border px-4 py-3.5", c, o),
1562
+ ...s,
1563
+ children: [/* @__PURE__ */ r("span", {
1267
1564
  "aria-hidden": "true",
1268
- className: "mx-auto h-[5px] w-10 shrink-0 rounded-full bg-input"
1269
- }), t]
1270
- })] });
1565
+ className: z("mt-px flex shrink-0 [&_svg]:size-[18px]", l),
1566
+ children: n ?? /* @__PURE__ */ r(u, {})
1567
+ }), /* @__PURE__ */ i("div", {
1568
+ className: "flex flex-col gap-0.5",
1569
+ children: [/* @__PURE__ */ r("p", {
1570
+ className: "m-0 type-h4",
1571
+ children: t
1572
+ }), a && /* @__PURE__ */ r("div", {
1573
+ className: "text-[13px] text-muted-foreground",
1574
+ children: a
1575
+ })]
1576
+ })]
1577
+ });
1271
1578
  }
1272
- function Cn({ className: e, ...t }) {
1273
- return /* @__PURE__ */ r(A.Title, {
1274
- "data-slot": "drawer-title",
1275
- className: M("m-0 text-xl font-semibold leading-tight", e),
1276
- ...t
1579
+ // src/ui/feedback/empty-state.component.tsx
1580
+ function rr({ title: e, description: t, icon: n, action: a, className: o, ...s }) {
1581
+ return /* @__PURE__ */ i("div", {
1582
+ "data-slot": "empty-state",
1583
+ className: z("flex flex-col items-center gap-2 rounded-xl border-[1.5px] border-dashed border-input p-6 text-center", o),
1584
+ ...s,
1585
+ children: [
1586
+ /* @__PURE__ */ r("span", {
1587
+ "aria-hidden": "true",
1588
+ className: "grid size-10 place-items-center rounded-[10px] bg-brand-soft text-brand-text [&_svg]:size-5",
1589
+ children: n ?? /* @__PURE__ */ r(me, {})
1590
+ }),
1591
+ /* @__PURE__ */ r("p", {
1592
+ className: "m-0 type-h4",
1593
+ children: e
1594
+ }),
1595
+ t && /* @__PURE__ */ r("p", {
1596
+ className: "m-0 max-w-sm text-[13px] text-muted-foreground",
1597
+ children: t
1598
+ }),
1599
+ a && /* @__PURE__ */ r("div", {
1600
+ className: "mt-1",
1601
+ children: a
1602
+ })
1603
+ ]
1277
1604
  });
1278
1605
  }
1279
- function wn({ className: e, ...t }) {
1280
- return /* @__PURE__ */ r(A.Description, {
1281
- "data-slot": "drawer-description",
1282
- className: M("m-0 text-sm text-muted-foreground", e),
1606
+ // src/ui/feedback/progress.component.tsx
1607
+ function ir({ className: e, value: t, max: n = 100, ...i }) {
1608
+ let a = t == null ? 0 : Math.min(100, Math.max(0, t / n * 100));
1609
+ return /* @__PURE__ */ r(v.Root, {
1610
+ "data-slot": "progress",
1611
+ value: t,
1612
+ max: n,
1613
+ className: z("relative h-1.5 w-full overflow-hidden rounded-full bg-muted", e),
1614
+ ...i,
1615
+ children: /* @__PURE__ */ r(v.Indicator, {
1616
+ className: "h-full rounded-full bg-brand transition-[width]",
1617
+ style: { width: `${a}%` }
1618
+ })
1619
+ });
1620
+ }
1621
+ // src/ui/feedback/skeleton.component.tsx
1622
+ function ar({ className: e, ...t }) {
1623
+ return /* @__PURE__ */ r("div", {
1624
+ "data-slot": "skeleton",
1625
+ "aria-hidden": "true",
1626
+ className: z("animate-pulse rounded-sm bg-muted", e),
1283
1627
  ...t
1284
1628
  });
1285
1629
  }
1286
- // src/ui/overlay/popover.component.tsx
1287
- var Tn = g.Root, En = g.Trigger, Dn = g.Anchor;
1288
- function On({ className: e, align: t = "center", sideOffset: n = 6, ...i }) {
1289
- return /* @__PURE__ */ r(g.Portal, { children: /* @__PURE__ */ r(g.Content, {
1290
- "data-slot": "popover-content",
1291
- align: t,
1292
- sideOffset: n,
1293
- className: M("z-50 w-72 origin-(--radix-popover-content-transform-origin) rounded-lg border bg-popover p-4 text-popover-foreground shadow-md outline-none", J, e),
1294
- ...i
1630
+ // src/ui/feedback/spinner.component.tsx
1631
+ function or({ className: e, label: t = "Loading", ...n }) {
1632
+ return /* @__PURE__ */ r(le, {
1633
+ "data-slot": "spinner",
1634
+ role: "status",
1635
+ "aria-label": t,
1636
+ className: z("size-4 animate-spin text-muted-foreground", e),
1637
+ ...n
1638
+ });
1639
+ }
1640
+ // src/ui/feedback/toaster.component.tsx
1641
+ function sr(e) {
1642
+ return /* @__PURE__ */ r(De, {
1643
+ className: "toaster group",
1644
+ toastOptions: { classNames: {
1645
+ toast: "group flex w-[360px] items-start gap-3 rounded-lg border bg-popover px-4 py-3.5 font-sans text-popover-foreground shadow-lg",
1646
+ title: "text-[15px] font-semibold",
1647
+ description: "text-[13px] text-muted-foreground",
1648
+ success: "[&_[data-icon]]:text-success",
1649
+ error: "[&_[data-icon]]:text-destructive",
1650
+ info: "[&_[data-icon]]:text-info",
1651
+ warning: "[&_[data-icon]]:text-warning"
1652
+ } },
1653
+ ...e
1654
+ });
1655
+ }
1656
+ // src/ui/file-drop/file-accept.policy.ts
1657
+ function cr(e, t = "") {
1658
+ let n = t.split(",").map((e) => e.trim().toLowerCase()).filter(Boolean);
1659
+ if (n.length === 0) return !0;
1660
+ let r = e.name?.toLowerCase(), i = e.type.toLowerCase();
1661
+ return n.some((e) => e.startsWith(".") ? !!r?.endsWith(e) : e.endsWith("/*") ? i.startsWith(e.slice(0, -1)) : i === e);
1662
+ }
1663
+ function lr(e, t = "") {
1664
+ return !t.split(",").some((e) => e.trim() !== "" && !e.trimStart().startsWith(".")) || e.length === 0 || e.some((e) => e === "" || cr({ type: e }, t));
1665
+ }
1666
+ // src/ui/file-drop/file-drop-overlay.component.tsx
1667
+ function ur({ open: e, accepted: t = !0, title: a, description: o, rejectedTitle: s = "These files cannot be uploaded here", icon: c, className: l }) {
1668
+ return /* @__PURE__ */ r(Zt, { children: /* @__PURE__ */ r("div", {
1669
+ "data-slot": "file-drop-overlay",
1670
+ "data-state": e ? t ? "accepted" : "rejected" : "closed",
1671
+ className: z("group/drop pointer-events-none fixed inset-0 z-1000 grid place-items-center p-4 backdrop-blur-md transition-[opacity,visibility] duration-200 motion-reduce:transition-none", "data-[state=closed]:invisible data-[state=closed]:opacity-0 data-[state=accepted]:bg-brand/15 data-[state=rejected]:bg-destructive/10", l),
1672
+ children: /* @__PURE__ */ r("div", {
1673
+ className: "grid size-full place-items-center rounded-2xl border-2 border-dashed border-brand/60 transition-colors group-data-[state=rejected]/drop:border-destructive/60",
1674
+ children: /* @__PURE__ */ r("div", {
1675
+ role: "status",
1676
+ "aria-live": "polite",
1677
+ className: "flex scale-90 flex-col items-center gap-4 text-center transition-transform duration-300 ease-overshoot group-data-[state=accepted]/drop:scale-100 group-data-[state=rejected]/drop:scale-100 motion-reduce:scale-100 motion-reduce:transition-none",
1678
+ children: e ? /* @__PURE__ */ i(n, { children: [
1679
+ /* @__PURE__ */ i("span", {
1680
+ className: "relative grid size-20 place-items-center rounded-full bg-brand-soft text-brand group-data-[state=rejected]/drop:bg-destructive-soft group-data-[state=rejected]/drop:text-destructive [&_svg]:size-9",
1681
+ children: [/* @__PURE__ */ r("span", {
1682
+ "aria-hidden": "true",
1683
+ className: "absolute inset-0 rounded-full bg-current opacity-20 motion-safe:animate-ping"
1684
+ }), t ? c ?? /* @__PURE__ */ r(ve, { "aria-hidden": "true" }) : /* @__PURE__ */ r(te, { "aria-hidden": "true" })]
1685
+ }),
1686
+ /* @__PURE__ */ r("span", {
1687
+ className: "text-2xl font-semibold text-foreground",
1688
+ children: t ? a : s
1689
+ }),
1690
+ o ? /* @__PURE__ */ r("span", {
1691
+ className: "max-w-md text-sm text-muted-foreground",
1692
+ children: o
1693
+ }) : null
1694
+ ] }) : null
1695
+ })
1696
+ })
1295
1697
  }) });
1296
1698
  }
1297
- // src/ui/overlay/sheet.component.tsx
1298
- var kn = d.Root, An = d.Trigger, jn = d.Close, Mn = d.Title, Nn = d.Description, Pn = {
1299
- start: "inset-y-0 start-0 h-full w-3/4 max-w-sm border-e",
1300
- end: "inset-y-0 end-0 h-full w-3/4 max-w-sm border-s",
1301
- top: "inset-x-0 top-0 border-b",
1302
- bottom: "inset-x-0 bottom-0 border-t"
1303
- };
1304
- function Fn({ className: e, children: t, side: n = "end", ...a }) {
1305
- return /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: q }), /* @__PURE__ */ i(d.Content, {
1306
- "data-slot": "sheet-content",
1307
- className: M("fixed z-50 flex flex-col gap-4 bg-popover p-6 text-popover-foreground shadow-lg outline-none", Pn[n], nn[n], e),
1308
- ...a,
1309
- children: [t, /* @__PURE__ */ i(d.Close, {
1310
- className: "absolute end-4 top-4 cursor-pointer rounded-sm text-muted-foreground outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring",
1311
- children: [/* @__PURE__ */ r(D, {
1312
- className: "size-4",
1313
- "aria-hidden": "true"
1314
- }), /* @__PURE__ */ r("span", {
1315
- className: "sr-only",
1316
- children: "Close"
1699
+ // src/ui/file-drop/page-drop.hook.ts
1700
+ function dr(e) {
1701
+ let [t, n] = I({
1702
+ isOver: !1,
1703
+ isAccepted: !0
1704
+ }), r = F(e);
1705
+ return r.current = e, P(() => {
1706
+ let e = 0, t = (e) => !r.current.disabled && !!e.dataTransfer?.types.includes("Files"), i = () => {
1707
+ e = 0, n({
1708
+ isOver: !1,
1709
+ isAccepted: !0
1710
+ });
1711
+ }, a = (i) => {
1712
+ if (!t(i)) return;
1713
+ e += 1;
1714
+ let a = [...i.dataTransfer?.items ?? []].filter((e) => e.kind === "file").map((e) => e.type);
1715
+ n({
1716
+ isOver: !0,
1717
+ isAccepted: lr(a, r.current.accept)
1718
+ });
1719
+ }, o = (e) => {
1720
+ t(e) && e.preventDefault();
1721
+ }, s = (n) => {
1722
+ t(n) && (e = Math.max(0, e - 1), e === 0 && i());
1723
+ }, c = (e) => {
1724
+ if (!t(e)) return;
1725
+ e.preventDefault(), i();
1726
+ let n = [...e.dataTransfer?.files ?? []];
1727
+ if (n.length === 0) return;
1728
+ let a = r.current.accept;
1729
+ r.current.onDrop(n.filter((e) => cr(e, a)), n.filter((e) => !cr(e, a)));
1730
+ }, l = (e) => {
1731
+ t(e) && i();
1732
+ };
1733
+ return globalThis.addEventListener("dragenter", a), globalThis.addEventListener("dragover", o), globalThis.addEventListener("dragleave", s), globalThis.addEventListener("drop", l, { capture: !0 }), globalThis.addEventListener("drop", c), () => {
1734
+ globalThis.removeEventListener("dragenter", a), globalThis.removeEventListener("dragover", o), globalThis.removeEventListener("dragleave", s), globalThis.removeEventListener("drop", l, { capture: !0 }), globalThis.removeEventListener("drop", c);
1735
+ };
1736
+ }, []), t;
1737
+ }
1738
+ // src/ui/layout/accordion.component.tsx
1739
+ function fr({ className: e, ...t }) {
1740
+ return /* @__PURE__ */ r(a.Root, {
1741
+ "data-slot": "accordion",
1742
+ className: z("border-t", e),
1743
+ ...t
1744
+ });
1745
+ }
1746
+ function pr({ className: e, ...t }) {
1747
+ return /* @__PURE__ */ r(a.Item, {
1748
+ "data-slot": "accordion-item",
1749
+ className: z("border-b", e),
1750
+ ...t
1751
+ });
1752
+ }
1753
+ function mr({ className: e, children: t, ...n }) {
1754
+ return /* @__PURE__ */ r(a.Header, {
1755
+ className: "m-0 flex",
1756
+ children: /* @__PURE__ */ i(a.Trigger, {
1757
+ "data-slot": "accordion-trigger",
1758
+ className: z("group flex flex-1 cursor-pointer items-center justify-between gap-4 py-3 text-start type-h4 outline-none transition-colors duration-150 hover:text-brand-text focus-visible:ring-2 focus-visible:ring-ring motion-reduce:transition-none", e),
1759
+ ...n,
1760
+ children: [t, /* @__PURE__ */ i("svg", {
1761
+ viewBox: "0 0 16 16",
1762
+ "aria-hidden": "true",
1763
+ className: "size-4 shrink-0 text-muted-foreground transition-transform duration-300 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
1764
+ children: [/* @__PURE__ */ r("rect", {
1765
+ x: "3",
1766
+ y: "7.25",
1767
+ width: "10",
1768
+ height: "1.5",
1769
+ rx: "0.75",
1770
+ fill: "currentColor"
1771
+ }), /* @__PURE__ */ r("rect", {
1772
+ x: "7.25",
1773
+ y: "3",
1774
+ width: "1.5",
1775
+ height: "10",
1776
+ rx: "0.75",
1777
+ fill: "currentColor",
1778
+ className: "origin-center transition-[scale] duration-300 ease-emphasised [transform-box:fill-box] group-data-[state=open]:scale-y-0 motion-reduce:transition-none"
1779
+ })]
1317
1780
  })]
1318
- })]
1319
- })] });
1781
+ })
1782
+ });
1320
1783
  }
1321
- // src/ui/overlay/tooltip.component.tsx
1322
- var In = w.Provider;
1323
- function Ln(e) {
1324
- return /* @__PURE__ */ r(w.Provider, {
1325
- delayDuration: 300,
1326
- children: /* @__PURE__ */ r(w.Root, {
1327
- "data-slot": "tooltip",
1328
- ...e
1784
+ function hr({ className: e, children: t, ...n }) {
1785
+ return /* @__PURE__ */ r(a.Content, {
1786
+ "data-slot": "accordion-content",
1787
+ className: "overflow-hidden text-sm text-muted-foreground data-[state=closed]:animate-accordion-up data-[state=open]:animate-accordion-down motion-reduce:animate-none",
1788
+ ...n,
1789
+ children: /* @__PURE__ */ r("div", {
1790
+ className: z("pb-3", e),
1791
+ children: t
1329
1792
  })
1330
1793
  });
1331
1794
  }
1332
- var Rn = w.Trigger;
1333
- function zn({ className: e, sideOffset: t = 6, ...n }) {
1334
- return /* @__PURE__ */ r(w.Portal, { children: /* @__PURE__ */ r(w.Content, {
1335
- "data-slot": "tooltip-content",
1336
- sideOffset: t,
1337
- className: M("z-50 w-fit origin-(--radix-tooltip-content-transform-origin) rounded-sm bg-foreground px-2.5 py-1.5 text-xs text-background", J, e),
1338
- ...n
1339
- }) });
1795
+ // src/ui/layout/card.component.tsx
1796
+ function gr({ className: e, ...t }) {
1797
+ return /* @__PURE__ */ r("div", {
1798
+ "data-slot": "card",
1799
+ className: z("flex flex-col overflow-hidden rounded-xl border bg-card text-card-foreground shadow-xs", e),
1800
+ ...t
1801
+ });
1340
1802
  }
1341
- // src/ui/menu/menu.recipe.ts
1342
- var Bn = "z-50 min-w-48 overflow-hidden rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", Y = "relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-[7px] text-[13.5px] outline-none transition-colors duration-150 motion-reduce:transition-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50 [&_svg]:size-4 [&_svg]:shrink-0 [&_svg]:text-muted-foreground data-[variant=destructive]:text-destructive data-[variant=destructive]:[&_svg]:text-destructive", Vn = "ms-auto text-xs tracking-wide text-muted-foreground", Hn = "-mx-1 my-1 h-px bg-border", Un = "px-2.5 py-1.5 text-xs font-medium text-muted-foreground";
1343
- // src/ui/menu/command.component.tsx
1344
- function Wn({ className: e, ...t }) {
1345
- return /* @__PURE__ */ r(j, {
1346
- "data-slot": "command",
1347
- className: M("flex size-full flex-col overflow-hidden rounded-lg bg-popover text-popover-foreground", e),
1803
+ function _r({ className: e, ...t }) {
1804
+ return /* @__PURE__ */ r("div", {
1805
+ "data-slot": "card-header",
1806
+ className: z("flex flex-col gap-1 px-5 pt-5", e),
1348
1807
  ...t
1349
1808
  });
1350
1809
  }
1351
- function Gn({ title: e = "Search", children: t, ...n }) {
1352
- return /* @__PURE__ */ r(d.Root, {
1810
+ function vr({ className: e, children: t, ...n }) {
1811
+ return /* @__PURE__ */ r("h3", {
1812
+ "data-slot": "card-title",
1813
+ className: z("m-0 type-h4", e),
1353
1814
  ...n,
1354
- children: /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, { className: q }), /* @__PURE__ */ i(d.Content, {
1355
- className: M("fixed start-1/2 top-[18%] z-50 w-[calc(100%-2rem)] max-w-xl -translate-x-1/2 overflow-hidden rounded-xl border bg-popover shadow-lg outline-none rtl:translate-x-1/2", J),
1356
- children: [
1357
- /* @__PURE__ */ r(d.Title, {
1358
- className: "sr-only",
1359
- children: e
1360
- }),
1361
- /* @__PURE__ */ r(d.Description, {
1362
- className: "sr-only",
1363
- children: "Type to filter the commands."
1364
- }),
1365
- /* @__PURE__ */ r(Wn, { children: t })
1366
- ]
1367
- })] })
1815
+ children: t
1368
1816
  });
1369
1817
  }
1370
- function Kn({ className: e, ...t }) {
1371
- return /* @__PURE__ */ i("div", {
1372
- "data-slot": "command-input-wrapper",
1373
- className: "flex h-11 items-center gap-2 border-b px-3",
1374
- children: [/* @__PURE__ */ r(E, {
1375
- className: "size-4 shrink-0 text-muted-foreground",
1376
- "aria-hidden": "true"
1377
- }), /* @__PURE__ */ r(j.Input, {
1378
- "data-slot": "command-input",
1379
- className: M("h-full w-full bg-transparent text-sm outline-none placeholder:text-muted-foreground", e),
1380
- ...t
1381
- })]
1818
+ function yr({ className: e, ...t }) {
1819
+ return /* @__PURE__ */ r("p", {
1820
+ "data-slot": "card-description",
1821
+ className: z("m-0 text-[13px] text-muted-foreground", e),
1822
+ ...t
1382
1823
  });
1383
1824
  }
1384
- function qn({ className: e, ...t }) {
1385
- return /* @__PURE__ */ r(j.List, {
1386
- "data-slot": "command-list",
1387
- className: M("max-h-80 overflow-y-auto p-1", e),
1825
+ function br({ className: e, ...t }) {
1826
+ return /* @__PURE__ */ r("div", {
1827
+ "data-slot": "card-content",
1828
+ className: z("px-5 py-4", e),
1388
1829
  ...t
1389
1830
  });
1390
1831
  }
1391
- function Jn({ className: e, ...t }) {
1392
- return /* @__PURE__ */ r(j.Empty, {
1393
- "data-slot": "command-empty",
1394
- className: M("py-6 text-center text-sm text-muted-foreground", e),
1832
+ function xr({ className: e, ...t }) {
1833
+ return /* @__PURE__ */ r("div", {
1834
+ "data-slot": "card-footer",
1835
+ className: z("mt-auto flex items-center justify-between gap-3 border-t bg-muted px-5 py-3", e),
1395
1836
  ...t
1396
1837
  });
1397
1838
  }
1398
- function Yn({ className: e, ...t }) {
1399
- return /* @__PURE__ */ r(j.Group, {
1400
- "data-slot": "command-group",
1401
- className: M("[&_[cmdk-group-heading]]:px-2.5 [&_[cmdk-group-heading]]:py-1.5 [&_[cmdk-group-heading]]:text-xs [&_[cmdk-group-heading]]:font-medium [&_[cmdk-group-heading]]:text-muted-foreground", e),
1839
+ // src/ui/layout/kbd.component.tsx
1840
+ function Sr({ className: e, ...t }) {
1841
+ return /* @__PURE__ */ r("kbd", {
1842
+ "data-slot": "kbd",
1843
+ className: z("inline-flex h-5 min-w-5 items-center justify-center rounded-[5px] border border-b-2 bg-muted px-1.5 font-mono text-[11px] text-muted-foreground", e),
1402
1844
  ...t
1403
1845
  });
1404
1846
  }
1405
- function Xn({ className: e, ...t }) {
1406
- return /* @__PURE__ */ r(j.Item, {
1407
- "data-slot": "command-item",
1408
- className: M(Y, "data-[selected=true]:bg-accent", e),
1847
+ // src/ui/layout/resizable.component.tsx
1848
+ function Cr({ className: e, ...t }) {
1849
+ return /* @__PURE__ */ r(Oe, {
1850
+ "data-slot": "resizable-panel-group",
1851
+ className: z("flex size-full", e),
1409
1852
  ...t
1410
1853
  });
1411
1854
  }
1412
- function Zn({ className: e, ...t }) {
1413
- return /* @__PURE__ */ r(j.Separator, {
1414
- "data-slot": "command-separator",
1415
- className: M(Hn, e),
1416
- ...t
1855
+ function wr(e) {
1856
+ return /* @__PURE__ */ r(ke, {
1857
+ "data-slot": "resizable-panel",
1858
+ ...e
1417
1859
  });
1418
1860
  }
1419
- function Qn({ className: e, ...t }) {
1420
- return /* @__PURE__ */ r("span", {
1421
- "data-slot": "command-shortcut",
1422
- className: M(Vn, e),
1861
+ function Tr({ className: e, ...t }) {
1862
+ return /* @__PURE__ */ r(Ae, {
1863
+ "data-slot": "resizable-handle",
1864
+ className: z("relative flex w-px shrink-0 items-center justify-center bg-border outline-none after:absolute after:inset-y-0 after:start-1/2 after:w-2 after:-translate-x-1/2", "hover:bg-ring focus-visible:bg-ring aria-[orientation=horizontal]:h-px aria-[orientation=horizontal]:w-full", e),
1423
1865
  ...t
1424
1866
  });
1425
1867
  }
1426
- // src/ui/menu/context-menu.component.tsx
1427
- var $n = u.Root, er = u.Trigger;
1428
- function tr({ className: e, ...t }) {
1429
- return /* @__PURE__ */ r(u.Portal, { children: /* @__PURE__ */ r(u.Content, {
1430
- "data-slot": "context-menu-content",
1431
- className: M(Bn, "origin-(--radix-context-menu-content-transform-origin)", e),
1432
- ...t
1433
- }) });
1868
+ // src/ui/layout/scroll-area.component.tsx
1869
+ function Er({ className: e, children: t, ...n }) {
1870
+ return /* @__PURE__ */ i(b.Root, {
1871
+ "data-slot": "scroll-area",
1872
+ className: z("relative overflow-hidden", e),
1873
+ ...n,
1874
+ children: [
1875
+ /* @__PURE__ */ r(b.Viewport, {
1876
+ className: "size-full rounded-[inherit] outline-none focus-visible:ring-2 focus-visible:ring-ring",
1877
+ children: t
1878
+ }),
1879
+ /* @__PURE__ */ r(Dr, {}),
1880
+ /* @__PURE__ */ r(Dr, { orientation: "horizontal" }),
1881
+ /* @__PURE__ */ r(b.Corner, {})
1882
+ ]
1883
+ });
1434
1884
  }
1435
- function nr({ className: e, variant: t = "default", ...n }) {
1436
- return /* @__PURE__ */ r(u.Item, {
1437
- "data-slot": "context-menu-item",
1438
- "data-variant": t,
1439
- className: M(Y, e),
1440
- ...n
1885
+ function Dr({ className: e, orientation: t = "vertical", ...n }) {
1886
+ return /* @__PURE__ */ r(b.Scrollbar, {
1887
+ "data-slot": "scroll-area-scrollbar",
1888
+ orientation: t,
1889
+ className: z("flex touch-none select-none p-px", t === "vertical" ? "h-full w-2" : "h-2 flex-col", e),
1890
+ ...n,
1891
+ children: /* @__PURE__ */ r(b.Thumb, { className: "relative flex-1 rounded-full bg-input" })
1441
1892
  });
1442
1893
  }
1443
- function rr({ className: e, ...t }) {
1444
- return /* @__PURE__ */ r(u.Separator, {
1445
- "data-slot": "context-menu-separator",
1446
- className: M(Hn, e),
1447
- ...t
1894
+ // src/ui/layout/separator.component.tsx
1895
+ function Or({ className: e, orientation: t = "horizontal", decorative: n = !0, ...i }) {
1896
+ return /* @__PURE__ */ r(ee.Root, {
1897
+ "data-slot": "separator",
1898
+ orientation: t,
1899
+ decorative: n,
1900
+ className: z("shrink-0 bg-border", t === "horizontal" ? "h-px w-full" : "w-px self-stretch", e),
1901
+ ...i
1448
1902
  });
1449
1903
  }
1450
- function ir({ className: e, ...t }) {
1451
- return /* @__PURE__ */ r("span", {
1452
- "data-slot": "context-menu-shortcut",
1453
- className: M(Vn, e),
1454
- ...t
1904
+ // src/ui/layout/table.component.tsx
1905
+ function kr({ className: e, ...t }) {
1906
+ return /* @__PURE__ */ r("div", {
1907
+ "data-slot": "table-container",
1908
+ className: "relative w-full overflow-x-auto",
1909
+ children: /* @__PURE__ */ r("table", {
1910
+ "data-slot": "table",
1911
+ className: z("w-full caption-bottom border-collapse text-[13px]", e),
1912
+ ...t
1913
+ })
1455
1914
  });
1456
1915
  }
1457
- // src/ui/menu/dropdown-menu.component.tsx
1458
- var ar = f.Root, or = f.Trigger, sr = f.Group, cr = f.RadioGroup;
1459
- function lr({ className: e, sideOffset: t = 6, ...n }) {
1460
- return /* @__PURE__ */ r(f.Portal, { children: /* @__PURE__ */ r(f.Content, {
1461
- "data-slot": "dropdown-menu-content",
1462
- sideOffset: t,
1463
- className: M(Bn, "origin-(--radix-dropdown-menu-content-transform-origin)", e),
1464
- ...n
1465
- }) });
1916
+ function Ar(e) {
1917
+ return /* @__PURE__ */ r("thead", {
1918
+ "data-slot": "table-header",
1919
+ ...e
1920
+ });
1466
1921
  }
1467
- function ur({ className: e, variant: t = "default", ...n }) {
1468
- return /* @__PURE__ */ r(f.Item, {
1469
- "data-slot": "dropdown-menu-item",
1470
- "data-variant": t,
1471
- className: M(Y, e),
1472
- ...n
1922
+ function jr(e) {
1923
+ return /* @__PURE__ */ r("tbody", {
1924
+ "data-slot": "table-body",
1925
+ ...e
1473
1926
  });
1474
1927
  }
1475
- function dr({ className: e, children: t, ...n }) {
1476
- return /* @__PURE__ */ i(f.RadioItem, {
1477
- "data-slot": "dropdown-menu-radio-item",
1478
- className: M(Y, "ps-7", e),
1479
- ...n,
1480
- children: [/* @__PURE__ */ r("span", {
1481
- className: "absolute start-2.5 flex size-2 items-center justify-center",
1482
- children: /* @__PURE__ */ r(f.ItemIndicator, { children: /* @__PURE__ */ r("span", { className: "block size-2 rounded-full bg-brand" }) })
1483
- }), t]
1928
+ function Mr({ className: e, ...t }) {
1929
+ return /* @__PURE__ */ r("tr", {
1930
+ "data-slot": "table-row",
1931
+ className: z("border-b transition-colors hover:bg-muted/60 data-[state=selected]:bg-muted", e),
1932
+ ...t
1484
1933
  });
1485
1934
  }
1486
- function fr({ className: e, ...t }) {
1487
- return /* @__PURE__ */ r(f.Label, {
1488
- "data-slot": "dropdown-menu-label",
1489
- className: M(Un, e),
1935
+ function Nr({ className: e, ...t }) {
1936
+ return /* @__PURE__ */ r("th", {
1937
+ "data-slot": "table-head",
1938
+ className: z("h-9 whitespace-nowrap px-3 text-start align-middle font-medium text-muted-foreground", e),
1490
1939
  ...t
1491
1940
  });
1492
1941
  }
1493
- function pr({ className: e, ...t }) {
1494
- return /* @__PURE__ */ r(f.Separator, {
1495
- "data-slot": "dropdown-menu-separator",
1496
- className: M(Hn, e),
1942
+ function Pr({ className: e, ...t }) {
1943
+ return /* @__PURE__ */ r("td", {
1944
+ "data-slot": "table-cell",
1945
+ className: z("px-3 py-[11px] align-middle", e),
1497
1946
  ...t
1498
1947
  });
1499
1948
  }
1500
- function mr({ className: e, ...t }) {
1501
- return /* @__PURE__ */ r("span", {
1502
- "data-slot": "dropdown-menu-shortcut",
1503
- className: M(Vn, e),
1949
+ function Fr({ className: e, ...t }) {
1950
+ return /* @__PURE__ */ r("caption", {
1951
+ "data-slot": "table-caption",
1952
+ className: z("mt-3 text-xs text-muted-foreground", e),
1504
1953
  ...t
1505
1954
  });
1506
1955
  }
1507
1956
  // src/ui/navigation/breadcrumb.component.tsx
1508
- function hr({ "aria-label": e = "Breadcrumb", ...t }) {
1957
+ function Ir({ "aria-label": e = "Breadcrumb", ...t }) {
1509
1958
  return /* @__PURE__ */ r("nav", {
1510
1959
  "data-slot": "breadcrumb",
1511
1960
  "aria-label": e,
1512
1961
  ...t
1513
1962
  });
1514
1963
  }
1515
- function gr({ className: e, ...t }) {
1964
+ function Lr({ className: e, ...t }) {
1516
1965
  return /* @__PURE__ */ r("ol", {
1517
1966
  "data-slot": "breadcrumb-list",
1518
- className: M("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1967
+ className: z("m-0 flex list-none flex-wrap items-center gap-2 p-0 text-[13px] text-muted-foreground", e),
1519
1968
  ...t
1520
1969
  });
1521
1970
  }
1522
- function _r({ className: e, ...t }) {
1971
+ function Rr({ className: e, ...t }) {
1523
1972
  return /* @__PURE__ */ r("li", {
1524
1973
  "data-slot": "breadcrumb-item",
1525
- className: M("inline-flex items-center gap-2", e),
1974
+ className: z("inline-flex items-center gap-2", e),
1526
1975
  ...t
1527
1976
  });
1528
1977
  }
1529
- function vr({ asChild: e = !1, className: t, ...n }) {
1530
- let i = e ? S.Root : "a";
1978
+ function zr({ asChild: e = !1, className: t, ...n }) {
1979
+ let i = e ? C.Root : "a";
1531
1980
  return /* @__PURE__ */ r(i, {
1532
1981
  "data-slot": "breadcrumb-link",
1533
- className: M("text-inherit no-underline transition-colors hover:text-foreground", t),
1982
+ className: z("text-inherit no-underline transition-colors hover:text-foreground", t),
1534
1983
  ...n
1535
1984
  });
1536
1985
  }
1537
- function yr({ className: e, ...t }) {
1986
+ function Br({ className: e, ...t }) {
1538
1987
  return /* @__PURE__ */ r("span", {
1539
1988
  "data-slot": "breadcrumb-page",
1540
1989
  "aria-current": "page",
1541
- className: M("font-medium text-foreground", e),
1990
+ className: z("font-medium text-foreground", e),
1542
1991
  ...t
1543
1992
  });
1544
1993
  }
1545
- function br({ children: e = "/", ...t }) {
1994
+ function Vr({ children: e = "/", ...t }) {
1546
1995
  return /* @__PURE__ */ r("li", {
1547
1996
  "data-slot": "breadcrumb-separator",
1548
1997
  role: "presentation",
@@ -1552,15 +2001,15 @@ function br({ children: e = "/", ...t }) {
1552
2001
  });
1553
2002
  }
1554
2003
  // src/ui/navigation/menu-icon.component.tsx
1555
- var xr = "origin-center [transform-box:fill-box] motion-reduce:[animation-duration:1ms]";
1556
- function Sr({ open: e, className: t, ...n }) {
2004
+ var Hr = "origin-center [transform-box:fill-box] motion-reduce:[animation-duration:1ms]";
2005
+ function Ur({ open: e, className: t, ...n }) {
1557
2006
  return /* @__PURE__ */ i("svg", {
1558
2007
  "data-slot": "menu-icon",
1559
2008
  "data-state": e === void 0 ? void 0 : e ? "open" : "closed",
1560
2009
  viewBox: "0 0 24 24",
1561
2010
  fill: "currentColor",
1562
2011
  "aria-hidden": "true",
1563
- className: M("group/menu-icon size-5", t),
2012
+ className: z("group/menu-icon size-5", t),
1564
2013
  ...n,
1565
2014
  children: [
1566
2015
  /* @__PURE__ */ r("rect", {
@@ -1569,7 +2018,7 @@ function Sr({ open: e, className: t, ...n }) {
1569
2018
  width: "16",
1570
2019
  height: "2",
1571
2020
  rx: "1",
1572
- className: M(xr, "group-data-[state=open]/menu-icon:animate-menu-line-top-open group-data-[state=closed]/menu-icon:animate-menu-line-top-close")
2021
+ className: z(Hr, "group-data-[state=open]/menu-icon:animate-menu-line-top-open group-data-[state=closed]/menu-icon:animate-menu-line-top-close")
1573
2022
  }),
1574
2023
  /* @__PURE__ */ r("rect", {
1575
2024
  x: "4",
@@ -1577,7 +2026,7 @@ function Sr({ open: e, className: t, ...n }) {
1577
2026
  width: "16",
1578
2027
  height: "2",
1579
2028
  rx: "1",
1580
- className: M(xr, "group-data-[state=open]/menu-icon:animate-menu-line-middle-open group-data-[state=closed]/menu-icon:animate-menu-line-middle-close")
2029
+ className: z(Hr, "group-data-[state=open]/menu-icon:animate-menu-line-middle-open group-data-[state=closed]/menu-icon:animate-menu-line-middle-close")
1581
2030
  }),
1582
2031
  /* @__PURE__ */ r("rect", {
1583
2032
  x: "4",
@@ -1585,62 +2034,62 @@ function Sr({ open: e, className: t, ...n }) {
1585
2034
  width: "16",
1586
2035
  height: "2",
1587
2036
  rx: "1",
1588
- className: M(xr, "group-data-[state=open]/menu-icon:animate-menu-line-bottom-open group-data-[state=closed]/menu-icon:animate-menu-line-bottom-close")
2037
+ className: z(Hr, "group-data-[state=open]/menu-icon:animate-menu-line-bottom-open group-data-[state=closed]/menu-icon:animate-menu-line-bottom-close")
1589
2038
  })
1590
2039
  ]
1591
2040
  });
1592
2041
  }
1593
2042
  // src/ui/navigation/menubar.component.tsx
1594
- function Cr({ className: e, ...t }) {
2043
+ function Wr({ className: e, ...t }) {
1595
2044
  return /* @__PURE__ */ r(m.Root, {
1596
2045
  "data-slot": "menubar",
1597
- className: M("flex items-center gap-0.5", e),
2046
+ className: z("flex items-center gap-0.5", e),
1598
2047
  ...t
1599
2048
  });
1600
2049
  }
1601
- var wr = m.Menu;
1602
- function Tr({ className: e, ...t }) {
2050
+ var Gr = m.Menu;
2051
+ function Kr({ className: e, ...t }) {
1603
2052
  return /* @__PURE__ */ r(m.Trigger, {
1604
2053
  "data-slot": "menubar-trigger",
1605
- className: M("flex h-[26px] cursor-default select-none items-center rounded-sm px-2 text-[13px] outline-none hover:bg-accent focus:bg-accent data-[state=open]:bg-accent", e),
2054
+ className: z("flex h-[26px] cursor-default select-none items-center rounded-sm px-2 text-[13px] outline-none hover:bg-accent focus:bg-accent data-[state=open]:bg-accent", e),
1606
2055
  ...t
1607
2056
  });
1608
2057
  }
1609
- function Er({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
2058
+ function qr({ className: e, align: t = "start", sideOffset: n = 6, ...i }) {
1610
2059
  return /* @__PURE__ */ r(m.Portal, { children: /* @__PURE__ */ r(m.Content, {
1611
2060
  "data-slot": "menubar-content",
1612
2061
  align: t,
1613
2062
  sideOffset: n,
1614
- className: M("z-50 min-w-48 origin-(--radix-menubar-content-transform-origin) rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
2063
+ className: z("z-50 min-w-48 origin-(--radix-menubar-content-transform-origin) rounded-lg border bg-popover p-1 text-popover-foreground shadow-md data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
1615
2064
  ...i
1616
2065
  }) });
1617
2066
  }
1618
- function Dr({ className: e, ...t }) {
2067
+ function Jr({ className: e, ...t }) {
1619
2068
  return /* @__PURE__ */ r(m.Item, {
1620
2069
  "data-slot": "menubar-item",
1621
- className: M("relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-1.5 text-[13px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
2070
+ className: z("relative flex cursor-default select-none items-center gap-2.5 rounded-sm px-2.5 py-1.5 text-[13px] outline-none focus:bg-accent data-disabled:pointer-events-none data-disabled:opacity-50", e),
1622
2071
  ...t
1623
2072
  });
1624
2073
  }
1625
- function Or({ className: e, ...t }) {
2074
+ function Yr({ className: e, ...t }) {
1626
2075
  return /* @__PURE__ */ r("span", {
1627
2076
  "data-slot": "menubar-shortcut",
1628
- className: M("ms-auto text-xs text-muted-foreground", e),
2077
+ className: z("ms-auto text-xs text-muted-foreground", e),
1629
2078
  ...t
1630
2079
  });
1631
2080
  }
1632
- function kr({ className: e, ...t }) {
2081
+ function Xr({ className: e, ...t }) {
1633
2082
  return /* @__PURE__ */ r(m.Separator, {
1634
2083
  "data-slot": "menubar-separator",
1635
- className: M("-mx-1 my-1 h-px bg-border", e),
2084
+ className: z("-mx-1 my-1 h-px bg-border", e),
1636
2085
  ...t
1637
2086
  });
1638
2087
  }
1639
2088
  // src/ui/navigation/navigation-menu.component.tsx
1640
- function Ar({ className: e, children: t, ...n }) {
2089
+ function Zr({ className: e, children: t, ...n }) {
1641
2090
  return /* @__PURE__ */ i(h.Root, {
1642
2091
  "data-slot": "navigation-menu",
1643
- className: M("relative flex items-center", e),
2092
+ className: z("relative flex items-center", e),
1644
2093
  ...n,
1645
2094
  children: [t, /* @__PURE__ */ r("div", {
1646
2095
  className: "absolute start-0 top-full flex justify-center",
@@ -1648,50 +2097,50 @@ function Ar({ className: e, children: t, ...n }) {
1648
2097
  })]
1649
2098
  });
1650
2099
  }
1651
- function jr({ className: e, ...t }) {
2100
+ function Qr({ className: e, ...t }) {
1652
2101
  return /* @__PURE__ */ r(h.List, {
1653
2102
  "data-slot": "navigation-menu-list",
1654
- className: M("m-0 flex list-none items-center gap-1 p-0", e),
2103
+ className: z("m-0 flex list-none items-center gap-1 p-0", e),
1655
2104
  ...t
1656
2105
  });
1657
2106
  }
1658
- var Mr = h.Item, Nr = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center gap-1 rounded-md bg-transparent px-3 text-[15px] font-medium text-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-accent";
1659
- function Pr({ className: e, children: t, ...n }) {
2107
+ var $r = h.Item, ei = "inline-flex h-[calc(var(--control-h)-6px)] cursor-pointer items-center gap-1 rounded-md bg-transparent px-3 text-[15px] font-medium text-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-accent focus-visible:ring-2 focus-visible:ring-ring data-[state=open]:bg-accent";
2108
+ function ti({ className: e, children: t, ...n }) {
1660
2109
  return /* @__PURE__ */ i(h.Trigger, {
1661
2110
  "data-slot": "navigation-menu-trigger",
1662
- className: M(Nr, "group", e),
2111
+ className: z(ei, "group", e),
1663
2112
  ...n,
1664
- children: [t, /* @__PURE__ */ r(ae, {
2113
+ children: [t, /* @__PURE__ */ r(re, {
1665
2114
  className: "size-4 transition-transform duration-200 ease-emphasised group-data-[state=open]:rotate-180 motion-reduce:transition-none",
1666
2115
  "aria-hidden": "true"
1667
2116
  })]
1668
2117
  });
1669
2118
  }
1670
- function Fr({ className: e, ...t }) {
2119
+ function ni({ className: e, ...t }) {
1671
2120
  return /* @__PURE__ */ r(h.Content, {
1672
2121
  "data-slot": "navigation-menu-content",
1673
- className: M("top-0 start-0 w-full origin-top p-2 md:absolute md:w-auto", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
2122
+ className: z("top-0 start-0 w-full origin-top p-2 md:absolute md:w-auto", "data-[state=open]:animate-zoom-in data-[state=closed]:animate-zoom-out motion-reduce:data-[state=open]:animate-fade-in motion-reduce:data-[state=closed]:animate-fade-out", e),
1674
2123
  ...t
1675
2124
  });
1676
2125
  }
1677
- function Ir({ className: e, ...t }) {
2126
+ function ri({ className: e, ...t }) {
1678
2127
  return /* @__PURE__ */ r(h.Link, {
1679
2128
  "data-slot": "navigation-menu-link",
1680
- className: M(Nr, e),
2129
+ className: z(ei, e),
1681
2130
  ...t
1682
2131
  });
1683
2132
  }
1684
2133
  // src/ui/navigation/pagination.component.tsx
1685
- function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className: o }) {
2134
+ function ii({ page: e, pageCount: t, onPageChange: n, window: a = 3, className: o }) {
1686
2135
  let s = Math.max(1, Math.min(e - Math.floor(a / 2), t - a + 1)), c = Array.from({ length: Math.min(a, t) }, (e, t) => s + t);
1687
2136
  return /* @__PURE__ */ i("nav", {
1688
2137
  "data-slot": "pagination",
1689
2138
  "aria-label": "Pagination",
1690
- className: M("flex items-center gap-1", o),
2139
+ className: z("flex items-center gap-1", o),
1691
2140
  children: [
1692
2141
  /* @__PURE__ */ r("button", {
1693
2142
  type: "button",
1694
- className: z({
2143
+ className: K({
1695
2144
  variant: "ghost",
1696
2145
  size: "sm"
1697
2146
  }),
@@ -1703,7 +2152,7 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
1703
2152
  type: "button",
1704
2153
  "aria-current": t === e ? "page" : void 0,
1705
2154
  "aria-label": `Page ${t}`,
1706
- className: z({
2155
+ className: K({
1707
2156
  variant: t === e ? "outline" : "ghost",
1708
2157
  size: "icon-sm"
1709
2158
  }),
@@ -1712,7 +2161,7 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
1712
2161
  }, t)),
1713
2162
  /* @__PURE__ */ r("button", {
1714
2163
  type: "button",
1715
- className: z({
2164
+ className: K({
1716
2165
  variant: "ghost",
1717
2166
  size: "sm"
1718
2167
  }),
@@ -1724,68 +2173,122 @@ function Lr({ page: e, pageCount: t, onPageChange: n, window: a = 3, className:
1724
2173
  });
1725
2174
  }
1726
2175
  // src/ui/navigation/tabs.component.tsx
1727
- function Rr({ className: e, ...t }) {
1728
- return /* @__PURE__ */ r(C.Root, {
2176
+ function ai({ className: e, value: t, defaultValue: n, onValueChange: i, orientation: a = "horizontal", ...o }) {
2177
+ let s = F(null), c = F(t ?? n), [l, u] = I(), d = Se((e) => {
2178
+ let t = [...s.current?.querySelectorAll("[data-slot=tabs-trigger]") ?? []].map((e) => e.dataset.value), n = t.indexOf(c.current), r = t.indexOf(e);
2179
+ if (c.current = e, n === -1 || r === -1 || n === r) return;
2180
+ let i = r > n;
2181
+ u(a === "vertical" ? i ? "below" : "above" : i ? "next" : "previous");
2182
+ }, [a]);
2183
+ return P(() => {
2184
+ t !== void 0 && t !== c.current && d(t);
2185
+ }, [t, d]), /* @__PURE__ */ r(T.Root, {
2186
+ ref: s,
1729
2187
  "data-slot": "tabs",
1730
- className: M("flex flex-col gap-3", e),
1731
- ...t
2188
+ "data-direction": l,
2189
+ value: t,
2190
+ defaultValue: n,
2191
+ orientation: a,
2192
+ onValueChange: (e) => {
2193
+ d(e), i?.(e);
2194
+ },
2195
+ className: z("group/tabs flex gap-3 data-[orientation=horizontal]:flex-col", e),
2196
+ ...o
1732
2197
  });
1733
2198
  }
1734
- function zr({ className: e, variant: t = "pill", children: n, ...a }) {
1735
- let o = dt("[data-state=active]");
1736
- return /* @__PURE__ */ i(C.List, {
1737
- ref: o,
2199
+ var oi = {
2200
+ pill: "gap-0.5 rounded-md bg-muted p-[3px]",
2201
+ underline: "w-full gap-5 border-b data-[orientation=vertical]:w-auto data-[orientation=vertical]:gap-1 data-[orientation=vertical]:border-b-0 data-[orientation=vertical]:border-e",
2202
+ outline: "w-full gap-1 border-b data-[orientation=vertical]:w-auto data-[orientation=vertical]:border-b-0 data-[orientation=vertical]:border-e"
2203
+ }, si = {
2204
+ pill: "rounded-sm bg-background shadow-xs",
2205
+ underline: "bg-brand group-data-[orientation=horizontal]/tabs-list:top-auto group-data-[orientation=horizontal]/tabs-list:-bottom-px group-data-[orientation=horizontal]/tabs-list:h-0.5 group-data-[orientation=vertical]/tabs-list:left-auto group-data-[orientation=vertical]/tabs-list:-end-px group-data-[orientation=vertical]/tabs-list:w-0.5",
2206
+ outline: "border bg-background before:absolute before:bg-brand group-data-[orientation=horizontal]/tabs-list:h-[calc(var(--indicator-height)+1px)] group-data-[orientation=horizontal]/tabs-list:rounded-t-md group-data-[orientation=horizontal]/tabs-list:border-b-0 group-data-[orientation=horizontal]/tabs-list:before:inset-x-[-1px] group-data-[orientation=horizontal]/tabs-list:before:-top-px group-data-[orientation=horizontal]/tabs-list:before:h-0.5 group-data-[orientation=horizontal]/tabs-list:before:rounded-t-md group-data-[orientation=vertical]/tabs-list:w-[calc(var(--indicator-width)+1px)] group-data-[orientation=vertical]/tabs-list:rounded-s-md group-data-[orientation=vertical]/tabs-list:border-e-0 group-data-[orientation=vertical]/tabs-list:before:inset-y-[-1px] group-data-[orientation=vertical]/tabs-list:before:-start-px group-data-[orientation=vertical]/tabs-list:before:w-0.5 group-data-[orientation=vertical]/tabs-list:before:rounded-s-md"
2207
+ };
2208
+ function ci({ className: e, variant: t = "pill", fitted: n = !1, children: a, ...o }) {
2209
+ let s = lt("[data-slot=tabs-trigger][data-state=active]");
2210
+ return /* @__PURE__ */ i(T.List, {
2211
+ ref: s,
1738
2212
  "data-slot": "tabs-list",
1739
2213
  "data-variant": t,
1740
- className: M("group/tabs-list group/indicator relative inline-flex w-fit items-center", t === "pill" ? "gap-0.5 rounded-md bg-muted p-[3px]" : "w-full gap-5 border-b", e),
1741
- ...a,
2214
+ className: z("group/tabs-list group/indicator relative inline-flex w-fit items-center data-[orientation=vertical]:flex-col data-[orientation=vertical]:items-stretch", oi[t], n && "w-full [&>[data-slot=tabs-trigger]]:flex-1", e),
2215
+ ...o,
1742
2216
  children: [/* @__PURE__ */ r("span", {
1743
2217
  "aria-hidden": "true",
1744
2218
  "data-slot": "tabs-indicator",
1745
- className: M(ft, t === "pill" ? "rounded-sm bg-background shadow-xs" : "top-auto -bottom-px h-0.5 bg-brand")
1746
- }), n]
2219
+ className: z(ut, si[t])
2220
+ }), a]
1747
2221
  });
1748
2222
  }
1749
- function Br({ className: e, ...t }) {
1750
- return /* @__PURE__ */ r(C.Trigger, {
2223
+ function li(e) {
2224
+ e.preventDefault(), e.stopPropagation();
2225
+ }
2226
+ function ui({ className: e, count: t, onClose: n, closeLabel: a = "Close tab", onKeyDown: o, children: s, value: c, ...l }) {
2227
+ return /* @__PURE__ */ i(T.Trigger, {
1751
2228
  "data-slot": "tabs-trigger",
1752
- className: M("inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "group-data-[variant=pill]/tabs-list:h-[calc(var(--control-h)-6px)] group-data-[variant=pill]/tabs-list:rounded-sm group-data-[variant=pill]/tabs-list:px-3 group-data-[variant=pill]/tabs-list:text-[13px]", "relative transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=underline]/tabs-list:-mb-px group-data-[variant=underline]/tabs-list:border-b-2 group-data-[variant=underline]/tabs-list:border-transparent group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", e),
1753
- ...t
2229
+ "data-value": c,
2230
+ value: c,
2231
+ "aria-keyshortcuts": n ? "Delete" : void 0,
2232
+ "aria-description": n ? `${a}: Delete` : void 0,
2233
+ onKeyDown: (e) => {
2234
+ o?.(e), n && !e.defaultPrevented && e.key === "Delete" && (e.preventDefault(), n());
2235
+ },
2236
+ className: z("group/tab relative inline-flex cursor-pointer items-center justify-center gap-1.5 whitespace-nowrap font-medium text-muted-foreground outline-none", "hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 [&_svg]:size-4", "transition-colors duration-150 data-[state=active]:text-foreground motion-reduce:transition-none", "group-data-[variant=pill]/tabs-list:h-[calc(var(--control-h)-6px)] group-data-[variant=pill]/tabs-list:rounded-sm group-data-[variant=pill]/tabs-list:px-3 group-data-[variant=pill]/tabs-list:text-[13px]", "group-data-[variant=underline]/tabs-list:py-2.5 group-data-[variant=underline]/tabs-list:text-sm", "group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:justify-start group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:px-3 group-data-[variant=underline]/tabs-list:data-[orientation=vertical]:py-2", "group-data-[variant=outline]/tabs-list:h-(--control-h) group-data-[variant=outline]/tabs-list:px-3.5 group-data-[variant=outline]/tabs-list:text-sm group-data-[variant=outline]/tabs-list:data-[orientation=vertical]:justify-start", e),
2237
+ ...l,
2238
+ children: [
2239
+ s,
2240
+ t === void 0 ? null : /* @__PURE__ */ r("span", {
2241
+ "data-slot": "tabs-count",
2242
+ className: "min-w-5 rounded-full bg-muted px-1.5 text-center text-[11px] leading-5 tabular-nums text-muted-foreground transition-colors group-data-[state=active]/tab:bg-brand-soft group-data-[state=active]/tab:text-brand-text",
2243
+ children: t
2244
+ }),
2245
+ n ? /* @__PURE__ */ r("span", {
2246
+ "aria-hidden": "true",
2247
+ "data-slot": "tabs-close",
2248
+ onPointerDown: li,
2249
+ onMouseDown: li,
2250
+ onClick: (e) => {
2251
+ li(e), n();
2252
+ },
2253
+ className: "-me-1 grid size-[18px] place-items-center rounded-sm opacity-50 transition-opacity hover:bg-muted hover:opacity-100 group-data-[state=active]/tab:opacity-80 [&_svg]:size-3",
2254
+ children: /* @__PURE__ */ r(N, {})
2255
+ }) : null
2256
+ ]
1754
2257
  });
1755
2258
  }
1756
- function Vr({ className: e, ...t }) {
1757
- return /* @__PURE__ */ r(C.Content, {
2259
+ function di({ className: e, ...t }) {
2260
+ return /* @__PURE__ */ r(T.Content, {
1758
2261
  "data-slot": "tabs-content",
1759
- className: M("flex-1 outline-none", e),
2262
+ className: z("flex-1 outline-none", "group-data-[direction=next]/tabs:animate-tab-in-next group-data-[direction=previous]/tabs:animate-tab-in-previous", "group-data-[direction=below]/tabs:animate-tab-in-below group-data-[direction=above]/tabs:animate-tab-in-above motion-reduce:animate-none", e),
1760
2263
  ...t
1761
2264
  });
1762
2265
  }
1763
2266
  // src/ui/navigation/stepper.component.tsx
1764
- var Hr = {
2267
+ var fi = {
1765
2268
  done: "bg-primary text-primary-foreground",
1766
2269
  current: "border-2 border-primary text-brand-text",
1767
2270
  upcoming: "bg-muted text-muted-foreground"
1768
2271
  };
1769
- function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect: a, className: o, "aria-label": s = "Progress", ...c }) {
2272
+ function pi({ steps: e, current: t, orientation: n = "horizontal", onStepSelect: a, className: o, "aria-label": s = "Progress", ...c }) {
1770
2273
  let l = n === "vertical";
1771
2274
  return /* @__PURE__ */ r("ol", {
1772
2275
  "data-slot": "stepper",
1773
2276
  "data-orientation": n,
1774
2277
  "aria-label": s,
1775
- className: M("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
2278
+ className: z("m-0 flex list-none p-0", l ? "flex-col" : "items-start", o),
1776
2279
  ...c,
1777
2280
  children: e.map((n, o) => {
1778
2281
  let s = o < t ? "done" : o === t ? "current" : "upcoming", c = o === e.length - 1, u = /* @__PURE__ */ r("span", {
1779
2282
  "aria-hidden": "true",
1780
- className: M("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", Hr[s]),
1781
- children: s === "done" ? /* @__PURE__ */ r(T, {
2283
+ className: z("grid size-7 shrink-0 place-items-center rounded-full text-xs font-semibold transition-colors duration-200 motion-reduce:transition-none", fi[s]),
2284
+ children: s === "done" ? /* @__PURE__ */ r(k, {
1782
2285
  className: "size-3.5",
1783
2286
  strokeWidth: 2.5
1784
2287
  }) : o + 1
1785
2288
  }), d = /* @__PURE__ */ i("span", {
1786
2289
  className: "flex min-w-0 flex-col",
1787
2290
  children: [/* @__PURE__ */ i("span", {
1788
- className: M("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
2291
+ className: z("text-[13px] font-medium", s === "upcoming" && "text-muted-foreground"),
1789
2292
  children: [n.title, s === "done" && /* @__PURE__ */ r("span", {
1790
2293
  className: "sr-only",
1791
2294
  children: ", done"
@@ -1806,24 +2309,24 @@ function Ur({ steps: e, current: t, orientation: n = "horizontal", onStepSelect:
1806
2309
  return /* @__PURE__ */ i("li", {
1807
2310
  "data-state": s,
1808
2311
  "aria-current": s === "current" ? "step" : void 0,
1809
- className: M("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
2312
+ className: z("flex", l ? "flex-col" : "items-center gap-2", !c && !l && "flex-1"),
1810
2313
  children: [f, !c && /* @__PURE__ */ r("span", {
1811
2314
  "aria-hidden": "true",
1812
- className: M("shrink-0 bg-border transition-colors duration-200 motion-reduce:transition-none", l ? "my-1 ms-[13px] h-5 w-0.5" : "h-0.5 min-w-4 flex-1", s === "done" && "bg-primary")
2315
+ className: z("shrink-0 bg-border transition-colors duration-200 motion-reduce:transition-none", l ? "my-1 ms-[13px] h-5 w-0.5" : "h-0.5 min-w-4 flex-1", s === "done" && "bg-primary")
1813
2316
  })]
1814
2317
  }, n.title);
1815
2318
  })
1816
2319
  });
1817
2320
  }
1818
2321
  // src/ui/sidebar/sidebar-context.hook.ts
1819
- var Wr = Ce(null);
1820
- function X() {
1821
- let e = Ee(Wr);
2322
+ var mi = be(null);
2323
+ function Z() {
2324
+ let e = Ce(mi);
1822
2325
  if (!e) throw Error("A sidebar part must be inside a Sidebar.");
1823
2326
  return e;
1824
2327
  }
1825
2328
  // src/ui/sidebar/sidebar.recipe.ts
1826
- var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", Gr = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", Kr = "flex h-9 w-full shrink-0 cursor-pointer items-center gap-3 rounded-md px-3 text-[13.5px] font-medium text-muted-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-sidebar-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-sidebar-ring [&_svg]:size-4 [&_svg]:shrink-0 aria-[current]:bg-brand-soft aria-[current]:text-brand-text", qr = {
2329
+ var Q = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] duration-150 ease-out [transition-delay:60ms,60ms] motion-reduce:transition-none group-data-[collapsed]/sidebar:shrink-0 group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 group-data-[collapsed]/sidebar:[transition-delay:0ms] in-data-[slot=sidebar-sheet]:animate-sidebar-label-in motion-reduce:in-data-[slot=sidebar-sheet]:animate-none", hi = "grid grid-rows-[1fr] transition-[grid-template-rows,opacity,translate,margin] duration-200 ease-out motion-reduce:transition-none group-data-[collapsed]/sidebar:-mt-2 group-data-[collapsed]/sidebar:translate-y-2 group-data-[collapsed]/sidebar:grid-rows-[0fr] group-data-[collapsed]/sidebar:opacity-0", gi = "flex h-9 w-full shrink-0 cursor-pointer items-center gap-3 rounded-md px-3 text-[13.5px] font-medium text-muted-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none hover:bg-sidebar-accent hover:text-foreground focus-visible:ring-2 focus-visible:ring-sidebar-ring [&_svg]:size-4 [&_svg]:shrink-0 aria-[current]:bg-brand-soft aria-[current]:text-brand-text", _i = {
1827
2330
  panel: {
1828
2331
  open: "w-64 gap-2 px-1.5 py-2.5",
1829
2332
  collapsed: "w-12 gap-2 px-1.5 pt-2.5 pb-24"
@@ -1833,12 +2336,12 @@ var Z = "min-w-0 truncate whitespace-nowrap transition-[translate,opacity] durat
1833
2336
  collapsed: "w-14 gap-4 px-2 py-3"
1834
2337
  }
1835
2338
  };
1836
- function Jr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
1837
- let [d, f] = k(o), p = a ?? d;
2339
+ function vi({ label: e, variant: t = "panel", side: n = "start", collapsed: a, defaultCollapsed: o = !1, onCollapsedChange: s, className: c, children: l, ...u }) {
2340
+ let [d, f] = I(o), p = a ?? d;
1838
2341
  function m(e) {
1839
2342
  a === void 0 && f(e), s?.(e);
1840
2343
  }
1841
- return /* @__PURE__ */ r(Wr, {
2344
+ return /* @__PURE__ */ r(mi, {
1842
2345
  value: {
1843
2346
  collapsed: p,
1844
2347
  setCollapsed: m,
@@ -1851,7 +2354,7 @@ function Jr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
1851
2354
  "data-variant": t,
1852
2355
  "data-collapsed": p || void 0,
1853
2356
  "aria-label": e,
1854
- className: M("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ? qr[t].collapsed : qr[t].open, c),
2357
+ className: z("group/sidebar flex h-full min-h-0 shrink-0 flex-col overflow-hidden bg-sidebar text-[13px] text-sidebar-foreground", n === "start" ? "border-e border-sidebar-border" : "border-s border-sidebar-border", "relative transition-[width] duration-150 ease-out motion-reduce:transition-none", p ? _i[t].collapsed : _i[t].open, c),
1855
2358
  ...u,
1856
2359
  children: [l, t === "panel" && /* @__PURE__ */ r("span", {
1857
2360
  "aria-hidden": "true",
@@ -1861,78 +2364,78 @@ function Jr({ label: e, variant: t = "panel", side: n = "start", collapsed: a, d
1861
2364
  })
1862
2365
  });
1863
2366
  }
1864
- function Q({ label: e, children: t }) {
1865
- let { collapsed: n, side: a } = X(), [o, s] = k(!1);
1866
- return /* @__PURE__ */ i(Ln, {
2367
+ function yi({ label: e, children: t }) {
2368
+ let { collapsed: n, side: a } = Z(), [o, s] = I(!1);
2369
+ return /* @__PURE__ */ i(dn, {
1867
2370
  open: n && o,
1868
2371
  onOpenChange: s,
1869
- children: [/* @__PURE__ */ r(Rn, {
2372
+ children: [/* @__PURE__ */ r(fn, {
1870
2373
  asChild: !0,
1871
2374
  children: t
1872
- }), /* @__PURE__ */ r(zn, {
2375
+ }), /* @__PURE__ */ r(pn, {
1873
2376
  side: a === "start" ? "right" : "left",
1874
2377
  children: e
1875
2378
  })]
1876
2379
  });
1877
2380
  }
1878
- function Yr({ className: e, ...t }) {
1879
- let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = X(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
1880
- if (c === "nav") return /* @__PURE__ */ r(Q, {
2381
+ function bi({ className: e, ...t }) {
2382
+ let { collapsed: n, setCollapsed: a, label: o, side: s, variant: c } = Z(), l = c === "nav" ? `${n ? "Expand" : "Collapse"} sidebar` : `${n ? "Show" : "Hide"} ${o.toLowerCase()}`;
2383
+ if (c === "nav") return /* @__PURE__ */ r(yi, {
1881
2384
  label: l,
1882
2385
  children: /* @__PURE__ */ i("button", {
1883
2386
  type: "button",
1884
2387
  "aria-label": l,
1885
2388
  "aria-expanded": !n,
1886
2389
  onClick: () => a(!n),
1887
- className: M(Kr, e),
2390
+ className: z(gi, e),
1888
2391
  ...t,
1889
- children: [/* @__PURE__ */ r(ge, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
2392
+ children: [/* @__PURE__ */ r(de, { "aria-hidden": "true" }), /* @__PURE__ */ r("span", {
1890
2393
  "aria-hidden": "true",
1891
- className: Z,
2394
+ className: Q,
1892
2395
  children: "Collapse"
1893
2396
  })]
1894
2397
  })
1895
2398
  });
1896
2399
  let u = s === "start" !== n;
1897
- return /* @__PURE__ */ r(B, {
2400
+ return /* @__PURE__ */ r(q, {
1898
2401
  variant: "ghost",
1899
2402
  size: "icon-sm",
1900
2403
  "aria-label": l,
1901
2404
  "aria-expanded": !n,
1902
2405
  title: l,
1903
2406
  onClick: () => a(!n),
1904
- className: M("shrink-0 text-muted-foreground", e),
2407
+ className: z("shrink-0 text-muted-foreground", e),
1905
2408
  ...t,
1906
- children: r(u ? se : ce, {})
2409
+ children: r(u ? A : ae, {})
1907
2410
  });
1908
2411
  }
1909
- function Xr({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
1910
- let { collapsed: s, label: c, variant: l } = X();
2412
+ function xi({ query: e = "", onQueryChange: t, searchLabel: n, children: a, className: o }) {
2413
+ let { collapsed: s, label: c, variant: l } = Z();
1911
2414
  if (l === "nav") return /* @__PURE__ */ r("div", {
1912
2415
  "data-slot": "sidebar-header",
1913
- className: M("flex h-8 items-center", o),
2416
+ className: z("flex h-8 items-center", o),
1914
2417
  children: a
1915
2418
  });
1916
2419
  let u = n ?? `Search ${c.toLowerCase()}`;
1917
2420
  return /* @__PURE__ */ i("div", {
1918
2421
  "data-slot": "sidebar-header",
1919
- className: M("flex items-center gap-1", o),
2422
+ className: z("flex items-center gap-1", o),
1920
2423
  children: [/* @__PURE__ */ i("div", {
1921
2424
  inert: s,
1922
2425
  className: "flex min-w-0 flex-1 items-center gap-1 transition-opacity duration-150 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none",
1923
- children: [t && /* @__PURE__ */ r(W, {
2426
+ children: [t && /* @__PURE__ */ r(vt, {
1924
2427
  type: "search",
1925
2428
  value: e,
1926
2429
  onChange: (e) => t(e.target.value),
1927
2430
  placeholder: u,
1928
2431
  "aria-label": u,
1929
- startIcon: /* @__PURE__ */ r(E, {})
2432
+ startIcon: /* @__PURE__ */ r(he, {})
1930
2433
  }), a]
1931
- }), /* @__PURE__ */ r(Yr, { className: "ms-auto" })]
2434
+ }), /* @__PURE__ */ r(bi, { className: "ms-auto" })]
1932
2435
  });
1933
2436
  }
1934
- function Zr({ className: e, ...t }) {
1935
- let { label: n, variant: i } = X(), a = M("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto [scrollbar-width:thin]", "group-data-[collapsed]/sidebar:[scrollbar-width:none] group-data-[collapsed]/sidebar:[&::-webkit-scrollbar]:hidden", i === "panel" ? "gap-3" : "gap-4", e);
2437
+ function Si({ className: e, ...t }) {
2438
+ let { label: n, variant: i } = Z(), a = z("flex min-h-0 flex-1 flex-col overflow-x-hidden overflow-y-auto [scrollbar-width:thin]", "group-data-[collapsed]/sidebar:[scrollbar-width:none] group-data-[collapsed]/sidebar:[&::-webkit-scrollbar]:hidden", i === "panel" ? "gap-3" : "gap-4", e);
1936
2439
  return i === "nav" ? /* @__PURE__ */ r("nav", {
1937
2440
  "data-slot": "sidebar-content",
1938
2441
  "aria-label": n,
@@ -1944,12 +2447,12 @@ function Zr({ className: e, ...t }) {
1944
2447
  ...t
1945
2448
  });
1946
2449
  }
1947
- function Qr({ className: e, children: t, ...n }) {
1948
- let { collapsed: i } = X();
2450
+ function Ci({ className: e, children: t, ...n }) {
2451
+ let { collapsed: i } = Z();
1949
2452
  return /* @__PURE__ */ r("div", {
1950
2453
  "data-slot": "sidebar-note",
1951
2454
  "aria-hidden": i || void 0,
1952
- className: M(Gr, e),
2455
+ className: z(hi, e),
1953
2456
  ...n,
1954
2457
  children: /* @__PURE__ */ r("span", {
1955
2458
  className: "min-h-0 truncate overflow-hidden px-3 text-xs whitespace-nowrap text-muted-foreground",
@@ -1957,28 +2460,28 @@ function Qr({ className: e, children: t, ...n }) {
1957
2460
  })
1958
2461
  });
1959
2462
  }
1960
- function $r({ className: e, ...t }) {
1961
- let { collapsed: n, variant: i } = X();
2463
+ function wi({ className: e, ...t }) {
2464
+ let { collapsed: n, variant: i } = Z();
1962
2465
  return i === "panel" && n ? null : /* @__PURE__ */ r("div", {
1963
2466
  "data-slot": "sidebar-footer",
1964
- className: M("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
2467
+ className: z("mt-auto flex flex-col gap-2", i === "nav" && "border-t border-sidebar-border pt-3", e),
1965
2468
  ...t
1966
2469
  });
1967
2470
  }
1968
2471
  // src/ui/sidebar/sidebar-group.component.tsx
1969
- function ei({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
1970
- let { collapsed: u, variant: d } = X(), [f, p] = k(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
2472
+ function Ti({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collapsible: o, className: s, children: c }) {
2473
+ let { collapsed: u, variant: d } = Z(), [f, p] = I(a), m = o ?? d === "panel", h = "text-xs font-semibold tracking-[0.04em] text-muted-foreground uppercase";
1971
2474
  return m ? /* @__PURE__ */ i(l.Root, {
1972
2475
  "data-slot": "sidebar-group",
1973
2476
  open: n || u || f,
1974
2477
  onOpenChange: p,
1975
- className: M("flex flex-col gap-1", s),
2478
+ className: z("flex flex-col gap-1", s),
1976
2479
  children: [/* @__PURE__ */ i(l.Trigger, {
1977
2480
  disabled: n,
1978
2481
  inert: u,
1979
- className: M("group/trigger flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-[13px] py-0.5 text-start outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default", "whitespace-nowrap transition-[translate,opacity] duration-150 ease-out group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none"),
2482
+ className: z("group/trigger flex w-full cursor-pointer items-center gap-1.5 rounded-sm px-[13px] py-0.5 text-start outline-none hover:text-foreground focus-visible:ring-2 focus-visible:ring-ring disabled:cursor-default", "whitespace-nowrap transition-[translate,opacity] duration-150 ease-out group-data-[collapsed]/sidebar:translate-x-3 group-data-[collapsed]/sidebar:opacity-0 motion-reduce:transition-none"),
1980
2483
  children: [
1981
- /* @__PURE__ */ r(oe, {
2484
+ /* @__PURE__ */ r(ie, {
1982
2485
  "aria-hidden": "true",
1983
2486
  className: "size-3.5 shrink-0 text-muted-foreground transition-transform duration-150 group-data-[state=open]/trigger:rotate-90 motion-reduce:transition-none"
1984
2487
  }),
@@ -2001,28 +2504,28 @@ function ei({ title: e, count: t, forceOpen: n = !1, defaultOpen: a = !0, collap
2001
2504
  role: "group",
2002
2505
  "aria-label": e,
2003
2506
  "data-slot": "sidebar-group",
2004
- className: M("flex flex-col gap-0.5", s),
2507
+ className: z("flex flex-col gap-0.5", s),
2005
2508
  children: [/* @__PURE__ */ r("span", {
2006
2509
  "aria-hidden": "true",
2007
- className: M("flex h-6 items-center px-3", h, Z),
2510
+ className: z("flex h-6 items-center px-3", h, Q),
2008
2511
  children: e
2009
2512
  }), c]
2010
2513
  });
2011
2514
  }
2012
2515
  // src/ui/sidebar/sidebar-item.component.tsx
2013
- function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foreground)", badge: c, active: l = !1, asChild: u = !1, className: d, children: f, ...p }) {
2014
- let { collapsed: m, variant: h } = X(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
2516
+ function Ei({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foreground)", badge: c, active: l = !1, asChild: u = !1, className: d, children: f, ...p }) {
2517
+ let { collapsed: m, variant: h } = Z(), g = l ? h === "nav" ? "page" : "true" : void 0, _ = h === "nav" ? /* @__PURE__ */ i(n, { children: [
2015
2518
  /* @__PURE__ */ r("span", {
2016
2519
  "aria-hidden": "true",
2017
2520
  className: "flex",
2018
2521
  children: a
2019
2522
  }),
2020
2523
  /* @__PURE__ */ r("span", {
2021
- className: Z,
2524
+ className: Q,
2022
2525
  children: e
2023
2526
  }),
2024
2527
  c !== void 0 && /* @__PURE__ */ r("span", {
2025
- className: M("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Z),
2528
+ className: z("ms-auto rounded-full bg-secondary px-1.5 text-xs text-secondary-foreground tabular-nums", Q),
2026
2529
  children: c
2027
2530
  })
2028
2531
  ] }) : /* @__PURE__ */ i(n, { children: [
@@ -2032,11 +2535,11 @@ function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2032
2535
  children: a
2033
2536
  }) : /* @__PURE__ */ r("span", {
2034
2537
  "aria-hidden": "true",
2035
- className: M("h-6 w-2.5 shrink-0 rounded-[3px]", o ? I[o] : ""),
2538
+ className: z("h-6 w-2.5 shrink-0 rounded-[3px]", o ? U[o] : ""),
2036
2539
  style: o ? void 0 : { background: s }
2037
2540
  }),
2038
2541
  /* @__PURE__ */ i("span", {
2039
- className: M("flex flex-col", Z),
2542
+ className: z("flex flex-col", Q),
2040
2543
  children: [/* @__PURE__ */ r("span", {
2041
2544
  className: "truncate text-[13px] font-medium",
2042
2545
  children: e
@@ -2046,51 +2549,51 @@ function ti({ title: e, meta: t, icon: a, hue: o, color: s = "var(--muted-foregr
2046
2549
  })]
2047
2550
  }),
2048
2551
  c !== void 0 && /* @__PURE__ */ r("span", {
2049
- className: M("ms-auto text-[11px] text-muted-foreground tabular-nums", Z),
2552
+ className: z("ms-auto text-[11px] text-muted-foreground tabular-nums", Q),
2050
2553
  children: c
2051
2554
  })
2052
- ] }), v = h === "nav" ? M(Kr, d) : M("group/item flex cursor-pointer items-center rounded-md border border-transparent text-start text-sidebar-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none", "hover:border-sidebar-border hover:bg-background focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-not-allowed disabled:opacity-50", "aria-[current]:border-transparent aria-[current]:bg-brand-soft aria-[current]:text-brand-text", "w-full gap-2 px-[13px] py-1.5", d), y = {
2555
+ ] }), v = h === "nav" ? z(gi, d) : z("group/item flex cursor-pointer items-center rounded-md border border-transparent text-start text-sidebar-foreground no-underline outline-none transition-colors duration-150 motion-reduce:transition-none", "hover:border-sidebar-border hover:bg-background focus-visible:ring-2 focus-visible:ring-sidebar-ring disabled:cursor-not-allowed disabled:opacity-50", "aria-[current]:border-transparent aria-[current]:bg-brand-soft aria-[current]:text-brand-text", "w-full gap-2 px-[13px] py-1.5", d), y = {
2053
2556
  "data-slot": "sidebar-item",
2054
2557
  "aria-current": g,
2055
2558
  "aria-label": m ? e : void 0,
2056
2559
  className: v
2057
- }, b = u && we(f) ? /* @__PURE__ */ r(S.Root, {
2560
+ }, b = u && xe(f) ? /* @__PURE__ */ r(C.Root, {
2058
2561
  ...y,
2059
2562
  ...p,
2060
- children: ni(f, _)
2563
+ children: Di(f, _)
2061
2564
  }) : /* @__PURE__ */ r("button", {
2062
2565
  type: "button",
2063
2566
  ...y,
2064
2567
  ...p,
2065
2568
  children: _
2066
2569
  });
2067
- return /* @__PURE__ */ r(Q, {
2570
+ return /* @__PURE__ */ r(yi, {
2068
2571
  label: e,
2069
2572
  children: b
2070
2573
  });
2071
2574
  }
2072
- function ni(e, t) {
2073
- return Se(e, void 0, t);
2575
+ function Di(e, t) {
2576
+ return ye(e, void 0, t);
2074
2577
  }
2075
2578
  // src/ui/sidebar/sidebar-sheet.component.tsx
2076
- function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
2077
- return /* @__PURE__ */ i(kn, {
2579
+ function Oi({ label: e, children: t, side: n = "start", open: a, onOpenChange: o, className: s }) {
2580
+ return /* @__PURE__ */ i(nn, {
2078
2581
  open: a,
2079
2582
  onOpenChange: o,
2080
- children: [/* @__PURE__ */ r(An, {
2583
+ children: [/* @__PURE__ */ r(rn, {
2081
2584
  asChild: !0,
2082
- children: /* @__PURE__ */ r(B, {
2585
+ children: /* @__PURE__ */ r(q, {
2083
2586
  variant: "ghost",
2084
2587
  size: "icon",
2085
2588
  "aria-label": `Show ${e.toLowerCase()}`,
2086
2589
  className: s,
2087
- children: /* @__PURE__ */ r(ge, {})
2590
+ children: /* @__PURE__ */ r(de, {})
2088
2591
  })
2089
- }), /* @__PURE__ */ i(Fn, {
2592
+ }), /* @__PURE__ */ i(ln, {
2090
2593
  "data-slot": "sidebar-sheet",
2091
2594
  side: n,
2092
2595
  className: "d-mob w-[min(320px,86vw)] gap-0 p-0 [&>[data-slot=sidebar]]:border-0",
2093
- children: [/* @__PURE__ */ r(Mn, {
2596
+ children: [/* @__PURE__ */ r(on, {
2094
2597
  className: "sr-only",
2095
2598
  children: e
2096
2599
  }), t]
@@ -2098,15 +2601,15 @@ function ri({ label: e, children: t, side: n = "start", open: a, onOpenChange: o
2098
2601
  });
2099
2602
  }
2100
2603
  // src/product/product-switcher.component.tsx
2101
- function ii({ product: e, workspace: t, products: n = Ye, onProductChange: a, className: o }) {
2102
- return /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
2604
+ function ki({ product: e, workspace: t, products: n = Ke, onProductChange: a, className: o }) {
2605
+ return /* @__PURE__ */ i(Nn, { children: [/* @__PURE__ */ r(Pn, {
2103
2606
  asChild: !0,
2104
- children: /* @__PURE__ */ i(B, {
2607
+ children: /* @__PURE__ */ i(q, {
2105
2608
  variant: "ghost",
2106
- className: M("h-12 w-full justify-start gap-2.5 px-2", o),
2107
- "aria-label": `${N[e].name}, switch product`,
2609
+ className: z("h-12 w-full justify-start gap-2.5 px-2", o),
2610
+ "aria-label": `${B[e].name}, switch product`,
2108
2611
  children: [
2109
- /* @__PURE__ */ r(P, {
2612
+ /* @__PURE__ */ r(V, {
2110
2613
  product: e,
2111
2614
  alt: "",
2112
2615
  className: "size-7"
@@ -2115,41 +2618,41 @@ function ii({ product: e, workspace: t, products: n = Ye, onProductChange: a, cl
2115
2618
  className: "flex min-w-0 flex-col items-start leading-tight",
2116
2619
  children: [/* @__PURE__ */ r("span", {
2117
2620
  className: "font-display text-[17px] font-extrabold italic text-brand-text",
2118
- children: N[e].name
2621
+ children: B[e].name
2119
2622
  }), t && /* @__PURE__ */ r("span", {
2120
2623
  className: "truncate text-xs font-normal text-muted-foreground",
2121
2624
  children: t
2122
2625
  })]
2123
2626
  }),
2124
- /* @__PURE__ */ r(le, {
2627
+ /* @__PURE__ */ r(oe, {
2125
2628
  className: "ms-auto text-muted-foreground",
2126
2629
  "aria-hidden": "true"
2127
2630
  })
2128
2631
  ]
2129
2632
  })
2130
- }), /* @__PURE__ */ i(lr, {
2633
+ }), /* @__PURE__ */ i(Ln, {
2131
2634
  align: "start",
2132
2635
  className: "w-60",
2133
- children: [/* @__PURE__ */ r(fr, { children: "Products" }), /* @__PURE__ */ r(cr, {
2636
+ children: [/* @__PURE__ */ r(Bn, { children: "Products" }), /* @__PURE__ */ r(In, {
2134
2637
  value: e,
2135
2638
  onValueChange: (e) => a?.(e),
2136
- children: n.map((e) => /* @__PURE__ */ i(dr, {
2639
+ children: n.map((e) => /* @__PURE__ */ i(zn, {
2137
2640
  value: e,
2138
- children: [/* @__PURE__ */ r(P, {
2641
+ children: [/* @__PURE__ */ r(V, {
2139
2642
  product: e,
2140
2643
  alt: "",
2141
2644
  className: "size-4"
2142
- }), N[e].name]
2645
+ }), B[e].name]
2143
2646
  }, e))
2144
2647
  })]
2145
2648
  })] });
2146
2649
  }
2147
2650
  // src/product/sidebar-brand.component.tsx
2148
- function ai({ product: e, badge: t, className: n }) {
2149
- let { collapsed: a, setCollapsed: o } = X(), s = N[e].name;
2651
+ function Ai({ product: e, badge: t, className: n }) {
2652
+ let { collapsed: a, setCollapsed: o } = Z(), s = B[e].name;
2150
2653
  return /* @__PURE__ */ i("div", {
2151
2654
  "data-slot": "sidebar-brand",
2152
- className: M("flex h-8 items-center", n),
2655
+ className: z("flex h-8 items-center", n),
2153
2656
  children: [
2154
2657
  /* @__PURE__ */ r("button", {
2155
2658
  type: "button",
@@ -2157,26 +2660,26 @@ function ai({ product: e, badge: t, className: n }) {
2157
2660
  "aria-expanded": !a,
2158
2661
  onClick: () => o(!a),
2159
2662
  className: "grid size-10 shrink-0 cursor-pointer place-items-center rounded-md outline-none focus-visible:ring-2 focus-visible:ring-sidebar-ring",
2160
- children: /* @__PURE__ */ r(P, {
2663
+ children: /* @__PURE__ */ r(V, {
2161
2664
  product: e,
2162
2665
  alt: "",
2163
- className: M("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
2666
+ className: z("size-6 transition-transform duration-300 ease-emphasised motion-reduce:transition-none", a && "rotate-120")
2164
2667
  })
2165
2668
  }),
2166
2669
  /* @__PURE__ */ r("span", {
2167
- className: M("ms-1 font-display text-lg font-extrabold text-brand-text italic", Z),
2670
+ className: z("ms-1 font-display text-lg font-extrabold text-brand-text italic", Q),
2168
2671
  children: s
2169
2672
  }),
2170
2673
  t && /* @__PURE__ */ r("span", {
2171
- className: M("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Z),
2674
+ className: z("ms-2 rounded-full bg-warning-soft px-2 text-xs font-medium text-warning", Q),
2172
2675
  children: t
2173
2676
  })
2174
2677
  ]
2175
2678
  });
2176
2679
  }
2177
2680
  // src/app/command-shortcut.hook.ts
2178
- function oi(e, t = !0) {
2179
- O(() => {
2681
+ function ji(e, t = !0) {
2682
+ P(() => {
2180
2683
  if (!t) return;
2181
2684
  function n(t) {
2182
2685
  t.key.toLowerCase() === "k" && (t.metaKey || t.ctrlKey) && (t.preventDefault(), e());
@@ -2184,27 +2687,42 @@ function oi(e, t = !0) {
2184
2687
  return document.addEventListener("keydown", n), () => document.removeEventListener("keydown", n);
2185
2688
  }, [e, t]);
2186
2689
  }
2187
- function si(e) {
2690
+ function Mi(e) {
2188
2691
  return /mac|iphone|ipad|ipod/i.test(e) ? "⌘K" : "Ctrl+K";
2189
2692
  }
2190
- function ci() {}
2191
- function li() {
2192
- return ci;
2693
+ function Ni() {}
2694
+ function Pi() {
2695
+ return Ni;
2193
2696
  }
2194
- function ui() {
2697
+ function Fi() {
2195
2698
  return navigator.userAgentData?.platform ?? navigator.platform;
2196
2699
  }
2197
- function di() {
2700
+ function Ii() {
2198
2701
  return "";
2199
2702
  }
2200
- function fi() {
2201
- return si(ke(li, ui, di));
2703
+ function Li() {
2704
+ return Mi(Ee(Pi, Fi, Ii));
2202
2705
  }
2203
2706
  // src/app/app-shell.component.tsx
2204
- function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, user: u, breadcrumb: d, topActions: f, commands: p, children: m, className: h }) {
2205
- let [g, _] = k(!1), v = Te(() => _(!0), []);
2206
- oi(v, !!p?.length);
2207
- let y = fi(), b = [...new Set(p?.map((e) => e.group))], ee = (e) => /* @__PURE__ */ r(ti, {
2707
+ var Ri = "flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable] has-[>[data-slot=app-shell-body]]:gap-0 has-[>[data-slot=app-shell-body]]:overflow-hidden has-[>[data-slot=app-shell-body]]:p-0";
2708
+ function zi({ children: e, className: t }) {
2709
+ return /* @__PURE__ */ r("div", {
2710
+ "data-slot": "app-shell-header",
2711
+ className: z("shrink-0 border-b px-6 py-4", t),
2712
+ children: e
2713
+ });
2714
+ }
2715
+ function Bi({ children: e, className: t }) {
2716
+ return /* @__PURE__ */ r("div", {
2717
+ "data-slot": "app-shell-body",
2718
+ className: z("flex min-h-0 flex-1 flex-col gap-5 overflow-y-auto p-6 [scrollbar-gutter:stable]", t),
2719
+ children: e
2720
+ });
2721
+ }
2722
+ function Vi({ product: e, brand: t = "switcher", workspace: a, onProductChange: o, nav: s, secondaryNav: c, sidebarFooter: l, sidebarNote: u, user: d, breadcrumb: f, topActions: p, statusBar: m, commands: h, children: g, className: _ }) {
2723
+ let [v, y] = I(!1), b = Se(() => y(!0), []);
2724
+ ji(b, !!h?.length);
2725
+ let x = Li(), ee = [...new Set(h?.map((e) => e.group))], S = (e) => /* @__PURE__ */ r(Ei, {
2208
2726
  asChild: !0,
2209
2727
  title: e.label,
2210
2728
  icon: e.icon,
@@ -2214,101 +2732,113 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2214
2732
  href: e.href,
2215
2733
  children: e.label
2216
2734
  })
2217
- }, e.href), x = /* @__PURE__ */ i(n, { children: [
2218
- /* @__PURE__ */ r(Xr, {
2735
+ }, e.href), C = /* @__PURE__ */ i(n, { children: [
2736
+ /* @__PURE__ */ r(xi, {
2219
2737
  className: "h-12",
2220
- children: t === "logo" ? /* @__PURE__ */ r(ai, { product: e }) : /* @__PURE__ */ r(ii, {
2738
+ children: t === "logo" ? /* @__PURE__ */ r(Ai, { product: e }) : /* @__PURE__ */ r(ki, {
2221
2739
  product: e,
2222
2740
  workspace: a,
2223
2741
  onProductChange: o,
2224
2742
  className: "px-2.5"
2225
2743
  })
2226
2744
  }),
2227
- /* @__PURE__ */ i(Zr, { children: [
2228
- p?.length ? /* @__PURE__ */ r(ti, {
2745
+ /* @__PURE__ */ i(Si, { children: [
2746
+ h?.length ? /* @__PURE__ */ r(Ei, {
2229
2747
  title: "Search",
2230
- icon: /* @__PURE__ */ r(E, {}),
2231
- badge: /* @__PURE__ */ r(Wt, {
2748
+ icon: /* @__PURE__ */ r(he, {}),
2749
+ badge: /* @__PURE__ */ r(Sr, {
2232
2750
  className: "border-0 bg-transparent",
2233
- children: y
2751
+ children: x
2234
2752
  }),
2235
- onClick: v
2753
+ onClick: b
2236
2754
  }) : null,
2237
2755
  /* @__PURE__ */ r("div", {
2238
2756
  className: "flex flex-col gap-0.5",
2239
- children: s.map((e) => ee(e))
2757
+ children: s.map((e) => S(e))
2240
2758
  }),
2241
- c && /* @__PURE__ */ r(ei, {
2759
+ c && /* @__PURE__ */ r(Ti, {
2242
2760
  title: c.title,
2243
- children: c.items.map((e) => ee(e))
2761
+ children: c.items.map((e) => S(e))
2244
2762
  })
2245
2763
  ] }),
2246
- /* @__PURE__ */ i($r, { children: [
2764
+ /* @__PURE__ */ i(wi, { children: [
2247
2765
  l && /* @__PURE__ */ r("div", {
2248
- className: Z,
2766
+ className: Q,
2249
2767
  children: l
2250
2768
  }),
2251
- u && /* @__PURE__ */ i("div", {
2769
+ d && /* @__PURE__ */ i("div", {
2252
2770
  className: "flex items-center gap-2.5 px-1",
2253
- children: [/* @__PURE__ */ r(nt, { children: /* @__PURE__ */ r(it, { children: u.initials }) }), /* @__PURE__ */ i("span", {
2254
- className: M("flex flex-col leading-tight", Z),
2771
+ children: [/* @__PURE__ */ r($e, { children: /* @__PURE__ */ r(tt, { children: d.initials }) }), /* @__PURE__ */ i("span", {
2772
+ className: z("flex flex-col leading-tight", Q),
2255
2773
  children: [/* @__PURE__ */ r("span", {
2256
2774
  className: "text-[13px] font-semibold",
2257
- children: u.name
2258
- }), u.role && /* @__PURE__ */ r("span", {
2775
+ children: d.name
2776
+ }), d.role && /* @__PURE__ */ r("span", {
2259
2777
  className: "text-xs text-muted-foreground",
2260
- children: u.role
2778
+ children: d.role
2261
2779
  })]
2262
2780
  })]
2263
2781
  }),
2264
- /* @__PURE__ */ r(Yr, {})
2782
+ /* @__PURE__ */ r(bi, {}),
2783
+ u && /* @__PURE__ */ r(Ci, { children: u })
2265
2784
  ] })
2266
2785
  ] });
2267
2786
  return /* @__PURE__ */ i("div", {
2268
2787
  "data-slot": "app-shell",
2269
- className: M("flex min-h-screen flex-wrap bg-background", h),
2788
+ className: z("flex h-dvh overflow-hidden bg-background", _),
2270
2789
  children: [
2271
- /* @__PURE__ */ r(Jr, {
2790
+ /* @__PURE__ */ r(vi, {
2272
2791
  variant: "nav",
2273
2792
  label: "Workspace",
2274
- className: "sticky top-0 h-screen max-md:hidden",
2275
- children: x
2793
+ className: "h-dvh max-md:hidden",
2794
+ children: C
2276
2795
  }),
2277
2796
  /* @__PURE__ */ i("div", {
2278
- className: "relative flex min-w-0 flex-[999_1_560px] flex-col",
2279
- children: [/* @__PURE__ */ i("div", {
2280
- className: "flex h-14 flex-wrap items-center gap-3 border-b px-6",
2281
- children: [
2282
- /* @__PURE__ */ r(ri, {
2283
- label: "Workspace",
2284
- className: "-ms-2 md:hidden",
2285
- children: /* @__PURE__ */ r(Jr, {
2286
- variant: "nav",
2797
+ className: "relative flex min-h-0 min-w-0 flex-1 flex-col",
2798
+ children: [
2799
+ /* @__PURE__ */ i("div", {
2800
+ "data-slot": "app-top-bar",
2801
+ className: z("flex h-14 shrink-0 flex-wrap items-center gap-3 border-b px-6", !f && !p && "md:hidden"),
2802
+ children: [
2803
+ /* @__PURE__ */ r(Oi, {
2287
2804
  label: "Workspace",
2288
- collapsed: !1,
2289
- className: "w-full",
2290
- children: x
2805
+ className: "-ms-2 md:hidden",
2806
+ children: /* @__PURE__ */ r(vi, {
2807
+ variant: "nav",
2808
+ label: "Workspace",
2809
+ collapsed: !1,
2810
+ className: "w-full",
2811
+ children: C
2812
+ })
2813
+ }),
2814
+ f,
2815
+ p && /* @__PURE__ */ r("div", {
2816
+ className: "ms-auto flex items-center gap-1.5",
2817
+ children: p
2291
2818
  })
2292
- }),
2293
- d,
2294
- f && /* @__PURE__ */ r("div", {
2295
- className: "ms-auto flex items-center gap-1.5",
2296
- children: f
2297
- })
2298
- ]
2299
- }), /* @__PURE__ */ r("main", {
2300
- className: "flex flex-col gap-5 p-6",
2301
- children: m
2302
- })]
2819
+ ]
2820
+ }),
2821
+ /* @__PURE__ */ r("main", {
2822
+ "data-slot": "app-shell-page",
2823
+ className: Ri,
2824
+ children: g
2825
+ }),
2826
+ m && /* @__PURE__ */ r("footer", {
2827
+ "data-slot": "app-status-bar",
2828
+ "aria-label": "Status",
2829
+ className: "flex h-10 shrink-0 items-center gap-3 border-t bg-background px-6 text-xs text-muted-foreground",
2830
+ children: m
2831
+ })
2832
+ ]
2303
2833
  }),
2304
- p?.length ? /* @__PURE__ */ i(Gn, {
2305
- open: g,
2306
- onOpenChange: _,
2307
- children: [/* @__PURE__ */ r(Kn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(qn, { children: [/* @__PURE__ */ r(Jn, { children: "No results." }), b.map((e) => /* @__PURE__ */ r(Yn, {
2834
+ h?.length ? /* @__PURE__ */ i(yn, {
2835
+ open: v,
2836
+ onOpenChange: y,
2837
+ children: [/* @__PURE__ */ r(bn, { placeholder: "Search recipes, runs and settings" }), /* @__PURE__ */ i(xn, { children: [/* @__PURE__ */ r(Sn, { children: "No results." }), ee.map((e) => /* @__PURE__ */ r(Cn, {
2308
2838
  heading: e,
2309
- children: p.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(Xn, {
2839
+ children: h.filter((t) => t.group === e).map((e) => /* @__PURE__ */ r(wn, {
2310
2840
  onSelect: () => {
2311
- _(!1), e.onSelect();
2841
+ y(!1), e.onSelect();
2312
2842
  },
2313
2843
  children: e.label
2314
2844
  }, e.label))
@@ -2318,21 +2848,21 @@ function pi({ product: e, brand: t = "switcher", workspace: a, onProductChange:
2318
2848
  });
2319
2849
  }
2320
2850
  // src/app/filter-bar.component.tsx
2321
- function mi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
2851
+ function Hi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a, views: o, className: s }) {
2322
2852
  return /* @__PURE__ */ i("div", {
2323
2853
  "data-slot": "filter-bar",
2324
2854
  role: "search",
2325
- className: M("flex flex-wrap items-center gap-2 border-b p-3", s),
2855
+ className: z("flex flex-wrap items-center gap-2 border-b p-3", s),
2326
2856
  children: [
2327
2857
  /* @__PURE__ */ r("div", {
2328
2858
  className: "max-w-80 flex-[1_1_220px]",
2329
- children: /* @__PURE__ */ r(W, {
2859
+ children: /* @__PURE__ */ r(vt, {
2330
2860
  type: "search",
2331
2861
  value: e,
2332
2862
  onChange: (e) => t(e.target.value),
2333
2863
  placeholder: n,
2334
2864
  "aria-label": n,
2335
- startIcon: /* @__PURE__ */ r(E, {})
2865
+ startIcon: /* @__PURE__ */ r(he, {})
2336
2866
  })
2337
2867
  }),
2338
2868
  a,
@@ -2343,16 +2873,16 @@ function mi({ query: e, onQueryChange: t, searchLabel: n = "Search", filters: a,
2343
2873
  ]
2344
2874
  });
2345
2875
  }
2346
- function hi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
2347
- return /* @__PURE__ */ i(B, {
2876
+ function Ui({ label: e, count: t = 0, icon: n, className: a, ...o }) {
2877
+ return /* @__PURE__ */ i(q, {
2348
2878
  variant: "outline",
2349
2879
  size: "sm",
2350
- className: M("border-dashed", a),
2880
+ className: z("border-dashed", a),
2351
2881
  ...o,
2352
2882
  children: [
2353
- n ?? /* @__PURE__ */ r(ye, {}),
2883
+ n ?? /* @__PURE__ */ r(me, {}),
2354
2884
  e,
2355
- t > 0 && /* @__PURE__ */ r(R, {
2885
+ t > 0 && /* @__PURE__ */ r(G, {
2356
2886
  variant: "brand",
2357
2887
  className: "h-[18px]",
2358
2888
  "aria-label": `${t} selected`,
@@ -2362,10 +2892,10 @@ function hi({ label: e, count: t = 0, icon: n, className: a, ...o }) {
2362
2892
  });
2363
2893
  }
2364
2894
  // src/app/form-section.component.tsx
2365
- function gi({ title: e, description: t, children: n, actions: a, className: o }) {
2895
+ function Wi({ title: e, description: t, children: n, actions: a, className: o }) {
2366
2896
  return /* @__PURE__ */ i("section", {
2367
2897
  "data-slot": "form-section",
2368
- className: M("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
2898
+ className: z("grid gap-6 md:grid-cols-[minmax(0,1fr)_minmax(0,2fr)]", o),
2369
2899
  children: [/* @__PURE__ */ i("div", {
2370
2900
  className: "flex flex-col gap-1",
2371
2901
  children: [/* @__PURE__ */ r("h2", {
@@ -2388,10 +2918,10 @@ function gi({ title: e, description: t, children: n, actions: a, className: o })
2388
2918
  });
2389
2919
  }
2390
2920
  // src/app/page-header.component.tsx
2391
- function _i({ title: e, description: t, actions: n, tabs: a, className: o }) {
2921
+ function Gi({ title: e, description: t, actions: n, tabs: a, className: o }) {
2392
2922
  return /* @__PURE__ */ i("div", {
2393
2923
  "data-slot": "page-header",
2394
- className: M("flex flex-col gap-4", o),
2924
+ className: z("flex flex-col gap-4", o),
2395
2925
  children: [/* @__PURE__ */ i("div", {
2396
2926
  className: "flex flex-wrap items-end gap-4",
2397
2927
  children: [/* @__PURE__ */ i("div", {
@@ -2411,7 +2941,7 @@ function _i({ title: e, description: t, actions: n, tabs: a, className: o }) {
2411
2941
  });
2412
2942
  }
2413
2943
  // src/app/records-table.component.tsx
2414
- function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
2944
+ function Ki({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o, rowActions: s, label: c, className: l }) {
2415
2945
  let u = a !== void 0, d = e.map((e) => n(e)), f = d.filter((e) => a?.has(e)).length, p = f === 0 ? !1 : f === d.length || "indeterminate";
2416
2946
  function m(e, t) {
2417
2947
  let n = new Set(a);
@@ -2422,26 +2952,26 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
2422
2952
  for (let n of d) e ? t.add(n) : t.delete(n);
2423
2953
  o?.(t);
2424
2954
  }
2425
- return /* @__PURE__ */ i(Zt, {
2955
+ return /* @__PURE__ */ i(kr, {
2426
2956
  "data-slot": "records-table",
2427
2957
  "aria-label": c,
2428
- className: M("min-w-[760px]", l),
2429
- children: [/* @__PURE__ */ r(Qt, { children: /* @__PURE__ */ i(en, {
2958
+ className: z("min-w-[760px]", l),
2959
+ children: [/* @__PURE__ */ r(Ar, { children: /* @__PURE__ */ i(Mr, {
2430
2960
  className: "hover:bg-transparent",
2431
2961
  children: [
2432
- u && /* @__PURE__ */ r(G, {
2962
+ u && /* @__PURE__ */ r(Nr, {
2433
2963
  className: "w-9",
2434
- children: /* @__PURE__ */ r(V, {
2964
+ children: /* @__PURE__ */ r(it, {
2435
2965
  "aria-label": "Select all rows",
2436
2966
  checked: p,
2437
2967
  onCheckedChange: (e) => h(e === !0)
2438
2968
  })
2439
2969
  }),
2440
- t.map((e) => /* @__PURE__ */ r(G, {
2441
- className: M(e.align === "end" && "text-end", e.className),
2970
+ t.map((e) => /* @__PURE__ */ r(Nr, {
2971
+ className: z(e.align === "end" && "text-end", e.className),
2442
2972
  children: e.header
2443
2973
  }, e.key)),
2444
- s && /* @__PURE__ */ r(G, {
2974
+ s && /* @__PURE__ */ r(Nr, {
2445
2975
  className: "w-11",
2446
2976
  children: /* @__PURE__ */ r("span", {
2447
2977
  className: "sr-only",
@@ -2449,29 +2979,29 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
2449
2979
  })
2450
2980
  })
2451
2981
  ]
2452
- }) }), /* @__PURE__ */ r($t, { children: e.map((e) => {
2982
+ }) }), /* @__PURE__ */ r(jr, { children: e.map((e) => {
2453
2983
  let o = n(e), c = a?.has(o) ?? !1;
2454
- return /* @__PURE__ */ i(en, {
2984
+ return /* @__PURE__ */ i(Mr, {
2455
2985
  "data-state": c ? "selected" : void 0,
2456
2986
  children: [
2457
- u && /* @__PURE__ */ r(K, { children: /* @__PURE__ */ r(V, {
2987
+ u && /* @__PURE__ */ r(Pr, { children: /* @__PURE__ */ r(it, {
2458
2988
  "aria-label": `Select ${o}`,
2459
2989
  checked: c,
2460
2990
  onCheckedChange: (e) => m(o, e === !0)
2461
2991
  }) }),
2462
- t.map((t) => /* @__PURE__ */ r(K, {
2463
- className: M(t.align === "end" && "text-end tabular-nums", t.className),
2992
+ t.map((t) => /* @__PURE__ */ r(Pr, {
2993
+ className: z(t.align === "end" && "text-end tabular-nums", t.className),
2464
2994
  children: t.cell(e)
2465
2995
  }, t.key)),
2466
- s && /* @__PURE__ */ r(K, { children: /* @__PURE__ */ i(ar, { children: [/* @__PURE__ */ r(or, {
2996
+ s && /* @__PURE__ */ r(Pr, { children: /* @__PURE__ */ i(Nn, { children: [/* @__PURE__ */ r(Pn, {
2467
2997
  asChild: !0,
2468
- children: /* @__PURE__ */ r(B, {
2998
+ children: /* @__PURE__ */ r(q, {
2469
2999
  variant: "ghost",
2470
3000
  size: "icon-sm",
2471
3001
  "aria-label": `Actions for ${o}`,
2472
- children: /* @__PURE__ */ r(de, {})
3002
+ children: /* @__PURE__ */ r(ce, {})
2473
3003
  })
2474
- }), /* @__PURE__ */ r(lr, {
3004
+ }), /* @__PURE__ */ r(Ln, {
2475
3005
  align: "end",
2476
3006
  children: s(e)
2477
3007
  })] }) })
@@ -2481,7 +3011,7 @@ function vi({ rows: e, columns: t, getRowId: n, selected: a, onSelectedChange: o
2481
3011
  });
2482
3012
  }
2483
3013
  // src/app/sparkline.algorithm.ts
2484
- function yi(e, t, n, r = 2) {
3014
+ function qi(e, t, n, r = 2) {
2485
3015
  if (e.length < 2) return "";
2486
3016
  let i = Math.min(...e), a = Math.max(...e) - i, o = n - r * 2, s = t / (e.length - 1);
2487
3017
  return e.map((e, t) => {
@@ -2490,16 +3020,16 @@ function yi(e, t, n, r = 2) {
2490
3020
  }).join(" ");
2491
3021
  }
2492
3022
  // src/app/stat-card.component.tsx
2493
- var bi = {
3023
+ var Ji = {
2494
3024
  positive: "text-success",
2495
3025
  negative: "text-destructive",
2496
3026
  neutral: "text-muted-foreground"
2497
3027
  };
2498
- function xi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
2499
- let c = o ? yi(o, 100, 32) : "";
2500
- return /* @__PURE__ */ i(Rt, {
3028
+ function Yi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, className: s }) {
3029
+ let c = o ? qi(o, 100, 32) : "";
3030
+ return /* @__PURE__ */ i(gr, {
2501
3031
  "data-slot": "stat-card",
2502
- className: M("gap-1.5 p-4", s),
3032
+ className: z("gap-1.5 p-4", s),
2503
3033
  children: [
2504
3034
  /* @__PURE__ */ r("span", {
2505
3035
  className: "text-[13px] text-muted-foreground",
@@ -2528,14 +3058,14 @@ function xi({ label: e, value: t, delta: n, tone: a = "neutral", series: o, clas
2528
3058
  })]
2529
3059
  }),
2530
3060
  n && /* @__PURE__ */ r("span", {
2531
- className: M("text-xs", bi[a]),
3061
+ className: z("text-xs", Ji[a]),
2532
3062
  children: n
2533
3063
  })
2534
3064
  ]
2535
3065
  });
2536
3066
  }
2537
3067
  // src/status/run-status.contract.ts
2538
- var Si = [
3068
+ var Xi = [
2539
3069
  "queued",
2540
3070
  "waiting",
2541
3071
  "running",
@@ -2543,7 +3073,7 @@ var Si = [
2543
3073
  "no-records",
2544
3074
  "failed",
2545
3075
  "off"
2546
- ], Ci = {
3076
+ ], Zi = {
2547
3077
  queued: {
2548
3078
  label: "Queued",
2549
3079
  variant: "secondary",
@@ -2580,13 +3110,13 @@ var Si = [
2580
3110
  live: !1
2581
3111
  }
2582
3112
  };
2583
- function wi(e) {
2584
- return Ci[e];
3113
+ function Qi(e) {
3114
+ return Zi[e];
2585
3115
  }
2586
3116
  // src/status/status-badge.component.tsx
2587
- function Ti({ status: e, ...t }) {
2588
- let { label: n, variant: i, live: a } = wi(e);
2589
- return /* @__PURE__ */ r(R, {
3117
+ function $i({ status: e, ...t }) {
3118
+ let { label: n, variant: i, live: a } = Qi(e);
3119
+ return /* @__PURE__ */ r(G, {
2590
3120
  variant: i,
2591
3121
  dot: a,
2592
3122
  "data-status": e,
@@ -2595,25 +3125,25 @@ function Ti({ status: e, ...t }) {
2595
3125
  });
2596
3126
  }
2597
3127
  // src/desktop/flow-node.component.tsx
2598
- function Ei({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
3128
+ function ea({ title: e, description: t, status: n, hue: a, selected: o = !1, onSelect: s, className: c }) {
2599
3129
  return /* @__PURE__ */ i("button", {
2600
3130
  type: "button",
2601
3131
  "data-slot": "flow-node",
2602
3132
  "aria-pressed": o,
2603
3133
  onClick: s,
2604
- className: M("flex w-[200px] cursor-pointer flex-col rounded-lg bg-card text-start text-[13px] text-card-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", o ? "border-2 border-brand" : "border", c),
3134
+ className: z("flex w-[200px] cursor-pointer flex-col rounded-lg bg-card text-start text-[13px] text-card-foreground shadow-sm outline-none focus-visible:ring-2 focus-visible:ring-ring", o ? "border-2 border-brand" : "border", c),
2605
3135
  children: [/* @__PURE__ */ i("span", {
2606
3136
  className: "flex items-center gap-2 border-b px-2.5 py-2",
2607
3137
  children: [
2608
3138
  /* @__PURE__ */ r("span", {
2609
3139
  "aria-hidden": "true",
2610
- className: M("size-2 shrink-0 rounded-[2px]", a ? I[a] : "bg-muted-foreground")
3140
+ className: z("size-2 shrink-0 rounded-[2px]", a ? U[a] : "bg-muted-foreground")
2611
3141
  }),
2612
3142
  /* @__PURE__ */ r("span", {
2613
3143
  className: "font-semibold",
2614
3144
  children: e
2615
3145
  }),
2616
- /* @__PURE__ */ r(Ti, {
3146
+ /* @__PURE__ */ r($i, {
2617
3147
  status: n,
2618
3148
  className: "ms-auto h-[18px] text-[11px]"
2619
3149
  })
@@ -2625,18 +3155,18 @@ function Ei({ title: e, description: t, status: n, hue: a, selected: o = !1, onS
2625
3155
  });
2626
3156
  }
2627
3157
  // src/desktop/inspector.component.tsx
2628
- function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
3158
+ function ta({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s }) {
2629
3159
  return /* @__PURE__ */ i("aside", {
2630
3160
  "data-slot": "inspector",
2631
3161
  "aria-label": "Inspector",
2632
- className: M("flex h-full flex-col text-[13px]", s),
3162
+ className: z("flex h-full flex-col text-[13px]", s),
2633
3163
  children: [
2634
3164
  /* @__PURE__ */ i("div", {
2635
3165
  className: "flex items-center gap-2 border-b p-3",
2636
3166
  children: [
2637
3167
  n && /* @__PURE__ */ r("span", {
2638
3168
  "aria-hidden": "true",
2639
- className: M("size-2.5 shrink-0 rounded-[3px]", I[n])
3169
+ className: z("size-2.5 shrink-0 rounded-[3px]", U[n])
2640
3170
  }),
2641
3171
  /* @__PURE__ */ r("h2", {
2642
3172
  className: "m-0 type-h4",
@@ -2648,18 +3178,18 @@ function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
2648
3178
  })
2649
3179
  ]
2650
3180
  }),
2651
- /* @__PURE__ */ i(Rr, {
3181
+ /* @__PURE__ */ i(ai, {
2652
3182
  defaultValue: a[0]?.value,
2653
3183
  className: "min-h-0 flex-1 gap-0",
2654
- children: [/* @__PURE__ */ r(zr, {
3184
+ children: [/* @__PURE__ */ r(ci, {
2655
3185
  variant: "underline",
2656
3186
  className: "gap-4 px-3",
2657
- children: a.map((e) => /* @__PURE__ */ r(Br, {
3187
+ children: a.map((e) => /* @__PURE__ */ r(ui, {
2658
3188
  value: e.value,
2659
3189
  className: "text-[13px] group-data-[variant=underline]/tabs-list:py-2",
2660
3190
  children: e.label
2661
3191
  }, e.value))
2662
- }), a.map((e) => /* @__PURE__ */ r(Vr, {
3192
+ }), a.map((e) => /* @__PURE__ */ r(di, {
2663
3193
  value: e.value,
2664
3194
  className: "flex flex-col gap-3 overflow-y-auto p-3",
2665
3195
  children: e.content
@@ -2673,11 +3203,11 @@ function Di({ title: e, subtitle: t, hue: n, tabs: a, footer: o, className: s })
2673
3203
  });
2674
3204
  }
2675
3205
  // src/desktop/status-bar.component.tsx
2676
- function Oi({ start: e, end: t, className: n }) {
3206
+ function na({ start: e, end: t, className: n }) {
2677
3207
  return /* @__PURE__ */ i("div", {
2678
3208
  "data-slot": "status-bar",
2679
3209
  role: "status",
2680
- className: M("flex h-6 shrink-0 items-center gap-3.5 border-t bg-sidebar px-2.5 text-xs text-muted-foreground", n),
3210
+ className: z("flex h-6 shrink-0 items-center gap-3.5 border-t bg-sidebar px-2.5 text-xs text-muted-foreground", n),
2681
3211
  children: [e, t && /* @__PURE__ */ r("div", {
2682
3212
  className: "ms-auto flex items-center gap-3.5",
2683
3213
  children: t
@@ -2685,7 +3215,7 @@ function Oi({ start: e, end: t, className: n }) {
2685
3215
  });
2686
3216
  }
2687
3217
  // src/desktop/timeline.algorithm.ts
2688
- function ki(e, t, n) {
3218
+ function ra(e, t, n) {
2689
3219
  if (n <= 0) return {
2690
3220
  left: 0,
2691
3221
  width: 0
@@ -2696,7 +3226,7 @@ function ki(e, t, n) {
2696
3226
  width: Math.max(0, r(t) - i)
2697
3227
  };
2698
3228
  }
2699
- function Ai(e, t) {
3229
+ function ia(e, t) {
2700
3230
  let n = Math.max(2, t);
2701
3231
  return Array.from({ length: n }, (t, r) => Math.round(e * r / (n - 1)));
2702
3232
  }
@@ -2704,27 +3234,27 @@ function Ai(e, t) {
2704
3234
  function $(e) {
2705
3235
  return String(e).padStart(2, "0");
2706
3236
  }
2707
- function ji(e, t = !1) {
3237
+ function aa(e, t = !1) {
2708
3238
  let n = Math.max(0, Math.floor(e)), r = Math.floor(n / 3600), i = Math.floor(n % 3600 / 60), a = n % 60;
2709
3239
  return t || r > 0 ? `${$(r)}:${$(i)}:${$(a)}` : `${$(i)}:${$(a)}`;
2710
3240
  }
2711
- function Mi(e, t) {
3241
+ function oa(e, t) {
2712
3242
  let n = new Date(e.getTime() + t * 1e3);
2713
3243
  return `${$(n.getHours())}:${$(n.getMinutes())}`;
2714
3244
  }
2715
3245
  // src/desktop/timeline-lanes.component.tsx
2716
- function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
2717
- let c = (e) => o ? Mi(o, e) : ji(e), l = n === void 0 ? void 0 : ki(0, n, e).width;
3246
+ function sa({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o, className: s }) {
3247
+ let c = (e) => o ? oa(o, e) : aa(e), l = n === void 0 ? void 0 : ra(0, n, e).width;
2718
3248
  return /* @__PURE__ */ i("div", {
2719
3249
  "data-slot": "timeline-lanes",
2720
3250
  role: "group",
2721
3251
  "aria-label": "Timeline",
2722
- className: M("relative flex flex-col text-[13px]", s),
3252
+ className: z("relative flex flex-col text-[13px]", s),
2723
3253
  children: [
2724
3254
  /* @__PURE__ */ r("div", {
2725
3255
  className: "flex h-[26px] items-center border-b ps-[118px] pe-2.5",
2726
3256
  "aria-hidden": "true",
2727
- children: Ai(e, a).map((e) => /* @__PURE__ */ r("span", {
3257
+ children: ia(e, a).map((e) => /* @__PURE__ */ r("span", {
2728
3258
  className: "flex-1 text-xs tabular-nums text-muted-foreground",
2729
3259
  children: c(e)
2730
3260
  }, e))
@@ -2735,24 +3265,24 @@ function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
2735
3265
  className: "flex w-[108px] shrink-0 items-center gap-1.5 px-2.5 font-medium",
2736
3266
  children: [/* @__PURE__ */ r("span", {
2737
3267
  "aria-hidden": "true",
2738
- className: M("size-2 shrink-0 rounded-[2px]", I[t.hue])
3268
+ className: z("size-2 shrink-0 rounded-[2px]", U[t.hue])
2739
3269
  }), t.name]
2740
3270
  }), /* @__PURE__ */ r("div", {
2741
3271
  className: "relative me-2.5 h-[26px] flex-1",
2742
3272
  children: t.segments.map((n) => {
2743
- let a = ki(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
2744
- return /* @__PURE__ */ i(Ln, { children: [/* @__PURE__ */ r(Rn, {
3273
+ let a = ra(n.start, n.end, e), o = `${t.name}${n.label ? `, ${n.label}` : ""}, ${c(n.start)} to ${c(n.end)}`;
3274
+ return /* @__PURE__ */ i(dn, { children: [/* @__PURE__ */ r(fn, {
2745
3275
  asChild: !0,
2746
3276
  children: /* @__PURE__ */ r("button", {
2747
3277
  type: "button",
2748
3278
  "aria-label": o,
2749
- className: M("absolute inset-y-0 cursor-pointer rounded-[5px] outline-none focus-visible:ring-2 focus-visible:ring-ring", I[t.hue], n.faint ? "opacity-35" : "opacity-85"),
3279
+ className: z("absolute inset-y-0 cursor-pointer rounded-[5px] outline-none focus-visible:ring-2 focus-visible:ring-ring", U[t.hue], n.faint ? "opacity-35" : "opacity-85"),
2750
3280
  style: {
2751
3281
  left: `${a.left}%`,
2752
3282
  width: `${a.width}%`
2753
3283
  }
2754
3284
  })
2755
- }), /* @__PURE__ */ r(zn, { children: o })] }, `${n.start}-${n.end}`);
3285
+ }), /* @__PURE__ */ r(pn, { children: o })] }, `${n.start}-${n.end}`);
2756
3286
  })
2757
3287
  })]
2758
3288
  }, t.name)),
@@ -2765,35 +3295,35 @@ function Ni({ duration: e, lanes: t, playhead: n, tickCount: a = 8, startsAt: o,
2765
3295
  });
2766
3296
  }
2767
3297
  // src/desktop/title-bar.component.tsx
2768
- function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
3298
+ function ca({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onClose: s, className: c }) {
2769
3299
  let l = [
2770
3300
  {
2771
3301
  label: "Minimise",
2772
- icon: /* @__PURE__ */ r(he, {}),
3302
+ icon: /* @__PURE__ */ r(ue, {}),
2773
3303
  onClick: a
2774
3304
  },
2775
3305
  {
2776
3306
  label: "Maximise",
2777
- icon: /* @__PURE__ */ r(be, {}),
3307
+ icon: /* @__PURE__ */ r(ge, {}),
2778
3308
  onClick: o
2779
3309
  },
2780
3310
  {
2781
3311
  label: "Close window",
2782
- icon: /* @__PURE__ */ r(D, {}),
3312
+ icon: /* @__PURE__ */ r(N, {}),
2783
3313
  onClick: s
2784
3314
  }
2785
3315
  ].filter((e) => e.onClick);
2786
3316
  return /* @__PURE__ */ i("div", {
2787
3317
  "data-slot": "title-bar",
2788
3318
  "data-tauri-drag-region": "",
2789
- className: M("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
3319
+ className: z("flex h-9 shrink-0 items-center gap-3 border-b bg-sidebar ps-3 text-[13px]", c),
2790
3320
  children: [
2791
- /* @__PURE__ */ r(P, {
3321
+ /* @__PURE__ */ r(V, {
2792
3322
  product: e,
2793
3323
  alt: "",
2794
3324
  className: "size-[18px]"
2795
3325
  }),
2796
- t && /* @__PURE__ */ r(Cr, { children: t }),
3326
+ t && /* @__PURE__ */ r(Wr, { children: t }),
2797
3327
  /* @__PURE__ */ r("span", {
2798
3328
  "data-tauri-drag-region": "",
2799
3329
  className: "flex-1 truncate text-center text-[12.5px] text-muted-foreground",
@@ -2801,11 +3331,11 @@ function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
2801
3331
  }),
2802
3332
  l.length > 0 && /* @__PURE__ */ r("div", {
2803
3333
  className: "flex h-full",
2804
- children: l.map((e) => /* @__PURE__ */ r(B, {
3334
+ children: l.map((e) => /* @__PURE__ */ r(q, {
2805
3335
  variant: "ghost",
2806
3336
  "aria-label": e.label,
2807
3337
  onClick: e.onClick,
2808
- className: M("h-full w-[46px] rounded-none px-0 [&_svg]:size-3.5", e.label === "Close window" && "hover:bg-destructive hover:text-destructive-foreground"),
3338
+ className: z("h-full w-[46px] rounded-none px-0 [&_svg]:size-3.5", e.label === "Close window" && "hover:bg-destructive hover:text-destructive-foreground"),
2809
3339
  children: e.icon
2810
3340
  }, e.label))
2811
3341
  })
@@ -2813,11 +3343,11 @@ function Pi({ product: e, menus: t, title: n, onMinimise: a, onMaximise: o, onCl
2813
3343
  });
2814
3344
  }
2815
3345
  // src/mobile/bottom-nav.component.tsx
2816
- function Fi({ items: e, className: t }) {
3346
+ function la({ items: e, className: t }) {
2817
3347
  return /* @__PURE__ */ r("nav", {
2818
3348
  "data-slot": "bottom-nav",
2819
3349
  "aria-label": "Tabs",
2820
- className: M("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
3350
+ className: z("grid shrink-0 border-t bg-background px-2 pt-1.5 pb-[max(env(safe-area-inset-bottom),8px)]", t),
2821
3351
  style: { gridTemplateColumns: `repeat(${e.length}, minmax(0, 1fr))` },
2822
3352
  children: e.map((e) => /* @__PURE__ */ i("a", {
2823
3353
  href: e.href,
@@ -2835,22 +3365,22 @@ function Fi({ items: e, className: t }) {
2835
3365
  });
2836
3366
  }
2837
3367
  // src/mobile/capture-frame.component.tsx
2838
- function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
3368
+ function ua({ title: e, children: t, checksTitle: n, checks: a, onClose: o, actions: s, className: c }) {
2839
3369
  let l = a.filter((e) => !e.passed).length;
2840
3370
  return /* @__PURE__ */ i("div", {
2841
3371
  "data-slot": "capture-frame",
2842
- className: M("flex h-full flex-col bg-[#0e0d12]", c),
3372
+ className: z("flex h-full flex-col bg-[#0e0d12]", c),
2843
3373
  children: [/* @__PURE__ */ i("div", {
2844
3374
  className: "relative grid min-h-[440px] flex-1 place-items-center overflow-hidden",
2845
3375
  children: [/* @__PURE__ */ i("div", {
2846
3376
  className: "absolute inset-x-4 top-[max(env(safe-area-inset-top),16px)] z-10 flex items-center justify-between",
2847
3377
  children: [
2848
- /* @__PURE__ */ r(B, {
3378
+ /* @__PURE__ */ r(q, {
2849
3379
  size: "icon",
2850
3380
  "aria-label": "Close camera",
2851
3381
  onClick: o,
2852
3382
  className: "rounded-full bg-white/14 text-white hover:bg-white/24",
2853
- children: /* @__PURE__ */ r(D, {})
3383
+ children: /* @__PURE__ */ r(N, {})
2854
3384
  }),
2855
3385
  /* @__PURE__ */ r("span", {
2856
3386
  className: "text-sm font-semibold text-white",
@@ -2871,12 +3401,12 @@ function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
2871
3401
  children: [/* @__PURE__ */ r("h2", {
2872
3402
  className: "m-0 type-h3 text-[19px]",
2873
3403
  children: n
2874
- }), l > 0 ? /* @__PURE__ */ i(R, {
3404
+ }), l > 0 ? /* @__PURE__ */ i(G, {
2875
3405
  variant: "danger",
2876
3406
  dot: !0,
2877
3407
  className: "ms-auto",
2878
3408
  children: [l, " failed"]
2879
- }) : /* @__PURE__ */ r(R, {
3409
+ }) : /* @__PURE__ */ r(G, {
2880
3410
  variant: "success",
2881
3411
  dot: !0,
2882
3412
  className: "ms-auto",
@@ -2889,11 +3419,11 @@ function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
2889
3419
  className: "flex min-h-10 items-center gap-3 border-b",
2890
3420
  children: [
2891
3421
  /* @__PURE__ */ r("span", {
2892
- className: M("grid size-6 shrink-0 place-items-center rounded-full [&_svg]:size-3.5", e.passed ? "bg-success-soft text-success" : "bg-destructive-soft text-destructive"),
2893
- children: e.passed ? /* @__PURE__ */ r(T, {
3422
+ className: z("grid size-6 shrink-0 place-items-center rounded-full [&_svg]:size-3.5", e.passed ? "bg-success-soft text-success" : "bg-destructive-soft text-destructive"),
3423
+ children: e.passed ? /* @__PURE__ */ r(k, {
2894
3424
  strokeWidth: 3,
2895
3425
  "aria-label": "Passed"
2896
- }) : /* @__PURE__ */ r(D, {
3426
+ }) : /* @__PURE__ */ r(N, {
2897
3427
  strokeWidth: 3,
2898
3428
  "aria-label": "Failed"
2899
3429
  })
@@ -2918,43 +3448,43 @@ function Ii({ title: e, children: t, checksTitle: n, checks: a, onClose: o, acti
2918
3448
  });
2919
3449
  }
2920
3450
  // src/mobile/record-button.component.tsx
2921
- function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
3451
+ function da({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onResume: s, onMarker: c, className: l }) {
2922
3452
  let u = {
2923
3453
  idle: {
2924
3454
  label: "Start recording",
2925
- icon: /* @__PURE__ */ r(me, {}),
3455
+ icon: /* @__PURE__ */ r(M, {}),
2926
3456
  onClick: a
2927
3457
  },
2928
3458
  recording: {
2929
3459
  label: "Pause",
2930
- icon: /* @__PURE__ */ r(_e, {}),
3460
+ icon: /* @__PURE__ */ r(fe, {}),
2931
3461
  onClick: o
2932
3462
  },
2933
3463
  paused: {
2934
3464
  label: "Resume",
2935
- icon: /* @__PURE__ */ r(ve, {}),
3465
+ icon: /* @__PURE__ */ r(pe, {}),
2936
3466
  onClick: s
2937
3467
  }
2938
3468
  }[e];
2939
3469
  return /* @__PURE__ */ i("div", {
2940
3470
  "data-slot": "record-button",
2941
- className: M("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
3471
+ className: z("flex flex-col gap-3.5 rounded-[20px] bg-brand-soft p-4", l),
2942
3472
  children: [
2943
3473
  /* @__PURE__ */ i("div", {
2944
3474
  className: "flex items-center gap-2",
2945
3475
  children: [
2946
- e === "recording" && /* @__PURE__ */ r(R, {
3476
+ e === "recording" && /* @__PURE__ */ r(G, {
2947
3477
  variant: "danger",
2948
3478
  dot: !0,
2949
3479
  className: "bg-card",
2950
3480
  children: "Recording"
2951
3481
  }),
2952
- e === "paused" && /* @__PURE__ */ r(R, {
3482
+ e === "paused" && /* @__PURE__ */ r(G, {
2953
3483
  variant: "warning",
2954
3484
  className: "bg-card",
2955
3485
  children: "Paused"
2956
3486
  }),
2957
- e === "idle" && /* @__PURE__ */ r(R, {
3487
+ e === "idle" && /* @__PURE__ */ r(G, {
2958
3488
  variant: "outline",
2959
3489
  className: "bg-card",
2960
3490
  children: "Not recording"
@@ -2962,7 +3492,7 @@ function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
2962
3492
  /* @__PURE__ */ r("span", {
2963
3493
  className: "ms-auto text-[13px] font-semibold tabular-nums",
2964
3494
  "aria-label": "Recorded time",
2965
- children: ji(t, !0)
3495
+ children: aa(t, !0)
2966
3496
  })
2967
3497
  ]
2968
3498
  }),
@@ -2970,31 +3500,31 @@ function Li({ state: e, elapsed: t, levels: n = [], onStart: a, onPause: o, onRe
2970
3500
  "aria-hidden": "true",
2971
3501
  className: "flex h-10 items-center gap-[3px]",
2972
3502
  children: n.map((t, n) => /* @__PURE__ */ r("span", {
2973
- className: M("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
3503
+ className: z("block w-1 rounded-full bg-brand", e !== "recording" && "opacity-45"),
2974
3504
  style: { height: `${Math.round(6 + Math.min(1, Math.max(0, t)) * 30)}px` }
2975
3505
  }, n))
2976
3506
  }),
2977
3507
  /* @__PURE__ */ i("div", {
2978
3508
  className: "flex gap-2.5",
2979
- children: [/* @__PURE__ */ i(B, {
3509
+ children: [/* @__PURE__ */ i(q, {
2980
3510
  className: "flex-1",
2981
3511
  onClick: u.onClick,
2982
3512
  children: [u.icon, u.label]
2983
- }), e === "recording" && c && /* @__PURE__ */ r(B, {
3513
+ }), e === "recording" && c && /* @__PURE__ */ r(q, {
2984
3514
  variant: "outline",
2985
3515
  size: "icon",
2986
3516
  className: "bg-card",
2987
3517
  "aria-label": "Add a marker",
2988
3518
  onClick: c,
2989
- children: /* @__PURE__ */ r(ie, {})
3519
+ children: /* @__PURE__ */ r(ne, {})
2990
3520
  })]
2991
3521
  })
2992
3522
  ]
2993
3523
  });
2994
3524
  }
2995
3525
  // src/web/cta-band.component.tsx
2996
- function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
2997
- let c = De();
3526
+ function fa({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", submitLabel: o = "Send", className: s }) {
3527
+ let c = we();
2998
3528
  function l(e) {
2999
3529
  e.preventDefault();
3000
3530
  let t = new FormData(e.currentTarget).get("email");
@@ -3002,7 +3532,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3002
3532
  }
3003
3533
  return /* @__PURE__ */ r("section", {
3004
3534
  "data-slot": "cta-band",
3005
- className: M("py-22", s),
3535
+ className: z("py-22", s),
3006
3536
  children: /* @__PURE__ */ r("div", {
3007
3537
  className: "mx-auto max-w-[1200px] px-6",
3008
3538
  children: /* @__PURE__ */ i("div", {
@@ -3025,7 +3555,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3025
3555
  className: "sr-only",
3026
3556
  children: a
3027
3557
  }),
3028
- /* @__PURE__ */ r(W, {
3558
+ /* @__PURE__ */ r(vt, {
3029
3559
  id: c,
3030
3560
  name: "email",
3031
3561
  type: "email",
@@ -3034,7 +3564,7 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3034
3564
  placeholder: a,
3035
3565
  className: "flex-[1_1_220px] border-transparent"
3036
3566
  }),
3037
- /* @__PURE__ */ r(B, {
3567
+ /* @__PURE__ */ r(q, {
3038
3568
  type: "submit",
3039
3569
  className: "bg-foreground text-background hover:bg-foreground/90",
3040
3570
  children: o
@@ -3046,21 +3576,21 @@ function Ri({ title: e, body: t, onSubmit: n, inputLabel: a = "Work email", subm
3046
3576
  });
3047
3577
  }
3048
3578
  // src/web/faq.component.tsx
3049
- function zi({ title: e, items: t, className: n }) {
3579
+ function pa({ title: e, items: t, className: n }) {
3050
3580
  return /* @__PURE__ */ r("section", {
3051
3581
  "data-slot": "faq",
3052
- className: M("py-22", n),
3582
+ className: z("py-22", n),
3053
3583
  children: /* @__PURE__ */ i("div", {
3054
3584
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3055
3585
  children: [/* @__PURE__ */ r("h2", {
3056
3586
  className: "m-0 type-h2 text-4xl",
3057
3587
  children: e
3058
- }), /* @__PURE__ */ r(Pt, {
3588
+ }), /* @__PURE__ */ r(fr, {
3059
3589
  type: "single",
3060
3590
  collapsible: !0,
3061
- children: t.map((e) => /* @__PURE__ */ i(Ft, {
3591
+ children: t.map((e) => /* @__PURE__ */ i(pr, {
3062
3592
  value: e.question,
3063
- children: [/* @__PURE__ */ r(It, { children: e.question }), /* @__PURE__ */ r(Lt, {
3593
+ children: [/* @__PURE__ */ r(mr, { children: e.question }), /* @__PURE__ */ r(hr, {
3064
3594
  className: "text-[15px]",
3065
3595
  children: e.answer
3066
3596
  })]
@@ -3070,10 +3600,10 @@ function zi({ title: e, items: t, className: n }) {
3070
3600
  });
3071
3601
  }
3072
3602
  // src/web/feature-grid.component.tsx
3073
- function Bi({ title: e, lead: t, features: n, className: a }) {
3603
+ function ma({ title: e, lead: t, features: n, className: a }) {
3074
3604
  return /* @__PURE__ */ r("section", {
3075
3605
  "data-slot": "feature-grid",
3076
- className: M("border-y bg-canvas py-22", a),
3606
+ className: z("border-y bg-canvas py-22", a),
3077
3607
  children: /* @__PURE__ */ i("div", {
3078
3608
  className: "mx-auto flex max-w-[1200px] flex-col gap-10 px-6",
3079
3609
  children: [(e || t) && /* @__PURE__ */ i("div", {
@@ -3110,14 +3640,14 @@ function Bi({ title: e, lead: t, features: n, className: a }) {
3110
3640
  });
3111
3641
  }
3112
3642
  // src/web/hero.component.tsx
3113
- function Vi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3643
+ function ha({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3114
3644
  return /* @__PURE__ */ r("section", {
3115
3645
  "data-slot": "hero",
3116
- className: M("pt-22 pb-14", o),
3646
+ className: z("pt-22 pb-14", o),
3117
3647
  children: /* @__PURE__ */ i("div", {
3118
3648
  className: "mx-auto flex max-w-[1200px] flex-col items-start gap-5.5 px-6",
3119
3649
  children: [
3120
- e && /* @__PURE__ */ r(R, {
3650
+ e && /* @__PURE__ */ r(G, {
3121
3651
  variant: "brand",
3122
3652
  className: "h-7 px-3 text-[13px]",
3123
3653
  children: e
@@ -3139,10 +3669,10 @@ function Vi({ eyebrow: e, title: t, lead: n, actions: a, className: o }) {
3139
3669
  });
3140
3670
  }
3141
3671
  // src/web/how-it-works.component.tsx
3142
- function Hi({ title: e, lead: t, link: n, steps: a, className: o }) {
3672
+ function ga({ title: e, lead: t, link: n, steps: a, className: o }) {
3143
3673
  return /* @__PURE__ */ r("section", {
3144
3674
  "data-slot": "how-it-works",
3145
- className: M("py-22", o),
3675
+ className: z("py-22", o),
3146
3676
  children: /* @__PURE__ */ i("div", {
3147
3677
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(340px,1fr))] items-start gap-12 px-6",
3148
3678
  children: [/* @__PURE__ */ i("div", {
@@ -3182,14 +3712,14 @@ function Hi({ title: e, lead: t, link: n, steps: a, className: o }) {
3182
3712
  });
3183
3713
  }
3184
3714
  // src/web/mobile-menu.component.tsx
3185
- var Ui = 400;
3186
- function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3187
- let [o, s] = k(!1), [c, l] = k(), [u, f] = k(!1), p = Oe(null);
3188
- O(() => {
3715
+ var _a = 400;
3716
+ function va({ links: e, actions: t, label: n = "Main", className: a }) {
3717
+ let [o, s] = I(!1), [c, l] = I(), [u, f] = I(!1), p = F(null);
3718
+ P(() => {
3189
3719
  if (o) return;
3190
- let e = setTimeout(() => f(!1), Ui);
3720
+ let e = setTimeout(() => f(!1), _a);
3191
3721
  return () => clearTimeout(e);
3192
- }, [o]), O(() => {
3722
+ }, [o]), P(() => {
3193
3723
  if (!o) return;
3194
3724
  let e = new ResizeObserver(() => m());
3195
3725
  return e.observe(document.documentElement), () => e.disconnect();
@@ -3215,13 +3745,13 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3215
3745
  onOpenChange: h,
3216
3746
  children: [/* @__PURE__ */ r(d.Trigger, {
3217
3747
  asChild: !0,
3218
- children: /* @__PURE__ */ r(B, {
3748
+ children: /* @__PURE__ */ r(q, {
3219
3749
  ref: p,
3220
3750
  variant: "ghost",
3221
3751
  size: "icon",
3222
3752
  "aria-label": "Open menu",
3223
3753
  className: a,
3224
- children: /* @__PURE__ */ r(Sr, { className: u ? "invisible" : void 0 })
3754
+ children: /* @__PURE__ */ r(Ur, { className: u ? "invisible" : void 0 })
3225
3755
  })
3226
3756
  }), /* @__PURE__ */ i(d.Portal, { children: [/* @__PURE__ */ r(d.Overlay, {
3227
3757
  "data-slot": "mobile-menu-backdrop",
@@ -3239,7 +3769,7 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3239
3769
  /* @__PURE__ */ r("div", {
3240
3770
  className: "fixed inset-0 [filter:drop-shadow(0_0_1px_rgb(20_18_26/0.4))_drop-shadow(-12px_16px_36px_rgb(20_18_26/0.4))] dark:[filter:drop-shadow(0_0_1px_rgb(255_255_255/0.45))_drop-shadow(-12px_16px_36px_rgb(0_0_0/0.7))]",
3241
3771
  children: /* @__PURE__ */ r("div", {
3242
- className: M("fixed inset-0 animate-menu-reveal group-data-[state=closed]/menu:animate-menu-conceal", "motion-reduce:animate-fade-in motion-reduce:group-data-[state=closed]/menu:animate-fade-out"),
3772
+ className: z("fixed inset-0 animate-menu-reveal group-data-[state=closed]/menu:animate-menu-conceal", "motion-reduce:animate-fade-in motion-reduce:group-data-[state=closed]/menu:animate-fade-out"),
3243
3773
  children: /* @__PURE__ */ i("div", {
3244
3774
  className: "pointer-events-auto absolute inset-y-0 end-0 flex w-[min(340px,86vw)] flex-col gap-1 border-s bg-popover px-5 pt-21 pb-8 text-popover-foreground",
3245
3775
  children: [/* @__PURE__ */ r("nav", {
@@ -3261,7 +3791,7 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3261
3791
  }),
3262
3792
  /* @__PURE__ */ r(d.Close, {
3263
3793
  asChild: !0,
3264
- children: /* @__PURE__ */ r(B, {
3794
+ children: /* @__PURE__ */ r(q, {
3265
3795
  variant: "ghost",
3266
3796
  size: "icon",
3267
3797
  "aria-label": "Close menu",
@@ -3275,7 +3805,7 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3275
3805
  right: 24,
3276
3806
  top: 12
3277
3807
  },
3278
- children: /* @__PURE__ */ r(Sr, { open: o })
3808
+ children: /* @__PURE__ */ r(Ur, { open: o })
3279
3809
  })
3280
3810
  })
3281
3811
  ]
@@ -3283,11 +3813,11 @@ function Wi({ links: e, actions: t, label: n = "Main", className: a }) {
3283
3813
  });
3284
3814
  }
3285
3815
  // src/web/pricing-table.component.tsx
3286
- function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
3287
- let [l, u] = k(a);
3816
+ function ya({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note: o, featuredLabel: s = "Most teams", className: c }) {
3817
+ let [l, u] = I(a);
3288
3818
  return /* @__PURE__ */ r("section", {
3289
3819
  "data-slot": "pricing-table",
3290
- className: M("border-y bg-canvas py-22", c),
3820
+ className: z("border-y bg-canvas py-22", c),
3291
3821
  children: /* @__PURE__ */ i("div", {
3292
3822
  className: "mx-auto flex max-w-[1200px] flex-col gap-8 px-6",
3293
3823
  children: [
@@ -3302,15 +3832,15 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3302
3832
  className: "m-0 type-lead",
3303
3833
  children: t
3304
3834
  })]
3305
- }), /* @__PURE__ */ i(pt, {
3835
+ }), /* @__PURE__ */ i(dt, {
3306
3836
  type: "single",
3307
3837
  value: l,
3308
3838
  onValueChange: (e) => e && u(e),
3309
3839
  "aria-label": "Billing",
3310
- children: [/* @__PURE__ */ r(mt, {
3840
+ children: [/* @__PURE__ */ r(ft, {
3311
3841
  value: "monthly",
3312
3842
  children: "Monthly"
3313
- }), /* @__PURE__ */ r(mt, {
3843
+ }), /* @__PURE__ */ r(ft, {
3314
3844
  value: "yearly",
3315
3845
  children: "Yearly"
3316
3846
  })]
@@ -3320,14 +3850,14 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3320
3850
  className: "m-0 grid list-none grid-cols-[repeat(auto-fit,minmax(280px,1fr))] gap-4 p-0",
3321
3851
  children: n.map((e) => /* @__PURE__ */ i("li", {
3322
3852
  "aria-label": e.name,
3323
- className: M("flex flex-col gap-3.5 rounded-2xl border bg-card p-7 shadow-xs", e.featured && "border-brand shadow-[0_0_0_1px_var(--brand),var(--elevation-md)]"),
3853
+ className: z("flex flex-col gap-3.5 rounded-2xl border bg-card p-7 shadow-xs", e.featured && "border-brand shadow-[0_0_0_1px_var(--brand),var(--elevation-md)]"),
3324
3854
  children: [
3325
3855
  /* @__PURE__ */ i("div", {
3326
3856
  className: "flex items-center justify-between",
3327
3857
  children: [/* @__PURE__ */ r("h3", {
3328
3858
  className: "m-0 type-h3",
3329
3859
  children: e.name
3330
- }), e.featured && /* @__PURE__ */ r(R, { children: s })]
3860
+ }), e.featured && /* @__PURE__ */ r(G, { children: s })]
3331
3861
  }),
3332
3862
  /* @__PURE__ */ r("span", {
3333
3863
  className: "font-display text-[34px] font-extrabold tracking-tight",
@@ -3342,14 +3872,14 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3342
3872
  className: "m-0 flex list-none flex-col gap-2.5 p-0 text-[15px]",
3343
3873
  children: e.features.map((e) => /* @__PURE__ */ i("li", {
3344
3874
  className: "flex gap-2.5",
3345
- children: [/* @__PURE__ */ r(T, {
3875
+ children: [/* @__PURE__ */ r(k, {
3346
3876
  className: "mt-0.5 size-4.5 shrink-0 text-brand-text",
3347
3877
  strokeWidth: 2,
3348
3878
  "aria-hidden": "true"
3349
3879
  }), e]
3350
3880
  }, e))
3351
3881
  }),
3352
- /* @__PURE__ */ r(B, {
3882
+ /* @__PURE__ */ r(q, {
3353
3883
  asChild: !0,
3354
3884
  variant: e.featured ? "default" : "outline",
3355
3885
  className: "mt-auto",
@@ -3370,20 +3900,20 @@ function Gi({ title: e, lead: t, plans: n, defaultBilling: a = "monthly", note:
3370
3900
  });
3371
3901
  }
3372
3902
  // src/web/product-card.component.tsx
3373
- function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
3374
- let s = N[e];
3903
+ function ba({ product: e, href: t, description: n, stage: a, className: o }) {
3904
+ let s = B[e];
3375
3905
  return /* @__PURE__ */ i("a", {
3376
3906
  "data-slot": "product-card",
3377
3907
  "data-product": e,
3378
3908
  href: t,
3379
- className: M("flex flex-col overflow-hidden rounded-2xl border bg-card text-card-foreground no-underline shadow-xs transition-shadow hover:shadow-sm focus-visible:outline-2 focus-visible:outline-ring", o),
3909
+ className: z("flex flex-col overflow-hidden rounded-2xl border bg-card text-card-foreground no-underline shadow-xs transition-shadow hover:shadow-sm focus-visible:outline-2 focus-visible:outline-ring", o),
3380
3910
  children: [/* @__PURE__ */ r("span", {
3381
3911
  "aria-hidden": "true",
3382
3912
  className: "block h-1.5 bg-brand"
3383
3913
  }), /* @__PURE__ */ i("span", {
3384
3914
  className: "flex flex-col gap-3.5 p-5.5",
3385
3915
  children: [
3386
- /* @__PURE__ */ r(P, {
3916
+ /* @__PURE__ */ r(V, {
3387
3917
  product: e,
3388
3918
  alt: "",
3389
3919
  className: "size-11"
@@ -3398,7 +3928,7 @@ function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
3398
3928
  children: n ?? s.tagline
3399
3929
  })]
3400
3930
  }),
3401
- /* @__PURE__ */ r(R, {
3931
+ /* @__PURE__ */ r(G, {
3402
3932
  variant: "outline",
3403
3933
  className: "self-start",
3404
3934
  children: a ?? s.stage
@@ -3408,17 +3938,17 @@ function Ki({ product: e, href: t, description: n, stage: a, className: o }) {
3408
3938
  });
3409
3939
  }
3410
3940
  // src/web/site-footer.component.tsx
3411
- function qi({ tagline: e, columns: t, legal: n, className: a }) {
3941
+ function xa({ tagline: e, columns: t, legal: n, className: a }) {
3412
3942
  return /* @__PURE__ */ i("footer", {
3413
3943
  "data-slot": "site-footer",
3414
- className: M("border-t pt-14 pb-10", a),
3944
+ className: z("border-t pt-14 pb-10", a),
3415
3945
  children: [/* @__PURE__ */ i("div", {
3416
3946
  className: "mx-auto grid max-w-[1200px] grid-cols-[repeat(auto-fit,minmax(160px,1fr))] gap-8 px-6",
3417
3947
  children: [/* @__PURE__ */ i("div", {
3418
3948
  className: "col-span-2 flex flex-col gap-3",
3419
3949
  children: [/* @__PURE__ */ i("span", {
3420
3950
  className: "flex items-center gap-2",
3421
- children: [/* @__PURE__ */ r(P, {
3951
+ children: [/* @__PURE__ */ r(V, {
3422
3952
  product: "talogic",
3423
3953
  alt: "",
3424
3954
  className: "size-7"
@@ -3449,12 +3979,12 @@ function qi({ tagline: e, columns: t, legal: n, className: a }) {
3449
3979
  });
3450
3980
  }
3451
3981
  // src/web/site-header.component.tsx
3452
- function Ji({ nav: e, actions: t, brand: a, className: o }) {
3982
+ function Sa({ nav: e, actions: t, brand: a, className: o }) {
3453
3983
  let s = a ?? /* @__PURE__ */ i("a", {
3454
3984
  href: "/",
3455
3985
  className: "flex items-center gap-2 no-underline",
3456
3986
  "aria-label": "Talogic home",
3457
- children: [/* @__PURE__ */ r(P, {
3987
+ children: [/* @__PURE__ */ r(V, {
3458
3988
  product: "talogic",
3459
3989
  alt: "",
3460
3990
  className: "size-7"
@@ -3465,17 +3995,17 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3465
3995
  });
3466
3996
  return /* @__PURE__ */ r("header", {
3467
3997
  "data-slot": "site-header",
3468
- className: M("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
3998
+ className: z("sticky top-0 z-40 border-b bg-background/88 backdrop-blur-md", o),
3469
3999
  children: /* @__PURE__ */ i("div", {
3470
4000
  className: "mx-auto flex h-[68px] max-w-[1200px] items-center gap-7 px-6",
3471
4001
  children: [
3472
4002
  s,
3473
- /* @__PURE__ */ r(Ar, {
4003
+ /* @__PURE__ */ r(Zr, {
3474
4004
  className: "hidden md:flex",
3475
4005
  "aria-label": "Main",
3476
- children: /* @__PURE__ */ r(jr, { children: e.map((e) => /* @__PURE__ */ r(Mr, { children: e.links ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(Pr, { children: e.label }), /* @__PURE__ */ r(Fr, { children: /* @__PURE__ */ r("ul", {
4006
+ children: /* @__PURE__ */ r(Qr, { children: e.map((e) => /* @__PURE__ */ r($r, { children: e.links ? /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(ti, { children: e.label }), /* @__PURE__ */ r(ni, { children: /* @__PURE__ */ r("ul", {
3477
4007
  className: "m-0 grid w-[420px] list-none gap-1 p-0",
3478
- children: e.links.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ i(Ir, {
4008
+ children: e.links.map((e) => /* @__PURE__ */ r("li", { children: /* @__PURE__ */ i(ri, {
3479
4009
  href: e.href,
3480
4010
  className: "flex h-auto flex-col items-start gap-0.5 py-2",
3481
4011
  children: [/* @__PURE__ */ r("span", {
@@ -3486,7 +4016,7 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3486
4016
  children: e.description
3487
4017
  })]
3488
4018
  }) }, e.href))
3489
- }) })] }) : /* @__PURE__ */ r(Ir, {
4019
+ }) })] }) : /* @__PURE__ */ r(ri, {
3490
4020
  href: e.href,
3491
4021
  children: e.label
3492
4022
  }) }, e.label)) })
@@ -3495,7 +4025,7 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3495
4025
  className: "ms-auto hidden items-center gap-2 md:flex",
3496
4026
  children: t
3497
4027
  }),
3498
- /* @__PURE__ */ r(Wi, {
4028
+ /* @__PURE__ */ r(va, {
3499
4029
  className: "ms-auto md:hidden",
3500
4030
  links: e.flatMap((e) => e.links ?? [{
3501
4031
  label: e.label,
@@ -3507,6 +4037,6 @@ function Ji({ nav: e, actions: t, brand: a, className: o }) {
3507
4037
  })
3508
4038
  });
3509
4039
  }
3510
- export { Pt as Accordion, Lt as AccordionContent, Ft as AccordionItem, It as AccordionTrigger, gt as Alert, rn as AlertDialog, ln as AlertDialogAction, un as AlertDialogCancel, on as AlertDialogContent, cn as AlertDialogDescription, sn as AlertDialogTitle, an as AlertDialogTrigger, pi as AppShell, nt as Avatar, it as AvatarFallback, rt as AvatarImage, R as Badge, Fi as BottomNav, hr as Breadcrumb, _r as BreadcrumbItem, vr as BreadcrumbLink, gr as BreadcrumbList, yr as BreadcrumbPage, br as BreadcrumbSeparator, B as Button, $e as COLOUR_SCHEMES, Ii as CaptureFrame, Rt as Card, Ht as CardContent, Vt as CardDescription, Ut as CardFooter, zt as CardHeader, Bt as CardTitle, V as Checkbox, Wn as Command, Gn as CommandDialog, Jn as CommandEmpty, Yn as CommandGroup, Kn as CommandInput, Xn as CommandItem, qn as CommandList, Zn as CommandSeparator, Qn as CommandShortcut, $n as ContextMenu, tr as ContextMenuContent, nr as ContextMenuItem, rr as ContextMenuSeparator, ir as ContextMenuShortcut, er as ContextMenuTrigger, Ri as CtaBand, Qe as DENSITIES, dn as Dialog, pn as DialogClose, mn as DialogContent, vn as DialogDescription, gn as DialogFooter, hn as DialogHeader, _n as DialogTitle, fn as DialogTrigger, yn as Drawer, xn as DrawerClose, Sn as DrawerContent, wn as DrawerDescription, Cn as DrawerTitle, bn as DrawerTrigger, ar as DropdownMenu, lr as DropdownMenuContent, sr as DropdownMenuGroup, ur as DropdownMenuItem, fr as DropdownMenuLabel, cr as DropdownMenuRadioGroup, dr as DropdownMenuRadioItem, pr as DropdownMenuSeparator, mr as DropdownMenuShortcut, or as DropdownMenuTrigger, _t as EmptyState, Be as FAMILY_PALETTE, qe as FREE_HUES, zi as Faq, Bi as FeatureGrid, wt as Field, mi as FilterBar, hi as FilterChip, Ei as FlowNode, gi as FormSection, Xe as HUES, I as HUE_FILL, Vi as Hero, Hi as HowItWorks, W as Input, Di as Inspector, Wt as Kbd, Fe as LABEL_COLORS, L as LOGO_RULE, Ct as Label, Sr as MenuIcon, Cr as Menubar, Er as MenubarContent, Dr as MenubarItem, wr as MenubarMenu, kr as MenubarSeparator, Or as MenubarShortcut, Tr as MenubarTrigger, Wi as MobileMenu, Ar as NavigationMenu, Fr as NavigationMenuContent, Mr as NavigationMenuItem, Ir as NavigationMenuLink, jr as NavigationMenuList, Pr as NavigationMenuTrigger, Ze as PALETTE_STEPS, Ye as PRODUCTS, N as PRODUCT_CATALOGUE, Ke as PRODUCT_HUES, _i as PageHeader, Lr as Pagination, Tn as Popover, Dn as PopoverAnchor, On as PopoverContent, En as PopoverTrigger, Gi as PricingTable, Ki as ProductCard, P as ProductLogo, ii as ProductSwitcher, vt as Progress, Si as RUN_STATUSES, st as RadioGroup, ct as RadioGroupItem, Li as RecordButton, vi as RecordsTable, qt as ResizableHandle, Kt as ResizablePanel, Gt as ResizablePanelGroup, Jt as ScrollArea, Yt as ScrollBar, Tt as Select, kt as SelectContent, Et as SelectGroup, jt as SelectItem, At as SelectLabel, Mt as SelectSeparator, Ot as SelectTrigger, Dt as SelectValue, Xt as Separator, kn as Sheet, jn as SheetClose, Fn as SheetContent, Nn as SheetDescription, Mn as SheetTitle, An as SheetTrigger, Jr as Sidebar, ai as SidebarBrand, Yr as SidebarCollapseButton, Zr as SidebarContent, $r as SidebarFooter, ei as SidebarGroup, Xr as SidebarHeader, ti as SidebarItem, Qr as SidebarNote, ri as SidebarSheet, Q as SidebarTooltip, qi as SiteFooter, Ji as SiteHeader, yt as Skeleton, lt as Slider, bt as Spinner, xi as StatCard, Ti as StatusBadge, Oi as StatusBar, Ur as Stepper, ut as Switch, Zt as Table, $t as TableBody, tn as TableCaption, K as TableCell, G as TableHead, Qt as TableHeader, en as TableRow, Rr as Tabs, Vr as TabsContent, zr as TabsList, Br as TabsTrigger, Nt as Textarea, tt as ThemeRoot, Ni as TimelineLanes, Pi as TitleBar, xt as Toaster, pt as ToggleGroup, mt as ToggleGroupItem, Ln as Tooltip, zn as TooltipContent, In as TooltipProvider, Rn as TooltipTrigger, Re as apcaContrast, at as badgeVariants, z as buttonVariants, M as cn, si as commandShortcutLabel, H as controlClassName, Z as fadingLabelClassName, J as floatingMotionClassName, Mi as formatClockTime, ji as formatTimecode, Je as hueForProduct, Ge as logoColorForHue, Kr as navRowClassName, q as overlayClassName, ze as readableLabel, wi as runStatusDisplay, nn as sheetMotionClassName, Gr as sidebarNoteClassName, yi as sparklinePath, et as themeAttributes, ki as timelineBox, Ai as timelineTicks, oi as useCommandShortcut, fi as useCommandShortcutLabel, U as useFieldControl, X as useSidebar };
4040
+ export { fr as Accordion, hr as AccordionContent, pr as AccordionItem, mr as AccordionTrigger, nr as Alert, At as AlertDialog, Ft as AlertDialogAction, It as AlertDialogCancel, Mt as AlertDialogContent, Pt as AlertDialogDescription, Nt as AlertDialogTitle, jt as AlertDialogTrigger, Vi as AppShell, Bi as AppShellBody, zi as AppShellHeader, $e as Avatar, tt as AvatarFallback, et as AvatarImage, G as Badge, la as BottomNav, Ir as Breadcrumb, Rr as BreadcrumbItem, zr as BreadcrumbLink, Lr as BreadcrumbList, Br as BreadcrumbPage, Vr as BreadcrumbSeparator, q as Button, Xe as COLOUR_SCHEMES, ua as CaptureFrame, gr as Card, br as CardContent, yr as CardDescription, xr as CardFooter, _r as CardHeader, vr as CardTitle, it as Checkbox, Qn as Combobox, vn as Command, yn as CommandDialog, Sn as CommandEmpty, Cn as CommandGroup, bn as CommandInput, wn as CommandItem, xn as CommandList, Tn as CommandSeparator, En as CommandShortcut, Dn as ContextMenu, kn as ContextMenuContent, An as ContextMenuItem, jn as ContextMenuSeparator, Mn as ContextMenuShortcut, On as ContextMenuTrigger, fa as CtaBand, Ye as DENSITIES, Lt as Dialog, zt as DialogClose, Bt as DialogContent, Wt as DialogDescription, Ht as DialogFooter, Vt as DialogHeader, Ut as DialogTitle, Rt as DialogTrigger, Gt as Drawer, qt as DrawerClose, Jt as DrawerContent, Xt as DrawerDescription, Yt as DrawerTitle, Kt as DrawerTrigger, Nn as DropdownMenu, Ln as DropdownMenuContent, Fn as DropdownMenuGroup, Rn as DropdownMenuItem, Bn as DropdownMenuLabel, In as DropdownMenuRadioGroup, zn as DropdownMenuRadioItem, Vn as DropdownMenuSeparator, Hn as DropdownMenuShortcut, Pn as DropdownMenuTrigger, rr as EmptyState, Le as FAMILY_PALETTE, We as FREE_HUES, pa as Faq, ma as FeatureGrid, _t as Field, ur as FileDropOverlay, Hi as FilterBar, Ui as FilterChip, ea as FlowNode, Wi as FormSection, qe as HUES, U as HUE_FILL, ha as Hero, ga as HowItWorks, vt as Input, ta as Inspector, Sr as Kbd, Me as LABEL_COLORS, W as LOGO_RULE, gt as Label, Ur as MenuIcon, Wr as Menubar, qr as MenubarContent, Jr as MenubarItem, Gr as MenubarMenu, Xr as MenubarSeparator, Yr as MenubarShortcut, Kr as MenubarTrigger, va as MobileMenu, Zr as NavigationMenu, ni as NavigationMenuContent, $r as NavigationMenuItem, ri as NavigationMenuLink, Qr as NavigationMenuList, ti as NavigationMenuTrigger, Je as PALETTE_STEPS, Ke as PRODUCTS, B as PRODUCT_CATALOGUE, Ue as PRODUCT_HUES, Gi as PageHeader, ii as Pagination, Qt as Popover, en as PopoverAnchor, tn as PopoverContent, $t as PopoverTrigger, Zt as Portal, ya as PricingTable, ba as ProductCard, V as ProductLogo, ki as ProductSwitcher, ir as Progress, Xi as RUN_STATUSES, at as RadioGroup, ot as RadioGroupItem, da as RecordButton, Ki as RecordsTable, Tr as ResizableHandle, wr as ResizablePanel, Cr as ResizablePanelGroup, Er as ScrollArea, Dr as ScrollBar, yt as Select, Ct as SelectContent, bt as SelectGroup, Tt as SelectItem, wt as SelectLabel, Et as SelectSeparator, St as SelectTrigger, xt as SelectValue, Or as Separator, nn as Sheet, an as SheetClose, ln as SheetContent, sn as SheetDescription, on as SheetTitle, rn as SheetTrigger, vi as Sidebar, Ai as SidebarBrand, bi as SidebarCollapseButton, Si as SidebarContent, wi as SidebarFooter, Ti as SidebarGroup, xi as SidebarHeader, Ei as SidebarItem, Ci as SidebarNote, Oi as SidebarSheet, yi as SidebarTooltip, xa as SiteFooter, Sa as SiteHeader, ar as Skeleton, st as Slider, or as Spinner, Yi as StatCard, $i as StatusBadge, na as StatusBar, pi as Stepper, ct as Switch, Un as TAG_DELIMITERS, kr as Table, jr as TableBody, Fr as TableCaption, Pr as TableCell, Nr as TableHead, Ar as TableHeader, Mr as TableRow, ai as Tabs, di as TabsContent, ci as TabsList, ui as TabsTrigger, Kn as Tag, Yn as TagsInput, Dt as Textarea, Qe as ThemeRoot, sa as TimelineLanes, ca as TitleBar, sr as Toaster, dt as ToggleGroup, ft as ToggleGroupItem, dn as Tooltip, pn as TooltipContent, un as TooltipProvider, fn as TooltipTrigger, cr as acceptsFile, Gn as addTags, Fe as apcaContrast, nt as badgeVariants, K as buttonVariants, z as cn, Mi as commandShortcutLabel, pt as controlClassName, Q as fadingLabelClassName, Ot as floatingMotionClassName, oa as formatClockTime, aa as formatTimecode, Ge as hueForProduct, He as logoColorForHue, lr as mayAcceptDrag, X as menuItemClassName, gn as menuSeparatorClassName, hn as menuShortcutClassName, gi as navRowClassName, Y as overlayClassName, Ie as readableLabel, Qi as runStatusDisplay, kt as sheetMotionClassName, hi as sidebarNoteClassName, qi as sparklinePath, Wn as splitTags, qn as tagsFieldClassName, Jn as tagsFieldInputClassName, Ze as themeAttributes, ra as timelineBox, ia as timelineTicks, ji as useCommandShortcut, Li as useCommandShortcutLabel, J as useFieldControl, ht as useFieldLabelId, Xn as useOptionSearch, dr as usePageDrop, Z as useSidebar };
3511
4041
 
3512
4042
  //# sourceMappingURL=index.js.map