filesbox/web/dist/91903.013dedeb.async.js
2024-07-26 14:10:54 +08:00

2 lines
5.2 KiB
JavaScript

(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[91903],{91903:function(j,d,f){"use strict";f.r(d),f.d(d,{ecl:function(){return C}});function l(e){for(var n={},t=e.split(" "),r=0;r<t.length;++r)n[t[r]]=!0;return n}function k(e,n){return n.startOfLine?(e.skipToEnd(),"meta"):!1}var w=l("abs acos allnodes ascii asin asstring atan atan2 ave case choose choosen choosesets clustersize combine correlation cos cosh count covariance cron dataset dedup define denormalize distribute distributed distribution ebcdic enth error evaluate event eventextra eventname exists exp failcode failmessage fetch fromunicode getisvalid global graph group hash hash32 hash64 hashcrc hashmd5 having if index intformat isvalid iterate join keyunicode length library limit ln local log loop map matched matchlength matchposition matchtext matchunicode max merge mergejoin min nolocal nonempty normalize parse pipe power preload process project pull random range rank ranked realformat recordof regexfind regexreplace regroup rejected rollup round roundup row rowdiff sample set sin sinh sizeof soapcall sort sorted sqrt stepped stored sum table tan tanh thisnode topn tounicode transfer trim truncate typeof ungroup unicodeorder variance which workunit xmldecode xmlencode xmltext xmlunicode"),x=l("apply assert build buildindex evaluate fail keydiff keypatch loadxml nothor notify output parallel sequential soapcall wait"),E=l("__compressed__ all and any as atmost before beginc++ best between case const counter csv descend encrypt end endc++ endmacro except exclusive expire export extend false few first flat from full function group header heading hole ifblock import in interface joined keep keyed last left limit load local locale lookup macro many maxcount maxlength min skew module named nocase noroot noscan nosort not of only opt or outer overwrite packed partition penalty physicallength pipe quote record relationship repeat return right scan self separator service shared skew skip sql store terminator thor threshold token transform trim true type unicodeorder unsorted validate virtual whole wild within xml xpath"),m=l("ascii big_endian boolean data decimal ebcdic integer pattern qstring real record rule set of string token udecimal unicode unsigned varstring varunicode"),I=l("checkpoint deprecated failcode failmessage failure global independent onwarning persist priority recovery stored success wait when"),u=l("catch class do else finally for if switch try while"),z=l("true false null"),h={"#":k},y=/[+\-*&%=<>!?|\/]/,o;function c(e,n){var t=e.next();if(h[t]){var r=h[t](e,n);if(r!==!1)return r}if(t=='"'||t=="'")return n.tokenize=_(t),n.tokenize(e,n);if(/[\[\]{}\(\),;\:\.]/.test(t))return o=t,null;if(/\d/.test(t))return e.eatWhile(/[\w\.]/),"number";if(t=="/"){if(e.eat("*"))return n.tokenize=v,v(e,n);if(e.eat("/"))return e.skipToEnd(),"comment"}if(y.test(t))return e.eatWhile(y),"operator";e.eatWhile(/[\w\$_]/);var i=e.current().toLowerCase();if(w.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"keyword";if(x.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"variable";if(E.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"modifier";if(m.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"type";if(I.propertyIsEnumerable(i))return u.propertyIsEnumerable(i)&&(o="newstatement"),"builtin";for(var a=i.length-1;a>=0&&(!isNaN(i[a])||i[a]=="_");)--a;if(a>0){var g=i.substr(0,a+1);if(m.propertyIsEnumerable(g))return u.propertyIsEnumerable(g)&&(o="newstatement"),"type"}return z.propertyIsEnumerable(i)?"atom":null}function _(e){return function(n,t){for(var r=!1,i,a=!1;(i=n.next())!=null;){if(i==e&&!r){a=!0;break}r=!r&&i=="\\"}return(a||!r)&&(t.tokenize=c),"string"}}function v(e,n){for(var t=!1,r;r=e.next();){if(r=="/"&&t){n.tokenize=c;break}t=r=="*"}return"comment"}function b(e,n,t,r,i){this.indented=e,this.column=n,this.type=t,this.align=r,this.prev=i}function p(e,n,t){return e.context=new b(e.indented,n,t,null,e.context)}function s(e){var n=e.context.type;return(n==")"||n=="]"||n=="}")&&(e.indented=e.context.indented),e.context=e.context.prev}const C={name:"ecl",startState:function(e){return{tokenize:null,context:new b(-e,0,"top",!1),indented:0,startOfLine:!0}},token:function(e,n){var t=n.context;if(e.sol()&&(t.align==null&&(t.align=!1),n.indented=e.indentation(),n.startOfLine=!0),e.eatSpace())return null;o=null;var r=(n.tokenize||c)(e,n);if(r=="comment"||r=="meta")return r;if(t.align==null&&(t.align=!0),(o==";"||o==":")&&t.type=="statement")s(n);else if(o=="{")p(n,e.column(),"}");else if(o=="[")p(n,e.column(),"]");else if(o=="(")p(n,e.column(),")");else if(o=="}"){for(;t.type=="statement";)t=s(n);for(t.type=="}"&&(t=s(n));t.type=="statement";)t=s(n)}else o==t.type?s(n):(t.type=="}"||t.type=="top"||t.type=="statement"&&o=="newstatement")&&p(n,e.column(),"statement");return n.startOfLine=!1,r},indent:function(e,n,t){if(e.tokenize!=c&&e.tokenize!=null)return 0;var r=e.context,i=n&&n.charAt(0);r.type=="statement"&&i=="}"&&(r=r.prev);var a=i==r.type;return r.type=="statement"?r.indented+(i=="{"?0:t.unit):r.align?r.column+(a?0:1):r.indented+(a?0:t.unit)},languageData:{indentOnInput:/^\s*[{}]$/}}}}]);