"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[2076],{7546(S,h,s){function a(n){g(n,"start");var i={},e=n.languageData||{},u=!1;for(var d in n)if(d!=e&&n.hasOwnProperty(d))for(var p=i[d]=[],r=n[d],t=0;t<r.length;t++){var f=r[t];p.push(new x(f,n)),(f.indent||f.dedent)&&(u=!0)}return{name:e.name,startState:function(){return{state:"start",pending:null,indent:u?[]:null}},copyState:function(o){var c={state:o.state,pending:o.pending,indent:o.indent&&o.indent.slice(0)};return o.stack&&(c.stack=o.stack.slice(0)),c},token:w(i),indent:_(i,e),mergeTokens:e.mergeTokens,languageData:e}}function g(n,i){if(!n.hasOwnProperty(i))throw new Error("Undefined state "+i+" in simple mode")}function x(n,i){(n.next||n.push)&&g(i,n.next||n.push),this.regex=function k(n,i){if(!n)return/(?:)/;var e="";return n instanceof RegExp?(n.ignoreCase&&(e="i"),n.unicode&&(e+="u"),n=n.source):n=String(n),new RegExp((!1===i?"":"^")+"(?:"+n+")",e)}(n.regex),this.token=function l(n){if(!n)return null;if(n.apply)return n;if("string"==typeof n)return n.replace(/\./g," ");for(var i=[],e=0;e<n.length;e++)i.push(n[e]&&n[e].replace(/\./g," "));return i}(n.token),this.data=n}function w(n){return function(i,e){if(e.pending){var u=e.pending.shift();return 0==e.pending.length&&(e.pending=null),i.pos+=u.text.length,u.token}for(var d=n[e.state],p=0;p<d.length;p++){var r=d[p],t=(!r.data.sol||i.sol())&&i.match(r.regex);if(t){r.data.next?e.state=r.data.next:r.data.push?((e.stack||(e.stack=[])).push(e.state),e.state=r.data.push):r.data.pop&&e.stack&&e.stack.length&&(e.state=e.stack.pop()),r.data.indent&&e.indent.push(i.indentation()+i.indentUnit),r.data.dedent&&e.indent.pop();var f=r.token;if(f&&f.apply&&(f=f(t)),t.length>2&&r.token&&"string"!=typeof r.token){e.pending=[];for(var o=2;o<t.length;o++)t[o]&&e.pending.push({text:t[o],token:r.token[o-1]});return i.backUp(t[0].length-(t[1]?t[1].length:0)),f[0]}return f&&f.join?f[0]:f}}return i.next(),null}}function _(n,i){return function(e,u){if(null==e.indent||i.dontIndentStates&&i.dontIndentStates.indexOf(e.state)>-1)return null;var d=e.indent.length-1,p=n[e.state];n:for(;;){for(var r=0;r<p.length;r++){var t=p[r];if(t.data.dedent&&!1!==t.data.dedentIfLineStart){var f=t.regex.exec(u);if(f&&f[0]){d--,(t.next||t.push)&&(p=n[t.next||t.push]),u=u.slice(f[0].length);continue n}}}break}return d<0?0:e.indent[d]}}s.d(h,{I:()=>a})}}]);