"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["2366"],{596241:function(e,t,n){var r;function a(e,t){var n,l,s=e.next();if("<"==s&&e.eat("!")){if(e.eatWhile(/[\-]/))return t.tokenize=u,u(e,t);if(e.eatWhile(/[\w]/))return r="doindent","keyword"}else if("<"==s&&e.eat("?")){;return t.tokenize=(n="?>",function(e,t){for(;!e.eol();){if(e.match("?>")){t.tokenize=a;break}e.next()}return"meta"}),r=s,"meta"}else if("#"==s&&e.eatWhile(/[\w]/))return r="tag","atom";else if("|"==s)return r="separator","keyword";else if(s.match(/[\(\)\[\]\-\.,\+\?>]/))return r=s,null;else if(s.match(/[\[\]]/))return r=s,"rule";else if('"'==s||"'"==s){;return t.tokenize=(l=s,function(e,t){for(var n,u=!1;null!=(n=e.next());){if(n==l&&!u){t.tokenize=a;break}u=!u&&"\\"==n}return r="tag","string"}),t.tokenize(e,t)}else if(e.eatWhile(/[a-zA-Z\?\+\d]/)){var i=e.current();return null!==i.substr(i.length-1,i.length).match(/\?|\+/)&&e.backUp(1),r="tag","tag"}else return"%"==s||"*"==s?(r="number","number"):(e.eatWhile(/[\w\\\-_%.{,]/),r=null,null)}function u(e,t){for(var n,u=0;null!=(n=e.next());){if(u>=2&&">"==n){t.tokenize=a;break}u="-"==n?u+1:0}return r="comment","comment"}n.r(t),n.d(t,{dtd:()=>l});let l={name:"dtd",startState:function(){return{tokenize:a,baseIndent:0,stack:[]}},token:function(e,t){if(e.eatSpace())return null;var n=t.tokenize(e,t),a=t.stack[t.stack.length-1];return"["==e.current()||"doindent"===r||"["==r?t.stack.push("rule"):"endtag"===r?t.stack[t.stack.length-1]="endtag":"]"==e.current()||"]"==r||">"==r&&"rule"==a?t.stack.pop():"["==r&&t.stack.push("["),n},indent:function(e,t,n){var a=e.stack.length;return"]"===t.charAt(0)?a--:">"===t.substr(t.length-1,t.length)&&("<"===t.substr(0,1)||"doindent"==r&&t.length>1||("doindent"==r?a--:">"==r&&t.length>1||"tag"==r&&">"!==t||("tag"==r&&"rule"==e.stack[e.stack.length-1]?a--:"tag"==r?a++:">"===t&&"rule"==e.stack[e.stack.length-1]&&">"===r?a--:">"===t&&"rule"==e.stack[e.stack.length-1]||("<"!==t.substr(0,1)&&">"===t.substr(0,1)?a-=1:">"===t||(a-=1)))),(null==r||"]"==r)&&a--),e.baseIndent+a*n.unit},languageData:{indentOnInput:/^\s*[\]>]$/}}}}]);
//# sourceMappingURL=2366.js.map