!function(y){"use strict";y(document).ready(function(){y.youzify_sliders_init=function(){var e,t,n,i,o,s,r=Youzify.slideshow_speed,a="1"==Youzify.slideshow_auto;function l(){s=0,i=!1,o=setInterval(u,10)}function u(){!1===i&&(s+=1/r,t.css({width:s+"%"}),100<=s&&n.trigger("owl.next"))}var d={paginationSpeed:1e3,singleItem:!0,navigation:!0,afterMove:function(){a&&(clearTimeout(o),l())},transitionStyle:"fade",afterInit:function(i){a&&(n=i,e=y("<div>",{id:"youzify-progressBar"}),t=y("<div>",{id:"youzify-bar"}),e.append(t).prependTo(n),l())},startDragging:function(){i=!0},autoHeight:"auto"==Youzify.slides_height_type};y(".youzify-slider")[0]&&1<y(".youzify-slider li").length&&y(".youzify-slider").youzify_owlCarousel(d),y.youzify_wall_slider=function(){y(".youzify-wall-slider").youzify_owlCarousel(d)},y(".youzify-wall-slider").each(function(i,e){y(e).hasClass("owl-carousel")||y(e).youzify_owlCarousel(d)})},y.youzify_sliders_init(),y("#activity-stream").on("append",function(i){y.youzify_sliders_init()})})}(jQuery);