Categories
<% if (typeof defaultActiveCategories === 'string') { defaultActiveCategories = defaultActiveCategories .split(',') .map(category => category.trim()); } else { defaultActiveCategories = []; } categories = categories.filter(function(category) { return (window.Theme.excludedObjects || []).indexOf(category.id) === -1; }) %>