"use strict";(self.rspackChunk_jupyterlab_application_top=self.rspackChunk_jupyterlab_application_top||[]).push([[5112],{6843(e,t,n){var r,i,a,u;function o(e,t,n){return function(r,i){for(;!r.eol();){if(r.match(t)){i.tokenize=f;break}r.next()}return n&&(i.tokenize=n),e}}function c(e){return function(t,n){for(;!t.eol();)t.next();return n.tokenize=f,e}}function f(e,t){function n(n){return t.tokenize=n,n(e,t)}var r=e.sol(),i=e.next();switch(i){case"{":return e.eat("/"),e.eatSpace(),e.eatWhile(/[^\s\u00a0=\"\'\/?(}]/),t.tokenize=s,"tag";case"_":if(e.eat("_"))return n(o("strong","__",f));break;case"'":if(e.eat("'"))return n(o("em","''",f));break;case"(":if(e.eat("("))return n(o("link","))",f));break;case"[":return n(o("url","]",f));case"|":if(e.eat("|"))return n(o("comment","||"));break;case"-":if(e.eat("="))return n(o("header string","=-",f));if(e.eat("-"))return n(o("error tw-deleted","--",f));break;case"=":if(e.match("=="))return n(o("tw-underline","===",f));break;case":":if(e.eat(":"))return n(o("comment","::"));break;case"^":return n(o("tw-box","^"));case"~":if(e.match("np~"))return n(o("meta","~/np~"))}if(r)switch(i){case"!":if(e.match("!!!!!"))return n(c("header string"));if(e.match("!!!!"))return n(c("header string"));if(e.match("!!!"))return n(c("header string"));else if(e.match("!!"))return n(c("header string"));else return n(c("header string"));case"*":case"#":case"+":return n(c("tw-listitem bracket"))}return null}function s(e,t){var n,r=e.next(),a=e.peek();if("}"==r)return t.tokenize=f,"tag";if("("==r||")"==r)return"bracket";if("="==r)return i="equals",">"==a&&(e.next(),a=e.peek()),/[\'\"]/.test(a)||(t.tokenize=function(e,t){for(;!e.eol();){var n=e.next(),r=e.peek();if(" "==n||","==n||/[ )}]/.test(r)){t.tokenize=s;break}}return"string"}),"operator";if(!/[\'\"]/.test(r))return e.eatWhile(/[^\s\u00a0=\"\'\/?]/),"keyword";return n=r,t.tokenize=function(e,t){for(;!e.eol();)if(e.next()==n){t.tokenize=s;break}return"string"},t.tokenize(e,t)}function l(){for(var e=arguments.length-1;e>=0;e--)a.cc.push(arguments[e])}function k(){return l.apply(null,arguments),!0}function p(e,t){var n=a.context&&a.context.noIndent;a.context={prev:a.context,pluginName:e,indent:a.indented,startOfLine:t,noIndent:n}}function d(){a.context&&(a.context=a.context.prev)}n.d(t,{tiki:()=>x});function g(e){return"keyword"==e?(u="attribute",k(g)):"equals"==e?k(m,g):l()}function m(e){return"keyword"==e?(u="string",k()):"string"==e?k(h):l()}function h(e){return"string"==e?k(h):l()}let x={name:"tiki",startState:function(){return{tokenize:f,cc:[],indented:0,startOfLine:!0,pluginName:null,context:null}},token:function(e,t){if(e.sol()&&(t.startOfLine=!0,t.indented=e.indentation()),e.eatSpace())return null;u=i=r=null;var n=t.tokenize(e,t);if((n||i)&&"comment"!=n)for(a=t;!(t.cc.pop()||function(e){if("openPlugin"==e){var t;return a.pluginName=r,k(g,(t=a.startOfLine,function(e){return"selfclosePlugin"==e||"endPlugin"==e||"endPlugin"==e&&p(a.pluginName,t),k()}))}if("closePlugin"==e){var n,i=!1;return a.context?(i=a.context.pluginName!=r,d()):i=!0,i&&(u="error"),k((n=i,function(e){return(n&&(u="error"),"endPlugin"==e)?k():l()}))}return"string"==e?(a.context&&"!cdata"==a.context.name||p("!cdata"),a.tokenize==f&&d(),k()):k()})(i||n););return t.startOfLine=!1,u||n},indent:function(e,t,n){var r=e.context;if(r&&r.noIndent)return 0;for(r&&/^{\//.test(t)&&(r=r.prev);r&&!r.startOfLine;)r=r.prev;return r?r.indent+n.unit:0}}}}]);
//# sourceMappingURL=5112.43f76462e47bcf63.js.map?v=43f76462e47bcf63