import{bK as d}from"./vendor.8ed37afc.js";function x(f,c){return c.forEach(function(i){i&&typeof i!="string"&&!Array.isArray(i)&&Object.keys(i).forEach(function(o){if(o!=="default"&&!(o in f)){var l=Object.getOwnPropertyDescriptor(i,o);Object.defineProperty(f,o,l.get?l:{enumerable:!0,get:function(){return i[o]}})}})}),Object.freeze(f)}var a={exports:{}};(function(f,c){(function(i){i(d.exports)})(function(i){i.defineMode("solr",function(){var o=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,l=/[\|\!\+\-\*\?\~\^\&]/,p=/^(OR|AND|NOT|TO)$/i;function k(e){return parseFloat(e).toString()===e}function g(e){return function(n,r){for(var t=!1,s;(s=n.next())!=null&&!(s==e&&!t);)t=!t&&s=="\\";return t||(r.tokenize=u),"string"}}function v(e){return function(n,r){var t="operator";return e=="+"?t+=" positive":e=="-"?t+=" negative":e=="|"?n.eat(/\|/):e=="&"?n.eat(/\&/):e=="^"&&(t+=" boost"),r.tokenize=u,t}}function b(e){return function(n,r){for(var t=e;(e=n.peek())&&e.match(o)!=null;)t+=n.next();return r.tokenize=u,p.test(t)?"operator":k(t)?"number":n.peek()==":"?"field":"string"}}function u(e,n){var r=e.next();return r=='"'?n.tokenize=g(r):l.test(r)?n.tokenize=v(r):o.test(r)&&(n.tokenize=b(r)),n.tokenize!=u?n.tokenize(e,n):null}return{startState:function(){return{tokenize:u}},token:function(e,n){return e.eatSpace()?null:n.tokenize(e,n)}}}),i.defineMIME("text/x-solr","solr")})})();var z=a.exports,y=Object.freeze(x({__proto__:null,[Symbol.toStringTag]:"Module",default:z},[a.exports]));export{y as s};
