filesbox/web/dist/21374.26178763.async.js

9 lines
64 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[21374],{21374:function(w,C,R){w=R.nmd(w),ace.define("ace/mode/doc_comment_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(s,h,b){"use strict";var f=s("../lib/oop"),p=s("./text_highlight_rules").TextHighlightRules,d=function(){this.$rules={start:[{token:"comment.doc.tag",regex:"@[\\w\\d_]+"},d.getTagRule(),{defaultToken:"comment.doc",caseInsensitive:!0}]}};f.inherits(d,p),d.getTagRule=function(l){return{token:"comment.doc.tag.storage.type",regex:"\\b(?:TODO|FIXME|XXX|HACK)\\b"}},d.getStartRule=function(l){return{token:"comment.doc",regex:"\\/\\*(?=\\*)",next:l}},d.getEndRule=function(l){return{token:"comment.doc",regex:"\\*\\/",next:l}},h.DocCommentHighlightRules=d}),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(s,h,b){"use strict";var f=s("../lib/oop"),p=s("./doc_comment_highlight_rules").DocCommentHighlightRules,d=s("./text_highlight_rules").TextHighlightRules,l="[a-zA-Z\\$_\xA1-\uFFFF][a-zA-Z\\d\\$_\xA1-\uFFFF]*",e=function(c){var u=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"),t="case|do|else|finally|in|instanceof|return|throw|try|typeof|yield|void",r="\\\\(?: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"),o("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:"("+l+")(\\.)(prototype)(\\.)("+l+")(\\s*)(=)",next:"function_arguments"},{token:["storage.type","punctuation.operator","entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+l+")(\\.)("+l+")(\\s*)(=)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","keyword.operator","text","storage.type","text","paren.lparen"],regex:"("+l+")(\\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:"("+l+")(\\.)("+l+")(\\s*)(=)(\\s*)(function\\*?)(\\s+)(\\w+)(\\s*)(\\()",next:"function_arguments"},{token:["storage.type","text","entity.name.function","text","paren.lparen"],regex:"(function\\*?)(\\s+)("+l+")(\\s*)(\\()",next:"function_arguments"},{token:["entity.name.function","text","punctuation.operator","text","storage.type","text","paren.lparen"],regex:"("+l+")(\\s*)(:)(\\s*)(function\\*?)(\\s*)(\\()",next:"function_arguments"},{token:["text","text","storage.type","text","paren.lparen"],regex:"(:)(\
`){var n=u.getCursorPosition(),i=t.getLine(n.row),a=new d(t,n.row,n.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=t.getTokenAt(n.row,n.column+1),i=t.getLine(k),y=this.$getIndent(i),_=y+t.getTabString();return v&&v.value==="</"?{text:`
`+_+`
`+y,selection:[1,_.length,1,_.length]}:{text:`
`+_}}}}})};f.inherits(g,p),h.XmlBehaviour=g}),ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(s,h,b){"use strict";var f=s("../../lib/oop"),p=s("./fold_mode").FoldMode,d=h.FoldMode=function(l,e){this.defaultMode=l,this.subModes=e};f.inherits(d,p),function(){this.$getMode=function(l){typeof l!="string"&&(l=l[0]);for(var e in this.subModes)if(l.indexOf(e)===0)return this.subModes[e];return null},this.$tryMode=function(l,e,g,o){var c=this.$getMode(l);return c?c.getFoldWidget(e,g,o):""},this.getFoldWidget=function(l,e,g){return this.$tryMode(l.getState(g-1),l,e,g)||this.$tryMode(l.getState(g),l,e,g)||this.defaultMode.getFoldWidget(l,e,g)},this.getFoldWidgetRange=function(l,e,g){var o=this.$getMode(l.getState(g-1));return(!o||!o.getFoldWidget(l,e,g))&&(o=this.$getMode(l.getState(g))),(!o||!o.getFoldWidget(l,e,g))&&(o=this.defaultMode),o.getFoldWidgetRange(l,e,g)}}.call(d.prototype)}),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(s,h,b){"use strict";var f=s("../../lib/oop"),p=s("../../range").Range,d=s("./fold_mode").FoldMode,l=h.FoldMode=function(o,c){d.call(this),this.voidElements=o||{},this.optionalEndTags=f.mixin({},this.voidElements),c&&f.mixin(this.optionalEndTags,c)};f.inherits(l,d);var e=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function g(o,c){return o.type.lastIndexOf(c+".xml")>-1}(function(){this.getFoldWidget=function(o,c,u){var t=this._getFirstTagInLine(o,u);return t?t.closing||!t.tagName&&t.selfClosing?c==="markbeginend"?"end":"":!t.tagName||t.selfClosing||this.voidElements.hasOwnProperty(t.tagName.toLowerCase())||this._findEndTagInLine(o,u,t.tagName,t.end.column)?"":"start":this.getCommentFoldWidget(o,u)},this.getCommentFoldWidget=function(o,c){return/comment/.test(o.getState(c))&&/<!-/.test(o.getLine(c))?"start":""},this._getFirstTagInLine=function(o,c){for(var u=o.getTokens(c),t=new e,r=0;r<u.length;r++){var n=u[r];if(g(n,"tag-open")){if(t.end.column=t.start.column+n.value.length,t.closing=g(n,"end-tag-open"),n=u[++r],!n)return null;for(t.tagName=n.value,t.end.column+=n.value.length,r++;r<u.length;r++)if(n=u[r],t.end.column+=n.value.length,g(n,"tag-close")){t.selfClosing=n.value=="/>";break}return t}else if(g(n,"tag-close"))return t.selfClosing=n.value=="/>",t;t.start.column+=n.value.length}return null},this._findEndTagInLine=function(o,c,u,t){for(var r=o.getTokens(c),n=0,i=0;i<r.length;i++){var a=r[i];if(n+=a.value.length,!(n<t)&&g(a,"end-tag-open")&&(a=r[i+1],a&&a.value==u))return!0}return!1},this.getFoldWidgetRange=function(o,c,u){var t=o.getMatchingTags({row:u,column:0});return t?new p(t.openTag.end.row,t.openTag.end.column,t.closeTag.start.row,t.closeTag.start.column):this.getCommentFoldWidget(o,u)&&o.getCommentFoldRange(u,o.getLine(u).length)}}).call(l.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(s,h,b){"use strict";var f=s("../../lib/oop"),p=s("./mixed").FoldMode,d=s("./xml").FoldMode,l=s("./cstyle").FoldMode,e=h.FoldMode=function(g,o){p.call(this,new d(g,o),{"js-":new l,"css-":new l})};f.inherits(e,p)}),ace.define("ace/mode/html_completions",["require","exports","module","ace/token_iterator"],function(s,h,b){"use strict";var f=s("../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"],d=["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
end.rcode-->
`,position:{row:0,column:15}},this.getLanguageMode=function(e){return this.$session.getState(e.row).match(/^r-/)?"R":"HTML"},this.$id="ace/mode/rhtml"}.call(l.prototype),h.Mode=l}),function(){ace.require(["ace/mode/rhtml"],function(s){w&&(w.exports=s)})}()}}]);