import{A as o}from"./index.f4d41e67.entry.js";function u(n,c){return c.forEach(function(t){t&&typeof t!="string"&&!Array.isArray(t)&&Object.keys(t).forEach(function(e){if(e!=="default"&&!(e in n)){var r=Object.getOwnPropertyDescriptor(t,e);Object.defineProperty(n,e,r.get?r:{enumerable:!0,get:function(){return t[e]}})}})}),Object.freeze(Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}))}var a={exports:{}};(function(n,c){(function(t){t(o.exports)})(function(t){t.defineMode("spreadsheet",function(){return{startState:function(){return{stringType:null,stack:[]}},token:function(e,r){if(!!e){switch(r.stack.length===0&&(e.peek()=='"'||e.peek()=="'")&&(r.stringType=e.peek(),e.next(),r.stack.unshift("string")),r.stack[0]){case"string":for(;r.stack[0]==="string"&&!e.eol();)e.peek()===r.stringType?(e.next(),r.stack.shift()):e.peek()==="\\"?(e.next(),e.next()):e.match(/^.[^\\\"\']*/);return"string";case"characterClass":for(;r.stack[0]==="characterClass"&&!e.eol();)e.match(/^[^\]\\]+/)||e.match(/^\\./)||r.stack.shift();return"operator"}var i=e.peek();switch(i){case"[":return e.next(),r.stack.unshift("characterClass"),"bracket";case":":return e.next(),"operator";case"\\":return e.match(/\\[a-z]+/)?"string-2":(e.next(),"atom");case".":case",":case";":case"*":case"-":case"+":case"^":case"<":case"/":case"=":return e.next(),"atom";case"$":return e.next(),"builtin"}return e.match(/\d+/)?e.match(/^\w+/)?"error":"number":e.match(/^[a-zA-Z_]\w*/)?e.match(/(?=[\(.])/,!1)?"keyword":"variable-2":["[","]","(",")","{","}"].indexOf(i)!=-1?(e.next(),"bracket"):(e.eatSpace()||e.next(),null)}}}}),t.defineMIME("text/x-spreadsheet","spreadsheet")})})();var s=a.exports,p=u({__proto__:null,default:s},[a.exports]);export{p as s};
