e) {
                e.preventDefault();
                history.replaceState({}, '', this.href);
            });
        }

        const guideContents = document.getElementsByClassName('guide-content');
        for (var i=0; i<guideContents.length; i++) {
            const content = guideContents[i];
            content.hidden = 'until-found';
            content.addEventListener('beforematch', function () {
                toggle(content.id);
            });
        }

        if (window.location.hash) {