@shikijs/langs-precompiled 3.20.0 → 3.22.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.
Files changed (56) hide show
  1. package/dist/actionscript-3.mjs +1 -1
  2. package/dist/apex.mjs +1 -1
  3. package/dist/blade.mjs +1 -1
  4. package/dist/c3.d.mts +3 -0
  5. package/dist/c3.mjs +5 -0
  6. package/dist/csharp.mjs +1 -1
  7. package/dist/fortran-fixed-form.mjs +1 -1
  8. package/dist/fortran-free-form.mjs +1 -1
  9. package/dist/gd.d.mts +3 -0
  10. package/dist/gd.mjs +2 -0
  11. package/dist/gdresource.mjs +1 -1
  12. package/dist/gdscript.mjs +1 -1
  13. package/dist/gn.d.mts +3 -0
  14. package/dist/gn.mjs +5 -0
  15. package/dist/go.mjs +1 -1
  16. package/dist/index.mjs +12 -0
  17. package/dist/kusto.mjs +1 -1
  18. package/dist/latex.mjs +1 -1
  19. package/dist/lean.mjs +1 -1
  20. package/dist/lua.mjs +1 -1
  21. package/dist/luau.mjs +1 -1
  22. package/dist/markdown-nix.mjs +1 -1
  23. package/dist/markdown-vue.mjs +1 -1
  24. package/dist/marko.mjs +1 -1
  25. package/dist/mbt.d.mts +3 -0
  26. package/dist/mbt.mjs +2 -0
  27. package/dist/mbti.d.mts +3 -0
  28. package/dist/mbti.mjs +2 -0
  29. package/dist/mermaid.mjs +1 -1
  30. package/dist/mojo.mjs +1 -1
  31. package/dist/moonbit.d.mts +3 -0
  32. package/dist/moonbit.mjs +5 -0
  33. package/dist/move.mjs +1 -1
  34. package/dist/odin.d.mts +3 -0
  35. package/dist/odin.mjs +5 -0
  36. package/dist/php.mjs +1 -1
  37. package/dist/proto.mjs +1 -1
  38. package/dist/r.mjs +1 -3
  39. package/dist/razor.mjs +1 -1
  40. package/dist/ron.d.mts +3 -0
  41. package/dist/ron.mjs +5 -0
  42. package/dist/surql.d.mts +3 -0
  43. package/dist/surql.mjs +2 -0
  44. package/dist/surrealql.d.mts +3 -0
  45. package/dist/surrealql.mjs +8 -0
  46. package/dist/svelte.mjs +1 -1
  47. package/dist/tres.d.mts +3 -0
  48. package/dist/tres.mjs +2 -0
  49. package/dist/tscn.d.mts +3 -0
  50. package/dist/tscn.mjs +2 -0
  51. package/dist/vue-directives.mjs +1 -1
  52. package/dist/vue-html.mjs +1 -3
  53. package/dist/vue-interpolations.mjs +1 -1
  54. package/dist/vue-vine.mjs +1 -3
  55. package/dist/vue.mjs +3 -3
  56. package/package.json +15 -3
package/dist/luau.mjs CHANGED
@@ -1,4 +1,4 @@
1
- const lang = Object.freeze({displayName:"Luau",fileTypes:["luau"],name:"luau",patterns:[{include:"#function-definition"},{include:"#number"},{include:"#string"},{include:"#shebang"},{include:"#comment"},{include:"#local-declaration"},{include:"#for-loop"},{include:"#type-function"},{include:"#type-alias-declaration"},{include:"#keyword"},{include:"#language_constant"},{include:"#standard_library"},{include:"#identifier"},{include:"#operator"},{include:"#parentheses"},{include:"#table"},{include:"#type_cast"},{include:"#type_annotation"},{include:"#attribute"}],repository:{attribute:{patterns:[{captures:{"1":{name:"keyword.operator.attribute.luau"},"2":{name:"storage.type.attribute.luau"}},match:/(@)([A-Z_a-z][0-9A-Z_a-z]*)/dgv,name:"meta.attribute.luau"}]},comment:{patterns:[{begin:/--\[(=*)\[/dgv,end:/\]\1\]()/dgv,name:"comment.block.luau",patterns:[{begin:/(```luau?)\p{space}+/dgv,beginCaptures:{"1":{name:"comment.luau"}},end:/(```)/dgv,endCaptures:{"1":{name:"comment.luau"}},name:"keyword.operator.other.luau",patterns:[{include:"source.luau"}]},{include:"#doc_comment_tags"}]},{begin:/---/dgv,end:/\n/dgv,name:"comment.line.double-dash.documentation.luau",patterns:[{include:"#doc_comment_tags"}]},{begin:/--/dgv,end:/\n/dgv,name:"comment.line.double-dash.luau"}]},doc_comment_tags:{patterns:[{match:/@[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"storage.type.class.luadoc.luau"},{captures:{"1":{name:"storage.type.class.luadoc.luau"},"2":{name:"variable.parameter.luau"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv}]},"for-loop":{begin:/\b(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.luau"}},end:/\b(in)\b|(=)/dgv,endCaptures:{"1":{name:"keyword.control.luau"},"2":{name:"keyword.operator.assignment.luau"}},patterns:[{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.luau"}},end:/(?=\p{space}*in\b|\p{space}*[\,\=]|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#type_literal"}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.parameter.luau"}]},"function-definition":{begin:/\b(?:(local)\p{space}+)?(function)\b(?![\,\:])/dgv,beginCaptures:{"1":{name:"storage.modifier.local.luau"},"2":{name:"keyword.control.luau"}},end:/(?<=[\-\]"'\)\[\{\}])/dgv,name:"meta.function.luau",patterns:[{include:"#comment"},{include:"#generics-declaration"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.end.luau"}},name:"meta.parameter.luau",patterns:[{include:"#comment"},{match:/\.\.\./dgv,name:"variable.parameter.function.varargs.luau"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.parameter.function.luau"},{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.type.luau"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#type_literal"}]}]},{match:/\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm|iter|idiv))\b/dgv,name:"variable.language.metamethod.luau"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.function.luau"}]},"generics-declaration":{begin:/(<)/dgv,end:/(>)/dgv,patterns:[{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"entity.name.type.luau"},{match:/=/dgv,name:"keyword.operator.assignment.luau"},{include:"#type_literal"}]},identifier:{patterns:[{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*(?:["'\(\{]|\[\[))/dgv,name:"entity.name.function.luau"},{match:/(?<=[^\.]\.|:)\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.other.property.luau"},{match:/\b([A-Z_][0-9A-Z_]*)\b/dgv,name:"variable.other.constant.luau"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.other.readwrite.luau"}]},interpolated_string_expression:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.interpolated-string-expression.begin.luau"}},contentName:"meta.embedded.line.luau",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.interpolated-string-expression.end.luau"}},name:"meta.template.expression.luau",patterns:[{include:"source.luau"}]},keyword:{patterns:[{match:/\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\b/dgv,name:"keyword.control.luau"},{match:/\b(local)\b/dgv,name:"storage.modifier.local.luau"},{match:/\b(function)\b(?![\,\:])/dgv,name:"keyword.control.luau"},{match:/(?<![^\.]\.|:)\b(self)\b/dgv,name:"variable.language.self.luau"},{match:/\b(and|or|not)\b/dgv,name:"keyword.operator.logical.luau keyword.operator.wordlike.luau"},{match:/(?<=[^\.]\.|:)\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm))\b/dgv,name:"variable.language.metamethod.luau"},{match:/(?<!\.)\.{3}(?!\.)/dgv,name:"keyword.other.unit.luau"}]},language_constant:{patterns:[{match:/(?<![^\.]\.|:)\b(false)\b/dgv,name:"constant.language.boolean.false.luau"},{match:/(?<![^\.]\.|:)\b(true)\b/dgv,name:"constant.language.boolean.true.luau"},{match:/(?<![^\.]\.|:)\b(nil(?!:))\b/dgv,name:"constant.language.nil.luau"}]},"local-declaration":{begin:/\b(local)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.local.luau"}},end:/(?=\p{space}*do\b|\p{space}*[\;\=]|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#comment"},{include:"#attribute"},{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.luau"}},end:/(?=\p{space}*do\b|\p{space}*[\,\;\=]|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#type_literal"}]},{match:/\b([A-Z_][0-9A-Z_]*)\b/dgv,name:"variable.other.constant.luau"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.other.readwrite.luau"}]},number:{patterns:[{match:/\b0_*[Xx]_*[A-F_a-f\p{Nd}]*(?:[Ee][\-\+]?_*\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?)?/dgv,name:"constant.numeric.hex.luau"},{match:/\b0_*[Bb][01_]+(?:[Ee][\-\+]?_*\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?)?/dgv,name:"constant.numeric.binary.luau"},{match:/(?:\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?|\.\p{Nd}[_\p{Nd}]*)(?:[Ee][\-\+]?_*\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?)?/dgv,name:"constant.numeric.decimal.luau"}]},operator:{patterns:[{match:/==|~=|!=|<=?|>=?/dgv,name:"keyword.operator.comparison.luau"},{match:/(?:[\-\+]|\/\/??|[\%\*\^]|\.\.|)=/dgv,name:"keyword.operator.assignment.luau"},{match:/[\-\%\*\+]|\/\/|[\/\^]/dgv,name:"keyword.operator.arithmetic.luau"},{match:/#|(?<!\.)\.{2}(?!\.)/dgv,name:"keyword.operator.other.luau"}]},parentheses:{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.arguments.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.arguments.end.luau"}},patterns:[{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{include:"source.luau"}]},shebang:{captures:{"1":{name:"punctuation.definition.comment.luau"}},match:/^(#!)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.shebang.luau"},standard_library:{patterns:[{match:/(?<![^\.]\.|:)\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(_(?:G|VERSION))\b/dgv,name:"constant.language.luau"},{match:/(?<![^\.]\.|:)\b(bit32\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\.(?:abs|acos|asin|atan2??|ceil|clamp|cosh??|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sinh??|sqrt|tanh??)|os\.(?:clock|date|difftime|time)|string\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\.(?:concat|create|find|foreachi??|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill))\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(bit32|buffer|coroutine|debug|math(\.(huge|pi))?|os|string|table|task|utf8(\.charpattern)?)\b/dgv,name:"support.constant.luau"},{match:/(?<![^\.]\.|:)\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(game|plugin|shared|script|workspace|Enum(?:\.[\p{L}\p{M}\p{N}\p{Pc}]+){0,2})\b/dgv,name:"constant.language.luau"}]},string:{patterns:[{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.luau",patterns:[{include:"#string_escape"}]},{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.luau",patterns:[{include:"#string_escape"}]},{begin:/\[(=*)\[/dgv,end:/\]\1\]()/dgv,name:"string.other.multiline.luau"},{begin:/`/dgv,end:/`/dgv,name:"string.interpolated.luau",patterns:[{include:"#interpolated_string_expression"},{include:"#string_escape"}]}]},string_escape:{patterns:[{match:/\\["'\\\`abfnrtvz\{]/dgv,name:"constant.character.escape.luau"},{match:/\\\p{Nd}{1,3}/dgv,name:"constant.character.escape.luau"},{match:/\\x\p{AHex}{2}/dgv,name:"constant.character.escape.luau"},{match:/\\u\{\p{AHex}*\}/dgv,name:"constant.character.escape.luau"},{match:/\\(?=\n?$)/dgv,name:"constant.character.escape.luau"}]},table:{begin:/(\{)/dgv,beginCaptures:{"1":{name:"punctuation.table.begin.luau"}},end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.table.end.luau"}},patterns:[{match:/[\,\;]/dgv,name:"punctuation.separator.fields.luau"},{include:"source.luau"}]},"type-alias-declaration":{begin:/^\b(?:(export)\p{space}+)?(type)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.visibility.luau"},"2":{name:"storage.type.luau"}},end:/(?=\p{space}*(?=\n?$))|(?=\p{space}*;)/dgv,patterns:[{include:"#type_literal"},{match:/=/dgv,name:"keyword.operator.assignment.luau"}]},"type-function":{begin:/^\b(?:(export)\p{space}+)?(type)\p{space}+(function)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.visibility.luau"},"2":{name:"storage.type.luau"},"3":{name:"keyword.control.luau"}},end:/(?<=[\-\]"'\)\[\{\}])/dgv,name:"meta.function.luau",patterns:[{include:"#comment"},{include:"#generics-declaration"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.end.luau"}},name:"meta.parameter.luau",patterns:[{include:"#comment"},{match:/\.\.\./dgv,name:"variable.parameter.function.varargs.luau"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.parameter.function.luau"},{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.type.luau"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#type_literal"}]}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.type.luau"}]},type_annotation:{begin:/:(?!\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*(?:["'\(\{]|\[\[)))/dgv,end:/(?<=\))(?!\p{space}*->)|[\;\=]|(?=\n?$)|(?=\breturn\b)|(?=\bend\b)/dgv,patterns:[{include:"#comment"},{include:"#type_literal"}]},type_cast:{begin:/(::)/dgv,beginCaptures:{"1":{name:"keyword.operator.typecast.luau"}},end:/(?=^|[\-\]\)\+\,\:\;\>\?\}](?!\p{space}*[\&\|])|(?=\n?$)|\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\b)/dgv,patterns:[{include:"#type_literal"}]},type_literal:{patterns:[{include:"#comment"},{include:"#string"},{match:/[\&\?\|]/dgv,name:"keyword.operator.type.luau"},{match:/->/dgv,name:"keyword.operator.type.function.luau"},{match:/\b(false)\b/dgv,name:"constant.language.boolean.false.luau"},{match:/\b(true)\b/dgv,name:"constant.language.boolean.true.luau"},{match:/\b(nil|string|number|boolean|thread|userdata|symbol|vector|buffer|unknown|never|any)\b/dgv,name:"support.type.primitive.luau"},{begin:/\b(typeof)\b(\()/dgv,beginCaptures:{"1":{name:"support.function.luau"},"2":{name:"punctuation.arguments.begin.typeof.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.arguments.end.typeof.luau"}},patterns:[{include:"source.luau"}]},{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.typeparameters.begin.luau"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.typeparameters.end.luau"}},patterns:[{match:/=/dgv,name:"keyword.operator.assignment.luau"},{include:"#type_literal"}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.type.luau"},{begin:/\{/dgv,end:/\}/dgv,patterns:[{begin:/\[/dgv,end:/\]/dgv,patterns:[{include:"#type_literal"}]},{captures:{"1":{name:"storage.modifier.access.luau"},"2":{name:"variable.property.luau"},"3":{name:"keyword.operator.type.luau"}},match:/\b(?:(read|write)\p{space}+)?([A-Z_a-z][0-9A-Z_a-z]*)\b(:)/dgv},{include:"#type_literal"},{match:/[\,\;]/dgv,name:"punctuation.separator.fields.type.luau"}]},{begin:/\(/dgv,end:/\)/dgv,patterns:[{captures:{"1":{name:"variable.parameter.luau"},"2":{name:"keyword.operator.type.luau"}},match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(:)/dgv,name:"variable.parameter.luau"},{include:"#type_literal"}]}]}},scopeName:"source.luau",embeddedLangs:undefined,aliases:undefined})
1
+ const lang = Object.freeze({displayName:"Luau",fileTypes:["luau"],name:"luau",patterns:[{include:"#function-definition"},{include:"#number"},{include:"#string"},{include:"#shebang"},{include:"#comment"},{include:"#local-declaration"},{include:"#for-loop"},{include:"#type-function"},{include:"#type-alias-declaration"},{include:"#keyword"},{include:"#language_constant"},{include:"#standard_library"},{include:"#identifier"},{include:"#operator"},{include:"#parentheses"},{include:"#table"},{include:"#type_cast"},{include:"#type_annotation"},{include:"#attribute"}],repository:{attribute:{patterns:[{captures:{"1":{name:"keyword.operator.attribute.luau"},"2":{name:"storage.type.attribute.luau"}},match:/(@)([A-Z_a-z][0-9A-Z_a-z]*)/dgv,name:"meta.attribute.luau"}]},comment:{patterns:[{begin:/--\[(=*)\[/dgv,end:/\]\1\]()/dgv,name:"comment.block.luau",patterns:[{begin:/(```luau?)\p{space}+/dgv,beginCaptures:{"1":{name:"comment.luau"}},end:/(```)/dgv,endCaptures:{"1":{name:"comment.luau"}},name:"keyword.operator.other.luau",patterns:[{include:"source.luau"}]},{include:"#doc_comment_tags"}]},{begin:/---/dgv,end:/\n/dgv,name:"comment.line.double-dash.documentation.luau",patterns:[{include:"#doc_comment_tags"}]},{begin:/--/dgv,end:/\n/dgv,name:"comment.line.double-dash.luau"}]},doc_comment_tags:{patterns:[{match:/@[\p{L}\p{M}\p{N}\p{Pc}]+/dgv,name:"storage.type.class.luadoc.luau"},{captures:{"1":{name:"storage.type.class.luadoc.luau"},"2":{name:"variable.parameter.luau"}},match:/((?<=[\!\*\/\p{space}])[\@\\]param)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgv}]},"for-loop":{begin:/\b(for)\b/dgv,beginCaptures:{"1":{name:"keyword.control.luau"}},end:/\b(in)\b|(=)/dgv,endCaptures:{"1":{name:"keyword.control.luau"},"2":{name:"keyword.operator.assignment.luau"}},patterns:[{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.luau"}},end:/(?=\p{space}*in\b|\p{space}*[\,\=]|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#type_literal"}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.parameter.luau"}]},"function-definition":{begin:/\b(?:(local)\p{space}+)?(function)\b(?![\,\:])/dgv,beginCaptures:{"1":{name:"storage.modifier.local.luau"},"2":{name:"keyword.control.luau"}},end:/(?<=[\-\]"'\)\[\{\}])/dgv,name:"meta.function.luau",patterns:[{include:"#comment"},{include:"#generics-declaration"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.end.luau"}},name:"meta.parameter.luau",patterns:[{include:"#comment"},{match:/\.\.\./dgv,name:"variable.parameter.function.varargs.luau"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.parameter.function.luau"},{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.type.luau"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#type_literal"}]}]},{match:/\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm|iter|idiv))\b/dgv,name:"variable.language.metamethod.luau"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.function.luau"}]},"generics-declaration":{begin:/(<)/dgv,end:/(>)/dgv,patterns:[{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"entity.name.type.luau"},{match:/=/dgv,name:"keyword.operator.assignment.luau"},{include:"#type_literal"}]},identifier:{patterns:[{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*(?:["'\(\{]|\[\[))/dgv,name:"entity.name.function.luau"},{match:/(?<=[^\.]\.|:)\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.other.property.luau"},{match:/\b([A-Z_][0-9A-Z_]*)\b/dgv,name:"variable.other.constant.luau"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.other.readwrite.luau"}]},interpolated_string_expression:{begin:/\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.interpolated-string-expression.begin.luau"}},contentName:"meta.embedded.line.luau",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.interpolated-string-expression.end.luau"}},name:"meta.template.expression.luau",patterns:[{include:"source.luau"}]},keyword:{patterns:[{match:/\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\b/dgv,name:"keyword.control.luau"},{match:/\b(local)\b/dgv,name:"storage.modifier.local.luau"},{match:/\b(function)\b(?![\,\:])/dgv,name:"keyword.control.luau"},{match:/(?<![^\.]\.|:)\b(self)\b/dgv,name:"variable.language.self.luau"},{match:/\b(and|or|not)\b/dgv,name:"keyword.operator.logical.luau keyword.operator.wordlike.luau"},{match:/(?<=[^\.]\.|:)\b(__(?:add|call|concat|div|eq|index|len??|lt|metatable|mode??|mul|newindex|pow|sub|tostring|unm))\b/dgv,name:"variable.language.metamethod.luau"},{match:/(?<!\.)\.{3}(?!\.)/dgv,name:"keyword.other.unit.luau"}]},language_constant:{patterns:[{match:/(?<![^\.]\.|:)\b(false)\b/dgv,name:"constant.language.boolean.false.luau"},{match:/(?<![^\.]\.|:)\b(true)\b/dgv,name:"constant.language.boolean.true.luau"},{match:/(?<![^\.]\.|:)\b(nil(?!:))\b/dgv,name:"constant.language.nil.luau"}]},"local-declaration":{begin:/\b(local)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.local.luau"}},end:/(?=\p{space}*do\b|\p{space}*[\;\=]|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#comment"},{include:"#attribute"},{begin:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.luau"}},end:/(?=\p{space}*do\b|\p{space}*[\,\;\=]|\p{space}*(?=\n?$))/dgv,patterns:[{include:"#type_literal"}]},{match:/\b([A-Z_][0-9A-Z_]*)\b/dgv,name:"variable.other.constant.luau"},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"variable.other.readwrite.luau"}]},number:{patterns:[{match:/\b0_*[Xx]_*[A-F_a-f\p{Nd}]*(?:[Ee][\-\+]?_*\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?)?/dgv,name:"constant.numeric.hex.luau"},{match:/\b0_*[Bb][01_]+(?:[Ee][\-\+]?_*\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?)?/dgv,name:"constant.numeric.binary.luau"},{match:/(?:\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?|\.\p{Nd}[_\p{Nd}]*)(?:[Ee][\-\+]?_*\p{Nd}[_\p{Nd}]*(?:\.[_\p{Nd}]*)?)?/dgv,name:"constant.numeric.decimal.luau"}]},operator:{patterns:[{match:/==|~=|!=|<=?|>=?/dgv,name:"keyword.operator.comparison.luau"},{match:/(?:[\-\+]|\/\/??|[\%\*\^]|\.\.|)=/dgv,name:"keyword.operator.assignment.luau"},{match:/[\-\%\*\+]|\/\/|[\/\^]/dgv,name:"keyword.operator.arithmetic.luau"},{match:/#|(?<!\.)\.{2}(?!\.)/dgv,name:"keyword.operator.other.luau"}]},parentheses:{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.arguments.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.arguments.end.luau"}},patterns:[{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{include:"source.luau"}]},shebang:{captures:{"1":{name:"punctuation.definition.comment.luau"}},match:/^(#!)[^\n]*(?=\n?$)\n?/dgv,name:"comment.line.shebang.luau"},standard_library:{patterns:[{match:/(?<![^\.]\.|:)\b(assert|collectgarbage|error|gcinfo|getfenv|getmetatable|ipairs|loadstring|newproxy|next|pairs|pcall|print|rawequal|rawset|require|select|setfenv|setmetatable|tonumber|tostring|type|typeof|unpack|xpcall)\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(_(?:G|VERSION))\b/dgv,name:"constant.language.luau"},{match:/(?<![^\.]\.|:)\b(bit32\.(?:arshift|band|bnot|bor|btest|bxor|extract|lrotate|lshift|replace|rrotate|rshift|countlz|countrz|byteswap)|coroutine\.(?:create|isyieldable|resume|running|status|wrap|yield|close)|debug\.(?:info|loadmodule|profilebegin|profileend|traceback)|math\.(?:abs|acos|asin|atan2??|ceil|clamp|cosh??|deg|exp|floor|fmod|frexp|ldexp|log|log10|max|min|modf|noise|pow|rad|random|randomseed|round|sign|sinh??|sqrt|tanh??)|os\.(?:clock|date|difftime|time)|string\.(?:byte|char|find|format|gmatch|gsub|len|lower|match|pack|packsize|rep|reverse|split|sub|unpack|upper)|table\.(?:concat|create|find|foreachi??|getn|insert|maxn|move|pack|remove|sort|unpack|clear|freeze|isfrozen|clone)|task\.(?:spawn|synchronize|desynchronize|wait|defer|delay)|utf8\.(?:char|codepoint|codes|graphemes|len|nfcnormalize|nfdnormalize|offset)|buffer\.(?:create|fromstring|tostring|len|readi8|readu8|readi16|readu16|readi32|readu32|readf32|readf64|writei8|writeu8|writei16|writeu16|writei32|writeu32|writef32|writef64|readstring|writestring|copy|fill)|vector\.(?:abs|angle|ceil|clamp|create|cross|dot|floor|lerp|magnitude|max|min|normalize|sign))\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(bit32|buffer|coroutine|debug|math(\.(huge|pi))?|os|string|table|task|utf8(\.charpattern)?|vector(\.(one|zero))?)\b/dgv,name:"support.constant.luau"},{match:/(?<![^\.]\.|:)\b(delay|DebuggerManager|elapsedTime|PluginManager|printidentity|settings|spawn|stats|tick|time|UserSettings|version|wait|warn)\b/dgv,name:"support.function.luau"},{match:/(?<![^\.]\.|:)\b(game|plugin|shared|script|workspace|Enum(?:\.[\p{L}\p{M}\p{N}\p{Pc}]+){0,2})\b/dgv,name:"constant.language.luau"}]},string:{patterns:[{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.luau",patterns:[{include:"#string_escape"}]},{begin:/'/dgv,end:/'/dgv,name:"string.quoted.single.luau",patterns:[{include:"#string_escape"}]},{begin:/\[(=*)\[/dgv,end:/\]\1\]()/dgv,name:"string.other.multiline.luau"},{begin:/`/dgv,end:/`/dgv,name:"string.interpolated.luau",patterns:[{include:"#interpolated_string_expression"},{include:"#string_escape"}]}]},string_escape:{patterns:[{match:/\\["'\\\`abfnrtvz\{]/dgv,name:"constant.character.escape.luau"},{match:/\\\p{Nd}{1,3}/dgv,name:"constant.character.escape.luau"},{match:/\\x\p{AHex}{2}/dgv,name:"constant.character.escape.luau"},{match:/\\u\{\p{AHex}*\}/dgv,name:"constant.character.escape.luau"},{match:/\\(?=\n?$)/dgv,name:"constant.character.escape.luau"}]},table:{begin:/(\{)/dgv,beginCaptures:{"1":{name:"punctuation.table.begin.luau"}},end:/(\})/dgv,endCaptures:{"1":{name:"punctuation.table.end.luau"}},patterns:[{match:/[\,\;]/dgv,name:"punctuation.separator.fields.luau"},{include:"source.luau"}]},"type-alias-declaration":{begin:/^\b(?:(export)\p{space}+)?(type)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.visibility.luau"},"2":{name:"storage.type.luau"}},end:/(?=\p{space}*(?=\n?$))|(?=\p{space}*;)/dgv,patterns:[{include:"#type_literal"},{match:/=/dgv,name:"keyword.operator.assignment.luau"}]},"type-function":{begin:/^\b(?:(export)\p{space}+)?(type)\p{space}+(function)\b/dgv,beginCaptures:{"1":{name:"storage.modifier.visibility.luau"},"2":{name:"storage.type.luau"},"3":{name:"keyword.control.luau"}},end:/(?<=[\-\]"'\)\[\{\}])/dgv,name:"meta.function.luau",patterns:[{include:"#comment"},{include:"#generics-declaration"},{begin:/(\()/dgv,beginCaptures:{"1":{name:"punctuation.definition.parameters.begin.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.definition.parameters.end.luau"}},name:"meta.parameter.luau",patterns:[{include:"#comment"},{match:/\.\.\./dgv,name:"variable.parameter.function.varargs.luau"},{match:/[A-Z_a-z][0-9A-Z_a-z]*/dgv,name:"variable.parameter.function.luau"},{match:/,/dgv,name:"punctuation.separator.arguments.luau"},{begin:/:/dgv,beginCaptures:{"0":{name:"keyword.operator.type.luau"}},end:/(?=[\)\,])/dgv,patterns:[{include:"#type_literal"}]}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.type.luau"}]},type_annotation:{begin:/:(?!\b([A-Z_a-z][0-9A-Z_a-z]*)\b(?=\p{space}*(?:["'\(\{]|\[\[)))/dgv,end:/(?<=\))(?!\p{space}*->)|[\;\=]|(?=\n?$)|(?=\breturn\b)|(?=\bend\b)/dgv,patterns:[{include:"#comment"},{include:"#type_literal"}]},type_cast:{begin:/(::)/dgv,beginCaptures:{"1":{name:"keyword.operator.typecast.luau"}},end:/(?=^|[\-\]\)\+\,\:\;\>\?\}](?!\p{space}*[\&\|])|(?=\n?$)|\b(break|do|else|for|if|elseif|return|then|repeat|while|until|end|in|continue)\b)/dgv,patterns:[{include:"#type_literal"}]},type_literal:{patterns:[{include:"#comment"},{include:"#string"},{match:/[\&\?\|]/dgv,name:"keyword.operator.type.luau"},{match:/->/dgv,name:"keyword.operator.type.function.luau"},{match:/\b(false)\b/dgv,name:"constant.language.boolean.false.luau"},{match:/\b(true)\b/dgv,name:"constant.language.boolean.true.luau"},{match:/\b(nil|string|number|boolean|thread|userdata|symbol|vector|buffer|unknown|never|any)\b/dgv,name:"support.type.primitive.luau"},{begin:/\b(typeof)\b(\()/dgv,beginCaptures:{"1":{name:"support.function.luau"},"2":{name:"punctuation.arguments.begin.typeof.luau"}},end:/(\))/dgv,endCaptures:{"1":{name:"punctuation.arguments.end.typeof.luau"}},patterns:[{include:"source.luau"}]},{begin:/(<)/dgv,beginCaptures:{"1":{name:"punctuation.definition.typeparameters.begin.luau"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.typeparameters.end.luau"}},patterns:[{match:/=/dgv,name:"keyword.operator.assignment.luau"},{include:"#type_literal"}]},{match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b/dgv,name:"entity.name.type.luau"},{begin:/\{/dgv,end:/\}/dgv,patterns:[{begin:/\[/dgv,end:/\]/dgv,patterns:[{include:"#type_literal"}]},{captures:{"1":{name:"storage.modifier.access.luau"},"2":{name:"variable.property.luau"},"3":{name:"keyword.operator.type.luau"}},match:/\b(?:(read|write)\p{space}+)?([A-Z_a-z][0-9A-Z_a-z]*)\b(:)/dgv},{include:"#type_literal"},{match:/[\,\;]/dgv,name:"punctuation.separator.fields.type.luau"}]},{begin:/\(/dgv,end:/\)/dgv,patterns:[{captures:{"1":{name:"variable.parameter.luau"},"2":{name:"keyword.operator.type.luau"}},match:/\b([A-Z_a-z][0-9A-Z_a-z]*)\b(:)/dgv,name:"variable.parameter.luau"},{include:"#type_literal"}]}]}},scopeName:"source.luau",embeddedLangs:undefined,aliases:undefined})
2
2
 
3
3
  export default [
4
4
  lang
@@ -1,6 +1,6 @@
1
1
  import { EmulatedRegExp } from 'oniguruma-to-es'
2
2
 
3
- const lang = Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-nix",patterns:[{include:"#nixCodeBlock"}],repository:{nixCodeBlock:{begin:/*@__PURE__*/ new EmulatedRegExp("(^|^)(\\p{space}*)(`{3,}|~{3,})\\p{space}*(nix)(\\p{space}+[^\\`\\~]*)?(?=\\n?$)","dgiv",{"strategy":"clip_search"}),beginCaptures:{"3":{name:"punctuation.definition.markdown"},"5":{name:"fenced_code.block.language"},"6":{name:"fenced_code.block.language.attributes"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)((?!)|\\p{space}{0,3})((?!))\\p{space}*(?=\\n?$)","dgv",{"strategy":"clip_search"}),endCaptures:{"3":{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:/*@__PURE__*/ new EmulatedRegExp("(^|^)(\\p{space}*)([^\\n]*)","dgv",{"strategy":"clip_search"}),contentName:"meta.embedded.block.nix",patterns:[{include:"source.nix"}],while:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?!\\p{space}*([\\`\\~]{3,})\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"})}]}},scopeName:"markdown.nix.codeblock",displayName:undefined,embeddedLangs:undefined,aliases:undefined})
3
+ const lang = Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-nix",patterns:[{include:"#nix-code-block"}],repository:{"nix-code-block":{begin:/*@__PURE__*/ new EmulatedRegExp("(^|^)(\\p{space}*)(`{3,}|~{3,})\\p{space}*(nix)(\\p{space}+[^\\`\\~]*)?(?=\\n?$)","dgiv",{"strategy":"clip_search"}),beginCaptures:{"3":{name:"punctuation.definition.markdown"},"5":{name:"fenced_code.block.language"},"6":{name:"fenced_code.block.language.attributes"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)((?!)|\\p{space}{0,3})((?!))\\p{space}*(?=\\n?$)","dgv",{"strategy":"clip_search"}),endCaptures:{"3":{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{begin:/*@__PURE__*/ new EmulatedRegExp("(^|^)(\\p{space}*)([^\\n]*)","dgv",{"strategy":"clip_search"}),contentName:"meta.embedded.block.nix",patterns:[{include:"source.nix"}],while:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?!\\p{space}*([\\`\\~]{3,})\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"})}]}},scopeName:"markdown.nix.codeblock",displayName:undefined,embeddedLangs:undefined,aliases:undefined})
4
4
 
5
5
  export default [
6
6
  lang
@@ -1,6 +1,6 @@
1
1
  import { EmulatedRegExp } from 'oniguruma-to-es'
2
2
 
3
- const lang = Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-vue",patterns:[{include:"#vue-code-block"}],repository:{"vue-code-block":{begin:/*@__PURE__*/ new EmulatedRegExp("(^|^)(\\p{space}*)(`{3,}|~{3,})\\p{space}*(vue)((\\p{space}+|[\\,\\:\\?\\{])[^\\`\\~]*)?(?=\\n?$)","dgiv",{"strategy":"clip_search"}),beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown",patterns:[]}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)((?!)|\\p{space}{0,3})((?!))\\p{space}*(?=\\n?$)","dgv",{"strategy":"clip_search"}),endCaptures:{"3":{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{include:"source.vue"}]}},scopeName:"markdown.vue.codeblock",displayName:undefined,embeddedLangs:undefined,aliases:undefined})
3
+ const lang = Object.freeze({fileTypes:[],injectTo:["text.html.markdown"],injectionSelector:"L:text.html.markdown",name:"markdown-vue",patterns:[{include:"#vue-code-block"}],repository:{"vue-code-block":{begin:/*@__PURE__*/ new EmulatedRegExp("(^|^)(\\p{space}*)(`{3,}|~{3,})\\p{space}*(vue)((\\p{space}+|[\\,\\:\\?\\{])[^\\`\\~]*)?(?=\\n?$)","dgiv",{"strategy":"clip_search"}),beginCaptures:{"3":{name:"punctuation.definition.markdown"},"4":{name:"fenced_code.block.language.markdown"},"5":{name:"fenced_code.block.language.attributes.markdown",patterns:[]}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)((?!)|\\p{space}{0,3})((?!))\\p{space}*(?=\\n?$)","dgv",{"strategy":"clip_search"}),endCaptures:{"3":{name:"punctuation.definition.markdown"}},name:"markup.fenced_code.block.markdown",patterns:[{include:"text.html.vue"}]}},scopeName:"markdown.vue.codeblock",displayName:undefined,embeddedLangs:undefined,aliases:undefined})
4
4
 
5
5
  export default [
6
6
  lang
package/dist/marko.mjs CHANGED
@@ -4,7 +4,7 @@ import less from './less.mjs'
4
4
  import scss from './scss.mjs'
5
5
  import typescript from './typescript.mjs'
6
6
 
7
- const lang = Object.freeze({displayName:"Marko",fileTypes:["marko"],name:"marko",patterns:[{begin:/^\p{space}*(style)(\b\P{space}*\.css)?\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.less)\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.less",patterns:[{include:"source.css.less"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.scss)\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.scss",patterns:[{include:"source.css.scss"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.[jt]s)\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},{begin:/^\p{space}*(?:(static|server|client)\b|(?=(?:class|import|export)\b))/dgv,beginCaptures:{"1":{name:"keyword.control.static.marko"}},contentName:"source.ts",end:/(?=\n|(?=\n?$))/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},{include:"#content-concise-mode"}],repository:{"attr-value":{begin:/\p{space}*(:?=)\p{space}*/dgv,beginCaptures:{"1":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",end:/(?=[\]\,\;]|\/>|(?<=[^\=\>])>|(?<!^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|[\=\>]>|[^\.]\.|[^\-]-|[^\+]\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}\/|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]await|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]async|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]class|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]function|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]keyof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]new|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]readonly|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]infer|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]typeof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]void)\p{space}+(?![\n\!\%\&\(\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|[\=\>]>|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>]))/dgv,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]*)?/dgv,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:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.marko-attribute",patterns:[{include:"#html-args-or-method"},{include:"#attr-value"}]},{begin:/(\.\.\.)/dgv,beginCaptures:{"1":{name:"keyword.operator.spread.marko"}},contentName:"source.ts",end:/(?=[\]\,\;]|\/>|(?<=[^\=\>])>|(?<!^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|[\=\>]>|[^\.]\.|[^\-]-|[^\+]\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}\/|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]await|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]async|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]class|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]function|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]keyof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]new|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]readonly|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]infer|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]typeof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]void)\p{space}+(?![\n\!\%\&\(\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|[\=\>]>|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>]))/dgv,name:"meta.marko-spread-attribute",patterns:[{include:"#javascript-expression"}]},{begin:/\p{space}*(,(?!,))/dgv,captures:{"1":{name:"punctuation.separator.comma.marko"}},end:/(?=\P{space})/dgv},{include:"#invalid"}]},cdata:{begin:/\p{space}*<!\[CDATA\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.marko"}},contentName:"string.other.inline-data.marko",end:/\]\]>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},name:"meta.tag.metadata.cdata.marko"},"concise-attr-group":{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"#concise-attr-group"},{begin:/\p{space}+/dgv,end:/(?=\P{space})/dgv},{include:"#attrs"},{include:"#invalid"}]},"concise-comment-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-comment-line",patterns:[{include:"#content-embedded-comment"}]},"concise-html-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,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:/\\[^\n]/dgv,name:"text.marko"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"text.marko"}]},"3":{name:"punctuation.section.embedded.scope.end.marko"}},match:/\p{space}*(--+)(?=\p{space}+\P{space})([^\n]*)(?=\n?$)()/dgv,name:"meta.section.marko-html-line"},"concise-open-tag-content":{patterns:[{include:"#invalid-close-tag"},{include:"#tag-before-attrs"},{include:"#concise-semi-eol"},{begin:/(?!^)[\t \,]/dgv,end:/(?=--)|(?=\n)/dgv,patterns:[{include:"#concise-semi-eol"},{include:"#concise-attr-group"},{begin:/[\t ]+/dgv,end:/(?=[\n\P{space}])/dgv},{include:"#attrs"},{include:"#invalid"}]}]},"concise-script-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-script-line",patterns:[{include:"#content-embedded-script"}]},"concise-semi-eol":{begin:/\p{space}*(;)/dgv,beginCaptures:{"1":{name:"punctuation.terminator.marko"}},end:/(?=\n?$)/dgv,patterns:[{include:"#javascript-comments"},{include:"#html-comment"},{include:"#invalid"}]},"concise-style-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.css",end:/\1()/dgv,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:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.less",end:/\1()/dgv,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:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.scss",end:/\1()/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.css",end:/(?=\n?$)/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.less",end:/(?=\n?$)/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.scss",end:/(?=\n?$)/dgv,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:/^(\p{space}*)(?=html-comment\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-comment-block"},{include:"#concise-comment-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.less\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-less"},{include:"#concise-style-line-less"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.scss\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-scss"},{include:"#concise-style-line-scss"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.[jt]s\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block"},{include:"#concise-style-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?script\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^([\t ]*)(?=[\#\$\.0-9\@-Z_a-z])/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#content-concise-mode"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv}]}]},"content-embedded-comment":{patterns:[{include:"#placeholder"},{match:/[^\n]/dgv,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:/\\[^\n]/dgv,name:"text.marko"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"text.marko"}]},declaration:{begin:/(<\?)\p{space}*([\-\$0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"punctuation.definition.tag.marko"},"2":{name:"entity.name.tag.marko"}},end:/(\??>)/dgv,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:/((?:[^\=\>\?\p{space}]|\?(?!>))+)(=)(?:("(?:[^"\\]|\\[^\n])*")|('(?:[^'\\]|\\[^\n])*')|((?:[^\>\?\p{space}]|\?(?!>))+))/dgv}]},doctype:{begin:/\p{space}*<!(?=DOCTYPE\p{space})/dgiv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.marko"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},name:"meta.tag.metadata.doctype.marko",patterns:[{match:/DOCTYPE/dgivy,name:"entity.name.tag.marko"},{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.marko"},{match:/[^\>\p{space}]+/dgv,name:"entity.other.attribute-name.marko"}]},"html-args-or-method":{patterns:[{include:"#tag-type-params"},{begin:/\p{space}*(?=\()/dgv,contentName:"source.ts",end:/(?<=\))/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts#paren-expression"}]},{begin:/(?<=\))\p{space}*(?=\{)/dgv,contentName:"source.ts",end:/(?<=\})/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]}]},"html-comment":{begin:/\p{space}*(<!(--)?)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.marko"}},end:/\2>()()/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"},invalid:{match:/\P{space}/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"invalid-close-tag":{begin:/\p{space}*<\/[^\n]*?/dgv,end:/>/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"javascript-comments":{patterns:[{begin:/\p{space}*(?=\/\*)/dgv,contentName:"source.ts",end:/(?<=\*\/)/dgv,patterns:[{include:"source.ts"}]},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/\p{space}*\/\/[^\n]*(?=\n?$)/dgv}]},"javascript-comments-after-whitespace":{patterns:[{begin:/(?:^|\p{space}+)(?=\/\*)/dgv,contentName:"source.ts",end:/(?<=\*\/)/dgv,patterns:[{include:"source.ts"}]},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/(?:^|\p{space}+)\/\/[^\n]*(?=\n?$)/dgv}]},"javascript-expression":{patterns:[{include:"#javascript-comments"},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/(?:\p{space}*\b(?:as|await|extends|in|instanceof|satisfies|keyof|new|typeof|void))+\p{space}+(?![\,\/\:\;\=\>])[\#\$0-9\@-Z_a-z]*/dgv},{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\}])\p{space}*\/(?:[^\/\[\\]|\\[^\n]|\[(?:[^\]\\]|\\[^\n])*\])*\/[A-Za-z]*/dgv},{include:"source.ts"}]},"javascript-placeholder":{begin:/\$\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.ts"}},patterns:[{include:"source.ts"}]},"open-tag-content":{patterns:[{include:"#invalid-close-tag"},{include:"#tag-before-attrs"},{begin:/(?!\/?>)/dgv,end:/(?=\/?>)/dgv,patterns:[{include:"#attrs"}]}]},placeholder:{begin:/\$!?\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.ts"}},patterns:[{include:"source.ts"}]},scriptlet:{begin:/^\p{space}*(\$)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.control.scriptlet.marko"}},contentName:"source.ts",end:/(?=\n?$)/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},"tag-before-attrs":{patterns:[{include:"#tag-name"},{include:"#tag-shorthand-class-or-id"},{begin:/\/(?![\*\/])/dgv,beginCaptures:{"0":{name:"punctuation.separator.tag-variable.marko"}},contentName:"source.ts",end:/(?=[\(\,\/\;\<\>\|]|:?=|\p{space}+[^\:]|(?=\n?$))/dgv,name:"meta.embedded.ts",patterns:[{match:/[\$A-Z_a-z][\$0-9A-Z_a-z]*/dgv,name:"variable.other.constant.object.ts"},{begin:/\{/dgv,captures:{"0":{name:"punctuation.definition.binding-pattern.object.ts"}},end:/\}/dgv,patterns:[{include:"source.ts#object-binding-element"},{include:"#javascript-expression"}]},{begin:/\[/dgv,captures:{"0":{name:"punctuation.definition.binding-pattern.array.ts"}},end:/\]/dgv,patterns:[{include:"source.ts#array-binding-element"},{include:"#javascript-expression"}]},{begin:/\p{space}*(:)(?!=)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.annotation.ts"}},end:/(?=[\]\(\,\;]|\/>|(?<=[^\=\>])>|(?<!^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|[\=\>]>|[^\.]\.|[^\-]-|[^\+]\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}\/|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]await|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]async|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]class|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]function|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]keyof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]new|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]readonly|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]infer|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]typeof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]void)\p{space}+(?![\n\!\%\&\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|[\=\>]>|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>]))/dgv,patterns:[{include:"source.ts#type"},{include:"#javascript-expression"}]},{include:"#javascript-expression"}]},{begin:/\p{space}*\|/dgv,beginCaptures:{"0":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.ts",end:/\|/dgv,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:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.annotation.ts"}},end:/(?=[\,\|])|(?==[^\>])/dgv,name:"meta.type.annotation.ts",patterns:[{include:"source.ts#type"}]},{include:"source.ts#variable-initializer"},{match:/,/dgv,name:"punctuation.separator.parameter.ts"},{include:"source.ts"}]},{include:"#html-args-or-method"},{include:"#attr-value"}]},"tag-html":{patterns:[{begin:/\p{space}*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr|const|debug|id|let|lifecycle|log|return)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/?>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"}]},{begin:/\p{space}*(<)(?=html-comment\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:>|html-comment>))/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*<\/(?:>|html-comment>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b\P{space}*\.less\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/\2??>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.less",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b\P{space}*\.scss\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/\2??>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.scss",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b\P{space}*\.[jt]s\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/\2??>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.ts",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/\2??>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.css",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?script)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/\2??>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.ts",end:/\p{space}*(<\/)((?:html-)?script)?(>)/dgv,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:/\p{space}*(<)(?=[\#\$\.]|([\-\$0-9\@-Z_a-z]+))/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/\2??>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*(<\/)([\-\#\$\.0-\:\@-Z_a-z]+)?([^\n]*?)(>)/dgv,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:/*@__PURE__*/ new EmulatedRegExp("^(style)\\b(\\.[\\-\\$0-9A-Z_a-z]+(?:\\.[\\-\\$0-9A-Z_a-z]+)*)|([0-9\\@-Z_a-z](?:[\\-0-9\\@-Z_a-z]|:(?!=))*)","dgv",{"strategy":"clip_search"}),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)(?![\-\:\@])/dgv,name:"support.type.builtin.marko"},{match:/(for|if|while|else-if|else|try|await|return)(?=\b)(?![\-\:\@])/dgv,name:"keyword.control.flow.marko"},{match:/(const|context|debug|define|id|let|log|lifecycle)(?=\b)(?![\-\:\@])/dgv,name:"support.function.marko"},{match:/@[^\n]+/dgv,name:"entity.other.attribute-name.marko"},{match:/[^\n]+/dgv,name:"entity.name.tag.marko"}]}},end:/(?=[^\n])/dgv,patterns:[{include:"#tag-type-args"}]},{begin:/(?=[\$0-9A-Z_a-z]|-[^\-])/dgv,end:/(?=[^\-\$0-9A-Z_a-z]|(?=\n?$))/dgv,patterns:[{include:"#javascript-placeholder"},{match:/(?:[\-0-9A-Z_a-z]|\$(?!\{))+/dgv,name:"entity.name.tag.marko"}]}]},"tag-shorthand-class-or-id":{begin:/(?=[\#\.])/dgv,end:/(?=\n?$)|(?=--|[^\-\#\$\.0-9A-Z_a-z])/dgv,patterns:[{include:"#javascript-placeholder"},{match:/(?:[\-\#\.0-9A-Z_a-z]|\$(?!\{))+/dgv,name:"entity.other.attribute-name.marko"}]},"tag-type-args":{applyEndPatternLast:1,begin:/(?=<)/dgv,contentName:"source.ts",end:/(?<=>)/dgv,name:"meta.embedded.ts",patterns:[{applyEndPatternLast:1,begin:/(?<=>)(?=[\t ]*<)/dgv,end:/(?=[^\n])/dgv,patterns:[{include:"#tag-type-params"}]},{include:"source.ts#type-arguments"}]},"tag-type-params":{applyEndPatternLast:1,begin:/(?!^)[\t ]*(?=<)/dgv,contentName:"source.ts",end:/(?<=>)/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts#type-parameters"}]}},scopeName:"text.marko",embeddedLangs:["css","less","scss","typescript"],aliases:undefined})
7
+ const lang = Object.freeze({displayName:"Marko",fileTypes:["marko"],name:"marko",patterns:[{begin:/^\p{space}*(style)(\b\P{space}*\.css)?\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.css",patterns:[{include:"source.css"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.less)\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.less",patterns:[{include:"source.css.less"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.scss)\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.scss",patterns:[{include:"source.css.scss"}]},{begin:/^\p{space}*(style)\b(\P{space}*\.[jt]s)\p{space}+(\{)/dgv,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:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko.css"}},name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},{begin:/^\p{space}*(?:(static|server|client)\b|(?=(?:class|import|export)\b))/dgv,beginCaptures:{"1":{name:"keyword.control.static.marko"}},contentName:"source.ts",end:/(?=\n|(?=\n?$))/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},{include:"#content-concise-mode"}],repository:{"attr-value":{begin:/\p{space}*(:?=)\p{space}*/dgv,beginCaptures:{"1":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",end:/(?=[\]\,\;]|\/>|(?<=[^\=\>])>|(?<!^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|[\=\>]>|[^\.]\.|[^\-]-|[^\+]\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}\/|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]await|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]async|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]class|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]function|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]keyof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]new|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]readonly|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]infer|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]typeof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]void)\p{space}+(?![\n\!\%\&\(\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|[\=\>]>|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>]))/dgv,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]*)?/dgv,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:/(?=[^\n]|(?=\n?$))/dgv,name:"meta.marko-attribute",patterns:[{include:"#html-args-or-method"},{include:"#attr-value"}]},{begin:/(\.\.\.)/dgv,beginCaptures:{"1":{name:"keyword.operator.spread.marko"}},contentName:"source.ts",end:/(?=[\]\,\;]|\/>|(?<=[^\=\>])>|(?<!^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|[\=\>]>|[^\.]\.|[^\-]-|[^\+]\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}\/|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]await|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]async|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]class|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]function|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]keyof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]new|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]readonly|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]infer|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]typeof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]void)\p{space}+(?![\n\!\%\&\(\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|[\=\>]>|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>]))/dgv,name:"meta.marko-spread-attribute",patterns:[{include:"#javascript-expression"}]},{begin:/\p{space}*(,(?!,))/dgv,captures:{"1":{name:"punctuation.separator.comma.marko"}},end:/(?=\P{space})/dgv},{include:"#invalid"}]},cdata:{begin:/\p{space}*<!\[CDATA\[/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.marko"}},contentName:"string.other.inline-data.marko",end:/\]\]>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},name:"meta.tag.metadata.cdata.marko"},"concise-attr-group":{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"punctuation.section.scope.begin.marko"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.scope.end.marko"}},patterns:[{include:"#concise-attr-group"},{begin:/\p{space}+/dgv,end:/(?=\P{space})/dgv},{include:"#attrs"},{include:"#invalid"}]},"concise-comment-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-comment-line",patterns:[{include:"#content-embedded-comment"}]},"concise-html-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,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:/\\[^\n]/dgv,name:"text.marko"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"text.marko"}]},"3":{name:"punctuation.section.embedded.scope.end.marko"}},match:/\p{space}*(--+)(?=\p{space}+\P{space})([^\n]*)(?=\n?$)()/dgv,name:"meta.section.marko-html-line"},"concise-open-tag-content":{patterns:[{include:"#invalid-close-tag"},{include:"#tag-before-attrs"},{include:"#concise-semi-eol"},{begin:/(?!^)[\t \,]/dgv,end:/(?=--)|(?=\n)/dgv,patterns:[{include:"#concise-semi-eol"},{include:"#concise-attr-group"},{begin:/[\t ]+/dgv,end:/(?=[\n\P{space}])/dgv},{include:"#attrs"},{include:"#invalid"}]}]},"concise-script-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/\1()/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},end:/(?=\n?$)/dgv,endCaptures:{"0":{name:"punctuation.section.embedded.scope.end.marko"}},name:"meta.section.marko-script-line",patterns:[{include:"#content-embedded-script"}]},"concise-semi-eol":{begin:/\p{space}*(;)/dgv,beginCaptures:{"1":{name:"punctuation.terminator.marko"}},end:/(?=\n?$)/dgv,patterns:[{include:"#javascript-comments"},{include:"#html-comment"},{include:"#invalid"}]},"concise-style-block":{begin:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.css",end:/\1()/dgv,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:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.less",end:/\1()/dgv,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:/\p{space}*(--+)\p{space}*(?=\n?$)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.scss",end:/\1()/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.css",end:/(?=\n?$)/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.less",end:/(?=\n?$)/dgv,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:/\p{space}*(--+)/dgv,beginCaptures:{"1":{name:"punctuation.section.embedded.scope.begin.marko"}},contentName:"source.scss",end:/(?=\n?$)/dgv,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:/^(\p{space}*)(?=html-comment\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-comment-block"},{include:"#concise-comment-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.less\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-less"},{include:"#concise-style-line-less"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.scss\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block-scss"},{include:"#concise-style-line-scss"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b\P{space}*\.[jt]s\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?style\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-style-block"},{include:"#concise-style-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^(\p{space}*)(?=(?:html-)?script\b)/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#concise-script-block"},{include:"#concise-script-line"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv},{begin:/^([\t ]*)(?=[\#\$\.0-9\@-Z_a-z])/dgv,patterns:[{include:"#concise-open-tag-content"},{include:"#content-concise-mode"}],while:/(?=^(?:\p{space}*[\]\)\`\}]|\*\/|\p{space}*(?=\n?$)|\1\p{space}+(\P{space}|(?=\n?$))))/dgv}]}]},"content-embedded-comment":{patterns:[{include:"#placeholder"},{match:/[^\n]/dgv,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:/\\[^\n]/dgv,name:"text.marko"},{include:"#placeholder"},{match:/[^\n]+?/dgv,name:"text.marko"}]},declaration:{begin:/(<\?)\p{space}*([\-\$0-9A-Z_a-z]*)/dgv,captures:{"1":{name:"punctuation.definition.tag.marko"},"2":{name:"entity.name.tag.marko"}},end:/(\??>)/dgv,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:/((?:[^\=\>\?\p{space}]|\?(?!>))+)(=)(?:("(?:[^"\\]|\\[^\n])*")|('(?:[^'\\]|\\[^\n])*')|((?:[^\>\?\p{space}]|\?(?!>))+))/dgv}]},doctype:{begin:/\p{space}*<!(?=DOCTYPE\p{space})/dgiv,beginCaptures:{"0":{name:"punctuation.definition.tag.begin.marko"}},end:/>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},name:"meta.tag.metadata.doctype.marko",patterns:[{match:/DOCTYPE/dgivy,name:"entity.name.tag.marko"},{begin:/"/dgv,end:/"/dgv,name:"string.quoted.double.marko"},{match:/[^\>\p{space}]+/dgv,name:"entity.other.attribute-name.marko"}]},"html-args-or-method":{patterns:[{include:"#tag-type-params"},{begin:/\p{space}*(?=\()/dgv,contentName:"source.ts",end:/(?<=\))/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts#paren-expression"}]},{begin:/(?<=\))\p{space}*(?=\{)/dgv,contentName:"source.ts",end:/(?<=\})/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]}]},"html-comment":{begin:/\p{space}*(<!(--)?)/dgv,beginCaptures:{"1":{name:"punctuation.definition.comment.marko"}},end:/\2>()()/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.marko"}},name:"comment.block.marko"},invalid:{match:/\P{space}/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"invalid-close-tag":{begin:/\p{space}*<\/[^\>]*/dgv,end:/>/dgv,name:"invalid.illegal.character-not-allowed-here.marko"},"javascript-comments":{patterns:[{begin:/\p{space}*(?=\/\*)/dgv,contentName:"source.ts",end:/(?<=\*\/)/dgv,patterns:[{include:"source.ts"}]},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/\p{space}*\/\/[^\n]*(?=\n?$)/dgv}]},"javascript-comments-after-whitespace":{patterns:[{begin:/(?:^|\p{space}+)(?=\/\*)/dgv,contentName:"source.ts",end:/(?<=\*\/)/dgv,patterns:[{include:"source.ts"}]},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/(?:^|\p{space}+)\/\/[^\n]*(?=\n?$)/dgv}]},"javascript-expression":{patterns:[{include:"#javascript-comments"},{captures:{"0":{patterns:[{include:"source.ts"}]}},contentName:"source.ts",match:/(?:\p{space}*\b(?:as|await|extends|in|instanceof|satisfies|keyof|new|typeof|void))+\p{space}+(?![\,\/\:\;\=\>])[\#\$0-9\@-Z_a-z]*/dgv},{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\}])\p{space}*\/(?:[^\/\[\\]|\\[^\n]|\[(?:[^\]\\]|\\[^\n])*\])*\/[A-Za-z]*/dgv},{include:"source.ts"}]},"javascript-placeholder":{begin:/\$\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.ts"}},patterns:[{include:"source.ts"}]},"open-tag-content":{patterns:[{include:"#invalid-close-tag"},{include:"#tag-before-attrs"},{begin:/(?!\/?>)/dgv,end:/(?=\/?>)/dgv,patterns:[{include:"#attrs"}]}]},placeholder:{begin:/\$!?\{/dgv,beginCaptures:{"0":{name:"punctuation.definition.template-expression.begin.ts"}},contentName:"source.ts",end:/\}/dgv,endCaptures:{"0":{name:"punctuation.definition.template-expression.end.ts"}},patterns:[{include:"source.ts"}]},scriptlet:{begin:/^\p{space}*(\$)\p{space}+/dgv,beginCaptures:{"1":{name:"keyword.control.scriptlet.marko"}},contentName:"source.ts",end:/(?=\n?$)/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts"}]},"tag-before-attrs":{patterns:[{include:"#tag-name"},{include:"#tag-shorthand-class-or-id"},{begin:/\/(?![\*\/])/dgv,beginCaptures:{"0":{name:"punctuation.separator.tag-variable.marko"}},contentName:"source.ts",end:/(?=[\(\,\/\;\<\>\|]|:?=|\p{space}+[^\:]|(?=\n?$))/dgv,name:"meta.embedded.ts",patterns:[{match:/[\$A-Z_a-z][\$0-9A-Z_a-z]*/dgv,name:"variable.other.constant.object.ts"},{begin:/\{/dgv,captures:{"0":{name:"punctuation.definition.binding-pattern.object.ts"}},end:/\}/dgv,patterns:[{include:"source.ts#object-binding-element"},{include:"#javascript-expression"}]},{begin:/\[/dgv,captures:{"0":{name:"punctuation.definition.binding-pattern.array.ts"}},end:/\]/dgv,patterns:[{include:"source.ts#array-binding-element"},{include:"#javascript-expression"}]},{begin:/\p{space}*(:)(?!=)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.annotation.ts"}},end:/(?=[\]\(\,\;]|\/>|(?<=[^\=\>])>|(?<!^|[\!\%\&\*\:\?\^\|\~]|[\-\!\%\&\*\+\/\<-\?\^\|\~]=|[\=\>]>|[^\.]\.|[^\-]-|[^\+]\+|[\]\%\)\.0-9\<A-Za-z\}]\p{space}\/|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]await|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]async|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]class|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]function|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]keyof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]new|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]readonly|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]infer|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]typeof|[^\$\.\p{L}\p{M}\p{N}\p{Pc}]void)\p{space}+(?![\n\!\%\&\*\+\:\?\^\{\|\~]|[\-\/\<\=\>]=|[\=\>]>|\.[^\.]|-[^\-]|\/[^\>]|(?:in|instanceof|satisfies|as|extends)\p{space}+[^\,\/\:\;\=\>]))/dgv,patterns:[{include:"source.ts#type"},{include:"#javascript-expression"}]},{include:"#javascript-expression"}]},{begin:/\p{space}*\|/dgv,beginCaptures:{"0":{name:"punctuation.section.scope.begin.marko"}},contentName:"source.ts",end:/\|/dgv,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:/(:)/dgv,beginCaptures:{"1":{name:"keyword.operator.type.annotation.ts"}},end:/(?=[\,\|])|(?==[^\>])/dgv,name:"meta.type.annotation.ts",patterns:[{include:"source.ts#type"}]},{include:"source.ts#variable-initializer"},{match:/,/dgv,name:"punctuation.separator.parameter.ts"},{include:"source.ts"}]},{include:"#html-args-or-method"},{include:"#attr-value"}]},"tag-html":{patterns:[{begin:/\p{space}*(<)(?=(area|base|br|col|embed|hr|img|input|link|meta|param|source|track|wbr|const|debug|id|let|lifecycle|log|return)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/?>/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"}]},{begin:/\p{space}*(<)(?=html-comment\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/(?:>|html-comment>))/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*<\/(?:>|html-comment>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b\P{space}*\.less\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/>)|(?<=<\/\2>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.less",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b\P{space}*\.scss\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/>)|(?<=<\/\2>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.scss",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b\P{space}*\.[jt]s\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/>)|(?<=<\/\2>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.ts",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?style)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/>)|(?<=<\/\2>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.css",end:/\p{space}*(<\/)((?:html-)?style)?(>)/dgv,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:/\p{space}*(<)(?=((?:html-)?script)\b)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/>)|(?<=<\/\2>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},contentName:"source.ts",end:/\p{space}*(<\/)((?:html-)?script)?(>)/dgv,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:/\p{space}*(<)(?=[\#\$\.]|([\-\$0-9\@-Z_a-z]+))/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.marko"}},end:/\/>|(?<=<\/>)|(?<=<\/\2>)()()/dgv,endCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},patterns:[{include:"#open-tag-content"},{begin:/>/dgv,beginCaptures:{"0":{name:"punctuation.definition.tag.end.marko"}},end:/\p{space}*(<\/)([\-\#\$\.0-\:\@-Z_a-z]+)?([^\>]*)(>)/dgv,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:/*@__PURE__*/ new EmulatedRegExp("^(style)\\b(\\.[\\-\\$0-9A-Z_a-z]+(?:\\.[\\-\\$0-9A-Z_a-z]+)*)|([0-9\\@-Z_a-z](?:[\\-0-9\\@-Z_a-z]|:(?!=))*)","dgv",{"strategy":"clip_search"}),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)(?![\-\:\@])/dgv,name:"support.type.builtin.marko"},{match:/(for|if|while|else-if|else|try|await|return)(?=\b)(?![\-\:\@])/dgv,name:"keyword.control.flow.marko"},{match:/(const|context|debug|define|id|let|log|lifecycle)(?=\b)(?![\-\:\@])/dgv,name:"support.function.marko"},{match:/@[^\n]+/dgv,name:"entity.other.attribute-name.marko"},{match:/[^\n]+/dgv,name:"entity.name.tag.marko"}]}},end:/(?=[^\n])/dgv,patterns:[{include:"#tag-type-args"}]},{begin:/(?=[\$0-9A-Z_a-z]|-[^\-])/dgv,end:/(?=[^\-\$0-9A-Z_a-z]|(?=\n?$))/dgv,patterns:[{include:"#javascript-placeholder"},{match:/(?:[\-0-9A-Z_a-z]|\$(?!\{))+/dgv,name:"entity.name.tag.marko"}]}]},"tag-shorthand-class-or-id":{begin:/(?=[\#\.])/dgv,end:/(?=\n?$)|(?=--|[^\-\#\$\.0-9A-Z_a-z])/dgv,patterns:[{include:"#javascript-placeholder"},{match:/(?:[\-\#\.0-9A-Z_a-z]|\$(?!\{))+/dgv,name:"entity.other.attribute-name.marko"}]},"tag-type-args":{applyEndPatternLast:1,begin:/(?=<)/dgv,contentName:"source.ts",end:/(?<=>)/dgv,name:"meta.embedded.ts",patterns:[{applyEndPatternLast:1,begin:/(?<=>)(?=[\t ]*<)/dgv,end:/(?=[^\n])/dgv,patterns:[{include:"#tag-type-params"}]},{include:"source.ts#type-arguments"}]},"tag-type-params":{applyEndPatternLast:1,begin:/(?!^)[\t ]*(?=<)/dgv,contentName:"source.ts",end:/(?<=>)/dgv,name:"meta.embedded.ts",patterns:[{include:"source.ts#type-parameters"}]}},scopeName:"text.marko",embeddedLangs:["css","less","scss","typescript"],aliases:undefined})
8
8
 
9
9
  export default [
10
10
  ...css,
package/dist/mbt.d.mts ADDED
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/mbt.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias mbt for moonbit */
2
+ export { default } from './moonbit.mjs'
@@ -0,0 +1,3 @@
1
+ import type { LanguageRegistration } from '@shikijs/types'
2
+ const langs: LanguageRegistration []
3
+ export default langs
package/dist/mbti.mjs ADDED
@@ -0,0 +1,2 @@
1
+ /* Alias mbti for moonbit */
2
+ export { default } from './moonbit.mjs'
package/dist/mermaid.mjs CHANGED
@@ -1,6 +1,6 @@
1
1
  import { EmulatedRegExp } from 'oniguruma-to-es'
2
2
 
3
- const lang = Object.freeze({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:/^\p{space}*(architecture-beta)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,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:/\p{space}*(group|service)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\()?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(:)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(\))?\p{space}*(\[)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?\p{space}*(\])?\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv},{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:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?\p{space}*(:)\p{space}*([BLRT])\p{space}+(<?-->?)\p{space}+([BLRT])\p{space}*(:)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"variable"}},match:/\p{space}*(junction)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv}]},{begin:/^\p{space}*(classDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,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:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?(--o|--\*|<--|-->|<\.\.|\.\.>|<\|\.\.|\.\.\|>|<\|--|--\|>|--\*?|\.\.|\*--|o--)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)?\p{space}([^\n]*)(?=\n?$)/dgiv},{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:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv},{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:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{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:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv},{begin:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?(\{)/dgiv,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:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"punctuation.parenthesis.open.mermaid"}},end:/(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv,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:/\p{space}*,?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{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:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{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:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{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:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?/dgiv}]},{begin:/^\p{space}*(erDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"}},match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?(?=\n?$)/dgv},{begin:/\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"},"5":{name:"keyword.control.mermaid"}},end:/(\})/dgv,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:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([FPU]K(?:,\p{space}*[FPU]K){0,2})?\p{space}*("[\!-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")?\p{space}*/dgiv},{match:/%%[^\n]*/dgv,name:"comment"}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*((?:\|o|\|\||\}o|\}\||one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?)(?:[^\n][^\n]|--)(?:o\||\|\||o\{|\|\{|one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?))\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*("[\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"|[\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv}]},{begin:/^\p{space}*(gantt)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(dateFormat)\p{space}+([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(axisFormat)\p{space}+([\-\%\.\/\\\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/(tickInterval)\p{space}+(([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month))/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(excludes)\p{space}+((?:[\-\,\p{Nd}\p{space}]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}+(todayMarker)\p{space}+([^\n]*)(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/(crit|done|active|after)/dgv,name:"entity.name.function.mermaid"},{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(gitGraph)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*(commit)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(id)(:)\p{space}?("[^\n"]*")/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"entity.name.function.mermaid"}},match:/\p{space}*(type)(:)\p{space}?(NORMAL|REVERSE|HIGHLIGHT)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(tag)(:)\p{space}?("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgiv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/^\p{space}*(checkout)\p{space}*([^"\p{space}]*)/dgiv},{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:/^\p{space}*(branch)\p{space}*([^"\p{space}]*)\p{space}*(?:(order)(:)\p{space}?(\p{Nd}+))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/^\p{space}*(merge)\p{space}*([^"\p{space}]*)\p{space}*(?:(tag)(:)\p{space}?("[^\n"]*"))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(cherry-pick)\p{space}+(id)(:)\p{space}*("[^\n"]*")/dgiv}]},{begin:/^\p{space}*(graph|flowchart)\p{space}+([ 0-9\p{L}]+)?/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,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:/^\p{space}*(subgraph)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)(\[)("?[\!\#-'\*-\/\:\<-\?\\\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"?)(\])/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(subgraph)\p{space}+([ 0-9\<\>\p{L}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(RB|BT|RL|TD|LR)/dgiv},{match:/\b(end)\b/dgv,name:"keyword.control.mermaid"},{begin:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)(\(\[|\[\[|\[\(?|\(+|[\>\{]|\(\()/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},end:/(\]\)|\]\]|\)\]|\]|\)+|\}|\)\))/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{begin:/\p{space}*((?:-?\.{1,4}-|-{2,5}|={2,5})[\>ox]?\|)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\|)/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-{2,5}|={2,5}|-\.{1,3}|-\.))((?:(?!--|==)[\!-'\*-\/\:\<-\?\[-\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)((?:-{2,5}|={2,5}|\.{1,3}-|\.-)[\>ox]?)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-?\.{1,4}-|-{1,4}|={1,4})[\>ox]?)/dgiv},{match:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)/dgv,name:"variable"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(class)\p{space}+\b([\-\,\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(classDef)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b\p{space}+\b([\-\#\,\:\;\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"variable"},"4":{name:"string"}},match:/\p{space}*(click)\p{space}+\b([\-\p{L}\p{M}\p{N}\p{Pc}]+\b\p{space}*)(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b)?\p{space}("*[^\n]*")/dgiv},{begin:/\p{space}*(@\{)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\})/dgv,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:/\p{space}*(shape\p{space}*:)([^\,\}]*)(,)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*(label\p{space}*:)([^\,\}]*)(,)?/dgiv}]}]},{begin:/^\p{space}*(pie)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(quadrantChart)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*([xy]-axis)\p{space}+((?:(?!-->)[\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(-->)\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(quadrant-[1-4])\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{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:/\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\[)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(,)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(\])/dgv}]},{begin:/^\p{space}*(requirementDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*((?:functional|interface|performance|physical)?requirement|designConstraint)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(id:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(text:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(risk:)\p{space}*(low|medium|high)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(verifymethod:)\p{space}*(analysis|inspection|test|demonstration)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(element)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(type:)\p{space}*([\!-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(docref:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(->)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(<-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(-)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(sequenceDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/(%%|#)[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(title)\p{space}*(:)?\p{space}+(\p{space}*[\!-\/\:\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/\p{space}*(participant|actor)\p{space}+((?:(?! as )[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}])+)\p{space}*(as)?\p{space}([\!-\*\,\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*((?:de)?activate)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)/dgiv},{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:/\p{space}*(Note)\p{space}+((?:left|right)\p{space}of|over)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)(,)?(\b[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)?(:)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(loop)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(end)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(alt|else|option|par|and|rect|autonumber|critical|opt)(?:\p{space}+([^\#\;]*))?(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(-?-[\)\>x]>?[\-\+]?)\p{space}*([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(:)\p{space}*([^\#\;]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"string"}},match:/\p{space}*(box)\p{space}+(transparent)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(box)(?:\p{space}+([^\#\;]*))?/dgiv}]},{begin:/^\p{space}*(stateDiagram(?:-v2)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(BT|RL|TB|LR)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(\})\p{space}+/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(--)\p{space}+/dgv},{match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)(?=\n?$)/dgv,name:"variable"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*(\p{space}*[^\:]+)/dgv},{begin:/^\p{space}*(state)\p{space}+/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"}},match:/\p{space}*("[^"]+")\p{space}*(as)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(\{)/dgv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(<<(?:fork|join)>>)/dgiv}]},{begin:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-->)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(\[\*\])\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/(\[\*\])\p{space}*(-->)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*([^\n\:]+)/dgiv},{begin:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)([^\n]|\n)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},contentName:"string",end:/(end note)/dgiv,endCaptures:{"1":{name:"keyword.control.mermaid"}}}]},{begin:/^\p{space}*(journey)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title|section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}*([\!"\$-\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\p{Nd}+)\p{space}*(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"},"4":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"}},match:/\p{space}*,?\p{space}*([^\n\#\,]+)/dgv}]}]},{begin:/^\p{space}*(xychart(?:-beta)?(?:\p{space}+horizontal)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*(x-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*([\-\!\#-\(\*\+\.\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]},{begin:/^\p{space}*(y-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},{begin:/^\p{space}*(line|bar)\p{space}*(\[)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]}]},"mermaid-ado-code-block":{begin:/\p{space}*:::\p{space}*mermaid\p{space}*(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/\p{space}*:::\p{space}*/dgv,patterns:[{include:"#mermaid"}]},"mermaid-code-block":{begin:/(?<=[\`\~])mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]},"mermaid-code-block-with-attributes":{begin:/(?<=[\`\~])\{\p{space}*\.?mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]}},scopeName:"markdown.mermaid.codeblock",embeddedLangs:undefined,aliases:["mmd"]})
3
+ const lang = Object.freeze({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:/^\p{space}*(architecture-beta)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,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:/\p{space}*(group|service)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\()?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(:)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?(\))?\p{space}*(\[)?([\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?\p{space}*(\])?\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv},{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:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?\p{space}*(:)\p{space}*([BLRT])\p{space}+(<?-->?)\p{space}+([BLRT])\p{space}*(:)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?\p{space}*(group)?(\})?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"variable"}},match:/\p{space}*(junction)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(in)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgiv}]},{begin:/^\p{space}*(classDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,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:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?(--o|--\*|<--|-->|<\.\.|\.\.>|<\|\.\.|\.\.\|>|<\|--|--\|>|--\*?|\.\.|\*--|o--)\p{space}("(?:\p{Nd}+|\*|0[^\n][^\n]\p{Nd}+|1[^\n][^\n]\p{Nd}+|1[^\n][^\n]\*)")?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)?\p{space}([^\n]*)(?=\n?$)/dgiv},{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:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv},{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:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}?(:)\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{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:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv},{begin:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?(\{)/dgiv,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:/(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(\()/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"punctuation.parenthesis.open.mermaid"}},end:/(\))([\$\*]{0,2})\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?(?=\n?$)/dgv,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:/\p{space}*,?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{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:/\p{space}([\-\#\+\~])?([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?\p{space}([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(?=\n?$)/dgv},{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:/(<<)([\-\p{L}\p{M}\p{N}\p{Pc}]+)(>>)\p{space}?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?/dgv}]},{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:/(class)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)(~)?([\-\p{L}\p{M}\p{N}\p{Pc}]+)?(~)?/dgiv}]},{begin:/^\p{space}*(erDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"}},match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?(?=\n?$)/dgv},{begin:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\[)?\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+|"[\-\p{L}\p{M}\p{N}\p{Pc}\p{space}]+")?\p{space}*(\])?\p{space}*(\{)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"},"5":{name:"keyword.control.mermaid"}},end:/(\})/dgv,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:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+([FPU]K(?:,\p{space}*[FPU]K){0,2})?\p{space}*("[^\n\r"]*")?\p{space}*/dgiv},{match:/%%[^\n]*/dgv,name:"comment"}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*((?:\|o|\|\||\}o|\}\||one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?)(?:[^\n][^\n]|--)(?:o\||\|\||o\{|\|\{|one or (?:zero|more|many)|zero or (?:one|more|many)|many\([01]\)|only one|0\+|1\+?))\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*("[\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"|[\-\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv}]},{begin:/^\p{space}*(gantt)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(dateFormat)\p{space}+([\-\.\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(axisFormat)\p{space}+([\-\%\.\/\\\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/(tickInterval)\p{space}+(([1-9][0-9]*)(millisecond|second|minute|hour|day|week|month))/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(excludes)\p{space}+((?:[\-\,\p{Nd}\p{space}]|monday|tuesday|wednesday|thursday|friday|saturday|sunday|weekends)+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}+(todayMarker)\p{space}+([^\n]*)(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/(crit|done|active|after)/dgv,name:"entity.name.function.mermaid"},{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(gitGraph)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*(commit)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(id)(:)\p{space}?("[^\n"]*")/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"entity.name.function.mermaid"}},match:/\p{space}*(type)(:)\p{space}?(NORMAL|REVERSE|HIGHLIGHT)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*(tag)(:)\p{space}?("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgiv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/^\p{space}*(checkout)\p{space}*([^"\p{space}]*)/dgiv},{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:/^\p{space}*(branch)\p{space}*([^"\p{space}]*)\p{space}*(?:(order)(:)\p{space}?(\p{Nd}+))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/^\p{space}*(merge)\p{space}*([^"\p{space}]*)\p{space}*(?:(tag)(:)\p{space}?("[^\n"]*"))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(cherry-pick)\p{space}+(id)(:)\p{space}*("[^\n"]*")/dgiv}]},{begin:/^\p{space}*(graph|flowchart)\p{space}+([ 0-9\p{L}]+)?/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,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:/^\p{space}*(subgraph)\p{space}+([\p{L}\p{M}\p{N}\p{Pc}]+)(\[)("?[\!\#-'\*-\/\:\<-\?\\\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}]*"?)(\])/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(subgraph)\p{space}+([ 0-9\<\>\p{L}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(RB|BT|RL|TD|LR)/dgiv},{match:/\b(end)\b/dgv,name:"keyword.control.mermaid"},{begin:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)(\(\[|\[\[|\[\(?|\(+|[\>\{]|\(\()/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},end:/(\]\)|\]\]|\)\]|\]|\)+|\}|\)\))/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{begin:/\p{space}*((?:-?\.{1,4}-|-{2,5}|={2,5})[\>ox]?\|)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\|)/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{begin:/\p{space}*(")/dgv,beginCaptures:{"1":{name:"string"}},end:/(")/dgv,endCaptures:{"1":{name:"string"}},patterns:[{begin:/([^"]*)/dgv,beginCaptures:{"1":{name:"string"}},end:/(?=")/dgv,patterns:[{captures:{"1":{name:"comment"}},match:/([^"]*)/dgv}]}]},{captures:{"1":{name:"string"}},match:/\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-{2,5}|={2,5}|-\.{1,3}|-\.))((?:(?!--|==)[\!-'\*-\/\:\<-\?\[-\^\`\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)((?:-{2,5}|={2,5}|\.{1,3}-|\.-)[\>ox]?)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*([\<ox]?(?:-?\.{1,4}-|-{1,4}|={1,4})[\>ox]?)/dgiv},{match:/\b((?:(?!--|==)[\-\p{L}\p{M}\p{N}\p{Pc}])+\b\p{space}*)/dgv,name:"variable"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(class)\p{space}+\b([\-\,\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"string"}},match:/\p{space}*(classDef)\p{space}+\b([\p{L}\p{M}\p{N}\p{Pc}]+)\b\p{space}+\b([\-\#\,\:\;\p{L}\p{M}\p{N}\p{Pc}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"variable"},"4":{name:"string"}},match:/\p{space}*(click)\p{space}+\b([\-\p{L}\p{M}\p{N}\p{Pc}]+\b\p{space}*)(\b[\p{L}\p{M}\p{N}\p{Pc}]+\b)?\p{space}("*[^\n]*")/dgiv},{begin:/\p{space}*(@\{)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(\})/dgv,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:/\p{space}*(shape\p{space}*:)([^\,\}]*)(,)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"},"3":{name:"keyword.control.mermaid"}},match:/\p{space}*(label\p{space}*:)([^\,\}]*)(,)?/dgiv}]}]},{begin:/^\p{space}*(mindmap)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/(\p{space}*:::)(\p{space}*[\!-\$\&'\*-\/\;-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"punctuation.parenthesis.open.mermaid"},"3":{name:"string"},"4":{name:"punctuation.parenthesis.close.mermaid"}},match:/(\p{space}*::icon)(\p{space}*\()(\p{space}*[\!-\$\&'\*-\/\;-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)(\p{space}*\))/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"},"4":{name:"keyword.control.mermaid"}},match:/(\p{space}*[\!-\$\&'\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)(\p{space}*\({1,2}|\){1,2}|\{\{|\[)(\p{space}*[\!-\$\&'\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)(\p{space}*\){1,2}|\({1,2}|\}\}|\])/dgv},{match:/^(\p{space}*[\!-\$\&'\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgv,name:"string"}]},{begin:/^\p{space}*(pie)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}([^\n]*)(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{match:/%%[^\n]*/dgv,name:"comment"}]}]},{begin:/^\p{space}*(quadrantChart)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*([xy]-axis)\p{space}+((?:(?!-->)[\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}])*)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(-->)\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(quadrant-[1-4])\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{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:/\p{space}*([\!\#-'\*-\/\=\?\\\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\[)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(,)\p{space}*(\p{Nd}\.\p{Nd}+)\p{space}*(\])/dgv}]},{begin:/^\p{space}*(requirementDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{begin:/^\p{space}*((?:functional|interface|performance|physical)?requirement|designConstraint)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(id:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(text:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(risk:)\p{space}*(low|medium|high)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/\p{space}*(verifymethod:)\p{space}*(analysis|inspection|test|demonstration)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(element)\p{space}*([\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(\{)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"}},end:/\p{space}*(\})/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(type:)\p{space}*([\!-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*(docref:)\p{space}*([\!\#-'\*\+\,\.\/\:\;\<\>\?\\\^_\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgiv}]},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(->)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"keyword.control.mermaid"},"4":{name:"keyword.control.mermaid"},"5":{name:"variable"}},match:/^\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(<-)\p{space}*((?:contain|copie|derive|satisfie|verifie|refine|trace)s)\p{space}*(-)\p{space}*([\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(?=\n?$)/dgiv}]},{begin:/^\p{space}*(sequenceDiagram)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/(%%|#)[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(title)\p{space}*(:)?\p{space}+(\p{space}*[\!-\/\:\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/\p{space}*(participant|actor)\p{space}+((?:(?! as )[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}])+)\p{space}*(as)?\p{space}([\!-\*\,\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},match:/\p{space}*((?:de)?activate)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)/dgiv},{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:/\p{space}*(Note)\p{space}+((?:left|right)\p{space}of|over)\p{space}+\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)(,)?(\b[\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?\p{space}*)?(:)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(loop)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(end)/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(alt|else|option|par|and|rect|autonumber|critical|opt)(?:\p{space}+([^\#\;]*))?(?=\n?$)/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/\p{space}*\b([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(-?-[\)\>x]>?[\-\+]?)\p{space}*([\!-\*\.\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+\b\)?)\p{space}*(:)\p{space}*([^\#\;]*)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"},"3":{name:"string"}},match:/\p{space}*(box)\p{space}+(transparent)(?:\p{space}+([^\#\;]*))?/dgiv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/\p{space}*(box)(?:\p{space}+([^\#\;]*))?/dgiv}]},{begin:/^\p{space}*(stateDiagram(?:-v2)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"entity.name.function.mermaid"}},match:/^\p{space}*(direction)\p{space}+(BT|RL|TB|LR)/dgiv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(\})\p{space}+/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}+(--)\p{space}+/dgv},{match:/^\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)(?=\n?$)/dgv,name:"variable"},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*(\p{space}*[^\:]+)/dgv},{begin:/^\p{space}*(state)\p{space}+/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"}},match:/\p{space}*("[^"]+")\p{space}*(as)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(\{)?/dgiv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(\{)/dgv},{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}+(<<(?:fork|join)>>)/dgiv}]},{begin:/([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(-->)/dgv,beginCaptures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"string"}},match:/(\[\*\])\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv}]},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"variable"},"4":{name:"keyword.control.mermaid"},"5":{name:"string"}},match:/(\[\*\])\p{space}*(-->)\p{space}*([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)?\p{space}*([^\n\:]+)?/dgv},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"},"3":{name:"keyword.control.mermaid"},"4":{name:"string"}},match:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)\p{space}*(:)\p{space}*([^\n\:]+)/dgiv},{begin:/^\p{space}*(note (?:left|right) of)\p{space}+([\-\p{L}\p{M}\p{N}\p{Pc}]+)([^\n]|\n)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"variable"}},contentName:"string",end:/(end note)/dgiv,endCaptures:{"1":{name:"keyword.control.mermaid"}}}]},{begin:/^\p{space}*(journey)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title|section)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/\p{space}*([\!"\$-\/\<-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)\p{space}*(:)\p{space}*(\p{Nd}+)\p{space}*(:)/dgv,beginCaptures:{"1":{name:"string"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"},"4":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"variable"}},match:/\p{space}*,?\p{space}*([^\n\#\,]+)/dgv}]}]},{begin:/^\p{space}*(xychart(?:-beta)?(?:\p{space}+horizontal)?)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\:\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{match:/%%[^\n]*/dgv,name:"comment"},{captures:{"1":{name:"keyword.control.mermaid"},"2":{name:"string"}},match:/^\p{space}*(title)\p{space}+(\p{space}*[\!-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*)/dgiv},{begin:/^\p{space}*(x-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv},{begin:/\p{space}*(\[)/dgv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}*([\-\!\#-\(\*\+\.\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]+)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]},{begin:/^\p{space}*(y-axis)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"}},end:/(?=\n?$)/dgv,patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"},"2":{name:"keyword.control.mermaid"},"3":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)\p{space}*(-->)\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+("[\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}\p{space}]*")/dgv},{captures:{"1":{name:"string"}},match:/\p{space}+([\!\#-\(\*-\/\:-\?\\\^\p{L}\p{M}\p{N}\p{Pc}]*)/dgv}]},{begin:/^\p{space}*(line|bar)\p{space}*(\[)/dgiv,beginCaptures:{"1":{name:"keyword.control.mermaid"},"2":{name:"keyword.control.mermaid"}},end:/\p{space}*(\])/dgv,endCaptures:{"1":{name:"keyword.control.mermaid"}},patterns:[{captures:{"1":{name:"constant.numeric.decimal.mermaid"}},match:/\p{space}*([\-\+]?\p{Nd}+\.?\p{Nd}*)/dgv},{captures:{"1":{name:"keyword.control.mermaid"}},match:/\p{space}*(,)/dgv}]}]}]},"mermaid-ado-code-block":{begin:/\p{space}*:::\p{space}*mermaid\p{space}*(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/\p{space}*:::\p{space}*/dgv,patterns:[{include:"#mermaid"}]},"mermaid-code-block":{begin:/(?<=[\`\~])\p{space}*mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]},"mermaid-code-block-with-attributes":{begin:/(?<=[\`\~])\p{space}*\{\p{space}*\.?mermaid(\p{space}+[^\`\~]*)?(?=\n?$)/dgiv,contentName:"meta.embedded.block.mermaid",end:/*@__PURE__*/ new EmulatedRegExp("(^|^)(?=\\p{space}*[\\`\\~]{3,}\\p{space}*(?=\\n?$))","dgv",{"strategy":"clip_search"}),patterns:[{include:"#mermaid"}]}},scopeName:"markdown.mermaid.codeblock",embeddedLangs:undefined,aliases:["mmd"]})
4
4
 
5
5
  export default [
6
6
  lang