PageSourceSearch

https://idt.by/wp-content/themes/idtby/assets/dist/js/historySlider.js?v=2.7

js idt.by collected 2026-10-06 04:58:46 UTC 1,551 bytes, 1 lines download raw bytes

1!function(c){let h=window.innerWidth;if(991<h){let e=c(".historySlider__carousel"),i=e.children().length-1,r=c(".historySlider__activeItem"),t=r.width()-.4*r.width(),s=(console.log(t),c(".historySlider__pager.historySlider--pagerPrev")),l=c(".historySlider__pager.historySlider--pagerNext"),d=0,a=0,o=c(".historySlider__paginator"),n=c(".historySlider > .container").offset().left;function f(){o.removeClass("historySlider__paginator--active"),o.eq(d).addClass("historySlider__paginator--active")}function g(i){e.children().removeClass("historySlider__activeItem"),e.children().eq(i).addClass("historySlider__activeItem")}function y(i,e){0==i?s.addClass("historySlider--pagerDisabled"):s.removeClass("historySlider--pagerDisabled"),i==e?l.addClass("historySlider--pagerDisabled"):l.removeClass("historySlider--pagerDisabled"),c(".historySlider__paginations").html(i+1+"/"+(e+1))}e.css("padding-left",n+100),e.css("padding-right",h/2+r.width()),c(window).on("resize",function(){h=window.innerWidth,n=c(".historySlider > .container").offset().left,e.css("padding-left",n+100),e.css("padding-right",h/2+r.width())}),s.click(function(){d--,e.animate({scrollLeft:t*d+8*d},450),y(d,i),f(),g(d)}),l.click(function(){d++,e.animate({scrollLeft:t*d+8*d},450),y(d,i),f(),g(d),2<d&&a++}),e.children().click(function(){d=c(this).index(),e.animate({scrollLeft:t*d+8*d},450),y(d,i),f(),g(d)}),y(d,i);for(var S=e.children(),_=1;_<S.length;_++){var p=S.eq(_);(_-1)%2==0?p.addClass("historySlider--scaleFromTop"):p.addClass("historySlider--scaleFromBottom")}}}(jQuery);

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.