web-interface.assets.951a8cbe4efaab1b1451ffd8904fc9dd.js Maven / Gradle / Ivy
(()=>{var b=(i,s)=>()=>(s||i((s={exports:{}}).exports,s),s.exports);var k=b((v,f)=>{ace.define("ace/mode/scheme_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(i,s,m){"use strict";var l=i("../lib/oop"),d=i("./text_highlight_rules").TextHighlightRules,a=function(){var r="case|do|let|loop|if|else|when",h="eq?|eqv?|equal?|and|or|not|null?",e="#t|#f",t="cons|car|cdr|cond|lambda|lambda*|syntax-rules|format|set!|quote|eval|append|list|list?|member?|load",n=this.createKeywordMapper({"keyword.control":r,"keyword.operator":h,"constant.language":e,"support.function":t},"identifier",!0);this.$rules={start:[{token:"comment",regex:";.*$"},{token:["storage.type.function-type.scheme","text","entity.name.function.scheme"],regex:"(?:\\b(?:(define|define-syntax|define-macro))\\b)(\\s+)((?:\\w|\\-|\\!|\\?)*)"},{token:"punctuation.definition.constant.character.scheme",regex:"#:\\S+"},{token:["punctuation.definition.variable.scheme","variable.other.global.scheme","punctuation.definition.variable.scheme"],regex:"(\\*)(\\S*)(\\*)"},{token:"constant.numeric",regex:"#[xXoObB][0-9a-fA-F]+"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?"},{token:n,regex:"[a-zA-Z_#][a-zA-Z0-9_\\-\\?\\!\\*]*"},{token:"string",regex:'"(?=.)',next:"qqstring"}],qqstring:[{token:"constant.character.escape.scheme",regex:"\\\\."},{token:"string",regex:'[^"\\\\]+',merge:!0},{token:"string",regex:"\\\\$",next:"qqstring",merge:!0},{token:"string",regex:'"|$',next:"start",merge:!0}]}};l.inherits(a,d),s.SchemeHighlightRules=a});ace.define("ace/mode/matching_parens_outdent",["require","exports","module","ace/range"],function(i,s,m){"use strict";var l=i("../range").Range,d=function(){};(function(){this.checkOutdent=function(a,r){return/^\s+$/.test(a)?/^\s*\)/.test(r):!1},this.autoOutdent=function(a,r){var h=a.getLine(r),e=h.match(/^(\s*\))/);if(!e)return 0;var t=e[1].length,n=a.findMatchingBracket({row:r,column:t});if(!n||n.row==r)return 0;var c=this.$getIndent(a.getLine(n.row));a.replace(new l(r,0,r,t-1),c)},this.$getIndent=function(a){var r=a.match(/^(\s+)/);return r?r[1]:""}}).call(d.prototype),s.MatchingParensOutdent=d});ace.define("ace/mode/scheme",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/scheme_highlight_rules","ace/mode/matching_parens_outdent"],function(i,s,m){"use strict";var l=i("../lib/oop"),d=i("./text").Mode,a=i("./scheme_highlight_rules").SchemeHighlightRules,r=i("./matching_parens_outdent").MatchingParensOutdent,h=function(){this.HighlightRules=a,this.$outdent=new r,this.$behaviour=this.$defaultBehaviour};l.inherits(h,d),(function(){this.lineCommentStart=";",this.minorIndentFunctions=["define","lambda","define-macro","define-syntax","syntax-rules","define-record-type","define-structure"],this.$toIndent=function(e){return e.split("").map(function(t){return/\s/.exec(t)?t:" "}).join("")},this.$calculateIndent=function(e,t){for(var n=this.$getIndent(e),c=0,g,o,u=e.length-1;u>=0&&(o=e[u],o==="("?(c--,g=!0):o==="("||o==="["||o==="{"?(c--,g=!1):(o===")"||o==="]"||o==="}")&&c++,!(c<0));u--);if(c<0&&g){u+=1;for(var p=u,x="";;){if(o=e[u],o===" "||o===" ")return this.minorIndentFunctions.indexOf(x)!==-1?this.$toIndent(e.substring(0,p-1)+t):this.$toIndent(e.substring(0,u+1));if(o===void 0)return this.$toIndent(e.substring(0,p-1)+t);x+=e[u],u++}}else return c<0&&!g?this.$toIndent(e.substring(0,u+1)):(c>0&&(n=n.substring(0,n.length-t.length)),n)},this.getNextLineIndent=function(e,t,n){return this.$calculateIndent(t,n)},this.checkOutdent=function(e,t,n){return this.$outdent.checkOutdent(t,n)},this.autoOutdent=function(e,t,n){this.$outdent.autoOutdent(t,n)},this.$id="ace/mode/scheme"}).call(h.prototype),s.Mode=h});(function(){ace.require(["ace/mode/scheme"],function(i){typeof f=="object"&&typeof v=="object"&&f&&(f.exports=i)})})()});k();})();
//# sourceMappingURL=951a8cbe4efaab1b1451ffd8904fc9dd.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy