1!function(t){"function"==typeof define&&define.amd?define(jQuery||["jquery"],t):"object"==typeof exports?t(jQuery||require("jquery")):t(jQuery)}(function(t){function i(i,n){function o(){return a.update(),a.move(a.slideCurrent),r(),a}function r(){a.options.buttons&&(h.click(function(){return h.hasClass("disable")?!1:(a.move(--b),!1)}),c.click(function(){return c.hasClass("disable")?!1:(a.move(++b),!1)})),t(window).resize(function(){a.update(),a.options.buttons&&!a.options.infinite&&(h.toggleClass("disable",a.slideCurrent<=0),c.toggleClass("disable",a.slideCurrent>=a.slidesTotal-v))}),a.options.bullets&&i.on("click",".bullet",function(){return a.move(b=+t(this).attr("data-slide")),!1})}function l(){a.options.buttons&&!a.options.infinite&&(h.toggleClass("disable",a.slideCurrent<=0),c.toggleClass("disable",a.slideCurrent>=a.slidesTotal-v)),a.options.bullets&&(p.removeClass("active"),t(p[a.slideCurrent]).addClass("active"))}this.options=t.extend({},s,n),this._defaults=s,this._name=e;var a=this,u=i.find(".viewport:first"),d=i.find(".overview:first"),f=0,c=i.find(".next:first"),h=i.find(".prev:first"),p=i.find(".bullet"),m=0,C={},v=0,g=0,b=0,T="x"===this.options.axis,y=T?"Width":"Height",w=T?"left":"top",x=null;return this.slideCurrent=0,this.slidesTotal=0,this.update=function(){return d.find(".mirrored").remove(),f=d.children(),m=u[0]["offset"+y],g=f.first()["outer"+y](!0),a.slidesTotal=f.length,slideCurrent=a.options.start||0,v=Math.ceil(m/g),d.height()<=u.height()?(c.addClass("hidden"),h.addClass("hidden")):(c.removeClass("hidden"),h.removeClass("hidden")),a.options.infinite&&(d.append(f.slice(0,v).clone().addClass("mirrored")),d.css(y.toLowerCase(),g*(a.slidesTotal+v))),a},this.start=function(){return a.options.interval&&(clearTimeout(x),x=setTimeout(function(){a.move(++b)},a.options.intervalTime)),a},this.stop=function(){return clearTimeout(x),a},this.move=function(t){return b=t,a.slideCurrent=b%a.slidesTotal,0>b&&(a.slideCurrent=b=a.slidesTotal-1,d.css(w,-a.slidesTotal*g)),b>a.slidesTotal&&(a.slideCurrent=b=1,d.css(w,0)),C[w]=-b*g,d.animate(C,{queue:!1,easing:a.options.easing,duration:a.options.animation?a.options.animationTime:0,always:function(){i.trigger("move",[f[a.slideCurrent],a.slideCurrent])}}),l(),a.start(),a},o()}var e="tinycarousel",s={start:0,axis:"x",buttons:!0,bullets:!1,interval:!1,intervalTime:3e3,animation:!0,animationTime:1e3,infinite:!0,easing:"swing"};t.fn[e]=function(s){return this.each(function(){t.data(this,"plugin_"+e)||t.data(this,"plugin_"+e,new i(t(this),s))})}});
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.