"use strict";(self.rspackChunk_jupyterlab_application_top=self.rspackChunk_jupyterlab_application_top||[]).push([[8774],{91189(e,r,t){function a(e){for(var r={},t=e.split(" "),a=0;a<t.length;++a)r[t[a]]=!0;return r}t.d(r,{tcl:()=>f});var n=a("Tcl safe after append array auto_execok auto_import auto_load auto_mkindex auto_mkindex_old auto_qualify auto_reset bgerror binary break catch cd close concat continue dde eof encoding error eval exec exit expr fblocked fconfigure fcopy file fileevent filename filename flush for foreach format gets glob global history http if incr info interp join lappend lindex linsert list llength load lrange lreplace lsearch lset lsort memory msgcat namespace open package parray pid pkg::create pkg_mkIndex proc puts pwd re_syntax read regex regexp registry regsub rename resource return scan seek set socket source split string subst switch tcl_endOfWord tcl_findLibrary tcl_startOfNextWord tcl_wordBreakAfter tcl_startOfPreviousWord tcl_wordBreakBefore tcltest tclvars tell time trace unknown unset update uplevel upvar variable vwait"),o=a("if elseif else and not or eq ne in ni for foreach while switch"),i=/[+\-*&%=<>!?^\/\|]/;function l(e,r,t){return r.tokenize=t,t(e,r)}function s(e,r){var t,a=r.beforeParams;r.beforeParams=!1;var f=e.next();if(('"'==f||"'"==f)&&r.inParams){return l(e,r,(t=f,function(e,r){for(var a,n=!1,o=!1;null!=(a=e.next());){if(a==t&&!n){o=!0;break}n=!n&&"\\"==a}return o&&(r.tokenize=s),"string"}))}if(/[\[\]{}\(\),;\.]/.test(f))return"("==f&&a?r.inParams=!0:")"==f&&(r.inParams=!1),null;if(/\d/.test(f))return e.eatWhile(/[\w\.]/),"number";if("#"==f)return e.eat("*")?l(e,r,u):"#"==f&&e.match(/ *\[ *\[/)?l(e,r,c):(e.skipToEnd(),"comment");if('"'==f)return e.skipTo(/"/),"comment";if("$"==f)return e.eatWhile(/[$_a-z0-9A-Z\.{:]/),e.eatWhile(/}/),r.beforeParams=!0,"builtin";if(i.test(f))return e.eatWhile(i),"comment";e.eatWhile(/[\w\$_{}\xa1-\uffff]/);var p=e.current().toLowerCase();return n&&n.propertyIsEnumerable(p)?"keyword":o&&o.propertyIsEnumerable(p)?(r.beforeParams=!0,"keyword"):null}function u(e,r){for(var t,a=!1;t=e.next();){if("#"==t&&a){r.tokenize=s;break}a="*"==t}return"comment"}function c(e,r){for(var t,a=0;t=e.next();){if("#"==t&&2==a){r.tokenize=s;break}"]"==t?a++:" "!=t&&(a=0)}return"meta"}let f={name:"tcl",startState:function(){return{tokenize:s,beforeParams:!1,inParams:!1}},token:function(e,r){return e.eatSpace()?null:r.tokenize(e,r)},languageData:{commentTokens:{line:"#"}}}}}]);
//# sourceMappingURL=8774.52496f46a527f2ef.js.map?v=52496f46a527f2ef