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

ber-security.graylog.graylog-plugin-alert-wizard.5.2.1.source-code.99e41196ce05ad5fb70891b44ac227e8.js.map Maven / Gradle / Ivy

The newest version!
{"version":3,"sources":["webpack://AlertWizard/99e41196ce05ad5fb70891b44ac227e8.js"],"sourcesContent":["ace.define(\"ace/mode/jexl_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 JexlHighlightRules = function () {\n    var keywords = \"return|var|function|and|or|not|if|for|while|do|continue|break\";\n    var buildinConstants = \"null\";\n    var supportFunc = \"empty|size|new\";\n    var keywordMapper = this.createKeywordMapper({\n        \"keyword\": keywords,\n        \"constant.language\": buildinConstants,\n        \"support.function\": supportFunc\n    }, \"identifier\");\n    var escapedRe = \"\\\\\\\\(?:x[0-9a-fA-F]{2}|\" + // hex\n        \"u[0-9a-fA-F]{4}|\" + // unicode\n        \"u{[0-9a-fA-F]{1,6}}|\" + // es6 unicode\n        \"|.)\";\n    this.$rules = {\n        \"start\": [\n            {\n                token: \"comment\",\n                regex: \"\\\\/\\\\/.*$\"\n            }, {\n                token: \"comment\",\n                regex: \"##.*$\"\n            }, {\n                token: \"comment\",\n                regex: \"\\\\/\\\\*\",\n                next: \"comment\"\n            }, {\n                token: [\"comment\", \"text\"],\n                regex: \"(#pragma)(\\\\s.*$)\"\n            }, {\n                token: \"string\",\n                regex: '[\"](?:(?:\\\\\\\\.)|(?:[^\"\\\\\\\\]))*?[\"]'\n            }, {\n                token: \"string\",\n                regex: \"['](?:(?:\\\\\\\\.)|(?:[^'\\\\\\\\]))*?[']\"\n            }, {\n                token: \"string\",\n                regex: \"`\",\n                push: [\n                    {\n                        token: \"constant.language.escape\",\n                        regex: escapedRe\n                    }, {\n                        token: \"string\",\n                        regex: \"`\",\n                        next: \"pop\"\n                    }, {\n                        token: \"lparen\",\n                        regex: \"\\\\${\",\n                        push: [\n                            {\n                                token: \"rparen\",\n                                regex: \"}\",\n                                next: \"pop\"\n                            }, {\n                                include: \"start\"\n                            }\n                        ]\n                    }, {\n                        defaultToken: \"string\"\n                    }\n                ]\n            }, {\n                token: \"constant.numeric\",\n                regex: /0(?:[xX][0-9a-fA-F][0-9a-fA-F_]*|[bB][01][01_]*)[LlSsDdFfYy]?\\b/\n            }, {\n                token: \"constant.numeric\",\n                regex: /[+-]?\\d[\\d_]*(?:(?:\\.[\\d_]*)?(?:[eE][+-]?[\\d_]+)?)?[LlSsDdFfYy]?\\b/\n            }, {\n                token: \"constant.language.boolean\",\n                regex: \"(?:true|false)\\\\b\"\n            }, {\n                token: \"string.regexp\",\n                regex: \"~/\",\n                push: [\n                    {\n                        token: \"constant.language.escape\",\n                        regex: \"\\\\\\\\/\"\n                    }, {\n                        token: \"string.regexp\",\n                        regex: \"$|/\",\n                        next: \"pop\"\n                    }, {\n                        defaultToken: \"string.regexp\"\n                    }\n                ]\n            }, {\n                token: keywordMapper,\n                regex: \"[a-zA-Z_$][a-zA-Z0-9_$]*\\\\b\"\n            }, {\n                token: \"keyword.operator\",\n                regex: \"&&|\\\\|\\\\||!|&|\\\\||\\\\^|~|\\\\?|:|\\\\?\\\\?|==|!=|<|<=|>|>=|=~|!~|=\\\\^|=\\\\$|!\\\\$|\\\\+|\\\\-|\\\\*|%|\\\\/|=\"\n            }, {\n                token: \"lparen\",\n                regex: \"[[({]\"\n            }, {\n                token: \"rparen\",\n                regex: \"[\\\\])}]\"\n            }, {\n                token: \"text\",\n                regex: \"\\\\s+\"\n            }, {\n                token: \"punctuation\",\n                regex: \"[,.]\"\n            }, {\n                token: \"storage.type.annotation\",\n                regex: \"@[a-zA-Z_$][a-zA-Z0-9_$]*\\\\b\"\n            }\n        ],\n        \"comment\": [\n            {\n                token: \"comment\",\n                regex: \"\\\\*\\\\/\",\n                next: \"start\"\n            }, {\n                defaultToken: \"comment\"\n            }\n        ]\n    };\n    this.normalizeRules();\n};\noop.inherits(JexlHighlightRules, TextHighlightRules);\nexports.JexlHighlightRules = JexlHighlightRules;\n\n});\n\nace.define(\"ace/mode/folding/cstyle\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/range\",\"ace/mode/folding/fold_mode\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../../lib/oop\");\nvar Range = require(\"../../range\").Range;\nvar BaseFoldMode = require(\"./fold_mode\").FoldMode;\nvar FoldMode = exports.FoldMode = function (commentRegex) {\n    if (commentRegex) {\n        this.foldingStartMarker = new RegExp(this.foldingStartMarker.source.replace(/\\|[^|]*?$/, \"|\" + commentRegex.start));\n        this.foldingStopMarker = new RegExp(this.foldingStopMarker.source.replace(/\\|[^|]*?$/, \"|\" + commentRegex.end));\n    }\n};\noop.inherits(FoldMode, BaseFoldMode);\n(function () {\n    this.foldingStartMarker = /([\\{\\[\\(])[^\\}\\]\\)]*$|^\\s*(\\/\\*)/;\n    this.foldingStopMarker = /^[^\\[\\{\\(]*([\\}\\]\\)])|^[\\s\\*]*(\\*\\/)/;\n    this.singleLineBlockCommentRe = /^\\s*(\\/\\*).*\\*\\/\\s*$/;\n    this.tripleStarBlockCommentRe = /^\\s*(\\/\\*\\*\\*).*\\*\\/\\s*$/;\n    this.startRegionRe = /^\\s*(\\/\\*|\\/\\/)#?region\\b/;\n    this._getFoldWidgetBase = this.getFoldWidget;\n    this.getFoldWidget = function (session, foldStyle, row) {\n        var line = session.getLine(row);\n        if (this.singleLineBlockCommentRe.test(line)) {\n            if (!this.startRegionRe.test(line) && !this.tripleStarBlockCommentRe.test(line))\n                return \"\";\n        }\n        var fw = this._getFoldWidgetBase(session, foldStyle, row);\n        if (!fw && this.startRegionRe.test(line))\n            return \"start\"; // lineCommentRegionStart\n        return fw;\n    };\n    this.getFoldWidgetRange = function (session, foldStyle, row, forceMultiline) {\n        var line = session.getLine(row);\n        if (this.startRegionRe.test(line))\n            return this.getCommentRegionBlock(session, line, row);\n        var match = line.match(this.foldingStartMarker);\n        if (match) {\n            var i = match.index;\n            if (match[1])\n                return this.openingBracketBlock(session, match[1], row, i);\n            var range = session.getCommentFoldRange(row, i + match[0].length, 1);\n            if (range && !range.isMultiLine()) {\n                if (forceMultiline) {\n                    range = this.getSectionRange(session, row);\n                }\n                else if (foldStyle != \"all\")\n                    range = null;\n            }\n            return range;\n        }\n        if (foldStyle === \"markbegin\")\n            return;\n        var match = line.match(this.foldingStopMarker);\n        if (match) {\n            var i = match.index + match[0].length;\n            if (match[1])\n                return this.closingBracketBlock(session, match[1], row, i);\n            return session.getCommentFoldRange(row, i, -1);\n        }\n    };\n    this.getSectionRange = function (session, row) {\n        var line = session.getLine(row);\n        var startIndent = line.search(/\\S/);\n        var startRow = row;\n        var startColumn = line.length;\n        row = row + 1;\n        var endRow = row;\n        var maxRow = session.getLength();\n        while (++row < maxRow) {\n            line = session.getLine(row);\n            var indent = line.search(/\\S/);\n            if (indent === -1)\n                continue;\n            if (startIndent > indent)\n                break;\n            var subRange = this.getFoldWidgetRange(session, \"all\", row);\n            if (subRange) {\n                if (subRange.start.row <= startRow) {\n                    break;\n                }\n                else if (subRange.isMultiLine()) {\n                    row = subRange.end.row;\n                }\n                else if (startIndent == indent) {\n                    break;\n                }\n            }\n            endRow = row;\n        }\n        return new Range(startRow, startColumn, endRow, session.getLine(endRow).length);\n    };\n    this.getCommentRegionBlock = function (session, line, row) {\n        var startColumn = line.search(/\\s*$/);\n        var maxRow = session.getLength();\n        var startRow = row;\n        var re = /^\\s*(?:\\/\\*|\\/\\/|--)#?(end)?region\\b/;\n        var depth = 1;\n        while (++row < maxRow) {\n            line = session.getLine(row);\n            var m = re.exec(line);\n            if (!m)\n                continue;\n            if (m[1])\n                depth--;\n            else\n                depth++;\n            if (!depth)\n                break;\n        }\n        var endRow = row;\n        if (endRow > startRow) {\n            return new Range(startRow, startColumn, endRow, line.length);\n        }\n    };\n}).call(FoldMode.prototype);\n\n});\n\nace.define(\"ace/mode/jexl\",[\"require\",\"exports\",\"module\",\"ace/lib/oop\",\"ace/mode/jexl_highlight_rules\",\"ace/mode/text\",\"ace/mode/behaviour/cstyle\",\"ace/mode/folding/cstyle\"], function(require, exports, module){\"use strict\";\nvar oop = require(\"../lib/oop\");\nvar JexlHighlightRules = require(\"./jexl_highlight_rules\").JexlHighlightRules;\nvar TextMode = require(\"./text\").Mode;\nvar CstyleBehaviour = require(\"./behaviour/cstyle\").CstyleBehaviour;\nvar CStyleFoldMode = require(\"./folding/cstyle\").FoldMode;\nvar Mode = function () {\n    this.HighlightRules = JexlHighlightRules;\n    this.$behaviour = new CstyleBehaviour();\n    this.foldingRules = new CStyleFoldMode();\n};\noop.inherits(Mode, TextMode);\n(function () {\n    this.lineCommentStart = [\"//\", \"##\"];\n    this.blockComment = { start: \"/*\", end: \"*/\" };\n    this.$id = \"ace/mode/jexl\";\n}).call(Mode.prototype);\nexports.Mode = Mode;\n\n});                (function() {\n                    ace.require([\"ace/mode/jexl\"], 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,gCAAgC,CAAC,UAAU,UAAU,SAAS,cAAc,+BAA+B,EAAG,SAASC,EAASF,EAASC,EAAO,CAAC,aAC5J,IAAIE,EAAMD,EAAQ,YAAY,EAC1BE,EAAqBF,EAAQ,wBAAwB,EAAE,mBACvDG,EAAqB,UAAY,CACjC,IAAIC,EAAW,gEACXC,EAAmB,OACnBC,EAAc,iBACdC,EAAgB,KAAK,oBAAoB,CACzC,QAAWH,EACX,oBAAqBC,EACrB,mBAAoBC,CACxB,EAAG,YAAY,EACXE,EAAY,iEAIhB,KAAK,OAAS,CACV,MAAS,CACL,CACI,MAAO,UACP,MAAO,WACX,EAAG,CACC,MAAO,UACP,MAAO,OACX,EAAG,CACC,MAAO,UACP,MAAO,SACP,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EAAMW,GAAQ,CACnBV,EAAOH,EAAQ,QAAQE,CAAG,EAC1B,IAAIgB,EAAIF,EAAG,KAAKb,CAAI,EACpB,GAAKe,IAEDA,EAAE,CAAC,EACHD,IAEAA,IACA,CAACA,GACD,MAER,IAAIL,EAASV,EACb,GAAIU,EAASF,EACT,OAAO,IAAId,EAAMc,EAAUC,EAAaC,EAAQT,EAAK,MAAM,CAEnE,CACJ,EAAG,KAAKL,EAAS,SAAS,CAE1B,CAAC,EAED,IAAI,OAAO,gBAAgB,CAAC,UAAU,UAAU,SAAS,cAAc,gCAAgC,gBAAgB,4BAA4B,yBAAyB,EAAG,SAASX,EAASF,EAASC,EAAO,CAAC,aAClN,IAAIE,EAAMD,EAAQ,YAAY,EAC1BG,EAAqBH,EAAQ,wBAAwB,EAAE,mBACvDgC,EAAWhC,EAAQ,QAAQ,EAAE,KAC7BiC,EAAkBjC,EAAQ,oBAAoB,EAAE,gBAChDkC,EAAiBlC,EAAQ,kBAAkB,EAAE,SAC7CmC,EAAO,UAAY,CACnB,KAAK,eAAiBhC,EACtB,KAAK,WAAa,IAAI8B,EACtB,KAAK,aAAe,IAAIC,CAC5B,EACAjC,EAAI,SAASkC,EAAMH,CAAQ,EAC1B,UAAY,CACT,KAAK,iBAAmB,CAAC,KAAM,IAAI,EACnC,KAAK,aAAe,CAAE,MAAO,KAAM,IAAK,IAAK,EAC7C,KAAK,IAAM,eACf,EAAG,KAAKG,EAAK,SAAS,EACtBrC,EAAQ,KAAOqC,CAEf,CAAC,GAAmB,UAAW,CACX,IAAI,QAAQ,CAAC,eAAe,EAAG,SAASJ,EAAG,CACnC,OAAOhC,GAAU,UAAY,OAAOD,GAAW,UAAYC,IAC3DA,EAAO,QAAUgC,EAEzB,CAAC,CACL,GAAG","names":["require_e41196ce05ad5fb70891b44ac227e8","__commonJSMin","exports","module","require","oop","TextHighlightRules","JexlHighlightRules","keywords","buildinConstants","supportFunc","keywordMapper","escapedRe","Range","BaseFoldMode","FoldMode","commentRegex","session","foldStyle","row","line","fw","forceMultiline","match","i","range","startIndent","startRow","startColumn","endRow","maxRow","indent","subRange","re","depth","m","TextMode","CstyleBehaviour","CStyleFoldMode","Mode"],"sourceRoot":"","file":"99e41196ce05ad5fb70891b44ac227e8.js"}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy