filesbox/web/dist/88855.69c9a27b.async.js

10 lines
228 KiB
JavaScript
Raw Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[88855],{88855:function(X,V,U){X=U.nmd(X),ace.define("ace/mode/xquery/jsoniq_lexer",["require","exports","module"],function(d,D,j){j.exports=function E(y,C,p){var n=typeof d=="function"&&d;function o(u,k){if(!C[u]){if(!y[u]){var c=typeof d=="function"&&d;if(!k&&c)return c(u,!0);if(n)return n(u,!0);var i=new Error("Cannot find module '"+u+"'");throw i.code="MODULE_NOT_FOUND",i}var t=C[u]={exports:{}};y[u][0].call(t.exports,function(r){var e=y[u][1][r];return o(e||r)},t,t.exports,E,y,C,p)}return C[u].exports}for(var l=0;l<p.length;l++)o(p[l]);return o(p[0])}({"/node_modules/xqlint/lib/lexers/JSONiqTokenizer.js":[function(E,y,C){var p=C.JSONiqTokenizer=function n(o,l){k(o,l);var u=this;this.ParseException=function(g,v,N,S,P){var O=g,B=v,A=N,_=S,J=P;this.getBegin=function(){return O},this.getEnd=function(){return B},this.getState=function(){return A},this.getExpected=function(){return J},this.getOffending=function(){return _},this.getMessage=function(){return _<0?"lexical analysis failed":"syntax error"}};function k(g,v){m=v,R=g,Q=g.length,c(0,0,0)}this.getInput=function(){return R};function c(g,v,N){L=v,b=v,x=g,I=v,q=N,T=N,m.reset(R)}this.getOffendingToken=function(g){var v=g.getOffending();return v>=0?n.TOKEN[v]:null},this.getExpectedTokenSet=function(g){var v;return g.getExpected()<0?v=n.getTokenSet(-g.getState()):v=[n.TOKEN[g.getExpected()]],v},this.getErrorMessage=function(g){var v=this.getExpectedTokenSet(g),N=this.getOffendingToken(g),S=R.substring(0,g.getBegin()),P=S.split(`
`),O=P.length,B=P[O-1].length+1,A=g.getEnd()-g.getBegin();return g.getMessage()+(N==null?"":", found "+N)+`
while expecting `+(v.length==1?v[0]:"["+v.join(", ")+"]")+`
`+(A==0||N!=null?"":"after successfully scanning "+A+" characters beginning ")+"at line "+O+", column "+B+`:
...`+R.substring(g.getBegin(),Math.min(R.length,g.getBegin()+64))+"..."},this.parse_start=function(){switch(m.startNonterminal("start",b),h(14),x){case 58:e(58);break;case 57:e(57);break;case 59:e(59);break;case 43:e(43);break;case 45:e(45);break;case 44:e(44);break;case 37:e(37);break;case 41:e(41);break;case 277:e(277);break;case 274:e(274);break;case 42:e(42);break;case 46:e(46);break;case 52:e(52);break;case 65:e(65);break;case 66:e(66);break;case 49:e(49);break;case 51:e(51);break;case 56:e(56);break;case 54:e(54);break;case 36:e(36);break;case 276:e(276);break;case 40:e(40);break;case 5:e(5);break;case 4:e(4);break;case 6:e(6);break;case 15:e(15);break;case 16:e(16);break;case 18:e(18);break;case 19:e(19);break;case 20:e(20);break;case 8:e(8);break;case 9:e(9);break;case 7:e(7);break;case 35:e(35);break;default:i()}m.endNonterminal("start",b)},this.parse_StartTag=function(){switch(m.startNonterminal("StartTag",b),h(8),x){case 61:e(61);break;case 53:e(53);break;case 29:e(29);break;case 60:e(60);break;case 37:e(37);break;case 41:e(41);break;default:e(35)}m.endNonterminal("StartTag",b)},this.parse_TagContent=function(){switch(m.startNonterminal("TagContent",b),f(11),x){case 25:e(25);break;case 9:e(9);break;case 10:e(10);break;case 58:e(58);break;case 57:e(57);break;case 21:e(21);break;case 31:e(31);break;case 275:e(275);break;case 278:e(278);break;case 274:e(274);break;default:e(35)}m.endNonterminal("TagContent",b)},this.parse_AposAttr=function(){switch(m.startNonterminal("AposAttr",b),f(10),x){case 23:e(23);break;case 27:e(27);break;case 21:e(21);break;case 31:e(31);break;case 275:e(275);break;case 278:e(278);break;case 274:e(274);break;case 41:e(41);break;default:e(35)}m.endNonterminal("AposAttr",b)},this.parse_QuotAttr=function(){switch(m.startNonterminal("QuotAttr",b),f(9),x){case 22:e(22);break;case 26:e(26);break;case 21:e(21);break;case 31:e(31);break;case 275:e(275);break;case 278:e(278);break;case 274:e(274);break;case 37:e(37);break;default:e(35)}m.endNonterminal("QuotAttr",b)},this.parse_CData=function(){switch(m.startNonterminal("CData",b),f(1),x){case 14:e(14);break;case 67:e(67);break;default:e(35)}m.endNonterminal("CData",b)},this.parse_XMLComment=function(){switch(m.startNonterminal("XMLComment",b),f(0),x){case 12:e(12);break;case 50:e(50);break;default:e(35)}m.endNonterminal("XMLComment",b)},this.parse_PI=function(){switch(m.startNonterminal("PI",b),f(3),x){case 13:e(13);break;case 62:e(62);break;case 63:e(63);break;default:e(35)}m.endNonterminal("PI",b)},this.parse_Pragma=function(){switch(m.startNonterminal("Pragma",b),f(2),x){case 11:e(11);break;case 38:e(38);break;case 39:e(39);break;default:e(35)}m.endNonterminal("Pragma",b)},this.parse_Comment=function(){switch(m.startNonterminal("Comment",b),f(4),x){case 55:e(55);break;case 44:e(44);break;case 32:e(32);break;default:e(35)}m.endNonterminal("Comment",b)},this.parse_CommentDoc=function(){switch(m.startNonterminal("CommentDoc",b),f(6),x){case 33:e(33);break;case 34:e(34);break;case 55:e(55);break;case 44:e(44);break;default:e(35)}m.endNonterminal("CommentDoc",b)},this.parse_QuotString=function(){switch(m.startNonterminal("QuotString",b),f(5),x){case 3:e(3);break;case 2:e(2);break;case 1:e(1);break;case 37:e(37);break;default:e(35)}m.endNonterminal("QuotString",b)},this.parse_AposString=function(){switch(m.startNonterminal("AposString",b),f(7),x){case 21:e(21);break;case 31:e(31);break;case 23:e(23);break;case 24:e(24);break;case 41:e(41);break;default:e(35)}m.endNonterminal("AposString",b)},this.parse_Prefix=function(){m.startNonterminal("Prefix",b),h(13),s(),r(),m.endNonterminal("Prefix",b)},this.parse__EQName=function(){m.startNonterminal("_EQName",b),h(12),s(),i(),m.endNonterminal("_EQName",b)};function i(){switch(m.startNonterminal("EQName",b),x){case 80:e(80);break;case 94:e(94);break;case 118:e(118);break;case 119:e(119);break;case 122:e(122);break;case 143:e(143);break;case 150:e(150);break;case 163:e(163);break;case 183:e(183);break;case 189:e(189);break;case 214:e(214);break;case 224:e(224);break;case 225:e(225);break;case 241:e(241);brea
`){var t=k.getCursorPosition(),r=c.getLine(t.row),e=new C(c,t.row,t.column),s=e.getCurrentToken();if(s&&s.type.indexOf("tag-close")!==-1){if(s.value=="/>")return;for(;s&&s.type.indexOf("tag-name")===-1;)s=e.stepBackward();if(!s)return;var a=s.value,h=e.getCurrentTokenRow();if(s=e.stepBackward(),!s||s.type.indexOf("end-tag")!==-1)return;if(this.voidElements&&!this.voidElements[a]){var f=c.getTokenAt(t.row,t.column+1),r=c.getLine(h),w=this.$getIndent(r),M=w+c.getTabString();return f&&f.value==="</"?{text:`
`+M+`
`+w,selection:[1,M.length,1,M.length]}:{text:`
`+M}}}}})};E.inherits(o,y),D.XmlBehaviour=o}),ace.define("ace/mode/behaviour/xquery",["require","exports","module","ace/lib/oop","ace/mode/behaviour","ace/mode/behaviour/cstyle","ace/mode/behaviour/xml","ace/token_iterator"],function(d,D,j){"use strict";var E=d("../../lib/oop"),y=d("../behaviour").Behaviour,C=d("./cstyle").CstyleBehaviour,p=d("../behaviour/xml").XmlBehaviour,n=d("../../token_iterator").TokenIterator;function o(u,k){var c=!0,i=u.type.split("."),t=k.split(".");return t.forEach(function(r){if(i.indexOf(r)==-1)return c=!1,!1}),c}var l=function(){this.inherit(C,["braces","parens","string_dquotes"]),this.inherit(p),this.add("autoclosing","insertion",function(u,k,c,i,t){if(t==">"){var r=c.getCursorPosition(),e=new n(i,r.row,r.column),s=e.getCurrentToken(),a=!1,u=JSON.parse(u).pop();if(s&&s.value===">"||u!=="StartTag")return;if(!s||!o(s,"meta.tag")&&!(o(s,"text")&&s.value.match("/")))do s=e.stepBackward();while(s&&(o(s,"string")||o(s,"keyword.operator")||o(s,"entity.attribute-name")||o(s,"text")));else a=!0;var h=e.stepBackward();if(!s||!o(s,"meta.tag")||h!==null&&h.value.match("/"))return;var f=s.value.substring(1);if(a)var f=f.substring(0,r.column-s.start);return{text:"></"+f+">",selection:[1,1]}}})};E.inherits(l,y),D.XQueryBehaviour=l}),ace.define("ace/mode/folding/cstyle",["require","exports","module","ace/lib/oop","ace/range","ace/mode/folding/fold_mode"],function(d,D,j){"use strict";var E=d("../../lib/oop"),y=d("../../range").Range,C=d("./fold_mode").FoldMode,p=D.FoldMode=function(n){n&&(this.foldingStartMarker=new RegExp(this.foldingStartMarker.source.replace(/\|[^|]*?$/,"|"+n.start)),this.foldingStopMarker=new RegExp(this.foldingStopMarker.source.replace(/\|[^|]*?$/,"|"+n.end)))};E.inherits(p,C),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(n,o,l){var u=n.getLine(l);if(this.singleLineBlockCommentRe.test(u)&&!this.startRegionRe.test(u)&&!this.tripleStarBlockCommentRe.test(u))return"";var k=this._getFoldWidgetBase(n,o,l);return!k&&this.startRegionRe.test(u)?"start":k},this.getFoldWidgetRange=function(n,o,l,u){var k=n.getLine(l);if(this.startRegionRe.test(k))return this.getCommentRegionBlock(n,k,l);var c=k.match(this.foldingStartMarker);if(c){var i=c.index;if(c[1])return this.openingBracketBlock(n,c[1],l,i);var t=n.getCommentFoldRange(l,i+c[0].length,1);return t&&!t.isMultiLine()&&(u?t=this.getSectionRange(n,l):o!="all"&&(t=null)),t}if(o!=="markbegin"){var c=k.match(this.foldingStopMarker);if(c){var i=c.index+c[0].length;return c[1]?this.closingBracketBlock(n,c[1],l,i):n.getCommentFoldRange(l,i,-1)}}},this.getSectionRange=function(n,o){var l=n.getLine(o),u=l.search(/\S/),k=o,c=l.length;o=o+1;for(var i=o,t=n.getLength();++o<t;){l=n.getLine(o);var r=l.search(/\S/);if(r!==-1){if(u>r)break;var e=this.getFoldWidgetRange(n,"all",o);if(e){if(e.start.row<=k)break;if(e.isMultiLine())o=e.end.row;else if(u==r)break}i=o}}return new y(k,c,i,n.getLine(i).length)},this.getCommentRegionBlock=function(n,o,l){for(var u=o.search(/\s*$/),k=n.getLength(),c=l,i=/^\s*(?:\/\*|\/\/|--)#?(end)?region\b/,t=1;++l<k;){o=n.getLine(l);var r=i.exec(o);if(!!r&&(r[1]?t--:t++,!t))break}var e=l;if(e>c)return new y(c,u,e,o.length)}}.call(p.prototype)}),ace.define("ace/mode/jsoniq",["require","exports","module","ace/worker/worker_client","ace/lib/oop","ace/mode/text","ace/mode/text_highlight_rules","ace/mode/xquery/jsoniq_lexer","ace/range","ace/mode/behaviour/xquery","ace/mode/folding/cstyle","ace/anchor"],function(d,D,j){"use strict";var E=d("../worker/worker_client").WorkerClient,y=d("../lib/oop"),C=d("./text").Mode,p=d("./text_highlight_rules").TextHighlightRules,n=d("./xquery/jsoniq_lexer").JSONiqLexer,o=d("../range").Range,l=d("./behaviour/xquery").XQueryBehaviour,u=d("./folding/cstyle").FoldMode,k=d("../anchor").Anchor,c=functio