mkdocs-material/material/assets/javascripts/lunr/lunr.de.js

1 line
5.6 KiB
JavaScript
Raw Normal View History

!function(e,r){"function"==typeof define&&define.amd?define(r):"object"==typeof exports?module.exports=r():r()(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.de=function(){this.pipeline.reset(),this.pipeline.add(e.de.trimmer,e.de.stopWordFilter,e.de.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.de.stemmer))},e.de.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA--",e.de.trimmer=e.trimmerSupport.generateTrimmer(e.de.wordCharacters),e.Pipeline.registerFunction(e.de.trimmer,"trimmer-de"),e.de.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(e,r,n){return!(!_.eq_s(1,e)||(_.ket=_.cursor,!_.in_grouping(w,97,252)))&&(_.slice_from(r),_.cursor=n,!0)}function i(){for(;!_.in_grouping(w,97,252);){if(_.cursor>=_.limit)return!0;_.cursor++}for(;!_.out_grouping(w,97,252);){if(_.cursor>=_.limit)return!0;_.cursor++}return!1}function s(){return u<=_.cursor}function t(){return c<=_.cursor}var o,c,u,a=[new r("",-1,6),new r("U",0,2),new r("Y",0,1),new r("ä",0,3),new r("ö",0,4),new r("ü",0,5)],d=[new r("e",-1,2),new r("em",-1,1),new r("en",-1,2),new r("ern",-1,1),new r("er",-1,1),new r("s",-1,3),new r("es",5,2)],l=[new r("en",-1,1),new r("er",-1,1),new r("st",-1,2),new r("est",2,1)],m=[new r("ig",-1,1),new r("lich",-1,1)],h=[new r("end",-1,1),new r("ig",-1,2),new r("ung",-1,1),new r("lich",-1,3),new r("isch",-1,2),new r("ik",-1,2),new r("heit",-1,3),new r("keit",-1,4)],w=[17,65,16,1,0,0,0,0,0,0,0,0,0,0,0,0,8,0,32,8],f=[117,30,5],b=[117,30,4],_=new n;this.setCurrent=function(e){_.setCurrent(e)},this.getCurrent=function(){return _.getCurrent()},this.stem=function(){var r=_.cursor;return function(){for(var r,n,i,s,t=_.cursor;;)if(r=_.cursor,_.bra=r,_.eq_s(1,"ß"))_.ket=_.cursor,_.slice_from("ss");else{if(r>=_.limit)break;_.cursor=r+1}for(_.cursor=t;;)for(n=_.cursor;;){if(i=_.cursor,_.in_grouping(w,97,252)){if(s=_.cursor,_.bra=s,e("u","U",i))break;if(_.cursor=s,e("y","Y",i))break}if(i>=_.limit)return void(_.cursor=n);_.cursor=i+1}}(),_.cursor=r,function(){u=_.limit,c=u;var e=_.cursor+3;0<=e&&e<=_.limit&&(o=e,i()||((u=_.cursor)<o&&(u=o),i()||(c=_.cursor)))}(),_.limit_backward=r,_.cursor=_.limit,function(){var e,r,n,i,o=_.limit-_.cursor;if(_.ket=_.cursor,(e=_.find_among_b(d,7))&&(_.bra=_.cursor,s()))switch(e){case 1:_.slice_del();break;case 2:_.slice_del(),_.ket=_.cursor,_.eq_s_b(1,"s")&&(_.bra=_.cursor,_.eq_s_b(3,"nis")&&_.slice_del());break;case 3:_.in_grouping_b(f,98,116)&&_.slice_del()}if(_.cursor=_.limit-o,_.ket=_.cursor,(e=_.find_among_b(l,4))&&(_.bra=_.cursor,s()))switch(e){case 1:_.slice_del();break;case 2:if(_.in_grouping_b(b,98,116)){var c=_.cursor-3;_.limit_backward<=c&&c<=_.limit&&(_.cursor=c,_.slice_del())}}if(_.cursor=_.limit-o,_.ket=_.cursor,(e=_.find_among_b(h,8))&&(_.bra=_.cursor,t()))switch(e){case 1:_.slice_del(),_.ket=_.cursor,_.eq_s_b(2,"ig")&&(_.bra=_.cursor,r=_.limit-_.cursor,_.eq_s_b(1,"e")||(_.cursor=_.limit-r,t()&&_.slice_del()));break;case 2:n=_.limit-_.cursor,_.eq_s_b(1,"e")||(_.cursor=_.limit-n,_.slice_del());break;case 3:if(_.slice_del(),_.ket=_.cursor,i=_.limit-_.cursor,!_.eq_s_b(2,"er")&&(_.cursor=_.limit-i,!_.eq_s_b(2,"en")))break;_.bra=_.cursor,s()&&_.slice_del();break;case 4:_.slice_del(),_.ket=_.cursor,(e=_.find_among_b(m,2))&&(_.bra=_.cursor,t()&&1==e&&_.slice_del())}}(),_.cursor=_.limit_backward,function(){for(var e,r;;){if(r=_.cursor,_.bra=r,!(e=_.find_among(a,6)))return;switch(_.ket=_.cursor,e){case 1:_.slice_from("y");break;case 2:case 5:_.slice_from("u");break;case 3:_.slice_from("a");break;case 4:_.slice_from("o");break;case 6:if(_.cursor>=_.limit)return;_.cursor++}}}(),!0}};return function(e){return"function"==typeof