@lostgradient/cinder 0.17.0 → 0.19.1

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 (88) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/components.json +3 -2
  3. package/dist/cli/index.js +2 -2
  4. package/dist/cli/types.d.ts +1 -0
  5. package/dist/components/approval-card/index.js +105 -37
  6. package/dist/components/code-block/index.js +103 -36
  7. package/dist/components/combobox/combobox.schema.js +14 -1
  8. package/dist/components/combobox/combobox.svelte.d.ts +12 -12
  9. package/dist/components/combobox/combobox.types.d.ts +11 -5
  10. package/dist/components/combobox/index.js +94 -16
  11. package/dist/components/event-stream-viewer/index.js +3 -2
  12. package/dist/components/faceted-filter-bar/faceted-filter-bar.css +1 -1
  13. package/dist/components/invocation-rule-builder/index.js +3602 -380
  14. package/dist/components/invocation-rule-builder/invocation-rule-builder.css +14 -0
  15. package/dist/components/json-editor/index.js +86 -18
  16. package/dist/components/json-editor/json-editor-enhancement.d.ts +7 -0
  17. package/dist/components/json-editor/json-editor-enhancement.js +201 -0
  18. package/dist/components/json-editor/json-editor.css +68 -0
  19. package/dist/components/json-editor/json-editor.schema.js +5 -1
  20. package/dist/components/json-editor/json-editor.types.d.ts +2 -0
  21. package/dist/components/run-step-timeline/index.js +3 -2
  22. package/dist/components/schedule-builder/index.js +11 -5
  23. package/dist/components/schema-form/index.js +11 -5
  24. package/dist/components/select/index.js +11 -5
  25. package/dist/components/select/select.schema.js +5 -1
  26. package/dist/components/select/select.types.d.ts +2 -0
  27. package/dist/components/stat-group/stat-group.css +1 -0
  28. package/dist/components/status-dot/index.js +3 -2
  29. package/dist/highlighters/shiki/default.d.ts +5 -0
  30. package/dist/highlighters/shiki/default.js +278 -0
  31. package/dist/highlighters/shiki/index.d.ts +9 -2
  32. package/dist/highlighters/shiki/index.js +72 -35
  33. package/dist/index.js +618 -360
  34. package/dist/server/components/approval-card/index.js +2 -2
  35. package/dist/server/components/combobox/index.js +5 -3
  36. package/dist/server/components/event-stream-viewer/index.js +2 -2
  37. package/dist/server/components/invocation-rule-builder/index.js +15 -2
  38. package/dist/server/components/json-editor/index.js +1 -1
  39. package/dist/server/components/json-editor/json-editor-enhancement.js +150 -0
  40. package/dist/server/components/run-step-timeline/index.js +2 -2
  41. package/dist/server/components/schedule-builder/index.js +2 -2
  42. package/dist/server/components/schema-form/index.js +2 -2
  43. package/dist/server/components/select/index.js +2 -2
  44. package/dist/server/components/status-dot/index.js +2 -2
  45. package/dist/server/highlighters/shiki/default.js +39 -0
  46. package/dist/server/highlighters/shiki/index.js +7 -131
  47. package/dist/server/index.js +14 -13
  48. package/dist/server/{index.server-npxtkwjp.js → index.server-0gg1njz4.js} +3 -2
  49. package/dist/server/{index.server-j87v28yy.js → index.server-0hjcds3y.js} +35 -18
  50. package/dist/server/{index.server-9vqfmhez.js → index.server-20km2ga0.js} +1 -1
  51. package/dist/server/{index.server-qxneqxf8.js → index.server-62593nnh.js} +1 -1
  52. package/dist/server/{index.server-m8ya4p7w.js → index.server-8grn4zd3.js} +74 -14
  53. package/dist/server/index.server-c9gtmre4.js +178 -0
  54. package/dist/server/{index.server-66nm5gd5.js → index.server-ghvvqkfc.js} +1 -1
  55. package/dist/server/{index.server-tez36va4.js → index.server-kvn6cj65.js} +1 -1
  56. package/dist/server/{index.server-9nac5z11.js → index.server-psqfjzpc.js} +1 -1
  57. package/dist/server/{index.server-93vt8ktj.js → index.server-v73af5rk.js} +18 -2
  58. package/dist/server/{index.server-qke3ekjt.js → index.server-ww54rv4y.js} +1 -1
  59. package/dist/server/index.server-x4a15jpm.js +9 -0
  60. package/dist/server/{index.server-ex3ea9z0.js → index.server-xsdzbgs2.js} +3 -2
  61. package/dist/server/{index.server-8ak2cftv.js → index.server-z754e36a.js} +1 -1
  62. package/dist/utilities/json-highlight.d.ts +2 -0
  63. package/package.json +19 -1
  64. package/src/components/code-block/code-block-default-highlighter.ts +2 -2
  65. package/src/components/combobox/combobox.schema.json +13 -0
  66. package/src/components/combobox/combobox.schema.ts +13 -0
  67. package/src/components/combobox/combobox.svelte +100 -14
  68. package/src/components/combobox/combobox.types.ts +11 -5
  69. package/src/components/faceted-filter-bar/faceted-filter-bar.css +1 -1
  70. package/src/components/invocation-rule-builder/invocation-rule-builder.css +14 -0
  71. package/src/components/invocation-rule-builder/invocation-rule-builder.examples.json +1 -1
  72. package/src/components/invocation-rule-builder/invocation-rule-builder.svelte +30 -16
  73. package/src/components/json-editor/json-editor-enhancement.ts +48 -0
  74. package/src/components/json-editor/json-editor.css +68 -0
  75. package/src/components/json-editor/json-editor.examples.json +2 -2
  76. package/src/components/json-editor/json-editor.schema.json +4 -0
  77. package/src/components/json-editor/json-editor.schema.ts +5 -0
  78. package/src/components/json-editor/json-editor.svelte +80 -20
  79. package/src/components/json-editor/json-editor.types.ts +2 -0
  80. package/src/components/select/select.schema.json +4 -0
  81. package/src/components/select/select.schema.ts +4 -0
  82. package/src/components/select/select.svelte +9 -2
  83. package/src/components/select/select.types.ts +2 -0
  84. package/src/components/stat-group/stat-group.css +1 -0
  85. package/src/components/status-dot/status-dot.svelte +6 -1
  86. package/src/highlighters/shiki/default.ts +46 -0
  87. package/src/highlighters/shiki/index.ts +101 -32
  88. package/src/utilities/json-highlight.ts +5 -0
package/dist/index.js CHANGED
@@ -77,11 +77,6 @@ function stripRootPreTabIndex(html) {
77
77
  }
78
78
 
79
79
  // src/highlighters/shiki/index.ts
80
- var exports_shiki = {};
81
- __export(exports_shiki, {
82
- shikiHighlighter: () => shikiHighlighter,
83
- createRetryingLoaderCache: () => createRetryingLoaderCache
84
- });
85
80
  function escapeHtml(value) {
86
81
  const safe = typeof value === "string" ? value : "";
87
82
  return safe.replaceAll("&", "&amp;").replaceAll("<", "&lt;").replaceAll(">", "&gt;").replaceAll('"', "&quot;").replaceAll("'", "&#39;");
@@ -104,42 +99,80 @@ async function ensureThemesLoaded(shiki, theme) {
104
99
  await shiki.highlighter.loadTheme(load);
105
100
  }
106
101
  }
107
- async function loadGuessedEmbeddedLanguages(shiki, code, lang) {
102
+ async function loadGuessedEmbeddedLanguages(shiki, code, lang, resolvedLanguageAliases) {
108
103
  for (const guessed of shiki.guessEmbeddedLanguages(code, lang)) {
109
- if (!Object.hasOwn(shiki.bundledLanguages, guessed))
110
- continue;
111
104
  try {
112
- await ensureLanguageLoaded(shiki, guessed);
105
+ const languageKey = await resolveLanguageKey(shiki, guessed, resolvedLanguageAliases);
106
+ if (languageKey !== undefined)
107
+ await ensureLanguageLoaded(shiki, languageKey);
113
108
  } catch {}
114
109
  }
115
110
  }
116
- function getSharedShikiModule() {
117
- sharedShikiModule ??= createRetryingLoaderCache(async () => {
118
- const [{ createOnigurumaEngine }, coreModule, langsModule, themesModule] = await Promise.all([
119
- import("@shikijs/engine-oniguruma"),
120
- import("shiki/core"),
121
- import("shiki/langs"),
122
- import("shiki/themes")
123
- ]);
124
- const highlighter = await coreModule.createHighlighterCore({
125
- themes: [],
126
- langs: [],
127
- engine: createOnigurumaEngine(import("shiki/wasm"))
128
- });
129
- return {
130
- highlighter,
131
- bundledLanguages: langsModule.bundledLanguages,
132
- bundledThemes: themesModule.bundledThemes,
133
- guessEmbeddedLanguages: coreModule.guessEmbeddedLanguages
134
- };
111
+ async function resolveLanguageKey(shiki, normalizedLang, resolvedLanguageAliases) {
112
+ let languageKey = Object.hasOwn(shiki.bundledLanguages, normalizedLang) ? normalizedLang : resolvedLanguageAliases.get(normalizedLang);
113
+ if (languageKey === undefined && shiki.resolveLanguageAliases && !resolvedLanguageAliases.has(normalizedLang)) {
114
+ let loaderFailed = false;
115
+ for (const [candidate, loader] of Object.entries(shiki.bundledLanguages)) {
116
+ try {
117
+ const module = await loader();
118
+ const registrations = module.default;
119
+ if (registrations.some((registration) => registration.aliases?.includes(normalizedLang))) {
120
+ languageKey = candidate;
121
+ break;
122
+ }
123
+ } catch {
124
+ loaderFailed = true;
125
+ }
126
+ }
127
+ if (!loaderFailed || languageKey !== undefined) {
128
+ resolvedLanguageAliases.set(normalizedLang, languageKey);
129
+ }
130
+ }
131
+ return languageKey !== undefined && Object.hasOwn(shiki.bundledLanguages, languageKey) ? languageKey : undefined;
132
+ }
133
+ async function createShikiModule(languageLoaders, themeLoaders, resolveLanguageAliases = true) {
134
+ const [{ createOnigurumaEngine }, coreModule] = await Promise.all([
135
+ import("@shikijs/engine-oniguruma"),
136
+ import("shiki/core")
137
+ ]);
138
+ const highlighter = await coreModule.createHighlighterCore({
139
+ themes: [],
140
+ langs: [],
141
+ engine: createOnigurumaEngine(import("shiki/wasm"))
135
142
  });
143
+ return {
144
+ highlighter,
145
+ bundledLanguages: languageLoaders ?? {},
146
+ bundledThemes: themeLoaders ?? {},
147
+ guessEmbeddedLanguages: coreModule.guessEmbeddedLanguages,
148
+ resolveLanguageAliases
149
+ };
150
+ }
151
+ function getSharedShikiModule(languageLoaders, themeLoaders) {
152
+ if (languageLoaders !== undefined || themeLoaders !== undefined) {
153
+ const languageKey = languageLoaders ?? EMPTY_LOADERS;
154
+ const themeKey = themeLoaders ?? EMPTY_LOADERS;
155
+ let themes = sharedCuratedModules.get(languageKey);
156
+ if (themes === undefined) {
157
+ themes = new WeakMap;
158
+ sharedCuratedModules.set(languageKey, themes);
159
+ }
160
+ let loader = themes.get(themeKey);
161
+ if (loader === undefined) {
162
+ loader = createRetryingLoaderCache(() => createShikiModule(languageLoaders, themeLoaders));
163
+ themes.set(themeKey, loader);
164
+ }
165
+ return loader();
166
+ }
167
+ sharedShikiModule ??= createRetryingLoaderCache(() => createShikiModule());
136
168
  return sharedShikiModule();
137
169
  }
138
170
  function shikiHighlighter(options = {}, moduleLoader) {
139
- const { theme = DEFAULT_THEME, langs } = options;
171
+ const { theme = DEFAULT_THEME, langs, languageLoaders, themeLoaders } = options;
140
172
  const warnedLanguages = new Set;
173
+ const resolvedLanguageAliases = new Map;
141
174
  const loadShiki = createRetryingLoaderCache(moduleLoader ?? (async () => {
142
- const shikiModule = await getSharedShikiModule();
175
+ const shikiModule = await getSharedShikiModule(languageLoaders, themeLoaders);
143
176
  if (langs !== undefined) {
144
177
  try {
145
178
  await ensureThemesLoaded(shikiModule, theme);
@@ -164,7 +197,8 @@ function shikiHighlighter(options = {}, moduleLoader) {
164
197
  console.warn("[cinder/highlighters/shiki] failed to load shiki:", error);
165
198
  return plaintextBlock(code);
166
199
  }
167
- if (!Object.hasOwn(shiki.bundledLanguages, normalizedLang)) {
200
+ const languageKey = await resolveLanguageKey(shiki, normalizedLang, resolvedLanguageAliases);
201
+ if (languageKey === undefined || !Object.hasOwn(shiki.bundledLanguages, languageKey)) {
168
202
  if (!warnedLanguages.has(normalizedLang)) {
169
203
  warnedLanguages.add(normalizedLang);
170
204
  console.warn(`[cinder/highlighters/shiki] language "${normalizedLang}" is not in Shiki's bundle; rendering as plaintext.`);
@@ -172,9 +206,9 @@ function shikiHighlighter(options = {}, moduleLoader) {
172
206
  return plaintextBlock(code);
173
207
  }
174
208
  try {
175
- await ensureLanguageLoaded(shiki, normalizedLang);
209
+ await ensureLanguageLoaded(shiki, languageKey);
176
210
  await ensureThemesLoaded(shiki, theme);
177
- await loadGuessedEmbeddedLanguages(shiki, code, normalizedLang);
211
+ await loadGuessedEmbeddedLanguages(shiki, code, normalizedLang, resolvedLanguageAliases);
178
212
  const html = shiki.highlighter.codeToHtml(code, {
179
213
  lang: normalizedLang,
180
214
  ...buildThemeOption(theme)
@@ -194,12 +228,45 @@ function buildThemeOption(theme) {
194
228
  return { theme };
195
229
  return { themes: theme };
196
230
  }
197
- var DEFAULT_THEME, sharedShikiModule;
231
+ var DEFAULT_THEME, sharedShikiModule, sharedCuratedModules, EMPTY_LOADERS;
198
232
  var init_shiki = __esm(() => {
199
233
  DEFAULT_THEME = {
200
234
  light: "github-light",
201
235
  dark: "github-dark"
202
236
  };
237
+ sharedCuratedModules = new WeakMap;
238
+ EMPTY_LOADERS = {};
239
+ });
240
+
241
+ // src/highlighters/shiki/default.ts
242
+ var exports_default = {};
243
+ __export(exports_default, {
244
+ shikiHighlighter: () => shikiHighlighter2,
245
+ createRetryingLoaderCache: () => createRetryingLoaderCache
246
+ });
247
+ function getDefaultModuleLoader() {
248
+ sharedDefaultModuleLoader ??= createRetryingLoaderCache(async () => {
249
+ const [{ bundledLanguages }, { bundledThemes }] = await Promise.all([
250
+ import("shiki/langs"),
251
+ import("shiki/themes")
252
+ ]);
253
+ return createShikiModule(bundledLanguages, bundledThemes, false);
254
+ });
255
+ return sharedDefaultModuleLoader;
256
+ }
257
+ function shikiHighlighter2(options = {}, moduleLoader) {
258
+ const loadModule = moduleLoader ?? (options.languageLoaders === undefined && options.themeLoaders === undefined ? getDefaultModuleLoader() : async () => {
259
+ const [{ bundledLanguages }, { bundledThemes }] = await Promise.all([
260
+ import("shiki/langs"),
261
+ import("shiki/themes")
262
+ ]);
263
+ return createShikiModule(options.languageLoaders ?? bundledLanguages, options.themeLoaders ?? bundledThemes, options.languageLoaders !== undefined);
264
+ });
265
+ return shikiHighlighter(options, loadModule);
266
+ }
267
+ var sharedDefaultModuleLoader;
268
+ var init_default = __esm(() => {
269
+ init_shiki();
203
270
  });
204
271
 
205
272
  // ../../node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs
@@ -7924,7 +7991,7 @@ import"svelte/internal/disclose-version";
7924
7991
  import * as $70 from "svelte/internal/client";
7925
7992
 
7926
7993
  // src/components/code-block/code-block-default-highlighter.ts
7927
- var loadShikiAdapterModule = createRetryingLoaderCache(() => Promise.resolve().then(() => (init_shiki(), exports_shiki)));
7994
+ var loadShikiAdapterModule = createRetryingLoaderCache(() => Promise.resolve().then(() => (init_default(), exports_default)));
7928
7995
  var defaultHighlighter;
7929
7996
  async function loadDefaultHighlighter() {
7930
7997
  if (defaultHighlighter !== undefined)
@@ -9055,6 +9122,7 @@ function Status_dot($$anchor, $$props) {
9055
9122
  const resolvedAriaLabel = $76.derived(() => $76.get(normalizedAriaLabel) ?? $76.get(normalizedLabel) ?? $76.get(resolvedStatus));
9056
9123
  const visibleLabelIsLiveDuplicate = $76.derived(() => $76.get(resolvedLive) && $76.get(normalizedLabel) !== undefined && $76.get(resolvedAriaLabel) !== $76.get(normalizedLabel));
9057
9124
  const needsHiddenLiveLabel = $76.derived(() => $76.get(resolvedLive) && (!$76.get(hasVisibleLabel) || $76.get(visibleLabelIsLiveDuplicate)));
9125
+ const liveAriaLabel = $76.derived(() => !$76.get(hasVisibleLabel) && ($76.get(normalizedLabel) !== undefined || $76.get(normalizedAriaLabel) !== undefined) ? $76.get(resolvedAriaLabel) : undefined);
9058
9126
  var span = root_213();
9059
9127
  $76.attribute_effect(span, ($0) => ({
9060
9128
  ...rest,
@@ -9065,7 +9133,7 @@ function Status_dot($$anchor, $$props) {
9065
9133
  role: $76.get(resolvedLive) ? "status" : "img",
9066
9134
  "aria-live": $76.get(resolvedLive) ? "polite" : undefined,
9067
9135
  "aria-atomic": $76.get(resolvedLive) ? "true" : undefined,
9068
- "aria-label": $76.get(resolvedLive) ? undefined : $76.get(resolvedAriaLabel)
9136
+ "aria-label": $76.get(resolvedLive) ? $76.get(liveAriaLabel) : $76.get(resolvedAriaLabel)
9069
9137
  }), [() => classNames("cinder-status-dot", $$props.class)]);
9070
9138
  var node = $76.sibling($76.child(span), 2);
9071
9139
  {
@@ -17784,7 +17852,7 @@ var root_79 = $113.from_html(`<p class="cinder-combobox__description"> </p>`);
17784
17852
  var root_87 = $113.from_html(`<div><!> <div class="cinder-combobox__control"><input type="text" role="combobox" class="cinder-combobox__input" autocomplete="off" autocorrect="off" spellcheck="false" aria-autocomplete="list"/></div> <!> <!> <div class="cinder-combobox__empty" role="status"> </div> <!> <p class="cinder-combobox__error" aria-live="polite"> </p></div>`);
17785
17853
  function Combobox($$anchor, $$props) {
17786
17854
  $113.push($$props, true);
17787
- let value = $113.prop($$props, "value", 15, ""), inputValue = $113.prop($$props, "inputValue", 15, ""), maxVisibleOptions = $113.prop($$props, "maxVisibleOptions", 3, 200);
17855
+ let value = $113.prop($$props, "value", 15, ""), inputValue = $113.prop($$props, "inputValue", 15, ""), maxVisibleOptions = $113.prop($$props, "maxVisibleOptions", 3, 200), allowCustomValue = $113.prop($$props, "allowCustomValue", 3, false);
17788
17856
  const context = getFormFieldContext();
17789
17857
  const field = $113.derived(() => resolveFieldControl({
17790
17858
  id: $$props.id,
@@ -17827,9 +17895,22 @@ function Combobox($$anchor, $$props) {
17827
17895
  let hiddenInputElement = $113.state(null);
17828
17896
  let listboxElement = $113.state(null);
17829
17897
  let committedLabel = $113.state("");
17898
+ let initialCustomValue = $113.state("");
17899
+ let hasUserCommittedValue = $113.state(false);
17900
+ let hasExplicitNavigation = $113.state(false);
17901
+ let hasStoredInitialValue = $113.state(false);
17830
17902
  let resetSyncTimeout;
17831
- const initialValue = untrack9(() => value());
17903
+ let initialValue = $113.state($113.proxy(untrack9(() => value())));
17832
17904
  const initialInputValue = untrack9(() => inputValue());
17905
+ $113.user_pre_effect(() => {
17906
+ if (!$113.get(hasUserCommittedValue) && !$113.get(hasStoredInitialValue) && value()) {
17907
+ $113.set(initialValue, value(), true);
17908
+ $113.set(hasStoredInitialValue, true);
17909
+ }
17910
+ if (allowCustomValue() && !$113.get(hasUserCommittedValue) && value() && !$113.get(initialCustomValue)) {
17911
+ $113.set(initialCustomValue, value(), true);
17912
+ }
17913
+ });
17833
17914
  $113.user_effect(() => {
17834
17915
  $113.get(filteredOptions);
17835
17916
  if ($113.get(activeIndex) >= $113.get(filteredOptions).length) {
@@ -17849,6 +17930,12 @@ function Combobox($$anchor, $$props) {
17849
17930
  if (untrack9(() => inputValue()) !== matched.label) {
17850
17931
  inputValue(matched.label);
17851
17932
  }
17933
+ } else if (allowCustomValue()) {
17934
+ if (!$113.get(initialCustomValue))
17935
+ $113.set(initialCustomValue, value(), true);
17936
+ $113.set(committedLabel, value(), true);
17937
+ if (untrack9(() => inputValue()) !== value())
17938
+ inputValue(value());
17852
17939
  }
17853
17940
  });
17854
17941
  function handleEscape(event9 = undefined) {
@@ -17868,12 +17955,30 @@ function Combobox($$anchor, $$props) {
17868
17955
  const releaseEscape = pushEscapeHandler(handleEscape);
17869
17956
  return releaseEscape;
17870
17957
  });
17871
- const activeOptionId = $113.derived(() => $113.get(activeIndex) >= 0 && $113.get(activeIndex) < $113.get(filteredOptions).length ? `${$$props.id}-option-${$113.get(activeIndex)}` : undefined);
17958
+ const listboxVisible = $113.derived(() => $113.get(open) && $113.get(filteredOptions).length > 0);
17959
+ const activeOptionId = $113.derived(() => $113.get(listboxVisible) && $113.get(activeIndex) >= 0 && $113.get(activeIndex) < $113.get(filteredOptions).length ? `${$$props.id}-option-${$113.get(activeIndex)}` : undefined);
17960
+ function findCommittedOption(rawValue) {
17961
+ const query = rawValue.trim();
17962
+ if (!query)
17963
+ return;
17964
+ let labelMatch;
17965
+ for (const option of $$props.options) {
17966
+ if (option.disabled)
17967
+ continue;
17968
+ if (option.value === query)
17969
+ return option;
17970
+ if (labelMatch === undefined && option.label === query) {
17971
+ labelMatch = option;
17972
+ }
17973
+ }
17974
+ return labelMatch;
17975
+ }
17872
17976
  function handleInput(event9) {
17873
17977
  const target = event9.target;
17874
17978
  inputValue(target.value);
17875
17979
  $113.set(open, true);
17876
17980
  $113.set(activeIndex, $113.get(filteredOptions).length > 0 ? 0 : -1, true);
17981
+ $113.set(hasExplicitNavigation, false);
17877
17982
  }
17878
17983
  function handleFocus() {
17879
17984
  if (!$113.get(resolvedDisabled))
@@ -17883,6 +17988,10 @@ function Combobox($$anchor, $$props) {
17883
17988
  const next11 = event9.relatedTarget;
17884
17989
  if (next11 && $113.get(listboxElement)?.contains(next11))
17885
17990
  return;
17991
+ if (allowCustomValue() && inputValue().trim() && inputValue() !== $113.get(committedLabel)) {
17992
+ commitCustomValue();
17993
+ return;
17994
+ }
17886
17995
  $113.set(open, false);
17887
17996
  if (inputValue() !== $113.get(committedLabel)) {
17888
17997
  inputValue($113.get(committedLabel));
@@ -17893,10 +18002,35 @@ function Combobox($$anchor, $$props) {
17893
18002
  function selectOption(option) {
17894
18003
  if (option.disabled)
17895
18004
  return;
18005
+ $113.set(hasUserCommittedValue, true);
17896
18006
  value(option.value);
17897
18007
  inputValue(option.label);
17898
18008
  $113.set(committedLabel, option.label, true);
17899
18009
  $113.set(open, false);
18010
+ $$props.onchange?.(option.value);
18011
+ }
18012
+ function commitCustomValue() {
18013
+ const nextValue = inputValue().trim();
18014
+ if (!allowCustomValue() || !nextValue)
18015
+ return;
18016
+ if ($$props.options.some((option) => option.disabled && (option.value === nextValue || option.label === nextValue))) {
18017
+ inputValue($113.get(committedLabel));
18018
+ if ($113.get(inputElement))
18019
+ $113.get(inputElement).value = $113.get(committedLabel);
18020
+ $113.set(open, false);
18021
+ return;
18022
+ }
18023
+ $113.set(hasUserCommittedValue, true);
18024
+ const matched = findCommittedOption(nextValue);
18025
+ const committedValue = matched?.value ?? nextValue;
18026
+ const committedText = matched?.label ?? nextValue;
18027
+ const previousValue = value();
18028
+ value(committedValue);
18029
+ inputValue(committedText);
18030
+ $113.set(committedLabel, committedText, true);
18031
+ $113.set(open, false);
18032
+ if (committedValue !== previousValue)
18033
+ $$props.onchange?.(committedValue);
17900
18034
  }
17901
18035
  function resetToInitialValue(event9) {
17902
18036
  if (resetSyncTimeout !== undefined)
@@ -17905,17 +18039,18 @@ function Combobox($$anchor, $$props) {
17905
18039
  resetSyncTimeout = undefined;
17906
18040
  if (event9.defaultPrevented)
17907
18041
  return;
17908
- value(initialValue);
17909
- const matched = $$props.options.find((option) => option.value === initialValue);
17910
- const nextInputValue = matched?.label ?? initialInputValue;
18042
+ const resetValue = $113.get(hasStoredInitialValue) ? $113.get(initialValue) : allowCustomValue() ? $113.get(initialCustomValue) || $113.get(committedLabel) : "";
18043
+ value(resetValue);
18044
+ const matched = $$props.options.find((option) => option.value === resetValue);
18045
+ const nextInputValue = matched?.label ?? (allowCustomValue() ? resetValue : initialInputValue);
17911
18046
  inputValue(nextInputValue);
17912
- $113.set(committedLabel, matched?.label ?? "", true);
18047
+ $113.set(committedLabel, matched?.label ?? (allowCustomValue() ? resetValue : ""), true);
17913
18048
  $113.set(open, false);
17914
18049
  $113.set(activeIndex, -1);
17915
18050
  if ($113.get(inputElement))
17916
18051
  $113.get(inputElement).value = nextInputValue;
17917
18052
  if ($113.get(hiddenInputElement))
17918
- $113.get(hiddenInputElement).value = initialValue;
18053
+ $113.get(hiddenInputElement).value = resetValue;
17919
18054
  }, 0);
17920
18055
  }
17921
18056
  $113.user_effect(() => {
@@ -17933,7 +18068,7 @@ function Combobox($$anchor, $$props) {
17933
18068
  };
17934
18069
  });
17935
18070
  $113.user_effect(() => {
17936
- $113.get(inputElement)?.setCustomValidity($113.get(resolvedRequired) && !value() || inputValue() !== $113.get(committedLabel) ? "Please select an option." : "");
18071
+ $113.get(inputElement)?.setCustomValidity($113.get(resolvedRequired) && !value() || !allowCustomValue() && inputValue() !== $113.get(committedLabel) ? "Please select an option." : "");
17937
18072
  });
17938
18073
  function handleKeydown(event9) {
17939
18074
  if (event9.key === "ArrowDown") {
@@ -17942,25 +18077,32 @@ function Combobox($$anchor, $$props) {
17942
18077
  if ($113.get(filteredOptions).length === 0)
17943
18078
  return;
17944
18079
  $113.set(activeIndex, ($113.get(activeIndex) + 1) % $113.get(filteredOptions).length);
18080
+ $113.set(hasExplicitNavigation, true);
17945
18081
  } else if (event9.key === "ArrowUp") {
17946
18082
  event9.preventDefault();
17947
18083
  $113.set(open, true);
17948
18084
  if ($113.get(filteredOptions).length === 0)
17949
18085
  return;
17950
18086
  $113.set(activeIndex, $113.get(activeIndex) <= 0 ? $113.get(filteredOptions).length - 1 : $113.get(activeIndex) - 1, true);
18087
+ $113.set(hasExplicitNavigation, true);
17951
18088
  } else if (event9.key === "Home") {
17952
18089
  if (!$113.get(open))
17953
18090
  return;
17954
18091
  event9.preventDefault();
17955
18092
  $113.set(activeIndex, $113.get(filteredOptions).length > 0 ? 0 : -1, true);
18093
+ $113.set(hasExplicitNavigation, true);
17956
18094
  } else if (event9.key === "End") {
17957
18095
  if (!$113.get(open))
17958
18096
  return;
17959
18097
  event9.preventDefault();
17960
18098
  $113.set(activeIndex, $113.get(filteredOptions).length - 1);
18099
+ $113.set(hasExplicitNavigation, true);
17961
18100
  } else if (event9.key === "Enter" && $113.get(open)) {
17962
18101
  const option = $113.get(filteredOptions)[$113.get(activeIndex)];
17963
- if (option) {
18102
+ if (allowCustomValue() && !($113.get(hasExplicitNavigation) && option)) {
18103
+ event9.preventDefault();
18104
+ commitCustomValue();
18105
+ } else if (option) {
17964
18106
  event9.preventDefault();
17965
18107
  selectOption(option);
17966
18108
  }
@@ -18107,7 +18249,7 @@ function Combobox($$anchor, $$props) {
18107
18249
  });
18108
18250
  };
18109
18251
  $113.if(node_3, ($$render) => {
18110
- if ($113.get(open) && $113.get(filteredOptions).length > 0)
18252
+ if ($113.get(listboxVisible))
18111
18253
  $$render(consequent_5);
18112
18254
  });
18113
18255
  }
@@ -18135,7 +18277,7 @@ function Combobox($$anchor, $$props) {
18135
18277
  var text_5 = $113.child(p_1, true);
18136
18278
  $113.reset(p_1);
18137
18279
  $113.reset(div);
18138
- $113.template_effect(($0) => {
18280
+ $113.template_effect(($0, $1) => {
18139
18281
  $113.set_class(div, 1, $0);
18140
18282
  $113.set_attribute(div_1, "data-cinder-open", $113.get(open) || undefined);
18141
18283
  $113.set_attribute(input_1, "id", $$props.id);
@@ -18143,8 +18285,9 @@ function Combobox($$anchor, $$props) {
18143
18285
  input_1.required = $113.get(resolvedRequired);
18144
18286
  $113.set_attribute(input_1, "placeholder", $$props.placeholder);
18145
18287
  $113.set_value(input_1, inputValue());
18146
- $113.set_attribute(input_1, "aria-expanded", $113.get(open));
18147
- $113.set_attribute(input_1, "aria-controls", $113.get(listboxId));
18288
+ $113.set_attribute(input_1, "aria-label", $1);
18289
+ $113.set_attribute(input_1, "aria-expanded", $113.get(listboxVisible));
18290
+ $113.set_attribute(input_1, "aria-controls", $113.get(listboxVisible) ? $113.get(listboxId) : undefined);
18148
18291
  $113.set_attribute(input_1, "aria-activedescendant", $113.get(activeOptionId));
18149
18292
  $113.set_attribute(input_1, "aria-invalid", $113.get(field).ariaInvalid);
18150
18293
  $113.set_attribute(input_1, "aria-required", $113.get(resolvedRequired) || undefined);
@@ -18154,7 +18297,10 @@ function Combobox($$anchor, $$props) {
18154
18297
  $113.set_attribute(p_1, "id", $113.get(field).ownErrorId ?? $113.get(stableLocalErrorId));
18155
18298
  $113.set_attribute(p_1, "data-cinder-error", !!$$props.error || undefined);
18156
18299
  $113.set_text(text_5, $$props.error ?? "");
18157
- }, [() => $113.clsx(classNames("cinder-combobox", $$props.class))]);
18300
+ }, [
18301
+ () => $113.clsx(classNames("cinder-combobox", $$props.class)),
18302
+ () => $$props["aria-label"]?.trim() || undefined
18303
+ ]);
18158
18304
  $113.delegated("input", input_1, handleInput);
18159
18305
  $113.event("focus", input_1, handleFocus);
18160
18306
  $113.event("blur", input_1, handleBlur);
@@ -29975,6 +30121,7 @@ import"@lostgradient/cinder/json-editor/styles";
29975
30121
  // src/components/json-editor/json-editor.svelte
29976
30122
  import"svelte/internal/disclose-version";
29977
30123
  import * as $173 from "svelte/internal/client";
30124
+ import { tick as tick9 } from "svelte";
29978
30125
  var rest_excludes79 = new Set([
29979
30126
  "$$slots",
29980
30127
  "$$events",
@@ -29986,28 +30133,65 @@ var rest_excludes79 = new Set([
29986
30133
  "error",
29987
30134
  "rows",
29988
30135
  "showValidFeedback",
30136
+ "highlight",
29989
30137
  "onValueChange",
29990
30138
  "class",
29991
30139
  "autofocus",
30140
+ "wrap",
30141
+ "onscroll",
29992
30142
  "aria-describedby",
29993
30143
  "aria-invalid"
29994
30144
  ]);
29995
30145
  var root99 = $173.from_html(`<p class="cinder-json-editor__description"> </p>`);
29996
- var root_1101 = $173.from_html(`<p> </p>`);
29997
- var root_262 = $173.from_html(`<div><label class="cinder-json-editor__label"> </label> <!> <textarea></textarea> <!></div>`);
30146
+ var root_1101 = $173.from_html(`<pre class="cinder-json-editor__highlight" aria-hidden="true"></pre>`);
30147
+ var root_262 = $173.from_html(`<p> </p>`);
30148
+ var root_352 = $173.from_html(`<div><label class="cinder-json-editor__label"> </label> <!> <div><!> <textarea></textarea></div> <!></div>`);
29998
30149
  function Json_editor($$anchor, $$props) {
29999
30150
  $173.push($$props, true);
30000
- let rows = $173.prop($$props, "rows", 3, 8), showValidFeedback = $173.prop($$props, "showValidFeedback", 3, true), autofocus = $173.prop($$props, "autofocus", 3, false), rest = $173.rest_props($$props, rest_excludes79);
30151
+ let rows = $173.prop($$props, "rows", 3, 8), showValidFeedback = $173.prop($$props, "showValidFeedback", 3, true), highlight = $173.prop($$props, "highlight", 3, false), autofocus = $173.prop($$props, "autofocus", 3, false), rest = $173.rest_props($$props, rest_excludes79);
30001
30152
  let draftValue = $173.state($173.proxy($$props.value));
30002
30153
  let previousValue = $$props.value;
30003
30154
  let textareaNode = $173.state(undefined);
30004
30155
  let resetSyncTimeout;
30156
+ let highlightedHtml = $173.state(null);
30157
+ let lintPosition = $173.state(null);
30158
+ let highlightNode = $173.state(undefined);
30005
30159
  $173.user_effect(() => {
30006
30160
  if ($$props.value === previousValue)
30007
30161
  return;
30008
30162
  previousValue = $$props.value;
30009
30163
  $173.set(draftValue, $$props.value, true);
30010
30164
  });
30165
+ $173.user_effect(() => {
30166
+ if (!highlight() || $173.get(externalError)) {
30167
+ $173.set(highlightedHtml, null);
30168
+ $173.set(lintPosition, null);
30169
+ return;
30170
+ }
30171
+ const pendingValue = $173.get(draftValue);
30172
+ let cancelled = false;
30173
+ import("@lostgradient/cinder/json-editor/enhancement").then(({ enhanceJson }) => {
30174
+ if (cancelled)
30175
+ return;
30176
+ const result = enhanceJson(pendingValue, $173.get(parseIsValid));
30177
+ $173.set(highlightedHtml, result.html, true);
30178
+ $173.set(lintPosition, result.lint?.position ?? null, true);
30179
+ tick9().then(() => {
30180
+ if (!cancelled && $173.get(highlightNode) && $173.get(textareaNode)) {
30181
+ $173.get(highlightNode).scrollTop = $173.get(textareaNode).scrollTop;
30182
+ $173.get(highlightNode).scrollLeft = $173.get(textareaNode).scrollLeft;
30183
+ }
30184
+ });
30185
+ }).catch(() => {
30186
+ if (!cancelled) {
30187
+ $173.set(highlightedHtml, null);
30188
+ $173.set(lintPosition, null);
30189
+ }
30190
+ });
30191
+ return () => {
30192
+ cancelled = true;
30193
+ };
30194
+ });
30011
30195
  function syncDraftAfterFormReset() {
30012
30196
  if (resetSyncTimeout !== undefined)
30013
30197
  clearTimeout(resetSyncTimeout);
@@ -30047,7 +30231,8 @@ function Json_editor($$anchor, $$props) {
30047
30231
  const feedbackId = $173.derived(() => $173.get(feedbackText) ? `${$$props.id}-feedback` : undefined);
30048
30232
  const describedBy = $173.derived(() => composeDescribedBy($173.get(descriptionId), $173.get(feedbackId), $$props["aria-describedby"]));
30049
30233
  const ariaInvalid2 = $173.derived(() => $173.get(feedbackIsError) ? "true" : $173.get(normalizedConsumerInvalid));
30050
- var div = root_262();
30234
+ const hasHighlightOverlay = $173.derived(() => highlight() && $173.get(highlightedHtml) !== null);
30235
+ var div = root_352();
30051
30236
  var label_1 = $173.child(div);
30052
30237
  var text23 = $173.child(label_1, true);
30053
30238
  $173.reset(label_1);
@@ -30068,33 +30253,59 @@ function Json_editor($$anchor, $$props) {
30068
30253
  $$render(consequent);
30069
30254
  });
30070
30255
  }
30071
- var textarea = $173.sibling(node, 2);
30072
- $173.remove_textarea_child(textarea);
30256
+ var div_1 = $173.sibling(node, 2);
30257
+ var node_1 = $173.child(div_1);
30258
+ {
30259
+ var consequent_1 = ($$anchor2) => {
30260
+ var pre = root_1101();
30261
+ $173.html(pre, () => $173.get(highlightedHtml), true);
30262
+ $173.reset(pre);
30263
+ $173.bind_this(pre, ($$value) => $173.set(highlightNode, $$value), () => $173.get(highlightNode));
30264
+ $173.append($$anchor2, pre);
30265
+ };
30266
+ $173.if(node_1, ($$render) => {
30267
+ if ($173.get(hasHighlightOverlay))
30268
+ $$render(consequent_1);
30269
+ });
30270
+ }
30271
+ var textarea_1 = $173.sibling(node_1, 2);
30272
+ $173.remove_textarea_child(textarea_1);
30073
30273
  var event_handler = (event14) => {
30074
30274
  $173.set(draftValue, event14.currentTarget.value, true);
30075
30275
  $$props.onValueChange?.($173.get(draftValue));
30076
30276
  };
30077
- $173.attribute_effect(textarea, () => ({
30277
+ var event_handler_1 = (event14) => {
30278
+ const textarea = event14.currentTarget;
30279
+ if (!$173.get(highlightNode))
30280
+ return;
30281
+ $173.get(highlightNode).scrollTop = textarea.scrollTop;
30282
+ $173.get(highlightNode).scrollLeft = textarea.scrollLeft;
30283
+ $$props.onscroll?.(event14);
30284
+ };
30285
+ $173.attribute_effect(textarea_1, () => ({
30078
30286
  ...rest,
30079
30287
  id: $$props.id,
30080
30288
  rows: rows(),
30289
+ wrap: $$props.wrap,
30081
30290
  autofocus: autofocus(),
30082
30291
  value: $173.get(draftValue),
30083
30292
  spellcheck: "false",
30084
30293
  class: "cinder-json-editor__textarea",
30085
30294
  "aria-describedby": $173.get(describedBy),
30086
30295
  "aria-invalid": $173.get(ariaInvalid2),
30087
- oninput: event_handler
30296
+ oninput: event_handler,
30297
+ onscroll: event_handler_1
30088
30298
  }));
30089
- $173.bind_this(textarea, ($$value) => $173.set(textareaNode, $$value), () => $173.get(textareaNode));
30090
- $173.attach(textarea, () => (element19) => {
30299
+ $173.bind_this(textarea_1, ($$value) => $173.set(textareaNode, $$value), () => $173.get(textareaNode));
30300
+ $173.attach(textarea_1, () => (element19) => {
30091
30301
  if (autofocus())
30092
30302
  element19.focus();
30093
30303
  });
30094
- var node_1 = $173.sibling(textarea, 2);
30304
+ $173.reset(div_1);
30305
+ var node_2 = $173.sibling(div_1, 2);
30095
30306
  {
30096
- var consequent_1 = ($$anchor2) => {
30097
- var p_1 = root_1101();
30307
+ var consequent_2 = ($$anchor2) => {
30308
+ var p_1 = root_262();
30098
30309
  var text_2 = $173.child(p_1, true);
30099
30310
  $173.reset(p_1);
30100
30311
  $173.template_effect(($0) => {
@@ -30107,18 +30318,21 @@ function Json_editor($$anchor, $$props) {
30107
30318
  ]);
30108
30319
  $173.append($$anchor2, p_1);
30109
30320
  };
30110
- $173.if(node_1, ($$render) => {
30321
+ $173.if(node_2, ($$render) => {
30111
30322
  if ($173.get(feedbackText))
30112
- $$render(consequent_1);
30323
+ $$render(consequent_2);
30113
30324
  });
30114
30325
  }
30115
30326
  $173.reset(div);
30116
- $173.template_effect(($0) => {
30327
+ $173.template_effect(($0, $1) => {
30117
30328
  $173.set_class(div, 1, $0);
30118
30329
  $173.set_attribute(label_1, "for", $$props.id);
30119
30330
  $173.set_text(text23, $$props.label);
30331
+ $173.set_class(div_1, 1, $1);
30332
+ $173.set_attribute(div_1, "data-cinder-json-lint-position", $173.get(lintPosition) ?? undefined);
30120
30333
  }, [
30121
- () => $173.clsx(classNames("cinder-json-editor", $$props.class))
30334
+ () => $173.clsx(classNames("cinder-json-editor", $$props.class)),
30335
+ () => $173.clsx(classNames("cinder-json-editor__input", $173.get(hasHighlightOverlay) && "cinder-json-editor__input--highlighted", $$props.wrap === "off" && "cinder-json-editor__input--nowrap"))
30122
30336
  ]);
30123
30337
  $173.append($$anchor, div);
30124
30338
  $173.pop();
@@ -30477,7 +30691,7 @@ import { computeLineDiff } from "@lostgradient/markdown/diff/line-diff";
30477
30691
  var root104 = $178.from_html(`<p>The diff shows the committed state; uncommitted JSON edits are not included.</p> <div class="cinder-jse-dirty-actions"><!> <!></div>`, 1);
30478
30692
  var root_1103 = $178.from_html(`<span class="cinder-jse-diff-line__marker">~</span> <span class="cinder-jse-diff-line__marker">→</span> `, 1);
30479
30693
  var root_263 = $178.from_html(`<span class="cinder-jse-diff-line__marker"> </span> `, 1);
30480
- var root_352 = $178.from_html(`<div><!></div>`);
30694
+ var root_353 = $178.from_html(`<div><!></div>`);
30481
30695
  var root_432 = $178.from_html(`<div class="cinder-jse-diff-lines" role="group" aria-label="JSON diff"></div>`);
30482
30696
  var root_525 = $178.from_html(`<div><!> <!></div>`);
30483
30697
  function Diff_view($$anchor, $$props) {
@@ -30550,7 +30764,7 @@ function Diff_view($$anchor, $$props) {
30550
30764
  var alternate_1 = ($$anchor2) => {
30551
30765
  var div_2 = root_432();
30552
30766
  $178.each(div_2, 21, () => $178.get(lineDiffs), $178.index, ($$anchor3, line) => {
30553
- var div_3 = root_352();
30767
+ var div_3 = root_353();
30554
30768
  var node_4 = $178.child(div_3);
30555
30769
  {
30556
30770
  var consequent_2 = ($$anchor4) => {
@@ -30639,7 +30853,7 @@ function calculatePropertyValidationErrorCount(propertyNames, childValidationCou
30639
30853
  var root105 = $179.from_html(`<p class="cinder-jse-property-list__empty">No properties yet.</p>`);
30640
30854
  var root_1104 = $179.from_html(`<div class="cinder-jse-property-row__panel"><!> <!></div>`);
30641
30855
  var root_264 = $179.from_html(`<div class="cinder-jse-property-row"><div class="cinder-jse-property-row__summary"><button type="button" class="cinder-jse-property-row__trigger"><span class="cinder-jse-property-row__chevron" aria-hidden="true">▸</span> <span class="cinder-jse-property-row__name"> </span> <span class="cinder-jse-property-row__type"> </span></button> <span class="cinder-jse-property-row__spacer"></span> <!> <!> <!> <!></div> <!></div>`);
30642
- var root_353 = $179.from_html(`<details class="cinder-jse-required-only"><summary class="cinder-jse-required-only__summary"> </summary> <div class="cinder-jse-required-only__panel"><!> <!> <!></div></details>`);
30856
+ var root_354 = $179.from_html(`<details class="cinder-jse-required-only"><summary class="cinder-jse-required-only__summary"> </summary> <div class="cinder-jse-required-only__panel"><!> <!> <!></div></details>`);
30643
30857
  var root_433 = $179.from_html(`<div class="cinder-jse-property-list"><!> <!> <!> <!> <!></div>`);
30644
30858
  function Property_list($$anchor, $$props) {
30645
30859
  $179.push($$props, true);
@@ -31014,7 +31228,7 @@ function Property_list($$anchor, $$props) {
31014
31228
  var node_11 = $179.sibling(node_10, 2);
31015
31229
  {
31016
31230
  var consequent_3 = ($$anchor2) => {
31017
- var details = root_353();
31231
+ var details = root_354();
31018
31232
  var summary = $179.child(details);
31019
31233
  var text_8 = $179.child(summary);
31020
31234
  $179.reset(summary);
@@ -31142,7 +31356,7 @@ var NUMBER_CONSTRAINT_FIELDS = [
31142
31356
  var root106 = $180.from_html(`<div class="cinder-jse-boolean-schema"><span> </span> <!></div>`);
31143
31357
  var root_1105 = $180.from_html(`<button type="button" class="cinder-jse-collapsed"><span class="cinder-jse-collapsed__summary"> </span> <span class="cinder-jse-collapsed__hint">Expand</span></button>`);
31144
31358
  var root_265 = $180.from_html(`<div class="cinder-jse-section-header"><!></div>`);
31145
- var root_354 = $180.from_html(`<div class="cinder-jse-section"><h4 class="cinder-jse-section__title">Properties</h4> <!></div>`);
31359
+ var root_355 = $180.from_html(`<div class="cinder-jse-section"><h4 class="cinder-jse-section__title">Properties</h4> <!></div>`);
31146
31360
  var root_434 = $180.from_html(`<div class="cinder-jse-section"><h4 class="cinder-jse-section__title">Array items</h4> <!></div>`);
31147
31361
  var root_526 = $180.from_html(`<details class="cinder-jse-section cinder-jse-section--collapsible"><summary class="cinder-jse-section__title">String constraints</summary> <div class="cinder-jse-section__body"><!> <!> <!> <!></div></details>`);
31148
31362
  var root_616 = $180.from_html(`<details class="cinder-jse-section cinder-jse-section--collapsible"><summary class="cinder-jse-section__title">Number constraints</summary> <div class="cinder-jse-section__body"></div></details>`);
@@ -31504,7 +31718,7 @@ function Property_editor($$anchor, $$props) {
31504
31718
  var node_8 = $180.sibling(div_4, 2);
31505
31719
  {
31506
31720
  var consequent_4 = ($$anchor3) => {
31507
- var div_6 = root_354();
31721
+ var div_6 = root_355();
31508
31722
  var node_9 = $180.sibling($180.child(div_6), 2);
31509
31723
  {
31510
31724
  let $0 = $180.derived(() => `${$$props.path}/properties`);
@@ -33154,7 +33368,7 @@ var rest_excludes80 = new Set([
33154
33368
  var root109 = $185.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
33155
33369
  var root_1107 = $185.from_html(`<label class="cinder-textarea-label"> <!></label>`);
33156
33370
  var root_266 = $185.from_html(`<p class="cinder-textarea-description"> </p>`);
33157
- var root_355 = $185.from_html(`<output class="cinder-textarea-count" aria-live="polite" aria-atomic="true"> </output>`);
33371
+ var root_356 = $185.from_html(`<output class="cinder-textarea-count" aria-live="polite" aria-atomic="true"> </output>`);
33158
33372
  var root_435 = $185.from_html(`<p class="cinder-textarea-error" aria-live="polite"> </p>`);
33159
33373
  var root_527 = $185.from_html(`<div class="cinder-textarea-field"><!> <textarea></textarea> <!> <!> <!></div>`);
33160
33374
  function Textarea($$anchor, $$props) {
@@ -33243,7 +33457,7 @@ function Textarea($$anchor, $$props) {
33243
33457
  var node_3 = $185.sibling(node_2, 2);
33244
33458
  {
33245
33459
  var consequent_3 = ($$anchor2) => {
33246
- var output = root_355();
33460
+ var output = root_356();
33247
33461
  var text_2 = $185.child(output);
33248
33462
  $185.reset(output);
33249
33463
  $185.template_effect(() => {
@@ -33435,7 +33649,7 @@ var isMacPlatform = detectMacPlatform();
33435
33649
  var root111 = $187.from_html(`<span class="cinder-sr-only">, has changes</span>`);
33436
33650
  var root_1109 = $187.from_html(`Diff<!>`, 1);
33437
33651
  var root_267 = $187.from_html(`<!> <!> <!>`, 1);
33438
- var root_356 = $187.from_html(`<!> <!> <!> <!>`, 1);
33652
+ var root_357 = $187.from_html(`<!> <!> <!> <!>`, 1);
33439
33653
  var root_436 = $187.from_html(`<div data-cinder-jse="" role="region" aria-label="JSON Schema editor"><!> <!></div>`);
33440
33654
  function Json_schema_editor_impl($$anchor, $$props) {
33441
33655
  $187.push($$props, true);
@@ -33544,7 +33758,7 @@ function Json_schema_editor_impl($$anchor, $$props) {
33544
33758
  view($$value);
33545
33759
  },
33546
33760
  children: ($$anchor2, $$slotProps) => {
33547
- var fragment = root_356();
33761
+ var fragment = root_357();
33548
33762
  var node_2 = $187.first_child(fragment);
33549
33763
  Tab_list(node_2, {
33550
33764
  label: "Editor view",
@@ -33714,7 +33928,7 @@ import"@lostgradient/cinder/invocation-rule-builder/styles";
33714
33928
  // src/components/invocation-rule-builder/invocation-rule-builder.svelte
33715
33929
  import"svelte/internal/disclose-version";
33716
33930
  import * as $189 from "svelte/internal/client";
33717
- import { tick as tick9 } from "svelte";
33931
+ import { tick as tick10 } from "svelte";
33718
33932
  var rest_excludes82 = new Set([
33719
33933
  "$$slots",
33720
33934
  "$$events",
@@ -33738,28 +33952,29 @@ var rest_excludes82 = new Set([
33738
33952
  var root112 = $189.from_html(`<h3 class="cinder-invocation-rule-builder__rule-label"> </h3>`);
33739
33953
  var root_1110 = $189.from_html(`<label class="cinder-invocation-rule-builder__rule-label-field"><span class="cinder-sr-only">Rule name</span> <input class="cinder-invocation-rule-builder__rule-label-input"/></label>`);
33740
33954
  var root_268 = $189.from_html(`<div class="cinder-invocation-rule-builder__rule-controls"><button type="button" class="cinder-invocation-rule-builder__icon-btn"><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M8 3l5 6H3z"></path></svg></button> <button type="button" class="cinder-invocation-rule-builder__icon-btn"><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M8 13l-5-6h10z"></path></svg></button> <button type="button" class="cinder-invocation-rule-builder__icon-btn" data-irb-rule-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="2" fill="none"></path></svg></button></div>`);
33741
- var root_357 = $189.from_html(`<div class="cinder-invocation-rule-builder__rule-header"><!> <!></div>`);
33955
+ var root_358 = $189.from_html(`<div class="cinder-invocation-rule-builder__rule-header"><!> <!></div>`);
33742
33956
  var root_437 = $189.from_html(`<h3 class="cinder-sr-only">Conditions</h3>`);
33743
33957
  var root_528 = $189.from_html(`<p class="cinder-invocation-rule-builder__validation" role="status"> </p>`);
33744
33958
  var root_617 = $189.from_html(`<p class="cinder-invocation-rule-builder__empty"> </p>`);
33745
33959
  var root_715 = $189.from_html(`<div class="cinder-invocation-rule-builder__summary-row"> </div>`);
33746
33960
  var root_813 = $189.from_html(`<div class="cinder-invocation-rule-builder__summary"><!></div>`);
33747
33961
  var root_910 = $189.from_html(`<option> </option>`);
33748
- var root_108 = $189.from_html(`<input type="number" class="cinder-invocation-rule-builder__condition-value" placeholder="Value to compare"/>`);
33749
- var root_1114 = $189.from_html(`<input type="checkbox" class="cinder-invocation-rule-builder__condition-value-checkbox"/>`);
33750
- var root_1213 = $189.from_html(`<select class="cinder-invocation-rule-builder__condition-select cinder-invocation-rule-builder__condition-value-select"></select>`);
33751
- var root_1310 = $189.from_html(`<input type="text" class="cinder-invocation-rule-builder__condition-value" placeholder="Value to compare"/>`);
33752
- var root_1410 = $189.from_html(`<div class="cinder-invocation-rule-builder__condition" role="listitem"><select class="cinder-invocation-rule-builder__condition-select"></select> <select class="cinder-invocation-rule-builder__condition-select"></select> <!> <button type="button" class="cinder-invocation-rule-builder__icon-btn" data-irb-condition-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="2" fill="none"></path></svg></button></div>`);
33753
- var root_1510 = $189.from_html(`<div class="cinder-invocation-rule-builder__conditions" role="list"></div> <button type="button" class="cinder-invocation-rule-builder__add-btn" data-irb-add-condition=""> </button>`, 1);
33754
- var root_165 = $189.from_html(`<p class="cinder-invocation-rule-builder__validation" role="status">Add at least one action for this rule.</p>`);
33755
- var root_175 = $189.from_html(`<p class="cinder-invocation-rule-builder__empty">No actions configured.</p>`);
33756
- var root_184 = $189.from_html(`<div class="cinder-invocation-rule-builder__action" role="listitem"><select class="cinder-invocation-rule-builder__action-select"></select> <button type="button" class="cinder-invocation-rule-builder__icon-btn" data-irb-action-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="2" fill="none"></path></svg></button></div>`);
33757
- var root_194 = $189.from_html(`<div class="cinder-invocation-rule-builder__actions" role="list"></div> <button type="button" class="cinder-invocation-rule-builder__add-btn" data-irb-add-action=""> </button>`, 1);
33758
- var root_20 = $189.from_html(`<div><span class="cinder-invocation-rule-builder__section-heading">Actions</span> <!> <!></div>`);
33759
- var root_21 = $189.from_html(`<div class="cinder-invocation-rule-builder__rule"><!> <div><span class="cinder-invocation-rule-builder__section-heading">Conditions</span> <!> <!></div> <!></div>`);
33760
- var root_2210 = $189.from_html(`<button type="button" class="cinder-invocation-rule-builder__add-btn cinder-invocation-rule-builder__add-rule-btn" data-irb-add-rule=""> </button>`);
33761
- var root_2310 = $189.from_html(`<p class="cinder-invocation-rule-builder__empty">No rules configured.</p>`);
33762
- var root_2410 = $189.from_html(`<section><!> <!> <!></section> <div role="status" aria-live="polite" aria-atomic="true" class="cinder-invocation-rule-builder__announcer"> </div>`, 1);
33962
+ var root_108 = $189.from_html(`<select class="cinder-invocation-rule-builder__condition-select"></select>`);
33963
+ var root_1114 = $189.from_html(`<input type="number" class="cinder-invocation-rule-builder__condition-value" placeholder="Value to compare"/>`);
33964
+ var root_1213 = $189.from_html(`<input type="checkbox" class="cinder-invocation-rule-builder__condition-value-checkbox"/>`);
33965
+ var root_1310 = $189.from_html(`<select class="cinder-invocation-rule-builder__condition-select cinder-invocation-rule-builder__condition-value-select"></select>`);
33966
+ var root_1410 = $189.from_html(`<input type="text" class="cinder-invocation-rule-builder__condition-value" placeholder="Value to compare"/>`);
33967
+ var root_1510 = $189.from_html(`<div class="cinder-invocation-rule-builder__condition" role="listitem"><!> <select class="cinder-invocation-rule-builder__condition-select"></select> <!> <button type="button" class="cinder-invocation-rule-builder__icon-btn" data-irb-condition-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="2" fill="none"></path></svg></button></div>`);
33968
+ var root_165 = $189.from_html(`<div class="cinder-invocation-rule-builder__conditions" role="list"></div> <button type="button" class="cinder-invocation-rule-builder__add-btn" data-irb-add-condition=""> </button>`, 1);
33969
+ var root_175 = $189.from_html(`<p class="cinder-invocation-rule-builder__validation" role="status">Add at least one action for this rule.</p>`);
33970
+ var root_184 = $189.from_html(`<p class="cinder-invocation-rule-builder__empty">No actions configured.</p>`);
33971
+ var root_194 = $189.from_html(`<div class="cinder-invocation-rule-builder__action" role="listitem"><select class="cinder-invocation-rule-builder__action-select"></select> <button type="button" class="cinder-invocation-rule-builder__icon-btn" data-irb-action-remove=""><svg viewBox="0 0 16 16" width="12" height="12" aria-hidden="true"><path d="M4 4l8 8M12 4l-8 8" stroke="currentColor" stroke-width="2" fill="none"></path></svg></button></div>`);
33972
+ var root_20 = $189.from_html(`<div class="cinder-invocation-rule-builder__actions" role="list"></div> <button type="button" class="cinder-invocation-rule-builder__add-btn" data-irb-add-action=""> </button>`, 1);
33973
+ var root_21 = $189.from_html(`<div><span class="cinder-invocation-rule-builder__section-heading">Actions</span> <!> <!></div>`);
33974
+ var root_2210 = $189.from_html(`<div class="cinder-invocation-rule-builder__rule"><!> <div><span class="cinder-invocation-rule-builder__section-heading">Conditions</span> <!> <!></div> <!></div>`);
33975
+ var root_2310 = $189.from_html(`<button type="button" class="cinder-invocation-rule-builder__add-btn cinder-invocation-rule-builder__add-rule-btn" data-irb-add-rule=""> </button>`);
33976
+ var root_2410 = $189.from_html(`<p class="cinder-invocation-rule-builder__empty">No rules configured.</p>`);
33977
+ var root_2510 = $189.from_html(`<section><!> <!> <!></section> <div role="status" aria-live="polite" aria-atomic="true" class="cinder-invocation-rule-builder__announcer"> </div>`, 1);
33763
33978
  function Invocation_rule_builder($$anchor, $$props) {
33764
33979
  const baseId = $189.props_id();
33765
33980
  $189.push($$props, true);
@@ -33849,7 +34064,7 @@ function Invocation_rule_builder($$anchor, $$props) {
33849
34064
  let ruleLabelDrafts = $189.state($189.proxy({}));
33850
34065
  function announce(message) {
33851
34066
  $189.set(announcement, "");
33852
- tick9().then(() => {
34067
+ tick10().then(() => {
33853
34068
  $189.set(announcement, message, true);
33854
34069
  });
33855
34070
  }
@@ -33879,7 +34094,7 @@ function Invocation_rule_builder($$anchor, $$props) {
33879
34094
  const change = { type: "remove-rule", ruleId };
33880
34095
  emitChange(nextRules, change);
33881
34096
  announce(`${ruleLabel} removed.`);
33882
- tick9().then(() => {
34097
+ tick10().then(() => {
33883
34098
  const targetIndex = ruleIndex > 0 ? ruleIndex - 1 : 0;
33884
34099
  const ruleElements = document.querySelectorAll(`[data-irb-region="${baseId}"] [data-irb-rule-remove]`);
33885
34100
  const targetButton = ruleElements[targetIndex] ?? document.querySelector(`[data-irb-region="${baseId}"] [data-irb-add-rule]`);
@@ -33941,7 +34156,7 @@ function Invocation_rule_builder($$anchor, $$props) {
33941
34156
  const change = { type: "remove-condition", ruleId, conditionId };
33942
34157
  emitChange(nextRules, change);
33943
34158
  announce("Condition removed.");
33944
- tick9().then(() => {
34159
+ tick10().then(() => {
33945
34160
  const ruleEl = document.querySelector(`[data-irb-region="${baseId}"] [data-irb-rule="${ruleIndex}"]`);
33946
34161
  const removeButtons = ruleEl?.querySelectorAll("[data-irb-condition-remove]");
33947
34162
  const addBtn = ruleEl?.querySelector("[data-irb-add-condition]");
@@ -33985,7 +34200,7 @@ function Invocation_rule_builder($$anchor, $$props) {
33985
34200
  const change = { type: "remove-action", ruleId, actionId };
33986
34201
  emitChange(nextRules, change);
33987
34202
  announce("Action removed.");
33988
- tick9().then(() => {
34203
+ tick10().then(() => {
33989
34204
  const ruleEl = document.querySelector(`[data-irb-region="${baseId}"] [data-irb-rule="${ruleIndex}"]`);
33990
34205
  const removeButtons = ruleEl?.querySelectorAll("[data-irb-action-remove]");
33991
34206
  const addBtn = ruleEl?.querySelector("[data-irb-add-action]");
@@ -34017,7 +34232,7 @@ function Invocation_rule_builder($$anchor, $$props) {
34017
34232
  function actionSummary(action) {
34018
34233
  return `Invoke ${actionTargetLabel(action.target)}`;
34019
34234
  }
34020
- var fragment = root_2410();
34235
+ var fragment = root_2510();
34021
34236
  var section = $189.first_child(fragment);
34022
34237
  $189.attribute_effect(section, ($0) => ({
34023
34238
  ...rest,
@@ -34031,11 +34246,11 @@ function Invocation_rule_builder($$anchor, $$props) {
34031
34246
  ]);
34032
34247
  var node = $189.child(section);
34033
34248
  $189.each(node, 19, () => $189.get(renderedRules), (rule) => rule.id, ($$anchor2, rule, ruleIndex) => {
34034
- var div = root_21();
34249
+ var div = root_2210();
34035
34250
  var node_1 = $189.child(div);
34036
34251
  {
34037
34252
  var consequent_2 = ($$anchor3) => {
34038
- var div_1 = root_357();
34253
+ var div_1 = root_358();
34039
34254
  var node_2 = $189.child(div_1);
34040
34255
  {
34041
34256
  var consequent = ($$anchor4) => {
@@ -34165,29 +34380,71 @@ function Invocation_rule_builder($$anchor, $$props) {
34165
34380
  $189.template_effect(() => $189.set_attribute(div_4, "aria-label", $189.get(flatConditions) ? "Conditions" : `Conditions for ${$189.get(rule).label}`));
34166
34381
  $189.append($$anchor3, div_4);
34167
34382
  };
34168
- var alternate_4 = ($$anchor3) => {
34169
- var fragment_2 = root_1510();
34383
+ var alternate_5 = ($$anchor3) => {
34384
+ var fragment_2 = root_165();
34170
34385
  var div_6 = $189.first_child(fragment_2);
34171
34386
  $189.each(div_6, 23, () => $189.get(rule).conditions, (condition) => condition.id, ($$anchor4, condition, conditionIndex) => {
34172
- var div_7 = root_1410();
34173
- var select = $189.child(div_7);
34174
- $189.each(select, 21, () => $$props.fieldOptions, (option) => option.value, ($$anchor5, option) => {
34175
- var option_1 = root_910();
34176
- var text_4 = $189.child(option_1, true);
34177
- $189.reset(option_1);
34178
- var option_1_value = {};
34179
- $189.template_effect(() => {
34180
- $189.set_text(text_4, $189.get(option).label);
34181
- if (option_1_value !== (option_1_value = $189.get(option).value)) {
34182
- option_1.value = (option_1.__value = $189.get(option).value) ?? "";
34387
+ var div_7 = root_1510();
34388
+ var node_8 = $189.child(div_7);
34389
+ {
34390
+ var consequent_6 = ($$anchor5) => {
34391
+ {
34392
+ let $0 = $189.derived(() => `${baseId}-rule-${$189.get(ruleIndex)}-condition-${$189.get(conditionIndex)}-field`);
34393
+ let $1 = $189.derived(() => `Field for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
34394
+ Combobox($$anchor5, {
34395
+ get id() {
34396
+ return $189.get($0);
34397
+ },
34398
+ get value() {
34399
+ return $189.get(condition).field;
34400
+ },
34401
+ get options() {
34402
+ return $$props.fieldOptions;
34403
+ },
34404
+ allowCustomValue: true,
34405
+ get "aria-label"() {
34406
+ return $189.get($1);
34407
+ },
34408
+ onchange: (value) => handleUpdateCondition($189.get(rule).id, $189.get(condition).id, "field", value),
34409
+ class: "cinder-invocation-rule-builder__condition-combobox"
34410
+ });
34183
34411
  }
34412
+ };
34413
+ var alternate_3 = ($$anchor5) => {
34414
+ var select = root_108();
34415
+ $189.each(select, 21, () => $$props.fieldOptions, (option) => option.value, ($$anchor6, option) => {
34416
+ var option_1 = root_910();
34417
+ var text_4 = $189.child(option_1, true);
34418
+ $189.reset(option_1);
34419
+ var option_1_value = {};
34420
+ $189.template_effect(() => {
34421
+ $189.set_text(text_4, $189.get(option).label);
34422
+ if (option_1_value !== (option_1_value = $189.get(option).value)) {
34423
+ option_1.value = (option_1.__value = $189.get(option).value) ?? "";
34424
+ }
34425
+ });
34426
+ $189.append($$anchor6, option_1);
34427
+ });
34428
+ $189.reset(select);
34429
+ var select_value;
34430
+ $189.init_select(select);
34431
+ $189.template_effect(() => {
34432
+ $189.set_attribute(select, "aria-label", `Field for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
34433
+ if (select_value !== (select_value = $189.get(condition).field)) {
34434
+ select.value = (select.__value = $189.get(condition).field) ?? "", $189.select_option(select, $189.get(condition).field);
34435
+ }
34436
+ });
34437
+ $189.delegated("change", select, (event15) => handleUpdateCondition($189.get(rule).id, $189.get(condition).id, "field", event15.target.value));
34438
+ $189.append($$anchor5, select);
34439
+ };
34440
+ $189.if(node_8, ($$render) => {
34441
+ if ($189.get(conditionsOnly))
34442
+ $$render(consequent_6);
34443
+ else
34444
+ $$render(alternate_3, -1);
34184
34445
  });
34185
- $189.append($$anchor5, option_1);
34186
- });
34187
- $189.reset(select);
34188
- var select_value;
34189
- $189.init_select(select);
34190
- var select_1 = $189.sibling(select, 2);
34446
+ }
34447
+ var select_1 = $189.sibling(node_8, 2);
34191
34448
  $189.each(select_1, 21, () => $189.get(resolvedOperatorOptions), (option) => option.value, ($$anchor5, option) => {
34192
34449
  var option_2 = root_910();
34193
34450
  var text_5 = $189.child(option_2, true);
@@ -34204,10 +34461,10 @@ function Invocation_rule_builder($$anchor, $$props) {
34204
34461
  $189.reset(select_1);
34205
34462
  var select_1_value;
34206
34463
  $189.init_select(select_1);
34207
- var node_8 = $189.sibling(select_1, 2);
34464
+ var node_9 = $189.sibling(select_1, 2);
34208
34465
  {
34209
- var consequent_6 = ($$anchor5) => {
34210
- var input_1 = root_108();
34466
+ var consequent_7 = ($$anchor5) => {
34467
+ var input_1 = root_1114();
34211
34468
  $189.remove_input_defaults(input_1);
34212
34469
  $189.template_effect(() => {
34213
34470
  $189.set_attribute(input_1, "aria-label", `Value for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
@@ -34217,8 +34474,8 @@ function Invocation_rule_builder($$anchor, $$props) {
34217
34474
  $189.append($$anchor5, input_1);
34218
34475
  };
34219
34476
  var d = $189.derived(() => $189.get(conditionsOnly) && fieldValueType($189.get(condition).field) === "number");
34220
- var consequent_7 = ($$anchor5) => {
34221
- var input_2 = root_1114();
34477
+ var consequent_8 = ($$anchor5) => {
34478
+ var input_2 = root_1213();
34222
34479
  $189.remove_input_defaults(input_2);
34223
34480
  $189.template_effect(() => {
34224
34481
  $189.set_attribute(input_2, "aria-label", `Value for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
@@ -34228,8 +34485,8 @@ function Invocation_rule_builder($$anchor, $$props) {
34228
34485
  $189.append($$anchor5, input_2);
34229
34486
  };
34230
34487
  var d_1 = $189.derived(() => $189.get(conditionsOnly) && fieldValueType($189.get(condition).field) === "boolean");
34231
- var consequent_8 = ($$anchor5) => {
34232
- var select_2 = root_1213();
34488
+ var consequent_9 = ($$anchor5) => {
34489
+ var select_2 = root_1310();
34233
34490
  $189.each(select_2, 21, () => fieldEnumOptions($189.get(condition).field), (option) => option.value, ($$anchor6, option) => {
34234
34491
  var option_3 = root_910();
34235
34492
  var text_6 = $189.child(option_3, true);
@@ -34256,8 +34513,8 @@ function Invocation_rule_builder($$anchor, $$props) {
34256
34513
  $189.append($$anchor5, select_2);
34257
34514
  };
34258
34515
  var d_2 = $189.derived(() => $189.get(conditionsOnly) && fieldValueType($189.get(condition).field) === "enum");
34259
- var alternate_3 = ($$anchor5) => {
34260
- var input_3 = root_1310();
34516
+ var alternate_4 = ($$anchor5) => {
34517
+ var input_3 = root_1410();
34261
34518
  $189.remove_input_defaults(input_3);
34262
34519
  $189.template_effect(() => {
34263
34520
  $189.set_attribute(input_3, "aria-label", `Value for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
@@ -34266,31 +34523,26 @@ function Invocation_rule_builder($$anchor, $$props) {
34266
34523
  $189.delegated("input", input_3, (event15) => handleUpdateCondition($189.get(rule).id, $189.get(condition).id, "value", event15.target.value));
34267
34524
  $189.append($$anchor5, input_3);
34268
34525
  };
34269
- $189.if(node_8, ($$render) => {
34526
+ $189.if(node_9, ($$render) => {
34270
34527
  if ($189.get(d))
34271
- $$render(consequent_6);
34528
+ $$render(consequent_7);
34272
34529
  else if ($189.get(d_1))
34273
- $$render(consequent_7, 1);
34530
+ $$render(consequent_8, 1);
34274
34531
  else if ($189.get(d_2))
34275
- $$render(consequent_8, 2);
34532
+ $$render(consequent_9, 2);
34276
34533
  else
34277
- $$render(alternate_3, -1);
34534
+ $$render(alternate_4, -1);
34278
34535
  });
34279
34536
  }
34280
- var button_3 = $189.sibling(node_8, 2);
34537
+ var button_3 = $189.sibling(node_9, 2);
34281
34538
  $189.reset(div_7);
34282
34539
  $189.template_effect(($0) => {
34283
- $189.set_attribute(select, "aria-label", `Field for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
34284
- if (select_value !== (select_value = $189.get(condition).field)) {
34285
- select.value = (select.__value = $189.get(condition).field) ?? "", $189.select_option(select, $189.get(condition).field);
34286
- }
34287
34540
  $189.set_attribute(select_1, "aria-label", `Operator for condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
34288
34541
  if (select_1_value !== (select_1_value = $0)) {
34289
34542
  select_1.value = (select_1.__value = $0) ?? "", $189.select_option(select_1, $0);
34290
34543
  }
34291
34544
  $189.set_attribute(button_3, "aria-label", `Remove condition ${$189.get(conditionIndex) + 1} of ${$189.get(rule).label}`);
34292
34545
  }, [() => displayOperator($189.get(condition).operator)]);
34293
- $189.delegated("change", select, (event15) => handleUpdateCondition($189.get(rule).id, $189.get(condition).id, "field", event15.target.value));
34294
34546
  $189.delegated("change", select_1, (event15) => handleUpdateCondition($189.get(rule).id, $189.get(condition).id, "operator", event15.target.value));
34295
34547
  $189.delegated("click", button_3, () => handleRemoveCondition($189.get(rule).id, $189.get(condition).id, $189.get(conditionIndex), $189.get(ruleIndex)));
34296
34548
  $189.append($$anchor4, div_7);
@@ -34311,64 +34563,64 @@ function Invocation_rule_builder($$anchor, $$props) {
34311
34563
  if ($189.get(effectiveReadonly))
34312
34564
  $$render(consequent_5);
34313
34565
  else
34314
- $$render(alternate_4, -1);
34566
+ $$render(alternate_5, -1);
34315
34567
  });
34316
34568
  }
34317
34569
  $189.reset(div_3);
34318
- var node_9 = $189.sibling(div_3, 2);
34570
+ var node_10 = $189.sibling(div_3, 2);
34319
34571
  {
34320
- var consequent_12 = ($$anchor3) => {
34321
- var div_8 = root_20();
34572
+ var consequent_13 = ($$anchor3) => {
34573
+ var div_8 = root_21();
34322
34574
  var span_1 = $189.child(div_8);
34323
- var node_10 = $189.sibling(span_1, 2);
34575
+ var node_11 = $189.sibling(span_1, 2);
34324
34576
  {
34325
- var consequent_9 = ($$anchor4) => {
34326
- var p_2 = root_165();
34577
+ var consequent_10 = ($$anchor4) => {
34578
+ var p_2 = root_175();
34327
34579
  $189.append($$anchor4, p_2);
34328
34580
  };
34329
- $189.if(node_10, ($$render) => {
34581
+ $189.if(node_11, ($$render) => {
34330
34582
  if (!$189.get(effectiveReadonly) && $189.get(rule).actions.length === 0)
34331
- $$render(consequent_9);
34583
+ $$render(consequent_10);
34332
34584
  });
34333
34585
  }
34334
- var node_11 = $189.sibling(node_10, 2);
34586
+ var node_12 = $189.sibling(node_11, 2);
34335
34587
  {
34336
- var consequent_11 = ($$anchor4) => {
34588
+ var consequent_12 = ($$anchor4) => {
34337
34589
  var div_9 = root_813();
34338
- var node_12 = $189.child(div_9);
34590
+ var node_13 = $189.child(div_9);
34339
34591
  {
34340
- var consequent_10 = ($$anchor5) => {
34341
- var p_3 = root_175();
34592
+ var consequent_11 = ($$anchor5) => {
34593
+ var p_3 = root_184();
34342
34594
  $189.append($$anchor5, p_3);
34343
34595
  };
34344
- var alternate_5 = ($$anchor5) => {
34345
- var fragment_3 = $189.comment();
34346
- var node_13 = $189.first_child(fragment_3);
34347
- $189.each(node_13, 17, () => $189.get(rule).actions, (action) => action.id, ($$anchor6, action) => {
34596
+ var alternate_6 = ($$anchor5) => {
34597
+ var fragment_4 = $189.comment();
34598
+ var node_14 = $189.first_child(fragment_4);
34599
+ $189.each(node_14, 17, () => $189.get(rule).actions, (action) => action.id, ($$anchor6, action) => {
34348
34600
  var div_10 = root_715();
34349
34601
  var text_8 = $189.child(div_10, true);
34350
34602
  $189.reset(div_10);
34351
34603
  $189.template_effect(($0) => $189.set_text(text_8, $0), [() => actionSummary($189.get(action))]);
34352
34604
  $189.append($$anchor6, div_10);
34353
34605
  });
34354
- $189.append($$anchor5, fragment_3);
34606
+ $189.append($$anchor5, fragment_4);
34355
34607
  };
34356
- $189.if(node_12, ($$render) => {
34608
+ $189.if(node_13, ($$render) => {
34357
34609
  if ($189.get(rule).actions.length === 0)
34358
- $$render(consequent_10);
34610
+ $$render(consequent_11);
34359
34611
  else
34360
- $$render(alternate_5, -1);
34612
+ $$render(alternate_6, -1);
34361
34613
  });
34362
34614
  }
34363
34615
  $189.reset(div_9);
34364
34616
  $189.template_effect(() => $189.set_attribute(div_9, "aria-label", `Actions for ${$189.get(rule).label}`));
34365
34617
  $189.append($$anchor4, div_9);
34366
34618
  };
34367
- var alternate_6 = ($$anchor4) => {
34368
- var fragment_4 = root_194();
34369
- var div_11 = $189.first_child(fragment_4);
34619
+ var alternate_7 = ($$anchor4) => {
34620
+ var fragment_5 = root_20();
34621
+ var div_11 = $189.first_child(fragment_5);
34370
34622
  $189.each(div_11, 23, () => $189.get(rule).actions, (action) => action.id, ($$anchor5, action, actionIndex) => {
34371
- var div_12 = root_184();
34623
+ var div_12 = root_194();
34372
34624
  var select_3 = $189.child(div_12);
34373
34625
  $189.each(select_3, 21, () => $189.get(resolvedActionOptions), (option) => option.value, ($$anchor6, option) => {
34374
34626
  var option_4 = root_910();
@@ -34409,22 +34661,22 @@ function Invocation_rule_builder($$anchor, $$props) {
34409
34661
  $189.set_text(text_10, `+ ${addActionLabel() ?? ""}`);
34410
34662
  });
34411
34663
  $189.delegated("click", button_6, () => handleAddAction($189.get(rule).id));
34412
- $189.append($$anchor4, fragment_4);
34664
+ $189.append($$anchor4, fragment_5);
34413
34665
  };
34414
- $189.if(node_11, ($$render) => {
34666
+ $189.if(node_12, ($$render) => {
34415
34667
  if ($189.get(effectiveReadonly))
34416
- $$render(consequent_11);
34668
+ $$render(consequent_12);
34417
34669
  else
34418
- $$render(alternate_6, -1);
34670
+ $$render(alternate_7, -1);
34419
34671
  });
34420
34672
  }
34421
34673
  $189.reset(div_8);
34422
34674
  $189.template_effect(() => $189.set_attribute(span_1, "id", `${baseId}-rule-${$189.get(ruleIndex)}-actions-label`));
34423
34675
  $189.append($$anchor3, div_8);
34424
34676
  };
34425
- $189.if(node_9, ($$render) => {
34677
+ $189.if(node_10, ($$render) => {
34426
34678
  if (mode() === "full")
34427
- $$render(consequent_12);
34679
+ $$render(consequent_13);
34428
34680
  });
34429
34681
  }
34430
34682
  $189.reset(div);
@@ -34434,30 +34686,30 @@ function Invocation_rule_builder($$anchor, $$props) {
34434
34686
  });
34435
34687
  $189.append($$anchor2, div);
34436
34688
  });
34437
- var node_14 = $189.sibling(node, 2);
34689
+ var node_15 = $189.sibling(node, 2);
34438
34690
  {
34439
- var consequent_13 = ($$anchor2) => {
34440
- var button_7 = root_2210();
34691
+ var consequent_14 = ($$anchor2) => {
34692
+ var button_7 = root_2310();
34441
34693
  var text_11 = $189.child(button_7);
34442
34694
  $189.reset(button_7);
34443
34695
  $189.template_effect(() => $189.set_text(text_11, `+ ${addRuleLabel() ?? ""}`));
34444
34696
  $189.delegated("click", button_7, handleAddRule);
34445
34697
  $189.append($$anchor2, button_7);
34446
34698
  };
34447
- $189.if(node_14, ($$render) => {
34699
+ $189.if(node_15, ($$render) => {
34448
34700
  if (!$189.get(effectiveReadonly) && !$189.get(flatConditions))
34449
- $$render(consequent_13);
34701
+ $$render(consequent_14);
34450
34702
  });
34451
34703
  }
34452
- var node_15 = $189.sibling(node_14, 2);
34704
+ var node_16 = $189.sibling(node_15, 2);
34453
34705
  {
34454
- var consequent_14 = ($$anchor2) => {
34455
- var p_4 = root_2310();
34706
+ var consequent_15 = ($$anchor2) => {
34707
+ var p_4 = root_2410();
34456
34708
  $189.append($$anchor2, p_4);
34457
34709
  };
34458
- $189.if(node_15, ($$render) => {
34710
+ $189.if(node_16, ($$render) => {
34459
34711
  if ($189.get(renderedRules).length === 0 && $189.get(effectiveReadonly))
34460
- $$render(consequent_14);
34712
+ $$render(consequent_15);
34461
34713
  });
34462
34714
  }
34463
34715
  $189.reset(section);
@@ -34509,7 +34761,7 @@ var rest_excludes83 = new Set([
34509
34761
  var root113 = $190.from_html(`<div class="cinder-capability-gate__content"><!></div>`);
34510
34762
  var root_1115 = $190.from_html(`<button type="button" class="cinder-capability-gate__primary"> </button>`);
34511
34763
  var root_269 = $190.from_html(`<a class="cinder-capability-gate__fallback"> </a>`);
34512
- var root_358 = $190.from_html(`<button type="button" class="cinder-capability-gate__fallback"> </button>`);
34764
+ var root_359 = $190.from_html(`<button type="button" class="cinder-capability-gate__fallback"> </button>`);
34513
34765
  var root_438 = $190.from_html(`<button type="button" class="cinder-capability-gate__dismiss"> </button>`);
34514
34766
  var root_529 = $190.from_html(`<div class="cinder-capability-gate__actions"><!> <!> <!></div>`);
34515
34767
  var root_618 = $190.from_html(`<div><div class="cinder-capability-gate__status" role="status" aria-live="polite"><span class="cinder-capability-gate__feature"> </span> <span class="cinder-capability-gate__state-text"> </span></div> <!> <!></div>`);
@@ -34620,7 +34872,7 @@ function Capability_gate($$anchor, $$props) {
34620
34872
  $190.append($$anchor4, a);
34621
34873
  };
34622
34874
  var consequent_3 = ($$anchor4) => {
34623
- var button_1 = root_358();
34875
+ var button_1 = root_359();
34624
34876
  var text_4 = $190.child(button_1, true);
34625
34877
  $190.reset(button_1);
34626
34878
  $190.template_effect(() => {
@@ -35400,7 +35652,7 @@ function findNextVisibleColumn(columns, fromColumnIndex, direction) {
35400
35652
  var root115 = $193.from_html(`<button type="button" class="cinder-kanban-board__column-handle"><svg viewBox="0 0 16 16" width="16" height="16" aria-hidden="true"><path d="M2 4h12v1.5H2zM2 7.25h12v1.5H2zM2 10.5h12v1.5H2z"></path></svg></button>`);
35401
35653
  var root_1118 = $193.from_html(`<div class="cinder-kanban-board__column-actions"><!></div>`);
35402
35654
  var root_270 = $193.from_html(`<button type="button" class="cinder-kanban-board__collapse"> </button>`);
35403
- var root_359 = $193.from_html(`<li class="cinder-kanban-board__card cinder-kanban-board__drop-placeholder cinder-sortable-item--placeholder" role="presentation" aria-hidden="true"></li>`);
35655
+ var root_360 = $193.from_html(`<li class="cinder-kanban-board__card cinder-kanban-board__drop-placeholder cinder-sortable-item--placeholder" role="presentation" aria-hidden="true"></li>`);
35404
35656
  var root_439 = $193.from_html(`<div class="cinder-kanban-board__card-content"><!></div>`);
35405
35657
  var root_530 = $193.from_html(`<!> <!>`, 1);
35406
35658
  var root_619 = $193.from_html(`<li class="cinder-kanban-board__empty"><!></li>`);
@@ -35889,7 +36141,7 @@ function Kanban_board($$anchor, $$props) {
35889
36141
  var node_8 = $193.first_child(fragment_3);
35890
36142
  {
35891
36143
  var consequent_4 = ($$anchor5) => {
35892
- var li = root_359();
36144
+ var li = root_360();
35893
36145
  $193.template_effect(() => $193.set_style(li, $193.get(crossColumnPlaceholderStyle)));
35894
36146
  $193.append($$anchor5, li);
35895
36147
  };
@@ -35942,7 +36194,7 @@ function Kanban_board($$anchor, $$props) {
35942
36194
  var node_11 = $193.sibling(node_7, 2);
35943
36195
  {
35944
36196
  var consequent_5 = ($$anchor4) => {
35945
- var li_1 = root_359();
36197
+ var li_1 = root_360();
35946
36198
  $193.template_effect(() => $193.set_style(li_1, $193.get(crossColumnPlaceholderStyle)));
35947
36199
  $193.append($$anchor4, li_1);
35948
36200
  };
@@ -36091,7 +36343,7 @@ var rest_excludes85 = new Set([
36091
36343
  var root117 = $195.from_html(`<h2 class="cinder-keyboard-shortcuts__heading"> </h2>`);
36092
36344
  var root_1119 = $195.from_html(`<div class="cinder-keyboard-shortcuts__intro"><!></div>`);
36093
36345
  var root_271 = $195.from_html(`<span class="cinder-keyboard-shortcuts__separator">+</span>`);
36094
- var root_360 = $195.from_html(`<!> <!>`, 1);
36346
+ var root_361 = $195.from_html(`<!> <!>`, 1);
36095
36347
  var root_440 = $195.from_html(`<div class="cinder-keyboard-shortcuts__row"><dt class="cinder-keyboard-shortcuts__action"> </dt> <dd class="cinder-keyboard-shortcuts__keys"><span class="cinder-sr-only"> </span> <span aria-hidden="true" class="cinder-keyboard-shortcuts__keys-visual"></span></dd></div>`);
36096
36348
  var root_531 = $195.from_html(`<section class="cinder-keyboard-shortcuts__group"><h3 class="cinder-keyboard-shortcuts__group-label"> </h3> <dl class="cinder-keyboard-shortcuts__list"></dl></section>`);
36097
36349
  var root_620 = $195.from_html(`<div><!> <!> <!></div>`);
@@ -36153,7 +36405,7 @@ function Keyboard_shortcuts($$anchor, $$props) {
36153
36405
  $195.reset(span);
36154
36406
  var span_1 = $195.sibling(span, 2);
36155
36407
  $195.each(span_1, 23, () => $195.get(shortcut).keys, (key, index5) => key + index5, ($$anchor4, key, index5) => {
36156
- var fragment = root_360();
36408
+ var fragment = root_361();
36157
36409
  var node_4 = $195.first_child(fragment);
36158
36410
  Kbd(node_4, {
36159
36411
  get label() {
@@ -36385,7 +36637,7 @@ var rest_excludes88 = new Set([
36385
36637
  var root120 = $198.from_html(`<p class="cinder-line-chart__description"> </p>`);
36386
36638
  var root_1122 = $198.from_html(`<button type="button"><span></span> </button>`);
36387
36639
  var root_272 = $198.from_html(`<div class="cinder-line-chart__legend" aria-label="Series"></div>`);
36388
- var root_361 = $198.from_html(`<div class="cinder-line-chart__state"><!></div>`);
36640
+ var root_362 = $198.from_html(`<div class="cinder-line-chart__state"><!></div>`);
36389
36641
  var root_441 = $198.from_svg(`<title> </title>`);
36390
36642
  var root_532 = $198.from_svg(`<line class="cinder-line-chart__gridline" x1="0" aria-hidden="true"></line><text class="cinder-line-chart__tick-label" x="-8" text-anchor="end" dominant-baseline="middle"> </text>`, 1);
36391
36643
  var root_621 = $198.from_svg(`<text class="cinder-line-chart__tick-label" text-anchor="middle"> </text>`);
@@ -36534,7 +36786,7 @@ function Line_chart($$anchor, $$props) {
36534
36786
  var node_2 = $198.child(div_1);
36535
36787
  {
36536
36788
  var consequent_3 = ($$anchor2) => {
36537
- var div_2 = root_361();
36789
+ var div_2 = root_362();
36538
36790
  var node_3 = $198.child(div_2);
36539
36791
  {
36540
36792
  var consequent_2 = ($$anchor3) => {
@@ -36558,7 +36810,7 @@ function Line_chart($$anchor, $$props) {
36558
36810
  $198.append($$anchor2, div_2);
36559
36811
  };
36560
36812
  var consequent_5 = ($$anchor2) => {
36561
- var div_3 = root_361();
36813
+ var div_3 = root_362();
36562
36814
  var node_5 = $198.child(div_3);
36563
36815
  {
36564
36816
  var consequent_4 = ($$anchor3) => {
@@ -36608,8 +36860,8 @@ function Line_chart($$anchor, $$props) {
36608
36860
  }
36609
36861
  var g = $198.sibling(node_7);
36610
36862
  var node_8 = $198.child(g);
36611
- $198.each(node_8, 18, () => $198.get(model).yTicks, (tick10) => tick10, ($$anchor2, tick10, index5) => {
36612
- const tickY = $198.derived(() => $198.get(model).geometry.plotHeight - (tick10 - $198.get(model).yDomain[0]) / ($198.get(model).yDomain[1] - $198.get(model).yDomain[0]) * $198.get(model).geometry.plotHeight);
36863
+ $198.each(node_8, 18, () => $198.get(model).yTicks, (tick11) => tick11, ($$anchor2, tick11, index5) => {
36864
+ const tickY = $198.derived(() => $198.get(model).geometry.plotHeight - (tick11 - $198.get(model).yDomain[0]) / ($198.get(model).yDomain[1] - $198.get(model).yDomain[0]) * $198.get(model).geometry.plotHeight);
36613
36865
  var fragment_2 = root_532();
36614
36866
  var line = $198.first_child(fragment_2);
36615
36867
  var text_5 = $198.sibling(line);
@@ -36622,19 +36874,19 @@ function Line_chart($$anchor, $$props) {
36622
36874
  $198.set_attribute(text_5, "y", $198.get(tickY));
36623
36875
  $198.set_text(text_6, $0);
36624
36876
  }, [
36625
- () => formatNumericValue(tick10, $$props.yAxis, undefined, { index: $198.get(index5) })
36877
+ () => formatNumericValue(tick11, $$props.yAxis, undefined, { index: $198.get(index5) })
36626
36878
  ]);
36627
36879
  $198.append($$anchor2, fragment_2);
36628
36880
  });
36629
36881
  var node_9 = $198.sibling(node_8);
36630
- $198.each(node_9, 17, () => $198.get(model).xTicks, (tick10) => tick10.label, ($$anchor2, tick10) => {
36882
+ $198.each(node_9, 17, () => $198.get(model).xTicks, (tick11) => tick11.label, ($$anchor2, tick11) => {
36631
36883
  var text_7 = root_621();
36632
36884
  var text_8 = $198.child(text_7, true);
36633
36885
  $198.reset(text_7);
36634
36886
  $198.template_effect(() => {
36635
- $198.set_attribute(text_7, "x", $198.get(tick10).x);
36887
+ $198.set_attribute(text_7, "x", $198.get(tick11).x);
36636
36888
  $198.set_attribute(text_7, "y", $198.get(model).geometry.plotHeight + 20);
36637
- $198.set_text(text_8, $198.get(tick10).label);
36889
+ $198.set_text(text_8, $198.get(tick11).label);
36638
36890
  });
36639
36891
  $198.append($$anchor2, text_7);
36640
36892
  });
@@ -37001,7 +37253,7 @@ var rest_excludes89 = new Set([
37001
37253
  var root121 = $200.from_html(`<p class="cinder-logo-cloud__description"> </p>`);
37002
37254
  var root_1123 = $200.from_html(`<header class="cinder-logo-cloud__header"><h2 class="cinder-logo-cloud__title"> </h2> <!></header>`);
37003
37255
  var root_273 = $200.from_html(`<a class="cinder-logo-cloud__link"><img class="cinder-logo-cloud__image" loading="lazy"/></a>`);
37004
- var root_362 = $200.from_html(`<img class="cinder-logo-cloud__image" loading="lazy"/>`);
37256
+ var root_363 = $200.from_html(`<img class="cinder-logo-cloud__image" loading="lazy"/>`);
37005
37257
  var root_442 = $200.from_html(`<li class="cinder-logo-cloud__item"><!></li>`);
37006
37258
  var root_533 = $200.from_html(`<div class="cinder-logo-cloud__inner"><!> <ul class="cinder-logo-cloud__list"></ul></div>`);
37007
37259
  function Logo_cloud($$anchor, $$props) {
@@ -37072,7 +37324,7 @@ function Logo_cloud($$anchor, $$props) {
37072
37324
  $200.append($$anchor5, a);
37073
37325
  };
37074
37326
  var alternate = ($$anchor5) => {
37075
- var img_1 = root_362();
37327
+ var img_1 = root_363();
37076
37328
  $200.template_effect(() => {
37077
37329
  $200.set_attribute(img_1, "src", $200.get(logo).src);
37078
37330
  $200.set_attribute(img_1, "alt", $200.get(logo).name);
@@ -37154,7 +37406,7 @@ function useIntersection(onIntersect, options = {}) {
37154
37406
  // src/components/load-more/load-more.svelte
37155
37407
  var root_1124 = $202.from_html(`<div aria-hidden="true" class="cinder-load-more__sentinel"></div>`);
37156
37408
  var root_274 = $202.from_html(`<span class="cinder-load-more__spinner" aria-hidden="true"></span>`);
37157
- var root_363 = $202.from_html(`<button type="button" class="cinder-load-more__button"><span> </span> <!></button>`);
37409
+ var root_364 = $202.from_html(`<button type="button" class="cinder-load-more__button"><span> </span> <!></button>`);
37158
37410
  var root_443 = $202.from_html(`<div><!> <!> <!></div>`);
37159
37411
  function Load_more($$anchor, $$props) {
37160
37412
  $202.push($$props, true);
@@ -37226,7 +37478,7 @@ function Load_more($$anchor, $$props) {
37226
37478
  var node_1 = $202.sibling(node, 2);
37227
37479
  {
37228
37480
  var consequent_2 = ($$anchor2) => {
37229
- var button = root_363();
37481
+ var button = root_364();
37230
37482
  var span = $202.child(button);
37231
37483
  var text33 = $202.child(span, true);
37232
37484
  $202.reset(span);
@@ -37520,7 +37772,7 @@ var rest_excludes91 = new Set([
37520
37772
  var root122 = $204.from_html(`<span class="cinder-media-controls__label">Loading</span>`);
37521
37773
  var root_1126 = $204.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-media-controls__svg cinder-media-controls__svg--loading"><path d="M21 12a9 9 0 1 1-6.219-8.56"></path></svg></span> <!>`, 1);
37522
37774
  var root_275 = $204.from_html(`<span class="cinder-media-controls__label">Unavailable</span>`);
37523
- var root_364 = $204.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-media-controls__svg"><circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line></svg></span> <!>`, 1);
37775
+ var root_365 = $204.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-media-controls__svg"><circle cx="12" cy="12" r="10"></circle><line x1="4.93" y1="4.93" x2="19.07" y2="19.07"></line></svg></span> <!>`, 1);
37524
37776
  var root_444 = $204.from_html(`<span class="cinder-media-controls__label">Replay</span>`);
37525
37777
  var root_534 = $204.from_html(`<span class="cinder-media-controls__icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-media-controls__svg"><path d="M3 12a9 9 0 1 0 9-9 9.75 9.75 0 0 0-6.74 2.74L3 8"></path><path d="M3 3v5h5"></path></svg></span> <!>`, 1);
37526
37778
  var root_622 = $204.from_html(`<span class="cinder-media-controls__label">Pause</span>`);
@@ -37597,7 +37849,7 @@ function Media_controls($$anchor, $$props) {
37597
37849
  $204.append($$anchor2, fragment_1);
37598
37850
  };
37599
37851
  var consequent_3 = ($$anchor2) => {
37600
- var fragment_2 = root_364();
37852
+ var fragment_2 = root_365();
37601
37853
  var node_2 = $204.sibling($204.first_child(fragment_2), 2);
37602
37854
  {
37603
37855
  var consequent_2 = ($$anchor3) => {
@@ -37723,7 +37975,7 @@ import"@lostgradient/cinder/mega-menu/styles";
37723
37975
  // src/components/mega-menu/mega-menu.svelte
37724
37976
  import"svelte/internal/disclose-version";
37725
37977
  import * as $205 from "svelte/internal/client";
37726
- import { tick as tick10 } from "svelte";
37978
+ import { tick as tick11 } from "svelte";
37727
37979
  var rest_excludes92 = new Set([
37728
37980
  "$$slots",
37729
37981
  "$$events",
@@ -37739,7 +37991,7 @@ var rest_excludes92 = new Set([
37739
37991
  var root123 = $205.from_html(`<li><button type="button" class="cinder-mega-menu__trigger"> </button></li>`);
37740
37992
  var root_1128 = $205.from_html(`<div class="cinder-mega-menu__indicator-track" aria-hidden="true"><div class="cinder-mega-menu__indicator"></div></div>`);
37741
37993
  var root_276 = $205.from_html(`<h3 class="cinder-mega-menu__section-title"> </h3>`);
37742
- var root_365 = $205.from_html(`<span class="cinder-mega-menu__link-description"> </span>`);
37994
+ var root_366 = $205.from_html(`<span class="cinder-mega-menu__link-description"> </span>`);
37743
37995
  var root_445 = $205.from_html(`<li><a class="cinder-mega-menu__link"><span> </span> <!></a></li>`);
37744
37996
  var root_535 = $205.from_html(`<section><!> <ul class="cinder-mega-menu__links"></ul></section>`);
37745
37997
  var root_623 = $205.from_html(`<li><button type="button" class="cinder-mega-menu__submenu-trigger"> </button></li>`);
@@ -37828,7 +38080,7 @@ function Mega_menu($$anchor, $$props) {
37828
38080
  $205.set(openSubmenuId, null);
37829
38081
  $205.set(previousOpenIndex, null);
37830
38082
  if (shouldRestoreFocus && currentItemId) {
37831
- tick10().then(() => {
38083
+ tick11().then(() => {
37832
38084
  document.getElementById(triggerId(currentItemId))?.focus();
37833
38085
  });
37834
38086
  }
@@ -37867,7 +38119,7 @@ function Mega_menu($$anchor, $$props) {
37867
38119
  async function focusPanelContent(itemId) {
37868
38120
  if (typeof document === "undefined")
37869
38121
  return;
37870
- await tick10();
38122
+ await tick11();
37871
38123
  const panel = document.getElementById(contentId(itemId));
37872
38124
  if (!(panel instanceof HTMLElement))
37873
38125
  return;
@@ -38059,7 +38311,7 @@ function Mega_menu($$anchor, $$props) {
38059
38311
  var node_3 = $205.sibling(span, 2);
38060
38312
  {
38061
38313
  var consequent_2 = ($$anchor5) => {
38062
- var span_1 = root_365();
38314
+ var span_1 = root_366();
38063
38315
  var text_3 = $205.child(span_1, true);
38064
38316
  $205.reset(span_1);
38065
38317
  $205.template_effect(() => $205.set_text(text_3, $205.get(link).description));
@@ -38133,7 +38385,7 @@ function Mega_menu($$anchor, $$props) {
38133
38385
  var node_7 = $205.sibling(span_2, 2);
38134
38386
  {
38135
38387
  var consequent_4 = ($$anchor7) => {
38136
- var span_3 = root_365();
38388
+ var span_3 = root_366();
38137
38389
  var text_7 = $205.child(span_3, true);
38138
38390
  $205.reset(span_3);
38139
38391
  $205.template_effect(() => $205.set_text(text_7, $205.get(link).description));
@@ -38207,7 +38459,7 @@ import"@lostgradient/cinder/menu-bar/styles";
38207
38459
  // src/components/menu-bar/menu-bar.svelte
38208
38460
  import"svelte/internal/disclose-version";
38209
38461
  import * as $207 from "svelte/internal/client";
38210
- import { tick as tick11 } from "svelte";
38462
+ import { tick as tick12 } from "svelte";
38211
38463
 
38212
38464
  // src/components/menu-bar/menu-bar-dropdown-context.svelte
38213
38465
  import"svelte/internal/disclose-version";
@@ -38246,7 +38498,7 @@ var rest_excludes93 = new Set([
38246
38498
  var root124 = $207.from_html(` <span class="cinder-menu-bar__access-key"> </span> `, 1);
38247
38499
  var root_1130 = $207.from_html(`<span class="cinder-menu-bar__shortcut" aria-hidden="true"> </span>`);
38248
38500
  var root_277 = $207.from_html(`<span class="cinder-menu-bar__item-label"> </span> <!>`, 1);
38249
- var root_366 = $207.from_html(`<span class="cinder-menu-bar__item-label"> </span> <span class="cinder-menu-bar__submenu-indicator" aria-hidden="true">&gt;</span>`, 1);
38501
+ var root_367 = $207.from_html(`<span class="cinder-menu-bar__item-label"> </span> <span class="cinder-menu-bar__submenu-indicator" aria-hidden="true">&gt;</span>`, 1);
38250
38502
  var root_446 = $207.from_html(`<div class="cinder-menu-bar__submenu" role="presentation"><!> <!></div>`);
38251
38503
  var root_536 = $207.from_html(`<div class="cinder-menu-bar__dropdown-scroll" role="presentation"></div>`);
38252
38504
  var root_624 = $207.from_html(`<div class="cinder-menu-bar__menu"><button type="button" class="cinder-menu-bar__trigger" role="menuitem" aria-haspopup="menu"><!></button> <!></div>`);
@@ -38334,7 +38586,7 @@ function Menu_bar($$anchor, $$props) {
38334
38586
  function focusSubmenuTriggerAfterClose(id) {
38335
38587
  suppressSubmenuFocusOpen = true;
38336
38588
  focusElement(id);
38337
- tick11().then(() => {
38589
+ tick12().then(() => {
38338
38590
  suppressSubmenuFocusOpen = false;
38339
38591
  });
38340
38592
  }
@@ -38385,7 +38637,7 @@ function Menu_bar($$anchor, $$props) {
38385
38637
  }
38386
38638
  function closeMenuAndFocusTrigger(index5) {
38387
38639
  closeAll();
38388
- tick11().then(() => focusTopLevelTrigger(index5));
38640
+ tick12().then(() => focusTopLevelTrigger(index5));
38389
38641
  }
38390
38642
  function labelParts(menu) {
38391
38643
  if (!menu.accessKey)
@@ -38686,7 +38938,7 @@ function Menu_bar($$anchor, $$props) {
38686
38938
  function handleDocumentFocusin(event20) {
38687
38939
  if (!$207.get(rootElement) || !(event20.target instanceof Node))
38688
38940
  return;
38689
- tick11().then(() => {
38941
+ tick12().then(() => {
38690
38942
  if (document.activeElement && $207.get(rootElement)?.contains(document.activeElement))
38691
38943
  return;
38692
38944
  if (document.activeElement && isInsideOpenMenu(document.activeElement))
@@ -38890,7 +39142,7 @@ function Menu_bar($$anchor, $$props) {
38890
39142
  }
38891
39143
  },
38892
39144
  children: ($$anchor7, $$slotProps3) => {
38893
- var fragment_6 = root_366();
39145
+ var fragment_6 = root_367();
38894
39146
  var span_3 = $207.first_child(fragment_6);
38895
39147
  var text_6 = $207.child(span_3, true);
38896
39148
  $207.reset(span_3);
@@ -39448,7 +39700,7 @@ var rest_excludes95 = new Set([
39448
39700
  var root127 = $210.from_html(`<p class="cinder-matrix-chart__description"> </p>`);
39449
39701
  var root_1133 = $210.from_html(`<div class="cinder-matrix-chart__state"><!></div>`);
39450
39702
  var root_279 = $210.from_svg(`<title> </title>`);
39451
- var root_367 = $210.from_svg(`<text class="cinder-matrix-chart__tick-label" text-anchor="middle" dominant-baseline="auto"> </text>`);
39703
+ var root_368 = $210.from_svg(`<text class="cinder-matrix-chart__tick-label" text-anchor="middle" dominant-baseline="auto"> </text>`);
39452
39704
  var root_447 = $210.from_svg(`<text class="cinder-matrix-chart__tick-label" text-anchor="end" dominant-baseline="middle"> </text>`);
39453
39705
  var root_537 = $210.from_svg(`<text class="cinder-matrix-chart__cell-label" text-anchor="middle" dominant-baseline="middle" aria-hidden="true"> </text>`);
39454
39706
  var root_625 = $210.from_svg(`<g><rect class="cinder-matrix-chart__cell" aria-hidden="true"><title> </title></rect><!></g>`);
@@ -39686,7 +39938,7 @@ function Matrix_chart($$anchor, $$props) {
39686
39938
  $210.set_attribute(g, "transform", `translate(${marginLeft}, ${marginTop})`);
39687
39939
  var node_8 = $210.child(g);
39688
39940
  $210.each(node_8, 18, () => $210.get(xLabels), (xLabel) => xLabel, ($$anchor3, xLabel, index5) => {
39689
- var text_4 = root_367();
39941
+ var text_4 = root_368();
39690
39942
  $210.set_attribute(text_4, "y", -8);
39691
39943
  var text_5 = $210.child(text_4, true);
39692
39944
  $210.reset(text_4);
@@ -39888,11 +40140,11 @@ import"@lostgradient/cinder/multi-select/styles";
39888
40140
  // src/components/multi-select/multi-select.svelte
39889
40141
  import"svelte/internal/disclose-version";
39890
40142
  import * as $212 from "svelte/internal/client";
39891
- import { tick as tick12, untrack as untrack20 } from "svelte";
40143
+ import { tick as tick13, untrack as untrack20 } from "svelte";
39892
40144
  var root128 = $212.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
39893
40145
  var root_1135 = $212.from_html(`<label class="cinder-multi-select__label"> <!></label>`);
39894
40146
  var root_280 = $212.from_html(`<span class="cinder-multi-select__count" aria-hidden="true"> </span>`);
39895
- var root_368 = $212.from_html(`<button type="button" class="cinder-multi-select__clear" aria-label="Clear selected items">×</button>`);
40147
+ var root_369 = $212.from_html(`<button type="button" class="cinder-multi-select__clear" aria-label="Clear selected items">×</button>`);
39896
40148
  var root_448 = $212.from_html(`<input class="cinder-_input-frame cinder-multi-select__filter" type="text" role="combobox" placeholder="Filter options" aria-autocomplete="list" aria-haspopup="listbox"/>`);
39897
40149
  var root_538 = $212.from_html(`<span class="cinder-multi-select__option-description"> </span>`);
39898
40150
  var root_626 = $212.from_html(`<li role="option" class="cinder-_option-row cinder-multi-select__option"><span class="cinder-multi-select__checkbox" aria-hidden="true"><!></span> <span class="cinder-multi-select__option-text"><span class="cinder-multi-select__option-label"> </span> <!></span></li>`);
@@ -40015,7 +40267,7 @@ function Multi_select($$anchor, $$props) {
40015
40267
  $212.set(openedAtLeastOnce, true);
40016
40268
  const nextIndex = preferLast ? getLastEnabledIndex($212.get(visibleItems)) : firstEnabledIndex($212.get(visibleItems));
40017
40269
  $212.set(activeIndex, nextIndex, true);
40018
- tick12().then(() => {
40270
+ tick13().then(() => {
40019
40271
  if (filterable())
40020
40272
  $212.get(filterElement)?.focus();
40021
40273
  else
@@ -40160,18 +40412,18 @@ function Multi_select($$anchor, $$props) {
40160
40412
  $212.get(triggerElement)?.focus();
40161
40413
  }
40162
40414
  $212.user_effect(() => {
40163
- const proxy26 = $212.get(validityProxyElement);
40164
- if (!proxy26)
40415
+ const proxy27 = $212.get(validityProxyElement);
40416
+ if (!proxy27)
40165
40417
  return;
40166
- proxy26.setCustomValidity($212.get(field).required && $212.get(uniqueSelectedIds).length === 0 ? "Please select at least one option." : "");
40167
- if (proxy26.validationMessage === "")
40418
+ proxy27.setCustomValidity($212.get(field).required && $212.get(uniqueSelectedIds).length === 0 ? "Please select at least one option." : "");
40419
+ if (proxy27.validationMessage === "")
40168
40420
  $212.set(nativeError, "");
40169
40421
  });
40170
40422
  $212.user_effect(() => {
40171
- const proxy26 = $212.get(validityProxyElement);
40172
- if (proxy26 === null)
40423
+ const proxy27 = $212.get(validityProxyElement);
40424
+ if (proxy27 === null)
40173
40425
  return;
40174
- const form = proxy26.form;
40426
+ const form = proxy27.form;
40175
40427
  form?.addEventListener("reset", resetToInitialValue);
40176
40428
  return () => {
40177
40429
  form?.removeEventListener("reset", resetToInitialValue);
@@ -40283,7 +40535,7 @@ function Multi_select($$anchor, $$props) {
40283
40535
  var node_3 = $212.sibling(button, 2);
40284
40536
  {
40285
40537
  var consequent_3 = ($$anchor2) => {
40286
- var button_1 = root_368();
40538
+ var button_1 = root_369();
40287
40539
  $212.delegated("click", button_1, clearSelection);
40288
40540
  $212.append($$anchor2, button_1);
40289
40541
  };
@@ -40555,7 +40807,7 @@ var rest_excludes97 = new Set([
40555
40807
  var root129 = $213.from_html(`<div class="cinder-navigation-bar__menu-toggle"><!></div>`);
40556
40808
  var root_1137 = $213.from_html(`<div class="cinder-navigation-bar__brand"><!></div>`);
40557
40809
  var root_281 = $213.from_html(`<div class="cinder-navigation-bar__actions"><!></div>`);
40558
- var root_369 = $213.from_html(`<nav><!> <!> <!> <div class="cinder-navigation-bar__items"><!></div> <!></nav>`);
40810
+ var root_370 = $213.from_html(`<nav><!> <!> <!> <div class="cinder-navigation-bar__items"><!></div> <!></nav>`);
40559
40811
  function Navigation_bar($$anchor, $$props) {
40560
40812
  const regionId = $213.props_id();
40561
40813
  $213.push($$props, true);
@@ -40722,7 +40974,7 @@ function Navigation_bar($$anchor, $$props) {
40722
40974
  }
40723
40975
  }
40724
40976
  }
40725
- var nav = root_369();
40977
+ var nav = root_370();
40726
40978
  $213.attribute_effect(nav, ($0) => ({
40727
40979
  ...rest,
40728
40980
  "aria-label": label(),
@@ -40846,7 +41098,7 @@ var rest_excludes98 = new Set([
40846
41098
  var root130 = $214.from_html(`<span class="cinder-pricing-card__selected-flag">Selected</span>`);
40847
41099
  var root_1138 = $214.from_html(`<li class="cinder-pricing-card__feature"> </li>`);
40848
41100
  var root_282 = $214.from_html(`<p class="cinder-pricing-card__caveat" data-cinder-caveat=""> </p>`);
40849
- var root_370 = $214.from_html(`<div><div class="cinder-pricing-card__header"><div class="cinder-pricing-card__heading-row"><h3 class="cinder-pricing-card__name"> </h3> <!></div> <p class="cinder-pricing-card__price"> </p></div> <div class="cinder-pricing-card__body"><ul class="cinder-pricing-card__features"></ul> <!></div> <div class="cinder-pricing-card__footer"><!></div></div>`);
41101
+ var root_371 = $214.from_html(`<div><div class="cinder-pricing-card__header"><div class="cinder-pricing-card__heading-row"><h3 class="cinder-pricing-card__name"> </h3> <!></div> <p class="cinder-pricing-card__price"> </p></div> <div class="cinder-pricing-card__body"><ul class="cinder-pricing-card__features"></ul> <!></div> <div class="cinder-pricing-card__footer"><!></div></div>`);
40850
41102
  function Pricing_card($$anchor, $$props) {
40851
41103
  $214.push($$props, true);
40852
41104
  let selected = $214.prop($$props, "selected", 3, false), rest = $214.rest_props($$props, rest_excludes98);
@@ -40867,7 +41119,7 @@ function Pricing_card($$anchor, $$props) {
40867
41119
  }
40868
41120
  return result;
40869
41121
  });
40870
- var div = root_370();
41122
+ var div = root_371();
40871
41123
  $214.attribute_effect(div, ($0) => ({
40872
41124
  class: $0,
40873
41125
  "data-cinder-selected": selected() ? "" : undefined,
@@ -40964,7 +41216,7 @@ var rest_excludes99 = new Set([
40964
41216
  var root131 = $215.from_html(`<p class="cinder-pricing-section__description"> </p>`);
40965
41217
  var root_1139 = $215.from_html(`<header class="cinder-pricing-section__header"><h2 class="cinder-pricing-section__title"> </h2> <!></header>`);
40966
41218
  var root_283 = $215.from_html(`<li class="cinder-pricing-section__item"><!></li>`);
40967
- var root_371 = $215.from_html(`<div class="cinder-pricing-section__inner"><!> <ul class="cinder-pricing-section__list"></ul></div>`);
41219
+ var root_372 = $215.from_html(`<div class="cinder-pricing-section__inner"><!> <ul class="cinder-pricing-section__list"></ul></div>`);
40968
41220
  function Pricing_section($$anchor, $$props) {
40969
41221
  $215.push($$props, true);
40970
41222
  let as = $215.prop($$props, "as", 3, "section"), columns = $215.prop($$props, "columns", 3, 3), maxWidth = $215.prop($$props, "maxWidth", 3, "wide"), rest = $215.rest_props($$props, rest_excludes99);
@@ -40986,7 +41238,7 @@ function Pricing_section($$anchor, $$props) {
40986
41238
  return maxWidth();
40987
41239
  },
40988
41240
  children: ($$anchor3, $$slotProps) => {
40989
- var div = root_371();
41241
+ var div = root_372();
40990
41242
  var node_1 = $215.child(div);
40991
41243
  {
40992
41244
  var consequent_1 = ($$anchor4) => {
@@ -41176,7 +41428,7 @@ var rest_excludes101 = new Set([
41176
41428
  var root133 = $217.from_html(`<p class="cinder-newsletter-section__description"> </p>`);
41177
41429
  var root_1141 = $217.from_html(`<p class="cinder-newsletter-section__consent"> </p>`);
41178
41430
  var root_284 = $217.from_html(`<div class="cinder-newsletter-section__extra"><!></div>`);
41179
- var root_372 = $217.from_html(`<div class="cinder-newsletter-section__inner"><header class="cinder-newsletter-section__header"><h2 class="cinder-newsletter-section__title"> </h2> <!></header> <form class="cinder-newsletter-section__form"><div class="cinder-newsletter-section__field"><!></div> <!></form> <!> <!></div>`);
41431
+ var root_373 = $217.from_html(`<div class="cinder-newsletter-section__inner"><header class="cinder-newsletter-section__header"><h2 class="cinder-newsletter-section__title"> </h2> <!></header> <form class="cinder-newsletter-section__form"><div class="cinder-newsletter-section__field"><!></div> <!></form> <!> <!></div>`);
41180
41432
  function Newsletter_section($$anchor, $$props) {
41181
41433
  const uid = $217.props_id();
41182
41434
  $217.push($$props, true);
@@ -41199,7 +41451,7 @@ function Newsletter_section($$anchor, $$props) {
41199
41451
  return maxWidth();
41200
41452
  },
41201
41453
  children: ($$anchor3, $$slotProps) => {
41202
- var div = root_372();
41454
+ var div = root_373();
41203
41455
  var header = $217.child(div);
41204
41456
  var h2 = $217.child(header);
41205
41457
  var text36 = $217.child(h2, true);
@@ -41420,7 +41672,7 @@ var rest_excludes102 = new Set([
41420
41672
  var root134 = $218.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
41421
41673
  var root_1142 = $218.from_html(`<label class="cinder-input-field__label"> <!></label>`);
41422
41674
  var root_285 = $218.from_html(`<input type="hidden"/>`);
41423
- var root_373 = $218.from_html(`<p class="cinder-input-field__description"> </p>`);
41675
+ var root_374 = $218.from_html(`<p class="cinder-input-field__description"> </p>`);
41424
41676
  var root_449 = $218.from_html(`<p class="cinder-input-field__error" aria-live="polite"> </p>`);
41425
41677
  var root_539 = $218.from_html(`<div><!> <div class="cinder-number-input"><input/> <button type="button" class="cinder-number-input__stepper cinder-number-input__stepper--increment" tabindex="-1"><span aria-hidden="true">+</span></button> <button type="button" class="cinder-number-input__stepper cinder-number-input__stepper--decrement" tabindex="-1"><span aria-hidden="true">&#x2212;</span></button></div> <!> <!> <!></div>`);
41426
41678
  function Number_input($$anchor, $$props) {
@@ -41798,7 +42050,7 @@ function Number_input($$anchor, $$props) {
41798
42050
  var node_3 = $218.sibling(node_2, 2);
41799
42051
  {
41800
42052
  var consequent_3 = ($$anchor2) => {
41801
- var p = root_373();
42053
+ var p = root_374();
41802
42054
  var text_2 = $218.child(p, true);
41803
42055
  $218.reset(p);
41804
42056
  $218.template_effect(() => {
@@ -41881,7 +42133,7 @@ var rest_excludes103 = new Set([
41881
42133
  var root135 = $219.from_html(`<p class="cinder-pagination__count" aria-live="polite"> </p>`);
41882
42134
  var root_1143 = $219.from_html(`<li class="cinder-pagination__ellipsis-item" aria-hidden="true"><span class="cinder-pagination__ellipsis">&hellip;</span></li>`);
41883
42135
  var root_286 = $219.from_html(`<li><button type="button" class="cinder-pagination__page"> </button></li>`);
41884
- var root_374 = $219.from_html(`<nav><!> <div class="cinder-pagination__controls"><button type="button" class="cinder-pagination__step" aria-label="Go to previous page"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><polyline points="15 18 9 12 15 6"></polyline></svg></button> <ul class="cinder-pagination__pages" role="list"></ul> <button type="button" class="cinder-pagination__step" aria-label="Go to next page"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><polyline points="9 18 15 12 9 6"></polyline></svg></button></div></nav>`);
42136
+ var root_375 = $219.from_html(`<nav><!> <div class="cinder-pagination__controls"><button type="button" class="cinder-pagination__step" aria-label="Go to previous page"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><polyline points="15 18 9 12 15 6"></polyline></svg></button> <ul class="cinder-pagination__pages" role="list"></ul> <button type="button" class="cinder-pagination__step" aria-label="Go to next page"><svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" aria-hidden="true" focusable="false"><polyline points="9 18 15 12 9 6"></polyline></svg></button></div></nav>`);
41885
42137
  function Pagination($$anchor, $$props) {
41886
42138
  $219.push($$props, true);
41887
42139
  let currentPage = $219.prop($$props, "currentPage", 15, 1), hasNextPage = $219.prop($$props, "hasNextPage", 3, false), rest = $219.rest_props($$props, rest_excludes103);
@@ -41927,7 +42179,7 @@ function Pagination($$anchor, $$props) {
41927
42179
  return;
41928
42180
  currentPage(page);
41929
42181
  }
41930
- var nav = root_374();
42182
+ var nav = root_375();
41931
42183
  $219.attribute_effect(nav, () => ({
41932
42184
  class: $219.get(mergedClassName),
41933
42185
  "aria-label": "Pagination",
@@ -42093,7 +42345,7 @@ var rest_excludes105 = new Set([
42093
42345
  var root137 = $221.from_html(`<p class="cinder-permission-matrix__description"> </p>`);
42094
42346
  var root_1145 = $221.from_html(`<div class="cinder-permission-matrix__state"><!></div>`);
42095
42347
  var root_288 = $221.from_html(`<th class="cinder-permission-matrix__column-header" scope="col"> </th>`);
42096
- var root_375 = $221.from_html(`<button type="button" class="cinder-permission-matrix__cell-control"><span class="cinder-permission-matrix__cell-token" aria-hidden="true"><!></span> <span class="cinder-permission-matrix__cell-label"> </span></button>`);
42348
+ var root_376 = $221.from_html(`<button type="button" class="cinder-permission-matrix__cell-control"><span class="cinder-permission-matrix__cell-token" aria-hidden="true"><!></span> <span class="cinder-permission-matrix__cell-label"> </span></button>`);
42097
42349
  var root_450 = $221.from_html(`<span class="cinder-permission-matrix__cell-control"><span class="cinder-permission-matrix__cell-token" aria-hidden="true"><!></span> <span class="cinder-permission-matrix__cell-label"> </span></span>`);
42098
42350
  var root_540 = $221.from_html(`<td class="cinder-permission-matrix__cell"><!></td>`);
42099
42351
  var root_627 = $221.from_html(`<tr><th class="cinder-permission-matrix__row-header" scope="row"> </th><!></tr>`);
@@ -42233,7 +42485,7 @@ function Permission_matrix($$anchor, $$props) {
42233
42485
  var node_8 = $221.child(td);
42234
42486
  {
42235
42487
  var consequent_7 = ($$anchor5) => {
42236
- var button = root_375();
42488
+ var button = root_376();
42237
42489
  var span = $221.child(button);
42238
42490
  var node_9 = $221.child(span);
42239
42491
  {
@@ -46547,7 +46799,7 @@ function displayNameForCountry(country, locale) {
46547
46799
  var root138 = $222.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
46548
46800
  var root_1146 = $222.from_html(`<span> <!></span>`);
46549
46801
  var root_289 = $222.from_html(`<option> </option>`);
46550
- var root_376 = $222.from_html(`<input type="hidden"/>`);
46802
+ var root_377 = $222.from_html(`<input type="hidden"/>`);
46551
46803
  var root_451 = $222.from_html(`<p class="cinder-phone-input-field__description"> </p>`);
46552
46804
  var root_541 = $222.from_html(`<p class="cinder-phone-input-field__error" aria-live="polite" aria-atomic="true"> </p>`);
46553
46805
  var root_628 = $222.from_html(`<div><!> <div class="cinder-phone-input" role="group"><span class="cinder-sr-only">Country code</span> <select class="cinder-phone-input__country"></select> <span class="cinder-sr-only">Phone number</span> <input class="cinder-phone-input__national" type="tel" inputmode="tel" autocomplete="tel-national"/></div> <!> <!> <!></div>`);
@@ -46856,7 +47108,7 @@ function Phone_input($$anchor, $$props) {
46856
47108
  var node_2 = $222.sibling(div_1, 2);
46857
47109
  {
46858
47110
  var consequent_2 = ($$anchor2) => {
46859
- var input_1 = root_376();
47111
+ var input_1 = root_377();
46860
47112
  $222.remove_input_defaults(input_1);
46861
47113
  $222.template_effect(() => {
46862
47114
  $222.set_attribute(input_1, "name", $$props.name);
@@ -46956,7 +47208,7 @@ import * as $223 from "svelte/internal/client";
46956
47208
  var root139 = $223.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
46957
47209
  var root_1147 = $223.from_html(`<span> <!></span>`);
46958
47210
  var root_290 = $223.from_html(`<span class="cinder-sr-only"> </span> <input class="cinder-pin-input__segment" autocapitalize="none" spellcheck="false" maxlength="1"/>`, 1);
46959
- var root_377 = $223.from_html(`<input type="hidden"/>`);
47211
+ var root_378 = $223.from_html(`<input type="hidden"/>`);
46960
47212
  var root_452 = $223.from_html(`<p class="cinder-pin-input-field__description"> </p>`);
46961
47213
  var root_542 = $223.from_html(`<p class="cinder-pin-input-field__error" aria-live="polite" aria-atomic="true"> </p>`);
46962
47214
  var root_629 = $223.from_html(`<div><!> <div class="cinder-pin-input" role="group"></div> <!> <!> <!></div>`);
@@ -47208,7 +47460,7 @@ function Pin_input($$anchor, $$props) {
47208
47460
  var node_2 = $223.sibling(div_1, 2);
47209
47461
  {
47210
47462
  var consequent_2 = ($$anchor2) => {
47211
- var input_2 = root_377();
47463
+ var input_2 = root_378();
47212
47464
  $223.remove_input_defaults(input_2);
47213
47465
  $223.template_effect(() => {
47214
47466
  $223.set_attribute(input_2, "name", $$props.name);
@@ -47291,7 +47543,7 @@ import * as $224 from "svelte/internal/client";
47291
47543
  var root140 = $224.from_svg(`<circle class="cinder-progress__fill" cx="18" cy="18" r="16"></circle>`);
47292
47544
  var root_1148 = $224.from_svg(`<circle class="cinder-progress__fill cinder-progress__fill--indeterminate" cx="18" cy="18" r="16"></circle>`);
47293
47545
  var root_291 = $224.from_html(`<div role="progressbar"><svg viewBox="0 0 36 36" class="cinder-progress__svg" aria-hidden="true"><circle class="cinder-progress__track" cx="18" cy="18" r="16"></circle><!></svg></div>`);
47294
- var root_378 = $224.from_html(`<div class="cinder-progress__fill"></div>`);
47546
+ var root_379 = $224.from_html(`<div class="cinder-progress__fill"></div>`);
47295
47547
  var root_453 = $224.from_html(`<div class="cinder-progress__fill cinder-progress__fill--indeterminate"></div>`);
47296
47548
  var root_543 = $224.from_html(`<div role="progressbar"><div class="cinder-progress__track"><!></div></div>`);
47297
47549
  function Progress($$anchor, $$props) {
@@ -47358,7 +47610,7 @@ function Progress($$anchor, $$props) {
47358
47610
  var node_2 = $224.child(div_2);
47359
47611
  {
47360
47612
  var consequent_2 = ($$anchor3) => {
47361
- var div_3 = root_378();
47613
+ var div_3 = root_379();
47362
47614
  let styles_1;
47363
47615
  $224.template_effect(() => styles_1 = $224.set_style(div_3, "", styles_1, { width: `${$224.get(percent) ?? ""}%` }));
47364
47616
  $224.append($$anchor3, div_3);
@@ -47424,7 +47676,7 @@ var rest_excludes106 = new Set([
47424
47676
  var root141 = $225.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" shape-rendering="crispEdges" aria-hidden="true" focusable="false"><path fill="none" stroke="currentColor"></path></svg>`);
47425
47677
  var root_1149 = $225.from_html(`<span class="cinder-qr-code__error-mark">!</span>`);
47426
47678
  var root_292 = $225.from_html(`<span class="cinder-sr-only">Unable to render QR code.</span>`);
47427
- var root_379 = $225.from_html(`<span class="cinder-qr-code__placeholder" aria-hidden="true"><!></span> <!>`, 1);
47679
+ var root_380 = $225.from_html(`<span class="cinder-qr-code__placeholder" aria-hidden="true"><!></span> <!>`, 1);
47428
47680
  var root_454 = $225.from_html(`<span><!></span>`);
47429
47681
  function Qr_code($$anchor, $$props) {
47430
47682
  $225.push($$props, true);
@@ -47518,7 +47770,7 @@ function Qr_code($$anchor, $$props) {
47518
47770
  $225.append($$anchor2, svg);
47519
47771
  };
47520
47772
  var alternate = ($$anchor2) => {
47521
- var fragment = root_379();
47773
+ var fragment = root_380();
47522
47774
  var span_1 = $225.first_child(fragment);
47523
47775
  var node_1 = $225.child(span_1);
47524
47776
  {
@@ -47663,7 +47915,7 @@ import * as $227 from "svelte/internal/client";
47663
47915
  var root143 = $227.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
47664
47916
  var root_1151 = $227.from_html(`<legend class="cinder-radio-group__legend"> <!></legend>`);
47665
47917
  var root_293 = $227.from_html(`<p class="cinder-radio-group__description"> </p>`);
47666
- var root_380 = $227.from_html(`<p class="cinder-radio-group__error" aria-live="polite"> </p>`);
47918
+ var root_381 = $227.from_html(`<p class="cinder-radio-group__error" aria-live="polite"> </p>`);
47667
47919
  var root_455 = $227.from_html(`<fieldset><!> <div class="cinder-radio-group__items"><!></div> <!> <!></fieldset>`);
47668
47920
  function Radio_group($$anchor, $$props) {
47669
47921
  const groupId = $227.props_id();
@@ -47749,7 +48001,7 @@ function Radio_group($$anchor, $$props) {
47749
48001
  var node_4 = $227.sibling(node_3, 2);
47750
48002
  {
47751
48003
  var consequent_3 = ($$anchor2) => {
47752
- var p_1 = root_380();
48004
+ var p_1 = root_381();
47753
48005
  var text_2 = $227.child(p_1, true);
47754
48006
  $227.reset(p_1);
47755
48007
  $227.template_effect(() => {
@@ -47794,7 +48046,7 @@ import * as $228 from "svelte/internal/client";
47794
48046
  var root144 = $228.from_html(`<span> </span>`);
47795
48047
  var root_1152 = $228.from_html(`<span class="cinder-rating__star" aria-hidden="true"><span class="cinder-rating__star-fill"></span></span>`);
47796
48048
  var root_294 = $228.from_html(`<div class="cinder-rating cinder-rating--readonly" role="img"><!> <span class="cinder-sr-only"> </span></div>`);
47797
- var root_381 = $228.from_html(`<button class="cinder-rating__option" type="button" role="radio"></button>`);
48049
+ var root_382 = $228.from_html(`<button class="cinder-rating__option" type="button" role="radio"></button>`);
47798
48050
  var root_456 = $228.from_html(`<div class="cinder-rating" role="radiogroup" tabindex="-1"><!> <div class="cinder-rating__hit-area"></div></div>`);
47799
48051
  var root_544 = $228.from_html(`<input type="hidden"/>`);
47800
48052
  var root_630 = $228.from_html(`<p class="cinder-rating-field__description"> </p>`);
@@ -48065,7 +48317,7 @@ function Rating($$anchor, $$props) {
48065
48317
  });
48066
48318
  var div_3 = $228.sibling(node_3, 2);
48067
48319
  $228.each(div_3, 20, () => $228.get(valueOptions), (option) => option, ($$anchor3, option) => {
48068
- var button = root_381();
48320
+ var button = root_382();
48069
48321
  $228.template_effect(($0, $1, $229, $310) => {
48070
48322
  $228.set_attribute(button, "id", $0);
48071
48323
  $228.set_attribute(button, "aria-checked", $1);
@@ -48518,7 +48770,7 @@ var rest_excludes108 = new Set([
48518
48770
  var root145 = $230.from_html(`<button type="button" class="cinder-run-step-timeline__selection-control"></button>`);
48519
48771
  var root_1153 = $230.from_html(`<span class="cinder-run-step-timeline__link cinder-run-step-timeline__link--unsafe"> </span>`);
48520
48772
  var root_295 = $230.from_html(`<div class="cinder-run-step-timeline__progress"><!></div>`);
48521
- var root_382 = $230.from_html(`<div class="cinder-run-step-timeline__meta-row"><dt class="cinder-run-step-timeline__meta-term"> </dt> <dd class="cinder-run-step-timeline__meta-definition"> </dd></div>`);
48773
+ var root_383 = $230.from_html(`<div class="cinder-run-step-timeline__meta-row"><dt class="cinder-run-step-timeline__meta-term"> </dt> <dd class="cinder-run-step-timeline__meta-definition"> </dd></div>`);
48522
48774
  var root_457 = $230.from_html(`<dl class="cinder-run-step-timeline__meta"></dl>`);
48523
48775
  var root_545 = $230.from_html(`<pre class="cinder-run-step-timeline__detail-content"> </pre>`);
48524
48776
  var root_631 = $230.from_html(`<div class="cinder-run-step-timeline__details"></div>`);
@@ -48770,7 +49022,7 @@ function Run_step_timeline($$anchor, $$props) {
48770
49022
  var consequent_8 = ($$anchor3) => {
48771
49023
  var dl = root_457();
48772
49024
  $230.each(dl, 21, () => $230.get(metadata), (item) => item.term, ($$anchor4, item) => {
48773
- var div_4 = root_382();
49025
+ var div_4 = root_383();
48774
49026
  var dt = $230.child(div_4);
48775
49027
  var text_8 = $230.child(dt, true);
48776
49028
  $230.reset(dt);
@@ -50229,7 +50481,7 @@ var rest_excludes110 = new Set([
50229
50481
  var root147 = $233.from_html(`<span class="cinder-segmented-control-option-icon" aria-hidden="true"><!></span>`);
50230
50482
  var root_1157 = $233.from_html(`<span class="cinder-segmented-control-option-trailing" aria-hidden="true"><!></span>`);
50231
50483
  var root_297 = $233.from_html(`<!> <!> <!>`, 1);
50232
- var root_383 = $233.from_html(`<a><!></a>`);
50484
+ var root_384 = $233.from_html(`<a><!></a>`);
50233
50485
  var root_458 = $233.from_html(`<button><!></button>`);
50234
50486
  function Segment($$anchor, $$props) {
50235
50487
  $233.push($$props, true);
@@ -50303,7 +50555,7 @@ function Segment($$anchor, $$props) {
50303
50555
  var node_6 = $233.first_child(fragment_1);
50304
50556
  {
50305
50557
  var consequent_2 = ($$anchor2) => {
50306
- var a = root_383();
50558
+ var a = root_384();
50307
50559
  $233.attribute_effect(a, ($0) => ({
50308
50560
  ...$233.get(elementAttributes),
50309
50561
  href: $233.get(anchorDisabled) ? undefined : $$props.href,
@@ -50394,7 +50646,7 @@ var rest_excludes111 = new Set([
50394
50646
  var root148 = $234.from_html(`<nav><!></nav>`);
50395
50647
  var root_1158 = $234.from_html(`<div><!></div>`);
50396
50648
  var root_298 = $234.from_html(`<input type="hidden"/>`);
50397
- var root_384 = $234.from_html(`<input type="hidden" disabled=""/> <!>`, 1);
50649
+ var root_385 = $234.from_html(`<input type="hidden" disabled=""/> <!>`, 1);
50398
50650
  var root_459 = $234.from_html(`<div class="cinder-segmented-control-container"><span> </span> <!> <!></div>`);
50399
50651
  function Segmented_control($$anchor, $$props) {
50400
50652
  $234.push($$props, true);
@@ -50526,7 +50778,7 @@ function Segmented_control($$anchor, $$props) {
50526
50778
  var node_3 = $234.sibling(node, 2);
50527
50779
  {
50528
50780
  var consequent_1 = ($$anchor2) => {
50529
- var fragment = root_384();
50781
+ var fragment = root_385();
50530
50782
  var input_1 = $234.first_child(fragment);
50531
50783
  $234.bind_this(input_1, ($$value) => $234.set(resetInputElement, $$value), () => $234.get(resetInputElement));
50532
50784
  var node_4 = $234.sibling(input_1, 2);
@@ -50570,6 +50822,7 @@ var rest_excludes112 = new Set([
50570
50822
  "value",
50571
50823
  "options",
50572
50824
  "label",
50825
+ "hideLabel",
50573
50826
  "description",
50574
50827
  "error",
50575
50828
  "required",
@@ -50579,14 +50832,14 @@ var rest_excludes112 = new Set([
50579
50832
  "aria-invalid"
50580
50833
  ]);
50581
50834
  var root149 = $235.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
50582
- var root_1159 = $235.from_html(`<label class="cinder-select-field__label"> <!></label>`);
50835
+ var root_1159 = $235.from_html(`<label> <!></label>`);
50583
50836
  var root_299 = $235.from_html(`<select></select>`);
50584
- var root_385 = $235.from_html(`<option> </option>`);
50837
+ var root_386 = $235.from_html(`<option> </option>`);
50585
50838
  var root_460 = $235.from_html(`<p class="cinder-select-field__description"> </p>`);
50586
50839
  var root_546 = $235.from_html(`<div><!> <span class="cinder-select-field__control"><!> <span class="cinder-select-field__chevron" aria-hidden="true"></span></span> <!> <p class="cinder-select-field__error" aria-live="polite"> </p></div>`);
50587
50840
  function Select($$anchor, $$props) {
50588
50841
  $235.push($$props, true);
50589
- let value = $235.prop($$props, "value", 15), rest = $235.rest_props($$props, rest_excludes112);
50842
+ let value = $235.prop($$props, "value", 15), hideLabel = $235.prop($$props, "hideLabel", 3, false), rest = $235.rest_props($$props, rest_excludes112);
50590
50843
  const context = getFormFieldContext();
50591
50844
  const field = $235.derived(() => resolveFieldControl({
50592
50845
  id: $$props.id,
@@ -50604,6 +50857,8 @@ function Select($$anchor, $$props) {
50604
50857
  $235.user_effect(() => {
50605
50858
  if ($$props.options.length === 0) {
50606
50859
  devWarn("[cinder/Select] options is empty — pass at least one option, or ignore during async load.");
50860
+ } else if (value() !== undefined && !$$props.options.some((option) => option.value === value())) {
50861
+ devWarn("[cinder/Select] value does not match any option — pass a value from options or omit it.");
50607
50862
  }
50608
50863
  });
50609
50864
  var div = root_546();
@@ -50624,11 +50879,14 @@ function Select($$anchor, $$props) {
50624
50879
  });
50625
50880
  }
50626
50881
  $235.reset(label_1);
50627
- $235.template_effect(() => {
50882
+ $235.template_effect(($0) => {
50628
50883
  $235.set_attribute(label_1, "for", $$props.id);
50884
+ $235.set_class(label_1, 1, $0);
50629
50885
  $235.set_attribute(label_1, "data-disabled", $235.get(field).disabled || undefined);
50630
50886
  $235.set_text(text38, `${$$props.label ?? ""} `);
50631
- });
50887
+ }, [
50888
+ () => $235.clsx(classNames("cinder-select-field__label", hideLabel() && "cinder-sr-only"))
50889
+ ]);
50632
50890
  $235.append($$anchor2, label_1);
50633
50891
  };
50634
50892
  $235.if(node, ($$render) => {
@@ -50665,7 +50923,7 @@ function Select($$anchor, $$props) {
50665
50923
  "aria-invalid": $235.get(field).ariaInvalid
50666
50924
  }));
50667
50925
  $235.each(select_1, 21, () => $$props.options, (option) => option.value, ($$anchor3, option) => {
50668
- var option_1 = root_385();
50926
+ var option_1 = root_386();
50669
50927
  var text_1 = $235.child(option_1, true);
50670
50928
  $235.reset(option_1);
50671
50929
  var option_1_value = {};
@@ -50785,7 +51043,7 @@ var rest_excludes113 = new Set([
50785
51043
  var root150 = $236.from_html(`<label class="cinder-time-field__label"> </label>`);
50786
51044
  var root_1160 = $236.from_html(`<input type="hidden"/>`);
50787
51045
  var root_2100 = $236.from_html(`<option> </option>`);
50788
- var root_386 = $236.from_html(`<span class="cinder-sr-only">timezone</span> <select class="cinder-time-field__timezone"></select>`, 1);
51046
+ var root_387 = $236.from_html(`<span class="cinder-sr-only">timezone</span> <select class="cinder-time-field__timezone"></select>`, 1);
50789
51047
  var root_461 = $236.from_html(`<p class="cinder-time-field__description"> </p>`);
50790
51048
  var root_547 = $236.from_html(`<p class="cinder-time-field__error" aria-live="polite"> </p>`);
50791
51049
  var root_632 = $236.from_html(`<div><!> <div class="cinder-time-field__controls"><input class="cinder-time-field__input" type="time"/> <!> <!> <!></div> <!> <!></div>`);
@@ -50973,7 +51231,7 @@ function Time_field($$anchor, $$props) {
50973
51231
  var node_2 = $236.sibling(node_1, 2);
50974
51232
  {
50975
51233
  var consequent_2 = ($$anchor2) => {
50976
- var fragment = root_386();
51234
+ var fragment = root_387();
50977
51235
  var span = $236.first_child(fragment);
50978
51236
  var select = $236.sibling(span, 2);
50979
51237
  $236.each(select, 20, () => $$props.timezones, (option) => option, ($$anchor3, option) => {
@@ -51306,7 +51564,7 @@ var rest_excludes114 = new Set([
51306
51564
  var root151 = $237.from_html(`<!> <!> <!>`, 1);
51307
51565
  var root_1161 = $237.from_html(`<!> <!> <!> <!>`, 1);
51308
51566
  var root_2101 = $237.from_html(`<div class="cinder-schedule-builder__field-row"><!> <!></div>`);
51309
- var root_387 = $237.from_html(`<div class="cinder-schedule-builder__weekday-group" role="group" aria-label="Days of week"></div> <!>`, 1);
51567
+ var root_388 = $237.from_html(`<div class="cinder-schedule-builder__weekday-group" role="group" aria-label="Days of week"></div> <!>`, 1);
51310
51568
  var root_462 = $237.from_html(`<div role="tabpanel" class="cinder-schedule-builder__panel" data-sb-panel="presets"><!> <!></div>`);
51311
51569
  var root_548 = $237.from_html(`<div role="tabpanel" class="cinder-schedule-builder__panel" data-sb-panel="cron"><div class="cinder-schedule-builder__cron-fields"></div></div>`);
51312
51570
  var root_633 = $237.from_html(`<div role="tabpanel" class="cinder-schedule-builder__panel" data-sb-panel="interval"><div class="cinder-schedule-builder__field-row"><!> <!></div></div>`);
@@ -51851,7 +52109,7 @@ function Schedule_builder($$anchor, $$props) {
51851
52109
  }
51852
52110
  };
51853
52111
  var consequent_5 = ($$anchor3) => {
51854
- var fragment_6 = root_387();
52112
+ var fragment_6 = root_388();
51855
52113
  var div_3 = $237.first_child(fragment_6);
51856
52114
  $237.each(div_3, 21, () => WEEKDAYS, (day) => day.value, ($$anchor4, day) => {
51857
52115
  {
@@ -52151,7 +52409,7 @@ import * as $239 from "svelte/internal/client";
52151
52409
  // src/components/schema-form/schema-form-body.svelte
52152
52410
  import"svelte/internal/disclose-version";
52153
52411
  import * as $238 from "svelte/internal/client";
52154
- import { tick as tick13 } from "svelte";
52412
+ import { tick as tick14 } from "svelte";
52155
52413
 
52156
52414
  // src/components/schema-form/schema-form-model.ts
52157
52415
  function isRecord(value) {
@@ -52630,7 +52888,7 @@ var rest_excludes115 = new Set([
52630
52888
  var root152 = $238.from_html(`<span class="cinder-_required-marker" aria-hidden="true">*</span>`);
52631
52889
  var root_1162 = $238.from_html(`<p class="cinder-schema-form__description"> </p>`);
52632
52890
  var root_2102 = $238.from_html(`<p class="cinder-schema-form__error" aria-live="polite" tabindex="-1"> </p>`);
52633
- var root_388 = $238.from_html(`<legend class="cinder-schema-form__legend"> <!></legend> <!> <!>`, 1);
52891
+ var root_389 = $238.from_html(`<legend class="cinder-schema-form__legend"> <!></legend> <!> <!>`, 1);
52634
52892
  var root_463 = $238.from_html(`<fieldset class="cinder-schema-form__fieldset"><!> <div class="cinder-schema-form__fields"></div></fieldset>`);
52635
52893
  var root_549 = $238.from_html(`<div class="cinder-schema-form__array-item"><!> <button type="button" class="cinder-schema-form__secondary-button">Remove</button></div>`);
52636
52894
  var root_634 = $238.from_html(`<fieldset class="cinder-schema-form__fieldset"><!> <div class="cinder-schema-form__array"></div> <button type="button" class="cinder-schema-form__secondary-button"> </button></fieldset>`);
@@ -52641,7 +52899,7 @@ function Schema_form_body($$anchor, $$props) {
52641
52899
  const generatedId = $238.props_id();
52642
52900
  $238.push($$props, true);
52643
52901
  const groupLegend = ($$anchor2, field = $238.noop) => {
52644
- var fragment = root_388();
52902
+ var fragment = root_389();
52645
52903
  var legend = $238.first_child(fragment);
52646
52904
  var text39 = $238.child(legend);
52647
52905
  var node = $238.sibling(text39);
@@ -53252,7 +53510,7 @@ function Schema_form_body($$anchor, $$props) {
53252
53510
  await focusFirstError(submitId);
53253
53511
  }
53254
53512
  async function focusFirstError(submitId) {
53255
- await tick13();
53513
+ await tick14();
53256
53514
  if (activeSubmitId !== submitId)
53257
53515
  return;
53258
53516
  $238.get(formElement)?.querySelector('[aria-invalid="true"], [data-cinder-invalid="true"], .cinder-schema-form__error')?.focus();
@@ -53310,7 +53568,7 @@ function Schema_form_body($$anchor, $$props) {
53310
53568
  await $$props.onsubmit?.(result2.value, event26);
53311
53569
  if (shouldResumeNativeSubmit()) {
53312
53570
  allowNativeSubmit = true;
53313
- await tick13();
53571
+ await tick14();
53314
53572
  $238.get(formElement)?.requestSubmit(nativeSubmitter(event26));
53315
53573
  }
53316
53574
  } finally {
@@ -53466,7 +53724,7 @@ var rest_excludes118 = new Set([
53466
53724
  var root153 = $241.from_html(`<span class="cinder-secret-value-field__prefix" aria-hidden="true"> </span>`);
53467
53725
  var root_1163 = $241.from_html(`<span class="cinder-secret-value-field__suffix" aria-hidden="true"> </span>`);
53468
53726
  var root_2103 = $241.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="cinder-secret-value-field__icon" aria-hidden="true"><path fill-rule="evenodd" d="M3.28 2.22a.75.75 0 00-1.06 1.06l14.5 14.5a.75.75 0 101.06-1.06l-1.745-1.745a10.029 10.029 0 003.3-4.38 1.651 1.651 0 000-1.185A10.004 10.004 0 009.999 3a9.956 9.956 0 00-4.744 1.194L3.28 2.22zM7.752 6.69l1.092 1.092a2.5 2.5 0 013.374 3.373l1.091 1.092a4 4 0 00-5.557-5.557z" clip-rule="evenodd"></path><path d="M10.748 13.93l2.523 2.524a9.987 9.987 0 01-3.27.547c-4.258 0-7.894-2.66-9.337-6.41a1.651 1.651 0 010-1.186A10.007 10.007 0 012.839 6.02L6.07 9.252a4 4 0 004.678 4.678z"></path></svg>`);
53469
- var root_389 = $241.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="cinder-secret-value-field__icon" aria-hidden="true"><path d="M10 12.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"></path><path fill-rule="evenodd" d="M.664 10.59a1.651 1.651 0 010-1.186A10.004 10.004 0 0110 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0110 17c-4.257 0-7.893-2.66-9.336-6.41zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd"></path></svg>`);
53727
+ var root_390 = $241.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="cinder-secret-value-field__icon" aria-hidden="true"><path d="M10 12.5a2.5 2.5 0 100-5 2.5 2.5 0 000 5z"></path><path fill-rule="evenodd" d="M.664 10.59a1.651 1.651 0 010-1.186A10.004 10.004 0 0110 3c4.257 0 7.893 2.66 9.336 6.41.147.381.146.804 0 1.186A10.004 10.004 0 0110 17c-4.257 0-7.893-2.66-9.336-6.41zM14 10a4 4 0 11-8 0 4 4 0 018 0z" clip-rule="evenodd"></path></svg>`);
53470
53728
  var root_464 = $241.from_html(`<button type="button" class="cinder-secret-value-field__toggle"><!></button>`);
53471
53729
  var root_550 = $241.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="cinder-secret-value-field__icon" aria-hidden="true"><path fill-rule="evenodd" d="M16.704 4.153a.75.75 0 01.143 1.052l-8 10.5a.75.75 0 01-1.127.075l-4.5-4.5a.75.75 0 011.06-1.06l3.894 3.893 7.48-9.817a.75.75 0 011.05-.143z" clip-rule="evenodd"></path></svg>`);
53472
53730
  var root_635 = $241.from_svg(`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" class="cinder-secret-value-field__icon" aria-hidden="true"><path d="M7 3.5A1.5 1.5 0 018.5 2h3.879a1.5 1.5 0 011.06.44l3.122 3.12A1.5 1.5 0 0117 6.622V12.5a1.5 1.5 0 01-1.5 1.5h-1v-3.379a3 3 0 00-.879-2.121L10.5 5.379A3 3 0 008.379 4.5H7v-1z"></path><path d="M4.5 6A1.5 1.5 0 003 7.5v9A1.5 1.5 0 004.5 18h7a1.5 1.5 0 001.5-1.5v-5.879a1.5 1.5 0 00-.44-1.06L9.44 6.439A1.5 1.5 0 008.378 6H4.5z"></path></svg>`);
@@ -53562,7 +53820,7 @@ function Secret_value_field($$anchor, $$props) {
53562
53820
  $241.append($$anchor3, svg);
53563
53821
  };
53564
53822
  var alternate = ($$anchor3) => {
53565
- var svg_1 = root_389();
53823
+ var svg_1 = root_390();
53566
53824
  $241.append($$anchor3, svg_1);
53567
53825
  };
53568
53826
  $241.if(node_3, ($$render) => {
@@ -53654,7 +53912,7 @@ import * as $242 from "svelte/internal/client";
53654
53912
  var root154 = $242.from_html(`<hgroup class="cinder-section-heading__hgroup"><p class="cinder-section-heading__label"><!></p> <!></hgroup>`);
53655
53913
  var root_1164 = $242.from_html(`<p class="cinder-section-heading__description"> </p>`);
53656
53914
  var root_2104 = $242.from_html(`<div class="cinder-section-heading__actions"><!></div>`);
53657
- var root_390 = $242.from_html(`<div class="cinder-section-heading__tabs"><!></div>`);
53915
+ var root_391 = $242.from_html(`<div class="cinder-section-heading__tabs"><!></div>`);
53658
53916
  var root_465 = $242.from_html(`<div><div class="cinder-section-heading__row"><div class="cinder-section-heading__primary"><!> <!></div> <!></div> <!></div>`);
53659
53917
  function Section_heading($$anchor, $$props) {
53660
53918
  $242.push($$props, true);
@@ -53732,7 +53990,7 @@ function Section_heading($$anchor, $$props) {
53732
53990
  var node_7 = $242.sibling(div_1, 2);
53733
53991
  {
53734
53992
  var consequent_3 = ($$anchor2) => {
53735
- var div_4 = root_390();
53993
+ var div_4 = root_391();
53736
53994
  var node_8 = $242.child(div_4);
53737
53995
  $242.snippet(node_8, () => $$props.tabs);
53738
53996
  $242.reset(div_4);
@@ -53791,7 +54049,7 @@ var rest_excludes119 = new Set([
53791
54049
  var root155 = $243.from_html(`<span class="cinder-selectable-row__leading"><!></span>`);
53792
54050
  var root_1165 = $243.from_html(`<span class="cinder-selectable-row__description"><!></span>`);
53793
54051
  var root_2105 = $243.from_html(`<span class="cinder-selectable-row__meta"><!></span>`);
53794
- var root_391 = $243.from_html(`<a><!> <span class="cinder-selectable-row__body"><span class="cinder-selectable-row__title"><!></span> <!> <!></span></a>`);
54052
+ var root_392 = $243.from_html(`<a><!> <span class="cinder-selectable-row__body"><span class="cinder-selectable-row__title"><!></span> <!> <!></span></a>`);
53795
54053
  var root_466 = $243.from_html(`<button><!> <span class="cinder-selectable-row__body"><span class="cinder-selectable-row__title"><!></span> <!> <!></span></button>`);
53796
54054
  var root_551 = $243.from_html(`<div class="cinder-selectable-row__trailing-actions"><!></div>`);
53797
54055
  var root_636 = $243.from_html(`<div><!> <!></div>`);
@@ -53831,7 +54089,7 @@ function Selectable_row($$anchor, $$props) {
53831
54089
  var node = $243.child(div);
53832
54090
  {
53833
54091
  var consequent_3 = ($$anchor2) => {
53834
- var a = root_391();
54092
+ var a = root_392();
53835
54093
  $243.attribute_effect(a, () => ({
53836
54094
  ...$243.get(anchorAttributes),
53837
54095
  class: "cinder-selectable-row__primary",
@@ -53992,7 +54250,7 @@ import"@lostgradient/cinder/selection-popover/styles";
53992
54250
  // src/components/selection-popover/selection-popover.svelte
53993
54251
  import"svelte/internal/disclose-version";
53994
54252
  import * as $244 from "svelte/internal/client";
53995
- import { tick as tick14 } from "svelte";
54253
+ import { tick as tick15 } from "svelte";
53996
54254
  var rest_excludes120 = new Set([
53997
54255
  "$$slots",
53998
54256
  "$$events",
@@ -54066,7 +54324,7 @@ function Selection_popover($$anchor, $$props) {
54066
54324
  rememberFocus();
54067
54325
  $244.set(expanded, true);
54068
54326
  $$props.onexpand?.();
54069
- tick14().then(() => $244.get(textareaElement)?.focus());
54327
+ tick15().then(() => $244.get(textareaElement)?.focus());
54070
54328
  }
54071
54329
  function handleCancel() {
54072
54330
  $244.set(expanded, false);
@@ -54205,7 +54463,7 @@ var rest_excludes121 = new Set([
54205
54463
  var root157 = $245.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><polyline points="20,6 9,17 4,12"></polyline></svg></span> `, 1);
54206
54464
  var root_1167 = $245.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><circle cx="18" cy="5" r="3"></circle><circle cx="6" cy="12" r="3"></circle><circle cx="18" cy="19" r="3"></circle><line x1="8.59" y1="13.51" x2="15.42" y2="17.49"></line><line x1="15.41" y1="6.51" x2="8.59" y2="10.49"></line></svg></span> `, 1);
54207
54465
  var root_2107 = $245.from_html(`<button type="button" class="cinder-share-card__action"><!></button>`);
54208
- var root_392 = $245.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span> `, 1);
54466
+ var root_393 = $245.from_html(`<span class="cinder-share-card__action-icon" aria-hidden="true"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="cinder-share-card__icon"><rect x="9" y="9" width="13" height="13" rx="2" ry="2"></rect><path d="M5 15H4a2 2 0 0 1-2-2V4a2 2 0 0 1 2-2h9a2 2 0 0 1 2 2v1"></path></svg></span> `, 1);
54209
54467
  var root_467 = $245.from_html(`<div class="cinder-share-card__preview"><!></div>`);
54210
54468
  var root_552 = $245.from_html(`<p class="cinder-share-card__title"> </p>`);
54211
54469
  var root_637 = $245.from_html(`<p class="cinder-share-card__description"> </p>`);
@@ -54260,7 +54518,7 @@ function Share_card($$anchor, $$props) {
54260
54518
  $245.append($$anchor3, fragment_2);
54261
54519
  };
54262
54520
  var alternate_1 = ($$anchor3) => {
54263
- var fragment_3 = root_392();
54521
+ var fragment_3 = root_393();
54264
54522
  var text_4 = $245.sibling($245.first_child(fragment_3));
54265
54523
  $245.template_effect(() => $245.set_text(text_4, ` ${action().label ?? ""}`));
54266
54524
  $245.append($$anchor3, fragment_3);
@@ -54497,7 +54755,7 @@ import"@lostgradient/cinder/sheet/styles";
54497
54755
  // src/components/sheet/sheet.svelte
54498
54756
  import"svelte/internal/disclose-version";
54499
54757
  import * as $246 from "svelte/internal/client";
54500
- import { onDestroy as onDestroy9, tick as tick15 } from "svelte";
54758
+ import { onDestroy as onDestroy9, tick as tick16 } from "svelte";
54501
54759
  var rest_excludes122 = new Set([
54502
54760
  "$$slots",
54503
54761
  "$$events",
@@ -54515,7 +54773,7 @@ var rest_excludes122 = new Set([
54515
54773
  var root158 = $246.from_html(`<button type="button" class="cinder-sheet__close" aria-label="Close sheet"><svg class="cinder-sheet__close-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" aria-hidden="true"><path d="M6.28 5.22a.75.75 0 00-1.06 1.06L8.94 10l-3.72 3.72a.75.75 0 101.06 1.06L10 11.06l3.72 3.72a.75.75 0 101.06-1.06L11.06 10l3.72-3.72a.75.75 0 00-1.06-1.06L10 8.94 6.28 5.22z"></path></svg></button>`);
54516
54774
  var root_1168 = $246.from_html(`<div class="cinder-sheet__drag-handle" aria-hidden="true"><span class="cinder-sheet__drag-handle-pill"></span></div>`);
54517
54775
  var root_2108 = $246.from_html(`<h2 class="cinder-sr-only"> </h2>`);
54518
- var root_393 = $246.from_html(`<!> <!>`, 1);
54776
+ var root_394 = $246.from_html(`<!> <!>`, 1);
54519
54777
  var root_468 = $246.from_html(`<h2 class="cinder-sheet__title"> </h2>`);
54520
54778
  var root_553 = $246.from_html(`<div class="cinder-sheet__footer"><!></div>`);
54521
54779
  var root_638 = $246.from_html(`<div class="cinder-sheet__panel"><!> <header class="cinder-sheet__header"><!> <!></header> <div class="cinder-sheet__body" tabindex="-1"><!></div> <!></div>`);
@@ -54556,7 +54814,7 @@ function Sheet($$anchor, $$props) {
54556
54814
  if (!$246.get(pendingOpenFocus) || !$246.get(dialogElement)?.open)
54557
54815
  return;
54558
54816
  $246.set(pendingOpenFocus, false);
54559
- tick15().then(() => {
54817
+ tick16().then(() => {
54560
54818
  if (!open() || !$246.get(dialogElement)?.open)
54561
54819
  return;
54562
54820
  const hasExplicitAutofocus = $246.get(dialogElement).querySelector("[autofocus]") !== null || Array.from($246.get(dialogElement).querySelectorAll("*")).some((element25) => element25.autofocus === true);
@@ -54611,7 +54869,7 @@ function Sheet($$anchor, $$props) {
54611
54869
  var node_3 = $246.child(header_1);
54612
54870
  {
54613
54871
  var consequent_2 = ($$anchor4) => {
54614
- var fragment_1 = root_393();
54872
+ var fragment_1 = root_394();
54615
54873
  var node_4 = $246.first_child(fragment_1);
54616
54874
  {
54617
54875
  var consequent_1 = ($$anchor5) => {
@@ -54727,12 +54985,12 @@ var rest_excludes123 = new Set([
54727
54985
  var root159 = $247.from_html(`<span class="cinder-shortcut-hint__label"><!></span>`);
54728
54986
  var root_1169 = $247.from_html(`<span class="cinder-shortcut-hint__separator">+</span>`);
54729
54987
  var root_2109 = $247.from_html(`<!> <!>`, 1);
54730
- var root_394 = $247.from_html(`<span><!> <span class="cinder-shortcut-hint__keys" aria-hidden="true"></span> <span class="cinder-sr-only"> </span> <!></span>`);
54988
+ var root_395 = $247.from_html(`<span><!> <span class="cinder-shortcut-hint__keys" aria-hidden="true"></span> <span class="cinder-sr-only"> </span> <!></span>`);
54731
54989
  function Shortcut_hint($$anchor, $$props) {
54732
54990
  $247.push($$props, true);
54733
54991
  let keysPosition = $247.prop($$props, "keysPosition", 3, "after"), rest = $247.rest_props($$props, rest_excludes123);
54734
54992
  const resolvedKeysLabel = $247.derived(() => $$props.keysLabel ?? $$props.keys.join(" plus "));
54735
- var span = root_394();
54993
+ var span = root_395();
54736
54994
  $247.attribute_effect(span, ($0) => ({ ...rest, class: $0 }), [() => classNames("cinder-shortcut-hint", $$props.class)]);
54737
54995
  var node = $247.child(span);
54738
54996
  {
@@ -55065,7 +55323,7 @@ var rest_excludes127 = new Set([
55065
55323
  var root163 = $251.from_html(`<div class="cinder-sidebar__nav"><!></div>`);
55066
55324
  var root_1171 = $251.from_html(`<div><!></div>`);
55067
55325
  var root_2111 = $251.from_html(`<!> <!>`, 1);
55068
- var root_395 = $251.from_html(`<aside><!></aside>`);
55326
+ var root_396 = $251.from_html(`<aside><!></aside>`);
55069
55327
  function Sidebar($$anchor, $$props) {
55070
55328
  $251.push($$props, true);
55071
55329
  const sidebarContents = ($$anchor2, isMobile = $251.noop) => {
@@ -55221,7 +55479,7 @@ function Sidebar($$anchor, $$props) {
55221
55479
  }));
55222
55480
  };
55223
55481
  var alternate = ($$anchor2) => {
55224
- var aside = root_395();
55482
+ var aside = root_396();
55225
55483
  $251.attribute_effect(aside, ($0) => ({
55226
55484
  id: $$props.id,
55227
55485
  ...rest,
@@ -55482,7 +55740,7 @@ import { untrack as untrack27 } from "svelte";
55482
55740
  var root166 = $255.from_html(`<span class="cinder-sr-only"> </span> <span class="cinder-sr-only"> </span>`, 1);
55483
55741
  var root_1172 = $255.from_html(`<span class="cinder-slider__tick"></span>`);
55484
55742
  var root_2112 = $255.from_html(`<div class="cinder-slider__ticks" aria-hidden="true"></div>`);
55485
- var root_396 = $255.from_html(`<div class="cinder-slider__thumb" data-cinder-slider-thumb="low" role="slider" aria-orientation="horizontal"></div> <div class="cinder-slider__thumb" data-cinder-slider-thumb="high" role="slider" aria-orientation="horizontal"></div>`, 1);
55743
+ var root_397 = $255.from_html(`<div class="cinder-slider__thumb" data-cinder-slider-thumb="low" role="slider" aria-orientation="horizontal"></div> <div class="cinder-slider__thumb" data-cinder-slider-thumb="high" role="slider" aria-orientation="horizontal"></div>`, 1);
55486
55744
  var root_469 = $255.from_html(`<div class="cinder-slider__thumb" data-cinder-slider-thumb="single" role="slider" aria-orientation="horizontal"></div>`);
55487
55745
  var root_554 = $255.from_html(`<input type="hidden"/> <input type="hidden"/>`, 1);
55488
55746
  var root_639 = $255.from_html(`<input type="hidden"/>`);
@@ -55567,10 +55825,10 @@ function Slider($$anchor, $$props) {
55567
55825
  if ($255.get(tickList) && $255.get(tickList).length > 0) {
55568
55826
  let nearest = $255.get(tickList)[0];
55569
55827
  let nearestDelta = Math.abs(clamped - nearest);
55570
- for (const tick16 of $255.get(tickList)) {
55571
- const delta = Math.abs(clamped - tick16);
55828
+ for (const tick17 of $255.get(tickList)) {
55829
+ const delta = Math.abs(clamped - tick17);
55572
55830
  if (delta < nearestDelta) {
55573
- nearest = tick16;
55831
+ nearest = tick17;
55574
55832
  nearestDelta = delta;
55575
55833
  }
55576
55834
  }
@@ -55608,15 +55866,15 @@ function Slider($$anchor, $$props) {
55608
55866
  if (!$255.get(tickList) || $255.get(tickList).length === 0)
55609
55867
  return current;
55610
55868
  if (direction === 1) {
55611
- for (const tick16 of $255.get(tickList))
55612
- if (tick16 > current)
55613
- return tick16;
55869
+ for (const tick17 of $255.get(tickList))
55870
+ if (tick17 > current)
55871
+ return tick17;
55614
55872
  return $255.get(tickList).at(-1) ?? current;
55615
55873
  }
55616
55874
  for (let index6 = $255.get(tickList).length - 1;index6 >= 0; index6--) {
55617
- const tick16 = $255.get(tickList)[index6];
55618
- if (tick16 < current)
55619
- return tick16;
55875
+ const tick17 = $255.get(tickList)[index6];
55876
+ if (tick17 < current)
55877
+ return tick17;
55620
55878
  }
55621
55879
  return $255.get(tickList)[0] ?? current;
55622
55880
  }
@@ -55837,11 +56095,11 @@ function Slider($$anchor, $$props) {
55837
56095
  {
55838
56096
  var consequent_1 = ($$anchor2) => {
55839
56097
  var div_3 = root_2112();
55840
- $255.each(div_3, 20, () => $255.get(tickMarks), (tick16) => tick16, ($$anchor3, tick16) => {
56098
+ $255.each(div_3, 20, () => $255.get(tickMarks), (tick17) => tick17, ($$anchor3, tick17) => {
55841
56099
  var span_2 = root_1172();
55842
56100
  let styles_1;
55843
56101
  $255.template_effect(($0) => styles_1 = $255.set_style(span_2, "", styles_1, $0), [
55844
- () => ({ "--_cinder-slider-tick": `${percentOf(tick16) ?? ""}%` })
56102
+ () => ({ "--_cinder-slider-tick": `${percentOf(tick17) ?? ""}%` })
55845
56103
  ]);
55846
56104
  $255.append($$anchor3, span_2);
55847
56105
  });
@@ -55856,7 +56114,7 @@ function Slider($$anchor, $$props) {
55856
56114
  var node_2 = $255.sibling(node_1, 2);
55857
56115
  {
55858
56116
  var consequent_2 = ($$anchor2) => {
55859
- var fragment_1 = root_396();
56117
+ var fragment_1 = root_397();
55860
56118
  var div_4 = $255.first_child(fragment_1);
55861
56119
  let styles_2;
55862
56120
  var div_5 = $255.sibling(div_4, 2);
@@ -56648,7 +56906,7 @@ var rest_excludes128 = new Set([
56648
56906
  var root167 = $256.from_html(`<p class="cinder-source-diff-viewer__empty"> </p>`);
56649
56907
  var root_1173 = $256.from_html(`<div class="cinder-source-diff-viewer__notice" role="status"> </div>`);
56650
56908
  var root_2113 = $256.from_html(`<code> </code>`);
56651
- var root_397 = $256.from_html(`<div class="cinder-source-diff-viewer__metadata" role="group" aria-label="File metadata"></div>`);
56909
+ var root_398 = $256.from_html(`<div class="cinder-source-diff-viewer__metadata" role="group" aria-label="File metadata"></div>`);
56652
56910
  var root_470 = $256.from_html(`<span class="cinder-source-diff-viewer__line-number" aria-hidden="true"> </span> <span class="cinder-source-diff-viewer__line-number" aria-hidden="true"> </span>`, 1);
56653
56911
  var root_555 = $256.from_html(`<div class="cinder-source-diff-viewer__line"><!> <span class="cinder-sr-only"> </span> <code class="cinder-source-diff-viewer__line-code" aria-hidden="true"> </code></div>`);
56654
56912
  var root_640 = $256.from_html(`<div class="cinder-source-diff-viewer__hunk"><div class="cinder-source-diff-viewer__hunk-header"> </div> <section class="cinder-source-diff-viewer__lines"></section></div>`);
@@ -56716,7 +56974,7 @@ function Source_diff_viewer($$anchor, $$props) {
56716
56974
  var node_3 = $256.sibling(header, 2);
56717
56975
  {
56718
56976
  var consequent_2 = ($$anchor4) => {
56719
- var div_2 = root_397();
56977
+ var div_2 = root_398();
56720
56978
  $256.each(div_2, 23, () => $256.get(file).metadata, (metadataLine, metadataIndex) => `${metadataIndex}:${metadataLine}`, ($$anchor5, metadataLine) => {
56721
56979
  var code = root_2113();
56722
56980
  var text_3 = $256.child(code, true);
@@ -56847,7 +57105,7 @@ var rest_excludes129 = new Set([
56847
57105
  var root168 = $257.from_html(`<div class="cinder-stacked-list-item__leading"><!></div>`);
56848
57106
  var root_1174 = $257.from_html(`<a class="cinder-stacked-list-item__title-link"><!></a>`);
56849
57107
  var root_2114 = $257.from_html(`<div class="cinder-stacked-list-item__description"><!></div>`);
56850
- var root_398 = $257.from_html(`<div class="cinder-stacked-list-item__meta"><!></div>`);
57108
+ var root_399 = $257.from_html(`<div class="cinder-stacked-list-item__meta"><!></div>`);
56851
57109
  var root_471 = $257.from_html(`<div class="cinder-stacked-list-item__trailing"><!></div>`);
56852
57110
  var root_556 = $257.from_html(`<li><div class="cinder-stacked-list-item__layout"><!> <div class="cinder-stacked-list-item__body"><div class="cinder-stacked-list-item__title"><!></div> <!> <!></div> <!></div></li>`);
56853
57111
  function Stacked_list_item($$anchor, $$props) {
@@ -56935,7 +57193,7 @@ function Stacked_list_item($$anchor, $$props) {
56935
57193
  var node_7 = $257.sibling(node_5, 2);
56936
57194
  {
56937
57195
  var consequent_3 = ($$anchor2) => {
56938
- var div_5 = root_398();
57196
+ var div_5 = root_399();
56939
57197
  var node_8 = $257.child(div_5);
56940
57198
  $257.snippet(node_8, () => $$props.meta);
56941
57199
  $257.reset(div_5);
@@ -56995,7 +57253,7 @@ var rest_excludes130 = new Set([
56995
57253
  var root169 = $258.from_html(`<p class="cinder-spectrogram__description"> </p>`);
56996
57254
  var root_1175 = $258.from_html(`<div class="cinder-spectrogram__state"><!></div>`);
56997
57255
  var root_2115 = $258.from_svg(`<title> </title>`);
56998
- var root_399 = $258.from_svg(`<rect class="cinder-spectrogram__cell" aria-hidden="true"></rect>`);
57256
+ var root_3100 = $258.from_svg(`<rect class="cinder-spectrogram__cell" aria-hidden="true"></rect>`);
56999
57257
  var root_472 = $258.from_svg(`<text class="cinder-spectrogram__tick-label" text-anchor="end" dominant-baseline="middle"> </text>`);
57000
57258
  var root_557 = $258.from_svg(`<text class="cinder-spectrogram__tick-label" text-anchor="middle" dominant-baseline="auto"> </text>`);
57001
57259
  var root_641 = $258.from_svg(`<g><!><!><!></g>`);
@@ -57168,7 +57426,7 @@ function Spectrogram($$anchor, $$props) {
57168
57426
  var fragment_2 = $258.comment();
57169
57427
  var node_9 = $258.first_child(fragment_2);
57170
57428
  $258.each(node_9, 16, () => $258.get(binIndices), (binIndex) => binIndex, ($$anchor4, binIndex) => {
57171
- var rect = root_399();
57429
+ var rect = root_3100();
57172
57430
  $258.template_effect(($0, $1) => {
57173
57431
  $258.set_attribute(rect, "x", frameIndex * $258.get(cellWidth));
57174
57432
  $258.set_attribute(rect, "y", $0);
@@ -57331,7 +57589,7 @@ var rest_excludes131 = new Set([
57331
57589
  var root170 = $259.from_html(`<p class="cinder-spectrum-chart__description"> </p>`);
57332
57590
  var root_1177 = $259.from_html(`<div class="cinder-spectrum-chart__state"><!></div>`);
57333
57591
  var root_2116 = $259.from_svg(`<title> </title>`);
57334
- var root_3100 = $259.from_svg(`<text class="cinder-spectrum-chart__tick-label" text-anchor="end" dominant-baseline="middle"> </text><line class="cinder-spectrum-chart__grid-line" x1="0" aria-hidden="true"></line>`, 1);
57592
+ var root_3101 = $259.from_svg(`<text class="cinder-spectrum-chart__tick-label" text-anchor="end" dominant-baseline="middle"> </text><line class="cinder-spectrum-chart__grid-line" x1="0" aria-hidden="true"></line>`, 1);
57335
57593
  var root_473 = $259.from_svg(`<rect class="cinder-spectrum-chart__bar" aria-hidden="true"></rect>`);
57336
57594
  var root_558 = $259.from_svg(`<text class="cinder-spectrum-chart__tick-label" text-anchor="middle" dominant-baseline="auto"> </text>`);
57337
57595
  var root_642 = $259.from_svg(`<g><!><!><!></g>`);
@@ -57506,8 +57764,8 @@ function Spectrum_chart($$anchor, $$props) {
57506
57764
  var g = root_642();
57507
57765
  $259.set_attribute(g, "transform", `translate(${marginLeft}, ${marginTop})`);
57508
57766
  var node_8 = $259.child(g);
57509
- $259.each(node_8, 17, () => $259.get(yTicks), $259.index, ($$anchor3, tick16, index8) => {
57510
- var fragment_2 = root_3100();
57767
+ $259.each(node_8, 17, () => $259.get(yTicks), $259.index, ($$anchor3, tick17, index8) => {
57768
+ var fragment_2 = root_3101();
57511
57769
  var text_4 = $259.first_child(fragment_2);
57512
57770
  $259.set_attribute(text_4, "x", -6);
57513
57771
  var text_5 = $259.child(text_4, true);
@@ -57520,10 +57778,10 @@ function Spectrum_chart($$anchor, $$props) {
57520
57778
  $259.set_attribute(line, "y1", $260);
57521
57779
  $259.set_attribute(line, "y2", $310);
57522
57780
  }, [
57523
- () => scaleY($259.get(tick16)),
57524
- () => formatNumericValue($259.get(tick16), undefined, undefined, { index: index8 }),
57525
- () => scaleY($259.get(tick16)),
57526
- () => scaleY($259.get(tick16))
57781
+ () => scaleY($259.get(tick17)),
57782
+ () => formatNumericValue($259.get(tick17), undefined, undefined, { index: index8 }),
57783
+ () => scaleY($259.get(tick17)),
57784
+ () => scaleY($259.get(tick17))
57527
57785
  ]);
57528
57786
  $259.append($$anchor3, fragment_2);
57529
57787
  });
@@ -58069,7 +58327,7 @@ var stepBody = ($$anchor, bodyLabel = $263.noop, bodyDescription = $263.noop, bo
58069
58327
  var root174 = $263.from_html(`<span class="cinder-steps__sr-only"> </span> <span class="cinder-steps__sr-only-separator"></span>`, 1);
58070
58328
  var root_1181 = $263.from_html(`<span class="cinder-steps__description"> </span>`);
58071
58329
  var root_2117 = $263.from_html(`<span class="cinder-steps__body-content"><!> <span class="cinder-steps__label"> </span> <!></span>`);
58072
- var root_3101 = $263.from_html(`<span class="cinder-steps__index"> </span>`);
58330
+ var root_3102 = $263.from_html(`<span class="cinder-steps__index"> </span>`);
58073
58331
  var root_474 = $263.from_html(`<a class="cinder-steps__interactive cinder-steps__body"><!></a>`);
58074
58332
  var root_559 = $263.from_html(`<button type="button" class="cinder-steps__interactive cinder-steps__body"><!></button>`);
58075
58333
  var root_643 = $263.from_html(`<span class="cinder-steps__body"><!></span>`);
@@ -58110,7 +58368,7 @@ function Steps($$anchor, $$props) {
58110
58368
  Check($$anchor3, { class: "cinder-steps__check" });
58111
58369
  };
58112
58370
  var alternate = ($$anchor3) => {
58113
- var span_6 = root_3101();
58371
+ var span_6 = root_3102();
58114
58372
  var text_4 = $263.child(span_6, true);
58115
58373
  $263.reset(span_6);
58116
58374
  $263.template_effect(() => $263.set_text(text_4, $263.get(index8) + 1));
@@ -58222,7 +58480,7 @@ var rest_excludes135 = new Set([
58222
58480
  var root175 = $264.from_html(`<span class="cinder-stat__icon" aria-hidden="true"><!></span>`);
58223
58481
  var root_1182 = $264.from_html(`<span class="cinder-stat__change-description" aria-hidden="true"> </span>`);
58224
58482
  var root_2118 = $264.from_html(`<span class="cinder-stat__change"><span class="cinder-sr-only"> </span> <span class="cinder-stat__change-icon" aria-hidden="true"> </span> <span class="cinder-stat__change-value" aria-hidden="true"> </span> <!></span>`);
58225
- var root_3102 = $264.from_html(`<div><!> <span class="cinder-stat__label"> </span> <span class="cinder-stat__value"> </span> <!></div>`);
58483
+ var root_3103 = $264.from_html(`<div><!> <span class="cinder-stat__label"> </span> <span class="cinder-stat__value"> </span> <!></div>`);
58226
58484
  function Stat($$anchor, $$props) {
58227
58485
  const generatedId = $264.props_id();
58228
58486
  $264.push($$props, true);
@@ -58245,7 +58503,7 @@ function Stat($$anchor, $$props) {
58245
58503
  return `decreased by ${$$props.change.value}${suffix}`;
58246
58504
  return `no change, ${$$props.change.value}${suffix}`;
58247
58505
  });
58248
- var div = root_3102();
58506
+ var div = root_3103();
58249
58507
  $264.attribute_effect(div, ($0) => ({
58250
58508
  ...rest,
58251
58509
  id: $$props.id,
@@ -58577,7 +58835,7 @@ import"@lostgradient/cinder/tag-input/styles";
58577
58835
  // src/components/tag-input/tag-input.svelte
58578
58836
  import"svelte/internal/disclose-version";
58579
58837
  import * as $268 from "svelte/internal/client";
58580
- import { flushSync, tick as tick16, untrack as untrack28 } from "svelte";
58838
+ import { flushSync, tick as tick17, untrack as untrack28 } from "svelte";
58581
58839
  var rest_excludes139 = new Set([
58582
58840
  "$$slots",
58583
58841
  "$$events",
@@ -58608,7 +58866,7 @@ var rest_excludes139 = new Set([
58608
58866
  var root179 = $268.from_html(`<button type="button" class="cinder-tag-input__remove"><span aria-hidden="true">×</span></button>`);
58609
58867
  var root_1184 = $268.from_html(`<li class="cinder-tag-input__chip"><span class="cinder-tag-input__chip-label"> </span> <!></li>`);
58610
58868
  var root_2120 = $268.from_html(`<p class="cinder-tag-input__error" aria-live="polite"> </p>`);
58611
- var root_3103 = $268.from_html(`<input type="hidden"/>`);
58869
+ var root_3104 = $268.from_html(`<input type="hidden"/>`);
58612
58870
  var root_475 = $268.from_html(`<div><div class="cinder-tag-input__control"><ul class="cinder-tag-input__listbox"></ul> <input/></div> <!> <!> <!></div>`);
58613
58871
  function Tag_input($$anchor, $$props) {
58614
58872
  const generatedId = $268.props_id();
@@ -58700,12 +58958,12 @@ function Tag_input($$anchor, $$props) {
58700
58958
  return Array.from($268.get(rootElement)?.querySelectorAll(".cinder-tag-input__remove") ?? []);
58701
58959
  }
58702
58960
  async function focusChip(index8) {
58703
- await tick16();
58961
+ await tick17();
58704
58962
  const chip = getChipElements()[index8];
58705
58963
  chip?.focus();
58706
58964
  }
58707
58965
  async function focusInput() {
58708
- await tick16();
58966
+ await tick17();
58709
58967
  $268.get(inputElement)?.focus();
58710
58968
  }
58711
58969
  function setTags(nextTags) {
@@ -58914,7 +59172,7 @@ function Tag_input($$anchor, $$props) {
58914
59172
  var fragment = $268.comment();
58915
59173
  var node_3 = $268.first_child(fragment);
58916
59174
  $268.each(node_3, 19, () => $268.get(currentTags), (tag, index8) => `hidden:${index8}:${tag}`, ($$anchor3, tag) => {
58917
- var input_2 = root_3103();
59175
+ var input_2 = root_3104();
58918
59176
  $268.remove_input_defaults(input_2);
58919
59177
  $268.template_effect(() => {
58920
59178
  $268.set_attribute(input_2, "name", $$props.name);
@@ -58980,7 +59238,7 @@ var rest_excludes140 = new Set([
58980
59238
  var root180 = $269.from_html(`<p class="cinder-team-section__description"> </p>`);
58981
59239
  var root_1185 = $269.from_html(`<header class="cinder-team-section__header"><h2 class="cinder-team-section__title"> </h2> <!></header>`);
58982
59240
  var root_2121 = $269.from_html(`<div class="cinder-team-section__summary"><!></div>`);
58983
- var root_3104 = $269.from_html(`<p class="cinder-team-section__bio"> </p>`);
59241
+ var root_3105 = $269.from_html(`<p class="cinder-team-section__bio"> </p>`);
58984
59242
  var root_476 = $269.from_html(`<a class="cinder-team-section__link">View profile</a>`);
58985
59243
  var root_560 = $269.from_html(`<div class="cinder-team-section__person"><!> <div class="cinder-team-section__meta"><p class="cinder-team-section__name"> </p> <p class="cinder-team-section__role"> </p></div></div> <!> <!>`, 1);
58986
59244
  var root_644 = $269.from_html(`<li class="cinder-team-section__item"><!></li>`);
@@ -59082,7 +59340,7 @@ function Team_section($$anchor, $$props) {
59082
59340
  var node_7 = $269.sibling(div_2, 2);
59083
59341
  {
59084
59342
  var consequent_3 = ($$anchor6) => {
59085
- var p_3 = root_3104();
59343
+ var p_3 = root_3105();
59086
59344
  var text_4 = $269.child(p_3, true);
59087
59345
  $269.reset(p_3);
59088
59346
  $269.template_effect(() => $269.set_text(text_4, $269.get(member).bio));
@@ -59660,7 +59918,7 @@ var rest_excludes142 = new Set([
59660
59918
  var root182 = $271.from_html(`<p class="cinder-testimonial-section__description"> </p>`);
59661
59919
  var root_1187 = $271.from_html(`<header class="cinder-testimonial-section__header"><h2 class="cinder-testimonial-section__title"> </h2> <!></header>`);
59662
59920
  var root_2123 = $271.from_html(`<p class="cinder-testimonial-section__role"> </p>`);
59663
- var root_3105 = $271.from_html(`<blockquote class="cinder-testimonial-section__quote"> </blockquote> <div class="cinder-testimonial-section__person"><!> <div class="cinder-testimonial-section__person-meta"><p class="cinder-testimonial-section__name"> </p> <!></div></div>`, 1);
59921
+ var root_3106 = $271.from_html(`<blockquote class="cinder-testimonial-section__quote"> </blockquote> <div class="cinder-testimonial-section__person"><!> <div class="cinder-testimonial-section__person-meta"><p class="cinder-testimonial-section__name"> </p> <!></div></div>`, 1);
59664
59922
  var root_477 = $271.from_html(`<li class="cinder-testimonial-section__item"><!></li>`);
59665
59923
  var root_561 = $271.from_html(`<div class="cinder-testimonial-section__inner"><!> <ul class="cinder-testimonial-section__list"></ul></div>`);
59666
59924
  function Testimonial_section($$anchor, $$props) {
@@ -59723,7 +59981,7 @@ function Testimonial_section($$anchor, $$props) {
59723
59981
  var node_3 = $271.child(li);
59724
59982
  Card(node_3, {
59725
59983
  children: ($$anchor5, $$slotProps2) => {
59726
- var fragment_2 = root_3105();
59984
+ var fragment_2 = root_3106();
59727
59985
  var blockquote = $271.first_child(fragment_2);
59728
59986
  var text_2 = $271.child(blockquote);
59729
59987
  $271.reset(blockquote);
@@ -59796,7 +60054,7 @@ var getToastContext = getToastContextStrict;
59796
60054
  var root183 = $272.from_html(`<div class="cinder-toast__icon" aria-hidden="true"><!></div>`);
59797
60055
  var root_1188 = $272.from_svg(`<svg viewBox="0 0 20 20" fill="currentColor" style="color: var(--_cinder-toast-accent)"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg>`);
59798
60056
  var root_2124 = $272.from_svg(`<svg viewBox="0 0 20 20" fill="currentColor" style="color: var(--_cinder-toast-accent)"><path fill-rule="evenodd" d="M8.485 2.495c.673-1.167 2.357-1.167 3.03 0l6.28 10.875c.673 1.167-.17 2.625-1.516 2.625H3.72c-1.347 0-2.189-1.458-1.515-2.625L8.485 2.495zM10 5a.75.75 0 01.75.75v3.5a.75.75 0 01-1.5 0v-3.5A.75.75 0 0110 5zm0 9a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>`);
59799
- var root_3106 = $272.from_svg(`<svg viewBox="0 0 20 20" fill="currentColor" style="color: var(--_cinder-toast-accent)"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z" clip-rule="evenodd"></path></svg>`);
60057
+ var root_3107 = $272.from_svg(`<svg viewBox="0 0 20 20" fill="currentColor" style="color: var(--_cinder-toast-accent)"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zM8.28 7.22a.75.75 0 00-1.06 1.06L8.94 10l-1.72 1.72a.75.75 0 101.06 1.06L10 11.06l1.72 1.72a.75.75 0 101.06-1.06L11.06 10l1.72-1.72a.75.75 0 00-1.06-1.06L10 8.94 8.28 7.22z" clip-rule="evenodd"></path></svg>`);
59800
60058
  var root_478 = $272.from_svg(`<svg viewBox="0 0 20 20" fill="currentColor" style="color: var(--_cinder-toast-accent)"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg>`);
59801
60059
  var root_562 = $272.from_html(`<span class="cinder-toast__spinner" aria-hidden="true"></span>`);
59802
60060
  var root_645 = $272.from_html(`<button type="button" class="cinder-toast__action"> </button>`);
@@ -59831,7 +60089,7 @@ function Toast_region($$anchor, $$props) {
59831
60089
  $272.append($$anchor4, svg_1);
59832
60090
  };
59833
60091
  var consequent_3 = ($$anchor4) => {
59834
- var svg_2 = root_3106();
60092
+ var svg_2 = root_3107();
59835
60093
  $272.append($$anchor4, svg_2);
59836
60094
  };
59837
60095
  var alternate = ($$anchor4) => {
@@ -60441,7 +60699,7 @@ import"@lostgradient/cinder/transfer-list/styles";
60441
60699
  // src/components/transfer-list/transfer-list.svelte
60442
60700
  import"svelte/internal/disclose-version";
60443
60701
  import * as $273 from "svelte/internal/client";
60444
- import { tick as tick17 } from "svelte";
60702
+ import { tick as tick18 } from "svelte";
60445
60703
  import { SvelteSet as SvelteSet3 } from "svelte/reactivity";
60446
60704
  var rest_excludes143 = new Set([
60447
60705
  "$$slots",
@@ -60457,7 +60715,7 @@ var rest_excludes143 = new Set([
60457
60715
  var root184 = $273.from_html(`<li class="cinder-transfer-list__option" role="option"> </li>`);
60458
60716
  var root_1189 = $273.from_html(`<li class="cinder-transfer-list__empty" role="presentation">No available items</li>`);
60459
60717
  var root_2125 = $273.from_html(`<li class="cinder-transfer-list__empty" role="presentation">No selected items</li>`);
60460
- var root_3107 = $273.from_html(`<div><div class="cinder-transfer-list__layout"><section class="cinder-transfer-list__panel"><h3 class="cinder-transfer-list__label"> </h3> <ul class="cinder-transfer-list__list" role="listbox" aria-multiselectable="true" tabindex="0"></ul></section> <div class="cinder-transfer-list__controls" role="group" aria-label="Transfer controls"><button type="button" class="cinder-transfer-list__control">Add</button> <button type="button" class="cinder-transfer-list__control">Add all</button> <button type="button" class="cinder-transfer-list__control">Remove</button> <button type="button" class="cinder-transfer-list__control">Remove all</button></div> <section class="cinder-transfer-list__panel"><h3 class="cinder-transfer-list__label"> </h3> <ul class="cinder-transfer-list__list" role="listbox" aria-multiselectable="true" tabindex="0"></ul></section></div> <div role="alert" aria-atomic="true" class="cinder-sr-only"> </div></div>`);
60718
+ var root_3108 = $273.from_html(`<div><div class="cinder-transfer-list__layout"><section class="cinder-transfer-list__panel"><h3 class="cinder-transfer-list__label"> </h3> <ul class="cinder-transfer-list__list" role="listbox" aria-multiselectable="true" tabindex="0"></ul></section> <div class="cinder-transfer-list__controls" role="group" aria-label="Transfer controls"><button type="button" class="cinder-transfer-list__control">Add</button> <button type="button" class="cinder-transfer-list__control">Add all</button> <button type="button" class="cinder-transfer-list__control">Remove</button> <button type="button" class="cinder-transfer-list__control">Remove all</button></div> <section class="cinder-transfer-list__panel"><h3 class="cinder-transfer-list__label"> </h3> <ul class="cinder-transfer-list__list" role="listbox" aria-multiselectable="true" tabindex="0"></ul></section></div> <div role="alert" aria-atomic="true" class="cinder-sr-only"> </div></div>`);
60461
60719
  function Transfer_list($$anchor, $$props) {
60462
60720
  const baseId = $273.props_id();
60463
60721
  $273.push($$props, true);
@@ -60569,7 +60827,7 @@ function Transfer_list($$anchor, $$props) {
60569
60827
  return;
60570
60828
  commitValue2([...$273.get(knownValue), ...$273.get(movableLeftSelectedIds)], `${$273.get(movableLeftSelectedIds).length} ${pluralize($273.get(movableLeftSelectedIds).length)} moved to ${rightLabel()}.`);
60571
60829
  $273.set(leftSelectedIds, [], true);
60572
- await tick17();
60830
+ await tick18();
60573
60831
  focusList($273.get(leftItems).some((item) => canMoveItem("left", item)) ? "left" : "right");
60574
60832
  }
60575
60833
  async function moveAllRight() {
@@ -60577,7 +60835,7 @@ function Transfer_list($$anchor, $$props) {
60577
60835
  return;
60578
60836
  commitValue2([...$273.get(knownValue), ...$273.get(movableLeftItemIds)], `${$273.get(movableLeftItemIds).length} ${pluralize($273.get(movableLeftItemIds).length)} moved to ${rightLabel()}.`);
60579
60837
  $273.set(leftSelectedIds, [], true);
60580
- await tick17();
60838
+ await tick18();
60581
60839
  focusList("right");
60582
60840
  }
60583
60841
  async function moveSelectedLeft() {
@@ -60586,7 +60844,7 @@ function Transfer_list($$anchor, $$props) {
60586
60844
  const removing = new Set($273.get(movableRightSelectedIds));
60587
60845
  commitValue2($273.get(knownValue).filter((id) => !removing.has(id)), `${$273.get(movableRightSelectedIds).length} ${pluralize($273.get(movableRightSelectedIds).length)} moved to ${leftLabel()}.`);
60588
60846
  $273.set(rightSelectedIds, [], true);
60589
- await tick17();
60847
+ await tick18();
60590
60848
  focusList($273.get(rightItems).length > 0 ? "right" : "left");
60591
60849
  }
60592
60850
  async function moveAllLeft() {
@@ -60595,7 +60853,7 @@ function Transfer_list($$anchor, $$props) {
60595
60853
  const removing = new Set($273.get(movableRightItemIds));
60596
60854
  commitValue2($273.get(knownValue).filter((id) => !removing.has(id)), `${$273.get(movableRightItemIds).length} ${pluralize($273.get(movableRightItemIds).length)} moved to ${leftLabel()}.`);
60597
60855
  $273.set(rightSelectedIds, [], true);
60598
- await tick17();
60856
+ await tick18();
60599
60857
  focusList("left");
60600
60858
  }
60601
60859
  function toggleId(side, id) {
@@ -60687,7 +60945,7 @@ function Transfer_list($$anchor, $$props) {
60687
60945
  moveSelectedLeft();
60688
60946
  }
60689
60947
  }
60690
- var div = root_3107();
60948
+ var div = root_3108();
60691
60949
  $273.attribute_effect(div, ($0) => ({ ...rest, class: $0 }), [() => classNames("cinder-transfer-list", $$props.class)]);
60692
60950
  var div_1 = $273.child(div);
60693
60951
  var section = $273.child(div_1);
@@ -61753,10 +62011,10 @@ $281.delegate(["click"]);
61753
62011
  // src/components/tree-item/tree-item.svelte
61754
62012
  import"svelte/internal/disclose-version";
61755
62013
  import * as $282 from "svelte/internal/client";
61756
- import { tick as tick18, untrack as untrack30 } from "svelte";
62014
+ import { tick as tick19, untrack as untrack30 } from "svelte";
61757
62015
  var root_1193 = $282.from_html(`<mark aria-hidden="true" class="cinder-tree-item__highlight"> </mark>`);
61758
62016
  var root_2126 = $282.from_html(`<button type="button" class="cinder-tree-item__disclosure" tabindex="-1"><span aria-hidden="true"></span></button>`);
61759
- var root_3108 = $282.from_html(`<span class="cinder-tree-item__disclosure-spacer" aria-hidden="true"></span>`);
62017
+ var root_3109 = $282.from_html(`<span class="cinder-tree-item__disclosure-spacer" aria-hidden="true"></span>`);
61760
62018
  var root_479 = $282.from_html(`<button type="button" class="cinder-tree-item__drag-handle" tabindex="-1"><span aria-hidden="true">::</span></button>`);
61761
62019
  var root_563 = $282.from_html(`<input type="text" class="cinder-tree-item__rename-input"/>`);
61762
62020
  var root_646 = $282.from_html(`<input type="checkbox" class="cinder-tree-item__checkbox" tabindex="-1" aria-hidden="true"/> <span aria-hidden="true" class="cinder-tree-item__label cinder-_truncate"><!></span>`, 1);
@@ -61865,7 +62123,7 @@ function Tree_item($$anchor, $$props) {
61865
62123
  if (!$282.get(shouldProbeFilterChildren))
61866
62124
  return;
61867
62125
  const filterValueAtProbeStart = context.filterValue;
61868
- tick18().then(() => {
62126
+ tick19().then(() => {
61869
62127
  if (context.filtering && context.filterValue === filterValueAtProbeStart) {
61870
62128
  $282.set(probedFilterValue, filterValueAtProbeStart, true);
61871
62129
  }
@@ -62375,7 +62633,7 @@ function Tree_item($$anchor, $$props) {
62375
62633
  $282.append($$anchor2, button);
62376
62634
  };
62377
62635
  var alternate_1 = ($$anchor2) => {
62378
- var span_1 = root_3108();
62636
+ var span_1 = root_3109();
62379
62637
  $282.append($$anchor2, span_1);
62380
62638
  };
62381
62639
  $282.if(node_3, ($$render) => {
@@ -62567,7 +62825,7 @@ $282.delegate(["keydown", "click", "pointerdown", "dblclick"]);
62567
62825
  // src/components/tree/tree.svelte
62568
62826
  import"svelte/internal/disclose-version";
62569
62827
  import * as $286 from "svelte/internal/client";
62570
- import { tick as tick19, untrack as untrack31 } from "svelte";
62828
+ import { tick as tick20, untrack as untrack31 } from "svelte";
62571
62829
  import { SvelteSet as SvelteSet4 } from "svelte/reactivity";
62572
62830
 
62573
62831
  // src/_internal/tree-data.ts
@@ -63259,7 +63517,7 @@ var rest_excludes149 = new Set([
63259
63517
  var root193 = $286.from_html(`<button type="button" class="cinder-tree-item__disclosure" tabindex="-1"><span aria-hidden="true"></span></button>`);
63260
63518
  var root_1194 = $286.from_html(`<span class="cinder-tree-item__disclosure-spacer" aria-hidden="true"></span>`);
63261
63519
  var root_2127 = $286.from_html(`<input type="checkbox" class="cinder-tree-item__checkbox" tabindex="-1" aria-hidden="true"/>`);
63262
- var root_3109 = $286.from_html(`<span class="cinder-tree-item__label cinder-_truncate"> </span>`);
63520
+ var root_3110 = $286.from_html(`<span class="cinder-tree-item__label cinder-_truncate"> </span>`);
63263
63521
  var root_480 = $286.from_html(`<div role="treeitem" class="cinder-tree-item cinder-tree-item--virtual" tabindex="-1"><div class="cinder-tree-item__row"><!> <!> <!></div></div>`);
63264
63522
  var root_564 = $286.from_html(`<div class="cinder-tree__virtual-spacer"></div>`);
63265
63523
  var root_647 = $286.from_html(`<div><!></div>`);
@@ -63347,7 +63605,7 @@ function Tree($$anchor, $$props) {
63347
63605
  $286.append($$anchor4, fragment);
63348
63606
  };
63349
63607
  var alternate_1 = ($$anchor4) => {
63350
- var span_1 = root_3109();
63608
+ var span_1 = root_3110();
63351
63609
  var text46 = $286.child(span_1, true);
63352
63610
  $286.reset(span_1);
63353
63611
  $286.template_effect(() => $286.set_text(text46, $286.get(item).label));
@@ -63675,7 +63933,7 @@ function Tree($$anchor, $$props) {
63675
63933
  if (!id)
63676
63934
  return;
63677
63935
  virtualizer.scrollToIndex(index8, { align: "auto" });
63678
- await tick19();
63936
+ await tick20();
63679
63937
  $286.set(focusedId, id, true);
63680
63938
  $286.get(treeElement)?.focus();
63681
63939
  }
@@ -63737,7 +63995,7 @@ function Tree($$anchor, $$props) {
63737
63995
  const nextIds = withExpandedIds($286.get(expandableBranchIds));
63738
63996
  if (nextIds.length !== expandedIds().length) {
63739
63997
  expandedIds(nextIds);
63740
- await tick19();
63998
+ await tick20();
63741
63999
  announceExpansion("All items expanded.");
63742
64000
  }
63743
64001
  return;
@@ -63749,7 +64007,7 @@ function Tree($$anchor, $$props) {
63749
64007
  break;
63750
64008
  expandedIds(nextIds);
63751
64009
  changed = true;
63752
- await tick19();
64010
+ await tick20();
63753
64011
  }
63754
64012
  if (changed)
63755
64013
  announceExpansion("All items expanded.");
@@ -63782,7 +64040,7 @@ function Tree($$anchor, $$props) {
63782
64040
  const nextIds2 = withExpandedIds(item.ancestorIds);
63783
64041
  if (nextIds2.length !== expandedIds().length) {
63784
64042
  expandedIds(nextIds2);
63785
- await tick19();
64043
+ await tick20();
63786
64044
  }
63787
64045
  focusItem(id);
63788
64046
  return;
@@ -63792,7 +64050,7 @@ function Tree($$anchor, $$props) {
63792
64050
  const nextIds = withExpandedIds(registry.ancestorsOf(id));
63793
64051
  if (nextIds.length !== expandedIds().length) {
63794
64052
  expandedIds(nextIds);
63795
- await tick19();
64053
+ await tick20();
63796
64054
  }
63797
64055
  focusItem(id);
63798
64056
  }
@@ -64572,7 +64830,7 @@ import"@lostgradient/cinder/virtual-list/styles";
64572
64830
  // src/components/virtual-list/virtual-list.svelte
64573
64831
  import"svelte/internal/disclose-version";
64574
64832
  import * as $288 from "svelte/internal/client";
64575
- import { tick as tick20 } from "svelte";
64833
+ import { tick as tick21 } from "svelte";
64576
64834
  var rest_excludes151 = new Set([
64577
64835
  "$$slots",
64578
64836
  "$$events",
@@ -64645,7 +64903,7 @@ function Virtual_list($$anchor, $$props) {
64645
64903
  const element32 = $288.get(scrollElement);
64646
64904
  if (!stickToBottom() || !shouldStickAfterAppend || !element32)
64647
64905
  return;
64648
- tick20().then(() => {
64906
+ tick21().then(() => {
64649
64907
  element32.scrollTop = maxScrollOffset(itemCount * $288.get(resolvedItemHeight), $288.get(viewportHeight));
64650
64908
  syncViewport(element32);
64651
64909
  shouldStickAfterAppend = false;
@@ -64750,7 +65008,7 @@ var rest_excludes152 = new Set([
64750
65008
  var root195 = $289.from_html(`<p class="cinder-waveform__description"> </p>`);
64751
65009
  var root_1196 = $289.from_html(`<div class="cinder-waveform__state"><!></div>`);
64752
65010
  var root_2128 = $289.from_svg(`<title> </title>`);
64753
- var root_3110 = $289.from_svg(`<rect class="cinder-waveform__bar" aria-hidden="true"></rect>`);
65011
+ var root_3111 = $289.from_svg(`<rect class="cinder-waveform__bar" aria-hidden="true"></rect>`);
64754
65012
  var root_481 = $289.from_svg(`<path class="cinder-waveform__path" aria-hidden="true"></path>`);
64755
65013
  var root_565 = $289.from_svg(`<line class="cinder-waveform__baseline" x1="0" aria-hidden="true"></line><!>`, 1);
64756
65014
  var root_648 = $289.from_html(`<tr><td> </td><td> </td></tr>`);
@@ -64974,7 +65232,7 @@ function Waveform($$anchor, $$props) {
64974
65232
  var fragment_3 = $289.comment();
64975
65233
  var node_9 = $289.first_child(fragment_3);
64976
65234
  $289.each(node_9, 17, () => $289.get(waveformBars), $289.index, ($$anchor4, bar) => {
64977
- var rect = root_3110();
65235
+ var rect = root_3111();
64978
65236
  $289.template_effect(() => {
64979
65237
  $289.set_attribute(rect, "x", $289.get(bar).x);
64980
65238
  $289.set_attribute(rect, "y", $289.get(bar).y);
@@ -65670,4 +65928,4 @@ export {
65670
65928
  AccessGateExport as AccessGate
65671
65929
  };
65672
65930
 
65673
- //# debugId=DAB679AB6DB8398E64756E2164756E21
65931
+ //# debugId=D46DC87530A0430C64756E2164756E21