ber-security.graylog.graylog-plugin-alert-wizard.5.2.1.source-code.4dd91288f73da90c07f394c231ad6eca.js Maven / Gradle / Ivy
Show all versions of graylog-plugin-alert-wizard Show documentation
(()=>{var T=(g,x)=>()=>(x||g((x={exports:{}}).exports,x),x.exports);var M=T((w,R)=>{ace.define("ace/mode/xml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(g,x,k){"use strict";var h=g("../lib/oop"),m=g("./text_highlight_rules").TextHighlightRules,d=function(a){var t="[_: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:"(<\\?)("+t+")",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:t},{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:"(<\\!)("+t+")",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:"(?:(<)|())((?:"+t+":)?"+t+")",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:t},{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(a,t,s){this.$rules.tag.unshift({token:["meta.tag.punctuation.tag-open.xml","meta.tag."+s+".tag-name.xml"],regex:"(<)("+s+"(?=\\s|>|$))",next:[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:t+"start"}]}),this.$rules[s+"-end"]=[{include:"attributes"},{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",next:"start",onMatch:function(r,i,o){return o.splice(0),this.token}}],this.embedRules(a,t,[{token:["meta.tag.punctuation.end-tag-open.xml","meta.tag."+s+".tag-name.xml"],regex:"()("+s+"(?=\\s|>|$))",next:s+"-end"},{token:"string.cdata.xml",regex:"<\\!\\[CDATA\\["},{token:"string.cdata.xml",regex:"\\]\\]>"}])}}).call(m.prototype),h.inherits(d,m),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,k){"use strict";var h=g("../../lib/oop"),m=g("../behaviour").Behaviour,d=g("../../token_iterator").TokenIterator,a=g("../../lib/lang");function t(r,i){return r&&r.type.lastIndexOf(i+".xml")>-1}var s=function(){this.add("string_dquotes","insertion",function(r,i,o,e,l){if(l=='"'||l=="'"){var n=l,c=e.doc.getTextRange(o.getSelectionRange());if(c!==""&&c!=="'"&&c!='"'&&o.getWrapBehavioursEnabled())return{text:n+c+n,selection:!1};var u=o.getCursorPosition(),p=e.doc.getLine(u.row),f=p.substring(u.column,u.column+1),y=new d(e,u.row,u.column),v=y.getCurrentToken();if(f==n&&(t(v,"attribute-value")||t(v,"string")))return{text:"",selection:[1,1]};if(v||(v=y.stepBackward()),!v)return;for(;t(v,"tag-whitespace")||t(v,"whitespace");)v=y.stepBackward();var b=!f||f.match(/\s/);if(t(v,"attribute-equals")&&(b||f==">")||t(v,"decl-attribute-equals")&&(b||f=="?"))return{text:n+n,selection:[1,1]}}}),this.add("string_dquotes","deletion",function(r,i,o,e,l){var n=e.doc.getTextRange(l);if(!l.isMultiLine()&&(n=='"'||n=="'")){var c=e.doc.getLine(l.start.row),u=c.substring(l.start.column+1,l.start.column+2);if(u==n)return l.end.column++,l}}),this.add("autoclosing","insertion",function(r,i,o,e,l){if(l==">"){var n=o.getSelectionRange().start,c=new d(e,n.row,n.column),u=c.getCurrentToken()||c.stepBackward();if(!u||!(t(u,"tag-name")||t(u,"tag-whitespace")||t(u,"attribute-name")||t(u,"attribute-equals")||t(u,"attribute-value"))||t(u,"reference.attribute-value"))return;if(t(u,"attribute-value")){var p=c.getCurrentTokenColumn()+u.value.length;if(n.column/.test(e.getLine(n.row).slice(n.column)))return;for(;!t(u,"tag-name");)if(u=c.stepBackward(),u.value=="<"){u=c.stepForward();break}var y=c.getCurrentTokenRow(),v=c.getCurrentTokenColumn();if(t(c.stepBackward(),"end-tag-open"))return;var b=u.value;return y==n.row&&(b=b.substring(0,n.column-v)),this.voidElements.hasOwnProperty(b.toLowerCase())?void 0:{text:">"+b+">",selection:[1,1]}}}),this.add("autoindent","insertion",function(r,i,o,e,l){if(l==`
`){var n=o.getCursorPosition(),c=e.getLine(n.row),u=new d(e,n.row,n.column),p=u.getCurrentToken();if(p&&p.type.indexOf("tag-close")!==-1){if(p.value=="/>")return;for(;p&&p.type.indexOf("tag-name")===-1;)p=u.stepBackward();if(!p)return;var f=p.value,y=u.getCurrentTokenRow();if(p=u.stepBackward(),!p||p.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[f]){var v=e.getTokenAt(n.row,n.column+1),c=e.getLine(y),b=this.$getIndent(c),_=b+e.getTabString();return v&&v.value===""?{text:`
`+_+`
`+b,selection:[1,_.length,1,_.length]}:{text:`
`+_}}}}})};h.inherits(s,m),x.XmlBehaviour=s});ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(g,x,k){"use strict";var h=g("../../lib/oop"),m=g("../../range").Range,d=g("./fold_mode").FoldMode,a=x.FoldMode=function(r,i){d.call(this),this.voidElements=r||{},this.optionalEndTags=h.mixin({},this.voidElements),i&&h.mixin(this.optionalEndTags,i)};h.inherits(a,d);var t=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function s(r,i){return r.type.lastIndexOf(i+".xml")>-1}(function(){this.getFoldWidget=function(r,i,o){var e=this._getFirstTagInLine(r,o);return e?e.closing||!e.tagName&&e.selfClosing?i==="markbeginend"?"end":"":!e.tagName||e.selfClosing||this.voidElements.hasOwnProperty(e.tagName.toLowerCase())||this._findEndTagInLine(r,o,e.tagName,e.end.column)?"":"start":this.getCommentFoldWidget(r,o)},this.getCommentFoldWidget=function(r,i){return/comment/.test(r.getState(i))&&/";break}return e}else if(s(n,"tag-close"))return e.selfClosing=n.value=="/>",e;e.start.column+=n.value.length}return null},this._findEndTagInLine=function(r,i,o,e){for(var l=r.getTokens(i),n=0,c=0;c"},this.createWorker=function(o){var e=new r(["ace"],"ace/mode/xml_worker","Worker");return e.attachToDocument(o.getDocument()),e.on("error",function(l){o.setAnnotations(l.data)}),e.on("terminate",function(){o.clearAnnotations()}),e},this.$id="ace/mode/xml"}.call(i.prototype),x.Mode=i});ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(g,x,k){"use strict";var h=g("../lib/oop"),m=g("./text_highlight_rules").TextHighlightRules,d=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},d.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};h.inherits(d,m),d.getTagRule=function(a){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},d.getStartRule=function(a){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:a}},d.getEndRule=function(a){return{token:"comment.doc",regex:"\\*\\/",next:a}},x.DocCommentHighlightRules=d});ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(g,x,k){"use strict";var h=g("../lib/oop"),m=g("./doc_comment_highlight_rules").DocCommentHighlightRules,d=g("./text_highlight_rules").TextHighlightRules,a="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",t=function(i){var o=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),e="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",l="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[m.getStartRule("doc-start"),r("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+a+")(\\.)(prototype)(\\.)("+a+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+a+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+a+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:"keyword",regex:`from(?=\\s*('|"))`},{token:"keyword",regex:"(?:"+e+")\\b",next:"start"},{token:"support.constant",regex:/that\b/},{token:["storage.type","punctuation.operator","support.function.firebug"],regex:/(console)(\.)(warn|info|log|error|time|trace|timeEnd|assert)\b/},{token:o,regex:a},{token:"punctuation.operator",regex:/[.](?![.])/,next:"property"},{token:"storage.type",regex:/=>/,next:"start"},{token:"keyword.operator",regex:/--|\+\+|\.{3}|===|==|=|!=|!==|<+=?|>+=?|!|&&|\|\||\?:|[!$%&*+\-~\/^]=?/,next:"start"},{token:"punctuation.operator",regex:/[?:,;.]/,next:"start"},{token:"paren.lparen",regex:/[\[({]/,next:"start"},{token:"paren.rparen",regex:/[\])}]/},{token:"comment",regex:/^#!.*$/}],property:[{token:"text",regex:"\\s+"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+a+")(\\.)("+a+")(\\s*)(=)(\\s*)(function\\*?)(?:(\\s+)(\\w+))?(\\s*)(\\()",next:"function_arguments"},{token:"punctuation.operator",regex:/[.](?![.])/},{token:"support.function",regex:/(s(?:h(?:ift|ow(?:Mod(?:elessDialog|alDialog)|Help))|croll(?:X|By(?:Pages|Lines)?|Y|To)?|t(?:op|rike)|i(?:n|zeToContent|debar|gnText)|ort|u(?:p|b(?:str(?:ing)?)?)|pli(?:ce|t)|e(?:nd|t(?:Re(?:sizable|questHeader)|M(?:i(?:nutes|lliseconds)|onth)|Seconds|Ho(?:tKeys|urs)|Year|Cursor|Time(?:out)?|Interval|ZOptions|Date|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Date|FullYear)|FullYear|Active)|arch)|qrt|lice|avePreferences|mall)|h(?:ome|andleEvent)|navigate|c(?:har(?:CodeAt|At)|o(?:s|n(?:cat|textual|firm)|mpile)|eil|lear(?:Timeout|Interval)?|a(?:ptureEvents|ll)|reate(?:StyleSheet|Popup|EventObject))|t(?:o(?:GMTString|S(?:tring|ource)|U(?:TCString|pperCase)|Lo(?:caleString|werCase))|est|a(?:n|int(?:Enabled)?))|i(?:s(?:NaN|Finite)|ndexOf|talics)|d(?:isableExternalCapture|ump|etachEvent)|u(?:n(?:shift|taint|escape|watch)|pdateCommands)|j(?:oin|avaEnabled)|p(?:o(?:p|w)|ush|lugins.refresh|a(?:ddings|rse(?:Int|Float)?)|r(?:int|ompt|eference))|e(?:scape|nableExternalCapture|val|lementFromPoint|x(?:p|ec(?:Script|Command)?))|valueOf|UTC|queryCommand(?:State|Indeterm|Enabled|Value)|f(?:i(?:nd|lter|le(?:ModifiedDate|Size|CreatedDate|UpdatedDate)|xed)|o(?:nt(?:size|color)|rward|rEach)|loor|romCharCode)|watch|l(?:ink|o(?:ad|g)|astIndexOf)|a(?:sin|nchor|cos|t(?:tachEvent|ob|an(?:2)?)|pply|lert|b(?:s|ort))|r(?:ou(?:nd|teEvents)|e(?:size(?:By|To)|calc|turnValue|place|verse|l(?:oad|ease(?:Capture|Events)))|andom)|g(?:o|et(?:ResponseHeader|M(?:i(?:nutes|lliseconds)|onth)|Se(?:conds|lection)|Hours|Year|Time(?:zoneOffset)?|Da(?:y|te)|UTC(?:M(?:i(?:nutes|lliseconds)|onth)|Seconds|Hours|Da(?:y|te)|FullYear)|FullYear|A(?:ttention|llResponseHeaders)))|m(?:in|ove(?:B(?:y|elow)|To(?:Absolute)?|Above)|ergeAttributes|a(?:tch|rgins|x))|b(?:toa|ig|o(?:ld|rderWidths)|link|ack))\b(?=\()/},{token:"support.function.dom",regex:/(s(?:ub(?:stringData|mit)|plitText|e(?:t(?:NamedItem|Attribute(?:Node)?)|lect))|has(?:ChildNodes|Feature)|namedItem|c(?:l(?:ick|o(?:se|neNode))|reate(?:C(?:omment|DATASection|aption)|T(?:Head|extNode|Foot)|DocumentFragment|ProcessingInstruction|E(?:ntityReference|lement)|Attribute))|tabIndex|i(?:nsert(?:Row|Before|Cell|Data)|tem)|open|delete(?:Row|C(?:ell|aption)|T(?:Head|Foot)|Data)|focus|write(?:ln)?|a(?:dd|ppend(?:Child|Data))|re(?:set|place(?:Child|Data)|move(?:NamedItem|Child|Attribute(?:Node)?)?)|get(?:NamedItem|Element(?:sBy(?:Name|TagName|ClassName)|ById)|Attribute(?:Node)?)|blur)\b(?=\()/},{token:"support.constant",regex:/(s(?:ystemLanguage|cr(?:ipts|ollbars|een(?:X|Y|Top|Left))|t(?:yle(?:Sheets)?|atus(?:Text|bar)?)|ibling(?:Below|Above)|ource|uffixes|e(?:curity(?:Policy)?|l(?:ection|f)))|h(?:istory|ost(?:name)?|as(?:h|Focus))|y|X(?:MLDocument|SLDocument)|n(?:ext|ame(?:space(?:s|URI)|Prop))|M(?:IN_VALUE|AX_VALUE)|c(?:haracterSet|o(?:n(?:structor|trollers)|okieEnabled|lorDepth|mp(?:onents|lete))|urrent|puClass|l(?:i(?:p(?:boardData)?|entInformation)|osed|asses)|alle(?:e|r)|rypto)|t(?:o(?:olbar|p)|ext(?:Transform|Indent|Decoration|Align)|ags)|SQRT(?:1_2|2)|i(?:n(?:ner(?:Height|Width)|put)|ds|gnoreCase)|zIndex|o(?:scpu|n(?:readystatechange|Line)|uter(?:Height|Width)|p(?:sProfile|ener)|ffscreenBuffering)|NEGATIVE_INFINITY|d(?:i(?:splay|alog(?:Height|Top|Width|Left|Arguments)|rectories)|e(?:scription|fault(?:Status|Ch(?:ecked|arset)|View)))|u(?:ser(?:Profile|Language|Agent)|n(?:iqueID|defined)|pdateInterval)|_content|p(?:ixelDepth|ort|ersonalbar|kcs11|l(?:ugins|atform)|a(?:thname|dding(?:Right|Bottom|Top|Left)|rent(?:Window|Layer)?|ge(?:X(?:Offset)?|Y(?:Offset)?))|r(?:o(?:to(?:col|type)|duct(?:Sub)?|mpter)|e(?:vious|fix)))|e(?:n(?:coding|abledPlugin)|x(?:ternal|pando)|mbeds)|v(?:isibility|endor(?:Sub)?|Linkcolor)|URLUnencoded|P(?:I|OSITIVE_INFINITY)|f(?:ilename|o(?:nt(?:Size|Family|Weight)|rmName)|rame(?:s|Element)|gColor)|E|whiteSpace|l(?:i(?:stStyleType|n(?:eHeight|kColor))|o(?:ca(?:tion(?:bar)?|lName)|wsrc)|e(?:ngth|ft(?:Context)?)|a(?:st(?:M(?:odified|atch)|Index|Paren)|yer(?:s|X)|nguage))|a(?:pp(?:MinorVersion|Name|Co(?:deName|re)|Version)|vail(?:Height|Top|Width|Left)|ll|r(?:ity|guments)|Linkcolor|bove)|r(?:ight(?:Context)?|e(?:sponse(?:XML|Text)|adyState))|global|x|m(?:imeTypes|ultiline|enubar|argin(?:Right|Bottom|Top|Left))|L(?:N(?:10|2)|OG(?:10E|2E))|b(?:o(?:ttom|rder(?:Width|RightWidth|BottomWidth|Style|Color|TopWidth|LeftWidth))|ufferDepth|elow|ackground(?:Color|Image)))\b/},{token:"identifier",regex:a},{regex:"",token:"empty",next:"no_regex"}],start:[m.getStartRule("doc-start"),r("start"),{token:"string.regexp",regex:"\\/",next:"regex"},{token:"text",regex:"\\s+|^$",next:"start"},{token:"empty",regex:"",next:"no_regex"}],regex:[{token:"regexp.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"string.regexp",regex:"/[sxngimy]*",next:"no_regex"},{token:"invalid",regex:/\{\d+\b,?\d*\}[+*]|[+*$^?][+*]|[$^][?]|\?{3,}/},{token:"constant.language.escape",regex:/\(\?[:=!]|\)|\{\d+\b,?\d*\}|[+*]\?|[()$^+*?.]/},{token:"constant.language.delimiter",regex:/\|/},{token:"constant.language.escape",regex:/\[\^?/,next:"regex_character_class"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp"}],regex_character_class:[{token:"regexp.charclass.keyword.operator",regex:"\\\\(?:u[\\da-fA-F]{4}|x[\\da-fA-F]{2}|.)"},{token:"constant.language.escape",regex:"]",next:"regex"},{token:"constant.language.escape",regex:"-"},{token:"empty",regex:"$",next:"no_regex"},{defaultToken:"string.regexp.charachterclass"}],default_parameter:[{token:"string",regex:"'(?=.)",push:[{token:"string",regex:"'|$",next:"pop"},{include:"qstring"}]},{token:"string",regex:'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{include:"qqstring"}]},{token:"constant.language",regex:"null|Infinity|NaN|undefined"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:"punctuation.operator",regex:",",next:"function_arguments"},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],function_arguments:[r("function_arguments"),{token:"variable.parameter",regex:a},{token:"punctuation.operator",regex:","},{token:"text",regex:"\\s+"},{token:"punctuation.operator",regex:"$"},{token:"empty",regex:"",next:"no_regex"}],qqstring:[{token:"constant.language.escape",regex:l},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:'"|$',next:"no_regex"},{defaultToken:"string"}],qstring:[{token:"constant.language.escape",regex:l},{token:"string",regex:"\\\\$",consumeLineEnd:!0},{token:"string",regex:"'|$",next:"no_regex"},{defaultToken:"string"}]},(!i||!i.noES6)&&(this.$rules.no_regex.unshift({regex:"[{}]",onMatch:function(n,c,u){if(this.next=n=="{"?this.nextState:"",n=="{"&&u.length)u.unshift("start",c);else if(n=="}"&&u.length&&(u.shift(),this.next=u.shift(),this.next.indexOf("string")!=-1||this.next.indexOf("jsx")!=-1))return"paren.quasi.end";return n=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.quasi.start",regex:/`/,push:[{token:"constant.language.escape",regex:l},{token:"paren.quasi.start",regex:/\${/,push:"start"},{token:"string.quasi.end",regex:/`/,next:"pop"},{defaultToken:"string.quasi"}]},{token:["variable.parameter","text"],regex:"("+a+")(\\s*)(?=\\=>)"},{token:"paren.lparen",regex:"(\\()(?=.+\\s*=>)",next:"function_arguments"},{token:"variable.language",regex:"(?:(?:(?:Weak)?(?:Set|Map))|Promise)\\b"}),this.$rules.function_arguments.unshift({token:"keyword.operator",regex:"=",next:"default_parameter"},{token:"keyword.operator",regex:"\\.{3}"}),this.$rules.property.unshift({token:"support.function",regex:"(findIndex|repeat|startsWith|endsWith|includes|isSafeInteger|trunc|cbrt|log2|log10|sign|then|catch|finally|resolve|reject|race|any|all|allSettled|keys|entries|isInteger)\\b(?=\\()"},{token:"constant.language",regex:"(?:MAX_SAFE_INTEGER|MIN_SAFE_INTEGER|EPSILON)\\b"}),(!i||i.jsx!=!1)&&s.call(this)),this.embedRules(m,"doc-",[m.getEndRule("no_regex")]),this.normalizeRules()};h.inherits(t,d);function s(){var i=a.replace("\\d","\\d\\-"),o={onMatch:function(l,n,c){var u=l.charAt(1)=="/"?2:1;return u==1?(n!=this.nextState?c.unshift(this.next,this.nextState,0):c.unshift(this.next),c[2]++):u==2&&n==this.nextState&&(c[1]--,(!c[1]||c[1]<0)&&(c.shift(),c.shift())),[{type:"meta.tag.punctuation."+(u==1?"":"end-")+"tag-open.xml",value:l.slice(0,u)},{type:"meta.tag.tag-name.xml",value:l.substr(u)}]},regex:"?"+i,next:"jsxAttributes",nextState:"jsx"};this.$rules.start.unshift(o);var e={regex:"{",token:"paren.quasi.start",push:"start"};this.$rules.jsx=[e,o,{include:"reference"},{defaultToken:"string"}],this.$rules.jsxAttributes=[{token:"meta.tag.punctuation.tag-close.xml",regex:"/?>",onMatch:function(l,n,c){return n==c[0]&&c.shift(),l.length==2&&(c[0]==this.nextState&&c[1]--,(!c[1]||c[1]<0)&&c.splice(0,2)),this.next=c[0]||"start",[{type:this.token,value:l}]},nextState:"jsx"},e,r("jsxAttributes"),{token:"entity.other.attribute-name.xml",regex:i},{token:"keyword.operator.attribute-equals.xml",regex:"="},{token:"text.tag-whitespace.xml",regex:"\\s+"},{token:"string.attribute-value.xml",regex:"'",stateName:"jsx_attr_q",push:[{token:"string.attribute-value.xml",regex:"'",next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},{token:"string.attribute-value.xml",regex:'"',stateName:"jsx_attr_qq",push:[{token:"string.attribute-value.xml",regex:'"',next:"pop"},{include:"reference"},{defaultToken:"string.attribute-value.xml"}]},o],this.$rules.reference=[{token:"constant.language.escape.reference.xml",regex:"(?:[0-9]+;)|(?:[0-9a-fA-F]+;)|(?:&[a-zA-Z0-9_:\\.-]+;)"}]}function r(i){return[{token:"comment",regex:/\/\*/,next:[m.getTagRule(),{token:"comment",regex:"\\*\\/",next:i||"pop"},{defaultToken:"comment",caseInsensitive:!0}]},{token:"comment",regex:"\\/\\/",next:[m.getTagRule(),{token:"comment",regex:"$|^",next:i||"pop"},{defaultToken:"comment",caseInsensitive:!0}]}]}x.JavaScriptHighlightRules=t});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(g,x,k){"use strict";var h=g("../range").Range,m=function(){};(function(){this.checkOutdent=function(d,a){return/^\s+$/.test(d)?/^\s*\}/.test(a):!1},this.autoOutdent=function(d,a){var t=d.getLine(a),s=t.match(/^(\s*\})/);if(!s)return 0;var r=s[1].length,i=d.findMatchingBracket({row:a,column:r});if(!i||i.row==a)return 0;var o=this.$getIndent(d.getLine(i.row));d.replace(new h(a,0,a,r-1),o)},this.$getIndent=function(d){return d.match(/^\s*/)[0]}}).call(m.prototype),x.MatchingBraceOutdent=m});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(g,x,k){"use strict";var h=g("../../lib/oop"),m=g("../../range").Range,d=g("./fold_mode").FoldMode,a=x.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};h.inherits(a,d),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,s,r){var i=t.getLine(r);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var o=this._getFoldWidgetBase(t,s,r);return!o&&this.startRegionRe.test(i)?"start":o},this.getFoldWidgetRange=function(t,s,r,i){var o=t.getLine(r);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(t,o,r);var n=o.match(this.foldingStartMarker);if(n){var e=n.index;if(n[1])return this.openingBracketBlock(t,n[1],r,e);var l=t.getCommentFoldRange(r,e+n[0].length,1);return l&&!l.isMultiLine()&&(i?l=this.getSectionRange(t,r):s!="all"&&(l=null)),l}if(s!=="markbegin"){var n=o.match(this.foldingStopMarker);if(n){var e=n.index+n[0].length;return n[1]?this.closingBracketBlock(t,n[1],r,e):t.getCommentFoldRange(r,e,-1)}}},this.getSectionRange=function(t,s){var r=t.getLine(s),i=r.search(/\S/),o=s,e=r.length;s=s+1;for(var l=s,n=t.getLength();++sc)break;var u=this.getFoldWidgetRange(t,"all",s);if(u){if(u.start.row<=o)break;if(u.isMultiLine())s=u.end.row;else if(i==c)break}l=s}}return new m(o,e,l,t.getLine(l).length)},this.getCommentRegionBlock=function(t,s,r){for(var i=s.search(/\s*$/),o=t.getLength(),e=r,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,n=1;++re)return new m(e,i,u,s.length)}}.call(a.prototype)});ace.define("ace/mode/javascript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/javascript_highlight_rules","ace/mode/matching_brace_outdent","ace/worker/worker_client","ace/mode/behaviour/cstyle","ace/mode/folding/cstyle"],function(g,x,k){"use strict";var h=g("../lib/oop"),m=g("./text").Mode,d=g("./javascript_highlight_rules").JavaScriptHighlightRules,a=g("./matching_brace_outdent").MatchingBraceOutdent,t=g("../worker/worker_client").WorkerClient,s=g("./behaviour/cstyle").CstyleBehaviour,r=g("./folding/cstyle").FoldMode,i=function(){this.HighlightRules=d,this.$outdent=new a,this.$behaviour=new s,this.foldingRules=new r};h.inherits(i,m),function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.$quotes={'"':'"',"'":"'","`":"`"},this.$pairQuotesAfter={"`":/\w/},this.getNextLineIndent=function(o,e,l){var n=this.$getIndent(e),c=this.getTokenizer().getLineTokens(e,o),u=c.tokens,p=c.state;if(u.length&&u[u.length-1].type=="comment")return n;if(o=="start"||o=="no_regex"){var f=e.match(/^.*(?:\bcase\b.*:|[\{\(\[])\s*$/);f&&(n+=l)}else if(o=="doc-start"){if(p=="start"||p=="no_regex")return"";var f=e.match(/^\s*(\/?)\*/);f&&(f[1]&&(n+=" "),n+="* ")}return n},this.checkOutdent=function(o,e,l){return this.$outdent.checkOutdent(e,l)},this.autoOutdent=function(o,e,l){this.$outdent.autoOutdent(e,l)},this.createWorker=function(o){var e=new t(["ace"],"ace/mode/javascript_worker","JavaScriptWorker");return e.attachToDocument(o.getDocument()),e.on("annotate",function(l){o.setAnnotations(l.data)}),e.on("terminate",function(){o.clearAnnotations()}),e},this.$id="ace/mode/javascript",this.snippetFileId="ace/snippets/javascript"}.call(i.prototype),x.Mode=i});ace.define("ace/mode/svg_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/javascript_highlight_rules","ace/mode/xml_highlight_rules"],function(g,x,k){"use strict";var h=g("../lib/oop"),m=g("./javascript_highlight_rules").JavaScriptHighlightRules,d=g("./xml_highlight_rules").XmlHighlightRules,a=function(){d.call(this),this.embedTagRules(m,"js-","script"),this.normalizeRules()};h.inherits(a,d),x.SvgHighlightRules=a});ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(g,x,k){"use strict";var h=g("../../lib/oop"),m=g("./fold_mode").FoldMode,d=x.FoldMode=function(a,t){this.defaultMode=a,this.subModes=t};h.inherits(d,m),function(){this.$getMode=function(a){typeof a!="string"&&(a=a[0]);for(var t in this.subModes)if(a.indexOf(t)===0)return this.subModes[t];return null},this.$tryMode=function(a,t,s,r){var i=this.$getMode(a);return i?i.getFoldWidget(t,s,r):""},this.getFoldWidget=function(a,t,s){return this.$tryMode(a.getState(s-1),a,t,s)||this.$tryMode(a.getState(s),a,t,s)||this.defaultMode.getFoldWidget(a,t,s)},this.getFoldWidgetRange=function(a,t,s){var r=this.$getMode(a.getState(s-1));return(!r||!r.getFoldWidget(a,t,s))&&(r=this.$getMode(a.getState(s))),(!r||!r.getFoldWidget(a,t,s))&&(r=this.defaultMode),r.getFoldWidgetRange(a,t,s)}}.call(d.prototype)});ace.define("ace/mode/svg",["require","exports","module","ace/lib/oop","ace/mode/xml","ace/mode/javascript","ace/mode/svg_highlight_rules","ace/mode/folding/mixed","ace/mode/folding/xml","ace/mode/folding/cstyle"],function(g,x,k){"use strict";var h=g("../lib/oop"),m=g("./xml").Mode,d=g("./javascript").Mode,a=g("./svg_highlight_rules").SvgHighlightRules,t=g("./folding/mixed").FoldMode,s=g("./folding/xml").FoldMode,r=g("./folding/cstyle").FoldMode,i=function(){m.call(this),this.HighlightRules=a,this.createModeDelegates({"js-":d}),this.foldingRules=new t(new s,{"js-":new r})};h.inherits(i,m),function(){this.getNextLineIndent=function(o,e,l){return this.$getIndent(e)},this.$id="ace/mode/svg"}.call(i.prototype),x.Mode=i});(function(){ace.require(["ace/mode/svg"],function(g){typeof R=="object"&&typeof w=="object"&&R&&(R.exports=g)})})()});M();})();
//# sourceMappingURL=4dd91288f73da90c07f394c231ad6eca.js.map