All Downloads are FREE. Search and download functionalities are using the official Maven repository.

ber-security.graylog.graylog-plugin-correlation-count.6.0.0.source-code.2b5729e073775b8fb827fc8e4725e48a.js.map Maven / Gradle / Ivy

There is a newer version: 5.1.3
Show newest version
{"version":3,"sources":["webpack://CorrelationCount/2b5729e073775b8fb827fc8e4725e48a.js"],"sourcesContent":["ace.define(\"ace/mode/folding/coffee\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/folding/fold_mode\",\"ace/range\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar Range = require(\"../../range\").Range;\nvar FoldMode = exports.FoldMode = function () { };\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n    this.commentBlock = function (session, row) {\n        var re = /\\S/;\n        var line = session.getLine(row);\n        var startLevel = line.search(re);\n        if (startLevel == -1 || line[startLevel] != \"#\")\n            return;\n        var startColumn = line.length;\n        var maxRow = session.getLength();\n        var startRow = row;\n        var endRow = row;\n        while (++row < maxRow) {\n            line = session.getLine(row);\n            var level = line.search(re);\n            if (level == -1)\n                continue;\n            if (line[level] != \"#\")\n                break;\n            endRow = row;\n        }\n        if (endRow > startRow) {\n            var endColumn = session.getLine(endRow).length;\n            return new Range(startRow, startColumn, endRow, endColumn);\n        }\n    };\n    this.getFoldWidgetRange = function (session, foldStyle, row) {\n        var range = this.indentationBlock(session, row);\n        if (range)\n            return range;\n        range = this.commentBlock(session, row);\n        if (range)\n            return range;\n    };\n    this.getFoldWidget = function (session, foldStyle, row) {\n        var line = session.getLine(row);\n        var indent = line.search(/\\S/);\n        var next = session.getLine(row + 1);\n        var prev = session.getLine(row - 1);\n        var prevIndent = prev.search(/\\S/);\n        var nextIndent = next.search(/\\S/);\n        if (indent == -1) {\n            session.foldWidgets[row - 1] = prevIndent != -1 && prevIndent < nextIndent ? \"start\" : \"\";\n            return \"\";\n        }\n        if (prevIndent == -1) {\n            if (indent == nextIndent && line[indent] == \"#\" && next[indent] == \"#\") {\n                session.foldWidgets[row - 1] = \"\";\n                session.foldWidgets[row + 1] = \"\";\n                return \"start\";\n            }\n        }\n        else if (prevIndent == indent && line[indent] == \"#\" && prev[indent] == \"#\") {\n            if (session.getLine(row - 2).search(/\\S/) == -1) {\n                session.foldWidgets[row - 1] = \"start\";\n                session.foldWidgets[row + 1] = \"\";\n                return \"\";\n            }\n        }\n        if (prevIndent != -1 && prevIndent < indent)\n            session.foldWidgets[row - 1] = \"start\";\n        else\n            session.foldWidgets[row - 1] = \"\";\n        if (indent < nextIndent)\n            return \"start\";\n        else\n            return \"\";\n    };\n}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/snippets\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/text\",\"ace/mode/text_highlight_rules\",\"ace/mode/folding/coffee\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar TextMode = require(\"./text\").Mode;\nvar TextHighlightRules = require(\"./text_highlight_rules\").TextHighlightRules;\nvar SnippetHighlightRules = function () {\n    var builtins = \"SELECTION|CURRENT_WORD|SELECTED_TEXT|CURRENT_LINE|LINE_INDEX|\" +\n        \"LINE_NUMBER|SOFT_TABS|TAB_SIZE|FILENAME|FILEPATH|FULLNAME\";\n    this.$rules = {\n        \"start\": [\n            { token: \"constant.language.escape\", regex: /\\\\[\\$}`\\\\]/ },\n            { token: \"keyword\", regex: \"\\\\$(?:TM_)?(?:\" + builtins + \")\\\\b\" },\n            { token: \"variable\", regex: \"\\\\$\\\\w+\" },\n            { onMatch: function (value, state, stack) {\n                    if (stack[1])\n                        stack[1]++;\n                    else\n                        stack.unshift(state, 1);\n                    return this.tokenName;\n                }, tokenName: \"markup.list\", regex: \"\\\\${\", next: \"varDecl\" },\n            { onMatch: function (value, state, stack) {\n                    if (!stack[1])\n                        return \"text\";\n                    stack[1]--;\n                    if (!stack[1])\n                        stack.splice(0, 2);\n                    return this.tokenName;\n                }, tokenName: \"markup.list\", regex: \"}\" },\n            { token: \"doc.comment\", regex: /^\\${2}-{5,}$/ }\n        ],\n        \"varDecl\": [\n            { regex: /\\d+\\b/, token: \"constant.numeric\" },\n            { token: \"keyword\", regex: \"(?:TM_)?(?:\" + builtins + \")\\\\b\" },\n            { token: \"variable\", regex: \"\\\\w+\" },\n            { regex: /:/, token: \"punctuation.operator\", next: \"start\" },\n            { regex: /\\//, token: \"string.regex\", next: \"regexp\" },\n            { regex: \"\", next: \"start\" }\n        ],\n        \"regexp\": [\n            { regex: /\\\\./, token: \"escape\" },\n            { regex: /\\[/, token: \"regex.start\", next: \"charClass\" },\n            { regex: \"/\", token: \"string.regex\", next: \"format\" },\n            { \"token\": \"string.regex\", regex: \".\" }\n        ],\n        charClass: [\n            { regex: \"\\\\.\", token: \"escape\" },\n            { regex: \"\\\\]\", token: \"regex.end\", next: \"regexp\" },\n            { \"token\": \"string.regex\", regex: \".\" }\n        ],\n        \"format\": [\n            { regex: /\\\\[ulULE]/, token: \"keyword\" },\n            { regex: /\\$\\d+/, token: \"variable\" },\n            { regex: \"/[gim]*:?\", token: \"string.regex\", next: \"start\" },\n            { \"token\": \"string\", regex: \".\" }\n        ]\n    };\n};\noop.inherits(SnippetHighlightRules, TextHighlightRules);\nexports.SnippetHighlightRules = SnippetHighlightRules;\nvar SnippetGroupHighlightRules = function () {\n    this.$rules = {\n        \"start\": [\n            { token: \"text\", regex: \"^\\\\t\", next: \"sn-start\" },\n            { token: \"invalid\", regex: /^ \\s*/ },\n            { token: \"comment\", regex: /^#.*/ },\n            { token: \"constant.language.escape\", regex: \"^regex \", next: \"regex\" },\n            { token: \"constant.language.escape\", regex: \"^(trigger|endTrigger|name|snippet|guard|endGuard|tabTrigger|key)\\\\b\" }\n        ],\n        \"regex\": [\n            { token: \"text\", regex: \"\\\\.\" },\n            { token: \"keyword\", regex: \"/\" },\n            { token: \"empty\", regex: \"$\", next: \"start\" }\n        ]\n    };\n    this.embedRules(SnippetHighlightRules, \"sn-\", [\n        { token: \"text\", regex: \"^\\\\t\", next: \"sn-start\" },\n        { onMatch: function (value, state, stack) {\n                stack.splice(stack.length);\n                return this.tokenName;\n            }, tokenName: \"text\", regex: \"^(?!\\t)\", next: \"start\" }\n    ]);\n};\noop.inherits(SnippetGroupHighlightRules, TextHighlightRules);\nexports.SnippetGroupHighlightRules = SnippetGroupHighlightRules;\nvar FoldMode = require(\"./folding/coffee\").FoldMode;\nvar Mode = function () {\n    this.HighlightRules = SnippetGroupHighlightRules;\n    this.foldingRules = new FoldMode();\n    this.$behaviour = this.$defaultBehaviour;\n};\noop.inherits(Mode, TextMode);\n(function () {\n    this.$indentWithTabs = true;\n    this.lineCommentStart = \"#\";\n    this.$id = \"ace/mode/snippets\";\n    this.snippetFileId = \"ace/snippets/snippets\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n});                (function() {\n                    ace.require([\"ace/mode/snippets\"], 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,0BAA0B,CAAC,UAAU,UAAU,SAAS,cAAc,6BAA6B,WAAW,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,aAC/J,IAAIE,EAAMD,EAAQ,eAAe,EAC7BE,EAAeF,EAAQ,aAAa,EAAE,SACtCG,EAAQH,EAAQ,aAAa,EAAE,MAC/BI,EAAWN,EAAQ,SAAW,UAAY,CAAE,EAChDG,EAAI,SAASG,EAAUF,CAAY,EAClC,UAAY,CACT,KAAK,aAAe,SAAUG,EAASC,EAAK,CACxC,IAAIC,EAAK,KACLC,EAAOH,EAAQ,QAAQC,CAAG,EAC1BG,EAAaD,EAAK,OAAOD,CAAE,EAC/B,GAAI,EAAAE,GAAc,IAAMD,EAAKC,CAAU,GAAK,KAM5C,SAJIC,EAAcF,EAAK,OACnBG,EAASN,EAAQ,UAAU,EAC3BO,EAAWN,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QAAS,SAAUE,EAAOC,EAAOC,EAAO,CAClC,OAAAA,EAAM,OAAOA,EAAM,MAAM,EAClB,KAAK,SAChB,EAAG,UAAW,OAAQ,MAAO,SAAW,KAAM,OAAQ,CAC9D,CAAC,CACL,EACA5B,EAAI,SAAS6B,EAA4BN,CAAkB,EAC3D1B,EAAQ,2BAA6BgC,EACrC,IAAI1B,EAAWJ,EAAQ,kBAAkB,EAAE,SACvC+B,EAAO,UAAY,CACnB,KAAK,eAAiBD,EACtB,KAAK,aAAe,IAAI1B,EACxB,KAAK,WAAa,KAAK,iBAC3B,EACAH,EAAI,SAAS8B,EAAMR,CAAQ,EAC1B,UAAY,CACT,KAAK,gBAAkB,GACvB,KAAK,iBAAmB,IACxB,KAAK,IAAM,oBACX,KAAK,cAAgB,uBACzB,EAAG,KAAKQ,EAAK,SAAS,EACtBjC,EAAQ,KAAOiC,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,mBAAmB,EAAG,SAASC,EAAG,CACvC,OAAOjC,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAUiC,EAEzB,CAAC,CACL,GAAG","names":["require_b5729e073775b8fb827fc8e4725e48a","__commonJSMin","exports","module","require","oop","BaseFoldMode","Range","FoldMode","session","row","re","line","startLevel","startColumn","maxRow","startRow","endRow","level","endColumn","foldStyle","range","indent","next","prev","prevIndent","nextIndent","TextMode","TextHighlightRules","SnippetHighlightRules","builtins","value","state","stack","SnippetGroupHighlightRules","Mode","m"],"sourceRoot":"","file":"2b5729e073775b8fb827fc8e4725e48a.js"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy