@shikijs/langs 3.7.0 → 3.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/marko.mjs CHANGED
@@ -1,14 +1,14 @@
1
1
  import css from './css.mjs'
2
2
  import less from './less.mjs'
3
3
  import scss from './scss.mjs'
4
- import javascript from './javascript.mjs'
4
+ import typescript from './typescript.mjs'
5
5
 
6
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Marko\",\"fileTypes\":[\"marko\"],\"name\":\"marko\",\"patterns\":[{\"begin\":\"^\\\\s*(style)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.marko.css\"},\"2\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.css\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"source.css\"}]},{\"begin\":\"^\\\\s*(style)\\\\.(less)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.marko.css\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.less\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.less\",\"patterns\":[{\"include\":\"source.css.less\"}]},{\"begin\":\"^\\\\s*(style)\\\\.(scss)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"storage.type.marko.css\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.scss\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.scss\",\"patterns\":[{\"include\":\"source.css.scss\"}]},{\"begin\":\"^\\\\s*(?:(static )|(?=(?:class|import|export) ))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.static.marko\"}},\"contentName\":\"source.js\",\"end\":\"(?=\\\\n|$)\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"#javascript-statement\"}]},{\"include\":\"#content-concise-mode\"}],\"repository\":{\"attrs\":{\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"(?:\\\\s+|,)(?:(key|on[-$0-9A-Z_a-z]+|[$0-9A-Z_a-z]+Change|no-update(?:-body)?(?:-if)?)|([$0-9A-Z_a-z][-$0-9A-Z_a-z]*))(:[$0-9A-Z_a-z][-$0-9A-Z_a-z]*)?\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.attribute-name.marko\"},\"2\":{\"name\":\"entity.other.attribute-name.marko\"},\"3\":{\"name\":\"support.function.attribute-name.marko\"}},\"end\":\"(?=.|$)\",\"name\":\"meta.marko-attribute\",\"patterns\":[{\"include\":\"#html-args-or-method\"},{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(:?=)\\\\s*\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"contentName\":\"source.js\",\"end\":\"(?=.|$)\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"#javascript-expression\"}]}]},{\"applyEndPatternLast\":1,\"begin\":\"(?:\\\\s+|,)\\\\.\\\\.\\\\.\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.spread.marko\"}},\"contentName\":\"source.js\",\"end\":\"(?=.|$)\",\"name\":\"meta.marko-spread-attribute\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(,(?!,))\",\"captures\":{\"1\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"end\":\"(?!\\\\S)\"},{\"include\":\"#javascript-comment-multiline\"},{\"include\":\"#invalid\"}]},\"concise-html-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"2\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"name\":\"meta.section.marko-html-block\",\"patterns\":[{\"include\":\"#content-html-mode\"}]},\"concise-html-line\":{\"captures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#html-comments\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"string\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"string\"}]}},\"match\":\"\\\\s*(--+)(?=\\\\s+\\\\S)(.*)$\",\"name\":\"meta.section.marko-html-line\"},\"concise-open-tag-content\":{\"patterns\":[{\"include\":\"#tag-before-attrs\"},{\"begin\":\"\\\\s*\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]},{\"begin\":\"(?!^)(?= )\",\"end\":\"(?=--)|(?<!,)(?=\\\\n)\",\"patterns\":[{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]}]},\"concise-script-block\":{\"begin\":\"(\\\\s+)(--+)\\\\s*$\",\"beginCaptures\":{\"2\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"(\\\\2)|(?=^(?!\\\\1)\\\\s*\\\\S)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"name\":\"meta.section.marko-script-block\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-script-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"$\",\"name\":\"meta.section.marko-script-line\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-style-block\":{\"begin\":\"(\\\\s+)(--+)\\\\s*$\",\"beginCaptures\":{\"2\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"(\\\\2)|(?=^(?!\\\\1)\\\\s*\\\\S)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-block-less\":{\"begin\":\"(\\\\s+)(--+)\\\\s*$\",\"beginCaptures\":{\"2\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"(\\\\2)|(?=^(?!\\\\1)\\\\s*\\\\S)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-block-scss\":{\"begin\":\"(\\\\s+)(--+)\\\\s*$\",\"beginCaptures\":{\"2\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"(\\\\2)|(?=^(?!\\\\1)\\\\s*\\\\S)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"concise-style-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"$\",\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-line-less\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"$\",\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-line-scss\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"$\",\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"content-concise-mode\":{\"name\":\"meta.marko-concise-content\",\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#javascript-comments\"},{\"include\":\"#html-comments\"},{\"include\":\"#concise-html-block\"},{\"include\":\"#concise-html-line\"},{\"include\":\"#tag-html\"},{\"patterns\":[{\"begin\":\"^(\\\\s*)(?=style\\\\.less\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-less\"},{\"include\":\"#concise-style-line-less\"}],\"while\":\"(?=^\\\\1\\\\s+(\\\\S|$))\"},{\"begin\":\"^(\\\\s*)(?=style\\\\.scss\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-scss\"},{\"include\":\"#concise-style-line-scss\"}],\"while\":\"(?=^\\\\1\\\\s+(\\\\S|$))\"},{\"begin\":\"^(\\\\s*)(?=style\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block\"},{\"include\":\"#concise-style-line\"}],\"while\":\"(?=^\\\\1\\\\s+(\\\\S|$))\"},{\"begin\":\"^(\\\\s*)(?=script\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^\\\\1\\\\s+(\\\\S|$))\"},{\"begin\":\"^(\\\\s*)(?=[$0-9@-Z_a-z])\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#content-concise-mode\"}],\"while\":\"(?=^\\\\1\\\\s+(\\\\S|$))\"}]},{\"include\":\"#invalid\"}]},\"content-embedded-script\":{\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.js\"}]},\"content-embedded-style\":{\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css\"}]},\"content-embedded-style-less\":{\"name\":\"meta.embedded.css.less\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.less\"}]},\"content-embedded-style-scss\":{\"name\":\"meta.embedded.css.scss\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.scss\"}]},\"content-html-mode\":{\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#html-comments\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"string\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"string\"}]},\"html-args-or-method\":{\"patterns\":[{\"include\":\"#javascript-args\"},{\"begin\":\"(?<=\\\\))\\\\s*(?=\\\\{)\",\"contentName\":\"source.js\",\"end\":\"(?<=})\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"source.js\"}]}]},\"html-comments\":{\"patterns\":[{\"begin\":\"\\\\s*(<!(--)?)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.marko\"}},\"end\":\"\\\\2>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.marko\"}},\"name\":\"comment.block.marko\"},{\"begin\":\"\\\\s*(<html-comment>)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.marko\"}},\"end\":\"</html-comment>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.marko\"}},\"name\":\"comment.block.marko\"}]},\"invalid\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"javascript-args\":{\"begin\":\"(?=\\\\()\",\"contentName\":\"source.js\",\"end\":\"(?<=\\\\))\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"source.js\"}]},\"javascript-comment-line\":{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"contentName\":\"source.js\",\"match\":\"\\\\s*//.*$\"},\"javascript-comment-multiline\":{\"begin\":\"\\\\s*(?=/\\\\*)\",\"contentName\":\"source.js\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.js\"}]},\"javascript-comments\":{\"patterns\":[{\"include\":\"#javascript-comment-multiline\"},{\"include\":\"#javascript-comment-line\"}]},\"javascript-enclosed\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"include\":\"#javascript-args\"},{\"begin\":\"(?=\\\\{)\",\"end\":\"(?<=})\",\"patterns\":[{\"include\":\"source.js\"}]},{\"begin\":\"(?=\\\\[)\",\"end\":\"(?<=])\",\"patterns\":[{\"include\":\"source.js\"}]},{\"begin\":\"(?=\\\")\",\"end\":\"(?<=\\\")\",\"patterns\":[{\"include\":\"source.js\"}]},{\"begin\":\"(?=')\",\"end\":\"(?<=')\",\"patterns\":[{\"include\":\"source.js\"}]},{\"begin\":\"(?=`)\",\"end\":\"(?<=`)\",\"patterns\":[{\"include\":\"source.js\"}]},{\"begin\":\"/(?!<[]%).0-9<A-Z}]\\\\s*/)(?!/?>|$)\",\"captures\":{\"0\":{\"name\":\"string.regexp.js\"}},\"contentName\":\"source.js\",\"end\":\"/[gimsuy]*\",\"patterns\":[{\"include\":\"source.js#regexp\"},{\"include\":\"source.js\"}]},{\"begin\":\"\\\\s*(?:\\\\b(?:new|typeof|instanceof|in)\\\\b|&&|\\\\|\\\\||[\\\\&^|]|[!=]=|[!=]==|<[<=]??|=>|[:?]|[-%*+](?!-))\",\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"end\":\"(?=\\\\S)\"}]},\"javascript-expression\":{\"patterns\":[{\"include\":\"#javascript-enclosed\"},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"match\":\"[$.0-9A-Z_a-z]+\"}]},\"javascript-statement\":{\"patterns\":[{\"include\":\"#javascript-enclosed\"},{\"include\":\"source.js\"}]},\"open-tag-content\":{\"patterns\":[{\"include\":\"#tag-before-attrs\"},{\"begin\":\"(?= )\",\"end\":\"(?=/?>)\",\"patterns\":[{\"include\":\"#attrs\"}]}]},\"placeholder\":{\"begin\":\"\\\\$!?\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.js\"}},\"contentName\":\"source.js\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.js\"}},\"patterns\":[{\"include\":\"source.js\"}]},\"scriptlet\":{\"begin\":\"^\\\\s*(\\\\$)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.scriptlet.marko\"}},\"contentName\":\"source.js\",\"end\":\"$\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"#javascript-statement\"}]},\"tag-before-attrs\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"match\":\"[#.][$0-9A-Z_a-z][-$0-9A-Z_a-z]*\",\"name\":\"entity.other.attribute-name.marko\"},{\"begin\":\"/(?!/)\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.key-value.marko\"}},\"contentName\":\"source.js\",\"end\":\"(?=:?=|[>\\\\s]|$|[(/|])\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"match\":\"[$A-Z_a-z][$0-9A-Z_a-z]*\",\"name\":\"variable.other.constant.object.js\"},{\"include\":\"source.js#object-binding-pattern\"},{\"include\":\"source.js#array-binding-pattern\"},{\"include\":\"source.js#var-single-variable\"},{\"include\":\"#javascript-expression\"}]},{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(:?=)\\\\s*\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"source.js\"}]}},\"contentName\":\"source.js\",\"end\":\"(?=.|$)\",\"name\":\"meta.embedded.js\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\|\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"\\\\|\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"source.js#function-parameters-body\"},{\"include\":\"source.js\"}]},{\"include\":\"#html-args-or-method\"}]},\"tag-html\":{\"patterns\":[{\"begin\":\"\\\\s*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"/?>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"}]},{\"begin\":\"\\\\s*(<)(?=style\\\\.less\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\s*(</)(style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]}]},{\"begin\":\"\\\\s*(<)(?=style\\\\.scss\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\s*(</)(style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]}]},{\"begin\":\"\\\\s*(<)(?=style\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\s*(</)(style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style\"}]}]},{\"begin\":\"\\\\s*(<)(?=script\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.js\",\"end\":\"\\\\s*(</)(script)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=[$0-9@-Z_a-z])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*(</)([-$0-:@-Z_a-z]+)?(.*?)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.end.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"patterns\":[{\"include\":\"#invalid\"}]},\"4\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-html-mode\"}]}]}]},\"tag-name\":{\"patterns\":[{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.js\"}},\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.js\"}},\"patterns\":[{\"include\":\"source.js\"}]},{\"captures\":{\"1\":{\"name\":\"entity.name.tag.marko\"},\"2\":{\"name\":\"storage.type.marko.css\"},\"3\":{\"patterns\":[{\"match\":\"(attrs|return|import)(?=\\\\b)\",\"name\":\"support.type.builtin.marko\"},{\"match\":\"(for|if|while|else-if|else|macro|tag|await|let|const|effect|set|get|id|lifecycle)(?=\\\\b)\",\"name\":\"support.function.marko\"},{\"match\":\"@.+\",\"name\":\"entity.other.attribute-name.marko\"},{\"match\":\".+\",\"name\":\"entity.name.tag.marko\"}]}},\"match\":\"(style)\\\\.([-$0-9A-Z_a-z]+(?:\\\\.[-$0-9A-Z_a-z]+)*)|([$0-9@-Z_a-z][-$0-:@-Z_a-z]*)\"}]}},\"scopeName\":\"text.marko\",\"embeddedLangs\":[\"css\",\"less\",\"scss\",\"javascript\"]}"))
6
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Marko\",\"fileTypes\":[\"marko\"],\"name\":\"marko\",\"patterns\":[{\"begin\":\"^\\\\s*(style)(\\\\b\\\\S*\\\\.css)?\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.css\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"source.css\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.less)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.less\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.less\",\"patterns\":[{\"include\":\"source.css.less\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.scss)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.scss\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.scss\",\"patterns\":[{\"include\":\"source.css.scss\"}]},{\"begin\":\"^\\\\s*(style)\\\\b(\\\\S*\\\\.[jt]s)\\\\s+(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.modifier.marko.css\"},\"3\":{\"name\":\"punctuation.section.scope.begin.marko.css\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko.css\"}},\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"begin\":\"^\\\\s*(?:(static|server|client)\\\\b|(?=(?:class|import|export)\\\\b))\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.static.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=\\\\n|$)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"include\":\"#content-concise-mode\"}],\"repository\":{\"attr-value\":{\"begin\":\"\\\\s*(:?=)\\\\s*\",\"beginCaptures\":{\"1\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"end\":\"(?=[],;]|/>|(?<=[^=])>|(?<!(?:^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|=>|>{2,}|[^.]\\\\.|[^-]-|^\\\\s*\\\\+\\\\+|[^+]\\\\+{2}*\\\\+|[]%).0-9<A-Za-z}]\\\\s*/|\\\\b(?<!\\\\.\\\\s*)(?:await|async|class|function|keyof|new|typeof|void))\\\\s*)(?:\\\\n|[\\\\t ]+(?![\\\\n!%\\\\&(*+:?^{|~]|[-/<=>]=|=>|>{2,}|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>])))\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},\"attrs\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"applyEndPatternLast\":1,\"begin\":\"(?:(key|on[-$0-9A-Z_a-z]+|[$0-9A-Z_a-z]+Change|no-update(?:-body)?(?:-if)?)|([$0-9A-Z_a-z][-$0-9A-Z_a-z]*)|(#[$0-9A-Z_a-z][-$0-9A-Z_a-z]*))(:[$0-9A-Z_a-z][-$0-9A-Z_a-z]*)?\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.attribute-name.marko\"},\"2\":{\"name\":\"entity.other.attribute-name.marko\"},\"3\":{\"name\":\"support.function.attribute-name.marko\"},\"4\":{\"name\":\"support.function.attribute-name.marko\"}},\"end\":\"(?=.|$)\",\"name\":\"meta.marko-attribute\",\"patterns\":[{\"include\":\"#html-args-or-method\"},{\"include\":\"#attr-value\"}]},{\"begin\":\"(\\\\.\\\\.\\\\.)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.spread.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=[],;]|/>|(?<=[^=])>|(?<!(?:^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|=>|>{2,}|[^.]\\\\.|[^-]-|^\\\\s*\\\\+\\\\+|[^+]\\\\+{2}*\\\\+|[]%).0-9<A-Za-z}]\\\\s*/|\\\\b(?<!\\\\.\\\\s*)(?:await|async|class|function|keyof|new|typeof|void))\\\\s*)(?:\\\\n|[\\\\t ]+(?![\\\\n!%\\\\&(*+:?^{|~]|[-/<=>]=|=>|>{2,}|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>])))\",\"name\":\"meta.marko-spread-attribute\",\"patterns\":[{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(,(?!,))\",\"captures\":{\"1\":{\"name\":\"punctuation.separator.comma.marko\"}},\"end\":\"(?=\\\\S)\"},{\"include\":\"#invalid\"}]},\"cdata\":{\"begin\":\"\\\\s*<!\\\\[CDATA\\\\[\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"contentName\":\"string.other.inline-data.marko\",\"end\":\"]]>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"name\":\"meta.tag.metadata.cdata.marko\"},\"concise-attr-group\":{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"end\":\"]\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"#concise-attr-group\"},{\"begin\":\"\\\\s+\",\"end\":\"(?=\\\\S)\"},{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]},\"concise-comment-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-comment-block\",\"patterns\":[{\"include\":\"#content-embedded-comment\"}]},\"concise-comment-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-comment-line\",\"patterns\":[{\"include\":\"#content-embedded-comment\"}]},\"concise-html-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-html-block\",\"patterns\":[{\"include\":\"#content-html-mode\"}]},\"concise-html-line\":{\"captures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#javascript-comments-after-whitespace\"},{\"include\":\"#html-comment\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"text.marko\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"text.marko\"}]},\"3\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"match\":\"\\\\s*(--+)(?=\\\\s+\\\\S)(.*)$()\",\"name\":\"meta.section.marko-html-line\"},\"concise-open-tag-content\":{\"patterns\":[{\"include\":\"#tag-before-attrs\"},{\"include\":\"#concise-semi-eol\"},{\"begin\":\"(?!^)[\\\\t ,]\",\"end\":\"(?=--)|(?=\\\\n)\",\"patterns\":[{\"include\":\"#concise-semi-eol\"},{\"include\":\"#concise-attr-group\"},{\"begin\":\"[\\\\t ]+\",\"end\":\"(?=[\\\\n\\\\S])\"},{\"include\":\"#attrs\"},{\"include\":\"#invalid\"}]}]},\"concise-script-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-script-block\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-script-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-script-line\",\"patterns\":[{\"include\":\"#content-embedded-script\"}]},\"concise-semi-eol\":{\"begin\":\"\\\\s*(;)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.terminator.marko\"}},\"end\":\"$\",\"patterns\":[{\"include\":\"#javascript-comments\"},{\"include\":\"#html-comment\"},{\"include\":\"#invalid\"}]},\"concise-style-block\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-block-less\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-block-scss\":{\"begin\":\"\\\\s*(--+)\\\\s*$\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"\\\\1\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-block\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"concise-style-line\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.css\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style\"}]},\"concise-style-line-less\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.less\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]},\"concise-style-line-scss\":{\"applyEndPatternLast\":1,\"begin\":\"\\\\s*(--+)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.section.embedded.scope.begin.marko\"}},\"contentName\":\"source.scss\",\"end\":\"$\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.embedded.scope.end.marko\"}},\"name\":\"meta.section.marko-style-line\",\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]},\"content-concise-mode\":{\"name\":\"meta.marko-concise-content\",\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#javascript-comments\"},{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#html-comment\"},{\"include\":\"#concise-html-block\"},{\"include\":\"#concise-html-line\"},{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-html\"},{\"patterns\":[{\"begin\":\"^(\\\\s*)(?=html-comment\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-comment-block\"},{\"include\":\"#concise-comment-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.less\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-less\"},{\"include\":\"#concise-style-line-less\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.scss\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block-scss\"},{\"include\":\"#concise-style-line-scss\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b\\\\S*\\\\.[jt]s\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?style\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-style-block\"},{\"include\":\"#concise-style-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^(\\\\s*)(?=(?:html-)?script\\\\b)\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#concise-script-block\"},{\"include\":\"#concise-script-line\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"},{\"begin\":\"^([\\\\t ]*)(?=[#$.0-9@-Z_a-z])\",\"patterns\":[{\"include\":\"#concise-open-tag-content\"},{\"include\":\"#content-concise-mode\"}],\"while\":\"(?=^(?:\\\\s*[])`}]|\\\\*/|\\\\s*$|\\\\1\\\\s+(\\\\S|$)))\"}]}]},\"content-embedded-comment\":{\"patterns\":[{\"include\":\"#placeholder\"},{\"match\":\".\",\"name\":\"comment.block.marko\"}]},\"content-embedded-script\":{\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.ts\"}]},\"content-embedded-style\":{\"name\":\"meta.embedded.css\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css\"}]},\"content-embedded-style-less\":{\"name\":\"meta.embedded.css.less\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.less\"}]},\"content-embedded-style-scss\":{\"name\":\"meta.embedded.css.scss\",\"patterns\":[{\"include\":\"#placeholder\"},{\"include\":\"source.css.scss\"}]},\"content-html-mode\":{\"patterns\":[{\"include\":\"#scriptlet\"},{\"include\":\"#cdata\"},{\"include\":\"#doctype\"},{\"include\":\"#declaration\"},{\"include\":\"#javascript-comments-after-whitespace\"},{\"include\":\"#html-comment\"},{\"include\":\"#invalid-close-tag\"},{\"include\":\"#tag-html\"},{\"match\":\"\\\\\\\\.\",\"name\":\"text.marko\"},{\"include\":\"#placeholder\"},{\"match\":\".+?\",\"name\":\"text.marko\"}]},\"declaration\":{\"begin\":\"(<\\\\?)\\\\s*([-$0-9A-Z_a-z]*)\",\"captures\":{\"1\":{\"name\":\"punctuation.definition.tag.marko\"},\"2\":{\"name\":\"entity.name.tag.marko\"}},\"end\":\"(\\\\??>)\",\"name\":\"meta.tag.metadata.processing.xml.marko\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"entity.other.attribute-name.marko\"},\"2\":{\"name\":\"punctuation.separator.key-value.html\"},\"3\":{\"name\":\"string.quoted.double.marko\"},\"4\":{\"name\":\"string.quoted.single.marko\"},\"5\":{\"name\":\"string.unquoted.marko\"}},\"match\":\"((?:[^=>?\\\\s]|\\\\?(?!>))+)(=)(?:(\\\"(?:[^\\\"\\\\\\\\]|\\\\\\\\.)*\\\")|('(?:[^'\\\\\\\\]|\\\\\\\\.)*')|((?:[^>?\\\\s]|\\\\?(?!>))+))\"}]},\"doctype\":{\"begin\":\"\\\\s*<!(?=(?i:DOCTYPE\\\\s))\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\">\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"name\":\"meta.tag.metadata.doctype.marko\",\"patterns\":[{\"match\":\"\\\\G(?i:DOCTYPE)\",\"name\":\"entity.name.tag.marko\"},{\"begin\":\"\\\"\",\"end\":\"\\\"\",\"name\":\"string.quoted.double.marko\"},{\"match\":\"[^>\\\\s]+\",\"name\":\"entity.other.attribute-name.marko\"}]},\"html-args-or-method\":{\"patterns\":[{\"include\":\"#tag-type-params\"},{\"begin\":\"\\\\s*(?=\\\\()\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\))\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts#paren-expression\"}]},{\"begin\":\"(?<=\\\\))\\\\s*(?=\\\\{)\",\"contentName\":\"source.ts\",\"end\":\"(?<=})\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]}]},\"html-comment\":{\"begin\":\"\\\\s*(<!(--)?)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.comment.marko\"}},\"end\":\"\\\\2>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.comment.marko\"}},\"name\":\"comment.block.marko\"},\"invalid\":{\"match\":\"\\\\S\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"invalid-close-tag\":{\"begin\":\"\\\\s*</.*?\",\"end\":\">\",\"name\":\"invalid.illegal.character-not-allowed-here.marko\"},\"javascript-comments\":{\"patterns\":[{\"begin\":\"\\\\s*(?=/\\\\*)\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"\\\\s*//.*$\"}]},\"javascript-comments-after-whitespace\":{\"patterns\":[{\"begin\":\"(?:^|\\\\s+)(?=/\\\\*)\",\"contentName\":\"source.ts\",\"end\":\"(?<=\\\\*/)\",\"patterns\":[{\"include\":\"source.ts\"}]},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?:^|\\\\s+)//.*$\"}]},\"javascript-expression\":{\"patterns\":[{\"include\":\"#javascript-comments\"},{\"captures\":{\"0\":{\"patterns\":[{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?:\\\\s*\\\\b(?:as|await|extends|in|instanceof|satisfies|keyof|new|typeof|void))+\\\\s+(?![,/:;=>])[#$0-9@-Z_a-z]*\"},{\"applyEndPatternLast\":1,\"captures\":{\"0\":{\"name\":\"string.regexp.ts\",\"patterns\":[{\"include\":\"source.ts#regexp\"},{\"include\":\"source.ts\"}]}},\"contentName\":\"source.ts\",\"match\":\"(?<![]%).0-9<A-Za-z}])\\\\s*/(?:[^/\\\\[\\\\\\\\]|\\\\\\\\.|\\\\[(?:[^]\\\\\\\\]|\\\\\\\\.)*])*/[A-Za-z]*\"},{\"include\":\"source.ts\"}]},\"javascript-placeholder\":{\"begin\":\"\\\\$\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.ts\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.ts\"}},\"patterns\":[{\"include\":\"source.ts\"}]},\"open-tag-content\":{\"patterns\":[{\"include\":\"#tag-before-attrs\"},{\"begin\":\"(?!/?>)\",\"end\":\"(?=/?>)\",\"patterns\":[{\"include\":\"#attrs\"}]}]},\"placeholder\":{\"begin\":\"\\\\$!?\\\\{\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.begin.ts\"}},\"contentName\":\"source.ts\",\"end\":\"}\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.template-expression.end.ts\"}},\"patterns\":[{\"include\":\"source.ts\"}]},\"scriptlet\":{\"begin\":\"^\\\\s*(\\\\$)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.scriptlet.marko\"}},\"contentName\":\"source.ts\",\"end\":\"$\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts\"}]},\"tag-before-attrs\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"include\":\"#tag-shorthand-class-or-id\"},{\"begin\":\"/(?![*/])\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.separator.tag-variable.marko\"}},\"contentName\":\"source.ts\",\"end\":\"(?=[(,/;<>|]|:?=|\\\\s+[^:]|$)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"match\":\"[$A-Z_a-z][$0-9A-Z_a-z]*\",\"name\":\"variable.other.constant.object.ts\"},{\"begin\":\"\\\\{\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.object.ts\"}},\"end\":\"}\",\"patterns\":[{\"include\":\"source.ts#object-binding-element\"},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\[\",\"captures\":{\"0\":{\"name\":\"punctuation.definition.binding-pattern.array.ts\"}},\"end\":\"]\",\"patterns\":[{\"include\":\"source.ts#array-binding-element\"},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*(:)(?!=)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.ts\"}},\"end\":\"(?=[](,;]|/>|(?<=[^=])>|(?<!(?:^|[!%\\\\&*:?^|~]|[-!%\\\\&*+/<-?^|~]=|=>|>{2,}|[^.]\\\\.|[^-]-|^\\\\s*\\\\+\\\\+|[^+]\\\\+{2}*\\\\+|[]%).0-9<A-Za-z}]\\\\s*/|\\\\b(?<!\\\\.\\\\s*)(?:await|async|class|function|keyof|new|typeof|void))\\\\s*)(?:\\\\n|[\\\\t ]+(?![\\\\n!%\\\\&*+:?^{|~]|[-/<=>]=|=>|>{2,}|\\\\.[^.]|-[^-]|/[^>]|(?:in|instanceof|satisfies|as|extends)\\\\s+[^,/:;=>])))\",\"patterns\":[{\"include\":\"source.ts#type\"},{\"include\":\"#javascript-expression\"}]},{\"include\":\"#javascript-expression\"}]},{\"begin\":\"\\\\s*\\\\|\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.begin.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\|\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.section.scope.end.marko\"}},\"patterns\":[{\"include\":\"source.ts#comment\"},{\"include\":\"source.ts#string\"},{\"include\":\"source.ts#decorator\"},{\"include\":\"source.ts#destructuring-parameter\"},{\"include\":\"source.ts#parameter-name\"},{\"begin\":\"(:)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.operator.type.annotation.ts\"}},\"end\":\"(?=[,|])|(?==[^>])\",\"name\":\"meta.type.annotation.ts\",\"patterns\":[{\"include\":\"source.ts#type\"}]},{\"include\":\"source.ts#variable-initializer\"},{\"match\":\",\",\"name\":\"punctuation.separator.parameter.ts\"},{\"include\":\"source.ts\"}]},{\"include\":\"#html-args-or-method\"},{\"include\":\"#attr-value\"}]},\"tag-html\":{\"patterns\":[{\"begin\":\"\\\\s*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr|const|debug|id|let|lifecycle|log|return)\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/?>\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"}]},{\"begin\":\"\\\\s*(<)(?=html-comment\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:html-comment)?>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*(</)(html-comment)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-comment\"}]}]},{\"begin\":\"\\\\s*(<)(?=(?:html-)?style\\\\b\\\\S*\\\\.less\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:(?:html-)?style)?>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.less\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-less\"}]}]},{\"begin\":\"\\\\s*(<)(?=(?:html-)?style\\\\b\\\\S*\\\\.scss\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:(?:html-)?style)?>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.scss\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style-scss\"}]}]},{\"begin\":\"\\\\s*(<)(?=(?:html-)?style\\\\b\\\\S*\\\\.[jt]s\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:(?:html-)?style)?>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=(?:html-)?style\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:(?:html-)?style)?>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.css\",\"end\":\"\\\\s*(</)((?:html-)?style)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-style\"}]}]},{\"begin\":\"\\\\s*(<)(?=(?:html-)?script\\\\b)\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</(?:(?:html-)?script)?>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"contentName\":\"source.ts\",\"end\":\"\\\\s*(</)((?:html-)?script)?(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"}]},\"3\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-embedded-script\"}]}]},{\"begin\":\"\\\\s*(<)(?=[#$.0-9@-Z_a-z])\",\"beginCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"}},\"end\":\"/>|(?<=</[-#$.0-:@-Z_a-z]*>)\",\"endCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#open-tag-content\"},{\"begin\":\">\",\"beginCaptures\":{\"0\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"end\":\"\\\\s*(</)([-#$.0-:@-Z_a-z]+)?(.*?)(>)\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.definition.tag.begin.marko\"},\"2\":{\"patterns\":[{\"include\":\"#tag-name\"},{\"include\":\"#tag-shorthand-class-or-id\"}]},\"3\":{\"patterns\":[{\"include\":\"#invalid\"}]},\"4\":{\"name\":\"punctuation.definition.tag.end.marko\"}},\"patterns\":[{\"include\":\"#content-html-mode\"}]}]}]},\"tag-name\":{\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"\\\\G(style)\\\\b(\\\\.[-$0-9A-Z_a-z]+(?:\\\\.[-$0-9A-Z_a-z]+)*)|([0-9@-Z_a-z](?:[-0-9@-Z_a-z]|:(?!=))*)\",\"beginCaptures\":{\"1\":{\"name\":\"support.type.builtin.marko\"},\"2\":{\"name\":\"storage.type.marko.css\"},\"3\":{\"patterns\":[{\"match\":\"(script|style|html-script|html-style|html-comment)(?=\\\\b)(?![-:@])\",\"name\":\"support.type.builtin.marko\"},{\"match\":\"(for|if|while|else-if|else|try|await|return)(?=\\\\b)(?![-:@])\",\"name\":\"keyword.control.flow.marko\"},{\"match\":\"(const|context|debug|define|id|let|log|lifecycle)(?=\\\\b)(?![-:@])\",\"name\":\"support.function.marko\"},{\"match\":\"@.+\",\"name\":\"entity.other.attribute-name.marko\"},{\"match\":\".+\",\"name\":\"entity.name.tag.marko\"}]}},\"end\":\"(?=.)\",\"patterns\":[{\"include\":\"#tag-type-args\"}]},{\"begin\":\"(?=[$0-9A-Z_a-z]|-[^-])\",\"end\":\"(?=[^-$0-9A-Z_a-z]|$)\",\"patterns\":[{\"include\":\"#javascript-placeholder\"},{\"match\":\"(?:[-0-9A-Z_a-z]|\\\\$(?!\\\\{))+\",\"name\":\"entity.name.tag.marko\"}]}]},\"tag-shorthand-class-or-id\":{\"begin\":\"(?=[#.])\",\"end\":\"$|(?=--|[^-#$.0-9A-Z_a-z])\",\"patterns\":[{\"include\":\"#javascript-placeholder\"},{\"match\":\"(?:[-#.0-9A-Z_a-z]|\\\\$(?!\\\\{))+\",\"name\":\"entity.other.attribute-name.marko\"}]},\"tag-type-args\":{\"applyEndPatternLast\":1,\"begin\":\"(?=<)\",\"contentName\":\"source.ts\",\"end\":\"(?<=>)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"applyEndPatternLast\":1,\"begin\":\"(?<=>)(?=[\\\\t ]*<)\",\"end\":\"(?=.)\",\"patterns\":[{\"include\":\"#tag-type-params\"}]},{\"include\":\"source.ts#type-arguments\"}]},\"tag-type-params\":{\"applyEndPatternLast\":1,\"begin\":\"(?!^)[\\\\t ]*(?=<)\",\"contentName\":\"source.ts\",\"end\":\"(?<=>)\",\"name\":\"meta.embedded.ts\",\"patterns\":[{\"include\":\"source.ts#type-parameters\"}]}},\"scopeName\":\"text.marko\",\"embeddedLangs\":[\"css\",\"less\",\"scss\",\"typescript\"]}"))
7
7
 
8
8
  export default [
9
9
  ...css,
10
10
  ...less,
11
11
  ...scss,
12
- ...javascript,
12
+ ...typescript,
13
13
  lang
14
14
  ]
package/dist/mermaid.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze(JSON.parse("{\"displayName\":\"Mermaid\",\"fileTypes\":[],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"mermaid\",\"patterns\":[{\"include\":\"#mermaid-code-block\"},{\"include\":\"#mermaid-code-block-with-attributes\"},{\"include\":\"#mermaid-ado-code-block\"}],\"repository\":{\"mermaid\":{\"patterns\":[{\"begin\":\"^\\\\s*(architecture-beta)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"string\"},\"5\":{\"name\":\"keyword.control.mermaid\"},\"6\":{\"name\":\"string\"},\"7\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"8\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"9\":{\"name\":\"string\"},\"10\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"11\":{\"name\":\"keyword.control.mermaid\"},\"12\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(group|service)\\\\s+([-\\\\w]+)\\\\s*(\\\\()?([-\\\\w\\\\s]+)?(:)?([-\\\\w\\\\s]+)?(\\\\))?\\\\s*(\\\\[)?([-\\\\w\\\\s]+)?\\\\s*(])?\\\\s*(in)?\\\\s*([-\\\\w]+)?\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"5\":{\"name\":\"keyword.control.mermaid\"},\"6\":{\"name\":\"entity.name.function.mermaid\"},\"7\":{\"name\":\"keyword.control.mermaid\"},\"8\":{\"name\":\"entity.name.function.mermaid\"},\"9\":{\"name\":\"keyword.control.mermaid\"},\"10\":{\"name\":\"variable\"},\"11\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"12\":{\"name\":\"variable\"},\"13\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s*(\\\\{)?\\\\s*(group)?(})?\\\\s*(:)\\\\s*([BLRT])\\\\s+(<?-->?)\\\\s+([BLRT])\\\\s*(:)\\\\s*([-\\\\w]+)\\\\s*(\\\\{)?\\\\s*(group)?(})?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(junction)\\\\s+([-\\\\w]+)\\\\s*(in)?\\\\s*([-\\\\w]+)?\"}]},{\"begin\":\"^\\\\s*(classDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.class.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"entity.name.type.class.mermaid\"},\"6\":{\"name\":\"keyword.control.mermaid\"},\"7\":{\"name\":\"string\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s(\\\"(?:\\\\d+|\\\\*|0..\\\\d+|1..\\\\d+|1..\\\\*)\\\")?\\\\s?(--o|--\\\\*|<--|-->|<\\\\.\\\\.|\\\\.\\\\.>|<\\\\|\\\\.\\\\.|\\\\.\\\\.\\\\|>|<\\\\|--|--\\\\|>|--\\\\*?|\\\\.\\\\.|\\\\*--|o--)\\\\s(\\\"(?:\\\\d+|\\\\*|0..\\\\d+|1..\\\\d+|1..\\\\*)\\\")?\\\\s?([-\\\\w]+)\\\\s?(:)?\\\\s(.*)$\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.class.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"entity.name.function.mermaid\"},\"5\":{\"name\":\"punctuation.parenthesis.open.mermaid\"},\"6\":{\"name\":\"storage.type.mermaid\"},\"7\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"8\":{\"name\":\"storage.type.mermaid\"},\"9\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"10\":{\"name\":\"entity.name.variable.parameter.mermaid\"},\"11\":{\"name\":\"punctuation.parenthesis.closed.mermaid\"},\"12\":{\"name\":\"keyword.control.mermaid\"},\"13\":{\"name\":\"storage.type.mermaid\"},\"14\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"15\":{\"name\":\"storage.type.mermaid\"},\"16\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s?(:)\\\\s([-#+~])?([-\\\\w]+)(\\\\()([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?\\\\s?([-\\\\w]+)?(\\\\))([$*]{0,2})\\\\s?([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?$\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.class.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"6\":{\"name\":\"storage.type.mermaid\"},\"7\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"8\":{\"name\":\"entity.name.variable.field.mermaid\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s?(:)\\\\s([-#+~])?([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\\\\s([-\\\\w]+)?$\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"2\":{\"name\":\"storage.type.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"4\":{\"name\":\"entity.name.type.class.mermaid\"}},\"match\":\"(?i)(<<)([-\\\\w]+)(>>)\\\\s?([-\\\\w]+)?\"},{\"begin\":\"(?i)(class)\\\\s+([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\\\\s?(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.type.class.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"6\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"begin\":\"(?i)\\\\s([-#+~])?([-\\\\w]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"punctuation.parenthesis.open.mermaid\"}},\"end\":\"(?i)(\\\\))([$*]{0,2})\\\\s?([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?$\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.parenthesis.closed.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"storage.type.mermaid\"},\"4\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"5\":{\"name\":\"storage.type.mermaid\"},\"6\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.mermaid\"},\"2\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"3\":{\"name\":\"storage.type.mermaid\"},\"4\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"5\":{\"name\":\"entity.name.variable.parameter.mermaid\"}},\"match\":\"(?i)\\\\s*,?\\\\s*([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?\\\\s?([-\\\\w]+)?\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"storage.type.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"6\":{\"name\":\"entity.name.variable.field.mermaid\"}},\"match\":\"(?i)\\\\s([-#+~])?([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\\\\s([-\\\\w]+)?$\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"2\":{\"name\":\"storage.type.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"4\":{\"name\":\"entity.name.type.class.mermaid\"}},\"match\":\"(?i)(<<)([-\\\\w]+)(>>)\\\\s?([-\\\\w]+)?\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.type.class.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"match\":\"(?i)(class)\\\\s+([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\"}]},{\"begin\":\"^\\\\s*(erDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"},\"4\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)^\\\\s*([-\\\\w]+)\\\\s*(\\\\[)?\\\\s*([-\\\\w]+|\\\"[-\\\\w\\\\s]+\\\")?\\\\s*(])?$\"},{\"begin\":\"(?i)\\\\s+([-\\\\w]+)\\\\s*(\\\\[)?\\\\s*([-\\\\w]+|\\\"[-\\\\w\\\\s]+\\\")?\\\\s*(])?\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s+([-\\\\w]+)\\\\s+([FP]K)?\\\\s*(\\\"[!-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")?\\\\s*\"},{\"match\":\"%%.*\",\"name\":\"comment\"}]},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s*((?:\\\\|o|\\\\|\\\\||}o|}\\\\||one or (?:zero|more|many)|zero or (?:one|more|many)|many\\\\([01]\\\\)|only one|0\\\\+|1\\\\+?)(?:..|--)(?:o\\\\||\\\\|\\\\||o\\\\{|\\\\|\\\\{|one or (?:zero|more|many)|zero or (?:one|more|many)|many\\\\([01]\\\\)|only one|0\\\\+|1\\\\+?))\\\\s*([-\\\\w]+)\\\\s*(:)\\\\s*(\\\"[\\\\w\\\\s]*\\\"|[-\\\\w]+)\"}]},{\"begin\":\"^\\\\s*(gantt)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)^\\\\s*(dateFormat)\\\\s+([-.\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)^\\\\s*(axisFormat)\\\\s+([-%./\\\\\\\\\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)(tickInterval)\\\\s+(([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month))\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(excludes)\\\\s+((?:[-,\\\\d\\\\s]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s+(todayMarker)\\\\s+(.*)$\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(section)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)^\\\\s(.*)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"match\":\"(crit|done|active|after)\",\"name\":\"entity.name.function.mermaid\"},{\"match\":\"%%.*\",\"name\":\"comment\"}]}]},{\"begin\":\"^\\\\s*(gitGraph)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"begin\":\"(?i)^\\\\s*(commit)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(id)(:)\\\\s?(\\\"[^\\\\n\\\"]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)\\\\s*(type)(:)\\\\s?(NORMAL|REVERSE|HIGHLIGHT)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(tag)(:)\\\\s?(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)^\\\\s*(checkout)\\\\s*([^\\\"\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)^\\\\s*(branch)\\\\s*([^\\\"\\\\s]*)\\\\s*(?:(order)(:)\\\\s?(\\\\d+))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(merge)\\\\s*([^\\\"\\\\s]*)\\\\s*(?:(tag)(:)\\\\s?(\\\"[^\\\\n\\\"]*\\\"))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(cherry-pick)\\\\s+(id)(:)\\\\s*(\\\"[^\\\\n\\\"]*\\\")\"}]},{\"begin\":\"^\\\\s*(graph|flowchart)\\\\s+([ 0-9\\\\p{L}]+)?\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"},\"5\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)^\\\\s*(subgraph)\\\\s+(\\\\w+)(\\\\[)(\\\"?[!#-'*-/:<-?\\\\\\\\^`\\\\w\\\\s]*\\\"?)(])\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"^\\\\s*(subgraph)\\\\s+([ 0-9<>\\\\p{L}]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"^(?i)\\\\s*(direction)\\\\s+(RB|BT|RL|TD|LR)\"},{\"match\":\"\\\\b(end)\\\\b\",\"name\":\"keyword.control.mermaid\"},{\"begin\":\"(?i)\\\\b((?:(?!--|==)[-\\\\w])+\\\\b\\\\s*)(\\\\(\\\\[|\\\\[\\\\[|\\\\[\\\\(?|\\\\(+|[>{]|\\\\(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"end\":\"(?i)(]\\\\)|]]|\\\\)]|]|\\\\)+|}|\\\\)\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"begin\":\"\\\\s*(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(\\\")\",\"endCaptures\":{\"1\":{\"name\":\"string\"}},\"patterns\":[{\"begin\":\"(?i)([^\\\"]*)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(?=\\\")\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"comment\"}},\"match\":\"([^\\\"]*)\"}]}]},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"}]},{\"begin\":\"(?i)\\\\s*((?:-{2,5}|={2,5})[>ox]?\\\\|)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(?i)(\\\\|)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"begin\":\"\\\\s*(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(\\\")\",\"endCaptures\":{\"1\":{\"name\":\"string\"}},\"patterns\":[{\"begin\":\"(?i)([^\\\"]*)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(?=\\\")\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"comment\"}},\"match\":\"([^\\\"]*)\"}]}]},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([<ox]?(?:-{2,5}|={2,5}|-\\\\.{1,3}|-\\\\.))((?:(?!--|==)[!-'*-/:<-?\\\\[-^`\\\\w\\\\s])*)((?:-{2,5}|={2,5}|\\\\.{1,3}-|\\\\.-)[>ox]?)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([<ox]?(?:-.{1,3}-|-{1,3}|={1,3})[>ox]?)\"},{\"match\":\"\\\\b((?:(?!--|==)[-\\\\w])+\\\\b\\\\s*)\",\"name\":\"variable\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(class)\\\\s+\\\\b([-,\\\\w]+)\\\\s+\\\\b(\\\\w+)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(classDef)\\\\s+\\\\b(\\\\w+)\\\\b\\\\s+\\\\b([-#,:;\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(click)\\\\s+\\\\b([-\\\\w]+\\\\b\\\\s*)(\\\\b\\\\w+\\\\b)?\\\\s(\\\"*.*\\\")\"},{\"begin\":\"\\\\s*(@\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(shape\\\\s*:)([^,}]*)(,)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(label\\\\s*:)([^,}]*)(,)?\"}]}]},{\"begin\":\"^\\\\s*(pie)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)\\\\s(.*)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"}]}]},{\"begin\":\"^\\\\s*(quadrantChart)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)^\\\\s*([xy]-axis)\\\\s+((?:(?!-->)[!#-'*-/=?\\\\\\\\\\\\w\\\\s])*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(-->)\\\\s*([!#-'*-/=?\\\\\\\\\\\\w\\\\s]*)\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(quadrant-[1-4])\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"5\":{\"name\":\"keyword.control.mermaid\"},\"6\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"7\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([!#-'*-/=?\\\\\\\\\\\\w\\\\s]*)\\\\s*(:)\\\\s*(\\\\[)\\\\s*(\\\\d\\\\.\\\\d+)\\\\s*(,)\\\\s*(\\\\d\\\\.\\\\d+)\\\\s*(])\"}]},{\"begin\":\"^\\\\s*(requirementDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"begin\":\"(?i)^\\\\s*((?:functional|interface|performance|physical)?requirement|designConstraint)\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(?i)\\\\s*(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(id:)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(text:)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)\\\\s*(risk:)\\\\s*(low|medium|high)\\\\s*$\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)\\\\s*(verifymethod:)\\\\s*(analysis|inspection|test|demonstration)\\\\s*$\"}]},{\"begin\":\"(?i)^\\\\s*(element)\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(?i)\\\\s*(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(type:)\\\\s*([!-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(docref:)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"}]},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"variable\"}},\"match\":\"(?i)^\\\\s*(\\\\w+)\\\\s*(-)\\\\s*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\\\\s*(->)\\\\s*(\\\\w+)\\\\s*$\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"variable\"}},\"match\":\"(?i)^\\\\s*(\\\\w+)\\\\s*(<-)\\\\s*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\\\\s*(-)\\\\s*(\\\\w+)\\\\s*$\"}]},{\"begin\":\"^\\\\s*(sequenceDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"(%%|#).*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)(title)\\\\s*(:)?\\\\s+(\\\\s*[!-/:<-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(participant|actor)\\\\s+((?:(?! as )[!-*./<-?\\\\\\\\^\\\\w\\\\s])+)\\\\s*(as)?\\\\s([!-*,./<-?\\\\\\\\^\\\\w\\\\s]+)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*((?:de)?activate)\\\\s+\\\\b([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?\\\\s*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"variable\"},\"6\":{\"name\":\"keyword.control.mermaid\"},\"7\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(Note)\\\\s+((?:left|right)\\\\sof|over)\\\\s+\\\\b([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?\\\\s*)(,)?(\\\\b[!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?\\\\s*)?(:)(?:\\\\s+([^#;]*))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(loop)(?:\\\\s+([^#;]*))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"\\\\s*(end)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(alt|else|option|par|and|rect|autonumber|critical|opt)(?:\\\\s+([^#;]*))?$\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*\\\\b([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?)\\\\s*(-?-[)>x]>?[-+]?)\\\\s*([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?)\\\\s*(:)\\\\s*([^#;]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(box)\\\\s+(transparent)(?:\\\\s+([^#;]*))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(box)(?:\\\\s+([^#;]*))?\"}]},{\"begin\":\"^\\\\s*(stateDiagram(?:-v2)?)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"\\\\s+(})\\\\s+\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"\\\\s+(--)\\\\s+\"},{\"match\":\"^\\\\s*([-\\\\w]+)$\",\"name\":\"variable\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s+(:)\\\\s+(\\\\s*[-\\\\w\\\\s]+)\\\\b\"},{\"begin\":\"(?i)^\\\\s*(state)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(\\\"[-\\\\w\\\\s]+\\\\b\\\")\\\\s+(as)\\\\s+([-\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s+(\\\\{)\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s+(<<(?:fork|join)>>)\"}]},{\"begin\":\"(?i)([-\\\\w]+)\\\\s+(-->)\",\"beginCaptures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+([-\\\\w]+)\\\\s*(:)?\\\\s*([^\\\\n:]+)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)(\\\\[\\\\*])\\\\s*(:)?\\\\s*([^\\\\n:]+)?\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)(\\\\[\\\\*])\\\\s+(-->)\\\\s+([-\\\\w]+)\\\\s*(:)?\\\\s*([^\\\\n:]+)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(note (?:left|right) of)\\\\s+([-\\\\w]+)\\\\s+(:)\\\\s*([^\\\\n:]+)\"},{\"begin\":\"(?i)^\\\\s*(note (?:left|right) of)\\\\s+([-\\\\w]+)(.|\\\\n)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"contentName\":\"string\",\"end\":\"(?i)(end note)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}}}]},{\"begin\":\"^\\\\s*(journey)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title|section)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)\\\\s*([!\\\"$-/<-?\\\\\\\\^\\\\w\\\\s]*)\\\\s*(:)\\\\s*(\\\\d+)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*,?\\\\s*([^\\\\n#,]+)\"}]}]},{\"begin\":\"^\\\\s*(xychart(?:-beta)?(?:\\\\s+horizontal)?)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)^\\\\s*(x-axis)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\\\\s*(-->)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+([!#-(*-/:-?\\\\\\\\^\\\\w]*)\"},{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"\\\\s*(])\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-!#-(*+./:-?\\\\\\\\^\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(,)\"}]}]},{\"begin\":\"(?i)^\\\\s*(y-axis)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\\\\s*(-->)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+([!#-(*-/:-?\\\\\\\\^\\\\w]*)\"}]},{\"begin\":\"(?i)^\\\\s*(line|bar)\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"\\\\s*(])\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(,)\"}]}]}]},\"mermaid-ado-code-block\":{\"begin\":\"(?i)\\\\s*:::\\\\s*mermaid\\\\s*$\",\"contentName\":\"meta.embedded.block.mermaid\",\"end\":\"\\\\s*:::\\\\s*\",\"patterns\":[{\"include\":\"#mermaid\"}]},\"mermaid-code-block\":{\"begin\":\"(?i)(?<=[`~])mermaid(\\\\s+[^`~]*)?$\",\"contentName\":\"meta.embedded.block.mermaid\",\"end\":\"(^|\\\\G)(?=\\\\s*[`~]{3,}\\\\s*$)\",\"patterns\":[{\"include\":\"#mermaid\"}]},\"mermaid-code-block-with-attributes\":{\"begin\":\"(?i)(?<=[`~])\\\\{\\\\s*\\\\.?mermaid(\\\\s+[^`~]*)?$\",\"contentName\":\"meta.embedded.block.mermaid\",\"end\":\"(^|\\\\G)(?=\\\\s*[`~]{3,}\\\\s*$)\",\"patterns\":[{\"include\":\"#mermaid\"}]}},\"scopeName\":\"markdown.mermaid.codeblock\",\"aliases\":[\"mmd\"]}"))
1
+ const lang = Object.freeze(JSON.parse("{\"displayName\":\"Mermaid\",\"fileTypes\":[],\"injectionSelector\":\"L:text.html.markdown\",\"name\":\"mermaid\",\"patterns\":[{\"include\":\"#mermaid-code-block\"},{\"include\":\"#mermaid-code-block-with-attributes\"},{\"include\":\"#mermaid-ado-code-block\"}],\"repository\":{\"mermaid\":{\"patterns\":[{\"begin\":\"^\\\\s*(architecture-beta)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"string\"},\"5\":{\"name\":\"keyword.control.mermaid\"},\"6\":{\"name\":\"string\"},\"7\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"8\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"9\":{\"name\":\"string\"},\"10\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"11\":{\"name\":\"keyword.control.mermaid\"},\"12\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(group|service)\\\\s+([-\\\\w]+)\\\\s*(\\\\()?([-\\\\w\\\\s]+)?(:)?([-\\\\w\\\\s]+)?(\\\\))?\\\\s*(\\\\[)?([-\\\\w\\\\s]+)?\\\\s*(])?\\\\s*(in)?\\\\s*([-\\\\w]+)?\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"5\":{\"name\":\"keyword.control.mermaid\"},\"6\":{\"name\":\"entity.name.function.mermaid\"},\"7\":{\"name\":\"keyword.control.mermaid\"},\"8\":{\"name\":\"entity.name.function.mermaid\"},\"9\":{\"name\":\"keyword.control.mermaid\"},\"10\":{\"name\":\"variable\"},\"11\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"12\":{\"name\":\"variable\"},\"13\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s*(\\\\{)?\\\\s*(group)?(})?\\\\s*(:)\\\\s*([BLRT])\\\\s+(<?-->?)\\\\s+([BLRT])\\\\s*(:)\\\\s*([-\\\\w]+)\\\\s*(\\\\{)?\\\\s*(group)?(})?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(junction)\\\\s+([-\\\\w]+)\\\\s*(in)?\\\\s*([-\\\\w]+)?\"}]},{\"begin\":\"^\\\\s*(classDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.class.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"entity.name.type.class.mermaid\"},\"6\":{\"name\":\"keyword.control.mermaid\"},\"7\":{\"name\":\"string\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s(\\\"(?:\\\\d+|\\\\*|0..\\\\d+|1..\\\\d+|1..\\\\*)\\\")?\\\\s?(--o|--\\\\*|<--|-->|<\\\\.\\\\.|\\\\.\\\\.>|<\\\\|\\\\.\\\\.|\\\\.\\\\.\\\\|>|<\\\\|--|--\\\\|>|--\\\\*?|\\\\.\\\\.|\\\\*--|o--)\\\\s(\\\"(?:\\\\d+|\\\\*|0..\\\\d+|1..\\\\d+|1..\\\\*)\\\")?\\\\s?([-\\\\w]+)\\\\s?(:)?\\\\s(.*)$\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.class.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"entity.name.function.mermaid\"},\"5\":{\"name\":\"punctuation.parenthesis.open.mermaid\"},\"6\":{\"name\":\"storage.type.mermaid\"},\"7\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"8\":{\"name\":\"storage.type.mermaid\"},\"9\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"10\":{\"name\":\"entity.name.variable.parameter.mermaid\"},\"11\":{\"name\":\"punctuation.parenthesis.closed.mermaid\"},\"12\":{\"name\":\"keyword.control.mermaid\"},\"13\":{\"name\":\"storage.type.mermaid\"},\"14\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"15\":{\"name\":\"storage.type.mermaid\"},\"16\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s?(:)\\\\s([-#+~])?([-\\\\w]+)(\\\\()([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?\\\\s?([-\\\\w]+)?(\\\\))([$*]{0,2})\\\\s?([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?$\"},{\"captures\":{\"1\":{\"name\":\"entity.name.type.class.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"6\":{\"name\":\"storage.type.mermaid\"},\"7\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"8\":{\"name\":\"entity.name.variable.field.mermaid\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s?(:)\\\\s([-#+~])?([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\\\\s([-\\\\w]+)?$\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"2\":{\"name\":\"storage.type.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"4\":{\"name\":\"entity.name.type.class.mermaid\"}},\"match\":\"(?i)(<<)([-\\\\w]+)(>>)\\\\s?([-\\\\w]+)?\"},{\"begin\":\"(?i)(class)\\\\s+([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\\\\s?(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.type.class.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"6\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"begin\":\"(?i)\\\\s([-#+~])?([-\\\\w]+)(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"punctuation.parenthesis.open.mermaid\"}},\"end\":\"(?i)(\\\\))([$*]{0,2})\\\\s?([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?$\",\"endCaptures\":{\"1\":{\"name\":\"punctuation.parenthesis.closed.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"storage.type.mermaid\"},\"4\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"5\":{\"name\":\"storage.type.mermaid\"},\"6\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.mermaid\"},\"2\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"3\":{\"name\":\"storage.type.mermaid\"},\"4\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"5\":{\"name\":\"entity.name.variable.parameter.mermaid\"}},\"match\":\"(?i)\\\\s*,?\\\\s*([-\\\\w]+)?(~)?([-\\\\w]+)?(~)?\\\\s?([-\\\\w]+)?\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"storage.type.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"6\":{\"name\":\"entity.name.variable.field.mermaid\"}},\"match\":\"(?i)\\\\s([-#+~])?([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\\\\s([-\\\\w]+)?$\"},{\"captures\":{\"1\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"2\":{\"name\":\"storage.type.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"},\"4\":{\"name\":\"entity.name.type.class.mermaid\"}},\"match\":\"(?i)(<<)([-\\\\w]+)(>>)\\\\s?([-\\\\w]+)?\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.type.class.mermaid\"},\"3\":{\"name\":\"punctuation.definition.typeparameters.begin.mermaid\"},\"4\":{\"name\":\"storage.type.mermaid\"},\"5\":{\"name\":\"punctuation.definition.typeparameters.end.mermaid\"}},\"match\":\"(?i)(class)\\\\s+([-\\\\w]+)(~)?([-\\\\w]+)?(~)?\"}]},{\"begin\":\"^\\\\s*(erDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"},\"4\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)^\\\\s*([-\\\\w]+)\\\\s*(\\\\[)?\\\\s*([-\\\\w]+|\\\"[-\\\\w\\\\s]+\\\")?\\\\s*(])?$\"},{\"begin\":\"(?i)\\\\s+([-\\\\w]+)\\\\s*(\\\\[)?\\\\s*([-\\\\w]+|\\\"[-\\\\w\\\\s]+\\\")?\\\\s*(])?\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"storage.type.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s+([-\\\\w]+)\\\\s+([FPU]K(?:,\\\\s*[FPU]K){0,2})?\\\\s*(\\\"[!-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")?\\\\s*\"},{\"match\":\"%%.*\",\"name\":\"comment\"}]},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s*((?:\\\\|o|\\\\|\\\\||}o|}\\\\||one or (?:zero|more|many)|zero or (?:one|more|many)|many\\\\([01]\\\\)|only one|0\\\\+|1\\\\+?)(?:..|--)(?:o\\\\||\\\\|\\\\||o\\\\{|\\\\|\\\\{|one or (?:zero|more|many)|zero or (?:one|more|many)|many\\\\([01]\\\\)|only one|0\\\\+|1\\\\+?))\\\\s*([-\\\\w]+)\\\\s*(:)\\\\s*(\\\"[\\\\w\\\\s]*\\\"|[-\\\\w]+)\"}]},{\"begin\":\"^\\\\s*(gantt)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)^\\\\s*(dateFormat)\\\\s+([-.\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)^\\\\s*(axisFormat)\\\\s+([-%./\\\\\\\\\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)(tickInterval)\\\\s+(([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month))\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(excludes)\\\\s+((?:[-,\\\\d\\\\s]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s+(todayMarker)\\\\s+(.*)$\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(section)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)^\\\\s(.*)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"match\":\"(crit|done|active|after)\",\"name\":\"entity.name.function.mermaid\"},{\"match\":\"%%.*\",\"name\":\"comment\"}]}]},{\"begin\":\"^\\\\s*(gitGraph)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"begin\":\"(?i)^\\\\s*(commit)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(id)(:)\\\\s?(\\\"[^\\\\n\\\"]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)\\\\s*(type)(:)\\\\s?(NORMAL|REVERSE|HIGHLIGHT)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(tag)(:)\\\\s?(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)^\\\\s*(checkout)\\\\s*([^\\\"\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)^\\\\s*(branch)\\\\s*([^\\\"\\\\s]*)\\\\s*(?:(order)(:)\\\\s?(\\\\d+))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(merge)\\\\s*([^\\\"\\\\s]*)\\\\s*(?:(tag)(:)\\\\s?(\\\"[^\\\\n\\\"]*\\\"))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(cherry-pick)\\\\s+(id)(:)\\\\s*(\\\"[^\\\\n\\\"]*\\\")\"}]},{\"begin\":\"^\\\\s*(graph|flowchart)\\\\s+([ 0-9\\\\p{L}]+)?\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"},\"5\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)^\\\\s*(subgraph)\\\\s+(\\\\w+)(\\\\[)(\\\"?[!#-'*-/:<-?\\\\\\\\^`\\\\w\\\\s]*\\\"?)(])\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"^\\\\s*(subgraph)\\\\s+([ 0-9<>\\\\p{L}]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"^(?i)\\\\s*(direction)\\\\s+(RB|BT|RL|TD|LR)\"},{\"match\":\"\\\\b(end)\\\\b\",\"name\":\"keyword.control.mermaid\"},{\"begin\":\"(?i)\\\\b((?:(?!--|==)[-\\\\w])+\\\\b\\\\s*)(\\\\(\\\\[|\\\\[\\\\[|\\\\[\\\\(?|\\\\(+|[>{]|\\\\(\\\\()\",\"beginCaptures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"end\":\"(?i)(]\\\\)|]]|\\\\)]|]|\\\\)+|}|\\\\)\\\\))\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"begin\":\"\\\\s*(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(\\\")\",\"endCaptures\":{\"1\":{\"name\":\"string\"}},\"patterns\":[{\"begin\":\"(?i)([^\\\"]*)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(?=\\\")\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"comment\"}},\"match\":\"([^\\\"]*)\"}]}]},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"}]},{\"begin\":\"(?i)\\\\s*((?:-?\\\\.{1,4}-|-{2,5}|={2,5})[>ox]?\\\\|)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(?i)(\\\\|)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"begin\":\"\\\\s*(\\\")\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(\\\")\",\"endCaptures\":{\"1\":{\"name\":\"string\"}},\"patterns\":[{\"begin\":\"(?i)([^\\\"]*)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"}},\"end\":\"(?=\\\")\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"comment\"}},\"match\":\"([^\\\"]*)\"}]}]},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([<ox]?(?:-{2,5}|={2,5}|-\\\\.{1,3}|-\\\\.))((?:(?!--|==)[!-'*-/:<-?\\\\[-^`\\\\w\\\\s])*)((?:-{2,5}|={2,5}|\\\\.{1,3}-|\\\\.-)[>ox]?)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([<ox]?(?:-?\\\\.{1,4}-|-{1,4}|={1,4})[>ox]?)\"},{\"match\":\"\\\\b((?:(?!--|==)[-\\\\w])+\\\\b\\\\s*)\",\"name\":\"variable\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(class)\\\\s+\\\\b([-,\\\\w]+)\\\\s+\\\\b(\\\\w+)\\\\b\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(classDef)\\\\s+\\\\b(\\\\w+)\\\\b\\\\s+\\\\b([-#,:;\\\\w]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(click)\\\\s+\\\\b([-\\\\w]+\\\\b\\\\s*)(\\\\b\\\\w+\\\\b)?\\\\s(\\\"*.*\\\")\"},{\"begin\":\"\\\\s*(@\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(shape\\\\s*:)([^,}]*)(,)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(label\\\\s*:)([^,}]*)(,)?\"}]}]},{\"begin\":\"^\\\\s*(pie)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)\\\\s(.*)(:)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"}]}]},{\"begin\":\"^\\\\s*(quadrantChart)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)^\\\\s*([xy]-axis)\\\\s+((?:(?!-->)[!#-'*-/=?\\\\\\\\\\\\w\\\\s])*)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(-->)\\\\s*([!#-'*-/=?\\\\\\\\\\\\w\\\\s]*)\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(quadrant-[1-4])\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"5\":{\"name\":\"keyword.control.mermaid\"},\"6\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"7\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([!#-'*-/=?\\\\\\\\\\\\w\\\\s]*)\\\\s*(:)\\\\s*(\\\\[)\\\\s*(\\\\d\\\\.\\\\d+)\\\\s*(,)\\\\s*(\\\\d\\\\.\\\\d+)\\\\s*(])\"}]},{\"begin\":\"^\\\\s*(requirementDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"begin\":\"(?i)^\\\\s*((?:functional|interface|performance|physical)?requirement|designConstraint)\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(?i)\\\\s*(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(id:)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(text:)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)\\\\s*(risk:)\\\\s*(low|medium|high)\\\\s*$\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"(?i)\\\\s*(verifymethod:)\\\\s*(analysis|inspection|test|demonstration)\\\\s*$\"}]},{\"begin\":\"(?i)^\\\\s*(element)\\\\s*([!-/:-?\\\\\\\\^\\\\w\\\\s]*)\\\\s*(\\\\{)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(?i)\\\\s*(})\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(type:)\\\\s*([!-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*(docref:)\\\\s*([!#-'*+,./:;<>?\\\\\\\\^_\\\\w\\\\s]+)\"}]},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"variable\"}},\"match\":\"(?i)^\\\\s*(\\\\w+)\\\\s*(-)\\\\s*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\\\\s*(->)\\\\s*(\\\\w+)\\\\s*$\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"variable\"}},\"match\":\"(?i)^\\\\s*(\\\\w+)\\\\s*(<-)\\\\s*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\\\\s*(-)\\\\s*(\\\\w+)\\\\s*$\"}]},{\"begin\":\"^\\\\s*(sequenceDiagram)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"(%%|#).*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)(title)\\\\s*(:)?\\\\s+(\\\\s*[!-/:<-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(participant|actor)\\\\s+((?:(?! as )[!-*./<-?\\\\\\\\^\\\\w\\\\s])+)\\\\s*(as)?\\\\s([!-*,./<-?\\\\\\\\^\\\\w\\\\s]+)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*((?:de)?activate)\\\\s+\\\\b([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?\\\\s*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"variable\"},\"6\":{\"name\":\"keyword.control.mermaid\"},\"7\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(Note)\\\\s+((?:left|right)\\\\sof|over)\\\\s+\\\\b([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?\\\\s*)(,)?(\\\\b[!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?\\\\s*)?(:)(?:\\\\s+([^#;]*))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(loop)(?:\\\\s+([^#;]*))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"\\\\s*(end)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(alt|else|option|par|and|rect|autonumber|critical|opt)(?:\\\\s+([^#;]*))?$\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*\\\\b([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?)\\\\s*(-?-[)>x]>?[-+]?)\\\\s*([!-*./<-?\\\\\\\\^\\\\w\\\\s]+\\\\b\\\\)?)\\\\s*(:)\\\\s*([^#;]*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(box)\\\\s+(transparent)(?:\\\\s+([^#;]*))?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(box)(?:\\\\s+([^#;]*))?\"}]},{\"begin\":\"^\\\\s*(stateDiagram(?:-v2)?)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"entity.name.function.mermaid\"}},\"match\":\"^(?i)\\\\s*(direction)\\\\s+(BT|RL|TB|LR)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"\\\\s+(})\\\\s+\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"\\\\s+(--)\\\\s+\"},{\"match\":\"^\\\\s*([-\\\\w]+)$\",\"name\":\"variable\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)([-\\\\w]+)\\\\s*(:)\\\\s*(\\\\s*[^:]+)\"},{\"begin\":\"(?i)^\\\\s*(state)\\\\s+\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(\\\"[^\\\"]+\\\")\\\\s*(as)\\\\s+([-\\\\w]+)\\\\s*(\\\\{)?\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s+(\\\\{)\"},{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s+(<<(?:fork|join)>>)\"}]},{\"begin\":\"(?i)([-\\\\w]+)\\\\s*(-->)\",\"beginCaptures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-\\\\w]+)\\\\s*(:)?\\\\s*([^\\\\n:]+)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"string\"}},\"match\":\"(?i)(\\\\[\\\\*])\\\\s*(:)?\\\\s*([^\\\\n:]+)?\"}]},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"variable\"},\"4\":{\"name\":\"keyword.control.mermaid\"},\"5\":{\"name\":\"string\"}},\"match\":\"(?i)(\\\\[\\\\*])\\\\s*(-->)\\\\s*([-\\\\w]+)\\\\s*(:)?\\\\s*([^\\\\n:]+)?\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"},\"3\":{\"name\":\"keyword.control.mermaid\"},\"4\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(note (?:left|right) of)\\\\s+([-\\\\w]+)\\\\s*(:)\\\\s*([^\\\\n:]+)\"},{\"begin\":\"(?i)^\\\\s*(note (?:left|right) of)\\\\s+([-\\\\w]+)(.|\\\\n)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"variable\"}},\"contentName\":\"string\",\"end\":\"(?i)(end note)\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}}}]},{\"begin\":\"^\\\\s*(journey)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title|section)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)\\\\s*([!\\\"$-/<-?\\\\\\\\^\\\\w\\\\s]*)\\\\s*(:)\\\\s*(\\\\d+)\\\\s*(:)\",\"beginCaptures\":{\"1\":{\"name\":\"string\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"4\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"variable\"}},\"match\":\"(?i)\\\\s*,?\\\\s*([^\\\\n#,]+)\"}]}]},{\"begin\":\"^\\\\s*(xychart(?:-beta)?(?:\\\\s+horizontal)?)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"(^|\\\\G)(?=\\\\s*[:`~]{3,}\\\\s*$)\",\"patterns\":[{\"match\":\"%%.*\",\"name\":\"comment\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"string\"}},\"match\":\"(?i)^\\\\s*(title)\\\\s+(\\\\s*[!-/:-?\\\\\\\\^\\\\w\\\\s]*)\"},{\"begin\":\"(?i)^\\\\s*(x-axis)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\\\\s*(-->)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+([!#-(*-/:-?\\\\\\\\^\\\\w]*)\"},{\"begin\":\"\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"\\\\s*(])\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s*([-!#-(*+./:-?\\\\\\\\^\\\\w\\\\s]+)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(,)\"}]}]},{\"begin\":\"(?i)^\\\\s*(y-axis)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"$\",\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"},\"3\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\\\\s*(-->)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+(\\\"[!#-(*-/:-?\\\\\\\\^\\\\w\\\\s]*\\\")\"},{\"captures\":{\"1\":{\"name\":\"string\"}},\"match\":\"(?i)\\\\s+([!#-(*-/:-?\\\\\\\\^\\\\w]*)\"}]},{\"begin\":\"(?i)^\\\\s*(line|bar)\\\\s*(\\\\[)\",\"beginCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"},\"2\":{\"name\":\"keyword.control.mermaid\"}},\"end\":\"\\\\s*(])\",\"endCaptures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"patterns\":[{\"captures\":{\"1\":{\"name\":\"constant.numeric.decimal.mermaid\"}},\"match\":\"(?i)\\\\s*([-+]?\\\\d+\\\\.?\\\\d*)\"},{\"captures\":{\"1\":{\"name\":\"keyword.control.mermaid\"}},\"match\":\"(?i)\\\\s*(,)\"}]}]}]},\"mermaid-ado-code-block\":{\"begin\":\"(?i)\\\\s*:::\\\\s*mermaid\\\\s*$\",\"contentName\":\"meta.embedded.block.mermaid\",\"end\":\"\\\\s*:::\\\\s*\",\"patterns\":[{\"include\":\"#mermaid\"}]},\"mermaid-code-block\":{\"begin\":\"(?i)(?<=[`~])mermaid(\\\\s+[^`~]*)?$\",\"contentName\":\"meta.embedded.block.mermaid\",\"end\":\"(^|\\\\G)(?=\\\\s*[`~]{3,}\\\\s*$)\",\"patterns\":[{\"include\":\"#mermaid\"}]},\"mermaid-code-block-with-attributes\":{\"begin\":\"(?i)(?<=[`~])\\\\{\\\\s*\\\\.?mermaid(\\\\s+[^`~]*)?$\",\"contentName\":\"meta.embedded.block.mermaid\",\"end\":\"(^|\\\\G)(?=\\\\s*[`~]{3,}\\\\s*$)\",\"patterns\":[{\"include\":\"#mermaid\"}]}},\"scopeName\":\"markdown.mermaid.codeblock\",\"aliases\":[\"mmd\"]}"))
2
2
 
3
3
  export default [
4
4
  lang