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

web-interface.assets.415b219139e8fd026bcf877eaa99e3ee.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var F=(l,g)=>()=>(g||l((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(l,g,R){"use strict";var x=l("../lib/oop"),p=l("./text_highlight_rules").TextHighlightRules,m=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",f=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",t=function(){var n=this.createKeywordMapper({keyword:m,"support.function.builtin":f,"invalid.deprecated":"debugger"},"identifier"),i="(?:(?:[1-9]\\d*)|(?:0))",s="(?:\\.\\d+)",r="(?:\\d+)",a="(?:(?:"+r+"?"+s+")|(?:"+r+"\\.))",o="(?:(?:"+a+"|"+r+"))",e="(?:"+o+"|"+a+")",h="(?:&"+r+")",d="[a-zA-Z_][a-zA-Z0-9_]*",$="(?:"+d+"(?==))",M="(?:\\$(?:SHLVL|\\$|\\!|\\?))",S="(?:"+d+"\\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(c,v,u){var _=c[2]=="-"?"indentedHeredoc":"heredoc",k=c.split(this.splitRegex);return u.push(_,k[4]),[{type:"constant",value:k[1]},{type:"text",value:k[2]},{type:"string",value:k[3]},{type:"support.class",value:k[4]},{type:"string",value:k[5]}]},rules:{heredoc:[{onMatch:function(c,v,u){return c===u[1]?(u.shift(),u.shift(),this.next=u[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}],indentedHeredoc:[{token:"string",regex:"^	+"},{onMatch:function(c,v,u){return c===u[1]?(u.shift(),u.shift(),this.next=u[0]||"start","support.class"):(this.next="","string")},regex:".*$",next:"start"}]}},{regex:"$",token:"empty",next:function(c,v){return v[0]==="heredoc"||v[0]==="indentedHeredoc"?v[0]:c}},{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:M},{token:"variable",regex:$},{include:"variables"},{token:"support.function",regex:S},{token:"support.function",regex:h},{token:"string",start:"'",end:"'"},{token:"constant.numeric",regex:e},{token:"constant.numeric",regex:i+"\\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()};x.inherits(t,p),g.ShHighlightRules=t});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(l,g,R){"use strict";var x=l("../../lib/oop"),p=l("../../range").Range,m=l("./fold_mode").FoldMode,f=g.FoldMode=function(t){t&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+t.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+t.end)))};x.inherits(f,m),(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,n,i){var s=t.getLine(i);if(this.singleLineBlockCommentRe.test(s)&&!this.startRegionRe.test(s)&&!this.tripleStarBlockCommentRe.test(s))return"";var r=this._getFoldWidgetBase(t,n,i);return!r&&this.startRegionRe.test(s)?"start":r},this.getFoldWidgetRange=function(t,n,i,s){var r=t.getLine(i);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(t,r,i);var e=r.match(this.foldingStartMarker);if(e){var a=e.index;if(e[1])return this.openingBracketBlock(t,e[1],i,a);var o=t.getCommentFoldRange(i,a+e[0].length,1);return o&&!o.isMultiLine()&&(s?o=this.getSectionRange(t,i):n!="all"&&(o=null)),o}if(n!=="markbegin"){var e=r.match(this.foldingStopMarker);if(e){var a=e.index+e[0].length;return e[1]?this.closingBracketBlock(t,e[1],i,a):t.getCommentFoldRange(i,a,-1)}}},this.getSectionRange=function(t,n){var i=t.getLine(n),s=i.search(/\S/),r=n,a=i.length;n=n+1;for(var o=n,e=t.getLength();++nh)break;var d=this.getFoldWidgetRange(t,"all",n);if(d){if(d.start.row<=r)break;if(d.isMultiLine())n=d.end.row;else if(s==h)break}o=n}}return new p(r,a,o,t.getLine(o).length)},this.getCommentRegionBlock=function(t,n,i){for(var s=n.search(/\s*$/),r=t.getLength(),a=i,o=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,e=1;++ia)return new p(a,s,d,n.length)}}).call(f.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(l,g,R){"use strict";var x=l("../lib/oop"),p=l("./text").Mode,m=l("./sh_highlight_rules").ShHighlightRules,f=l("../range").Range,t=l("./folding/cstyle").FoldMode,n=function(){this.HighlightRules=m,this.foldingRules=new t,this.$behaviour=this.$defaultBehaviour};x.inherits(n,p),(function(){this.lineCommentStart="#",this.getNextLineIndent=function(s,r,a){var o=this.$getIndent(r),e=this.getTokenizer().getLineTokens(r,s),h=e.tokens;if(h.length&&h[h.length-1].type=="comment")return o;if(s=="start"){var d=r.match(/^.*[\{\(\[:]\s*$/);d&&(o+=a)}return o};var i={pass:1,return:1,raise:1,break:1,continue:1};this.checkOutdent=function(s,r,a){if(a!==`\r
`&&a!=="\r"&&a!==`
`)return!1;var o=this.getTokenizer().getLineTokens(r.trim(),s).tokens;if(!o)return!1;do var e=o.pop();while(e&&(e.type=="comment"||e.type=="text"&&e.value.match(/^\s+$/)));return e?e.type=="keyword"&&i[e.value]:!1},this.autoOutdent=function(s,r,a){a+=1;var o=this.$getIndent(r.getLine(a)),e=r.getTabString();o.slice(-e.length)==e&&r.remove(new f(a,o.length-e.length,a,o.length))},this.$id="ace/mode/sh",this.snippetFileId="ace/snippets/sh"}).call(n.prototype),g.Mode=n});(function(){ace.require(["ace/mode/sh"],function(l){typeof b=="object"&&typeof y=="object"&&b&&(b.exports=l)})})()});L();})();

//# sourceMappingURL=415b219139e8fd026bcf877eaa99e3ee.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy