PageSourceSearch

https://citymix.by/var/cache/asset_d313c2414d1f5a431d8152aa46879b0c.js

js citymix.by collected 2026-10-02 05:16:38 UTC 1,439 bytes, 3 lines download raw bytes

1app.gallery=function(args){var currentScroll=parseInt(args.scrollable.dataset.scroll)||0;var sliderWidth=Math.ceil(args.slider.scrollWidth);var slideWidth=Math.ceil(args.slider.firstElementChild.clientWidth);var slidesCount=Math.ceil(sliderWidth/slideWidth);args.nextButton.addEventListener('click',function(){args.scrollable.dataset.scroll=(currentScroll-slideWidth);currentScroll-=slideWidth;args.scrollable.style.transform='translateX('+currentScroll+'px)';if(Math.abs(currentScroll/slideWidth)+1===slidesCount){args.nextButton.classList.add(args.inactiveClass)}else{args.nextButton.classList.remove(args.inactiveClass)}
2args.progressValue.textContent=(Math.abs(currentScroll/slideWidth)+1)+'/'+slidesCount;if(args.prevButton.classList.contains(args.inactiveClass)){args.prevButton.classList.remove(args.inactiveClass)}});args.prevButton.addEventListener('click',function(){args.scrollable.dataset.scroll=(currentScroll+slideWidth);currentScroll+=slideWidth;args.scrollable.style.transform='translateX('+currentScroll+'px)';args.progressValue.textContent=(Math.abs(currentScroll/slideWidth)+1)+'/'+slidesCount;if(Math.abs(currentScroll/slideWidth)===0){args.prevButton.classList.add(args.inactiveClass)}else if(args.prevButton.classList.contains(args.inactiveClass)){args.prevButton.classList.remove(args.inactiveClass)}
3if(args.nextButton.classList.contains(args.inactiveClass)){args.nextButton.classList.remove(args.inactiveClass)}})}

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.