PageSourceSearch

https://www.gamble-samara.ru/bitrix/templates/gserv/js/sitescripts.js

js gamble-samara.ru collected 2026-10-08 16:23:19 UTC 2,155 bytes, 78 lines download raw bytes

1$(document).ready(function() {
2
3	
4
5	$(document).on('submit', 'form', function() {
6		yaCounter34801160.reachGoal('feedback');
7		gtag('event', 'feedback', {'event_category': 'rostsayt'});
8
9		return true;
10	});
11
12	$(document).on('submit touch click change', 'form', function() {
13        grecaptcha.ready(function() {
14            grecaptcha.execute('6Lf_-9QZAAAAAG2dSt7t5_E_ZrjGwXj0SmEs5tUE', {action: 'home'}).then(function(token) {
15                BX.setCookie('rs_captcha', token, {expires: 86400});
16            });
17        });
18    });
19
20	var isTouchDevice = 'ontouchstart' in document.documentElement;
21	if( isTouchDevice ) {
22			$('body').removeClass('no-touch');
23		}
24	else {
25		$( ".nav-item.dropdown" ).hover(
26				function() {
27				$( this ).addClass( "show" );
28				}, function() {
29				$( this ).removeClass( "show" );
30				}
31			);
32		};
33	$('input[name="FIELDS[PHONE_FID8]').inputmask("+7 (999) 999-99-99", {showMaskOnHover: false, placeholder: '_'});
34			//$('#fullpage').fullpage(
35		//{
36			//'verticalCentered': false,
37			//'navigation': true,
38		//});
39		if ($(window).height() < 900) {
40			$('section.mainsection').css('height', 900);
41		} else {
42			$('section.mainsection').css('height', $(window).height());
43		}
44		
45			if ($(window).width() > 1200) {
46
47					$('.fullpage-wrapper').stickyStack({
48						containerElement:	'.fullpage-wrapper',
49						stackingElement:	'section',
50						boxShadow:			'0 -3px 20px rgba(0, 0, 0, 0.25)'
51					});
52				$("#main-navigation").sticky({topSpacing:0});
53			} else {
54				$('section.mainsection').css('height', $(window).height());
55			}
56
57	$('#dropdownMenu[href="/"]').on('click touch', function() {
58		parent = $(this).parents('li');
59		($(parent).hasClass('show')) ? $(parent).removeClass('show') : $(parent).addClass('show') ;
60		return false;
61	});
62
63	var galery_owl = $('.gallery-slider .owl-carousel').owlCarousel({
64		loop: true,
65		items: 1,
66		dots: true,
67		nav: false,
68		autoplay:true,	
69    	autoplayTimeout:8000,
70    	autoplayHoverPause:true,
71		autoHeight:true
72	})
73	galery_owl.on('changed.owl.carousel', function(e) {
74        galery_owl.trigger('stop.owl.autoplay');
75        galery_owl.trigger('play.owl.autoplay');
76    });
77});
78	

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.