import{b$ as b}from"./vendor.c7523e55.js";function _(l,p){return p.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(o){if(o!=="default"&&!(o in l)){var u=Object.getOwnPropertyDescriptor(t,o);Object.defineProperty(l,o,u.get?u:{enumerable:!0,get:function(){return t[o]}})}})}),Object.freeze(Object.defineProperty(l,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(l,p){(function(t){t(b.exports)})(function(t){t.defineMode("sieve",function(o){function u(e){for(var n={},r=e.split(" "),i=0;i<r.length;++i)n[r[i]]=!0;return n}var v=u("if elsif else stop require"),s=u("true false not"),k=o.indentUnit;function f(e,n){var r=e.next();if(r=="/"&&e.eat("*"))return n.tokenize=d,d(e,n);if(r==="#")return e.skipToEnd(),"comment";if(r=='"')return n.tokenize=h(r),n.tokenize(e,n);if(r=="(")return n._indent.push("("),n._indent.push("{"),null;if(r==="{")return n._indent.push("{"),null;if(r==")"&&(n._indent.pop(),n._indent.pop()),r==="}")return n._indent.pop(),null;if(r==","||r==";"||/[{}\(\),;]/.test(r))return null;if(/\d/.test(r))return e.eatWhile(/[\d]/),e.eat(/[KkMmGg]/),"number";if(r==":")return e.eatWhile(/[a-zA-Z_]/),e.eatWhile(/[a-zA-Z0-9_]/),"operator";e.eatWhile(/\w/);var i=e.current();return i=="text"&&e.eat(":")?(n.tokenize=g,"string"):v.propertyIsEnumerable(i)?"keyword":s.propertyIsEnumerable(i)?"atom":null}function g(e,n){return n._multiLineString=!0,e.sol()?(e.next()=="."&&e.eol()&&(n._multiLineString=!1,n.tokenize=f),"string"):(e.eatSpace(),e.peek()=="#"?(e.skipToEnd(),"comment"):(e.skipToEnd(),"string"))}function d(e,n){for(var r=!1,i;(i=e.next())!=null;){if(r&&i=="/"){n.tokenize=f;break}r=i=="*"}return"comment"}function h(e){return function(n,r){for(var i=!1,c;(c=n.next())!=null&&!(c==e&&!i);)i=!i&&c=="\\";return i||(r.tokenize=f),"string"}}return{startState:function(e){return{tokenize:f,baseIndent:e||0,_indent:[]}},token:function(e,n){return e.eatSpace()?null:(n.tokenize||f)(e,n)},indent:function(e,n){var r=e._indent.length;return n&&n[0]=="}"&&r--,r<0&&(r=0),r*k},electricChars:"}"}}),t.defineMIME("application/sieve","sieve")})})();var y=a.exports,x=_({__proto__:null,default:y},[a.exports]);export{x as s};
