text: !function(r){r(document).ready(function(){r(".ult-carousel-wrapper").each(function(){var t=r(this);if(t.hasClass("ult_full_width")){t.css("left",0),t.css("right",0);var i=t.attr("data-rtl"),e=r("html").outerWidth(),s=t.offset().left,a=Math.abs(0-s);"true"===i||!0===i?t.css({position:"relative",right:"-"+a+"px",width:e+"px"}):t.css({position:"relative",left:"-"+a+"px",width:e+"px"})}}),r(".ult-carousel-wrapper").each(function(t,i){var e=r(i).data("gutter"),s=r(i).attr("id");if(""!=e){var a="<style>#"+s+" .slick-slide { margin:0 "+e+"px; } </style>";r("head").append(a)}}),r(".ult-carousel-wrapper").on("init",function(t){t.preventDefault(),r(".ult-carousel-wrapper .ult-item-wrap.slick-active").each(function(t,i){$this=r(this),$this.addClass($this.data("animation"))})}),r(".ult-carousel-wrapper").on("beforeChange",function(t,i,e){$inViewPort=r("[data-slick-index='"+e+"']"),$inViewPort.siblings().removeClass($inViewPort.data("animation"))}),r(".ult-carousel-wrapper").on("afterChange",function(t,i,e,s){if(slidesScrolled=i.options.slidesToScroll,slidesToShow=i.options.slidesToShow,centerMode=i.options.centerMode,windowWidth=jQuery(window).width(),windowWidth<1025&&(slidesToShow=i.options.responsive[0].settings.slidesToShow),windowWidth<769&&(slidesToShow=i.options.responsive[1].settings.slidesToShow),windowWidth<481&&(slidesToShow=i.options.responsive[2].settings.slidesToShow),$currentParent=i.$slider[0].parentElement.id,slideToAnimate=e+slidesToShow-1,1==slidesScrolled)1==centerMode?(animate=slideToAnimate-2,$inViewPort=r("#"+$currentParent+" [data-slick-index='"+animate+"']")):$inViewPort=r("#"+$currentParent+" [data-slick-index='"+slideToAnimate+"']"),$inViewPort.addClass($inViewPort.data("animation"));else for(var a=slidesScrolled+e;0<=a;a--)$inViewPort=r("#"+$currentParent+" [data-slick-index='"+a+"']"),$inViewPort.addClass($inViewPort.data("animation"))}),r(window).resize(function(){r(".ult-carousel-wrapper").each(function(){var t=r(this);if(t.hasClass("ult_full_width")){var i=t.attr("data-rtl");t.removeAttr("style");var e=r("html").outerWidth(),s=t.offset().left,a=Math.abs(0-s);"true"===i||!0===i?t.css({position:"relative",right:"-"+a+"px",width:e+"px"}):t.css({position:"relative",left:"-"+a+"px",width:e+"px"})}})})}),r(window).load(function(){r(".ult-carousel-wrapper").each(function(){var t=r(this);if(t.hasClass("ult_full_width")){t.css("left",0),t.css("right",0);var i=t.offset().left,e=Math.abs(0-i),s=t.attr("data-rtl"),a=r("html").outerWidth(),o=e;"true"===s||!0===s?t.css({position:"relative",right:"-"+o+"px",width:a+"px"}):t.css({position:"relative",left:"-"+o+"px",width:a+"px"})}})}),jQuery(document).on("ultAdvancedTabClickedCarousel",function(t,i){r(i).find(".ult-carousel-wrapper").each(function(){var t=r(this);if(t.hasClass("ult_full_width")){t.css("left",0),t.css("right",0);var i=t.offset().left,e=Math.abs(0-i),s=t.attr("data-rtl"),a=r("html").outerWidth(),o=e;"true"===s||!0===s?t.css({position:"relative",right:"-"+o+"px",width:a+"px"}):t.css({position:"relative",left:"-"+o+"px",width:a+"px"})}})})}(jQuery);