Liferay.Loader.define("journal-web$codemirror@5.65.2/mode/tornado/tornado",["module","exports","require","../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/overlay"],(function(e,t,o){var n,r=void 0;window;n=function(e){"use strict";e.defineMode("tornado:inner",(function(){var e=["and","as","assert","autoescape","block","break","class","comment","context","continue","datetime","def","del","elif","else","end","escape","except","exec","extends","false","finally","for","from","global","if","import","in","include","is","json_encode","lambda","length","linkify","load","module","none","not","or","pass","print","put","raise","raw","return","self","set","squeeze","super","true","try","url_escape","while","with","without","xhtml_escape","yield"];function tokenBase(t,o){t.eatWhile(/[^\{]/);var n=t.next();if("{"==n&&(n=t.eat(/\{|%|#/)))return o.tokenize=function inTag(t){return"{"==t&&(t="}"),function(o,n){return o.next()==t&&o.eat("}")?(n.tokenize=tokenBase,"tag"):o.match(e)?"keyword":"#"==t?"comment":"string"}}(n),"tag"}return e=new RegExp("^(("+e.join(")|(")+"))\\b"),{startState:function(){return{tokenize:tokenBase}},token:function(e,t){return t.tokenize(e,t)}}})),e.defineMode("tornado",(function(t){var o=e.getMode(t,"text/html"),n=e.getMode(t,"tornado:inner");return e.overlayMode(o,n)})),e.defineMIME("text/x-tornado","tornado")},"object"==typeof t&&"object"==typeof e?n(o("../../lib/codemirror"),o("../htmlmixed/htmlmixed"),o("../../addon/mode/overlay")):"function"==typeof r&&r.amd?r(["../../lib/codemirror","../htmlmixed/htmlmixed","../../addon/mode/overlay"],n):n(CodeMirror)}));
//# sourceMappingURL=tornado.js.map