ber-security.graylog.graylog-plugin-alert-wizard.5.2.1.source-code.e13fc7d468ab9b5797f2a44412ca2f00.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog-plugin-alert-wizard Show documentation
Show all versions of graylog-plugin-alert-wizard Show documentation
Graylog ${project.artifactId} plugin.
The newest version!
(()=>{var C=(g,x)=>()=>(x||g((x={exports:{}}).exports,x),x.exports);var R=C((y,T)=>{ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(g,x,_){"use strict";var v=g("../lib/oop"),p=g("./text_highlight_rules").TextHighlightRules,d=function(b){var r="[_:a-zA-Z\xC0-\uFFFF][-_:.a-zA-Z0-9\xC0-\uFFFF]*";this.$rules={start:[{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\[",next:"cdata"},{token:["punctuation.instruction.xml","keyword.instruction.xml"],regex:"(<\\?)("+r+")",next:"processing_instruction"},{token:"comment.start.xml",regex:"<\\!--",next:"comment"},{token:["xml-pe.doctype.xml","xml-pe.doctype.xml"],regex:"(<\\!)(DOCTYPE)(?=[\\s])",next:"doctype",caseInsensitive:!0},{include:"tag"},{token:"text.end-tag-open.xml",regex:""},{token:"text.tag-open.xml",regex:"<"},{include:"reference"},{defaultToken:"text.xml"}],processing_instruction:[{token:"entity.other.attribute-name.decl-attribute-name.xml",regex:r},{token:"keyword.operator.decl-attribute-equals.xml",regex:"="},{include:"whitespace"},{include:"string"},{token:"punctuation.xml-decl.xml",regex:"\\?>",next:"start"}],doctype:[{include:"whitespace"},{include:"string"},{token:"xml-pe.doctype.xml",regex:">",next:"start"},{token:"xml-pe.xml",regex:"[-_a-zA-Z0-9:]+"},{token:"punctuation.int-subset",regex:"\\[",push:"int_subset"}],int_subset:[{token:"text.xml",regex:"\\s+"},{token:"punctuation.int-subset.xml",regex:"]",next:"pop"},{token:["punctuation.markup-decl.xml","keyword.markup-decl.xml"],regex:"(<\\!)("+r+")",push:[{token:"text",regex:"\\s+"},{token:"punctuation.markup-decl.xml",regex:">",next:"pop"},{include:"string"}]}],cdata:[{token:"string.cdata.xml",regex:"\\]\\]>",next:"start"},{token:"text.xml",regex:"\\s+"},{token:"text.xml",regex:"(?:[^\\]]|\\](?!\\]>))+"}],comment:[{token:"comment.end.xml",regex:"-->",next:"start"},{defaultToken:"comment.xml"}],reference:[{token:"constant.language.escape.reference.xml",regex:"(?:[0-9]+;)|(?:[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],attr_reference:[{token:"constant.language.escape.reference.attribute-value.xml",regex:"(?:[0-9]+;)|(?:[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}],tag:[{token:["meta.tag.punctuation.tag-open.xml","meta.tag.punctuation.end-tag-open.xml","meta.tag.tag-name.xml"],regex:"(?:(<)|())((?:"+r+":)?"+r+")",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start"}]}],tag_whitespace:[{token:"text.tag-whitespace.xml",regex:"\\s+"}],whitespace:[{token:"text.whitespace.xml",regex:"\\s+"}],string:[{token:"string.xml",regex:"'",push:[{token:"string.xml",regex:"'",next:"pop"},{defaultToken:"string.xml"}]},{token:"string.xml",regex:'"',push:[{token:"string.xml",regex:'"',next:"pop"},{defaultToken:"string.xml"}]}],attributes:[{token:"entity.other.attribute-name.xml",regex:r},{token:"keyword.operator.attribute-equals.xml",regex:"="},{include:"tag_whitespace"},{include:"attribute_value"}],attribute_value:[{token:"string.attribute-value.xml",regex:"'",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"attr_reference"},{defaultToken:"string.attribute-value.xml"}]}]},this.constructor===d&&this.normalizeRules()};(function(){this.embedTagRules=function(b,r,c){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+c+".tag-name.xml"],regex:"(<)("+c+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:r+"start"}]}),this.$rules[c+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(i,o,a){return a.splice(0),this.token}}],this.embedRules(b,r,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+c+".tag-name.xml"],regex:"()("+c+"(?=\\s|>|$))",next:c+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(p.prototype),v.inherits(d,p),x.XmlHighlightRules=d});ace.define("ace/mode/behaviour/xml",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/token_iterator","ace/lib/lang"],function(g,x,_){"use strict";var v=g("../../lib/oop"),p=g("../behaviour").Behaviour,d=g("../../token_iterator").TokenIterator,b=g("../../lib/lang");function r(i,o){return i&&i.type.lastIndexOf(o+".xml")>-1}var c=function(){this.add("string_dquotes","insertion",function(i,o,a,e,l){if(l=='"'||l=="'"){var t=l,u=e.doc.getTextRange(a.getSelectionRange());if(u!==""&&u!=="'"&&u!='"'&&a.getWrapBehavioursEnabled())return{text:t+u+t,selection:!1};var n=a.getCursorPosition(),s=e.doc.getLine(n.row),f=s.substring(n.column,n.column+1),w=new d(e,n.row,n.column),m=w.getCurrentToken();if(f==t&&(r(m,"attribute-value")||r(m,"string")))return{text:"",selection:[1,1]};if(m||(m=w.stepBackward()),!m)return;for(;r(m,"tag-whitespace")||r(m,"whitespace");)m=w.stepBackward();var h=!f||f.match(/\s/);if(r(m,"attribute-equals")&&(h||f==">")||r(m,"decl-attribute-equals")&&(h||f=="?"))return{text:t+t,selection:[1,1]}}}),this.add("string_dquotes","deletion",function(i,o,a,e,l){var t=e.doc.getTextRange(l);if(!l.isMultiLine()&&(t=='"'||t=="'")){var u=e.doc.getLine(l.start.row),n=u.substring(l.start.column+1,l.start.column+2);if(n==t)return l.end.column++,l}}),this.add("autoclosing","insertion",function(i,o,a,e,l){if(l==">"){var t=a.getSelectionRange().start,u=new d(e,t.row,t.column),n=u.getCurrentToken()||u.stepBackward();if(!n||!(r(n,"tag-name")||r(n,"tag-whitespace")||r(n,"attribute-name")||r(n,"attribute-equals")||r(n,"attribute-value"))||r(n,"reference.attribute-value"))return;if(r(n,"attribute-value")){var s=u.getCurrentTokenColumn()+n.value.length;if(t.column/.test(e.getLine(t.row).slice(t.column)))return;for(;!r(n,"tag-name");)if(n=u.stepBackward(),n.value=="<"){n=u.stepForward();break}var w=u.getCurrentTokenRow(),m=u.getCurrentTokenColumn();if(r(u.stepBackward(),"end-tag-open"))return;var h=n.value;return w==t.row&&(h=h.substring(0,t.column-m)),this.voidElements.hasOwnProperty(h.toLowerCase())?void 0:{text:">"+h+">",selection:[1,1]}}}),this.add("autoindent","insertion",function(i,o,a,e,l){if(l==`
`){var t=a.getCursorPosition(),u=e.getLine(t.row),n=new d(e,t.row,t.column),s=n.getCurrentToken();if(s&&s.type.indexOf("tag-close")!==-1){if(s.value=="/>")return;for(;s&&s.type.indexOf("tag-name")===-1;)s=n.stepBackward();if(!s)return;var f=s.value,w=n.getCurrentTokenRow();if(s=n.stepBackward(),!s||s.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[f]){var m=e.getTokenAt(t.row,t.column+1),u=e.getLine(w),h=this.$getIndent(u),k=h+e.getTabString();return m&&m.value===""?{text:`
`+k+`
`+h,selection:[1,k.length,1,k.length]}:{text:`
`+k}}}}})};v.inherits(c,p),x.XmlBehaviour=c});ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(g,x,_){"use strict";var v=g("../../lib/oop"),p=g("../../range").Range,d=g("./fold_mode").FoldMode,b=x.FoldMode=function(i,o){d.call(this),this.voidElements=i||{},this.optionalEndTags=v.mixin({},this.voidElements),o&&v.mixin(this.optionalEndTags,o)};v.inherits(b,d);var r=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function c(i,o){return i.type.lastIndexOf(o+".xml")>-1}(function(){this.getFoldWidget=function(i,o,a){var e=this._getFirstTagInLine(i,a);return e?e.closing||!e.tagName&&e.selfClosing?o==="markbeginend"?"end":"":!e.tagName||e.selfClosing||this.voidElements.hasOwnProperty(e.tagName.toLowerCase())||this._findEndTagInLine(i,a,e.tagName,e.end.column)?"":"start":this.getCommentFoldWidget(i,a)},this.getCommentFoldWidget=function(i,o){return/comment/.test(i.getState(o))&&/";break}return e}else if(c(t,"tag-close"))return e.selfClosing=t.value=="/>",e;e.start.column+=t.value.length}return null},this._findEndTagInLine=function(i,o,a,e){for(var l=i.getTokens(o),t=0,u=0;u"},this.createWorker=function(a){var e=new i(["ace"],"ace/mode/xml_worker","Worker");return e.attachToDocument(a.getDocument()),e.on("error",function(l){a.setAnnotations(l.data)}),e.on("terminate",function(){a.clearAnnotations()}),e},this.$id="ace/mode/xml"}.call(o.prototype),x.Mode=o});(function(){ace.require(["ace/mode/xml"],function(g){typeof T=="object"&&typeof y=="object"&&T&&(T.exports=g)})})()});R();})();
//# sourceMappingURL=e13fc7d468ab9b5797f2a44412ca2f00.js.map