Liferay.Loader.define("liferay!layout-content-page-editor-web$codemirror@5.65.2/mode/dart/dart",["module","exports","require","../../lib/codemirror","../clike/clike"],(function(t,e,n){var r;window,r=function(t){"use strict";var e="this super static final const abstract class extends external factory implements mixin get native set typedef with enum throw rethrow assert break case continue default in return new deferred async await covariant try catch finally do else for if switch while import library export part of show hide is as extension on yield late required".split(" "),n="try catch finally do else for if switch while".split(" "),r="true false null".split(" "),i="void bool num int double dynamic var String Null Never".split(" ");function set(t){for(var e={},n=0;n<t.length;++n)e[t[n]]=!0;return e}function pushInterpolationStack(t){(t.interpolationStack||(t.interpolationStack=[])).push(t.tokenize)}function popInterpolationStack(t){return(t.interpolationStack||(t.interpolationStack=[])).pop()}function tokenString(t,e,n,r){var i=!1;if(e.eat(t)){if(!e.eat(t))return"string";i=!0}function tokenStringHelper(e,n){for(var o=!1;!e.eol();){if(!r&&!o&&"$"==e.peek())return pushInterpolationStack(n),n.tokenize=tokenInterpolation,"string";var a=e.next();if(a==t&&!o&&(!i||e.match(t+t))){n.tokenize=null;break}o=!r&&!o&&"\\"==a}return"string"}return n.tokenize=tokenStringHelper,tokenStringHelper(e,n)}function tokenInterpolation(t,e){return t.eat("$"),t.eat("{")?e.tokenize=null:e.tokenize=tokenInterpolationIdentifier,null}function tokenInterpolationIdentifier(t,e){return t.eatWhile(/[\w_]/),e.tokenize=popInterpolationStack(e),"variable"}function tokenNestedComment(t){return function(e,n){for(var r;r=e.next();){if("*"==r&&e.eat("/")){if(1==t){n.tokenize=null;break}return n.tokenize=tokenNestedComment(t-1),n.tokenize(e,n)}if("/"==r&&e.eat("*"))return n.tokenize=tokenNestedComment(t+1),n.tokenize(e,n)}return"comment"}}t.defineMIME("application/dart",{name:"clike",keywords:set(e),blockKeywords:set(n),builtin:set(i),atoms:set(r),hooks:{"@":function(t){return t.eatWhile(/[\w\$_\.]/),"meta"},"'":function(t,e){return tokenString("'",t,e,!1)},'"':function(t,e){return tokenString('"',t,e,!1)},r:function(t,e){var n=t.peek();return("'"==n||'"'==n)&&tokenString(t.next(),t,e,!0)},"}":function(t,e){return function sizeInterpolationStack(t){return t.interpolationStack?t.interpolationStack.length:0}(e)>0&&(e.tokenize=popInterpolationStack(e),null)},"/":function(t,e){return!!t.eat("*")&&(e.tokenize=tokenNestedComment(1),e.tokenize(t,e))},token:function(t,e,n){if("variable"==n&&RegExp("^[_$]*[A-Z][a-zA-Z0-9_$]*$","g").test(t.current()))return"variable-2"}}}),t.registerHelper("hintWords","application/dart",e.concat(r).concat(i)),t.defineMode("dart",(function(e){return t.getMode(e,"application/dart")}),"clike")},"object"==typeof e&&"object"==typeof t?r(n("../../lib/codemirror"),n("../clike/clike")):r(CodeMirror)}));
//# sourceMappingURL=dart.js.map