1
0
mirror of https://github.com/squidfunk/mkdocs-material.git synced 2024-12-18 18:36:07 +01:00
mkdocs-material/material/assets/javascripts/lunr/lunr.it.js

1 line
11 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.it=function(){this.pipeline.reset(),this.pipeline.add(e.it.trimmer,e.it.stopWordFilter,e.it.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.it.stemmer))},e.it.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA--",e.it.trimmer=e.trimmerSupport.generateTrimmer(e.it.wordCharacters),e.Pipeline.registerFunction(e.it.trimmer,"trimmer-it"),e.it.stemmer=function(){var r=e.stemmerSupport.Among,n=e.stemmerSupport.SnowballProgram,i=new function(){function e(e,r,n){return!(!z.eq_s(1,e)||(z.ket=z.cursor,!z.in_grouping(h,97,249)))&&(z.slice_from(r),z.cursor=n,!0)}function i(e){if(z.cursor=e,!z.in_grouping(h,97,249))return!1;for(;!z.out_grouping(h,97,249);){if(z.cursor>=z.limit)return!1;z.cursor++}return!0}function o(){var e,r=z.cursor;if(!function(){if(z.in_grouping(h,97,249)){var e=z.cursor;if(z.out_grouping(h,97,249)){for(;!z.in_grouping(h,97,249);){if(z.cursor>=z.limit)return i(e);z.cursor++}return!0}return i(e)}return!1}()){if(z.cursor=r,!z.out_grouping(h,97,249))return;if(e=z.cursor,z.out_grouping(h,97,249)){for(;!z.in_grouping(h,97,249);){if(z.cursor>=z.limit)return z.cursor=e,void(z.in_grouping(h,97,249)&&z.cursor<z.limit&&z.cursor++);z.cursor++}return void(m=z.cursor)}if(z.cursor=e,!z.in_grouping(h,97,249)||z.cursor>=z.limit)return;z.cursor++}m=z.cursor}function t(){for(;!z.in_grouping(h,97,249);){if(z.cursor>=z.limit)return!1;z.cursor++}for(;!z.out_grouping(h,97,249);){if(z.cursor>=z.limit)return!1;z.cursor++}return!0}function s(){return m<=z.cursor}function a(){return w<=z.cursor}function u(){var e;if(z.ket=z.cursor,!(e=z.find_among_b(p,51)))return!1;switch(z.bra=z.cursor,e){case 1:if(!a())return!1;z.slice_del();break;case 2:if(!a())return!1;z.slice_del(),z.ket=z.cursor,z.eq_s_b(2,"ic")&&(z.bra=z.cursor,a()&&z.slice_del());break;case 3:if(!a())return!1;z.slice_from("log");break;case 4:if(!a())return!1;z.slice_from("u");break;case 5:if(!a())return!1;z.slice_from("ente");break;case 6:if(!s())return!1;z.slice_del();break;case 7:if(!(l<=z.cursor))return!1;z.slice_del(),z.ket=z.cursor,(e=z.find_among_b(_,4))&&(z.bra=z.cursor,a()&&(z.slice_del(),1==e&&(z.ket=z.cursor,z.eq_s_b(2,"at")&&(z.bra=z.cursor,a()&&z.slice_del()))));break;case 8:if(!a())return!1;z.slice_del(),z.ket=z.cursor,(e=z.find_among_b(g,3))&&(z.bra=z.cursor,1==e&&a()&&z.slice_del());break;case 9:if(!a())return!1;z.slice_del(),z.ket=z.cursor,z.eq_s_b(2,"at")&&(z.bra=z.cursor,a()&&(z.slice_del(),z.ket=z.cursor,z.eq_s_b(2,"ic")&&(z.bra=z.cursor,a()&&z.slice_del())))}return!0}function c(){!function(){var e=z.limit-z.cursor;z.ket=z.cursor,z.in_grouping_b(q,97,242)&&(z.bra=z.cursor,s()&&(z.slice_del(),z.ket=z.cursor,z.eq_s_b(1,"i")&&(z.bra=z.cursor,s())))?z.slice_del():z.cursor=z.limit-e}(),z.ket=z.cursor,z.eq_s_b(1,"h")&&(z.bra=z.cursor,z.in_grouping_b(C,99,103)&&s()&&z.slice_del())}var w,l,m,f=[new r("",-1,7),new r("qu",0,6),new r("á",0,1),new r("é",0,2),new r("í",0,3),new r("ó",0,4),new r("ú",0,5)],v=[new r("",-1,3),new r("I",0,1),new r("U",0,2)],b=[new r("la",-1,-1),new r("cela",0,-1),new r("gliela",0,-1),new r("mela",0,-1),new r("tela",0,-1),new r("vela",0,-1),new r("le",-1,-1),new r("cele",6,-1),new r("gliele",6,-1),new r("mele",6,-1),new r("tele",6,-1),new r("vele",6,-1),new r("ne",-1,-1),new r("cene",12,-1),new r("gliene",12,-1),new r("mene",12,-1),new r("sene",12,-1),new r("tene",12,-1),new r("vene",12,-1),new r("ci",-1,-1),new r("li",-1,-1),new r("celi",20,-1),new r("glieli",20,-1),new r("meli",20,-1),new r("teli",20,-1),new r("veli",20,-1),new r("gli",20,-1),new r("mi",-1,-1),new