PageSourceSearch

https://petfood.ru/local/templates/aspro_max_copy/components/bitrix/news.list/front_news/script.js

js petfood.ru collected 2026-10-08 06:37:51 UTC 1,419 bytes, 59 lines download raw bytes

1$(document).ready(function(){
2	if($('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').length)
3	{
4		$('.item-views.news2.half-block .item-wrapper.line_img .half-wrapper').mCustomScrollbarDeferred({
5			mouseWheel: {
6				scrollAmount: 150,
7				preventDefault: true
8			}
9		})
10	}
11
12	var containerEl = document.querySelector('.mixitup-container');
13	if(containerEl)
14	{
15		var config = {
16			selectors:{
17				target: '[data-ref="mixitup-target"]'
18			},
19			animation:{
20				effects: 'fade scale stagger(50ms)' // Set a 'stagger' effect for the loading animation
21			},
22			load:{
23				filter: 'none' // Ensure all targets start from hidden (i.e. display: none;)
24			},
25			animation:{
26				duration: 350
27			},
28			controls:{
29				scope: 'local'
30			},
31			callbacks: {
32				onMixStart:function(state) {
33				},
34				onMixEnd:function() {
35					InitLazyLoad();
36				}
37			}
38		};
39		var mixer = mixitup(containerEl, config);
40
41		// Add a class to the container to remove 'visibility: hidden;' from targets. This
42	    // prevents any flickr of content before the page's JavaScript has loaded.
43
44	    containerEl.classList.add('mixitup-ready');
45
46	    // Show all targets in the container
47
48	    mixer.show()
49		.then(function(){
50			// Remove the stagger effect for any subsequent operations
51			mixer.configure({
52				animation: {
53					effects: 'fade scale'
54				}
55			});
56		});
57	}
58
59})

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.