function ajaxifyShop(a){jQuery("div.ccas_ajax_shop_loading_div").show(),jQuery.ajax({url:a,type:"get",success:function(a){if("undefined"==typeof jQuery("ul.products",jQuery(a)).html())jQuery(document).find("ul.products").addClass("ccas_hidden_item"),jQuery(document).find("form.woocommerce-ordering").addClass("ccas_hidden_item"),jQuery(document).find(".ccas_items_info_wrapper_parent").removeClass("ccas_hidden_item");else{jQuery(document).find("ul.products").hasClass("ccas_hidden_item")&&jQuery(document).find(".ccas_items_info_wrapper_parent").hasClass("ccas_hidden_item")?window.location="":"undefined"==typeof jQuery("ul.products").html()&&jQuery(document).find(".ccas_items_info_wrapper_parent").hasClass("ccas_hidden_item")&&(window.location=""),jQuery(document).find(".ccas_items_info_wrapper_parent").addClass("ccas_hidden_item"),jQuery("ul.products").removeClass("ccas_hidden_item"),jQuery("form.woocommerce-ordering").removeClass("ccas_hidden_item");var b=jQuery("ul.products",jQuery(a)).html();jQuery("ul.products").html(b)}var c=jQuery("p.woocommerce-result-count",jQuery(a)).html();"undefined"!=jQuery.type(c)?(jQuery("p.woocommerce-result-count").show(),jQuery("p.woocommerce-result-count").html(c)):jQuery("p.woocommerce-result-count").hide();var d=jQuery("nav.woocommerce-breadcrumb",jQuery(a)).html();"undefined"!=jQuery.type(d)?(jQuery("nav.woocommerce-breadcrumb").show(),jQuery("nav.woocommerce-breadcrumb").html(d)):jQuery("nav.woocommerce-breadcrumb").hide();var e=jQuery("nav.woocommerce-pagination",jQuery(a)).html();"undefined"!=jQuery.type(e)?(jQuery("nav.woocommerce-pagination").show(),jQuery("nav.woocommerce-pagination").html(e)):jQuery("nav.woocommerce-pagination").hide();var f=[],g=[];jQuery(".ccas_ajax_layered_nav_widget_id",jQuery(a)).each(function(){f.push(jQuery(this).html()),g.push(jQuery(this).attr("id"))});var h=0;jQuery(".ccas_ajax_layered_nav_widget_id").each(function(){jQuery(this).attr("id")==g[h]?(jQuery(this).html(f[h]),jQuery(this).show(),h++):jQuery(this).hide()});var i=jQuery(".ccas_ajax_price_filter_widget",jQuery(a)).html();"undefined"!=jQuery.type(i)?(jQuery(function(b){var c=b("#ccas_ajax_hidden_currency_symbol",b(a)).text(),d=parseInt(b("#ccas_ajax_hidden_min_price",b(a)).text()),e=parseInt(b("#ccas_ajax_hidden_max_price",b(a)).text()),f=parseInt(b("#ccas_ajax_hidden_min_price_range",b(a)).text()),g=parseInt(b("#ccas_ajax_hidden_max_price_range",b(a)).text());b("#sliderOfPriceWidget").slider({range:!0,min:d,max:e,values:[f,g],slide:function(a,d){b("#price").val(c+d.values[0]+" - "+c+d.values[1])},stop:function(a,c){var d=window.location.href,e=d.split("?"),f=e[0],g=e[1],h=f+"?";if(h+="min_price="+c.values[0]+"&max_price="+c.values[1],"undefined"!=b.type(g))for(var i=g.split("&"),j=0;j