PageSourceSearch

https://lider35.ru/local/templates/ia_pegas_lider_desktop/js/adapt…ion__catalog_main__script.js?16517809341922

js lider35.ru collected 2026-10-09 00:03:23 UTC 1,922 bytes, 80 lines download raw bytes

1$(document).ready(function(){
2
3	// catalog element -> hover //
4	$(document).on('mouseenter','.catalog-item',function(){//,document
5		$('.catalog-item').removeClass('hovered');
6		$(this).addClass('hovered');
7	}).on('mouseleave','.catalog-item',function(){//,'.catalog-item'
8		$(this).removeClass('hovered');
9		$(this).find('.div_select.opened').removeClass('opened').addClass('closed');
10	});
11
12	if(RSAL_PHONETABLET!="Y")
13	{
14		$('.js_popup_detail').fancybox({
15			width		: 1170,
16			wrapCSS		: 'popup_detail',
17			fitToView	: false,
18			autoSize	: true,
19			openEffect	: 'fade',
20			closeEffect	: 'fade',
21			padding		: [25,20,25,20],
22			helpers		: {
23				title: null
24			},
25			beforeShow	: function(){
26				RSAL_SetLiked();
27				RSAL_SetCompared();
28				RSAL_SetInBasket();
29			},
30			afterClose	: function(){
31				RSAL_SetLiked();
32				RSAL_SetCompared();
33				RSAL_SetInBasket();
34			},
35			afterShow	:function(){
36				$('.fancybox-inner').css('overflow','visible');
37				RSAL_RefresDetailjJScollPane();
38			}
39		});
40	} else {
41		$(document).on('click','.js_popup_detail',function(){
42			var href = $(this).attr('href');
43			$(this).attr('href', href.replace('popup_detail=Y','') );
44		});
45	}
46
47	$(document).on('click','.js_email2friend',function(){
48		RSAL_email2friend_SetData( $(this).data('url') );
49		return false;
50	});
51});
52
53//IA_PEGAS_2020
54
55var productsSlider = $('.js-products-row-slider:not(.ajax-process)');
56if(productsSlider.length){
57	productsSlider.addClass('ajax-process').owlCarousel({
58		loop: false,
59		margin: 10,
60		items: 5,
61		nav: true,
62		dots: false,
63		navText: ["", ""],
64		//autoplay:true,
65		autoplayTimeout:3000,
66		autoplayHoverPause:true,
67    onInitialized: function () {
68      $.extend(this.options, {
69        items: Math.ceil(this.width()/300)
70      });
71      this.refresh();
72    },
73    onResized: function () {
74      $.extend(this.options, {
75        items: Math.ceil(this.width()/300)
76      });
77      this.refresh();
78    }
79	});
80}

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.