"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[2432],{2432(s,i,u){function t(e){var r=e.match(/^\s*\S/);return e.skipToEnd(),r?"error":null}u.d(i,{asciiArmor:()=>a});const a={name:"asciiarmor",token:function(e,r){var n;if("top"==r.state)return e.sol()&&(n=e.match(/^-----BEGIN (.*)?-----\s*$/))?(r.state="headers",r.type=n[1],"tag"):t(e);if("headers"==r.state){if(e.sol()&&e.match(/^\w+:/))return r.state="header","atom";var o=t(e);return o&&(r.state="body"),o}return"header"==r.state?(e.skipToEnd(),r.state="headers","string"):"body"==r.state?e.sol()&&(n=e.match(/^-----END (.*)?-----\s*$/))?n[1]!=r.type?"error":(r.state="end","tag"):e.eatWhile(/[A-Za-z0-9+\/=]/)?null:(e.next(),"error"):"end"==r.state?t(e):void 0},blankLine:function(e){"headers"==e.state&&(e.state="body")},startState:function(){return{state:"top",type:null}}}}}]);