(window.webpackChunkEvfrenkelDecapCms=window.webpackChunkEvfrenkelDecapCms||[]).push([[7037],{37037(e,t,a){!function(e){"use strict";e.defineMode("ebnf",function(t){var a=0,c=1,n=0,r=1,s=2,i=null;return t.bracesMode&&(i=e.getMode(t,t.bracesMode)),{startState:function(){return{stringType:null,commentType:null,braced:0,lhs:!0,localState:null,stack:[],inDefinition:!1}},token:function(t,m){if(t){switch(0===m.stack.length&&('"'==t.peek()||"'"==t.peek()?(m.stringType=t.peek(),t.next(),m.stack.unshift(r)):t.match("/*")?(m.stack.unshift(n),m.commentType=a):t.match("(*")&&(m.stack.unshift(n),m.commentType=c)),m.stack[0]){case r:for(;m.stack[0]===r&&!t.eol();)t.peek()===m.stringType?(t.next(),m.stack.shift()):"\\"===t.peek()?(t.next(),t.next()):t.match(/^.[^\\\"\']*/);return m.lhs?"property string":"string";case n:for(;m.stack[0]===n&&!t.eol();)m.commentType===a&&t.match("*/")||m.commentType===c&&t.match("*)")?(m.stack.shift(),m.commentType=null):t.match(/^.[^\*]*/);return"comment";case s:for(;m.stack[0]===s&&!t.eol();)t.match(/^[^\]\\]+/)||t.match(".")||m.stack.shift();return"operator"}var o=t.peek();if(null!==i&&(m.braced||"{"===o)){null===m.localState&&(m.localState=e.startState(i));var h=i.token(t,m.localState),u=t.current();if(!h)for(var f=0;f<u.length;f++)"{"===u[f]?(0===m.braced&&(h="matchingbracket"),m.braced++):"}"===u[f]&&(m.braced--,0===m.braced&&(h="matchingbracket"));return h}switch(o){case"[":return t.next(),m.stack.unshift(s),"bracket";case":":case"|":case";":return t.next(),"operator";case"%":if(t.match("%%"))return"header";if(t.match(/[%][A-Za-z]+/))return"keyword";if(t.match(/[%][}]/))return"matchingbracket";break;case"/":if(t.match(/[\/][A-Za-z]+/))return"keyword";case"\\":if(t.match(/[\][a-z]+/))return"string-2";case".":if(t.match("."))return"atom";case"*":case"-":case"+":case"^":if(t.match(o))return"atom";case"$":if(t.match("$$"))return"builtin";if(t.match(/[$][0-9]+/))return"variable-3";case"<":if(t.match(/<<[a-zA-Z_]+>>/))return"builtin"}return t.match("//")?(t.skipToEnd(),"comment"):t.match("return")?"operator":t.match(/^[a-zA-Z_][a-zA-Z0-9_]*/)?t.match(/(?=[\(.])/)?"variable":t.match(/(?=[\s\n]*[:=])/)?"def":"variable-2":-1!=["[","]","(",")"].indexOf(t.peek())?(t.next(),"bracket"):(t.eatSpace()||t.next(),null)}}}}),e.defineMIME("text/x-ebnf","ebnf")}(a(11448))}}]);
//# sourceMappingURL=7037.cms.js.map