@ai-ecoverse/slicc-spectrum 1.108.2 → 1.108.4

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 (36) hide show
  1. package/README.md +10 -7
  2. package/dist/{chunk-5PPA6KWN.js → chunk-2GCRWCFO.js} +8 -2
  3. package/dist/{chunk-5PPA6KWN.js.map → chunk-2GCRWCFO.js.map} +2 -2
  4. package/dist/{chunk-FPDH5YML.js → chunk-2UI4FYPN.js} +3094 -3032
  5. package/dist/chunk-2UI4FYPN.js.map +7 -0
  6. package/dist/{chunk-RAC3YJAB.js → chunk-AEH5BY5Y.js} +4 -4
  7. package/dist/{chunk-V2C2XXFY.js → chunk-AUHHMQ6Y.js} +2 -2
  8. package/dist/{chunk-KR2QKUMB.js → chunk-EMSJG2PR.js} +2 -2
  9. package/dist/{chunk-SQG7U2FN.js → chunk-KYIEFCEE.js} +109 -20
  10. package/dist/chunk-KYIEFCEE.js.map +7 -0
  11. package/dist/{chunk-FVYTOJDL.js → chunk-RRDK7V7W.js} +4 -4
  12. package/dist/{chunk-LNKW3HPT.js → chunk-UJXGWPUR.js} +2 -2
  13. package/dist/{chunk-LCUBBZNK.js → chunk-UJYVSF46.js} +8 -7
  14. package/dist/{chunk-LCUBBZNK.js.map → chunk-UJYVSF46.js.map} +2 -2
  15. package/dist/{chunk-CGFE5O6B.js → chunk-VVAU2FZK.js} +2 -2
  16. package/dist/chunk-YYVXZKT2.js +1916 -0
  17. package/dist/chunk-YYVXZKT2.js.map +7 -0
  18. package/dist/slicc-dummy.js +11 -2
  19. package/dist/slicc-dummy.js.map +2 -2
  20. package/dist/slicc-terminal.js +1 -1
  21. package/dist/slicc-ui.js +4612 -4129
  22. package/dist/slicc-ui.js.map +4 -4
  23. package/dist/swc.css +104 -60
  24. package/dist/types/app/freezer.d.ts +5 -3
  25. package/dist/types/dummy/notices.d.ts +1 -1
  26. package/package.json +15 -15
  27. package/dist/chunk-FPDH5YML.js.map +0 -7
  28. package/dist/chunk-JYL7FSMY.js +0 -1828
  29. package/dist/chunk-JYL7FSMY.js.map +0 -7
  30. package/dist/chunk-SQG7U2FN.js.map +0 -7
  31. /package/dist/{chunk-RAC3YJAB.js.map → chunk-AEH5BY5Y.js.map} +0 -0
  32. /package/dist/{chunk-V2C2XXFY.js.map → chunk-AUHHMQ6Y.js.map} +0 -0
  33. /package/dist/{chunk-KR2QKUMB.js.map → chunk-EMSJG2PR.js.map} +0 -0
  34. /package/dist/{chunk-FVYTOJDL.js.map → chunk-RRDK7V7W.js.map} +0 -0
  35. /package/dist/{chunk-LNKW3HPT.js.map → chunk-UJXGWPUR.js.map} +0 -0
  36. /package/dist/{chunk-CGFE5O6B.js.map → chunk-VVAU2FZK.js.map} +0 -0
@@ -2,18 +2,18 @@ import {
2
2
  LiveTokenizer,
3
3
  codeToTokens,
4
4
  isSupportedLanguage
5
- } from "./chunk-JYL7FSMY.js";
5
+ } from "./chunk-YYVXZKT2.js";
6
6
  import {
7
7
  BaseStreamTokenizer,
8
8
  DiffsHighlighter
9
- } from "./chunk-CGFE5O6B.js";
9
+ } from "./chunk-VVAU2FZK.js";
10
10
  import {
11
11
  formatCSSVariablePrefix
12
12
  } from "./chunk-5RPMYYR5.js";
13
13
  import {
14
14
  appendItems,
15
15
  createDiffsThemeResolver
16
- } from "./chunk-LCUBBZNK.js";
16
+ } from "./chunk-UJYVSF46.js";
17
17
  import "./chunk-NEW2Q7FF.js";
18
18
  import "./chunk-AXQFWXYZ.js";
19
19
 
@@ -327,4 +327,4 @@ var HighlightsHighlighter = class extends DiffsHighlighter {
327
327
  export {
328
328
  HighlightsHighlighter
329
329
  };
330
- //# sourceMappingURL=chunk-RAC3YJAB.js.map
330
+ //# sourceMappingURL=chunk-AEH5BY5Y.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  isWorkerContext
3
- } from "./chunk-LCUBBZNK.js";
3
+ } from "./chunk-UJYVSF46.js";
4
4
 
5
5
  // node_modules/@pierre/diffs/dist/highlighter/languages/constants.js
6
6
  var ResolvedLanguages = /* @__PURE__ */ new Map();
@@ -79,4 +79,4 @@ export {
79
79
  attachResolvedLanguages,
80
80
  resolveLanguages
81
81
  };
82
- //# sourceMappingURL=chunk-V2C2XXFY.js.map
82
+ //# sourceMappingURL=chunk-AUHHMQ6Y.js.map
@@ -17,7 +17,7 @@ var themes = {
17
17
  "everforest-dark": () => import("./chunk-ETY2K3PP.js"),
18
18
  "everforest-light": () => import("./chunk-SXLM67S4.js"),
19
19
  "github-dark": () => import("./chunk-YG7YEPYG.js"),
20
- "github-dark-default": () => import("./chunk-5PPA6KWN.js"),
20
+ "github-dark-default": () => import("./chunk-2GCRWCFO.js"),
21
21
  "github-dark-dimmed": () => import("./chunk-4UVLBBK5.js"),
22
22
  "github-dark-high-contrast": () => import("./chunk-6UISDSQ6.js"),
23
23
  "github-light": () => import("./chunk-NSXLBNK4.js"),
@@ -81,4 +81,4 @@ var themes = {
81
81
  export {
82
82
  themes
83
83
  };
84
- //# sourceMappingURL=chunk-KR2QKUMB.js.map
84
+ //# sourceMappingURL=chunk-EMSJG2PR.js.map
@@ -53,6 +53,7 @@ function loadWasmModule(url) {
53
53
  }
54
54
 
55
55
  // node_modules/@wterm/core/dist/wasm-bridge.js
56
+ var DEFAULT_COLOR = 256;
56
57
  var WasmBridge = class _WasmBridge {
57
58
  get dv() {
58
59
  if (this._dvBuffer !== this.memory.buffer) {
@@ -117,6 +118,7 @@ var WasmBridge = class _WasmBridge {
117
118
  flags: dv.getUint8(offset + 8),
118
119
  width: dv.getUint8(offset + 9)
119
120
  };
121
+ this._resolveRgb(result);
120
122
  Object.assign(result, this._readLink(dv.getUint16(offset + 10, true)));
121
123
  return result;
122
124
  }
@@ -243,6 +245,7 @@ var WasmBridge = class _WasmBridge {
243
245
  flags: dv.getUint8(off + 8),
244
246
  width: dv.getUint8(off + 9)
245
247
  };
248
+ this._resolveRgb(result);
246
249
  Object.assign(result, this._readLink(dv.getUint16(off + 10, true)));
247
250
  return result;
248
251
  }
@@ -285,6 +288,24 @@ var WasmBridge = class _WasmBridge {
285
288
  this.exports.resizeTerminal(cols, rows);
286
289
  this._updatePointers();
287
290
  }
291
+ _resolveRgb(cell) {
292
+ if (cell.fg > DEFAULT_COLOR) {
293
+ const rgb = this._readRgb(cell.fg);
294
+ if (rgb !== void 0)
295
+ cell.fgRgb = rgb;
296
+ }
297
+ if (cell.bg > DEFAULT_COLOR) {
298
+ const rgb = this._readRgb(cell.bg);
299
+ if (rgb !== void 0)
300
+ cell.bgRgb = rgb;
301
+ }
302
+ }
303
+ _readRgb(index) {
304
+ const rgb = this.exports.getColorRgb?.(index);
305
+ if (rgb === void 0)
306
+ return void 0;
307
+ return rgb < 0 || rgb > 16777215 ? void 0 : rgb;
308
+ }
288
309
  _readLink(index) {
289
310
  if (index === 0)
290
311
  return void 0;
@@ -1067,7 +1088,7 @@ var TrackedSelection = class {
1067
1088
  };
1068
1089
 
1069
1090
  // node_modules/@wterm/dom/dist/renderer.js
1070
- var DEFAULT_COLOR = 256;
1091
+ var DEFAULT_COLOR2 = 256;
1071
1092
  var DEFAULT_FG_CSS = "var(--term-app-fg, var(--term-fg))";
1072
1093
  var DEFAULT_BG_CSS = "var(--term-app-bg, var(--term-bg))";
1073
1094
  var FLAG_BOLD = 1;
@@ -1085,7 +1106,7 @@ function rgbToCSS(packed) {
1085
1106
  return `rgb(${r},${g},${b})`;
1086
1107
  }
1087
1108
  function colorToCSS(index) {
1088
- if (index === DEFAULT_COLOR)
1109
+ if (index === DEFAULT_COLOR2)
1089
1110
  return null;
1090
1111
  if (index < 16)
1091
1112
  return `var(--term-color-${index})`;
@@ -4143,6 +4164,18 @@ var WTerm = class {
4143
4164
  this._windowSizeQueryState = 0;
4144
4165
  this._textCapture = new TextCapture();
4145
4166
  this._searchReveal = false;
4167
+ this._lastContainerRect = null;
4168
+ this._keyboardSpacer = null;
4169
+ this._visualViewport = null;
4170
+ this._visualViewportFrame = 0;
4171
+ this._onVisualViewportChange = () => {
4172
+ if (this._visualViewportFrame || this._destroyed)
4173
+ return;
4174
+ this._visualViewportFrame = requestAnimationFrame(() => {
4175
+ this._visualViewportFrame = 0;
4176
+ this._fitAutoResize();
4177
+ });
4178
+ };
4146
4179
  this.element = element;
4147
4180
  this._coreOption = options.core;
4148
4181
  this._initialColsExplicit = options.cols !== void 0;
@@ -5042,19 +5075,70 @@ var WTerm = class {
5042
5075
  if (entry.target === this.element)
5043
5076
  containerRect = entry.contentRect;
5044
5077
  }
5045
- const measured = this._measureCharSize();
5046
- if (!measured || !this.autoResize || !containerRect)
5047
- return;
5048
- const { charWidth, rowHeight } = measured;
5049
- const newCols = Math.max(1, Math.floor(containerRect.width / charWidth));
5050
- const newRows = Math.max(1, Math.floor(containerRect.height / rowHeight));
5051
- if (newCols !== this.cols || newRows !== this.rows) {
5052
- this.resize(newCols, newRows);
5053
- }
5078
+ this._lastContainerRect = containerRect ?? null;
5079
+ this._fitAutoResize();
5054
5080
  });
5055
5081
  this.resizeObserver.observe(probe);
5056
5082
  if (this.autoResize)
5057
5083
  this.resizeObserver.observe(this.element);
5084
+ const viewport = this.element.ownerDocument.defaultView?.visualViewport;
5085
+ if (this.autoResize && viewport) {
5086
+ this._visualViewport = viewport;
5087
+ viewport.addEventListener("resize", this._onVisualViewportChange);
5088
+ viewport.addEventListener("scroll", this._onVisualViewportChange);
5089
+ }
5090
+ }
5091
+ /**
5092
+ * Height of the element's content box not hidden by a software keyboard: the
5093
+ * band between the visual viewport's bottom and the layout viewport's bottom.
5094
+ * Parts of the element merely scrolled out of view still count as visible.
5095
+ */
5096
+ _visibleContentHeight(contentHeight) {
5097
+ const viewport = this._visualViewport;
5098
+ if (!viewport || Math.abs(viewport.scale - 1) > 0.01)
5099
+ return contentHeight;
5100
+ const layoutBottom = this.element.ownerDocument.defaultView?.innerHeight ?? 0;
5101
+ const coveredTop = viewport.offsetTop + viewport.height;
5102
+ if (coveredTop >= layoutBottom)
5103
+ return contentHeight;
5104
+ const rect = this.element.getBoundingClientRect();
5105
+ const style = getComputedStyle(this.element);
5106
+ const top = rect.top + (parseFloat(style.borderTopWidth) || 0) + (parseFloat(style.paddingTop) || 0);
5107
+ const covered = Math.max(0, Math.min(top + contentHeight, layoutBottom) - Math.max(top, coveredTop));
5108
+ return contentHeight - covered;
5109
+ }
5110
+ /** Keeps the grid's last row above the keyboard while the element scrolls to the bottom. */
5111
+ _setKeyboardInset(px) {
5112
+ if (px <= 0) {
5113
+ this._keyboardSpacer?.remove();
5114
+ this._keyboardSpacer = null;
5115
+ return;
5116
+ }
5117
+ if (!this._keyboardSpacer) {
5118
+ this._keyboardSpacer = document.createElement("div");
5119
+ this._keyboardSpacer.className = "term-keyboard-spacer";
5120
+ this._keyboardSpacer.setAttribute("aria-hidden", "true");
5121
+ this.element.appendChild(this._keyboardSpacer);
5122
+ }
5123
+ this._keyboardSpacer.style.height = `${px}px`;
5124
+ }
5125
+ _fitAutoResize() {
5126
+ const containerRect = this._lastContainerRect;
5127
+ const measured = this._measureCharSize();
5128
+ if (!measured || !this.autoResize || !containerRect || this._destroyed)
5129
+ return;
5130
+ const { charWidth, rowHeight } = measured;
5131
+ const contentHeight = containerRect.height;
5132
+ const height = this._visibleContentHeight(contentHeight);
5133
+ const newCols = Math.max(1, Math.floor(containerRect.width / charWidth));
5134
+ const newRows = Math.max(1, Math.floor(height / rowHeight));
5135
+ const atBottom = this._isScrolledToBottom();
5136
+ this._setKeyboardInset(contentHeight - height);
5137
+ if (newCols !== this.cols || newRows !== this.rows) {
5138
+ this.resize(newCols, newRows);
5139
+ } else if (atBottom) {
5140
+ this._scrollToBottom();
5141
+ }
5058
5142
  }
5059
5143
  destroy() {
5060
5144
  this._destroyed = true;
@@ -5069,6 +5153,11 @@ var WTerm = class {
5069
5153
  this._cancelSynchronizedOutputFallback();
5070
5154
  if (this.resizeObserver)
5071
5155
  this.resizeObserver.disconnect();
5156
+ if (this._visualViewportFrame)
5157
+ cancelAnimationFrame(this._visualViewportFrame);
5158
+ this._visualViewport?.removeEventListener("resize", this._onVisualViewportChange);
5159
+ this._visualViewport?.removeEventListener("scroll", this._onVisualViewportChange);
5160
+ this._visualViewport = null;
5072
5161
  if (this.input)
5073
5162
  this.input.destroy();
5074
5163
  this.renderer?.destroy();
@@ -5418,7 +5507,7 @@ function writeBytes(wasm, termPtr, data, afterChunk) {
5418
5507
  }
5419
5508
 
5420
5509
  // node_modules/@wterm/ghostty/dist/ghostty-core.js
5421
- var DEFAULT_COLOR2 = 256;
5510
+ var DEFAULT_COLOR3 = 256;
5422
5511
  var GRAPHEME_BUFFER_BYTES = 256;
5423
5512
  var HYPERLINK_BUFFER_BYTES = 1024;
5424
5513
  var DEFAULT_FOREGROUND = "#d4d4d4";
@@ -5438,8 +5527,8 @@ function packRgb(r, g, b) {
5438
5527
  }
5439
5528
  var BLANK_CELL = {
5440
5529
  char: 32,
5441
- fg: DEFAULT_COLOR2,
5442
- bg: DEFAULT_COLOR2,
5530
+ fg: DEFAULT_COLOR3,
5531
+ bg: DEFAULT_COLOR3,
5443
5532
  flags: 0,
5444
5533
  width: 1
5445
5534
  };
@@ -5609,8 +5698,8 @@ var GhosttyCore = class _GhosttyCore {
5609
5698
  return BLANK_CELL;
5610
5699
  const result = {
5611
5700
  char: cell.codepoint || 32,
5612
- fg: DEFAULT_COLOR2,
5613
- bg: DEFAULT_COLOR2,
5701
+ fg: DEFAULT_COLOR3,
5702
+ bg: DEFAULT_COLOR3,
5614
5703
  flags: cell.flags,
5615
5704
  width: cell.width
5616
5705
  };
@@ -5976,8 +6065,8 @@ var GhosttyCore = class _GhosttyCore {
5976
6065
  const cell = parseCell(view, col * this._cellBytes, this._cellBytes);
5977
6066
  const result = {
5978
6067
  char: cell.codepoint || 32,
5979
- fg: DEFAULT_COLOR2,
5980
- bg: DEFAULT_COLOR2,
6068
+ fg: DEFAULT_COLOR3,
6069
+ bg: DEFAULT_COLOR3,
5981
6070
  flags: cell.flags,
5982
6071
  width: cell.width
5983
6072
  };
@@ -6210,7 +6299,7 @@ async function loadCore(wasmPath) {
6210
6299
  }
6211
6300
 
6212
6301
  // node_modules/@wterm/dom/src/terminal.css
6213
- var terminal_default = '.wterm {\n /* Application overrides are owned by the renderer; each terminal is isolated. */\n --term-app-fg: initial;\n --term-app-bg: initial;\n --term-app-cursor: initial;\n\n --term-fg: #d4d4d4;\n --term-bg: #1e1e1e;\n --term-cursor: #aeafad;\n\n --term-color-0: #1e1e1e;\n --term-color-1: #f44747;\n --term-color-2: #6a9955;\n --term-color-3: #d7ba7d;\n --term-color-4: #569cd6;\n --term-color-5: #c586c0;\n --term-color-6: #4ec9b0;\n --term-color-7: #d4d4d4;\n --term-color-8: #808080;\n --term-color-9: #f44747;\n --term-color-10: #6a9955;\n --term-color-11: #d7ba7d;\n --term-color-12: #569cd6;\n --term-color-13: #c586c0;\n --term-color-14: #4ec9b0;\n --term-color-15: #ffffff;\n\n --term-font-family:\n "Menlo", "Consolas", "DejaVu Sans Mono", "Courier New", monospace;\n --term-font-size: 14px;\n --term-line-height: 1.2;\n --term-row-height: 17px;\n\n position: relative;\n background: var(--term-app-bg, var(--term-bg));\n color: var(--term-app-fg, var(--term-fg));\n font-family: var(--term-font-family);\n font-size: var(--term-font-size);\n font-kerning: none;\n font-variant-ligatures: none;\n line-height: var(--term-line-height);\n padding: 12px;\n border-radius: 8px;\n box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);\n outline: none;\n overflow: hidden;\n overflow-anchor: none;\n}\n\n.wterm:focus,\n.wterm:focus-visible {\n outline: none;\n}\n\n.term-grid {\n display: block;\n position: relative;\n white-space: pre;\n contain: layout paint style;\n will-change: contents;\n}\n\n.term-announcements {\n position: absolute;\n left: 0;\n top: 0;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: pre;\n pointer-events: none;\n user-select: none;\n}\n\n.term-images {\n position: absolute;\n inset: 0;\n pointer-events: none;\n overflow: visible;\n z-index: 1;\n}\n\n.term-search-layer {\n position: absolute;\n inset: 0;\n pointer-events: none;\n user-select: none;\n z-index: 2;\n}\n\n.term-search-match {\n position: absolute;\n background: var(--term-search-match, rgb(255 200 0 / 25%));\n}\n\n.term-search-active {\n background: var(--term-search-active, rgb(255 150 0 / 40%));\n box-shadow: inset 0 0 0 1px var(--term-search-border, #ffb000);\n}\n\n.term-image-flow-spacer {\n display: block;\n height: 0;\n pointer-events: none;\n}\n\n.term-image {\n position: absolute;\n display: block;\n pointer-events: none;\n user-select: none;\n}\n\n.term-row {\n display: block;\n height: var(--term-row-height);\n line-height: var(--term-row-height);\n contain: layout style;\n}\n\n.term-select-all .term-row,\n.term-rectangle-row {\n position: relative;\n}\n\n.term-select-all .term-row::after,\n.term-rectangle-row::after {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--term-selection-bg, rgb(80 140 255 / 30%));\n pointer-events: none;\n user-select: none;\n z-index: 3;\n}\n\n.term-rectangle-row::after {\n left: var(--term-selection-left);\n width: var(--term-selection-width);\n right: auto;\n}\n\n.term-selection-status {\n position: sticky;\n bottom: 0;\n width: fit-content;\n max-width: 100%;\n white-space: normal;\n background: var(--term-app-bg, var(--term-bg));\n color: var(--term-app-fg, var(--term-fg));\n user-select: none;\n pointer-events: none;\n z-index: 4;\n}\n\n.term-selection-status:empty {\n display: none;\n}\n\n.term-scrollback-spacer {\n display: block;\n pointer-events: none;\n}\n\n.term-size-probe {\n position: absolute;\n top: 0;\n left: 0;\n visibility: hidden;\n pointer-events: none;\n white-space: pre;\n width: auto;\n height: var(--term-row-height);\n}\n\n.term-row > span,\n.term-row > .term-link,\n.term-link > span {\n display: inline-block;\n height: var(--term-row-height);\n vertical-align: top;\n}\n\n.term-row > span,\n.term-link > span {\n width: calc(var(--term-span-cols, 1) * var(--term-cell-width, 1ch));\n /* Glyph ink may overhang its advance without moving the following cell. */\n overflow: visible;\n}\n\n.term-link {\n color: inherit;\n cursor: text;\n}\n\n.wterm.link-modifier-active .term-link:hover,\n.term-link:focus-visible {\n cursor: pointer;\n}\n\n.wterm.link-modifier-active .term-link:hover > span,\n.term-link:focus-visible > span {\n text-decoration: underline;\n text-underline-offset: 0.15em;\n}\n\n.term-block {\n width: var(--term-cell-width, 1ch);\n overflow: hidden;\n -webkit-text-fill-color: transparent;\n}\n\n.term-box {\n --term-box-stroke: max(\n 1px,\n round(calc(var(--term-cell-width, 1ch) * 0.18), 1px)\n );\n -webkit-text-fill-color: transparent;\n}\n\n.term-box-heavy,\n.term-box-bold {\n --term-box-stroke: max(\n 2px,\n round(calc(var(--term-cell-width, 1ch) * 0.3), 1px)\n );\n}\n\n.term-box-round {\n position: relative;\n}\n\n.term-box-round::after {\n content: "";\n position: absolute;\n box-sizing: border-box;\n border: 0 solid currentColor;\n pointer-events: none;\n}\n\n.term-box-round-tl::after {\n inset: calc(50% - var(--term-box-stroke) * 0.5) 0 0\n calc(50% - var(--term-box-stroke) * 0.5);\n border-top-width: var(--term-box-stroke);\n border-left-width: var(--term-box-stroke);\n border-top-left-radius: 100%;\n}\n\n.term-box-round-tr::after {\n inset: calc(50% - var(--term-box-stroke) * 0.5)\n calc(50% - var(--term-box-stroke) * 0.5) 0 0;\n border-top-width: var(--term-box-stroke);\n border-right-width: var(--term-box-stroke);\n border-top-right-radius: 100%;\n}\n\n.term-box-round-br::after {\n inset: 0 calc(50% - var(--term-box-stroke) * 0.5)\n calc(50% - var(--term-box-stroke) * 0.5) 0;\n border-bottom-width: var(--term-box-stroke);\n border-right-width: var(--term-box-stroke);\n border-bottom-right-radius: 100%;\n}\n\n.term-box-round-bl::after {\n inset: 0 0 calc(50% - var(--term-box-stroke) * 0.5)\n calc(50% - var(--term-box-stroke) * 0.5);\n border-bottom-width: var(--term-box-stroke);\n border-left-width: var(--term-box-stroke);\n border-bottom-left-radius: 100%;\n}\n\n@media (forced-colors: active), print {\n .term-block {\n background: none !important;\n -webkit-text-fill-color: currentColor;\n }\n\n .term-box {\n background-image: none !important;\n -webkit-text-fill-color: currentColor;\n }\n\n .term-box-round::after {\n display: none;\n }\n}\n\n.term-wide {\n --term-span-cols: 2;\n overflow: visible;\n}\n\n.term-cursor {\n color: var(--term-cell-fg, inherit);\n background: var(--term-cell-bg, transparent);\n outline: 1px solid var(--term-app-cursor, var(--term-cursor));\n outline-offset: -1px;\n}\n\n/* Native text selection can blur the input until click-to-focus runs. Keep\n the cursor active during that press without cancelling the selection. */\n.wterm:is(.focused, :active) .term-cursor {\n background: var(--term-app-cursor, var(--term-cursor));\n color: var(--term-app-bg, var(--term-bg));\n outline: none;\n}\n\n.wterm:is(.focused, :active) .term-grid[data-cursor-shape="bar"] .term-cursor,\n.wterm:is(.focused, :active) .term-grid[data-cursor-shape="underline"] .term-cursor {\n background: var(--term-cell-bg, transparent);\n color: var(--term-cell-fg, inherit);\n box-shadow: var(--term-cursor-shadow);\n --term-cursor-animation: cursor-line-blink;\n}\n\n.term-grid[data-cursor-shape="bar"] .term-cursor {\n --term-cursor-shadow: inset 2px 0 0 var(--term-app-cursor, var(--term-cursor));\n}\n\n.term-grid[data-cursor-shape="underline"] .term-cursor {\n --term-cursor-shadow: inset 0 -2px 0\n var(--term-app-cursor, var(--term-cursor));\n}\n\n.wterm:is(.focused, :active).cursor-blink .term-cursor,\n.wterm:is(.focused, :active):not(.cursor-steady)\n .term-grid[data-cursor-blink="true"]\n .term-cursor {\n animation: var(--term-cursor-animation, cursor-blink) 1s step-end infinite;\n}\n\n@keyframes cursor-blink {\n 0%,\n 100% {\n background: var(--term-app-cursor, var(--term-cursor));\n color: var(--term-app-bg, var(--term-bg));\n }\n 50% {\n background: var(--term-cell-bg, transparent);\n color: var(--term-cell-fg, inherit);\n }\n}\n\n@keyframes cursor-line-blink {\n 0%,\n 100% {\n box-shadow: var(--term-cursor-shadow);\n }\n 50% {\n box-shadow: none;\n }\n}\n\n.wterm.has-scrollback,\n.wterm.has-image-flow {\n overflow-y: auto;\n}\n\n.wterm ::selection {\n background: rgba(86, 156, 214, 0.3);\n}\n\n/* Solarized Dark */\n.wterm.theme-solarized-dark {\n --term-fg: #839496;\n --term-bg: #002b36;\n --term-cursor: #93a1a1;\n --term-color-0: #073642;\n --term-color-1: #dc322f;\n --term-color-2: #859900;\n --term-color-3: #b58900;\n --term-color-4: #268bd2;\n --term-color-5: #d33682;\n --term-color-6: #2aa198;\n --term-color-7: #eee8d5;\n --term-color-8: #586e75;\n --term-color-9: #cb4b16;\n --term-color-10: #586e75;\n --term-color-11: #657b83;\n --term-color-12: #839496;\n --term-color-13: #6c71c4;\n --term-color-14: #93a1a1;\n --term-color-15: #fdf6e3;\n}\n\n/* Monokai */\n.wterm.theme-monokai {\n --term-fg: #f8f8f2;\n --term-bg: #272822;\n --term-cursor: #f8f8f0;\n --term-color-0: #272822;\n --term-color-1: #f92672;\n --term-color-2: #a6e22e;\n --term-color-3: #f4bf75;\n --term-color-4: #66d9ef;\n --term-color-5: #ae81ff;\n --term-color-6: #a1efe4;\n --term-color-7: #f8f8f2;\n --term-color-8: #75715e;\n --term-color-9: #f92672;\n --term-color-10: #a6e22e;\n --term-color-11: #f4bf75;\n --term-color-12: #66d9ef;\n --term-color-13: #ae81ff;\n --term-color-14: #a1efe4;\n --term-color-15: #f9f8f5;\n}\n\n/* Light */\n.wterm.theme-light {\n --term-fg: #383a42;\n --term-bg: #fafafa;\n --term-cursor: #526eff;\n --term-color-0: #383a42;\n --term-color-1: #e45649;\n --term-color-2: #50a14f;\n --term-color-3: #c18401;\n --term-color-4: #4078f2;\n --term-color-5: #a626a4;\n --term-color-6: #0184bc;\n --term-color-7: #fafafa;\n --term-color-8: #a0a1a7;\n --term-color-9: #e45649;\n --term-color-10: #50a14f;\n --term-color-11: #c18401;\n --term-color-12: #4078f2;\n --term-color-13: #a626a4;\n --term-color-14: #0184bc;\n --term-color-15: #ffffff;\n}\n';
6302
+ var terminal_default = '.wterm {\n /* Application overrides are owned by the renderer; each terminal is isolated. */\n --term-app-fg: initial;\n --term-app-bg: initial;\n --term-app-cursor: initial;\n\n --term-fg: #d4d4d4;\n --term-bg: #1e1e1e;\n --term-cursor: #aeafad;\n\n --term-color-0: #1e1e1e;\n --term-color-1: #f44747;\n --term-color-2: #6a9955;\n --term-color-3: #d7ba7d;\n --term-color-4: #569cd6;\n --term-color-5: #c586c0;\n --term-color-6: #4ec9b0;\n --term-color-7: #d4d4d4;\n --term-color-8: #808080;\n --term-color-9: #f44747;\n --term-color-10: #6a9955;\n --term-color-11: #d7ba7d;\n --term-color-12: #569cd6;\n --term-color-13: #c586c0;\n --term-color-14: #4ec9b0;\n --term-color-15: #ffffff;\n\n --term-font-family:\n "Menlo", "Consolas", "DejaVu Sans Mono", "Courier New", monospace;\n --term-font-size: 14px;\n --term-line-height: 1.2;\n --term-row-height: 17px;\n\n position: relative;\n background: var(--term-app-bg, var(--term-bg));\n color: var(--term-app-fg, var(--term-fg));\n font-family: var(--term-font-family);\n font-size: var(--term-font-size);\n font-kerning: none;\n font-variant-ligatures: none;\n line-height: var(--term-line-height);\n padding: 12px;\n border-radius: 8px;\n box-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);\n outline: none;\n overflow: hidden;\n overflow-anchor: none;\n}\n\n.wterm:focus,\n.wterm:focus-visible {\n outline: none;\n}\n\n.term-grid {\n display: block;\n position: relative;\n white-space: pre;\n contain: layout paint style;\n will-change: contents;\n}\n\n.term-announcements {\n position: absolute;\n left: 0;\n top: 0;\n width: 1px;\n height: 1px;\n padding: 0;\n margin: -1px;\n overflow: hidden;\n clip-path: inset(50%);\n white-space: pre;\n pointer-events: none;\n user-select: none;\n}\n\n.term-images {\n position: absolute;\n inset: 0;\n pointer-events: none;\n overflow: visible;\n z-index: 1;\n}\n\n.term-search-layer {\n position: absolute;\n inset: 0;\n pointer-events: none;\n user-select: none;\n z-index: 2;\n}\n\n.term-search-match {\n position: absolute;\n background: var(--term-search-match, rgb(255 200 0 / 25%));\n}\n\n.term-search-active {\n background: var(--term-search-active, rgb(255 150 0 / 40%));\n box-shadow: inset 0 0 0 1px var(--term-search-border, #ffb000);\n}\n\n.term-image-flow-spacer {\n display: block;\n height: 0;\n pointer-events: none;\n}\n\n.term-image {\n position: absolute;\n display: block;\n pointer-events: none;\n user-select: none;\n}\n\n.term-row {\n display: block;\n height: var(--term-row-height);\n line-height: var(--term-row-height);\n contain: layout style;\n}\n\n.term-select-all .term-row,\n.term-rectangle-row {\n position: relative;\n}\n\n.term-select-all .term-row::after,\n.term-rectangle-row::after {\n content: "";\n position: absolute;\n inset: 0;\n background: var(--term-selection-bg, rgb(80 140 255 / 30%));\n pointer-events: none;\n user-select: none;\n z-index: 3;\n}\n\n.term-rectangle-row::after {\n left: var(--term-selection-left);\n width: var(--term-selection-width);\n right: auto;\n}\n\n.term-selection-status {\n position: sticky;\n bottom: 0;\n width: fit-content;\n max-width: 100%;\n white-space: normal;\n background: var(--term-app-bg, var(--term-bg));\n color: var(--term-app-fg, var(--term-fg));\n user-select: none;\n pointer-events: none;\n z-index: 4;\n}\n\n.term-selection-status:empty {\n display: none;\n}\n\n.term-scrollback-spacer {\n display: block;\n pointer-events: none;\n}\n\n.term-keyboard-spacer {\n flex: none;\n pointer-events: none;\n}\n\n.term-size-probe {\n position: absolute;\n top: 0;\n left: 0;\n visibility: hidden;\n pointer-events: none;\n white-space: pre;\n width: auto;\n height: var(--term-row-height);\n}\n\n.term-row > span,\n.term-row > .term-link,\n.term-link > span {\n display: inline-block;\n height: var(--term-row-height);\n vertical-align: top;\n}\n\n.term-row > span,\n.term-link > span {\n width: calc(var(--term-span-cols, 1) * var(--term-cell-width, 1ch));\n /* Glyph ink may overhang its advance without moving the following cell. */\n overflow: visible;\n}\n\n.term-link {\n color: inherit;\n cursor: text;\n}\n\n.wterm.link-modifier-active .term-link:hover,\n.term-link:focus-visible {\n cursor: pointer;\n}\n\n.wterm.link-modifier-active .term-link:hover > span,\n.term-link:focus-visible > span {\n text-decoration: underline;\n text-underline-offset: 0.15em;\n}\n\n.term-block {\n width: var(--term-cell-width, 1ch);\n overflow: hidden;\n -webkit-text-fill-color: transparent;\n}\n\n.term-box {\n --term-box-stroke: max(\n 1px,\n round(calc(var(--term-cell-width, 1ch) * 0.18), 1px)\n );\n -webkit-text-fill-color: transparent;\n}\n\n.term-box-heavy,\n.term-box-bold {\n --term-box-stroke: max(\n 2px,\n round(calc(var(--term-cell-width, 1ch) * 0.3), 1px)\n );\n}\n\n.term-box-round {\n position: relative;\n}\n\n.term-box-round::after {\n content: "";\n position: absolute;\n box-sizing: border-box;\n border: 0 solid currentColor;\n pointer-events: none;\n}\n\n.term-box-round-tl::after {\n inset: calc(50% - var(--term-box-stroke) * 0.5) 0 0\n calc(50% - var(--term-box-stroke) * 0.5);\n border-top-width: var(--term-box-stroke);\n border-left-width: var(--term-box-stroke);\n border-top-left-radius: 100%;\n}\n\n.term-box-round-tr::after {\n inset: calc(50% - var(--term-box-stroke) * 0.5)\n calc(50% - var(--term-box-stroke) * 0.5) 0 0;\n border-top-width: var(--term-box-stroke);\n border-right-width: var(--term-box-stroke);\n border-top-right-radius: 100%;\n}\n\n.term-box-round-br::after {\n inset: 0 calc(50% - var(--term-box-stroke) * 0.5)\n calc(50% - var(--term-box-stroke) * 0.5) 0;\n border-bottom-width: var(--term-box-stroke);\n border-right-width: var(--term-box-stroke);\n border-bottom-right-radius: 100%;\n}\n\n.term-box-round-bl::after {\n inset: 0 0 calc(50% - var(--term-box-stroke) * 0.5)\n calc(50% - var(--term-box-stroke) * 0.5);\n border-bottom-width: var(--term-box-stroke);\n border-left-width: var(--term-box-stroke);\n border-bottom-left-radius: 100%;\n}\n\n@media (forced-colors: active), print {\n .term-block {\n background: none !important;\n -webkit-text-fill-color: currentColor;\n }\n\n .term-box {\n background-image: none !important;\n -webkit-text-fill-color: currentColor;\n }\n\n .term-box-round::after {\n display: none;\n }\n}\n\n.term-wide {\n --term-span-cols: 2;\n overflow: visible;\n}\n\n.term-cursor {\n color: var(--term-cell-fg, inherit);\n background: var(--term-cell-bg, transparent);\n outline: 1px solid var(--term-app-cursor, var(--term-cursor));\n outline-offset: -1px;\n}\n\n/* Native text selection can blur the input until click-to-focus runs. Keep\n the cursor active during that press without cancelling the selection. */\n.wterm:is(.focused, :active) .term-cursor {\n background: var(--term-app-cursor, var(--term-cursor));\n color: var(--term-app-bg, var(--term-bg));\n outline: none;\n}\n\n.wterm:is(.focused, :active) .term-grid[data-cursor-shape="bar"] .term-cursor,\n.wterm:is(.focused, :active) .term-grid[data-cursor-shape="underline"] .term-cursor {\n background: var(--term-cell-bg, transparent);\n color: var(--term-cell-fg, inherit);\n box-shadow: var(--term-cursor-shadow);\n --term-cursor-animation: cursor-line-blink;\n}\n\n.term-grid[data-cursor-shape="bar"] .term-cursor {\n --term-cursor-shadow: inset 2px 0 0 var(--term-app-cursor, var(--term-cursor));\n}\n\n.term-grid[data-cursor-shape="underline"] .term-cursor {\n --term-cursor-shadow: inset 0 -2px 0\n var(--term-app-cursor, var(--term-cursor));\n}\n\n.wterm:is(.focused, :active).cursor-blink .term-cursor,\n.wterm:is(.focused, :active):not(.cursor-steady)\n .term-grid[data-cursor-blink="true"]\n .term-cursor {\n animation: var(--term-cursor-animation, cursor-blink) 1s step-end infinite;\n}\n\n@keyframes cursor-blink {\n 0%,\n 100% {\n background: var(--term-app-cursor, var(--term-cursor));\n color: var(--term-app-bg, var(--term-bg));\n }\n 50% {\n background: var(--term-cell-bg, transparent);\n color: var(--term-cell-fg, inherit);\n }\n}\n\n@keyframes cursor-line-blink {\n 0%,\n 100% {\n box-shadow: var(--term-cursor-shadow);\n }\n 50% {\n box-shadow: none;\n }\n}\n\n.wterm.has-scrollback,\n.wterm.has-image-flow {\n overflow-y: auto;\n}\n\n.wterm ::selection {\n background: rgba(86, 156, 214, 0.3);\n}\n\n/* Solarized Dark */\n.wterm.theme-solarized-dark {\n --term-fg: #839496;\n --term-bg: #002b36;\n --term-cursor: #93a1a1;\n --term-color-0: #073642;\n --term-color-1: #dc322f;\n --term-color-2: #859900;\n --term-color-3: #b58900;\n --term-color-4: #268bd2;\n --term-color-5: #d33682;\n --term-color-6: #2aa198;\n --term-color-7: #eee8d5;\n --term-color-8: #586e75;\n --term-color-9: #cb4b16;\n --term-color-10: #586e75;\n --term-color-11: #657b83;\n --term-color-12: #839496;\n --term-color-13: #6c71c4;\n --term-color-14: #93a1a1;\n --term-color-15: #fdf6e3;\n}\n\n/* Monokai */\n.wterm.theme-monokai {\n --term-fg: #f8f8f2;\n --term-bg: #272822;\n --term-cursor: #f8f8f0;\n --term-color-0: #272822;\n --term-color-1: #f92672;\n --term-color-2: #a6e22e;\n --term-color-3: #f4bf75;\n --term-color-4: #66d9ef;\n --term-color-5: #ae81ff;\n --term-color-6: #a1efe4;\n --term-color-7: #f8f8f2;\n --term-color-8: #75715e;\n --term-color-9: #f92672;\n --term-color-10: #a6e22e;\n --term-color-11: #f4bf75;\n --term-color-12: #66d9ef;\n --term-color-13: #ae81ff;\n --term-color-14: #a1efe4;\n --term-color-15: #f9f8f5;\n}\n\n/* Light */\n.wterm.theme-light {\n --term-fg: #383a42;\n --term-bg: #fafafa;\n --term-cursor: #526eff;\n --term-color-0: #383a42;\n --term-color-1: #e45649;\n --term-color-2: #50a14f;\n --term-color-3: #c18401;\n --term-color-4: #4078f2;\n --term-color-5: #a626a4;\n --term-color-6: #0184bc;\n --term-color-7: #fafafa;\n --term-color-8: #a0a1a7;\n --term-color-9: #e45649;\n --term-color-10: #50a14f;\n --term-color-11: #c18401;\n --term-color-12: #4078f2;\n --term-color-13: #a626a4;\n --term-color-14: #0184bc;\n --term-color-15: #ffffff;\n}\n';
6214
6303
 
6215
6304
  // src/slicc-terminal.css
6216
6305
  var slicc_terminal_default = 'slicc-terminal {\n display: block;\n position: relative;\n box-sizing: border-box;\n height: var(--slicc-terminal-height, 360px);\n overflow: hidden;\n border-radius: var(--slicc-terminal-border-radius, 4px);\n background: var(--slicc-terminal-background, #1d1d1d);\n}\n\nslicc-terminal[rows] {\n height: auto;\n}\n\nslicc-terminal > .wterm {\n --term-fg: var(--slicc-terminal-foreground, #d4d4d4);\n --term-bg: var(--slicc-terminal-background, #1d1d1d);\n --term-cursor: var(--slicc-terminal-cursor, #aeafad);\n --term-color-0: var(--slicc-terminal-color-0, #1d1d1d);\n --term-color-1: var(--slicc-terminal-color-1, #f44747);\n --term-color-2: var(--slicc-terminal-color-2, #6a9955);\n --term-color-3: var(--slicc-terminal-color-3, #d7ba7d);\n --term-color-4: var(--slicc-terminal-color-4, #569cd6);\n --term-color-5: var(--slicc-terminal-color-5, #c586c0);\n --term-color-6: var(--slicc-terminal-color-6, #4ec9b0);\n --term-color-7: var(--slicc-terminal-color-7, #d4d4d4);\n --term-color-8: var(--slicc-terminal-color-8, #808080);\n --term-color-9: var(--slicc-terminal-color-9, #f44747);\n --term-color-10: var(--slicc-terminal-color-10, #6a9955);\n --term-color-11: var(--slicc-terminal-color-11, #d7ba7d);\n --term-color-12: var(--slicc-terminal-color-12, #569cd6);\n --term-color-13: var(--slicc-terminal-color-13, #c586c0);\n --term-color-14: var(--slicc-terminal-color-14, #4ec9b0);\n --term-color-15: var(--slicc-terminal-color-15, #ffffff);\n --term-font-family: var(\n --slicc-terminal-font-family,\n "Source Code Pro",\n "Menlo",\n "Consolas",\n "DejaVu Sans Mono",\n monospace\n );\n --term-font-size: var(--slicc-terminal-font-size, 14px);\n --term-line-height: var(--slicc-terminal-line-height, 1.2);\n\n box-sizing: border-box;\n height: 100%;\n padding: var(--slicc-terminal-padding, 8px);\n border-radius: 0;\n box-shadow: none;\n}\n\nslicc-terminal[rows] > .wterm {\n height: auto;\n}\n';
@@ -6485,4 +6574,4 @@ export {
6485
6574
  SliccTerminal,
6486
6575
  define
6487
6576
  };
6488
- //# sourceMappingURL=chunk-SQG7U2FN.js.map
6577
+ //# sourceMappingURL=chunk-KYIEFCEE.js.map