web-interface.assets.0a2372b159f27a54f18565b93c97e3c2.js Maven / Gradle / Ivy
(()=>{var F=(l,h)=>()=>(h||l((h={exports:{}}).exports,h),h.exports);var $=F((R,x)=>{ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(l,h,v){"use strict";var f=l("../lib/oop"),d=l("./text_highlight_rules").TextHighlightRules,u=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},u.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};f.inherits(u,d),u.getTagRule=function(s){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},u.getStartRule=function(s){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:s}},u.getEndRule=function(s){return{token:"comment.doc",regex:"\\*\\/",next:s}},h.DocCommentHighlightRules=u});ace.define("ace/mode/odin_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(l,h,v){var f=this&&this.__read||function(t,e){var o=typeof Symbol=="function"&&t[Symbol.iterator];if(!o)return t;var a=o.call(t),c,n=[],g;try{for(;(e===void 0||e-- >0)&&!(c=a.next()).done;)n.push(c.value)}catch(m){g={error:m}}finally{try{c&&!c.done&&(o=a.return)&&o.call(a)}finally{if(g)throw g.error}}return n},d=this&&this.__spreadArray||function(t,e,o){if(o||arguments.length===2)for(var a=0,c=e.length,n;a>","&","&~","\\+","\\-","~","\\|",">","<","<=",">=","==","!="].concat(":").map(function(p){return p+"="}).concat("=",":=","::","->","\\^","&",":").join("|"),c="new|cap|copy|panic|len|make|delete|append|free",n="nil|true|false",g=this.createKeywordMapper({keyword:t,"constant.language":n,"support.function":c,"support.type":o},""),m=`\\\\(?:[0-7]{3}|x\\h{2}|u{4}|U\\h{6}|[abfnrtv'"\\\\])`.replace(/\\h/g,"[a-fA-F\\d]");this.$rules={start:[{token:"comment",regex:/\/\/.*$/},s.getStartRule("doc-start"),{token:"comment.start",regex:"\\/\\*",next:"comment"},{token:"string",regex:/"(?:[^"\\]|\\.)*?"/},{token:"string",regex:"`",next:"bqstring"},{token:"support.constant",regex:/#[a-z_]+/},{token:"constant.numeric",regex:"'(?:[^\\'\uD800-\uDBFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|"+m.replace('"',"")+")'"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:["entity.name.function","text","keyword.operator","text","keyword"],regex:"([a-zA-Z_$][a-zA-Z0-9_$]*)(\\s+)(::)(\\s+)(proc)\\b"},{token:function(p){return p[p.length-1]=="("?[{type:g(p.slice(0,-1))||"support.function",value:p.slice(0,-1)},{type:"paren.lparen",value:p.slice(-1)}]:g(p)||"identifier"},regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b\\(?"},{token:"keyword.operator",regex:a},{token:"punctuation.operator",regex:"\\?|\\,|\\;|\\."},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment.end",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],bqstring:[{token:"string",regex:"`",next:"start"},{defaultToken:"string"}]},this.embedRules(s,"doc-",[s.getEndRule("start")])};u.inherits(i,r),h.OdinHighlightRules=i});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(l,h,v){"use strict";var f=l("../range").Range,d=function(){};(function(){this.checkOutdent=function(u,s){return/^\s+$/.test(u)?/^\s*\}/.test(s):!1},this.autoOutdent=function(u,s){var r=u.getLine(s),i=r.match(/^(\s*\})/);if(!i)return 0;var t=i[1].length,e=u.findMatchingBracket({row:s,column:t});if(!e||e.row==s)return 0;var o=this.$getIndent(u.getLine(e.row));u.replace(new f(s,0,s,t-1),o)},this.$getIndent=function(u){return u.match(/^\s*/)[0]}}).call(d.prototype),h.MatchingBraceOutdent=d});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(l,h,v){"use strict";var f=l("../../lib/oop"),d=l("../../range").Range,u=l("./fold_mode").FoldMode,s=h.FoldMode=function(r){r&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+r.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+r.end)))};f.inherits(s,u),(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(r,i,t){var e=r.getLine(t);if(this.singleLineBlockCommentRe.test(e)&&!this.startRegionRe.test(e)&&!this.tripleStarBlockCommentRe.test(e))return"";var o=this._getFoldWidgetBase(r,i,t);return!o&&this.startRegionRe.test(e)?"start":o},this.getFoldWidgetRange=function(r,i,t,e){var o=r.getLine(t);if(this.startRegionRe.test(o))return this.getCommentRegionBlock(r,o,t);var n=o.match(this.foldingStartMarker);if(n){var a=n.index;if(n[1])return this.openingBracketBlock(r,n[1],t,a);var c=r.getCommentFoldRange(t,a+n[0].length,1);return c&&!c.isMultiLine()&&(e?c=this.getSectionRange(r,t):i!="all"&&(c=null)),c}if(i!=="markbegin"){var n=o.match(this.foldingStopMarker);if(n){var a=n.index+n[0].length;return n[1]?this.closingBracketBlock(r,n[1],t,a):r.getCommentFoldRange(t,a,-1)}}},this.getSectionRange=function(r,i){var t=r.getLine(i),e=t.search(/\S/),o=i,a=t.length;i=i+1;for(var c=i,n=r.getLength();++ig)break;var m=this.getFoldWidgetRange(r,"all",i);if(m){if(m.start.row<=o)break;if(m.isMultiLine())i=m.end.row;else if(e==g)break}c=i}}return new d(o,a,c,r.getLine(c).length)},this.getCommentRegionBlock=function(r,i,t){for(var e=i.search(/\s*$/),o=r.getLength(),a=t,c=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,n=1;++ta)return new d(a,e,m,i.length)}}).call(s.prototype)});ace.define("ace/mode/odin",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/odin_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],function(l,h,v){var f=l("../lib/oop"),d=l("./text").Mode,u=l("./odin_highlight_rules").OdinHighlightRules,s=l("./matching_brace_outdent").MatchingBraceOutdent,r=l("./folding/cstyle").FoldMode,i=function(){this.HighlightRules=u,this.$outdent=new s,this.foldingRules=new r,this.$behaviour=this.$defaultBehaviour};f.inherits(i,d),(function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(t,e,o){var a=this.$getIndent(e),c=this.getTokenizer().getLineTokens(e,t),n=c.tokens;if(n.length&&n[n.length-1].type=="comment")return a;if(t=="start"){var g=e.match(/^.*[\{\(\[:]\s*$/);g&&(a+=o)}return a},this.checkOutdent=function(t,e,o){return this.$outdent.checkOutdent(e,o)},this.autoOutdent=function(t,e,o){this.$outdent.autoOutdent(e,o)},this.$id="ace/mode/odin"}).call(i.prototype),h.Mode=i});(function(){ace.require(["ace/mode/odin"],function(l){typeof x=="object"&&typeof R=="object"&&x&&(x.exports=l)})})()});$();})();
//# sourceMappingURL=0a2372b159f27a54f18565b93c97e3c2.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy