1/*fcgz1600320667*/var SimpleSlideshow=new Class({options:{showControls:!0,showDuration:6e3,showTOC:!0,tocClass:"fadeSlider__toggle",tocActiveClass:"-active"},Implements:[Options,Events],initialize:function(t,s,i){this.setOptions(i),this.container=$(t),this.elements=$$(s),this.currentIndex=0,this.interval="",this.options.showTOC&&(this.toc=[]);var e=$(t+"__nav"),n=(this.elements.each(function(t,s){this.options.showTOC&&this.toc.push(new Element("a",{href:"#",class:this.options.tocClass+""+(0==s?" "+this.options.tocActiveClass:""),events:{click:function(t){t&&t.stop(),this.stop(),this.show(s)}.bind(this)}}).inject(e||this.container))},this),this.options.showControls&&this.createControls(),this.elements.length-1),i=(this.container.addEvents({mouseenter:function(){this.stop()}.bind(this),mouseleave:function(){this.start()}.bind(this)}),new SwipeIt("#"+t));i.on("swipeLeft",function(){var t=this.currentIndex;this.show(t=n<(t+=1)?0:t)}.bind(this)),i.on("swipeRight",function(){var t=this.currentIndex;this.show(t=--t<0?n:t)}.bind(this))},show:function(t){this.elements[this.currentIndex].removeClass("-active"),this.options.showTOC&&this.toc[this.currentIndex].removeClass(this.options.tocActiveClass),this.elements[this.currentIndex=void 0!==t?t:this.currentIndex<this.elements.length-1?this.currentIndex+1:0].addClass("-active"),this.options.showTOC&&this.toc[this.currentIndex].addClass(this.options.tocActiveClass)},start:function(){this.interval=this.show.bind(this).periodical(this.options.showDuration)},stop:function(){clearInterval(this.interval)},createControls:function(){var t;1<this.elements.length&&(t=this.container.get("id")+"__arrow fadeSlider__arrow fadeSlider__arrow",new Element("a",{href:"#",class:t+"--next",events:{click:function(t){t&&t.stop(),this.stop(),this.show()}.bind(this)}}).inject(this.container),new Element("a",{href:"#",class:t+"--prev",events:{click:function(t){t&&t.stop(),this.stop(),this.show(0!=this.currentIndex?this.currentIndex-1:this.elements.length-1)}.bind(this)}}).inject(this.container))}});js_included.FadeSlider=!0;
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.