@shikijs/langs-precompiled 3.1.0 → 3.2.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 (217) hide show
  1. package/dist/abap.mjs +1 -1
  2. package/dist/actionscript-3.mjs +1 -1
  3. package/dist/ada.mjs +1 -1
  4. package/dist/angular-expression.mjs +1 -1
  5. package/dist/angular-html.mjs +1 -1
  6. package/dist/angular-inline-style.mjs +1 -1
  7. package/dist/angular-inline-template.mjs +1 -1
  8. package/dist/angular-ts.mjs +1 -1
  9. package/dist/apache.mjs +1 -1
  10. package/dist/apex.mjs +1 -1
  11. package/dist/apl.mjs +1 -1
  12. package/dist/applescript.mjs +1 -1
  13. package/dist/ara.mjs +1 -1
  14. package/dist/asciidoc.mjs +1 -1
  15. package/dist/asm.mjs +1 -1
  16. package/dist/astro.mjs +1 -1
  17. package/dist/awk.mjs +1 -1
  18. package/dist/ballerina.mjs +1 -1
  19. package/dist/bat.mjs +1 -1
  20. package/dist/beancount.mjs +1 -1
  21. package/dist/berry.mjs +1 -1
  22. package/dist/bicep.mjs +1 -1
  23. package/dist/blade.mjs +1 -1
  24. package/dist/bsl.mjs +1 -1
  25. package/dist/c.mjs +1 -1
  26. package/dist/cadence.mjs +1 -1
  27. package/dist/cairo.mjs +1 -1
  28. package/dist/clarity.mjs +1 -1
  29. package/dist/clojure.mjs +1 -1
  30. package/dist/cmake.mjs +1 -1
  31. package/dist/cobol.mjs +1 -1
  32. package/dist/codeql.mjs +1 -1
  33. package/dist/coffee.mjs +1 -1
  34. package/dist/common-lisp.mjs +1 -1
  35. package/dist/coq.mjs +1 -1
  36. package/dist/cpp-macro.mjs +1 -1
  37. package/dist/cpp.mjs +1 -1
  38. package/dist/crystal.mjs +1 -1
  39. package/dist/csharp.mjs +1 -1
  40. package/dist/css.mjs +1 -1
  41. package/dist/cue.mjs +1 -1
  42. package/dist/cypher.mjs +1 -1
  43. package/dist/d.mjs +1 -1
  44. package/dist/dart.mjs +1 -1
  45. package/dist/dax.mjs +1 -1
  46. package/dist/desktop.mjs +1 -1
  47. package/dist/diff.mjs +1 -1
  48. package/dist/dotenv.mjs +1 -1
  49. package/dist/dream-maker.mjs +1 -1
  50. package/dist/elixir.mjs +1 -1
  51. package/dist/elm.mjs +1 -1
  52. package/dist/emacs-lisp.mjs +1 -1
  53. package/dist/erlang.mjs +1 -1
  54. package/dist/es-tag-css.mjs +1 -1
  55. package/dist/es-tag-glsl.mjs +1 -1
  56. package/dist/es-tag-html.mjs +1 -1
  57. package/dist/es-tag-sql.mjs +1 -1
  58. package/dist/es-tag-xml.mjs +1 -1
  59. package/dist/fennel.mjs +1 -1
  60. package/dist/fish.mjs +1 -1
  61. package/dist/fluent.mjs +1 -1
  62. package/dist/fortran-free-form.mjs +1 -1
  63. package/dist/fsharp.mjs +1 -1
  64. package/dist/gdresource.mjs +1 -1
  65. package/dist/gdscript.mjs +1 -1
  66. package/dist/gdshader.mjs +1 -1
  67. package/dist/genie.mjs +1 -1
  68. package/dist/git-rebase.mjs +1 -1
  69. package/dist/gleam.mjs +1 -1
  70. package/dist/glimmer-js.mjs +1 -1
  71. package/dist/glimmer-ts.mjs +1 -1
  72. package/dist/glsl.mjs +1 -1
  73. package/dist/gnuplot.mjs +1 -1
  74. package/dist/go.mjs +1 -1
  75. package/dist/graphql.mjs +1 -1
  76. package/dist/groovy.mjs +1 -1
  77. package/dist/hack.mjs +1 -1
  78. package/dist/haml.mjs +1 -1
  79. package/dist/handlebars.mjs +1 -1
  80. package/dist/haskell.mjs +1 -1
  81. package/dist/haxe.mjs +1 -1
  82. package/dist/hcl.mjs +1 -1
  83. package/dist/hjson.mjs +1 -1
  84. package/dist/hlsl.mjs +1 -1
  85. package/dist/html-derivative.mjs +1 -1
  86. package/dist/html.mjs +1 -1
  87. package/dist/http.mjs +1 -1
  88. package/dist/hxml.mjs +1 -1
  89. package/dist/hy.mjs +1 -1
  90. package/dist/imba.mjs +1 -3
  91. package/dist/index.mjs +2 -0
  92. package/dist/java.mjs +1 -1
  93. package/dist/javascript.mjs +1 -1
  94. package/dist/jinja-html.mjs +1 -1
  95. package/dist/jinja.mjs +1 -1
  96. package/dist/jison.mjs +1 -1
  97. package/dist/json.mjs +1 -1
  98. package/dist/json5.mjs +1 -1
  99. package/dist/jsonc.mjs +1 -1
  100. package/dist/jsonl.mjs +1 -1
  101. package/dist/jsonnet.mjs +1 -1
  102. package/dist/jsx.mjs +1 -1
  103. package/dist/julia.mjs +1 -2
  104. package/dist/kotlin.mjs +1 -1
  105. package/dist/kusto.mjs +1 -1
  106. package/dist/latex.mjs +1 -1
  107. package/dist/lean.mjs +1 -1
  108. package/dist/less.mjs +1 -1
  109. package/dist/liquid.mjs +1 -1
  110. package/dist/llvm.d.mts +3 -0
  111. package/dist/llvm.mjs +5 -0
  112. package/dist/log.mjs +1 -1
  113. package/dist/lua.mjs +1 -1
  114. package/dist/luau.mjs +1 -1
  115. package/dist/make.mjs +1 -1
  116. package/dist/markdown-vue.mjs +1 -1
  117. package/dist/markdown.mjs +1 -1
  118. package/dist/marko.mjs +1 -1
  119. package/dist/matlab.mjs +1 -1
  120. package/dist/mdc.mjs +1 -1
  121. package/dist/mdx.mjs +1 -1
  122. package/dist/mermaid.mjs +1 -1
  123. package/dist/mipsasm.mjs +1 -1
  124. package/dist/mojo.mjs +1 -1
  125. package/dist/move.mjs +1 -1
  126. package/dist/narrat.mjs +1 -1
  127. package/dist/nextflow.mjs +1 -1
  128. package/dist/nginx.mjs +1 -1
  129. package/dist/nim.mjs +1 -1
  130. package/dist/nix.mjs +1 -1
  131. package/dist/nushell.mjs +1 -1
  132. package/dist/objective-c.mjs +1 -1
  133. package/dist/objective-cpp.mjs +1 -1
  134. package/dist/ocaml.mjs +1 -1
  135. package/dist/pascal.mjs +1 -1
  136. package/dist/perl.mjs +1 -1
  137. package/dist/php.mjs +1 -1
  138. package/dist/plsql.mjs +1 -1
  139. package/dist/po.mjs +1 -1
  140. package/dist/polar.mjs +1 -1
  141. package/dist/postcss.mjs +1 -1
  142. package/dist/powerquery.mjs +1 -1
  143. package/dist/powershell.mjs +1 -1
  144. package/dist/prisma.mjs +1 -1
  145. package/dist/prolog.mjs +1 -1
  146. package/dist/proto.mjs +1 -1
  147. package/dist/pug.mjs +1 -1
  148. package/dist/puppet.mjs +1 -1
  149. package/dist/purescript.mjs +6 -2
  150. package/dist/python.mjs +1 -1
  151. package/dist/qss.mjs +1 -1
  152. package/dist/r.mjs +1 -1
  153. package/dist/racket.mjs +1 -1
  154. package/dist/raku.mjs +1 -1
  155. package/dist/razor.mjs +1 -1
  156. package/dist/reg.mjs +1 -1
  157. package/dist/regexp.mjs +1 -1
  158. package/dist/rel.mjs +1 -1
  159. package/dist/riscv.mjs +1 -1
  160. package/dist/rst.mjs +1 -1
  161. package/dist/ruby.mjs +1 -1
  162. package/dist/rust.mjs +1 -1
  163. package/dist/sas.mjs +1 -1
  164. package/dist/sass.mjs +1 -1
  165. package/dist/scala.mjs +1 -1
  166. package/dist/scheme.mjs +1 -1
  167. package/dist/scss.mjs +1 -1
  168. package/dist/sdbl.mjs +1 -1
  169. package/dist/shaderlab.mjs +1 -1
  170. package/dist/shellscript.mjs +1 -1
  171. package/dist/shellsession.mjs +1 -1
  172. package/dist/smalltalk.mjs +1 -1
  173. package/dist/solidity.mjs +1 -1
  174. package/dist/soy.mjs +1 -1
  175. package/dist/sparql.mjs +1 -1
  176. package/dist/splunk.mjs +1 -1
  177. package/dist/sql.mjs +1 -1
  178. package/dist/ssh-config.mjs +1 -1
  179. package/dist/stata.mjs +1 -1
  180. package/dist/stylus.mjs +1 -1
  181. package/dist/svelte.mjs +1 -1
  182. package/dist/system-verilog.mjs +1 -1
  183. package/dist/systemd.mjs +1 -1
  184. package/dist/talonscript.mjs +1 -1
  185. package/dist/tasl.mjs +1 -1
  186. package/dist/tcl.mjs +1 -1
  187. package/dist/templ.mjs +1 -1
  188. package/dist/terraform.mjs +1 -1
  189. package/dist/tex.mjs +1 -1
  190. package/dist/toml.mjs +1 -1
  191. package/dist/tsx.mjs +1 -1
  192. package/dist/twig.mjs +1 -1
  193. package/dist/typescript.mjs +1 -1
  194. package/dist/typespec.mjs +1 -1
  195. package/dist/typst.mjs +1 -1
  196. package/dist/v.mjs +1 -1
  197. package/dist/vala.mjs +1 -1
  198. package/dist/vb.mjs +1 -1
  199. package/dist/verilog.mjs +1 -1
  200. package/dist/vhdl.mjs +1 -1
  201. package/dist/viml.mjs +1 -1
  202. package/dist/vue-html.mjs +1 -1
  203. package/dist/vue-sfc-style-variable-injection.mjs +1 -1
  204. package/dist/vue.mjs +1 -1
  205. package/dist/vyper.mjs +1 -1
  206. package/dist/wasm.mjs +1 -1
  207. package/dist/wenyan.mjs +1 -1
  208. package/dist/wgsl.mjs +1 -1
  209. package/dist/wikitext.mjs +1 -1
  210. package/dist/wit.d.mts +3 -0
  211. package/dist/wit.mjs +5 -0
  212. package/dist/wolfram.mjs +1 -1
  213. package/dist/xml.mjs +1 -1
  214. package/dist/yaml.mjs +1 -1
  215. package/dist/zenscript.mjs +1 -1
  216. package/dist/zig.mjs +1 -1
  217. package/package.json +6 -4
package/dist/twig.mjs CHANGED
@@ -6,7 +6,7 @@ import php from './php.mjs'
6
6
  import python from './python.mjs'
7
7
  import ruby from './ruby.mjs'
8
8
 
9
- const lang = Object.freeze({displayName:"Twig",fileTypes:["twig","html.twig"],firstLineMatch:/<!DOCTYPE|<html|<\?php|\{\{|\{%|\{#/dgiv,foldingStartMarker:/*@__PURE__*/ new EmulatedRegExp("(<(?:[Bb][Oo][Dd][Yy]|[Dd][Ii][Vv]|[Dd][Ll]|[Ff][Ii][Ee][Ll][Dd][Ssſ][Ee][Tt]|[Ff][Oo][Rr][Mm]|[Hh][Ee][Aa][Dd]|[Ll][Ii]|[Oo][Ll]|[Ssſ][Cc][Rr][Ii][Pp][Tt]|[Ssſ][Ee][Ll][Ee][Cc][Tt]|[Ssſ][Tt][Yy][Ll][Ee]|[Tt][Aa][Bb][Ll][Ee]|[Tt][Bb][Oo][Dd][Yy]|[Tt][Ff][Oo][Oo][Tt]|[Tt][Hh][Ee][Aa][Dd]|[Tt][Rr]|[Uu][Ll])\\b[^\\n]*?>|<!--(?![^\\n]*--\\p{space}*>)|^<!-- #tminclude (?:(?=([^\\n]*?-->))\\2)(?=\\n?$)|\\{%\\p{space}+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","dgv",{"hiddenCaptures":[2]}),foldingStopMarker:/(<\/(?:[Bb][Oo][Dd][Yy]|[Dd][Ii][Vv]|[Dd][Ll]|[Ff][Ii][Ee][Ll][Dd][Ssſ][Ee][Tt]|[Ff][Oo][Rr][Mm]|[Hh][Ee][Aa][Dd]|[Ll][Ii]|[Oo][Ll]|[Ssſ][Cc][Rr][Ii][Pp][Tt]|[Ssſ][Ee][Ll][Ee][Cc][Tt]|[Ssſ][Tt][Yy][Ll][Ee]|[Tt][Aa][Bb][Ll][Ee]|[Tt][Bb][Oo][Dd][Yy]|[Tt][Ff][Oo][Oo][Tt]|[Tt][Hh][Ee][Aa][Dd]|[Tt][Rr]|[Uu][Ll])>|^(?![^\n]*?<!--)[^\n]*?--\p{space}*>|^<!-- end tminclude -->(?=\n?$)|\{%\p{space}+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))/dgv,name:"twig",patterns:[{begin:/*@__PURE__*/ new EmulatedRegExp("(<)((?:(?=([a-zA-Z0-9\\:]+))\\3))(?=[^\\>]*></\\2>)","dgv",{"hiddenCaptures":[3]}),beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.html"}},end:/(>(<)\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"meta.scope.between-tag-pair.html"},"3":{name:"entity.name.tag.html"},"4":{name:"punctuation.definition.tag.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\?)(xml)/dgv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.xml.html"}},end:/(\?>)/dgv,name:"meta.tag.preprocessor.xml.html",patterns:[{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"}]},{begin:/<!--/dgv,captures:{"0":{name:"punctuation.definition.comment.html"}},end:/--\p{space}*>/dgv,name:"comment.block.html",patterns:[{match:/--/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"},{include:"#embedded-code"}]},{begin:/<!/dgv,captures:{"0":{name:"punctuation.definition.tag.html"}},end:/>/dgv,name:"meta.tag.sgml.html",patterns:[{begin:/DOCTYPE/dgiv,captures:{"1":{name:"entity.name.tag.doctype.html"}},end:/(?=>)/dgv,name:"meta.tag.sgml.doctype.html",patterns:[{match:/"[^"\>]*"/dgv,name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:/\[CDATA\[/dgv,end:/\]\](?=>)/dgv,name:"constant.other.inline-data.html"},{match:/(\p{space}*)(?!--|>)\P{space}(\p{space}*)/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{include:"#embedded-code"},{begin:/(?:^\p{space}+)?(<)(style)\b(?![^\>]*\/>)/dgiv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.style.html"},"3":{name:"punctuation.definition.tag.html"}},end:/(<\/)(style)(>)(?:\p{space}*\n)?/dgiv,name:"source.css.embedded.html",patterns:[{include:"#tag-stuff"},{begin:/(>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.html"}},end:/(?=<\/style)/dgiv,patterns:[{include:"#embedded-code"},{include:"source.css"}]}]},{begin:/(?:^\p{space}+)?(<)(script)\b(?![^\>]*\/>)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.script.html"}},end:/(?<=<\/(script|SCRIPT))(>)(?:\p{space}*\n)?/dgv,endCaptures:{"2":{name:"punctuation.definition.tag.html"}},name:"source.js.embedded.html",patterns:[{include:"#tag-stuff"},{begin:/(?<!<\/(?:script|SCRIPT))(>)/dgv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.script.html"}},end:/(<\/)(script)/dgiv,patterns:[{captures:{"1":{name:"punctuation.definition.comment.js"}},match:/(\/\/)[^\n]*?((?=<\/script)|(?=\n?$)\n?)/dgv,name:"comment.line.double-slash.js"},{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.js"}},end:/\*\/|(?=<\/script)/dgv,name:"comment.block.js"},{include:"#php"},{include:"#twig-print-tag"},{include:"#twig-statement-tag"},{include:"#twig-comment-tag"},{include:"source.js"}]}]},{begin:/(?<=\{%\p{space}js\p{space}%\}|\{%\p{space}includejs\p{space}%\})/dgiv,end:/(?=\{%\p{space}endjs\p{space}%\}|\{%\p{space}endincludejs\p{space}%\})/dgiv,name:"source.js.embedded.twig",patterns:[{include:"source.js"}]},{begin:/(?<=\{%\p{space}css\p{space}%\}|\{%\p{space}includecss\p{space}%\}|\{%\p{space}includehirescss\p{space}%\})/dgiv,end:/(?=\{%\p{space}endcss\p{space}%\}|\{%\p{space}endincludecss\p{space}%\}|\{%\p{space}endincludehirescss\p{space}%\})/dgiv,name:"source.css.embedded.twig",patterns:[{include:"source.css"}]},{begin:/(?<=\{%\p{space}scss\p{space}%\}|\{%\p{space}includescss\p{space}%\}|\{%\p{space}includehiresscss\p{space}%\})/dgiv,end:/(?=\{%\p{space}endscss\p{space}%\}|\{%\p{space}endincludescss\p{space}%\}|\{%\p{space}endincludehiresscss\p{space}%\})/dgiv,name:"source.css.scss.embedded.twig",patterns:[{include:"source.css.scss"}]},{begin:/(<\/?)((?:body|head|html)\b)/dgiv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.structure.any.html"}},end:/(>)/dgv,name:"meta.tag.structure.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|q|s|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.inline.any.html"}},end:/((?: ?\/)?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)([a-zA-Z0-9\:]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.other.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.html",patterns:[{include:"#tag-stuff"}]},{include:"#entities"},{match:/<>/dgv,name:"invalid.illegal.incomplete.html"},{match:/</dgv,name:"invalid.illegal.bad-angle-bracket.html"},{include:"#twig-print-tag"},{include:"#twig-statement-tag"},{include:"#twig-comment-tag"}],repository:{"embedded-code":{patterns:[{include:"#ruby"},{include:"#php"},{include:"#twig-print-tag"},{include:"#twig-statement-tag"},{include:"#twig-comment-tag"},{include:"#python"}]},entities:{patterns:[{captures:{"1":{name:"punctuation.definition.entity.html"},"3":{name:"punctuation.definition.entity.html"}},match:/(&)([a-zA-Z0-9]+|#[0-9]+|#x[0-9a-fA-F]+)(;)/dgv,name:"constant.character.entity.html"},{match:/&/dgv,name:"invalid.illegal.bad-ampersand.html"}]},php:{begin:/(?=(^\p{space}*)?<\?)/dgv,end:/(?!(^\p{space}*)?<\?)/dgv,patterns:[{include:"source.php"}]},python:{begin:/^\p{space}*<\?python(?![^\n]*\?>)/dgv,end:/\?>(?:\p{space}*(?=\n?$)\n)?/dgv,name:"source.python.embedded.html",patterns:[{include:"source.python"}]},ruby:{patterns:[{begin:/<%+#/dgv,captures:{"0":{name:"punctuation.definition.comment.erb"}},end:/%>/dgv,name:"comment.block.erb"},{begin:/<%+(?!>)=?/dgv,captures:{"0":{name:"punctuation.section.embedded.ruby"}},end:/-?%>/dgv,name:"source.ruby.embedded.html",patterns:[{captures:{"1":{name:"punctuation.definition.comment.ruby"}},match:/(#)[^\n]*?(?=-?%>)/dgv,name:"comment.line.number-sign.ruby"},{include:"source.ruby"}]},{begin:/<\?r(?!>)=?/dgv,captures:{"0":{name:"punctuation.section.embedded.ruby.nitro"}},end:/-?\?>/dgv,name:"source.ruby.nitro.embedded.html",patterns:[{captures:{"1":{name:"punctuation.definition.comment.ruby.nitro"}},match:/(#)[^\n]*?(?=-?\?>)/dgv,name:"comment.line.number-sign.ruby.nitro"},{include:"source.ruby"}]}]},"string-double-quoted":{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]},"string-single-quoted":{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]},"tag-generic-attribute":{match:/\b([a-zA-Z\-\:]+)/dgv,name:"entity.other.attribute-name.html"},"tag-id-attribute":{begin:/\b(id)\b\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.id.html"},"2":{name:"punctuation.separator.key-value.html"}},end:/(?<='|")/dgv,name:"meta.attribute-with-value.id.html",patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]}]},"tag-stuff":{patterns:[{include:"#tag-id-attribute"},{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"},{include:"#embedded-code"}]},"twig-arrays":{begin:/(?<=[\p{space}\(\{\[\:\,])\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.twig"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.twig"}},name:"meta.array.twig",patterns:[{include:"#twig-arrays"},{include:"#twig-hashes"},{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-strings"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{match:/,/dgv,name:"punctuation.separator.object.twig"}]},"twig-comment-tag":{begin:/\{#-?/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.twig"}},end:/-?#\}/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.twig"}},name:"comment.block.twig"},"twig-constants":{patterns:[{match:/(?<=[\p{space}\[\(\{\:\,])(?:true|false|null|none)(?=[\p{space}\)\]\}\,])/dgiv,name:"constant.language.twig"},{match:/(?<=[\p{space}\[\(\{\:\,]|\.\.|\*\*)[0-9]+(?:\.[0-9]+)?(?=[\p{space}\)\]\}\,]|\.\.|\*\*)/dgv,name:"constant.numeric.twig"}]},"twig-filters":{captures:{"1":{name:"support.function.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[\p{space}\|\]\}\)\:\,]|\.\.|\*\*)/dgv},"twig-filters-ud":{captures:{"1":{name:"meta.function-call.other.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)/dgv},"twig-filters-warg":{begin:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\()/dgv,beginCaptures:{"1":{name:"support.function.twig"},"2":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-filters-warg-ud":{begin:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(\()/dgv,beginCaptures:{"1":{name:"meta.function-call.other.twig"},"2":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-functions":{captures:{"1":{name:"support.function.twig"}},match:/(?<=is\p{space})(defined|empty|even|iterable|odd)/dgv},"twig-functions-warg":{begin:/(?<=[\p{space}\(\[\{\:\,])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\()/dgv,beginCaptures:{"1":{name:"support.function.twig"},"2":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"}]},"twig-hashes":{begin:/(?<=[\p{space}\(\{\[\:\,])\{/dgv,beginCaptures:{"0":{name:"punctuation.section.hash.begin.twig"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.hash.end.twig"}},name:"meta.hash.twig",patterns:[{include:"#twig-hashes"},{include:"#twig-arrays"},{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-strings"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{match:/:/dgv,name:"punctuation.separator.key-value.twig"},{match:/,/dgv,name:"punctuation.separator.object.twig"}]},"twig-keywords":{match:/(?<=\p{space})((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\p{space})/dgv,name:"keyword.control.twig"},"twig-macros":{begin:/(?<=[\p{space}\(\[\{\:\,])([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(?:(\.)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*))?(\()/dgv,beginCaptures:{"1":{name:"meta.function-call.twig"},"2":{name:"punctuation.separator.property.twig"},"3":{name:"variable.other.property.twig"},"4":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-objects":{captures:{"1":{name:"variable.other.twig"}},match:/(?<=[\p{space}\{\[\(\:\,])([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(?=[\p{space}\}\[\]\(\)\.\|\,\:])/dgv},"twig-operators":{patterns:[{captures:{"1":{name:"keyword.operator.arithmetic.twig"}},match:/(?<=\p{space})(\+|-|\/\/?|%|\*\*?)(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.assignment.twig"}},match:/(?<=\p{space})(=|~)(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.bitwise.twig"}},match:/(?<=\p{space})(b-(?:and|or|xor))(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.comparison.twig"}},match:/(?<=\p{space})((?:!|=)=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.logical.twig"}},match:/(?<=\p{space})(\?|:|\?:|\?\?|and|not|or)(?=\p{space})/dgv},{captures:{"0":{name:"keyword.operator.other.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"])\.\.(?=[a-zA-Z0-9_\x7F-ÿ'"])/dgv},{captures:{"0":{name:"keyword.operator.other.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\}\)'"])\|(?=[a-zA-Z_\x7F-ÿ])/dgv}]},"twig-print-tag":{begin:/\{\{-?/dgv,beginCaptures:{"0":{name:"punctuation.section.tag.twig"}},end:/-?\}\}/dgv,endCaptures:{"0":{name:"punctuation.section.tag.twig"}},name:"meta.tag.template.value.twig",patterns:[{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-properties":{patterns:[{captures:{"1":{name:"punctuation.separator.property.twig"},"2":{name:"variable.other.property.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ])(\.)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(?=[\.\p{space}\|\[\)\]\}\:\,])/dgv},{begin:/(?<=[a-zA-Z0-9_\x7F-ÿ])(\.)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(\()/dgv,beginCaptures:{"1":{name:"punctuation.separator.property.twig"},"2":{name:"variable.other.property.twig"},"3":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"}]},{captures:{"1":{name:"punctuation.section.array.begin.twig"},"2":{name:"variable.other.property.twig"},"3":{name:"punctuation.section.array.end.twig"},"4":{name:"punctuation.section.array.begin.twig"},"5":{name:"variable.other.property.twig"},"6":{name:"punctuation.section.array.end.twig"},"7":{name:"punctuation.section.array.begin.twig"},"8":{name:"variable.other.property.twig"},"9":{name:"punctuation.section.array.end.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]])(?:(\[)('[a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*')(\])|(\[)("[a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*")(\])|(\[)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(\]))/dgv}]},"twig-statement-tag":{begin:/\{%-?/dgv,beginCaptures:{"0":{name:"punctuation.section.tag.twig"}},end:/-?%\}/dgv,endCaptures:{"0":{name:"punctuation.section.tag.twig"}},name:"meta.tag.template.block.twig",patterns:[{include:"#twig-constants"},{include:"#twig-keywords"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-strings":{patterns:[{begin:/(?:(?<!\\)|(?<=\\\\))'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.twig"}},end:/(?:(?<!\\)|(?<=\\\\))'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.twig"}},name:"string.quoted.single.twig"},{begin:/(?:(?<!\\)|(?<=\\\\))"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.twig"}},end:/(?:(?<!\\)|(?<=\\\\))"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.twig"}},name:"string.quoted.double.twig"}]}},scopeName:"text.html.twig",embeddedLangs:["css","javascript","scss","php","python","ruby"],aliases:undefined})
9
+ const lang = Object.freeze({displayName:"Twig",fileTypes:["twig","html.twig"],firstLineMatch:/<!DOCTYPE|<html|<\?php|\{\{|\{%|\{#/dgiv,foldingStartMarker:/*@__PURE__*/ new EmulatedRegExp("(<(?:[Bb][Oo][Dd][Yy]|[Dd][Ii][Vv]|[Dd][Ll]|[Ff][Ii][Ee][Ll][Dd][Ssſ][Ee][Tt]|[Ff][Oo][Rr][Mm]|[Hh][Ee][Aa][Dd]|[Ll][Ii]|[Oo][Ll]|[Ssſ][Cc][Rr][Ii][Pp][Tt]|[Ssſ][Ee][Ll][Ee][Cc][Tt]|[Ssſ][Tt][Yy][Ll][Ee]|[Tt][Aa][Bb][Ll][Ee]|[Tt][Bb][Oo][Dd][Yy]|[Tt][Ff][Oo][Oo][Tt]|[Tt][Hh][Ee][Aa][Dd]|[Tt][Rr]|[Uu][Ll])\\b[^\\n]*?>|<!--(?![^\\n]*--\\p{space}*>)|^<!-- #tminclude (?:(?=([^\\n]*?-->))\\2)(?=\\n?$)|\\{%\\p{space}+(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))","dgv",{"hiddenCaptures":[2]}),foldingStopMarker:/(<\/(?:[Bb][Oo][Dd][Yy]|[Dd][Ii][Vv]|[Dd][Ll]|[Ff][Ii][Ee][Ll][Dd][Ssſ][Ee][Tt]|[Ff][Oo][Rr][Mm]|[Hh][Ee][Aa][Dd]|[Ll][Ii]|[Oo][Ll]|[Ssſ][Cc][Rr][Ii][Pp][Tt]|[Ssſ][Ee][Ll][Ee][Cc][Tt]|[Ssſ][Tt][Yy][Ll][Ee]|[Tt][Aa][Bb][Ll][Ee]|[Tt][Bb][Oo][Dd][Yy]|[Tt][Ff][Oo][Oo][Tt]|[Tt][Hh][Ee][Aa][Dd]|[Tt][Rr]|[Uu][Ll])>|^(?![^\n]*?<!--)[^\n]*?--\p{space}*>|^<!-- end tminclude -->(?=\n?$)|\{%\p{space}+end(autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim))/dgv,name:"twig",patterns:[{begin:/*@__PURE__*/ new EmulatedRegExp("(<)((?:(?=([a-zA-Z0-9\\:]+))\\3))(?=[^\\>]*></\\2>)","dgv",{"hiddenCaptures":[3]}),beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.html"}},end:/(>(<)\/)(\2)(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"meta.scope.between-tag-pair.html"},"3":{name:"entity.name.tag.html"},"4":{name:"punctuation.definition.tag.html"}},name:"meta.tag.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\?)(xml)/dgv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.xml.html"}},end:/(\?>)/dgv,name:"meta.tag.preprocessor.xml.html",patterns:[{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"}]},{begin:/<!--/dgv,captures:{"0":{name:"punctuation.definition.comment.html"}},end:/--\p{space}*>/dgv,name:"comment.block.html",patterns:[{match:/--/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"},{include:"#embedded-code"}]},{begin:/<!/dgv,captures:{"0":{name:"punctuation.definition.tag.html"}},end:/>/dgv,name:"meta.tag.sgml.html",patterns:[{begin:/DOCTYPE/dgiv,captures:{"1":{name:"entity.name.tag.doctype.html"}},end:/(?=>)/dgv,name:"meta.tag.sgml.doctype.html",patterns:[{match:/"[^"\>]*"/dgv,name:"string.quoted.double.doctype.identifiers-and-DTDs.html"}]},{begin:/\[CDATA\[/dgv,end:/\]\](?=>)/dgv,name:"constant.other.inline-data.html"},{match:/(\p{space}*)(?!--|>)\P{space}(\p{space}*)/dgv,name:"invalid.illegal.bad-comments-or-CDATA.html"}]},{include:"#embedded-code"},{begin:/(?:^\p{space}+)?(<)(style)\b(?![^\>]*\/>)/dgiv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.style.html"},"3":{name:"punctuation.definition.tag.html"}},end:/(<\/)(style)(>)(?:\p{space}*\n)?/dgiv,name:"source.css.embedded.html",patterns:[{include:"#tag-stuff"},{begin:/(>)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.html"}},end:/(?=<\/style)/dgiv,patterns:[{include:"#embedded-code"},{include:"source.css"}]}]},{begin:/(?:^\p{space}+)?(<)(script)\b(?![^\>]*\/>)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.script.html"}},end:/(?<=<\/(script|SCRIPT))(>)(?:\p{space}*\n)?/dgv,endCaptures:{"2":{name:"punctuation.definition.tag.html"}},name:"source.js.embedded.html",patterns:[{include:"#tag-stuff"},{begin:/(?<!<\/(?:script|SCRIPT))(>)/dgv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.script.html"}},end:/(<\/)(script)/dgiv,patterns:[{captures:{"1":{name:"punctuation.definition.comment.js"}},match:/(\/\/)[^\n]*?((?=<\/script)|(?=\n?$)\n?)/dgv,name:"comment.line.double-slash.js"},{begin:/\/\*/dgv,captures:{"0":{name:"punctuation.definition.comment.js"}},end:/\*\/|(?=<\/script)/dgv,name:"comment.block.js"},{include:"#php"},{include:"#twig-print-tag"},{include:"#twig-statement-tag"},{include:"#twig-comment-tag"},{include:"source.js"}]}]},{begin:/(?<=\{%\p{space}(?:js\p{space}%\}|includejs\p{space}%\}))/dgiv,end:/(?=\{%\p{space}end(?:js\p{space}%\}|includejs\p{space}%\}))/dgiv,name:"source.js.embedded.twig",patterns:[{include:"source.js"}]},{begin:/(?<=\{%\p{space}(?:css\p{space}%\}|includecss\p{space}%\}|includehirescss\p{space}%\}))/dgiv,end:/(?=\{%\p{space}end(?:css\p{space}%\}|includecss\p{space}%\}|includehirescss\p{space}%\}))/dgiv,name:"source.css.embedded.twig",patterns:[{include:"source.css"}]},{begin:/(?<=\{%\p{space}(?:scss\p{space}%\}|includescss\p{space}%\}|includehiresscss\p{space}%\}))/dgiv,end:/(?=\{%\p{space}end(?:scss\p{space}%\}|includescss\p{space}%\}|includehiresscss\p{space}%\}))/dgiv,name:"source.css.scss.embedded.twig",patterns:[{include:"source.css.scss"}]},{begin:/(<\/?)((?:body|head|html)\b)/dgiv,captures:{"1":{name:"punctuation.definition.tag.html"},"2":{name:"entity.name.tag.structure.any.html"}},end:/(>)/dgv,name:"meta.tag.structure.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:address|blockquote|dd|div|dl|dt|fieldset|form|frame|frameset|h1|h2|h3|h4|h5|h6|iframe|noframes|object|ol|p|ul|applet|center|dir|hr|menu|pre)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.block.any.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.block.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)((?:a|abbr|acronym|area|b|base|basefont|bdo|big|br|button|caption|cite|code|col|colgroup|del|dfn|em|font|head|html|i|img|input|ins|isindex|kbd|label|legend|li|link|map|meta|noscript|optgroup|option|param|[qs]|samp|script|select|small|span|strike|strong|style|sub|sup|table|tbody|td|textarea|tfoot|th|thead|title|tr|tt|u|var)\b)/dgiv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.inline.any.html"}},end:/((?: ?\/)?>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.inline.any.html",patterns:[{include:"#tag-stuff"}]},{begin:/(<\/?)([a-zA-Z0-9\:]+)/dgv,beginCaptures:{"1":{name:"punctuation.definition.tag.begin.html"},"2":{name:"entity.name.tag.other.html"}},end:/(>)/dgv,endCaptures:{"1":{name:"punctuation.definition.tag.end.html"}},name:"meta.tag.other.html",patterns:[{include:"#tag-stuff"}]},{include:"#entities"},{match:/<>/dgv,name:"invalid.illegal.incomplete.html"},{match:/</dgv,name:"invalid.illegal.bad-angle-bracket.html"},{include:"#twig-print-tag"},{include:"#twig-statement-tag"},{include:"#twig-comment-tag"}],repository:{"embedded-code":{patterns:[{include:"#ruby"},{include:"#php"},{include:"#twig-print-tag"},{include:"#twig-statement-tag"},{include:"#twig-comment-tag"},{include:"#python"}]},entities:{patterns:[{captures:{"1":{name:"punctuation.definition.entity.html"},"3":{name:"punctuation.definition.entity.html"}},match:/(&)([a-zA-Z0-9]+|#[0-9]+|#x\p{AHex}+)(;)/dgv,name:"constant.character.entity.html"},{match:/&/dgv,name:"invalid.illegal.bad-ampersand.html"}]},php:{begin:/(?=(^\p{space}*)?<\?)/dgv,end:/(?!(^\p{space}*)?<\?)/dgv,patterns:[{include:"source.php"}]},python:{begin:/^\p{space}*<\?python(?![^\n]*\?>)/dgv,end:/\?>(?:\p{space}*(?=\n?$)\n)?/dgv,name:"source.python.embedded.html",patterns:[{include:"source.python"}]},ruby:{patterns:[{begin:/<%+#/dgv,captures:{"0":{name:"punctuation.definition.comment.erb"}},end:/%>/dgv,name:"comment.block.erb"},{begin:/<%+(?!>)=?/dgv,captures:{"0":{name:"punctuation.section.embedded.ruby"}},end:/-?%>/dgv,name:"source.ruby.embedded.html",patterns:[{captures:{"1":{name:"punctuation.definition.comment.ruby"}},match:/(#)[^\n]*?(?=-?%>)/dgv,name:"comment.line.number-sign.ruby"},{include:"source.ruby"}]},{begin:/<\?r(?!>)=?/dgv,captures:{"0":{name:"punctuation.section.embedded.ruby.nitro"}},end:/-?\?>/dgv,name:"source.ruby.nitro.embedded.html",patterns:[{captures:{"1":{name:"punctuation.definition.comment.ruby.nitro"}},match:/(#)[^\n]*?(?=-?\?>)/dgv,name:"comment.line.number-sign.ruby.nitro"},{include:"source.ruby"}]}]},"string-double-quoted":{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]},"string-single-quoted":{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]},"tag-generic-attribute":{match:/\b([a-zA-Z\-\:]+)/dgv,name:"entity.other.attribute-name.html"},"tag-id-attribute":{begin:/\b(id)\b\p{space}*(=)/dgv,captures:{"1":{name:"entity.other.attribute-name.id.html"},"2":{name:"punctuation.separator.key-value.html"}},end:/(?<=['"])/dgv,name:"meta.attribute-with-value.id.html",patterns:[{begin:/"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.double.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]},{begin:/'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.html"}},contentName:"meta.toc-list.id.html",end:/'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.html"}},name:"string.quoted.single.html",patterns:[{include:"#embedded-code"},{include:"#entities"}]}]},"tag-stuff":{patterns:[{include:"#tag-id-attribute"},{include:"#tag-generic-attribute"},{include:"#string-double-quoted"},{include:"#string-single-quoted"},{include:"#embedded-code"}]},"twig-arrays":{begin:/(?<=[\p{space}\(\{\[\:\,])\[/dgv,beginCaptures:{"0":{name:"punctuation.section.array.begin.twig"}},end:/\]/dgv,endCaptures:{"0":{name:"punctuation.section.array.end.twig"}},name:"meta.array.twig",patterns:[{include:"#twig-arrays"},{include:"#twig-hashes"},{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-strings"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{match:/,/dgv,name:"punctuation.separator.object.twig"}]},"twig-comment-tag":{begin:/\{#-?/dgv,beginCaptures:{"0":{name:"punctuation.definition.comment.begin.twig"}},end:/-?#\}/dgv,endCaptures:{"0":{name:"punctuation.definition.comment.end.twig"}},name:"comment.block.twig"},"twig-constants":{patterns:[{match:/(?<=[\p{space}\[\(\{\:\,])(?:true|false|null|none)(?=[\p{space}\)\]\}\,])/dgiv,name:"constant.language.twig"},{match:/(?<=[\p{space}\[\(\{\:\,]|\.\.|\*\*)[0-9]+(?:\.[0-9]+)?(?=[\p{space}\)\]\}\,]|\.\.|\*\*)/dgv,name:"constant.numeric.twig"}]},"twig-filters":{captures:{"1":{name:"support.function.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})(abs|capitalize|e(?:scape)?|first|join|(?:json|url)_encode|keys|last|length|lower|nl2br|number_format|raw|reverse|round|sort|striptags|title|trim|upper)(?=[\p{space}\|\]\}\)\:\,]|\.\.|\*\*)/dgv},"twig-filters-ud":{captures:{"1":{name:"meta.function-call.other.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)/dgv},"twig-filters-warg":{begin:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})(batch|convert_encoding|date|date_modify|default|e(?:scape)?|format|join|merge|number_format|replace|round|slice|split|trim)(\()/dgv,beginCaptures:{"1":{name:"support.function.twig"},"2":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-filters-warg-ud":{begin:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"]\||\{%\p{space}filter\p{space})([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(\()/dgv,beginCaptures:{"1":{name:"meta.function-call.other.twig"},"2":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-functions":{captures:{"1":{name:"support.function.twig"}},match:/(?<=is\p{space})(defined|empty|even|iterable|odd)/dgv},"twig-functions-warg":{begin:/(?<=[\p{space}\(\[\{\:\,])(attribute|block|constant|cycle|date|divisible by|dump|include|max|min|parent|random|range|same as|source|template_from_string)(\()/dgv,beginCaptures:{"1":{name:"support.function.twig"},"2":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"}]},"twig-hashes":{begin:/(?<=[\p{space}\(\{\[\:\,])\{/dgv,beginCaptures:{"0":{name:"punctuation.section.hash.begin.twig"}},end:/\}/dgv,endCaptures:{"0":{name:"punctuation.section.hash.end.twig"}},name:"meta.hash.twig",patterns:[{include:"#twig-hashes"},{include:"#twig-arrays"},{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-strings"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{match:/:/dgv,name:"punctuation.separator.key-value.twig"},{match:/,/dgv,name:"punctuation.separator.object.twig"}]},"twig-keywords":{match:/(?<=\p{space})((?:end)?(?:autoescape|block|embed|filter|for|if|macro|raw|sandbox|set|spaceless|trans|verbatim)|as|do|else|elseif|extends|flush|from|ignore missing|import|include|only|use|with)(?=\p{space})/dgv,name:"keyword.control.twig"},"twig-macros":{begin:/(?<=[\p{space}\(\[\{\:\,])([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(?:(\.)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*))?(\()/dgv,beginCaptures:{"1":{name:"meta.function-call.twig"},"2":{name:"punctuation.separator.property.twig"},"3":{name:"variable.other.property.twig"},"4":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-objects":{captures:{"1":{name:"variable.other.twig"}},match:/(?<=[\p{space}\{\[\(\:\,])([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(?=[\p{space}\}\[\]\(\)\.\|\,\:])/dgv},"twig-operators":{patterns:[{captures:{"1":{name:"keyword.operator.arithmetic.twig"}},match:/(?<=\p{space})([\+\-]|\/\/?|%|\*\*?)(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.assignment.twig"}},match:/(?<=\p{space})([\=\~])(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.bitwise.twig"}},match:/(?<=\p{space})(b-(?:and|or|xor))(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.comparison.twig"}},match:/(?<=\p{space})([\!\=]=|<=?|>=?|(?:not )?in|is(?: not)?|(?:ends|starts) with|matches)(?=\p{space})/dgv},{captures:{"1":{name:"keyword.operator.logical.twig"}},match:/(?<=\p{space})([\?\:]|\?:|\?\?|and|not|or)(?=\p{space})/dgv},{captures:{"0":{name:"keyword.operator.other.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\)'"])\.\.(?=[a-zA-Z0-9_\x7F-ÿ'"])/dgv},{captures:{"0":{name:"keyword.operator.other.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]\}\)'"])\|(?=[a-zA-Z_\x7F-ÿ])/dgv}]},"twig-print-tag":{begin:/\{\{-?/dgv,beginCaptures:{"0":{name:"punctuation.section.tag.twig"}},end:/-?\}\}/dgv,endCaptures:{"0":{name:"punctuation.section.tag.twig"}},name:"meta.tag.template.value.twig",patterns:[{include:"#twig-constants"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-properties":{patterns:[{captures:{"1":{name:"punctuation.separator.property.twig"},"2":{name:"variable.other.property.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ])(\.)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(?=[\.\p{space}\|\[\)\]\}\:\,])/dgv},{begin:/(?<=[a-zA-Z0-9_\x7F-ÿ])(\.)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(\()/dgv,beginCaptures:{"1":{name:"punctuation.separator.property.twig"},"2":{name:"variable.other.property.twig"},"3":{name:"punctuation.definition.parameters.begin.twig"}},contentName:"meta.function.arguments.twig",end:/\)/dgv,endCaptures:{"0":{name:"punctuation.definition.parameters.end.twig"}},patterns:[{include:"#twig-constants"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-strings"},{include:"#twig-arrays"}]},{captures:{"1":{name:"punctuation.section.array.begin.twig"},"2":{name:"variable.other.property.twig"},"3":{name:"punctuation.section.array.end.twig"},"4":{name:"punctuation.section.array.begin.twig"},"5":{name:"variable.other.property.twig"},"6":{name:"punctuation.section.array.end.twig"},"7":{name:"punctuation.section.array.begin.twig"},"8":{name:"variable.other.property.twig"},"9":{name:"punctuation.section.array.end.twig"}},match:/(?<=[a-zA-Z0-9_\x7F-ÿ\]])(?:(\[)('[a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*')(\])|(\[)("[a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*")(\])|(\[)([a-zA-Z_\x7F-ÿ][a-zA-Z0-9_\x7F-ÿ]*)(\]))/dgv}]},"twig-statement-tag":{begin:/\{%-?/dgv,beginCaptures:{"0":{name:"punctuation.section.tag.twig"}},end:/-?%\}/dgv,endCaptures:{"0":{name:"punctuation.section.tag.twig"}},name:"meta.tag.template.block.twig",patterns:[{include:"#twig-constants"},{include:"#twig-keywords"},{include:"#twig-operators"},{include:"#twig-functions-warg"},{include:"#twig-functions"},{include:"#twig-macros"},{include:"#twig-filters-warg"},{include:"#twig-filters"},{include:"#twig-filters-warg-ud"},{include:"#twig-filters-ud"},{include:"#twig-objects"},{include:"#twig-properties"},{include:"#twig-strings"},{include:"#twig-arrays"},{include:"#twig-hashes"}]},"twig-strings":{patterns:[{begin:/(?:(?<!\\)|(?<=\\\\))'/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.twig"}},end:/(?:(?<!\\)|(?<=\\\\))'/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.twig"}},name:"string.quoted.single.twig"},{begin:/(?:(?<!\\)|(?<=\\\\))"/dgv,beginCaptures:{"0":{name:"punctuation.definition.string.begin.twig"}},end:/(?:(?<!\\)|(?<=\\\\))"/dgv,endCaptures:{"0":{name:"punctuation.definition.string.end.twig"}},name:"string.quoted.double.twig"}]}},scopeName:"text.html.twig",embeddedLangs:["css","javascript","scss","php","python","ruby"],aliases:undefined})
10
10
 
11
11
  export default [
12
12
  ...css,