'),$("#dropdown-toggle-sub").prop("checked",!1),a()})),function(){let e=new Set;e.add("all"),$(".filtered-items a").each((function(){let a=$(this).data("category"),i=$(this).data("sub-category").toString().split(",").map((t=>t.trim()));a===t&&i.forEach((t=>e.add(t)))})),$(".filter-option[data-sub-category]").each((function(){let t=$(this).data("sub-category").toString().trim();e.has(t)?$(this).parent().show():$(this).parent().hide()}))}(),a()}));