@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
@@ -2,7 +2,6 @@ import { BoxProps, FlexProps, StackProps } from "@chakra-ui/react";
2
2
  import { ReactNode } from "react";
3
3
  import { ActionOption, ActionsControl as ActionsParam, AnchorGridControl as AnchorGridParam, AnchorGridValue, BaseControl, BaseControl as BaseParam, BooleanControl as BooleanParam, ColorControl as ColorParam, ControlGroup, ControlParam, ControlValue, DateControl as DateParam, MarkdownControl as MarkdownParam, NumberControl as NumberParam, ParamEditorReadOnlyContent, ParamEditorReadOnlyImage, RangeControl as RangeParam, RangeValue, ReadOnlyControl as ReadOnlyParam, ResourceControl as ResourceParam, ResourceOption, ResourceRefValue, SegmentedControl as SegmentedParam, SegmentedOption, SelectionControl as SelectionParam, SelectionGroup, SelectionOption, TextControl as TextParam, VectorControl as VectorParam, VectorValue } from "@pstdio/sdk/extensions";
4
4
  import { AgentInfo } from "@pstdio/sdk/resources";
5
- //#region src/components/param-editor/harness-model-picker.d.ts
6
5
  interface HarnessModelPickerProps {
7
6
  label: string;
8
7
  description?: string;
@@ -25,11 +24,7 @@ interface HarnessModelPickerProps {
25
24
  onModelChange: (id: string) => void;
26
25
  }
27
26
  export declare const HarnessModelPicker: (props: HarnessModelPickerProps) => import("react/jsx-runtime").JSX.Element;
28
- //#endregion
29
- //#region src/components/param-editor/harness-param-colors.d.ts
30
27
  export declare const harnessParamOptionColor: (icon: string | undefined) => string | undefined;
31
- //#endregion
32
- //#region src/components/param-editor/harness-param-values.d.ts
33
28
  type HarnessParamsInfo$1 = NonNullable<AgentInfo["params"]>;
34
29
  type HarnessParamValues = Record<string, string | boolean>;
35
30
  export declare const resolveHarnessParamText: (fallback: string, value: string | {
@@ -44,8 +39,6 @@ export declare const filterHarnessParamValues: (schema: HarnessParamsInfo$1 | nu
44
39
  };
45
40
  export declare const harnessParamValuesEqual: (left: HarnessParamValues, right: HarnessParamValues) => boolean;
46
41
  export declare const resolveHarnessParamDefaults: (schema: HarnessParamsInfo$1 | null | undefined, defaults: HarnessParamValues | undefined) => HarnessParamValues;
47
- //#endregion
48
- //#region src/components/param-editor/harness-param-editor.d.ts
49
42
  type HarnessParamsInfo = NonNullable<AgentInfo["params"]>;
50
43
  interface HarnessParamEditorProps {
51
44
  schema: HarnessParamsInfo | undefined;
@@ -55,8 +48,6 @@ interface HarnessParamEditorProps {
55
48
  disabled?: boolean;
56
49
  }
57
50
  export declare const HarnessParamEditor: (props: HarnessParamEditorProps) => import("react/jsx-runtime").JSX.Element | null;
58
- //#endregion
59
- //#region src/components/param-editor/param-editor.types.d.ts
60
51
  interface PropertyParam extends BaseControl {
61
52
  type: "property";
62
53
  value: ReactNode;
@@ -85,8 +76,6 @@ interface InputGroup extends Omit<ControlGroup, "params"> {
85
76
  type Param = ControlParam | PropertyParam | FileUploadParam;
86
77
  type ParamValue = ControlValue | FileUploadValue[];
87
78
  type ParamValueMap = Record<string, ParamValue>;
88
- //#endregion
89
- //#region src/components/param-editor/inputs/action-input.d.ts
90
79
  interface ActionInputProps {
91
80
  id: string;
92
81
  name: string;
@@ -99,13 +88,9 @@ interface ActionInputProps {
99
88
  presentation?: "stacked" | "horizontal";
100
89
  }
101
90
  export declare const ActionInput: (props: ActionInputProps) => import("react/jsx-runtime").JSX.Element;
102
- //#endregion
103
- //#region src/components/param-editor/inputs/anchor-grid.d.ts
104
91
  /** The nine anchors in row-major order (top-left → bottom-right). */
105
92
  export declare const ANCHOR_GRID_VALUES: AnchorGridValue[];
106
93
  export declare const isAnchorGridValue: (value: unknown) => value is AnchorGridValue;
107
- //#endregion
108
- //#region src/components/param-editor/inputs/anchor-grid-input.d.ts
109
94
  interface AnchorGridInputProps {
110
95
  id: string;
111
96
  name: string;
@@ -116,8 +101,6 @@ interface AnchorGridInputProps {
116
101
  fullWidth?: boolean;
117
102
  }
118
103
  export declare const AnchorGridInput: (props: AnchorGridInputProps) => import("react/jsx-runtime").JSX.Element;
119
- //#endregion
120
- //#region src/components/param-editor/inputs/boolean-input.d.ts
121
104
  interface BooleanInputProps {
122
105
  id: string;
123
106
  name: string;
@@ -130,8 +113,6 @@ interface BooleanInputProps {
130
113
  size?: "xs" | "sm";
131
114
  }
132
115
  export declare const BooleanInput: (props: BooleanInputProps) => import("react/jsx-runtime").JSX.Element;
133
- //#endregion
134
- //#region src/components/param-editor/inputs/color-input.d.ts
135
116
  interface ColorInputProps {
136
117
  id: string;
137
118
  defaultValue: string;
@@ -145,8 +126,6 @@ interface ColorInputProps {
145
126
  size?: "xs" | "sm";
146
127
  }
147
128
  export declare const ColorInput: (props: ColorInputProps) => import("react/jsx-runtime").JSX.Element;
148
- //#endregion
149
- //#region src/components/param-editor/inputs/date-input.d.ts
150
129
  interface DateInputProps {
151
130
  id: string;
152
131
  defaultValue: string;
@@ -162,8 +141,6 @@ interface DateInputProps {
162
141
  size?: "xs" | "sm";
163
142
  }
164
143
  export declare const DateInput: (props: DateInputProps) => import("react/jsx-runtime").JSX.Element;
165
- //#endregion
166
- //#region src/components/param-editor/inputs/file-upload-input.d.ts
167
144
  interface FileUploadInputProps {
168
145
  id: string;
169
146
  name: string;
@@ -177,8 +154,6 @@ interface FileUploadInputProps {
177
154
  presentation?: "stacked" | "horizontal";
178
155
  }
179
156
  export declare const FileUploadInput: (props: FileUploadInputProps) => import("react/jsx-runtime").JSX.Element;
180
- //#endregion
181
- //#region src/components/param-editor/inputs/horizontal-text-input.d.ts
182
157
  interface HorizontalTextInputProps {
183
158
  id: string;
184
159
  defaultValue: string;
@@ -191,8 +166,6 @@ interface HorizontalTextInputProps {
191
166
  size?: "xs" | "sm";
192
167
  }
193
168
  export declare const HorizontalTextInput: (props: HorizontalTextInputProps) => import("react/jsx-runtime").JSX.Element;
194
- //#endregion
195
- //#region src/components/param-editor/inputs/markdown-input.d.ts
196
169
  interface MarkdownInputProps {
197
170
  id: string;
198
171
  name: string;
@@ -205,8 +178,6 @@ interface MarkdownInputProps {
205
178
  size?: "xs" | "sm";
206
179
  }
207
180
  export declare const MarkdownInput: (props: MarkdownInputProps) => import("react/jsx-runtime").JSX.Element;
208
- //#endregion
209
- //#region src/components/param-editor/inputs/number-input.d.ts
210
181
  interface NumberInputProps {
211
182
  id: string;
212
183
  defaultValue: number;
@@ -224,8 +195,6 @@ interface NumberInputProps {
224
195
  size?: "xs" | "sm";
225
196
  }
226
197
  export declare const NumberInput: (props: NumberInputProps) => import("react/jsx-runtime").JSX.Element;
227
- //#endregion
228
- //#region src/components/param-editor/inputs/range-input.d.ts
229
198
  interface RangeInputProps {
230
199
  id: string;
231
200
  name: string;
@@ -242,8 +211,6 @@ interface RangeInputProps {
242
211
  presentation?: "stacked" | "horizontal";
243
212
  }
244
213
  export declare const RangeInput: (props: RangeInputProps) => import("react/jsx-runtime").JSX.Element;
245
- //#endregion
246
- //#region src/components/param-editor/inputs/resource-input.d.ts
247
214
  interface ResourceInputProps {
248
215
  id: string;
249
216
  name: string;
@@ -262,8 +229,6 @@ interface ResourceInputProps {
262
229
  size?: "xs" | "sm";
263
230
  }
264
231
  export declare const ResourceInput: (props: ResourceInputProps) => import("react/jsx-runtime").JSX.Element;
265
- //#endregion
266
- //#region src/components/param-editor/inputs/segmented-input.d.ts
267
232
  interface SegmentedInputProps {
268
233
  id: string;
269
234
  name: string;
@@ -277,8 +242,6 @@ interface SegmentedInputProps {
277
242
  presentation?: "stacked" | "horizontal";
278
243
  }
279
244
  export declare const SegmentedInput: (props: SegmentedInputProps) => import("react/jsx-runtime").JSX.Element;
280
- //#endregion
281
- //#region src/components/param-editor/inputs/selection-menu.d.ts
282
245
  interface SelectionMenuOption {
283
246
  id: string;
284
247
  name: string;
@@ -288,8 +251,6 @@ interface SelectionMenuOption {
288
251
  description?: string;
289
252
  disabled?: boolean;
290
253
  }
291
- //#endregion
292
- //#region src/components/param-editor/inputs/selection-input.d.ts
293
254
  interface SelectionInputProps {
294
255
  id: string;
295
256
  defaultValue: string | string[];
@@ -315,8 +276,6 @@ interface SelectionInputProps {
315
276
  size?: "xs" | "sm";
316
277
  }
317
278
  export declare const SelectionInput: (props: SelectionInputProps) => import("react/jsx-runtime").JSX.Element;
318
- //#endregion
319
- //#region src/components/param-editor/inputs/text-input.d.ts
320
279
  interface TextInputProps {
321
280
  id: string;
322
281
  defaultValue: string;
@@ -330,8 +289,6 @@ interface TextInputProps {
330
289
  size?: "xs" | "sm";
331
290
  }
332
291
  export declare const TextInput: (props: TextInputProps) => import("react/jsx-runtime").JSX.Element;
333
- //#endregion
334
- //#region src/components/param-editor/inputs/vector-input.d.ts
335
292
  interface VectorInputProps {
336
293
  id: string;
337
294
  name: string;
@@ -347,8 +304,6 @@ interface VectorInputProps {
347
304
  fullWidth?: boolean;
348
305
  }
349
306
  export declare const VectorInput: (props: VectorInputProps) => import("react/jsx-runtime").JSX.Element;
350
- //#endregion
351
- //#region src/components/param-editor/param-editor.d.ts
352
307
  interface ParamEditorProps {
353
308
  params?: Param[];
354
309
  groups?: InputGroup[];
@@ -360,8 +315,6 @@ interface ParamEditorProps {
360
315
  variant?: "default" | "small";
361
316
  }
362
317
  export declare const ParamEditor: (props: ParamEditorProps) => import("react/jsx-runtime").JSX.Element;
363
- //#endregion
364
- //#region src/components/param-editor/param-editor-control-item.d.ts
365
318
  type ControlItemOrientation = "auto" | "inline" | "stacked";
366
319
  interface ParamEditorControlItemProps {
367
320
  name?: string;
@@ -375,12 +328,8 @@ interface ParamEditorControlItemProps {
375
328
  children: ReactNode;
376
329
  }
377
330
  export declare const ParamEditorControlItem: (props: ParamEditorControlItemProps) => import("react/jsx-runtime").JSX.Element;
378
- //#endregion
379
- //#region src/components/param-editor/param-editor-control-list.d.ts
380
331
  interface ParamEditorControlListProps extends StackProps {}
381
332
  export declare const ParamEditorControlList: (props: ParamEditorControlListProps) => import("react/jsx-runtime").JSX.Element;
382
- //#endregion
383
- //#region src/components/param-editor/param-editor-field.d.ts
384
333
  interface ParamEditorFieldProps {
385
334
  param: Param;
386
335
  defaultValues: ParamValueMap;
@@ -392,23 +341,15 @@ interface ParamEditorFieldProps {
392
341
  size?: "xs" | "sm";
393
342
  }
394
343
  export declare const ParamEditorField: (props: ParamEditorFieldProps) => import("react/jsx-runtime").JSX.Element | null;
395
- //#endregion
396
- //#region src/components/param-editor/param-editor-label.d.ts
397
344
  interface ParamEditorLabelProps {
398
345
  name: string;
399
346
  description?: string;
400
347
  compact?: boolean;
401
348
  }
402
349
  export declare const ParamEditorLabel: (props: ParamEditorLabelProps) => import("react/jsx-runtime").JSX.Element;
403
- //#endregion
404
- //#region src/components/param-editor/param-editor-inline-group.d.ts
405
350
  interface ParamEditorInlineGroupProps extends FlexProps {}
406
351
  export declare const ParamEditorInlineGroup: (props: ParamEditorInlineGroupProps) => import("react/jsx-runtime").JSX.Element;
407
- //#endregion
408
- //#region src/components/param-editor/param-editor-presentation.d.ts
409
352
  export declare const isParamEditorRichControl: (param: Param) => boolean;
410
- //#endregion
411
- //#region src/components/param-editor/param-editor-read-only-field.d.ts
412
353
  interface ParamEditorReadOnlyFieldProps {
413
354
  param: Extract<Param, {
414
355
  type: "readOnly";
@@ -416,15 +357,11 @@ interface ParamEditorReadOnlyFieldProps {
416
357
  fullWidth?: boolean;
417
358
  }
418
359
  export declare const ParamEditorReadOnlyField: (props: ParamEditorReadOnlyFieldProps) => import("react/jsx-runtime").JSX.Element;
419
- //#endregion
420
- //#region src/components/param-editor/param-editor-read-only-value.d.ts
421
360
  interface ParamEditorReadOnlyValueProps extends Omit<BoxProps, "children"> {
422
361
  children: ReactNode;
423
362
  preserveWhitespace?: boolean;
424
363
  }
425
364
  export declare const ParamEditorReadOnlyValue: (props: ParamEditorReadOnlyValueProps) => import("react/jsx-runtime").JSX.Element;
426
- //#endregion
427
- //#region src/components/param-editor/param-editor-row.d.ts
428
365
  interface ParamEditorRowProps {
429
366
  param: Param;
430
367
  values?: ParamValueMap;
@@ -441,8 +378,6 @@ interface ParamEditorRowProps {
441
378
  * form keeps a single rhythm.
442
379
  */
443
380
  export declare const ParamEditorRow: (props: ParamEditorRowProps) => import("react/jsx-runtime").JSX.Element;
444
- //#endregion
445
- //#region src/components/param-editor/param-editor-section.d.ts
446
381
  interface ParamEditorSectionProps {
447
382
  title?: string;
448
383
  description?: string;
@@ -458,6 +393,5 @@ interface ParamEditorSectionProps {
458
393
  variant?: "default" | "small";
459
394
  }
460
395
  export declare const ParamEditorSection: (props: ParamEditorSectionProps) => import("react/jsx-runtime").JSX.Element;
461
- //#endregion
462
396
  export { type ActionOption, type ActionsParam, type AnchorGridParam, type AnchorGridValue, type BaseParam, type BooleanParam, type ColorParam, type DateParam, type FileUploadParam, type FileUploadStatus, type FileUploadValue, type HarnessParamValues, type InputGroup, type MarkdownParam, type NumberParam, type Param, ParamEditorLabel as ParamEditorFieldLabel, type ParamEditorProps, type ParamEditorReadOnlyContent, type ParamEditorReadOnlyImage, type ParamEditorRowProps, type ParamValue, type ParamValueMap, type PropertyParam, type RangeParam, type RangeValue, type ReadOnlyParam, type ResourceOption, type ResourceParam, type ResourceRefValue, type SegmentedOption, type SegmentedParam, type SelectionGroup, type SelectionOption, type SelectionParam, type TextParam, type VectorParam, type VectorValue };
463
397
  export {};
@@ -1,4 +1,4 @@
1
- import { r as e } from "./number-input-QDqWYzTR.js";
2
- import { C as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, s as v, t as y, u as b, v as x, w as S, x as C } from "./param-editor-field-BPBlweVg.js";
3
- import { a as w, c as T, d as E, f as D, i as O, l as k, n as A, o as j, r as M, s as N, t as P, u as F } from "./param-editor-Bva0M7Ns.js";
1
+ import { r as e } from "./number-input-DzRvKj64.js";
2
+ import { C as t, S as n, T as r, _ as i, a, b as o, c as s, d as c, f as l, g as u, h as d, i as f, l as p, m, n as h, o as g, p as _, s as v, t as y, u as b, v as x, w as S, x as C } from "./param-editor-field-Bt7NP9OH.js";
3
+ import { a as w, c as T, d as E, f as D, i as O, l as k, n as A, o as j, r as M, s as N, t as P, u as F } from "./param-editor-DyIO1rSf.js";
4
4
  export { c as ANCHOR_GRID_VALUES, _ as ActionInput, b as AnchorGridInput, t as BooleanInput, n as ColorInput, C as DateInput, p as FileUploadInput, E as HarnessModelPicker, O as HarnessParamEditor, o as HorizontalTextInput, x as MarkdownInput, i as NumberInput, A as ParamEditor, r as ParamEditorControlItem, P as ParamEditorControlList, y as ParamEditorField, e as ParamEditorFieldLabel, e as ParamEditorLabel, g as ParamEditorInlineGroup, h as ParamEditorReadOnlyField, S as ParamEditorReadOnlyValue, D as ParamEditorRow, M as ParamEditorSection, s as RangeInput, u as ResourceInput, v as SegmentedInput, d as SelectionInput, m as TextInput, a as VectorInput, w as filterHarnessParamValues, F as harnessParamOptionColor, j as harnessParamValuesEqual, l as isAnchorGridValue, f as isParamEditorRichControl, N as resolveHarnessParamDefaults, T as resolveHarnessParamText, k as updateHarnessParamOverride };
@@ -0,0 +1,391 @@
1
+ import { n as e } from "./scroll-area-BfAlvhjh.js";
2
+ import { Alert as t, Badge as n, ButtonPropsProvider as r, HStack as i, IconButton as a, Image as o, Popover as s, Slider as c, Switch as l, Text as u, chakra as d } from "@chakra-ui/react";
3
+ import { c as f } from "react/compiler-runtime";
4
+ import { jsx as p, jsxs as m } from "react/jsx-runtime";
5
+ import * as h from "react";
6
+ import { useEffect as g, useState as _ } from "react";
7
+ import { File as v, FileArchive as y, FileChartLine as b, FileCode as x, FileCog as S, FileImage as C, FileJson as w, FileSpreadsheet as T, FileText as E, X as D } from "lucide-react";
8
+ // src/components/primitives/alert.tsx
9
+ var O = h.forwardRef(function(e, n) {
10
+ let o = f(34), s, c, l, u, d, h, g, _;
11
+ o[0] === e ? (s = o[1], c = o[2], l = o[3], u = o[4], d = o[5], h = o[6], g = o[7], _ = o[8]) : ({title: _, children: s, icon: l, startElement: h, endElement: c, onClose: u, closeLabel: g, ...d} = e, o[0] = e, o[1] = s, o[2] = c, o[3] = l, o[4] = u, o[5] = d, o[6] = h, o[7] = g, o[8] = _);
12
+ let v = g === void 0 ? "Dismiss" : g, y;
13
+ o[9] !== l || o[10] !== h ? (y = h || /* @__PURE__ */ p(t.Indicator, { children: l }), o[9] = l, o[10] = h, o[11] = y) : y = o[11];
14
+ let b;
15
+ o[12] === Symbol.for("react.memo_cache_sentinel") ? (b = {
16
+ variant: "ghost",
17
+ size: "2xs"
18
+ }, o[12] = b) : b = o[12];
19
+ let x;
20
+ o[13] === _ ? x = o[14] : (x = /* @__PURE__ */ p(t.Title, {
21
+ flex: "1",
22
+ minW: "0",
23
+ children: _
24
+ }), o[13] = _, o[14] = x);
25
+ let S;
26
+ o[15] !== v || o[16] !== u ? (S = u ? /* @__PURE__ */ p(a, {
27
+ "aria-label": v,
28
+ flexShrink: "0",
29
+ onClick: u,
30
+ children: /* @__PURE__ */ p(D, {})
31
+ }) : null, o[15] = v, o[16] = u, o[17] = S) : S = o[17];
32
+ let C;
33
+ o[18] !== x || o[19] !== S ? (C = /* @__PURE__ */ m(i, {
34
+ gap: "2xs",
35
+ alignItems: "flex-start",
36
+ minW: "0",
37
+ children: [x, S]
38
+ }), o[18] = x, o[19] = S, o[20] = C) : C = o[20];
39
+ let w;
40
+ o[21] === s ? w = o[22] : (w = s ? /* @__PURE__ */ p(t.Description, { children: s }) : null, o[21] = s, o[22] = w);
41
+ let T;
42
+ o[23] === c ? T = o[24] : (T = c ? /* @__PURE__ */ p(i, {
43
+ gap: "2xs",
44
+ pt: "xs",
45
+ justifyContent: "flex-end",
46
+ alignItems: "flex-end",
47
+ flexWrap: "wrap",
48
+ minW: "0",
49
+ children: c
50
+ }) : null, o[23] = c, o[24] = T);
51
+ let E;
52
+ o[25] !== C || o[26] !== w || o[27] !== T ? (E = /* @__PURE__ */ p(r, {
53
+ value: b,
54
+ children: /* @__PURE__ */ m(t.Content, { children: [
55
+ C,
56
+ w,
57
+ T
58
+ ] })
59
+ }), o[25] = C, o[26] = w, o[27] = T, o[28] = E) : E = o[28];
60
+ let O;
61
+ return o[29] !== n || o[30] !== d || o[31] !== y || o[32] !== E ? (O = /* @__PURE__ */ m(t.Root, {
62
+ ref: n,
63
+ ...d,
64
+ children: [y, E]
65
+ }), o[29] = n, o[30] = d, o[31] = y, o[32] = E, o[33] = O) : O = o[33], O;
66
+ }), k = (e) => e.type.startsWith("image/"), A = (e) => e < 1024 ? `${e.toString()} B` : e < 1048576 ? `${Math.round(e / 1024).toString()} KB` : `${(e / 1048576).toFixed(1)} MB`, j = (e) => {
67
+ let t = f(22), { file: r, removeLabel: i, disabled: c, onRemove: l } = e, [h, v] = _(null), y, b;
68
+ t[0] === r ? (y = t[1], b = t[2]) : (y = () => {
69
+ if (!k(r)) return;
70
+ let e = URL.createObjectURL(r);
71
+ return v(e), () => URL.revokeObjectURL(e);
72
+ }, b = [r], t[0] = r, t[1] = y, t[2] = b), g(y, b);
73
+ let x;
74
+ t[3] === r.name ? x = t[4] : (x = /* @__PURE__ */ p(u, {
75
+ as: "span",
76
+ textStyle: "label/XS/medium",
77
+ lineClamp: 1,
78
+ maxW: "180px",
79
+ children: r.name
80
+ }), t[3] = r.name, t[4] = x);
81
+ let S = x, C;
82
+ t[5] !== r.name || t[6] !== S || t[7] !== h ? (C = h ? /* @__PURE__ */ m(s.Root, {
83
+ positioning: { placement: "top" },
84
+ children: [/* @__PURE__ */ p(s.Trigger, {
85
+ asChild: !0,
86
+ children: /* @__PURE__ */ p(d.button, {
87
+ type: "button",
88
+ cursor: "pointer",
89
+ minW: "0",
90
+ display: "inline-flex",
91
+ children: S
92
+ })
93
+ }), /* @__PURE__ */ p(s.Positioner, { children: /* @__PURE__ */ p(s.Content, {
94
+ w: "auto",
95
+ p: "2xs",
96
+ bg: "bg",
97
+ children: /* @__PURE__ */ p(o, {
98
+ src: h,
99
+ alt: r.name,
100
+ maxW: "240px",
101
+ maxH: "240px",
102
+ borderRadius: "sm"
103
+ })
104
+ }) })]
105
+ }) : S, t[5] = r.name, t[6] = S, t[7] = h, t[8] = C) : C = t[8];
106
+ let w;
107
+ t[9] === r.size ? w = t[10] : (w = A(r.size), t[9] = r.size, t[10] = w);
108
+ let T;
109
+ t[11] === w ? T = t[12] : (T = /* @__PURE__ */ p(u, {
110
+ as: "span",
111
+ textStyle: "label/XS/regular",
112
+ color: "fg.subtle",
113
+ children: w
114
+ }), t[11] = w, t[12] = T);
115
+ let E;
116
+ t[13] === Symbol.for("react.memo_cache_sentinel") ? (E = /* @__PURE__ */ p(D, { size: 12 }), t[13] = E) : E = t[13];
117
+ let O;
118
+ t[14] !== c || t[15] !== l || t[16] !== i ? (O = /* @__PURE__ */ p(a, {
119
+ size: "2xs",
120
+ variant: "ghost",
121
+ "aria-label": i,
122
+ disabled: c,
123
+ onClick: l,
124
+ children: E
125
+ }), t[14] = c, t[15] = l, t[16] = i, t[17] = O) : O = t[17];
126
+ let j;
127
+ return t[18] !== C || t[19] !== T || t[20] !== O ? (j = /* @__PURE__ */ m(n, {
128
+ variant: "chip",
129
+ gap: "2xs",
130
+ pr: "2xs",
131
+ children: [
132
+ C,
133
+ T,
134
+ O
135
+ ]
136
+ }), t[18] = C, t[19] = T, t[20] = O, t[21] = j) : j = t[21], j;
137
+ }, M = (e) => {
138
+ let t = f(2), r;
139
+ return t[0] === e ? r = t[1] : (r = /* @__PURE__ */ p(n, {
140
+ size: "sm",
141
+ variant: "chip",
142
+ ...e
143
+ }), t[0] = e, t[1] = r), r;
144
+ }, N = (e) => {
145
+ let t = e.split(".").pop()?.toLowerCase() ?? "";
146
+ return [
147
+ "csv",
148
+ "tsv",
149
+ "xlsx",
150
+ "xls",
151
+ "parquet"
152
+ ].includes(t) ? T : [
153
+ "sql",
154
+ "py",
155
+ "js",
156
+ "ts",
157
+ "jsx",
158
+ "tsx",
159
+ "java",
160
+ "cpp",
161
+ "c",
162
+ "h",
163
+ "css",
164
+ "scss",
165
+ "sass",
166
+ "php",
167
+ "rb",
168
+ "go",
169
+ "rs",
170
+ "kt",
171
+ "swift"
172
+ ].includes(t) ? x : [
173
+ "json",
174
+ "jsonl",
175
+ "ndjson"
176
+ ].includes(t) ? e.includes("/visualizations/") ? b : w : [
177
+ "md",
178
+ "txt",
179
+ "rst",
180
+ "org",
181
+ "pdf",
182
+ "doc",
183
+ "docx",
184
+ "rtf"
185
+ ].includes(t) ? E : [
186
+ "yaml",
187
+ "yml",
188
+ "toml",
189
+ "ini",
190
+ "conf",
191
+ "config"
192
+ ].includes(t) ? S : [
193
+ "png",
194
+ "jpg",
195
+ "jpeg",
196
+ "gif",
197
+ "svg",
198
+ "webp",
199
+ "ico"
200
+ ].includes(t) ? C : [
201
+ "zip",
202
+ "tar",
203
+ "gz",
204
+ "rar",
205
+ "7z"
206
+ ].includes(t) ? y : v;
207
+ }, P = {
208
+ sm: {
209
+ container: {
210
+ height: "5",
211
+ lineHeight: { base: "5" },
212
+ px: "xs"
213
+ },
214
+ iconSize: 12,
215
+ textStyle: "label/XS"
216
+ },
217
+ md: {
218
+ container: {
219
+ height: "6",
220
+ lineHeight: { base: "6" },
221
+ px: "xs"
222
+ },
223
+ iconSize: 14,
224
+ textStyle: "label/S/regular"
225
+ }
226
+ }, F = {
227
+ neutral: {
228
+ color: "fg",
229
+ bg: "bg.subtle",
230
+ borderColor: "border",
231
+ _hover: { bg: "bg.hover" }
232
+ },
233
+ accent: {
234
+ color: "var(--schub-foreground-accent)",
235
+ bg: "var(--schub-accent-subtle)",
236
+ borderColor: "var(--schub-accent-subtle)",
237
+ _hover: { bg: "var(--schub-accent-subtle)" }
238
+ }
239
+ }, I = "md", L = "neutral", R = (t) => {
240
+ let n = f(40), r, i, o, s, c, l, h, g;
241
+ n[0] === t ? (r = n[1], i = n[2], o = n[3], s = n[4], c = n[5], l = n[6], h = n[7], g = n[8]) : ({fileName: r, onSelect: s, onRemove: o, size: l, tone: h, icon: i, tooltip: g, ...c} = t, n[0] = t, n[1] = r, n[2] = i, n[3] = o, n[4] = s, n[5] = c, n[6] = l, n[7] = h, n[8] = g);
242
+ let _ = l === void 0 ? I : l, v = h === void 0 ? L : h, y;
243
+ n[9] === r ? y = n[10] : (y = N(r), n[9] = r, n[10] = y);
244
+ let b = y, x = P[_], S = F[v], C = s ? "pointer" : "default", w;
245
+ n[11] !== r || n[12] !== s ? (w = (e) => {
246
+ e.stopPropagation(), s?.(r);
247
+ }, n[11] = r, n[12] = s, n[13] = w) : w = n[13];
248
+ let T;
249
+ n[14] !== b || n[15] !== i || n[16] !== x.iconSize ? (T = i ?? /* @__PURE__ */ p(b, { size: x.iconSize }), n[14] = b, n[15] = i, n[16] = x.iconSize, n[17] = T) : T = n[17];
250
+ let E;
251
+ n[18] === T ? E = n[19] : (E = /* @__PURE__ */ p(d.span, {
252
+ display: "inline-flex",
253
+ flexShrink: 0,
254
+ children: T
255
+ }), n[18] = T, n[19] = E);
256
+ let O = g ?? r, k = g === !1, A;
257
+ n[20] === Symbol.for("react.memo_cache_sentinel") ? (A = { base: "14rem" }, n[20] = A) : A = n[20];
258
+ let j;
259
+ n[21] !== r || n[22] !== x.textStyle ? (j = /* @__PURE__ */ p(u, {
260
+ maxW: A,
261
+ textOverflow: "ellipsis",
262
+ whiteSpace: "nowrap",
263
+ overflow: "hidden",
264
+ textStyle: x.textStyle,
265
+ children: r
266
+ }), n[21] = r, n[22] = x.textStyle, n[23] = j) : j = n[23];
267
+ let M;
268
+ n[24] !== j || n[25] !== O || n[26] !== k ? (M = /* @__PURE__ */ p(e, {
269
+ content: O,
270
+ disabled: k,
271
+ children: j
272
+ }), n[24] = j, n[25] = O, n[26] = k, n[27] = M) : M = n[27];
273
+ let R;
274
+ n[28] !== r || n[29] !== o ? (R = o && /* @__PURE__ */ p(a, {
275
+ "aria-label": `Remove ${r}`,
276
+ size: "2xs",
277
+ variant: "ghost",
278
+ _hover: { bg: "transparent" },
279
+ onClick: (e) => {
280
+ e.stopPropagation(), o?.(r);
281
+ },
282
+ children: /* @__PURE__ */ p(D, { size: 12 })
283
+ }), n[28] = r, n[29] = o, n[30] = R) : R = n[30];
284
+ let z;
285
+ return n[31] !== c || n[32] !== x.container || n[33] !== M || n[34] !== R || n[35] !== C || n[36] !== w || n[37] !== E || n[38] !== S ? (z = /* @__PURE__ */ m(d.span, {
286
+ display: "flex",
287
+ flexDirection: "row",
288
+ alignItems: "center",
289
+ borderWidth: "1px",
290
+ borderRadius: "xs",
291
+ gap: "2xs",
292
+ cursor: C,
293
+ ...S,
294
+ ...x.container,
295
+ onClick: w,
296
+ ...c,
297
+ children: [
298
+ E,
299
+ M,
300
+ R
301
+ ]
302
+ }), n[31] = c, n[32] = x.container, n[33] = M, n[34] = R, n[35] = C, n[36] = w, n[37] = E, n[38] = S, n[39] = z) : z = n[39], z;
303
+ }, z = h.forwardRef(function(e, t) {
304
+ let n = f(9), r, i;
305
+ n[0] === e ? (r = n[1], i = n[2]) : ({children: r, ...i} = e, n[0] = e, n[1] = r, n[2] = i);
306
+ let a;
307
+ n[3] === Symbol.for("react.memo_cache_sentinel") ? (a = /* @__PURE__ */ p(c.Track, {
308
+ height: "2px",
309
+ borderRadius: "0",
310
+ bg: "bg.muted",
311
+ children: /* @__PURE__ */ p(c.Range, { bg: "fg" })
312
+ }), n[3] = a) : a = n[3];
313
+ let o;
314
+ n[4] === Symbol.for("react.memo_cache_sentinel") ? (o = /* @__PURE__ */ m(c.Control, { children: [a, /* @__PURE__ */ p(c.Thumbs, {
315
+ boxSize: "0.5rem",
316
+ bg: "fg",
317
+ borderWidth: "1px",
318
+ borderColor: "bg",
319
+ borderRadius: "none",
320
+ boxShadow: "none",
321
+ transition: "width 0.12s ease, height 0.12s ease, border-color 0.2s ease-in-out",
322
+ _hover: {
323
+ boxSize: "0.75rem",
324
+ borderColor: "border.accent-light"
325
+ },
326
+ _active: {
327
+ boxSize: "0.875rem",
328
+ borderColor: "border.accent-light"
329
+ },
330
+ _focusVisible: {
331
+ borderColor: "border.accent-light",
332
+ outline: "none",
333
+ boxShadow: "none"
334
+ }
335
+ })] }), n[4] = o) : o = n[4];
336
+ let s;
337
+ return n[5] !== r || n[6] !== t || n[7] !== i ? (s = /* @__PURE__ */ m(c.Root, {
338
+ ref: t,
339
+ variant: "solid",
340
+ ...i,
341
+ children: [o, r]
342
+ }), n[5] = r, n[6] = t, n[7] = i, n[8] = s) : s = n[8], s;
343
+ }), B = h.forwardRef(function(e, t) {
344
+ let n = f(32), r, i, a, o, s, c, u;
345
+ n[0] === e ? (r = n[1], i = n[2], a = n[3], o = n[4], s = n[5], c = n[6], u = n[7]) : ({inputProps: i, children: r, rootRef: o, trackLabel: u, thumbLabel: c, disabled: s, ...a} = e, n[0] = e, n[1] = r, n[2] = i, n[3] = a, n[4] = o, n[5] = s, n[6] = c, n[7] = u);
346
+ let d = s !== void 0 && s, h = d ? "not-allowed" : "pointer", g;
347
+ n[8] !== i || n[9] !== t ? (g = /* @__PURE__ */ p(l.HiddenInput, {
348
+ ref: t,
349
+ ...i
350
+ }), n[8] = i, n[9] = t, n[10] = g) : g = n[10];
351
+ let _;
352
+ n[11] === c ? _ = n[12] : (_ = c && /* @__PURE__ */ p(l.ThumbIndicator, {
353
+ fallback: c?.off,
354
+ children: c?.on
355
+ }), n[11] = c, n[12] = _);
356
+ let v;
357
+ n[13] === _ ? v = n[14] : (v = /* @__PURE__ */ p(l.Thumb, { children: _ }), n[13] = _, n[14] = v);
358
+ let y;
359
+ n[15] === u ? y = n[16] : (y = u && /* @__PURE__ */ p(l.Indicator, {
360
+ fallback: u.off,
361
+ children: u.on
362
+ }), n[15] = u, n[16] = y);
363
+ let b;
364
+ n[17] !== h || n[18] !== v || n[19] !== y ? (b = /* @__PURE__ */ m(l.Control, {
365
+ cursor: h,
366
+ children: [v, y]
367
+ }), n[17] = h, n[18] = v, n[19] = y, n[20] = b) : b = n[20];
368
+ let x;
369
+ n[21] !== r || n[22] !== h ? (x = r != null && /* @__PURE__ */ p(l.Label, {
370
+ cursor: h,
371
+ children: r
372
+ }), n[21] = r, n[22] = h, n[23] = x) : x = n[23];
373
+ let S;
374
+ return n[24] !== d || n[25] !== h || n[26] !== a || n[27] !== o || n[28] !== g || n[29] !== b || n[30] !== x ? (S = /* @__PURE__ */ m(l.Root, {
375
+ ref: o,
376
+ disabled: d,
377
+ cursor: h,
378
+ ...a,
379
+ children: [
380
+ g,
381
+ b,
382
+ x
383
+ ]
384
+ }), n[24] = d, n[25] = h, n[26] = a, n[27] = o, n[28] = g, n[29] = b, n[30] = x, n[31] = S) : S = n[31], S;
385
+ }), V = (e) => e.default ?? e, H = async () => {
386
+ let e = globalThis;
387
+ e.Prism ||= V(await import("prismjs"));
388
+ };
389
+ export { N as a, O as c, R as i, B as n, M as o, z as r, j as s, H as t };
390
+
391
+ //# sourceMappingURL=prism-CQBZiF5P.js.map