@digipair/skill-web-chatbot 0.91.0-0 → 0.91.0

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 (136) hide show
  1. package/SAP-icons.cjs.js +2489 -0
  2. package/SAP-icons.cjs2.js +2489 -0
  3. package/SAP-icons.esm.js +2482 -0
  4. package/SAP-icons.esm2.js +2482 -0
  5. package/Tableau10-558cc280.cjs.js +9 -0
  6. package/Tableau10-558cc280.esm.js +7 -0
  7. package/arc-d1f6357e.cjs.js +88 -0
  8. package/arc-d1f6357e.esm.js +86 -0
  9. package/array-2ff2c7a6.cjs.js +7 -0
  10. package/array-2ff2c7a6.esm.js +5 -0
  11. package/blockDiagram-5dc23a45.cjs.js +2921 -0
  12. package/blockDiagram-5dc23a45.esm.js +2919 -0
  13. package/c4Diagram-1e775db3.cjs.js +4387 -0
  14. package/c4Diagram-1e775db3.esm.js +4385 -0
  15. package/channel-ebbc4130.cjs.js +9 -0
  16. package/channel-ebbc4130.esm.js +7 -0
  17. package/classDiagram-f52caa06.cjs.js +209 -0
  18. package/classDiagram-f52caa06.esm.js +207 -0
  19. package/classDiagram-v2-640c694e.cjs.js +401 -0
  20. package/classDiagram-v2-640c694e.esm.js +399 -0
  21. package/clone-afc2f047.cjs.js +10 -0
  22. package/clone-afc2f047.esm.js +8 -0
  23. package/createText-03b82060.cjs.js +2936 -0
  24. package/createText-03b82060.esm.js +2933 -0
  25. package/edges-16357fde.cjs.js +1998 -0
  26. package/edges-16357fde.esm.js +1981 -0
  27. package/erDiagram-c7ff1bec.cjs.js +1807 -0
  28. package/erDiagram-c7ff1bec.esm.js +1805 -0
  29. package/flowDb-9a89ea33.cjs.js +5542 -0
  30. package/flowDb-9a89ea33.esm.js +5538 -0
  31. package/flowDiagram-aadb13b0.cjs.js +1351 -0
  32. package/flowDiagram-aadb13b0.esm.js +1349 -0
  33. package/flowDiagram-v2-f2119625.cjs.js +31 -0
  34. package/flowDiagram-v2-f2119625.esm.js +29 -0
  35. package/flowchart-elk-definition-cf813a97.cjs.js +50257 -0
  36. package/flowchart-elk-definition-cf813a97.esm.js +50255 -0
  37. package/ganttDiagram-3c2fde2b.cjs.js +3710 -0
  38. package/ganttDiagram-3c2fde2b.esm.js +3708 -0
  39. package/gitGraphDiagram-c3a0619c.cjs.js +3820 -0
  40. package/gitGraphDiagram-c3a0619c.esm.js +3818 -0
  41. package/graph-0ee63739.cjs.js +961 -0
  42. package/graph-0ee63739.esm.js +938 -0
  43. package/index-bb6d8841.cjs.js +648 -0
  44. package/index-bb6d8841.esm.js +646 -0
  45. package/index.cjs.d.ts +1 -0
  46. package/index.cjs.js +17 -0
  47. package/index.cjs2.js +60723 -0
  48. package/index.esm.js +1 -0
  49. package/index.esm2.js +60574 -0
  50. package/infoDiagram-2f5c50c0.cjs.js +460 -0
  51. package/infoDiagram-2f5c50c0.esm.js +458 -0
  52. package/init-f9637058.cjs.js +17 -0
  53. package/init-f9637058.esm.js +15 -0
  54. package/journeyDiagram-14fe341a.cjs.js +1061 -0
  55. package/journeyDiagram-14fe341a.esm.js +1059 -0
  56. package/katex-d90b6d29.cjs.js +25690 -0
  57. package/katex-d90b6d29.esm.js +25688 -0
  58. package/layout-fd473db2.cjs.js +1626 -0
  59. package/layout-fd473db2.esm.js +1619 -0
  60. package/libs/engine/src/index.d.ts +2 -0
  61. package/libs/engine/src/lib/alias.interface.d.ts +9 -0
  62. package/libs/engine/src/lib/engine.d.ts +13 -0
  63. package/libs/engine/src/lib/pins-settings.interface.d.ts +15 -0
  64. package/libs/skill-web-chatbot/src/lib/chat.element.d.ts +28 -0
  65. package/libs/skill-web-chatbot/src/lib/common.data.d.ts +1 -0
  66. package/libs/skill-web-chatbot/src/lib/config.d.ts +9 -0
  67. package/libs/skill-web-chatbot/src/lib/digipair-full.data.d.ts +1 -0
  68. package/libs/skill-web-chatbot/src/lib/digipair-full.element.d.ts +36 -0
  69. package/libs/skill-web-chatbot/src/lib/digipair.data.d.ts +1 -0
  70. package/libs/skill-web-chatbot/src/lib/digipair.element.d.ts +44 -0
  71. package/libs/skill-web-chatbot/src/lib/inputs.element.d.ts +10 -0
  72. package/libs/skill-web-chatbot/src/lib/message.interface.d.ts +10 -0
  73. package/libs/skill-web-chatbot/src/lib/pins/chatbot.actions.d.ts +1 -0
  74. package/libs/skill-web-chatbot/src/lib/tools/css-selector.d.ts +1 -0
  75. package/line-24d93f1b.cjs.js +34 -0
  76. package/line-24d93f1b.esm.js +32 -0
  77. package/linear-9bcf74c4.cjs.js +537 -0
  78. package/linear-9bcf74c4.esm.js +531 -0
  79. package/mindmap-definition-9399c7e6.cjs.js +20489 -0
  80. package/mindmap-definition-9399c7e6.esm.js +20487 -0
  81. package/ordinal-5695958c.cjs.js +331 -0
  82. package/ordinal-5695958c.esm.js +329 -0
  83. package/package.json +7 -22
  84. package/path-428ebac9.cjs.js +317 -0
  85. package/path-428ebac9.esm.js +314 -0
  86. package/pieDiagram-828dae43.cjs.js +951 -0
  87. package/pieDiagram-828dae43.esm.js +949 -0
  88. package/quadrantDiagram-5fa00455.cjs.js +2410 -0
  89. package/quadrantDiagram-5fa00455.esm.js +2408 -0
  90. package/requirementDiagram-03163dc4.cjs.js +2267 -0
  91. package/requirementDiagram-03163dc4.esm.js +2265 -0
  92. package/sankeyDiagram-52ec8976.cjs.js +1848 -0
  93. package/sankeyDiagram-52ec8976.esm.js +1846 -0
  94. package/sequenceDiagram-b517d154.cjs.js +5949 -0
  95. package/sequenceDiagram-b517d154.esm.js +5947 -0
  96. package/stateDiagram-fca82b5b.cjs.js +283 -0
  97. package/stateDiagram-fca82b5b.esm.js +281 -0
  98. package/stateDiagram-v2-ed04200a.cjs.js +373 -0
  99. package/stateDiagram-v2-ed04200a.esm.js +371 -0
  100. package/styles-11e81fdd.cjs.js +3944 -0
  101. package/styles-11e81fdd.esm.js +3940 -0
  102. package/styles-cacbff60.cjs.js +2120 -0
  103. package/styles-cacbff60.esm.js +2111 -0
  104. package/styles-e75131e4.cjs.js +671 -0
  105. package/styles-e75131e4.esm.js +661 -0
  106. package/svgDrawCommon-ecc5f780.cjs.js +68 -0
  107. package/svgDrawCommon-ecc5f780.esm.js +60 -0
  108. package/timeline-definition-4ee9bff4.cjs.js +1161 -0
  109. package/timeline-definition-4ee9bff4.esm.js +1159 -0
  110. package/xychartDiagram-e5e6b652.cjs.js +3150 -0
  111. package/xychartDiagram-e5e6b652.esm.js +3148 -0
  112. package/.swcrc +0 -28
  113. package/README.md +0 -7
  114. package/eslint.config.mjs +0 -22
  115. package/rollup.config.cjs +0 -28
  116. package/src/digipair__engine.d.ts +0 -2
  117. package/src/handlebars.d.ts +0 -1
  118. package/src/index.html +0 -18
  119. package/src/lib/chat.element.ts +0 -603
  120. package/src/lib/common.data.ts +0 -1
  121. package/src/lib/config.ts +0 -30
  122. package/src/lib/digipair-full.data.ts +0 -101
  123. package/src/lib/digipair-full.element.ts +0 -358
  124. package/src/lib/digipair.data.ts +0 -103
  125. package/src/lib/digipair.element.ts +0 -446
  126. package/src/lib/inputs.element.ts +0 -46
  127. package/src/lib/mermaid.d.ts +0 -1
  128. package/src/lib/message.interface.ts +0 -10
  129. package/src/lib/pins/chatbot.actions.ts +0 -32
  130. package/src/lib/tools/css-selector.ts +0 -12
  131. package/tsconfig.json +0 -13
  132. package/tsconfig.lib.json +0 -19
  133. /package/{src/index.d.ts → index.d.ts} +0 -0
  134. /package/{src/index.ts → libs/skill-web-chatbot/src/index.d.ts} +0 -0
  135. /package/{src/schema.fr.json → schema.fr.json} +0 -0
  136. /package/{src/schema.json → schema.json} +0 -0
@@ -0,0 +1,460 @@
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(!0);
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 !0;
214
+ }
215
+ }
216
+ return !0;
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 = !1, 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 = !0, 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 = !0;
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 = !1, this._backtrack = !1, 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 = !1), n) return n;
327
+ if (this._backtrack) {
328
+ for(var i in r)this[i] = r[i];
329
+ return !1;
330
+ }
331
+ return !1;
332
+ },
333
+ // return next match in input
334
+ next: function next() {
335
+ if (this.done) return this.EOF;
336
+ this._input || (this.done = !0);
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 !== !1) return t;
342
+ if (this._backtrack) {
343
+ e = !1;
344
+ continue;
345
+ } else return !1;
346
+ } else if (!this.options.flex) break;
347
+ }
348
+ return e ? (t = this.test_match(e, r[s]), t !== !1 ? t : !1) : 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": !0
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: !0
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: !1
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, !0), 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;