web-interface.assets.aefed4953ced506e20b934606ac083f3.js Maven / Gradle / Ivy
(()=>{var v=(a,s)=>()=>(s||a((s={exports:{}}).exports,s),s.exports);var R=v((p,x)=>{ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(a,s,k){"use strict";var f=a("../../lib/oop"),u=a("../../range").Range,g=a("./fold_mode").FoldMode,h=s.FoldMode=function(e){e&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+e.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+e.end)))};f.inherits(h,g),(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,t){var r=e.getLine(t);if(this.singleLineBlockCommentRe.test(r)&&!this.startRegionRe.test(r)&&!this.tripleStarBlockCommentRe.test(r))return"";var i=this._getFoldWidgetBase(e,n,t);return!i&&this.startRegionRe.test(r)?"start":i},this.getFoldWidgetRange=function(e,n,t,r){var i=e.getLine(t);if(this.startRegionRe.test(i))return this.getCommentRegionBlock(e,i,t);var o=i.match(this.foldingStartMarker);if(o){var l=o.index;if(o[1])return this.openingBracketBlock(e,o[1],t,l);var c=e.getCommentFoldRange(t,l+o[0].length,1);return c&&!c.isMultiLine()&&(r?c=this.getSectionRange(e,t):n!="all"&&(c=null)),c}if(n!=="markbegin"){var o=i.match(this.foldingStopMarker);if(o){var l=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],t,l):e.getCommentFoldRange(t,l,-1)}}},this.getSectionRange=function(e,n){var t=e.getLine(n),r=t.search(/\S/),i=n,l=t.length;n=n+1;for(var c=n,o=e.getLength();++nd)break;var m=this.getFoldWidgetRange(e,"all",n);if(m){if(m.start.row<=i)break;if(m.isMultiLine())n=m.end.row;else if(r==d)break}c=n}}return new u(i,l,c,e.getLine(c).length)},this.getCommentRegionBlock=function(e,n,t){for(var r=n.search(/\s*$/),i=e.getLength(),l=t,c=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,o=1;++tl)return new u(l,r,m,n.length)}}).call(h.prototype)});ace.define("ace/mode/tcl_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(a,s,k){"use strict";var f=a("../lib/oop"),u=a("./text_highlight_rules").TextHighlightRules,g=function(){this.$rules={start:[{token:"comment",regex:"#.*\\\\$",next:"commentfollow"},{token:"comment",regex:"#.*$"},{token:"support.function",regex:"[\\\\]$",next:"splitlineStart"},{token:"text",regex:/\\(?:["{}\[\]$\\])/},{token:"text",regex:"^|[^{][;][^}]|[/\r/]",next:"commandItem"},{token:"string",regex:'[ ]*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'[ ]*["]',next:"qqstring"},{token:"variable.instance",regex:"[$]",next:"variable"},{token:"support.function",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|{\\*}|;|::"},{token:"identifier",regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"paren.lparen",regex:"[[{]",next:"commandItem"},{token:"paren.lparen",regex:"[(]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],commandItem:[{token:"comment",regex:"#.*\\\\$",next:"commentfollow"},{token:"comment",regex:"#.*$",next:"start"},{token:"string",regex:'[ ]*["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"variable.instance",regex:"[$]",next:"variable"},{token:"support.function",regex:"(?:[:][:])[a-zA-Z0-9_/]+(?:[:][:])",next:"commandItem"},{token:"support.function",regex:"[a-zA-Z0-9_/]+(?:[:][:])",next:"commandItem"},{token:"support.function",regex:"(?:[:][:])",next:"commandItem"},{token:"paren.rparen",regex:"[\\])}]"},{token:"paren.lparen",regex:"[[({]"},{token:"support.function",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|===|==|=|!=|!==|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|{\\*}|;|::"},{token:"keyword",regex:"[a-zA-Z0-9_/]+",next:"start"}],commentfollow:[{token:"comment",regex:".*\\\\$",next:"commentfollow"},{token:"comment",regex:".+",next:"start"}],splitlineStart:[{token:"text",regex:"^.",next:"start"}],variable:[{token:"variable.instance",regex:"[a-zA-Z_\\d]+(?:[(][a-zA-Z_\\d]+[)])?",next:"start"},{token:"variable.instance",regex:"{?[a-zA-Z_\\d]+}?",next:"start"}],qqstring:[{token:"string",regex:'(?:[^\\\\]|\\\\.)*?["]',next:"start"},{token:"string",regex:".+"}]}};f.inherits(g,u),s.TclHighlightRules=g});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(a,s,k){"use strict";var f=a("../range").Range,u=function(){};(function(){this.checkOutdent=function(g,h){return/^\s+$/.test(g)?/^\s*\}/.test(h):!1},this.autoOutdent=function(g,h){var e=g.getLine(h),n=e.match(/^(\s*\})/);if(!n)return 0;var t=n[1].length,r=g.findMatchingBracket({row:h,column:t});if(!r||r.row==h)return 0;var i=this.$getIndent(g.getLine(r.row));g.replace(new f(h,0,h,t-1),i)},this.$getIndent=function(g){return g.match(/^\s*/)[0]}}).call(u.prototype),s.MatchingBraceOutdent=u});ace.define("ace/mode/tcl",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/folding/cstyle","ace/mode/tcl_highlight_rules","ace/mode/matching_brace_outdent","ace/range"],function(a,s,k){"use strict";var f=a("../lib/oop"),u=a("./text").Mode,g=a("./folding/cstyle").FoldMode,h=a("./tcl_highlight_rules").TclHighlightRules,e=a("./matching_brace_outdent").MatchingBraceOutdent,n=a("../range").Range,t=function(){this.HighlightRules=h,this.$outdent=new e,this.foldingRules=new g,this.$behaviour=this.$defaultBehaviour};f.inherits(t,u),(function(){this.lineCommentStart="#",this.getNextLineIndent=function(r,i,l){var c=this.$getIndent(i),o=this.getTokenizer().getLineTokens(i,r),d=o.tokens;if(d.length&&d[d.length-1].type=="comment")return c;if(r=="start"){var m=i.match(/^.*[\{\(\[]\s*$/);m&&(c+=l)}return c},this.checkOutdent=function(r,i,l){return this.$outdent.checkOutdent(i,l)},this.autoOutdent=function(r,i,l){this.$outdent.autoOutdent(i,l)},this.$id="ace/mode/tcl",this.snippetFileId="ace/snippets/tcl"}).call(t.prototype),s.Mode=t});(function(){ace.require(["ace/mode/tcl"],function(a){typeof x=="object"&&typeof p=="object"&&x&&(x.exports=a)})})()});R();})();
//# sourceMappingURL=aefed4953ced506e20b934606ac083f3.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy