filesbox/web/dist/12477.0d145ff4.async.js

2 lines
5.2 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[12477],{12477:function(m,b,_){m=_.nmd(m),ace.define("ace/mode/yaml_highlight_rules",["require","exports","module","ace/lib/oop","ace/mode/text_highlight_rules"],function(o,h,v){"use strict";var s=o("../lib/oop"),c=o("./text_highlight_rules").TextHighlightRules,g=function(){this.$rules={start:[{token:"comment",regex:"#.*$"},{token:"list.markup",regex:/^(?:-{3}|\.{3})\s*(?=#|$)/},{token:"list.markup",regex:/^\s*[\-?](?:$|\s)/},{token:"constant",regex:"!![\\w//]+"},{token:"constant.language",regex:"[&\\*][a-zA-Z0-9-_]+"},{token:["meta.tag","keyword"],regex:/^(\s*\w[^\s:]*?)(:(?=\s|$))/},{token:["meta.tag","keyword"],regex:/(\w[^\s:]*?)(\s*:(?=\s|$))/},{token:"keyword.operator",regex:"<<\\w*:\\w*"},{token:"keyword.operator",regex:"-\\s*(?=[{])"},{token:"string",regex:'["](?:(?:\\\\.)|(?:[^"\\\\]))*?["]'},{token:"string",regex:/[|>][-+\d]*(?:$|\s+(?:$|#))/,onMatch:function(i,n,a,e){e=e.replace(/ #.*/,"");var r=/^ *((:\s*)?-(\s*[^|>])?)?/.exec(e)[0].replace(/\S\s*$/,"").length,t=parseInt(/\d+[\s+-]*$/.exec(e));return t?(r+=t-1,this.next="mlString"):this.next="mlStringPre",a.length?(a[0]=this.next,a[1]=r):(a.push(this.next),a.push(r)),this.token},next:"mlString"},{token:"string",regex:"['](?:(?:\\\\.)|(?:[^'\\\\]))*?[']"},{token:"constant.numeric",regex:/(\b|[+\-\.])[\d_]+(?:(?:\.[\d_]*)?(?:[eE][+\-]?[\d_]+)?)(?=[^\d-\w]|$)$/},{token:"constant.numeric",regex:/[+\-]?\.inf\b|NaN\b|0x[\dA-Fa-f_]+|0b[10_]+/},{token:"constant.language.boolean",regex:"\\b(?:true|false|TRUE|FALSE|True|False|yes|no)\\b"},{token:"paren.lparen",regex:"[[({]"},{token:"paren.rparen",regex:"[\\])}]"},{token:"text",regex:/[^\s,:\[\]\{\}]+/}],mlStringPre:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(i,n,a){var e=a[1];return e>=i.length?(this.next="start",a.shift(),a.shift()):(a[1]=i.length-1,this.next=a[0]="mlString"),this.token},next:"mlString"},{defaultToken:"string"}],mlString:[{token:"indent",regex:/^ *$/},{token:"indent",regex:/^ */,onMatch:function(i,n,a){var e=a[1];return e>=i.length?(this.next="start",a.splice(0)):this.next="mlString",this.token},next:"mlString"},{token:"string",regex:".+"}]},this.normalizeRules()};s.inherits(g,c),h.YamlHighlightRules=g}),ace.define("ace/mode/matching_brace_outdent",["require","exports","module","ace/range"],function(o,h,v){"use strict";var s=o("../range").Range,c=function(){};(function(){this.checkOutdent=function(g,i){return/^\s+$/.test(g)?/^\s*\}/.test(i):!1},this.autoOutdent=function(g,i){var n=g.getLine(i),a=n.match(/^(\s*\})/);if(!a)return 0;var e=a[1].length,r=g.findMatchingBracket({row:i,column:e});if(!r||r.row==i)return 0;var t=this.$getIndent(g.getLine(r.row));g.replace(new s(i,0,i,e-1),t)},this.$getIndent=function(g){return g.match(/^\s*/)[0]}}).call(c.prototype),h.MatchingBraceOutdent=c}),ace.define("ace/mode/folding/coffee",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode","ace/range"],function(o,h,v){"use strict";var s=o("../../lib/oop"),c=o("./fold_mode").FoldMode,g=o("../../range").Range,i=h.FoldMode=function(){};s.inherits(i,c),function(){this.getFoldWidgetRange=function(n,a,e){var r=this.indentationBlock(n,e);if(r)return r;var t=/\S/,l=n.getLine(e),u=l.search(t);if(!(u==-1||l[u]!="#")){for(var d=l.length,f=n.getLength(),k=e,x=e;++e<f;){l=n.getLine(e);var p=l.search(t);if(p!=-1){if(l[p]!="#")break;x=e}}if(x>k){var $=n.getLine(x).length;return new g(k,d,x,$)}}},this.getFoldWidget=function(n,a,e){var r=n.getLine(e),t=r.search(/\S/),l=n.getLine(e+1),u=n.getLine(e-1),d=u.search(/\S/),f=l.search(/\S/);if(t==-1)return n.foldWidgets[e-1]=d!=-1&&d<f?"start":"","";if(d==-1){if(t==f&&r[t]=="#"&&l[t]=="#")return n.foldWidgets[e-1]="",n.foldWidgets[e+1]="","start"}else if(d==t&&r[t]=="#"&&u[t]=="#"&&n.getLine(e-2).search(/\S/)==-1)return n.foldWidgets[e-1]="start",n.foldWidgets[e+1]="","";return d!=-1&&d<t?n.foldWidgets[e-1]="start":n.foldWidgets[e-1]="",t<f?"start":""}}.call(i.prototype)}),ace.define("ace/mode/yaml",["require","exports","module","ace/lib/oop","ace/mode/text","ace/mod