filesbox/web/dist/89899.4e707940.async.js

2 lines
4.6 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[89899],{89899:function(m,R,k){m=k.nmd(m),ace.define("ace/mode/sql_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(n,c,v){"use strict";var h=n("../lib/oop"),g=n("./text_highlight_rules").TextHighlightRules,d=function(){var f="select|insert|update|delete|from|where|and|or|group|by|order|limit|offset|having|as|case|when|then|else|end|type|left|right|join|on|outer|desc|asc|union|create|table|primary|key|if|foreign|not|references|default|null|inner|cross|natural|database|drop|grant|distinct",e="true|false",t="avg|count|first|last|max|min|sum|ucase|lcase|mid|len|round|rank|now|format|coalesce|ifnull|isnull|nvl",i="int|numeric|decimal|date|varchar|char|bigint|float|double|bit|binary|text|set|timestamp|money|real|number|integer",o=this.createKeywordMapper({"support.function":t,keyword:f,"constant.language":e,"storage.type":i},"identifier",!0);this.$rules={start:[{token:"comment",regex:"--.*$"},{token:"comment",start:"/\\*",end:"\\*/"},{token:"string",regex:'".*?"'},{token:"string",regex:"'.*?'"},{token:"string",regex:"`.*?`"},{token:"constant.numeric",regex:"[+-]?\\d+(?:(?:\\.\\d*)?(?:[eE][+-]?\\d+)?)?\\b"},{token:o,regex:"[a-zA-Z_$][a-zA-Z0-9_$]*\\b"},{token:"keyword.operator",regex:"\\+|\\-|\\/|\\/\\/|%|<@>|@>|<@|&|\\^|~|<|>|<=|=>|==|!=|<>|="},{token:"paren.lparen",regex:"[\\(]"},{token:"paren.rparen",regex:"[\\)]"},{token:"text",regex:"\\s+"}]},this.normalizeRules()};h.inherits(d,g),c.SqlHighlightRules=d}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(n,c,v){"use strict";var h=n("../../lib/oop"),g=n("../../range").Range,d=n("./fold_mode").FoldMode,f=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)))};h.inherits(f,d),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 o=e.getLine(i);if(this.singleLineBlockCommentRe.test(o)&&!this.startRegionRe.test(o)&&!this.tripleStarBlockCommentRe.test(o))return"";var a=this._getFoldWidgetBase(e,t,i);return!a&&this.startRegionRe.test(o)?"start":a},this.getFoldWidgetRange=function(e,t,i,o){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 l=r.index;if(r[1])return this.openingBracketBlock(e,r[1],i,l);var s=e.getCommentFoldRange(i,l+r[0].length,1);return s&&!s.isMultiLine()&&(o?s=this.getSectionRange(e,i):t!="all"&&(s=null)),s}if(t!=="markbegin"){var r=a.match(this.foldingStopMarker);if(r){var l=r.index+r[0].length;return r[1]?this.closingBracketBlock(e,r[1],i,l):e.getCommentFoldRange(i,l,-1)}}},this.getSectionRange=function(e,t){var i=e.getLine(t),o=i.search(/\S/),a=t,r=i.length;t=t+1;for(var l=t,s=e.getLength();++t<s;){i=e.getLine(t);var p=i.search(/\S/);if(p!==-1){if(o>p)break;var u=this.getFoldWidgetRange(e,"all",t);if(u){if(u.start.row<=a)break;if(u.isMultiLine())t=u.end.row;else if(o==p)break}l=t}}return new g(a,r,l,e.getLine(l).length)},this.getCommentRegionBlock=function(e,t,i){for(var o=t.search(/\s*$/),a=e.getLength(),r=i,l=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,s=1;++i<a;){t=e.getLine(i);var p=l.exec(t);if(!!p&&(p[1]?s--:s++,!s))break}var u=i;if(u>r)return new g(r,o,u,t.length)}}.call(f.prototype)}),ace.define("ace/mode/folding/sql",["require","exports","module","ace/lib/oop","ace/mode/folding/cstyle"],function(n,c,v){"use strict";var h=n("../../lib/oop"),g=n("./cstyle").FoldMode,d=c.FoldMode=function(){};h.inherits(d,g),function(){}.call(d.prototype)}),ace.define("ace/mode/sql",["require","exports"