filesbox/web/dist/51815.07202696.async.js

6 lines
66 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[51815],{51815:function(_,R,C){_=C.nmd(_),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(u,h,y){"use strict";var f=u("../lib/oop"),p=u("./text_highlight_rules").TextHighlightRules,g=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},g.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};f.inherits(g,p),g.getTagRule=function(s){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},g.getStartRule=function(s){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:s}},g.getEndRule=function(s){return{token:"comment.doc",regex:"\\*\\/",next:s}},h.DocCommentHighlightRules=g}),ace.define("ace/mode/javascript_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/doc_comment_highlight_rules","ace/mode/text_highlight_rules"],function(u,h,y){"use strict";var f=u("../lib/oop"),p=u("./doc_comment_highlight_rules").DocCommentHighlightRules,g=u("./text_highlight_rules").TextHighlightRules,s="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",n=function(c){var l=this.createKeywordMapper({"variable.language":"Array|Boolean|Date|Function|Iterator|Number|Object|RegExp|String|Proxy|Symbol|Namespace|QName|XML|XMLList|ArrayBuffer|Float32Array|Float64Array|Int16Array|Int32Array|Int8Array|Uint16Array|Uint32Array|Uint8Array|Uint8ClampedArray|Error|EvalError|InternalError|RangeError|ReferenceError|StopIteration|SyntaxError|TypeError|URIError|decodeURI|decodeURIComponent|encodeURI|encodeURIComponent|eval|isFinite|isNaN|parseFloat|parseInt|JSON|Math|this|arguments|prototype|window|document",keyword:"const|yield|import|get|set|async|await|break|case|catch|continue|default|delete|do|else|finally|for|function|if|in|of|instanceof|new|return|switch|throw|try|typeof|let|var|while|with|debugger|__parent__|__count__|escape|unescape|with|__proto__|class|enum|extends|super|export|implements|private|public|interface|package|protected|static|constructor","storage.type":"const|let|var|function","constant.language":"null|Infinity|NaN|undefined","support.function":"alert","constant.language.boolean":"true|false"},"identifier"),e="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",o="\\\\(?:x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|u{[0-9a-fA-F]{1,6}}|[0-2][0-7]{0,2}|3[0-7][0-7]?|[4-7][0-7]?|.)";this.$rules={no_regex:[p.getStartRule("doc-start"),r("no_regex"),{token:"string",regex:"'(?=.)",next:"qstring"},{token:"string",regex:'"(?=.)',next:"qqstring"},{token:"constant.numeric",regex:/0(?:[xX][0-9a-fA-F]+|[oO][0-7]+|[bB][01]+)\b/},{token:"constant.numeric",regex:/(?:\d\d*(?:\.\d*)?|\.\d+)(?:[eE][+-]?\d+\b)?/},{token:["storage.type","punctuation.operator","support.function","punctuation.operator","entity.name.function","text","keyword.operator"],regex:"("+s+")(\\.)(prototype)(\\.)("+s+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","entity.name.function","text","paren.lparen"],regex:"("+s+")(\\.)("+s+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+s+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+s+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\
`){var t=l.getCursorPosition(),i=e.getLine(t.row),a=new g(e,t.row,t.column),m=a.getCurrentToken();if(m&&m.type.indexOf("tag-close")!==-1){if(m.value=="/>")return;for(;m&&m.type.indexOf("tag-name")===-1;)m=a.stepBackward();if(!m)return;var x=m.value,k=a.getCurrentTokenRow();if(m=a.stepBackward(),!m||m.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[x]){var v=e.getTokenAt(t.row,t.column+1),i=e.getLine(k),b=this.$getIndent(i),w=b+e.getTabString();return v&&v.value==="</"?{text:`
`+w+`
`+b,selection:[1,w.length,1,w.length]}:{text:`
`+w}}}}})};f.inherits(d,p),h.XmlBehaviour=d}),ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(u,h,y){"use strict";var f=u("../../lib/oop"),p=u("./fold_mode").FoldMode,g=h.FoldMode=function(s,n){this.defaultMode=s,this.subModes=n};f.inherits(g,p),function(){this.$getMode=function(s){typeof s!="string"&&(s=s[0]);for(var n in this.subModes)if(s.indexOf(n)===0)return this.subModes[n];return null},this.$tryMode=function(s,n,d,r){var c=this.$getMode(s);return c?c.getFoldWidget(n,d,r):""},this.getFoldWidget=function(s,n,d){return this.$tryMode(s.getState(d-1),s,n,d)||this.$tryMode(s.getState(d),s,n,d)||this.defaultMode.getFoldWidget(s,n,d)},this.getFoldWidgetRange=function(s,n,d){var r=this.$getMode(s.getState(d-1));return(!r||!r.getFoldWidget(s,n,d))&&(r=this.$getMode(s.getState(d))),(!r||!r.getFoldWidget(s,n,d))&&(r=this.defaultMode),r.getFoldWidgetRange(s,n,d)}}.call(g.prototype)}),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(u,h,y){"use strict";var f=u("../../lib/oop"),p=u("../../range").Range,g=u("./fold_mode").FoldMode,s=h.FoldMode=function(r,c){g.call(this),this.voidElements=r||{},this.optionalEndTags=f.mixin({},this.voidElements),c&&f.mixin(this.optionalEndTags,c)};f.inherits(s,g);var n=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function d(r,c){return r.type.lastIndexOf(c+".xml")>-1}(function(){this.getFoldWidget=function(r,c,l){var e=this._getFirstTagInLine(r,l);return e?e.closing||!e.tagName&&e.selfClosing?c==="markbeginend"?"end":"":!e.tagName||e.selfClosing||this.voidElements.hasOwnProperty(e.tagName.toLowerCase())||this._findEndTagInLine(r,l,e.tagName,e.end.column)?"":"start":this.getCommentFoldWidget(r,l)},this.getCommentFoldWidget=function(r,c){return/comment/.test(r.getState(c))&&/<!-/.test(r.getLine(c))?"start":""},this._getFirstTagInLine=function(r,c){for(var l=r.getTokens(c),e=new n,o=0;o<l.length;o++){var t=l[o];if(d(t,"tag-open")){if(e.end.column=e.start.column+t.value.length,e.closing=d(t,"end-tag-open"),t=l[++o],!t)return null;for(e.tagName=t.value,e.end.column+=t.value.length,o++;o<l.length;o++)if(t=l[o],e.end.column+=t.value.length,d(t,"tag-close")){e.selfClosing=t.value=="/>";break}return e}else if(d(t,"tag-close"))return e.selfClosing=t.value=="/>",e;e.start.column+=t.value.length}return null},this._findEndTagInLine=function(r,c,l,e){for(var o=r.getTokens(c),t=0,i=0;i<o.length;i++){var a=o[i];if(t+=a.value.length,!(t<e)&&d(a,"end-tag-open")&&(a=o[i+1],a&&a.value==l))return!0}return!1},this.getFoldWidgetRange=function(r,c,l){var e=r.getMatchingTags({row:l,column:0});return e?new p(e.openTag.end.row,e.openTag.end.column,e.closeTag.start.row,e.closeTag.start.column):this.getCommentFoldWidget(r,l)&&r.getCommentFoldRange(l,r.getLine(l).length)}}).call(s.prototype)}),ace.define("ace/mode/folding/html",["require","exports","module","ace/lib/oop","ace/mode/folding/mixed","ace/mode/folding/xml","ace/mode/folding/cstyle"],function(u,h,y){"use strict";var f=u("../../lib/oop"),p=u("./mixed").FoldMode,g=u("./xml").FoldMode,s=u("./cstyle").FoldMode,n=h.FoldMode=function(d,r){p.call(this,new g(d,r),{"js-":new s,"css-":new s})};f.inherits(n,p)}),ace.define("ace/mode/html_completions",["require","exports","module","ace/token_iterator"],function(u,h,y){"use strict";var f=u("../token_iterator").TokenIterator,p=["accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","inert","itemid","itemprop","itemref","itemscope","itemtype","lang","spellcheck","style","tabindex","title","translate"],g=["onabort","onblur","oncancel","oncanplay","oncanplaythrough","onchange","onclick","onclose","oncontextmenu","oncuechange","ondblclick","ondrag","ondragend","ondragenter","ondragleave","ondragover","ondragstart","ondrop","ondurationchange","onemptied","onended","onerror","onfocus","oninput","oninvalid","onkeydown","onkeypress","onkeyup","onload","onloadeddata","onloadedmet