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.8b0e5da82a1aa923f454ee2e6568850b.js Maven / Gradle / Ivy

The newest version!
(()=>{var F=(n,g)=>()=>(g||n((g={exports:{}}).exports,g),g.exports);var L=F((M,R)=>{ace.define("ace/mode/sh_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,g,b){"use strict";var v=n("../lib/oop"),c=n("./text_highlight_rules").TextHighlightRules,p=g.reservedKeywords="!|{|}|case|do|done|elif|else|esac|fi|for|if|in|then|until|while|&|;|export|local|read|typeset|unset|elif|select|set|function|declare|readonly",u=g.languageConstructs="[|]|alias|bg|bind|break|builtin|cd|command|compgen|complete|continue|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|return|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|wait",e=function(){var i=this.createKeywordMapper({keyword:p,"support.function.builtin":u,"invalid.deprecated":"debugger"},"identifier"),r="(?:(?:[1-9]\\d*)|(?:0))",h="(?:\\.\\d+)",o="(?:\\d+)",l="(?:(?:"+o+"?"+h+")|(?:"+o+"\\.))",a="(?:(?:"+l+"|"+o+"))",t="(?:"+a+"|"+l+")",s="(?:&"+o+")",d="[a-zA-Z_][a-zA-Z0-9_]*",y="(?:"+d+"(?==))",_="(?:\\$(?:SHLVL|\\$|\\!|\\?))",$="(?:"+d+"\\s*\\(\\))";this.$rules={start:[{token:"constant",regex:/\\./},{token:["text","comment"],regex:/(^|\s)(#.*)$/},{token:"string.start",regex:'"',push:[{token:"constant.language.escape",regex:/\\(?:[$`"\\]|$)/},{include:"variables"},{token:"keyword.operator",regex:/`/},{token:"string.end",regex:'"',next:"pop"},{defaultToken:"string"}]},{token:"string",regex:"\\$'",push:[{token:"constant.language.escape",regex:/\\(?:[abeEfnrtv\\'"]|x[a-fA-F\d]{1,2}|u[a-fA-F\d]{4}([a-fA-F\d]{4})?|c.|\d{1,3})/},{token:"string",regex:"'",next:"pop"},{defaultToken:"string"}]},{regex:"<<<",token:"keyword.operator"},{stateName:"heredoc",regex:"(<<-?)(\\s*)(['\"`]?)([\\w\\-]+)(['\"`]?)",onMatch:function(k,m,f){var S=k[2]=="-"?"indentedHeredoc":"heredoc",x=k.split(this.splitRegex);return f.push(S,x[4]),[{type:"constant",value:x[1]},{type:"text",value:x[2]},{type:"string",value:x[3]},{type:"support.class",value:x[4]},{type:"string",value:x[5]}]},rules:{heredoc:[{onMatch:function(k,m,f){return k===f[1]?(f.shift(),f.shift(),this.next=f[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}],indentedHeredoc:[{token:"string",regex:"^	+"},{onMatch:function(k,m,f){return k===f[1]?(f.shift(),f.shift(),this.next=f[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(k,m){return m[0]==="heredoc"||m[0]==="indentedHeredoc"?m[0]:k}},{token:["keyword","text","text","text","variable"],regex:/(declare|local|readonly)(\s+)(?:(-[fixar]+)(\s+))?([a-zA-Z_][a-zA-Z0-9_]*\b)/},{token:"variable.language",regex:_},{token:"variable",regex:y},{include:"variables"},{token:"support.function",regex:$},{token:"support.function",regex:s},{token:"string",start:"'",end:"'"},{token:"constant.numeric",regex:t},{token:"constant.numeric",regex:r+"\\b"},{token:i,regex:"[a-zA-Z_][a-zA-Z0-9_]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|~|<|>|<=|=>|=|!=|[%&|`]"},{token:"punctuation.operator",regex:";"},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]]"},{token:"paren.rparen",regex:"[\\)\\}]",next:"pop"}],variables:[{token:"variable",regex:/(\$)(\w+)/},{token:["variable","paren.lparen"],regex:/(\$)(\()/,push:"start"},{token:["variable","paren.lparen","keyword.operator","variable","keyword.operator"],regex:/(\$)(\{)([#!]?)(\w+|[*@#?\-$!0_])(:[?+\-=]?|##?|%%?|,,?\/|\^\^?)?/,push:"start"},{token:"variable",regex:/\$[*@#?\-$!0_]/},{token:["variable","paren.lparen"],regex:/(\$)(\{)/,push:"start"}]},this.normalizeRules()};v.inherits(e,c),g.ShHighlightRules=e});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,g,b){"use strict";var v=n("../../lib/oop"),c=n("../../range").Range,p=n("./fold_mode").FoldMode,u=g.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};v.inherits(u,p),function(){this.foldingStartMarker=/([\{\[\(])[^\}\]\)]*$|^\s*(\/\*)/,this.foldingStopMarker=/^[^\[\{\(]*([\}\]\)])|^[\s\*]*(\*\/)/,this.singleLineBlockCommentRe=/^\s*(\/\*).*\*\/\s*$/,this.tripleStarBlockCommentRe=/^\s*(\/\*\*\*).*\*\/\s*$/,this.startRegionRe=/^\s*(\/\*|\/\/)#?region\b/,this._getFoldWidgetBase=this.getFoldWidget,this.getFoldWidget=function(e,i,r){var h=e.getLine(r);if(this.singleLineBlockCommentRe.test(h)&&!this.startRegionRe.test(h)&&!this.tripleStarBlockCommentRe.test(h))return"";var o=this._getFoldWidgetBase(e,i,r);return!o&&this.startRegionRe.test(h)?"start":o},this.getFoldWidgetRange=function(e,i,r,h){var o=e.getLine(r);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(e,o,r);var t=o.match(this.foldingStartMarker);if(t){var l=t.index;if(t[1])return this.openingBracketBlock(e,t[1],r,l);var a=e.getCommentFoldRange(r,l+t[0].length,1);return a&&!a.isMultiLine()&&(h?a=this.getSectionRange(e,r):i!="all"&&(a=null)),a}if(i!=="markbegin"){var t=o.match(this.foldingStopMarker);if(t){var l=t.index+t[0].length;return t[1]?this.closingBracketBlock(e,t[1],r,l):e.getCommentFoldRange(r,l,-1)}}},this.getSectionRange=function(e,i){var r=e.getLine(i),h=r.search(/\S/),o=i,l=r.length;i=i+1;for(var a=i,t=e.getLength();++is)break;var d=this.getFoldWidgetRange(e,"all",i);if(d){if(d.start.row<=o)break;if(d.isMultiLine())i=d.end.row;else if(h==s)break}a=i}}return new c(o,l,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,i,r){for(var h=i.search(/\s*$/),o=e.getLength(),l=r,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,t=1;++rl)return new c(l,h,d,i.length)}}.call(u.prototype)});ace.define("ace/mode/sh",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sh_highlight_rules","ace/range","ace/mode/folding/cstyle","ace/mode/behaviour/cstyle"],function(n,g,b){"use strict";var v=n("../lib/oop"),c=n("./text").Mode,p=n("./sh_highlight_rules").ShHighlightRules,u=n("../range").Range,e=n("./folding/cstyle").FoldMode,i=n("./behaviour/cstyle").CstyleBehaviour,r=function(){this.HighlightRules=p,this.foldingRules=new e,this.$behaviour=new i};v.inherits(r,c),function(){this.lineCommentStart="#",this.getNextLineIndent=function(o,l,a){var t=this.$getIndent(l),s=this.getTokenizer().getLineTokens(l,o),d=s.tokens;if(d.length&&d[d.length-1].type=="comment")return t;if(o=="start"){var y=l.match(/^.*[\{\(\[:]\s*$/);y&&(t+=a)}return t};var h={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(o,l,a){if(a!==`\r
`&&a!=="\r"&&a!==`
`)return!1;var t=this.getTokenizer().getLineTokens(l.trim(),o).tokens;if(!t)return!1;do var s=t.pop();while(s&&(s.type=="comment"||s.type=="text"&&s.value.match(/^\s+$/)));return s?s.type=="keyword"&&h[s.value]:!1},this.autoOutdent=function(o,l,a){a+=1;var t=this.$getIndent(l.getLine(a)),s=l.getTabString();t.slice(-s.length)==s&&l.remove(new u(a,t.length-s.length,a,t.length))},this.$id="ace/mode/sh",this.snippetFileId="ace/snippets/sh"}.call(r.prototype),g.Mode=r});ace.define("ace/mode/dockerfile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/sh_highlight_rules"],function(n,g,b){"use strict";var v=n("../lib/oop"),c=n("./sh_highlight_rules").ShHighlightRules,p=function(){c.call(this);for(var u=this.$rules.start,e=0;e




© 2015 - 2024 Weber Informatics LLC | Privacy Policy