1146 lines
73 KiB
JavaScript
1146 lines
73 KiB
JavaScript
import { j as Ie, g as w2, l as Ne, e as Oe, f as r2 } from "./config-e567ef17.js";
|
|
import { u as U2, j as Pe } from "./utils-aa888deb.js";
|
|
import { m as we } from "./mermaidAPI-51c0c26b.js";
|
|
import { s as Ue, g as Me, a as Ge, b as je, d as Ke, e as We, f as Ye } from "./commonDb-4dc3d465.js";
|
|
import { i as He } from "./isPlainObject-bb374f45.js";
|
|
var O2 = function() {
|
|
var e = function(H1, c, o, B) {
|
|
for (o = o || {}, B = H1.length; B--; o[H1[B]] = c)
|
|
;
|
|
return o;
|
|
}, u = [1, 9], n = [1, 7], r = [1, 6], a = [1, 8], m = [1, 20, 21, 22, 23, 38, 44, 46, 48, 52, 66, 67, 86, 87, 88, 89, 90, 91, 95, 105, 106, 109, 111, 112, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], _ = [2, 10], s1 = [1, 20], z = [1, 21], t1 = [1, 22], f1 = [1, 23], W1 = [1, 30], z1 = [1, 32], Q1 = [1, 33], t2 = [1, 34], q = [1, 62], a1 = [1, 48], T1 = [1, 52], c2 = [1, 36], o2 = [1, 37], l2 = [1, 38], h2 = [1, 39], f2 = [1, 40], y1 = [1, 56], v1 = [1, 63], V1 = [1, 51], x1 = [1, 53], L1 = [1, 55], R1 = [1, 59], I1 = [1, 60], A2 = [1, 41], d2 = [1, 42], p2 = [1, 43], E2 = [1, 44], N1 = [1, 61], O1 = [1, 50], P1 = [1, 54], w1 = [1, 57], U1 = [1, 58], M1 = [1, 49], j2 = [1, 66], s2 = [1, 71], Q = [1, 20, 21, 22, 23, 38, 42, 44, 46, 48, 52, 66, 67, 86, 87, 88, 89, 90, 91, 95, 105, 106, 109, 111, 112, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], A1 = [1, 75], d1 = [1, 74], p1 = [1, 76], b2 = [20, 21, 23, 81, 82], u1 = [1, 99], l = [1, 104], h = [1, 107], f = [1, 108], n1 = [1, 101], A = [1, 106], d = [1, 109], r1 = [1, 102], p = [1, 114], E = [1, 113], b = [1, 103], g = [1, 105], k = [1, 110], D = [1, 111], C = [1, 112], F = [1, 115], S2 = [20, 21, 22, 23, 81, 82], e1 = [20, 21, 22, 23, 53, 81, 82], Z = [20, 21, 22, 23, 40, 52, 53, 55, 57, 59, 61, 63, 65, 66, 67, 69, 71, 73, 74, 76, 81, 82, 91, 95, 105, 106, 109, 111, 112, 122, 123, 124, 125, 126, 127], Y = [20, 21, 23], K2 = [20, 21, 23, 52, 66, 67, 81, 82, 91, 95, 105, 106, 109, 111, 112, 122, 123, 124, 125, 126, 127], T2 = [1, 12, 20, 21, 22, 23, 24, 38, 42, 44, 46, 48, 52, 66, 67, 86, 87, 88, 89, 90, 91, 95, 105, 106, 109, 111, 112, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], u2 = [52, 66, 67, 91, 95, 105, 106, 109, 111, 112, 122, 123, 124, 125, 126, 127], T = [1, 149], y = [1, 157], v = [1, 158], V = [1, 159], x = [1, 160], L = [1, 144], R = [1, 145], J = [1, 141], I = [1, 152], N = [1, 153], O = [1, 154], P = [1, 155], w = [1, 156], U = [1, 161], M = [1, 162], G = [1, 147], j = [1, 150], K = [1, 146], W = [1, 143], y2 = [20, 21, 22, 23, 38, 42, 44, 46, 48, 52, 66, 67, 86, 87, 88, 89, 90, 91, 95, 105, 106, 109, 111, 112, 118, 119, 120, 121, 122, 123, 124, 125, 126, 127], W2 = [1, 165], J1 = [20, 21, 22, 23, 26, 52, 66, 67, 91, 105, 106, 109, 111, 112, 122, 123, 124, 125, 126, 127], S = [20, 21, 22, 23, 24, 26, 38, 40, 41, 42, 52, 56, 58, 60, 62, 64, 66, 67, 68, 70, 72, 73, 75, 77, 81, 82, 86, 87, 88, 89, 90, 91, 92, 95, 105, 106, 109, 111, 112, 113, 114, 122, 123, 124, 125, 126, 127], Y2 = [12, 21, 22, 24], H2 = [22, 106], E1 = [1, 250], b1 = [1, 245], g1 = [1, 246], k1 = [1, 254], D1 = [1, 251], C1 = [1, 248], F1 = [1, 247], _1 = [1, 249], B1 = [1, 252], m1 = [1, 253], S1 = [1, 255], Y1 = [1, 273], z2 = [20, 21, 23, 106], c1 = [20, 21, 22, 23, 66, 67, 86, 102, 105, 106, 109, 110, 111, 112, 113], v2 = {
|
|
trace: function() {
|
|
},
|
|
yy: {},
|
|
symbols_: { error: 2, start: 3, mermaidDoc: 4, directive: 5, openDirective: 6, typeDirective: 7, closeDirective: 8, separator: 9, ":": 10, argDirective: 11, open_directive: 12, type_directive: 13, arg_directive: 14, close_directive: 15, graphConfig: 16, document: 17, line: 18, statement: 19, SEMI: 20, NEWLINE: 21, SPACE: 22, EOF: 23, GRAPH: 24, NODIR: 25, DIR: 26, FirstStmtSeperator: 27, ending: 28, endToken: 29, spaceList: 30, spaceListNewline: 31, verticeStatement: 32, styleStatement: 33, linkStyleStatement: 34, classDefStatement: 35, classStatement: 36, clickStatement: 37, subgraph: 38, text: 39, SQS: 40, SQE: 41, end: 42, direction: 43, acc_title: 44, acc_title_value: 45, acc_descr: 46, acc_descr_value: 47, acc_descr_multiline_value: 48, link: 49, node: 50, vertex: 51, AMP: 52, STYLE_SEPARATOR: 53, idString: 54, DOUBLECIRCLESTART: 55, DOUBLECIRCLEEND: 56, PS: 57, PE: 58, "(-": 59, "-)": 60, STADIUMSTART: 61, STADIUMEND: 62, SUBROUTINESTART: 63, SUBROUTINEEND: 64, VERTEX_WITH_PROPS_START: 65, ALPHA: 66, COLON: 67, PIPE: 68, CYLINDERSTART: 69, CYLINDEREND: 70, DIAMOND_START: 71, DIAMOND_STOP: 72, TAGEND: 73, TRAPSTART: 74, TRAPEND: 75, INVTRAPSTART: 76, INVTRAPEND: 77, linkStatement: 78, arrowText: 79, TESTSTR: 80, START_LINK: 81, LINK: 82, textToken: 83, STR: 84, keywords: 85, STYLE: 86, LINKSTYLE: 87, CLASSDEF: 88, CLASS: 89, CLICK: 90, DOWN: 91, UP: 92, textNoTags: 93, textNoTagsToken: 94, DEFAULT: 95, stylesOpt: 96, alphaNum: 97, CALLBACKNAME: 98, CALLBACKARGS: 99, HREF: 100, LINK_TARGET: 101, HEX: 102, numList: 103, INTERPOLATE: 104, NUM: 105, COMMA: 106, style: 107, styleComponent: 108, MINUS: 109, UNIT: 110, BRKT: 111, DOT: 112, PCT: 113, TAGSTART: 114, alphaNumToken: 115, idStringToken: 116, alphaNumStatement: 117, direction_tb: 118, direction_bt: 119, direction_rl: 120, direction_lr: 121, PUNCTUATION: 122, UNICODE_TEXT: 123, PLUS: 124, EQUALS: 125, MULT: 126, UNDERSCORE: 127, graphCodeTokens: 128, ARROW_CROSS: 129, ARROW_POINT: 130, ARROW_CIRCLE: 131, ARROW_OPEN: 132, QUOTE: 133, $accept: 0, $end: 1 },
|
|
terminals_: { 2: "error", 10: ":", 12: "open_directive", 13: "type_directive", 14: "arg_directive", 15: "close_directive", 20: "SEMI", 21: "NEWLINE", 22: "SPACE", 23: "EOF", 24: "GRAPH", 25: "NODIR", 26: "DIR", 38: "subgraph", 40: "SQS", 41: "SQE", 42: "end", 44: "acc_title", 45: "acc_title_value", 46: "acc_descr", 47: "acc_descr_value", 48: "acc_descr_multiline_value", 52: "AMP", 53: "STYLE_SEPARATOR", 55: "DOUBLECIRCLESTART", 56: "DOUBLECIRCLEEND", 57: "PS", 58: "PE", 59: "(-", 60: "-)", 61: "STADIUMSTART", 62: "STADIUMEND", 63: "SUBROUTINESTART", 64: "SUBROUTINEEND", 65: "VERTEX_WITH_PROPS_START", 66: "ALPHA", 67: "COLON", 68: "PIPE", 69: "CYLINDERSTART", 70: "CYLINDEREND", 71: "DIAMOND_START", 72: "DIAMOND_STOP", 73: "TAGEND", 74: "TRAPSTART", 75: "TRAPEND", 76: "INVTRAPSTART", 77: "INVTRAPEND", 80: "TESTSTR", 81: "START_LINK", 82: "LINK", 84: "STR", 86: "STYLE", 87: "LINKSTYLE", 88: "CLASSDEF", 89: "CLASS", 90: "CLICK", 91: "DOWN", 92: "UP", 95: "DEFAULT", 98: "CALLBACKNAME", 99: "CALLBACKARGS", 100: "HREF", 101: "LINK_TARGET", 102: "HEX", 104: "INTERPOLATE", 105: "NUM", 106: "COMMA", 109: "MINUS", 110: "UNIT", 111: "BRKT", 112: "DOT", 113: "PCT", 114: "TAGSTART", 118: "direction_tb", 119: "direction_bt", 120: "direction_rl", 121: "direction_lr", 122: "PUNCTUATION", 123: "UNICODE_TEXT", 124: "PLUS", 125: "EQUALS", 126: "MULT", 127: "UNDERSCORE", 129: "ARROW_CROSS", 130: "ARROW_POINT", 131: "ARROW_CIRCLE", 132: "ARROW_OPEN", 133: "QUOTE" },
|
|
productions_: [0, [3, 1], [3, 2], [5, 4], [5, 6], [6, 1], [7, 1], [11, 1], [8, 1], [4, 2], [17, 0], [17, 2], [18, 1], [18, 1], [18, 1], [18, 1], [18, 1], [16, 2], [16, 2], [16, 2], [16, 3], [28, 2], [28, 1], [29, 1], [29, 1], [29, 1], [27, 1], [27, 1], [27, 2], [31, 2], [31, 2], [31, 1], [31, 1], [30, 2], [30, 1], [19, 2], [19, 2], [19, 2], [19, 2], [19, 2], [19, 2], [19, 9], [19, 6], [19, 4], [19, 1], [19, 2], [19, 2], [19, 1], [9, 1], [9, 1], [9, 1], [32, 3], [32, 4], [32, 2], [32, 1], [50, 1], [50, 5], [50, 3], [51, 4], [51, 4], [51, 6], [51, 4], [51, 4], [51, 4], [51, 8], [51, 4], [51, 4], [51, 4], [51, 6], [51, 4], [51, 4], [51, 4], [51, 4], [51, 4], [51, 1], [49, 2], [49, 3], [49, 3], [49, 1], [49, 3], [78, 1], [79, 3], [39, 1], [39, 2], [39, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [85, 1], [93, 1], [93, 2], [35, 5], [35, 5], [36, 5], [37, 2], [37, 4], [37, 3], [37, 5], [37, 2], [37, 4], [37, 4], [37, 6], [37, 2], [37, 4], [37, 2], [37, 4], [37, 4], [37, 6], [33, 5], [33, 5], [34, 5], [34, 5], [34, 9], [34, 9], [34, 7], [34, 7], [103, 1], [103, 3], [96, 1], [96, 3], [107, 1], [107, 2], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [108, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [83, 1], [94, 1], [94, 1], [94, 1], [94, 1], [54, 1], [54, 2], [97, 1], [97, 2], [117, 1], [117, 1], [117, 1], [117, 1], [43, 1], [43, 1], [43, 1], [43, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [115, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [116, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1], [128, 1]],
|
|
performAction: function(c, o, B, i, X, t, n2) {
|
|
var s = t.length - 1;
|
|
switch (X) {
|
|
case 5:
|
|
i.parseDirective("%%{", "open_directive");
|
|
break;
|
|
case 6:
|
|
i.parseDirective(t[s], "type_directive");
|
|
break;
|
|
case 7:
|
|
t[s] = t[s].trim().replace(/'/g, '"'), i.parseDirective(t[s], "arg_directive");
|
|
break;
|
|
case 8:
|
|
i.parseDirective("}%%", "close_directive", "flowchart");
|
|
break;
|
|
case 10:
|
|
this.$ = [];
|
|
break;
|
|
case 11:
|
|
(!Array.isArray(t[s]) || t[s].length > 0) && t[s - 1].push(t[s]), this.$ = t[s - 1];
|
|
break;
|
|
case 12:
|
|
case 82:
|
|
case 84:
|
|
case 96:
|
|
case 152:
|
|
case 154:
|
|
case 155:
|
|
this.$ = t[s];
|
|
break;
|
|
case 19:
|
|
i.setDirection("TB"), this.$ = "TB";
|
|
break;
|
|
case 20:
|
|
i.setDirection(t[s - 1]), this.$ = t[s - 1];
|
|
break;
|
|
case 35:
|
|
this.$ = t[s - 1].nodes;
|
|
break;
|
|
case 36:
|
|
case 37:
|
|
case 38:
|
|
case 39:
|
|
case 40:
|
|
this.$ = [];
|
|
break;
|
|
case 41:
|
|
this.$ = i.addSubGraph(t[s - 6], t[s - 1], t[s - 4]);
|
|
break;
|
|
case 42:
|
|
this.$ = i.addSubGraph(t[s - 3], t[s - 1], t[s - 3]);
|
|
break;
|
|
case 43:
|
|
this.$ = i.addSubGraph(void 0, t[s - 1], void 0);
|
|
break;
|
|
case 45:
|
|
this.$ = t[s].trim(), i.setAccTitle(this.$);
|
|
break;
|
|
case 46:
|
|
case 47:
|
|
this.$ = t[s].trim(), i.setAccDescription(this.$);
|
|
break;
|
|
case 51:
|
|
i.addLink(t[s - 2].stmt, t[s], t[s - 1]), this.$ = { stmt: t[s], nodes: t[s].concat(t[s - 2].nodes) };
|
|
break;
|
|
case 52:
|
|
i.addLink(t[s - 3].stmt, t[s - 1], t[s - 2]), this.$ = { stmt: t[s - 1], nodes: t[s - 1].concat(t[s - 3].nodes) };
|
|
break;
|
|
case 53:
|
|
this.$ = { stmt: t[s - 1], nodes: t[s - 1] };
|
|
break;
|
|
case 54:
|
|
this.$ = { stmt: t[s], nodes: t[s] };
|
|
break;
|
|
case 55:
|
|
this.$ = [t[s]];
|
|
break;
|
|
case 56:
|
|
this.$ = t[s - 4].concat(t[s]);
|
|
break;
|
|
case 57:
|
|
this.$ = [t[s - 2]], i.setClass(t[s - 2], t[s]);
|
|
break;
|
|
case 58:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "square");
|
|
break;
|
|
case 59:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "doublecircle");
|
|
break;
|
|
case 60:
|
|
this.$ = t[s - 5], i.addVertex(t[s - 5], t[s - 2], "circle");
|
|
break;
|
|
case 61:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "ellipse");
|
|
break;
|
|
case 62:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "stadium");
|
|
break;
|
|
case 63:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "subroutine");
|
|
break;
|
|
case 64:
|
|
this.$ = t[s - 7], i.addVertex(t[s - 7], t[s - 1], "rect", void 0, void 0, void 0, Object.fromEntries([[t[s - 5], t[s - 3]]]));
|
|
break;
|
|
case 65:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "cylinder");
|
|
break;
|
|
case 66:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "round");
|
|
break;
|
|
case 67:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "diamond");
|
|
break;
|
|
case 68:
|
|
this.$ = t[s - 5], i.addVertex(t[s - 5], t[s - 2], "hexagon");
|
|
break;
|
|
case 69:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "odd");
|
|
break;
|
|
case 70:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "trapezoid");
|
|
break;
|
|
case 71:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "inv_trapezoid");
|
|
break;
|
|
case 72:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "lean_right");
|
|
break;
|
|
case 73:
|
|
this.$ = t[s - 3], i.addVertex(t[s - 3], t[s - 1], "lean_left");
|
|
break;
|
|
case 74:
|
|
this.$ = t[s], i.addVertex(t[s]);
|
|
break;
|
|
case 75:
|
|
t[s - 1].text = t[s], this.$ = t[s - 1];
|
|
break;
|
|
case 76:
|
|
case 77:
|
|
t[s - 2].text = t[s - 1], this.$ = t[s - 2];
|
|
break;
|
|
case 78:
|
|
this.$ = t[s];
|
|
break;
|
|
case 79:
|
|
var o1 = i.destructLink(t[s], t[s - 2]);
|
|
this.$ = { type: o1.type, stroke: o1.stroke, length: o1.length, text: t[s - 1] };
|
|
break;
|
|
case 80:
|
|
var o1 = i.destructLink(t[s]);
|
|
this.$ = { type: o1.type, stroke: o1.stroke, length: o1.length };
|
|
break;
|
|
case 81:
|
|
this.$ = t[s - 1];
|
|
break;
|
|
case 83:
|
|
case 97:
|
|
case 153:
|
|
this.$ = t[s - 1] + "" + t[s];
|
|
break;
|
|
case 98:
|
|
case 99:
|
|
this.$ = t[s - 4], i.addClass(t[s - 2], t[s]);
|
|
break;
|
|
case 100:
|
|
this.$ = t[s - 4], i.setClass(t[s - 2], t[s]);
|
|
break;
|
|
case 101:
|
|
case 109:
|
|
this.$ = t[s - 1], i.setClickEvent(t[s - 1], t[s]);
|
|
break;
|
|
case 102:
|
|
case 110:
|
|
this.$ = t[s - 3], i.setClickEvent(t[s - 3], t[s - 2]), i.setTooltip(t[s - 3], t[s]);
|
|
break;
|
|
case 103:
|
|
this.$ = t[s - 2], i.setClickEvent(t[s - 2], t[s - 1], t[s]);
|
|
break;
|
|
case 104:
|
|
this.$ = t[s - 4], i.setClickEvent(t[s - 4], t[s - 3], t[s - 2]), i.setTooltip(t[s - 4], t[s]);
|
|
break;
|
|
case 105:
|
|
case 111:
|
|
this.$ = t[s - 1], i.setLink(t[s - 1], t[s]);
|
|
break;
|
|
case 106:
|
|
case 112:
|
|
this.$ = t[s - 3], i.setLink(t[s - 3], t[s - 2]), i.setTooltip(t[s - 3], t[s]);
|
|
break;
|
|
case 107:
|
|
case 113:
|
|
this.$ = t[s - 3], i.setLink(t[s - 3], t[s - 2], t[s]);
|
|
break;
|
|
case 108:
|
|
case 114:
|
|
this.$ = t[s - 5], i.setLink(t[s - 5], t[s - 4], t[s]), i.setTooltip(t[s - 5], t[s - 2]);
|
|
break;
|
|
case 115:
|
|
this.$ = t[s - 4], i.addVertex(t[s - 2], void 0, void 0, t[s]);
|
|
break;
|
|
case 116:
|
|
case 118:
|
|
this.$ = t[s - 4], i.updateLink(t[s - 2], t[s]);
|
|
break;
|
|
case 117:
|
|
this.$ = t[s - 4], i.updateLink([t[s - 2]], t[s]);
|
|
break;
|
|
case 119:
|
|
this.$ = t[s - 8], i.updateLinkInterpolate([t[s - 6]], t[s - 2]), i.updateLink([t[s - 6]], t[s]);
|
|
break;
|
|
case 120:
|
|
this.$ = t[s - 8], i.updateLinkInterpolate(t[s - 6], t[s - 2]), i.updateLink(t[s - 6], t[s]);
|
|
break;
|
|
case 121:
|
|
this.$ = t[s - 6], i.updateLinkInterpolate([t[s - 4]], t[s]);
|
|
break;
|
|
case 122:
|
|
this.$ = t[s - 6], i.updateLinkInterpolate(t[s - 4], t[s]);
|
|
break;
|
|
case 123:
|
|
case 125:
|
|
this.$ = [t[s]];
|
|
break;
|
|
case 124:
|
|
case 126:
|
|
t[s - 2].push(t[s]), this.$ = t[s - 2];
|
|
break;
|
|
case 128:
|
|
this.$ = t[s - 1] + t[s];
|
|
break;
|
|
case 150:
|
|
this.$ = t[s];
|
|
break;
|
|
case 151:
|
|
this.$ = t[s - 1] + "" + t[s];
|
|
break;
|
|
case 156:
|
|
this.$ = "v";
|
|
break;
|
|
case 157:
|
|
this.$ = "-";
|
|
break;
|
|
case 158:
|
|
this.$ = { stmt: "dir", value: "TB" };
|
|
break;
|
|
case 159:
|
|
this.$ = { stmt: "dir", value: "BT" };
|
|
break;
|
|
case 160:
|
|
this.$ = { stmt: "dir", value: "RL" };
|
|
break;
|
|
case 161:
|
|
this.$ = { stmt: "dir", value: "LR" };
|
|
break;
|
|
}
|
|
},
|
|
table: [{ 3: 1, 4: 2, 5: 3, 6: 5, 12: u, 16: 4, 21: n, 22: r, 24: a }, { 1: [3] }, { 1: [2, 1] }, { 3: 10, 4: 2, 5: 3, 6: 5, 12: u, 16: 4, 21: n, 22: r, 24: a }, e(m, _, { 17: 11 }), { 7: 12, 13: [1, 13] }, { 16: 14, 21: n, 22: r, 24: a }, { 16: 15, 21: n, 22: r, 24: a }, { 25: [1, 16], 26: [1, 17] }, { 13: [2, 5] }, { 1: [2, 2] }, { 1: [2, 9], 18: 18, 19: 19, 20: s1, 21: z, 22: t1, 23: f1, 32: 24, 33: 25, 34: 26, 35: 27, 36: 28, 37: 29, 38: W1, 43: 31, 44: z1, 46: Q1, 48: t2, 50: 35, 51: 45, 52: q, 54: 46, 66: a1, 67: T1, 86: c2, 87: o2, 88: l2, 89: h2, 90: f2, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 118: A2, 119: d2, 120: p2, 121: E2, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, { 8: 64, 10: [1, 65], 15: j2 }, e([10, 15], [2, 6]), e(m, [2, 17]), e(m, [2, 18]), e(m, [2, 19]), { 20: [1, 68], 21: [1, 69], 22: s2, 27: 67, 30: 70 }, e(Q, [2, 11]), e(Q, [2, 12]), e(Q, [2, 13]), e(Q, [2, 14]), e(Q, [2, 15]), e(Q, [2, 16]), { 9: 72, 20: A1, 21: d1, 23: p1, 49: 73, 78: 77, 81: [1, 78], 82: [1, 79] }, { 9: 80, 20: A1, 21: d1, 23: p1 }, { 9: 81, 20: A1, 21: d1, 23: p1 }, { 9: 82, 20: A1, 21: d1, 23: p1 }, { 9: 83, 20: A1, 21: d1, 23: p1 }, { 9: 84, 20: A1, 21: d1, 23: p1 }, { 9: 86, 20: A1, 21: d1, 22: [1, 85], 23: p1 }, e(Q, [2, 44]), { 45: [1, 87] }, { 47: [1, 88] }, e(Q, [2, 47]), e(b2, [2, 54], { 30: 89, 22: s2 }), { 22: [1, 90] }, { 22: [1, 91] }, { 22: [1, 92] }, { 22: [1, 93] }, { 26: u1, 52: l, 66: h, 67: f, 84: [1, 97], 91: n1, 97: 96, 98: [1, 94], 100: [1, 95], 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(Q, [2, 158]), e(Q, [2, 159]), e(Q, [2, 160]), e(Q, [2, 161]), e(S2, [2, 55], { 53: [1, 116] }), e(e1, [2, 74], { 116: 129, 40: [1, 117], 52: q, 55: [1, 118], 57: [1, 119], 59: [1, 120], 61: [1, 121], 63: [1, 122], 65: [1, 123], 66: a1, 67: T1, 69: [1, 124], 71: [1, 125], 73: [1, 126], 74: [1, 127], 76: [1, 128], 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }), e(Z, [2, 150]), e(Z, [2, 175]), e(Z, [2, 176]), e(Z, [2, 177]), e(Z, [2, 178]), e(Z, [2, 179]), e(Z, [2, 180]), e(Z, [2, 181]), e(Z, [2, 182]), e(Z, [2, 183]), e(Z, [2, 184]), e(Z, [2, 185]), e(Z, [2, 186]), e(Z, [2, 187]), e(Z, [2, 188]), e(Z, [2, 189]), e(Z, [2, 190]), { 9: 130, 20: A1, 21: d1, 23: p1 }, { 11: 131, 14: [1, 132] }, e(Y, [2, 8]), e(m, [2, 20]), e(m, [2, 26]), e(m, [2, 27]), { 21: [1, 133] }, e(K2, [2, 34], { 30: 134, 22: s2 }), e(Q, [2, 35]), { 50: 135, 51: 45, 52: q, 54: 46, 66: a1, 67: T1, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, e(T2, [2, 48]), e(T2, [2, 49]), e(T2, [2, 50]), e(u2, [2, 78], { 79: 136, 68: [1, 138], 80: [1, 137] }), { 22: T, 24: y, 26: v, 38: V, 39: 139, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e([52, 66, 67, 68, 80, 91, 95, 105, 106, 109, 111, 112, 122, 123, 124, 125, 126, 127], [2, 80]), e(Q, [2, 36]), e(Q, [2, 37]), e(Q, [2, 38]), e(Q, [2, 39]), e(Q, [2, 40]), { 22: T, 24: y, 26: v, 38: V, 39: 163, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(y2, _, { 17: 164 }), e(Q, [2, 45]), e(Q, [2, 46]), e(b2, [2, 53], { 52: W2 }), { 26: u1, 52: l, 66: h, 67: f, 91: n1, 97: 166, 102: [1, 167], 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 95: [1, 168], 103: 169, 105: [1, 170] }, { 26: u1, 52: l, 66: h, 67: f, 91: n1, 95: [1, 171], 97: 172, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 26: u1, 52: l, 66: h, 67: f, 91: n1, 97: 173, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(Y, [2, 101], { 22: [1, 174], 99: [1, 175] }), e(Y, [2, 105], { 22: [1, 176] }), e(Y, [2, 109], { 115: 100, 117: 178, 22: [1, 177], 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }), e(Y, [2, 111], { 22: [1, 179] }), e(J1, [2, 152]), e(J1, [2, 154]), e(J1, [2, 155]), e(J1, [2, 156]), e(J1, [2, 157]), e(S, [2, 162]), e(S, [2, 163]), e(S, [2, 164]), e(S, [2, 165]), e(S, [2, 166]), e(S, [2, 167]), e(S, [2, 168]), e(S, [2, 169]), e(S, [2, 170]), e(S, [2, 171]), e(S, [2, 172]), e(S, [2, 173]), e(S, [2, 174]), { 52: q, 54: 180, 66: a1, 67: T1, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, { 22: T, 24: y, 26: v, 38: V, 39: 181, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 182, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 184, 42: x, 52: l, 57: [1, 183], 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 185, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 186, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 187, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 66: [1, 188] }, { 22: T, 24: y, 26: v, 38: V, 39: 189, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 190, 42: x, 52: l, 66: h, 67: f, 71: [1, 191], 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 192, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 193, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 194, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(Z, [2, 151]), e(Y2, [2, 3]), { 8: 195, 15: j2 }, { 15: [2, 7] }, e(m, [2, 28]), e(K2, [2, 33]), e(b2, [2, 51], { 30: 196, 22: s2 }), e(u2, [2, 75], { 22: [1, 197] }), { 22: [1, 198] }, { 22: T, 24: y, 26: v, 38: V, 39: 199, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 82: [1, 200], 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(S, [2, 82]), e(S, [2, 84]), e(S, [2, 140]), e(S, [2, 141]), e(S, [2, 142]), e(S, [2, 143]), e(S, [2, 144]), e(S, [2, 145]), e(S, [2, 146]), e(S, [2, 147]), e(S, [2, 148]), e(S, [2, 149]), e(S, [2, 85]), e(S, [2, 86]), e(S, [2, 87]), e(S, [2, 88]), e(S, [2, 89]), e(S, [2, 90]), e(S, [2, 91]), e(S, [2, 92]), e(S, [2, 93]), e(S, [2, 94]), e(S, [2, 95]), { 9: 203, 20: A1, 21: d1, 22: T, 23: p1, 24: y, 26: v, 38: V, 40: [1, 202], 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 18: 18, 19: 19, 20: s1, 21: z, 22: t1, 23: f1, 32: 24, 33: 25, 34: 26, 35: 27, 36: 28, 37: 29, 38: W1, 42: [1, 204], 43: 31, 44: z1, 46: Q1, 48: t2, 50: 35, 51: 45, 52: q, 54: 46, 66: a1, 67: T1, 86: c2, 87: o2, 88: l2, 89: h2, 90: f2, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 118: A2, 119: d2, 120: p2, 121: E2, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, { 22: s2, 30: 205 }, { 22: [1, 206], 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 178, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: [1, 207] }, { 22: [1, 208] }, { 22: [1, 209], 106: [1, 210] }, e(H2, [2, 123]), { 22: [1, 211] }, { 22: [1, 212], 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 178, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: [1, 213], 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 178, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 84: [1, 214] }, e(Y, [2, 103], { 22: [1, 215] }), { 84: [1, 216], 101: [1, 217] }, { 84: [1, 218] }, e(J1, [2, 153]), { 84: [1, 219], 101: [1, 220] }, e(S2, [2, 57], { 116: 129, 52: q, 66: a1, 67: T1, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }), { 22: T, 24: y, 26: v, 38: V, 41: [1, 221], 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 56: [1, 222], 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 223, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 58: [1, 224], 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 60: [1, 225], 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 62: [1, 226], 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 64: [1, 227], 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 67: [1, 228] }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 70: [1, 229], 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 72: [1, 230], 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 39: 231, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 41: [1, 232], 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 73: L, 75: [1, 233], 77: [1, 234], 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 73: L, 75: [1, 236], 77: [1, 235], 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 9: 237, 20: A1, 21: d1, 23: p1 }, e(b2, [2, 52], { 52: W2 }), e(u2, [2, 77]), e(u2, [2, 76]), { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 68: [1, 238], 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(u2, [2, 79]), e(S, [2, 83]), { 22: T, 24: y, 26: v, 38: V, 39: 239, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(y2, _, { 17: 240 }), e(Q, [2, 43]), { 51: 241, 52: q, 54: 46, 66: a1, 67: T1, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 242, 102: D1, 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 256, 102: D1, 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 257, 102: D1, 104: [1, 258], 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 259, 102: D1, 104: [1, 260], 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 105: [1, 261] }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 262, 102: D1, 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 263, 102: D1, 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 26: u1, 52: l, 66: h, 67: f, 91: n1, 97: 264, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(Y, [2, 102]), { 84: [1, 265] }, e(Y, [2, 106], { 22: [1, 266] }), e(Y, [2, 107]), e(Y, [2, 110]), e(Y, [2, 112], { 22: [1, 267] }), e(Y, [2, 113]), e(e1, [2, 58]), e(e1, [2, 59]), { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 58: [1, 268], 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(e1, [2, 66]), e(e1, [2, 61]), e(e1, [2, 62]), e(e1, [2, 63]), { 66: [1, 269] }, e(e1, [2, 65]), e(e1, [2, 67]), { 22: T, 24: y, 26: v, 38: V, 42: x, 52: l, 66: h, 67: f, 72: [1, 270], 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(e1, [2, 69]), e(e1, [2, 70]), e(e1, [2, 72]), e(e1, [2, 71]), e(e1, [2, 73]), e(Y2, [2, 4]), e([22, 52, 66, 67, 91, 95, 105, 106, 109, 111, 112, 122, 123, 124, 125, 126, 127], [2, 81]), { 22: T, 24: y, 26: v, 38: V, 41: [1, 271], 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 18: 18, 19: 19, 20: s1, 21: z, 22: t1, 23: f1, 32: 24, 33: 25, 34: 26, 35: 27, 36: 28, 37: 29, 38: W1, 42: [1, 272], 43: 31, 44: z1, 46: Q1, 48: t2, 50: 35, 51: 45, 52: q, 54: 46, 66: a1, 67: T1, 86: c2, 87: o2, 88: l2, 89: h2, 90: f2, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 118: A2, 119: d2, 120: p2, 121: E2, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, e(S2, [2, 56]), e(Y, [2, 115], { 106: Y1 }), e(z2, [2, 125], { 108: 274, 22: E1, 66: b1, 67: g1, 86: k1, 102: D1, 105: C1, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }), e(c1, [2, 127]), e(c1, [2, 129]), e(c1, [2, 130]), e(c1, [2, 131]), e(c1, [2, 132]), e(c1, [2, 133]), e(c1, [2, 134]), e(c1, [2, 135]), e(c1, [2, 136]), e(c1, [2, 137]), e(c1, [2, 138]), e(c1, [2, 139]), e(Y, [2, 116], { 106: Y1 }), e(Y, [2, 117], { 106: Y1 }), { 22: [1, 275] }, e(Y, [2, 118], { 106: Y1 }), { 22: [1, 276] }, e(H2, [2, 124]), e(Y, [2, 98], { 106: Y1 }), e(Y, [2, 99], { 106: Y1 }), e(Y, [2, 100], { 115: 100, 117: 178, 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }), e(Y, [2, 104]), { 101: [1, 277] }, { 101: [1, 278] }, { 58: [1, 279] }, { 68: [1, 280] }, { 72: [1, 281] }, { 9: 282, 20: A1, 21: d1, 23: p1 }, e(Q, [2, 42]), { 22: E1, 66: b1, 67: g1, 86: k1, 102: D1, 105: C1, 107: 283, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, e(c1, [2, 128]), { 26: u1, 52: l, 66: h, 67: f, 91: n1, 97: 284, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 26: u1, 52: l, 66: h, 67: f, 91: n1, 97: 285, 105: A, 106: d, 109: r1, 111: p, 112: E, 115: 100, 117: 98, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(Y, [2, 108]), e(Y, [2, 114]), e(e1, [2, 60]), { 22: T, 24: y, 26: v, 38: V, 39: 286, 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 140, 84: J, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, e(e1, [2, 68]), e(y2, _, { 17: 287 }), e(z2, [2, 126], { 108: 274, 22: E1, 66: b1, 67: g1, 86: k1, 102: D1, 105: C1, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }), e(Y, [2, 121], { 115: 100, 117: 178, 22: [1, 288], 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }), e(Y, [2, 122], { 115: 100, 117: 178, 22: [1, 289], 26: u1, 52: l, 66: h, 67: f, 91: n1, 105: A, 106: d, 109: r1, 111: p, 112: E, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }), { 22: T, 24: y, 26: v, 38: V, 41: [1, 290], 42: x, 52: l, 66: h, 67: f, 73: L, 81: R, 83: 201, 85: 151, 86: I, 87: N, 88: O, 89: P, 90: w, 91: U, 92: M, 94: 142, 95: G, 105: A, 106: d, 109: j, 111: p, 112: E, 113: K, 114: W, 115: 148, 122: b, 123: g, 124: k, 125: D, 126: C, 127: F }, { 18: 18, 19: 19, 20: s1, 21: z, 22: t1, 23: f1, 32: 24, 33: 25, 34: 26, 35: 27, 36: 28, 37: 29, 38: W1, 42: [1, 291], 43: 31, 44: z1, 46: Q1, 48: t2, 50: 35, 51: 45, 52: q, 54: 46, 66: a1, 67: T1, 86: c2, 87: o2, 88: l2, 89: h2, 90: f2, 91: y1, 95: v1, 105: V1, 106: x1, 109: L1, 111: R1, 112: I1, 116: 47, 118: A2, 119: d2, 120: p2, 121: E2, 122: N1, 123: O1, 124: P1, 125: w1, 126: U1, 127: M1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 292, 102: D1, 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, { 22: E1, 66: b1, 67: g1, 86: k1, 96: 293, 102: D1, 105: C1, 107: 243, 108: 244, 109: F1, 110: _1, 111: B1, 112: m1, 113: S1 }, e(e1, [2, 64]), e(Q, [2, 41]), e(Y, [2, 119], { 106: Y1 }), e(Y, [2, 120], { 106: Y1 })],
|
|
defaultActions: { 2: [2, 1], 9: [2, 5], 10: [2, 2], 132: [2, 7] },
|
|
parseError: function(c, o) {
|
|
if (o.recoverable)
|
|
this.trace(c);
|
|
else {
|
|
var B = new Error(c);
|
|
throw B.hash = o, B;
|
|
}
|
|
},
|
|
parse: function(c) {
|
|
var o = this, B = [0], i = [], X = [null], t = [], n2 = this.table, s = "", o1 = 0, Q2 = 0, Ve = 2, X2 = 1, xe = t.slice.call(arguments, 1), $ = Object.create(this.lexer), X1 = { yy: {} };
|
|
for (var x2 in this.yy)
|
|
Object.prototype.hasOwnProperty.call(this.yy, x2) && (X1.yy[x2] = this.yy[x2]);
|
|
$.setInput(c, X1.yy), X1.yy.lexer = $, X1.yy.parser = this, typeof $.yylloc > "u" && ($.yylloc = {});
|
|
var L2 = $.yylloc;
|
|
t.push(L2);
|
|
var Le = $.options && $.options.ranges;
|
|
typeof X1.yy.parseError == "function" ? this.parseError = X1.yy.parseError : this.parseError = Object.getPrototypeOf(this).parseError;
|
|
function Re() {
|
|
var j1;
|
|
return j1 = i.pop() || $.lex() || X2, typeof j1 != "number" && (j1 instanceof Array && (i = j1, j1 = i.pop()), j1 = o.symbols_[j1] || j1), j1;
|
|
}
|
|
for (var i1, q1, l1, R2, $1 = {}, g2, G1, q2, k2; ; ) {
|
|
if (q1 = B[B.length - 1], this.defaultActions[q1] ? l1 = this.defaultActions[q1] : ((i1 === null || typeof i1 > "u") && (i1 = Re()), l1 = n2[q1] && n2[q1][i1]), typeof l1 > "u" || !l1.length || !l1[0]) {
|
|
var I2 = "";
|
|
k2 = [];
|
|
for (g2 in n2[q1])
|
|
this.terminals_[g2] && g2 > Ve && k2.push("'" + this.terminals_[g2] + "'");
|
|
$.showPosition ? I2 = "Parse error on line " + (o1 + 1) + `:
|
|
` + $.showPosition() + `
|
|
Expecting ` + k2.join(", ") + ", got '" + (this.terminals_[i1] || i1) + "'" : I2 = "Parse error on line " + (o1 + 1) + ": Unexpected " + (i1 == X2 ? "end of input" : "'" + (this.terminals_[i1] || i1) + "'"), this.parseError(I2, {
|
|
text: $.match,
|
|
token: this.terminals_[i1] || i1,
|
|
line: $.yylineno,
|
|
loc: L2,
|
|
expected: k2
|
|
});
|
|
}
|
|
if (l1[0] instanceof Array && l1.length > 1)
|
|
throw new Error("Parse Error: multiple actions possible at state: " + q1 + ", token: " + i1);
|
|
switch (l1[0]) {
|
|
case 1:
|
|
B.push(i1), X.push($.yytext), t.push($.yylloc), B.push(l1[1]), i1 = null, Q2 = $.yyleng, s = $.yytext, o1 = $.yylineno, L2 = $.yylloc;
|
|
break;
|
|
case 2:
|
|
if (G1 = this.productions_[l1[1]][1], $1.$ = X[X.length - G1], $1._$ = {
|
|
first_line: t[t.length - (G1 || 1)].first_line,
|
|
last_line: t[t.length - 1].last_line,
|
|
first_column: t[t.length - (G1 || 1)].first_column,
|
|
last_column: t[t.length - 1].last_column
|
|
}, Le && ($1._$.range = [
|
|
t[t.length - (G1 || 1)].range[0],
|
|
t[t.length - 1].range[1]
|
|
]), R2 = this.performAction.apply($1, [
|
|
s,
|
|
Q2,
|
|
o1,
|
|
X1.yy,
|
|
l1[1],
|
|
X,
|
|
t
|
|
].concat(xe)), typeof R2 < "u")
|
|
return R2;
|
|
G1 && (B = B.slice(0, -1 * G1 * 2), X = X.slice(0, -1 * G1), t = t.slice(0, -1 * G1)), B.push(this.productions_[l1[1]][0]), X.push($1.$), t.push($1._$), q2 = n2[B[B.length - 2]][B[B.length - 1]], B.push(q2);
|
|
break;
|
|
case 3:
|
|
return !0;
|
|
}
|
|
}
|
|
return !0;
|
|
}
|
|
}, ve = function() {
|
|
var H1 = {
|
|
EOF: 1,
|
|
parseError: function(o, B) {
|
|
if (this.yy.parser)
|
|
this.yy.parser.parseError(o, B);
|
|
else
|
|
throw new Error(o);
|
|
},
|
|
// resets the lexer, sets new input
|
|
setInput: function(c, o) {
|
|
return this.yy = o || this.yy || {}, this._input = c, this._more = this._backtrack = this.done = !1, this.yylineno = this.yyleng = 0, this.yytext = this.matched = this.match = "", this.conditionStack = ["INITIAL"], this.yylloc = {
|
|
first_line: 1,
|
|
first_column: 0,
|
|
last_line: 1,
|
|
last_column: 0
|
|
}, this.options.ranges && (this.yylloc.range = [0, 0]), this.offset = 0, this;
|
|
},
|
|
// consumes and returns one char from the input
|
|
input: function() {
|
|
var c = this._input[0];
|
|
this.yytext += c, this.yyleng++, this.offset++, this.match += c, this.matched += c;
|
|
var o = c.match(/(?:\r\n?|\n).*/g);
|
|
return o ? (this.yylineno++, this.yylloc.last_line++) : this.yylloc.last_column++, this.options.ranges && this.yylloc.range[1]++, this._input = this._input.slice(1), c;
|
|
},
|
|
// unshifts one char (or a string) into the input
|
|
unput: function(c) {
|
|
var o = c.length, B = c.split(/(?:\r\n?|\n)/g);
|
|
this._input = c + this._input, this.yytext = this.yytext.substr(0, this.yytext.length - o), this.offset -= o;
|
|
var i = this.match.split(/(?:\r\n?|\n)/g);
|
|
this.match = this.match.substr(0, this.match.length - 1), this.matched = this.matched.substr(0, this.matched.length - 1), B.length - 1 && (this.yylineno -= B.length - 1);
|
|
var X = this.yylloc.range;
|
|
return this.yylloc = {
|
|
first_line: this.yylloc.first_line,
|
|
last_line: this.yylineno + 1,
|
|
first_column: this.yylloc.first_column,
|
|
last_column: B ? (B.length === i.length ? this.yylloc.first_column : 0) + i[i.length - B.length].length - B[0].length : this.yylloc.first_column - o
|
|
}, this.options.ranges && (this.yylloc.range = [X[0], X[0] + this.yyleng - o]), this.yyleng = this.yytext.length, this;
|
|
},
|
|
// When called from action, caches matched text and appends it on next action
|
|
more: function() {
|
|
return this._more = !0, this;
|
|
},
|
|
// 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.
|
|
reject: function() {
|
|
if (this.options.backtrack_lexer)
|
|
this._backtrack = !0;
|
|
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).
|
|
` + this.showPosition(), {
|
|
text: "",
|
|
token: null,
|
|
line: this.yylineno
|
|
});
|
|
return this;
|
|
},
|
|
// retain first n characters of the match
|
|
less: function(c) {
|
|
this.unput(this.match.slice(c));
|
|
},
|
|
// displays already matched input, i.e. for error messages
|
|
pastInput: function() {
|
|
var c = this.matched.substr(0, this.matched.length - this.match.length);
|
|
return (c.length > 20 ? "..." : "") + c.substr(-20).replace(/\n/g, "");
|
|
},
|
|
// displays upcoming input, i.e. for error messages
|
|
upcomingInput: function() {
|
|
var c = this.match;
|
|
return c.length < 20 && (c += this._input.substr(0, 20 - c.length)), (c.substr(0, 20) + (c.length > 20 ? "..." : "")).replace(/\n/g, "");
|
|
},
|
|
// displays the character position where the lexing error occurred, i.e. for error messages
|
|
showPosition: function() {
|
|
var c = this.pastInput(), o = new Array(c.length + 1).join("-");
|
|
return c + this.upcomingInput() + `
|
|
` + o + "^";
|
|
},
|
|
// test the lexed token: return FALSE when not a match, otherwise return token
|
|
test_match: function(c, o) {
|
|
var B, i, X;
|
|
if (this.options.backtrack_lexer && (X = {
|
|
yylineno: this.yylineno,
|
|
yylloc: {
|
|
first_line: this.yylloc.first_line,
|
|
last_line: this.last_line,
|
|
first_column: this.yylloc.first_column,
|
|
last_column: this.yylloc.last_column
|
|
},
|
|
yytext: this.yytext,
|
|
match: this.match,
|
|
matches: this.matches,
|
|
matched: this.matched,
|
|
yyleng: this.yyleng,
|
|
offset: this.offset,
|
|
_more: this._more,
|
|
_input: this._input,
|
|
yy: this.yy,
|
|
conditionStack: this.conditionStack.slice(0),
|
|
done: this.done
|
|
}, this.options.ranges && (X.yylloc.range = this.yylloc.range.slice(0))), i = c[0].match(/(?:\r\n?|\n).*/g), i && (this.yylineno += i.length), this.yylloc = {
|
|
first_line: this.yylloc.last_line,
|
|
last_line: this.yylineno + 1,
|
|
first_column: this.yylloc.last_column,
|
|
last_column: i ? i[i.length - 1].length - i[i.length - 1].match(/\r?\n?/)[0].length : this.yylloc.last_column + c[0].length
|
|
}, this.yytext += c[0], this.match += c[0], this.matches = c, this.yyleng = this.yytext.length, this.options.ranges && (this.yylloc.range = [this.offset, this.offset += this.yyleng]), this._more = !1, this._backtrack = !1, this._input = this._input.slice(c[0].length), this.matched += c[0], B = this.performAction.call(this, this.yy, this, o, this.conditionStack[this.conditionStack.length - 1]), this.done && this._input && (this.done = !1), B)
|
|
return B;
|
|
if (this._backtrack) {
|
|
for (var t in X)
|
|
this[t] = X[t];
|
|
return !1;
|
|
}
|
|
return !1;
|
|
},
|
|
// return next match in input
|
|
next: function() {
|
|
if (this.done)
|
|
return this.EOF;
|
|
this._input || (this.done = !0);
|
|
var c, o, B, i;
|
|
this._more || (this.yytext = "", this.match = "");
|
|
for (var X = this._currentRules(), t = 0; t < X.length; t++)
|
|
if (B = this._input.match(this.rules[X[t]]), B && (!o || B[0].length > o[0].length)) {
|
|
if (o = B, i = t, this.options.backtrack_lexer) {
|
|
if (c = this.test_match(B, X[t]), c !== !1)
|
|
return c;
|
|
if (this._backtrack) {
|
|
o = !1;
|
|
continue;
|
|
} else
|
|
return !1;
|
|
} else if (!this.options.flex)
|
|
break;
|
|
}
|
|
return o ? (c = this.test_match(o, X[i]), c !== !1 ? c : !1) : this._input === "" ? this.EOF : this.parseError("Lexical error on line " + (this.yylineno + 1) + `. Unrecognized text.
|
|
` + this.showPosition(), {
|
|
text: "",
|
|
token: null,
|
|
line: this.yylineno
|
|
});
|
|
},
|
|
// return next match that has a token
|
|
lex: function() {
|
|
var o = this.next();
|
|
return o || this.lex();
|
|
},
|
|
// activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)
|
|
begin: function(o) {
|
|
this.conditionStack.push(o);
|
|
},
|
|
// pop the previously active lexer condition state off the condition stack
|
|
popState: function() {
|
|
var o = this.conditionStack.length - 1;
|
|
return o > 0 ? this.conditionStack.pop() : this.conditionStack[0];
|
|
},
|
|
// produce the lexer rule set which is active for the currently active lexer condition state
|
|
_currentRules: function() {
|
|
return this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1] ? this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules : this.conditions.INITIAL.rules;
|
|
},
|
|
// return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available
|
|
topState: function(o) {
|
|
return o = this.conditionStack.length - 1 - Math.abs(o || 0), o >= 0 ? this.conditionStack[o] : "INITIAL";
|
|
},
|
|
// alias for begin(condition)
|
|
pushState: function(o) {
|
|
this.begin(o);
|
|
},
|
|
// return the number of states currently on the stack
|
|
stateStackSize: function() {
|
|
return this.conditionStack.length;
|
|
},
|
|
options: {},
|
|
performAction: function(o, B, i, X) {
|
|
switch (i) {
|
|
case 0:
|
|
return this.begin("open_directive"), 12;
|
|
case 1:
|
|
return this.begin("type_directive"), 13;
|
|
case 2:
|
|
return this.popState(), this.begin("arg_directive"), 10;
|
|
case 3:
|
|
return this.popState(), this.popState(), 15;
|
|
case 4:
|
|
return 14;
|
|
case 5:
|
|
break;
|
|
case 6:
|
|
break;
|
|
case 7:
|
|
return this.begin("acc_title"), 44;
|
|
case 8:
|
|
return this.popState(), "acc_title_value";
|
|
case 9:
|
|
return this.begin("acc_descr"), 46;
|
|
case 10:
|
|
return this.popState(), "acc_descr_value";
|
|
case 11:
|
|
this.begin("acc_descr_multiline");
|
|
break;
|
|
case 12:
|
|
this.popState();
|
|
break;
|
|
case 13:
|
|
return "acc_descr_multiline_value";
|
|
case 14:
|
|
this.begin("string");
|
|
break;
|
|
case 15:
|
|
this.popState();
|
|
break;
|
|
case 16:
|
|
return "STR";
|
|
case 17:
|
|
return 86;
|
|
case 18:
|
|
return 95;
|
|
case 19:
|
|
return 87;
|
|
case 20:
|
|
return 104;
|
|
case 21:
|
|
return 88;
|
|
case 22:
|
|
return 89;
|
|
case 23:
|
|
this.begin("href");
|
|
break;
|
|
case 24:
|
|
this.popState();
|
|
break;
|
|
case 25:
|
|
return 100;
|
|
case 26:
|
|
this.begin("callbackname");
|
|
break;
|
|
case 27:
|
|
this.popState();
|
|
break;
|
|
case 28:
|
|
this.popState(), this.begin("callbackargs");
|
|
break;
|
|
case 29:
|
|
return 98;
|
|
case 30:
|
|
this.popState();
|
|
break;
|
|
case 31:
|
|
return 99;
|
|
case 32:
|
|
this.begin("click");
|
|
break;
|
|
case 33:
|
|
this.popState();
|
|
break;
|
|
case 34:
|
|
return 90;
|
|
case 35:
|
|
return o.lex.firstGraph() && this.begin("dir"), 24;
|
|
case 36:
|
|
return o.lex.firstGraph() && this.begin("dir"), 24;
|
|
case 37:
|
|
return o.lex.firstGraph() && this.begin("dir"), 24;
|
|
case 38:
|
|
return 38;
|
|
case 39:
|
|
return 42;
|
|
case 40:
|
|
return 101;
|
|
case 41:
|
|
return 101;
|
|
case 42:
|
|
return 101;
|
|
case 43:
|
|
return 101;
|
|
case 44:
|
|
return this.popState(), 25;
|
|
case 45:
|
|
return this.popState(), 26;
|
|
case 46:
|
|
return this.popState(), 26;
|
|
case 47:
|
|
return this.popState(), 26;
|
|
case 48:
|
|
return this.popState(), 26;
|
|
case 49:
|
|
return this.popState(), 26;
|
|
case 50:
|
|
return this.popState(), 26;
|
|
case 51:
|
|
return this.popState(), 26;
|
|
case 52:
|
|
return this.popState(), 26;
|
|
case 53:
|
|
return this.popState(), 26;
|
|
case 54:
|
|
return this.popState(), 26;
|
|
case 55:
|
|
return 118;
|
|
case 56:
|
|
return 119;
|
|
case 57:
|
|
return 120;
|
|
case 58:
|
|
return 121;
|
|
case 59:
|
|
return 105;
|
|
case 60:
|
|
return 111;
|
|
case 61:
|
|
return 53;
|
|
case 62:
|
|
return 67;
|
|
case 63:
|
|
return 52;
|
|
case 64:
|
|
return 20;
|
|
case 65:
|
|
return 106;
|
|
case 66:
|
|
return 126;
|
|
case 67:
|
|
return 82;
|
|
case 68:
|
|
return 82;
|
|
case 69:
|
|
return 82;
|
|
case 70:
|
|
return 82;
|
|
case 71:
|
|
return 81;
|
|
case 72:
|
|
return 81;
|
|
case 73:
|
|
return 81;
|
|
case 74:
|
|
return 59;
|
|
case 75:
|
|
return 60;
|
|
case 76:
|
|
return 61;
|
|
case 77:
|
|
return 62;
|
|
case 78:
|
|
return 63;
|
|
case 79:
|
|
return 64;
|
|
case 80:
|
|
return 65;
|
|
case 81:
|
|
return 69;
|
|
case 82:
|
|
return 70;
|
|
case 83:
|
|
return 55;
|
|
case 84:
|
|
return 56;
|
|
case 85:
|
|
return 109;
|
|
case 86:
|
|
return 112;
|
|
case 87:
|
|
return 127;
|
|
case 88:
|
|
return 124;
|
|
case 89:
|
|
return 113;
|
|
case 90:
|
|
return 125;
|
|
case 91:
|
|
return 125;
|
|
case 92:
|
|
return 114;
|
|
case 93:
|
|
return 73;
|
|
case 94:
|
|
return 92;
|
|
case 95:
|
|
return "SEP";
|
|
case 96:
|
|
return 91;
|
|
case 97:
|
|
return 66;
|
|
case 98:
|
|
return 75;
|
|
case 99:
|
|
return 74;
|
|
case 100:
|
|
return 77;
|
|
case 101:
|
|
return 76;
|
|
case 102:
|
|
return 122;
|
|
case 103:
|
|
return 123;
|
|
case 104:
|
|
return 68;
|
|
case 105:
|
|
return 57;
|
|
case 106:
|
|
return 58;
|
|
case 107:
|
|
return 40;
|
|
case 108:
|
|
return 41;
|
|
case 109:
|
|
return 71;
|
|
case 110:
|
|
return 72;
|
|
case 111:
|
|
return 133;
|
|
case 112:
|
|
return 21;
|
|
case 113:
|
|
return 22;
|
|
case 114:
|
|
return 23;
|
|
}
|
|
},
|
|
rules: [/^(?:%%\{)/, /^(?:((?:(?!\}%%)[^:.])*))/, /^(?::)/, /^(?:\}%%)/, /^(?:((?:(?!\}%%).|\n)*))/, /^(?:%%(?!\{)[^\n]*)/, /^(?:[^\}]%%[^\n]*)/, /^(?:accTitle\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*:\s*)/, /^(?:(?!\n||)*[^\n]*)/, /^(?:accDescr\s*\{\s*)/, /^(?:[\}])/, /^(?:[^\}]*)/, /^(?:["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:style\b)/, /^(?:default\b)/, /^(?:linkStyle\b)/, /^(?:interpolate\b)/, /^(?:classDef\b)/, /^(?:class\b)/, /^(?:href[\s]+["])/, /^(?:["])/, /^(?:[^"]*)/, /^(?:call[\s]+)/, /^(?:\([\s]*\))/, /^(?:\()/, /^(?:[^(]*)/, /^(?:\))/, /^(?:[^)]*)/, /^(?:click[\s]+)/, /^(?:[\s\n])/, /^(?:[^\s\n]*)/, /^(?:flowchart-elk\b)/, /^(?:graph\b)/, /^(?:flowchart\b)/, /^(?:subgraph\b)/, /^(?:end\b\s*)/, /^(?:_self\b)/, /^(?:_blank\b)/, /^(?:_parent\b)/, /^(?:_top\b)/, /^(?:(\r?\n)*\s*\n)/, /^(?:\s*LR\b)/, /^(?:\s*RL\b)/, /^(?:\s*TB\b)/, /^(?:\s*BT\b)/, /^(?:\s*TD\b)/, /^(?:\s*BR\b)/, /^(?:\s*<)/, /^(?:\s*>)/, /^(?:\s*\^)/, /^(?:\s*v\b)/, /^(?:.*direction\s+TB[^\n]*)/, /^(?:.*direction\s+BT[^\n]*)/, /^(?:.*direction\s+RL[^\n]*)/, /^(?:.*direction\s+LR[^\n]*)/, /^(?:[0-9]+)/, /^(?:#)/, /^(?::::)/, /^(?::)/, /^(?:&)/, /^(?:;)/, /^(?:,)/, /^(?:\*)/, /^(?:\s*[xo<]?--+[-xo>]\s*)/, /^(?:\s*[xo<]?==+[=xo>]\s*)/, /^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/, /^(?:\s*~~[\~]+\s*)/, /^(?:\s*[xo<]?--\s*)/, /^(?:\s*[xo<]?==\s*)/, /^(?:\s*[xo<]?-\.\s*)/, /^(?:\(-)/, /^(?:-\))/, /^(?:\(\[)/, /^(?:\]\))/, /^(?:\[\[)/, /^(?:\]\])/, /^(?:\[\|)/, /^(?:\[\()/, /^(?:\)\])/, /^(?:\(\(\()/, /^(?:\)\)\))/, /^(?:-)/, /^(?:\.)/, /^(?:[\_])/, /^(?:\+)/, /^(?:%)/, /^(?:=)/, /^(?:=)/, /^(?:<)/, /^(?:>)/, /^(?:\^)/, /^(?:\\\|)/, /^(?:v\b)/, /^(?:[A-Za-z]+)/, /^(?:\\\])/, /^(?:\[\/)/, /^(?:\/\])/, /^(?:\[\\)/, /^(?:[!"#$%&'*+,-.`?\\_/])/, /^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/, /^(?:\|)/, /^(?:\()/, /^(?:\))/, /^(?:\[)/, /^(?:\])/, /^(?:\{)/, /^(?:\})/, /^(?:")/, /^(?:(\r?\n)+)/, /^(?:\s)/, /^(?:$)/],
|
|
conditions: { close_directive: { rules: [], inclusive: !1 }, arg_directive: { rules: [3, 4], inclusive: !1 }, type_directive: { rules: [2, 3], inclusive: !1 }, open_directive: { rules: [1], inclusive: !1 }, callbackargs: { rules: [30, 31], inclusive: !1 }, callbackname: { rules: [27, 28, 29], inclusive: !1 }, href: { rules: [24, 25], inclusive: !1 }, click: { rules: [33, 34], inclusive: !1 }, vertex: { rules: [], inclusive: !1 }, dir: { rules: [44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54], inclusive: !1 }, acc_descr_multiline: { rules: [12, 13], inclusive: !1 }, acc_descr: { rules: [10], inclusive: !1 }, acc_title: { rules: [8], inclusive: !1 }, string: { rules: [15, 16], inclusive: !1 }, INITIAL: { rules: [0, 5, 6, 7, 9, 11, 14, 17, 18, 19, 20, 21, 22, 23, 26, 32, 35, 36, 37, 38, 39, 40, 41, 42, 43, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113, 114], inclusive: !0 } }
|
|
};
|
|
return H1;
|
|
}();
|
|
v2.lexer = ve;
|
|
function V2() {
|
|
this.yy = {};
|
|
}
|
|
return V2.prototype = v2, v2.Parser = V2, new V2();
|
|
}();
|
|
O2.parser = O2;
|
|
const ct = O2, ze = "flowchart-";
|
|
let Z2 = 0, M2 = w2(), H = {}, Z1 = [], e2 = {}, K1 = [], C2 = {}, G2 = {}, D2 = 0, P2 = !0, h1, F2, _2 = [];
|
|
const B2 = (e) => Oe.sanitizeText(e, M2), J2 = function(e, u, n) {
|
|
we.parseDirective(this, e, u, n);
|
|
}, a2 = function(e) {
|
|
const u = Object.keys(H);
|
|
for (const n of u)
|
|
if (H[n].id === e)
|
|
return H[n].domId;
|
|
return e;
|
|
}, $2 = function(e, u, n, r, a, m, _ = {}) {
|
|
let s1, z = e;
|
|
z !== void 0 && z.trim().length !== 0 && (H[z] === void 0 && (H[z] = {
|
|
id: z,
|
|
domId: ze + z + "-" + Z2,
|
|
styles: [],
|
|
classes: []
|
|
}), Z2++, u !== void 0 ? (M2 = w2(), s1 = B2(u.trim()), s1[0] === '"' && s1[s1.length - 1] === '"' && (s1 = s1.substring(1, s1.length - 1)), H[z].text = s1) : H[z].text === void 0 && (H[z].text = e), n !== void 0 && (H[z].type = n), r != null && r.forEach(function(t1) {
|
|
H[z].styles.push(t1);
|
|
}), a != null && a.forEach(function(t1) {
|
|
H[z].classes.push(t1);
|
|
}), m !== void 0 && (H[z].dir = m), H[z].props === void 0 ? H[z].props = _ : _ !== void 0 && Object.assign(H[z].props, _));
|
|
}, ee = function(e, u, n, r) {
|
|
const _ = { start: e, end: u, type: void 0, text: "" };
|
|
r = n.text, r !== void 0 && (_.text = B2(r.trim()), _.text[0] === '"' && _.text[_.text.length - 1] === '"' && (_.text = _.text.substring(1, _.text.length - 1))), n !== void 0 && (_.type = n.type, _.stroke = n.stroke, _.length = n.length), Z1.push(_);
|
|
}, te = function(e, u, n, r) {
|
|
let a, m;
|
|
for (a = 0; a < e.length; a++)
|
|
for (m = 0; m < u.length; m++)
|
|
ee(e[a], u[m], n, r);
|
|
}, se = function(e, u) {
|
|
e.forEach(function(n) {
|
|
n === "default" ? Z1.defaultInterpolate = u : Z1[n].interpolate = u;
|
|
});
|
|
}, ue = function(e, u) {
|
|
e.forEach(function(n) {
|
|
n === "default" ? Z1.defaultStyle = u : (U2.isSubstringInArray("fill", u) === -1 && u.push("fill:none"), Z1[n].style = u);
|
|
});
|
|
}, ne = function(e, u) {
|
|
e2[e] === void 0 && (e2[e] = { id: e, styles: [], textStyles: [] }), u != null && u.forEach(function(n) {
|
|
if (n.match("color")) {
|
|
const a = n.replace("fill", "bgFill").replace("color", "fill");
|
|
e2[e].textStyles.push(a);
|
|
}
|
|
e2[e].styles.push(n);
|
|
});
|
|
}, re = function(e) {
|
|
h1 = e, h1.match(/.*</) && (h1 = "RL"), h1.match(/.*\^/) && (h1 = "BT"), h1.match(/.*>/) && (h1 = "LR"), h1.match(/.*v/) && (h1 = "TB"), h1 === "TD" && (h1 = "TB");
|
|
}, m2 = function(e, u) {
|
|
e.split(",").forEach(function(n) {
|
|
let r = n;
|
|
H[r] !== void 0 && H[r].classes.push(u), C2[r] !== void 0 && C2[r].classes.push(u);
|
|
});
|
|
}, Qe = function(e, u) {
|
|
e.split(",").forEach(function(n) {
|
|
u !== void 0 && (G2[F2 === "gen-1" ? a2(n) : n] = B2(u));
|
|
});
|
|
}, Xe = function(e, u, n) {
|
|
let r = a2(e);
|
|
if (w2().securityLevel !== "loose" || u === void 0)
|
|
return;
|
|
let a = [];
|
|
if (typeof n == "string") {
|
|
a = n.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);
|
|
for (let m = 0; m < a.length; m++) {
|
|
let _ = a[m].trim();
|
|
_.charAt(0) === '"' && _.charAt(_.length - 1) === '"' && (_ = _.substr(1, _.length - 2)), a[m] = _;
|
|
}
|
|
}
|
|
a.length === 0 && a.push(e), H[e] !== void 0 && (H[e].haveCallback = !0, _2.push(function() {
|
|
const m = document.querySelector(`[id="${r}"]`);
|
|
m !== null && m.addEventListener(
|
|
"click",
|
|
function() {
|
|
U2.runFunc(u, ...a);
|
|
},
|
|
!1
|
|
);
|
|
}));
|
|
}, ie = function(e, u, n) {
|
|
e.split(",").forEach(function(r) {
|
|
H[r] !== void 0 && (H[r].link = U2.formatUrl(u, M2), H[r].linkTarget = n);
|
|
}), m2(e, "clickable");
|
|
}, ae = function(e) {
|
|
return G2[e];
|
|
}, ce = function(e, u, n) {
|
|
e.split(",").forEach(function(r) {
|
|
Xe(r, u, n);
|
|
}), m2(e, "clickable");
|
|
}, oe = function(e) {
|
|
_2.forEach(function(u) {
|
|
u(e);
|
|
});
|
|
}, le = function() {
|
|
return h1.trim();
|
|
}, he = function() {
|
|
return H;
|
|
}, fe = function() {
|
|
return Z1;
|
|
}, Ae = function() {
|
|
return e2;
|
|
}, de = function(e) {
|
|
let u = r2(".mermaidTooltip");
|
|
(u._groups || u)[0][0] === null && (u = r2("body").append("div").attr("class", "mermaidTooltip").style("opacity", 0)), r2(e).select("svg").selectAll("g.node").on("mouseover", function() {
|
|
const a = r2(this);
|
|
if (a.attr("title") === null)
|
|
return;
|
|
const _ = this.getBoundingClientRect();
|
|
u.transition().duration(200).style("opacity", ".9"), u.text(a.attr("title")).style("left", window.scrollX + _.left + (_.right - _.left) / 2 + "px").style("top", window.scrollY + _.top - 14 + document.body.scrollTop + "px"), u.html(u.html().replace(/<br\/>/g, "<br/>")), a.classed("hover", !0);
|
|
}).on("mouseout", function() {
|
|
u.transition().duration(500).style("opacity", 0), r2(this).classed("hover", !1);
|
|
});
|
|
};
|
|
_2.push(de);
|
|
const pe = function(e = "gen-1") {
|
|
H = {}, e2 = {}, Z1 = [], _2 = [de], K1 = [], C2 = {}, D2 = 0, G2 = [], P2 = !0, F2 = e, Ye();
|
|
}, Ee = (e) => {
|
|
F2 = e || "gen-2";
|
|
}, be = function() {
|
|
return "fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;";
|
|
}, ge = function(e, u, n) {
|
|
let r = e.trim(), a = n;
|
|
e === n && n.match(/\s/) && (r = void 0);
|
|
function m(f1) {
|
|
const W1 = { boolean: {}, number: {}, string: {} }, z1 = [];
|
|
let Q1;
|
|
return { nodeList: f1.filter(function(q) {
|
|
const a1 = typeof q;
|
|
return q.stmt && q.stmt === "dir" ? (Q1 = q.value, !1) : q.trim() === "" ? !1 : a1 in W1 ? W1[a1].hasOwnProperty(q) ? !1 : W1[a1][q] = !0 : z1.includes(q) ? !1 : z1.push(q);
|
|
}), dir: Q1 };
|
|
}
|
|
let _ = [];
|
|
const { nodeList: s1, dir: z } = m(_.concat.apply(_, u));
|
|
if (_ = s1, F2 === "gen-1")
|
|
for (let f1 = 0; f1 < _.length; f1++)
|
|
_[f1] = a2(_[f1]);
|
|
r = r || "subGraph" + D2, a = a || "", a = B2(a), D2 = D2 + 1;
|
|
const t1 = { id: r, nodes: _, title: a.trim(), classes: [], dir: z };
|
|
return Ne.info("Adding", t1.id, t1.nodes, t1.dir), t1.nodes = Te(t1, K1).nodes, K1.push(t1), C2[r] = t1, r;
|
|
}, qe = function(e) {
|
|
for (const [u, n] of K1.entries())
|
|
if (n.id === e)
|
|
return u;
|
|
return -1;
|
|
};
|
|
let i2 = -1;
|
|
const ke = [], De = function(e, u) {
|
|
const n = K1[u].nodes;
|
|
if (i2 = i2 + 1, i2 > 2e3)
|
|
return;
|
|
if (ke[i2] = u, K1[u].id === e)
|
|
return {
|
|
result: !0,
|
|
count: 0
|
|
};
|
|
let r = 0, a = 1;
|
|
for (; r < n.length; ) {
|
|
const m = qe(n[r]);
|
|
if (m >= 0) {
|
|
const _ = De(e, m);
|
|
if (_.result)
|
|
return {
|
|
result: !0,
|
|
count: a + _.count
|
|
};
|
|
a = a + _.count;
|
|
}
|
|
r = r + 1;
|
|
}
|
|
return {
|
|
result: !1,
|
|
count: a
|
|
};
|
|
}, Ce = function(e) {
|
|
return ke[e];
|
|
}, Fe = function() {
|
|
i2 = -1, K1.length > 0 && De("none", K1.length - 1);
|
|
}, _e = function() {
|
|
return K1;
|
|
}, Be = () => P2 ? (P2 = !1, !0) : !1, Ze = (e) => {
|
|
let u = e.trim(), n = "arrow_open";
|
|
switch (u[0]) {
|
|
case "<":
|
|
n = "arrow_point", u = u.slice(1);
|
|
break;
|
|
case "x":
|
|
n = "arrow_cross", u = u.slice(1);
|
|
break;
|
|
case "o":
|
|
n = "arrow_circle", u = u.slice(1);
|
|
break;
|
|
}
|
|
let r = "normal";
|
|
return u.includes("=") && (r = "thick"), u.includes(".") && (r = "dotted"), { type: n, stroke: r };
|
|
}, Je = (e, u) => {
|
|
const n = u.length;
|
|
let r = 0;
|
|
for (let a = 0; a < n; ++a)
|
|
u[a] === e && ++r;
|
|
return r;
|
|
}, $e = (e) => {
|
|
const u = e.trim();
|
|
let n = u.slice(0, -1), r = "arrow_open";
|
|
switch (u.slice(-1)) {
|
|
case "x":
|
|
r = "arrow_cross", u[0] === "x" && (r = "double_" + r, n = n.slice(1));
|
|
break;
|
|
case ">":
|
|
r = "arrow_point", u[0] === "<" && (r = "double_" + r, n = n.slice(1));
|
|
break;
|
|
case "o":
|
|
r = "arrow_circle", u[0] === "o" && (r = "double_" + r, n = n.slice(1));
|
|
break;
|
|
}
|
|
let a = "normal", m = n.length - 1;
|
|
n[0] === "=" && (a = "thick"), n[0] === "~" && (a = "invisible");
|
|
let _ = Je(".", n);
|
|
return _ && (a = "dotted", m = _), { type: r, stroke: a, length: m };
|
|
}, me = (e, u) => {
|
|
const n = $e(e);
|
|
let r;
|
|
if (u) {
|
|
if (r = Ze(u), r.stroke !== n.stroke)
|
|
return { type: "INVALID", stroke: "INVALID" };
|
|
if (r.type === "arrow_open")
|
|
r.type = n.type;
|
|
else {
|
|
if (r.type !== n.type)
|
|
return { type: "INVALID", stroke: "INVALID" };
|
|
r.type = "double_" + r.type;
|
|
}
|
|
return r.type === "double_arrow" && (r.type = "double_arrow_point"), r.length = n.length, r;
|
|
}
|
|
return n;
|
|
}, Se = (e, u) => {
|
|
let n = !1;
|
|
return e.forEach((r) => {
|
|
r.nodes.indexOf(u) >= 0 && (n = !0);
|
|
}), n;
|
|
}, Te = (e, u) => {
|
|
const n = [];
|
|
return e.nodes.forEach((r, a) => {
|
|
Se(u, r) || n.push(e.nodes[a]);
|
|
}), { nodes: n };
|
|
}, ye = {
|
|
firstGraph: Be
|
|
}, et = {
|
|
parseDirective: J2,
|
|
defaultConfig: () => Ie.flowchart,
|
|
setAccTitle: Ue,
|
|
getAccTitle: Me,
|
|
getAccDescription: Ge,
|
|
setAccDescription: je,
|
|
addVertex: $2,
|
|
lookUpDomId: a2,
|
|
addLink: te,
|
|
updateLinkInterpolate: se,
|
|
updateLink: ue,
|
|
addClass: ne,
|
|
setDirection: re,
|
|
setClass: m2,
|
|
setTooltip: Qe,
|
|
getTooltip: ae,
|
|
setClickEvent: ce,
|
|
setLink: ie,
|
|
bindFunctions: oe,
|
|
getDirection: le,
|
|
getVertices: he,
|
|
getEdges: fe,
|
|
getClasses: Ae,
|
|
clear: pe,
|
|
setGen: Ee,
|
|
defaultStyle: be,
|
|
addSubGraph: ge,
|
|
getDepthFirstPos: Ce,
|
|
indexNodes: Fe,
|
|
getSubGraphs: _e,
|
|
destructLink: me,
|
|
lex: ye,
|
|
exists: Se,
|
|
makeUniq: Te,
|
|
setDiagramTitle: Ke,
|
|
getDiagramTitle: We
|
|
}, ot = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
|
|
__proto__: null,
|
|
addClass: ne,
|
|
addLink: te,
|
|
addSingleLink: ee,
|
|
addSubGraph: ge,
|
|
addVertex: $2,
|
|
bindFunctions: oe,
|
|
clear: pe,
|
|
default: et,
|
|
defaultStyle: be,
|
|
destructLink: me,
|
|
firstGraph: Be,
|
|
getClasses: Ae,
|
|
getDepthFirstPos: Ce,
|
|
getDirection: le,
|
|
getEdges: fe,
|
|
getSubGraphs: _e,
|
|
getTooltip: ae,
|
|
getVertices: he,
|
|
indexNodes: Fe,
|
|
lex: ye,
|
|
lookUpDomId: a2,
|
|
parseDirective: J2,
|
|
setClass: m2,
|
|
setClickEvent: ce,
|
|
setDirection: re,
|
|
setGen: Ee,
|
|
setLink: ie,
|
|
updateLink: ue,
|
|
updateLinkInterpolate: se
|
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
function lt(e, u) {
|
|
return !!e.children(u).length;
|
|
}
|
|
function ht(e) {
|
|
return N2(e.v) + ":" + N2(e.w) + ":" + N2(e.name);
|
|
}
|
|
var tt = /:/g;
|
|
function N2(e) {
|
|
return e ? String(e).replace(tt, "\\:") : "";
|
|
}
|
|
function st(e, u) {
|
|
u && e.attr("style", u);
|
|
}
|
|
function ft(e, u, n) {
|
|
u && e.attr("class", u).attr("class", n + " " + e.attr("class"));
|
|
}
|
|
function At(e, u) {
|
|
var n = u.graph();
|
|
if (He(n)) {
|
|
var r = n.transition;
|
|
if (Pe(r))
|
|
return r(e);
|
|
}
|
|
return e;
|
|
}
|
|
function dt(e, u) {
|
|
var n = e.append("foreignObject").attr("width", "100000"), r = n.append("xhtml:div");
|
|
r.attr("xmlns", "http://www.w3.org/1999/xhtml");
|
|
var a = u.label;
|
|
switch (typeof a) {
|
|
case "function":
|
|
r.insert(a);
|
|
break;
|
|
case "object":
|
|
r.insert(function() {
|
|
return a;
|
|
});
|
|
break;
|
|
default:
|
|
r.html(a);
|
|
}
|
|
st(r, u.labelStyle), r.style("display", "inline-block"), r.style("white-space", "nowrap");
|
|
var m = r.node().getBoundingClientRect();
|
|
return n.attr("width", m.width).attr("height", m.height), n;
|
|
}
|
|
export {
|
|
st as a,
|
|
dt as b,
|
|
At as c,
|
|
ft as d,
|
|
ht as e,
|
|
et as f,
|
|
ot as g,
|
|
lt as i,
|
|
ct as p
|
|
};
|
|
//# sourceMappingURL=add-html-label-ce7f9292.js.map
|