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

web-interface.assets.e0fa6a4fe8bff90d50ce812e666957ca.js Maven / Gradle / Ivy

There is a newer version: 6.1.4
Show newest version
(()=>{var v=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports);var R=v((x,k)=>{ace.define("ace/mode/elm_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,s,p){"use strict";var f=i("../lib/oop"),d=i("./text_highlight_rules").TextHighlightRules,h=function(){var u=this.createKeywordMapper({keyword:"as|case|class|data|default|deriving|do|else|export|foreign|hiding|jsevent|if|import|in|infix|infixl|infixr|instance|let|module|newtype|of|open|then|type|where|_|port|\u03BB"},"identifier"),e=/\\(\d+|['"\\&trnbvf])/,t=/[a-z_]/.source,n=/[A-Z]/.source,a=/[a-z_A-Z0-9']/.source;this.$rules={start:[{token:"string.start",regex:'"',next:"string"},{token:"string.character",regex:"'(?:"+e.source+"|.)'?"},{regex:/0(?:[xX][0-9A-Fa-f]+|[oO][0-7]+)|\d+(\.\d+)?([eE][-+]?\d*)?/,token:"constant.numeric"},{token:"comment",regex:"--.*"},{token:"keyword",regex:/\.\.|\||:|=|\\|"|->|<-|\u2192/},{token:"keyword.operator",regex:/[-!#$%&*+.\/<=>?@\\^|~:\u03BB\u2192]+/},{token:"operator.punctuation",regex:/[,;`]/},{regex:n+a+"+\\.?",token:function(r){return r[r.length-1]=="."?"entity.name.function":"constant.language"}},{regex:"^"+t+a+"+",token:function(r){return"constant.language"}},{token:u,regex:"[\\w\\xff-\\u218e\\u2455-\\uffff]+\\b"},{regex:"{-#?",token:"comment.start",onMatch:function(r,g,l){return this.next=r.length==2?"blockComment":"docComment",this.token}},{token:"variable.language",regex:/\[markdown\|/,next:"markdown"},{token:"paren.lparen",regex:/[\[({]/},{token:"paren.rparen",regex:/[\])}]/}],markdown:[{regex:/\|\]/,next:"start"},{defaultToken:"string"}],blockComment:[{regex:"{-",token:"comment.start",push:"blockComment"},{regex:"-}",token:"comment.end",next:"pop"},{defaultToken:"comment"}],docComment:[{regex:"{-",token:"comment.start",push:"docComment"},{regex:"-}",token:"comment.end",next:"pop"},{defaultToken:"doc.comment"}],string:[{token:"constant.language.escape",regex:e},{token:"text",regex:/\\(\s|$)/,next:"stringGap"},{token:"string.end",regex:'"',next:"start"},{defaultToken:"string"}],stringGap:[{token:"text",regex:/\\/,next:"string"},{token:"error",regex:"",next:"start"}]},this.normalizeRules()};f.inherits(h,d),s.ElmHighlightRules=h});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(i,s,p){"use strict";var f=i("../../lib/oop"),d=i("../../range").Range,h=i("./fold_mode").FoldMode,u=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(u,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 a=e.getLine(n);if(this.singleLineBlockCommentRe.test(a)&&!this.startRegionRe.test(a)&&!this.tripleStarBlockCommentRe.test(a))return"";var r=this._getFoldWidgetBase(e,t,n);return!r&&this.startRegionRe.test(a)?"start":r},this.getFoldWidgetRange=function(e,t,n,a){var r=e.getLine(n);if(this.startRegionRe.test(r))return this.getCommentRegionBlock(e,r,n);var o=r.match(this.foldingStartMarker);if(o){var g=o.index;if(o[1])return this.openingBracketBlock(e,o[1],n,g);var l=e.getCommentFoldRange(n,g+o[0].length,1);return l&&!l.isMultiLine()&&(a?l=this.getSectionRange(e,n):t!="all"&&(l=null)),l}if(t!=="markbegin"){var o=r.match(this.foldingStopMarker);if(o){var g=o.index+o[0].length;return o[1]?this.closingBracketBlock(e,o[1],n,g):e.getCommentFoldRange(n,g,-1)}}},this.getSectionRange=function(e,t){var n=e.getLine(t),a=n.search(/\S/),r=t,g=n.length;t=t+1;for(var l=t,o=e.getLength();++tm)break;var c=this.getFoldWidgetRange(e,"all",t);if(c){if(c.start.row<=r)break;if(c.isMultiLine())t=c.end.row;else if(a==m)break}l=t}}return new d(r,g,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,t,n){for(var a=t.search(/\s*$/),r=e.getLength(),g=n,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,o=1;++ng)return new d(g,a,c,t.length)}}).call(u.prototype)});ace.define("ace/mode/elm",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/elm_highlight_rules","ace/mode/folding/cstyle"],function(i,s,p){"use strict";var f=i("../lib/oop"),d=i("./text").Mode,h=i("./elm_highlight_rules").ElmHighlightRules,u=i("./folding/cstyle").FoldMode,e=function(){this.HighlightRules=h,this.foldingRules=new u,this.$behaviour=this.$defaultBehaviour};f.inherits(e,d),(function(){this.lineCommentStart="--",this.blockComment={start:"{-",end:"-}",nestable:!0},this.$id="ace/mode/elm"}).call(e.prototype),s.Mode=e});(function(){ace.require(["ace/mode/elm"],function(i){typeof k=="object"&&typeof x=="object"&&k&&(k.exports=i)})})()});R();})();

//# sourceMappingURL=e0fa6a4fe8bff90d50ce812e666957ca.js.map




© 2015 - 2024 Weber Informatics LLC | Privacy Policy