import{bK as u}from"./vendor.8ed37afc.js";function l(f,i){return i.forEach(function(e){e&&typeof e!="string"&&!Array.isArray(e)&&Object.keys(e).forEach(function(o){if(o!=="default"&&!(o in f)){var n=Object.getOwnPropertyDescriptor(e,o);Object.defineProperty(f,o,n.get?n:{enumerable:!0,get:function(){return e[o]}})}})}),Object.freeze(f)}var c={exports:{}};(function(f,i){(function(e){e(u.exports)})(function(e){var o="><+-.,[]".split("");e.defineMode("brainfuck",function(){return{startState:function(){return{commentLine:!1,left:0,right:0,commentLoop:!1}},token:function(n,t){if(n.eatSpace())return null;n.sol()&&(t.commentLine=!1);var r=n.next().toString();if(o.indexOf(r)!==-1){if(t.commentLine===!0)return n.eol()&&(t.commentLine=!1),"comment";if(r==="]"||r==="[")return r==="["?t.left++:t.right++,"bracket";if(r==="+"||r==="-")return"keyword";if(r==="<"||r===">")return"atom";if(r==="."||r===",")return"def"}else return t.commentLine=!0,n.eol()&&(t.commentLine=!1),"comment";n.eol()&&(t.commentLine=!1)}}}),e.defineMIME("text/x-brainfuck","brainfuck")})})();var a=c.exports,s=Object.freeze(l({__proto__:null,[Symbol.toStringTag]:"Module",default:a},[c.exports]));export{s as b};
