PageSourceSearch

https://xn--80aaaoec5bnnhgtb9k.xn--p1ai/js/common.js?v=2

js xn--80aaaoec5bnnhgtb9k.xn--p1ai collected 2026-10-07 16:40:50 UTC 2,533 bytes, 112 lines download raw bytes

1$(document).ready(function() {
2
3	/*if ($(".swiper-container1").length > 0) {
4		var swiper = new Swiper(".swiper-container1", {
5			slidesPerView: 4,
6			spaceBetween: 20,
7			navigation: {
8				nextEl: ".swiper-button-next1",
9				prevEl: ".swiper-button-prev1",
10			},
11			breakpoints: {
12				1000: {
13					slidesPerView: 3,
14					spaceBetween: 20
15				},
16				700: {
17					slidesPerView: 2,
18					spaceBetween: 20
19				},
20				500: {
21					slidesPerView: 1.3,
22					spaceBetween: 20
23				},
24			}
25		});	
26	}*/
27
28	if ($(".swiper-container2").length > 0) {
29		var swiper = new Swiper(".swiper-container2", {
30			spaceBetween: 80,
31			navigation: {
32				nextEl: ".swiper-button-next2",
33				prevEl: ".swiper-button-prev2",
34			},
35			pagination: {
36				el: ".swiper-pagination2",
37				clickable: true,
38			},
39			allowTouchMove: false
40		});	
41	}
42
43	if ($(".swiper-container3").length > 0) {
44		var swiper = new Swiper(".swiper-container3", {
45			spaceBetween: 140,
46			navigation: {
47				nextEl: ".swiper-button-next3",
48				prevEl: ".swiper-button-prev3",
49			},
50			pagination: {
51				el: ".swiper-pagination3",
52				clickable: true,
53			},
54		});	
55	}
56
57	$(".results-item__twentytwenty").twentytwenty({
58		before_label: 'Äî',
59		after_label: 'Ïîñëå',
60	});
61
62	// Ìàñêà äëÿ ôîðìû òåëåôîíà
63  //  $("input[type='tel']",'.phone').inputmask({"mask": "+7 (999) 999-9999"});
64    // <input type="tel" placeholder="+7 (___) ___-___" name="tel">
65
66
67
68	//Ïëàâíûé ñêðîëë äî áëîêà .div ïî êëèêó íà .scroll
69
70	$('a[data-target="anchor"]').on('click', function(){
71		var target = $(this).attr('href'),
72			bl_top = $(target).offset().top;
73		$('body, html').animate({scrollTop: bl_top}, 700);
74		return false;
75	});
76
77	// àêêîðäåîí
78
79	$(".why-item").on('click', function(e) {
80        e.preventDefault();
81        $(this).toggleClass('why-item--active');
82        $(this).children('.why-item__text').slideToggle('why-item--active');
83    });
84
85	if (('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch) {
86		document.body.classList.add('touch');
87	} else {
88		document.body.classList.add('no-touch');
89	}
90
91	function ibg(){
92		let ibg=document.querySelectorAll(".ibg");
93			for (var i = 0; i < ibg.length; i++) {
94				if(ibg[i].querySelector('img')){
95					ibg[i].style.backgroundImage = 'url('+ibg[i].querySelector('img').getAttribute('src')+')';
96				}
97			}
98		}
99	ibg();
100
101	$('.header__toggle').on('click', function() {
102		$('.header__container2').toggleClass('header__container2--active');
103		$('body').toggleClass('body-overflow');
104		$(this).toggleClass('toggle--active');
105	});
106
107
108});
109
110
111
112

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.