ber-security.graylog.graylog-plugin-correlation-count.6.0.0.source-code.c2fa476995041f9982b89a1c483da2b9.js Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of graylog-plugin-correlation-count Show documentation
Show all versions of graylog-plugin-correlation-count Show documentation
Graylog ${project.artifactId} plugin.
(()=>{var O=(p,f)=>()=>(f||p((f={exports:{}}).exports,f),f.exports);var P=O((w,b)=>{ace.define("ace/occur",["require","exports","module","ace/lib/oop","ace/search","ace/edit_session","ace/search_highlight","ace/lib/dom"],function(p,f,M){"use strict";var $=this&&this.__extends||function(){var l=function(s,u){return l=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(h,e){h.__proto__=e}||function(h,e){for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(h[n]=e[n])},l(s,u)};return function(s,u){if(typeof u!="function"&&u!==null)throw new TypeError("Class extends value "+String(u)+" is not a constructor or null");l(s,u);function h(){this.constructor=s}s.prototype=u===null?Object.create(u):(h.prototype=u.prototype,new h)}}(),y=p("./lib/oop"),k=p("./search").Search,v=p("./edit_session").EditSession,C=p("./search_highlight").SearchHighlight,c=function(l){$(s,l);function s(){return l!==null&&l.apply(this,arguments)||this}return s.prototype.enter=function(u,h){if(!h.needle)return!1;var e=u.getCursorPosition();this.displayOccurContent(u,h);var n=this.originalToOccurPosition(u.session,e);return u.moveCursorToPosition(n),!0},s.prototype.exit=function(u,h){var e=h.translatePosition&&u.getCursorPosition(),n=e&&this.occurToOriginalPosition(u.session,e);return this.displayOriginalContent(u),n&&u.moveCursorToPosition(n),!0},s.prototype.highlight=function(u,h){var e=u.$occurHighlight=u.$occurHighlight||u.addDynamicMarker(new C(null,"ace_occur-highlight","text"));e.setRegexp(h),u._emit("changeBackMarker")},s.prototype.displayOccurContent=function(u,h){this.$originalSession=u.session;var e=this.matchingLines(u.session,h),n=e.map(function(o){return o.content}),a=new v(n.join(`
`));a.$occur=this,a.$occurMatchingLines=e,u.setSession(a),this.$useEmacsStyleLineStart=this.$originalSession.$useEmacsStyleLineStart,a.$useEmacsStyleLineStart=this.$useEmacsStyleLineStart,this.highlight(a,h.re),a._emit("changeBackMarker")},s.prototype.displayOriginalContent=function(u){u.setSession(this.$originalSession),this.$originalSession.$useEmacsStyleLineStart=this.$useEmacsStyleLineStart},s.prototype.originalToOccurPosition=function(u,h){var e=u.$occurMatchingLines,n={row:0,column:0};if(!e)return n;for(var a=0;a30&&this.$data.shift()},append:function(e){var n=this.$data.length-1,a=this.$data[n]||"";e&&(a+=e),a&&(this.$data[n]=a)},get:function(e){return e=e||1,this.$data.slice(this.$data.length-e,this.$data.length).reverse().join(`
`)},pop:function(){return this.$data.length>1&&this.$data.pop(),this.get()},rotate:function(){return this.$data.unshift(this.$data.pop()),this.get()}}});(function(){ace.require(["ace/keyboard/emacs"],function(p){typeof b=="object"&&typeof w=="object"&&b&&(b.exports=p)})})()});P();})();
//# sourceMappingURL=c2fa476995041f9982b89a1c483da2b9.js.map