@openspecui/web 0.9.3 → 1.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/assets/BufferResource-DMjllemV.js +185 -0
- package/dist/assets/CanvasRenderer-kKbOzIca.js +1 -0
- package/dist/assets/Filter-C5l7SDia.js +1 -0
- package/dist/assets/RenderTargetSystem-BaFVF7ku.js +172 -0
- package/dist/assets/WebGLRenderer-Ch58nD6Y.js +156 -0
- package/dist/assets/WebGPURenderer-Bpf-ane5.js +41 -0
- package/dist/assets/browserAll-CiXGzqJc.js +14 -0
- package/dist/assets/gemini-Bk-V9kKu.png +0 -0
- package/dist/assets/index-BQ6UeNz3.js +7 -0
- package/{dist-ssg/client/assets/index-ftYom_wU.js → dist/assets/index-BTMNsWWi.js} +1 -1
- package/dist/assets/{index-eA_XNQ_L.js → index-BXWVYqbO.js} +1 -1
- package/dist/assets/{index-BsTieXqQ.js → index-BXqdCpuU.js} +1 -1
- package/dist/assets/{index-Bp00uZNc.js → index-Bdb0Fpwv.js} +1 -1
- package/{dist-ssg/client/assets/index-CCfVkFzN.js → dist/assets/index-BgHJ8w_f.js} +1 -1
- package/{dist-ssg/client/assets/index-B1hpa--1.js → dist/assets/index-BwIIOUjO.js} +1 -1
- package/dist/assets/index-CEf9wXLh.css +1 -0
- package/dist/assets/{index-gvPT4BlL.js → index-CFkiyi1j.js} +1 -1
- package/{dist-ssg/client/assets/index-AbWe21oh.js → dist/assets/index-CLxF_OQQ.js} +1 -1
- package/dist/assets/{index-BvGAWAqS.js → index-CckLtqno.js} +1 -1
- package/dist/assets/index-CsXgfYOH.js +1377 -0
- package/{dist-ssg/client/assets/index-ArhptQw0.js → dist/assets/index-D2Uig6TZ.js} +1 -1
- package/dist/assets/{index-8c6bEJ99.js → index-DEWTHv2o.js} +1 -1
- package/dist/assets/{index-Bafja8o4.js → index-DJZG7SGL.js} +1 -1
- package/dist/assets/index-L7IKyBGp.js +1 -0
- package/{dist-ssg/client/assets/index-D3mXuuih.js → dist/assets/index-e2r1Tz_y.js} +1 -1
- package/dist/assets/webworkerAll-D0vlbEoH.js +83 -0
- package/dist/index.html +2 -2
- package/dist-ssg/client/.vite/ssr-manifest.json +3082 -504
- package/dist-ssg/client/assets/BufferResource-DMjllemV.js +185 -0
- package/dist-ssg/client/assets/CanvasRenderer-kKbOzIca.js +1 -0
- package/dist-ssg/client/assets/Filter-C5l7SDia.js +1 -0
- package/dist-ssg/client/assets/RenderTargetSystem-BaFVF7ku.js +172 -0
- package/dist-ssg/client/assets/WebGLRenderer-Ch58nD6Y.js +156 -0
- package/dist-ssg/client/assets/WebGPURenderer-Bpf-ane5.js +41 -0
- package/dist-ssg/client/assets/browserAll-CiXGzqJc.js +14 -0
- package/dist-ssg/client/assets/gemini-Bk-V9kKu.png +0 -0
- package/dist-ssg/client/assets/index-BQ6UeNz3.js +7 -0
- package/{dist/assets/index-ftYom_wU.js → dist-ssg/client/assets/index-BTMNsWWi.js} +1 -1
- package/dist-ssg/client/assets/{index-eA_XNQ_L.js → index-BXWVYqbO.js} +1 -1
- package/dist-ssg/client/assets/{index-BsTieXqQ.js → index-BXqdCpuU.js} +1 -1
- package/dist-ssg/client/assets/{index-Bp00uZNc.js → index-Bdb0Fpwv.js} +1 -1
- package/{dist/assets/index-CCfVkFzN.js → dist-ssg/client/assets/index-BgHJ8w_f.js} +1 -1
- package/{dist/assets/index-B1hpa--1.js → dist-ssg/client/assets/index-BwIIOUjO.js} +1 -1
- package/dist-ssg/client/assets/index-CEf9wXLh.css +1 -0
- package/dist-ssg/client/assets/{index-gvPT4BlL.js → index-CFkiyi1j.js} +1 -1
- package/{dist/assets/index-AbWe21oh.js → dist-ssg/client/assets/index-CLxF_OQQ.js} +1 -1
- package/dist-ssg/client/assets/{index-BvGAWAqS.js → index-CckLtqno.js} +1 -1
- package/dist-ssg/client/assets/index-CsXgfYOH.js +1377 -0
- package/{dist/assets/index-ArhptQw0.js → dist-ssg/client/assets/index-D2Uig6TZ.js} +1 -1
- package/dist-ssg/client/assets/{index-8c6bEJ99.js → index-DEWTHv2o.js} +1 -1
- package/dist-ssg/client/assets/{index-Bafja8o4.js → index-DJZG7SGL.js} +1 -1
- package/dist-ssg/client/assets/index-L7IKyBGp.js +1 -0
- package/{dist/assets/index-D3mXuuih.js → dist-ssg/client/assets/index-e2r1Tz_y.js} +1 -1
- package/dist-ssg/client/assets/webworkerAll-D0vlbEoH.js +83 -0
- package/dist-ssg/client/index.html +2 -2
- package/dist-ssg/server/assets/BufferResource-BXrsGVSz.js +592 -0
- package/dist-ssg/server/assets/CanvasRenderer-pNmMTrI2.js +1530 -0
- package/dist-ssg/server/assets/Filter-ClU0-pLL.js +80 -0
- package/dist-ssg/server/assets/RenderTargetSystem-CVz6i60H.js +3037 -0
- package/dist-ssg/server/assets/WebGLRenderer-Dga41Fk-.js +3887 -0
- package/dist-ssg/server/assets/WebGPURenderer-B0JmWN_-.js +2146 -0
- package/dist-ssg/server/assets/browserAll-DnX6zchK.js +2691 -0
- package/dist-ssg/server/assets/{index-BUANIFyF.js → index-AY5dwCzB.js} +3 -1
- package/dist-ssg/server/assets/{index-DsfT46da.js → index-BDNpfeKp.js} +3 -1
- package/dist-ssg/server/assets/{index-Cmnd0jiw.js → index-BDhUxlhZ.js} +3 -1
- package/dist-ssg/server/assets/{index-D0JVKGRJ.js → index-BNzczBXx.js} +3 -1
- package/dist-ssg/server/assets/{index-CnRKREoz.js → index-BrBfJs8G.js} +3 -1
- package/dist-ssg/server/assets/{index-DYmgiM6_.js → index-BypCwnYp.js} +3 -1
- package/dist-ssg/server/assets/{index-oPcprgZH.js → index-CEcjSZWj.js} +3 -1
- package/dist-ssg/server/assets/{index-Dk9q2o0C.js → index-CM_EYDdh.js} +3 -1
- package/dist-ssg/server/assets/{index-D6n8WPGB.js → index-CgoHTGw5.js} +3 -1
- package/dist-ssg/server/assets/{index-Bzw5T-vd.js → index-CoQZ31Df.js} +3 -1
- package/dist-ssg/server/assets/{index-mJoWrrNO.js → index-CrjnEc68.js} +3 -1
- package/dist-ssg/server/assets/{index-CFKaffPZ.js → index-Cvec0FAd.js} +3 -1
- package/dist-ssg/server/assets/{index-CAP0cmVO.js → index-DEin2khy.js} +3 -1
- package/dist-ssg/server/assets/{index-Brcpp_nj.js → index-DcUFserL.js} +3 -1
- package/dist-ssg/server/assets/{index-DCGDP0cs.js → index-uF1vLXwX.js} +2 -0
- package/dist-ssg/server/assets/init-CnkBvt-J.js +666 -0
- package/dist-ssg/server/assets/webworkerAll-BcWv2bEB.js +12 -0
- package/dist-ssg/server/entry-server.js +87644 -35241
- package/package.json +23 -5
- package/dist/assets/index-D-Urq2hl.css +0 -1
- package/dist/assets/index-DFOLYN6W.js +0 -1
- package/dist/assets/index-DpxkOmNJ.js +0 -7
- package/dist/assets/index-YZ-iXB95.js +0 -309
- package/dist-ssg/client/assets/index-D-Urq2hl.css +0 -1
- package/dist-ssg/client/assets/index-DFOLYN6W.js +0 -1
- package/dist-ssg/client/assets/index-DpxkOmNJ.js +0 -7
- package/dist-ssg/client/assets/index-YZ-iXB95.js +0 -309
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LRLanguage, L as LanguageSupport,
|
|
1
|
+
import { a as LRLanguage, L as LanguageSupport, j as html, p as parseMixed, b as LRParser, q as javascriptLanguage, s as styleTags, t as tags, E as ExternalTokenizer } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const Text = 1, attributeContentSingle = 33, attributeContentDouble = 34, scriptAttributeContentSingle = 35, scriptAttributeContentDouble = 36;
|
|
10
12
|
const text = /* @__PURE__ */ new ExternalTokenizer((input) => {
|
|
11
13
|
let start = input.pos;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, a as LRLanguage, L as LanguageSupport, i as indentNodeProp, f as foldNodeProp, c as continuedIndent,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, a as LRLanguage, L as LanguageSupport, i as indentNodeProp, f as foldNodeProp, c as continuedIndent, o as foldInside } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const closureParamDelim = 1, tpOpen = 2, tpClose = 3, RawString = 4, Float = 5;
|
|
10
12
|
const _b = 98, _e = 101, _f = 102, _r = 114, _E = 69, Zero = 48, Dot = 46, Plus = 43, Minus = 45, Hash = 35, Quote = 34, Pipe = 124, LessThan = 60, GreaterThan = 62;
|
|
11
13
|
function isNum(ch) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags, n as defineCSSCompletionSource, a as LRLanguage, L as LanguageSupport, f as foldNodeProp, i as indentNodeProp, o as foldInside, c as continuedIndent } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const indent = 168, dedent = 169, descendantOp = 170, InterpolationEnd = 1, InterpolationContinue = 2, Unit = 3, callee = 171, identifier = 172, VariableName = 4, queryIdentifier = 173, InterpolationStart = 5, newline = 174, blankLineStart = 175, eof = 176, whitespace = 177, LineComment = 6, Comment = 7, IndentedMixin = 8, IndentedInclude = 9, Dialect_indented = 0;
|
|
10
12
|
const space = [
|
|
11
13
|
9,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, s as styleTags, t as tags, a as LRLanguage, L as LanguageSupport, i as indentNodeProp, f as foldNodeProp, c as continuedIndent,
|
|
1
|
+
import { b as LRParser, s as styleTags, t as tags, a as LRLanguage, L as LanguageSupport, i as indentNodeProp, f as foldNodeProp, c as continuedIndent, l as delimitedIndent, v as flatIndent, o as foldInside } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const javaHighlighting = styleTags({
|
|
10
12
|
null: tags.null,
|
|
11
13
|
instanceof: tags.operatorKeyword,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { n as defineCSSCompletionSource, a as LRLanguage, L as LanguageSupport, b as LRParser, i as indentNodeProp, f as foldNodeProp, c as continuedIndent, o as foldInside, E as ExternalTokenizer, s as styleTags, t as tags } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const descendantOp = 110, Unit = 1, openArgList = 2;
|
|
10
12
|
const space = [
|
|
11
13
|
9,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LRLanguage, L as LanguageSupport, b as LRParser, i as indentNodeProp, f as foldNodeProp, s as styleTags,
|
|
1
|
+
import { a as LRLanguage, L as LanguageSupport, b as LRParser, i as indentNodeProp, f as foldNodeProp, s as styleTags, l as delimitedIndent, o as foldInside, t as tags } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const spec_Keyword = { __proto__: null, anyref: 34, dataref: 34, eqref: 34, externref: 34, i31ref: 34, funcref: 34, i8: 34, i16: 34, i32: 34, i64: 34, f32: 34, f64: 34 };
|
|
10
12
|
const parser = /* @__PURE__ */ LRParser.deserialize({
|
|
11
13
|
version: 14,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags, d as ifNotIn, a as LRLanguage, L as LanguageSupport, e as completeFromList,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags, d as ifNotIn, a as LRLanguage, L as LanguageSupport, e as completeFromList, w as snippetCompletion, g as syntaxTree, i as indentNodeProp, f as foldNodeProp, l as delimitedIndent, o as foldInside, N as NodeWeakMap, I as IterMode } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const printKeyword = 1, indent = 194, dedent = 195, newline$1 = 196, blankLineStart = 197, newlineBracketed = 198, eof = 199, stringContent = 200, Escape = 2, replacementStart = 3, stringEnd = 201, ParenL = 24, ParenthesizedExpression = 25, TupleExpression = 49, ComprehensionExpression = 50, BracketL = 55, ArrayExpression = 56, ArrayComprehensionExpression = 57, BraceL = 59, DictionaryExpression = 60, DictionaryComprehensionExpression = 61, SetExpression = 62, SetComprehensionExpression = 63, ArgList = 65, subscript = 238, String$1 = 71, stringStart = 241, stringStartD = 242, stringStartL = 243, stringStartLD = 244, stringStartR = 245, stringStartRD = 246, stringStartRL = 247, stringStartRLD = 248, FormatString = 72, stringStartF = 249, stringStartFD = 250, stringStartFL = 251, stringStartFLD = 252, stringStartFR = 253, stringStartFRD = 254, stringStartFRL = 255, stringStartFRLD = 256, FormatReplacement = 73, nestedFormatReplacement = 77, importList = 263, TypeParamList = 112, ParamList = 130, SequencePattern = 151, MappingPattern = 152, PatternArgList = 155;
|
|
10
12
|
const newline = 10, carriageReturn = 13, space = 32, tab = 9, hash = 35, parenOpen = 40, dot = 46, braceOpen = 123, braceClose = 125, singleQuote = 39, doubleQuote = 34, backslash = 92, letter_o = 111, letter_x = 120, letter_N = 78, letter_u = 117, letter_U = 85;
|
|
11
13
|
const bracketed = /* @__PURE__ */ new Set([
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as EditorView, j as html, L as LanguageSupport, k as EditorSelection, a as LRLanguage, p as parseMixed, g as syntaxTree, b as LRParser, s as styleTags, i as indentNodeProp, f as foldNodeProp, t as tags, l as delimitedIndent, E as ExternalTokenizer, m as LocalTokenGroup } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const interpolationStart = 1, commentTagStart = 2, tagStart = 3, text = 155, endrawTagStart = 4, rawText = 156;
|
|
10
12
|
function wordChar(code) {
|
|
11
13
|
return code >= 65 && code <= 90 || code >= 97 && code <= 122;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as LRLanguage, L as LanguageSupport,
|
|
1
|
+
import { a as LRLanguage, L as LanguageSupport, j as html, p as parseMixed, b as LRParser, q as javascriptLanguage, s as styleTags, t as tags, m as LocalTokenGroup } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const parser = /* @__PURE__ */ LRParser.deserialize({
|
|
10
12
|
version: 14,
|
|
11
13
|
states: "%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, s as styleTags, C as ContextTracker, t as tags, h as EditorView, a as LRLanguage, L as LanguageSupport, g as syntaxTree, k as EditorSelection, i as indentNodeProp, f as foldNodeProp, x as bracketMatchingHandle } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const StartTag = 1, StartCloseTag = 2, MissingCloseTag = 3, mismatchedStartCloseTag = 4, incompleteStartCloseTag = 5, commentContent$1 = 36, piContent$1 = 37, cdataContent$1 = 38, Element$1 = 11, OpenTag = 13;
|
|
10
12
|
function nameChar(ch) {
|
|
11
13
|
return ch == 45 || ch == 46 || ch == 58 || ch >= 65 && ch <= 90 || ch == 95 || ch >= 97 && ch <= 122 || ch >= 161;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, m as LocalTokenGroup, s as styleTags, C as ContextTracker, t as tags, a as LRLanguage, w as snippetCompletion, L as LanguageSupport, d as ifNotIn, e as completeFromList, i as indentNodeProp, f as foldNodeProp, c as continuedIndent, l as delimitedIndent, v as flatIndent, o as foldInside, g as syntaxTree, N as NodeWeakMap, I as IterMode } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const insertedSemi = 177, space$1 = 179, identifier = 184, String = 12, closeParen$1 = 13, Number = 17, Rune = 20, closeBrace$1 = 25, closeBracket = 53, IncDecOp = 95, _return = 142, _break = 144, _continue = 145, fallthrough = 148;
|
|
10
12
|
const newline = 10, carriageReturn = 13, space = 32, tab = 9, slash = 47, closeParen = 41, closeBrace = 125;
|
|
11
13
|
const semicolon = new ExternalTokenizer((input, stack) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, a as LRLanguage,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, a as LRLanguage, j as html, L as LanguageSupport, p as parseMixed, i as indentNodeProp, f as foldNodeProp, c as continuedIndent, l as delimitedIndent, o as foldInside } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const castOpen = 1, HeredocString = 2, interpolatedStringContent = 275, EscapeSequence = 3, afterInterpolation = 276, automaticSemicolon = 277, eof = 278, abstract = 4, and = 5, array = 6, as = 7, Boolean = 8, _break = 9, _case = 10, _catch = 11, clone = 12, _const = 13, _continue = 14, _default = 15, declare = 16, _do = 17, echo = 18, _else = 19, elseif = 20, enddeclare = 21, endfor = 22, endforeach = 23, endif = 24, endswitch = 25, endwhile = 26, _enum = 27, _extends = 28, final = 29, _finally = 30, fn = 31, _for = 32, foreach = 33, from = 34, _function = 35, global = 36, goto = 37, _if = 38, _implements = 39, include = 40, include_once = 41, _instanceof = 42, insteadof = 43, _interface = 44, list = 45, match = 46, namespace = 47, _new = 48, _null = 49, or = 50, print = 51, readonly = 52, _require = 53, require_once = 54, _return = 55, _switch = 56, _throw = 57, trait = 58, _try = 59, unset = 60, use = 61, _var = 62, Visibility = 63, _while = 64, xor = 65, _yield = 66;
|
|
10
12
|
const keywordMap = {
|
|
11
13
|
abstract,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { h as EditorView, j as html, L as LanguageSupport, k as EditorSelection, a as LRLanguage, p as parseMixed, g as syntaxTree, b as LRParser, s as styleTags, i as indentNodeProp, f as foldNodeProp, t as tags, l as delimitedIndent, E as ExternalTokenizer } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const interpolationStart = 1, tagStart = 2, endTagStart = 3, text = 179, endrawTagStart = 4, rawText = 180, endcommentTagStart = 5, commentText = 181, InlineComment = 6;
|
|
10
12
|
function wordChar(code) {
|
|
11
13
|
return code >= 65 && code <= 90 || code >= 97 && code <= 122;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { b as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, a as LRLanguage, L as LanguageSupport, i as indentNodeProp, f as foldNodeProp, c as continuedIndent,
|
|
1
|
+
import { b as LRParser, E as ExternalTokenizer, s as styleTags, t as tags, a as LRLanguage, L as LanguageSupport, i as indentNodeProp, f as foldNodeProp, c as continuedIndent, l as delimitedIndent, v as flatIndent, o as foldInside } from "../entry-server.js";
|
|
2
2
|
import "util";
|
|
3
3
|
import "crypto";
|
|
4
4
|
import "async_hooks";
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const RawString = 1, templateArgsEndFallback = 2, MacroName = 3;
|
|
10
12
|
const R = 82, L = 76, u = 117, U = 85, a = 97, z = 122, A = 65, Z = 90, Underscore = 95, Zero = 48, Quote = 34, ParenL = 40, ParenR = 41, Space = 32, GreaterThan = 62;
|
|
11
13
|
const rawString = new ExternalTokenizer((input) => {
|
|
@@ -6,6 +6,8 @@ import "stream";
|
|
|
6
6
|
import "node:process";
|
|
7
7
|
import "node:path";
|
|
8
8
|
import "node:url";
|
|
9
|
+
import "process";
|
|
10
|
+
import "buffer";
|
|
9
11
|
const whitespace = 36, LineComment = 1, BlockComment = 2, String$1 = 3, Number = 4, Bool = 5, Null = 6, ParenL = 7, ParenR = 8, BraceL = 9, BraceR = 10, BracketL = 11, BracketR = 12, Semi = 13, Dot = 14, Operator = 15, Punctuation = 16, SpecialVar = 17, Identifier = 18, QuotedIdentifier = 19, Keyword = 20, Type = 21, Bits = 22, Bytes = 23, Builtin = 24;
|
|
10
12
|
function isAlpha(ch) {
|
|
11
13
|
return ch >= 65 && ch <= 90 || ch >= 97 && ch <= 122 || ch >= 48 && ch <= 57;
|