autocomplete-highlighters-accentfold-min.js revision 76ca635d61eb3f9fb7c9d788a44fa8b1690aa138
YUI.add("autocomplete-highlighters-accentfold",function(c){var a=c.Highlight,b=c.Array;c.mix(c.namespace("AutoCompleteHighlighters"),{charMatchFold:function(f,e){if(!f){return e;}var d=b.unique(f.split(""));return b.map(e,function(g){return a.allFold(g.text,d);});},phraseMatchFold:function(e,d){if(!e){return d;}return b.map(d,function(f){return a.allFold(f.text,[e]);});},startsWithFold:function(e,d){if(!e){return d;}return b.map(d,function(f){return a.allFold(f.text,[e],{startsWith:true});});},subWordMatchFold:function(f,d){if(!f){return d;}var e=c.Text.WordBreak.getUniqueWords(f);return b.map(d,function(g){return a.allFold(g.text,e);});},wordMatchFold:function(e,d){if(!e){return d;}return b.map(d,function(f){return a.wordsFold(f.text,e);});}});},"@VERSION@",{requires:["array-extras","highlight-accentfold"]});