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.945ea249c1f1d3595cc55a51046d9032.js Maven / Gradle / Ivy

The newest version!
(()=>{var R=(o,s)=>()=>(s||o((s={exports:{}}).exports,s),s.exports);var _=R((k,v)=>{ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(o,s,p){"use strict";var m=o("../lib/oop"),h=o("./text_highlight_rules").TextHighlightRules,l=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},l.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};m.inherits(l,h),l.getTagRule=function(g){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},l.getStartRule=function(g){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:g}},l.getEndRule=function(g){return{token:"comment.doc",regex:"\\*\\/",next:g}},s.DocCommentHighlightRules=l});ace.define("ace/mode/golang_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(o,s,p){var m=o("../lib/oop"),h=o("./doc_comment_highlight_rules").DocCommentHighlightRules,l=o("./text_highlight_rules").TextHighlightRules,g=function(){var e="else|break|case|return|goto|if|const|select|continue|struct|default|switch|for|range|func|import|package|chan|defer|fallthrough|go|interface|map|range|select|type|var",n="string|uint8|uint16|uint32|uint64|int8|int16|int32|int64|float32|float64|complex64|complex128|byte|rune|uint|int|uintptr|bool|error",t="new|close|cap|copy|panic|panicln|print|println|len|make|delete|real|recover|imag|append",r="nil|true|false|iota",i=this.createKeywordMapper({keyword:e,"constant.language":r,"support.function":t,"support.type":n},""),u=`\\\\(?:[0-7]{3}|x\\h{2}|u{4}|U\\h{6}|[abfnrtv'"\\\\])`.replace(/\\h/g,"[a-fA-F\\d]");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},h.getStartRule("doc-start"),{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"string",regex:/"(?:[^"\\]|\\.)*?"/},{token:"string",regex:"`",next:"bqstring"},{token:"constant.numeric",regex:"'(?:[^\\'\uD800-\uDBFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|"+u.replace('"',"")+")'"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:["keyword","text","entity.name.function"],regex:"(func)(\\s+)([a-zA-Z_$][a-zA-Z0-9_$]*)\\b"},{token:function(a){return a[a.length-1]=="("?[{type:i(a.slice(0,-1))||"support.function",value:a.slice(0,-1)},{type:"paren.lparen",value:a.slice(-1)}]:i(a)||"identifier"},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:"text",regex:"\\s+"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],bqstring:[{token:"string",regex:"`",next:"start"},{defaultToken:"string"}]},this.embedRules(h,"doc-",[h.getEndRule("start")])};m.inherits(g,l),s.GolangHighlightRules=g});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(o,s,p){"use strict";var m=o("../range").Range,h=function(){};(function(){this.checkOutdent=function(l,g){return/^\s+$/.test(l)?/^\s*\}/.test(g):!1},this.autoOutdent=function(l,g){var e=l.getLine(g),n=e.match(/^(\s*\})/);if(!n)return 0;var t=n[1].length,r=l.findMatchingBracket({row:g,column:t});if(!r||r.row==g)return 0;var i=this.$getIndent(l.getLine(r.row));l.replace(new m(g,0,g,t-1),i)},this.$getIndent=function(l){return l.match(/^\s*/)[0]}}).call(h.prototype),s.MatchingBraceOutdent=h});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(o,s,p){"use strict";var m=o("../../lib/oop"),h=o("../../range").Range,l=o("./fold_mode").FoldMode,g=s.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};m.inherits(g,l),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,n,t){var r=e.getLine(t);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,n,t);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,n,t,r){var i=e.getLine(t);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,t);var c=i.match(this.foldingStartMarker);if(c){var u=c.index;if(c[1])return this.openingBracketBlock(e,c[1],t,u);var a=e.getCommentFoldRange(t,u+c[0].length,1);return a&&!a.isMultiLine()&&(r?a=this.getSectionRange(e,t):n!="all"&&(a=null)),a}if(n!=="markbegin"){var c=i.match(this.foldingStopMarker);if(c){var u=c.index+c[0].length;return c[1]?this.closingBracketBlock(e,c[1],t,u):e.getCommentFoldRange(t,u,-1)}}},this.getSectionRange=function(e,n){var t=e.getLine(n),r=t.search(/\S/),i=n,u=t.length;n=n+1;for(var a=n,c=e.getLength();++nd)break;var f=this.getFoldWidgetRange(e,"all",n);if(f){if(f.start.row<=i)break;if(f.isMultiLine())n=f.end.row;else if(r==d)break}a=n}}return new h(i,u,a,e.getLine(a).length)},this.getCommentRegionBlock=function(e,n,t){for(var r=n.search(/\s*$/),i=e.getLength(),u=t,a=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,c=1;++tu)return new h(u,r,f,n.length)}}.call(g.prototype)});ace.define("ace/mode/golang",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/golang_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(o,s,p){var m=o("../lib/oop"),h=o("./text").Mode,l=o("./golang_highlight_rules").GolangHighlightRules,g=o("./matching_brace_outdent").MatchingBraceOutdent,e=o("./behaviour/cstyle").CstyleBehaviour,n=o("./folding/cstyle").FoldMode,t=function(){this.HighlightRules=l,this.$outdent=new g,this.foldingRules=new n,this.$behaviour=new e};m.inherits(t,h),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(r,i,u){var a=this.$getIndent(i),c=this.getTokenizer().getLineTokens(i,r),d=c.tokens,f=c.state;if(d.length&&d[d.length-1].type=="comment")return a;if(r=="start"){var x=i.match(/^.*[\{\(\[]\s*$/);x&&(a+=u)}return a},this.checkOutdent=function(r,i,u){return this.$outdent.checkOutdent(i,u)},this.autoOutdent=function(r,i,u){this.$outdent.autoOutdent(i,u)},this.$id="ace/mode/golang"}.call(t.prototype),s.Mode=t});(function(){ace.require(["ace/mode/golang"],function(o){typeof v=="object"&&typeof k=="object"&&v&&(v.exports=o)})})()});_();})();

//# sourceMappingURL=945ea249c1f1d3595cc55a51046d9032.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy