webapp.stateDiagram-5dee940d.fd4356c7.js.map Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of langgraph4j-studio-jetty Show documentation
Show all versions of langgraph4j-studio-jetty Show documentation
an **embed playground webapp** to run a Langgraph4j workflow in visual way
The newest version!
{"mappings":"A,S,E,C,C,C,C,C,C,C,E,O,c,C,E,E,C,I,E,I,E,W,C,E,a,C,C,E,C,I,E,A,W,iB,C,A,C,E,E,Q,A,E,Q,S,C,C,C,E,E,E,O,C,I,I,G,E,E,O,C,I,I,G,E,E,O,C,I,I,G,E,E,O,C,I,I,G,E,E,O,C,I,I,G,E,E,O,C,I,I,G,E,E,O,C,I,I,G,E,E,O,C,I,I,G,I,E,E,SCCI,EAAS,WACX,IAAI,EAAI,SAAS,CAAC,CAAE,CAAC,CAAE,CAAE,CAAE,CAAC,EAC1B,IAAK,EAAK,GAAM,CAAC,EAAG,EAAI,EAAE,MAAM,CAAE,IAAK,CAAE,CAAC,CAAC,CAAC,EAAE,CAAC,CAAG,GAElD,OAAO,CACT,EAAG,EAAM,CAAC,EAAG,EAAE,CAAE,EAAM,CAAC,EAAG,EAAE,CAAE,EAAM,CAAC,EAAG,EAAE,CAAE,EAAM,CAAC,EAAG,EAAE,CAAE,EAAM,CAAC,EAAG,EAAE,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM,CAAC,EAAG,GAAG,CAAE,EAAM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AE,EAAQ,WAAW,EAAI,EAAQ,UAAU,CAAC;;;;QAI9C,EAAE,EAAQ,SAAS,CAAC;;;;QAIpB,EAAE,EAAQ,wBAAwB,CAAC;UACjC,EAAE,EAAQ,WAAW,EAAI,EAAQ,UAAU,CAAC;;;;;SAK7C,EAAE,EAAQ,eAAe,CAAC;;;;;;;;UAQzB,EAAE,EAAQ,WAAW,EAAI,EAAQ,UAAU,CAAC;;;;;;;;QAQ9C,EAAE,EAAQ,mBAAmB,EAAI,EAAQ,UAAU,CAAC;;;QAGpD,EAAE,EAAQ,aAAa,CAAG,EAAQ,aAAa,CAAG,UAAU;;;;;;;;;;;;;;QAc5D,EAAE,EAAQ,aAAa,CAAG,EAAQ,aAAa,CAAG,UAAU;;;;;;;;QAQ5D,EAAE,EAAQ,YAAY,CAAC;UACrB,EAAE,EAAQ,eAAe,CAAC;;;;;;QAM5B,EAAE,EAAQ,YAAY,CAAC;UACrB,EAAE,EAAQ,eAAe,CAAC;;;;;;;QAO5B,EAAE,EAAQ,aAAa,CAAC;;;;SAIvB,EAAE,EAAQ,aAAa,CAAC;;;iBAGhB,EAAE,EAAQ,aAAa,CAAC;;;;QAIjC,EAAE,EAAQ,SAAS,CAAC;UAClB,EAAE,EAAQ,SAAS,CAAC;;;;;;;QAOtB,EAAE,EAAQ,SAAS,CAAC;;AAE5B,CAAC,A","sources":["","node_modules/mermaid/dist/styles-0784dbeb.js"],"sourcesContent":["\nfunction $parcel$export(e, n, v, s) {\n Object.defineProperty(e, n, {get: v, set: s, enumerable: true, configurable: true});\n}\n\n var $parcel$global = globalThis;\n var parcelRequire = $parcel$global[\"parcelRequire0031\"];\nvar parcelRegister = parcelRequire.register;\nparcelRegister(\"3ltxT\", function(module, exports) {\n\n$parcel$export(module.exports, \"p\", () => $26fa4064178fdeac$export$ffb5f4729a158638);\n$parcel$export(module.exports, \"c\", () => $26fa4064178fdeac$export$db3b6bfb95261072);\n$parcel$export(module.exports, \"b\", () => $26fa4064178fdeac$export$8b22cf2602fb60ce);\n$parcel$export(module.exports, \"S\", () => $26fa4064178fdeac$export$25ce5a424b770e84);\n$parcel$export(module.exports, \"D\", () => $26fa4064178fdeac$export$96f57966bedc81b4);\n$parcel$export(module.exports, \"a\", () => $26fa4064178fdeac$export$407448d2b89b1813);\n$parcel$export(module.exports, \"d\", () => $26fa4064178fdeac$export$4368d992c4eafac0);\n$parcel$export(module.exports, \"s\", () => $26fa4064178fdeac$export$2408f22a0fab9ae5);\n\nvar $4jcZX = parcelRequire(\"4jcZX\");\nvar $26fa4064178fdeac$var$parser = function() {\n var o = function(k, v, o2, l) {\n for(o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v);\n return o2;\n }, $V0 = [\n 1,\n 2\n ], $V1 = [\n 1,\n 3\n ], $V2 = [\n 1,\n 4\n ], $V3 = [\n 2,\n 4\n ], $V4 = [\n 1,\n 9\n ], $V5 = [\n 1,\n 11\n ], $V6 = [\n 1,\n 15\n ], $V7 = [\n 1,\n 16\n ], $V8 = [\n 1,\n 17\n ], $V9 = [\n 1,\n 18\n ], $Va = [\n 1,\n 30\n ], $Vb = [\n 1,\n 19\n ], $Vc = [\n 1,\n 20\n ], $Vd = [\n 1,\n 21\n ], $Ve = [\n 1,\n 22\n ], $Vf = [\n 1,\n 23\n ], $Vg = [\n 1,\n 25\n ], $Vh = [\n 1,\n 26\n ], $Vi = [\n 1,\n 27\n ], $Vj = [\n 1,\n 28\n ], $Vk = [\n 1,\n 29\n ], $Vl = [\n 1,\n 32\n ], $Vm = [\n 1,\n 33\n ], $Vn = [\n 1,\n 34\n ], $Vo = [\n 1,\n 35\n ], $Vp = [\n 1,\n 31\n ], $Vq = [\n 1,\n 4,\n 5,\n 15,\n 16,\n 18,\n 20,\n 21,\n 23,\n 24,\n 25,\n 26,\n 27,\n 28,\n 32,\n 34,\n 36,\n 37,\n 41,\n 44,\n 45,\n 46,\n 47,\n 50\n ], $Vr = [\n 1,\n 4,\n 5,\n 13,\n 14,\n 15,\n 16,\n 18,\n 20,\n 21,\n 23,\n 24,\n 25,\n 26,\n 27,\n 28,\n 32,\n 34,\n 36,\n 37,\n 41,\n 44,\n 45,\n 46,\n 47,\n 50\n ], $Vs = [\n 4,\n 5,\n 15,\n 16,\n 18,\n 20,\n 21,\n 23,\n 24,\n 25,\n 26,\n 27,\n 28,\n 32,\n 34,\n 36,\n 37,\n 41,\n 44,\n 45,\n 46,\n 47,\n 50\n ];\n var parser2 = {\n trace: function trace() {},\n yy: {},\n symbols_: {\n \"error\": 2,\n \"start\": 3,\n \"SPACE\": 4,\n \"NL\": 5,\n \"SD\": 6,\n \"document\": 7,\n \"line\": 8,\n \"statement\": 9,\n \"classDefStatement\": 10,\n \"cssClassStatement\": 11,\n \"idStatement\": 12,\n \"DESCR\": 13,\n \"-->\": 14,\n \"HIDE_EMPTY\": 15,\n \"scale\": 16,\n \"WIDTH\": 17,\n \"COMPOSIT_STATE\": 18,\n \"STRUCT_START\": 19,\n \"STRUCT_STOP\": 20,\n \"STATE_DESCR\": 21,\n \"AS\": 22,\n \"ID\": 23,\n \"FORK\": 24,\n \"JOIN\": 25,\n \"CHOICE\": 26,\n \"CONCURRENT\": 27,\n \"note\": 28,\n \"notePosition\": 29,\n \"NOTE_TEXT\": 30,\n \"direction\": 31,\n \"acc_title\": 32,\n \"acc_title_value\": 33,\n \"acc_descr\": 34,\n \"acc_descr_value\": 35,\n \"acc_descr_multiline_value\": 36,\n \"classDef\": 37,\n \"CLASSDEF_ID\": 38,\n \"CLASSDEF_STYLEOPTS\": 39,\n \"DEFAULT\": 40,\n \"class\": 41,\n \"CLASSENTITY_IDS\": 42,\n \"STYLECLASS\": 43,\n \"direction_tb\": 44,\n \"direction_bt\": 45,\n \"direction_rl\": 46,\n \"direction_lr\": 47,\n \"eol\": 48,\n \";\": 49,\n \"EDGE_STATE\": 50,\n \"STYLE_SEPARATOR\": 51,\n \"left_of\": 52,\n \"right_of\": 53,\n \"$accept\": 0,\n \"$end\": 1\n },\n terminals_: {\n 2: \"error\",\n 4: \"SPACE\",\n 5: \"NL\",\n 6: \"SD\",\n 13: \"DESCR\",\n 14: \"-->\",\n 15: \"HIDE_EMPTY\",\n 16: \"scale\",\n 17: \"WIDTH\",\n 18: \"COMPOSIT_STATE\",\n 19: \"STRUCT_START\",\n 20: \"STRUCT_STOP\",\n 21: \"STATE_DESCR\",\n 22: \"AS\",\n 23: \"ID\",\n 24: \"FORK\",\n 25: \"JOIN\",\n 26: \"CHOICE\",\n 27: \"CONCURRENT\",\n 28: \"note\",\n 30: \"NOTE_TEXT\",\n 32: \"acc_title\",\n 33: \"acc_title_value\",\n 34: \"acc_descr\",\n 35: \"acc_descr_value\",\n 36: \"acc_descr_multiline_value\",\n 37: \"classDef\",\n 38: \"CLASSDEF_ID\",\n 39: \"CLASSDEF_STYLEOPTS\",\n 40: \"DEFAULT\",\n 41: \"class\",\n 42: \"CLASSENTITY_IDS\",\n 43: \"STYLECLASS\",\n 44: \"direction_tb\",\n 45: \"direction_bt\",\n 46: \"direction_rl\",\n 47: \"direction_lr\",\n 49: \";\",\n 50: \"EDGE_STATE\",\n 51: \"STYLE_SEPARATOR\",\n 52: \"left_of\",\n 53: \"right_of\"\n },\n productions_: [\n 0,\n [\n 3,\n 2\n ],\n [\n 3,\n 2\n ],\n [\n 3,\n 2\n ],\n [\n 7,\n 0\n ],\n [\n 7,\n 2\n ],\n [\n 8,\n 2\n ],\n [\n 8,\n 1\n ],\n [\n 8,\n 1\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 2\n ],\n [\n 9,\n 3\n ],\n [\n 9,\n 4\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 2\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 4\n ],\n [\n 9,\n 3\n ],\n [\n 9,\n 6\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 4\n ],\n [\n 9,\n 4\n ],\n [\n 9,\n 1\n ],\n [\n 9,\n 2\n ],\n [\n 9,\n 2\n ],\n [\n 9,\n 1\n ],\n [\n 10,\n 3\n ],\n [\n 10,\n 3\n ],\n [\n 11,\n 3\n ],\n [\n 31,\n 1\n ],\n [\n 31,\n 1\n ],\n [\n 31,\n 1\n ],\n [\n 31,\n 1\n ],\n [\n 48,\n 1\n ],\n [\n 48,\n 1\n ],\n [\n 12,\n 1\n ],\n [\n 12,\n 1\n ],\n [\n 12,\n 3\n ],\n [\n 12,\n 3\n ],\n [\n 29,\n 1\n ],\n [\n 29,\n 1\n ]\n ],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {\n var $0 = $$.length - 1;\n switch(yystate){\n case 3:\n yy.setRootDoc($$[$0]);\n return $$[$0];\n case 4:\n this.$ = [];\n break;\n case 5:\n if ($$[$0] != \"nl\") {\n $$[$0 - 1].push($$[$0]);\n this.$ = $$[$0 - 1];\n }\n break;\n case 6:\n case 7:\n this.$ = $$[$0];\n break;\n case 8:\n this.$ = \"nl\";\n break;\n case 11:\n this.$ = $$[$0];\n break;\n case 12:\n const stateStmt = $$[$0 - 1];\n stateStmt.description = yy.trimColon($$[$0]);\n this.$ = stateStmt;\n break;\n case 13:\n this.$ = {\n stmt: \"relation\",\n state1: $$[$0 - 2],\n state2: $$[$0]\n };\n break;\n case 14:\n const relDescription = yy.trimColon($$[$0]);\n this.$ = {\n stmt: \"relation\",\n state1: $$[$0 - 3],\n state2: $$[$0 - 1],\n description: relDescription\n };\n break;\n case 18:\n this.$ = {\n stmt: \"state\",\n id: $$[$0 - 3],\n type: \"default\",\n description: \"\",\n doc: $$[$0 - 1]\n };\n break;\n case 19:\n var id = $$[$0];\n var description = $$[$0 - 2].trim();\n if ($$[$0].match(\":\")) {\n var parts = $$[$0].split(\":\");\n id = parts[0];\n description = [\n description,\n parts[1]\n ];\n }\n this.$ = {\n stmt: \"state\",\n id: id,\n type: \"default\",\n description: description\n };\n break;\n case 20:\n this.$ = {\n stmt: \"state\",\n id: $$[$0 - 3],\n type: \"default\",\n description: $$[$0 - 5],\n doc: $$[$0 - 1]\n };\n break;\n case 21:\n this.$ = {\n stmt: \"state\",\n id: $$[$0],\n type: \"fork\"\n };\n break;\n case 22:\n this.$ = {\n stmt: \"state\",\n id: $$[$0],\n type: \"join\"\n };\n break;\n case 23:\n this.$ = {\n stmt: \"state\",\n id: $$[$0],\n type: \"choice\"\n };\n break;\n case 24:\n this.$ = {\n stmt: \"state\",\n id: yy.getDividerId(),\n type: \"divider\"\n };\n break;\n case 25:\n this.$ = {\n stmt: \"state\",\n id: $$[$0 - 1].trim(),\n note: {\n position: $$[$0 - 2].trim(),\n text: $$[$0].trim()\n }\n };\n break;\n case 28:\n this.$ = $$[$0].trim();\n yy.setAccTitle(this.$);\n break;\n case 29:\n case 30:\n this.$ = $$[$0].trim();\n yy.setAccDescription(this.$);\n break;\n case 31:\n case 32:\n this.$ = {\n stmt: \"classDef\",\n id: $$[$0 - 1].trim(),\n classes: $$[$0].trim()\n };\n break;\n case 33:\n this.$ = {\n stmt: \"applyClass\",\n id: $$[$0 - 1].trim(),\n styleClass: $$[$0].trim()\n };\n break;\n case 34:\n yy.setDirection(\"TB\");\n this.$ = {\n stmt: \"dir\",\n value: \"TB\"\n };\n break;\n case 35:\n yy.setDirection(\"BT\");\n this.$ = {\n stmt: \"dir\",\n value: \"BT\"\n };\n break;\n case 36:\n yy.setDirection(\"RL\");\n this.$ = {\n stmt: \"dir\",\n value: \"RL\"\n };\n break;\n case 37:\n yy.setDirection(\"LR\");\n this.$ = {\n stmt: \"dir\",\n value: \"LR\"\n };\n break;\n case 40:\n case 41:\n this.$ = {\n stmt: \"state\",\n id: $$[$0].trim(),\n type: \"default\",\n description: \"\"\n };\n break;\n case 42:\n this.$ = {\n stmt: \"state\",\n id: $$[$0 - 2].trim(),\n classes: [\n $$[$0].trim()\n ],\n type: \"default\",\n description: \"\"\n };\n break;\n case 43:\n this.$ = {\n stmt: \"state\",\n id: $$[$0 - 2].trim(),\n classes: [\n $$[$0].trim()\n ],\n type: \"default\",\n description: \"\"\n };\n break;\n }\n },\n table: [\n {\n 3: 1,\n 4: $V0,\n 5: $V1,\n 6: $V2\n },\n {\n 1: [\n 3\n ]\n },\n {\n 3: 5,\n 4: $V0,\n 5: $V1,\n 6: $V2\n },\n {\n 3: 6,\n 4: $V0,\n 5: $V1,\n 6: $V2\n },\n o([\n 1,\n 4,\n 5,\n 15,\n 16,\n 18,\n 21,\n 23,\n 24,\n 25,\n 26,\n 27,\n 28,\n 32,\n 34,\n 36,\n 37,\n 41,\n 44,\n 45,\n 46,\n 47,\n 50\n ], $V3, {\n 7: 7\n }),\n {\n 1: [\n 2,\n 1\n ]\n },\n {\n 1: [\n 2,\n 2\n ]\n },\n {\n 1: [\n 2,\n 3\n ],\n 4: $V4,\n 5: $V5,\n 8: 8,\n 9: 10,\n 10: 12,\n 11: 13,\n 12: 14,\n 15: $V6,\n 16: $V7,\n 18: $V8,\n 21: $V9,\n 23: $Va,\n 24: $Vb,\n 25: $Vc,\n 26: $Vd,\n 27: $Ve,\n 28: $Vf,\n 31: 24,\n 32: $Vg,\n 34: $Vh,\n 36: $Vi,\n 37: $Vj,\n 41: $Vk,\n 44: $Vl,\n 45: $Vm,\n 46: $Vn,\n 47: $Vo,\n 50: $Vp\n },\n o($Vq, [\n 2,\n 5\n ]),\n {\n 9: 36,\n 10: 12,\n 11: 13,\n 12: 14,\n 15: $V6,\n 16: $V7,\n 18: $V8,\n 21: $V9,\n 23: $Va,\n 24: $Vb,\n 25: $Vc,\n 26: $Vd,\n 27: $Ve,\n 28: $Vf,\n 31: 24,\n 32: $Vg,\n 34: $Vh,\n 36: $Vi,\n 37: $Vj,\n 41: $Vk,\n 44: $Vl,\n 45: $Vm,\n 46: $Vn,\n 47: $Vo,\n 50: $Vp\n },\n o($Vq, [\n 2,\n 7\n ]),\n o($Vq, [\n 2,\n 8\n ]),\n o($Vq, [\n 2,\n 9\n ]),\n o($Vq, [\n 2,\n 10\n ]),\n o($Vq, [\n 2,\n 11\n ], {\n 13: [\n 1,\n 37\n ],\n 14: [\n 1,\n 38\n ]\n }),\n o($Vq, [\n 2,\n 15\n ]),\n {\n 17: [\n 1,\n 39\n ]\n },\n o($Vq, [\n 2,\n 17\n ], {\n 19: [\n 1,\n 40\n ]\n }),\n {\n 22: [\n 1,\n 41\n ]\n },\n o($Vq, [\n 2,\n 21\n ]),\n o($Vq, [\n 2,\n 22\n ]),\n o($Vq, [\n 2,\n 23\n ]),\n o($Vq, [\n 2,\n 24\n ]),\n {\n 29: 42,\n 30: [\n 1,\n 43\n ],\n 52: [\n 1,\n 44\n ],\n 53: [\n 1,\n 45\n ]\n },\n o($Vq, [\n 2,\n 27\n ]),\n {\n 33: [\n 1,\n 46\n ]\n },\n {\n 35: [\n 1,\n 47\n ]\n },\n o($Vq, [\n 2,\n 30\n ]),\n {\n 38: [\n 1,\n 48\n ],\n 40: [\n 1,\n 49\n ]\n },\n {\n 42: [\n 1,\n 50\n ]\n },\n o($Vr, [\n 2,\n 40\n ], {\n 51: [\n 1,\n 51\n ]\n }),\n o($Vr, [\n 2,\n 41\n ], {\n 51: [\n 1,\n 52\n ]\n }),\n o($Vq, [\n 2,\n 34\n ]),\n o($Vq, [\n 2,\n 35\n ]),\n o($Vq, [\n 2,\n 36\n ]),\n o($Vq, [\n 2,\n 37\n ]),\n o($Vq, [\n 2,\n 6\n ]),\n o($Vq, [\n 2,\n 12\n ]),\n {\n 12: 53,\n 23: $Va,\n 50: $Vp\n },\n o($Vq, [\n 2,\n 16\n ]),\n o($Vs, $V3, {\n 7: 54\n }),\n {\n 23: [\n 1,\n 55\n ]\n },\n {\n 23: [\n 1,\n 56\n ]\n },\n {\n 22: [\n 1,\n 57\n ]\n },\n {\n 23: [\n 2,\n 44\n ]\n },\n {\n 23: [\n 2,\n 45\n ]\n },\n o($Vq, [\n 2,\n 28\n ]),\n o($Vq, [\n 2,\n 29\n ]),\n {\n 39: [\n 1,\n 58\n ]\n },\n {\n 39: [\n 1,\n 59\n ]\n },\n {\n 43: [\n 1,\n 60\n ]\n },\n {\n 23: [\n 1,\n 61\n ]\n },\n {\n 23: [\n 1,\n 62\n ]\n },\n o($Vq, [\n 2,\n 13\n ], {\n 13: [\n 1,\n 63\n ]\n }),\n {\n 4: $V4,\n 5: $V5,\n 8: 8,\n 9: 10,\n 10: 12,\n 11: 13,\n 12: 14,\n 15: $V6,\n 16: $V7,\n 18: $V8,\n 20: [\n 1,\n 64\n ],\n 21: $V9,\n 23: $Va,\n 24: $Vb,\n 25: $Vc,\n 26: $Vd,\n 27: $Ve,\n 28: $Vf,\n 31: 24,\n 32: $Vg,\n 34: $Vh,\n 36: $Vi,\n 37: $Vj,\n 41: $Vk,\n 44: $Vl,\n 45: $Vm,\n 46: $Vn,\n 47: $Vo,\n 50: $Vp\n },\n o($Vq, [\n 2,\n 19\n ], {\n 19: [\n 1,\n 65\n ]\n }),\n {\n 30: [\n 1,\n 66\n ]\n },\n {\n 23: [\n 1,\n 67\n ]\n },\n o($Vq, [\n 2,\n 31\n ]),\n o($Vq, [\n 2,\n 32\n ]),\n o($Vq, [\n 2,\n 33\n ]),\n o($Vr, [\n 2,\n 42\n ]),\n o($Vr, [\n 2,\n 43\n ]),\n o($Vq, [\n 2,\n 14\n ]),\n o($Vq, [\n 2,\n 18\n ]),\n o($Vs, $V3, {\n 7: 68\n }),\n o($Vq, [\n 2,\n 25\n ]),\n o($Vq, [\n 2,\n 26\n ]),\n {\n 4: $V4,\n 5: $V5,\n 8: 8,\n 9: 10,\n 10: 12,\n 11: 13,\n 12: 14,\n 15: $V6,\n 16: $V7,\n 18: $V8,\n 20: [\n 1,\n 69\n ],\n 21: $V9,\n 23: $Va,\n 24: $Vb,\n 25: $Vc,\n 26: $Vd,\n 27: $Ve,\n 28: $Vf,\n 31: 24,\n 32: $Vg,\n 34: $Vh,\n 36: $Vi,\n 37: $Vj,\n 41: $Vk,\n 44: $Vl,\n 45: $Vm,\n 46: $Vn,\n 47: $Vo,\n 50: $Vp\n },\n o($Vq, [\n 2,\n 20\n ])\n ],\n defaultActions: {\n 5: [\n 2,\n 1\n ],\n 6: [\n 2,\n 2\n ],\n 44: [\n 2,\n 44\n ],\n 45: [\n 2,\n 45\n ]\n },\n parseError: function parseError(str, hash) {\n if (hash.recoverable) this.trace(str);\n else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n },\n parse: function parse(input) {\n var self = this, stack = [\n 0\n ], tstack = [], vstack = [\n null\n ], lstack = [], table = this.table, yytext = \"\", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer2 = Object.create(this.lexer);\n var sharedState = {\n yy: {}\n };\n for(var k in this.yy)if (Object.prototype.hasOwnProperty.call(this.yy, k)) sharedState.yy[k] = this.yy[k];\n lexer2.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer2;\n sharedState.yy.parser = this;\n if (typeof lexer2.yylloc == \"undefined\") lexer2.yylloc = {};\n var yyloc = lexer2.yylloc;\n lstack.push(yyloc);\n var ranges = lexer2.options && lexer2.options.ranges;\n if (typeof sharedState.yy.parseError === \"function\") this.parseError = sharedState.yy.parseError;\n else this.parseError = Object.getPrototypeOf(this).parseError;\n function lex() {\n var token;\n token = tstack.pop() || lexer2.lex() || EOF;\n if (typeof token !== \"number\") {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, state, action, r, yyval = {}, p, len, newState, expected;\n while(true){\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) action = this.defaultActions[state];\n else {\n if (symbol === null || typeof symbol == \"undefined\") symbol = lex();\n action = table[state] && table[state][symbol];\n }\n if (typeof action === \"undefined\" || !action.length || !action[0]) {\n var errStr = \"\";\n expected = [];\n for(p in table[state])if (this.terminals_[p] && p > TERROR) expected.push(\"'\" + this.terminals_[p] + \"'\");\n if (lexer2.showPosition) errStr = \"Parse error on line \" + (yylineno + 1) + \":\\n\" + lexer2.showPosition() + \"\\nExpecting \" + expected.join(\", \") + \", got '\" + (this.terminals_[symbol] || symbol) + \"'\";\n else errStr = \"Parse error on line \" + (yylineno + 1) + \": Unexpected \" + (symbol == EOF ? \"end of input\" : \"'\" + (this.terminals_[symbol] || symbol) + \"'\");\n this.parseError(errStr, {\n text: lexer2.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer2.yylineno,\n loc: yyloc,\n expected: expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) throw new Error(\"Parse Error: multiple actions possible at state: \" + state + \", token: \" + symbol);\n switch(action[0]){\n case 1:\n stack.push(symbol);\n vstack.push(lexer2.yytext);\n lstack.push(lexer2.yylloc);\n stack.push(action[1]);\n symbol = null;\n yyleng = lexer2.yyleng;\n yytext = lexer2.yytext;\n yylineno = lexer2.yylineno;\n yyloc = lexer2.yylloc;\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== \"undefined\") return r;\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n }\n };\n var lexer = function() {\n var lexer2 = {\n EOF: 1,\n parseError: function parseError(str, hash) {\n if (this.yy.parser) this.yy.parser.parseError(str, hash);\n else throw new Error(str);\n },\n // resets the lexer, sets new input\n setInput: function(input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = \"\";\n this.conditionStack = [\n \"INITIAL\"\n ];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) this.yylloc.range = [\n 0,\n 0\n ];\n this.offset = 0;\n return this;\n },\n // consumes and returns one char from the input\n input: function() {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else this.yylloc.last_column++;\n if (this.options.ranges) this.yylloc.range[1]++;\n this._input = this._input.slice(1);\n return ch;\n },\n // unshifts one char (or a string) into the input\n unput: function(ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n if (lines.length - 1) this.yylineno -= lines.length - 1;\n var r = this.yylloc.range;\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len\n };\n if (this.options.ranges) this.yylloc.range = [\n r[0],\n r[0] + this.yyleng - len\n ];\n this.yyleng = this.yytext.length;\n return this;\n },\n // When called from action, caches matched text and appends it on next action\n more: function() {\n this._more = true;\n return this;\n },\n // 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.\n reject: function() {\n if (this.options.backtrack_lexer) this._backtrack = true;\n 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(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n return this;\n },\n // retain first n characters of the match\n less: function(n) {\n this.unput(this.match.slice(n));\n },\n // displays already matched input, i.e. for error messages\n pastInput: function() {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? \"...\" : \"\") + past.substr(-20).replace(/\\n/g, \"\");\n },\n // displays upcoming input, i.e. for error messages\n upcomingInput: function() {\n var next = this.match;\n if (next.length < 20) next += this._input.substr(0, 20 - next.length);\n return (next.substr(0, 20) + (next.length > 20 ? \"...\" : \"\")).replace(/\\n/g, \"\");\n },\n // displays the character position where the lexing error occurred, i.e. for error messages\n showPosition: function() {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n // test the lexed token: return FALSE when not a match, otherwise return token\n test_match: function(match, indexed_rule) {\n var token, lines, backup;\n if (this.options.backtrack_lexer) {\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) backup.yylloc.range = this.yylloc.range.slice(0);\n }\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) this.yylineno += lines.length;\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length : this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) this.yylloc.range = [\n this.offset,\n this.offset += this.yyleng\n ];\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) this.done = false;\n if (token) return token;\n else if (this._backtrack) {\n for(var k in backup)this[k] = backup[k];\n return false;\n }\n return false;\n },\n // return next match in input\n next: function() {\n if (this.done) return this.EOF;\n if (!this._input) this.done = true;\n var token, match, tempMatch, index;\n if (!this._more) {\n this.yytext = \"\";\n this.match = \"\";\n }\n var rules = this._currentRules();\n for(var i = 0; i < rules.length; i++){\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) return token;\n else if (this._backtrack) {\n match = false;\n continue;\n } else return false;\n } else if (!this.options.flex) break;\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) return token;\n return false;\n }\n if (this._input === \"\") return this.EOF;\n else return this.parseError(\"Lexical error on line \" + (this.yylineno + 1) + \". Unrecognized text.\\n\" + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n },\n // return next match that has a token\n lex: function lex() {\n var r = this.next();\n if (r) return r;\n else return this.lex();\n },\n // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\n begin: function begin(condition) {\n this.conditionStack.push(condition);\n },\n // pop the previously active lexer condition state off the condition stack\n popState: function popState() {\n var n = this.conditionStack.length - 1;\n if (n > 0) return this.conditionStack.pop();\n else return this.conditionStack[0];\n },\n // produce the lexer rule set which is active for the currently active lexer condition state\n _currentRules: function _currentRules() {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n else return this.conditions[\"INITIAL\"].rules;\n },\n // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\n topState: function topState(n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) return this.conditionStack[n];\n else return \"INITIAL\";\n },\n // alias for begin(condition)\n pushState: function pushState(condition) {\n this.begin(condition);\n },\n // return the number of states currently on the stack\n stateStackSize: function stateStackSize() {\n return this.conditionStack.length;\n },\n options: {\n \"case-insensitive\": true\n },\n performAction: function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {\n switch($avoiding_name_collisions){\n case 0:\n return 40;\n case 1:\n return 44;\n case 2:\n return 45;\n case 3:\n return 46;\n case 4:\n return 47;\n case 5:\n break;\n case 6:\n break;\n case 7:\n return 5;\n case 8:\n break;\n case 9:\n break;\n case 10:\n break;\n case 11:\n break;\n case 12:\n this.pushState(\"SCALE\");\n return 16;\n case 13:\n return 17;\n case 14:\n this.popState();\n break;\n case 15:\n this.begin(\"acc_title\");\n return 32;\n case 16:\n this.popState();\n return \"acc_title_value\";\n case 17:\n this.begin(\"acc_descr\");\n return 34;\n case 18:\n this.popState();\n return \"acc_descr_value\";\n case 19:\n this.begin(\"acc_descr_multiline\");\n break;\n case 20:\n this.popState();\n break;\n case 21:\n return \"acc_descr_multiline_value\";\n case 22:\n this.pushState(\"CLASSDEF\");\n return 37;\n case 23:\n this.popState();\n this.pushState(\"CLASSDEFID\");\n return \"DEFAULT_CLASSDEF_ID\";\n case 24:\n this.popState();\n this.pushState(\"CLASSDEFID\");\n return 38;\n case 25:\n this.popState();\n return 39;\n case 26:\n this.pushState(\"CLASS\");\n return 41;\n case 27:\n this.popState();\n this.pushState(\"CLASS_STYLE\");\n return 42;\n case 28:\n this.popState();\n return 43;\n case 29:\n this.pushState(\"SCALE\");\n return 16;\n case 30:\n return 17;\n case 31:\n this.popState();\n break;\n case 32:\n this.pushState(\"STATE\");\n break;\n case 33:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 24;\n case 34:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 25;\n case 35:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -10).trim();\n return 26;\n case 36:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 24;\n case 37:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 25;\n case 38:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -10).trim();\n return 26;\n case 39:\n return 44;\n case 40:\n return 45;\n case 41:\n return 46;\n case 42:\n return 47;\n case 43:\n this.pushState(\"STATE_STRING\");\n break;\n case 44:\n this.pushState(\"STATE_ID\");\n return \"AS\";\n case 45:\n this.popState();\n return \"ID\";\n case 46:\n this.popState();\n break;\n case 47:\n return \"STATE_DESCR\";\n case 48:\n return 18;\n case 49:\n this.popState();\n break;\n case 50:\n this.popState();\n this.pushState(\"struct\");\n return 19;\n case 51:\n break;\n case 52:\n this.popState();\n return 20;\n case 53:\n break;\n case 54:\n this.begin(\"NOTE\");\n return 28;\n case 55:\n this.popState();\n this.pushState(\"NOTE_ID\");\n return 52;\n case 56:\n this.popState();\n this.pushState(\"NOTE_ID\");\n return 53;\n case 57:\n this.popState();\n this.pushState(\"FLOATING_NOTE\");\n break;\n case 58:\n this.popState();\n this.pushState(\"FLOATING_NOTE_ID\");\n return \"AS\";\n case 59:\n break;\n case 60:\n return \"NOTE_TEXT\";\n case 61:\n this.popState();\n return \"ID\";\n case 62:\n this.popState();\n this.pushState(\"NOTE_TEXT\");\n return 23;\n case 63:\n this.popState();\n yy_.yytext = yy_.yytext.substr(2).trim();\n return 30;\n case 64:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 30;\n case 65:\n return 6;\n case 66:\n return 6;\n case 67:\n return 15;\n case 68:\n return 50;\n case 69:\n return 23;\n case 70:\n yy_.yytext = yy_.yytext.trim();\n return 13;\n case 71:\n return 14;\n case 72:\n return 27;\n case 73:\n return 51;\n case 74:\n return 5;\n case 75:\n return \"INVALID\";\n }\n },\n rules: [\n /^(?:default\\b)/i,\n /^(?:.*direction\\s+TB[^\\n]*)/i,\n /^(?:.*direction\\s+BT[^\\n]*)/i,\n /^(?:.*direction\\s+RL[^\\n]*)/i,\n /^(?:.*direction\\s+LR[^\\n]*)/i,\n /^(?:%%(?!\\{)[^\\n]*)/i,\n /^(?:[^\\}]%%[^\\n]*)/i,\n /^(?:[\\n]+)/i,\n /^(?:[\\s]+)/i,\n /^(?:((?!\\n)\\s)+)/i,\n /^(?:#[^\\n]*)/i,\n /^(?:%[^\\n]*)/i,\n /^(?:scale\\s+)/i,\n /^(?:\\d+)/i,\n /^(?:\\s+width\\b)/i,\n /^(?:accTitle\\s*:\\s*)/i,\n /^(?:(?!\\n||)*[^\\n]*)/i,\n /^(?:accDescr\\s*:\\s*)/i,\n /^(?:(?!\\n||)*[^\\n]*)/i,\n /^(?:accDescr\\s*\\{\\s*)/i,\n /^(?:[\\}])/i,\n /^(?:[^\\}]*)/i,\n /^(?:classDef\\s+)/i,\n /^(?:DEFAULT\\s+)/i,\n /^(?:\\w+\\s+)/i,\n /^(?:[^\\n]*)/i,\n /^(?:class\\s+)/i,\n /^(?:(\\w+)+((,\\s*\\w+)*))/i,\n /^(?:[^\\n]*)/i,\n /^(?:scale\\s+)/i,\n /^(?:\\d+)/i,\n /^(?:\\s+width\\b)/i,\n /^(?:state\\s+)/i,\n /^(?:.*<>)/i,\n /^(?:.*<>)/i,\n /^(?:.*<>)/i,\n /^(?:.*\\[\\[fork\\]\\])/i,\n /^(?:.*\\[\\[join\\]\\])/i,\n /^(?:.*\\[\\[choice\\]\\])/i,\n /^(?:.*direction\\s+TB[^\\n]*)/i,\n /^(?:.*direction\\s+BT[^\\n]*)/i,\n /^(?:.*direction\\s+RL[^\\n]*)/i,\n /^(?:.*direction\\s+LR[^\\n]*)/i,\n /^(?:[\"])/i,\n /^(?:\\s*as\\s+)/i,\n /^(?:[^\\n\\{]*)/i,\n /^(?:[\"])/i,\n /^(?:[^\"]*)/i,\n /^(?:[^\\n\\s\\{]+)/i,\n /^(?:\\n)/i,\n /^(?:\\{)/i,\n /^(?:%%(?!\\{)[^\\n]*)/i,\n /^(?:\\})/i,\n /^(?:[\\n])/i,\n /^(?:note\\s+)/i,\n /^(?:left of\\b)/i,\n /^(?:right of\\b)/i,\n /^(?:\")/i,\n /^(?:\\s*as\\s*)/i,\n /^(?:[\"])/i,\n /^(?:[^\"]*)/i,\n /^(?:[^\\n]*)/i,\n /^(?:\\s*[^:\\n\\s\\-]+)/i,\n /^(?:\\s*:[^:\\n;]+)/i,\n /^(?:[\\s\\S]*?end note\\b)/i,\n /^(?:stateDiagram\\s+)/i,\n /^(?:stateDiagram-v2\\s+)/i,\n /^(?:hide empty description\\b)/i,\n /^(?:\\[\\*\\])/i,\n /^(?:[^:\\n\\s\\-\\{]+)/i,\n /^(?:\\s*:[^:\\n;]+)/i,\n /^(?:-->)/i,\n /^(?:--)/i,\n /^(?::::)/i,\n /^(?:$)/i,\n /^(?:.)/i\n ],\n conditions: {\n \"LINE\": {\n \"rules\": [\n 9,\n 10\n ],\n \"inclusive\": false\n },\n \"struct\": {\n \"rules\": [\n 9,\n 10,\n 22,\n 26,\n 32,\n 39,\n 40,\n 41,\n 42,\n 51,\n 52,\n 53,\n 54,\n 68,\n 69,\n 70,\n 71,\n 72\n ],\n \"inclusive\": false\n },\n \"FLOATING_NOTE_ID\": {\n \"rules\": [\n 61\n ],\n \"inclusive\": false\n },\n \"FLOATING_NOTE\": {\n \"rules\": [\n 58,\n 59,\n 60\n ],\n \"inclusive\": false\n },\n \"NOTE_TEXT\": {\n \"rules\": [\n 63,\n 64\n ],\n \"inclusive\": false\n },\n \"NOTE_ID\": {\n \"rules\": [\n 62\n ],\n \"inclusive\": false\n },\n \"NOTE\": {\n \"rules\": [\n 55,\n 56,\n 57\n ],\n \"inclusive\": false\n },\n \"CLASS_STYLE\": {\n \"rules\": [\n 28\n ],\n \"inclusive\": false\n },\n \"CLASS\": {\n \"rules\": [\n 27\n ],\n \"inclusive\": false\n },\n \"CLASSDEFID\": {\n \"rules\": [\n 25\n ],\n \"inclusive\": false\n },\n \"CLASSDEF\": {\n \"rules\": [\n 23,\n 24\n ],\n \"inclusive\": false\n },\n \"acc_descr_multiline\": {\n \"rules\": [\n 20,\n 21\n ],\n \"inclusive\": false\n },\n \"acc_descr\": {\n \"rules\": [\n 18\n ],\n \"inclusive\": false\n },\n \"acc_title\": {\n \"rules\": [\n 16\n ],\n \"inclusive\": false\n },\n \"SCALE\": {\n \"rules\": [\n 13,\n 14,\n 30,\n 31\n ],\n \"inclusive\": false\n },\n \"ALIAS\": {\n \"rules\": [],\n \"inclusive\": false\n },\n \"STATE_ID\": {\n \"rules\": [\n 45\n ],\n \"inclusive\": false\n },\n \"STATE_STRING\": {\n \"rules\": [\n 46,\n 47\n ],\n \"inclusive\": false\n },\n \"FORK_STATE\": {\n \"rules\": [],\n \"inclusive\": false\n },\n \"STATE\": {\n \"rules\": [\n 9,\n 10,\n 33,\n 34,\n 35,\n 36,\n 37,\n 38,\n 43,\n 44,\n 48,\n 49,\n 50\n ],\n \"inclusive\": false\n },\n \"ID\": {\n \"rules\": [\n 9,\n 10\n ],\n \"inclusive\": false\n },\n \"INITIAL\": {\n \"rules\": [\n 0,\n 1,\n 2,\n 3,\n 4,\n 5,\n 6,\n 7,\n 8,\n 10,\n 11,\n 12,\n 15,\n 17,\n 19,\n 22,\n 26,\n 29,\n 32,\n 50,\n 54,\n 65,\n 66,\n 67,\n 68,\n 69,\n 70,\n 71,\n 73,\n 74,\n 75\n ],\n \"inclusive\": true\n }\n }\n };\n return lexer2;\n }();\n parser2.lexer = lexer;\n function Parser() {\n this.yy = {};\n }\n Parser.prototype = parser2;\n parser2.Parser = Parser;\n return new Parser();\n}();\n$26fa4064178fdeac$var$parser.parser = $26fa4064178fdeac$var$parser;\nconst $26fa4064178fdeac$export$ffb5f4729a158638 = $26fa4064178fdeac$var$parser;\nconst $26fa4064178fdeac$var$DEFAULT_DIAGRAM_DIRECTION = \"LR\";\nconst $26fa4064178fdeac$export$db3b6bfb95261072 = \"TB\";\nconst $26fa4064178fdeac$export$8b22cf2602fb60ce = \"state\";\nconst $26fa4064178fdeac$export$25ce5a424b770e84 = \"relation\";\nconst $26fa4064178fdeac$var$STMT_CLASSDEF = \"classDef\";\nconst $26fa4064178fdeac$var$STMT_APPLYCLASS = \"applyClass\";\nconst $26fa4064178fdeac$export$96f57966bedc81b4 = \"default\";\nconst $26fa4064178fdeac$export$407448d2b89b1813 = \"divider\";\nconst $26fa4064178fdeac$var$START_NODE = \"[*]\";\nconst $26fa4064178fdeac$var$START_TYPE = \"start\";\nconst $26fa4064178fdeac$var$END_NODE = $26fa4064178fdeac$var$START_NODE;\nconst $26fa4064178fdeac$var$END_TYPE = \"end\";\nconst $26fa4064178fdeac$var$COLOR_KEYWORD = \"color\";\nconst $26fa4064178fdeac$var$FILL_KEYWORD = \"fill\";\nconst $26fa4064178fdeac$var$BG_FILL = \"bgFill\";\nconst $26fa4064178fdeac$var$STYLECLASS_SEP = \",\";\nfunction $26fa4064178fdeac$var$newClassesList() {\n return {};\n}\nlet $26fa4064178fdeac$var$direction = $26fa4064178fdeac$var$DEFAULT_DIAGRAM_DIRECTION;\nlet $26fa4064178fdeac$var$rootDoc = [];\nlet $26fa4064178fdeac$var$classes = $26fa4064178fdeac$var$newClassesList();\nconst $26fa4064178fdeac$var$newDoc = ()=>{\n return {\n relations: [],\n states: {},\n documents: {}\n };\n};\nlet $26fa4064178fdeac$var$documents = {\n root: $26fa4064178fdeac$var$newDoc()\n};\nlet $26fa4064178fdeac$var$currentDocument = $26fa4064178fdeac$var$documents.root;\nlet $26fa4064178fdeac$var$startEndCount = 0;\nlet $26fa4064178fdeac$var$dividerCnt = 0;\nconst $26fa4064178fdeac$var$lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nconst $26fa4064178fdeac$var$relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\nconst $26fa4064178fdeac$var$clone = (o)=>JSON.parse(JSON.stringify(o));\nconst $26fa4064178fdeac$var$setRootDoc = (o)=>{\n (0, $4jcZX.l).info(\"Setting root doc\", o);\n $26fa4064178fdeac$var$rootDoc = o;\n};\nconst $26fa4064178fdeac$var$getRootDoc = ()=>$26fa4064178fdeac$var$rootDoc;\nconst $26fa4064178fdeac$var$docTranslator = (parent, node, first)=>{\n if (node.stmt === $26fa4064178fdeac$export$25ce5a424b770e84) {\n $26fa4064178fdeac$var$docTranslator(parent, node.state1, true);\n $26fa4064178fdeac$var$docTranslator(parent, node.state2, false);\n } else {\n if (node.stmt === $26fa4064178fdeac$export$8b22cf2602fb60ce) {\n if (node.id === \"[*]\") {\n node.id = first ? parent.id + \"_start\" : parent.id + \"_end\";\n node.start = first;\n } else node.id = node.id.trim();\n }\n if (node.doc) {\n const doc = [];\n let currentDoc = [];\n let i;\n for(i = 0; i < node.doc.length; i++)if (node.doc[i].type === $26fa4064178fdeac$export$407448d2b89b1813) {\n const newNode = $26fa4064178fdeac$var$clone(node.doc[i]);\n newNode.doc = $26fa4064178fdeac$var$clone(currentDoc);\n doc.push(newNode);\n currentDoc = [];\n } else currentDoc.push(node.doc[i]);\n if (doc.length > 0 && currentDoc.length > 0) {\n const newNode = {\n stmt: $26fa4064178fdeac$export$8b22cf2602fb60ce,\n id: (0, $4jcZX.I)(),\n type: \"divider\",\n doc: $26fa4064178fdeac$var$clone(currentDoc)\n };\n doc.push($26fa4064178fdeac$var$clone(newNode));\n node.doc = doc;\n }\n node.doc.forEach((docNode)=>$26fa4064178fdeac$var$docTranslator(node, docNode, true));\n }\n }\n};\nconst $26fa4064178fdeac$var$getRootDocV2 = ()=>{\n $26fa4064178fdeac$var$docTranslator({\n id: \"root\"\n }, {\n id: \"root\",\n doc: $26fa4064178fdeac$var$rootDoc\n }, true);\n return {\n id: \"root\",\n doc: $26fa4064178fdeac$var$rootDoc\n };\n};\nconst $26fa4064178fdeac$var$extract = (_doc)=>{\n let doc;\n if (_doc.doc) doc = _doc.doc;\n else doc = _doc;\n (0, $4jcZX.l).info(doc);\n $26fa4064178fdeac$var$clear(true);\n (0, $4jcZX.l).info(\"Extract\", doc);\n doc.forEach((item)=>{\n switch(item.stmt){\n case $26fa4064178fdeac$export$8b22cf2602fb60ce:\n $26fa4064178fdeac$var$addState(item.id.trim(), item.type, item.doc, item.description, item.note, item.classes, item.styles, item.textStyles);\n break;\n case $26fa4064178fdeac$export$25ce5a424b770e84:\n $26fa4064178fdeac$var$addRelation(item.state1, item.state2, item.description);\n break;\n case $26fa4064178fdeac$var$STMT_CLASSDEF:\n $26fa4064178fdeac$var$addStyleClass(item.id.trim(), item.classes);\n break;\n case $26fa4064178fdeac$var$STMT_APPLYCLASS:\n $26fa4064178fdeac$var$setCssClass(item.id.trim(), item.styleClass);\n break;\n }\n });\n};\nconst $26fa4064178fdeac$var$addState = function(id, type = $26fa4064178fdeac$export$96f57966bedc81b4, doc = null, descr = null, note = null, classes2 = null, styles2 = null, textStyles = null) {\n const trimmedId = id == null ? void 0 : id.trim();\n if ($26fa4064178fdeac$var$currentDocument.states[trimmedId] === void 0) {\n (0, $4jcZX.l).info(\"Adding state \", trimmedId, descr);\n $26fa4064178fdeac$var$currentDocument.states[trimmedId] = {\n id: trimmedId,\n descriptions: [],\n type: type,\n doc: doc,\n note: note,\n classes: [],\n styles: [],\n textStyles: []\n };\n } else {\n if (!$26fa4064178fdeac$var$currentDocument.states[trimmedId].doc) $26fa4064178fdeac$var$currentDocument.states[trimmedId].doc = doc;\n if (!$26fa4064178fdeac$var$currentDocument.states[trimmedId].type) $26fa4064178fdeac$var$currentDocument.states[trimmedId].type = type;\n }\n if (descr) {\n (0, $4jcZX.l).info(\"Setting state description\", trimmedId, descr);\n if (typeof descr === \"string\") $26fa4064178fdeac$var$addDescription(trimmedId, descr.trim());\n if (typeof descr === \"object\") descr.forEach((des)=>$26fa4064178fdeac$var$addDescription(trimmedId, des.trim()));\n }\n if (note) {\n $26fa4064178fdeac$var$currentDocument.states[trimmedId].note = note;\n $26fa4064178fdeac$var$currentDocument.states[trimmedId].note.text = (0, $4jcZX.e).sanitizeText($26fa4064178fdeac$var$currentDocument.states[trimmedId].note.text, (0, $4jcZX.c)());\n }\n if (classes2) {\n (0, $4jcZX.l).info(\"Setting state classes\", trimmedId, classes2);\n const classesList = typeof classes2 === \"string\" ? [\n classes2\n ] : classes2;\n classesList.forEach((cssClass)=>$26fa4064178fdeac$var$setCssClass(trimmedId, cssClass.trim()));\n }\n if (styles2) {\n (0, $4jcZX.l).info(\"Setting state styles\", trimmedId, styles2);\n const stylesList = typeof styles2 === \"string\" ? [\n styles2\n ] : styles2;\n stylesList.forEach((style)=>$26fa4064178fdeac$var$setStyle(trimmedId, style.trim()));\n }\n if (textStyles) {\n (0, $4jcZX.l).info(\"Setting state styles\", trimmedId, styles2);\n const textStylesList = typeof textStyles === \"string\" ? [\n textStyles\n ] : textStyles;\n textStylesList.forEach((textStyle)=>$26fa4064178fdeac$var$setTextStyle(trimmedId, textStyle.trim()));\n }\n};\nconst $26fa4064178fdeac$var$clear = function(saveCommon) {\n $26fa4064178fdeac$var$documents = {\n root: $26fa4064178fdeac$var$newDoc()\n };\n $26fa4064178fdeac$var$currentDocument = $26fa4064178fdeac$var$documents.root;\n $26fa4064178fdeac$var$startEndCount = 0;\n $26fa4064178fdeac$var$classes = $26fa4064178fdeac$var$newClassesList();\n if (!saveCommon) (0, $4jcZX.v)();\n};\nconst $26fa4064178fdeac$var$getState = function(id) {\n return $26fa4064178fdeac$var$currentDocument.states[id];\n};\nconst $26fa4064178fdeac$var$getStates = function() {\n return $26fa4064178fdeac$var$currentDocument.states;\n};\nconst $26fa4064178fdeac$var$logDocuments = function() {\n (0, $4jcZX.l).info(\"Documents = \", $26fa4064178fdeac$var$documents);\n};\nconst $26fa4064178fdeac$var$getRelations = function() {\n return $26fa4064178fdeac$var$currentDocument.relations;\n};\nfunction $26fa4064178fdeac$var$startIdIfNeeded(id = \"\") {\n let fixedId = id;\n if (id === $26fa4064178fdeac$var$START_NODE) {\n $26fa4064178fdeac$var$startEndCount++;\n fixedId = `${$26fa4064178fdeac$var$START_TYPE}${$26fa4064178fdeac$var$startEndCount}`;\n }\n return fixedId;\n}\nfunction $26fa4064178fdeac$var$startTypeIfNeeded(id = \"\", type = $26fa4064178fdeac$export$96f57966bedc81b4) {\n return id === $26fa4064178fdeac$var$START_NODE ? $26fa4064178fdeac$var$START_TYPE : type;\n}\nfunction $26fa4064178fdeac$var$endIdIfNeeded(id = \"\") {\n let fixedId = id;\n if (id === $26fa4064178fdeac$var$END_NODE) {\n $26fa4064178fdeac$var$startEndCount++;\n fixedId = `${$26fa4064178fdeac$var$END_TYPE}${$26fa4064178fdeac$var$startEndCount}`;\n }\n return fixedId;\n}\nfunction $26fa4064178fdeac$var$endTypeIfNeeded(id = \"\", type = $26fa4064178fdeac$export$96f57966bedc81b4) {\n return id === $26fa4064178fdeac$var$END_NODE ? $26fa4064178fdeac$var$END_TYPE : type;\n}\nfunction $26fa4064178fdeac$var$addRelationObjs(item1, item2, relationTitle) {\n let id1 = $26fa4064178fdeac$var$startIdIfNeeded(item1.id.trim());\n let type1 = $26fa4064178fdeac$var$startTypeIfNeeded(item1.id.trim(), item1.type);\n let id2 = $26fa4064178fdeac$var$startIdIfNeeded(item2.id.trim());\n let type2 = $26fa4064178fdeac$var$startTypeIfNeeded(item2.id.trim(), item2.type);\n $26fa4064178fdeac$var$addState(id1, type1, item1.doc, item1.description, item1.note, item1.classes, item1.styles, item1.textStyles);\n $26fa4064178fdeac$var$addState(id2, type2, item2.doc, item2.description, item2.note, item2.classes, item2.styles, item2.textStyles);\n $26fa4064178fdeac$var$currentDocument.relations.push({\n id1: id1,\n id2: id2,\n relationTitle: (0, $4jcZX.e).sanitizeText(relationTitle, (0, $4jcZX.c)())\n });\n}\nconst $26fa4064178fdeac$var$addRelation = function(item1, item2, title) {\n if (typeof item1 === \"object\") $26fa4064178fdeac$var$addRelationObjs(item1, item2, title);\n else {\n const id1 = $26fa4064178fdeac$var$startIdIfNeeded(item1.trim());\n const type1 = $26fa4064178fdeac$var$startTypeIfNeeded(item1);\n const id2 = $26fa4064178fdeac$var$endIdIfNeeded(item2.trim());\n const type2 = $26fa4064178fdeac$var$endTypeIfNeeded(item2);\n $26fa4064178fdeac$var$addState(id1, type1);\n $26fa4064178fdeac$var$addState(id2, type2);\n $26fa4064178fdeac$var$currentDocument.relations.push({\n id1: id1,\n id2: id2,\n title: (0, $4jcZX.e).sanitizeText(title, (0, $4jcZX.c)())\n });\n }\n};\nconst $26fa4064178fdeac$var$addDescription = function(id, descr) {\n const theState = $26fa4064178fdeac$var$currentDocument.states[id];\n const _descr = descr.startsWith(\":\") ? descr.replace(\":\", \"\").trim() : descr;\n theState.descriptions.push((0, $4jcZX.e).sanitizeText(_descr, (0, $4jcZX.c)()));\n};\nconst $26fa4064178fdeac$var$cleanupLabel = function(label) {\n if (label.substring(0, 1) === \":\") return label.substr(2).trim();\n else return label.trim();\n};\nconst $26fa4064178fdeac$var$getDividerId = ()=>{\n $26fa4064178fdeac$var$dividerCnt++;\n return \"divider-id-\" + $26fa4064178fdeac$var$dividerCnt;\n};\nconst $26fa4064178fdeac$var$addStyleClass = function(id, styleAttributes = \"\") {\n if ($26fa4064178fdeac$var$classes[id] === void 0) $26fa4064178fdeac$var$classes[id] = {\n id: id,\n styles: [],\n textStyles: []\n };\n const foundClass = $26fa4064178fdeac$var$classes[id];\n if (styleAttributes !== void 0 && styleAttributes !== null) styleAttributes.split($26fa4064178fdeac$var$STYLECLASS_SEP).forEach((attrib)=>{\n const fixedAttrib = attrib.replace(/([^;]*);/, \"$1\").trim();\n if (attrib.match($26fa4064178fdeac$var$COLOR_KEYWORD)) {\n const newStyle1 = fixedAttrib.replace($26fa4064178fdeac$var$FILL_KEYWORD, $26fa4064178fdeac$var$BG_FILL);\n const newStyle2 = newStyle1.replace($26fa4064178fdeac$var$COLOR_KEYWORD, $26fa4064178fdeac$var$FILL_KEYWORD);\n foundClass.textStyles.push(newStyle2);\n }\n foundClass.styles.push(fixedAttrib);\n });\n};\nconst $26fa4064178fdeac$var$getClasses = function() {\n return $26fa4064178fdeac$var$classes;\n};\nconst $26fa4064178fdeac$var$setCssClass = function(itemIds, cssClassName) {\n itemIds.split(\",\").forEach(function(id) {\n let foundState = $26fa4064178fdeac$var$getState(id);\n if (foundState === void 0) {\n const trimmedId = id.trim();\n $26fa4064178fdeac$var$addState(trimmedId);\n foundState = $26fa4064178fdeac$var$getState(trimmedId);\n }\n foundState.classes.push(cssClassName);\n });\n};\nconst $26fa4064178fdeac$var$setStyle = function(itemId, styleText) {\n const item = $26fa4064178fdeac$var$getState(itemId);\n if (item !== void 0) item.textStyles.push(styleText);\n};\nconst $26fa4064178fdeac$var$setTextStyle = function(itemId, cssClassName) {\n const item = $26fa4064178fdeac$var$getState(itemId);\n if (item !== void 0) item.textStyles.push(cssClassName);\n};\nconst $26fa4064178fdeac$var$getDirection = ()=>$26fa4064178fdeac$var$direction;\nconst $26fa4064178fdeac$var$setDirection = (dir)=>{\n $26fa4064178fdeac$var$direction = dir;\n};\nconst $26fa4064178fdeac$var$trimColon = (str)=>str && str[0] === \":\" ? str.substr(1).trim() : str.trim();\nconst $26fa4064178fdeac$export$4368d992c4eafac0 = {\n getConfig: ()=>(0, $4jcZX.c)().state,\n addState: $26fa4064178fdeac$var$addState,\n clear: $26fa4064178fdeac$var$clear,\n getState: $26fa4064178fdeac$var$getState,\n getStates: $26fa4064178fdeac$var$getStates,\n getRelations: $26fa4064178fdeac$var$getRelations,\n getClasses: $26fa4064178fdeac$var$getClasses,\n getDirection: $26fa4064178fdeac$var$getDirection,\n addRelation: $26fa4064178fdeac$var$addRelation,\n getDividerId: $26fa4064178fdeac$var$getDividerId,\n setDirection: $26fa4064178fdeac$var$setDirection,\n cleanupLabel: $26fa4064178fdeac$var$cleanupLabel,\n lineType: $26fa4064178fdeac$var$lineType,\n relationType: $26fa4064178fdeac$var$relationType,\n logDocuments: $26fa4064178fdeac$var$logDocuments,\n getRootDoc: $26fa4064178fdeac$var$getRootDoc,\n setRootDoc: $26fa4064178fdeac$var$setRootDoc,\n getRootDocV2: $26fa4064178fdeac$var$getRootDocV2,\n extract: $26fa4064178fdeac$var$extract,\n trimColon: $26fa4064178fdeac$var$trimColon,\n getAccTitle: $4jcZX.g,\n setAccTitle: $4jcZX.s,\n getAccDescription: $4jcZX.a,\n setAccDescription: $4jcZX.b,\n addStyleClass: $26fa4064178fdeac$var$addStyleClass,\n setCssClass: $26fa4064178fdeac$var$setCssClass,\n addDescription: $26fa4064178fdeac$var$addDescription,\n setDiagramTitle: $4jcZX.q,\n getDiagramTitle: $4jcZX.t\n};\nconst $26fa4064178fdeac$var$getStyles = (options)=>`\ndefs #statediagram-barbEnd {\n fill: ${options.transitionColor};\n stroke: ${options.transitionColor};\n }\ng.stateGroup text {\n fill: ${options.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${options.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${options.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${options.mainBkg};\n stroke: ${options.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${options.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${options.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${options.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${options.noteBorderColor};\n fill: ${options.noteBkgColor};\n\n text {\n fill: ${options.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${options.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${options.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${options.transitionLabelColor || options.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${options.transitionLabelColor || options.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${options.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${options.specialStateColor};\n stroke: ${options.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${options.specialStateColor};\n stroke: ${options.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${options.innerEndBackground};\n stroke: ${options.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${options.compositeBackground || options.background};\n // stroke: ${options.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${options.stateBkg || options.mainBkg};\n stroke: ${options.stateBorder || options.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${options.mainBkg};\n stroke: ${options.stateBorder || options.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${options.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${options.compositeTitleBackground};\n stroke: ${options.stateBorder || options.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${options.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${options.stateBorder || options.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${options.compositeBackground || options.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${options.altBackground ? options.altBackground : \"#efefef\"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${options.altBackground ? options.altBackground : \"#efefef\"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${options.noteBkgColor};\n stroke: ${options.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${options.noteBkgColor};\n stroke: ${options.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${options.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${options.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${options.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${options.lineColor};\n stroke: ${options.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${options.textColor};\n}\n`;\nconst $26fa4064178fdeac$export$2408f22a0fab9ae5 = $26fa4064178fdeac$var$getStyles;\n\n});\n\n\n//# sourceMappingURL=stateDiagram-5dee940d.fd4356c7.js.map\n","import { c as getConfig, g as getAccTitle, s as setAccTitle, a as getAccDescription, b as setAccDescription, q as setDiagramTitle, t as getDiagramTitle, l as log, e as common, v as clear$1, I as generateId } from \"./mermaid-6dc72991.js\";\nvar parser = function() {\n var o = function(k, v, o2, l) {\n for (o2 = o2 || {}, l = k.length; l--; o2[k[l]] = v)\n ;\n return o2;\n }, $V0 = [1, 2], $V1 = [1, 3], $V2 = [1, 4], $V3 = [2, 4], $V4 = [1, 9], $V5 = [1, 11], $V6 = [1, 15], $V7 = [1, 16], $V8 = [1, 17], $V9 = [1, 18], $Va = [1, 30], $Vb = [1, 19], $Vc = [1, 20], $Vd = [1, 21], $Ve = [1, 22], $Vf = [1, 23], $Vg = [1, 25], $Vh = [1, 26], $Vi = [1, 27], $Vj = [1, 28], $Vk = [1, 29], $Vl = [1, 32], $Vm = [1, 33], $Vn = [1, 34], $Vo = [1, 35], $Vp = [1, 31], $Vq = [1, 4, 5, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], $Vr = [1, 4, 5, 13, 14, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], $Vs = [4, 5, 15, 16, 18, 20, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50];\n var parser2 = {\n trace: function trace() {\n },\n yy: {},\n symbols_: { \"error\": 2, \"start\": 3, \"SPACE\": 4, \"NL\": 5, \"SD\": 6, \"document\": 7, \"line\": 8, \"statement\": 9, \"classDefStatement\": 10, \"cssClassStatement\": 11, \"idStatement\": 12, \"DESCR\": 13, \"-->\": 14, \"HIDE_EMPTY\": 15, \"scale\": 16, \"WIDTH\": 17, \"COMPOSIT_STATE\": 18, \"STRUCT_START\": 19, \"STRUCT_STOP\": 20, \"STATE_DESCR\": 21, \"AS\": 22, \"ID\": 23, \"FORK\": 24, \"JOIN\": 25, \"CHOICE\": 26, \"CONCURRENT\": 27, \"note\": 28, \"notePosition\": 29, \"NOTE_TEXT\": 30, \"direction\": 31, \"acc_title\": 32, \"acc_title_value\": 33, \"acc_descr\": 34, \"acc_descr_value\": 35, \"acc_descr_multiline_value\": 36, \"classDef\": 37, \"CLASSDEF_ID\": 38, \"CLASSDEF_STYLEOPTS\": 39, \"DEFAULT\": 40, \"class\": 41, \"CLASSENTITY_IDS\": 42, \"STYLECLASS\": 43, \"direction_tb\": 44, \"direction_bt\": 45, \"direction_rl\": 46, \"direction_lr\": 47, \"eol\": 48, \";\": 49, \"EDGE_STATE\": 50, \"STYLE_SEPARATOR\": 51, \"left_of\": 52, \"right_of\": 53, \"$accept\": 0, \"$end\": 1 },\n terminals_: { 2: \"error\", 4: \"SPACE\", 5: \"NL\", 6: \"SD\", 13: \"DESCR\", 14: \"-->\", 15: \"HIDE_EMPTY\", 16: \"scale\", 17: \"WIDTH\", 18: \"COMPOSIT_STATE\", 19: \"STRUCT_START\", 20: \"STRUCT_STOP\", 21: \"STATE_DESCR\", 22: \"AS\", 23: \"ID\", 24: \"FORK\", 25: \"JOIN\", 26: \"CHOICE\", 27: \"CONCURRENT\", 28: \"note\", 30: \"NOTE_TEXT\", 32: \"acc_title\", 33: \"acc_title_value\", 34: \"acc_descr\", 35: \"acc_descr_value\", 36: \"acc_descr_multiline_value\", 37: \"classDef\", 38: \"CLASSDEF_ID\", 39: \"CLASSDEF_STYLEOPTS\", 40: \"DEFAULT\", 41: \"class\", 42: \"CLASSENTITY_IDS\", 43: \"STYLECLASS\", 44: \"direction_tb\", 45: \"direction_bt\", 46: \"direction_rl\", 47: \"direction_lr\", 49: \";\", 50: \"EDGE_STATE\", 51: \"STYLE_SEPARATOR\", 52: \"left_of\", 53: \"right_of\" },\n productions_: [0, [3, 2], [3, 2], [3, 2], [7, 0], [7, 2], [8, 2], [8, 1], [8, 1], [9, 1], [9, 1], [9, 1], [9, 2], [9, 3], [9, 4], [9, 1], [9, 2], [9, 1], [9, 4], [9, 3], [9, 6], [9, 1], [9, 1], [9, 1], [9, 1], [9, 4], [9, 4], [9, 1], [9, 2], [9, 2], [9, 1], [10, 3], [10, 3], [11, 3], [31, 1], [31, 1], [31, 1], [31, 1], [48, 1], [48, 1], [12, 1], [12, 1], [12, 3], [12, 3], [29, 1], [29, 1]],\n performAction: function anonymous(yytext, yyleng, yylineno, yy, yystate, $$, _$) {\n var $0 = $$.length - 1;\n switch (yystate) {\n case 3:\n yy.setRootDoc($$[$0]);\n return $$[$0];\n case 4:\n this.$ = [];\n break;\n case 5:\n if ($$[$0] != \"nl\") {\n $$[$0 - 1].push($$[$0]);\n this.$ = $$[$0 - 1];\n }\n break;\n case 6:\n case 7:\n this.$ = $$[$0];\n break;\n case 8:\n this.$ = \"nl\";\n break;\n case 11:\n this.$ = $$[$0];\n break;\n case 12:\n const stateStmt = $$[$0 - 1];\n stateStmt.description = yy.trimColon($$[$0]);\n this.$ = stateStmt;\n break;\n case 13:\n this.$ = { stmt: \"relation\", state1: $$[$0 - 2], state2: $$[$0] };\n break;\n case 14:\n const relDescription = yy.trimColon($$[$0]);\n this.$ = { stmt: \"relation\", state1: $$[$0 - 3], state2: $$[$0 - 1], description: relDescription };\n break;\n case 18:\n this.$ = { stmt: \"state\", id: $$[$0 - 3], type: \"default\", description: \"\", doc: $$[$0 - 1] };\n break;\n case 19:\n var id = $$[$0];\n var description = $$[$0 - 2].trim();\n if ($$[$0].match(\":\")) {\n var parts = $$[$0].split(\":\");\n id = parts[0];\n description = [description, parts[1]];\n }\n this.$ = { stmt: \"state\", id, type: \"default\", description };\n break;\n case 20:\n this.$ = { stmt: \"state\", id: $$[$0 - 3], type: \"default\", description: $$[$0 - 5], doc: $$[$0 - 1] };\n break;\n case 21:\n this.$ = { stmt: \"state\", id: $$[$0], type: \"fork\" };\n break;\n case 22:\n this.$ = { stmt: \"state\", id: $$[$0], type: \"join\" };\n break;\n case 23:\n this.$ = { stmt: \"state\", id: $$[$0], type: \"choice\" };\n break;\n case 24:\n this.$ = { stmt: \"state\", id: yy.getDividerId(), type: \"divider\" };\n break;\n case 25:\n this.$ = { stmt: \"state\", id: $$[$0 - 1].trim(), note: { position: $$[$0 - 2].trim(), text: $$[$0].trim() } };\n break;\n case 28:\n this.$ = $$[$0].trim();\n yy.setAccTitle(this.$);\n break;\n case 29:\n case 30:\n this.$ = $$[$0].trim();\n yy.setAccDescription(this.$);\n break;\n case 31:\n case 32:\n this.$ = { stmt: \"classDef\", id: $$[$0 - 1].trim(), classes: $$[$0].trim() };\n break;\n case 33:\n this.$ = { stmt: \"applyClass\", id: $$[$0 - 1].trim(), styleClass: $$[$0].trim() };\n break;\n case 34:\n yy.setDirection(\"TB\");\n this.$ = { stmt: \"dir\", value: \"TB\" };\n break;\n case 35:\n yy.setDirection(\"BT\");\n this.$ = { stmt: \"dir\", value: \"BT\" };\n break;\n case 36:\n yy.setDirection(\"RL\");\n this.$ = { stmt: \"dir\", value: \"RL\" };\n break;\n case 37:\n yy.setDirection(\"LR\");\n this.$ = { stmt: \"dir\", value: \"LR\" };\n break;\n case 40:\n case 41:\n this.$ = { stmt: \"state\", id: $$[$0].trim(), type: \"default\", description: \"\" };\n break;\n case 42:\n this.$ = { stmt: \"state\", id: $$[$0 - 2].trim(), classes: [$$[$0].trim()], type: \"default\", description: \"\" };\n break;\n case 43:\n this.$ = { stmt: \"state\", id: $$[$0 - 2].trim(), classes: [$$[$0].trim()], type: \"default\", description: \"\" };\n break;\n }\n },\n table: [{ 3: 1, 4: $V0, 5: $V1, 6: $V2 }, { 1: [3] }, { 3: 5, 4: $V0, 5: $V1, 6: $V2 }, { 3: 6, 4: $V0, 5: $V1, 6: $V2 }, o([1, 4, 5, 15, 16, 18, 21, 23, 24, 25, 26, 27, 28, 32, 34, 36, 37, 41, 44, 45, 46, 47, 50], $V3, { 7: 7 }), { 1: [2, 1] }, { 1: [2, 2] }, { 1: [2, 3], 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: $V6, 16: $V7, 18: $V8, 21: $V9, 23: $Va, 24: $Vb, 25: $Vc, 26: $Vd, 27: $Ve, 28: $Vf, 31: 24, 32: $Vg, 34: $Vh, 36: $Vi, 37: $Vj, 41: $Vk, 44: $Vl, 45: $Vm, 46: $Vn, 47: $Vo, 50: $Vp }, o($Vq, [2, 5]), { 9: 36, 10: 12, 11: 13, 12: 14, 15: $V6, 16: $V7, 18: $V8, 21: $V9, 23: $Va, 24: $Vb, 25: $Vc, 26: $Vd, 27: $Ve, 28: $Vf, 31: 24, 32: $Vg, 34: $Vh, 36: $Vi, 37: $Vj, 41: $Vk, 44: $Vl, 45: $Vm, 46: $Vn, 47: $Vo, 50: $Vp }, o($Vq, [2, 7]), o($Vq, [2, 8]), o($Vq, [2, 9]), o($Vq, [2, 10]), o($Vq, [2, 11], { 13: [1, 37], 14: [1, 38] }), o($Vq, [2, 15]), { 17: [1, 39] }, o($Vq, [2, 17], { 19: [1, 40] }), { 22: [1, 41] }, o($Vq, [2, 21]), o($Vq, [2, 22]), o($Vq, [2, 23]), o($Vq, [2, 24]), { 29: 42, 30: [1, 43], 52: [1, 44], 53: [1, 45] }, o($Vq, [2, 27]), { 33: [1, 46] }, { 35: [1, 47] }, o($Vq, [2, 30]), { 38: [1, 48], 40: [1, 49] }, { 42: [1, 50] }, o($Vr, [2, 40], { 51: [1, 51] }), o($Vr, [2, 41], { 51: [1, 52] }), o($Vq, [2, 34]), o($Vq, [2, 35]), o($Vq, [2, 36]), o($Vq, [2, 37]), o($Vq, [2, 6]), o($Vq, [2, 12]), { 12: 53, 23: $Va, 50: $Vp }, o($Vq, [2, 16]), o($Vs, $V3, { 7: 54 }), { 23: [1, 55] }, { 23: [1, 56] }, { 22: [1, 57] }, { 23: [2, 44] }, { 23: [2, 45] }, o($Vq, [2, 28]), o($Vq, [2, 29]), { 39: [1, 58] }, { 39: [1, 59] }, { 43: [1, 60] }, { 23: [1, 61] }, { 23: [1, 62] }, o($Vq, [2, 13], { 13: [1, 63] }), { 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: $V6, 16: $V7, 18: $V8, 20: [1, 64], 21: $V9, 23: $Va, 24: $Vb, 25: $Vc, 26: $Vd, 27: $Ve, 28: $Vf, 31: 24, 32: $Vg, 34: $Vh, 36: $Vi, 37: $Vj, 41: $Vk, 44: $Vl, 45: $Vm, 46: $Vn, 47: $Vo, 50: $Vp }, o($Vq, [2, 19], { 19: [1, 65] }), { 30: [1, 66] }, { 23: [1, 67] }, o($Vq, [2, 31]), o($Vq, [2, 32]), o($Vq, [2, 33]), o($Vr, [2, 42]), o($Vr, [2, 43]), o($Vq, [2, 14]), o($Vq, [2, 18]), o($Vs, $V3, { 7: 68 }), o($Vq, [2, 25]), o($Vq, [2, 26]), { 4: $V4, 5: $V5, 8: 8, 9: 10, 10: 12, 11: 13, 12: 14, 15: $V6, 16: $V7, 18: $V8, 20: [1, 69], 21: $V9, 23: $Va, 24: $Vb, 25: $Vc, 26: $Vd, 27: $Ve, 28: $Vf, 31: 24, 32: $Vg, 34: $Vh, 36: $Vi, 37: $Vj, 41: $Vk, 44: $Vl, 45: $Vm, 46: $Vn, 47: $Vo, 50: $Vp }, o($Vq, [2, 20])],\n defaultActions: { 5: [2, 1], 6: [2, 2], 44: [2, 44], 45: [2, 45] },\n parseError: function parseError(str, hash) {\n if (hash.recoverable) {\n this.trace(str);\n } else {\n var error = new Error(str);\n error.hash = hash;\n throw error;\n }\n },\n parse: function parse(input) {\n var self = this, stack = [0], tstack = [], vstack = [null], lstack = [], table = this.table, yytext = \"\", yylineno = 0, yyleng = 0, TERROR = 2, EOF = 1;\n var args = lstack.slice.call(arguments, 1);\n var lexer2 = Object.create(this.lexer);\n var sharedState = { yy: {} };\n for (var k in this.yy) {\n if (Object.prototype.hasOwnProperty.call(this.yy, k)) {\n sharedState.yy[k] = this.yy[k];\n }\n }\n lexer2.setInput(input, sharedState.yy);\n sharedState.yy.lexer = lexer2;\n sharedState.yy.parser = this;\n if (typeof lexer2.yylloc == \"undefined\") {\n lexer2.yylloc = {};\n }\n var yyloc = lexer2.yylloc;\n lstack.push(yyloc);\n var ranges = lexer2.options && lexer2.options.ranges;\n if (typeof sharedState.yy.parseError === \"function\") {\n this.parseError = sharedState.yy.parseError;\n } else {\n this.parseError = Object.getPrototypeOf(this).parseError;\n }\n function lex() {\n var token;\n token = tstack.pop() || lexer2.lex() || EOF;\n if (typeof token !== \"number\") {\n if (token instanceof Array) {\n tstack = token;\n token = tstack.pop();\n }\n token = self.symbols_[token] || token;\n }\n return token;\n }\n var symbol, state, action, r, yyval = {}, p, len, newState, expected;\n while (true) {\n state = stack[stack.length - 1];\n if (this.defaultActions[state]) {\n action = this.defaultActions[state];\n } else {\n if (symbol === null || typeof symbol == \"undefined\") {\n symbol = lex();\n }\n action = table[state] && table[state][symbol];\n }\n if (typeof action === \"undefined\" || !action.length || !action[0]) {\n var errStr = \"\";\n expected = [];\n for (p in table[state]) {\n if (this.terminals_[p] && p > TERROR) {\n expected.push(\"'\" + this.terminals_[p] + \"'\");\n }\n }\n if (lexer2.showPosition) {\n errStr = \"Parse error on line \" + (yylineno + 1) + \":\\n\" + lexer2.showPosition() + \"\\nExpecting \" + expected.join(\", \") + \", got '\" + (this.terminals_[symbol] || symbol) + \"'\";\n } else {\n errStr = \"Parse error on line \" + (yylineno + 1) + \": Unexpected \" + (symbol == EOF ? \"end of input\" : \"'\" + (this.terminals_[symbol] || symbol) + \"'\");\n }\n this.parseError(errStr, {\n text: lexer2.match,\n token: this.terminals_[symbol] || symbol,\n line: lexer2.yylineno,\n loc: yyloc,\n expected\n });\n }\n if (action[0] instanceof Array && action.length > 1) {\n throw new Error(\"Parse Error: multiple actions possible at state: \" + state + \", token: \" + symbol);\n }\n switch (action[0]) {\n case 1:\n stack.push(symbol);\n vstack.push(lexer2.yytext);\n lstack.push(lexer2.yylloc);\n stack.push(action[1]);\n symbol = null;\n {\n yyleng = lexer2.yyleng;\n yytext = lexer2.yytext;\n yylineno = lexer2.yylineno;\n yyloc = lexer2.yylloc;\n }\n break;\n case 2:\n len = this.productions_[action[1]][1];\n yyval.$ = vstack[vstack.length - len];\n yyval._$ = {\n first_line: lstack[lstack.length - (len || 1)].first_line,\n last_line: lstack[lstack.length - 1].last_line,\n first_column: lstack[lstack.length - (len || 1)].first_column,\n last_column: lstack[lstack.length - 1].last_column\n };\n if (ranges) {\n yyval._$.range = [\n lstack[lstack.length - (len || 1)].range[0],\n lstack[lstack.length - 1].range[1]\n ];\n }\n r = this.performAction.apply(yyval, [\n yytext,\n yyleng,\n yylineno,\n sharedState.yy,\n action[1],\n vstack,\n lstack\n ].concat(args));\n if (typeof r !== \"undefined\") {\n return r;\n }\n if (len) {\n stack = stack.slice(0, -1 * len * 2);\n vstack = vstack.slice(0, -1 * len);\n lstack = lstack.slice(0, -1 * len);\n }\n stack.push(this.productions_[action[1]][0]);\n vstack.push(yyval.$);\n lstack.push(yyval._$);\n newState = table[stack[stack.length - 2]][stack[stack.length - 1]];\n stack.push(newState);\n break;\n case 3:\n return true;\n }\n }\n return true;\n }\n };\n var lexer = function() {\n var lexer2 = {\n EOF: 1,\n parseError: function parseError(str, hash) {\n if (this.yy.parser) {\n this.yy.parser.parseError(str, hash);\n } else {\n throw new Error(str);\n }\n },\n // resets the lexer, sets new input\n setInput: function(input, yy) {\n this.yy = yy || this.yy || {};\n this._input = input;\n this._more = this._backtrack = this.done = false;\n this.yylineno = this.yyleng = 0;\n this.yytext = this.matched = this.match = \"\";\n this.conditionStack = [\"INITIAL\"];\n this.yylloc = {\n first_line: 1,\n first_column: 0,\n last_line: 1,\n last_column: 0\n };\n if (this.options.ranges) {\n this.yylloc.range = [0, 0];\n }\n this.offset = 0;\n return this;\n },\n // consumes and returns one char from the input\n input: function() {\n var ch = this._input[0];\n this.yytext += ch;\n this.yyleng++;\n this.offset++;\n this.match += ch;\n this.matched += ch;\n var lines = ch.match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno++;\n this.yylloc.last_line++;\n } else {\n this.yylloc.last_column++;\n }\n if (this.options.ranges) {\n this.yylloc.range[1]++;\n }\n this._input = this._input.slice(1);\n return ch;\n },\n // unshifts one char (or a string) into the input\n unput: function(ch) {\n var len = ch.length;\n var lines = ch.split(/(?:\\r\\n?|\\n)/g);\n this._input = ch + this._input;\n this.yytext = this.yytext.substr(0, this.yytext.length - len);\n this.offset -= len;\n var oldLines = this.match.split(/(?:\\r\\n?|\\n)/g);\n this.match = this.match.substr(0, this.match.length - 1);\n this.matched = this.matched.substr(0, this.matched.length - 1);\n if (lines.length - 1) {\n this.yylineno -= lines.length - 1;\n }\n var r = this.yylloc.range;\n this.yylloc = {\n first_line: this.yylloc.first_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.first_column,\n last_column: lines ? (lines.length === oldLines.length ? this.yylloc.first_column : 0) + oldLines[oldLines.length - lines.length].length - lines[0].length : this.yylloc.first_column - len\n };\n if (this.options.ranges) {\n this.yylloc.range = [r[0], r[0] + this.yyleng - len];\n }\n this.yyleng = this.yytext.length;\n return this;\n },\n // When called from action, caches matched text and appends it on next action\n more: function() {\n this._more = true;\n return this;\n },\n // 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.\n reject: function() {\n if (this.options.backtrack_lexer) {\n this._backtrack = true;\n } else {\n 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(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n return this;\n },\n // retain first n characters of the match\n less: function(n) {\n this.unput(this.match.slice(n));\n },\n // displays already matched input, i.e. for error messages\n pastInput: function() {\n var past = this.matched.substr(0, this.matched.length - this.match.length);\n return (past.length > 20 ? \"...\" : \"\") + past.substr(-20).replace(/\\n/g, \"\");\n },\n // displays upcoming input, i.e. for error messages\n upcomingInput: function() {\n var next = this.match;\n if (next.length < 20) {\n next += this._input.substr(0, 20 - next.length);\n }\n return (next.substr(0, 20) + (next.length > 20 ? \"...\" : \"\")).replace(/\\n/g, \"\");\n },\n // displays the character position where the lexing error occurred, i.e. for error messages\n showPosition: function() {\n var pre = this.pastInput();\n var c = new Array(pre.length + 1).join(\"-\");\n return pre + this.upcomingInput() + \"\\n\" + c + \"^\";\n },\n // test the lexed token: return FALSE when not a match, otherwise return token\n test_match: function(match, indexed_rule) {\n var token, lines, backup;\n if (this.options.backtrack_lexer) {\n backup = {\n yylineno: this.yylineno,\n yylloc: {\n first_line: this.yylloc.first_line,\n last_line: this.last_line,\n first_column: this.yylloc.first_column,\n last_column: this.yylloc.last_column\n },\n yytext: this.yytext,\n match: this.match,\n matches: this.matches,\n matched: this.matched,\n yyleng: this.yyleng,\n offset: this.offset,\n _more: this._more,\n _input: this._input,\n yy: this.yy,\n conditionStack: this.conditionStack.slice(0),\n done: this.done\n };\n if (this.options.ranges) {\n backup.yylloc.range = this.yylloc.range.slice(0);\n }\n }\n lines = match[0].match(/(?:\\r\\n?|\\n).*/g);\n if (lines) {\n this.yylineno += lines.length;\n }\n this.yylloc = {\n first_line: this.yylloc.last_line,\n last_line: this.yylineno + 1,\n first_column: this.yylloc.last_column,\n last_column: lines ? lines[lines.length - 1].length - lines[lines.length - 1].match(/\\r?\\n?/)[0].length : this.yylloc.last_column + match[0].length\n };\n this.yytext += match[0];\n this.match += match[0];\n this.matches = match;\n this.yyleng = this.yytext.length;\n if (this.options.ranges) {\n this.yylloc.range = [this.offset, this.offset += this.yyleng];\n }\n this._more = false;\n this._backtrack = false;\n this._input = this._input.slice(match[0].length);\n this.matched += match[0];\n token = this.performAction.call(this, this.yy, this, indexed_rule, this.conditionStack[this.conditionStack.length - 1]);\n if (this.done && this._input) {\n this.done = false;\n }\n if (token) {\n return token;\n } else if (this._backtrack) {\n for (var k in backup) {\n this[k] = backup[k];\n }\n return false;\n }\n return false;\n },\n // return next match in input\n next: function() {\n if (this.done) {\n return this.EOF;\n }\n if (!this._input) {\n this.done = true;\n }\n var token, match, tempMatch, index;\n if (!this._more) {\n this.yytext = \"\";\n this.match = \"\";\n }\n var rules = this._currentRules();\n for (var i = 0; i < rules.length; i++) {\n tempMatch = this._input.match(this.rules[rules[i]]);\n if (tempMatch && (!match || tempMatch[0].length > match[0].length)) {\n match = tempMatch;\n index = i;\n if (this.options.backtrack_lexer) {\n token = this.test_match(tempMatch, rules[i]);\n if (token !== false) {\n return token;\n } else if (this._backtrack) {\n match = false;\n continue;\n } else {\n return false;\n }\n } else if (!this.options.flex) {\n break;\n }\n }\n }\n if (match) {\n token = this.test_match(match, rules[index]);\n if (token !== false) {\n return token;\n }\n return false;\n }\n if (this._input === \"\") {\n return this.EOF;\n } else {\n return this.parseError(\"Lexical error on line \" + (this.yylineno + 1) + \". Unrecognized text.\\n\" + this.showPosition(), {\n text: \"\",\n token: null,\n line: this.yylineno\n });\n }\n },\n // return next match that has a token\n lex: function lex() {\n var r = this.next();\n if (r) {\n return r;\n } else {\n return this.lex();\n }\n },\n // activates a new lexer condition state (pushes the new lexer condition state onto the condition stack)\n begin: function begin(condition) {\n this.conditionStack.push(condition);\n },\n // pop the previously active lexer condition state off the condition stack\n popState: function popState() {\n var n = this.conditionStack.length - 1;\n if (n > 0) {\n return this.conditionStack.pop();\n } else {\n return this.conditionStack[0];\n }\n },\n // produce the lexer rule set which is active for the currently active lexer condition state\n _currentRules: function _currentRules() {\n if (this.conditionStack.length && this.conditionStack[this.conditionStack.length - 1]) {\n return this.conditions[this.conditionStack[this.conditionStack.length - 1]].rules;\n } else {\n return this.conditions[\"INITIAL\"].rules;\n }\n },\n // return the currently active lexer condition state; when an index argument is provided it produces the N-th previous condition state, if available\n topState: function topState(n) {\n n = this.conditionStack.length - 1 - Math.abs(n || 0);\n if (n >= 0) {\n return this.conditionStack[n];\n } else {\n return \"INITIAL\";\n }\n },\n // alias for begin(condition)\n pushState: function pushState(condition) {\n this.begin(condition);\n },\n // return the number of states currently on the stack\n stateStackSize: function stateStackSize() {\n return this.conditionStack.length;\n },\n options: { \"case-insensitive\": true },\n performAction: function anonymous(yy, yy_, $avoiding_name_collisions, YY_START) {\n switch ($avoiding_name_collisions) {\n case 0:\n return 40;\n case 1:\n return 44;\n case 2:\n return 45;\n case 3:\n return 46;\n case 4:\n return 47;\n case 5:\n break;\n case 6:\n break;\n case 7:\n return 5;\n case 8:\n break;\n case 9:\n break;\n case 10:\n break;\n case 11:\n break;\n case 12:\n this.pushState(\"SCALE\");\n return 16;\n case 13:\n return 17;\n case 14:\n this.popState();\n break;\n case 15:\n this.begin(\"acc_title\");\n return 32;\n case 16:\n this.popState();\n return \"acc_title_value\";\n case 17:\n this.begin(\"acc_descr\");\n return 34;\n case 18:\n this.popState();\n return \"acc_descr_value\";\n case 19:\n this.begin(\"acc_descr_multiline\");\n break;\n case 20:\n this.popState();\n break;\n case 21:\n return \"acc_descr_multiline_value\";\n case 22:\n this.pushState(\"CLASSDEF\");\n return 37;\n case 23:\n this.popState();\n this.pushState(\"CLASSDEFID\");\n return \"DEFAULT_CLASSDEF_ID\";\n case 24:\n this.popState();\n this.pushState(\"CLASSDEFID\");\n return 38;\n case 25:\n this.popState();\n return 39;\n case 26:\n this.pushState(\"CLASS\");\n return 41;\n case 27:\n this.popState();\n this.pushState(\"CLASS_STYLE\");\n return 42;\n case 28:\n this.popState();\n return 43;\n case 29:\n this.pushState(\"SCALE\");\n return 16;\n case 30:\n return 17;\n case 31:\n this.popState();\n break;\n case 32:\n this.pushState(\"STATE\");\n break;\n case 33:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 24;\n case 34:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 25;\n case 35:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -10).trim();\n return 26;\n case 36:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 24;\n case 37:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 25;\n case 38:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -10).trim();\n return 26;\n case 39:\n return 44;\n case 40:\n return 45;\n case 41:\n return 46;\n case 42:\n return 47;\n case 43:\n this.pushState(\"STATE_STRING\");\n break;\n case 44:\n this.pushState(\"STATE_ID\");\n return \"AS\";\n case 45:\n this.popState();\n return \"ID\";\n case 46:\n this.popState();\n break;\n case 47:\n return \"STATE_DESCR\";\n case 48:\n return 18;\n case 49:\n this.popState();\n break;\n case 50:\n this.popState();\n this.pushState(\"struct\");\n return 19;\n case 51:\n break;\n case 52:\n this.popState();\n return 20;\n case 53:\n break;\n case 54:\n this.begin(\"NOTE\");\n return 28;\n case 55:\n this.popState();\n this.pushState(\"NOTE_ID\");\n return 52;\n case 56:\n this.popState();\n this.pushState(\"NOTE_ID\");\n return 53;\n case 57:\n this.popState();\n this.pushState(\"FLOATING_NOTE\");\n break;\n case 58:\n this.popState();\n this.pushState(\"FLOATING_NOTE_ID\");\n return \"AS\";\n case 59:\n break;\n case 60:\n return \"NOTE_TEXT\";\n case 61:\n this.popState();\n return \"ID\";\n case 62:\n this.popState();\n this.pushState(\"NOTE_TEXT\");\n return 23;\n case 63:\n this.popState();\n yy_.yytext = yy_.yytext.substr(2).trim();\n return 30;\n case 64:\n this.popState();\n yy_.yytext = yy_.yytext.slice(0, -8).trim();\n return 30;\n case 65:\n return 6;\n case 66:\n return 6;\n case 67:\n return 15;\n case 68:\n return 50;\n case 69:\n return 23;\n case 70:\n yy_.yytext = yy_.yytext.trim();\n return 13;\n case 71:\n return 14;\n case 72:\n return 27;\n case 73:\n return 51;\n case 74:\n return 5;\n case 75:\n return \"INVALID\";\n }\n },\n rules: [/^(?:default\\b)/i, /^(?:.*direction\\s+TB[^\\n]*)/i, /^(?:.*direction\\s+BT[^\\n]*)/i, /^(?:.*direction\\s+RL[^\\n]*)/i, /^(?:.*direction\\s+LR[^\\n]*)/i, /^(?:%%(?!\\{)[^\\n]*)/i, /^(?:[^\\}]%%[^\\n]*)/i, /^(?:[\\n]+)/i, /^(?:[\\s]+)/i, /^(?:((?!\\n)\\s)+)/i, /^(?:#[^\\n]*)/i, /^(?:%[^\\n]*)/i, /^(?:scale\\s+)/i, /^(?:\\d+)/i, /^(?:\\s+width\\b)/i, /^(?:accTitle\\s*:\\s*)/i, /^(?:(?!\\n||)*[^\\n]*)/i, /^(?:accDescr\\s*:\\s*)/i, /^(?:(?!\\n||)*[^\\n]*)/i, /^(?:accDescr\\s*\\{\\s*)/i, /^(?:[\\}])/i, /^(?:[^\\}]*)/i, /^(?:classDef\\s+)/i, /^(?:DEFAULT\\s+)/i, /^(?:\\w+\\s+)/i, /^(?:[^\\n]*)/i, /^(?:class\\s+)/i, /^(?:(\\w+)+((,\\s*\\w+)*))/i, /^(?:[^\\n]*)/i, /^(?:scale\\s+)/i, /^(?:\\d+)/i, /^(?:\\s+width\\b)/i, /^(?:state\\s+)/i, /^(?:.*<>)/i, /^(?:.*<>)/i, /^(?:.*<>)/i, /^(?:.*\\[\\[fork\\]\\])/i, /^(?:.*\\[\\[join\\]\\])/i, /^(?:.*\\[\\[choice\\]\\])/i, /^(?:.*direction\\s+TB[^\\n]*)/i, /^(?:.*direction\\s+BT[^\\n]*)/i, /^(?:.*direction\\s+RL[^\\n]*)/i, /^(?:.*direction\\s+LR[^\\n]*)/i, /^(?:[\"])/i, /^(?:\\s*as\\s+)/i, /^(?:[^\\n\\{]*)/i, /^(?:[\"])/i, /^(?:[^\"]*)/i, /^(?:[^\\n\\s\\{]+)/i, /^(?:\\n)/i, /^(?:\\{)/i, /^(?:%%(?!\\{)[^\\n]*)/i, /^(?:\\})/i, /^(?:[\\n])/i, /^(?:note\\s+)/i, /^(?:left of\\b)/i, /^(?:right of\\b)/i, /^(?:\")/i, /^(?:\\s*as\\s*)/i, /^(?:[\"])/i, /^(?:[^\"]*)/i, /^(?:[^\\n]*)/i, /^(?:\\s*[^:\\n\\s\\-]+)/i, /^(?:\\s*:[^:\\n;]+)/i, /^(?:[\\s\\S]*?end note\\b)/i, /^(?:stateDiagram\\s+)/i, /^(?:stateDiagram-v2\\s+)/i, /^(?:hide empty description\\b)/i, /^(?:\\[\\*\\])/i, /^(?:[^:\\n\\s\\-\\{]+)/i, /^(?:\\s*:[^:\\n;]+)/i, /^(?:-->)/i, /^(?:--)/i, /^(?::::)/i, /^(?:$)/i, /^(?:.)/i],\n conditions: { \"LINE\": { \"rules\": [9, 10], \"inclusive\": false }, \"struct\": { \"rules\": [9, 10, 22, 26, 32, 39, 40, 41, 42, 51, 52, 53, 54, 68, 69, 70, 71, 72], \"inclusive\": false }, \"FLOATING_NOTE_ID\": { \"rules\": [61], \"inclusive\": false }, \"FLOATING_NOTE\": { \"rules\": [58, 59, 60], \"inclusive\": false }, \"NOTE_TEXT\": { \"rules\": [63, 64], \"inclusive\": false }, \"NOTE_ID\": { \"rules\": [62], \"inclusive\": false }, \"NOTE\": { \"rules\": [55, 56, 57], \"inclusive\": false }, \"CLASS_STYLE\": { \"rules\": [28], \"inclusive\": false }, \"CLASS\": { \"rules\": [27], \"inclusive\": false }, \"CLASSDEFID\": { \"rules\": [25], \"inclusive\": false }, \"CLASSDEF\": { \"rules\": [23, 24], \"inclusive\": false }, \"acc_descr_multiline\": { \"rules\": [20, 21], \"inclusive\": false }, \"acc_descr\": { \"rules\": [18], \"inclusive\": false }, \"acc_title\": { \"rules\": [16], \"inclusive\": false }, \"SCALE\": { \"rules\": [13, 14, 30, 31], \"inclusive\": false }, \"ALIAS\": { \"rules\": [], \"inclusive\": false }, \"STATE_ID\": { \"rules\": [45], \"inclusive\": false }, \"STATE_STRING\": { \"rules\": [46, 47], \"inclusive\": false }, \"FORK_STATE\": { \"rules\": [], \"inclusive\": false }, \"STATE\": { \"rules\": [9, 10, 33, 34, 35, 36, 37, 38, 43, 44, 48, 49, 50], \"inclusive\": false }, \"ID\": { \"rules\": [9, 10], \"inclusive\": false }, \"INITIAL\": { \"rules\": [0, 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 15, 17, 19, 22, 26, 29, 32, 50, 54, 65, 66, 67, 68, 69, 70, 71, 73, 74, 75], \"inclusive\": true } }\n };\n return lexer2;\n }();\n parser2.lexer = lexer;\n function Parser() {\n this.yy = {};\n }\n Parser.prototype = parser2;\n parser2.Parser = Parser;\n return new Parser();\n}();\nparser.parser = parser;\nconst parser$1 = parser;\nconst DEFAULT_DIAGRAM_DIRECTION = \"LR\";\nconst DEFAULT_NESTED_DOC_DIR = \"TB\";\nconst STMT_STATE = \"state\";\nconst STMT_RELATION = \"relation\";\nconst STMT_CLASSDEF = \"classDef\";\nconst STMT_APPLYCLASS = \"applyClass\";\nconst DEFAULT_STATE_TYPE = \"default\";\nconst DIVIDER_TYPE = \"divider\";\nconst START_NODE = \"[*]\";\nconst START_TYPE = \"start\";\nconst END_NODE = START_NODE;\nconst END_TYPE = \"end\";\nconst COLOR_KEYWORD = \"color\";\nconst FILL_KEYWORD = \"fill\";\nconst BG_FILL = \"bgFill\";\nconst STYLECLASS_SEP = \",\";\nfunction newClassesList() {\n return {};\n}\nlet direction = DEFAULT_DIAGRAM_DIRECTION;\nlet rootDoc = [];\nlet classes = newClassesList();\nconst newDoc = () => {\n return {\n relations: [],\n states: {},\n documents: {}\n };\n};\nlet documents = {\n root: newDoc()\n};\nlet currentDocument = documents.root;\nlet startEndCount = 0;\nlet dividerCnt = 0;\nconst lineType = {\n LINE: 0,\n DOTTED_LINE: 1\n};\nconst relationType = {\n AGGREGATION: 0,\n EXTENSION: 1,\n COMPOSITION: 2,\n DEPENDENCY: 3\n};\nconst clone = (o) => JSON.parse(JSON.stringify(o));\nconst setRootDoc = (o) => {\n log.info(\"Setting root doc\", o);\n rootDoc = o;\n};\nconst getRootDoc = () => rootDoc;\nconst docTranslator = (parent, node, first) => {\n if (node.stmt === STMT_RELATION) {\n docTranslator(parent, node.state1, true);\n docTranslator(parent, node.state2, false);\n } else {\n if (node.stmt === STMT_STATE) {\n if (node.id === \"[*]\") {\n node.id = first ? parent.id + \"_start\" : parent.id + \"_end\";\n node.start = first;\n } else {\n node.id = node.id.trim();\n }\n }\n if (node.doc) {\n const doc = [];\n let currentDoc = [];\n let i;\n for (i = 0; i < node.doc.length; i++) {\n if (node.doc[i].type === DIVIDER_TYPE) {\n const newNode = clone(node.doc[i]);\n newNode.doc = clone(currentDoc);\n doc.push(newNode);\n currentDoc = [];\n } else {\n currentDoc.push(node.doc[i]);\n }\n }\n if (doc.length > 0 && currentDoc.length > 0) {\n const newNode = {\n stmt: STMT_STATE,\n id: generateId(),\n type: \"divider\",\n doc: clone(currentDoc)\n };\n doc.push(clone(newNode));\n node.doc = doc;\n }\n node.doc.forEach((docNode) => docTranslator(node, docNode, true));\n }\n }\n};\nconst getRootDocV2 = () => {\n docTranslator({ id: \"root\" }, { id: \"root\", doc: rootDoc }, true);\n return { id: \"root\", doc: rootDoc };\n};\nconst extract = (_doc) => {\n let doc;\n if (_doc.doc) {\n doc = _doc.doc;\n } else {\n doc = _doc;\n }\n log.info(doc);\n clear(true);\n log.info(\"Extract\", doc);\n doc.forEach((item) => {\n switch (item.stmt) {\n case STMT_STATE:\n addState(\n item.id.trim(),\n item.type,\n item.doc,\n item.description,\n item.note,\n item.classes,\n item.styles,\n item.textStyles\n );\n break;\n case STMT_RELATION:\n addRelation(item.state1, item.state2, item.description);\n break;\n case STMT_CLASSDEF:\n addStyleClass(item.id.trim(), item.classes);\n break;\n case STMT_APPLYCLASS:\n setCssClass(item.id.trim(), item.styleClass);\n break;\n }\n });\n};\nconst addState = function(id, type = DEFAULT_STATE_TYPE, doc = null, descr = null, note = null, classes2 = null, styles2 = null, textStyles = null) {\n const trimmedId = id == null ? void 0 : id.trim();\n if (currentDocument.states[trimmedId] === void 0) {\n log.info(\"Adding state \", trimmedId, descr);\n currentDocument.states[trimmedId] = {\n id: trimmedId,\n descriptions: [],\n type,\n doc,\n note,\n classes: [],\n styles: [],\n textStyles: []\n };\n } else {\n if (!currentDocument.states[trimmedId].doc) {\n currentDocument.states[trimmedId].doc = doc;\n }\n if (!currentDocument.states[trimmedId].type) {\n currentDocument.states[trimmedId].type = type;\n }\n }\n if (descr) {\n log.info(\"Setting state description\", trimmedId, descr);\n if (typeof descr === \"string\") {\n addDescription(trimmedId, descr.trim());\n }\n if (typeof descr === \"object\") {\n descr.forEach((des) => addDescription(trimmedId, des.trim()));\n }\n }\n if (note) {\n currentDocument.states[trimmedId].note = note;\n currentDocument.states[trimmedId].note.text = common.sanitizeText(\n currentDocument.states[trimmedId].note.text,\n getConfig()\n );\n }\n if (classes2) {\n log.info(\"Setting state classes\", trimmedId, classes2);\n const classesList = typeof classes2 === \"string\" ? [classes2] : classes2;\n classesList.forEach((cssClass) => setCssClass(trimmedId, cssClass.trim()));\n }\n if (styles2) {\n log.info(\"Setting state styles\", trimmedId, styles2);\n const stylesList = typeof styles2 === \"string\" ? [styles2] : styles2;\n stylesList.forEach((style) => setStyle(trimmedId, style.trim()));\n }\n if (textStyles) {\n log.info(\"Setting state styles\", trimmedId, styles2);\n const textStylesList = typeof textStyles === \"string\" ? [textStyles] : textStyles;\n textStylesList.forEach((textStyle) => setTextStyle(trimmedId, textStyle.trim()));\n }\n};\nconst clear = function(saveCommon) {\n documents = {\n root: newDoc()\n };\n currentDocument = documents.root;\n startEndCount = 0;\n classes = newClassesList();\n if (!saveCommon) {\n clear$1();\n }\n};\nconst getState = function(id) {\n return currentDocument.states[id];\n};\nconst getStates = function() {\n return currentDocument.states;\n};\nconst logDocuments = function() {\n log.info(\"Documents = \", documents);\n};\nconst getRelations = function() {\n return currentDocument.relations;\n};\nfunction startIdIfNeeded(id = \"\") {\n let fixedId = id;\n if (id === START_NODE) {\n startEndCount++;\n fixedId = `${START_TYPE}${startEndCount}`;\n }\n return fixedId;\n}\nfunction startTypeIfNeeded(id = \"\", type = DEFAULT_STATE_TYPE) {\n return id === START_NODE ? START_TYPE : type;\n}\nfunction endIdIfNeeded(id = \"\") {\n let fixedId = id;\n if (id === END_NODE) {\n startEndCount++;\n fixedId = `${END_TYPE}${startEndCount}`;\n }\n return fixedId;\n}\nfunction endTypeIfNeeded(id = \"\", type = DEFAULT_STATE_TYPE) {\n return id === END_NODE ? END_TYPE : type;\n}\nfunction addRelationObjs(item1, item2, relationTitle) {\n let id1 = startIdIfNeeded(item1.id.trim());\n let type1 = startTypeIfNeeded(item1.id.trim(), item1.type);\n let id2 = startIdIfNeeded(item2.id.trim());\n let type2 = startTypeIfNeeded(item2.id.trim(), item2.type);\n addState(\n id1,\n type1,\n item1.doc,\n item1.description,\n item1.note,\n item1.classes,\n item1.styles,\n item1.textStyles\n );\n addState(\n id2,\n type2,\n item2.doc,\n item2.description,\n item2.note,\n item2.classes,\n item2.styles,\n item2.textStyles\n );\n currentDocument.relations.push({\n id1,\n id2,\n relationTitle: common.sanitizeText(relationTitle, getConfig())\n });\n}\nconst addRelation = function(item1, item2, title) {\n if (typeof item1 === \"object\") {\n addRelationObjs(item1, item2, title);\n } else {\n const id1 = startIdIfNeeded(item1.trim());\n const type1 = startTypeIfNeeded(item1);\n const id2 = endIdIfNeeded(item2.trim());\n const type2 = endTypeIfNeeded(item2);\n addState(id1, type1);\n addState(id2, type2);\n currentDocument.relations.push({\n id1,\n id2,\n title: common.sanitizeText(title, getConfig())\n });\n }\n};\nconst addDescription = function(id, descr) {\n const theState = currentDocument.states[id];\n const _descr = descr.startsWith(\":\") ? descr.replace(\":\", \"\").trim() : descr;\n theState.descriptions.push(common.sanitizeText(_descr, getConfig()));\n};\nconst cleanupLabel = function(label) {\n if (label.substring(0, 1) === \":\") {\n return label.substr(2).trim();\n } else {\n return label.trim();\n }\n};\nconst getDividerId = () => {\n dividerCnt++;\n return \"divider-id-\" + dividerCnt;\n};\nconst addStyleClass = function(id, styleAttributes = \"\") {\n if (classes[id] === void 0) {\n classes[id] = { id, styles: [], textStyles: [] };\n }\n const foundClass = classes[id];\n if (styleAttributes !== void 0 && styleAttributes !== null) {\n styleAttributes.split(STYLECLASS_SEP).forEach((attrib) => {\n const fixedAttrib = attrib.replace(/([^;]*);/, \"$1\").trim();\n if (attrib.match(COLOR_KEYWORD)) {\n const newStyle1 = fixedAttrib.replace(FILL_KEYWORD, BG_FILL);\n const newStyle2 = newStyle1.replace(COLOR_KEYWORD, FILL_KEYWORD);\n foundClass.textStyles.push(newStyle2);\n }\n foundClass.styles.push(fixedAttrib);\n });\n }\n};\nconst getClasses = function() {\n return classes;\n};\nconst setCssClass = function(itemIds, cssClassName) {\n itemIds.split(\",\").forEach(function(id) {\n let foundState = getState(id);\n if (foundState === void 0) {\n const trimmedId = id.trim();\n addState(trimmedId);\n foundState = getState(trimmedId);\n }\n foundState.classes.push(cssClassName);\n });\n};\nconst setStyle = function(itemId, styleText) {\n const item = getState(itemId);\n if (item !== void 0) {\n item.textStyles.push(styleText);\n }\n};\nconst setTextStyle = function(itemId, cssClassName) {\n const item = getState(itemId);\n if (item !== void 0) {\n item.textStyles.push(cssClassName);\n }\n};\nconst getDirection = () => direction;\nconst setDirection = (dir) => {\n direction = dir;\n};\nconst trimColon = (str) => str && str[0] === \":\" ? str.substr(1).trim() : str.trim();\nconst db = {\n getConfig: () => getConfig().state,\n addState,\n clear,\n getState,\n getStates,\n getRelations,\n getClasses,\n getDirection,\n addRelation,\n getDividerId,\n setDirection,\n cleanupLabel,\n lineType,\n relationType,\n logDocuments,\n getRootDoc,\n setRootDoc,\n getRootDocV2,\n extract,\n trimColon,\n getAccTitle,\n setAccTitle,\n getAccDescription,\n setAccDescription,\n addStyleClass,\n setCssClass,\n addDescription,\n setDiagramTitle,\n getDiagramTitle\n};\nconst getStyles = (options) => `\ndefs #statediagram-barbEnd {\n fill: ${options.transitionColor};\n stroke: ${options.transitionColor};\n }\ng.stateGroup text {\n fill: ${options.nodeBorder};\n stroke: none;\n font-size: 10px;\n}\ng.stateGroup text {\n fill: ${options.textColor};\n stroke: none;\n font-size: 10px;\n\n}\ng.stateGroup .state-title {\n font-weight: bolder;\n fill: ${options.stateLabelColor};\n}\n\ng.stateGroup rect {\n fill: ${options.mainBkg};\n stroke: ${options.nodeBorder};\n}\n\ng.stateGroup line {\n stroke: ${options.lineColor};\n stroke-width: 1;\n}\n\n.transition {\n stroke: ${options.transitionColor};\n stroke-width: 1;\n fill: none;\n}\n\n.stateGroup .composit {\n fill: ${options.background};\n border-bottom: 1px\n}\n\n.stateGroup .alt-composit {\n fill: #e0e0e0;\n border-bottom: 1px\n}\n\n.state-note {\n stroke: ${options.noteBorderColor};\n fill: ${options.noteBkgColor};\n\n text {\n fill: ${options.noteTextColor};\n stroke: none;\n font-size: 10px;\n }\n}\n\n.stateLabel .box {\n stroke: none;\n stroke-width: 0;\n fill: ${options.mainBkg};\n opacity: 0.5;\n}\n\n.edgeLabel .label rect {\n fill: ${options.labelBackgroundColor};\n opacity: 0.5;\n}\n.edgeLabel .label text {\n fill: ${options.transitionLabelColor || options.tertiaryTextColor};\n}\n.label div .edgeLabel {\n color: ${options.transitionLabelColor || options.tertiaryTextColor};\n}\n\n.stateLabel text {\n fill: ${options.stateLabelColor};\n font-size: 10px;\n font-weight: bold;\n}\n\n.node circle.state-start {\n fill: ${options.specialStateColor};\n stroke: ${options.specialStateColor};\n}\n\n.node .fork-join {\n fill: ${options.specialStateColor};\n stroke: ${options.specialStateColor};\n}\n\n.node circle.state-end {\n fill: ${options.innerEndBackground};\n stroke: ${options.background};\n stroke-width: 1.5\n}\n.end-state-inner {\n fill: ${options.compositeBackground || options.background};\n // stroke: ${options.background};\n stroke-width: 1.5\n}\n\n.node rect {\n fill: ${options.stateBkg || options.mainBkg};\n stroke: ${options.stateBorder || options.nodeBorder};\n stroke-width: 1px;\n}\n.node polygon {\n fill: ${options.mainBkg};\n stroke: ${options.stateBorder || options.nodeBorder};;\n stroke-width: 1px;\n}\n#statediagram-barbEnd {\n fill: ${options.lineColor};\n}\n\n.statediagram-cluster rect {\n fill: ${options.compositeTitleBackground};\n stroke: ${options.stateBorder || options.nodeBorder};\n stroke-width: 1px;\n}\n\n.cluster-label, .nodeLabel {\n color: ${options.stateLabelColor};\n}\n\n.statediagram-cluster rect.outer {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state .divider {\n stroke: ${options.stateBorder || options.nodeBorder};\n}\n\n.statediagram-state .title-state {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-cluster.statediagram-cluster .inner {\n fill: ${options.compositeBackground || options.background};\n}\n.statediagram-cluster.statediagram-cluster-alt .inner {\n fill: ${options.altBackground ? options.altBackground : \"#efefef\"};\n}\n\n.statediagram-cluster .inner {\n rx:0;\n ry:0;\n}\n\n.statediagram-state rect.basic {\n rx: 5px;\n ry: 5px;\n}\n.statediagram-state rect.divider {\n stroke-dasharray: 10,10;\n fill: ${options.altBackground ? options.altBackground : \"#efefef\"};\n}\n\n.note-edge {\n stroke-dasharray: 5;\n}\n\n.statediagram-note rect {\n fill: ${options.noteBkgColor};\n stroke: ${options.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n.statediagram-note rect {\n fill: ${options.noteBkgColor};\n stroke: ${options.noteBorderColor};\n stroke-width: 1px;\n rx: 0;\n ry: 0;\n}\n\n.statediagram-note text {\n fill: ${options.noteTextColor};\n}\n\n.statediagram-note .nodeLabel {\n color: ${options.noteTextColor};\n}\n.statediagram .edgeLabel {\n color: red; // ${options.noteTextColor};\n}\n\n#dependencyStart, #dependencyEnd {\n fill: ${options.lineColor};\n stroke: ${options.lineColor};\n stroke-width: 1;\n}\n\n.statediagramTitleText {\n text-anchor: middle;\n font-size: 18px;\n fill: ${options.textColor};\n}\n`;\nconst styles = getStyles;\nexport {\n DEFAULT_STATE_TYPE as D,\n STMT_RELATION as S,\n DIVIDER_TYPE as a,\n STMT_STATE as b,\n DEFAULT_NESTED_DOC_DIR as c,\n db as d,\n parser$1 as p,\n styles as s\n};\n"],"names":["$parcel$export","e","n","v","s","Object","defineProperty","get","set","enumerable","configurable","parcelRequire","$parcel$global","globalThis","parcelRegister","register","module","exports","$26fa4064178fdeac$export$ffb5f4729a158638","$26fa4064178fdeac$export$db3b6bfb95261072","$26fa4064178fdeac$export$8b22cf2602fb60ce","$26fa4064178fdeac$export$25ce5a424b770e84","$26fa4064178fdeac$export$96f57966bedc81b4","$26fa4064178fdeac$export$407448d2b89b1813","$26fa4064178fdeac$export$4368d992c4eafac0","$26fa4064178fdeac$export$2408f22a0fab9ae5","$4jcZX","$26fa4064178fdeac$var$parser","o","k","o2","l","length","$V0","$V1","$V2","$V3","$V4","$V5","$V6","$V7","$V8","$V9","$Va","$Vb","$Vc","$Vd","$Ve","$Vf","$Vg","$Vh","$Vi","$Vj","$Vk","$Vl","$Vm","$Vn","$Vo","$Vp","$Vq","$Vr","$Vs","parser2","trace","yy","symbols_","terminals_","productions_","performAction","yytext","yyleng","yylineno","yystate","$$","_$","$0","setRootDoc","$","push","stateStmt","description","trimColon","stmt","state1","state2","relDescription","id","type","doc","trim","match","parts","split","getDividerId","note","position","text","setAccTitle","setAccDescription","classes","styleClass","setDirection","value","table","defaultActions","parseError","str","hash","recoverable","error","Error","parse","input","self","stack","tstack","vstack","lstack","args","slice","call","arguments","lexer2","create","lexer","sharedState","prototype","hasOwnProperty","setInput","parser","yylloc","yyloc","ranges","options","getPrototypeOf","symbol","state","action","r","p","len","newState","expected","yyval","lex","token","pop","Array","errStr","showPosition","join","line","loc","first_line","last_line","first_column","last_column","range","apply","concat","Parser","EOF","_input","_more","_backtrack","done","matched","conditionStack","offset","ch","unput","lines","substr","oldLines","more","reject","backtrack_lexer","less","pastInput","past","replace","upcomingInput","next","pre","c","test_match","indexed_rule","backup","matches","tempMatch","index","rules","_currentRules","i","flex","begin","condition","popState","conditions","topState","Math","abs","pushState","stateStackSize","yy_","$avoiding_name_collisions","YY_START","$26fa4064178fdeac$var$START_TYPE","$26fa4064178fdeac$var$COLOR_KEYWORD","$26fa4064178fdeac$var$FILL_KEYWORD","$26fa4064178fdeac$var$direction","$26fa4064178fdeac$var$rootDoc","$26fa4064178fdeac$var$classes","$26fa4064178fdeac$var$newDoc","relations","states","documents","$26fa4064178fdeac$var$documents","root","$26fa4064178fdeac$var$currentDocument","$26fa4064178fdeac$var$startEndCount","$26fa4064178fdeac$var$dividerCnt","$26fa4064178fdeac$var$clone","JSON","stringify","$26fa4064178fdeac$var$docTranslator","parent","node","first","start","currentDoc","newNode","I","forEach","docNode","$26fa4064178fdeac$var$addState","descr","classes2","styles2","textStyles","trimmedId","info","descriptions","styles","$26fa4064178fdeac$var$addDescription","des","sanitizeText","classesList","cssClass","$26fa4064178fdeac$var$setCssClass","stylesList","style","$26fa4064178fdeac$var$setStyle","textStylesList","textStyle","$26fa4064178fdeac$var$setTextStyle","$26fa4064178fdeac$var$clear","saveCommon","$26fa4064178fdeac$var$getState","$26fa4064178fdeac$var$startIdIfNeeded","fixedId","$26fa4064178fdeac$var$startTypeIfNeeded","$26fa4064178fdeac$var$addRelation","item1","item2","title","$26fa4064178fdeac$var$addRelationObjs","id1","type1","id2","type2","relationTitle","$26fa4064178fdeac$var$endIdIfNeeded","$26fa4064178fdeac$var$endTypeIfNeeded","theState","_descr","startsWith","$26fa4064178fdeac$var$addStyleClass","styleAttributes","foundClass","attrib","fixedAttrib","newStyle2","newStyle1","itemIds","cssClassName","foundState","itemId","styleText","item","getConfig","addState","clear","getState","getStates","getRelations","getClasses","getDirection","addRelation","dir","cleanupLabel","label","substring","lineType","LINE","DOTTED_LINE","relationType","AGGREGATION","EXTENSION","COMPOSITION","DEPENDENCY","logDocuments","getRootDoc","getRootDocV2","extract","_doc","getAccTitle","g","getAccDescription","a","b","addStyleClass","setCssClass","addDescription","setDiagramTitle","q","getDiagramTitle","t","transitionColor","nodeBorder","textColor","stateLabelColor","mainBkg","lineColor","background","noteBorderColor","noteBkgColor","noteTextColor","labelBackgroundColor","transitionLabelColor","tertiaryTextColor","specialStateColor","innerEndBackground","compositeBackground","stateBkg","stateBorder","compositeTitleBackground","altBackground"],"version":3,"file":"stateDiagram-5dee940d.fd4356c7.js.map"}