filesbox/web/dist/4017.af60aeda.async.js

2 lines
4.0 KiB
JavaScript
Raw Permalink Normal View History

2024-07-26 06:10:54 +00:00
(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[4017],{4017:function(c,k,f){"use strict";f.r(k),f.d(k,{factor:function(){return a}});var l=f(11176);const a=(0,l.Q)({start:[{regex:/#?!.*/,token:"comment"},{regex:/"""/,token:"string",next:"string3"},{regex:/(STRING:)(\s)/,token:["keyword",null],next:"string2"},{regex:/\S*?"/,token:"string",next:"string"},{regex:/(?:0x[\d,a-f]+)|(?:0o[0-7]+)|(?:0b[0,1]+)|(?:\-?\d+.?\d*)(?=\s)/,token:"number"},{regex:/((?:GENERIC)|\:?\:)(\s+)(\S+)(\s+)(\()/,token:["keyword",null,"def",null,"bracket"],next:"stack"},{regex:/(M\:)(\s+)(\S+)(\s+)(\S+)/,token:["keyword",null,"def",null,"tag"]},{regex:/USING\:/,token:"keyword",next:"vocabulary"},{regex:/(USE\:|IN\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"tag"]},{regex:/(\S+\:)(\s+)(\S+)(?=\s|$)/,token:["keyword",null,"def"]},{regex:/(?:;|\\|t|f|if|loop|while|until|do|PRIVATE>|<PRIVATE|\.|\S*\[|\]|\S*\{|\})(?=\s|$)/,token:"keyword"},{regex:/\S+[\)>\.\*\?]+(?=\s|$)/,token:"builtin"},{regex:/[\)><]+\S+(?=\s|$)/,token:"builtin"},{regex:/(?:[\+\-\=\/\*<>])(?=\s|$)/,token:"keyword"},{regex:/\S+/,token:"variable"},{regex:/\s+|./,token:null}],vocabulary:[{regex:/;/,token:"keyword",next:"start"},{regex:/\S+/,token:"tag"},{regex:/\s+|./,token:null}],string:[{regex:/(?:[^\\]|\\.)*?"/,token:"string",next:"start"},{regex:/.*/,token:"string"}],string2:[{regex:/^;/,token:"keyword",next:"start"},{regex:/.*/,token:"string"}],string3:[{regex:/(?:[^\\]|\\.)*?"""/,token:"string",next:"start"},{regex:/.*/,token:"string"}],stack:[{regex:/\)/,token:"bracket",next:"start"},{regex:/--/,token:"bracket"},{regex:/\S+/,token:"meta"},{regex:/\s+|./,token:null}],languageData:{name:"factor",dontIndentStates:["start","vocabulary","string","string3","stack"],commentTokens:{line:"!"}}})},11176:function(c,k,f){"use strict";f.d(k,{Q:function(){return l}});function l(n){a(n,"start");var t={},e=n.languageData||{},s=!1;for(var u in n)if(u!=e&&n.hasOwnProperty(u))for(var d=t[u]=[],i=n[u],r=0;r<i.length;r++){var o=i[r];d.push(new S(o,n)),(o.indent||o.dedent)&&(s=!0)}return{name:e.name,startState:function(){return{state:"start",pending:null,indent:s?[]:null}},copyState:function(g){var x={state:g.state,pending:g.pending,indent:g.indent&&g.indent.slice(0)};return g.stack&&(x.stack=g.stack.slice(0)),x},token:w(t),indent:y(t,e),languageData:e}}function a(n,t){if(!n.hasOwnProperty(t))throw new Error("Undefined state "+t+" in simple mode")}function p(n,t){if(!n)return/(?:)/;var e="";return n instanceof RegExp?(n.ignoreCase&&(e="i"),n=n.source):n=String(n),new RegExp((t===!1?"":"^")+"(?:"+n+")",e)}function h(n){if(!n)return null;if(n.apply)return n;if(typeof n=="string")return n.replace(/\./g," ");for(var t=[],e=0;e<n.length;e++)t.push(n[e]&&n[e].replace(/\./g," "));return t}function S(n,t){(n.next||n.push)&&a(t,n.next||n.push),this.regex=p(n.regex),this.token=h(n.token),this.data=n}function w(n){return function(t,e){if(e.pending){var s=e.pending.shift();return e.pending.length==0&&(e.pending=null),t.pos+=s.text.length,s.token}for(var u=n[e.state],d=0;d<u.length;d++){var i=u[d],r=(!i.data.sol||t.sol())&&t.match(i.regex);if(r){i.data.next?e.state=i.data.next:i.data.push?((e.stack||(e.stack=[])).push(e.state),e.state=i.data.push):i.data.pop&&e.stack&&e.stack.length&&(e.state=e.stack.pop()),i.data.indent&&e.indent.push(t.indentation()+t.indentUnit),i.data.dedent&&e.indent.pop();var o=i.token;if(o&&o.apply&&(o=o(r)),r.length>2&&i.token&&typeof i.token!="string"){e.pending=[];for(var g=2;g<r.length;g++)r[g]&&e.pending.push({text:r[g],token:i.token[g-1]});return t.backUp(r[0].length-(r[1]?r[1].length:0)),o[0]}else return o&&o.join?o[0]:o}}return t.next(),null}}function y(n,t){return function(e,s){if(e.indent==null||t.dontIndentStates&&t.doneIndentState.indexOf(e.state)>-1)return null;var u=e.indent.length-1,d=n[e.state];n:for(;;){for(var i=0;i<d.length;i++){var r=d[i];if(r.data.dedent&&r.data.dedentIfLineStart!==!1){var o=r.regex.exec(s);if(o&&o[0]){u--,(r.next||r.push)&&(d=n[r.next||r.push]),s=s.slice(o[0].length);continue n}}}break}return u<0?0:e.indent[u]}}}}]);