@digipair/skill-web-chatbot 0.114.2 → 0.114.6
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/index.cjs.js +2118 -8
- package/package.json +6 -2
- package/dist/SAP-icons.cjs.js +0 -2489
- package/dist/SAP-icons.cjs2.js +0 -2489
- package/dist/Tableau10-558cc280.cjs.js +0 -9
- package/dist/arc-d1f6357e.cjs.js +0 -88
- package/dist/array-2ff2c7a6.cjs.js +0 -11
- package/dist/blockDiagram-5dc23a45.cjs.js +0 -2916
- package/dist/c4Diagram-1e775db3.cjs.js +0 -4386
- package/dist/channel-ebbc4130.cjs.js +0 -9
- package/dist/classDiagram-f52caa06.cjs.js +0 -209
- package/dist/classDiagram-v2-640c694e.cjs.js +0 -401
- package/dist/clone-afc2f047.cjs.js +0 -10
- package/dist/createText-03b82060.cjs.js +0 -2940
- package/dist/edges-16357fde.cjs.js +0 -2002
- package/dist/erDiagram-c7ff1bec.cjs.js +0 -1807
- package/dist/flowDb-9a89ea33.cjs.js +0 -5542
- package/dist/flowDiagram-aadb13b0.cjs.js +0 -1351
- package/dist/flowDiagram-v2-f2119625.cjs.js +0 -31
- package/dist/flowchart-elk-definition-cf813a97.cjs.js +0 -50248
- package/dist/ganttDiagram-3c2fde2b.cjs.js +0 -3710
- package/dist/gitGraphDiagram-c3a0619c.cjs.js +0 -3815
- package/dist/graph-0ee63739.cjs.js +0 -954
- package/dist/index-bb6d8841.cjs.js +0 -648
- package/dist/index.cjs2.js +0 -76743
- package/dist/infoDiagram-2f5c50c0.cjs.js +0 -460
- package/dist/init-f9637058.cjs.js +0 -17
- package/dist/journeyDiagram-14fe341a.cjs.js +0 -1061
- package/dist/katex-d90b6d29.cjs.js +0 -25690
- package/dist/layout-fd473db2.cjs.js +0 -1613
- package/dist/line-24d93f1b.cjs.js +0 -34
- package/dist/linear-9bcf74c4.cjs.js +0 -537
- package/dist/mindmap-definition-9399c7e6.cjs.js +0 -20488
- package/dist/ordinal-5695958c.cjs.js +0 -330
- package/dist/path-428ebac9.cjs.js +0 -316
- package/dist/pieDiagram-828dae43.cjs.js +0 -949
- package/dist/quadrantDiagram-5fa00455.cjs.js +0 -2409
- package/dist/requirementDiagram-03163dc4.cjs.js +0 -2267
- package/dist/sankeyDiagram-52ec8976.cjs.js +0 -1848
- package/dist/sequenceDiagram-b517d154.cjs.js +0 -5948
- package/dist/stateDiagram-fca82b5b.cjs.js +0 -283
- package/dist/stateDiagram-v2-ed04200a.cjs.js +0 -373
- package/dist/styles-11e81fdd.cjs.js +0 -3943
- package/dist/styles-cacbff60.cjs.js +0 -2120
- package/dist/styles-e75131e4.cjs.js +0 -671
- package/dist/svgDrawCommon-ecc5f780.cjs.js +0 -68
- package/dist/timeline-definition-4ee9bff4.cjs.js +0 -1161
- package/dist/xychartDiagram-e5e6b652.cjs.js +0 -3150
|
@@ -1,460 +0,0 @@
|
|
|
1
|
-
'use strict';
|
|
2
|
-
|
|
3
|
-
var index = require('./index.cjs2.js');
|
|
4
|
-
|
|
5
|
-
function _instanceof(left, right) {
|
|
6
|
-
if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
|
|
7
|
-
return !!right[Symbol.hasInstance](left);
|
|
8
|
-
} else {
|
|
9
|
-
return left instanceof right;
|
|
10
|
-
}
|
|
11
|
-
}
|
|
12
|
-
function _type_of(obj) {
|
|
13
|
-
"@swc/helpers - typeof";
|
|
14
|
-
return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
|
|
15
|
-
}
|
|
16
|
-
var O = function() {
|
|
17
|
-
var a = function a(u, t, e, n) {
|
|
18
|
-
for(e = e || {}, n = u.length; n--; e[u[n]] = t);
|
|
19
|
-
return e;
|
|
20
|
-
}, f = [
|
|
21
|
-
6,
|
|
22
|
-
9,
|
|
23
|
-
10
|
|
24
|
-
], m = {
|
|
25
|
-
trace: function trace() {},
|
|
26
|
-
yy: {},
|
|
27
|
-
symbols_: {
|
|
28
|
-
error: 2,
|
|
29
|
-
start: 3,
|
|
30
|
-
info: 4,
|
|
31
|
-
document: 5,
|
|
32
|
-
EOF: 6,
|
|
33
|
-
line: 7,
|
|
34
|
-
statement: 8,
|
|
35
|
-
NL: 9,
|
|
36
|
-
showInfo: 10,
|
|
37
|
-
$accept: 0,
|
|
38
|
-
$end: 1
|
|
39
|
-
},
|
|
40
|
-
terminals_: {
|
|
41
|
-
2: "error",
|
|
42
|
-
4: "info",
|
|
43
|
-
6: "EOF",
|
|
44
|
-
9: "NL",
|
|
45
|
-
10: "showInfo"
|
|
46
|
-
},
|
|
47
|
-
productions_: [
|
|
48
|
-
0,
|
|
49
|
-
[
|
|
50
|
-
3,
|
|
51
|
-
3
|
|
52
|
-
],
|
|
53
|
-
[
|
|
54
|
-
5,
|
|
55
|
-
0
|
|
56
|
-
],
|
|
57
|
-
[
|
|
58
|
-
5,
|
|
59
|
-
2
|
|
60
|
-
],
|
|
61
|
-
[
|
|
62
|
-
7,
|
|
63
|
-
1
|
|
64
|
-
],
|
|
65
|
-
[
|
|
66
|
-
7,
|
|
67
|
-
1
|
|
68
|
-
],
|
|
69
|
-
[
|
|
70
|
-
8,
|
|
71
|
-
1
|
|
72
|
-
]
|
|
73
|
-
],
|
|
74
|
-
performAction: function performAction(t, e, n, s, r, i, d) {
|
|
75
|
-
switch(i.length - 1, r){
|
|
76
|
-
case 1:
|
|
77
|
-
return s;
|
|
78
|
-
case 4:
|
|
79
|
-
break;
|
|
80
|
-
case 6:
|
|
81
|
-
s.setInfo(true);
|
|
82
|
-
break;
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
table: [
|
|
86
|
-
{
|
|
87
|
-
3: 1,
|
|
88
|
-
4: [
|
|
89
|
-
1,
|
|
90
|
-
2
|
|
91
|
-
]
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
1: [
|
|
95
|
-
3
|
|
96
|
-
]
|
|
97
|
-
},
|
|
98
|
-
a(f, [
|
|
99
|
-
2,
|
|
100
|
-
2
|
|
101
|
-
], {
|
|
102
|
-
5: 3
|
|
103
|
-
}),
|
|
104
|
-
{
|
|
105
|
-
6: [
|
|
106
|
-
1,
|
|
107
|
-
4
|
|
108
|
-
],
|
|
109
|
-
7: 5,
|
|
110
|
-
8: 6,
|
|
111
|
-
9: [
|
|
112
|
-
1,
|
|
113
|
-
7
|
|
114
|
-
],
|
|
115
|
-
10: [
|
|
116
|
-
1,
|
|
117
|
-
8
|
|
118
|
-
]
|
|
119
|
-
},
|
|
120
|
-
{
|
|
121
|
-
1: [
|
|
122
|
-
2,
|
|
123
|
-
1
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
a(f, [
|
|
127
|
-
2,
|
|
128
|
-
3
|
|
129
|
-
]),
|
|
130
|
-
a(f, [
|
|
131
|
-
2,
|
|
132
|
-
4
|
|
133
|
-
]),
|
|
134
|
-
a(f, [
|
|
135
|
-
2,
|
|
136
|
-
5
|
|
137
|
-
]),
|
|
138
|
-
a(f, [
|
|
139
|
-
2,
|
|
140
|
-
6
|
|
141
|
-
])
|
|
142
|
-
],
|
|
143
|
-
defaultActions: {
|
|
144
|
-
4: [
|
|
145
|
-
2,
|
|
146
|
-
1
|
|
147
|
-
]
|
|
148
|
-
},
|
|
149
|
-
parseError: function parseError(t, e) {
|
|
150
|
-
if (e.recoverable) this.trace(t);
|
|
151
|
-
else {
|
|
152
|
-
var n = new Error(t);
|
|
153
|
-
throw n.hash = e, n;
|
|
154
|
-
}
|
|
155
|
-
},
|
|
156
|
-
parse: function parse(t) {
|
|
157
|
-
var e = this, n = [
|
|
158
|
-
0
|
|
159
|
-
], s = [], r = [
|
|
160
|
-
null
|
|
161
|
-
], i = [], d = this.table, $ = "", v = 0, L = 0, N = 2, T = 1, R = i.slice.call(arguments, 1), o = Object.create(this.lexer), p = {
|
|
162
|
-
yy: {}
|
|
163
|
-
};
|
|
164
|
-
for(var E in this.yy)Object.prototype.hasOwnProperty.call(this.yy, E) && (p.yy[E] = this.yy[E]);
|
|
165
|
-
o.setInput(t, p.yy), p.yy.lexer = o, p.yy.parser = this, _type_of(o.yylloc) > "u" && (o.yylloc = {});
|
|
166
|
-
var I = o.yylloc;
|
|
167
|
-
i.push(I);
|
|
168
|
-
var z = o.options && o.options.ranges;
|
|
169
|
-
typeof p.yy.parseError == "function" ? this.parseError = p.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
170
|
-
function U() {
|
|
171
|
-
var y;
|
|
172
|
-
return y = s.pop() || o.lex() || T, typeof y != "number" && (_instanceof(y, Array) && (s = y, y = s.pop()), y = e.symbols_[y] || y), y;
|
|
173
|
-
}
|
|
174
|
-
for(var l, g, h, w, _ = {}, b, c, F, S;;){
|
|
175
|
-
if (g = n[n.length - 1], this.defaultActions[g] ? h = this.defaultActions[g] : ((l === null || (typeof l === "undefined" ? "undefined" : _type_of(l)) > "u") && (l = U()), h = d[g] && d[g][l]), (typeof h === "undefined" ? "undefined" : _type_of(h)) > "u" || !h.length || !h[0]) {
|
|
176
|
-
var A = "";
|
|
177
|
-
S = [];
|
|
178
|
-
for(b in d[g])this.terminals_[b] && b > N && S.push("'" + this.terminals_[b] + "'");
|
|
179
|
-
o.showPosition ? A = "Parse error on line " + (v + 1) + ":\n" + o.showPosition() + "\nExpecting " + S.join(", ") + ", got '" + (this.terminals_[l] || l) + "'" : A = "Parse error on line " + (v + 1) + ": Unexpected " + (l == T ? "end of input" : "'" + (this.terminals_[l] || l) + "'"), this.parseError(A, {
|
|
180
|
-
text: o.match,
|
|
181
|
-
token: this.terminals_[l] || l,
|
|
182
|
-
line: o.yylineno,
|
|
183
|
-
loc: I,
|
|
184
|
-
expected: S
|
|
185
|
-
});
|
|
186
|
-
}
|
|
187
|
-
if (_instanceof(h[0], Array) && h.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + g + ", token: " + l);
|
|
188
|
-
switch(h[0]){
|
|
189
|
-
case 1:
|
|
190
|
-
n.push(l), r.push(o.yytext), i.push(o.yylloc), n.push(h[1]), l = null, L = o.yyleng, $ = o.yytext, v = o.yylineno, I = o.yylloc;
|
|
191
|
-
break;
|
|
192
|
-
case 2:
|
|
193
|
-
if (c = this.productions_[h[1]][1], _.$ = r[r.length - c], _._$ = {
|
|
194
|
-
first_line: i[i.length - (c || 1)].first_line,
|
|
195
|
-
last_line: i[i.length - 1].last_line,
|
|
196
|
-
first_column: i[i.length - (c || 1)].first_column,
|
|
197
|
-
last_column: i[i.length - 1].last_column
|
|
198
|
-
}, z && (_._$.range = [
|
|
199
|
-
i[i.length - (c || 1)].range[0],
|
|
200
|
-
i[i.length - 1].range[1]
|
|
201
|
-
]), w = this.performAction.apply(_, [
|
|
202
|
-
$,
|
|
203
|
-
L,
|
|
204
|
-
v,
|
|
205
|
-
p.yy,
|
|
206
|
-
h[1],
|
|
207
|
-
r,
|
|
208
|
-
i
|
|
209
|
-
].concat(R)), (typeof w === "undefined" ? "undefined" : _type_of(w)) < "u") return w;
|
|
210
|
-
c && (n = n.slice(0, -1 * c * 2), r = r.slice(0, -1 * c), i = i.slice(0, -1 * c)), n.push(this.productions_[h[1]][0]), r.push(_.$), i.push(_._$), F = d[n[n.length - 2]][n[n.length - 1]], n.push(F);
|
|
211
|
-
break;
|
|
212
|
-
case 3:
|
|
213
|
-
return true;
|
|
214
|
-
}
|
|
215
|
-
}
|
|
216
|
-
return true;
|
|
217
|
-
}
|
|
218
|
-
}, k = function() {
|
|
219
|
-
var u = {
|
|
220
|
-
EOF: 1,
|
|
221
|
-
parseError: function parseError(e, n) {
|
|
222
|
-
if (this.yy.parser) this.yy.parser.parseError(e, n);
|
|
223
|
-
else throw new Error(e);
|
|
224
|
-
},
|
|
225
|
-
// resets the lexer, sets new input
|
|
226
|
-
setInput: function setInput(t, e) {
|
|
227
|
-
return this.yy = e || this.yy || {}, this._input = t, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
|
|
228
|
-
"INITIAL"
|
|
229
|
-
], this.yylloc = {
|
|
230
|
-
first_line: 1,
|
|
231
|
-
first_column: 0,
|
|
232
|
-
last_line: 1,
|
|
233
|
-
last_column: 0
|
|
234
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
235
|
-
0,
|
|
236
|
-
0
|
|
237
|
-
]), this.offset = 0, this;
|
|
238
|
-
},
|
|
239
|
-
// consumes and returns one char from the input
|
|
240
|
-
input: function input() {
|
|
241
|
-
var t = this._input[0];
|
|
242
|
-
this.yytext += t, this.yyleng++, this.offset++, this.match += t, this.matched += t;
|
|
243
|
-
var e = t.match(/(?:\r\n?|\n).*/g);
|
|
244
|
-
return e ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), t;
|
|
245
|
-
},
|
|
246
|
-
// unshifts one char (or a string) into the input
|
|
247
|
-
unput: function unput(t) {
|
|
248
|
-
var e = t.length, n = t.split(/(?:\r\n?|\n)/g);
|
|
249
|
-
this._input = t + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - e), this.offset -= e;
|
|
250
|
-
var s = this.match.split(/(?:\r\n?|\n)/g);
|
|
251
|
-
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), n.length - 1 && (this.yylineno -= n.length - 1);
|
|
252
|
-
var r = this.yylloc.range;
|
|
253
|
-
return this.yylloc = {
|
|
254
|
-
first_line: this.yylloc.first_line,
|
|
255
|
-
last_line: this.yylineno + 1,
|
|
256
|
-
first_column: this.yylloc.first_column,
|
|
257
|
-
last_column: n ? (n.length === s.length ? this.yylloc.first_column : 0) + s[s.length - n.length].length - n[0].length : this.yylloc.first_column - e
|
|
258
|
-
}, this.options.ranges && (this.yylloc.range = [
|
|
259
|
-
r[0],
|
|
260
|
-
r[0] + this.yyleng - e
|
|
261
|
-
]), this.yyleng = this.yytext.length, this;
|
|
262
|
-
},
|
|
263
|
-
// When called from action, caches matched text and appends it on next action
|
|
264
|
-
more: function more() {
|
|
265
|
-
return this._more = true, this;
|
|
266
|
-
},
|
|
267
|
-
// When called from action, signals the lexer that this rule fails to match the input, so the next matching rule (regex) should be tested instead.
|
|
268
|
-
reject: function reject() {
|
|
269
|
-
if (this.options.backtrack_lexer) this._backtrack = true;
|
|
270
|
-
else return this.parseError("Lexical error on line " + (this.yylineno + 1) + ". You can only invoke reject() in the lexer when the lexer is of the backtracking persuasion (options.backtrack_lexer = true).\n" + this.showPosition(), {
|
|
271
|
-
text: "",
|
|
272
|
-
token: null,
|
|
273
|
-
line: this.yylineno
|
|
274
|
-
});
|
|
275
|
-
return this;
|
|
276
|
-
},
|
|
277
|
-
// retain first n characters of the match
|
|
278
|
-
less: function less(t) {
|
|
279
|
-
this.unput(this.match.slice(t));
|
|
280
|
-
},
|
|
281
|
-
// displays already matched input, i.e. for error messages
|
|
282
|
-
pastInput: function pastInput() {
|
|
283
|
-
var t = this.matched.substr(0, this.matched.length - this.match.length);
|
|
284
|
-
return (t.length > 20 ? "..." : "") + t.substr(-20).replace(/\n/g, "");
|
|
285
|
-
},
|
|
286
|
-
// displays upcoming input, i.e. for error messages
|
|
287
|
-
upcomingInput: function upcomingInput() {
|
|
288
|
-
var t = this.match;
|
|
289
|
-
return t.length < 20 && (t += this._input.substr(0, 20 - t.length)), (t.substr(0, 20) + (t.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
290
|
-
},
|
|
291
|
-
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
292
|
-
showPosition: function showPosition() {
|
|
293
|
-
var t = this.pastInput(), e = new Array(t.length + 1).join("-");
|
|
294
|
-
return t + this.upcomingInput() + "\n" + e + "^";
|
|
295
|
-
},
|
|
296
|
-
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
297
|
-
test_match: function test_match(t, e) {
|
|
298
|
-
var n, s, r;
|
|
299
|
-
if (this.options.backtrack_lexer && (r = {
|
|
300
|
-
yylineno: this.yylineno,
|
|
301
|
-
yylloc: {
|
|
302
|
-
first_line: this.yylloc.first_line,
|
|
303
|
-
last_line: this.last_line,
|
|
304
|
-
first_column: this.yylloc.first_column,
|
|
305
|
-
last_column: this.yylloc.last_column
|
|
306
|
-
},
|
|
307
|
-
yytext: this.yytext,
|
|
308
|
-
match: this.match,
|
|
309
|
-
matches: this.matches,
|
|
310
|
-
matched: this.matched,
|
|
311
|
-
yyleng: this.yyleng,
|
|
312
|
-
offset: this.offset,
|
|
313
|
-
_more: this._more,
|
|
314
|
-
_input: this._input,
|
|
315
|
-
yy: this.yy,
|
|
316
|
-
conditionStack: this.conditionStack.slice(0),
|
|
317
|
-
done: this.done
|
|
318
|
-
}, this.options.ranges && (r.yylloc.range = this.yylloc.range.slice(0))), s = t[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
|
|
319
|
-
first_line: this.yylloc.last_line,
|
|
320
|
-
last_line: this.yylineno + 1,
|
|
321
|
-
first_column: this.yylloc.last_column,
|
|
322
|
-
last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + t[0].length
|
|
323
|
-
}, this.yytext += t[0], this.match += t[0], this.matches = t, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
|
|
324
|
-
this.offset,
|
|
325
|
-
this.offset += this.yyleng
|
|
326
|
-
]), this._more = false, this._backtrack = false, this._input = this._input.slice(t[0].length), this.matched += t[0], n = this.performAction.call(this, this.yy, this, e, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), n) return n;
|
|
327
|
-
if (this._backtrack) {
|
|
328
|
-
for(var i in r)this[i] = r[i];
|
|
329
|
-
return false;
|
|
330
|
-
}
|
|
331
|
-
return false;
|
|
332
|
-
},
|
|
333
|
-
// return next match in input
|
|
334
|
-
next: function next() {
|
|
335
|
-
if (this.done) return this.EOF;
|
|
336
|
-
this._input || (this.done = true);
|
|
337
|
-
var t, e, n, s;
|
|
338
|
-
this._more || (this.yytext = "", this.match = "");
|
|
339
|
-
for(var r = this._currentRules(), i = 0; i < r.length; i++)if (n = this._input.match(this.rules[r[i]]), n && (!e || n[0].length > e[0].length)) {
|
|
340
|
-
if (e = n, s = i, this.options.backtrack_lexer) {
|
|
341
|
-
if (t = this.test_match(n, r[i]), t !== false) return t;
|
|
342
|
-
if (this._backtrack) {
|
|
343
|
-
e = false;
|
|
344
|
-
continue;
|
|
345
|
-
} else return false;
|
|
346
|
-
} else if (!this.options.flex) break;
|
|
347
|
-
}
|
|
348
|
-
return e ? (t = this.test_match(e, r[s]), t !== false ? t : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
|
|
349
|
-
text: "",
|
|
350
|
-
token: null,
|
|
351
|
-
line: this.yylineno
|
|
352
|
-
});
|
|
353
|
-
},
|
|
354
|
-
// return next match that has a token
|
|
355
|
-
lex: function lex() {
|
|
356
|
-
var e = this.next();
|
|
357
|
-
return e || this.lex();
|
|
358
|
-
},
|
|
359
|
-
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
360
|
-
begin: function begin(e) {
|
|
361
|
-
this.conditionStack.push(e);
|
|
362
|
-
},
|
|
363
|
-
// pop the previously active lexer condition state off the condition stack
|
|
364
|
-
popState: function popState() {
|
|
365
|
-
var e = this.conditionStack.length - 1;
|
|
366
|
-
return e > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
367
|
-
},
|
|
368
|
-
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
369
|
-
_currentRules: function _currentRules() {
|
|
370
|
-
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
371
|
-
},
|
|
372
|
-
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
373
|
-
topState: function topState(e) {
|
|
374
|
-
return e = this.conditionStack.length - 1 - Math.abs(e || 0), e >= 0 ? this.conditionStack[e] : "INITIAL";
|
|
375
|
-
},
|
|
376
|
-
// alias for begin(condition)
|
|
377
|
-
pushState: function pushState(e) {
|
|
378
|
-
this.begin(e);
|
|
379
|
-
},
|
|
380
|
-
// return the number of states currently on the stack
|
|
381
|
-
stateStackSize: function stateStackSize() {
|
|
382
|
-
return this.conditionStack.length;
|
|
383
|
-
},
|
|
384
|
-
options: {
|
|
385
|
-
"case-insensitive": true
|
|
386
|
-
},
|
|
387
|
-
performAction: function performAction(e, n, s, r) {
|
|
388
|
-
switch(s){
|
|
389
|
-
case 0:
|
|
390
|
-
return 4;
|
|
391
|
-
case 1:
|
|
392
|
-
return 9;
|
|
393
|
-
case 2:
|
|
394
|
-
return "space";
|
|
395
|
-
case 3:
|
|
396
|
-
return 10;
|
|
397
|
-
case 4:
|
|
398
|
-
return 6;
|
|
399
|
-
case 5:
|
|
400
|
-
return "TXT";
|
|
401
|
-
}
|
|
402
|
-
},
|
|
403
|
-
rules: [
|
|
404
|
-
/^(?:info\b)/i,
|
|
405
|
-
/^(?:[\s\n\r]+)/i,
|
|
406
|
-
/^(?:[\s]+)/i,
|
|
407
|
-
/^(?:showInfo\b)/i,
|
|
408
|
-
/^(?:$)/i,
|
|
409
|
-
/^(?:.)/i
|
|
410
|
-
],
|
|
411
|
-
conditions: {
|
|
412
|
-
INITIAL: {
|
|
413
|
-
rules: [
|
|
414
|
-
0,
|
|
415
|
-
1,
|
|
416
|
-
2,
|
|
417
|
-
3,
|
|
418
|
-
4,
|
|
419
|
-
5
|
|
420
|
-
],
|
|
421
|
-
inclusive: true
|
|
422
|
-
}
|
|
423
|
-
}
|
|
424
|
-
};
|
|
425
|
-
return u;
|
|
426
|
-
}();
|
|
427
|
-
m.lexer = k;
|
|
428
|
-
function x() {
|
|
429
|
-
this.yy = {};
|
|
430
|
-
}
|
|
431
|
-
return x.prototype = m, m.Parser = x, new x();
|
|
432
|
-
}();
|
|
433
|
-
O.parser = O;
|
|
434
|
-
var B = O, j = {
|
|
435
|
-
info: false
|
|
436
|
-
};
|
|
437
|
-
var P = j.info;
|
|
438
|
-
var V = function(a) {
|
|
439
|
-
P = a;
|
|
440
|
-
}, X = function() {
|
|
441
|
-
return P;
|
|
442
|
-
}, q = function() {
|
|
443
|
-
P = j.info;
|
|
444
|
-
}, C = {
|
|
445
|
-
clear: q,
|
|
446
|
-
setInfo: V,
|
|
447
|
-
getInfo: X
|
|
448
|
-
}, G = function(a, f, m) {
|
|
449
|
-
index.L.debug("rendering info diagram\n" + a);
|
|
450
|
-
var k = index.z_(f);
|
|
451
|
-
index.Ol(k, 100, 400, true), k.append("g").append("text").attr("x", 100).attr("y", 40).attr("class", "version").attr("font-size", 32).style("text-anchor", "middle").text("v".concat(m));
|
|
452
|
-
}, H = {
|
|
453
|
-
draw: G
|
|
454
|
-
}, K = {
|
|
455
|
-
parser: B,
|
|
456
|
-
db: C,
|
|
457
|
-
renderer: H
|
|
458
|
-
};
|
|
459
|
-
|
|
460
|
-
exports.diagram = K;
|