"use strict";!function(o){o(document).ready(function(){var e,a,t=o(".directorypress-plugins .themes"),i=t.isotope({filter:"*",animationOptions:{duration:750,easing:"linear",queue:!1},layoutMode:"fitRows",fitRows:{gutter:39}}),n=o(".directorypress-plugins-categories a");e=i.isotope("getFilteredItemElements"),a=o(e),n.each(function(e,t){var i=o(t),n=i.attr("data-filter");if(n){var s=a.filter(n).length;i.find(".directorypress-filter-count").text(s)}}),n.click(function(){var e=o(this).attr("data-filter");t.isotope({filter:e,animationOptions:{duration:750,easing:"linear",queue:!1},layoutMode:"fitRows",fitRows:{gutter:39}});return!1}),console.log(),o(".directorypress-plugins-categories").find("a").click(function(){var e=o(this);if(e.hasClass("selected"))return!1;e.parents(".directorypress-plugins-categories").find(".directorypress-plugin-selected").removeClass("directorypress-plugin-selected"),e.addClass("directorypress-plugin-selected")})})}(jQuery);