{"size": 289, "ext": "js", "max_stars_repo_path": "docs/lab7/scripts/toggler.js", "max_stars_repo_name": "mezgoodle/BCD_labs", "max_stars_repo_stars_event_min_datetime": "2021-09-06T19:27:51.000Z", "max_stars_repo_stars_event_max_datetime": "2021-11-11T17:02:56.000Z", "max_issues_repo_path": "docs/lab7/scripts/toggler.js", "max_issues_repo_name": "mezgoodle/BCD_labs", "max_issues_repo_issues_event_min_datetime": "2021-09-05T04:23:02.000Z", "max_issues_repo_issues_event_max_datetime": "2021-12-21T16:38:30.000Z", "max_forks_repo_path": "docs/lab7/scripts/toggler.js", "max_forks_repo_name": "mezgoodle/BCD_labs", "max_forks_repo_forks_event_min_datetime": null, "max_forks_repo_forks_event_max_datetime": null}
{"max_stars_count": 2, "max_issues_count": 6, "max_forks_count": null, "avg_line_length": 22.2307692308, "max_line_length": 57, "alphanum_fraction": 0.5951557093}
"use strict";

const toggler = () => {
    document.addEventListener('click', (event) => {
        const identifier = event.target.dataset.toggleId;
        if (!identifier) return;
        const map = document.getElementById('map');
        map.hidden = !map.hidden;
    })
}

toggler();
