Unciv/assets/javascripts/lunr/min/lunr.sa.min.js

1 line
4.8 KiB
JavaScript
Raw Permalink Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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,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.sa=function(){this.pipeline.reset(),this.pipeline.add(e.sa.trimmer,e.sa.stopWordFilter,e.sa.stemmer),this.searchPipeline&&(this.searchPipeline.reset(),this.searchPipeline.add(e.sa.stemmer))},e.sa.wordCharacters="ऀ-ःऄ-एऐ-टठ-यर-िी-ॏॐ-य़ॠ-९॰-ॿ꣠-꣱ꣲ-ꣷ꣸-ꣻ꣼-ꣽꣾ-ꣿᆰ0-ᆰ9",e.sa.trimmer=e.trimmerSupport.generateTrimmer(e.sa.wordCharacters),e.Pipeline.registerFunction(e.sa.trimmer,"trimmer-sa"),e.sa.stopWordFilter=e.generateStopWordFilter('तथ अयम एकम इतयसि तथ तत अयम इतयस आह उपरि ि तद इतयन अधि इतयस तत चन बहव ि तथ महतवप अयम अस िषय अय असि तत रथम िषय इतपरि इतपरि इतर अधिकतम अधि अपि यतय इतरतर तनम नम कशि ि असि तदनरम तत असि वलम अपि अत सर िि तत बहव यत इद दकि इतयस तस उपरि नथ अत यम सर एककम इति एत सनि उत इतथम मध एतदर . कस रथम . करि असि रक िि तत कर सम अध सनि एक असि अर . ितम ि अगि सम सम इदमपि अधिकतय कर सम इतयस सह यसि तव तद आगत ि इतर िषय अतएव अपि नगरस उपरि यत रतिशत कतर धनि तथि समबनि अनयत अत अस वक अस इद अन इतदय भवन इतदय एत एत तस अस इदम एत सम एक बहव अन वदनि यत ियत कस कस यस यस यस यस अति ि रथम समणतय तत िरकननतर तक समणतय अन ि अत इह इव रद अवशियत परन अन वर सनि सनि शकवनि सर िि सर एकत"'.split(" ")),e.sa.stemmer=function(){return function(e){return"function"==typeof e.update?e.update(function(e){return e}):e}}();var r=e.wordcut;r.init(),e.sa.tokenizer=function(t){if(!arguments.length||null==t||void 0==t)return[];if(Array.isArray(t))return t.map(function(r){return isLunr2?new e.Token(r.toLowerCase()):r.toLowerCase()});var i=t.toString().toLowerCase().replace(/^\s+/,"");return r.cut(i).split("|")},e.Pipeline.registerFunction(e.sa.stemmer,"stemmer-sa"),e.Pipeline.registerFunction(e.sa.stopWordFilter,"stopWordFilter-sa")}});