All Downloads are FREE. Search and download functionalities are using the official Maven repository.

web-interface.assets.5106411f7468a5ee5b1ee77aed12c0c7.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var L=(a,c)=>()=>(c||a((c={exports:{}}).exports,c),c.exports);var F=L(($,b)=>{ace.define("ace/mode/crystal_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,c,y){"use strict";var m=a("../lib/oop"),f=a("./text_highlight_rules").TextHighlightRules,u=function(){var l="puts|initialize|previous_def|typeof|as|pointerof|sizeof|instance_sizeof",r="if|end|else|elsif|unless|case|when|break|while|next|until|def|return|class|new|getter|setter|property|lib|fun|do|struct|private|protected|public|module|super|abstract|include|extend|begin|enum|raise|yield|with|alias|rescue|ensure|macro|uninitialized|union|type|require",p="true|TRUE|false|FALSE|nil|NIL|__LINE__|__END_LINE__|__FILE__|__DIR__",n="$DEBUG|$defout|$FILENAME|$LOAD_PATH|$SAFE|$stdin|$stdout|$stderr|$VERBOSE|root_url|flash|session|cookies|params|request|response|logger|self",t=this.$keywords=this.createKeywordMapper({keyword:r,"constant.language":p,"variable.language":n,"support.function":l},"identifier"),e="(?:0[xX][\\dA-Fa-f]+)",o="(?:[0-9][\\d_]*)",d="(?:0o[0-7][0-7]*)",s="(?:0[bB][01]+)",g="(?:[+-]?)(?:"+e+"|"+o+"|"+d+"|"+s+")(?:_?[iIuU](?:8|16|32|64))?\\b",k=/\\(?:[nsrtvfbae'"\\]|[0-7]{3}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u{[\da-fA-F]{1,6}})/,i=/\\(?:[nsrtvfbae'"\\]|[0-7]{3}|x[\da-fA-F]{2}|u[\da-fA-F]{4}|u{[\da-fA-F]{1,6}}|u{(:?[\da-fA-F]{2}\s)*[\da-fA-F]{2}})/;this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"string.regexp",regex:"[/]",push:[{token:"constant.language.escape",regex:i},{token:"string.regexp",regex:"[/][imx]*(?=[).,;\\s]|$)",next:"pop"},{defaultToken:"string.regexp"}]},[{regex:"[{}]",onMatch:function(h,v,x){return this.next=h=="{"?this.nextState:"",h=="{"&&x.length?(x.unshift("start",v),"paren.lparen"):h=="}"&&x.length&&(x.shift(),this.next=x.shift(),this.next.indexOf("string")!=-1)?"paren.end":h=="{"?"paren.lparen":"paren.rparen"},nextState:"start"},{token:"string.start",regex:/"/,push:[{token:"constant.language.escape",regex:i},{token:"string",regex:/\\#{/},{token:"paren.start",regex:/#{/,push:"start"},{token:"string.end",regex:/"/,next:"pop"},{defaultToken:"string"}]},{token:"string.start",regex:/`/,push:[{token:"constant.language.escape",regex:i},{token:"string",regex:/\\#{/},{token:"paren.start",regex:/#{/,push:"start"},{token:"string.end",regex:/`/,next:"pop"},{defaultToken:"string"}]},{stateName:"rpstring",token:"string.start",regex:/%[Qx]?\(/,push:[{token:"constant.language.escape",regex:i},{token:"string.start",regex:/\(/,push:"rpstring"},{token:"string.end",regex:/\)/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"spstring",token:"string.start",regex:/%[Qx]?\[/,push:[{token:"constant.language.escape",regex:i},{token:"string.start",regex:/\[/,push:"spstring"},{token:"string.end",regex:/]/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"fpstring",token:"string.start",regex:/%[Qx]?{/,push:[{token:"constant.language.escape",regex:i},{token:"string.start",regex:/{/,push:"fpstring"},{token:"string.end",regex:/}/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"tpstring",token:"string.start",regex:/%[Qx]?/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"ppstring",token:"string.start",regex:/%[Qx]?\|/,push:[{token:"constant.language.escape",regex:i},{token:"string.end",regex:/\|/,next:"pop"},{token:"paren.start",regex:/#{/,push:"start"},{defaultToken:"string"}]},{stateName:"rpqstring",token:"string.start",regex:/%[qwir]\(/,push:[{token:"string.start",regex:/\(/,push:"rpqstring"},{token:"string.end",regex:/\)/,next:"pop"},{defaultToken:"string"}]},{stateName:"spqstring",token:"string.start",regex:/%[qwir]\[/,push:[{token:"string.start",regex:/\[/,push:"spqstring"},{token:"string.end",regex:/]/,next:"pop"},{defaultToken:"string"}]},{stateName:"fpqstring",token:"string.start",regex:/%[qwir]{/,push:[{token:"string.start",regex:/{/,push:"fpqstring"},{token:"string.end",regex:/}/,next:"pop"},{defaultToken:"string"}]},{stateName:"tpqstring",token:"string.start",regex:/%[qwir]/,next:"pop"},{defaultToken:"string"}]},{stateName:"ppqstring",token:"string.start",regex:/%[qwir]\|/,push:[{token:"string.end",regex:/\|/,next:"pop"},{defaultToken:"string"}]},{token:"string.start",regex:/'/,push:[{token:"constant.language.escape",regex:k},{token:"string.end",regex:/'|$/,next:"pop"},{defaultToken:"string"}]}],{token:"text",regex:"::"},{token:"variable.instance",regex:"@{1,2}[a-zA-Z_\\d]+"},{token:"variable.fresh",regex:"%[a-zA-Z_\\d]+"},{token:"support.class",regex:"[A-Z][a-zA-Z_\\d]+"},{token:"constant.other.symbol",regex:"[:](?:(?:===|<=>|\\[]\\?|\\[]=|\\[]|>>|\\*\\*|<<|==|!=|>=|<=|!~|=~|<|\\+|-|\\*|\\/|%|&|\\||\\^|>|!|~)|(?:(?:[A-Za-z_]|[@$](?=[a-zA-Z0-9_]))[a-zA-Z0-9_]*[!=?]?))"},{token:"constant.numeric",regex:"[+-]?\\d(?:\\d|_(?=\\d))*(?:(?:\\.\\d(?:\\d|_(?=\\d))*)?(?:[eE][+-]?\\d+)?)?(?:_?[fF](?:32|64))?\\b"},{token:"constant.numeric",regex:g},{token:"constant.other.symbol",regex:':"',push:[{token:"constant.language.escape",regex:i},{token:"constant.other.symbol",regex:'"',next:"pop"},{defaultToken:"constant.other.symbol"}]},{token:"constant.language.boolean",regex:"(?:true|false)\\b"},{token:"support.function",regex:"(?:is_a\\?|nil\\?|responds_to\\?|as\\?)"},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$!?]*\\b"},{token:"variable.system",regex:"\\$\\!|\\$\\?"},{token:"punctuation.separator.key-value",regex:"=>"},{stateName:"heredoc",onMatch:function(h,v,x){var A="heredoc",_=h.split(this.splitRegex);return x.push(A,_[3]),[{type:"constant",value:_[1]},{type:"string",value:_[2]},{type:"support.class",value:_[3]},{type:"string",value:_[4]}]},regex:"(<<-)([']?)([\\w]+)([']?)",rules:{heredoc:[{token:"string",regex:"^ +"},{onMatch:function(h,v,x){return h===x[1]?(x.shift(),x.shift(),this.next=x[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(h,v){return v[0]==="heredoc"?v[0]:h}},{token:"punctuation.operator",regex:/[.]\s*(?![.])/,push:[{token:"punctuation.operator",regex:/[.]\s*(?![.])/},{token:"support.function",regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{regex:"",token:"empty",next:"pop"}]},{token:"keyword.operator",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|\\?|\\:|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\^|\\|"},{token:"punctuation.operator",regex:/[?:,;.]/},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};m.inherits(u,f),c.CrystalHighlightRules=u});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(a,c,y){"use strict";var m=a("../range").Range,f=function(){};(function(){this.checkOutdent=function(u,l){return/^\s+$/.test(u)?/^\s*\}/.test(l):!1},this.autoOutdent=function(u,l){var r=u.getLine(l),p=r.match(/^(\s*\})/);if(!p)return 0;var n=p[1].length,t=u.findMatchingBracket({row:l,column:n});if(!t||t.row==l)return 0;var e=this.$getIndent(u.getLine(t.row));u.replace(new m(l,0,l,n-1),e)},this.$getIndent=function(u){return u.match(/^\s*/)[0]}}).call(f.prototype),c.MatchingBraceOutdent=f});ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(a,c,y){"use strict";var m=a("../../lib/oop"),f=a("./fold_mode").FoldMode,u=a("../../range").Range,l=c.FoldMode=function(){};m.inherits(l,f),function(){this.commentBlock=function(r,p){var n=/\S/,t=r.getLine(p),e=t.search(n);if(!(e==-1||t[e]!="#")){for(var o=t.length,d=r.getLength(),s=p,g=p;++ps){var i=r.getLine(g).length;return new u(s,o,g,i)}}},this.getFoldWidgetRange=function(r,p,n){var t=this.indentationBlock(r,n);if(t||(t=this.commentBlock(r,n),t))return t},this.getFoldWidget=function(r,p,n){var t=r.getLine(n),e=t.search(/\S/),o=r.getLine(n+1),d=r.getLine(n-1),s=d.search(/\S/),g=o.search(/\S/);if(e==-1)return r.foldWidgets[n-1]=s!=-1&&s




© 2015 - 2024 Weber Informatics LLC | Privacy Policy