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

web-interface.assets.4430c55f023b72fb5e389cee9351b38c.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var v=(r,c)=>()=>(c||r((c={exports:{}}).exports,c),c.exports);var b=v((x,p)=>{ace.define("ace/mode/nim_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(r,c,k){"use strict";var f=r("../lib/oop"),u=r("./text_highlight_rules").TextHighlightRules,h=function(){var m=this.createKeywordMapper({variable:"var|let|const",keyword:"assert|parallel|spawn|export|include|from|template|mixin|bind|import|concept|raise|defer|try|finally|except|converter|proc|func|macro|method|and|or|not|xor|shl|shr|div|mod|in|notin|is|isnot|of|static|if|elif|else|case|of|discard|when|return|yield|block|break|while|echo|continue|asm|using|cast|addr|unsafeAddr|type|ref|ptr|do|declared|defined|definedInScope|compiles|sizeOf|is|shallowCopy|getAst|astToStr|spawn|procCall|for|iterator|as","storage.type":"newSeq|int|int8|int16|int32|int64|uint|uint8|uint16|uint32|uint64|float|char|bool|string|set|pointer|float32|float64|enum|object|cstring|array|seq|openArray|varargs|UncheckedArray|tuple|set|distinct|void|auto|openarray|range","support.function":"lock|ze|toU8|toU16|toU32|ord|low|len|high|add|pop|contains|card|incl|excl|dealloc|inc","constant.language":"nil|true|false"},"identifier"),e="(?:0[xX][\\dA-Fa-f][\\dA-Fa-f_]*)",t="(?:[0-9][\\d_]*)",n="(?:0o[0-7][0-7_]*)",i="(?:0[bB][01][01_]*)",a="(?:"+e+"|"+t+"|"+n+"|"+i+")(?:'?[iIuU](?:8|16|32|64)|u)?\\b",d="(?:[eE][+-]?[\\d][\\d_]*)",l="(?:[\\d][\\d_]*(?:[.][\\d](?:[\\d_]*)"+d+"?)|"+d+")",o="(?:"+e+"(?:'(?:(?:[fF](?:32|64)?)|[dD])))|(?:"+l+"|"+t+"|"+n+"|"+i+")(?:'(?:(?:[fF](?:32|64)?)|[dD]))",g=`\\\\([abeprcnlftv\\"']|x[0-9A-Fa-f]{2}|[0-2][0-9]{2}|u[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})`,s="[a-zA-Z][a-zA-Z0-9_]*";this.$rules={start:[{token:["identifier","keyword.operator","support.function"],regex:"("+s+")([.]{1})("+s+")(?=\\()"},{token:"paren.lparen",regex:"(\\{\\.)",next:[{token:"paren.rparen",regex:"(\\.\\}|\\})",next:"start"},{include:"methods"},{token:"identifier",regex:s},{token:"punctuation",regex:/[,]/},{token:"keyword.operator",regex:/[=:.]/},{token:"paren.lparen",regex:/[[(]/},{token:"paren.rparen",regex:/[\])]/},{include:"math"},{include:"strings"},{defaultToken:"text"}]},{token:"comment.doc.start",regex:/##\[(?!])/,push:"docBlockComment"},{token:"comment.start",regex:/#\[(?!])/,push:"blockComment"},{token:"comment.doc",regex:"##.*$"},{token:"comment",regex:"#.*$"},{include:"strings"},{token:"string",regex:"'(?:\\\\(?:[abercnlftv]|x[0-9A-Fa-f]{2}|[0-2][0-9]{2}|u[0-9A-Fa-f]{8}|u[0-9A-Fa-f]{4})|.{1})?'"},{include:"methods"},{token:m,regex:"[a-zA-Z][a-zA-Z0-9_]*\\b"},{token:["keyword.operator","text","storage.type"],regex:"([:])(\\s+)("+s+")(?=$|\\)|\\[|,|\\s+=|;|\\s+\\{)"},{token:"paren.lparen",regex:/\[\.|{\||\(\.|\[:|[[({`]/},{token:"paren.rparen",regex:/\.\)|\|}|\.]|[\])}]/},{token:"keyword.operator",regex:/[=+\-*\/<>@$~&%|!?^.:\\]/},{token:"punctuation",regex:/[,;]/},{include:"math"}],blockComment:[{regex:/#\[]/,token:"comment"},{regex:/#\[(?!])/,token:"comment.start",push:"blockComment"},{regex:/]#/,token:"comment.end",next:"pop"},{defaultToken:"comment"}],docBlockComment:[{regex:/##\[]/,token:"comment.doc"},{regex:/##\[(?!])/,token:"comment.doc.start",push:"docBlockComment"},{regex:/]##/,token:"comment.doc.end",next:"pop"},{defaultToken:"comment.doc"}],math:[{token:"constant.float",regex:o},{token:"constant.float",regex:l},{token:"constant.integer",regex:a}],methods:[{token:"support.function",regex:"(\\w+)(?=\\()"}],strings:[{token:"string",regex:"(\\b"+s+')?"""',push:[{token:"string",regex:'"""',next:"pop"},{defaultToken:"string"}]},{token:"string",regex:"\\b"+s+'"(?=.)',push:[{token:"string",regex:'"|$',next:"pop"},{defaultToken:"string"}]},{token:"string",regex:'"',push:[{token:"string",regex:'"|$',next:"pop"},{token:"constant.language.escape",regex:g},{defaultToken:"string"}]}]},this.normalizeRules()};f.inherits(h,u),c.NimHighlightRules=h});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(r,c,k){"use strict";var f=r("../../lib/oop"),u=r("../../range").Range,h=r("./fold_mode").FoldMode,m=c.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(m,h),(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,t,n){var i=e.getLine(n);if(this.singleLineBlockCommentRe.test(i)&&!this.startRegionRe.test(i)&&!this.tripleStarBlockCommentRe.test(i))return"";var a=this._getFoldWidgetBase(e,t,n);return!a&&this.startRegionRe.test(i)?"start":a},this.getFoldWidgetRange=function(e,t,n,i){var a=e.getLine(n);if(this.startRegionRe.test(a))return this.getCommentRegionBlock(e,a,n);var o=a.match(this.foldingStartMarker);if(o){var d=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,d);var l=e.getCommentFoldRange(n,d+o[0].length,1);return l&&!l.isMultiLine()&&(i?l=this.getSectionRange(e,n):t!="all"&&(l=null)),l}if(t!=="markbegin"){var o=a.match(this.foldingStopMarker);if(o){var d=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,d):e.getCommentFoldRange(n,d,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),i=n.search(/\S/),a=t,d=n.length;t=t+1;for(var l=t,o=e.getLength();++tg)break;var s=this.getFoldWidgetRange(e,"all",t);if(s){if(s.start.row<=a)break;if(s.isMultiLine())t=s.end.row;else if(i==g)break}l=t}}return new u(a,d,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),a=e.getLength(),d=n,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,o=1;++nd)return new u(d,i,s,t.length)}}).call(m.prototype)});ace.define("ace/mode/nim",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/nim_highlight_rules","ace/mode/folding/cstyle"],function(r,c,k){"use strict";var f=r("../lib/oop"),u=r("./text").Mode,h=r("./nim_highlight_rules").NimHighlightRules,m=r("./folding/cstyle").FoldMode,e=function(){u.call(this),this.HighlightRules=h,this.foldingRules=new m,this.$behaviour=this.$defaultBehaviour};f.inherits(e,u),(function(){this.lineCommentStart="#",this.blockComment={start:"#[",end:"]#",nestable:!0},this.$id="ace/mode/nim"}).call(e.prototype),c.Mode=e});(function(){ace.require(["ace/mode/nim"],function(r){typeof p=="object"&&typeof x=="object"&&p&&(p.exports=r)})})()});b();})();

//# sourceMappingURL=4430c55f023b72fb5e389cee9351b38c.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy