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