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

web-interface.assets.4d2f57c77de95601a5e05343949e7d4b.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var F=(i,g)=>()=>(g||i((g={exports:{}}).exports,g),g.exports);var L=F((y,b)=>{ace.define("ace/mode/sh_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,g,R){"use strict";var v=i("../lib/oop"),h=i("./text_highlight_rules").TextHighlightRules,p=g.reservedKeywords="!|{|}|case|do|done|elif|else|esac|fi|for|if|in|then|until|while|&|;|export|local|read|typeset|unset|elif|select|set|function|declare|readonly",d=g.languageConstructs="[|]|alias|bg|bind|break|builtin|cd|command|compgen|complete|continue|dirs|disown|echo|enable|eval|exec|exit|fc|fg|getopts|hash|help|history|jobs|kill|let|logout|popd|printf|pushd|pwd|return|set|shift|shopt|source|suspend|test|times|trap|type|ulimit|umask|unalias|wait",e=function(){var n=this.createKeywordMapper({keyword:p,"support.function.builtin":d,"invalid.deprecated":"debugger"},"identifier"),a="(?:(?:[1-9]\\d*)|(?:0))",s="(?:\\.\\d+)",r="(?:\\d+)",o="(?:(?:"+r+"?"+s+")|(?:"+r+"\\.))",l="(?:(?:"+o+"|"+r+"))",t="(?:"+l+"|"+o+")",c="(?:&"+r+")",u="[a-zA-Z_][a-zA-Z0-9_]*",M="(?:"+u+"(?==))",_="(?:\\$(?:SHLVL|\\$|\\!|\\?))",$="(?:"+u+"\\s*\\(\\))";this.$rules={start:[{token:"constant",regex:/\\./},{token:["text","comment"],regex:/(^|\s)(#.*)$/},{token:"string.start",regex:'"',push:[{token:"constant.language.escape",regex:/\\(?:[$`"\\]|$)/},{include:"variables"},{token:"keyword.operator",regex:/`/},{token:"string.end",regex:'"',next:"pop"},{defaultToken:"string"}]},{token:"string",regex:"\\$'",push:[{token:"constant.language.escape",regex:/\\(?:[abeEfnrtv\\'"]|x[a-fA-F\d]{1,2}|u[a-fA-F\d]{4}([a-fA-F\d]{4})?|c.|\d{1,3})/},{token:"string",regex:"'",next:"pop"},{defaultToken:"string"}]},{regex:"<<<",token:"keyword.operator"},{stateName:"heredoc",regex:"(<<-?)(\\s*)(['\"`]?)([\\w\\-]+)(['\"`]?)",onMatch:function(k,m,f){var S=k[2]=="-"?"indentedHeredoc":"heredoc",x=k.split(this.splitRegex);return f.push(S,x[4]),[{type:"constant",value:x[1]},{type:"text",value:x[2]},{type:"string",value:x[3]},{type:"support.class",value:x[4]},{type:"string",value:x[5]}]},rules:{heredoc:[{onMatch:function(k,m,f){return k===f[1]?(f.shift(),f.shift(),this.next=f[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}],indentedHeredoc:[{token:"string",regex:"^	+"},{onMatch:function(k,m,f){return k===f[1]?(f.shift(),f.shift(),this.next=f[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(k,m){return m[0]==="heredoc"||m[0]==="indentedHeredoc"?m[0]:k}},{token:["keyword","text","text","text","variable"],regex:/(declare|local|readonly)(\s+)(?:(-[fixar]+)(\s+))?([a-zA-Z_][a-zA-Z0-9_]*\b)/},{token:"variable.language",regex:_},{token:"variable",regex:M},{include:"variables"},{token:"support.function",regex:$},{token:"support.function",regex:c},{token:"string",start:"'",end:"'"},{token:"constant.numeric",regex:t},{token:"constant.numeric",regex:a+"\\b"},{token:n,regex:"[a-zA-Z_][a-zA-Z0-9_]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\*|\\*\\*|\\/|\\/\\/|~|<|>|<=|=>|=|!=|[%&|`]"},{token:"punctuation.operator",regex:";"},{token:"paren.lparen",regex:"[\\[\\(\\{]"},{token:"paren.rparen",regex:"[\\]]"},{token:"paren.rparen",regex:"[\\)\\}]",next:"pop"}],variables:[{token:"variable",regex:/(\$)(\w+)/},{token:["variable","paren.lparen"],regex:/(\$)(\()/,push:"start"},{token:["variable","paren.lparen","keyword.operator","variable","keyword.operator"],regex:/(\$)(\{)([#!]?)(\w+|[*@#?\-$!0_])(:[?+\-=]?|##?|%%?|,,?\/|\^\^?)?/,push:"start"},{token:"variable",regex:/\$[*@#?\-$!0_]/},{token:["variable","paren.lparen"],regex:/(\$)(\{)/,push:"start"}]},this.normalizeRules()};v.inherits(e,h),g.ShHighlightRules=e});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(i,g,R){"use strict";var v=i("../../lib/oop"),h=i("../../range").Range,p=i("./fold_mode").FoldMode,d=g.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};v.inherits(d,p),(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(e,n,a){var s=e.getLine(a);if(this.singleLineBlockCommentRe.test(s)&&!this.startRegionRe.test(s)&&!this.tripleStarBlockCommentRe.test(s))return"";var r=this._getFoldWidgetBase(e,n,a);return!r&&this.startRegionRe.test(s)?"start":r},this.getFoldWidgetRange=function(e,n,a,s){var r=e.getLine(a);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,a);var t=r.match(this.foldingStartMarker);if(t){var o=t.index;if(t[1])return this.openingBracketBlock(e,t[1],a,o);var l=e.getCommentFoldRange(a,o+t[0].length,1);return l&&!l.isMultiLine()&&(s?l=this.getSectionRange(e,a):n!="all"&&(l=null)),l}if(n!=="markbegin"){var t=r.match(this.foldingStopMarker);if(t){var o=t.index+t[0].length;return t[1]?this.closingBracketBlock(e,t[1],a,o):e.getCommentFoldRange(a,o,-1)}}},this.getSectionRange=function(e,n){var a=e.getLine(n),s=a.search(/\S/),r=n,o=a.length;n=n+1;for(var l=n,t=e.getLength();++nc)break;var u=this.getFoldWidgetRange(e,"all",n);if(u){if(u.start.row<=r)break;if(u.isMultiLine())n=u.end.row;else if(s==c)break}l=n}}return new h(r,o,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,n,a){for(var s=n.search(/\s*$/),r=e.getLength(),o=a,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,t=1;++ao)return new h(o,s,u,n.length)}}).call(d.prototype)});ace.define("ace/mode/sh",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/sh_highlight_rules","ace/range","ace/mode/folding/cstyle"],function(i,g,R){"use strict";var v=i("../lib/oop"),h=i("./text").Mode,p=i("./sh_highlight_rules").ShHighlightRules,d=i("../range").Range,e=i("./folding/cstyle").FoldMode,n=function(){this.HighlightRules=p,this.foldingRules=new e,this.$behaviour=this.$defaultBehaviour};v.inherits(n,h),(function(){this.lineCommentStart="#",this.getNextLineIndent=function(s,r,o){var l=this.$getIndent(r),t=this.getTokenizer().getLineTokens(r,s),c=t.tokens;if(c.length&&c[c.length-1].type=="comment")return l;if(s=="start"){var u=r.match(/^.*[\{\(\[:]\s*$/);u&&(l+=o)}return l};var a={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(s,r,o){if(o!==`\r
`&&o!=="\r"&&o!==`
`)return!1;var l=this.getTokenizer().getLineTokens(r.trim(),s).tokens;if(!l)return!1;do var t=l.pop();while(t&&(t.type=="comment"||t.type=="text"&&t.value.match(/^\s+$/)));return t?t.type=="keyword"&&a[t.value]:!1},this.autoOutdent=function(s,r,o){o+=1;var l=this.$getIndent(r.getLine(o)),t=r.getTabString();l.slice(-t.length)==t&&r.remove(new d(o,l.length-t.length,o,l.length))},this.$id="ace/mode/sh",this.snippetFileId="ace/snippets/sh"}).call(n.prototype),g.Mode=n});ace.define("ace/mode/dockerfile_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/sh_highlight_rules"],function(i,g,R){"use strict";var v=i("../lib/oop"),h=i("./sh_highlight_rules").ShHighlightRules,p=function(){h.call(this);for(var d=this.$rules.start,e=0;e




© 2015 - 2024 Weber Informatics LLC | Privacy Policy