"use strict";(self.webpackChunksc_components=self.webpackChunksc_components||[]).push([[7206],{67206(E,l,d){d.d(l,{mbox:()=>b});var i=["From","Sender","Reply-To","To","Cc","Bcc","Message-ID","In-Reply-To","References","Resent-From","Resent-Sender","Resent-To","Resent-Cc","Resent-Bcc","Resent-Message-ID","Return-Path","Received"],o=["Date","Subject","Comments","Keywords","Resent-Date"],c=/^[ \t]/,f=/^From /,t=new RegExp("^("+i.join("|")+"): "),p=new RegExp("^("+o.join("|")+"): "),m=/^[^:]+:/,h=/^[^ ]+@[^ ]+/,k=/^.*?(?=[^ ]+?@[^ ]+)/,s=/^<.*?>/,H=/^.*?(?=<.*>)/;const b={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:function R(e,r){if(e.sol()){if(r.inSeparator=!1,r.inHeader&&e.match(c))return null;if(r.inHeader=!1,r.header=null,e.match(f))return r.inHeaders=!0,r.inSeparator=!0,"atom";var n,u=!1;return(n=e.match(p))||(u=!0)&&(n=e.match(t))?(r.inHeaders=!0,r.inHeader=!0,r.emailPermitted=u,r.header=n[1],"atom"):r.inHeaders&&(n=e.match(m))?(r.inHeader=!0,r.emailPermitted=!0,r.header=n[1],"atom"):(r.inHeaders=!1,e.skipToEnd(),null)}if(r.inSeparator)return e.match(h)?"link":(e.match(k)||e.skipToEnd(),"atom");if(r.inHeader){var a=function v(e){return"Subject"===e?"header":"string"}(r.header);if(r.emailPermitted){if(e.match(s))return a+" link";if(e.match(H))return a}return e.skipToEnd(),a}return e.skipToEnd(),null},blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:i.concat(o)}}}}]);