@digipair/skill-web-chatbot 0.114.2 → 0.114.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (48) hide show
  1. package/dist/index.cjs.js +2118 -8
  2. package/package.json +6 -2
  3. package/dist/SAP-icons.cjs.js +0 -2489
  4. package/dist/SAP-icons.cjs2.js +0 -2489
  5. package/dist/Tableau10-558cc280.cjs.js +0 -9
  6. package/dist/arc-d1f6357e.cjs.js +0 -88
  7. package/dist/array-2ff2c7a6.cjs.js +0 -11
  8. package/dist/blockDiagram-5dc23a45.cjs.js +0 -2916
  9. package/dist/c4Diagram-1e775db3.cjs.js +0 -4386
  10. package/dist/channel-ebbc4130.cjs.js +0 -9
  11. package/dist/classDiagram-f52caa06.cjs.js +0 -209
  12. package/dist/classDiagram-v2-640c694e.cjs.js +0 -401
  13. package/dist/clone-afc2f047.cjs.js +0 -10
  14. package/dist/createText-03b82060.cjs.js +0 -2940
  15. package/dist/edges-16357fde.cjs.js +0 -2002
  16. package/dist/erDiagram-c7ff1bec.cjs.js +0 -1807
  17. package/dist/flowDb-9a89ea33.cjs.js +0 -5542
  18. package/dist/flowDiagram-aadb13b0.cjs.js +0 -1351
  19. package/dist/flowDiagram-v2-f2119625.cjs.js +0 -31
  20. package/dist/flowchart-elk-definition-cf813a97.cjs.js +0 -50248
  21. package/dist/ganttDiagram-3c2fde2b.cjs.js +0 -3710
  22. package/dist/gitGraphDiagram-c3a0619c.cjs.js +0 -3815
  23. package/dist/graph-0ee63739.cjs.js +0 -954
  24. package/dist/index-bb6d8841.cjs.js +0 -648
  25. package/dist/index.cjs2.js +0 -76743
  26. package/dist/infoDiagram-2f5c50c0.cjs.js +0 -460
  27. package/dist/init-f9637058.cjs.js +0 -17
  28. package/dist/journeyDiagram-14fe341a.cjs.js +0 -1061
  29. package/dist/katex-d90b6d29.cjs.js +0 -25690
  30. package/dist/layout-fd473db2.cjs.js +0 -1613
  31. package/dist/line-24d93f1b.cjs.js +0 -34
  32. package/dist/linear-9bcf74c4.cjs.js +0 -537
  33. package/dist/mindmap-definition-9399c7e6.cjs.js +0 -20488
  34. package/dist/ordinal-5695958c.cjs.js +0 -330
  35. package/dist/path-428ebac9.cjs.js +0 -316
  36. package/dist/pieDiagram-828dae43.cjs.js +0 -949
  37. package/dist/quadrantDiagram-5fa00455.cjs.js +0 -2409
  38. package/dist/requirementDiagram-03163dc4.cjs.js +0 -2267
  39. package/dist/sankeyDiagram-52ec8976.cjs.js +0 -1848
  40. package/dist/sequenceDiagram-b517d154.cjs.js +0 -5948
  41. package/dist/stateDiagram-fca82b5b.cjs.js +0 -283
  42. package/dist/stateDiagram-v2-ed04200a.cjs.js +0 -373
  43. package/dist/styles-11e81fdd.cjs.js +0 -3943
  44. package/dist/styles-cacbff60.cjs.js +0 -2120
  45. package/dist/styles-e75131e4.cjs.js +0 -671
  46. package/dist/svgDrawCommon-ecc5f780.cjs.js +0 -68
  47. package/dist/timeline-definition-4ee9bff4.cjs.js +0 -1161
  48. package/dist/xychartDiagram-e5e6b652.cjs.js +0 -3150
@@ -1,4386 +0,0 @@
1
- 'use strict';
2
-
3
- var index = require('./index.cjs2.js');
4
- var svgDrawCommonEcc5f780 = require('./svgDrawCommon-ecc5f780.cjs.js');
5
-
6
- function _array_like_to_array(arr, len) {
7
- if (len == null || len > arr.length) len = arr.length;
8
- for(var i = 0, arr2 = new Array(len); i < len; i++)arr2[i] = arr[i];
9
- return arr2;
10
- }
11
- function _array_with_holes(arr) {
12
- if (Array.isArray(arr)) return arr;
13
- }
14
- function _array_without_holes(arr) {
15
- if (Array.isArray(arr)) return _array_like_to_array(arr);
16
- }
17
- function _class_call_check(instance, Constructor) {
18
- if (!(instance instanceof Constructor)) {
19
- throw new TypeError("Cannot call a class as a function");
20
- }
21
- }
22
- function _defineProperties(target, props) {
23
- for(var i = 0; i < props.length; i++){
24
- var descriptor = props[i];
25
- descriptor.enumerable = descriptor.enumerable || false;
26
- descriptor.configurable = true;
27
- if ("value" in descriptor) descriptor.writable = true;
28
- Object.defineProperty(target, descriptor.key, descriptor);
29
- }
30
- }
31
- function _create_class(Constructor, protoProps, staticProps) {
32
- if (protoProps) _defineProperties(Constructor.prototype, protoProps);
33
- return Constructor;
34
- }
35
- function _instanceof(left, right) {
36
- if (right != null && typeof Symbol !== "undefined" && right[Symbol.hasInstance]) {
37
- return !!right[Symbol.hasInstance](left);
38
- } else {
39
- return left instanceof right;
40
- }
41
- }
42
- function _iterable_to_array(iter) {
43
- if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
44
- }
45
- function _iterable_to_array_limit(arr, i) {
46
- var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];
47
- if (_i == null) return;
48
- var _arr = [];
49
- var _n = true;
50
- var _d = false;
51
- var _s, _e;
52
- try {
53
- for(_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true){
54
- _arr.push(_s.value);
55
- if (i && _arr.length === i) break;
56
- }
57
- } catch (err) {
58
- _d = true;
59
- _e = err;
60
- } finally{
61
- try {
62
- if (!_n && _i["return"] != null) _i["return"]();
63
- } finally{
64
- if (_d) throw _e;
65
- }
66
- }
67
- return _arr;
68
- }
69
- function _non_iterable_rest() {
70
- throw new TypeError("Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
71
- }
72
- function _non_iterable_spread() {
73
- throw new TypeError("Invalid attempt to spread non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
74
- }
75
- function _sliced_to_array(arr, i) {
76
- return _array_with_holes(arr) || _iterable_to_array_limit(arr, i) || _unsupported_iterable_to_array(arr, i) || _non_iterable_rest();
77
- }
78
- function _to_consumable_array(arr) {
79
- return _array_without_holes(arr) || _iterable_to_array(arr) || _unsupported_iterable_to_array(arr) || _non_iterable_spread();
80
- }
81
- function _type_of(obj) {
82
- "@swc/helpers - typeof";
83
- return obj && typeof Symbol !== "undefined" && obj.constructor === Symbol ? "symbol" : typeof obj;
84
- }
85
- function _unsupported_iterable_to_array(o, minLen) {
86
- if (!o) return;
87
- if (typeof o === "string") return _array_like_to_array(o, minLen);
88
- var n = Object.prototype.toString.call(o).slice(8, -1);
89
- if (n === "Object" && o.constructor) n = o.constructor.name;
90
- if (n === "Map" || n === "Set") return Array.from(n);
91
- if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _array_like_to_array(o, minLen);
92
- }
93
- var Yt = function() {
94
- var e = function e(bt, _, x, m) {
95
- for(x = x || {}, m = bt.length; m--; x[bt[m]] = _);
96
- return x;
97
- }, t = [
98
- 1,
99
- 24
100
- ], r = [
101
- 1,
102
- 25
103
- ], o = [
104
- 1,
105
- 26
106
- ], l = [
107
- 1,
108
- 27
109
- ], n = [
110
- 1,
111
- 28
112
- ], a = [
113
- 1,
114
- 63
115
- ], s = [
116
- 1,
117
- 64
118
- ], i = [
119
- 1,
120
- 65
121
- ], u = [
122
- 1,
123
- 66
124
- ], d = [
125
- 1,
126
- 67
127
- ], f = [
128
- 1,
129
- 68
130
- ], p = [
131
- 1,
132
- 69
133
- ], E = [
134
- 1,
135
- 29
136
- ], O = [
137
- 1,
138
- 30
139
- ], R = [
140
- 1,
141
- 31
142
- ], S = [
143
- 1,
144
- 32
145
- ], L = [
146
- 1,
147
- 33
148
- ], Y = [
149
- 1,
150
- 34
151
- ], Q = [
152
- 1,
153
- 35
154
- ], H = [
155
- 1,
156
- 36
157
- ], q = [
158
- 1,
159
- 37
160
- ], G = [
161
- 1,
162
- 38
163
- ], K = [
164
- 1,
165
- 39
166
- ], J = [
167
- 1,
168
- 40
169
- ], Z = [
170
- 1,
171
- 41
172
- ], $ = [
173
- 1,
174
- 42
175
- ], tt = [
176
- 1,
177
- 43
178
- ], et = [
179
- 1,
180
- 44
181
- ], nt = [
182
- 1,
183
- 45
184
- ], it = [
185
- 1,
186
- 46
187
- ], st = [
188
- 1,
189
- 47
190
- ], at = [
191
- 1,
192
- 48
193
- ], rt = [
194
- 1,
195
- 50
196
- ], lt = [
197
- 1,
198
- 51
199
- ], ot = [
200
- 1,
201
- 52
202
- ], ct = [
203
- 1,
204
- 53
205
- ], ht = [
206
- 1,
207
- 54
208
- ], ut = [
209
- 1,
210
- 55
211
- ], dt = [
212
- 1,
213
- 56
214
- ], ft = [
215
- 1,
216
- 57
217
- ], pt = [
218
- 1,
219
- 58
220
- ], yt = [
221
- 1,
222
- 59
223
- ], gt = [
224
- 1,
225
- 60
226
- ], Ct = [
227
- 14,
228
- 42
229
- ], Vt = [
230
- 14,
231
- 34,
232
- 36,
233
- 37,
234
- 38,
235
- 39,
236
- 40,
237
- 41,
238
- 42,
239
- 44,
240
- 45,
241
- 46,
242
- 47,
243
- 48,
244
- 49,
245
- 50,
246
- 51,
247
- 52,
248
- 53,
249
- 54,
250
- 55,
251
- 56,
252
- 57,
253
- 58,
254
- 59,
255
- 60,
256
- 61,
257
- 62,
258
- 63,
259
- 64,
260
- 65,
261
- 66,
262
- 67,
263
- 68,
264
- 69,
265
- 70,
266
- 71,
267
- 72,
268
- 73,
269
- 74
270
- ], Ot = [
271
- 12,
272
- 14,
273
- 34,
274
- 36,
275
- 37,
276
- 38,
277
- 39,
278
- 40,
279
- 41,
280
- 42,
281
- 44,
282
- 45,
283
- 46,
284
- 47,
285
- 48,
286
- 49,
287
- 50,
288
- 51,
289
- 52,
290
- 53,
291
- 54,
292
- 55,
293
- 56,
294
- 57,
295
- 58,
296
- 59,
297
- 60,
298
- 61,
299
- 62,
300
- 63,
301
- 64,
302
- 65,
303
- 66,
304
- 67,
305
- 68,
306
- 69,
307
- 70,
308
- 71,
309
- 72,
310
- 73,
311
- 74
312
- ], k = [
313
- 1,
314
- 82
315
- ], A = [
316
- 1,
317
- 83
318
- ], C = [
319
- 1,
320
- 84
321
- ], v = [
322
- 1,
323
- 85
324
- ], w = [
325
- 12,
326
- 14,
327
- 42
328
- ], ie = [
329
- 12,
330
- 14,
331
- 33,
332
- 42
333
- ], Pt = [
334
- 12,
335
- 14,
336
- 33,
337
- 42,
338
- 76,
339
- 77,
340
- 79,
341
- 80
342
- ], mt = [
343
- 12,
344
- 33
345
- ], zt = [
346
- 34,
347
- 36,
348
- 37,
349
- 38,
350
- 39,
351
- 40,
352
- 41,
353
- 44,
354
- 45,
355
- 46,
356
- 47,
357
- 48,
358
- 49,
359
- 50,
360
- 51,
361
- 52,
362
- 53,
363
- 54,
364
- 55,
365
- 56,
366
- 57,
367
- 58,
368
- 59,
369
- 60,
370
- 61,
371
- 62,
372
- 63,
373
- 64,
374
- 65,
375
- 66,
376
- 67,
377
- 68,
378
- 69,
379
- 70,
380
- 71,
381
- 72,
382
- 73,
383
- 74
384
- ], Xt = {
385
- trace: function trace() {},
386
- yy: {},
387
- symbols_: {
388
- error: 2,
389
- start: 3,
390
- mermaidDoc: 4,
391
- direction: 5,
392
- direction_tb: 6,
393
- direction_bt: 7,
394
- direction_rl: 8,
395
- direction_lr: 9,
396
- graphConfig: 10,
397
- C4_CONTEXT: 11,
398
- NEWLINE: 12,
399
- statements: 13,
400
- EOF: 14,
401
- C4_CONTAINER: 15,
402
- C4_COMPONENT: 16,
403
- C4_DYNAMIC: 17,
404
- C4_DEPLOYMENT: 18,
405
- otherStatements: 19,
406
- diagramStatements: 20,
407
- otherStatement: 21,
408
- title: 22,
409
- accDescription: 23,
410
- acc_title: 24,
411
- acc_title_value: 25,
412
- acc_descr: 26,
413
- acc_descr_value: 27,
414
- acc_descr_multiline_value: 28,
415
- boundaryStatement: 29,
416
- boundaryStartStatement: 30,
417
- boundaryStopStatement: 31,
418
- boundaryStart: 32,
419
- LBRACE: 33,
420
- ENTERPRISE_BOUNDARY: 34,
421
- attributes: 35,
422
- SYSTEM_BOUNDARY: 36,
423
- BOUNDARY: 37,
424
- CONTAINER_BOUNDARY: 38,
425
- NODE: 39,
426
- NODE_L: 40,
427
- NODE_R: 41,
428
- RBRACE: 42,
429
- diagramStatement: 43,
430
- PERSON: 44,
431
- PERSON_EXT: 45,
432
- SYSTEM: 46,
433
- SYSTEM_DB: 47,
434
- SYSTEM_QUEUE: 48,
435
- SYSTEM_EXT: 49,
436
- SYSTEM_EXT_DB: 50,
437
- SYSTEM_EXT_QUEUE: 51,
438
- CONTAINER: 52,
439
- CONTAINER_DB: 53,
440
- CONTAINER_QUEUE: 54,
441
- CONTAINER_EXT: 55,
442
- CONTAINER_EXT_DB: 56,
443
- CONTAINER_EXT_QUEUE: 57,
444
- COMPONENT: 58,
445
- COMPONENT_DB: 59,
446
- COMPONENT_QUEUE: 60,
447
- COMPONENT_EXT: 61,
448
- COMPONENT_EXT_DB: 62,
449
- COMPONENT_EXT_QUEUE: 63,
450
- REL: 64,
451
- BIREL: 65,
452
- REL_U: 66,
453
- REL_D: 67,
454
- REL_L: 68,
455
- REL_R: 69,
456
- REL_B: 70,
457
- REL_INDEX: 71,
458
- UPDATE_EL_STYLE: 72,
459
- UPDATE_REL_STYLE: 73,
460
- UPDATE_LAYOUT_CONFIG: 74,
461
- attribute: 75,
462
- STR: 76,
463
- STR_KEY: 77,
464
- STR_VALUE: 78,
465
- ATTRIBUTE: 79,
466
- ATTRIBUTE_EMPTY: 80,
467
- $accept: 0,
468
- $end: 1
469
- },
470
- terminals_: {
471
- 2: "error",
472
- 6: "direction_tb",
473
- 7: "direction_bt",
474
- 8: "direction_rl",
475
- 9: "direction_lr",
476
- 11: "C4_CONTEXT",
477
- 12: "NEWLINE",
478
- 14: "EOF",
479
- 15: "C4_CONTAINER",
480
- 16: "C4_COMPONENT",
481
- 17: "C4_DYNAMIC",
482
- 18: "C4_DEPLOYMENT",
483
- 22: "title",
484
- 23: "accDescription",
485
- 24: "acc_title",
486
- 25: "acc_title_value",
487
- 26: "acc_descr",
488
- 27: "acc_descr_value",
489
- 28: "acc_descr_multiline_value",
490
- 33: "LBRACE",
491
- 34: "ENTERPRISE_BOUNDARY",
492
- 36: "SYSTEM_BOUNDARY",
493
- 37: "BOUNDARY",
494
- 38: "CONTAINER_BOUNDARY",
495
- 39: "NODE",
496
- 40: "NODE_L",
497
- 41: "NODE_R",
498
- 42: "RBRACE",
499
- 44: "PERSON",
500
- 45: "PERSON_EXT",
501
- 46: "SYSTEM",
502
- 47: "SYSTEM_DB",
503
- 48: "SYSTEM_QUEUE",
504
- 49: "SYSTEM_EXT",
505
- 50: "SYSTEM_EXT_DB",
506
- 51: "SYSTEM_EXT_QUEUE",
507
- 52: "CONTAINER",
508
- 53: "CONTAINER_DB",
509
- 54: "CONTAINER_QUEUE",
510
- 55: "CONTAINER_EXT",
511
- 56: "CONTAINER_EXT_DB",
512
- 57: "CONTAINER_EXT_QUEUE",
513
- 58: "COMPONENT",
514
- 59: "COMPONENT_DB",
515
- 60: "COMPONENT_QUEUE",
516
- 61: "COMPONENT_EXT",
517
- 62: "COMPONENT_EXT_DB",
518
- 63: "COMPONENT_EXT_QUEUE",
519
- 64: "REL",
520
- 65: "BIREL",
521
- 66: "REL_U",
522
- 67: "REL_D",
523
- 68: "REL_L",
524
- 69: "REL_R",
525
- 70: "REL_B",
526
- 71: "REL_INDEX",
527
- 72: "UPDATE_EL_STYLE",
528
- 73: "UPDATE_REL_STYLE",
529
- 74: "UPDATE_LAYOUT_CONFIG",
530
- 76: "STR",
531
- 77: "STR_KEY",
532
- 78: "STR_VALUE",
533
- 79: "ATTRIBUTE",
534
- 80: "ATTRIBUTE_EMPTY"
535
- },
536
- productions_: [
537
- 0,
538
- [
539
- 3,
540
- 1
541
- ],
542
- [
543
- 3,
544
- 1
545
- ],
546
- [
547
- 5,
548
- 1
549
- ],
550
- [
551
- 5,
552
- 1
553
- ],
554
- [
555
- 5,
556
- 1
557
- ],
558
- [
559
- 5,
560
- 1
561
- ],
562
- [
563
- 4,
564
- 1
565
- ],
566
- [
567
- 10,
568
- 4
569
- ],
570
- [
571
- 10,
572
- 4
573
- ],
574
- [
575
- 10,
576
- 4
577
- ],
578
- [
579
- 10,
580
- 4
581
- ],
582
- [
583
- 10,
584
- 4
585
- ],
586
- [
587
- 13,
588
- 1
589
- ],
590
- [
591
- 13,
592
- 1
593
- ],
594
- [
595
- 13,
596
- 2
597
- ],
598
- [
599
- 19,
600
- 1
601
- ],
602
- [
603
- 19,
604
- 2
605
- ],
606
- [
607
- 19,
608
- 3
609
- ],
610
- [
611
- 21,
612
- 1
613
- ],
614
- [
615
- 21,
616
- 1
617
- ],
618
- [
619
- 21,
620
- 2
621
- ],
622
- [
623
- 21,
624
- 2
625
- ],
626
- [
627
- 21,
628
- 1
629
- ],
630
- [
631
- 29,
632
- 3
633
- ],
634
- [
635
- 30,
636
- 3
637
- ],
638
- [
639
- 30,
640
- 3
641
- ],
642
- [
643
- 30,
644
- 4
645
- ],
646
- [
647
- 32,
648
- 2
649
- ],
650
- [
651
- 32,
652
- 2
653
- ],
654
- [
655
- 32,
656
- 2
657
- ],
658
- [
659
- 32,
660
- 2
661
- ],
662
- [
663
- 32,
664
- 2
665
- ],
666
- [
667
- 32,
668
- 2
669
- ],
670
- [
671
- 32,
672
- 2
673
- ],
674
- [
675
- 31,
676
- 1
677
- ],
678
- [
679
- 20,
680
- 1
681
- ],
682
- [
683
- 20,
684
- 2
685
- ],
686
- [
687
- 20,
688
- 3
689
- ],
690
- [
691
- 43,
692
- 2
693
- ],
694
- [
695
- 43,
696
- 2
697
- ],
698
- [
699
- 43,
700
- 2
701
- ],
702
- [
703
- 43,
704
- 2
705
- ],
706
- [
707
- 43,
708
- 2
709
- ],
710
- [
711
- 43,
712
- 2
713
- ],
714
- [
715
- 43,
716
- 2
717
- ],
718
- [
719
- 43,
720
- 2
721
- ],
722
- [
723
- 43,
724
- 2
725
- ],
726
- [
727
- 43,
728
- 2
729
- ],
730
- [
731
- 43,
732
- 2
733
- ],
734
- [
735
- 43,
736
- 2
737
- ],
738
- [
739
- 43,
740
- 2
741
- ],
742
- [
743
- 43,
744
- 2
745
- ],
746
- [
747
- 43,
748
- 2
749
- ],
750
- [
751
- 43,
752
- 2
753
- ],
754
- [
755
- 43,
756
- 2
757
- ],
758
- [
759
- 43,
760
- 2
761
- ],
762
- [
763
- 43,
764
- 2
765
- ],
766
- [
767
- 43,
768
- 2
769
- ],
770
- [
771
- 43,
772
- 1
773
- ],
774
- [
775
- 43,
776
- 2
777
- ],
778
- [
779
- 43,
780
- 2
781
- ],
782
- [
783
- 43,
784
- 2
785
- ],
786
- [
787
- 43,
788
- 2
789
- ],
790
- [
791
- 43,
792
- 2
793
- ],
794
- [
795
- 43,
796
- 2
797
- ],
798
- [
799
- 43,
800
- 2
801
- ],
802
- [
803
- 43,
804
- 2
805
- ],
806
- [
807
- 43,
808
- 2
809
- ],
810
- [
811
- 43,
812
- 2
813
- ],
814
- [
815
- 43,
816
- 2
817
- ],
818
- [
819
- 35,
820
- 1
821
- ],
822
- [
823
- 35,
824
- 2
825
- ],
826
- [
827
- 75,
828
- 1
829
- ],
830
- [
831
- 75,
832
- 2
833
- ],
834
- [
835
- 75,
836
- 1
837
- ],
838
- [
839
- 75,
840
- 1
841
- ]
842
- ],
843
- performAction: function performAction(_, x, m, g, T, h, Tt) {
844
- var y = h.length - 1;
845
- switch(T){
846
- case 3:
847
- g.setDirection("TB");
848
- break;
849
- case 4:
850
- g.setDirection("BT");
851
- break;
852
- case 5:
853
- g.setDirection("RL");
854
- break;
855
- case 6:
856
- g.setDirection("LR");
857
- break;
858
- case 8:
859
- case 9:
860
- case 10:
861
- case 11:
862
- case 12:
863
- g.setC4Type(h[y - 3]);
864
- break;
865
- case 19:
866
- g.setTitle(h[y].substring(6)), this.$ = h[y].substring(6);
867
- break;
868
- case 20:
869
- g.setAccDescription(h[y].substring(15)), this.$ = h[y].substring(15);
870
- break;
871
- case 21:
872
- this.$ = h[y].trim(), g.setTitle(this.$);
873
- break;
874
- case 22:
875
- case 23:
876
- this.$ = h[y].trim(), g.setAccDescription(this.$);
877
- break;
878
- case 28:
879
- case 29:
880
- var _g;
881
- h[y].splice(2, 0, "ENTERPRISE"), (_g = g).addPersonOrSystemBoundary.apply(_g, _to_consumable_array(h[y])), this.$ = h[y];
882
- break;
883
- case 30:
884
- var _g1;
885
- (_g1 = g).addPersonOrSystemBoundary.apply(_g1, _to_consumable_array(h[y])), this.$ = h[y];
886
- break;
887
- case 31:
888
- var _g2;
889
- h[y].splice(2, 0, "CONTAINER"), (_g2 = g).addContainerBoundary.apply(_g2, _to_consumable_array(h[y])), this.$ = h[y];
890
- break;
891
- case 32:
892
- var _g3;
893
- (_g3 = g).addDeploymentNode.apply(_g3, [
894
- "node"
895
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
896
- break;
897
- case 33:
898
- var _g4;
899
- (_g4 = g).addDeploymentNode.apply(_g4, [
900
- "nodeL"
901
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
902
- break;
903
- case 34:
904
- var _g5;
905
- (_g5 = g).addDeploymentNode.apply(_g5, [
906
- "nodeR"
907
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
908
- break;
909
- case 35:
910
- g.popBoundaryParseStack();
911
- break;
912
- case 39:
913
- var _g6;
914
- (_g6 = g).addPersonOrSystem.apply(_g6, [
915
- "person"
916
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
917
- break;
918
- case 40:
919
- var _g7;
920
- (_g7 = g).addPersonOrSystem.apply(_g7, [
921
- "external_person"
922
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
923
- break;
924
- case 41:
925
- var _g8;
926
- (_g8 = g).addPersonOrSystem.apply(_g8, [
927
- "system"
928
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
929
- break;
930
- case 42:
931
- var _g9;
932
- (_g9 = g).addPersonOrSystem.apply(_g9, [
933
- "system_db"
934
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
935
- break;
936
- case 43:
937
- var _g10;
938
- (_g10 = g).addPersonOrSystem.apply(_g10, [
939
- "system_queue"
940
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
941
- break;
942
- case 44:
943
- var _g11;
944
- (_g11 = g).addPersonOrSystem.apply(_g11, [
945
- "external_system"
946
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
947
- break;
948
- case 45:
949
- var _g12;
950
- (_g12 = g).addPersonOrSystem.apply(_g12, [
951
- "external_system_db"
952
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
953
- break;
954
- case 46:
955
- var _g13;
956
- (_g13 = g).addPersonOrSystem.apply(_g13, [
957
- "external_system_queue"
958
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
959
- break;
960
- case 47:
961
- var _g14;
962
- (_g14 = g).addContainer.apply(_g14, [
963
- "container"
964
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
965
- break;
966
- case 48:
967
- var _g15;
968
- (_g15 = g).addContainer.apply(_g15, [
969
- "container_db"
970
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
971
- break;
972
- case 49:
973
- var _g16;
974
- (_g16 = g).addContainer.apply(_g16, [
975
- "container_queue"
976
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
977
- break;
978
- case 50:
979
- var _g17;
980
- (_g17 = g).addContainer.apply(_g17, [
981
- "external_container"
982
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
983
- break;
984
- case 51:
985
- var _g18;
986
- (_g18 = g).addContainer.apply(_g18, [
987
- "external_container_db"
988
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
989
- break;
990
- case 52:
991
- var _g19;
992
- (_g19 = g).addContainer.apply(_g19, [
993
- "external_container_queue"
994
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
995
- break;
996
- case 53:
997
- var _g20;
998
- (_g20 = g).addComponent.apply(_g20, [
999
- "component"
1000
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1001
- break;
1002
- case 54:
1003
- var _g21;
1004
- (_g21 = g).addComponent.apply(_g21, [
1005
- "component_db"
1006
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1007
- break;
1008
- case 55:
1009
- var _g22;
1010
- (_g22 = g).addComponent.apply(_g22, [
1011
- "component_queue"
1012
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1013
- break;
1014
- case 56:
1015
- var _g23;
1016
- (_g23 = g).addComponent.apply(_g23, [
1017
- "external_component"
1018
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1019
- break;
1020
- case 57:
1021
- var _g24;
1022
- (_g24 = g).addComponent.apply(_g24, [
1023
- "external_component_db"
1024
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1025
- break;
1026
- case 58:
1027
- var _g25;
1028
- (_g25 = g).addComponent.apply(_g25, [
1029
- "external_component_queue"
1030
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1031
- break;
1032
- case 60:
1033
- var _g26;
1034
- (_g26 = g).addRel.apply(_g26, [
1035
- "rel"
1036
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1037
- break;
1038
- case 61:
1039
- var _g27;
1040
- (_g27 = g).addRel.apply(_g27, [
1041
- "birel"
1042
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1043
- break;
1044
- case 62:
1045
- var _g28;
1046
- (_g28 = g).addRel.apply(_g28, [
1047
- "rel_u"
1048
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1049
- break;
1050
- case 63:
1051
- var _g29;
1052
- (_g29 = g).addRel.apply(_g29, [
1053
- "rel_d"
1054
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1055
- break;
1056
- case 64:
1057
- var _g30;
1058
- (_g30 = g).addRel.apply(_g30, [
1059
- "rel_l"
1060
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1061
- break;
1062
- case 65:
1063
- var _g31;
1064
- (_g31 = g).addRel.apply(_g31, [
1065
- "rel_r"
1066
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1067
- break;
1068
- case 66:
1069
- var _g32;
1070
- (_g32 = g).addRel.apply(_g32, [
1071
- "rel_b"
1072
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1073
- break;
1074
- case 67:
1075
- var _g33;
1076
- h[y].splice(0, 1), (_g33 = g).addRel.apply(_g33, [
1077
- "rel"
1078
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1079
- break;
1080
- case 68:
1081
- var _g34;
1082
- (_g34 = g).updateElStyle.apply(_g34, [
1083
- "update_el_style"
1084
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1085
- break;
1086
- case 69:
1087
- var _g35;
1088
- (_g35 = g).updateRelStyle.apply(_g35, [
1089
- "update_rel_style"
1090
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1091
- break;
1092
- case 70:
1093
- var _g36;
1094
- (_g36 = g).updateLayoutConfig.apply(_g36, [
1095
- "update_layout_config"
1096
- ].concat(_to_consumable_array(h[y]))), this.$ = h[y];
1097
- break;
1098
- case 71:
1099
- this.$ = [
1100
- h[y]
1101
- ];
1102
- break;
1103
- case 72:
1104
- h[y].unshift(h[y - 1]), this.$ = h[y];
1105
- break;
1106
- case 73:
1107
- case 75:
1108
- this.$ = h[y].trim();
1109
- break;
1110
- case 74:
1111
- var Et = {};
1112
- Et[h[y - 1].trim()] = h[y].trim(), this.$ = Et;
1113
- break;
1114
- case 76:
1115
- this.$ = "";
1116
- break;
1117
- }
1118
- },
1119
- table: [
1120
- {
1121
- 3: 1,
1122
- 4: 2,
1123
- 5: 3,
1124
- 6: [
1125
- 1,
1126
- 5
1127
- ],
1128
- 7: [
1129
- 1,
1130
- 6
1131
- ],
1132
- 8: [
1133
- 1,
1134
- 7
1135
- ],
1136
- 9: [
1137
- 1,
1138
- 8
1139
- ],
1140
- 10: 4,
1141
- 11: [
1142
- 1,
1143
- 9
1144
- ],
1145
- 15: [
1146
- 1,
1147
- 10
1148
- ],
1149
- 16: [
1150
- 1,
1151
- 11
1152
- ],
1153
- 17: [
1154
- 1,
1155
- 12
1156
- ],
1157
- 18: [
1158
- 1,
1159
- 13
1160
- ]
1161
- },
1162
- {
1163
- 1: [
1164
- 3
1165
- ]
1166
- },
1167
- {
1168
- 1: [
1169
- 2,
1170
- 1
1171
- ]
1172
- },
1173
- {
1174
- 1: [
1175
- 2,
1176
- 2
1177
- ]
1178
- },
1179
- {
1180
- 1: [
1181
- 2,
1182
- 7
1183
- ]
1184
- },
1185
- {
1186
- 1: [
1187
- 2,
1188
- 3
1189
- ]
1190
- },
1191
- {
1192
- 1: [
1193
- 2,
1194
- 4
1195
- ]
1196
- },
1197
- {
1198
- 1: [
1199
- 2,
1200
- 5
1201
- ]
1202
- },
1203
- {
1204
- 1: [
1205
- 2,
1206
- 6
1207
- ]
1208
- },
1209
- {
1210
- 12: [
1211
- 1,
1212
- 14
1213
- ]
1214
- },
1215
- {
1216
- 12: [
1217
- 1,
1218
- 15
1219
- ]
1220
- },
1221
- {
1222
- 12: [
1223
- 1,
1224
- 16
1225
- ]
1226
- },
1227
- {
1228
- 12: [
1229
- 1,
1230
- 17
1231
- ]
1232
- },
1233
- {
1234
- 12: [
1235
- 1,
1236
- 18
1237
- ]
1238
- },
1239
- {
1240
- 13: 19,
1241
- 19: 20,
1242
- 20: 21,
1243
- 21: 22,
1244
- 22: t,
1245
- 23: r,
1246
- 24: o,
1247
- 26: l,
1248
- 28: n,
1249
- 29: 49,
1250
- 30: 61,
1251
- 32: 62,
1252
- 34: a,
1253
- 36: s,
1254
- 37: i,
1255
- 38: u,
1256
- 39: d,
1257
- 40: f,
1258
- 41: p,
1259
- 43: 23,
1260
- 44: E,
1261
- 45: O,
1262
- 46: R,
1263
- 47: S,
1264
- 48: L,
1265
- 49: Y,
1266
- 50: Q,
1267
- 51: H,
1268
- 52: q,
1269
- 53: G,
1270
- 54: K,
1271
- 55: J,
1272
- 56: Z,
1273
- 57: $,
1274
- 58: tt,
1275
- 59: et,
1276
- 60: nt,
1277
- 61: it,
1278
- 62: st,
1279
- 63: at,
1280
- 64: rt,
1281
- 65: lt,
1282
- 66: ot,
1283
- 67: ct,
1284
- 68: ht,
1285
- 69: ut,
1286
- 70: dt,
1287
- 71: ft,
1288
- 72: pt,
1289
- 73: yt,
1290
- 74: gt
1291
- },
1292
- {
1293
- 13: 70,
1294
- 19: 20,
1295
- 20: 21,
1296
- 21: 22,
1297
- 22: t,
1298
- 23: r,
1299
- 24: o,
1300
- 26: l,
1301
- 28: n,
1302
- 29: 49,
1303
- 30: 61,
1304
- 32: 62,
1305
- 34: a,
1306
- 36: s,
1307
- 37: i,
1308
- 38: u,
1309
- 39: d,
1310
- 40: f,
1311
- 41: p,
1312
- 43: 23,
1313
- 44: E,
1314
- 45: O,
1315
- 46: R,
1316
- 47: S,
1317
- 48: L,
1318
- 49: Y,
1319
- 50: Q,
1320
- 51: H,
1321
- 52: q,
1322
- 53: G,
1323
- 54: K,
1324
- 55: J,
1325
- 56: Z,
1326
- 57: $,
1327
- 58: tt,
1328
- 59: et,
1329
- 60: nt,
1330
- 61: it,
1331
- 62: st,
1332
- 63: at,
1333
- 64: rt,
1334
- 65: lt,
1335
- 66: ot,
1336
- 67: ct,
1337
- 68: ht,
1338
- 69: ut,
1339
- 70: dt,
1340
- 71: ft,
1341
- 72: pt,
1342
- 73: yt,
1343
- 74: gt
1344
- },
1345
- {
1346
- 13: 71,
1347
- 19: 20,
1348
- 20: 21,
1349
- 21: 22,
1350
- 22: t,
1351
- 23: r,
1352
- 24: o,
1353
- 26: l,
1354
- 28: n,
1355
- 29: 49,
1356
- 30: 61,
1357
- 32: 62,
1358
- 34: a,
1359
- 36: s,
1360
- 37: i,
1361
- 38: u,
1362
- 39: d,
1363
- 40: f,
1364
- 41: p,
1365
- 43: 23,
1366
- 44: E,
1367
- 45: O,
1368
- 46: R,
1369
- 47: S,
1370
- 48: L,
1371
- 49: Y,
1372
- 50: Q,
1373
- 51: H,
1374
- 52: q,
1375
- 53: G,
1376
- 54: K,
1377
- 55: J,
1378
- 56: Z,
1379
- 57: $,
1380
- 58: tt,
1381
- 59: et,
1382
- 60: nt,
1383
- 61: it,
1384
- 62: st,
1385
- 63: at,
1386
- 64: rt,
1387
- 65: lt,
1388
- 66: ot,
1389
- 67: ct,
1390
- 68: ht,
1391
- 69: ut,
1392
- 70: dt,
1393
- 71: ft,
1394
- 72: pt,
1395
- 73: yt,
1396
- 74: gt
1397
- },
1398
- {
1399
- 13: 72,
1400
- 19: 20,
1401
- 20: 21,
1402
- 21: 22,
1403
- 22: t,
1404
- 23: r,
1405
- 24: o,
1406
- 26: l,
1407
- 28: n,
1408
- 29: 49,
1409
- 30: 61,
1410
- 32: 62,
1411
- 34: a,
1412
- 36: s,
1413
- 37: i,
1414
- 38: u,
1415
- 39: d,
1416
- 40: f,
1417
- 41: p,
1418
- 43: 23,
1419
- 44: E,
1420
- 45: O,
1421
- 46: R,
1422
- 47: S,
1423
- 48: L,
1424
- 49: Y,
1425
- 50: Q,
1426
- 51: H,
1427
- 52: q,
1428
- 53: G,
1429
- 54: K,
1430
- 55: J,
1431
- 56: Z,
1432
- 57: $,
1433
- 58: tt,
1434
- 59: et,
1435
- 60: nt,
1436
- 61: it,
1437
- 62: st,
1438
- 63: at,
1439
- 64: rt,
1440
- 65: lt,
1441
- 66: ot,
1442
- 67: ct,
1443
- 68: ht,
1444
- 69: ut,
1445
- 70: dt,
1446
- 71: ft,
1447
- 72: pt,
1448
- 73: yt,
1449
- 74: gt
1450
- },
1451
- {
1452
- 13: 73,
1453
- 19: 20,
1454
- 20: 21,
1455
- 21: 22,
1456
- 22: t,
1457
- 23: r,
1458
- 24: o,
1459
- 26: l,
1460
- 28: n,
1461
- 29: 49,
1462
- 30: 61,
1463
- 32: 62,
1464
- 34: a,
1465
- 36: s,
1466
- 37: i,
1467
- 38: u,
1468
- 39: d,
1469
- 40: f,
1470
- 41: p,
1471
- 43: 23,
1472
- 44: E,
1473
- 45: O,
1474
- 46: R,
1475
- 47: S,
1476
- 48: L,
1477
- 49: Y,
1478
- 50: Q,
1479
- 51: H,
1480
- 52: q,
1481
- 53: G,
1482
- 54: K,
1483
- 55: J,
1484
- 56: Z,
1485
- 57: $,
1486
- 58: tt,
1487
- 59: et,
1488
- 60: nt,
1489
- 61: it,
1490
- 62: st,
1491
- 63: at,
1492
- 64: rt,
1493
- 65: lt,
1494
- 66: ot,
1495
- 67: ct,
1496
- 68: ht,
1497
- 69: ut,
1498
- 70: dt,
1499
- 71: ft,
1500
- 72: pt,
1501
- 73: yt,
1502
- 74: gt
1503
- },
1504
- {
1505
- 14: [
1506
- 1,
1507
- 74
1508
- ]
1509
- },
1510
- e(Ct, [
1511
- 2,
1512
- 13
1513
- ], {
1514
- 43: 23,
1515
- 29: 49,
1516
- 30: 61,
1517
- 32: 62,
1518
- 20: 75,
1519
- 34: a,
1520
- 36: s,
1521
- 37: i,
1522
- 38: u,
1523
- 39: d,
1524
- 40: f,
1525
- 41: p,
1526
- 44: E,
1527
- 45: O,
1528
- 46: R,
1529
- 47: S,
1530
- 48: L,
1531
- 49: Y,
1532
- 50: Q,
1533
- 51: H,
1534
- 52: q,
1535
- 53: G,
1536
- 54: K,
1537
- 55: J,
1538
- 56: Z,
1539
- 57: $,
1540
- 58: tt,
1541
- 59: et,
1542
- 60: nt,
1543
- 61: it,
1544
- 62: st,
1545
- 63: at,
1546
- 64: rt,
1547
- 65: lt,
1548
- 66: ot,
1549
- 67: ct,
1550
- 68: ht,
1551
- 69: ut,
1552
- 70: dt,
1553
- 71: ft,
1554
- 72: pt,
1555
- 73: yt,
1556
- 74: gt
1557
- }),
1558
- e(Ct, [
1559
- 2,
1560
- 14
1561
- ]),
1562
- e(Vt, [
1563
- 2,
1564
- 16
1565
- ], {
1566
- 12: [
1567
- 1,
1568
- 76
1569
- ]
1570
- }),
1571
- e(Ct, [
1572
- 2,
1573
- 36
1574
- ], {
1575
- 12: [
1576
- 1,
1577
- 77
1578
- ]
1579
- }),
1580
- e(Ot, [
1581
- 2,
1582
- 19
1583
- ]),
1584
- e(Ot, [
1585
- 2,
1586
- 20
1587
- ]),
1588
- {
1589
- 25: [
1590
- 1,
1591
- 78
1592
- ]
1593
- },
1594
- {
1595
- 27: [
1596
- 1,
1597
- 79
1598
- ]
1599
- },
1600
- e(Ot, [
1601
- 2,
1602
- 23
1603
- ]),
1604
- {
1605
- 35: 80,
1606
- 75: 81,
1607
- 76: k,
1608
- 77: A,
1609
- 79: C,
1610
- 80: v
1611
- },
1612
- {
1613
- 35: 86,
1614
- 75: 81,
1615
- 76: k,
1616
- 77: A,
1617
- 79: C,
1618
- 80: v
1619
- },
1620
- {
1621
- 35: 87,
1622
- 75: 81,
1623
- 76: k,
1624
- 77: A,
1625
- 79: C,
1626
- 80: v
1627
- },
1628
- {
1629
- 35: 88,
1630
- 75: 81,
1631
- 76: k,
1632
- 77: A,
1633
- 79: C,
1634
- 80: v
1635
- },
1636
- {
1637
- 35: 89,
1638
- 75: 81,
1639
- 76: k,
1640
- 77: A,
1641
- 79: C,
1642
- 80: v
1643
- },
1644
- {
1645
- 35: 90,
1646
- 75: 81,
1647
- 76: k,
1648
- 77: A,
1649
- 79: C,
1650
- 80: v
1651
- },
1652
- {
1653
- 35: 91,
1654
- 75: 81,
1655
- 76: k,
1656
- 77: A,
1657
- 79: C,
1658
- 80: v
1659
- },
1660
- {
1661
- 35: 92,
1662
- 75: 81,
1663
- 76: k,
1664
- 77: A,
1665
- 79: C,
1666
- 80: v
1667
- },
1668
- {
1669
- 35: 93,
1670
- 75: 81,
1671
- 76: k,
1672
- 77: A,
1673
- 79: C,
1674
- 80: v
1675
- },
1676
- {
1677
- 35: 94,
1678
- 75: 81,
1679
- 76: k,
1680
- 77: A,
1681
- 79: C,
1682
- 80: v
1683
- },
1684
- {
1685
- 35: 95,
1686
- 75: 81,
1687
- 76: k,
1688
- 77: A,
1689
- 79: C,
1690
- 80: v
1691
- },
1692
- {
1693
- 35: 96,
1694
- 75: 81,
1695
- 76: k,
1696
- 77: A,
1697
- 79: C,
1698
- 80: v
1699
- },
1700
- {
1701
- 35: 97,
1702
- 75: 81,
1703
- 76: k,
1704
- 77: A,
1705
- 79: C,
1706
- 80: v
1707
- },
1708
- {
1709
- 35: 98,
1710
- 75: 81,
1711
- 76: k,
1712
- 77: A,
1713
- 79: C,
1714
- 80: v
1715
- },
1716
- {
1717
- 35: 99,
1718
- 75: 81,
1719
- 76: k,
1720
- 77: A,
1721
- 79: C,
1722
- 80: v
1723
- },
1724
- {
1725
- 35: 100,
1726
- 75: 81,
1727
- 76: k,
1728
- 77: A,
1729
- 79: C,
1730
- 80: v
1731
- },
1732
- {
1733
- 35: 101,
1734
- 75: 81,
1735
- 76: k,
1736
- 77: A,
1737
- 79: C,
1738
- 80: v
1739
- },
1740
- {
1741
- 35: 102,
1742
- 75: 81,
1743
- 76: k,
1744
- 77: A,
1745
- 79: C,
1746
- 80: v
1747
- },
1748
- {
1749
- 35: 103,
1750
- 75: 81,
1751
- 76: k,
1752
- 77: A,
1753
- 79: C,
1754
- 80: v
1755
- },
1756
- {
1757
- 35: 104,
1758
- 75: 81,
1759
- 76: k,
1760
- 77: A,
1761
- 79: C,
1762
- 80: v
1763
- },
1764
- e(w, [
1765
- 2,
1766
- 59
1767
- ]),
1768
- {
1769
- 35: 105,
1770
- 75: 81,
1771
- 76: k,
1772
- 77: A,
1773
- 79: C,
1774
- 80: v
1775
- },
1776
- {
1777
- 35: 106,
1778
- 75: 81,
1779
- 76: k,
1780
- 77: A,
1781
- 79: C,
1782
- 80: v
1783
- },
1784
- {
1785
- 35: 107,
1786
- 75: 81,
1787
- 76: k,
1788
- 77: A,
1789
- 79: C,
1790
- 80: v
1791
- },
1792
- {
1793
- 35: 108,
1794
- 75: 81,
1795
- 76: k,
1796
- 77: A,
1797
- 79: C,
1798
- 80: v
1799
- },
1800
- {
1801
- 35: 109,
1802
- 75: 81,
1803
- 76: k,
1804
- 77: A,
1805
- 79: C,
1806
- 80: v
1807
- },
1808
- {
1809
- 35: 110,
1810
- 75: 81,
1811
- 76: k,
1812
- 77: A,
1813
- 79: C,
1814
- 80: v
1815
- },
1816
- {
1817
- 35: 111,
1818
- 75: 81,
1819
- 76: k,
1820
- 77: A,
1821
- 79: C,
1822
- 80: v
1823
- },
1824
- {
1825
- 35: 112,
1826
- 75: 81,
1827
- 76: k,
1828
- 77: A,
1829
- 79: C,
1830
- 80: v
1831
- },
1832
- {
1833
- 35: 113,
1834
- 75: 81,
1835
- 76: k,
1836
- 77: A,
1837
- 79: C,
1838
- 80: v
1839
- },
1840
- {
1841
- 35: 114,
1842
- 75: 81,
1843
- 76: k,
1844
- 77: A,
1845
- 79: C,
1846
- 80: v
1847
- },
1848
- {
1849
- 35: 115,
1850
- 75: 81,
1851
- 76: k,
1852
- 77: A,
1853
- 79: C,
1854
- 80: v
1855
- },
1856
- {
1857
- 20: 116,
1858
- 29: 49,
1859
- 30: 61,
1860
- 32: 62,
1861
- 34: a,
1862
- 36: s,
1863
- 37: i,
1864
- 38: u,
1865
- 39: d,
1866
- 40: f,
1867
- 41: p,
1868
- 43: 23,
1869
- 44: E,
1870
- 45: O,
1871
- 46: R,
1872
- 47: S,
1873
- 48: L,
1874
- 49: Y,
1875
- 50: Q,
1876
- 51: H,
1877
- 52: q,
1878
- 53: G,
1879
- 54: K,
1880
- 55: J,
1881
- 56: Z,
1882
- 57: $,
1883
- 58: tt,
1884
- 59: et,
1885
- 60: nt,
1886
- 61: it,
1887
- 62: st,
1888
- 63: at,
1889
- 64: rt,
1890
- 65: lt,
1891
- 66: ot,
1892
- 67: ct,
1893
- 68: ht,
1894
- 69: ut,
1895
- 70: dt,
1896
- 71: ft,
1897
- 72: pt,
1898
- 73: yt,
1899
- 74: gt
1900
- },
1901
- {
1902
- 12: [
1903
- 1,
1904
- 118
1905
- ],
1906
- 33: [
1907
- 1,
1908
- 117
1909
- ]
1910
- },
1911
- {
1912
- 35: 119,
1913
- 75: 81,
1914
- 76: k,
1915
- 77: A,
1916
- 79: C,
1917
- 80: v
1918
- },
1919
- {
1920
- 35: 120,
1921
- 75: 81,
1922
- 76: k,
1923
- 77: A,
1924
- 79: C,
1925
- 80: v
1926
- },
1927
- {
1928
- 35: 121,
1929
- 75: 81,
1930
- 76: k,
1931
- 77: A,
1932
- 79: C,
1933
- 80: v
1934
- },
1935
- {
1936
- 35: 122,
1937
- 75: 81,
1938
- 76: k,
1939
- 77: A,
1940
- 79: C,
1941
- 80: v
1942
- },
1943
- {
1944
- 35: 123,
1945
- 75: 81,
1946
- 76: k,
1947
- 77: A,
1948
- 79: C,
1949
- 80: v
1950
- },
1951
- {
1952
- 35: 124,
1953
- 75: 81,
1954
- 76: k,
1955
- 77: A,
1956
- 79: C,
1957
- 80: v
1958
- },
1959
- {
1960
- 35: 125,
1961
- 75: 81,
1962
- 76: k,
1963
- 77: A,
1964
- 79: C,
1965
- 80: v
1966
- },
1967
- {
1968
- 14: [
1969
- 1,
1970
- 126
1971
- ]
1972
- },
1973
- {
1974
- 14: [
1975
- 1,
1976
- 127
1977
- ]
1978
- },
1979
- {
1980
- 14: [
1981
- 1,
1982
- 128
1983
- ]
1984
- },
1985
- {
1986
- 14: [
1987
- 1,
1988
- 129
1989
- ]
1990
- },
1991
- {
1992
- 1: [
1993
- 2,
1994
- 8
1995
- ]
1996
- },
1997
- e(Ct, [
1998
- 2,
1999
- 15
2000
- ]),
2001
- e(Vt, [
2002
- 2,
2003
- 17
2004
- ], {
2005
- 21: 22,
2006
- 19: 130,
2007
- 22: t,
2008
- 23: r,
2009
- 24: o,
2010
- 26: l,
2011
- 28: n
2012
- }),
2013
- e(Ct, [
2014
- 2,
2015
- 37
2016
- ], {
2017
- 19: 20,
2018
- 20: 21,
2019
- 21: 22,
2020
- 43: 23,
2021
- 29: 49,
2022
- 30: 61,
2023
- 32: 62,
2024
- 13: 131,
2025
- 22: t,
2026
- 23: r,
2027
- 24: o,
2028
- 26: l,
2029
- 28: n,
2030
- 34: a,
2031
- 36: s,
2032
- 37: i,
2033
- 38: u,
2034
- 39: d,
2035
- 40: f,
2036
- 41: p,
2037
- 44: E,
2038
- 45: O,
2039
- 46: R,
2040
- 47: S,
2041
- 48: L,
2042
- 49: Y,
2043
- 50: Q,
2044
- 51: H,
2045
- 52: q,
2046
- 53: G,
2047
- 54: K,
2048
- 55: J,
2049
- 56: Z,
2050
- 57: $,
2051
- 58: tt,
2052
- 59: et,
2053
- 60: nt,
2054
- 61: it,
2055
- 62: st,
2056
- 63: at,
2057
- 64: rt,
2058
- 65: lt,
2059
- 66: ot,
2060
- 67: ct,
2061
- 68: ht,
2062
- 69: ut,
2063
- 70: dt,
2064
- 71: ft,
2065
- 72: pt,
2066
- 73: yt,
2067
- 74: gt
2068
- }),
2069
- e(Ot, [
2070
- 2,
2071
- 21
2072
- ]),
2073
- e(Ot, [
2074
- 2,
2075
- 22
2076
- ]),
2077
- e(w, [
2078
- 2,
2079
- 39
2080
- ]),
2081
- e(ie, [
2082
- 2,
2083
- 71
2084
- ], {
2085
- 75: 81,
2086
- 35: 132,
2087
- 76: k,
2088
- 77: A,
2089
- 79: C,
2090
- 80: v
2091
- }),
2092
- e(Pt, [
2093
- 2,
2094
- 73
2095
- ]),
2096
- {
2097
- 78: [
2098
- 1,
2099
- 133
2100
- ]
2101
- },
2102
- e(Pt, [
2103
- 2,
2104
- 75
2105
- ]),
2106
- e(Pt, [
2107
- 2,
2108
- 76
2109
- ]),
2110
- e(w, [
2111
- 2,
2112
- 40
2113
- ]),
2114
- e(w, [
2115
- 2,
2116
- 41
2117
- ]),
2118
- e(w, [
2119
- 2,
2120
- 42
2121
- ]),
2122
- e(w, [
2123
- 2,
2124
- 43
2125
- ]),
2126
- e(w, [
2127
- 2,
2128
- 44
2129
- ]),
2130
- e(w, [
2131
- 2,
2132
- 45
2133
- ]),
2134
- e(w, [
2135
- 2,
2136
- 46
2137
- ]),
2138
- e(w, [
2139
- 2,
2140
- 47
2141
- ]),
2142
- e(w, [
2143
- 2,
2144
- 48
2145
- ]),
2146
- e(w, [
2147
- 2,
2148
- 49
2149
- ]),
2150
- e(w, [
2151
- 2,
2152
- 50
2153
- ]),
2154
- e(w, [
2155
- 2,
2156
- 51
2157
- ]),
2158
- e(w, [
2159
- 2,
2160
- 52
2161
- ]),
2162
- e(w, [
2163
- 2,
2164
- 53
2165
- ]),
2166
- e(w, [
2167
- 2,
2168
- 54
2169
- ]),
2170
- e(w, [
2171
- 2,
2172
- 55
2173
- ]),
2174
- e(w, [
2175
- 2,
2176
- 56
2177
- ]),
2178
- e(w, [
2179
- 2,
2180
- 57
2181
- ]),
2182
- e(w, [
2183
- 2,
2184
- 58
2185
- ]),
2186
- e(w, [
2187
- 2,
2188
- 60
2189
- ]),
2190
- e(w, [
2191
- 2,
2192
- 61
2193
- ]),
2194
- e(w, [
2195
- 2,
2196
- 62
2197
- ]),
2198
- e(w, [
2199
- 2,
2200
- 63
2201
- ]),
2202
- e(w, [
2203
- 2,
2204
- 64
2205
- ]),
2206
- e(w, [
2207
- 2,
2208
- 65
2209
- ]),
2210
- e(w, [
2211
- 2,
2212
- 66
2213
- ]),
2214
- e(w, [
2215
- 2,
2216
- 67
2217
- ]),
2218
- e(w, [
2219
- 2,
2220
- 68
2221
- ]),
2222
- e(w, [
2223
- 2,
2224
- 69
2225
- ]),
2226
- e(w, [
2227
- 2,
2228
- 70
2229
- ]),
2230
- {
2231
- 31: 134,
2232
- 42: [
2233
- 1,
2234
- 135
2235
- ]
2236
- },
2237
- {
2238
- 12: [
2239
- 1,
2240
- 136
2241
- ]
2242
- },
2243
- {
2244
- 33: [
2245
- 1,
2246
- 137
2247
- ]
2248
- },
2249
- e(mt, [
2250
- 2,
2251
- 28
2252
- ]),
2253
- e(mt, [
2254
- 2,
2255
- 29
2256
- ]),
2257
- e(mt, [
2258
- 2,
2259
- 30
2260
- ]),
2261
- e(mt, [
2262
- 2,
2263
- 31
2264
- ]),
2265
- e(mt, [
2266
- 2,
2267
- 32
2268
- ]),
2269
- e(mt, [
2270
- 2,
2271
- 33
2272
- ]),
2273
- e(mt, [
2274
- 2,
2275
- 34
2276
- ]),
2277
- {
2278
- 1: [
2279
- 2,
2280
- 9
2281
- ]
2282
- },
2283
- {
2284
- 1: [
2285
- 2,
2286
- 10
2287
- ]
2288
- },
2289
- {
2290
- 1: [
2291
- 2,
2292
- 11
2293
- ]
2294
- },
2295
- {
2296
- 1: [
2297
- 2,
2298
- 12
2299
- ]
2300
- },
2301
- e(Vt, [
2302
- 2,
2303
- 18
2304
- ]),
2305
- e(Ct, [
2306
- 2,
2307
- 38
2308
- ]),
2309
- e(ie, [
2310
- 2,
2311
- 72
2312
- ]),
2313
- e(Pt, [
2314
- 2,
2315
- 74
2316
- ]),
2317
- e(w, [
2318
- 2,
2319
- 24
2320
- ]),
2321
- e(w, [
2322
- 2,
2323
- 35
2324
- ]),
2325
- e(zt, [
2326
- 2,
2327
- 25
2328
- ]),
2329
- e(zt, [
2330
- 2,
2331
- 26
2332
- ], {
2333
- 12: [
2334
- 1,
2335
- 138
2336
- ]
2337
- }),
2338
- e(zt, [
2339
- 2,
2340
- 27
2341
- ])
2342
- ],
2343
- defaultActions: {
2344
- 2: [
2345
- 2,
2346
- 1
2347
- ],
2348
- 3: [
2349
- 2,
2350
- 2
2351
- ],
2352
- 4: [
2353
- 2,
2354
- 7
2355
- ],
2356
- 5: [
2357
- 2,
2358
- 3
2359
- ],
2360
- 6: [
2361
- 2,
2362
- 4
2363
- ],
2364
- 7: [
2365
- 2,
2366
- 5
2367
- ],
2368
- 8: [
2369
- 2,
2370
- 6
2371
- ],
2372
- 74: [
2373
- 2,
2374
- 8
2375
- ],
2376
- 126: [
2377
- 2,
2378
- 9
2379
- ],
2380
- 127: [
2381
- 2,
2382
- 10
2383
- ],
2384
- 128: [
2385
- 2,
2386
- 11
2387
- ],
2388
- 129: [
2389
- 2,
2390
- 12
2391
- ]
2392
- },
2393
- parseError: function parseError(_, x) {
2394
- if (x.recoverable) this.trace(_);
2395
- else {
2396
- var m = new Error(_);
2397
- throw m.hash = x, m;
2398
- }
2399
- },
2400
- parse: function parse(_) {
2401
- var x = this, m = [
2402
- 0
2403
- ], g = [], T = [
2404
- null
2405
- ], h = [], Tt = this.table, y = "", Et = 0, se = 0, ke = 2, ae = 1, Ae = h.slice.call(arguments, 1), D = Object.create(this.lexer), kt = {
2406
- yy: {}
2407
- };
2408
- for(var Qt in this.yy)Object.prototype.hasOwnProperty.call(this.yy, Qt) && (kt.yy[Qt] = this.yy[Qt]);
2409
- D.setInput(_, kt.yy), kt.yy.lexer = D, kt.yy.parser = this, _type_of(D.yylloc) > "u" && (D.yylloc = {});
2410
- var Ht = D.yylloc;
2411
- h.push(Ht);
2412
- var Ce = D.options && D.options.ranges;
2413
- typeof kt.yy.parseError == "function" ? this.parseError = kt.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
2414
- function ve() {
2415
- var X;
2416
- return X = g.pop() || D.lex() || ae, typeof X != "number" && (_instanceof(X, Array) && (g = X, X = g.pop()), X = x.symbols_[X] || X), X;
2417
- }
2418
- for(var M, At, N, qt, vt = {}, Mt, z, re, Lt;;){
2419
- if (At = m[m.length - 1], this.defaultActions[At] ? N = this.defaultActions[At] : ((M === null || (typeof M === "undefined" ? "undefined" : _type_of(M)) > "u") && (M = ve()), N = Tt[At] && Tt[At][M]), (typeof N === "undefined" ? "undefined" : _type_of(N)) > "u" || !N.length || !N[0]) {
2420
- var Gt = "";
2421
- Lt = [];
2422
- for(Mt in Tt[At])this.terminals_[Mt] && Mt > ke && Lt.push("'" + this.terminals_[Mt] + "'");
2423
- D.showPosition ? Gt = "Parse error on line " + (Et + 1) + ":\n" + D.showPosition() + "\nExpecting " + Lt.join(", ") + ", got '" + (this.terminals_[M] || M) + "'" : Gt = "Parse error on line " + (Et + 1) + ": Unexpected " + (M == ae ? "end of input" : "'" + (this.terminals_[M] || M) + "'"), this.parseError(Gt, {
2424
- text: D.match,
2425
- token: this.terminals_[M] || M,
2426
- line: D.yylineno,
2427
- loc: Ht,
2428
- expected: Lt
2429
- });
2430
- }
2431
- if (_instanceof(N[0], Array) && N.length > 1) throw new Error("Parse Error: multiple actions possible at state: " + At + ", token: " + M);
2432
- switch(N[0]){
2433
- case 1:
2434
- m.push(M), T.push(D.yytext), h.push(D.yylloc), m.push(N[1]), M = null, se = D.yyleng, y = D.yytext, Et = D.yylineno, Ht = D.yylloc;
2435
- break;
2436
- case 2:
2437
- if (z = this.productions_[N[1]][1], vt.$ = T[T.length - z], vt._$ = {
2438
- first_line: h[h.length - (z || 1)].first_line,
2439
- last_line: h[h.length - 1].last_line,
2440
- first_column: h[h.length - (z || 1)].first_column,
2441
- last_column: h[h.length - 1].last_column
2442
- }, Ce && (vt._$.range = [
2443
- h[h.length - (z || 1)].range[0],
2444
- h[h.length - 1].range[1]
2445
- ]), qt = this.performAction.apply(vt, [
2446
- y,
2447
- se,
2448
- Et,
2449
- kt.yy,
2450
- N[1],
2451
- T,
2452
- h
2453
- ].concat(Ae)), (typeof qt === "undefined" ? "undefined" : _type_of(qt)) < "u") return qt;
2454
- z && (m = m.slice(0, -1 * z * 2), T = T.slice(0, -1 * z), h = h.slice(0, -1 * z)), m.push(this.productions_[N[1]][0]), T.push(vt.$), h.push(vt._$), re = Tt[m[m.length - 2]][m[m.length - 1]], m.push(re);
2455
- break;
2456
- case 3:
2457
- return true;
2458
- }
2459
- }
2460
- return true;
2461
- }
2462
- }, Ee = function() {
2463
- var bt = {
2464
- EOF: 1,
2465
- parseError: function parseError(x, m) {
2466
- if (this.yy.parser) this.yy.parser.parseError(x, m);
2467
- else throw new Error(x);
2468
- },
2469
- // resets the lexer, sets new input
2470
- setInput: function setInput(_, x) {
2471
- return this.yy = x || this.yy || {}, this._input = _, this._more = this._backtrack = this.done = false, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = [
2472
- "INITIAL"
2473
- ], this.yylloc = {
2474
- first_line: 1,
2475
- first_column: 0,
2476
- last_line: 1,
2477
- last_column: 0
2478
- }, this.options.ranges && (this.yylloc.range = [
2479
- 0,
2480
- 0
2481
- ]), this.offset = 0, this;
2482
- },
2483
- // consumes and returns one char from the input
2484
- input: function input() {
2485
- var _ = this._input[0];
2486
- this.yytext += _, this.yyleng++, this.offset++, this.match += _, this.matched += _;
2487
- var x = _.match(/(?:\r\n?|\n).*/g);
2488
- return x ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), _;
2489
- },
2490
- // unshifts one char (or a string) into the input
2491
- unput: function unput(_) {
2492
- var x = _.length, m = _.split(/(?:\r\n?|\n)/g);
2493
- this._input = _ + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - x), this.offset -= x;
2494
- var g = this.match.split(/(?:\r\n?|\n)/g);
2495
- this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), m.length - 1 && (this.yylineno -= m.length - 1);
2496
- var T = this.yylloc.range;
2497
- return this.yylloc = {
2498
- first_line: this.yylloc.first_line,
2499
- last_line: this.yylineno + 1,
2500
- first_column: this.yylloc.first_column,
2501
- last_column: m ? (m.length === g.length ? this.yylloc.first_column : 0) + g[g.length - m.length].length - m[0].length : this.yylloc.first_column - x
2502
- }, this.options.ranges && (this.yylloc.range = [
2503
- T[0],
2504
- T[0] + this.yyleng - x
2505
- ]), this.yyleng = this.yytext.length, this;
2506
- },
2507
- // When called from action, caches matched text and appends it on next action
2508
- more: function more() {
2509
- return this._more = true, this;
2510
- },
2511
- // 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.
2512
- reject: function reject() {
2513
- if (this.options.backtrack_lexer) this._backtrack = true;
2514
- 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(), {
2515
- text: "",
2516
- token: null,
2517
- line: this.yylineno
2518
- });
2519
- return this;
2520
- },
2521
- // retain first n characters of the match
2522
- less: function less(_) {
2523
- this.unput(this.match.slice(_));
2524
- },
2525
- // displays already matched input, i.e. for error messages
2526
- pastInput: function pastInput() {
2527
- var _ = this.matched.substr(0, this.matched.length - this.match.length);
2528
- return (_.length > 20 ? "..." : "") + _.substr(-20).replace(/\n/g, "");
2529
- },
2530
- // displays upcoming input, i.e. for error messages
2531
- upcomingInput: function upcomingInput() {
2532
- var _ = this.match;
2533
- return _.length < 20 && (_ += this._input.substr(0, 20 - _.length)), (_.substr(0, 20) + (_.length > 20 ? "..." : "")).replace(/\n/g, "");
2534
- },
2535
- // displays the character position where the lexing error occurred, i.e. for error messages
2536
- showPosition: function showPosition() {
2537
- var _ = this.pastInput(), x = new Array(_.length + 1).join("-");
2538
- return _ + this.upcomingInput() + "\n" + x + "^";
2539
- },
2540
- // test the lexed token: return FALSE when not a match, otherwise return token
2541
- test_match: function test_match(_, x) {
2542
- var m, g, T;
2543
- if (this.options.backtrack_lexer && (T = {
2544
- yylineno: this.yylineno,
2545
- yylloc: {
2546
- first_line: this.yylloc.first_line,
2547
- last_line: this.last_line,
2548
- first_column: this.yylloc.first_column,
2549
- last_column: this.yylloc.last_column
2550
- },
2551
- yytext: this.yytext,
2552
- match: this.match,
2553
- matches: this.matches,
2554
- matched: this.matched,
2555
- yyleng: this.yyleng,
2556
- offset: this.offset,
2557
- _more: this._more,
2558
- _input: this._input,
2559
- yy: this.yy,
2560
- conditionStack: this.conditionStack.slice(0),
2561
- done: this.done
2562
- }, this.options.ranges && (T.yylloc.range = this.yylloc.range.slice(0))), g = _[0].match(/(?:\r\n?|\n).*/g), g && (this.yylineno += g.length), this.yylloc = {
2563
- first_line: this.yylloc.last_line,
2564
- last_line: this.yylineno + 1,
2565
- first_column: this.yylloc.last_column,
2566
- last_column: g ? g[g.length - 1].length - g[g.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + _[0].length
2567
- }, this.yytext += _[0], this.match += _[0], this.matches = _, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [
2568
- this.offset,
2569
- this.offset += this.yyleng
2570
- ]), this._more = false, this._backtrack = false, this._input = this._input.slice(_[0].length), this.matched += _[0], m = this.performAction.call(this, this.yy, this, x, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = false), m) return m;
2571
- if (this._backtrack) {
2572
- for(var h in T)this[h] = T[h];
2573
- return false;
2574
- }
2575
- return false;
2576
- },
2577
- // return next match in input
2578
- next: function next() {
2579
- if (this.done) return this.EOF;
2580
- this._input || (this.done = true);
2581
- var _, x, m, g;
2582
- this._more || (this.yytext = "", this.match = "");
2583
- for(var T = this._currentRules(), h = 0; h < T.length; h++)if (m = this._input.match(this.rules[T[h]]), m && (!x || m[0].length > x[0].length)) {
2584
- if (x = m, g = h, this.options.backtrack_lexer) {
2585
- if (_ = this.test_match(m, T[h]), _ !== false) return _;
2586
- if (this._backtrack) {
2587
- x = false;
2588
- continue;
2589
- } else return false;
2590
- } else if (!this.options.flex) break;
2591
- }
2592
- return x ? (_ = this.test_match(x, T[g]), _ !== false ? _ : false) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + ". Unrecognized text.\n" + this.showPosition(), {
2593
- text: "",
2594
- token: null,
2595
- line: this.yylineno
2596
- });
2597
- },
2598
- // return next match that has a token
2599
- lex: function lex() {
2600
- var x = this.next();
2601
- return x || this.lex();
2602
- },
2603
- // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
2604
- begin: function begin(x) {
2605
- this.conditionStack.push(x);
2606
- },
2607
- // pop the previously active lexer condition state off the condition stack
2608
- popState: function popState() {
2609
- var x = this.conditionStack.length - 1;
2610
- return x > 0 ? this.conditionStack.pop() : this.conditionStack[0];
2611
- },
2612
- // produce the lexer rule set which is active for the currently active lexer condition state
2613
- _currentRules: function _currentRules() {
2614
- return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
2615
- },
2616
- // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
2617
- topState: function topState(x) {
2618
- return x = this.conditionStack.length - 1 - Math.abs(x || 0), x >= 0 ? this.conditionStack[x] : "INITIAL";
2619
- },
2620
- // alias for begin(condition)
2621
- pushState: function pushState(x) {
2622
- this.begin(x);
2623
- },
2624
- // return the number of states currently on the stack
2625
- stateStackSize: function stateStackSize() {
2626
- return this.conditionStack.length;
2627
- },
2628
- options: {},
2629
- performAction: function performAction(x, m, g, T) {
2630
- switch(g){
2631
- case 0:
2632
- return 6;
2633
- case 1:
2634
- return 7;
2635
- case 2:
2636
- return 8;
2637
- case 3:
2638
- return 9;
2639
- case 4:
2640
- return 22;
2641
- case 5:
2642
- return 23;
2643
- case 6:
2644
- return this.begin("acc_title"), 24;
2645
- case 7:
2646
- return this.popState(), "acc_title_value";
2647
- case 8:
2648
- return this.begin("acc_descr"), 26;
2649
- case 9:
2650
- return this.popState(), "acc_descr_value";
2651
- case 10:
2652
- this.begin("acc_descr_multiline");
2653
- break;
2654
- case 11:
2655
- this.popState();
2656
- break;
2657
- case 12:
2658
- return "acc_descr_multiline_value";
2659
- case 13:
2660
- break;
2661
- case 14:
2662
- c;
2663
- break;
2664
- case 15:
2665
- return 12;
2666
- case 16:
2667
- break;
2668
- case 17:
2669
- return 11;
2670
- case 18:
2671
- return 15;
2672
- case 19:
2673
- return 16;
2674
- case 20:
2675
- return 17;
2676
- case 21:
2677
- return 18;
2678
- case 22:
2679
- return this.begin("person_ext"), 45;
2680
- case 23:
2681
- return this.begin("person"), 44;
2682
- case 24:
2683
- return this.begin("system_ext_queue"), 51;
2684
- case 25:
2685
- return this.begin("system_ext_db"), 50;
2686
- case 26:
2687
- return this.begin("system_ext"), 49;
2688
- case 27:
2689
- return this.begin("system_queue"), 48;
2690
- case 28:
2691
- return this.begin("system_db"), 47;
2692
- case 29:
2693
- return this.begin("system"), 46;
2694
- case 30:
2695
- return this.begin("boundary"), 37;
2696
- case 31:
2697
- return this.begin("enterprise_boundary"), 34;
2698
- case 32:
2699
- return this.begin("system_boundary"), 36;
2700
- case 33:
2701
- return this.begin("container_ext_queue"), 57;
2702
- case 34:
2703
- return this.begin("container_ext_db"), 56;
2704
- case 35:
2705
- return this.begin("container_ext"), 55;
2706
- case 36:
2707
- return this.begin("container_queue"), 54;
2708
- case 37:
2709
- return this.begin("container_db"), 53;
2710
- case 38:
2711
- return this.begin("container"), 52;
2712
- case 39:
2713
- return this.begin("container_boundary"), 38;
2714
- case 40:
2715
- return this.begin("component_ext_queue"), 63;
2716
- case 41:
2717
- return this.begin("component_ext_db"), 62;
2718
- case 42:
2719
- return this.begin("component_ext"), 61;
2720
- case 43:
2721
- return this.begin("component_queue"), 60;
2722
- case 44:
2723
- return this.begin("component_db"), 59;
2724
- case 45:
2725
- return this.begin("component"), 58;
2726
- case 46:
2727
- return this.begin("node"), 39;
2728
- case 47:
2729
- return this.begin("node"), 39;
2730
- case 48:
2731
- return this.begin("node_l"), 40;
2732
- case 49:
2733
- return this.begin("node_r"), 41;
2734
- case 50:
2735
- return this.begin("rel"), 64;
2736
- case 51:
2737
- return this.begin("birel"), 65;
2738
- case 52:
2739
- return this.begin("rel_u"), 66;
2740
- case 53:
2741
- return this.begin("rel_u"), 66;
2742
- case 54:
2743
- return this.begin("rel_d"), 67;
2744
- case 55:
2745
- return this.begin("rel_d"), 67;
2746
- case 56:
2747
- return this.begin("rel_l"), 68;
2748
- case 57:
2749
- return this.begin("rel_l"), 68;
2750
- case 58:
2751
- return this.begin("rel_r"), 69;
2752
- case 59:
2753
- return this.begin("rel_r"), 69;
2754
- case 60:
2755
- return this.begin("rel_b"), 70;
2756
- case 61:
2757
- return this.begin("rel_index"), 71;
2758
- case 62:
2759
- return this.begin("update_el_style"), 72;
2760
- case 63:
2761
- return this.begin("update_rel_style"), 73;
2762
- case 64:
2763
- return this.begin("update_layout_config"), 74;
2764
- case 65:
2765
- return "EOF_IN_STRUCT";
2766
- case 66:
2767
- return this.begin("attribute"), "ATTRIBUTE_EMPTY";
2768
- case 67:
2769
- this.begin("attribute");
2770
- break;
2771
- case 68:
2772
- this.popState(), this.popState();
2773
- break;
2774
- case 69:
2775
- return 80;
2776
- case 70:
2777
- break;
2778
- case 71:
2779
- return 80;
2780
- case 72:
2781
- this.begin("string");
2782
- break;
2783
- case 73:
2784
- this.popState();
2785
- break;
2786
- case 74:
2787
- return "STR";
2788
- case 75:
2789
- this.begin("string_kv");
2790
- break;
2791
- case 76:
2792
- return this.begin("string_kv_key"), "STR_KEY";
2793
- case 77:
2794
- this.popState(), this.begin("string_kv_value");
2795
- break;
2796
- case 78:
2797
- return "STR_VALUE";
2798
- case 79:
2799
- this.popState(), this.popState();
2800
- break;
2801
- case 80:
2802
- return "STR";
2803
- case 81:
2804
- return "LBRACE";
2805
- case 82:
2806
- return "RBRACE";
2807
- case 83:
2808
- return "SPACE";
2809
- case 84:
2810
- return "EOL";
2811
- case 85:
2812
- return 14;
2813
- }
2814
- },
2815
- rules: [
2816
- /^(?:.*direction\s+TB[^\n]*)/,
2817
- /^(?:.*direction\s+BT[^\n]*)/,
2818
- /^(?:.*direction\s+RL[^\n]*)/,
2819
- /^(?:.*direction\s+LR[^\n]*)/,
2820
- /^(?:title\s[^#\n;]+)/,
2821
- /^(?:accDescription\s[^#\n;]+)/,
2822
- /^(?:accTitle\s*:\s*)/,
2823
- /^(?:(?!\n||)*[^\n]*)/,
2824
- /^(?:accDescr\s*:\s*)/,
2825
- /^(?:(?!\n||)*[^\n]*)/,
2826
- /^(?:accDescr\s*\{\s*)/,
2827
- /^(?:[\}])/,
2828
- /^(?:[^\}]*)/,
2829
- /^(?:%%(?!\{)*[^\n]*(\r?\n?)+)/,
2830
- /^(?:%%[^\n]*(\r?\n)*)/,
2831
- /^(?:\s*(\r?\n)+)/,
2832
- /^(?:\s+)/,
2833
- /^(?:C4Context\b)/,
2834
- /^(?:C4Container\b)/,
2835
- /^(?:C4Component\b)/,
2836
- /^(?:C4Dynamic\b)/,
2837
- /^(?:C4Deployment\b)/,
2838
- /^(?:Person_Ext\b)/,
2839
- /^(?:Person\b)/,
2840
- /^(?:SystemQueue_Ext\b)/,
2841
- /^(?:SystemDb_Ext\b)/,
2842
- /^(?:System_Ext\b)/,
2843
- /^(?:SystemQueue\b)/,
2844
- /^(?:SystemDb\b)/,
2845
- /^(?:System\b)/,
2846
- /^(?:Boundary\b)/,
2847
- /^(?:Enterprise_Boundary\b)/,
2848
- /^(?:System_Boundary\b)/,
2849
- /^(?:ContainerQueue_Ext\b)/,
2850
- /^(?:ContainerDb_Ext\b)/,
2851
- /^(?:Container_Ext\b)/,
2852
- /^(?:ContainerQueue\b)/,
2853
- /^(?:ContainerDb\b)/,
2854
- /^(?:Container\b)/,
2855
- /^(?:Container_Boundary\b)/,
2856
- /^(?:ComponentQueue_Ext\b)/,
2857
- /^(?:ComponentDb_Ext\b)/,
2858
- /^(?:Component_Ext\b)/,
2859
- /^(?:ComponentQueue\b)/,
2860
- /^(?:ComponentDb\b)/,
2861
- /^(?:Component\b)/,
2862
- /^(?:Deployment_Node\b)/,
2863
- /^(?:Node\b)/,
2864
- /^(?:Node_L\b)/,
2865
- /^(?:Node_R\b)/,
2866
- /^(?:Rel\b)/,
2867
- /^(?:BiRel\b)/,
2868
- /^(?:Rel_Up\b)/,
2869
- /^(?:Rel_U\b)/,
2870
- /^(?:Rel_Down\b)/,
2871
- /^(?:Rel_D\b)/,
2872
- /^(?:Rel_Left\b)/,
2873
- /^(?:Rel_L\b)/,
2874
- /^(?:Rel_Right\b)/,
2875
- /^(?:Rel_R\b)/,
2876
- /^(?:Rel_Back\b)/,
2877
- /^(?:RelIndex\b)/,
2878
- /^(?:UpdateElementStyle\b)/,
2879
- /^(?:UpdateRelStyle\b)/,
2880
- /^(?:UpdateLayoutConfig\b)/,
2881
- /^(?:$)/,
2882
- /^(?:[(][ ]*[,])/,
2883
- /^(?:[(])/,
2884
- /^(?:[)])/,
2885
- /^(?:,,)/,
2886
- /^(?:,)/,
2887
- /^(?:[ ]*["]["])/,
2888
- /^(?:[ ]*["])/,
2889
- /^(?:["])/,
2890
- /^(?:[^"]*)/,
2891
- /^(?:[ ]*[\$])/,
2892
- /^(?:[^=]*)/,
2893
- /^(?:[=][ ]*["])/,
2894
- /^(?:[^"]+)/,
2895
- /^(?:["])/,
2896
- /^(?:[^,]+)/,
2897
- /^(?:\{)/,
2898
- /^(?:\})/,
2899
- /^(?:[\s]+)/,
2900
- /^(?:[\n\r]+)/,
2901
- /^(?:$)/
2902
- ],
2903
- conditions: {
2904
- acc_descr_multiline: {
2905
- rules: [
2906
- 11,
2907
- 12
2908
- ],
2909
- inclusive: false
2910
- },
2911
- acc_descr: {
2912
- rules: [
2913
- 9
2914
- ],
2915
- inclusive: false
2916
- },
2917
- acc_title: {
2918
- rules: [
2919
- 7
2920
- ],
2921
- inclusive: false
2922
- },
2923
- string_kv_value: {
2924
- rules: [
2925
- 78,
2926
- 79
2927
- ],
2928
- inclusive: false
2929
- },
2930
- string_kv_key: {
2931
- rules: [
2932
- 77
2933
- ],
2934
- inclusive: false
2935
- },
2936
- string_kv: {
2937
- rules: [
2938
- 76
2939
- ],
2940
- inclusive: false
2941
- },
2942
- string: {
2943
- rules: [
2944
- 73,
2945
- 74
2946
- ],
2947
- inclusive: false
2948
- },
2949
- attribute: {
2950
- rules: [
2951
- 68,
2952
- 69,
2953
- 70,
2954
- 71,
2955
- 72,
2956
- 75,
2957
- 80
2958
- ],
2959
- inclusive: false
2960
- },
2961
- update_layout_config: {
2962
- rules: [
2963
- 65,
2964
- 66,
2965
- 67,
2966
- 68
2967
- ],
2968
- inclusive: false
2969
- },
2970
- update_rel_style: {
2971
- rules: [
2972
- 65,
2973
- 66,
2974
- 67,
2975
- 68
2976
- ],
2977
- inclusive: false
2978
- },
2979
- update_el_style: {
2980
- rules: [
2981
- 65,
2982
- 66,
2983
- 67,
2984
- 68
2985
- ],
2986
- inclusive: false
2987
- },
2988
- rel_b: {
2989
- rules: [
2990
- 65,
2991
- 66,
2992
- 67,
2993
- 68
2994
- ],
2995
- inclusive: false
2996
- },
2997
- rel_r: {
2998
- rules: [
2999
- 65,
3000
- 66,
3001
- 67,
3002
- 68
3003
- ],
3004
- inclusive: false
3005
- },
3006
- rel_l: {
3007
- rules: [
3008
- 65,
3009
- 66,
3010
- 67,
3011
- 68
3012
- ],
3013
- inclusive: false
3014
- },
3015
- rel_d: {
3016
- rules: [
3017
- 65,
3018
- 66,
3019
- 67,
3020
- 68
3021
- ],
3022
- inclusive: false
3023
- },
3024
- rel_u: {
3025
- rules: [
3026
- 65,
3027
- 66,
3028
- 67,
3029
- 68
3030
- ],
3031
- inclusive: false
3032
- },
3033
- rel_bi: {
3034
- rules: [],
3035
- inclusive: false
3036
- },
3037
- rel: {
3038
- rules: [
3039
- 65,
3040
- 66,
3041
- 67,
3042
- 68
3043
- ],
3044
- inclusive: false
3045
- },
3046
- node_r: {
3047
- rules: [
3048
- 65,
3049
- 66,
3050
- 67,
3051
- 68
3052
- ],
3053
- inclusive: false
3054
- },
3055
- node_l: {
3056
- rules: [
3057
- 65,
3058
- 66,
3059
- 67,
3060
- 68
3061
- ],
3062
- inclusive: false
3063
- },
3064
- node: {
3065
- rules: [
3066
- 65,
3067
- 66,
3068
- 67,
3069
- 68
3070
- ],
3071
- inclusive: false
3072
- },
3073
- index: {
3074
- rules: [],
3075
- inclusive: false
3076
- },
3077
- rel_index: {
3078
- rules: [
3079
- 65,
3080
- 66,
3081
- 67,
3082
- 68
3083
- ],
3084
- inclusive: false
3085
- },
3086
- component_ext_queue: {
3087
- rules: [],
3088
- inclusive: false
3089
- },
3090
- component_ext_db: {
3091
- rules: [
3092
- 65,
3093
- 66,
3094
- 67,
3095
- 68
3096
- ],
3097
- inclusive: false
3098
- },
3099
- component_ext: {
3100
- rules: [
3101
- 65,
3102
- 66,
3103
- 67,
3104
- 68
3105
- ],
3106
- inclusive: false
3107
- },
3108
- component_queue: {
3109
- rules: [
3110
- 65,
3111
- 66,
3112
- 67,
3113
- 68
3114
- ],
3115
- inclusive: false
3116
- },
3117
- component_db: {
3118
- rules: [
3119
- 65,
3120
- 66,
3121
- 67,
3122
- 68
3123
- ],
3124
- inclusive: false
3125
- },
3126
- component: {
3127
- rules: [
3128
- 65,
3129
- 66,
3130
- 67,
3131
- 68
3132
- ],
3133
- inclusive: false
3134
- },
3135
- container_boundary: {
3136
- rules: [
3137
- 65,
3138
- 66,
3139
- 67,
3140
- 68
3141
- ],
3142
- inclusive: false
3143
- },
3144
- container_ext_queue: {
3145
- rules: [
3146
- 65,
3147
- 66,
3148
- 67,
3149
- 68
3150
- ],
3151
- inclusive: false
3152
- },
3153
- container_ext_db: {
3154
- rules: [
3155
- 65,
3156
- 66,
3157
- 67,
3158
- 68
3159
- ],
3160
- inclusive: false
3161
- },
3162
- container_ext: {
3163
- rules: [
3164
- 65,
3165
- 66,
3166
- 67,
3167
- 68
3168
- ],
3169
- inclusive: false
3170
- },
3171
- container_queue: {
3172
- rules: [
3173
- 65,
3174
- 66,
3175
- 67,
3176
- 68
3177
- ],
3178
- inclusive: false
3179
- },
3180
- container_db: {
3181
- rules: [
3182
- 65,
3183
- 66,
3184
- 67,
3185
- 68
3186
- ],
3187
- inclusive: false
3188
- },
3189
- container: {
3190
- rules: [
3191
- 65,
3192
- 66,
3193
- 67,
3194
- 68
3195
- ],
3196
- inclusive: false
3197
- },
3198
- birel: {
3199
- rules: [
3200
- 65,
3201
- 66,
3202
- 67,
3203
- 68
3204
- ],
3205
- inclusive: false
3206
- },
3207
- system_boundary: {
3208
- rules: [
3209
- 65,
3210
- 66,
3211
- 67,
3212
- 68
3213
- ],
3214
- inclusive: false
3215
- },
3216
- enterprise_boundary: {
3217
- rules: [
3218
- 65,
3219
- 66,
3220
- 67,
3221
- 68
3222
- ],
3223
- inclusive: false
3224
- },
3225
- boundary: {
3226
- rules: [
3227
- 65,
3228
- 66,
3229
- 67,
3230
- 68
3231
- ],
3232
- inclusive: false
3233
- },
3234
- system_ext_queue: {
3235
- rules: [
3236
- 65,
3237
- 66,
3238
- 67,
3239
- 68
3240
- ],
3241
- inclusive: false
3242
- },
3243
- system_ext_db: {
3244
- rules: [
3245
- 65,
3246
- 66,
3247
- 67,
3248
- 68
3249
- ],
3250
- inclusive: false
3251
- },
3252
- system_ext: {
3253
- rules: [
3254
- 65,
3255
- 66,
3256
- 67,
3257
- 68
3258
- ],
3259
- inclusive: false
3260
- },
3261
- system_queue: {
3262
- rules: [
3263
- 65,
3264
- 66,
3265
- 67,
3266
- 68
3267
- ],
3268
- inclusive: false
3269
- },
3270
- system_db: {
3271
- rules: [
3272
- 65,
3273
- 66,
3274
- 67,
3275
- 68
3276
- ],
3277
- inclusive: false
3278
- },
3279
- system: {
3280
- rules: [
3281
- 65,
3282
- 66,
3283
- 67,
3284
- 68
3285
- ],
3286
- inclusive: false
3287
- },
3288
- person_ext: {
3289
- rules: [
3290
- 65,
3291
- 66,
3292
- 67,
3293
- 68
3294
- ],
3295
- inclusive: false
3296
- },
3297
- person: {
3298
- rules: [
3299
- 65,
3300
- 66,
3301
- 67,
3302
- 68
3303
- ],
3304
- inclusive: false
3305
- },
3306
- INITIAL: {
3307
- rules: [
3308
- 0,
3309
- 1,
3310
- 2,
3311
- 3,
3312
- 4,
3313
- 5,
3314
- 6,
3315
- 8,
3316
- 10,
3317
- 13,
3318
- 14,
3319
- 15,
3320
- 16,
3321
- 17,
3322
- 18,
3323
- 19,
3324
- 20,
3325
- 21,
3326
- 22,
3327
- 23,
3328
- 24,
3329
- 25,
3330
- 26,
3331
- 27,
3332
- 28,
3333
- 29,
3334
- 30,
3335
- 31,
3336
- 32,
3337
- 33,
3338
- 34,
3339
- 35,
3340
- 36,
3341
- 37,
3342
- 38,
3343
- 39,
3344
- 40,
3345
- 41,
3346
- 42,
3347
- 43,
3348
- 44,
3349
- 45,
3350
- 46,
3351
- 47,
3352
- 48,
3353
- 49,
3354
- 50,
3355
- 51,
3356
- 52,
3357
- 53,
3358
- 54,
3359
- 55,
3360
- 56,
3361
- 57,
3362
- 58,
3363
- 59,
3364
- 60,
3365
- 61,
3366
- 62,
3367
- 63,
3368
- 64,
3369
- 81,
3370
- 82,
3371
- 83,
3372
- 84,
3373
- 85
3374
- ],
3375
- inclusive: true
3376
- }
3377
- }
3378
- };
3379
- return bt;
3380
- }();
3381
- Xt.lexer = Ee;
3382
- function Wt() {
3383
- this.yy = {};
3384
- }
3385
- return Wt.prototype = Xt, Xt.Parser = Wt, new Wt();
3386
- }();
3387
- Yt.parser = Yt;
3388
- var Be = Yt;
3389
- var U = [], _t = [
3390
- ""
3391
- ], P = "global", j = "", V = [
3392
- {
3393
- alias: "global",
3394
- label: {
3395
- text: "global"
3396
- },
3397
- type: {
3398
- text: "global"
3399
- },
3400
- tags: null,
3401
- link: null,
3402
- parentBoundary: ""
3403
- }
3404
- ], St = [], te = "", ee = false, It = 4, jt = 2;
3405
- var de;
3406
- var Ye = function Ye() {
3407
- return de;
3408
- }, Ie = function Ie(e) {
3409
- de = index.ai(e, index.Vn());
3410
- }, je = function je(e, t, r, o, l, n, a, s, i) {
3411
- if (e == null || t === void 0 || t === null || r === void 0 || r === null || o === void 0 || o === null) return;
3412
- var u = {};
3413
- var d = St.find(function(f) {
3414
- return f.from === t && f.to === r;
3415
- });
3416
- if (d ? u = d : St.push(u), u.type = e, u.from = t, u.to = r, u.label = {
3417
- text: o
3418
- }, l == null) u.techn = {
3419
- text: ""
3420
- };
3421
- else if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3422
- var _Object_entries_ = _sliced_to_array(Object.entries(l)[0], 2), f = _Object_entries_[0], p = _Object_entries_[1];
3423
- u[f] = {
3424
- text: p
3425
- };
3426
- } else u.techn = {
3427
- text: l
3428
- };
3429
- if (n == null) u.descr = {
3430
- text: ""
3431
- };
3432
- else if ((typeof n === "undefined" ? "undefined" : _type_of(n)) == "object") {
3433
- var _Object_entries_1 = _sliced_to_array(Object.entries(n)[0], 2), f1 = _Object_entries_1[0], p1 = _Object_entries_1[1];
3434
- u[f1] = {
3435
- text: p1
3436
- };
3437
- } else u.descr = {
3438
- text: n
3439
- };
3440
- if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3441
- var _Object_entries_2 = _sliced_to_array(Object.entries(a)[0], 2), f2 = _Object_entries_2[0], p2 = _Object_entries_2[1];
3442
- u[f2] = p2;
3443
- } else u.sprite = a;
3444
- if ((typeof s === "undefined" ? "undefined" : _type_of(s)) == "object") {
3445
- var _Object_entries_3 = _sliced_to_array(Object.entries(s)[0], 2), f3 = _Object_entries_3[0], p3 = _Object_entries_3[1];
3446
- u[f3] = p3;
3447
- } else u.tags = s;
3448
- if ((typeof i === "undefined" ? "undefined" : _type_of(i)) == "object") {
3449
- var _Object_entries_4 = _sliced_to_array(Object.entries(i)[0], 2), f4 = _Object_entries_4[0], p4 = _Object_entries_4[1];
3450
- u[f4] = p4;
3451
- } else u.link = i;
3452
- u.wrap = xt();
3453
- }, Ue = function Ue(e, t, r, o, l, n, a) {
3454
- if (t === null || r === null) return;
3455
- var s = {};
3456
- var i = U.find(function(u) {
3457
- return u.alias === t;
3458
- });
3459
- if (i && t === i.alias ? s = i : (s.alias = t, U.push(s)), r == null ? s.label = {
3460
- text: ""
3461
- } : s.label = {
3462
- text: r
3463
- }, o == null) s.descr = {
3464
- text: ""
3465
- };
3466
- else if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3467
- var _Object_entries_ = _sliced_to_array(Object.entries(o)[0], 2), u = _Object_entries_[0], d = _Object_entries_[1];
3468
- s[u] = {
3469
- text: d
3470
- };
3471
- } else s.descr = {
3472
- text: o
3473
- };
3474
- if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3475
- var _Object_entries_1 = _sliced_to_array(Object.entries(l)[0], 2), u1 = _Object_entries_1[0], d1 = _Object_entries_1[1];
3476
- s[u1] = d1;
3477
- } else s.sprite = l;
3478
- if ((typeof n === "undefined" ? "undefined" : _type_of(n)) == "object") {
3479
- var _Object_entries_2 = _sliced_to_array(Object.entries(n)[0], 2), u2 = _Object_entries_2[0], d2 = _Object_entries_2[1];
3480
- s[u2] = d2;
3481
- } else s.tags = n;
3482
- if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3483
- var _Object_entries_3 = _sliced_to_array(Object.entries(a)[0], 2), u3 = _Object_entries_3[0], d3 = _Object_entries_3[1];
3484
- s[u3] = d3;
3485
- } else s.link = a;
3486
- s.typeC4Shape = {
3487
- text: e
3488
- }, s.parentBoundary = P, s.wrap = xt();
3489
- }, Fe = function Fe(e, t, r, o, l, n, a, s) {
3490
- if (t === null || r === null) return;
3491
- var i = {};
3492
- var u = U.find(function(d) {
3493
- return d.alias === t;
3494
- });
3495
- if (u && t === u.alias ? i = u : (i.alias = t, U.push(i)), r == null ? i.label = {
3496
- text: ""
3497
- } : i.label = {
3498
- text: r
3499
- }, o == null) i.techn = {
3500
- text: ""
3501
- };
3502
- else if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3503
- var _Object_entries_ = _sliced_to_array(Object.entries(o)[0], 2), d = _Object_entries_[0], f = _Object_entries_[1];
3504
- i[d] = {
3505
- text: f
3506
- };
3507
- } else i.techn = {
3508
- text: o
3509
- };
3510
- if (l == null) i.descr = {
3511
- text: ""
3512
- };
3513
- else if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3514
- var _Object_entries_1 = _sliced_to_array(Object.entries(l)[0], 2), d1 = _Object_entries_1[0], f1 = _Object_entries_1[1];
3515
- i[d1] = {
3516
- text: f1
3517
- };
3518
- } else i.descr = {
3519
- text: l
3520
- };
3521
- if ((typeof n === "undefined" ? "undefined" : _type_of(n)) == "object") {
3522
- var _Object_entries_2 = _sliced_to_array(Object.entries(n)[0], 2), d2 = _Object_entries_2[0], f2 = _Object_entries_2[1];
3523
- i[d2] = f2;
3524
- } else i.sprite = n;
3525
- if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3526
- var _Object_entries_3 = _sliced_to_array(Object.entries(a)[0], 2), d3 = _Object_entries_3[0], f3 = _Object_entries_3[1];
3527
- i[d3] = f3;
3528
- } else i.tags = a;
3529
- if ((typeof s === "undefined" ? "undefined" : _type_of(s)) == "object") {
3530
- var _Object_entries_4 = _sliced_to_array(Object.entries(s)[0], 2), d4 = _Object_entries_4[0], f4 = _Object_entries_4[1];
3531
- i[d4] = f4;
3532
- } else i.link = s;
3533
- i.wrap = xt(), i.typeC4Shape = {
3534
- text: e
3535
- }, i.parentBoundary = P;
3536
- }, Ve = function Ve(e, t, r, o, l, n, a, s) {
3537
- if (t === null || r === null) return;
3538
- var i = {};
3539
- var u = U.find(function(d) {
3540
- return d.alias === t;
3541
- });
3542
- if (u && t === u.alias ? i = u : (i.alias = t, U.push(i)), r == null ? i.label = {
3543
- text: ""
3544
- } : i.label = {
3545
- text: r
3546
- }, o == null) i.techn = {
3547
- text: ""
3548
- };
3549
- else if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3550
- var _Object_entries_ = _sliced_to_array(Object.entries(o)[0], 2), d = _Object_entries_[0], f = _Object_entries_[1];
3551
- i[d] = {
3552
- text: f
3553
- };
3554
- } else i.techn = {
3555
- text: o
3556
- };
3557
- if (l == null) i.descr = {
3558
- text: ""
3559
- };
3560
- else if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3561
- var _Object_entries_1 = _sliced_to_array(Object.entries(l)[0], 2), d1 = _Object_entries_1[0], f1 = _Object_entries_1[1];
3562
- i[d1] = {
3563
- text: f1
3564
- };
3565
- } else i.descr = {
3566
- text: l
3567
- };
3568
- if ((typeof n === "undefined" ? "undefined" : _type_of(n)) == "object") {
3569
- var _Object_entries_2 = _sliced_to_array(Object.entries(n)[0], 2), d2 = _Object_entries_2[0], f2 = _Object_entries_2[1];
3570
- i[d2] = f2;
3571
- } else i.sprite = n;
3572
- if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3573
- var _Object_entries_3 = _sliced_to_array(Object.entries(a)[0], 2), d3 = _Object_entries_3[0], f3 = _Object_entries_3[1];
3574
- i[d3] = f3;
3575
- } else i.tags = a;
3576
- if ((typeof s === "undefined" ? "undefined" : _type_of(s)) == "object") {
3577
- var _Object_entries_4 = _sliced_to_array(Object.entries(s)[0], 2), d4 = _Object_entries_4[0], f4 = _Object_entries_4[1];
3578
- i[d4] = f4;
3579
- } else i.link = s;
3580
- i.wrap = xt(), i.typeC4Shape = {
3581
- text: e
3582
- }, i.parentBoundary = P;
3583
- }, ze = function ze(e, t, r, o, l) {
3584
- if (e === null || t === null) return;
3585
- var n = {};
3586
- var a = V.find(function(s) {
3587
- return s.alias === e;
3588
- });
3589
- if (a && e === a.alias ? n = a : (n.alias = e, V.push(n)), t == null ? n.label = {
3590
- text: ""
3591
- } : n.label = {
3592
- text: t
3593
- }, r == null) n.type = {
3594
- text: "system"
3595
- };
3596
- else if ((typeof r === "undefined" ? "undefined" : _type_of(r)) == "object") {
3597
- var _Object_entries_ = _sliced_to_array(Object.entries(r)[0], 2), s = _Object_entries_[0], i = _Object_entries_[1];
3598
- n[s] = {
3599
- text: i
3600
- };
3601
- } else n.type = {
3602
- text: r
3603
- };
3604
- if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3605
- var _Object_entries_1 = _sliced_to_array(Object.entries(o)[0], 2), s1 = _Object_entries_1[0], i1 = _Object_entries_1[1];
3606
- n[s1] = i1;
3607
- } else n.tags = o;
3608
- if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3609
- var _Object_entries_2 = _sliced_to_array(Object.entries(l)[0], 2), s2 = _Object_entries_2[0], i2 = _Object_entries_2[1];
3610
- n[s2] = i2;
3611
- } else n.link = l;
3612
- n.parentBoundary = P, n.wrap = xt(), j = P, P = e, _t.push(j);
3613
- }, Xe = function Xe(e, t, r, o, l) {
3614
- if (e === null || t === null) return;
3615
- var n = {};
3616
- var a = V.find(function(s) {
3617
- return s.alias === e;
3618
- });
3619
- if (a && e === a.alias ? n = a : (n.alias = e, V.push(n)), t == null ? n.label = {
3620
- text: ""
3621
- } : n.label = {
3622
- text: t
3623
- }, r == null) n.type = {
3624
- text: "container"
3625
- };
3626
- else if ((typeof r === "undefined" ? "undefined" : _type_of(r)) == "object") {
3627
- var _Object_entries_ = _sliced_to_array(Object.entries(r)[0], 2), s = _Object_entries_[0], i = _Object_entries_[1];
3628
- n[s] = {
3629
- text: i
3630
- };
3631
- } else n.type = {
3632
- text: r
3633
- };
3634
- if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3635
- var _Object_entries_1 = _sliced_to_array(Object.entries(o)[0], 2), s1 = _Object_entries_1[0], i1 = _Object_entries_1[1];
3636
- n[s1] = i1;
3637
- } else n.tags = o;
3638
- if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3639
- var _Object_entries_2 = _sliced_to_array(Object.entries(l)[0], 2), s2 = _Object_entries_2[0], i2 = _Object_entries_2[1];
3640
- n[s2] = i2;
3641
- } else n.link = l;
3642
- n.parentBoundary = P, n.wrap = xt(), j = P, P = e, _t.push(j);
3643
- }, We = function We(e, t, r, o, l, n, a, s) {
3644
- if (t === null || r === null) return;
3645
- var i = {};
3646
- var u = V.find(function(d) {
3647
- return d.alias === t;
3648
- });
3649
- if (u && t === u.alias ? i = u : (i.alias = t, V.push(i)), r == null ? i.label = {
3650
- text: ""
3651
- } : i.label = {
3652
- text: r
3653
- }, o == null) i.type = {
3654
- text: "node"
3655
- };
3656
- else if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3657
- var _Object_entries_ = _sliced_to_array(Object.entries(o)[0], 2), d = _Object_entries_[0], f = _Object_entries_[1];
3658
- i[d] = {
3659
- text: f
3660
- };
3661
- } else i.type = {
3662
- text: o
3663
- };
3664
- if (l == null) i.descr = {
3665
- text: ""
3666
- };
3667
- else if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3668
- var _Object_entries_1 = _sliced_to_array(Object.entries(l)[0], 2), d1 = _Object_entries_1[0], f1 = _Object_entries_1[1];
3669
- i[d1] = {
3670
- text: f1
3671
- };
3672
- } else i.descr = {
3673
- text: l
3674
- };
3675
- if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3676
- var _Object_entries_2 = _sliced_to_array(Object.entries(a)[0], 2), d2 = _Object_entries_2[0], f2 = _Object_entries_2[1];
3677
- i[d2] = f2;
3678
- } else i.tags = a;
3679
- if ((typeof s === "undefined" ? "undefined" : _type_of(s)) == "object") {
3680
- var _Object_entries_3 = _sliced_to_array(Object.entries(s)[0], 2), d3 = _Object_entries_3[0], f3 = _Object_entries_3[1];
3681
- i[d3] = f3;
3682
- } else i.link = s;
3683
- i.nodeType = e, i.parentBoundary = P, i.wrap = xt(), j = P, P = t, _t.push(j);
3684
- }, Qe = function Qe() {
3685
- P = j, _t.pop(), j = _t.pop(), _t.push(j);
3686
- }, He = function He(e, t, r, o, l, n, a, s, i, u, d) {
3687
- var f = U.find(function(p) {
3688
- return p.alias === t;
3689
- });
3690
- if (!(f === void 0 && (f = V.find(function(p) {
3691
- return p.alias === t;
3692
- }), f === void 0))) {
3693
- if (r != null) if ((typeof r === "undefined" ? "undefined" : _type_of(r)) == "object") {
3694
- var _Object_entries_ = _sliced_to_array(Object.entries(r)[0], 2), p = _Object_entries_[0], E = _Object_entries_[1];
3695
- f[p] = E;
3696
- } else f.bgColor = r;
3697
- if (o != null) if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3698
- var _Object_entries_1 = _sliced_to_array(Object.entries(o)[0], 2), p1 = _Object_entries_1[0], E1 = _Object_entries_1[1];
3699
- f[p1] = E1;
3700
- } else f.fontColor = o;
3701
- if (l != null) if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3702
- var _Object_entries_2 = _sliced_to_array(Object.entries(l)[0], 2), p2 = _Object_entries_2[0], E2 = _Object_entries_2[1];
3703
- f[p2] = E2;
3704
- } else f.borderColor = l;
3705
- if (n != null) if ((typeof n === "undefined" ? "undefined" : _type_of(n)) == "object") {
3706
- var _Object_entries_3 = _sliced_to_array(Object.entries(n)[0], 2), p3 = _Object_entries_3[0], E3 = _Object_entries_3[1];
3707
- f[p3] = E3;
3708
- } else f.shadowing = n;
3709
- if (a != null) if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3710
- var _Object_entries_4 = _sliced_to_array(Object.entries(a)[0], 2), p4 = _Object_entries_4[0], E4 = _Object_entries_4[1];
3711
- f[p4] = E4;
3712
- } else f.shape = a;
3713
- if (s != null) if ((typeof s === "undefined" ? "undefined" : _type_of(s)) == "object") {
3714
- var _Object_entries_5 = _sliced_to_array(Object.entries(s)[0], 2), p5 = _Object_entries_5[0], E5 = _Object_entries_5[1];
3715
- f[p5] = E5;
3716
- } else f.sprite = s;
3717
- if (i != null) if ((typeof i === "undefined" ? "undefined" : _type_of(i)) == "object") {
3718
- var _Object_entries_6 = _sliced_to_array(Object.entries(i)[0], 2), p6 = _Object_entries_6[0], E6 = _Object_entries_6[1];
3719
- f[p6] = E6;
3720
- } else f.techn = i;
3721
- if (u != null) if ((typeof u === "undefined" ? "undefined" : _type_of(u)) == "object") {
3722
- var _Object_entries_7 = _sliced_to_array(Object.entries(u)[0], 2), p7 = _Object_entries_7[0], E7 = _Object_entries_7[1];
3723
- f[p7] = E7;
3724
- } else f.legendText = u;
3725
- if (d != null) if ((typeof d === "undefined" ? "undefined" : _type_of(d)) == "object") {
3726
- var _Object_entries_8 = _sliced_to_array(Object.entries(d)[0], 2), p8 = _Object_entries_8[0], E8 = _Object_entries_8[1];
3727
- f[p8] = E8;
3728
- } else f.legendSprite = d;
3729
- }
3730
- }, qe = function qe(e, t, r, o, l, n, a) {
3731
- var s = St.find(function(i) {
3732
- return i.from === t && i.to === r;
3733
- });
3734
- if (s !== void 0) {
3735
- if (o != null) if ((typeof o === "undefined" ? "undefined" : _type_of(o)) == "object") {
3736
- var _Object_entries_ = _sliced_to_array(Object.entries(o)[0], 2), i = _Object_entries_[0], u = _Object_entries_[1];
3737
- s[i] = u;
3738
- } else s.textColor = o;
3739
- if (l != null) if ((typeof l === "undefined" ? "undefined" : _type_of(l)) == "object") {
3740
- var _Object_entries_1 = _sliced_to_array(Object.entries(l)[0], 2), i1 = _Object_entries_1[0], u1 = _Object_entries_1[1];
3741
- s[i1] = u1;
3742
- } else s.lineColor = l;
3743
- if (n != null) if ((typeof n === "undefined" ? "undefined" : _type_of(n)) == "object") {
3744
- var _Object_entries_2 = _sliced_to_array(Object.entries(n)[0], 2), i2 = _Object_entries_2[0], u2 = _Object_entries_2[1];
3745
- s[i2] = parseInt(u2);
3746
- } else s.offsetX = parseInt(n);
3747
- if (a != null) if ((typeof a === "undefined" ? "undefined" : _type_of(a)) == "object") {
3748
- var _Object_entries_3 = _sliced_to_array(Object.entries(a)[0], 2), i3 = _Object_entries_3[0], u3 = _Object_entries_3[1];
3749
- s[i3] = parseInt(u3);
3750
- } else s.offsetY = parseInt(a);
3751
- }
3752
- }, Ge = function Ge(e, t, r) {
3753
- var o = It, l = jt;
3754
- if ((typeof t === "undefined" ? "undefined" : _type_of(t)) == "object") {
3755
- var n = Object.values(t)[0];
3756
- o = parseInt(n);
3757
- } else o = parseInt(t);
3758
- if ((typeof r === "undefined" ? "undefined" : _type_of(r)) == "object") {
3759
- var n1 = Object.values(r)[0];
3760
- l = parseInt(n1);
3761
- } else l = parseInt(r);
3762
- o >= 1 && (It = o), l >= 1 && (jt = l);
3763
- }, Ke = function Ke() {
3764
- return It;
3765
- }, Je = function Je() {
3766
- return jt;
3767
- }, Ze = function Ze() {
3768
- return P;
3769
- }, $e = function $e() {
3770
- return j;
3771
- }, fe = function fe(e) {
3772
- return e == null ? U : U.filter(function(t) {
3773
- return t.parentBoundary === e;
3774
- });
3775
- }, t0 = function t0(e) {
3776
- return U.find(function(t) {
3777
- return t.alias === e;
3778
- });
3779
- }, e0 = function e0(e) {
3780
- return Object.keys(fe(e));
3781
- }, pe = function pe(e) {
3782
- return e == null ? V : V.filter(function(t) {
3783
- return t.parentBoundary === e;
3784
- });
3785
- }, n0 = pe, i0 = function i0() {
3786
- return St;
3787
- }, s0 = function s0() {
3788
- return te;
3789
- }, a0 = function a0(e) {
3790
- ee = e;
3791
- }, xt = function xt() {
3792
- return ee;
3793
- }, r0 = function r0() {
3794
- U = [], V = [
3795
- {
3796
- alias: "global",
3797
- label: {
3798
- text: "global"
3799
- },
3800
- type: {
3801
- text: "global"
3802
- },
3803
- tags: null,
3804
- link: null,
3805
- parentBoundary: ""
3806
- }
3807
- ], j = "", P = "global", _t = [
3808
- ""
3809
- ], St = [], _t = [
3810
- ""
3811
- ], te = "", ee = false, It = 4, jt = 2;
3812
- }, l0 = {
3813
- SOLID: 0,
3814
- DOTTED: 1,
3815
- NOTE: 2,
3816
- SOLID_CROSS: 3,
3817
- DOTTED_CROSS: 4,
3818
- SOLID_OPEN: 5,
3819
- DOTTED_OPEN: 6,
3820
- LOOP_START: 10,
3821
- LOOP_END: 11,
3822
- ALT_START: 12,
3823
- ALT_ELSE: 13,
3824
- ALT_END: 14,
3825
- OPT_START: 15,
3826
- OPT_END: 16,
3827
- ACTIVE_START: 17,
3828
- ACTIVE_END: 18,
3829
- PAR_START: 19,
3830
- PAR_AND: 20,
3831
- PAR_END: 21,
3832
- RECT_START: 22,
3833
- RECT_END: 23,
3834
- SOLID_POINT: 24,
3835
- DOTTED_POINT: 25
3836
- }, o0 = {
3837
- FILLED: 0,
3838
- OPEN: 1
3839
- }, c0 = {
3840
- LEFTOF: 0,
3841
- RIGHTOF: 1,
3842
- OVER: 2
3843
- }, h0 = function h0(e) {
3844
- te = index.ai(e, index.Vn());
3845
- }, Jt = {
3846
- addPersonOrSystem: Ue,
3847
- addPersonOrSystemBoundary: ze,
3848
- addContainer: Fe,
3849
- addContainerBoundary: Xe,
3850
- addComponent: Ve,
3851
- addDeploymentNode: We,
3852
- popBoundaryParseStack: Qe,
3853
- addRel: je,
3854
- updateElStyle: He,
3855
- updateRelStyle: qe,
3856
- updateLayoutConfig: Ge,
3857
- autoWrap: xt,
3858
- setWrap: a0,
3859
- getC4ShapeArray: fe,
3860
- getC4Shape: t0,
3861
- getC4ShapeKeys: e0,
3862
- getBoundaries: pe,
3863
- getBoundarys: n0,
3864
- getCurrentBoundaryParse: Ze,
3865
- getParentBoundaryParse: $e,
3866
- getRels: i0,
3867
- getTitle: s0,
3868
- getC4Type: Ye,
3869
- getC4ShapeInRow: Ke,
3870
- getC4BoundaryInRow: Je,
3871
- setAccTitle: index.F_,
3872
- getAccTitle: index.A_,
3873
- getAccDescription: index.E_,
3874
- setAccDescription: index.L_,
3875
- getConfig: function() {
3876
- return index.Vn().c4;
3877
- },
3878
- clear: r0,
3879
- LINETYPE: l0,
3880
- ARROWTYPE: o0,
3881
- PLACEMENT: c0,
3882
- setTitle: h0,
3883
- setC4Type: Ie
3884
- }, ne = function ne(e, t) {
3885
- return svgDrawCommonEcc5f780.l(e, t);
3886
- }, ye = function ye(e, t, r, o, l, n) {
3887
- var a = e.append("image");
3888
- a.attr("width", t), a.attr("height", r), a.attr("x", o), a.attr("y", l);
3889
- var s = n.startsWith("data:image/png;base64") ? n : index.Rs.sanitizeUrl(n);
3890
- a.attr("xlink:href", s);
3891
- }, u0 = function(e, t, r) {
3892
- var o = e.append("g");
3893
- var l = 0;
3894
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
3895
- try {
3896
- for(var _iterator = t[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
3897
- var n = _step.value;
3898
- var a = n.textColor ? n.textColor : "#444444", s = n.lineColor ? n.lineColor : "#444444", i = n.offsetX ? parseInt(n.offsetX) : 0, u = n.offsetY ? parseInt(n.offsetY) : 0, d = "";
3899
- if (l === 0) {
3900
- var p = o.append("line");
3901
- p.attr("x1", n.startPoint.x), p.attr("y1", n.startPoint.y), p.attr("x2", n.endPoint.x), p.attr("y2", n.endPoint.y), p.attr("stroke-width", "1"), p.attr("stroke", s), p.style("fill", "none"), n.type !== "rel_b" && p.attr("marker-end", "url(" + d + "#arrowhead)"), (n.type === "birel" || n.type === "rel_b") && p.attr("marker-start", "url(" + d + "#arrowend)"), l = -1;
3902
- } else {
3903
- var p1 = o.append("path");
3904
- p1.attr("fill", "none").attr("stroke-width", "1").attr("stroke", s).attr("d", "Mstartx,starty Qcontrolx,controly stopx,stopy ".replaceAll("startx", n.startPoint.x).replaceAll("starty", n.startPoint.y).replaceAll("controlx", n.startPoint.x + (n.endPoint.x - n.startPoint.x) / 2 - (n.endPoint.x - n.startPoint.x) / 4).replaceAll("controly", n.startPoint.y + (n.endPoint.y - n.startPoint.y) / 2).replaceAll("stopx", n.endPoint.x).replaceAll("stopy", n.endPoint.y)), n.type !== "rel_b" && p1.attr("marker-end", "url(" + d + "#arrowhead)"), (n.type === "birel" || n.type === "rel_b") && p1.attr("marker-start", "url(" + d + "#arrowend)");
3905
- }
3906
- var f = r.messageFont();
3907
- W(r)(n.label.text, o, Math.min(n.startPoint.x, n.endPoint.x) + Math.abs(n.endPoint.x - n.startPoint.x) / 2 + i, Math.min(n.startPoint.y, n.endPoint.y) + Math.abs(n.endPoint.y - n.startPoint.y) / 2 + u, n.label.width, n.label.height, {
3908
- fill: a
3909
- }, f), n.techn && n.techn.text !== "" && (f = r.messageFont(), W(r)("[" + n.techn.text + "]", o, Math.min(n.startPoint.x, n.endPoint.x) + Math.abs(n.endPoint.x - n.startPoint.x) / 2 + i, Math.min(n.startPoint.y, n.endPoint.y) + Math.abs(n.endPoint.y - n.startPoint.y) / 2 + r.messageFontSize + 5 + u, Math.max(n.label.width, n.techn.width), n.techn.height, {
3910
- fill: a,
3911
- "font-style": "italic"
3912
- }, f));
3913
- }
3914
- } catch (err) {
3915
- _didIteratorError = true;
3916
- _iteratorError = err;
3917
- } finally{
3918
- try {
3919
- if (!_iteratorNormalCompletion && _iterator.return != null) {
3920
- _iterator.return();
3921
- }
3922
- } finally{
3923
- if (_didIteratorError) {
3924
- throw _iteratorError;
3925
- }
3926
- }
3927
- }
3928
- }, d0 = function d0(e, t, r) {
3929
- var o = e.append("g");
3930
- var l = t.bgColor ? t.bgColor : "none", n = t.borderColor ? t.borderColor : "#444444", a = t.fontColor ? t.fontColor : "black", s = {
3931
- "stroke-width": 1,
3932
- "stroke-dasharray": "7.0,7.0"
3933
- };
3934
- t.nodeType && (s = {
3935
- "stroke-width": 1
3936
- });
3937
- var i = {
3938
- x: t.x,
3939
- y: t.y,
3940
- fill: l,
3941
- stroke: n,
3942
- width: t.width,
3943
- height: t.height,
3944
- rx: 2.5,
3945
- ry: 2.5,
3946
- attrs: s
3947
- };
3948
- ne(o, i);
3949
- var u = r.boundaryFont();
3950
- u.fontWeight = "bold", u.fontSize = u.fontSize + 2, u.fontColor = a, W(r)(t.label.text, o, t.x, t.y + t.label.Y, t.width, t.height, {
3951
- fill: "#444444"
3952
- }, u), t.type && t.type.text !== "" && (u = r.boundaryFont(), u.fontColor = a, W(r)(t.type.text, o, t.x, t.y + t.type.Y, t.width, t.height, {
3953
- fill: "#444444"
3954
- }, u)), t.descr && t.descr.text !== "" && (u = r.boundaryFont(), u.fontSize = u.fontSize - 2, u.fontColor = a, W(r)(t.descr.text, o, t.x, t.y + t.descr.Y, t.width, t.height, {
3955
- fill: "#444444"
3956
- }, u));
3957
- }, f0 = function f0(e, t, r) {
3958
- var f;
3959
- var o = t.bgColor ? t.bgColor : r[t.typeC4Shape.text + "_bg_color"], l = t.borderColor ? t.borderColor : r[t.typeC4Shape.text + "_border_color"], n = t.fontColor ? t.fontColor : "#FFFFFF", a = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
3960
- switch(t.typeC4Shape.text){
3961
- case "person":
3962
- a = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAACD0lEQVR4Xu2YoU4EMRCGT+4j8Ai8AhaH4QHgAUjQuFMECUgMIUgwJAgMhgQsAYUiJCiQIBBY+EITsjfTdme6V24v4c8vyGbb+ZjOtN0bNcvjQXmkH83WvYBWto6PLm6v7p7uH1/w2fXD+PBycX1Pv2l3IdDm/vn7x+dXQiAubRzoURa7gRZWd0iGRIiJbOnhnfYBQZNJjNbuyY2eJG8fkDE3bbG4ep6MHUAsgYxmE3nVs6VsBWJSGccsOlFPmLIViMzLOB7pCVO2AtHJMohH7Fh6zqitQK7m0rJvAVYgGcEpe//PLdDz65sM4pF9N7ICcXDKIB5Nv6j7tD0NoSdM2QrU9Gg0ewE1LqBhHR3BBdvj2vapnidjHxD/q6vd7Pvhr31AwcY8eXMTXAKECZZJFXuEq27aLgQK5uLMohCenGGuGewOxSjBvYBqeG6B+Nqiblggdjnc+ZXDy+FNFpFzw76O3UBAROuXh6FoiAcf5g9eTvUgzy0nWg6I8cXHRUpg5bOVBCo+KDpFajOf23GgPme7RSQ+lacIENUgJ6gg1k6HjgOlqnLqip4tEuhv0hNEMXUD0clyXE3p6pZA0S2nnvTlXwLJEZWlb7cTQH1+USgTN4VhAenm/wea1OCAOmqo6fE1WCb9WSKBah+rbUWPWAmE2Rvk0ApiB45eOyNAzU8xcTvj8KvkKEoOaIYeHNA3ZuygAvFMUO0AAAAASUVORK5CYII=";
3963
- break;
3964
- case "external_person":
3965
- a = "data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAIAAADYYG7QAAAB6ElEQVR4Xu2YLY+EMBCG9+dWr0aj0Wg0Go1Go0+j8Xdv2uTCvv1gpt0ebHKPuhDaeW4605Z9mJvx4AdXUyTUdd08z+u6flmWZRnHsWkafk9DptAwDPu+f0eAYtu2PEaGWuj5fCIZrBAC2eLBAnRCsEkkxmeaJp7iDJ2QMDdHsLg8SxKFEJaAo8lAXnmuOFIhTMpxxKATebo4UiFknuNo4OniSIXQyRxEA3YsnjGCVEjVXD7yLUAqxBGUyPv/Y4W2beMgGuS7kVQIBycH0fD+oi5pezQETxdHKmQKGk1eQEYldK+jw5GxPfZ9z7Mk0Qnhf1W1m3w//EUn5BDmSZsbR44QQLBEqrBHqOrmSKaQAxdnLArCrxZcM7A7ZKs4ioRq8LFC+NpC3WCBJsvpVw5edm9iEXFuyNfxXAgSwfrFQ1c0iNda8AdejvUgnktOtJQQxmcfFzGglc5WVCj7oDgFqU18boeFSs52CUh8LE8BIVQDT1ABrB0HtgSEYlX5doJnCwv9TXocKCaKbnwhdDKPq4lf3SwU3HLq4V/+WYhHVMa/3b4IlfyikAduCkcBc7mQ3/z/Qq/cTuikhkzB12Ae/mcJC9U+Vo8Ej1gWAtgbeGgFsAMHr50BIWOLCbezvhpBFUdY6EJuJ/QDW0XoMX60zZ0AAAAASUVORK5CYII=";
3966
- break;
3967
- }
3968
- var s = e.append("g");
3969
- s.attr("class", "person-man");
3970
- var i = svgDrawCommonEcc5f780.g();
3971
- switch(t.typeC4Shape.text){
3972
- case "person":
3973
- case "external_person":
3974
- case "system":
3975
- case "external_system":
3976
- case "container":
3977
- case "external_container":
3978
- case "component":
3979
- case "external_component":
3980
- i.x = t.x, i.y = t.y, i.fill = o, i.width = t.width, i.height = t.height, i.stroke = l, i.rx = 2.5, i.ry = 2.5, i.attrs = {
3981
- "stroke-width": 0.5
3982
- }, ne(s, i);
3983
- break;
3984
- case "system_db":
3985
- case "external_system_db":
3986
- case "container_db":
3987
- case "external_container_db":
3988
- case "component_db":
3989
- case "external_component_db":
3990
- s.append("path").attr("fill", o).attr("stroke-width", "0.5").attr("stroke", l).attr("d", "Mstartx,startyc0,-10 half,-10 half,-10c0,0 half,0 half,10l0,heightc0,10 -half,10 -half,10c0,0 -half,0 -half,-10l0,-height".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2).replaceAll("height", t.height)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", l).attr("d", "Mstartx,startyc0,10 half,10 half,10c0,0 half,0 half,-10".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("half", t.width / 2));
3991
- break;
3992
- case "system_queue":
3993
- case "external_system_queue":
3994
- case "container_queue":
3995
- case "external_container_queue":
3996
- case "component_queue":
3997
- case "external_component_queue":
3998
- s.append("path").attr("fill", o).attr("stroke-width", "0.5").attr("stroke", l).attr("d", "Mstartx,startylwidth,0c5,0 5,half 5,halfc0,0 0,half -5,halfl-width,0c-5,0 -5,-half -5,-halfc0,0 0,-half 5,-half".replaceAll("startx", t.x).replaceAll("starty", t.y).replaceAll("width", t.width).replaceAll("half", t.height / 2)), s.append("path").attr("fill", "none").attr("stroke-width", "0.5").attr("stroke", l).attr("d", "Mstartx,startyc-5,0 -5,half -5,halfc0,half 5,half 5,half".replaceAll("startx", t.x + t.width).replaceAll("starty", t.y).replaceAll("half", t.height / 2));
3999
- break;
4000
- }
4001
- var u = k0(r, t.typeC4Shape.text);
4002
- switch(s.append("text").attr("fill", n).attr("font-family", u.fontFamily).attr("font-size", u.fontSize - 2).attr("font-style", "italic").attr("lengthAdjust", "spacing").attr("textLength", t.typeC4Shape.width).attr("x", t.x + t.width / 2 - t.typeC4Shape.width / 2).attr("y", t.y + t.typeC4Shape.Y).text("<<" + t.typeC4Shape.text + ">>"), t.typeC4Shape.text){
4003
- case "person":
4004
- case "external_person":
4005
- ye(s, 48, 48, t.x + t.width / 2 - 24, t.y + t.image.Y, a);
4006
- break;
4007
- }
4008
- var d = r[t.typeC4Shape.text + "Font"]();
4009
- return d.fontWeight = "bold", d.fontSize = d.fontSize + 2, d.fontColor = n, W(r)(t.label.text, s, t.x, t.y + t.label.Y, t.width, t.height, {
4010
- fill: n
4011
- }, d), d = r[t.typeC4Shape.text + "Font"](), d.fontColor = n, t.techn && ((f = t.techn) == null ? void 0 : f.text) !== "" ? W(r)(t.techn.text, s, t.x, t.y + t.techn.Y, t.width, t.height, {
4012
- fill: n,
4013
- "font-style": "italic"
4014
- }, d) : t.type && t.type.text !== "" && W(r)(t.type.text, s, t.x, t.y + t.type.Y, t.width, t.height, {
4015
- fill: n,
4016
- "font-style": "italic"
4017
- }, d), t.descr && t.descr.text !== "" && (d = r.personFont(), d.fontColor = n, W(r)(t.descr.text, s, t.x, t.y + t.descr.Y, t.width, t.height, {
4018
- fill: n
4019
- }, d)), t.height;
4020
- }, p0 = function p0(e) {
4021
- e.append("defs").append("symbol").attr("id", "database").attr("fill-rule", "evenodd").attr("clip-rule", "evenodd").append("path").attr("transform", "scale(.5)").attr("d", "M12.258.001l.256.004.255.005.253.008.251.01.249.012.247.015.246.016.242.019.241.02.239.023.236.024.233.027.231.028.229.031.225.032.223.034.22.036.217.038.214.04.211.041.208.043.205.045.201.046.198.048.194.05.191.051.187.053.183.054.18.056.175.057.172.059.168.06.163.061.16.063.155.064.15.066.074.033.073.033.071.034.07.034.069.035.068.035.067.035.066.035.064.036.064.036.062.036.06.036.06.037.058.037.058.037.055.038.055.038.053.038.052.038.051.039.05.039.048.039.047.039.045.04.044.04.043.04.041.04.04.041.039.041.037.041.036.041.034.041.033.042.032.042.03.042.029.042.027.042.026.043.024.043.023.043.021.043.02.043.018.044.017.043.015.044.013.044.012.044.011.045.009.044.007.045.006.045.004.045.002.045.001.045v17l-.001.045-.002.045-.004.045-.006.045-.007.045-.009.044-.011.045-.012.044-.013.044-.015.044-.017.043-.018.044-.02.043-.021.043-.023.043-.024.043-.026.043-.027.042-.029.042-.03.042-.032.042-.033.042-.034.041-.036.041-.037.041-.039.041-.04.041-.041.04-.043.04-.044.04-.045.04-.047.039-.048.039-.05.039-.051.039-.052.038-.053.038-.055.038-.055.038-.058.037-.058.037-.06.037-.06.036-.062.036-.064.036-.064.036-.066.035-.067.035-.068.035-.069.035-.07.034-.071.034-.073.033-.074.033-.15.066-.155.064-.16.063-.163.061-.168.06-.172.059-.175.057-.18.056-.183.054-.187.053-.191.051-.194.05-.198.048-.201.046-.205.045-.208.043-.211.041-.214.04-.217.038-.22.036-.223.034-.225.032-.229.031-.231.028-.233.027-.236.024-.239.023-.241.02-.242.019-.246.016-.247.015-.249.012-.251.01-.253.008-.255.005-.256.004-.258.001-.258-.001-.256-.004-.255-.005-.253-.008-.251-.01-.249-.012-.247-.015-.245-.016-.243-.019-.241-.02-.238-.023-.236-.024-.234-.027-.231-.028-.228-.031-.226-.032-.223-.034-.22-.036-.217-.038-.214-.04-.211-.041-.208-.043-.204-.045-.201-.046-.198-.048-.195-.05-.19-.051-.187-.053-.184-.054-.179-.056-.176-.057-.172-.059-.167-.06-.164-.061-.159-.063-.155-.064-.151-.066-.074-.033-.072-.033-.072-.034-.07-.034-.069-.035-.068-.035-.067-.035-.066-.035-.064-.036-.063-.036-.062-.036-.061-.036-.06-.037-.058-.037-.057-.037-.056-.038-.055-.038-.053-.038-.052-.038-.051-.039-.049-.039-.049-.039-.046-.039-.046-.04-.044-.04-.043-.04-.041-.04-.04-.041-.039-.041-.037-.041-.036-.041-.034-.041-.033-.042-.032-.042-.03-.042-.029-.042-.027-.042-.026-.043-.024-.043-.023-.043-.021-.043-.02-.043-.018-.044-.017-.043-.015-.044-.013-.044-.012-.044-.011-.045-.009-.044-.007-.045-.006-.045-.004-.045-.002-.045-.001-.045v-17l.001-.045.002-.045.004-.045.006-.045.007-.045.009-.044.011-.045.012-.044.013-.044.015-.044.017-.043.018-.044.02-.043.021-.043.023-.043.024-.043.026-.043.027-.042.029-.042.03-.042.032-.042.033-.042.034-.041.036-.041.037-.041.039-.041.04-.041.041-.04.043-.04.044-.04.046-.04.046-.039.049-.039.049-.039.051-.039.052-.038.053-.038.055-.038.056-.038.057-.037.058-.037.06-.037.061-.036.062-.036.063-.036.064-.036.066-.035.067-.035.068-.035.069-.035.07-.034.072-.034.072-.033.074-.033.151-.066.155-.064.159-.063.164-.061.167-.06.172-.059.176-.057.179-.056.184-.054.187-.053.19-.051.195-.05.198-.048.201-.046.204-.045.208-.043.211-.041.214-.04.217-.038.22-.036.223-.034.226-.032.228-.031.231-.028.234-.027.236-.024.238-.023.241-.02.243-.019.245-.016.247-.015.249-.012.251-.01.253-.008.255-.005.256-.004.258-.001.258.001zm-9.258 20.499v.01l.001.021.003.021.004.022.005.021.006.022.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.023.018.024.019.024.021.024.022.025.023.024.024.025.052.049.056.05.061.051.066.051.07.051.075.051.079.052.084.052.088.052.092.052.097.052.102.051.105.052.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.048.144.049.147.047.152.047.155.047.16.045.163.045.167.043.171.043.176.041.178.041.183.039.187.039.19.037.194.035.197.035.202.033.204.031.209.03.212.029.216.027.219.025.222.024.226.021.23.02.233.018.236.016.24.015.243.012.246.01.249.008.253.005.256.004.259.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.021.224-.024.22-.026.216-.027.212-.028.21-.031.205-.031.202-.034.198-.034.194-.036.191-.037.187-.039.183-.04.179-.04.175-.042.172-.043.168-.044.163-.045.16-.046.155-.046.152-.047.148-.048.143-.049.139-.049.136-.05.131-.05.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.053.083-.051.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.05.023-.024.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.023.01-.022.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.127l-.077.055-.08.053-.083.054-.085.053-.087.052-.09.052-.093.051-.095.05-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.045-.118.044-.12.043-.122.042-.124.042-.126.041-.128.04-.13.04-.132.038-.134.038-.135.037-.138.037-.139.035-.142.035-.143.034-.144.033-.147.032-.148.031-.15.03-.151.03-.153.029-.154.027-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.01-.179.008-.179.008-.181.006-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.006-.179-.008-.179-.008-.178-.01-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.027-.153-.029-.151-.03-.15-.03-.148-.031-.146-.032-.145-.033-.143-.034-.141-.035-.14-.035-.137-.037-.136-.037-.134-.038-.132-.038-.13-.04-.128-.04-.126-.041-.124-.042-.122-.042-.12-.044-.117-.043-.116-.045-.113-.045-.112-.046-.109-.047-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.05-.093-.052-.09-.051-.087-.052-.085-.053-.083-.054-.08-.054-.077-.054v4.127zm0-5.654v.011l.001.021.003.021.004.021.005.022.006.022.007.022.009.022.01.022.011.023.012.023.013.023.015.024.016.023.017.024.018.024.019.024.021.024.022.024.023.025.024.024.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.052.11.051.114.051.119.052.123.05.127.051.131.05.135.049.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.044.171.042.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.022.23.02.233.018.236.016.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.012.241-.015.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.048.139-.05.136-.049.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.051.051-.049.023-.025.023-.024.021-.025.02-.024.019-.024.018-.024.017-.024.015-.023.014-.023.013-.024.012-.022.01-.023.01-.023.008-.022.006-.022.006-.022.004-.021.004-.022.001-.021.001-.021v-4.139l-.077.054-.08.054-.083.054-.085.052-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.049-.105.048-.106.047-.109.047-.111.046-.114.045-.115.044-.118.044-.12.044-.122.042-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.035-.143.033-.144.033-.147.033-.148.031-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.025-.161.024-.162.023-.163.022-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.011-.178.009-.179.009-.179.007-.181.007-.182.005-.182.004-.184.003-.184.002h-.37l-.184-.002-.184-.003-.182-.004-.182-.005-.181-.007-.179-.007-.179-.009-.178-.009-.176-.011-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.022-.162-.023-.161-.024-.159-.025-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.031-.146-.033-.145-.033-.143-.033-.141-.035-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.04-.126-.041-.124-.042-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.047-.105-.048-.102-.049-.1-.049-.097-.05-.095-.051-.093-.051-.09-.051-.087-.053-.085-.052-.083-.054-.08-.054-.077-.054v4.139zm0-5.666v.011l.001.02.003.022.004.021.005.022.006.021.007.022.009.023.01.022.011.023.012.023.013.023.015.023.016.024.017.024.018.023.019.024.021.025.022.024.023.024.024.025.052.05.056.05.061.05.066.051.07.051.075.052.079.051.084.052.088.052.092.052.097.052.102.052.105.051.11.052.114.051.119.051.123.051.127.05.131.05.135.05.139.049.144.048.147.048.152.047.155.046.16.045.163.045.167.043.171.043.176.042.178.04.183.04.187.038.19.037.194.036.197.034.202.033.204.032.209.03.212.028.216.027.219.025.222.024.226.021.23.02.233.018.236.017.24.014.243.012.246.01.249.008.253.006.256.003.259.001.26-.001.257-.003.254-.006.25-.008.247-.01.244-.013.241-.014.237-.016.233-.018.231-.02.226-.022.224-.024.22-.025.216-.027.212-.029.21-.03.205-.032.202-.033.198-.035.194-.036.191-.037.187-.039.183-.039.179-.041.175-.042.172-.043.168-.044.163-.045.16-.045.155-.047.152-.047.148-.048.143-.049.139-.049.136-.049.131-.051.126-.05.123-.051.118-.052.114-.051.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.052.07-.051.065-.051.06-.051.056-.05.051-.049.023-.025.023-.025.021-.024.02-.024.019-.024.018-.024.017-.024.015-.023.014-.024.013-.023.012-.023.01-.022.01-.023.008-.022.006-.022.006-.022.004-.022.004-.021.001-.021.001-.021v-4.153l-.077.054-.08.054-.083.053-.085.053-.087.053-.09.051-.093.051-.095.051-.097.05-.1.049-.102.048-.105.048-.106.048-.109.046-.111.046-.114.046-.115.044-.118.044-.12.043-.122.043-.124.042-.126.041-.128.04-.13.039-.132.039-.134.038-.135.037-.138.036-.139.036-.142.034-.143.034-.144.033-.147.032-.148.032-.15.03-.151.03-.153.028-.154.028-.156.027-.158.026-.159.024-.161.024-.162.023-.163.023-.165.021-.166.02-.167.019-.169.018-.169.017-.171.016-.173.015-.173.014-.175.013-.175.012-.177.01-.178.01-.179.009-.179.007-.181.006-.182.006-.182.004-.184.003-.184.001-.185.001-.185-.001-.184-.001-.184-.003-.182-.004-.182-.006-.181-.006-.179-.007-.179-.009-.178-.01-.176-.01-.176-.012-.175-.013-.173-.014-.172-.015-.171-.016-.17-.017-.169-.018-.167-.019-.166-.02-.165-.021-.163-.023-.162-.023-.161-.024-.159-.024-.157-.026-.156-.027-.155-.028-.153-.028-.151-.03-.15-.03-.148-.032-.146-.032-.145-.033-.143-.034-.141-.034-.14-.036-.137-.036-.136-.037-.134-.038-.132-.039-.13-.039-.128-.041-.126-.041-.124-.041-.122-.043-.12-.043-.117-.044-.116-.044-.113-.046-.112-.046-.109-.046-.106-.048-.105-.048-.102-.048-.1-.05-.097-.049-.095-.051-.093-.051-.09-.052-.087-.052-.085-.053-.083-.053-.08-.054-.077-.054v4.153zm8.74-8.179l-.257.004-.254.005-.25.008-.247.011-.244.012-.241.014-.237.016-.233.018-.231.021-.226.022-.224.023-.22.026-.216.027-.212.028-.21.031-.205.032-.202.033-.198.034-.194.036-.191.038-.187.038-.183.04-.179.041-.175.042-.172.043-.168.043-.163.045-.16.046-.155.046-.152.048-.148.048-.143.048-.139.049-.136.05-.131.05-.126.051-.123.051-.118.051-.114.052-.11.052-.106.052-.101.052-.096.052-.092.052-.088.052-.083.052-.079.052-.074.051-.07.052-.065.051-.06.05-.056.05-.051.05-.023.025-.023.024-.021.024-.02.025-.019.024-.018.024-.017.023-.015.024-.014.023-.013.023-.012.023-.01.023-.01.022-.008.022-.006.023-.006.021-.004.022-.004.021-.001.021-.001.021.001.021.001.021.004.021.004.022.006.021.006.023.008.022.01.022.01.023.012.023.013.023.014.023.015.024.017.023.018.024.019.024.02.025.021.024.023.024.023.025.051.05.056.05.06.05.065.051.07.052.074.051.079.052.083.052.088.052.092.052.096.052.101.052.106.052.11.052.114.052.118.051.123.051.126.051.131.05.136.05.139.049.143.048.148.048.152.048.155.046.16.046.163.045.168.043.172.043.175.042.179.041.183.04.187.038.191.038.194.036.198.034.202.033.205.032.21.031.212.028.216.027.22.026.224.023.226.022.231.021.233.018.237.016.241.014.244.012.247.011.25.008.254.005.257.004.26.001.26-.001.257-.004.254-.005.25-.008.247-.011.244-.012.241-.014.237-.016.233-.018.231-.021.226-.022.224-.023.22-.026.216-.027.212-.028.21-.031.205-.032.202-.033.198-.034.194-.036.191-.038.187-.038.183-.04.179-.041.175-.042.172-.043.168-.043.163-.045.16-.046.155-.046.152-.048.148-.048.143-.048.139-.049.136-.05.131-.05.126-.051.123-.051.118-.051.114-.052.11-.052.106-.052.101-.052.096-.052.092-.052.088-.052.083-.052.079-.052.074-.051.07-.052.065-.051.06-.05.056-.05.051-.05.023-.025.023-.024.021-.024.02-.025.019-.024.018-.024.017-.023.015-.024.014-.023.013-.023.012-.023.01-.023.01-.022.008-.022.006-.023.006-.021.004-.022.004-.021.001-.021.001-.021-.001-.021-.001-.021-.004-.021-.004-.022-.006-.021-.006-.023-.008-.022-.01-.022-.01-.023-.012-.023-.013-.023-.014-.023-.015-.024-.017-.023-.018-.024-.019-.024-.02-.025-.021-.024-.023-.024-.023-.025-.051-.05-.056-.05-.06-.05-.065-.051-.07-.052-.074-.051-.079-.052-.083-.052-.088-.052-.092-.052-.096-.052-.101-.052-.106-.052-.11-.052-.114-.052-.118-.051-.123-.051-.126-.051-.131-.05-.136-.05-.139-.049-.143-.048-.148-.048-.152-.048-.155-.046-.16-.046-.163-.045-.168-.043-.172-.043-.175-.042-.179-.041-.183-.04-.187-.038-.191-.038-.194-.036-.198-.034-.202-.033-.205-.032-.21-.031-.212-.028-.216-.027-.22-.026-.224-.023-.226-.022-.231-.021-.233-.018-.237-.016-.241-.014-.244-.012-.247-.011-.25-.008-.254-.005-.257-.004-.26-.001-.26.001z");
4022
- }, y0 = function y0(e) {
4023
- e.append("defs").append("symbol").attr("id", "computer").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M2 2v13h20v-13h-20zm18 11h-16v-9h16v9zm-10.228 6l.466-1h3.524l.467 1h-4.457zm14.228 3h-24l2-6h2.104l-1.33 4h18.45l-1.297-4h2.073l2 6zm-5-10h-14v-7h14v7z");
4024
- }, g0 = function g0(e) {
4025
- e.append("defs").append("symbol").attr("id", "clock").attr("width", "24").attr("height", "24").append("path").attr("transform", "scale(.5)").attr("d", "M12 2c5.514 0 10 4.486 10 10s-4.486 10-10 10-10-4.486-10-10 4.486-10 10-10zm0-2c-6.627 0-12 5.373-12 12s5.373 12 12 12 12-5.373 12-12-5.373-12-12-12zm5.848 12.459c.202.038.202.333.001.372-1.907.361-6.045 1.111-6.547 1.111-.719 0-1.301-.582-1.301-1.301 0-.512.77-5.447 1.125-7.445.034-.192.312-.181.343.014l.985 6.238 5.394 1.011z");
4026
- }, b0 = function b0(e) {
4027
- e.append("defs").append("marker").attr("id", "arrowhead").attr("refX", 9).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 0 0 L 10 5 L 0 10 z");
4028
- }, _0 = function _0(e) {
4029
- e.append("defs").append("marker").attr("id", "arrowend").attr("refX", 1).attr("refY", 5).attr("markerUnits", "userSpaceOnUse").attr("markerWidth", 12).attr("markerHeight", 12).attr("orient", "auto").append("path").attr("d", "M 10 0 L 0 5 L 10 10 z");
4030
- }, x0 = function x0(e) {
4031
- e.append("defs").append("marker").attr("id", "filled-head").attr("refX", 18).attr("refY", 7).attr("markerWidth", 20).attr("markerHeight", 28).attr("orient", "auto").append("path").attr("d", "M 18,7 L9,13 L14,7 L9,1 Z");
4032
- }, m0 = function m0(e) {
4033
- e.append("defs").append("marker").attr("id", "sequencenumber").attr("refX", 15).attr("refY", 15).attr("markerWidth", 60).attr("markerHeight", 40).attr("orient", "auto").append("circle").attr("cx", 15).attr("cy", 15).attr("r", 6);
4034
- }, E0 = function E0(e) {
4035
- var r = e.append("defs").append("marker").attr("id", "crosshead").attr("markerWidth", 15).attr("markerHeight", 8).attr("orient", "auto").attr("refX", 16).attr("refY", 4);
4036
- r.append("path").attr("fill", "black").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 9,2 V 6 L16,4 Z"), r.append("path").attr("fill", "none").attr("stroke", "#000000").style("stroke-dasharray", "0, 0").attr("stroke-width", "1px").attr("d", "M 0,1 L 6,7 M 6,1 L 0,7");
4037
- }, k0 = function(e, t) {
4038
- return {
4039
- fontFamily: e[t + "FontFamily"],
4040
- fontSize: e[t + "FontSize"],
4041
- fontWeight: e[t + "FontWeight"]
4042
- };
4043
- }, W = function() {
4044
- function e(l, n, a, s, i, u, d) {
4045
- var f = n.append("text").attr("x", a + i / 2).attr("y", s + u / 2 + 5).style("text-anchor", "middle").text(l);
4046
- o(f, d);
4047
- }
4048
- function t(l, n, a, s, i, u, d, f) {
4049
- var p = f.fontSize, E = f.fontFamily, O = f.fontWeight, R = l.split(index.$n.lineBreakRegex);
4050
- for(var S = 0; S < R.length; S++){
4051
- var L = S * p - p * (R.length - 1) / 2, Y = n.append("text").attr("x", a + i / 2).attr("y", s).style("text-anchor", "middle").attr("dominant-baseline", "middle").style("font-size", p).style("font-weight", O).style("font-family", E);
4052
- Y.append("tspan").attr("dy", L).text(R[S]).attr("alignment-baseline", "mathematical"), o(Y, d);
4053
- }
4054
- }
4055
- function r(l, n, a, s, i, u, d, f) {
4056
- var p = n.append("switch"), O = p.append("foreignObject").attr("x", a).attr("y", s).attr("width", i).attr("height", u).append("xhtml:div").style("display", "table").style("height", "100%").style("width", "100%");
4057
- O.append("div").style("display", "table-cell").style("text-align", "center").style("vertical-align", "middle").text(l), t(l, p, a, s, i, u, d, f), o(O, d);
4058
- }
4059
- function o(l, n) {
4060
- for(var a in n)n.hasOwnProperty(a) && l.attr(a, n[a]);
4061
- }
4062
- return function(l) {
4063
- return l.textPlacement === "fo" ? r : l.textPlacement === "old" ? e : t;
4064
- };
4065
- }(), F = {
4066
- drawRect: ne,
4067
- drawBoundary: d0,
4068
- drawC4Shape: f0,
4069
- drawRels: u0,
4070
- drawImage: ye,
4071
- insertArrowHead: b0,
4072
- insertArrowEnd: _0,
4073
- insertArrowFilledHead: x0,
4074
- insertDynamicNumber: m0,
4075
- insertArrowCrossHead: E0,
4076
- insertDatabaseIcon: p0,
4077
- insertComputerIcon: y0,
4078
- insertClockIcon: g0
4079
- };
4080
- var Ut = 0, Ft = 0, ge = 4, Zt = 2;
4081
- Yt.yy = Jt;
4082
- var b = {};
4083
- var be = /*#__PURE__*/ function() {
4084
- function be(t) {
4085
- _class_call_check(this, be);
4086
- this.name = "", this.data = {}, this.data.startx = void 0, this.data.stopx = void 0, this.data.starty = void 0, this.data.stopy = void 0, this.data.widthLimit = void 0, this.nextData = {}, this.nextData.startx = void 0, this.nextData.stopx = void 0, this.nextData.starty = void 0, this.nextData.stopy = void 0, this.nextData.cnt = 0, $t(t.db.getConfig());
4087
- }
4088
- _create_class(be, [
4089
- {
4090
- key: "setData",
4091
- value: function setData(t, r, o, l) {
4092
- this.nextData.startx = this.data.startx = t, this.nextData.stopx = this.data.stopx = r, this.nextData.starty = this.data.starty = o, this.nextData.stopy = this.data.stopy = l;
4093
- }
4094
- },
4095
- {
4096
- key: "updateVal",
4097
- value: function updateVal(t, r, o, l) {
4098
- t[r] === void 0 ? t[r] = o : t[r] = l(o, t[r]);
4099
- }
4100
- },
4101
- {
4102
- key: "insert",
4103
- value: function insert(t) {
4104
- this.nextData.cnt = this.nextData.cnt + 1;
4105
- var r = this.nextData.startx === this.nextData.stopx ? this.nextData.stopx + t.margin : this.nextData.stopx + t.margin * 2, o = r + t.width, l = this.nextData.starty + t.margin * 2, n = l + t.height;
4106
- (r >= this.data.widthLimit || o >= this.data.widthLimit || this.nextData.cnt > ge) && (r = this.nextData.startx + t.margin + b.nextLinePaddingX, l = this.nextData.stopy + t.margin * 2, this.nextData.stopx = o = r + t.width, this.nextData.starty = this.nextData.stopy, this.nextData.stopy = n = l + t.height, this.nextData.cnt = 1), t.x = r, t.y = l, this.updateVal(this.data, "startx", r, Math.min), this.updateVal(this.data, "starty", l, Math.min), this.updateVal(this.data, "stopx", o, Math.max), this.updateVal(this.data, "stopy", n, Math.max), this.updateVal(this.nextData, "startx", r, Math.min), this.updateVal(this.nextData, "starty", l, Math.min), this.updateVal(this.nextData, "stopx", o, Math.max), this.updateVal(this.nextData, "stopy", n, Math.max);
4107
- }
4108
- },
4109
- {
4110
- key: "init",
4111
- value: function init(t) {
4112
- this.name = "", this.data = {
4113
- startx: void 0,
4114
- stopx: void 0,
4115
- starty: void 0,
4116
- stopy: void 0,
4117
- widthLimit: void 0
4118
- }, this.nextData = {
4119
- startx: void 0,
4120
- stopx: void 0,
4121
- starty: void 0,
4122
- stopy: void 0,
4123
- cnt: 0
4124
- }, $t(t.db.getConfig());
4125
- }
4126
- },
4127
- {
4128
- key: "bumpLastMargin",
4129
- value: function bumpLastMargin(t) {
4130
- this.data.stopx += t, this.data.stopy += t;
4131
- }
4132
- }
4133
- ]);
4134
- return be;
4135
- }();
4136
- var $t = function $t(e) {
4137
- index.st(b, e), e.fontFamily && (b.personFontFamily = b.systemFontFamily = b.messageFontFamily = e.fontFamily), e.fontSize && (b.personFontSize = b.systemFontSize = b.messageFontSize = e.fontSize), e.fontWeight && (b.personFontWeight = b.systemFontWeight = b.messageFontWeight = e.fontWeight);
4138
- }, Rt = function(e, t) {
4139
- return {
4140
- fontFamily: e[t + "FontFamily"],
4141
- fontSize: e[t + "FontSize"],
4142
- fontWeight: e[t + "FontWeight"]
4143
- };
4144
- }, Bt = function(e) {
4145
- return {
4146
- fontFamily: e.boundaryFontFamily,
4147
- fontSize: e.boundaryFontSize,
4148
- fontWeight: e.boundaryFontWeight
4149
- };
4150
- }, A0 = function(e) {
4151
- return {
4152
- fontFamily: e.messageFontFamily,
4153
- fontSize: e.messageFontSize,
4154
- fontWeight: e.messageFontWeight
4155
- };
4156
- };
4157
- function I(e, t, r, o, l) {
4158
- if (!t[e].width) if (r) t[e].text = index.O0(t[e].text, l, o), t[e].textLines = t[e].text.split(index.$n.lineBreakRegex).length, t[e].width = l, t[e].height = index.I0(t[e].text, o);
4159
- else {
4160
- var n = t[e].text.split(index.$n.lineBreakRegex);
4161
- t[e].textLines = n.length;
4162
- var a = 0;
4163
- t[e].height = 0, t[e].width = 0;
4164
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
4165
- try {
4166
- for(var _iterator = n[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
4167
- var s = _step.value;
4168
- t[e].width = Math.max(index.nr(s, o), t[e].width), a = index.I0(s, o), t[e].height = t[e].height + a;
4169
- }
4170
- } catch (err) {
4171
- _didIteratorError = true;
4172
- _iteratorError = err;
4173
- } finally{
4174
- try {
4175
- if (!_iteratorNormalCompletion && _iterator.return != null) {
4176
- _iterator.return();
4177
- }
4178
- } finally{
4179
- if (_didIteratorError) {
4180
- throw _iteratorError;
4181
- }
4182
- }
4183
- }
4184
- }
4185
- }
4186
- var _e = function _e(e, t, r) {
4187
- t.x = r.data.startx, t.y = r.data.starty, t.width = r.data.stopx - r.data.startx, t.height = r.data.stopy - r.data.starty, t.label.y = b.c4ShapeMargin - 35;
4188
- var o = t.wrap && b.wrap, l = Bt(b);
4189
- l.fontSize = l.fontSize + 2, l.fontWeight = "bold";
4190
- var n = index.nr(t.label.text, l);
4191
- I("label", t, o, l, n), F.drawBoundary(e, t, b);
4192
- }, xe = function xe(e, t, r, o) {
4193
- var l = 0;
4194
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
4195
- try {
4196
- for(var _iterator = o[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
4197
- var n = _step.value;
4198
- l = 0;
4199
- var a = r[n];
4200
- var s = Rt(b, a.typeC4Shape.text);
4201
- switch(s.fontSize = s.fontSize - 2, a.typeC4Shape.width = index.nr("«" + a.typeC4Shape.text + "»", s), a.typeC4Shape.height = s.fontSize + 2, a.typeC4Shape.Y = b.c4ShapePadding, l = a.typeC4Shape.Y + a.typeC4Shape.height - 4, a.image = {
4202
- width: 0,
4203
- height: 0,
4204
- Y: 0
4205
- }, a.typeC4Shape.text){
4206
- case "person":
4207
- case "external_person":
4208
- a.image.width = 48, a.image.height = 48, a.image.Y = l, l = a.image.Y + a.image.height;
4209
- break;
4210
- }
4211
- a.sprite && (a.image.width = 48, a.image.height = 48, a.image.Y = l, l = a.image.Y + a.image.height);
4212
- var i = a.wrap && b.wrap, u = b.width - b.c4ShapePadding * 2, d = Rt(b, a.typeC4Shape.text);
4213
- if (d.fontSize = d.fontSize + 2, d.fontWeight = "bold", I("label", a, i, d, u), a.label.Y = l + 8, l = a.label.Y + a.label.height, a.type && a.type.text !== "") {
4214
- a.type.text = "[" + a.type.text + "]";
4215
- var E = Rt(b, a.typeC4Shape.text);
4216
- I("type", a, i, E, u), a.type.Y = l + 5, l = a.type.Y + a.type.height;
4217
- } else if (a.techn && a.techn.text !== "") {
4218
- a.techn.text = "[" + a.techn.text + "]";
4219
- var E1 = Rt(b, a.techn.text);
4220
- I("techn", a, i, E1, u), a.techn.Y = l + 5, l = a.techn.Y + a.techn.height;
4221
- }
4222
- var f = l, p = a.label.width;
4223
- if (a.descr && a.descr.text !== "") {
4224
- var E2 = Rt(b, a.typeC4Shape.text);
4225
- I("descr", a, i, E2, u), a.descr.Y = l + 20, l = a.descr.Y + a.descr.height, p = Math.max(a.label.width, a.descr.width), f = l - a.descr.textLines * 5;
4226
- }
4227
- p = p + b.c4ShapePadding, a.width = Math.max(a.width || b.width, p, b.width), a.height = Math.max(a.height || b.height, f, b.height), a.margin = a.margin || b.c4ShapeMargin, e.insert(a), F.drawC4Shape(t, a, b);
4228
- }
4229
- } catch (err) {
4230
- _didIteratorError = true;
4231
- _iteratorError = err;
4232
- } finally{
4233
- try {
4234
- if (!_iteratorNormalCompletion && _iterator.return != null) {
4235
- _iterator.return();
4236
- }
4237
- } finally{
4238
- if (_didIteratorError) {
4239
- throw _iteratorError;
4240
- }
4241
- }
4242
- }
4243
- e.bumpLastMargin(b.c4ShapeMargin);
4244
- };
4245
- var B = function B(t, r) {
4246
- _class_call_check(this, B);
4247
- this.x = t, this.y = r;
4248
- };
4249
- var ce = function ce(e, t) {
4250
- var r = e.x, o = e.y, l = t.x, n = t.y, a = r + e.width / 2, s = o + e.height / 2, i = Math.abs(r - l), u = Math.abs(o - n), d = u / i, f = e.height / e.width, p = null;
4251
- return o == n && r < l ? p = new B(r + e.width, s) : o == n && r > l ? p = new B(r, s) : r == l && o < n ? p = new B(a, o + e.height) : r == l && o > n && (p = new B(a, o)), r > l && o < n ? f >= d ? p = new B(r, s + d * e.width / 2) : p = new B(a - i / u * e.height / 2, o + e.height) : r < l && o < n ? f >= d ? p = new B(r + e.width, s + d * e.width / 2) : p = new B(a + i / u * e.height / 2, o + e.height) : r < l && o > n ? f >= d ? p = new B(r + e.width, s - d * e.width / 2) : p = new B(a + e.height / 2 * i / u, o) : r > l && o > n && (f >= d ? p = new B(r, s - e.width / 2 * d) : p = new B(a - e.height / 2 * i / u, o)), p;
4252
- }, C0 = function C0(e, t) {
4253
- var r = {
4254
- x: 0,
4255
- y: 0
4256
- };
4257
- r.x = t.x + t.width / 2, r.y = t.y + t.height / 2;
4258
- var o = ce(e, r);
4259
- r.x = e.x + e.width / 2, r.y = e.y + e.height / 2;
4260
- var l = ce(t, r);
4261
- return {
4262
- startPoint: o,
4263
- endPoint: l
4264
- };
4265
- };
4266
- var v0 = function v0(e, t, r, o) {
4267
- var l = 0;
4268
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
4269
- try {
4270
- for(var _iterator = t[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
4271
- var n = _step.value;
4272
- l = l + 1;
4273
- var a = n.wrap && b.wrap, s = A0(b);
4274
- o.db.getC4Type() === "C4Dynamic" && (n.label.text = l + ": " + n.label.text);
4275
- var u = index.nr(n.label.text, s);
4276
- I("label", n, a, s, u), n.techn && n.techn.text !== "" && (u = index.nr(n.techn.text, s), I("techn", n, a, s, u)), n.descr && n.descr.text !== "" && (u = index.nr(n.descr.text, s), I("descr", n, a, s, u));
4277
- var d = r(n.from), f = r(n.to), p = C0(d, f);
4278
- n.startPoint = p.startPoint, n.endPoint = p.endPoint;
4279
- }
4280
- } catch (err) {
4281
- _didIteratorError = true;
4282
- _iteratorError = err;
4283
- } finally{
4284
- try {
4285
- if (!_iteratorNormalCompletion && _iterator.return != null) {
4286
- _iterator.return();
4287
- }
4288
- } finally{
4289
- if (_didIteratorError) {
4290
- throw _iteratorError;
4291
- }
4292
- }
4293
- }
4294
- F.drawRels(e, t, b);
4295
- };
4296
- function me(e, t, r, o, l) {
4297
- var n = new be(l);
4298
- n.data.widthLimit = r.data.widthLimit / Math.min(Zt, o.length);
4299
- var _iteratorNormalCompletion = true, _didIteratorError = false, _iteratorError = undefined;
4300
- try {
4301
- for(var _iterator = o.entries()[Symbol.iterator](), _step; !(_iteratorNormalCompletion = (_step = _iterator.next()).done); _iteratorNormalCompletion = true){
4302
- var _step_value = _sliced_to_array(_step.value, 2), a = _step_value[0], s = _step_value[1];
4303
- var i = 0;
4304
- s.image = {
4305
- width: 0,
4306
- height: 0,
4307
- Y: 0
4308
- }, s.sprite && (s.image.width = 48, s.image.height = 48, s.image.Y = i, i = s.image.Y + s.image.height);
4309
- var u = s.wrap && b.wrap, d = Bt(b);
4310
- if (d.fontSize = d.fontSize + 2, d.fontWeight = "bold", I("label", s, u, d, n.data.widthLimit), s.label.Y = i + 8, i = s.label.Y + s.label.height, s.type && s.type.text !== "") {
4311
- s.type.text = "[" + s.type.text + "]";
4312
- var O = Bt(b);
4313
- I("type", s, u, O, n.data.widthLimit), s.type.Y = i + 5, i = s.type.Y + s.type.height;
4314
- }
4315
- if (s.descr && s.descr.text !== "") {
4316
- var O1 = Bt(b);
4317
- O1.fontSize = O1.fontSize - 2, I("descr", s, u, O1, n.data.widthLimit), s.descr.Y = i + 20, i = s.descr.Y + s.descr.height;
4318
- }
4319
- if (a == 0 || a % Zt === 0) {
4320
- var O2 = r.data.startx + b.diagramMarginX, R = r.data.stopy + b.diagramMarginY + i;
4321
- n.setData(O2, O2, R, R);
4322
- } else {
4323
- var O3 = n.data.stopx !== n.data.startx ? n.data.stopx + b.diagramMarginX : n.data.startx, R1 = n.data.starty;
4324
- n.setData(O3, O3, R1, R1);
4325
- }
4326
- n.name = s.alias;
4327
- var f = l.db.getC4ShapeArray(s.alias), p = l.db.getC4ShapeKeys(s.alias);
4328
- p.length > 0 && xe(n, e, f, p), t = s.alias;
4329
- var E = l.db.getBoundarys(t);
4330
- E.length > 0 && me(e, t, n, E, l), s.alias !== "global" && _e(e, s, n), r.data.stopy = Math.max(n.data.stopy + b.c4ShapeMargin, r.data.stopy), r.data.stopx = Math.max(n.data.stopx + b.c4ShapeMargin, r.data.stopx), Ut = Math.max(Ut, r.data.stopx), Ft = Math.max(Ft, r.data.stopy);
4331
- }
4332
- } catch (err) {
4333
- _didIteratorError = true;
4334
- _iteratorError = err;
4335
- } finally{
4336
- try {
4337
- if (!_iteratorNormalCompletion && _iterator.return != null) {
4338
- _iterator.return();
4339
- }
4340
- } finally{
4341
- if (_didIteratorError) {
4342
- throw _iteratorError;
4343
- }
4344
- }
4345
- }
4346
- }
4347
- var w0 = function w0(e, t, r, o) {
4348
- b = index.Vn().c4;
4349
- var l = index.Vn().securityLevel;
4350
- var n;
4351
- l === "sandbox" && (n = index.bt("#i" + t));
4352
- var a = l === "sandbox" ? index.bt(n.nodes()[0].contentDocument.body) : index.bt("body");
4353
- var s = o.db;
4354
- o.db.setWrap(b.wrap), ge = s.getC4ShapeInRow(), Zt = s.getC4BoundaryInRow(), index.L.debug("C:".concat(JSON.stringify(b, null, 2)));
4355
- var i = l === "sandbox" ? a.select('[id="'.concat(t, '"]')) : index.bt('[id="'.concat(t, '"]'));
4356
- F.insertComputerIcon(i), F.insertDatabaseIcon(i), F.insertClockIcon(i);
4357
- var u = new be(o);
4358
- u.setData(b.diagramMarginX, b.diagramMarginX, b.diagramMarginY, b.diagramMarginY), u.data.widthLimit = screen.availWidth, Ut = b.diagramMarginX, Ft = b.diagramMarginY;
4359
- var d = o.db.getTitle();
4360
- var f = o.db.getBoundarys("");
4361
- me(i, "", u, f, o), F.insertArrowHead(i), F.insertArrowEnd(i), F.insertArrowCrossHead(i), F.insertArrowFilledHead(i), v0(i, o.db.getRels(), o.db.getC4Shape, o), u.data.stopx = Ut, u.data.stopy = Ft;
4362
- var p = u.data;
4363
- var O = p.stopy - p.starty + 2 * b.diagramMarginY;
4364
- var S = p.stopx - p.startx + 2 * b.diagramMarginX;
4365
- d && i.append("text").text(d).attr("x", (p.stopx - p.startx) / 2 - 4 * b.diagramMarginX).attr("y", p.starty + b.diagramMarginY), index.Ol(i, O, S, b.useMaxWidth);
4366
- var L = d ? 60 : 0;
4367
- i.attr("viewBox", p.startx - b.diagramMarginX + " -" + (b.diagramMarginY + L) + " " + S + " " + (O + L)), index.L.debug("models:", p);
4368
- }, he = {
4369
- drawPersonOrSystemArray: xe,
4370
- drawBoundary: _e,
4371
- setConf: $t,
4372
- draw: w0
4373
- }, O0 = function(e) {
4374
- return ".person {\n stroke: ".concat(e.personBorder, ";\n fill: ").concat(e.personBkg, ";\n }\n");
4375
- }, T0 = O0, S0 = {
4376
- parser: Be,
4377
- db: Jt,
4378
- renderer: he,
4379
- styles: T0,
4380
- init: function(param) {
4381
- var e = param.c4, t = param.wrap;
4382
- he.setConf(e), Jt.setWrap(t);
4383
- }
4384
- };
4385
-
4386
- exports.diagram = S0;