PageSourceSearch

https://flowerexplosion.nl/wp-content/plugins/woocommerce-products…/ext/sections/js/sections.js?ver=1.4.0

js flowerexplosion.nl collected 2026-09-27 08:54:24 UTC 1,369 bytes, 51 lines download raw bytes

1"use strict";
2function woof_sections_html_items() {
3
4    var sections = jQuery('.woof_section_tab');
5    var request = woof_current_values.replace(/(\\)/, '');
6    request = JSON.parse(request);
7
8    jQuery.each(sections, function (e, item) {
9        var _this = this;
10        jQuery.each(request, function (k, val) {
11
12            var selected = jQuery(_this).find(".woof_container_" + k);
13            if (jQuery(selected).length) {
14                if (!jQuery(_this).prev('label').prev("input:checked").length) {
15                    jQuery(_this).prev('label').trigger('click');
16                }
17
18            }
19        });
20
21
22    });
23    
24    woof_sections_check_empty_items();
25
26}
27
28function woof_sections_check_empty_items(){
29    var sections = jQuery('.woof_section_tab');
30    jQuery.each(sections, function (e, item) {
31	setTimeout(function(){ 	 
32	    var filters = jQuery(item).find('.woof_container');
33	    var hidden_filter = 0;
34	    jQuery.each(filters, function (e, filter) {
35		if (jQuery(filter).is(":hidden")){
36		    hidden_filter++;
37		}
38	    });
39	    if(filters.length == hidden_filter || filters.length == 0){
40		jQuery(item).prev('.woof_section_tab_label').hide();
41		jQuery(item).hide();
42	    }
43	}, 1500);	
44
45    });
46}
47document.addEventListener('woof-ajax-form-redrawing', (e) => {     
48    woof_sections_check_empty_items();
49});
50
51woof_sections_html_items();

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.