(function($){var bannerSlider=function($scope,$){var owl=jQuery('.header .owl-carousel');jQuery('.slider .owl-carousel').owlCarousel({items:1,rtl:jQuery(".slider .owl-carousel").data("rtl"),loop:true,dots:jQuery(".slider .owl-carousel").data("carousel-dots"),margin:0,autoplay:jQuery(".slider .owl-carousel").data("carousel-autoplay"),autoplayTimeout:jQuery(".slider .owl-carousel").data("carousel-timeout"),nav:jQuery(".slider .owl-carousel").data("carousel-nav"),navText:['<i class="ti-angle-left" aria-hidden="true"></i>','<i class="ti-angle-right" aria-hidden="true"></i>'],responsiveClass:true,responsive:{0:{dots:jQuery(".slider .owl-carousel").data("carousel-dots-mobile")},600:{dots:jQuery(".slider .owl-carousel").data("carousel-dots-mobile")},1000:{dots:jQuery(".slider .owl-carousel").data("carousel-dots")}}});jQuery('.slider-fade .owl-carousel').owlCarousel({items:1,rtl:jQuery(".slider-fade .owl-carousel").data("rtl"),loop:true,dots:jQuery(".slider-fade .owl-carousel").data("carousel-dots"),margin:0,autoplay:jQuery(".slider-fade .owl-carousel").data("carousel-autoplay"),autoplayTimeout:jQuery(".slider-fade .owl-carousel").data("carousel-timeout"),animateOut:'fadeOut',nav:jQuery(".slider-fade .owl-carousel").data("carousel-nav"),navText:['<i class="ti-angle-left" aria-hidden="true"></i>','<i class="ti-angle-right" aria-hidden="true"></i>'],responsiveClass:true,responsive:{0:{dots:jQuery(".slider-fade .owl-carousel").data("carousel-dots-mobile")},600:{dots:jQuery(".slider-fade .owl-carousel").data("carousel-dots-mobile")},1000:{dots:jQuery(".slider-fade .owl-carousel").data("carousel-dots")}}});owl.on('changed.owl.carousel',function(event){var item=event.item.index-2;jQuery('h6').removeClass('animated fadeInUp');jQuery('h1').removeClass('animated fadeInUp');jQuery('h5').removeClass('animated fadeInUp');jQuery('p').removeClass('animated fadeInUp');jQuery('.button-1').removeClass('animated fadeInUp');jQuery('.button-2').removeClass('animated fadeInUp');jQuery('.owl-item').not('.cloned').eq(item).find('.rx-header-banner-sub-title').addClass('animated fadeInUp');jQuery('.owl-item').not('.cloned').eq(item).find('.rx-header-banner-title').addClass('animated fadeInUp');jQuery('.owl-item').not('.cloned').eq(item).find('.rx-header-banner-con').addClass('animated fadeInUp');jQuery('.owl-item').not('.cloned').eq(item).find('p').addClass('animated fadeInUp');jQuery('.owl-item').not('.cloned').eq(item).find('.button-1').addClass('animated fadeInUp');jQuery('.owl-item').not('.cloned').eq(item).find('.button-2').addClass('animated fadeInUp');});var pageSection=jQuery(".bg-img-c");pageSection.each(function(indx){if(jQuery(this).attr("data-background")){jQuery(this).css("background-image","url("+jQuery(this).data("background")+")");}
if(jQuery(this).attr("data-position")){jQuery(this).css("background-position",""+jQuery(this).data("position")+"");}});};$(window).on('elementor/frontend/init',function(){elementorFrontend.hooks.addAction('frontend/element_ready/renax-banner-slider.default',bannerSlider);});})(jQuery);