"use strict";(self.webpackChunksc_markdown=self.webpackChunksc_markdown||[]).push([[5438],{5438(w,k,f){f.d(k,{solr:()=>z});var u=/[^\s\|\!\+\-\*\?\~\^\&\:\(\)\[\]\{\}\"\\]/,l=/[\|\!\+\-\*\?\~\^\&]/,a=/^(OR|AND|NOT|TO)$/;function i(n,e){var r=n.next();return'"'==r?e.tokenize=function c(n){return function(e,r){for(var o,t=!1;null!=(o=e.next())&&(o!=n||t);)t=!t&&"\\"==o;return t||(r.tokenize=i),"string"}}(r):l.test(r)?e.tokenize=function p(n){return function(e,r){return"|"==n?e.eat(/\|/):"&"==n&&e.eat(/\&/),r.tokenize=i,"operator"}}(r):u.test(r)&&(e.tokenize=function _(n){return function(e,r){for(var t=n;(n=e.peek())&&null!=n.match(u);)t+=e.next();return r.tokenize=i,a.test(t)?"operator":function s(n){return parseFloat(n).toString()===n}(t)?"number":":"==e.peek()?"propertyName":"string"}}(r)),e.tokenize!=i?e.tokenize(n,e):null}const z={name:"solr",startState:function(){return{tokenize:i}},token:function(n,e){return n.eatSpace()?null:e.tokenize(n,e)}}}}]);