diff --git a/dist/static/search-worker.js b/dist/static/search-worker.js deleted file mode 100644 index c6fce27a..00000000 --- a/dist/static/search-worker.js +++ /dev/null @@ -1 +0,0 @@ -!function(a){"undefined"==typeof process&&(a.process={argv:[],cwd:function(){return""},browser:!0,env:{NODE_ENV:"development"},version:"",platform:a.navigator&&a.navigator.userAgent&&/Windows/.test(a.navigator.userAgent)?"win":""})}("object"==typeof self&&self.Object==Object?self:"object"==typeof process&&"[object process]"===Object.prototype.toString.call(process)?global:window),!function(b,g,a){var e=g.define,h=function(a){var b,c=a.split("."),d=g;for(b=0;ba&&(d=f),g!=a);)e=d-c,f=c+b(e/2),g=this.elements[2*f];return g==a?2*f:g>a?2*f:gh?l+=2:g==h&&(d+=e[k+1]*a[l+1],k+=2,l+=2);return d},a.Vector.prototype.similarity=function(a){return this.dot(a)/(this.magnitude()*a.magnitude())},a.Vector.prototype.toArray=function(){for(var a=Array(this.elements.length/2),b=1,c=0;bf.length)return f;if(i=f.substr(0,1),"y"==i&&(f=i.toUpperCase()+f.substr(1)),j=/^(.+?)(ss|i)es$/,k=/^(.+?)([^s])s$/,j.test(f)?f=f.replace(j,"$1$2"):k.test(f)&&(f=f.replace(k,"$1$2")),j=/^(.+?)eed$/,k=/^(.+?)(ed|ing)$/,j.test(f)){var n=j.exec(f);j=c,j.test(n[1])&&(j=e,f=f.replace(j,""))}else if(k.test(f)){var n=k.exec(f);g=n[1],k=/^([^aeiou][^aeiouy]*)?[aeiouy]/,k.test(g)&&(f=g,k=/(at|bl|iz)$/,l=/([^aeiouylsz])\1$/,m=/^[^aeiou][^aeiouy]*[aeiouy][^aeiouwxy]$/,k.test(f)?f+="e":l.test(f)?(j=e,f=f.replace(j,"")):m.test(f)&&(f+="e"))}if(j=/^(.+?[^aeiou])y$/,j.test(f)){var n=j.exec(f);g=n[1],f=g+"i"}if(j=/^(.+?)(ational|tional|enci|anci|izer|bli|alli|entli|eli|ousli|ization|ation|ator|alism|iveness|fulness|ousness|aliti|iviti|biliti|logi)$/,j.test(f)){var n=j.exec(f);g=n[1],h=n[2],j=c,j.test(g)&&(f=g+a[h])}if(j=/^(.+?)(icate|ative|alize|iciti|ical|ful|ness)$/,j.test(f)){var n=j.exec(f);g=n[1],h=n[2],j=c,j.test(g)&&(f=g+b[h])}if(j=/^(.+?)(al|ance|ence|er|ic|able|ible|ant|ement|ment|ent|ou|ism|ate|iti|ous|ive|ize)$/,k=/^(.+?)(s|t)(ion)$/,j.test(f)){var n=j.exec(f);g=n[1],j=d,j.test(g)&&(f=g)}else if(k.test(f)){var n=k.exec(f);g=n[1]+n[2],k=d,k.test(g)&&(f=g)}if(j=/^(.+?)e$/,j.test(f)){var n=j.exec(f);g=n[1],j=d,k=/^([^aeiou][^aeiouy]*)?[aeiouy][aeiou]*[^aeiou][^aeiouy]*([aeiouy][aeiou]*)?$/,l=/^[^aeiou][^aeiouy]*[aeiouy][^aeiouwxy]$/,(j.test(g)||k.test(g)&&!l.test(g))&&(f=g)}return j=/ll$/,k=d,j.test(f)&&k.test(f)&&(j=e,f=f.replace(j,"")),"y"==i&&(f=i.toLowerCase()+f.substr(1)),f};return function(a){return a.update(f)}}(),a.Pipeline.registerFunction(a.stemmer,"stemmer"),a.generateStopWordFilter=function(a){var b=a.reduce(function(a,b){return a[b]=b,a},{});return function(a){if(a&&b[a.toString()]!==a.toString())return a}},a.stopWordFilter=a.generateStopWordFilter(["a","able","about","across","after","all","almost","also","am","among","an","and","any","are","as","at","be","because","been","but","by","can","cannot","could","dear","did","do","does","either","else","ever","every","for","from","get","got","had","has","have","he","her","hers","him","his","how","however","i","if","in","into","is","it","its","just","least","let","like","likely","may","me","might","most","must","my","neither","no","nor","not","of","off","often","on","only","or","other","our","own","rather","said","say","says","she","should","since","so","some","than","that","the","their","them","then","there","these","they","this","tis","to","too","twas","us","wants","was","we","were","what","when","where","which","while","who","whom","why","will","with","would","yet","you","your"]),a.Pipeline.registerFunction(a.stopWordFilter,"stopWordFilter"),a.trimmer=function(a){return a.update(function(a){return a.replace(/^\W+/,"").replace(/\W+$/,"")})},a.Pipeline.registerFunction(a.trimmer,"trimmer"),a.TokenSet=function(){this.final=!1,this.edges={},this.id=a.TokenSet._nextId,a.TokenSet._nextId+=1},a.TokenSet._nextId=1,a.TokenSet.fromArray=function(b){for(var c=new a.TokenSet.Builder,d=0,e=b.length;d=d.str.length?i.final=!0:f.push({node:i,editsRemaining:d.editsRemaining-1,str:d.str.slice(2)})}if(0=a;b--){var c=this.uncheckedNodes[b],d=c.child.toString();d in this.minimizedNodes?c.parent.edges[c.char]=this.minimizedNodes[d]:(c.child._str=d,this.minimizedNodes[d]=c.child),this.uncheckedNodes.pop()}},a.Index=function(a){this.invertedIndex=a.invertedIndex,this.fieldVectors=a.fieldVectors,this.tokenSet=a.tokenSet,this.fields=a.fields,this.pipeline=a.pipeline},a.Index.prototype.search=function(b){return this.query(function(c){var d=new a.QueryParser(b,c);d.parse()})},a.Index.prototype.query=function(b){var c=new a.Query(this.fields),d=Object.create(null),e=Object.create(null);b.call(c,c);for(var f=0;fa?0:1=this.length)return a.QueryLexer.EOS;var b=this.str.charAt(this.pos);return this.pos+=1,b},a.QueryLexer.prototype.width=function(){return this.pos-this.start},a.QueryLexer.prototype.ignore=function(){this.start==this.pos&&(this.pos+=1),this.start=this.pos},a.QueryLexer.prototype.backup=function(){this.pos-=1},a.QueryLexer.prototype.acceptDigitRun=function(){var b,c;do b=this.next(),c=b.charCodeAt(0);while(47c);b!=a.QueryLexer.EOS&&this.backup()},a.QueryLexer.prototype.more=function(){return this.pos