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