/* SlidesJS 3.0.3 http://slidesjs.com (c) 2013 by Nathan Searles http://nathansearles.com Updated: March 15th, 2013 Apache License: http://www.apache.org/licenses/LICENSE-2.0 */ (function () { (function (a, b, c) { var d, e, f; return f = 'slidesjs', e = { width: 940, height: 528, start: 1, navigation: { active: !0, effect: 'slide' }, pagination: { active: !0, effect: 'slide' }, play: { active: !1, effect: 'slide', interval: 5000, auto: !1, swap: !0, pauseOnHover: !1, restartDelay: 2500 }, effect: { slide: { speed: 500 }, fade: { speed: 300, crossfade: !0 } }, callback: { loaded: function () { }, start: function () { }, complete: function () { } } }, d = function () { function b(b, c) { this.element = b, this.options = a.extend(!0, { }, e, c), this._defaults = e, this._name = f, this.init() } return b }(), d.prototype.init = function () { var c, d, e, f, g, h, i = this; return c = a(this.element), this.data = a.data(this), a.data(this, 'animating', !1), a.data(this, 'total', c.children() .not('.slidesjs-navigation', c) .length), a.data(this, 'current', this.options.start - 1), a.data(this, 'vendorPrefix', this._getVendorPrefix()), 'undefined' != typeof TouchEvent && (a.data(this, 'touch', !0), this.options.effect.slide.speed = this.options.effect.slide.speed / 2), c.css({ overflow: 'hidden' }), c.slidesContainer = c.children() .not('.slidesjs-navigation', c) .wrapAll('
', c) .parent() .css({ overflow: 'hidden', position: 'relative' }), a('.slidesjs-container', c) .wrapInner('
', c) .children(), a('.slidesjs-control', c) .css({ position: 'relative', left: 0 }), a('.slidesjs-control', c) .children() .addClass('slidesjs-slide') .css({ position: 'absolute', top: 0, left: 0, width: '100%', zIndex: 0, display: 'none', webkitBackfaceVisibility: 'hidden' }), a.each(a('.slidesjs-control', c) .children(), function (b) { var c; return c = a(this), c.attr('slidesjs-index', b) }), this.data.touch && (a('.slidesjs-control', c) .on('touchstart', function (a) { return i._touchstart(a) }), a('.slidesjs-control', c) .on('touchmove', function (a) { return i._touchmove(a) }), a('.slidesjs-control', c) .on('touchend', function (a) { return i._touchend(a) })), c.fadeIn(0), this.update(), this.data.touch && this._setuptouch(), a('.slidesjs-control', c) .children(':eq(' + this.data.current + ')') .eq(0) .fadeIn(0, function () { return a(this) .css({ zIndex: 10 }) }), this.options.navigation.active && (g = a('', { 'class': 'slidesjs-previous slidesjs-navigation', href: '#', title: 'Previous', text: 'Previous' }) .appendTo(c), d = a('', { 'class': 'slidesjs-next slidesjs-navigation', href: '#', title: 'Next', text: 'Next' }) .appendTo(c)), a('.slidesjs-next', c) .click(function (a) { return a.preventDefault(), i.stop(!0), i.next(i.options.navigation.effect) }), a('.slidesjs-previous', c) .click(function (a) { return a.preventDefault(), i.stop(!0), i.previous(i.options.navigation.effect) }), this.options.play.active && (f = a('', { 'class': 'slidesjs-play slidesjs-navigation', href: '#', title: 'Play', text: 'Play' }) .appendTo(c), h = a('', { 'class': 'slidesjs-stop slidesjs-navigation', href: '#', title: 'Stop', text: 'Stop' }) .appendTo(c), f.click(function (a) { return a.preventDefault(), i.play(!0) }), h.click(function (a) { return a.preventDefault(), i.stop(!0) }), this.options.play.swap && h.css({ display: 'none' })), this.options.pagination.active && (e = a('