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

The newest version!
(()=>{var _=(i,u)=>()=>(u||i((u={exports:{}}).exports,u),u.exports);var N=_((O,R)=>{ace.define("ace/mode/vbscript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,u,B){"use strict";var k=i("../lib/oop"),m=i("./text_highlight_rules").TextHighlightRules,p=function(){var C=this.createKeywordMapper({"keyword.control.asp":"If|Then|Else|ElseIf|End|While|Wend|For|To|Each|Case|Select|Return|Continue|Do|Until|Loop|Next|With|Exit|Function|Property|Type|Enum|Sub|IIf|Class","storage.type.asp":"Dim|Call|Const|Redim|Set|Let|Get|New|Randomize|Option|Explicit|Preserve|Erase|Execute|ExecuteGlobal","storage.modifier.asp":"Private|Public|Default","keyword.operator.asp":"Mod|And|Not|Or|Xor|As|Eqv|Imp|Is","constant.language.asp":"Empty|False|Nothing|Null|True","variable.language.vb.asp":"Me","support.class.vb.asp":"RegExp","support.class.asp":"Application|ObjectContext|Request|Response|Server|Session","support.class.collection.asp":"Contents|StaticObjects|ClientCertificate|Cookies|Form|QueryString|ServerVariables","support.constant.asp":"TotalBytes|Buffer|CacheControl|Charset|ContentType|Expires|ExpiresAbsolute|IsClientConnected|PICS|Status|ScriptTimeout|CodePage|LCID|SessionID|Timeout","support.function.asp":"Lock|Unlock|SetAbort|SetComplete|BinaryRead|AddHeader|AppendToLog|BinaryWrite|Clear|Flush|Redirect|Write|CreateObject|HTMLEncode|MapPath|URLEncode|Abandon|Convert|Regex","support.function.event.asp":"Application_OnEnd|Application_OnStart|OnTransactionAbort|OnTransactionCommit|Session_OnEnd|Session_OnStart","support.function.vb.asp":"Array|Add|Asc|Atn|CBool|CByte|CCur|CDate|CDbl|Chr|CInt|CLng|Conversions|Cos|CreateObject|CSng|CStr|Date|DateAdd|DateDiff|DatePart|DateSerial|DateValue|Day|Derived|Math|Escape|Eval|Exists|Exp|Filter|FormatCurrency|FormatDateTime|FormatNumber|FormatPercent|GetLocale|GetObject|GetRef|Hex|Hour|InputBox|InStr|InStrRev|Int|Fix|IsArray|IsDate|IsEmpty|IsNull|IsNumeric|IsObject|Item|Items|Join|Keys|LBound|LCase|Left|Len|LoadPicture|Log|LTrim|RTrim|Trim|Maths|Mid|Minute|Month|MonthName|MsgBox|Now|Oct|Remove|RemoveAll|Replace|RGB|Right|Rnd|Round|ScriptEngine|ScriptEngineBuildVersion|ScriptEngineMajorVersion|ScriptEngineMinorVersion|Second|SetLocale|Sgn|Sin|Space|Split|Sqr|StrComp|String|StrReverse|Tan|Time|Timer|TimeSerial|TimeValue|TypeName|UBound|UCase|Unescape|VarType|Weekday|WeekdayName|Year|AscB|AscW|ChrB|ChrW|InStrB|LeftB|LenB|MidB|RightB|Abs|GetUILanguage","support.type.vb.asp":"vbTrue|vbFalse|vbCr|vbCrLf|vbFormFeed|vbLf|vbNewLine|vbNullChar|vbNullString|vbTab|vbVerticalTab|vbBinaryCompare|vbTextCompare|vbSunday|vbMonday|vbTuesday|vbWednesday|vbThursday|vbFriday|vbSaturday|vbUseSystemDayOfWeek|vbFirstJan1|vbFirstFourDays|vbFirstFullWeek|vbGeneralDate|vbLongDate|vbShortDate|vbLongTime|vbShortTime|vbObjectError|vbEmpty|vbNull|vbInteger|vbLong|vbSingle|vbDouble|vbCurrency|vbDate|vbString|vbObject|vbError|vbBoolean|vbVariant|vbDataObject|vbDecimal|vbByte|vbArray|vbOKOnly|vbOKCancel|vbAbortRetryIgnore|vbYesNoCancel|vbYesNo|vbRetryCancel|vbCritical|vbQuestion|vbExclamation|vbInformation|vbDefaultButton1|vbDefaultButton2|vbDefaultButton3|vbDefaultButton4|vbApplicationModal|vbSystemModal|vbOK|vbCancel|vbAbort|vbRetry|vbIgnore|vbYes|vbNo|vbUseDefault"},"identifier",!0);this.$rules={start:[{token:["meta.ending-space"],regex:"$"},{token:[null],regex:"^(?=\\t)",next:"state_3"},{token:[null],regex:"^(?= )",next:"state_4"},{token:["text","storage.type.function.asp","text","entity.name.function.asp","text","punctuation.definition.parameters.asp","variable.parameter.function.asp","punctuation.definition.parameters.asp"],regex:"^(\\s*)(Function|Sub)(\\s+)([a-zA-Z_]\\w*)(\\s*)(\\()([^)]*)(\\))"},{token:"punctuation.definition.comment.asp",regex:"'|REM(?=\\s|$)",next:"comment",caseInsensitive:!0},{token:"storage.type.asp",regex:"On\\s+Error\\s+(?:Resume\\s+Next|GoTo)\\b",caseInsensitive:!0},{token:"punctuation.definition.string.begin.asp",regex:'"',next:"string"},{token:["punctuation.definition.variable.asp"],regex:"(\\$)[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b\\s*"},{token:"constant.numeric.asp",regex:"-?\\b(?:(?:0(?:x|X)[0-9a-fA-F]*)|(?:(?:[0-9]+\\.?[0-9]*)|(?:\\.[0-9]+))(?:(?:e|E)(?:\\+|-)?[0-9]+)?)(?:L|l|UL|ul|u|U|F|f)?\\b"},{regex:"\\w+",token:C},{token:["entity.name.function.asp"],regex:"(?:(\\b[a-zA-Z_x7f-xff][a-zA-Z0-9_x7f-xff]*?\\b)(?=\\(\\)?))"},{token:["keyword.operator.asp"],regex:"\\-|\\+|\\*|\\/|\\>|\\<|\\=|\\&|\\\\|\\^"}],state_3:[{token:["meta.odd-tab.tabs","meta.even-tab.tabs"],regex:"(\\t)(\\t)?"},{token:"meta.leading-space",regex:"(?=[^\\t])",next:"start"},{token:"meta.leading-space",regex:".",next:"state_3"}],state_4:[{token:["meta.odd-tab.spaces","meta.even-tab.spaces"],regex:"(  )(  )?"},{token:"meta.leading-space",regex:"(?=[^ ])",next:"start"},{defaultToken:"meta.leading-space"}],comment:[{token:"comment.line.apostrophe.asp",regex:"$",next:"start"},{defaultToken:"comment.line.apostrophe.asp"}],string:[{token:"constant.character.escape.apostrophe.asp",regex:'""'},{token:"string.quoted.double.asp",regex:'"',next:"start"},{defaultToken:"string.quoted.double.asp"}]}};k.inherits(p,m),u.VBScriptHighlightRules=p});ace.define("ace/mode/folding/vbscript",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range","ace/token_iterator"],function(i,u,B){"use strict";var k=i("../../lib/oop"),m=i("./fold_mode").FoldMode,p=i("../../range").Range,C=i("../../token_iterator").TokenIterator,y=u.FoldMode=function(){};k.inherits(y,m),function(){this.indentKeywords={class:1,function:1,sub:1,if:1,select:1,do:1,for:1,while:1,with:1,property:1,else:1,elseif:1,end:-1,loop:-1,next:-1,wend:-1},this.foldingStartMarker=/(?:\s|^)(class|function|sub|if|select|do|for|while|with|property|else|elseif)\b/i,this.foldingStopMarker=/\b(end|loop|next|wend)\b/i,this.getFoldWidgetRange=function(o,E,f){var s=o.getLine(f),e=this.foldingStartMarker.test(s),a=this.foldingStopMarker.test(s);if(e||a){var t=a?this.foldingStopMarker.exec(s):this.foldingStartMarker.exec(s),r=t&&t[1].toLowerCase();if(r){var n=o.getTokenAt(f,t.index+2).type;if(n==="keyword.control.asp"||n==="storage.type.function.asp")return this.vbsBlock(o,f,t.index+2)}}},this.getFoldWidget=function(o,E,f){var s=o.getLine(f),e=this.foldingStartMarker.test(s),a=this.foldingStopMarker.test(s);if(e&&!a){var t=this.foldingStartMarker.exec(s),r=t&&t[1].toLowerCase();if(r){var n=o.getTokenAt(f,t.index+2).type;if(n=="keyword.control.asp"||n=="storage.type.function.asp")return r=="if"&&!/then\s*('|$)/i.test(s)?"":"start"}}return""},this.vbsBlock=function(o,d,f,s){var e=new C(o,d,f),a={class:1,function:1,sub:1,if:1,select:1,with:1,property:1,else:1,elseif:1},t=e.getCurrentToken();if(!(!t||t.type!="keyword.control.asp"&&t.type!="storage.type.function.asp")){var r=t.value.toLowerCase(),n=t.value.toLowerCase(),l=[n],g=this.indentKeywords[n];if(g){var v=e.getCurrentTokenRange();switch(n){case"property":case"sub":case"function":case"if":case"select":case"do":case"for":case"class":case"while":case"with":var b=o.getLine(d),M=/^\s*If\s+.*\s+Then(?!')\s+(?!')\S/i.test(b);if(M)return;var I=new RegExp("(?:^|\\s)"+n,"i"),A=/^\s*End\s(If|Sub|Select|Function|Class|With|Property)\s*/i.test(b);if(!I.test(b)&&!A)return;if(A){var s=e.getCurrentTokenRange();e.step=e.stepBackward,e.step(),e.step(),t=e.getCurrentToken(),t&&(n=t.value.toLowerCase(),n=="end"&&(v=e.getCurrentTokenRange(),v=new p(v.start.row,v.start.column,s.start.row,s.end.column))),g=-1}break;case"end":var x=e.getCurrentTokenPosition();if(v=e.getCurrentTokenRange(),e.step=e.stepForward,e.step(),e.step(),t=e.getCurrentToken(),t&&(n=t.value.toLowerCase(),n in a)){r=n;var w=e.getCurrentTokenPosition(),S=w.column+n.length;v=new p(x.row,x.column,w.row,S)}e.step=e.stepBackward,e.step(),e.step();break}var F=g===-1?o.getLine(d-1).length:o.getLine(d).length,D=d,c=[];for(c.push(v),e.step=g===-1?e.stepBackward:e.stepForward;t=e.step();){var T=null,L=!1;if(!(t.type!="keyword.control.asp"&&t.type!="storage.type.function.asp")){n=t.value.toLowerCase();var h=g*this.indentKeywords[n];switch(n){case"property":case"sub":case"function":case"if":case"select":case"do":case"for":case"class":case"while":case"with":var b=o.getLine(e.getCurrentTokenRow()),M=/^\s*If\s+.*\s+Then(?!')\s+(?!')\S/i.test(b);M&&(h=0,L=!0);var I=new RegExp("^\\s* end\\s+"+n,"i");I.test(b)&&(h=0,L=!0);break;case"elseif":case"else":h=0,r!="elseif"&&(L=!0);break}if(h>0)l.unshift(n);else if(h<=0&&L===!1){if(l.shift(),!l.length){switch(n){case"end":var x=e.getCurrentTokenPosition();if(T=e.getCurrentTokenRange(),e.step(),e.step(),t=e.getCurrentToken(),t)if(n=t.value.toLowerCase(),n in a){r=="else"||r=="elseif"?n!=="if"&&c.shift():n!=r&&c.shift();var w=e.getCurrentTokenPosition(),S=w.column+n.length;T=new p(x.row,x.column,w.row,S)}else c.shift();else c.shift();e.step=e.stepBackward,e.step(),e.step(),t=e.getCurrentToken(),n=t.value.toLowerCase();break;case"select":case"sub":case"if":case"function":case"class":case"with":case"property":n!=r&&c.shift();break;case"do":r!="loop"&&c.shift();break;case"loop":r!="do"&&c.shift();break;case"for":r!="next"&&c.shift();break;case"next":r!="for"&&c.shift();break;case"while":r!="wend"&&c.shift();break;case"wend":r!="while"&&c.shift();break}break}h===0&&l.unshift(n)}}}if(!t)return null;if(s)return T?c.push(T):c.push(e.getCurrentTokenRange()),c;var d=e.getCurrentTokenRow();if(g===-1){var S=o.getLine(d).length;return new p(d,S,D-1,F)}else return new p(D,F,d-1,o.getLine(d-1).length)}}}}.call(y.prototype)});ace.define("ace/mode/vbscript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/vbscript_highlight_rules","ace/mode/folding/vbscript","ace/range"],function(i,u,B){"use strict";var k=i("../lib/oop"),m=i("./text").Mode,p=i("./vbscript_highlight_rules").VBScriptHighlightRules,C=i("./folding/vbscript").FoldMode,y=i("../range").Range,o=function(){this.HighlightRules=p,this.foldingRules=new C,this.$behaviour=this.$defaultBehaviour,this.indentKeywords=this.foldingRules.indentKeywords};k.inherits(o,m),function(){this.lineCommentStart=["'","REM"];var E=["else","elseif","end","loop","next","wend"];function f(s,e,a){for(var t=0,r=0;r0?1:0}this.getNextLineIndent=function(s,e,a){var t=this.$getIndent(e),r=0,n=this.getTokenizer().getLineTokens(e,s),l=n.tokens;return s=="start"&&(r=f(l,e,this.indentKeywords)),r>0?t+a:r<0&&t.substr(t.length-a.length)==a&&!this.checkOutdent(s,e,`
`)?t.substr(0,t.length-a.length):t},this.checkOutdent=function(s,e,a){if(a!=`
`&&a!="\r"&&a!=`\r
`)return!1;var t=this.getTokenizer().getLineTokens(e.trim(),s).tokens;if(!t||!t.length)return!1;var r=t[0].value.toLowerCase();return(t[0].type=="keyword.control.asp"||t[0].type=="storage.type.function.asp")&&E.indexOf(r)!=-1},this.getMatching=function(s,e,a,t){if(e==null){var r=s.selection.lead;a=r.column,e=r.row}t==null&&(t=!0);var n=s.getTokenAt(e,a);if(n){var l=n.value.toLowerCase();if(l in this.indentKeywords)return this.foldingRules.vbsBlock(s,e,a,t)}},this.autoOutdent=function(s,e,a){var t=e.getLine(a),r=t.match(/^\s*/)[0].length;if(!(!r||!a)){var n=this.getMatching(e,a,r+1,!1);if(!(!n||n.start.row==a)){var l=this.$getIndent(e.getLine(n.start.row));l.length!=r&&(e.replace(new y(a,0,a,r),l),e.outdentRows(new y(a+1,0,a+1,0)))}}},this.$id="ace/mode/vbscript"}.call(o.prototype),u.Mode=o});(function(){ace.require(["ace/mode/vbscript"],function(i){typeof R=="object"&&typeof O=="object"&&R&&(R.exports=i)})})()});N();})();

//# sourceMappingURL=ab237eed5fd16ab99c06f0d28d465edb.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy