@omniviewdev/editors 3.0.0 → 3.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/editors.css CHANGED
@@ -1 +1 @@
1
- ._Root_1729c_1{position:relative;overflow:hidden;box-sizing:border-box;border-radius:var(--ov-radius-sm, 4px);border:1px solid var(--ov-color-editor-border, var(--ov-color-border-default));background:var(--ov-color-editor-bg, var(--ov-color-bg-surface));height:var(--_editor-height);width:var(--_editor-width)}._Root_1729c_1[data-borderless]{border:none;border-radius:0}._Inner_1729c_17{height:100%;width:100%}._Loading_1729c_22{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:var(--ov-color-fg-muted);font-family:var(--ov-font-family-sans, sans-serif);font-size:var(--ov-font-size-sm, 13px)}._Root_1ltbg_1{position:relative;overflow:hidden;box-sizing:border-box;border-radius:var(--ov-radius-sm, 4px);border:1px solid var(--ov-color-editor-border, var(--ov-color-border-default));background:var(--ov-color-editor-bg, var(--ov-color-bg-surface));height:var(--_diff-height, 100%)}._Root_1ltbg_1[data-borderless]{border:none;border-radius:0}._Inner_1ltbg_16{height:100%;width:100%}._Loading_1ltbg_21{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:var(--ov-color-fg-muted);font-family:var(--ov-font-family-sans, sans-serif);font-size:var(--ov-font-size-sm, 13px)}._Root_1s8vo_1{width:100%;height:100%;overflow:hidden;background:var(--ov-color-terminal-bg, var(--ov-color-bg-surface));border:1px solid var(--ov-color-terminal-border, var(--ov-color-border-default));border-radius:var(--ov-radius-sm, 4px);padding:var(--ov-space-1, 4px);font-family:var(--ov-font-family-mono, monospace)}._Root_1q0x1_1{color:var(--ov-color-editor-fg, var(--ov-color-fg-default));font-family:var(--ov-font-family-sans, sans-serif);font-size:var(--ov-font-size-md, 14px);line-height:var(--ov-line-height-md, 1.6);padding:var(--ov-space-3, 12px);overflow-y:auto}._Root_1q0x1_1 h1,._Root_1q0x1_1 h2,._Root_1q0x1_1 h3,._Root_1q0x1_1 h4,._Root_1q0x1_1 h5,._Root_1q0x1_1 h6{color:var(--ov-color-fg-default);font-weight:var(--ov-font-weight-bold, 600);margin-top:var(--ov-space-4, 16px);margin-bottom:var(--ov-space-2, 8px)}._Root_1q0x1_1 h1{font-size:var(--ov-font-size-2xl, 24px);border-bottom:1px solid var(--ov-color-border-default);padding-bottom:var(--ov-space-2, 8px)}._Root_1q0x1_1 h2{font-size:var(--ov-font-size-xl, 20px);border-bottom:1px solid var(--ov-color-border-default);padding-bottom:var(--ov-space-1, 4px)}._Root_1q0x1_1 h3{font-size:var(--ov-font-size-lg, 16px)}._Root_1q0x1_1 p{margin-top:0;margin-bottom:var(--ov-space-3, 12px)}._Root_1q0x1_1 ul,._Root_1q0x1_1 ol{margin-top:0;margin-bottom:var(--ov-space-3, 12px);padding-left:var(--ov-space-5, 24px)}._Root_1q0x1_1 li{margin-bottom:var(--ov-space-1, 4px)}._Root_1q0x1_1 figure{margin:0 0 var(--ov-space-3, 12px) 0}._Root_1q0x1_1 blockquote>p:last-child{margin-bottom:0}._Root_1q0x1_1 blockquote{margin-bottom:var(--ov-space-3, 12px)}._Root_1q0x1_1 .ov-md-checkbox{display:inline-grid;width:auto;vertical-align:middle;margin-right:var(--ov-space-1, 4px)}._Root_1q0x1_1 li:has(>.ov-md-checkbox){list-style:none}._Root_1q0x1_1 img{max-width:100%;height:auto;border-radius:var(--ov-radius-sm, 4px)}._Root_1q0x1_1 [data-ov-component=accordion]{margin-bottom:var(--ov-space-3, 12px)}._Loading_1q0x1_92{display:flex;align-items:center;justify-content:center;padding:var(--ov-space-4, 16px);color:var(--ov-color-fg-muted);font-size:var(--ov-font-size-sm, 13px)}._Overlay_1mqkc_1{position:fixed;inset:0;z-index:var(--ov-z-modal, 1000);display:flex;justify-content:center;padding-top:20vh;background:var(--ov-color-overlay-bg, rgba(0, 0, 0, .4))}._Root_1mqkc_11{width:min(600px,90vw);max-height:60vh;display:flex;flex-direction:column;background:var(--ov-color-quickpick-bg, var(--ov-color-bg-surface));border:1px solid var(--ov-color-quickpick-border, var(--ov-color-border-default));border-radius:var(--ov-radius-md, 8px);box-shadow:var(--ov-color-quickpick-shadow, 0 8px 32px rgba(0, 0, 0, .4));overflow:hidden}._CommandList_1mqkc_24{min-height:0;flex:1 1 auto}._Results_1mqkc_29{max-block-size:none}._Root_11wha_1{font-family:var(--ov-font-family-mono, monospace);font-size:var(--ov-font-size-sm, 13px);line-height:1.5;color:var(--ov-color-editor-fg, var(--ov-color-fg-default));background:var(--ov-color-editor-bg, var(--ov-color-bg-surface));border:1px solid var(--ov-color-editor-border, var(--ov-color-border-default));border-radius:var(--ov-radius-sm, 4px);overflow:auto}._Toolbar_11wha_12{display:flex;align-items:center;gap:var(--ov-space-2, 8px);padding:var(--ov-space-2, 8px);border-bottom:1px solid var(--ov-color-border-default)}._SearchInput_11wha_20{flex:1;padding:var(--ov-space-1, 4px) var(--ov-space-2, 8px);background:var(--ov-color-input-bg, transparent);color:var(--ov-color-input-fg, var(--ov-color-fg-default));border:1px solid var(--ov-color-input-border, var(--ov-color-border-default));border-radius:var(--ov-radius-sm, 4px);font-family:inherit;font-size:inherit;outline:none}._SearchInput_11wha_20::placeholder{color:var(--ov-color-input-placeholder, var(--ov-color-fg-muted))}._SearchInput_11wha_20:focus-visible{outline:2px solid var(--ov-color-border-focus, var(--ov-color-fg-accent, #007fd4));outline-offset:-1px}._CopyButton_11wha_41{padding:var(--ov-space-1, 4px) var(--ov-space-2, 8px);background:var(--ov-color-button-secondary-bg, var(--ov-color-bg-subtle));color:var(--ov-color-button-secondary-fg, var(--ov-color-fg-default));border:1px solid var(--ov-color-border-default);border-radius:var(--ov-radius-sm, 4px);font-size:var(--ov-font-size-xs, 11px);cursor:pointer}._CopyButton_11wha_41:hover{background:var(--ov-color-button-secondary-hover-bg, var(--ov-color-bg-subtle))}._Tree_11wha_55{padding:var(--ov-space-2, 8px)}._Row_11wha_63{display:flex;align-items:center;padding:1px 0;padding-left:var(--_inspector-depth-indent, 0);cursor:default;white-space:nowrap}._Row_11wha_63:hover{background:var(--ov-color-list-hover-bg, var(--ov-color-bg-subtle))}._RowHighlight_11wha_76{background:var(--ov-color-editor-find-match-bg, rgba(255, 255, 0, .15))}._Chevron_11wha_80{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;font-size:10px;color:var(--ov-color-fg-muted);transition:transform var(--ov-duration-fast, .1s) var(--ov-ease-standard, ease);cursor:pointer}._ChevronExpanded_11wha_93{transform:rotate(90deg)}._ChevronSpacer_11wha_97{display:inline-block;width:16px;flex-shrink:0}._Key_11wha_103{color:var(--ov-syntax-property, var(--ov-color-fg-default))}._Colon_11wha_107{color:var(--ov-syntax-punctuation, var(--ov-color-fg-muted))}._Value_11wha_111[data-type=string]{color:var(--ov-syntax-string, var(--ov-color-fg-accent, currentColor))}._Value_11wha_111[data-type=number]{color:var(--ov-syntax-number, var(--ov-color-fg-success, currentColor))}._Value_11wha_111[data-type=boolean]{color:var(--ov-syntax-keyword, var(--ov-color-fg-info, currentColor))}._Value_11wha_111[data-type=null],._Value_11wha_111[data-type=undefined]{color:var(--ov-syntax-keyword, var(--ov-color-fg-info, currentColor));font-style:italic}._Preview_11wha_129{color:var(--ov-color-fg-muted);font-style:italic}._Comma_11wha_134{color:var(--ov-syntax-punctuation, var(--ov-color-fg-muted))}
1
+ ._Root_1729c_1{position:relative;overflow:hidden;box-sizing:border-box;border-radius:var(--ov-radius-sm, 4px);border:1px solid var(--ov-color-editor-border, var(--ov-color-border-default));background:var(--ov-color-editor-bg, var(--ov-color-bg-surface));height:var(--_editor-height);width:var(--_editor-width)}._Root_1729c_1[data-borderless]{border:none;border-radius:0}._Inner_1729c_17{height:100%;width:100%}._Loading_1729c_22{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:var(--ov-color-fg-muted);font-family:var(--ov-font-family-sans, sans-serif);font-size:var(--ov-font-size-sm, 13px)}._Root_1ltbg_1{position:relative;overflow:hidden;box-sizing:border-box;border-radius:var(--ov-radius-sm, 4px);border:1px solid var(--ov-color-editor-border, var(--ov-color-border-default));background:var(--ov-color-editor-bg, var(--ov-color-bg-surface));height:var(--_diff-height, 100%)}._Root_1ltbg_1[data-borderless]{border:none;border-radius:0}._Inner_1ltbg_16{height:100%;width:100%}._Loading_1ltbg_21{display:flex;align-items:center;justify-content:center;height:100%;width:100%;color:var(--ov-color-fg-muted);font-family:var(--ov-font-family-sans, sans-serif);font-size:var(--ov-font-size-sm, 13px)}._Root_1s8vo_1{width:100%;height:100%;overflow:hidden;background:var(--ov-color-terminal-bg, var(--ov-color-bg-surface));border:1px solid var(--ov-color-terminal-border, var(--ov-color-border-default));border-radius:var(--ov-radius-sm, 4px);padding:var(--ov-space-1, 4px);font-family:var(--ov-font-family-mono, monospace)}._Root_1wl3o_1{color:var(--ov-color-editor-fg, var(--ov-color-fg-default));font-family:var(--ov-font-family-sans, sans-serif);font-size:var(--ov-font-size-md, 14px);line-height:var(--ov-line-height-md, 1.6);padding:var(--ov-space-3, 12px);overflow-y:auto}._Root_1wl3o_1 h1,._Root_1wl3o_1 h2,._Root_1wl3o_1 h3,._Root_1wl3o_1 h4,._Root_1wl3o_1 h5,._Root_1wl3o_1 h6{color:var(--ov-color-fg-default);font-weight:var(--ov-font-weight-bold, 600);margin-top:var(--ov-space-4, 16px);margin-bottom:var(--ov-space-2, 8px)}._Root_1wl3o_1 h1{font-size:var(--ov-font-size-2xl, 24px);border-bottom:1px solid var(--ov-color-border-muted);padding-bottom:var(--ov-space-2, 8px)}._Root_1wl3o_1 h2{font-size:var(--ov-font-size-xl, 20px);border-bottom:1px solid var(--ov-color-border-muted);padding-bottom:var(--ov-space-1, 4px)}._Root_1wl3o_1 h3{font-size:var(--ov-font-size-lg, 16px)}._Root_1wl3o_1 p{margin-top:0;margin-bottom:var(--ov-space-3, 12px)}._Root_1wl3o_1 ul,._Root_1wl3o_1 ol{margin-top:0;margin-bottom:var(--ov-space-3, 12px);padding-left:var(--ov-space-5, 24px)}._Root_1wl3o_1 li{margin-bottom:var(--ov-space-1, 4px)}._Root_1wl3o_1 figure{margin:0 0 var(--ov-space-3, 12px) 0}._Root_1wl3o_1 blockquote>p:last-child{margin-bottom:0}._Root_1wl3o_1 blockquote{margin-bottom:var(--ov-space-3, 12px)}._Root_1wl3o_1 .ov-md-checkbox{display:inline-grid;width:auto;vertical-align:middle;margin-right:var(--ov-space-1, 4px)}._Root_1wl3o_1 li:has(>.ov-md-checkbox){list-style:none}._Root_1wl3o_1 img{max-width:100%;height:auto;border-radius:var(--ov-radius-sm, 4px)}._Root_1wl3o_1 [data-ov-component=accordion]{margin-bottom:var(--ov-space-3, 12px)}._Loading_1wl3o_92{display:flex;align-items:center;justify-content:center;padding:var(--ov-space-4, 16px);color:var(--ov-color-fg-muted);font-size:var(--ov-font-size-sm, 13px)}._Overlay_a3q8o_1{position:fixed;inset:0;z-index:var(--ov-z-modal, 1000);display:flex;justify-content:center;padding-top:20vh;background:var(--ov-color-overlay-bg, rgba(0, 0, 0, .4))}._Root_a3q8o_11{width:min(600px,90vw);max-height:60vh;display:flex;flex-direction:column;background:var(--ov-color-quickpick-bg, var(--ov-color-bg-surface));border:1px solid var(--ov-color-border-overlay);border-radius:var(--ov-radius-md, 8px);box-shadow:var(--ov-color-quickpick-shadow, 0 8px 32px rgba(0, 0, 0, .4));overflow:hidden}._CommandList_a3q8o_24{min-height:0;flex:1 1 auto}._Results_a3q8o_29{max-block-size:none}._Root_1b5sv_1{font-family:var(--ov-font-family-mono, monospace);font-size:var(--ov-font-size-sm, 13px);line-height:1.5;color:var(--ov-color-editor-fg, var(--ov-color-fg-default));background:var(--ov-color-editor-bg, var(--ov-color-bg-surface));border:1px solid var(--ov-color-editor-border, var(--ov-color-border-default));border-radius:var(--ov-radius-sm, 4px);overflow:auto}._Toolbar_1b5sv_12{display:flex;align-items:center;gap:var(--ov-space-2, 8px);padding:var(--ov-space-2, 8px);border-bottom:1px solid var(--ov-color-border-muted)}._SearchInput_1b5sv_20{flex:1;padding:var(--ov-space-1, 4px) var(--ov-space-2, 8px);background:var(--ov-color-input-bg, transparent);color:var(--ov-color-input-fg, var(--ov-color-fg-default));border:1px solid var(--ov-color-border-control);border-radius:var(--ov-radius-sm, 4px);font-family:inherit;font-size:inherit;outline:none}._SearchInput_1b5sv_20::placeholder{color:var(--ov-color-input-placeholder, var(--ov-color-fg-muted))}._SearchInput_1b5sv_20:focus-visible{outline:2px solid var(--ov-color-border-focus, var(--ov-color-fg-accent, #007fd4));outline-offset:-1px}._CopyButton_1b5sv_41{padding:var(--ov-space-1, 4px) var(--ov-space-2, 8px);background:var(--ov-color-button-secondary-bg, var(--ov-color-bg-subtle));color:var(--ov-color-button-secondary-fg, var(--ov-color-fg-default));border:1px solid var(--ov-color-border-default);border-radius:var(--ov-radius-sm, 4px);font-size:var(--ov-font-size-xs, 11px);cursor:pointer}._CopyButton_1b5sv_41:hover{background:var(--ov-color-button-secondary-hover-bg, var(--ov-color-bg-subtle))}._Tree_1b5sv_55{padding:var(--ov-space-2, 8px)}._Row_1b5sv_63{display:flex;align-items:center;padding:1px 0;padding-left:var(--_inspector-depth-indent, 0);cursor:default;white-space:nowrap}._Row_1b5sv_63:hover{background:var(--ov-color-list-hover-bg, var(--ov-color-bg-subtle))}._RowHighlight_1b5sv_76{background:var(--ov-color-editor-find-match-bg, rgba(255, 255, 0, .15))}._Chevron_1b5sv_80{display:inline-flex;align-items:center;justify-content:center;width:16px;height:16px;flex-shrink:0;font-size:10px;color:var(--ov-color-fg-muted);transition:transform var(--ov-duration-fast, .1s) var(--ov-ease-standard, ease);cursor:pointer}._ChevronExpanded_1b5sv_93{transform:rotate(90deg)}._ChevronSpacer_1b5sv_97{display:inline-block;width:16px;flex-shrink:0}._Key_1b5sv_103{color:var(--ov-syntax-property, var(--ov-color-fg-default))}._Colon_1b5sv_107{color:var(--ov-syntax-punctuation, var(--ov-color-fg-muted))}._Value_1b5sv_111[data-type=string]{color:var(--ov-syntax-string, var(--ov-color-fg-accent, currentColor))}._Value_1b5sv_111[data-type=number]{color:var(--ov-syntax-number, var(--ov-color-fg-success, currentColor))}._Value_1b5sv_111[data-type=boolean]{color:var(--ov-syntax-keyword, var(--ov-color-fg-info, currentColor))}._Value_1b5sv_111[data-type=null],._Value_1b5sv_111[data-type=undefined]{color:var(--ov-syntax-keyword, var(--ov-color-fg-info, currentColor));font-style:italic}._Preview_1b5sv_129{color:var(--ov-color-fg-muted);font-style:italic}._Comma_1b5sv_134{color:var(--ov-syntax-punctuation, var(--ov-color-fg-muted))}
package/dist/index.js CHANGED
@@ -1,7 +1,7 @@
1
- import Ge, { forwardRef as ve, useRef as F, useState as Ne, useMemo as pt, useEffect as z, useImperativeHandle as yt, useCallback as vt, Suspense as Dt, lazy as $t, Children as It, isValidElement as Wt, useId as Bt } from "react";
1
+ import Ge, { forwardRef as ve, useRef as Y, useState as Ne, useMemo as pt, useEffect as z, useImperativeHandle as yt, useCallback as vt, Suspense as Dt, lazy as $t, Children as It, isValidElement as Wt, useId as Bt } from "react";
2
2
  import * as L from "monaco-editor";
3
- import { useTheme as zt, Checkbox as We, Separator as Ht, Blockquote as Ut, Link as Vt, Table as ye, CodeBlock as qt, Code as Ft, Accordion as tt, CommandList as fe } from "@omniviewdev/base-ui";
4
- import Yt from "remark-gfm";
3
+ import { useTheme as zt, Checkbox as We, Separator as Ht, Blockquote as Ut, Link as Vt, Table as ye, CodeBlock as Ft, Code as Yt, Accordion as tt, CommandList as fe } from "@omniviewdev/base-ui";
4
+ import qt from "remark-gfm";
5
5
  import Jt from "rehype-raw";
6
6
  import Gt, { defaultSchema as Be } from "rehype-sanitize";
7
7
  import "@xterm/xterm/css/xterm.css";
@@ -59,7 +59,7 @@ function Qt() {
59
59
  return "Portal";
60
60
  case J:
61
61
  return o.displayName || "Context";
62
- case Y:
62
+ case q:
63
63
  return (o._context.displayName || "Context") + ".Consumer";
64
64
  case U:
65
65
  var _ = o.render;
@@ -186,10 +186,10 @@ function Qt() {
186
186
  else A(O);
187
187
  if (w.call(_, "key")) {
188
188
  O = e(o);
189
- var q = Object.keys(_).filter(function(oe) {
189
+ var F = Object.keys(_).filter(function(oe) {
190
190
  return oe !== "key";
191
191
  });
192
- E = 0 < q.length ? "{key: someKey, " + q.join(": ..., ") + ": ...}" : "{key: someKey}", b[O + E] || (q = 0 < q.length ? "{" + q.join(": ..., ") + ": ...}" : "{}", console.error(
192
+ E = 0 < F.length ? "{key: someKey, " + F.join(": ..., ") + ": ...}" : "{key: someKey}", b[O + E] || (F = 0 < F.length ? "{" + F.join(": ..., ") + ": ...}" : "{}", console.error(
193
193
  `A props object containing a "key" prop is being spread into JSX:
194
194
  let props = %s;
195
195
  <%s {...props} />
@@ -198,7 +198,7 @@ React keys must be passed directly to JSX without using spread:
198
198
  <%s key={someKey} {...props} />`,
199
199
  E,
200
200
  O,
201
- q,
201
+ F,
202
202
  O
203
203
  ), b[O + E] = !0);
204
204
  }
@@ -225,7 +225,7 @@ React keys must be passed directly to JSX without using spread:
225
225
  function h(o) {
226
226
  return typeof o == "object" && o !== null && o.$$typeof === C;
227
227
  }
228
- var S = Ge, C = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), j = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), H = /* @__PURE__ */ Symbol.for("react.profiler"), Y = /* @__PURE__ */ Symbol.for("react.consumer"), J = /* @__PURE__ */ Symbol.for("react.context"), U = /* @__PURE__ */ Symbol.for("react.forward_ref"), D = /* @__PURE__ */ Symbol.for("react.suspense"), V = /* @__PURE__ */ Symbol.for("react.suspense_list"), P = /* @__PURE__ */ Symbol.for("react.memo"), X = /* @__PURE__ */ Symbol.for("react.lazy"), ne = /* @__PURE__ */ Symbol.for("react.activity"), y = /* @__PURE__ */ Symbol.for("react.client.reference"), s = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty, k = Array.isArray, i = console.createTask ? console.createTask : function() {
228
+ var S = Ge, C = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), j = /* @__PURE__ */ Symbol.for("react.fragment"), W = /* @__PURE__ */ Symbol.for("react.strict_mode"), H = /* @__PURE__ */ Symbol.for("react.profiler"), q = /* @__PURE__ */ Symbol.for("react.consumer"), J = /* @__PURE__ */ Symbol.for("react.context"), U = /* @__PURE__ */ Symbol.for("react.forward_ref"), D = /* @__PURE__ */ Symbol.for("react.suspense"), V = /* @__PURE__ */ Symbol.for("react.suspense_list"), P = /* @__PURE__ */ Symbol.for("react.memo"), X = /* @__PURE__ */ Symbol.for("react.lazy"), ne = /* @__PURE__ */ Symbol.for("react.activity"), y = /* @__PURE__ */ Symbol.for("react.client.reference"), s = S.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, w = Object.prototype.hasOwnProperty, k = Array.isArray, i = console.createTask ? console.createTask : function() {
229
229
  return null;
230
230
  };
231
231
  S = {
@@ -703,9 +703,9 @@ const gr = ve(function({
703
703
  height: j = "100%",
704
704
  width: W = "100%",
705
705
  bordered: H = !0,
706
- className: Y
706
+ className: q
707
707
  }, J) {
708
- const U = Qe(), D = F(null), V = F(null), [P, X] = Ne(!1), ne = F(!1), y = F(null), s = F(null), w = F(null), k = f ?? (a ? lr(a) : void 0), i = pt(() => {
708
+ const U = Qe(), D = Y(null), V = Y(null), [P, X] = Ne(!1), ne = Y(!1), y = Y(null), s = Y(null), w = Y(null), k = f ?? (a ? lr(a) : void 0), i = pt(() => {
709
709
  if (k === "json" && t)
710
710
  try {
711
711
  return JSON.stringify(JSON.parse(t), null, 2);
@@ -791,7 +791,7 @@ const gr = ve(function({
791
791
  L.editor.setModelLanguage(d, p);
792
792
  }
793
793
  }, [k, I, P]);
794
- const u = F(a);
794
+ const u = Y(a);
795
795
  z(() => {
796
796
  const d = D.current;
797
797
  if (!d || !P || u.current === a) return;
@@ -843,8 +843,8 @@ const gr = ve(function({
843
843
  hint: 0
844
844
  }, M = {};
845
845
  for (const O of b) {
846
- const q = _t(O.severity);
847
- _[q]++;
846
+ const F = _t(O.severity);
847
+ _[F]++;
848
848
  const Q = O.source ?? "unknown";
849
849
  M[Q] = (M[Q] ?? 0) + 1;
850
850
  }
@@ -884,7 +884,7 @@ const gr = ve(function({
884
884
  }
885
885
  }));
886
886
  const m = (d) => typeof d == "number" ? `${d}px` : d;
887
- return /* @__PURE__ */ T.jsx("div", { className: mr(ct.Root, Y), style: {
887
+ return /* @__PURE__ */ T.jsx("div", { className: mr(ct.Root, q), style: {
888
888
  "--_editor-height": m(j),
889
889
  "--_editor-width": m(W)
890
890
  }, "data-testid": "code-editor", ...H ? {} : {
@@ -909,7 +909,7 @@ const br = ve(function({
909
909
  bordered: a = !0,
910
910
  className: v
911
911
  }, g) {
912
- const x = Qe(), A = F(null), h = F(null), [S, C] = Ne(!1);
912
+ const x = Qe(), A = Y(null), h = Y(null), [S, C] = Ne(!1);
913
913
  z(() => {
914
914
  if (!A.current) return;
915
915
  L.editor.defineTheme(ge, Ae(x.base, A.current)), L.editor.setTheme(ge);
@@ -1020,7 +1020,7 @@ const Cr = ve(function({
1020
1020
  fontFamily: j,
1021
1021
  fontWeight: W,
1022
1022
  fontWeightBold: H,
1023
- scrollback: Y = 5e3,
1023
+ scrollback: q = 5e3,
1024
1024
  cursorBlink: J = !0,
1025
1025
  cursorStyle: U,
1026
1026
  cursorWidth: D,
@@ -1042,7 +1042,7 @@ const Cr = ve(function({
1042
1042
  minimumContrastRatio: _,
1043
1043
  className: M
1044
1044
  }, E) {
1045
- const $ = F(null), N = F(null), O = F(null), q = F(null), Q = F(null), oe = F([]), le = F(null), ae = F(null), G = F(null), ce = Qe(), ee = F({
1045
+ const $ = Y(null), N = Y(null), O = Y(null), F = Y(null), Q = Y(null), oe = Y([]), le = Y(null), ae = Y(null), G = Y(null), ce = Qe(), ee = Y({
1046
1046
  onData: t,
1047
1047
  onBinaryData: n,
1048
1048
  onResize: r,
@@ -1110,10 +1110,10 @@ const Cr = ve(function({
1110
1110
  scrollToBottom: () => {
1111
1111
  N.current?.scrollToBottom?.();
1112
1112
  },
1113
- findNext: (R, te) => q.current?.findNext?.(R, te) ?? !1,
1114
- findPrevious: (R, te) => q.current?.findPrevious?.(R, te) ?? !1,
1113
+ findNext: (R, te) => F.current?.findNext?.(R, te) ?? !1,
1114
+ findPrevious: (R, te) => F.current?.findPrevious?.(R, te) ?? !1,
1115
1115
  clearSearch: () => {
1116
- q.current?.clearDecorations?.();
1116
+ F.current?.clearDecorations?.();
1117
1117
  },
1118
1118
  getSelection: () => N.current?.getSelection?.() ?? "",
1119
1119
  hasSelection: () => N.current?.hasSelection?.() ?? !1,
@@ -1161,7 +1161,7 @@ const Cr = ve(function({
1161
1161
  allowTransparency: y,
1162
1162
  cursorBlink: J,
1163
1163
  convertEol: ne,
1164
- scrollback: Y,
1164
+ scrollback: q,
1165
1165
  macOptionIsMeta: s,
1166
1166
  macOptionClickForcesSelection: w,
1167
1167
  allowProposedApi: !0,
@@ -1208,7 +1208,7 @@ const Cr = ve(function({
1208
1208
  B.dispose();
1209
1209
  return;
1210
1210
  }
1211
- B.options.theme = Ve(R), we.fit(), N.current = B, O.current = we, q.current = De, Q.current = $e, oe.current = _e, B.onData((Z) => {
1211
+ B.options.theme = Ve(R), we.fit(), N.current = B, O.current = we, F.current = De, Q.current = $e, oe.current = _e, B.onData((Z) => {
1212
1212
  ee.current.onData?.(Z);
1213
1213
  }), B.onBinary((Z) => {
1214
1214
  ee.current.onBinaryData?.(Z);
@@ -1268,7 +1268,7 @@ const Cr = ve(function({
1268
1268
  pe?.dispose?.();
1269
1269
  } catch {
1270
1270
  }
1271
- N.current = null, O.current = null, q.current = null, Q.current = null;
1271
+ N.current = null, O.current = null, F.current = null, Q.current = null;
1272
1272
  };
1273
1273
  }, []), z(() => {
1274
1274
  const R = N.current;
@@ -1284,8 +1284,8 @@ const Cr = ve(function({
1284
1284
  R?.options && U !== void 0 && (R.options.cursorStyle = U);
1285
1285
  }, [U]), z(() => {
1286
1286
  const R = N.current;
1287
- R?.options && Y !== void 0 && (R.options.scrollback = Y);
1288
- }, [Y]), z(() => {
1287
+ R?.options && q !== void 0 && (R.options.scrollback = q);
1288
+ }, [q]), z(() => {
1289
1289
  const R = N.current;
1290
1290
  R?.options && V !== void 0 && (R.options.lineHeight = V, ae.current?.run());
1291
1291
  }, [V]), z(() => {
@@ -1294,10 +1294,10 @@ const Cr = ve(function({
1294
1294
  }, [P]), /* @__PURE__ */ T.jsx("div", { ref: $, className: kr(wr.Root, M), "data-testid": "terminal" });
1295
1295
  });
1296
1296
  Cr.displayName = "Terminal";
1297
- const Rr = "_Root_1q0x1_1", Sr = "_Loading_1q0x1_92", ft = {
1297
+ const Rr = "_Root_1wl3o_1", Sr = "_Loading_1wl3o_92", ft = {
1298
1298
  Root: Rr,
1299
1299
  Loading: Sr
1300
- }, Tr = [Yt], Er = $t(() => import("react-markdown"));
1300
+ }, Tr = [qt], Er = $t(() => import("react-markdown"));
1301
1301
  function jr(...e) {
1302
1302
  return e.filter(Boolean).join(" ");
1303
1303
  }
@@ -1323,7 +1323,7 @@ const Ar = {
1323
1323
  }) => {
1324
1324
  const n = /language-([^\s]+)/.exec(e ?? ""), r = String(t).replace(/\n$/, "");
1325
1325
  return n || r.includes(`
1326
- `) ? /* @__PURE__ */ T.jsx(qt, { language: n?.[1], copyable: !0, children: r }) : /* @__PURE__ */ T.jsx(Ft, { children: t });
1326
+ `) ? /* @__PURE__ */ T.jsx(Ft, { language: n?.[1], copyable: !0, children: r }) : /* @__PURE__ */ T.jsx(Yt, { children: t });
1327
1327
  },
1328
1328
  // Tables
1329
1329
  table: ({
@@ -1426,7 +1426,7 @@ function Pr(e) {
1426
1426
  let v;
1427
1427
  return t[2] !== n || t[3] !== f || t[4] !== a ? (v = /* @__PURE__ */ T.jsx(Er, { skipHtml: f, remarkPlugins: Tr, rehypePlugins: a, components: Ar, children: n }), t[2] = n, t[3] = f, t[4] = a, t[5] = v) : v = t[5], v;
1428
1428
  }
1429
- const Lr = "_Overlay_1mqkc_1", Dr = "_Root_1mqkc_11", $r = "_CommandList_1mqkc_24", Ir = "_Results_1mqkc_29", Ee = {
1429
+ const Lr = "_Overlay_a3q8o_1", Dr = "_Root_a3q8o_11", $r = "_CommandList_a3q8o_24", Ir = "_Results_a3q8o_29", Ee = {
1430
1430
  Overlay: Lr,
1431
1431
  Root: Dr,
1432
1432
  CommandList: $r,
@@ -1435,7 +1435,7 @@ const Lr = "_Overlay_1mqkc_1", Dr = "_Root_1mqkc_11", $r = "_CommandList_1mqkc_2
1435
1435
  function Wr(e) {
1436
1436
  return e.id;
1437
1437
  }
1438
- function qe(e, t) {
1438
+ function Fe(e, t) {
1439
1439
  const n = e.toLowerCase(), r = t.toLowerCase();
1440
1440
  let c = 0;
1441
1441
  for (let l = 0; l < n.length && c < r.length; l++)
@@ -1466,15 +1466,15 @@ const Br = ve(function(t, n) {
1466
1466
  let C, I, j;
1467
1467
  r[7] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (C = /* @__PURE__ */ T.jsx(fe.Input, { "data-testid": "command-palette-input" }), I = /* @__PURE__ */ T.jsx(fe.Results, { className: Ee.Results, "data-testid": "command-palette-list" }), j = /* @__PURE__ */ T.jsx(fe.Empty, { "data-testid": "command-palette-empty", children: "No matching commands" }), r[7] = C, r[8] = I, r[9] = j) : (C = r[7], I = r[8], j = r[9]);
1468
1468
  let W;
1469
- r[10] !== A || r[11] !== l || r[12] !== g || r[13] !== S ? (W = /* @__PURE__ */ T.jsxs(fe.Root, { className: Ee.CommandList, items: A, itemKey: Wr, renderItem: Vr, filterFn: qr, groupBy: Fr, onAction: S, onDismiss: l, placeholder: g, density: "compact", children: [
1469
+ r[10] !== A || r[11] !== l || r[12] !== g || r[13] !== S ? (W = /* @__PURE__ */ T.jsxs(fe.Root, { className: Ee.CommandList, items: A, itemKey: Wr, renderItem: Vr, filterFn: Fr, groupBy: Yr, onAction: S, onDismiss: l, placeholder: g, density: "compact", children: [
1470
1470
  C,
1471
1471
  I,
1472
1472
  j
1473
1473
  ] }), r[10] = A, r[11] = l, r[12] = g, r[13] = S, r[14] = W) : W = r[14];
1474
1474
  let H;
1475
1475
  r[15] !== n || r[16] !== W ? (H = /* @__PURE__ */ T.jsx("div", { ref: n, className: Ee.Root, onClick: Hr, onKeyDown: Ur, role: "dialog", "aria-modal": "true", "aria-label": "Command palette", "data-testid": "command-palette", children: W }), r[15] = n, r[16] = W, r[17] = H) : H = r[17];
1476
- let Y;
1477
- return r[18] !== l || r[19] !== h || r[20] !== H ? (Y = /* @__PURE__ */ T.jsx("div", { role: "presentation", className: Ee.Overlay, onClick: l, onKeyDown: h, "data-testid": "command-palette-overlay", children: H }), r[18] = l, r[19] = h, r[20] = H, r[21] = Y) : Y = r[21], Y;
1476
+ let q;
1477
+ return r[18] !== l || r[19] !== h || r[20] !== H ? (q = /* @__PURE__ */ T.jsx("div", { role: "presentation", className: Ee.Overlay, onClick: l, onKeyDown: h, "data-testid": "command-palette-overlay", children: H }), r[18] = l, r[19] = h, r[20] = H, r[21] = q) : q = r[21], q;
1478
1478
  });
1479
1479
  Br.displayName = "CommandPalette";
1480
1480
  function zr(e) {
@@ -1494,14 +1494,14 @@ function Vr(e, t) {
1494
1494
  e.shortcut && /* @__PURE__ */ T.jsx(fe.ItemShortcut, { children: e.shortcut })
1495
1495
  ] });
1496
1496
  }
1497
- function qr(e, t) {
1498
- return qe(e.label, t) || (e.description ? qe(e.description, t) : !1) || (e.group ? qe(e.group, t) : !1);
1497
+ function Fr(e, t) {
1498
+ return Fe(e.label, t) || (e.description ? Fe(e.description, t) : !1) || (e.group ? Fe(e.group, t) : !1);
1499
1499
  }
1500
- function Fr(e) {
1500
+ function Yr(e) {
1501
1501
  return e.group || "";
1502
1502
  }
1503
- const Yr = "_Root_11wha_1", Jr = "_Toolbar_11wha_12", Gr = "_SearchInput_11wha_20", Xr = "_CopyButton_11wha_41", Qr = "_Tree_11wha_55", Zr = "_Node_11wha_59", Kr = "_Row_11wha_63", en = "_RowHighlight_11wha_76", tn = "_Chevron_11wha_80", rn = "_ChevronExpanded_11wha_93", nn = "_ChevronSpacer_11wha_97", on = "_Key_11wha_103", sn = "_Colon_11wha_107", an = "_Value_11wha_111", cn = "_Preview_11wha_129", ln = "_Comma_11wha_134", re = {
1504
- Root: Yr,
1503
+ const qr = "_Root_1b5sv_1", Jr = "_Toolbar_1b5sv_12", Gr = "_SearchInput_1b5sv_20", Xr = "_CopyButton_1b5sv_41", Qr = "_Tree_1b5sv_55", Zr = "_Node_1b5sv_59", Kr = "_Row_1b5sv_63", en = "_RowHighlight_1b5sv_76", tn = "_Chevron_1b5sv_80", rn = "_ChevronExpanded_1b5sv_93", nn = "_ChevronSpacer_1b5sv_97", on = "_Key_1b5sv_103", sn = "_Colon_1b5sv_107", an = "_Value_1b5sv_111", cn = "_Preview_1b5sv_129", ln = "_Comma_1b5sv_134", re = {
1504
+ Root: qr,
1505
1505
  Toolbar: Jr,
1506
1506
  SearchInput: Gr,
1507
1507
  CopyButton: Xr,
@@ -1518,7 +1518,7 @@ const Yr = "_Root_11wha_1", Jr = "_Toolbar_11wha_12", Gr = "_SearchInput_11wha_2
1518
1518
  Preview: cn,
1519
1519
  Comma: ln
1520
1520
  };
1521
- function Fe(...e) {
1521
+ function Ye(...e) {
1522
1522
  return e.filter(Boolean).join(" ");
1523
1523
  }
1524
1524
  function kt(e) {
@@ -1572,13 +1572,13 @@ function Rt(e) {
1572
1572
  const C = S;
1573
1573
  let I;
1574
1574
  t[6] !== l || t[7] !== c || t[8] !== C || t[9] !== h ? (I = () => h && !C && dn(l, c), t[6] = l, t[7] = c, t[8] = C, t[9] = h, t[10] = I) : I = t[10];
1575
- const [j, W] = Ne(I), H = F(!1), Y = F(!1);
1575
+ const [j, W] = Ne(I), H = Y(!1), q = Y(!1);
1576
1576
  let J;
1577
1577
  t[11] !== v || t[12] !== g || t[13] !== f || t[14] !== r ? (J = f ? Ct(r, f, v, g) : !1, t[11] = v, t[12] = g, t[13] = f, t[14] = r, t[15] = J) : J = t[15];
1578
1578
  const U = J;
1579
1579
  let D, V;
1580
1580
  t[16] !== j || t[17] !== U || t[18] !== C || t[19] !== h || t[20] !== f ? (D = () => {
1581
- f && U && h && !C && !j && (H.current || (Y.current = j), H.current = !0, W(!0)), H.current && (!f || !U) && (H.current = !1, W(Y.current));
1581
+ f && U && h && !C && !j && (H.current || (q.current = j), H.current = !0, W(!0)), H.current && (!f || !U) && (H.current = !1, W(q.current));
1582
1582
  }, V = [f, U, h, C, j], t[16] = j, t[17] = U, t[18] = C, t[19] = h, t[20] = f, t[21] = D, t[22] = V) : (D = t[21], V = t[22]), z(D, V);
1583
1583
  let P;
1584
1584
  e: {
@@ -1612,7 +1612,7 @@ function Rt(e) {
1612
1612
  t[32] !== n || t[33] !== f || t[34] !== r ? (k = f && xt(n, r, f), t[32] = n, t[33] = f, t[34] = r, t[35] = k) : k = t[35];
1613
1613
  const i = k, u = C ? "[Circular]" : h ? A === "array" ? `Array(${r.length})` : `{${y.length}}` : null, m = i && re.RowHighlight;
1614
1614
  let d;
1615
- t[36] !== m ? (d = Fe(re.Row, m), t[36] = m, t[37] = d) : d = t[37];
1615
+ t[36] !== m ? (d = Ye(re.Row, m), t[36] = m, t[37] = d) : d = t[37];
1616
1616
  const p = `${c * 16}px`;
1617
1617
  let b;
1618
1618
  t[38] !== p ? (b = {
@@ -1625,23 +1625,23 @@ function Rt(e) {
1625
1625
  }, t[40] = w, t[41] = _) : _ = t[41];
1626
1626
  const M = h && !C ? j : void 0, E = `inspector-node-${n}`;
1627
1627
  let $;
1628
- t[42] !== j || t[43] !== C || t[44] !== h ? ($ = h && !C ? /* @__PURE__ */ T.jsx("span", { className: Fe(re.Chevron, j && re.ChevronExpanded), children: "▸" }) : /* @__PURE__ */ T.jsx("span", { className: re.ChevronSpacer }), t[42] = j, t[43] = C, t[44] = h, t[45] = $) : $ = t[45];
1628
+ t[42] !== j || t[43] !== C || t[44] !== h ? ($ = h && !C ? /* @__PURE__ */ T.jsx("span", { className: Ye(re.Chevron, j && re.ChevronExpanded), children: "▸" }) : /* @__PURE__ */ T.jsx("span", { className: re.ChevronSpacer }), t[42] = j, t[43] = C, t[44] = h, t[45] = $) : $ = t[45];
1629
1629
  let N;
1630
1630
  t[46] !== n ? (N = /* @__PURE__ */ T.jsx("span", { className: re.Key, children: n }), t[46] = n, t[47] = N) : N = t[47];
1631
1631
  let O;
1632
1632
  t[48] === /* @__PURE__ */ Symbol.for("react.memo_cache_sentinel") ? (O = /* @__PURE__ */ T.jsx("span", { className: re.Colon, children: ": " }), t[48] = O) : O = t[48];
1633
- let q;
1634
- t[49] !== h || t[50] !== u || t[51] !== A || t[52] !== r ? (q = h ? /* @__PURE__ */ T.jsx("span", { className: re.Preview, children: u }) : /* @__PURE__ */ T.jsx("span", { className: re.Value, "data-type": A, children: un(r) }), t[49] = h, t[50] = u, t[51] = A, t[52] = r, t[53] = q) : q = t[53];
1633
+ let F;
1634
+ t[49] !== h || t[50] !== u || t[51] !== A || t[52] !== r ? (F = h ? /* @__PURE__ */ T.jsx("span", { className: re.Preview, children: u }) : /* @__PURE__ */ T.jsx("span", { className: re.Value, "data-type": A, children: un(r) }), t[49] = h, t[50] = u, t[51] = A, t[52] = r, t[53] = F) : F = t[53];
1635
1635
  let Q;
1636
1636
  t[54] !== j || t[55] !== a ? (Q = !a && !j && /* @__PURE__ */ T.jsx("span", { className: re.Comma, children: "," }), t[54] = j, t[55] = a, t[56] = Q) : Q = t[56];
1637
1637
  let oe;
1638
- t[57] !== d || t[58] !== o || t[59] !== _ || t[60] !== M || t[61] !== E || t[62] !== $ || t[63] !== N || t[64] !== q || t[65] !== Q || t[66] !== w ? (oe = /* @__PURE__ */ T.jsxs("div", { className: d, style: o, onClick: w, onKeyDown: _, tabIndex: 0, role: "treeitem", "aria-expanded": M, "data-testid": E, children: [
1638
+ t[57] !== d || t[58] !== o || t[59] !== _ || t[60] !== M || t[61] !== E || t[62] !== $ || t[63] !== N || t[64] !== F || t[65] !== Q || t[66] !== w ? (oe = /* @__PURE__ */ T.jsxs("div", { className: d, style: o, onClick: w, onKeyDown: _, tabIndex: 0, role: "treeitem", "aria-expanded": M, "data-testid": E, children: [
1639
1639
  $,
1640
1640
  N,
1641
1641
  O,
1642
- q,
1642
+ F,
1643
1643
  Q
1644
- ] }), t[57] = d, t[58] = o, t[59] = _, t[60] = M, t[61] = E, t[62] = $, t[63] = N, t[64] = q, t[65] = Q, t[66] = w, t[67] = oe) : oe = t[67];
1644
+ ] }), t[57] = d, t[58] = o, t[59] = _, t[60] = M, t[61] = E, t[62] = $, t[63] = N, t[64] = F, t[65] = Q, t[66] = w, t[67] = oe) : oe = t[67];
1645
1645
  let le;
1646
1646
  t[68] !== X || t[69] !== l || t[70] !== c || t[71] !== y || t[72] !== j || t[73] !== g || t[74] !== f ? (le = j && y.map((G, ce) => {
1647
1647
  const [ee, Oe] = G;
@@ -1668,11 +1668,11 @@ const hn = /* @__PURE__ */ new WeakSet(), mn = ve(function({
1668
1668
  const [g, x] = Ne(""), A = vt(async () => {
1669
1669
  try {
1670
1670
  let C;
1671
- n === "yaml" ? C = Ye(t) : C = gn(t), await navigator.clipboard.writeText(C);
1671
+ n === "yaml" ? C = qe(t) : C = gn(t), await navigator.clipboard.writeText(C);
1672
1672
  } catch {
1673
1673
  }
1674
1674
  }, [t, n]), h = hn, S = pt(() => /* @__PURE__ */ new WeakMap(), [g]);
1675
- return /* @__PURE__ */ T.jsxs("div", { ref: v, className: Fe(re.Root, f), "data-testid": "object-inspector", "data-format": n, ...a, children: [
1675
+ return /* @__PURE__ */ T.jsxs("div", { ref: v, className: Ye(re.Root, f), "data-testid": "object-inspector", "data-format": n, ...a, children: [
1676
1676
  (c || l) && /* @__PURE__ */ T.jsxs("div", { className: re.Toolbar, children: [
1677
1677
  c && /* @__PURE__ */ T.jsx("input", { className: re.SearchInput, type: "text", value: g, onChange: (C) => x(C.target.value), placeholder: "Search keys/values…", "aria-label": "Search object", "data-testid": "inspector-search" }),
1678
1678
  l && /* @__PURE__ */ T.jsx("button", { className: re.CopyButton, onClick: A, "data-testid": "inspector-copy", type: "button", children: "Copy" })
@@ -1704,7 +1704,7 @@ ${n} ${e.split(`
1704
1704
  `).join(`
1705
1705
  ${n} `)}` : St(e) ? Tt(e) : e;
1706
1706
  }
1707
- function Ye(e, t = 0, n) {
1707
+ function qe(e, t = 0, n) {
1708
1708
  const r = " ".repeat(t);
1709
1709
  if (e === null || e === void 0) return "null";
1710
1710
  if (typeof e == "string") return pn(e, t);
@@ -1714,11 +1714,11 @@ function Ye(e, t = 0, n) {
1714
1714
  if (c.includes(e)) return '"[Circular]"';
1715
1715
  const l = [...c, e];
1716
1716
  if (Array.isArray(e))
1717
- return e.length === 0 ? "[]" : e.map((a) => `${r}- ${Ye(a, t + 1, l).trimStart()}`).join(`
1717
+ return e.length === 0 ? "[]" : e.map((a) => `${r}- ${qe(a, t + 1, l).trimStart()}`).join(`
1718
1718
  `);
1719
1719
  const f = Object.entries(e);
1720
1720
  return f.length === 0 ? "{}" : f.map(([a, v]) => {
1721
- const g = St(a) ? Tt(a) : a, x = Ye(v, t + 1, l);
1721
+ const g = St(a) ? Tt(a) : a, x = qe(v, t + 1, l);
1722
1722
  return typeof v == "object" && v !== null && (Array.isArray(v) ? v.length > 0 : Object.keys(v).length > 0) ? `${r}${g}:
1723
1723
  ${x}` : `${r}${g}: ${x}`;
1724
1724
  }).join(`
@@ -1938,7 +1938,7 @@ var Et;
1938
1938
  return v(w, !0), w;
1939
1939
  }
1940
1940
  toString(s = !1) {
1941
- return Y(this, s);
1941
+ return q(this, s);
1942
1942
  }
1943
1943
  toJSON() {
1944
1944
  return this;
@@ -1962,7 +1962,7 @@ var Et;
1962
1962
  return this._fsPath || (this._fsPath = H(this)), this._fsPath;
1963
1963
  }
1964
1964
  toString(s = !1) {
1965
- return s ? Y(this, !0) : (this._formatted || (this._formatted = Y(this, !1)), this._formatted);
1965
+ return s ? q(this, !0) : (this._formatted || (this._formatted = q(this, !1)), this._formatted);
1966
1966
  }
1967
1967
  toJSON() {
1968
1968
  const s = { $mid: 1 };
@@ -1995,7 +1995,7 @@ var Et;
1995
1995
  let w;
1996
1996
  return w = y.authority && y.path.length > 1 && y.scheme === "file" ? `//${y.authority}${y.path}` : y.path.charCodeAt(0) === 47 && (y.path.charCodeAt(1) >= 65 && y.path.charCodeAt(1) <= 90 || y.path.charCodeAt(1) >= 97 && y.path.charCodeAt(1) <= 122) && y.path.charCodeAt(2) === 58 ? y.path[1].toLowerCase() + y.path.substr(2) : y.path, c && (w = w.replace(/\//g, "\\")), w;
1997
1997
  }
1998
- function Y(y, s) {
1998
+ function q(y, s) {
1999
1999
  const w = s ? W : j;
2000
2000
  let k = "", { scheme: i, authority: u, path: m, query: d, fragment: p } = y;
2001
2001
  if (i && (k += i, k += ":"), (u || i === "file") && (k += x, k += x), u) {
@@ -2500,17 +2500,17 @@ function Vn(e) {
2500
2500
  name: e?.name
2501
2501
  });
2502
2502
  }
2503
- function qn(e) {
2503
+ function Fn(e) {
2504
2504
  return new Worker("/assets/json.worker-B4VHhH6h.js", {
2505
2505
  name: e?.name
2506
2506
  });
2507
2507
  }
2508
- function Fn(e) {
2508
+ function Yn(e) {
2509
2509
  return new Worker("/assets/ts.worker-sl17zBDo.js", {
2510
2510
  name: e?.name
2511
2511
  });
2512
2512
  }
2513
- function Yn(e) {
2513
+ function qn(e) {
2514
2514
  return new Worker("/assets/css.worker-Dmf38jDD.js", {
2515
2515
  name: e?.name
2516
2516
  });
@@ -2543,16 +2543,16 @@ if (!globalThis[gt]) {
2543
2543
  r = new Gn();
2544
2544
  break;
2545
2545
  case "json":
2546
- r = new qn();
2546
+ r = new Fn();
2547
2547
  break;
2548
2548
  case "typescript":
2549
2549
  case "javascript":
2550
- r = new Fn();
2550
+ r = new Yn();
2551
2551
  break;
2552
2552
  case "css":
2553
2553
  case "scss":
2554
2554
  case "less":
2555
- r = new Yn();
2555
+ r = new qn();
2556
2556
  break;
2557
2557
  case "html":
2558
2558
  case "handlebars":
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@omniviewdev/editors",
3
- "version": "3.0.0",
3
+ "version": "3.0.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -30,7 +30,7 @@
30
30
  "peerDependencies": {
31
31
  "react": "^19.0.0",
32
32
  "react-dom": "^19.0.0",
33
- "@omniviewdev/base-ui": "0.4.0"
33
+ "@omniviewdev/base-ui": "0.4.2"
34
34
  },
35
35
  "dependencies": {
36
36
  "@xterm/addon-fit": "^0.11.0",