@pstdio/ui 0.2.4 → 0.2.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/dist/chat-ui.js +705 -690
  2. package/dist/chat-ui.js.map +1 -1
  3. package/dist/components/chat-ui/agent-types.d.ts +7 -1
  4. package/dist/components/chat-ui/components/ai-message.d.ts +3 -10
  5. package/dist/components/chat-ui/components/chat-panel-alerts.stories.d.ts +9 -0
  6. package/dist/components/chat-ui/components/chat-panel.d.ts +2 -0
  7. package/dist/components/chat-ui/components/message-parts-renderer.stories.d.ts +1 -0
  8. package/dist/components/chat-ui/components/workspace-hub.d.ts +3 -0
  9. package/dist/components/chat-ui/index.d.ts +1 -0
  10. package/dist/components/menu-item.d.ts +0 -1
  11. package/dist/components/searchable-menu.d.ts +32 -0
  12. package/dist/components/searchable-menu.stories.d.ts +6 -0
  13. package/dist/components/searchable-menu.test.d.ts +1 -0
  14. package/dist/components/sidebar-tree/searchable-action-menu.d.ts +6 -0
  15. package/dist/components/sidebar-tree/sidebar-tree-searchable-action-menu.stories.d.ts +6 -0
  16. package/dist/components/sidebar-tree/sidebar-tree.types.d.ts +2 -0
  17. package/dist/components/tickets/ticket-card.stories.d.ts +1 -0
  18. package/dist/empty-state-yGspgiPl.js +185 -0
  19. package/dist/empty-state-yGspgiPl.js.map +1 -0
  20. package/dist/index.d.ts +3 -1
  21. package/dist/index.js +1497 -1417
  22. package/dist/index.js.map +1 -1
  23. package/dist/theme/global.d.ts +10 -0
  24. package/dist/{theme-C7CIuIPZ.js → theme-BFV2Q048.js} +18 -8
  25. package/dist/theme-BFV2Q048.js.map +1 -0
  26. package/dist/theme.js +1 -1
  27. package/package.json +1 -1
  28. package/dist/empty-state-DHSKuwia.js +0 -160
  29. package/dist/empty-state-DHSKuwia.js.map +0 -1
  30. package/dist/theme-C7CIuIPZ.js.map +0 -1
package/dist/index.js CHANGED
@@ -1,18 +1,18 @@
1
- import { Alert as De, Breadcrumb as xe, Checkbox as Re, Box as V, Text as $, Dialog as se, CloseButton as Et, Stack as O, Button as de, IconButton as Se, Grid as zt, Timeline as pe, HStack as X, Image as At, List as ht, Flex as we, Badge as Ie, Link as Ue, Heading as Gt, useEnvironmentContext as Ot, Icon as re, Collapsible as Te, MenuItem as tt, Menu as le, AbsoluteCenter as Mt, Separator as Ye, Switch as Pe, Popover as ke, SegmentGroup as Ce, Portal as Qe, Wrap as pt, Spacer as Nt, createToaster as Ht, Toaster as Wt, Toast as _e, Spinner as Bt } from "@chakra-ui/react";
2
- import { ChakraProvider as lo } from "@chakra-ui/react";
3
- import { jsx as i, jsxs as x, Fragment as Ze } from "react/jsx-runtime";
4
- import { c as z } from "react/compiler-runtime";
5
- import * as He from "react";
6
- import { useState as me, useRef as mt, useEffect as Ge, Children as Ft, isValidElement as Vt, cloneElement as jt, Component as Xt, createContext as Ut, useContext as Yt } from "react";
7
- import { Editor as Kt, DiffEditor as Jt } from "@monaco-editor/react";
8
- import { D as qt, a as bt, E as Ke } from "./empty-state-DHSKuwia.js";
9
- import { useVirtualizer as Qt } from "@tanstack/react-virtual";
10
- import { ChevronRight as ye, ChevronDown as et, FileText as Je, ChevronLeft as Zt, FolderOpen as en, Folder as tn, Home as nn, ChevronUp as ln, Info as on, CircleCheck as rn, CircleAlert as sn, CircleDashed as an, PanelLeftClose as cn, Settings2 as dn, List as un, KanbanSquare as fn, ArrowDownUp as gn, Filter as hn, GitBranchIcon as pn, Plus as mn, MoreHorizontal as bn } from "lucide-react";
11
- import { S as ve, T as Le } from "./tooltip-Dze4WXVl.js";
1
+ import { Breadcrumb as ve, Checkbox as Ee, Box as j, Text as L, Dialog as fe, CloseButton as Rt, Stack as H, Button as he, IconButton as Se, Grid as Et, Timeline as xe, HStack as X, Image as zt, List as pt, Flex as Ie, Badge as Pe, Link as Ue, Heading as Ot, useEnvironmentContext as At, Icon as ue, Collapsible as De, MenuItem as nt, Menu as ie, AbsoluteCenter as Mt, Separator as Ye, Portal as He, InputGroup as Gt, Input as Nt, Switch as Te, Popover as ke, SegmentGroup as we, Wrap as mt, Spacer as Ht, createToaster as Wt, Toaster as Bt, Toast as _e, Spinner as Ft } from "@chakra-ui/react";
2
+ import { ChakraProvider as ho } from "@chakra-ui/react";
3
+ import { D as Vt, a as bt, E as Ke, A as jt } from "./empty-state-yGspgiPl.js";
4
+ import { jsx as i, jsxs as x, Fragment as Qe } from "react/jsx-runtime";
5
+ import { c as A } from "react/compiler-runtime";
6
+ import * as Ze from "react";
7
+ import { useState as pe, useRef as et, useEffect as ze, Children as Xt, isValidElement as Ut, cloneElement as Yt, Component as Kt, Fragment as qt, createContext as Jt, useContext as Qt } from "react";
8
+ import { Editor as Zt, DiffEditor as en } from "@monaco-editor/react";
9
+ import { useVirtualizer as tn } from "@tanstack/react-virtual";
10
+ import { ChevronRight as Ce, ChevronDown as tt, FileText as qe, ChevronLeft as nn, FolderOpen as ln, Folder as on, Home as rn, ChevronUp as sn, Info as an, Search as cn, CircleCheck as dn, CircleAlert as un, CircleDashed as fn, PanelLeftClose as gn, Settings2 as hn, List as pn, KanbanSquare as mn, ArrowDownUp as bn, Filter as xn, GitBranchIcon as Sn, Plus as yn, MoreHorizontal as vn } from "lucide-react";
11
+ import { S as ye, T as Le } from "./tooltip-Dze4WXVl.js";
12
12
  import { useStore as xt } from "zustand";
13
13
  import { persist as St, createJSONStorage as yt } from "zustand/middleware";
14
14
  import { createStore as vt } from "zustand/vanilla";
15
- import { useReactTable as xn, getExpandedRowModel as Sn, getCoreRowModel as yn, flexRender as vn } from "@tanstack/react-table";
15
+ import { useReactTable as Cn, getExpandedRowModel as wn, getCoreRowModel as In, flexRender as kn } from "@tanstack/react-table";
16
16
  import "@fontsource/inter/400.css";
17
17
  import "@fontsource/inter/500.css";
18
18
  import "@fontsource/playfair-display/400.css";
@@ -21,84 +21,60 @@ import "@fontsource/playfair-display/700.css";
21
21
  import "@fontsource/onest/400.css";
22
22
  import "@fontsource/onest/500.css";
23
23
  import "@fontsource/onest/700.css";
24
- import { t as oo } from "./theme-C7CIuIPZ.js";
25
- const Cn = He.forwardRef(function(e, n) {
26
- const t = z(19);
27
- let o, r, s, a, c, d;
28
- t[0] !== e ? ({
29
- title: d,
30
- children: o,
31
- icon: s,
32
- startElement: c,
33
- endElement: r,
34
- ...a
35
- } = e, t[0] = e, t[1] = o, t[2] = r, t[3] = s, t[4] = a, t[5] = c, t[6] = d) : (o = t[1], r = t[2], s = t[3], a = t[4], c = t[5], d = t[6]);
36
- let u;
37
- t[7] !== s || t[8] !== c ? (u = c || /* @__PURE__ */ i(De.Indicator, { children: s }), t[7] = s, t[8] = c, t[9] = u) : u = t[9];
38
- let g;
39
- t[10] !== o || t[11] !== d ? (g = o ? /* @__PURE__ */ x(De.Content, { children: [
40
- /* @__PURE__ */ i(De.Title, { children: d }),
41
- /* @__PURE__ */ i(De.Description, { children: o })
42
- ] }) : /* @__PURE__ */ i(De.Title, { flex: "1", children: d }), t[10] = o, t[11] = d, t[12] = g) : g = t[12];
43
- let f;
44
- return t[13] !== r || t[14] !== n || t[15] !== a || t[16] !== u || t[17] !== g ? (f = /* @__PURE__ */ x(De.Root, { ref: n, ...a, children: [
45
- u,
46
- g,
47
- r
48
- ] }), t[13] = r, t[14] = n, t[15] = a, t[16] = u, t[17] = g, t[18] = f) : f = t[18], f;
49
- }), zi = He.forwardRef(function(e, n) {
50
- const t = z(21);
51
- let o, r, s, a, c;
24
+ import { t as mo } from "./theme-BFV2Q048.js";
25
+ const Vi = Ze.forwardRef(function(e, n) {
26
+ const t = A(21);
27
+ let o, s, r, a, c;
52
28
  t[0] !== e ? ({
53
29
  separator: a,
54
30
  separatorGap: c,
55
- items: r,
31
+ items: s,
56
32
  linkComponent: o,
57
- ...s
58
- } = e, t[0] = e, t[1] = o, t[2] = r, t[3] = s, t[4] = a, t[5] = c) : (o = t[1], r = t[2], s = t[3], a = t[4], c = t[5]);
33
+ ...r
34
+ } = e, t[0] = e, t[1] = o, t[2] = s, t[3] = r, t[4] = a, t[5] = c) : (o = t[1], s = t[2], r = t[3], a = t[4], c = t[5]);
59
35
  let d;
60
- if (t[6] !== o || t[7] !== r || t[8] !== a) {
61
- let f;
62
- t[10] !== o || t[11] !== r.length || t[12] !== a ? (f = (h, p) => {
63
- const m = p === r.length - 1, b = !!(h.url || h.onClick);
36
+ if (t[6] !== o || t[7] !== s || t[8] !== a) {
37
+ let g;
38
+ t[10] !== o || t[11] !== s.length || t[12] !== a ? (g = (h, p) => {
39
+ const m = p === s.length - 1, b = !!(h.url || h.onClick);
64
40
  let y;
65
- return m && !b ? y = /* @__PURE__ */ i(xe.CurrentLink, { children: h.title }) : h.url ? y = o ? /* @__PURE__ */ i(xe.Link, { asChild: !0, children: /* @__PURE__ */ i(o, { to: h.url, children: h.title }) }) : /* @__PURE__ */ i(xe.Link, { href: h.url, children: h.title }) : h.onClick ? y = /* @__PURE__ */ i(xe.Link, { as: "button", type: "button", onClick: h.onClick, children: h.title }) : y = /* @__PURE__ */ i(xe.Link, { children: h.title }), /* @__PURE__ */ x(xe.Item, { children: [
41
+ return m && !b ? y = /* @__PURE__ */ i(ve.CurrentLink, { children: h.title }) : h.url ? y = o ? /* @__PURE__ */ i(ve.Link, { asChild: !0, children: /* @__PURE__ */ i(o, { to: h.url, children: h.title }) }) : /* @__PURE__ */ i(ve.Link, { href: h.url, children: h.title }) : h.onClick ? y = /* @__PURE__ */ i(ve.Link, { as: "button", type: "button", onClick: h.onClick, children: h.title }) : y = /* @__PURE__ */ i(ve.Link, { children: h.title }), /* @__PURE__ */ x(ve.Item, { children: [
66
42
  y,
67
- m ? null : /* @__PURE__ */ i(xe.Separator, { as: "span", "aria-hidden": !0, ml: "xs", children: a })
43
+ m ? null : /* @__PURE__ */ i(ve.Separator, { as: "span", "aria-hidden": !0, ml: "xs", children: a })
68
44
  ] }, p);
69
- }, t[10] = o, t[11] = r.length, t[12] = a, t[13] = f) : f = t[13], d = r.map(f), t[6] = o, t[7] = r, t[8] = a, t[9] = d;
45
+ }, t[10] = o, t[11] = s.length, t[12] = a, t[13] = g) : g = t[13], d = s.map(g), t[6] = o, t[7] = s, t[8] = a, t[9] = d;
70
46
  } else
71
47
  d = t[9];
72
48
  let u;
73
- t[14] !== c || t[15] !== d ? (u = /* @__PURE__ */ i(xe.List, { gap: c, children: d }), t[14] = c, t[15] = d, t[16] = u) : u = t[16];
74
- let g;
75
- return t[17] !== n || t[18] !== s || t[19] !== u ? (g = /* @__PURE__ */ i(xe.Root, { ref: n, ...s, children: u }), t[17] = n, t[18] = s, t[19] = u, t[20] = g) : g = t[20], g;
76
- }), wn = He.forwardRef(function(e, n) {
77
- const t = z(26);
78
- let o, r, s, a, c, d;
49
+ t[14] !== c || t[15] !== d ? (u = /* @__PURE__ */ i(ve.List, { gap: c, children: d }), t[14] = c, t[15] = d, t[16] = u) : u = t[16];
50
+ let f;
51
+ return t[17] !== n || t[18] !== r || t[19] !== u ? (f = /* @__PURE__ */ i(ve.Root, { ref: n, ...r, children: u }), t[17] = n, t[18] = r, t[19] = u, t[20] = f) : f = t[20], f;
52
+ }), Pn = Ze.forwardRef(function(e, n) {
53
+ const t = A(26);
54
+ let o, s, r, a, c, d;
79
55
  t[0] !== e ? ({
80
- icon: r,
56
+ icon: s,
81
57
  children: o,
82
- inputProps: s,
58
+ inputProps: r,
83
59
  rootRef: c,
84
60
  disabled: d,
85
61
  ...a
86
- } = e, t[0] = e, t[1] = o, t[2] = r, t[3] = s, t[4] = a, t[5] = c, t[6] = d) : (o = t[1], r = t[2], s = t[3], a = t[4], c = t[5], d = t[6]);
87
- const u = d === void 0 ? !1 : d, g = u ? "not-allowed" : "pointer";
88
- let f;
89
- t[7] !== s || t[8] !== n ? (f = /* @__PURE__ */ i(Re.HiddenInput, { ref: n, ...s }), t[7] = s, t[8] = n, t[9] = f) : f = t[9];
62
+ } = e, t[0] = e, t[1] = o, t[2] = s, t[3] = r, t[4] = a, t[5] = c, t[6] = d) : (o = t[1], s = t[2], r = t[3], a = t[4], c = t[5], d = t[6]);
63
+ const u = d === void 0 ? !1 : d, f = u ? "not-allowed" : "pointer";
64
+ let g;
65
+ t[7] !== r || t[8] !== n ? (g = /* @__PURE__ */ i(Ee.HiddenInput, { ref: n, ...r }), t[7] = r, t[8] = n, t[9] = g) : g = t[9];
90
66
  let h;
91
- t[10] !== r ? (h = r || /* @__PURE__ */ i(Re.Indicator, {}), t[10] = r, t[11] = h) : h = t[11];
67
+ t[10] !== s ? (h = s || /* @__PURE__ */ i(Ee.Indicator, {}), t[10] = s, t[11] = h) : h = t[11];
92
68
  let p;
93
- t[12] !== g || t[13] !== h ? (p = /* @__PURE__ */ i(Re.Control, { borderRadius: "xs", cursor: g, children: h }), t[12] = g, t[13] = h, t[14] = p) : p = t[14];
69
+ t[12] !== f || t[13] !== h ? (p = /* @__PURE__ */ i(Ee.Control, { borderRadius: "xs", cursor: f, children: h }), t[12] = f, t[13] = h, t[14] = p) : p = t[14];
94
70
  let m;
95
- t[15] !== o || t[16] !== g ? (m = o != null && /* @__PURE__ */ i(Re.Label, { cursor: g, children: o }), t[15] = o, t[16] = g, t[17] = m) : m = t[17];
71
+ t[15] !== o || t[16] !== f ? (m = o != null && /* @__PURE__ */ i(Ee.Label, { cursor: f, children: o }), t[15] = o, t[16] = f, t[17] = m) : m = t[17];
96
72
  let b;
97
- return t[18] !== u || t[19] !== g || t[20] !== a || t[21] !== c || t[22] !== f || t[23] !== p || t[24] !== m ? (b = /* @__PURE__ */ x(Re.Root, { ref: c, disabled: u, cursor: g, ...a, children: [
98
- f,
73
+ return t[18] !== u || t[19] !== f || t[20] !== a || t[21] !== c || t[22] !== g || t[23] !== p || t[24] !== m ? (b = /* @__PURE__ */ x(Ee.Root, { ref: c, disabled: u, cursor: f, ...a, children: [
74
+ g,
99
75
  p,
100
76
  m
101
- ] }), t[18] = u, t[19] = g, t[20] = a, t[21] = c, t[22] = f, t[23] = p, t[24] = m, t[25] = b) : b = t[25], b;
77
+ ] }), t[18] = u, t[19] = f, t[20] = a, t[21] = c, t[22] = g, t[23] = p, t[24] = m, t[25] = b) : b = t[25], b;
102
78
  }), Ct = {
103
79
  base: "vs-dark",
104
80
  inherit: !0,
@@ -112,21 +88,21 @@ const Cn = He.forwardRef(function(e, n) {
112
88
  "editorIndentGuide.background": "#404040",
113
89
  "editorIndentGuide.activeBackground": "#707070"
114
90
  }
115
- }, Ai = (l) => {
116
- const e = z(15), {
91
+ }, ji = (l) => {
92
+ const e = A(15), {
117
93
  defaultCode: n,
118
94
  code: t,
119
95
  showLineNumbers: o,
120
- isEditable: r,
121
- language: s,
96
+ isEditable: s,
97
+ language: r,
122
98
  onChange: a,
123
99
  disableScroll: c
124
- } = l, d = s === void 0 ? "javascript" : s;
100
+ } = l, d = r === void 0 ? "javascript" : r;
125
101
  let u;
126
102
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = {
127
103
  enabled: !1
128
104
  }, e[0] = u) : u = e[0];
129
- const g = !r, f = o ? "on" : "off";
105
+ const f = !s, g = o ? "on" : "off";
130
106
  let h;
131
107
  e[1] !== c ? (h = c ? {
132
108
  scrollbar: {
@@ -140,36 +116,36 @@ const Cn = He.forwardRef(function(e, n) {
140
116
  overviewRulerLanes: 0
141
117
  } : {}, e[1] = c, e[2] = h) : h = e[2];
142
118
  let p;
143
- e[3] !== g || e[4] !== f || e[5] !== h ? (p = {
119
+ e[3] !== f || e[4] !== g || e[5] !== h ? (p = {
144
120
  tabSize: 2,
145
121
  minimap: u,
146
122
  fontSize: 12,
147
- readOnly: g,
148
- lineNumbers: f,
123
+ readOnly: f,
124
+ lineNumbers: g,
149
125
  ...h
150
- }, e[3] = g, e[4] = f, e[5] = h, e[6] = p) : p = e[6];
126
+ }, e[3] = f, e[4] = g, e[5] = h, e[6] = p) : p = e[6];
151
127
  const m = p;
152
128
  let b;
153
- e[7] !== a ? (b = (w) => {
154
- a?.(w || "");
129
+ e[7] !== a ? (b = (v) => {
130
+ a?.(v || "");
155
131
  }, e[7] = a, e[8] = b) : b = e[8];
156
132
  let y;
157
- return e[9] !== t || e[10] !== n || e[11] !== d || e[12] !== m || e[13] !== b ? (y = /* @__PURE__ */ i(Kt, { width: "100%", height: "100%", language: d, defaultValue: n, value: t, theme: "ps-theme", options: m, onChange: b, beforeMount: kn, onMount: In }), e[9] = t, e[10] = n, e[11] = d, e[12] = m, e[13] = b, e[14] = y) : y = e[14], y;
158
- }, Gi = (l) => {
159
- const e = z(11), {
133
+ return e[9] !== t || e[10] !== n || e[11] !== d || e[12] !== m || e[13] !== b ? (y = /* @__PURE__ */ i(Zt, { width: "100%", height: "100%", language: d, defaultValue: n, value: t, theme: "ps-theme", options: m, onChange: b, beforeMount: Tn, onMount: Dn }), e[9] = t, e[10] = n, e[11] = d, e[12] = m, e[13] = b, e[14] = y) : y = e[14], y;
134
+ }, Xi = (l) => {
135
+ const e = A(11), {
160
136
  original: n,
161
137
  modified: t,
162
138
  showLineNumbers: o,
163
- language: r,
164
- disableScroll: s
165
- } = l, a = r === void 0 ? "javascript" : r;
139
+ language: s,
140
+ disableScroll: r
141
+ } = l, a = s === void 0 ? "javascript" : s;
166
142
  let c;
167
143
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = {
168
144
  enabled: !1
169
145
  }, e[0] = c) : c = e[0];
170
146
  const d = o ? "on" : "off";
171
147
  let u;
172
- e[1] !== s ? (u = s ? {
148
+ e[1] !== r ? (u = r ? {
173
149
  scrollbar: {
174
150
  vertical: "hidden",
175
151
  horizontal: "hidden",
@@ -179,9 +155,9 @@ const Cn = He.forwardRef(function(e, n) {
179
155
  scrollBeyondLastLine: !1,
180
156
  mouseWheelScrollSensitivity: 0,
181
157
  overviewRulerLanes: 0
182
- } : {}, e[1] = s, e[2] = u) : u = e[2];
183
- let g;
184
- e[3] !== d || e[4] !== u ? (g = {
158
+ } : {}, e[1] = r, e[2] = u) : u = e[2];
159
+ let f;
160
+ e[3] !== d || e[4] !== u ? (f = {
185
161
  tabSize: 2,
186
162
  minimap: c,
187
163
  fontSize: 12,
@@ -191,31 +167,31 @@ const Cn = He.forwardRef(function(e, n) {
191
167
  useInlineViewWhenSpaceIsTooSmall: !0,
192
168
  lineNumbers: d,
193
169
  ...u
194
- }, e[3] = d, e[4] = u, e[5] = g) : g = e[5];
195
- const f = g;
170
+ }, e[3] = d, e[4] = u, e[5] = f) : f = e[5];
171
+ const g = f;
196
172
  let h;
197
- return e[6] !== a || e[7] !== t || e[8] !== f || e[9] !== n ? (h = /* @__PURE__ */ i(Jt, { width: "100%", height: "100%", language: a, original: n, modified: t, theme: "ps-theme", options: f, beforeMount: Pn, onMount: Tn }), e[6] = a, e[7] = t, e[8] = f, e[9] = n, e[10] = h) : h = e[10], h;
173
+ return e[6] !== a || e[7] !== t || e[8] !== g || e[9] !== n ? (h = /* @__PURE__ */ i(en, { width: "100%", height: "100%", language: a, original: n, modified: t, theme: "ps-theme", options: g, beforeMount: _n, onMount: $n }), e[6] = a, e[7] = t, e[8] = g, e[9] = n, e[10] = h) : h = e[10], h;
198
174
  };
199
- function kn(l) {
175
+ function Tn(l) {
200
176
  l.editor.defineTheme("ps-theme", Ct);
201
177
  }
202
- async function In(l, e) {
178
+ async function Dn(l, e) {
203
179
  e.editor.setTheme("ps-theme"), e.languages.typescript.typescriptDefaults.setCompilerOptions({
204
180
  jsx: e.languages.typescript.JsxEmit.React
205
181
  }), l.addCommand(e.KeyMod.CtrlCmd | e.KeyCode.KeyS, async () => {
206
182
  await l.getAction("editor.action.formatDocument")?.run();
207
183
  }), await l.getAction("editor.action.formatDocument")?.run();
208
184
  }
209
- function Pn(l) {
185
+ function _n(l) {
210
186
  l.editor.defineTheme("ps-theme", Ct);
211
187
  }
212
- function Tn(l, e) {
188
+ function $n(l, e) {
213
189
  e.editor.setTheme("ps-theme"), e.languages.typescript.typescriptDefaults.setCompilerOptions({
214
190
  jsx: e.languages.typescript.JsxEmit.React
215
191
  });
216
192
  }
217
- const Dn = (l) => {
218
- const e = z(3);
193
+ const Ln = (l) => {
194
+ const e = A(3);
219
195
  let n;
220
196
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (n = {
221
197
  backgroundClip: "padding-box",
@@ -224,195 +200,195 @@ const Dn = (l) => {
224
200
  width: "100%"
225
201
  }, e[0] = n) : n = e[0];
226
202
  let t;
227
- return e[1] !== l ? (t = /* @__PURE__ */ i(V, { ...l, css: n }), e[1] = l, e[2] = t) : t = e[2], t;
228
- }, Oi = (l) => {
229
- const e = z(2);
203
+ return e[1] !== l ? (t = /* @__PURE__ */ i(j, { ...l, css: n }), e[1] = l, e[2] = t) : t = e[2], t;
204
+ }, Ui = (l) => {
205
+ const e = A(2);
230
206
  let n;
231
- return e[0] !== l ? (n = /* @__PURE__ */ i(V, { p: "2", children: /* @__PURE__ */ i($, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...l }) }), e[0] = l, e[1] = n) : n = e[1], n;
232
- }, Mi = (l) => {
233
- const [e, n] = me(!1), {
207
+ return e[0] !== l ? (n = /* @__PURE__ */ i(j, { p: "2", children: /* @__PURE__ */ i(L, { color: "fg.muted", fontWeight: "medium", textStyle: "sm", whiteSpace: "nowrap", ...l }) }), e[0] = l, e[1] = n) : n = e[1], n;
208
+ }, Yi = (l) => {
209
+ const [e, n] = pe(!1), {
234
210
  headline: t,
235
211
  buttonText: o,
236
- notificationText: r,
237
- onDelete: s,
212
+ notificationText: s,
213
+ onDelete: r,
238
214
  open: a,
239
215
  onClose: c
240
216
  } = l, d = async () => {
241
217
  n(!0);
242
218
  try {
243
- await s(), c();
219
+ await r(), c();
244
220
  } catch {
245
221
  } finally {
246
222
  n(!1);
247
223
  }
248
224
  };
249
- return /* @__PURE__ */ x(se.Root, { open: a, onOpenChange: c, children: [
250
- /* @__PURE__ */ i(se.Backdrop, {}),
251
- /* @__PURE__ */ i(se.Positioner, { children: /* @__PURE__ */ x(se.Content, { children: [
252
- /* @__PURE__ */ x(se.Header, { children: [
253
- /* @__PURE__ */ i($, { textStyle: "heading/M", children: t }),
254
- /* @__PURE__ */ i(se.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ i(Et, { size: "sm" }) })
225
+ return /* @__PURE__ */ x(fe.Root, { open: a, onOpenChange: c, children: [
226
+ /* @__PURE__ */ i(fe.Backdrop, {}),
227
+ /* @__PURE__ */ i(fe.Positioner, { children: /* @__PURE__ */ x(fe.Content, { children: [
228
+ /* @__PURE__ */ x(fe.Header, { children: [
229
+ /* @__PURE__ */ i(L, { textStyle: "heading/M", children: t }),
230
+ /* @__PURE__ */ i(fe.CloseTrigger, { asChild: !0, children: /* @__PURE__ */ i(Rt, { size: "sm" }) })
255
231
  ] }),
256
- /* @__PURE__ */ i(se.Body, { children: r }),
257
- /* @__PURE__ */ i(se.Footer, { children: /* @__PURE__ */ x(O, { direction: "row", gap: "1", children: [
258
- /* @__PURE__ */ i(de, { onClick: c, children: "Close" }),
259
- /* @__PURE__ */ i(de, { loading: e, variant: "solid", colorPalette: "red", onClick: d, children: o })
232
+ /* @__PURE__ */ i(fe.Body, { children: s }),
233
+ /* @__PURE__ */ i(fe.Footer, { children: /* @__PURE__ */ x(H, { direction: "row", gap: "1", children: [
234
+ /* @__PURE__ */ i(he, { onClick: c, children: "Close" }),
235
+ /* @__PURE__ */ i(he, { loading: e, variant: "solid", colorPalette: "red", onClick: d, children: o })
260
236
  ] }) })
261
237
  ] }) })
262
238
  ] });
263
- }, _n = (l) => {
264
- const e = z(36), {
239
+ }, Rn = (l) => {
240
+ const e = A(36), {
265
241
  diff: n
266
- } = l, [t, o] = me(!0), r = n.newPath || n.oldPath || "unknown", s = n.additions ?? 0, a = n.deletions ?? 0, c = t ? "1px solid" : "none";
242
+ } = l, [t, o] = pe(!0), s = n.newPath || n.oldPath || "unknown", r = n.additions ?? 0, a = n.deletions ?? 0, c = t ? "1px solid" : "none";
267
243
  let d;
268
244
  e[0] !== t ? (d = () => o(!t), e[0] = t, e[1] = d) : d = e[1];
269
245
  const u = t ? "Collapse" : "Expand";
270
- let g;
271
- e[2] !== t ? (g = (P) => {
272
- P.stopPropagation(), o(!t);
273
- }, e[2] = t, e[3] = g) : g = e[3];
274
246
  let f;
275
- e[4] !== t ? (f = t ? /* @__PURE__ */ i(et, { size: 16 }) : /* @__PURE__ */ i(ye, { size: 16 }), e[4] = t, e[5] = f) : f = e[5];
247
+ e[2] !== t ? (f = (_) => {
248
+ _.stopPropagation(), o(!t);
249
+ }, e[2] = t, e[3] = f) : f = e[3];
250
+ let g;
251
+ e[4] !== t ? (g = t ? /* @__PURE__ */ i(tt, { size: 16 }) : /* @__PURE__ */ i(Ce, { size: 16 }), e[4] = t, e[5] = g) : g = e[5];
276
252
  let h;
277
- e[6] !== u || e[7] !== g || e[8] !== f ? (h = /* @__PURE__ */ i(Se, { "aria-label": u, variant: "ghost", size: "2xs", onClick: g, flexShrink: 0, children: f }), e[6] = u, e[7] = g, e[8] = f, e[9] = h) : h = e[9];
253
+ e[6] !== u || e[7] !== f || e[8] !== g ? (h = /* @__PURE__ */ i(Se, { "aria-label": u, variant: "ghost", size: "2xs", onClick: f, flexShrink: 0, children: g }), e[6] = u, e[7] = f, e[8] = g, e[9] = h) : h = e[9];
278
254
  let p;
279
- e[10] !== n.change || e[11] !== n.newPath || e[12] !== n.oldPath || e[13] !== r ? (p = n.change === "renamed" ? /* @__PURE__ */ x($, { as: "span", textStyle: "sm", children: [
280
- /* @__PURE__ */ i($, { as: "span", color: "fg.muted", textDecoration: "line-through", mr: "xs", children: n.oldPath }),
281
- /* @__PURE__ */ i(V, { as: "span", display: "inline-flex", alignItems: "center", verticalAlign: "middle", mr: "xs", children: /* @__PURE__ */ i(ye, { size: 12 }) }),
255
+ e[10] !== n.change || e[11] !== n.newPath || e[12] !== n.oldPath || e[13] !== s ? (p = n.change === "renamed" ? /* @__PURE__ */ x(L, { as: "span", textStyle: "sm", children: [
256
+ /* @__PURE__ */ i(L, { as: "span", color: "fg.muted", textDecoration: "line-through", mr: "xs", children: n.oldPath }),
257
+ /* @__PURE__ */ i(j, { as: "span", display: "inline-flex", alignItems: "center", verticalAlign: "middle", mr: "xs", children: /* @__PURE__ */ i(Ce, { size: 12 }) }),
282
258
  n.newPath
283
- ] }) : n.change === "deleted" ? /* @__PURE__ */ i($, { as: "span", color: "fg.muted", textDecoration: "line-through", textStyle: "sm", children: r }) : /* @__PURE__ */ i($, { as: "span", textStyle: "sm", children: r }), e[10] = n.change, e[11] = n.newPath, e[12] = n.oldPath, e[13] = r, e[14] = p) : p = e[14];
259
+ ] }) : n.change === "deleted" ? /* @__PURE__ */ i(L, { as: "span", color: "fg.muted", textDecoration: "line-through", textStyle: "sm", children: s }) : /* @__PURE__ */ i(L, { as: "span", textStyle: "sm", children: s }), e[10] = n.change, e[11] = n.newPath, e[12] = n.oldPath, e[13] = s, e[14] = p) : p = e[14];
284
260
  let m;
285
- e[15] !== r || e[16] !== p ? (m = /* @__PURE__ */ i(V, { minW: 0, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", title: r, children: p }), e[15] = r, e[16] = p, e[17] = m) : m = e[17];
261
+ e[15] !== s || e[16] !== p ? (m = /* @__PURE__ */ i(j, { minW: 0, overflow: "hidden", textOverflow: "ellipsis", whiteSpace: "nowrap", title: s, children: p }), e[15] = s, e[16] = p, e[17] = m) : m = e[17];
286
262
  let b;
287
- e[18] !== s || e[19] !== a ? (b = /* @__PURE__ */ i(V, { flexShrink: 0, children: /* @__PURE__ */ i(bt, { variant: "ghost", additions: s, deletions: a }) }), e[18] = s, e[19] = a, e[20] = b) : b = e[20];
263
+ e[18] !== r || e[19] !== a ? (b = /* @__PURE__ */ i(j, { flexShrink: 0, children: /* @__PURE__ */ i(bt, { variant: "ghost", additions: r, deletions: a }) }), e[18] = r, e[19] = a, e[20] = b) : b = e[20];
288
264
  let y;
289
- e[21] !== c || e[22] !== d || e[23] !== h || e[24] !== m || e[25] !== b ? (y = /* @__PURE__ */ x(zt, { templateColumns: "auto minmax(0, 1fr) auto", px: "xs", py: "2xs", alignItems: "center", justifyContent: "space-between", borderBottom: c, borderColor: "border.muted", cursor: "pointer", onClick: d, gap: "sm", children: [
265
+ e[21] !== c || e[22] !== d || e[23] !== h || e[24] !== m || e[25] !== b ? (y = /* @__PURE__ */ x(Et, { templateColumns: "auto minmax(0, 1fr) auto", px: "xs", py: "2xs", alignItems: "center", justifyContent: "space-between", borderBottom: c, borderColor: "border.muted", cursor: "pointer", onClick: d, gap: "sm", children: [
290
266
  h,
291
267
  m,
292
268
  b
293
269
  ] }), e[21] = c, e[22] = d, e[23] = h, e[24] = m, e[25] = b, e[26] = y) : y = e[26];
294
- let w;
295
- e[27] !== n.newContent || e[28] !== n.newPath || e[29] !== n.oldContent || e[30] !== n.oldPath || e[31] !== t ? (w = t && /* @__PURE__ */ i(V, { bg: "bg", children: /* @__PURE__ */ i(qt, { original: n.oldContent || "", modified: n.newContent || "", oldPath: n.oldPath, newPath: n.newPath, sideBySide: !1 }) }), e[27] = n.newContent, e[28] = n.newPath, e[29] = n.oldContent, e[30] = n.oldPath, e[31] = t, e[32] = w) : w = e[32];
296
- let I;
297
- return e[33] !== w || e[34] !== y ? (I = /* @__PURE__ */ x(V, { border: "1px solid", borderColor: "border.muted", borderRadius: "xs", overflow: "hidden", bg: "bg", width: "100%", maxW: "100%", children: [
270
+ let v;
271
+ e[27] !== n.newContent || e[28] !== n.newPath || e[29] !== n.oldContent || e[30] !== n.oldPath || e[31] !== t ? (v = t && /* @__PURE__ */ i(j, { bg: "bg", children: /* @__PURE__ */ i(Vt, { original: n.oldContent || "", modified: n.newContent || "", oldPath: n.oldPath, newPath: n.newPath, sideBySide: !1 }) }), e[27] = n.newContent, e[28] = n.newPath, e[29] = n.oldContent, e[30] = n.oldPath, e[31] = t, e[32] = v) : v = e[32];
272
+ let k;
273
+ return e[33] !== v || e[34] !== y ? (k = /* @__PURE__ */ x(j, { border: "1px solid", borderColor: "border.muted", borderRadius: "xs", overflow: "hidden", bg: "bg", width: "100%", maxW: "100%", children: [
298
274
  y,
299
- w
300
- ] }), e[33] = w, e[34] = y, e[35] = I) : I = e[35], I;
275
+ v
276
+ ] }), e[33] = v, e[34] = y, e[35] = k) : k = e[35], k;
301
277
  };
302
- function Ni(l) {
278
+ function Ki(l) {
303
279
  const {
304
280
  diffs: e
305
- } = l, n = mt(null), t = Qt({
281
+ } = l, n = et(null), t = tn({
306
282
  count: e.length,
307
283
  getScrollElement: () => n.current,
308
284
  estimateSize: () => 42,
309
285
  overscan: 5
310
286
  });
311
- return e.length === 0 ? /* @__PURE__ */ i(O, { h: "full", minH: "0", gap: "0", children: /* @__PURE__ */ i(ve, { flex: "1", minH: "0", contentProps: {
287
+ return e.length === 0 ? /* @__PURE__ */ i(H, { h: "full", minH: "0", gap: "0", children: /* @__PURE__ */ i(ye, { flex: "1", minH: "0", contentProps: {
312
288
  p: "xs",
313
289
  spaceY: "xs"
314
- }, children: /* @__PURE__ */ i(Ke, { title: "No changes detected", description: "Make some changes to see the diff here.", paddingY: "sm" }) }) }) : /* @__PURE__ */ i(O, { h: "full", minH: "0", gap: "0", children: /* @__PURE__ */ i(V, { position: "relative", flex: "1", minH: "0", children: /* @__PURE__ */ i(ve, { position: "absolute", inset: "0", viewportRef: n, contentProps: {
290
+ }, children: /* @__PURE__ */ i(Ke, { title: "No changes detected", description: "Make some changes to see the diff here.", paddingY: "sm" }) }) }) : /* @__PURE__ */ i(H, { h: "full", minH: "0", gap: "0", children: /* @__PURE__ */ i(j, { position: "relative", flex: "1", minH: "0", children: /* @__PURE__ */ i(ye, { position: "absolute", inset: "0", viewportRef: n, contentProps: {
315
291
  p: "xs"
316
- }, children: /* @__PURE__ */ i(V, { position: "relative", width: "100%", style: {
292
+ }, children: /* @__PURE__ */ i(j, { position: "relative", width: "100%", style: {
317
293
  height: t.getTotalSize()
318
- }, children: t.getVirtualItems().map((o) => /* @__PURE__ */ i(V, { "data-index": o.index, ref: t.measureElement, position: "absolute", top: "0", left: "0", width: "100%", pb: "xs", style: {
294
+ }, children: t.getVirtualItems().map((o) => /* @__PURE__ */ i(j, { "data-index": o.index, ref: t.measureElement, position: "absolute", top: "0", left: "0", width: "100%", pb: "xs", style: {
319
295
  transform: `translateY(${o.start}px)`
320
- }, children: /* @__PURE__ */ i(_n, { diff: e[o.index] }) }, o.key)) }) }) }) });
296
+ }, children: /* @__PURE__ */ i(Rn, { diff: e[o.index] }) }, o.key)) }) }) }) });
321
297
  }
322
- const $n = (l, e) => `${l.version}-${l.date}-${e}`, Ln = (l, e) => `${l.title}-${e}`, nt = (l) => {
323
- const e = z(12);
298
+ const En = (l, e) => `${l.version}-${l.date}-${e}`, zn = (l, e) => `${l.title}-${e}`, lt = (l) => {
299
+ const e = A(12);
324
300
  let n, t, o;
325
301
  e[0] !== l ? ({
326
302
  date: n,
327
303
  version: o,
328
304
  ...t
329
305
  } = l, e[0] = l, e[1] = n, e[2] = t, e[3] = o) : (n = e[1], t = e[2], o = e[3]);
330
- let r;
331
- e[4] !== n ? (r = /* @__PURE__ */ i(pe.Title, { textStyle: "sm", color: "fg.muted", children: n }), e[4] = n, e[5] = r) : r = e[5];
332
306
  let s;
333
- e[6] !== o ? (s = /* @__PURE__ */ i(we, { px: "3", py: "2", rounded: "l3", align: "center", justify: "center", borderWidth: "1px", textAlign: "center", alignSelf: "flex-start", children: /* @__PURE__ */ i(pe.Title, { textStyle: "md", fontWeight: "semibold", children: o }) }), e[6] = o, e[7] = s) : s = e[7];
307
+ e[4] !== n ? (s = /* @__PURE__ */ i(xe.Title, { textStyle: "sm", color: "fg.muted", children: n }), e[4] = n, e[5] = s) : s = e[5];
308
+ let r;
309
+ e[6] !== o ? (r = /* @__PURE__ */ i(Ie, { px: "3", py: "2", rounded: "l3", align: "center", justify: "center", borderWidth: "1px", textAlign: "center", alignSelf: "flex-start", children: /* @__PURE__ */ i(xe.Title, { textStyle: "md", fontWeight: "semibold", children: o }) }), e[6] = o, e[7] = r) : r = e[7];
334
310
  let a;
335
- return e[8] !== t || e[9] !== r || e[10] !== s ? (a = /* @__PURE__ */ x(O, { ...t, children: [
336
- r,
337
- s
338
- ] }), e[8] = t, e[9] = r, e[10] = s, e[11] = a) : a = e[11], a;
339
- }, Hi = (l) => {
340
- const e = z(14), {
311
+ return e[8] !== t || e[9] !== s || e[10] !== r ? (a = /* @__PURE__ */ x(H, { ...t, children: [
312
+ s,
313
+ r
314
+ ] }), e[8] = t, e[9] = s, e[10] = r, e[11] = a) : a = e[11], a;
315
+ }, qi = (l) => {
316
+ const e = A(14), {
341
317
  entries: n,
342
318
  title: t,
343
319
  description: o
344
320
  } = l;
345
- let r;
346
- e[0] !== t ? (r = /* @__PURE__ */ i(Gt, { size: "4xl", children: t }), e[0] = t, e[1] = r) : r = e[1];
347
321
  let s;
348
- e[2] !== o ? (s = o ? /* @__PURE__ */ i($, { color: "fg.muted", textStyle: "lg", children: o }) : null, e[2] = o, e[3] = s) : s = e[3];
322
+ e[0] !== t ? (s = /* @__PURE__ */ i(Ot, { size: "4xl", children: t }), e[0] = t, e[1] = s) : s = e[1];
323
+ let r;
324
+ e[2] !== o ? (r = o ? /* @__PURE__ */ i(L, { color: "fg.muted", textStyle: "lg", children: o }) : null, e[2] = o, e[3] = r) : r = e[3];
349
325
  let a;
350
- e[4] !== r || e[5] !== s ? (a = /* @__PURE__ */ x(O, { textAlign: "center", children: [
351
- r,
352
- s
353
- ] }), e[4] = r, e[5] = s, e[6] = a) : a = e[6];
326
+ e[4] !== s || e[5] !== r ? (a = /* @__PURE__ */ x(H, { textAlign: "center", children: [
327
+ s,
328
+ r
329
+ ] }), e[4] = s, e[5] = r, e[6] = a) : a = e[6];
354
330
  let c;
355
- e[7] !== n ? (c = n.map(zn), e[7] = n, e[8] = c) : c = e[8];
331
+ e[7] !== n ? (c = n.map(Mn), e[7] = n, e[8] = c) : c = e[8];
356
332
  let d;
357
- e[9] !== c ? (d = /* @__PURE__ */ i(V, { position: "relative", children: /* @__PURE__ */ i(pe.Root, { size: "sm", variant: "solid", children: c }) }), e[9] = c, e[10] = d) : d = e[10];
333
+ e[9] !== c ? (d = /* @__PURE__ */ i(j, { position: "relative", children: /* @__PURE__ */ i(xe.Root, { size: "sm", variant: "solid", children: c }) }), e[9] = c, e[10] = d) : d = e[10];
358
334
  let u;
359
- return e[11] !== a || e[12] !== d ? (u = /* @__PURE__ */ x(O, { gap: "20", children: [
335
+ return e[11] !== a || e[12] !== d ? (u = /* @__PURE__ */ x(H, { gap: "20", children: [
360
336
  a,
361
337
  d
362
338
  ] }), e[11] = a, e[12] = d, e[13] = u) : u = e[13], u;
363
339
  };
364
- function Rn(l) {
365
- return /* @__PURE__ */ i(Ie, { size: "md", rounded: "l2", variant: "subtle", colorPalette: "gray", textTransform: "capitalize", children: l }, l);
340
+ function On(l) {
341
+ return /* @__PURE__ */ i(Pe, { size: "md", rounded: "l2", variant: "subtle", colorPalette: "gray", textTransform: "capitalize", children: l }, l);
366
342
  }
367
- function En(l, e) {
368
- return /* @__PURE__ */ i(ht.Item, { children: /* @__PURE__ */ x(O, { gap: "1", children: [
369
- /* @__PURE__ */ i($, { color: "fg.muted", fontWeight: "normal", textStyle: "sm", children: l.title }),
370
- l.description ? /* @__PURE__ */ i($, { color: "fg.subtle", textStyle: "xs", children: l.description }) : null,
343
+ function An(l, e) {
344
+ return /* @__PURE__ */ i(pt.Item, { children: /* @__PURE__ */ x(H, { gap: "1", children: [
345
+ /* @__PURE__ */ i(L, { color: "fg.muted", fontWeight: "normal", textStyle: "sm", children: l.title }),
346
+ l.description ? /* @__PURE__ */ i(L, { color: "fg.subtle", textStyle: "xs", children: l.description }) : null,
371
347
  l.link ? /* @__PURE__ */ i(Ue, { href: l.link, textStyle: "xs", width: "fit-content", children: "Learn more" }) : null
372
- ] }) }, Ln(l, e));
348
+ ] }) }, zn(l, e));
373
349
  }
374
- function zn(l, e) {
375
- return /* @__PURE__ */ x(pe.Item, { children: [
376
- /* @__PURE__ */ i(pe.Content, { top: "6", width: "48", flexShrink: "0", hideBelow: "md", position: {
350
+ function Mn(l, e) {
351
+ return /* @__PURE__ */ x(xe.Item, { children: [
352
+ /* @__PURE__ */ i(xe.Content, { top: "6", width: "48", flexShrink: "0", hideBelow: "md", position: {
377
353
  base: "static",
378
354
  md: "sticky"
379
- }, children: /* @__PURE__ */ i(nt, { hideBelow: "md", date: l.date, version: l.version }) }),
380
- /* @__PURE__ */ x(pe.Connector, { children: [
381
- /* @__PURE__ */ i(pe.Separator, {}),
382
- /* @__PURE__ */ i(pe.Indicator, {})
355
+ }, children: /* @__PURE__ */ i(lt, { hideBelow: "md", date: l.date, version: l.version }) }),
356
+ /* @__PURE__ */ x(xe.Connector, { children: [
357
+ /* @__PURE__ */ i(xe.Separator, {}),
358
+ /* @__PURE__ */ i(xe.Indicator, {})
383
359
  ] }),
384
- /* @__PURE__ */ i(pe.Content, { children: /* @__PURE__ */ x(O, { gap: "4", children: [
385
- /* @__PURE__ */ i(nt, { hideFrom: "md", date: l.date, version: l.version }),
386
- /* @__PURE__ */ x(O, { gap: "2", children: [
387
- /* @__PURE__ */ i(pe.Title, { fontSize: "lg", fontWeight: "medium", children: l.title }),
388
- l.description ? /* @__PURE__ */ i($, { color: "fg.muted", textStyle: "sm", children: l.description }) : null
360
+ /* @__PURE__ */ i(xe.Content, { children: /* @__PURE__ */ x(H, { gap: "4", children: [
361
+ /* @__PURE__ */ i(lt, { hideFrom: "md", date: l.date, version: l.version }),
362
+ /* @__PURE__ */ x(H, { gap: "2", children: [
363
+ /* @__PURE__ */ i(xe.Title, { fontSize: "lg", fontWeight: "medium", children: l.title }),
364
+ l.description ? /* @__PURE__ */ i(L, { color: "fg.muted", textStyle: "sm", children: l.description }) : null
389
365
  ] }),
390
- l.tags && l.tags.length > 0 ? /* @__PURE__ */ i(X, { children: l.tags.map(Rn) }) : null,
391
- l.image ? /* @__PURE__ */ i(At, { rounded: "l2", src: l.image, alt: l.title }) : null,
392
- l.changes && l.changes.length > 0 ? /* @__PURE__ */ i(ht.Root, { pl: "4", gap: "4", children: l.changes.map(En) }) : null
366
+ l.tags && l.tags.length > 0 ? /* @__PURE__ */ i(X, { children: l.tags.map(On) }) : null,
367
+ l.image ? /* @__PURE__ */ i(zt, { rounded: "l2", src: l.image, alt: l.title }) : null,
368
+ l.changes && l.changes.length > 0 ? /* @__PURE__ */ i(pt.Root, { pl: "4", gap: "4", children: l.changes.map(An) }) : null
393
369
  ] }) })
394
- ] }, $n(l, e));
370
+ ] }, En(l, e));
395
371
  }
396
- const An = /^(#{1,3})\s+(.+)$/gm, Gn = ".rich-text__h1, .rich-text__h2, .rich-text__h3", On = (l, e) => l.classList.contains(`rich-text__h${e}`), Mn = (l) => l.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, ""), Be = (l) => {
372
+ const Gn = /^(#{1,3})\s+(.+)$/gm, Nn = ".rich-text__h1, .rich-text__h2, .rich-text__h3", Hn = (l, e) => l.classList.contains(`rich-text__h${e}`), Wn = (l) => l.toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, ""), Be = (l) => {
397
373
  const e = [];
398
374
  let n = 0;
399
- for (const t of l.matchAll(An)) {
400
- const o = t[1].length, r = t[2].trim(), a = `${Mn(r) || "heading"}-${n}`;
375
+ for (const t of l.matchAll(Gn)) {
376
+ const o = t[1].length, s = t[2].trim(), a = `${Wn(s) || "heading"}-${n}`;
401
377
  e.push({
402
378
  id: a,
403
379
  level: o,
404
- text: r
380
+ text: s
405
381
  }), n += 1;
406
382
  }
407
383
  return e;
408
- }, Nn = (l, e) => {
409
- const n = Array.from(e.querySelectorAll(Gn)), t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
410
- let r = 0;
411
- for (const s of l)
412
- for (let a = r; a < n.length; a += 1) {
384
+ }, Bn = (l, e) => {
385
+ const n = Array.from(e.querySelectorAll(Nn)), t = /* @__PURE__ */ new Map(), o = /* @__PURE__ */ new Map();
386
+ let s = 0;
387
+ for (const r of l)
388
+ for (let a = s; a < n.length; a += 1) {
413
389
  const c = n[a], d = c.textContent?.trim();
414
- if (!(!d || d !== s.text) && On(c, s.level)) {
415
- t.set(s.id, c), o.set(c, s.id), r = a + 1;
390
+ if (!(!d || d !== r.text) && Hn(c, r.level)) {
391
+ t.set(r.id, c), o.set(c, r.id), s = a + 1;
416
392
  break;
417
393
  }
418
394
  }
@@ -420,14 +396,14 @@ const An = /^(#{1,3})\s+(.+)$/gm, Gn = ".rich-text__h1, .rich-text__h2, .rich-te
420
396
  elementsByHeadingId: t,
421
397
  headingIdByElement: o
422
398
  };
423
- }, lt = (l) => {
424
- const e = z(14), {
399
+ }, it = (l) => {
400
+ const e = A(14), {
425
401
  heading: n,
426
402
  isActive: t,
427
403
  emphasized: o,
428
- variant: r,
429
- onSelect: s
430
- } = l, a = r === "line", c = `calc(${n.level} * 0.75rem)`, d = t ? "fg" : "fg.muted", u = t || o ? "medium" : "normal", g = a ? "1px" : "0px", f = a ? t ? "fg" : "bg.muted" : "transparent";
404
+ variant: s,
405
+ onSelect: r
406
+ } = l, a = s === "line", c = `calc(${n.level} * 0.75rem)`, d = t ? "fg" : "fg.muted", u = t || o ? "medium" : "normal", f = a ? "1px" : "0px", g = a ? t ? "fg" : "bg.muted" : "transparent";
431
407
  let h;
432
408
  e[0] !== a ? (h = a ? {
433
409
  borderStartColor: "bg.emphasized"
@@ -435,141 +411,141 @@ const An = /^(#{1,3})\s+(.+)$/gm, Gn = ".rich-text__h1, .rich-text__h2, .rich-te
435
411
  color: "fg"
436
412
  }, e[0] = a, e[1] = h) : h = e[1];
437
413
  let p;
438
- e[2] !== n.id || e[3] !== s ? (p = () => s(n.id), e[2] = n.id, e[3] = s, e[4] = p) : p = e[4];
414
+ e[2] !== n.id || e[3] !== r ? (p = () => r(n.id), e[2] = n.id, e[3] = r, e[4] = p) : p = e[4];
439
415
  let m;
440
- return e[5] !== n.text || e[6] !== c || e[7] !== d || e[8] !== u || e[9] !== g || e[10] !== f || e[11] !== h || e[12] !== p ? (m = /* @__PURE__ */ i(V, { as: "button", py: "1.5", px: "0", width: "full", display: "flex", textAlign: "left", textStyle: "sm", cursor: "pointer", textDecoration: "none", transition: "all 0.15s ease", paddingInlineStart: c, color: d, fontWeight: u, borderStartWidth: g, borderStartColor: f, _hover: h, onClick: p, children: n.text }), e[5] = n.text, e[6] = c, e[7] = d, e[8] = u, e[9] = g, e[10] = f, e[11] = h, e[12] = p, e[13] = m) : m = e[13], m;
441
- }, Wi = (l) => {
442
- const e = z(39), {
416
+ return e[5] !== n.text || e[6] !== c || e[7] !== d || e[8] !== u || e[9] !== f || e[10] !== g || e[11] !== h || e[12] !== p ? (m = /* @__PURE__ */ i(j, { as: "button", py: "1.5", px: "0", width: "full", display: "flex", textAlign: "left", textStyle: "sm", cursor: "pointer", textDecoration: "none", transition: "all 0.15s ease", paddingInlineStart: c, color: d, fontWeight: u, borderStartWidth: f, borderStartColor: g, _hover: h, onClick: p, children: n.text }), e[5] = n.text, e[6] = c, e[7] = d, e[8] = u, e[9] = f, e[10] = g, e[11] = h, e[12] = p, e[13] = m) : m = e[13], m;
417
+ }, Ji = (l) => {
418
+ const e = A(39), {
443
419
  markdown: n,
444
420
  title: t,
445
421
  rootMargin: o
446
- } = l, r = t === void 0 ? "On this page" : t, s = o === void 0 ? "-20% 0% -35% 0%" : o, a = Be(n), c = Ot(), [d, u] = me(a[0]?.id ?? ""), [g, f] = me(!1);
422
+ } = l, s = t === void 0 ? "On this page" : t, r = o === void 0 ? "-20% 0% -35% 0%" : o, a = Be(n), c = At(), [d, u] = pe(a[0]?.id ?? ""), [f, g] = pe(!1);
447
423
  let h;
448
424
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
449
425
  elementsByHeadingId: /* @__PURE__ */ new Map(),
450
426
  headingIdByElement: /* @__PURE__ */ new Map()
451
427
  }, e[0] = h) : h = e[0];
452
- const p = mt(h);
428
+ const p = et(h);
453
429
  let m, b;
454
430
  e[1] !== n ? (m = () => {
455
431
  const U = Be(n);
456
432
  u(U[0]?.id ?? "");
457
- }, b = [n], e[1] = n, e[2] = m, e[3] = b) : (m = e[2], b = e[3]), Ge(m, b);
458
- let y, w;
459
- if (e[4] !== c || e[5] !== n || e[6] !== s ? (y = () => {
460
- const U = Be(n), ie = c.getDocument(), ce = c.getWindow(), oe = Nn(U, ie);
461
- if (p.current = oe, oe.headingIdByElement.size === 0)
433
+ }, b = [n], e[1] = n, e[2] = m, e[3] = b) : (m = e[2], b = e[3]), ze(m, b);
434
+ let y, v;
435
+ if (e[4] !== c || e[5] !== n || e[6] !== r ? (y = () => {
436
+ const U = Be(n), Q = c.getDocument(), oe = c.getWindow(), se = Bn(U, Q);
437
+ if (p.current = se, se.headingIdByElement.size === 0)
462
438
  return;
463
- const ue = new ce.IntersectionObserver((ge) => {
464
- const ae = ge.filter(Hn).sort(Wn);
465
- if (ae.length === 0)
439
+ const re = new oe.IntersectionObserver((ce) => {
440
+ const de = ce.filter(Fn).sort(Vn);
441
+ if (de.length === 0)
466
442
  return;
467
- const be = ae[0].target, fe = oe.headingIdByElement.get(be);
468
- fe && u(fe);
443
+ const ae = de[0].target, ge = se.headingIdByElement.get(ae);
444
+ ge && u(ge);
469
445
  }, {
470
- rootMargin: s
446
+ rootMargin: r
471
447
  });
472
- for (const ge of oe.headingIdByElement.keys())
473
- ue.observe(ge);
448
+ for (const ce of se.headingIdByElement.keys())
449
+ re.observe(ce);
474
450
  return () => {
475
- ue.disconnect();
451
+ re.disconnect();
476
452
  };
477
- }, w = [c, n, s], e[4] = c, e[5] = n, e[6] = s, e[7] = y, e[8] = w) : (y = e[7], w = e[8]), Ge(y, w), a.length === 0)
453
+ }, v = [c, n, r], e[4] = c, e[5] = n, e[6] = r, e[7] = y, e[8] = v) : (y = e[7], v = e[8]), ze(y, v), a.length === 0)
478
454
  return null;
479
- let I;
480
- e[9] !== d ? (I = (U) => U.id === d, e[9] = d, e[10] = I) : I = e[10];
481
- const P = a.find(I);
482
- let _;
483
- e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = (U) => {
484
- const ie = p.current.elementsByHeadingId.get(U);
485
- u(U), f(!1), ie?.scrollIntoView({
455
+ let k;
456
+ e[9] !== d ? (k = (U) => U.id === d, e[9] = d, e[10] = k) : k = e[10];
457
+ const _ = a.find(k);
458
+ let D;
459
+ e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = (U) => {
460
+ const Q = p.current.elementsByHeadingId.get(U);
461
+ u(U), g(!1), Q?.scrollIntoView({
486
462
  behavior: "smooth",
487
463
  block: "start"
488
464
  });
489
- }, e[11] = _) : _ = e[11];
490
- const T = _;
491
- let D;
492
- e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = (U) => f(U.open), e[12] = D) : D = e[12];
465
+ }, e[11] = D) : D = e[11];
466
+ const T = D;
467
+ let P;
468
+ e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = (U) => g(U.open), e[12] = P) : P = e[12];
493
469
  let S;
494
- e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ i(re, { as: Je, color: "fg.subtle" }), e[13] = S) : S = e[13];
495
- let v;
496
- e[14] !== r ? (v = /* @__PURE__ */ i($, { textStyle: "sm", fontWeight: "medium", color: "fg", children: r }), e[14] = r, e[15] = v) : v = e[15];
497
- const k = g ? null : /* @__PURE__ */ x(Ze, { children: [
498
- /* @__PURE__ */ i(re, { as: ye, color: "fg.subtle" }),
499
- /* @__PURE__ */ i($, { textStyle: "sm", color: "fg.muted", children: P?.text })
470
+ e[13] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = /* @__PURE__ */ i(ue, { as: qe, color: "fg.subtle" }), e[13] = S) : S = e[13];
471
+ let w;
472
+ e[14] !== s ? (w = /* @__PURE__ */ i(L, { textStyle: "sm", fontWeight: "medium", color: "fg", children: s }), e[14] = s, e[15] = w) : w = e[15];
473
+ const C = f ? null : /* @__PURE__ */ x(Qe, { children: [
474
+ /* @__PURE__ */ i(ue, { as: Ce, color: "fg.subtle" }),
475
+ /* @__PURE__ */ i(L, { textStyle: "sm", color: "fg.muted", children: _?.text })
500
476
  ] });
501
- let C;
502
- e[16] !== v || e[17] !== k ? (C = /* @__PURE__ */ x(X, { children: [
477
+ let I;
478
+ e[16] !== w || e[17] !== C ? (I = /* @__PURE__ */ x(X, { children: [
503
479
  S,
504
- v,
505
- k
506
- ] }), e[16] = v, e[17] = k, e[18] = C) : C = e[18];
507
- const E = g ? "rotate(180deg)" : "rotate(0deg)";
508
- let L;
509
- e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (L = /* @__PURE__ */ i(re, { as: et, color: "fg.subtle" }), e[19] = L) : L = e[19];
510
- let A;
511
- e[20] !== E ? (A = /* @__PURE__ */ i(V, { transition: "transform 0.2s", transform: E, children: L }), e[20] = E, e[21] = A) : A = e[21];
512
- let G;
513
- e[22] !== C || e[23] !== A ? (G = /* @__PURE__ */ x(Te.Trigger, { width: "full", display: "flex", alignItems: "center", justifyContent: "space-between", children: [
514
- C,
515
- A
516
- ] }), e[22] = C, e[23] = A, e[24] = G) : G = e[24];
517
- let W;
518
- e[25] !== d ? (W = (U) => /* @__PURE__ */ i(lt, { heading: U, variant: "minimal", emphasized: !1, isActive: d === U.id, onSelect: T }, U.id), e[25] = d, e[26] = W) : W = e[26];
519
- const H = ve, F = "md", N = "6", M = "xs", R = "sticky", B = "calc(100vh - 3rem)";
480
+ w,
481
+ C
482
+ ] }), e[16] = w, e[17] = C, e[18] = I) : I = e[18];
483
+ const z = f ? "rotate(180deg)" : "rotate(0deg)";
484
+ let $;
485
+ e[19] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? ($ = /* @__PURE__ */ i(ue, { as: tt, color: "fg.subtle" }), e[19] = $) : $ = e[19];
486
+ let O;
487
+ e[20] !== z ? (O = /* @__PURE__ */ i(j, { transition: "transform 0.2s", transform: z, children: $ }), e[20] = z, e[21] = O) : O = e[21];
488
+ let M;
489
+ e[22] !== I || e[23] !== O ? (M = /* @__PURE__ */ x(De.Trigger, { width: "full", display: "flex", alignItems: "center", justifyContent: "space-between", children: [
490
+ I,
491
+ O
492
+ ] }), e[22] = I, e[23] = O, e[24] = M) : M = e[24];
493
+ let N;
494
+ e[25] !== d ? (N = (U) => /* @__PURE__ */ i(it, { heading: U, variant: "minimal", emphasized: !1, isActive: d === U.id, onSelect: T }, U.id), e[25] = d, e[26] = N) : N = e[26];
495
+ const W = ye, B = "md", G = "6", R = "xs", E = "sticky", V = "calc(100vh - 3rem)";
496
+ let q;
497
+ e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (q = /* @__PURE__ */ i(ue, { as: qe, color: "fg.subtle" }), e[27] = q) : q = e[27];
520
498
  let Y;
521
- e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = /* @__PURE__ */ i(re, { as: Je, color: "fg.subtle" }), e[27] = Y) : Y = e[27];
499
+ e[28] !== s ? (Y = /* @__PURE__ */ x(X, { mb: "4", children: [
500
+ q,
501
+ /* @__PURE__ */ i(L, { fontWeight: "medium", textStyle: "sm", children: s })
502
+ ] }), e[28] = s, e[29] = Y) : Y = e[29];
503
+ const K = H, Z = "0";
522
504
  let J;
523
- e[28] !== r ? (J = /* @__PURE__ */ x(X, { mb: "4", children: [
505
+ e[30] !== d ? (J = (U) => /* @__PURE__ */ i(it, { heading: U, variant: "line", emphasized: U.level === 1, isActive: d === U.id, onSelect: T }, U.id), e[30] = d, e[31] = J) : J = e[31];
506
+ const ee = a.map(J);
507
+ let te;
508
+ e[32] !== K || e[33] !== ee ? (te = /* @__PURE__ */ i(K, { gap: Z, children: ee }), e[32] = K, e[33] = ee, e[34] = te) : te = e[34];
509
+ let ne;
510
+ return e[35] !== W || e[36] !== Y || e[37] !== te ? (ne = /* @__PURE__ */ x(W, { hideBelow: B, top: G, width: R, position: E, maxH: V, children: [
524
511
  Y,
525
- /* @__PURE__ */ i($, { fontWeight: "medium", textStyle: "sm", children: r })
526
- ] }), e[28] = r, e[29] = J) : J = e[29];
527
- const q = O, K = "0";
528
- let Q;
529
- e[30] !== d ? (Q = (U) => /* @__PURE__ */ i(lt, { heading: U, variant: "line", emphasized: U.level === 1, isActive: d === U.id, onSelect: T }, U.id), e[30] = d, e[31] = Q) : Q = e[31];
530
- const te = a.map(Q);
531
- let ee;
532
- e[32] !== q || e[33] !== te ? (ee = /* @__PURE__ */ i(q, { gap: K, children: te }), e[32] = q, e[33] = te, e[34] = ee) : ee = e[34];
533
- let Z;
534
- return e[35] !== H || e[36] !== J || e[37] !== ee ? (Z = /* @__PURE__ */ x(H, { hideBelow: F, top: N, width: M, position: R, maxH: B, children: [
535
- J,
536
- ee
537
- ] }), e[35] = H, e[36] = J, e[37] = ee, e[38] = Z) : Z = e[38], /* @__PURE__ */ x(O, { gap: "0", width: "full", children: [
538
- /* @__PURE__ */ i(V, { hideFrom: "md", px: "4", py: "2", w: "full", bg: "bg.subtle", borderWidth: "1px", children: /* @__PURE__ */ x(Te.Root, { open: g, onOpenChange: D, children: [
539
- G,
540
- /* @__PURE__ */ i(Te.Content, { children: /* @__PURE__ */ i(ve, { mt: "3", maxH: "30vh", children: /* @__PURE__ */ i(O, { gap: "0", children: a.map(W) }) }) })
512
+ te
513
+ ] }), e[35] = W, e[36] = Y, e[37] = te, e[38] = ne) : ne = e[38], /* @__PURE__ */ x(H, { gap: "0", width: "full", children: [
514
+ /* @__PURE__ */ i(j, { hideFrom: "md", px: "4", py: "2", w: "full", bg: "bg.subtle", borderWidth: "1px", children: /* @__PURE__ */ x(De.Root, { open: f, onOpenChange: P, children: [
515
+ M,
516
+ /* @__PURE__ */ i(De.Content, { children: /* @__PURE__ */ i(ye, { mt: "3", maxH: "30vh", children: /* @__PURE__ */ i(H, { gap: "0", children: a.map(N) }) }) })
541
517
  ] }) }),
542
- Z
518
+ ne
543
519
  ] });
544
520
  };
545
- function Hn(l) {
521
+ function Fn(l) {
546
522
  return l.isIntersecting;
547
523
  }
548
- function Wn(l, e) {
524
+ function Vn(l, e) {
549
525
  return l.boundingClientRect.top - e.boundingClientRect.top;
550
526
  }
551
- const it = (l) => {
552
- const e = z(24), {
527
+ const ot = (l) => {
528
+ const e = A(24), {
553
529
  item: n,
554
530
  direction: t
555
- } = l, o = t === "prev", r = o ? "Previous" : "Next", s = o ? "start" : "end", a = o ? "flex-start" : "flex-end";
531
+ } = l, o = t === "prev", s = o ? "Previous" : "Next", r = o ? "start" : "end", a = o ? "flex-start" : "flex-end";
556
532
  let c;
557
- e[0] !== o ? (c = o ? /* @__PURE__ */ i(Zt, { size: 16 }) : null, e[0] = o, e[1] = c) : c = e[1];
533
+ e[0] !== o ? (c = o ? /* @__PURE__ */ i(nn, { size: 16 }) : null, e[0] = o, e[1] = c) : c = e[1];
558
534
  const d = o ? "flex-start" : "flex-end";
559
535
  let u;
560
- e[2] !== r ? (u = /* @__PURE__ */ i($, { textStyle: "sm", color: "fg.muted", fontWeight: "normal", children: r }), e[2] = r, e[3] = u) : u = e[3];
561
- let g;
562
- e[4] !== n.title ? (g = /* @__PURE__ */ i($, { textStyle: "sm", fontWeight: "medium", children: n.title }), e[4] = n.title, e[5] = g) : g = e[5];
536
+ e[2] !== s ? (u = /* @__PURE__ */ i(L, { textStyle: "sm", color: "fg.muted", fontWeight: "normal", children: s }), e[2] = s, e[3] = u) : u = e[3];
563
537
  let f;
564
- e[6] !== n.description ? (f = n.description ? /* @__PURE__ */ i($, { textStyle: "xs", color: "fg.subtle", fontWeight: "normal", children: n.description }) : null, e[6] = n.description, e[7] = f) : f = e[7];
538
+ e[4] !== n.title ? (f = /* @__PURE__ */ i(L, { textStyle: "sm", fontWeight: "medium", children: n.title }), e[4] = n.title, e[5] = f) : f = e[5];
539
+ let g;
540
+ e[6] !== n.description ? (g = n.description ? /* @__PURE__ */ i(L, { textStyle: "xs", color: "fg.subtle", fontWeight: "normal", children: n.description }) : null, e[6] = n.description, e[7] = g) : g = e[7];
565
541
  let h;
566
- e[8] !== d || e[9] !== u || e[10] !== g || e[11] !== f ? (h = /* @__PURE__ */ x(O, { gap: "0", alignItems: d, children: [
542
+ e[8] !== d || e[9] !== u || e[10] !== f || e[11] !== g ? (h = /* @__PURE__ */ x(H, { gap: "0", alignItems: d, children: [
567
543
  u,
568
- g,
569
- f
570
- ] }), e[8] = d, e[9] = u, e[10] = g, e[11] = f, e[12] = h) : h = e[12];
544
+ f,
545
+ g
546
+ ] }), e[8] = d, e[9] = u, e[10] = f, e[11] = g, e[12] = h) : h = e[12];
571
547
  let p;
572
- e[13] !== o ? (p = o ? null : /* @__PURE__ */ i(ye, { size: 16 }), e[13] = o, e[14] = p) : p = e[14];
548
+ e[13] !== o ? (p = o ? null : /* @__PURE__ */ i(Ce, { size: 16 }), e[13] = o, e[14] = p) : p = e[14];
573
549
  let m;
574
550
  e[15] !== n.href || e[16] !== c || e[17] !== h || e[18] !== p ? (m = /* @__PURE__ */ x("a", { href: n.href, children: [
575
551
  c,
@@ -577,65 +553,65 @@ const it = (l) => {
577
553
  p
578
554
  ] }), e[15] = n.href, e[16] = c, e[17] = h, e[18] = p, e[19] = m) : m = e[19];
579
555
  let b;
580
- return e[20] !== s || e[21] !== a || e[22] !== m ? (b = /* @__PURE__ */ i(de, { asChild: !0, variant: "ghost", colorPalette: "gray", gap: "3", size: "sm", h: "auto", py: "2", textAlign: s, justifyContent: a, flex: "1", children: m }), e[20] = s, e[21] = a, e[22] = m, e[23] = b) : b = e[23], b;
581
- }, Bi = (l) => {
582
- const e = z(11), {
556
+ return e[20] !== r || e[21] !== a || e[22] !== m ? (b = /* @__PURE__ */ i(he, { asChild: !0, variant: "ghost", colorPalette: "gray", gap: "3", size: "sm", h: "auto", py: "2", textAlign: r, justifyContent: a, flex: "1", children: m }), e[20] = r, e[21] = a, e[22] = m, e[23] = b) : b = e[23], b;
557
+ }, Qi = (l) => {
558
+ const e = A(11), {
583
559
  previous: n,
584
560
  next: t
585
561
  } = l;
586
562
  if (!n && !t)
587
563
  return null;
588
564
  let o;
589
- e[0] !== n ? (o = n ? /* @__PURE__ */ i(it, { item: n, direction: "prev" }) : null, e[0] = n, e[1] = o) : o = e[1];
590
- let r;
591
- e[2] !== o ? (r = /* @__PURE__ */ i(V, { flex: "1", children: o }), e[2] = o, e[3] = r) : r = e[3];
565
+ e[0] !== n ? (o = n ? /* @__PURE__ */ i(ot, { item: n, direction: "prev" }) : null, e[0] = n, e[1] = o) : o = e[1];
592
566
  let s;
593
- e[4] !== t ? (s = t ? /* @__PURE__ */ i(it, { item: t, direction: "next" }) : null, e[4] = t, e[5] = s) : s = e[5];
567
+ e[2] !== o ? (s = /* @__PURE__ */ i(j, { flex: "1", children: o }), e[2] = o, e[3] = s) : s = e[3];
568
+ let r;
569
+ e[4] !== t ? (r = t ? /* @__PURE__ */ i(ot, { item: t, direction: "next" }) : null, e[4] = t, e[5] = r) : r = e[5];
594
570
  let a;
595
- e[6] !== s ? (a = /* @__PURE__ */ i(V, { flex: "1", children: s }), e[6] = s, e[7] = a) : a = e[7];
571
+ e[6] !== r ? (a = /* @__PURE__ */ i(j, { flex: "1", children: r }), e[6] = r, e[7] = a) : a = e[7];
596
572
  let c;
597
- return e[8] !== r || e[9] !== a ? (c = /* @__PURE__ */ x(X, { justify: "space-between", gap: "4", children: [
598
- r,
573
+ return e[8] !== s || e[9] !== a ? (c = /* @__PURE__ */ x(X, { justify: "space-between", gap: "4", children: [
574
+ s,
599
575
  a
600
- ] }), e[8] = r, e[9] = a, e[10] = c) : c = e[10], c;
601
- }, Bn = (l) => {
602
- const e = z(17), {
576
+ ] }), e[8] = s, e[9] = a, e[10] = c) : c = e[10], c;
577
+ }, jn = (l) => {
578
+ const e = A(17), {
603
579
  children: n,
604
580
  title: t,
605
581
  defaultOpen: o,
606
- action: r
607
- } = l, s = o === void 0 ? !0 : o;
582
+ action: s
583
+ } = l, r = o === void 0 ? !0 : o;
608
584
  let a;
609
585
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (a = {
610
586
  background: "bg.muted"
611
587
  }, e[0] = a) : a = e[0];
612
588
  let c;
613
- e[1] !== t ? (c = t && /* @__PURE__ */ i($, { fontWeight: "600", textStyle: "label/S/medium", children: t }), e[1] = t, e[2] = c) : c = e[2];
589
+ e[1] !== t ? (c = t && /* @__PURE__ */ i(L, { fontWeight: "600", textStyle: "label/S/medium", children: t }), e[1] = t, e[2] = c) : c = e[2];
614
590
  let d;
615
- e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ i(Te.Indicator, { transition: "transform 0.2s", _open: {
591
+ e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (d = /* @__PURE__ */ i(De.Indicator, { transition: "transform 0.2s", _open: {
616
592
  transform: "rotate(90deg)"
617
- }, children: /* @__PURE__ */ i(ye, { size: 16 }) }), e[3] = d) : d = e[3];
593
+ }, children: /* @__PURE__ */ i(Ce, { size: 16 }) }), e[3] = d) : d = e[3];
618
594
  let u;
619
- e[4] !== c ? (u = /* @__PURE__ */ x(Te.Trigger, { _hover: a, borderRadius: "xs", padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
595
+ e[4] !== c ? (u = /* @__PURE__ */ x(De.Trigger, { _hover: a, borderRadius: "xs", padding: "sm", height: "2rem", display: "flex", width: "full", gap: "2", alignItems: "center", cursor: "pointer", justifyContent: "space-between", children: [
620
596
  c,
621
597
  d
622
598
  ] }), e[4] = c, e[5] = u) : u = e[5];
623
- let g;
624
- e[6] !== r ? (g = r && /* @__PURE__ */ i(V, { marginLeft: "auto", onClick: Fn, children: r }), e[6] = r, e[7] = g) : g = e[7];
625
599
  let f;
626
- e[8] !== u || e[9] !== g ? (f = /* @__PURE__ */ x(we, { children: [
600
+ e[6] !== s ? (f = s && /* @__PURE__ */ i(j, { marginLeft: "auto", onClick: Xn, children: s }), e[6] = s, e[7] = f) : f = e[7];
601
+ let g;
602
+ e[8] !== u || e[9] !== f ? (g = /* @__PURE__ */ x(Ie, { children: [
627
603
  u,
628
- g
629
- ] }), e[8] = u, e[9] = g, e[10] = f) : f = e[10];
604
+ f
605
+ ] }), e[8] = u, e[9] = f, e[10] = g) : g = e[10];
630
606
  let h;
631
- e[11] !== n ? (h = /* @__PURE__ */ i(Te.Content, { children: n }), e[11] = n, e[12] = h) : h = e[12];
607
+ e[11] !== n ? (h = /* @__PURE__ */ i(De.Content, { children: n }), e[11] = n, e[12] = h) : h = e[12];
632
608
  let p;
633
- return e[13] !== s || e[14] !== f || e[15] !== h ? (p = /* @__PURE__ */ x(Te.Root, { defaultOpen: s, width: "full", children: [
634
- f,
609
+ return e[13] !== r || e[14] !== g || e[15] !== h ? (p = /* @__PURE__ */ x(De.Root, { defaultOpen: r, width: "full", children: [
610
+ g,
635
611
  h
636
- ] }), e[13] = s, e[14] = f, e[15] = h, e[16] = p) : p = e[16], p;
612
+ ] }), e[13] = r, e[14] = g, e[15] = h, e[16] = p) : p = e[16], p;
637
613
  };
638
- function Fn(l) {
614
+ function Xn(l) {
639
615
  return l.stopPropagation();
640
616
  }
641
617
  const wt = {
@@ -657,185 +633,182 @@ const wt = {
657
633
  secondaryMarginLeft: "0",
658
634
  secondaryTextStyle: "label/XS/regular"
659
635
  }
660
- }, ot = (l) => {
661
- const e = z(49), {
636
+ }, rt = (l) => {
637
+ const e = A(48), {
662
638
  primaryLabel: n,
663
639
  tooltipLabel: t,
664
640
  secondaryLabel: o,
665
- leftIcon: r,
666
- leftSlot: s,
667
- rightIcon: a,
668
- leftIconColor: c,
669
- rightIconColor: d,
670
- leftIconSize: u,
671
- rightIconSize: g,
641
+ leftIcon: s,
642
+ rightIcon: r,
643
+ leftIconColor: a,
644
+ rightIconColor: c,
645
+ leftIconSize: d,
646
+ rightIconSize: u,
672
647
  rightIconAriaLabel: f,
673
- rightTooltipLabel: h,
674
- onRightIconClick: p,
675
- tagLabel: m,
676
- tagColorPalette: b,
677
- tagVariant: y,
678
- variant: w
679
- } = l, I = wt[w], P = !!(p && a);
648
+ rightTooltipLabel: g,
649
+ onRightIconClick: h,
650
+ tagLabel: p,
651
+ tagColorPalette: m,
652
+ tagVariant: b,
653
+ variant: y
654
+ } = l, v = wt[y], k = !!(h && r);
680
655
  let _;
681
- e[0] !== P ? (_ = (B) => {
682
- P && (B.preventDefault(), B.stopPropagation());
683
- }, e[0] = P, e[1] = _) : _ = e[1];
684
- const T = _;
685
- let D;
686
- e[2] !== P || e[3] !== p ? (D = (B) => {
687
- !P || !p || (B.preventDefault(), B.stopPropagation(), p());
688
- }, e[2] = P, e[3] = p, e[4] = D) : D = e[4];
689
- const S = D;
690
- let v;
691
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
656
+ e[0] !== k ? (_ = (E) => {
657
+ k && (E.preventDefault(), E.stopPropagation());
658
+ }, e[0] = k, e[1] = _) : _ = e[1];
659
+ const D = _;
660
+ let T;
661
+ e[2] !== k || e[3] !== h ? (T = (E) => {
662
+ !k || !h || (E.preventDefault(), E.stopPropagation(), h());
663
+ }, e[2] = k, e[3] = h, e[4] = T) : T = e[4];
664
+ const P = T;
665
+ let S;
666
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (S = {
692
667
  placement: "right"
693
- }, e[5] = v) : v = e[5];
694
- const k = !t;
668
+ }, e[5] = S) : S = e[5];
669
+ const w = !t;
695
670
  let C;
696
- e[6] !== r || e[7] !== c || e[8] !== u || e[9] !== s ? (C = s || (r ? /* @__PURE__ */ i(re, { as: r, boxSize: u, color: c }) : null), e[6] = r, e[7] = c, e[8] = u, e[9] = s, e[10] = C) : C = e[10];
697
- let E;
698
- e[11] !== n || e[12] !== I.primaryTextStyle ? (E = /* @__PURE__ */ i($, { lineClamp: 1, textOverflow: "ellipsis", textStyle: I.primaryTextStyle, children: n }), e[11] = n, e[12] = I.primaryTextStyle, e[13] = E) : E = e[13];
699
- let L;
700
- e[14] !== C || e[15] !== E ? (L = /* @__PURE__ */ x(we, { alignItems: "flex-start", gap: "xs", flex: "1", children: [
671
+ e[6] !== s || e[7] !== a || e[8] !== d ? (C = s ? /* @__PURE__ */ i(ue, { as: s, boxSize: d, color: a }) : null, e[6] = s, e[7] = a, e[8] = d, e[9] = C) : C = e[9];
672
+ let I;
673
+ e[10] !== n || e[11] !== v.primaryTextStyle ? (I = /* @__PURE__ */ i(L, { lineClamp: 1, textOverflow: "ellipsis", textStyle: v.primaryTextStyle, children: n }), e[10] = n, e[11] = v.primaryTextStyle, e[12] = I) : I = e[12];
674
+ let z;
675
+ e[13] !== C || e[14] !== I ? (z = /* @__PURE__ */ x(Ie, { alignItems: "flex-start", gap: "xs", flex: "1", children: [
701
676
  C,
702
- E
703
- ] }), e[14] = C, e[15] = E, e[16] = L) : L = e[16];
704
- let A;
705
- e[17] !== o || e[18] !== I.secondaryMarginLeft || e[19] !== I.secondaryTextStyle ? (A = o && /* @__PURE__ */ i($, { ml: I.secondaryMarginLeft, lineClamp: 1, textOverflow: "ellipsis", textStyle: I.secondaryTextStyle, color: "fg.menu-item.secondary", children: o }), e[17] = o, e[18] = I.secondaryMarginLeft, e[19] = I.secondaryTextStyle, e[20] = A) : A = e[20];
706
- let G;
707
- e[21] !== L || e[22] !== A ? (G = /* @__PURE__ */ x(O, { gap: "2xs", children: [
708
- L,
709
- A
710
- ] }), e[21] = L, e[22] = A, e[23] = G) : G = e[23];
711
- let W;
712
- e[24] !== k || e[25] !== G || e[26] !== t ? (W = /* @__PURE__ */ i(Le, { positioning: v, content: t, disabled: k, children: G }), e[24] = k, e[25] = G, e[26] = t, e[27] = W) : W = e[27];
713
- let H;
714
- e[28] !== S || e[29] !== T || e[30] !== P || e[31] !== a || e[32] !== f || e[33] !== d || e[34] !== g || e[35] !== h ? (H = a ? /* @__PURE__ */ i(Le, { positioning: {
715
- placement: "right"
716
- }, content: h, disabled: !h, children: /* @__PURE__ */ i(we, { as: P ? "button" : "div", alignItems: "center", "aria-label": f, cursor: P ? "pointer" : "default", bg: "transparent", borderWidth: "0", padding: "0", onMouseDown: T, onClick: S, children: /* @__PURE__ */ i(re, { as: a, boxSize: g, color: d }) }) }) : null, e[28] = S, e[29] = T, e[30] = P, e[31] = a, e[32] = f, e[33] = d, e[34] = g, e[35] = h, e[36] = H) : H = e[36];
717
- let F;
718
- e[37] !== H ? (F = /* @__PURE__ */ i(we, { justifyContent: "flex-end", color: "fg.menu-item.default", children: H }), e[37] = H, e[38] = F) : F = e[38];
719
- let N;
720
- e[39] !== F || e[40] !== W ? (N = /* @__PURE__ */ x(we, { justifyContent: "space-between", alignItems: "center", gap: "xs", flex: "1", children: [
721
- W,
722
- F
723
- ] }), e[39] = F, e[40] = W, e[41] = N) : N = e[41];
677
+ I
678
+ ] }), e[13] = C, e[14] = I, e[15] = z) : z = e[15];
679
+ let $;
680
+ e[16] !== o || e[17] !== v.secondaryMarginLeft || e[18] !== v.secondaryTextStyle ? ($ = o && /* @__PURE__ */ i(L, { ml: v.secondaryMarginLeft, lineClamp: 1, textOverflow: "ellipsis", textStyle: v.secondaryTextStyle, color: "fg.menu-item.secondary", children: o }), e[16] = o, e[17] = v.secondaryMarginLeft, e[18] = v.secondaryTextStyle, e[19] = $) : $ = e[19];
681
+ let O;
682
+ e[20] !== z || e[21] !== $ ? (O = /* @__PURE__ */ x(H, { gap: "2xs", children: [
683
+ z,
684
+ $
685
+ ] }), e[20] = z, e[21] = $, e[22] = O) : O = e[22];
724
686
  let M;
725
- e[42] !== b || e[43] !== m || e[44] !== y ? (M = m ? /* @__PURE__ */ i(Ie, { position: "absolute", top: "xs", right: "sm", textStyle: "label/XS/medium", px: "xs", py: "2px", borderRadius: "md", colorPalette: b, variant: y, pointerEvents: "none", children: m }) : null, e[42] = b, e[43] = m, e[44] = y, e[45] = M) : M = e[45];
687
+ e[23] !== w || e[24] !== O || e[25] !== t ? (M = /* @__PURE__ */ i(Le, { positioning: S, content: t, disabled: w, children: O }), e[23] = w, e[24] = O, e[25] = t, e[26] = M) : M = e[26];
688
+ let N;
689
+ e[27] !== P || e[28] !== D || e[29] !== k || e[30] !== r || e[31] !== f || e[32] !== c || e[33] !== u || e[34] !== g ? (N = r ? /* @__PURE__ */ i(Le, { positioning: {
690
+ placement: "right"
691
+ }, content: g, disabled: !g, children: /* @__PURE__ */ i(Ie, { as: k ? "button" : "div", alignItems: "center", "aria-label": f, cursor: k ? "pointer" : "default", bg: "transparent", borderWidth: "0", padding: "0", onMouseDown: D, onClick: P, children: /* @__PURE__ */ i(ue, { as: r, boxSize: u, color: c }) }) }) : null, e[27] = P, e[28] = D, e[29] = k, e[30] = r, e[31] = f, e[32] = c, e[33] = u, e[34] = g, e[35] = N) : N = e[35];
692
+ let W;
693
+ e[36] !== N ? (W = /* @__PURE__ */ i(Ie, { justifyContent: "flex-end", color: "fg.menu-item.default", children: N }), e[36] = N, e[37] = W) : W = e[37];
694
+ let B;
695
+ e[38] !== W || e[39] !== M ? (B = /* @__PURE__ */ x(Ie, { justifyContent: "space-between", alignItems: "center", gap: "xs", flex: "1", children: [
696
+ M,
697
+ W
698
+ ] }), e[38] = W, e[39] = M, e[40] = B) : B = e[40];
699
+ let G;
700
+ e[41] !== m || e[42] !== p || e[43] !== b ? (G = p ? /* @__PURE__ */ i(Pe, { position: "absolute", top: "xs", right: "sm", textStyle: "label/XS/medium", px: "xs", py: "2px", borderRadius: "md", colorPalette: m, variant: b, pointerEvents: "none", children: p }) : null, e[41] = m, e[42] = p, e[43] = b, e[44] = G) : G = e[44];
726
701
  let R;
727
- return e[46] !== N || e[47] !== M ? (R = /* @__PURE__ */ x(Ze, { children: [
728
- N,
729
- M
730
- ] }), e[46] = N, e[47] = M, e[48] = R) : R = e[48], R;
731
- }, Oe = (l) => {
732
- const e = z(49), {
702
+ return e[45] !== B || e[46] !== G ? (R = /* @__PURE__ */ x(Qe, { children: [
703
+ B,
704
+ G
705
+ ] }), e[45] = B, e[46] = G, e[47] = R) : R = e[47], R;
706
+ }, Re = (l) => {
707
+ const e = A(48), {
733
708
  id: n,
734
709
  children: t,
735
710
  asChild: o,
736
- primaryLabel: r,
737
- tooltipLabel: s,
711
+ primaryLabel: s,
712
+ tooltipLabel: r,
738
713
  secondaryLabel: a,
739
714
  leftIcon: c,
740
- leftSlot: d,
741
- rightIcon: u,
742
- leftIconColor: g,
715
+ rightIcon: d,
716
+ leftIconColor: u,
743
717
  rightIconColor: f,
744
- leftIconSize: h,
745
- rightIconSize: p,
746
- rightIconAriaLabel: m,
747
- rightTooltipLabel: b,
748
- onRightIconClick: y,
749
- isDisabled: w,
750
- isSelected: I,
751
- tagLabel: P,
718
+ leftIconSize: g,
719
+ rightIconSize: h,
720
+ rightIconAriaLabel: p,
721
+ rightTooltipLabel: m,
722
+ onRightIconClick: b,
723
+ isDisabled: y,
724
+ isSelected: v,
725
+ tagLabel: k,
752
726
  tagColorPalette: _,
753
- tagVariant: T,
754
- variant: D,
755
- tabIndex: S,
756
- width: v,
757
- maxWidth: k,
727
+ tagVariant: D,
728
+ variant: T,
729
+ tabIndex: P,
730
+ width: S,
731
+ maxWidth: w,
758
732
  setRefElement: C
759
- } = l, E = c === void 0 ? null : c, L = g === void 0 ? "fg.menu-item.default" : g, A = f === void 0 ? "fg.menu-item.default" : f, G = _ === void 0 ? "yellow" : _, W = T === void 0 ? "subtle" : T, H = D === void 0 ? "default" : D, {
760
- onClick: F,
761
- onMouseDown: N,
762
- onMouseEnter: M
763
- } = l, R = wt[H], B = I ? "bg.menu-item.selected" : "bg.menu-item.default", Y = h ?? R.iconSize, J = p ?? R.iconSize;
764
- let q;
765
- e[0] !== E || e[1] !== L || e[2] !== d || e[3] !== y || e[4] !== r || e[5] !== Y || e[6] !== J || e[7] !== u || e[8] !== m || e[9] !== A || e[10] !== b || e[11] !== a || e[12] !== G || e[13] !== P || e[14] !== W || e[15] !== s || e[16] !== H ? (q = {
766
- primaryLabel: r,
733
+ } = l, I = c === void 0 ? null : c, z = u === void 0 ? "fg.menu-item.default" : u, $ = f === void 0 ? "fg.menu-item.default" : f, O = _ === void 0 ? "yellow" : _, M = D === void 0 ? "subtle" : D, N = T === void 0 ? "default" : T, {
734
+ onClick: W,
735
+ onMouseDown: B,
736
+ onMouseEnter: G
737
+ } = l, R = wt[N], E = v ? "bg.menu-item.selected" : "bg.menu-item.default", V = g ?? R.iconSize, q = h ?? R.iconSize;
738
+ let Y;
739
+ e[0] !== I || e[1] !== z || e[2] !== b || e[3] !== s || e[4] !== V || e[5] !== q || e[6] !== d || e[7] !== p || e[8] !== $ || e[9] !== m || e[10] !== a || e[11] !== O || e[12] !== k || e[13] !== M || e[14] !== r || e[15] !== N ? (Y = {
740
+ primaryLabel: s,
767
741
  secondaryLabel: a,
768
- tooltipLabel: s,
769
- leftIcon: E,
770
- leftSlot: d,
771
- rightIcon: u,
772
- leftIconColor: L,
773
- rightIconColor: A,
774
- leftIconSize: Y,
775
- rightIconSize: J,
776
- rightIconAriaLabel: m,
777
- rightTooltipLabel: b,
778
- onRightIconClick: y,
779
- tagLabel: P,
780
- tagColorPalette: G,
781
- tagVariant: W,
782
- variant: H
783
- }, e[0] = E, e[1] = L, e[2] = d, e[3] = y, e[4] = r, e[5] = Y, e[6] = J, e[7] = u, e[8] = m, e[9] = A, e[10] = b, e[11] = a, e[12] = G, e[13] = P, e[14] = W, e[15] = s, e[16] = H, e[17] = q) : q = e[17];
784
- const K = q, Q = k ?? "20rem", te = w ? "default" : "pointer", ee = n ?? r;
785
- let Z, U;
786
- e[18] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Z = {
742
+ tooltipLabel: r,
743
+ leftIcon: I,
744
+ rightIcon: d,
745
+ leftIconColor: z,
746
+ rightIconColor: $,
747
+ leftIconSize: V,
748
+ rightIconSize: q,
749
+ rightIconAriaLabel: p,
750
+ rightTooltipLabel: m,
751
+ onRightIconClick: b,
752
+ tagLabel: k,
753
+ tagColorPalette: O,
754
+ tagVariant: M,
755
+ variant: N
756
+ }, e[0] = I, e[1] = z, e[2] = b, e[3] = s, e[4] = V, e[5] = q, e[6] = d, e[7] = p, e[8] = $, e[9] = m, e[10] = a, e[11] = O, e[12] = k, e[13] = M, e[14] = r, e[15] = N, e[16] = Y) : Y = e[16];
757
+ const K = Y, Z = w ?? "20rem", J = y ? "default" : "pointer", ee = n ?? s;
758
+ let te, ne;
759
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (te = {
787
760
  bg: "bg.menu-item.hover"
788
- }, U = {
761
+ }, ne = {
789
762
  bg: "bg.menu-item.focus"
790
- }, e[18] = Z, e[19] = U) : (Z = e[18], U = e[19]);
791
- let ie;
792
- e[20] !== B || e[21] !== n || e[22] !== w || e[23] !== I || e[24] !== C || e[25] !== Q || e[26] !== te || e[27] !== ee || e[28] !== S || e[29] !== R.minHeight || e[30] !== R.paddingX || e[31] !== R.paddingY || e[32] !== v ? (ie = {
763
+ }, e[17] = te, e[18] = ne) : (te = e[17], ne = e[18]);
764
+ let U;
765
+ e[19] !== E || e[20] !== n || e[21] !== y || e[22] !== v || e[23] !== C || e[24] !== Z || e[25] !== J || e[26] !== ee || e[27] !== P || e[28] !== R.minHeight || e[29] !== R.paddingX || e[30] !== R.paddingY || e[31] !== S ? (U = {
793
766
  id: n,
794
767
  ref: C,
795
- tabIndex: S,
796
- disabled: w,
797
- "aria-selected": I,
768
+ tabIndex: P,
769
+ disabled: y,
770
+ "aria-selected": v,
798
771
  paddingX: R.paddingX,
799
772
  paddingY: R.paddingY,
800
773
  height: "auto",
801
774
  minHeight: R.minHeight,
802
775
  role: "option",
803
- width: v,
804
- maxWidth: Q,
776
+ width: S,
777
+ maxWidth: Z,
805
778
  overflow: "hidden",
806
779
  position: "relative",
807
- cursor: te,
780
+ cursor: J,
808
781
  value: ee,
809
- bg: B,
810
- _hover: Z,
811
- _focus: U,
782
+ bg: E,
783
+ _hover: te,
784
+ _focus: ne,
812
785
  textDecoration: "none",
813
786
  color: "inherit"
814
- }, e[20] = B, e[21] = n, e[22] = w, e[23] = I, e[24] = C, e[25] = Q, e[26] = te, e[27] = ee, e[28] = S, e[29] = R.minHeight, e[30] = R.paddingX, e[31] = R.paddingY, e[32] = v, e[33] = ie) : ie = e[33];
815
- const ce = ie;
787
+ }, e[19] = E, e[20] = n, e[21] = y, e[22] = v, e[23] = C, e[24] = Z, e[25] = J, e[26] = ee, e[27] = P, e[28] = R.minHeight, e[29] = R.paddingX, e[30] = R.paddingY, e[31] = S, e[32] = U) : U = e[32];
788
+ const Q = U;
816
789
  if (o && t) {
817
- let ge, ae;
818
- if (e[34] !== t || e[35] !== ce || e[36] !== K) {
819
- ae = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
790
+ let re, ce;
791
+ if (e[33] !== t || e[34] !== Q || e[35] !== K) {
792
+ ce = /* @__PURE__ */ Symbol.for("react.early_return_sentinel");
820
793
  e: {
821
- const be = Ft.only(t);
822
- if (!Vt(be)) {
823
- ae = null;
794
+ const de = Xt.only(t);
795
+ if (!Ut(de)) {
796
+ ce = null;
824
797
  break e;
825
798
  }
826
- let fe;
827
- e[39] !== K ? (fe = /* @__PURE__ */ i(ot, { ...K }), e[39] = K, e[40] = fe) : fe = e[40], ge = /* @__PURE__ */ i(tt, { asChild: !0, ...ce, children: jt(be, void 0, fe) });
799
+ let ae;
800
+ e[38] !== K ? (ae = /* @__PURE__ */ i(rt, { ...K }), e[38] = K, e[39] = ae) : ae = e[39], re = /* @__PURE__ */ i(nt, { asChild: !0, ...Q, children: Yt(de, void 0, ae) });
828
801
  }
829
- e[34] = t, e[35] = ce, e[36] = K, e[37] = ge, e[38] = ae;
802
+ e[33] = t, e[34] = Q, e[35] = K, e[36] = re, e[37] = ce;
830
803
  } else
831
- ge = e[37], ae = e[38];
832
- return ae !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel") ? ae : ge;
804
+ re = e[36], ce = e[37];
805
+ return ce !== /* @__PURE__ */ Symbol.for("react.early_return_sentinel") ? ce : re;
833
806
  }
834
807
  let oe;
835
- e[41] !== K ? (oe = /* @__PURE__ */ i(ot, { ...K }), e[41] = K, e[42] = oe) : oe = e[42];
836
- let ue;
837
- return e[43] !== ce || e[44] !== F || e[45] !== N || e[46] !== M || e[47] !== oe ? (ue = /* @__PURE__ */ i(tt, { ...ce, onClick: F, onMouseDown: N, onMouseEnter: M, children: oe }), e[43] = ce, e[44] = F, e[45] = N, e[46] = M, e[47] = oe, e[48] = ue) : ue = e[48], ue;
838
- }, Vn = {
808
+ e[40] !== K ? (oe = /* @__PURE__ */ i(rt, { ...K }), e[40] = K, e[41] = oe) : oe = e[41];
809
+ let se;
810
+ return e[42] !== Q || e[43] !== W || e[44] !== B || e[45] !== G || e[46] !== oe ? (se = /* @__PURE__ */ i(nt, { ...Q, onClick: W, onMouseDown: B, onMouseEnter: G, children: oe }), e[42] = Q, e[43] = W, e[44] = B, e[45] = G, e[46] = oe, e[47] = se) : se = e[47], se;
811
+ }, Un = {
839
812
  default: {
840
813
  width: "64",
841
814
  headerHeight: "49px",
@@ -853,72 +826,72 @@ const wt = {
853
826
  contentGap: "2xs"
854
827
  }
855
828
  };
856
- function jn(l) {
857
- const e = z(13), {
829
+ function Yn(l) {
830
+ const e = A(13), {
858
831
  title: n,
859
832
  children: t,
860
833
  variant: o
861
- } = l, s = Vn[o === void 0 ? "default" : o];
834
+ } = l, r = Un[o === void 0 ? "default" : o];
862
835
  let a;
863
- e[0] !== s.headerHeight || e[1] !== s.headerPadding || e[2] !== s.headerTextStyle || e[3] !== n ? (a = n && /* @__PURE__ */ i(we, { height: s.headerHeight, p: s.headerPadding, borderBottomWidth: "1px", alignItems: "center", children: /* @__PURE__ */ i($, { pb: "0", textStyle: s.headerTextStyle, color: "fg.muted", children: n }) }), e[0] = s.headerHeight, e[1] = s.headerPadding, e[2] = s.headerTextStyle, e[3] = n, e[4] = a) : a = e[4];
836
+ e[0] !== r.headerHeight || e[1] !== r.headerPadding || e[2] !== r.headerTextStyle || e[3] !== n ? (a = n && /* @__PURE__ */ i(Ie, { height: r.headerHeight, p: r.headerPadding, borderBottomWidth: "1px", alignItems: "center", children: /* @__PURE__ */ i(L, { pb: "0", textStyle: r.headerTextStyle, color: "fg.muted", children: n }) }), e[0] = r.headerHeight, e[1] = r.headerPadding, e[2] = r.headerTextStyle, e[3] = n, e[4] = a) : a = e[4];
864
837
  let c;
865
- e[5] !== t || e[6] !== s.contentGap || e[7] !== s.contentPadding ? (c = t && /* @__PURE__ */ i(ve, { flex: "1", minH: "0", contentProps: {
866
- p: s.contentPadding,
867
- spaceY: s.contentGap
868
- }, children: t }), e[5] = t, e[6] = s.contentGap, e[7] = s.contentPadding, e[8] = c) : c = e[8];
838
+ e[5] !== t || e[6] !== r.contentGap || e[7] !== r.contentPadding ? (c = t && /* @__PURE__ */ i(ye, { flex: "1", minH: "0", contentProps: {
839
+ p: r.contentPadding,
840
+ spaceY: r.contentGap
841
+ }, children: t }), e[5] = t, e[6] = r.contentGap, e[7] = r.contentPadding, e[8] = c) : c = e[8];
869
842
  let d;
870
- return e[9] !== s.width || e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */ x(O, { borderRightWidth: "1px", width: s.width, gap: "0", minH: "0", children: [
843
+ return e[9] !== r.width || e[10] !== a || e[11] !== c ? (d = /* @__PURE__ */ x(H, { borderRightWidth: "1px", width: r.width, gap: "0", minH: "0", children: [
871
844
  a,
872
845
  c
873
- ] }), e[9] = s.width, e[10] = a, e[11] = c, e[12] = d) : d = e[12], d;
846
+ ] }), e[9] = r.width, e[10] = a, e[11] = c, e[12] = d) : d = e[12], d;
874
847
  }
875
- const kt = (l) => {
876
- const e = z(27), {
848
+ const It = (l) => {
849
+ const e = A(27), {
877
850
  item: n,
878
851
  activeLink: t,
879
852
  onSelectLink: o,
880
- shouldStartOpen: r
853
+ shouldStartOpen: s
881
854
  } = l;
882
- let s;
883
- e[0] !== n.items ? (s = n.items ?? [], e[0] = n.items, e[1] = s) : s = e[1];
884
- const a = s, c = a.length > 0;
855
+ let r;
856
+ e[0] !== n.items ? (r = n.items ?? [], e[0] = n.items, e[1] = r) : r = e[1];
857
+ const a = r, c = a.length > 0;
885
858
  if (!c && n.link) {
886
859
  const p = n.link, m = n.link === t;
887
860
  let b;
888
861
  e[2] !== p || e[3] !== o ? (b = () => o(p), e[2] = p, e[3] = o, e[4] = b) : b = e[4];
889
862
  let y;
890
- return e[5] !== m || e[6] !== n.text || e[7] !== b ? (y = /* @__PURE__ */ i(le.Root, { children: /* @__PURE__ */ i(Oe, { primaryLabel: n.text, isSelected: m, variant: "compact", onClick: b }) }), e[5] = m, e[6] = n.text, e[7] = b, e[8] = y) : y = e[8], y;
863
+ return e[5] !== m || e[6] !== n.text || e[7] !== b ? (y = /* @__PURE__ */ i(ie.Root, { children: /* @__PURE__ */ i(Re, { primaryLabel: n.text, isSelected: m, variant: "compact", onClick: b }) }), e[5] = m, e[6] = n.text, e[7] = b, e[8] = y) : y = e[8], y;
891
864
  }
892
865
  if (!c) {
893
866
  let p;
894
- return e[9] !== n.text ? (p = /* @__PURE__ */ i(le.Root, { children: /* @__PURE__ */ i(Oe, { primaryLabel: n.text, isDisabled: !0, variant: "compact" }) }), e[9] = n.text, e[10] = p) : p = e[10], p;
867
+ return e[9] !== n.text ? (p = /* @__PURE__ */ i(ie.Root, { children: /* @__PURE__ */ i(Re, { primaryLabel: n.text, isDisabled: !0, variant: "compact" }) }), e[9] = n.text, e[10] = p) : p = e[10], p;
895
868
  }
896
869
  let d;
897
- e[11] !== n || e[12] !== r ? (d = r?.(n) ?? !1, e[11] = n, e[12] = r, e[13] = d) : d = e[13];
898
- const u = d, g = n.text;
899
- let f;
900
- if (e[14] !== t || e[15] !== a || e[16] !== o || e[17] !== r) {
870
+ e[11] !== n || e[12] !== s ? (d = s?.(n) ?? !1, e[11] = n, e[12] = s, e[13] = d) : d = e[13];
871
+ const u = d, f = n.text;
872
+ let g;
873
+ if (e[14] !== t || e[15] !== a || e[16] !== o || e[17] !== s) {
901
874
  let p;
902
- e[19] !== t || e[20] !== o || e[21] !== r ? (p = (m, b) => /* @__PURE__ */ i(kt, { item: m, activeLink: t, onSelectLink: o, shouldStartOpen: r }, `${m.text}-${m.link ?? b}`), e[19] = t, e[20] = o, e[21] = r, e[22] = p) : p = e[22], f = a.map(p), e[14] = t, e[15] = a, e[16] = o, e[17] = r, e[18] = f;
875
+ e[19] !== t || e[20] !== o || e[21] !== s ? (p = (m, b) => /* @__PURE__ */ i(It, { item: m, activeLink: t, onSelectLink: o, shouldStartOpen: s }, `${m.text}-${m.link ?? b}`), e[19] = t, e[20] = o, e[21] = s, e[22] = p) : p = e[22], g = a.map(p), e[14] = t, e[15] = a, e[16] = o, e[17] = s, e[18] = g;
903
876
  } else
904
- f = e[18];
877
+ g = e[18];
905
878
  let h;
906
- return e[23] !== u || e[24] !== n.text || e[25] !== f ? (h = /* @__PURE__ */ i(Bn, { title: g, defaultOpen: u, children: f }), e[23] = u, e[24] = n.text, e[25] = f, e[26] = h) : h = e[26], h;
907
- }, Fi = (l) => {
908
- const e = z(9), {
879
+ return e[23] !== u || e[24] !== n.text || e[25] !== g ? (h = /* @__PURE__ */ i(jn, { title: f, defaultOpen: u, children: g }), e[23] = u, e[24] = n.text, e[25] = g, e[26] = h) : h = e[26], h;
880
+ }, Zi = (l) => {
881
+ const e = A(9), {
909
882
  title: n,
910
883
  emptyMessage: t,
911
884
  menuItems: o,
912
- activeLink: r,
913
- onSelectLink: s,
885
+ activeLink: s,
886
+ onSelectLink: r,
914
887
  shouldStartOpen: a
915
888
  } = l;
916
889
  let c;
917
- e[0] !== r || e[1] !== t || e[2] !== o || e[3] !== s || e[4] !== a ? (c = o.length === 0 ? /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "xs", children: t ?? "No files found" }) : o.map((u, g) => /* @__PURE__ */ i(kt, { item: u, activeLink: r, onSelectLink: s, shouldStartOpen: a }, `${u.text}-${u.link ?? g}`)), e[0] = r, e[1] = t, e[2] = o, e[3] = s, e[4] = a, e[5] = c) : c = e[5];
890
+ e[0] !== s || e[1] !== t || e[2] !== o || e[3] !== r || e[4] !== a ? (c = o.length === 0 ? /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "xs", children: t ?? "No files found" }) : o.map((u, f) => /* @__PURE__ */ i(It, { item: u, activeLink: s, onSelectLink: r, shouldStartOpen: a }, `${u.text}-${u.link ?? f}`)), e[0] = s, e[1] = t, e[2] = o, e[3] = r, e[4] = a, e[5] = c) : c = e[5];
918
891
  let d;
919
- return e[6] !== c || e[7] !== n ? (d = /* @__PURE__ */ i(jn, { title: n, variant: "compact", children: c }), e[6] = c, e[7] = n, e[8] = d) : d = e[8], d;
892
+ return e[6] !== c || e[7] !== n ? (d = /* @__PURE__ */ i(Yn, { title: n, variant: "compact", children: c }), e[6] = c, e[7] = n, e[8] = d) : d = e[8], d;
920
893
  };
921
- class Vi extends Xt {
894
+ class eo extends Kt {
922
895
  state = {
923
896
  error: null
924
897
  };
@@ -943,138 +916,138 @@ class Vi extends Xt {
943
916
  } = this.props, {
944
917
  error: o
945
918
  } = this.state;
946
- return o ? n || /* @__PURE__ */ i(Xn, { error: o, label: t, onReset: this.handleReset }) : e;
919
+ return o ? n || /* @__PURE__ */ i(Kn, { error: o, label: t, onReset: this.handleReset }) : e;
947
920
  }
948
921
  }
949
- const Xn = (l) => {
950
- const e = z(12), {
922
+ const Kn = (l) => {
923
+ const e = A(12), {
951
924
  error: n,
952
925
  label: t,
953
926
  onReset: o
954
- } = l, r = t ?? "Something went wrong";
955
- let s;
956
- e[0] !== r ? (s = /* @__PURE__ */ i($, { textStyle: "paragraph/M/medium", children: r }), e[0] = r, e[1] = s) : s = e[1];
927
+ } = l, s = t ?? "Something went wrong";
928
+ let r;
929
+ e[0] !== s ? (r = /* @__PURE__ */ i(L, { textStyle: "paragraph/M/medium", children: s }), e[0] = s, e[1] = r) : r = e[1];
957
930
  const a = n.message || "An unexpected error occurred while rendering this section.";
958
931
  let c;
959
- e[2] !== a ? (c = /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", children: a }), e[2] = a, e[3] = c) : c = e[3];
932
+ e[2] !== a ? (c = /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", children: a }), e[2] = a, e[3] = c) : c = e[3];
960
933
  let d;
961
- e[4] !== o ? (d = o ? /* @__PURE__ */ i(de, { size: "sm", variant: "solid", colorScheme: "black", onClick: o, children: "Try again" }) : null, e[4] = o, e[5] = d) : d = e[5];
934
+ e[4] !== o ? (d = o ? /* @__PURE__ */ i(he, { size: "sm", variant: "solid", colorScheme: "black", onClick: o, children: "Try again" }) : null, e[4] = o, e[5] = d) : d = e[5];
962
935
  let u;
963
- e[6] !== c || e[7] !== d ? (u = /* @__PURE__ */ x(O, { gap: "sm", children: [
936
+ e[6] !== c || e[7] !== d ? (u = /* @__PURE__ */ x(H, { gap: "sm", children: [
964
937
  c,
965
938
  d
966
939
  ] }), e[6] = c, e[7] = d, e[8] = u) : u = e[8];
967
- let g;
968
- return e[9] !== s || e[10] !== u ? (g = /* @__PURE__ */ i(Dn, { height: "100%", width: "100%", children: /* @__PURE__ */ i(Mt, { children: /* @__PURE__ */ i(Cn, { status: "error", title: s, children: u }) }) }), e[9] = s, e[10] = u, e[11] = g) : g = e[11], g;
969
- }, Un = (l) => l.isDirectory ? l.isGitRepo ? en : tn : Je, Yn = (l) => {
970
- const e = z(18), {
940
+ let f;
941
+ return e[9] !== r || e[10] !== u ? (f = /* @__PURE__ */ i(Ln, { height: "100%", width: "100%", children: /* @__PURE__ */ i(Mt, { children: /* @__PURE__ */ i(jt, { status: "error", title: r, children: u }) }) }), e[9] = r, e[10] = u, e[11] = f) : f = e[11], f;
942
+ }, qn = (l) => l.isDirectory ? l.isGitRepo ? ln : on : qe, Jn = (l) => {
943
+ const e = A(18), {
971
944
  entry: n,
972
945
  selectedPath: t,
973
946
  selectedPathSet: o,
974
- onEntryClick: r
947
+ onEntryClick: s
975
948
  } = l;
976
- let s;
977
- e[0] !== n.isGitRepo || e[1] !== n.path || e[2] !== o ? (s = n.isGitRepo && o.has(n.path), e[0] = n.isGitRepo, e[1] = n.path, e[2] = o, e[3] = s) : s = e[3];
978
- const a = s, c = !n.isDirectory || a;
949
+ let r;
950
+ e[0] !== n.isGitRepo || e[1] !== n.path || e[2] !== o ? (r = n.isGitRepo && o.has(n.path), e[0] = n.isGitRepo, e[1] = n.path, e[2] = o, e[3] = r) : r = e[3];
951
+ const a = r, c = !n.isDirectory || a;
979
952
  let d;
980
- e[4] !== n || e[5] !== a || e[6] !== r ? (d = () => {
981
- a || r(n);
982
- }, e[4] = n, e[5] = a, e[6] = r, e[7] = d) : d = e[7];
983
- const u = d, g = n.name;
984
- let f;
985
- e[8] !== n ? (f = Un(n), e[8] = n, e[9] = f) : f = e[9];
953
+ e[4] !== n || e[5] !== a || e[6] !== s ? (d = () => {
954
+ a || s(n);
955
+ }, e[4] = n, e[5] = a, e[6] = s, e[7] = d) : d = e[7];
956
+ const u = d, f = n.name;
957
+ let g;
958
+ e[8] !== n ? (g = qn(n), e[8] = n, e[9] = g) : g = e[9];
986
959
  const h = n.isGitRepo ? "Git repo" : void 0, p = n.isGitRepo ? "green" : void 0, m = t === n.path;
987
960
  let b;
988
- return e[10] !== n.name || e[11] !== u || e[12] !== c || e[13] !== f || e[14] !== h || e[15] !== p || e[16] !== m ? (b = /* @__PURE__ */ i(le.Root, { children: /* @__PURE__ */ i(Oe, { primaryLabel: g, leftIcon: f, tagLabel: h, tagColorPalette: p, isDisabled: c, isSelected: m, width: "100%", maxWidth: "100%", onClick: u }) }), e[10] = n.name, e[11] = u, e[12] = c, e[13] = f, e[14] = h, e[15] = p, e[16] = m, e[17] = b) : b = e[17], b;
989
- }, ji = (l) => {
990
- const e = z(54), {
961
+ return e[10] !== n.name || e[11] !== u || e[12] !== c || e[13] !== g || e[14] !== h || e[15] !== p || e[16] !== m ? (b = /* @__PURE__ */ i(ie.Root, { children: /* @__PURE__ */ i(Re, { primaryLabel: f, leftIcon: g, tagLabel: h, tagColorPalette: p, isDisabled: c, isSelected: m, width: "100%", maxWidth: "100%", onClick: u }) }), e[10] = n.name, e[11] = u, e[12] = c, e[13] = g, e[14] = h, e[15] = p, e[16] = m, e[17] = b) : b = e[17], b;
962
+ }, to = (l) => {
963
+ const e = A(54), {
991
964
  open: n,
992
965
  title: t,
993
966
  description: o,
994
- currentPath: r,
995
- entries: s,
967
+ currentPath: s,
968
+ entries: r,
996
969
  selectedPath: a,
997
970
  selectedPaths: c,
998
971
  isLoading: d,
999
972
  error: u,
1000
- isSelectDisabled: g,
1001
- onClose: f,
973
+ isSelectDisabled: f,
974
+ onClose: g,
1002
975
  onSelect: h,
1003
976
  onSelectHomeDirectory: p,
1004
977
  onSelectParentDirectory: m,
1005
978
  onEntryClick: b
1006
- } = l, y = t === void 0 ? "Select folder" : t, w = r === void 0 ? "" : r, I = a === void 0 ? null : a;
1007
- let P;
1008
- e[0] !== c ? (P = c === void 0 ? [] : c, e[0] = c, e[1] = P) : P = e[1];
1009
- const _ = P, T = d === void 0 ? !1 : d, D = u === void 0 ? "" : u, S = g === void 0 ? !1 : g;
1010
- let v;
1011
- e[2] !== _ ? (v = new Set(_), e[2] = _, e[3] = v) : v = e[3];
1012
- const k = v;
1013
- let C;
1014
- e[4] !== f ? (C = (ie) => !ie.open && f(), e[4] = f, e[5] = C) : C = e[5];
1015
- let E;
1016
- e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ i(se.Backdrop, {}), e[6] = E) : E = e[6];
1017
- let L;
1018
- e[7] !== y ? (L = /* @__PURE__ */ i($, { textStyle: "heading/M", children: y }), e[7] = y, e[8] = L) : L = e[8];
1019
- let A;
1020
- e[9] !== o ? (A = o ? /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", children: o }) : null, e[9] = o, e[10] = A) : A = e[10];
1021
- let G;
1022
- e[11] !== L || e[12] !== A ? (G = /* @__PURE__ */ i(se.Header, { children: /* @__PURE__ */ x(O, { gap: "xs", children: [
1023
- L,
1024
- A
1025
- ] }) }), e[11] = L, e[12] = A, e[13] = G) : G = e[13];
1026
- let W;
1027
- e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ i(nn, { size: 16 }), e[14] = W) : W = e[14];
1028
- let H;
1029
- e[15] !== p ? (H = /* @__PURE__ */ i(de, { "aria-label": "Go to home directory", variant: "outline", size: "sm", onClick: p, children: W }), e[15] = p, e[16] = H) : H = e[16];
1030
- const F = !w || w === "/";
1031
- let N;
1032
- e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ i(ln, { size: 16 }), e[17] = N) : N = e[17];
979
+ } = l, y = t === void 0 ? "Select folder" : t, v = s === void 0 ? "" : s, k = a === void 0 ? null : a;
980
+ let _;
981
+ e[0] !== c ? (_ = c === void 0 ? [] : c, e[0] = c, e[1] = _) : _ = e[1];
982
+ const D = _, T = d === void 0 ? !1 : d, P = u === void 0 ? "" : u, S = f === void 0 ? !1 : f;
983
+ let w;
984
+ e[2] !== D ? (w = new Set(D), e[2] = D, e[3] = w) : w = e[3];
985
+ const C = w;
986
+ let I;
987
+ e[4] !== g ? (I = (Q) => !Q.open && g(), e[4] = g, e[5] = I) : I = e[5];
988
+ let z;
989
+ e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (z = /* @__PURE__ */ i(fe.Backdrop, {}), e[6] = z) : z = e[6];
990
+ let $;
991
+ e[7] !== y ? ($ = /* @__PURE__ */ i(L, { textStyle: "heading/M", children: y }), e[7] = y, e[8] = $) : $ = e[8];
992
+ let O;
993
+ e[9] !== o ? (O = o ? /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", children: o }) : null, e[9] = o, e[10] = O) : O = e[10];
1033
994
  let M;
1034
- e[18] !== m || e[19] !== F ? (M = /* @__PURE__ */ i(de, { "aria-label": "Go to parent directory", variant: "outline", size: "sm", onClick: m, disabled: F, children: N }), e[18] = m, e[19] = F, e[20] = M) : M = e[20];
1035
- const R = w || "Home";
1036
- let B;
1037
- e[21] !== R ? (B = /* @__PURE__ */ i($, { "data-testid": "folder-picker-path", textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: R }), e[21] = R, e[22] = B) : B = e[22];
995
+ e[11] !== $ || e[12] !== O ? (M = /* @__PURE__ */ i(fe.Header, { children: /* @__PURE__ */ x(H, { gap: "xs", children: [
996
+ $,
997
+ O
998
+ ] }) }), e[11] = $, e[12] = O, e[13] = M) : M = e[13];
999
+ let N;
1000
+ e[14] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ i(rn, { size: 16 }), e[14] = N) : N = e[14];
1001
+ let W;
1002
+ e[15] !== p ? (W = /* @__PURE__ */ i(he, { "aria-label": "Go to home directory", variant: "outline", size: "sm", onClick: p, children: N }), e[15] = p, e[16] = W) : W = e[16];
1003
+ const B = !v || v === "/";
1004
+ let G;
1005
+ e[17] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (G = /* @__PURE__ */ i(sn, { size: 16 }), e[17] = G) : G = e[17];
1006
+ let R;
1007
+ e[18] !== m || e[19] !== B ? (R = /* @__PURE__ */ i(he, { "aria-label": "Go to parent directory", variant: "outline", size: "sm", onClick: m, disabled: B, children: G }), e[18] = m, e[19] = B, e[20] = R) : R = e[20];
1008
+ const E = v || "Home";
1009
+ let V;
1010
+ e[21] !== E ? (V = /* @__PURE__ */ i(L, { "data-testid": "folder-picker-path", textStyle: "paragraph/S/regular", color: "fg.muted", flex: "1", lineClamp: 1, children: E }), e[21] = E, e[22] = V) : V = e[22];
1011
+ let q;
1012
+ e[23] !== W || e[24] !== R || e[25] !== V ? (q = /* @__PURE__ */ x(H, { direction: "row", gap: "sm", align: "center", children: [
1013
+ W,
1014
+ R,
1015
+ V
1016
+ ] }), e[23] = W, e[24] = R, e[25] = V, e[26] = q) : q = e[26];
1038
1017
  let Y;
1039
- e[23] !== H || e[24] !== M || e[25] !== B ? (Y = /* @__PURE__ */ x(O, { direction: "row", gap: "sm", align: "center", children: [
1040
- H,
1041
- M,
1042
- B
1043
- ] }), e[23] = H, e[24] = M, e[25] = B, e[26] = Y) : Y = e[26];
1044
- let J;
1045
- e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (J = {
1018
+ e[27] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (Y = {
1046
1019
  padding: "sm"
1047
- }, e[27] = J) : J = e[27];
1048
- let q;
1049
- e[28] !== s || e[29] !== D || e[30] !== T || e[31] !== b || e[32] !== I || e[33] !== k ? (q = /* @__PURE__ */ i(ve, { borderWidth: "1px", borderRadius: "md", borderColor: "border.muted", maxHeight: "320px", contentProps: J, children: T ? /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", children: "Loading..." }) : D ? /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "red.500", children: D }) : s.length === 0 ? /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", children: "No entries found." }) : /* @__PURE__ */ i(O, { gap: "xs", children: s.map((ie) => /* @__PURE__ */ i(Yn, { entry: ie, selectedPath: I, selectedPathSet: k, onEntryClick: b }, ie.path)) }) }), e[28] = s, e[29] = D, e[30] = T, e[31] = b, e[32] = I, e[33] = k, e[34] = q) : q = e[34];
1020
+ }, e[27] = Y) : Y = e[27];
1050
1021
  let K;
1051
- e[35] !== Y || e[36] !== q ? (K = /* @__PURE__ */ i(se.Body, { children: /* @__PURE__ */ x(O, { gap: "md", children: [
1052
- Y,
1053
- q
1054
- ] }) }), e[35] = Y, e[36] = q, e[37] = K) : K = e[37];
1055
- let Q;
1056
- e[38] !== f ? (Q = /* @__PURE__ */ i(de, { variant: "outline", onClick: f, children: "Cancel" }), e[38] = f, e[39] = Q) : Q = e[39];
1057
- let te;
1058
- e[40] !== S || e[41] !== h ? (te = /* @__PURE__ */ i(de, { onClick: h, disabled: S, children: "Select repository" }), e[40] = S, e[41] = h, e[42] = te) : te = e[42];
1059
- let ee;
1060
- e[43] !== Q || e[44] !== te ? (ee = /* @__PURE__ */ i(se.Footer, { children: /* @__PURE__ */ x(O, { direction: "row", gap: "sm", children: [
1061
- Q,
1062
- te
1063
- ] }) }), e[43] = Q, e[44] = te, e[45] = ee) : ee = e[45];
1022
+ e[28] !== r || e[29] !== P || e[30] !== T || e[31] !== b || e[32] !== k || e[33] !== C ? (K = /* @__PURE__ */ i(ye, { borderWidth: "1px", borderRadius: "md", borderColor: "border.muted", maxHeight: "320px", contentProps: Y, children: T ? /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", children: "Loading..." }) : P ? /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "red.500", children: P }) : r.length === 0 ? /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", children: "No entries found." }) : /* @__PURE__ */ i(H, { gap: "xs", children: r.map((Q) => /* @__PURE__ */ i(Jn, { entry: Q, selectedPath: k, selectedPathSet: C, onEntryClick: b }, Q.path)) }) }), e[28] = r, e[29] = P, e[30] = T, e[31] = b, e[32] = k, e[33] = C, e[34] = K) : K = e[34];
1064
1023
  let Z;
1065
- e[46] !== G || e[47] !== K || e[48] !== ee ? (Z = /* @__PURE__ */ i(se.Positioner, { children: /* @__PURE__ */ x(se.Content, { children: [
1066
- G,
1067
- K,
1024
+ e[35] !== q || e[36] !== K ? (Z = /* @__PURE__ */ i(fe.Body, { children: /* @__PURE__ */ x(H, { gap: "md", children: [
1025
+ q,
1026
+ K
1027
+ ] }) }), e[35] = q, e[36] = K, e[37] = Z) : Z = e[37];
1028
+ let J;
1029
+ e[38] !== g ? (J = /* @__PURE__ */ i(he, { variant: "outline", onClick: g, children: "Cancel" }), e[38] = g, e[39] = J) : J = e[39];
1030
+ let ee;
1031
+ e[40] !== S || e[41] !== h ? (ee = /* @__PURE__ */ i(he, { onClick: h, disabled: S, children: "Select repository" }), e[40] = S, e[41] = h, e[42] = ee) : ee = e[42];
1032
+ let te;
1033
+ e[43] !== J || e[44] !== ee ? (te = /* @__PURE__ */ i(fe.Footer, { children: /* @__PURE__ */ x(H, { direction: "row", gap: "sm", children: [
1034
+ J,
1068
1035
  ee
1069
- ] }) }), e[46] = G, e[47] = K, e[48] = ee, e[49] = Z) : Z = e[49];
1036
+ ] }) }), e[43] = J, e[44] = ee, e[45] = te) : te = e[45];
1037
+ let ne;
1038
+ e[46] !== M || e[47] !== Z || e[48] !== te ? (ne = /* @__PURE__ */ i(fe.Positioner, { children: /* @__PURE__ */ x(fe.Content, { children: [
1039
+ M,
1040
+ Z,
1041
+ te
1042
+ ] }) }), e[46] = M, e[47] = Z, e[48] = te, e[49] = ne) : ne = e[49];
1070
1043
  let U;
1071
- return e[50] !== n || e[51] !== Z || e[52] !== C ? (U = /* @__PURE__ */ x(se.Root, { lazyMount: !0, unmountOnExit: !0, closeOnInteractOutside: !1, open: n, onOpenChange: C, children: [
1072
- E,
1073
- Z
1074
- ] }), e[50] = n, e[51] = Z, e[52] = C, e[53] = U) : U = e[53], U;
1044
+ return e[50] !== n || e[51] !== ne || e[52] !== I ? (U = /* @__PURE__ */ x(fe.Root, { lazyMount: !0, unmountOnExit: !0, closeOnInteractOutside: !1, open: n, onOpenChange: I, children: [
1045
+ z,
1046
+ ne
1047
+ ] }), e[50] = n, e[51] = ne, e[52] = I, e[53] = U) : U = e[53], U;
1075
1048
  };
1076
- function Xi(l) {
1077
- const e = z(6);
1049
+ function no(l) {
1050
+ const e = A(6);
1078
1051
  let n, t;
1079
1052
  e[0] !== l ? ({
1080
1053
  children: n,
@@ -1083,190 +1056,294 @@ function Xi(l) {
1083
1056
  let o;
1084
1057
  return e[3] !== n || e[4] !== t ? (o = /* @__PURE__ */ i(X, { ...t, minH: "49px", justify: "space-between", align: "center", borderBottomWidth: "1px", p: "xs", children: n }), e[3] = n, e[4] = t, e[5] = o) : o = e[5], o;
1085
1058
  }
1086
- const Kn = (l, e) => `${l.name}-${l.version ?? "unknown"}-${e}`, Jn = (l) => l.version ? `${l.name} v${l.version}` : l.name, Ui = (l) => {
1087
- const e = z(30), {
1059
+ const Qn = (l, e) => `${l.name}-${l.version ?? "unknown"}-${e}`, Zn = (l) => l.version ? `${l.name} v${l.version}` : l.name, lo = (l) => {
1060
+ const e = A(30), {
1088
1061
  notices: n,
1089
1062
  title: t,
1090
1063
  description: o,
1091
- productName: r,
1092
- productVersion: s,
1064
+ productName: s,
1065
+ productVersion: r,
1093
1066
  generatedAt: a,
1094
1067
  emptyTitle: c,
1095
1068
  emptyDescription: d
1096
- } = l, u = t === void 0 ? "Open Source and Third-Party Notices" : t, g = o === void 0 ? "This product includes software developed by the open source community." : o, f = c === void 0 ? "No third-party notices available" : c, h = d === void 0 ? "No third-party packages were included in this build." : d;
1069
+ } = l, u = t === void 0 ? "Open Source and Third-Party Notices" : t, f = o === void 0 ? "This product includes software developed by the open source community." : o, g = c === void 0 ? "No third-party notices available" : c, h = d === void 0 ? "No third-party packages were included in this build." : d;
1097
1070
  let p;
1098
1071
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = {
1099
1072
  base: "md",
1100
1073
  md: "xl"
1101
1074
  }, e[0] = p) : p = e[0];
1102
1075
  let m;
1103
- e[1] !== u ? (m = /* @__PURE__ */ i($, { textStyle: "heading/L", children: u }), e[1] = u, e[2] = m) : m = e[2];
1076
+ e[1] !== u ? (m = /* @__PURE__ */ i(L, { textStyle: "heading/L", children: u }), e[1] = u, e[2] = m) : m = e[2];
1104
1077
  let b;
1105
- e[3] !== g ? (b = /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", children: g }), e[3] = g, e[4] = b) : b = e[4];
1078
+ e[3] !== f ? (b = /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", children: f }), e[3] = f, e[4] = b) : b = e[4];
1106
1079
  let y;
1107
- e[5] !== r ? (y = r ? /* @__PURE__ */ x($, { textStyle: "label/XS", color: "fg.muted", children: [
1080
+ e[5] !== s ? (y = s ? /* @__PURE__ */ x(L, { textStyle: "label/XS", color: "fg.muted", children: [
1108
1081
  "Product: ",
1109
- r
1110
- ] }) : null, e[5] = r, e[6] = y) : y = e[6];
1111
- let w;
1112
- e[7] !== s ? (w = s ? /* @__PURE__ */ x($, { textStyle: "label/XS", color: "fg.muted", children: [
1113
- "Version: ",
1114
1082
  s
1115
- ] }) : null, e[7] = s, e[8] = w) : w = e[8];
1116
- let I;
1117
- e[9] !== n.length ? (I = /* @__PURE__ */ x($, { textStyle: "label/XS", color: "fg.muted", children: [
1083
+ ] }) : null, e[5] = s, e[6] = y) : y = e[6];
1084
+ let v;
1085
+ e[7] !== r ? (v = r ? /* @__PURE__ */ x(L, { textStyle: "label/XS", color: "fg.muted", children: [
1086
+ "Version: ",
1087
+ r
1088
+ ] }) : null, e[7] = r, e[8] = v) : v = e[8];
1089
+ let k;
1090
+ e[9] !== n.length ? (k = /* @__PURE__ */ x(L, { textStyle: "label/XS", color: "fg.muted", children: [
1118
1091
  "Packages: ",
1119
1092
  n.length
1120
- ] }), e[9] = n.length, e[10] = I) : I = e[10];
1121
- let P;
1122
- e[11] !== a ? (P = a ? /* @__PURE__ */ x($, { textStyle: "label/XS", color: "fg.muted", children: [
1093
+ ] }), e[9] = n.length, e[10] = k) : k = e[10];
1094
+ let _;
1095
+ e[11] !== a ? (_ = a ? /* @__PURE__ */ x(L, { textStyle: "label/XS", color: "fg.muted", children: [
1123
1096
  "Generated: ",
1124
1097
  a
1125
- ] }) : null, e[11] = a, e[12] = P) : P = e[12];
1126
- let _;
1127
- e[13] !== P || e[14] !== y || e[15] !== w || e[16] !== I ? (_ = /* @__PURE__ */ x(X, { gap: "md", flexWrap: "wrap", children: [
1098
+ ] }) : null, e[11] = a, e[12] = _) : _ = e[12];
1099
+ let D;
1100
+ e[13] !== _ || e[14] !== y || e[15] !== v || e[16] !== k ? (D = /* @__PURE__ */ x(X, { gap: "md", flexWrap: "wrap", children: [
1128
1101
  y,
1129
- w,
1130
- I,
1131
- P
1132
- ] }), e[13] = P, e[14] = y, e[15] = w, e[16] = I, e[17] = _) : _ = e[17];
1102
+ v,
1103
+ k,
1104
+ _
1105
+ ] }), e[13] = _, e[14] = y, e[15] = v, e[16] = k, e[17] = D) : D = e[17];
1133
1106
  let T;
1134
- e[18] !== _ || e[19] !== m || e[20] !== b ? (T = /* @__PURE__ */ x(O, { gap: "xs", children: [
1107
+ e[18] !== D || e[19] !== m || e[20] !== b ? (T = /* @__PURE__ */ x(H, { gap: "xs", children: [
1135
1108
  m,
1136
1109
  b,
1137
- _
1138
- ] }), e[18] = _, e[19] = m, e[20] = b, e[21] = T) : T = e[21];
1139
- let D;
1140
- e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (D = /* @__PURE__ */ i(Ye, { borderColor: "border.muted" }), e[22] = D) : D = e[22];
1110
+ D
1111
+ ] }), e[18] = D, e[19] = m, e[20] = b, e[21] = T) : T = e[21];
1112
+ let P;
1113
+ e[22] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ i(Ye, { borderColor: "border.muted" }), e[22] = P) : P = e[22];
1141
1114
  let S;
1142
- e[23] !== h || e[24] !== f || e[25] !== n ? (S = n.length === 0 ? /* @__PURE__ */ x(O, { borderWidth: "1px", borderColor: "border.muted", borderRadius: "md", padding: "lg", gap: "xs", children: [
1143
- /* @__PURE__ */ i($, { textStyle: "label/L/medium", children: f }),
1144
- /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", children: h })
1145
- ] }) : /* @__PURE__ */ i(O, { gap: "md", children: n.map(qn) }), e[23] = h, e[24] = f, e[25] = n, e[26] = S) : S = e[26];
1146
- let v;
1147
- return e[27] !== T || e[28] !== S ? (v = /* @__PURE__ */ x(O, { width: "full", minHeight: "100%", background: "bg", color: "fg", padding: p, gap: "lg", children: [
1115
+ e[23] !== h || e[24] !== g || e[25] !== n ? (S = n.length === 0 ? /* @__PURE__ */ x(H, { borderWidth: "1px", borderColor: "border.muted", borderRadius: "md", padding: "lg", gap: "xs", children: [
1116
+ /* @__PURE__ */ i(L, { textStyle: "label/L/medium", children: g }),
1117
+ /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", children: h })
1118
+ ] }) : /* @__PURE__ */ i(H, { gap: "md", children: n.map(el) }), e[23] = h, e[24] = g, e[25] = n, e[26] = S) : S = e[26];
1119
+ let w;
1120
+ return e[27] !== T || e[28] !== S ? (w = /* @__PURE__ */ x(H, { width: "full", minHeight: "100%", background: "bg", color: "fg", padding: p, gap: "lg", children: [
1148
1121
  T,
1149
- D,
1122
+ P,
1150
1123
  S
1151
- ] }), e[27] = T, e[28] = S, e[29] = v) : v = e[29], v;
1124
+ ] }), e[27] = T, e[28] = S, e[29] = w) : w = e[29], w;
1152
1125
  };
1153
- function qn(l, e) {
1154
- return /* @__PURE__ */ i(V, { borderWidth: "1px", borderColor: "border.muted", borderRadius: "md", padding: "md", children: /* @__PURE__ */ x(O, { gap: "sm", children: [
1155
- /* @__PURE__ */ x(O, { gap: "2xs", children: [
1156
- /* @__PURE__ */ i($, { textStyle: "label/L/medium", children: Jn(l) }),
1157
- /* @__PURE__ */ x($, { textStyle: "label/S/regular", color: "fg.muted", children: [
1126
+ function el(l, e) {
1127
+ return /* @__PURE__ */ i(j, { borderWidth: "1px", borderColor: "border.muted", borderRadius: "md", padding: "md", children: /* @__PURE__ */ x(H, { gap: "sm", children: [
1128
+ /* @__PURE__ */ x(H, { gap: "2xs", children: [
1129
+ /* @__PURE__ */ i(L, { textStyle: "label/L/medium", children: Zn(l) }),
1130
+ /* @__PURE__ */ x(L, { textStyle: "label/S/regular", color: "fg.muted", children: [
1158
1131
  "License: ",
1159
1132
  l.license ?? "Unknown"
1160
1133
  ] })
1161
1134
  ] }),
1162
- l.copyright ? /* @__PURE__ */ i($, { textStyle: "label/S/regular", color: "fg.muted", children: l.copyright }) : null,
1163
- (l.homepageUrl || l.sourceUrl) && /* @__PURE__ */ x(O, { gap: "2xs", children: [
1135
+ l.copyright ? /* @__PURE__ */ i(L, { textStyle: "label/S/regular", color: "fg.muted", children: l.copyright }) : null,
1136
+ (l.homepageUrl || l.sourceUrl) && /* @__PURE__ */ x(H, { gap: "2xs", children: [
1164
1137
  l.homepageUrl ? /* @__PURE__ */ i(Ue, { href: l.homepageUrl, target: "_blank", rel: "noreferrer", textStyle: "label/S/medium", width: "fit-content", children: "Homepage" }) : null,
1165
1138
  l.sourceUrl ? /* @__PURE__ */ i(Ue, { href: l.sourceUrl, target: "_blank", rel: "noreferrer", textStyle: "label/S/medium", width: "fit-content", children: "Source code" }) : null
1166
1139
  ] }),
1167
- l.attribution ? /* @__PURE__ */ i(V, { background: "bg.muted", borderRadius: "sm", padding: "sm", children: /* @__PURE__ */ i($, { textStyle: "label/S/regular", whiteSpace: "pre-wrap", children: l.attribution }) }) : null
1168
- ] }) }, Kn(l, e));
1140
+ l.attribution ? /* @__PURE__ */ i(j, { background: "bg.muted", borderRadius: "sm", padding: "sm", children: /* @__PURE__ */ i(L, { textStyle: "label/S/regular", whiteSpace: "pre-wrap", children: l.attribution }) }) : null
1141
+ ] }) }, Qn(l, e));
1169
1142
  }
1170
- const Yi = (l) => {
1171
- const e = z(4), {
1143
+ const io = (l) => {
1144
+ const e = A(4), {
1172
1145
  items: n
1173
1146
  } = l;
1174
1147
  let t;
1175
- e[0] !== n ? (t = n.map(Qn), e[0] = n, e[1] = t) : t = e[1];
1148
+ e[0] !== n ? (t = n.map(tl), e[0] = n, e[1] = t) : t = e[1];
1176
1149
  let o;
1177
- return e[2] !== t ? (o = /* @__PURE__ */ i(O, { gap: "sm", paddingLeft: "sm", paddingY: "xs", children: t }), e[2] = t, e[3] = o) : o = e[3], o;
1150
+ return e[2] !== t ? (o = /* @__PURE__ */ i(H, { gap: "sm", paddingLeft: "sm", paddingY: "xs", children: t }), e[2] = t, e[3] = o) : o = e[3], o;
1178
1151
  };
1179
- function Qn(l, e) {
1152
+ function tl(l, e) {
1180
1153
  return /* @__PURE__ */ x(X, { gap: "md", alignItems: "center", children: [
1181
- /* @__PURE__ */ i(V, { width: "140px", flexShrink: 0, children: /* @__PURE__ */ x(X, { gap: "1", alignItems: "center", children: [
1182
- /* @__PURE__ */ i($, { textStyle: "label/S/medium", color: "fg.muted", children: l.label }),
1183
- l.description && /* @__PURE__ */ i(Le, { content: l.description, showArrow: !0, children: /* @__PURE__ */ i(re, { as: on, boxSize: "12px", color: "fg.muted", opacity: 0.6, cursor: "help" }) })
1154
+ /* @__PURE__ */ i(j, { width: "140px", flexShrink: 0, children: /* @__PURE__ */ x(X, { gap: "1", alignItems: "center", children: [
1155
+ /* @__PURE__ */ i(L, { textStyle: "label/S/medium", color: "fg.muted", children: l.label }),
1156
+ l.description && /* @__PURE__ */ i(Le, { content: l.description, showArrow: !0, children: /* @__PURE__ */ i(ue, { as: an, boxSize: "12px", color: "fg.muted", opacity: 0.6, cursor: "help" }) })
1184
1157
  ] }) }),
1185
- /* @__PURE__ */ i(V, { flex: "1", children: l.value })
1158
+ /* @__PURE__ */ i(j, { flex: "1", children: l.value })
1186
1159
  ] }, `${l.label}-${e}`);
1187
1160
  }
1188
- const Zn = (l) => l === "completed" ? rn : l === "failed" ? sn : an, el = (l) => l === "completed" ? "fg.success" : l === "failed" ? "fg.error" : "fg.muted", tl = (l) => {
1189
- const e = z(11), {
1161
+ const nl = (l, e) => {
1162
+ const n = e.trim().toLowerCase();
1163
+ return n ? l.filter((t) => [t.label, t.searchText].filter(Boolean).join(" ").toLowerCase().includes(n)) : l;
1164
+ }, ll = (l) => {
1165
+ const e = A(46), {
1166
+ trigger: n,
1167
+ items: t,
1168
+ searchPlaceholder: o,
1169
+ emptyState: s,
1170
+ renderItem: r,
1171
+ filterItems: a,
1172
+ header: c,
1173
+ width: d,
1174
+ maxListHeight: u,
1175
+ showSearch: f,
1176
+ closeOnSelect: g,
1177
+ lazyMount: h,
1178
+ open: p,
1179
+ positioning: m,
1180
+ onOpenChange: b,
1181
+ onFocusOutside: y,
1182
+ contentTestId: v,
1183
+ portalled: k
1184
+ } = l, _ = a === void 0 ? nl : a, D = d === void 0 ? "260px" : d, T = u === void 0 ? "18rem" : u, P = f === void 0 ? !0 : f, S = g === void 0 ? !0 : g, w = h === void 0 ? !1 : h, C = k === void 0 ? !0 : k, [I, z] = pe(!1), [$, O] = pe(""), M = et(null), N = p ?? I, W = _(t, $);
1185
+ let B, G;
1186
+ e[0] !== N || e[1] !== P ? (B = () => {
1187
+ if (!N || !P)
1188
+ return;
1189
+ const me = setTimeout(() => M.current?.focus(), 0);
1190
+ return () => clearTimeout(me);
1191
+ }, G = [N, P], e[0] = N, e[1] = P, e[2] = B, e[3] = G) : (B = e[2], G = e[3]), ze(B, G);
1192
+ let R;
1193
+ e[4] !== b || e[5] !== p ? (R = (me) => {
1194
+ p === void 0 && z(me.open), O(""), b?.(me);
1195
+ }, e[4] = b, e[5] = p, e[6] = R) : R = e[6];
1196
+ const E = R, V = !!(c && !P), q = ie;
1197
+ let Y;
1198
+ e[7] !== n ? (Y = /* @__PURE__ */ i(ie.Trigger, { asChild: !0, children: n }), e[7] = n, e[8] = Y) : Y = e[8];
1199
+ const K = He, Z = !C, J = ie, ee = ie, te = "bg", ne = "0", U = "popover";
1200
+ let Q;
1201
+ e[9] !== $ || e[10] !== o || e[11] !== P ? (Q = P ? /* @__PURE__ */ i(Gt, { startElement: /* @__PURE__ */ i(cn, { size: 14 }), children: /* @__PURE__ */ i(Nt, { ref: M, borderRight: 0, borderLeft: 0, borderRadius: "0", value: $, placeholder: o, "aria-label": o, autoComplete: "off", onChange: (me) => O(me.target.value), onKeyDown: il }) }) : null, e[9] = $, e[10] = o, e[11] = P, e[12] = Q) : Q = e[12];
1202
+ let oe;
1203
+ e[13] !== V ? (oe = V ? /* @__PURE__ */ i(ie.Separator, { margin: "0" }) : null, e[13] = V, e[14] = oe) : oe = e[14];
1204
+ const se = ye;
1205
+ let re;
1206
+ e[15] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (re = {
1207
+ overscrollBehavior: "contain"
1208
+ }, e[15] = re) : re = e[15];
1209
+ const ce = W.length > 0 ? W.map((me) => /* @__PURE__ */ i(qt, { children: r(me) }, me.id)) : s;
1210
+ let de;
1211
+ e[16] !== se || e[17] !== v || e[18] !== T || e[19] !== re || e[20] !== ce ? (de = /* @__PURE__ */ i(se, { maxH: T, "data-testid": v, viewportProps: re, children: ce }), e[16] = se, e[17] = v, e[18] = T, e[19] = re, e[20] = ce, e[21] = de) : de = e[21];
1212
+ let ae;
1213
+ e[22] !== c || e[23] !== ee.Content || e[24] !== Q || e[25] !== oe || e[26] !== de || e[27] !== D ? (ae = /* @__PURE__ */ x(ee.Content, { w: D, bg: te, p: ne, zIndex: U, children: [
1214
+ c,
1215
+ Q,
1216
+ oe,
1217
+ de
1218
+ ] }), e[22] = c, e[23] = ee.Content, e[24] = Q, e[25] = oe, e[26] = de, e[27] = D, e[28] = ae) : ae = e[28];
1219
+ let ge;
1220
+ e[29] !== J.Positioner || e[30] !== ae ? (ge = /* @__PURE__ */ i(J.Positioner, { children: ae }), e[29] = J.Positioner, e[30] = ae, e[31] = ge) : ge = e[31];
1221
+ let F;
1222
+ e[32] !== K || e[33] !== Z || e[34] !== ge ? (F = /* @__PURE__ */ i(K, { disabled: Z, children: ge }), e[32] = K, e[33] = Z, e[34] = ge, e[35] = F) : F = e[35];
1223
+ let le;
1224
+ return e[36] !== S || e[37] !== E || e[38] !== w || e[39] !== y || e[40] !== p || e[41] !== m || e[42] !== q.Root || e[43] !== Y || e[44] !== F ? (le = /* @__PURE__ */ x(q.Root, { lazyMount: w, closeOnSelect: S, open: p, positioning: m, onOpenChange: E, onFocusOutside: y, children: [
1225
+ Y,
1226
+ F
1227
+ ] }), e[36] = S, e[37] = E, e[38] = w, e[39] = y, e[40] = p, e[41] = m, e[42] = q.Root, e[43] = Y, e[44] = F, e[45] = le) : le = e[45], le;
1228
+ };
1229
+ function il(l) {
1230
+ return l.stopPropagation();
1231
+ }
1232
+ const ol = (l) => l === "completed" ? dn : l === "failed" ? un : fn, rl = (l) => l === "completed" ? "fg.success" : l === "failed" ? "fg.error" : "fg.muted", sl = (l) => {
1233
+ const e = A(11), {
1190
1234
  status: n,
1191
1235
  boxSize: t,
1192
1236
  ariaLabel: o,
1193
- cursor: r,
1194
- onClick: s
1237
+ cursor: s,
1238
+ onClick: r
1195
1239
  } = l, a = t === void 0 ? "14px" : t, c = o === void 0 ? "Session status" : o;
1196
1240
  let d;
1197
- e[0] !== n ? (d = Zn(n), e[0] = n, e[1] = d) : d = e[1];
1241
+ e[0] !== n ? (d = ol(n), e[0] = n, e[1] = d) : d = e[1];
1198
1242
  let u;
1199
- e[2] !== n ? (u = el(n), e[2] = n, e[3] = u) : u = e[3];
1200
- let g;
1201
- return e[4] !== c || e[5] !== a || e[6] !== r || e[7] !== s || e[8] !== d || e[9] !== u ? (g = /* @__PURE__ */ i(re, { as: d, boxSize: a, color: u, "aria-label": c, cursor: r, onClick: s }), e[4] = c, e[5] = a, e[6] = r, e[7] = s, e[8] = d, e[9] = u, e[10] = g) : g = e[10], g;
1202
- }, It = (l, e) => e.includes(l), nl = (l) => {
1203
- const e = z(18), {
1243
+ e[2] !== n ? (u = rl(n), e[2] = n, e[3] = u) : u = e[3];
1244
+ let f;
1245
+ return e[4] !== c || e[5] !== a || e[6] !== s || e[7] !== r || e[8] !== d || e[9] !== u ? (f = /* @__PURE__ */ i(ue, { as: d, boxSize: a, color: u, "aria-label": c, cursor: s, onClick: r }), e[4] = c, e[5] = a, e[6] = s, e[7] = r, e[8] = d, e[9] = u, e[10] = f) : f = e[10], f;
1246
+ }, al = (l) => {
1247
+ const e = A(14), {
1248
+ action: n
1249
+ } = l;
1250
+ let t;
1251
+ e[0] !== n.menuItems ? (t = n.menuItems ?? [], e[0] = n.menuItems, e[1] = t) : t = e[1];
1252
+ let o;
1253
+ e[2] !== t ? (o = t.map(cl), e[2] = t, e[3] = o) : o = e[3];
1254
+ const s = o;
1255
+ let r;
1256
+ e[4] !== n.icon || e[5] !== n.label ? (r = /* @__PURE__ */ i(Se, { variant: "ghost", size: "2xs", "aria-label": n.label, children: n.icon }), e[4] = n.icon, e[5] = n.label, e[6] = r) : r = e[6];
1257
+ const a = n.searchPlaceholder ?? "Search…", c = n.emptyMenuLabel ?? "No results found";
1258
+ let d;
1259
+ e[7] !== c ? (d = /* @__PURE__ */ i(Re, { primaryLabel: c, isDisabled: !0, variant: "compact" }), e[7] = c, e[8] = d) : d = e[8];
1260
+ let u;
1261
+ return e[9] !== s || e[10] !== r || e[11] !== a || e[12] !== d ? (u = /* @__PURE__ */ i(ll, { trigger: r, items: s, searchPlaceholder: a, emptyState: d, renderItem: dl, onFocusOutside: ul }), e[9] = s, e[10] = r, e[11] = a, e[12] = d, e[13] = u) : u = e[13], u;
1262
+ };
1263
+ function cl(l) {
1264
+ return {
1265
+ ...l,
1266
+ searchText: [l.label, l.description].filter(Boolean).join(" ")
1267
+ };
1268
+ }
1269
+ function dl(l) {
1270
+ return /* @__PURE__ */ i(Re, { id: l.id, primaryLabel: l.label, tooltipLabel: l.description, variant: "compact", onClick: () => l.onAction?.() });
1271
+ }
1272
+ function ul(l) {
1273
+ return l.preventDefault();
1274
+ }
1275
+ const kt = (l, e) => e.includes(l), fl = (l) => {
1276
+ const e = A(20), {
1204
1277
  action: n,
1205
1278
  sectionId: t,
1206
1279
  nodeId: o
1207
1280
  } = l;
1208
1281
  if (n.menuItems && n.menuItems.length > 0) {
1282
+ if (n.menuItems.length >= 8) {
1283
+ let f;
1284
+ return e[0] !== n ? (f = /* @__PURE__ */ i(al, { action: n }), e[0] = n, e[1] = f) : f = e[1], f;
1285
+ }
1209
1286
  let a;
1210
- e[0] !== n.icon || e[1] !== n.label ? (a = /* @__PURE__ */ i(le.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { variant: "ghost", size: "2xs", "aria-label": n.label, children: n.icon }) }), e[0] = n.icon, e[1] = n.label, e[2] = a) : a = e[2];
1287
+ e[2] !== n.icon || e[3] !== n.label ? (a = /* @__PURE__ */ i(ie.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { variant: "ghost", size: "2xs", "aria-label": n.label, children: n.icon }) }), e[2] = n.icon, e[3] = n.label, e[4] = a) : a = e[4];
1211
1288
  let c;
1212
- e[3] !== n.menuItems ? (c = n.menuItems.map(il), e[3] = n.menuItems, e[4] = c) : c = e[4];
1289
+ e[5] !== n.menuItems ? (c = n.menuItems.map(hl), e[5] = n.menuItems, e[6] = c) : c = e[6];
1213
1290
  let d;
1214
- e[5] !== c ? (d = /* @__PURE__ */ i(le.Positioner, { children: /* @__PURE__ */ i(le.Content, { minW: "160px", bg: "bg", children: c }) }), e[5] = c, e[6] = d) : d = e[6];
1291
+ e[7] !== c ? (d = /* @__PURE__ */ i(ie.Positioner, { children: /* @__PURE__ */ i(ie.Content, { minW: "160px", bg: "bg", children: c }) }), e[7] = c, e[8] = d) : d = e[8];
1215
1292
  let u;
1216
- return e[7] !== a || e[8] !== d ? (u = /* @__PURE__ */ x(le.Root, { children: [
1293
+ return e[9] !== a || e[10] !== d ? (u = /* @__PURE__ */ x(ie.Root, { children: [
1217
1294
  a,
1218
1295
  d
1219
- ] }), e[7] = a, e[8] = d, e[9] = u) : u = e[9], u;
1296
+ ] }), e[9] = a, e[10] = d, e[11] = u) : u = e[11], u;
1220
1297
  }
1221
- let r;
1222
- e[10] !== n || e[11] !== o || e[12] !== t ? (r = (a) => {
1298
+ let s;
1299
+ e[12] !== n || e[13] !== o || e[14] !== t ? (s = (a) => {
1223
1300
  a.stopPropagation(), n.onAction?.({
1224
1301
  sectionId: t,
1225
1302
  nodeId: o
1226
1303
  });
1227
- }, e[10] = n, e[11] = o, e[12] = t, e[13] = r) : r = e[13];
1228
- let s;
1229
- return e[14] !== n.icon || e[15] !== n.label || e[16] !== r ? (s = /* @__PURE__ */ i(Se, { variant: "ghost", size: "2xs", "aria-label": n.label, onClick: r, children: n.icon }), e[14] = n.icon, e[15] = n.label, e[16] = r, e[17] = s) : s = e[17], s;
1230
- }, qe = (l) => {
1231
- const e = z(11), {
1304
+ }, e[12] = n, e[13] = o, e[14] = t, e[15] = s) : s = e[15];
1305
+ let r;
1306
+ return e[16] !== n.icon || e[17] !== n.label || e[18] !== s ? (r = /* @__PURE__ */ i(Se, { variant: "ghost", size: "2xs", "aria-label": n.label, onClick: s, children: n.icon }), e[16] = n.icon, e[17] = n.label, e[18] = s, e[19] = r) : r = e[19], r;
1307
+ }, Je = (l) => {
1308
+ const e = A(11), {
1232
1309
  sectionId: n,
1233
1310
  nodeId: t,
1234
1311
  actions: o
1235
1312
  } = l;
1236
1313
  if (o.length === 0)
1237
1314
  return null;
1238
- let r, s;
1239
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = {
1315
+ let s, r;
1316
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = {
1240
1317
  opacity: "1",
1241
1318
  pointerEvents: "auto"
1242
- }, s = {
1319
+ }, r = {
1243
1320
  opacity: "1",
1244
1321
  pointerEvents: "auto"
1245
- }, e[0] = r, e[1] = s) : (r = e[0], s = e[1]);
1322
+ }, e[0] = s, e[1] = r) : (s = e[0], r = e[1]);
1246
1323
  let a;
1247
1324
  if (e[2] !== o || e[3] !== t || e[4] !== n) {
1248
1325
  let d;
1249
- e[6] !== t || e[7] !== n ? (d = (u) => /* @__PURE__ */ i(nl, { action: u, sectionId: n, nodeId: t }, u.id), e[6] = t, e[7] = n, e[8] = d) : d = e[8], a = o.map(d), e[2] = o, e[3] = t, e[4] = n, e[5] = a;
1326
+ e[6] !== t || e[7] !== n ? (d = (u) => /* @__PURE__ */ i(fl, { action: u, sectionId: n, nodeId: t }, u.id), e[6] = t, e[7] = n, e[8] = d) : d = e[8], a = o.map(d), e[2] = o, e[3] = t, e[4] = n, e[5] = a;
1250
1327
  } else
1251
1328
  a = e[5];
1252
1329
  let c;
1253
- return e[9] !== a ? (c = /* @__PURE__ */ i(X, { gap: "0", opacity: "0", pointerEvents: "none", _groupHover: r, _groupFocusWithin: s, transition: "opacity 120ms ease", onClick: ol, children: a }), e[9] = a, e[10] = c) : c = e[10], c;
1330
+ return e[9] !== a ? (c = /* @__PURE__ */ i(X, { gap: "0", opacity: "0", pointerEvents: "none", _groupHover: s, _groupFocusWithin: r, transition: "opacity 120ms ease", onClick: pl, children: a }), e[9] = a, e[10] = c) : c = e[10], c;
1254
1331
  }, Pt = (l) => {
1255
- const e = z(63), {
1332
+ const e = A(63), {
1256
1333
  sectionId: n,
1257
1334
  node: t,
1258
1335
  level: o,
1259
- expandedNodes: r,
1260
- activeNodeId: s,
1336
+ expandedNodes: s,
1337
+ activeNodeId: r,
1261
1338
  linkComponent: a,
1262
1339
  onNavigate: c,
1263
1340
  onToggleNode: d
1264
1341
  } = l, u = (t.children?.length ?? 0) > 0;
1265
- let g;
1266
- e[0] !== r || e[1] !== u || e[2] !== t.id ? (g = u && It(t.id, r), e[0] = r, e[1] = u, e[2] = t.id, e[3] = g) : g = e[3];
1267
- const f = g, h = t.isNavigable || t.navigationIntent !== void 0, p = s === t.id, m = t.disabled === !0, b = o > 0 ? `calc(var(--chakra-spacing-1) + ${o} * var(--chakra-spacing-3))` : void 0, y = !!(a && t.href && h && !u && !m);
1268
- let w;
1269
- e[4] !== u || e[5] !== m || e[6] !== h || e[7] !== t || e[8] !== c || e[9] !== d || e[10] !== n ? (w = () => {
1342
+ let f;
1343
+ e[0] !== s || e[1] !== u || e[2] !== t.id ? (f = u && kt(t.id, s), e[0] = s, e[1] = u, e[2] = t.id, e[3] = f) : f = e[3];
1344
+ const g = f, h = t.isNavigable || t.navigationIntent !== void 0, p = r === t.id, m = t.disabled === !0, b = o > 0 ? `calc(var(--chakra-spacing-1) + ${o} * var(--chakra-spacing-3))` : void 0, y = !!(a && t.href && h && !u && !m);
1345
+ let v;
1346
+ e[4] !== u || e[5] !== m || e[6] !== h || e[7] !== t || e[8] !== c || e[9] !== d || e[10] !== n ? (v = () => {
1270
1347
  if (!m) {
1271
1348
  if (u) {
1272
1349
  d(t.id);
@@ -1279,43 +1356,43 @@ const Zn = (l) => l === "completed" ? rn : l === "failed" ? sn : an, el = (l) =>
1279
1356
  intent: t.navigationIntent
1280
1357
  });
1281
1358
  }
1282
- }, e[4] = u, e[5] = m, e[6] = h, e[7] = t, e[8] = c, e[9] = d, e[10] = n, e[11] = w) : w = e[11];
1283
- const I = w;
1284
- let P;
1285
- e[12] !== t.icon ? (P = t.icon ? /* @__PURE__ */ i(V, { color: "fg.muted", flexShrink: 0, children: t.icon }) : null, e[12] = t.icon, e[13] = P) : P = e[13];
1286
- const _ = m ? "fg.muted" : "fg";
1359
+ }, e[4] = u, e[5] = m, e[6] = h, e[7] = t, e[8] = c, e[9] = d, e[10] = n, e[11] = v) : v = e[11];
1360
+ const k = v;
1361
+ let _;
1362
+ e[12] !== t.icon ? (_ = t.icon ? /* @__PURE__ */ i(j, { color: "fg.muted", flexShrink: 0, children: t.icon }) : null, e[12] = t.icon, e[13] = _) : _ = e[13];
1363
+ const D = m ? "fg.muted" : "fg";
1287
1364
  let T;
1288
- e[14] !== t.label || e[15] !== _ ? (T = /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: _, truncate: !0, children: t.label }), e[14] = t.label, e[15] = _, e[16] = T) : T = e[16];
1289
- let D;
1290
- e[17] !== f || e[18] !== u ? (D = u ? /* @__PURE__ */ i(V, { color: "fg.muted", flexShrink: 0, children: /* @__PURE__ */ i(ye, { size: 14, style: {
1291
- transform: f ? "rotate(90deg)" : "rotate(0deg)",
1365
+ e[14] !== t.label || e[15] !== D ? (T = /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: D, truncate: !0, children: t.label }), e[14] = t.label, e[15] = D, e[16] = T) : T = e[16];
1366
+ let P;
1367
+ e[17] !== g || e[18] !== u ? (P = u ? /* @__PURE__ */ i(j, { color: "fg.muted", flexShrink: 0, children: /* @__PURE__ */ i(Ce, { size: 14, style: {
1368
+ transform: g ? "rotate(90deg)" : "rotate(0deg)",
1292
1369
  transition: "120ms"
1293
- } }) }) : null, e[17] = f, e[18] = u, e[19] = D) : D = e[19];
1370
+ } }) }) : null, e[17] = g, e[18] = u, e[19] = P) : P = e[19];
1294
1371
  let S;
1295
- e[20] !== T || e[21] !== D ? (S = /* @__PURE__ */ x(X, { gap: "1", minW: "0", children: [
1372
+ e[20] !== T || e[21] !== P ? (S = /* @__PURE__ */ x(X, { gap: "1", minW: "0", children: [
1296
1373
  T,
1297
- D
1298
- ] }), e[20] = T, e[21] = D, e[22] = S) : S = e[22];
1299
- let v;
1300
- e[23] !== t.description ? (v = t.description ? /* @__PURE__ */ i($, { textStyle: "paragraph/XS/regular", color: "fg.muted", truncate: !0, children: t.description }) : null, e[23] = t.description, e[24] = v) : v = e[24];
1301
- let k;
1302
- e[25] !== S || e[26] !== v ? (k = /* @__PURE__ */ x(O, { gap: "0", minW: "0", flex: "1", children: [
1303
- S,
1304
- v
1305
- ] }), e[25] = S, e[26] = v, e[27] = k) : k = e[27];
1374
+ P
1375
+ ] }), e[20] = T, e[21] = P, e[22] = S) : S = e[22];
1376
+ let w;
1377
+ e[23] !== t.description ? (w = t.description ? /* @__PURE__ */ i(L, { textStyle: "paragraph/XS/regular", color: "fg.muted", truncate: !0, children: t.description }) : null, e[23] = t.description, e[24] = w) : w = e[24];
1306
1378
  let C;
1307
- e[28] !== P || e[29] !== k ? (C = /* @__PURE__ */ x(X, { gap: "2", minW: "0", flex: "1", overflow: "hidden", children: [
1308
- P,
1309
- k
1310
- ] }), e[28] = P, e[29] = k, e[30] = C) : C = e[30];
1311
- const E = C, L = p ? "bg.muted" : "transparent", A = p ? "bg.muted" : "bg.subtle";
1312
- let G;
1313
- e[31] !== A ? (G = {
1314
- bg: A
1315
- }, e[31] = A, e[32] = G) : G = e[32];
1316
- const W = m ? "default" : "pointer";
1317
- let H;
1318
- e[33] !== p || e[34] !== b || e[35] !== L || e[36] !== G || e[37] !== W ? (H = {
1379
+ e[25] !== S || e[26] !== w ? (C = /* @__PURE__ */ x(H, { gap: "0", minW: "0", flex: "1", children: [
1380
+ S,
1381
+ w
1382
+ ] }), e[25] = S, e[26] = w, e[27] = C) : C = e[27];
1383
+ let I;
1384
+ e[28] !== _ || e[29] !== C ? (I = /* @__PURE__ */ x(X, { gap: "2", minW: "0", flex: "1", overflow: "hidden", children: [
1385
+ _,
1386
+ C
1387
+ ] }), e[28] = _, e[29] = C, e[30] = I) : I = e[30];
1388
+ const z = I, $ = p ? "bg.muted" : "transparent", O = p ? "bg.muted" : "bg.subtle";
1389
+ let M;
1390
+ e[31] !== O ? (M = {
1391
+ bg: O
1392
+ }, e[31] = O, e[32] = M) : M = e[32];
1393
+ const N = m ? "default" : "pointer";
1394
+ let W;
1395
+ e[33] !== p || e[34] !== b || e[35] !== $ || e[36] !== M || e[37] !== N ? (W = {
1319
1396
  className: "group",
1320
1397
  role: "option",
1321
1398
  "aria-selected": p,
@@ -1325,412 +1402,412 @@ const Zn = (l) => l === "completed" ? rn : l === "failed" ? sn : an, el = (l) =>
1325
1402
  px: "1",
1326
1403
  py: "2xs",
1327
1404
  pl: b,
1328
- bg: L,
1329
- _hover: G,
1330
- cursor: W,
1405
+ bg: $,
1406
+ _hover: M,
1407
+ cursor: N,
1331
1408
  overflow: "hidden"
1332
- }, e[33] = p, e[34] = b, e[35] = L, e[36] = G, e[37] = W, e[38] = H) : H = e[38];
1333
- const F = H, N = t.children ? "0" : "2xs";
1334
- let M;
1335
- e[39] !== a || e[40] !== y || e[41] !== I || e[42] !== t.actions || e[43] !== t.href || e[44] !== t.id || e[45] !== E || e[46] !== F || e[47] !== n ? (M = y && a && t.href ? /* @__PURE__ */ i(a, { to: t.href, children: /* @__PURE__ */ x(X, { ...F, onClick: I, children: [
1336
- E,
1337
- /* @__PURE__ */ i(qe, { sectionId: n, nodeId: t.id, actions: t.actions ?? [] })
1338
- ] }) }) : /* @__PURE__ */ x(X, { ...F, onClick: I, children: [
1339
- E,
1340
- /* @__PURE__ */ i(qe, { sectionId: n, nodeId: t.id, actions: t.actions ?? [] })
1341
- ] }), e[39] = a, e[40] = y, e[41] = I, e[42] = t.actions, e[43] = t.href, e[44] = t.id, e[45] = E, e[46] = F, e[47] = n, e[48] = M) : M = e[48];
1409
+ }, e[33] = p, e[34] = b, e[35] = $, e[36] = M, e[37] = N, e[38] = W) : W = e[38];
1410
+ const B = W, G = t.children ? "0" : "2xs";
1342
1411
  let R;
1343
- e[49] !== a || e[50] !== s || e[51] !== f || e[52] !== r || e[53] !== o || e[54] !== t.children || e[55] !== c || e[56] !== d || e[57] !== n ? (R = f ? t.children?.map((Y) => /* @__PURE__ */ i(Pt, { sectionId: n, node: Y, level: o + 1, expandedNodes: r, activeNodeId: s, linkComponent: a, onNavigate: c, onToggleNode: d }, Y.id)) : null, e[49] = a, e[50] = s, e[51] = f, e[52] = r, e[53] = o, e[54] = t.children, e[55] = c, e[56] = d, e[57] = n, e[58] = R) : R = e[58];
1344
- let B;
1345
- return e[59] !== N || e[60] !== M || e[61] !== R ? (B = /* @__PURE__ */ x(O, { gap: N, children: [
1346
- M,
1347
- R
1348
- ] }), e[59] = N, e[60] = M, e[61] = R, e[62] = B) : B = e[62], B;
1349
- }, ll = (l) => {
1350
- const e = z(19), {
1412
+ e[39] !== a || e[40] !== y || e[41] !== k || e[42] !== t.actions || e[43] !== t.href || e[44] !== t.id || e[45] !== z || e[46] !== B || e[47] !== n ? (R = y && a && t.href ? /* @__PURE__ */ i(a, { to: t.href, children: /* @__PURE__ */ x(X, { ...B, onClick: k, children: [
1413
+ z,
1414
+ /* @__PURE__ */ i(Je, { sectionId: n, nodeId: t.id, actions: t.actions ?? [] })
1415
+ ] }) }) : /* @__PURE__ */ x(X, { ...B, onClick: k, children: [
1416
+ z,
1417
+ /* @__PURE__ */ i(Je, { sectionId: n, nodeId: t.id, actions: t.actions ?? [] })
1418
+ ] }), e[39] = a, e[40] = y, e[41] = k, e[42] = t.actions, e[43] = t.href, e[44] = t.id, e[45] = z, e[46] = B, e[47] = n, e[48] = R) : R = e[48];
1419
+ let E;
1420
+ e[49] !== a || e[50] !== r || e[51] !== g || e[52] !== s || e[53] !== o || e[54] !== t.children || e[55] !== c || e[56] !== d || e[57] !== n ? (E = g ? t.children?.map((q) => /* @__PURE__ */ i(Pt, { sectionId: n, node: q, level: o + 1, expandedNodes: s, activeNodeId: r, linkComponent: a, onNavigate: c, onToggleNode: d }, q.id)) : null, e[49] = a, e[50] = r, e[51] = g, e[52] = s, e[53] = o, e[54] = t.children, e[55] = c, e[56] = d, e[57] = n, e[58] = E) : E = e[58];
1421
+ let V;
1422
+ return e[59] !== G || e[60] !== R || e[61] !== E ? (V = /* @__PURE__ */ x(H, { gap: G, children: [
1423
+ R,
1424
+ E
1425
+ ] }), e[59] = G, e[60] = R, e[61] = E, e[62] = V) : V = e[62], V;
1426
+ }, gl = (l) => {
1427
+ const e = A(19), {
1351
1428
  sections: n,
1352
1429
  expandedSections: t,
1353
1430
  expandedNodes: o,
1354
- activeNodeId: r,
1355
- linkComponent: s,
1431
+ activeNodeId: s,
1432
+ linkComponent: r,
1356
1433
  onNavigate: a,
1357
1434
  onToggleSection: c,
1358
1435
  onToggleNode: d
1359
1436
  } = l;
1360
1437
  let u;
1361
- if (e[0] !== r || e[1] !== o || e[2] !== t || e[3] !== s || e[4] !== a || e[5] !== d || e[6] !== c || e[7] !== n) {
1362
- let f;
1363
- e[9] !== r || e[10] !== o || e[11] !== t || e[12] !== s || e[13] !== a || e[14] !== d || e[15] !== c ? (f = (h) => {
1364
- const p = h.label ? It(h.id, t) : !0;
1365
- return /* @__PURE__ */ x(O, { gap: "0", "data-testid": `sidebar-section-${h.id}`, children: [
1438
+ if (e[0] !== s || e[1] !== o || e[2] !== t || e[3] !== r || e[4] !== a || e[5] !== d || e[6] !== c || e[7] !== n) {
1439
+ let g;
1440
+ e[9] !== s || e[10] !== o || e[11] !== t || e[12] !== r || e[13] !== a || e[14] !== d || e[15] !== c ? (g = (h) => {
1441
+ const p = h.label ? kt(h.id, t) : !0;
1442
+ return /* @__PURE__ */ x(H, { gap: "0", "data-testid": `sidebar-section-${h.id}`, children: [
1366
1443
  h.label ? /* @__PURE__ */ x(X, { className: "group", justify: "space-between", align: "center", px: "1", py: "2xs", minH: "7", cursor: "pointer", borderRadius: "xs", _hover: {
1367
1444
  bg: "bg.subtle"
1368
1445
  }, onClick: () => c(h.id), children: [
1369
1446
  /* @__PURE__ */ x(X, { gap: "1", flex: "1", minW: "0", children: [
1370
- /* @__PURE__ */ i($, { textStyle: "label/XS", textTransform: "uppercase", color: "fg.muted", letterSpacing: "0.08em", truncate: !0, children: h.label }),
1371
- /* @__PURE__ */ i(V, { color: "fg.muted", flexShrink: 0, children: /* @__PURE__ */ i(ye, { size: 14, style: {
1447
+ /* @__PURE__ */ i(L, { textStyle: "label/XS", textTransform: "uppercase", color: "fg.muted", letterSpacing: "0.08em", truncate: !0, children: h.label }),
1448
+ /* @__PURE__ */ i(j, { color: "fg.muted", flexShrink: 0, children: /* @__PURE__ */ i(Ce, { size: 14, style: {
1372
1449
  transform: p ? "rotate(90deg)" : "rotate(0deg)",
1373
1450
  transition: "120ms"
1374
1451
  } }) })
1375
1452
  ] }),
1376
- /* @__PURE__ */ i(qe, { sectionId: h.id, actions: h.actions ?? [] })
1453
+ /* @__PURE__ */ i(Je, { sectionId: h.id, actions: h.actions ?? [] })
1377
1454
  ] }) : null,
1378
- p ? h.nodes.length > 0 ? h.nodes.map((m) => /* @__PURE__ */ i(Pt, { sectionId: h.id, node: m, level: 0, expandedNodes: o, activeNodeId: r, linkComponent: s, onNavigate: a, onToggleNode: d }, m.id)) : h.emptyState ?? null : null
1455
+ p ? h.nodes.length > 0 ? h.nodes.map((m) => /* @__PURE__ */ i(Pt, { sectionId: h.id, node: m, level: 0, expandedNodes: o, activeNodeId: s, linkComponent: r, onNavigate: a, onToggleNode: d }, m.id)) : h.emptyState ?? null : null
1379
1456
  ] }, h.id);
1380
- }, e[9] = r, e[10] = o, e[11] = t, e[12] = s, e[13] = a, e[14] = d, e[15] = c, e[16] = f) : f = e[16], u = n.map(f), e[0] = r, e[1] = o, e[2] = t, e[3] = s, e[4] = a, e[5] = d, e[6] = c, e[7] = n, e[8] = u;
1457
+ }, e[9] = s, e[10] = o, e[11] = t, e[12] = r, e[13] = a, e[14] = d, e[15] = c, e[16] = g) : g = e[16], u = n.map(g), e[0] = s, e[1] = o, e[2] = t, e[3] = r, e[4] = a, e[5] = d, e[6] = c, e[7] = n, e[8] = u;
1381
1458
  } else
1382
1459
  u = e[8];
1383
- let g;
1384
- return e[17] !== u ? (g = /* @__PURE__ */ i(O, { role: "listbox", gap: "md", p: "md", children: u }), e[17] = u, e[18] = g) : g = e[18], g;
1460
+ let f;
1461
+ return e[17] !== u ? (f = /* @__PURE__ */ i(H, { role: "listbox", gap: "md", p: "md", children: u }), e[17] = u, e[18] = f) : f = e[18], f;
1385
1462
  };
1386
- function il(l) {
1387
- return /* @__PURE__ */ i(Le, { content: l.description, disabled: !l.description, openDelay: 300, children: /* @__PURE__ */ x(le.Item, { value: l.id, onClick: () => l.onAction?.(), children: [
1388
- l.icon ? /* @__PURE__ */ i(V, { mr: "2", children: l.icon }) : null,
1463
+ function hl(l) {
1464
+ return /* @__PURE__ */ i(Le, { content: l.description, disabled: !l.description, openDelay: 300, children: /* @__PURE__ */ x(ie.Item, { value: l.id, onClick: () => l.onAction?.(), children: [
1465
+ l.icon ? /* @__PURE__ */ i(j, { mr: "2", children: l.icon }) : null,
1389
1466
  l.label
1390
1467
  ] }) }, l.id);
1391
1468
  }
1392
- function ol(l) {
1469
+ function pl(l) {
1393
1470
  return l.stopPropagation();
1394
1471
  }
1395
- const rt = {
1472
+ const st = {
1396
1473
  open: !0,
1397
1474
  expandedSections: [],
1398
1475
  expandedNodes: []
1399
- }, rl = "pstdio/ui/sidebar-next", sl = (l) => `${rl}/${l}`, al = () => ({
1476
+ }, ml = "pstdio/ui/sidebar-next", bl = (l) => `${ml}/${l}`, xl = () => ({
1400
1477
  getItem: () => null,
1401
1478
  setItem: () => {
1402
1479
  },
1403
1480
  removeItem: () => {
1404
1481
  }
1405
- }), st = (l, e) => l.includes(e) ? l.filter((n) => n !== e) : [...l, e], at = (l, e, n) => n ? l.includes(e) ? l : [...l, e] : l.filter((t) => t !== e), cl = (l) => ({
1482
+ }), at = (l, e) => l.includes(e) ? l.filter((n) => n !== e) : [...l, e], ct = (l, e, n) => n ? l.includes(e) ? l : [...l, e] : l.filter((t) => t !== e), Sl = (l) => ({
1406
1483
  open: l.open,
1407
1484
  expandedSections: l.expandedSections,
1408
1485
  expandedNodes: l.expandedNodes
1409
- }), dl = (l) => {
1486
+ }), yl = (l) => {
1410
1487
  const {
1411
1488
  storageKey: e,
1412
1489
  initialState: n
1413
1490
  } = l, t = {
1414
- ...rt,
1491
+ ...st,
1415
1492
  ...n
1416
1493
  };
1417
1494
  return vt()(St((o) => ({
1418
1495
  ...t,
1419
- openSidebar: () => o((r) => ({
1420
- ...r,
1496
+ openSidebar: () => o((s) => ({
1497
+ ...s,
1421
1498
  open: !0
1422
1499
  })),
1423
- closeSidebar: () => o((r) => ({
1424
- ...r,
1500
+ closeSidebar: () => o((s) => ({
1501
+ ...s,
1425
1502
  open: !1
1426
1503
  })),
1427
- toggleSidebar: () => o((r) => ({
1428
- ...r,
1429
- open: !r.open
1430
- })),
1431
- toggleSection: (r) => o((s) => ({
1504
+ toggleSidebar: () => o((s) => ({
1432
1505
  ...s,
1433
- expandedSections: st(s.expandedSections, r)
1506
+ open: !s.open
1434
1507
  })),
1435
- toggleNode: (r) => o((s) => ({
1436
- ...s,
1437
- expandedNodes: st(s.expandedNodes, r)
1508
+ toggleSection: (s) => o((r) => ({
1509
+ ...r,
1510
+ expandedSections: at(r.expandedSections, s)
1438
1511
  })),
1439
- setSectionExpanded: (r, s) => o((a) => ({
1512
+ toggleNode: (s) => o((r) => ({
1513
+ ...r,
1514
+ expandedNodes: at(r.expandedNodes, s)
1515
+ })),
1516
+ setSectionExpanded: (s, r) => o((a) => ({
1440
1517
  ...a,
1441
- expandedSections: at(a.expandedSections, r, s)
1518
+ expandedSections: ct(a.expandedSections, s, r)
1442
1519
  })),
1443
- setNodeExpanded: (r, s) => o((a) => ({
1520
+ setNodeExpanded: (s, r) => o((a) => ({
1444
1521
  ...a,
1445
- expandedNodes: at(a.expandedNodes, r, s)
1522
+ expandedNodes: ct(a.expandedNodes, s, r)
1446
1523
  })),
1447
- reset: () => o(rt)
1524
+ reset: () => o(st)
1448
1525
  }), {
1449
- name: sl(e),
1450
- storage: yt(() => typeof globalThis.localStorage > "u" ? al() : globalThis.localStorage),
1451
- partialize: cl
1526
+ name: bl(e),
1527
+ storage: yt(() => typeof globalThis.localStorage > "u" ? xl() : globalThis.localStorage),
1528
+ partialize: Sl
1452
1529
  }));
1453
- }, ct = /* @__PURE__ */ new Map(), ul = (l) => {
1454
- const e = ct.get(l);
1530
+ }, dt = /* @__PURE__ */ new Map(), vl = (l) => {
1531
+ const e = dt.get(l);
1455
1532
  if (e)
1456
1533
  return e;
1457
- const n = dl({
1534
+ const n = yl({
1458
1535
  storageKey: l
1459
1536
  });
1460
- return ct.set(l, n), n;
1537
+ return dt.set(l, n), n;
1461
1538
  }, $e = (l, e) => {
1462
- const n = z(2);
1539
+ const n = A(2);
1463
1540
  let t;
1464
- return n[0] !== l ? (t = ul(l), n[0] = l, n[1] = t) : t = n[1], xt(t, e);
1465
- }, fl = (l) => {
1466
- const e = z(2), {
1541
+ return n[0] !== l ? (t = vl(l), n[0] = l, n[1] = t) : t = n[1], xt(t, e);
1542
+ }, Cl = (l) => {
1543
+ const e = A(2), {
1467
1544
  children: n
1468
1545
  } = l;
1469
1546
  if (!n)
1470
1547
  return null;
1471
1548
  let t;
1472
- return e[0] !== n ? (t = /* @__PURE__ */ i(V, { px: "2", py: "2", bg: "bg", position: "sticky", bottom: "0", overflow: "hidden", children: n }), e[0] = n, e[1] = t) : t = e[1], t;
1473
- }, gl = (l) => {
1474
- const e = z(7), {
1549
+ return e[0] !== n ? (t = /* @__PURE__ */ i(j, { px: "2", py: "2", bg: "bg", position: "sticky", bottom: "0", overflow: "hidden", children: n }), e[0] = n, e[1] = t) : t = e[1], t;
1550
+ }, wl = (l) => {
1551
+ const e = A(7), {
1475
1552
  children: n,
1476
1553
  onClose: t
1477
1554
  } = l;
1478
1555
  let o;
1479
1556
  e[0] !== n ? (o = /* @__PURE__ */ i(X, { minW: "0", flex: "1", children: n }), e[0] = n, e[1] = o) : o = e[1];
1480
- let r;
1481
- e[2] !== t ? (r = t ? /* @__PURE__ */ i(Se, { variant: "ghost", size: "sm", "aria-label": "Hide sidebar", onClick: t, children: /* @__PURE__ */ i(cn, { size: 16 }) }) : null, e[2] = t, e[3] = r) : r = e[3];
1482
1557
  let s;
1483
- return e[4] !== o || e[5] !== r ? (s = /* @__PURE__ */ x(X, { justify: "space-between", align: "center", px: "4", py: "3", bg: "bg", position: "sticky", top: "0", zIndex: "1", children: [
1558
+ e[2] !== t ? (s = t ? /* @__PURE__ */ i(Se, { variant: "ghost", size: "sm", "aria-label": "Hide sidebar", onClick: t, children: /* @__PURE__ */ i(gn, { size: 16 }) }) : null, e[2] = t, e[3] = s) : s = e[3];
1559
+ let r;
1560
+ return e[4] !== o || e[5] !== s ? (r = /* @__PURE__ */ x(X, { justify: "space-between", align: "center", px: "4", py: "3", bg: "bg", position: "sticky", top: "0", zIndex: "1", children: [
1484
1561
  o,
1485
- r
1486
- ] }), e[4] = o, e[5] = r, e[6] = s) : s = e[6], s;
1487
- }, Ki = (l) => {
1488
- const e = z(24), {
1562
+ s
1563
+ ] }), e[4] = o, e[5] = s, e[6] = r) : r = e[6], r;
1564
+ }, oo = (l) => {
1565
+ const e = A(24), {
1489
1566
  storageKey: n,
1490
1567
  sections: t,
1491
1568
  activeNodeId: o,
1492
- header: r,
1493
- footer: s,
1569
+ header: s,
1570
+ footer: r,
1494
1571
  width: a,
1495
1572
  closable: c,
1496
1573
  emptyLabel: d,
1497
1574
  linkComponent: u,
1498
- onNavigate: g,
1499
- onOpenChange: f
1500
- } = l, h = a === void 0 ? "240px" : a, p = c === void 0 ? !0 : c, m = d === void 0 ? "No items available." : d, b = $e(n, hl), y = $e(n, pl), w = $e(n, ml), I = $e(n, bl), P = $e(n, xl), _ = $e(n, Sl);
1501
- let T, D;
1502
- if (e[0] !== f || e[1] !== b ? (T = () => {
1503
- f?.(b);
1504
- }, D = [f, b], e[0] = f, e[1] = b, e[2] = T, e[3] = D) : (T = e[2], D = e[3]), Ge(T, D), !b && p)
1575
+ onNavigate: f,
1576
+ onOpenChange: g
1577
+ } = l, h = a === void 0 ? "240px" : a, p = c === void 0 ? !0 : c, m = d === void 0 ? "No items available." : d, b = $e(n, Il), y = $e(n, kl), v = $e(n, Pl), k = $e(n, Tl), _ = $e(n, Dl), D = $e(n, _l);
1578
+ let T, P;
1579
+ if (e[0] !== g || e[1] !== b ? (T = () => {
1580
+ g?.(b);
1581
+ }, P = [g, b], e[0] = g, e[1] = b, e[2] = T, e[3] = P) : (T = e[2], P = e[3]), ze(T, P), !b && p)
1505
1582
  return null;
1506
- const S = p ? I : void 0;
1507
- let v;
1508
- e[4] !== r || e[5] !== S ? (v = /* @__PURE__ */ i(gl, { onClose: S, children: r }), e[4] = r, e[5] = S, e[6] = v) : v = e[6];
1509
- let k;
1510
- e[7] !== o || e[8] !== m || e[9] !== w || e[10] !== y || e[11] !== u || e[12] !== g || e[13] !== t || e[14] !== _ || e[15] !== P ? (k = /* @__PURE__ */ i(ve, { flex: "1", children: t.length === 0 ? /* @__PURE__ */ i($, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: m }) : /* @__PURE__ */ i(ll, { sections: t, expandedSections: y, expandedNodes: w, activeNodeId: o, linkComponent: u, onNavigate: g, onToggleSection: P, onToggleNode: _ }) }), e[7] = o, e[8] = m, e[9] = w, e[10] = y, e[11] = u, e[12] = g, e[13] = t, e[14] = _, e[15] = P, e[16] = k) : k = e[16];
1583
+ const S = p ? k : void 0;
1584
+ let w;
1585
+ e[4] !== s || e[5] !== S ? (w = /* @__PURE__ */ i(wl, { onClose: S, children: s }), e[4] = s, e[5] = S, e[6] = w) : w = e[6];
1511
1586
  let C;
1512
- e[17] !== s ? (C = /* @__PURE__ */ i(fl, { children: s }), e[17] = s, e[18] = C) : C = e[18];
1513
- let E;
1514
- return e[19] !== v || e[20] !== k || e[21] !== C || e[22] !== h ? (E = /* @__PURE__ */ x(we, { as: "aside", "data-testid": "sidebar", direction: "column", h: "100%", w: h, minW: h, maxW: h, borderRightWidth: "1px", borderRightColor: "border.muted", bg: "bg", children: [
1515
- v,
1516
- k,
1517
- C
1518
- ] }), e[19] = v, e[20] = k, e[21] = C, e[22] = h, e[23] = E) : E = e[23], E;
1587
+ e[7] !== o || e[8] !== m || e[9] !== v || e[10] !== y || e[11] !== u || e[12] !== f || e[13] !== t || e[14] !== D || e[15] !== _ ? (C = /* @__PURE__ */ i(ye, { flex: "1", children: t.length === 0 ? /* @__PURE__ */ i(L, { textStyle: "paragraph/S/regular", color: "fg.muted", p: "3", children: m }) : /* @__PURE__ */ i(gl, { sections: t, expandedSections: y, expandedNodes: v, activeNodeId: o, linkComponent: u, onNavigate: f, onToggleSection: _, onToggleNode: D }) }), e[7] = o, e[8] = m, e[9] = v, e[10] = y, e[11] = u, e[12] = f, e[13] = t, e[14] = D, e[15] = _, e[16] = C) : C = e[16];
1588
+ let I;
1589
+ e[17] !== r ? (I = /* @__PURE__ */ i(Cl, { children: r }), e[17] = r, e[18] = I) : I = e[18];
1590
+ let z;
1591
+ return e[19] !== w || e[20] !== C || e[21] !== I || e[22] !== h ? (z = /* @__PURE__ */ x(Ie, { as: "aside", "data-testid": "sidebar", direction: "column", h: "100%", w: h, minW: h, maxW: h, borderRightWidth: "1px", borderRightColor: "border.muted", bg: "bg", children: [
1592
+ w,
1593
+ C,
1594
+ I
1595
+ ] }), e[19] = w, e[20] = C, e[21] = I, e[22] = h, e[23] = z) : z = e[23], z;
1519
1596
  };
1520
- function hl(l) {
1597
+ function Il(l) {
1521
1598
  return l.open;
1522
1599
  }
1523
- function pl(l) {
1600
+ function kl(l) {
1524
1601
  return l.expandedSections;
1525
1602
  }
1526
- function ml(l) {
1603
+ function Pl(l) {
1527
1604
  return l.expandedNodes;
1528
1605
  }
1529
- function bl(l) {
1606
+ function Tl(l) {
1530
1607
  return l.closeSidebar;
1531
1608
  }
1532
- function xl(l) {
1609
+ function Dl(l) {
1533
1610
  return l.toggleSection;
1534
1611
  }
1535
- function Sl(l) {
1612
+ function _l(l) {
1536
1613
  return l.toggleNode;
1537
1614
  }
1538
- const Ji = He.forwardRef(function(e, n) {
1539
- const t = z(32);
1540
- let o, r, s, a, c, d, u;
1615
+ const ro = Ze.forwardRef(function(e, n) {
1616
+ const t = A(32);
1617
+ let o, s, r, a, c, d, u;
1541
1618
  t[0] !== e ? ({
1542
- inputProps: r,
1619
+ inputProps: s,
1543
1620
  children: o,
1544
1621
  rootRef: a,
1545
1622
  trackLabel: u,
1546
1623
  thumbLabel: d,
1547
1624
  disabled: c,
1548
- ...s
1549
- } = e, t[0] = e, t[1] = o, t[2] = r, t[3] = s, t[4] = a, t[5] = c, t[6] = d, t[7] = u) : (o = t[1], r = t[2], s = t[3], a = t[4], c = t[5], d = t[6], u = t[7]);
1550
- const g = c === void 0 ? !1 : c, f = g ? "not-allowed" : "pointer";
1625
+ ...r
1626
+ } = e, t[0] = e, t[1] = o, t[2] = s, t[3] = r, t[4] = a, t[5] = c, t[6] = d, t[7] = u) : (o = t[1], s = t[2], r = t[3], a = t[4], c = t[5], d = t[6], u = t[7]);
1627
+ const f = c === void 0 ? !1 : c, g = f ? "not-allowed" : "pointer";
1551
1628
  let h;
1552
- t[8] !== r || t[9] !== n ? (h = /* @__PURE__ */ i(Pe.HiddenInput, { ref: n, ...r }), t[8] = r, t[9] = n, t[10] = h) : h = t[10];
1629
+ t[8] !== s || t[9] !== n ? (h = /* @__PURE__ */ i(Te.HiddenInput, { ref: n, ...s }), t[8] = s, t[9] = n, t[10] = h) : h = t[10];
1553
1630
  let p;
1554
- t[11] !== d ? (p = d && /* @__PURE__ */ i(Pe.ThumbIndicator, { fallback: d?.off, children: d?.on }), t[11] = d, t[12] = p) : p = t[12];
1631
+ t[11] !== d ? (p = d && /* @__PURE__ */ i(Te.ThumbIndicator, { fallback: d?.off, children: d?.on }), t[11] = d, t[12] = p) : p = t[12];
1555
1632
  let m;
1556
- t[13] !== p ? (m = /* @__PURE__ */ i(Pe.Thumb, { borderRadius: "full", children: p }), t[13] = p, t[14] = m) : m = t[14];
1633
+ t[13] !== p ? (m = /* @__PURE__ */ i(Te.Thumb, { borderRadius: "full", children: p }), t[13] = p, t[14] = m) : m = t[14];
1557
1634
  let b;
1558
- t[15] !== u ? (b = u && /* @__PURE__ */ i(Pe.Indicator, { fallback: u.off, children: u.on }), t[15] = u, t[16] = b) : b = t[16];
1635
+ t[15] !== u ? (b = u && /* @__PURE__ */ i(Te.Indicator, { fallback: u.off, children: u.on }), t[15] = u, t[16] = b) : b = t[16];
1559
1636
  let y;
1560
- t[17] !== f || t[18] !== m || t[19] !== b ? (y = /* @__PURE__ */ x(Pe.Control, { borderRadius: "md", cursor: f, children: [
1637
+ t[17] !== g || t[18] !== m || t[19] !== b ? (y = /* @__PURE__ */ x(Te.Control, { borderRadius: "md", cursor: g, children: [
1561
1638
  m,
1562
1639
  b
1563
- ] }), t[17] = f, t[18] = m, t[19] = b, t[20] = y) : y = t[20];
1564
- let w;
1565
- t[21] !== o || t[22] !== f ? (w = o != null && /* @__PURE__ */ i(Pe.Label, { cursor: f, children: o }), t[21] = o, t[22] = f, t[23] = w) : w = t[23];
1566
- let I;
1567
- return t[24] !== g || t[25] !== f || t[26] !== s || t[27] !== a || t[28] !== h || t[29] !== y || t[30] !== w ? (I = /* @__PURE__ */ x(Pe.Root, { ref: a, disabled: g, cursor: f, ...s, children: [
1640
+ ] }), t[17] = g, t[18] = m, t[19] = b, t[20] = y) : y = t[20];
1641
+ let v;
1642
+ t[21] !== o || t[22] !== g ? (v = o != null && /* @__PURE__ */ i(Te.Label, { cursor: g, children: o }), t[21] = o, t[22] = g, t[23] = v) : v = t[23];
1643
+ let k;
1644
+ return t[24] !== f || t[25] !== g || t[26] !== r || t[27] !== a || t[28] !== h || t[29] !== y || t[30] !== v ? (k = /* @__PURE__ */ x(Te.Root, { ref: a, disabled: f, cursor: g, ...r, children: [
1568
1645
  h,
1569
1646
  y,
1570
- w
1571
- ] }), t[24] = g, t[25] = f, t[26] = s, t[27] = a, t[28] = h, t[29] = y, t[30] = w, t[31] = I) : I = t[31], I;
1572
- }), ze = (l) => {
1573
- const e = z(2);
1647
+ v
1648
+ ] }), t[24] = f, t[25] = g, t[26] = r, t[27] = a, t[28] = h, t[29] = y, t[30] = v, t[31] = k) : k = t[31], k;
1649
+ }), Ae = (l) => {
1650
+ const e = A(2);
1574
1651
  let n;
1575
- return e[0] !== l.children ? (n = /* @__PURE__ */ i($, { textStyle: "label/XS/medium", color: "fg.muted", children: l.children }), e[0] = l.children, e[1] = n) : n = e[1], n;
1652
+ return e[0] !== l.children ? (n = /* @__PURE__ */ i(L, { textStyle: "label/XS/medium", color: "fg.muted", children: l.children }), e[0] = l.children, e[1] = n) : n = e[1], n;
1576
1653
  }, Fe = (l) => {
1577
- const e = z(19);
1654
+ const e = A(19);
1578
1655
  let n;
1579
- e[0] !== l.label || e[1] !== l.options || e[2] !== l.value ? (n = l.options.find((g) => g.value === l.value)?.label ?? l.label, e[0] = l.label, e[1] = l.options, e[2] = l.value, e[3] = n) : n = e[3];
1656
+ e[0] !== l.label || e[1] !== l.options || e[2] !== l.value ? (n = l.options.find((f) => f.value === l.value)?.label ?? l.label, e[0] = l.label, e[1] = l.options, e[2] = l.value, e[3] = n) : n = e[3];
1580
1657
  const t = n;
1581
1658
  let o;
1582
- e[4] !== l.label ? (o = /* @__PURE__ */ i(ze, { children: l.label }), e[4] = l.label, e[5] = o) : o = e[5];
1583
- let r;
1584
- e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (r = /* @__PURE__ */ i(re, { as: et, color: "fg.muted" }), e[6] = r) : r = e[6];
1659
+ e[4] !== l.label ? (o = /* @__PURE__ */ i(Ae, { children: l.label }), e[4] = l.label, e[5] = o) : o = e[5];
1585
1660
  let s;
1586
- e[7] !== t ? (s = /* @__PURE__ */ i(le.Trigger, { asChild: !0, children: /* @__PURE__ */ x(de, { size: "sm", variant: "outline", width: "full", justifyContent: "space-between", children: [
1661
+ e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (s = /* @__PURE__ */ i(ue, { as: tt, color: "fg.muted" }), e[6] = s) : s = e[6];
1662
+ let r;
1663
+ e[7] !== t ? (r = /* @__PURE__ */ i(ie.Trigger, { asChild: !0, children: /* @__PURE__ */ x(he, { size: "sm", variant: "outline", width: "full", justifyContent: "space-between", children: [
1587
1664
  t,
1588
- r
1589
- ] }) }), e[7] = t, e[8] = s) : s = e[8];
1665
+ s
1666
+ ] }) }), e[7] = t, e[8] = r) : r = e[8];
1590
1667
  let a;
1591
- e[9] !== l ? (a = l.options.map((g) => /* @__PURE__ */ i(le.Item, { value: g.value, onClick: () => l.onSelect(g.value), children: /* @__PURE__ */ i($, { textStyle: "label/S/regular", children: g.label }) }, g.value)), e[9] = l, e[10] = a) : a = e[10];
1668
+ e[9] !== l ? (a = l.options.map((f) => /* @__PURE__ */ i(ie.Item, { value: f.value, onClick: () => l.onSelect(f.value), children: /* @__PURE__ */ i(L, { textStyle: "label/S/regular", children: f.label }) }, f.value)), e[9] = l, e[10] = a) : a = e[10];
1592
1669
  let c;
1593
- e[11] !== a ? (c = /* @__PURE__ */ i(le.Positioner, { children: /* @__PURE__ */ i(le.Content, { minW: "260px", bg: "bg", children: a }) }), e[11] = a, e[12] = c) : c = e[12];
1670
+ e[11] !== a ? (c = /* @__PURE__ */ i(ie.Positioner, { children: /* @__PURE__ */ i(ie.Content, { minW: "260px", bg: "bg", children: a }) }), e[11] = a, e[12] = c) : c = e[12];
1594
1671
  let d;
1595
- e[13] !== s || e[14] !== c ? (d = /* @__PURE__ */ x(le.Root, { children: [
1596
- s,
1672
+ e[13] !== r || e[14] !== c ? (d = /* @__PURE__ */ x(ie.Root, { children: [
1673
+ r,
1597
1674
  c
1598
- ] }), e[13] = s, e[14] = c, e[15] = d) : d = e[15];
1675
+ ] }), e[13] = r, e[14] = c, e[15] = d) : d = e[15];
1599
1676
  let u;
1600
- return e[16] !== o || e[17] !== d ? (u = /* @__PURE__ */ x(O, { gap: "2xs", children: [
1677
+ return e[16] !== o || e[17] !== d ? (u = /* @__PURE__ */ x(H, { gap: "2xs", children: [
1601
1678
  o,
1602
1679
  d
1603
1680
  ] }), e[16] = o, e[17] = d, e[18] = u) : u = e[18], u;
1604
- }, yl = (l) => {
1605
- const e = z(60), {
1681
+ }, $l = (l) => {
1682
+ const e = A(60), {
1606
1683
  settings: n,
1607
1684
  groupingOptions: t,
1608
1685
  orderingOptions: o,
1609
- displayPropertyOptions: r,
1610
- onViewModeChange: s,
1686
+ displayPropertyOptions: s,
1687
+ onViewModeChange: r,
1611
1688
  onColumnGroupingChange: a,
1612
1689
  onRowGroupingChange: c,
1613
1690
  onOrderingFieldChange: d,
1614
1691
  onSortDirectionToggle: u,
1615
- onDisplayPropertyToggle: g
1692
+ onDisplayPropertyToggle: f
1616
1693
  } = l;
1617
- let f;
1618
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (f = {
1694
+ let g;
1695
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (g = {
1619
1696
  placement: "bottom-end",
1620
1697
  offset: {
1621
1698
  mainAxis: 8
1622
1699
  }
1623
- }, e[0] = f) : f = e[0];
1700
+ }, e[0] = g) : g = e[0];
1624
1701
  let h;
1625
- e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ i(ke.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { "aria-label": "Display settings", variant: "ghost", size: "sm", children: /* @__PURE__ */ i(re, { as: dn, boxSize: "14px" }) }) }), e[1] = h) : h = e[1];
1702
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = /* @__PURE__ */ i(ke.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { "aria-label": "Display settings", variant: "ghost", size: "sm", children: /* @__PURE__ */ i(ue, { as: hn, boxSize: "14px" }) }) }), e[1] = h) : h = e[1];
1626
1703
  let p;
1627
- e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ i(ze, { children: "View" }), e[2] = p) : p = e[2];
1704
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = /* @__PURE__ */ i(Ae, { children: "View" }), e[2] = p) : p = e[2];
1628
1705
  let m;
1629
- e[3] !== s ? (m = (R) => {
1630
- R.value && s(R.value);
1631
- }, e[3] = s, e[4] = m) : m = e[4];
1706
+ e[3] !== r ? (m = (E) => {
1707
+ E.value && r(E.value);
1708
+ }, e[3] = r, e[4] = m) : m = e[4];
1632
1709
  let b;
1633
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ i(Ce.Indicator, {}), e[5] = b) : b = e[5];
1710
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = /* @__PURE__ */ i(we.Indicator, {}), e[5] = b) : b = e[5];
1634
1711
  let y;
1635
- e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ x(Ce.Item, { value: "list", children: [
1636
- /* @__PURE__ */ i(Ce.ItemText, { children: /* @__PURE__ */ x(X, { as: "span", gap: "2xs", children: [
1637
- /* @__PURE__ */ i(un, { size: 14 }),
1712
+ e[6] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (y = /* @__PURE__ */ x(we.Item, { value: "list", children: [
1713
+ /* @__PURE__ */ i(we.ItemText, { children: /* @__PURE__ */ x(X, { as: "span", gap: "2xs", children: [
1714
+ /* @__PURE__ */ i(pn, { size: 14 }),
1638
1715
  /* @__PURE__ */ i("span", { children: "List" })
1639
1716
  ] }) }),
1640
- /* @__PURE__ */ i(Ce.ItemHiddenInput, {})
1717
+ /* @__PURE__ */ i(we.ItemHiddenInput, {})
1641
1718
  ] }), e[6] = y) : y = e[6];
1642
- let w;
1643
- e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = /* @__PURE__ */ x(Ce.Item, { value: "board", children: [
1644
- /* @__PURE__ */ i(Ce.ItemText, { children: /* @__PURE__ */ x(X, { as: "span", gap: "2xs", children: [
1645
- /* @__PURE__ */ i(fn, { size: 14 }),
1719
+ let v;
1720
+ e[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = /* @__PURE__ */ x(we.Item, { value: "board", children: [
1721
+ /* @__PURE__ */ i(we.ItemText, { children: /* @__PURE__ */ x(X, { as: "span", gap: "2xs", children: [
1722
+ /* @__PURE__ */ i(mn, { size: 14 }),
1646
1723
  /* @__PURE__ */ i("span", { children: "Board" })
1647
1724
  ] }) }),
1648
- /* @__PURE__ */ i(Ce.ItemHiddenInput, {})
1649
- ] }), e[7] = w) : w = e[7];
1650
- let I;
1651
- e[8] !== n.viewMode || e[9] !== m ? (I = /* @__PURE__ */ x(Ce.Root, { size: "sm", value: n.viewMode, onValueChange: m, children: [
1725
+ /* @__PURE__ */ i(we.ItemHiddenInput, {})
1726
+ ] }), e[7] = v) : v = e[7];
1727
+ let k;
1728
+ e[8] !== n.viewMode || e[9] !== m ? (k = /* @__PURE__ */ x(we.Root, { size: "sm", value: n.viewMode, onValueChange: m, children: [
1652
1729
  b,
1653
1730
  y,
1654
- w
1655
- ] }), e[8] = n.viewMode, e[9] = m, e[10] = I) : I = e[10];
1656
- let P;
1657
- e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (P = /* @__PURE__ */ i(Ye, {}), e[11] = P) : P = e[11];
1731
+ v
1732
+ ] }), e[8] = n.viewMode, e[9] = m, e[10] = k) : k = e[10];
1658
1733
  let _;
1659
- e[12] !== a || e[13] !== c || e[14] !== n.rowGrouping ? (_ = (R) => {
1660
- a(R), (R === "none" || R === n.rowGrouping) && c("none");
1661
- }, e[12] = a, e[13] = c, e[14] = n.rowGrouping, e[15] = _) : _ = e[15];
1734
+ e[11] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (_ = /* @__PURE__ */ i(Ye, {}), e[11] = _) : _ = e[11];
1735
+ let D;
1736
+ e[12] !== a || e[13] !== c || e[14] !== n.rowGrouping ? (D = (E) => {
1737
+ a(E), (E === "none" || E === n.rowGrouping) && c("none");
1738
+ }, e[12] = a, e[13] = c, e[14] = n.rowGrouping, e[15] = D) : D = e[15];
1662
1739
  let T;
1663
- e[16] !== t || e[17] !== n.columnGrouping || e[18] !== _ ? (T = /* @__PURE__ */ i(Fe, { label: "Grouping", value: n.columnGrouping, options: t, onSelect: _ }), e[16] = t, e[17] = n.columnGrouping, e[18] = _, e[19] = T) : T = e[19];
1664
- const D = n.rowGrouping;
1740
+ e[16] !== t || e[17] !== n.columnGrouping || e[18] !== D ? (T = /* @__PURE__ */ i(Fe, { label: "Grouping", value: n.columnGrouping, options: t, onSelect: D }), e[16] = t, e[17] = n.columnGrouping, e[18] = D, e[19] = T) : T = e[19];
1741
+ const P = n.rowGrouping;
1665
1742
  let S;
1666
1743
  if (e[20] !== t || e[21] !== n.columnGrouping) {
1667
- let R;
1668
- e[23] !== n.columnGrouping ? (R = (B) => B.value === "none" || B.value !== n.columnGrouping, e[23] = n.columnGrouping, e[24] = R) : R = e[24], S = t.filter(R), e[20] = t, e[21] = n.columnGrouping, e[22] = S;
1744
+ let E;
1745
+ e[23] !== n.columnGrouping ? (E = (V) => V.value === "none" || V.value !== n.columnGrouping, e[23] = n.columnGrouping, e[24] = E) : E = e[24], S = t.filter(E), e[20] = t, e[21] = n.columnGrouping, e[22] = S;
1669
1746
  } else
1670
1747
  S = e[22];
1671
- let v;
1672
- e[25] !== c || e[26] !== n.rowGrouping || e[27] !== S ? (v = /* @__PURE__ */ i(Fe, { label: "Sub-grouping", value: D, options: S, onSelect: c }), e[25] = c, e[26] = n.rowGrouping, e[27] = S, e[28] = v) : v = e[28];
1673
- let k;
1674
- e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ i(ze, { children: "Ordering" }), e[29] = k) : k = e[29];
1748
+ let w;
1749
+ e[25] !== c || e[26] !== n.rowGrouping || e[27] !== S ? (w = /* @__PURE__ */ i(Fe, { label: "Sub-grouping", value: P, options: S, onSelect: c }), e[25] = c, e[26] = n.rowGrouping, e[27] = S, e[28] = w) : w = e[28];
1675
1750
  let C;
1676
- e[30] !== d || e[31] !== o || e[32] !== n.ordering.field ? (C = /* @__PURE__ */ i(Fe, { label: "Sort by", value: n.ordering.field, options: o, onSelect: d }), e[30] = d, e[31] = o, e[32] = n.ordering.field, e[33] = C) : C = e[33];
1677
- const E = n.ordering.direction === "asc" ? "rotate(0deg)" : "rotate(180deg)";
1678
- let L;
1679
- e[34] !== E ? (L = /* @__PURE__ */ i(re, { as: gn, transform: E }), e[34] = E, e[35] = L) : L = e[35];
1680
- let A;
1681
- e[36] !== u || e[37] !== n.ordering.direction || e[38] !== L ? (A = /* @__PURE__ */ i(Se, { mt: "lg", "aria-label": "Toggle sort direction", size: "sm", variant: "outline", onClick: u, "data-direction": n.ordering.direction, children: L }), e[36] = u, e[37] = n.ordering.direction, e[38] = L, e[39] = A) : A = e[39];
1682
- let G;
1683
- e[40] !== C || e[41] !== A ? (G = /* @__PURE__ */ x(O, { gap: "2xs", children: [
1684
- k,
1751
+ e[29] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ i(Ae, { children: "Ordering" }), e[29] = C) : C = e[29];
1752
+ let I;
1753
+ e[30] !== d || e[31] !== o || e[32] !== n.ordering.field ? (I = /* @__PURE__ */ i(Fe, { label: "Sort by", value: n.ordering.field, options: o, onSelect: d }), e[30] = d, e[31] = o, e[32] = n.ordering.field, e[33] = I) : I = e[33];
1754
+ const z = n.ordering.direction === "asc" ? "rotate(0deg)" : "rotate(180deg)";
1755
+ let $;
1756
+ e[34] !== z ? ($ = /* @__PURE__ */ i(ue, { as: bn, transform: z }), e[34] = z, e[35] = $) : $ = e[35];
1757
+ let O;
1758
+ e[36] !== u || e[37] !== n.ordering.direction || e[38] !== $ ? (O = /* @__PURE__ */ i(Se, { mt: "lg", "aria-label": "Toggle sort direction", size: "sm", variant: "outline", onClick: u, "data-direction": n.ordering.direction, children: $ }), e[36] = u, e[37] = n.ordering.direction, e[38] = $, e[39] = O) : O = e[39];
1759
+ let M;
1760
+ e[40] !== I || e[41] !== O ? (M = /* @__PURE__ */ x(H, { gap: "2xs", children: [
1761
+ C,
1685
1762
  /* @__PURE__ */ x(X, { gap: "2xs", children: [
1686
- C,
1687
- A
1763
+ I,
1764
+ O
1688
1765
  ] })
1689
- ] }), e[40] = C, e[41] = A, e[42] = G) : G = e[42];
1766
+ ] }), e[40] = I, e[41] = O, e[42] = M) : M = e[42];
1767
+ let N;
1768
+ e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (N = /* @__PURE__ */ i(Ye, {}), e[43] = N) : N = e[43];
1690
1769
  let W;
1691
- e[43] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ i(Ye, {}), e[43] = W) : W = e[43];
1692
- let H;
1693
- e[44] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (H = /* @__PURE__ */ i(ze, { children: "Display properties" }), e[44] = H) : H = e[44];
1694
- let F;
1695
- if (e[45] !== r || e[46] !== g || e[47] !== n.displayProperties) {
1696
- let R;
1697
- e[49] !== g || e[50] !== n.displayProperties ? (R = (B) => {
1698
- const Y = n.displayProperties.includes(B.value);
1699
- return /* @__PURE__ */ i(de, { size: "2xs", variant: Y ? "solid" : "outline", onClick: () => g(B.value), children: B.label }, B.value);
1700
- }, e[49] = g, e[50] = n.displayProperties, e[51] = R) : R = e[51], F = r.map(R), e[45] = r, e[46] = g, e[47] = n.displayProperties, e[48] = F;
1770
+ e[44] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (W = /* @__PURE__ */ i(Ae, { children: "Display properties" }), e[44] = W) : W = e[44];
1771
+ let B;
1772
+ if (e[45] !== s || e[46] !== f || e[47] !== n.displayProperties) {
1773
+ let E;
1774
+ e[49] !== f || e[50] !== n.displayProperties ? (E = (V) => {
1775
+ const q = n.displayProperties.includes(V.value);
1776
+ return /* @__PURE__ */ i(he, { size: "2xs", variant: q ? "solid" : "outline", onClick: () => f(V.value), children: V.label }, V.value);
1777
+ }, e[49] = f, e[50] = n.displayProperties, e[51] = E) : E = e[51], B = s.map(E), e[45] = s, e[46] = f, e[47] = n.displayProperties, e[48] = B;
1701
1778
  } else
1702
- F = e[48];
1703
- let N;
1704
- e[52] !== F ? (N = /* @__PURE__ */ x(O, { gap: "2xs", children: [
1705
- H,
1706
- /* @__PURE__ */ i(X, { flexWrap: "wrap", gap: "2xs", children: F })
1707
- ] }), e[52] = F, e[53] = N) : N = e[53];
1708
- let M;
1709
- return e[54] !== T || e[55] !== v || e[56] !== G || e[57] !== N || e[58] !== I ? (M = /* @__PURE__ */ x(ke.Root, { positioning: f, children: [
1779
+ B = e[48];
1780
+ let G;
1781
+ e[52] !== B ? (G = /* @__PURE__ */ x(H, { gap: "2xs", children: [
1782
+ W,
1783
+ /* @__PURE__ */ i(X, { flexWrap: "wrap", gap: "2xs", children: B })
1784
+ ] }), e[52] = B, e[53] = G) : G = e[53];
1785
+ let R;
1786
+ return e[54] !== T || e[55] !== w || e[56] !== M || e[57] !== G || e[58] !== k ? (R = /* @__PURE__ */ x(ke.Root, { positioning: g, children: [
1710
1787
  h,
1711
- /* @__PURE__ */ i(Qe, { children: /* @__PURE__ */ i(ke.Positioner, { children: /* @__PURE__ */ i(ke.Content, { width: "320px", p: "sm", bg: "bg", children: /* @__PURE__ */ x(O, { gap: "sm", children: [
1788
+ /* @__PURE__ */ i(He, { children: /* @__PURE__ */ i(ke.Positioner, { children: /* @__PURE__ */ i(ke.Content, { width: "320px", p: "sm", bg: "bg", children: /* @__PURE__ */ x(H, { gap: "sm", children: [
1712
1789
  p,
1713
- I,
1714
- P,
1790
+ k,
1791
+ _,
1715
1792
  T,
1716
- v,
1717
- G,
1718
- W,
1719
- N
1793
+ w,
1794
+ M,
1795
+ N,
1796
+ G
1720
1797
  ] }) }) }) })
1721
- ] }), e[54] = T, e[55] = v, e[56] = G, e[57] = N, e[58] = I, e[59] = M) : M = e[59], M;
1722
- }, vl = (l) => Object.values(l).reduce((e, n) => e + (n?.length ?? 0), 0), Cl = (l) => {
1723
- const e = z(39), {
1798
+ ] }), e[54] = T, e[55] = w, e[56] = M, e[57] = G, e[58] = k, e[59] = R) : R = e[59], R;
1799
+ }, Ll = (l) => Object.values(l).reduce((e, n) => e + (n?.length ?? 0), 0), Rl = (l) => {
1800
+ const e = A(39), {
1724
1801
  categories: n,
1725
1802
  filters: t,
1726
1803
  countsByCategory: o,
1727
- onToggleFilterValue: r,
1728
- onClearFilter: s,
1804
+ onToggleFilterValue: s,
1805
+ onClearFilter: r,
1729
1806
  onClearAll: a
1730
- } = l, [c, d] = me(n[0]?.id ?? "status");
1807
+ } = l, [c, d] = pe(n[0]?.id ?? "status");
1731
1808
  let u;
1732
- e[0] !== c || e[1] !== n ? (u = n.find((C) => C.id === c) ?? n[0], e[0] = c, e[1] = n, e[2] = u) : u = e[2];
1733
- const g = u, f = vl(t);
1809
+ e[0] !== c || e[1] !== n ? (u = n.find((I) => I.id === c) ?? n[0], e[0] = c, e[1] = n, e[2] = u) : u = e[2];
1810
+ const f = u, g = Ll(t);
1734
1811
  let h;
1735
1812
  e[3] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (h = {
1736
1813
  placement: "bottom-end",
@@ -1738,83 +1815,83 @@ const Ji = He.forwardRef(function(e, n) {
1738
1815
  mainAxis: 8
1739
1816
  }
1740
1817
  }, e[3] = h) : h = e[3];
1741
- const p = f > 0 ? "outline" : "ghost";
1818
+ const p = g > 0 ? "outline" : "ghost";
1742
1819
  let m;
1743
- e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ i(re, { as: hn, boxSize: "14px" }), e[4] = m) : m = e[4];
1820
+ e[4] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (m = /* @__PURE__ */ i(ue, { as: xn, boxSize: "14px" }), e[4] = m) : m = e[4];
1744
1821
  let b;
1745
- e[5] !== f ? (b = f > 0 ? /* @__PURE__ */ i(Ie, { variant: "solid", children: f }) : null, e[5] = f, e[6] = b) : b = e[6];
1822
+ e[5] !== g ? (b = g > 0 ? /* @__PURE__ */ i(Pe, { variant: "solid", children: g }) : null, e[5] = g, e[6] = b) : b = e[6];
1746
1823
  let y;
1747
1824
  e[7] !== b ? (y = /* @__PURE__ */ x(X, { gap: "2xs", children: [
1748
1825
  m,
1749
1826
  b
1750
1827
  ] }), e[7] = b, e[8] = y) : y = e[8];
1751
- let w;
1752
- e[9] !== p || e[10] !== y ? (w = /* @__PURE__ */ i(ke.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { "aria-label": "Filter tickets", variant: p, size: "sm", children: y }) }), e[9] = p, e[10] = y, e[11] = w) : w = e[11];
1753
- let I;
1754
- e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = /* @__PURE__ */ i($, { textStyle: "label/XS/medium", color: "fg.muted", children: "Filters" }), e[12] = I) : I = e[12];
1755
- let P;
1756
- e[13] !== a ? (P = /* @__PURE__ */ x(X, { justifyContent: "space-between", children: [
1757
- I,
1758
- /* @__PURE__ */ i(de, { size: "2xs", variant: "ghost", onClick: a, children: "Clear all" })
1759
- ] }), e[13] = a, e[14] = P) : P = e[14];
1828
+ let v;
1829
+ e[9] !== p || e[10] !== y ? (v = /* @__PURE__ */ i(ke.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { "aria-label": "Filter tickets", variant: p, size: "sm", children: y }) }), e[9] = p, e[10] = y, e[11] = v) : v = e[11];
1830
+ let k;
1831
+ e[12] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = /* @__PURE__ */ i(L, { textStyle: "label/XS/medium", color: "fg.muted", children: "Filters" }), e[12] = k) : k = e[12];
1760
1832
  let _;
1833
+ e[13] !== a ? (_ = /* @__PURE__ */ x(X, { justifyContent: "space-between", children: [
1834
+ k,
1835
+ /* @__PURE__ */ i(he, { size: "2xs", variant: "ghost", onClick: a, children: "Clear all" })
1836
+ ] }), e[13] = a, e[14] = _) : _ = e[14];
1837
+ let D;
1761
1838
  if (e[15] !== c || e[16] !== n || e[17] !== t) {
1762
- let C;
1763
- e[19] !== c || e[20] !== t ? (C = (E) => {
1764
- const L = t[E.id] ?? [];
1765
- return /* @__PURE__ */ x(de, { variant: c === E.id ? "subtle" : "ghost", size: "sm", justifyContent: "space-between", onClick: () => d(E.id), children: [
1766
- /* @__PURE__ */ i($, { children: E.label }),
1767
- L.length > 0 ? /* @__PURE__ */ i(Ie, { variant: "subtle", children: L.length }) : null
1768
- ] }, E.id);
1769
- }, e[19] = c, e[20] = t, e[21] = C) : C = e[21], _ = n.map(C), e[15] = c, e[16] = n, e[17] = t, e[18] = _;
1839
+ let I;
1840
+ e[19] !== c || e[20] !== t ? (I = (z) => {
1841
+ const $ = t[z.id] ?? [];
1842
+ return /* @__PURE__ */ x(he, { variant: c === z.id ? "subtle" : "ghost", size: "sm", justifyContent: "space-between", onClick: () => d(z.id), children: [
1843
+ /* @__PURE__ */ i(L, { children: z.label }),
1844
+ $.length > 0 ? /* @__PURE__ */ i(Pe, { variant: "subtle", children: $.length }) : null
1845
+ ] }, z.id);
1846
+ }, e[19] = c, e[20] = t, e[21] = I) : I = e[21], D = n.map(I), e[15] = c, e[16] = n, e[17] = t, e[18] = D;
1770
1847
  } else
1771
- _ = e[18];
1848
+ D = e[18];
1772
1849
  let T;
1773
- e[22] !== P || e[23] !== _ ? (T = /* @__PURE__ */ x(O, { width: "220px", borderRightWidth: "1px", borderColor: "border.muted", p: "sm", gap: "2xs", children: [
1774
- P,
1775
- _
1776
- ] }), e[22] = P, e[23] = _, e[24] = T) : T = e[24];
1777
- let D;
1778
- e[25] !== g || e[26] !== o || e[27] !== t || e[28] !== s || e[29] !== r ? (D = g ? /* @__PURE__ */ x(Ze, { children: [
1850
+ e[22] !== _ || e[23] !== D ? (T = /* @__PURE__ */ x(H, { width: "220px", borderRightWidth: "1px", borderColor: "border.muted", p: "sm", gap: "2xs", children: [
1851
+ _,
1852
+ D
1853
+ ] }), e[22] = _, e[23] = D, e[24] = T) : T = e[24];
1854
+ let P;
1855
+ e[25] !== f || e[26] !== o || e[27] !== t || e[28] !== r || e[29] !== s ? (P = f ? /* @__PURE__ */ x(Qe, { children: [
1779
1856
  /* @__PURE__ */ x(X, { justifyContent: "space-between", children: [
1780
- /* @__PURE__ */ i($, { textStyle: "label/S/medium", children: g.label }),
1781
- /* @__PURE__ */ i(de, { size: "2xs", variant: "ghost", onClick: () => s(g.id), children: "Clear" })
1857
+ /* @__PURE__ */ i(L, { textStyle: "label/S/medium", children: f.label }),
1858
+ /* @__PURE__ */ i(he, { size: "2xs", variant: "ghost", onClick: () => r(f.id), children: "Clear" })
1782
1859
  ] }),
1783
- /* @__PURE__ */ i(O, { gap: "2xs", children: g.options.map((C) => {
1784
- const E = (t[g.id] ?? []).includes(C.value), L = o[g.id]?.[C.value] ?? 0;
1785
- return /* @__PURE__ */ i(V, { px: "xs", py: "2xs", borderRadius: "sm", _hover: {
1860
+ /* @__PURE__ */ i(H, { gap: "2xs", children: f.options.map((I) => {
1861
+ const z = (t[f.id] ?? []).includes(I.value), $ = o[f.id]?.[I.value] ?? 0;
1862
+ return /* @__PURE__ */ i(j, { px: "xs", py: "2xs", borderRadius: "sm", _hover: {
1786
1863
  bg: "bg.subtle"
1787
- }, children: /* @__PURE__ */ i(wn, { checked: E, onCheckedChange: () => r(g.id, C.value), children: /* @__PURE__ */ x(X, { gap: "2xs", justifyContent: "space-between", width: "full", children: [
1788
- /* @__PURE__ */ i($, { textStyle: "label/S/regular", children: C.label }),
1789
- /* @__PURE__ */ i($, { textStyle: "label/XS/regular", color: "fg.muted", children: L })
1790
- ] }) }) }, C.value);
1864
+ }, children: /* @__PURE__ */ i(Pn, { checked: z, onCheckedChange: () => s(f.id, I.value), children: /* @__PURE__ */ x(X, { gap: "2xs", justifyContent: "space-between", width: "full", children: [
1865
+ /* @__PURE__ */ i(L, { textStyle: "label/S/regular", children: I.label }),
1866
+ /* @__PURE__ */ i(L, { textStyle: "label/XS/regular", color: "fg.muted", children: $ })
1867
+ ] }) }) }, I.value);
1791
1868
  }) })
1792
- ] }) : null, e[25] = g, e[26] = o, e[27] = t, e[28] = s, e[29] = r, e[30] = D) : D = e[30];
1869
+ ] }) : null, e[25] = f, e[26] = o, e[27] = t, e[28] = r, e[29] = s, e[30] = P) : P = e[30];
1793
1870
  let S;
1794
- e[31] !== D ? (S = /* @__PURE__ */ i(O, { flex: "1", p: "sm", gap: "sm", children: D }), e[31] = D, e[32] = S) : S = e[32];
1795
- let v;
1796
- e[33] !== T || e[34] !== S ? (v = /* @__PURE__ */ i(Qe, { children: /* @__PURE__ */ i(ke.Positioner, { children: /* @__PURE__ */ i(ke.Content, { width: "560px", p: "0", bg: "bg", overflow: "hidden", children: /* @__PURE__ */ x(X, { align: "stretch", gap: "0", minH: "320px", children: [
1871
+ e[31] !== P ? (S = /* @__PURE__ */ i(H, { flex: "1", p: "sm", gap: "sm", children: P }), e[31] = P, e[32] = S) : S = e[32];
1872
+ let w;
1873
+ e[33] !== T || e[34] !== S ? (w = /* @__PURE__ */ i(He, { children: /* @__PURE__ */ i(ke.Positioner, { children: /* @__PURE__ */ i(ke.Content, { width: "560px", p: "0", bg: "bg", overflow: "hidden", children: /* @__PURE__ */ x(X, { align: "stretch", gap: "0", minH: "320px", children: [
1797
1874
  T,
1798
1875
  S
1799
- ] }) }) }) }), e[33] = T, e[34] = S, e[35] = v) : v = e[35];
1800
- let k;
1801
- return e[36] !== v || e[37] !== w ? (k = /* @__PURE__ */ x(ke.Root, { positioning: h, children: [
1802
- w,
1803
- v
1804
- ] }), e[36] = v, e[37] = w, e[38] = k) : k = e[38], k;
1876
+ ] }) }) }) }), e[33] = T, e[34] = S, e[35] = w) : w = e[35];
1877
+ let C;
1878
+ return e[36] !== w || e[37] !== v ? (C = /* @__PURE__ */ x(ke.Root, { positioning: h, children: [
1879
+ v,
1880
+ w
1881
+ ] }), e[36] = w, e[37] = v, e[38] = C) : C = e[38], C;
1805
1882
  }, Tt = (l) => {
1806
- const e = z(43), {
1883
+ const e = A(43), {
1807
1884
  ticketId: n,
1808
1885
  parentPath: t,
1809
1886
  sessionIndicatorLabel: o,
1810
- sessionIndicatorStatus: r,
1811
- title: s,
1887
+ sessionIndicatorStatus: s,
1888
+ title: r,
1812
1889
  badges: a,
1813
1890
  diffAdditions: c,
1814
1891
  diffDeletions: d,
1815
1892
  isSelected: u,
1816
- draggable: g,
1817
- onDragStart: f,
1893
+ draggable: f,
1894
+ onDragStart: g,
1818
1895
  onDragEnd: h,
1819
1896
  onClick: p,
1820
1897
  onDiffBadgeClick: m,
@@ -1822,96 +1899,96 @@ const Ji = He.forwardRef(function(e, n) {
1822
1899
  } = l;
1823
1900
  let y;
1824
1901
  e[0] !== t ? (y = t === void 0 ? [] : t, e[0] = t, e[1] = y) : y = e[1];
1825
- const w = y;
1826
- let I;
1827
- e[2] !== a ? (I = a === void 0 ? [] : a, e[2] = a, e[3] = I) : I = e[3];
1828
- const P = I, _ = u === void 0 ? !1 : u;
1902
+ const v = y;
1903
+ let k;
1904
+ e[2] !== a ? (k = a === void 0 ? [] : a, e[2] = a, e[3] = k) : k = e[3];
1905
+ const _ = k, D = u === void 0 ? !1 : u;
1829
1906
  let T;
1830
- e[4] !== m ? (T = (B) => {
1831
- B.stopPropagation(), m?.();
1907
+ e[4] !== m ? (T = (V) => {
1908
+ V.stopPropagation(), m?.();
1832
1909
  }, e[4] = m, e[5] = T) : T = e[5];
1833
- const D = T;
1910
+ const P = T;
1834
1911
  let S;
1835
- e[6] !== b ? (S = (B) => {
1836
- B.stopPropagation(), b?.();
1912
+ e[6] !== b ? (S = (V) => {
1913
+ V.stopPropagation(), b?.();
1837
1914
  }, e[6] = b, e[7] = S) : S = e[7];
1838
- const v = S;
1839
- let k;
1840
- e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = {
1915
+ const w = S;
1916
+ let C;
1917
+ e[8] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = {
1841
1918
  borderColor: "border.blue",
1842
1919
  boxShadow: "mid"
1843
- }, e[8] = k) : k = e[8];
1844
- const C = g ? "grab" : p ? "pointer" : "default", E = _ ? "true" : void 0;
1845
- let L;
1846
- e[9] !== w ? (L = w.length > 0 && /* @__PURE__ */ x($, { as: "span", color: "subtle", children: [
1847
- w.join(" / "),
1920
+ }, e[8] = C) : C = e[8];
1921
+ const I = f ? "grab" : p ? "pointer" : "default", z = D ? "true" : void 0;
1922
+ let $;
1923
+ e[9] !== v ? ($ = v.length > 0 && /* @__PURE__ */ x(L, { as: "span", color: "subtle", children: [
1924
+ v.join(" / "),
1848
1925
  " /",
1849
1926
  " "
1850
- ] }), e[9] = w, e[10] = L) : L = e[10];
1851
- let A;
1852
- e[11] !== L || e[12] !== n ? (A = /* @__PURE__ */ x($, { textStyle: "label/S/regular", flexShrink: 0, children: [
1853
- L,
1927
+ ] }), e[9] = v, e[10] = $) : $ = e[10];
1928
+ let O;
1929
+ e[11] !== $ || e[12] !== n ? (O = /* @__PURE__ */ x(L, { textStyle: "label/S/regular", flexShrink: 0, children: [
1930
+ $,
1854
1931
  n
1855
- ] }), e[11] = L, e[12] = n, e[13] = A) : A = e[13];
1856
- let G;
1857
- e[14] !== v || e[15] !== b || e[16] !== o || e[17] !== r ? (G = o ? /* @__PURE__ */ i(Le, { content: `Session ${o}`, children: /* @__PURE__ */ i(tl, { status: r, boxSize: "12px", "aria-label": `Session ${o}`, cursor: b ? "pointer" : "default", onClick: b ? v : void 0 }) }) : null, e[14] = v, e[15] = b, e[16] = o, e[17] = r, e[18] = G) : G = e[18];
1858
- let W;
1859
- e[19] !== A || e[20] !== G ? (W = /* @__PURE__ */ x(X, { gap: "2xs", flexShrink: 0, children: [
1860
- A,
1861
- G
1862
- ] }), e[19] = A, e[20] = G, e[21] = W) : W = e[21];
1863
- let H;
1864
- e[22] !== c || e[23] !== d || e[24] !== D ? (H = typeof c == "number" && typeof d == "number" ? /* @__PURE__ */ i(bt, { additions: c, deletions: d, variant: "ghost", size: "small", label: /* @__PURE__ */ i(pn, { size: "12" }), onClick: D, "data-testid": "ticket-diff-badge" }) : null, e[22] = c, e[23] = d, e[24] = D, e[25] = H) : H = e[25];
1865
- let F;
1866
- e[26] !== W || e[27] !== H ? (F = /* @__PURE__ */ x(X, { justifyContent: "space-between", gap: "2xs", flexWrap: "wrap", children: [
1867
- W,
1868
- H
1869
- ] }), e[26] = W, e[27] = H, e[28] = F) : F = e[28];
1870
- let N;
1871
- e[29] !== s ? (N = /* @__PURE__ */ i(X, { align: "start", gap: "2xs", flexWrap: "wrap", children: /* @__PURE__ */ i($, { textStyle: "label/S/regular", flex: "1", minW: "0", children: s }) }), e[29] = s, e[30] = N) : N = e[30];
1932
+ ] }), e[11] = $, e[12] = n, e[13] = O) : O = e[13];
1872
1933
  let M;
1873
- e[31] !== P ? (M = P.length > 0 && /* @__PURE__ */ i(pt, { gap: "2xs", children: P.map(wl) }), e[31] = P, e[32] = M) : M = e[32];
1874
- let R;
1875
- return e[33] !== g || e[34] !== p || e[35] !== h || e[36] !== f || e[37] !== F || e[38] !== N || e[39] !== M || e[40] !== C || e[41] !== E ? (R = /* @__PURE__ */ x(O, { gap: "xs", padding: "sm", borderRadius: "sm", borderWidth: "1px", width: "100%", background: "bg", transition: "box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out", _hover: k, cursor: C, draggable: g, onDragStart: f, onDragEnd: h, onClick: p, "data-selected": E, children: [
1876
- F,
1877
- N,
1934
+ e[14] !== w || e[15] !== b || e[16] !== o || e[17] !== s ? (M = o ? /* @__PURE__ */ i(Le, { content: `Session ${o}`, children: /* @__PURE__ */ i(sl, { status: s, boxSize: "12px", "aria-label": `Session ${o}`, cursor: b ? "pointer" : "default", onClick: b ? w : void 0 }) }) : null, e[14] = w, e[15] = b, e[16] = o, e[17] = s, e[18] = M) : M = e[18];
1935
+ let N;
1936
+ e[19] !== O || e[20] !== M ? (N = /* @__PURE__ */ x(X, { gap: "2xs", flexShrink: 0, children: [
1937
+ O,
1878
1938
  M
1879
- ] }), e[33] = g, e[34] = p, e[35] = h, e[36] = f, e[37] = F, e[38] = N, e[39] = M, e[40] = C, e[41] = E, e[42] = R) : R = e[42], R;
1939
+ ] }), e[19] = O, e[20] = M, e[21] = N) : N = e[21];
1940
+ let W;
1941
+ e[22] !== c || e[23] !== d || e[24] !== P ? (W = typeof c == "number" && typeof d == "number" ? /* @__PURE__ */ i(bt, { additions: c, deletions: d, variant: "ghost", size: "small", label: /* @__PURE__ */ i(Sn, { size: "12" }), onClick: P, "data-testid": "ticket-diff-badge" }) : null, e[22] = c, e[23] = d, e[24] = P, e[25] = W) : W = e[25];
1942
+ let B;
1943
+ e[26] !== N || e[27] !== W ? (B = /* @__PURE__ */ x(X, { justifyContent: "space-between", gap: "2xs", flexWrap: "wrap", children: [
1944
+ N,
1945
+ W
1946
+ ] }), e[26] = N, e[27] = W, e[28] = B) : B = e[28];
1947
+ let G;
1948
+ e[29] !== r ? (G = /* @__PURE__ */ i(X, { align: "start", gap: "2xs", flexWrap: "wrap", minW: "0", children: /* @__PURE__ */ i(L, { textStyle: "label/S/regular", flex: "1", minW: "0", overflowWrap: "anywhere", children: r }) }), e[29] = r, e[30] = G) : G = e[30];
1949
+ let R;
1950
+ e[31] !== _ ? (R = _.length > 0 && /* @__PURE__ */ i(mt, { gap: "2xs", children: _.map(El) }), e[31] = _, e[32] = R) : R = e[32];
1951
+ let E;
1952
+ return e[33] !== f || e[34] !== p || e[35] !== h || e[36] !== g || e[37] !== B || e[38] !== G || e[39] !== R || e[40] !== I || e[41] !== z ? (E = /* @__PURE__ */ x(H, { gap: "xs", padding: "sm", borderRadius: "sm", borderWidth: "1px", width: "100%", background: "bg", transition: "box-shadow 0.2s ease-in-out, border-color 0.2s ease-in-out", _hover: C, cursor: I, draggable: f, onDragStart: g, onDragEnd: h, onClick: p, "data-selected": z, children: [
1953
+ B,
1954
+ G,
1955
+ R
1956
+ ] }), e[33] = f, e[34] = p, e[35] = h, e[36] = g, e[37] = B, e[38] = G, e[39] = R, e[40] = I, e[41] = z, e[42] = E) : E = e[42], E;
1880
1957
  };
1881
- function wl(l) {
1882
- return /* @__PURE__ */ i(Ie, { variant: "subtle", colorPalette: l.color ?? "gray", textStyle: "label/XS/medium", children: l.label }, l.label);
1958
+ function El(l) {
1959
+ return /* @__PURE__ */ i(Pe, { variant: "subtle", colorPalette: l.color ?? "gray", textStyle: "label/XS/medium", children: l.label }, l.label);
1883
1960
  }
1884
- const kl = (l) => {
1885
- const e = z(27), {
1961
+ const zl = (l) => {
1962
+ const e = A(27), {
1886
1963
  columns: n,
1887
1964
  selectedItemId: t,
1888
1965
  onMoveItem: o,
1889
- onMoveToGroup: r,
1890
- onCreateStart: s,
1966
+ onMoveToGroup: s,
1967
+ onCreateStart: r,
1891
1968
  onColumnAction: a
1892
- } = l, c = t === void 0 ? null : t, [d, u] = me(null), [g, f] = me(null), h = Tl;
1969
+ } = l, c = t === void 0 ? null : t, [d, u] = pe(null), [f, g] = pe(null), h = Ml;
1893
1970
  let p;
1894
1971
  e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (p = () => {
1895
- u(null), f(null);
1972
+ u(null), g(null);
1896
1973
  }, e[0] = p) : p = e[0];
1897
1974
  const m = p;
1898
1975
  let b;
1899
- e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = (v) => (k) => {
1900
- k.preventDefault(), k.dataTransfer.dropEffect = "move", u(v);
1976
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (b = (w) => (C) => {
1977
+ C.preventDefault(), C.dataTransfer.dropEffect = "move", u(w);
1901
1978
  }, e[1] = b) : b = e[1];
1902
1979
  const y = b;
1903
- let w;
1904
- e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = (v) => {
1905
- v.currentTarget.contains(v.relatedTarget) || u(null);
1906
- }, e[2] = w) : w = e[2];
1907
- const I = w;
1908
- let P;
1909
- e[3] !== o ? (P = (v) => (k) => {
1910
- k.preventDefault(), u(null);
1911
- const C = k.dataTransfer.getData("text/plain");
1912
- C && o?.(C, v);
1913
- }, e[3] = o, e[4] = P) : P = e[4];
1914
- const _ = P;
1980
+ let v;
1981
+ e[2] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = (w) => {
1982
+ w.currentTarget.contains(w.relatedTarget) || u(null);
1983
+ }, e[2] = v) : v = e[2];
1984
+ const k = v;
1985
+ let _;
1986
+ e[3] !== o ? (_ = (w) => (C) => {
1987
+ C.preventDefault(), u(null);
1988
+ const I = C.dataTransfer.getData("text/plain");
1989
+ I && o?.(I, w);
1990
+ }, e[3] = o, e[4] = _) : _ = e[4];
1991
+ const D = _;
1915
1992
  let T;
1916
1993
  e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (T = {
1917
1994
  display: "flex",
@@ -1920,222 +1997,222 @@ const kl = (l) => {
1920
1997
  pb: "2xs",
1921
1998
  minH: "100%"
1922
1999
  }, e[5] = T) : T = e[5];
1923
- let D;
1924
- if (e[6] !== d || e[7] !== g || e[8] !== n || e[9] !== _ || e[10] !== a || e[11] !== s || e[12] !== o || e[13] !== r || e[14] !== c) {
1925
- let v;
1926
- e[16] !== d || e[17] !== g || e[18] !== _ || e[19] !== a || e[20] !== s || e[21] !== o || e[22] !== r || e[23] !== c ? (v = (k) => /* @__PURE__ */ x(O, { "data-testid": `board-column-${k.id}`, gap: "xs", _notFirst: {
2000
+ let P;
2001
+ if (e[6] !== d || e[7] !== f || e[8] !== n || e[9] !== D || e[10] !== a || e[11] !== r || e[12] !== o || e[13] !== s || e[14] !== c) {
2002
+ let w;
2003
+ e[16] !== d || e[17] !== f || e[18] !== D || e[19] !== a || e[20] !== r || e[21] !== o || e[22] !== s || e[23] !== c ? (w = (C) => /* @__PURE__ */ x(H, { "data-testid": `board-column-${C.id}`, gap: "xs", _notFirst: {
1927
2004
  borderLeft: "1px solid",
1928
2005
  borderColor: "border.muted"
1929
- }, background: d === k.id ? "bg.subtle" : "bg", transition: "background 150ms ease", height: "100%", minH: "240px", overflow: "hidden", minW: "260px", flex: "1 0 260px", onDragOver: k.canDragIn ? y(k.id) : void 0, onDragLeave: k.canDragIn ? I : void 0, onDrop: k.canDragIn ? _(k.id) : void 0, children: [
1930
- /* @__PURE__ */ i(Pl, { column: k, onCreateStart: s, onColumnAction: a }),
1931
- /* @__PURE__ */ i(ve, { flex: "1", minH: "0", verticalScrollbarProps: {
2006
+ }, background: d === C.id ? "bg.subtle" : "bg", transition: "background 150ms ease", height: "100%", minH: "240px", overflow: "hidden", minW: "260px", flex: "1 0 260px", onDragOver: C.canDragIn ? y(C.id) : void 0, onDragLeave: C.canDragIn ? k : void 0, onDrop: C.canDragIn ? D(C.id) : void 0, children: [
2007
+ /* @__PURE__ */ i(Al, { column: C, onCreateStart: r, onColumnAction: a }),
2008
+ /* @__PURE__ */ i(ye, { flex: "1", minH: "0", verticalScrollbarProps: {
1932
2009
  margin: "0"
1933
2010
  }, contentProps: {
1934
2011
  spaceY: "sm",
1935
2012
  ps: "xs",
1936
2013
  pe: "xs"
1937
- }, children: k.groups && k.groups.length > 0 ? k.groups.map((C) => {
1938
- const E = `${k.id}::${C.key}`;
1939
- return /* @__PURE__ */ i(Il, { group: C, selectedItemId: c, canDragIn: k.canDragIn, canDragOut: k.canDragOut, isDropTarget: g === E, onDragStart: h, onDragEnd: m, onGroupDragOver: (L) => {
1940
- L.preventDefault(), L.stopPropagation(), L.dataTransfer.dropEffect = "move", f(E), u(null);
1941
- }, onGroupDragLeave: (L) => {
1942
- L.currentTarget.contains(L.relatedTarget) || f(null);
1943
- }, onGroupDrop: (L) => {
1944
- L.preventDefault(), L.stopPropagation(), f(null), u(null);
1945
- const A = L.dataTransfer.getData("text/plain");
1946
- A && (o?.(A, k.id), r?.(A, C.key));
1947
- } }, C.key);
1948
- }) : k.items.map((C) => /* @__PURE__ */ i(Tt, { ...C.cardProps, isSelected: C.id === c, draggable: k.canDragOut, onDragStart: k.canDragOut ? h(C.id) : void 0, onDragEnd: k.canDragOut ? m : void 0 }, C.id)) })
1949
- ] }, k.id), e[16] = d, e[17] = g, e[18] = _, e[19] = a, e[20] = s, e[21] = o, e[22] = r, e[23] = c, e[24] = v) : v = e[24], D = n.map(v), e[6] = d, e[7] = g, e[8] = n, e[9] = _, e[10] = a, e[11] = s, e[12] = o, e[13] = r, e[14] = c, e[15] = D;
2014
+ }, children: C.groups && C.groups.length > 0 ? C.groups.map((I) => {
2015
+ const z = `${C.id}::${I.key}`;
2016
+ return /* @__PURE__ */ i(Ol, { group: I, selectedItemId: c, canDragIn: C.canDragIn, canDragOut: C.canDragOut, isDropTarget: f === z, onDragStart: h, onDragEnd: m, onGroupDragOver: ($) => {
2017
+ $.preventDefault(), $.stopPropagation(), $.dataTransfer.dropEffect = "move", g(z), u(null);
2018
+ }, onGroupDragLeave: ($) => {
2019
+ $.currentTarget.contains($.relatedTarget) || g(null);
2020
+ }, onGroupDrop: ($) => {
2021
+ $.preventDefault(), $.stopPropagation(), g(null), u(null);
2022
+ const O = $.dataTransfer.getData("text/plain");
2023
+ O && (o?.(O, C.id), s?.(O, I.key));
2024
+ } }, I.key);
2025
+ }) : C.items.map((I) => /* @__PURE__ */ i(Tt, { ...I.cardProps, isSelected: I.id === c, draggable: C.canDragOut, onDragStart: C.canDragOut ? h(I.id) : void 0, onDragEnd: C.canDragOut ? m : void 0 }, I.id)) })
2026
+ ] }, C.id), e[16] = d, e[17] = f, e[18] = D, e[19] = a, e[20] = r, e[21] = o, e[22] = s, e[23] = c, e[24] = w) : w = e[24], P = n.map(w), e[6] = d, e[7] = f, e[8] = n, e[9] = D, e[10] = a, e[11] = r, e[12] = o, e[13] = s, e[14] = c, e[15] = P;
1950
2027
  } else
1951
- D = e[15];
2028
+ P = e[15];
1952
2029
  let S;
1953
- return e[25] !== D ? (S = /* @__PURE__ */ i(ve, { height: "100%", showHorizontalScrollbar: !0, showVerticalScrollbar: !1, contentProps: T, children: D }), e[25] = D, e[26] = S) : S = e[26], S;
1954
- }, Il = (l) => {
1955
- const e = z(26), {
2030
+ return e[25] !== P ? (S = /* @__PURE__ */ i(ye, { height: "100%", showHorizontalScrollbar: !0, showVerticalScrollbar: !1, contentProps: T, children: P }), e[25] = P, e[26] = S) : S = e[26], S;
2031
+ }, Ol = (l) => {
2032
+ const e = A(26), {
1956
2033
  group: n,
1957
2034
  selectedItemId: t,
1958
2035
  canDragIn: o,
1959
- canDragOut: r,
1960
- isDropTarget: s,
2036
+ canDragOut: s,
2037
+ isDropTarget: r,
1961
2038
  onDragStart: a,
1962
2039
  onDragEnd: c,
1963
2040
  onGroupDragOver: d,
1964
2041
  onGroupDragLeave: u,
1965
- onGroupDrop: g
1966
- } = l, [f, h] = me(!0), p = s ? "bg.subtle" : "transparent", m = o ? d : void 0, b = o ? u : void 0, y = o ? g : void 0;
1967
- let w;
1968
- e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (w = {
2042
+ onGroupDrop: f
2043
+ } = l, [g, h] = pe(!0), p = r ? "bg.subtle" : "transparent", m = o ? d : void 0, b = o ? u : void 0, y = o ? f : void 0;
2044
+ let v;
2045
+ e[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (v = {
1969
2046
  bg: "bg.muted"
1970
- }, e[0] = w) : w = e[0];
1971
- let I;
1972
- e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (I = () => h(Dl), e[1] = I) : I = e[1];
1973
- const P = f ? "rotate(90deg)" : "rotate(0deg)";
1974
- let _;
1975
- e[2] !== P ? (_ = /* @__PURE__ */ i(V, { display: "flex", alignItems: "center", flexShrink: 0, children: /* @__PURE__ */ i(re, { as: ye, boxSize: "14px", color: "fg.muted", transform: P, transition: "transform 0.15s ease" }) }), e[2] = P, e[3] = _) : _ = e[3];
1976
- let T;
1977
- e[4] !== n.label ? (T = /* @__PURE__ */ i($, { textStyle: "label/S/medium", color: "fg.muted", children: n.label }), e[4] = n.label, e[5] = T) : T = e[5];
2047
+ }, e[0] = v) : v = e[0];
2048
+ let k;
2049
+ e[1] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (k = () => h(Gl), e[1] = k) : k = e[1];
2050
+ const _ = g ? "rotate(90deg)" : "rotate(0deg)";
1978
2051
  let D;
1979
- e[6] !== n.items.length ? (D = /* @__PURE__ */ i(Ie, { variant: "subtle", colorPalette: "gray", size: "sm", children: n.items.length }), e[6] = n.items.length, e[7] = D) : D = e[7];
2052
+ e[2] !== _ ? (D = /* @__PURE__ */ i(j, { display: "flex", alignItems: "center", flexShrink: 0, children: /* @__PURE__ */ i(ue, { as: Ce, boxSize: "14px", color: "fg.muted", transform: _, transition: "transform 0.15s ease" }) }), e[2] = _, e[3] = D) : D = e[3];
2053
+ let T;
2054
+ e[4] !== n.label ? (T = /* @__PURE__ */ i(L, { textStyle: "label/S/medium", color: "fg.muted", children: n.label }), e[4] = n.label, e[5] = T) : T = e[5];
2055
+ let P;
2056
+ e[6] !== n.items.length ? (P = /* @__PURE__ */ i(Pe, { variant: "subtle", colorPalette: "gray", size: "sm", children: n.items.length }), e[6] = n.items.length, e[7] = P) : P = e[7];
1980
2057
  let S;
1981
- e[8] !== _ || e[9] !== T || e[10] !== D ? (S = /* @__PURE__ */ x(X, { px: "xs", py: "2xs", gap: "2xs", cursor: "pointer", _hover: w, borderRadius: "sm", onClick: I, children: [
1982
- _,
2058
+ e[8] !== D || e[9] !== T || e[10] !== P ? (S = /* @__PURE__ */ x(X, { px: "xs", py: "2xs", gap: "2xs", cursor: "pointer", _hover: v, borderRadius: "sm", onClick: k, children: [
2059
+ D,
1983
2060
  T,
1984
- D
1985
- ] }), e[8] = _, e[9] = T, e[10] = D, e[11] = S) : S = e[11];
1986
- let v;
1987
- e[12] !== r || e[13] !== f || e[14] !== n.items || e[15] !== c || e[16] !== a || e[17] !== t ? (v = f && /* @__PURE__ */ i(O, { gap: "sm", pt: "xs", children: n.items.map((C) => /* @__PURE__ */ i(Tt, { ...C.cardProps, isSelected: C.id === t, draggable: r, onDragStart: r ? a(C.id) : void 0, onDragEnd: r ? c : void 0 }, C.id)) }), e[12] = r, e[13] = f, e[14] = n.items, e[15] = c, e[16] = a, e[17] = t, e[18] = v) : v = e[18];
1988
- let k;
1989
- return e[19] !== p || e[20] !== m || e[21] !== S || e[22] !== v || e[23] !== b || e[24] !== y ? (k = /* @__PURE__ */ x(O, { gap: "0", borderRadius: "sm", background: p, transition: "background 150ms ease", onDragOver: m, onDragLeave: b, onDrop: y, children: [
2061
+ P
2062
+ ] }), e[8] = D, e[9] = T, e[10] = P, e[11] = S) : S = e[11];
2063
+ let w;
2064
+ e[12] !== s || e[13] !== g || e[14] !== n.items || e[15] !== c || e[16] !== a || e[17] !== t ? (w = g && /* @__PURE__ */ i(H, { gap: "sm", pt: "xs", children: n.items.map((I) => /* @__PURE__ */ i(Tt, { ...I.cardProps, isSelected: I.id === t, draggable: s, onDragStart: s ? a(I.id) : void 0, onDragEnd: s ? c : void 0 }, I.id)) }), e[12] = s, e[13] = g, e[14] = n.items, e[15] = c, e[16] = a, e[17] = t, e[18] = w) : w = e[18];
2065
+ let C;
2066
+ return e[19] !== p || e[20] !== m || e[21] !== S || e[22] !== w || e[23] !== b || e[24] !== y ? (C = /* @__PURE__ */ x(H, { gap: "0", borderRadius: "sm", background: p, transition: "background 150ms ease", onDragOver: m, onDragLeave: b, onDrop: y, children: [
1990
2067
  S,
1991
- v
1992
- ] }), e[19] = p, e[20] = m, e[21] = S, e[22] = v, e[23] = b, e[24] = y, e[25] = k) : k = e[25], k;
1993
- }, Pl = (l) => {
1994
- const e = z(20), {
2068
+ w
2069
+ ] }), e[19] = p, e[20] = m, e[21] = S, e[22] = w, e[23] = b, e[24] = y, e[25] = C) : C = e[25], C;
2070
+ }, Al = (l) => {
2071
+ const e = A(20), {
1995
2072
  column: n,
1996
2073
  onCreateStart: t,
1997
2074
  onColumnAction: o
1998
2075
  } = l;
1999
- let r;
2000
- e[0] !== n.label ? (r = /* @__PURE__ */ i($, { textStyle: "label/L/medium", children: n.label }), e[0] = n.label, e[1] = r) : r = e[1];
2001
- const s = n.color ?? "gray";
2076
+ let s;
2077
+ e[0] !== n.label ? (s = /* @__PURE__ */ i(L, { textStyle: "label/L/medium", children: n.label }), e[0] = n.label, e[1] = s) : s = e[1];
2078
+ const r = n.color ?? "gray";
2002
2079
  let a;
2003
- e[2] !== n.items.length || e[3] !== s ? (a = /* @__PURE__ */ i(Ie, { variant: "subtle", colorPalette: s, children: n.items.length }), e[2] = n.items.length, e[3] = s, e[4] = a) : a = e[4];
2080
+ e[2] !== n.items.length || e[3] !== r ? (a = /* @__PURE__ */ i(Pe, { variant: "subtle", colorPalette: r, children: n.items.length }), e[2] = n.items.length, e[3] = r, e[4] = a) : a = e[4];
2004
2081
  let c;
2005
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ i(Nt, {}), e[5] = c) : c = e[5];
2082
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (c = /* @__PURE__ */ i(Ht, {}), e[5] = c) : c = e[5];
2006
2083
  let d;
2007
- e[6] !== n.canCreate || e[7] !== n.id || e[8] !== t ? (d = n.canCreate && t && /* @__PURE__ */ i(Le, { content: "Create new ticket", children: /* @__PURE__ */ i(Se, { size: "2xs", variant: "outline", onClick: () => t(n.id), "aria-label": "Create ticket", children: /* @__PURE__ */ i(re, { as: mn, boxSize: "12px" }) }) }), e[6] = n.canCreate, e[7] = n.id, e[8] = t, e[9] = d) : d = e[9];
2084
+ e[6] !== n.canCreate || e[7] !== n.id || e[8] !== t ? (d = n.canCreate && t && /* @__PURE__ */ i(Le, { content: "Create new ticket", children: /* @__PURE__ */ i(Se, { size: "2xs", variant: "outline", onClick: () => t(n.id), "aria-label": "Create ticket", children: /* @__PURE__ */ i(ue, { as: yn, boxSize: "12px" }) }) }), e[6] = n.canCreate, e[7] = n.id, e[8] = t, e[9] = d) : d = e[9];
2008
2085
  let u;
2009
- e[10] !== n.actions || e[11] !== n.id || e[12] !== n.label || e[13] !== o ? (u = n.actions.length > 0 && /* @__PURE__ */ x(le.Root, { children: [
2010
- /* @__PURE__ */ i(le.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { size: "2xs", variant: "ghost", "aria-label": `Column actions for ${n.label}`, children: /* @__PURE__ */ i(re, { as: bn, boxSize: "12px" }) }) }),
2011
- /* @__PURE__ */ i(le.Positioner, { children: /* @__PURE__ */ i(le.Content, { minW: "180px", bg: "bg", children: n.actions.map((f) => /* @__PURE__ */ i(Oe, { primaryLabel: f.label, leftIcon: f.icon, onClick: () => o?.(n.id, f.id) }, f.id)) }) })
2086
+ e[10] !== n.actions || e[11] !== n.id || e[12] !== n.label || e[13] !== o ? (u = n.actions.length > 0 && /* @__PURE__ */ x(ie.Root, { children: [
2087
+ /* @__PURE__ */ i(ie.Trigger, { asChild: !0, children: /* @__PURE__ */ i(Se, { size: "2xs", variant: "ghost", "aria-label": `Column actions for ${n.label}`, children: /* @__PURE__ */ i(ue, { as: vn, boxSize: "12px" }) }) }),
2088
+ /* @__PURE__ */ i(ie.Positioner, { children: /* @__PURE__ */ i(ie.Content, { minW: "180px", bg: "bg", children: n.actions.map((g) => /* @__PURE__ */ i(Re, { primaryLabel: g.label, leftIcon: g.icon, onClick: () => o?.(n.id, g.id) }, g.id)) }) })
2012
2089
  ] }), e[10] = n.actions, e[11] = n.id, e[12] = n.label, e[13] = o, e[14] = u) : u = e[14];
2013
- let g;
2014
- return e[15] !== r || e[16] !== a || e[17] !== d || e[18] !== u ? (g = /* @__PURE__ */ x(X, { padding: "xs", gap: "xs", alignItems: "center", children: [
2015
- r,
2090
+ let f;
2091
+ return e[15] !== s || e[16] !== a || e[17] !== d || e[18] !== u ? (f = /* @__PURE__ */ x(X, { padding: "xs", gap: "xs", alignItems: "center", children: [
2092
+ s,
2016
2093
  a,
2017
2094
  c,
2018
2095
  d,
2019
2096
  u
2020
- ] }), e[15] = r, e[16] = a, e[17] = d, e[18] = u, e[19] = g) : g = e[19], g;
2097
+ ] }), e[15] = s, e[16] = a, e[17] = d, e[18] = u, e[19] = f) : f = e[19], f;
2021
2098
  };
2022
- function Tl(l) {
2099
+ function Ml(l) {
2023
2100
  return (e) => {
2024
2101
  e.dataTransfer.setData("text/plain", l), e.dataTransfer.effectAllowed = "move";
2025
2102
  };
2026
2103
  }
2027
- function Dl(l) {
2104
+ function Gl(l) {
2028
2105
  return !l;
2029
2106
  }
2030
- const _l = [{
2107
+ const Nl = [{
2031
2108
  id: "ticket",
2032
2109
  header: "",
2033
2110
  cell: ({
2034
2111
  row: l
2035
- }) => /* @__PURE__ */ i(Ll, { row: l })
2036
- }], $l = (l) => {
2112
+ }) => /* @__PURE__ */ i(Wl, { row: l })
2113
+ }], Hl = (l) => {
2037
2114
  const {
2038
2115
  items: e,
2039
2116
  selectedItemId: n = null,
2040
2117
  onItemClick: t
2041
- } = l, [o, r] = me(!0), s = xn({
2118
+ } = l, [o, s] = pe(!0), r = Cn({
2042
2119
  data: e,
2043
- columns: _l,
2120
+ columns: Nl,
2044
2121
  state: {
2045
2122
  expanded: o
2046
2123
  },
2047
- onExpandedChange: r,
2124
+ onExpandedChange: s,
2048
2125
  getSubRows: (a) => a.children,
2049
- getCoreRowModel: yn(),
2050
- getExpandedRowModel: Sn(),
2126
+ getCoreRowModel: In(),
2127
+ getExpandedRowModel: wn(),
2051
2128
  getRowId: (a) => a.id
2052
2129
  });
2053
- return /* @__PURE__ */ i(V, { children: s.getRowModel().rows.map((a) => {
2130
+ return /* @__PURE__ */ i(j, { children: r.getRowModel().rows.map((a) => {
2054
2131
  const c = a.original, d = c.id === n, u = a.getCanExpand();
2055
2132
  return /* @__PURE__ */ i(X, { paddingX: "sm", paddingY: "xs", gap: "sm", cursor: "pointer", borderBottomWidth: "1px", borderColor: "border.muted", background: d ? "bg.muted" : "transparent", _hover: {
2056
2133
  background: "bg.muted"
2057
2134
  }, onClick: () => {
2058
2135
  u ? a.toggleExpanded() : (c.onClick?.(), t?.(c));
2059
- }, "data-selected": d ? "true" : void 0, children: vn(a.getVisibleCells()[0].column.columnDef.cell, a.getVisibleCells()[0].getContext()) }, a.id);
2136
+ }, "data-selected": d ? "true" : void 0, children: kn(a.getVisibleCells()[0].column.columnDef.cell, a.getVisibleCells()[0].getContext()) }, a.id);
2060
2137
  }) });
2061
- }, Ll = (l) => {
2062
- const e = z(25), {
2138
+ }, Wl = (l) => {
2139
+ const e = A(25), {
2063
2140
  row: n
2064
- } = l, t = n.original, o = n.depth, r = o > 0 ? `${o * 24}px` : void 0;
2065
- let s;
2066
- e[0] !== o || e[1] !== n ? (s = n.getCanExpand() ? /* @__PURE__ */ i(Rl, { row: n }) : o > 0 ? /* @__PURE__ */ i(El, {}) : null, e[0] = o, e[1] = n, e[2] = s) : s = e[2];
2141
+ } = l, t = n.original, o = n.depth, s = o > 0 ? `${o * 24}px` : void 0;
2142
+ let r;
2143
+ e[0] !== o || e[1] !== n ? (r = n.getCanExpand() ? /* @__PURE__ */ i(Bl, { row: n }) : o > 0 ? /* @__PURE__ */ i(Fl, {}) : null, e[0] = o, e[1] = n, e[2] = r) : r = e[2];
2067
2144
  let a;
2068
- e[3] !== t.statusColor || e[4] !== t.statusIcon ? (a = t.statusIcon && /* @__PURE__ */ i(re, { as: t.statusIcon, boxSize: "16px", color: t.statusColor ?? "fg.muted", flexShrink: 0 }), e[3] = t.statusColor, e[4] = t.statusIcon, e[5] = a) : a = e[5];
2145
+ e[3] !== t.statusColor || e[4] !== t.statusIcon ? (a = t.statusIcon && /* @__PURE__ */ i(ue, { as: t.statusIcon, boxSize: "16px", color: t.statusColor ?? "fg.muted", flexShrink: 0 }), e[3] = t.statusColor, e[4] = t.statusIcon, e[5] = a) : a = e[5];
2069
2146
  let c;
2070
- e[6] !== t.ticketId ? (c = /* @__PURE__ */ i($, { textStyle: "label/S/regular", color: "fg.muted", flexShrink: 0, minW: "70px", children: t.ticketId }), e[6] = t.ticketId, e[7] = c) : c = e[7];
2147
+ e[6] !== t.ticketId ? (c = /* @__PURE__ */ i(L, { textStyle: "label/S/regular", color: "fg.muted", flexShrink: 0, minW: "70px", children: t.ticketId }), e[6] = t.ticketId, e[7] = c) : c = e[7];
2071
2148
  let d;
2072
- e[8] !== t.title ? (d = /* @__PURE__ */ i($, { textStyle: "label/S/regular", flex: "1", truncate: !0, children: t.title }), e[8] = t.title, e[9] = d) : d = e[9];
2149
+ e[8] !== t.title ? (d = /* @__PURE__ */ i(L, { textStyle: "label/S/regular", flex: "1", truncate: !0, children: t.title }), e[8] = t.title, e[9] = d) : d = e[9];
2073
2150
  let u;
2074
- e[10] !== t.badges ? (u = t.badges && t.badges.length > 0 && /* @__PURE__ */ i(pt, { gap: "2xs", flexShrink: 0, children: t.badges.map(zl) }), e[10] = t.badges, e[11] = u) : u = e[11];
2075
- let g;
2076
- e[12] !== t.assigneeIcon ? (g = t.assigneeIcon && /* @__PURE__ */ i(V, { flexShrink: 0, children: t.assigneeIcon }), e[12] = t.assigneeIcon, e[13] = g) : g = e[13];
2151
+ e[10] !== t.badges ? (u = t.badges && t.badges.length > 0 && /* @__PURE__ */ i(mt, { gap: "2xs", flexShrink: 0, children: t.badges.map(Vl) }), e[10] = t.badges, e[11] = u) : u = e[11];
2077
2152
  let f;
2078
- e[14] !== t.date ? (f = t.date && /* @__PURE__ */ i($, { textStyle: "label/XS/regular", color: "fg.muted", flexShrink: 0, children: t.date }), e[14] = t.date, e[15] = f) : f = e[15];
2153
+ e[12] !== t.assigneeIcon ? (f = t.assigneeIcon && /* @__PURE__ */ i(j, { flexShrink: 0, children: t.assigneeIcon }), e[12] = t.assigneeIcon, e[13] = f) : f = e[13];
2154
+ let g;
2155
+ e[14] !== t.date ? (g = t.date && /* @__PURE__ */ i(L, { textStyle: "label/XS/regular", color: "fg.muted", flexShrink: 0, children: t.date }), e[14] = t.date, e[15] = g) : g = e[15];
2079
2156
  let h;
2080
- return e[16] !== r || e[17] !== s || e[18] !== a || e[19] !== c || e[20] !== d || e[21] !== u || e[22] !== g || e[23] !== f ? (h = /* @__PURE__ */ x(X, { gap: "sm", flex: "1", paddingLeft: r, children: [
2081
- s,
2157
+ return e[16] !== s || e[17] !== r || e[18] !== a || e[19] !== c || e[20] !== d || e[21] !== u || e[22] !== f || e[23] !== g ? (h = /* @__PURE__ */ x(X, { gap: "sm", flex: "1", paddingLeft: s, children: [
2158
+ r,
2082
2159
  a,
2083
2160
  c,
2084
2161
  d,
2085
2162
  u,
2086
- g,
2087
- f
2088
- ] }), e[16] = r, e[17] = s, e[18] = a, e[19] = c, e[20] = d, e[21] = u, e[22] = g, e[23] = f, e[24] = h) : h = e[24], h;
2089
- }, Rl = (l) => {
2090
- const e = z(6), {
2163
+ f,
2164
+ g
2165
+ ] }), e[16] = s, e[17] = r, e[18] = a, e[19] = c, e[20] = d, e[21] = u, e[22] = f, e[23] = g, e[24] = h) : h = e[24], h;
2166
+ }, Bl = (l) => {
2167
+ const e = A(6), {
2091
2168
  row: n
2092
- } = l, t = n.getIsExpanded(), o = t ? "true" : void 0, r = t ? "Collapse group" : "Expand group", s = t ? "rotate(90deg)" : "rotate(0deg)";
2169
+ } = l, t = n.getIsExpanded(), o = t ? "true" : void 0, s = t ? "Collapse group" : "Expand group", r = t ? "rotate(90deg)" : "rotate(0deg)";
2093
2170
  let a;
2094
- e[0] !== s ? (a = /* @__PURE__ */ i(ye, { size: 14, style: {
2171
+ e[0] !== r ? (a = /* @__PURE__ */ i(Ce, { size: 14, style: {
2095
2172
  color: "var(--chakra-colors-fg-muted)",
2096
- transform: s,
2173
+ transform: r,
2097
2174
  transition: "transform 0.15s ease"
2098
- } }), e[0] = s, e[1] = a) : a = e[1];
2175
+ } }), e[0] = r, e[1] = a) : a = e[1];
2099
2176
  let c;
2100
- return e[2] !== o || e[3] !== r || e[4] !== a ? (c = /* @__PURE__ */ i(V, { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, width: "16px", height: "16px", "data-expanded": o, "aria-label": r, children: a }), e[2] = o, e[3] = r, e[4] = a, e[5] = c) : c = e[5], c;
2101
- }, El = () => {
2102
- const l = z(1);
2177
+ return e[2] !== o || e[3] !== s || e[4] !== a ? (c = /* @__PURE__ */ i(j, { display: "flex", alignItems: "center", justifyContent: "center", flexShrink: 0, width: "16px", height: "16px", "data-expanded": o, "aria-label": s, children: a }), e[2] = o, e[3] = s, e[4] = a, e[5] = c) : c = e[5], c;
2178
+ }, Fl = () => {
2179
+ const l = A(1);
2103
2180
  let e;
2104
- return l[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ x(V, { width: "16px", height: "16px", position: "relative", flexShrink: 0, children: [
2105
- /* @__PURE__ */ i(V, { position: "absolute", left: "7px", top: "0", bottom: "50%", borderLeftWidth: "1px", borderColor: "border.muted" }),
2106
- /* @__PURE__ */ i(V, { position: "absolute", left: "7px", top: "50%", width: "8px", borderBottomWidth: "1px", borderColor: "border.muted" })
2181
+ return l[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ x(j, { width: "16px", height: "16px", position: "relative", flexShrink: 0, children: [
2182
+ /* @__PURE__ */ i(j, { position: "absolute", left: "7px", top: "0", bottom: "50%", borderLeftWidth: "1px", borderColor: "border.muted" }),
2183
+ /* @__PURE__ */ i(j, { position: "absolute", left: "7px", top: "50%", width: "8px", borderBottomWidth: "1px", borderColor: "border.muted" })
2107
2184
  ] }), l[0] = e) : e = l[0], e;
2108
2185
  };
2109
- function zl(l) {
2110
- return /* @__PURE__ */ i(Ie, { variant: "subtle", colorPalette: l.color ?? "gray", textStyle: "label/XS/medium", children: l.label }, l.label);
2186
+ function Vl(l) {
2187
+ return /* @__PURE__ */ i(Pe, { variant: "subtle", colorPalette: l.color ?? "gray", textStyle: "label/XS/medium", children: l.label }, l.label);
2111
2188
  }
2112
- const Me = {
2189
+ const Ge = {
2113
2190
  status: "No status",
2114
2191
  assignee: "Unassigned"
2115
- }, Ne = (l, e) => !l || l.trim() === "" ? e : l, dt = (l, e) => e === "none" ? "All" : e === "status" ? Ne(l.status, Me.status) : Ne(l.assignee, Me.assignee), ut = (l, e) => l.localeCompare(e, void 0, {
2192
+ }, Ne = (l, e) => !l || l.trim() === "" ? e : l, ut = (l, e) => e === "none" ? "All" : e === "status" ? Ne(l.status, Ge.status) : Ne(l.assignee, Ge.assignee), ft = (l, e) => l.localeCompare(e, void 0, {
2116
2193
  numeric: !0
2117
- }), Ve = (l, e) => e === "asc" ? l : l * -1, Ee = (l, e) => e.field === "manual" ? l : [...l].sort((n, t) => {
2194
+ }), Ve = (l, e) => e === "asc" ? l : l * -1, Oe = (l, e) => e.field === "manual" ? l : [...l].sort((n, t) => {
2118
2195
  if (e.field === "updated") {
2119
- const o = new Date(n.updatedAt ?? 0).getTime(), r = new Date(t.updatedAt ?? 0).getTime();
2120
- return Ve(o - r, e.direction);
2196
+ const o = new Date(n.updatedAt ?? 0).getTime(), s = new Date(t.updatedAt ?? 0).getTime();
2197
+ return Ve(o - s, e.direction);
2121
2198
  }
2122
2199
  return e.field === "title" ? Ve(n.title.localeCompare(t.title), e.direction) : Ve(n.ticketId.localeCompare(t.ticketId, void 0, {
2123
2200
  numeric: !0
2124
2201
  }), e.direction);
2125
- }), Al = (l, e) => {
2202
+ }), jl = (l, e) => {
2126
2203
  const {
2127
2204
  columnGrouping: n,
2128
2205
  rowGrouping: t,
2129
2206
  knownColumnKeys: o
2130
- } = e, r = /* @__PURE__ */ new Map();
2207
+ } = e, s = /* @__PURE__ */ new Map();
2131
2208
  if (o)
2132
2209
  for (const a of o)
2133
- r.set(a, []);
2210
+ s.set(a, []);
2134
2211
  for (const a of l) {
2135
- const c = dt(a, n);
2136
- r.set(c, [...r.get(c) ?? [], a]);
2212
+ const c = ut(a, n);
2213
+ s.set(c, [...s.get(c) ?? [], a]);
2137
2214
  }
2138
- return [...r.entries()].sort(([a], [c]) => ut(a, c)).map(([a, c]) => {
2215
+ return [...s.entries()].sort(([a], [c]) => ft(a, c)).map(([a, c]) => {
2139
2216
  if (t === "none")
2140
2217
  return {
2141
2218
  key: a,
@@ -2144,14 +2221,14 @@ const Me = {
2144
2221
  rows: []
2145
2222
  };
2146
2223
  const d = /* @__PURE__ */ new Map();
2147
- for (const g of c) {
2148
- const f = dt(g, t);
2149
- d.set(f, [...d.get(f) ?? [], g]);
2224
+ for (const f of c) {
2225
+ const g = ut(f, t);
2226
+ d.set(g, [...d.get(g) ?? [], f]);
2150
2227
  }
2151
- const u = [...d.entries()].sort(([g], [f]) => ut(g, f)).map(([g, f]) => ({
2152
- key: g,
2153
- label: g,
2154
- tickets: f
2228
+ const u = [...d.entries()].sort(([f], [g]) => ft(f, g)).map(([f, g]) => ({
2229
+ key: f,
2230
+ label: f,
2231
+ tickets: g
2155
2232
  }));
2156
2233
  return {
2157
2234
  key: a,
@@ -2160,16 +2237,16 @@ const Me = {
2160
2237
  rows: u
2161
2238
  };
2162
2239
  });
2163
- }, Dt = (l, e) => e === "labels" ? l.labels ?? [] : e === "status" ? [Ne(l.status, Me.status)] : [Ne(l.assignee, Me.assignee)], Gl = (l, e) => {
2240
+ }, Dt = (l, e) => e === "labels" ? l.labels ?? [] : e === "status" ? [Ne(l.status, Ge.status)] : [Ne(l.assignee, Ge.assignee)], Xl = (l, e) => {
2164
2241
  const n = Object.entries(e).filter(([, t]) => t && t.length > 0);
2165
- return n.length === 0 ? l : l.filter((t) => n.every(([o, r]) => Dt(t, o).some((a) => r?.includes(a))));
2166
- }, Ol = (l, e) => {
2242
+ return n.length === 0 ? l : l.filter((t) => n.every(([o, s]) => Dt(t, o).some((a) => s?.includes(a))));
2243
+ }, Ul = (l, e) => {
2167
2244
  const n = {};
2168
2245
  for (const t of l)
2169
2246
  for (const o of Dt(t, e))
2170
2247
  n[o] = (n[o] ?? 0) + 1;
2171
2248
  return n;
2172
- }, Ml = {
2249
+ }, Yl = {
2173
2250
  viewMode: "board",
2174
2251
  columnGrouping: "status",
2175
2252
  rowGrouping: "none",
@@ -2178,7 +2255,7 @@ const Me = {
2178
2255
  direction: "asc"
2179
2256
  },
2180
2257
  displayProperties: ["labels"]
2181
- }, Nl = [{
2258
+ }, Kl = [{
2182
2259
  value: "status",
2183
2260
  label: "Status"
2184
2261
  }, {
@@ -2187,7 +2264,7 @@ const Me = {
2187
2264
  }, {
2188
2265
  value: "none",
2189
2266
  label: "No grouping"
2190
- }], Hl = [{
2267
+ }], ql = [{
2191
2268
  value: "manual",
2192
2269
  label: "Manual"
2193
2270
  }, {
@@ -2199,7 +2276,7 @@ const Me = {
2199
2276
  }, {
2200
2277
  value: "ticketId",
2201
2278
  label: "ID"
2202
- }], Wl = [{
2279
+ }], Jl = [{
2203
2280
  value: "id",
2204
2281
  label: "ID"
2205
2282
  }, {
@@ -2214,16 +2291,16 @@ const Me = {
2214
2291
  }, {
2215
2292
  value: "updated",
2216
2293
  label: "Updated"
2217
- }], Bl = "pstdio/ui/tickets-workspace", Fl = (l) => `${Bl}/${l}`, je = {
2218
- settings: Ml,
2294
+ }], Ql = "pstdio/ui/tickets-workspace", Zl = (l) => `${Ql}/${l}`, je = {
2295
+ settings: Yl,
2219
2296
  filters: {}
2220
- }, Vl = () => ({
2297
+ }, ei = () => ({
2221
2298
  getItem: () => null,
2222
2299
  setItem: () => {
2223
2300
  },
2224
2301
  removeItem: () => {
2225
2302
  }
2226
- }), jl = (l, e) => l.includes(e) ? l.filter((n) => n !== e) : [...l, e], Xl = (l) => {
2303
+ }), ti = (l, e) => l.includes(e) ? l.filter((n) => n !== e) : [...l, e], ni = (l) => {
2227
2304
  const {
2228
2305
  storageKey: e,
2229
2306
  initialState: n
@@ -2236,133 +2313,133 @@ const Me = {
2236
2313
  };
2237
2314
  return vt()(St((o) => ({
2238
2315
  ...t,
2239
- setViewMode: (r) => o((s) => ({
2240
- ...s,
2316
+ setViewMode: (s) => o((r) => ({
2317
+ ...r,
2241
2318
  settings: {
2242
- ...s.settings,
2243
- viewMode: r
2319
+ ...r.settings,
2320
+ viewMode: s
2244
2321
  }
2245
2322
  })),
2246
- setColumnGrouping: (r) => o((s) => ({
2247
- ...s,
2323
+ setColumnGrouping: (s) => o((r) => ({
2324
+ ...r,
2248
2325
  settings: {
2249
- ...s.settings,
2250
- columnGrouping: r
2326
+ ...r.settings,
2327
+ columnGrouping: s
2251
2328
  }
2252
2329
  })),
2253
- setRowGrouping: (r) => o((s) => ({
2254
- ...s,
2330
+ setRowGrouping: (s) => o((r) => ({
2331
+ ...r,
2255
2332
  settings: {
2256
- ...s.settings,
2257
- rowGrouping: r
2333
+ ...r.settings,
2334
+ rowGrouping: s
2258
2335
  }
2259
2336
  })),
2260
- setOrdering: (r) => o((s) => ({
2261
- ...s,
2337
+ setOrdering: (s) => o((r) => ({
2338
+ ...r,
2262
2339
  settings: {
2263
- ...s.settings,
2264
- ordering: r
2340
+ ...r.settings,
2341
+ ordering: s
2265
2342
  }
2266
2343
  })),
2267
- setOrderingField: (r) => o((s) => ({
2268
- ...s,
2344
+ setOrderingField: (s) => o((r) => ({
2345
+ ...r,
2269
2346
  settings: {
2270
- ...s.settings,
2347
+ ...r.settings,
2271
2348
  ordering: {
2272
- ...s.settings.ordering,
2273
- field: r
2349
+ ...r.settings.ordering,
2350
+ field: s
2274
2351
  }
2275
2352
  }
2276
2353
  })),
2277
- toggleSortDirection: () => o((r) => ({
2278
- ...r,
2354
+ toggleSortDirection: () => o((s) => ({
2355
+ ...s,
2279
2356
  settings: {
2280
- ...r.settings,
2357
+ ...s.settings,
2281
2358
  ordering: {
2282
- ...r.settings.ordering,
2283
- direction: r.settings.ordering.direction === "asc" ? "desc" : "asc"
2359
+ ...s.settings.ordering,
2360
+ direction: s.settings.ordering.direction === "asc" ? "desc" : "asc"
2284
2361
  }
2285
2362
  }
2286
2363
  })),
2287
- toggleDisplayProperty: (r) => o((s) => {
2288
- const a = s.settings.displayProperties.includes(r) ? s.settings.displayProperties.filter((c) => c !== r) : [...s.settings.displayProperties, r];
2364
+ toggleDisplayProperty: (s) => o((r) => {
2365
+ const a = r.settings.displayProperties.includes(s) ? r.settings.displayProperties.filter((c) => c !== s) : [...r.settings.displayProperties, s];
2289
2366
  return {
2290
- ...s,
2367
+ ...r,
2291
2368
  settings: {
2292
- ...s.settings,
2369
+ ...r.settings,
2293
2370
  displayProperties: a
2294
2371
  }
2295
2372
  };
2296
2373
  }),
2297
- setFilter: (r, s) => o((a) => ({
2374
+ setFilter: (s, r) => o((a) => ({
2298
2375
  ...a,
2299
2376
  filters: {
2300
2377
  ...a.filters,
2301
- [r]: s
2378
+ [s]: r
2302
2379
  }
2303
2380
  })),
2304
- toggleFilterValue: (r, s) => o((a) => {
2305
- const c = a.filters[r] ?? [], d = jl(c, s), u = {
2381
+ toggleFilterValue: (s, r) => o((a) => {
2382
+ const c = a.filters[s] ?? [], d = ti(c, r), u = {
2306
2383
  ...a.filters,
2307
- [r]: d
2384
+ [s]: d
2308
2385
  };
2309
- return d.length === 0 && delete u[r], {
2386
+ return d.length === 0 && delete u[s], {
2310
2387
  ...a,
2311
2388
  filters: u
2312
2389
  };
2313
2390
  }),
2314
- clearFilter: (r) => o((s) => {
2391
+ clearFilter: (s) => o((r) => {
2315
2392
  const a = {
2316
- ...s.filters
2393
+ ...r.filters
2317
2394
  };
2318
- return delete a[r], {
2319
- ...s,
2395
+ return delete a[s], {
2396
+ ...r,
2320
2397
  filters: a
2321
2398
  };
2322
2399
  }),
2323
- clearAllFilters: () => o((r) => ({
2324
- ...r,
2400
+ clearAllFilters: () => o((s) => ({
2401
+ ...s,
2325
2402
  filters: {}
2326
2403
  })),
2327
2404
  reset: () => o(je)
2328
2405
  }), {
2329
- name: Fl(e),
2330
- storage: yt(() => typeof globalThis.localStorage > "u" ? Vl() : globalThis.localStorage),
2406
+ name: Zl(e),
2407
+ storage: yt(() => typeof globalThis.localStorage > "u" ? ei() : globalThis.localStorage),
2331
2408
  partialize: (o) => ({
2332
2409
  settings: o.settings,
2333
2410
  filters: o.filters
2334
2411
  })
2335
2412
  }));
2336
- }, ft = /* @__PURE__ */ new Map(), Ul = (l) => {
2337
- const e = ft.get(l);
2413
+ }, gt = /* @__PURE__ */ new Map(), li = (l) => {
2414
+ const e = gt.get(l);
2338
2415
  if (e)
2339
2416
  return e;
2340
- const n = Xl({
2417
+ const n = ni({
2341
2418
  storageKey: l
2342
2419
  });
2343
- return ft.set(l, n), n;
2344
- }, he = (l, e) => {
2345
- const n = z(2);
2420
+ return gt.set(l, n), n;
2421
+ }, be = (l, e) => {
2422
+ const n = A(2);
2346
2423
  let t;
2347
- return n[0] !== l ? (t = Ul(l), n[0] = l, n[1] = t) : t = n[1], xt(t, e);
2348
- }, Ae = (l) => l.replaceAll("_", " ").split(" ").filter((e) => e.length > 0).map((e) => e[0].toUpperCase() + e.slice(1)).join(" "), Yl = {
2424
+ return n[0] !== l ? (t = li(l), n[0] = l, n[1] = t) : t = n[1], xt(t, e);
2425
+ }, Me = (l) => l.replaceAll("_", " ").split(" ").filter((e) => e.length > 0).map((e) => e[0].toUpperCase() + e.slice(1)).join(" "), ii = {
2349
2426
  status: (l) => l.status ? [l.status] : [],
2350
2427
  assignee: (l) => l.assignee ? [l.assignee] : [],
2351
2428
  labels: (l) => l.labels ?? []
2352
2429
  }, Xe = (l, e) => {
2353
2430
  const n = /* @__PURE__ */ new Set();
2354
2431
  for (const t of l) {
2355
- const o = Yl[e](t);
2356
- for (const r of o)
2357
- n.add(r);
2432
+ const o = ii[e](t);
2433
+ for (const s of o)
2434
+ n.add(s);
2358
2435
  }
2359
2436
  return [...n].sort((t, o) => t.localeCompare(o, void 0, {
2360
2437
  numeric: !0
2361
2438
  })).map((t) => ({
2362
2439
  value: t,
2363
- label: Ae(t)
2440
+ label: Me(t)
2364
2441
  }));
2365
- }, Kl = (l) => [{
2442
+ }, oi = (l) => [{
2366
2443
  id: "status",
2367
2444
  label: "Status",
2368
2445
  options: Xe(l, "status")
@@ -2374,7 +2451,7 @@ const Me = {
2374
2451
  id: "labels",
2375
2452
  label: "Labels",
2376
2453
  options: Xe(l, "labels")
2377
- }], gt = (l, e) => {
2454
+ }], ht = (l, e) => {
2378
2455
  const n = [], t = (o) => e.includes(o);
2379
2456
  if (t("status") && l.status && n.push({
2380
2457
  label: l.status,
@@ -2392,165 +2469,165 @@ const Me = {
2392
2469
  color: "purple"
2393
2470
  });
2394
2471
  return n;
2395
- }, qi = (l) => {
2396
- const e = z(64), {
2472
+ }, so = (l) => {
2473
+ const e = A(64), {
2397
2474
  tickets: n,
2398
2475
  storageKey: t,
2399
2476
  selectedTicketId: o,
2400
- groupingOptions: r,
2401
- orderingOptions: s,
2477
+ groupingOptions: s,
2478
+ orderingOptions: r,
2402
2479
  displayPropertyOptions: a,
2403
2480
  filterCategories: c,
2404
2481
  knownColumnKeys: d,
2405
2482
  emptyTitle: u,
2406
- emptyDescription: g,
2407
- onTicketClick: f,
2483
+ emptyDescription: f,
2484
+ onTicketClick: g,
2408
2485
  onMoveTicket: h,
2409
2486
  onMoveToGroup: p,
2410
2487
  onCreateTicket: m,
2411
2488
  onColumnAction: b,
2412
2489
  getBoardColumnConfig: y
2413
- } = l, w = o === void 0 ? null : o, I = r === void 0 ? Nl : r, P = s === void 0 ? Hl : s, _ = a === void 0 ? Wl : a, T = u === void 0 ? "No tickets found" : u, D = g === void 0 ? "Try changing filters or display settings." : g, S = he(t, Jl), v = he(t, ql), k = he(t, Ql), C = he(t, Zl), E = he(t, ei), L = he(t, ti), A = he(t, ni), G = he(t, li), W = he(t, ii), H = he(t, oi), F = he(t, ri);
2414
- let N, M, R, B;
2415
- if (e[0] !== c || e[1] !== v || e[2] !== y || e[3] !== d || e[4] !== f || e[5] !== S.columnGrouping || e[6] !== S.displayProperties || e[7] !== S.ordering || e[8] !== S.rowGrouping || e[9] !== n) {
2416
- const ee = Gl(n, v);
2417
- N = c ?? Kl(n);
2418
- let Z;
2419
- e[14] !== n ? (Z = (j) => [j.id, Ol(n, j.id)], e[14] = n, e[15] = Z) : Z = e[15], M = Object.fromEntries(N.map(Z));
2420
- const U = d ?? (S.columnGrouping !== "none" ? N.find((j) => j.id === S.columnGrouping)?.options.map(si) : void 0), ie = Al(ee, {
2490
+ } = l, v = o === void 0 ? null : o, k = s === void 0 ? Kl : s, _ = r === void 0 ? ql : r, D = a === void 0 ? Jl : a, T = u === void 0 ? "No tickets found" : u, P = f === void 0 ? "Try changing filters or display settings." : f, S = be(t, ri), w = be(t, si), C = be(t, ai), I = be(t, ci), z = be(t, di), $ = be(t, ui), O = be(t, fi), M = be(t, gi), N = be(t, hi), W = be(t, pi), B = be(t, mi);
2491
+ let G, R, E, V;
2492
+ if (e[0] !== c || e[1] !== w || e[2] !== y || e[3] !== d || e[4] !== g || e[5] !== S.columnGrouping || e[6] !== S.displayProperties || e[7] !== S.ordering || e[8] !== S.rowGrouping || e[9] !== n) {
2493
+ const te = Xl(n, w);
2494
+ G = c ?? oi(n);
2495
+ let ne;
2496
+ e[14] !== n ? (ne = (F) => [F.id, Ul(n, F.id)], e[14] = n, e[15] = ne) : ne = e[15], R = Object.fromEntries(G.map(ne));
2497
+ const U = d ?? (S.columnGrouping !== "none" ? G.find((F) => F.id === S.columnGrouping)?.options.map(bi) : void 0), Q = jl(te, {
2421
2498
  columnGrouping: S.columnGrouping,
2422
2499
  rowGrouping: S.rowGrouping,
2423
2500
  knownColumnKeys: U
2424
2501
  });
2425
- let ce;
2426
- e[16] !== f || e[17] !== S.displayProperties ? (ce = (j) => ({
2427
- id: j.id,
2428
- ticketId: S.displayProperties.includes("id") ? j.ticketId : "",
2429
- title: j.title,
2430
- badges: gt(j, S.displayProperties),
2431
- onClick: () => f?.(j)
2432
- }), e[16] = f, e[17] = S.displayProperties, e[18] = ce) : ce = e[18];
2433
- const oe = ce;
2434
- let ue;
2435
- e[19] !== S.ordering || e[20] !== oe ? (ue = (j) => ({
2436
- id: `group::${j.key}`,
2502
+ let oe;
2503
+ e[16] !== g || e[17] !== S.displayProperties ? (oe = (F) => ({
2504
+ id: F.id,
2505
+ ticketId: S.displayProperties.includes("id") ? F.ticketId : "",
2506
+ title: F.title,
2507
+ badges: ht(F, S.displayProperties),
2508
+ onClick: () => g?.(F)
2509
+ }), e[16] = g, e[17] = S.displayProperties, e[18] = oe) : oe = e[18];
2510
+ const se = oe;
2511
+ let re;
2512
+ e[19] !== S.ordering || e[20] !== se ? (re = (F) => ({
2513
+ id: `group::${F.key}`,
2437
2514
  ticketId: "",
2438
- title: `${Ae(j.label)} (${j.tickets.length})`,
2439
- children: Ee(j.tickets, S.ordering).map((ne) => oe(ne))
2440
- }), e[19] = S.ordering, e[20] = oe, e[21] = ue) : ue = e[21];
2441
- const ge = ue;
2442
- R = S.columnGrouping === "none" ? Ee(ee, S.ordering).map((j) => oe(j)) : ie.map((j) => j.rows.length > 0 ? {
2443
- id: `group::${j.key}`,
2515
+ title: `${Me(F.label)} (${F.tickets.length})`,
2516
+ children: Oe(F.tickets, S.ordering).map((le) => se(le))
2517
+ }), e[19] = S.ordering, e[20] = se, e[21] = re) : re = e[21];
2518
+ const ce = re;
2519
+ E = S.columnGrouping === "none" ? Oe(te, S.ordering).map((F) => se(F)) : Q.map((F) => F.rows.length > 0 ? {
2520
+ id: `group::${F.key}`,
2444
2521
  ticketId: "",
2445
- title: `${Ae(j.label)} (${j.tickets.length})`,
2446
- children: j.rows.map((ne) => ({
2447
- ...ge(ne),
2448
- id: `group::${j.key}::${ne.key}`
2522
+ title: `${Me(F.label)} (${F.tickets.length})`,
2523
+ children: F.rows.map((le) => ({
2524
+ ...ce(le),
2525
+ id: `group::${F.key}::${le.key}`
2449
2526
  }))
2450
- } : ge(j));
2451
- let ae;
2452
- e[22] !== f || e[23] !== S.displayProperties ? (ae = (j) => j.map((ne) => ({
2453
- id: ne.id,
2527
+ } : ce(F));
2528
+ let de;
2529
+ e[22] !== g || e[23] !== S.displayProperties ? (de = (F) => F.map((le) => ({
2530
+ id: le.id,
2454
2531
  cardProps: {
2455
- ticketId: S.displayProperties.includes("id") ? ne.ticketId : "",
2456
- parentPath: ne.parentPath,
2457
- title: ne.title,
2458
- badges: gt(ne, S.displayProperties),
2459
- onClick: () => f?.(ne)
2532
+ ticketId: S.displayProperties.includes("id") ? le.ticketId : "",
2533
+ parentPath: le.parentPath,
2534
+ title: le.title,
2535
+ badges: ht(le, S.displayProperties),
2536
+ onClick: () => g?.(le)
2460
2537
  }
2461
- })), e[22] = f, e[23] = S.displayProperties, e[24] = ae) : ae = e[24];
2462
- const be = ae;
2463
- let fe;
2464
- e[25] !== y || e[26] !== S.ordering || e[27] !== be ? (fe = (j) => {
2465
- const ne = y?.(j.key) ?? {}, Lt = Ee(j.tickets, S.ordering), Rt = j.rows.length > 0 ? j.rows.map((We) => ({
2538
+ })), e[22] = g, e[23] = S.displayProperties, e[24] = de) : de = e[24];
2539
+ const ae = de;
2540
+ let ge;
2541
+ e[25] !== y || e[26] !== S.ordering || e[27] !== ae ? (ge = (F) => {
2542
+ const le = y?.(F.key) ?? {}, me = Oe(F.tickets, S.ordering), Lt = F.rows.length > 0 ? F.rows.map((We) => ({
2466
2543
  key: We.key,
2467
- label: Ae(We.label),
2468
- items: be(Ee(We.tickets, S.ordering))
2544
+ label: Me(We.label),
2545
+ items: ae(Oe(We.tickets, S.ordering))
2469
2546
  })) : void 0;
2470
2547
  return {
2471
- id: j.key,
2472
- label: j.label,
2473
- color: ne.color,
2474
- canDragIn: ne.canDragIn ?? !1,
2475
- canDragOut: ne.canDragOut ?? !1,
2476
- canCreate: ne.canCreate ?? !1,
2477
- actions: ne.actions ?? [],
2478
- items: be(Lt),
2479
- groups: Rt
2548
+ id: F.key,
2549
+ label: F.label,
2550
+ color: le.color,
2551
+ canDragIn: le.canDragIn ?? !1,
2552
+ canDragOut: le.canDragOut ?? !1,
2553
+ canCreate: le.canCreate ?? !1,
2554
+ actions: le.actions ?? [],
2555
+ items: ae(me),
2556
+ groups: Lt
2480
2557
  };
2481
- }, e[25] = y, e[26] = S.ordering, e[27] = be, e[28] = fe) : fe = e[28], B = ie.map(fe), e[0] = c, e[1] = v, e[2] = y, e[3] = d, e[4] = f, e[5] = S.columnGrouping, e[6] = S.displayProperties, e[7] = S.ordering, e[8] = S.rowGrouping, e[9] = n, e[10] = N, e[11] = M, e[12] = R, e[13] = B;
2558
+ }, e[25] = y, e[26] = S.ordering, e[27] = ae, e[28] = ge) : ge = e[28], V = Q.map(ge), e[0] = c, e[1] = w, e[2] = y, e[3] = d, e[4] = g, e[5] = S.columnGrouping, e[6] = S.displayProperties, e[7] = S.ordering, e[8] = S.rowGrouping, e[9] = n, e[10] = G, e[11] = R, e[12] = E, e[13] = V;
2482
2559
  } else
2483
- N = e[10], M = e[11], R = e[12], B = e[13];
2484
- const Y = B;
2485
- let J;
2486
- e[29] !== N || e[30] !== F || e[31] !== H || e[32] !== M || e[33] !== v || e[34] !== W ? (J = /* @__PURE__ */ i(Cl, { categories: N, filters: v, countsByCategory: M, onToggleFilterValue: W, onClearFilter: H, onClearAll: F }), e[29] = N, e[30] = F, e[31] = H, e[32] = M, e[33] = v, e[34] = W, e[35] = J) : J = e[35];
2487
- let q;
2488
- e[36] !== _ || e[37] !== I || e[38] !== P || e[39] !== C || e[40] !== L || e[41] !== E || e[42] !== k || e[43] !== S || e[44] !== G || e[45] !== A ? (q = /* @__PURE__ */ i(yl, { settings: S, groupingOptions: I, orderingOptions: P, displayPropertyOptions: _, onViewModeChange: k, onColumnGroupingChange: C, onRowGroupingChange: E, onOrderingFieldChange: L, onSortDirectionToggle: A, onDisplayPropertyToggle: G }), e[36] = _, e[37] = I, e[38] = P, e[39] = C, e[40] = L, e[41] = E, e[42] = k, e[43] = S, e[44] = G, e[45] = A, e[46] = q) : q = e[46];
2560
+ G = e[10], R = e[11], E = e[12], V = e[13];
2561
+ const q = V;
2562
+ let Y;
2563
+ e[29] !== G || e[30] !== B || e[31] !== W || e[32] !== R || e[33] !== w || e[34] !== N ? (Y = /* @__PURE__ */ i(Rl, { categories: G, filters: w, countsByCategory: R, onToggleFilterValue: N, onClearFilter: W, onClearAll: B }), e[29] = G, e[30] = B, e[31] = W, e[32] = R, e[33] = w, e[34] = N, e[35] = Y) : Y = e[35];
2489
2564
  let K;
2490
- e[47] !== J || e[48] !== q ? (K = /* @__PURE__ */ x(X, { justifyContent: "flex-end", gap: "2xs", children: [
2491
- J,
2492
- q
2493
- ] }), e[47] = J, e[48] = q, e[49] = K) : K = e[49];
2494
- let Q;
2495
- e[50] !== Y || e[51] !== D || e[52] !== T || e[53] !== R || e[54] !== b || e[55] !== m || e[56] !== h || e[57] !== p || e[58] !== w || e[59] !== S.viewMode ? (Q = S.viewMode === "board" ? /* @__PURE__ */ i(V, { flex: "1", minH: "0", children: Y.length > 0 ? /* @__PURE__ */ i(kl, { columns: Y, selectedItemId: w, onMoveItem: h, onMoveToGroup: p, onCreateStart: m, onColumnAction: b }) : /* @__PURE__ */ i(Ke, { title: T, description: D, height: "100%", borderWidth: "1px", borderRadius: "md" }) }) : R.length > 0 ? /* @__PURE__ */ i($l, { items: R, selectedItemId: w }) : /* @__PURE__ */ i(Ke, { title: T, description: D, borderWidth: "1px", borderRadius: "md" }), e[50] = Y, e[51] = D, e[52] = T, e[53] = R, e[54] = b, e[55] = m, e[56] = h, e[57] = p, e[58] = w, e[59] = S.viewMode, e[60] = Q) : Q = e[60];
2496
- let te;
2497
- return e[61] !== Q || e[62] !== K ? (te = /* @__PURE__ */ x(O, { gap: "sm", height: "100%", minH: "0", children: [
2498
- K,
2499
- Q
2500
- ] }), e[61] = Q, e[62] = K, e[63] = te) : te = e[63], te;
2565
+ e[36] !== D || e[37] !== k || e[38] !== _ || e[39] !== I || e[40] !== $ || e[41] !== z || e[42] !== C || e[43] !== S || e[44] !== M || e[45] !== O ? (K = /* @__PURE__ */ i($l, { settings: S, groupingOptions: k, orderingOptions: _, displayPropertyOptions: D, onViewModeChange: C, onColumnGroupingChange: I, onRowGroupingChange: z, onOrderingFieldChange: $, onSortDirectionToggle: O, onDisplayPropertyToggle: M }), e[36] = D, e[37] = k, e[38] = _, e[39] = I, e[40] = $, e[41] = z, e[42] = C, e[43] = S, e[44] = M, e[45] = O, e[46] = K) : K = e[46];
2566
+ let Z;
2567
+ e[47] !== Y || e[48] !== K ? (Z = /* @__PURE__ */ x(X, { justifyContent: "flex-end", gap: "2xs", children: [
2568
+ Y,
2569
+ K
2570
+ ] }), e[47] = Y, e[48] = K, e[49] = Z) : Z = e[49];
2571
+ let J;
2572
+ e[50] !== q || e[51] !== P || e[52] !== T || e[53] !== E || e[54] !== b || e[55] !== m || e[56] !== h || e[57] !== p || e[58] !== v || e[59] !== S.viewMode ? (J = S.viewMode === "board" ? /* @__PURE__ */ i(j, { flex: "1", minH: "0", children: q.length > 0 ? /* @__PURE__ */ i(zl, { columns: q, selectedItemId: v, onMoveItem: h, onMoveToGroup: p, onCreateStart: m, onColumnAction: b }) : /* @__PURE__ */ i(Ke, { title: T, description: P, height: "100%", borderWidth: "1px", borderRadius: "md" }) }) : E.length > 0 ? /* @__PURE__ */ i(Hl, { items: E, selectedItemId: v }) : /* @__PURE__ */ i(Ke, { title: T, description: P, borderWidth: "1px", borderRadius: "md" }), e[50] = q, e[51] = P, e[52] = T, e[53] = E, e[54] = b, e[55] = m, e[56] = h, e[57] = p, e[58] = v, e[59] = S.viewMode, e[60] = J) : J = e[60];
2573
+ let ee;
2574
+ return e[61] !== J || e[62] !== Z ? (ee = /* @__PURE__ */ x(H, { gap: "sm", height: "100%", minH: "0", children: [
2575
+ Z,
2576
+ J
2577
+ ] }), e[61] = J, e[62] = Z, e[63] = ee) : ee = e[63], ee;
2501
2578
  };
2502
- function Jl(l) {
2579
+ function ri(l) {
2503
2580
  return l.settings;
2504
2581
  }
2505
- function ql(l) {
2582
+ function si(l) {
2506
2583
  return l.filters;
2507
2584
  }
2508
- function Ql(l) {
2585
+ function ai(l) {
2509
2586
  return l.setViewMode;
2510
2587
  }
2511
- function Zl(l) {
2588
+ function ci(l) {
2512
2589
  return l.setColumnGrouping;
2513
2590
  }
2514
- function ei(l) {
2591
+ function di(l) {
2515
2592
  return l.setRowGrouping;
2516
2593
  }
2517
- function ti(l) {
2594
+ function ui(l) {
2518
2595
  return l.setOrderingField;
2519
2596
  }
2520
- function ni(l) {
2597
+ function fi(l) {
2521
2598
  return l.toggleSortDirection;
2522
2599
  }
2523
- function li(l) {
2600
+ function gi(l) {
2524
2601
  return l.toggleDisplayProperty;
2525
2602
  }
2526
- function ii(l) {
2603
+ function hi(l) {
2527
2604
  return l.toggleFilterValue;
2528
2605
  }
2529
- function oi(l) {
2606
+ function pi(l) {
2530
2607
  return l.clearFilter;
2531
2608
  }
2532
- function ri(l) {
2609
+ function mi(l) {
2533
2610
  return l.clearAllFilters;
2534
2611
  }
2535
- function si(l) {
2612
+ function bi(l) {
2536
2613
  return l.value;
2537
2614
  }
2538
- const ai = Ht({
2615
+ const xi = Wt({
2539
2616
  placement: "bottom-end",
2540
2617
  pauseOnPageIdle: !0
2541
- }), Qi = () => {
2542
- const l = z(1);
2618
+ }), ao = () => {
2619
+ const l = A(1);
2543
2620
  let e;
2544
- return l[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ i(Qe, { children: /* @__PURE__ */ i(Wt, { toaster: ai, insetInline: {
2621
+ return l[0] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ i(He, { children: /* @__PURE__ */ i(Bt, { toaster: xi, insetInline: {
2545
2622
  mdDown: "4"
2546
- }, children: ci }) }), l[0] = e) : e = l[0], e;
2623
+ }, children: Si }) }), l[0] = e) : e = l[0], e;
2547
2624
  };
2548
- function ci(l) {
2625
+ function Si(l) {
2549
2626
  return /* @__PURE__ */ x(_e.Root, { width: {
2550
2627
  md: "sm"
2551
2628
  }, children: [
2552
- l.type === "loading" ? /* @__PURE__ */ i(Bt, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ i(_e.Indicator, {}),
2553
- /* @__PURE__ */ x(O, { gap: "1", flex: "1", maxWidth: "100%", children: [
2629
+ l.type === "loading" ? /* @__PURE__ */ i(Ft, { size: "sm", color: "blue.solid" }) : /* @__PURE__ */ i(_e.Indicator, {}),
2630
+ /* @__PURE__ */ x(H, { gap: "1", flex: "1", maxWidth: "100%", children: [
2554
2631
  l.title && /* @__PURE__ */ i(_e.Title, { children: l.title }),
2555
2632
  l.description && /* @__PURE__ */ i(_e.Description, { children: l.description })
2556
2633
  ] }),
@@ -2558,92 +2635,95 @@ function ci(l) {
2558
2635
  l.closable && /* @__PURE__ */ i(_e.CloseTrigger, {})
2559
2636
  ] });
2560
2637
  }
2561
- const di = (l) => {
2638
+ const yi = (l) => {
2562
2639
  if (typeof document > "u") return;
2563
2640
  const e = document.documentElement, n = document.body, t = l === "dark" ? "light" : "dark";
2564
2641
  for (const o of [e, n])
2565
2642
  o && (o.classList.remove(t), o.classList.add(l), o.setAttribute("data-theme", l), o.style.colorScheme = l);
2566
- }, _t = "theme-preference", $t = Ut(null), ui = () => {
2643
+ }, _t = "theme-preference", $t = Jt(null), vi = () => {
2567
2644
  if (typeof window > "u") return "light";
2568
2645
  const l = window.localStorage.getItem(_t);
2569
2646
  return l === "dark" || l === "light" ? l : typeof window.matchMedia == "function" && window.matchMedia("(prefers-color-scheme: dark)").matches ? "dark" : "light";
2570
- }, Zi = (l) => {
2571
- const e = z(11), {
2647
+ }, co = (l) => {
2648
+ const e = A(11), {
2572
2649
  children: n,
2573
2650
  initialPreference: t
2574
2651
  } = l;
2575
2652
  let o;
2576
- e[0] !== t ? (o = t === void 0 ? ui() : t, e[0] = t, e[1] = o) : o = e[1];
2577
- const r = o, [s, a] = me(r);
2653
+ e[0] !== t ? (o = t === void 0 ? vi() : t, e[0] = t, e[1] = o) : o = e[1];
2654
+ const s = o, [r, a] = pe(s);
2578
2655
  let c, d;
2579
- e[2] !== s ? (c = () => {
2580
- di(s), typeof window < "u" && window.localStorage.setItem(_t, s);
2581
- }, d = [s], e[2] = s, e[3] = c, e[4] = d) : (c = e[3], d = e[4]), Ge(c, d);
2656
+ e[2] !== r ? (c = () => {
2657
+ yi(r), typeof window < "u" && window.localStorage.setItem(_t, r);
2658
+ }, d = [r], e[2] = r, e[3] = c, e[4] = d) : (c = e[3], d = e[4]), ze(c, d);
2582
2659
  let u;
2583
- e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = () => a(fi), e[5] = u) : u = e[5];
2584
- const g = u;
2585
- let f;
2586
- e[6] !== s ? (f = {
2587
- themePreference: s,
2660
+ e[5] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (u = () => a(Ci), e[5] = u) : u = e[5];
2661
+ const f = u;
2662
+ let g;
2663
+ e[6] !== r ? (g = {
2664
+ themePreference: r,
2588
2665
  setThemePreference: a,
2589
- toggleThemePreference: g
2590
- }, e[6] = s, e[7] = f) : f = e[7];
2666
+ toggleThemePreference: f
2667
+ }, e[6] = r, e[7] = g) : g = e[7];
2591
2668
  let h;
2592
- return e[8] !== n || e[9] !== f ? (h = /* @__PURE__ */ i($t, { value: f, children: n }), e[8] = n, e[9] = f, e[10] = h) : h = e[10], h;
2593
- }, eo = () => {
2594
- const l = Yt($t);
2669
+ return e[8] !== n || e[9] !== g ? (h = /* @__PURE__ */ i($t, { value: g, children: n }), e[8] = n, e[9] = g, e[10] = h) : h = e[10], h;
2670
+ }, uo = () => {
2671
+ const l = Qt($t);
2595
2672
  if (!l)
2596
2673
  throw new Error("useThemePreference must be used within a ThemePreferenceProvider");
2597
2674
  return l;
2598
2675
  };
2599
- function fi(l) {
2676
+ function Ci(l) {
2600
2677
  return l === "dark" ? "light" : "dark";
2601
2678
  }
2602
2679
  export {
2603
- Cn as AlertMessage,
2604
- zi as Breadcrumb,
2605
- lo as ChakraProvider,
2606
- wn as Checkbox,
2607
- Gi as CodeDiffEditor,
2608
- Ai as CodeEditor,
2609
- Dn as ContentPlaceholder,
2610
- Oi as ContentPlaceholderLabel,
2611
- Mi as DeleteConfirmationModal,
2680
+ jt as AlertMessage,
2681
+ Vi as Breadcrumb,
2682
+ ho as ChakraProvider,
2683
+ Pn as Checkbox,
2684
+ Xi as CodeDiffEditor,
2685
+ ji as CodeEditor,
2686
+ Ln as ContentPlaceholder,
2687
+ Ui as ContentPlaceholderLabel,
2688
+ Yi as DeleteConfirmationModal,
2612
2689
  bt as DiffBubble,
2613
- Ni as DiffDrawer,
2614
- yl as DisplayMenu,
2615
- Hi as DocsChangelog,
2616
- Wi as DocsOutline,
2617
- Bi as DocsPagination,
2618
- Fi as DocsSidebar,
2690
+ Ki as DiffDrawer,
2691
+ $l as DisplayMenu,
2692
+ qi as DocsChangelog,
2693
+ Ji as DocsOutline,
2694
+ Qi as DocsPagination,
2695
+ Zi as DocsSidebar,
2619
2696
  Ke as EmptyState,
2620
- Vi as ErrorBoundary,
2621
- Cl as FilterMenu,
2622
- ji as FolderPickerDialog,
2623
- Xi as HorizontalMenuStack,
2624
- Bn as ItemSection,
2625
- Oe as MenuItem,
2626
- Ui as OpenSourceNoticesScreen,
2627
- jn as PanelMenu,
2628
- Yi as Properties,
2629
- ve as ScrollArea,
2630
- tl as SessionIndicator,
2631
- Ki as SidebarNext,
2632
- ll as SidebarTree,
2633
- Ji as Switch,
2634
- Zi as ThemePreferenceProvider,
2635
- kl as TicketBoard,
2697
+ eo as ErrorBoundary,
2698
+ Rl as FilterMenu,
2699
+ to as FolderPickerDialog,
2700
+ no as HorizontalMenuStack,
2701
+ jn as ItemSection,
2702
+ Re as MenuItem,
2703
+ lo as OpenSourceNoticesScreen,
2704
+ Yn as PanelMenu,
2705
+ io as Properties,
2706
+ ye as ScrollArea,
2707
+ ll as SearchableMenu,
2708
+ sl as SessionIndicator,
2709
+ oo as SidebarNext,
2710
+ gl as SidebarTree,
2711
+ ro as Switch,
2712
+ co as ThemePreferenceProvider,
2713
+ zl as TicketBoard,
2636
2714
  Tt as TicketCard,
2637
- $l as TicketList,
2638
- qi as TicketsWorkspace,
2639
- Qi as Toaster,
2715
+ Hl as TicketList,
2716
+ so as TicketsWorkspace,
2717
+ ao as Toaster,
2640
2718
  Le as Tooltip,
2641
- di as applyThemePreference,
2642
- ui as getInitialThemePreference,
2643
- oo as psTheme,
2644
- ai as toaster,
2719
+ yi as applyThemePreference,
2720
+ vi as getInitialThemePreference,
2721
+ mo as psTheme,
2722
+ rl as resolveSessionIndicatorColor,
2723
+ ol as resolveSessionIndicatorIcon,
2724
+ xi as toaster,
2645
2725
  $e as useSidebarNextStore,
2646
- eo as useThemePreference,
2647
- he as useTicketsWorkspaceStore
2726
+ uo as useThemePreference,
2727
+ be as useTicketsWorkspaceStore
2648
2728
  };
2649
2729
  //# sourceMappingURL=index.js.map