yq/docs/assets/javascripts/lunr/lunr.es.js

1 line
11 KiB
JavaScript
Raw Normal View History

2017-12-19 00:59:27 +00:00
!function(e,s){"function"==typeof define&&define.amd?define(s):"object"==typeof exports?module.exports=s():s()(e.lunr)}(this,function(){return function(e){if(void 0===e)throw new Error("Lunr is not present. Please include / require Lunr before this script.");if(void 0===e.stemmerSupport)throw new Error("Lunr stemmer support is not present. Please include / require Lunr stemmer support before this script.");e.es=function(){this.pipeline.reset(),this.pipeline.add(e.es.trimmer,e.es.stopWordFilter,e.es.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.es.stemmer))},e.es.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA--",e.es.trimmer=e.trimmerSupport.generateTrimmer(e.es.wordCharacters),e.Pipeline.registerFunction(e.es.trimmer,"trimmer-es"),e.es.stemmer=function(){var s=e.stemmerSupport.Among,r=e.stemmerSupport.SnowballProgram,n=new function(){function e(){if(C.out_grouping(q,97,252)){for(;!C.in_grouping(q,97,252);){if(C.cursor>=C.limit)return!0;C.cursor++}return!1}return!0}function n(){var s,r=C.cursor;if(function(){if(C.in_grouping(q,97,252)){var s=C.cursor;if(e()){if(C.cursor=s,!C.in_grouping(q,97,252))return!0;for(;!C.out_grouping(q,97,252);){if(C.cursor>=C.limit)return!0;C.cursor++}}return!1}return!0}()){if(C.cursor=r,!C.out_grouping(q,97,252))return;if(s=C.cursor,e()){if(C.cursor=s,!C.in_grouping(q,97,252)||C.cursor>=C.limit)return;C.cursor++}}l=C.cursor}function i(){for(;!C.in_grouping(q,97,252);){if(C.cursor>=C.limit)return!1;C.cursor++}for(;!C.out_grouping(q,97,252);){if(C.cursor>=C.limit)return!1;C.cursor++}return!0}function a(){return l<=C.cursor}function t(){return c<=C.cursor}function o(e,s){if(!t())return!0;C.slice_del(),C.ket=C.cursor;var r=C.find_among_b(e,s);return r&&(C.bra=C.cursor,1==r&&t()&&C.slice_del()),!1}function u(e){return!t()||(C.slice_del(),C.ket=C.cursor,C.eq_s_b(2,e)&&(C.bra=C.cursor,t()&&C.slice_del()),!1)}function w(){var e;if(C.ket=C.cursor,e=C.find_among_b(p,46)){switch(C.bra=C.cursor,e){case 1:if(!t())return!1;C.slice_del();break;case 2:if(u("ic"))return!1;break;case 3:if(!t())return!1;C.slice_from("log");break;case 4:if(!t())return!1;C.slice_from("u");break;case 5:if(!t())return!1;C.slice_from("ente");break;case 6:if(!(m<=C.cursor))return!1;C.slice_del(),C.ket=C.cursor,(e=C.find_among_b(_,4))&&(C.bra=C.cursor,t()&&(C.slice_del(),1==e&&(C.ket=C.cursor,C.eq_s_b(2,"at")&&(C.bra=C.cursor,t()&&C.slice_del()))));break;case 7:if(o(h,3))return!1;break;case 8:if(o(v,3))return!1;break;case 9:if(u("at"))return!1}return!0}return!1}var c,m,l,d=[new s("",-1,6),new s("á",0,1),new s("é",0,2),new s("í",0,3),new s("ó",0,4),new s("ú",0,5)],b=[new s("la",-1,-1),new s("sela",0,-1),new s("le",-1,-1),new s("me",-1,-1),new s("se",-1,-1),new s("lo",-1,-1),new s("selo",5,-1),new s("las",-1,-1),new s("selas",7,-1),new s("les",-1,-1),new s("los",-1,-1),new s("selos",10,-1),new s("nos",-1,-1)],f=[new s("ando",-1,6),new s("iendo",-1,6),new s("yendo",-1,7),new s("ándo",-1,2),new s("iéndo",-1,1),new s("ar",-1,6),new s("er",-1,6),new s("ir",-1,6),new s("ár",-1,3),new s("ér",-1,4),new s("ír",-1,5)],_=[new s("ic",-1,-1),new s("ad",-1,-1),new s("os",-1,-1),new s("iv",-1,1)],h=[new s("able",-1,1),new s("ible",-1,1),new s("ante",-1,1)],v=[new s("ic",-1,1),new s("abil",-1,1),new s("iv",-1,1)],p=[new s("ica",-1,1),new s("ancia",-1,2),new s("encia",-1,5),new s("adora",-1,2),new s("osa",-1,1),new s("ista",-1,1),new s("iva",-1,9),new s("anza",-1,1),new s("logía",-1,3),new s("idad",-1,8),new s("able",-1,1),new s("ible",-1,1),new s("ante",-1,2),new s("mente",-1,7),new s("amente",13,6),new s("ación",-1,2),new s("ución",-1,4),new s("ico",-1,1),new s("ismo",-1,1),new s("oso",-1,1),new s("amiento",-1,1),new s("imiento",-1,1),new s("ivo",-1,9),new s("ador",-1,2),new s("icas",-1,1),new s("ancias",-1,2),new s("encias",-1,5),new s("adoras",-1,2),new s("osas",-1,1),new s("istas",-1,1),new s("ivas",-1,9),new s("anzas",-1,1),new s("logías",-1,3),new s("idad