text: !function(i){i.fn.slide=function(s){var t=this,e=this.find(".slider-control"),a=this.find(".dots"),d=0,n=i.extend({quantity:1,timer:!0,delay:5e3,transition:!0,controls:!0,controlColor:"#fff"},s);return this.each(function(){i(this).find(".slides").css("width",100*n.quantity+"%"),e.css("color",n.controlColor),a.find(".dot").css("background-color",n.controlColor),n.transition||t.find(".slides").css("transition","none"),n.controls&&(e.click(function(){i(this).hasClass("slide-left")?t.find(".slide.is-active").is(":first-child")?(t.find(".slide.is-active").removeClass("is-active"),t.find(".slide:last-of-type").addClass("is-active"),a.find(".dot.is-active").removeClass("is-active"),a.find(".dot:last-of-type").addClass("is-active"),d=-100+100/n.quantity,t.find(".slides").css("transform","translateX("+d+"%)")):(t.find(".slide.is-active").removeClass("is-active").prev(".slide").addClass("is-active"),a.find(".dot.is-active").removeClass("is-active").prev(".dot").addClass("is-active"),d+=100/n.quantity,t.find(".slides").css("transform","translateX("+d+"%)")):i(this).hasClass("slide-right")&&(t.find(".slide.is-active").is(":last-child")?(t.find(".slide.is-active").removeClass("is-active"),t.find(".slide:first-of-type").addClass("is-active"),a.find(".dot.is-active").removeClass("is-active"),a.find(".dot:first-of-type").addClass("is-active"),d=0,t.find(".slides").css("transform","translateX("+d+"%)")):(t.find(".slide.is-active").removeClass("is-active").next(".slide").addClass("is-active"),a.find(".dot.is-active").removeClass("is-active").next(".dot").addClass("is-active"),d-=100/n.quantity,t.find(".slides").css("transform","translateX("+d+"%)")))}),a.find(".dot").click(function(){if(!i(this).hasClass("is-active")){var s=i(this).index();t.find(".slide.is-active").removeClass("is-active"),a.find(".dot.is-active").removeClass("is-active"),t.find(".slide").eq(s).addClass("is-active"),i(this).addClass("is-active")}})),n.timer&&setInterval(function(){t.find(".slide-right").trigger("click")},n.delay)})}}(jQuery);