var _____WB$wombat$assign$function_____ = function(name) {return (self._wb_wombat && self._wb_wombat.local_init && self._wb_wombat.local_init(name)) || self[name]; }; if (!self.__WB_pmw) { self.__WB_pmw = function(obj) { this.__WB_source = obj; return this; } } { let window = _____WB$wombat$assign$function_____("window"); let self = _____WB$wombat$assign$function_____("self"); let document = _____WB$wombat$assign$function_____("document"); let location = _____WB$wombat$assign$function_____("location"); let top = _____WB$wombat$assign$function_____("top"); let parent = _____WB$wombat$assign$function_____("parent"); let frames = _____WB$wombat$assign$function_____("frames"); let opener = _____WB$wombat$assign$function_____("opener"); let homeFilter = document.getElementById('js-filter'); let frontPageFilterHead = document.querySelector('.front-page__filter-head'); if (homeFilter) { homeFilter.addEventListener('click', () => { homeFilter.parentNode.classList.toggle('open'); frontPageFilterHead.parentNode.classList.toggle('open-filter'); }); frontPageFilterHead.addEventListener('click', () => { hideContent(['neighborhood', 'services', 'ethnie', 'weight', 'height', 'age','cities','metro']); }); addClickListener('neighborhood'); addClickListener('services'); addClickListener('ethnie'); addClickListener('weight'); addClickListener('height'); addClickListener('age'); addClickListener('cities'); addClickListener('metro'); } function addClickListener(category) { let btn = document.getElementById(`${category}-btn`); let content = document.getElementById(`${category}-content`); if (btn && content) { btn.addEventListener('click', () => { btn.classList.toggle('active'); content.classList.toggle('show'); hideContent(['neighborhood', 'services', 'ethnie', 'weight', 'height', 'age', 'cities','metro'], category); }); } } function hideContent(categories, excludeCategory) { categories.forEach(category => { if (category !== excludeCategory) { let btn = document.getElementById(`${category}-btn`); let content = document.getElementById(`${category}-content`); if (btn && content) { btn.classList.remove('active'); content.classList.remove('show'); } } }); } } /* FILE ARCHIVED ON 01:29:42 Apr 05, 2024 AND RETRIEVED FROM THE INTERNET ARCHIVE ON 19:37:44 Apr 20, 2025. JAVASCRIPT APPENDED BY WAYBACK MACHINE, COPYRIGHT INTERNET ARCHIVE. ALL OTHER CONTENT MAY ALSO BE PROTECTED BY COPYRIGHT (17 U.S.C. SECTION 108(a)(3)). */ /* playback timings (ms): captures_list: 0.923 exclusion.robots: 0.039 exclusion.robots.policy: 0.023 esindex: 0.015 cdx.remote: 9.3 LoadShardBlock: 260.286 (3) PetaboxLoader3.datanode: 123.917 (5) PetaboxLoader3.resolve: 269.379 (2) load_resource: 189.596 loaddict: 27.061 */