1jQuery(document).ready(function(o){o("#filter").on("change","input:checkbox",{passive:!0},function(){o("#filter").addClass("updating"),o("#filter").submit()}),o(document).on("submit","#filter",function(e){e.preventDefault();var a=o("#filter").serialize(),r=new URLSearchParams(location.search),t=r.has("orderby")?r.get("orderby"):"";o.ajax({data:{action:"filter_cat",data:a,ajax:!0,orderby:t,isfilter:!0},type:"post",url:filter_cat.ajaxurl,beforeSend:function(e){o("#page").addClass("ajax-loading"),o(".loadmore-wrapper").remove(),o("#aws_pagination").remove(),o(".main-pagination-script").remove(),o(".grid.products").remove()},success:function(e){var a=e.data;a.count&&o(".woocommerce-result-count").html(a.count),o(".product-results-meta").after('<div class="grid products">'+a.content+"</div>"),o("#page").removeClass("ajax-loading")},error:function(e){console.log(e)}})}),o(document).on("click","#reset-filters",function(e){e.preventDefault();var a=o("#filter").serialize(),r=new URLSearchParams(location.search),t=r.has("orderby")?r.get("orderby"):"";o.ajax({data:{action:"reset_filters",data:a,ajax:!0,orderby:t},type:"post",url:filter_cat.ajaxurl,beforeSend:function(e){o("#page").addClass("ajax-loading"),o(".loadmore-wrapper").remove(),o("#aws_pagination").remove(),o(".main-pagination-script").remove(),o(".grid.products").remove()},success:function(e){var a=e.data;console.log(e),o("#filter")[0].reset(),o(".price-range.max").html("£"+format_number(o(".price-range.max").data("price-max"))),o(".price-range.min").html("£"+format_number(o(".price-range.min").data("price-min"))),o("#filter").find(".ui-slider-handle:eq(0)").css("left","0%"),o("#filter").find(".ui-slider-handle:eq(1)").css("left","100%"),o("#filter").find(".ui-slider-range").css({left:"0%",width:"100%"}),o(".woocommerce-result-count").html(a.count),o(".product-results-meta").after('<div class="grid products">'+a.content+"</div>"),o("#page").removeClass("ajax-loading")},error:function(e){console.log(e)}})}),o(".aws_search_and_filter_widget").prepend('<button class="sidebar-collapse wireframe closed">Show Filters +</button>'),o(document).on("click",".sidebar-collapse",function(){o("#filter").slideToggle(),o(".sidebar-collapse").toggleClass("closed"),o(".sidebar-collapse").hasClass("closed")?o(".sidebar-collapse").html("Show Filters +"):o(".sidebar-collapse").html("Hide Filters -")})}); 2//# sourceMappingURL=woo-filter.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.