@pstdio/ui 0.45.0-nightly.20261021030241 → 0.45.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (133) hide show
  1. package/dist/{EquationComponent-DDd5UoIP.js → EquationComponent-BtOgXA3g.js} +3 -5
  2. package/dist/{EquationComponent-DDd5UoIP.js.map → EquationComponent-BtOgXA3g.js.map} +1 -1
  3. package/dist/{MermaidComponent-CTWuGAqI.js → MermaidComponent--W7gDFCk.js} +4 -5
  4. package/dist/{MermaidComponent-CTWuGAqI.js.map → MermaidComponent--W7gDFCk.js.map} +1 -1
  5. package/dist/activity-timeline-D-IDENMg.js +349 -0
  6. package/dist/activity-timeline-D-IDENMg.js.map +1 -0
  7. package/dist/{apply-theme-preference-B0vCu8zY.d.ts → apply-theme-preference-Wdm8bz5f.d.ts} +0 -2
  8. package/dist/{browser-storage-C_ipoNwP.js → browser-storage-CIj_9R9x.js} +2 -3
  9. package/dist/{browser-storage-C_ipoNwP.js.map → browser-storage-CIj_9R9x.js.map} +1 -1
  10. package/dist/chat-ui.d.ts +2 -40
  11. package/dist/chat-ui.js +219 -280
  12. package/dist/chat-ui.js.map +1 -1
  13. package/dist/{collection-view-fields-tMtZmuhS.d.ts → collection-view-fields-CBlYAPxD.d.ts} +1 -9
  14. package/dist/{collection-view-grouping-BQMfKdQG.js → collection-view-grouping-BHuFPVAV.js} +3 -4
  15. package/dist/{collection-view-grouping-BQMfKdQG.js.map → collection-view-grouping-BHuFPVAV.js.map} +1 -1
  16. package/dist/{collection-view-search-DS9U9WAl.js → collection-view-search-CLvyY0cg.js} +21 -35
  17. package/dist/{collection-view-search-DS9U9WAl.js.map → collection-view-search-CLvyY0cg.js.map} +1 -1
  18. package/dist/collection-view.d.ts +1 -15
  19. package/dist/collection-view.js +3 -4
  20. package/dist/collection-view.js.map +1 -1
  21. package/dist/{data-table-stat-chart-content-waJAm_nt.js → data-table-stat-chart-content-CJVgiHlL.js} +2 -3
  22. package/dist/{data-table-stat-chart-content-waJAm_nt.js.map → data-table-stat-chart-content-CJVgiHlL.js.map} +1 -1
  23. package/dist/data-table.d.ts +2 -14
  24. package/dist/data-table.js +16 -22
  25. package/dist/data-table.js.map +1 -1
  26. package/dist/{diff-bubble-DewUd_2w.js → diff-bubble-DietCcSc.js} +2 -3
  27. package/dist/{diff-bubble-DewUd_2w.js.map → diff-bubble-DietCcSc.js.map} +1 -1
  28. package/dist/{diff-drawer-ByJsQg8F.js → diff-drawer-COlghuX8.js} +11 -25
  29. package/dist/{diff-drawer-ByJsQg8F.js.map → diff-drawer-COlghuX8.js.map} +1 -1
  30. package/dist/{diff-editor-CGpeyoCE.js → diff-editor-BMBk4KXR.js} +3 -4
  31. package/dist/{diff-editor-CGpeyoCE.js.map → diff-editor-BMBk4KXR.js.map} +1 -1
  32. package/dist/{diff-size-Dydn_Uw5.js → diff-size-BR8D-bcL.js} +2 -3
  33. package/dist/{diff-size-Dydn_Uw5.js.map → diff-size-BR8D-bcL.js.map} +1 -1
  34. package/dist/{diff-viewer-ChEyTNpa.js → diff-viewer-nCYtig03.js} +10 -15
  35. package/dist/{diff-viewer-ChEyTNpa.js.map → diff-viewer-nCYtig03.js.map} +1 -1
  36. package/dist/diff.d.ts +0 -22
  37. package/dist/diff.js +8 -9
  38. package/dist/{display-sort-control-BUMkmlIu.js → display-sort-control-DXXkOgUC.js} +6 -7
  39. package/dist/{display-sort-control-BUMkmlIu.js.map → display-sort-control-DXXkOgUC.js.map} +1 -1
  40. package/dist/{drop-indicator-HjlBSIeV.js → drop-indicator-66rhST1K.js} +2 -3
  41. package/dist/{drop-indicator-HjlBSIeV.js.map → drop-indicator-66rhST1K.js.map} +1 -1
  42. package/dist/{edit-mode-data-table-MKEjfFUw.js → edit-mode-data-table-lvGsQ1Da.js} +17 -27
  43. package/dist/{edit-mode-data-table-MKEjfFUw.js.map → edit-mode-data-table-lvGsQ1Da.js.map} +1 -1
  44. package/dist/{empty-state-3mVV_pV-.js → empty-state-J96iLli9.js} +2 -3
  45. package/dist/{empty-state-3mVV_pV-.js.map → empty-state-J96iLli9.js.map} +1 -1
  46. package/dist/{file-change-badge-0QFNv82B.js → file-change-badge-5_T5hnWQ.js} +2 -3
  47. package/dist/{file-change-badge-0QFNv82B.js.map → file-change-badge-5_T5hnWQ.js.map} +1 -1
  48. package/dist/{host-storage-28AkEy1N.js → host-storage-CtscVB4w.js} +3 -4
  49. package/dist/{host-storage-28AkEy1N.js.map → host-storage-CtscVB4w.js.map} +1 -1
  50. package/dist/{host-storage-J0089Hyk.d.ts → host-storage-SnBKPpbc.d.ts} +0 -2
  51. package/dist/{icon-options-DpzDAnlu.js → icon-options-DJmsp8bw.js} +2 -4
  52. package/dist/{icon-options-DpzDAnlu.js.map → icon-options-DJmsp8bw.js.map} +1 -1
  53. package/dist/{index-3H4B61XK.d.ts → index-B0bZ__Yf.d.ts} +1 -5
  54. package/dist/{index-DlmvvQ6x.d.ts → index-CYiWcIGu.d.ts} +0 -18
  55. package/dist/{index-C0PaeiBy.d.ts → index-DYCXgPCg.d.ts} +2 -34
  56. package/dist/{index-eV_0Gjzo.d.ts → index-DzVOXj8n.d.ts} +1 -37
  57. package/dist/index.d.ts +6 -156
  58. package/dist/index.js +973 -958
  59. package/dist/index.js.map +1 -1
  60. package/dist/kanban-renderer.d.ts +2 -2
  61. package/dist/kanban-renderer.js +24 -44
  62. package/dist/kanban-renderer.js.map +1 -1
  63. package/dist/{list-row-BDDAVuVd.js → list-row-Dqb5Xfjf.js} +12 -39
  64. package/dist/{list-row-BDDAVuVd.js.map → list-row-Dqb5Xfjf.js.map} +1 -1
  65. package/dist/{markdown-editor-BPGIS9ku.js → markdown-editor-D419iTD2.js} +65 -159
  66. package/dist/markdown-editor-D419iTD2.js.map +1 -0
  67. package/dist/{mermaid-renderer-BtW_13Sz.js → mermaid-renderer-B8LpF3rD.js} +6 -12
  68. package/dist/{mermaid-renderer-BtW_13Sz.js.map → mermaid-renderer-B8LpF3rD.js.map} +1 -1
  69. package/dist/mermaid.d.ts +0 -2
  70. package/dist/mermaid.js +1 -2
  71. package/dist/{monaco-browser-CLRPSE4-.js → monaco-browser-BBIyiPtL.js} +2 -3
  72. package/dist/{monaco-browser-CLRPSE4-.js.map → monaco-browser-BBIyiPtL.js.map} +1 -1
  73. package/dist/{number-input-QDqWYzTR.js → number-input-DzRvKj64.js} +3 -4
  74. package/dist/{number-input-QDqWYzTR.js.map → number-input-DzRvKj64.js.map} +1 -1
  75. package/dist/{param-editor-Bva0M7Ns.js → param-editor-DyIO1rSf.js} +8 -14
  76. package/dist/{param-editor-Bva0M7Ns.js.map → param-editor-DyIO1rSf.js.map} +1 -1
  77. package/dist/{param-editor-field-BPBlweVg.js → param-editor-field-Bt7NP9OH.js} +682 -676
  78. package/dist/param-editor-field-Bt7NP9OH.js.map +1 -0
  79. package/dist/param-editor.d.ts +0 -66
  80. package/dist/param-editor.js +3 -3
  81. package/dist/prism-CQBZiF5P.js +391 -0
  82. package/dist/prism-CQBZiF5P.js.map +1 -0
  83. package/dist/{queued-follow-up-Bj_vtMgd.js → queued-follow-up-Bl8TC36-.js} +2 -3
  84. package/dist/{queued-follow-up-Bj_vtMgd.js.map → queued-follow-up-Bl8TC36-.js.map} +1 -1
  85. package/dist/{radio-CiFrDN6O.js → radio-BPnviQ4h.js} +2 -3
  86. package/dist/{radio-CiFrDN6O.js.map → radio-BPnviQ4h.js.map} +1 -1
  87. package/dist/{resolve-icon-component-Dy0pOuj5.js → resolve-icon-component-BrIOFsnC.js} +3 -4
  88. package/dist/{resolve-icon-component-Dy0pOuj5.js.map → resolve-icon-component-BrIOFsnC.js.map} +1 -1
  89. package/dist/{resource-badge-DGwekS-G.d.ts → resource-badge-C73K0Vg9.d.ts} +0 -4
  90. package/dist/{rich-text-CH2psble.js → rich-text-DBpBdWtn.js} +75 -104
  91. package/dist/{rich-text-CH2psble.js.map → rich-text-DBpBdWtn.js.map} +1 -1
  92. package/dist/rich-text.d.ts +1 -1
  93. package/dist/rich-text.js +3 -3
  94. package/dist/{rolldown-runtime-Dy4uBu1J.js → rolldown-runtime-CGnMp29N.js} +1 -2
  95. package/dist/{scroll-area-IeoRS73V.js → scroll-area-BfAlvhjh.js} +3 -5
  96. package/dist/{scroll-area-IeoRS73V.js.map → scroll-area-BfAlvhjh.js.map} +1 -1
  97. package/dist/split-panel-motion-context-B8QvAyTv.js +6 -0
  98. package/dist/{split-panel-motion-context-YB0sduVv.js.map → split-panel-motion-context-B8QvAyTv.js.map} +1 -1
  99. package/dist/terminal.d.ts +1 -11
  100. package/dist/terminal.js +7 -15
  101. package/dist/terminal.js.map +1 -1
  102. package/dist/{theme-kKuLN2jb.js → theme-BMHkV5Ry.js} +2 -3
  103. package/dist/{theme-kKuLN2jb.js.map → theme-BMHkV5Ry.js.map} +1 -1
  104. package/dist/{theme-preference-BV4cbJNB.js → theme-preference-Bdi0s7vE.js} +10 -19
  105. package/dist/{theme-preference-BV4cbJNB.js.map → theme-preference-Bdi0s7vE.js.map} +1 -1
  106. package/dist/{theme-BsStBWWL.js → theme-rmCwx-aG.js} +30 -14
  107. package/dist/theme-rmCwx-aG.js.map +1 -0
  108. package/dist/theme.d.ts +1 -1
  109. package/dist/theme.js +2 -2
  110. package/dist/{tree-list-aNC_UTGS.js → tree-list-Bg8U7ZYc.js} +31 -65
  111. package/dist/{tree-list-aNC_UTGS.js.map → tree-list-Bg8U7ZYc.js.map} +1 -1
  112. package/dist/{use-virtualizer-CqDYJolY.js → use-virtualizer-B6ABIiNI.js} +2 -3
  113. package/dist/{use-virtualizer-CqDYJolY.js.map → use-virtualizer-B6ABIiNI.js.map} +1 -1
  114. package/dist/{workspace-badge-BMjS8ii4.d.ts → workspace-badge-DI6ZpW9Z.d.ts} +0 -6
  115. package/dist/{workspace-badge-DqQKSUJw.js → workspace-badge-Dqi-Sh_Q.js} +3 -4
  116. package/dist/{workspace-badge-DqQKSUJw.js.map → workspace-badge-Dqi-Sh_Q.js.map} +1 -1
  117. package/dist-monaco/assets/{css.worker-DFdt6_zu.js → css.worker-D55UB6Ki.js} +7 -7
  118. package/dist-monaco/assets/editor.worker-C3R1XRkp.js +26 -0
  119. package/dist-monaco/assets/{html.worker-JUzsMP-j.js → html.worker-CFLR1M2C.js} +7 -7
  120. package/dist-monaco/assets/json.worker-DJ19GkSR.js +58 -0
  121. package/dist-monaco/assets/{ts.worker-CmEKzkmF.js → ts.worker-DJNYEI7I.js} +32 -32
  122. package/dist-monaco/monaco.js +188 -188
  123. package/package.json +2 -2
  124. package/dist/alert-CO-uOKLm.js +0 -409
  125. package/dist/alert-CO-uOKLm.js.map +0 -1
  126. package/dist/markdown-editor-BPGIS9ku.js.map +0 -1
  127. package/dist/param-editor-field-BPBlweVg.js.map +0 -1
  128. package/dist/prism-E3-NXX_t.js +0 -335
  129. package/dist/prism-E3-NXX_t.js.map +0 -1
  130. package/dist/split-panel-motion-context-YB0sduVv.js +0 -7
  131. package/dist/theme-BsStBWWL.js.map +0 -1
  132. package/dist-monaco/assets/editor.worker-O-CH8JUO.js +0 -26
  133. package/dist-monaco/assets/json.worker-B4dEhy0e.js +0 -58
@@ -1,79 +1,79 @@
1
- import { i as e, r as t, t as n } from "./list-row-BDDAVuVd.js";
2
- import { i as r, n as i, o as a, r as o, s, t as c } from "./prism-E3-NXX_t.js";
3
- import { t as l } from "./icon-options-DpzDAnlu.js";
4
- import { n as u, r as d, t as f } from "./number-input-QDqWYzTR.js";
5
- import { Badge as p, Box as m, Button as h, ColorPicker as g, Flex as _, Grid as v, Group as y, HStack as b, Icon as x, IconButton as S, Image as C, Input as w, Menu as T, Popover as E, Portal as D, Spinner as O, Stack as k, Text as A, Textarea as j, Wrap as M, parseColor as N } from "@chakra-ui/react";
6
- import { c as P } from "react/compiler-runtime";
7
- import { Fragment as F, jsx as I, jsxs as L } from "react/jsx-runtime";
8
- import { useEffect as R, useRef as z, useState as B } from "react";
9
- import { Check as V, ChevronDown as H, CircleAlert as U, CircleCheck as W, Clock3 as G, Paperclip as K, Plus as q } from "lucide-react";
10
- //#region src/components/param-editor/param-editor-control-item.tsx
11
- var J = (e) => {
12
- let t = P(17), { name: n, description: r, hideLabel: i, fullWidth: a, orientation: o, labelTrailing: s, children: c } = e, l = i !== void 0 && i, u = a !== void 0 && a, f = o === void 0 ? "auto" : o, p;
13
- t[0] !== r || t[1] !== l || t[2] !== n ? (p = l || !n ? null : /* @__PURE__ */ I(d, {
1
+ import { i as e, r as t, t as n } from "./list-row-Dqb5Xfjf.js";
2
+ import { c as r, i, n as a, o, r as s, s as c, t as l } from "./prism-CQBZiF5P.js";
3
+ import { t as u } from "./icon-options-DJmsp8bw.js";
4
+ import { n as d, r as f, t as p } from "./number-input-DzRvKj64.js";
5
+ import { Badge as m, Box as h, Button as g, ColorPicker as _, Flex as v, Grid as y, Group as b, HStack as x, Icon as S, IconButton as C, Image as w, Input as T, Menu as E, Popover as D, Portal as O, Spinner as k, Stack as A, Text as j, Textarea as M, Wrap as N, parseColor as P } from "@chakra-ui/react";
6
+ import { c as F } from "react/compiler-runtime";
7
+ import { Fragment as I, jsx as L, jsxs as R } from "react/jsx-runtime";
8
+ import { useEffect as z, useRef as B, useState as V } from "react";
9
+ import { Check as H, ChevronDown as U, CircleAlert as W, CircleCheck as G, Clock3 as K, Paperclip as q, Plus as J } from "lucide-react";
10
+ // src/components/param-editor/param-editor-control-item.tsx
11
+ var Y = (e) => {
12
+ let t = F(17), { name: n, description: r, hideLabel: i, fullWidth: a, orientation: o, labelTrailing: s, children: c } = e, l = i !== void 0 && i, u = a !== void 0 && a, d = o === void 0 ? "auto" : o, p;
13
+ t[0] !== r || t[1] !== l || t[2] !== n ? (p = l || !n ? null : /* @__PURE__ */ L(f, {
14
14
  name: n,
15
15
  description: r
16
16
  }), t[0] = r, t[1] = l, t[2] = n, t[3] = p) : p = t[3];
17
- let h = p;
18
- if ((f === "auto" ? u ? "stacked" : "inline" : f) === "stacked") {
19
- let e = h || s, n;
20
- t[4] !== e || t[5] !== h || t[6] !== s ? (n = e ? /* @__PURE__ */ L(_, {
17
+ let m = p;
18
+ if ((d === "auto" ? u ? "stacked" : "inline" : d) === "stacked") {
19
+ let e = m || s, n;
20
+ t[4] !== e || t[5] !== m || t[6] !== s ? (n = e ? /* @__PURE__ */ R(v, {
21
21
  alignItems: "center",
22
22
  justifyContent: "space-between",
23
23
  gap: "xs",
24
24
  mb: "xs",
25
25
  minW: "0",
26
- children: [h, s]
27
- }) : null, t[4] = e, t[5] = h, t[6] = s, t[7] = n) : n = t[7];
26
+ children: [m, s]
27
+ }) : null, t[4] = e, t[5] = m, t[6] = s, t[7] = n) : n = t[7];
28
28
  let r;
29
- return t[8] !== c || t[9] !== n ? (r = /* @__PURE__ */ L(m, {
29
+ return t[8] !== c || t[9] !== n ? (r = /* @__PURE__ */ R(h, {
30
30
  minW: "0",
31
31
  children: [n, c]
32
32
  }), t[8] = c, t[9] = n, t[10] = r) : r = t[10], r;
33
33
  }
34
34
  let g;
35
- t[11] !== c || t[12] !== s ? (g = /* @__PURE__ */ L(_, {
35
+ t[11] !== c || t[12] !== s ? (g = /* @__PURE__ */ R(v, {
36
36
  alignItems: "center",
37
37
  gap: "xs",
38
38
  minW: "0",
39
39
  children: [s, c]
40
40
  }), t[11] = c, t[12] = s, t[13] = g) : g = t[13];
41
- let v;
42
- return t[14] !== h || t[15] !== g ? (v = /* @__PURE__ */ L(_, {
41
+ let _;
42
+ return t[14] !== m || t[15] !== g ? (_ = /* @__PURE__ */ R(v, {
43
43
  alignItems: "center",
44
44
  justifyContent: "space-between",
45
45
  minHeight: "2rem",
46
46
  gap: "xs",
47
47
  minW: "0",
48
- children: [h, g]
49
- }), t[14] = h, t[15] = g, t[16] = v) : v = t[16], v;
50
- }, Y = (e) => {
51
- let t = P(8), n, r, i;
48
+ children: [m, g]
49
+ }), t[14] = m, t[15] = g, t[16] = _) : _ = t[16], _;
50
+ }, X = (e) => {
51
+ let t = F(8), n, r, i;
52
52
  t[0] === e ? (n = t[1], r = t[2], i = t[3]) : ({children: r, preserveWhitespace: i, ...n} = e, t[0] = e, t[1] = n, t[2] = r, t[3] = i);
53
53
  let a = i !== void 0 && i ? "pre-wrap" : void 0, o;
54
- return t[4] !== n || t[5] !== r || t[6] !== a ? (o = /* @__PURE__ */ I(m, {
54
+ return t[4] !== n || t[5] !== r || t[6] !== a ? (o = /* @__PURE__ */ L(h, {
55
55
  minW: "0",
56
56
  textStyle: "label/S/regular",
57
57
  whiteSpace: a,
58
58
  ...n,
59
59
  children: r
60
60
  }), t[4] = n, t[5] = r, t[6] = a, t[7] = o) : o = t[7], o;
61
- }, X = (e) => {
62
- let t = P(27), { id: n, name: r, description: a, defaultValue: o, onChange: s, readOnly: c, hideLabel: l, fullWidth: u, size: d } = e, f = d === void 0 ? "sm" : d, [p, m] = B(o), h, g;
61
+ }, ee = (e) => {
62
+ let t = F(27), { id: n, name: r, description: i, defaultValue: o, onChange: s, readOnly: c, hideLabel: l, fullWidth: u, size: d } = e, f = d === void 0 ? "sm" : d, [p, m] = V(o), h, g;
63
63
  if (t[0] === o ? (h = t[1], g = t[2]) : (h = () => {
64
64
  m(o);
65
- }, g = [o], t[0] = o, t[1] = h, t[2] = g), R(h, g), c) {
65
+ }, g = [o], t[0] = o, t[1] = h, t[2] = g), z(h, g), c) {
66
66
  let e = String(p), n;
67
- t[3] === e ? n = t[4] : (n = /* @__PURE__ */ I(Y, { children: e }), t[3] = e, t[4] = n);
68
- let i;
69
- return t[5] !== a || t[6] !== u || t[7] !== l || t[8] !== r || t[9] !== n ? (i = /* @__PURE__ */ I(J, {
67
+ t[3] === e ? n = t[4] : (n = /* @__PURE__ */ L(X, { children: e }), t[3] = e, t[4] = n);
68
+ let a;
69
+ return t[5] !== i || t[6] !== u || t[7] !== l || t[8] !== r || t[9] !== n ? (a = /* @__PURE__ */ L(Y, {
70
70
  name: r,
71
- description: a,
71
+ description: i,
72
72
  hideLabel: l,
73
73
  fullWidth: u,
74
74
  orientation: "inline",
75
75
  children: n
76
- }), t[5] = a, t[6] = u, t[7] = l, t[8] = r, t[9] = n, t[10] = i) : i = t[10], i;
76
+ }), t[5] = i, t[6] = u, t[7] = l, t[8] = r, t[9] = n, t[10] = a) : a = t[10], a;
77
77
  }
78
78
  let _;
79
79
  t[11] === r ? _ = t[12] : (_ = { "aria-label": r }, t[11] = r, t[12] = _);
@@ -82,30 +82,30 @@ var J = (e) => {
82
82
  m(e.checked), s(n, e.checked);
83
83
  }, t[13] = n, t[14] = s, t[15] = v) : v = t[15];
84
84
  let y;
85
- t[16] !== f || t[17] !== _ || t[18] !== v || t[19] !== p ? (y = /* @__PURE__ */ I(i, {
85
+ t[16] !== f || t[17] !== _ || t[18] !== v || t[19] !== p ? (y = /* @__PURE__ */ L(a, {
86
86
  size: f,
87
87
  checked: p,
88
88
  inputProps: _,
89
89
  onCheckedChange: v
90
90
  }), t[16] = f, t[17] = _, t[18] = v, t[19] = p, t[20] = y) : y = t[20];
91
91
  let b;
92
- return t[21] !== a || t[22] !== u || t[23] !== l || t[24] !== r || t[25] !== y ? (b = /* @__PURE__ */ I(J, {
92
+ return t[21] !== i || t[22] !== u || t[23] !== l || t[24] !== r || t[25] !== y ? (b = /* @__PURE__ */ L(Y, {
93
93
  name: r,
94
- description: a,
94
+ description: i,
95
95
  hideLabel: l,
96
96
  fullWidth: u,
97
97
  orientation: "inline",
98
98
  children: y
99
- }), t[21] = a, t[22] = u, t[23] = l, t[24] = r, t[25] = y, t[26] = b) : b = t[26], b;
100
- }, ee = (e) => {
101
- let t = P(69), { id: n, defaultValue: r, name: i, onChange: a, description: o, readOnly: s, hideLabel: c, fullWidth: l, size: u } = e, f = c !== void 0 && c, p = l !== void 0 && l, h = u === void 0 ? "sm" : u, [v, y] = B(r), [b, x] = B(!1), S = z(null), C = z(null), w = z(null), T;
99
+ }), t[21] = i, t[22] = u, t[23] = l, t[24] = r, t[25] = y, t[26] = b) : b = t[26], b;
100
+ }, te = (e) => {
101
+ let t = F(69), { id: n, defaultValue: r, name: i, onChange: a, description: o, readOnly: s, hideLabel: c, fullWidth: l, size: u } = e, d = c !== void 0 && c, p = l !== void 0 && l, m = u === void 0 ? "sm" : u, [g, y] = V(r), [b, x] = V(!1), S = B(null), C = B(null), w = B(null), T;
102
102
  t[0] !== n || t[1] !== a ? (T = (e) => {
103
103
  w.current && clearTimeout(w.current), w.current = setTimeout(() => a(n, e), 540);
104
104
  }, t[0] = n, t[1] = a, t[2] = T) : T = t[2];
105
105
  let E = T, D, O;
106
106
  t[3] === r ? (D = t[4], O = t[5]) : (D = () => {
107
107
  y(r);
108
- }, O = [r], t[3] = r, t[4] = D, t[5] = O), R(D, O);
108
+ }, O = [r], t[3] = r, t[4] = D, t[5] = O), z(D, O);
109
109
  let k, A;
110
110
  t[6] === b ? (k = t[7], A = t[8]) : (k = () => {
111
111
  if (!b) return;
@@ -118,53 +118,53 @@ var J = (e) => {
118
118
  return document.addEventListener("focusin", t, !0), document.addEventListener("pointerdown", t, !0), document.addEventListener("click", t, !0), () => {
119
119
  document.removeEventListener("focusin", t, !0), document.removeEventListener("pointerdown", t, !0), document.removeEventListener("click", t, !0);
120
120
  };
121
- }, A = [b], t[6] = b, t[7] = k, t[8] = A), R(k, A);
121
+ }, A = [b], t[6] = b, t[7] = k, t[8] = A), z(k, A);
122
122
  let j;
123
123
  t[9] === E ? j = t[10] : (j = (e) => {
124
124
  y(e), E(e);
125
125
  }, t[9] = E, t[10] = j);
126
- let M = j, F;
127
- t[11] === Symbol.for("react.memo_cache_sentinel") ? (F = (e) => {
126
+ let M = j, N;
127
+ t[11] === Symbol.for("react.memo_cache_sentinel") ? (N = (e) => {
128
128
  let t = e.currentTarget;
129
129
  setTimeout(() => {
130
130
  t.contains(t.ownerDocument.activeElement) || x(!1);
131
131
  });
132
- }, t[11] = F) : F = t[11];
133
- let V = F;
132
+ }, t[11] = N) : N = t[11];
133
+ let I = N;
134
134
  if (s) {
135
135
  let e;
136
- t[12] === v ? e = t[13] : (e = /* @__PURE__ */ I(Y, { children: /* @__PURE__ */ L(_, {
136
+ t[12] === g ? e = t[13] : (e = /* @__PURE__ */ L(X, { children: /* @__PURE__ */ R(v, {
137
137
  alignItems: "center",
138
138
  gap: "xs",
139
- children: [/* @__PURE__ */ I(m, {
139
+ children: [/* @__PURE__ */ L(h, {
140
140
  boxSize: "0.75rem",
141
141
  borderRadius: "xs",
142
- bg: v
143
- }), /* @__PURE__ */ I(m, {
142
+ bg: g
143
+ }), /* @__PURE__ */ L(h, {
144
144
  as: "span",
145
- children: v
145
+ children: g
146
146
  })]
147
- }) }), t[12] = v, t[13] = e);
147
+ }) }), t[12] = g, t[13] = e);
148
148
  let n = e;
149
149
  if (p) {
150
150
  let e;
151
- t[14] !== o || t[15] !== f || t[16] !== i ? (e = !f && /* @__PURE__ */ I(m, {
151
+ t[14] !== o || t[15] !== d || t[16] !== i ? (e = !d && /* @__PURE__ */ L(h, {
152
152
  mb: "xs",
153
- children: /* @__PURE__ */ I(d, {
153
+ children: /* @__PURE__ */ L(f, {
154
154
  name: i,
155
155
  description: o
156
156
  })
157
- }), t[14] = o, t[15] = f, t[16] = i, t[17] = e) : e = t[17];
157
+ }), t[14] = o, t[15] = d, t[16] = i, t[17] = e) : e = t[17];
158
158
  let r;
159
- return t[18] !== e || t[19] !== n ? (r = /* @__PURE__ */ L(m, { children: [e, n] }), t[18] = e, t[19] = n, t[20] = r) : r = t[20], r;
159
+ return t[18] !== e || t[19] !== n ? (r = /* @__PURE__ */ R(h, { children: [e, n] }), t[18] = e, t[19] = n, t[20] = r) : r = t[20], r;
160
160
  }
161
161
  let r;
162
- t[21] !== o || t[22] !== f || t[23] !== i ? (r = !f && /* @__PURE__ */ I(d, {
162
+ t[21] !== o || t[22] !== d || t[23] !== i ? (r = !d && /* @__PURE__ */ L(f, {
163
163
  name: i,
164
164
  description: o
165
- }), t[21] = o, t[22] = f, t[23] = i, t[24] = r) : r = t[24];
165
+ }), t[21] = o, t[22] = d, t[23] = i, t[24] = r) : r = t[24];
166
166
  let a;
167
- return t[25] !== r || t[26] !== n ? (a = /* @__PURE__ */ I(m, { children: /* @__PURE__ */ L(_, {
167
+ return t[25] !== r || t[26] !== n ? (a = /* @__PURE__ */ L(h, { children: /* @__PURE__ */ R(v, {
168
168
  alignItems: "center",
169
169
  justifyContent: "space-between",
170
170
  minHeight: "2rem",
@@ -173,7 +173,7 @@ var J = (e) => {
173
173
  }) }), t[25] = r, t[26] = n, t[27] = a) : a = t[27], a;
174
174
  }
175
175
  let H;
176
- t[28] === v ? H = t[29] : (H = N(v), t[28] = v, t[29] = H);
176
+ t[28] === g ? H = t[29] : (H = P(g), t[28] = g, t[29] = H);
177
177
  let U, W, G;
178
178
  t[30] === Symbol.for("react.memo_cache_sentinel") ? (U = (e) => x(e.open), W = () => x(!1), G = () => x(!1), t[30] = U, t[31] = W, t[32] = G) : (U = t[30], W = t[31], G = t[32]);
179
179
  let K;
@@ -185,51 +185,51 @@ var J = (e) => {
185
185
  onOpenChange: U,
186
186
  onFocusOutside: W,
187
187
  onInteractOutside: G,
188
- onBlur: V,
188
+ onBlur: I,
189
189
  onValueChange: K,
190
190
  disabled: s
191
191
  }, t[35] = b, t[36] = s, t[37] = H, t[38] = K, t[39] = q) : q = t[39];
192
- let J = q, X = p ? "100%" : "8.75rem", ee;
193
- t[40] === Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ I(g.HiddenInput, {}), t[40] = ee) : ee = t[40];
192
+ let J = q, Y = p ? "100%" : "8.75rem", ee;
193
+ t[40] === Symbol.for("react.memo_cache_sentinel") ? (ee = /* @__PURE__ */ L(_.HiddenInput, {}), t[40] = ee) : ee = t[40];
194
194
  let te;
195
- t[41] === i ? te = t[42] : (te = /* @__PURE__ */ I(g.Label, {
195
+ t[41] === i ? te = t[42] : (te = /* @__PURE__ */ L(_.Label, {
196
196
  srOnly: !0,
197
197
  children: i
198
198
  }), t[41] = i, t[42] = te);
199
199
  let Z;
200
200
  t[43] === Symbol.for("react.memo_cache_sentinel") ? (Z = () => x(!1), t[43] = Z) : Z = t[43];
201
201
  let Q;
202
- t[44] === s ? Q = t[45] : (Q = /* @__PURE__ */ I(g.Input, {
202
+ t[44] === s ? Q = t[45] : (Q = /* @__PURE__ */ L(_.Input, {
203
203
  readOnly: s,
204
204
  onFocus: Z
205
205
  }), t[44] = s, t[45] = Q);
206
206
  let ne;
207
- t[46] === Symbol.for("react.memo_cache_sentinel") ? (ne = /* @__PURE__ */ I(g.Trigger, {}), t[46] = ne) : ne = t[46];
207
+ t[46] === Symbol.for("react.memo_cache_sentinel") ? (ne = /* @__PURE__ */ L(_.Trigger, {}), t[46] = ne) : ne = t[46];
208
208
  let re;
209
- t[47] === Q ? re = t[48] : (re = /* @__PURE__ */ L(g.Control, { children: [Q, ne] }), t[47] = Q, t[48] = re);
209
+ t[47] === Q ? re = t[48] : (re = /* @__PURE__ */ R(_.Control, { children: [Q, ne] }), t[47] = Q, t[48] = re);
210
210
  let ie, ae;
211
- t[49] === Symbol.for("react.memo_cache_sentinel") ? (ie = /* @__PURE__ */ I(g.Area, {}), ae = /* @__PURE__ */ I(g.Sliders, {}), t[49] = ie, t[50] = ae) : (ie = t[49], ae = t[50]);
211
+ t[49] === Symbol.for("react.memo_cache_sentinel") ? (ie = /* @__PURE__ */ L(_.Area, {}), ae = /* @__PURE__ */ L(_.Sliders, {}), t[49] = ie, t[50] = ae) : (ie = t[49], ae = t[50]);
212
212
  let oe;
213
- t[51] === v ? oe = t[52] : (oe = /* @__PURE__ */ I(g.Swatch, { value: v }), t[51] = v, t[52] = oe);
213
+ t[51] === g ? oe = t[52] : (oe = /* @__PURE__ */ L(_.Swatch, { value: g }), t[51] = g, t[52] = oe);
214
214
  let se;
215
- t[53] !== oe || t[54] !== v ? (se = /* @__PURE__ */ I(g.Positioner, { children: /* @__PURE__ */ L(g.Content, {
215
+ t[53] !== oe || t[54] !== g ? (se = /* @__PURE__ */ L(_.Positioner, { children: /* @__PURE__ */ R(_.Content, {
216
216
  ref: C,
217
- onBlur: V,
217
+ onBlur: I,
218
218
  children: [
219
219
  ie,
220
220
  ae,
221
- /* @__PURE__ */ I(g.SwatchGroup, { children: /* @__PURE__ */ I(g.SwatchTrigger, {
222
- value: v,
221
+ /* @__PURE__ */ L(_.SwatchGroup, { children: /* @__PURE__ */ L(_.SwatchTrigger, {
222
+ value: g,
223
223
  children: oe
224
224
  }) })
225
225
  ]
226
- }) }), t[53] = oe, t[54] = v, t[55] = se) : se = t[55];
226
+ }) }), t[53] = oe, t[54] = g, t[55] = se) : se = t[55];
227
227
  let ce;
228
- t[56] !== J || t[57] !== h || t[58] !== X || t[59] !== te || t[60] !== re || t[61] !== se ? (ce = /* @__PURE__ */ L(g.Root, {
228
+ t[56] !== J || t[57] !== m || t[58] !== Y || t[59] !== te || t[60] !== re || t[61] !== se ? (ce = /* @__PURE__ */ R(_.Root, {
229
229
  ref: S,
230
230
  ...J,
231
- size: h,
232
- width: X,
231
+ size: m,
232
+ width: Y,
233
233
  maxW: "100%",
234
234
  children: [
235
235
  ee,
@@ -237,26 +237,26 @@ var J = (e) => {
237
237
  re,
238
238
  se
239
239
  ]
240
- }), t[56] = J, t[57] = h, t[58] = X, t[59] = te, t[60] = re, t[61] = se, t[62] = ce) : ce = t[62];
240
+ }), t[56] = J, t[57] = m, t[58] = Y, t[59] = te, t[60] = re, t[61] = se, t[62] = ce) : ce = t[62];
241
241
  let le = ce, ue;
242
- return t[63] !== o || t[64] !== p || t[65] !== f || t[66] !== i || t[67] !== le ? (ue = /* @__PURE__ */ I(m, { children: p ? /* @__PURE__ */ L(m, { children: [!f && /* @__PURE__ */ I(m, {
242
+ return t[63] !== o || t[64] !== p || t[65] !== d || t[66] !== i || t[67] !== le ? (ue = /* @__PURE__ */ L(h, { children: p ? /* @__PURE__ */ R(h, { children: [!d && /* @__PURE__ */ L(h, {
243
243
  mb: "xs",
244
- children: /* @__PURE__ */ I(d, {
244
+ children: /* @__PURE__ */ L(f, {
245
245
  name: i,
246
246
  description: o
247
247
  })
248
- }), le] }) : /* @__PURE__ */ L(_, {
248
+ }), le] }) : /* @__PURE__ */ R(v, {
249
249
  alignItems: "center",
250
250
  justifyContent: "space-between",
251
251
  minHeight: "2rem",
252
252
  gap: "xs",
253
- children: [!f && /* @__PURE__ */ I(d, {
253
+ children: [!d && /* @__PURE__ */ L(f, {
254
254
  name: i,
255
255
  description: o
256
256
  }), le]
257
- }) }), t[63] = o, t[64] = p, t[65] = f, t[66] = i, t[67] = le, t[68] = ue) : ue = t[68], ue;
258
- }, te = /^(\d{4})-(\d{2})-(\d{2})$/, Z = (e) => {
259
- let t = te.exec(e);
257
+ }) }), t[63] = o, t[64] = p, t[65] = d, t[66] = i, t[67] = le, t[68] = ue) : ue = t[68], ue;
258
+ }, Z = /^(\d{4})-(\d{2})-(\d{2})$/, Q = (e) => {
259
+ let t = Z.exec(e);
260
260
  if (t) {
261
261
  let [, e, n, r] = t;
262
262
  return new Intl.DateTimeFormat(void 0, { dateStyle: "medium" }).format(new Date(Number(e), Number(n) - 1, Number(r)));
@@ -266,15 +266,15 @@ var J = (e) => {
266
266
  dateStyle: "medium",
267
267
  timeStyle: "short"
268
268
  }).format(n);
269
- }, Q = (e) => {
270
- let t = P(37), { id: n, defaultValue: r, name: i, min: a, max: o, onChange: s, description: c, readOnly: l, hideLabel: u, fullWidth: f, size: p } = e, h = u !== void 0 && u, g = f !== void 0 && f, v = p === void 0 ? "sm" : p, [y, b] = B(r), x = z(null), S;
269
+ }, ne = (e) => {
270
+ let t = F(37), { id: n, defaultValue: r, name: i, min: a, max: o, onChange: s, description: c, readOnly: l, hideLabel: u, fullWidth: d, size: p } = e, m = u !== void 0 && u, g = d !== void 0 && d, _ = p === void 0 ? "sm" : p, [y, b] = V(r), x = B(null), S;
271
271
  t[0] !== n || t[1] !== s ? (S = (e) => {
272
272
  x.current && clearTimeout(x.current), x.current = setTimeout(() => s(n, e), 540);
273
273
  }, t[0] = n, t[1] = s, t[2] = S) : S = t[2];
274
- let C = S, T, E;
275
- t[3] === r ? (T = t[4], E = t[5]) : (T = () => {
274
+ let C = S, w, E;
275
+ t[3] === r ? (w = t[4], E = t[5]) : (w = () => {
276
276
  b(r);
277
- }, E = [r], t[3] = r, t[4] = T, t[5] = E), R(T, E);
277
+ }, E = [r], t[3] = r, t[4] = w, t[5] = E), z(w, E);
278
278
  let D;
279
279
  t[6] === C ? D = t[7] : (D = (e) => {
280
280
  b(e), C(e);
@@ -282,29 +282,29 @@ var J = (e) => {
282
282
  let O = D;
283
283
  if (l) {
284
284
  let e;
285
- t[8] === y ? e = t[9] : (e = Z(y), t[8] = y, t[9] = e);
285
+ t[8] === y ? e = t[9] : (e = Q(y), t[8] = y, t[9] = e);
286
286
  let n;
287
- t[10] === e ? n = t[11] : (n = /* @__PURE__ */ I(Y, { children: e }), t[10] = e, t[11] = n);
287
+ t[10] === e ? n = t[11] : (n = /* @__PURE__ */ L(X, { children: e }), t[10] = e, t[11] = n);
288
288
  let r = n;
289
289
  if (g) {
290
290
  let e;
291
- t[12] !== c || t[13] !== h || t[14] !== i ? (e = !h && /* @__PURE__ */ I(m, {
291
+ t[12] !== c || t[13] !== m || t[14] !== i ? (e = !m && /* @__PURE__ */ L(h, {
292
292
  mb: "xs",
293
- children: /* @__PURE__ */ I(d, {
293
+ children: /* @__PURE__ */ L(f, {
294
294
  name: i,
295
295
  description: c
296
296
  })
297
- }), t[12] = c, t[13] = h, t[14] = i, t[15] = e) : e = t[15];
297
+ }), t[12] = c, t[13] = m, t[14] = i, t[15] = e) : e = t[15];
298
298
  let n;
299
- return t[16] !== e || t[17] !== r ? (n = /* @__PURE__ */ L(m, { children: [e, r] }), t[16] = e, t[17] = r, t[18] = n) : n = t[18], n;
299
+ return t[16] !== e || t[17] !== r ? (n = /* @__PURE__ */ R(h, { children: [e, r] }), t[16] = e, t[17] = r, t[18] = n) : n = t[18], n;
300
300
  }
301
301
  let a;
302
- t[19] !== c || t[20] !== h || t[21] !== i ? (a = !h && /* @__PURE__ */ I(d, {
302
+ t[19] !== c || t[20] !== m || t[21] !== i ? (a = !m && /* @__PURE__ */ L(f, {
303
303
  name: i,
304
304
  description: c
305
- }), t[19] = c, t[20] = h, t[21] = i, t[22] = a) : a = t[22];
305
+ }), t[19] = c, t[20] = m, t[21] = i, t[22] = a) : a = t[22];
306
306
  let o;
307
- return t[23] !== a || t[24] !== r ? (o = /* @__PURE__ */ I(m, { children: /* @__PURE__ */ L(_, {
307
+ return t[23] !== a || t[24] !== r ? (o = /* @__PURE__ */ L(h, { children: /* @__PURE__ */ R(v, {
308
308
  alignItems: "center",
309
309
  justifyContent: "space-between",
310
310
  minHeight: "2rem",
@@ -313,98 +313,97 @@ var J = (e) => {
313
313
  }) }), t[23] = a, t[24] = r, t[25] = o) : o = t[25], o;
314
314
  }
315
315
  let k;
316
- return t[26] !== c || t[27] !== g || t[28] !== O || t[29] !== h || t[30] !== o || t[31] !== a || t[32] !== i || t[33] !== l || t[34] !== v || t[35] !== y ? (k = /* @__PURE__ */ I(m, { children: g ? /* @__PURE__ */ L(m, { children: [!h && /* @__PURE__ */ I(m, {
316
+ return t[26] !== c || t[27] !== g || t[28] !== O || t[29] !== m || t[30] !== o || t[31] !== a || t[32] !== i || t[33] !== l || t[34] !== _ || t[35] !== y ? (k = /* @__PURE__ */ L(h, { children: g ? /* @__PURE__ */ R(h, { children: [!m && /* @__PURE__ */ L(h, {
317
317
  mb: "xs",
318
- children: /* @__PURE__ */ I(d, {
318
+ children: /* @__PURE__ */ L(f, {
319
319
  name: i,
320
320
  description: c
321
321
  })
322
- }), /* @__PURE__ */ I(w, {
322
+ }), /* @__PURE__ */ L(T, {
323
323
  className: "nodrag",
324
324
  readOnly: l,
325
325
  width: "100%",
326
- size: v,
326
+ size: _,
327
327
  type: "date",
328
- placeholder: h ? i : void 0,
328
+ placeholder: m ? i : void 0,
329
329
  value: y,
330
330
  min: a,
331
331
  max: o,
332
332
  onChange: (e) => O(e.target.value),
333
- onKeyUp: ne
334
- })] }) : /* @__PURE__ */ L(_, {
333
+ onKeyUp: re
334
+ })] }) : /* @__PURE__ */ R(v, {
335
335
  alignItems: "center",
336
336
  justifyContent: "space-between",
337
337
  minHeight: "2rem",
338
338
  gap: "xs",
339
- children: [!h && /* @__PURE__ */ I(d, {
339
+ children: [!m && /* @__PURE__ */ L(f, {
340
340
  name: i,
341
341
  description: c
342
- }), /* @__PURE__ */ I(w, {
342
+ }), /* @__PURE__ */ L(T, {
343
343
  className: "nodrag",
344
344
  readOnly: l,
345
345
  width: "8.75rem",
346
- size: v,
346
+ size: _,
347
347
  type: "date",
348
- placeholder: h ? i : void 0,
348
+ placeholder: m ? i : void 0,
349
349
  value: y,
350
350
  min: a,
351
351
  max: o,
352
352
  onChange: (e) => O(e.target.value),
353
- onKeyUp: re
353
+ onKeyUp: ie
354
354
  })]
355
- }) }), t[26] = c, t[27] = g, t[28] = O, t[29] = h, t[30] = o, t[31] = a, t[32] = i, t[33] = l, t[34] = v, t[35] = y, t[36] = k) : k = t[36], k;
355
+ }) }), t[26] = c, t[27] = g, t[28] = O, t[29] = m, t[30] = o, t[31] = a, t[32] = i, t[33] = l, t[34] = _, t[35] = y, t[36] = k) : k = t[36], k;
356
356
  };
357
- function ne(e) {
357
+ function re(e) {
358
358
  e.key === "Enter" && e.currentTarget.blur();
359
359
  }
360
- function re(e) {
360
+ function ie(e) {
361
361
  e.key === "Enter" && e.currentTarget.blur();
362
362
  }
363
- //#endregion
364
- //#region src/components/param-editor/inputs/horizontal-text-input.tsx
365
- var ie = (e) => {
366
- let t = P(33), { id: n, defaultValue: r, name: i, onChange: a, description: o, readOnly: s, hideLabel: c, size: l } = e, u = c !== void 0 && c, f = l === void 0 ? "sm" : l, [p, h] = B(r), [g, v] = B(!1), y = z(null), b;
363
+ // src/components/param-editor/inputs/horizontal-text-input.tsx
364
+ var ae = (e) => {
365
+ let t = F(33), { id: n, defaultValue: r, name: i, onChange: a, description: o, readOnly: s, hideLabel: c, size: l } = e, u = c !== void 0 && c, d = l === void 0 ? "sm" : l, [p, m] = V(r), [g, _] = V(!1), y = B(null), b;
367
366
  t[0] !== n || t[1] !== a ? (b = (e) => {
368
367
  y.current && clearTimeout(y.current), y.current = setTimeout(() => a(n, e), 540);
369
368
  }, t[0] = n, t[1] = a, t[2] = b) : b = t[2];
370
369
  let x = b, S, C;
371
370
  t[3] === r ? (S = t[4], C = t[5]) : (S = () => {
372
- h(r);
373
- }, C = [r], t[3] = r, t[4] = S, t[5] = C), R(S, C);
374
- let T;
375
- t[6] === x ? T = t[7] : (T = (e) => {
376
- h(e), x(e);
377
- }, t[6] = x, t[7] = T);
378
- let E = T, D;
371
+ m(r);
372
+ }, C = [r], t[3] = r, t[4] = S, t[5] = C), z(S, C);
373
+ let w;
374
+ t[6] === x ? w = t[7] : (w = (e) => {
375
+ m(e), x(e);
376
+ }, t[6] = x, t[7] = w);
377
+ let E = w, D;
379
378
  t[8] === s ? D = t[9] : (D = () => {
380
- s || v(!0);
379
+ s || _(!0);
381
380
  }, t[8] = s, t[9] = D);
382
381
  let O = D, k;
383
382
  t[10] === p ? k = t[11] : (k = () => {
384
- p.trim().length === 0 && v(!1);
383
+ p.trim().length === 0 && _(!1);
385
384
  }, t[10] = p, t[11] = k);
386
- let A = k, M;
387
- t[12] === Symbol.for("react.memo_cache_sentinel") ? (M = (e) => {
388
- e.key === "Escape" && (v(!1), e.preventDefault());
389
- }, t[12] = M) : M = t[12];
390
- let N = M;
385
+ let A = k, j;
386
+ t[12] === Symbol.for("react.memo_cache_sentinel") ? (j = (e) => {
387
+ e.key === "Escape" && (_(!1), e.preventDefault());
388
+ }, t[12] = j) : j = t[12];
389
+ let N = j;
391
390
  if (s) {
392
391
  let e;
393
- t[13] !== o || t[14] !== u || t[15] !== i ? (e = !u && /* @__PURE__ */ I(d, {
392
+ t[13] !== o || t[14] !== u || t[15] !== i ? (e = !u && /* @__PURE__ */ L(f, {
394
393
  name: i,
395
394
  description: o
396
395
  }), t[13] = o, t[14] = u, t[15] = i, t[16] = e) : e = t[16];
397
396
  let n;
398
- t[17] === p ? n = t[18] : (n = /* @__PURE__ */ I(Y, {
397
+ t[17] === p ? n = t[18] : (n = /* @__PURE__ */ L(X, {
399
398
  preserveWhitespace: !0,
400
399
  children: p
401
400
  }), t[17] = p, t[18] = n);
402
401
  let r;
403
- return t[19] !== n || t[20] !== e ? (r = /* @__PURE__ */ I(m, {
402
+ return t[19] !== n || t[20] !== e ? (r = /* @__PURE__ */ L(h, {
404
403
  position: "relative",
405
404
  flex: "1",
406
405
  minW: "12.5rem",
407
- children: /* @__PURE__ */ L(_, {
406
+ children: /* @__PURE__ */ R(v, {
408
407
  alignItems: "center",
409
408
  justifyContent: "space-between",
410
409
  minHeight: "2rem",
@@ -413,15 +412,15 @@ var ie = (e) => {
413
412
  })
414
413
  }), t[19] = n, t[20] = e, t[21] = r) : r = t[21], r;
415
414
  }
416
- let F;
417
- return t[22] !== o || t[23] !== A || t[24] !== E || t[25] !== O || t[26] !== u || t[27] !== g || t[28] !== i || t[29] !== s || t[30] !== f || t[31] !== p ? (F = /* @__PURE__ */ I(m, {
415
+ let P;
416
+ return t[22] !== o || t[23] !== A || t[24] !== E || t[25] !== O || t[26] !== u || t[27] !== g || t[28] !== i || t[29] !== s || t[30] !== d || t[31] !== p ? (P = /* @__PURE__ */ L(h, {
418
417
  position: "relative",
419
418
  flex: "1",
420
419
  minW: "12.5rem",
421
- children: /* @__PURE__ */ I(m, {
420
+ children: /* @__PURE__ */ L(h, {
422
421
  position: "relative",
423
422
  minHeight: "2rem",
424
- children: g ? /* @__PURE__ */ L(m, {
423
+ children: g ? /* @__PURE__ */ R(h, {
425
424
  position: "absolute",
426
425
  top: "0",
427
426
  left: "0",
@@ -441,18 +440,18 @@ var ie = (e) => {
441
440
  borderColor: "border.accent-light",
442
441
  boxShadow: "none"
443
442
  },
444
- children: [!u && /* @__PURE__ */ I(m, {
443
+ children: [!u && /* @__PURE__ */ L(h, {
445
444
  mb: "sm",
446
- children: /* @__PURE__ */ I(d, {
445
+ children: /* @__PURE__ */ L(f, {
447
446
  name: i,
448
447
  description: o
449
448
  })
450
- }), /* @__PURE__ */ I(j, {
449
+ }), /* @__PURE__ */ L(M, {
451
450
  "aria-label": i,
452
451
  className: "nodrag",
453
452
  readOnly: s,
454
453
  width: "100%",
455
- size: f,
454
+ size: d,
456
455
  placeholder: u ? i : void 0,
457
456
  value: p,
458
457
  onChange: (e) => E(e.target.value),
@@ -462,65 +461,82 @@ var ie = (e) => {
462
461
  resize: "vertical",
463
462
  autoFocus: !0
464
463
  })]
465
- }) : /* @__PURE__ */ L(_, {
464
+ }) : /* @__PURE__ */ R(v, {
466
465
  alignItems: "center",
467
466
  justifyContent: "space-between",
468
467
  height: "2rem",
469
468
  gap: "xs",
470
- children: [!u && /* @__PURE__ */ I(d, {
469
+ children: [!u && /* @__PURE__ */ L(f, {
471
470
  name: i,
472
471
  description: o
473
- }), /* @__PURE__ */ I(w, {
472
+ }), /* @__PURE__ */ L(T, {
474
473
  "aria-label": i,
475
474
  className: "nodrag",
476
475
  readOnly: s,
477
476
  flex: "1",
478
477
  maxW: "12.5rem",
479
- size: f,
478
+ size: d,
480
479
  type: "text",
481
480
  placeholder: u ? i : void 0,
482
481
  value: p,
483
482
  onClick: O,
484
483
  onChange: (e) => E(e.target.value),
485
- onKeyUp: ae
484
+ onKeyUp: oe
486
485
  })]
487
486
  })
488
487
  })
489
- }), t[22] = o, t[23] = A, t[24] = E, t[25] = O, t[26] = u, t[27] = g, t[28] = i, t[29] = s, t[30] = f, t[31] = p, t[32] = F) : F = t[32], F;
488
+ }), t[22] = o, t[23] = A, t[24] = E, t[25] = O, t[26] = u, t[27] = g, t[28] = i, t[29] = s, t[30] = d, t[31] = p, t[32] = P) : P = t[32], P;
490
489
  };
491
- function ae(e) {
490
+ function oe(e) {
492
491
  e.key === "Enter" && e.currentTarget.blur();
493
492
  }
494
- //#endregion
495
- //#region src/components/rich-text/lazy-markdown-editor.tsx
496
- var oe = (e) => {
497
- let [t, n] = B(null);
498
- return R(() => {
493
+ // src/components/rich-text/lazy-markdown-editor.tsx
494
+ var se = (e) => {
495
+ let [t, n] = V({ kind: "loading" });
496
+ if (z(() => {
499
497
  let e = !1;
500
498
  return (async () => {
501
- await c();
502
- let t = await import("./markdown-editor-BPGIS9ku.js").then((e) => e.n);
503
- e || n(() => t.MarkdownEditor);
499
+ try {
500
+ await l();
501
+ let t = await import("./markdown-editor-D419iTD2.js").then((e) => e.n);
502
+ e || n({
503
+ kind: "ready",
504
+ Editor: t.MarkdownEditor
505
+ });
506
+ } catch {
507
+ e || n({ kind: "failed" });
508
+ }
504
509
  })(), () => {
505
510
  e = !0;
506
511
  };
507
- }, []), t ? /* @__PURE__ */ I(t, { ...e }) : /* @__PURE__ */ I(m, {
512
+ }, []), t.kind === "ready") {
513
+ let { Editor: n } = t;
514
+ return /* @__PURE__ */ L(n, { ...e });
515
+ }
516
+ return t.kind === "failed" ? /* @__PURE__ */ L(r, {
517
+ status: "error",
518
+ title: "Could not load the editor",
519
+ endElement: /* @__PURE__ */ L(g, {
520
+ onClick: () => window.location.reload(),
521
+ children: "Reload"
522
+ })
523
+ }) : /* @__PURE__ */ L(h, {
508
524
  minH: "7rem",
509
525
  borderWidth: "1px",
510
526
  borderColor: "border",
511
527
  borderRadius: "xs"
512
528
  });
513
- }, se = (e) => {
514
- let t = P(28), { id: n, name: r, description: i, defaultValue: a, placeholder: o, onChange: s, readOnly: c, presentation: l, size: u } = e, f = l === void 0 ? "stacked" : l, p = u === void 0 ? "sm" : u, [h, g] = B(a), [v, y] = B(!1), b, x;
529
+ }, ce = (e) => {
530
+ let t = F(28), { id: n, name: r, description: i, defaultValue: a, placeholder: o, onChange: s, readOnly: c, presentation: l, size: u } = e, d = l === void 0 ? "stacked" : l, p = u === void 0 ? "sm" : u, [m, g] = V(a), [_, y] = V(!1), b, x;
515
531
  t[0] === a ? (b = t[1], x = t[2]) : (b = () => {
516
532
  g(a);
517
- }, x = [a], t[0] = a, t[1] = b, t[2] = x), R(b, x);
533
+ }, x = [a], t[0] = a, t[1] = b, t[2] = x), z(b, x);
518
534
  let S;
519
535
  t[3] !== n || t[4] !== s ? (S = (e) => {
520
536
  g(e), s(n, e);
521
537
  }, t[3] = n, t[4] = s, t[5] = S) : S = t[5];
522
- let C = S, T;
523
- t[6] !== C || t[7] !== o || t[8] !== c ? (T = (e) => /* @__PURE__ */ I(m, {
538
+ let C = S, w;
539
+ t[6] !== C || t[7] !== o || t[8] !== c ? (w = (e) => /* @__PURE__ */ L(h, {
524
540
  borderWidth: "1px",
525
541
  borderColor: "border",
526
542
  borderRadius: "xs",
@@ -528,46 +544,46 @@ var oe = (e) => {
528
544
  minW: "0",
529
545
  overflow: "visible",
530
546
  width: "full",
531
- children: /* @__PURE__ */ I(oe, {
547
+ children: /* @__PURE__ */ L(se, {
532
548
  defaultState: e,
533
549
  isEditable: !c,
534
550
  placeholder: o,
535
551
  scrollable: !1,
536
552
  onChange: C
537
553
  })
538
- }), t[6] = C, t[7] = o, t[8] = c, t[9] = T) : T = t[9];
539
- let E = T, D;
540
- t[10] !== i || t[11] !== r ? (D = /* @__PURE__ */ I(d, {
554
+ }), t[6] = C, t[7] = o, t[8] = c, t[9] = w) : w = t[9];
555
+ let E = w, D;
556
+ t[10] !== i || t[11] !== r ? (D = /* @__PURE__ */ L(f, {
541
557
  name: r,
542
558
  description: i
543
559
  }), t[10] = i, t[11] = r, t[12] = D) : D = t[12];
544
560
  let O = D;
545
- if (f === "horizontal") {
561
+ if (d === "horizontal") {
546
562
  if (c) {
547
563
  let e;
548
- return t[13] === h ? e = t[14] : (e = /* @__PURE__ */ I(m, {
564
+ return t[13] === m ? e = t[14] : (e = /* @__PURE__ */ L(h, {
549
565
  position: "relative",
550
566
  flex: "1",
551
567
  minW: "12.5rem",
552
- children: /* @__PURE__ */ I(_, {
568
+ children: /* @__PURE__ */ L(v, {
553
569
  alignItems: "center",
554
570
  minHeight: "2rem",
555
- children: /* @__PURE__ */ I(Y, {
571
+ children: /* @__PURE__ */ L(X, {
556
572
  preserveWhitespace: !0,
557
- children: h
573
+ children: m
558
574
  })
559
575
  })
560
- }), t[13] = h, t[14] = e), e;
576
+ }), t[13] = m, t[14] = e), e;
561
577
  }
562
578
  let e;
563
- return t[15] !== C || t[16] !== E || t[17] !== v || t[18] !== r || t[19] !== p || t[20] !== h ? (e = /* @__PURE__ */ I(m, {
579
+ return t[15] !== C || t[16] !== E || t[17] !== _ || t[18] !== r || t[19] !== p || t[20] !== m ? (e = /* @__PURE__ */ L(h, {
564
580
  position: "relative",
565
581
  flex: "1",
566
582
  minW: "12.5rem",
567
- children: /* @__PURE__ */ I(m, {
583
+ children: /* @__PURE__ */ L(h, {
568
584
  position: "relative",
569
585
  minHeight: "2rem",
570
- children: v ? /* @__PURE__ */ I(m, {
586
+ children: _ ? /* @__PURE__ */ L(h, {
571
587
  position: "absolute",
572
588
  top: "0",
573
589
  left: "0",
@@ -584,72 +600,72 @@ var oe = (e) => {
584
600
  onKeyDown: (e) => {
585
601
  e.key === "Escape" && (y(!1), e.preventDefault());
586
602
  },
587
- children: E(h)
588
- }) : /* @__PURE__ */ I(w, {
603
+ children: E(m)
604
+ }) : /* @__PURE__ */ L(T, {
589
605
  className: "nodrag",
590
606
  flex: "1",
591
607
  maxW: "12.5rem",
592
608
  size: p,
593
609
  type: "text",
594
610
  placeholder: r,
595
- value: h,
611
+ value: m,
596
612
  onClick: () => {
597
613
  y(!0);
598
614
  },
599
615
  onChange: (e) => C(e.target.value)
600
616
  })
601
617
  })
602
- }), t[15] = C, t[16] = E, t[17] = v, t[18] = r, t[19] = p, t[20] = h, t[21] = e) : e = t[21], e;
618
+ }), t[15] = C, t[16] = E, t[17] = _, t[18] = r, t[19] = p, t[20] = m, t[21] = e) : e = t[21], e;
603
619
  }
604
- let A;
605
- t[22] !== E || t[23] !== h ? (A = E(h), t[22] = E, t[23] = h, t[24] = A) : A = t[24];
620
+ let k;
621
+ t[22] !== E || t[23] !== m ? (k = E(m), t[22] = E, t[23] = m, t[24] = k) : k = t[24];
606
622
  let j;
607
- return t[25] !== O || t[26] !== A ? (j = /* @__PURE__ */ L(k, {
623
+ return t[25] !== O || t[26] !== k ? (j = /* @__PURE__ */ R(A, {
608
624
  gap: "xs",
609
625
  minW: "0",
610
626
  width: "full",
611
- children: [O, A]
612
- }), t[25] = O, t[26] = A, t[27] = j) : j = t[27], j;
613
- }, ce = (e) => {
614
- let t = P(50), { id: n, defaultValue: r, name: i, step: a, min: s, max: c, onChange: l, description: p, readOnly: h, hideLabel: g, hideSlider: v, fullWidth: y, size: b } = e, x = a === void 0 ? 1 : a, S = g !== void 0 && g, C = v !== void 0 && v, w = y !== void 0 && y, T = b === void 0 ? "sm" : b, [E, D] = B(r), O = s !== void 0 && c !== void 0 && !C, k = w && !O, A = z(null), j = z(null), M;
627
+ children: [O, k]
628
+ }), t[25] = O, t[26] = k, t[27] = j) : j = t[27], j;
629
+ }, le = (e) => {
630
+ let t = F(50), { id: n, defaultValue: r, name: i, step: a, min: o, max: c, onChange: l, description: u, readOnly: m, hideLabel: g, hideSlider: _, fullWidth: y, size: b } = e, x = a === void 0 ? 1 : a, S = g !== void 0 && g, C = _ !== void 0 && _, w = y !== void 0 && y, T = b === void 0 ? "sm" : b, [E, D] = V(r), O = o !== void 0 && c !== void 0 && !C, k = w && !O, A = B(null), j = B(null), M;
615
631
  t[0] !== n || t[1] !== l ? (M = (e) => {
616
632
  A.current && clearTimeout(A.current), j.current = e, A.current = setTimeout(() => {
617
633
  j.current = null, l(n, e);
618
634
  }, 540);
619
635
  }, t[0] = n, t[1] = l, t[2] = M) : M = t[2];
620
- let N = M, F;
621
- t[3] !== n || t[4] !== l ? (F = () => {
636
+ let N = M, P;
637
+ t[3] !== n || t[4] !== l ? (P = () => {
622
638
  if (j.current === null) return;
623
639
  A.current && clearTimeout(A.current);
624
640
  let e = j.current;
625
641
  j.current = null, l(n, e);
626
- }, t[3] = n, t[4] = l, t[5] = F) : F = t[5];
627
- let V = F, H, U;
642
+ }, t[3] = n, t[4] = l, t[5] = P) : P = t[5];
643
+ let I = P, H, U;
628
644
  if (t[6] === r ? (H = t[7], U = t[8]) : (H = () => {
629
645
  D(r);
630
- }, U = [r], t[6] = r, t[7] = H, t[8] = U), R(H, U), h) {
646
+ }, U = [r], t[6] = r, t[7] = H, t[8] = U), z(H, U), m) {
631
647
  let e;
632
- t[9] === E ? e = t[10] : (e = /* @__PURE__ */ I(Y, { children: E }), t[9] = E, t[10] = e);
648
+ t[9] === E ? e = t[10] : (e = /* @__PURE__ */ L(X, { children: E }), t[9] = E, t[10] = e);
633
649
  let n = e;
634
650
  if (w) {
635
651
  let e;
636
- t[11] !== p || t[12] !== S || t[13] !== i ? (e = !S && /* @__PURE__ */ I(m, {
652
+ t[11] !== u || t[12] !== S || t[13] !== i ? (e = !S && /* @__PURE__ */ L(h, {
637
653
  mb: "xs",
638
- children: /* @__PURE__ */ I(d, {
654
+ children: /* @__PURE__ */ L(f, {
639
655
  name: i,
640
- description: p
656
+ description: u
641
657
  })
642
- }), t[11] = p, t[12] = S, t[13] = i, t[14] = e) : e = t[14];
658
+ }), t[11] = u, t[12] = S, t[13] = i, t[14] = e) : e = t[14];
643
659
  let r;
644
- return t[15] !== e || t[16] !== n ? (r = /* @__PURE__ */ L(m, { children: [e, n] }), t[15] = e, t[16] = n, t[17] = r) : r = t[17], r;
660
+ return t[15] !== e || t[16] !== n ? (r = /* @__PURE__ */ R(h, { children: [e, n] }), t[15] = e, t[16] = n, t[17] = r) : r = t[17], r;
645
661
  }
646
662
  let r;
647
- t[18] !== p || t[19] !== S || t[20] !== i ? (r = !S && /* @__PURE__ */ I(d, {
663
+ t[18] !== u || t[19] !== S || t[20] !== i ? (r = !S && /* @__PURE__ */ L(f, {
648
664
  name: i,
649
- description: p
650
- }), t[18] = p, t[19] = S, t[20] = i, t[21] = r) : r = t[21];
665
+ description: u
666
+ }), t[18] = u, t[19] = S, t[20] = i, t[21] = r) : r = t[21];
651
667
  let a;
652
- return t[22] !== r || t[23] !== n ? (a = /* @__PURE__ */ I(m, { children: /* @__PURE__ */ L(_, {
668
+ return t[22] !== r || t[23] !== n ? (a = /* @__PURE__ */ L(h, { children: /* @__PURE__ */ R(v, {
653
669
  alignItems: "center",
654
670
  justifyContent: "space-between",
655
671
  minHeight: "2rem",
@@ -658,66 +674,66 @@ var oe = (e) => {
658
674
  }) }), t[22] = r, t[23] = n, t[24] = a) : a = t[24], a;
659
675
  }
660
676
  let W;
661
- t[25] !== p || t[26] !== V || t[27] !== S || t[28] !== c || t[29] !== s || t[30] !== i || t[31] !== h || t[32] !== N || t[33] !== T || t[34] !== x || t[35] !== k || t[36] !== E ? (W = k ? /* @__PURE__ */ L(m, { children: [!S && /* @__PURE__ */ I(m, {
677
+ t[25] !== u || t[26] !== I || t[27] !== S || t[28] !== c || t[29] !== o || t[30] !== i || t[31] !== m || t[32] !== N || t[33] !== T || t[34] !== x || t[35] !== k || t[36] !== E ? (W = k ? /* @__PURE__ */ R(h, { children: [!S && /* @__PURE__ */ L(h, {
662
678
  mb: "xs",
663
- children: /* @__PURE__ */ I(d, {
679
+ children: /* @__PURE__ */ L(f, {
664
680
  name: i,
665
- description: p
681
+ description: u
666
682
  })
667
- }), /* @__PURE__ */ I(u, {
668
- disabled: h,
683
+ }), /* @__PURE__ */ L(d, {
684
+ disabled: m,
669
685
  width: "100%",
670
686
  size: T,
671
687
  value: `${E}`,
672
688
  step: x,
673
- min: s,
689
+ min: o,
674
690
  max: c,
675
691
  onValueChange: (e) => {
676
- let t = Number.isNaN(e.valueAsNumber) ? s ?? 0 : e.valueAsNumber;
692
+ let t = Number.isNaN(e.valueAsNumber) ? o ?? 0 : e.valueAsNumber;
677
693
  D(t), N(t);
678
694
  },
679
- children: /* @__PURE__ */ I(f, {
695
+ children: /* @__PURE__ */ L(p, {
680
696
  className: "nodrag",
681
- readOnly: h,
697
+ readOnly: m,
682
698
  placeholder: S ? i : void 0,
683
- onBlur: V,
684
- onKeyUp: le
699
+ onBlur: I,
700
+ onKeyUp: ue
685
701
  })
686
- })] }) : /* @__PURE__ */ L(_, {
702
+ })] }) : /* @__PURE__ */ R(v, {
687
703
  alignItems: "center",
688
704
  justifyContent: "space-between",
689
705
  minHeight: "2rem",
690
706
  gap: "xs",
691
- children: [!S && /* @__PURE__ */ I(d, {
707
+ children: [!S && /* @__PURE__ */ L(f, {
692
708
  name: i,
693
- description: p
694
- }), /* @__PURE__ */ I(u, {
695
- disabled: h,
709
+ description: u
710
+ }), /* @__PURE__ */ L(d, {
711
+ disabled: m,
696
712
  width: "5rem",
697
713
  size: T,
698
714
  value: `${E}`,
699
715
  step: x,
700
- min: s,
716
+ min: o,
701
717
  max: c,
702
718
  onValueChange: (e) => {
703
- let t = Number.isNaN(e.valueAsNumber) ? s ?? 0 : e.valueAsNumber;
719
+ let t = Number.isNaN(e.valueAsNumber) ? o ?? 0 : e.valueAsNumber;
704
720
  D(t), N(t);
705
721
  },
706
- children: /* @__PURE__ */ I(f, {
722
+ children: /* @__PURE__ */ L(p, {
707
723
  className: "nodrag",
708
- readOnly: h,
724
+ readOnly: m,
709
725
  placeholder: S ? i : void 0,
710
- onBlur: V,
711
- onKeyUp: ue
726
+ onBlur: I,
727
+ onKeyUp: de
712
728
  })
713
729
  })]
714
- }), t[25] = p, t[26] = V, t[27] = S, t[28] = c, t[29] = s, t[30] = i, t[31] = h, t[32] = N, t[33] = T, t[34] = x, t[35] = k, t[36] = E, t[37] = W) : W = t[37];
730
+ }), t[25] = u, t[26] = I, t[27] = S, t[28] = c, t[29] = o, t[30] = i, t[31] = m, t[32] = N, t[33] = T, t[34] = x, t[35] = k, t[36] = E, t[37] = W) : W = t[37];
715
731
  let G;
716
- t[38] !== n || t[39] !== c || t[40] !== s || t[41] !== l || t[42] !== h || t[43] !== O || t[44] !== x || t[45] !== E ? (G = O && /* @__PURE__ */ I(o, {
717
- disabled: h,
732
+ t[38] !== n || t[39] !== c || t[40] !== o || t[41] !== l || t[42] !== m || t[43] !== O || t[44] !== x || t[45] !== E ? (G = O && /* @__PURE__ */ L(s, {
733
+ disabled: m,
718
734
  value: [E],
719
735
  step: x,
720
- min: s,
736
+ min: o,
721
737
  max: c,
722
738
  onValueChange: (e) => {
723
739
  D(e.value[0]);
@@ -725,49 +741,48 @@ var oe = (e) => {
725
741
  onValueChangeEnd: (e) => {
726
742
  l(n, e.value[0]);
727
743
  }
728
- }), t[38] = n, t[39] = c, t[40] = s, t[41] = l, t[42] = h, t[43] = O, t[44] = x, t[45] = E, t[46] = G) : G = t[46];
744
+ }), t[38] = n, t[39] = c, t[40] = o, t[41] = l, t[42] = m, t[43] = O, t[44] = x, t[45] = E, t[46] = G) : G = t[46];
729
745
  let K;
730
- return t[47] !== G || t[48] !== W ? (K = /* @__PURE__ */ L(m, { children: [W, G] }), t[47] = G, t[48] = W, t[49] = K) : K = t[49], K;
746
+ return t[47] !== G || t[48] !== W ? (K = /* @__PURE__ */ R(h, { children: [W, G] }), t[47] = G, t[48] = W, t[49] = K) : K = t[49], K;
731
747
  };
732
- function le(e) {
748
+ function ue(e) {
733
749
  e.key === "Enter" && e.currentTarget.blur();
734
750
  }
735
- function ue(e) {
751
+ function de(e) {
736
752
  e.key === "Enter" && e.currentTarget.blur();
737
753
  }
738
- //#endregion
739
- //#region src/components/param-editor/inputs/resource-input-chips.tsx
740
- var de = (e) => /* @__PURE__ */ I(x, {
741
- as: l(e.icon),
754
+ // src/components/param-editor/inputs/resource-input-chips.tsx
755
+ var fe = (e) => /* @__PURE__ */ L(S, {
756
+ as: u(e.icon),
742
757
  boxSize: "14px",
743
758
  color: e.color ? `${e.color}.500` : "fg.muted"
744
- }), fe = (e) => window.open(e, "_blank", "noreferrer"), pe = (e) => void navigator.clipboard?.writeText(e).catch(() => void 0), me = (e) => {
745
- let t = P(18), { option: n, onOpenResource: i, onRemove: o } = e;
759
+ }), pe = (e) => window.open(e, "_blank", "noreferrer"), me = (e) => void navigator.clipboard?.writeText(e).catch(() => void 0), he = (e) => {
760
+ let t = F(18), { option: n, onOpenResource: r, onRemove: a } = e;
746
761
  if (!(n.href || n.ref || n.copyText)) {
747
762
  let e;
748
- return t[0] === n.name ? e = t[1] : (e = /* @__PURE__ */ I(a, { children: n.name }), t[0] = n.name, t[1] = e), e;
763
+ return t[0] === n.name ? e = t[1] : (e = /* @__PURE__ */ L(o, { children: n.name }), t[0] = n.name, t[1] = e), e;
749
764
  }
750
765
  let s;
751
- t[2] !== i || t[3] !== n.copyText || t[4] !== n.href || t[5] !== n.ref ? (n.href && n.href.length > 0 ? s = () => fe(n.href) : n.ref && i ? s = () => i(n.ref) : n.copyText && (s = () => pe(n.copyText)), t[2] = i, t[3] = n.copyText, t[4] = n.href, t[5] = n.ref, t[6] = s) : s = t[6];
766
+ t[2] !== r || t[3] !== n.copyText || t[4] !== n.href || t[5] !== n.ref ? (n.href && n.href.length > 0 ? s = () => pe(n.href) : n.ref && r ? s = () => r(n.ref) : n.copyText && (s = () => me(n.copyText)), t[2] = r, t[3] = n.copyText, t[4] = n.href, t[5] = n.ref, t[6] = s) : s = t[6];
752
767
  let c = n.name, l;
753
- t[7] === n ? l = t[8] : (l = de(n), t[7] = n, t[8] = l);
768
+ t[7] === n ? l = t[8] : (l = fe(n), t[7] = n, t[8] = l);
754
769
  let u;
755
770
  t[9] === s ? u = t[10] : (u = s ? () => s() : void 0, t[9] = s, t[10] = u);
756
771
  let d;
757
- t[11] === o ? d = t[12] : (d = o ? () => o() : void 0, t[11] = o, t[12] = d);
772
+ t[11] === a ? d = t[12] : (d = a ? () => a() : void 0, t[11] = a, t[12] = d);
758
773
  let f;
759
- return t[13] !== n.name || t[14] !== l || t[15] !== u || t[16] !== d ? (f = /* @__PURE__ */ I(r, {
774
+ return t[13] !== n.name || t[14] !== l || t[15] !== u || t[16] !== d ? (f = /* @__PURE__ */ L(i, {
760
775
  fileName: c,
761
776
  icon: l,
762
777
  size: "md",
763
778
  onSelect: u,
764
779
  onRemove: d
765
780
  }), t[13] = n.name, t[14] = l, t[15] = u, t[16] = d, t[17] = f) : f = t[17], f;
766
- }, he = (e) => {
767
- let t = P(11), { options: n, onOpenResource: r, onRemove: i, emptyText: a } = e;
781
+ }, ge = (e) => {
782
+ let t = F(11), { options: n, onOpenResource: r, onRemove: i, emptyText: a } = e;
768
783
  if (n.length === 0) {
769
784
  let e = a ?? "None", n;
770
- return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ I(A, {
785
+ return t[0] === e ? n = t[1] : (n = /* @__PURE__ */ L(j, {
771
786
  textStyle: "label/S/regular",
772
787
  color: "fg.muted",
773
788
  children: e
@@ -776,44 +791,44 @@ var de = (e) => /* @__PURE__ */ I(x, {
776
791
  let o;
777
792
  if (t[2] !== r || t[3] !== i || t[4] !== n) {
778
793
  let e;
779
- t[6] !== r || t[7] !== i ? (e = (e) => /* @__PURE__ */ I(me, {
794
+ t[6] !== r || t[7] !== i ? (e = (e) => /* @__PURE__ */ L(he, {
780
795
  option: e,
781
796
  onOpenResource: r,
782
797
  onRemove: i ? () => i(e.id) : void 0
783
798
  }, e.id), t[6] = r, t[7] = i, t[8] = e) : e = t[8], o = n.map(e), t[2] = r, t[3] = i, t[4] = n, t[5] = o;
784
799
  } else o = t[5];
785
800
  let s;
786
- return t[9] === o ? s = t[10] : (s = /* @__PURE__ */ I(M, {
801
+ return t[9] === o ? s = t[10] : (s = /* @__PURE__ */ L(N, {
787
802
  gap: "2xs",
788
803
  children: o
789
804
  }), t[9] = o, t[10] = s), s;
790
- }, ge = (e) => e?.icon ? l(e.icon) : void 0, _e = (e, t) => e?.icon ? /* @__PURE__ */ I(x, {
791
- as: l(e.icon),
805
+ }, _e = (e) => e?.icon ? u(e.icon) : void 0, ve = (e, t) => e?.icon ? /* @__PURE__ */ L(S, {
806
+ as: u(e.icon),
792
807
  boxSize: t,
793
808
  color: e.color ? `${e.color}.500` : "fg.muted"
794
- }) : null, ve = (r) => {
795
- let i = P(62), { triggerLabel: a, options: o, selectedIds: s, multiSelect: c, reselectable: l, disabled: u, searchable: d, allowCustomValues: f, searchPlaceholder: p, emptyText: m, group: g, fullWidth: v, triggerVariant: y, triggerAriaLabel: b, size: C, onToggle: w, onGroupChange: E } = r, O = l !== void 0 && l, k = d !== void 0 && d, A = f !== void 0 && f, j = p === void 0 ? "Search options…" : p, M = m === void 0 ? "No options found" : m, N = y === void 0 ? "button" : y, F = C === void 0 ? "sm" : C, R;
796
- i[0] !== g || i[1] !== E ? (R = E && g && !g.disabled && g.options.some((e) => !e.disabled && e.id !== g.defaultValue), i[0] = g, i[1] = E, i[2] = R) : R = i[2];
797
- let z = !!R, B;
798
- if (i[3] !== c || i[4] !== o || i[5] !== O || i[6] !== s) {
809
+ }) : null, ye = (r) => {
810
+ let i = F(62), { triggerLabel: a, options: o, selectedIds: s, multiSelect: c, reselectable: l, disabled: u, searchable: d, allowCustomValues: f, searchPlaceholder: p, emptyText: m, group: h, fullWidth: _, triggerVariant: y, triggerAriaLabel: b, size: x, onToggle: w, onGroupChange: T } = r, D = l !== void 0 && l, k = d !== void 0 && d, A = f !== void 0 && f, j = p === void 0 ? "Search options…" : p, M = m === void 0 ? "No options found" : m, N = y === void 0 ? "button" : y, P = x === void 0 ? "sm" : x, I;
811
+ i[0] !== h || i[1] !== T ? (I = T && h && !h.disabled && h.options.some((e) => !e.disabled && e.id !== h.defaultValue), i[0] = h, i[1] = T, i[2] = I) : I = i[2];
812
+ let z = !!I, B;
813
+ if (i[3] !== c || i[4] !== o || i[5] !== D || i[6] !== s) {
799
814
  let e;
800
- i[8] !== c || i[9] !== O || i[10] !== s ? (e = (e) => !e.disabled && (c || O || !s.includes(e.id)), i[8] = c, i[9] = O, i[10] = s, i[11] = e) : e = i[11], B = o.some(e), i[3] = c, i[4] = o, i[5] = O, i[6] = s, i[7] = B;
815
+ i[8] !== c || i[9] !== D || i[10] !== s ? (e = (e) => !e.disabled && (c || D || !s.includes(e.id)), i[8] = c, i[9] = D, i[10] = s, i[11] = e) : e = i[11], B = o.some(e), i[3] = c, i[4] = o, i[5] = D, i[6] = s, i[7] = B;
801
816
  } else B = i[7];
802
- let U = u || !A && !B && !z, W;
803
- i[12] !== v || i[13] !== U || i[14] !== F || i[15] !== b || i[16] !== a || i[17] !== N ? (W = N === "icon" ? /* @__PURE__ */ I(S, {
817
+ let V = u || !A && !B && !z, W;
818
+ i[12] !== _ || i[13] !== V || i[14] !== P || i[15] !== b || i[16] !== a || i[17] !== N ? (W = N === "icon" ? /* @__PURE__ */ L(C, {
804
819
  "aria-label": b ?? "Open options",
805
820
  size: "2xs",
806
821
  variant: "ghost",
807
- disabled: U,
822
+ disabled: V,
808
823
  children: a
809
- }) : /* @__PURE__ */ I(h, {
810
- size: F,
824
+ }) : /* @__PURE__ */ L(g, {
825
+ size: P,
811
826
  borderWidth: "1px",
812
827
  borderStyle: "solid",
813
828
  borderColor: "border",
814
- disabled: U,
815
- textStyle: F === "xs" ? "label/XS" : "label/S/regular",
816
- width: v ? "100%" : void 0,
829
+ disabled: V,
830
+ textStyle: P === "xs" ? "label/XS" : "label/S/regular",
831
+ width: _ ? "100%" : void 0,
817
832
  minW: "0",
818
833
  flexShrink: 1,
819
834
  _hover: {
@@ -833,22 +848,22 @@ var de = (e) => /* @__PURE__ */ I(x, {
833
848
  outline: "none",
834
849
  boxShadow: "none"
835
850
  },
836
- children: /* @__PURE__ */ L(_, {
851
+ children: /* @__PURE__ */ R(v, {
837
852
  alignItems: "center",
838
853
  justifyContent: "space-between",
839
854
  gap: "xs",
840
855
  minW: "0",
841
- w: v ? "full" : void 0,
842
- children: [/* @__PURE__ */ I(_, {
856
+ w: _ ? "full" : void 0,
857
+ children: [/* @__PURE__ */ L(v, {
843
858
  alignItems: "center",
844
859
  gap: "xs",
845
860
  minW: "0",
846
861
  children: a
847
- }), /* @__PURE__ */ I(H, { size: 14 })]
862
+ }), /* @__PURE__ */ L(U, { size: 14 })]
848
863
  })
849
- }), i[12] = v, i[13] = U, i[14] = F, i[15] = b, i[16] = a, i[17] = N, i[18] = W) : W = i[18];
864
+ }), i[12] = _, i[13] = V, i[14] = P, i[15] = b, i[16] = a, i[17] = N, i[18] = W) : W = i[18];
850
865
  let G = W;
851
- if (k || A || g) {
866
+ if (k || A || h) {
852
867
  let r;
853
868
  if (i[19] !== w || i[20] !== o || i[21] !== s) {
854
869
  let e;
@@ -857,7 +872,7 @@ var de = (e) => /* @__PURE__ */ I(x, {
857
872
  label: e.name,
858
873
  searchText: [e.id, e.description].filter(Boolean).join(" "),
859
874
  secondaryLabel: e.description,
860
- icon: ge(e),
875
+ icon: _e(e),
861
876
  iconColor: e.color ? `${e.color}.500` : void 0,
862
877
  isDisabled: e.disabled,
863
878
  isSelected: s.includes(e.id),
@@ -865,8 +880,8 @@ var de = (e) => /* @__PURE__ */ I(x, {
865
880
  }), i[23] = w, i[24] = s, i[25] = e) : e = i[25], r = o.map(e), i[19] = w, i[20] = o, i[21] = s, i[22] = r;
866
881
  } else r = i[22];
867
882
  let a = r, l;
868
- if (i[26] !== A || i[27] !== z || i[28] !== M || i[29] !== g || i[30] !== a || i[31] !== c || i[32] !== E || i[33] !== w || i[34] !== o || i[35] !== j || i[36] !== k || i[37] !== G) {
869
- let r = g?.options.find((e) => e.id === g.defaultValue), s;
883
+ if (i[26] !== A || i[27] !== z || i[28] !== M || i[29] !== h || i[30] !== a || i[31] !== c || i[32] !== T || i[33] !== w || i[34] !== o || i[35] !== j || i[36] !== k || i[37] !== G) {
884
+ let r = h?.options.find((e) => e.id === h.defaultValue), s;
870
885
  i[39] !== A || i[40] !== w || i[41] !== o ? (s = (t, n) => {
871
886
  let r = e(t, n), i = n.trim();
872
887
  return !A || !i || o.some((e) => e.id === i) ? r : [...r, {
@@ -876,64 +891,64 @@ var de = (e) => /* @__PURE__ */ I(x, {
876
891
  }];
877
892
  }, i[39] = A, i[40] = w, i[41] = o, i[42] = s) : s = i[42];
878
893
  let u;
879
- i[43] === M ? u = i[44] : (u = /* @__PURE__ */ I(T.Item, {
894
+ i[43] === M ? u = i[44] : (u = /* @__PURE__ */ L(E.Item, {
880
895
  value: "empty",
881
896
  disabled: !0,
882
897
  asChild: !0,
883
- children: /* @__PURE__ */ I(n, {
898
+ children: /* @__PURE__ */ L(n, {
884
899
  asChild: !0,
885
900
  variant: "full-width",
886
901
  id: "empty",
887
902
  label: M,
888
903
  disabled: !0
889
904
  })
890
- }), i[43] = M, i[44] = u), l = /* @__PURE__ */ I(t, {
905
+ }), i[43] = M, i[44] = u), l = /* @__PURE__ */ L(t, {
891
906
  trigger: G,
892
907
  items: a,
893
- listId: g?.defaultValue,
908
+ listId: h?.defaultValue,
894
909
  showSearch: k || A,
895
910
  filterItems: s,
896
911
  searchPlaceholder: j,
897
912
  multiple: c,
898
913
  closeOnSelect: !c,
899
914
  emptyState: u,
900
- parentList: g ? {
901
- items: g.options.map((e) => ({
915
+ parentList: h ? {
916
+ items: h.options.map((e) => ({
902
917
  id: e.id,
903
918
  label: e.name,
904
919
  searchText: [e.id, e.description].filter(Boolean).join(" "),
905
920
  secondaryLabel: e.description,
906
- icon: ge(e),
921
+ icon: _e(e),
907
922
  iconColor: e.color ? `${e.color}.500` : void 0,
908
923
  isDisabled: e.disabled,
909
- isSelected: e.id === g.defaultValue
924
+ isSelected: e.id === h.defaultValue
910
925
  })),
911
- selectedLabel: r?.name ?? g.placeholder ?? `Select ${g.name.toLowerCase()}`,
912
- selectedIcon: ge(r),
913
- ariaLabel: g.name,
926
+ selectedLabel: r?.name ?? h.placeholder ?? `Select ${h.name.toLowerCase()}`,
927
+ selectedIcon: _e(r),
928
+ ariaLabel: h.name,
914
929
  disabled: !z,
915
- showSearch: g.searchable,
916
- searchPlaceholder: g.searchPlaceholder ?? `Search ${g.name.toLowerCase()}…`,
917
- emptyState: /* @__PURE__ */ I(T.Item, {
930
+ showSearch: h.searchable,
931
+ searchPlaceholder: h.searchPlaceholder ?? `Search ${h.name.toLowerCase()}…`,
932
+ emptyState: /* @__PURE__ */ L(E.Item, {
918
933
  value: "group-empty",
919
934
  disabled: !0,
920
935
  asChild: !0,
921
- children: /* @__PURE__ */ I(n, {
936
+ children: /* @__PURE__ */ L(n, {
922
937
  asChild: !0,
923
938
  variant: "full-width",
924
939
  id: "group-empty",
925
- label: g.emptyText ?? `No ${g.name.toLowerCase()} found`,
940
+ label: h.emptyText ?? `No ${h.name.toLowerCase()} found`,
926
941
  disabled: !0
927
942
  })
928
943
  }),
929
- onSelect: (e) => E?.(e.id)
944
+ onSelect: (e) => T?.(e.id)
930
945
  } : void 0
931
- }), i[26] = A, i[27] = z, i[28] = M, i[29] = g, i[30] = a, i[31] = c, i[32] = E, i[33] = w, i[34] = o, i[35] = j, i[36] = k, i[37] = G, i[38] = l;
946
+ }), i[26] = A, i[27] = z, i[28] = M, i[29] = h, i[30] = a, i[31] = c, i[32] = T, i[33] = w, i[34] = o, i[35] = j, i[36] = k, i[37] = G, i[38] = l;
932
947
  } else l = i[38];
933
948
  return l;
934
949
  }
935
950
  let K = !c, q;
936
- i[45] === G ? q = i[46] : (q = /* @__PURE__ */ I(T.Trigger, {
951
+ i[45] === G ? q = i[46] : (q = /* @__PURE__ */ L(E.Trigger, {
937
952
  asChild: !0,
938
953
  children: G
939
954
  }), i[45] = G, i[46] = q);
@@ -942,23 +957,23 @@ var de = (e) => /* @__PURE__ */ I(x, {
942
957
  let e;
943
958
  i[52] !== c || i[53] !== w || i[54] !== s ? (e = (e) => {
944
959
  let t = s.includes(e.id);
945
- return /* @__PURE__ */ I(T.Item, {
960
+ return /* @__PURE__ */ L(E.Item, {
946
961
  value: e.id,
947
962
  disabled: e.disabled,
948
963
  onSelect: () => w(e.id),
949
964
  asChild: !0,
950
- children: /* @__PURE__ */ I(n, {
965
+ children: /* @__PURE__ */ L(n, {
951
966
  asChild: !0,
952
967
  variant: "full-width",
953
968
  role: c ? "menuitemcheckbox" : "menuitemradio",
954
969
  "aria-checked": t,
955
970
  label: e.name,
956
- icon: _e(e, "16px"),
971
+ icon: ve(e, "16px"),
957
972
  tooltip: e.description,
958
973
  disabled: e.disabled,
959
974
  isSelected: t,
960
- endContent: t ? /* @__PURE__ */ I(x, {
961
- as: V,
975
+ endContent: t ? /* @__PURE__ */ L(S, {
976
+ as: H,
962
977
  boxSize: "3.5",
963
978
  color: "fg"
964
979
  }) : void 0
@@ -967,17 +982,17 @@ var de = (e) => /* @__PURE__ */ I(x, {
967
982
  }, i[52] = c, i[53] = w, i[54] = s, i[55] = e) : e = i[55], J = o.map(e), i[47] = c, i[48] = w, i[49] = o, i[50] = s, i[51] = J;
968
983
  } else J = i[51];
969
984
  let Y;
970
- i[56] === J ? Y = i[57] : (Y = /* @__PURE__ */ I(D, { children: /* @__PURE__ */ I(T.Positioner, { children: /* @__PURE__ */ I(T.Content, { children: J }) }) }), i[56] = J, i[57] = Y);
985
+ i[56] === J ? Y = i[57] : (Y = /* @__PURE__ */ L(O, { children: /* @__PURE__ */ L(E.Positioner, { children: /* @__PURE__ */ L(E.Content, { children: J }) }) }), i[56] = J, i[57] = Y);
971
986
  let X;
972
- return i[58] !== K || i[59] !== q || i[60] !== Y ? (X = /* @__PURE__ */ L(T.Root, {
987
+ return i[58] !== K || i[59] !== q || i[60] !== Y ? (X = /* @__PURE__ */ R(E.Root, {
973
988
  closeOnSelect: K,
974
989
  children: [q, Y]
975
990
  }), i[58] = K, i[59] = q, i[60] = Y, i[61] = X) : X = i[61], X;
976
- }, ye = (e) => Array.isArray(e) ? e : e ? [e] : [], be = (e, t) => e.map((e) => t.find((t) => t.id === e)).filter((e) => !!e), xe = (e) => {
977
- let t = P(11), { fullWidth: n, label: r, control: i, presentation: a } = e;
991
+ }, be = (e) => Array.isArray(e) ? e : e ? [e] : [], xe = (e, t) => e.map((e) => t.find((t) => t.id === e)).filter((e) => !!e), Se = (e) => {
992
+ let t = F(11), { fullWidth: n, label: r, control: i, presentation: a } = e;
978
993
  if (a === "horizontal") {
979
994
  let e;
980
- return t[0] !== i || t[1] !== r ? (e = /* @__PURE__ */ L(k, {
995
+ return t[0] !== i || t[1] !== r ? (e = /* @__PURE__ */ R(A, {
981
996
  gap: "2xs",
982
997
  alignItems: "start",
983
998
  minW: "0",
@@ -986,24 +1001,24 @@ var de = (e) => /* @__PURE__ */ I(x, {
986
1001
  }
987
1002
  if (n) {
988
1003
  let e;
989
- t[3] === r ? e = t[4] : (e = /* @__PURE__ */ I(m, {
1004
+ t[3] === r ? e = t[4] : (e = /* @__PURE__ */ L(h, {
990
1005
  mb: "xs",
991
1006
  children: r
992
1007
  }), t[3] = r, t[4] = e);
993
1008
  let n;
994
- return t[5] !== i || t[6] !== e ? (n = /* @__PURE__ */ L(m, { children: [e, i] }), t[5] = i, t[6] = e, t[7] = n) : n = t[7], n;
1009
+ return t[5] !== i || t[6] !== e ? (n = /* @__PURE__ */ R(h, { children: [e, i] }), t[5] = i, t[6] = e, t[7] = n) : n = t[7], n;
995
1010
  }
996
1011
  let o;
997
- return t[8] !== i || t[9] !== r ? (o = /* @__PURE__ */ L(_, {
1012
+ return t[8] !== i || t[9] !== r ? (o = /* @__PURE__ */ R(v, {
998
1013
  alignItems: "center",
999
1014
  justifyContent: "space-between",
1000
1015
  minHeight: "2rem",
1001
1016
  gap: "xs",
1002
1017
  children: [r, i]
1003
1018
  }), t[8] = i, t[9] = r, t[10] = o) : o = t[10], o;
1004
- }, Se = (e) => {
1005
- let t = P(9), { triggerLabel: n, options: r, selectedIds: i, multiSelect: a, triggerVariant: o, triggerAriaLabel: s, size: c, onToggle: l } = e, u;
1006
- return t[0] !== a || t[1] !== l || t[2] !== r || t[3] !== i || t[4] !== c || t[5] !== s || t[6] !== n || t[7] !== o ? (u = /* @__PURE__ */ I(ve, {
1019
+ }, Ce = (e) => {
1020
+ let t = F(9), { triggerLabel: n, options: r, selectedIds: i, multiSelect: a, triggerVariant: o, triggerAriaLabel: s, size: c, onToggle: l } = e, u;
1021
+ return t[0] !== a || t[1] !== l || t[2] !== r || t[3] !== i || t[4] !== c || t[5] !== s || t[6] !== n || t[7] !== o ? (u = /* @__PURE__ */ L(ye, {
1007
1022
  triggerLabel: n,
1008
1023
  options: r,
1009
1024
  selectedIds: i,
@@ -1014,31 +1029,31 @@ var de = (e) => /* @__PURE__ */ I(x, {
1014
1029
  size: c,
1015
1030
  onToggle: l
1016
1031
  }), t[0] = a, t[1] = l, t[2] = r, t[3] = i, t[4] = c, t[5] = s, t[6] = n, t[7] = o, t[8] = u) : u = t[8], u;
1017
- }, Ce = (e) => {
1018
- let t = P(46), { id: n, name: r, description: i, defaultValue: a, options: o, onChange: s, onOpenResource: c, readOnly: l, editable: u, multiSelect: f, placeholder: p, emptyText: m, fullWidth: h, presentation: g, size: v } = e, y = u !== void 0 && u, b = f !== void 0 && f, S = h !== void 0 && h, C = g === void 0 ? "stacked" : g, w = v === void 0 ? "sm" : v, [T, E] = B(a), D, O;
1032
+ }, we = (e) => {
1033
+ let t = F(46), { id: n, name: r, description: i, defaultValue: a, options: o, onChange: s, onOpenResource: c, readOnly: l, editable: u, multiSelect: d, placeholder: p, emptyText: m, fullWidth: h, presentation: g, size: _ } = e, y = u !== void 0 && u, b = d !== void 0 && d, x = h !== void 0 && h, C = g === void 0 ? "stacked" : g, w = _ === void 0 ? "sm" : _, [T, E] = V(a), D, O;
1019
1034
  t[0] === a ? (D = t[1], O = t[2]) : (D = () => {
1020
1035
  E(a);
1021
- }, O = [a], t[0] = a, t[1] = D, t[2] = O), R(D, O);
1036
+ }, O = [a], t[0] = a, t[1] = D, t[2] = O), z(D, O);
1022
1037
  let k;
1023
1038
  t[3] !== n || t[4] !== s ? (k = (e) => {
1024
1039
  E(e), s(n, e);
1025
1040
  }, t[3] = n, t[4] = s, t[5] = k) : k = t[5];
1026
- let A = k, j, M, N, F, z;
1027
- if (t[6] !== A || t[7] !== i || t[8] !== y || t[9] !== m || t[10] !== S || t[11] !== b || t[12] !== r || t[13] !== c || t[14] !== o || t[15] !== p || t[16] !== C || t[17] !== l || t[18] !== w || t[19] !== T) {
1028
- F = Symbol.for("react.early_return_sentinel");
1041
+ let A = k, j, M, N, P, I;
1042
+ if (t[6] !== A || t[7] !== i || t[8] !== y || t[9] !== m || t[10] !== x || t[11] !== b || t[12] !== r || t[13] !== c || t[14] !== o || t[15] !== p || t[16] !== C || t[17] !== l || t[18] !== w || t[19] !== T) {
1043
+ P = Symbol.for("react.early_return_sentinel");
1029
1044
  bb0: {
1030
- M = ye(T);
1031
- let e = be(M, o), n = y && !l, a = C === "horizontal", s;
1032
- if (t[25] !== i || t[26] !== r || t[27] !== a ? (s = /* @__PURE__ */ I(d, {
1045
+ M = be(T);
1046
+ let e = xe(M, o), n = y && !l, a = C === "horizontal", s;
1047
+ if (t[25] !== i || t[26] !== r || t[27] !== a ? (s = /* @__PURE__ */ L(f, {
1033
1048
  name: r,
1034
1049
  description: i,
1035
1050
  compact: a
1036
1051
  }), t[25] = i, t[26] = r, t[27] = a, t[28] = s) : s = t[28], j = s, !n) {
1037
- F = /* @__PURE__ */ I(xe, {
1038
- fullWidth: S,
1052
+ P = /* @__PURE__ */ L(Se, {
1053
+ fullWidth: x,
1039
1054
  label: j,
1040
1055
  presentation: C,
1041
- control: /* @__PURE__ */ I(he, {
1056
+ control: /* @__PURE__ */ L(ge, {
1042
1057
  options: e,
1043
1058
  onOpenResource: c,
1044
1059
  emptyText: m
@@ -1046,7 +1061,7 @@ var de = (e) => /* @__PURE__ */ I(x, {
1046
1061
  });
1047
1062
  break bb0;
1048
1063
  }
1049
- z = (e) => {
1064
+ I = (e) => {
1050
1065
  if (b) {
1051
1066
  let t = M.includes(e) ? M.filter((t) => t !== e) : [...M, e];
1052
1067
  A(t);
@@ -1061,21 +1076,21 @@ var de = (e) => /* @__PURE__ */ I(x, {
1061
1076
  };
1062
1077
  if (b) {
1063
1078
  let n;
1064
- t[29] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ I(x, {
1065
- as: q,
1079
+ t[29] === Symbol.for("react.memo_cache_sentinel") ? (n = /* @__PURE__ */ L(S, {
1080
+ as: J,
1066
1081
  boxSize: "12px"
1067
1082
  }), t[29] = n) : n = t[29];
1068
- let i = /* @__PURE__ */ L(_, {
1083
+ let i = /* @__PURE__ */ R(v, {
1069
1084
  gap: "2xs",
1070
1085
  alignItems: "center",
1071
1086
  flexWrap: "wrap",
1072
1087
  minW: "0",
1073
- children: [e.length > 0 ? /* @__PURE__ */ I(he, {
1088
+ children: [e.length > 0 ? /* @__PURE__ */ L(ge, {
1074
1089
  options: e,
1075
1090
  onOpenResource: c,
1076
1091
  onRemove: u,
1077
1092
  emptyText: m
1078
- }) : null, /* @__PURE__ */ I(Se, {
1093
+ }) : null, /* @__PURE__ */ L(Ce, {
1079
1094
  triggerLabel: n,
1080
1095
  options: o,
1081
1096
  selectedIds: M,
@@ -1083,100 +1098,96 @@ var de = (e) => /* @__PURE__ */ I(x, {
1083
1098
  triggerVariant: "icon",
1084
1099
  triggerAriaLabel: p ?? `Add ${r}`,
1085
1100
  size: w,
1086
- onToggle: z
1101
+ onToggle: I
1087
1102
  })]
1088
1103
  }), a;
1089
- t[30] !== i || t[31] !== S || t[32] !== j || t[33] !== C ? (a = /* @__PURE__ */ I(xe, {
1090
- fullWidth: S,
1104
+ t[30] !== i || t[31] !== x || t[32] !== j || t[33] !== C ? (a = /* @__PURE__ */ L(Se, {
1105
+ fullWidth: x,
1091
1106
  label: j,
1092
1107
  control: i,
1093
1108
  presentation: C
1094
- }), t[30] = i, t[31] = S, t[32] = j, t[33] = C, t[34] = a) : a = t[34], F = a;
1109
+ }), t[30] = i, t[31] = x, t[32] = j, t[33] = C, t[34] = a) : a = t[34], P = a;
1095
1110
  break bb0;
1096
1111
  }
1097
- let f = e[0];
1098
- N = f ? /* @__PURE__ */ L(_, {
1112
+ let d = e[0];
1113
+ N = d ? /* @__PURE__ */ R(v, {
1099
1114
  align: "center",
1100
1115
  gap: "2xs",
1101
1116
  minW: "0",
1102
- children: [_e(f, "14px"), f.name]
1117
+ children: [ve(d, "14px"), d.name]
1103
1118
  }) : p ?? "Select";
1104
1119
  }
1105
- t[6] = A, t[7] = i, t[8] = y, t[9] = m, t[10] = S, t[11] = b, t[12] = r, t[13] = c, t[14] = o, t[15] = p, t[16] = C, t[17] = l, t[18] = w, t[19] = T, t[20] = j, t[21] = M, t[22] = N, t[23] = F, t[24] = z;
1106
- } else j = t[20], M = t[21], N = t[22], F = t[23], z = t[24];
1107
- if (F !== Symbol.for("react.early_return_sentinel")) return F;
1108
- let V = N, H;
1109
- t[35] !== o || t[36] !== M || t[37] !== w || t[38] !== z || t[39] !== V ? (H = /* @__PURE__ */ I(Se, {
1110
- triggerLabel: V,
1120
+ t[6] = A, t[7] = i, t[8] = y, t[9] = m, t[10] = x, t[11] = b, t[12] = r, t[13] = c, t[14] = o, t[15] = p, t[16] = C, t[17] = l, t[18] = w, t[19] = T, t[20] = j, t[21] = M, t[22] = N, t[23] = P, t[24] = I;
1121
+ } else j = t[20], M = t[21], N = t[22], P = t[23], I = t[24];
1122
+ if (P !== Symbol.for("react.early_return_sentinel")) return P;
1123
+ let B = N, H;
1124
+ t[35] !== o || t[36] !== M || t[37] !== w || t[38] !== I || t[39] !== B ? (H = /* @__PURE__ */ L(Ce, {
1125
+ triggerLabel: B,
1111
1126
  options: o,
1112
1127
  selectedIds: M,
1113
1128
  multiSelect: !1,
1114
1129
  size: w,
1115
- onToggle: z
1116
- }), t[35] = o, t[36] = M, t[37] = w, t[38] = z, t[39] = V, t[40] = H) : H = t[40];
1130
+ onToggle: I
1131
+ }), t[35] = o, t[36] = M, t[37] = w, t[38] = I, t[39] = B, t[40] = H) : H = t[40];
1117
1132
  let U;
1118
- return t[41] !== S || t[42] !== j || t[43] !== C || t[44] !== H ? (U = /* @__PURE__ */ I(xe, {
1119
- fullWidth: S,
1133
+ return t[41] !== x || t[42] !== j || t[43] !== C || t[44] !== H ? (U = /* @__PURE__ */ L(Se, {
1134
+ fullWidth: x,
1120
1135
  label: j,
1121
1136
  presentation: C,
1122
1137
  control: H
1123
- }), t[41] = S, t[42] = j, t[43] = C, t[44] = H, t[45] = U) : U = t[45], U;
1124
- }, we = (e, t, n) => n ? [...e, ...t.filter((t) => !e.some((e) => e.id === t)).map((e) => ({
1138
+ }), t[41] = x, t[42] = j, t[43] = C, t[44] = H, t[45] = U) : U = t[45], U;
1139
+ }, Te = (e, t, n) => n ? [...e, ...t.filter((t) => !e.some((e) => e.id === t)).map((e) => ({
1125
1140
  id: e,
1126
1141
  name: e
1127
- }))] : e, Te = (e) => {
1128
- let t = P(91), { id: n, defaultValue: r, name: i, options: a, onChange: o, description: s, readOnly: c, hideLabel: l, multiSelect: u, placeholder: f, fullWidth: p, clearable: h, disabled: g, searchable: v, allowCustomValues: y, searchPlaceholder: b, emptyText: x, group: S, size: C } = e, w = l !== void 0 && l, T = u !== void 0 && u, E = p !== void 0 && p, D = h !== void 0 && h, O = g !== void 0 && g, k = v !== void 0 && v, A = y !== void 0 && y, j = C === void 0 ? "sm" : C, [M, N] = B(r), [z, V] = B(S?.defaultValue ?? ""), H, U;
1142
+ }))] : e, Ee = (e) => {
1143
+ let t = F(91), { id: n, defaultValue: r, name: i, options: a, onChange: o, description: s, readOnly: c, hideLabel: l, multiSelect: u, placeholder: d, fullWidth: p, clearable: m, disabled: g, searchable: _, allowCustomValues: y, searchPlaceholder: b, emptyText: x, group: S, size: C } = e, w = l !== void 0 && l, T = u !== void 0 && u, E = p !== void 0 && p, D = m !== void 0 && m, O = g !== void 0 && g, k = _ !== void 0 && _, A = y !== void 0 && y, j = C === void 0 ? "sm" : C, [M, N] = V(r), [P, B] = V(S?.defaultValue ?? ""), H, U;
1129
1144
  t[0] === r ? (H = t[1], U = t[2]) : (H = () => {
1130
1145
  N(r);
1131
- }, U = [r], t[0] = r, t[1] = H, t[2] = U), R(H, U);
1146
+ }, U = [r], t[0] = r, t[1] = H, t[2] = U), z(H, U);
1132
1147
  let W;
1133
1148
  t[3] === S?.defaultValue ? W = t[4] : (W = () => {
1134
- V(S?.defaultValue ?? "");
1149
+ B(S?.defaultValue ?? "");
1135
1150
  }, t[3] = S?.defaultValue, t[4] = W);
1136
1151
  let G = S?.defaultValue, K;
1137
- t[5] === G ? K = t[6] : (K = [G], t[5] = G, t[6] = K), R(W, K);
1138
- let q, J, X, ee, te, Z, Q, ne, re, ie, ae, oe;
1139
- if (t[7] !== A || t[8] !== D || t[9] !== s || t[10] !== E || t[11] !== S || t[12] !== z || t[13] !== w || t[14] !== n || t[15] !== T || t[16] !== i || t[17] !== o || t[18] !== a || t[19] !== f || t[20] !== c || t[21] !== M) {
1152
+ t[5] === G ? K = t[6] : (K = [G], t[5] = G, t[6] = K), z(W, K);
1153
+ let q, J, Y, ee, te, Z, Q, ne, re, ie, ae, oe;
1154
+ if (t[7] !== A || t[8] !== D || t[9] !== s || t[10] !== E || t[11] !== S || t[12] !== P || t[13] !== w || t[14] !== n || t[15] !== T || t[16] !== i || t[17] !== o || t[18] !== a || t[19] !== d || t[20] !== c || t[21] !== M) {
1140
1155
  oe = Symbol.for("react.early_return_sentinel");
1141
1156
  bb0: {
1142
- Q = T ? Array.isArray(M) ? M : [] : typeof M == "string" && M ? [M] : [], X = we(a, Q, A);
1157
+ Q = T ? Array.isArray(M) ? M : [] : typeof M == "string" && M ? [M] : [], Y = Te(a, Q, A);
1143
1158
  let e = () => {
1144
- let e = Q.map((e) => X.find((t) => t.id === e)?.name).filter(Ee);
1145
- return e.length === 0 ? f || "Select" : e.length <= 3 ? e.join(", ") : `${e.slice(0, 3).join(", ")} +${(e.length - 3).toString()}`;
1159
+ let e = Q.map((e) => Y.find((t) => t.id === e)?.name).filter(De);
1160
+ return e.length === 0 ? d || "Select" : e.length <= 3 ? e.join(", ") : `${e.slice(0, 3).join(", ")} +${(e.length - 3).toString()}`;
1146
1161
  }, r;
1147
1162
  t[34] !== n || t[35] !== o ? (r = (e) => {
1148
1163
  N(e), o(n, e);
1149
1164
  }, t[34] = n, t[35] = o, t[36] = r) : r = t[36];
1150
1165
  let l = r;
1151
1166
  te = (e) => {
1152
- if (!T) {
1153
- l(D && Q.includes(e) ? "" : e);
1154
- return;
1155
- }
1156
- l(Q.includes(e) ? Q.filter((t) => t !== e) : [...Q, e]);
1167
+ l(T ? Q.includes(e) ? Q.filter((t) => t !== e) : [...Q, e] : D && Q.includes(e) ? "" : e);
1157
1168
  };
1158
1169
  let u;
1159
- t[37] !== S || t[38] !== z || t[39] !== o ? (u = (e) => {
1160
- S && e !== z && (V(e), o(S.id, e));
1161
- }, t[37] = S, t[38] = z, t[39] = o, t[40] = u) : u = t[40], ee = u;
1162
- let p = Q.length === 1 ? a.find((e) => e.id === Q[0]) : void 0, h;
1163
- if (t[41] !== s || t[42] !== w || t[43] !== i ? (h = w ? null : /* @__PURE__ */ I(d, {
1170
+ t[37] !== S || t[38] !== P || t[39] !== o ? (u = (e) => {
1171
+ S && e !== P && (B(e), o(S.id, e));
1172
+ }, t[37] = S, t[38] = P, t[39] = o, t[40] = u) : u = t[40], ee = u;
1173
+ let p = Q.length === 1 ? a.find((e) => e.id === Q[0]) : void 0, m;
1174
+ if (t[41] !== s || t[42] !== w || t[43] !== i ? (m = w ? null : /* @__PURE__ */ L(f, {
1164
1175
  name: i,
1165
1176
  description: s
1166
- }), t[41] = s, t[42] = w, t[43] = i, t[44] = h) : h = t[44], Z = h, c) {
1167
- let n = /* @__PURE__ */ I(Y, { children: e() });
1177
+ }), t[41] = s, t[42] = w, t[43] = i, t[44] = m) : m = t[44], Z = m, c) {
1178
+ let n = /* @__PURE__ */ L(X, { children: e() });
1168
1179
  if (E) {
1169
1180
  let e;
1170
- t[45] === Z ? e = t[46] : (e = Z ? /* @__PURE__ */ I(m, {
1181
+ t[45] === Z ? e = t[46] : (e = Z ? /* @__PURE__ */ L(h, {
1171
1182
  mb: "xs",
1172
1183
  children: Z
1173
1184
  }) : null, t[45] = Z, t[46] = e);
1174
1185
  let r;
1175
- t[47] !== e || t[48] !== n ? (r = /* @__PURE__ */ L(m, { children: [e, n] }), t[47] = e, t[48] = n, t[49] = r) : r = t[49], oe = r;
1186
+ t[47] !== e || t[48] !== n ? (r = /* @__PURE__ */ R(h, { children: [e, n] }), t[47] = e, t[48] = n, t[49] = r) : r = t[49], oe = r;
1176
1187
  break bb0;
1177
1188
  }
1178
1189
  let r;
1179
- t[50] !== Z || t[51] !== n ? (r = /* @__PURE__ */ I(m, { children: /* @__PURE__ */ L(_, {
1190
+ t[50] !== Z || t[51] !== n ? (r = /* @__PURE__ */ L(h, { children: /* @__PURE__ */ R(v, {
1180
1191
  alignItems: "center",
1181
1192
  justifyContent: "space-between",
1182
1193
  minHeight: "2rem",
@@ -1185,28 +1196,28 @@ var de = (e) => /* @__PURE__ */ I(x, {
1185
1196
  }) }), t[50] = Z, t[51] = n, t[52] = r) : r = t[52], oe = r;
1186
1197
  break bb0;
1187
1198
  }
1188
- J = ve, ae = _e(p, "14px"), q = m, ne = "span", re = !0, ie = e();
1199
+ J = ye, ae = ve(p, "14px"), q = h, ne = "span", re = !0, ie = e();
1189
1200
  }
1190
- t[7] = A, t[8] = D, t[9] = s, t[10] = E, t[11] = S, t[12] = z, t[13] = w, t[14] = n, t[15] = T, t[16] = i, t[17] = o, t[18] = a, t[19] = f, t[20] = c, t[21] = M, t[22] = q, t[23] = J, t[24] = X, t[25] = ee, t[26] = te, t[27] = Z, t[28] = Q, t[29] = ne, t[30] = re, t[31] = ie, t[32] = ae, t[33] = oe;
1191
- } else q = t[22], J = t[23], X = t[24], ee = t[25], te = t[26], Z = t[27], Q = t[28], ne = t[29], re = t[30], ie = t[31], ae = t[32], oe = t[33];
1201
+ t[7] = A, t[8] = D, t[9] = s, t[10] = E, t[11] = S, t[12] = P, t[13] = w, t[14] = n, t[15] = T, t[16] = i, t[17] = o, t[18] = a, t[19] = d, t[20] = c, t[21] = M, t[22] = q, t[23] = J, t[24] = Y, t[25] = ee, t[26] = te, t[27] = Z, t[28] = Q, t[29] = ne, t[30] = re, t[31] = ie, t[32] = ae, t[33] = oe;
1202
+ } else q = t[22], J = t[23], Y = t[24], ee = t[25], te = t[26], Z = t[27], Q = t[28], ne = t[29], re = t[30], ie = t[31], ae = t[32], oe = t[33];
1192
1203
  if (oe !== Symbol.for("react.early_return_sentinel")) return oe;
1193
1204
  let se;
1194
- t[53] !== q || t[54] !== ne || t[55] !== re || t[56] !== ie ? (se = /* @__PURE__ */ I(q, {
1205
+ t[53] !== q || t[54] !== ne || t[55] !== re || t[56] !== ie ? (se = /* @__PURE__ */ L(q, {
1195
1206
  as: ne,
1196
1207
  truncate: re,
1197
1208
  children: ie
1198
1209
  }), t[53] = q, t[54] = ne, t[55] = re, t[56] = ie, t[57] = se) : se = t[57];
1199
1210
  let ce;
1200
- t[58] !== ae || t[59] !== se ? (ce = /* @__PURE__ */ L(F, { children: [ae, se] }), t[58] = ae, t[59] = se, t[60] = ce) : ce = t[60];
1211
+ t[58] !== ae || t[59] !== se ? (ce = /* @__PURE__ */ R(I, { children: [ae, se] }), t[58] = ae, t[59] = se, t[60] = ce) : ce = t[60];
1201
1212
  let le;
1202
- t[61] !== S || t[62] !== z ? (le = S ? {
1213
+ t[61] !== S || t[62] !== P ? (le = S ? {
1203
1214
  ...S,
1204
- defaultValue: z
1205
- } : void 0, t[61] = S, t[62] = z, t[63] = le) : le = t[63];
1215
+ defaultValue: P
1216
+ } : void 0, t[61] = S, t[62] = P, t[63] = le) : le = t[63];
1206
1217
  let ue;
1207
- t[64] !== J || t[65] !== A || t[66] !== X || t[67] !== D || t[68] !== O || t[69] !== x || t[70] !== E || t[71] !== ee || t[72] !== te || t[73] !== T || t[74] !== b || t[75] !== k || t[76] !== Q || t[77] !== j || t[78] !== ce || t[79] !== le ? (ue = /* @__PURE__ */ I(J, {
1218
+ t[64] !== J || t[65] !== A || t[66] !== Y || t[67] !== D || t[68] !== O || t[69] !== x || t[70] !== E || t[71] !== ee || t[72] !== te || t[73] !== T || t[74] !== b || t[75] !== k || t[76] !== Q || t[77] !== j || t[78] !== ce || t[79] !== le ? (ue = /* @__PURE__ */ L(J, {
1208
1219
  triggerLabel: ce,
1209
- options: X,
1220
+ options: Y,
1210
1221
  allowCustomValues: A,
1211
1222
  selectedIds: Q,
1212
1223
  multiSelect: T,
@@ -1220,24 +1231,24 @@ var de = (e) => /* @__PURE__ */ I(x, {
1220
1231
  size: j,
1221
1232
  onToggle: te,
1222
1233
  onGroupChange: ee
1223
- }), t[64] = J, t[65] = A, t[66] = X, t[67] = D, t[68] = O, t[69] = x, t[70] = E, t[71] = ee, t[72] = te, t[73] = T, t[74] = b, t[75] = k, t[76] = Q, t[77] = j, t[78] = ce, t[79] = le, t[80] = ue) : ue = t[80];
1234
+ }), t[64] = J, t[65] = A, t[66] = Y, t[67] = D, t[68] = O, t[69] = x, t[70] = E, t[71] = ee, t[72] = te, t[73] = T, t[74] = b, t[75] = k, t[76] = Q, t[77] = j, t[78] = ce, t[79] = le, t[80] = ue) : ue = t[80];
1224
1235
  let de = ue;
1225
1236
  if (E) {
1226
1237
  let e;
1227
- t[81] === Z ? e = t[82] : (e = Z ? /* @__PURE__ */ I(m, {
1238
+ t[81] === Z ? e = t[82] : (e = Z ? /* @__PURE__ */ L(h, {
1228
1239
  mb: "xs",
1229
1240
  children: Z
1230
1241
  }) : null, t[81] = Z, t[82] = e);
1231
1242
  let n;
1232
- return t[83] !== de || t[84] !== e ? (n = /* @__PURE__ */ L(m, { children: [e, de] }), t[83] = de, t[84] = e, t[85] = n) : n = t[85], n;
1243
+ return t[83] !== de || t[84] !== e ? (n = /* @__PURE__ */ R(h, { children: [e, de] }), t[83] = de, t[84] = e, t[85] = n) : n = t[85], n;
1233
1244
  }
1234
1245
  let fe;
1235
- t[86] === Z ? fe = t[87] : (fe = Z ? /* @__PURE__ */ I(m, {
1246
+ t[86] === Z ? fe = t[87] : (fe = Z ? /* @__PURE__ */ L(h, {
1236
1247
  flexShrink: 0,
1237
1248
  children: Z
1238
1249
  }) : null, t[86] = Z, t[87] = fe);
1239
1250
  let pe;
1240
- return t[88] !== de || t[89] !== fe ? (pe = /* @__PURE__ */ I(m, { children: /* @__PURE__ */ L(_, {
1251
+ return t[88] !== de || t[89] !== fe ? (pe = /* @__PURE__ */ L(h, { children: /* @__PURE__ */ R(v, {
1241
1252
  alignItems: "center",
1242
1253
  justifyContent: "space-between",
1243
1254
  minHeight: "2rem",
@@ -1245,20 +1256,19 @@ var de = (e) => /* @__PURE__ */ I(x, {
1245
1256
  children: [fe, de]
1246
1257
  }) }), t[88] = de, t[89] = fe, t[90] = pe) : pe = t[90], pe;
1247
1258
  };
1248
- function Ee(e) {
1259
+ function De(e) {
1249
1260
  return !!e;
1250
1261
  }
1251
- //#endregion
1252
- //#region src/components/param-editor/inputs/text-input.tsx
1253
- var De = (e) => {
1254
- let t = P(40), { id: n, defaultValue: r, name: i, onChange: a, description: o, readOnly: s, singleLine: c, hideLabel: l, fullWidth: u, size: f } = e, p = c === void 0 || c, h = l !== void 0 && l, g = u !== void 0 && u, v = f === void 0 ? "sm" : f, [y, b] = B(r), x = z(null), S;
1262
+ // src/components/param-editor/inputs/text-input.tsx
1263
+ var Oe = (e) => {
1264
+ let t = F(40), { id: n, defaultValue: r, name: i, onChange: a, description: o, readOnly: s, singleLine: c, hideLabel: l, fullWidth: u, size: d } = e, p = c === void 0 || c, m = l !== void 0 && l, g = u !== void 0 && u, _ = d === void 0 ? "sm" : d, [y, b] = V(r), x = B(null), S;
1255
1265
  t[0] !== n || t[1] !== a ? (S = (e) => {
1256
1266
  x.current && clearTimeout(x.current), x.current = setTimeout(() => a(n, e), 540);
1257
1267
  }, t[0] = n, t[1] = a, t[2] = S) : S = t[2];
1258
- let C = S, T, E;
1259
- t[3] === r ? (T = t[4], E = t[5]) : (T = () => {
1268
+ let C = S, w, E;
1269
+ t[3] === r ? (w = t[4], E = t[5]) : (w = () => {
1260
1270
  b(r);
1261
- }, E = [r], t[3] = r, t[4] = T, t[5] = E), R(T, E);
1271
+ }, E = [r], t[3] = r, t[4] = w, t[5] = E), z(w, E);
1262
1272
  let D;
1263
1273
  t[6] === C ? D = t[7] : (D = (e) => {
1264
1274
  b(e), C(e);
@@ -1270,19 +1280,19 @@ var De = (e) => {
1270
1280
  let A = k;
1271
1281
  if (s) {
1272
1282
  let e = !p, n;
1273
- t[12] !== e || t[13] !== y ? (n = /* @__PURE__ */ I(Y, {
1283
+ t[12] !== e || t[13] !== y ? (n = /* @__PURE__ */ L(X, {
1274
1284
  preserveWhitespace: e,
1275
1285
  children: y
1276
1286
  }), t[12] = e, t[13] = y, t[14] = n) : n = t[14];
1277
1287
  let r = n;
1278
1288
  if (p && !g) {
1279
1289
  let e;
1280
- t[15] !== o || t[16] !== h || t[17] !== i ? (e = !h && /* @__PURE__ */ I(d, {
1290
+ t[15] !== o || t[16] !== m || t[17] !== i ? (e = !m && /* @__PURE__ */ L(f, {
1281
1291
  name: i,
1282
1292
  description: o
1283
- }), t[15] = o, t[16] = h, t[17] = i, t[18] = e) : e = t[18];
1293
+ }), t[15] = o, t[16] = m, t[17] = i, t[18] = e) : e = t[18];
1284
1294
  let n;
1285
- return t[19] !== e || t[20] !== r ? (n = /* @__PURE__ */ I(m, { children: /* @__PURE__ */ L(_, {
1295
+ return t[19] !== e || t[20] !== r ? (n = /* @__PURE__ */ L(h, { children: /* @__PURE__ */ R(v, {
1286
1296
  alignItems: "center",
1287
1297
  justifyContent: "space-between",
1288
1298
  minHeight: "2rem",
@@ -1291,117 +1301,116 @@ var De = (e) => {
1291
1301
  }) }), t[19] = e, t[20] = r, t[21] = n) : n = t[21], n;
1292
1302
  }
1293
1303
  let a;
1294
- t[22] !== o || t[23] !== h || t[24] !== i ? (a = !h && /* @__PURE__ */ I(m, {
1304
+ t[22] !== o || t[23] !== m || t[24] !== i ? (a = !m && /* @__PURE__ */ L(h, {
1295
1305
  mb: "xs",
1296
- children: /* @__PURE__ */ I(d, {
1306
+ children: /* @__PURE__ */ L(f, {
1297
1307
  name: i,
1298
1308
  description: o
1299
1309
  })
1300
- }), t[22] = o, t[23] = h, t[24] = i, t[25] = a) : a = t[25];
1310
+ }), t[22] = o, t[23] = m, t[24] = i, t[25] = a) : a = t[25];
1301
1311
  let s;
1302
- return t[26] !== a || t[27] !== r ? (s = /* @__PURE__ */ L(m, {
1312
+ return t[26] !== a || t[27] !== r ? (s = /* @__PURE__ */ R(h, {
1303
1313
  width: "full",
1304
1314
  minW: "0",
1305
1315
  children: [a, r]
1306
1316
  }), t[26] = a, t[27] = r, t[28] = s) : s = t[28], s;
1307
1317
  }
1308
- let M;
1309
- return t[29] !== o || t[30] !== g || t[31] !== A || t[32] !== O || t[33] !== h || t[34] !== i || t[35] !== s || t[36] !== p || t[37] !== v || t[38] !== y ? (M = /* @__PURE__ */ I(m, {
1318
+ let j;
1319
+ return t[29] !== o || t[30] !== g || t[31] !== A || t[32] !== O || t[33] !== m || t[34] !== i || t[35] !== s || t[36] !== p || t[37] !== _ || t[38] !== y ? (j = /* @__PURE__ */ L(h, {
1310
1320
  width: "full",
1311
1321
  minW: "0",
1312
- children: p && !g ? /* @__PURE__ */ L(_, {
1322
+ children: p && !g ? /* @__PURE__ */ R(v, {
1313
1323
  alignItems: "center",
1314
1324
  justifyContent: "space-between",
1315
1325
  minHeight: "2rem",
1316
1326
  gap: "xs",
1317
- children: [!h && /* @__PURE__ */ I(d, {
1327
+ children: [!m && /* @__PURE__ */ L(f, {
1318
1328
  name: i,
1319
1329
  description: o
1320
- }), /* @__PURE__ */ I(w, {
1330
+ }), /* @__PURE__ */ L(T, {
1321
1331
  "aria-label": i,
1322
1332
  className: "nodrag",
1323
1333
  readOnly: s,
1324
1334
  flex: "1",
1325
1335
  maxW: "12.5rem",
1326
- size: v,
1336
+ size: _,
1327
1337
  type: "text",
1328
- placeholder: h ? i : void 0,
1338
+ placeholder: m ? i : void 0,
1329
1339
  value: y,
1330
1340
  onChange: (e) => O(e.target.value),
1331
1341
  onBlur: A,
1332
- onKeyUp: Oe
1342
+ onKeyUp: ke
1333
1343
  })]
1334
- }) : /* @__PURE__ */ L(m, { children: [!h && /* @__PURE__ */ I(m, {
1344
+ }) : /* @__PURE__ */ R(h, { children: [!m && /* @__PURE__ */ L(h, {
1335
1345
  mb: "xs",
1336
- children: /* @__PURE__ */ I(d, {
1346
+ children: /* @__PURE__ */ L(f, {
1337
1347
  name: i,
1338
1348
  description: o
1339
1349
  })
1340
- }), p ? /* @__PURE__ */ I(w, {
1350
+ }), p ? /* @__PURE__ */ L(T, {
1341
1351
  "aria-label": i,
1342
1352
  className: "nodrag",
1343
1353
  readOnly: s,
1344
1354
  width: "100%",
1345
- size: v,
1355
+ size: _,
1346
1356
  type: "text",
1347
- placeholder: h ? i : void 0,
1357
+ placeholder: m ? i : void 0,
1348
1358
  value: y,
1349
1359
  onChange: (e) => O(e.target.value),
1350
1360
  onBlur: A,
1351
- onKeyUp: ke
1352
- }) : /* @__PURE__ */ I(j, {
1361
+ onKeyUp: Ae
1362
+ }) : /* @__PURE__ */ L(M, {
1353
1363
  "aria-label": i,
1354
1364
  className: "nodrag",
1355
1365
  readOnly: s,
1356
1366
  width: "100%",
1357
- size: v,
1358
- placeholder: h ? i : void 0,
1367
+ size: _,
1368
+ placeholder: m ? i : void 0,
1359
1369
  value: y,
1360
1370
  onChange: (e) => O(e.target.value),
1361
1371
  onBlur: A,
1362
1372
  rows: 3,
1363
1373
  resize: "vertical"
1364
1374
  })] })
1365
- }), t[29] = o, t[30] = g, t[31] = A, t[32] = O, t[33] = h, t[34] = i, t[35] = s, t[36] = p, t[37] = v, t[38] = y, t[39] = M) : M = t[39], M;
1375
+ }), t[29] = o, t[30] = g, t[31] = A, t[32] = O, t[33] = m, t[34] = i, t[35] = s, t[36] = p, t[37] = _, t[38] = y, t[39] = j) : j = t[39], j;
1366
1376
  };
1367
- function Oe(e) {
1377
+ function ke(e) {
1368
1378
  e.key === "Enter" && e.currentTarget.blur();
1369
1379
  }
1370
- function ke(e) {
1380
+ function Ae(e) {
1371
1381
  e.key === "Enter" && e.currentTarget.blur();
1372
1382
  }
1373
- //#endregion
1374
- //#region src/components/param-editor/inputs/action-input.tsx
1375
- var Ae = (e) => {
1376
- let t = P(33), { id: n, name: r, description: i, defaultValue: a, options: o, onChange: s, readOnly: c, presentation: l } = e, u = l === void 0 ? "stacked" : l, [d, f] = B(a), p, m;
1383
+ // src/components/param-editor/inputs/action-input.tsx
1384
+ var je = (e) => {
1385
+ let t = F(33), { id: n, name: r, description: i, defaultValue: a, options: o, onChange: s, readOnly: c, presentation: l } = e, u = l === void 0 ? "stacked" : l, [d, f] = V(a), p, m;
1377
1386
  t[0] === a ? (p = t[1], m = t[2]) : (p = () => {
1378
1387
  f(a);
1379
- }, m = [a], t[0] = a, t[1] = p, t[2] = m), R(p, m);
1380
- let g;
1381
- t[3] !== n || t[4] !== s ? (g = (e) => {
1388
+ }, m = [a], t[0] = a, t[1] = p, t[2] = m), z(p, m);
1389
+ let h;
1390
+ t[3] !== n || t[4] !== s ? (h = (e) => {
1382
1391
  f(e), s(n, e);
1383
- }, t[3] = n, t[4] = s, t[5] = g) : g = t[5];
1384
- let v = g, y = u === "horizontal", b;
1392
+ }, t[3] = n, t[4] = s, t[5] = h) : h = t[5];
1393
+ let _ = h, y = u === "horizontal", b;
1385
1394
  t[6] !== d || t[7] !== r || t[8] !== o ? (b = o.find((e) => e.id === d)?.name ?? r, t[6] = d, t[7] = r, t[8] = o, t[9] = b) : b = t[9];
1386
1395
  let x = b;
1387
1396
  if (y) {
1388
1397
  let e;
1389
1398
  t[10] === d ? e = t[11] : (e = d ? [d] : [], t[10] = d, t[11] = e);
1390
1399
  let n;
1391
- return t[12] !== o || t[13] !== c || t[14] !== v || t[15] !== x || t[16] !== e ? (n = /* @__PURE__ */ I(ve, {
1400
+ return t[12] !== o || t[13] !== c || t[14] !== _ || t[15] !== x || t[16] !== e ? (n = /* @__PURE__ */ L(ye, {
1392
1401
  triggerLabel: x,
1393
1402
  options: o,
1394
1403
  selectedIds: e,
1395
1404
  multiSelect: !1,
1396
1405
  reselectable: !0,
1397
1406
  disabled: c,
1398
- onToggle: v
1399
- }), t[12] = o, t[13] = c, t[14] = v, t[15] = x, t[16] = e, t[17] = n) : n = t[17], n;
1407
+ onToggle: _
1408
+ }), t[12] = o, t[13] = c, t[14] = _, t[15] = x, t[16] = e, t[17] = n) : n = t[17], n;
1400
1409
  }
1401
1410
  let S;
1402
- if (t[18] !== d || t[19] !== o || t[20] !== c || t[21] !== v) {
1411
+ if (t[18] !== d || t[19] !== o || t[20] !== c || t[21] !== _) {
1403
1412
  let e;
1404
- t[23] !== d || t[24] !== c || t[25] !== v ? (e = (e) => /* @__PURE__ */ I(h, {
1413
+ t[23] !== d || t[24] !== c || t[25] !== _ ? (e = (e) => /* @__PURE__ */ L(g, {
1405
1414
  size: "xs",
1406
1415
  variant: d === e.id ? "subtle" : "outline",
1407
1416
  disabled: e.disabled || c,
@@ -1418,24 +1427,24 @@ var Ae = (e) => {
1418
1427
  outline: "none",
1419
1428
  boxShadow: "none"
1420
1429
  },
1421
- onClick: () => v(e.id),
1430
+ onClick: () => _(e.id),
1422
1431
  children: e.name
1423
- }, e.id), t[23] = d, t[24] = c, t[25] = v, t[26] = e) : e = t[26], S = o.map(e), t[18] = d, t[19] = o, t[20] = c, t[21] = v, t[22] = S;
1432
+ }, e.id), t[23] = d, t[24] = c, t[25] = _, t[26] = e) : e = t[26], S = o.map(e), t[18] = d, t[19] = o, t[20] = c, t[21] = _, t[22] = S;
1424
1433
  } else S = t[22];
1425
1434
  let C;
1426
- t[27] === S ? C = t[28] : (C = /* @__PURE__ */ I(_, {
1435
+ t[27] === S ? C = t[28] : (C = /* @__PURE__ */ L(v, {
1427
1436
  gap: "xs",
1428
1437
  wrap: "wrap",
1429
1438
  children: S
1430
1439
  }), t[27] = S, t[28] = C);
1431
1440
  let w = C, T;
1432
- return t[29] !== i || t[30] !== r || t[31] !== w ? (T = /* @__PURE__ */ I(J, {
1441
+ return t[29] !== i || t[30] !== r || t[31] !== w ? (T = /* @__PURE__ */ L(Y, {
1433
1442
  name: r,
1434
1443
  description: i,
1435
1444
  orientation: "stacked",
1436
1445
  children: w
1437
1446
  }), t[29] = i, t[30] = r, t[31] = w, t[32] = T) : T = t[32], T;
1438
- }, je = [
1447
+ }, Me = [
1439
1448
  "top-left",
1440
1449
  "top",
1441
1450
  "top-right",
@@ -1445,21 +1454,21 @@ var Ae = (e) => {
1445
1454
  "bottom-left",
1446
1455
  "bottom",
1447
1456
  "bottom-right"
1448
- ], Me = (e) => typeof e == "string" && je.includes(e), Ne = (e) => {
1449
- let t = P(23), { id: n, name: r, description: i, defaultValue: a, onChange: o, readOnly: s, fullWidth: c } = e, [l, u] = B(a), d, f;
1457
+ ], Ne = (e) => typeof e == "string" && Me.includes(e), Pe = (e) => {
1458
+ let t = F(23), { id: n, name: r, description: i, defaultValue: a, onChange: o, readOnly: s, fullWidth: c } = e, [l, u] = V(a), d, f;
1450
1459
  t[0] === a ? (d = t[1], f = t[2]) : (d = () => {
1451
1460
  u(a);
1452
- }, f = [a], t[0] = a, t[1] = d, t[2] = f), R(d, f);
1461
+ }, f = [a], t[0] = a, t[1] = d, t[2] = f), z(d, f);
1453
1462
  let p;
1454
1463
  t[3] !== n || t[4] !== o ? (p = (e) => {
1455
1464
  u(e), o(n, e);
1456
1465
  }, t[3] = n, t[4] = o, t[5] = p) : p = t[5];
1457
- let h = p;
1466
+ let m = p;
1458
1467
  if (s) {
1459
1468
  let e;
1460
- t[6] === l ? e = t[7] : (e = /* @__PURE__ */ I(Y, { children: l }), t[6] = l, t[7] = e);
1469
+ t[6] === l ? e = t[7] : (e = /* @__PURE__ */ L(X, { children: l }), t[6] = l, t[7] = e);
1461
1470
  let n;
1462
- return t[8] !== i || t[9] !== c || t[10] !== r || t[11] !== e ? (n = /* @__PURE__ */ I(J, {
1471
+ return t[8] !== i || t[9] !== c || t[10] !== r || t[11] !== e ? (n = /* @__PURE__ */ L(Y, {
1463
1472
  name: r,
1464
1473
  description: i,
1465
1474
  fullWidth: c,
@@ -1467,9 +1476,9 @@ var Ae = (e) => {
1467
1476
  }), t[8] = i, t[9] = c, t[10] = r, t[11] = e, t[12] = n) : n = t[12], n;
1468
1477
  }
1469
1478
  let g;
1470
- t[13] !== h || t[14] !== l ? (g = je.map((e) => {
1479
+ t[13] !== m || t[14] !== l ? (g = Me.map((e) => {
1471
1480
  let t = e === l;
1472
- return /* @__PURE__ */ I(S, {
1481
+ return /* @__PURE__ */ L(C, {
1473
1482
  "aria-label": e,
1474
1483
  "aria-pressed": t,
1475
1484
  size: "2xs",
@@ -1477,16 +1486,16 @@ var Ae = (e) => {
1477
1486
  bg: t ? "fg" : "bg",
1478
1487
  _hover: { bg: t ? "fg" : "bg.muted" },
1479
1488
  borderRadius: "0",
1480
- onClick: () => h(e),
1481
- children: /* @__PURE__ */ I(m, {
1489
+ onClick: () => m(e),
1490
+ children: /* @__PURE__ */ L(h, {
1482
1491
  boxSize: "0.375rem",
1483
1492
  borderRadius: "full",
1484
1493
  bg: t ? "bg" : "fg.muted"
1485
1494
  })
1486
1495
  }, e);
1487
- }), t[13] = h, t[14] = l, t[15] = g) : g = t[15];
1496
+ }), t[13] = m, t[14] = l, t[15] = g) : g = t[15];
1488
1497
  let _;
1489
- t[16] === g ? _ = t[17] : (_ = /* @__PURE__ */ I(v, {
1498
+ t[16] === g ? _ = t[17] : (_ = /* @__PURE__ */ L(y, {
1490
1499
  templateColumns: "repeat(3, 1.5rem)",
1491
1500
  gap: "1px",
1492
1501
  width: "fit-content",
@@ -1496,21 +1505,21 @@ var Ae = (e) => {
1496
1505
  overflow: "hidden",
1497
1506
  children: g
1498
1507
  }), t[16] = g, t[17] = _);
1499
- let y = _, b = c ? "stacked" : "inline", x;
1500
- return t[18] !== i || t[19] !== y || t[20] !== r || t[21] !== b ? (x = /* @__PURE__ */ I(J, {
1508
+ let v = _, b = c ? "stacked" : "inline", x;
1509
+ return t[18] !== i || t[19] !== v || t[20] !== r || t[21] !== b ? (x = /* @__PURE__ */ L(Y, {
1501
1510
  name: r,
1502
1511
  description: i,
1503
1512
  orientation: b,
1504
- children: y
1505
- }), t[18] = i, t[19] = y, t[20] = r, t[21] = b, t[22] = x) : x = t[22], x;
1506
- }, Pe = (e, t) => `${e.name}-${e.size.toString()}-${e.lastModified.toString()}-${t.toString()}`, Fe = (e, t, n) => {
1513
+ children: v
1514
+ }), t[18] = i, t[19] = v, t[20] = r, t[21] = b, t[22] = x) : x = t[22], x;
1515
+ }, Fe = (e, t) => `${e.name}-${e.size.toString()}-${e.lastModified.toString()}-${t.toString()}`, Ie = (e, t, n) => {
1507
1516
  let r = n ? t.length : 0, i = e.map((e, t) => ({
1508
- id: Pe(e, r + t),
1517
+ id: Fe(e, r + t),
1509
1518
  file: e,
1510
1519
  status: "queued"
1511
1520
  }));
1512
1521
  return n ? [...t, ...i] : i.slice(0, 1);
1513
- }, Ie = (e) => {
1522
+ }, Le = (e) => {
1514
1523
  let t = [
1515
1524
  "uploading",
1516
1525
  "error",
@@ -1521,16 +1530,16 @@ var Ae = (e) => {
1521
1530
  state: t,
1522
1531
  count: t === "empty" ? 0 : e.filter((e) => e.status === t).length
1523
1532
  };
1524
- }, Le = {
1525
- queued: G,
1526
- complete: W,
1527
- error: U
1528
- }, Re = (e) => {
1529
- let t = P(21), { values: n } = e, r, i, a, o, s, c, l;
1533
+ }, Re = {
1534
+ queued: K,
1535
+ complete: G,
1536
+ error: W
1537
+ }, ze = (e) => {
1538
+ let t = F(21), { values: n } = e, r, i, a, o, s, c, l;
1530
1539
  if (t[0] !== n) {
1531
1540
  l = Symbol.for("react.early_return_sentinel");
1532
1541
  bb0: {
1533
- if (i = Ie(n), i.state === "empty") {
1542
+ if (i = Le(n), i.state === "empty") {
1534
1543
  l = null;
1535
1544
  break bb0;
1536
1545
  }
@@ -1548,96 +1557,96 @@ var Ae = (e) => {
1548
1557
  empty: ""
1549
1558
  }, t[8] = o, t[9] = s, t[10] = c, t[11] = u, t[12] = d) : d = t[12];
1550
1559
  let f = d, p;
1551
- t[13] === i.state ? p = t[14] : (p = i.state === "uploading" ? /* @__PURE__ */ I(O, {
1560
+ t[13] === i.state ? p = t[14] : (p = i.state === "uploading" ? /* @__PURE__ */ L(k, {
1552
1561
  boxSize: "12px",
1553
1562
  borderWidth: "1px"
1554
- }) : /* @__PURE__ */ I(x, {
1555
- as: Le[i.state],
1563
+ }) : /* @__PURE__ */ L(S, {
1564
+ as: Re[i.state],
1556
1565
  boxSize: "12px"
1557
1566
  }), t[13] = i.state, t[14] = p);
1558
- let m = p, h = i.state === "error" ? "fg.error" : "fg.muted", g = f[i.state], v;
1559
- t[15] === g ? v = t[16] : (v = /* @__PURE__ */ I(A, {
1567
+ let m = p, h = i.state === "error" ? "fg.error" : "fg.muted", g = f[i.state], _;
1568
+ t[15] === g ? _ = t[16] : (_ = /* @__PURE__ */ L(j, {
1560
1569
  textStyle: "label/XS/medium",
1561
1570
  children: g
1562
- }), t[15] = g, t[16] = v);
1571
+ }), t[15] = g, t[16] = _);
1563
1572
  let y;
1564
- return t[17] !== m || t[18] !== v || t[19] !== h ? (y = /* @__PURE__ */ L(_, {
1573
+ return t[17] !== m || t[18] !== _ || t[19] !== h ? (y = /* @__PURE__ */ R(v, {
1565
1574
  alignItems: "center",
1566
1575
  gap: "2xs",
1567
1576
  color: h,
1568
- children: [m, v]
1569
- }), t[17] = m, t[18] = v, t[19] = h, t[20] = y) : y = t[20], y;
1570
- }, ze = (e) => {
1571
- let t = P(14), { readOnly: n, values: r, onRemove: i } = e;
1577
+ children: [m, _]
1578
+ }), t[17] = m, t[18] = _, t[19] = h, t[20] = y) : y = t[20], y;
1579
+ }, Be = (e) => {
1580
+ let t = F(14), { readOnly: n, values: r, onRemove: i } = e;
1572
1581
  if (r.length === 0) return null;
1573
1582
  let a;
1574
- t[0] === r ? a = t[1] : (a = /* @__PURE__ */ I(Re, { values: r }), t[0] = r, t[1] = a);
1583
+ t[0] === r ? a = t[1] : (a = /* @__PURE__ */ L(ze, { values: r }), t[0] = r, t[1] = a);
1575
1584
  let o;
1576
1585
  if (t[2] !== i || t[3] !== n || t[4] !== r) {
1577
1586
  let e;
1578
- t[6] !== i || t[7] !== n ? (e = (e) => /* @__PURE__ */ I(s, {
1587
+ t[6] !== i || t[7] !== n ? (e = (e) => /* @__PURE__ */ L(c, {
1579
1588
  file: e.file,
1580
1589
  disabled: n,
1581
1590
  removeLabel: `Remove ${e.file.name}`,
1582
1591
  onRemove: () => i(e.id)
1583
1592
  }, e.id), t[6] = i, t[7] = n, t[8] = e) : e = t[8], o = r.map(e), t[2] = i, t[3] = n, t[4] = r, t[5] = o;
1584
1593
  } else o = t[5];
1585
- let c;
1586
- t[9] === o ? c = t[10] : (c = /* @__PURE__ */ I(M, {
1594
+ let s;
1595
+ t[9] === o ? s = t[10] : (s = /* @__PURE__ */ L(N, {
1587
1596
  gap: "2xs",
1588
1597
  children: o
1589
- }), t[9] = o, t[10] = c);
1598
+ }), t[9] = o, t[10] = s);
1590
1599
  let l;
1591
- return t[11] !== a || t[12] !== c ? (l = /* @__PURE__ */ L(k, {
1600
+ return t[11] !== a || t[12] !== s ? (l = /* @__PURE__ */ R(A, {
1592
1601
  gap: "2xs",
1593
1602
  minW: "0",
1594
- children: [a, c]
1595
- }), t[11] = a, t[12] = c, t[13] = l) : l = t[13], l;
1596
- }, Be = (e) => {
1597
- let t = P(40), { id: n, name: r, description: i, defaultValue: a, accept: o, multiple: s, uploadLabel: c, onChange: l, readOnly: u, presentation: d } = e, f = s === void 0 || s, p = c === void 0 ? "Attach files" : c, m = d === void 0 ? "stacked" : d, [g, v] = B(a), y = z(null), b, S;
1598
- t[0] === a ? (b = t[1], S = t[2]) : (b = () => {
1599
- v(a);
1600
- }, S = [a], t[0] = a, t[1] = b, t[2] = S), R(b, S);
1603
+ children: [a, s]
1604
+ }), t[11] = a, t[12] = s, t[13] = l) : l = t[13], l;
1605
+ }, Ve = (e) => {
1606
+ let t = F(40), { id: n, name: r, description: i, defaultValue: a, accept: o, multiple: s, uploadLabel: c, onChange: l, readOnly: u, presentation: d } = e, f = s === void 0 || s, p = c === void 0 ? "Attach files" : c, m = d === void 0 ? "stacked" : d, [h, _] = V(a), y = B(null), b, x;
1607
+ t[0] === a ? (b = t[1], x = t[2]) : (b = () => {
1608
+ _(a);
1609
+ }, x = [a], t[0] = a, t[1] = b, t[2] = x), z(b, x);
1601
1610
  let C;
1602
1611
  t[3] !== n || t[4] !== l ? (C = (e) => {
1603
- v(e), l(n, e);
1612
+ _(e), l(n, e);
1604
1613
  }, t[3] = n, t[4] = l, t[5] = C) : C = t[5];
1605
1614
  let w = C, T;
1606
- t[6] !== w || t[7] !== g ? (T = (e) => w(g.filter((t) => t.id !== e)), t[6] = w, t[7] = g, t[8] = T) : T = t[8];
1615
+ t[6] !== w || t[7] !== h ? (T = (e) => w(h.filter((t) => t.id !== e)), t[6] = w, t[7] = h, t[8] = T) : T = t[8];
1607
1616
  let E = T, D;
1608
- t[9] !== u || t[10] !== p ? (D = u ? null : /* @__PURE__ */ L(h, {
1617
+ t[9] !== u || t[10] !== p ? (D = u ? null : /* @__PURE__ */ R(g, {
1609
1618
  size: "xs",
1610
1619
  variant: "ghost",
1611
1620
  flexShrink: 0,
1612
1621
  onClick: () => y.current?.click(),
1613
- children: [/* @__PURE__ */ I(x, {
1614
- as: K,
1622
+ children: [/* @__PURE__ */ L(S, {
1623
+ as: q,
1615
1624
  boxSize: "14px"
1616
1625
  }), p]
1617
1626
  }), t[9] = u, t[10] = p, t[11] = D) : D = t[11];
1618
- let O = D, A;
1619
- t[12] !== w || t[13] !== f || t[14] !== g ? (A = (e) => {
1620
- w(Fe(Array.from(e.currentTarget.files ?? []), g, f)), e.currentTarget.value = "";
1621
- }, t[12] = w, t[13] = f, t[14] = g, t[15] = A) : A = t[15];
1627
+ let O = D, k;
1628
+ t[12] !== w || t[13] !== f || t[14] !== h ? (k = (e) => {
1629
+ w(Ie(Array.from(e.currentTarget.files ?? []), h, f)), e.currentTarget.value = "";
1630
+ }, t[12] = w, t[13] = f, t[14] = h, t[15] = k) : k = t[15];
1622
1631
  let j;
1623
- t[16] !== o || t[17] !== f || t[18] !== A ? (j = /* @__PURE__ */ I("input", {
1632
+ t[16] !== o || t[17] !== f || t[18] !== k ? (j = /* @__PURE__ */ L("input", {
1624
1633
  ref: y,
1625
1634
  hidden: !0,
1626
1635
  type: "file",
1627
1636
  accept: o,
1628
1637
  multiple: f,
1629
- onChange: A
1630
- }), t[16] = o, t[17] = f, t[18] = A, t[19] = j) : j = t[19];
1638
+ onChange: k
1639
+ }), t[16] = o, t[17] = f, t[18] = k, t[19] = j) : j = t[19];
1631
1640
  let M = j;
1632
1641
  if (m === "horizontal") {
1633
1642
  let e;
1634
- t[20] !== u || t[21] !== E || t[22] !== g ? (e = /* @__PURE__ */ I(ze, {
1643
+ t[20] !== u || t[21] !== E || t[22] !== h ? (e = /* @__PURE__ */ L(Be, {
1635
1644
  readOnly: u,
1636
- values: g,
1645
+ values: h,
1637
1646
  onRemove: E
1638
- }), t[20] = u, t[21] = E, t[22] = g, t[23] = e) : e = t[23];
1647
+ }), t[20] = u, t[21] = E, t[22] = h, t[23] = e) : e = t[23];
1639
1648
  let n;
1640
- return t[24] !== O || t[25] !== M || t[26] !== e ? (n = /* @__PURE__ */ L(_, {
1649
+ return t[24] !== O || t[25] !== M || t[26] !== e ? (n = /* @__PURE__ */ R(v, {
1641
1650
  alignItems: "center",
1642
1651
  gap: "sm",
1643
1652
  minW: "0",
@@ -1650,13 +1659,13 @@ var Ae = (e) => {
1650
1659
  }), t[24] = O, t[25] = M, t[26] = e, t[27] = n) : n = t[27], n;
1651
1660
  }
1652
1661
  let N;
1653
- t[28] !== u || t[29] !== E || t[30] !== g ? (N = /* @__PURE__ */ I(ze, {
1662
+ t[28] !== u || t[29] !== E || t[30] !== h ? (N = /* @__PURE__ */ L(Be, {
1654
1663
  readOnly: u,
1655
- values: g,
1664
+ values: h,
1656
1665
  onRemove: E
1657
- }), t[28] = u, t[29] = E, t[30] = g, t[31] = N) : N = t[31];
1658
- let F;
1659
- t[32] !== O || t[33] !== M || t[34] !== N ? (F = /* @__PURE__ */ L(k, {
1666
+ }), t[28] = u, t[29] = E, t[30] = h, t[31] = N) : N = t[31];
1667
+ let P;
1668
+ t[32] !== O || t[33] !== M || t[34] !== N ? (P = /* @__PURE__ */ R(A, {
1660
1669
  alignItems: "start",
1661
1670
  gap: "xs",
1662
1671
  minW: "0",
@@ -1665,105 +1674,104 @@ var Ae = (e) => {
1665
1674
  O,
1666
1675
  N
1667
1676
  ]
1668
- }), t[32] = O, t[33] = M, t[34] = N, t[35] = F) : F = t[35];
1669
- let V;
1670
- return t[36] !== i || t[37] !== r || t[38] !== F ? (V = /* @__PURE__ */ I(J, {
1677
+ }), t[32] = O, t[33] = M, t[34] = N, t[35] = P) : P = t[35];
1678
+ let I;
1679
+ return t[36] !== i || t[37] !== r || t[38] !== P ? (I = /* @__PURE__ */ L(Y, {
1671
1680
  name: r,
1672
1681
  description: i,
1673
1682
  orientation: "stacked",
1674
- children: F
1675
- }), t[36] = i, t[37] = r, t[38] = F, t[39] = V) : V = t[39], V;
1676
- }, Ve = (e, t, n) => {
1683
+ children: P
1684
+ }), t[36] = i, t[37] = r, t[38] = P, t[39] = I) : I = t[39], I;
1685
+ }, He = (e, t, n) => {
1677
1686
  let r = Math.min(t, n), i = Math.max(t, n);
1678
1687
  return e < r ? r : e > i ? i : e;
1679
- }, He = (e, t, n = 0) => t > 0 ? n + Math.round((e - n) / t) * t : e, Ue = (e, t) => {
1688
+ }, Ue = (e, t, n = 0) => t > 0 ? n + Math.round((e - n) / t) * t : e, We = (e, t) => {
1680
1689
  let n = Number.isInteger(e) ? `${e}` : `${Number(e.toFixed(3))}`;
1681
1690
  return t ? `${n}${t}` : n;
1682
- }, We = (e, t, n, r) => {
1683
- let i = Ve(e[0], t, n), a = Ve(e[1], t, n), o = Math.min(i, a), s = Math.max(i, a);
1684
- return r && r > 0 && (o = Ve(He(o, r, t), t, n), s = Ve(He(s, r, t), t, n)), [o, s];
1685
- }, Ge = (e) => {
1686
- let t = P(4), { count: n } = e;
1691
+ }, Ge = (e, t, n, r) => {
1692
+ let i = He(e[0], t, n), a = He(e[1], t, n), o = Math.min(i, a), s = Math.max(i, a);
1693
+ return r && r > 0 && (o = He(Ue(o, r, t), t, n), s = He(Ue(s, r, t), t, n)), [o, s];
1694
+ }, Ke = (e) => {
1695
+ let t = F(4), { count: n } = e;
1687
1696
  if (!n || n < 2) return null;
1688
1697
  let r;
1689
1698
  t[0] === n ? r = t[1] : (r = Array.from({ length: n }, (e, t) => t / (n - 1)), t[0] = n, t[1] = r);
1690
1699
  let i = r, a;
1691
- return t[2] === i ? a = t[3] : (a = /* @__PURE__ */ I(_, {
1700
+ return t[2] === i ? a = t[3] : (a = /* @__PURE__ */ L(v, {
1692
1701
  justifyContent: "space-between",
1693
1702
  mt: "2xs",
1694
1703
  "aria-hidden": "true",
1695
- children: i.map(Ke)
1704
+ children: i.map(qe)
1696
1705
  }), t[2] = i, t[3] = a), a;
1697
1706
  };
1698
- function Ke(e) {
1699
- return /* @__PURE__ */ I(m, {
1707
+ function qe(e) {
1708
+ return /* @__PURE__ */ L(h, {
1700
1709
  width: "1px",
1701
1710
  height: "0.375rem",
1702
1711
  bg: "border.subtle"
1703
1712
  }, e);
1704
1713
  }
1705
- //#endregion
1706
- //#region src/components/param-editor/inputs/range-input.tsx
1707
- var qe = (e) => {
1708
- let t = P(71), { id: n, name: r, description: i, defaultValue: a, min: s, max: c, step: l, unit: u, markerCount: d, onChange: f, readOnly: p, fullWidth: g, presentation: v } = e, y = l === void 0 ? 1 : l, b = v === void 0 ? "stacked" : v, S;
1709
- t[0] !== a || t[1] !== c || t[2] !== s || t[3] !== y ? (S = () => We(a, s, c, y), t[0] = a, t[1] = c, t[2] = s, t[3] = y, t[4] = S) : S = t[4];
1710
- let [C, w] = B(S), T, D;
1711
- t[5] !== a || t[6] !== c || t[7] !== s || t[8] !== y ? (T = () => {
1712
- w(We(a, s, c, y));
1713
- }, D = [
1714
+ // src/components/param-editor/inputs/range-input.tsx
1715
+ var Je = (e) => {
1716
+ let t = F(71), { id: n, name: r, description: i, defaultValue: a, min: o, max: c, step: l, unit: u, markerCount: d, onChange: f, readOnly: p, fullWidth: m, presentation: _ } = e, y = l === void 0 ? 1 : l, b = _ === void 0 ? "stacked" : _, x;
1717
+ t[0] !== a || t[1] !== c || t[2] !== o || t[3] !== y ? (x = () => Ge(a, o, c, y), t[0] = a, t[1] = c, t[2] = o, t[3] = y, t[4] = x) : x = t[4];
1718
+ let [C, w] = V(x), T, E;
1719
+ t[5] !== a || t[6] !== c || t[7] !== o || t[8] !== y ? (T = () => {
1720
+ w(Ge(a, o, c, y));
1721
+ }, E = [
1714
1722
  a,
1715
- s,
1723
+ o,
1716
1724
  c,
1717
1725
  y
1718
- ], t[5] = a, t[6] = c, t[7] = s, t[8] = y, t[9] = T, t[10] = D) : (T = t[9], D = t[10]), R(T, D);
1726
+ ], t[5] = a, t[6] = c, t[7] = o, t[8] = y, t[9] = T, t[10] = E) : (T = t[9], E = t[10]), z(T, E);
1719
1727
  let O;
1720
- t[11] !== u || t[12] !== C[0] ? (O = Ue(C[0], u), t[11] = u, t[12] = C[0], t[13] = O) : O = t[13];
1721
- let j;
1722
- t[14] !== u || t[15] !== C[1] ? (j = Ue(C[1], u), t[14] = u, t[15] = C[1], t[16] = j) : j = t[16];
1723
- let M = `${O} – ${j}`, N = b === "horizontal";
1728
+ t[11] !== u || t[12] !== C[0] ? (O = We(C[0], u), t[11] = u, t[12] = C[0], t[13] = O) : O = t[13];
1729
+ let k;
1730
+ t[14] !== u || t[15] !== C[1] ? (k = We(C[1], u), t[14] = u, t[15] = C[1], t[16] = k) : k = t[16];
1731
+ let M = `${O} – ${k}`, N = b === "horizontal";
1724
1732
  if (p) {
1725
1733
  if (N) {
1726
1734
  let e;
1727
- return t[17] === M ? e = t[18] : (e = /* @__PURE__ */ I(Y, { children: M }), t[17] = M, t[18] = e), e;
1735
+ return t[17] === M ? e = t[18] : (e = /* @__PURE__ */ L(X, { children: M }), t[17] = M, t[18] = e), e;
1728
1736
  }
1729
1737
  let e;
1730
- t[19] === M ? e = t[20] : (e = /* @__PURE__ */ I(Y, { children: M }), t[19] = M, t[20] = e);
1738
+ t[19] === M ? e = t[20] : (e = /* @__PURE__ */ L(X, { children: M }), t[19] = M, t[20] = e);
1731
1739
  let n;
1732
- return t[21] !== i || t[22] !== g || t[23] !== r || t[24] !== e ? (n = /* @__PURE__ */ I(J, {
1740
+ return t[21] !== i || t[22] !== m || t[23] !== r || t[24] !== e ? (n = /* @__PURE__ */ L(Y, {
1733
1741
  name: r,
1734
1742
  description: i,
1735
- fullWidth: g,
1743
+ fullWidth: m,
1736
1744
  children: e
1737
- }), t[21] = i, t[22] = g, t[23] = r, t[24] = e, t[25] = n) : n = t[25], n;
1745
+ }), t[21] = i, t[22] = m, t[23] = r, t[24] = e, t[25] = n) : n = t[25], n;
1738
1746
  }
1739
- let F;
1740
- t[26] === M ? F = t[27] : (F = /* @__PURE__ */ I(A, {
1747
+ let P;
1748
+ t[26] === M ? P = t[27] : (P = /* @__PURE__ */ L(j, {
1741
1749
  textStyle: "label/S/regular",
1742
1750
  color: "fg.muted",
1743
1751
  whiteSpace: "nowrap",
1744
1752
  children: M
1745
- }), t[26] = M, t[27] = F);
1746
- let z = F, V;
1747
- t[28] !== c || t[29] !== s || t[30] !== y ? (V = (e) => w(We(e.value, s, c, y)), t[28] = c, t[29] = s, t[30] = y, t[31] = V) : V = t[31];
1748
- let U;
1749
- t[32] !== n || t[33] !== c || t[34] !== s || t[35] !== f || t[36] !== y ? (U = (e) => {
1750
- let t = We(e.value, s, c, y);
1753
+ }), t[26] = M, t[27] = P);
1754
+ let I = P, B;
1755
+ t[28] !== c || t[29] !== o || t[30] !== y ? (B = (e) => w(Ge(e.value, o, c, y)), t[28] = c, t[29] = o, t[30] = y, t[31] = B) : B = t[31];
1756
+ let H;
1757
+ t[32] !== n || t[33] !== c || t[34] !== o || t[35] !== f || t[36] !== y ? (H = (e) => {
1758
+ let t = Ge(e.value, o, c, y);
1751
1759
  w(t), f(n, t);
1752
- }, t[32] = n, t[33] = c, t[34] = s, t[35] = f, t[36] = y, t[37] = U) : U = t[37];
1760
+ }, t[32] = n, t[33] = c, t[34] = o, t[35] = f, t[36] = y, t[37] = H) : H = t[37];
1753
1761
  let W;
1754
- t[38] !== c || t[39] !== s || t[40] !== y || t[41] !== V || t[42] !== U || t[43] !== C ? (W = /* @__PURE__ */ I(o, {
1762
+ t[38] !== c || t[39] !== o || t[40] !== y || t[41] !== B || t[42] !== H || t[43] !== C ? (W = /* @__PURE__ */ L(s, {
1755
1763
  size: "sm",
1756
1764
  value: C,
1757
- min: s,
1765
+ min: o,
1758
1766
  max: c,
1759
1767
  step: y,
1760
- onValueChange: V,
1761
- onValueChangeEnd: U
1762
- }), t[38] = c, t[39] = s, t[40] = y, t[41] = V, t[42] = U, t[43] = C, t[44] = W) : W = t[44];
1768
+ onValueChange: B,
1769
+ onValueChangeEnd: H
1770
+ }), t[38] = c, t[39] = o, t[40] = y, t[41] = B, t[42] = H, t[43] = C, t[44] = W) : W = t[44];
1763
1771
  let G;
1764
- t[45] === d ? G = t[46] : (G = /* @__PURE__ */ I(Ge, { count: d }), t[45] = d, t[46] = G);
1772
+ t[45] === d ? G = t[46] : (G = /* @__PURE__ */ L(Ke, { count: d }), t[45] = d, t[46] = G);
1765
1773
  let K;
1766
- t[47] !== W || t[48] !== G ? (K = /* @__PURE__ */ L(m, { children: [W, G] }), t[47] = W, t[48] = G, t[49] = K) : K = t[49];
1774
+ t[47] !== W || t[48] !== G ? (K = /* @__PURE__ */ R(h, { children: [W, G] }), t[47] = W, t[48] = G, t[49] = K) : K = t[49];
1767
1775
  let q = K;
1768
1776
  if (N) {
1769
1777
  let e;
@@ -1772,14 +1780,14 @@ var qe = (e) => {
1772
1780
  offset: { mainAxis: 4 }
1773
1781
  }, t[50] = e) : e = t[50];
1774
1782
  let n = `${r}: ${M}`, i;
1775
- t[51] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ I(x, {
1776
- as: H,
1783
+ t[51] === Symbol.for("react.memo_cache_sentinel") ? (i = /* @__PURE__ */ L(S, {
1784
+ as: U,
1777
1785
  boxSize: "14px"
1778
1786
  }), t[51] = i) : i = t[51];
1779
1787
  let a;
1780
- t[52] !== M || t[53] !== n ? (a = /* @__PURE__ */ I(E.Trigger, {
1788
+ t[52] !== M || t[53] !== n ? (a = /* @__PURE__ */ L(D.Trigger, {
1781
1789
  asChild: !0,
1782
- children: /* @__PURE__ */ L(h, {
1790
+ children: /* @__PURE__ */ R(g, {
1783
1791
  size: "xs",
1784
1792
  variant: "ghost",
1785
1793
  "aria-label": n,
@@ -1787,58 +1795,58 @@ var qe = (e) => {
1787
1795
  })
1788
1796
  }), t[52] = M, t[53] = n, t[54] = a) : a = t[54];
1789
1797
  let o;
1790
- t[55] === r ? o = t[56] : (o = /* @__PURE__ */ I(A, {
1798
+ t[55] === r ? o = t[56] : (o = /* @__PURE__ */ L(j, {
1791
1799
  textStyle: "label/S/medium",
1792
1800
  children: r
1793
1801
  }), t[55] = r, t[56] = o);
1794
1802
  let s;
1795
- t[57] !== o || t[58] !== z ? (s = /* @__PURE__ */ L(_, {
1803
+ t[57] !== o || t[58] !== I ? (s = /* @__PURE__ */ R(v, {
1796
1804
  alignItems: "center",
1797
1805
  justifyContent: "space-between",
1798
1806
  gap: "xs",
1799
- children: [o, z]
1800
- }), t[57] = o, t[58] = z, t[59] = s) : s = t[59];
1807
+ children: [o, I]
1808
+ }), t[57] = o, t[58] = I, t[59] = s) : s = t[59];
1801
1809
  let c;
1802
- t[60] !== q || t[61] !== s ? (c = /* @__PURE__ */ I(E.Positioner, { children: /* @__PURE__ */ I(E.Content, {
1810
+ t[60] !== q || t[61] !== s ? (c = /* @__PURE__ */ L(D.Positioner, { children: /* @__PURE__ */ L(D.Content, {
1803
1811
  width: "60",
1804
1812
  padding: "sm",
1805
1813
  background: "bg",
1806
- children: /* @__PURE__ */ L(k, {
1814
+ children: /* @__PURE__ */ R(A, {
1807
1815
  gap: "xs",
1808
1816
  children: [s, q]
1809
1817
  })
1810
1818
  }) }), t[60] = q, t[61] = s, t[62] = c) : c = t[62];
1811
1819
  let l;
1812
- return t[63] !== a || t[64] !== c ? (l = /* @__PURE__ */ L(E.Root, {
1820
+ return t[63] !== a || t[64] !== c ? (l = /* @__PURE__ */ R(D.Root, {
1813
1821
  positioning: e,
1814
1822
  children: [a, c]
1815
1823
  }), t[63] = a, t[64] = c, t[65] = l) : l = t[65], l;
1816
1824
  }
1817
- let X;
1818
- return t[66] !== i || t[67] !== r || t[68] !== q || t[69] !== z ? (X = /* @__PURE__ */ I(J, {
1825
+ let J;
1826
+ return t[66] !== i || t[67] !== r || t[68] !== q || t[69] !== I ? (J = /* @__PURE__ */ L(Y, {
1819
1827
  name: r,
1820
1828
  description: i,
1821
1829
  orientation: "stacked",
1822
- labelTrailing: z,
1830
+ labelTrailing: I,
1823
1831
  children: q
1824
- }), t[66] = i, t[67] = r, t[68] = q, t[69] = z, t[70] = X) : X = t[70], X;
1825
- }, Je = (e) => {
1826
- let t = P(42), { id: n, name: r, description: i, defaultValue: a, options: o, variant: s, onChange: c, readOnly: l, fullWidth: u, presentation: d } = e, f = s === void 0 ? "default" : s, p = d === void 0 ? "stacked" : d, [g, _] = B(a), v, b;
1827
- t[0] === a ? (v = t[1], b = t[2]) : (v = () => {
1832
+ }), t[66] = i, t[67] = r, t[68] = q, t[69] = I, t[70] = J) : J = t[70], J;
1833
+ }, Ye = (e) => {
1834
+ let t = F(42), { id: n, name: r, description: i, defaultValue: a, options: o, variant: s, onChange: c, readOnly: l, fullWidth: u, presentation: d } = e, f = s === void 0 ? "default" : s, p = d === void 0 ? "stacked" : d, [m, _] = V(a), v, y;
1835
+ t[0] === a ? (v = t[1], y = t[2]) : (v = () => {
1828
1836
  _(a);
1829
- }, b = [a], t[0] = a, t[1] = v, t[2] = b), R(v, b);
1837
+ }, y = [a], t[0] = a, t[1] = v, t[2] = y), z(v, y);
1830
1838
  let x;
1831
1839
  t[3] !== n || t[4] !== c ? (x = (e) => {
1832
1840
  _(e), c(n, e);
1833
1841
  }, t[3] = n, t[4] = c, t[5] = x) : x = t[5];
1834
1842
  let S = x, C;
1835
- t[6] !== o || t[7] !== g ? (C = o.find((e) => e.id === g)?.name ?? g, t[6] = o, t[7] = g, t[8] = C) : C = t[8];
1843
+ t[6] !== o || t[7] !== m ? (C = o.find((e) => e.id === m)?.name ?? m, t[6] = o, t[7] = m, t[8] = C) : C = t[8];
1836
1844
  let w = C, T = p === "horizontal";
1837
1845
  if (l) {
1838
1846
  let e;
1839
- t[9] === w ? e = t[10] : (e = /* @__PURE__ */ I(Y, { children: w }), t[9] = w, t[10] = e);
1847
+ t[9] === w ? e = t[10] : (e = /* @__PURE__ */ L(X, { children: w }), t[9] = w, t[10] = e);
1840
1848
  let n;
1841
- return t[11] !== i || t[12] !== u || t[13] !== T || t[14] !== r || t[15] !== e ? (n = /* @__PURE__ */ I(J, {
1849
+ return t[11] !== i || t[12] !== u || t[13] !== T || t[14] !== r || t[15] !== e ? (n = /* @__PURE__ */ L(Y, {
1842
1850
  name: r,
1843
1851
  description: i,
1844
1852
  hideLabel: T,
@@ -1848,9 +1856,9 @@ var qe = (e) => {
1848
1856
  }
1849
1857
  if (T) {
1850
1858
  let e;
1851
- t[17] === g ? e = t[18] : (e = [g], t[17] = g, t[18] = e);
1859
+ t[17] === m ? e = t[18] : (e = [m], t[17] = m, t[18] = e);
1852
1860
  let n;
1853
- return t[19] !== o || t[20] !== S || t[21] !== w || t[22] !== e ? (n = /* @__PURE__ */ I(ve, {
1861
+ return t[19] !== o || t[20] !== S || t[21] !== w || t[22] !== e ? (n = /* @__PURE__ */ L(ye, {
1854
1862
  triggerLabel: w,
1855
1863
  options: o,
1856
1864
  selectedIds: e,
@@ -1864,28 +1872,28 @@ var qe = (e) => {
1864
1872
  boxShadow: "none"
1865
1873
  }, t[24] = E, t[25] = D, t[26] = O) : (E = t[24], D = t[25], O = t[26]);
1866
1874
  let k;
1867
- if (t[27] !== o || t[28] !== S || t[29] !== g || t[30] !== f) {
1875
+ if (t[27] !== o || t[28] !== S || t[29] !== m || t[30] !== f) {
1868
1876
  let e;
1869
- t[32] !== S || t[33] !== g || t[34] !== f ? (e = (e) => {
1870
- let t = e.id === g;
1871
- return /* @__PURE__ */ L(h, {
1877
+ t[32] !== S || t[33] !== m || t[34] !== f ? (e = (e) => {
1878
+ let t = e.id === m;
1879
+ return /* @__PURE__ */ R(g, {
1872
1880
  flex: "1",
1873
1881
  size: "xs",
1874
1882
  variant: t ? "subtle" : "ghost",
1875
1883
  borderRadius: "0",
1876
1884
  "aria-pressed": t,
1877
1885
  onClick: () => S(e.id),
1878
- children: [f === "dots" ? /* @__PURE__ */ I(m, {
1886
+ children: [f === "dots" ? /* @__PURE__ */ L(h, {
1879
1887
  boxSize: "0.5rem",
1880
1888
  borderRadius: "full",
1881
1889
  bg: e.indicatorColor ?? "fg.muted",
1882
1890
  mr: "1"
1883
1891
  }) : null, e.name]
1884
1892
  }, e.id);
1885
- }, t[32] = S, t[33] = g, t[34] = f, t[35] = e) : e = t[35], k = o.map(e), t[27] = o, t[28] = S, t[29] = g, t[30] = f, t[31] = k;
1893
+ }, t[32] = S, t[33] = m, t[34] = f, t[35] = e) : e = t[35], k = o.map(e), t[27] = o, t[28] = S, t[29] = m, t[30] = f, t[31] = k;
1886
1894
  } else k = t[31];
1887
1895
  let A;
1888
- t[36] === k ? A = t[37] : (A = /* @__PURE__ */ I(y, {
1896
+ t[36] === k ? A = t[37] : (A = /* @__PURE__ */ L(b, {
1889
1897
  attached: !0,
1890
1898
  width: "full",
1891
1899
  borderWidth: "1px",
@@ -1899,25 +1907,25 @@ var qe = (e) => {
1899
1907
  children: k
1900
1908
  }), t[36] = k, t[37] = A);
1901
1909
  let j = A, M;
1902
- return t[38] !== i || t[39] !== j || t[40] !== r ? (M = /* @__PURE__ */ I(J, {
1910
+ return t[38] !== i || t[39] !== j || t[40] !== r ? (M = /* @__PURE__ */ L(Y, {
1903
1911
  name: r,
1904
1912
  description: i,
1905
1913
  orientation: "stacked",
1906
1914
  children: j
1907
1915
  }), t[38] = i, t[39] = j, t[40] = r, t[41] = M) : M = t[41], M;
1908
- }, Ye = (e) => {
1909
- let t = P(6), n, r;
1916
+ }, Xe = (e) => {
1917
+ let t = F(6), n, r;
1910
1918
  t[0] === e ? (n = t[1], r = t[2]) : ({children: n, ...r} = e, t[0] = e, t[1] = n, t[2] = r);
1911
1919
  let i;
1912
- return t[3] !== n || t[4] !== r ? (i = /* @__PURE__ */ I(_, {
1920
+ return t[3] !== n || t[4] !== r ? (i = /* @__PURE__ */ L(v, {
1913
1921
  alignItems: "center",
1914
1922
  gap: "xs",
1915
1923
  minW: "0",
1916
1924
  ...r,
1917
1925
  children: n
1918
1926
  }), t[3] = n, t[4] = r, t[5] = i) : i = t[5], i;
1919
- }, Xe = (e, t) => t.min === void 0 && t.max === void 0 ? e : Ve(e, t.min ?? -Infinity, t.max ?? Infinity), Ze = (e, t, n, r = {}) => {
1920
- let i = Xe(n, r);
1927
+ }, Ze = (e, t) => t.min === void 0 && t.max === void 0 ? e : He(e, t.min ?? -Infinity, t.max ?? Infinity), Qe = (e, t, n, r = {}) => {
1928
+ let i = Ze(n, r);
1921
1929
  return t === "x" ? {
1922
1930
  x: i,
1923
1931
  y: e.y
@@ -1925,9 +1933,9 @@ var qe = (e) => {
1925
1933
  x: e.x,
1926
1934
  y: i
1927
1935
  };
1928
- }, Qe = (e) => {
1929
- let t = P(15), { label: n, fieldId: r, value: i, min: a, max: o, step: s, onCommit: c } = e, l;
1930
- t[0] === n ? l = t[1] : (l = /* @__PURE__ */ I(A, {
1936
+ }, $e = (e) => {
1937
+ let t = F(15), { label: n, fieldId: r, value: i, min: a, max: o, step: s, onCommit: c } = e, l;
1938
+ t[0] === n ? l = t[1] : (l = /* @__PURE__ */ L(j, {
1931
1939
  textStyle: "label/XS/regular",
1932
1940
  color: "fg.muted",
1933
1941
  width: "1rem",
@@ -1937,7 +1945,7 @@ var qe = (e) => {
1937
1945
  let u;
1938
1946
  t[2] === c ? u = t[3] : (u = (e, t) => c(t), t[2] = c, t[3] = u);
1939
1947
  let d;
1940
- t[4] !== r || t[5] !== n || t[6] !== o || t[7] !== a || t[8] !== s || t[9] !== u || t[10] !== i ? (d = /* @__PURE__ */ I(ce, {
1948
+ t[4] !== r || t[5] !== n || t[6] !== o || t[7] !== a || t[8] !== s || t[9] !== u || t[10] !== i ? (d = /* @__PURE__ */ L(le, {
1941
1949
  id: r,
1942
1950
  name: n,
1943
1951
  description: "",
@@ -1950,20 +1958,20 @@ var qe = (e) => {
1950
1958
  onChange: u
1951
1959
  }), t[4] = r, t[5] = n, t[6] = o, t[7] = a, t[8] = s, t[9] = u, t[10] = i, t[11] = d) : d = t[11];
1952
1960
  let f;
1953
- return t[12] !== l || t[13] !== d ? (f = /* @__PURE__ */ L(_, {
1961
+ return t[12] !== l || t[13] !== d ? (f = /* @__PURE__ */ R(v, {
1954
1962
  alignItems: "center",
1955
1963
  gap: "1",
1956
1964
  flexShrink: 0,
1957
1965
  children: [l, d]
1958
1966
  }), t[12] = l, t[13] = d, t[14] = f) : f = t[14], f;
1959
- }, $e = (e) => {
1960
- let t = P(42), { id: n, name: r, description: i, defaultValue: a, xLabel: o, yLabel: s, min: c, max: l, step: u, onChange: d, readOnly: f } = e, p = o === void 0 ? "X" : o, m = s === void 0 ? "Y" : s, h = u === void 0 ? 1 : u, [g, _] = B(a), v, y;
1967
+ }, et = (e) => {
1968
+ let t = F(42), { id: n, name: r, description: i, defaultValue: a, xLabel: o, yLabel: s, min: c, max: l, step: u, onChange: d, readOnly: f } = e, p = o === void 0 ? "X" : o, m = s === void 0 ? "Y" : s, h = u === void 0 ? 1 : u, [g, _] = V(a), v, y;
1961
1969
  t[0] === a ? (v = t[1], y = t[2]) : (v = () => {
1962
1970
  _(a);
1963
- }, y = [a], t[0] = a, t[1] = v, t[2] = y), R(v, y);
1971
+ }, y = [a], t[0] = a, t[1] = v, t[2] = y), z(v, y);
1964
1972
  let b;
1965
1973
  t[3] !== n || t[4] !== l || t[5] !== c || t[6] !== d || t[7] !== g ? (b = (e, t) => {
1966
- let r = Ze(g, e, t, {
1974
+ let r = Qe(g, e, t, {
1967
1975
  min: c,
1968
1976
  max: l
1969
1977
  });
@@ -1972,9 +1980,9 @@ var qe = (e) => {
1972
1980
  let x = b;
1973
1981
  if (f) {
1974
1982
  let e = `${g.x}, ${g.y}`, n;
1975
- t[9] === e ? n = t[10] : (n = /* @__PURE__ */ I(Y, { children: e }), t[9] = e, t[10] = n);
1983
+ t[9] === e ? n = t[10] : (n = /* @__PURE__ */ L(X, { children: e }), t[9] = e, t[10] = n);
1976
1984
  let a;
1977
- return t[11] !== i || t[12] !== r || t[13] !== n ? (a = /* @__PURE__ */ I(J, {
1985
+ return t[11] !== i || t[12] !== r || t[13] !== n ? (a = /* @__PURE__ */ L(Y, {
1978
1986
  name: r,
1979
1987
  description: i,
1980
1988
  children: n
@@ -1983,7 +1991,7 @@ var qe = (e) => {
1983
1991
  let S = `${n}.x`, C;
1984
1992
  t[15] === x ? C = t[16] : (C = (e) => x("x", e), t[15] = x, t[16] = C);
1985
1993
  let w;
1986
- t[17] !== l || t[18] !== c || t[19] !== h || t[20] !== S || t[21] !== C || t[22] !== g.x || t[23] !== p ? (w = /* @__PURE__ */ I(Qe, {
1994
+ t[17] !== l || t[18] !== c || t[19] !== h || t[20] !== S || t[21] !== C || t[22] !== g.x || t[23] !== p ? (w = /* @__PURE__ */ L($e, {
1987
1995
  label: p,
1988
1996
  fieldId: S,
1989
1997
  value: g.x,
@@ -1995,7 +2003,7 @@ var qe = (e) => {
1995
2003
  let T = `${n}.y`, E;
1996
2004
  t[25] === x ? E = t[26] : (E = (e) => x("y", e), t[25] = x, t[26] = E);
1997
2005
  let D;
1998
- t[27] !== l || t[28] !== c || t[29] !== h || t[30] !== E || t[31] !== T || t[32] !== g.y || t[33] !== m ? (D = /* @__PURE__ */ I(Qe, {
2006
+ t[27] !== l || t[28] !== c || t[29] !== h || t[30] !== E || t[31] !== T || t[32] !== g.y || t[33] !== m ? (D = /* @__PURE__ */ L($e, {
1999
2007
  label: m,
2000
2008
  fieldId: T,
2001
2009
  value: g.y,
@@ -2005,16 +2013,16 @@ var qe = (e) => {
2005
2013
  onCommit: E
2006
2014
  }), t[27] = l, t[28] = c, t[29] = h, t[30] = E, t[31] = T, t[32] = g.y, t[33] = m, t[34] = D) : D = t[34];
2007
2015
  let O;
2008
- t[35] !== D || t[36] !== w ? (O = /* @__PURE__ */ L(Ye, { children: [w, D] }), t[35] = D, t[36] = w, t[37] = O) : O = t[37];
2016
+ t[35] !== D || t[36] !== w ? (O = /* @__PURE__ */ R(Xe, { children: [w, D] }), t[35] = D, t[36] = w, t[37] = O) : O = t[37];
2009
2017
  let k;
2010
- return t[38] !== i || t[39] !== r || t[40] !== O ? (k = /* @__PURE__ */ I(J, {
2018
+ return t[38] !== i || t[39] !== r || t[40] !== O ? (k = /* @__PURE__ */ L(Y, {
2011
2019
  name: r,
2012
2020
  description: i,
2013
2021
  orientation: "stacked",
2014
2022
  children: O
2015
2023
  }), t[38] = i, t[39] = r, t[40] = O, t[41] = k) : k = t[41], k;
2016
- }, $ = (e, t, n) => e[t] === void 0 ? n : e[t], et = (e) => {
2017
- let t = P(81), { param: n, defaultValues: r, onChange: i, readOnly: a, fullWidth: o, presentation: s } = e, c = a || n.readOnly, l = s !== "horizontal" && o, u;
2024
+ }, $ = (e, t, n) => e[t] === void 0 ? n : e[t], tt = (e) => {
2025
+ let t = F(81), { param: n, defaultValues: r, onChange: i, readOnly: a, fullWidth: o, presentation: s } = e, c = a || n.readOnly, l = s !== "horizontal" && o, u;
2018
2026
  t[0] !== i || t[1] !== n.id || t[2] !== c || t[3] !== l ? (u = {
2019
2027
  id: n.id,
2020
2028
  readOnly: c,
@@ -2027,7 +2035,7 @@ var qe = (e) => {
2027
2035
  let e = n.name, i = n.description, a;
2028
2036
  t[5] !== r || t[6] !== n.defaultValue || t[7] !== n.id ? (a = $(r, n.id, n.defaultValue), t[5] = r, t[6] = n.defaultValue, t[7] = n.id, t[8] = a) : a = t[8];
2029
2037
  let o;
2030
- return t[9] !== d || t[10] !== n.description || t[11] !== n.markerCount || t[12] !== n.max || t[13] !== n.min || t[14] !== n.name || t[15] !== n.step || t[16] !== n.unit || t[17] !== s || t[18] !== a ? (o = /* @__PURE__ */ I(qe, {
2038
+ return t[9] !== d || t[10] !== n.description || t[11] !== n.markerCount || t[12] !== n.max || t[13] !== n.min || t[14] !== n.name || t[15] !== n.step || t[16] !== n.unit || t[17] !== s || t[18] !== a ? (o = /* @__PURE__ */ L(Je, {
2031
2039
  ...d,
2032
2040
  name: e,
2033
2041
  description: i,
@@ -2044,7 +2052,7 @@ var qe = (e) => {
2044
2052
  let e = n.name, i = n.description, a;
2045
2053
  t[20] !== r || t[21] !== n.defaultValue || t[22] !== n.id ? (a = $(r, n.id, n.defaultValue), t[20] = r, t[21] = n.defaultValue, t[22] = n.id, t[23] = a) : a = t[23];
2046
2054
  let o;
2047
- return t[24] !== d || t[25] !== n.description || t[26] !== n.name || t[27] !== n.options || t[28] !== n.variant || t[29] !== s || t[30] !== a ? (o = /* @__PURE__ */ I(Je, {
2055
+ return t[24] !== d || t[25] !== n.description || t[26] !== n.name || t[27] !== n.options || t[28] !== n.variant || t[29] !== s || t[30] !== a ? (o = /* @__PURE__ */ L(Ye, {
2048
2056
  ...d,
2049
2057
  name: e,
2050
2058
  description: i,
@@ -2058,7 +2066,7 @@ var qe = (e) => {
2058
2066
  let e = n.name, i = n.description, a;
2059
2067
  t[32] !== r || t[33] !== n.defaultValue || t[34] !== n.id ? (a = $(r, n.id, n.defaultValue), t[32] = r, t[33] = n.defaultValue, t[34] = n.id, t[35] = a) : a = t[35];
2060
2068
  let o;
2061
- return t[36] !== d || t[37] !== n.description || t[38] !== n.name || t[39] !== n.options || t[40] !== s || t[41] !== a ? (o = /* @__PURE__ */ I(Ae, {
2069
+ return t[36] !== d || t[37] !== n.description || t[38] !== n.name || t[39] !== n.options || t[40] !== s || t[41] !== a ? (o = /* @__PURE__ */ L(je, {
2062
2070
  ...d,
2063
2071
  name: e,
2064
2072
  description: i,
@@ -2072,7 +2080,7 @@ var qe = (e) => {
2072
2080
  let e = n.name, i = n.description, a;
2073
2081
  t[43] !== r || t[44] !== n.defaultValue || t[45] !== n.id ? (a = $(r, n.id, n.defaultValue), t[43] = r, t[44] = n.defaultValue, t[45] = n.id, t[46] = a) : a = t[46];
2074
2082
  let o;
2075
- return t[47] !== d || t[48] !== n.description || t[49] !== n.name || t[50] !== a ? (o = /* @__PURE__ */ I(Ne, {
2083
+ return t[47] !== d || t[48] !== n.description || t[49] !== n.name || t[50] !== a ? (o = /* @__PURE__ */ L(Pe, {
2076
2084
  ...d,
2077
2085
  name: e,
2078
2086
  description: i,
@@ -2083,7 +2091,7 @@ var qe = (e) => {
2083
2091
  let e = n.name, i = n.description, a;
2084
2092
  t[52] !== r || t[53] !== n.defaultValue || t[54] !== n.id ? (a = $(r, n.id, n.defaultValue), t[52] = r, t[53] = n.defaultValue, t[54] = n.id, t[55] = a) : a = t[55];
2085
2093
  let o;
2086
- return t[56] !== d || t[57] !== n.description || t[58] !== n.max || t[59] !== n.min || t[60] !== n.name || t[61] !== n.step || t[62] !== n.xLabel || t[63] !== n.yLabel || t[64] !== a ? (o = /* @__PURE__ */ I($e, {
2094
+ return t[56] !== d || t[57] !== n.description || t[58] !== n.max || t[59] !== n.min || t[60] !== n.name || t[61] !== n.step || t[62] !== n.xLabel || t[63] !== n.yLabel || t[64] !== a ? (o = /* @__PURE__ */ L(et, {
2087
2095
  ...d,
2088
2096
  name: e,
2089
2097
  description: i,
@@ -2099,7 +2107,7 @@ var qe = (e) => {
2099
2107
  let e = n.id, a = n.name, o = n.description, c;
2100
2108
  t[66] !== r || t[67] !== n.defaultValue || t[68] !== n.id ? (c = $(r, n.id, n.defaultValue), t[66] = r, t[67] = n.defaultValue, t[68] = n.id, t[69] = c) : c = t[69];
2101
2109
  let l;
2102
- return t[70] !== d.readOnly || t[71] !== i || t[72] !== n.accept || t[73] !== n.description || t[74] !== n.id || t[75] !== n.multiple || t[76] !== n.name || t[77] !== n.uploadLabel || t[78] !== s || t[79] !== c ? (l = /* @__PURE__ */ I(Be, {
2110
+ return t[70] !== d.readOnly || t[71] !== i || t[72] !== n.accept || t[73] !== n.description || t[74] !== n.id || t[75] !== n.multiple || t[76] !== n.name || t[77] !== n.uploadLabel || t[78] !== s || t[79] !== c ? (l = /* @__PURE__ */ L(Ve, {
2103
2111
  id: e,
2104
2112
  name: a,
2105
2113
  description: o,
@@ -2113,20 +2121,20 @@ var qe = (e) => {
2113
2121
  }), t[70] = d.readOnly, t[71] = i, t[72] = n.accept, t[73] = n.description, t[74] = n.id, t[75] = n.multiple, t[76] = n.name, t[77] = n.uploadLabel, t[78] = s, t[79] = c, t[80] = l) : l = t[80], l;
2114
2122
  }
2115
2123
  }
2116
- }, tt = (e) => e.type === "fileUpload" || e.type === "text" && e.singleLine === !1, nt = (e) => e.type !== "anchorGrid", rt = (e) => e === null || e === "" ? "Not provided" : String(e), it = (e) => {
2117
- let t = P(23), { value: n } = e;
2124
+ }, nt = (e) => e.type === "fileUpload" || e.type === "text" && e.singleLine === !1, rt = (e) => e.type !== "anchorGrid", it = (e) => e === null || e === "" ? "Not provided" : String(e), at = (e) => {
2125
+ let t = F(23), { value: n } = e;
2118
2126
  if (Array.isArray(n)) {
2119
2127
  if (n.length === 0) {
2120
2128
  let e;
2121
- return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ I(Y, {
2129
+ return t[0] === Symbol.for("react.memo_cache_sentinel") ? (e = /* @__PURE__ */ L(X, {
2122
2130
  color: "fg.muted",
2123
2131
  children: "None"
2124
2132
  }), t[0] = e) : e = t[0], e;
2125
2133
  }
2126
2134
  let e;
2127
- t[1] === n ? e = t[2] : (e = n.map(ot), t[1] = n, t[2] = e);
2135
+ t[1] === n ? e = t[2] : (e = n.map(st), t[1] = n, t[2] = e);
2128
2136
  let r;
2129
- return t[3] === e ? r = t[4] : (r = /* @__PURE__ */ I(b, {
2137
+ return t[3] === e ? r = t[4] : (r = /* @__PURE__ */ L(x, {
2130
2138
  gap: "2xs",
2131
2139
  flexWrap: "wrap",
2132
2140
  children: e
@@ -2139,9 +2147,9 @@ var qe = (e) => {
2139
2147
  alt: n.alt
2140
2148
  }] : n.images, t[5] = n.alt, t[6] = n.images, t[7] = n.src, t[8] = n.type, t[9] = e) : e = t[9];
2141
2149
  let r = e, i;
2142
- t[10] === r ? i = t[11] : (i = r.map(st), t[10] = r, t[11] = i);
2150
+ t[10] === r ? i = t[11] : (i = r.map(ct), t[10] = r, t[11] = i);
2143
2151
  let a;
2144
- return t[12] === i ? a = t[13] : (a = /* @__PURE__ */ I(b, {
2152
+ return t[12] === i ? a = t[13] : (a = /* @__PURE__ */ L(x, {
2145
2153
  gap: "2xs",
2146
2154
  flexWrap: "wrap",
2147
2155
  children: i
@@ -2149,37 +2157,37 @@ var qe = (e) => {
2149
2157
  }
2150
2158
  if (typeof n == "boolean") {
2151
2159
  let e;
2152
- t[14] === n ? e = t[15] : (e = rt(n), t[14] = n, t[15] = e);
2160
+ t[14] === n ? e = t[15] : (e = it(n), t[14] = n, t[15] = e);
2153
2161
  let r;
2154
- return t[16] === e ? r = t[17] : (r = /* @__PURE__ */ I(Y, { children: e }), t[16] = e, t[17] = r), r;
2162
+ return t[16] === e ? r = t[17] : (r = /* @__PURE__ */ L(X, { children: e }), t[16] = e, t[17] = r), r;
2155
2163
  }
2156
2164
  let r = n === null || n === "" ? "fg.muted" : "fg", i;
2157
- t[18] === n ? i = t[19] : (i = rt(n), t[18] = n, t[19] = i);
2165
+ t[18] === n ? i = t[19] : (i = it(n), t[18] = n, t[19] = i);
2158
2166
  let a;
2159
- return t[20] !== r || t[21] !== i ? (a = /* @__PURE__ */ I(Y, {
2167
+ return t[20] !== r || t[21] !== i ? (a = /* @__PURE__ */ L(X, {
2160
2168
  color: r,
2161
2169
  children: i
2162
2170
  }), t[20] = r, t[21] = i, t[22] = a) : a = t[22], a;
2163
- }, at = (e) => {
2164
- let t = P(7), { param: n, fullWidth: r } = e, i;
2165
- t[0] === n.value ? i = t[1] : (i = /* @__PURE__ */ I(it, { value: n.value }), t[0] = n.value, t[1] = i);
2171
+ }, ot = (e) => {
2172
+ let t = F(7), { param: n, fullWidth: r } = e, i;
2173
+ t[0] === n.value ? i = t[1] : (i = /* @__PURE__ */ L(at, { value: n.value }), t[0] = n.value, t[1] = i);
2166
2174
  let a;
2167
- return t[2] !== r || t[3] !== n.description || t[4] !== n.name || t[5] !== i ? (a = /* @__PURE__ */ I(J, {
2175
+ return t[2] !== r || t[3] !== n.description || t[4] !== n.name || t[5] !== i ? (a = /* @__PURE__ */ L(Y, {
2168
2176
  name: n.name,
2169
2177
  description: n.description,
2170
2178
  fullWidth: r,
2171
2179
  children: i
2172
2180
  }), t[2] = r, t[3] = n.description, t[4] = n.name, t[5] = i, t[6] = a) : a = t[6], a;
2173
2181
  };
2174
- function ot(e, t) {
2175
- return /* @__PURE__ */ I(p, {
2182
+ function st(e, t) {
2183
+ return /* @__PURE__ */ L(m, {
2176
2184
  variant: "subtle",
2177
2185
  colorPalette: "gray",
2178
- children: rt(e)
2186
+ children: it(e)
2179
2187
  }, `${String(e)}-${t}`);
2180
2188
  }
2181
- function st(e) {
2182
- return /* @__PURE__ */ I(C, {
2189
+ function ct(e) {
2190
+ return /* @__PURE__ */ L(w, {
2183
2191
  src: e.src,
2184
2192
  alt: e.alt,
2185
2193
  width: "96px",
@@ -2190,42 +2198,41 @@ function st(e) {
2190
2198
  objectFit: "cover"
2191
2199
  }, `${e.src}-${e.alt}`);
2192
2200
  }
2193
- //#endregion
2194
- //#region src/components/param-editor/param-editor-field.tsx
2195
- var ct = (e) => {
2196
- let t = P(16), { param: n, fullWidth: r } = e;
2201
+ // src/components/param-editor/param-editor-field.tsx
2202
+ var lt = (e) => {
2203
+ let t = F(16), { param: n, fullWidth: r } = e;
2197
2204
  if (r) {
2198
2205
  let e;
2199
- t[0] !== n.description || t[1] !== n.name ? (e = /* @__PURE__ */ I(m, {
2206
+ t[0] !== n.description || t[1] !== n.name ? (e = /* @__PURE__ */ L(h, {
2200
2207
  mb: "xs",
2201
- children: /* @__PURE__ */ I(d, {
2208
+ children: /* @__PURE__ */ L(f, {
2202
2209
  name: n.name,
2203
2210
  description: n.description
2204
2211
  })
2205
2212
  }), t[0] = n.description, t[1] = n.name, t[2] = e) : e = t[2];
2206
2213
  let r;
2207
- t[3] === n.value ? r = t[4] : (r = /* @__PURE__ */ I(Y, { children: n.value }), t[3] = n.value, t[4] = r);
2214
+ t[3] === n.value ? r = t[4] : (r = /* @__PURE__ */ L(X, { children: n.value }), t[3] = n.value, t[4] = r);
2208
2215
  let i;
2209
- return t[5] !== e || t[6] !== r ? (i = /* @__PURE__ */ L(m, { children: [e, r] }), t[5] = e, t[6] = r, t[7] = i) : i = t[7], i;
2216
+ return t[5] !== e || t[6] !== r ? (i = /* @__PURE__ */ R(h, { children: [e, r] }), t[5] = e, t[6] = r, t[7] = i) : i = t[7], i;
2210
2217
  }
2211
2218
  let i;
2212
- t[8] !== n.description || t[9] !== n.name ? (i = /* @__PURE__ */ I(d, {
2219
+ t[8] !== n.description || t[9] !== n.name ? (i = /* @__PURE__ */ L(f, {
2213
2220
  name: n.name,
2214
2221
  description: n.description
2215
2222
  }), t[8] = n.description, t[9] = n.name, t[10] = i) : i = t[10];
2216
2223
  let a;
2217
- t[11] === n.value ? a = t[12] : (a = /* @__PURE__ */ I(Y, { children: n.value }), t[11] = n.value, t[12] = a);
2224
+ t[11] === n.value ? a = t[12] : (a = /* @__PURE__ */ L(X, { children: n.value }), t[11] = n.value, t[12] = a);
2218
2225
  let o;
2219
- return t[13] !== i || t[14] !== a ? (o = /* @__PURE__ */ L(_, {
2226
+ return t[13] !== i || t[14] !== a ? (o = /* @__PURE__ */ R(v, {
2220
2227
  alignItems: "center",
2221
2228
  justifyContent: "space-between",
2222
2229
  minHeight: "2rem",
2223
2230
  gap: "xs",
2224
2231
  children: [i, a]
2225
2232
  }), t[13] = i, t[14] = a, t[15] = o) : o = t[15], o;
2226
- }, lt = (e) => {
2227
- let t = P(138), { param: n, defaultValues: r, onChange: i, onOpenResource: a, readOnly: o, fullWidth: s, presentation: c, size: l } = e, u = s !== void 0 && s, d = c === void 0 ? "stacked" : c, f = l === void 0 ? "sm" : l, p = d === "horizontal", m;
2228
- t[0] === n ? m = t[1] : (m = tt(n), t[0] = n, t[1] = m);
2233
+ }, ut = (e) => {
2234
+ let t = F(138), { param: n, defaultValues: r, onChange: i, onOpenResource: a, readOnly: o, fullWidth: s, presentation: c, size: l } = e, u = s !== void 0 && s, d = c === void 0 ? "stacked" : c, f = l === void 0 ? "sm" : l, p = d === "horizontal", m;
2235
+ t[0] === n ? m = t[1] : (m = nt(n), t[0] = n, t[1] = m);
2229
2236
  let h = m, g = o || n.readOnly, _ = p ? h : u, v;
2230
2237
  t[2] !== i || t[3] !== n.id || t[4] !== f || t[5] !== g || t[6] !== _ ? (v = {
2231
2238
  id: n.id,
@@ -2240,7 +2247,7 @@ var ct = (e) => {
2240
2247
  let e = n.name, i = n.description || "", a;
2241
2248
  t[8] !== r || t[9] !== n.defaultValue || t[10] !== n.id ? (a = $(r, n.id, n.defaultValue), t[8] = r, t[9] = n.defaultValue, t[10] = n.id, t[11] = a) : a = t[11];
2242
2249
  let o;
2243
- return t[12] !== y || t[13] !== p || t[14] !== n.max || t[15] !== n.min || t[16] !== n.name || t[17] !== n.step || t[18] !== i || t[19] !== a ? (o = /* @__PURE__ */ I(ce, {
2250
+ return t[12] !== y || t[13] !== p || t[14] !== n.max || t[15] !== n.min || t[16] !== n.name || t[17] !== n.step || t[18] !== i || t[19] !== a ? (o = /* @__PURE__ */ L(le, {
2244
2251
  ...y,
2245
2252
  name: e,
2246
2253
  description: i,
@@ -2256,7 +2263,7 @@ var ct = (e) => {
2256
2263
  let e = n.name, i = n.description, a;
2257
2264
  t[21] !== r || t[22] !== n.defaultValue || t[23] !== n.id ? (a = $(r, n.id, n.defaultValue), t[21] = r, t[22] = n.defaultValue, t[23] = n.id, t[24] = a) : a = t[24];
2258
2265
  let o;
2259
- return t[25] !== y || t[26] !== p || t[27] !== n.description || t[28] !== n.name || t[29] !== a ? (o = /* @__PURE__ */ I(X, {
2266
+ return t[25] !== y || t[26] !== p || t[27] !== n.description || t[28] !== n.name || t[29] !== a ? (o = /* @__PURE__ */ L(ee, {
2260
2267
  ...y,
2261
2268
  name: e,
2262
2269
  description: i,
@@ -2269,7 +2276,7 @@ var ct = (e) => {
2269
2276
  let e = n.name, i = n.description || "", a;
2270
2277
  t[31] !== r || t[32] !== n.defaultValue || t[33] !== n.id ? (a = $(r, n.id, n.defaultValue), t[31] = r, t[32] = n.defaultValue, t[33] = n.id, t[34] = a) : a = t[34];
2271
2278
  let o;
2272
- return t[35] !== y || t[36] !== n.name || t[37] !== i || t[38] !== a ? (o = /* @__PURE__ */ I(ie, {
2279
+ return t[35] !== y || t[36] !== n.name || t[37] !== i || t[38] !== a ? (o = /* @__PURE__ */ L(ae, {
2273
2280
  ...y,
2274
2281
  name: e,
2275
2282
  description: i,
@@ -2280,7 +2287,7 @@ var ct = (e) => {
2280
2287
  let e = n.name, i = n.description || "", a;
2281
2288
  t[40] !== r || t[41] !== n.defaultValue || t[42] !== n.id ? (a = $(r, n.id, n.defaultValue), t[40] = r, t[41] = n.defaultValue, t[42] = n.id, t[43] = a) : a = t[43];
2282
2289
  let o;
2283
- return t[44] !== y || t[45] !== n.name || t[46] !== n.singleLine || t[47] !== i || t[48] !== a ? (o = /* @__PURE__ */ I(De, {
2290
+ return t[44] !== y || t[45] !== n.name || t[46] !== n.singleLine || t[47] !== i || t[48] !== a ? (o = /* @__PURE__ */ L(Oe, {
2284
2291
  ...y,
2285
2292
  name: e,
2286
2293
  description: i,
@@ -2292,7 +2299,7 @@ var ct = (e) => {
2292
2299
  let e = n.id, a = n.name, o = n.description, s;
2293
2300
  t[50] !== r || t[51] !== n.defaultValue || t[52] !== n.id ? (s = $(r, n.id, n.defaultValue), t[50] = r, t[51] = n.defaultValue, t[52] = n.id, t[53] = s) : s = t[53];
2294
2301
  let c;
2295
- return t[54] !== y.readOnly || t[55] !== i || t[56] !== n.description || t[57] !== n.id || t[58] !== n.name || t[59] !== n.placeholder || t[60] !== d || t[61] !== f || t[62] !== s ? (c = /* @__PURE__ */ I(se, {
2302
+ return t[54] !== y.readOnly || t[55] !== i || t[56] !== n.description || t[57] !== n.id || t[58] !== n.name || t[59] !== n.placeholder || t[60] !== d || t[61] !== f || t[62] !== s ? (c = /* @__PURE__ */ L(ce, {
2296
2303
  id: e,
2297
2304
  name: a,
2298
2305
  description: o,
@@ -2313,7 +2320,7 @@ var ct = (e) => {
2313
2320
  defaultValue: $(r, n.group.id, n.group.defaultValue)
2314
2321
  } : void 0, t[68] = r, t[69] = n.group, t[70] = o) : o = t[70];
2315
2322
  let s;
2316
- return t[71] !== y || t[72] !== p || t[73] !== n.allowCustomValues || t[74] !== n.clearable || t[75] !== n.disabled || t[76] !== n.emptyText || t[77] !== n.multiSelect || t[78] !== n.name || t[79] !== n.options || t[80] !== n.placeholder || t[81] !== n.searchPlaceholder || t[82] !== n.searchable || t[83] !== o || t[84] !== i || t[85] !== a ? (s = /* @__PURE__ */ I(Te, {
2323
+ return t[71] !== y || t[72] !== p || t[73] !== n.allowCustomValues || t[74] !== n.clearable || t[75] !== n.disabled || t[76] !== n.emptyText || t[77] !== n.multiSelect || t[78] !== n.name || t[79] !== n.options || t[80] !== n.placeholder || t[81] !== n.searchPlaceholder || t[82] !== n.searchable || t[83] !== o || t[84] !== i || t[85] !== a ? (s = /* @__PURE__ */ L(Ee, {
2317
2324
  ...y,
2318
2325
  name: e,
2319
2326
  description: i,
@@ -2335,7 +2342,7 @@ var ct = (e) => {
2335
2342
  let e = n.name, i = n.description || "", a;
2336
2343
  t[87] !== r || t[88] !== n.defaultValue || t[89] !== n.id ? (a = $(r, n.id, n.defaultValue), t[87] = r, t[88] = n.defaultValue, t[89] = n.id, t[90] = a) : a = t[90];
2337
2344
  let o;
2338
- return t[91] !== y || t[92] !== p || t[93] !== n.max || t[94] !== n.min || t[95] !== n.name || t[96] !== i || t[97] !== a ? (o = /* @__PURE__ */ I(Q, {
2345
+ return t[91] !== y || t[92] !== p || t[93] !== n.max || t[94] !== n.min || t[95] !== n.name || t[96] !== i || t[97] !== a ? (o = /* @__PURE__ */ L(ne, {
2339
2346
  ...y,
2340
2347
  name: e,
2341
2348
  description: i,
@@ -2349,7 +2356,7 @@ var ct = (e) => {
2349
2356
  let e = n.name, i = n.description || "", a;
2350
2357
  t[99] !== r || t[100] !== n.defaultValue || t[101] !== n.id ? (a = $(r, n.id, n.defaultValue), t[99] = r, t[100] = n.defaultValue, t[101] = n.id, t[102] = a) : a = t[102];
2351
2358
  let o;
2352
- return t[103] !== y || t[104] !== p || t[105] !== n.name || t[106] !== i || t[107] !== a ? (o = /* @__PURE__ */ I(ee, {
2359
+ return t[103] !== y || t[104] !== p || t[105] !== n.name || t[106] !== i || t[107] !== a ? (o = /* @__PURE__ */ L(te, {
2353
2360
  ...y,
2354
2361
  name: e,
2355
2362
  description: i,
@@ -2359,14 +2366,14 @@ var ct = (e) => {
2359
2366
  }
2360
2367
  case "property": {
2361
2368
  let e = !p && u, r;
2362
- return t[109] !== n || t[110] !== e ? (r = /* @__PURE__ */ I(ct, {
2369
+ return t[109] !== n || t[110] !== e ? (r = /* @__PURE__ */ L(lt, {
2363
2370
  param: n,
2364
2371
  fullWidth: e
2365
2372
  }), t[109] = n, t[110] = e, t[111] = r) : r = t[111], r;
2366
2373
  }
2367
2374
  case "readOnly": {
2368
2375
  let e = !p && u, r;
2369
- return t[112] !== n || t[113] !== e ? (r = /* @__PURE__ */ I(at, {
2376
+ return t[112] !== n || t[113] !== e ? (r = /* @__PURE__ */ L(ot, {
2370
2377
  param: n,
2371
2378
  fullWidth: e
2372
2379
  }), t[112] = n, t[113] = e, t[114] = r) : r = t[114], r;
@@ -2375,7 +2382,7 @@ var ct = (e) => {
2375
2382
  let e = n.name, i = n.description, o;
2376
2383
  t[115] !== r || t[116] !== n.defaultValue || t[117] !== n.id ? (o = $(r, n.id, n.defaultValue), t[115] = r, t[116] = n.defaultValue, t[117] = n.id, t[118] = o) : o = t[118];
2377
2384
  let s;
2378
- return t[119] !== y || t[120] !== a || t[121] !== n.description || t[122] !== n.editable || t[123] !== n.emptyText || t[124] !== n.multiSelect || t[125] !== n.name || t[126] !== n.options || t[127] !== n.placeholder || t[128] !== d || t[129] !== o ? (s = /* @__PURE__ */ I(Ce, {
2385
+ return t[119] !== y || t[120] !== a || t[121] !== n.description || t[122] !== n.editable || t[123] !== n.emptyText || t[124] !== n.multiSelect || t[125] !== n.name || t[126] !== n.options || t[127] !== n.placeholder || t[128] !== d || t[129] !== o ? (s = /* @__PURE__ */ L(we, {
2379
2386
  ...y,
2380
2387
  name: e,
2381
2388
  description: i,
@@ -2396,7 +2403,7 @@ var ct = (e) => {
2396
2403
  case "vector":
2397
2404
  case "fileUpload": {
2398
2405
  let e;
2399
- return t[131] !== r || t[132] !== u || t[133] !== i || t[134] !== n || t[135] !== d || t[136] !== o ? (e = /* @__PURE__ */ I(et, {
2406
+ return t[131] !== r || t[132] !== u || t[133] !== i || t[134] !== n || t[135] !== d || t[136] !== o ? (e = /* @__PURE__ */ L(tt, {
2400
2407
  param: n,
2401
2408
  defaultValues: r,
2402
2409
  onChange: i,
@@ -2408,7 +2415,6 @@ var ct = (e) => {
2408
2415
  default: return null;
2409
2416
  }
2410
2417
  };
2411
- //#endregion
2412
- export { X as C, ee as S, J as T, ce as _, $e as a, ie as b, qe as c, je as d, Me as f, Ce as g, Te as h, tt as i, Be as l, De as m, at as n, Ye as o, Ae as p, nt as r, Je as s, lt as t, Ne as u, se as v, Y as w, Q as x, oe as y };
2418
+ export { ee as C, te as S, Y as T, le as _, et as a, ae as b, Je as c, Me as d, Ne as f, we as g, Ee as h, nt as i, Ve as l, Oe as m, ot as n, Xe as o, je as p, rt as r, Ye as s, ut as t, Pe as u, ce as v, X as w, ne as x, se as y };
2413
2419
 
2414
- //# sourceMappingURL=param-editor-field-BPBlweVg.js.map
2420
+ //# sourceMappingURL=param-editor-field-Bt7NP9OH.js.map