"use strict";(self.webpackChunkflow_web_extension=self.webpackChunkflow_web_extension||[]).push([["56833"],{40344:function(e,n,t){t.r(n),t.d(n,{mbox:()=>f});var a=["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"],r=["Date","Subject","Comments","Keywords","Resent-Date"],i=/^[ \t]/,o=/^From /,s=RegExp("^("+a.join("|")+"): "),d=RegExp("^("+r.join("|")+"): "),m=/^[^:]+:/,c=/^[^ ]+@[^ ]+/,l=/^.*?(?=[^ ]+?@[^ ]+)/,u=/^<.*?>/,h=/^.*?(?=<.*>)/;let f={name:"mbox",startState:function(){return{inSeparator:!1,inHeader:!1,emailPermitted:!1,header:null,inHeaders:!1}},token:function(e,n){if(e.sol()){if(n.inSeparator=!1,n.inHeader&&e.match(i))return null;if(n.inHeader=!1,n.header=null,e.match(o))return n.inHeaders=!0,n.inSeparator=!0,"atom";var t,a=!1;return(t=e.match(d))||(a=!0,t=e.match(s))?(n.inHeaders=!0,n.inHeader=!0,n.emailPermitted=a,n.header=t[1],"atom"):n.inHeaders&&(t=e.match(m))?(n.inHeader=!0,n.emailPermitted=!0,n.header=t[1],"atom"):(n.inHeaders=!1,e.skipToEnd(),null)}if(n.inSeparator)return e.match(c)?"link":(e.match(l)||e.skipToEnd(),"atom");if(n.inHeader){var r="Subject"===n.header?"header":"string";if(n.emailPermitted){if(e.match(u))return r+" link";if(e.match(h))return r}return e.skipToEnd(),r}return e.skipToEnd(),null},blankLine:function(e){e.inHeaders=e.inSeparator=e.inHeader=!1},languageData:{autocomplete:a.concat(r)}}}}]);
//# sourceMappingURL=56833.js.map