(self.webpackChunkant_design_pro=self.webpackChunkant_design_pro||[]).push([[73807],{47434:function(g,l,f){"use strict";f.r(l),f.d(l,{tcl:function(){return b}});function u(r){for(var n={},t=r.split(" "),e=0;e!?^\/\|]/;function i(r,n,t){return n.tokenize=t,t(r,n)}function o(r,n){var t=n.beforeParams;n.beforeParams=!1;var e=r.next();if((e=='"'||e=="'")&&n.inParams)return i(r,n,k(e));if(/[\[\]{}\(\),;\.]/.test(e))return e=="("&&t?n.inParams=!0:e==")"&&(n.inParams=!1),null;if(/\d/.test(e))return r.eatWhile(/[\w\.]/),"number";if(e=="#")return r.eat("*")?i(r,n,m):e=="#"&&r.match(/ *\[ *\[/)?i(r,n,h):(r.skipToEnd(),"comment");if(e=='"')return r.skipTo(/"/),"comment";if(e=="$")return r.eatWhile(/[$_a-z0-9A-Z\.{:]/),r.eatWhile(/}/),n.beforeParams=!0,"builtin";if(d.test(e))return r.eatWhile(d),"comment";r.eatWhile(/[\w\$_{}\xa1-\uffff]/);var a=r.current().toLowerCase();return c&&c.propertyIsEnumerable(a)?"keyword":s&&s.propertyIsEnumerable(a)?(n.beforeParams=!0,"keyword"):null}function k(r){return function(n,t){for(var e=!1,a,p=!1;(a=n.next())!=null;){if(a==r&&!e){p=!0;break}e=!e&&a=="\\"}return p&&(t.tokenize=o),"string"}}function m(r,n){for(var t=!1,e;e=r.next();){if(e=="#"&&t){n.tokenize=o;break}t=e=="*"}return"comment"}function h(r,n){for(var t=0,e;e=r.next();){if(e=="#"&&t==2){n.tokenize=o;break}e=="]"?t++:e!=" "&&(t=0)}return"meta"}const b={name:"tcl",startState:function(){return{tokenize:o,beforeParams:!1,inParams:!1}},token:function(r,n){return r.eatSpace()?null:n.tokenize(r,n)},languageData:{commentTokens:{line:"#"}}}}}]);