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