web-interface.assets.b934b22e8f8a8b1ba81dbc2cf058b0cd.js.map Maven / Gradle / Ivy
{"version":3,"sources":["webpack://graylog-web-interface/b934b22e8f8a8b1ba81dbc2cf058b0cd.js"],"sourcesContent":["ace.define(\"ace/mode/textile_highlight_rules\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text_highlight_rules\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar TextileHighlightRules = function () {\n this.$rules = {\n \"start\": [\n {\n token: function (value) {\n if (value.charAt(0) == \"h\")\n return \"markup.heading.\" + value.charAt(1);\n else\n return \"markup.heading\";\n },\n regex: \"h1|h2|h3|h4|h5|h6|bq|p|bc|pre\",\n next: \"blocktag\"\n },\n {\n token: \"keyword\",\n regex: \"[\\\\*]+|[#]+\"\n },\n {\n token: \"text\",\n regex: \".+\"\n }\n ],\n \"blocktag\": [\n {\n token: \"keyword\",\n regex: \"\\\\. \",\n next: \"start\"\n },\n {\n token: \"keyword\",\n regex: \"\\\\(\",\n next: \"blocktagproperties\"\n }\n ],\n \"blocktagproperties\": [\n {\n token: \"keyword\",\n regex: \"\\\\)\",\n next: \"blocktag\"\n },\n {\n token: \"string\",\n regex: \"[a-zA-Z0-9\\\\-_]+\"\n },\n {\n token: \"keyword\",\n regex: \"#\"\n }\n ]\n };\n};\noop.inherits(TextileHighlightRules, TextHighlightRules);\nexports.TextileHighlightRules = TextileHighlightRules;\n\n});\n\nace.define(\"ace/mode/matching_brace_outdent\",[\"require\",\"exports\",\"module\",\"ace/range\"], function(require, exports, module){\"use strict\";\nvar Range = require(\"../range\").Range;\nvar MatchingBraceOutdent = function () { };\n(function () {\n this.checkOutdent = function (line, input) {\n if (!/^\\s+$/.test(line))\n return false;\n return /^\\s*\\}/.test(input);\n };\n this.autoOutdent = function (doc, row) {\n var line = doc.getLine(row);\n var match = line.match(/^(\\s*\\})/);\n if (!match)\n return 0;\n var column = match[1].length;\n var openBracePos = doc.findMatchingBracket({ row: row, column: column });\n if (!openBracePos || openBracePos.row == row)\n return 0;\n var indent = this.$getIndent(doc.getLine(openBracePos.row));\n doc.replace(new Range(row, 0, row, column - 1), indent);\n };\n this.$getIndent = function (line) {\n return line.match(/^\\s*/)[0];\n };\n}).call(MatchingBraceOutdent.prototype);\nexports.MatchingBraceOutdent = MatchingBraceOutdent;\n\n});\n\nace.define(\"ace/mode/textile\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/textile_highlight_rules\",\"ace/mode/matching_brace_outdent\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar TextileHighlightRules = require(\"./textile_highlight_rules\").TextileHighlightRules;\nvar MatchingBraceOutdent = require(\"./matching_brace_outdent\").MatchingBraceOutdent;\nvar Mode = function () {\n this.HighlightRules = TextileHighlightRules;\n this.$outdent = new MatchingBraceOutdent();\n this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n this.type = \"text\";\n this.getNextLineIndent = function (state, line, tab) {\n if (state == \"intag\")\n return tab;\n return \"\";\n };\n this.checkOutdent = function (state, line, input) {\n return this.$outdent.checkOutdent(line, input);\n };\n this.autoOutdent = function (state, doc, row) {\n this.$outdent.autoOutdent(doc, row);\n };\n this.$id = \"ace/mode/textile\";\n this.snippetFileId = \"ace/snippets/textile\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n}); (function() {\n ace.require([\"ace/mode/textile\"], function(m) {\n if (typeof module == \"object\" && typeof exports == \"object\" && module) {\n module.exports = m;\n }\n });\n })();\n "],"mappings":"oEAAA,IAAAA,EAAAC,EAAA,CAAAC,EAAAC,IAAA,KAAI,OAAO,mCAAmC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,aAC/J,IAAIE,EAAMD,EAAQ,YAAY,EAC1B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ba81dbc2cf058b0cd","__commonJSMin","exports","module","require","oop","TextHighlightRules","TextileHighlightRules","value","Range","MatchingBraceOutdent","line","input","doc","row","match","column","openBracePos","indent","TextMode","Mode","state","tab","m"],"sourceRoot":"","file":"b934b22e8f8a8b1ba81dbc2cf058b0cd.js"}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy