khoj 1.42.7.dev7__py3-none-any.whl → 1.42.7.dev11__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (156) hide show
  1. khoj/interface/compiled/404/index.html +2 -2
  2. khoj/interface/compiled/_next/static/chunks/1191.b547ec13349b4aed.js +1 -0
  3. khoj/interface/compiled/_next/static/chunks/1327-1a9107b9a2a04a98.js +20 -0
  4. khoj/interface/compiled/_next/static/chunks/1588.f0558a0bdffc4761.js +117 -0
  5. khoj/interface/compiled/_next/static/chunks/1915-5c6508f6ebb62a30.js +1 -0
  6. khoj/interface/compiled/_next/static/chunks/1918.925cb4a35518d258.js +43 -0
  7. khoj/interface/compiled/_next/static/chunks/{2117-3537ef9986be74d3.js → 2117-080746c8e170c81a.js} +1 -1
  8. khoj/interface/compiled/_next/static/chunks/2242.9a07e19f1a3a8b16.js +1 -0
  9. khoj/interface/compiled/_next/static/chunks/2327-ea623ca2d22f78e9.js +1 -0
  10. khoj/interface/compiled/_next/static/chunks/2612.bcf5a623b3da209e.js +131 -0
  11. khoj/interface/compiled/_next/static/chunks/2849.dc00ae5ba7219cfc.js +1 -0
  12. khoj/interface/compiled/_next/static/chunks/2939-4af3fd24b8ffc9ad.js +1 -0
  13. khoj/interface/compiled/_next/static/chunks/303.fe76de943e930fbd.js +1 -0
  14. khoj/interface/compiled/_next/static/chunks/3265.924139c4146ee344.js +1 -0
  15. khoj/interface/compiled/_next/static/chunks/{4299.2aaa569416cfc208.js → 3489.c523fe96a2eee74f.js} +4 -2
  16. khoj/interface/compiled/_next/static/chunks/3592-b2a2444b0ec7b119.js +1 -0
  17. khoj/interface/compiled/_next/static/chunks/3595-ac8e81e04ecb89cb.js +1 -0
  18. khoj/interface/compiled/_next/static/chunks/4327.8d2a1b8f1ea78208.js +60 -0
  19. khoj/interface/compiled/_next/static/chunks/4447-cd95608f8e93e711.js +1 -0
  20. khoj/interface/compiled/_next/static/chunks/4533.586e74b45a2bde25.js +55 -0
  21. khoj/interface/compiled/_next/static/chunks/4551.82ce1476b5516bc2.js +5 -0
  22. khoj/interface/compiled/_next/static/chunks/{4610.a1e7f40a759ed2aa.js → 4610.196691887afb7fea.js} +1 -1
  23. khoj/interface/compiled/_next/static/chunks/4748.0edd37cba3ea2809.js +59 -0
  24. khoj/interface/compiled/_next/static/chunks/4980.63500d68b3bb1222.js +166 -0
  25. khoj/interface/compiled/_next/static/chunks/5210.cd35a1c1ec594a20.js +93 -0
  26. khoj/interface/compiled/_next/static/chunks/5303-c65c9c6aeb263a0d.js +1 -0
  27. khoj/interface/compiled/_next/static/chunks/5329.f8b3c5b3d16159cd.js +1 -0
  28. khoj/interface/compiled/_next/static/chunks/5427-13d6ffd380fdfab7.js +1 -0
  29. khoj/interface/compiled/_next/static/chunks/5477-18323501c445315e.js +1 -0
  30. khoj/interface/compiled/_next/static/chunks/558-c14e76cff03f6a60.js +1 -0
  31. khoj/interface/compiled/_next/static/chunks/{7211-7fedd2ee3655239c.js → 5639-09e2009a2adedf8b.js} +43 -19
  32. khoj/interface/compiled/_next/static/chunks/5830.8876eccb82da9b7d.js +262 -0
  33. khoj/interface/compiled/_next/static/chunks/6230.88a71d8145347b3f.js +1 -0
  34. khoj/interface/compiled/_next/static/chunks/{6434.7afea9648e238ad5.js → 6434.e6cd986d690f2cef.js} +1 -1
  35. khoj/interface/compiled/_next/static/chunks/7127-880018d56c512906.js +1 -0
  36. khoj/interface/compiled/_next/static/chunks/{3305.1fc7297ba154ee95.js → 7161.77e0530a40ad5ca8.js} +1 -1
  37. khoj/interface/compiled/_next/static/chunks/{5555.f7cf9795d675de51.js → 7303.d0612f812a967a08.js} +2 -2
  38. khoj/interface/compiled/_next/static/chunks/7505.c31027a3695bdebb.js +148 -0
  39. khoj/interface/compiled/_next/static/chunks/{8673.be44c4d9e4f1d084.js → 7760.35649cc21d9585bd.js} +1 -1
  40. khoj/interface/compiled/_next/static/chunks/83.48e2db193a940052.js +1 -0
  41. khoj/interface/compiled/_next/static/chunks/8427.844694e06133fb51.js +1 -0
  42. khoj/interface/compiled/_next/static/chunks/8665.4db7e6b2e8933497.js +174 -0
  43. khoj/interface/compiled/_next/static/chunks/{7890.f681eb1d1f83bea2.js → 8694.2bd9c2f65d8c5847.js} +1 -1
  44. khoj/interface/compiled/_next/static/chunks/872.caf84cc1a39ae59f.js +1 -0
  45. khoj/interface/compiled/_next/static/chunks/{3332.6313db5217bb1b67.js → 8888.ebe0e552b59e7fed.js} +1 -1
  46. khoj/interface/compiled/_next/static/chunks/8890.6e8a59e4de6978bc.js +215 -0
  47. khoj/interface/compiled/_next/static/chunks/8950.5f2272e0ac923f9e.js +1 -0
  48. khoj/interface/compiled/_next/static/chunks/90542734.2c21f16f18b22411.js +1 -0
  49. khoj/interface/compiled/_next/static/chunks/9202.c703864fcedc8d1f.js +63 -0
  50. khoj/interface/compiled/_next/static/chunks/{9433.b1b5f5d050c43e3c.js → 9245.a04e92d034540234.js} +6 -6
  51. khoj/interface/compiled/_next/static/chunks/9320.6aca4885d541aa44.js +24 -0
  52. khoj/interface/compiled/_next/static/chunks/945-74376499b067d28e.js +1 -0
  53. khoj/interface/compiled/_next/static/chunks/9535.f78cd92d03331e55.js +1 -0
  54. khoj/interface/compiled/_next/static/chunks/9537-d9ab442ce15d1e20.js +1 -0
  55. khoj/interface/compiled/_next/static/chunks/9568-0d60ac475f4cc538.js +1 -0
  56. khoj/interface/compiled/_next/static/chunks/9968.b111fc002796da81.js +1 -0
  57. khoj/interface/compiled/_next/static/chunks/app/agents/layout-4e2a134ec26aa606.js +1 -0
  58. khoj/interface/compiled/_next/static/chunks/app/agents/page-5db6ad18da10d353.js +1 -0
  59. khoj/interface/compiled/_next/static/chunks/app/automations/{layout-7f5c33a70e46b3af.js → layout-63603d2cb33279f7.js} +1 -1
  60. khoj/interface/compiled/_next/static/chunks/app/automations/{page-1c2280ae9678b4ce.js → page-6271e2e31c7571d1.js} +1 -1
  61. khoj/interface/compiled/_next/static/chunks/app/chat/layout-ad4d1792ab1a4108.js +1 -0
  62. khoj/interface/compiled/_next/static/chunks/app/chat/page-76fc915800aa90f4.js +1 -0
  63. khoj/interface/compiled/_next/static/chunks/app/page-a19a597629e87fb8.js +1 -0
  64. khoj/interface/compiled/_next/static/chunks/app/search/page-fa366ac14b228688.js +1 -0
  65. khoj/interface/compiled/_next/static/chunks/app/settings/{layout-8a22f370d3eaeed3.js → layout-f88cedfe9ad4df7c.js} +1 -1
  66. khoj/interface/compiled/_next/static/chunks/app/settings/{page-4e8fdd30a3238357.js → page-8f9a85f96088c18b.js} +1 -1
  67. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-abb6c5f4239ad7be.js +1 -0
  68. khoj/interface/compiled/_next/static/chunks/app/share/chat/{page-27560c92db5fc2d9.js → page-ed7787cf4938b8e3.js} +1 -1
  69. khoj/interface/compiled/_next/static/chunks/{d3ac728e-07f1976c92cfb109.js → d3ac728e-4c56e7f41db266b7.js} +1 -1
  70. khoj/interface/compiled/_next/static/chunks/f3e3247b-1758d4651e4457c2.js +10 -0
  71. khoj/interface/compiled/_next/static/chunks/{main-63d6432f34cdf74b.js → main-fc8e0fefa2ef3d8c.js} +1 -1
  72. khoj/interface/compiled/_next/static/chunks/webpack-92ce8aaf95718ec4.js +1 -0
  73. khoj/interface/compiled/_next/static/css/{e1bf03aa79521f86.css → 02f60900b0d89ec7.css} +1 -1
  74. khoj/interface/compiled/_next/static/css/37a73b87f02df402.css +1 -0
  75. khoj/interface/compiled/_next/static/css/93eeacc43e261162.css +1 -0
  76. khoj/interface/compiled/_next/static/css/{e4eb883b5265d372.css → db7d90554f3ab82b.css} +1 -1
  77. khoj/interface/compiled/agents/index.html +2 -2
  78. khoj/interface/compiled/agents/index.txt +3 -3
  79. khoj/interface/compiled/automations/index.html +2 -2
  80. khoj/interface/compiled/automations/index.txt +4 -4
  81. khoj/interface/compiled/chat/index.html +2 -2
  82. khoj/interface/compiled/chat/index.txt +3 -3
  83. khoj/interface/compiled/index.html +2 -2
  84. khoj/interface/compiled/index.txt +3 -3
  85. khoj/interface/compiled/search/index.html +2 -2
  86. khoj/interface/compiled/search/index.txt +3 -3
  87. khoj/interface/compiled/settings/index.html +2 -2
  88. khoj/interface/compiled/settings/index.txt +5 -5
  89. khoj/interface/compiled/share/chat/index.html +2 -2
  90. khoj/interface/compiled/share/chat/index.txt +3 -3
  91. khoj/processor/tools/online_search.py +8 -1
  92. {khoj-1.42.7.dev7.dist-info → khoj-1.42.7.dev11.dist-info}/METADATA +1 -1
  93. {khoj-1.42.7.dev7.dist-info → khoj-1.42.7.dev11.dist-info}/RECORD +103 -101
  94. khoj/interface/compiled/_next/static/chunks/1243.ea2826fb35adb15a.js +0 -1
  95. khoj/interface/compiled/_next/static/chunks/133.392ae90c3b2a67f2.js +0 -1
  96. khoj/interface/compiled/_next/static/chunks/1592.b069bdb7aaddd2eb.js +0 -5
  97. khoj/interface/compiled/_next/static/chunks/1915-ab4353eaca76f690.js +0 -1
  98. khoj/interface/compiled/_next/static/chunks/2069.f060659791c0c484.js +0 -1
  99. khoj/interface/compiled/_next/static/chunks/2170.45431769330fa5b7.js +0 -134
  100. khoj/interface/compiled/_next/static/chunks/2327-024b9e0bd6d8c9eb.js +0 -1
  101. khoj/interface/compiled/_next/static/chunks/3237.c4754f02f1a388cb.js +0 -1
  102. khoj/interface/compiled/_next/static/chunks/3451.421db0b49fdbd881.js +0 -252
  103. khoj/interface/compiled/_next/static/chunks/3460.39c2b9b6a3898384.js +0 -159
  104. khoj/interface/compiled/_next/static/chunks/4327.238d15c09a039b8b.js +0 -60
  105. khoj/interface/compiled/_next/static/chunks/4357-d86d3401f6f6f802.js +0 -1
  106. khoj/interface/compiled/_next/static/chunks/4363-4efaf12abe696251.js +0 -20
  107. khoj/interface/compiled/_next/static/chunks/4415.e0c0da5eedae4dd7.js +0 -47
  108. khoj/interface/compiled/_next/static/chunks/4447-5d44807c40355b1a.js +0 -1
  109. khoj/interface/compiled/_next/static/chunks/4650.41f041da0ad365ad.js +0 -215
  110. khoj/interface/compiled/_next/static/chunks/479.a7e0c9cfc376a695.js +0 -1
  111. khoj/interface/compiled/_next/static/chunks/4872.5422e8324272ab40.js +0 -1
  112. khoj/interface/compiled/_next/static/chunks/5061.79a660faed0e16a9.js +0 -1
  113. khoj/interface/compiled/_next/static/chunks/5279.85d537880b8041ae.js +0 -24
  114. khoj/interface/compiled/_next/static/chunks/5402.b9460f1b16b57e92.js +0 -63
  115. khoj/interface/compiled/_next/static/chunks/5427-442f34b514b9fc26.js +0 -1
  116. khoj/interface/compiled/_next/static/chunks/5473-921e17a6177f9729.js +0 -1
  117. khoj/interface/compiled/_next/static/chunks/5477-b91e9926cfc3095c.js +0 -1
  118. khoj/interface/compiled/_next/static/chunks/5621-415bdc6c7b57af11.js +0 -1
  119. khoj/interface/compiled/_next/static/chunks/58.f4bd8a3c9d88f5fe.js +0 -46
  120. khoj/interface/compiled/_next/static/chunks/5854-745bea90ea77a1c7.js +0 -1
  121. khoj/interface/compiled/_next/static/chunks/5978.ddc72cd73130aadc.js +0 -1
  122. khoj/interface/compiled/_next/static/chunks/6663-133d5db72d2d5f24.js +0 -1
  123. khoj/interface/compiled/_next/static/chunks/7127-a75d1b7b16c90ab0.js +0 -1
  124. khoj/interface/compiled/_next/static/chunks/7140.4be689873f6a2d1f.js +0 -116
  125. khoj/interface/compiled/_next/static/chunks/7647-2aa4cf0e69b7a84d.js +0 -1
  126. khoj/interface/compiled/_next/static/chunks/7836.86884157d53d23a1.js +0 -117
  127. khoj/interface/compiled/_next/static/chunks/7953.f6fc335a23efb959.js +0 -1
  128. khoj/interface/compiled/_next/static/chunks/8254.3145a4fbdcfdca46.js +0 -1
  129. khoj/interface/compiled/_next/static/chunks/8400.c95e4e79bcd79a56.js +0 -78
  130. khoj/interface/compiled/_next/static/chunks/8698.a088118fef40d302.js +0 -1
  131. khoj/interface/compiled/_next/static/chunks/9022.33974a513a281fd2.js +0 -151
  132. khoj/interface/compiled/_next/static/chunks/90542734.9e6e44b1b45b30fe.js +0 -1
  133. khoj/interface/compiled/_next/static/chunks/9259-d8bcd9da9e80c81e.js +0 -1
  134. khoj/interface/compiled/_next/static/chunks/9334-b22127fe2d39bc60.js +0 -1
  135. khoj/interface/compiled/_next/static/chunks/9822.34f293973c4e9b04.js +0 -1
  136. khoj/interface/compiled/_next/static/chunks/app/agents/layout-e00fb81dca656a10.js +0 -1
  137. khoj/interface/compiled/_next/static/chunks/app/agents/page-e18e67cff45758c8.js +0 -1
  138. khoj/interface/compiled/_next/static/chunks/app/chat/layout-d5ae861e1ade9d08.js +0 -1
  139. khoj/interface/compiled/_next/static/chunks/app/chat/page-0cb925fc23ccec3b.js +0 -1
  140. khoj/interface/compiled/_next/static/chunks/app/page-a4b97dd0c2a70cfb.js +0 -1
  141. khoj/interface/compiled/_next/static/chunks/app/search/page-44072d929427ee56.js +0 -1
  142. khoj/interface/compiled/_next/static/chunks/app/share/chat/layout-b3f7ae1ef8871d30.js +0 -1
  143. khoj/interface/compiled/_next/static/chunks/ebbfb5c1-a73c51b6a41a5ff6.js +0 -10
  144. khoj/interface/compiled/_next/static/chunks/webpack-34ac812e4e4e9a50.js +0 -1
  145. khoj/interface/compiled/_next/static/css/1e9b757ee2a2b34b.css +0 -1
  146. khoj/interface/compiled/_next/static/css/ee66643a6a5bf71c.css +0 -1
  147. /khoj/interface/compiled/_next/static/chunks/{7200-cabc57d26c4b32da.js → 7200-ac3b2e37ff30e126.js} +0 -0
  148. /khoj/interface/compiled/_next/static/chunks/{8667-adbe6017a66cef10.js → 8667-50b03a89e82e0ba7.js} +0 -0
  149. /khoj/interface/compiled/_next/static/chunks/app/_not-found/{page-0ec97c4970898f2d.js → page-84f94d15b2da4eac.js} +0 -0
  150. /khoj/interface/compiled/_next/static/chunks/app/{layout-baa6e7974e560a7a.js → layout-a0c5495d6c582cea.js} +0 -0
  151. /khoj/interface/compiled/_next/static/chunks/{fd9d1056-7454f5bbfcf5bd5b.js → fd9d1056-aa94101ec5388dba.js} +0 -0
  152. /khoj/interface/compiled/_next/static/{ewACU62P02Uk-G-qzM6Ds → oIcJmH5ry9NelqshWDMlq}/_buildManifest.js +0 -0
  153. /khoj/interface/compiled/_next/static/{ewACU62P02Uk-G-qzM6Ds → oIcJmH5ry9NelqshWDMlq}/_ssgManifest.js +0 -0
  154. {khoj-1.42.7.dev7.dist-info → khoj-1.42.7.dev11.dist-info}/WHEEL +0 -0
  155. {khoj-1.42.7.dev7.dist-info → khoj-1.42.7.dev11.dist-info}/entry_points.txt +0 -0
  156. {khoj-1.42.7.dev7.dist-info → khoj-1.42.7.dev11.dist-info}/licenses/LICENSE +0 -0
@@ -1,151 +0,0 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9022],{26160:function(e,t,s){var r=s(51778),i=s(29534);t.Z=(e,t)=>r.Z.lang.round(i.Z.parse(e)[t])},3434:function(e,t,s){s.d(t,{j:function(){return n},q:function(){return u}});var r=s(30086),i=s(15440),u=(0,r.eW)((e,t)=>{let s;return"sandbox"===t&&(s=(0,i.Ys)("#i"+e)),("sandbox"===t?(0,i.Ys)(s.nodes()[0].contentDocument.body):(0,i.Ys)("body")).select(`[id="${e}"]`)},"getDiagramElement"),n=(0,r.eW)((e,t,s,i)=>{e.attr("class",s);let{width:u,height:n,x:l,y:c}=a(e,t);(0,r.v2)(e,n,u,i);let h=o(l,c,u,n,t);e.attr("viewBox",h),r.cM.debug(`viewBox configured: ${h} with padding: ${t}`)},"setupViewPortForSVG"),a=(0,r.eW)((e,t)=>{let s=e.node()?.getBBox()||{width:0,height:0,x:0,y:0};return{width:s.width+2*t,height:s.height+2*t,x:s.x,y:s.y}},"calculateDimensionsWithPadding"),o=(0,r.eW)((e,t,s,r,i)=>`${e-i} ${t-i} ${s} ${r}`,"createViewBox")},9022:function(e,t,s){s.d(t,{diagram:function(){return em}});var r,i,u=s(3434),n=s(69684),a=s(91936);s(21783);var o=s(65903);s(66384),s(19529),s(75794),s(1816);var l=s(86954),c=s(30086),h=s(15440),d=s(26160),p=s(835),A=0,g=(0,c.nV)(),f=new Map,y=[],b=new Map,k=[],E=new Map,m=new Map,D=0,x=!0,C=[],T=(0,c.eW)(e=>c.SY.sanitizeText(e,g),"sanitizeText"),F=(0,c.eW)(function(e){for(let t of f.values())if(t.id===e)return t.domId;return e},"lookUpDomId"),S=(0,c.eW)(function(e,t,s,r,i,u,a={},l){let h;if(!e||0===e.trim().length)return;let d=f.get(e);if(void 0===d&&(d={id:e,labelType:"text",domId:"flowchart-"+e+"-"+A,styles:[],classes:[]},f.set(e,d)),A++,void 0!==t?(g=(0,c.nV)(),h=T(t.text.trim()),d.labelType=t.type,h.startsWith('"')&&h.endsWith('"')&&(h=h.substring(1,h.length-1)),d.text=h):void 0===d.text&&(d.text=e),void 0!==s&&(d.type=s),null!=r&&r.forEach(function(e){d.styles.push(e)}),null!=i&&i.forEach(function(e){d.classes.push(e)}),void 0!==u&&(d.dir=u),void 0===d.props?d.props=a:void 0!==a&&Object.assign(d.props,a),void 0!==l){let t;t=l.includes("\n")?l+"\n":"{\n"+l+"\n}";let s=(0,n.z)(t,{schema:n.A});if(s.shape){if(s.shape!==s.shape.toLowerCase()||s.shape.includes("_"))throw Error(`No such shape: ${s.shape}. Shape names should be lowercase.`);if(!(0,o.dW)(s.shape))throw Error(`No such shape: ${s.shape}.`);d.type=s?.shape}s?.label&&(d.text=s?.label),s?.icon&&(d.icon=s?.icon,s.label?.trim()||d.text!==e||(d.text="")),s?.form&&(d.form=s?.form),s?.pos&&(d.pos=s?.pos),s?.img&&(d.img=s?.img,s.label?.trim()||d.text!==e||(d.text="")),s?.constraint&&(d.constraint=s.constraint),s.w&&(d.assetWidth=Number(s.w)),s.h&&(d.assetHeight=Number(s.h))}},"addVertex"),_=(0,c.eW)(function(e,t,s){let r={start:e,end:t,type:void 0,text:"",labelType:"text"};c.cM.info("abc78 Got edge...",r);let i=s.text;if(void 0!==i&&(r.text=T(i.text.trim()),r.text.startsWith('"')&&r.text.endsWith('"')&&(r.text=r.text.substring(1,r.text.length-1)),r.labelType=i.type),void 0!==s&&(r.type=s.type,r.stroke=s.stroke,r.length=s.length>10?10:s.length),y.length<(g.maxEdges??500))c.cM.info("Pushing edge..."),y.push(r);else throw Error(`Edge limit exceeded. ${y.length} edges found, but the limit is ${g.maxEdges}.
2
-
3
- Initialize mermaid with maxEdges set to a higher number to allow more edges.
4
- You cannot set this config via configuration inside the diagram as it is a secure config.
5
- You have to call mermaid.initialize.`)},"addSingleLink"),B=(0,c.eW)(function(e,t,s){for(let r of(c.cM.info("addLink",e,t,s),e))for(let e of t)_(r,e,s)},"addLink"),v=(0,c.eW)(function(e,t){e.forEach(function(e){"default"===e?y.defaultInterpolate=t:y[e].interpolate=t})},"updateLinkInterpolate"),w=(0,c.eW)(function(e,t){e.forEach(function(e){if("number"==typeof e&&e>=y.length)throw Error(`The index ${e} for linkStyle is out of bounds. Valid indices for linkStyle are between 0 and ${y.length-1}. (Help: Ensure that the index is within the range of existing edges.)`);"default"===e?y.defaultStyle=t:(y[e].style=t,(y[e]?.style?.length??0)>0&&!y[e]?.style?.some(e=>e?.startsWith("fill"))&&y[e]?.style?.push("fill:none"))})},"updateLink"),$=(0,c.eW)(function(e,t){e.split(",").forEach(function(e){let s=b.get(e);void 0===s&&(s={id:e,styles:[],textStyles:[]},b.set(e,s)),null!=t&&t.forEach(function(e){if(/color/.exec(e)){let t=e.replace("fill","bgFill");s.textStyles.push(t)}s.styles.push(e)})})},"addClass"),L=(0,c.eW)(function(e){r=e,/.*</.exec(r)&&(r="RL"),/.*\^/.exec(r)&&(r="BT"),/.*>/.exec(r)&&(r="LR"),/.*v/.exec(r)&&(r="TB"),"TD"===r&&(r="TB")},"setDirection"),W=(0,c.eW)(function(e,t){for(let s of e.split(",")){let e=f.get(s);e&&e.classes.push(t);let r=E.get(s);r&&r.classes.push(t)}},"setClass"),I=(0,c.eW)(function(e,t){if(void 0!==t)for(let s of(t=T(t),e.split(",")))m.set("gen-1"===i?F(s):s,t)},"setTooltip"),N=(0,c.eW)(function(e,t,s){let r=F(e);if("loose"!==(0,c.nV)().securityLevel||void 0===t)return;let i=[];if("string"==typeof s){i=s.split(/,(?=(?:(?:[^"]*"){2})*[^"]*$)/);for(let e=0;e<i.length;e++){let t=i[e].trim();t.startsWith('"')&&t.endsWith('"')&&(t=t.substr(1,t.length-2)),i[e]=t}}0===i.length&&i.push(e);let u=f.get(e);u&&(u.haveCallback=!0,C.push(function(){let e=document.querySelector(`[id="${r}"]`);null!==e&&e.addEventListener("click",function(){l.w8.runFunc(t,...i)},!1)}))},"setClickFun"),R=(0,c.eW)(function(e,t,s){e.split(",").forEach(function(e){let r=f.get(e);void 0!==r&&(r.link=l.w8.formatUrl(t,g),r.linkTarget=s)}),W(e,"clickable")},"setLink"),P=(0,c.eW)(function(e){return m.get(e)},"getTooltip"),M=(0,c.eW)(function(e,t,s){e.split(",").forEach(function(e){N(e,t,s)}),W(e,"clickable")},"setClickEvent"),O=(0,c.eW)(function(e){C.forEach(function(t){t(e)})},"bindFunctions"),V=(0,c.eW)(function(){return r.trim()},"getDirection"),U=(0,c.eW)(function(){return f},"getVertices"),G=(0,c.eW)(function(){return y},"getEdges"),Y=(0,c.eW)(function(){return b},"getClasses"),K=(0,c.eW)(function(e){let t=(0,h.Ys)(".mermaidTooltip");null===(t._groups||t)[0][0]&&(t=(0,h.Ys)("body").append("div").attr("class","mermaidTooltip").style("opacity",0)),(0,h.Ys)(e).select("svg").selectAll("g.node").on("mouseover",function(){let e=(0,h.Ys)(this);if(null===e.attr("title"))return;let s=this?.getBoundingClientRect();t.transition().duration(200).style("opacity",".9"),t.text(e.attr("title")).style("left",window.scrollX+s.left+(s.right-s.left)/2+"px").style("top",window.scrollY+s.bottom+"px"),t.html(t.html().replace(/&lt;br\/&gt;/g,"<br/>")),e.classed("hover",!0)}).on("mouseout",function(){t.transition().duration(500).style("opacity",0),(0,h.Ys)(this).classed("hover",!1)})},"setupToolTips");C.push(K);var j=(0,c.eW)(function(e="gen-1"){f=new Map,b=new Map,y=[],C=[K],k=[],E=new Map,D=0,m=new Map,x=!0,i=e,g=(0,c.nV)(),(0,c.ZH)()},"clear"),z=(0,c.eW)(e=>{i=e||"gen-2"},"setGen"),H=(0,c.eW)(function(){return"fill:#ffa;stroke: #f66; stroke-width: 3px; stroke-dasharray: 5, 5;fill:#ffa;stroke: #666;"},"defaultStyle"),q=(0,c.eW)(function(e,t,s){let r=e.text.trim(),u=s.text;function n(e){let t;let s={boolean:{},number:{},string:{}},r=[];return{nodeList:e.filter(function(e){let i=typeof e;return e.stmt&&"dir"===e.stmt?(t=e.value,!1):""!==e.trim()&&(i in s?!s[i].hasOwnProperty(e)&&(s[i][e]=!0):!r.includes(e)&&r.push(e))}),dir:t}}e===s&&/\s/.exec(s.text)&&(r=void 0),(0,c.eW)(n,"uniq");let{nodeList:a,dir:o}=n(t.flat());if("gen-1"===i)for(let e=0;e<a.length;e++)a[e]=F(a[e]);r=r??"subGraph"+D,u=T(u=u||""),D+=1;let l={id:r,nodes:a,title:u.trim(),classes:[],dir:o,labelType:s.type};return c.cM.info("Adding",l.id,l.nodes,l.dir),l.nodes=el(l,k).nodes,k.push(l),E.set(r,l),r},"addSubGraph"),X=(0,c.eW)(function(e){for(let[t,s]of k.entries())if(s.id===e)return t;return -1},"getPosForId"),Z=-1,Q=[],J=(0,c.eW)(function(e,t){let s=k[t].nodes;if((Z+=1)>2e3)return{result:!1,count:0};if(Q[Z]=t,k[t].id===e)return{result:!0,count:0};let r=0,i=1;for(;r<s.length;){let t=X(s[r]);if(t>=0){let s=J(e,t);if(s.result)return{result:!0,count:i+s.count};i+=s.count}r+=1}return{result:!1,count:i}},"indexNodes2"),ee=(0,c.eW)(function(e){return Q[e]},"getDepthFirstPos"),et=(0,c.eW)(function(){Z=-1,k.length>0&&J("none",k.length-1)},"indexNodes"),es=(0,c.eW)(function(){return k},"getSubGraphs"),er=(0,c.eW)(()=>!!x&&(x=!1,!0),"firstGraph"),ei=(0,c.eW)(e=>{let t=e.trim(),s="arrow_open";switch(t[0]){case"<":s="arrow_point",t=t.slice(1);break;case"x":s="arrow_cross",t=t.slice(1);break;case"o":s="arrow_circle",t=t.slice(1)}let r="normal";return t.includes("=")&&(r="thick"),t.includes(".")&&(r="dotted"),{type:s,stroke:r}},"destructStartLink"),eu=(0,c.eW)((e,t)=>{let s=t.length,r=0;for(let i=0;i<s;++i)t[i]===e&&++r;return r},"countChar"),en=(0,c.eW)(e=>{let t=e.trim(),s=t.slice(0,-1),r="arrow_open";switch(t.slice(-1)){case"x":r="arrow_cross",t.startsWith("x")&&(r="double_"+r,s=s.slice(1));break;case">":r="arrow_point",t.startsWith("<")&&(r="double_"+r,s=s.slice(1));break;case"o":r="arrow_circle",t.startsWith("o")&&(r="double_"+r,s=s.slice(1))}let i="normal",u=s.length-1;s.startsWith("=")&&(i="thick"),s.startsWith("~")&&(i="invisible");let n=eu(".",s);return n&&(i="dotted",u=n),{type:r,stroke:i,length:u}},"destructEndLink"),ea=(0,c.eW)((e,t)=>{let s;let r=en(e);if(t){if((s=ei(t)).stroke!==r.stroke)return{type:"INVALID",stroke:"INVALID"};if("arrow_open"===s.type)s.type=r.type;else{if(s.type!==r.type)return{type:"INVALID",stroke:"INVALID"};s.type="double_"+s.type}return"double_arrow"===s.type&&(s.type="double_arrow_point"),s.length=r.length,s}return r},"destructLink"),eo=(0,c.eW)((e,t)=>{for(let s of e)if(s.nodes.includes(t))return!0;return!1},"exists"),el=(0,c.eW)((e,t)=>{let s=[];return e.nodes.forEach((r,i)=>{eo(t,r)||s.push(e.nodes[i])}),{nodes:s}},"makeUniq"),ec=(0,c.eW)(e=>{if(e.img)return"imageSquare";if(e.icon)return"circle"===e.form?"iconCircle":"square"===e.form?"iconSquare":"rounded"===e.form?"iconRounded":"icon";switch(e.type){case"square":case void 0:return"squareRect";case"round":return"roundedRect";case"ellipse":return"ellipse";default:return e.type}},"getTypeFromVertex"),eh=(0,c.eW)((e,t)=>e.find(e=>e.id===t),"findNode"),ed=(0,c.eW)(e=>{let t="none",s="arrow_point";switch(e){case"arrow_point":case"arrow_circle":case"arrow_cross":s=e;break;case"double_arrow_point":case"double_arrow_circle":case"double_arrow_cross":s=t=e.replace("double_","")}return{arrowTypeStart:t,arrowTypeEnd:s}},"destructEdgeType"),ep=(0,c.eW)((e,t,s,r,i,u)=>{let n=s.get(e.id),a=r.get(e.id)??!1,o=eh(t,e.id);if(o)o.cssStyles=e.styles,o.cssCompiledStyles=eA(e.classes),o.cssClasses=e.classes.join(" ");else{let s={id:e.id,label:e.text,labelStyle:"",parentId:n,padding:i.flowchart?.padding||8,cssStyles:e.styles,cssCompiledStyles:eA(["default","node",...e.classes]),cssClasses:"default "+e.classes.join(" "),dir:e.dir,domId:e.domId,look:u,link:e.link,linkTarget:e.linkTarget,tooltip:P(e.id),icon:e.icon,pos:e.pos,img:e.img,assetWidth:e.assetWidth,assetHeight:e.assetHeight,constraint:e.constraint};a?t.push({...s,isGroup:!0,shape:"rect"}):t.push({...s,isGroup:!1,shape:ec(e)})}},"addNodeFromVertex");function eA(e){let t=[];for(let s of e){let e=b.get(s);e?.styles&&(t=[...t,...e.styles??[]].map(e=>e.trim())),e?.textStyles&&(t=[...t,...e.textStyles??[]].map(e=>e.trim()))}return t}(0,c.eW)(eA,"getCompiledStyles");var eg=(0,c.eW)(()=>{let e=(0,c.nV)(),t=[],s=[],r=es(),i=new Map,u=new Map;for(let e=r.length-1;e>=0;e--){let t=r[e];for(let e of(t.nodes.length>0&&u.set(t.id,!0),t.nodes))i.set(e,t.id)}for(let s=r.length-1;s>=0;s--){let u=r[s];t.push({id:u.id,label:u.title,labelStyle:"",parentId:i.get(u.id),padding:8,cssCompiledStyles:eA(u.classes),cssClasses:u.classes.join(" "),shape:"rect",dir:u.dir,isGroup:!0,look:e.look})}U().forEach(s=>{ep(s,t,i,u,e,e.look||"classic")});let n=G();return n.forEach((t,r)=>{let{arrowTypeStart:i,arrowTypeEnd:u}=ed(t.type),a=[...n.defaultStyle??[]];t.style&&a.push(...t.style);let o={id:(0,l.Ln)(t.start,t.end,{counter:r,prefix:"L"}),start:t.start,end:t.end,type:t.type??"normal",label:t.text,labelpos:"c",thickness:t.stroke,minlen:t.length,classes:t?.stroke==="invisible"?"":"edge-thickness-normal edge-pattern-solid flowchart-link",arrowTypeStart:t?.stroke==="invisible"?"none":i,arrowTypeEnd:t?.stroke==="invisible"?"none":u,arrowheadStyle:"fill: #333",labelStyle:a,style:a,pattern:t.stroke,look:e.look};s.push(o)}),{nodes:t,edges:s,other:{},config:e}},"getData"),ef={defaultConfig:(0,c.eW)(()=>c.Fy.flowchart,"defaultConfig"),setAccTitle:c.GN,getAccTitle:c.eu,getAccDescription:c.Mx,getData:eg,setAccDescription:c.U$,addVertex:S,lookUpDomId:F,addLink:B,updateLinkInterpolate:v,updateLink:w,addClass:$,setDirection:L,setClass:W,setTooltip:I,getTooltip:P,setClickEvent:M,setLink:R,bindFunctions:O,getDirection:V,getVertices:U,getEdges:G,getClasses:Y,clear:j,setGen:z,defaultStyle:H,addSubGraph:q,getDepthFirstPos:ee,indexNodes:et,getSubGraphs:es,destructLink:ea,lex:{firstGraph:er},exists:eo,makeUniq:el,setDiagramTitle:c.g2,getDiagramTitle:c.Kr},ey=(0,c.eW)(function(e,t){return t.db.getClasses()},"getClasses"),eb=(0,c.eW)(async function(e,t,s,r){let i;c.cM.info("REF0:"),c.cM.info("Drawing state diagram (v2)",t);let{securityLevel:n,flowchart:o,layout:d}=(0,c.nV)();"sandbox"===n&&(i=(0,h.Ys)("#i"+t));let p="sandbox"===n?i.nodes()[0].contentDocument:document;c.cM.debug("Before getData: ");let A=r.db.getData();c.cM.debug("Data: ",A);let g=(0,u.q)(t,n),f=V();A.type=r.type,A.layoutAlgorithm=(0,a._b)(d),"dagre"===A.layoutAlgorithm&&"elk"===d&&c.cM.warn("flowchart-elk was moved to an external package in Mermaid v11. Please refer [release notes](https://github.com/mermaid-js/mermaid/releases/tag/v11.0.0) for more details. This diagram will be rendered using `dagre` layout as a fallback."),A.direction=f,A.nodeSpacing=o?.nodeSpacing||50,A.rankSpacing=o?.rankSpacing||50,A.markers=["point","circle","cross"],A.diagramId=t,c.cM.debug("REF1:",A),await (0,a.sY)(A,g);let y=A.config.flowchart?.diagramPadding??8;for(let e of(l.w8.insertTitle(g,"flowchartTitleText",o?.titleTopMargin||0,r.db.getDiagramTitle()),(0,u.j)(g,y,"flowchart",o?.useMaxWidth||!1),A.nodes)){let s=(0,h.Ys)(`#${t} [id="${e.id}"]`);if(!s||!e.link)continue;let r=p.createElementNS("http://www.w3.org/2000/svg","a");r.setAttributeNS("http://www.w3.org/2000/svg","class",e.cssClasses),r.setAttributeNS("http://www.w3.org/2000/svg","rel","noopener"),"sandbox"===n?r.setAttributeNS("http://www.w3.org/2000/svg","target","_top"):e.linkTarget&&r.setAttributeNS("http://www.w3.org/2000/svg","target",e.linkTarget);let i=s.insert(function(){return r},":first-child"),u=s.select(".label-container");u&&i.append(function(){return u.node()});let a=s.select(".label");a&&i.append(function(){return a.node()})}},"draw"),ek=function(){var e=(0,c.eW)(function(e,t,s,r){for(s=s||{},r=e.length;r--;s[e[r]]=t);return s},"o"),t=[1,4],s=[1,3],r=[1,5],i=[1,8,9,10,11,27,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],u=[2,2],n=[1,13],a=[1,14],o=[1,15],l=[1,16],h=[1,23],d=[1,25],p=[1,26],A=[1,27],g=[1,49],f=[1,48],y=[1,29],b=[1,30],k=[1,31],E=[1,32],m=[1,33],D=[1,44],x=[1,46],C=[1,42],T=[1,47],F=[1,43],S=[1,50],_=[1,45],B=[1,51],v=[1,52],w=[1,34],$=[1,35],L=[1,36],W=[1,37],I=[1,57],N=[1,8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],R=[1,61],P=[1,60],M=[1,62],O=[8,9,11,75,77],V=[1,77],U=[1,90],G=[1,95],Y=[1,94],K=[1,91],j=[1,87],z=[1,93],H=[1,89],q=[1,96],X=[1,92],Z=[1,97],Q=[1,88],J=[8,9,10,11,40,75,77],ee=[8,9,10,11,40,46,75,77],et=[8,9,10,11,29,40,44,46,48,50,52,54,56,58,60,63,65,67,68,70,75,77,88,101,104,105,108,110,113,114,115],es=[8,9,11,44,60,75,77,88,101,104,105,108,110,113,114,115],er=[44,60,88,101,104,105,108,110,113,114,115],ei=[1,123],eu=[1,122],en=[1,130],ea=[1,144],eo=[1,145],el=[1,146],ec=[1,147],eh=[1,132],ed=[1,134],ep=[1,138],eA=[1,139],eg=[1,140],ef=[1,141],ey=[1,142],eb=[1,143],ek=[1,148],eE=[1,149],em=[1,128],eD=[1,129],ex=[1,136],eC=[1,131],eT=[1,135],eF=[1,133],eS=[8,9,10,11,27,32,34,36,38,44,60,83,84,85,86,87,88,101,104,105,108,110,113,114,115,120,121,122,123],e_=[1,151],eB=[1,153],ev=[8,9,11],ew=[8,9,10,11,14,44,60,88,104,105,108,110,113,114,115],e$=[1,173],eL=[1,169],eW=[1,170],eI=[1,174],eN=[1,171],eR=[1,172],eP=[77,115,118],eM=[8,9,10,11,12,14,27,29,32,44,60,75,83,84,85,86,87,88,89,104,108,110,113,114,115],eO=[10,105],eV=[31,49,51,53,55,57,62,64,66,67,69,71,115,116,117],eU=[1,242],eG=[1,240],eY=[1,244],eK=[1,238],ej=[1,239],ez=[1,241],eH=[1,243],eq=[1,245],eX=[1,263],eZ=[8,9,11,105],eQ=[8,9,10,11,60,83,104,105,108,109,110,111],eJ={trace:(0,c.eW)(function(){},"trace"),yy:{},symbols_:{error:2,start:3,graphConfig:4,document:5,line:6,statement:7,SEMI:8,NEWLINE:9,SPACE:10,EOF:11,GRAPH:12,NODIR:13,DIR:14,FirstStmtSeparator:15,ending:16,endToken:17,spaceList:18,spaceListNewline:19,vertexStatement:20,separator:21,styleStatement:22,linkStyleStatement:23,classDefStatement:24,classStatement:25,clickStatement:26,subgraph:27,textNoTags:28,SQS:29,text:30,SQE:31,end:32,direction:33,acc_title:34,acc_title_value:35,acc_descr:36,acc_descr_value:37,acc_descr_multiline_value:38,shapeData:39,SHAPE_DATA:40,link:41,node:42,styledVertex:43,AMP:44,vertex:45,STYLE_SEPARATOR:46,idString:47,DOUBLECIRCLESTART:48,DOUBLECIRCLEEND:49,PS:50,PE:51,"(-":52,"-)":53,STADIUMSTART:54,STADIUMEND:55,SUBROUTINESTART:56,SUBROUTINEEND:57,VERTEX_WITH_PROPS_START:58,"NODE_STRING[field]":59,COLON:60,"NODE_STRING[value]":61,PIPE:62,CYLINDERSTART:63,CYLINDEREND:64,DIAMOND_START:65,DIAMOND_STOP:66,TAGEND:67,TRAPSTART:68,TRAPEND:69,INVTRAPSTART:70,INVTRAPEND:71,linkStatement:72,arrowText:73,TESTSTR:74,START_LINK:75,edgeText:76,LINK:77,edgeTextToken:78,STR:79,MD_STR:80,textToken:81,keywords:82,STYLE:83,LINKSTYLE:84,CLASSDEF:85,CLASS:86,CLICK:87,DOWN:88,UP:89,textNoTagsToken:90,stylesOpt:91,"idString[vertex]":92,"idString[class]":93,CALLBACKNAME:94,CALLBACKARGS:95,HREF:96,LINK_TARGET:97,"STR[link]":98,"STR[tooltip]":99,alphaNum:100,DEFAULT:101,numList:102,INTERPOLATE:103,NUM:104,COMMA:105,style:106,styleComponent:107,NODE_STRING:108,UNIT:109,BRKT:110,PCT:111,idStringToken:112,MINUS:113,MULT:114,UNICODE_TEXT:115,TEXT:116,TAGSTART:117,EDGE_TEXT:118,alphaNumToken:119,direction_tb:120,direction_bt:121,direction_rl:122,direction_lr:123,$accept:0,$end:1},terminals_:{2:"error",8:"SEMI",9:"NEWLINE",10:"SPACE",11:"EOF",12:"GRAPH",13:"NODIR",14:"DIR",27:"subgraph",29:"SQS",31:"SQE",32:"end",34:"acc_title",35:"acc_title_value",36:"acc_descr",37:"acc_descr_value",38:"acc_descr_multiline_value",40:"SHAPE_DATA",44:"AMP",46:"STYLE_SEPARATOR",48:"DOUBLECIRCLESTART",49:"DOUBLECIRCLEEND",50:"PS",51:"PE",52:"(-",53:"-)",54:"STADIUMSTART",55:"STADIUMEND",56:"SUBROUTINESTART",57:"SUBROUTINEEND",58:"VERTEX_WITH_PROPS_START",59:"NODE_STRING[field]",60:"COLON",61:"NODE_STRING[value]",62:"PIPE",63:"CYLINDERSTART",64:"CYLINDEREND",65:"DIAMOND_START",66:"DIAMOND_STOP",67:"TAGEND",68:"TRAPSTART",69:"TRAPEND",70:"INVTRAPSTART",71:"INVTRAPEND",74:"TESTSTR",75:"START_LINK",77:"LINK",79:"STR",80:"MD_STR",83:"STYLE",84:"LINKSTYLE",85:"CLASSDEF",86:"CLASS",87:"CLICK",88:"DOWN",89:"UP",92:"idString[vertex]",93:"idString[class]",94:"CALLBACKNAME",95:"CALLBACKARGS",96:"HREF",97:"LINK_TARGET",98:"STR[link]",99:"STR[tooltip]",101:"DEFAULT",103:"INTERPOLATE",104:"NUM",105:"COMMA",108:"NODE_STRING",109:"UNIT",110:"BRKT",111:"PCT",113:"MINUS",114:"MULT",115:"UNICODE_TEXT",116:"TEXT",117:"TAGSTART",118:"EDGE_TEXT",120:"direction_tb",121:"direction_bt",122:"direction_rl",123:"direction_lr"},productions_:[0,[3,2],[5,0],[5,2],[6,1],[6,1],[6,1],[6,1],[6,1],[4,2],[4,2],[4,2],[4,3],[16,2],[16,1],[17,1],[17,1],[17,1],[15,1],[15,1],[15,2],[19,2],[19,2],[19,1],[19,1],[18,2],[18,1],[7,2],[7,2],[7,2],[7,2],[7,2],[7,2],[7,9],[7,6],[7,4],[7,1],[7,2],[7,2],[7,1],[21,1],[21,1],[21,1],[39,2],[39,1],[20,4],[20,3],[20,4],[20,2],[20,2],[20,1],[42,1],[42,6],[42,5],[43,1],[43,3],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,8],[45,4],[45,4],[45,4],[45,6],[45,4],[45,4],[45,4],[45,4],[45,4],[45,1],[41,2],[41,3],[41,3],[41,1],[41,3],[76,1],[76,2],[76,1],[76,1],[72,1],[73,3],[30,1],[30,2],[30,1],[30,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[82,1],[28,1],[28,2],[28,1],[28,1],[24,5],[25,5],[26,2],[26,4],[26,3],[26,5],[26,3],[26,5],[26,5],[26,7],[26,2],[26,4],[26,2],[26,4],[26,4],[26,6],[22,5],[23,5],[23,5],[23,9],[23,9],[23,7],[23,7],[102,1],[102,3],[91,1],[91,3],[106,1],[106,2],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[107,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[112,1],[81,1],[81,1],[81,1],[81,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[90,1],[78,1],[78,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[119,1],[47,1],[47,2],[100,1],[100,2],[33,1],[33,1],[33,1],[33,1]],performAction:(0,c.eW)(function(e,t,s,r,i,u,n){var a=u.length-1;switch(i){case 2:case 28:case 29:case 30:case 31:case 32:this.$=[];break;case 3:(!Array.isArray(u[a])||u[a].length>0)&&u[a-1].push(u[a]),this.$=u[a-1];break;case 4:case 181:case 44:case 54:case 76:case 179:this.$=u[a];break;case 11:r.setDirection("TB"),this.$="TB";break;case 12:r.setDirection(u[a-1]),this.$=u[a-1];break;case 27:this.$=u[a-1].nodes;break;case 33:this.$=r.addSubGraph(u[a-6],u[a-1],u[a-4]);break;case 34:this.$=r.addSubGraph(u[a-3],u[a-1],u[a-3]);break;case 35:this.$=r.addSubGraph(void 0,u[a-1],void 0);break;case 37:this.$=u[a].trim(),r.setAccTitle(this.$);break;case 38:case 39:this.$=u[a].trim(),r.setAccDescription(this.$);break;case 43:case 131:this.$=u[a-1]+u[a];break;case 45:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 46:r.addLink(u[a-2].stmt,u[a],u[a-1]),this.$={stmt:u[a],nodes:u[a].concat(u[a-2].nodes)};break;case 47:r.addLink(u[a-3].stmt,u[a-1],u[a-2]),this.$={stmt:u[a-1],nodes:u[a-1].concat(u[a-3].nodes)};break;case 48:this.$={stmt:u[a-1],nodes:u[a-1]};break;case 49:r.addVertex(u[a-1][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a]),this.$={stmt:u[a-1],nodes:u[a-1],shapeData:u[a]};break;case 50:this.$={stmt:u[a],nodes:u[a]};break;case 51:case 126:case 128:this.$=[u[a]];break;case 52:r.addVertex(u[a-5][0],void 0,void 0,void 0,void 0,void 0,void 0,u[a-4]),this.$=u[a-5].concat(u[a]);break;case 53:this.$=u[a-4].concat(u[a]);break;case 55:this.$=u[a-2],r.setClass(u[a-2],u[a]);break;case 56:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"square");break;case 57:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"doublecircle");break;case 58:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"circle");break;case 59:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"ellipse");break;case 60:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"stadium");break;case 61:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"subroutine");break;case 62:this.$=u[a-7],r.addVertex(u[a-7],u[a-1],"rect",void 0,void 0,void 0,Object.fromEntries([[u[a-5],u[a-3]]]));break;case 63:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"cylinder");break;case 64:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"round");break;case 65:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"diamond");break;case 66:this.$=u[a-5],r.addVertex(u[a-5],u[a-2],"hexagon");break;case 67:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"odd");break;case 68:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"trapezoid");break;case 69:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"inv_trapezoid");break;case 70:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_right");break;case 71:this.$=u[a-3],r.addVertex(u[a-3],u[a-1],"lean_left");break;case 72:this.$=u[a],r.addVertex(u[a]);break;case 73:u[a-1].text=u[a],this.$=u[a-1];break;case 74:case 75:u[a-2].text=u[a-1],this.$=u[a-2];break;case 77:var o=r.destructLink(u[a],u[a-2]);this.$={type:o.type,stroke:o.stroke,length:o.length,text:u[a-1]};break;case 78:case 84:case 99:case 101:this.$={text:u[a],type:"text"};break;case 79:case 85:case 100:this.$={text:u[a-1].text+""+u[a],type:u[a-1].type};break;case 80:case 86:this.$={text:u[a],type:"string"};break;case 81:case 87:case 102:this.$={text:u[a],type:"markdown"};break;case 82:var o=r.destructLink(u[a]);this.$={type:o.type,stroke:o.stroke,length:o.length};break;case 83:this.$=u[a-1];break;case 103:this.$=u[a-4],r.addClass(u[a-2],u[a]);break;case 104:this.$=u[a-4],r.setClass(u[a-2],u[a]);break;case 105:case 113:this.$=u[a-1],r.setClickEvent(u[a-1],u[a]);break;case 106:case 114:this.$=u[a-3],r.setClickEvent(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 107:this.$=u[a-2],r.setClickEvent(u[a-2],u[a-1],u[a]);break;case 108:this.$=u[a-4],r.setClickEvent(u[a-4],u[a-3],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 109:this.$=u[a-2],r.setLink(u[a-2],u[a]);break;case 110:this.$=u[a-4],r.setLink(u[a-4],u[a-2]),r.setTooltip(u[a-4],u[a]);break;case 111:this.$=u[a-4],r.setLink(u[a-4],u[a-2],u[a]);break;case 112:this.$=u[a-6],r.setLink(u[a-6],u[a-4],u[a]),r.setTooltip(u[a-6],u[a-2]);break;case 115:this.$=u[a-1],r.setLink(u[a-1],u[a]);break;case 116:this.$=u[a-3],r.setLink(u[a-3],u[a-2]),r.setTooltip(u[a-3],u[a]);break;case 117:this.$=u[a-3],r.setLink(u[a-3],u[a-2],u[a]);break;case 118:this.$=u[a-5],r.setLink(u[a-5],u[a-4],u[a]),r.setTooltip(u[a-5],u[a-2]);break;case 119:this.$=u[a-4],r.addVertex(u[a-2],void 0,void 0,u[a]);break;case 120:this.$=u[a-4],r.updateLink([u[a-2]],u[a]);break;case 121:this.$=u[a-4],r.updateLink(u[a-2],u[a]);break;case 122:this.$=u[a-8],r.updateLinkInterpolate([u[a-6]],u[a-2]),r.updateLink([u[a-6]],u[a]);break;case 123:this.$=u[a-8],r.updateLinkInterpolate(u[a-6],u[a-2]),r.updateLink(u[a-6],u[a]);break;case 124:this.$=u[a-6],r.updateLinkInterpolate([u[a-4]],u[a]);break;case 125:this.$=u[a-6],r.updateLinkInterpolate(u[a-4],u[a]);break;case 127:case 129:u[a-2].push(u[a]),this.$=u[a-2];break;case 180:case 182:this.$=u[a-1]+""+u[a];break;case 183:this.$={stmt:"dir",value:"TB"};break;case 184:this.$={stmt:"dir",value:"BT"};break;case 185:this.$={stmt:"dir",value:"RL"};break;case 186:this.$={stmt:"dir",value:"LR"}}},"anonymous"),table:[{3:1,4:2,9:t,10:s,12:r},{1:[3]},e(i,u,{5:6}),{4:7,9:t,10:s,12:r},{4:8,9:t,10:s,12:r},{13:[1,9],14:[1,10]},{1:[2,1],6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(i,[2,9]),e(i,[2,10]),e(i,[2,11]),{8:[1,54],9:[1,55],10:I,15:53,18:56},e(N,[2,3]),e(N,[2,4]),e(N,[2,5]),e(N,[2,6]),e(N,[2,7]),e(N,[2,8]),{8:R,9:P,11:M,21:58,41:59,72:63,75:[1,64],77:[1,65]},{8:R,9:P,11:M,21:66},{8:R,9:P,11:M,21:67},{8:R,9:P,11:M,21:68},{8:R,9:P,11:M,21:69},{8:R,9:P,11:M,21:70},{8:R,9:P,10:[1,71],11:M,21:72},e(N,[2,36]),{35:[1,73]},{37:[1,74]},e(N,[2,39]),e(O,[2,50],{18:75,39:76,10:I,40:V}),{10:[1,78]},{10:[1,79]},{10:[1,80]},{10:[1,81]},{14:U,44:G,60:Y,79:[1,85],88:K,94:[1,82],96:[1,83],100:84,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},e(N,[2,183]),e(N,[2,184]),e(N,[2,185]),e(N,[2,186]),e(J,[2,51]),e(J,[2,54],{46:[1,98]}),e(ee,[2,72],{112:111,29:[1,99],44:g,48:[1,100],50:[1,101],52:[1,102],54:[1,103],56:[1,104],58:[1,105],60:f,63:[1,106],65:[1,107],67:[1,108],68:[1,109],70:[1,110],88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(et,[2,179]),e(et,[2,140]),e(et,[2,141]),e(et,[2,142]),e(et,[2,143]),e(et,[2,144]),e(et,[2,145]),e(et,[2,146]),e(et,[2,147]),e(et,[2,148]),e(et,[2,149]),e(et,[2,150]),e(i,[2,12]),e(i,[2,18]),e(i,[2,19]),{9:[1,112]},e(es,[2,26],{18:113,10:I}),e(N,[2,27]),{42:114,43:38,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(N,[2,40]),e(N,[2,41]),e(N,[2,42]),e(er,[2,76],{73:115,62:[1,117],74:[1,116]}),{76:118,78:119,79:[1,120],80:[1,121],115:ei,118:eu},e([44,60,62,74,88,101,104,105,108,110,113,114,115],[2,82]),e(N,[2,28]),e(N,[2,29]),e(N,[2,30]),e(N,[2,31]),e(N,[2,32]),{10:en,12:ea,14:eo,27:el,28:124,32:ec,44:eh,60:ed,75:ep,79:[1,126],80:[1,127],82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:125,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eS,u,{5:150}),e(N,[2,37]),e(N,[2,38]),e(O,[2,48],{44:e_}),e(O,[2,49],{18:152,10:I,40:eB}),e(J,[2,44]),{44:g,47:154,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{101:[1,155],102:156,104:[1,157]},{44:g,47:158,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{44:g,47:159,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,105],{10:[1,160],95:[1,161]}),{79:[1,162]},e(ev,[2,113],{119:164,10:[1,163],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,115],{10:[1,165]}),e(ew,[2,181]),e(ew,[2,168]),e(ew,[2,169]),e(ew,[2,170]),e(ew,[2,171]),e(ew,[2,172]),e(ew,[2,173]),e(ew,[2,174]),e(ew,[2,175]),e(ew,[2,176]),e(ew,[2,177]),e(ew,[2,178]),{44:g,47:166,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{30:167,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:175,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:177,50:[1,176],67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:178,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:179,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:180,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{108:[1,181]},{30:182,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:183,65:[1,184],67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:185,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:186,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{30:187,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},e(et,[2,180]),e(i,[2,20]),e(es,[2,25]),e(O,[2,46],{39:188,18:189,10:I,40:V}),e(er,[2,73],{10:[1,190]}),{10:[1,191]},{30:192,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{77:[1,193],78:194,115:ei,118:eu},e(eP,[2,78]),e(eP,[2,80]),e(eP,[2,81]),e(eP,[2,166]),e(eP,[2,167]),{8:R,9:P,10:en,11:M,12:ea,14:eo,21:196,27:el,29:[1,195],32:ec,44:eh,60:ed,75:ep,82:137,83:eA,84:eg,85:ef,86:ey,87:eb,88:ek,89:eE,90:197,104:em,108:eD,110:ex,113:eC,114:eT,115:eF},e(eM,[2,99]),e(eM,[2,101]),e(eM,[2,102]),e(eM,[2,155]),e(eM,[2,156]),e(eM,[2,157]),e(eM,[2,158]),e(eM,[2,159]),e(eM,[2,160]),e(eM,[2,161]),e(eM,[2,162]),e(eM,[2,163]),e(eM,[2,164]),e(eM,[2,165]),e(eM,[2,88]),e(eM,[2,89]),e(eM,[2,90]),e(eM,[2,91]),e(eM,[2,92]),e(eM,[2,93]),e(eM,[2,94]),e(eM,[2,95]),e(eM,[2,96]),e(eM,[2,97]),e(eM,[2,98]),{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,198],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:I,18:199},{44:[1,200]},e(J,[2,43]),{10:[1,201],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,202]},{10:[1,203],105:[1,204]},e(eO,[2,126]),{10:[1,205],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{10:[1,206],44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:111,113:_,114:B,115:v},{79:[1,207]},e(ev,[2,107],{10:[1,208]}),e(ev,[2,109],{10:[1,209]}),{79:[1,210]},e(ew,[2,182]),{79:[1,211],97:[1,212]},e(J,[2,55],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),{31:[1,213],67:e$,81:214,115:eI,116:eN,117:eR},e(eV,[2,84]),e(eV,[2,86]),e(eV,[2,87]),e(eV,[2,151]),e(eV,[2,152]),e(eV,[2,153]),e(eV,[2,154]),{49:[1,215],67:e$,81:214,115:eI,116:eN,117:eR},{30:216,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{51:[1,217],67:e$,81:214,115:eI,116:eN,117:eR},{53:[1,218],67:e$,81:214,115:eI,116:eN,117:eR},{55:[1,219],67:e$,81:214,115:eI,116:eN,117:eR},{57:[1,220],67:e$,81:214,115:eI,116:eN,117:eR},{60:[1,221]},{64:[1,222],67:e$,81:214,115:eI,116:eN,117:eR},{66:[1,223],67:e$,81:214,115:eI,116:eN,117:eR},{30:224,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},{31:[1,225],67:e$,81:214,115:eI,116:eN,117:eR},{67:e$,69:[1,226],71:[1,227],81:214,115:eI,116:eN,117:eR},{67:e$,69:[1,229],71:[1,228],81:214,115:eI,116:eN,117:eR},e(O,[2,45],{18:152,10:I,40:eB}),e(O,[2,47],{44:e_}),e(er,[2,75]),e(er,[2,74]),{62:[1,230],67:e$,81:214,115:eI,116:eN,117:eR},e(er,[2,77]),e(eP,[2,79]),{30:231,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},e(eS,u,{5:232}),e(eM,[2,100]),e(N,[2,35]),{43:233,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},{10:I,18:234},{10:eU,60:eG,83:eY,91:235,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:246,103:[1,247],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:248,103:[1,249],104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{104:[1,250]},{10:eU,60:eG,83:eY,91:251,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{44:g,47:252,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,106]),{79:[1,253]},{79:[1,254],97:[1,255]},e(ev,[2,114]),e(ev,[2,116],{10:[1,256]}),e(ev,[2,117]),e(ee,[2,56]),e(eV,[2,85]),e(ee,[2,57]),{51:[1,257],67:e$,81:214,115:eI,116:eN,117:eR},e(ee,[2,64]),e(ee,[2,59]),e(ee,[2,60]),e(ee,[2,61]),{108:[1,258]},e(ee,[2,63]),e(ee,[2,65]),{66:[1,259],67:e$,81:214,115:eI,116:eN,117:eR},e(ee,[2,67]),e(ee,[2,68]),e(ee,[2,70]),e(ee,[2,69]),e(ee,[2,71]),e([10,44,60,88,101,104,105,108,110,113,114,115],[2,83]),{31:[1,260],67:e$,81:214,115:eI,116:eN,117:eR},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,261],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},e(J,[2,53]),{43:262,44:g,45:39,47:40,60:f,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v},e(ev,[2,119],{105:eX}),e(eZ,[2,128],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(eQ,[2,130]),e(eQ,[2,132]),e(eQ,[2,133]),e(eQ,[2,134]),e(eQ,[2,135]),e(eQ,[2,136]),e(eQ,[2,137]),e(eQ,[2,138]),e(eQ,[2,139]),e(ev,[2,120],{105:eX}),{10:[1,265]},e(ev,[2,121],{105:eX}),{10:[1,266]},e(eO,[2,127]),e(ev,[2,103],{105:eX}),e(ev,[2,104],{112:111,44:g,60:f,88:D,101:x,104:C,105:T,108:F,110:S,113:_,114:B,115:v}),e(ev,[2,108]),e(ev,[2,110],{10:[1,267]}),e(ev,[2,111]),{97:[1,268]},{51:[1,269]},{62:[1,270]},{66:[1,271]},{8:R,9:P,11:M,21:272},e(N,[2,34]),e(J,[2,52]),{10:eU,60:eG,83:eY,104:eK,106:273,107:237,108:ej,109:ez,110:eH,111:eq},e(eQ,[2,131]),{14:U,44:G,60:Y,88:K,100:274,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{14:U,44:G,60:Y,88:K,100:275,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q,119:86},{97:[1,276]},e(ev,[2,118]),e(ee,[2,58]),{30:277,67:e$,79:eL,80:eW,81:168,115:eI,116:eN,117:eR},e(ee,[2,66]),e(eS,u,{5:278}),e(eZ,[2,129],{107:264,10:eU,60:eG,83:eY,104:eK,108:ej,109:ez,110:eH,111:eq}),e(ev,[2,124],{119:164,10:[1,279],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,125],{119:164,10:[1,280],14:U,44:G,60:Y,88:K,104:j,105:z,108:H,110:q,113:X,114:Z,115:Q}),e(ev,[2,112]),{31:[1,281],67:e$,81:214,115:eI,116:eN,117:eR},{6:11,7:12,8:n,9:a,10:o,11:l,20:17,22:18,23:19,24:20,25:21,26:22,27:h,32:[1,282],33:24,34:d,36:p,38:A,42:28,43:38,44:g,45:39,47:40,60:f,83:y,84:b,85:k,86:E,87:m,88:D,101:x,104:C,105:T,108:F,110:S,112:41,113:_,114:B,115:v,120:w,121:$,122:L,123:W},{10:eU,60:eG,83:eY,91:283,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},{10:eU,60:eG,83:eY,91:284,104:eK,106:236,107:237,108:ej,109:ez,110:eH,111:eq},e(ee,[2,62]),e(N,[2,33]),e(ev,[2,122],{105:eX}),e(ev,[2,123],{105:eX})],defaultActions:{},parseError:(0,c.eW)(function(e,t){if(t.recoverable)this.trace(e);else{var s=Error(e);throw s.hash=t,s}},"parseError"),parse:(0,c.eW)(function(e){var t=this,s=[0],r=[],i=[null],u=[],n=this.table,a="",o=0,l=0,h=0,d=u.slice.call(arguments,1),p=Object.create(this.lexer),A={yy:{}};for(var g in this.yy)Object.prototype.hasOwnProperty.call(this.yy,g)&&(A.yy[g]=this.yy[g]);p.setInput(e,A.yy),A.yy.lexer=p,A.yy.parser=this,void 0===p.yylloc&&(p.yylloc={});var f=p.yylloc;u.push(f);var y=p.options&&p.options.ranges;function b(){var e;return"number"!=typeof(e=r.pop()||p.lex()||1)&&(e instanceof Array&&(e=(r=e).pop()),e=t.symbols_[e]||e),e}"function"==typeof A.yy.parseError?this.parseError=A.yy.parseError:this.parseError=Object.getPrototypeOf(this).parseError,(0,c.eW)(function(e){s.length=s.length-2*e,i.length=i.length-e,u.length=u.length-e},"popStack"),(0,c.eW)(b,"lex");for(var k,E,m,D,x,C,T,F,S,_={};;){if(m=s[s.length-1],this.defaultActions[m]?D=this.defaultActions[m]:(null==k&&(k=b()),D=n[m]&&n[m][k]),void 0===D||!D.length||!D[0]){var B="";for(C in S=[],n[m])this.terminals_[C]&&C>2&&S.push("'"+this.terminals_[C]+"'");B=p.showPosition?"Parse error on line "+(o+1)+":\n"+p.showPosition()+"\nExpecting "+S.join(", ")+", got '"+(this.terminals_[k]||k)+"'":"Parse error on line "+(o+1)+": Unexpected "+(1==k?"end of input":"'"+(this.terminals_[k]||k)+"'"),this.parseError(B,{text:p.match,token:this.terminals_[k]||k,line:p.yylineno,loc:f,expected:S})}if(D[0]instanceof Array&&D.length>1)throw Error("Parse Error: multiple actions possible at state: "+m+", token: "+k);switch(D[0]){case 1:s.push(k),i.push(p.yytext),u.push(p.yylloc),s.push(D[1]),k=null,E?(k=E,E=null):(l=p.yyleng,a=p.yytext,o=p.yylineno,f=p.yylloc,h>0&&h--);break;case 2:if(T=this.productions_[D[1]][1],_.$=i[i.length-T],_._$={first_line:u[u.length-(T||1)].first_line,last_line:u[u.length-1].last_line,first_column:u[u.length-(T||1)].first_column,last_column:u[u.length-1].last_column},y&&(_._$.range=[u[u.length-(T||1)].range[0],u[u.length-1].range[1]]),void 0!==(x=this.performAction.apply(_,[a,l,o,A.yy,D[1],i,u].concat(d))))return x;T&&(s=s.slice(0,-1*T*2),i=i.slice(0,-1*T),u=u.slice(0,-1*T)),s.push(this.productions_[D[1]][0]),i.push(_.$),u.push(_._$),F=n[s[s.length-2]][s[s.length-1]],s.push(F);break;case 3:return!0}}return!0},"parse")},e1={EOF:1,parseError:(0,c.eW)(function(e,t){if(this.yy.parser)this.yy.parser.parseError(e,t);else throw Error(e)},"parseError"),setInput:(0,c.eW)(function(e,t){return this.yy=t||this.yy||{},this._input=e,this._more=this._backtrack=this.done=!1,this.yylineno=this.yyleng=0,this.yytext=this.matched=this.match="",this.conditionStack=["INITIAL"],this.yylloc={first_line:1,first_column:0,last_line:1,last_column:0},this.options.ranges&&(this.yylloc.range=[0,0]),this.offset=0,this},"setInput"),input:(0,c.eW)(function(){var e=this._input[0];return this.yytext+=e,this.yyleng++,this.offset++,this.match+=e,this.matched+=e,e.match(/(?:\r\n?|\n).*/g)?(this.yylineno++,this.yylloc.last_line++):this.yylloc.last_column++,this.options.ranges&&this.yylloc.range[1]++,this._input=this._input.slice(1),e},"input"),unput:(0,c.eW)(function(e){var t=e.length,s=e.split(/(?:\r\n?|\n)/g);this._input=e+this._input,this.yytext=this.yytext.substr(0,this.yytext.length-t),this.offset-=t;var r=this.match.split(/(?:\r\n?|\n)/g);this.match=this.match.substr(0,this.match.length-1),this.matched=this.matched.substr(0,this.matched.length-1),s.length-1&&(this.yylineno-=s.length-1);var i=this.yylloc.range;return this.yylloc={first_line:this.yylloc.first_line,last_line:this.yylineno+1,first_column:this.yylloc.first_column,last_column:s?(s.length===r.length?this.yylloc.first_column:0)+r[r.length-s.length].length-s[0].length:this.yylloc.first_column-t},this.options.ranges&&(this.yylloc.range=[i[0],i[0]+this.yyleng-t]),this.yyleng=this.yytext.length,this},"unput"),more:(0,c.eW)(function(){return this._more=!0,this},"more"),reject:(0,c.eW)(function(){return this.options.backtrack_lexer?(this._backtrack=!0,this):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(),{text:"",token:null,line:this.yylineno})},"reject"),less:(0,c.eW)(function(e){this.unput(this.match.slice(e))},"less"),pastInput:(0,c.eW)(function(){var e=this.matched.substr(0,this.matched.length-this.match.length);return(e.length>20?"...":"")+e.substr(-20).replace(/\n/g,"")},"pastInput"),upcomingInput:(0,c.eW)(function(){var e=this.match;return e.length<20&&(e+=this._input.substr(0,20-e.length)),(e.substr(0,20)+(e.length>20?"...":"")).replace(/\n/g,"")},"upcomingInput"),showPosition:(0,c.eW)(function(){var e=this.pastInput(),t=Array(e.length+1).join("-");return e+this.upcomingInput()+"\n"+t+"^"},"showPosition"),test_match:(0,c.eW)(function(e,t){var s,r,i;if(this.options.backtrack_lexer&&(i={yylineno:this.yylineno,yylloc:{first_line:this.yylloc.first_line,last_line:this.last_line,first_column:this.yylloc.first_column,last_column:this.yylloc.last_column},yytext:this.yytext,match:this.match,matches:this.matches,matched:this.matched,yyleng:this.yyleng,offset:this.offset,_more:this._more,_input:this._input,yy:this.yy,conditionStack:this.conditionStack.slice(0),done:this.done},this.options.ranges&&(i.yylloc.range=this.yylloc.range.slice(0))),(r=e[0].match(/(?:\r\n?|\n).*/g))&&(this.yylineno+=r.length),this.yylloc={first_line:this.yylloc.last_line,last_line:this.yylineno+1,first_column:this.yylloc.last_column,last_column:r?r[r.length-1].length-r[r.length-1].match(/\r?\n?/)[0].length:this.yylloc.last_column+e[0].length},this.yytext+=e[0],this.match+=e[0],this.matches=e,this.yyleng=this.yytext.length,this.options.ranges&&(this.yylloc.range=[this.offset,this.offset+=this.yyleng]),this._more=!1,this._backtrack=!1,this._input=this._input.slice(e[0].length),this.matched+=e[0],s=this.performAction.call(this,this.yy,this,t,this.conditionStack[this.conditionStack.length-1]),this.done&&this._input&&(this.done=!1),s)return s;if(this._backtrack)for(var u in i)this[u]=i[u];return!1},"test_match"),next:(0,c.eW)(function(){if(this.done)return this.EOF;this._input||(this.done=!0),this._more||(this.yytext="",this.match="");for(var e,t,s,r,i=this._currentRules(),u=0;u<i.length;u++)if((s=this._input.match(this.rules[i[u]]))&&(!t||s[0].length>t[0].length)){if(t=s,r=u,this.options.backtrack_lexer){if(!1!==(e=this.test_match(s,i[u])))return e;if(!this._backtrack)return!1;t=!1;continue}if(!this.options.flex)break}return t?!1!==(e=this.test_match(t,i[r]))&&e:""===this._input?this.EOF:this.parseError("Lexical error on line "+(this.yylineno+1)+". Unrecognized text.\n"+this.showPosition(),{text:"",token:null,line:this.yylineno})},"next"),lex:(0,c.eW)(function(){return this.next()||this.lex()},"lex"),begin:(0,c.eW)(function(e){this.conditionStack.push(e)},"begin"),popState:(0,c.eW)(function(){return this.conditionStack.length-1>0?this.conditionStack.pop():this.conditionStack[0]},"popState"),_currentRules:(0,c.eW)(function(){return this.conditionStack.length&&this.conditionStack[this.conditionStack.length-1]?this.conditions[this.conditionStack[this.conditionStack.length-1]].rules:this.conditions.INITIAL.rules},"_currentRules"),topState:(0,c.eW)(function(e){return(e=this.conditionStack.length-1-Math.abs(e||0))>=0?this.conditionStack[e]:"INITIAL"},"topState"),pushState:(0,c.eW)(function(e){this.begin(e)},"pushState"),stateStackSize:(0,c.eW)(function(){return this.conditionStack.length},"stateStackSize"),options:{},performAction:(0,c.eW)(function(e,t,s,r){switch(s){case 0:return this.begin("acc_title"),34;case 1:return this.popState(),"acc_title_value";case 2:return this.begin("acc_descr"),36;case 3:return this.popState(),"acc_descr_value";case 4:this.begin("acc_descr_multiline");break;case 5:case 12:case 14:case 17:case 20:case 23:case 33:this.popState();break;case 6:return"acc_descr_multiline_value";case 7:return this.pushState("shapeData"),t.yytext="",40;case 8:return this.pushState("shapeDataStr"),40;case 9:return this.popState(),40;case 10:return t.yytext=t.yytext.replace(/\n\s*/g,"<br/>"),40;case 11:return 40;case 13:this.begin("callbackname");break;case 15:this.popState(),this.begin("callbackargs");break;case 16:return 94;case 18:return 95;case 19:return"MD_STR";case 21:this.begin("md_string");break;case 22:return"STR";case 24:this.pushState("string");break;case 25:return 83;case 26:return 101;case 27:return 84;case 28:return 103;case 29:return 85;case 30:return 86;case 31:return 96;case 32:this.begin("click");break;case 34:return 87;case 35:case 36:case 37:return e.lex.firstGraph()&&this.begin("dir"),12;case 38:return 27;case 39:return 32;case 40:case 41:case 42:case 43:return 97;case 44:return this.popState(),13;case 45:case 46:case 47:case 48:case 49:case 50:case 51:case 52:case 53:case 54:return this.popState(),14;case 55:return 120;case 56:return 121;case 57:return 122;case 58:return 123;case 59:return 104;case 60:case 101:return 110;case 61:return 46;case 62:return 60;case 63:case 102:return 44;case 64:return 8;case 65:return 105;case 66:case 100:return 114;case 67:case 70:case 73:return this.popState(),77;case 68:return this.pushState("edgeText"),75;case 69:case 72:case 75:return 118;case 71:return this.pushState("thickEdgeText"),75;case 74:return this.pushState("dottedEdgeText"),75;case 76:return 77;case 77:return this.popState(),53;case 78:case 114:return"TEXT";case 79:return this.pushState("ellipseText"),52;case 80:return this.popState(),55;case 81:return this.pushState("text"),54;case 82:return this.popState(),57;case 83:return this.pushState("text"),56;case 84:return 58;case 85:return this.pushState("text"),67;case 86:return this.popState(),64;case 87:return this.pushState("text"),63;case 88:return this.popState(),49;case 89:return this.pushState("text"),48;case 90:return this.popState(),69;case 91:return this.popState(),71;case 92:return 116;case 93:return this.pushState("trapText"),68;case 94:return this.pushState("trapText"),70;case 95:return 117;case 96:return 67;case 97:return 89;case 98:return"SEP";case 99:return 88;case 103:return 108;case 104:return 113;case 105:return 115;case 106:return this.popState(),62;case 107:return this.pushState("text"),62;case 108:return this.popState(),51;case 109:return this.pushState("text"),50;case 110:return this.popState(),31;case 111:return this.pushState("text"),29;case 112:return this.popState(),66;case 113:return this.pushState("text"),65;case 115:return"QUOTE";case 116:return 9;case 117:return 10;case 118:return 11}},"anonymous"),rules:[/^(?:accTitle\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*:\s*)/,/^(?:(?!\n||)*[^\n]*)/,/^(?:accDescr\s*\{\s*)/,/^(?:[\}])/,/^(?:[^\}]*)/,/^(?:@\{)/,/^(?:["])/,/^(?:["])/,/^(?:[^\"]+)/,/^(?:[^}^"]+)/,/^(?:\})/,/^(?:call[\s]+)/,/^(?:\([\s]*\))/,/^(?:\()/,/^(?:[^(]*)/,/^(?:\))/,/^(?:[^)]*)/,/^(?:[^`"]+)/,/^(?:[`]["])/,/^(?:["][`])/,/^(?:[^"]+)/,/^(?:["])/,/^(?:["])/,/^(?:style\b)/,/^(?:default\b)/,/^(?:linkStyle\b)/,/^(?:interpolate\b)/,/^(?:classDef\b)/,/^(?:class\b)/,/^(?:href[\s])/,/^(?:click[\s]+)/,/^(?:[\s\n])/,/^(?:[^\s\n]*)/,/^(?:flowchart-elk\b)/,/^(?:graph\b)/,/^(?:flowchart\b)/,/^(?:subgraph\b)/,/^(?:end\b\s*)/,/^(?:_self\b)/,/^(?:_blank\b)/,/^(?:_parent\b)/,/^(?:_top\b)/,/^(?:(\r?\n)*\s*\n)/,/^(?:\s*LR\b)/,/^(?:\s*RL\b)/,/^(?:\s*TB\b)/,/^(?:\s*BT\b)/,/^(?:\s*TD\b)/,/^(?:\s*BR\b)/,/^(?:\s*<)/,/^(?:\s*>)/,/^(?:\s*\^)/,/^(?:\s*v\b)/,/^(?:.*direction\s+TB[^\n]*)/,/^(?:.*direction\s+BT[^\n]*)/,/^(?:.*direction\s+RL[^\n]*)/,/^(?:.*direction\s+LR[^\n]*)/,/^(?:[0-9]+)/,/^(?:#)/,/^(?::::)/,/^(?::)/,/^(?:&)/,/^(?:;)/,/^(?:,)/,/^(?:\*)/,/^(?:\s*[xo<]?--+[-xo>]\s*)/,/^(?:\s*[xo<]?--\s*)/,/^(?:[^-]|-(?!-)+)/,/^(?:\s*[xo<]?==+[=xo>]\s*)/,/^(?:\s*[xo<]?==\s*)/,/^(?:[^=]|=(?!))/,/^(?:\s*[xo<]?-?\.+-[xo>]?\s*)/,/^(?:\s*[xo<]?-\.\s*)/,/^(?:[^\.]|\.(?!))/,/^(?:\s*~~[\~]+\s*)/,/^(?:[-/\)][\)])/,/^(?:[^\(\)\[\]\{\}]|!\)+)/,/^(?:\(-)/,/^(?:\]\))/,/^(?:\(\[)/,/^(?:\]\])/,/^(?:\[\[)/,/^(?:\[\|)/,/^(?:>)/,/^(?:\)\])/,/^(?:\[\()/,/^(?:\)\)\))/,/^(?:\(\(\()/,/^(?:[\\(?=\])][\]])/,/^(?:\/(?=\])\])/,/^(?:\/(?!\])|\\(?!\])|[^\\\[\]\(\)\{\}\/]+)/,/^(?:\[\/)/,/^(?:\[\\)/,/^(?:<)/,/^(?:>)/,/^(?:\^)/,/^(?:\\\|)/,/^(?:v\b)/,/^(?:\*)/,/^(?:#)/,/^(?:&)/,/^(?:([A-Za-z0-9!"\#$%&'*+\.`?\\_\/]|-(?=[^\>\-\.])|(?!))+)/,/^(?:-)/,/^(?:[\u00AA\u00B5\u00BA\u00C0-\u00D6\u00D8-\u00F6]|[\u00F8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377]|[\u037A-\u037D\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5]|[\u03F7-\u0481\u048A-\u0527\u0531-\u0556\u0559\u0561-\u0587\u05D0-\u05EA]|[\u05F0-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE]|[\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA]|[\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u08A0]|[\u08A2-\u08AC\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0977]|[\u0979-\u097F\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2]|[\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u0A05-\u0A0A]|[\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39]|[\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8]|[\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0B05-\u0B0C]|[\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C]|[\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99]|[\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0]|[\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C33\u0C35-\u0C39\u0C3D]|[\u0C58\u0C59\u0C60\u0C61\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3]|[\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10]|[\u0D12-\u0D3A\u0D3D\u0D4E\u0D60\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1]|[\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81]|[\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3]|[\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6]|[\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A]|[\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081]|[\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D]|[\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0]|[\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310]|[\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F4\u1401-\u166C]|[\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u1700-\u170C\u170E-\u1711]|[\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7]|[\u17DC\u1820-\u1877\u1880-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191C]|[\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19C1-\u19C7\u1A00-\u1A16]|[\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF]|[\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1CE9-\u1CEC]|[\u1CEE-\u1CF1\u1CF5\u1CF6\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D]|[\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D]|[\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3]|[\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F]|[\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128]|[\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184]|[\u2C00-\u2C2E\u2C30-\u2C5E\u2C60-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3]|[\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6]|[\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE]|[\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C]|[\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D]|[\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FCC]|[\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B]|[\uA640-\uA66E\uA67F-\uA697\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788]|[\uA78B-\uA78E\uA790-\uA793\uA7A0-\uA7AA\uA7F8-\uA801\uA803-\uA805]|[\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB]|[\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uAA00-\uAA28]|[\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA80-\uAAAF\uAAB1\uAAB5]|[\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4]|[\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E]|[\uABC0-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D]|[\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36]|[\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D]|[\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC]|[\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF]|[\uFFD2-\uFFD7\uFFDA-\uFFDC])/,/^(?:\|)/,/^(?:\|)/,/^(?:\))/,/^(?:\()/,/^(?:\])/,/^(?:\[)/,/^(?:(\}))/,/^(?:\{)/,/^(?:[^\[\]\(\)\{\}\|\"]+)/,/^(?:")/,/^(?:(\r?\n)+)/,/^(?:\s)/,/^(?:$)/],conditions:{shapeDataEndBracket:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeDataStr:{rules:[9,10,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},shapeData:{rules:[8,11,12,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackargs:{rules:[17,18,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},callbackname:{rules:[14,15,16,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},href:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},click:{rules:[21,24,33,34,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dottedEdgeText:{rules:[21,24,73,75,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},thickEdgeText:{rules:[21,24,70,72,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},edgeText:{rules:[21,24,67,69,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},trapText:{rules:[21,24,76,79,81,83,87,89,90,91,92,93,94,107,109,111,113],inclusive:!1},ellipseText:{rules:[21,24,76,77,78,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},text:{rules:[21,24,76,79,80,81,82,83,86,87,88,89,93,94,106,107,108,109,110,111,112,113,114],inclusive:!1},vertex:{rules:[21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},dir:{rules:[21,24,44,45,46,47,48,49,50,51,52,53,54,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr_multiline:{rules:[5,6,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_descr:{rules:[3,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},acc_title:{rules:[1,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},md_string:{rules:[19,20,21,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},string:{rules:[21,22,23,24,76,79,81,83,87,89,93,94,107,109,111,113],inclusive:!1},INITIAL:{rules:[0,2,4,7,13,21,24,25,26,27,28,29,30,31,32,35,36,37,38,39,40,41,42,43,55,56,57,58,59,60,61,62,63,64,65,66,67,68,70,71,73,74,76,79,81,83,84,85,87,89,93,94,95,96,97,98,99,100,101,102,103,104,105,107,109,111,113,115,116,117,118],inclusive:!0}}};function e0(){this.yy={}}return eJ.lexer=e1,(0,c.eW)(e0,"Parser"),e0.prototype=eJ,eJ.Parser=e0,new e0}();ek.parser=ek;var eE=(0,c.eW)((e,t)=>{let s=d.Z,r=s(e,"r"),i=s(e,"g"),u=s(e,"b");return p.Z(r,i,u,t)},"fade"),em={parser:ek,db:ef,renderer:{getClasses:ey,draw:eb},styles:(0,c.eW)(e=>`.label {
6
- font-family: ${e.fontFamily};
7
- color: ${e.nodeTextColor||e.textColor};
8
- }
9
- .cluster-label text {
10
- fill: ${e.titleColor};
11
- }
12
- .cluster-label span {
13
- color: ${e.titleColor};
14
- }
15
- .cluster-label span p {
16
- background-color: transparent;
17
- }
18
-
19
- .label text,span {
20
- fill: ${e.nodeTextColor||e.textColor};
21
- color: ${e.nodeTextColor||e.textColor};
22
- }
23
-
24
- .node rect,
25
- .node circle,
26
- .node ellipse,
27
- .node polygon,
28
- .node path {
29
- fill: ${e.mainBkg};
30
- stroke: ${e.nodeBorder};
31
- stroke-width: 1px;
32
- }
33
- .rough-node .label text , .node .label text, .image-shape .label, .icon-shape .label {
34
- text-anchor: middle;
35
- }
36
- // .flowchart-label .text-outer-tspan {
37
- // text-anchor: middle;
38
- // }
39
- // .flowchart-label .text-inner-tspan {
40
- // text-anchor: start;
41
- // }
42
-
43
- .node .katex path {
44
- fill: #000;
45
- stroke: #000;
46
- stroke-width: 1px;
47
- }
48
-
49
- .rough-node .label,.node .label, .image-shape .label, .icon-shape .label {
50
- text-align: center;
51
- }
52
- .node.clickable {
53
- cursor: pointer;
54
- }
55
-
56
-
57
- .root .anchor path {
58
- fill: ${e.lineColor} !important;
59
- stroke-width: 0;
60
- stroke: ${e.lineColor};
61
- }
62
-
63
- .arrowheadPath {
64
- fill: ${e.arrowheadColor};
65
- }
66
-
67
- .edgePath .path {
68
- stroke: ${e.lineColor};
69
- stroke-width: 2.0px;
70
- }
71
-
72
- .flowchart-link {
73
- stroke: ${e.lineColor};
74
- fill: none;
75
- }
76
-
77
- .edgeLabel {
78
- background-color: ${e.edgeLabelBackground};
79
- p {
80
- background-color: ${e.edgeLabelBackground};
81
- }
82
- rect {
83
- opacity: 0.5;
84
- background-color: ${e.edgeLabelBackground};
85
- fill: ${e.edgeLabelBackground};
86
- }
87
- text-align: center;
88
- }
89
-
90
- /* For html labels only */
91
- .labelBkg {
92
- background-color: ${eE(e.edgeLabelBackground,.5)};
93
- // background-color:
94
- }
95
-
96
- .cluster rect {
97
- fill: ${e.clusterBkg};
98
- stroke: ${e.clusterBorder};
99
- stroke-width: 1px;
100
- }
101
-
102
- .cluster text {
103
- fill: ${e.titleColor};
104
- }
105
-
106
- .cluster span {
107
- color: ${e.titleColor};
108
- }
109
- /* .cluster div {
110
- color: ${e.titleColor};
111
- } */
112
-
113
- div.mermaidTooltip {
114
- position: absolute;
115
- text-align: center;
116
- max-width: 200px;
117
- padding: 2px;
118
- font-family: ${e.fontFamily};
119
- font-size: 12px;
120
- background: ${e.tertiaryColor};
121
- border: 1px solid ${e.border2};
122
- border-radius: 2px;
123
- pointer-events: none;
124
- z-index: 100;
125
- }
126
-
127
- .flowchartTitleText {
128
- text-anchor: middle;
129
- font-size: 18px;
130
- fill: ${e.textColor};
131
- }
132
-
133
- rect.text {
134
- fill: none;
135
- stroke-width: 0;
136
- }
137
-
138
- .icon-shape, .image-shape {
139
- background-color: ${e.edgeLabelBackground};
140
- p {
141
- background-color: ${e.edgeLabelBackground};
142
- padding: 2px;
143
- }
144
- rect {
145
- opacity: 0.5;
146
- background-color: ${e.edgeLabelBackground};
147
- fill: ${e.edgeLabelBackground};
148
- }
149
- text-align: center;
150
- }
151
- `,"getStyles"),init:(0,c.eW)(e=>{e.flowchart||(e.flowchart={}),e.layout&&(0,c.Y4)({layout:e.layout}),e.flowchart.arrowMarkerAbsolute=e.arrowMarkerAbsolute,(0,c.Y4)({flowchart:{arrowMarkerAbsolute:e.arrowMarkerAbsolute}}),ef.clear(),ef.setGen("gen-2")},"init")}}}]);