PageSourceSearch

https://tempus.ru/local/include/js/script.js

js tempus.ru collected 2026-10-08 10:49:15 UTC 641 bytes, 18 lines download raw bytes

1document.addEventListener('DOMContentLoaded', () => {
2    const toggleBtn = document.getElementById('sf-toggle-visual');
3    const visualContainer = document.querySelector('.sf-hero__visual');
4
5    if (toggleBtn && visualContainer) {
6        toggleBtn.addEventListener('click', function(e) {
7            e.preventDefault();
8            
9            visualContainer.classList.toggle('show-map');
10
11            if (visualContainer.classList.contains('show-map')) {
12                toggleBtn.textContent = 'ФОТОГРАФИИ';
13            } else {
14                toggleBtn.textContent = 'НА КАРТЕ';
15            }
16        });
17    }
18});

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.