/*! UIkit 2.5.0 | http://www.getuikit.com | (c) 2014 YOOtheme | MIT License */ (function(t){"function"==typeof define&&define.amd&&define("uikit-search",["uikit"],function(){return jQuery.UIkit.search||t(window,window.jQuery,window.jQuery.UIkit)}),window&&window.jQuery&&window.jQuery.UIkit&&t(window,window.jQuery,window.jQuery.UIkit)})(function(t,e,i){"use strict";var n=function(t,s){var o=e(t),a=this;o.data("search")||(this.autocomplete=new i.autocomplete(o,e.extend({},n.defaults,s)),this.autocomplete.dropdown.addClass("uk-dropdown-search"),this.autocomplete.input.on("keyup",function(){o[this.value?"addClass":"removeClass"]("uk-active")}).closest("form").on("reset",function(){this.value="",o.removeClass("uk-active")}),o.on("autocomplete-select",function(t,e){e.url?location.href=e.url:e.moreresults&&a.autocomplete.input.closest("form").submit()}),o.data("search",this))};return n.defaults={msgResultsHeader:"Search Results",msgMoreResults:"More Results",msgNoResults:"No results found",template:'