Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

flexsearch

Package Overview
Dependencies
Maintainers
1
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

flexsearch - npm Package Compare versions

Comparing version 0.5.3 to 0.5.31

2

CHANGELOG.md

@@ -13,3 +13,3 @@ # Changelog

- Provide customizable scoring resolution
- Customizable Scoring Resolution

@@ -16,0 +16,0 @@ #### v0.5.0

@@ -116,3 +116,3 @@ var child_process = require('child_process');

exec("java -jar node_modules/google-closure-compiler-java/compiler.jar" + parameter + "' --js='flexsearch.js' --js='lang/**.js' --js='!lang/**.min.js'" + flag_str + " --js_output_file='dist/flexsearch." + (options["RELEASE"] || "custom") + ".js' && exit 0", function(){
exec("java -jar node_modules/google-closure-compiler-java/compiler.jar" + parameter + " --js='flexsearch.js' --js='lang/**.js' --js='!lang/**.min.js'" + flag_str + " --js_output_file='dist/flexsearch." + (options["RELEASE"] || "custom") + ".js' && exit 0", function(){

@@ -119,0 +119,0 @@ var filename = "flexsearch." + (options["RELEASE"] || "custom") + ".js";

/*
FlexSearch v0.5.3
FlexSearch v0.5.31
Copyright 2019 Nextapps GmbH

@@ -8,23 +8,23 @@ Author: Thomas Wilkerling

*/
'use strict';(function(k,A,B){let z;(z=B.define)&&z.amd?z([],function(){return A}):(z=B.modules)?z[k.toLowerCase()]=A:"object"===typeof exports?module.exports=A:B[k]=A})("FlexSearch",function(){function k(b,a){const c=a?a.id:b&&b.id;this.id=c||0===c?c:U++;this.init(b,a);z(this,"index",function(){return this.f});z(this,"length",function(){return Object.keys(this.f).length})}function A(b,a){const c=b.length,d=E(a),f=[];for(let g=0,h=0;g<c;g++){const c=b[g];if(d&&a(c)||!d&&!a[c])f[h++]=c}return f}function B(b,
a,c,d,f,g,h){b=this.g;a=c=M(c,a,g?0:f,h,!1);c=a.length;h=Array(c);for(let d=0;d<c;d++)h[d]=b[a[d]];c=h;g&&(c=this.where(g,null,f,c));d&&(E(d)||(x=d.split(":"),1<x.length?d=V:(x=x[0],d=W)),c.sort(d));return c}function z(b,a,c){Object.defineProperty(b,a,{get:c})}function e(b){return new RegExp(b,"g")}function C(b,a){for(let c=0;c<a.length;c+=2)b=b.replace(a[c],a[c+1]);return b}function I(b,a,c,d,f,g,h,r){if(a[c])return a[c];f=f?(r-(h||r/1.5))*g+(h||r/1.5)*f:g;a[c]=f;f>=h&&(b=b[r-(f+.5>>0)],b=b[c]||
(b[c]=[]),b[b.length]=d);return f}function J(b,a){if(b){const c=Object.keys(b);for(let d=0,f=c.length;d<f;d++){const f=c[d],h=b[f];if(h)for(let c=0,d=h.length;c<d;c++)if(h[c]===a){1===d?delete b[f]:h.splice(c,1);break}else D(h[c])&&J(h[c],a)}}}function K(b){let a="",c="";var d="";for(let f=0;f<b.length;f++){const g=b[f];if(g!==c)if(f&&"h"===g){if(d="a"===d||"e"===d||"i"===d||"o"===d||"u"===d||"y"===d,("a"===c||"e"===c||"i"===c||"o"===c||"u"===c||"y"===c)&&d||" "===c)a+=g}else a+=g;d=f===b.length-
1?"":b[f+1];c=g}return a}function X(b,a){b=b.length-a.length;return 0>b?1:b?-1:0}function W(b,a){b=b[x];a=a[x];return b<a?-1:b>a?1:0}function V(b,a){const c=x.length;for(let d=0;d<c;d++)b=b[x[d]],a=a[x[d]];return b<a?-1:b>a?1:0}function M(b,a,c,d,f){d=[];let g;const h=b.length;if(1<h){a="or"===a;const e=w();let p,m=-1,l,q=0,N,v,k=!0,u=0;for(;++m<h;){const n=m===h-1;p=b[m];l=p.length;if(!l){if(!a&&!f)return d;if(n&&!u)return N||d;continue}if(k){if(n)return p;for(;q<l;)e["@"+p[q++]]=1;N=p;k=!1;continue}let O=
!1;g=[];for(q=0;q<l;){v=p[q++];var r="@"+v;if(e[r]){const b=e[r];if(a||b===m){if(n){if(d[u++]=v,c&&u===c)return d}else e[r]=m+1;O=!0}else f&&(r=g[b]||(g[b]=[]),r[r.length]=v)}}if(!O&&!f)break}if(f&&(u=d.length,(m=g.length)&&(!c||u<c)))for(;m--;)if(v=g[m])for(q=0,l=v.length;q<l;q++)if(d[u++]=v[q],c&&u===c)return d}else h&&(d=b[0],c&&d.length>c&&(d=d.slice(0,c)));return d}function F(b){return"string"===typeof b}function y(b){return b.constructor===Array}function E(b){return"function"===typeof b}function D(b){return"object"===
typeof b}function G(b){return"undefined"===typeof b}function P(b){const a=Array(b);for(let c=0;c<b;c++)a[c]=w();return a}function w(){return Object.create(null)}const t={encode:"icase",c:"forward",v:!1,cache:!1,async:!1,w:!1,m:!1,a:!1,s:!1,b:9,threshold:0,depth:0},Q={memory:{encode:"extra",c:"strict",threshold:0,b:1},speed:{encode:"icase",c:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",c:"full",threshold:1,b:3},score:{encode:"extra",c:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",
c:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",c:"strict",threshold:8,b:9,depth:1}},L=[];let U=0;const R=/\W+/,S={},T={};k.create=function(b){return new k(b)};k.registerMatcher=function(b){for(const a in b)b.hasOwnProperty(a)&&L.push(e(a),b[a]);return this};k.registerEncoder=function(b,a){H[b]=a.bind(H);return this};k.registerLanguage=function(b,a){S[b]=a.filter;T[b]=a.stemmer;return this};k.encode=function(b,a){return H[b](a)};k.prototype.init=function(b,a){this.o=[];if(a){var c=a.preset;
b=a}else b||(b=t),c=b.preset;a={};F(b)?(a=Q[b],b={}):c&&(a=Q[c]);this.c=b.tokenize||a.c||this.c||t.c;this.m=b.rtl||this.m||t.m;this.async="undefined"===typeof Promise||G(c=b.async)?this.async||t.async:c;this.threshold=G(c=b.threshold)?a.threshold||this.threshold||t.threshold:c;this.b=G(c=b.resolution)?c=a.b||this.b||t.b:c;c<=this.threshold&&(this.b=this.threshold+1);this.depth=G(c=b.depth)?a.depth||this.depth||t.depth:c;this.s=G(c=b.paging)?this.s||t.s:c;this.i=(c=G(c=b.encode)?a.encode||t.encode:
c)&&H[c]&&H[c].bind(H)||(E(c)?c:this.i||!1);(c=b.matcher)&&this.addMatcher(c);if(c=b.filter){F(c)&&(c=S[c]);if(y(c)){a=this.i;var d=w();for(var f=0;f<c.length;f++){var g=a?a(c[f]):c[f];d[g]=1}c=d}this.filter=c}if(c=b.stemmer){var h;a=F(c)?T[c]:c;d=this.i;f=[];for(h in a)a.hasOwnProperty(h)&&(g=d?d(h):h,f.push(e(g+"($|\\W)"),d?d(a[h]):a[h]));this.stemmer=h=f}this.a=d=(c=b.doc)?c:this.a||t.a;this.l=P(this.b-(this.threshold||0));this.h=w();this.f=w();if(d&&(this.g=w(),b.doc=null,h=d.index={},c=d.keys=
[],a=d.field,y(d.id)||(d.id=d.id.split(":")),a)){let g;y(a)||(D(a)?(g=a,d.field=a=Object.keys(a)):d.field=a=[a]);for(d=0;d<a.length;d++)f=a[d],y(f)||(g&&(b=g[f]),c[d]=f,a[d]=f.split(":")),h[f]=new k(b),h[f].g=this.g}return this};k.prototype.encode=function(b){b&&L.length&&(b=C(b,L));b&&this.o.length&&(b=C(b,this.o));b&&this.i&&(b=this.i(b));b&&this.stemmer&&(b=C(b,this.stemmer));return b};k.prototype.addMatcher=function(b){const a=this.o;for(const c in b)b.hasOwnProperty(c)&&a.push(e(c),b[c]);return this};
k.prototype.add=function(b,a,c,d,f){if(this.a&&D(b))return this.j("add",b,a);if(a&&F(a)&&(b||0===b)){var g="@"+b;if(this.f[g]&&!d)return this.update(b,a);if(!f){if(this.async&&"function"!==typeof importScripts){let f=this;g=new Promise(function(c){setTimeout(function(){f.add(b,a,null,d,!0);f=null;c()})});if(c)g.then(c);else return g;return this}if(c)return this.add(b,a,null,d,!0),c(),this}a=this.encode(a);if(!a.length)return this;c=this.c;f=E(c)?c(a):a.split(R);this.filter&&(f=A(f,this.filter));const l=
w();l._ctx=w();const q=f.length,r=this.threshold,v=this.depth,k=this.b,u=this.l,t=this.m;for(let a=0;a<q;a++){var h=f[a];if(h){var e=h.length,n=(t?a+1:q-a)/q,p="";switch(c){case "reverse":case "both":for(var m=e;--m;)p=h[m]+p,I(u,l,p,b,t?1:(e-m)/e,n,r,k-1);p="";case "forward":for(m=0;m<e;m++)p+=h[m],I(u,l,p,b,t?(m+1)/e:1,n,r,k-1);break;case "full":for(m=0;m<e;m++){const a=(t?m+1:e-m)/e;for(let c=e;c>m;c--)p=h.substring(m,c),I(u,l,p,b,a,n,r,k-1)}break;default:if(e=I(u,l,h,b,1,n,r,k-1),v&&1<q&&e>=r)for(e=
l._ctx[h]||(l._ctx[h]=w()),h=this.h[h]||(this.h[h]=P(k-(r||0))),n=a-v,p=a+v+1,0>n&&(n=0),p>q&&(p=q);n<p;n++)n!==a&&I(h,e,f[n],b,0,k-(n<a?a-n:n-a),r,k-1)}}}this.f[g]=1}return this};k.prototype.j=function(b,a,c){if(y(a))for(let d=0,f=a.length;d<f;d++){if(d===f-1)return this.j(b,a[d],c);this.j(b,a[d])}else{const n=this.a.index,k=this.a.keys;var d=this.a.tag,f=this.a.id;let m;let l;for(var g=0;g<f.length;g++)m=(m||a)[f[g]];if(d){for(f=0;f<d.length;f++){var h=d[f];var e=h.split(":");for(g=0;g<e.length;g++)l=
(l||a)[e[g]];l="@"+l}e=this.u[h];e=e[l]||(e[l]=[])}if("remove"===b){delete this.g[m];for(let a=0,b=k.length;a<b;a++){if(a===b-1)return n[k[a]].remove(m,c);n[k[a]].remove(m)}}f=this.a.field;e&&(e[e.length]=a);for(let e=0,g=f.length;e<g;e++){d=f[e];let l;for(h=0;h<d.length;h++)l=(l||a)[d[h]];this.g[m]=a;d=n[k[e]];h="add"===b?d.add:d.update;if(e===g-1)return h.call(d,m,l,c);h.call(d,m,l)}}};k.prototype.update=function(b,a,c){if(this.a&&D(b))return this.j("update",b,a);this.f["@"+b]&&F(a)&&(this.remove(b),
this.add(b,a,c,!0));return this};k.prototype.remove=function(b,a,c){if(this.a&&D(b))return this.j("remove",b,a);var d="@"+b;if(this.f[d]){if(!c){if(this.async&&"function"!==typeof importScripts){let c=this;d=new Promise(function(a){setTimeout(function(){c.remove(b,null,!0);c=null;a()})});if(a)d.then(a);else return d;return this}if(a)return this.remove(b,null,!0),a(),this}for(a=0;a<this.b-(this.threshold||0);a++)J(this.l[a],b);this.depth&&J(this.h,b);delete this.f[d]}return this};let x;k.prototype.search=
function(b,a,c,d){if(D(a)){if(y(a))for(var e=0;e<a.length;e++)a[e].query=b;else a.query=b;b=a;a=0}let g=b;let h=[];if(D(b)&&!y(b)){(c=b.callback||a)&&(g.callback=null);a=b.limit;var k=b.threshold;b=b.query}if(this.a){let d=!1,e=g.bool,f=g.sort;k=this.a.index;var n=g.field;if(n)g.field=null,y(n)||(n=[n]);else if(y(g)){var p=g;n=[];for(var m=0;m<g.length;m++){var l=g[m];n[m]=l.field;e=l.bool;f=l.sort;d=!1}}else n=this.a.keys;m=n.length;for(l=0;l<m;l++)p&&(g=p[l]),h[l]=k[n[l]].search(g);if(c)return c(B.call(this,
b,e,h,f,a,d,void 0));if(this.async){const c=this;return new Promise(function(g){Promise.all(h).then(function(h){g(B.call(c,b,e,h,f,a,d,void 0))})})}return B.call(this,b,e,h,f,a,d,void 0)}k||(k=this.threshold||0);E(a)?(c=a,a=1E3):a||0===a||(a=1E3);if(!d){if(this.async&&"function"!==typeof importScripts){let b=this;k=new Promise(function(c){setTimeout(function(){c(b.search(g,a,null,!0));b=null})});if(c)k.then(c);else return k;return this}if(c)return c(this.search(g,a,null,!0)),this}if(!b||!F(b))return h;
g=b;g=this.encode(g);if(!g.length)return h;c=this.c;c=E(c)?c(g):g.split(R);this.filter&&(c=A(c,this.filter));p=c.length;d=!0;e=[];const q=w();1<p&&(this.depth?(n=!0,l=c[0],q[l]=1):c.sort(X));if(!n||(m=this.h)[l]){let a=this.b;for(let b=n?1:0;b<p;b++){const f=c[b];if(f){if(!q[f]){const b=[];let c=!1,g=0;if(l=n?m[l]:this.l){let d;for(let e=0;e<a-k;e++)if(d=l[e][f])b[g++]=d,c=!0}if(c)e[e.length]=1<g?b.concat.apply([],b):b[0];else{d=!1;break}q[f]=1}l=f}}}else d=!1;this.a||d&&(h=M(e,!1,a,void 0,!1));return h};
k.prototype.clear=function(){return this.destroy().init()};k.prototype.destroy=function(){this.l=this.h=this.f=null;if(this.a){const b=this.a.keys;for(let a=0;a<b.length;a++)this.a.index[b[a]].destroy();this.a=this.g=null}return this};const H={icase:function(b){return b.toLowerCase()},simple:function(){const b=[e("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",e("[\u00e8\u00e9\u00ea\u00eb]"),"e",e("[\u00ec\u00ed\u00ee\u00ef]"),"i",e("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",e("[\u00f9\u00fa\u00fb\u00fc\u0171]"),
"u",e("[\u00fd\u0177\u00ff]"),"y",e("\u00f1"),"n",e("\u00e7"),"c",e("\u00df"),"s",e(" & ")," and ",e("[-/]")," ",e("[^a-z0-9 ]"),"",e("\\s+")," "];return function(a){a=C(a.toLowerCase(),b);return" "===a?"":a}}(),advanced:function(){const b=[e("ae"),"a",e("ai"),"ei",e("ay"),"ei",e("ey"),"ei",e("oe"),"o",e("ue"),"u",e("ie"),"i",e("sz"),"s",e("zs"),"s",e("sh"),"s",e("ck"),"k",e("cc"),"k",e("dt"),"t",e("ph"),"f",e("pf"),"f",e("ou"),"o",e("uo"),"u"];return function(a,c){if(!a)return a;a=this.simple(a);
2<a.length&&(a=C(a,b));c||1<a.length&&(a=K(a));return a}}(),extra:function(){const b=[e("p"),"b",e("z"),"s",e("[cgq]"),"k",e("n"),"m",e("d"),"t",e("[vw]"),"f",e("[aeiouy]"),""];return function(a){if(!a)return a;a=this.advanced(a,!0);if(1<a.length){a=a.split(" ");for(let c=0;c<a.length;c++){const d=a[c];1<d.length&&(a[c]=d[0]+C(d.substring(1),b))}a=a.join(" ");a=K(a)}return a}}(),balance:function(){const b=[e("[-/]")," ",e("[^a-z0-9 ]"),"",e("\\s+")," "];return function(a){return K(C(a.toLowerCase(),
b))}}()};return k}(!1),this);
'use strict';(function(k,B,C){let A;(A=C.define)&&A.amd?A([],function(){return B}):(A=C.modules)?A[k.toLowerCase()]=B:"object"===typeof exports?module.exports=B:C[k]=B})("FlexSearch",function(){function k(b,a){const c=a?a.id:b&&b.id;this.id=c||0===c?c:W++;this.init(b,a);A(this,"index",function(){return this.a?this.a.index[this.a.keys[0]].f:this.f});A(this,"length",function(){return Object.keys(this.index).length})}function B(b,a){const c=b.length,d=H(a),e=[];for(let l=0,g=0;l<c;l++){const c=b[l];
if(d&&a(c)||!d&&!a[c])e[g++]=c}return e}function C(b,a,c,d,e,l,g,h){b=c=P(c,l?0:e,g,!1,a,h);a=this.g;c=b.length;g=Array(c);for(h=0;h<c;h++)g[h]=a[b[h]];c=g;l&&(c=this.where(l,null,e,c));d&&(H(d)||(x=d.split(":"),1<x.length?d=X:(x=x[0],d=Y)),c.sort(d));return c}function A(b,a,c){Object.defineProperty(b,a,{get:c})}function f(b){return new RegExp(b,"g")}function D(b,a){for(let c=0;c<a.length;c+=2)b=b.replace(a[c],a[c+1]);return b}function K(b,a,c,d,e,l,g,h){if(a[c])return a[c];e=e?(h-(g||h/1.5))*l+(g||
h/1.5)*e:l;a[c]=e;e>=g&&(b=b[h-(e+.5>>0)],b=b[c]||(b[c]=[]),b[b.length]=d);return e}function L(b,a){if(b){const c=Object.keys(b);for(let d=0,e=c.length;d<e;d++){const e=c[d],g=b[e];if(g)for(let c=0,d=g.length;c<d;c++)if(g[c]===a){1===d?delete b[e]:g.splice(c,1);break}else E(g[c])&&L(g[c],a)}}}function M(b){let a="",c="";var d="";for(let e=0;e<b.length;e++){const l=b[e];if(l!==c)if(e&&"h"===l){if(d="a"===d||"e"===d||"i"===d||"o"===d||"u"===d||"y"===d,("a"===c||"e"===c||"i"===c||"o"===c||"u"===c||"y"===
c)&&d||" "===c)a+=l}else a+=l;d=e===b.length-1?"":b[e+1];c=l}return a}function Z(b,a){b=b.length-a.length;return 0>b?1:b?-1:0}function Y(b,a){b=b[x];a=a[x];return b<a?-1:b>a?1:0}function X(b,a){const c=x.length;for(let d=0;d<c;d++)b=b[x[d]],a=a[x[d]];return b<a?-1:b>a?1:0}function P(b,a,c,d,e,l){c=[];const g=b.length;if(1<g){const m=v();let t,n,p=-1;var h;let y,u,k=!0,w,F=0,r,N;if(l){for(t=v();++p<g;)if("not"===e[p])for(n=b[p],y=n.length,h=0;h<y;)t["@"+n[h++]]=1;else N=p+1;if(!N)return c;p=-1}else r=
G(e)&&e;for(;++p<g;){const aa=p===(N||g)-1;let Q,v;if(!r||!p)if((h=r||e&&e[p])&&"and"!==h)if("or"===h)v=!0;else continue;else Q=!0;n=b[p];y=n.length;if(!y){if(Q&&!d)return n;continue}if(k)if(w){var f=w.length;for(h=0;h<f;)m["@"+w[h++]]=1;w=null;k=!1}else{w=n;continue}let x=!1;h=0;for(f=[];h<y;){u=n[h++];var q="@"+u;const b=m[q];if(b&&(!l||!t[q]))if(v||b===p){if(aa){if(c[F++]=u,a&&F===a)return c}else m[q]=p+1;x=!0}else d&&(q=f[b]||(f[b]=[]),q[q.length]=u)}if(!x&&!d)break}if(w)if(l)for(b=w.length,h=
0;h<b;)e=w[h++],t["@"+e]||(c[F++]=e);else c=w;if(d&&(F=c.length,(p=f.length)&&(!a||F<a)))for(;p--;)if(u=f[p])for(h=0,y=u.length;h<y;h++)if(c[F++]=u[h],a&&F===a)return c}else!g||e&&"not"===e[0]||(c=b[0],a&&c.length>a&&(c=c.slice(0,a)));return c}function G(b){return"string"===typeof b}function z(b){return b.constructor===Array}function H(b){return"function"===typeof b}function E(b){return"object"===typeof b}function I(b){return"undefined"===typeof b}function R(b){const a=Array(b);for(let c=0;c<b;c++)a[c]=
v();return a}function v(){return Object.create(null)}const r={encode:"icase",c:"forward",v:!1,cache:!1,async:!1,w:!1,m:!1,a:!1,s:!1,b:9,threshold:0,depth:0},S={memory:{encode:"extra",c:"strict",threshold:0,b:1},speed:{encode:"icase",c:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",c:"full",threshold:1,b:3},score:{encode:"extra",c:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",c:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",c:"strict",threshold:8,b:9,depth:1}},O=[];let W=
0;const T=/\W+/,U={},V={};k.create=function(b){return new k(b)};k.registerMatcher=function(b){for(const a in b)b.hasOwnProperty(a)&&O.push(f(a),b[a]);return this};k.registerEncoder=function(b,a){J[b]=a.bind(J);return this};k.registerLanguage=function(b,a){U[b]=a.filter;V[b]=a.stemmer;return this};k.encode=function(b,a){return J[b](a)};k.prototype.init=function(b,a){this.o=[];if(a){var c=a.preset;b=a}else b||(b=r),c=b.preset;a={};G(b)?(a=S[b],b={}):c&&(a=S[c]);this.c=b.tokenize||a.c||this.c||r.c;this.m=
b.rtl||this.m||r.m;this.async="undefined"===typeof Promise||I(c=b.async)?this.async||r.async:c;this.threshold=I(c=b.threshold)?a.threshold||this.threshold||r.threshold:c;this.b=I(c=b.resolution)?c=a.b||this.b||r.b:c;c<=this.threshold&&(this.b=this.threshold+1);this.depth=I(c=b.depth)?a.depth||this.depth||r.depth:c;this.s=I(c=b.paging)?this.s||r.s:c;this.i=(c=I(c=b.encode)?a.encode||r.encode:c)&&J[c]&&J[c].bind(J)||(H(c)?c:this.i||!1);(c=b.matcher)&&this.addMatcher(c);if(c=b.filter){G(c)&&(c=U[c]);
if(z(c)){a=this.i;var d=v();for(var e=0;e<c.length;e++){var l=a?a(c[e]):c[e];d[l]=1}c=d}this.filter=c}if(c=b.stemmer){var g;a=G(c)?V[c]:c;d=this.i;e=[];for(g in a)a.hasOwnProperty(g)&&(l=d?d(g):g,e.push(f(l+"($|\\W)"),d?d(a[g]):a[g]));this.stemmer=g=e}this.a=d=(c=b.doc)?c:this.a||r.a;this.l=R(this.b-(this.threshold||0));this.h=v();this.f=v();if(d&&(this.g=v(),b.doc=null,g=d.index={},c=d.keys=[],a=d.field,z(d.id)||(d.id=d.id.split(":")),a)){let h;z(a)||(E(a)?(h=a,d.field=a=Object.keys(a)):d.field=
a=[a]);for(d=0;d<a.length;d++)e=a[d],z(e)||(h&&(b=h[e]),c[d]=e,a[d]=e.split(":")),g[e]=new k(b),g[e].g=this.g}return this};k.prototype.encode=function(b){b&&O.length&&(b=D(b,O));b&&this.o.length&&(b=D(b,this.o));b&&this.i&&(b=this.i(b));b&&this.stemmer&&(b=D(b,this.stemmer));return b};k.prototype.addMatcher=function(b){const a=this.o;for(const c in b)b.hasOwnProperty(c)&&a.push(f(c),b[c]);return this};k.prototype.add=function(b,a,c,d,e){if(this.a&&E(b))return this.j("add",b,a);if(a&&G(a)&&(b||0===
b)){var f="@"+b;if(this.f[f]&&!d)return this.update(b,a);if(!e){if(this.async&&"function"!==typeof importScripts){let e=this;f=new Promise(function(c){setTimeout(function(){e.add(b,a,null,d,!0);e=null;c()})});if(c)f.then(c);else return f;return this}if(c)return this.add(b,a,null,d,!0),c(),this}a=this.encode(a);if(!a.length)return this;c=this.c;e=H(c)?c(a):a.split(T);this.filter&&(e=B(e,this.filter));const l=v();l._ctx=v();const n=e.length,p=this.threshold,y=this.depth,u=this.b,k=this.l,w=this.m;for(let a=
0;a<n;a++){var g=e[a];if(g){var h=g.length,t=(w?a+1:n-a)/n,q="";switch(c){case "reverse":case "both":for(var m=h;--m;)q=g[m]+q,K(k,l,q,b,w?1:(h-m)/h,t,p,u-1);q="";case "forward":for(m=0;m<h;m++)q+=g[m],K(k,l,q,b,w?(m+1)/h:1,t,p,u-1);break;case "full":for(m=0;m<h;m++){const a=(w?m+1:h-m)/h;for(let c=h;c>m;c--)q=g.substring(m,c),K(k,l,q,b,a,t,p,u-1)}break;default:if(h=K(k,l,g,b,1,t,p,u-1),y&&1<n&&h>=p)for(h=l._ctx[g]||(l._ctx[g]=v()),g=this.h[g]||(this.h[g]=R(u-(p||0))),t=a-y,q=a+y+1,0>t&&(t=0),q>n&&
(q=n);t<q;t++)t!==a&&K(g,h,e[t],b,0,u-(t<a?a-t:t-a),p,u-1)}}}this.f[f]=1}return this};k.prototype.j=function(b,a,c){if(z(a))for(let d=0,e=a.length;d<e;d++){if(d===e-1)return this.j(b,a[d],c);this.j(b,a[d])}else{const l=this.a.index,q=this.a.keys;var d=this.a.tag,e=this.a.id;let m;let k;for(var f=0;f<e.length;f++)m=(m||a)[e[f]];if(d){for(e=0;e<d.length;e++){var g=d[e];var h=g.split(":");for(f=0;f<h.length;f++)k=(k||a)[h[f]];k="@"+k}h=this.u[g];h=h[k]||(h[k]=[])}if("remove"===b){delete this.g[m];for(let a=
0,b=q.length;a<b;a++){if(a===b-1)return l[q[a]].remove(m,c);l[q[a]].remove(m)}}e=this.a.field;h&&(h[h.length]=a);for(let h=0,f=e.length;h<f;h++){d=e[h];let k;for(g=0;g<d.length;g++)k=(k||a)[d[g]];this.g[m]=a;d=l[q[h]];g="add"===b?d.add:d.update;if(h===f-1)return g.call(d,m,k,c);g.call(d,m,k)}}};k.prototype.update=function(b,a,c){if(this.a&&E(b))return this.j("update",b,a);this.f["@"+b]&&G(a)&&(this.remove(b),this.add(b,a,c,!0));return this};k.prototype.remove=function(b,a,c){if(this.a&&E(b))return this.j("remove",
b,a);var d="@"+b;if(this.f[d]){if(!c){if(this.async&&"function"!==typeof importScripts){let c=this;d=new Promise(function(a){setTimeout(function(){c.remove(b,null,!0);c=null;a()})});if(a)d.then(a);else return d;return this}if(a)return this.remove(b,null,!0),a(),this}for(a=0;a<this.b-(this.threshold||0);a++)L(this.l[a],b);this.depth&&L(this.h,b);delete this.f[d]}return this};let x;k.prototype.search=function(b,a,c,d){if(E(a)){if(z(a))for(var e=0;e<a.length;e++)a[e].query=b;else a.query=b;b=a;a=0}let f=
[],g=b;let h;if(E(b)&&!z(b)){(c=b.callback||a)&&(g.callback=null);h=b.sort;a=b.limit;var k=b.threshold;b=b.query}if(this.a){k=this.a.index;var q=g.bool||"or",m=g.field;let l=q;let p;if(m)z(m)||(m=[m]);else if(z(g)){var r=g;m=[];l=[];for(var n=0;n<g.length;n++)d=g[n],e=d.bool||q,m[n]=d.field,l[n]=e,"not"===e&&(p=!0)}else m=this.a.keys;q=m.length;for(n=0;n<q;n++)r&&(g=r[n]),f[n]=k[m[n]].search(g);if(c)return c(C.call(this,b,l,f,h,a,!1,void 0,p));if(this.async){const c=this;return new Promise(function(d){Promise.all(f).then(function(e){d(C.call(c,
b,l,e,h,a,!1,void 0,p))})})}return C.call(this,b,l,f,h,a,!1,void 0,p)}k||(k=this.threshold||0);H(a)?(c=a,a=1E3):a||0===a||(a=1E3);if(!d){if(this.async&&"function"!==typeof importScripts){let b=this;k=new Promise(function(c){setTimeout(function(){c(b.search(g,a,null,!0));b=null})});if(c)k.then(c);else return k;return this}if(c)return c(this.search(g,a,null,!0)),this}if(!b||!G(b))return f;g=b;g=this.encode(g);if(!g.length)return f;c=this.c;c=H(c)?c(g):g.split(T);this.filter&&(c=B(c,this.filter));r=
c.length;d=!0;e=[];const p=v();1<r&&(this.depth?(m=!0,n=c[0],p[n]=1):c.sort(Z));if(!m||(q=this.h)[n]){const a=this.b;for(let b=m?1:0;b<r;b++){const f=c[b];if(f){if(!p[f]){const b=[];let c=!1,g=0;if(n=m?q[n]:this.l){let d;for(let e=0;e<a-k;e++)if(d=n[e][f])b[g++]=d,c=!0}if(c)e[e.length]=1<g?b.concat.apply([],b):b[0];else{d=!1;break}p[f]=1}n=f}}}else d=!1;this.a||d&&(f=P(e,a,void 0,!1));return f};k.prototype.clear=function(){return this.destroy().init()};k.prototype.destroy=function(){this.l=this.h=
this.f=null;if(this.a){const b=this.a.keys;for(let a=0;a<b.length;a++)this.a.index[b[a]].destroy();this.a=this.g=null}return this};const J={icase:function(b){return b.toLowerCase()},simple:function(){const b=[f("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",f("[\u00e8\u00e9\u00ea\u00eb]"),"e",f("[\u00ec\u00ed\u00ee\u00ef]"),"i",f("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",f("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",f("[\u00fd\u0177\u00ff]"),"y",f("\u00f1"),"n",f("\u00e7"),"c",f("\u00df"),"s",f(" & "),
" and ",f("[-/]")," ",f("[^a-z0-9 ]"),"",f("\\s+")," "];return function(a){a=D(a.toLowerCase(),b);return" "===a?"":a}}(),advanced:function(){const b=[f("ae"),"a",f("ai"),"ei",f("ay"),"ei",f("ey"),"ei",f("oe"),"o",f("ue"),"u",f("ie"),"i",f("sz"),"s",f("zs"),"s",f("sh"),"s",f("ck"),"k",f("cc"),"k",f("dt"),"t",f("ph"),"f",f("pf"),"f",f("ou"),"o",f("uo"),"u"];return function(a,c){if(!a)return a;a=this.simple(a);2<a.length&&(a=D(a,b));c||1<a.length&&(a=M(a));return a}}(),extra:function(){const b=[f("p"),
"b",f("z"),"s",f("[cgq]"),"k",f("n"),"m",f("d"),"t",f("[vw]"),"f",f("[aeiouy]"),""];return function(a){if(!a)return a;a=this.advanced(a,!0);if(1<a.length){a=a.split(" ");for(let c=0;c<a.length;c++){const d=a[c];1<d.length&&(a[c]=d[0]+D(d.substring(1),b))}a=a.join(" ");a=M(a)}return a}}(),balance:function(){const b=[f("[-/]")," ",f("[^a-z0-9 ]"),"",f("\\s+")," "];return function(a){return M(D(a.toLowerCase(),b))}}()};return k}(!1),this);
/*
FlexSearch v0.5.3
FlexSearch v0.5.31
Copyright 2019 Nextapps GmbH

@@ -8,40 +8,40 @@ Author: Thomas Wilkerling

*/
'use strict';function aa(h){var n=0;return function(){return n<h.length?{done:!1,value:h[n++]}:{done:!0}}}function S(h){var n="undefined"!=typeof Symbol&&Symbol.iterator&&h[Symbol.iterator];return n?n.call(h):{next:aa(h)}}var T="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,ba="function"==typeof Object.defineProperties?Object.defineProperty:function(h,n,f){h!=Array.prototype&&h!=Object.prototype&&(h[n]=f.value)};
function ca(h,n){if(n){var f=T;h=h.split(".");for(var l=0;l<h.length-1;l++){var A=h[l];A in f||(f[A]={});f=f[A]}h=h[h.length-1];l=f[h];n=n(l);n!=l&&null!=n&&ba(f,h,{configurable:!0,writable:!0,value:n})}}
ca("Promise",function(h){function n(d){this.g=0;this.s=void 0;this.b=[];var e=this.j();try{d(e.resolve,e.reject)}catch(t){e.reject(t)}}function f(){this.b=null}function l(d){return d instanceof n?d:new n(function(e){e(d)})}if(h)return h;f.prototype.g=function(d){if(null==this.b){this.b=[];var e=this;this.j(function(){e.s()})}this.b.push(d)};var A=T.setTimeout;f.prototype.j=function(d){A(d,0)};f.prototype.s=function(){for(;this.b&&this.b.length;){var d=this.b;this.b=[];for(var e=0;e<d.length;++e){var f=
d[e];d[e]=null;try{f()}catch(E){this.l(E)}}}this.b=null};f.prototype.l=function(d){this.j(function(){throw d;})};n.prototype.j=function(){function d(d){return function(n){f||(f=!0,d.call(e,n))}}var e=this,f=!1;return{resolve:d(this.N),reject:d(this.l)}};n.prototype.N=function(d){if(d===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(d instanceof n)this.O(d);else{a:switch(typeof d){case "object":var e=null!=d;break a;case "function":e=!0;break a;default:e=!1}e?this.M(d):this.w(d)}};
n.prototype.M=function(d){var e=void 0;try{e=d.then}catch(t){this.l(t);return}"function"==typeof e?this.P(e,d):this.w(d)};n.prototype.l=function(d){this.B(2,d)};n.prototype.w=function(d){this.B(1,d)};n.prototype.B=function(d,e){if(0!=this.g)throw Error("Cannot settle("+d+", "+e+"): Promise already settled in state"+this.g);this.g=d;this.s=e;this.J()};n.prototype.J=function(){if(null!=this.b){for(var d=0;d<this.b.length;++d)I.g(this.b[d]);this.b=null}};var I=new f;n.prototype.O=function(d){var e=this.j();
d.G(e.resolve,e.reject)};n.prototype.P=function(d,e){var f=this.j();try{d.call(e,f.resolve,f.reject)}catch(E){f.reject(E)}};n.prototype.then=function(d,e){function f(e,d){return"function"==typeof e?function(d){try{h(e(d))}catch(O){l(O)}}:d}var h,l,A=new n(function(e,d){h=e;l=d});this.G(f(d,h),f(e,l));return A};n.prototype.catch=function(d){return this.then(void 0,d)};n.prototype.G=function(d,e){function f(){switch(n.g){case 1:d(n.s);break;case 2:e(n.s);break;default:throw Error("Unexpected state: "+
n.g);}}var n=this;null==this.b?I.g(f):this.b.push(f)};n.resolve=l;n.reject=function(d){return new n(function(e,f){f(d)})};n.race=function(d){return new n(function(e,f){for(var n=S(d),h=n.next();!h.done;h=n.next())l(h.value).G(e,f)})};n.all=function(d){var e=S(d),f=e.next();return f.done?l([]):new n(function(d,n){function h(e){return function(f){A[e]=f;t--;0==t&&d(A)}}var A=[],t=0;do A.push(void 0),t++,l(f.value).G(h(A.length-1),n),f=e.next();while(!f.done)})};return n});
(function(h,n,f){var l;(l=f.define)&&l.amd?l([],function(){return n}):(l=f.modules)?l[h.toLowerCase()]=n:"object"===typeof exports?module.exports=n:f[h]=n})("FlexSearch",function ha(h){function f(a,b){var c=b?b.id:a&&a.id;this.id=c||0===c?c:ia++;this.init(a,b);d(this,"index",function(){return this.c});d(this,"length",function(){return Object.keys(this.c).length})}function l(a,b,c,g){this.F!==this.i&&(this.A=this.A.concat(c),this.F++,g&&this.A.length>=g&&(this.F=this.i),this.F===this.i&&(this.cache&&
this.v.set(b,this.A),this.I&&this.I(this.A)));return this}function A(a,b){for(var c=a.length,g=M(b),k=[],m=0,e=0;m<c;m++){var f=a[m];if(g&&b(f)||!g&&!b[f])k[e++]=f}return k}function I(a,b,c,g,k,m,e){var f=this.m;b=c=O(c,b,m?0:k,e,this.D);c=b.length;e=Array(c);for(var d=0;d<c;d++)e[d]=f[b[d]];c=e;m&&(c=this.where(m,null,k,c));g&&(M(g)||(F=g.split(":"),1<F.length?g=fa:(F=F[0],g=ea)),c.sort(g));this.cache&&this.v.set(a,c);return c}function d(a,b,c){Object.defineProperty(a,b,{get:c})}function e(a){return new RegExp(a,
"g")}function t(a,b){for(var c=0;c<b.length;c+=2)a=a.replace(b[c],b[c+1]);return a}function E(a,b,c,g,k,m,e,f){if(b[c])return b[c];k=k?(f-(e||f/1.5))*m+(e||f/1.5)*k:m;b[c]=k;k>=e&&(a=a[f-(k+.5>>0)],a=a[c]||(a[c]=[]),a[a.length]=g);return k}function L(a,b){if(a)for(var c=Object.keys(a),g=0,k=c.length;g<k;g++){var m=c[g],e=a[m];if(e)for(var f=0,d=e.length;f<d;f++)if(e[f]===b){1===d?delete a[m]:e.splice(f,1);break}else J(e[f])&&L(e[f],b)}}function Q(a){for(var b="",c="",g="",k=0;k<a.length;k++){var m=
a[k];if(m!==c)if(k&&"h"===m){if(g="a"===g||"e"===g||"i"===g||"o"===g||"u"===g||"y"===g,("a"===c||"e"===c||"i"===c||"o"===c||"u"===c||"y"===c)&&g||" "===c)b+=m}else b+=m;g=k===a.length-1?"":a[k+1];c=m}return b}function da(a,b){a=a.length-b.length;return 0>a?1:a?-1:0}function ea(a,b){a=a[F];b=b[F];return a<b?-1:a>b?1:0}function fa(a,b){for(var c=F.length,g=0;g<c;g++)a=a[F[g]],b=b[F[g]];return a<b?-1:a>b?1:0}function O(a,b,c,g,k){g=[];var m=a.length;if(1<m){b="or"===b;for(var e=D(),f,d=-1,h,u=0,p,l,
x=!0,q=0;++d<m;){var B=d===m-1;f=a[d];if(h=f.length)if(x){if(B)return f;for(;u<h;)e["@"+f[u++]]=1;p=f;x=!1}else{var y=!1;var w=[];for(u=0;u<h;){l=f[u++];var z="@"+l;if(e[z]){var v=e[z];if(b||v===d){if(B){if(g[q++]=l,c&&q===c)return g}else e[z]=d+1;y=!0}else k&&(z=w[v]||(w[v]=[]),z[z.length]=l)}}if(!y&&!k)break}else{if(!b&&!k)return g;if(B&&!q)return p||g}}if(k&&(q=g.length,(d=w.length)&&(!c||q<c)))for(;d--;)if(l=w[d])for(u=0,h=l.length;u<h;u++)if(g[q++]=l[u],c&&q===c)return g}else m&&(g=a[0],c&&g.length>
c&&(g=g.slice(0,c)));return g}function K(a){return"string"===typeof a}function G(a){return a.constructor===Array}function M(a){return"function"===typeof a}function J(a){return"object"===typeof a}function C(a){return"undefined"===typeof a}function V(a){for(var b=Array(a),c=0;c<a;c++)b[c]=D();return b}function D(){return Object.create(null)}function ja(){var a,b;self.onmessage=function(c){if(c=c.data)if(c.search){var g=b.search(c.content,c.threshold?{limit:c.limit,threshold:c.threshold,where:c.where}:
c.limit);self.postMessage({id:a,content:c.content,limit:c.limit,result:g})}else c.add?b.add(c.id,c.content):c.update?b.update(c.id,c.content):c.remove?b.remove(c.id):c.clear?b.clear():c.info?(c=b.info(),c.worker=a,console.log(c)):c.register&&(a=c.id,c.options.cache=!1,c.options.async=!1,c.options.worker=!1,b=(new Function(c.register.substring(c.register.indexOf("{")+1,c.register.lastIndexOf("}"))))(),b=new b(c.options))}}function ka(a,b,c,g){a=h("flexsearch","id"+a,ja,function(a){(a=a.data)&&a.result&&
g(a.id,a.content,a.result,a.limit,a.where,a.cursor,a.suggest)},b);var e=ha.toString();c.id=b;a.postMessage({register:e,options:c,id:b});return a}var r={encode:"icase",h:"forward",D:!1,cache:!1,async:!1,i:!1,H:!1,a:!1,L:!1,f:9,threshold:0,depth:0},W={memory:{encode:"extra",h:"strict",threshold:0,f:1},speed:{encode:"icase",h:"strict",threshold:1,f:3,depth:2},match:{encode:"extra",h:"full",threshold:1,f:3},score:{encode:"extra",h:"strict",threshold:1,f:9,depth:4},balance:{encode:"balance",h:"strict",
threshold:0,f:3,depth:3},fast:{encode:"icase",h:"strict",threshold:8,f:9,depth:1}},N=[],ia=0,X=/\W+/,Y={},Z={};f.create=function(a){return new f(a)};f.registerMatcher=function(a){for(var b in a)a.hasOwnProperty(b)&&N.push(e(b),a[b]);return this};f.registerEncoder=function(a,b){H[a]=b.bind(H);return this};f.registerLanguage=function(a,b){Y[a]=b.filter;Z[a]=b.stemmer;return this};f.encode=function(a,b){return H[a](b)};f.prototype.init=function(a,b){this.g=[];if(b){var c=b.preset;a=b}else a||(a=r),c=
a.preset;b={};K(a)?((b=W[a])||console.warn("Preset not found: "+a),a={}):c&&((b=W[c])||console.warn("Preset not found: "+c));if(c=a.worker)if("undefined"===typeof Worker)a.worker=!1,this.b=null;else{var g=parseInt(c,10)||4;this.w=-1;this.F=0;this.A=[];this.I=null;this.b=Array(g);for(var k=0;k<g;k++)this.b[k]=ka(this.id,k,a,l.bind(this))}this.h=a.tokenize||b.h||this.h||r.h;this.H=a.rtl||this.H||r.H;this.async="undefined"===typeof Promise||C(c=a.async)?this.async||r.async:c;this.i=C(c=a.worker)?this.i||
r.i:c;this.threshold=C(c=a.threshold)?b.threshold||this.threshold||r.threshold:c;this.f=C(c=a.resolution)?c=b.f||this.f||r.f:c;c<=this.threshold&&(this.f=this.threshold+1);this.depth=C(c=a.depth)?b.depth||this.depth||r.depth:c;this.L=C(c=a.paging)?this.L||r.L:c;this.D=C(c=a.suggest)?this.D||r.D:c;this.j=(c=C(c=a.encode)?b.encode||r.encode:c)&&H[c]&&H[c].bind(H)||(M(c)?c:this.j||!1);(c=a.matcher)&&this.addMatcher(c);if(c=a.filter){K(c)&&(c=Y[c]);if(G(c)){b=this.j;g=D();for(k=0;k<c.length;k++){var m=
b?b(c[k]):c[k];g[m]=1}c=g}this.filter=c}if(c=a.stemmer){b=K(c)?Z[c]:c;g=this.j;k=[];for(var d in b)b.hasOwnProperty(d)&&(m=g?g(d):d,k.push(e(m+"($|\\W)"),g?g(b[d]):b[d]));this.stemmer=k}this.a=k=(c=a.doc)?c:this.a||r.a;this.o=V(this.f-(this.threshold||0));this.u=D();this.c=D();if(k){this.m=D();a.doc=null;d=k.index={};b=k.keys=[];g=k.field;m=k.tag;G(k.id)||(k.id=k.id.split(":"));if(m){this.B=D();var h=D();if(g)if(K(g))h[g]=a;else if(G(g))for(var R=0;R<g.length;R++)h[g[R]]=a;else J(g)&&(h=g);G(m)||
(k.tag=m=[m]);for(g=0;g<m.length;g++)this.B[m[g]]=D();this.J=m;g=h}if(g){if(!G(g))if(J(g)){var U=g;k.field=g=Object.keys(g)}else k.field=g=[g];for(k=0;k<g.length;k++)m=g[k],G(m)||(U&&(a=U[m]),b[k]=m,g[k]=m.split(":")),d[m]=new f(a),d[m].m=this.m}}this.s=!0;this.v=(this.cache=c=C(c=a.cache)?this.cache||r.cache:c)?new la(c):!1;return this};f.prototype.encode=function(a){a&&N.length&&(a=t(a,N));a&&this.g.length&&(a=t(a,this.g));a&&this.j&&(a=this.j(a));a&&this.stemmer&&(a=t(a,this.stemmer));return a};
f.prototype.addMatcher=function(a){var b=this.g,c;for(c in a)a.hasOwnProperty(c)&&b.push(e(c),a[c]);return this};f.prototype.add=function(a,b,c,g,e){if(this.a&&J(a))return this.l("add",a,b);if(b&&K(b)&&(a||0===a)){var m="@"+a;if(this.c[m]&&!g)return this.update(a,b);if(this.i)return++this.w>=this.b.length&&(this.w=0),this.b[this.w].postMessage({add:!0,id:a,content:b}),this.c[m]=""+this.w,c&&c(),this;if(!e){if(this.async&&"function"!==typeof importScripts){var f=this;m=new Promise(function(c){setTimeout(function(){f.add(a,
b,null,g,!0);f=null;c()})});if(c)m.then(c);else return m;return this}if(c)return this.add(a,b,null,g,!0),c(),this}b=this.encode(b);if(!b.length)return this;c=this.h;e=M(c)?c(b):b.split(X);this.filter&&(e=A(e,this.filter));var k=D();k._ctx=D();for(var d=e.length,h=this.threshold,l=this.depth,p=this.f,P=this.o,x=this.H,q=0;q<d;q++){var B=e[q];if(B){var y=B.length,w=(x?q+1:d-q)/d,z="";switch(c){case "reverse":case "both":for(var v=y;--v;)z=B[v]+z,E(P,k,z,a,x?1:(y-v)/y,w,h,p-1);z="";case "forward":for(v=
0;v<y;v++)z+=B[v],E(P,k,z,a,x?(v+1)/y:1,w,h,p-1);break;case "full":for(v=0;v<y;v++)for(var t=(x?v+1:y-v)/y,r=y;r>v;r--)z=B.substring(v,r),E(P,k,z,a,t,w,h,p-1);break;default:if(y=E(P,k,B,a,1,w,h,p-1),l&&1<d&&y>=h)for(y=k._ctx[B]||(k._ctx[B]=D()),B=this.u[B]||(this.u[B]=V(p-(h||0))),w=q-l,z=q+l+1,0>w&&(w=0),z>d&&(z=d);w<z;w++)w!==q&&E(B,y,e[w],a,0,p-(w<q?q-w:w-q),h,p-1)}}}this.c[m]=1;this.s=!1}return this};f.prototype.l=function(a,b,c){if(G(b))for(var g=0,e=b.length;g<e;g++){if(g===e-1)return this.l(a,
b[g],c);this.l(a,b[g])}else{g=this.a.index;e=this.a.keys;for(var m=this.a.tag,d=this.a.id,f,h,l,u,p=0;p<d.length;p++)f=(f||b)[d[p]];if(m){for(d=0;d<m.length;d++){l=m[d];h=l.split(":");for(p=0;p<h.length;p++)u=(u||b)[h[p]];u="@"+u}h=this.B[l];h=h[u]||(h[u]=[])}if("remove"===a)for(delete this.m[f],d=0,m=e.length;d<m;d++){if(d===m-1)return g[e[d]].remove(f,c);g[e[d]].remove(f)}d=this.a.field;h&&(h[h.length]=b);m=0;for(l=d.length;m<l;m++){h=d[m];u=void 0;for(p=0;p<h.length;p++)u=(u||b)[h[p]];this.m[f]=
b;h=g[e[m]];p="add"===a?h.add:h.update;if(m===l-1)return p.call(h,f,u,c);p.call(h,f,u)}}};f.prototype.update=function(a,b,c){if(this.a&&J(a))return this.l("update",a,b);this.c["@"+a]&&K(b)&&(this.remove(a),this.add(a,b,c,!0));return this};f.prototype.remove=function(a,b,c){if(this.a&&J(a))return this.l("remove",a,b);var g="@"+a;if(this.c[g]){if(this.i)return this.b[this.c[g]].postMessage({remove:!0,id:a}),delete this.c[g],b&&b(),this;if(!c){if(this.async&&"function"!==typeof importScripts){var e=
this;g=new Promise(function(b){setTimeout(function(){e.remove(a,null,!0);e=null;b()})});if(b)g.then(b);else return g;return this}if(b)return this.remove(a,null,!0),b(),this}for(b=0;b<this.f-(this.threshold||0);b++)L(this.o[b],a);this.depth&&L(this.u,a);delete this.c[g];this.s=!1}return this};var F;f.prototype.search=function(a,b,c,g){if(J(b)){if(G(b))for(var e=0;e<b.length;e++)b[e].query=a;else b.query=a;a=b;b=0}var d=a,f=[];if(J(a)&&!G(a)){(c=a.callback||b)&&(d.callback=null);b=a.limit;var h=a.threshold;
a=a.query}if(this.a){var l=d.where,t=d.bool,u=d.sort;h=this.a.index;var p=d.field;if(p)d.field=null,G(p)||(p=[p]);else if(G(d)){var r=d;p=[];for(var x=0;x<d.length;x++){var q=d[x];p[x]=q.field;t=q.bool;u=q.sort;l=q.where}}else p=this.a.keys;x=p.length;for(q=0;q<x;q++)r&&(d=r[q]),f[q]=h[p[q]].search(d);if(c)return c(I.call(this,a,t,f,u,b,l,void 0));if(this.async){var B=this;return new Promise(function(c){Promise.all(f).then(function(g){c(I.call(B,a,t,g,u,b,l,void 0))})})}return I.call(this,a,t,f,u,
b,l,void 0)}h||(h=this.threshold||0);M(b)?(c=b,b=1E3):b||0===b||(b=1E3);if(this.i)for(this.I=c,this.F=0,this.A=[],p=0;p<this.i;p++)this.b[p].postMessage({search:!0,limit:b,cursor:void 0,threshold:h,content:a});else{if(!g){if(this.async&&"function"!==typeof importScripts){var y=this;h=new Promise(function(a){setTimeout(function(){a(y.search(d,b,null,!0));y=null})});if(c)h.then(c);else return h;return this}if(c)return c(this.search(d,b,null,!0)),this}if(!a||!K(a))return f;d=a;if(this.cache)if(this.s){if(c=
this.v.get(a))return c}else this.v.clear(),this.s=!0;d=this.encode(d);if(!d.length)return f;c=this.h;c=M(c)?c(d):d.split(X);this.filter&&(c=A(c,this.filter));r=c.length;g=!0;e=[];var w=D();1<r&&(this.depth?(p=!0,q=c[0],w[q]=1):c.sort(da));if(!p||(x=this.u)[q])for(var z=this.f,v=p?1:0;v<r;v++){var C=c[v];if(C){if(!w[C]){var E=[],F=!1,H=0;if(q=p?x[q]:this.o)for(var N=void 0,L=0;L<z-h;L++)if(N=q[L][C])E[H++]=N,F=!0;if(F)e[e.length]=1<H?E.concat.apply([],E):E[0];else if(!this.D){g=!1;break}w[C]=1}q=C}}else g=
!1;this.a||(g&&(f=O(e,!1,b,void 0,this.D)),this.cache&&this.v.set(a,f));return f}};f.prototype.find=function(a,b){return this.where(a,b,1)[0]||null};f.prototype.where=function(a,b,c,g){var d=g||this.m,e=[],f=0,h;if("number"===typeof a)return[d[a]];if(K(a)){if(C(b))return[d[a]];if("id"===a)return[d[b]];var l=1;var r=[a.split(":")];var u=!0}else{if(M(a)){b=g||Object.keys(d);c=b.length;for(h=0;h<c;h++)l=g?g[h]:d[b[h]],a(l)&&(e[f++]=l);return e}c||(c=b);h=Object.keys(a);l=h.length;u=!1;if(1===l&&"id"===
h[0])return[d[a.id]];if((r=this.J)&&!g)for(var p=0;p<r.length;p++){var t=r[p],x=a[t];if(!C(x)){g=this.B[t]["@"+x];if(0===--l)return g;h.splice(h.indexOf(t),1);delete a[t];break}}r=Array(l);for(p=0;p<l;p++)r[p]=h[p].split(":")}p=g||Object.keys(d);t=p.length;for(x=0;x<t;x++){for(var q=g?g[x]:d[p[x]],B=!0,y=0;y<l;y++){u||(b=a[h[y]]);var w=r[y],z=w.length,v=q;if(1<z)for(var A=0;A<z;A++)v=v[w[A]];else v=v[w[0]];if(v!==b){B=!1;break}}if(B&&(e[f++]=q,c&&f===c))break}return e};f.prototype.info=function(){if(this.i)for(var a=
0;a<this.i;a++)this.b[a].postMessage({info:!0,id:this.id});else{for(var b,c=0,g=0,d=0,e=0;e<this.f-(this.threshold||0);e++){a=Object.keys(this.o[e]);for(var f=0;f<a.length;f++)b=this.o[e][a[f]].length,c+=1*b+2*a[f].length+4,g+=b,d+=2*a[f].length}a=Object.keys(this.c);b=a.length;for(e=0;e<b;e++)c+=2*a[e].length+2;return{id:this.id,memory:c,items:b,sequences:g,chars:d,cache:this.cache&&this.cache.C?this.cache.C.length:!1,matcher:N.length+(this.g?this.g.length:0),worker:this.i,threshold:this.threshold,
depth:this.depth,contextual:this.depth&&"strict"===this.h}}};f.prototype.clear=function(){return this.destroy().init()};f.prototype.destroy=function(){this.cache&&(this.v.clear(),this.v=null);this.o=this.u=this.c=null;if(this.a){for(var a=this.a.keys,b=0;b<a.length;b++)this.a.index[a[b]].destroy();this.a=this.m=null}return this};f.prototype.export=function(){if(this.a){for(var a=this.a.keys,b=Array(a.length+1),c=0;c<a.length;c++){var g=this.a.index[a[c]];b[c]=[g.o,g.u,g.c]}b[c]=this.m;return JSON.stringify(b)}return JSON.stringify([this.o,
this.u,this.c])};f.prototype.import=function(a){a=JSON.parse(a);if(this.a){for(var b=this.a.keys,c=b.length,g=0;g<c;g++){var d=this.a.index[b[g]];d.o=a[g][0];d.u=a[g][1];d.c=a[g][2];d.m=a[c]}this.m=a[c]}else this.o=a[0],this.u=a[1],this.c=a[2]};var H={icase:function(a){return a.toLowerCase()},simple:function(){var a=[e("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",e("[\u00e8\u00e9\u00ea\u00eb]"),"e",e("[\u00ec\u00ed\u00ee\u00ef]"),"i",e("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",e("[\u00f9\u00fa\u00fb\u00fc\u0171]"),
"u",e("[\u00fd\u0177\u00ff]"),"y",e("\u00f1"),"n",e("\u00e7"),"c",e("\u00df"),"s",e(" & ")," and ",e("[-/]")," ",e("[^a-z0-9 ]"),"",e("\\s+")," "];return function(b){b=t(b.toLowerCase(),a);return" "===b?"":b}}(),advanced:function(){var a=[e("ae"),"a",e("ai"),"ei",e("ay"),"ei",e("ey"),"ei",e("oe"),"o",e("ue"),"u",e("ie"),"i",e("sz"),"s",e("zs"),"s",e("sh"),"s",e("ck"),"k",e("cc"),"k",e("dt"),"t",e("ph"),"f",e("pf"),"f",e("ou"),"o",e("uo"),"u"];return function(b,c){if(!b)return b;b=this.simple(b);2<
b.length&&(b=t(b,a));c||1<b.length&&(b=Q(b));return b}}(),extra:function(){var a=[e("p"),"b",e("z"),"s",e("[cgq]"),"k",e("n"),"m",e("d"),"t",e("[vw]"),"f",e("[aeiouy]"),""];return function(b){if(!b)return b;b=this.advanced(b,!0);if(1<b.length){b=b.split(" ");for(var c=0;c<b.length;c++){var d=b[c];1<d.length&&(b[c]=d[0]+t(d.substring(1),a))}b=b.join(" ");b=Q(b)}return b}}(),balance:function(){var a=[e("[-/]")," ",e("[^a-z0-9 ]"),"",e("\\s+")," "];return function(b){return Q(t(b.toLowerCase(),a))}}()},
la=function(){function a(a){this.clear();this.K=!0!==a&&a}a.prototype.clear=function(){this.cache=D();this.count=D();this.index=D();this.C=[]};a.prototype.set=function(a,c){if(this.K&&C(this.cache[a])){var b=this.C.length;if(b===this.K){b--;var d=this.C[b];delete this.cache[d];delete this.count[d];delete this.index[d]}this.index[a]=b;this.C[b]=a;this.count[a]=-1;this.cache[a]=c;this.get(a)}else this.cache[a]=c};a.prototype.get=function(a){var b=this.cache[a];if(this.K&&b){var d=++this.count[a],e=
this.index,f=e[a];if(0<f){for(var h=this.C,l=f;this.count[h[--f]]<=d&&-1!==f;);f++;if(f!==l){for(d=l;d>f;d--)l=h[d-1],h[d]=l,e[l]=d;h[f]=a;e[a]=f}}}return b};return a}();return f}(function(){var h={},n="undefined"!==typeof Blob&&"undefined"!==typeof URL&&URL.createObjectURL;return function(f,l,A,I,d){A=n?URL.createObjectURL(new Blob(["("+A.toString()+")()"],{type:"text/javascript"})):f+".es5.js";f+="-"+l;h[f]||(h[f]=[]);h[f][d]=new Worker(A);h[f][d].onmessage=I;console.log("Register Worker: "+f+"@"+
d);return h[f][d]}}()),this);
'use strict';function S(h){var m=0;return function(){return m<h.length?{done:!1,value:h[m++]}:{done:!0}}}function T(h){var m="undefined"!=typeof Symbol&&Symbol.iterator&&h[Symbol.iterator];return m?m.call(h):{next:S(h)}}var Z="undefined"!=typeof window&&window===this?this:"undefined"!=typeof global&&null!=global?global:this,aa="function"==typeof Object.defineProperties?Object.defineProperty:function(h,m,f){h!=Array.prototype&&h!=Object.prototype&&(h[m]=f.value)};
function ba(h,m){if(m){var f=Z;h=h.split(".");for(var l=0;l<h.length-1;l++){var q=h[l];q in f||(f[q]={});f=f[q]}h=h[h.length-1];l=f[h];m=m(l);m!=l&&null!=m&&aa(f,h,{configurable:!0,writable:!0,value:m})}}
ba("Promise",function(h){function m(d){this.g=0;this.o=void 0;this.b=[];var e=this.j();try{d(e.resolve,e.reject)}catch(t){e.reject(t)}}function f(){this.b=null}function l(d){return d instanceof m?d:new m(function(e){e(d)})}if(h)return h;f.prototype.g=function(d){if(null==this.b){this.b=[];var e=this;this.j(function(){e.o()})}this.b.push(d)};var q=Z.setTimeout;f.prototype.j=function(d){q(d,0)};f.prototype.o=function(){for(;this.b&&this.b.length;){var d=this.b;this.b=[];for(var e=0;e<d.length;++e){var f=
d[e];d[e]=null;try{f()}catch(F){this.l(F)}}}this.b=null};f.prototype.l=function(d){this.j(function(){throw d;})};m.prototype.j=function(){function d(d){return function(m){f||(f=!0,d.call(e,m))}}var e=this,f=!1;return{resolve:d(this.N),reject:d(this.l)}};m.prototype.N=function(d){if(d===this)this.l(new TypeError("A Promise cannot resolve to itself"));else if(d instanceof m)this.O(d);else{a:switch(typeof d){case "object":var e=null!=d;break a;case "function":e=!0;break a;default:e=!1}e?this.M(d):this.w(d)}};
m.prototype.M=function(d){var e=void 0;try{e=d.then}catch(t){this.l(t);return}"function"==typeof e?this.P(e,d):this.w(d)};m.prototype.l=function(d){this.B(2,d)};m.prototype.w=function(d){this.B(1,d)};m.prototype.B=function(d,e){if(0!=this.g)throw Error("Cannot settle("+d+", "+e+"): Promise already settled in state"+this.g);this.g=d;this.o=e;this.J()};m.prototype.J=function(){if(null!=this.b){for(var d=0;d<this.b.length;++d)K.g(this.b[d]);this.b=null}};var K=new f;m.prototype.O=function(d){var e=this.j();
d.G(e.resolve,e.reject)};m.prototype.P=function(d,e){var f=this.j();try{d.call(e,f.resolve,f.reject)}catch(F){f.reject(F)}};m.prototype.then=function(d,e){function f(e,d){return"function"==typeof e?function(d){try{h(e(d))}catch(Q){l(Q)}}:d}var h,l,q=new m(function(e,d){h=e;l=d});this.G(f(d,h),f(e,l));return q};m.prototype.catch=function(d){return this.then(void 0,d)};m.prototype.G=function(d,e){function f(){switch(m.g){case 1:d(m.o);break;case 2:e(m.o);break;default:throw Error("Unexpected state: "+
m.g);}}var m=this;null==this.b?K.g(f):this.b.push(f)};m.resolve=l;m.reject=function(d){return new m(function(e,f){f(d)})};m.race=function(d){return new m(function(e,f){for(var m=T(d),h=m.next();!h.done;h=m.next())l(h.value).G(e,f)})};m.all=function(d){var e=T(d),f=e.next();return f.done?l([]):new m(function(d,m){function h(e){return function(f){q[e]=f;t--;0==t&&d(q)}}var q=[],t=0;do q.push(void 0),t++,l(f.value).G(h(q.length-1),m),f=e.next();while(!f.done)})};return m});
(function(h,m,f){var l;(l=f.define)&&l.amd?l([],function(){return m}):(l=f.modules)?l[h.toLowerCase()]=m:"object"===typeof exports?module.exports=m:f[h]=m})("FlexSearch",function fa(h){function f(a,b){var c=b?b.id:a&&a.id;this.id=c||0===c?c:ha++;this.init(a,b);d(this,"index",function(){return this.a?this.a.index[this.a.keys[0]].f:this.f});d(this,"length",function(){return Object.keys(this.index).length})}function l(a,b,c,g){this.F!==this.i&&(this.A=this.A.concat(c),this.F++,g&&this.A.length>=g&&(this.F=
this.i),this.F===this.i&&(this.cache&&this.v.set(b,this.A),this.I&&this.I(this.A)));return this}function q(a,b){for(var c=a.length,g=N(b),k=[],G=0,e=0;G<c;G++){var f=a[G];if(g&&b(f)||!g&&!b[f])k[e++]=f}return k}function K(a,b,c,g,k,G,e,f){b=c=Q(c,G?0:k,e,this.D,b,f);c=this.m;e=b.length;f=Array(e);for(var d=0;d<e;d++)f[d]=c[b[d]];c=f;G&&(c=this.where(G,null,k,c));g&&(N(g)||(H=g.split(":"),1<H.length?g=ea:(H=H[0],g=da)),c.sort(g));this.cache&&this.v.set(a,c);return c}function d(a,b,c){Object.defineProperty(a,
b,{get:c})}function e(a){return new RegExp(a,"g")}function t(a,b){for(var c=0;c<b.length;c+=2)a=a.replace(b[c],b[c+1]);return a}function F(a,b,c,g,k,G,e,f){if(b[c])return b[c];k=k?(f-(e||f/1.5))*G+(e||f/1.5)*k:G;b[c]=k;k>=e&&(a=a[f-(k+.5>>0)],a=a[c]||(a[c]=[]),a[a.length]=g);return k}function P(a,b){if(a)for(var c=Object.keys(a),g=0,k=c.length;g<k;g++){var e=c[g],f=a[e];if(f)for(var d=0,x=f.length;d<x;d++)if(f[d]===b){1===x?delete a[e]:f.splice(d,1);break}else L(f[d])&&P(f[d],b)}}function M(a){for(var b=
"",c="",g="",k=0;k<a.length;k++){var e=a[k];if(e!==c)if(k&&"h"===e){if(g="a"===g||"e"===g||"i"===g||"o"===g||"u"===g||"y"===g,("a"===c||"e"===c||"i"===c||"o"===c||"u"===c||"y"===c)&&g||" "===c)b+=e}else b+=e;g=k===a.length-1?"":a[k+1];c=e}return b}function ca(a,b){a=a.length-b.length;return 0>a?1:a?-1:0}function da(a,b){a=a[H];b=b[H];return a<b?-1:a>b?1:0}function ea(a,b){for(var c=H.length,g=0;g<c;g++)a=a[H[g]],b=b[H[g]];return a<b?-1:a>b?1:0}function Q(a,b,c,g,k,e){c=[];var f=a.length;if(1<f){var d=
C(),G,h=-1,p,n=!0,l=0;if(e){for(G=C();++h<f;)if("not"===k[h]){var D=a[h];var w=D.length;for(p=0;p<w;)G["@"+D[p++]]=1}else var r=h+1;if(!r)return c;h=-1}else var z=I(k)&&k;for(;++h<f;){var A=h===(r||f)-1,B=p=void 0;if(!z||!h)if((D=z||k&&k[h])&&"and"!==D)if("or"===D)B=!0;else continue;else p=!0;D=a[h];if(w=D.length){if(n)if(q){var v=q.length;for(p=0;p<v;)d["@"+q[p++]]=1;var q=null;n=!1}else{q=D;continue}var t=!1;p=0;for(v=[];p<w;){var u=D[p++];var y="@"+u,E=d[y];if(E&&(!e||!G[y]))if(B||E===h){if(A){if(c[l++]=
u,b&&l===b)return c}else d[y]=h+1;t=!0}else g&&(y=v[E]||(v[E]=[]),y[y.length]=u)}if(!t&&!g)break}else if(p&&!g)return D}if(q)if(e)for(a=q.length,p=0;p<a;)k=q[p++],G["@"+k]||(c[l++]=k);else c=q;if(g&&(l=c.length,(h=v.length)&&(!b||l<b)))for(;h--;)if(u=v[h])for(p=0,w=u.length;p<w;p++)if(c[l++]=u[p],b&&l===b)return c}else!f||k&&"not"===k[0]||(c=a[0],b&&c.length>b&&(c=c.slice(0,b)));return c}function I(a){return"string"===typeof a}function E(a){return a.constructor===Array}function N(a){return"function"===
typeof a}function L(a){return"object"===typeof a}function y(a){return"undefined"===typeof a}function U(a){for(var b=Array(a),c=0;c<a;c++)b[c]=C();return b}function C(){return Object.create(null)}function ia(){var a,b;self.onmessage=function(c){if(c=c.data)if(c.search){var g=b.search(c.content,c.threshold?{limit:c.limit,threshold:c.threshold,where:c.where}:c.limit);self.postMessage({id:a,content:c.content,limit:c.limit,result:g})}else c.add?b.add(c.id,c.content):c.update?b.update(c.id,c.content):c.remove?
b.remove(c.id):c.clear?b.clear():c.info?(c=b.info(),c.worker=a,console.log(c)):c.register&&(a=c.id,c.options.cache=!1,c.options.async=!1,c.options.worker=!1,b=(new Function(c.register.substring(c.register.indexOf("{")+1,c.register.lastIndexOf("}"))))(),b=new b(c.options))}}function ja(a,b,c,g){a=h("flexsearch","id"+a,ia,function(a){(a=a.data)&&a.result&&g(a.id,a.content,a.result,a.limit,a.where,a.cursor,a.suggest)},b);var k=fa.toString();c.id=b;a.postMessage({register:k,options:c,id:b});return a}
var u={encode:"icase",h:"forward",D:!1,cache:!1,async:!1,i:!1,H:!1,a:!1,L:!1,c:9,threshold:0,depth:0},V={memory:{encode:"extra",h:"strict",threshold:0,c:1},speed:{encode:"icase",h:"strict",threshold:1,c:3,depth:2},match:{encode:"extra",h:"full",threshold:1,c:3},score:{encode:"extra",h:"strict",threshold:1,c:9,depth:4},balance:{encode:"balance",h:"strict",threshold:0,c:3,depth:3},fast:{encode:"icase",h:"strict",threshold:8,c:9,depth:1}},O=[],ha=0,W=/\W+/,X={},Y={};f.create=function(a){return new f(a)};
f.registerMatcher=function(a){for(var b in a)a.hasOwnProperty(b)&&O.push(e(b),a[b]);return this};f.registerEncoder=function(a,b){J[a]=b.bind(J);return this};f.registerLanguage=function(a,b){X[a]=b.filter;Y[a]=b.stemmer;return this};f.encode=function(a,b){return J[a](b)};f.prototype.init=function(a,b){this.g=[];if(b){var c=b.preset;a=b}else a||(a=u),c=a.preset;b={};I(a)?((b=V[a])||console.warn("Preset not found: "+a),a={}):c&&((b=V[c])||console.warn("Preset not found: "+c));if(c=a.worker)if("undefined"===
typeof Worker)a.worker=!1,this.b=null;else{var g=parseInt(c,10)||4;this.w=-1;this.F=0;this.A=[];this.I=null;this.b=Array(g);for(var k=0;k<g;k++)this.b[k]=ja(this.id,k,a,l.bind(this))}this.h=a.tokenize||b.h||this.h||u.h;this.H=a.rtl||this.H||u.H;this.async="undefined"===typeof Promise||y(c=a.async)?this.async||u.async:c;this.i=y(c=a.worker)?this.i||u.i:c;this.threshold=y(c=a.threshold)?b.threshold||this.threshold||u.threshold:c;this.c=y(c=a.resolution)?c=b.c||this.c||u.c:c;c<=this.threshold&&(this.c=
this.threshold+1);this.depth=y(c=a.depth)?b.depth||this.depth||u.depth:c;this.L=y(c=a.paging)?this.L||u.L:c;this.D=y(c=a.suggest)?this.D||u.D:c;this.j=(c=y(c=a.encode)?b.encode||u.encode:c)&&J[c]&&J[c].bind(J)||(N(c)?c:this.j||!1);(c=a.matcher)&&this.addMatcher(c);if(c=a.filter){I(c)&&(c=X[c]);if(E(c)){b=this.j;g=C();for(k=0;k<c.length;k++){var d=b?b(c[k]):c[k];g[d]=1}c=g}this.filter=c}if(c=a.stemmer){b=I(c)?Y[c]:c;g=this.j;k=[];for(var h in b)b.hasOwnProperty(h)&&(d=g?g(h):h,k.push(e(d+"($|\\W)"),
g?g(b[h]):b[h]));this.stemmer=k}this.a=k=(c=a.doc)?c:this.a||u.a;this.u=U(this.c-(this.threshold||0));this.s=C();this.f=C();if(k){this.m=C();a.doc=null;h=k.index={};b=k.keys=[];g=k.field;d=k.tag;E(k.id)||(k.id=k.id.split(":"));if(d){this.B=C();var R=C();if(g)if(I(g))R[g]=a;else if(E(g))for(var x=0;x<g.length;x++)R[g[x]]=a;else L(g)&&(R=g);E(d)||(k.tag=d=[d]);for(g=0;g<d.length;g++)this.B[d[g]]=C();this.J=d;g=R}if(g){if(!E(g))if(L(g)){var q=g;k.field=g=Object.keys(g)}else k.field=g=[g];for(k=0;k<g.length;k++)d=
g[k],E(d)||(q&&(a=q[d]),b[k]=d,g[k]=d.split(":")),h[d]=new f(a),h[d].m=this.m}}this.o=!0;this.v=(this.cache=c=y(c=a.cache)?this.cache||u.cache:c)?new ka(c):!1;return this};f.prototype.encode=function(a){a&&O.length&&(a=t(a,O));a&&this.g.length&&(a=t(a,this.g));a&&this.j&&(a=this.j(a));a&&this.stemmer&&(a=t(a,this.stemmer));return a};f.prototype.addMatcher=function(a){var b=this.g,c;for(c in a)a.hasOwnProperty(c)&&b.push(e(c),a[c]);return this};f.prototype.add=function(a,b,c,g,k){if(this.a&&L(a))return this.l("add",
a,b);if(b&&I(b)&&(a||0===a)){var e="@"+a;if(this.f[e]&&!g)return this.update(a,b);if(this.i)return++this.w>=this.b.length&&(this.w=0),this.b[this.w].postMessage({add:!0,id:a,content:b}),this.f[e]=""+this.w,c&&c(),this;if(!k){if(this.async&&"function"!==typeof importScripts){var d=this;e=new Promise(function(c){setTimeout(function(){d.add(a,b,null,g,!0);d=null;c()})});if(c)e.then(c);else return e;return this}if(c)return this.add(a,b,null,g,!0),c(),this}b=this.encode(b);if(!b.length)return this;c=this.h;
k=N(c)?c(b):b.split(W);this.filter&&(k=q(k,this.filter));var f=C();f._ctx=C();for(var h=k.length,l=this.threshold,p=this.depth,n=this.c,u=this.u,D=this.H,w=0;w<h;w++){var r=k[w];if(r){var z=r.length,A=(D?w+1:h-w)/h,B="";switch(c){case "reverse":case "both":for(var v=z;--v;)B=r[v]+B,F(u,f,B,a,D?1:(z-v)/z,A,l,n-1);B="";case "forward":for(v=0;v<z;v++)B+=r[v],F(u,f,B,a,D?(v+1)/z:1,A,l,n-1);break;case "full":for(v=0;v<z;v++)for(var y=(D?v+1:z-v)/z,t=z;t>v;t--)B=r.substring(v,t),F(u,f,B,a,y,A,l,n-1);break;
default:if(z=F(u,f,r,a,1,A,l,n-1),p&&1<h&&z>=l)for(z=f._ctx[r]||(f._ctx[r]=C()),r=this.s[r]||(this.s[r]=U(n-(l||0))),A=w-p,B=w+p+1,0>A&&(A=0),B>h&&(B=h);A<B;A++)A!==w&&F(r,z,k[A],a,0,n-(A<w?w-A:A-w),l,n-1)}}}this.f[e]=1;this.o=!1}return this};f.prototype.l=function(a,b,c){if(E(b))for(var g=0,e=b.length;g<e;g++){if(g===e-1)return this.l(a,b[g],c);this.l(a,b[g])}else{g=this.a.index;e=this.a.keys;for(var d=this.a.tag,f=this.a.id,h,x,l,p,n=0;n<f.length;n++)h=(h||b)[f[n]];if(d){for(f=0;f<d.length;f++){l=
d[f];x=l.split(":");for(n=0;n<x.length;n++)p=(p||b)[x[n]];p="@"+p}x=this.B[l];x=x[p]||(x[p]=[])}if("remove"===a)for(delete this.m[h],f=0,d=e.length;f<d;f++){if(f===d-1)return g[e[f]].remove(h,c);g[e[f]].remove(h)}f=this.a.field;x&&(x[x.length]=b);d=0;for(l=f.length;d<l;d++){x=f[d];p=void 0;for(n=0;n<x.length;n++)p=(p||b)[x[n]];this.m[h]=b;x=g[e[d]];n="add"===a?x.add:x.update;if(d===l-1)return n.call(x,h,p,c);n.call(x,h,p)}}};f.prototype.update=function(a,b,c){if(this.a&&L(a))return this.l("update",
a,b);this.f["@"+a]&&I(b)&&(this.remove(a),this.add(a,b,c,!0));return this};f.prototype.remove=function(a,b,c){if(this.a&&L(a))return this.l("remove",a,b);var g="@"+a;if(this.f[g]){if(this.i)return this.b[this.f[g]].postMessage({remove:!0,id:a}),delete this.f[g],b&&b(),this;if(!c){if(this.async&&"function"!==typeof importScripts){var e=this;g=new Promise(function(b){setTimeout(function(){e.remove(a,null,!0);e=null;b()})});if(b)g.then(b);else return g;return this}if(b)return this.remove(a,null,!0),
b(),this}for(b=0;b<this.c-(this.threshold||0);b++)P(this.u[b],a);this.depth&&P(this.s,a);delete this.f[g];this.o=!1}return this};var H;f.prototype.search=function(a,b,c,g){if(L(b)){if(E(b))for(var e=0;e<b.length;e++)b[e].query=a;else b.query=a;a=b;b=0}var f=[],d=a;if(L(a)&&!E(a)){(c=a.callback||b)&&(d.callback=null);var h=a.sort;b=a.limit;var l=a.threshold;a=a.query}if(this.a){l=this.a.index;var u=d.where,p=d.bool||"or",n=d.field,t=p,D;if(n)E(n)||(n=[n]);else if(E(d)){var w=d;n=[];t=[];for(var r=
0;r<d.length;r++)g=d[r],e=g.bool||p,n[r]=g.field,t[r]=e,"not"===e&&(D=!0)}else n=this.a.keys;p=n.length;for(r=0;r<p;r++)w&&(d=w[r]),f[r]=l[n[r]].search(d);if(c)return c(K.call(this,a,t,f,h,b,u,void 0,D));if(this.async){var z=this;return new Promise(function(c){Promise.all(f).then(function(g){c(K.call(z,a,t,g,h,b,u,void 0,D))})})}return K.call(this,a,t,f,h,b,u,void 0,D)}l||(l=this.threshold||0);N(b)?(c=b,b=1E3):b||0===b||(b=1E3);if(this.i)for(this.I=c,this.F=0,this.A=[],n=0;n<this.i;n++)this.b[n].postMessage({search:!0,
limit:b,cursor:void 0,threshold:l,content:a});else{if(!g){if(this.async&&"function"!==typeof importScripts){var A=this;l=new Promise(function(a){setTimeout(function(){a(A.search(d,b,null,!0));A=null})});if(c)l.then(c);else return l;return this}if(c)return c(this.search(d,b,null,!0)),this}if(!a||!I(a))return f;d=a;if(this.cache)if(this.o){if(c=this.v.get(a))return c}else this.v.clear(),this.o=!0;d=this.encode(d);if(!d.length)return f;c=this.h;c=N(c)?c(d):d.split(W);this.filter&&(c=q(c,this.filter));
w=c.length;g=!0;e=[];var B=C();1<w&&(this.depth?(n=!0,r=c[0],B[r]=1):c.sort(ca));if(!n||(p=this.s)[r])for(var v=this.c,y=n?1:0;y<w;y++){var F=c[y];if(F){if(!B[F]){var H=[],J=!1,O=0;if(r=n?p[r]:this.u)for(var P=void 0,M=0;M<v-l;M++)if(P=r[M][F])H[O++]=P,J=!0;if(J)e[e.length]=1<O?H.concat.apply([],H):H[0];else if(!this.D){g=!1;break}B[F]=1}r=F}}else g=!1;this.a||(g&&(f=Q(e,b,void 0,this.D)),this.cache&&this.v.set(a,f));return f}};f.prototype.find=function(a,b){return this.where(a,b,1)[0]||null};f.prototype.where=
function(a,b,c,g){var d=g||this.m,e=[],f=0;if("number"===typeof a)return[d[a]];if(I(a)){if(y(b))return[d[a]];if("id"===a)return[d[b]];var h=[a];var l=1;var q=[a.split(":")];var p=!0}else{if(N(a)){b=g||Object.keys(d);c=b.length;for(h=0;h<c;h++)l=g?g[h]:d[b[h]],a(l)&&(e[f++]=l);return e}c||(c=b);h=Object.keys(a);l=h.length;p=!1;if(1===l&&"id"===h[0])return[d[a.id]];if((q=this.J)&&!g)for(var n=0;n<q.length;n++){var u=q[n],t=a[u];if(!y(t)){g=this.B[u]["@"+t];if(0===--l)return g;h.splice(h.indexOf(u),
1);delete a[u];break}}q=Array(l);for(n=0;n<l;n++)q[n]=h[n].split(":")}n=g||Object.keys(d);u=n.length;for(t=0;t<u;t++){for(var w=g?g[t]:d[n[t]],r=!0,z=0;z<l;z++){p||(b=a[h[z]]);var A=q[z],B=A.length,v=w;if(1<B)for(var C=0;C<B;C++)v=v[A[C]];else v=v[A[0]];if(v!==b){r=!1;break}}if(r&&(e[f++]=w,c&&f===c))break}return e};f.prototype.info=function(){if(this.i)for(var a=0;a<this.i;a++)this.b[a].postMessage({info:!0,id:this.id});else return{id:this.id,items:this.length,cache:this.cache&&this.cache.C?this.cache.C.length:
!1,matcher:O.length+(this.g?this.g.length:0),worker:this.i,threshold:this.threshold,depth:this.depth,resolution:this.c,contextual:this.depth&&"strict"===this.h}};f.prototype.clear=function(){return this.destroy().init()};f.prototype.destroy=function(){this.cache&&(this.v.clear(),this.v=null);this.u=this.s=this.f=null;if(this.a){for(var a=this.a.keys,b=0;b<a.length;b++)this.a.index[a[b]].destroy();this.a=this.m=null}return this};f.prototype.export=function(){if(this.a){for(var a=this.a.keys,b=Array(a.length+
1),c=0;c<a.length;c++){var d=this.a.index[a[c]];b[c]=[d.u,d.s,d.f]}b[c]=this.m;return JSON.stringify(b)}return JSON.stringify([this.u,this.s,this.f])};f.prototype.import=function(a){a=JSON.parse(a);if(this.a){for(var b=this.a.keys,c=b.length,d=0;d<c;d++){var e=this.a.index[b[d]];e.u=a[d][0];e.s=a[d][1];e.f=a[d][2];e.m=a[c]}this.m=a[c]}else this.u=a[0],this.s=a[1],this.f=a[2]};var J={icase:function(a){return a.toLowerCase()},simple:function(){var a=[e("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",
e("[\u00e8\u00e9\u00ea\u00eb]"),"e",e("[\u00ec\u00ed\u00ee\u00ef]"),"i",e("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",e("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",e("[\u00fd\u0177\u00ff]"),"y",e("\u00f1"),"n",e("\u00e7"),"c",e("\u00df"),"s",e(" & ")," and ",e("[-/]")," ",e("[^a-z0-9 ]"),"",e("\\s+")," "];return function(b){b=t(b.toLowerCase(),a);return" "===b?"":b}}(),advanced:function(){var a=[e("ae"),"a",e("ai"),"ei",e("ay"),"ei",e("ey"),"ei",e("oe"),"o",e("ue"),"u",e("ie"),"i",e("sz"),"s",e("zs"),
"s",e("sh"),"s",e("ck"),"k",e("cc"),"k",e("dt"),"t",e("ph"),"f",e("pf"),"f",e("ou"),"o",e("uo"),"u"];return function(b,c){if(!b)return b;b=this.simple(b);2<b.length&&(b=t(b,a));c||1<b.length&&(b=M(b));return b}}(),extra:function(){var a=[e("p"),"b",e("z"),"s",e("[cgq]"),"k",e("n"),"m",e("d"),"t",e("[vw]"),"f",e("[aeiouy]"),""];return function(b){if(!b)return b;b=this.advanced(b,!0);if(1<b.length){b=b.split(" ");for(var c=0;c<b.length;c++){var d=b[c];1<d.length&&(b[c]=d[0]+t(d.substring(1),a))}b=b.join(" ");
b=M(b)}return b}}(),balance:function(){var a=[e("[-/]")," ",e("[^a-z0-9 ]"),"",e("\\s+")," "];return function(b){return M(t(b.toLowerCase(),a))}}()},ka=function(){function a(a){this.clear();this.K=!0!==a&&a}a.prototype.clear=function(){this.cache=C();this.count=C();this.index=C();this.C=[]};a.prototype.set=function(a,c){if(this.K&&y(this.cache[a])){var b=this.C.length;if(b===this.K){b--;var d=this.C[b];delete this.cache[d];delete this.count[d];delete this.index[d]}this.index[a]=b;this.C[b]=a;this.count[a]=
-1;this.cache[a]=c;this.get(a)}else this.cache[a]=c};a.prototype.get=function(a){var c=this.cache[a];if(this.K&&c){var b=++this.count[a],d=this.index,e=d[a];if(0<e){for(var f=this.C,h=e;this.count[f[--e]]<=b&&-1!==e;);e++;if(e!==h){for(b=h;b>e;b--)h=f[b-1],f[b]=h,d[h]=b;f[e]=a;d[a]=e}}}return c};return a}();return f}(function(){var h={},m="undefined"!==typeof Blob&&"undefined"!==typeof URL&&URL.createObjectURL;return function(f,l,q,K,d){q=m?URL.createObjectURL(new Blob(["("+q.toString()+")()"],{type:"text/javascript"})):
f+".es5.js";f+="-"+l;h[f]||(h[f]=[]);h[f][d]=new Worker(q);h[f][d].onmessage=K;console.log("Register Worker: "+f+"@"+d);return h[f][d]}}()),this);
/*
FlexSearch v0.5.3
FlexSearch v0.5.31
Copyright 2019 Nextapps GmbH

@@ -8,13 +8,12 @@ Author: Thomas Wilkerling

*/
'use strict';(function(f,w,y){let m;(m=y.define)&&m.amd?m([],function(){return w}):(m=y.modules)?m[f.toLowerCase()]=w:"object"===typeof exports?module.exports=w:y[f]=w})("FlexSearch",function(){function f(a,c){const b=c?c.id:a&&a.id;this.id=b||0===b?b:M++;this.init(a,c);y(this,"index",function(){return this.b});y(this,"length",function(){return Object.keys(this.b).length})}function w(a,c){const b=a.length,e=A(c),d=[];for(let l=0,g=0;l<b;l++){const b=a[l];if(e&&c(b)||!e&&!c[b])d[g++]=b}return d}function y(a,
c,b){Object.defineProperty(a,c,{get:b})}function m(a,c){for(let b=0;b<c.length;b+=2)a=a.replace(c[b],c[b+1]);return a}function B(a,c,b,e,d,l,g,h){if(c[b])return c[b];d=d?(h-(g||h/1.5))*l+(g||h/1.5)*d:l;c[b]=d;d>=g&&(a=a[h-(d+.5>>0)],a=a[b]||(a[b]=[]),a[a.length]=e);return d}function F(a,c){if(a){const b=Object.keys(a);for(let e=0,d=b.length;e<d;e++){const d=b[e],g=a[d];if(g)for(let b=0,e=g.length;b<e;b++)if(g[b]===c){1===e?delete a[d]:g.splice(b,1);break}else"object"===typeof g[b]&&F(g[b],c)}}}function N(a,
c){a=a.length-c.length;return 0>a?1:a?-1:0}function O(a,c,b,e,d){e=[];let l;const g=a.length;if(1<g){c="or"===c;const E=v();let k,f=-1,p,q=0,u,r,x=!0,n=0;for(;++f<g;){const m=f===g-1;k=a[f];p=k.length;if(!p){if(!c&&!d)return e;if(m&&!n)return u||e;continue}if(x){if(m)return k;for(;q<p;)E["@"+k[q++]]=1;u=k;x=!1;continue}let H=!1;l=[];for(q=0;q<p;){r=k[q++];var h="@"+r;if(E[h]){const a=E[h];if(c||a===f){if(m){if(e[n++]=r,b&&n===b)return e}else E[h]=f+1;H=!0}else d&&(h=l[a]||(l[a]=[]),h[h.length]=r)}}if(!H&&
!d)break}if(d&&(n=e.length,(f=l.length)&&(!b||n<b)))for(;f--;)if(r=l[f])for(q=0,p=r.length;q<p;q++)if(e[n++]=r[q],b&&n===b)return e}else g&&(e=a[0],b&&e.length>b&&(e=e.slice(0,b)));return e}function C(a){return"string"===typeof a}function A(a){return"function"===typeof a}function D(a){return"undefined"===typeof a}function I(a){const c=Array(a);for(let b=0;b<a;b++)c[b]=v();return c}function v(){return Object.create(null)}const t={encode:"icase",c:"forward",o:!1,cache:!1,async:!1,s:!1,i:!1,m:!1,l:!1,
a:9,threshold:0,depth:0},G=[];let M=0;const J=/\W+/,K={},L={};f.create=function(a){return new f(a)};f.registerMatcher=function(a){for(const c in a)a.hasOwnProperty(c)&&G.push(new RegExp(c,"g"),a[c]);return this};f.registerEncoder=function(a,c){z[a]=c.bind(z);return this};f.registerLanguage=function(a,c){K[a]=c.filter;L[a]=c.stemmer;return this};f.encode=function(a,c){return z[a](c)};f.prototype.init=function(a,c){this.j=[];if(c){var b=c.preset;a=c}else a||(a=t),b=a.preset;c={};this.c=a.tokenize||
c.c||this.c||t.c;this.i=a.rtl||this.i||t.i;this.threshold=D(b=a.threshold)?c.threshold||this.threshold||t.threshold:b;this.a=D(b=a.resolution)?b=c.a||this.a||t.a:b;b<=this.threshold&&(this.a=this.threshold+1);this.depth=D(b=a.depth)?c.depth||this.depth||t.depth:b;this.l=D(b=a.paging)?this.l||t.l:b;this.g=(b=D(b=a.encode)?c.encode||t.encode:b)&&z[b]&&z[b].bind(z)||(A(b)?b:this.g||!1);(b=a.matcher)&&this.addMatcher(b);if(b=a.filter){C(b)&&(b=K[b]);if(b.constructor===Array){c=this.g;var e=v();for(let a=
0;a<b.length;a++){const d=c?c(b[a]):b[a];e[d]=1}b=e}this.filter=b}if(b=a.stemmer){var d;a=C(b)?L[b]:b;b=this.g;c=[];for(d in a)a.hasOwnProperty(d)&&(e=b?b(d):d,c.push(new RegExp(e+"($|\\W)","g"),b?b(a[d]):a[d]));this.stemmer=d=c}this.h=I(this.a-(this.threshold||0));this.f=v();this.b=v();return this};f.prototype.encode=function(a){a&&G.length&&(a=m(a,G));a&&this.j.length&&(a=m(a,this.j));a&&this.g&&(a=this.g(a));a&&this.stemmer&&(a=m(a,this.stemmer));return a};f.prototype.addMatcher=function(a){const c=
this.j;for(const b in a)a.hasOwnProperty(b)&&c.push(new RegExp(b,"g"),a[b]);return this};f.prototype.add=function(a,c,b,e,d){if(c&&C(c)&&(a||0===a)){const m="@"+a;if(this.b[m]&&!e)return this.update(a,c);if(!d&&b)return this.add(a,c,null,e,!0),b(),this;c=this.encode(c);if(!c.length)return this;b=this.c;c=A(b)?b(c):c.split(J);this.filter&&(c=w(c,this.filter));e=v();e._ctx=v();d=c.length;const p=this.threshold,q=this.depth,u=this.a,r=this.h,x=this.i;for(let n=0;n<d;n++){var l=c[n];if(l){var g=l.length,
h=(x?n+1:d-n)/d,f="";switch(b){case "reverse":case "both":for(var k=g;--k;)f=l[k]+f,B(r,e,f,a,x?1:(g-k)/g,h,p,u-1);f="";case "forward":for(k=0;k<g;k++)f+=l[k],B(r,e,f,a,x?(k+1)/g:1,h,p,u-1);break;case "full":for(k=0;k<g;k++){const b=(x?k+1:g-k)/g;for(let c=g;c>k;c--)f=l.substring(k,c),B(r,e,f,a,b,h,p,u-1)}break;default:if(g=B(r,e,l,a,1,h,p,u-1),q&&1<d&&g>=p)for(g=e._ctx[l]||(e._ctx[l]=v()),l=this.f[l]||(this.f[l]=I(u-(p||0))),h=n-q,f=n+q+1,0>h&&(h=0),f>d&&(f=d);h<f;h++)h!==n&&B(l,g,c[h],a,0,u-(h<
n?n-h:h-n),p,u-1)}}}this.b[m]=1}return this};f.prototype.update=function(a,c,b){this.b["@"+a]&&C(c)&&(this.remove(a),this.add(a,c,b,!0));return this};f.prototype.remove=function(a,c,b){const e="@"+a;if(this.b[e]){if(!b&&c)return this.remove(a,null,!0),c(),this;for(c=0;c<this.a-(this.threshold||0);c++)F(this.h[c],a);this.depth&&F(this.f,a);delete this.b[e]}return this};f.prototype.search=function(a,c,b,e){var d=a;let f,g=[];"object"===typeof a&&(c=a.limit,f=a.threshold,a=a.query);f||(f=this.threshold||
0);A(c)?(b=c,c=1E3):c||0===c||(c=1E3);if(!e&&b)return b(this.search(d,c,null,!0)),this;if(!a||!C(a))return g;d=this.encode(a);if(!d.length)return g;a=this.c;d=A(a)?a(d):d.split(J);this.filter&&(d=w(d,this.filter));a=d.length;b=!0;e=[];const h=v();let m;if(1<a)if(this.depth){m=!0;var k=d[0];h[k]=1}else d.sort(N);let t;if(!m||(t=this.f)[k]){let c=this.a;for(let g=m?1:0;g<a;g++){const a=d[g];if(a){if(!h[a]){const d=[];let g=!1,l=0;if(k=m?t[k]:this.h){let b;for(let e=0;e<c-f;e++)if(b=k[e][a])d[l++]=b,
g=!0}if(g)e[e.length]=1<l?d.concat.apply([],d):d[0];else{b=!1;break}h[a]=1}k=a}}}else b=!1;b&&(g=O(e,!1,c,void 0,!1));return g};f.prototype.clear=function(){return this.destroy().init()};f.prototype.destroy=function(){this.h=this.f=this.b=null;return this};const z={icase:function(a){return a.toLowerCase()}};return f}(!1),this);
'use strict';(function(d,w,x){let m;(m=x.define)&&m.amd?m([],function(){return w}):(m=x.modules)?m[d.toLowerCase()]=w:"object"===typeof exports?module.exports=w:x[d]=w})("FlexSearch",function(){function d(a,c){const b=c?c.id:a&&a.id;this.id=b||0===b?b:J++;this.init(a,c);x(this,"index",function(){return this.b});x(this,"length",function(){return Object.keys(this.index).length})}function w(a,c){const b=a.length,f=z(c),e=[];for(let k=0,g=0;k<b;k++){const b=a[k];if(f&&c(b)||!f&&!c[b])e[g++]=b}return e}
function x(a,c,b){Object.defineProperty(a,c,{get:b})}function m(a,c){for(let b=0;b<c.length;b+=2)a=a.replace(c[b],c[b+1]);return a}function A(a,c,b,f,e,k,g,l){if(c[b])return c[b];e=e?(l-(g||l/1.5))*k+(g||l/1.5)*e:k;c[b]=e;e>=g&&(a=a[l-(e+.5>>0)],a=a[b]||(a[b]=[]),a[a.length]=f);return e}function D(a,c){if(a){const b=Object.keys(a);for(let f=0,e=b.length;f<e;f++){const e=b[f],g=a[e];if(g)for(let b=0,f=g.length;b<f;b++)if(g[b]===c){1===f?delete a[e]:g.splice(b,1);break}else"object"===typeof g[b]&&D(g[b],
c)}}}function K(a,c){a=a.length-c.length;return 0>a?1:a?-1:0}function B(a){return"string"===typeof a}function z(a){return"function"===typeof a}function C(a){return"undefined"===typeof a}function F(a){const c=Array(a);for(let b=0;b<a;b++)c[b]=v();return c}function v(){return Object.create(null)}const r={encode:"icase",c:"forward",o:!1,cache:!1,async:!1,s:!1,i:!1,m:!1,l:!1,a:9,threshold:0,depth:0},E=[];let J=0;const G=/\W+/,H={},I={};d.create=function(a){return new d(a)};d.registerMatcher=function(a){for(const c in a)a.hasOwnProperty(c)&&
E.push(new RegExp(c,"g"),a[c]);return this};d.registerEncoder=function(a,c){y[a]=c.bind(y);return this};d.registerLanguage=function(a,c){H[a]=c.filter;I[a]=c.stemmer;return this};d.encode=function(a,c){return y[a](c)};d.prototype.init=function(a,c){this.j=[];if(c){var b=c.preset;a=c}else a||(a=r),b=a.preset;c={};this.c=a.tokenize||c.c||this.c||r.c;this.i=a.rtl||this.i||r.i;this.threshold=C(b=a.threshold)?c.threshold||this.threshold||r.threshold:b;this.a=C(b=a.resolution)?b=c.a||this.a||r.a:b;b<=this.threshold&&
(this.a=this.threshold+1);this.depth=C(b=a.depth)?c.depth||this.depth||r.depth:b;this.l=C(b=a.paging)?this.l||r.l:b;this.g=(b=C(b=a.encode)?c.encode||r.encode:b)&&y[b]&&y[b].bind(y)||(z(b)?b:this.g||!1);(b=a.matcher)&&this.addMatcher(b);if(b=a.filter){B(b)&&(b=H[b]);if(b.constructor===Array){c=this.g;var f=v();for(let a=0;a<b.length;a++){const e=c?c(b[a]):b[a];f[e]=1}b=f}this.filter=b}if(b=a.stemmer){var e;a=B(b)?I[b]:b;b=this.g;c=[];for(e in a)a.hasOwnProperty(e)&&(f=b?b(e):e,c.push(new RegExp(f+
"($|\\W)","g"),b?b(a[e]):a[e]));this.stemmer=e=c}this.h=F(this.a-(this.threshold||0));this.f=v();this.b=v();return this};d.prototype.encode=function(a){a&&E.length&&(a=m(a,E));a&&this.j.length&&(a=m(a,this.j));a&&this.g&&(a=this.g(a));a&&this.stemmer&&(a=m(a,this.stemmer));return a};d.prototype.addMatcher=function(a){const c=this.j;for(const b in a)a.hasOwnProperty(b)&&c.push(new RegExp(b,"g"),a[b]);return this};d.prototype.add=function(a,c,b,f,e){if(c&&B(c)&&(a||0===a)){const d="@"+a;if(this.b[d]&&
!f)return this.update(a,c);if(!e&&b)return this.add(a,c,null,f,!0),b(),this;c=this.encode(c);if(!c.length)return this;b=this.c;c=z(b)?b(c):c.split(G);this.filter&&(c=w(c,this.filter));f=v();f._ctx=v();e=c.length;const q=this.threshold,u=this.depth,p=this.a,t=this.h,m=this.i;for(let d=0;d<e;d++){var k=c[d];if(k){var g=k.length,l=(m?d+1:e-d)/e,n="";switch(b){case "reverse":case "both":for(var h=g;--h;)n=k[h]+n,A(t,f,n,a,m?1:(g-h)/g,l,q,p-1);n="";case "forward":for(h=0;h<g;h++)n+=k[h],A(t,f,n,a,m?(h+
1)/g:1,l,q,p-1);break;case "full":for(h=0;h<g;h++){const b=(m?h+1:g-h)/g;for(let c=g;c>h;c--)n=k.substring(h,c),A(t,f,n,a,b,l,q,p-1)}break;default:if(g=A(t,f,k,a,1,l,q,p-1),u&&1<e&&g>=q)for(g=f._ctx[k]||(f._ctx[k]=v()),k=this.f[k]||(this.f[k]=F(p-(q||0))),l=d-u,n=d+u+1,0>l&&(l=0),n>e&&(n=e);l<n;l++)l!==d&&A(k,g,c[l],a,0,p-(l<d?d-l:l-d),q,p-1)}}}this.b[d]=1}return this};d.prototype.update=function(a,c,b){this.b["@"+a]&&B(c)&&(this.remove(a),this.add(a,c,b,!0));return this};d.prototype.remove=function(a,
c,b){const f="@"+a;if(this.b[f]){if(!b&&c)return this.remove(a,null,!0),c(),this;for(c=0;c<this.a-(this.threshold||0);c++)D(this.h[c],a);this.depth&&D(this.f,a);delete this.b[f]}return this};d.prototype.search=function(a,c,b,f){var e=[],d=a;if("object"===typeof a){c=a.limit;var g=a.threshold;a=a.query}g||(g=this.threshold||0);z(c)?(b=c,c=1E3):c||0===c||(c=1E3);if(!f&&b)return b(this.search(d,c,null,!0)),this;if(!a||!B(a))return e;d=this.encode(a);if(!d.length)return e;a=this.c;a=z(a)?a(d):d.split(G);
this.filter&&(a=w(a,this.filter));b=a.length;f=!0;d=[];var l=v();if(1<b)if(this.depth){var n=!0;var h=a[0];l[h]=1}else a.sort(K);var m;if(!n||(m=this.f)[h]){var q=this.a;for(var u=n?1:0;u<b;u++){var p=a[u];if(p){if(!l[p]){var t=[],r=!1;let a=0;if(h=n?m[h]:this.h){let b;for(let c=0;c<q-g;c++)if(b=h[c][p])t[a++]=b,r=!0}if(r)d[d.length]=1<a?t.concat.apply([],t):t[0];else{f=!1;break}l[p]=1}h=p}}}else f=!1;if(f)a:if(e=[],g=d.length,1<g){n=v();h=-1;u=!0;let k;for(f=0;++h<g;){l=h===g-1;m=d[h];b=m.length;
if(!b){e=m;break a}if(u)if(k){q=k.length;for(a=0;a<q;)n["@"+k[a++]]=1;k=null;u=!1}else{k=m;continue}p=!1;for(a=0;a<b;)if(q=m[a++],t="@"+q,(r=n[t])&&r===h){if(l){if(e[f++]=q,c&&f===c)break a}else n[t]=h+1;p=!0}if(!p)break}k&&(e=k)}else g&&(e=d[0],c&&e.length>c&&(e=e.slice(0,c)));return e};d.prototype.clear=function(){return this.destroy().init()};d.prototype.destroy=function(){this.h=this.f=this.b=null;return this};const y={icase:function(a){return a.toLowerCase()}};return d}(!1),this);
/*
FlexSearch v0.5.3
FlexSearch v0.5.31
Copyright 2019 Nextapps GmbH

@@ -8,33 +8,33 @@ Author: Thomas Wilkerling

*/
'use strict';(function(z,G,k){let A;(A=k.define)&&A.amd?A([],function(){return G}):(A=k.modules)?A[z.toLowerCase()]=G:"object"===typeof exports?module.exports=G:k[z]=G})("FlexSearch",function X(z){function k(a,c){const b=c?c.id:a&&a.id;this.id=b||0===b?b:Y++;this.init(a,c);H(this,"index",function(){return this.b});H(this,"length",function(){return Object.keys(this.b).length})}function A(a,c,b,d){this.v!==this.g&&(this.o=this.o.concat(b),this.v++,d&&this.o.length>=d&&(this.v=this.g),this.v===this.g&&
(this.cache&&this.l.set(c,this.o),this.G&&this.G(this.o)));return this}function I(a,c){const b=a.length,d=E(c),e=[];for(let f=0,h=0;f<b;f++){const b=a[f];if(d&&c(b)||!d&&!c[b])e[h++]=b}return e}function K(a,c,b,d,e,f,h){const m=this.h;c=b=P(b,c,f?0:e,h,this.u);b=c.length;h=Array(b);for(let a=0;a<b;a++)h[a]=m[c[a]];b=h;f&&(b=this.where(f,null,e,b));d&&(E(d)||(B=d.split(":"),1<B.length?d=Z:(B=B[0],d=aa)),b.sort(d));this.cache&&this.l.set(a,b);return b}function H(a,c,b){Object.defineProperty(a,c,{get:b})}
function g(a){return new RegExp(a,"g")}function F(a,c){for(let b=0;b<c.length;b+=2)a=a.replace(c[b],c[b+1]);return a}function L(a,c,b,d,e,f,h,m){if(c[b])return c[b];e=e?(m-(h||m/1.5))*f+(h||m/1.5)*e:f;c[b]=e;e>=h&&(a=a[m-(e+.5>>0)],a=a[b]||(a[b]=[]),a[a.length]=d);return e}function N(a,c){if(a){const b=Object.keys(a);for(let d=0,e=b.length;d<e;d++){const e=b[d],h=a[e];if(h)for(let b=0,d=h.length;b<d;b++)if(h[b]===c){1===d?delete a[e]:h.splice(b,1);break}else C(h[b])&&N(h[b],c)}}}function O(a){let c=
"",b="";var d="";for(let e=0;e<a.length;e++){const f=a[e];if(f!==b)if(e&&"h"===f){if(d="a"===d||"e"===d||"i"===d||"o"===d||"u"===d||"y"===d,("a"===b||"e"===b||"i"===b||"o"===b||"u"===b||"y"===b)&&d||" "===b)c+=f}else c+=f;d=e===a.length-1?"":a[e+1];b=f}return c}function ba(a,c){a=a.length-c.length;return 0>a?1:a?-1:0}function aa(a,c){a=a[B];c=c[B];return a<c?-1:a>c?1:0}function Z(a,c){const b=B.length;for(let d=0;d<b;d++)a=a[B[d]],c=c[B[d]];return a<c?-1:a>c?1:0}function P(a,c,b,d,e){d=[];let f;const h=
a.length;if(1<h){c="or"===c;const t=u();let g,n=-1,l,p=0,k,x,R=!0,v=0;for(;++n<h;){const r=n===h-1;g=a[n];l=g.length;if(!l){if(!c&&!e)return d;if(r&&!v)return k||d;continue}if(R){if(r)return g;for(;p<l;)t["@"+g[p++]]=1;k=g;R=!1;continue}let Q=!1;f=[];for(p=0;p<l;){x=g[p++];var m="@"+x;if(t[m]){const a=t[m];if(c||a===n){if(r){if(d[v++]=x,b&&v===b)return d}else t[m]=n+1;Q=!0}else e&&(m=f[a]||(f[a]=[]),m[m.length]=x)}}if(!Q&&!e)break}if(e&&(v=d.length,(n=f.length)&&(!b||v<b)))for(;n--;)if(x=f[n])for(p=
0,l=x.length;p<l;p++)if(d[v++]=x[p],b&&v===b)return d}else h&&(d=a[0],b&&d.length>b&&(d=d.slice(0,b)));return d}function D(a){return"string"===typeof a}function y(a){return a.constructor===Array}function E(a){return"function"===typeof a}function C(a){return"object"===typeof a}function w(a){return"undefined"===typeof a}function S(a){const c=Array(a);for(let b=0;b<a;b++)c[b]=u();return c}function u(){return Object.create(null)}function ca(){let a,c;self.onmessage=function(b){if(b=b.data)if(b.search){const d=
c.search(b.content,b.threshold?{limit:b.limit,threshold:b.threshold,where:b.where}:b.limit);self.postMessage({id:a,content:b.content,limit:b.limit,result:d})}else b.add?c.add(b.id,b.content):b.update?c.update(b.id,b.content):b.remove?c.remove(b.id):b.clear?c.clear():b.info?(b=c.info(),b.worker=a,console.log(b)):b.register&&(a=b.id,b.options.cache=!1,b.options.async=!1,b.options.worker=!1,c=(new Function(b.register.substring(b.register.indexOf("{")+1,b.register.lastIndexOf("}"))))(),c=new c(b.options))}}
function da(a,c,b,d){a=z("flexsearch","id"+a,ca,function(a){(a=a.data)&&a.result&&d(a.id,a.content,a.result,a.limit,a.where,a.cursor,a.suggest)},c);const e=X.toString();b.id=c;a.postMessage({register:e,options:b,id:c});return a}const q={encode:"icase",f:"forward",u:!1,cache:!1,async:!1,g:!1,F:!1,a:!1,J:!1,c:9,threshold:0,depth:0},T={memory:{encode:"extra",f:"strict",threshold:0,c:1},speed:{encode:"icase",f:"strict",threshold:1,c:3,depth:2},match:{encode:"extra",f:"full",threshold:1,c:3},score:{encode:"extra",
f:"strict",threshold:1,c:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,c:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,c:9,depth:1}},M=[];let Y=0;const U=/\W+/,V={},W={};k.create=function(a){return new k(a)};k.registerMatcher=function(a){for(const c in a)a.hasOwnProperty(c)&&M.push(g(c),a[c]);return this};k.registerEncoder=function(a,c){J[a]=c.bind(J);return this};k.registerLanguage=function(a,c){V[a]=c.filter;W[a]=c.stemmer;return this};k.encode=function(a,c){return J[a](c)};
k.prototype.init=function(a,c){this.w=[];if(c){var b=c.preset;a=c}else a||(a=q),b=a.preset;c={};D(a)?(c=T[a],a={}):b&&(c=T[b]);if(b=a.worker)if("undefined"===typeof Worker)a.worker=!1,this.m=null;else{var d=parseInt(b,10)||4;this.D=-1;this.v=0;this.o=[];this.G=null;this.m=Array(d);for(var e=0;e<d;e++)this.m[e]=da(this.id,e,a,A.bind(this))}this.f=a.tokenize||c.f||this.f||q.f;this.F=a.rtl||this.F||q.F;this.async="undefined"===typeof Promise||w(b=a.async)?this.async||q.async:b;this.g=w(b=a.worker)?this.g||
q.g:b;this.threshold=w(b=a.threshold)?c.threshold||this.threshold||q.threshold:b;this.c=w(b=a.resolution)?b=c.c||this.c||q.c:b;b<=this.threshold&&(this.c=this.threshold+1);this.depth=w(b=a.depth)?c.depth||this.depth||q.depth:b;this.J=w(b=a.paging)?this.J||q.J:b;this.u=w(b=a.suggest)?this.u||q.u:b;this.A=(b=w(b=a.encode)?c.encode||q.encode:b)&&J[b]&&J[b].bind(J)||(E(b)?b:this.A||!1);(b=a.matcher)&&this.addMatcher(b);if(b=a.filter){D(b)&&(b=V[b]);if(y(b)){c=this.A;d=u();for(e=0;e<b.length;e++){var f=
c?c(b[e]):b[e];d[f]=1}b=d}this.filter=b}if(b=a.stemmer){var h;c=D(b)?W[b]:b;d=this.A;e=[];for(h in c)c.hasOwnProperty(h)&&(f=d?d(h):h,e.push(g(f+"($|\\W)"),d?d(c[h]):c[h]));this.stemmer=h=e}this.a=e=(b=a.doc)?b:this.a||q.a;this.i=S(this.c-(this.threshold||0));this.j=u();this.b=u();if(e){this.h=u();a.doc=null;h=e.index={};c=e.keys=[];d=e.field;f=e.tag;y(e.id)||(e.id=e.id.split(":"));if(f){this.H=u();let c=u();if(d)if(D(d))c[d]=a;else if(y(d))for(let b=0;b<d.length;b++)c[d[b]]=a;else C(d)&&(c=d);y(f)||
(e.tag=f=[f]);for(d=0;d<f.length;d++)this.H[f[d]]=u();this.K=f;d=c}if(d){let b;y(d)||(C(d)?(b=d,e.field=d=Object.keys(d)):e.field=d=[d]);for(e=0;e<d.length;e++)f=d[e],y(f)||(b&&(a=b[f]),c[e]=f,d[e]=f.split(":")),h[f]=new k(a),h[f].h=this.h}}this.C=!0;this.l=(this.cache=b=w(b=a.cache)?this.cache||q.cache:b)?new ea(b):!1;return this};k.prototype.encode=function(a){a&&M.length&&(a=F(a,M));a&&this.w.length&&(a=F(a,this.w));a&&this.A&&(a=this.A(a));a&&this.stemmer&&(a=F(a,this.stemmer));return a};k.prototype.addMatcher=
function(a){const c=this.w;for(const b in a)a.hasOwnProperty(b)&&c.push(g(b),a[b]);return this};k.prototype.add=function(a,c,b,d,e){if(this.a&&C(a))return this.B("add",a,c);if(c&&D(c)&&(a||0===a)){var f="@"+a;if(this.b[f]&&!d)return this.update(a,c);if(this.g)return++this.D>=this.m.length&&(this.D=0),this.m[this.D].postMessage({add:!0,id:a,content:c}),this.b[f]=""+this.D,b&&b(),this;if(!e){if(this.async&&"function"!==typeof importScripts){let e=this;f=new Promise(function(b){setTimeout(function(){e.add(a,
c,null,d,!0);e=null;b()})});if(b)f.then(b);else return f;return this}if(b)return this.add(a,c,null,d,!0),b(),this}c=this.encode(c);if(!c.length)return this;b=this.f;e=E(b)?b(c):c.split(U);this.filter&&(e=I(e,this.filter));const l=u();l._ctx=u();const p=e.length,k=this.threshold,x=this.depth,r=this.c,v=this.i,q=this.F;for(let c=0;c<p;c++){var h=e[c];if(h){var m=h.length,t=(q?c+1:p-c)/p,g="";switch(b){case "reverse":case "both":for(var n=m;--n;)g=h[n]+g,L(v,l,g,a,q?1:(m-n)/m,t,k,r-1);g="";case "forward":for(n=
0;n<m;n++)g+=h[n],L(v,l,g,a,q?(n+1)/m:1,t,k,r-1);break;case "full":for(n=0;n<m;n++){const c=(q?n+1:m-n)/m;for(let b=m;b>n;b--)g=h.substring(n,b),L(v,l,g,a,c,t,k,r-1)}break;default:if(m=L(v,l,h,a,1,t,k,r-1),x&&1<p&&m>=k)for(m=l._ctx[h]||(l._ctx[h]=u()),h=this.j[h]||(this.j[h]=S(r-(k||0))),t=c-x,g=c+x+1,0>t&&(t=0),g>p&&(g=p);t<g;t++)t!==c&&L(h,m,e[t],a,0,r-(t<c?c-t:t-c),k,r-1)}}}this.b[f]=1;this.C=!1}return this};k.prototype.B=function(a,c,b){if(y(c))for(let d=0,e=c.length;d<e;d++){if(d===e-1)return this.B(a,
c[d],b);this.B(a,c[d])}else{const g=this.a.index,k=this.a.keys;var d=this.a.tag,e=this.a.id;let n;let l;for(var f=0;f<e.length;f++)n=(n||c)[e[f]];if(d){for(e=0;e<d.length;e++){var h=d[e];var m=h.split(":");for(f=0;f<m.length;f++)l=(l||c)[m[f]];l="@"+l}m=this.H[h];m=m[l]||(m[l]=[])}if("remove"===a){delete this.h[n];for(let a=0,c=k.length;a<c;a++){if(a===c-1)return g[k[a]].remove(n,b);g[k[a]].remove(n)}}e=this.a.field;m&&(m[m.length]=c);for(let f=0,m=e.length;f<m;f++){d=e[f];let l;for(h=0;h<d.length;h++)l=
(l||c)[d[h]];this.h[n]=c;d=g[k[f]];h="add"===a?d.add:d.update;if(f===m-1)return h.call(d,n,l,b);h.call(d,n,l)}}};k.prototype.update=function(a,c,b){if(this.a&&C(a))return this.B("update",a,c);this.b["@"+a]&&D(c)&&(this.remove(a),this.add(a,c,b,!0));return this};k.prototype.remove=function(a,c,b){if(this.a&&C(a))return this.B("remove",a,c);var d="@"+a;if(this.b[d]){if(this.g)return this.m[this.b[d]].postMessage({remove:!0,id:a}),delete this.b[d],c&&c(),this;if(!b){if(this.async&&"function"!==typeof importScripts){let b=
this;d=new Promise(function(c){setTimeout(function(){b.remove(a,null,!0);b=null;c()})});if(c)d.then(c);else return d;return this}if(c)return this.remove(a,null,!0),c(),this}for(c=0;c<this.c-(this.threshold||0);c++)N(this.i[c],a);this.depth&&N(this.j,a);delete this.b[d];this.C=!1}return this};let B;k.prototype.search=function(a,c,b,d){if(C(c)){if(y(c))for(var e=0;e<c.length;e++)c[e].query=a;else c.query=a;a=c;c=0}let f=a;let h=[];if(C(a)&&!y(a)){(b=a.callback||c)&&(f.callback=null);c=a.limit;var m=
a.threshold;a=a.query}if(this.a){let d=f.where,e=f.bool,p=f.sort;m=this.a.index;var g=f.field;if(g)f.field=null,y(g)||(g=[g]);else if(y(f)){var k=f;g=[];for(var n=0;n<f.length;n++){var l=f[n];g[n]=l.field;e=l.bool;p=l.sort;d=l.where}}else g=this.a.keys;n=g.length;for(l=0;l<n;l++)k&&(f=k[l]),h[l]=m[g[l]].search(f);if(b)return b(K.call(this,a,e,h,p,c,d,void 0));if(this.async){const b=this;return new Promise(function(f){Promise.all(h).then(function(h){f(K.call(b,a,e,h,p,c,d,void 0))})})}return K.call(this,
a,e,h,p,c,d,void 0)}m||(m=this.threshold||0);E(c)?(b=c,c=1E3):c||0===c||(c=1E3);if(this.g)for(this.G=b,this.v=0,this.o=[],g=0;g<this.g;g++)this.m[g].postMessage({search:!0,limit:c,cursor:void 0,threshold:m,content:a});else{if(!d){if(this.async&&"function"!==typeof importScripts){let a=this;m=new Promise(function(b){setTimeout(function(){b(a.search(f,c,null,!0));a=null})});if(b)m.then(b);else return m;return this}if(b)return b(this.search(f,c,null,!0)),this}if(!a||!D(a))return h;f=a;if(this.cache)if(this.C){if(b=
this.l.get(a))return b}else this.l.clear(),this.C=!0;f=this.encode(f);if(!f.length)return h;b=this.f;b=E(b)?b(f):f.split(U);this.filter&&(b=I(b,this.filter));k=b.length;d=!0;e=[];var p=u();1<k&&(this.depth?(g=!0,l=b[0],p[l]=1):b.sort(ba));if(!g||(n=this.j)[l]){let a=this.c;for(let c=g?1:0;c<k;c++){const f=b[c];if(f){if(!p[f]){const c=[];let b=!1,h=0;if(l=g?n[l]:this.i){let d;for(let e=0;e<a-m;e++)if(d=l[e][f])c[h++]=d,b=!0}if(b)e[e.length]=1<h?c.concat.apply([],c):c[0];else if(!this.u){d=!1;break}p[f]=
1}l=f}}}else d=!1;this.a||(d&&(h=P(e,!1,c,void 0,this.u)),this.cache&&this.l.set(a,h));return h}};k.prototype.find=function(a,c){return this.where(a,c,1)[0]||null};k.prototype.where=function(a,c,b,d){const e=d||this.h,f=[];let h=0;var g;let k;if("number"===typeof a)return[e[a]];if(D(a)){if(w(c))return[e[a]];if("id"===a)return[e[c]];var r=1;var n=[a.split(":")];k=!0}else{if(E(a)){c=d||Object.keys(e);b=c.length;for(g=0;g<b;g++)r=d?d[g]:e[c[g]],a(r)&&(f[h++]=r);return f}b||(b=c);g=Object.keys(a);r=g.length;
k=!1;if(1===r&&"id"===g[0])return[e[a.id]];if((n=this.K)&&!d)for(var l=0;l<n.length;l++){var p=n[l],q=a[p];if(!w(q)){d=this.H[p]["@"+q];if(0===--r)return d;g.splice(g.indexOf(p),1);delete a[p];break}}n=Array(r);for(l=0;l<r;l++)n[l]=g[l].split(":")}l=d||Object.keys(e);p=l.length;for(q=0;q<p;q++){const m=d?d[q]:e[l[q]];let p=!0;for(let b=0;b<r;b++){k||(c=a[g[b]]);const d=n[b],e=d.length;let f=m;if(1<e)for(let a=0;a<e;a++)f=f[d[a]];else f=f[d[0]];if(f!==c){p=!1;break}}if(p&&(f[h++]=m,b&&h===b))break}return f};
k.prototype.info=function(){if(this.g)for(var a=0;a<this.g;a++)this.m[a].postMessage({info:!0,id:this.id});else{var c=0,b=0,d=0;for(var e=0;e<this.c-(this.threshold||0);e++){a=Object.keys(this.i[e]);for(let g=0;g<a.length;g++){var f=this.i[e][a[g]].length;c+=1*f+2*a[g].length+4;b+=f;d+=2*a[g].length}}a=Object.keys(this.b);f=a.length;for(e=0;e<f;e++)c+=2*a[e].length+2;return{id:this.id,memory:c,items:f,sequences:b,chars:d,cache:this.cache&&this.cache.s?this.cache.s.length:!1,matcher:M.length+(this.w?
this.w.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,contextual:this.depth&&"strict"===this.f}}};k.prototype.clear=function(){return this.destroy().init()};k.prototype.destroy=function(){this.cache&&(this.l.clear(),this.l=null);this.i=this.j=this.b=null;if(this.a){const a=this.a.keys;for(let c=0;c<a.length;c++)this.a.index[a[c]].destroy();this.a=this.h=null}return this};k.prototype.export=function(){if(this.a){const a=this.a.keys,c=Array(a.length+1);let b=0;for(;b<a.length;b++){const d=
this.a.index[a[b]];c[b]=[d.i,d.j,d.b]}c[b]=this.h;return JSON.stringify(c)}return JSON.stringify([this.i,this.j,this.b])};k.prototype.import=function(a){a=JSON.parse(a);if(this.a){const c=this.a.keys,b=c.length;for(let d=0;d<b;d++){const e=this.a.index[c[d]];e.i=a[d][0];e.j=a[d][1];e.b=a[d][2];e.h=a[b]}this.h=a[b]}else this.i=a[0],this.j=a[1],this.b=a[2]};const J={icase:function(a){return a.toLowerCase()},simple:function(){const a=[g("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",g("[\u00e8\u00e9\u00ea\u00eb]"),
"e",g("[\u00ec\u00ed\u00ee\u00ef]"),"i",g("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",g("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",g("[\u00fd\u0177\u00ff]"),"y",g("\u00f1"),"n",g("\u00e7"),"c",g("\u00df"),"s",g(" & ")," and ",g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(c){c=F(c.toLowerCase(),a);return" "===c?"":c}}(),advanced:function(){const a=[g("ae"),"a",g("ai"),"ei",g("ay"),"ei",g("ey"),"ei",g("oe"),"o",g("ue"),"u",g("ie"),"i",g("sz"),"s",g("zs"),"s",g("sh"),"s",g("ck"),"k",
g("cc"),"k",g("dt"),"t",g("ph"),"f",g("pf"),"f",g("ou"),"o",g("uo"),"u"];return function(c,b){if(!c)return c;c=this.simple(c);2<c.length&&(c=F(c,a));b||1<c.length&&(c=O(c));return c}}(),extra:function(){const a=[g("p"),"b",g("z"),"s",g("[cgq]"),"k",g("n"),"m",g("d"),"t",g("[vw]"),"f",g("[aeiouy]"),""];return function(c){if(!c)return c;c=this.advanced(c,!0);if(1<c.length){c=c.split(" ");for(let b=0;b<c.length;b++){const d=c[b];1<d.length&&(c[b]=d[0]+F(d.substring(1),a))}c=c.join(" ");c=O(c)}return c}}(),
balance:function(){const a=[g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(c){return O(F(c.toLowerCase(),a))}}()},ea=function(){function a(a){this.clear();this.I=!0!==a&&a}a.prototype.clear=function(){this.cache=u();this.count=u();this.index=u();this.s=[]};a.prototype.set=function(a,b){if(this.I&&w(this.cache[a])){let c=this.s.length;if(c===this.I){c--;const a=this.s[c];delete this.cache[a];delete this.count[a];delete this.index[a]}this.index[a]=c;this.s[c]=a;this.count[a]=-1;this.cache[a]=
b;this.get(a)}else this.cache[a]=b};a.prototype.get=function(a){const b=this.cache[a];if(this.I&&b){var c=++this.count[a];const b=this.index;let d=b[a];if(0<d){const f=this.s;for(var e=d;this.count[f[--d]]<=c&&-1!==d;);d++;if(d!==e){for(c=e;c>d;c--)e=f[c-1],f[c]=e,b[e]=c;f[d]=a;b[a]=d}}}return b};return a}();return k}(function(){const z={},G="undefined"!==typeof Blob&&"undefined"!==typeof URL&&URL.createObjectURL;return function(k,A,I,K,H){I=G?URL.createObjectURL(new Blob(["("+I.toString()+")()"],
{type:"text/javascript"})):k+".min.js";k+="-"+A;z[k]||(z[k]=[]);z[k][H]=new Worker(I);z[k][H].onmessage=K;return z[k][H]}}()),this);
'use strict';(function(A,J,k){let C;(C=k.define)&&C.amd?C([],function(){return J}):(C=k.modules)?C[A.toLowerCase()]=J:"object"===typeof exports?module.exports=J:k[A]=J})("FlexSearch",function ba(A){function k(a,c){const b=c?c.id:a&&a.id;this.id=b||0===b?b:ca++;this.init(a,c);K(this,"index",function(){return this.a?this.a.index[this.a.keys[0]].c:this.c});K(this,"length",function(){return Object.keys(this.index).length})}function C(a,c,b,d){this.v!==this.g&&(this.o=this.o.concat(b),this.v++,d&&this.o.length>=
d&&(this.v=this.g),this.v===this.g&&(this.cache&&this.l.set(c,this.o),this.G&&this.G(this.o)));return this}function L(a,c){const b=a.length,d=G(c),e=[];for(let h=0,f=0;h<b;h++){const b=a[h];if(d&&c(b)||!d&&!c[b])e[f++]=b}return e}function N(a,c,b,d,e,h,f,l){c=b=U(b,h?0:e,f,this.u,c,l);b=this.h;f=c.length;l=Array(f);for(let a=0;a<f;a++)l[a]=b[c[a]];b=l;h&&(b=this.where(h,null,e,b));d&&(G(d)||(D=d.split(":"),1<D.length?d=da:(D=D[0],d=ea)),b.sort(d));this.cache&&this.l.set(a,b);return b}function K(a,
c,b){Object.defineProperty(a,c,{get:b})}function g(a){return new RegExp(a,"g")}function H(a,c){for(let b=0;b<c.length;b+=2)a=a.replace(c[b],c[b+1]);return a}function O(a,c,b,d,e,h,f,l){if(c[b])return c[b];e=e?(l-(f||l/1.5))*h+(f||l/1.5)*e:h;c[b]=e;e>=f&&(a=a[l-(e+.5>>0)],a=a[b]||(a[b]=[]),a[a.length]=d);return e}function Q(a,c){if(a){const b=Object.keys(a);for(let d=0,e=b.length;d<e;d++){const e=b[d],f=a[e];if(f)for(let b=0,d=f.length;b<d;b++)if(f[b]===c){1===d?delete a[e]:f.splice(b,1);break}else F(f[b])&&
Q(f[b],c)}}}function R(a){let c="",b="";var d="";for(let e=0;e<a.length;e++){const h=a[e];if(h!==b)if(e&&"h"===h){if(d="a"===d||"e"===d||"i"===d||"o"===d||"u"===d||"y"===d,("a"===b||"e"===b||"i"===b||"o"===b||"u"===b||"y"===b)&&d||" "===b)c+=h}else c+=h;d=e===a.length-1?"":a[e+1];b=h}return c}function fa(a,c){a=a.length-c.length;return 0>a?1:a?-1:0}function ea(a,c){a=a[D];c=c[D];return a<c?-1:a>c?1:0}function da(a,c){const b=D.length;for(let d=0;d<b;d++)a=a[D[d]],c=c[D[d]];return a<c?-1:a>c?1:0}function U(a,
c,b,d,e,h){b=[];const f=a.length;if(1<f){const m=r();let g,n,p=-1;var l;let k,v,x=!0,w,I=0,S,T;if(h){for(g=r();++p<f;)if("not"===e[p])for(n=a[p],k=n.length,l=0;l<k;)g["@"+n[l++]]=1;else T=p+1;if(!T)return b;p=-1}else S=E(e)&&e;for(;++p<f;){const t=p===(T||f)-1;let V,r;if(!S||!p)if((l=S||e&&e[p])&&"and"!==l)if("or"===l)r=!0;else continue;else V=!0;n=a[p];k=n.length;if(!k){if(V&&!d)return n;continue}if(x)if(w){var q=w.length;for(l=0;l<q;)m["@"+w[l++]]=1;w=null;x=!1}else{w=n;continue}let u=!1;l=0;for(q=
[];l<k;){v=n[l++];var B="@"+v;const a=m[B];if(a&&(!h||!g[B]))if(r||a===p){if(t){if(b[I++]=v,c&&I===c)return b}else m[B]=p+1;u=!0}else d&&(B=q[a]||(q[a]=[]),B[B.length]=v)}if(!u&&!d)break}if(w)if(h)for(a=w.length,l=0;l<a;)e=w[l++],g["@"+e]||(b[I++]=e);else b=w;if(d&&(I=b.length,(p=q.length)&&(!c||I<c)))for(;p--;)if(v=q[p])for(l=0,k=v.length;l<k;l++)if(b[I++]=v[l],c&&I===c)return b}else!f||e&&"not"===e[0]||(b=a[0],c&&b.length>c&&(b=b.slice(0,c)));return b}function E(a){return"string"===typeof a}function z(a){return a.constructor===
Array}function G(a){return"function"===typeof a}function F(a){return"object"===typeof a}function y(a){return"undefined"===typeof a}function W(a){const c=Array(a);for(let b=0;b<a;b++)c[b]=r();return c}function r(){return Object.create(null)}function ha(){let a,c;self.onmessage=function(b){if(b=b.data)if(b.search){const d=c.search(b.content,b.threshold?{limit:b.limit,threshold:b.threshold,where:b.where}:b.limit);self.postMessage({id:a,content:b.content,limit:b.limit,result:d})}else b.add?c.add(b.id,
b.content):b.update?c.update(b.id,b.content):b.remove?c.remove(b.id):b.clear?c.clear():b.info?(b=c.info(),b.worker=a,console.log(b)):b.register&&(a=b.id,b.options.cache=!1,b.options.async=!1,b.options.worker=!1,c=(new Function(b.register.substring(b.register.indexOf("{")+1,b.register.lastIndexOf("}"))))(),c=new c(b.options))}}function ia(a,c,b,d){a=A("flexsearch","id"+a,ha,function(a){(a=a.data)&&a.result&&d(a.id,a.content,a.result,a.limit,a.where,a.cursor,a.suggest)},c);const e=ba.toString();b.id=
c;a.postMessage({register:e,options:b,id:c});return a}const u={encode:"icase",f:"forward",u:!1,cache:!1,async:!1,g:!1,F:!1,a:!1,J:!1,b:9,threshold:0,depth:0},X={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},P=[];
let ca=0;const Y=/\W+/,Z={},aa={};k.create=function(a){return new k(a)};k.registerMatcher=function(a){for(const c in a)a.hasOwnProperty(c)&&P.push(g(c),a[c]);return this};k.registerEncoder=function(a,c){M[a]=c.bind(M);return this};k.registerLanguage=function(a,c){Z[a]=c.filter;aa[a]=c.stemmer;return this};k.encode=function(a,c){return M[a](c)};k.prototype.init=function(a,c){this.w=[];if(c){var b=c.preset;a=c}else a||(a=u),b=a.preset;c={};E(a)?(c=X[a],a={}):b&&(c=X[b]);if(b=a.worker)if("undefined"===
typeof Worker)a.worker=!1,this.m=null;else{var d=parseInt(b,10)||4;this.D=-1;this.v=0;this.o=[];this.G=null;this.m=Array(d);for(var e=0;e<d;e++)this.m[e]=ia(this.id,e,a,C.bind(this))}this.f=a.tokenize||c.f||this.f||u.f;this.F=a.rtl||this.F||u.F;this.async="undefined"===typeof Promise||y(b=a.async)?this.async||u.async:b;this.g=y(b=a.worker)?this.g||u.g:b;this.threshold=y(b=a.threshold)?c.threshold||this.threshold||u.threshold:b;this.b=y(b=a.resolution)?b=c.b||this.b||u.b:b;b<=this.threshold&&(this.b=
this.threshold+1);this.depth=y(b=a.depth)?c.depth||this.depth||u.depth:b;this.J=y(b=a.paging)?this.J||u.J:b;this.u=y(b=a.suggest)?this.u||u.u:b;this.A=(b=y(b=a.encode)?c.encode||u.encode:b)&&M[b]&&M[b].bind(M)||(G(b)?b:this.A||!1);(b=a.matcher)&&this.addMatcher(b);if(b=a.filter){E(b)&&(b=Z[b]);if(z(b)){c=this.A;d=r();for(e=0;e<b.length;e++){var h=c?c(b[e]):b[e];d[h]=1}b=d}this.filter=b}if(b=a.stemmer){var f;c=E(b)?aa[b]:b;d=this.A;e=[];for(f in c)c.hasOwnProperty(f)&&(h=d?d(f):f,e.push(g(h+"($|\\W)"),
d?d(c[f]):c[f]));this.stemmer=f=e}this.a=e=(b=a.doc)?b:this.a||u.a;this.j=W(this.b-(this.threshold||0));this.i=r();this.c=r();if(e){this.h=r();a.doc=null;f=e.index={};c=e.keys=[];d=e.field;h=e.tag;z(e.id)||(e.id=e.id.split(":"));if(h){this.H=r();let c=r();if(d)if(E(d))c[d]=a;else if(z(d))for(let b=0;b<d.length;b++)c[d[b]]=a;else F(d)&&(c=d);z(h)||(e.tag=h=[h]);for(d=0;d<h.length;d++)this.H[h[d]]=r();this.K=h;d=c}if(d){let b;z(d)||(F(d)?(b=d,e.field=d=Object.keys(d)):e.field=d=[d]);for(e=0;e<d.length;e++)h=
d[e],z(h)||(b&&(a=b[h]),c[e]=h,d[e]=h.split(":")),f[h]=new k(a),f[h].h=this.h}}this.C=!0;this.l=(this.cache=b=y(b=a.cache)?this.cache||u.cache:b)?new ja(b):!1;return this};k.prototype.encode=function(a){a&&P.length&&(a=H(a,P));a&&this.w.length&&(a=H(a,this.w));a&&this.A&&(a=this.A(a));a&&this.stemmer&&(a=H(a,this.stemmer));return a};k.prototype.addMatcher=function(a){const c=this.w;for(const b in a)a.hasOwnProperty(b)&&c.push(g(b),a[b]);return this};k.prototype.add=function(a,c,b,d,e){if(this.a&&
F(a))return this.B("add",a,c);if(c&&E(c)&&(a||0===a)){var h="@"+a;if(this.c[h]&&!d)return this.update(a,c);if(this.g)return++this.D>=this.m.length&&(this.D=0),this.m[this.D].postMessage({add:!0,id:a,content:c}),this.c[h]=""+this.D,b&&b(),this;if(!e){if(this.async&&"function"!==typeof importScripts){let e=this;h=new Promise(function(b){setTimeout(function(){e.add(a,c,null,d,!0);e=null;b()})});if(b)h.then(b);else return h;return this}if(b)return this.add(a,c,null,d,!0),b(),this}c=this.encode(c);if(!c.length)return this;
b=this.f;e=G(b)?b(c):c.split(Y);this.filter&&(e=L(e,this.filter));const k=r();k._ctx=r();const n=e.length,p=this.threshold,B=this.depth,v=this.b,x=this.j,w=this.F;for(let c=0;c<n;c++){var f=e[c];if(f){var l=f.length,q=(w?c+1:n-c)/n,g="";switch(b){case "reverse":case "both":for(var m=l;--m;)g=f[m]+g,O(x,k,g,a,w?1:(l-m)/l,q,p,v-1);g="";case "forward":for(m=0;m<l;m++)g+=f[m],O(x,k,g,a,w?(m+1)/l:1,q,p,v-1);break;case "full":for(m=0;m<l;m++){const c=(w?m+1:l-m)/l;for(let b=l;b>m;b--)g=f.substring(m,b),
O(x,k,g,a,c,q,p,v-1)}break;default:if(l=O(x,k,f,a,1,q,p,v-1),B&&1<n&&l>=p)for(l=k._ctx[f]||(k._ctx[f]=r()),f=this.i[f]||(this.i[f]=W(v-(p||0))),q=c-B,g=c+B+1,0>q&&(q=0),g>n&&(g=n);q<g;q++)q!==c&&O(f,l,e[q],a,0,v-(q<c?c-q:q-c),p,v-1)}}}this.c[h]=1;this.C=!1}return this};k.prototype.B=function(a,c,b){if(z(c))for(let d=0,e=c.length;d<e;d++){if(d===e-1)return this.B(a,c[d],b);this.B(a,c[d])}else{const g=this.a.index,k=this.a.keys;var d=this.a.tag,e=this.a.id;let m;let t;for(var h=0;h<e.length;h++)m=(m||
c)[e[h]];if(d){for(e=0;e<d.length;e++){var f=d[e];var l=f.split(":");for(h=0;h<l.length;h++)t=(t||c)[l[h]];t="@"+t}l=this.H[f];l=l[t]||(l[t]=[])}if("remove"===a){delete this.h[m];for(let a=0,c=k.length;a<c;a++){if(a===c-1)return g[k[a]].remove(m,b);g[k[a]].remove(m)}}e=this.a.field;l&&(l[l.length]=c);for(let h=0,l=e.length;h<l;h++){d=e[h];let q;for(f=0;f<d.length;f++)q=(q||c)[d[f]];this.h[m]=c;d=g[k[h]];f="add"===a?d.add:d.update;if(h===l-1)return f.call(d,m,q,b);f.call(d,m,q)}}};k.prototype.update=
function(a,c,b){if(this.a&&F(a))return this.B("update",a,c);this.c["@"+a]&&E(c)&&(this.remove(a),this.add(a,c,b,!0));return this};k.prototype.remove=function(a,c,b){if(this.a&&F(a))return this.B("remove",a,c);var d="@"+a;if(this.c[d]){if(this.g)return this.m[this.c[d]].postMessage({remove:!0,id:a}),delete this.c[d],c&&c(),this;if(!b){if(this.async&&"function"!==typeof importScripts){let b=this;d=new Promise(function(c){setTimeout(function(){b.remove(a,null,!0);b=null;c()})});if(c)d.then(c);else return d;
return this}if(c)return this.remove(a,null,!0),c(),this}for(c=0;c<this.b-(this.threshold||0);c++)Q(this.j[c],a);this.depth&&Q(this.i,a);delete this.c[d];this.C=!1}return this};let D;k.prototype.search=function(a,c,b,d){if(F(c)){if(z(c))for(var e=0;e<c.length;e++)c[e].query=a;else c.query=a;a=c;c=0}let h=[],f=a;let l;if(F(a)&&!z(a)){(b=a.callback||c)&&(f.callback=null);l=a.sort;c=a.limit;var g=a.threshold;a=a.query}if(this.a){g=this.a.index;const q=f.where;var k=f.bool||"or",m=f.field;let p=k;let x;
if(m)z(m)||(m=[m]);else if(z(f)){var t=f;m=[];p=[];for(var n=0;n<f.length;n++)d=f[n],e=d.bool||k,m[n]=d.field,p[n]=e,"not"===e&&(x=!0)}else m=this.a.keys;k=m.length;for(n=0;n<k;n++)t&&(f=t[n]),h[n]=g[m[n]].search(f);if(b)return b(N.call(this,a,p,h,l,c,q,void 0,x));if(this.async){const b=this;return new Promise(function(d){Promise.all(h).then(function(e){d(N.call(b,a,p,e,l,c,q,void 0,x))})})}return N.call(this,a,p,h,l,c,q,void 0,x)}g||(g=this.threshold||0);G(c)?(b=c,c=1E3):c||0===c||(c=1E3);if(this.g)for(this.G=
b,this.v=0,this.o=[],m=0;m<this.g;m++)this.m[m].postMessage({search:!0,limit:c,cursor:void 0,threshold:g,content:a});else{if(!d){if(this.async&&"function"!==typeof importScripts){let a=this;g=new Promise(function(b){setTimeout(function(){b(a.search(f,c,null,!0));a=null})});if(b)g.then(b);else return g;return this}if(b)return b(this.search(f,c,null,!0)),this}if(!a||!E(a))return h;f=a;if(this.cache)if(this.C){if(b=this.l.get(a))return b}else this.l.clear(),this.C=!0;f=this.encode(f);if(!f.length)return h;
b=this.f;b=G(b)?b(f):f.split(Y);this.filter&&(b=L(b,this.filter));t=b.length;d=!0;e=[];var p=r();1<t&&(this.depth?(m=!0,n=b[0],p[n]=1):b.sort(fa));if(!m||(k=this.i)[n]){const a=this.b;for(let c=m?1:0;c<t;c++){const f=b[c];if(f){if(!p[f]){const c=[];let b=!1,h=0;if(n=m?k[n]:this.j){let d;for(let e=0;e<a-g;e++)if(d=n[e][f])c[h++]=d,b=!0}if(b)e[e.length]=1<h?c.concat.apply([],c):c[0];else if(!this.u){d=!1;break}p[f]=1}n=f}}}else d=!1;this.a||(d&&(h=U(e,c,void 0,this.u)),this.cache&&this.l.set(a,h));
return h}};k.prototype.find=function(a,c){return this.where(a,c,1)[0]||null};k.prototype.where=function(a,c,b,d){const e=d||this.h,h=[];let f=0;let g;if("number"===typeof a)return[e[a]];if(E(a)){if(y(c))return[e[a]];if("id"===a)return[e[c]];var k=[a];var r=1;var m=[a.split(":")];g=!0}else{if(G(a)){c=d||Object.keys(e);b=c.length;for(k=0;k<b;k++)r=d?d[k]:e[c[k]],a(r)&&(h[f++]=r);return h}b||(b=c);k=Object.keys(a);r=k.length;g=!1;if(1===r&&"id"===k[0])return[e[a.id]];if((m=this.K)&&!d)for(var t=0;t<
m.length;t++){var n=m[t],p=a[n];if(!y(p)){d=this.H[n]["@"+p];if(0===--r)return d;k.splice(k.indexOf(n),1);delete a[n];break}}m=Array(r);for(t=0;t<r;t++)m[t]=k[t].split(":")}t=d||Object.keys(e);n=t.length;for(p=0;p<n;p++){const l=d?d[p]:e[t[p]];let n=!0;for(let b=0;b<r;b++){g||(c=a[k[b]]);const d=m[b],e=d.length;let f=l;if(1<e)for(let a=0;a<e;a++)f=f[d[a]];else f=f[d[0]];if(f!==c){n=!1;break}}if(n&&(h[f++]=l,b&&f===b))break}return h};k.prototype.info=function(){if(this.g)for(let a=0;a<this.g;a++)this.m[a].postMessage({info:!0,
id:this.id});else return{id:this.id,items:this.length,cache:this.cache&&this.cache.s?this.cache.s.length:!1,matcher:P.length+(this.w?this.w.length:0),worker:this.g,threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&"strict"===this.f}};k.prototype.clear=function(){return this.destroy().init()};k.prototype.destroy=function(){this.cache&&(this.l.clear(),this.l=null);this.j=this.i=this.c=null;if(this.a){const a=this.a.keys;for(let c=0;c<a.length;c++)this.a.index[a[c]].destroy();
this.a=this.h=null}return this};k.prototype.export=function(){if(this.a){const a=this.a.keys,c=Array(a.length+1);let b=0;for(;b<a.length;b++){const d=this.a.index[a[b]];c[b]=[d.j,d.i,d.c]}c[b]=this.h;return JSON.stringify(c)}return JSON.stringify([this.j,this.i,this.c])};k.prototype.import=function(a){a=JSON.parse(a);if(this.a){const c=this.a.keys,b=c.length;for(let d=0;d<b;d++){const e=this.a.index[c[d]];e.j=a[d][0];e.i=a[d][1];e.c=a[d][2];e.h=a[b]}this.h=a[b]}else this.j=a[0],this.i=a[1],this.c=
a[2]};const M={icase:function(a){return a.toLowerCase()},simple:function(){const a=[g("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",g("[\u00e8\u00e9\u00ea\u00eb]"),"e",g("[\u00ec\u00ed\u00ee\u00ef]"),"i",g("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",g("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",g("[\u00fd\u0177\u00ff]"),"y",g("\u00f1"),"n",g("\u00e7"),"c",g("\u00df"),"s",g(" & ")," and ",g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(c){c=H(c.toLowerCase(),a);return" "===c?"":c}}(),
advanced:function(){const a=[g("ae"),"a",g("ai"),"ei",g("ay"),"ei",g("ey"),"ei",g("oe"),"o",g("ue"),"u",g("ie"),"i",g("sz"),"s",g("zs"),"s",g("sh"),"s",g("ck"),"k",g("cc"),"k",g("dt"),"t",g("ph"),"f",g("pf"),"f",g("ou"),"o",g("uo"),"u"];return function(c,b){if(!c)return c;c=this.simple(c);2<c.length&&(c=H(c,a));b||1<c.length&&(c=R(c));return c}}(),extra:function(){const a=[g("p"),"b",g("z"),"s",g("[cgq]"),"k",g("n"),"m",g("d"),"t",g("[vw]"),"f",g("[aeiouy]"),""];return function(c){if(!c)return c;
c=this.advanced(c,!0);if(1<c.length){c=c.split(" ");for(let b=0;b<c.length;b++){const d=c[b];1<d.length&&(c[b]=d[0]+H(d.substring(1),a))}c=c.join(" ");c=R(c)}return c}}(),balance:function(){const a=[g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(c){return R(H(c.toLowerCase(),a))}}()},ja=function(){function a(a){this.clear();this.I=!0!==a&&a}a.prototype.clear=function(){this.cache=r();this.count=r();this.index=r();this.s=[]};a.prototype.set=function(a,b){if(this.I&&y(this.cache[a])){let c=
this.s.length;if(c===this.I){c--;const a=this.s[c];delete this.cache[a];delete this.count[a];delete this.index[a]}this.index[a]=c;this.s[c]=a;this.count[a]=-1;this.cache[a]=b;this.get(a)}else this.cache[a]=b};a.prototype.get=function(a){const b=this.cache[a];if(this.I&&b){var c=++this.count[a];const b=this.index;let d=b[a];if(0<d){const f=this.s;for(var e=d;this.count[f[--d]]<=c&&-1!==d;);d++;if(d!==e){for(c=e;c>d;c--)e=f[c-1],f[c]=e,b[e]=c;f[d]=a;b[a]=d}}}return b};return a}();return k}(function(){const A=
{},J="undefined"!==typeof Blob&&"undefined"!==typeof URL&&URL.createObjectURL;return function(k,C,L,N,K){L=J?URL.createObjectURL(new Blob(["("+L.toString()+")()"],{type:"text/javascript"})):k+".min.js";k+="-"+C;A[k]||(A[k]=[]);A[k][K]=new Worker(L);A[k][K].onmessage=N;return A[k][K]}}()),this);
/*
FlexSearch v0.5.3
FlexSearch v0.5.31
Copyright 2019 Nextapps GmbH

@@ -8,29 +8,29 @@ Author: Thomas Wilkerling

*/
'use strict';(function(k,D,E){let z;(z=E.define)&&z.amd?z([],function(){return D}):(z=E.modules)?z[k.toLowerCase()]=D:"object"===typeof exports?module.exports=D:E[k]=D})("FlexSearch",function(){function k(a,b){const c=b?b.id:a&&a.id;this.id=c||0===c?c:V++;this.init(a,b);z(this,"index",function(){return this.c});z(this,"length",function(){return Object.keys(this.c).length})}function D(a,b){const c=a.length,d=F(b),e=[];for(let f=0,h=0;f<c;f++){const c=a[f];if(d&&b(c)||!d&&!b[c])e[h++]=c}return e}function E(a,
b,c,d,e,f,h){const n=this.g;b=c=O(c,b,f?0:e,h,this.m);c=b.length;h=Array(c);for(let a=0;a<c;a++)h[a]=n[b[a]];c=h;f&&(c=this.where(f,null,e,c));d&&(F(d)||(y=d.split(":"),1<y.length?d=W:(y=y[0],d=X)),c.sort(d));this.cache&&this.j.set(a,c);return c}function z(a,b,c){Object.defineProperty(a,b,{get:c})}function g(a){return new RegExp(a,"g")}function G(a,b){for(let c=0;c<b.length;c+=2)a=a.replace(b[c],b[c+1]);return a}function J(a,b,c,d,e,f,h,n){if(b[c])return b[c];e=e?(n-(h||n/1.5))*f+(h||n/1.5)*e:f;b[c]=
e;e>=h&&(a=a[n-(e+.5>>0)],a=a[c]||(a[c]=[]),a[a.length]=d);return e}function M(a,b){if(a){const c=Object.keys(a);for(let d=0,e=c.length;d<e;d++){const e=c[d],h=a[e];if(h)for(let c=0,d=h.length;c<d;c++)if(h[c]===b){1===d?delete a[e]:h.splice(c,1);break}else B(h[c])&&M(h[c],b)}}}function N(a){let b="",c="";var d="";for(let e=0;e<a.length;e++){const f=a[e];if(f!==c)if(e&&"h"===f){if(d="a"===d||"e"===d||"i"===d||"o"===d||"u"===d||"y"===d,("a"===c||"e"===c||"i"===c||"o"===c||"u"===c||"y"===c)&&d||" "===
c)b+=f}else b+=f;d=e===a.length-1?"":a[e+1];c=f}return b}function Y(a,b){a=a.length-b.length;return 0>a?1:a?-1:0}function X(a,b){a=a[y];b=b[y];return a<b?-1:a>b?1:0}function W(a,b){const c=y.length;for(let d=0;d<c;d++)a=a[y[d]],b=b[y[d]];return a<b?-1:a>b?1:0}function O(a,b,c,d,e){d=[];let f;const h=a.length;if(1<h){b="or"===b;const A=r();let g,m=-1,l,q=0,t,H,k=!0,u=0;for(;++m<h;){const p=m===h-1;g=a[m];l=g.length;if(!l){if(!b&&!e)return d;if(p&&!u)return t||d;continue}if(k){if(p)return g;for(;q<
l;)A["@"+g[q++]]=1;t=g;k=!1;continue}let P=!1;f=[];for(q=0;q<l;){H=g[q++];var n="@"+H;if(A[n]){const a=A[n];if(b||a===m){if(p){if(d[u++]=H,c&&u===c)return d}else A[n]=m+1;P=!0}else e&&(n=f[a]||(f[a]=[]),n[n.length]=H)}}if(!P&&!e)break}if(e&&(u=d.length,(m=f.length)&&(!c||u<c)))for(;m--;)if(H=f[m])for(q=0,l=H.length;q<l;q++)if(d[u++]=H[q],c&&u===c)return d}else h&&(d=a[0],c&&d.length>c&&(d=d.slice(0,c)));return d}function C(a){return"string"===typeof a}function w(a){return a.constructor===Array}function F(a){return"function"===
typeof a}function B(a){return"object"===typeof a}function x(a){return"undefined"===typeof a}function Q(a){const b=Array(a);for(let c=0;c<a;c++)b[c]=r();return b}function r(){return Object.create(null)}const v={encode:"icase",f:"forward",m:!1,cache:!1,async:!1,F:!1,w:!1,a:!1,C:!1,b:9,threshold:0,depth:0},R={memory:{encode:"extra",f:"strict",threshold:0,b:1},speed:{encode:"icase",f:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",f:"full",threshold:1,b:3},score:{encode:"extra",f:"strict",threshold:1,
b:9,depth:4},balance:{encode:"balance",f:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",f:"strict",threshold:8,b:9,depth:1}},L=[];let V=0;const S=/\W+/,T={},U={};k.create=function(a){return new k(a)};k.registerMatcher=function(a){for(const b in a)a.hasOwnProperty(b)&&L.push(g(b),a[b]);return this};k.registerEncoder=function(a,b){I[a]=b.bind(I);return this};k.registerLanguage=function(a,b){T[a]=b.filter;U[a]=b.stemmer;return this};k.encode=function(a,b){return I[a](b)};k.prototype.init=function(a,
b){this.o=[];if(b){var c=b.preset;a=b}else a||(a=v),c=a.preset;b={};C(a)?(b=R[a],a={}):c&&(b=R[c]);this.f=a.tokenize||b.f||this.f||v.f;this.w=a.rtl||this.w||v.w;this.async="undefined"===typeof Promise||x(c=a.async)?this.async||v.async:c;this.threshold=x(c=a.threshold)?b.threshold||this.threshold||v.threshold:c;this.b=x(c=a.resolution)?c=b.b||this.b||v.b:c;c<=this.threshold&&(this.b=this.threshold+1);this.depth=x(c=a.depth)?b.depth||this.depth||v.depth:c;this.C=x(c=a.paging)?this.C||v.C:c;this.m=x(c=
a.suggest)?this.m||v.m:c;this.s=(c=x(c=a.encode)?b.encode||v.encode:c)&&I[c]&&I[c].bind(I)||(F(c)?c:this.s||!1);(c=a.matcher)&&this.addMatcher(c);if(c=a.filter){C(c)&&(c=T[c]);if(w(c)){b=this.s;var d=r();for(var e=0;e<c.length;e++){var f=b?b(c[e]):c[e];d[f]=1}c=d}this.filter=c}if(c=a.stemmer){var h;b=C(c)?U[c]:c;d=this.s;e=[];for(h in b)b.hasOwnProperty(h)&&(f=d?d(h):h,e.push(g(f+"($|\\W)"),d?d(b[h]):b[h]));this.stemmer=h=e}this.a=e=(c=a.doc)?c:this.a||v.a;this.h=Q(this.b-(this.threshold||0));this.i=
r();this.c=r();if(e){this.g=r();a.doc=null;h=e.index={};b=e.keys=[];d=e.field;f=e.tag;w(e.id)||(e.id=e.id.split(":"));if(f){this.A=r();let b=r();if(d)if(C(d))b[d]=a;else if(w(d))for(let c=0;c<d.length;c++)b[d[c]]=a;else B(d)&&(b=d);w(f)||(e.tag=f=[f]);for(d=0;d<f.length;d++)this.A[f[d]]=r();this.D=f;d=b}if(d){let c;w(d)||(B(d)?(c=d,e.field=d=Object.keys(d)):e.field=d=[d]);for(e=0;e<d.length;e++)f=d[e],w(f)||(c&&(a=c[f]),b[e]=f,d[e]=f.split(":")),h[f]=new k(a),h[f].g=this.g}}this.v=!0;this.j=(this.cache=
c=x(c=a.cache)?this.cache||v.cache:c)?new Z(c):!1;return this};k.prototype.encode=function(a){a&&L.length&&(a=G(a,L));a&&this.o.length&&(a=G(a,this.o));a&&this.s&&(a=this.s(a));a&&this.stemmer&&(a=G(a,this.stemmer));return a};k.prototype.addMatcher=function(a){const b=this.o;for(const c in a)a.hasOwnProperty(c)&&b.push(g(c),a[c]);return this};k.prototype.add=function(a,b,c,d,e){if(this.a&&B(a))return this.u("add",a,b);if(b&&C(b)&&(a||0===a)){var f="@"+a;if(this.c[f]&&!d)return this.update(a,b);if(!e){if(this.async&&
"function"!==typeof importScripts){let e=this;f=new Promise(function(c){setTimeout(function(){e.add(a,b,null,d,!0);e=null;c()})});if(c)f.then(c);else return f;return this}if(c)return this.add(a,b,null,d,!0),c(),this}b=this.encode(b);if(!b.length)return this;c=this.f;e=F(c)?c(b):b.split(S);this.filter&&(e=D(e,this.filter));const l=r();l._ctx=r();const q=e.length,t=this.threshold,A=this.depth,k=this.b,u=this.h,K=this.w;for(let b=0;b<q;b++){var h=e[b];if(h){var n=h.length,g=(K?b+1:q-b)/q,p="";switch(c){case "reverse":case "both":for(var m=
n;--m;)p=h[m]+p,J(u,l,p,a,K?1:(n-m)/n,g,t,k-1);p="";case "forward":for(m=0;m<n;m++)p+=h[m],J(u,l,p,a,K?(m+1)/n:1,g,t,k-1);break;case "full":for(m=0;m<n;m++){const b=(K?m+1:n-m)/n;for(let c=n;c>m;c--)p=h.substring(m,c),J(u,l,p,a,b,g,t,k-1)}break;default:if(n=J(u,l,h,a,1,g,t,k-1),A&&1<q&&n>=t)for(n=l._ctx[h]||(l._ctx[h]=r()),h=this.i[h]||(this.i[h]=Q(k-(t||0))),g=b-A,p=b+A+1,0>g&&(g=0),p>q&&(p=q);g<p;g++)g!==b&&J(h,n,e[g],a,0,k-(g<b?b-g:g-b),t,k-1)}}}this.c[f]=1;this.v=!1}return this};k.prototype.u=
function(a,b,c){if(w(b))for(let d=0,e=b.length;d<e;d++){if(d===e-1)return this.u(a,b[d],c);this.u(a,b[d])}else{const n=this.a.index,k=this.a.keys;var d=this.a.tag,e=this.a.id;let m;let l;for(var f=0;f<e.length;f++)m=(m||b)[e[f]];if(d){for(e=0;e<d.length;e++){var h=d[e];var g=h.split(":");for(f=0;f<g.length;f++)l=(l||b)[g[f]];l="@"+l}g=this.A[h];g=g[l]||(g[l]=[])}if("remove"===a){delete this.g[m];for(let a=0,b=k.length;a<b;a++){if(a===b-1)return n[k[a]].remove(m,c);n[k[a]].remove(m)}}e=this.a.field;
g&&(g[g.length]=b);for(let f=0,g=e.length;f<g;f++){d=e[f];let l;for(h=0;h<d.length;h++)l=(l||b)[d[h]];this.g[m]=b;d=n[k[f]];h="add"===a?d.add:d.update;if(f===g-1)return h.call(d,m,l,c);h.call(d,m,l)}}};k.prototype.update=function(a,b,c){if(this.a&&B(a))return this.u("update",a,b);this.c["@"+a]&&C(b)&&(this.remove(a),this.add(a,b,c,!0));return this};k.prototype.remove=function(a,b,c){if(this.a&&B(a))return this.u("remove",a,b);var d="@"+a;if(this.c[d]){if(!c){if(this.async&&"function"!==typeof importScripts){let c=
this;d=new Promise(function(b){setTimeout(function(){c.remove(a,null,!0);c=null;b()})});if(b)d.then(b);else return d;return this}if(b)return this.remove(a,null,!0),b(),this}for(b=0;b<this.b-(this.threshold||0);b++)M(this.h[b],a);this.depth&&M(this.i,a);delete this.c[d];this.v=!1}return this};let y;k.prototype.search=function(a,b,c,d){if(B(b)){if(w(b))for(var e=0;e<b.length;e++)b[e].query=a;else b.query=a;a=b;b=0}let f=a;let h=[];if(B(a)&&!w(a)){(c=a.callback||b)&&(f.callback=null);b=a.limit;var g=
a.threshold;a=a.query}if(this.a){let d=f.where,e=f.bool,n=f.sort;g=this.a.index;var k=f.field;if(k)f.field=null,w(k)||(k=[k]);else if(w(f)){var p=f;k=[];for(var m=0;m<f.length;m++){var l=f[m];k[m]=l.field;e=l.bool;n=l.sort;d=l.where}}else k=this.a.keys;m=k.length;for(l=0;l<m;l++)p&&(f=p[l]),h[l]=g[k[l]].search(f);if(c)return c(E.call(this,a,e,h,n,b,d,void 0));if(this.async){const c=this;return new Promise(function(f){Promise.all(h).then(function(g){f(E.call(c,a,e,g,n,b,d,void 0))})})}return E.call(this,
a,e,h,n,b,d,void 0)}g||(g=this.threshold||0);F(b)?(c=b,b=1E3):b||0===b||(b=1E3);if(!d){if(this.async&&"function"!==typeof importScripts){let a=this;g=new Promise(function(c){setTimeout(function(){c(a.search(f,b,null,!0));a=null})});if(c)g.then(c);else return g;return this}if(c)return c(this.search(f,b,null,!0)),this}if(!a||!C(a))return h;f=a;if(this.cache)if(this.v){if(c=this.j.get(a))return c}else this.j.clear(),this.v=!0;f=this.encode(f);if(!f.length)return h;c=this.f;c=F(c)?c(f):f.split(S);this.filter&&
(c=D(c,this.filter));p=c.length;d=!0;e=[];const q=r();1<p&&(this.depth?(k=!0,l=c[0],q[l]=1):c.sort(Y));if(!k||(m=this.i)[l]){let a=this.b;for(let b=k?1:0;b<p;b++){const f=c[b];if(f){if(!q[f]){const b=[];let c=!1,h=0;if(l=k?m[l]:this.h){let d;for(let e=0;e<a-g;e++)if(d=l[e][f])b[h++]=d,c=!0}if(c)e[e.length]=1<h?b.concat.apply([],b):b[0];else if(!this.m){d=!1;break}q[f]=1}l=f}}}else d=!1;this.a||(d&&(h=O(e,!1,b,void 0,this.m)),this.cache&&this.j.set(a,h));return h};k.prototype.find=function(a,b){return this.where(a,
b,1)[0]||null};k.prototype.where=function(a,b,c,d){const e=d||this.g,f=[];let g=0;var k;let r;if("number"===typeof a)return[e[a]];if(C(a)){if(x(b))return[e[a]];if("id"===a)return[e[b]];var p=1;var m=[a.split(":")];r=!0}else{if(F(a)){b=d||Object.keys(e);c=b.length;for(k=0;k<c;k++)p=d?d[k]:e[b[k]],a(p)&&(f[g++]=p);return f}c||(c=b);k=Object.keys(a);p=k.length;r=!1;if(1===p&&"id"===k[0])return[e[a.id]];if((m=this.D)&&!d)for(var l=0;l<m.length;l++){var q=m[l],t=a[q];if(!x(t)){d=this.A[q]["@"+t];if(0===
--p)return d;k.splice(k.indexOf(q),1);delete a[q];break}}m=Array(p);for(l=0;l<p;l++)m[l]=k[l].split(":")}l=d||Object.keys(e);q=l.length;for(t=0;t<q;t++){const h=d?d[t]:e[l[t]];let n=!0;for(let c=0;c<p;c++){r||(b=a[k[c]]);const d=m[c],e=d.length;let f=h;if(1<e)for(let a=0;a<e;a++)f=f[d[a]];else f=f[d[0]];if(f!==b){n=!1;break}}if(n&&(f[g++]=h,c&&g===c))break}return f};k.prototype.info=function(){let a;let b=0,c=0,d=0;for(var e=0;e<this.b-(this.threshold||0);e++){a=Object.keys(this.h[e]);for(let g=0;g<
a.length;g++){var f=this.h[e][a[g]].length;b+=1*f+2*a[g].length+4;c+=f;d+=2*a[g].length}}a=Object.keys(this.c);f=a.length;for(e=0;e<f;e++)b+=2*a[e].length+2;return{id:this.id,memory:b,items:f,sequences:c,chars:d,cache:this.cache&&this.cache.l?this.cache.l.length:!1,matcher:L.length+(this.o?this.o.length:0),worker:this.F,threshold:this.threshold,depth:this.depth,contextual:this.depth&&"strict"===this.f}};k.prototype.clear=function(){return this.destroy().init()};k.prototype.destroy=function(){this.cache&&
(this.j.clear(),this.j=null);this.h=this.i=this.c=null;if(this.a){const a=this.a.keys;for(let b=0;b<a.length;b++)this.a.index[a[b]].destroy();this.a=this.g=null}return this};k.prototype.export=function(){if(this.a){const a=this.a.keys,b=Array(a.length+1);let c=0;for(;c<a.length;c++){const d=this.a.index[a[c]];b[c]=[d.h,d.i,d.c]}b[c]=this.g;return JSON.stringify(b)}return JSON.stringify([this.h,this.i,this.c])};k.prototype.import=function(a){a=JSON.parse(a);if(this.a){const b=this.a.keys,c=b.length;
for(let d=0;d<c;d++){const e=this.a.index[b[d]];e.h=a[d][0];e.i=a[d][1];e.c=a[d][2];e.g=a[c]}this.g=a[c]}else this.h=a[0],this.i=a[1],this.c=a[2]};const I={icase:function(a){return a.toLowerCase()},simple:function(){const a=[g("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",g("[\u00e8\u00e9\u00ea\u00eb]"),"e",g("[\u00ec\u00ed\u00ee\u00ef]"),"i",g("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",g("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",g("[\u00fd\u0177\u00ff]"),"y",g("\u00f1"),"n",g("\u00e7"),"c",g("\u00df"),
"s",g(" & ")," and ",g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(b){b=G(b.toLowerCase(),a);return" "===b?"":b}}(),advanced:function(){const a=[g("ae"),"a",g("ai"),"ei",g("ay"),"ei",g("ey"),"ei",g("oe"),"o",g("ue"),"u",g("ie"),"i",g("sz"),"s",g("zs"),"s",g("sh"),"s",g("ck"),"k",g("cc"),"k",g("dt"),"t",g("ph"),"f",g("pf"),"f",g("ou"),"o",g("uo"),"u"];return function(b,c){if(!b)return b;b=this.simple(b);2<b.length&&(b=G(b,a));c||1<b.length&&(b=N(b));return b}}(),extra:function(){const a=
[g("p"),"b",g("z"),"s",g("[cgq]"),"k",g("n"),"m",g("d"),"t",g("[vw]"),"f",g("[aeiouy]"),""];return function(b){if(!b)return b;b=this.advanced(b,!0);if(1<b.length){b=b.split(" ");for(let c=0;c<b.length;c++){const d=b[c];1<d.length&&(b[c]=d[0]+G(d.substring(1),a))}b=b.join(" ");b=N(b)}return b}}(),balance:function(){const a=[g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(b){return N(G(b.toLowerCase(),a))}}()},Z=function(){function a(a){this.clear();this.B=!0!==a&&a}a.prototype.clear=
function(){this.cache=r();this.count=r();this.index=r();this.l=[]};a.prototype.set=function(a,c){if(this.B&&x(this.cache[a])){let b=this.l.length;if(b===this.B){b--;const a=this.l[b];delete this.cache[a];delete this.count[a];delete this.index[a]}this.index[a]=b;this.l[b]=a;this.count[a]=-1;this.cache[a]=c;this.get(a)}else this.cache[a]=c};a.prototype.get=function(a){const b=this.cache[a];if(this.B&&b){var d=++this.count[a];const b=this.index;let c=b[a];if(0<c){const f=this.l;for(var e=c;this.count[f[--c]]<=
d&&-1!==c;);c++;if(c!==e){for(d=e;d>c;d--)e=f[d-1],f[d]=e,b[e]=d;f[c]=a;b[a]=c}}}return b};return a}();return k}(!1),this);
'use strict';(function(l,E,F){let C;(C=F.define)&&C.amd?C([],function(){return E}):(C=F.modules)?C[l.toLowerCase()]=E:"object"===typeof exports?module.exports=E:F[l]=E})("FlexSearch",function(){function l(a,b){const c=b?b.id:a&&a.id;this.id=c||0===c?c:Y++;this.init(a,b);C(this,"index",function(){return this.a?this.a.index[this.a.keys[0]].f:this.f});C(this,"length",function(){return Object.keys(this.index).length})}function E(a,b){const c=a.length,d=G(b),e=[];for(let h=0,f=0;h<c;h++){const c=a[h];
if(d&&b(c)||!d&&!b[c])e[f++]=c}return e}function F(a,b,c,d,e,h,f,k){b=c=R(c,h?0:e,f,this.m,b,k);c=this.g;f=b.length;k=Array(f);for(let a=0;a<f;a++)k[a]=c[b[a]];c=k;h&&(c=this.where(h,null,e,c));d&&(G(d)||(A=d.split(":"),1<A.length?d=Z:(A=A[0],d=aa)),c.sort(d));this.cache&&this.j.set(a,c);return c}function C(a,b,c){Object.defineProperty(a,b,{get:c})}function g(a){return new RegExp(a,"g")}function H(a,b){for(let c=0;c<b.length;c+=2)a=a.replace(b[c],b[c+1]);return a}function L(a,b,c,d,e,h,f,k){if(b[c])return b[c];
e=e?(k-(f||k/1.5))*h+(f||k/1.5)*e:h;b[c]=e;e>=f&&(a=a[k-(e+.5>>0)],a=a[c]||(a[c]=[]),a[a.length]=d);return e}function N(a,b){if(a){const c=Object.keys(a);for(let d=0,e=c.length;d<e;d++){const e=c[d],f=a[e];if(f)for(let c=0,d=f.length;c<d;c++)if(f[c]===b){1===d?delete a[e]:f.splice(c,1);break}else D(f[c])&&N(f[c],b)}}}function O(a){let b="",c="";var d="";for(let e=0;e<a.length;e++){const h=a[e];if(h!==c)if(e&&"h"===h){if(d="a"===d||"e"===d||"i"===d||"o"===d||"u"===d||"y"===d,("a"===c||"e"===c||"i"===
c||"o"===c||"u"===c||"y"===c)&&d||" "===c)b+=h}else b+=h;d=e===a.length-1?"":a[e+1];c=h}return b}function ba(a,b){a=a.length-b.length;return 0>a?1:a?-1:0}function aa(a,b){a=a[A];b=b[A];return a<b?-1:a>b?1:0}function Z(a,b){const c=A.length;for(let d=0;d<c;d++)a=a[A[d]],b=b[A[d]];return a<b?-1:a>b?1:0}function R(a,b,c,d,e,h){c=[];const f=a.length;if(1<f){const m=q();let g,n,p=-1;var k;let I,u,l=!0,w,J=0,P,Q;if(h){for(g=q();++p<f;)if("not"===e[p])for(n=a[p],I=n.length,k=0;k<I;)g["@"+n[k++]]=1;else Q=
p+1;if(!Q)return c;p=-1}else P=B(e)&&e;for(;++p<f;){const r=p===(Q||f)-1;let S,q;if(!P||!p)if((k=P||e&&e[p])&&"and"!==k)if("or"===k)q=!0;else continue;else S=!0;n=a[p];I=n.length;if(!I){if(S&&!d)return n;continue}if(l)if(w){var t=w.length;for(k=0;k<t;)m["@"+w[k++]]=1;w=null;l=!1}else{w=n;continue}let v=!1;k=0;for(t=[];k<I;){u=n[k++];var z="@"+u;const a=m[z];if(a&&(!h||!g[z]))if(q||a===p){if(r){if(c[J++]=u,b&&J===b)return c}else m[z]=p+1;v=!0}else d&&(z=t[a]||(t[a]=[]),z[z.length]=u)}if(!v&&!d)break}if(w)if(h)for(a=
w.length,k=0;k<a;)e=w[k++],g["@"+e]||(c[J++]=e);else c=w;if(d&&(J=c.length,(p=t.length)&&(!b||J<b)))for(;p--;)if(u=t[p])for(k=0,I=u.length;k<I;k++)if(c[J++]=u[k],b&&J===b)return c}else!f||e&&"not"===e[0]||(c=a[0],b&&c.length>b&&(c=c.slice(0,b)));return c}function B(a){return"string"===typeof a}function x(a){return a.constructor===Array}function G(a){return"function"===typeof a}function D(a){return"object"===typeof a}function y(a){return"undefined"===typeof a}function T(a){const b=Array(a);for(let c=
0;c<a;c++)b[c]=q();return b}function q(){return Object.create(null)}const v={encode:"icase",c:"forward",m:!1,cache:!1,async:!1,F:!1,w:!1,a:!1,C:!1,b:9,threshold:0,depth:0},U={memory:{encode:"extra",c:"strict",threshold:0,b:1},speed:{encode:"icase",c:"strict",threshold:1,b:3,depth:2},match:{encode:"extra",c:"full",threshold:1,b:3},score:{encode:"extra",c:"strict",threshold:1,b:9,depth:4},balance:{encode:"balance",c:"strict",threshold:0,b:3,depth:3},fast:{encode:"icase",c:"strict",threshold:8,b:9,depth:1}},
M=[];let Y=0;const V=/\W+/,W={},X={};l.create=function(a){return new l(a)};l.registerMatcher=function(a){for(const b in a)a.hasOwnProperty(b)&&M.push(g(b),a[b]);return this};l.registerEncoder=function(a,b){K[a]=b.bind(K);return this};l.registerLanguage=function(a,b){W[a]=b.filter;X[a]=b.stemmer;return this};l.encode=function(a,b){return K[a](b)};l.prototype.init=function(a,b){this.o=[];if(b){var c=b.preset;a=b}else a||(a=v),c=a.preset;b={};B(a)?(b=U[a],a={}):c&&(b=U[c]);this.c=a.tokenize||b.c||this.c||
v.c;this.w=a.rtl||this.w||v.w;this.async="undefined"===typeof Promise||y(c=a.async)?this.async||v.async:c;this.threshold=y(c=a.threshold)?b.threshold||this.threshold||v.threshold:c;this.b=y(c=a.resolution)?c=b.b||this.b||v.b:c;c<=this.threshold&&(this.b=this.threshold+1);this.depth=y(c=a.depth)?b.depth||this.depth||v.depth:c;this.C=y(c=a.paging)?this.C||v.C:c;this.m=y(c=a.suggest)?this.m||v.m:c;this.s=(c=y(c=a.encode)?b.encode||v.encode:c)&&K[c]&&K[c].bind(K)||(G(c)?c:this.s||!1);(c=a.matcher)&&this.addMatcher(c);
if(c=a.filter){B(c)&&(c=W[c]);if(x(c)){b=this.s;var d=q();for(var e=0;e<c.length;e++){var h=b?b(c[e]):c[e];d[h]=1}c=d}this.filter=c}if(c=a.stemmer){var f;b=B(c)?X[c]:c;d=this.s;e=[];for(f in b)b.hasOwnProperty(f)&&(h=d?d(f):f,e.push(g(h+"($|\\W)"),d?d(b[f]):b[f]));this.stemmer=f=e}this.a=e=(c=a.doc)?c:this.a||v.a;this.i=T(this.b-(this.threshold||0));this.h=q();this.f=q();if(e){this.g=q();a.doc=null;f=e.index={};b=e.keys=[];d=e.field;h=e.tag;x(e.id)||(e.id=e.id.split(":"));if(h){this.A=q();let b=q();
if(d)if(B(d))b[d]=a;else if(x(d))for(let c=0;c<d.length;c++)b[d[c]]=a;else D(d)&&(b=d);x(h)||(e.tag=h=[h]);for(d=0;d<h.length;d++)this.A[h[d]]=q();this.D=h;d=b}if(d){let c;x(d)||(D(d)?(c=d,e.field=d=Object.keys(d)):e.field=d=[d]);for(e=0;e<d.length;e++)h=d[e],x(h)||(c&&(a=c[h]),b[e]=h,d[e]=h.split(":")),f[h]=new l(a),f[h].g=this.g}}this.v=!0;this.j=(this.cache=c=y(c=a.cache)?this.cache||v.cache:c)?new ca(c):!1;return this};l.prototype.encode=function(a){a&&M.length&&(a=H(a,M));a&&this.o.length&&(a=
H(a,this.o));a&&this.s&&(a=this.s(a));a&&this.stemmer&&(a=H(a,this.stemmer));return a};l.prototype.addMatcher=function(a){const b=this.o;for(const c in a)a.hasOwnProperty(c)&&b.push(g(c),a[c]);return this};l.prototype.add=function(a,b,c,d,e){if(this.a&&D(a))return this.u("add",a,b);if(b&&B(b)&&(a||0===a)){var h="@"+a;if(this.f[h]&&!d)return this.update(a,b);if(!e){if(this.async&&"function"!==typeof importScripts){let e=this;h=new Promise(function(c){setTimeout(function(){e.add(a,b,null,d,!0);e=null;
c()})});if(c)h.then(c);else return h;return this}if(c)return this.add(a,b,null,d,!0),c(),this}b=this.encode(b);if(!b.length)return this;c=this.c;e=G(c)?c(b):b.split(V);this.filter&&(e=E(e,this.filter));const r=q();r._ctx=q();const n=e.length,p=this.threshold,z=this.depth,u=this.b,l=this.i,w=this.w;for(let b=0;b<n;b++){var f=e[b];if(f){var k=f.length,t=(w?b+1:n-b)/n,g="";switch(c){case "reverse":case "both":for(var m=k;--m;)g=f[m]+g,L(l,r,g,a,w?1:(k-m)/k,t,p,u-1);g="";case "forward":for(m=0;m<k;m++)g+=
f[m],L(l,r,g,a,w?(m+1)/k:1,t,p,u-1);break;case "full":for(m=0;m<k;m++){const b=(w?m+1:k-m)/k;for(let c=k;c>m;c--)g=f.substring(m,c),L(l,r,g,a,b,t,p,u-1)}break;default:if(k=L(l,r,f,a,1,t,p,u-1),z&&1<n&&k>=p)for(k=r._ctx[f]||(r._ctx[f]=q()),f=this.h[f]||(this.h[f]=T(u-(p||0))),t=b-z,g=b+z+1,0>t&&(t=0),g>n&&(g=n);t<g;t++)t!==b&&L(f,k,e[t],a,0,u-(t<b?b-t:t-b),p,u-1)}}}this.f[h]=1;this.v=!1}return this};l.prototype.u=function(a,b,c){if(x(b))for(let d=0,e=b.length;d<e;d++){if(d===e-1)return this.u(a,b[d],
c);this.u(a,b[d])}else{const g=this.a.index,l=this.a.keys;var d=this.a.tag,e=this.a.id;let m;let r;for(var h=0;h<e.length;h++)m=(m||b)[e[h]];if(d){for(e=0;e<d.length;e++){var f=d[e];var k=f.split(":");for(h=0;h<k.length;h++)r=(r||b)[k[h]];r="@"+r}k=this.A[f];k=k[r]||(k[r]=[])}if("remove"===a){delete this.g[m];for(let a=0,b=l.length;a<b;a++){if(a===b-1)return g[l[a]].remove(m,c);g[l[a]].remove(m)}}e=this.a.field;k&&(k[k.length]=b);for(let h=0,k=e.length;h<k;h++){d=e[h];let t;for(f=0;f<d.length;f++)t=
(t||b)[d[f]];this.g[m]=b;d=g[l[h]];f="add"===a?d.add:d.update;if(h===k-1)return f.call(d,m,t,c);f.call(d,m,t)}}};l.prototype.update=function(a,b,c){if(this.a&&D(a))return this.u("update",a,b);this.f["@"+a]&&B(b)&&(this.remove(a),this.add(a,b,c,!0));return this};l.prototype.remove=function(a,b,c){if(this.a&&D(a))return this.u("remove",a,b);var d="@"+a;if(this.f[d]){if(!c){if(this.async&&"function"!==typeof importScripts){let c=this;d=new Promise(function(b){setTimeout(function(){c.remove(a,null,!0);
c=null;b()})});if(b)d.then(b);else return d;return this}if(b)return this.remove(a,null,!0),b(),this}for(b=0;b<this.b-(this.threshold||0);b++)N(this.i[b],a);this.depth&&N(this.h,a);delete this.f[d];this.v=!1}return this};let A;l.prototype.search=function(a,b,c,d){if(D(b)){if(x(b))for(var e=0;e<b.length;e++)b[e].query=a;else b.query=a;a=b;b=0}let h=[],f=a;let k;if(D(a)&&!x(a)){(c=a.callback||b)&&(f.callback=null);k=a.sort;b=a.limit;var g=a.threshold;a=a.query}if(this.a){g=this.a.index;const t=f.where;
var l=f.bool||"or",m=f.field;let p=l;let q;if(m)x(m)||(m=[m]);else if(x(f)){var r=f;m=[];p=[];for(var n=0;n<f.length;n++)d=f[n],e=d.bool||l,m[n]=d.field,p[n]=e,"not"===e&&(q=!0)}else m=this.a.keys;l=m.length;for(n=0;n<l;n++)r&&(f=r[n]),h[n]=g[m[n]].search(f);if(c)return c(F.call(this,a,p,h,k,b,t,void 0,q));if(this.async){const c=this;return new Promise(function(d){Promise.all(h).then(function(e){d(F.call(c,a,p,e,k,b,t,void 0,q))})})}return F.call(this,a,p,h,k,b,t,void 0,q)}g||(g=this.threshold||0);
G(b)?(c=b,b=1E3):b||0===b||(b=1E3);if(!d){if(this.async&&"function"!==typeof importScripts){let a=this;g=new Promise(function(c){setTimeout(function(){c(a.search(f,b,null,!0));a=null})});if(c)g.then(c);else return g;return this}if(c)return c(this.search(f,b,null,!0)),this}if(!a||!B(a))return h;f=a;if(this.cache)if(this.v){if(c=this.j.get(a))return c}else this.j.clear(),this.v=!0;f=this.encode(f);if(!f.length)return h;c=this.c;c=G(c)?c(f):f.split(V);this.filter&&(c=E(c,this.filter));r=c.length;d=!0;
e=[];const p=q();1<r&&(this.depth?(m=!0,n=c[0],p[n]=1):c.sort(ba));if(!m||(l=this.h)[n]){const a=this.b;for(let b=m?1:0;b<r;b++){const f=c[b];if(f){if(!p[f]){const b=[];let c=!1,h=0;if(n=m?l[n]:this.i){let d;for(let e=0;e<a-g;e++)if(d=n[e][f])b[h++]=d,c=!0}if(c)e[e.length]=1<h?b.concat.apply([],b):b[0];else if(!this.m){d=!1;break}p[f]=1}n=f}}}else d=!1;this.a||(d&&(h=R(e,b,void 0,this.m)),this.cache&&this.j.set(a,h));return h};l.prototype.find=function(a,b){return this.where(a,b,1)[0]||null};l.prototype.where=
function(a,b,c,d){const e=d||this.g,h=[];let f=0;let g;if("number"===typeof a)return[e[a]];if(B(a)){if(y(b))return[e[a]];if("id"===a)return[e[b]];var l=[a];var q=1;var m=[a.split(":")];g=!0}else{if(G(a)){b=d||Object.keys(e);c=b.length;for(l=0;l<c;l++)q=d?d[l]:e[b[l]],a(q)&&(h[f++]=q);return h}c||(c=b);l=Object.keys(a);q=l.length;g=!1;if(1===q&&"id"===l[0])return[e[a.id]];if((m=this.D)&&!d)for(var r=0;r<m.length;r++){var n=m[r],p=a[n];if(!y(p)){d=this.A[n]["@"+p];if(0===--q)return d;l.splice(l.indexOf(n),
1);delete a[n];break}}m=Array(q);for(r=0;r<q;r++)m[r]=l[r].split(":")}r=d||Object.keys(e);n=r.length;for(p=0;p<n;p++){const k=d?d[p]:e[r[p]];let n=!0;for(let c=0;c<q;c++){g||(b=a[l[c]]);const d=m[c],e=d.length;let f=k;if(1<e)for(let b=0;b<e;b++)f=f[d[b]];else f=f[d[0]];if(f!==b){n=!1;break}}if(n&&(h[f++]=k,c&&f===c))break}return h};l.prototype.info=function(){return{id:this.id,items:this.length,cache:this.cache&&this.cache.l?this.cache.l.length:!1,matcher:M.length+(this.o?this.o.length:0),worker:this.F,
threshold:this.threshold,depth:this.depth,resolution:this.b,contextual:this.depth&&"strict"===this.c}};l.prototype.clear=function(){return this.destroy().init()};l.prototype.destroy=function(){this.cache&&(this.j.clear(),this.j=null);this.i=this.h=this.f=null;if(this.a){const a=this.a.keys;for(let b=0;b<a.length;b++)this.a.index[a[b]].destroy();this.a=this.g=null}return this};l.prototype.export=function(){if(this.a){const a=this.a.keys,b=Array(a.length+1);let c=0;for(;c<a.length;c++){const d=this.a.index[a[c]];
b[c]=[d.i,d.h,d.f]}b[c]=this.g;return JSON.stringify(b)}return JSON.stringify([this.i,this.h,this.f])};l.prototype.import=function(a){a=JSON.parse(a);if(this.a){const b=this.a.keys,c=b.length;for(let d=0;d<c;d++){const e=this.a.index[b[d]];e.i=a[d][0];e.h=a[d][1];e.f=a[d][2];e.g=a[c]}this.g=a[c]}else this.i=a[0],this.h=a[1],this.f=a[2]};const K={icase:function(a){return a.toLowerCase()},simple:function(){const a=[g("[\u00e0\u00e1\u00e2\u00e3\u00e4\u00e5]"),"a",g("[\u00e8\u00e9\u00ea\u00eb]"),"e",
g("[\u00ec\u00ed\u00ee\u00ef]"),"i",g("[\u00f2\u00f3\u00f4\u00f5\u00f6\u0151]"),"o",g("[\u00f9\u00fa\u00fb\u00fc\u0171]"),"u",g("[\u00fd\u0177\u00ff]"),"y",g("\u00f1"),"n",g("\u00e7"),"c",g("\u00df"),"s",g(" & ")," and ",g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(b){b=H(b.toLowerCase(),a);return" "===b?"":b}}(),advanced:function(){const a=[g("ae"),"a",g("ai"),"ei",g("ay"),"ei",g("ey"),"ei",g("oe"),"o",g("ue"),"u",g("ie"),"i",g("sz"),"s",g("zs"),"s",g("sh"),"s",g("ck"),"k",g("cc"),
"k",g("dt"),"t",g("ph"),"f",g("pf"),"f",g("ou"),"o",g("uo"),"u"];return function(b,c){if(!b)return b;b=this.simple(b);2<b.length&&(b=H(b,a));c||1<b.length&&(b=O(b));return b}}(),extra:function(){const a=[g("p"),"b",g("z"),"s",g("[cgq]"),"k",g("n"),"m",g("d"),"t",g("[vw]"),"f",g("[aeiouy]"),""];return function(b){if(!b)return b;b=this.advanced(b,!0);if(1<b.length){b=b.split(" ");for(let c=0;c<b.length;c++){const d=b[c];1<d.length&&(b[c]=d[0]+H(d.substring(1),a))}b=b.join(" ");b=O(b)}return b}}(),balance:function(){const a=
[g("[-/]")," ",g("[^a-z0-9 ]"),"",g("\\s+")," "];return function(b){return O(H(b.toLowerCase(),a))}}()},ca=function(){function a(b){this.clear();this.B=!0!==b&&b}a.prototype.clear=function(){this.cache=q();this.count=q();this.index=q();this.l=[]};a.prototype.set=function(b,a){if(this.B&&y(this.cache[b])){let c=this.l.length;if(c===this.B){c--;const b=this.l[c];delete this.cache[b];delete this.count[b];delete this.index[b]}this.index[b]=c;this.l[c]=b;this.count[b]=-1;this.cache[b]=a;this.get(b)}else this.cache[b]=
a};a.prototype.get=function(b){const a=this.cache[b];if(this.B&&a){var d=++this.count[b];const a=this.index;let c=a[b];if(0<c){const f=this.l;for(var e=c;this.count[f[--c]]<=d&&-1!==c;);c++;if(c!==e){for(d=e;d>c;d--)e=f[d-1],f[d]=e,a[e]=d;f[c]=b;a[b]=c}}}return a};return a}();return l}(!1),this);

@@ -5,7 +5,17 @@ /** @define {boolean} */ const SUPPORT_LANG_DE = true;

// noinspection ThisExpressionReferencesGlobalObjectJS
(function(root){
root["FlexSearch"]["registerLanguage"]("de", /** @const */ {
let fs;
if((typeof exports === "object") && (typeof require !== "undefined")){
fs = require("../dist/flexsearch.node.js");
}
else{
fs = root["FlexSearch"];
}
fs["registerLanguage"]("de", /** @const */ {
/**

@@ -12,0 +22,0 @@ * http://www.ranks.nl/stopwords

@@ -1,2 +0,2 @@

this.FlexSearch.registerLanguage("de",{filter:"aber als am an auch auf aus bei bin bis bist da dadurch daher darum das da\u00df dass dein deine dem den der des dessen deshalb die dies dieser dieses doch dort du durch ein eine einem einen einer eines er es euer eure f\u00fcr hatte hatten hattest hattet hier hinter ich ihr ihre im in ist ja jede jedem jeden jeder jedes jener jenes jetzt kann kannst k\u00f6nnen k\u00f6nnt machen mein meine mit mu\u00df mu\u00dft musst m\u00fcssen m\u00fc\u00dft nach nachdem nein nicht nun oder seid sein seine sich sie sind soll sollen sollst sollt sonst soweit sowie und unser unsere unter vom von vor wann warum was weiter weitere wenn wer werde werden werdet weshalb wie wieder wieso wir wird wirst wo woher wohin zu zum zur \u00fcber".split(" "),
("object"===typeof exports&&"undefined"!==typeof require?require("../dist/flexsearch.node.js"):this.FlexSearch).registerLanguage("de",{filter:"aber als am an auch auf aus bei bin bis bist da dadurch daher darum das da\u00df dass dein deine dem den der des dessen deshalb die dies dieser dieses doch dort du durch ein eine einem einen einer eines er es euer eure f\u00fcr hatte hatten hattest hattet hier hinter ich ihr ihre im in ist ja jede jedem jeden jeder jedes jener jenes jetzt kann kannst k\u00f6nnen k\u00f6nnt machen mein meine mit mu\u00df mu\u00dft musst m\u00fcssen m\u00fc\u00dft nach nachdem nein nicht nun oder seid sein seine sich sie sind soll sollen sollst sollt sonst soweit sowie und unser unsere unter vom von vor wann warum was weiter weitere wenn wer werde werden werdet weshalb wie wieder wieso wir wird wirst wo woher wohin zu zum zur \u00fcber".split(" "),
stemmer:{niss:"",isch:"",lich:"",heit:"",keit:"",end:"",ung:"",est:"",ern:"",em:"",er:"",en:"",es:"",st:"",ig:"",ik:"",e:"",s:""}});

@@ -1,10 +0,21 @@

/** @define {boolean} */ const SUPPORT_LANG_EN = true;
/** @define {boolean} */
const SUPPORT_LANG_EN = true;
if(SUPPORT_LANG_EN) {
// noinspection ThisExpressionReferencesGlobalObjectJS
(function(root){
root["FlexSearch"]["registerLanguage"]("en", /** @const */ {
let fs;
if((typeof exports === "object") && (typeof require !== "undefined")){
fs = require("../dist/flexsearch.node.js");
}
else{
fs = root["FlexSearch"];
}
fs["registerLanguage"]("en", /** @const */ {
/**

@@ -280,4 +291,3 @@ * http://www.ranks.nl/stopwords

});
})(this);
}(this));
}

@@ -1,2 +0,2 @@

this.FlexSearch.registerLanguage("en",{filter:"a about above after again against all also am an and any are aren't as at be because been before being below both but by can cannot can't come could couldn't did didn't do does doesn't doing dont down during each even few first for from further get go had hadn't has hasn't have haven't having he hed her here here's hers herself hes him himself his how how's i id if ill im in into is isn't it it's itself i've just know let's like make me more most mustn't my myself new no nor not now of off on once only or other ought our our's ourselves out over own same say see shan't she she'd shell shes should shouldn't so some such than that that's the their theirs them themselves then there there's these they they'd they'll they're they've this those through time to too until up us very want was wasn't way we wed well were weren't we've what what's when when's where where's which while who whom who's why why's will with won't would wouldn't you you'd you'll your you're your's yourself yourselves you've".split(" "),
("object"===typeof exports&&"undefined"!==typeof require?require("../dist/flexsearch.node.js"):this.FlexSearch).registerLanguage("en",{filter:"a about above after again against all also am an and any are aren't as at be because been before being below both but by can cannot can't come could couldn't did didn't do does doesn't doing dont down during each even few first for from further get go had hadn't has hasn't have haven't having he hed her here here's hers herself hes him himself his how how's i id if ill im in into is isn't it it's itself i've just know let's like make me more most mustn't my myself new no nor not now of off on once only or other ought our our's ourselves out over own same say see shan't she she'd shell shes should shouldn't so some such than that that's the their theirs them themselves then there there's these they they'd they'll they're they've this those through time to too until up us very want was wasn't way we wed well were weren't we've what what's when when's where where's which while who whom who's why why's will with won't would wouldn't you you'd you'll your you're your's yourself yourselves you've".split(" "),
stemmer:{ational:"ate",iveness:"ive",fulness:"ful",ousness:"ous",ization:"ize",tional:"tion",biliti:"ble",icate:"ic",ative:"",alize:"al",iciti:"ic",entli:"ent",ousli:"ous",alism:"al",ation:"ate",aliti:"al",iviti:"ive",ement:"",enci:"ence",anci:"ance",izer:"ize",alli:"al",ator:"ate",logi:"log",ical:"ic",ance:"",ence:"",ness:"",able:"",ible:"",ment:"",eli:"e",bli:"ble",ful:"",ant:"",ent:"",ism:"",ate:"",iti:"",ous:"",ive:"",ize:"",al:"",ou:"",er:"",ic:""}});
{
"name": "flexsearch",
"version": "0.5.3",
"version": "0.5.31",
"description": "Next-Generation full text search library with zero dependencies.",

@@ -61,3 +61,3 @@ "homepage": "https://github.com/nextapps-de/flexsearch/",

"coveralls": "^3.0.2",
"google-closure-compiler": "^20190204.0.0-nightly",
"google-closure-compiler": "^20190215.0.0-nightly",
"mocha": "^5.2.0",

@@ -64,0 +64,0 @@ "mocha-lcov-reporter": "^1.3.0",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc