/*! modernizr 3.1.0 (custom build) | mit * * http://modernizr.com/download/?-backgroundsize-bgsizecover-borderradius-boxshadow-cssanimations-csstransforms-csstransforms3d-csstransitions-touchevents !*/ !function(e,n,t){function s(e){var n=c.classname,t=modernizr._config.classprefix||"";if(s&&(n=n.baseval),modernizr._config.enablejsclass){var s=new regexp("(^|\\s)"+t+"no-js(\\s|$)");n=n.replace(s,"$1"+t+"js$2")}modernizr._config.enableclasses&&(n+=" "+t+e.join(" "+t),s?c.classname.baseval=n:c.classname=n)}function o(e,n){return typeof e===n}function r(){var e,n,t,s,r,i,a;for(var f in x){if(e=[],n=x[f],n.name&&(e.push(n.name.tolowercase()),n.options&&n.options.aliases&&n.options.aliases.length))for(t=0;tp;p++)if(v=e[p],h=j.style[v],u(v,"-")&&(v=l(v)),j.style[v]!==t){if(r||o(s,"undefined"))return a(),"pfx"==n?v:!0;try{j.style[v]=s}catch(y){}if(j.style[v]!=h)return a(),"pfx"==n?v:!0}return a(),!1}function h(e,n,t,s,r){var i=e.charat(0).touppercase()+e.slice(1),a=(e+" "+p.join(i+" ")+i).split(" ");return o(n,"string")||o(n,"undefined")?v(a,n,s,r):(a=(e+" "+e.join(i+" ")+i).split(" "),p(a,n,t))}function g(e,n,s){return h(e,t,t,n,s)}var y=[],x=[],b={_version:"3.1.0",_config:{classprefix:"",enableclasses:!0,enablejsclass:!0,useprefixes:!0},_q:[],on:function(e,n){var t=this;settimeout(function(){n(t[e])},0)},addtest:function(e,n,t){x.push({name:e,fn:n,options:t})},addasynctest:function(e){x.push({name:null,fn:e})}},modernizr=function(){};modernizr.prototype=b,modernizr=new modernizr;var c=n.documentelement,s="svg"===c.nodename.tolowercase(),w=b._config.useprefixes?" -webkit- -moz- -o- -ms- ".split(" "):[];b._prefixes=w;var _="css"in e&&"supports"in e.css,t="supportscss"in e;modernizr.addtest("supports",_||t);var z=b.teststyles=f;modernizr.addtest("touchevents",function(){var t;if("ontouchstart"in e||e.documenttouch&&n instanceof documenttouch)t=!0;else{var s=["@media (",w.join("touch-enabled),("),"heartz",")","{#modernizr{top:9px;position:absolute}}"].join("");z(s,function(e){t=9===e.offsettop})}return t});var k="moz o ms webkit",p=b._config.useprefixes?k.split(" "):[];b._cssomprefixes=p;var e=b._config.useprefixes?k.tolowercase().split(" "):[];b._domprefixes=e;var n={elem:i("modernizr")};modernizr._q.push(function(){delete n.elem});var j={style:n.elem.style};modernizr._q.unshift(function(){delete j.style}),b.testallprops=h,b.testallprops=g,modernizr.addtest("cssanimations",g("animationname","a",!0)),modernizr.addtest("backgroundsize",g("backgroundsize","100%",!0)),modernizr.addtest("csstransitions",g("transition","all",!0)),modernizr.addtest("csstransforms3d",function(){var e=!!g("perspective","1px",!0),n=modernizr._config.useprefixes;if(e&&(!n||"webkitperspective"in c.style)){var t;modernizr.supports?t="@supports (perspective: 1px)":(t="@media (transform-3d)",n&&(t+=",(-webkit-transform-3d)")),t+="{#modernizr{left:9px;position:absolute;height:5px;margin:0;padding:0;border:0}}",z(t,function(n){e=9===n.offsetleft&&5===n.offsetheight})}return e}),modernizr.addtest("bgsizecover",g("backgroundsize","cover")),modernizr.addtest("borderradius",g("borderradius","0px",!0)),modernizr.addtest("boxshadow",g("boxshadow","1px 1px",!0)),modernizr.addtest("csstransforms",function(){return-1===navigator.useragent.indexof("android 2.")&&g("transform","scale(1)",!0)}),r(),s(y),delete b.addtest,delete b.addasynctest;for(var a=0;a', nextarrow: '', autoplay: false, autoplayspeed: 3000, centermode: false, centerpadding: '50px', cssease: 'ease', custompaging: function(slider, i) { return $('').text(i + 1); }, dots: false, dotsclass: 'slick-dots', draggable: true, easing: 'linear', edgefriction: 0.35, fade: false, focusonselect: false, infinite: true, initialslide: 0, lazyload: 'ondemand', mobilefirst: false, pauseonhover: true, pauseonfocus: true, pauseondotshover: false, respondto: 'window', responsive: null, rows: 1, rtl: false, slide: '', slidesperrow: 1, slidestoshow: 1, slidestoscroll: 1, speed: 500, swipe: true, swipetoslide: false, touchmove: true, touchthreshold: 5, usecss: true, usetransform: true, variablewidth: false, vertical: false, verticalswiping: false, waitforanimate: true, zindex: 1000 }; _.initials = { animating: false, dragging: false, autoplaytimer: null, currentdirection: 0, currentleft: null, currentslide: 0, direction: 1, $dots: null, listwidth: null, listheight: null, loadindex: 0, $nextarrow: null, $prevarrow: null, slidecount: null, slidewidth: null, $slidetrack: null, $slides: null, sliding: false, slideoffset: 0, swipeleft: null, $list: null, touchobject: {}, transformsenabled: false, unslicked: false }; $.extend(_, _.initials); _.activebreakpoint = null; _.animtype = null; _.animprop = null; _.breakpoints = []; _.breakpointsettings = []; _.csstransitions = false; _.focussed = false; _.interrupted = false; _.hidden = 'hidden'; _.paused = true; _.positionprop = null; _.respondto = null; _.rowcount = 1; _.shouldclick = true; _.$slider = $(element); _.$slidescache = null; _.transformtype = null; _.transitiontype = null; _.visibilitychange = 'visibilitychange'; _.windowwidth = 0; _.windowtimer = null; datasettings = $(element).data('slick') || {}; _.options = $.extend({}, _.defaults, settings, datasettings); _.currentslide = _.options.initialslide; _.originalsettings = _.options; if (typeof document.mozhidden !== 'undefined') { _.hidden = 'mozhidden'; _.visibilitychange = 'mozvisibilitychange'; } else if (typeof document.webkithidden !== 'undefined') { _.hidden = 'webkithidden'; _.visibilitychange = 'webkitvisibilitychange'; } _.autoplay = $.proxy(_.autoplay, _); _.autoplayclear = $.proxy(_.autoplayclear, _); _.autoplayiterator = $.proxy(_.autoplayiterator, _); _.changeslide = $.proxy(_.changeslide, _); _.clickhandler = $.proxy(_.clickhandler, _); _.selecthandler = $.proxy(_.selecthandler, _); _.setposition = $.proxy(_.setposition, _); _.swipehandler = $.proxy(_.swipehandler, _); _.draghandler = $.proxy(_.draghandler, _); _.keyhandler = $.proxy(_.keyhandler, _); _.instanceuid = instanceuid++; // a simple way to check for html strings // strict html recognition (must start with <) // extracted from jquery v1.11 source _.htmlexpr = /^(?:\s*(<[\w\w]+>)[^>]*)$/; _.registerbreakpoints(); _.init(true); } return slick; }()); slick.prototype.activateada = function() { var _ = this; _.$slidetrack.find('.slick-active').attr({ 'aria-hidden': 'false' }).find('a, input, button, select').attr({ 'tabindex': '0' }); }; slick.prototype.addslide = slick.prototype.slickadd = function(markup, index, addbefore) { var _ = this; if (typeof(index) === 'boolean') { addbefore = index; index = null; } else if (index < 0 || (index >= _.slidecount)) { return false; } _.unload(); if (typeof(index) === 'number') { if (index === 0 && _.$slides.length === 0) { $(markup).appendto(_.$slidetrack); } else if (addbefore) { $(markup).insertbefore(_.$slides.eq(index)); } else { $(markup).insertafter(_.$slides.eq(index)); } } else { if (addbefore === true) { $(markup).prependto(_.$slidetrack); } else { $(markup).appendto(_.$slidetrack); } } _.$slides = _.$slidetrack.children(this.options.slide); _.$slidetrack.children(this.options.slide).detach(); _.$slidetrack.append(_.$slides); _.$slides.each(function(index, element) { $(element).attr('data-slick-index', index); }); _.$slidescache = _.$slides; _.reinit(); }; slick.prototype.animateheight = function() { var _ = this; if (_.options.slidestoshow === 1 && _.options.adaptiveheight === true && _.options.vertical === false) { var targetheight = _.$slides.eq(_.currentslide).outerheight(true); _.$list.animate({ height: targetheight }, _.options.speed); } }; slick.prototype.animateslide = function(targetleft, callback) { var animprops = {}, _ = this; _.animateheight(); if (_.options.rtl === true && _.options.vertical === false) { targetleft = -targetleft; } if (_.transformsenabled === false) { if (_.options.vertical === false) { _.$slidetrack.animate({ left: targetleft }, _.options.speed, _.options.easing, callback); } else { _.$slidetrack.animate({ top: targetleft }, _.options.speed, _.options.easing, callback); } } else { if (_.csstransitions === false) { if (_.options.rtl === true) { _.currentleft = -(_.currentleft); } $({ animstart: _.currentleft }).animate({ animstart: targetleft }, { duration: _.options.speed, easing: _.options.easing, step: function(now) { now = math.ceil(now); if (_.options.vertical === false) { animprops[_.animtype] = 'translate(' + now + 'px, 0px)'; _.$slidetrack.css(animprops); } else { animprops[_.animtype] = 'translate(0px,' + now + 'px)'; _.$slidetrack.css(animprops); } }, complete: function() { if (callback) { callback.call(); } } }); } else { _.applytransition(); targetleft = math.ceil(targetleft); if (_.options.vertical === false) { animprops[_.animtype] = 'translate3d(' + targetleft + 'px, 0px, 0px)'; } else { animprops[_.animtype] = 'translate3d(0px,' + targetleft + 'px, 0px)'; } _.$slidetrack.css(animprops); if (callback) { settimeout(function() { _.disabletransition(); callback.call(); }, _.options.speed); } } } }; slick.prototype.getnavtarget = function() { var _ = this, asnavfor = _.options.asnavfor; if ( asnavfor && asnavfor !== null ) { asnavfor = $(asnavfor).not(_.$slider); } return asnavfor; }; slick.prototype.asnavfor = function(index) { var _ = this, asnavfor = _.getnavtarget(); if ( asnavfor !== null && typeof asnavfor === 'object' ) { asnavfor.each(function() { var target = $(this).slick('getslick'); if(!target.unslicked) { target.slidehandler(index, true); } }); } }; slick.prototype.applytransition = function(slide) { var _ = this, transition = {}; if (_.options.fade === false) { transition[_.transitiontype] = _.transformtype + ' ' + _.options.speed + 'ms ' + _.options.cssease; } else { transition[_.transitiontype] = 'opacity ' + _.options.speed + 'ms ' + _.options.cssease; } if (_.options.fade === false) { _.$slidetrack.css(transition); } else { _.$slides.eq(slide).css(transition); } }; slick.prototype.autoplay = function() { var _ = this; _.autoplayclear(); if ( _.slidecount > _.options.slidestoshow ) { _.autoplaytimer = setinterval( _.autoplayiterator, _.options.autoplayspeed ); } }; slick.prototype.autoplayclear = function() { var _ = this; if (_.autoplaytimer) { clearinterval(_.autoplaytimer); } }; slick.prototype.autoplayiterator = function() { var _ = this, slideto = _.currentslide + _.options.slidestoscroll; if ( !_.paused && !_.interrupted && !_.focussed ) { if ( _.options.infinite === false ) { if ( _.direction === 1 && ( _.currentslide + 1 ) === ( _.slidecount - 1 )) { _.direction = 0; } else if ( _.direction === 0 ) { slideto = _.currentslide - _.options.slidestoscroll; if ( _.currentslide - 1 === 0 ) { _.direction = 1; } } } _.slidehandler( slideto ); } }; slick.prototype.buildarrows = function() { var _ = this; if (_.options.arrows === true ) { _.$prevarrow = $(_.options.prevarrow).addclass('slick-arrow'); _.$nextarrow = $(_.options.nextarrow).addclass('slick-arrow'); if( _.slidecount > _.options.slidestoshow ) { _.$prevarrow.removeclass('slick-hidden').removeattr('aria-hidden tabindex'); _.$nextarrow.removeclass('slick-hidden').removeattr('aria-hidden tabindex'); if (_.htmlexpr.test(_.options.prevarrow)) { _.$prevarrow.prependto(_.options.appendarrows); } if (_.htmlexpr.test(_.options.nextarrow)) { _.$nextarrow.appendto(_.options.appendarrows); } if (_.options.infinite !== true) { _.$prevarrow .addclass('slick-disabled') .attr('aria-disabled', 'true'); } } else { _.$prevarrow.add( _.$nextarrow ) .addclass('slick-hidden') .attr({ 'aria-disabled': 'true', 'tabindex': '-1' }); } } }; slick.prototype.builddots = function() { var _ = this, i, dot; if (_.options.dots === true && _.slidecount > _.options.slidestoshow) { _.$slider.addclass('slick-dotted'); dot = $('