PageSourceSearch

https://www.bitrix24.es/bitrix/templates/bitrix24_2017/js/include/…header.main.banner.v1.min.js?16354095135242

js bitrix24.es collected 2026-09-24 20:18:55 UTC 5,242 bytes, 1 lines download raw bytes

1!function(){"use strict";let t=function(t){this.attributes={initialized:"data-slider-initialized",loaded:"data-slider-loaded",content:"data-main-section-content",media:"data-main-section-media",dots:"data-main-section-slider-dots",dot:"data-main-section-slider-dot",currentDot:"data-main-section-slider-dot-current",progressBar:"data-main-section-slider-dot-progress",animate:"data-animate"},this.nodes={section:null,content:null,media:null,dots:null,dotsList:{},progressBar:null},this.slider={object:null},this.dotsContainer={dynamic:"",static:""},this.$timeoutId=null,this.$currentIndex="0",this.$savedLastWidth=0,this.$skipDotsChangeEvent=!1,this.$isSliderStoped=!1,this.$defaultPlayTimeout=5e3,this.$defaultPlaySpeed=5e3,this.nodes.section=$(t),this.nodes.section.is("["+this.attributes.initialized+"]")||(this.nodes.section.attr(this.attributes.initialized,!0),this.init())};t.prototype={destroyScrollDotsSlider:function(){this.slider.object instanceof jQuery&&this.slider.object.removeClass("owl-carousel").removeAttr(this.attributes.loaded).trigger("destroy.owl.carousel")},makeScrollDotsSlider:function(){let t={autoHeight:!1,autoWidth:!1,autoplay:!1,items:1,loop:!1,rewind:!0,lazyLoad:!0,dots:!1,nav:!0,onInitialized:BX.delegate((function(t){t.target&&$(t.target).attr(this.attributes.loaded,"true")}),this)};this.slider.object||(this.slider.object=this.nodes.dots,this.slider.object.on("translate.owl.carousel",BX.delegate((function(t){let e=t.item.index;this.$skipDotsChangeEvent||this.nodes.media.trigger("to.owl.carousel",e),this.$skipDotsChangeEvent=!1}),this))),this.slider.object instanceof jQuery&&(this.slider.object.addClass("owl-carousel").owlCarousel(t),this.$skipDotsChangeEvent=!0,this.slider.object.trigger("to.owl.carousel",this.$currentIndex))},checkScrollDots:function(){let t=parseInt(this.$savedLastWidth);if(t<=0){let e=this.nodes.dots.children();$(e).each((function(e,i){t+=i.offsetWidth}))}this.nodes.dots.innerWidth()<t&&window.outerWidth<=1080||window.outerWidth<992?(this.$savedLastWidth=t,this.makeScrollDotsSlider()):(this.$savedLastWidth=0,this.destroyScrollDotsSlider())},scrollDotsHandler:function(){this.$timeoutId&&clearTimeout(this.$timeoutId),this.$timeoutId=setTimeout(this.checkScrollDots.bind(this),400)},setActiveDot:function(){for(let t in this.nodes.dotsList)if(this.nodes.dotsList.hasOwnProperty(t)){let e=this.nodes.dotsList[t];e.removeClass("active"),this.resetProgressBarAnimation(e),parseInt(this.$currentIndex)===parseInt(t)&&(e.addClass("active"),this.startProgressBarAnimation(e),this.$isSliderStoped&&this.resetProgressBarAnimation(e))}},startProgressBarAnimation:function(t){t&&$(t).find("["+this.attributes.progressBar+"]").animate({width:"100%"},this.$defaultPlayTimeout,"linear")},pauseProgressBarAnimation:function(t){t&&$(t).find("["+this.attributes.progressBar+"]").stop(!1,!1)},resetProgressBarAnimation:function(t){t&&$(t).find("["+this.attributes.progressBar+"]").stop(!0,!1).css({width:0})},init:function(){let t=this.nodes.section.find("["+this.attributes.content+"]")[0]||null;if(!t)return;this.nodes.content=$(t),this.nodes.content.owlCarousel({autoHeight:!1,autoWidth:!1,autoplay:!1,autoplayTimeout:this.$defaultPlayTimeout,autoPlaySpeed:0,responsiveRefreshRate:100,smartSpeed:0,items:1,loop:!1,rewind:!0,lazyLoad:!1,mouseDrag:!1,touchDrag:!1,dots:!1,nav:!1,onInitialized:BX.delegate((function(t){t.target&&$(t.target).attr(this.attributes.loaded,"true")}),this)});let e=this.nodes.section.find("["+this.attributes.media+"]");if(!e)return;this.nodes.media=$(e),this.nodes.media.on("translate.owl.carousel",BX.delegate((function(t){this.$currentIndex=t.item.index;try{this.nodes.dots&&(this.setActiveDot(),this.slider.object instanceof jQuery&&(this.$skipDotsChangeEvent=!0,this.slider.object.trigger("to.owl.carousel",this.$currentIndex))),this.nodes.content.trigger("to.owl.carousel",this.$currentIndex)}catch(t){console.log(t)}}),this)),this.nodes.media.owlCarousel({animateIn:"headerMainAnimateHeaderSlideInRight",animateOut:"headerMainAnimateHeaderSlideOutRight",autoHeight:!1,autoWidth:!1,autoplay:!0,autoplayTimeout:this.$defaultPlayTimeout,autoPlaySpeed:this.$defaultPlaySpeed,responsiveRefreshRate:100,items:1,loop:!1,rewind:!0,lazyLoad:!0,mouseDrag:!1,touchDrag:!1,dots:!1,nav:!1,onInitialized:BX.delegate((function(t){t.target&&$(t.target).attr(this.attributes.loaded,"true")}),this)});let i=this.nodes.section.find("["+this.attributes.dots+"]")[0]||null;if(!i)return;this.nodes.dots=$(i),i=this.nodes.dots.find("["+this.attributes.dot+"]")||[];let s=this;i.each((function(t,e){s.nodes.dotsList[t]=$(e),$(e).on("click",(function(){s.nodes.media.trigger("to.owl.carousel",t)})),$(e).mouseover((function(){s.$isSliderStoped=!0,s.resetProgressBarAnimation(e),s.nodes.media.trigger("stop.owl.autoplay"),s.nodes.media.trigger("to.owl.carousel",t)})),$(e).mouseleave((function(){s.$isSliderStoped=!1,s.nodes.media.trigger("play.owl.autoplay",[s.$defaultPlayTimeout,s.$defaultPlaySpeed]),s.startProgressBarAnimation(e)}))})),this.setActiveDot(),$(window).on("resize",this.scrollDotsHandler.bind(this)),this.scrollDotsHandler()}};
1let e=document.querySelectorAll("[data-main-section-slider]")||[];e=Array.prototype.slice.call(e),e.forEach((function(e){new t(e)}))}();

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.