@digipair/skill-web-chatbot 0.8.37 → 0.8.39

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 (129) hide show
  1. package/Tableau10-558cc280.cjs.js +9 -0
  2. package/Tableau10-558cc280.esm.js +7 -0
  3. package/arc-d1f6357e.cjs.js +88 -0
  4. package/arc-d1f6357e.esm.js +86 -0
  5. package/blockDiagram-5dc23a45.cjs.js +2921 -0
  6. package/blockDiagram-5dc23a45.esm.js +2919 -0
  7. package/{c4Diagram-1bdb45a8.cjs.js → c4Diagram-1e775db3.cjs.js} +1904 -2130
  8. package/{c4Diagram-1bdb45a8.esm.js → c4Diagram-1e775db3.esm.js} +1906 -2132
  9. package/channel-ebbc4130.cjs.js +9 -0
  10. package/channel-ebbc4130.esm.js +7 -0
  11. package/classDiagram-f52caa06.cjs.js +209 -0
  12. package/classDiagram-f52caa06.esm.js +207 -0
  13. package/{classDiagram-v2-6dc3b9c3.cjs.js → classDiagram-v2-640c694e.cjs.js} +74 -76
  14. package/{classDiagram-v2-6dc3b9c3.esm.js → classDiagram-v2-640c694e.esm.js} +75 -77
  15. package/clone-afc2f047.cjs.js +10 -0
  16. package/clone-afc2f047.esm.js +8 -0
  17. package/createText-03b82060.cjs.js +2936 -0
  18. package/createText-03b82060.esm.js +2933 -0
  19. package/edges-16357fde.cjs.js +1998 -0
  20. package/edges-16357fde.esm.js +1981 -0
  21. package/erDiagram-c7ff1bec.cjs.js +1807 -0
  22. package/erDiagram-c7ff1bec.esm.js +1805 -0
  23. package/flowDb-9a89ea33.cjs.js +5542 -0
  24. package/flowDb-9a89ea33.esm.js +5538 -0
  25. package/flowDiagram-aadb13b0.cjs.js +1351 -0
  26. package/flowDiagram-aadb13b0.esm.js +1349 -0
  27. package/flowDiagram-v2-f2119625.cjs.js +31 -0
  28. package/flowDiagram-v2-f2119625.esm.js +29 -0
  29. package/flowchart-elk-definition-cf813a97.cjs.js +50257 -0
  30. package/flowchart-elk-definition-cf813a97.esm.js +50255 -0
  31. package/ganttDiagram-3c2fde2b.cjs.js +3710 -0
  32. package/ganttDiagram-3c2fde2b.esm.js +3708 -0
  33. package/{gitGraphDiagram-c3fe571f.cjs.js → gitGraphDiagram-c3a0619c.cjs.js} +1608 -1651
  34. package/{gitGraphDiagram-c3fe571f.esm.js → gitGraphDiagram-c3a0619c.esm.js} +1609 -1652
  35. package/graph-0ee63739.cjs.js +961 -0
  36. package/graph-0ee63739.esm.js +938 -0
  37. package/index-bb6d8841.cjs.js +648 -0
  38. package/index-bb6d8841.esm.js +646 -0
  39. package/index.cjs2.js +5410 -4623
  40. package/index.esm.js +1 -1
  41. package/index.esm2.js +5291 -4527
  42. package/{infoDiagram-9c10eab1.cjs.js → infoDiagram-2f5c50c0.cjs.js} +63 -70
  43. package/{infoDiagram-9c10eab1.esm.js → infoDiagram-2f5c50c0.esm.js} +64 -71
  44. package/journeyDiagram-14fe341a.cjs.js +1061 -0
  45. package/journeyDiagram-14fe341a.esm.js +1059 -0
  46. package/katex-d90b6d29.cjs.js +25690 -0
  47. package/katex-d90b6d29.esm.js +25688 -0
  48. package/layout-fd473db2.cjs.js +1626 -0
  49. package/layout-fd473db2.esm.js +1619 -0
  50. package/libs/skill-web-chatbot/src/lib/pins/chatbot.actions.d.ts +0 -2
  51. package/line-24d93f1b.cjs.js +34 -0
  52. package/line-24d93f1b.esm.js +32 -0
  53. package/linear-9bcf74c4.cjs.js +537 -0
  54. package/linear-9bcf74c4.esm.js +531 -0
  55. package/{mindmap-definition-a9d0f378.cjs.js → mindmap-definition-9399c7e6.cjs.js} +7874 -7610
  56. package/{mindmap-definition-a9d0f378.esm.js → mindmap-definition-9399c7e6.esm.js} +7875 -7611
  57. package/package.json +1 -1
  58. package/path-428ebac9.cjs.js +317 -0
  59. package/path-428ebac9.esm.js +314 -0
  60. package/pieDiagram-828dae43.cjs.js +951 -0
  61. package/pieDiagram-828dae43.esm.js +949 -0
  62. package/{quadrantDiagram-1763608a.cjs.js → quadrantDiagram-5fa00455.cjs.js} +1117 -1340
  63. package/{quadrantDiagram-1763608a.esm.js → quadrantDiagram-5fa00455.esm.js} +1118 -1341
  64. package/{requirementDiagram-779d93b3.cjs.js → requirementDiagram-03163dc4.cjs.js} +1044 -1228
  65. package/{requirementDiagram-779d93b3.esm.js → requirementDiagram-03163dc4.esm.js} +1045 -1229
  66. package/{sankeyDiagram-86a66bae.cjs.js → sankeyDiagram-52ec8976.cjs.js} +337 -339
  67. package/{sankeyDiagram-86a66bae.esm.js → sankeyDiagram-52ec8976.esm.js} +338 -340
  68. package/sequenceDiagram-b517d154.cjs.js +5949 -0
  69. package/sequenceDiagram-b517d154.esm.js +5947 -0
  70. package/{stateDiagram-6f4bb19d.cjs.js → stateDiagram-fca82b5b.cjs.js} +62 -61
  71. package/{stateDiagram-6f4bb19d.esm.js → stateDiagram-fca82b5b.esm.js} +65 -64
  72. package/{stateDiagram-v2-d72c79bd.cjs.js → stateDiagram-v2-ed04200a.cjs.js} +96 -100
  73. package/{stateDiagram-v2-d72c79bd.esm.js → stateDiagram-v2-ed04200a.esm.js} +98 -102
  74. package/{styles-659d7242.cjs.js → styles-11e81fdd.cjs.js} +1990 -1965
  75. package/{styles-659d7242.esm.js → styles-11e81fdd.esm.js} +1989 -1964
  76. package/{styles-3fb7b9cf.cjs.js → styles-cacbff60.cjs.js} +935 -1192
  77. package/{styles-3fb7b9cf.esm.js → styles-cacbff60.esm.js} +929 -1186
  78. package/styles-e75131e4.cjs.js +671 -0
  79. package/styles-e75131e4.esm.js +661 -0
  80. package/svgDrawCommon-ecc5f780.cjs.js +68 -0
  81. package/svgDrawCommon-ecc5f780.esm.js +60 -0
  82. package/timeline-definition-4ee9bff4.cjs.js +1161 -0
  83. package/timeline-definition-4ee9bff4.esm.js +1159 -0
  84. package/xychartDiagram-e5e6b652.cjs.js +3150 -0
  85. package/xychartDiagram-e5e6b652.esm.js +3148 -0
  86. package/arc-da8fd8d8.cjs.js +0 -88
  87. package/arc-da8fd8d8.esm.js +0 -86
  88. package/classDiagram-185c1a10.cjs.js +0 -96
  89. package/classDiagram-185c1a10.esm.js +0 -94
  90. package/constant-2fe7eae5.cjs.js +0 -58
  91. package/constant-2fe7eae5.esm.js +0 -55
  92. package/createText-94e3ebbf.cjs.js +0 -2775
  93. package/createText-94e3ebbf.esm.js +0 -2773
  94. package/edges-558884ee.cjs.js +0 -1450
  95. package/edges-558884ee.esm.js +0 -1436
  96. package/erDiagram-97139f44.cjs.js +0 -1949
  97. package/erDiagram-97139f44.esm.js +0 -1947
  98. package/flowDb-a4faf166.cjs.js +0 -6918
  99. package/flowDb-a4faf166.esm.js +0 -6914
  100. package/flowDiagram-ccbbb58d.cjs.js +0 -999
  101. package/flowDiagram-ccbbb58d.esm.js +0 -997
  102. package/flowDiagram-v2-79ccd6da.cjs.js +0 -29
  103. package/flowDiagram-v2-79ccd6da.esm.js +0 -27
  104. package/flowchart-elk-definition-7863a61f.cjs.js +0 -48577
  105. package/flowchart-elk-definition-7863a61f.esm.js +0 -48575
  106. package/ganttDiagram-3eff0dd8.cjs.js +0 -3855
  107. package/ganttDiagram-3eff0dd8.esm.js +0 -3853
  108. package/index-d0b453e2.cjs.js +0 -609
  109. package/index-d0b453e2.esm.js +0 -607
  110. package/journeyDiagram-b6904cec.cjs.js +0 -1292
  111. package/journeyDiagram-b6904cec.esm.js +0 -1290
  112. package/layout-c5a37d74.cjs.js +0 -2808
  113. package/layout-c5a37d74.esm.js +0 -2795
  114. package/line-ce5d1152.cjs.js +0 -34
  115. package/line-ce5d1152.esm.js +0 -32
  116. package/linear-db016d0c.cjs.js +0 -485
  117. package/linear-db016d0c.esm.js +0 -479
  118. package/pieDiagram-fd367f1f.cjs.js +0 -1157
  119. package/pieDiagram-fd367f1f.esm.js +0 -1155
  120. package/sequenceDiagram-169f11ec.cjs.js +0 -4805
  121. package/sequenceDiagram-169f11ec.esm.js +0 -4803
  122. package/styles-3814544c.cjs.js +0 -534
  123. package/styles-3814544c.esm.js +0 -524
  124. package/svgDraw-af99a425.cjs.js +0 -144
  125. package/svgDraw-af99a425.esm.js +0 -141
  126. package/svgDrawCommon-ebe6c236.cjs.js +0 -70
  127. package/svgDrawCommon-ebe6c236.esm.js +0 -62
  128. package/timeline-definition-65183566.cjs.js +0 -1394
  129. package/timeline-definition-65183566.esm.js +0 -1392
@@ -13,201 +13,165 @@ function _type_of(obj) {
13
13
  "@swc/helpers - typeof";
14
14
  return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
15
15
  }
16
- var mt = function() {
17
- var t = function t(D, r, a, i) {
18
- for(a = a || {}, i = D.length; i--; a[D[i]] = r);
19
- return a;
16
+ var gt = function() {
17
+ var t = function t(C, r, n, i) {
18
+ for(n = n || {}, i = C.length; i--; n[C[i]] = r);
19
+ return n;
20
20
  }, s = [
21
21
  1,
22
22
  2
23
- ], n = [
23
+ ], a = [
24
24
  1,
25
25
  3
26
26
  ], h = [
27
27
  1,
28
- 5
29
- ], u = [
30
- 1,
31
- 7
28
+ 4
32
29
  ], f = [
33
30
  2,
34
- 5
35
- ], p = [
36
- 1,
37
- 15
38
- ], v = [
39
- 1,
40
- 17
31
+ 4
41
32
  ], d = [
42
33
  1,
43
- 21
34
+ 9
35
+ ], y = [
36
+ 1,
37
+ 11
44
38
  ], k = [
45
39
  1,
46
- 22
47
- ], T = [
40
+ 15
41
+ ], u = [
48
42
  1,
49
- 23
50
- ], G = [
43
+ 16
44
+ ], E = [
51
45
  1,
52
- 24
46
+ 17
47
+ ], T = [
48
+ 1,
49
+ 18
53
50
  ], R = [
54
51
  1,
55
- 37
52
+ 30
53
+ ], G = [
54
+ 1,
55
+ 19
56
56
  ], j = [
57
57
  1,
58
- 25
58
+ 20
59
59
  ], U = [
60
60
  1,
61
- 26
61
+ 21
62
62
  ], z = [
63
63
  1,
64
- 27
64
+ 22
65
65
  ], M = [
66
66
  1,
67
- 28
67
+ 23
68
68
  ], H = [
69
69
  1,
70
- 29
70
+ 25
71
71
  ], X = [
72
72
  1,
73
- 32
73
+ 26
74
74
  ], K = [
75
75
  1,
76
- 33
76
+ 27
77
77
  ], W = [
78
78
  1,
79
- 34
79
+ 28
80
80
  ], J = [
81
81
  1,
82
- 35
82
+ 29
83
83
  ], q = [
84
84
  1,
85
- 36
85
+ 32
86
86
  ], Q = [
87
87
  1,
88
- 39
88
+ 33
89
89
  ], Z = [
90
90
  1,
91
- 40
91
+ 34
92
92
  ], tt = [
93
93
  1,
94
- 41
95
- ], et = [
96
- 1,
97
- 42
94
+ 35
98
95
  ], w = [
99
96
  1,
100
- 38
101
- ], Ct = [
102
- 1,
103
- 45
104
- ], o = [
97
+ 31
98
+ ], c = [
105
99
  1,
106
100
  4,
107
101
  5,
102
+ 15,
108
103
  16,
109
- 17,
110
- 19,
104
+ 18,
105
+ 20,
111
106
  21,
112
- 22,
107
+ 23,
113
108
  24,
114
109
  25,
115
110
  26,
116
111
  27,
117
112
  28,
118
- 29,
119
- 33,
120
- 35,
113
+ 32,
114
+ 34,
115
+ 36,
121
116
  37,
122
- 38,
123
- 42,
124
- 50,
125
- 51,
126
- 52,
127
- 53,
128
- 56,
129
- 60
130
- ], st = [
117
+ 41,
118
+ 44,
119
+ 45,
120
+ 46,
121
+ 47,
122
+ 50
123
+ ], et = [
131
124
  1,
132
125
  4,
133
126
  5,
127
+ 13,
134
128
  14,
135
129
  15,
136
130
  16,
137
- 17,
138
- 19,
131
+ 18,
132
+ 20,
139
133
  21,
140
- 22,
134
+ 23,
141
135
  24,
142
136
  25,
143
137
  26,
144
138
  27,
145
139
  28,
146
- 29,
147
- 33,
148
- 35,
140
+ 32,
141
+ 34,
142
+ 36,
149
143
  37,
150
- 38,
151
- 42,
152
- 50,
153
- 51,
154
- 52,
155
- 53,
156
- 56,
157
- 60
158
- ], ut = [
159
- 1,
160
- 4,
161
- 5,
162
- 7,
163
- 16,
164
- 17,
165
- 19,
166
- 21,
167
- 22,
168
- 24,
169
- 25,
170
- 26,
171
- 27,
172
- 28,
173
- 29,
174
- 33,
175
- 35,
176
- 37,
177
- 38,
178
- 42,
179
- 50,
180
- 51,
181
- 52,
182
- 53,
183
- 56,
184
- 60
185
- ], At = [
144
+ 41,
145
+ 44,
146
+ 45,
147
+ 46,
148
+ 47,
149
+ 50
150
+ ], Dt = [
186
151
  4,
187
152
  5,
153
+ 15,
188
154
  16,
189
- 17,
190
- 19,
155
+ 18,
156
+ 20,
191
157
  21,
192
- 22,
158
+ 23,
193
159
  24,
194
160
  25,
195
161
  26,
196
162
  27,
197
163
  28,
198
- 29,
199
- 33,
200
- 35,
164
+ 32,
165
+ 34,
166
+ 36,
201
167
  37,
202
- 38,
203
- 42,
204
- 50,
205
- 51,
206
- 52,
207
- 53,
208
- 56,
209
- 60
210
- ], dt = {
168
+ 41,
169
+ 44,
170
+ 45,
171
+ 46,
172
+ 47,
173
+ 50
174
+ ], ht = {
211
175
  trace: function trace() {},
212
176
  yy: {},
213
177
  symbols_: {
@@ -215,64 +179,54 @@ var mt = function() {
215
179
  start: 3,
216
180
  SPACE: 4,
217
181
  NL: 5,
218
- directive: 6,
219
- SD: 7,
220
- document: 8,
221
- line: 9,
222
- statement: 10,
223
- classDefStatement: 11,
224
- cssClassStatement: 12,
225
- idStatement: 13,
226
- DESCR: 14,
227
- "-->": 15,
228
- HIDE_EMPTY: 16,
229
- scale: 17,
230
- WIDTH: 18,
231
- COMPOSIT_STATE: 19,
232
- STRUCT_START: 20,
233
- STRUCT_STOP: 21,
234
- STATE_DESCR: 22,
235
- AS: 23,
236
- ID: 24,
237
- FORK: 25,
238
- JOIN: 26,
239
- CHOICE: 27,
240
- CONCURRENT: 28,
241
- note: 29,
242
- notePosition: 30,
243
- NOTE_TEXT: 31,
244
- direction: 32,
245
- acc_title: 33,
246
- acc_title_value: 34,
247
- acc_descr: 35,
248
- acc_descr_value: 36,
249
- acc_descr_multiline_value: 37,
250
- classDef: 38,
251
- CLASSDEF_ID: 39,
252
- CLASSDEF_STYLEOPTS: 40,
253
- DEFAULT: 41,
254
- class: 42,
255
- CLASSENTITY_IDS: 43,
256
- STYLECLASS: 44,
257
- openDirective: 45,
258
- typeDirective: 46,
259
- closeDirective: 47,
260
- ":": 48,
261
- argDirective: 49,
262
- direction_tb: 50,
263
- direction_bt: 51,
264
- direction_rl: 52,
265
- direction_lr: 53,
266
- eol: 54,
267
- ";": 55,
268
- EDGE_STATE: 56,
269
- STYLE_SEPARATOR: 57,
270
- left_of: 58,
271
- right_of: 59,
272
- open_directive: 60,
273
- type_directive: 61,
274
- arg_directive: 62,
275
- close_directive: 63,
182
+ SD: 6,
183
+ document: 7,
184
+ line: 8,
185
+ statement: 9,
186
+ classDefStatement: 10,
187
+ cssClassStatement: 11,
188
+ idStatement: 12,
189
+ DESCR: 13,
190
+ "-->": 14,
191
+ HIDE_EMPTY: 15,
192
+ scale: 16,
193
+ WIDTH: 17,
194
+ COMPOSIT_STATE: 18,
195
+ STRUCT_START: 19,
196
+ STRUCT_STOP: 20,
197
+ STATE_DESCR: 21,
198
+ AS: 22,
199
+ ID: 23,
200
+ FORK: 24,
201
+ JOIN: 25,
202
+ CHOICE: 26,
203
+ CONCURRENT: 27,
204
+ note: 28,
205
+ notePosition: 29,
206
+ NOTE_TEXT: 30,
207
+ direction: 31,
208
+ acc_title: 32,
209
+ acc_title_value: 33,
210
+ acc_descr: 34,
211
+ acc_descr_value: 35,
212
+ acc_descr_multiline_value: 36,
213
+ classDef: 37,
214
+ CLASSDEF_ID: 38,
215
+ CLASSDEF_STYLEOPTS: 39,
216
+ DEFAULT: 40,
217
+ class: 41,
218
+ CLASSENTITY_IDS: 42,
219
+ STYLECLASS: 43,
220
+ direction_tb: 44,
221
+ direction_bt: 45,
222
+ direction_rl: 46,
223
+ direction_lr: 47,
224
+ eol: 48,
225
+ ";": 49,
226
+ EDGE_STATE: 50,
227
+ STYLE_SEPARATOR: 51,
228
+ left_of: 52,
229
+ right_of: 53,
276
230
  $accept: 0,
277
231
  $end: 1
278
232
  },
@@ -280,50 +234,45 @@ var mt = function() {
280
234
  2: "error",
281
235
  4: "SPACE",
282
236
  5: "NL",
283
- 7: "SD",
284
- 14: "DESCR",
285
- 15: "-->",
286
- 16: "HIDE_EMPTY",
287
- 17: "scale",
288
- 18: "WIDTH",
289
- 19: "COMPOSIT_STATE",
290
- 20: "STRUCT_START",
291
- 21: "STRUCT_STOP",
292
- 22: "STATE_DESCR",
293
- 23: "AS",
294
- 24: "ID",
295
- 25: "FORK",
296
- 26: "JOIN",
297
- 27: "CHOICE",
298
- 28: "CONCURRENT",
299
- 29: "note",
300
- 31: "NOTE_TEXT",
301
- 33: "acc_title",
302
- 34: "acc_title_value",
303
- 35: "acc_descr",
304
- 36: "acc_descr_value",
305
- 37: "acc_descr_multiline_value",
306
- 38: "classDef",
307
- 39: "CLASSDEF_ID",
308
- 40: "CLASSDEF_STYLEOPTS",
309
- 41: "DEFAULT",
310
- 42: "class",
311
- 43: "CLASSENTITY_IDS",
312
- 44: "STYLECLASS",
313
- 48: ":",
314
- 50: "direction_tb",
315
- 51: "direction_bt",
316
- 52: "direction_rl",
317
- 53: "direction_lr",
318
- 55: ";",
319
- 56: "EDGE_STATE",
320
- 57: "STYLE_SEPARATOR",
321
- 58: "left_of",
322
- 59: "right_of",
323
- 60: "open_directive",
324
- 61: "type_directive",
325
- 62: "arg_directive",
326
- 63: "close_directive"
237
+ 6: "SD",
238
+ 13: "DESCR",
239
+ 14: "-->",
240
+ 15: "HIDE_EMPTY",
241
+ 16: "scale",
242
+ 17: "WIDTH",
243
+ 18: "COMPOSIT_STATE",
244
+ 19: "STRUCT_START",
245
+ 20: "STRUCT_STOP",
246
+ 21: "STATE_DESCR",
247
+ 22: "AS",
248
+ 23: "ID",
249
+ 24: "FORK",
250
+ 25: "JOIN",
251
+ 26: "CHOICE",
252
+ 27: "CONCURRENT",
253
+ 28: "note",
254
+ 30: "NOTE_TEXT",
255
+ 32: "acc_title",
256
+ 33: "acc_title_value",
257
+ 34: "acc_descr",
258
+ 35: "acc_descr_value",
259
+ 36: "acc_descr_multiline_value",
260
+ 37: "classDef",
261
+ 38: "CLASSDEF_ID",
262
+ 39: "CLASSDEF_STYLEOPTS",
263
+ 40: "DEFAULT",
264
+ 41: "class",
265
+ 42: "CLASSENTITY_IDS",
266
+ 43: "STYLECLASS",
267
+ 44: "direction_tb",
268
+ 45: "direction_bt",
269
+ 46: "direction_rl",
270
+ 47: "direction_lr",
271
+ 49: ";",
272
+ 50: "EDGE_STATE",
273
+ 51: "STYLE_SEPARATOR",
274
+ 52: "left_of",
275
+ 53: "right_of"
327
276
  },
328
277
  productions_: [
329
278
  0,
@@ -340,419 +289,372 @@ var mt = function() {
340
289
  2
341
290
  ],
342
291
  [
343
- 3,
344
- 2
345
- ],
346
- [
347
- 8,
292
+ 7,
348
293
  0
349
294
  ],
350
295
  [
351
- 8,
296
+ 7,
352
297
  2
353
298
  ],
354
299
  [
355
- 9,
300
+ 8,
356
301
  2
357
302
  ],
358
303
  [
359
- 9,
304
+ 8,
360
305
  1
361
306
  ],
362
307
  [
363
- 9,
308
+ 8,
364
309
  1
365
310
  ],
366
311
  [
367
- 10,
312
+ 9,
368
313
  1
369
314
  ],
370
315
  [
371
- 10,
316
+ 9,
372
317
  1
373
318
  ],
374
319
  [
375
- 10,
320
+ 9,
376
321
  1
377
322
  ],
378
323
  [
379
- 10,
324
+ 9,
380
325
  2
381
326
  ],
382
327
  [
383
- 10,
328
+ 9,
384
329
  3
385
330
  ],
386
331
  [
387
- 10,
332
+ 9,
388
333
  4
389
334
  ],
390
335
  [
391
- 10,
336
+ 9,
392
337
  1
393
338
  ],
394
339
  [
395
- 10,
340
+ 9,
396
341
  2
397
342
  ],
398
343
  [
399
- 10,
344
+ 9,
400
345
  1
401
346
  ],
402
347
  [
403
- 10,
348
+ 9,
404
349
  4
405
350
  ],
406
351
  [
407
- 10,
352
+ 9,
408
353
  3
409
354
  ],
410
355
  [
411
- 10,
356
+ 9,
412
357
  6
413
358
  ],
414
359
  [
415
- 10,
360
+ 9,
416
361
  1
417
362
  ],
418
363
  [
419
- 10,
364
+ 9,
420
365
  1
421
366
  ],
422
367
  [
423
- 10,
368
+ 9,
424
369
  1
425
370
  ],
426
371
  [
427
- 10,
372
+ 9,
428
373
  1
429
374
  ],
430
375
  [
431
- 10,
376
+ 9,
432
377
  4
433
378
  ],
434
379
  [
435
- 10,
380
+ 9,
436
381
  4
437
382
  ],
438
383
  [
439
- 10,
440
- 1
441
- ],
442
- [
443
- 10,
384
+ 9,
444
385
  1
445
386
  ],
446
387
  [
447
- 10,
388
+ 9,
448
389
  2
449
390
  ],
450
391
  [
451
- 10,
392
+ 9,
452
393
  2
453
394
  ],
454
395
  [
455
- 10,
396
+ 9,
456
397
  1
457
398
  ],
458
399
  [
459
- 11,
460
- 3
461
- ],
462
- [
463
- 11,
400
+ 10,
464
401
  3
465
402
  ],
466
403
  [
467
- 12,
404
+ 10,
468
405
  3
469
406
  ],
470
407
  [
471
- 6,
408
+ 11,
472
409
  3
473
410
  ],
474
411
  [
475
- 6,
476
- 5
477
- ],
478
- [
479
- 32,
412
+ 31,
480
413
  1
481
414
  ],
482
415
  [
483
- 32,
416
+ 31,
484
417
  1
485
418
  ],
486
419
  [
487
- 32,
420
+ 31,
488
421
  1
489
422
  ],
490
423
  [
491
- 32,
424
+ 31,
492
425
  1
493
426
  ],
494
427
  [
495
- 54,
428
+ 48,
496
429
  1
497
430
  ],
498
431
  [
499
- 54,
432
+ 48,
500
433
  1
501
434
  ],
502
435
  [
503
- 13,
436
+ 12,
504
437
  1
505
438
  ],
506
439
  [
507
- 13,
440
+ 12,
508
441
  1
509
442
  ],
510
443
  [
511
- 13,
444
+ 12,
512
445
  3
513
446
  ],
514
447
  [
515
- 13,
448
+ 12,
516
449
  3
517
450
  ],
518
451
  [
519
- 30,
520
- 1
521
- ],
522
- [
523
- 30,
524
- 1
525
- ],
526
- [
527
- 45,
528
- 1
529
- ],
530
- [
531
- 46,
532
- 1
533
- ],
534
- [
535
- 49,
452
+ 29,
536
453
  1
537
454
  ],
538
455
  [
539
- 47,
456
+ 29,
540
457
  1
541
458
  ]
542
459
  ],
543
- performAction: function performAction(r, a, i, l, y, e, B) {
544
- var c = e.length - 1;
545
- switch(y){
460
+ performAction: function performAction(r, n, i, o, p, e, $) {
461
+ var l = e.length - 1;
462
+ switch(p){
463
+ case 3:
464
+ return o.setRootDoc(e[l]), e[l];
546
465
  case 4:
547
- return l.setRootDoc(e[c]), e[c];
548
- case 5:
549
466
  this.$ = [];
550
467
  break;
551
- case 6:
552
- e[c] != "nl" && (e[c - 1].push(e[c]), this.$ = e[c - 1]);
468
+ case 5:
469
+ e[l] != "nl" && (e[l - 1].push(e[l]), this.$ = e[l - 1]);
553
470
  break;
471
+ case 6:
554
472
  case 7:
555
- case 8:
556
- this.$ = e[c];
473
+ this.$ = e[l];
557
474
  break;
558
- case 9:
475
+ case 8:
559
476
  this.$ = "nl";
560
477
  break;
478
+ case 11:
479
+ this.$ = e[l];
480
+ break;
561
481
  case 12:
562
- this.$ = e[c];
482
+ var B = e[l - 1];
483
+ B.description = o.trimColon(e[l]), this.$ = B;
563
484
  break;
564
485
  case 13:
565
- var $ = e[c - 1];
566
- $.description = l.trimColon(e[c]), this.$ = $;
567
- break;
568
- case 14:
569
486
  this.$ = {
570
487
  stmt: "relation",
571
- state1: e[c - 2],
572
- state2: e[c]
488
+ state1: e[l - 2],
489
+ state2: e[l]
573
490
  };
574
491
  break;
575
- case 15:
576
- var pt = l.trimColon(e[c]);
492
+ case 14:
493
+ var ft = o.trimColon(e[l]);
577
494
  this.$ = {
578
495
  stmt: "relation",
579
- state1: e[c - 3],
580
- state2: e[c - 1],
581
- description: pt
496
+ state1: e[l - 3],
497
+ state2: e[l - 1],
498
+ description: ft
582
499
  };
583
500
  break;
584
- case 19:
501
+ case 18:
585
502
  this.$ = {
586
503
  stmt: "state",
587
- id: e[c - 3],
504
+ id: e[l - 3],
588
505
  type: "default",
589
506
  description: "",
590
- doc: e[c - 1]
507
+ doc: e[l - 1]
591
508
  };
592
509
  break;
593
- case 20:
594
- var C = e[c], O = e[c - 2].trim();
595
- if (e[c].match(":")) {
596
- var it = e[c].split(":");
597
- C = it[0], O = [
510
+ case 19:
511
+ var A = e[l], O = e[l - 2].trim();
512
+ if (e[l].match(":")) {
513
+ var st = e[l].split(":");
514
+ A = st[0], O = [
598
515
  O,
599
- it[1]
516
+ st[1]
600
517
  ];
601
518
  }
602
519
  this.$ = {
603
520
  stmt: "state",
604
- id: C,
521
+ id: A,
605
522
  type: "default",
606
523
  description: O
607
524
  };
608
525
  break;
609
- case 21:
526
+ case 20:
610
527
  this.$ = {
611
528
  stmt: "state",
612
- id: e[c - 3],
529
+ id: e[l - 3],
613
530
  type: "default",
614
- description: e[c - 5],
615
- doc: e[c - 1]
531
+ description: e[l - 5],
532
+ doc: e[l - 1]
616
533
  };
617
534
  break;
618
- case 22:
535
+ case 21:
619
536
  this.$ = {
620
537
  stmt: "state",
621
- id: e[c],
538
+ id: e[l],
622
539
  type: "fork"
623
540
  };
624
541
  break;
625
- case 23:
542
+ case 22:
626
543
  this.$ = {
627
544
  stmt: "state",
628
- id: e[c],
545
+ id: e[l],
629
546
  type: "join"
630
547
  };
631
548
  break;
632
- case 24:
549
+ case 23:
633
550
  this.$ = {
634
551
  stmt: "state",
635
- id: e[c],
552
+ id: e[l],
636
553
  type: "choice"
637
554
  };
638
555
  break;
639
- case 25:
556
+ case 24:
640
557
  this.$ = {
641
558
  stmt: "state",
642
- id: l.getDividerId(),
559
+ id: o.getDividerId(),
643
560
  type: "divider"
644
561
  };
645
562
  break;
646
- case 26:
563
+ case 25:
647
564
  this.$ = {
648
565
  stmt: "state",
649
- id: e[c - 1].trim(),
566
+ id: e[l - 1].trim(),
650
567
  note: {
651
- position: e[c - 2].trim(),
652
- text: e[c].trim()
568
+ position: e[l - 2].trim(),
569
+ text: e[l].trim()
653
570
  }
654
571
  };
655
572
  break;
573
+ case 28:
574
+ this.$ = e[l].trim(), o.setAccTitle(this.$);
575
+ break;
576
+ case 29:
656
577
  case 30:
657
- this.$ = e[c].trim(), l.setAccTitle(this.$);
578
+ this.$ = e[l].trim(), o.setAccDescription(this.$);
658
579
  break;
659
580
  case 31:
660
581
  case 32:
661
- this.$ = e[c].trim(), l.setAccDescription(this.$);
662
- break;
663
- case 33:
664
- case 34:
665
582
  this.$ = {
666
583
  stmt: "classDef",
667
- id: e[c - 1].trim(),
668
- classes: e[c].trim()
584
+ id: e[l - 1].trim(),
585
+ classes: e[l].trim()
669
586
  };
670
587
  break;
671
- case 35:
588
+ case 33:
672
589
  this.$ = {
673
590
  stmt: "applyClass",
674
- id: e[c - 1].trim(),
675
- styleClass: e[c].trim()
591
+ id: e[l - 1].trim(),
592
+ styleClass: e[l].trim()
676
593
  };
677
594
  break;
678
- case 38:
679
- l.setDirection("TB"), this.$ = {
595
+ case 34:
596
+ o.setDirection("TB"), this.$ = {
680
597
  stmt: "dir",
681
598
  value: "TB"
682
599
  };
683
600
  break;
684
- case 39:
685
- l.setDirection("BT"), this.$ = {
601
+ case 35:
602
+ o.setDirection("BT"), this.$ = {
686
603
  stmt: "dir",
687
604
  value: "BT"
688
605
  };
689
606
  break;
690
- case 40:
691
- l.setDirection("RL"), this.$ = {
607
+ case 36:
608
+ o.setDirection("RL"), this.$ = {
692
609
  stmt: "dir",
693
610
  value: "RL"
694
611
  };
695
612
  break;
696
- case 41:
697
- l.setDirection("LR"), this.$ = {
613
+ case 37:
614
+ o.setDirection("LR"), this.$ = {
698
615
  stmt: "dir",
699
616
  value: "LR"
700
617
  };
701
618
  break;
702
- case 44:
703
- case 45:
619
+ case 40:
620
+ case 41:
704
621
  this.$ = {
705
622
  stmt: "state",
706
- id: e[c].trim(),
623
+ id: e[l].trim(),
707
624
  type: "default",
708
625
  description: ""
709
626
  };
710
627
  break;
711
- case 46:
628
+ case 42:
712
629
  this.$ = {
713
630
  stmt: "state",
714
- id: e[c - 2].trim(),
631
+ id: e[l - 2].trim(),
715
632
  classes: [
716
- e[c].trim()
633
+ e[l].trim()
717
634
  ],
718
635
  type: "default",
719
636
  description: ""
720
637
  };
721
638
  break;
722
- case 47:
639
+ case 43:
723
640
  this.$ = {
724
641
  stmt: "state",
725
- id: e[c - 2].trim(),
642
+ id: e[l - 2].trim(),
726
643
  classes: [
727
- e[c].trim()
644
+ e[l].trim()
728
645
  ],
729
646
  type: "default",
730
647
  description: ""
731
648
  };
732
649
  break;
733
- case 50:
734
- l.parseDirective("%%{", "open_directive");
735
- break;
736
- case 51:
737
- l.parseDirective(e[c], "type_directive");
738
- break;
739
- case 52:
740
- e[c] = e[c].trim().replace(/'/g, '"'), l.parseDirective(e[c], "arg_directive");
741
- break;
742
- case 53:
743
- l.parseDirective("}%%", "close_directive", "state");
744
- break;
745
650
  }
746
651
  },
747
652
  table: [
748
653
  {
749
654
  3: 1,
750
655
  4: s,
751
- 5: n,
752
- 6: 4,
753
- 7: h,
754
- 45: 6,
755
- 60: u
656
+ 5: a,
657
+ 6: h
756
658
  },
757
659
  {
758
660
  1: [
@@ -760,73 +662,44 @@ var mt = function() {
760
662
  ]
761
663
  },
762
664
  {
763
- 3: 8,
665
+ 3: 5,
764
666
  4: s,
765
- 5: n,
766
- 6: 4,
767
- 7: h,
768
- 45: 6,
769
- 60: u
667
+ 5: a,
668
+ 6: h
770
669
  },
771
670
  {
772
- 3: 9,
671
+ 3: 6,
773
672
  4: s,
774
- 5: n,
775
- 6: 4,
776
- 7: h,
777
- 45: 6,
778
- 60: u
779
- },
780
- {
781
- 3: 10,
782
- 4: s,
783
- 5: n,
784
- 6: 4,
785
- 7: h,
786
- 45: 6,
787
- 60: u
673
+ 5: a,
674
+ 6: h
788
675
  },
789
676
  t([
790
677
  1,
791
678
  4,
792
679
  5,
680
+ 15,
793
681
  16,
794
- 17,
795
- 19,
796
- 22,
682
+ 18,
683
+ 21,
684
+ 23,
797
685
  24,
798
686
  25,
799
687
  26,
800
688
  27,
801
689
  28,
802
- 29,
803
- 33,
804
- 35,
690
+ 32,
691
+ 34,
692
+ 36,
805
693
  37,
806
- 38,
807
- 42,
808
- 50,
809
- 51,
810
- 52,
811
- 53,
812
- 56,
813
- 60
694
+ 41,
695
+ 44,
696
+ 45,
697
+ 46,
698
+ 47,
699
+ 50
814
700
  ], f, {
815
- 8: 11
701
+ 7: 7
816
702
  }),
817
- {
818
- 46: 12,
819
- 61: [
820
- 1,
821
- 13
822
- ]
823
- },
824
- {
825
- 61: [
826
- 2,
827
- 50
828
- ]
829
- },
830
703
  {
831
704
  1: [
832
705
  2,
@@ -843,610 +716,532 @@ var mt = function() {
843
716
  1: [
844
717
  2,
845
718
  3
846
- ]
847
- },
848
- {
849
- 1: [
850
- 2,
851
- 4
852
719
  ],
853
- 4: p,
854
- 5: v,
855
- 6: 30,
856
- 9: 14,
857
- 10: 16,
858
- 11: 18,
859
- 12: 19,
860
- 13: 20,
861
- 16: d,
862
- 17: k,
863
- 19: T,
864
- 22: G,
865
- 24: R,
720
+ 4: d,
721
+ 5: y,
722
+ 8: 8,
723
+ 9: 10,
724
+ 10: 12,
725
+ 11: 13,
726
+ 12: 14,
727
+ 15: k,
728
+ 16: u,
729
+ 18: E,
730
+ 21: T,
731
+ 23: R,
732
+ 24: G,
866
733
  25: j,
867
734
  26: U,
868
735
  27: z,
869
736
  28: M,
870
- 29: H,
871
- 32: 31,
872
- 33: X,
873
- 35: K,
737
+ 31: 24,
738
+ 32: H,
739
+ 34: X,
740
+ 36: K,
874
741
  37: W,
875
- 38: J,
876
- 42: q,
877
- 45: 6,
878
- 50: Q,
879
- 51: Z,
880
- 52: tt,
881
- 53: et,
882
- 56: w,
883
- 60: u
742
+ 41: J,
743
+ 44: q,
744
+ 45: Q,
745
+ 46: Z,
746
+ 47: tt,
747
+ 50: w
884
748
  },
885
- {
886
- 47: 43,
887
- 48: [
888
- 1,
889
- 44
890
- ],
891
- 63: Ct
892
- },
893
- t([
894
- 48,
895
- 63
896
- ], [
897
- 2,
898
- 51
899
- ]),
900
- t(o, [
749
+ t(c, [
901
750
  2,
902
- 6
751
+ 5
903
752
  ]),
904
753
  {
905
- 6: 30,
906
- 10: 46,
907
- 11: 18,
908
- 12: 19,
909
- 13: 20,
910
- 16: d,
911
- 17: k,
912
- 19: T,
913
- 22: G,
914
- 24: R,
754
+ 9: 36,
755
+ 10: 12,
756
+ 11: 13,
757
+ 12: 14,
758
+ 15: k,
759
+ 16: u,
760
+ 18: E,
761
+ 21: T,
762
+ 23: R,
763
+ 24: G,
915
764
  25: j,
916
765
  26: U,
917
766
  27: z,
918
767
  28: M,
919
- 29: H,
920
- 32: 31,
921
- 33: X,
922
- 35: K,
768
+ 31: 24,
769
+ 32: H,
770
+ 34: X,
771
+ 36: K,
923
772
  37: W,
924
- 38: J,
925
- 42: q,
926
- 45: 6,
927
- 50: Q,
928
- 51: Z,
929
- 52: tt,
930
- 53: et,
931
- 56: w,
932
- 60: u
773
+ 41: J,
774
+ 44: q,
775
+ 45: Q,
776
+ 46: Z,
777
+ 47: tt,
778
+ 50: w
933
779
  },
934
- t(o, [
780
+ t(c, [
781
+ 2,
782
+ 7
783
+ ]),
784
+ t(c, [
935
785
  2,
936
786
  8
937
787
  ]),
938
- t(o, [
788
+ t(c, [
939
789
  2,
940
790
  9
941
791
  ]),
942
- t(o, [
792
+ t(c, [
943
793
  2,
944
794
  10
945
795
  ]),
946
- t(o, [
796
+ t(c, [
947
797
  2,
948
798
  11
949
- ]),
950
- t(o, [
951
- 2,
952
- 12
953
799
  ], {
954
- 14: [
800
+ 13: [
955
801
  1,
956
- 47
802
+ 37
957
803
  ],
958
- 15: [
804
+ 14: [
959
805
  1,
960
- 48
806
+ 38
961
807
  ]
962
808
  }),
963
- t(o, [
809
+ t(c, [
964
810
  2,
965
- 16
811
+ 15
966
812
  ]),
967
813
  {
968
- 18: [
814
+ 17: [
969
815
  1,
970
- 49
816
+ 39
971
817
  ]
972
818
  },
973
- t(o, [
819
+ t(c, [
974
820
  2,
975
- 18
821
+ 17
976
822
  ], {
977
- 20: [
823
+ 19: [
978
824
  1,
979
- 50
825
+ 40
980
826
  ]
981
827
  }),
982
828
  {
983
- 23: [
829
+ 22: [
984
830
  1,
985
- 51
831
+ 41
986
832
  ]
987
833
  },
988
- t(o, [
834
+ t(c, [
835
+ 2,
836
+ 21
837
+ ]),
838
+ t(c, [
989
839
  2,
990
840
  22
991
841
  ]),
992
- t(o, [
842
+ t(c, [
993
843
  2,
994
844
  23
995
845
  ]),
996
- t(o, [
846
+ t(c, [
997
847
  2,
998
848
  24
999
849
  ]),
1000
- t(o, [
1001
- 2,
1002
- 25
1003
- ]),
1004
850
  {
1005
- 30: 52,
1006
- 31: [
851
+ 29: 42,
852
+ 30: [
1007
853
  1,
1008
- 53
854
+ 43
1009
855
  ],
1010
- 58: [
856
+ 52: [
1011
857
  1,
1012
- 54
858
+ 44
1013
859
  ],
1014
- 59: [
860
+ 53: [
1015
861
  1,
1016
- 55
862
+ 45
1017
863
  ]
1018
864
  },
1019
- t(o, [
865
+ t(c, [
1020
866
  2,
1021
- 28
1022
- ]),
1023
- t(o, [
1024
- 2,
1025
- 29
867
+ 27
1026
868
  ]),
1027
869
  {
1028
- 34: [
870
+ 33: [
1029
871
  1,
1030
- 56
872
+ 46
1031
873
  ]
1032
874
  },
1033
875
  {
1034
- 36: [
876
+ 35: [
1035
877
  1,
1036
- 57
878
+ 47
1037
879
  ]
1038
880
  },
1039
- t(o, [
881
+ t(c, [
1040
882
  2,
1041
- 32
883
+ 30
1042
884
  ]),
1043
885
  {
1044
- 39: [
886
+ 38: [
1045
887
  1,
1046
- 58
888
+ 48
1047
889
  ],
1048
- 41: [
890
+ 40: [
1049
891
  1,
1050
- 59
892
+ 49
1051
893
  ]
1052
894
  },
1053
895
  {
1054
- 43: [
896
+ 42: [
1055
897
  1,
1056
- 60
898
+ 50
1057
899
  ]
1058
900
  },
1059
- t(st, [
901
+ t(et, [
1060
902
  2,
1061
- 44
903
+ 40
1062
904
  ], {
1063
- 57: [
905
+ 51: [
1064
906
  1,
1065
- 61
907
+ 51
1066
908
  ]
1067
909
  }),
1068
- t(st, [
910
+ t(et, [
1069
911
  2,
1070
- 45
912
+ 41
1071
913
  ], {
1072
- 57: [
914
+ 51: [
1073
915
  1,
1074
- 62
916
+ 52
1075
917
  ]
1076
918
  }),
1077
- t(o, [
1078
- 2,
1079
- 38
1080
- ]),
1081
- t(o, [
1082
- 2,
1083
- 39
1084
- ]),
1085
- t(o, [
919
+ t(c, [
1086
920
  2,
1087
- 40
921
+ 34
1088
922
  ]),
1089
- t(o, [
923
+ t(c, [
1090
924
  2,
1091
- 41
925
+ 35
1092
926
  ]),
1093
- t(ut, [
927
+ t(c, [
1094
928
  2,
1095
929
  36
1096
930
  ]),
1097
- {
1098
- 49: 63,
1099
- 62: [
1100
- 1,
1101
- 64
1102
- ]
1103
- },
1104
- t(ut, [
931
+ t(c, [
1105
932
  2,
1106
- 53
933
+ 37
1107
934
  ]),
1108
- t(o, [
935
+ t(c, [
1109
936
  2,
1110
- 7
937
+ 6
1111
938
  ]),
1112
- t(o, [
939
+ t(c, [
1113
940
  2,
1114
- 13
941
+ 12
1115
942
  ]),
1116
943
  {
1117
- 13: 65,
1118
- 24: R,
1119
- 56: w
944
+ 12: 53,
945
+ 23: R,
946
+ 50: w
1120
947
  },
1121
- t(o, [
948
+ t(c, [
1122
949
  2,
1123
- 17
950
+ 16
1124
951
  ]),
1125
- t(At, f, {
1126
- 8: 66
952
+ t(Dt, f, {
953
+ 7: 54
1127
954
  }),
1128
955
  {
1129
- 24: [
956
+ 23: [
1130
957
  1,
1131
- 67
958
+ 55
1132
959
  ]
1133
960
  },
1134
961
  {
1135
- 24: [
962
+ 23: [
1136
963
  1,
1137
- 68
964
+ 56
1138
965
  ]
1139
966
  },
1140
967
  {
1141
- 23: [
968
+ 22: [
1142
969
  1,
1143
- 69
970
+ 57
1144
971
  ]
1145
972
  },
1146
973
  {
1147
- 24: [
974
+ 23: [
1148
975
  2,
1149
- 48
976
+ 44
1150
977
  ]
1151
978
  },
1152
979
  {
1153
- 24: [
980
+ 23: [
1154
981
  2,
1155
- 49
982
+ 45
1156
983
  ]
1157
984
  },
1158
- t(o, [
985
+ t(c, [
1159
986
  2,
1160
- 30
987
+ 28
1161
988
  ]),
1162
- t(o, [
989
+ t(c, [
1163
990
  2,
1164
- 31
991
+ 29
1165
992
  ]),
1166
993
  {
1167
- 40: [
994
+ 39: [
1168
995
  1,
1169
- 70
996
+ 58
1170
997
  ]
1171
998
  },
1172
999
  {
1173
- 40: [
1000
+ 39: [
1174
1001
  1,
1175
- 71
1002
+ 59
1176
1003
  ]
1177
1004
  },
1178
1005
  {
1179
- 44: [
1006
+ 43: [
1180
1007
  1,
1181
- 72
1008
+ 60
1182
1009
  ]
1183
1010
  },
1184
1011
  {
1185
- 24: [
1012
+ 23: [
1186
1013
  1,
1187
- 73
1014
+ 61
1188
1015
  ]
1189
1016
  },
1190
1017
  {
1191
- 24: [
1018
+ 23: [
1192
1019
  1,
1193
- 74
1194
- ]
1195
- },
1196
- {
1197
- 47: 75,
1198
- 63: Ct
1199
- },
1200
- {
1201
- 63: [
1202
- 2,
1203
- 52
1020
+ 62
1204
1021
  ]
1205
1022
  },
1206
- t(o, [
1023
+ t(c, [
1207
1024
  2,
1208
- 14
1025
+ 13
1209
1026
  ], {
1210
- 14: [
1027
+ 13: [
1211
1028
  1,
1212
- 76
1029
+ 63
1213
1030
  ]
1214
1031
  }),
1215
1032
  {
1216
- 4: p,
1217
- 5: v,
1218
- 6: 30,
1219
- 9: 14,
1220
- 10: 16,
1221
- 11: 18,
1222
- 12: 19,
1223
- 13: 20,
1224
- 16: d,
1225
- 17: k,
1226
- 19: T,
1227
- 21: [
1033
+ 4: d,
1034
+ 5: y,
1035
+ 8: 8,
1036
+ 9: 10,
1037
+ 10: 12,
1038
+ 11: 13,
1039
+ 12: 14,
1040
+ 15: k,
1041
+ 16: u,
1042
+ 18: E,
1043
+ 20: [
1228
1044
  1,
1229
- 77
1045
+ 64
1230
1046
  ],
1231
- 22: G,
1232
- 24: R,
1047
+ 21: T,
1048
+ 23: R,
1049
+ 24: G,
1233
1050
  25: j,
1234
1051
  26: U,
1235
1052
  27: z,
1236
1053
  28: M,
1237
- 29: H,
1238
- 32: 31,
1239
- 33: X,
1240
- 35: K,
1054
+ 31: 24,
1055
+ 32: H,
1056
+ 34: X,
1057
+ 36: K,
1241
1058
  37: W,
1242
- 38: J,
1243
- 42: q,
1244
- 45: 6,
1245
- 50: Q,
1246
- 51: Z,
1247
- 52: tt,
1248
- 53: et,
1249
- 56: w,
1250
- 60: u
1059
+ 41: J,
1060
+ 44: q,
1061
+ 45: Q,
1062
+ 46: Z,
1063
+ 47: tt,
1064
+ 50: w
1251
1065
  },
1252
- t(o, [
1066
+ t(c, [
1253
1067
  2,
1254
- 20
1068
+ 19
1255
1069
  ], {
1256
- 20: [
1070
+ 19: [
1257
1071
  1,
1258
- 78
1072
+ 65
1259
1073
  ]
1260
1074
  }),
1261
1075
  {
1262
- 31: [
1076
+ 30: [
1263
1077
  1,
1264
- 79
1078
+ 66
1265
1079
  ]
1266
1080
  },
1267
1081
  {
1268
- 24: [
1082
+ 23: [
1269
1083
  1,
1270
- 80
1084
+ 67
1271
1085
  ]
1272
1086
  },
1273
- t(o, [
1274
- 2,
1275
- 33
1276
- ]),
1277
- t(o, [
1087
+ t(c, [
1278
1088
  2,
1279
- 34
1089
+ 31
1280
1090
  ]),
1281
- t(o, [
1091
+ t(c, [
1282
1092
  2,
1283
- 35
1093
+ 32
1284
1094
  ]),
1285
- t(st, [
1095
+ t(c, [
1286
1096
  2,
1287
- 46
1097
+ 33
1288
1098
  ]),
1289
- t(st, [
1099
+ t(et, [
1290
1100
  2,
1291
- 47
1101
+ 42
1292
1102
  ]),
1293
- t(ut, [
1103
+ t(et, [
1294
1104
  2,
1295
- 37
1105
+ 43
1296
1106
  ]),
1297
- t(o, [
1107
+ t(c, [
1298
1108
  2,
1299
- 15
1109
+ 14
1300
1110
  ]),
1301
- t(o, [
1111
+ t(c, [
1302
1112
  2,
1303
- 19
1113
+ 18
1304
1114
  ]),
1305
- t(At, f, {
1306
- 8: 81
1115
+ t(Dt, f, {
1116
+ 7: 68
1307
1117
  }),
1308
- t(o, [
1118
+ t(c, [
1309
1119
  2,
1310
- 26
1120
+ 25
1311
1121
  ]),
1312
- t(o, [
1122
+ t(c, [
1313
1123
  2,
1314
- 27
1124
+ 26
1315
1125
  ]),
1316
1126
  {
1317
- 4: p,
1318
- 5: v,
1319
- 6: 30,
1320
- 9: 14,
1321
- 10: 16,
1322
- 11: 18,
1323
- 12: 19,
1324
- 13: 20,
1325
- 16: d,
1326
- 17: k,
1327
- 19: T,
1328
- 21: [
1127
+ 4: d,
1128
+ 5: y,
1129
+ 8: 8,
1130
+ 9: 10,
1131
+ 10: 12,
1132
+ 11: 13,
1133
+ 12: 14,
1134
+ 15: k,
1135
+ 16: u,
1136
+ 18: E,
1137
+ 20: [
1329
1138
  1,
1330
- 82
1139
+ 69
1331
1140
  ],
1332
- 22: G,
1333
- 24: R,
1141
+ 21: T,
1142
+ 23: R,
1143
+ 24: G,
1334
1144
  25: j,
1335
1145
  26: U,
1336
1146
  27: z,
1337
1147
  28: M,
1338
- 29: H,
1339
- 32: 31,
1340
- 33: X,
1341
- 35: K,
1148
+ 31: 24,
1149
+ 32: H,
1150
+ 34: X,
1151
+ 36: K,
1342
1152
  37: W,
1343
- 38: J,
1344
- 42: q,
1345
- 45: 6,
1346
- 50: Q,
1347
- 51: Z,
1348
- 52: tt,
1349
- 53: et,
1350
- 56: w,
1351
- 60: u
1153
+ 41: J,
1154
+ 44: q,
1155
+ 45: Q,
1156
+ 46: Z,
1157
+ 47: tt,
1158
+ 50: w
1352
1159
  },
1353
- t(o, [
1160
+ t(c, [
1354
1161
  2,
1355
- 21
1162
+ 20
1356
1163
  ])
1357
1164
  ],
1358
1165
  defaultActions: {
1359
- 7: [
1360
- 2,
1361
- 50
1362
- ],
1363
- 8: [
1166
+ 5: [
1364
1167
  2,
1365
1168
  1
1366
1169
  ],
1367
- 9: [
1170
+ 6: [
1368
1171
  2,
1369
1172
  2
1370
1173
  ],
1371
- 10: [
1372
- 2,
1373
- 3
1374
- ],
1375
- 54: [
1376
- 2,
1377
- 48
1378
- ],
1379
- 55: [
1174
+ 44: [
1380
1175
  2,
1381
- 49
1176
+ 44
1382
1177
  ],
1383
- 64: [
1178
+ 45: [
1384
1179
  2,
1385
- 52
1180
+ 45
1386
1181
  ]
1387
1182
  },
1388
- parseError: function parseError(r, a) {
1389
- if (a.recoverable) this.trace(r);
1183
+ parseError: function parseError(r, n) {
1184
+ if (n.recoverable) this.trace(r);
1390
1185
  else {
1391
1186
  var i = new Error(r);
1392
- throw i.hash = a, i;
1187
+ throw i.hash = n, i;
1393
1188
  }
1394
1189
  },
1395
1190
  parse: function parse(r) {
1396
- var a = this, i = [
1191
+ var n = this, i = [
1397
1192
  0
1398
- ], l = [], y = [
1193
+ ], o = [], p = [
1399
1194
  null
1400
- ], e = [], B = this.table, c = "", C = 0, O = 0, it = 2, $ = 1, pt = e.slice.call(arguments, 1), S = Object.create(this.lexer), A = {
1195
+ ], e = [], $ = this.table, l = "", A = 0, O = 0, st = 2, B = 1, ft = e.slice.call(arguments, 1), S = Object.create(this.lexer), L = {
1401
1196
  yy: {}
1402
1197
  };
1403
- for(var yt in this.yy)Object.prototype.hasOwnProperty.call(this.yy, yt) && (A.yy[yt] = this.yy[yt]);
1404
- S.setInput(r, A.yy), A.yy.lexer = S, A.yy.parser = this, _type_of(S.yylloc) > "u" && (S.yylloc = {});
1405
- var St = S.yylloc;
1406
- e.push(St);
1407
- var zt = S.options && S.options.ranges;
1408
- typeof A.yy.parseError == "function" ? this.parseError = A.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1409
- function Mt() {
1410
- var E;
1411
- return E = l.pop() || S.lex() || $, typeof E != "number" && (_instanceof(E, Array) && (l = E, E = l.pop()), E = a.symbols_[E] || E), E;
1198
+ for(var dt in this.yy)Object.prototype.hasOwnProperty.call(this.yy, dt) && (L.yy[dt] = this.yy[dt]);
1199
+ S.setInput(r, L.yy), L.yy.lexer = S, L.yy.parser = this, _type_of(S.yylloc) > "u" && (S.yylloc = {});
1200
+ var yt = S.yylloc;
1201
+ e.push(yt);
1202
+ var Gt = S.options && S.options.ranges;
1203
+ typeof L.yy.parseError == "function" ? this.parseError = L.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
1204
+ function jt() {
1205
+ var x;
1206
+ return x = o.pop() || S.lex() || B, typeof x != "number" && (_instanceof(x, Array) && (o = x, x = o.pop()), x = n.symbols_[x] || x), x;
1412
1207
  }
1413
- for(var _, L, m, gt, N = {}, rt, b, Lt, nt;;){
1414
- if (L = i[i.length - 1], this.defaultActions[L] ? m = this.defaultActions[L] : ((_ === null || (typeof _ === "undefined" ? "undefined" : _type_of(_)) > "u") && (_ = Mt()), m = B[L] && B[L][_]), (typeof m === "undefined" ? "undefined" : _type_of(m)) > "u" || !m.length || !m[0]) {
1415
- var _t = "";
1416
- nt = [];
1417
- for(rt in B[L])this.terminals_[rt] && rt > it && nt.push("'" + this.terminals_[rt] + "'");
1418
- S.showPosition ? _t = "Parse error on line " + (C + 1) + ":\n" + S.showPosition() + "\nExpecting " + nt.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : _t = "Parse error on line " + (C + 1) + ": Unexpected " + (_ == $ ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(_t, {
1208
+ for(var _, v, m, pt, N = {}, it, b, Ct, rt;;){
1209
+ if (v = i[i.length - 1], this.defaultActions[v] ? m = this.defaultActions[v] : ((_ === null || (typeof _ === "undefined" ? "undefined" : _type_of(_)) > "u") && (_ = jt()), m = $[v] && $[v][_]), (typeof m === "undefined" ? "undefined" : _type_of(m)) > "u" || !m.length || !m[0]) {
1210
+ var St = "";
1211
+ rt = [];
1212
+ for(it in $[v])this.terminals_[it] && it > st && rt.push("'" + this.terminals_[it] + "'");
1213
+ S.showPosition ? St = "Parse error on line " + (A + 1) + ":\n" + S.showPosition() + "\nExpecting " + rt.join(", ") + ", got '" + (this.terminals_[_] || _) + "'" : St = "Parse error on line " + (A + 1) + ": Unexpected " + (_ == B ? "end of input" : "'" + (this.terminals_[_] || _) + "'"), this.parseError(St, {
1419
1214
  text: S.match,
1420
1215
  token: this.terminals_[_] || _,
1421
1216
  line: S.yylineno,
1422
- loc: St,
1423
- expected: nt
1217
+ loc: yt,
1218
+ expected: rt
1424
1219
  });
1425
1220
  }
1426
- if (_instanceof(m[0], Array) && m.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + L + ", token: " + _);
1221
+ if (_instanceof(m[0], Array) && m.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + v + ", token: " + _);
1427
1222
  switch(m[0]){
1428
1223
  case 1:
1429
- i.push(_), y.push(S.yytext), e.push(S.yylloc), i.push(m[1]), _ = null, O = S.yyleng, c = S.yytext, C = S.yylineno, St = S.yylloc;
1224
+ i.push(_), p.push(S.yytext), e.push(S.yylloc), i.push(m[1]), _ = null, O = S.yyleng, l = S.yytext, A = S.yylineno, yt = S.yylloc;
1430
1225
  break;
1431
1226
  case 2:
1432
- if (b = this.productions_[m[1]][1], N.$ = y[y.length - b], N._$ = {
1227
+ if (b = this.productions_[m[1]][1], N.$ = p[p.length - b], N._$ = {
1433
1228
  first_line: e[e.length - (b || 1)].first_line,
1434
1229
  last_line: e[e.length - 1].last_line,
1435
1230
  first_column: e[e.length - (b || 1)].first_column,
1436
1231
  last_column: e[e.length - 1].last_column
1437
- }, zt && (N._$.range = [
1232
+ }, Gt && (N._$.range = [
1438
1233
  e[e.length - (b || 1)].range[0],
1439
1234
  e[e.length - 1].range[1]
1440
- ]), gt = this.performAction.apply(N, [
1441
- c,
1235
+ ]), pt = this.performAction.apply(N, [
1236
+ l,
1442
1237
  O,
1443
- C,
1444
- A.yy,
1238
+ A,
1239
+ L.yy,
1445
1240
  m[1],
1446
- y,
1241
+ p,
1447
1242
  e
1448
- ].concat(pt)), (typeof gt === "undefined" ? "undefined" : _type_of(gt)) < "u") return gt;
1449
- b && (i = i.slice(0, -1 * b * 2), y = y.slice(0, -1 * b), e = e.slice(0, -1 * b)), i.push(this.productions_[m[1]][0]), y.push(N.$), e.push(N._$), Lt = B[i[i.length - 2]][i[i.length - 1]], i.push(Lt);
1243
+ ].concat(ft)), (typeof pt === "undefined" ? "undefined" : _type_of(pt)) < "u") return pt;
1244
+ b && (i = i.slice(0, -1 * b * 2), p = p.slice(0, -1 * b), e = e.slice(0, -1 * b)), i.push(this.productions_[m[1]][0]), p.push(N.$), e.push(N._$), Ct = $[i[i.length - 2]][i[i.length - 1]], i.push(Ct);
1450
1245
  break;
1451
1246
  case 3:
1452
1247
  return !0;
@@ -1454,16 +1249,16 @@ var mt = function() {
1454
1249
  }
1455
1250
  return !0;
1456
1251
  }
1457
- }, Ut = function() {
1458
- var D = {
1252
+ }, Yt = function() {
1253
+ var C = {
1459
1254
  EOF: 1,
1460
- parseError: function parseError(a, i) {
1461
- if (this.yy.parser) this.yy.parser.parseError(a, i);
1462
- else throw new Error(a);
1255
+ parseError: function parseError(n, i) {
1256
+ if (this.yy.parser) this.yy.parser.parseError(n, i);
1257
+ else throw new Error(n);
1463
1258
  },
1464
1259
  // resets the lexer, sets new input
1465
- setInput: function setInput(r, a) {
1466
- return this.yy = a || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1260
+ setInput: function setInput(r, n) {
1261
+ return this.yy = n || this.yy || {}, this._input = r, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
1467
1262
  "INITIAL"
1468
1263
  ], this.yylloc = {
1469
1264
  first_line: 1,
@@ -1479,24 +1274,24 @@ var mt = function() {
1479
1274
  input: function input() {
1480
1275
  var r = this._input[0];
1481
1276
  this.yytext += r, this.yyleng++, this.offset++, this.match += r, this.matched += r;
1482
- var a = r.match(/(?:\r\n?|\n).*/g);
1483
- return a ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
1277
+ var n = r.match(/(?:\r\n?|\n).*/g);
1278
+ return n ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), r;
1484
1279
  },
1485
1280
  // unshifts one char (or a string) into the input
1486
1281
  unput: function unput(r) {
1487
- var a = r.length, i = r.split(/(?:\r\n?|\n)/g);
1488
- this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - a), this.offset -= a;
1489
- var l = this.match.split(/(?:\r\n?|\n)/g);
1282
+ var n = r.length, i = r.split(/(?:\r\n?|\n)/g);
1283
+ this._input = r + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - n), this.offset -= n;
1284
+ var o = this.match.split(/(?:\r\n?|\n)/g);
1490
1285
  this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), i.length - 1 && (this.yylineno -= i.length - 1);
1491
- var y = this.yylloc.range;
1286
+ var p = this.yylloc.range;
1492
1287
  return this.yylloc = {
1493
1288
  first_line: this.yylloc.first_line,
1494
1289
  last_line: this.yylineno + 1,
1495
1290
  first_column: this.yylloc.first_column,
1496
- last_column: i ? (i.length === l.length ? this.yylloc.first_column : 0) + l[l.length - i.length].length - i[0].length : this.yylloc.first_column - a
1291
+ last_column: i ? (i.length === o.length ? this.yylloc.first_column : 0) + o[o.length - i.length].length - i[0].length : this.yylloc.first_column - n
1497
1292
  }, this.options.ranges && (this.yylloc.range = [
1498
- y[0],
1499
- y[0] + this.yyleng - a
1293
+ p[0],
1294
+ p[0] + this.yyleng - n
1500
1295
  ]), this.yyleng = this.yytext.length, this;
1501
1296
  },
1502
1297
  // When called from action, caches matched text and appends it on next action
@@ -1529,13 +1324,13 @@ var mt = function() {
1529
1324
  },
1530
1325
  // displays the character position where the lexing error occurred, i.e. for error messages
1531
1326
  showPosition: function showPosition() {
1532
- var r = this.pastInput(), a = new Array(r.length + 1).join("-");
1533
- return r + this.upcomingInput() + "\n" + a + "^";
1327
+ var r = this.pastInput(), n = new Array(r.length + 1).join("-");
1328
+ return r + this.upcomingInput() + "\n" + n + "^";
1534
1329
  },
1535
1330
  // test the lexed token: return FALSE when not a match, otherwise return token
1536
- test_match: function test_match(r, a) {
1537
- var i, l, y;
1538
- if (this.options.backtrack_lexer && (y = {
1331
+ test_match: function test_match(r, n) {
1332
+ var i, o, p;
1333
+ if (this.options.backtrack_lexer && (p = {
1539
1334
  yylineno: this.yylineno,
1540
1335
  yylloc: {
1541
1336
  first_line: this.yylloc.first_line,
@@ -1554,17 +1349,17 @@ var mt = function() {
1554
1349
  yy: this.yy,
1555
1350
  conditionStack: this.conditionStack.slice(0),
1556
1351
  done: this.done
1557
- }, this.options.ranges && (y.yylloc.range = this.yylloc.range.slice(0))), l = r[0].match(/(?:\r\n?|\n).*/g), l && (this.yylineno += l.length), this.yylloc = {
1352
+ }, this.options.ranges && (p.yylloc.range = this.yylloc.range.slice(0))), o = r[0].match(/(?:\r\n?|\n).*/g), o && (this.yylineno += o.length), this.yylloc = {
1558
1353
  first_line: this.yylloc.last_line,
1559
1354
  last_line: this.yylineno + 1,
1560
1355
  first_column: this.yylloc.last_column,
1561
- last_column: l ? l[l.length - 1].length - l[l.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
1356
+ last_column: o ? o[o.length - 1].length - o[o.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + r[0].length
1562
1357
  }, this.yytext += r[0], this.match += r[0], this.matches = r, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
1563
1358
  this.offset,
1564
1359
  this.offset += this.yyleng
1565
- ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(r[0].length), this.matched += r[0], i = this.performAction.call(this, this.yy, this, a, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i) return i;
1360
+ ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(r[0].length), this.matched += r[0], i = this.performAction.call(this, this.yy, this, n, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), i) return i;
1566
1361
  if (this._backtrack) {
1567
- for(var e in y)this[e] = y[e];
1362
+ for(var e in p)this[e] = p[e];
1568
1363
  return !1;
1569
1364
  }
1570
1365
  return !1;
@@ -1573,18 +1368,18 @@ var mt = function() {
1573
1368
  next: function next() {
1574
1369
  if (this.done) return this.EOF;
1575
1370
  this._input || (this.done = !0);
1576
- var r, a, i, l;
1371
+ var r, n, i, o;
1577
1372
  this._more || (this.yytext = "", this.match = "");
1578
- for(var y = this._currentRules(), e = 0; e < y.length; e++)if (i = this._input.match(this.rules[y[e]]), i && (!a || i[0].length > a[0].length)) {
1579
- if (a = i, l = e, this.options.backtrack_lexer) {
1580
- if (r = this.test_match(i, y[e]), r !== !1) return r;
1373
+ for(var p = this._currentRules(), e = 0; e < p.length; e++)if (i = this._input.match(this.rules[p[e]]), i && (!n || i[0].length > n[0].length)) {
1374
+ if (n = i, o = e, this.options.backtrack_lexer) {
1375
+ if (r = this.test_match(i, p[e]), r !== !1) return r;
1581
1376
  if (this._backtrack) {
1582
- a = !1;
1377
+ n = !1;
1583
1378
  continue;
1584
1379
  } else return !1;
1585
1380
  } else if (!this.options.flex) break;
1586
1381
  }
1587
- return a ? (r = this.test_match(a, y[l]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1382
+ return n ? (r = this.test_match(n, p[o]), r !== !1 ? r : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
1588
1383
  text: "",
1589
1384
  token: null,
1590
1385
  line: this.yylineno
@@ -1592,29 +1387,29 @@ var mt = function() {
1592
1387
  },
1593
1388
  // return next match that has a token
1594
1389
  lex: function lex() {
1595
- var a = this.next();
1596
- return a || this.lex();
1390
+ var n = this.next();
1391
+ return n || this.lex();
1597
1392
  },
1598
1393
  // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
1599
- begin: function begin(a) {
1600
- this.conditionStack.push(a);
1394
+ begin: function begin(n) {
1395
+ this.conditionStack.push(n);
1601
1396
  },
1602
1397
  // pop the previously active lexer condition state off the condition stack
1603
1398
  popState: function popState() {
1604
- var a = this.conditionStack.length - 1;
1605
- return a > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1399
+ var n = this.conditionStack.length - 1;
1400
+ return n > 0 ? this.conditionStack.pop() : this.conditionStack[0];
1606
1401
  },
1607
1402
  // produce the lexer rule set which is active for the currently active lexer condition state
1608
1403
  _currentRules: function _currentRules() {
1609
1404
  return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
1610
1405
  },
1611
1406
  // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
1612
- topState: function topState(a) {
1613
- return a = this.conditionStack.length - 1 - Math.abs(a || 0), a >= 0 ? this.conditionStack[a] : "INITIAL";
1407
+ topState: function topState(n) {
1408
+ return n = this.conditionStack.length - 1 - Math.abs(n || 0), n >= 0 ? this.conditionStack[n] : "INITIAL";
1614
1409
  },
1615
1410
  // alias for begin(condition)
1616
- pushState: function pushState(a) {
1617
- this.begin(a);
1411
+ pushState: function pushState(n) {
1412
+ this.begin(n);
1618
1413
  },
1619
1414
  // return the number of states currently on the stack
1620
1415
  stateStackSize: function stateStackSize() {
@@ -1623,178 +1418,168 @@ var mt = function() {
1623
1418
  options: {
1624
1419
  "case-insensitive": !0
1625
1420
  },
1626
- performAction: function performAction(a, i, l, y) {
1627
- switch(l){
1421
+ performAction: function performAction(n, i, o, p) {
1422
+ switch(o){
1628
1423
  case 0:
1629
- return 41;
1424
+ return 40;
1630
1425
  case 1:
1631
- return 50;
1426
+ return 44;
1632
1427
  case 2:
1633
- return 51;
1428
+ return 45;
1634
1429
  case 3:
1635
- return 52;
1430
+ return 46;
1636
1431
  case 4:
1637
- return 53;
1432
+ return 47;
1638
1433
  case 5:
1639
- return this.begin("open_directive"), 60;
1434
+ break;
1640
1435
  case 6:
1641
- return this.begin("type_directive"), 61;
1436
+ break;
1642
1437
  case 7:
1643
- return this.popState(), this.begin("arg_directive"), 48;
1438
+ return 5;
1644
1439
  case 8:
1645
- return this.popState(), this.popState(), 63;
1440
+ break;
1646
1441
  case 9:
1647
- return 62;
1442
+ break;
1648
1443
  case 10:
1649
1444
  break;
1650
1445
  case 11:
1651
1446
  break;
1652
1447
  case 12:
1653
- return 5;
1448
+ return this.pushState("SCALE"), 16;
1654
1449
  case 13:
1655
- break;
1450
+ return 17;
1656
1451
  case 14:
1452
+ this.popState();
1657
1453
  break;
1658
1454
  case 15:
1659
- break;
1455
+ return this.begin("acc_title"), 32;
1660
1456
  case 16:
1661
- break;
1457
+ return this.popState(), "acc_title_value";
1662
1458
  case 17:
1663
- return this.pushState("SCALE"), 17;
1459
+ return this.begin("acc_descr"), 34;
1664
1460
  case 18:
1665
- return 18;
1461
+ return this.popState(), "acc_descr_value";
1666
1462
  case 19:
1667
- this.popState();
1463
+ this.begin("acc_descr_multiline");
1668
1464
  break;
1669
1465
  case 20:
1670
- return this.begin("acc_title"), 33;
1466
+ this.popState();
1467
+ break;
1671
1468
  case 21:
1672
- return this.popState(), "acc_title_value";
1469
+ return "acc_descr_multiline_value";
1673
1470
  case 22:
1674
- return this.begin("acc_descr"), 35;
1471
+ return this.pushState("CLASSDEF"), 37;
1675
1472
  case 23:
1676
- return this.popState(), "acc_descr_value";
1473
+ return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
1677
1474
  case 24:
1678
- this.begin("acc_descr_multiline");
1679
- break;
1475
+ return this.popState(), this.pushState("CLASSDEFID"), 38;
1680
1476
  case 25:
1681
- this.popState();
1682
- break;
1477
+ return this.popState(), 39;
1683
1478
  case 26:
1684
- return "acc_descr_multiline_value";
1479
+ return this.pushState("CLASS"), 41;
1685
1480
  case 27:
1686
- return this.pushState("CLASSDEF"), 38;
1481
+ return this.popState(), this.pushState("CLASS_STYLE"), 42;
1687
1482
  case 28:
1688
- return this.popState(), this.pushState("CLASSDEFID"), "DEFAULT_CLASSDEF_ID";
1483
+ return this.popState(), 43;
1689
1484
  case 29:
1690
- return this.popState(), this.pushState("CLASSDEFID"), 39;
1485
+ return this.pushState("SCALE"), 16;
1691
1486
  case 30:
1692
- return this.popState(), 40;
1487
+ return 17;
1693
1488
  case 31:
1694
- return this.pushState("CLASS"), 42;
1489
+ this.popState();
1490
+ break;
1695
1491
  case 32:
1696
- return this.popState(), this.pushState("CLASS_STYLE"), 43;
1492
+ this.pushState("STATE");
1493
+ break;
1697
1494
  case 33:
1698
- return this.popState(), 44;
1495
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 24;
1699
1496
  case 34:
1700
- return this.pushState("SCALE"), 17;
1497
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 25;
1701
1498
  case 35:
1702
- return 18;
1499
+ return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 26;
1703
1500
  case 36:
1704
- this.popState();
1705
- break;
1501
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 24;
1706
1502
  case 37:
1707
- this.pushState("STATE");
1708
- break;
1709
- case 38:
1710
1503
  return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 25;
1504
+ case 38:
1505
+ return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 26;
1711
1506
  case 39:
1712
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 26;
1507
+ return 44;
1713
1508
  case 40:
1714
- return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 27;
1509
+ return 45;
1715
1510
  case 41:
1716
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 25;
1511
+ return 46;
1717
1512
  case 42:
1718
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 26;
1513
+ return 47;
1719
1514
  case 43:
1720
- return this.popState(), i.yytext = i.yytext.slice(0, -10).trim(), 27;
1515
+ this.pushState("STATE_STRING");
1516
+ break;
1721
1517
  case 44:
1722
- return 50;
1518
+ return this.pushState("STATE_ID"), "AS";
1723
1519
  case 45:
1724
- return 51;
1520
+ return this.popState(), "ID";
1725
1521
  case 46:
1726
- return 52;
1522
+ this.popState();
1523
+ break;
1727
1524
  case 47:
1728
- return 53;
1525
+ return "STATE_DESCR";
1729
1526
  case 48:
1730
- this.pushState("STATE_STRING");
1731
- break;
1527
+ return 18;
1732
1528
  case 49:
1733
- return this.pushState("STATE_ID"), "AS";
1529
+ this.popState();
1530
+ break;
1734
1531
  case 50:
1735
- return this.popState(), "ID";
1532
+ return this.popState(), this.pushState("struct"), 19;
1736
1533
  case 51:
1737
- this.popState();
1738
1534
  break;
1739
1535
  case 52:
1740
- return "STATE_DESCR";
1536
+ return this.popState(), 20;
1741
1537
  case 53:
1742
- return 19;
1743
- case 54:
1744
- this.popState();
1745
1538
  break;
1539
+ case 54:
1540
+ return this.begin("NOTE"), 28;
1746
1541
  case 55:
1747
- return this.popState(), this.pushState("struct"), 20;
1542
+ return this.popState(), this.pushState("NOTE_ID"), 52;
1748
1543
  case 56:
1749
- break;
1544
+ return this.popState(), this.pushState("NOTE_ID"), 53;
1750
1545
  case 57:
1751
- return this.popState(), 21;
1752
- case 58:
1546
+ this.popState(), this.pushState("FLOATING_NOTE");
1753
1547
  break;
1548
+ case 58:
1549
+ return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
1754
1550
  case 59:
1755
- return this.begin("NOTE"), 29;
1551
+ break;
1756
1552
  case 60:
1757
- return this.popState(), this.pushState("NOTE_ID"), 58;
1553
+ return "NOTE_TEXT";
1758
1554
  case 61:
1759
- return this.popState(), this.pushState("NOTE_ID"), 59;
1555
+ return this.popState(), "ID";
1760
1556
  case 62:
1761
- this.popState(), this.pushState("FLOATING_NOTE");
1762
- break;
1557
+ return this.popState(), this.pushState("NOTE_TEXT"), 23;
1763
1558
  case 63:
1764
- return this.popState(), this.pushState("FLOATING_NOTE_ID"), "AS";
1559
+ return this.popState(), i.yytext = i.yytext.substr(2).trim(), 30;
1765
1560
  case 64:
1766
- break;
1561
+ return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 30;
1767
1562
  case 65:
1768
- return "NOTE_TEXT";
1563
+ return 6;
1769
1564
  case 66:
1770
- return this.popState(), "ID";
1565
+ return 6;
1771
1566
  case 67:
1772
- return this.popState(), this.pushState("NOTE_TEXT"), 24;
1567
+ return 15;
1773
1568
  case 68:
1774
- return this.popState(), i.yytext = i.yytext.substr(2).trim(), 31;
1569
+ return 50;
1775
1570
  case 69:
1776
- return this.popState(), i.yytext = i.yytext.slice(0, -8).trim(), 31;
1571
+ return 23;
1777
1572
  case 70:
1778
- return 7;
1573
+ return i.yytext = i.yytext.trim(), 13;
1779
1574
  case 71:
1780
- return 7;
1575
+ return 14;
1781
1576
  case 72:
1782
- return 16;
1577
+ return 27;
1783
1578
  case 73:
1784
- return 56;
1579
+ return 51;
1785
1580
  case 74:
1786
- return 24;
1787
- case 75:
1788
- return i.yytext = i.yytext.trim(), 14;
1789
- case 76:
1790
- return 15;
1791
- case 77:
1792
- return 28;
1793
- case 78:
1794
- return 57;
1795
- case 79:
1796
1581
  return 5;
1797
- case 80:
1582
+ case 75:
1798
1583
  return "INVALID";
1799
1584
  }
1800
1585
  },
@@ -1804,11 +1589,6 @@ var mt = function() {
1804
1589
  /^(?:.*direction\s+BT[^\n]*)/i,
1805
1590
  /^(?:.*direction\s+RL[^\n]*)/i,
1806
1591
  /^(?:.*direction\s+LR[^\n]*)/i,
1807
- /^(?:%%\{)/i,
1808
- /^(?:((?:(?!\}%%)[^:.])*))/i,
1809
- /^(?::)/i,
1810
- /^(?:\}%%)/i,
1811
- /^(?:((?:(?!\}%%).|\n)*))/i,
1812
1592
  /^(?:%%(?!\{)[^\n]*)/i,
1813
1593
  /^(?:[^\}]%%[^\n]*)/i,
1814
1594
  /^(?:[\n]+)/i,
@@ -1884,152 +1664,119 @@ var mt = function() {
1884
1664
  conditions: {
1885
1665
  LINE: {
1886
1666
  rules: [
1887
- 14,
1888
- 15
1889
- ],
1890
- inclusive: !1
1891
- },
1892
- close_directive: {
1893
- rules: [
1894
- 14,
1895
- 15
1896
- ],
1897
- inclusive: !1
1898
- },
1899
- arg_directive: {
1900
- rules: [
1901
- 8,
1902
1667
  9,
1903
- 14,
1904
- 15
1905
- ],
1906
- inclusive: !1
1907
- },
1908
- type_directive: {
1909
- rules: [
1910
- 7,
1911
- 8,
1912
- 14,
1913
- 15
1914
- ],
1915
- inclusive: !1
1916
- },
1917
- open_directive: {
1918
- rules: [
1919
- 6,
1920
- 14,
1921
- 15
1668
+ 10
1922
1669
  ],
1923
1670
  inclusive: !1
1924
1671
  },
1925
1672
  struct: {
1926
1673
  rules: [
1927
- 14,
1928
- 15,
1929
- 27,
1930
- 31,
1931
- 37,
1932
- 44,
1933
- 45,
1934
- 46,
1935
- 47,
1936
- 56,
1937
- 57,
1938
- 58,
1939
- 59,
1940
- 73,
1941
- 74,
1942
- 75,
1943
- 76,
1944
- 77
1674
+ 9,
1675
+ 10,
1676
+ 22,
1677
+ 26,
1678
+ 32,
1679
+ 39,
1680
+ 40,
1681
+ 41,
1682
+ 42,
1683
+ 51,
1684
+ 52,
1685
+ 53,
1686
+ 54,
1687
+ 68,
1688
+ 69,
1689
+ 70,
1690
+ 71,
1691
+ 72
1945
1692
  ],
1946
1693
  inclusive: !1
1947
1694
  },
1948
1695
  FLOATING_NOTE_ID: {
1949
1696
  rules: [
1950
- 66
1697
+ 61
1951
1698
  ],
1952
1699
  inclusive: !1
1953
1700
  },
1954
1701
  FLOATING_NOTE: {
1955
1702
  rules: [
1956
- 63,
1957
- 64,
1958
- 65
1703
+ 58,
1704
+ 59,
1705
+ 60
1959
1706
  ],
1960
1707
  inclusive: !1
1961
1708
  },
1962
1709
  NOTE_TEXT: {
1963
1710
  rules: [
1964
- 68,
1965
- 69
1711
+ 63,
1712
+ 64
1966
1713
  ],
1967
1714
  inclusive: !1
1968
1715
  },
1969
1716
  NOTE_ID: {
1970
1717
  rules: [
1971
- 67
1718
+ 62
1972
1719
  ],
1973
1720
  inclusive: !1
1974
1721
  },
1975
1722
  NOTE: {
1976
1723
  rules: [
1977
- 60,
1978
- 61,
1979
- 62
1724
+ 55,
1725
+ 56,
1726
+ 57
1980
1727
  ],
1981
1728
  inclusive: !1
1982
1729
  },
1983
1730
  CLASS_STYLE: {
1984
1731
  rules: [
1985
- 33
1732
+ 28
1986
1733
  ],
1987
1734
  inclusive: !1
1988
1735
  },
1989
1736
  CLASS: {
1990
1737
  rules: [
1991
- 32
1738
+ 27
1992
1739
  ],
1993
1740
  inclusive: !1
1994
1741
  },
1995
1742
  CLASSDEFID: {
1996
1743
  rules: [
1997
- 30
1744
+ 25
1998
1745
  ],
1999
1746
  inclusive: !1
2000
1747
  },
2001
1748
  CLASSDEF: {
2002
1749
  rules: [
2003
- 28,
2004
- 29
1750
+ 23,
1751
+ 24
2005
1752
  ],
2006
1753
  inclusive: !1
2007
1754
  },
2008
1755
  acc_descr_multiline: {
2009
1756
  rules: [
2010
- 25,
2011
- 26
1757
+ 20,
1758
+ 21
2012
1759
  ],
2013
1760
  inclusive: !1
2014
1761
  },
2015
1762
  acc_descr: {
2016
1763
  rules: [
2017
- 23
1764
+ 18
2018
1765
  ],
2019
1766
  inclusive: !1
2020
1767
  },
2021
1768
  acc_title: {
2022
1769
  rules: [
2023
- 21
1770
+ 16
2024
1771
  ],
2025
1772
  inclusive: !1
2026
1773
  },
2027
1774
  SCALE: {
2028
1775
  rules: [
2029
- 18,
2030
- 19,
2031
- 35,
2032
- 36
1776
+ 13,
1777
+ 14,
1778
+ 30,
1779
+ 31
2033
1780
  ],
2034
1781
  inclusive: !1
2035
1782
  },
@@ -2039,14 +1786,14 @@ var mt = function() {
2039
1786
  },
2040
1787
  STATE_ID: {
2041
1788
  rules: [
2042
- 50
1789
+ 45
2043
1790
  ],
2044
1791
  inclusive: !1
2045
1792
  },
2046
1793
  STATE_STRING: {
2047
1794
  rules: [
2048
- 51,
2049
- 52
1795
+ 46,
1796
+ 47
2050
1797
  ],
2051
1798
  inclusive: !1
2052
1799
  },
@@ -2056,26 +1803,26 @@ var mt = function() {
2056
1803
  },
2057
1804
  STATE: {
2058
1805
  rules: [
2059
- 14,
2060
- 15,
1806
+ 9,
1807
+ 10,
1808
+ 33,
1809
+ 34,
1810
+ 35,
1811
+ 36,
1812
+ 37,
2061
1813
  38,
2062
- 39,
2063
- 40,
2064
- 41,
2065
- 42,
2066
1814
  43,
1815
+ 44,
2067
1816
  48,
2068
1817
  49,
2069
- 53,
2070
- 54,
2071
- 55
1818
+ 50
2072
1819
  ],
2073
1820
  inclusive: !1
2074
1821
  },
2075
1822
  ID: {
2076
1823
  rules: [
2077
- 14,
2078
- 15
1824
+ 9,
1825
+ 10
2079
1826
  ],
2080
1827
  inclusive: !1
2081
1828
  },
@@ -2087,101 +1834,98 @@ var mt = function() {
2087
1834
  3,
2088
1835
  4,
2089
1836
  5,
1837
+ 6,
1838
+ 7,
1839
+ 8,
2090
1840
  10,
2091
1841
  11,
2092
1842
  12,
2093
- 13,
2094
1843
  15,
2095
- 16,
2096
1844
  17,
2097
- 20,
1845
+ 19,
2098
1846
  22,
2099
- 24,
2100
- 27,
2101
- 31,
2102
- 34,
2103
- 37,
2104
- 55,
2105
- 59,
1847
+ 26,
1848
+ 29,
1849
+ 32,
1850
+ 50,
1851
+ 54,
1852
+ 65,
1853
+ 66,
1854
+ 67,
1855
+ 68,
1856
+ 69,
2106
1857
  70,
2107
1858
  71,
2108
- 72,
2109
1859
  73,
2110
1860
  74,
2111
- 75,
2112
- 76,
2113
- 78,
2114
- 79,
2115
- 80
1861
+ 75
2116
1862
  ],
2117
1863
  inclusive: !0
2118
1864
  }
2119
1865
  }
2120
1866
  };
2121
- return D;
1867
+ return C;
2122
1868
  }();
2123
- dt.lexer = Ut;
2124
- function ft() {
1869
+ ht.lexer = Yt;
1870
+ function ut() {
2125
1871
  this.yy = {};
2126
1872
  }
2127
- return ft.prototype = dt, dt.Parser = ft, new ft();
1873
+ return ut.prototype = ht, ht.Parser = ut, new ut();
2128
1874
  }();
2129
- mt.parser = mt;
2130
- var Ie = mt, ee = "LR", Oe = "TB", Tt = "state", Rt = "relation", se = "classDef", ie = "applyClass", xt = "default", re = "divider", vt = "[*]", wt = "start", Bt = vt, $t = "end", It = "color", Ot = "fill", ne = "bgFill", ae = ",";
2131
- function Pt() {
1875
+ gt.parser = gt;
1876
+ var De = gt, qt = "LR", Ce = "TB", _t = "state", It = "relation", Qt = "classDef", Zt = "applyClass", Et = "default", te = "divider", bt = "[*]", Ot = "start", Nt = bt, Rt = "end", At = "color", Lt = "fill", ee = "bgFill", se = ",";
1877
+ function wt() {
2132
1878
  return {};
2133
1879
  }
2134
- var Vt = ee, lt = [], P = Pt();
2135
- var Ft = function() {
1880
+ var $t = qt, lt = [], P = wt();
1881
+ var Bt = function() {
2136
1882
  return {
2137
1883
  relations: [],
2138
1884
  states: {},
2139
1885
  documents: {}
2140
1886
  };
2141
1887
  };
2142
- var ot = {
2143
- root: Ft()
2144
- }, g = ot.root, V = 0, Nt = 0;
2145
- var ce = {
1888
+ var ct = {
1889
+ root: Bt()
1890
+ }, g = ct.root, F = 0, vt = 0;
1891
+ var ie = {
2146
1892
  LINE: 0,
2147
1893
  DOTTED_LINE: 1
2148
- }, le = {
1894
+ }, re = {
2149
1895
  AGGREGATION: 0,
2150
1896
  EXTENSION: 1,
2151
1897
  COMPOSITION: 2,
2152
1898
  DEPENDENCY: 3
2153
- }, at = function(t) {
1899
+ }, nt = function(t) {
2154
1900
  return JSON.parse(JSON.stringify(t));
2155
- }, oe = function oe(t, s, n) {
2156
- index.de.parseDirective(this, t, s, n);
2157
- }, he = function(t) {
2158
- index.S.info("Setting root doc", t), lt = t;
2159
- }, ue = function() {
1901
+ }, ne = function(t) {
1902
+ index.L.info("Setting root doc", t), lt = t;
1903
+ }, ae = function() {
2160
1904
  return lt;
2161
- }, ct = function(t, s, n) {
2162
- if (s.stmt === Rt) ct(t, s.state1, !0), ct(t, s.state2, !1);
2163
- else if (s.stmt === Tt && (s.id === "[*]" ? (s.id = n ? t.id + "_start" : t.id + "_end", s.start = n) : s.id = s.id.trim()), s.doc) {
1905
+ }, at = function(t, s, a) {
1906
+ if (s.stmt === It) at(t, s.state1, !0), at(t, s.state2, !1);
1907
+ else if (s.stmt === _t && (s.id === "[*]" ? (s.id = a ? t.id + "_start" : t.id + "_end", s.start = a) : s.id = s.id.trim()), s.doc) {
2164
1908
  var h = [];
2165
- var u = [], f;
2166
- for(f = 0; f < s.doc.length; f++)if (s.doc[f].type === re) {
2167
- var p = at(s.doc[f]);
2168
- p.doc = at(u), h.push(p), u = [];
2169
- } else u.push(s.doc[f]);
2170
- if (h.length > 0 && u.length > 0) {
2171
- var p1 = {
2172
- stmt: Tt,
2173
- id: index.w0(),
1909
+ var f = [], d;
1910
+ for(d = 0; d < s.doc.length; d++)if (s.doc[d].type === te) {
1911
+ var y = nt(s.doc[d]);
1912
+ y.doc = nt(f), h.push(y), f = [];
1913
+ } else f.push(s.doc[d]);
1914
+ if (h.length > 0 && f.length > 0) {
1915
+ var y1 = {
1916
+ stmt: _t,
1917
+ id: index.F0(),
2174
1918
  type: "divider",
2175
- doc: at(u)
1919
+ doc: nt(f)
2176
1920
  };
2177
- h.push(at(p1)), s.doc = h;
1921
+ h.push(nt(y1)), s.doc = h;
2178
1922
  }
2179
- s.doc.forEach(function(p) {
2180
- return ct(s, p, !0);
1923
+ s.doc.forEach(function(y) {
1924
+ return at(s, y, !0);
2181
1925
  });
2182
1926
  }
2183
- }, de = function() {
2184
- return ct({
1927
+ }, le = function() {
1928
+ return at({
2185
1929
  id: "root"
2186
1930
  }, {
2187
1931
  id: "root",
@@ -2190,188 +1934,187 @@ var ce = {
2190
1934
  id: "root",
2191
1935
  doc: lt
2192
1936
  };
2193
- }, fe = function(t) {
1937
+ }, ce = function(t) {
2194
1938
  var s;
2195
- t.doc ? s = t.doc : s = t, index.S.info(s), Yt(!0), index.S.info("Extract", s), s.forEach(function(n) {
2196
- switch(n.stmt){
2197
- case Tt:
2198
- I(n.id.trim(), n.type, n.doc, n.description, n.note, n.classes, n.styles, n.textStyles);
1939
+ t.doc ? s = t.doc : s = t, index.L.info(s), Pt(!0), index.L.info("Extract", s), s.forEach(function(a) {
1940
+ switch(a.stmt){
1941
+ case _t:
1942
+ I(a.id.trim(), a.type, a.doc, a.description, a.note, a.classes, a.styles, a.textStyles);
2199
1943
  break;
2200
- case Rt:
2201
- Gt(n.state1, n.state2, n.description);
1944
+ case It:
1945
+ Ft(a.state1, a.state2, a.description);
2202
1946
  break;
2203
- case se:
2204
- jt(n.id.trim(), n.classes);
1947
+ case Qt:
1948
+ Vt(a.id.trim(), a.classes);
2205
1949
  break;
2206
- case ie:
2207
- Dt(n.id.trim(), n.styleClass);
1950
+ case Zt:
1951
+ xt(a.id.trim(), a.styleClass);
2208
1952
  break;
2209
1953
  }
2210
1954
  });
2211
1955
  }, I = function I(t) {
2212
- var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xt, n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, h = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null, u = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : null, f = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : null, p = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : null, v = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : null;
2213
- var d = t == null ? void 0 : t.trim();
2214
- g.states[d] === void 0 ? (index.S.info("Adding state ", d, h), g.states[d] = {
2215
- id: d,
1956
+ var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Et, a = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : null, h = arguments.length > 3 && arguments[3] !== void 0 ? arguments[3] : null, f = arguments.length > 4 && arguments[4] !== void 0 ? arguments[4] : null, d = arguments.length > 5 && arguments[5] !== void 0 ? arguments[5] : null, y = arguments.length > 6 && arguments[6] !== void 0 ? arguments[6] : null, k = arguments.length > 7 && arguments[7] !== void 0 ? arguments[7] : null;
1957
+ var u = t == null ? void 0 : t.trim();
1958
+ g.states[u] === void 0 ? (index.L.info("Adding state ", u, h), g.states[u] = {
1959
+ id: u,
2216
1960
  descriptions: [],
2217
1961
  type: s,
2218
- doc: n,
2219
- note: u,
1962
+ doc: a,
1963
+ note: f,
2220
1964
  classes: [],
2221
1965
  styles: [],
2222
1966
  textStyles: []
2223
- }) : (g.states[d].doc || (g.states[d].doc = n), g.states[d].type || (g.states[d].type = s)), h && (index.S.info("Setting state description", d, h), typeof h == "string" && Et(d, h.trim()), typeof h == "object" && h.forEach(function(k) {
2224
- return Et(d, k.trim());
2225
- })), u && (g.states[d].note = u, g.states[d].note.text = index.Bn.sanitizeText(g.states[d].note.text, index.Ut())), f && (index.S.info("Setting state classes", d, f), (typeof f == "string" ? [
2226
- f
2227
- ] : f).forEach(function(T) {
2228
- return Dt(d, T.trim());
2229
- })), p && (index.S.info("Setting state styles", d, p), (typeof p == "string" ? [
2230
- p
2231
- ] : p).forEach(function(T) {
2232
- return Ee(d, T.trim());
2233
- })), v && (index.S.info("Setting state styles", d, p), (typeof v == "string" ? [
2234
- v
2235
- ] : v).forEach(function(T) {
2236
- return xe(d, T.trim());
1967
+ }) : (g.states[u].doc || (g.states[u].doc = a), g.states[u].type || (g.states[u].type = s)), h && (index.L.info("Setting state description", u, h), typeof h == "string" && kt(u, h.trim()), typeof h == "object" && h.forEach(function(E) {
1968
+ return kt(u, E.trim());
1969
+ })), f && (g.states[u].note = f, g.states[u].note.text = index.$n.sanitizeText(g.states[u].note.text, index.Vn())), d && (index.L.info("Setting state classes", u, d), (typeof d == "string" ? [
1970
+ d
1971
+ ] : d).forEach(function(T) {
1972
+ return xt(u, T.trim());
1973
+ })), y && (index.L.info("Setting state styles", u, y), (typeof y == "string" ? [
1974
+ y
1975
+ ] : y).forEach(function(T) {
1976
+ return _e(u, T.trim());
1977
+ })), k && (index.L.info("Setting state styles", u, y), (typeof k == "string" ? [
1978
+ k
1979
+ ] : k).forEach(function(T) {
1980
+ return me(u, T.trim());
2237
1981
  }));
2238
- }, Yt = function Yt(t) {
2239
- ot = {
2240
- root: Ft()
2241
- }, g = ot.root, V = 0, P = Pt(), t || index.Fa();
2242
- }, F = function F(t) {
1982
+ }, Pt = function Pt(t) {
1983
+ ct = {
1984
+ root: Bt()
1985
+ }, g = ct.root, F = 0, P = wt(), t || index.B_();
1986
+ }, V = function V(t) {
2243
1987
  return g.states[t];
2244
- }, pe = function pe() {
1988
+ }, oe = function oe() {
2245
1989
  return g.states;
2246
- }, ye = function ye() {
2247
- index.S.info("Documents = ", ot);
2248
- }, Se = function Se() {
1990
+ }, he = function he() {
1991
+ index.L.info("Documents = ", ct);
1992
+ }, ue = function ue() {
2249
1993
  return g.relations;
2250
1994
  };
2251
- function kt() {
1995
+ function mt() {
2252
1996
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
2253
1997
  var s = t;
2254
- return t === vt && (V++, s = "".concat(wt).concat(V)), s;
1998
+ return t === bt && (F++, s = "".concat(Ot).concat(F)), s;
2255
1999
  }
2256
- function bt() {
2257
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xt;
2258
- return t === vt ? wt : s;
2000
+ function Tt() {
2001
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Et;
2002
+ return t === bt ? Ot : s;
2259
2003
  }
2260
- function ge() {
2004
+ function fe() {
2261
2005
  var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "";
2262
2006
  var s = t;
2263
- return t === Bt && (V++, s = "".concat($t).concat(V)), s;
2007
+ return t === Nt && (F++, s = "".concat(Rt).concat(F)), s;
2264
2008
  }
2265
- function _e() {
2266
- var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : xt;
2267
- return t === Bt ? $t : s;
2009
+ function de() {
2010
+ var t = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : "", s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : Et;
2011
+ return t === Nt ? Rt : s;
2268
2012
  }
2269
- function me(t, s, n) {
2270
- var h = kt(t.id.trim()), u = bt(t.id.trim(), t.type), f = kt(s.id.trim()), p = bt(s.id.trim(), s.type);
2271
- I(h, u, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), I(f, p, s.doc, s.description, s.note, s.classes, s.styles, s.textStyles), g.relations.push({
2013
+ function ye(t, s, a) {
2014
+ var h = mt(t.id.trim()), f = Tt(t.id.trim(), t.type), d = mt(s.id.trim()), y = Tt(s.id.trim(), s.type);
2015
+ I(h, f, t.doc, t.description, t.note, t.classes, t.styles, t.textStyles), I(d, y, s.doc, s.description, s.note, s.classes, s.styles, s.textStyles), g.relations.push({
2272
2016
  id1: h,
2273
- id2: f,
2274
- relationTitle: index.Bn.sanitizeText(n, index.Ut())
2017
+ id2: d,
2018
+ relationTitle: index.$n.sanitizeText(a, index.Vn())
2275
2019
  });
2276
2020
  }
2277
- var Gt = function Gt(t, s, n) {
2278
- if (typeof t == "object") me(t, s, n);
2021
+ var Ft = function Ft(t, s, a) {
2022
+ if (typeof t == "object") ye(t, s, a);
2279
2023
  else {
2280
- var h = kt(t.trim()), u = bt(t), f = ge(s.trim()), p = _e(s);
2281
- I(h, u), I(f, p), g.relations.push({
2024
+ var h = mt(t.trim()), f = Tt(t), d = fe(s.trim()), y = de(s);
2025
+ I(h, f), I(d, y), g.relations.push({
2282
2026
  id1: h,
2283
- id2: f,
2284
- title: index.Bn.sanitizeText(n, index.Ut())
2027
+ id2: d,
2028
+ title: index.$n.sanitizeText(a, index.Vn())
2285
2029
  });
2286
2030
  }
2287
- }, Et = function Et(t, s) {
2288
- var n = g.states[t], h = s.startsWith(":") ? s.replace(":", "").trim() : s;
2289
- n.descriptions.push(index.Bn.sanitizeText(h, index.Ut()));
2290
- }, Te = function Te(t) {
2031
+ }, kt = function kt(t, s) {
2032
+ var a = g.states[t], h = s.startsWith(":") ? s.replace(":", "").trim() : s;
2033
+ a.descriptions.push(index.$n.sanitizeText(h, index.Vn()));
2034
+ }, pe = function pe(t) {
2291
2035
  return t.substring(0, 1) === ":" ? t.substr(2).trim() : t.trim();
2292
- }, ke = function() {
2293
- return Nt++, "divider-id-" + Nt;
2294
- }, jt = function jt(t) {
2036
+ }, Se = function() {
2037
+ return vt++, "divider-id-" + vt;
2038
+ }, Vt = function Vt(t) {
2295
2039
  var s = arguments.length > 1 && arguments[1] !== void 0 ? arguments[1] : "";
2296
2040
  P[t] === void 0 && (P[t] = {
2297
2041
  id: t,
2298
2042
  styles: [],
2299
2043
  textStyles: []
2300
2044
  });
2301
- var n = P[t];
2302
- s != null && s.split(ae).forEach(function(h) {
2303
- var u = h.replace(/([^;]*);/, "$1").trim();
2304
- if (h.match(It)) {
2305
- var p = u.replace(Ot, ne).replace(It, Ot);
2306
- n.textStyles.push(p);
2045
+ var a = P[t];
2046
+ s != null && s.split(se).forEach(function(h) {
2047
+ var f = h.replace(/([^;]*);/, "$1").trim();
2048
+ if (h.match(At)) {
2049
+ var y = f.replace(Lt, ee).replace(At, Lt);
2050
+ a.textStyles.push(y);
2307
2051
  }
2308
- n.styles.push(u);
2052
+ a.styles.push(f);
2309
2053
  });
2310
- }, be = function be() {
2054
+ }, ge = function ge() {
2311
2055
  return P;
2312
- }, Dt = function Dt(t, s) {
2313
- t.split(",").forEach(function(n) {
2314
- var h = F(n);
2056
+ }, xt = function xt(t, s) {
2057
+ t.split(",").forEach(function(a) {
2058
+ var h = V(a);
2315
2059
  if (h === void 0) {
2316
- var u = n.trim();
2317
- I(u), h = F(u);
2060
+ var f = a.trim();
2061
+ I(f), h = V(f);
2318
2062
  }
2319
2063
  h.classes.push(s);
2320
2064
  });
2321
- }, Ee = function Ee(t, s) {
2322
- var n = F(t);
2323
- n !== void 0 && n.textStyles.push(s);
2324
- }, xe = function xe(t, s) {
2325
- var n = F(t);
2326
- n !== void 0 && n.textStyles.push(s);
2327
- }, ve = function() {
2328
- return Vt;
2329
- }, De = function(t) {
2330
- Vt = t;
2331
- }, Ce = function(t) {
2065
+ }, _e = function _e(t, s) {
2066
+ var a = V(t);
2067
+ a !== void 0 && a.textStyles.push(s);
2068
+ }, me = function me(t, s) {
2069
+ var a = V(t);
2070
+ a !== void 0 && a.textStyles.push(s);
2071
+ }, Te = function() {
2072
+ return $t;
2073
+ }, ke = function(t) {
2074
+ $t = t;
2075
+ }, Ee = function(t) {
2332
2076
  return t && t[0] === ":" ? t.substr(1).trim() : t.trim();
2333
- }, Ne = {
2334
- parseDirective: oe,
2077
+ }, Ae = {
2335
2078
  getConfig: function() {
2336
- return index.Ut().state;
2079
+ return index.Vn().state;
2337
2080
  },
2338
2081
  addState: I,
2339
- clear: Yt,
2340
- getState: F,
2341
- getStates: pe,
2342
- getRelations: Se,
2343
- getClasses: be,
2344
- getDirection: ve,
2345
- addRelation: Gt,
2346
- getDividerId: ke,
2347
- setDirection: De,
2348
- cleanupLabel: Te,
2349
- lineType: ce,
2350
- relationType: le,
2351
- logDocuments: ye,
2352
- getRootDoc: ue,
2353
- setRootDoc: he,
2354
- getRootDocV2: de,
2355
- extract: fe,
2356
- trimColon: Ce,
2357
- getAccTitle: index.Aa,
2358
- setAccTitle: index.La,
2359
- getAccDescription: index.Ma,
2360
- setAccDescription: index.Ea,
2361
- addStyleClass: jt,
2362
- setCssClass: Dt,
2363
- addDescription: Et,
2364
- setDiagramTitle: index.Oa,
2365
- getDiagramTitle: index.Ia
2366
- }, Ae = function(t) {
2082
+ clear: Pt,
2083
+ getState: V,
2084
+ getStates: oe,
2085
+ getRelations: ue,
2086
+ getClasses: ge,
2087
+ getDirection: Te,
2088
+ addRelation: Ft,
2089
+ getDividerId: Se,
2090
+ setDirection: ke,
2091
+ cleanupLabel: pe,
2092
+ lineType: ie,
2093
+ relationType: re,
2094
+ logDocuments: he,
2095
+ getRootDoc: ae,
2096
+ setRootDoc: ne,
2097
+ getRootDocV2: le,
2098
+ extract: ce,
2099
+ trimColon: Ee,
2100
+ getAccTitle: index.A_,
2101
+ setAccTitle: index.F_,
2102
+ getAccDescription: index.E_,
2103
+ setAccDescription: index.L_,
2104
+ addStyleClass: Vt,
2105
+ setCssClass: xt,
2106
+ addDescription: kt,
2107
+ setDiagramTitle: index.M_,
2108
+ getDiagramTitle: index.O_
2109
+ }, be = function(t) {
2367
2110
  return "\ndefs #statediagram-barbEnd {\n fill: ".concat(t.transitionColor, ";\n stroke: ").concat(t.transitionColor, ";\n }\ng.stateGroup text {\n fill: ").concat(t.nodeBorder, ";\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ").concat(t.textColor, ";\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ").concat(t.stateLabelColor, ";\n}\n\ng.stateGroup rect {\n fill: ").concat(t.mainBkg, ";\n stroke: ").concat(t.nodeBorder, ";\n}\n\ng.stateGroup line {\n stroke: ").concat(t.lineColor, ";\n stroke-width: 1;\n}\n\n.transition {\n stroke: ").concat(t.transitionColor, ";\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ").concat(t.background, ";\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ").concat(t.noteBorderColor, ";\n fill: ").concat(t.noteBkgColor, ";\n\n text {\n fill: ").concat(t.noteTextColor, ";\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ").concat(t.mainBkg, ";\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ").concat(t.labelBackgroundColor, ";\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ").concat(t.transitionLabelColor || t.tertiaryTextColor, ";\n}\n.label div .edgeLabel {\n color: ").concat(t.transitionLabelColor || t.tertiaryTextColor, ";\n}\n\n.stateLabel text {\n fill: ").concat(t.stateLabelColor, ";\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ").concat(t.specialStateColor, ";\n stroke: ").concat(t.specialStateColor, ";\n}\n\n.node .fork-join {\n fill: ").concat(t.specialStateColor, ";\n stroke: ").concat(t.specialStateColor, ";\n}\n\n.node circle.state-end {\n fill: ").concat(t.innerEndBackground, ";\n stroke: ").concat(t.background, ";\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ").concat(t.compositeBackground || t.background, ";\n // stroke: ").concat(t.background, ";\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ").concat(t.stateBkg || t.mainBkg, ";\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";\n stroke-width: 1px;\n}\n.node polygon {\n fill: ").concat(t.mainBkg, ";\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ").concat(t.lineColor, ";\n}\n\n.statediagram-cluster rect {\n fill: ").concat(t.compositeTitleBackground, ";\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ").concat(t.stateLabelColor, ";\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ").concat(t.stateBorder || t.nodeBorder, ";\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ").concat(t.compositeBackground || t.background, ";\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ").concat(t.altBackground ? t.altBackground : "#efefef", ";\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ").concat(t.altBackground ? t.altBackground : "#efefef", ";\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ").concat(t.noteBkgColor, ";\n stroke: ").concat(t.noteBorderColor, ";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ").concat(t.noteBkgColor, ";\n stroke: ").concat(t.noteBorderColor, ";\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ").concat(t.noteTextColor, ";\n}\n\n.statediagram-note .nodeLabel {\n color: ").concat(t.noteTextColor, ";\n}\n.statediagram .edgeLabel {\n color: red; // ").concat(t.noteTextColor, ";\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ").concat(t.lineColor, ";\n stroke: ").concat(t.lineColor, ";\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ").concat(t.textColor, ";\n}\n");
2368
- }, Re = Ae;
2111
+ }, Le = be;
2369
2112
 
2370
- exports.Ie = Ie;
2371
- exports.Ne = Ne;
2372
- exports.Oe = Oe;
2373
- exports.Re = Re;
2374
- exports.Rt = Rt;
2375
- exports.Tt = Tt;
2376
- exports.re = re;
2377
- exports.xt = xt;
2113
+ exports.Ae = Ae;
2114
+ exports.Ce = Ce;
2115
+ exports.De = De;
2116
+ exports.Et = Et;
2117
+ exports.It = It;
2118
+ exports.Le = Le;
2119
+ exports._t = _t;
2120
+ exports.te = te;