web-interface.assets.2611b2dc99534665bf6734ddfa6b8de4.js Maven / Gradle / Ivy
(()=>{var k=(o,s)=>()=>(s||o((s={exports:{}}).exports,s),s.exports);var R=k((b,m)=>{ace.define("ace/mode/applescript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(o,s,v){"use strict";var f=o("../lib/oop"),d=o("./text_highlight_rules").TextHighlightRules,h=function(){var p="about|above|after|against|and|around|as|at|back|before|beginning|behind|below|beneath|beside|between|but|by|considering|contain|contains|continue|copy|div|does|eighth|else|end|equal|equals|error|every|exit|fifth|first|for|fourth|from|front|get|given|global|if|ignoring|in|into|is|it|its|last|local|me|middle|mod|my|ninth|not|of|on|onto|or|over|prop|property|put|ref|reference|repeat|returning|script|second|set|seventh|since|sixth|some|tell|tenth|that|the|then|third|through|thru|timeout|times|to|transaction|try|until|where|while|whose|with|without",e="AppleScript|false|linefeed|return|pi|quote|result|space|tab|true",t="activate|beep|count|delay|launch|log|offset|read|round|run|say|summarize|write",i="alias|application|boolean|class|constant|date|file|integer|list|number|real|record|string|text|character|characters|contents|day|frontmost|id|item|length|month|name|paragraph|paragraphs|rest|reverse|running|time|version|weekday|word|words|year",n=this.createKeywordMapper({"support.function":t,"constant.language":e,"support.type":i,keyword:p},"identifier");this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",regex:"\\(\\*",next:"comment"},{token:"string",regex:'".*?"'},{token:"support.type",regex:"\\b(POSIX file|POSIX path|(date|time) string|quoted form)\\b"},{token:"support.function",regex:"\\b(clipboard info|the clipboard|info for|list (disks|folder)|mount volume|path to|(close|open for) access|(get|set) eof|current date|do shell script|get volume settings|random number|set volume|system attribute|system info|time to GMT|(load|run|store) script|scripting components|ASCII (character|number)|localized string|choose (application|color|file|file name|folder|from list|remote application|URL)|display (alert|dialog))\\b|^\\s*return\\b"},{token:"constant.language",regex:"\\b(text item delimiters|current application|missing value)\\b"},{token:"keyword",regex:"\\b(apart from|aside from|instead of|out of|greater than|isn't|(doesn't|does not) (equal|come before|come after|contain)|(greater|less) than( or equal)?|(starts?|ends|begins?) with|contained by|comes (before|after)|a (ref|reference))\\b"},{token:n,regex:"[a-zA-Z][a-zA-Z0-9_]*\\b"}],comment:[{token:"comment",regex:"\\*\\)",next:"start"},{defaultToken:"comment"}]},this.normalizeRules()};f.inherits(h,d),s.AppleScriptHighlightRules=h});ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(o,s,v){"use strict";var f=o("../../lib/oop"),d=o("../../range").Range,h=o("./fold_mode").FoldMode,p=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(p,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,i){var n=e.getLine(i);if(this.singleLineBlockCommentRe.test(n)&&!this.startRegionRe.test(n)&&!this.tripleStarBlockCommentRe.test(n))return"";var a=this._getFoldWidgetBase(e,t,i);return!a&&this.startRegionRe.test(n)?"start":a},this.getFoldWidgetRange=function(e,t,i,n){var a=e.getLine(i);if(this.startRegionRe.test(a))return this.getCommentRegionBlock(e,a,i);var r=a.match(this.foldingStartMarker);if(r){var c=r.index;if(r[1])return this.openingBracketBlock(e,r[1],i,c);var l=e.getCommentFoldRange(i,c+r[0].length,1);return l&&!l.isMultiLine()&&(n?l=this.getSectionRange(e,i):t!="all"&&(l=null)),l}if(t!=="markbegin"){var r=a.match(this.foldingStopMarker);if(r){var c=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],i,c):e.getCommentFoldRange(i,c,-1)}}},this.getSectionRange=function(e,t){var i=e.getLine(t),n=i.search(/\S/),a=t,c=i.length;t=t+1;for(var l=t,r=e.getLength();++tu)break;var g=this.getFoldWidgetRange(e,"all",t);if(g){if(g.start.row<=a)break;if(g.isMultiLine())t=g.end.row;else if(n==u)break}l=t}}return new d(a,c,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,t,i){for(var n=t.search(/\s*$/),a=e.getLength(),c=i,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,r=1;++ic)return new d(c,n,g,t.length)}}).call(p.prototype)});ace.define("ace/mode/applescript",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mode/applescript_highlight_rules","ace/mode/folding/cstyle"],function(o,s,v){"use strict";var f=o("../lib/oop"),d=o("./text").Mode,h=o("./applescript_highlight_rules").AppleScriptHighlightRules,p=o("./folding/cstyle").FoldMode,e=function(){this.HighlightRules=h,this.foldingRules=new p,this.$behaviour=this.$defaultBehaviour};f.inherits(e,d),(function(){this.lineCommentStart="--",this.blockComment={start:"(*",end:"*)"},this.$id="ace/mode/applescript"}).call(e.prototype),s.Mode=e});(function(){ace.require(["ace/mode/applescript"],function(o){typeof m=="object"&&typeof b=="object"&&m&&(m.exports=o)})})()});R();})();
//# sourceMappingURL=2611b2dc99534665bf6734ddfa6b8de4.js.map
© 2015 - 2024 Weber Informatics LLC | Privacy Policy