yq/docs/assets/javascripts/lunr/lunr.ro.js
2017-12-19 11:59:27 +11:00

1 line
10 KiB
JavaScript
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

!function(e,i){"function"==typeof define&&define.amd?define(i):"object"==typeof exports?module.exports=i():i()(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.ro=function(){this.pipeline.reset(),this.pipeline.add(e.ro.trimmer,e.ro.stopWordFilter,e.ro.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.ro.stemmer))},e.ro.wordCharacters="A-Za-zªºÀ-ÖØ-öø-ʸˠ-ˤᴀ-ᴥᴬ-ᵜᵢ-ᵥᵫ-ᵷᵹ-ᶾḀ-ỿⁱⁿₐ-ₜKÅℲⅎⅠ-ↈⱠ-ⱿꜢ-ꞇꞋ-ꞭꞰ-ꞷꟷ-ꟿꬰ-ꭚꭜ-ꭤff-stA--",e.ro.trimmer=e.trimmerSupport.generateTrimmer(e.ro.wordCharacters),e.Pipeline.registerFunction(e.ro.trimmer,"trimmer-ro"),e.ro.stemmer=function(){var i=e.stemmerSupport.Among,r=e.stemmerSupport.SnowballProgram,n=new function(){function e(e,i){h.eq_s(1,e)&&(h.ket=h.cursor,h.in_grouping(k,97,259)&&h.slice_from(i))}function n(){if(h.out_grouping(k,97,259)){for(;!h.in_grouping(k,97,259);){if(h.cursor>=h.limit)return!0;h.cursor++}return!1}return!0}function t(){var e,i,r=h.cursor;if(h.in_grouping(k,97,259)){if(e=h.cursor,!n())return void(f=h.cursor);if(h.cursor=e,!function(){if(h.in_grouping(k,97,259))for(;!h.out_grouping(k,97,259);){if(h.cursor>=h.limit)return!0;h.cursor++}return!1}())return void(f=h.cursor)}h.cursor=r,h.out_grouping(k,97,259)&&(i=h.cursor,n()&&(h.cursor=i,h.in_grouping(k,97,259)&&h.cursor<h.limit&&h.cursor++),f=h.cursor)}function a(){for(;!h.in_grouping(k,97,259);){if(h.cursor>=h.limit)return!1;h.cursor++}for(;!h.out_grouping(k,97,259);){if(h.cursor>=h.limit)return!1;h.cursor++}return!0}function o(){return l<=h.cursor}function s(){var e,i=h.limit-h.cursor;if(h.ket=h.cursor,(e=h.find_among_b(b,46))&&(h.bra=h.cursor,o())){switch(e){case 1:h.slice_from("abil");break;case 2:h.slice_from("ibil");break;case 3:h.slice_from("iv");break;case 4:h.slice_from("ic");break;case 5:h.slice_from("at");break;case 6:h.slice_from("it")}return w=!0,h.cursor=h.limit-i,!0}return!1}function c(){var e,i;for(w=!1;;)if(i=h.limit-h.cursor,!s()){h.cursor=h.limit-i;break}if(h.ket=h.cursor,(e=h.find_among_b(v,62))&&(h.bra=h.cursor,m<=h.cursor)){switch(e){case 1:h.slice_del();break;case 2:h.eq_s_b(1,"ţ")&&(h.bra=h.cursor,h.slice_from("t"));break;case 3:h.slice_from("ist")}w=!0}}function u(){var e;h.ket=h.cursor,(e=h.find_among_b(g,5))&&(h.bra=h.cursor,f<=h.cursor&&1==e&&h.slice_del())}var w,m,l,f,p=[new i("",-1,3),new i("I",0,1),new i("U",0,2)],d=[new i("ea",-1,3),new i("aţia",-1,7),new i("aua",-1,2),new i("iua",-1,4),new i("aţie",-1,7),new i("ele",-1,3),new i("ile",-1,5),new i("iile",6,4),new i("iei",-1,4),new i("atei",-1,6),new i("ii",-1,4),new i("ului",-1,1),new i("ul",-1,1),new i("elor",-1,3),new i("ilor",-1,4),new i("iilor",14,4)],b=[new i("icala",-1,4),new i("iciva",-1,4),new i("ativa",-1,5),new i("itiva",-1,6),new i("icale",-1,4),new i("aţiune",-1,5),new i("iţiune",-1,6),new i("atoare",-1,5),new i("itoare",-1,6),new i("ătoare",-1,5),new i("icitate",-1,4),new i("abilitate",-1,1),new i("ibilitate",-1,2),new i("ivitate",-1,3),new i("icive",-1,4),new i("ative",-1,5),new i("itive",-1,6),new i("icali",-1,4),new i("atori",-1,5),new i("icatori",18,4),new i("itori",-1,6),new i("ători",-1,5),new i("icitati",-1,4),new i("abilitati",-1,1),new i("ivitati",-1,3),new i("icivi",-1,4),new i("ativi",-1,5),new i("itivi",-1,6),new i("icităi",-1,4),new i("abilităi",-1,1),new i("ivităi",-1,3),new i("icităţi",-1,4),new i("abilităţi",-1,1),new i("ivităţi",-1,3),new i("ical",-1,4),new i("ator",-1,5),new i("icator",35,4),new i("itor",-1,6),new i("ător",-1,5),new i("iciv",-1,4),new i("ativ",-1,5),new i("itiv",-1,6),new i("icală",-1,4),new i("icivă",-1,4),new i("ativă",-1,5),new i("itivă",-1,6)],v=[new i("ica",-1,1),new i("abila",-1,1),new i("ibila",-1,1),new i("oasa",-1,1),new i("ata",-1,1),new i("ita",-1,1),new i("anta",-1,1),new i("ista",-1,3),new i("uta",-1,1),new i("iva",-1,1),new i("ic",-1,1),new i("ice",-1,1),new i("abile",-1,1),new i("ibile",-1,1),new i("isme",-1,3),new i("iune",-1,2),new i("oase",-1,1),new i("ate",-1,1),new i("itate",17,1),new i("ite",-1,1),new i("ante",-1,1),new i("iste",-1,3),new i("ute",-1,1),new i("ive",-1,1),new i("ici",-1,1),new i("abili",-1,1),new i("ibili",-1,1),new i("iuni",-1,2),new i("atori",-1,1),new i("osi",-1,1),new i("ati",-1,1),new i("itati",30,1),new i("iti",-1,1),new i("anti",-1,1),new i("isti",-1,3),new i("uti",-1,1),new i("işti",-1,3),new i("ivi",-1,1),new i("ităi",-1,1),new i("oşi",-1,1),new i("ităţi",-1,1),new i("abil",-1,1),new i("ibil",-1,1),new i("ism",-1,3),new i("ator",-1,1),new i("os",-1,1),new i("at",-1,1),new i("it",-1,1),new i("ant",-1,1),new i("ist",-1,3),new i("ut",-1,1),new i("iv",-1,1),new i("ică",-1,1),new i("abilă",-1,1),new i("ibilă",-1,1),new i("oasă",-1,1),new i("ată",-1,1),new i("ită",-1,1),new i("antă",-1,1),new i("istă",-1,3),new i("ută",-1,1),new i("ivă",-1,1)],_=[new i("ea",-1,1),new i("ia",-1,1),new i("esc",-1,1),new i("ăsc",-1,1),new i("ind",-1,1),new i("ând",-1,1),new i("are",-1,1),new i("ere",-1,1),new i("ire",-1,1),new i("âre",-1,1),new i("se",-1,2),new i("ase",10,1),new i("sese",10,2),new i("ise",10,1),new i("use",10,1),new i("âse",10,1),new i("eşte",-1,1),new i("ăşte",-1,1),new i("eze",-1,1),new i("ai",-1,1),new i("eai",19,1),new i("iai",19,1),new i("sei",-1,2),new i("eşti",-1,1),new i("ăşti",-1,1),new i("ui",-1,1),new i("ezi",-1,1),new i("âi",-1,1),new i("aşi",-1,1),new i("seşi",-1,2),new i("aseşi",29,1),new i("seseşi",29,2),new i("iseşi",29,1),new i("useşi",29,1),new i("âseşi",29,1),new i("işi",-1,1),new i("uşi",-1,1),new i("âşi",-1,1),new i("aţi",-1,2),new i("eaţi",38,1),new i("iaţi",38,1),new i("eţi",-1,2),new i("iţi",-1,2),new i("âţi",-1,2),new i("arăţi",-1,1),new i("serăţi",-1,2),new i("aserăţi",45,1),new i("seserăţi",45,2),new i("iserăţi",45,1),new i("userăţi",45,1),new i("âserăţi",45,1),new i("irăţi",-1,1),new i("urăţi",-1,1),new i("ârăţi",-1,1),new i("am",-1,1),new i("eam",54,1),new i("iam",54,1),new i("em",-1,2),new i("asem",57,1),new i("sesem",57,2),new i("isem",57,1),new i("usem",57,1),new i("âsem",57,1),new i("im",-1,2),new i("âm",-1,2),new i("ăm",-1,2),new i("arăm",65,1),new i("serăm",65,2),new i("aserăm",67,1),new i("seserăm",67,2),new i("iserăm",67,1),new i("userăm",67,1),new i("âserăm",67,1),new i("irăm",65,1),new i("urăm",65,1),new i("ârăm",65,1),new i("au",-1,1),new i("eau",76,1),new i("iau",76,1),new i("indu",-1,1),new i("ându",-1,1),new i("ez",-1,1),new i("ească",-1,1),new i("ară",-1,1),new i("seră",-1,2),new i("aseră",84,1),new i("seseră",84,2),new i("iseră",84,1),new i("useră",84,1),new i("âseră",84,1),new i("iră",-1,1),new i("ură",-1,1),new i("âră",-1,1),new i("ează",-1,1)],g=[new i("a",-1,1),new i("e",-1,1),new i("ie",1,1),new i("i",-1,1),new i("ă",-1,1)],k=[17,65,16,0,0,0,0,0,0,0,0,0,0,0,0,0,2,32,0,0,4],h=new r;this.setCurrent=function(e){h.setCurrent(e)},this.getCurrent=function(){return h.getCurrent()},this.stem=function(){var i=h.cursor;return function(){for(var i,r;i=h.cursor,h.in_grouping(k,97,259)&&(r=h.cursor,h.bra=r,e("u","U"),h.cursor=r,e("i","I")),h.cursor=i,!(h.cursor>=h.limit);)h.cursor++}(),h.cursor=i,function(){var e=h.cursor;f=h.limit,l=f,m=f,t(),h.cursor=e,a()&&(l=h.cursor,a()&&(m=h.cursor))}(),h.limit_backward=i,h.cursor=h.limit,function(){var e,i;if(h.ket=h.cursor,(e=h.find_among_b(d,16))&&(h.bra=h.cursor,o()))switch(e){case 1:h.slice_del();break;case 2:h.slice_from("a");break;case 3:h.slice_from("e");break;case 4:h.slice_from("i");break;case 5:i=h.limit-h.cursor,h.eq_s_b(2,"ab")||(h.cursor=h.limit-i,h.slice_from("i"));break;case 6:h.slice_from("at");break;case 7:h.slice_from("aţi")}}(),h.cursor=h.limit,c(),h.cursor=h.limit,w||(h.cursor=h.limit,function(){var e,i,r;if(h.cursor>=f){if(i=h.limit_backward,h.limit_backward=f,h.ket=h.cursor,e=h.find_among_b(_,94))switch(h.bra=h.cursor,e){case 1:if(r=h.limit-h.cursor,!h.out_grouping_b(k,97,259)&&(h.cursor=h.limit-r,!h.eq_s_b(1,"u")))break;case 2:h.slice_del()}h.limit_backward=i}}(),h.cursor=h.limit),u(),h.cursor=h.limit_backward,function(){for(var e;;){if(h.bra=h.cursor,e=h.find_among(p,3))switch(h.ket=h.cursor,e){case 1:h.slice_from("i");continue;case 2:h.slice_from("u");continue;case 3:if(h.cursor>=h.limit)break;h.cursor++;continue}break}}(),!0}};return function(e){return"function"==typeof e.update?e.update(function(e){return n.setCurrent(e),n.stem(),n.getCurrent()}):(n.setCurrent(e),n.stem(),n.getCurrent())}}(),e.Pipeline.registerFunction(e.ro.stemmer,"stemmer-ro"),e.ro.stopWordFilter=e.generateStopWordFilter("acea aceasta această aceea acei aceia acel acela acele acelea acest acesta aceste acestea aceşti aceştia acolo acord acum ai aia aibă aici al ale alea altceva altcineva am ar are asemenea asta astea astăzi asupra au avea avem aveţi azi aş aşadar aţi bine bucur bună ca care caut ce cel ceva chiar cinci cine cineva contra cu cum cumva curând curînd când cât câte câtva câţi cînd cît cîte cîtva cîţi că căci cărei căror cărui către da dacă dar datorită dată dau de deci deja deoarece departe deşi din dinaintea dintr- dintre doi doilea două drept după dă ea ei el ele eram este eu eşti face fata fi fie fiecare fii fim fiu fiţi frumos fără graţie halbă iar ieri la le li lor lui lângă lîngă mai mea mei mele mereu meu mi mie mine mult multă mulţi mulţumesc mâine mîine mă ne nevoie nici nicăieri nimeni nimeri nimic nişte noastre noastră noi noroc nostru nouă noştri nu opt ori oricare orice oricine oricum oricând oricât oricînd oricît oriunde patra patru patrulea pe pentru peste pic poate pot prea prima primul prin puţin puţina puţină până pînă rog sa sale sau se spate spre sub sunt suntem sunteţi sută sînt sîntem sînteţi să săi său ta tale te timp tine toate toată tot totuşi toţi trei treia treilea tu tăi tău un una unde undeva unei uneia unele uneori unii unor unora unu unui unuia unul vi voastre voastră voi vostru vouă voştri vreme vreo vreun vă zece zero zi zice îi îl îmi împotriva în înainte înaintea încotro încât încît între întrucât întrucît îţi ăla ălea ăsta ăstea ăştia şapte şase şi ştiu ţi ţie".split(" ")),e.Pipeline.registerFunction(e.ro.stopWordFilter,"stopWordFilter-ro")}});