@marimo-team/islands 0.13.5-dev2 → 0.13.5-dev20

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 (154) hide show
  1. package/dist/{ConnectedDataExplorerComponent-C_AzdirZ.js → ConnectedDataExplorerComponent-DOEmJILw.js} +214 -214
  2. package/dist/{VegaLite-pu8JBu4X.js → VegaLite-Bi7Iwuks.js} +3 -3
  3. package/dist/{_baseUniq-CiTkPi5t.js → _baseUniq-CRulE2V-.js} +73 -73
  4. package/dist/any-language-editor-BnDhBHlW.js +45 -0
  5. package/dist/{architectureDiagram-IEHRJDOE-VmqfI6q1.js → architectureDiagram-IEHRJDOE-Db0q4tkp.js} +5 -5
  6. package/dist/{blockDiagram-JOT3LUYC-DKRBzPp1.js → blockDiagram-JOT3LUYC-BbaEONDd.js} +4 -4
  7. package/dist/{c4Diagram-VJAJSXHY-CEf7pRqy.js → c4Diagram-VJAJSXHY-DCAO771w.js} +2 -2
  8. package/dist/{channel-Bs-jlEYP.js → channel-C62j0-3G.js} +1 -1
  9. package/dist/{chunk-4BMEZGHF-JrnJLS3V.js → chunk-4BMEZGHF-Czsu8p_r.js} +1 -1
  10. package/dist/{chunk-A2AXSNBT-DumX03uO.js → chunk-A2AXSNBT-CnhUHlfN.js} +2 -2
  11. package/dist/{chunk-AEK57VVT-DQSlcvL4.js → chunk-AEK57VVT-CtO9BJeR.js} +2 -2
  12. package/dist/{chunk-D6G4REZN-BMURf-_-.js → chunk-D6G4REZN-BczCccsr.js} +1 -1
  13. package/dist/{chunk-RZ5BOZE2-CvR5OB8q.js → chunk-RZ5BOZE2-Ty3QgxRI.js} +1 -1
  14. package/dist/{chunk-XZIHB7SX-BV-SFg0C.js → chunk-XZIHB7SX-DuUkPJ99.js} +1 -1
  15. package/dist/{classDiagram-GIVACNV2-C43vmBPZ.js → classDiagram-GIVACNV2-DOGUy40_.js} +2 -2
  16. package/dist/{classDiagram-v2-COTLJTTW-C43vmBPZ.js → classDiagram-v2-COTLJTTW-DOGUy40_.js} +2 -2
  17. package/dist/{clone-CwdpbFLz.js → clone-BpAdDx0e.js} +1 -1
  18. package/dist/{dagre-OKDRZEBW-D8ZQV0Yi.js → dagre-OKDRZEBW-ncYF_jRJ.js} +6 -6
  19. package/dist/{data-editor-BNdfVz1v.js → data-editor-CDGfT0Ag.js} +1 -1
  20. package/dist/{diagram-SSKATNLV-Cv-GB8oR.js → diagram-SSKATNLV-vfJAhozB.js} +3 -3
  21. package/dist/{diagram-VNBRO52H-CBodmMdZ.js → diagram-VNBRO52H-CXALb0YJ.js} +3 -3
  22. package/dist/{erDiagram-Q7BY3M3F-BIX9Idxi.js → erDiagram-Q7BY3M3F-CofieFzl.js} +3 -3
  23. package/dist/{flowDiagram-4HSFHLVR-BUjSGNM7.js → flowDiagram-4HSFHLVR-DoRETZGr.js} +3 -3
  24. package/dist/{ganttDiagram-APWFNJXF-CaTNlNSB.js → ganttDiagram-APWFNJXF-DTb2GL3c.js} +23 -23
  25. package/dist/{gitGraphDiagram-7IBYFJ6S-CfCha8AW.js → gitGraphDiagram-7IBYFJ6S-B9u9lKa1.js} +4 -4
  26. package/dist/{graph-Be0UTFo9.js → graph-DZeV_PmP.js} +6 -6
  27. package/dist/{index-BeXnBqQE.js → index-B2z4T-uo.js} +3 -3
  28. package/dist/{index-L0oNsrk-.js → index-C_alj-BG.js} +21 -21
  29. package/dist/{index-BIp0EfDP.js → index-IUF61ge7.js} +1 -1
  30. package/dist/{index-Csq00T7J.js → index-tH4SrZXA.js} +1 -1
  31. package/dist/{infoDiagram-PH2N3AL5-ba3OBUZs.js → infoDiagram-PH2N3AL5-DJjfqCfO.js} +2 -2
  32. package/dist/{journeyDiagram-U35MCT3I-B4fxHacA.js → journeyDiagram-U35MCT3I-DwLkJG-f.js} +2 -2
  33. package/dist/{kanban-definition-NDS4AKOZ-DU4wIeIu.js → kanban-definition-NDS4AKOZ-n7FvGy0o.js} +1 -1
  34. package/dist/{layout-DOmPlfe3.js → layout-DU8_qM0P.js} +48 -48
  35. package/dist/{linear-DXm1WsmB.js → linear-A4R3dgx8.js} +75 -75
  36. package/dist/{main-BCsFolTh.js → main-CbgQoKOv.js} +72966 -55108
  37. package/dist/main.js +2 -2
  38. package/dist/{mermaid-DzPF7Ftb.js → mermaid-Bk_55X58.js} +28 -28
  39. package/dist/{min-edngn0Vc.js → min-BCpSZuLU.js} +23 -23
  40. package/dist/{mindmap-definition-ALO5MXBD-VOzxFY0A.js → mindmap-definition-ALO5MXBD-BFOOtzRp.js} +2 -2
  41. package/dist/{pieDiagram-IB7DONF6-TYhX-esp.js → pieDiagram-IB7DONF6-CkWbzUYC.js} +3 -3
  42. package/dist/{quadrantDiagram-7GDLP6J5-BuATYRdo.js → quadrantDiagram-7GDLP6J5-Bm8LGZsH.js} +2 -2
  43. package/dist/{radar-MK3ICKWK-P-5owg0L.js → radar-MK3ICKWK-BhGxpPEW.js} +5 -5
  44. package/dist/{react-plotly-YxAEIAwv.js → react-plotly-Dc7sTjOi.js} +1 -1
  45. package/dist/{requirementDiagram-KVF5MWMF-CRVSWoKx.js → requirementDiagram-KVF5MWMF-VYomROsQ.js} +2 -2
  46. package/dist/{sankeyDiagram-QLVOVGJD-BqPhT1F6.js → sankeyDiagram-QLVOVGJD-Dog6Cao1.js} +1 -1
  47. package/dist/{sequenceDiagram-X6HHIX6F-D3WXS_BE.js → sequenceDiagram-X6HHIX6F-BlK6Gbmq.js} +3 -3
  48. package/dist/{slides-component-CjjgisO8.js → slides-component-CZXNSfqh.js} +25 -25
  49. package/dist/{stateDiagram-DGXRK772-ByTInct0.js → stateDiagram-DGXRK772-Dsi59l9w.js} +4 -4
  50. package/dist/{stateDiagram-v2-YXO3MK2T-omH8pF_c.js → stateDiagram-v2-YXO3MK2T-FJK5U5YO.js} +2 -2
  51. package/dist/style.css +1 -1
  52. package/dist/{time-C8Vnun19.js → time-1tQSXwvY.js} +2 -2
  53. package/dist/{timeline-definition-BDJGKUSR-exRCLAbN.js → timeline-definition-BDJGKUSR-D5aLDoS-.js} +1 -1
  54. package/dist/{vega-component-LGQWoos7.js → vega-component-GBnHIS8i.js} +22 -22
  55. package/dist/{xychartDiagram-VJFVF3MP-NkfBq2mX.js → xychartDiagram-VJFVF3MP-hrlN4bis.js} +2 -2
  56. package/package.json +1 -1
  57. package/dist/any-language-editor-NCI9Qt-4.js +0 -2304
  58. package/dist/apl-B2DGVGxc.js +0 -76
  59. package/dist/asciiarmor-2LVJmxlE.js +0 -34
  60. package/dist/asterisk-DS281yxp.js +0 -271
  61. package/dist/brainfuck-C_p9pTT8.js +0 -34
  62. package/dist/clike-BUuHEmgZ.js +0 -620
  63. package/dist/cmake-CuaCgAKt.js +0 -28
  64. package/dist/cobol-BlTKFDRj.js +0 -72
  65. package/dist/coffeescript-BVCvwO8I.js +0 -179
  66. package/dist/commonlisp-D_kxz07b.js +0 -75
  67. package/dist/crystal-D309uH6_.js +0 -217
  68. package/dist/cypher-BMq4Fwjl.js +0 -68
  69. package/dist/d-BZcgY6La.js +0 -127
  70. package/dist/diff-Cg9d_RX2.js +0 -18
  71. package/dist/dockerfile-DIy8NleC.js +0 -194
  72. package/dist/dtd-CtLokQ-U.js +0 -84
  73. package/dist/dylan-QYeExnWK.js +0 -234
  74. package/dist/ebnf-DUPDuY4r.js +0 -78
  75. package/dist/ecl-CiXN-g_D.js +0 -121
  76. package/dist/eiffel-yQhjl4T1.js +0 -110
  77. package/dist/elm-CNT9vbN0.js +0 -108
  78. package/dist/erlang-CFOYdy9e.js +0 -487
  79. package/dist/factor-DDOC7X6P.js +0 -65
  80. package/dist/fcl-CPC2WYrI.js +0 -103
  81. package/dist/forth-BmxRyE9S.js +0 -60
  82. package/dist/fortran-9bvPyrOW.js +0 -442
  83. package/dist/gas-BdfkXJT_.js +0 -183
  84. package/dist/gherkin-CJuwpceU.js +0 -34
  85. package/dist/groovy-DZeT_VM-.js +0 -146
  86. package/dist/haskell-Bvt3Qq1t.js +0 -375
  87. package/dist/haxe-70NVW1pR.js +0 -359
  88. package/dist/http-D9LttvKF.js +0 -44
  89. package/dist/idl-B6TRFYjl.js +0 -947
  90. package/dist/index--31WSwGb.js +0 -97
  91. package/dist/index-AjKzuF8_.js +0 -68
  92. package/dist/index-BWGajeuh.js +0 -243
  93. package/dist/index-B_SFxcxO.js +0 -298
  94. package/dist/index-C7z-XoP1.js +0 -133
  95. package/dist/index-CCMSeZHZ.js +0 -271
  96. package/dist/index-CaOkFrfa.js +0 -57
  97. package/dist/index-D0LVf8Wa.js +0 -155
  98. package/dist/index-D7sXoVUZ.js +0 -74
  99. package/dist/index-D9crr7pQ.js +0 -92
  100. package/dist/index-DdLQGR2Z.js +0 -134
  101. package/dist/index-DsX4RoD3.js +0 -264
  102. package/dist/jinja2-DnB6dQmV.js +0 -154
  103. package/dist/julia-DpvXAuO6.js +0 -241
  104. package/dist/livescript-CanGTf8u.js +0 -272
  105. package/dist/lua-XplVlWi_.js +0 -217
  106. package/dist/mathematica-jaRHnSxC.js +0 -35
  107. package/dist/mbox-BctzC1hL.js +0 -76
  108. package/dist/mirc-CFBPAOaF.js +0 -72
  109. package/dist/modelica-vUgVs--1.js +0 -93
  110. package/dist/mscgen-Cpl0NYLN.js +0 -104
  111. package/dist/mumps-CQoS1kWX.js +0 -25
  112. package/dist/nginx-zDPm3Z74.js +0 -89
  113. package/dist/nsis-fePjrhq7.js +0 -62
  114. package/dist/ntriples-CsNjv2QF.js +0 -79
  115. package/dist/octave-C8PmmSRH.js +0 -143
  116. package/dist/oz-Ce8aN8oE.js +0 -151
  117. package/dist/pascal-De0D6mP7.js +0 -77
  118. package/dist/perl-B4bSCe1C.js +0 -915
  119. package/dist/pig-D24Z8EXi.js +0 -54
  120. package/dist/powershell-DkYVfTzP.js +0 -249
  121. package/dist/properties-Dn9wna3M.js +0 -26
  122. package/dist/protobuf-BPIjwpzm.js +0 -49
  123. package/dist/puppet-nyd4dhjf.js +0 -45
  124. package/dist/q-DXjKs-tC.js +0 -83
  125. package/dist/r-LKEuhEGI.js +0 -104
  126. package/dist/ruby-CcYfvIk6.js +0 -228
  127. package/dist/sas-7E8yHoCW.js +0 -105
  128. package/dist/scheme-DjibxsNh.js +0 -124
  129. package/dist/shell-C0C2sNA_.js +0 -182
  130. package/dist/sieve-Bwz7vjP5.js +0 -72
  131. package/dist/simple-mode-B0dvCdAA.js +0 -89
  132. package/dist/smalltalk-Bhddl2pB.js +0 -48
  133. package/dist/solr-BNlsLglM.js +0 -41
  134. package/dist/sparql-FarWu_Gb.js +0 -197
  135. package/dist/spreadsheet-C-cy4P5N.js +0 -49
  136. package/dist/stylus-CAdqWld3.js +0 -250
  137. package/dist/swift-DSxqR9R6.js +0 -230
  138. package/dist/tcl-xfoLljhY.js +0 -81
  139. package/dist/textile-D1AWE-pc.js +0 -295
  140. package/dist/tiddlywiki-5wqsXtSk.js +0 -155
  141. package/dist/tiki-__Kn3CeS.js +0 -181
  142. package/dist/toml-BHiuTcfn.js +0 -49
  143. package/dist/troff-D2UO-fKf.js +0 -35
  144. package/dist/ttcn-Bsa4sfRm.js +0 -123
  145. package/dist/turtle-xwJUxoPV.js +0 -80
  146. package/dist/vb-c2kQGd6-.js +0 -74
  147. package/dist/vbscript-Dz1TtKsy.js +0 -324
  148. package/dist/velocity-DJd0pTTC.js +0 -96
  149. package/dist/verilog-C4VGD9n1.js +0 -263
  150. package/dist/vhdl-T9HkrbI2.js +0 -106
  151. package/dist/webidl-CjfDENEo.js +0 -155
  152. package/dist/xquery-BUQdORAS.js +0 -422
  153. package/dist/yacas-C0absKBh.js +0 -73
  154. package/dist/z80-C8rPtw-0.js +0 -61
@@ -1,359 +0,0 @@
1
- function o(e) {
2
- return { type: e, style: "keyword" };
3
- }
4
- var P = o("keyword a"), W = o("keyword b"), g = o("keyword c"), K = o("operator"), z = { type: "atom", style: "atom" }, y = { type: "attribute", style: "attribute" }, c = o("typedef"), B = {
5
- if: P,
6
- while: P,
7
- else: W,
8
- do: W,
9
- try: W,
10
- return: g,
11
- break: g,
12
- continue: g,
13
- new: g,
14
- throw: g,
15
- var: o("var"),
16
- inline: y,
17
- static: y,
18
- using: o("import"),
19
- public: y,
20
- private: y,
21
- cast: o("cast"),
22
- import: o("import"),
23
- macro: o("macro"),
24
- function: o("function"),
25
- catch: o("catch"),
26
- untyped: o("untyped"),
27
- callback: o("cb"),
28
- for: o("for"),
29
- switch: o("switch"),
30
- case: o("case"),
31
- default: o("default"),
32
- in: K,
33
- never: o("property_access"),
34
- trace: o("trace"),
35
- class: c,
36
- abstract: c,
37
- enum: c,
38
- interface: c,
39
- typedef: c,
40
- extends: c,
41
- implements: c,
42
- dynamic: c,
43
- true: z,
44
- false: z,
45
- null: z
46
- }, E = /[+\-*&%=<>!?|]/;
47
- function I(e, r, n) {
48
- return r.tokenize = n, n(e, r);
49
- }
50
- function L(e, r) {
51
- for (var n = !1, i; (i = e.next()) != null; ) {
52
- if (i == r && !n)
53
- return !0;
54
- n = !n && i == "\\";
55
- }
56
- }
57
- var c, N;
58
- function p(e, r, n) {
59
- return c = e, N = n, r;
60
- }
61
- function A(e, r) {
62
- var n = e.next();
63
- if (n == '"' || n == "'")
64
- return I(e, r, M(n));
65
- if (/[\[\]{}\(\),;\:\.]/.test(n))
66
- return p(n);
67
- if (n == "0" && e.eat(/x/i))
68
- return e.eatWhile(/[\da-f]/i), p("number", "number");
69
- if (/\d/.test(n) || n == "-" && e.eat(/\d/))
70
- return e.match(/^\d*(?:\.\d*(?!\.))?(?:[eE][+\-]?\d+)?/), p("number", "number");
71
- if (r.reAllowed && n == "~" && e.eat(/\//))
72
- return L(e, "/"), e.eatWhile(/[gimsu]/), p("regexp", "string.special");
73
- if (n == "/")
74
- return e.eat("*") ? I(e, r, Q) : e.eat("/") ? (e.skipToEnd(), p("comment", "comment")) : (e.eatWhile(E), p("operator", null, e.current()));
75
- if (n == "#")
76
- return e.skipToEnd(), p("conditional", "meta");
77
- if (n == "@")
78
- return e.eat(/:/), e.eatWhile(/[\w_]/), p("metadata", "meta");
79
- if (E.test(n))
80
- return e.eatWhile(E), p("operator", null, e.current());
81
- var i;
82
- if (/[A-Z]/.test(n))
83
- return e.eatWhile(/[\w_<>]/), i = e.current(), p("type", "type", i);
84
- e.eatWhile(/[\w_]/);
85
- var i = e.current(), u = B.propertyIsEnumerable(i) && B[i];
86
- return u && r.kwAllowed ? p(u.type, u.style, i) : p("variable", "variable", i);
87
- }
88
- function M(e) {
89
- return function(r, n) {
90
- return L(r, e) && (n.tokenize = A), p("string", "string");
91
- };
92
- }
93
- function Q(e, r) {
94
- for (var n = !1, i; i = e.next(); ) {
95
- if (i == "/" && n) {
96
- r.tokenize = A;
97
- break;
98
- }
99
- n = i == "*";
100
- }
101
- return p("comment", "comment");
102
- }
103
- var $ = { atom: !0, number: !0, variable: !0, string: !0, regexp: !0 };
104
- function j(e, r, n, i, u, s) {
105
- this.indented = e, this.column = r, this.type = n, this.prev = u, this.info = s, i != null && (this.align = i);
106
- }
107
- function R(e, r) {
108
- for (var n = e.localVars; n; n = n.next)
109
- if (n.name == r) return !0;
110
- }
111
- function X(e, r, n, i, u) {
112
- var s = e.cc;
113
- for (a.state = e, a.stream = u, a.marked = null, a.cc = s, e.lexical.hasOwnProperty("align") || (e.lexical.align = !0); ; ) {
114
- var k = s.length ? s.pop() : x;
115
- if (k(n, i)) {
116
- for (; s.length && s[s.length - 1].lex; )
117
- s.pop()();
118
- return a.marked ? a.marked : n == "variable" && R(e, i) ? "variableName.local" : n == "variable" && Y(e, i) ? "variableName.special" : r;
119
- }
120
- }
121
- }
122
- function Y(e, r) {
123
- if (/[a-z]/.test(r.charAt(0)))
124
- return !1;
125
- for (var n = e.importedtypes.length, i = 0; i < n; i++)
126
- if (e.importedtypes[i] == r) return !0;
127
- }
128
- function F(e) {
129
- for (var r = a.state, n = r.importedtypes; n; n = n.next)
130
- if (n.name == e) return;
131
- r.importedtypes = { name: e, next: r.importedtypes };
132
- }
133
- var a = { state: null, marked: null, cc: null };
134
- function b() {
135
- for (var e = arguments.length - 1; e >= 0; e--) a.cc.push(arguments[e]);
136
- }
137
- function t() {
138
- return b.apply(null, arguments), !0;
139
- }
140
- function H(e, r) {
141
- for (var n = r; n; n = n.next)
142
- if (n.name == e) return !0;
143
- return !1;
144
- }
145
- function S(e) {
146
- var r = a.state;
147
- if (r.context) {
148
- if (a.marked = "def", H(e, r.localVars)) return;
149
- r.localVars = { name: e, next: r.localVars };
150
- } else if (r.globalVars) {
151
- if (H(e, r.globalVars)) return;
152
- r.globalVars = { name: e, next: r.globalVars };
153
- }
154
- }
155
- var ee = { name: "this", next: null };
156
- function D() {
157
- a.state.context || (a.state.localVars = ee), a.state.context = { prev: a.state.context, vars: a.state.localVars };
158
- }
159
- function V() {
160
- a.state.localVars = a.state.context.vars, a.state.context = a.state.context.prev;
161
- }
162
- V.lex = !0;
163
- function l(e, r) {
164
- var n = function() {
165
- var i = a.state;
166
- i.lexical = new j(i.indented, a.stream.column(), e, null, i.lexical, r);
167
- };
168
- return n.lex = !0, n;
169
- }
170
- function f() {
171
- var e = a.state;
172
- e.lexical.prev && (e.lexical.type == ")" && (e.indented = e.lexical.indented), e.lexical = e.lexical.prev);
173
- }
174
- f.lex = !0;
175
- function d(e) {
176
- function r(n) {
177
- return n == e ? t() : e == ";" ? b() : t(r);
178
- }
179
- return r;
180
- }
181
- function x(e) {
182
- return e == "@" ? t(Z) : e == "var" ? t(l("vardef"), C, d(";"), f) : e == "keyword a" ? t(l("form"), h, x, f) : e == "keyword b" ? t(l("form"), x, f) : e == "{" ? t(l("}"), D, _, f, V) : e == ";" ? t() : e == "attribute" ? t(U) : e == "function" ? t(w) : e == "for" ? t(
183
- l("form"),
184
- d("("),
185
- l(")"),
186
- ae,
187
- d(")"),
188
- f,
189
- x,
190
- f
191
- ) : e == "variable" ? t(l("stat"), te) : e == "switch" ? t(
192
- l("form"),
193
- h,
194
- l("}", "switch"),
195
- d("{"),
196
- _,
197
- f,
198
- f
199
- ) : e == "case" ? t(h, d(":")) : e == "default" ? t(d(":")) : e == "catch" ? t(
200
- l("form"),
201
- D,
202
- d("("),
203
- J,
204
- d(")"),
205
- x,
206
- f,
207
- V
208
- ) : e == "import" ? t(q, d(";")) : e == "typedef" ? t(ne) : b(l("stat"), h, d(";"), f);
209
- }
210
- function h(e) {
211
- return $.hasOwnProperty(e) || e == "type" ? t(v) : e == "function" ? t(w) : e == "keyword c" ? t(O) : e == "(" ? t(l(")"), O, d(")"), f, v) : e == "operator" ? t(h) : e == "[" ? t(l("]"), m(O, "]"), f, v) : e == "{" ? t(l("}"), m(ue, "}"), f, v) : t();
212
- }
213
- function O(e) {
214
- return e.match(/[;\}\)\],]/) ? b() : b(h);
215
- }
216
- function v(e, r) {
217
- if (e == "operator" && /\+\+|--/.test(r)) return t(v);
218
- if (e == "operator" || e == ":") return t(h);
219
- if (e != ";") {
220
- if (e == "(") return t(l(")"), m(h, ")"), f, v);
221
- if (e == ".") return t(ie, v);
222
- if (e == "[") return t(l("]"), h, d("]"), f, v);
223
- }
224
- }
225
- function U(e) {
226
- if (e == "attribute") return t(U);
227
- if (e == "function") return t(w);
228
- if (e == "var") return t(C);
229
- }
230
- function Z(e) {
231
- if (e == ":" || e == "variable") return t(Z);
232
- if (e == "(") return t(l(")"), m(re, ")"), f, x);
233
- }
234
- function re(e) {
235
- if (e == "variable") return t();
236
- }
237
- function q(e, r) {
238
- if (e == "variable" && /[A-Z]/.test(r.charAt(0)))
239
- return F(r), t();
240
- if (e == "variable" || e == "property" || e == "." || r == "*") return t(q);
241
- }
242
- function ne(e, r) {
243
- if (e == "variable" && /[A-Z]/.test(r.charAt(0)))
244
- return F(r), t();
245
- if (e == "type" && /[A-Z]/.test(r.charAt(0)))
246
- return t();
247
- }
248
- function te(e) {
249
- return e == ":" ? t(f, x) : b(v, d(";"), f);
250
- }
251
- function ie(e) {
252
- if (e == "variable")
253
- return a.marked = "property", t();
254
- }
255
- function ue(e) {
256
- if (e == "variable" && (a.marked = "property"), $.hasOwnProperty(e)) return t(d(":"), h);
257
- }
258
- function m(e, r) {
259
- function n(i) {
260
- return i == "," ? t(e, n) : i == r ? t() : t(d(r));
261
- }
262
- return function(i) {
263
- return i == r ? t() : b(e, n);
264
- };
265
- }
266
- function _(e) {
267
- return e == "}" ? t() : b(x, _);
268
- }
269
- function C(e, r) {
270
- return e == "variable" ? (S(r), t(T, G)) : t();
271
- }
272
- function G(e, r) {
273
- if (r == "=") return t(h, G);
274
- if (e == ",") return t(C);
275
- }
276
- function ae(e, r) {
277
- return e == "variable" ? (S(r), t(fe, h)) : b();
278
- }
279
- function fe(e, r) {
280
- if (r == "in") return t();
281
- }
282
- function w(e, r) {
283
- if (e == "variable" || e == "type")
284
- return S(r), t(w);
285
- if (r == "new") return t(w);
286
- if (e == "(") return t(l(")"), D, m(J, ")"), f, T, x, V);
287
- }
288
- function T(e) {
289
- if (e == ":") return t(oe);
290
- }
291
- function oe(e) {
292
- if (e == "type" || e == "variable") return t();
293
- if (e == "{") return t(l("}"), m(le, "}"), f);
294
- }
295
- function le(e) {
296
- if (e == "variable") return t(T);
297
- }
298
- function J(e, r) {
299
- if (e == "variable")
300
- return S(r), t(T);
301
- }
302
- const ce = {
303
- name: "haxe",
304
- startState: function(e) {
305
- var r = ["Int", "Float", "String", "Void", "Std", "Bool", "Dynamic", "Array"], n = {
306
- tokenize: A,
307
- reAllowed: !0,
308
- kwAllowed: !0,
309
- cc: [],
310
- lexical: new j(-e, 0, "block", !1),
311
- importedtypes: r,
312
- context: null,
313
- indented: 0
314
- };
315
- return n;
316
- },
317
- token: function(e, r) {
318
- if (e.sol() && (r.lexical.hasOwnProperty("align") || (r.lexical.align = !1), r.indented = e.indentation()), e.eatSpace()) return null;
319
- var n = r.tokenize(e, r);
320
- return c == "comment" ? n : (r.reAllowed = !!(c == "operator" || c == "keyword c" || c.match(/^[\[{}\(,;:]$/)), r.kwAllowed = c != ".", X(r, n, c, N, e));
321
- },
322
- indent: function(e, r, n) {
323
- if (e.tokenize != A) return 0;
324
- var i = r && r.charAt(0), u = e.lexical;
325
- u.type == "stat" && i == "}" && (u = u.prev);
326
- var s = u.type, k = i == s;
327
- return s == "vardef" ? u.indented + 4 : s == "form" && i == "{" ? u.indented : s == "stat" || s == "form" ? u.indented + n.unit : u.info == "switch" && !k ? u.indented + (/^(?:case|default)\b/.test(r) ? n.unit : 2 * n.unit) : u.align ? u.column + (k ? 0 : 1) : u.indented + (k ? 0 : n.unit);
328
- },
329
- languageData: {
330
- indentOnInput: /^\s*[{}]$/,
331
- commentTokens: { line: "//", block: { open: "/*", close: "*/" } }
332
- }
333
- }, se = {
334
- name: "hxml",
335
- startState: function() {
336
- return {
337
- define: !1,
338
- inString: !1
339
- };
340
- },
341
- token: function(e, r) {
342
- var u = e.peek(), n = e.sol();
343
- if (u == "#")
344
- return e.skipToEnd(), "comment";
345
- if (n && u == "-") {
346
- var i = "variable-2";
347
- return e.eat(/-/), e.peek() == "-" && (e.eat(/-/), i = "keyword a"), e.peek() == "D" && (e.eat(/[D]/), i = "keyword c", r.define = !0), e.eatWhile(/[A-Z]/i), i;
348
- }
349
- var u = e.peek();
350
- return r.inString == !1 && u == "'" && (r.inString = !0, e.next()), r.inString == !0 ? (e.skipTo("'") || e.skipToEnd(), e.peek() == "'" && (e.next(), r.inString = !1), "string") : (e.next(), null);
351
- },
352
- languageData: {
353
- commentTokens: { line: "#" }
354
- }
355
- };
356
- export {
357
- ce as haxe,
358
- se as hxml
359
- };
@@ -1,44 +0,0 @@
1
- function u(r, n) {
2
- return r.skipToEnd(), n.cur = t, "error";
3
- }
4
- function i(r, n) {
5
- return r.match(/^HTTP\/\d\.\d/) ? (n.cur = f, "keyword") : r.match(/^[A-Z]+/) && /[ \t]/.test(r.peek()) ? (n.cur = d, "keyword") : u(r, n);
6
- }
7
- function f(r, n) {
8
- var e = r.match(/^\d+/);
9
- if (!e) return u(r, n);
10
- n.cur = l;
11
- var o = Number(e[0]);
12
- return o >= 100 && o < 400 ? "atom" : "error";
13
- }
14
- function l(r, n) {
15
- return r.skipToEnd(), n.cur = t, null;
16
- }
17
- function d(r, n) {
18
- return r.eatWhile(/\S/), n.cur = s, "string.special";
19
- }
20
- function s(r, n) {
21
- return r.match(/^HTTP\/\d\.\d$/) ? (n.cur = t, "keyword") : u(r, n);
22
- }
23
- function t(r) {
24
- return r.sol() && !r.eat(/[ \t]/) ? r.match(/^.*?:/) ? "atom" : (r.skipToEnd(), "error") : (r.skipToEnd(), "string");
25
- }
26
- function c(r) {
27
- return r.skipToEnd(), null;
28
- }
29
- const p = {
30
- name: "http",
31
- token: function(r, n) {
32
- var e = n.cur;
33
- return e != t && e != c && r.eatSpace() ? null : e(r, n);
34
- },
35
- blankLine: function(r) {
36
- r.cur = c;
37
- },
38
- startState: function() {
39
- return { cur: i };
40
- }
41
- };
42
- export {
43
- p as http
44
- };