@digipair/skill-web-chatbot 0.91.0-0 → 0.92.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,3820 @@
1
+ 'use strict';
2
+
3
+ var index = require('./index.cjs2.js');
4
+
5
+ function _define_property(obj, key, value) {
6
+ if (key in obj) {
7
+ Object.defineProperty(obj, key, {
8
+ value: value,
9
+ enumerable: true,
10
+ configurable: true,
11
+ writable: true
12
+ });
13
+ } else {
14
+ obj[key] = value;
15
+ }
16
+ return obj;
17
+ }
18
+ function _instanceof(left, right) {
19
+ if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
20
+ return !!right[Symbol.hasInstance](left);
21
+ } else {
22
+ return left instanceof right;
23
+ }
24
+ }
25
+ function _object_spread(target) {
26
+ for(var i = 1; i < arguments.length; i++){
27
+ var source = arguments[i] != null ? arguments[i] : {};
28
+ var ownKeys = Object.keys(source);
29
+ if (typeof Object.getOwnPropertySymbols === "function") {
30
+ ownKeys = ownKeys.concat(Object.getOwnPropertySymbols(source).filter(function(sym) {
31
+ return Object.getOwnPropertyDescriptor(source, sym).enumerable;
32
+ }));
33
+ }
34
+ ownKeys.forEach(function(key) {
35
+ _define_property(target, key, source[key]);
36
+ });
37
+ }
38
+ return target;
39
+ }
40
+ function ownKeys(object, enumerableOnly) {
41
+ var keys = Object.keys(object);
42
+ if (Object.getOwnPropertySymbols) {
43
+ var symbols = Object.getOwnPropertySymbols(object);
44
+ if (enumerableOnly) {
45
+ symbols = symbols.filter(function(sym) {
46
+ return Object.getOwnPropertyDescriptor(object, sym).enumerable;
47
+ });
48
+ }
49
+ keys.push.apply(keys, symbols);
50
+ }
51
+ return keys;
52
+ }
53
+ function _object_spread_props(target, source) {
54
+ source = source != null ? source : {};
55
+ if (Object.getOwnPropertyDescriptors) {
56
+ Object.defineProperties(target, Object.getOwnPropertyDescriptors(source));
57
+ } else {
58
+ ownKeys(Object(source)).forEach(function(key) {
59
+ Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
60
+ });
61
+ }
62
+ return target;
63
+ }
64
+ function _type_of(obj) {
65
+ "@swc/helpers - typeof";
66
+ return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
67
+ }
68
+ var me = function() {
69
+ var r = function r(G, o, u, d) {
70
+ for(u = u || {}, d = G.length; d--; u[G[d]] = o);
71
+ return u;
72
+ }, n = [
73
+ 1,
74
+ 3
75
+ ], l = [
76
+ 1,
77
+ 6
78
+ ], h = [
79
+ 1,
80
+ 4
81
+ ], i = [
82
+ 1,
83
+ 5
84
+ ], c = [
85
+ 2,
86
+ 5
87
+ ], p = [
88
+ 1,
89
+ 12
90
+ ], m = [
91
+ 5,
92
+ 7,
93
+ 13,
94
+ 19,
95
+ 21,
96
+ 23,
97
+ 24,
98
+ 26,
99
+ 28,
100
+ 31,
101
+ 37,
102
+ 40,
103
+ 47
104
+ ], x = [
105
+ 7,
106
+ 13,
107
+ 19,
108
+ 21,
109
+ 23,
110
+ 24,
111
+ 26,
112
+ 28,
113
+ 31,
114
+ 37,
115
+ 40
116
+ ], y = [
117
+ 7,
118
+ 12,
119
+ 13,
120
+ 19,
121
+ 21,
122
+ 23,
123
+ 24,
124
+ 26,
125
+ 28,
126
+ 31,
127
+ 37,
128
+ 40
129
+ ], a = [
130
+ 7,
131
+ 13,
132
+ 47
133
+ ], R = [
134
+ 1,
135
+ 42
136
+ ], _ = [
137
+ 1,
138
+ 41
139
+ ], b = [
140
+ 7,
141
+ 13,
142
+ 29,
143
+ 32,
144
+ 35,
145
+ 38,
146
+ 47
147
+ ], f = [
148
+ 1,
149
+ 55
150
+ ], k = [
151
+ 1,
152
+ 56
153
+ ], g = [
154
+ 1,
155
+ 57
156
+ ], E = [
157
+ 7,
158
+ 13,
159
+ 32,
160
+ 35,
161
+ 42,
162
+ 47
163
+ ], z = {
164
+ trace: function trace() {},
165
+ yy: {},
166
+ symbols_: {
167
+ error: 2,
168
+ start: 3,
169
+ eol: 4,
170
+ GG: 5,
171
+ document: 6,
172
+ EOF: 7,
173
+ ":": 8,
174
+ DIR: 9,
175
+ options: 10,
176
+ body: 11,
177
+ OPT: 12,
178
+ NL: 13,
179
+ line: 14,
180
+ statement: 15,
181
+ commitStatement: 16,
182
+ mergeStatement: 17,
183
+ cherryPickStatement: 18,
184
+ acc_title: 19,
185
+ acc_title_value: 20,
186
+ acc_descr: 21,
187
+ acc_descr_value: 22,
188
+ acc_descr_multiline_value: 23,
189
+ section: 24,
190
+ branchStatement: 25,
191
+ CHECKOUT: 26,
192
+ ref: 27,
193
+ BRANCH: 28,
194
+ ORDER: 29,
195
+ NUM: 30,
196
+ CHERRY_PICK: 31,
197
+ COMMIT_ID: 32,
198
+ STR: 33,
199
+ PARENT_COMMIT: 34,
200
+ COMMIT_TAG: 35,
201
+ EMPTYSTR: 36,
202
+ MERGE: 37,
203
+ COMMIT_TYPE: 38,
204
+ commitType: 39,
205
+ COMMIT: 40,
206
+ commit_arg: 41,
207
+ COMMIT_MSG: 42,
208
+ NORMAL: 43,
209
+ REVERSE: 44,
210
+ HIGHLIGHT: 45,
211
+ ID: 46,
212
+ ";": 47,
213
+ $accept: 0,
214
+ $end: 1
215
+ },
216
+ terminals_: {
217
+ 2: "error",
218
+ 5: "GG",
219
+ 7: "EOF",
220
+ 8: ":",
221
+ 9: "DIR",
222
+ 12: "OPT",
223
+ 13: "NL",
224
+ 19: "acc_title",
225
+ 20: "acc_title_value",
226
+ 21: "acc_descr",
227
+ 22: "acc_descr_value",
228
+ 23: "acc_descr_multiline_value",
229
+ 24: "section",
230
+ 26: "CHECKOUT",
231
+ 28: "BRANCH",
232
+ 29: "ORDER",
233
+ 30: "NUM",
234
+ 31: "CHERRY_PICK",
235
+ 32: "COMMIT_ID",
236
+ 33: "STR",
237
+ 34: "PARENT_COMMIT",
238
+ 35: "COMMIT_TAG",
239
+ 36: "EMPTYSTR",
240
+ 37: "MERGE",
241
+ 38: "COMMIT_TYPE",
242
+ 40: "COMMIT",
243
+ 42: "COMMIT_MSG",
244
+ 43: "NORMAL",
245
+ 44: "REVERSE",
246
+ 45: "HIGHLIGHT",
247
+ 46: "ID",
248
+ 47: ";"
249
+ },
250
+ productions_: [
251
+ 0,
252
+ [
253
+ 3,
254
+ 2
255
+ ],
256
+ [
257
+ 3,
258
+ 3
259
+ ],
260
+ [
261
+ 3,
262
+ 4
263
+ ],
264
+ [
265
+ 3,
266
+ 5
267
+ ],
268
+ [
269
+ 6,
270
+ 0
271
+ ],
272
+ [
273
+ 6,
274
+ 2
275
+ ],
276
+ [
277
+ 10,
278
+ 2
279
+ ],
280
+ [
281
+ 10,
282
+ 1
283
+ ],
284
+ [
285
+ 11,
286
+ 0
287
+ ],
288
+ [
289
+ 11,
290
+ 2
291
+ ],
292
+ [
293
+ 14,
294
+ 2
295
+ ],
296
+ [
297
+ 14,
298
+ 1
299
+ ],
300
+ [
301
+ 15,
302
+ 1
303
+ ],
304
+ [
305
+ 15,
306
+ 1
307
+ ],
308
+ [
309
+ 15,
310
+ 1
311
+ ],
312
+ [
313
+ 15,
314
+ 2
315
+ ],
316
+ [
317
+ 15,
318
+ 2
319
+ ],
320
+ [
321
+ 15,
322
+ 1
323
+ ],
324
+ [
325
+ 15,
326
+ 1
327
+ ],
328
+ [
329
+ 15,
330
+ 1
331
+ ],
332
+ [
333
+ 15,
334
+ 2
335
+ ],
336
+ [
337
+ 25,
338
+ 2
339
+ ],
340
+ [
341
+ 25,
342
+ 4
343
+ ],
344
+ [
345
+ 18,
346
+ 3
347
+ ],
348
+ [
349
+ 18,
350
+ 5
351
+ ],
352
+ [
353
+ 18,
354
+ 5
355
+ ],
356
+ [
357
+ 18,
358
+ 7
359
+ ],
360
+ [
361
+ 18,
362
+ 7
363
+ ],
364
+ [
365
+ 18,
366
+ 5
367
+ ],
368
+ [
369
+ 18,
370
+ 5
371
+ ],
372
+ [
373
+ 18,
374
+ 5
375
+ ],
376
+ [
377
+ 18,
378
+ 7
379
+ ],
380
+ [
381
+ 18,
382
+ 7
383
+ ],
384
+ [
385
+ 18,
386
+ 7
387
+ ],
388
+ [
389
+ 18,
390
+ 7
391
+ ],
392
+ [
393
+ 17,
394
+ 2
395
+ ],
396
+ [
397
+ 17,
398
+ 4
399
+ ],
400
+ [
401
+ 17,
402
+ 4
403
+ ],
404
+ [
405
+ 17,
406
+ 4
407
+ ],
408
+ [
409
+ 17,
410
+ 6
411
+ ],
412
+ [
413
+ 17,
414
+ 6
415
+ ],
416
+ [
417
+ 17,
418
+ 6
419
+ ],
420
+ [
421
+ 17,
422
+ 6
423
+ ],
424
+ [
425
+ 17,
426
+ 6
427
+ ],
428
+ [
429
+ 17,
430
+ 6
431
+ ],
432
+ [
433
+ 17,
434
+ 8
435
+ ],
436
+ [
437
+ 17,
438
+ 8
439
+ ],
440
+ [
441
+ 17,
442
+ 8
443
+ ],
444
+ [
445
+ 17,
446
+ 8
447
+ ],
448
+ [
449
+ 17,
450
+ 8
451
+ ],
452
+ [
453
+ 17,
454
+ 8
455
+ ],
456
+ [
457
+ 16,
458
+ 2
459
+ ],
460
+ [
461
+ 16,
462
+ 3
463
+ ],
464
+ [
465
+ 16,
466
+ 3
467
+ ],
468
+ [
469
+ 16,
470
+ 5
471
+ ],
472
+ [
473
+ 16,
474
+ 5
475
+ ],
476
+ [
477
+ 16,
478
+ 3
479
+ ],
480
+ [
481
+ 16,
482
+ 5
483
+ ],
484
+ [
485
+ 16,
486
+ 5
487
+ ],
488
+ [
489
+ 16,
490
+ 5
491
+ ],
492
+ [
493
+ 16,
494
+ 5
495
+ ],
496
+ [
497
+ 16,
498
+ 7
499
+ ],
500
+ [
501
+ 16,
502
+ 7
503
+ ],
504
+ [
505
+ 16,
506
+ 7
507
+ ],
508
+ [
509
+ 16,
510
+ 7
511
+ ],
512
+ [
513
+ 16,
514
+ 7
515
+ ],
516
+ [
517
+ 16,
518
+ 7
519
+ ],
520
+ [
521
+ 16,
522
+ 3
523
+ ],
524
+ [
525
+ 16,
526
+ 5
527
+ ],
528
+ [
529
+ 16,
530
+ 5
531
+ ],
532
+ [
533
+ 16,
534
+ 5
535
+ ],
536
+ [
537
+ 16,
538
+ 5
539
+ ],
540
+ [
541
+ 16,
542
+ 5
543
+ ],
544
+ [
545
+ 16,
546
+ 5
547
+ ],
548
+ [
549
+ 16,
550
+ 7
551
+ ],
552
+ [
553
+ 16,
554
+ 7
555
+ ],
556
+ [
557
+ 16,
558
+ 7
559
+ ],
560
+ [
561
+ 16,
562
+ 7
563
+ ],
564
+ [
565
+ 16,
566
+ 7
567
+ ],
568
+ [
569
+ 16,
570
+ 7
571
+ ],
572
+ [
573
+ 16,
574
+ 7
575
+ ],
576
+ [
577
+ 16,
578
+ 7
579
+ ],
580
+ [
581
+ 16,
582
+ 7
583
+ ],
584
+ [
585
+ 16,
586
+ 7
587
+ ],
588
+ [
589
+ 16,
590
+ 7
591
+ ],
592
+ [
593
+ 16,
594
+ 7
595
+ ],
596
+ [
597
+ 16,
598
+ 7
599
+ ],
600
+ [
601
+ 16,
602
+ 7
603
+ ],
604
+ [
605
+ 16,
606
+ 7
607
+ ],
608
+ [
609
+ 16,
610
+ 7
611
+ ],
612
+ [
613
+ 16,
614
+ 7
615
+ ],
616
+ [
617
+ 16,
618
+ 7
619
+ ],
620
+ [
621
+ 16,
622
+ 9
623
+ ],
624
+ [
625
+ 16,
626
+ 9
627
+ ],
628
+ [
629
+ 16,
630
+ 9
631
+ ],
632
+ [
633
+ 16,
634
+ 9
635
+ ],
636
+ [
637
+ 16,
638
+ 9
639
+ ],
640
+ [
641
+ 16,
642
+ 9
643
+ ],
644
+ [
645
+ 16,
646
+ 9
647
+ ],
648
+ [
649
+ 16,
650
+ 9
651
+ ],
652
+ [
653
+ 16,
654
+ 9
655
+ ],
656
+ [
657
+ 16,
658
+ 9
659
+ ],
660
+ [
661
+ 16,
662
+ 9
663
+ ],
664
+ [
665
+ 16,
666
+ 9
667
+ ],
668
+ [
669
+ 16,
670
+ 9
671
+ ],
672
+ [
673
+ 16,
674
+ 9
675
+ ],
676
+ [
677
+ 16,
678
+ 9
679
+ ],
680
+ [
681
+ 16,
682
+ 9
683
+ ],
684
+ [
685
+ 16,
686
+ 9
687
+ ],
688
+ [
689
+ 16,
690
+ 9
691
+ ],
692
+ [
693
+ 16,
694
+ 9
695
+ ],
696
+ [
697
+ 16,
698
+ 9
699
+ ],
700
+ [
701
+ 16,
702
+ 9
703
+ ],
704
+ [
705
+ 16,
706
+ 9
707
+ ],
708
+ [
709
+ 16,
710
+ 9
711
+ ],
712
+ [
713
+ 16,
714
+ 9
715
+ ],
716
+ [
717
+ 41,
718
+ 0
719
+ ],
720
+ [
721
+ 41,
722
+ 1
723
+ ],
724
+ [
725
+ 39,
726
+ 1
727
+ ],
728
+ [
729
+ 39,
730
+ 1
731
+ ],
732
+ [
733
+ 39,
734
+ 1
735
+ ],
736
+ [
737
+ 27,
738
+ 1
739
+ ],
740
+ [
741
+ 27,
742
+ 1
743
+ ],
744
+ [
745
+ 4,
746
+ 1
747
+ ],
748
+ [
749
+ 4,
750
+ 1
751
+ ],
752
+ [
753
+ 4,
754
+ 1
755
+ ]
756
+ ],
757
+ performAction: function performAction(o, u, d, s, T, e, X) {
758
+ var t = e.length - 1;
759
+ switch(T){
760
+ case 2:
761
+ return e[t];
762
+ case 3:
763
+ return e[t - 1];
764
+ case 4:
765
+ return s.setDirection(e[t - 3]), e[t - 1];
766
+ case 6:
767
+ s.setOptions(e[t - 1]), this.$ = e[t];
768
+ break;
769
+ case 7:
770
+ e[t - 1] += e[t], this.$ = e[t - 1];
771
+ break;
772
+ case 9:
773
+ this.$ = [];
774
+ break;
775
+ case 10:
776
+ e[t - 1].push(e[t]), this.$ = e[t - 1];
777
+ break;
778
+ case 11:
779
+ this.$ = e[t - 1];
780
+ break;
781
+ case 16:
782
+ this.$ = e[t].trim(), s.setAccTitle(this.$);
783
+ break;
784
+ case 17:
785
+ case 18:
786
+ this.$ = e[t].trim(), s.setAccDescription(this.$);
787
+ break;
788
+ case 19:
789
+ s.addSection(e[t].substr(8)), this.$ = e[t].substr(8);
790
+ break;
791
+ case 21:
792
+ s.checkout(e[t]);
793
+ break;
794
+ case 22:
795
+ s.branch(e[t]);
796
+ break;
797
+ case 23:
798
+ s.branch(e[t - 2], e[t]);
799
+ break;
800
+ case 24:
801
+ s.cherryPick(e[t], "", void 0);
802
+ break;
803
+ case 25:
804
+ s.cherryPick(e[t - 2], "", void 0, e[t]);
805
+ break;
806
+ case 26:
807
+ s.cherryPick(e[t - 2], "", e[t]);
808
+ break;
809
+ case 27:
810
+ s.cherryPick(e[t - 4], "", e[t], e[t - 2]);
811
+ break;
812
+ case 28:
813
+ s.cherryPick(e[t - 4], "", e[t - 2], e[t]);
814
+ break;
815
+ case 29:
816
+ s.cherryPick(e[t], "", e[t - 2]);
817
+ break;
818
+ case 30:
819
+ s.cherryPick(e[t], "", "");
820
+ break;
821
+ case 31:
822
+ s.cherryPick(e[t - 2], "", "");
823
+ break;
824
+ case 32:
825
+ s.cherryPick(e[t - 4], "", "", e[t - 2]);
826
+ break;
827
+ case 33:
828
+ s.cherryPick(e[t - 4], "", "", e[t]);
829
+ break;
830
+ case 34:
831
+ s.cherryPick(e[t - 2], "", e[t - 4], e[t]);
832
+ break;
833
+ case 35:
834
+ s.cherryPick(e[t - 2], "", "", e[t]);
835
+ break;
836
+ case 36:
837
+ s.merge(e[t], "", "", "");
838
+ break;
839
+ case 37:
840
+ s.merge(e[t - 2], e[t], "", "");
841
+ break;
842
+ case 38:
843
+ s.merge(e[t - 2], "", e[t], "");
844
+ break;
845
+ case 39:
846
+ s.merge(e[t - 2], "", "", e[t]);
847
+ break;
848
+ case 40:
849
+ s.merge(e[t - 4], e[t], "", e[t - 2]);
850
+ break;
851
+ case 41:
852
+ s.merge(e[t - 4], "", e[t], e[t - 2]);
853
+ break;
854
+ case 42:
855
+ s.merge(e[t - 4], "", e[t - 2], e[t]);
856
+ break;
857
+ case 43:
858
+ s.merge(e[t - 4], e[t - 2], e[t], "");
859
+ break;
860
+ case 44:
861
+ s.merge(e[t - 4], e[t - 2], "", e[t]);
862
+ break;
863
+ case 45:
864
+ s.merge(e[t - 4], e[t], e[t - 2], "");
865
+ break;
866
+ case 46:
867
+ s.merge(e[t - 6], e[t - 4], e[t - 2], e[t]);
868
+ break;
869
+ case 47:
870
+ s.merge(e[t - 6], e[t], e[t - 4], e[t - 2]);
871
+ break;
872
+ case 48:
873
+ s.merge(e[t - 6], e[t - 4], e[t], e[t - 2]);
874
+ break;
875
+ case 49:
876
+ s.merge(e[t - 6], e[t - 2], e[t - 4], e[t]);
877
+ break;
878
+ case 50:
879
+ s.merge(e[t - 6], e[t], e[t - 2], e[t - 4]);
880
+ break;
881
+ case 51:
882
+ s.merge(e[t - 6], e[t - 2], e[t], e[t - 4]);
883
+ break;
884
+ case 52:
885
+ s.commit(e[t]);
886
+ break;
887
+ case 53:
888
+ s.commit("", "", s.commitType.NORMAL, e[t]);
889
+ break;
890
+ case 54:
891
+ s.commit("", "", e[t], "");
892
+ break;
893
+ case 55:
894
+ s.commit("", "", e[t], e[t - 2]);
895
+ break;
896
+ case 56:
897
+ s.commit("", "", e[t - 2], e[t]);
898
+ break;
899
+ case 57:
900
+ s.commit("", e[t], s.commitType.NORMAL, "");
901
+ break;
902
+ case 58:
903
+ s.commit("", e[t - 2], s.commitType.NORMAL, e[t]);
904
+ break;
905
+ case 59:
906
+ s.commit("", e[t], s.commitType.NORMAL, e[t - 2]);
907
+ break;
908
+ case 60:
909
+ s.commit("", e[t - 2], e[t], "");
910
+ break;
911
+ case 61:
912
+ s.commit("", e[t], e[t - 2], "");
913
+ break;
914
+ case 62:
915
+ s.commit("", e[t - 4], e[t - 2], e[t]);
916
+ break;
917
+ case 63:
918
+ s.commit("", e[t - 4], e[t], e[t - 2]);
919
+ break;
920
+ case 64:
921
+ s.commit("", e[t - 2], e[t - 4], e[t]);
922
+ break;
923
+ case 65:
924
+ s.commit("", e[t], e[t - 4], e[t - 2]);
925
+ break;
926
+ case 66:
927
+ s.commit("", e[t], e[t - 2], e[t - 4]);
928
+ break;
929
+ case 67:
930
+ s.commit("", e[t - 2], e[t], e[t - 4]);
931
+ break;
932
+ case 68:
933
+ s.commit(e[t], "", s.commitType.NORMAL, "");
934
+ break;
935
+ case 69:
936
+ s.commit(e[t], "", s.commitType.NORMAL, e[t - 2]);
937
+ break;
938
+ case 70:
939
+ s.commit(e[t - 2], "", s.commitType.NORMAL, e[t]);
940
+ break;
941
+ case 71:
942
+ s.commit(e[t - 2], "", e[t], "");
943
+ break;
944
+ case 72:
945
+ s.commit(e[t], "", e[t - 2], "");
946
+ break;
947
+ case 73:
948
+ s.commit(e[t], e[t - 2], s.commitType.NORMAL, "");
949
+ break;
950
+ case 74:
951
+ s.commit(e[t - 2], e[t], s.commitType.NORMAL, "");
952
+ break;
953
+ case 75:
954
+ s.commit(e[t - 4], "", e[t - 2], e[t]);
955
+ break;
956
+ case 76:
957
+ s.commit(e[t - 4], "", e[t], e[t - 2]);
958
+ break;
959
+ case 77:
960
+ s.commit(e[t - 2], "", e[t - 4], e[t]);
961
+ break;
962
+ case 78:
963
+ s.commit(e[t], "", e[t - 4], e[t - 2]);
964
+ break;
965
+ case 79:
966
+ s.commit(e[t], "", e[t - 2], e[t - 4]);
967
+ break;
968
+ case 80:
969
+ s.commit(e[t - 2], "", e[t], e[t - 4]);
970
+ break;
971
+ case 81:
972
+ s.commit(e[t - 4], e[t], e[t - 2], "");
973
+ break;
974
+ case 82:
975
+ s.commit(e[t - 4], e[t - 2], e[t], "");
976
+ break;
977
+ case 83:
978
+ s.commit(e[t - 2], e[t], e[t - 4], "");
979
+ break;
980
+ case 84:
981
+ s.commit(e[t], e[t - 2], e[t - 4], "");
982
+ break;
983
+ case 85:
984
+ s.commit(e[t], e[t - 4], e[t - 2], "");
985
+ break;
986
+ case 86:
987
+ s.commit(e[t - 2], e[t - 4], e[t], "");
988
+ break;
989
+ case 87:
990
+ s.commit(e[t - 4], e[t], s.commitType.NORMAL, e[t - 2]);
991
+ break;
992
+ case 88:
993
+ s.commit(e[t - 4], e[t - 2], s.commitType.NORMAL, e[t]);
994
+ break;
995
+ case 89:
996
+ s.commit(e[t - 2], e[t], s.commitType.NORMAL, e[t - 4]);
997
+ break;
998
+ case 90:
999
+ s.commit(e[t], e[t - 2], s.commitType.NORMAL, e[t - 4]);
1000
+ break;
1001
+ case 91:
1002
+ s.commit(e[t], e[t - 4], s.commitType.NORMAL, e[t - 2]);
1003
+ break;
1004
+ case 92:
1005
+ s.commit(e[t - 2], e[t - 4], s.commitType.NORMAL, e[t]);
1006
+ break;
1007
+ case 93:
1008
+ s.commit(e[t - 6], e[t - 4], e[t - 2], e[t]);
1009
+ break;
1010
+ case 94:
1011
+ s.commit(e[t - 6], e[t - 4], e[t], e[t - 2]);
1012
+ break;
1013
+ case 95:
1014
+ s.commit(e[t - 6], e[t - 2], e[t - 4], e[t]);
1015
+ break;
1016
+ case 96:
1017
+ s.commit(e[t - 6], e[t], e[t - 4], e[t - 2]);
1018
+ break;
1019
+ case 97:
1020
+ s.commit(e[t - 6], e[t - 2], e[t], e[t - 4]);
1021
+ break;
1022
+ case 98:
1023
+ s.commit(e[t - 6], e[t], e[t - 2], e[t - 4]);
1024
+ break;
1025
+ case 99:
1026
+ s.commit(e[t - 4], e[t - 6], e[t - 2], e[t]);
1027
+ break;
1028
+ case 100:
1029
+ s.commit(e[t - 4], e[t - 6], e[t], e[t - 2]);
1030
+ break;
1031
+ case 101:
1032
+ s.commit(e[t - 2], e[t - 6], e[t - 4], e[t]);
1033
+ break;
1034
+ case 102:
1035
+ s.commit(e[t], e[t - 6], e[t - 4], e[t - 2]);
1036
+ break;
1037
+ case 103:
1038
+ s.commit(e[t - 2], e[t - 6], e[t], e[t - 4]);
1039
+ break;
1040
+ case 104:
1041
+ s.commit(e[t], e[t - 6], e[t - 2], e[t - 4]);
1042
+ break;
1043
+ case 105:
1044
+ s.commit(e[t], e[t - 4], e[t - 2], e[t - 6]);
1045
+ break;
1046
+ case 106:
1047
+ s.commit(e[t - 2], e[t - 4], e[t], e[t - 6]);
1048
+ break;
1049
+ case 107:
1050
+ s.commit(e[t], e[t - 2], e[t - 4], e[t - 6]);
1051
+ break;
1052
+ case 108:
1053
+ s.commit(e[t - 2], e[t], e[t - 4], e[t - 6]);
1054
+ break;
1055
+ case 109:
1056
+ s.commit(e[t - 4], e[t - 2], e[t], e[t - 6]);
1057
+ break;
1058
+ case 110:
1059
+ s.commit(e[t - 4], e[t], e[t - 2], e[t - 6]);
1060
+ break;
1061
+ case 111:
1062
+ s.commit(e[t - 2], e[t - 4], e[t - 6], e[t]);
1063
+ break;
1064
+ case 112:
1065
+ s.commit(e[t], e[t - 4], e[t - 6], e[t - 2]);
1066
+ break;
1067
+ case 113:
1068
+ s.commit(e[t - 2], e[t], e[t - 6], e[t - 4]);
1069
+ break;
1070
+ case 114:
1071
+ s.commit(e[t], e[t - 2], e[t - 6], e[t - 4]);
1072
+ break;
1073
+ case 115:
1074
+ s.commit(e[t - 4], e[t - 2], e[t - 6], e[t]);
1075
+ break;
1076
+ case 116:
1077
+ s.commit(e[t - 4], e[t], e[t - 6], e[t - 2]);
1078
+ break;
1079
+ case 117:
1080
+ this.$ = "";
1081
+ break;
1082
+ case 118:
1083
+ this.$ = e[t];
1084
+ break;
1085
+ case 119:
1086
+ this.$ = s.commitType.NORMAL;
1087
+ break;
1088
+ case 120:
1089
+ this.$ = s.commitType.REVERSE;
1090
+ break;
1091
+ case 121:
1092
+ this.$ = s.commitType.HIGHLIGHT;
1093
+ break;
1094
+ }
1095
+ },
1096
+ table: [
1097
+ {
1098
+ 3: 1,
1099
+ 4: 2,
1100
+ 5: n,
1101
+ 7: l,
1102
+ 13: h,
1103
+ 47: i
1104
+ },
1105
+ {
1106
+ 1: [
1107
+ 3
1108
+ ]
1109
+ },
1110
+ {
1111
+ 3: 7,
1112
+ 4: 2,
1113
+ 5: n,
1114
+ 7: l,
1115
+ 13: h,
1116
+ 47: i
1117
+ },
1118
+ {
1119
+ 6: 8,
1120
+ 7: c,
1121
+ 8: [
1122
+ 1,
1123
+ 9
1124
+ ],
1125
+ 9: [
1126
+ 1,
1127
+ 10
1128
+ ],
1129
+ 10: 11,
1130
+ 13: p
1131
+ },
1132
+ r(m, [
1133
+ 2,
1134
+ 124
1135
+ ]),
1136
+ r(m, [
1137
+ 2,
1138
+ 125
1139
+ ]),
1140
+ r(m, [
1141
+ 2,
1142
+ 126
1143
+ ]),
1144
+ {
1145
+ 1: [
1146
+ 2,
1147
+ 1
1148
+ ]
1149
+ },
1150
+ {
1151
+ 7: [
1152
+ 1,
1153
+ 13
1154
+ ]
1155
+ },
1156
+ {
1157
+ 6: 14,
1158
+ 7: c,
1159
+ 10: 11,
1160
+ 13: p
1161
+ },
1162
+ {
1163
+ 8: [
1164
+ 1,
1165
+ 15
1166
+ ]
1167
+ },
1168
+ r(x, [
1169
+ 2,
1170
+ 9
1171
+ ], {
1172
+ 11: 16,
1173
+ 12: [
1174
+ 1,
1175
+ 17
1176
+ ]
1177
+ }),
1178
+ r(y, [
1179
+ 2,
1180
+ 8
1181
+ ]),
1182
+ {
1183
+ 1: [
1184
+ 2,
1185
+ 2
1186
+ ]
1187
+ },
1188
+ {
1189
+ 7: [
1190
+ 1,
1191
+ 18
1192
+ ]
1193
+ },
1194
+ {
1195
+ 6: 19,
1196
+ 7: c,
1197
+ 10: 11,
1198
+ 13: p
1199
+ },
1200
+ {
1201
+ 7: [
1202
+ 2,
1203
+ 6
1204
+ ],
1205
+ 13: [
1206
+ 1,
1207
+ 22
1208
+ ],
1209
+ 14: 20,
1210
+ 15: 21,
1211
+ 16: 23,
1212
+ 17: 24,
1213
+ 18: 25,
1214
+ 19: [
1215
+ 1,
1216
+ 26
1217
+ ],
1218
+ 21: [
1219
+ 1,
1220
+ 27
1221
+ ],
1222
+ 23: [
1223
+ 1,
1224
+ 28
1225
+ ],
1226
+ 24: [
1227
+ 1,
1228
+ 29
1229
+ ],
1230
+ 25: 30,
1231
+ 26: [
1232
+ 1,
1233
+ 31
1234
+ ],
1235
+ 28: [
1236
+ 1,
1237
+ 35
1238
+ ],
1239
+ 31: [
1240
+ 1,
1241
+ 34
1242
+ ],
1243
+ 37: [
1244
+ 1,
1245
+ 33
1246
+ ],
1247
+ 40: [
1248
+ 1,
1249
+ 32
1250
+ ]
1251
+ },
1252
+ r(y, [
1253
+ 2,
1254
+ 7
1255
+ ]),
1256
+ {
1257
+ 1: [
1258
+ 2,
1259
+ 3
1260
+ ]
1261
+ },
1262
+ {
1263
+ 7: [
1264
+ 1,
1265
+ 36
1266
+ ]
1267
+ },
1268
+ r(x, [
1269
+ 2,
1270
+ 10
1271
+ ]),
1272
+ {
1273
+ 4: 37,
1274
+ 7: l,
1275
+ 13: h,
1276
+ 47: i
1277
+ },
1278
+ r(x, [
1279
+ 2,
1280
+ 12
1281
+ ]),
1282
+ r(a, [
1283
+ 2,
1284
+ 13
1285
+ ]),
1286
+ r(a, [
1287
+ 2,
1288
+ 14
1289
+ ]),
1290
+ r(a, [
1291
+ 2,
1292
+ 15
1293
+ ]),
1294
+ {
1295
+ 20: [
1296
+ 1,
1297
+ 38
1298
+ ]
1299
+ },
1300
+ {
1301
+ 22: [
1302
+ 1,
1303
+ 39
1304
+ ]
1305
+ },
1306
+ r(a, [
1307
+ 2,
1308
+ 18
1309
+ ]),
1310
+ r(a, [
1311
+ 2,
1312
+ 19
1313
+ ]),
1314
+ r(a, [
1315
+ 2,
1316
+ 20
1317
+ ]),
1318
+ {
1319
+ 27: 40,
1320
+ 33: R,
1321
+ 46: _
1322
+ },
1323
+ r(a, [
1324
+ 2,
1325
+ 117
1326
+ ], {
1327
+ 41: 43,
1328
+ 32: [
1329
+ 1,
1330
+ 46
1331
+ ],
1332
+ 33: [
1333
+ 1,
1334
+ 48
1335
+ ],
1336
+ 35: [
1337
+ 1,
1338
+ 44
1339
+ ],
1340
+ 38: [
1341
+ 1,
1342
+ 45
1343
+ ],
1344
+ 42: [
1345
+ 1,
1346
+ 47
1347
+ ]
1348
+ }),
1349
+ {
1350
+ 27: 49,
1351
+ 33: R,
1352
+ 46: _
1353
+ },
1354
+ {
1355
+ 32: [
1356
+ 1,
1357
+ 50
1358
+ ],
1359
+ 35: [
1360
+ 1,
1361
+ 51
1362
+ ]
1363
+ },
1364
+ {
1365
+ 27: 52,
1366
+ 33: R,
1367
+ 46: _
1368
+ },
1369
+ {
1370
+ 1: [
1371
+ 2,
1372
+ 4
1373
+ ]
1374
+ },
1375
+ r(x, [
1376
+ 2,
1377
+ 11
1378
+ ]),
1379
+ r(a, [
1380
+ 2,
1381
+ 16
1382
+ ]),
1383
+ r(a, [
1384
+ 2,
1385
+ 17
1386
+ ]),
1387
+ r(a, [
1388
+ 2,
1389
+ 21
1390
+ ]),
1391
+ r(b, [
1392
+ 2,
1393
+ 122
1394
+ ]),
1395
+ r(b, [
1396
+ 2,
1397
+ 123
1398
+ ]),
1399
+ r(a, [
1400
+ 2,
1401
+ 52
1402
+ ]),
1403
+ {
1404
+ 33: [
1405
+ 1,
1406
+ 53
1407
+ ]
1408
+ },
1409
+ {
1410
+ 39: 54,
1411
+ 43: f,
1412
+ 44: k,
1413
+ 45: g
1414
+ },
1415
+ {
1416
+ 33: [
1417
+ 1,
1418
+ 58
1419
+ ]
1420
+ },
1421
+ {
1422
+ 33: [
1423
+ 1,
1424
+ 59
1425
+ ]
1426
+ },
1427
+ r(a, [
1428
+ 2,
1429
+ 118
1430
+ ]),
1431
+ r(a, [
1432
+ 2,
1433
+ 36
1434
+ ], {
1435
+ 32: [
1436
+ 1,
1437
+ 60
1438
+ ],
1439
+ 35: [
1440
+ 1,
1441
+ 62
1442
+ ],
1443
+ 38: [
1444
+ 1,
1445
+ 61
1446
+ ]
1447
+ }),
1448
+ {
1449
+ 33: [
1450
+ 1,
1451
+ 63
1452
+ ]
1453
+ },
1454
+ {
1455
+ 33: [
1456
+ 1,
1457
+ 64
1458
+ ],
1459
+ 36: [
1460
+ 1,
1461
+ 65
1462
+ ]
1463
+ },
1464
+ r(a, [
1465
+ 2,
1466
+ 22
1467
+ ], {
1468
+ 29: [
1469
+ 1,
1470
+ 66
1471
+ ]
1472
+ }),
1473
+ r(a, [
1474
+ 2,
1475
+ 53
1476
+ ], {
1477
+ 32: [
1478
+ 1,
1479
+ 68
1480
+ ],
1481
+ 38: [
1482
+ 1,
1483
+ 67
1484
+ ],
1485
+ 42: [
1486
+ 1,
1487
+ 69
1488
+ ]
1489
+ }),
1490
+ r(a, [
1491
+ 2,
1492
+ 54
1493
+ ], {
1494
+ 32: [
1495
+ 1,
1496
+ 71
1497
+ ],
1498
+ 35: [
1499
+ 1,
1500
+ 70
1501
+ ],
1502
+ 42: [
1503
+ 1,
1504
+ 72
1505
+ ]
1506
+ }),
1507
+ r(E, [
1508
+ 2,
1509
+ 119
1510
+ ]),
1511
+ r(E, [
1512
+ 2,
1513
+ 120
1514
+ ]),
1515
+ r(E, [
1516
+ 2,
1517
+ 121
1518
+ ]),
1519
+ r(a, [
1520
+ 2,
1521
+ 57
1522
+ ], {
1523
+ 35: [
1524
+ 1,
1525
+ 73
1526
+ ],
1527
+ 38: [
1528
+ 1,
1529
+ 74
1530
+ ],
1531
+ 42: [
1532
+ 1,
1533
+ 75
1534
+ ]
1535
+ }),
1536
+ r(a, [
1537
+ 2,
1538
+ 68
1539
+ ], {
1540
+ 32: [
1541
+ 1,
1542
+ 78
1543
+ ],
1544
+ 35: [
1545
+ 1,
1546
+ 76
1547
+ ],
1548
+ 38: [
1549
+ 1,
1550
+ 77
1551
+ ]
1552
+ }),
1553
+ {
1554
+ 33: [
1555
+ 1,
1556
+ 79
1557
+ ]
1558
+ },
1559
+ {
1560
+ 39: 80,
1561
+ 43: f,
1562
+ 44: k,
1563
+ 45: g
1564
+ },
1565
+ {
1566
+ 33: [
1567
+ 1,
1568
+ 81
1569
+ ]
1570
+ },
1571
+ r(a, [
1572
+ 2,
1573
+ 24
1574
+ ], {
1575
+ 34: [
1576
+ 1,
1577
+ 82
1578
+ ],
1579
+ 35: [
1580
+ 1,
1581
+ 83
1582
+ ]
1583
+ }),
1584
+ {
1585
+ 32: [
1586
+ 1,
1587
+ 84
1588
+ ]
1589
+ },
1590
+ {
1591
+ 32: [
1592
+ 1,
1593
+ 85
1594
+ ]
1595
+ },
1596
+ {
1597
+ 30: [
1598
+ 1,
1599
+ 86
1600
+ ]
1601
+ },
1602
+ {
1603
+ 39: 87,
1604
+ 43: f,
1605
+ 44: k,
1606
+ 45: g
1607
+ },
1608
+ {
1609
+ 33: [
1610
+ 1,
1611
+ 88
1612
+ ]
1613
+ },
1614
+ {
1615
+ 33: [
1616
+ 1,
1617
+ 89
1618
+ ]
1619
+ },
1620
+ {
1621
+ 33: [
1622
+ 1,
1623
+ 90
1624
+ ]
1625
+ },
1626
+ {
1627
+ 33: [
1628
+ 1,
1629
+ 91
1630
+ ]
1631
+ },
1632
+ {
1633
+ 33: [
1634
+ 1,
1635
+ 92
1636
+ ]
1637
+ },
1638
+ {
1639
+ 33: [
1640
+ 1,
1641
+ 93
1642
+ ]
1643
+ },
1644
+ {
1645
+ 39: 94,
1646
+ 43: f,
1647
+ 44: k,
1648
+ 45: g
1649
+ },
1650
+ {
1651
+ 33: [
1652
+ 1,
1653
+ 95
1654
+ ]
1655
+ },
1656
+ {
1657
+ 33: [
1658
+ 1,
1659
+ 96
1660
+ ]
1661
+ },
1662
+ {
1663
+ 39: 97,
1664
+ 43: f,
1665
+ 44: k,
1666
+ 45: g
1667
+ },
1668
+ {
1669
+ 33: [
1670
+ 1,
1671
+ 98
1672
+ ]
1673
+ },
1674
+ r(a, [
1675
+ 2,
1676
+ 37
1677
+ ], {
1678
+ 35: [
1679
+ 1,
1680
+ 100
1681
+ ],
1682
+ 38: [
1683
+ 1,
1684
+ 99
1685
+ ]
1686
+ }),
1687
+ r(a, [
1688
+ 2,
1689
+ 38
1690
+ ], {
1691
+ 32: [
1692
+ 1,
1693
+ 102
1694
+ ],
1695
+ 35: [
1696
+ 1,
1697
+ 101
1698
+ ]
1699
+ }),
1700
+ r(a, [
1701
+ 2,
1702
+ 39
1703
+ ], {
1704
+ 32: [
1705
+ 1,
1706
+ 103
1707
+ ],
1708
+ 38: [
1709
+ 1,
1710
+ 104
1711
+ ]
1712
+ }),
1713
+ {
1714
+ 33: [
1715
+ 1,
1716
+ 105
1717
+ ]
1718
+ },
1719
+ {
1720
+ 33: [
1721
+ 1,
1722
+ 106
1723
+ ],
1724
+ 36: [
1725
+ 1,
1726
+ 107
1727
+ ]
1728
+ },
1729
+ {
1730
+ 33: [
1731
+ 1,
1732
+ 108
1733
+ ]
1734
+ },
1735
+ {
1736
+ 33: [
1737
+ 1,
1738
+ 109
1739
+ ]
1740
+ },
1741
+ r(a, [
1742
+ 2,
1743
+ 23
1744
+ ]),
1745
+ r(a, [
1746
+ 2,
1747
+ 55
1748
+ ], {
1749
+ 32: [
1750
+ 1,
1751
+ 110
1752
+ ],
1753
+ 42: [
1754
+ 1,
1755
+ 111
1756
+ ]
1757
+ }),
1758
+ r(a, [
1759
+ 2,
1760
+ 59
1761
+ ], {
1762
+ 38: [
1763
+ 1,
1764
+ 112
1765
+ ],
1766
+ 42: [
1767
+ 1,
1768
+ 113
1769
+ ]
1770
+ }),
1771
+ r(a, [
1772
+ 2,
1773
+ 69
1774
+ ], {
1775
+ 32: [
1776
+ 1,
1777
+ 115
1778
+ ],
1779
+ 38: [
1780
+ 1,
1781
+ 114
1782
+ ]
1783
+ }),
1784
+ r(a, [
1785
+ 2,
1786
+ 56
1787
+ ], {
1788
+ 32: [
1789
+ 1,
1790
+ 116
1791
+ ],
1792
+ 42: [
1793
+ 1,
1794
+ 117
1795
+ ]
1796
+ }),
1797
+ r(a, [
1798
+ 2,
1799
+ 61
1800
+ ], {
1801
+ 35: [
1802
+ 1,
1803
+ 118
1804
+ ],
1805
+ 42: [
1806
+ 1,
1807
+ 119
1808
+ ]
1809
+ }),
1810
+ r(a, [
1811
+ 2,
1812
+ 72
1813
+ ], {
1814
+ 32: [
1815
+ 1,
1816
+ 121
1817
+ ],
1818
+ 35: [
1819
+ 1,
1820
+ 120
1821
+ ]
1822
+ }),
1823
+ r(a, [
1824
+ 2,
1825
+ 58
1826
+ ], {
1827
+ 38: [
1828
+ 1,
1829
+ 122
1830
+ ],
1831
+ 42: [
1832
+ 1,
1833
+ 123
1834
+ ]
1835
+ }),
1836
+ r(a, [
1837
+ 2,
1838
+ 60
1839
+ ], {
1840
+ 35: [
1841
+ 1,
1842
+ 124
1843
+ ],
1844
+ 42: [
1845
+ 1,
1846
+ 125
1847
+ ]
1848
+ }),
1849
+ r(a, [
1850
+ 2,
1851
+ 73
1852
+ ], {
1853
+ 35: [
1854
+ 1,
1855
+ 127
1856
+ ],
1857
+ 38: [
1858
+ 1,
1859
+ 126
1860
+ ]
1861
+ }),
1862
+ r(a, [
1863
+ 2,
1864
+ 70
1865
+ ], {
1866
+ 32: [
1867
+ 1,
1868
+ 129
1869
+ ],
1870
+ 38: [
1871
+ 1,
1872
+ 128
1873
+ ]
1874
+ }),
1875
+ r(a, [
1876
+ 2,
1877
+ 71
1878
+ ], {
1879
+ 32: [
1880
+ 1,
1881
+ 131
1882
+ ],
1883
+ 35: [
1884
+ 1,
1885
+ 130
1886
+ ]
1887
+ }),
1888
+ r(a, [
1889
+ 2,
1890
+ 74
1891
+ ], {
1892
+ 35: [
1893
+ 1,
1894
+ 133
1895
+ ],
1896
+ 38: [
1897
+ 1,
1898
+ 132
1899
+ ]
1900
+ }),
1901
+ {
1902
+ 39: 134,
1903
+ 43: f,
1904
+ 44: k,
1905
+ 45: g
1906
+ },
1907
+ {
1908
+ 33: [
1909
+ 1,
1910
+ 135
1911
+ ]
1912
+ },
1913
+ {
1914
+ 33: [
1915
+ 1,
1916
+ 136
1917
+ ]
1918
+ },
1919
+ {
1920
+ 33: [
1921
+ 1,
1922
+ 137
1923
+ ]
1924
+ },
1925
+ {
1926
+ 33: [
1927
+ 1,
1928
+ 138
1929
+ ]
1930
+ },
1931
+ {
1932
+ 39: 139,
1933
+ 43: f,
1934
+ 44: k,
1935
+ 45: g
1936
+ },
1937
+ r(a, [
1938
+ 2,
1939
+ 25
1940
+ ], {
1941
+ 35: [
1942
+ 1,
1943
+ 140
1944
+ ]
1945
+ }),
1946
+ r(a, [
1947
+ 2,
1948
+ 26
1949
+ ], {
1950
+ 34: [
1951
+ 1,
1952
+ 141
1953
+ ]
1954
+ }),
1955
+ r(a, [
1956
+ 2,
1957
+ 31
1958
+ ], {
1959
+ 34: [
1960
+ 1,
1961
+ 142
1962
+ ]
1963
+ }),
1964
+ r(a, [
1965
+ 2,
1966
+ 29
1967
+ ], {
1968
+ 34: [
1969
+ 1,
1970
+ 143
1971
+ ]
1972
+ }),
1973
+ r(a, [
1974
+ 2,
1975
+ 30
1976
+ ], {
1977
+ 34: [
1978
+ 1,
1979
+ 144
1980
+ ]
1981
+ }),
1982
+ {
1983
+ 33: [
1984
+ 1,
1985
+ 145
1986
+ ]
1987
+ },
1988
+ {
1989
+ 33: [
1990
+ 1,
1991
+ 146
1992
+ ]
1993
+ },
1994
+ {
1995
+ 39: 147,
1996
+ 43: f,
1997
+ 44: k,
1998
+ 45: g
1999
+ },
2000
+ {
2001
+ 33: [
2002
+ 1,
2003
+ 148
2004
+ ]
2005
+ },
2006
+ {
2007
+ 39: 149,
2008
+ 43: f,
2009
+ 44: k,
2010
+ 45: g
2011
+ },
2012
+ {
2013
+ 33: [
2014
+ 1,
2015
+ 150
2016
+ ]
2017
+ },
2018
+ {
2019
+ 33: [
2020
+ 1,
2021
+ 151
2022
+ ]
2023
+ },
2024
+ {
2025
+ 33: [
2026
+ 1,
2027
+ 152
2028
+ ]
2029
+ },
2030
+ {
2031
+ 33: [
2032
+ 1,
2033
+ 153
2034
+ ]
2035
+ },
2036
+ {
2037
+ 33: [
2038
+ 1,
2039
+ 154
2040
+ ]
2041
+ },
2042
+ {
2043
+ 33: [
2044
+ 1,
2045
+ 155
2046
+ ]
2047
+ },
2048
+ {
2049
+ 33: [
2050
+ 1,
2051
+ 156
2052
+ ]
2053
+ },
2054
+ {
2055
+ 39: 157,
2056
+ 43: f,
2057
+ 44: k,
2058
+ 45: g
2059
+ },
2060
+ {
2061
+ 33: [
2062
+ 1,
2063
+ 158
2064
+ ]
2065
+ },
2066
+ {
2067
+ 33: [
2068
+ 1,
2069
+ 159
2070
+ ]
2071
+ },
2072
+ {
2073
+ 33: [
2074
+ 1,
2075
+ 160
2076
+ ]
2077
+ },
2078
+ {
2079
+ 39: 161,
2080
+ 43: f,
2081
+ 44: k,
2082
+ 45: g
2083
+ },
2084
+ {
2085
+ 33: [
2086
+ 1,
2087
+ 162
2088
+ ]
2089
+ },
2090
+ {
2091
+ 39: 163,
2092
+ 43: f,
2093
+ 44: k,
2094
+ 45: g
2095
+ },
2096
+ {
2097
+ 33: [
2098
+ 1,
2099
+ 164
2100
+ ]
2101
+ },
2102
+ {
2103
+ 33: [
2104
+ 1,
2105
+ 165
2106
+ ]
2107
+ },
2108
+ {
2109
+ 33: [
2110
+ 1,
2111
+ 166
2112
+ ]
2113
+ },
2114
+ {
2115
+ 39: 167,
2116
+ 43: f,
2117
+ 44: k,
2118
+ 45: g
2119
+ },
2120
+ {
2121
+ 33: [
2122
+ 1,
2123
+ 168
2124
+ ]
2125
+ },
2126
+ r(a, [
2127
+ 2,
2128
+ 43
2129
+ ], {
2130
+ 35: [
2131
+ 1,
2132
+ 169
2133
+ ]
2134
+ }),
2135
+ r(a, [
2136
+ 2,
2137
+ 44
2138
+ ], {
2139
+ 38: [
2140
+ 1,
2141
+ 170
2142
+ ]
2143
+ }),
2144
+ r(a, [
2145
+ 2,
2146
+ 42
2147
+ ], {
2148
+ 32: [
2149
+ 1,
2150
+ 171
2151
+ ]
2152
+ }),
2153
+ r(a, [
2154
+ 2,
2155
+ 45
2156
+ ], {
2157
+ 35: [
2158
+ 1,
2159
+ 172
2160
+ ]
2161
+ }),
2162
+ r(a, [
2163
+ 2,
2164
+ 40
2165
+ ], {
2166
+ 38: [
2167
+ 1,
2168
+ 173
2169
+ ]
2170
+ }),
2171
+ r(a, [
2172
+ 2,
2173
+ 41
2174
+ ], {
2175
+ 32: [
2176
+ 1,
2177
+ 174
2178
+ ]
2179
+ }),
2180
+ {
2181
+ 33: [
2182
+ 1,
2183
+ 175
2184
+ ],
2185
+ 36: [
2186
+ 1,
2187
+ 176
2188
+ ]
2189
+ },
2190
+ {
2191
+ 33: [
2192
+ 1,
2193
+ 177
2194
+ ]
2195
+ },
2196
+ {
2197
+ 33: [
2198
+ 1,
2199
+ 178
2200
+ ]
2201
+ },
2202
+ {
2203
+ 33: [
2204
+ 1,
2205
+ 179
2206
+ ]
2207
+ },
2208
+ {
2209
+ 33: [
2210
+ 1,
2211
+ 180
2212
+ ]
2213
+ },
2214
+ r(a, [
2215
+ 2,
2216
+ 66
2217
+ ], {
2218
+ 42: [
2219
+ 1,
2220
+ 181
2221
+ ]
2222
+ }),
2223
+ r(a, [
2224
+ 2,
2225
+ 79
2226
+ ], {
2227
+ 32: [
2228
+ 1,
2229
+ 182
2230
+ ]
2231
+ }),
2232
+ r(a, [
2233
+ 2,
2234
+ 67
2235
+ ], {
2236
+ 42: [
2237
+ 1,
2238
+ 183
2239
+ ]
2240
+ }),
2241
+ r(a, [
2242
+ 2,
2243
+ 90
2244
+ ], {
2245
+ 38: [
2246
+ 1,
2247
+ 184
2248
+ ]
2249
+ }),
2250
+ r(a, [
2251
+ 2,
2252
+ 80
2253
+ ], {
2254
+ 32: [
2255
+ 1,
2256
+ 185
2257
+ ]
2258
+ }),
2259
+ r(a, [
2260
+ 2,
2261
+ 89
2262
+ ], {
2263
+ 38: [
2264
+ 1,
2265
+ 186
2266
+ ]
2267
+ }),
2268
+ r(a, [
2269
+ 2,
2270
+ 65
2271
+ ], {
2272
+ 42: [
2273
+ 1,
2274
+ 187
2275
+ ]
2276
+ }),
2277
+ r(a, [
2278
+ 2,
2279
+ 78
2280
+ ], {
2281
+ 32: [
2282
+ 1,
2283
+ 188
2284
+ ]
2285
+ }),
2286
+ r(a, [
2287
+ 2,
2288
+ 64
2289
+ ], {
2290
+ 42: [
2291
+ 1,
2292
+ 189
2293
+ ]
2294
+ }),
2295
+ r(a, [
2296
+ 2,
2297
+ 84
2298
+ ], {
2299
+ 35: [
2300
+ 1,
2301
+ 190
2302
+ ]
2303
+ }),
2304
+ r(a, [
2305
+ 2,
2306
+ 77
2307
+ ], {
2308
+ 32: [
2309
+ 1,
2310
+ 191
2311
+ ]
2312
+ }),
2313
+ r(a, [
2314
+ 2,
2315
+ 83
2316
+ ], {
2317
+ 35: [
2318
+ 1,
2319
+ 192
2320
+ ]
2321
+ }),
2322
+ r(a, [
2323
+ 2,
2324
+ 63
2325
+ ], {
2326
+ 42: [
2327
+ 1,
2328
+ 193
2329
+ ]
2330
+ }),
2331
+ r(a, [
2332
+ 2,
2333
+ 91
2334
+ ], {
2335
+ 38: [
2336
+ 1,
2337
+ 194
2338
+ ]
2339
+ }),
2340
+ r(a, [
2341
+ 2,
2342
+ 62
2343
+ ], {
2344
+ 42: [
2345
+ 1,
2346
+ 195
2347
+ ]
2348
+ }),
2349
+ r(a, [
2350
+ 2,
2351
+ 85
2352
+ ], {
2353
+ 35: [
2354
+ 1,
2355
+ 196
2356
+ ]
2357
+ }),
2358
+ r(a, [
2359
+ 2,
2360
+ 86
2361
+ ], {
2362
+ 35: [
2363
+ 1,
2364
+ 197
2365
+ ]
2366
+ }),
2367
+ r(a, [
2368
+ 2,
2369
+ 92
2370
+ ], {
2371
+ 38: [
2372
+ 1,
2373
+ 198
2374
+ ]
2375
+ }),
2376
+ r(a, [
2377
+ 2,
2378
+ 76
2379
+ ], {
2380
+ 32: [
2381
+ 1,
2382
+ 199
2383
+ ]
2384
+ }),
2385
+ r(a, [
2386
+ 2,
2387
+ 87
2388
+ ], {
2389
+ 38: [
2390
+ 1,
2391
+ 200
2392
+ ]
2393
+ }),
2394
+ r(a, [
2395
+ 2,
2396
+ 75
2397
+ ], {
2398
+ 32: [
2399
+ 1,
2400
+ 201
2401
+ ]
2402
+ }),
2403
+ r(a, [
2404
+ 2,
2405
+ 81
2406
+ ], {
2407
+ 35: [
2408
+ 1,
2409
+ 202
2410
+ ]
2411
+ }),
2412
+ r(a, [
2413
+ 2,
2414
+ 82
2415
+ ], {
2416
+ 35: [
2417
+ 1,
2418
+ 203
2419
+ ]
2420
+ }),
2421
+ r(a, [
2422
+ 2,
2423
+ 88
2424
+ ], {
2425
+ 38: [
2426
+ 1,
2427
+ 204
2428
+ ]
2429
+ }),
2430
+ {
2431
+ 33: [
2432
+ 1,
2433
+ 205
2434
+ ]
2435
+ },
2436
+ {
2437
+ 39: 206,
2438
+ 43: f,
2439
+ 44: k,
2440
+ 45: g
2441
+ },
2442
+ {
2443
+ 33: [
2444
+ 1,
2445
+ 207
2446
+ ]
2447
+ },
2448
+ {
2449
+ 33: [
2450
+ 1,
2451
+ 208
2452
+ ]
2453
+ },
2454
+ {
2455
+ 39: 209,
2456
+ 43: f,
2457
+ 44: k,
2458
+ 45: g
2459
+ },
2460
+ {
2461
+ 33: [
2462
+ 1,
2463
+ 210
2464
+ ]
2465
+ },
2466
+ r(a, [
2467
+ 2,
2468
+ 27
2469
+ ]),
2470
+ r(a, [
2471
+ 2,
2472
+ 32
2473
+ ]),
2474
+ r(a, [
2475
+ 2,
2476
+ 28
2477
+ ]),
2478
+ r(a, [
2479
+ 2,
2480
+ 33
2481
+ ]),
2482
+ r(a, [
2483
+ 2,
2484
+ 34
2485
+ ]),
2486
+ r(a, [
2487
+ 2,
2488
+ 35
2489
+ ]),
2490
+ {
2491
+ 33: [
2492
+ 1,
2493
+ 211
2494
+ ]
2495
+ },
2496
+ {
2497
+ 33: [
2498
+ 1,
2499
+ 212
2500
+ ]
2501
+ },
2502
+ {
2503
+ 33: [
2504
+ 1,
2505
+ 213
2506
+ ]
2507
+ },
2508
+ {
2509
+ 39: 214,
2510
+ 43: f,
2511
+ 44: k,
2512
+ 45: g
2513
+ },
2514
+ {
2515
+ 33: [
2516
+ 1,
2517
+ 215
2518
+ ]
2519
+ },
2520
+ {
2521
+ 39: 216,
2522
+ 43: f,
2523
+ 44: k,
2524
+ 45: g
2525
+ },
2526
+ {
2527
+ 33: [
2528
+ 1,
2529
+ 217
2530
+ ]
2531
+ },
2532
+ {
2533
+ 33: [
2534
+ 1,
2535
+ 218
2536
+ ]
2537
+ },
2538
+ {
2539
+ 33: [
2540
+ 1,
2541
+ 219
2542
+ ]
2543
+ },
2544
+ {
2545
+ 33: [
2546
+ 1,
2547
+ 220
2548
+ ]
2549
+ },
2550
+ {
2551
+ 33: [
2552
+ 1,
2553
+ 221
2554
+ ]
2555
+ },
2556
+ {
2557
+ 33: [
2558
+ 1,
2559
+ 222
2560
+ ]
2561
+ },
2562
+ {
2563
+ 33: [
2564
+ 1,
2565
+ 223
2566
+ ]
2567
+ },
2568
+ {
2569
+ 39: 224,
2570
+ 43: f,
2571
+ 44: k,
2572
+ 45: g
2573
+ },
2574
+ {
2575
+ 33: [
2576
+ 1,
2577
+ 225
2578
+ ]
2579
+ },
2580
+ {
2581
+ 33: [
2582
+ 1,
2583
+ 226
2584
+ ]
2585
+ },
2586
+ {
2587
+ 33: [
2588
+ 1,
2589
+ 227
2590
+ ]
2591
+ },
2592
+ {
2593
+ 39: 228,
2594
+ 43: f,
2595
+ 44: k,
2596
+ 45: g
2597
+ },
2598
+ {
2599
+ 33: [
2600
+ 1,
2601
+ 229
2602
+ ]
2603
+ },
2604
+ {
2605
+ 39: 230,
2606
+ 43: f,
2607
+ 44: k,
2608
+ 45: g
2609
+ },
2610
+ {
2611
+ 33: [
2612
+ 1,
2613
+ 231
2614
+ ]
2615
+ },
2616
+ {
2617
+ 33: [
2618
+ 1,
2619
+ 232
2620
+ ]
2621
+ },
2622
+ {
2623
+ 33: [
2624
+ 1,
2625
+ 233
2626
+ ]
2627
+ },
2628
+ {
2629
+ 39: 234,
2630
+ 43: f,
2631
+ 44: k,
2632
+ 45: g
2633
+ },
2634
+ r(a, [
2635
+ 2,
2636
+ 46
2637
+ ]),
2638
+ r(a, [
2639
+ 2,
2640
+ 48
2641
+ ]),
2642
+ r(a, [
2643
+ 2,
2644
+ 47
2645
+ ]),
2646
+ r(a, [
2647
+ 2,
2648
+ 49
2649
+ ]),
2650
+ r(a, [
2651
+ 2,
2652
+ 51
2653
+ ]),
2654
+ r(a, [
2655
+ 2,
2656
+ 50
2657
+ ]),
2658
+ r(a, [
2659
+ 2,
2660
+ 107
2661
+ ]),
2662
+ r(a, [
2663
+ 2,
2664
+ 108
2665
+ ]),
2666
+ r(a, [
2667
+ 2,
2668
+ 105
2669
+ ]),
2670
+ r(a, [
2671
+ 2,
2672
+ 106
2673
+ ]),
2674
+ r(a, [
2675
+ 2,
2676
+ 110
2677
+ ]),
2678
+ r(a, [
2679
+ 2,
2680
+ 109
2681
+ ]),
2682
+ r(a, [
2683
+ 2,
2684
+ 114
2685
+ ]),
2686
+ r(a, [
2687
+ 2,
2688
+ 113
2689
+ ]),
2690
+ r(a, [
2691
+ 2,
2692
+ 112
2693
+ ]),
2694
+ r(a, [
2695
+ 2,
2696
+ 111
2697
+ ]),
2698
+ r(a, [
2699
+ 2,
2700
+ 116
2701
+ ]),
2702
+ r(a, [
2703
+ 2,
2704
+ 115
2705
+ ]),
2706
+ r(a, [
2707
+ 2,
2708
+ 104
2709
+ ]),
2710
+ r(a, [
2711
+ 2,
2712
+ 103
2713
+ ]),
2714
+ r(a, [
2715
+ 2,
2716
+ 102
2717
+ ]),
2718
+ r(a, [
2719
+ 2,
2720
+ 101
2721
+ ]),
2722
+ r(a, [
2723
+ 2,
2724
+ 99
2725
+ ]),
2726
+ r(a, [
2727
+ 2,
2728
+ 100
2729
+ ]),
2730
+ r(a, [
2731
+ 2,
2732
+ 98
2733
+ ]),
2734
+ r(a, [
2735
+ 2,
2736
+ 97
2737
+ ]),
2738
+ r(a, [
2739
+ 2,
2740
+ 96
2741
+ ]),
2742
+ r(a, [
2743
+ 2,
2744
+ 95
2745
+ ]),
2746
+ r(a, [
2747
+ 2,
2748
+ 93
2749
+ ]),
2750
+ r(a, [
2751
+ 2,
2752
+ 94
2753
+ ])
2754
+ ],
2755
+ defaultActions: {
2756
+ 7: [
2757
+ 2,
2758
+ 1
2759
+ ],
2760
+ 13: [
2761
+ 2,
2762
+ 2
2763
+ ],
2764
+ 18: [
2765
+ 2,
2766
+ 3
2767
+ ],
2768
+ 36: [
2769
+ 2,
2770
+ 4
2771
+ ]
2772
+ },
2773
+ parseError: function parseError(o, u) {
2774
+ if (u.recoverable) this.trace(o);
2775
+ else {
2776
+ var d = new Error(o);
2777
+ throw d.hash = u, d;
2778
+ }
2779
+ },
2780
+ parse: function parse(o) {
2781
+ var u = this, d = [
2782
+ 0
2783
+ ], s = [], T = [
2784
+ null
2785
+ ], e = [], X = this.table, t = "", re = 0, fe = 0, we = 2, pe = 1, Le = e.slice.call(arguments, 1), O = Object.create(this.lexer), F = {
2786
+ yy: {}
2787
+ };
2788
+ for(var ce in this.yy)Object.prototype.hasOwnProperty.call(this.yy, ce) && (F.yy[ce] = this.yy[ce]);
2789
+ O.setInput(o, F.yy), F.yy.lexer = O, F.yy.parser = this, _type_of(O.yylloc) > "u" && (O.yylloc = {});
2790
+ var oe = O.yylloc;
2791
+ e.push(oe);
2792
+ var Re = O.options && O.options.ranges;
2793
+ typeof F.yy.parseError == "function" ? this.parseError = F.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
2794
+ function Me() {
2795
+ var q;
2796
+ return q = s.pop() || O.lex() || pe, typeof q != "number" && (_instanceof(q, Array) && (s = q, q = s.pop()), q = u.symbols_[q] || q), q;
2797
+ }
2798
+ for(var N, K, V, le, J = {}, ie, j, be, se;;){
2799
+ if (K = d[d.length - 1], this.defaultActions[K] ? V = this.defaultActions[K] : ((N === null || (typeof N === "undefined" ? "undefined" : _type_of(N)) > "u") && (N = Me()), V = X[K] && X[K][N]), (typeof V === "undefined" ? "undefined" : _type_of(V)) > "u" || !V.length || !V[0]) {
2800
+ var he = "";
2801
+ se = [];
2802
+ for(ie in X[K])this.terminals_[ie] && ie > we && se.push("'" + this.terminals_[ie] + "'");
2803
+ O.showPosition ? he = "Parse error on line " + (re + 1) + ":\n" + O.showPosition() + "\nExpecting " + se.join(", ") + ", got '" + (this.terminals_[N] || N) + "'" : he = "Parse error on line " + (re + 1) + ": Unexpected " + (N == pe ? "end of input" : "'" + (this.terminals_[N] || N) + "'"), this.parseError(he, {
2804
+ text: O.match,
2805
+ token: this.terminals_[N] || N,
2806
+ line: O.yylineno,
2807
+ loc: oe,
2808
+ expected: se
2809
+ });
2810
+ }
2811
+ if (_instanceof(V[0], Array) && V.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + K + ", token: " + N);
2812
+ switch(V[0]){
2813
+ case 1:
2814
+ d.push(N), T.push(O.yytext), e.push(O.yylloc), d.push(V[1]), N = null, fe = O.yyleng, t = O.yytext, re = O.yylineno, oe = O.yylloc;
2815
+ break;
2816
+ case 2:
2817
+ if (j = this.productions_[V[1]][1], J.$ = T[T.length - j], J._$ = {
2818
+ first_line: e[e.length - (j || 1)].first_line,
2819
+ last_line: e[e.length - 1].last_line,
2820
+ first_column: e[e.length - (j || 1)].first_column,
2821
+ last_column: e[e.length - 1].last_column
2822
+ }, Re && (J._$.range = [
2823
+ e[e.length - (j || 1)].range[0],
2824
+ e[e.length - 1].range[1]
2825
+ ]), le = this.performAction.apply(J, [
2826
+ t,
2827
+ fe,
2828
+ re,
2829
+ F.yy,
2830
+ V[1],
2831
+ T,
2832
+ e
2833
+ ].concat(Le)), (typeof le === "undefined" ? "undefined" : _type_of(le)) < "u") return le;
2834
+ j && (d = d.slice(0, -1 * j * 2), T = T.slice(0, -1 * j), e = e.slice(0, -1 * j)), d.push(this.productions_[V[1]][0]), T.push(J.$), e.push(J._$), be = X[d[d.length - 2]][d[d.length - 1]], d.push(be);
2835
+ break;
2836
+ case 3:
2837
+ return !0;
2838
+ }
2839
+ }
2840
+ return !0;
2841
+ }
2842
+ }, M = function() {
2843
+ var G = {
2844
+ EOF: 1,
2845
+ parseError: function parseError(u, d) {
2846
+ if (this.yy.parser) this.yy.parser.parseError(u, d);
2847
+ else throw new Error(u);
2848
+ },
2849
+ // resets the lexer, sets new input
2850
+ setInput: function setInput(o, u) {
2851
+ return this.yy = u || this.yy || {}, this._input = o, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
2852
+ "INITIAL"
2853
+ ], this.yylloc = {
2854
+ first_line: 1,
2855
+ first_column: 0,
2856
+ last_line: 1,
2857
+ last_column: 0
2858
+ }, this.options.ranges && (this.yylloc.range = [
2859
+ 0,
2860
+ 0
2861
+ ]), this.offset = 0, this;
2862
+ },
2863
+ // consumes and returns one char from the input
2864
+ input: function input() {
2865
+ var o = this._input[0];
2866
+ this.yytext += o, this.yyleng++, this.offset++, this.match += o, this.matched += o;
2867
+ var u = o.match(/(?:\r\n?|\n).*/g);
2868
+ return u ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), o;
2869
+ },
2870
+ // unshifts one char (or a string) into the input
2871
+ unput: function unput(o) {
2872
+ var u = o.length, d = o.split(/(?:\r\n?|\n)/g);
2873
+ this._input = o + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - u), this.offset -= u;
2874
+ var s = this.match.split(/(?:\r\n?|\n)/g);
2875
+ this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), d.length - 1 && (this.yylineno -= d.length - 1);
2876
+ var T = this.yylloc.range;
2877
+ return this.yylloc = {
2878
+ first_line: this.yylloc.first_line,
2879
+ last_line: this.yylineno + 1,
2880
+ first_column: this.yylloc.first_column,
2881
+ last_column: d ? (d.length === s.length ? this.yylloc.first_column : 0) + s[s.length - d.length].length - d[0].length : this.yylloc.first_column - u
2882
+ }, this.options.ranges && (this.yylloc.range = [
2883
+ T[0],
2884
+ T[0] + this.yyleng - u
2885
+ ]), this.yyleng = this.yytext.length, this;
2886
+ },
2887
+ // When called from action, caches matched text and appends it on next action
2888
+ more: function more() {
2889
+ return this._more = !0, this;
2890
+ },
2891
+ // 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.
2892
+ reject: function reject() {
2893
+ if (this.options.backtrack_lexer) this._backtrack = !0;
2894
+ 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(), {
2895
+ text: "",
2896
+ token: null,
2897
+ line: this.yylineno
2898
+ });
2899
+ return this;
2900
+ },
2901
+ // retain first n characters of the match
2902
+ less: function less(o) {
2903
+ this.unput(this.match.slice(o));
2904
+ },
2905
+ // displays already matched input, i.e. for error messages
2906
+ pastInput: function pastInput() {
2907
+ var o = this.matched.substr(0, this.matched.length - this.match.length);
2908
+ return (o.length > 20 ? "..." : "") + o.substr(-20).replace(/\n/g, "");
2909
+ },
2910
+ // displays upcoming input, i.e. for error messages
2911
+ upcomingInput: function upcomingInput() {
2912
+ var o = this.match;
2913
+ return o.length < 20 && (o += this._input.substr(0, 20 - o.length)), (o.substr(0, 20) + (o.length > 20 ? "..." : "")).replace(/\n/g, "");
2914
+ },
2915
+ // displays the character position where the lexing error occurred, i.e. for error messages
2916
+ showPosition: function showPosition() {
2917
+ var o = this.pastInput(), u = new Array(o.length + 1).join("-");
2918
+ return o + this.upcomingInput() + "\n" + u + "^";
2919
+ },
2920
+ // test the lexed token: return FALSE when not a match, otherwise return token
2921
+ test_match: function test_match(o, u) {
2922
+ var d, s, T;
2923
+ if (this.options.backtrack_lexer && (T = {
2924
+ yylineno: this.yylineno,
2925
+ yylloc: {
2926
+ first_line: this.yylloc.first_line,
2927
+ last_line: this.last_line,
2928
+ first_column: this.yylloc.first_column,
2929
+ last_column: this.yylloc.last_column
2930
+ },
2931
+ yytext: this.yytext,
2932
+ match: this.match,
2933
+ matches: this.matches,
2934
+ matched: this.matched,
2935
+ yyleng: this.yyleng,
2936
+ offset: this.offset,
2937
+ _more: this._more,
2938
+ _input: this._input,
2939
+ yy: this.yy,
2940
+ conditionStack: this.conditionStack.slice(0),
2941
+ done: this.done
2942
+ }, this.options.ranges && (T.yylloc.range = this.yylloc.range.slice(0))), s = o[0].match(/(?:\r\n?|\n).*/g), s && (this.yylineno += s.length), this.yylloc = {
2943
+ first_line: this.yylloc.last_line,
2944
+ last_line: this.yylineno + 1,
2945
+ first_column: this.yylloc.last_column,
2946
+ last_column: s ? s[s.length - 1].length - s[s.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + o[0].length
2947
+ }, this.yytext += o[0], this.match += o[0], this.matches = o, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
2948
+ this.offset,
2949
+ this.offset += this.yyleng
2950
+ ]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(o[0].length), this.matched += o[0], d = this.performAction.call(this, this.yy, this, u, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), d) return d;
2951
+ if (this._backtrack) {
2952
+ for(var e in T)this[e] = T[e];
2953
+ return !1;
2954
+ }
2955
+ return !1;
2956
+ },
2957
+ // return next match in input
2958
+ next: function next() {
2959
+ if (this.done) return this.EOF;
2960
+ this._input || (this.done = !0);
2961
+ var o, u, d, s;
2962
+ this._more || (this.yytext = "", this.match = "");
2963
+ for(var T = this._currentRules(), e = 0; e < T.length; e++)if (d = this._input.match(this.rules[T[e]]), d && (!u || d[0].length > u[0].length)) {
2964
+ if (u = d, s = e, this.options.backtrack_lexer) {
2965
+ if (o = this.test_match(d, T[e]), o !== !1) return o;
2966
+ if (this._backtrack) {
2967
+ u = !1;
2968
+ continue;
2969
+ } else return !1;
2970
+ } else if (!this.options.flex) break;
2971
+ }
2972
+ return u ? (o = this.test_match(u, T[s]), o !== !1 ? o : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
2973
+ text: "",
2974
+ token: null,
2975
+ line: this.yylineno
2976
+ });
2977
+ },
2978
+ // return next match that has a token
2979
+ lex: function lex() {
2980
+ var u = this.next();
2981
+ return u || this.lex();
2982
+ },
2983
+ // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
2984
+ begin: function begin(u) {
2985
+ this.conditionStack.push(u);
2986
+ },
2987
+ // pop the previously active lexer condition state off the condition stack
2988
+ popState: function popState() {
2989
+ var u = this.conditionStack.length - 1;
2990
+ return u > 0 ? this.conditionStack.pop() : this.conditionStack[0];
2991
+ },
2992
+ // produce the lexer rule set which is active for the currently active lexer condition state
2993
+ _currentRules: function _currentRules() {
2994
+ return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
2995
+ },
2996
+ // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
2997
+ topState: function topState(u) {
2998
+ return u = this.conditionStack.length - 1 - Math.abs(u || 0), u >= 0 ? this.conditionStack[u] : "INITIAL";
2999
+ },
3000
+ // alias for begin(condition)
3001
+ pushState: function pushState(u) {
3002
+ this.begin(u);
3003
+ },
3004
+ // return the number of states currently on the stack
3005
+ stateStackSize: function stateStackSize() {
3006
+ return this.conditionStack.length;
3007
+ },
3008
+ options: {
3009
+ "case-insensitive": !0
3010
+ },
3011
+ performAction: function performAction(u, d, s, T) {
3012
+ switch(s){
3013
+ case 0:
3014
+ return this.begin("acc_title"), 19;
3015
+ case 1:
3016
+ return this.popState(), "acc_title_value";
3017
+ case 2:
3018
+ return this.begin("acc_descr"), 21;
3019
+ case 3:
3020
+ return this.popState(), "acc_descr_value";
3021
+ case 4:
3022
+ this.begin("acc_descr_multiline");
3023
+ break;
3024
+ case 5:
3025
+ this.popState();
3026
+ break;
3027
+ case 6:
3028
+ return "acc_descr_multiline_value";
3029
+ case 7:
3030
+ return 13;
3031
+ case 8:
3032
+ break;
3033
+ case 9:
3034
+ break;
3035
+ case 10:
3036
+ return 5;
3037
+ case 11:
3038
+ return 40;
3039
+ case 12:
3040
+ return 32;
3041
+ case 13:
3042
+ return 38;
3043
+ case 14:
3044
+ return 42;
3045
+ case 15:
3046
+ return 43;
3047
+ case 16:
3048
+ return 44;
3049
+ case 17:
3050
+ return 45;
3051
+ case 18:
3052
+ return 35;
3053
+ case 19:
3054
+ return 28;
3055
+ case 20:
3056
+ return 29;
3057
+ case 21:
3058
+ return 37;
3059
+ case 22:
3060
+ return 31;
3061
+ case 23:
3062
+ return 34;
3063
+ case 24:
3064
+ return 26;
3065
+ case 25:
3066
+ return 9;
3067
+ case 26:
3068
+ return 9;
3069
+ case 27:
3070
+ return 8;
3071
+ case 28:
3072
+ return "CARET";
3073
+ case 29:
3074
+ this.begin("options");
3075
+ break;
3076
+ case 30:
3077
+ this.popState();
3078
+ break;
3079
+ case 31:
3080
+ return 12;
3081
+ case 32:
3082
+ return 36;
3083
+ case 33:
3084
+ this.begin("string");
3085
+ break;
3086
+ case 34:
3087
+ this.popState();
3088
+ break;
3089
+ case 35:
3090
+ return 33;
3091
+ case 36:
3092
+ return 30;
3093
+ case 37:
3094
+ return 46;
3095
+ case 38:
3096
+ return 7;
3097
+ }
3098
+ },
3099
+ rules: [
3100
+ /^(?:accTitle\s*:\s*)/i,
3101
+ /^(?:(?!\n||)*[^\n]*)/i,
3102
+ /^(?:accDescr\s*:\s*)/i,
3103
+ /^(?:(?!\n||)*[^\n]*)/i,
3104
+ /^(?:accDescr\s*\{\s*)/i,
3105
+ /^(?:[\}])/i,
3106
+ /^(?:[^\}]*)/i,
3107
+ /^(?:(\r?\n)+)/i,
3108
+ /^(?:#[^\n]*)/i,
3109
+ /^(?:%[^\n]*)/i,
3110
+ /^(?:gitGraph\b)/i,
3111
+ /^(?:commit(?=\s|$))/i,
3112
+ /^(?:id:)/i,
3113
+ /^(?:type:)/i,
3114
+ /^(?:msg:)/i,
3115
+ /^(?:NORMAL\b)/i,
3116
+ /^(?:REVERSE\b)/i,
3117
+ /^(?:HIGHLIGHT\b)/i,
3118
+ /^(?:tag:)/i,
3119
+ /^(?:branch(?=\s|$))/i,
3120
+ /^(?:order:)/i,
3121
+ /^(?:merge(?=\s|$))/i,
3122
+ /^(?:cherry-pick(?=\s|$))/i,
3123
+ /^(?:parent:)/i,
3124
+ /^(?:checkout(?=\s|$))/i,
3125
+ /^(?:LR\b)/i,
3126
+ /^(?:TB\b)/i,
3127
+ /^(?::)/i,
3128
+ /^(?:\^)/i,
3129
+ /^(?:options\r?\n)/i,
3130
+ /^(?:[ \r\n\t]+end\b)/i,
3131
+ /^(?:[\s\S]+(?=[ \r\n\t]+end))/i,
3132
+ /^(?:["]["])/i,
3133
+ /^(?:["])/i,
3134
+ /^(?:["])/i,
3135
+ /^(?:[^"]*)/i,
3136
+ /^(?:[0-9]+(?=\s|$))/i,
3137
+ /^(?:\w([-\./\w]*[-\w])?)/i,
3138
+ /^(?:$)/i,
3139
+ /^(?:\s+)/i
3140
+ ],
3141
+ conditions: {
3142
+ acc_descr_multiline: {
3143
+ rules: [
3144
+ 5,
3145
+ 6
3146
+ ],
3147
+ inclusive: !1
3148
+ },
3149
+ acc_descr: {
3150
+ rules: [
3151
+ 3
3152
+ ],
3153
+ inclusive: !1
3154
+ },
3155
+ acc_title: {
3156
+ rules: [
3157
+ 1
3158
+ ],
3159
+ inclusive: !1
3160
+ },
3161
+ options: {
3162
+ rules: [
3163
+ 30,
3164
+ 31
3165
+ ],
3166
+ inclusive: !1
3167
+ },
3168
+ string: {
3169
+ rules: [
3170
+ 34,
3171
+ 35
3172
+ ],
3173
+ inclusive: !1
3174
+ },
3175
+ INITIAL: {
3176
+ rules: [
3177
+ 0,
3178
+ 2,
3179
+ 4,
3180
+ 7,
3181
+ 8,
3182
+ 9,
3183
+ 10,
3184
+ 11,
3185
+ 12,
3186
+ 13,
3187
+ 14,
3188
+ 15,
3189
+ 16,
3190
+ 17,
3191
+ 18,
3192
+ 19,
3193
+ 20,
3194
+ 21,
3195
+ 22,
3196
+ 23,
3197
+ 24,
3198
+ 25,
3199
+ 26,
3200
+ 27,
3201
+ 28,
3202
+ 29,
3203
+ 32,
3204
+ 33,
3205
+ 36,
3206
+ 37,
3207
+ 38,
3208
+ 39
3209
+ ],
3210
+ inclusive: !0
3211
+ }
3212
+ }
3213
+ };
3214
+ return G;
3215
+ }();
3216
+ z.lexer = M;
3217
+ function I() {
3218
+ this.yy = {};
3219
+ }
3220
+ return I.prototype = z, z.Parser = I, new I();
3221
+ }();
3222
+ me.parser = me;
3223
+ var Ve = me;
3224
+ var ae = index.Vn().gitGraph.mainBranchName, De = index.Vn().gitGraph.mainBranchOrder, C = {}, S = null, ee = {};
3225
+ ee[ae] = {
3226
+ name: ae,
3227
+ order: De
3228
+ };
3229
+ var L = {};
3230
+ L[ae] = S;
3231
+ var A = ae, ke = "LR", W = 0;
3232
+ function ue() {
3233
+ return index.L0({
3234
+ length: 7
3235
+ });
3236
+ }
3237
+ function ze(r, n) {
3238
+ var l = /* @__PURE__ */ Object.create(null);
3239
+ return r.reduce(function(h, i) {
3240
+ var c = n(i);
3241
+ return l[c] || (l[c] = !0, h.push(i)), h;
3242
+ }, []);
3243
+ }
3244
+ var je = function je(r) {
3245
+ ke = r;
3246
+ };
3247
+ var xe = {};
3248
+ var qe = function qe(r) {
3249
+ index.L.debug("options str", r), r = r && r.trim(), r = r || "{}";
3250
+ try {
3251
+ xe = JSON.parse(r);
3252
+ } catch (n) {
3253
+ index.L.error("error while parsing gitGraph options", n.message);
3254
+ }
3255
+ }, Ye = function Ye() {
3256
+ return xe;
3257
+ }, Fe = function Fe(r, n, l, h) {
3258
+ index.L.debug("Entering commit:", r, n, l, h), n = index.$n.sanitizeText(n, index.Vn()), r = index.$n.sanitizeText(r, index.Vn()), h = index.$n.sanitizeText(h, index.Vn());
3259
+ var i = {
3260
+ id: n || W + "-" + ue(),
3261
+ message: r,
3262
+ seq: W++,
3263
+ type: l || Q.NORMAL,
3264
+ tag: h || "",
3265
+ parents: S == null ? [] : [
3266
+ S.id
3267
+ ],
3268
+ branch: A
3269
+ };
3270
+ S = i, C[i.id] = i, L[A] = i.id, index.L.debug("in pushCommit " + i.id);
3271
+ }, Ke = function Ke(r, n) {
3272
+ if (r = index.$n.sanitizeText(r, index.Vn()), L[r] === void 0) L[r] = S != null ? S.id : null, ee[r] = {
3273
+ name: r,
3274
+ order: n ? parseInt(n, 10) : null
3275
+ }, ye(r), index.L.debug("in createBranch");
3276
+ else {
3277
+ var l = new Error('Trying to create an existing branch. (Help: Either use a new name if you want create a new branch or try using "checkout ' + r + '")');
3278
+ throw l.hash = {
3279
+ text: "branch " + r,
3280
+ token: "branch " + r,
3281
+ line: "1",
3282
+ loc: {
3283
+ first_line: 1,
3284
+ last_line: 1,
3285
+ first_column: 1,
3286
+ last_column: 1
3287
+ },
3288
+ expected: [
3289
+ '"checkout ' + r + '"'
3290
+ ]
3291
+ }, l;
3292
+ }
3293
+ }, Ue = function Ue(r, n, l, h) {
3294
+ r = index.$n.sanitizeText(r, index.Vn()), n = index.$n.sanitizeText(n, index.Vn());
3295
+ var i = C[L[A]], c = C[L[r]];
3296
+ if (A === r) {
3297
+ var m = new Error('Incorrect usage of "merge". Cannot merge a branch to itself');
3298
+ throw m.hash = {
3299
+ text: "merge " + r,
3300
+ token: "merge " + r,
3301
+ line: "1",
3302
+ loc: {
3303
+ first_line: 1,
3304
+ last_line: 1,
3305
+ first_column: 1,
3306
+ last_column: 1
3307
+ },
3308
+ expected: [
3309
+ "branch abc"
3310
+ ]
3311
+ }, m;
3312
+ } else if (i === void 0 || !i) {
3313
+ var m1 = new Error('Incorrect usage of "merge". Current branch (' + A + ")has no commits");
3314
+ throw m1.hash = {
3315
+ text: "merge " + r,
3316
+ token: "merge " + r,
3317
+ line: "1",
3318
+ loc: {
3319
+ first_line: 1,
3320
+ last_line: 1,
3321
+ first_column: 1,
3322
+ last_column: 1
3323
+ },
3324
+ expected: [
3325
+ "commit"
3326
+ ]
3327
+ }, m1;
3328
+ } else if (L[r] === void 0) {
3329
+ var m2 = new Error('Incorrect usage of "merge". Branch to be merged (' + r + ") does not exist");
3330
+ throw m2.hash = {
3331
+ text: "merge " + r,
3332
+ token: "merge " + r,
3333
+ line: "1",
3334
+ loc: {
3335
+ first_line: 1,
3336
+ last_line: 1,
3337
+ first_column: 1,
3338
+ last_column: 1
3339
+ },
3340
+ expected: [
3341
+ "branch " + r
3342
+ ]
3343
+ }, m2;
3344
+ } else if (c === void 0 || !c) {
3345
+ var m3 = new Error('Incorrect usage of "merge". Branch to be merged (' + r + ") has no commits");
3346
+ throw m3.hash = {
3347
+ text: "merge " + r,
3348
+ token: "merge " + r,
3349
+ line: "1",
3350
+ loc: {
3351
+ first_line: 1,
3352
+ last_line: 1,
3353
+ first_column: 1,
3354
+ last_column: 1
3355
+ },
3356
+ expected: [
3357
+ '"commit"'
3358
+ ]
3359
+ }, m3;
3360
+ } else if (i === c) {
3361
+ var m4 = new Error('Incorrect usage of "merge". Both branches have same head');
3362
+ throw m4.hash = {
3363
+ text: "merge " + r,
3364
+ token: "merge " + r,
3365
+ line: "1",
3366
+ loc: {
3367
+ first_line: 1,
3368
+ last_line: 1,
3369
+ first_column: 1,
3370
+ last_column: 1
3371
+ },
3372
+ expected: [
3373
+ "branch abc"
3374
+ ]
3375
+ }, m4;
3376
+ } else if (n && C[n] !== void 0) {
3377
+ var m5 = new Error('Incorrect usage of "merge". Commit with id:' + n + " already exists, use different custom Id");
3378
+ throw m5.hash = {
3379
+ text: "merge " + r + n + l + h,
3380
+ token: "merge " + r + n + l + h,
3381
+ line: "1",
3382
+ loc: {
3383
+ first_line: 1,
3384
+ last_line: 1,
3385
+ first_column: 1,
3386
+ last_column: 1
3387
+ },
3388
+ expected: [
3389
+ "merge " + r + " " + n + "_UNIQUE " + l + " " + h
3390
+ ]
3391
+ }, m5;
3392
+ }
3393
+ var p = {
3394
+ id: n || W + "-" + ue(),
3395
+ message: "merged branch " + r + " into " + A,
3396
+ seq: W++,
3397
+ parents: [
3398
+ S == null ? null : S.id,
3399
+ L[r]
3400
+ ],
3401
+ branch: A,
3402
+ type: Q.MERGE,
3403
+ customType: l,
3404
+ customId: !!n,
3405
+ tag: h || ""
3406
+ };
3407
+ S = p, C[p.id] = p, L[A] = p.id, index.L.debug(L), index.L.debug("in mergeBranch");
3408
+ }, We = function We(r, n, l, h) {
3409
+ if (index.L.debug("Entering cherryPick:", r, n, l), r = index.$n.sanitizeText(r, index.Vn()), n = index.$n.sanitizeText(n, index.Vn()), l = index.$n.sanitizeText(l, index.Vn()), h = index.$n.sanitizeText(h, index.Vn()), !r || C[r] === void 0) {
3410
+ var p = new Error('Incorrect usage of "cherryPick". Source commit id should exist and provided');
3411
+ throw p.hash = {
3412
+ text: "cherryPick " + r + " " + n,
3413
+ token: "cherryPick " + r + " " + n,
3414
+ line: "1",
3415
+ loc: {
3416
+ first_line: 1,
3417
+ last_line: 1,
3418
+ first_column: 1,
3419
+ last_column: 1
3420
+ },
3421
+ expected: [
3422
+ "cherry-pick abc"
3423
+ ]
3424
+ }, p;
3425
+ }
3426
+ var i = C[r], c = i.branch;
3427
+ if (h && !(Array.isArray(i.parents) && i.parents.includes(h))) throw new Error("Invalid operation: The specified parent commit is not an immediate parent of the cherry-picked commit.");
3428
+ if (i.type === Q.MERGE && !h) throw new Error("Incorrect usage of cherry-pick: If the source commit is a merge commit, an immediate parent commit must be specified.");
3429
+ if (!n || C[n] === void 0) {
3430
+ if (c === A) {
3431
+ var x = new Error('Incorrect usage of "cherryPick". Source commit is already on current branch');
3432
+ throw x.hash = {
3433
+ text: "cherryPick " + r + " " + n,
3434
+ token: "cherryPick " + r + " " + n,
3435
+ line: "1",
3436
+ loc: {
3437
+ first_line: 1,
3438
+ last_line: 1,
3439
+ first_column: 1,
3440
+ last_column: 1
3441
+ },
3442
+ expected: [
3443
+ "cherry-pick abc"
3444
+ ]
3445
+ }, x;
3446
+ }
3447
+ var p1 = C[L[A]];
3448
+ if (p1 === void 0 || !p1) {
3449
+ var x1 = new Error('Incorrect usage of "cherry-pick". Current branch (' + A + ")has no commits");
3450
+ throw x1.hash = {
3451
+ text: "cherryPick " + r + " " + n,
3452
+ token: "cherryPick " + r + " " + n,
3453
+ line: "1",
3454
+ loc: {
3455
+ first_line: 1,
3456
+ last_line: 1,
3457
+ first_column: 1,
3458
+ last_column: 1
3459
+ },
3460
+ expected: [
3461
+ "cherry-pick abc"
3462
+ ]
3463
+ }, x1;
3464
+ }
3465
+ var m = {
3466
+ id: W + "-" + ue(),
3467
+ message: "cherry-picked " + i + " into " + A,
3468
+ seq: W++,
3469
+ parents: [
3470
+ S == null ? null : S.id,
3471
+ i.id
3472
+ ],
3473
+ branch: A,
3474
+ type: Q.CHERRY_PICK,
3475
+ tag: l !== null && l !== void 0 ? l : "cherry-pick:".concat(i.id).concat(i.type === Q.MERGE ? "|parent:".concat(h) : "")
3476
+ };
3477
+ S = m, C[m.id] = m, L[A] = m.id, index.L.debug(L), index.L.debug("in cherryPick");
3478
+ }
3479
+ }, ye = function ye(r) {
3480
+ if (r = index.$n.sanitizeText(r, index.Vn()), L[r] === void 0) {
3481
+ var n = new Error('Trying to checkout branch which is not yet created. (Help try using "branch ' + r + '")');
3482
+ throw n.hash = {
3483
+ text: "checkout " + r,
3484
+ token: "checkout " + r,
3485
+ line: "1",
3486
+ loc: {
3487
+ first_line: 1,
3488
+ last_line: 1,
3489
+ first_column: 1,
3490
+ last_column: 1
3491
+ },
3492
+ expected: [
3493
+ '"branch ' + r + '"'
3494
+ ]
3495
+ }, n;
3496
+ } else {
3497
+ A = r;
3498
+ var n1 = L[A];
3499
+ S = C[n1];
3500
+ }
3501
+ };
3502
+ function ge(r, n, l) {
3503
+ var h = r.indexOf(n);
3504
+ h === -1 ? r.push(l) : r.splice(h, 1, l);
3505
+ }
3506
+ function _e(r) {
3507
+ var n = r.reduce(function(i, c) {
3508
+ return i.seq > c.seq ? i : c;
3509
+ }, r[0]);
3510
+ var l = "";
3511
+ r.forEach(function(i) {
3512
+ i === n ? l += " *" : l += " |";
3513
+ });
3514
+ var h = [
3515
+ l,
3516
+ n.id,
3517
+ n.seq
3518
+ ];
3519
+ for(var i in L)L[i] === n.id && h.push(i);
3520
+ if (index.L.debug(h.join(" ")), n.parents && n.parents.length == 2) {
3521
+ var i1 = C[n.parents[0]];
3522
+ ge(r, n, i1), r.push(C[n.parents[1]]);
3523
+ } else {
3524
+ if (n.parents.length == 0) return;
3525
+ {
3526
+ var i2 = C[n.parents];
3527
+ ge(r, n, i2);
3528
+ }
3529
+ }
3530
+ r = ze(r, function(i) {
3531
+ return i.id;
3532
+ }), _e(r);
3533
+ }
3534
+ var Je = function Je() {
3535
+ index.L.debug(C);
3536
+ var r = Ee()[0];
3537
+ _e([
3538
+ r
3539
+ ]);
3540
+ }, Qe = function Qe() {
3541
+ C = {}, S = null;
3542
+ var r = index.Vn().gitGraph.mainBranchName, n = index.Vn().gitGraph.mainBranchOrder;
3543
+ L = {}, L[r] = null, ee = {}, ee[r] = {
3544
+ name: r,
3545
+ order: n
3546
+ }, A = r, W = 0, index.B_();
3547
+ }, Xe = function Xe() {
3548
+ return Object.values(ee).map(function(n, l) {
3549
+ return n.order !== null ? n : _object_spread_props(_object_spread({}, n), {
3550
+ order: parseFloat("0.".concat(l), 10)
3551
+ });
3552
+ }).sort(function(n, l) {
3553
+ return n.order - l.order;
3554
+ }).map(function(param) {
3555
+ var n = param.name;
3556
+ return {
3557
+ name: n
3558
+ };
3559
+ });
3560
+ }, Ze = function Ze() {
3561
+ return L;
3562
+ }, $e = function $e() {
3563
+ return C;
3564
+ }, Ee = function Ee() {
3565
+ var r = Object.keys(C).map(function(n) {
3566
+ return C[n];
3567
+ });
3568
+ return r.forEach(function(n) {
3569
+ index.L.debug(n.id);
3570
+ }), r.sort(function(n, l) {
3571
+ return n.seq - l.seq;
3572
+ }), r;
3573
+ }, et = function et() {
3574
+ return A;
3575
+ }, tt = function tt() {
3576
+ return ke;
3577
+ }, rt = function rt() {
3578
+ return S;
3579
+ }, Q = {
3580
+ NORMAL: 0,
3581
+ REVERSE: 1,
3582
+ HIGHLIGHT: 2,
3583
+ MERGE: 3,
3584
+ CHERRY_PICK: 4
3585
+ }, it = {
3586
+ getConfig: function() {
3587
+ return index.Vn().gitGraph;
3588
+ },
3589
+ setDirection: je,
3590
+ setOptions: qe,
3591
+ getOptions: Ye,
3592
+ commit: Fe,
3593
+ branch: Ke,
3594
+ merge: Ue,
3595
+ cherryPick: We,
3596
+ checkout: ye,
3597
+ //reset,
3598
+ prettyPrint: Je,
3599
+ clear: Qe,
3600
+ getBranchesAsObjArray: Xe,
3601
+ getBranches: Ze,
3602
+ getCommits: $e,
3603
+ getCommitsArray: Ee,
3604
+ getCurrentBranch: et,
3605
+ getDirection: tt,
3606
+ getHead: rt,
3607
+ setAccTitle: index.F_,
3608
+ getAccTitle: index.A_,
3609
+ getAccDescription: index.E_,
3610
+ setAccDescription: index.L_,
3611
+ setDiagramTitle: index.M_,
3612
+ getDiagramTitle: index.O_,
3613
+ commitType: Q
3614
+ };
3615
+ var Z = {};
3616
+ var P = {
3617
+ NORMAL: 0,
3618
+ REVERSE: 1,
3619
+ HIGHLIGHT: 2,
3620
+ MERGE: 3,
3621
+ CHERRY_PICK: 4
3622
+ }, U = 8;
3623
+ var H = {}, Y = {}, ne = [], te = 0, w = "LR";
3624
+ var st = function() {
3625
+ H = {}, Y = {}, Z = {}, te = 0, ne = [], w = "LR";
3626
+ }, Te = function(r) {
3627
+ var n = document.createElementNS("http://www.w3.org/2000/svg", "text");
3628
+ var l = [];
3629
+ typeof r == "string" ? l = r.split(/\\n|\n|<br\s*\/?>/gi) : Array.isArray(r) ? l = r : l = [];
3630
+ var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
3631
+ try {
3632
+ for(var _iterator = l[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
3633
+ var h = _step.value;
3634
+ var i = document.createElementNS("http://www.w3.org/2000/svg", "tspan");
3635
+ i.setAttributeNS("http://www.w3.org/XML/1998/namespace", "xml:space", "preserve"), i.setAttribute("dy", "1em"), i.setAttribute("x", "0"), i.setAttribute("class", "row"), i.textContent = h.trim(), n.appendChild(i);
3636
+ }
3637
+ } catch (err) {
3638
+ _didIteratorError = true;
3639
+ _iteratorError = err;
3640
+ } finally{
3641
+ try {
3642
+ if (!_iteratorNormalCompletion && _iterator.return != null) {
3643
+ _iterator.return();
3644
+ }
3645
+ } finally{
3646
+ if (_didIteratorError) {
3647
+ throw _iteratorError;
3648
+ }
3649
+ }
3650
+ }
3651
+ return n;
3652
+ }, at = function(r) {
3653
+ var n = "", l = 0;
3654
+ return r.forEach(function(h) {
3655
+ var i = w === "TB" ? Y[h].y : Y[h].x;
3656
+ i >= l && (n = h, l = i);
3657
+ }), n || void 0;
3658
+ }, de = function(r, n, l) {
3659
+ var h = index.Vn().gitGraph, i = r.append("g").attr("class", "commit-bullets"), c = r.append("g").attr("class", "commit-labels");
3660
+ var p = 0;
3661
+ w === "TB" && (p = 30);
3662
+ var x = Object.keys(n).sort(function(_, b) {
3663
+ return n[_].seq - n[b].seq;
3664
+ }), y = h.parallelCommits, a = 10, R = 40;
3665
+ x.forEach(function(_) {
3666
+ var b = n[_];
3667
+ if (y) if (b.parents.length) {
3668
+ var E = at(b.parents);
3669
+ p = w === "TB" ? Y[E].y + R : Y[E].x + R;
3670
+ } else p = 0, w === "TB" && (p = 30);
3671
+ var f = p + a, k = w === "TB" ? f : H[b.branch].pos, g = w === "TB" ? H[b.branch].pos : f;
3672
+ if (l) {
3673
+ var E1, z = b.customType !== void 0 && b.customType !== "" ? b.customType : b.type;
3674
+ switch(z){
3675
+ case P.NORMAL:
3676
+ E1 = "commit-normal";
3677
+ break;
3678
+ case P.REVERSE:
3679
+ E1 = "commit-reverse";
3680
+ break;
3681
+ case P.HIGHLIGHT:
3682
+ E1 = "commit-highlight";
3683
+ break;
3684
+ case P.MERGE:
3685
+ E1 = "commit-merge";
3686
+ break;
3687
+ case P.CHERRY_PICK:
3688
+ E1 = "commit-cherry-pick";
3689
+ break;
3690
+ default:
3691
+ E1 = "commit-normal";
3692
+ }
3693
+ if (z === P.HIGHLIGHT) {
3694
+ var M = i.append("rect");
3695
+ M.attr("x", g - 10), M.attr("y", k - 10), M.attr("height", 20), M.attr("width", 20), M.attr("class", "commit ".concat(b.id, " commit-highlight").concat(H[b.branch].index % U, " ").concat(E1, "-outer")), i.append("rect").attr("x", g - 6).attr("y", k - 6).attr("height", 12).attr("width", 12).attr("class", "commit ".concat(b.id, " commit").concat(H[b.branch].index % U, " ").concat(E1, "-inner"));
3696
+ } else if (z === P.CHERRY_PICK) i.append("circle").attr("cx", g).attr("cy", k).attr("r", 10).attr("class", "commit ".concat(b.id, " ").concat(E1)), i.append("circle").attr("cx", g - 3).attr("cy", k + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", "commit ".concat(b.id, " ").concat(E1)), i.append("circle").attr("cx", g + 3).attr("cy", k + 2).attr("r", 2.75).attr("fill", "#fff").attr("class", "commit ".concat(b.id, " ").concat(E1)), i.append("line").attr("x1", g + 3).attr("y1", k + 1).attr("x2", g).attr("y2", k - 5).attr("stroke", "#fff").attr("class", "commit ".concat(b.id, " ").concat(E1)), i.append("line").attr("x1", g - 3).attr("y1", k + 1).attr("x2", g).attr("y2", k - 5).attr("stroke", "#fff").attr("class", "commit ".concat(b.id, " ").concat(E1));
3697
+ else {
3698
+ var M1 = i.append("circle");
3699
+ if (M1.attr("cx", g), M1.attr("cy", k), M1.attr("r", b.type === P.MERGE ? 9 : 10), M1.attr("class", "commit ".concat(b.id, " commit").concat(H[b.branch].index % U)), z === P.MERGE) {
3700
+ var I = i.append("circle");
3701
+ I.attr("cx", g), I.attr("cy", k), I.attr("r", 6), I.attr("class", "commit ".concat(E1, " ").concat(b.id, " commit").concat(H[b.branch].index % U));
3702
+ }
3703
+ z === P.REVERSE && i.append("path").attr("d", "M ".concat(g - 5, ",").concat(k - 5, "L").concat(g + 5, ",").concat(k + 5, "M").concat(g - 5, ",").concat(k + 5, "L").concat(g + 5, ",").concat(k - 5)).attr("class", "commit ".concat(E1, " ").concat(b.id, " commit").concat(H[b.branch].index % U));
3704
+ }
3705
+ }
3706
+ if (w === "TB" ? Y[b.id] = {
3707
+ x: g,
3708
+ y: f
3709
+ } : Y[b.id] = {
3710
+ x: f,
3711
+ y: k
3712
+ }, l) {
3713
+ if (b.type !== P.CHERRY_PICK && (b.customId && b.type === P.MERGE || b.type !== P.MERGE) && h.showCommitLabel) {
3714
+ var M2 = c.append("g"), I1 = M2.insert("rect").attr("class", "commit-label-bkg"), G = M2.append("text").attr("x", p).attr("y", k + 25).attr("class", "commit-label").text(b.id);
3715
+ var o = G.node().getBBox();
3716
+ if (I1.attr("x", f - o.width / 2 - 2).attr("y", k + 13.5).attr("width", o.width + 2 * 2).attr("height", o.height + 2 * 2), w === "TB" && (I1.attr("x", g - (o.width + 4 * 4 + 5)).attr("y", k - 12), G.attr("x", g - (o.width + 4 * 4)).attr("y", k + o.height - 12)), w !== "TB" && G.attr("x", f - o.width / 2), h.rotateCommitLabel) if (w === "TB") G.attr("transform", "rotate(-45, " + g + ", " + k + ")"), I1.attr("transform", "rotate(-45, " + g + ", " + k + ")");
3717
+ else {
3718
+ var u = -7.5 - (o.width + 10) / 25 * 9.5, d = 10 + o.width / 25 * 8.5;
3719
+ M2.attr("transform", "translate(" + u + ", " + d + ") rotate(-45, " + p + ", " + k + ")");
3720
+ }
3721
+ }
3722
+ if (b.tag) {
3723
+ var M3 = c.insert("polygon"), I2 = c.append("circle"), G1 = c.append("text").attr("y", k - 16).attr("class", "tag-label").text(b.tag);
3724
+ var o1 = G1.node().getBBox();
3725
+ G1.attr("x", f - o1.width / 2);
3726
+ var u1 = o1.height / 2, d1 = k - 19.2;
3727
+ M3.attr("class", "tag-label-bkg").attr("points", "\n ".concat(p - o1.width / 2 - 4 / 2, ",").concat(d1 + 2, "\n ").concat(p - o1.width / 2 - 4 / 2, ",").concat(d1 - 2, "\n ").concat(f - o1.width / 2 - 4, ",").concat(d1 - u1 - 2, "\n ").concat(f + o1.width / 2 + 4, ",").concat(d1 - u1 - 2, "\n ").concat(f + o1.width / 2 + 4, ",").concat(d1 + u1 + 2, "\n ").concat(f - o1.width / 2 - 4, ",").concat(d1 + u1 + 2)), I2.attr("cx", p - o1.width / 2 + 4 / 2).attr("cy", d1).attr("r", 1.5).attr("class", "tag-hole"), w === "TB" && (M3.attr("class", "tag-label-bkg").attr("points", "\n ".concat(g, ",").concat(p + 2, "\n ").concat(g, ",").concat(p - 2, "\n ").concat(g + a, ",").concat(p - u1 - 2, "\n ").concat(g + a + o1.width + 4, ",").concat(p - u1 - 2, "\n ").concat(g + a + o1.width + 4, ",").concat(p + u1 + 2, "\n ").concat(g + a, ",").concat(p + u1 + 2)).attr("transform", "translate(12,12) rotate(45, " + g + "," + p + ")"), I2.attr("cx", g + 4 / 2).attr("cy", p).attr("transform", "translate(12,12) rotate(45, " + g + "," + p + ")"), G1.attr("x", g + 5).attr("y", p + 3).attr("transform", "translate(14,14) rotate(45, " + g + "," + p + ")"));
3728
+ }
3729
+ }
3730
+ p += R + a, p > te && (te = p);
3731
+ });
3732
+ }, nt = function(r, n, l, h, i) {
3733
+ var p = (w === "TB" ? l.x < h.x : l.y < h.y) ? n.branch : r.branch, m = function(y) {
3734
+ return y.branch === p;
3735
+ }, x = function(y) {
3736
+ return y.seq > r.seq && y.seq < n.seq;
3737
+ };
3738
+ return Object.values(i).some(function(y) {
3739
+ return x(y) && m(y);
3740
+ });
3741
+ }, $ = function(r, n) {
3742
+ var l = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : 0;
3743
+ var h = r + Math.abs(r - n) / 2;
3744
+ if (l > 5) return h;
3745
+ if (ne.every(function(p) {
3746
+ return Math.abs(p - h) >= 10;
3747
+ })) return ne.push(h), h;
3748
+ var c = Math.abs(r - n);
3749
+ return $(r, n - c / 5, l + 1);
3750
+ }, ct = function(r, n, l, h) {
3751
+ var i = Y[n.id], c = Y[l.id], p = nt(n, l, i, c, h);
3752
+ var m = "", x = "", y = 0, a = 0, R = H[l.branch].index;
3753
+ l.type === P.MERGE && n.id !== l.parents[0] && (R = H[n.branch].index);
3754
+ var _;
3755
+ if (p) {
3756
+ m = "A 10 10, 0, 0, 0,", x = "A 10 10, 0, 0, 1,", y = 10, a = 10;
3757
+ var b = i.y < c.y ? $(i.y, c.y) : $(c.y, i.y), f = i.x < c.x ? $(i.x, c.x) : $(c.x, i.x);
3758
+ w === "TB" ? i.x < c.x ? _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(f - y, " ").concat(i.y, " ").concat(x, " ").concat(f, " ").concat(i.y + a, " L ").concat(f, " ").concat(c.y - y, " ").concat(m, " ").concat(f + a, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y) : (R = H[n.branch].index, _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(f + y, " ").concat(i.y, " ").concat(m, " ").concat(f, " ").concat(i.y + a, " L ").concat(f, " ").concat(c.y - y, " ").concat(x, " ").concat(f - a, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y)) : i.y < c.y ? _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(i.x, " ").concat(b - y, " ").concat(m, " ").concat(i.x + a, " ").concat(b, " L ").concat(c.x - y, " ").concat(b, " ").concat(x, " ").concat(c.x, " ").concat(b + a, " L ").concat(c.x, " ").concat(c.y) : (R = H[n.branch].index, _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(i.x, " ").concat(b + y, " ").concat(x, " ").concat(i.x + a, " ").concat(b, " L ").concat(c.x - y, " ").concat(b, " ").concat(m, " ").concat(c.x, " ").concat(b - a, " L ").concat(c.x, " ").concat(c.y));
3759
+ } else m = "A 20 20, 0, 0, 0,", x = "A 20 20, 0, 0, 1,", y = 20, a = 20, w === "TB" ? (i.x < c.x && (l.type === P.MERGE && n.id !== l.parents[0] ? _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(i.x, " ").concat(c.y - y, " ").concat(m, " ").concat(i.x + a, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y) : _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(c.x - y, " ").concat(i.y, " ").concat(x, " ").concat(c.x, " ").concat(i.y + a, " L ").concat(c.x, " ").concat(c.y)), i.x > c.x && (m = "A 20 20, 0, 0, 0,", x = "A 20 20, 0, 0, 1,", y = 20, a = 20, l.type === P.MERGE && n.id !== l.parents[0] ? _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(i.x, " ").concat(c.y - y, " ").concat(x, " ").concat(i.x - a, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y) : _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(c.x + y, " ").concat(i.y, " ").concat(m, " ").concat(c.x, " ").concat(i.y + a, " L ").concat(c.x, " ").concat(c.y)), i.x === c.x && (_ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(c.x, " ").concat(c.y))) : (i.y < c.y && (l.type === P.MERGE && n.id !== l.parents[0] ? _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(c.x - y, " ").concat(i.y, " ").concat(x, " ").concat(c.x, " ").concat(i.y + a, " L ").concat(c.x, " ").concat(c.y) : _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(i.x, " ").concat(c.y - y, " ").concat(m, " ").concat(i.x + a, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y)), i.y > c.y && (l.type === P.MERGE && n.id !== l.parents[0] ? _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(c.x - y, " ").concat(i.y, " ").concat(m, " ").concat(c.x, " ").concat(i.y - a, " L ").concat(c.x, " ").concat(c.y) : _ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(i.x, " ").concat(c.y + y, " ").concat(x, " ").concat(i.x + a, " ").concat(c.y, " L ").concat(c.x, " ").concat(c.y)), i.y === c.y && (_ = "M ".concat(i.x, " ").concat(i.y, " L ").concat(c.x, " ").concat(c.y)));
3760
+ r.append("path").attr("d", _).attr("class", "arrow arrow" + R % U);
3761
+ }, ot = function(r, n) {
3762
+ var l = r.append("g").attr("class", "commit-arrows");
3763
+ Object.keys(n).forEach(function(h) {
3764
+ var i = n[h];
3765
+ i.parents && i.parents.length > 0 && i.parents.forEach(function(c) {
3766
+ ct(l, n[c], i, n);
3767
+ });
3768
+ });
3769
+ }, lt = function(r, n) {
3770
+ var l = index.Vn().gitGraph, h = r.append("g");
3771
+ n.forEach(function(i, c) {
3772
+ var p = c % U, m = H[i.name].pos, x = h.append("line");
3773
+ x.attr("x1", 0), x.attr("y1", m), x.attr("x2", te), x.attr("y2", m), x.attr("class", "branch branch" + p), w === "TB" && (x.attr("y1", 30), x.attr("x1", m), x.attr("y2", te), x.attr("x2", m)), ne.push(m);
3774
+ var y = i.name;
3775
+ var a = Te(y), R = h.insert("rect"), b = h.insert("g").attr("class", "branchLabel").insert("g").attr("class", "label branch-label" + p);
3776
+ b.node().appendChild(a);
3777
+ var f = a.getBBox();
3778
+ R.attr("class", "branchLabelBkg label" + p).attr("rx", 4).attr("ry", 4).attr("x", -f.width - 4 - (l.rotateCommitLabel === !0 ? 30 : 0)).attr("y", -f.height / 2 + 8).attr("width", f.width + 18).attr("height", f.height + 4), b.attr("transform", "translate(" + (-f.width - 14 - (l.rotateCommitLabel === !0 ? 30 : 0)) + ", " + (m - f.height / 2 - 1) + ")"), w === "TB" && (R.attr("x", m - f.width / 2 - 10).attr("y", 0), b.attr("transform", "translate(" + (m - f.width / 2 - 5) + ", 0)")), w !== "TB" && R.attr("transform", "translate(-19, " + (m - f.height / 2) + ")");
3779
+ });
3780
+ }, ht = function ht(r, n, l, h) {
3781
+ st();
3782
+ var i = index.Vn(), c = i.gitGraph;
3783
+ index.L.debug("in gitgraph renderer", r + "\n", "id:", n, l), Z = h.db.getCommits();
3784
+ var p = h.db.getBranchesAsObjArray();
3785
+ w = h.db.getDirection();
3786
+ var m = index.bt('[id="'.concat(n, '"]'));
3787
+ var x = 0;
3788
+ var _c_useMaxWidth;
3789
+ p.forEach(function(y, a) {
3790
+ var R = Te(y.name), _ = m.append("g"), b = _.insert("g").attr("class", "branchLabel"), f = b.insert("g").attr("class", "label branch-label");
3791
+ f.node().appendChild(R);
3792
+ var k = R.getBBox();
3793
+ H[y.name] = {
3794
+ pos: x,
3795
+ index: a
3796
+ }, x += 50 + (c.rotateCommitLabel ? 40 : 0) + (w === "TB" ? k.width / 2 : 0), f.remove(), b.remove(), _.remove();
3797
+ }), de(m, Z, !1), c.showBranches && lt(m, p), ot(m, Z), de(m, Z, !0), index.ei.insertTitle(m, "gitTitleText", c.titleTopMargin, h.db.getDiagramTitle()), index.R_(void 0, m, c.diagramPadding, (_c_useMaxWidth = c.useMaxWidth) !== null && _c_useMaxWidth !== void 0 ? _c_useMaxWidth : i.useMaxWidth);
3798
+ }, mt = {
3799
+ draw: ht
3800
+ }, ut = function(r) {
3801
+ return "\n .commit-id,\n .commit-msg,\n .branch-label {\n fill: lightgrey;\n color: lightgrey;\n font-family: 'trebuchet ms', verdana, arial, sans-serif;\n font-family: var(--mermaid-font-family);\n }\n ".concat([
3802
+ 0,
3803
+ 1,
3804
+ 2,
3805
+ 3,
3806
+ 4,
3807
+ 5,
3808
+ 6,
3809
+ 7
3810
+ ].map(function(n) {
3811
+ return "\n .branch-label".concat(n, " { fill: ").concat(r["gitBranchLabel" + n], "; }\n .commit").concat(n, " { stroke: ").concat(r["git" + n], "; fill: ").concat(r["git" + n], "; }\n .commit-highlight").concat(n, " { stroke: ").concat(r["gitInv" + n], "; fill: ").concat(r["gitInv" + n], "; }\n .label").concat(n, " { fill: ").concat(r["git" + n], "; }\n .arrow").concat(n, " { stroke: ").concat(r["git" + n], "; }\n ");
3812
+ }).join("\n"), "\n\n .branch {\n stroke-width: 1;\n stroke: ").concat(r.lineColor, ";\n stroke-dasharray: 2;\n }\n .commit-label { font-size: ").concat(r.commitLabelFontSize, "; fill: ").concat(r.commitLabelColor, ";}\n .commit-label-bkg { font-size: ").concat(r.commitLabelFontSize, "; fill: ").concat(r.commitLabelBackground, "; opacity: 0.5; }\n .tag-label { font-size: ").concat(r.tagLabelFontSize, "; fill: ").concat(r.tagLabelColor, ";}\n .tag-label-bkg { fill: ").concat(r.tagLabelBackground, "; stroke: ").concat(r.tagLabelBorder, "; }\n .tag-hole { fill: ").concat(r.textColor, "; }\n\n .commit-merge {\n stroke: ").concat(r.primaryColor, ";\n fill: ").concat(r.primaryColor, ";\n }\n .commit-reverse {\n stroke: ").concat(r.primaryColor, ";\n fill: ").concat(r.primaryColor, ";\n stroke-width: 3;\n }\n .commit-highlight-outer {\n }\n .commit-highlight-inner {\n stroke: ").concat(r.primaryColor, ";\n fill: ").concat(r.primaryColor, ";\n }\n\n .arrow { stroke-width: 8; stroke-linecap: round; fill: none}\n .gitTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ").concat(r.textColor, ";\n }\n");
3813
+ }, ft = ut, bt = {
3814
+ parser: Ve,
3815
+ db: it,
3816
+ renderer: mt,
3817
+ styles: ft
3818
+ };
3819
+
3820
+ exports.diagram = bt;