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

web-interface.assets.7e9ad0e666f3c158bc6d0040b6882ea6.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var p=(r,s)=>()=>(s||r((s={exports:{}}).exports,s),s.exports);var R=p((x,v)=>{ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(r,s,k){"use strict";var m=r("../lib/oop"),u=r("./text_highlight_rules").TextHighlightRules,o=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@\\w+(?=\\s|$)"},o.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};m.inherits(o,u),o.getTagRule=function(c){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},o.getStartRule=function(c){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:c}},o.getEndRule=function(c){return{token:"comment.doc",regex:"\\*\\/",next:c}},s.DocCommentHighlightRules=o});ace.define("ace/mode/scad_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(r,s,k){"use strict";var m=r("../lib/oop"),u=r("../lib/lang"),o=r("./doc_comment_highlight_rules").DocCommentHighlightRules,c=r("./text_highlight_rules").TextHighlightRules,e=function(){var t=this.createKeywordMapper({"variable.language":"this",keyword:"module|if|else|for","constant.language":"NULL"},"identifier");this.$rules={start:[{token:"comment",regex:"\\/\\/.*$"},o.getStartRule("start"),{token:"comment",regex:"\\/\\*",next:"comment"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:'["].*\\\\$',next:"qqstring"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"string",regex:"['].*\\\\$",next:"qstring"},{token:"constant.numeric",regex:"0[xX][0-9a-fA-F]+\\b"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:"constant",regex:"<[a-zA-Z0-9.]+>"},{token:"keyword",regex:"(?:use|include)"},{token:t,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"!|\\$|%|&|\\*|\\-\\-|\\-|\\+\\+|\\+|~|==|=|!=|<=|>=|<<=|>>=|>>>=|<>|<|>|!|&&|\\|\\||\\?\\:|\\*=|%=|\\+=|\\-=|&=|\\^=|\\b(?:in|new|delete|typeof|void)"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:"\\s+"}],comment:[{token:"comment",regex:"\\*\\/",next:"start"},{defaultToken:"comment"}],qqstring:[{token:"string",regex:'(?:(?:\\\\.)|(?:[^"\\\\]))*?"',next:"start"},{token:"string",regex:".+"}],qstring:[{token:"string",regex:"(?:(?:\\\\.)|(?:[^'\\\\]))*?'",next:"start"},{token:"string",regex:".+"}]},this.embedRules(o,"doc-",[o.getEndRule("start")])};m.inherits(e,c),s.scadHighlightRules=e});ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(r,s,k){"use strict";var m=r("../range").Range,u=function(){};(function(){this.checkOutdent=function(o,c){return/^\s+$/.test(o)?/^\s*\}/.test(c):!1},this.autoOutdent=function(o,c){var e=o.getLine(c),t=e.match(/^(\s*\})/);if(!t)return 0;var n=t[1].length,i=o.findMatchingBracket({row:c,column:n});if(!i||i.row==c)return 0;var g=this.$getIndent(o.getLine(i.row));o.replace(new m(c,0,c,n-1),g)},this.$getIndent=function(o){return o.match(/^\s*/)[0]}}).call(u.prototype),s.MatchingBraceOutdent=u});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(r,s,k){"use strict";var m=r("../../lib/oop"),u=r("../../range").Range,o=r("./fold_mode").FoldMode,c=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)))};m.inherits(c,o),(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 g=this._getFoldWidgetBase(e,t,n);return!g&&this.startRegionRe.test(i)?"start":g},this.getFoldWidgetRange=function(e,t,n,i){var g=e.getLine(n);if(this.startRegionRe.test(g))return this.getCommentRegionBlock(e,g,n);var a=g.match(this.foldingStartMarker);if(a){var l=a.index;if(a[1])return this.openingBracketBlock(e,a[1],n,l);var h=e.getCommentFoldRange(n,l+a[0].length,1);return h&&!h.isMultiLine()&&(i?h=this.getSectionRange(e,n):t!="all"&&(h=null)),h}if(t!=="markbegin"){var a=g.match(this.foldingStopMarker);if(a){var l=a.index+a[0].length;return a[1]?this.closingBracketBlock(e,a[1],n,l):e.getCommentFoldRange(n,l,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),i=n.search(/\S/),g=t,l=n.length;t=t+1;for(var h=t,a=e.getLength();++tf)break;var d=this.getFoldWidgetRange(e,"all",t);if(d){if(d.start.row<=g)break;if(d.isMultiLine())t=d.end.row;else if(i==f)break}h=t}}return new u(g,l,h,e.getLine(h).length)},this.getCommentRegionBlock=function(e,t,n){for(var i=t.search(/\s*$/),g=e.getLength(),l=n,h=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,a=1;++nl)return new u(l,i,d,t.length)}}).call(c.prototype)});ace.define("ace/mode/scad",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/scad_highlight_rules","ace/mode/matching_brace_outdent","ace/mode/folding/cstyle"],function(r,s,k){"use strict";var m=r("../lib/oop"),u=r("./text").Mode,o=r("./scad_highlight_rules").scadHighlightRules,c=r("./matching_brace_outdent").MatchingBraceOutdent,e=r("./folding/cstyle").FoldMode,t=function(){this.HighlightRules=o,this.$outdent=new c,this.$behaviour=this.$defaultBehaviour,this.foldingRules=new e};m.inherits(t,u),(function(){this.lineCommentStart="//",this.blockComment={start:"/*",end:"*/"},this.getNextLineIndent=function(n,i,g){var l=this.$getIndent(i),h=this.getTokenizer().getLineTokens(i,n),a=h.tokens,f=h.state;if(a.length&&a[a.length-1].type=="comment")return l;if(n=="start"){var d=i.match(/^.*[\{\(\[]\s*$/);d&&(l+=g)}else if(n=="doc-start"){if(f=="start")return"";var d=i.match(/^\s*(\/?)\*/);d&&(d[1]&&(l+=" "),l+="* ")}return l},this.checkOutdent=function(n,i,g){return this.$outdent.checkOutdent(i,g)},this.autoOutdent=function(n,i,g){this.$outdent.autoOutdent(i,g)},this.$id="ace/mode/scad"}).call(t.prototype),s.Mode=t});(function(){ace.require(["ace/mode/scad"],function(r){typeof v=="object"&&typeof x=="object"&&v&&(v.exports=r)})})()});R();})();

//# sourceMappingURL=7e9ad0e666f3c158bc6d0040b6882ea6.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy