(()=>{(self.webpackChunktechdocs_cli_embedded_app=self.webpackChunktechdocs_cli_embedded_app||[]).push([[3722],{26619:p=>{function b(n){return n?typeof n=="string"?n:n.source:null}function v(...n){return"("+n.map(d=>b(d)).join("|")+")"}function N(n){const A=v(...["(?:NeedsTeXFormat|RequirePackage|GetIdInfo)","Provides(?:Expl)?(?:Package|Class|File)","(?:DeclareOption|ProcessOptions)","(?:documentclass|usepackage|input|include)","makeat(?:letter|other)","ExplSyntax(?:On|Off)","(?:new|renew|provide)?command","(?:re)newenvironment","(?:New|Renew|Provide|Declare)(?:Expandable)?DocumentCommand","(?:New|Renew|Provide|Declare)DocumentEnvironment","(?:(?:e|g|x)?def|let)","(?:begin|end)","(?:part|chapter|(?:sub){0,2}section|(?:sub)?paragraph)","caption","(?:label|(?:eq|page|name)?ref|(?:paren|foot|super)?cite)","(?:alpha|beta|[Gg]amma|[Dd]elta|(?:var)?epsilon|zeta|eta|[Tt]heta|vartheta)","(?:iota|(?:var)?kappa|[Ll]ambda|mu|nu|[Xx]i|[Pp]i|varpi|(?:var)rho)","(?:[Ss]igma|varsigma|tau|[Uu]psilon|[Pp]hi|varphi|chi|[Pp]si|[Oo]mega)","(?:frac|sum|prod|lim|infty|times|sqrt|leq|geq|left|right|middle|[bB]igg?)","(?:[lr]angle|q?quad|[lcvdi]?dots|d?dot|hat|tilde|bar)"].map(e=>e+"(?![a-zA-Z@:_])")),d=new RegExp(["(?:__)?[a-zA-Z]{2,}_[a-zA-Z](?:_?[a-zA-Z])+:[a-zA-Z]*","[lgc]__?[a-zA-Z](?:_?[a-zA-Z])*_[a-zA-Z]{2,}","[qs]__?[a-zA-Z](?:_?[a-zA-Z])+","use(?:_i)?:[a-zA-Z]*","(?:else|fi|or):","(?:if|cs|exp):w","(?:hbox|vbox):n","::[a-zA-Z]_unbraced","::[a-zA-Z:]"].map(e=>e+"(?![a-zA-Z:_])").join("|")),R=[{begin:/[a-zA-Z@]+/},{begin:/[^a-zA-Z@]?/}],m=[{begin:/\^{6}[0-9a-f]{6}/},{begin:/\^{5}[0-9a-f]{5}/},{begin:/\^{4}[0-9a-f]{4}/},{begin:/\^{3}[0-9a-f]{3}/},{begin:/\^{2}[0-9a-f]{2}/},{begin:/\^{2}[\u0000-\u007f]/}],T={className:"keyword",begin:/\\/,relevance:0,contains:[{endsParent:!0,begin:A},{endsParent:!0,begin:d},{endsParent:!0,variants:m},{endsParent:!0,relevance:0,variants:R}]},M={className:"params",relevance:0,begin:/#+\d?/},f={variants:m},C={className:"built_in",relevance:0,begin:/[$&^_]/},O={className:"meta",begin:"% !TeX",end:"$",relevance:10},P=n.COMMENT("%","$",{relevance:0}),c=[T,M,f,C,O,P],_={begin:/\{/,end:/\}/,relevance:0,contains:["self",...c]},I=n.inherit(_,{relevance:0,endsParent:!0,contains:[_,...c]}),h={begin:/\[/,end:/\]/,endsParent:!0,relevance:0,contains:[_,...c]},g={begin:/\s+/,relevance:0},i=[I],u=[h],a=function(e,t){return{contains:[g],starts:{relevance:0,contains:e,starts:t}}},r=function(e,t){return{begin:"\\\\"+e+"(?![a-zA-Z@:_])",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\"+e},relevance:0,contains:[g],starts:t}},o=function(e,t){return n.inherit({begin:"\\\\begin(?=[ 	]*(\\r?\\n[ 	]*)?\\{"+e+"\\})",keywords:{$pattern:/\\[a-zA-Z]+/,keyword:"\\begin"},relevance:0},a(i,t))},E=(e="string")=>n.END_SAME_AS_BEGIN({className:e,begin:/(.|\r?\n)/,end:/(.|\r?\n)/,excludeBegin:!0,excludeEnd:!0,endsParent:!0}),l=function(e){return{className:"string",end:"(?=\\\\end\\{"+e+"\\})"}},s=(e="string")=>({relevance:0,begin:/\{/,starts:{endsParent:!0,contains:[{className:e,end:/(?=\})/,endsParent:!0,contains:[{begin:/\{/,end:/\}/,relevance:0,contains:["self"]}]}]}}),z=[...["verb","lstinline"].map(e=>r(e,{contains:[E()]})),r("mint",a(i,{contains:[E()]})),r("mintinline",a(i,{contains:[s(),E()]})),r("url",{contains:[s("link"),s("link")]}),r("hyperref",{contains:[s("link")]}),r("href",a(u,{contains:[s("link")]})),...[].concat(...["","\\*"].map(e=>[o("verbatim"+e,l("verbatim"+e)),o("filecontents"+e,a(i,l("filecontents"+e))),...["","B","L"].map(t=>o(t+"Verbatim"+e,a(u,l(t+"Verbatim"+e))))])),o("minted",a(u,a(i,l("minted"))))];return{name:"LaTeX",aliases:["tex"],contains:[...z,...c]}}p.exports=N}}]);})();

//# sourceMappingURL=react-syntax-highlighter_languages_highlight_latex.49fc07f6.chunk.js.map