filesbox/web/dist/52783.dd883717.async.js

6 lines
78 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[52783],{52783:function(M,A,$){M=$.nmd(M),ace.define("ace/mode/css_highlight_rules",["require","exports","module","ace/lib/oop","ace/lib/lang","ace/mode/text_highlight_rules"],function(c,m,w){"use strict";var x=c("../lib/oop"),b=c("../lib/lang"),h=c("./text_highlight_rules").TextHighlightRules,g=m.supportType="align-content|align-items|align-self|all|animation|animation-delay|animation-direction|animation-duration|animation-fill-mode|animation-iteration-count|animation-name|animation-play-state|animation-timing-function|backface-visibility|background|background-attachment|background-blend-mode|background-clip|background-color|background-image|background-origin|background-position|background-repeat|background-size|border|border-bottom|border-bottom-color|border-bottom-left-radius|border-bottom-right-radius|border-bottom-style|border-bottom-width|border-collapse|border-color|border-image|border-image-outset|border-image-repeat|border-image-slice|border-image-source|border-image-width|border-left|border-left-color|border-left-style|border-left-width|border-radius|border-right|border-right-color|border-right-style|border-right-width|border-spacing|border-style|border-top|border-top-color|border-top-left-radius|border-top-right-radius|border-top-style|border-top-width|border-width|bottom|box-shadow|box-sizing|caption-side|clear|clip|color|column-count|column-fill|column-gap|column-rule|column-rule-color|column-rule-style|column-rule-width|column-span|column-width|columns|content|counter-increment|counter-reset|cursor|direction|display|empty-cells|filter|flex|flex-basis|flex-direction|flex-flow|flex-grow|flex-shrink|flex-wrap|float|font|font-family|font-size|font-size-adjust|font-stretch|font-style|font-variant|font-weight|hanging-punctuation|height|justify-content|left|letter-spacing|line-height|list-style|list-style-image|list-style-position|list-style-type|margin|margin-bottom|margin-left|margin-right|margin-top|max-height|max-width|max-zoom|min-height|min-width|min-zoom|nav-down|nav-index|nav-left|nav-right|nav-up|opacity|order|outline|outline-color|outline-offset|outline-style|outline-width|overflow|overflow-x|overflow-y|padding|padding-bottom|padding-left|padding-right|padding-top|page-break-after|page-break-before|page-break-inside|perspective|perspective-origin|position|quotes|resize|right|tab-size|table-layout|text-align|text-align-last|text-decoration|text-decoration-color|text-decoration-line|text-decoration-style|text-indent|text-justify|text-overflow|text-shadow|text-transform|top|transform|transform-origin|transform-style|transition|transition-delay|transition-duration|transition-property|transition-timing-function|unicode-bidi|user-select|user-zoom|vertical-align|visibility|white-space|width|word-break|word-spacing|word-wrap|z-index",o=m.supportFunction="rgb|rgba|url|attr|counter|counters",u=m.supportConstant="absolute|after-edge|after|all-scroll|all|alphabetic|always|antialiased|armenian|auto|avoid-column|avoid-page|avoid|balance|baseline|before-edge|before|below|bidi-override|block-line-height|block|bold|bolder|border-box|both|bottom|box|break-all|break-word|capitalize|caps-height|caption|center|central|char|circle|cjk-ideographic|clone|close-quote|col-resize|collapse|column|consider-shifts|contain|content-box|cover|crosshair|cubic-bezier|dashed|decimal-leading-zero|decimal|default|disabled|disc|disregard-shifts|distribute-all-lines|distribute-letter|distribute-space|distribute|dotted|double|e-resize|ease-in|ease-in-out|ease-out|ease|ellipsis|end|exclude-ruby|flex-end|flex-start|fill|fixed|georgian|glyphs|grid-height|groove|hand|hanging|hebrew|help|hidden|hiragana-iroha|hiragana|horizontal|icon|ideograph-alpha|ideograph-numeric|ideograph-parenthesis|ideograph-space|ideographic|inactive|include-ruby|inherit|initial|inline-block|inline-box|inline-line-height|inline-table|inline|inset|inside|inter-ideograph|inter-word|invert|italic|justify|katakana-iroha|katakana|keep-all|last|left|lighter|line-edge|line-through|line|linear|list-item|loc
`){var n=i.getCursorPosition(),a=e.getLine(n.row),s=new h(e,n.row,n.column),p=s.getCurrentToken();if(p&&p.type.indexOf("tag-close")!==-1){if(p.value=="/>")return;for(;p&&p.type.indexOf("tag-name")===-1;)p=s.stepBackward();if(!p)return;var v=p.value,_=s.getCurrentTokenRow();if(p=s.stepBackward(),!p||p.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[v]){var y=e.getTokenAt(n.row,n.column+1),a=e.getLine(_),C=this.$getIndent(a),f=C+e.getTabString();return y&&y.value==="</"?{text:`
`+f+`
`+C,selection:[1,f.length,1,f.length]}:{text:`
`+f}}}}})};x.inherits(u,b),m.XmlBehaviour=u}),ace.define("ace/mode/folding/mixed",["require","exports","module","ace/lib/oop","ace/mode/folding/fold_mode"],function(c,m,w){"use strict";var x=c("../../lib/oop"),b=c("./fold_mode").FoldMode,h=m.FoldMode=function(g,o){this.defaultMode=g,this.subModes=o};x.inherits(h,b),function(){this.$getMode=function(g){typeof g!="string"&&(g=g[0]);for(var o in this.subModes)if(g.indexOf(o)===0)return this.subModes[o];return null},this.$tryMode=function(g,o,u,r){var l=this.$getMode(g);return l?l.getFoldWidget(o,u,r):""},this.getFoldWidget=function(g,o,u){return this.$tryMode(g.getState(u-1),g,o,u)||this.$tryMode(g.getState(u),g,o,u)||this.defaultMode.getFoldWidget(g,o,u)},this.getFoldWidgetRange=function(g,o,u){var r=this.$getMode(g.getState(u-1));return(!r||!r.getFoldWidget(g,o,u))&&(r=this.$getMode(g.getState(u))),(!r||!r.getFoldWidget(g,o,u))&&(r=this.defaultMode),r.getFoldWidgetRange(g,o,u)}}.call(h.prototype)}),ace.define("ace/mode/folding/xml",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(c,m,w){"use strict";var x=c("../../lib/oop"),b=c("../../range").Range,h=c("./fold_mode").FoldMode,g=m.FoldMode=function(r,l){h.call(this),this.voidElements=r||{},this.optionalEndTags=x.mixin({},this.voidElements),l&&x.mixin(this.optionalEndTags,l)};x.inherits(g,h);var o=function(){this.tagName="",this.closing=!1,this.selfClosing=!1,this.start={row:0,column:0},this.end={row:0,column:0}};function u(r,l){return r.type.lastIndexOf(l+".xml")>-1}(function(){this.getFoldWidget=function(r,l,i){var e=this._getFirstTagInLine(r,i);return e?e.closing||!e.tagName&&e.selfClosing?l==="markbeginend"?"end":"":!e.tagName||e.selfClosing||this.voidElements.hasOwnProperty(e.tagName.toLowerCase())||this._findEndTagInLine(r,i,e.tagName,e.end.column)?"":"start":this.getCommentFoldWidget(r,i)},this.getCommentFoldWidget=function(r,l){return/comment/.test(r.getState(l))&&/<!-/.test(r.getLine(l))?"start":""},this._getFirstTagInLine=function(r,l){for(var i=r.getTokens(l),e=new o,t=0;t<i.length;t++){var n=i[t];if(u(n,"tag-open")){if(e.end.column=e.start.column+n.value.length,e.closing=u(n,"end-tag-open"),n=i[++t],!n)return null;for(e.tagName=n.value,e.end.column+=n.value.length,t++;t<i.length;t++)if(n=i[t],e.end.column+=n.value.length,u(n,"tag-close")){e.selfClosing=n.value=="/>";break}return e}else if(u(n,"tag-close"))return e.selfClosing=n.value=="/>",e;e.start.column+=n.value.length}return null},this._findEndTagInLine=function(r,l,i,e){for(var t=r.getTokens(l),n=0,a=0;a<t.length;a++){var s=t[a];if(n+=s.value.length,!(n<e)&&u(s,"end-tag-open")&&(s=t[a+1],s&&s.value==i))return!0}return!1},this.getFoldWidgetRange=function(r,l,i){var e=r.getMatchingTags({row:i,column:0});return e?new b(e.openTag.end.row,e.openTag.end.column,e.closeTag.start.row,e.closeTag.start.column):this.getCommentFoldWidget(r,i)&&r.getCommentFoldRange(i,r.getLine(i).length)}}).call(g.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(c,m,w){"use strict";var x=c("../../lib/oop"),b=c("./mixed").FoldMode,h=c("./xml").FoldMode,g=c("./cstyle").FoldMode,o=m.FoldMode=function(u,r){b.call(this,new h(u,r),{"js-":new g,"css-":new g})};x.inherits(o,b)}),ace.define("ace/mode/html_completions",["require","exports","module","ace/token_iterator"],function(c,m,w){"use strict";var x=c("../token_iterator").TokenIterator,b=["accesskey","class","contenteditable","contextmenu","dir","draggable","dropzone","hidden","id","inert","itemid","itemprop","itemref","itemscope","itemtype","lang","spellcheck","style","tabindex","title","translate"],h=["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