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.4b75999ea99d719689337def2fab50a3.js Maven / Gradle / Ivy

The newest version!
(()=>{var F=(l,d)=>()=>(d||l((d={exports:{}}).exports,d),d.exports);var L=F(($,b)=>{ace.define("ace/mode/sh_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(l,d,R){"use strict";var x=l("../lib/oop"),p=l("./text_highlight_rules").TextHighlightRules,m=d.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",f=d.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",t=function(){var n=this.createKeywordMapper({keyword:m,"support.function.builtin":f,"invalid.deprecated":"debugger"},"identifier"),r="(?:(?:[1-9]\\d*)|(?:0))",g="(?:\\.\\d+)",a="(?:\\d+)",o="(?:(?:"+a+"?"+g+")|(?:"+a+"\\.))",i="(?:(?:"+o+"|"+a+"))",e="(?:"+i+"|"+o+")",s="(?:&"+a+")",h="[a-zA-Z_][a-zA-Z0-9_]*",y="(?:"+h+"(?==))",M="(?:\\$(?:SHLVL|\\$|\\!|\\?))",S="(?:"+h+"\\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(c,v,u){var _=c[2]=="-"?"indentedHeredoc":"heredoc",k=c.split(this.splitRegex);return u.push(_,k[4]),[{type:"constant",value:k[1]},{type:"text",value:k[2]},{type:"string",value:k[3]},{type:"support.class",value:k[4]},{type:"string",value:k[5]}]},rules:{heredoc:[{onMatch:function(c,v,u){return c===u[1]?(u.shift(),u.shift(),this.next=u[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}],indentedHeredoc:[{token:"string",regex:"^	+"},{onMatch:function(c,v,u){return c===u[1]?(u.shift(),u.shift(),this.next=u[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(c,v){return v[0]==="heredoc"||v[0]==="indentedHeredoc"?v[0]:c}},{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:M},{token:"variable",regex:y},{include:"variables"},{token:"support.function",regex:S},{token:"support.function",regex:s},{token:"string",start:"'",end:"'"},{token:"constant.numeric",regex:e},{token:"constant.numeric",regex:r+"\\b"},{token:n,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()};x.inherits(t,p),d.ShHighlightRules=t});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(l,d,R){"use strict";var x=l("../../lib/oop"),p=l("../../range").Range,m=l("./fold_mode").FoldMode,f=d.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};x.inherits(f,m),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(t,n,r){var g=t.getLine(r);if(this.singleLineBlockCommentRe.test(g)&&!this.startRegionRe.test(g)&&!this.tripleStarBlockCommentRe.test(g))return"";var a=this._getFoldWidgetBase(t,n,r);return!a&&this.startRegionRe.test(g)?"start":a},this.getFoldWidgetRange=function(t,n,r,g){var a=t.getLine(r);if(this.startRegionRe.test(a))return this.getCommentRegionBlock(t,a,r);var e=a.match(this.foldingStartMarker);if(e){var o=e.index;if(e[1])return this.openingBracketBlock(t,e[1],r,o);var i=t.getCommentFoldRange(r,o+e[0].length,1);return i&&!i.isMultiLine()&&(g?i=this.getSectionRange(t,r):n!="all"&&(i=null)),i}if(n!=="markbegin"){var e=a.match(this.foldingStopMarker);if(e){var o=e.index+e[0].length;return e[1]?this.closingBracketBlock(t,e[1],r,o):t.getCommentFoldRange(r,o,-1)}}},this.getSectionRange=function(t,n){var r=t.getLine(n),g=r.search(/\S/),a=n,o=r.length;n=n+1;for(var i=n,e=t.getLength();++ns)break;var h=this.getFoldWidgetRange(t,"all",n);if(h){if(h.start.row<=a)break;if(h.isMultiLine())n=h.end.row;else if(g==s)break}i=n}}return new p(a,o,i,t.getLine(i).length)},this.getCommentRegionBlock=function(t,n,r){for(var g=n.search(/\s*$/),a=t.getLength(),o=r,i=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,e=1;++ro)return new p(o,g,h,n.length)}}.call(f.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(l,d,R){"use strict";var x=l("../lib/oop"),p=l("./text").Mode,m=l("./sh_highlight_rules").ShHighlightRules,f=l("../range").Range,t=l("./folding/cstyle").FoldMode,n=l("./behaviour/cstyle").CstyleBehaviour,r=function(){this.HighlightRules=m,this.foldingRules=new t,this.$behaviour=new n};x.inherits(r,p),function(){this.lineCommentStart="#",this.getNextLineIndent=function(a,o,i){var e=this.$getIndent(o),s=this.getTokenizer().getLineTokens(o,a),h=s.tokens;if(h.length&&h[h.length-1].type=="comment")return e;if(a=="start"){var y=o.match(/^.*[\{\(\[:]\s*$/);y&&(e+=i)}return e};var g={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(a,o,i){if(i!==`\r
`&&i!=="\r"&&i!==`
`)return!1;var e=this.getTokenizer().getLineTokens(o.trim(),a).tokens;if(!e)return!1;do var s=e.pop();while(s&&(s.type=="comment"||s.type=="text"&&s.value.match(/^\s+$/)));return s?s.type=="keyword"&&g[s.value]:!1},this.autoOutdent=function(a,o,i){i+=1;var e=this.$getIndent(o.getLine(i)),s=o.getTabString();e.slice(-s.length)==s&&o.remove(new f(i,e.length-s.length,i,e.length))},this.$id="ace/mode/sh",this.snippetFileId="ace/snippets/sh"}.call(r.prototype),d.Mode=r});(function(){ace.require(["ace/mode/sh"],function(l){typeof b=="object"&&typeof $=="object"&&b&&(b.exports=l)})})()});L();})();

//# sourceMappingURL=4b75999ea99d719689337def2fab50a3.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy