!function($){"use strict";$(document).ready(function(){$(".icon-filter").fastLiveFilter("#icon-lists",{timeout:100})})}(jQuery),jQuery.fn.fastLiveFilter=function(list,options){options=options||{},list=jQuery(list);var keyTimeout,input=this,lastFilter="",timeout=options.timeout||0,callback=options.callback||function(){},lis=list.children(),len=lis.length,oldDisplay=len>0?lis[0].style.display:"block";return callback(len),input.change(function(){for(var li,innerText,filter=input.val().toLowerCase(),numShown=0,i=0;i<len;i++)li=lis[i],innerText=options.selector?$(li).find(options.selector).text():li.textContent||li.innerText||"",innerText.toLowerCase().indexOf(filter)>=0?("none"==li.style.display&&(li.style.display=oldDisplay),numShown++):"none"!=li.style.display&&(li.style.display="none");return callback(numShown),!1}).keydown(function(){clearTimeout(keyTimeout),keyTimeout=setTimeout(function(){input.val()!==lastFilter&&(lastFilter=input.val(),input.change())},timeout)}),this};