1!function(){"use strict";function t(e){if(!e)throw new Error("No options passed to Waypoint constructor");if(!e.element)throw new Error("No element option passed to Waypoint constructor");if(!e.handler)throw new Error("No handler option passed to Waypoint constructor");this.key="waypoint-"+i,this.options=t.Adapter.extend({},t.defaults,e),this.element=this.options.element,this.adapter=new t.Adapter(this.element),this.callback=e.handler,this.axis=this.options.horizontal?"horizontal":"vertical",this.enabled=this.options.enabled,this.triggerPoint=null,this.group=t.Group.findOrCreate({name:this.options.group,axis:this.axis}),this.context=t.Context.findOrCreateByElement(this.options.context),t.offsetAliases[this.options.offset]&&(this.options.offset=t.offsetAliases[this.options.offset]),this.group.add(this),this.context.add(this),n[this.key]=this,i+=1}var i=0,n={};t.prototype.queueTrigger=function(e){this.group.queueTrigger(this,e)},t.prototype.trigger=function(e){this.enabled&&this.callback&&this.callback.apply(this,e)},t.prototype.destroy=function(){this.context.remove(this),this.group.remove(this),delete n[this.key]},t.prototype.disable=function(){return this.enabled=!1,this},t.prototype.enable=function(){return this.context.refresh(),this.enabled=!0,this},t.prototype.next=function(){return this.group.next(this)},t.prototype.previous=function(){return this.group.previous(this)},t.invokeAll=function(e){var t=[];for(var i in n)t.push(n[i]);for(var s=0,r=t.length;s<r;s++)t[s][e]()},t.destroyAll=function(){t.invokeAll("destroy")},t.disableAll=function(){t.invokeAll("disable")},t.enableAll=function(){t.invokeAll("enable")},t.refreshAll=function(){t.Context.refreshAll()},t.viewportHeight=function(){return window.innerHeight||document.documentElement.clientHeight},t.viewportWidth=function(){return document.documentElement.clientWidth},t.adapters=[],t.defaults={context:window,continuous:!0,enabled:!0,group:"default",horizontal:!1,offset:0},t.offsetAliases={"bottom-in-view":function(){return this.context.innerHeight()-this.adapter.outerHeight()},"right-in-view":function(){return this.context.innerWidth()-this.adapter.outerWidth()}},window.Waypoint=t}(),function(){"use strict";function t(e){window.setTimeout(e,1e3/60)}function i(e){this.element=e,this.Adapter=g.Adapter,this.adapter=new this.Adapter(e),this.key="waypoint-context-"+s,this.didScroll=!1,this.didResize=!1,this.oldScroll={x:this.adapter.scrollLeft(),y:this.adapter.scrollTop()},this.waypoints={vertical:{},horizontal:{}},e.waypointContextKey=this.key,r[e.waypointContextKey]=this,s+=1,this.createThrottledScrollHandler(),this.createThrottledResizeHandler()}var s=0,r={},g=window.Waypoint,e=window.onload;i.prototype.add=function(e){var t=e.options.horizontal?"horizontal":"vertical";this.waypoints[t][e.key]=e,this.refresh()},i.prototype.checkEmpty=function(){var e=this.Adapter.isEmptyObject(this.waypoints.horizontal),t=this.Adapter.isEmptyObject(this.waypoints.vertical);e&&t&&(this.adapter.off(".waypoints"),delete r[this.key])},i.prototype.createThrottledResizeHandler=function(){function e(){t.handleResize(),t.didResize=!1}var t=this;this.adapter.on("resize.waypoints",function(){t.didResize||(t.didResize=!0,g.requestAnimationFrame(e))})},i.prototype.createThrottledScrollHandler=function(){function e(){t.handleScroll(),t.didScroll=!1}var t=this;this.adapter.on("scroll.waypoints",function(){(!t.didScroll||g.isTouch)&&(t.didScroll=!0,g.requestAnimationFrame(e))})},i.prototype.handleResize=function(){g.Context.refreshAll()},i.prototype.handleScroll=function(){var e={},t={horizontal:{newScroll:this.adapter.scrollLeft(),oldScroll:this.oldScroll.x,forward:"right",backward:"left"},vertical:{newScroll:this.adapter.scrollTop(),oldScroll:this.oldScroll.y,forward:"down",backward:"up"}};for(var i in t){var s=t[i],r=s.newScroll>s.oldScroll?s.forward:s.backward;for(var n in this.waypoints[i]){var a=this.waypoints[i][n],o=s.oldScroll<a.triggerPoint,l=s.newScroll>=a.triggerPoint;(o&&l||!o&&!l)&&(a.queueTrigger(r),e[a.group.id]=a.group)}}for(var h in e)e[h].flushTriggers();this.oldScroll={x:t.horizontal.newScroll,y:t.vertical.newScroll}}
1,i.prototype.innerHeight=function(){return this.element==this.element.window?g.viewportHeight():this.adapter.innerHeight()},i.prototype.remove=function(e){delete this.waypoints[e.axis][e.key],this.checkEmpty()},i.prototype.innerWidth=function(){return this.element==this.element.window?g.viewportWidth():this.adapter.innerWidth()},i.prototype.destroy=function(){var e=[];for(var t in this.waypoints)for(var i in this.waypoints[t])e.push(this.waypoints[t][i]);for(var s=0,r=e.length;s<r;s++)e[s].destroy()},i.prototype.refresh=function(){var e,t=this.element==this.element.window,i=t?void 0:this.adapter.offset(),s={};for(var r in this.handleScroll(),e={horizontal:{contextOffset:t?0:i.left,contextScroll:t?0:this.oldScroll.x,contextDimension:this.innerWidth(),oldScroll:this.oldScroll.x,forward:"right",backward:"left",offsetProp:"left"},vertical:{contextOffset:t?0:i.top,contextScroll:t?0:this.oldScroll.y,contextDimension:this.innerHeight(),oldScroll:this.oldScroll.y,forward:"down",backward:"up",offsetProp:"top"}}){var n=e[r];for(var a in this.waypoints[r]){var o,l,h,d,c=this.waypoints[r][a],u=c.options.offset,p=c.triggerPoint,f=0,m=null==p;c.element!==c.element.window&&(f=c.adapter.offset()[n.offsetProp]),"function"==typeof u?u=u.apply(c):"string"==typeof u&&(u=parseFloat(u),-1<c.options.offset.indexOf("%")&&(u=Math.ceil(n.contextDimension*u/100))),o=n.contextScroll-n.contextOffset,c.triggerPoint=f+o-u,l=p<n.oldScroll,h=c.triggerPoint>=n.oldScroll,d=!l&&!h,!m&&(l&&h)?(c.queueTrigger(n.backward),s[c.group.id]=c.group):!m&&d?(c.queueTrigger(n.forward),s[c.group.id]=c.group):m&&n.oldScroll>=c.triggerPoint&&(c.queueTrigger(n.forward),s[c.group.id]=c.group)}}return g.requestAnimationFrame(function(){for(var e in s)s[e].flushTriggers()}),this},i.findOrCreateByElement=function(e){return i.findByElement(e)||new i(e)},i.refreshAll=function(){for(var e in r)r[e].refresh()},i.findByElement=function(e){return r[e.waypointContextKey]},window.onload=function(){e&&e(),i.refreshAll()},g.requestAnimationFrame=function(e){(window.requestAnimationFrame||window.mozRequestAnimationFrame||window.webkitRequestAnimationFrame||t).call(window,e)},g.Context=i}(),function(){"use strict";function a(e,t){return e.triggerPoint-t.triggerPoint}function o(e,t){return t.triggerPoint-e.triggerPoint}function t(e){this.name=e.name,this.axis=e.axis,this.id=this.name+"-"+this.axis,this.waypoints=[],this.clearTriggerQueues(),i[this.axis][this.name]=this}var i={vertical:{},horizontal:{}},s=window.Waypoint;t.prototype.add=function(e){this.waypoints.push(e)},t.prototype.clearTriggerQueues=function(){this.triggerQueues={up:[],down:[],left:[],right:[]}},t.prototype.flushTriggers=function(){for(var e in this.triggerQueues){var t=this.triggerQueues[e],i="up"===e||"left"===e;t.sort(i?o:a);for(var s=0,r=t.length;s<r;s+=1){var n=t[s];(n.options.continuous||s===t.length-1)&&n.trigger([e])}}this.clearTriggerQueues()},t.prototype.next=function(e){this.waypoints.sort(a);var t=s.Adapter.inArray(e,this.waypoints);return t===this.waypoints.length-1?null:this.waypoints[t+1]},t.prototype.previous=function(e){this.waypoints.sort(a);var t=s.Adapter.inArray(e,this.waypoints);return t?this.waypoints[t-1]:null},t.prototype.queueTrigger=function(e,t){this.triggerQueues[t].push(e)},t.prototype.remove=function(e){var t=s.Adapter.inArray(e,this.waypoints);-1<t&&this.waypoints.splice(t,1)},t.prototype.first=function(){return this.waypoints[0]},t.prototype.last=function(){return this.waypoints[this.waypoints.length-1]},t.findOrCreate=function(e){return i[e.axis][e.name]||new t(e)},s.Group=t}(),function(){"use strict";function i(e){this.$element=s(e)}var s=window.jQuery,e=window.Waypoint;s.each(["innerHeight","innerWidth","off","offset","on","outerHeight","outerWidth","scrollLeft","scrollTop"],function(e,t){i.prototype[t]=function(){var e=Array.prototype.slice.call(arguments);return this.$element[t].apply(this.$element,e)}}),s.each(["extend","inArray","isEmptyObject"],function(e,t){i[t]=s[t]}),e.adapters.push({name:"jquery",Adapter:i}),e.Adapter=i}(),function(){"use strict";function e(s){return function(){var t=[],i=arguments[0];return s.isFunction(arguments[0])&&((i=s.extend({},arguments[1])).handler=arguments[0]),this.each(function(){var e=s.extend({},i,{element:this});"string"==typeof e.context&&(e.context=s(this).closest(e.context)[0]),t.push(new r(e))}),t}}var r=window.Waypoint;window.jQuery&&(window.jQuery.fn.waypoint=e(window.jQuery)),window.Zepto&&(window.Zepto.fn.waypoint=e(window.Zepto))}(),function(e){e.fn.animated=function(i){e(this).each(function(){var t=e(this);t.css("opacity","0").addClass("animated").waypoint(function(e){"down"===e&&t.addClass(i).css("opacity","1")},{offset:"90%"})})}}(jQuery);var _gsScope="undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window;(_gsScope._gsQueue||(_gsScope._gsQueue=[])).push(function(){"use strict";var e,T,b,x,S,v,i,_,E,y,w,p,f,g,t;_gsScope._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(s,d,p){var f=function(e){var t,i=[],s=e.length;for(t=0;t!==s;i.push(e[t++]));return i},m=function(e,t,i){p.call(this,e,t,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._dirty=!0,this.render=m.prototype.render},v=1e-10,_=p._internals,g=_.isSelector,y=_.isArray,e=m.prototype=p.to({},.1,{}),w=[];m.version="1.15.1",e.constructor=m,e.kill()._gc=!1,m.killTweensOf=m.killDelayedCallsTo=p.killTweensOf,m.getTweensOf=p.getTweensOf,m.lagSmoothing=p.lagSmoothing,m.ticker=p.ticker,m.render=p.render,e.invali
1date=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),p.prototype.invalidate.call(this)},e.updateTo=function(e,t){var i,s=this.ratio,r=this.vars.immediateRender||e.immediateRender;for(i in t&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay)),e)this.vars[i]=e[i];if(this._initted||r)if(t)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&p._onPluginEvent("_onDisable",this),.998<this._time/this._duration){var n=this._time;this.render(0,!0,!1),this._initted=!1,this.render(n,!0,!1)}else if(0<this._time||r){this._initted=!1,this._init();for(var a,o=1/(1-s),l=this._firstPT;l;)a=l.s+l.c,l.c*=o,l.s=a-l.c,l=l._next}return this},e.render=function(e,t,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,r,n,a,o,l,h,d,c=this._dirty?this.totalDuration():this._totalDuration,u=this._time,p=this._totalTime,f=this._cycle,m=this._duration,g=this._rawPrevTime;if(c<=e?(this._totalTime=c,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=m,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,r="onComplete"),0===m&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(0===e||g<0||g===v)&&g!==e&&(i=!0,v<g&&(r="onReverseComplete")),this._rawPrevTime=d=!t||e||g===e?e:v)):e<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==p||0===m&&0<g&&g!==v)&&(r="onReverseComplete",s=this._reversed),e<0&&(this._active=!1,0===m&&(this._initted||!this.vars.lazy||i)&&(0<=g&&(i=!0),this._rawPrevTime=d=!t||e||g===e?e:v)),this._initted||(i=!0)):(this._totalTime=this._time=e,0!==this._repeat&&(a=m+this._repeatDelay,this._cycle=this._totalTime/a>>0,0!==this._cycle&&this._cycle===this._totalTime/a&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!=(1&this._cycle)&&(this._time=m-this._time),this._time>m?this._time=m:this._time<0&&(this._time=0)),this._easeType?(o=this._time/m,(1===(l=this._easeType)||3===l&&.5<=o)&&(o=1-o),3===l&&(o*=2),1===(h=this._easePower)?o*=o:2===h?o*=o*o:3===h?o*=o*o*o:4===h&&(o*=o*o*o*o),this.ratio=1===l?1-o:2===l?o:this._time/m<.5?o/2:1-o/2):this.ratio=this._ease.getRatio(this._time/m)),u!==this._time||i||f!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=u,this._totalTime=p,this._rawPrevTime=g,this._cycle=f,_.lazyTweens.push(this),void(this._lazy=[e,t]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/m):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==u&&0<=e&&(this._active=!0),0===p&&(2===this._initted&&0<e&&this._init(),this._startAt&&(0<=e?this._startAt.render(e,t,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._totalTime||0===m)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||w))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(e<0&&this._startAt&&this._startTime&&this._startAt.render(e,t,i),t||(this._totalTime!==p||s)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||w)),this._cycle!==f&&(t||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||w)),r&&(!this._gc||i)&&(e<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(e,t,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||w),0===m&&this._rawPrevTime===v&&d!==v&&(this._rawPrevTime=0))}else p!==this._totalTime&&this._onUpdate&&(t||this._onUpdate.apply(this.vars.onUp
1dateScope||this,this.vars.onUpdateParams||w))},m.to=function(e,t,i){return new m(e,t,i)},m.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new m(e,t,i)},m.fromTo=function(e,t,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new m(e,t,s)},m.staggerTo=m.allTo=function(e,t,i,s,r,n,a){s=s||0;var o,l,h,d,c=i.delay||0,u=[];for(y(e)||("string"==typeof e&&(e=p.selector(e)||e),g(e)&&(e=f(e))),e=e||[],s<0&&((e=f(e)).reverse(),s*=-1),o=e.length-1,h=0;h<=o;h++){for(d in l={},i)l[d]=i[d];l.delay=c,h===o&&r&&(l.onComplete=function(){i.onComplete&&i.onComplete.apply(i.onCompleteScope||this,arguments),r.apply(a||this,n||w)}),u[h]=new m(e[h],t,l),c+=s}return u},m.staggerFrom=m.allFrom=function(e,t,i,s,r,n,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,m.staggerTo(e,t,i,s,r,n,a)},m.staggerFromTo=m.allFromTo=function(e,t,i,s,r,n,a,o){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,m.staggerTo(e,t,s,r,n,a,o)},m.delayedCall=function(e,t,i,s,r){return new m(t,0,{delay:e,onComplete:t,onCompleteParams:i,onCompleteScope:s,onReverseComplete:t,onReverseCompleteParams:i,onReverseCompleteScope:s,immediateRender:!1,useFrames:r,overwrite:0})},m.set=function(e,t){return new m(e,0,t)},m.isTweening=function(e){return 0<p.getTweensOf(e,!0).length};var n=function(e,t){for(var i=[],s=0,r=e._first;r;)r instanceof p?i[s++]=r:(t&&(i[s++]=r),s=(i=i.concat(n(r,t))).length),r=r._next;return i},c=m.getAllTweens=function(e){return n(s._rootTimeline,e).concat(n(s._rootFramesTimeline,e))};m.killAll=function(e,t,i,s){null==t&&(t=!0),null==i&&(i=!0);var r,n,a,o=c(0!=s),l=o.length,h=t&&i&&s;for(a=0;a<l;a++)n=o[a],(h||n instanceof d||(r=n.target===n.vars.onComplete)&&i||t&&!r)&&(e?n.totalTime(n._reversed?0:n.totalDuration()):n._enabled(!1,!1))},m.killChildTweensOf=function(e,t){if(null!=e){var i,s,r,n,a,o=_.tweenLookup;if("string"==typeof e&&(e=p.selector(e)||e),g(e)&&(e=f(e)),y(e))for(n=e.length;-1<--n;)m.killChildTweensOf(e[n],t);else{for(r in i=[],o)for(s=o[r].target.parentNode;s;)s===e&&(i=i.concat(o[r].tweens)),s=s.parentNode;for(a=i.length,n=0;n<a;n++)t&&i[n].totalTime(i[n].totalDuration()),i[n]._enabled(!1,!1)}}};var r=function(e,t,i,s){t=!1!==t,i=!1!==i;for(var r,n,a=c(s=!1!==s),o=t&&i&&s,l=a.length;-1<--l;)n=a[l],(o||n instanceof d||(r=n.target===n.vars.onComplete)&&i||t&&!r)&&n.paused(e)};return m.pauseAll=function(e,t,i){r(!0,e,t,i)},m.resumeAll=function(e,t,i){r(!1,e,t,i)},m.globalTimeScale=function(e){var t=s._rootTimeline,i=p.ticker.time;return arguments.length?(e=e||v,t._startTime=i-(i-t._startTime)*t._timeScale/e,t=s._rootFramesTimeline,i=p.ticker.frame,t._startTime=i-(i-t._startTime)*t._timeScale/e,t._timeScale=s._rootTimeline._timeScale=e,e):t._timeScale},e.progress=function(e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),!1):this._time/this.duration()},e.totalProgress=function(e){return arguments.length?this.totalTime(this.totalDuration()*e,!1):this._totalTime/this.totalDuration()},e.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},e.duration=function(e){return arguments.length?s.prototype.duration.call(this,e):this._duration},e.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},e.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},e.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},e.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},m},!0),_gsScope._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(d,c,u){var p=function(e){c.call(this,e),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUp
1date;var t,i,s=this.vars;for(i in s)t=s[i],g(t)&&-1!==t.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(t));g(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},f=1e-10,e=u._internals,t=p._internals={},m=e.isSelector,g=e.isArray,v=e.lazyTweens,_=e.lazyRender,y=[],a=_gsScope._gsDefine.globals,w=function(e){var t,i={};for(t in e)i[t]=e[t];return i},n=t.pauseCallback=function(e,t,i,s){var r=e._timeline,n=r._totalTime;!t&&this._forcingPlayhead||r._rawPrevTime===e._startTime||(r.pause(e._startTime),t&&t.apply(s||r,i||y),this._forcingPlayhead&&r.seek(n))},b=function(e){var t,i=[],s=e.length;for(t=0;t!==s;i.push(e[t++]));return i},i=p.prototype=new c;return p.version="1.15.1",i.constructor=p,i.kill()._gc=i._forcingPlayhead=!1,i.to=function(e,t,i,s){var r=i.repeat&&a.TweenMax||u;return t?this.add(new r(e,t,i),s):this.set(e,i,s)},i.from=function(e,t,i,s){return this.add((i.repeat&&a.TweenMax||u).from(e,t,i),s)},i.fromTo=function(e,t,i,s,r){var n=s.repeat&&a.TweenMax||u;return t?this.add(n.fromTo(e,t,i,s),r):this.set(e,s,r)},i.staggerTo=function(e,t,i,s,r,n,a,o){var l,h=new p({onComplete:n,onCompleteParams:a,onCompleteScope:o,smoothChildTiming:this.smoothChildTiming});for("string"==typeof e&&(e=u.selector(e)||e),m(e=e||[])&&(e=b(e)),(s=s||0)<0&&((e=b(e)).reverse(),s*=-1),l=0;e.length>l;l++)i.startAt&&(i.startAt=w(i.startAt)),h.to(e[l],t,w(i),l*s);return this.add(h,r)},i.staggerFrom=function(e,t,i,s,r,n,a,o){return i.immediateRender=0!=i.immediateRender,i.runBackwards=!0,this.staggerTo(e,t,i,s,r,n,a,o)},i.staggerFromTo=function(e,t,i,s,r,n,a,o,l){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,this.staggerTo(e,t,s,r,n,a,o,l)},i.call=function(e,t,i,s){return this.add(u.delayedCall(0,e,t,i),s)},i.set=function(e,t,i){return i=this._parseTimeOrLabel(i,0,!0),null==t.immediateRender&&(t.immediateRender=i===this._time&&!this._paused),this.add(new u(e,0,t),i)},p.exportRoot=function(e,t){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var i,s,r=new p(e),n=r._timeline;for(null==t&&(t=!0),n._remove(r,!0),r._startTime=0,r._rawPrevTime=r._time=r._totalTime=n._time,i=n._first;i;)s=i._next,t&&i instanceof u&&i.target===i.vars.onComplete||r.add(i,i._startTime-i._delay),i=s;return n.add(r,0),r},i.add=function(e,t,i,s){var r,n,a,o,l,h;if("number"!=typeof t&&(t=this._parseTimeOrLabel(t,0,!0,e)),!(e instanceof d)){if(e instanceof Array||e&&e.push&&g(e)){for(i=i||"normal",s=s||0,r=t,n=e.length,a=0;a<n;a++)g(o=e[a])&&(o=new p({tweens:o})),this.add(o,r),"string"!=typeof o&&"function"!=typeof o&&("sequence"===i?r=o._startTime+o.totalDuration()/o._timeScale:"start"===i&&(o._startTime-=o.delay())),r+=s;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,t);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=u.delayedCall(0,e)}if(c.prototype.add.call(this,e,t),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(h=(l=this).rawTime()>e._startTime;l._timeline;)h&&l._timeline.smoothChildTiming?l.totalTime(l._totalTime,!0):l._gc&&l._enabled(!0,!1),l=l._timeline;return this},i.remove=function(e){if(e instanceof d)return this._remove(e,!1);if(e instanceof Array||e&&e.push&&g(e)){for(var t=e.length;-1<--t;)this.remove(e[t]);return this}return"string"==typeof e?this.removeLabel(e):this.kill(null,e)},i._remove=function(e,t){c.prototype._remove.call(this,e,t);var i=this._last;return i?this._time>i._startTime+i._totalDuration/i._timeScale&&(this._time=this.duration(),this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},i.append=function(e,t){return this.add(e,this._parseTimeOrLabel(null,t,!0,e))},i.insert=i.insertMultiple=function(e,t,i,s){return this.add(e,t||0,i,s)},i.appendMultiple=function(e,t,i,s){return this.add(e,this._parseTimeOrLabel(null,t,!0,e),i,s)},i.addLabel=function(e,t){return this._labels[e]=this._parseTimeOrLabel(t),this},i.addPause=function(e,t,i,s){var r=u.delayedCall(0,n,["{self}",t,i,s],this);return r.data="isPause",this.add(r,e)},i.removeLabel=function(e){return delete this._labels[e],this},i.getLabelTime=function(e){return null!=this._labels[e]?this._labels[e]:-1},i._parseTimeOrLabel=function(e,t,i,s){var r;if(s instanceof d&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&g(s)))for(r=s.length;-1<--r;)s[r]instanceof d&&s[r].timeline===this&&this.remove(s[r]);if("string"==typeof t)return this._parseTimeOrLabel(t,i&&"number"==typeof e&&null==this._labels[t]?e-this.duration():0,i);if(t=t||0,"string"!=typeof e||!isNaN(e)&&null==this._labels[e])null==e&&(e=this.duration());else{if(-1===(r=e.indexOf("=")))return null==this._labels[e]?i?this._labels[e]=this.duration()+t:t:this._labels[e]+t;t=parseInt(e.charAt(r-1)+"1",10)*Number(e.substr(r+1)),e=1<r?this._parseTimeOrLabel(e.substr(0,r-1),0,i):this.duration()}return Number(e)+t},i.seek=function(e,t){return this.totalTime("number"==typeof e?e:this._parseTimeOrLabel(e),!1!==t)},i.stop=function(){return this.paused(!0)},i.gotoAndPlay=function(e,t){return this.play(e,t)},i.gotoAndStop=function(e,t){return this.pause(e,t)},i.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var s,r,n,a,o,l=this._dirty?this.totalDuration():this._totalDuration,h=this._time,d=this._startTime,c=this._timeScale,u=this._paused;if(l<=e?(this._totalTime=this._time=l,this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",0===this._duration&&(0===e||this._rawPrevTime<0||this._rawPrevTime===f)&&this._rawPrevTime!==e&&this._first&&(o=!0,this._rawPrevTime>f&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:f,e=l+1e-4):e<1e-7?(this._totalTime=this._time=0,(0!==h||0===this._duration&&this._rawPrevTime!==f&&(0<this._rawPrevTime||e<0&&0<=this._rawPrevTime))&&(a="onReverseComplete",r=this._reversed),e<0?(this._active=!1,0<=this._rawPrevTime&&this._first&&(o=!0),this._rawPrevTime=e):(this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:f,e=0,this._initted||(o=!0))):this._totalTime=this._time=this._rawPrevTime=e,this._time!==h&&this._first||i||o){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==h&&0<e&&(this._active=!0),0===h&&this.vars.onStart&&0!==this._time&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||y)),this._time>=h)for(s=this._first;s&&(n=s._next,!this._paused||u);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n;else for(s=this._last;s&&(n=s._prev,!this._paused||u);)(s._active||h>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n;this._onUpdate&&(t||(v.length&&_(),this._onUpdate.apply(this.vars.onUp
1dateScope||this,this.vars.onUpdateParams||y))),a&&(this._gc||(d===this._startTime||c!==this._timeScale)&&(0===this._time||l>=this.totalDuration())&&(r&&(v.length&&_(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||y)))}},i._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof p&&e._hasPausedChild())return!0;e=e._next}return!1},i.getChildren=function(e,t,i,s){s=s||-9999999999;for(var r=[],n=this._first,a=0;n;)s>n._startTime||(n instanceof u?!1!==t&&(r[a++]=n):(!1!==i&&(r[a++]=n),!1!==e&&(a=(r=r.concat(n.getChildren(!0,t,i))).length))),n=n._next;return r},i.getTweensOf=function(e,t){var i,s,r=this._gc,n=[],a=0;for(r&&this._enabled(!0,!0),s=(i=u.getTweensOf(e)).length;-1<--s;)(i[s].timeline===this||t&&this._contains(i[s]))&&(n[a++]=i[s]);return r&&this._enabled(!1,!0),n},i.recent=function(){return this._recent},i._contains=function(e){for(var t=e.timeline;t;){if(t===this)return!0;t=t.timeline}return!1},i.shiftChildren=function(e,t,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=e),r=r._next;if(t)for(s in n)n[s]>=i&&(n[s]+=e);return this._uncache(!0)},i._kill=function(e,t){if(!e&&!t)return this._enabled(!1,!1);for(var i=t?this.getTweensOf(t):this.getChildren(!0,!0,!1),s=i.length,r=!1;-1<--s;)i[s]._kill(e,t)&&(r=!0);return r},i.clear=function(e){var t=this.getChildren(!1,!0,!0),i=t.length;for(this._time=this._totalTime=0;-1<--i;)t[i]._enabled(!1,!1);return!1!==e&&(this._labels={}),this._uncache(!0)},i.invalidate=function(){for(var e=this._first;e;)e.invalidate(),e=e._next;return d.prototype.invalidate.call(this)},i._enabled=function(e,t){if(e===this._gc)for(var i=this._first;i;)i._enabled(e,!0),i=i._next;return c.prototype._enabled.call(this,e,t)},i.totalTime=function(){this._forcingPlayhead=!0;var e=d.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,e},i.duration=function(e){return arguments.length?(0!==this.duration()&&0!==e&&this.timeScale(this._duration/e),this):(this._dirty&&this.totalDuration(),this._duration)},i.totalDuration=function(e){if(!arguments.length){if(this._dirty){for(var t,i,s=0,r=this._last,n=999999999999;r;)t=r._prev,r._dirty&&r.totalDuration(),r._startTime>n&&this._sortChildren&&!r._paused?this.add(r,r._startTime-r._delay):n=r._startTime,r._startTime<0&&!r._paused&&(s-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale),this.shiftChildren(-r._startTime,!1,-9999999999),n=0),(i=r._startTime+r._totalDuration/r._timeScale)>s&&(s=i),r=t;this._duration=this._totalDuration=s,this._dirty=!1}return this._totalDuration}return 0!==this.totalDuration()&&0!==e&&this.timeScale(this._totalDuration/e),this},i.usesFrames=function(){for(var e=this._timeline;e._timeline;)e=e._timeline;return e===d._rootFramesTimeline},i.rawTime=function(){return this._paused?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale},p},!0),_gsScope._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(t,a,e){var i=function(e){t.call(this,e),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},S=1e-10,E=[],s=a._internals,C=s.lazyTweens,P=s.lazyRender,o=new e(null,null,1,0),r=i.prototype=new t;return r.constructor=i,r.kill()._gc=!1,i.version="1.15.1",r.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),t.prototype.invalidate.call(this)},r.addCallback=function(e,t,i,s){return this.add(a.delayedCall(0,e,i,s),t)},r.removeCallback=function(e,t){if(e)if(null==t)this._kill(null,e);else for(var i=this.getTweensOf(e,!1),s=i.length,r=this._parseTimeOrLabel(t);-1<--s;)i[s]._startTime===r&&i[s]._enabled(!1,!1);return this},r.removePause=function(e){return this.removeCallback(t._internals.pauseCallback,e)},r.tweenTo=function(e,t){t=t||{};var i,s,r,n={ease:o,useFrames:this.usesFrames(),immediateRender:!1};for(s in t)n[s]=t[s];return n.time=this._parseTimeOrLabel(e),i=Math.abs(Number(n.time)-this._time)/this._timeScale||.001,r=new a(this,i,n),n.onStart=function(){r.target.paused(!0),r.vars.time!==r.target.time()&&i===r.duration()&&r.duration(Math.abs(r.vars.time-r.target.time())/r.target._timeScale),t.onStart&&t.onStart.apply(t.onStart
1Scope||r,t.onStartParams||E)},r},r.tweenFromTo=function(e,t,i){i=i||{},e=this._parseTimeOrLabel(e),i.startAt={onComplete:this.seek,onCompleteParams:[e],onCompleteScope:this},i.immediateRender=!1!==i.immediateRender;var s=this.tweenTo(t,i);return s.duration(Math.abs(s.vars.time-e)/this._timeScale||.001)},r.render=function(e,t,i){this._gc&&this._enabled(!0,!1);var s,r,n,a,o,l,h=this._dirty?this.totalDuration():this._totalDuration,d=this._duration,c=this._time,u=this._totalTime,p=this._startTime,f=this._timeScale,m=this._rawPrevTime,g=this._paused,v=this._cycle;if(h<=e?(this._locked||(this._totalTime=h,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(r=!0,a="onComplete",0===this._duration&&(0===e||m<0||m===S)&&m!==e&&this._first&&(o=!0,S<m&&(a="onReverseComplete"))),this._rawPrevTime=this._duration||!t||e||this._rawPrevTime===e?e:S,this._yoyo&&0!=(1&this._cycle)?this._time=e=0:e=(this._time=d)+1e-4):e<1e-7?(this._locked||(this._totalTime=this._cycle=0),((this._time=0)!==c||0===d&&m!==S&&(0<m||e<0&&0<=m)&&!this._locked)&&(a="onReverseComplete",r=this._reversed),e<0?(this._active=!1,0<=m&&this._first&&(o=!0),this._rawPrevTime=e):(this._rawPrevTime=d||!t||e||this._rawPrevTime===e?e:S,e=0,this._initted||(o=!0))):(0===d&&m<0&&(o=!0),this._time=this._rawPrevTime=e,this._locked||(this._totalTime=e,0!==this._repeat&&(l=d+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=d-this._time),this._time>d?e=(this._time=d)+1e-4:this._time<0?this._time=e=0:e=this._time))),this._cycle!==v&&!this._locked){var _=this._yoyo&&0!=(1&v),y=_===(this._yoyo&&0!=(1&this._cycle)),w=this._totalTime,b=this._cycle,x=this._rawPrevTime,T=this._time;if(this._totalTime=v*d,v>this._cycle?_=!_:this._totalTime+=d,this._time=c,this._rawPrevTime=0===d?m-1e-4:m,this._cycle=v,this._locked=!0,c=_?0:d,this.render(c,t,0===d),t||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||E),y&&(c=_?d+1e-4:-1e-4,this.render(c,!0,!1)),this._locked=!1,this._paused&&!g)return;this._time=T,this._totalTime=w,this._cycle=b,this._rawPrevTime=x}if(this._time!==c&&this._first||i||o){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==u&&0<e&&(this._active=!0),0===u&&this.vars.onStart&&0!==this._totalTime&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||E)),this._time>=c)for(s=this._first;s&&(n=s._next,!this._paused||g);)(s._active||s._startTime<=this._time&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n;else for(s=this._last;s&&(n=s._prev,!this._paused||g);)(s._active||c>=s._startTime&&!s._paused&&!s._gc)&&(s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(e-s._startTime)*s._timeScale,t,i):s.render((e-s._startTime)*s._timeScale,t,i)),s=n;this._onUpdate&&(t||(C.length&&P(),this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||E))),a&&(this._locked||this._gc||(p===this._startTime||f!==this._timeScale)&&(0===this._time||h>=this.totalDuration())&&(r&&(C.length&&P(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[a]&&this.vars[a].apply(this.vars[a+"Scope"]||this,this.vars[a+"Params"]||E)))}else u!==this._totalTime&&this._onUpdate&&(t||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||E))},r.getActive=function(e,t,i){null==e&&(e=!0),null==t&&(t=!0),null==i&&(i=!1);var s,r,n=[],a=this.getChildren(e,t,i),o=0,l=a.length;for(s=0;s<l;s++)(r=a[s]).isActive()&&(n[o++]=r);return n},r.getLabelAfter=function(e){e||0!==e&&(e=this._time);var t,i=this.getLabelsArray(),s=i.length;for(t=0;t<s;t++)if(i[t].time>e)return i[t].name;return null},r.getLabelBefore=function(e){null==e&&(e=this._time);for(var t=this.getLabelsArray(),i=t.length;-1<--i;)if(e>t[i].time)return t[i].name;return null},r.getLabelsArray=function(){var e,t=[],i=0;for(e in this._labels)t[i++]={time:this._labels[e],name:e};return t.sort(function(e,t){return e.time-t.time}),t},r.progress=function(e,t){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-e:e)+this._cycle*(this._duration+this._repeatDelay),t):this._time/this.duration()},r.totalProgress=function(e,t){return arguments.length?this.totalTime(this.totalDuration()*e,t):this._totalTime/this.totalDuration()},r.totalDuration=function(e){return arguments.length?-1===this._repeat?this:this.duration((e-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(t.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},r.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),e>this._duration&&(e=this._duration),this._yoyo&&0!=(1&this._cycle)?e=this._duration-e+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(e+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(e,t)):this._time},r.repeat=function(e){return arguments.length?(this._repeat=e,this._uncache(!0)):this._repeat},r.repeatDelay=function(e){return arguments.length?(this._repeatDelay=e,this._uncache(!0)):this._repeatDelay},r.yoyo=function(e){return arguments.length?(this._yoyo=e,this):this._yoyo},r.currentLabel=function(e){return arguments.length?this.seek(e,!0):this.getLabelBefore(this._time+1e-8)},i},!0),T=180/Math.PI,b=[],x=[],S=[],v={},i=_gsScope._gsDefine.globals,_=function(e,t,i,s){this.a=e,this.b=t,this.c=i,this.d=s,this.da=s-e,this.ca=i-e,this.ba=t-e},E=function(e,t,i,s){var r={a:e},n={},a={},o={c:s},l=(e+t)/2,h=(t+i)/2,d=(i+s)/2,c=(l+h)/2,u=(h+d)/2,p=(u-c)/8;return r.b=l+(e-l)/4,n.b=c+p,r.c=n.a=(r.b+n.b)/2,n.c=a.a=(c+u)/2,a.b=u-p,o.b=d+(s-d)/4,a.c=o.a=(a.b+o.b)/2,[r,n,a,o]},y=function(e,t,i,s,r){var n,a,o,l,h,d,c,u,p,f,m,g,v,_=e.length-1,y=0,w=e[0].a;for(n=0;n<_;n++)a=(h=e[y]).a,o=h.d,l=e[y+1].d,r?(m=b[n],v=.25*((g=x[n])+m)*t/(s?.5:S[n]||.5),u=o-((d=o-(o-a)*(s?.5*t:0!==m?v/m:0))+(((c=o+(l-o)*(s?.5*t:0!==g?v/g:0))-d)*(3*m/(m+g)+.5)/4||0))):u=o-((d=o-.5*(o-a)*t)+(c=o+.5*(l-o)*t))/2,d+=u,c+=u,h.c=p=d,h.b=0!==n?w:w=h.a+.
16*(h.c-h.a),h.da=o-a,h.ca=p-a,h.ba=w-a,i?(f=E(a,w,p,o),e.splice(y,1,f[0],f[1],f[2],f[3]),y+=4):y++,w=c;(h=e[y]).b=w,h.c=w+.4*(h.d-w),h.da=h.d-h.a,h.ca=h.c-h.a,h.ba=w-h.a,i&&(f=E(h.a,w,h.c,h.d),e.splice(y,1,f[0],f[1],f[2],f[3]))},w=function(e,t,i,s){var r,n,a,o,l,h,d=[];if(s)for(n=(e=[s].concat(e)).length;-1<--n;)"string"==typeof(h=e[n][t])&&"="===h.charAt(1)&&(e[n][t]=s[t]+Number(h.charAt(0)+h.substr(2)));if((r=e.length-2)<0)return d[0]=new _(e[0][t],0,0,e[r<-1?0:1][t]),d;for(n=0;n<r;n++)a=e[n][t],o=e[n+1][t],d[n]=new _(a,0,0,o),i&&(l=e[n+2][t],b[n]=(b[n]||0)+(o-a)*(o-a),x[n]=(x[n]||0)+(l-o)*(l-o));return d[n]=new _(e[n][t],0,0,e[n+1][t]),d},p=function(e,t,i,s,r,n){var a,o,l,h,d,c,u,p,f={},m=[],g=n||e[0];for(o in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==t&&(t=1),e[0])m.push(o);if(1<e.length){for(p=e[e.length-1],u=!0,a=m.length;-1<--a;)if(o=m[a],.05<Math.abs(g[o]-p[o])){u=!1;break}u&&(e=e.concat(),n&&e.unshift(n),e.push(e[1]),n=e[e.length-3])}for(b.length=x.length=S.length=0,a=m.length;-1<--a;)o=m[a],v[o]=-1!==r.indexOf(","+o+","),f[o]=w(e,o,v[o],n);for(a=b.length;-1<--a;)b[a]=Math.sqrt(b[a]),x[a]=Math.sqrt(x[a]);if(!s){for(a=m.length;-1<--a;)if(v[o])for(c=(l=f[m[a]]).length-1,h=0;h<c;h++)d=l[h+1].da/x[h]+l[h].da/b[h],S[h]=(S[h]||0)+d*d;for(a=S.length;-1<--a;)S[a]=Math.sqrt(S[a])}for(a=m.length,h=i?4:1;-1<--a;)l=f[o=m[a]],y(l,t,i,s,v[o]),u&&(l.splice(0,h),l.splice(l.length-h,h));return f},f=function(e,t,i){for(var s,r,n,a,o,l,h,d,c,u,p,f=1/i,m=e.length;-1<--m;)for(n=(u=e[m]).a,a=u.d-n,o=u.c-n,l=u.b-n,s=r=0,d=1;d<=i;d++)s=r-(r=((h=f*d)*h*a+3*(c=1-h)*(h*o+c*l))*h),t[p=m*i+d-1]=(t[p]||0)+s*s},g=_gsScope._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.4",API:2,global:!0,init:function(e,t,i){this._target=e,t instanceof Array&&(t={values:t}),this._func={},this._round={},this._props=[],this._timeRes=null==t.timeResolution?6:parseInt(t.timeResolution,10);var s,r,n,a,o,l=t.values||[],h={},d=l[0],c=t.autoRotate||i.vars.orientToBezier;for(s in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0===c?0:Number(c)||0]]:null,d)this._props.push(s);for(n=this._props.length;-1<--n;)s=this._props[n],this._overwriteProps.push(s),r=this._func[s]="function"==typeof e[s],h[s]=r?e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(e[s]),o||h[s]!==l[0][s]&&(o=h);if(this._beziers="cubic"!==t.type&&"quadratic"!==t.type&&"soft"!==t.type?p(l,isNaN(t.curviness)?1:t.curviness,!1,"thruBasic"===t.type,t.correlate,o):function(e,t,i){var s,r,n,a,o,l,h,d,c,u,p,f={},m="cubic"===(t=t||"soft")?3:2,g="soft"===t,v=[];if(g&&i&&(e=[i].concat(e)),null==e||m+1>e.length)throw"invalid Bezier data";for(c in e[0])v.push(c);for(l=v.length;-1<--l;){for(f[c=v[l]]=o=[],u=0,d=e.length,h=0;h<d;h++)s=null==i?e[h][c]:"string"==typeof(p=e[h][c])&&"="===p.charAt(1)?i[c]+Number(p.charAt(0)+p.substr(2)):Number(p),g&&1<h&&h<d-1&&(o[u++]=(s+o[u-2])/2),o[u++]=s;for(d=u-m+1,h=u=0;h<d;h+=m)s=o[h],r=o[h+1],n=o[h+2],a=2===m?0:o[h+3],o[u++]=p=3===m?new _(s,r,n,a):new _(s,(2*r+s)/3,(2*r+n)/3,n);o.length=u}return f}(l,t.type,h),this._segCount=this._beziers[s].length,this._timeRes){var u=function(e,t){var i,s,r,n,a=[],o=[],l=0,h=0,d=(t=t>>0||6)-1,c=[],u=[];for(i in e)f(e[i],a,t);for(r=a.length,s=0;s<r;s++)l+=Math.sqrt(a[s]),u[n=s%t]=l,n===d&&(h+=l,c[n=s/t>>0]=u,o[n]=h,l=0,u=[]);return{length:h,lengths:o,segments:c}}(this._beziers,this._timeRes);this._length=u.length,this._lengths=u.lengths,this._segments=u.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),n=c.length;-1<--n;){for(a=0;a<3;a++)s=c[n][a],this._func[s]="function"==typeof e[s]&&e[s.indexOf("set")||"function"!=typeof e["get"+s.substr(3)]?s:"get"+s.substr(3)];s=c[n][2],this._initialRotations[n]=this._func[s]?this._func[s].call(this._target):this._target[s]}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(e){var t,i,s,r,n,a,o,l,h,d,c=this._segCount,u=this._func,p=this._target,f=e!==this._startRatio;if(this._timeRes){if(h=this._lengths,d=this._curSeg,e*=this._length,s=this._li,e>this._l2&&s<c-1){for(l=c-1;s<l&&e>=(this._l2=h[++s]););this._l1=h[s-1],this._li=s,this._curSeg=d=this._segments[s],this._s2=d[this._s1=this._si=0]}else if(this._l1>e&&0<s){for(;0<s&&(this._l1=h[--s])>=e;);0===s&&this._l1>e?this._l1=0:s++,this._l2=h[s],this._li=s,this._curSeg=d=this._segments[s],this._s1=d[(this._si=d.length-1)-1]||0,this._s2=d[this._si]}if(t=s,e-=this._l1,s=this._si,e>this._s2&&d.length-1>s){for(l=d.length-1;s<l&&e>=(this._s2=d[++s]););this._s1=d[s-1],this._si=s}else if(this._s1>e&&0<s){for(;0<s&&(this._s1=d[--s])>=e;);0===s&&this._s1>e?this._s1=0:s++,this._s2=d[s],this._si=s}a=(s+(e-this._s1)/(this._s2-this._s1))*this._prec}else a=(e-(t=e<0?0:1<=e?c-1:c*e>>0)*(1/c))*c;for(i=1-a,s=this._props.length;-1<--s;)r=this._props[s],o=(a*a*(n=this._beziers[r][t]).da+3*i*(a*n.ca+i*n.ba))*a+n.a,this._round[r]&&(o=Math.round(o)),u[r]?p[r](o):p[r]=o;if(this._autoRotate){var m,g,v,_,y,w,b,x=this._autoRotate;for(s=x.length;-1<--s;)r=x[s][2],w=x[s][3]||0,b=!0===x[s][4]?1:T,n=this._beziers[x[s][0]],m=this._beziers[x[s][1]],n&&m&&(n=n[t],m=m[t],g=n.a+(n.b-n.a)*a,g+=((_=n.b+(n.c-n.b)*a)-g)*a,_+=(n.c+(n.d-n.c)*a-_)*a,v=m.a+(m.b-m.a)*a,v+=((y=m.b+(m.c-m.b)*a)-v)*a,y+=(m.c+(m.d-m.c)*a-y)*a,o=f?Math.atan2(y-v,_-g)*b+w:this._initialRotations[s],u[r]?p[r](o):p[r]=o)}}}),t=g.prototype,g.bezierThrough=p,g.cubicToQuadratic=E,g._autoCSS=!0,g.quadraticToCubic=function(e,t,i){return new _(e,(2*t+e)/3,(2*t+i)/3,i)},g._cssRegister=function(){var e=i.CSSPlugin;if(e){var t=e._internals,p=t._parseToProxy,f=t._setPluginRatio,m=t.CSSPropTween;t._registerComplexSpecialProp("bezier",{parser:function(e,t,i,s,r,n){t instanceof Array&&(t={values:t}),n=new g;var a,o,l,h=t.values,d=h.length-1,c=[],u={};if(d<0)return r;for(a=0;a<=d;a++)l=p(e,h[a],s,r,n,d!==a),c[a]=l.end;for(o in t)u[o]=t[o];return u.values=c,(r=new m(e,"bezier",0,0,l.pt,2)).data=l,r.plugin=n,r.setRatio=f,0===u.autoRotate&&(u.autoRotate=!0),!u.autoRotate||u.autoRotate instanceof Array||(a=!0===u.autoRotate?0:Number(u.autoRotate),u.autoRotate=null!=l.end.left?[["left","top","rotation",a,!1]]:null!=l.end.x&&[["x","y","rotation",a,!1]]),u.autoRotate&&(s._transform||s._enableTransforms(!1),l.autoRotate=s._target._gsTransform),n._onInitTween(l.proxy,u,s._tween),r}})}},t._roundProps=function(e,t){for(var i=this._overwriteProps,s=i.length;-1<--s;)(e[i[s]]||e.bezier||e.bezierThrough)&&(this._round[i[s]]=t)},t._kill=function(e){var t,i,s=this._props;for(t in this._beziers)if(t in e)for(delete this._beziers[t],delete this._func[t],i=s.length;-1<--i;)s[i]===t&&s.splice(i,1);return this._super._kill.call(this,e)},_gsScope._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n,u){var f,T,j,p,V=function(){n.call(this,"css"),this._overwriteProps.length=0,this.setRatio=V.prototype.setRatio},h=_gsScope._gsDefine.globals,m={},e=V.prototype=new n("css");(e.constructor=V).version="1.15.1",V.API=2,V.defaultTransformPerspective=0,V.defaultSkewType="compensated",e="px",V.suffixMap={top:e,right:e,bottom:e,left:e,width:e,height:e,fontSize:e,padding:e,margin:e,perspective:e,lineHeight:""};var C,g,v,O,_,E,t,i,P=/(?:\d|\-\d|\.\d|\-\.\d)+/g,M=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\
1-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,d=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,k=/(?:\d|\-|\+|=|#|\.)*/g,z=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,a=/alpha\(opacity *=.+?\)/i,R=/^(rgb|hsl)/,o=/([A-Z])/g,l=/-([a-z])/gi,b=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,c=function(e,t){return t.toUpperCase()},x=/(?:Left|Right|Width)/i,W=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,A=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,D=/,(?=[^\)]*(?:\(|$))/gi,I=Math.PI/180,q=180/Math.PI,S={},L=document,s=function(e){return L.createElementNS?L.createElementNS("http://www.w3.org/1999/xhtml",e):L.createElement(e)},N=s("div"),$=s("img"),r=V._internals={_specialProps:m},F=navigator.userAgent,X=(t=F.indexOf("Android"),i=s("a"),v=-1!==F.indexOf("Safari")&&-1===F.indexOf("Chrome")&&(-1===t||3<Number(F.substr(t+8,1))),_=v&&Number(F.substr(F.indexOf("Version/")+8,1))<6,O=-1!==F.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(F)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(F))&&(E=parseFloat(RegExp.$1)),!!i&&(i.style.cssText="top:1px;opacity:.55;",/^0.55/.test(i.style.opacity))),Y=function(e){return z.test("string"==typeof e?e:(e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?parseFloat(RegExp.$1)/100:1},B=function(e){window.console&&console.log(e)},H="",G="",U=function(e,t){var i,s,r=(t=t||N).style;if(void 0!==r[e])return e;for(e=e.charAt(0).toUpperCase()+e.substr(1),i=["O","Moz","ms","Ms","Webkit"],s=5;-1<--s&&void 0===r[i[s]+e];);return 0<=s?(H="-"+(G=3===s?"ms":i[s]).toLowerCase()+"-",G+e):null},Q=L.defaultView?L.defaultView.getComputedStyle:function(){},Z=V.getStyle=function(e,t,i,s,r){var n;return X||"opacity"!==t?(!s&&e.style[t]?n=e.style[t]:(i=i||Q(e))?n=i[t]||i.getPropertyValue(t)||i.getPropertyValue(t.replace(o,"-$1").toLowerCase()):e.currentStyle&&(n=e.currentStyle[t]),null==r||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:r):Y(e)},K=r.convertToPixels=function(e,t,i,s,r){if("px"===s||!s)return i;if("auto"===s||!i)return 0;var n,a,o,l=x.test(t),h=e,d=N.style,c=i<0;if(c&&(i=-i),"%"===s&&-1!==t.indexOf("border"))n=i/100*(l?e.clientWidth:e.clientHeight);else{if(d.cssText="border:0 solid red;position:"+Z(e,"position")+";line-height:0;","%"!==s&&h.appendChild)d[l?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(a=(h=e.parentNode||L.body)._gsCache,o=u.ticker.frame,a&&l&&a.time===o)return a.width*i/100;d[l?"width":"height"]=i+s}h.appendChild(N),n=parseFloat(N[l?"offsetWidth":"offsetHeight"]),h.removeChild(N),l&&"%"===s&&!1!==V.cacheWidths&&((a=h._gsCache=h._gsCache||{}).time=o,a.width=n/i*100),0!==n||r||(n=K(e,t,i,s,!0))}return c?-n:n},J=r.calculateOffset=function(e,t,i){if("absolute"!==Z(e,"position",i))return 0;var s="left"===t?"Left":"Top",r=Z(e,"margin"+s,i);return e["offset"+s]-(K(e,t,parseFloat(r),r.replace(k,""))||0)},ee=function(e,t){var i,s,r={};if(t=t||Q(e,null))for(i in t)(-1===i.indexOf("Transform")||Pe===i)&&(r[i]=t[i]);else if(t=e.currentStyle||e.style)for(i in t)"string"==typeof i&&void 0===r[i]&&(r[i.replace(l,c)]=t[i]);return X||(r.opacity=Y(e)),s=Ne(e,t,!1),r.rotation=s.rotation,r.skewX=s.skewX,r.scaleX=s.scaleX,r.scaleY=s.scaleY,r.x=s.x,r.y=s.y,ze&&(r.z=s.z,r.rotationX=s.rotationX,r.rotationY=s.rotationY,r.scaleZ=s.scaleZ),r.filters&&delete r.filters,r},te=function(e,t,i,s,r){var n,a,o,l={},h=e.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(t[a]!==(n=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"==typeof n||"string"==typeof n)&&(l[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof t[a]||""===t[a].replace(d,"")?n:0:J(e,a),void 0!==h[a]&&(o=new me(h,a,h[a],o)));if(s)for(a in s)"className"!==a&&(l[a]=s[a]);return{difs:l,firstMPT:o}},ie={width:["Left","Right"],height:["Top","Bottom"]},se=["marginLeft","marginRight","marginTop","marginBottom"],re=function(e,t,i){var s=parseFloat("width"===t?e.offsetWidth:e.offsetHeight),r=ie[t],n=r.length;for(i=i||Q(e,null);-1<--n;)s-=parseFloat(Z(e,"padding"+r[n],i,!0))||0,s-=parseFloat(Z(e,"border"+r[n]+"Width",i,!0))||0;return s},ne=function(e,t){(null==e||""===e||"auto"===e||"auto auto"===e)&&(e="0 0");var i=e.split(" "),s=-1!==e.indexOf("left")?"0%":-1!==e.indexOf("right")?"100%":i[0],r=-1!==e.indexOf("top")?"0%":-1!==e.indexOf("bottom")?"100%":i[1];return null==r?r="center"===s?"50%":"0":"center"===r&&(r="50%"),("center"===s||isNaN(parseFloat(s))&&-1===(s+"").indexOf("="))&&(s="50%"),t&&(t.oxp=-1!==s.indexOf("%"),t.oyp=-1!==r.indexOf("%"),t.oxr="="===s.charAt(1),t.oyr="="===r.charAt(1),t.ox=parseFloat(s.replace(d,"")),t.oy=parseFloat(r.replace(d,""))),s+" "+r+(2<i.length?" "+i[2]:"")},ae=function(e,t){return"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2)):parseFloat(e)-parseFloat(t)},oe=function(e,t){return null==e?t:"string"==typeof e&&"="===e.charAt(1)?parseInt(e.charAt(0)+"1",10)*parseFloat(e.substr(2))+t:parseFloat(e)},le=function(e,t,i,s){var r,n,a,o,l;return null==e?o=t:"number"==typeof e?o=e:(r=360,n=e.split("_"),a=((l="="===e.charAt(1))?parseInt(e.charAt(0)+"1",10)*parseFloat(n[0].substr(2)):parseFloat(n[0]))*(-1===e.indexOf("rad")?1:q)-(l?0:t),n.length&&(s&&(s[i]=t+a),-1!==e.indexOf("short")&&(a%=r)!=a%180&&(a=a<0?a+r:a-r),-1!==e.indexOf("_cw")&&a<0?a=(a+3599999999640)%r-(0|a/r)*r:-1!==e.indexOf("ccw")&&0<a&&(a=(a-3599999999640)%r-(0|a/r)*r)),o=t+a),o<1e-6&&-1e-6<o&&(o=0),o},he={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},de=function(e,t,i){return 0|255*(6*(e=e<0?e+1:1<e?e-1:e)<1?t+6*(i-t)*e:e<.5?i:3*e<2?t+6*(i-t)*(2/3-e):t)+.5},ce=V.parseColor=function(e){var t,i,s,r,n,a;return e&&""!==e?"number"==typeof e?[e>>16,255&e>>8,255&e]:(","===e.charAt(e.length-1)&&(e=e.substr(0,e.length-1)),he[e]?he[e]:"#"===e.charAt(0)?(4===e.length&&(e="#"+(t=e.charAt(1))+t+(i=e.charAt(2))+i+(s=e.charAt(3))+s),[(e=parseInt(e.substr(1),16))>>16,255&e>>8,255&e]):("hsl"===e.substr(0,3)?(e=e.match(P),r=Number(e[0])%360/360,n=Number(e[1])/100,t=2*(a=Number(e[2])/100)-(i=a<=.5?a*(n+1):a+n-a*n),3<e.length&&(e[3]=Number(e[3])),e[0]=de(r+1/3,t,i),e[1]=de(r,t,i),e[2]=de(r-1/3,t,i)):((e=e.match(P)||he.transparent)[0]=Number(e[0]),e[1]=Number(e[1]),e[2]=Number(e[2]),3<e.length&&(e[3]=Number(e[3]))
1),e)):he.black},ue="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";for(e in he)ue+="|"+e+"\\b";ue=RegExp(ue+")","gi");var pe=function(e,t,n,a){if(null==e)return function(e){return e};var o,l=t?(e.match(ue)||[""])[0]:"",h=e.split(l).join("").match(y)||[],d=e.substr(0,e.indexOf(h[0])),c=")"===e.charAt(e.length-1)?")":"",u=-1!==e.indexOf(" ")?" ":",",p=h.length,f=0<p?h[0].replace(P,""):"";return p?o=t?function(e){var t,i,s,r;if("number"==typeof e)e+=f;else if(a&&D.test(e)){for(r=e.replace(D,"|").split("|"),s=0;r.length>s;s++)r[s]=o(r[s]);return r.join(",")}if(t=(e.match(ue)||[l])[0],s=(i=e.split(t).join("").match(y)||[]).length,p>s--)for(;p>++s;)i[s]=n?i[0|(s-1)/2]:h[s];return d+i.join(u)+u+t+c+(-1!==e.indexOf("inset")?" inset":"")}:function(e){var t,i,s;if("number"==typeof e)e+=f;else if(a&&D.test(e)){for(i=e.replace(D,"|").split("|"),s=0;i.length>s;s++)i[s]=o(i[s]);return i.join(",")}if(s=(t=e.match(y)||[]).length,p>s--)for(;p>++s;)t[s]=n?t[0|(s-1)/2]:h[s];return d+t.join(u)+c}:function(e){return e}},fe=function(h){return h=h.split(","),function(e,t,i,s,r,n,a){var o,l=(t+"").split(" ");for(a={},o=0;o<4;o++)a[h[o]]=l[o]=l[o]||l[(o-1)/2>>0];return s.parse(e,a,r,n)}},me=(r._setPluginRatio=function(e){this.plugin.setRatio(e);for(var t,i,s,r,n=this.data,a=n.proxy,o=n.firstMPT;o;)t=a[o.v],o.r?t=Math.round(t):t<1e-6&&-1e-6<t&&(t=0),o.t[o.p]=t,o=o._next;if(n.autoRotate&&(n.autoRotate.rotation=a.rotation),1===e)for(o=n.firstMPT;o;){if((i=o.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,s=1;i.l>s;s++)r+=i["xn"+s]+i["xs"+(s+1)];i.e=r}}else i.e=i.s+i.xs0;o=o._next}},function(e,t,i,s,r){this.t=e,this.p=t,this.v=i,this.r=r,s&&((s._prev=this)._next=s)}),ge=(r._parseToProxy=function(e,t,i,s,r,n){var a,o,l,h,d,c=s,u={},p={},f=i._transform,m=S;for(i._transform=null,S=t,s=d=i.parse(e,t,s,r),S=m,n&&(i._transform=f,c&&(c._prev=null,c._prev&&(c._prev._next=null)));s&&s!==c;){if(s.type<=1&&(p[o=s.p]=s.s+s.c,u[o]=s.s,n||(h=new me(s,"s",o,h,s.r),s.c=0),1===s.type))for(a=s.l;0<--a;)l="xn"+a,p[o=s.p+"_"+l]=s.data[l],u[o]=s[l],n||(h=new me(s,l,o,h,s.rxp[l]));s=s._next}return{proxy:u,end:p,firstMPT:h,pt:d}},r.CSSPropTween=function(e,t,i,s,r,n,a,o,l,h,d){this.t=e,this.p=t,this.s=i,this.c=s,this.n=a||t,e instanceof ge||p.push(this.n),this.r=o,this.type=n||0,l&&(this.pr=l,f=!0),this.b=void 0===h?i:h,this.e=void 0===d?i+s:d,r&&((this._next=r)._prev=this)}),ve=V.parseComplex=function(e,t,i,s,r,n,a,o,l,h){a=new ge(e,t,0,0,a,h?2:1,null,!1,o,i=i||n||"",s),s+="";var d,c,u,p,f,m,g,v,_,y,w,b,x=i.split(", ").join(",").split(" "),T=s.split(", ").join(",").split(" "),S=x.length,E=!1!==C;for((-1!==s.indexOf(",")||-1!==i.indexOf(","))&&(x=x.join(" ").replace(D,", ").split(" "),T=T.join(" ").replace(D,", ").split(" "),S=x.length),S!==T.length&&(S=(x=(n||"").split(" ")).length),a.plugin=l,a.setRatio=h,d=0;d<S;d++)if(p=x[d],f=T[d],(v=parseFloat(p))||0===v)a.appendXtra("",v,ae(f,v),f.replace(M,""),E&&-1!==f.indexOf("px"),!0);else if(r&&("#"===p.charAt(0)||he[p]||R.test(p)))b=","===f.charAt(f.length-1)?"),":")",p=ce(p),f=ce(f),(_=6<p.length+f.length)&&!X&&0===f[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(T[d]).join("transparent")):(X||(_=!1),a.appendXtra(_?"rgba(":"rgb(",p[0],f[0]-p[0],",",!0,!0).appendXtra("",p[1],f[1]-p[
11],",",!0).appendXtra("",p[2],f[2]-p[2],_?",":b,!0),_&&(p=p.length<4?1:p[3],a.appendXtra("",p,(f.length<4?1:f[3])-p,b,!1)));else if(m=p.match(P)){if(!(g=f.match(M))||g.length!==m.length)return a;for(c=u=0;m.length>c;c++)w=m[c],y=p.indexOf(w,u),a.appendXtra(p.substr(u,y-u),Number(w),ae(g[c],w),"",E&&"px"===p.substr(y+w.length,2),0===c),u=y+w.length;a["xs"+a.l]+=p.substr(u)}else a["xs"+a.l]+=a.l?" "+p:p;if(-1!==s.indexOf("=")&&a.data){for(b=a.xs0+a.data.s,d=1;a.l>d;d++)b+=a["xs"+d]+a.data["xn"+d];a.e=b+a["xs"+d]}return a.l||(a.type=-1,a.xs0=a.e),a.xfirst||a},_e=9;for((e=ge.prototype).l=e.pr=0;0<--_e;)e["xn"+_e]=0,e["xs"+_e]="";e.xs0="",e._next=e._prev=e.xfirst=e.data=e.plugin=e.setRatio=e.rxp=null,e.appendXtra=function(e,t,i,s,r,n){var a=this,o=a.l;return a["xs"+o]+=n&&o?" "+e:e||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=s||"",0<o?(a.data["xn"+o]=t+i,a.rxp["xn"+o]=r,a["xn"+o]=t,a.plugin||(a.xfirst=new ge(a,"xn"+o,t,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0)):(a.data={s:t+i},a.rxp={},a.s=t,a.c=i,a.r=r)):a["xs"+o]+=t+(s||""),a};var ye=function(e,t){t=t||{},this.p=t.prefix&&U(e)||e,m[e]=m[this.p]=this,this.format=t.formatter||pe(t.defaultValue,t.color,t.collapsible,t.multi),t.parser&&(this.parse=t.parser),this.clrs=t.color,this.multi=t.multi,this.keyword=t.keyword,this.dflt=t.defaultValue,this.pr=t.priority||0},we=r._registerComplexSpecialProp=function(e,t,i){"object"!=typeof t&&(t={parser:i});var s,r=e.split(","),n=t.defaultValue;for(i=i||[n],s=0;r.length>s;s++)t.prefix=0===s&&t.prefix,t.defaultValue=i[s]||n,new ye(r[s],t)};(e=ye.prototype).parseComplex=function(e,t,i,s,r,n){var a,o,l,h,d,c=this.keyword;if(this.multi&&(D.test(i)||D.test(t)?(o=t.replace(D,"|").split("|"),l=i.replace(D,"|").split("|")):c&&(o=[t],l=[i])),l){for(h=l.length>o.length?l.length:o.length,a=0;a<h;a++)t=o[a]=o[a]||this.dflt,i=l[a]=l[a]||this.dflt,c&&(t.indexOf(c)!==(d=i.indexOf(c))&&((i=-1===d?l:o)[a]+=" "+c));t=o.join(", "),i=l.join(", ")}return ve(e,this.p,t,i,this.clrs,this.dflt,s,this.pr,r,n)},e.parse=function(e,t,i,s,r,n){return this.parseComplex(e.style,this.format(Z(e,this.p,j,!1,this.dflt)),this.format(t),r,n)},V.registerSpecialProp=function(e,o,l){we(e,{parser:function(e,t,i,s,r,n){var a=new ge(e,i,0,0,r,2,i,!1,l);return a.plugin=n,a.setRatio=o(e,t,s._tween,i),a},priority:l})};var be,xe,Te,Se,Ee,Ce="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Pe=U("transform"),Me=H+"transform",ke=U("transformOrigin"),ze=null!==U("perspective"),Re=r.Transform=function(){this.perspective=parseFloat(V.defaultTransformPerspective)||0,this.force3D=!(!1===V.defaultForce3D||!ze)&&(V.defaultForce3D||"auto")},Oe=window.SVGElement,Ae=function(e,t,i){var s,r=L.createElementNS("http://www.w3.org/2000/svg",e),n=/([a-z])([A-Z])/g;for(s in i)r.setAttributeNS(null,s.replace(n,"$1-$2").toLowerCase(),i[s]);return t.appendChild(r),r},De=document.documentElement,Ie=(Ee=E||/Android/i.test(F)&&!window.chrome,L.createElementNS&&!Ee&&(xe=Ae("svg",De),Se=(Te=Ae("rect",xe,{width:100,height:50,x:100})).getBoundingClientRect().width,Te.style[ke]="50% 50%",Te.style[Pe]="scaleX(0.5)",Ee=Se===Te.getBoundingClientRect().width&&!(O&&ze),De.removeChild(xe)),Ee),Le=function(e,t,i){var s=e.getBBox();t=ne(t).split(" "),i.xOrigin=(-1!==t[0].indexOf("%")?parseFloat(t[0])/100*s.width:parseFloat(t[0]))+s.x,i.yOrigin=(-1!==t[1].indexOf("%")?parseFloat(t[1])/100*s.height:parseFloat(t[1]))+s.y},Ne=r.getTransform=function(e,t,i,s){if(e._gsTransform&&i&&!s)return e._gsTransform;var r,n,a,o,l,h,d,c,u,p,f=i&&e._gsTransform||new Re,m=f.scaleX<0,g=1e5,v=ze&&(parseFloat(Z(e,ke,t,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(V.defaultTransformPerspective)||0;if(Pe?n=Z(e,Me,t,!0):e.currentStyle&&(n=(n=e.currentStyle.filter.match(W))&&4===n.length?[n[0].substr(4),Number(n[2].substr(4)),Number(n[1].substr(4)),n[3].substr(4),f.x||0,f.y||0].join(","):""),r=!n||"none"===n||"matrix(1, 0, 0, 1, 0, 0)"===n,f.svg=!!(Oe&&"function"==typeof e.getBBox&&e.getCTM&&(!e.parentNode||e.parentNode.getBBox&&e.parentNode.getCTM)),f.svg&&(Le(e,Z(e,ke,j,!1,"50% 50%")+"",f),be=V.useSVGTransformAttr||Ie,a=e.getAttribute("transform"),r&&a&&-1!==a.indexOf("matrix")&&(n=a,r=0)),!r){for(o=(a=(n||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[]).length;-1<--o;)l=Number(a[o]),a[o]=(h=l-(l|=0))?(0|h*g+(h<0?-.5:.5))/g+l:l;if(16===a.length){var y,w,b,x,T,S=a[0],E=a[1],C=a[2],P=a[3],M=a[4],k=a[5],z=a[6],R=a[7],O=a[8],A=a[9],D=a[10],I=a[12],L=a[13],N=a[14],$=a[11],F=Math.atan2(z,D);f.zOrigin&&(I=O*(N=-f.zOrigin)-a[12],L=A*N-a[13],N=D*N+f.zOrigin-a[14]),f.rotationX=F*q,F&&(y=M*(x=Math.cos(-F))+O*(T=Math.sin(-F)),w=k*x+A*T,b=z*x+D*T,O=M*-T+O*x,A=k*-T+A*x,D=z*-T+D*x,$=R*-T+$*x,M=y,k=w,z=b),F=Math.atan2(O,D),f.rotationY=F*q,F&&(w=E*(x=Math.cos(-F))-A*(T=Math.sin(-F)),b=C*x-D*T,A=E*T+A*x,D=C*T+D*x,$=P*T+$*x,S=y=S*x-O*T,E=w,C=b),F=Math.atan2(E,S),f.rotation=F*q,F&&(S=S*(x=Math.cos(-F))+M*(T=Math.sin(-F)),w=E*x+k*T,k=E*-T+k*x,z=C*-T+z*x,E=w),f.rotationX&&359.9<Math.abs(f.rotationX)+Math.abs(f.rotation)&&(f.rotationX=f.rotation=0,f.rotationY+=180),f.scaleX=(0|Math.sqrt(S*S+E*E)*g+.5)/g,f.scaleY=(0|Math.sqrt(k*k+A*A)*g+.5)/g,f.scaleZ=(0|Math.sqrt(z*z+D*D)*g+.5)/g,f.skewX=0,f.perspective=$?1/($<0?-$:$):0,f.x=I,f.y=L,f.z=N}else if(!(ze&&!s&&a.length&&f.x===a[4]&&f.y===a[5]&&(f.rotationX||f.rotationY)||void 0!==f.x&&"none"===Z(e,"display",t))){var X=6<=a.length,Y=X?a[0]:1,B=a[1]||0,H=a[2]||0,G=X?a[3]:1;f.x=a[4]||0,f.y=a[5]||0,d=Math.sqrt(Y*Y+B*B),c=Math.sqrt(G*G+H*H),u=Y||B?Math.atan2(B,Y)*q:f.rotation||0,p=H||G?Math.atan2(H,G)*q+u:f.skewX||0,90<Math.abs(p)&&Math.abs(p)<270&&(m?(d*=-1,p+=u<=0?180:-180,u+=u<=0?180:-180):(c*=-1,p+=p<=0?180:-180)),f.scaleX=d,f.scaleY=c,f.rotation=u,f.skewX=p,ze&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1)}for(o in f.zOrigin=v,f)f[o]<2e-5&&-2e-5<f[o]&&(f[o]=0)}return i&&(e._gsTransform=f),f},$e=function(e){var t,i,s=this.data,r=-s.rotation*I,n=r+s.skewX*I,a=1e5,o=(0|Math.cos(r)*s.scaleX*a)/a,l=(0|Math.sin(r)*s.scaleX*a)/a,h=(0|Math.sin(n)*-s.scaleY*a)/a,d=(0|Math.cos(n)*s.scaleY*a)/a,c=this.t.style,u=this.t.currentStyle;if(u){i=l,l=-h,h=-i,t=u.filter,c.filter="";var p,f,m=this.t.offsetWidth,g=this.t.offsetHeight,v="absolute"!==u.position,_="progid:DXImageTransform.Microsoft.Matrix(M11="+o+", M12="+l+", M21="+h+", M22="+d,y=s.x+m*s.xPercent/100,w=s.y+g*s.yPercent/100;if(null!=s.ox&&(y+=(p=(s.oxp?.01*m*s.ox:s.ox)-m/2)-(p*o+(f=(s.oyp?.01*g*s.oy:s.oy)-g/2)*l),w+=f-(p*h+f*d)),v?_+=", Dx="+((p=m/2)-(p*o+(f=g/2)*l)+y)+", Dy="+(f-(p*h+f*d)+w)+")":_+=", sizingMethod='auto expand')",c.filter=-1!==t.indexOf("DXImageTransform.Microsoft.Matrix(")?t.replace(A,_):_+" "+t,(0===e||1===e)&&1===o&&0===l&&0===h&&1===d&&(v&&-1===_.indexOf("Dx=0, Dy=0")||z.test(t)&&
1100!==parseFloat(RegExp.$1)||-1===t.indexOf(t.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var b,x,T,S=E<8?1:-1;for(p=s.ieOffsetX||0,f=s.ieOffsetY||0,s.ieOffsetX=Math.round((m-((o<0?-o:o)*m+(l<0?-l:l)*g))/2+y),s.ieOffsetY=Math.round((g-((d<0?-d:d)*g+(h<0?-h:h)*m))/2+w),_e=0;_e<4;_e++)T=(i=-1!==(b=u[x=se[_e]]).indexOf("px")?parseFloat(b):K(this.t,x,parseFloat(b),b.replace(k,""))||0)!==s[x]?_e<2?-s.ieOffsetX:-s.ieOffsetY:_e<2?p-s.ieOffsetX:f-s.ieOffsetY,c[x]=(s[x]=Math.round(i-T*(0===_e||2===_e?1:S)))+"px"}}},Fe=r.set3DTransformRatio=function(e){var t,i,s,r,n,a,o,l,h,d,c,u,p,f,m,g,v,_,y,w,b,x=this.data,T=this.t.style,S=x.rotation*I,E=x.scaleX,C=x.scaleY,P=x.scaleZ,M=x.x,k=x.y,z=x.z,R=x.perspective;if(1!==e&&0!==e&&x.force3D||!0===x.force3D||x.rotationY||x.rotationX||1!==P||R||z){if(O&&((f=1e-4)>E&&-f<E&&(E=P=2e-5),C<f&&-f<C&&(C=P=2e-5),!R||x.z||x.rotationX||x.rotationY||(R=0)),S||x.skewX)m=t=Math.cos(S),g=r=Math.sin(S),x.skewX&&(S-=x.skewX*I,m=Math.cos(S),g=Math.sin(S),"simple"===x.skewType&&(v=Math.tan(x.skewX*I),m*=v=Math.sqrt(1+v*v),g*=v)),i=-g,n=m;else{if(!(x.rotationY||x.rotationX||1!==P||R||x.svg))return void(T[Pe]=(x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) translate3d(":"translate3d(")+M+"px,"+k+"px,"+z+"px)"+(1!==E||1!==C?" scale("+E+","+C+")":""));t=n=1,i=r=0}h=1,s=a=o=l=d=c=0,u=R?-1/R:0,p=x.zOrigin,f=1e-6,w=",",b="0",(S=x.rotationY*I)&&(m=Math.cos(S),d=u*(o=-(g=Math.sin(S))),s=t*g,a=r*g,u*=h=m,t*=m,r*=m),(S=x.rotationX*I)&&(v=i*(m=Math.cos(S))+s*(g=Math.sin(S)),_=n*m+a*g,l=h*g,c=u*g,s=i*-g+s*m,a=n*-g+a*m,h*=m,u*=m,i=v,n=_),1!==P&&(s*=P,a*=P,h*=P,u*=P),1!==C&&(i*=C,n*=C,l*=C,c*=C),1!==E&&(t*=E,r*=E,o*=E,d*=E),(p||x.svg)&&(p&&(M+=s*-p,k+=a*-p,z+=h*-p+p),x.svg&&(M+=x.xOrigin-(x.xOrigin*t+x.yOrigin*i),k+=x.yOrigin-(x.xOrigin*r+x.yOrigin*n)),M<f&&-f<M&&(M=b),k<f&&-f<k&&(k=b),z<f&&-f<z&&(z=0)),y=x.xPercent||x.yPercent?"translate("+x.xPercent+"%,"+x.yPercent+"%) matrix3d(":"matrix3d(",y+=(t<f&&-f<t?b:t)+w+(r<f&&-f<r?b:r)+w+(o<f&&-f<o?b:o),y+=w+(d<f&&-f<d?b:d)+w+(i<f&&-f<i?b:i)+w+(n<f&&-f<n?b:n),x.rotationX||x.rotationY?(y+=w+(l<f&&-f<l?b:l)+w+(c<f&&-f<c?b:c)+w+(s<f&&-f<s?b:s),y+=w+(a<f&&-f<a?b:a)+w+(h<f&&-f<h?b:h)+w+(u<f&&-f<u?b:u)+w):y+=",0,0,0,0,1,0,",y+=M+w+k+w+z+w+(R?1+-z/R:1)+")",T[Pe]=y}else Xe.call(this,e)},Xe=r.set2DTransformRatio=function(e){var t,i,s,r,n,a,o,l,h,d,c=this.data,u=this.t,p=u.style,f=c.x,m=c.y;return!(c.rotationX||c.rotationY||c.z||!0===c.force3D||"auto"===c.force3D&&1!==e&&0!==e)||c.svg&&be||!ze?(r=c.scaleX,n=c.scaleY,void(c.rotation||c.skewX||c.svg?(i=(t=c.rotation*I)-c.skewX*I,s=1e5,a=Math.cos(t)*r,o=Math.sin(t)*r,l=Math.sin(i)*-n,h=Math.cos(i)*n,c.svg&&(1e-6>(f+=c.xOrigin-(c.xOrigin*a+c.yOrigin*l))&&-1e-6<f&&(f=0),(m+=c.yOrigin-(c.xOrigin*o+c.yOrigin*h))<1e-6&&-1e-6<m&&(m=0)),d=(0|a*s)/s+","+(0|o*s)/s+","+(0|l*s)/s+","+(0|h*s)/s+","+f+","+m+")",c.svg&&be?u.setAttribute("transform","matrix("+d):p[Pe]=(c.xPercent||c.yPercent?"translate("+c.xPercent+"%,"+c.yPercent+"%) matrix(":"matrix(")+d):p[Pe]=(c.xPercent||c.yPercent?"translate("+c.xPercent+"%,"+c.yPercent+"%) matrix(":"matrix(")+r+",0,0,"+n+","+f+","+m+")")):void(this.setRatio=Fe).call(this,e)};(e=Re.prototype).x=e.y=e.z=e.skewX=e.skewY=e.rotation=e.rotationX=e.rotationY=e.zOrigin=e.xPercent=e.yPercent=0,e.scaleX=e.scaleY=e.scaleZ=1,we("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent",{parser:function(e,t,i,s,r,n,a){if(s._lastParsedTransform===a)return r;s._lastParsedTransform=a;var o,l,h,d,c,u,p,f=s._transform=Ne(e,j,!0,a.parseTransform),m=e.style,g=Ce.length,v=a,_={};if("string"==typeof v.transform&&Pe)(h=N.style)[Pe]=v.transform,h.display="block",h.position="absolute",L.body.appendChild(N),o=Ne(N,null,!1),L.body.removeChild(N);else if("object"==typeof v){if(o={scaleX:oe(null!=v.scaleX?v.scaleX:v.scale,f.scaleX),scaleY:oe(null!=v.scaleY?v.scaleY:v.scale,f.scaleY),scaleZ:oe(v.scaleZ,f.scaleZ),x:oe(v.x,f.x),y:oe(v.y,f.y),z:oe(v.z,f.z),xPercent:oe(v.xPercent,f.xPercent),yPercent:oe(v.yPercent,f.yPercent),perspective:oe(v.transformPerspective,f.perspective)},null!=(p=v.directionalRotation))if("object"==typeof p)for(h in p)v[h]=p[h];else v.rotation=p;"string"==typeof v.x&&-1!==v.x.indexOf("%")&&(o.x=0,o.xPercent=oe(v.x,f.xPercent)),"string"==typeof v.y&&-1!==v.y.indexOf("%")&&(o.y=0,o.yPercent=oe(v.y,f.yPercent)),o.rotation=le("rotation"in v?v.rotation:"shortRotation"in v?v.shortRotation+"_short":"rotationZ"in v?v.rotationZ:f.rotation,f.rotation,"rotation",_),ze&&(o.rotationX=le("rotationX"in v?v.rotationX:"shortRotationX"in v?v.shortRotationX+"_short":f.rotationX||0,f.rotationX,"rotationX",_),o.rotationY=le("rotationY"
1in v?v.rotationY:"shortRotationY"in v?v.shortRotationY+"_short":f.rotationY||0,f.rotationY,"rotationY",_)),o.skewX=null==v.skewX?f.skewX:le(v.skewX,f.skewX),o.skewY=null==v.skewY?f.skewY:le(v.skewY,f.skewY),(l=o.skewY-f.skewY)&&(o.skewX+=l,o.rotation+=l)}for(ze&&null!=v.force3D&&(f.force3D=v.force3D,u=!0),f.skewType=v.skewType||f.skewType||V.defaultSkewType,(c=f.force3D||f.z||f.rotationX||f.rotationY||o.z||o.rotationX||o.rotationY||o.perspective)||null==v.scale||(o.scaleZ=1);-1<--g;)(1e-6<(d=o[i=Ce[g]]-f[i])||d<-1e-6||null!=v[i]||null!=S[i])&&(u=!0,r=new ge(f,i,f[i],d,r),i in _&&(r.e=_[i]),r.xs0=0,r.plugin=n,s._overwriteProps.push(r.n));return(d=v.transformOrigin)&&f.svg&&(Le(e,ne(d),o),(r=new ge(f,"xOrigin",f.xOrigin,o.xOrigin-f.xOrigin,r,-1,"transformOrigin")).b=f.xOrigin,r.e=r.xs0=o.xOrigin,(r=new ge(f,"yOrigin",f.yOrigin,o.yOrigin-f.yOrigin,r,-1,"transformOrigin")).b=f.yOrigin,r.e=r.xs0=o.yOrigin,d="0px 0px"),(d||ze&&c&&f.zOrigin)&&(Pe?(u=!0,i=ke,d=(d||Z(e,i,j,!1,"50% 50%"))+"",(r=new ge(m,i,0,0,r,-1,"transformOrigin")).b=m[i],r.plugin=n,ze?(h=f.zOrigin,d=d.split(" "),f.zOrigin=(2<d.length&&(0===h||"0px"!==d[2])?parseFloat(d[2]):h)||0,r.xs0=r.e=d[0]+" "+(d[1]||"50%")+" 0px",(r=new ge(f,"zOrigin",0,0,r,-1,r.n)).b=h,r.xs0=r.e=f.zOrigin):r.xs0=r.e=d):ne(d+"",f)),u&&(s._transformType=f.svg&&be||!c&&3!==this._transformType?2:3),r},prefix:!0}),we("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),we("borderRadius",{defaultValue:"0px",parser:function(e,t,i,s,r){t=this.format(t);var n,a,o,l,h,d,c,u,p,f,m,g,v,_,y,w,b=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],x=e.style;for(p=parseFloat(e.offsetWidth),f=parseFloat(e.offsetHeight),n=t.split(" "),a=0;b.length>a;a++)this.p.indexOf("border")&&(b[a]=U(b[a])),-1!==(h=l=Z(e,b[a],j,!1,"0px")).indexOf(" ")&&(h=(l=h.split(" "))[0],l=l[1]),d=o=n[a],c=parseFloat(h),g=h.substr((c+"").length),(v="="===d.charAt(1))?(u=parseInt(d.charAt(0)+"1",10),d=d.substr(2),u*=parseFloat(d),m=d.substr((u+"").length-(u<0?1:0))||""):(u=parseFloat(d),m=d.substr((u+"").length)),""===m&&(m=T[i]||g),m!==g&&(_=K(e,"borderLeft",c,g),y=K(e,"borderTop",c,g),"%"===m?(h=_/p*100+"%",l=y/f*100+"%"):"em"===m?(h=_/(w=K(e,"borderLeft",1,"em"))+"em",l=y/w+"em"):(h=_+"px",l=y+"px"),v&&(d=parseFloat(h)+u+m,o=parseFloat(l)+u+m)),r=ve(x,b[a],h+" "+l,d+" "+o,!1,"0px",r);return r},prefix:!0,formatter:pe("0px 0px 0px 0px",!1,!0)}),we("backgroundPosition",{defaultValue:"0 0",parser:function(e,t,i,s,r,n){var a,o,l,h,d,c,u="background-position",p=j||Q(e,null),f=this.format((p?E?p.getPropertyValue(u+"-x")+" "+p.getPropertyValue(u+"-y"):p.getPropertyValue(u):e.currentStyle.backgroundPositionX+" "+e.currentStyle.backgroundPositionY)||"0 0"),m=this.format(t);if(-1!==f.indexOf("%")!=(-1!==m.indexOf("%"))&&(c=Z(e,"backgroundImage").replace(b,""))&&"none"!==c){for(a=f.split(" "),o=m.split(" "),$.setAttribute("src",c),l=2;-1<--l;)(h=-1!==(f=a[l]).indexOf("%"))!=(-1!==o[l].indexOf("%"))&&(d=0===l?e.offsetWidth-$.width:e.offsetHeight-$.height,a[l]=h?parseFloat(f)/100*d+"px":parseFloat(f)/d*100+"%");f=a.join(" ")}return this.parseComplex(e.style,f,m,r,n)},formatter:ne}),we("backgroundSize",{defaultValue:"0 0",formatter:ne}),we("perspective",{defaultValue:"0px",prefix:!0}),we("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),we("transformStyle",{prefix:!0}),we("backfaceVisibility",{prefix:!0}),we("userSelect",{prefix:!0}),we("margin",{parser:fe("marginTop,marginRight,marginBottom,marginLeft")}),we("padding",{parser:fe("paddingTop,paddingRight,paddingBottom,paddingLeft")}),we("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(e,t,i,s,r,n){var a,o,l;return E<9?(o=e.currentStyle,l=E<8?" ":",",a="rect("+o.clipTop+l+o.clipRight+l+o.clipBottom+l+o.clipLeft+")",t=this.format(t).split(",").join(l)):(a=this.format(Z(e,this.p,j,!1,this.dflt)),t=this.format(t)),this.parseComplex(e.style,a,t,r,n)}}),we("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),we("autoRound,strictUnits",{parser:function(e,t,i,s,r){return r}}),we("border",{defaultValue:"0px solid #000",parser:function(e,t,i,s,r,n){return this.parseComplex(e.style,this.format(Z(e,"borderTopWidth",j,!1,"0px")+" "+Z(e,"borderTopStyle",j,!1,"solid")+" "+Z(e,"borderTopColor",j,!1,"#000")),this.format(t),r,n)},color:!0,formatter:function(e){var t=e.split(" ");return t[0]+" "+(t[1]||"solid")+" "+(e.match(ue)||["#000"])[0]}}),we("borderWidth",{parser:fe("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),we("float,cssFloat,styleFloat",{parser:function(e,t,i,s,r){var n=e.style,a="cssFloat"in n?"cssFloat":"styleFloat";return new ge(n,a,0,0,r,-1,i,!1,0,n[a],t)}});var Ye=function(e){var t,i=this.t,s=i.filter||Z(this.data,"filter")||"",r=0|this.s+this.c*e;
1100===r&&(-1===s.indexOf("atrix(")&&-1===s.indexOf("radient(")&&-1===s.indexOf("oader(")?(i.removeAttribute("filter"),t=!Z(this.data,"filter")):(i.filter=s.replace(a,""),t=!0)),t||(this.xn1&&(i.filter=s=s||"alpha(opacity="+r+")"),-1===s.indexOf("pacity")?0===r&&this.xn1||(i.filter=s+" alpha(opacity="+r+")"):i.filter=s.replace(z,"opacity="+r))};we("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(e,t,i,s,r,n){var a=parseFloat(Z(e,"opacity",j,!1,"1")),o=e.style,l="autoAlpha"===i;return"string"==typeof t&&"="===t.charAt(1)&&(t=("-"===t.charAt(0)?-1:1)*parseFloat(t.substr(2))+a),l&&1===a&&"hidden"===Z(e,"visibility",j)&&0!==t&&(a=0),X?r=new ge(o,"opacity",a,t-a,r):((r=new ge(o,"opacity",100*a,100*(t-a),r)).xn1=l?1:0,o.zoom=1,r.type=2,r.b="alpha(opacity="+r.s+")",r.e="alpha(opacity="+(r.s+r.c)+")",r.data=e,r.plugin=n,r.setRatio=Ye),l&&((r=new ge(o,"visibility",0,0,r,-1,null,!1,0,0!==a?"inherit":"hidden",0===t?"hidden":"inherit")).xs0="inherit",s._overwriteProps.push(r.n),s._overwriteProps.push(i)),r}});var Be=function(e,t){t&&(e.removeProperty?("ms"===t.substr(0,2)&&(t="M"+t.substr(1)),e.removeProperty(t.replace(o,"-$1").toLowerCase())):e.removeAttribute(t))},He=function(e){if(this.t._gsClassPT=this,1===e||0===e){this.t.setAttribute("class",0===e?this.b:this.e);for(var t=this.data,i=this.t.style;t;)t.v?i[t.p]=t.v:Be(i,t.p),t=t._next;1===e&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};we("className",{parser:function(e,t,i,s,r,n,a){var o,l,h,d,c,u=e.getAttribute("class")||"",p=e.style.cssText;if((r=s._classNamePT=new ge(e,i,0,0,r,2)).setRatio=He,r.pr=-11,f=!0,r.b=u,l=ee(e,j),h=e._gsClassPT){for(d={},c=h.data;c;)d[c.p]=1,c=c._next;h.setRatio(1)}return(e._gsClassPT=r).e="="!==t.charAt(1)?t:u.replace(RegExp("\\s*\\b"+t.substr(2)+"\\b"),"")+("+"===t.charAt(0)?" "+t.substr(2):""),s._tween._duration&&(e.setAttribute("class",r.e),o=te(e,l,ee(e),a,d),e.setAttribute("class",u),r.data=o.firstMPT,e.style.cssText=p,r=r.xfirst=s.parse(e,o.difs,r,n)),r}});var Ge=function(e){if((1===e||0===e)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var t,i,s,r,n=this.t.style,a=m.transform.parse;if("all"===this.e)r=!(n.cssText="");else for(s=(t=this.e.split(" ").join("").split(",")).length;-1<--s;)i=t[s],m[i]&&(m[i].parse===a?r=!0:i="transformOrigin"===i?ke:m[i].p),Be(n,i);r&&(Be(n,Pe),this.t._gsTransform&&delete this.t._gsTransform)}};for(we("clearProps",{parser:function(e,t,i,s,r){return(r=new ge(e,i,0,0,r,2)).setRatio=Ge,r.e=t,r.pr=-10,r.data=s._tween,f=!0,r}}),e="bezier,throwProps,physicsProps,physics2D".split(","),_e=e.length;_e--;)!function(e){if(!m[e]){var l=e.charAt(0).toUpperCase()+e.substr(1)+"Plugin";we(e,{parser:function(e,t,i,s,r,n,a){var o=h.com.greensock.plugins[l];return o?(o._cssRegister(),m[i].parse(e,t,i,s,r,n,a)):(B("Error: "+l+" js file not loaded."),r)}})}}(e[_e]);(e=V.prototype)._firstPT=e._lastParsedTransform=e._transform=null,e._onInitTween=function(e,t,i){if(!e.nodeType)return!1;this._target=e,this._tween=i,this._vars=t,C=t.autoRound,f=!1,T=t.suffixMap||V.suffixMap,j=Q(e,""),p=this._overwriteProps;var s,r,n,a,o,l,h,d,c,u=e.style;if(g&&""===u.zIndex&&("auto"===(s=Z(e,"zIndex",j))||""===s)&&this._addLazySet(u,"zIndex",0),"string"==typeof t&&(a=u.cssText,s=ee(e,j),u.cssText=a+";"+t,s=te(e,s,ee(e)).difs,!X&&w.test(t)&&(s.opacity=parseFloat(RegExp.$1)),t=s,u.cssText=a),this._firstPT=r=this.parse(e,t,null),this._transformType){for(c=3===this._transformType,Pe?v&&(g=!0,""===u.zIndex&&("auto"===(h=Z(e,"zIndex",j))||""===h)&&this._addLazySet(u,"zIndex",0),_&&this._addLazySet(u,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))):u.zoom=1,n=r;n&&n._next;)n=n._next;d=new ge(e,"transform",0,0,null,2),this._linkCSSP(d,null,n),d.setRatio=c&&ze?Fe:Pe?Xe:$e,d.data=this._transform||Ne(e,j,!0),p.pop()}if(f){for(;r;){for(l=r._next,n=a;n&&n.pr>r.pr;)n=n._next;(r._prev=n?n._prev:o)?r._prev._next=r:a=r,(r._next=n)?n._prev=r:o=r,r=l}this._firstPT=a}return!0},e.parse=function(e,t,i,s){var r,n,a,o,l,h,d,c,u,p,f=e.style;for(r in t)h=t[r],(n=m[r])?i=n.parse(e,h,r,this,i,s,t):(l=Z(e,r,j)+"",u="string"==typeof h,"color"===r||"fill"===r||"stroke"===r||-1!==r.indexOf("Color")||u&&R.test(h)?(u||(h=(3<(h=ce(h)
1).length?"rgba(":"rgb(")+h.join(",")+")"),i=ve(f,r,l,h,!0,"transparent",i,0,s)):!u||-1===h.indexOf(" ")&&-1===h.indexOf(",")?(d=(a=parseFloat(l))||0===a?l.substr((a+"").length):"",(""===l||"auto"===l)&&("width"===r||"height"===r?(a=re(e,r,j),d="px"):"left"===r||"top"===r?(a=J(e,r,j),d="px"):(a="opacity"!==r?0:1,d="")),(p=u&&"="===h.charAt(1))?(o=parseInt(h.charAt(0)+"1",10),h=h.substr(2),o*=parseFloat(h),c=h.replace(k,"")):(o=parseFloat(h),c=u?h.replace(k,""):""),""===c&&(c=r in T?T[r]:d),h=o||0===o?(p?o+a:o)+c:t[r],d!==c&&""!==c&&(o||0===o)&&a&&(a=K(e,r,a,d),"%"===c?(a/=K(e,r,100,"%")/100,!0!==t.strictUnits&&(l=a+"%")):"em"===c?a/=K(e,r,1,"em"):"px"!==c&&(o=K(e,r,o,c),c="px"),p&&(o||0===o)&&(h=o+a+c)),p&&(o+=a),!a&&0!==a||!o&&0!==o?void 0!==f[r]&&(h||"NaN"!=h+""&&null!=h)?(i=new ge(f,r,o||a||0,0,i,-1,r,!1,0,l,h)).xs0="none"!==h||"display"!==r&&-1===r.indexOf("Style")?h:l:B("invalid "+r+" tween value: "+t[r]):(i=new ge(f,r,a,o-a,i,0,r,!1!==C&&("px"===c||"zIndex"===r),0,l,h)).xs0=c):i=ve(f,r,l,h,!0,null,i,0,s)),s&&i&&!i.plugin&&(i.plugin=s);return i},e.setRatio=function(e){var t,i,s,r=this._firstPT;if(1!==e||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(e||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(t=r.c*e+r.s,r.r?t=Math.round(t):t<1e-6&&-1e-6<t&&(t=0),r.type)if(1===r.type)if(2===(s=r.l))r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2;else if(3===s)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===s)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===s)r.t[r.p]=r.xs0+t+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+t+r.xs1,s=1;r.l>s;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(e);else r.t[r.p]=t+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(e),r=r._next;else for(;r;)2!==r.type?r.t[r.p]=r.e:r.setRatio(e),r=r._next},e._enableTransforms=function(e){this._transform=this._transform||Ne(this._target,j,!0),this._transformType=this._transform.svg&&be||!e&&3!==this._transformType?2:3};var je=function(){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};e._addLazySet=function(e,t,i){var s=this._firstPT=new ge(e,t,0,0,this._firstPT,2);s.e=i,s.setRatio=je,s.data=this},e._linkCSSP=function(e,t,i,s){return e&&(t&&(t._prev=e),e._next&&(e._next._prev=e._prev),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next,s=!0),i?i._next=e:s||null!==this._firstPT||(this._firstPT=e),e._next=t,e._prev=i),e},e._kill=function(e){var t,i,s,r=e;if(e.autoAlpha||e.alpha){for(i in r={},e)r[i]=e[i];r.opacity=1,r.autoAlpha&&(r.visibility=1)}return e.className&&(t=this._classNamePT)&&((s=t.xfirst)&&s._prev?this._linkCSSP(s._prev,t._next,s._prev._prev):s===this._firstPT&&(this._firstPT=t._next),t._next&&this._linkCSSP(t._next,t._next._next,s._prev),this._classNamePT=null),n.prototype._kill.call(this,r)};var Ve=function(e,t,i){var s,r,n,a;if(e.slice)for(r=e.length;-1<--r;)Ve(e[r],t,i);else for(r=(s=e.childNodes).length;-1<--r;)a=(n=s[r]).type,n.style&&(t.push(ee(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||Ve(n,t,i)};return V.cascadeTo=function(e,t,i){var s,r,n,a=u.to(e,t,i),o=[a],l=[],h=[],d=[],c=u._internals.reservedProps;for(e=a._targets||a.target,Ve(e,l,d),a.render(t,!0),Ve(e,h),a.render(0,!0),a._enabled(!0),s=d.length;-1<--s;)if((r=te(d[s],l[s],h[s])).firstMPT){for(n in r=r.difs,i)c[n]&&(r[n]=i[n]);o.push(u.to(d[s],t,r))}return o},n.activate([V]),V},!0),(e=_gsScope._gsDefine.plugin({propName:"roundProps",priority:-1,API:2,init:function(e,t,i){return this._tween=i,!0}}).prototype)._onInitAllProps=function(){for(var e,t,i,s=this._tween,r=s.vars.roundProps instanceof Array?s.vars.roundProps:s.vars.roundProps.split(","),n=r.length,a={},o=s._propLookup.roundProps;-1<--n;)a[r[n]]=1;for(n=r.length;-1<--n;)for(e=r[n],t=s._firstPT;t;)i=t._next,t.pg?t.t._roundProps(a,!0):t.n===e&&(this._add(t.t,e,t.s,t.c),i&&(i._prev=t._prev),t._prev?t._prev._next=i:s._firstPT===t&&(s._firstPT=i),t._next=t._prev=null,s._propLookup[e]=o),t=i;return!1},e._add=function(e,t,i,s){this._addTween(e,t,i,i+s,t,!0),this._overwriteProps.push(t)},_gsScope._gsDefine.plugin({propName:"attr",API:2,version:"0.3.3",init:function(e,t){var i,s,r;if("function"!=typeof e.setAttribute)return!1;for(i in this._target=e,this._proxy={},this._start={},this._end={},t)this._start[i]=this._proxy[i]=s=e.getAttribute(i),r=this._addTween(this._proxy,i,parseFloat(s),t[i],i),this._end[i]=r?r.s+r.c:t[i],this._overwriteProps.push(i);return!0},set:function(e){this._super.setRatio.call(this,e);for(var t,i=this._overwriteProps,s=i.length,r=1===e?this._end:e?this._proxy:this._start;-1<--s;)t=i[s],this._target.setAttribute(t,r[t]+"")}}),_gsScope._gsDefine.plugin({propName:"directionalRotation",version:"0.2.1",API:2,init:function(e,t){"object"!=typeof t&&(t={rotation:t}),this.finals={};var i,s,r,n,a,o=!0===t.useRadians?2*Math.PI:360;for(i in t)"useRadians"!==i&&(s=(a=(t[i]+"").split("_"))[0],r=parseFloat("function"!=typeof e[i]?e[i]:e[i.indexOf("set")||"function"!=typeof e["get"+i.substr(3)]?i:"get"+i.substr(3)]()),n=(this.finals[i]="string"==typeof s&&"="===s.charAt(1)?r+parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)):Number(s)||0)-r,a.length&&(-1!==(s=a.join("_")).indexOf("short")&&(n%=o)!=n%(o/2)&&(n=n<0?n+o:n-o),-1!==s.indexOf("_cw")&&n<0?n=(n+9999999999*o)%o-(0|n/o)*o:-1!==s.indexOf("ccw")&&0<n&&(n=(n-9999999999*o)%o-(0|n/o)*o)),(1e-6<n||n<-1e-6)&&(this._addTween(e,i,r,r+n,i),this._overwriteProps.push(i)));return!0},set:function(e){var t;if(1!==e)this._super.setRatio.call(this,e);else for(t=this._firstPT;t;)t.f?t.t[t.p](this.finals[t.p]):t.t[t.p]=this.finals[t.p],t=t._next}})._autoCSS=!0,_gsScope._gsDefine("easing.Back",["easing.Ease"],function(g){var t,i,e,s=_gsScope.GreenSockGlobals||_gsScope,r=s.com.greensock,n=2*Math.PI,a=Math.PI/2,o=r._class,l=function(e,t){var i=o("easing."+e,function(){},!0),s=i.prototype=new g;return s.constructor=i,s.getRatio=t,i},h=g.register||function(){},d=function(e,t,i,s){var r=o("easing."+e,{easeOut:new t,easeIn:new i,easeInOut:new s},!0);return h(r,e),r},v=function(e,t,i){this.t=e,this.v=t,i&&(((this.next=i).prev=this).c=i.v-t,this.gap=i.t-e)},c=function(e,t){var i=o("easing."+e,function(e){this._p1=e||0===e?e:1.70158,this._p2=1.525*this._p1},!0),s=i.prototype=new g;return s.constructor=i,s.getRatio=t,s.config=function(e){return new i(e)},i},u=d("Back",c("BackOut",function(e){return(e-=1)*e*((this._p1+1)*e+this._p1)+1}),c("BackIn",function(e){return e*e*((this._p1+1)*e-this._p1)}),c("BackInOut",function(e){return(e*=2)<1?.5*e*e*((this._p2+1)*e-this._p2):.5*((e-=2)*e*((this._p2+1)*e+this._p2)+2)})),p=o("easing.SlowMo",function(e,t,i){t=t||0===t?t:.7,null==e?e=.7:1<e&&(e=1),this._p=1!==e?t:0,this._p1=(1-e)/2,this._p2=e,this._p3=this._p1+this._p2,this._calcEnd=!0===i},!0),f=p.prototype=new g;return f.constructor=p,f.getRatio=function(e){var t=e+(.5-e)*this._p;return this._p1>e?this._calcEnd?1-(e=1-e/this._p1)*e:t-(e=1-e/this._p1)*e*e*e*t:e>this._p3?this._calcEnd?1-(e=(e-this._p3)/this._p1)*e:t+(e-t)*(e=(e-this._p3)/this._p1)*e*e*e:this._calcEnd?1:t},p.ease=new p(.7,.7),f.config=p.config=function(e,t,i){return new p(e,t,i)},(f=(t=o("easing.SteppedEase",function(e){e=e||1,this._p1=1/e,this._p2=e+1},!0)).prototype=new g).constructor=t,f.getRatio=function(e){return e<0?e=0:1<=e&&(e=.999999999),(this._p2*e>>0)*this._p1},f.config=t.config=function(e){return new t(e)},(f=(i=o("easing.RoughEase",function(e){for(var t,i,s,r,n,a,o=(e=e||{}).taper||"none",l=[],h=0,d=0|(e.points||20),c=d,u=!1!==e.randomize,p=!0===e.clamp,f=e.template instanceof g?e.template:null,m="number"==typeof e.strength?.4*e.strength:.4;-1<--c;)t=u?Math.random():1/d*c,i=f?f.getRatio(t):t,"none"===o?s=m:"out"===o?s=(r=1-t)*r*m:"in"===o?s=t*t*m:s=.5*(r=t<.5?2*t:2*(1-t))*r*m,u?i+=Math.random()*s-.5*s:c%2?i+=.5*s:i-=.5*s,p&&(1<i?i=1:i<0&&(i=0)),l[h++]={x:t,y:i};for(l.sort(function(e,t){return e.x-t.x}
1),a=new v(1,1,null),c=d;-1<--c;)n=l[c],a=new v(n.x,n.y,a);this._prev=new v(0,0,0!==a.t?a:a.next)},!0)).prototype=new g).constructor=i,f.getRatio=function(e){var t=this._prev;if(e>t.t){for(;t.next&&e>=t.t;)t=t.next;t=t.prev}else for(;t.prev&&t.t>=e;)t=t.prev;return(this._prev=t).v+(e-t.t)/t.gap*t.c},f.config=function(e){return new i(e)},i.ease=new i,d("Bounce",l("BounceOut",function(e){return e<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375}),l("BounceIn",function(e){return 1/2.75>(e=1-e)?1-7.5625*e*e:e<2/2.75?1-(7.5625*(e-=1.5/2.75)*e+.75):e<2.5/2.75?1-(7.5625*(e-=2.25/2.75)*e+.9375):1-(7.5625*(e-=2.625/2.75)*e+.984375)}),l("BounceInOut",function(e){var t=e<.5;return e=(e=t?1-2*e:2*e-1)<1/2.75?7.5625*e*e:e<2/2.75?7.5625*(e-=1.5/2.75)*e+.75:e<2.5/2.75?7.5625*(e-=2.25/2.75)*e+.9375:7.5625*(e-=2.625/2.75)*e+.984375,t?.5*(1-e):.5*e+.5})),d("Circ",l("CircOut",function(e){return Math.sqrt(1-(e-=1)*e)}),l("CircIn",function(e){return-(Math.sqrt(1-e*e)-1)}),l("CircInOut",function(e){return(e*=2)<1?-.5*(Math.sqrt(1-e*e)-1):.5*(Math.sqrt(1-(e-=2)*e)+1)})),d("Elastic",(e=function(e,t,i){var s=o("easing."+e,function(e,t){this._p1=e||1,this._p2=t||i,this._p3=this._p2/n*(Math.asin(1/this._p1)||0)},!0),r=s.prototype=new g;return r.constructor=s,r.getRatio=t,r.config=function(e,t){return new s(e,t)},s})("ElasticOut",function(e){return this._p1*Math.pow(2,-10*e)*Math.sin((e-this._p3)*n/this._p2)+1},.3),e("ElasticIn",function(e){return-this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*n/this._p2)},.3),e("ElasticInOut",function(e){return(e*=2)<1?-.5*this._p1*Math.pow(2,10*(e-=1))*Math.sin((e-this._p3)*n/this._p2):.5*this._p1*Math.pow(2,-10*(e-=1))*Math.sin((e-this._p3)*n/this._p2)+1},.45)),d("Expo",l("ExpoOut",function(e){return 1-Math.pow(2,-10*e)}),l("ExpoIn",function(e){return Math.pow(2,10*(e-1))-.001}),l("ExpoInOut",function(e){return(e*=2)<1?.5*Math.pow(2,10*(e-1)):.5*(2-Math.pow(2,-10*(e-1)))})),d("Sine",l("SineOut",function(e){return Math.sin(e*a)}),l("SineIn",function(e){return 1-Math.cos(e*a)}),l("SineInOut",function(e){return-.5*(Math.cos(Math.PI*e)-1)})),o("easing.EaseLookup",{find:function(e){return g.map[e]}},!0),h(s.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),u},!0)}),_gsScope._gsDefine&&_gsScope._gsQueue.pop()(),function(u,e){"use strict";var t,i,p=u.GreenSockGlobals=u.GreenSockGlobals||u;if(!p.TweenLite){var s,r,n,f,m,g=function(e){var t,i=e.split("."),s=p;for(t=0;i.length>t;t++)s[i[t]]=s=s[i[t]]||{};return s},c=g("com.greensock"),v=1e-10,l=function(e){var t,i=[],s=e.length;for(t=0;t!==s;i.push(e[t++]));return i},_=function(){},y=(t=Object.prototype.toString,i=t.call([]),function(e){return null!=e&&(e instanceof Array||"object"==typeof e&&!!e.push&&t.call(e)===i)}),w={},b=function(o,l,h,d){this.sc=w[o]?w[o].sc:[],(w[o]=this).gsClass=null,this.func=h;var c=[];this.check=function(e){for(var t,i,s,r,n=l.length,a=n;-1<--n;)(t=w[l[n]]||new b(l[n],[])).gsClass?(c[n]=t.gsClass,a--):e&&t.sc.push(this);if(0===a&&h)for(s=(i=("com.greensock."+o).split(".")).pop(),r=g(i.join("."))[s]=this.gsClass=h.apply(h,c),d&&(p[s]=r,"function"==typeof define&&define.amd?define((u.GreenSockAMDPath?u.GreenSockAMDPath+"/":"")+o.split(".").pop(),[],function(){return r}):"TweenMax"===o&&"undefined"!=typeof module&&module.exports&&(module.exports=r)),n=0;this.sc.length>n;n++)this.sc[n].check()},this.check(!0)},a=u._gsDefine=function(e,t,i,s){return new b(e,t,i,s)},x=c._class=function(e,t,i){return t=t||function(){},a(e,[],function(){return t},i),t};a.globals=p;var o=[0,0,1,1],T=[],d=x("easing.Ease",function(e,t,i,s){this._func=e,this._type=i||0,this._power=s||0,this._params=t?o.concat(t):o},!0),S=d.map={},h=d.register=function(e,t,i,s){for(var r,n,a,o,l=t.split(","),h=l.length,d=(i||"easeIn,easeOut,easeInOut").split(",");-1<--h;)for(n=l[h],r=s?x("easing."+n,null,!0):c.easing[n]||{},a=d.length;-1<--a;)o=d[a],S[n+"."+o]=S[o+n]=r[o]=e.getRatio?e:e[o]||new e};for((n=d.prototype)._calcEnd=!1,n.getRatio=function(e){if(this._func)return this._params[0]=e,this._func.apply(null,this._params);var t=this._type,i=this._power,s=1===t?1-e:2===t?e:e<.5?2*e:2*(1-e);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===t?1-s:2===t?s:e<.5?s/2:1-s/2},r=(s=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;-1<--r;)n=s[r]+",Power"+r,h(new d(null,null,1,r),n,"easeOut",!0),h(new d(null,null,2,r),n,"easeIn"+(0===r?",easeNone":"")),h(new d(null,null,3,r),n,"easeInOut");S.linear=c.easing.Linear.easeIn,S.swing=c.easing.Quad.easeInOut;var E=x("events.EventDispatcher",function(e){this._listeners={},this._eventTarget=e||this});(n=E.prototype).addEventListener=function(e,t,i,s,r){r=r||0;var n,a,o=this._listeners[e],l=0;for(null==o&&(this._listeners[e]=o=[]),a=o.length;-1<--a;)(n=o[a]).c===t&&n.s===i?o.splice(a,1):0===l&&r>n.pr&&(l=a+1);o.splice(l,0,{c:t,s:i,up:s,pr:r}),this!==f||m||f.wake()},n.removeEventListener=function(e,t){var i,s=this._listeners[e];if(s)for(i=s.length;-1<--i;)if(s[i].c===t)return void s.splice(i,1)},n.dispatchEvent=function(e){var t,i,s,r=this._listeners[e];if(r)for(t=r.length,i=this._eventTarget;-1<--t;)(s=r[t])&&(s.up?s.c.call(s.s||i,{type:e,target:i}):s.c.call(s.s||i))};
1var C=u.requestAnimationFrame,P=u.cancelAnimationFrame,M=Date.now||function(){return(new Date).getTime()},k=M();for(r=(s=["ms","moz","webkit","o"]).length;-1<--r&&!C;)C=u[s[r]+"RequestAnimationFrame"],P=u[s[r]+"CancelAnimationFrame"]||u[s[r]+"CancelRequestAnimationFrame"];x("Ticker",function(e,t){var r,n,a,o,l,h=this,d=M(),i=!1!==t&&C,c=500,u=33,p=function(e){var t,i,s=M()-k;c<s&&(d+=s-u),k+=s,h.time=(k-d)/1e3,t=h.time-l,(!r||0<t||!0===e)&&(h.frame++,l+=t+(o<=t?.004:o-t),i=!0),!0!==e&&(a=n(p)),i&&h.dispatchEvent("tick")};E.call(h),h.time=h.frame=0,h.tick=function(){p(!0)},h.lagSmoothing=function(e,t){c=e||1e10,u=Math.min(t,c,0)},h.sleep=function(){null!=a&&(i&&P?P(a):clearTimeout(a),n=_,a=null,h===f&&(m=!1))},h.wake=function(){null!==a?h.sleep():10<h.frame&&(k=M()-c+5),n=0===r?_:i&&C?C:function(e){return setTimeout(e,0|1e3*(l-h.time)+1)},h===f&&(m=!0),p(2)},h.fps=function(e){return arguments.length?(o=1/((r=e)||60),l=this.time+o,void h.wake()):r},h.useRAF=function(e){return arguments.length?(h.sleep(),i=e,void h.fps(r)):i},h.fps(e),setTimeout(function(){i&&(!a||h.frame<5)&&h.useRAF(!1)},1500)}),(n=c.Ticker.prototype=new c.events.EventDispatcher).constructor=c.Ticker;var z=x("core.Animation",function(e,t){if(this.vars=t=t||{},this._duration=this._totalDuration=e||0,this._delay=Number(t.delay)||0,this._timeScale=1,this._active=!0===t.immediateRender,this.data=t.data,this._reversed=!0===t.reversed,G){m||f.wake();var i=this.vars.useFrames?H:G;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});f=z.ticker=new c.Ticker,(n=z.prototype)._dirty=n._gc=n._initted=n._paused=!1,n._totalTime=n._time=0,n._rawPrevTime=-1,n._next=n._last=n._onUpdate=n._timeline=n.timeline=null,n._paused=!1;var R=function(){m&&2e3<M()-k&&f.wake(),setTimeout(R,2e3)};R(),n.play=function(e,t){return null!=e&&this.seek(e,t),this.reversed(!1).paused(!1)},n.pause=function(e,t){return null!=e&&this.seek(e,t),this.paused(!0)},n.resume=function(e,t){return null!=e&&this.seek(e,t),this.paused(!1)},n.seek=function(e,t){return this.totalTime(Number(e),!1!==t)},n.restart=function(e,t){return this.reversed(!1).paused(!1).totalTime(e?-this._delay:0,!1!==t,!0)},n.reverse=function(e,t){return null!=e&&this.seek(e||this.totalDuration(),t),this.reversed(!0).paused(!1)},n.render=function(){},n.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,(this._gc||!this.timeline)&&this._enabled(!0),this},n.isActive=function(){var e,t=this._timeline,i=this._startTime;return!t||!this._gc&&!this._paused&&t.isActive()&&(e=t.rawTime())>=i&&i+this.totalDuration()/this._timeScale>e},n._enabled=function(e,t){return m||f.wake(),this._gc=!e,this._active=this.isActive(),!0!==t&&(e&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!e&&this.timeline&&this._timeline._remove(this,!0)),!1},n._kill=function(){return this._enabled(!1,!1)},n.kill=function(e,t){return this._kill(e,t),this},n._uncache=function(e){for(var t=e?this:this.timeline;t;)t._dirty=!0,t=t.timeline;return this},n._swapSelfInParams=function(e){for(var t=e.length,i=e.concat();-1<--t;)"{self}"===e[t]&&(i[t]=this);return i},n.eventCallback=function(e,t,i,s){if("on"===(e||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[e];null==t?delete r[e]:(r[e]=t,r[e+"Params"]=y(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[e+"Scope"]=s),"onUpdate"===e&&(this._onUpdate=t)}return this},n.delay=function(e){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+e-this._delay),this._delay=e,this):this._delay},n.duration=function(e){return arguments.length?(this._duration=this._totalDuration=e,this._uncache(!0),this._timeline.smoothChildTiming&&0<this._time&&this._time<this._duration&&0!==e&&this.totalTime(this._totalTime*(e/this._duration),!0),this):(this._dirty=!1,this._duration)},n.totalDuration=function(e){return this._dirty=!1,arguments.length?this.duration(e):this._totalDuration},n.time=function(e,t){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(e>this._duration?this._duration:e,t)):this._time},n.totalTime=function(e,t,i){if(m||f.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(e<0&&!i&&(e+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(s<e&&!i&&(e=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-e:e)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),(this._totalTime!==e||0===this._duration)&&(this.render(e,t,!1),I.length&&j())}return this},n.progress=n.totalProgress=function(e,t){return arguments.length?this.totalTime(this.duration()*e,t):this._time/this.duration()},n.startTime=function(e){return arguments.length?(e!==this._startTime&&(this._startTime=e,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,e-this._delay)),this):this._startTime},n.endTime=function(e){return this._startTime+(0!=e?this.totalDuration():this.duration())/this._timeScale},n.timeScale=function(e){if(!arguments.length)return this._timeScale;if(e=e||v,this._timeline&&this._timeline.smoothChildTiming){var t=this._pauseTime,i=t||0===t?t:this._timeline.totalTime();this._startTime=i-(i-this._startTime)*this._timeScale/e}return this._timeScale=e,this._uncache(!1)},n.reversed=function(e){return arguments.length?(e!=this._reversed&&(this._reversed=e,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},n.paused=function(e){if(!arguments.length)return this._paused;if(e!=this._paused&&this._timeline){m||e||f.wake();var t=this._timeline,i=t.rawTime(),s=i-this._pauseTime;!e&&t.smoothChildTiming&&(this._startTime+=s,this._uncache(!1)),this._pauseTime=e?i:null,this._paused=e,this._active=this.isActive(),!e&&0!==s&&this._initted&&this.duration()&&this.render(t.smoothChildTiming?this._totalTime:(i-this._startTime)/this._timeScale,!0,!0)}return this._gc&&!e&&this._enabled(!0,!1),this};var O=x("core.SimpleTimeline",function(e){z.call(this,0,e),this.autoRemoveChildren=this.smoothChildTiming=!0});(n=O.prototype=new z).constructor=O,n.kill()._gc=!1,n._first=n._last=n._recent=null,n._sortChildren=!1,n.add=n.insert=function(e,t){var i,s;if(e._startTime=Number(t||0)+e._delay,e._paused&&this!==e._timeline&&(e._pauseTime=e._startTime+(this.rawTime()-e._startTime)/e._timeScale),e.timeline&&e.timeline._remove(e,!0),e.timeline=e._timeline=this,e._gc&&e._enabled(!0,!0),i=this._last,this._sortChildren)for(s=e._startTime;i&&i._startTime>s;)i=i._prev;return i?(e._next=i._next,i._next=e):(e._next=this._first,this._first=e),e._next?e._next._prev=e:this._last=e,e._prev=i,this._recent=e,this._timeline&&this._uncache(!0),this},n._remove=function(e,t){return e.timeline===this&&(t||e._enabled(!1,!0),e._prev?e._prev._next=e._next:this._first===e&&(this._first=e._next),e._next?e._next._prev=e._prev:this._last===e&&(this._last=e._prev),e._next=e._prev=e.timeline=null,e===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},n.render=function(e,t,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=e;r;)s=r._next,(r._active||e>=r._startTime&&!r._paused)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(e-r._startTime)*r._timeScale,t,i):r.render((e-r._startTime)*r._timeScale,t,i)),r=s},n.rawTime=function(){return m||f.wake(),this._totalTime};var A=x("TweenLite",function(e,t,i){if(z.call(this,t,i),this.render=A.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:A.selector(e)||e;var s,r,n,a=e.jquery||e.length&&e!==u&&e[0]&&(e[0]===u||e[0].nodeType&&e[0].style&&!e.nodeType),o=this.vars.over
1write;if(this._overwrite=o=null==o?B[A.defaultOverwrite]:"number"==typeof o?o>>0:B[o],(a||e instanceof Array||e.push&&y(e))&&"number"!=typeof e[0])for(this._targets=n=l(e),this._propLookup=[],this._siblings=[],s=0;n.length>s;s++)(r=n[s])?"string"!=typeof r?r.length&&r!==u&&r[0]&&(r[0]===u||r[0].nodeType&&r[0].style&&!r.nodeType)?(n.splice(s--,1),this._targets=n=n.concat(l(r))):(this._siblings[s]=V(r,this,!1),1===o&&1<this._siblings[s].length&&q(r,this,null,1,this._siblings[s])):"string"==typeof(r=n[s--]=A.selector(r))&&n.splice(s+1,1):n.splice(s--,1);else this._propLookup={},this._siblings=V(e,this,!1),1===o&&1<this._siblings.length&&q(e,this,null,1,this._siblings);(this.vars.immediateRender||0===t&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-v,this.render(-this._delay))},!0),D=function(e){return e&&e.length&&e!==u&&e[0]&&(e[0]===u||e[0].nodeType&&e[0].style&&!e.nodeType)};(n=A.prototype=new z).constructor=A,n.kill()._gc=!1,n.ratio=0,n._firstPT=n._targets=n._overwrittenProps=n._startAt=null,n._notifyPluginsOfEnabled=n._lazy=!1,A.version="1.15.1",A.defaultEase=n._ease=new d(null,null,1,1),A.defaultOverwrite="auto",A.ticker=f,A.autoSleep=!0,A.lagSmoothing=function(e,t){f.lagSmoothing(e,t)},A.selector=u.$||u.jQuery||function(e){var t=u.$||u.jQuery;return t?(A.selector=t)(e):"undefined"==typeof document?e:document.querySelectorAll?document.querySelectorAll(e):document.getElementById("#"===e.charAt(0)?e.substr(1):e)};var I=[],L={},N=A._internals={isArray:y,isSelector:D,lazyTweens:I},$=A._plugins={},F=N.tweenLookup={},X=0,Y=N.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1},B={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=z._rootFramesTimeline=new O,G=z._rootTimeline=new O,j=N.lazyRender=function(){var e,t=I.length;for(L={};-1<--t;)(e=I[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);I.length=0};G._startTime=f.time,H._startTime=f.frame,G._active=H._active=!0,setTimeout(j,1),z._updateRoot=A.render=function(){var e,t,i;if(I.length&&j(),G.render((f.time-G._startTime)*G._timeScale,!1,!1),H.render((f.frame-H._startTime)*H._timeScale,!1,!1),I.length&&j(),!(f.frame%120)){for(i in F){for(e=(t=F[i].tweens).length;-1<--e;)t[e]._gc&&t.splice(e,1);0===t.length&&delete F[i]}if((!(i=G._first)||i._paused)&&A.autoSleep&&!H._first&&1===f._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||f.sleep()}}},f.addEventListener("tick",z._updateRoot);var V=function(e,t,i){var s,r,n=e._gsTweenID;if(F[n||(e._gsTweenID=n="t"+X++)]||(F[n]={target:e,tweens:[]}),t&&((s=F[n].tweens)[r=s.length]=t,i))for(;-1<--r;)s[r]===t&&s.splice(r,1);return F[n].tweens},W=function(e,t,i,s){var r,n,a=e.vars.onOverwrite;return a&&(r=a(e,t,i,s)),(a=A.onOverwrite)&&(n=a(e,t,i,s)),!1!==r&&!1!==n},q=function(e,t,i,s,r){var n,a,o,l;if(1===s||4<=s){for(l=r.length,n=0;n<l;n++)if((o=r[n])!==t)o._gc||W(o,t)&&o._enabled(!1,!1)&&(a=!0);else if(5===s)break;return a}var h,d=t._startTime+v,c=[],u=0,p=0===t._duration;for(n=r.length;-1<--n;)(o=r[n])===t||o._gc||o._paused||(o._timeline!==t._timeline?(h=h||U(t,0,p),0===U(o,h,p)&&(c[u++]=o)):d>=o._startTime&&o._startTime+o.totalDuration()/o._timeScale>d&&((p||!o._initted)&&d-o._startTime<=2e-10||(c[u++]=o)));for(n=u;-1<--n;)if(o=c[n],2===s&&o._kill(i,e,t)&&(a=!0),2!==s||!o._firstPT&&o._initted){if(2!==s&&!W(o,t))continue;o._enabled(!1,!1)&&(a=!0)}return a},U=function(e,t,i){for(var s=e._timeline,r=s._timeScale,n=e._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return t<(n/=r)?n-t:i&&n===t||!e._initted&&n-t<2*v?v:(n+=e.totalDuration()/e._timeScale/r)>t+v?0:n-t-v};n._init=function(){var e,t,i,s,r,n=this.vars,a=this._overwrittenProps,o=this._duration,l=!!n.immediateRender,h=n.ease;if(n.startAt){for(s in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},n.startAt)r[s]=n.startAt[s];if(r.overwrite=!1,r.immediateRender=!0,r.lazy=l&&!1!==n.lazy,r.startAt=r.delay=null,this._startAt=A.to(this.target,0,r),l)if(0<this._time)this._startAt=null;else if(0!==o)return}else if(n.runBackwards&&0!==o)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(s in 0!==this._time&&(l=!1),i={},n)Y[s]&&"autoCSS"!==s||(i[s]=n[s]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==n.lazy,i.immediateRender=l,this._startAt=A.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=h=h?h instanceof d?h:"function"==typeof h?new d(h,n.easeParams):S[h]||A.defaultEase:A.defaultEase,n.easeParams instanceof Array&&h.config&&(this._ease=h.config.apply(h,n.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(e=this._targets.length;-1<--e;)this._initProps(this._targets[e],this._propLookup[e]={},this._siblings[e],a?a[e]:null)&&(t=!0);else t=this._initProps(this.target,this._propLookup,this._siblings,a);if(t&&A._onPluginEvent("_onInitAllProps",this),a&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),n.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=n.onUpdate,this._initted=!0}
1,n._initProps=function(e,t,i,s){var r,n,a,o,l,h;if(null==e)return!1;for(r in L[e._gsTweenID]&&j(),this.vars.css||e.style&&e!==u&&e.nodeType&&$.css&&!1!==this.vars.autoCSS&&function(e,t){var i,s={};for(i in e)Y[i]||i in t&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!$[i]||$[i]&&$[i]._autoCSS)||(s[i]=e[i],delete e[i]);e.css=s}(this.vars,e),this.vars){if(h=this.vars[r],Y[r])h&&(h instanceof Array||h.push&&y(h))&&-1!==h.join("").indexOf("{self}")&&(this.vars[r]=h=this._swapSelfInParams(h,this));else if($[r]&&(o=new $[r])._onInitTween(e,this.vars[r],this)){for(this._firstPT=l={_next:this._firstPT,t:o,p:"setRatio",s:0,c:1,f:!0,n:r,pg:!0,pr:o._priority},n=o._overwriteProps.length;-1<--n;)t[o._overwriteProps[n]]=this._firstPT;(o._priority||o._onInitAllProps)&&(a=!0),(o._onDisable||o._onEnable)&&(this._notifyPluginsOfEnabled=!0)}else this._firstPT=t[r]=l={_next:this._firstPT,t:e,p:r,f:"function"==typeof e[r],n:r,pg:!1,pr:0},l.s=l.f?e[r.indexOf("set")||"function"!=typeof e["get"+r.substr(3)]?r:"get"+r.substr(3)]():parseFloat(e[r]),l.c="string"==typeof h&&"="===h.charAt(1)?parseInt(h.charAt(0)+"1",10)*Number(h.substr(2)):Number(h)-l.s||0;l&&l._next&&(l._next._prev=l)}return s&&this._kill(s,e)?this._initProps(e,t,i,s):1<this._overwrite&&this._firstPT&&1<i.length&&q(e,this,t,this._overwrite,i)?(this._kill(t,e),this._initProps(e,t,i,s)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(L[e._gsTweenID]=!0),a)},n.render=function(e,t,i){var s,r,n,a,o=this._time,l=this._duration,h=this._rawPrevTime;if(l<=e)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete"),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(e=0),(0===e||h<0||h===v&&"isPause"!==this.data)&&h!==e&&(i=!0,v<h&&(r="onReverseComplete")),this._rawPrevTime=a=!t||e||h===e?e:v);else if(e<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===l&&0<h&&h!==v)&&(r="onReverseComplete",s=this._reversed),e<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(0<=h&&(h!==v||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!t||e||h===e?e:v)),this._initted||(i=!0);else if(this._totalTime=this._time=e,this._easeType){var d=e/l,c=this._easeType,u=this._easePower;(1===c||3===c&&.5<=d)&&(d=1-d),3===c&&(d*=2),1===u?d*=d:2===u?d*=d*d:3===u?d*=d*d*d:4===u&&(d*=d*d*d*d),this.ratio=1===c?1-d:2===c?d:e/l<.5?d/2:1-d/2}else this.ratio=this._ease.getRatio(e/l);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=h,I.push(this),void(this._lazy=[e,t]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/l):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&0<=e&&(this._active=!0),0===o&&(this._startAt&&(0<=e?this._startAt.render(e,t,i):r||(r="_dummyGS")),this.vars.onStart&&(0!==this._time||0===l)&&(t||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||T))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(e<0&&this._startAt&&-1e-4!==e&&this._startAt.render(e,t,i),t||(this._time!==o||s)&&this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||T)),r&&(!this._gc||i)&&(e<0&&this._startAt&&!this._onUpdate&&-1e-4!==e&&this._startAt.render(e,t,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!t&&this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||T),0===l&&this._rawPrevTime===v&&a!==v&&(this._rawPrevTime=0))}},n._kill=function(e,t,i){if("all"===e&&(e=null),null==e&&(null==t||t===this.target))return this._lazy=!1,this._enabled(!1,!1);var s,r,n,a,o,l,h,d,c;if(t="string"!=typeof t?t||this._targets||this.target:A.selector(t)||t,(y(t)||D(t))&&"number"!=typeof t[0])for(s=t.length;-1<--s;)this._kill(e,t[s])&&(l=!0);else{if(this._targets){for(s=this._targets.length;-1<--s;)if(t===this._targets[s]){o=this._propLookup[s]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[s]=e?this._overwrittenProps[s]||{}:"all";break}}else{if(t!==this.target)return!1;o=this._propLookup,r=this._overwrittenProps=e?this._overwrittenProps||{}:"all"}if(o){if(h=e||o,d=e!==r&&"all"!==r&&e!==o&&("object"!=typeof e||!e._tempKill),i&&(A.onOverwrite||this.vars.onOverwrite)){for(n in h)o[n]&&(c||(c=[]),c.push(n));if(!W(this,i,t,c))return!1}for(n in h)(a=o[n])&&(a.pg&&a.t._kill(h)&&(l=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[n]),d&&(r[n]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},n.invalidate=function(){return this._notifyPluginsOfEnabled&&A._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],z.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-v,this.render(-this._delay)),this},n._enabled=function(e,t){if(m||f.wake(),e&&this._gc){var i,s=this._targets;if(s)for(i=s.length;-1<--i;)this._siblings[i]=V(s[i],this,!0);else this._siblings=V(this.target,this,!0)}return z.prototype._enabled.call(this,e,t),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&A._onPluginEvent(e?"_onEnable":"_onDisable",this)},A.to=function(e,t,i){return new A(e,t,i)},A.from=function(e,t,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new A(e,t,i)},A.fromTo=function(e,t,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new A(e,t,s)},A.delayedCall=function(e,t,i,s,r){return new A(t,0,{delay:e,onComplete:t,onCompleteParams:i,onCompleteScope:s,onReverseComplete:t,onReverseCompleteParams:i,onReverseCompleteScope:s,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},A.set=function(e,t){return new A(e,0,t)},A.getTweensOf=function(e,t){if(null==e)return[];var i,s,r,n;if(e="string"!=typeof e?e:A.selector(e)||e,(y(e)||D(e))&&"number"!=typeof e[0]){for(i=e.length,s=[];-1<--i;)s=s.concat(A.getTweensOf(e[i],t));for(i=s.length;-1<--i;)for(n=s[i],r=i;-1<--r;)n===s[r]&&s.splice(i,1)}else for(i=(s=V(e).concat()).length;-1<--i;)(s[i]._gc||t&&!s[i].isActive())&&s.splice(i,1);return s},A.killTweensOf=A.killDelayedCallsTo=function(e,t,i){"object"==typeof t&&(i=t,t=!1);for(var s=A.getTweensOf(e,t),r=s.length;-1<--r;)s[r]._kill(i,e)};var Q=x("plugins.TweenPlugin",function(e,t){this._overwriteProps=(e||"").split(","),this._propName=this._overwriteProps[0],this._priority=t||0,this._super=Q.prototype},!0);if(n=Q.prototype,Q.version="1.10.1",Q.API=2,n._firstPT=null,n._addTween=function(e,t,i,s,r,n){var a,o;return null!=s&&(a="number"==typeof s||"="!==s.charAt(1)?Number(s)-i:parseInt(s.charAt(0)+"1",10)*Number(s.substr(2)))?(this._firstPT=o={_next:this._firstPT,t:e,p:t,s:i,c:a,f:"function"==typeof e[t],n:r||t,r:n},o._next&&(o._next._prev=o),o):void 0},n.setRatio=function(e){for(var t,i=this._firstPT;i;)t=i.c*e+i.s,i.r?t=Math.round(t):t<1e-6&&-1e-6<t&&(t=0),i.f?i.t[i.p](t):i.t[i.p]=t,i=i._next},n._kill=function(e){var t,i=this._overwriteProps,s=this._firstPT;if(null!=e[this._propName])this._overwriteProps=[];else for(t=i.length;-1<--t;)null!=e[i[t]]&&i.splice(t,1);for(;s;)null!=e[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},n._roundProps=function(e,t){for(var i=this._firstPT;i;)(e[this._propName]||null!=i.n&&e[i.n.split(this._propName+"_").join("")])&&(i.r=t),i=i._next},A._onPluginEvent=function(e,t){var i,s,r,n,a,o=t._firstPT;if("_onInitAllProps"===e){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=t._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[e]&&o.t[e]()&&(i=!0),o=o._next;return i},Q.activate=function(e){for(var t=e.length;-1<--t;)e[t].API===Q.API&&($[(new e[t])._propName]=e[t]);return!0},a.plugin=function(e){if(!(e&&e.propName&&e.init&&e.API))throw"illegal plugin definition.";var t,i=e.propName,s=e.priority||0,r=e.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_roundProps",initAll:"_onInitAllProps"},a=x("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){Q.call(this,i,s),this._overwriteProps=r||[]},!0===e.global),o=a.prototype=new Q(i);for(t in(o.constructor=a).API=e.API,n)"function"==typeof e[t]&&(o[n[t]]=e[t]);return a.version=e.version,Q.activate([a]),a},s=u._gsQueue){for(r=0;s.length>r;r++)s[r]();for(n in w)w[n].func||u.console.log("GSAP encountered missing dependency: com.greensock."+n)}m=!1}}("undefined"!=typeof module&&module.exports&&"undefined"!=typeof global?global:this||window),function(e,t){"function"==typeof define&&define.amd?define(t):"object"==typeof exports?module.exports=t():e.ScrollMagic=t()}(this,function(){"use strict";var R=function(){A.log(2,"(COMPATIBILITY NOTICE) -> As of ScrollMagic 2.0.0 you need to use 'new ScrollMagic.Controller()' to create a new controller instance. Use 'new ScrollMagic.Scene()' to instance a scene.")};R.version="2.0.5",window.addEventListener("mousewheel",function(){}),R.Controller=function(e){var i,s,r="ScrollMagic.Controller",t=S.defaults,a=this,o=A.extend({},t,e),n=[],l=!1,h=0,d="PAUSED",c=!0,u=0,p=!0,f=function(){0<o.refreshInterval&&(s=window.setTimeout(b,o.refreshInterval))},m=function(){return o.vertical?A.get.scrollTop(o.container):A.get.scrollLeft(o.container)},g=function(){return o.vertical?A.get.height(o.container):A.get.width(o.container)},v=this._setScrollPos=function(e){o.vertical?c?window.scrollTo(A.get.scrollLeft(),e):o.container.scrollTop=e:c?window.scrollTo(e,A.get.scrollTop()):o.container.scrollLeft=e},_=function(){if(p&&l){var i=A.type.Array(l)?l:n.slice(0);l=!1;var e=h,t=(h=a.scrollPos())-e;0!==t&&(d=0<t?"FORWARD":"REVERSE"),"REVERSE"===d&&i.reverse(),i.forEac
1h(function(e,t){x(3,"updating Scene "+(t+1)+"/"+i.length+" ("+n.length+" total)"),e.update(!0)}),0===i.length&&3<=o.loglevel&&x(3,"updating 0 Scenes (nothing added to controller)")}},y=function(){i=A.rAF(_)},w=function(e){x(3,"event fired causing an update:",e.type),"resize"==e.type&&(u=g(),d="PAUSED"),!0!==l&&(l=!0,y())},b=function(){if(!c&&u!=g()){var t;try{t=new Event("resize",{bubbles:!1,cancelable:!1})}catch(e){(t=document.createEvent("Event")).initEvent("resize",!1,!1)}o.container.dispatchEvent(t)}n.forEach(function(e,t){e.refresh()}),f()},x=this._log=function(e,t){o.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+r+") ->"),A.log.apply(window,arguments))};this._options=o;var T=function(e){if(e.length<=1)return e;var t=e.slice(0);return t.sort(function(e,t){return e.scrollOffset()>t.scrollOffset()?1:-1}),t};return this.addScene=function(e){if(A.type.Array(e))e.forEach(function(e,t){a.addScene(e)});else if(e instanceof R.Scene){if(e.controller()!==a)e.addTo(a);else if(n.indexOf(e)<0){for(var t in n.push(e),n=T(n),e.on("shift.controller_sort",function(){n=T(n)}),o.globalSceneOptions)e[t]&&e[t].call(e,o.globalSceneOptions[t]);x(3,"adding Scene (now "+n.length+" total)")}}else x(1,"ERROR: invalid argument supplied for '.addScene()'");return a},this.removeScene=function(e){if(A.type.Array(e))e.forEach(function(e,t){a.removeScene(e)});else{var t=n.indexOf(e);-1<t&&(e.off("shift.controller_sort"),n.splice(t,1),x(3,"removing Scene (now "+n.length+" left)"),e.remove())}return a},this.updateScene=function(e,i){return A.type.Array(e)?e.forEach(function(e,t){a.updateScene(e,i)}):i?e.update(!0):!0!==l&&e instanceof R.Scene&&(-1==(l=l||[]).indexOf(e)&&l.push(e),l=T(l),y()),a},this.update=function(e){return w({type:"resize"}),e&&_(),a},this.scrollTo=function(e,t){if(A.type.Number(e))v.call(o.container,e,t);else if(e instanceof R.Scene)e.controller()===a?a.scrollTo(e.scrollOffset(),t):x(2,"scrollTo(): The supplied scene does not belong to this controller. Scroll cancelled.",e);else if(A.type.Function(e))v=e;else{var i=A.get.elements(e)[0];if(i){for(;i.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)i=i.parentNode;var s=o.vertical?"top":"left",r=A.get.offset(o.container),n=A.get.offset(i);c||(r[s]-=a.scrollPos()),a.scrollTo(n[s]-r[s],t)}else x(2,"scrollTo(): The supplied argument is invalid. Scroll cancelled.",e)}return a},this.scrollPos=function(e){return arguments.length?(A.type.Function(e)?m=e:x(2,"Provided value for method 'scrollPos' is not a function. To change the current scroll position use 'scrollTo()'."),a):m.call(a)},this.info=function(e){var t={size:u,vertical:o.vertical,scrollPos:h,scrollDirection:d,container:o.container,isDocument:c};return arguments.length?void 0!==t[e]?t[e]:void x(1,'ERROR: option "'+e+'" is not available'):t},this.loglevel=function(e){return arguments.length?(o.loglevel!=e&&(o.loglevel=e),a):o.loglevel},this.enabled=function(e){return arguments.length?(p!=e&&(p=!!e,a.updateScene(n,!0)),a):p},this.destroy=function(e){window.clearTimeout(s);for(var t=n.length;t--;)n[t].destroy(e);return o.container.removeEventListener("resize",w),o.container.removeEventListener("scroll",w),A.cAF(i),x(3,"destroyed "+r+" (reset: "+(e?"true":"false")+")"),null},function(){for(var e in o)t.hasOwnProperty(e)||(x(2,'WARNING: Unknown option "'+e+'"'),delete o[e]);if(o.container=A.get.elements(o.container)[0],!o.container)throw x(1,"ERROR creating object "+r+": No valid scroll container supplied"),r+" init failed.";(c=o.container===window||o.container===document.body||!document.body.contains(o.container))&&(o.container=window),u=g(),o.container.addEventListener("resize",w),o.container.addEventListener("scroll",w),o.refreshInterval=parseInt(o.refreshInterval)||t.refreshInterval,f(),x(3,"added new "+r+" controller (v"+R.version+")")}(),a};var S={defaults:{container:window,vertical:!0,globalSceneOptions:{},loglevel:2,refreshInterval:100}};R.Controller.addOption=function(e,t){S.defaults[e]=t},R.Controller.extend=function(e){var t=this;R.Controller=function(){return t.apply(this,arguments),this.$super=A.extend({},this),e.apply(this,arguments)||this},A.extend(R.Controller,t),R.Controller.prototype=t.prototype,R.Controller.prototype.constructor=R.Controller},R.Scene=function(e){var i,l,s="ScrollMagic.Scene",r=O.defaults,d=this,c=A.extend({},r,e),h="BEFORE",u=0,o={start:0,end:0},p=0,n=!0,a={};this.on=function(e,r){return A.type.Function(r)?(e=e.trim().split(" ")).forEac
1h(function(e){var t=e.split("."),i=t[0],s=t[1];"*"!=i&&(a[i]||(a[i]=[]),a[i].push({namespace:s||"",callback:r}))}):f(1,"ERROR when calling '.on()': Supplied callback for '"+e+"' is not a valid function!"),d},this.off=function(e,n){return e?(e=e.trim().split(" ")).forEach(function(e,t){var i=e.split("."),s=i[0],r=i[1]||"";("*"===s?Object.keys(a):[s]).forEach(function(e){for(var t=a[e]||[],i=t.length;i--;){var s=t[i];!s||r!==s.namespace&&"*"!==r||n&&n!=s.callback||t.splice(i,1)}t.length||delete a[e]})}):f(1,"ERROR: Invalid event name supplied."),d},this.trigger=function(e,i){if(e){var t=e.trim().split("."),s=t[0],r=t[1],n=a[s];f(3,"event fired:",s,i?"->":"",i||""),n&&n.forEach(function(e,t){r&&r!==e.namespace||e.callback.call(d,new R.Event(s,e.namespace,d,i))})}else f(1,"ERROR: Invalid event name supplied.");return d},d.on("change.internal",function(e){"loglevel"!==e.what&&"tweenChanges"!==e.what&&("triggerElement"===e.what?_():"reverse"===e.what&&d.update())}).on("shift.internal",function(e){t(),d.update()});var f=this._log=function(e,t){c.loglevel>=e&&(Array.prototype.splice.call(arguments,1,0,"("+s+") ->"),A.log.apply(window,arguments))};this.addTo=function(e){return e instanceof R.Controller?l!=e&&(l&&l.removeScene(d),l=e,b(),v(!0),_(!0),t(),l.info("container").addEventListener("resize",y),e.addScene(d),d.trigger("add",{controller:l}),f(3,"added "+s+" to controller"),d.update()):f(1,"ERROR: supplied argument of 'addTo()' is not a valid ScrollMagic Controller"),d},this.enabled=function(e){return arguments.length?(n!=e&&(n=!!e,d.update(!0)),d):n},this.remove=function(){if(l){l.info("container").removeEventListener("resize",y);var e=l;l=void 0,e.removeScene(d),d.trigger("remove"),f(3,"removed "+s+" from controller")}return d},this.destroy=function(e){return d.trigger("destroy",{reset:e}),d.remove(),d.off("*.*"),f(3,"destroyed "+s+" (reset: "+(e?"true":"false")+")"),null},this.update=function(e){if(l)if(e)if(l.enabled()&&n){var t,i=l.info("scrollPos");t=0<c.duration?(i-o.start)/(o.end-o.start):i>=o.start?1:0,d.trigger("update",{startPos:o.start,endPos:o.end,scrollPos:i}),d.progress(t)}else m&&"DURING"===h&&S(!0);else l.updateScene(d,!1);return d},this.refresh=function(){return v(),_(),d},this.progress=function(e){if(arguments.length){var t=!1,i=h,s=l?l.info("scrollDirection"):"PAUSED",r=c.reverse||u<=e;if(0===c.duration?(t=u!=e,h=0==(u=e<1&&r?0:1)?"BEFORE":"DURING"):e<0&&"BEFORE"!==h&&r?(h="BEFORE",t=!(u=0)):0<=e&&e<1&&r?(u=e,h="DURING",t=!0):1<=e&&"AFTER"!==h?(u=1,h="AFTER",t=!0):"DURING"!==h||r||S(),t){var n={progress:u,state:h,scrollDirection:s},a=h!=i,o=function(e){d.trigger(e,n)};a&&"DURING"!==i&&(o("enter"),o("BEFORE"===i?"start":"end")),o("progress"),a&&"DURING"!==h&&(o("BEFORE"===h?"start":"end"),o("leave"))}return d}return u};var m,g,t=function(){o={start:p+c.offset},l&&c.triggerElement&&(o.start-=l.info("size")*c.triggerHook),o.end=o.start+c.duration},v=function(e){i&&x("duration",i.call(d))&&!e&&(d.trigger("change",{what:"duration",newval:c.duration}),d.trigger("shift",{reason:"duration"}))},_=function(e){var t=0,i=c.triggerElement;if(l&&i){for(var s=l.info(),r=A.get.offset(s.container),n=s.vertical?"top":"left";i.parentNode.hasAttribute("data-scrollmagic-pin-spacer");)i=i.parentNode;var a=A.get.offset(i);s.isDocument||(r[n]-=l.scrollPos()),t=a[n]-r[n]}var o=t!=p;p=t,o&&!e&&d.trigger("shift",{reason:"triggerElementPosition"})},y=function(e){0<c.triggerHook&&d.trigger("shift",{reason:"containerResize"})},w=A.extend(O.validate,{duration:function(e){if(A.type.String(e)&&e.match(/^(\.|\d)*\d+%$/)){var t=parseFloat(e)/100;e=function(){return l?l.info("size")*t:0}}if(A.type.Function(e)){i=e;try{e=parseFloat(i())}catch(t){e=-1}}if(e=parseFloat(e),!A.type.Number(e)||e<0)throw i?(i=void 0,['Invalid return value of supplied function for option "duration":',e]):['Invalid value for option "duration":',e];return e}}),b=function(e){(e=arguments.length?[e]:Object.keys(w)).forEach(function(e,t){var i;if(w[e])try{i=w[e](c[e])}catch(t){i=r[e];var s=A.type.String(t)?[t]:t;A.type.Array(s)?(s[0]="ERROR: "+s[0],s.unshift(1),f.apply(this,s)):f(1,"ERROR: Problem executing validation callback for option '"+e+"':",t.message)}finally{c[e]=i}})},x=function(e,t){var i=!1,s=c[e];return c[e]!=t&&(c[e]=t,b(e),i=s!=c[e]),i},T=function(t){d[t]||(d[t]=function(e){return arguments.length?("duration"===t&&(i=void 0),x(t,e)&&(d.trigger("change",{what:t,newval:c[t]}),-1<O.shifts.indexOf(t)&&d.trigger("shift",{reason:t})),d):c[t]})};this.controller=function(){return l},this.state=function(){return h},this.scrollOffset=function(){return o.start},this.triggerPosition=function(){var e=c.offset;return l&&(c.triggerElement?e+=p:e+=l.info("size")*d.triggerHook()),e},d.on("shift.internal",function(e){var t="duration"===e.reason;("AFTER"===h&&t||"DURING"===h&&0===c.duration)&&S(),t&&E()}
1).on("progress.internal",function(e){S()}).on("add.internal",function(e){E()}).on("destroy.internal",function(e){d.removePin(e.reset)});var S=function(e){if(m&&l){var t=l.info(),i=g.spacer.firstChild;if(e||"DURING"!==h){var s={position:g.inFlow?"relative":"absolute",top:0,left:0},r=A.css(i,"position")!=s.position;g.pushFollowers?0<c.duration&&("AFTER"===h&&0===parseFloat(A.css(g.spacer,"padding-top"))?r=!0:"BEFORE"===h&&0===parseFloat(A.css(g.spacer,"padding-bottom"))&&(r=!0)):s[t.vertical?"top":"left"]=c.duration*u,A.css(i,s),r&&E()}else{"fixed"!=A.css(i,"position")&&(A.css(i,{position:"fixed"}),E());var n=A.get.offset(g.spacer,!0),a=c.reverse||0===c.duration?t.scrollPos-o.start:Math.round(u*c.duration*10)/10;n[t.vertical?"top":"left"]+=a,A.css(g.spacer.firstChild,{top:n.top,left:n.left})}}},E=function(){if(m&&l&&g.inFlow){var e="DURING"===h,t=l.info("vertical"),i=g.spacer.firstChild,s=A.isMarginCollapseType(A.css(g.spacer,"display")),r={};g.relSize.width||g.relSize.autoFullWidth?e?A.css(m,{width:A.get.width(g.spacer)}):A.css(m,{width:"100%"}):(r["min-width"]=A.get.width(t?m:i,!0,!0),r.width=e?r["min-width"]:"auto"),g.relSize.height?e?A.css(m,{height:A.get.height(g.spacer)-(g.pushFollowers?c.duration:0)}):A.css(m,{height:"100%"}):(r["min-height"]=A.get.height(t?i:m,!0,!s),r.height=e?r["min-height"]:"auto"),g.pushFollowers&&(r["padding"+(t?"Top":"Left")]=c.duration*u,r["padding"+(t?"Bottom":"Right")]=c.duration*(1-u)),A.css(g.spacer,r)}},C=function(){l&&m&&"DURING"===h&&!l.info("isDocument")&&S()},P=function(){l&&m&&"DURING"===h&&((g.relSize.width||g.relSize.autoFullWidth)&&A.get.width(window)!=A.get.width(g.spacer.parentNode)||g.relSize.height&&A.get.height(window)!=A.get.height(g.spacer.parentNode))&&E()},M=function(e){l&&m&&"DURING"===h&&!l.info("isDocument")&&(e.preventDefault(),l._setScrollPos(l.info("scrollPos")-((e.wheelDelta||e[l.info("vertical")?"wheelDeltaY":"wheelDeltaX"])/3||30*-e.detail)))};this.setPin=function(e,t){if(t=A.extend({},{pushFollowers:!0,spacerClass:"scrollmagic-pin-spacer"},t),!(e=A.get.elements(e)[0]))return f(1,"ERROR calling method 'setPin()': Invalid pin element supplied."),d;if("fixed"===A.css(e,"position"))return f(1,"ERROR calling method 'setPin()': Pin does not work with elements that are positioned 'fixed'."),d;if(m){if(m===e)return d;d.removePin()}var i=(m=e).parentNode.style.display,s=["top","left","bottom","right","margin","marginLeft","marginRight","marginTop","marginBottom"];m.parentNode.style.display="none";var r="absolute"!=A.css(m,"position"),n=A.css(m,s.concat(["display"])),a=A.css(m,["width","height"]);
1m.parentNode.style.display=i,!r&&t.pushFollowers&&(f(2,"WARNING: If the pinned element is positioned absolutely pushFollowers will be disabled."),t.pushFollowers=!1),window.setTimeout(function(){m&&0===c.duration&&t.pushFollowers&&f(2,"WARNING: pushFollowers =",!0,"has no effect, when scene duration is 0.")},0);var o=m.parentNode.insertBefore(document.createElement("div"),m),l=A.extend(n,{position:r?"relative":"absolute",boxSizing:"content-box",mozBoxSizing:"content-box",webkitBoxSizing:"content-box"});if(r||A.extend(l,A.css(m,["width","height"])),A.css(o,l),o.setAttribute("data-scrollmagic-pin-spacer",""),A.addClass(o,t.spacerClass),g={spacer:o,relSize:{width:"%"===a.width.slice(-1),height:"%"===a.height.slice(-1),autoFullWidth:"auto"===a.width&&r&&A.isMarginCollapseType(n.display)},pushFollowers:t.pushFollowers,inFlow:r},!m.___origStyle){m.___origStyle={};var h=m.style;s.concat(["width","height","position","boxSizing","mozBoxSizing","webkitBoxSizing"]).forEach(function(e){m.___origStyle[e]=h[e]||""})}return g.relSize.width&&A.css(o,{width:a.width}),g.relSize.height&&A.css(o,{height:a.height}),o.appendChild(m),A.css(m,{position:r?"relative":"absolute",margin:"auto",top:"auto",left:"auto",bottom:"auto",right:"auto"}),(g.relSize.width||g.relSize.autoFullWidth)&&A.css(m,{boxSizing:"border-box",mozBoxSizing:"border-box",webkitBoxSizing:"border-box"}),window.addEventListener("scroll",C),window.addEventListener("resize",C),window.addEventListener("resize",P),m.addEventListener("mousewheel",M),m.addEventListener("DOMMouseScroll",M),f(3,"added pin"),S(),d},this.removePin=function(e){if(m){if("DURING"===h&&S(!0),e||!l){var t=g.spacer.firstChild;if(t.hasAttribute("data-scrollmagic-pin-spacer")){var i=g.spacer.style;margins={},["margin","marginLeft","marginRight","marginTop","marginBottom"].forEach(function(e){margins[e]=i[e]||""}),A.css(t,margins)}g.spacer.parentNode.insertBefore(t,g.spacer),g.spacer.parentNode.removeChild(g.spacer),m.parentNode.hasAttribute("data-scrollmagic-pin-spacer")||(A.css(m,m.___origStyle),delete m.___origStyle)}window.removeEventListener("scroll",C),window.removeEventListener("resize",C),window.removeEventListener("resize",P),m.removeEventListener("mousewheel",M),m.removeEventListener("DOMMouseScroll",M),m=void 0,f(3,"removed pin (reset: "+(e?"true":"false")+")")}return d};var k,z=[];return d.on("destroy.internal",function(e){d.removeClassToggle(e.reset)}),this.setClassToggle=function(e,t){var i=A.get.elements(e);return 0!==i.length&&A.type.String(t)?(0<z.length&&d.removeClassToggle(),k=t,z=i,d.on("enter.internal_class leave.internal_class",function(e){var i="enter"===e.type?A.addClass:A.removeClass;z.forEach(function(e,t){i(e,k)})})):f(1,"ERROR calling method 'setClassToggle()': Invalid "+(0===i.length?"element":"classes")+" supplied."),d},this.removeClassToggle=function(e){return e&&z.forEach(function(e,t){A.removeClass(e,k)}),d.off("start.internal_class end.internal_class"),k=void 0,z=[],d},function(){for(var e in c)r.hasOwnProperty(e)||(f(2,'WARNING: Unknown option "'+e+'"'),delete c[e]);for(var t in r)T(t);b()}(),d};var O={defaults:{duration:0,offset:0,triggerElement:void 0,triggerHook:.5,reverse:!0,loglevel:2},validate:{offset:function(e){if(e=parseFloat(e),!A.type.Number(e))throw['Invalid value for option "offset":',e];return e},triggerElement:function(e){if(e=e||void 0){var t=A.get.elements(e)[0];if(!t)throw['Element defined in option "triggerElement" was not found:',e];e=t}return e},triggerHook:function(e){var t={onCenter:.5,onEnter:1,onLeave:0};if(A.type.Number(e))e=Math.max(0,Math.min(parseFloat(e),1));else{if(!(e in t))throw['Invalid value for option "triggerHook": ',e];e=t[e]}return e},reverse:function(e){return!!e},loglevel:function(e){if(e=parseInt(e),!A.type.Number(e)||e<0||3<e)throw['Invalid value for option "loglevel":',e];return e}},shifts:["duration","offset","triggerHook"]};R.Scene.addOption=function(e,t,i,s){e in O.defaults?R._util.log(1,"[static] ScrollMagic.Scene -> Cannot add Scene option '"+e+"', because it already exists."):(O.defaults[e]=t,O.validate[e]=i,s&&O.shifts.push(e))},R.Scene.extend=function(e){var t=this;R.Scene=function(){return t.apply(this,arguments),this.$super=A.extend({},this),e.apply(this,arguments)||this},A.extend(R.Scene,t),R.Scene.prototype=t.prototype,R.Scene.prototype.constructor=R.Scene},R.Event=function(e,t,i,s){for(var r in s=s||{})this[r]=s[r];return this.type=e,this.target=this.currentTarget=i,this.namespace=t||"",this.timeStamp=this.timestamp=Date.now(),this};var A=R._util=function(a){var i,e={},o=function(e){return parseFloat(e)||0},l=function(e){return e.currentStyle?e.currentStyle:a.getComputedStyle(e)},s=function(e,t,i,s){if((t=t===document?a:t)===a)s=!1;else if(!f.DomElement(t))return 0;e=e.charAt(0).toUpperCase()+e.substr(1).toLowerCase();var r=(i?t["offset"+e]||t["outer"+e]:t["client"+e]||t["inner"+e])||0;if(i&&s){var n=l(t);r+="Height"===e?o(n.marginTop)+o(n.marginBottom):o(n.marginLeft)+o(n.marginRight)}return r},h=function(e){return e.replace(/^[^a-z]+([a-z])/g,"$1").replace(/-([a-z])/g,function(e){return e[1].toUpperCase()})};e.extend=function(e){for(e=e||{},i=1;i<arguments.length;
1i++)if(arguments[i])for(var t in arguments[i])arguments[i].hasOwnProperty(t)&&(e[t]=arguments[i][t]);return e},e.isMarginCollapseType=function(e){return-1<["block","flex","list-item","table","-webkit-box"].indexOf(e)};var r=0,t=["ms","moz","webkit","o"],n=a.requestAnimationFrame,d=a.cancelAnimationFrame;for(i=0;!n&&i<t.length;++i)n=a[t[i]+"RequestAnimationFrame"],d=a[t[i]+"CancelAnimationFrame"]||a[t[i]+"CancelRequestAnimationFrame"];n||(n=function(e){var t=(new Date).getTime(),i=Math.max(0,16-(t-r)),s=a.setTimeout(function(){e(t+i)},i);return r=t+i,s}),d||(d=function(e){a.clearTimeout(e)}),e.rAF=n.bind(a),e.cAF=d.bind(a);var c=["error","warn","log"],u=a.console||{};for(u.log=u.log||function(){},i=0;i<c.length;i++){var p=c[i];u[p]||(u[p]=u.log)}e.log=function(e){(c.length<e||e<=0)&&(e=c.length);var t=new Date,i=("0"+t.getHours()).slice(-2)+":"+("0"+t.getMinutes()).slice(-2)+":"+("0"+t.getSeconds()).slice(-2)+":"+("00"+t.getMilliseconds()).slice(-3),s=c[e-1],r=Array.prototype.splice.call(arguments,1);Function.prototype.bind.call(u[s],u),r.unshift(i)};var f=e.type=function(e){return Object.prototype.toString.call(e).replace(/^\[object (.+)\]$/,"$1").toLowerCase()};f.String=function(e){return"string"===f(e)},f.Function=function(e){return"function"===f(e)},f.Array=function(e){return Array.isArray(e)},f.Number=function(e){return!f.Array(e)&&0<=e-parseFloat(e)+1},f.DomElement=function(e){return"object"==typeof HTMLElement?e instanceof HTMLElement:e&&"object"==typeof e&&null!==e&&1===e.nodeType&&"string"==typeof e.nodeName};var m=e.get={};return m.elements=function(e){var t=[];if(f.String(e))try{e=document.querySelectorAll(e)}catch(e){return t}if("nodelist"===f(e)||f.Array(e))for(var i=0,s=t.length=e.length;i<s;i++){var r=e[i];t[i]=f.DomElement(r)?r:m.elements(r)}else(f.DomElement(e)||e===document||e===a)&&(t=[e]);return t},m.scrollTop=function(e){return e&&"number"==typeof e.scrollTop?e.scrollTop:a.pageYOffset||0},m.scrollLeft=function(e){return e&&"number"==typeof e.scrollLeft?e.scrollLeft:a.pageXOffset||0},m.width=function(e,t,i){return s("width",e,t,i)},m.height=function(e,t,i){return s("height",e,t,i)},m.offset=function(e,t){var i={top:0,left:0};if(e&&e.getBoundingClientRect){var s=e.getBoundingClientRect();i.top=s.top,i.left=s.left,t||(i.top+=m.scrollTop(),i.left+=m.scrollLeft())}return i},e.addClass=function(e,t){t&&(e.classList?e.classList.add(t):e.className+=" "+t)},e.removeClass=function(e,t){t&&(e.classList?e.classList.remove(t):e.className=e.className.replace(new RegExp("(^|\\b)"+t.split(" ").join("|")+"(\\b|$)","gi")," "))},e.css=function(e,t){if(f.String(t))return l(e)[h(t)];if(f.Array(t)){var i={},s=l(e);return t.forEach(function(e,t){i[e]=s[h(e)]}),i}for(var r in t){var n=t[r];n==parseFloat(n)&&(n+="px"),e.style[h(r)]=n}},e}(window||{});return R.Scene.prototype.addIndicators=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling addIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},R.Scene.prototype.removeIndicators=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeIndicators() due to missing Plugin 'debug.addIndicators'. Please make sure to include plugins/debug.addIndicators.js"),this},R.Scene.prototype.setTween=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},R.Scene.prototype.removeTween=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeTween() due to missing Plugin 'animation.gsap'. Please make sure to include plugins/animation.gsap.js"),this},R.Scene.prototype.setVelocity=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling setVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},R.Scene.prototype.removeVelocity=function(){return R._util.log(1,"(ScrollMagic.Scene) -> ERROR calling removeVelocity() due to missing Plugin 'animation.velocity'. Please make sure to include plugins/animation.velocity.js"),this},R}),function(e,t){"function"==typeof define&&define.amd?define(["ScrollMagic","TweenMax","TimelineMax"],t):"object"==typeof exports?(require("gsap"),t(require("scrollmagic"),TweenMax,TimelineMax)):t(e.ScrollMagic||e.jQuery&&e.jQuery.ScrollMagic,e.TweenMax||e.TweenLite,e.TimelineMax||e.TimelineLite)}(this,function(e,m,g){"use strict";var t=window.console||{},i=Function.prototype.bind.call(t.error||t.log||function(){},t);e||i("(animation.gsap) -> ERROR: The ScrollMagic main module could not be found. Please make sure it's loaded before this plugin or use an asynchronous loader like requirejs."),m||i("(animation.gsap) -> ERROR: TweenLite or TweenMax could not be found. Please make sure GSAP is loaded before ScrollMagic or use an asynchronous loader like requirejs."),e.Scene.addOption("tweenChanges",!1,function(e){return!!e}),e.Scene.extend(function(){var c,u=this,p=function(){u._log&&(Array.prototype.splice.call(arguments,1,0,"(animation.gsap)","->
1"),u._log.apply(this,arguments))};u.on("progress.plugin_gsap",function(){f()}),u.on("destroy.plugin_gsap",function(e){u.removeTween(e.reset)});var f=function(){if(c){var e=u.progress(),t=u.state();c.repeat&&-1===c.repeat()?"DURING"===t&&c.paused()?c.play():"DURING"===t||c.paused()||c.pause():e!=c.progress()&&(0===u.duration()?0<e?c.play():c.reverse():u.tweenChanges()&&c.tweenTo?c.tweenTo(e*c.duration()):c.progress(e).pause())}};u.setTween=function(e,t,i){var s;1<arguments.length&&(arguments.length<3&&(i=t,t=1),e=m.to(e,t,i));try{(s=g?new g({smoothChildTiming:!0}).add(e):e).pause()}catch(e){return p(1,"ERROR calling method 'setTween()': Supplied argument is not a valid TweenObject"),u}if(c&&u.removeTween(),c=s,e.repeat&&-1===e.repeat()&&(c.repeat(-1),c.yoyo(e.yoyo())),u.tweenChanges()&&!c.tweenTo&&p(2,"WARNING: tweenChanges will only work if the TimelineMax object is available for ScrollMagic."),c&&u.controller()&&u.triggerElement()&&2<=u.loglevel()){var r=m.getTweensOf(u.triggerElement()),n=u.controller().info("vertical");r.forEach(function(e,t){var i=e.vars.css||e.vars;if(n?void 0!==i.top||void 0!==i.bottom:void 0!==i.left||void 0!==i.right)return p(2,"WARNING: Tweening the position of the trigger element affects the scene timing and should be avoided!"),!1})}if(1.14<=parseFloat(TweenLite.version))for(var a,o,l=c.getChildren?c.getChildren(!0,!0,!1):[c],h=function(){p(2,"WARNING: tween was overwritten by another. To learn how to avoid this issue see here: https://github.com/janpaepke/ScrollMagic/wiki/WARNING:-tween-was-overwritten-by-another")},d=0;d<l.length;d++)a=l[d],o!==h&&(o=a.vars.onOverwrite,a.vars.onOverwrite=function(){o&&o.apply(this,arguments),h.apply(this,arguments)});return p(3,"added tween"),f(),u},u.removeTween=function(e){return c&&(e&&c.progress(0).pause(),c.kill(),c=void 0,p(3,"removed tween (reset: "+(e?"true":"false")+")")),u}})}),function(e,t){"object"==typeof exports&&"undefined"!=typeof module?module.exports=t():"function"==typeof define&&define.amd?define(t):e.Swiper=t()}(this,function(){"use strict";function R(e,t){var i=[],s=0;if(e&&!t&&e instanceof l)return e;if(e)if("string"==typeof e){var r,n,a=e.trim();if(0<=a.indexOf("<")&&0<=a.indexOf(">")){var o="div";for(0===a.indexOf("<li")&&(o="ul"),0===a.indexOf("<tr")&&(o="tbody"),0!==a.indexOf("<td")&&0!==a.indexOf("<th")||(o="tr"),0===a.indexOf("<tbody")&&(o="table"),0===a.indexOf("<option")&&(o="select"),(n=document.createElement(o)).innerHTML=a,s=0;s<n.childNodes.length;s+=1)i.push(n.childNodes[s])}else for(r=t||"#"!==e[0]||e.match(/[ .<>:~]/)?(t||document).querySelectorAll(e.trim()):[document.getElementById(e.trim().split("#")[1])],s=0;s<r.length;s+=1)r[s]&&i.push(r[s])}else if(e.nodeType||e===window||e===document)i.push(e);else if(0<e.length&&e[0].nodeType)for(s=0;s<e.length;s+=1)i.push(e[s]);return new l(i)}function n(e){for(var t=[],i=0;i<e.length;i+=1)-1===t.indexOf(e[i])&&t.push(e[i]);return t}var f="undefined"==typeof window?{navigator:{userAgent:""},location:{},history:{},addEventListener:function(){},removeEventListener:function(){},getComputedStyle:function(){return{}},Image:function(){},Date:function(){},screen:{}}:window,l=function(e){for(var t=0;t<e.length;t+=1)this[t]=e[t];return this.length=e.length,this};R.fn=l.prototype,R.Class=l,R.Dom7=l,"resize scroll".split(" ");var t={addClass:function(e){if(void 0===e)return this;for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.add(t[i]);return this},removeClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.remove(t[i]);return this},hasClass:function(e){return!!this[0]&&this[0].classList.contains(e)},toggleClass:function(e){for(var t=e.split(" "),i=0;i<t.length;i+=1)for(var s=0;s<this.length;s+=1)void 0!==this[s].classList&&this[s].classList.toggle(t[i]);return this},attr:function(e,t){var i=arguments;if(1!==arguments.length||"string"!=typeof e){for(var s=0;s<this.length;s+=1)if(2===i.length)this[s].setAttribute(e,t);else for(var r in e)this[s][r]=e[r],this[s].setAttribute(r,e[r]);return this}if(this[0])return this[0].getAttribute(e)},removeAttr:function(e){for(var t=0;t<this.length;t+=1)this[t].removeAttribute(e);return this},data:function(e,t){var i;if(void 0!==t){for(var s=0;s<this.length;s+=1)(i=this[s]).dom7ElementDataStorage||(i.dom7ElementDataStorage={}),i.dom7ElementDataStorage[e]=t;return this}if(i=this[0]){if(i.dom7ElementDataStorage&&e in i.dom7ElementDataStorage)return i.dom7ElementDataStorage[e];var r=i.getAttribute("data-"+e);
1if(r)return r}},transform:function(e){for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransform=e,i.transform=e}return this},transition:function(e){"string"!=typeof e&&(e+="ms");for(var t=0;t<this.length;t+=1){var i=this[t].style;i.webkitTransitionDuration=e,i.transitionDuration=e}return this},on:function(){function e(e){var t=e.target;if(t){var i=e.target.dom7EventData||[];if(i.unshift(e),R(t).is(a))o.apply(t,i);else for(var s=R(t).parents(),r=0;r<s.length;r+=1)R(s[r]).is(a)&&o.apply(s[r],i)}}function t(e){var t=e&&e.target&&e.target.dom7EventData||[];t.unshift(e),o.apply(this,t)}for(var i=[],s=arguments.length;s--;)i[s]=arguments[s];var r,n=i[0],a=i[1],o=i[2],l=i[3];"function"==typeof i[1]&&(n=(r=i)[0],o=r[1],l=r[2],a=void 0);l||(l=!1);for(var h,d=n.split(" "),c=0;c<this.length;c+=1){var u=this[c];if(a)for(h=0;h<d.length;h+=1)u.dom7LiveListeners||(u.dom7LiveListeners=[]),u.dom7LiveListeners.push({type:n,listener:o,proxyListener:e}),u.addEventListener(d[h],e,l);else for(h=0;h<d.length;h+=1)u.dom7Listeners||(u.dom7Listeners=[]),u.dom7Listeners.push({type:n,listener:o,proxyListener:t}),u.addEventListener(d[h],t,l)}return this},off:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s=e[0],r=e[1],n=e[2],a=e[3];"function"==typeof e[1]&&(s=(i=e)[0],n=i[1],a=i[2],r=void 0);a||(a=!1);for(var o=s.split(" "),l=0;l<o.length;l+=1)for(var h=0;h<this.length;h+=1){var d=this[h];if(r){if(d.dom7LiveListeners)for(var c=0;c<d.dom7LiveListeners.length;c+=1)n?d.dom7LiveListeners[c].listener===n&&d.removeEventListener(o[l],d.dom7LiveListeners[c].proxyListener,a):d.dom7LiveListeners[c].type===o[l]&&d.removeEventListener(o[l],d.dom7LiveListeners[c].proxyListener,a)}else if(d.dom7Listeners)for(var u=0;u<d.dom7Listeners.length;u+=1)n?d.dom7Listeners[u].listener===n&&d.removeEventListener(o[l],d.dom7Listeners[u].proxyListener,a):d.dom7Listeners[u].type===o[l]&&d.removeEventListener(o[l],d.dom7Listeners[u].proxyListener,a)}return this},trigger:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=e[0].split(" "),s=e[1],r=0;r<i.length;r+=1)for(var n=0;n<this.length;n+=1){var a=void 0;try{a=new window.CustomEvent(i[r],{detail:s,bubbles:!0,cancelable:!0})}catch(e){(a=document.createEvent("Event")).initEvent(i[r],!0,!0),a.detail=s}this[n].dom7EventData=e.filter(function(e,t){return 0<t}),this[n].dispatchEvent(a),this[n].dom7EventData=[],delete this[n].dom7EventData}return this},transitionEnd:function(t){function i(e){if(e.target===this)for(t.call(this,e),s=0;s<r.length;s+=1)n.off(r[s],i)}var s,r=["webkitTransitionEnd","transitionend"],n=this;if(t)for(s=0;s<r.length;s+=1)n.on(r[s],i);return this},outerWidth:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetWidth+parseFloat(t.getPropertyValue("margin-right"))+parseFloat(t.getPropertyValue("margin-left"))}return this[0].offsetWidth}return null},outerHeight:function(e){if(0<this.length){if(e){var t=this.styles();return this[0].offsetHeight+parseFloat(t.getPropertyValue("margin-top"))+parseFloat(t.getPropertyValue("margin-bottom"))}return this[0].offsetHeight}return null},offset:function(){if(0<this.length){var e=this[0],t=e.getBoundingClientRect(),i=document.body,s=e.clientTop||i.clientTop||0,r=e.clientLeft||i.clientLeft||0,n=e===window?window.scrollY:e.scrollTop,a=e===window?window.scrollX:e.scrollLeft;return{top:t.top+n-s,left:t.left+a-r}}return null},css:function(e,t){var i;if(1===arguments.length){if("string"!=typeof e){for(i=0;i<this.length;i+=1)for(var s in e)this[i].style[s]=e[s];return this}if(this[0])return window.getComputedStyle(this[0],null).getPropertyValue(e)}if(2===arguments.length&&"string"==typeof e){for(i=0;i<this.length;i+=1)this[i].style[e]=t;return this}return this},each:function(e){if(!e)return this;for(var t=0;t<this.length;t+=1)if(!1===e.call(this[t],t,this[t]))return this;return this},html:function(e){if(void 0===e)return this[0]?this[0].innerHTML:void 0;for(var t=0;t<this.length;t+=1)this[t].innerHTML=e;return this},text:function(e){if(void 0===e)return this[0]?this[0].textContent.trim():null;for(var t=0;t<this.length;t+=1)this[t].textContent=e;return this},is:function(e){var t,i,s=this[0];if(!s||void 0===e)return!1;if("string"==typeof e){if(s.matches)return s.matches(e);if(s.webkitMatchesSelector)return s.webkitMatchesSelector(e);
1if(s.msMatchesSelector)return s.msMatchesSelector(e);for(t=R(e),i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}if(e===document)return s===document;if(e===window)return s===window;if(e.nodeType||e instanceof l){for(t=e.nodeType?[e]:e,i=0;i<t.length;i+=1)if(t[i]===s)return!0;return!1}return!1},index:function(){var e,t=this[0];if(t){for(e=0;null!==(t=t.previousSibling);)1===t.nodeType&&(e+=1);return e}},eq:function(e){if(void 0===e)return this;var t,i=this.length;return i-1<e?new l([]):e<0?new l((t=i+e)<0?[]:[this[t]]):new l([this[e]])},append:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i,s=0;s<e.length;s+=1){i=e[s];for(var r=0;r<this.length;r+=1)if("string"==typeof i){var n=document.createElement("div");for(n.innerHTML=i;n.firstChild;)this[r].appendChild(n.firstChild)}else if(i instanceof l)for(var a=0;a<i.length;a+=1)this[r].appendChild(i[a]);else this[r].appendChild(i)}return this},prepend:function(e){var t,i,s=this;for(t=0;t<this.length;t+=1)if("string"==typeof e){var r=document.createElement("div");for(r.innerHTML=e,i=r.childNodes.length-1;0<=i;i-=1)s[t].insertBefore(r.childNodes[i],s[t].childNodes[0])}else if(e instanceof l)for(i=0;i<e.length;i+=1)s[t].insertBefore(e[i],s[t].childNodes[0]);else s[t].insertBefore(e,s[t].childNodes[0]);return this},next:function(e){return new l(0<this.length?e?this[0].nextElementSibling&&R(this[0].nextElementSibling).is(e)?[this[0].nextElementSibling]:[]:this[0].nextElementSibling?[this[0].nextElementSibling]:[]:[])},nextAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.nextElementSibling;){var s=i.nextElementSibling;e?R(s).is(e)&&t.push(s):t.push(s),i=s}return new l(t)},prev:function(e){if(0<this.length){var t=this[0];return new l(e?t.previousElementSibling&&R(t.previousElementSibling).is(e)?[t.previousElementSibling]:[]:t.previousElementSibling?[t.previousElementSibling]:[])}return new l([])},prevAll:function(e){var t=[],i=this[0];if(!i)return new l([]);for(;i.previousElementSibling;){var s=i.previousElementSibling;e?R(s).is(e)&&t.push(s):t.push(s),i=s}return new l(t)},parent:function(e){for(var t=[],i=0;i<this.length;i+=1)null!==this[i].parentNode&&(e?R(this[i].parentNode).is(e)&&t.push(this[i].parentNode):t.push(this[i].parentNode));return R(n(t))},parents:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].parentNode;s;)e?R(s).is(e)&&t.push(s):t.push(s),s=s.parentNode;return R(n(t))},closest:function(e){var t=this;return void 0===e?new l([]):(t.is(e)||(t=t.parents(e).eq(0)),t)},find:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].querySelectorAll(e),r=0;r<s.length;r+=1)t.push(s[r]);return new l(t)},children:function(e){for(var t=[],i=0;i<this.length;i+=1)for(var s=this[i].childNodes,r=0;r<s.length;r+=1)e?1===s[r].nodeType&&R(s[r]).is(e)&&t.push(s[r]):1===s[r].nodeType&&t.push(s[r]);return new l(n(t))},remove:function(){for(var e=0;e<this.length;e+=1)this[e].parentNode&&this[e].parentNode.removeChild(this[e]);return this},add:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s;for(i=0;i<e.length;i+=1){var r=R(e[i]);for(s=0;s<r.length;s+=1)this[this.length]=r[s],this.length+=1}return this},styles:function(){return this[0]?window.getComputedStyle(this[0],null):{}}};Object.keys(t).forEach(function(e){R.fn[e]=t[e]});var e,A={deleteProps:function(e){var t=e;Object.keys(t).forEach(function(e){try{t[e]=null}catch(e){}try{delete t[e]}catch(e){}})},nextTick:function(e,t){return void 0===t&&(t=0),setTimeout(e,t)},now:function(){return Date.now()},getTranslate:function(e,t){void 0===t&&(t="x");var i,s,r,n=f.getComputedStyle(e,null);return f.WebKitCSSMatrix?(6<(s=n.transform||n.webkitTransform).split(",").length&&(s=s.split(", ").map(function(e){return e.replace(",",".")}).join(", ")),r=new f.WebKitCSSMatrix("none"===s?"":s)):i=(r=n.MozTransform||n.OTransform||n.MsTransform||n.msTransform||n.transform||n.getPropertyValue("transform").replace("translate(","matrix(1, 0, 0, 1,")).toString().split(","),"x"===t&&(s=f.WebKitCSSMatrix?r.m41:16===i.length?parseFloat(i[12]):parseFloat(i[4])),"y"===t&&(s=f.WebKitCSSMatrix?r.m42:16===i.length?parseFloat(i[13]):parseFloat(i[5])),s||0},parseUrlQuery:function(e){var t,i,s,r,n={},a=e||f.location.href;if("string"==typeof a&&a.length)for(r=(i=(a=-1<a.indexOf("?")?a.replace(/\S*\?/,""):"").split("&").filter(function(e){return""!==e})).length,t=0;t<r;t+=1)s=i[t].replace(/#\S+/g,"").split("="),n[decodeURIComponent(s[0])]=void 0===s[1]?void 0:decodeURIComponent(s[1])||"";return n},isObject:function(e){return"object"==typeof e&&null!==e&&e.constructor&&e.constructor===Object},extend:function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];for(var i=Object(e[0]),s=1;s<e.length;s+=1){var r=e[s];if(null!=r)for(var n=Object.keys(Object(r)),a=0,o=n.length;a<o;a+=1){var l=n[a],h=Object.getOwnPropertyDescriptor(r,l);void 0!==h&&h.enumerable&&(A.isObject(i[l])&&A.isObject(r[l])?A.extend(i[l],r[l]):!A.isObject(i[l])&&A.isObject(r[l])?(i[l]={},A.extend(i[l],r[l])):i[l]=r[l])}}return i}},m="undefined"==typeof document?{addEventListener:function(){},removeEventListener:function(){},activeElement:{blur:function(){},nodeName:""},querySelector:function(){return{}},querySelectorAll:function(){return[]},createElement:function(){return{style:{},setAttribute:function(){},getElementsByTagName:function(){return[]}}},location:{hash:""}}:document,D={touch:f.Modernizr&&!0===f.Modernizr.touch||!!("ontouchstart"in f||f.DocumentTouch&&m instanceof f.DocumentTouch),transforms3d:f.Modernizr&&!0===f.Modernizr.csstransforms3d||(e=m.createElement("div").style,"webkitPerspective"in e||"MozPerspective"in e||"OPerspective"in e||"MsPerspective"in e||"perspective"in e),flexbox:function(){for(var e=m.createElement("div").style,t="alignItems webkitAlignItems webkitBoxAlign msFlexAlign mozBoxAlign webkitFlexDirection msFlexDirection mozBoxDirection mozBoxOrient webkitBoxDirection webkitBoxOrient".split(" "),i=0;i<t.length;i+=1)if(t[i]in e)return!0;return!1}(),observer:"MutationObserver"in f||"WebkitMutationObserver"in f,passiveListener:function(){var e=!1;try{var t=Object.defineProperty({},"passive",{get:function(){e=!0}});f.addEventListener("testPassiveListener",null,t)}catch(e){}return e}(),gestures:"ongesturestart"in f},i=function(e){void 0===e&&(e={});var t=this;t.params=e,t.eventsListeners={}
1,t.params&&t.params.on&&Object.keys(t.params.on).forEach(function(e){t.on(e,t.params.on[e])})},s={components:{}};i.prototype.on=function(e,t){var i=this;return"function"!=typeof t||e.split(" ").forEach(function(e){i.eventsListeners[e]||(i.eventsListeners[e]=[]),i.eventsListeners[e].push(t)}),i},i.prototype.once=function(s,r){var n=this;return"function"!=typeof r?n:n.on(s,function e(){for(var t=[],i=arguments.length;i--;)t[i]=arguments[i];r.apply(n,t),n.off(s,e)})},i.prototype.off=function(e,s){var r=this;return e.split(" ").forEach(function(i){void 0===s?r.eventsListeners[i]=[]:r.eventsListeners[i].forEach(function(e,t){e===s&&r.eventsListeners[i].splice(t,1)})}),r},i.prototype.emit=function(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,s,r,n=this;return n.eventsListeners&&("string"==typeof e[0]||Array.isArray(e[0])?(i=e[0],s=e.slice(1,e.length),r=n):(i=e[0].events,s=e[0].data,r=e[0].context||n),(Array.isArray(i)?i:i.split(" ")).forEach(function(e){if(n.eventsListeners[e]){var t=[];n.eventsListeners[e].forEach(function(e){t.push(e)}),t.forEach(function(e){e.apply(r,s)})}})),n},i.prototype.useModulesParams=function(i){var s=this;s.modules&&Object.keys(s.modules).forEach(function(e){var t=s.modules[e];t.params&&A.extend(i,t.params)})},i.prototype.useModules=function(s){void 0===s&&(s={});var r=this;r.modules&&Object.keys(r.modules).forEach(function(e){var i=r.modules[e],t=s[e]||{};i.instance&&Object.keys(i.instance).forEach(function(e){var t=i.instance[e];r[e]="function"==typeof t?t.bind(r):t}),i.on&&r.on&&Object.keys(i.on).forEach(function(e){r.on(e,i.on[e])}),i.create&&i.create.bind(r)(t)})},s.components.set=function(e){this.use&&this.use(e)},i.installModule=function(t){for(var e=[],i=arguments.length-1;0<i--;)e[i]=arguments[i+1];var s=this;s.prototype.modules||(s.prototype.modules={});var r=t.name||Object.keys(s.prototype.modules).length+"_"+A.now();return(s.prototype.modules[r]=t).proto&&Object.keys(t.proto).forEach(function(e){s.prototype[e]=t.proto[e]}),t.static&&Object.keys(t.static).forEach(function(e){s[e]=t.static[e]}),t.install&&t.install.apply(s,e),s},i.use=function(e){for(var t=[],i=arguments.length-1;0<i--;)t[i]=arguments[i+1];var s=this;return Array.isArray(e)?(e.forEach(function(e){return s.installModule(e)}),s):s.installModule.apply(s,[e].concat(t))},Object.defineProperties(i,s);var r,a,o={updateSize:function(){var e,t,i=this,s=i.$el;e=void 0!==i.params.width?i.params.width:s[0].clientWidth,t=void 0!==i.params.height?i.params.height:s[0].clientHeight,0===e&&i.isHorizontal()||0===t&&i.isVertical()||(e=e-parseInt(s.css("padding-left"),10)-parseInt(s.css("padding-right"),10),t=t-parseInt(s.css("padding-top"),10)-parseInt(s.css("padding-bottom"),10),A.extend(i,{width:e,height:t,size:i.isHorizontal()?e:t}))},updateSlides:function(){var e=this,t=e.params,i=e.$wrapperEl,s=e.size,r=e.rtl,n=e.wrongRTL,a=i.children("."+e.params.slideClass),o=e.virtual&&t.virtual.enabled?e.virtual.slides.length:a.length,l=[],h=[],d=[],c=t.slidesOffsetBefore;"function"==typeof c&&(c=t.slidesOffsetBefore.call(e));var u=t.slidesOffsetAfter;"function"==typeof u&&(u=t.slidesOffsetAfter.call(e));var p=o,f=e.snapGrid.length,m=e.snapGrid.length,g=t.spaceBetween,v=-c,_=0,y=0;if(void 0!==s){var w,b;"string"==typeof g&&0<=g.indexOf("%")&&(g=parseFloat(g.replace("%",""))/100*s),e.virtualSize=-g,r?a.css({marginLeft:"",marginTop:""}):a.css({marginRight:"",marginBottom:""}),1<t.slidesPerColumn&&(w=Math.floor(o/t.slidesPerColumn)===o/e.params.slidesPerColumn?o:Math.ceil(o/t.slidesPerColumn)*t.slidesPerColumn,"auto"!==t.slidesPerView&&"row"===t.slidesPerColumnFill&&(w=Math.max(w,t.slidesPerView*t.slidesPerColumn)));for(var x,T=t.slidesPerColumn,S=w/T,E=S-(t.slidesPerColumn*S-o),C=0;C<o;C+=1){x=0;var P=a.eq(C);if(1<t.slidesPerColumn){var M=void 0,k=void 0,z=void 0;"column"===t.slidesPerColumnFill?(z=C-(k=Math.floor(C/T))*T,(E<k||k===E&&z===T-1)&&(z+=1)>=T&&(z=0,k+=1),M=k+z*w/T,P.css({"-webkit-box-ordinal-group":M,"-moz-box-ordinal-group":M,"-ms-flex-order":M,"-webkit-order":M,order:M})):k=C-(z=Math.floor(C/S))*S,P.css("margin-"+(e.isHorizontal()?"top":"left"),0!==z&&t.spaceBetween&&t.spaceBetween+"px").attr("data-swiper-column",k).attr("data-swiper-row",z)}"none"!==P.css("display")&&("auto"===t.slidesPerView?(x=e.isHorizontal()?P.outerWidth(!0):P.outerHeight(!0),t.roundLengths&&(x=Math.floor(x))):(x=(s-(t.slidesPerView-1)*g)/t.slidesPerView,t.roundLengths&&(x=Math.floor(x)),a[C]&&(e.isHorizontal()?a[C].style.width=x+"px":a[C].style.height=x+"px")),a[C]&&(a[C].swiperSlideSize=x),d.push(x),t.centeredSlides?(v=v+x/2+_/2+g,0===_&&0!==C&&(v=v-s/2-g),0===C&&(v=v-s/2-g),Math.abs(v)<.001&&(v=0),y%t.slidesPerGroup==0&&l.push(v),h.push(v)):(y%t.slidesPerGroup==0&&l.push(v),h.push(v),v=v+x+g),e.virtualSize+=x+g,_=x,y+=1)}if(e.virtualSize=Math.max(e.virtualSize,s)+u,r&&n&&("slide"===t.effect||"coverflow"===t.effect)&&i.css({width:e.virtualSize+t.spaceBetween+"px"}),D.flexbox&&!t.setWrapperSize||(e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"})),1<t.slidesPerColumn&&(e.virtualSize=(x+t.spaceBetween)*w,e.virtualSize=Math.ceil(e.virtualSize/t.slidesPerColumn)-t.spaceBetween,e.isHorizontal()?i.css({width:e.virtualSize+t.spaceBetween+"px"}):i.css({height:e.virtualSize+t.spaceBetween+"px"}),t.centeredSlides)){b=[];for(var R=0;R<l.length;R+=1)l[R]<e.virtualSize+l[0]&&b.push(l[R]);l=b}if(!t.centeredSlides){b=[];for(var O=0;O<l.length;O+=1)l[O]<=e.virtualSize-s&&b.push(l[O]);l=b,1<Math.floor(e.virtualSize-s)-Math.floor(l[l.length-1])&&l.push(e.virtualSize-s)}0===l.length&&(l=[0]),0!==t.spaceBetween&&(e.isHorizontal()?r?a.css({marginLeft:g+"px"}):a.css({marginRight:g+"px"}):a.css({marginBottom:g+"px"})),A.extend(e,{slides:a,snapGrid:l,slidesGrid:h,slidesSizesGrid:d}),o!==p&&e.emit("slidesLengthChange"),l.length!==f&&e.emit("snapGridLengthChange"),h.length!==m&&e.emit("slidesGridLengthChange"),(t.watchSlidesProgress||t.watchSlidesVisibility)&&e.updateSlidesOffset()}},updateAutoHeight:function(){var e,t=this,i=[],s=0;if("auto"!==t.params.slidesPerView&&1<t.params.slidesPerView)for(e=0;e<Math.ceil(t.params.slidesPerView);e+=1){var r=t.activeIndex+e;if(r>t.slides.length)break;i.push(t.slides.eq(r)[0])}else i.push(t.slides.eq(t.activeIndex)[0]);for(e=0;e<i.length;e+=1)if(void 0!==i[e]){var n=i[e].offsetHeight;s=s<n?n:s}s&&t.$wrapperEl.css("height",s+"px")},updateSlidesOffset:function(){for(var e=this.slides,t=0;t<e.length;t+=1)e[t].swiperSlideOffset=this.isHorizontal()?e[t].offsetLeft:e[t].offsetTop},updateSlidesProgress:function(e){void 0===e&&(e=this.translate||0);var t=this,i=t.params,s=t.slides,r=t.rtl;if(0!==s.length){void 0===s[0].swiperSlideOffset&&t.updateSlidesOffset();var n=-e;r&&(n=e),s.removeClass(i.slideVisibleClass);for(var a=0;a<s.length;a+=1){var o=s[a],l=(n+(i.centeredSlides?t.minTranslate():0)-o.swiperSlideOffset)/(o.swiperSlideSize+i.spaceBetween);if(i.watchSlidesVisibility){var h=-(n-o.swiperSlideOffset),d=h+t.slidesSizesGrid[a];(0<=h&&h<t.size||0<d&&d<=t.size||h<=0&&d>=t.size)&&s.eq(a).addClass(i.slideVisibleClass)}o.progress=r?-l:l}}},updateProgress:function(e){void 0===e&&(e=this.translate||0);var t=this,i=t.params,s=t.maxTranslate()-t.minTranslate(),r=t.progress,n=t.isBeginning,a=t.isEnd,o=n,l=a;0===s?a=n=!(r=0):(n=(r=(e-t.minTranslate())/s)<=0,a=1<=r),A.extend(t,{progress:r,isBeginning:n,isEnd:a}),(i.watchSlidesProgress||i.watchSlidesVisibility)&&t.updateSlidesProgress(e),n&&!o&&t.emit("reachBeginning toEdge"),a&&!l&&t.emit("reachEnd toEdge"),(o&&!n||l&&!a)&&t.emit("fromEdge"),t.emit("progress",r)},updateSlidesClasses:function(){var e,t=this,i=t.slides,s=t.params,r=t.$wrapperEl,n=t.activeIndex,a=t.realIndex,o=t.virtual&&s.virtual.enabled;i.removeClass(s.slideActiveClass+" "+s.slideNextClass+" "+s.slidePrevClass+" "+s.slideDuplicateActiveClass+" "+s.slideDuplicateNextClass+" "+s.slideDuplicatePrevClass),(e=o?t.$wrapperEl.find("."+s.slideClass+'[data-swiper-slide-index="'+n+'"]'):i.eq(n)).addClass(s.slideActiveClass),s.loop&&(e.hasClass(s.slideDuplicateClass)?r.children("."+s.slideClass+":not(."+s.slideDuplicateClass+')[data-swiper-slide-index="'+a+'"]').addClass(s.slideDuplicateActiveClass):r.children("."+s.slideClass+"."+s.slideDuplicateClass+'[data-swiper-slide-index="'+a+'"]').addClass(s.slideDuplicateActiveClass));var l=e.nextAll("."+s.slideClass).eq(0).addClass(s.slideNextClass);s.loop&&0===l.length&&(l=i.eq(0)).addClass(s.slideNextClass);var h=e.prevAll("."+s.slideClass).eq(0).addClass(s.slidePrevClass);s.loop&&0===h.length&&(h=i.eq(-1)).addClass(s.slidePrevClass),s.loop&&(l.hasClass(s.slideDuplicateClass)?r.children("."+s.slideClass+":not(."+s.slideDuplicateClass+')[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(s.slideDuplicateNextClass):r.children("."+s.slideClass+"."+s.slideDuplicateClass+'[data-swiper-slide-index="'+l.attr("data-swiper-slide-index")+'"]').addClass(s.slideDuplicateNextClass),h.hasClass(s.slideDuplicateClass)?r.children("."+s.slideClass+":not(."+s.slideDuplicateClass+')[data-swiper-slide-index="'+h.attr("data-swiper-slide-index")+'"]').addClass(s.slideDuplicatePrevClass):r.children("."+s.slideClass+"."+s.slideDuplicateClass+'[data-swiper-slide-index="'+h.attr("data-swiper-slide-index")+'"]').addClass(s.slideDuplicatePrevClass))},updateActiveIndex:function(e){var t,i=this,s=i.rtl?i.translate:-i.translate,r=i.slidesGrid,n=i.snapGrid,a=i.params,o=i.activeIndex,l=i.realIndex,h=i.snapIndex,d=e;if(void 0===d){for(var c=0;c<r.length;c+=1)void 0!==r[c+1]?s>=r[c]&&s<r[c+1]-(r[c+1]-r[c])/2?d=c:s>=r[c]&&s<r[c+1]&&(d=c+1):s>=r[c]&&(d=c);a.normalizeSlideIndex&&(d<0||void 0===d)&&(d=0)}if((t=0<=n.indexOf(s)?n.indexOf(s):Math.floor(d/a.slidesPerGroup))>=n.length&&(t=n.length-1),d!==o){var u=parseInt(i.slides.eq(d).attr("data-swiper-slide-index")||d,10);A.extend(i,{snapIndex:t,realIndex:u,previousIndex:o,activeIndex:d}),i.emit("activeIndexChange"),i.emit("snapIndexChange"),l!==u&&i.emit("realIndexChange"),i.emit("slideChange")}else t!==h&&(i.snapIndex=t,i.emit("snapIndexChange"))},updateClickedSlide:function(e){var t=this,i=t.params,s=R(e.target).closest("."+i.slideClass)[0],r=!1;if(s)for(var n=0;n<t.slides.length;n+=1)t.slides[n]===s&&(r=!0);if(!s||!r)return t.clickedSlide=void 0,void(t.clickedIndex=void 0);t.clickedSlide=s,t.virtual&&t.params.virtual.enabled?t.clickedIndex=parseInt(R(s).attr("data-swiper-slide-index"),10):t.clickedIndex=R(s).index(),i.slideToClickedSlide&&void 0!==t.clickedIndex&&t.clickedIndex!==t.activeIndex&&t.slideToClickedSlide()}},h={getTranslate:function(e){void 0===e&&(e=this.isHorizontal()?"x":"y");var t=this.params,i=this.rtl,s=this.translate,r=this.$wrapperEl;if(t.virtualTranslate)return i?-s:s;var n=A.getTranslate(r[0],e);return i&&(n=-n),n||0},setTranslate:function(e,t){var i=this,s=i.rtl,r=i.params,n=i.$wrapperEl,a=i.progress,o=0,l=0;i.isHorizontal()?o=s?-e:e:l=e,r.roundLengths&&(o=Math.floor(o),l=Math.floor(l)),r.virtualTranslate||(D.transforms3d?n.transform("translate3d("+o+"px, "+l+"px, 0px)"):n.transform("translate("+o+"px, "+l+"px)")),i.translate=i.isHorizontal()?o:l;var h=i.maxTranslate()-i.minTranslate();(0===h?0:(e-i.minTranslate())/h)!==a&&i.updateProgress(e),i.emit("setTranslate",i.translate,t)},minTranslate:function(){return-this.snapGrid[0]},maxTranslate:function(){return-this.snapGrid[this.snapGrid.length-1]}},O={isSafari:(a=f.navigator.userAgent.toLowerCase(),0<=a.indexOf("safari")&&a.indexOf("chrome")<0&&a.indexOf("android")<0),isUiWebView:/(iPhone|iPod|iPad).*AppleWeb
1Kit(?!.*Safari)/i.test(f.navigator.userAgent),ie:f.navigator.pointerEnabled||f.navigator.msPointerEnabled,ieTouch:f.navigator.msPointerEnabled&&1<f.navigator.msMaxTouchPoints||f.navigator.pointerEnabled&&1<f.navigator.maxTouchPoints,lteIE9:(r=m.createElement("div"),r.innerHTML="\x3c!--[if lte IE 9]><i></i><![endif]--\x3e",1===r.getElementsByTagName("i").length)},d={slideTo:function(e,t,i,s){void 0===e&&(e=0),void 0===t&&(t=this.params.speed),void 0===i&&(i=!0);var r=this,n=e;n<0&&(n=0);var a=r.params,o=r.snapGrid,l=r.slidesGrid,h=r.previousIndex,d=r.activeIndex,c=r.rtl,u=r.$wrapperEl,p=Math.floor(n/a.slidesPerGroup);p>=o.length&&(p=o.length-1),(d||a.initialSlide||0)===(h||0)&&i&&r.emit("beforeSlideChangeStart");var f=-o[p];if(r.updateProgress(f),a.normalizeSlideIndex)for(var m=0;m<l.length;m+=1)-Math.floor(100*f)>=Math.floor(100*l[m])&&(n=m);return!(!r.allowSlideNext&&f<r.translate&&f<r.minTranslate()||!r.allowSlidePrev&&f>r.translate&&f>r.maxTranslate()&&(d||0)!==n||(c&&-f===r.translate||!c&&f===r.translate?(r.updateActiveIndex(n),a.autoHeight&&r.updateAutoHeight(),r.updateSlidesClasses(),"slide"!==a.effect&&r.setTranslate(f),1):(0===t||O.lteIE9?(r.setTransition(0),r.setTranslate(f),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,s),r.transitionStart(i),r.transitionEnd(i)):(r.setTransition(t),r.setTranslate(f),r.updateActiveIndex(n),r.updateSlidesClasses(),r.emit("beforeTransitionStart",t,s),r.transitionStart(i),r.animating||(r.animating=!0,u.transitionEnd(function(){r&&!r.destroyed&&r.transitionEnd(i)}))),0)))},slideNext:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this,r=s.params,n=s.animating;return r.loop?!n&&(s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft,s.slideTo(s.activeIndex+r.slidesPerGroup,e,t,i)):s.slideTo(s.activeIndex+r.slidesPerGroup,e,t,i)},slidePrev:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);var s=this,r=s.params,n=s.animating;return r.loop?!n&&(s.loopFix(),s._clientLeft=s.$wrapperEl[0].clientLeft,s.slideTo(s.activeIndex-1,e,t,i)):s.slideTo(s.activeIndex-1,e,t,i)},slideReset:function(e,t,i){void 0===e&&(e=this.params.speed),void 0===t&&(t=!0);return this.slideTo(this.activeIndex,e,t,i)},slideToClickedSlide:function(){var e,t=this,i=t.params,s=t.$wrapperEl,r="auto"===i.slidesPerView?t.slidesPerViewDynamic():i.slidesPerView,n=t.clickedIndex;if(i.loop){if(t.animating)return;e=parseInt(R(t.clickedSlide).attr("data-swiper-slide-index"),10),i.centeredSlides?n<t.loopedSlides-r/2||n>t.slides.length-t.loopedSlides+r/2?(t.loopFix(),n=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),A.nextTick(function(){t.slideTo(n)})):t.slideTo(n):n>t.slides.length-r?(t.loopFix(),n=s.children("."+i.slideClass+'[data-swiper-slide-index="'+e+'"]:not(.'+i.slideDuplicateClass+")").eq(0).index(),A.nextTick(function(){t.slideTo(n)})):t.slideTo(n)}else t.slideTo(n)}},c={loopCreate:function(){var s=this,e=s.params,t=s.$wrapperEl;t.children("."+e.slideClass+"."+e.slideDuplicateClass).remove();var r=t.children("."+e.slideClass);if(e.loopFillGroupWithBlank){var i=e.slidesPerGroup-r.length%e.slidesPerGroup;if(i!==e.slidesPerGroup){for(var n=0;n<i;n+=1){var a=R(m.createElement("div")).addClass(e.slideClass+" "+e.slideBlankClass);t.append(a)}r=t.children("."+e.slideClass)}}"auto"!==e.slidesPerView||e.loopedSlides||(e.loopedSlides=r.length),s.loopedSlides=parseInt(e.loopedSlides||e.slidesPerView,10),s.loopedSlides+=e.loopAdditionalSlides,s.loopedSlides>r.length&&(s.loopedSlides=r.length);var o=[],l=[];r.each(function(e,t){var i=R(t);e<s.loopedSlides&&l.push(t),e<r.length&&e>=r.length-s.loopedSlides&&o.push(t),i.attr("data-swiper-slide-index",e)});for(var h=0;h<l.length;h+=1)t.append(R(l[h].cloneNode(!0)).addClass(e.slideDuplicateClass));for(var d=o.length-1;0<=d;d-=1)t.prepend(R(o[d].cloneNode(!0)).addClass(e.slideDuplicateClass))},loopFix:function(){var e,t=this,i=t.params,s=t.activeIndex,r=t.slides,n=t.loopedSlides,a=t.allowSlidePrev,o=t.allowSlideNext;t.allowSlidePrev=!0,t.allowSlideNext=!0,s<n?(e=r.length-3*n+s,e+=n,t.slideTo(e,0,!1,!0)):("auto"===i.slidesPerView&&2*n<=s||s>
vendor: 5,473 bytes, line 1
1r.length-2*i.slidesPerView)&&(e=-r.length+s+n,e+=n,t.slideTo(e,0,!1,!0)),t.allowSlidePrev=a,t.allowSlideNext=o},loopDestroy:function(){var e=this.$wrapperEl,t=this.params,i=this.slides;e.children("."+t.slideClass+"."+t.slideDuplicateClass).remove(),i.removeAttr("data-swiper-slide-index")}},u={setGrabCursor:function(e){if(!D.touch&&this.params.simulateTouch){var t=this.el;t.style.cursor="move",t.style.cursor=e?"-webkit-grabbing":"-webkit-grab",t.style.cursor=e?"-moz-grabbin":"-moz-grab",t.style.cursor=e?"grabbing":"grab"}},unsetGrabCursor:function(){D.touch||(this.el.style.cursor="")}},p={appendSlide:function(e){var t=this,i=t.$wrapperEl,s=t.params;if(s.loop&&t.loopDestroy(),"object"==typeof e&&"length"in e)for(var r=0;r<e.length;r+=1)e[r]&&i.append(e[r]);else i.append(e);s.loop&&t.loopCreate(),s.observer&&D.observer||t.update()},prependSlide:function(e){var t=this,i=t.params,s=t.$wrapperEl,r=t.activeIndex;i.loop&&t.loopDestroy();var n=r+1;if("object"==typeof e&&"length"in e){for(var a=0;a<e.length;a+=1)e[a]&&s.prepend(e[a]);n=r+e.length}else s.prepend(e);i.loop&&t.loopCreate(),i.observer&&D.observer||t.update(),t.slideTo(n,0,!1)},removeSlide:function(e){var t=this,i=t.params,s=t.$wrapperEl,r=t.activeIndex;i.loop&&(t.loopDestroy(),t.slides=s.children("."+i.slideClass));var n,a=r;if("object"==typeof e&&"length"in e){for(var o=0;o<e.length;o+=1)n=e[o],t.slides[n]&&t.slides.eq(n).remove(),n<a&&(a-=1);a=Math.max(a,0)}else n=e,t.slides[n]&&t.slides.eq(n).remove(),n<a&&(a-=1),a=Math.max(a,0);i.loop&&t.loopCreate(),i.observer&&D.observer||t.update(),i.loop?t.slideTo(a+t.loopedSlides,0,!1):t.slideTo(a,0,!1)},removeAllSlides:function(){for(var e=[],t=0;t<this.slides.length;t+=1)e.push(t);this.removeSlide(e)}},g=function(){var e=f.navigator.userAgent,t={ios:!1,android:!1,androidChrome:!1,desktop:!1,windows:!1,iphone:!1,ipod:!1,ipad:!1,cordova:f.cordova||f.phonegap,phonegap:f.cordova||f.phonegap},i=e.match(/(Windows Phone);?[\s\/]+([\d.]+)?/),s=e.match(/(Android);?[\s\/]+([\d.]+)?/),r=e.match(/(iPad).*OS\s([\d_]+)/),n=e.match(/(iPod)(.*OS\s([\d_]+))?/),a=!r&&e.match(/(iPhone\sOS|iOS)\s([\d_]+)/);if(i&&(t.os="windows",t.osVersion=i[2],t.windows=!0),s&&!i&&(t.os="android",t.osVersion=s[2],t.android=!0,t.androidChrome=0<=e.toLowerCase().indexOf("chrome")),(r||a||n)&&(t.os="ios",t.ios=!0),a&&!n&&(t.osVersion=a[2].replace(/_/g,"."),t.iphone=!0),r&&(t.osVersion=r[2].replace(/_/g,"."),t.ipad=!0),n&&(t.osVersion=n[3]?n[3].replace(/_/g,"."):null,t.iphone=!0),t.ios&&t.osVersion&&0<=e.indexOf("Version/")&&"10"===t.osVersion.split(".")[0]&&(t.osVersion=e.toLowerCase().split("version/")[1].split(" ")[0]),t.desktop=!(t.os||t.android||t.webView),t.webView=(a||r||n)&&e.match(/.*AppleWebKit(?!.*Safari)/i),t.os&&"ios"===t.os){var o=t.osVersion.split("."),l=m.querySelector('meta[name="viewport"]');t.minimalUi=!t.webView&&(n||a)&&(1*o[0]==7?1<=1*o[1]:7<1*o[0])&&l&&0<=l.getAttribute("content").indexOf("minimal-ui")}return t.pixelRatio=f.devicePixelRatio||1,t}(),v=function(){var e=this,t=e.params,i=e.el;if(!i||0!==i.offsetWidth){t.breakpoints&&e.setBreakpoint();var s=e.allowSlideNext,r=e.allowSlidePrev;if(e.allowSlideNext=!0,e.allowSlidePrev=!0,e.updateSize(),e.updateSlides(),t.freeMode){var n=Math.min(Math.max(e.translate,e.maxTranslate()),e.minTranslate());e.setTranslate(n),e.updateActiveIndex(),e.updateSlidesClasses(),t.autoHeight&&e.updateAutoHeight()}else e.updateSlidesClasses(),("auto"===t.slidesPerView||1<t.slidesPerView)&&e.isEnd&&!e.params.centeredSlides?e.slideTo(e.slides.length-1,0,!1,!0):e.slideTo(e.activeIndex,0,!1,!0);e.allowSlidePrev=r,e.allowSlideNext=s}},_={init:!0,direction:"horizontal",touchEventsTarget:"container",initialSlide:0,speed:300,iOSEdgeSwipeDetection:!1,iOSEdgeSwipeThreshold:20,freeMode:!1,freeModeMomentum:!0,freeModeMomentumRatio:1,freeModeMomentumBounce:!0,freeModeMomentumBounceRatio:1,freeModeMomentumVelocityRatio:1,freeModeSticky:!1,freeModeMinimumVelocity:.02,autoHeight:!1,setWrapperSize:!1,virtualTranslate:!1,effect:"slide",breakpoints:void 0,spaceBetween:0,slidesPerView:1,slidesPerColumn:1,slidesPerColumnFill:"column",slidesPerGroup:1,centeredSlides:!1,slidesOffsetBefore:0,slidesOffsetAfter:0,normalizeSlideIndex:!0,roundLengths:!1,touchRatio:1,touchAngle:45,simulateTouch:!0,shortSwipes:!0,longSwipes:!0,longSwipesRatio:.5,longSwipesMs:300,followFinger:!0,allowTouchMove:!0,threshold:0,touchMoveStopPropagation:!0,touchReleaseOnEdges:!1,uniqueNavElements:!0,resistance:!0,resistanceRatio:.85,watchSlidesProgress:!1,watchSlidesVisibility:!1,grabCursor:!1,preventClicks:!0,preventClicksPropagation:!0,slideToClickedSlide:!1,preloadImages:!0,updateOnImagesReady:!0,loop:!1,loopAdditionalSlides:0,loopedSlides:null,loopFillGroupWithBlank:!1,allowSlidePrev:!0,allowSlideNext:!0,swipeHandler:null,noSwiping:!0,noSwipingClass:"swiper-no-swiping",passiveListeners:!0,containerModifierClass:"swiper-container-",slideClass:"swiper-slide",slideBlankClass:"swiper-slide-invisible-blank",slideActiveClass:"swiper-slide-active",slideDuplicateActiveClass:"swiper-slide-duplicate-active",slideVisibleClass:"swiper-slide-visible",slideDuplicateClass:"swiper-slide-duplicate",slideNextClass:"swiper-slide-next",slideDuplicateNextClass:"swiper-slide-duplicate-next",slidePrevClass:"swiper-slide-prev",slideDuplicatePrevClass:"swiper-slide-duplicate-prev",wrapperClass:"swiper-wrapper",runCallbacksOnInit:!0},y={update:o,translate:h,transition:{setTransition:function(e,t){this.$wrapperEl.transition(e),this.emit
1("setTransition",e,t)},transitionStart:function(e){void 0===e&&(e=!0);var t=this,i=t.activeIndex,s=t.params,r=t.previousIndex;s.autoHeight&&t.updateAutoHeight(),t.emit("transitionStart"),e&&i!==r&&(t.emit("slideChangeTransitionStart"),r<i?t.emit("slideNextTransitionStart"):t.emit("slidePrevTransitionStart"))},transitionEnd:function(e){void 0===e&&(e=!0);var t=this,i=t.activeIndex,s=t.previousIndex;t.animating=!1,t.setTransition(0),t.emit("transitionEnd"),e&&i!==s&&(t.emit("slideChangeTransitionEnd"),s<i?t.emit("slideNextTransitionEnd"):t.emit("slidePrevTransitionEnd"))}},slide:d,loop:c,grabCursor:u,manipulation:p,events:{attachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl;e.onTouchStart=function(e){var t=this,i=t.touchEventsData,s=t.params,r=t.touches,n=e;if(n.originalEvent&&(n=n.originalEvent),i.isTouchEvent="touchstart"===n.type,(i.isTouchEvent||!("which"in n)||3!==n.which)&&(!i.isTouched||!i.isMoved))if(s.noSwiping&&R(n.target).closest("."+s.noSwipingClass)[0])t.allowClick=!0;else if(!s.swipeHandler||R(n).closest(s.swipeHandler)[0]){r.currentX="touchstart"===n.type?n.targetTouches[0].pageX:n.pageX,r.currentY="touchstart"===n.type?n.targetTouches[0].pageY:n.pageY;var a=r.currentX,o=r.currentY;if(!(g.ios&&!g.cordova&&s.iOSEdgeSwipeDetection&&a<=s.iOSEdgeSwipeThreshold&&a>=window.screen.width-s.iOSEdgeSwipeThreshold)){if(A.extend(i,{isTouched:!0,isMoved:!1,allowTouchCallbacks:!0,isScrolling:void 0,startMoving:void 0}),r.startX=a,r.startY=o,i.touchStartTime=A.now(),t.allowClick=!0,t.updateSize(),t.swipeDirection=void 0,0<s.threshold&&(i.allowThresholdMove=!1),"touchstart"!==n.type){var l=!0;R(n.target).is(i.formElements)&&(l=!1),m.activeElement&&R(m.activeElement).is(i.formElements)&&m.activeElement.blur(),l&&t.allowTouchMove&&n.preventDefault()}t.emit("touchStart",n)}}}.bind(e),e.onTouchMove=function(e){var t=this,i=t.touchEventsData,s=t.params,r=t.touches,n=t.rtl,a=e;if(a.originalEvent&&(a=a.originalEvent),!i.isTouchEvent||"mousemove"!==a.type){var o="touchmove"===a.type?a.targetTouches[0].pageX:a.pageX,l="touchmove"===a.type?a.targetTouches[0].pageY:a.pageY;if(a.preventedByNestedSwiper)return r.startX=o,void(r.startY=l);if(!t.allowTouchMove)return t.allowClick=!1,void(i.isTouched&&(A.extend(r,{startX:o,startY:l,currentX:o,currentY:l}),i.touchStartTime=A.now()));if(i.isTouchEvent&&s.touchReleaseOnEdges&&!s.loop)if(t.isVertical()){if(l<r.startY&&t.translate<=t.maxTranslate()||l>r.startY&&t.translate>=t.minTranslate())return i.isTouched=!1,void(i.isMoved=!1)}else if(o<r.startX&&t.translate<=t.maxTranslate()||o>r.startX&&t.translate>=t.minTranslate())return;if(i.isTouchEvent&&m.activeElement&&a.target===m.activeElement&&R(a.target).is(i.formElements))return i.isMoved=!0,void(t.allowClick=!1);if(i.allowTouchCallbacks&&t.emit("touchMove",a),!(a.targetTouches&&1<a.targetTouches.length)){r.currentX=o,r.currentY=l;var h,d=r.currentX-r.startX,c=r.currentY-r.startY;if(void 0===i.isScrolling&&(t.isHorizontal()&&r.currentY===r.startY||t.isVertical()&&r.currentX===r.startX?i.isScrolling=!1:25<=d*d+c*c&&(h=180*Math.atan2(Math.abs(c),Math.abs(d))/Math.PI,i.isScrolling=t.isHorizontal()?h>s.touchAngle:90-h>s.touchAngle)),i.isScrolling&&t.emit("touchMoveOpposite",a),"undefined"==typeof startMoving&&(r.currentX===r.startX&&r.currentY===r.startY||(i.startMoving=!0)),i.isTouched)if(i.isScrolling)i.isTouched=!1;else if(i.startMoving){t.allowClick=!1,a.preventDefault(),s.touchMoveStopPropagation&&!s.nested&&a.stopPropagation(),i.isMoved||(s.loop&&t.loopFix(),i.startTranslate=t.getTranslate(),t.setTransition(0),t.animating&&t.$wrapperEl.trigger("webkitTransitionEnd transitionend"),i.allowMomentumBounce=!1,!s.grabCursor||!0!==t.allowSlideNext&&!0!==t.allowSlidePrev||t.setGrabCursor(!0),t.emit("sliderFirstMove",a)),t.emit("sliderMove",a),i.isMoved=!0;var u=t.isHorizontal()?d:c;r.diff=u,u*=s.touchRatio,n&&(u=-u),t.swipeDirection=0<u?"prev":"next",i.currentTranslate=u+i.startTranslate;var p=!0,f=s.resistanceRatio;if(s.touchReleaseOnEdges&&(f=0),0<u&&i.currentTranslate>t.minTranslate()?(p=!1,s.resistance&&(i.currentTranslate=t.minTranslate()-1+Math.pow(-t.minTranslate()+i.startTranslate+u,f))):u<0&&i.currentTranslate<t.maxTranslate()&&(p=!1,s.resistance&&(i.currentTranslate=t.maxTranslate()+1-Math.pow(t.maxTranslate()-i.startTranslate-u,f))),p&&(a.preventedByNestedSwiper=!0),!t.allowSlideNext&&"next"===t.swipeDirection&&i.currentTranslate<i.startTranslate&&(i.currentTranslate=i.startTranslate),!t.allowSlidePrev&&"prev"===t.swipeDirection&&i.currentTranslate>i.startTranslate&&(i.currentTranslate=i.startTranslate),0<s.threshold){if(!(Math.abs(u)>s.threshold||i.allowThresholdMove))return void(i.currentTranslate=i.startTranslate);
vendor: 4,580 bytes, line 1
1if(!i.allowThresholdMove)return i.allowThresholdMove=!0,r.startX=r.currentX,r.startY=r.currentY,i.currentTranslate=i.startTranslate,void(r.diff=t.isHorizontal()?r.currentX-r.startX:r.currentY-r.startY)}s.followFinger&&((s.freeMode||s.watchSlidesProgress||s.watchSlidesVisibility)&&(t.updateActiveIndex(),t.updateSlidesClasses()),s.freeMode&&(0===i.velocities.length&&i.velocities.push({position:r[t.isHorizontal()?"startX":"startY"],time:i.touchStartTime}),i.velocities.push({position:r[t.isHorizontal()?"currentX":"currentY"],time:A.now()})),t.updateProgress(i.currentTranslate),t.setTranslate(i.currentTranslate))}}}}.bind(e),e.onTouchEnd=function(e){var t=this,i=t.touchEventsData,s=t.params,r=t.touches,n=t.rtl,a=t.$wrapperEl,o=t.slidesGrid,l=t.snapGrid,h=e;if(h.originalEvent&&(h=h.originalEvent),i.allowTouchCallbacks&&t.emit("touchEnd",h),i.allowTouchCallbacks=!1,i.isTouched){s.grabCursor&&i.isMoved&&i.isTouched&&(!0===t.allowSlideNext||!0===t.allowSlidePrev)&&t.setGrabCursor(!1);var d,c=A.now(),u=c-i.touchStartTime;if(t.allowClick&&(t.updateClickedSlide(h),t.emit("tap",h),u<300&&300<c-i.lastClickTime&&(i.clickTimeout&&clearTimeout(i.clickTimeout),i.clickTimeout=A.nextTick(function(){t&&!t.destroyed&&t.emit("click",h)},300)),u<300&&c-i.lastClickTime<300&&(i.clickTimeout&&clearTimeout(i.clickTimeout),t.emit("doubleTap",h))),i.lastClickTime=A.now(),A.nextTick(function(){t.destroyed||(t.allowClick=!0)}),!i.isTouched||!i.isMoved||!t.swipeDirection||0===r.diff||i.currentTranslate===i.startTranslate)return i.isTouched=!1,void(i.isMoved=!1);if(i.isTouched=!1,i.isMoved=!1,d=s.followFinger?n?t.translate:-t.translate:-i.currentTranslate,s.freeMode){if(d<-t.minTranslate())return void t.slideTo(t.activeIndex);if(d>-t.maxTranslate())return void(t.slides.length<l.length?t.slideTo(l.length-1):t.slideTo(t.slides.length-1));if(s.freeModeMomentum){if(1<i.velocities.length){var p=i.velocities.pop(),f=i.velocities.pop(),m=p.position-f.position,g=p.time-f.time;t.velocity=m/g,t.velocity/=2,Math.abs(t.velocity)<s.freeModeMinimumVelocity&&(t.velocity=0),(150<g||300<A.now()-p.time)&&(t.velocity=0)}else t.velocity=0;t.velocity*=s.freeModeMomentumVelocityRatio,i.velocities.length=0;var v=1e3*s.freeModeMomentumRatio,_=t.velocity*v,y=t.translate+_;n&&(y=-y);var w,b=!1,x=20*Math.abs(t.velocity)*s.freeModeMomentumBounceRatio;if(y<t.maxTranslate())s.freeModeMomentumBounce?(y+t.maxTranslate()<-x&&(y=t.maxTranslate()-x),w=t.maxTranslate(),b=!0,i.allowMomentumBounce=!0):y=t.maxTranslate();else if(y>t.minTranslate())s.freeModeMomentumBounce?(y-t.minTranslate()>x&&(y=t.minTranslate()+x),w=t.minTranslate(),b=!0,i.allowMomentumBounce=!0):y=t.minTranslate();else if(s.freeModeSticky){for(var T,S=0;S<l.length;S+=1)if(l[S]>-y){T=S;break}y=-(y=Math.abs(l[T]-y)<Math.abs(l[T-1]-y)||"next"===t.swipeDirection?l[T]:l[T-1])}if(0!==t.velocity)v=n?Math.abs((-y-t.translate)/t.velocity):Math.abs((y-t.translate)/t.velocity);else if(s.freeModeSticky)return void t.slideReset();s.freeModeMomentumBounce&&b?(t.updateProgress(w),t.setTransition(v),t.setTranslate(y),t.transitionStart(),t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&i.allowMomentumBounce&&(t.emit("momentumBounce"),t.setTransition(s.speed),t.setTranslate(w),a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))})):t.velocity?(t.updateProgress(y),t.setTransition(v),t.setTranslate(y),t.transitionStart(),t.animating||(t.animating=!0,a.transitionEnd(function(){t&&!t.destroyed&&t.transitionEnd()}))):t.updateProgress(y),t.updateActiveIndex(),t.updateSlidesClasses()}(!s.freeModeMomentum||u>=s.longSwipesMs)&&(t.updateProgress(),t.updateActiveIndex(),t.updateSlidesClasses())}else{for(var E=0,C=t.slidesSizesGrid[0],P=0;P<o.length;P+=s.slidesPerGroup)void 0!==o[P+s.slidesPerGroup]?d>=o[P]&&d<o[P+s.slidesPerGroup]&&(C=o[(E=P)+s.slidesPerGroup]-o[P]):d>=o[P]&&(E=P,C=o[o.length-1]-o[o.length-2]);var M=(d-o[E])/C;if(u>s.longSwipesMs){if(!s.longSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&(M>=s.longSwipesRatio?t.slideTo(E+s.slidesPerGroup):t.slideTo(E)),"prev"===t.swipeDirection&&(M>1-s.longSwipesRatio?t.slideTo(E+s.slidesPerGroup):t.slideTo(E))}else{if(!s.shortSwipes)return void t.slideTo(t.activeIndex);"next"===t.swipeDirection&&t.slideTo(E+s.slidesPerGroup),"prev"===t.swipeDirection&&t.slideTo(E)}}}}.bind(e),e.onClick=function(e){this.allowClick||(this.params.preventClicks&&e.preventDefault(),this.params.preventClicksPropagation&&this.animating&&(e.stopPropagation(),e.stopImmediatePropagation()))}.bind(e);var n="container"===t.touchEventsTarget?s:r,a=!!t.nested;
1if(O.ie)n.addEventListener(i.start,e.onTouchStart,!1),(D.touch?n:m).addEventListener(i.move,e.onTouchMove,a),(D.touch?n:m).addEventListener(i.end,e.onTouchEnd,!1);else{if(D.touch){var o=!("touchstart"!==i.start||!D.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};n.addEventListener(i.start,e.onTouchStart,o),n.addEventListener(i.move,e.onTouchMove,D.passiveListener?{passive:!1,capture:a}:a),n.addEventListener(i.end,e.onTouchEnd,o)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!D.touch&&g.ios)&&(n.addEventListener("mousedown",e.onTouchStart,!1),m.addEventListener("mousemove",e.onTouchMove,a),m.addEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&n.addEventListener("click",e.onClick,!0),e.on("resize observerUpdate",v)},detachEvents:function(){var e=this,t=e.params,i=e.touchEvents,s=e.el,r=e.wrapperEl,n="container"===t.touchEventsTarget?s:r,a=!!t.nested;if(O.ie)n.removeEventListener(i.start,e.onTouchStart,!1),(D.touch?n:m).removeEventListener(i.move,e.onTouchMove,a),(D.touch?n:m).removeEventListener(i.end,e.onTouchEnd,!1);else{if(D.touch){var o=!("onTouchStart"!==i.start||!D.passiveListener||!t.passiveListeners)&&{passive:!0,capture:!1};n.removeEventListener(i.start,e.onTouchStart,o),n.removeEventListener(i.move,e.onTouchMove,a),n.removeEventListener(i.end,e.onTouchEnd,o)}(t.simulateTouch&&!g.ios&&!g.android||t.simulateTouch&&!D.touch&&g.ios)&&(n.removeEventListener("mousedown",e.onTouchStart,!1),m.removeEventListener("mousemove",e.onTouchMove,a),m.removeEventListener("mouseup",e.onTouchEnd,!1))}(t.preventClicks||t.preventClicksPropagation)&&n.removeEventListener("click",e.onClick,!0),e.off("resize observerUpdate",v)}},breakpoints:{setBreakpoint:function(){var e=this,t=e.activeIndex,i=e.loopedSlides;void 0===i&&(i=0);var s=e.params,r=s.breakpoints;if(r&&(!r||0!==Object.keys(r).length)){var n=e.getBreakpoint(r);if(n&&e.currentBreakpoint!==n){var a=n in r?r[n]:e.originalParams,o=s.loop&&a.slidesPerView!==s.slidesPerView;A.extend(e.params,a),A.extend(e,{allowTouchMove:e.params.allowTouchMove,allowSlideNext:e.params.allowSlideNext,allowSlidePrev:e.params.allowSlidePrev}),e.currentBreakpoint=n,o&&(e.loopDestroy(),e.loopCreate(),e.updateSlides(),e.slideTo(t-i+e.loopedSlides,0,!1)),e.emit("breakpoint",a)}}},getBreakpoint:function(e){if(e){var t=!1,i=[];Object.keys(e).forEach(function(e){i.push(e)}),i.sort(function(e,t){return parseInt(e,10)-parseInt(t,10)});for(var s=0;s<i.length;s+=1){var r=i[s];r>=f.innerWidth&&!t&&(t=r)}return t||"max"}}},classes:{addClasses:function(){var t=this.classNames,i=this.params,e=this.rtl,s=this.$el,r=[];r.push(i.direction),i.freeMode&&r.push("free-mode"),D.flexbox||r.push("no-flexbox"),i.autoHeight&&r.push("autoheight"),e&&r.push("rtl"),1<i.slidesPerColumn&&r.push("multirow"),g.android&&r.push("android"),g.ios&&r.push("ios"),(f.navigator.pointerEnabled||f.navigator.msPointerEnabled)&&r.push("wp8-"+i.direction),r.forEach(function(e){t.push(i.containerModifierClass+e)}),s.addClass(t.join(" "))},removeClasses:function(){var e=this.$el,t=this.classNames;e.removeClass(t.join(" "))}},images:{loadImage:function(e,t,i,s,r,n){function a(){n&&n()}var o;e.complete&&r?a():t?((o=new f.Image).onload=a,o.onerror=a,s&&(o.sizes=s),i&&(o.srcset=i),t&&(o.src=t)):a()},preloadImages:function(){var e=this;e.imagesToLoad=e.$el.find("img");for(var t=0;t<e.imagesToLoad.length;t+=1){var i=e.imagesToLoad[t];e.loadImage(i,i.currentSrc||i.getAttribute("src"),i.srcset||i.getAttribute("srcset"),i.sizes||i.getAttribute("sizes"),!0,function(){null!=e&&e&&!e.destroyed&&(void 0!==e.imagesLoaded&&(e.imagesLoaded+=1),e.imagesLoaded===e.imagesToLoad.length&&(e.params.updateOnImagesReady&&e.update(),e.emit("imagesReady")))})}}}},w={},b=function(u){function p(){for(var e=[],t=arguments.length;t--;)e[t]=arguments[t];var i,r,s;1===e.length&&e[0].constructor&&e[0].constructor===Object?r=e[0]:(i=(s=e)[0],r=s[1]);r||(r={}),r=A.extend({},r),i&&!r.el&&(r.el=i),u.call(this,r),Object.keys(y).forEach(function(t){Object.keys(y[t]).forEach(function(e){p.prototype[e]||(p.prototype[e]=y[t][e])})});var n=this;void 0===n.modules&&(n.modules={}
1),Object.keys(n.modules).forEach(function(e){var t=n.modules[e];if(t.params){var i=Object.keys(t.params)[0],s=t.params[i];if("object"!=typeof s)return;if(!(i in r&&"enabled"in s))return;!0===r[i]&&(r[i]={enabled:!0}),"object"!=typeof r[i]||"enabled"in r[i]||(r[i].enabled=!0),r[i]||(r[i]={enabled:!1})}});var a=A.extend({},_);n.useModulesParams(a),n.params=A.extend({},a,w,r),n.originalParams=A.extend({},n.params),n.passedParams=A.extend({},r);var o,l,h=R(n.params.el);if(i=h[0]){if(1<h.length){var d=[];return h.each(function(e,t){var i=A.extend({},r,{el:t});d.push(new p(i))}),d}i.swiper=n,h.data("swiper",n);var c=h.children("."+n.params.wrapperClass);return A.extend(n,{$el:h,el:i,$wrapperEl:c,wrapperEl:c[0],classNames:[],slides:R(),slidesGrid:[],snapGrid:[],slidesSizesGrid:[],isHorizontal:function(){return"horizontal"===n.params.direction},isVertical:function(){return"vertical"===n.params.direction},rtl:"horizontal"===n.params.direction&&("rtl"===i.dir.toLowerCase()||"rtl"===h.css("direction")),wrongRTL:"-webkit-box"===c.css("display"),activeIndex:0,realIndex:0,isBeginning:!0,isEnd:!1,translate:0,progress:0,velocity:0,animating:!1,allowSlideNext:n.params.allowSlideNext,allowSlidePrev:n.params.allowSlidePrev,touchEvents:(o=["touchstart","touchmove","touchend"],l=["mousedown","mousemove","mouseup"],f.navigator.pointerEnabled?l=["pointerdown","pointermove","pointerup"]:f.navigator.msPointerEnabled&&(l=["MSPointerDown","MsPointerMove","MsPointerUp"]),{start:D.touch||!n.params.simulateTouch?o[0]:l[0],move:D.touch||!n.params.simulateTouch?o[1]:l[1],end:D.touch||!n.params.simulateTouch?o[2]:l[2]}),touchEventsData:{isTouched:void 0,isMoved:void 0,allowTouchCallbacks:void 0,touchStartTime:void 0,isScrolling:void 0,currentTranslate:void 0,startTranslate:void 0,allowThresholdMove:void 0,formElements:"input, select, option, textarea, button, video",lastClickTime:A.now(),clickTimeout:void 0,velocities:[],allowMomentumBounce:void 0,isTouchEvent:void 0,startMoving:void 0},allowClick:!0,allowTouchMove:n.params.allowTouchMove,touches:{startX:0,startY:0,currentX:0,currentY:0,diff:0},imagesToLoad:[],imagesLoaded:0}),n.useModules(),n.params.init&&n.init(),n}}u&&(p.__proto__=u);var e={extendedDefaults:{},defaults:{},Class:{},$:{}};return((p.prototype=Object.create(u&&u.prototype)).constructor=p).prototype.slidesPerViewDynamic=function(){var e=this,t=e.params,i=e.slides,s=e.slidesGrid,r=e.size,n=e.activeIndex,a=1;if(t.centeredSlides){for(var o,l=i[n].swiperSlideSize,h=n+1;h<i.length;h+=1)i[h]&&!o&&(a+=1,(l+=i[h].swiperSlideSize)>r&&(o=!0));for(var d=n-1;0<=d;d-=1)i[d]&&!o&&(a+=1,(l+=i[d].swiperSlideSize)>r&&(o=!0))}else for(var c=n+1;c<i.length;c+=1)s[c]-s[n]<r&&(a+=1);return a},p.prototype.update=function(){function e(){t=Math.min(Math.max(i.translate,i.maxTranslate()),i.minTranslate()),i.setTranslate(t),i.updateActiveIndex(),i.updateSlidesClasses()}var t,i=this;i&&!i.destroyed&&(i.updateSize(),i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.params.freeMode?(e(),i.params.autoHeight&&i.updateAutoHeight()):(("auto"===i.params.slidesPerView||1<i.params.slidesPerView)&&i.isEnd&&!i.params.centeredSlides?i.slideTo(i.slides.length-1,0,!1,!0):i.slideTo(i.activeIndex,0,!1,!0))||e(),i.emit("update"))},p.prototype.init=function(){var e=this;e.initialized||(e.emit("beforeInit"),e.params.breakpoints&&e.setBreakpoint(),e.addClasses(),e.params.loop&&e.loopCreate(),e.updateSize(),e.updateSlides(),e.params.grabCursor&&e.setGrabCursor(),e.params.preloadImages&&e.preloadImages(),e.params.loop?e.slideTo(e.params.initialSlide+e.loopedSlides,0,e.params.runCallbacksOnInit):e.slideTo(e.params.initialSlide,0,e.params.runCallbacksOnInit),e.attachEvents(),e.initialized=!0,e.emit("init"))},p.prototype.destroy=function(e,t){void 0===e&&(e=!0),void 0===t&&(t=!0);var i=this,s=i.params,r=i.$el,n=i.$wrapperEl,a=i.slides;i.emit("beforeDestroy"),i.initialized=!1,i.detachEvents(),s.loop&&i.loopDestroy(),t&&(i.removeClasses(),r.removeAttr("style"),n.removeAttr("style"),a&&a.length&&a.removeClass([s.slideVisibleClass,s.slideActiveClass,s.slideNextClass,s.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index").removeAttr("data-swiper-column").removeAttr("data-swiper-row")),i.emit("destroy"),Object.keys(i.eventsListeners).forEac
1h(function(e){i.off(e)}),!1!==e&&(i.$el[0].swiper=null,i.$el.data("swiper",null),A.deleteProps(i)),i.destroyed=!0},p.extendDefaults=function(e){A.extend(w,e)},e.extendedDefaults.get=function(){return w},e.defaults.get=function(){return _},e.Class.get=function(){return u},e.$.get=function(){return R},Object.defineProperties(p,e),p}(i),x={name:"device",proto:{device:g},static:{device:g}},T={name:"support",proto:{support:D},static:{support:D}},S={name:"browser",proto:{browser:O},static:{browser:O}},E={name:"resize",create:function(){var e=this;A.extend(e,{resize:{resizeHandler:function(){e&&!e.destroyed&&e.initialized&&(e.emit("beforeResize"),e.emit("resize"))},orientationChangeHandler:function(){e&&!e.destroyed&&e.initialized&&e.emit("orientationchange")}}})},on:{init:function(){f.addEventListener("resize",this.resize.resizeHandler),f.addEventListener("orientationchange",this.resize.orientationChangeHandler)},destroy:function(){f.removeEventListener("resize",this.resize.resizeHandler),f.removeEventListener("orientationchange",this.resize.orientationChangeHandler)}}},C={func:f.MutationObserver||f.WebkitMutationObserver,attach:function(e,t){void 0===t&&(t={});var i=this,s=new C.func(function(e){e.forEach(function(e){i.emit("observerUpdate",e)})});s.observe(e,{attributes:void 0===t.attributes||t.attributes,childList:void 0===t.childList||t.childList,characterData:void 0===t.characterData||t.characterData}),i.observer.observers.push(s)},init:function(){var e=this;if(D.observer&&e.params.observer){if(e.params.observeParents)for(var t=e.$el.parents(),i=0;i<t.length;i+=1)e.observer.attach(t[i]);e.observer.attach(e.$el[0],{childList:!1}),e.observer.attach(e.$wrapperEl[0],{attributes:!1})}},destroy:function(){this.observer.observers.forEach(function(e){e.disconnect()}),this.observer.observers=[]}},P={name:"observer",params:{observer:!1,observeParents:!1},create:function(){A.extend(this,{observer:{init:C.init.bind(this),attach:C.attach.bind(this),destroy:C.destroy.bind(this),observers:[]}})},on:{init:function(){this.observer.init()},destroy:function(){this.observer.destroy()}}},M={update:function(e){function t(){i.updateSlides(),i.updateProgress(),i.updateSlidesClasses(),i.lazy&&i.params.lazy.enabled&&i.lazy.load()}var i=this,s=i.params,r=s.slidesPerView,n=s.slidesPerGroup,a=s.centeredSlides,o=i.virtual,l=o.from,h=o.to,d=o.slides,c=o.slidesGrid,u=o.renderSlide,p=o.offset;i.updateActiveIndex();var f,m,g,v=i.activeIndex||0;f=i.rtl&&i.isHorizontal()?"right":i.isHorizontal()?"left":"top",a?(m=Math.floor(r/2)+n,g=Math.floor(r/2)+n):(m=r+(n-1),g=n);var _=Math.max((v||0)-g,0),y=Math.min((v||0)+m,d.length-1),w=(i.slidesGrid[_]||0)-(i.slidesGrid[0]||0);if(A.extend(i.virtual,{from:_,to:y,offset:w,slidesGrid:i.slidesGrid}),l===_&&h===y&&!e)return i.slidesGrid!==c&&w!==p&&i.slides.css(f,w+"px"),void i.updateProgress();if(i.params.virtual.renderExternal)return i.params.virtual.renderExternal.call(i,{offset:w,from:_,to:y,slides:function(){for(var e=[],t=_;t<=y;t+=1)e.push(d[t]);return e}()}),void t();var b=[],x=[];if(e)i.$wrapperEl.find("."+i.params.slideClass).remove();else for(var T=l;T<=h;T+=1)(T<_||y<T)&&i.$wrapperEl.find("."+i.params.slideClass+'[data-swiper-slide-index="'+T+'"]').remove();for(var S=0;S<d.length;S+=1)_<=S&&S<=y&&(void 0===h||e?x.push(S):(h<S&&x.push(S),S<l&&b.push(S)));x.forEach(function(e){i.$wrapperEl.append(u(d[e],e))}),b.sort(function(e,t){return e<t}).forEach(function(e){i.$wrapperEl.prepend(u(d[e],e))}),i.$wrapperEl.children(".swiper-slide").css(f,w+"px"),t()},renderSlide:function(e,t){var i=this,s=i.params.virtual;if(s.cache&&i.virtual.cache[t])return i.virtual.cache[t];var r=R(s.renderSlide?s.renderSlide.call(i,e,t):'<div class="'+i.params.slideClass+'" data-swiper-slide-index="'+t+'">'+e+"</div>");return r.attr("data-swiper-slide-index")||r.attr("data-swiper-slide-index",t),s.cache&&(i.virtual.cache[t]=r),r},appendSlide:function(e){this.virtual.slides.push(e),this.virtual.update(!0)},prependSlide:function(e){var t=this;if(t.virtual.slides.unshift(e),t.params.virtual.cache){var i=t.virtual.cache,s={};
1Object.keys(i).forEach(function(e){s[e+1]=i[e]}),t.virtual.cache=s}t.virtual.update(!0),t.slideNext(0)}},k={name:"virtual",params:{virtual:{enabled:!1,slides:[],cache:!0,renderSlide:null,renderExternal:null}},create:function(){var e=this;A.extend(e,{virtual:{update:M.update.bind(e),appendSlide:M.appendSlide.bind(e),prependSlide:M.prependSlide.bind(e),renderSlide:M.renderSlide.bind(e),slides:e.params.virtual.slides,cache:{}}})},on:{beforeInit:function(){var e=this;if(e.params.virtual.enabled){e.classNames.push(e.params.containerModifierClass+"virtual");var t={watchSlidesProgress:!0};A.extend(e.params,t),A.extend(e.originalParams,t),e.virtual.update()}},setTranslate:function(){this.params.virtual.enabled&&this.virtual.update()}}},z={handle:function(e){var t=this,i=e;i.originalEvent&&(i=i.originalEvent);var s=i.keyCode||i.charCode;if(!t.allowSlideNext&&(t.isHorizontal()&&39===s||t.isVertical()&&40===s))return!1;if(!t.allowSlidePrev&&(t.isHorizontal()&&37===s||t.isVertical()&&38===s))return!1;if(!(i.shiftKey||i.altKey||i.ctrlKey||i.metaKey||m.activeElement&&m.activeElement.nodeName&&("input"===m.activeElement.nodeName.toLowerCase()||"textarea"===m.activeElement.nodeName.toLowerCase()))){if(37===s||39===s||38===s||40===s){var r=!1;if(0<t.$el.parents("."+t.params.slideClass).length&&0===t.$el.parents("."+t.params.slideActiveClass).length)return;var n=f.pageXOffset,a=f.pageYOffset,o=f.innerWidth,l=f.innerHeight,h=t.$el.offset();t.rtl&&(h.left-=t.$el[0].scrollLeft);for(var d=[[h.left,h.top],[h.left+t.width,h.top],[h.left,h.top+t.height],[h.left+t.width,h.top+t.height]],c=0;c<d.length;c+=1){var u=d[c];u[0]>=n&&u[0]<=n+o&&u[1]>=a&&u[1]<=a+l&&(r=!0)}if(!r)return}t.isHorizontal()?(37!==s&&39!==s||(i.preventDefault?i.preventDefault():i.returnValue=!1),(39===s&&!t.rtl||37===s&&t.rtl)&&t.slideNext(),(37===s&&!t.rtl||39===s&&t.rtl)&&t.slidePrev()):(38!==s&&40!==s||(i.preventDefault?i.preventDefault():i.returnValue=!1),40===s&&t.slideNext(),38===s&&t.slidePrev()),t.emit("keyPress",s)}},enable:function(){this.keyboard.enabled||(R(m).on("keydown",this.keyboard.handle),this.keyboard.enabled=!0)},disable:function(){this.keyboard.enabled&&(R(m).off("keydown",this.keyboard.handle),this.keyboard.enabled=!1)}},I={name:"keyboard",params:{keyboard:{enabled:!1}},create:function(){A.extend(this,{keyboard:{enabled:!1,enable:z.enable.bind(this),disable:z.disable.bind(this),handle:z.handle.bind(this)}})},on:{init:function(){this.params.keyboard.enabled&&this.keyboard.enable()},destroy:function(){this.keyboard.enabled&&this.keyboard.disable()}}},L={lastScrollTime:A.now(),event:-1<f.navigator.userAgent.indexOf("firefox")?"DOMMouseScroll":function(){var e="onwheel"in m;if(!e){var t=m.createElement("div");t.setAttribute("onwheel","return;"),e="function"==typeof t.onwheel}return!e&&m.implementation&&m.implementation.hasFeature&&!0!==m.implementation.hasFeature("","")&&(e=m.implementation.hasFeature("Events.wheel","3.0")),e}()?"wheel":"mousewheel",normalize:function(e){var t=0,i=0,s=0,r=0;return"detail"in e&&(i=e.detail),"wheelDelta"in e&&(i=-e.wheelDelta/120),"wheelDeltaY"in e&&(i=-e.wheelDeltaY/120),"wheelDeltaX"in e&&(t=-e.wheelDeltaX/120),"axis"in e&&e.axis===e.HORIZONTAL_AXIS&&(t=i,i=0),s=10*t,r=10*i,"deltaY"in e&&(r=e.deltaY),"deltaX"in e&&(s=e.deltaX),(s||r)&&e.deltaMode&&(1===e.deltaMode?(s*=40,r*=40):(s*=800,r*=800)),s&&!t&&(t=s<1?-1:1),r&&!i&&(i=r<1?-1:1),{spinX:t,spinY:i,pixelX:s,pixelY:r}},handle:function(e){var t=e,i=this,s=i.params.mousewheel;t.originalEvent&&(t=t.originalEvent);var r=0,n=i.rtl?-1:1,a=L.normalize(t);if(s.forceToAxis)if(i.isHorizontal()){if(!(Math.abs(a.pixelX)>Math.abs(a.pixelY)))return!0;r=a.pixelX*n}else{if(!(Math.abs(a.pixelY)>Math.abs(a.pixelX)))return!0;r=a.pixelY}else r=Math.abs(a.pixelX)>Math.abs(a.pixelY)?-a.pixelX*n:-a.pixelY;if(0===r)return!0;if(s.invert&&(r=-r),i.params.freeMode){var o=i.getTranslate()+r*s.sensitivity,l=i.isBeginning,h=i.isEnd;if(o>=i.minTranslate()&&(o=i.minTranslate()),o<=i.maxTranslate()&&(o=i.maxTranslate()),i.setTransition(0),i.setTranslate(o),i.updateProgress(),i.updateActiveIndex(),i.updateSlidesClasses(),(!l&&i.isBeginning||!h&&i.isEnd)&&i.updateSlidesClasses(),i.params.freeModeSticky&&(clearTimeout(i.mousewheel.timeout),i.mousewheel.timeout=A.nextTick(function(){i.slideReset()},300)),i.emit("scroll",t),i.params.autoplay&&i.params.autoplayDisableOnInteraction&&i.stopAutoplay(),0===o||o===i.maxTranslate())return!0}
1else{if(60<A.now()-i.mousewheel.lastScrollTime)if(r<0)if(i.isEnd&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slideNext(),i.emit("scroll",t);else if(i.isBeginning&&!i.params.loop||i.animating){if(s.releaseOnEdges)return!0}else i.slidePrev(),i.emit("scroll",t);i.mousewheel.lastScrollTime=(new f.Date).getTime()}return t.preventDefault?t.preventDefault():t.returnValue=!1,!1},enable:function(){var e=this;if(!L.event)return!1;if(e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=R(e.params.mousewheel.eventsTarged)),t.on(L.event,e.mousewheel.handle),e.mousewheel.enabled=!0},disable:function(){var e=this;if(!L.event)return!1;if(!e.mousewheel.enabled)return!1;var t=e.$el;return"container"!==e.params.mousewheel.eventsTarged&&(t=R(e.params.mousewheel.eventsTarged)),t.off(L.event,e.mousewheel.handle),!(e.mousewheel.enabled=!1)}},N={name:"mousewheel",params:{mousewheel:{enabled:!1,releaseOnEdges:!1,invert:!1,forceToAxis:!1,sensitivity:1,eventsTarged:"container"}},create:function(){A.extend(this,{mousewheel:{enabled:!1,enable:L.enable.bind(this),disable:L.disable.bind(this),handle:L.handle.bind(this),lastScrollTime:A.now()}})},on:{init:function(){this.params.mousewheel.enabled&&this.mousewheel.enable()},destroy:function(){this.mousewheel.enabled&&this.mousewheel.disable()}}},$={update:function(){var e=this,t=e.params.navigation;if(!e.params.loop){var i=e.navigation,s=i.$nextEl,r=i.$prevEl;r&&0<r.length&&(e.isBeginning?r.addClass(t.disabledClass):r.removeClass(t.disabledClass)),s&&0<s.length&&(e.isEnd?s.addClass(t.disabledClass):s.removeClass(t.disabledClass))}},init:function(){var e,t,i=this,s=i.params.navigation;(s.nextEl||s.prevEl)&&(s.nextEl&&(e=R(s.nextEl),i.params.uniqueNavElements&&"string"==typeof s.nextEl&&1<e.length&&1===i.$el.find(s.nextEl).length&&(e=i.$el.find(s.nextEl))),s.prevEl&&(t=R(s.prevEl),i.params.uniqueNavElements&&"string"==typeof s.prevEl&&1<t.length&&1===i.$el.find(s.prevEl).length&&(t=i.$el.find(s.prevEl))),e&&0<e.length&&e.on("click",function(e){e.preventDefault(),i.isEnd&&!i.params.loop||i.slideNext()}),t&&0<t.length&&t.on("click",function(e){e.preventDefault(),i.isBeginning&&!i.params.loop||i.slidePrev()}),A.extend(i.navigation,{$nextEl:e,nextEl:e&&e[0],$prevEl:t,prevEl:t&&t[0]}))},destroy:function(){var e=this.navigation,t=e.$nextEl,i=e.$prevEl;t&&t.length&&(t.off("click"),t.removeClass(this.params.navigation.disabledClass)),i&&i.length&&(i.off("click"),i.removeClass(this.params.navigation.disabledClass))}},F={name:"navigation",params:{navigation:{nextEl:null,prevEl:null,hideOnClick:!1,disabledClass:"swiper-button-disabled",hiddenClass:"swiper-button-hidden"}},create:function(){A.extend(this,{navigation:{init:$.init.bind(this),update:$.update.bind(this),destroy:$.destroy.bind(this)}})},on:{init:function(){this.navigation.init(),this.navigation.update()},toEdge:function(){this.navigation.update()},fromEdge:function(){this.navigation.update()},destroy:function(){this.navigation.destroy()},click:function(e){var t=this.navigation,i=t.$nextEl,s=t.$prevEl;!this.params.navigation.hideOnClick||R(e.target).is(s)||R(e.target).is(i)||(i&&i.toggleClass(this.params.navigation.hiddenClass),s&&s.toggleClass(this.params.navigation.hiddenClass))}}},X={update:function(){var e=this,t=e.rtl,s=e.params.pagination;if(s.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var r,i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,n=e.pagination.$el,a=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length;if(e.params.loop?((r=Math.ceil((e.activeIndex-e.loopedSlides)/e.params.slidesPerGroup))>i-1-2*e.loopedSlides&&(r-=i-2*e.loopedSlides),a-1<r&&(r-=a),r<0&&"bullets"!==e.params.paginationType&&(r=a+r)):r=void 0!==e.snapIndex?e.snapIndex:e.activeIndex||0,"bullets"===s.type&&e.pagination.bullets&&0<e.pagination.bullets.length){var o=e.pagination.bullets;if(s.dynamicBullets&&(e.pagination.bulletSize=o.eq(0)[e.isHorizontal()?"outerWidth":"outerHeight"](!0),n.css(e.isHorizontal()?"width":"height",5*e.pagination.bulletSize+"px")),o.removeClass(s.bulletActiveClass+" "+s.bulletActiveClass+"-next "+s.bulletActiveClass+"-next-next "+s.bulletActiveClass+"-prev "+s.bulletActiveClass+"-prev-prev"),1<n.length)o.each(function(e,t){var i=R(t);i.index()===r&&(i.addClass(s.bulletActiveClass),s.dynamicBullets&&(i.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),i.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next")))});else{var l=o.eq(r);l.addClass(s.bulletActiveClass),s.dynamicBullets&&(l.prev().addClass(s.bulletActiveClass+"-prev").prev().addClass(s.bulletActiveClass+"-prev-prev"),l.next().addClass(s.bulletActiveClass+"-next").next().addClass(s.bulletActiveClass+"-next-next"))}if(s.dynamicBullets){var h=Math.min(o.length,5),d=(e.pagination.bulletSize*h-e.pagination.bulletSize)/2-r*e.pagination.bulletSize,c=t?"right":"left";o.css(e.isHorizontal()?c:"top",d+"px")}}if("fraction"===s.type&&(n.find("."+s.currentClass).text(r+1),n.find("."+s.totalClass).text(a)),"progressbar"===s.type){var u=(r+1)/a,p=u,f=1;e.isHorizontal()||(f=u,p=1),n.find("."+s.progressbarFillClass).transform("translate3d(0,
10,0) scaleX("+p+") scaleY("+f+")").transition(e.params.speed)}"custom"===s.type&&s.renderCustom?(n.html(s.renderCustom(e,r+1,a)),e.emit("paginationRender",e,n[0])):e.emit("paginationUpdate",e,n[0])}},render:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.virtual&&e.params.virtual.enabled?e.virtual.slides.length:e.slides.length,s=e.pagination.$el,r="";if("bullets"===t.type){for(var n=e.params.loop?Math.ceil((i-2*e.loopedSlides)/e.params.slidesPerGroup):e.snapGrid.length,a=0;a<n;a+=1)t.renderBullet?r+=t.renderBullet.call(e,a,t.bulletClass):r+="<"+t.bulletElement+' class="'+t.bulletClass+'"></'+t.bulletElement+">";s.html(r),e.pagination.bullets=s.find("."+t.bulletClass)}"fraction"===t.type&&(r=t.renderFraction?t.renderFraction.call(e,t.currentClass,t.totalClass):'<span class="'+t.currentClass+'"></span> / <span class="'+t.totalClass+'"></span>',s.html(r)),"progressbar"===t.type&&(r=t.renderProgressbar?t.renderProgressbar.call(e,t.progressbarFillClass):'<span class="'+t.progressbarFillClass+'"></span>',s.html(r)),"custom"!==t.type&&e.emit("paginationRender",e.pagination.$el[0])}},init:function(){var i=this,e=i.params.pagination;if(e.el){var t=R(e.el);0!==t.length&&(i.params.uniqueNavElements&&"string"==typeof e.el&&1<t.length&&1===i.$el.find(e.el).length&&(t=i.$el.find(e.el)),"bullets"===e.type&&e.clickable&&t.addClass(e.clickableClass),t.addClass(e.modifierClass+e.type),"bullets"===e.type&&e.dynamicBullets&&t.addClass(""+e.modifierClass+e.type+"-dynamic"),e.clickable&&t.on("click","."+e.bulletClass,function(e){e.preventDefault();var t=R(this).index()*i.params.slidesPerGroup;i.params.loop&&(t+=i.loopedSlides),i.slideTo(t)}),A.extend(i.pagination,{$el:t,el:t[0]}))}},destroy:function(){var e=this,t=e.params.pagination;if(t.el&&e.pagination.el&&e.pagination.$el&&0!==e.pagination.$el.length){var i=e.pagination.$el;i.removeClass(t.hiddenClass),i.removeClass(t.modifierClass+t.type),e.pagination.bullets&&e.pagination.bullets.removeClass(t.bulletActiveClass),t.clickable&&i.off("click","."+t.bulletClass)}}},Y={name:"pagination",params:{pagination:{el:null,bulletElement:"span",clickable:!1,hideOnClick:!1,renderBullet:null,renderProgressbar:null,renderFraction:null,renderCustom:null,type:"bullets",dynamicBullets:!1,bulletClass:"swiper-pagination-bullet",bulletActiveClass:"swiper-pagination-bullet-active",modifierClass:"swiper-pagination-",currentClass:"swiper-pagination-current",totalClass:"swiper-pagination-total",hiddenClass:"swiper-pagination-hidden",progressbarFillClass:"swiper-pagination-progressbar-fill",clickableClass:"swiper-pagination-clickable"}},create:function(){var e=this;A.extend(e,{pagination:{init:X.init.bind(e),render:X.render.bind(e),update:X.update.bind(e),destroy:X.destroy.bind(e)}})},on:{init:function(){this.pagination.init(),this.pagination.render(),this.pagination.update()},activeIndexChange:function(){this.params.loop?this.pagination.update():void 0===this.snapIndex&&this.pagination.update()},snapIndexChange:function(){this.params.loop||this.pagination.update()},slidesLengthChange:function(){this.params.loop&&(this.pagination.render(),this.pagination.update())},snapGridLengthChange:function(){this.params.loop||(this.pagination.render(),this.pagination.update())},destroy:function(){this.pagination.destroy()},click:function(e){var t=this;t.params.pagination.el&&t.params.pagination.hideOnClick&&0<t.pagination.$el.length&&!R(e.target).hasClass(t.params.pagination.bulletClass)&&t.pagination.$el.toggleClass(t.params.pagination.hiddenClass)}}},B={setTranslate:function(){var e=this;if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=e.rtl,s=e.progress,r=t.dragSize,n=t.trackSize,a=t.$dragEl,o=t.$el,l=e.params.scrollbar,h=r,d=(n-r)*s;i&&e.isHorizontal()?0<(d=-d)?(h=r-d,d=0):n<-d+r&&(h=n+d):d<0?(h=r+d,d=0):n<d+r&&(h=n-d),e.isHorizontal()?(D.transforms3d?a.transform("translate3d("+d+"px, 0, 0)"):a.transform("translateX("+d+"px)"),a[0].style.width=h+"px"):(D.transforms3d?a.transform("translate3d(0px, "+d+"px, 0)"):a.transform("translateY("+d+"px)"),a[0].style.height=h+"px"),l.hide&&(clearTimeout(e.scrollbar.timeout),o[0].style.opacity=1,e.scrollbar.timeout=setTimeout(function(){o[0].style.opacity=0,o.transition(400)},1e3))}},setTransition:function(e){this.params.scrollbar.el&&this.scrollbar.el&&this.scrollbar.$dragEl.transition(e)},updateSize:function(){var e=this;
1if(e.params.scrollbar.el&&e.scrollbar.el){var t=e.scrollbar,i=t.$dragEl,s=t.$el;i[0].style.width="",i[0].style.height="";var r,n=e.isHorizontal()?s[0].offsetWidth:s[0].offsetHeight,a=e.size/e.virtualSize,o=a*(n/e.size);r="auto"===e.params.scrollbar.dragSize?n*a:parseInt(e.params.scrollbar.dragSize,10),e.isHorizontal()?i[0].style.width=r+"px":i[0].style.height=r+"px",s[0].style.display=1<=a?"none":"",e.params.scrollbarHide&&(s[0].style.opacity=0),A.extend(t,{trackSize:n,divider:a,moveDivider:o,dragSize:r})}},setDragPosition:function(e){var t,i=this,s=i.scrollbar,r=s.$el,n=s.dragSize,a=s.trackSize;t=((i.isHorizontal()?"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageX:e.pageX||e.clientX:"touchstart"===e.type||"touchmove"===e.type?e.targetTouches[0].pageY:e.pageY||e.clientY)-r.offset()[i.isHorizontal()?"left":"top"]-n/2)/(a-n),t=Math.max(Math.min(t,1),0),i.rtl&&(t=1-t);var o=i.minTranslate()+(i.maxTranslate()-i.minTranslate())*t;i.updateProgress(o),i.setTranslate(o),i.updateActiveIndex(),i.updateSlidesClasses()},onDragStart:function(e){var t=this,i=t.params.scrollbar,s=t.scrollbar,r=t.$wrapperEl,n=s.$el,a=s.$dragEl;t.scrollbar.isTouched=!0,e.preventDefault(),e.stopPropagation(),r.transition(100),a.transition(100),s.setDragPosition(e),clearTimeout(t.scrollbar.dragTimeout),n.transition(0),i.hide&&n.css("opacity",1),t.emit("scrollbarDragStart",e)},onDragMove:function(e){var t=this.scrollbar,i=this.$wrapperEl,s=t.$el,r=t.$dragEl;this.scrollbar.isTouched&&(e.preventDefault?e.preventDefault():e.returnValue=!1,t.setDragPosition(e),i.transition(0),s.transition(0),r.transition(0),this.emit("scrollbarDragMove",e))},onDragEnd:function(e){var t=this,i=t.params.scrollbar,s=t.scrollbar.$el;t.scrollbar.isTouched&&(t.scrollbar.isTouched=!1,i.hide&&(clearTimeout(t.scrollbar.dragTimeout),t.scrollbar.dragTimeout=A.nextTick(function(){s.css("opacity",0),s.transition(400)},1e3)),t.emit("scrollbarDragEnd",e),i.snapOnRelease&&t.slideReset())},enableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar.$el,i=D.touch?t[0]:document;t.on(e.scrollbar.dragEvents.start,e.scrollbar.onDragStart),R(i).on(e.scrollbar.dragEvents.move,e.scrollbar.onDragMove),R(i).on(e.scrollbar.dragEvents.end,e.scrollbar.onDragEnd)}},disableDraggable:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar.$el,i=D.touch?t[0]:document;t.off(e.scrollbar.dragEvents.start),R(i).off(e.scrollbar.dragEvents.move),R(i).off(e.scrollbar.dragEvents.end)}},init:function(){var e=this;if(e.params.scrollbar.el){var t=e.scrollbar,i=e.$el,s=e.touchEvents,r=e.params.scrollbar,n=R(r.el);e.params.uniqueNavElements&&"string"==typeof r.el&&1<n.length&&1===i.find(r.el).length&&(n=i.find(r.el));var a=n.find(".swiper-scrollbar-drag");0===a.length&&(a=R('<div class="swiper-scrollbar-drag"></div>'),n.append(a)),e.scrollbar.dragEvents=!1!==e.params.simulateTouch||D.touch?s:{start:"mousedown",move:"mousemove",end:"mouseup"},A.extend(t,{$el:n,el:n[0],$dragEl:a,dragEl:a[0]}),r.draggable&&t.enableDraggable()}},destroy:function(){this.scrollbar.disableDraggable()}},H={name:"scrollbar",params:{scrollbar:{el:null,dragSize:"auto",hide:!1,draggable:!1,snapOnRelease:!0}},create:function(){var e=this;A.extend(e,{scrollbar:{init:B.init.bind(e),destroy:B.destroy.bind(e),updateSize:B.updateSize.bind(e),setTranslate:B.setTranslate.bind(e),setTransition:B.setTransition.bind(e),enableDraggable:B.enableDraggable.bind(e),disableDraggable:B.disableDraggable.bind(e),setDragPosition:B.setDragPosition.bind(e),onDragStart:B.onDragStart.bind(e),onDragMove:B.onDragMove.bind(e),onDragEnd:B.onDragEnd.bind(e),isTouched:!1,timeout:null,dragTimeout:null}})},on:{init:function(){this.scrollbar.init(),this.scrollbar.updateSize(),this.scrollbar.setTranslate()},update:function(){this.scrollbar.updateSize()},resize:function(){this.scrollbar.updateSize()},observerUpdate:function(){this.scrollbar.updateSize()},setTranslate:function(){this.scrollbar.setTranslate()},setTransition:function(e){this.scrollbar.setTransition(e)},destroy:function(){this.scrollbar.destroy()}}},G={setTransform:function(e,t){var i=this.rtl,s=R(e),r=i?-1:1,n=s.attr("data-swiper-parallax")||"0",a=s.attr("data-swiper-parallax-x"),o=s.attr("data-swiper-parallax-y"),l=s.attr("data-swiper-parallax-scale"),h=s.attr("data-swiper-parallax-opacity");if(a||o?(a=a||"0",o=o||"0"):this.isHorizontal()?(a=n,o="0"):(o=n,a="0"),a=0<=a.indexOf("%")?parseInt(a,10)*t*r+"%":a*t*r+"px",o=0<=o.indexOf("%")?parseInt(o,10)*t+"%":o*t+"px",null!=h){var d=h-(h-1)*(1-Math.abs(t));s[0].style.opacity=d}if(null==l)s.transform("translate3d("+a+", "+o+", 0px)");else{var c=l-(l-1)*(1-Math.abs(t));s.transform("translate3d("+a+", "+o+", 0px) scale("+c+")")}},setTranslate:function(){var s=this,e=s.$el,t=s.slides,r=s.progress,n=s.snapGrid;e.children("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){s.parallax.setTransform(t,r)}),t.each(function(e,t){var i=t.progress;1<s.params.slidesPerGroup&&"auto"!==s.params.slidesPerView&&(i+=Math.ceil(e/2)-r*(n.length-1)),i=Math.min(Math.max(i,-1),1),R(t).find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){s.parallax.setTransform(t,i)})})},setTransition:function(r){void 0===r&&(r=this.params.speed),this.$el.find("[data-swiper-parallax], [data-swiper-parallax-x], [data-swiper-parallax-y]").each(function(e,t){var i=R(t),s=parseInt(i.attr("data-swiper-parallax-duration"),10)||r;0===r&&(s=0),i.transition(s)})}},j={name:"parallax",params:{parallax:{enabled:!1}},create:function(){A.extend(this,{parallax:{setTransform:G.setTransform.bind(this),setTranslate:G.setTranslate.bind(this),setTransition:G.setTransition.bind(this)}})},on:{beforeInit:function(){this.params.watchSlidesProgress=!0},init:function(){this.params.parallax&&this.parallax.setTranslate()},setTranslate:function(){this.params.parallax&&this.parallax.setTranslate()},setTransition:function(e){this.params.parallax&&this.parallax.setTransition(e)}}},V={getDistanceBetweenTouches:function(e){if(e.targetTouches.length<2)return 1;var t=e.targetTouches[0].pageX,i=e.targetTouches[0].pageY,s=e.targetTouches[1].pageX,r=e.targetTouches[1].pageY;return Math.sqrt(Math.pow(s-t,2)+Math.pow(r-i,2))},onGestureStart:function(e){var t=this,i=t.params.zoom,s=t.zoom,r=s.gesture;if(s.fakeGestureTouched=!1,s.fakeGestureMoved=!1,!D.gestures){if("touchstart"!==e.type||"touchstart"===e.type&&e.targetTouches.length<2)return;s.fakeGestureTouched=!0,r.scaleStart=V.getDistanceBetweenTouches(e)}r.$slideEl&&r.$slideEl.length||(r.$slideEl=R(this),0===r.$slideEl.length&&(r.$slideEl=t.slides.eq(t.activeIndex)),r.$imageEl=r.$slideEl.find("img, svg, canvas"),r.$imageWrapEl=r.$imageEl.parent("."+i.containerClass),r.maxRatio=r.$imageWrapEl.attr("data-swiper-zoom")||i.maxRatio,0!==r.$imageWrapEl.length)?(r.$imageEl.transition(0),t.zoom.isScaling=!0):r.$imageEl=void 0},onGestureChange:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!D.gestures){if("touchmove"!==e.type||"touchmove"===e.type&&e.targetTouches.length<2)return;i.fakeGestureMoved=!0,s.scaleMove=V.getDistanceBetweenTouches(e)}s.$imageEl&&0!==s.$imageEl.length&&(D.gestures?this.zoom.scale=e.scale*i.currentScale:i.scale=s.scaleMove/s.scaleStart*i.currentScale,i.scale>s.maxRatio&&(i.scale=s.maxRatio-1+Math.pow(i.scale-s.maxRatio+1,.5)),i.scale<t.minRatio&&(i.scale=t.minRatio+1-Math.pow(t.minRatio-i.scale+1,.5)),s.$imageEl.transform("translate3d(0,
10,0) scale("+i.scale+")"))},onGestureEnd:function(e){var t=this.params.zoom,i=this.zoom,s=i.gesture;if(!D.gestures){if(!i.fakeGestureTouched||!i.fakeGestureMoved)return;if("touchend"!==e.type||"touchend"===e.type&&e.changedTouches.length<2&&!g.android)return;i.fakeGestureTouched=!1,i.fakeGestureMoved=!1}s.$imageEl&&0!==s.$imageEl.length&&(i.scale=Math.max(Math.min(i.scale,s.maxRatio),t.minRatio),s.$imageEl.transition(this.params.speed).transform("translate3d(0,0,0) scale("+i.scale+")"),i.currentScale=i.scale,i.isScaling=!1,1===i.scale&&(s.$slideEl=void 0))},onTouchStart:function(e){var t=this.zoom,i=t.gesture,s=t.image;i.$imageEl&&0!==i.$imageEl.length&&(s.isTouched||(g.android&&e.preventDefault(),s.isTouched=!0,s.touchesStart.x="touchstart"===e.type?e.targetTouches[0].pageX:e.pageX,s.touchesStart.y="touchstart"===e.type?e.targetTouches[0].pageY:e.pageY))},onTouchMove:function(e){var t=this,i=t.zoom,s=i.gesture,r=i.image,n=i.velocity;if(s.$imageEl&&0!==s.$imageEl.length&&(t.allowClick=!1,r.isTouched&&s.$slideEl)){r.isMoved||(r.width=s.$imageEl[0].offsetWidth,r.height=s.$imageEl[0].offsetHeight,r.startX=A.getTranslate(s.$imageWrapEl[0],"x")||0,r.startY=A.getTranslate(s.$imageWrapEl[0],"y")||0,s.slideWidth=s.$slideEl[0].offsetWidth,s.slideHeight=s.$slideEl[0].offsetHeight,s.$imageWrapEl.transition(0),t.rtl&&(r.startX=-r.startX),t.rtl&&(r.startY=-r.startY));var a=r.width*i.scale,o=r.height*i.scale;if(!(a<s.slideWidth&&o<s.slideHeight)){if(r.minX=Math.min(s.slideWidth/2-a/2,0),r.maxX=-r.minX,r.minY=Math.min(s.slideHeight/2-o/2,0),r.maxY=-r.minY,r.touchesCurrent.x="touchmove"===e.type?e.targetTouches[0].pageX:e.pageX,r.touchesCurrent.y="touchmove"===e.type?e.targetTouches[0].pageY:e.pageY,!r.isMoved&&!i.isScaling){if(t.isHorizontal()&&(Math.floor(r.minX)===Math.floor(r.startX)&&r.touchesCurrent.x<r.touchesStart.x||Math.floor(r.maxX)===Math.floor(r.startX)&&r.touchesCurrent.x>r.touchesStart.x))return void(r.isTouched=!1);if(!t.isHorizontal()&&(Math.floor(r.minY)===Math.floor(r.startY)&&r.touchesCurrent.y<r.touchesStart.y||Math.floor(r.maxY)===Math.floor(r.startY)&&r.touchesCurrent.y>r.touchesStart.y))return void(r.isTouched=!1)}e.preventDefault(),e.stopPropagation(),r.isMoved=!0,r.currentX=r.touchesCurrent.x-r.touchesStart.x+r.startX,r.currentY=r.touchesCurrent.y-r.touchesStart.y+r.startY,r.currentX<r.minX&&(r.currentX=r.minX+1-Math.pow(r.minX-r.currentX+1,.8)),r.currentX>r.maxX&&(r.currentX=r.maxX-1+Math.pow(r.currentX-r.maxX+1,.8)),r.currentY<r.minY&&(r.currentY=r.minY+1-Math.pow(r.minY-r.currentY+1,.8)),r.currentY>r.maxY&&(r.currentY=r.maxY-1+Math.pow(r.currentY-r.maxY+1,.8)),n.prevPositionX||(n.prevPositionX=r.touchesCurrent.x),n.prevPositionY||(n.prevPositionY=r.touchesCurrent.y),n.prevTime||(n.prevTime=Date.now()),n.x=(r.touchesCurrent.x-n.prevPositionX)/(Date.now()-n.prevTime)/2,n.y=(r.touchesCurrent.y-n.prevPositionY)/(Date.now()-n.prevTime)/2,Math.abs(r.touchesCurrent.x-n.prevPositionX)<2&&(n.x=0),Math.abs(r.touchesCurrent.y-n.prevPositionY)<2&&(n.y=0),n.prevPositionX=r.touchesCurrent.x,n.prevPositionY=r.touchesCurrent.y,n.prevTime=Date.now(),s.$imageWrapEl.transform("translate3d("+r.currentX+"px, "+r.currentY+"px,0)")}}},onTouchEnd:function(){var e=this.zoom,t=e.gesture,i=e.image,s=e.velocity;if(t.$imageEl&&0!==t.$imageEl.length){if(!i.isTouched||!i.isMoved)return i.isTouched=!1,void(i.isMoved=!1);i.isTouched=!1,i.isMoved=!1;var r=300,n=300,a=s.x*r,o=i.currentX+a,l=s.y*n,h=i.currentY+l;0!==s.x&&(r=Math.abs((o-i.currentX)/s.x)),0!==s.y&&(n=Math.abs((h-i.currentY)/s.y));var d=Math.max(r,n);i.currentX=o,i.currentY=h;var c=i.width*e.scale,u=i.height*e.scale;i.minX=Math.min(t.slideWidth/2-c/2,0),i.maxX=-i.minX,i.minY=Math.min(t.slideHeight/2-u/2,0),i.maxY=-i.minY,i.currentX=Math.max(Math.min(i.currentX,i.maxX),i.minX),i.currentY=Math.max(Math.min(i.currentY,i.maxY),i.minY),t.$imageWrapEl.transition(d).transform("translate3d("+i.currentX+"px, "+i.currentY+"px,0)")}},onTransitionEnd:function(){var e=this.zoom,t=e.gesture;t.$slideEl&&this.previousIndex!==this.activeIndex&&(t.$imageEl.transform("translate3d(0,0,0) scale(1)"),t.$imageWrapEl.transform("translate3d(0,
10,0)"),t.$slideEl=void 0,t.$imageEl=void 0,t.$imageWrapEl=void 0,e.scale=1,e.currentScale=1)},toggle:function(e){var t=this.zoom;t.scale&&1!==t.scale?t.out():t.in(e)},in:function(e){var t,i,s,r,n,a,o,l,h,d,c,u,p,f,m,g,v=this,_=v.zoom,y=v.params.zoom,w=_.gesture,b=_.image;(w.$slideEl||(w.$slideEl=v.clickedSlide?R(v.clickedSlide):v.slides.eq(v.activeIndex),w.$imageEl=w.$slideEl.find("img, svg, canvas"),w.$imageWrapEl=w.$imageEl.parent("."+y.containerClass)),w.$imageEl&&0!==w.$imageEl.length)&&(w.$slideEl.addClass(""+y.zoomedSlideClass),void 0===b.touchesStart.x&&e?(t="touchend"===e.type?e.changedTouches[0].pageX:e.pageX,i="touchend"===e.type?e.changedTouches[0].pageY:e.pageY):(t=b.touchesStart.x,i=b.touchesStart.y),_.scale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,_.currentScale=w.$imageWrapEl.attr("data-swiper-zoom")||y.maxRatio,e?(m=w.$slideEl[0].offsetWidth,g=w.$slideEl[0].offsetHeight,s=w.$slideEl.offset().left+m/2-t,r=w.$slideEl.offset().top+g/2-i,o=w.$imageEl[0].offsetWidth,l=w.$imageEl[0].offsetHeight,h=o*_.scale,d=l*_.scale,p=-(c=Math.min(m/2-h/2,0)),f=-(u=Math.min(g/2-d/2,0)),(n=s*_.scale)<c&&(n=c),p<n&&(n=p),(a=r*_.scale)<u&&(a=u),f<a&&(a=f)):a=n=0,w.$imageWrapEl.transition(300).transform("translate3d("+n+"px, "+a+"px,0)"),w.$imageEl.transition(300).transform("translate3d(0,0,0) scale("+_.scale+")"))},out:function(){var e=this,t=e.zoom,i=e.params.zoom,s=t.gesture;s.$slideEl||(s.$slideEl=e.clickedSlide?R(e.clickedSlide):e.slides.eq(e.activeIndex),s.$imageEl=s.$slideEl.find("img, svg, canvas"),s.$imageWrapEl=s.$imageEl.parent("."+i.containerClass)),s.$imageEl&&0!==s.$imageEl.length&&(t.scale=1,t.currentScale=1,s.$imageWrapEl.transition(300).transform("translate3d(0,0,0)"),s.$imageEl.transition(300).transform("translate3d(0,0,0) scale(1)"),s.$slideEl.removeClass(""+i.zoomedSlideClass),s.$slideEl=void 0)},enable:function(){var s=this,r=s.zoom;if(!r.enabled){r.enabled=!0;var e=s.slides,t=!("touchstart"!==s.touchEvents.start||!D.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1};D.gestures?(e.on("gesturestart",r.onGestureStart,t),e.on("gesturechange",r.onGestureChange,t),e.on("gestureend",r.onGestureEnd,t)):"touchstart"===s.touchEvents.start&&(e.on(s.touchEvents.start,r.onGestureStart,t),e.on(s.touchEvents.move,r.onGestureChange,t),e.on(s.touchEvents.end,r.onGestureEnd,t)),s.slides.each(function(e,t){var i=R(t);0<i.find("."+s.params.zoom.containerClass).length&&i.on(s.touchEvents.move,r.onTouchMove)})}},disable:function(){var s=this,r=s.zoom;if(r.enabled){s.zoom.enabled=!1;var e=s.slides,t=!("touchstart"!==s.touchEvents.start||!D.passiveListener||!s.params.passiveListeners)&&{passive:!0,capture:!1};D.gestures?(e.off("gesturestart",r.onGestureStart,t),e.off("gesturechange",r.onGestureChange,t),e.off("gestureend",r.onGestureEnd,t)):"touchstart"===s.touchEvents.start&&(e.off(s.touchEvents.start,r.onGestureStart,t),e.off(s.touchEvents.move,r.onGestureChange,t),e.off(s.touchEvents.end,r.onGestureEnd,t)),s.slides.each(function(e,t){var i=R(t);0<i.find("."+s.params.zoom.containerClass).length&&i.off(s.touchEvents.move,r.onTouchMove)})}}},W={name:"zoom",params:{zoom:{enabled:!1,maxRatio:3,minRatio:1,toggle:!0,containerClass:"swiper-zoom-container",zoomedSlideClass:"swiper-slide-zoomed"}},create:function(){var t=this,i={enabled:!1,scale:1,currentScale:1,isScaling:!1,gesture:{$slideEl:void 0,slideWidth:void 0,slideHeight:void 0,$imageEl:void 0,$imageWrapEl:void 0,maxRatio:3},image:{isTouched:void 0,isMoved:void 0,currentX:void 0,currentY:void 0,minX:void 0,minY:void 0,maxX:void 0,maxY:void 0,width:void 0,height:void 0,startX:void 0,startY:void 0,touchesStart:{},touchesCurrent:{}},velocity:{x:void 0,y:void 0,prevPositionX:void 0,prevPositionY:void 0,prevTime:void 0}};"onGestureStart onGestureChange onGestureEnd onTouchStart onTouchMove onTouchEnd onTransitionEnd toggle enable disable in out".split(" ").forEach(function(e){i[e]=V[e].bind(t)}),A.extend(t,{zoom:i})},on:{init:function(){this.params.zoom.enabled&&this.zoom.enable()},destroy:function(){this.zoom.disable()},touchStart:function(e){this.zoom.enabled&&this.zoom.onTouchStart(e)},touchEnd:function(e){this.zoom.enabled&&this.zoom.onTouchEnd(e)},doubleTap:function(e){this.params.zoom.enabled&&this.zoom.enabled&&this.params.zoom.toggle&&this.zoom.toggle(e)},transitionEnd:function(){this.zoom.enabled&&this.params.zoom.enabled&&this.zoom.onTransitionEnd()}}},q={loadInSlide:function(e,l){void 0===l&&(l=!0);var h=this,d=h.params.lazy;if(void 0!==e&&0!==h.slides.length){var c=h.virtual&&h.params.virtual.enabled?h.$wrapperEl.children("."+h.params.slideClass+'[data-swiper-slide-index="'+e+'"]'):h.slides.eq(e),t=c.find("."+d.elementClass+":not(."+d.loadedClass+"):not(."+d.loadingClass+")");!c.hasClass(d.elementClass)||c.hasClass(d.loadedClass)||c.hasClass(d.loadingClass)||(t=t.add(c[0])),0!==t.length&&t.each(function(e,t){var s=R(t);s.addClass(d.loadingClass);var r=s.attr("data-background"),n=s.attr("data-src"),a=s.attr("data-srcset"),o=s.attr("data-sizes");h.loadImage(s[0],n||r,a,o,!1,function(){if(null!=h&&h&&(!h||h.params)&&!h.destroyed){
vendor: 7,212 bytes, line 1
1if(r?(s.css("background-image",'url("'+r+'")'),s.removeAttr("data-background")):(a&&(s.attr("srcset",a),s.removeAttr("data-srcset")),o&&(s.attr("sizes",o),s.removeAttr("data-sizes")),n&&(s.attr("src",n),s.removeAttr("data-src"))),s.addClass(d.loadedClass).removeClass(d.loadingClass),c.find("."+d.preloaderClass).remove(),h.params.loop&&l){var e=c.attr("data-swiper-slide-index");if(c.hasClass(h.params.slideDuplicateClass)){var t=h.$wrapperEl.children('[data-swiper-slide-index="'+e+'"]:not(.'+h.params.slideDuplicateClass+")");h.lazy.loadInSlide(t.index(),!1)}else{var i=h.$wrapperEl.children("."+h.params.slideDuplicateClass+'[data-swiper-slide-index="'+e+'"]');h.lazy.loadInSlide(i.index(),!1)}}h.emit("lazyImageReady",c[0],s[0])}}),h.emit("lazyImageLoad",c[0],s[0])})}},load:function(){function e(e){if(o){if(i.children("."+r.slideClass+'[data-swiper-slide-index="'+e+'"]').length)return!0}else if(n[e])return!0;return!1}function t(e){return o?R(e).attr("data-swiper-slide-index"):R(e).index()}var s=this,i=s.$wrapperEl,r=s.params,n=s.slides,a=s.activeIndex,o=s.virtual&&r.virtual.enabled,l=r.lazy,h=r.slidesPerView;if("auto"===h&&(h=0),s.lazy.initialImageLoaded||(s.lazy.initialImageLoaded=!0),s.params.watchSlidesVisibility)i.children("."+r.slideVisibleClass).each(function(e,t){var i=o?R(t).attr("data-swiper-slide-index"):R(t).index();s.lazy.loadInSlide(i)});else if(1<h)for(var d=a;d<a+h;d+=1)e(d)&&s.lazy.loadInSlide(d);else s.lazy.loadInSlide(a);if(l.loadPrevNext)if(1<h||l.loadPrevNextAmount&&1<l.loadPrevNextAmount){for(var c=l.loadPrevNextAmount,u=h,p=Math.min(a+u+Math.max(c,u),n.length),f=Math.max(a-Math.max(u,c),0),m=a+h;m<p;m+=1)e(m)&&s.lazy.loadInSlide(m);for(var g=f;g<a;g+=1)e(g)&&s.lazy.loadInSlide(g)}else{var v=i.children("."+r.slideNextClass);0<v.length&&s.lazy.loadInSlide(t(v));var _=i.children("."+r.slidePrevClass);0<_.length&&s.lazy.loadInSlide(t(_))}}},U={name:"lazy",params:{lazy:{enabled:!1,loadPrevNext:!1,loadPrevNextAmount:1,loadOnTransitionStart:!1,elementClass:"swiper-lazy",loadingClass:"swiper-lazy-loading",loadedClass:"swiper-lazy-loaded",preloaderClass:"swiper-lazy-preloader"}},create:function(){A.extend(this,{lazy:{initialImageLoaded:!1,load:q.load.bind(this),loadInSlide:q.loadInSlide.bind(this)}})},on:{beforeInit:function(){this.params.lazy.enabled&&this.params.preloadImages&&(this.params.preloadImages=!1)},init:function(){this.params.lazy.enabled&&!this.params.loop&&0===this.params.initialSlide&&this.lazy.load()},scroll:function(){this.params.freeMode&&!this.params.freeModeSticky&&this.lazy.load()},resize:function(){this.params.lazy.enabled&&this.lazy.load()},scrollbarDragMove:function(){this.params.lazy.enabled&&this.lazy.load()},transitionStart:function(){var e=this;e.params.lazy.enabled&&(e.params.lazy.loadOnTransitionStart||!e.params.lazy.loadOnTransitionStart&&!e.lazy.initialImageLoaded)&&e.lazy.load()},transitionEnd:function(){this.params.lazy.enabled&&!this.params.lazy.loadOnTransitionStart&&this.lazy.load()}}},Q={LinearSpline:function(e,t){var i,s,r,n,a,o=function(e,t){for(s=-1,i=e.length;1<i-s;)e[r=i+s>>1]<=t?s=r:i=r;return i};return this.x=e,this.y=t,this.lastIndex=e.length-1,this.interpolate=function(e){return e?(a=o(this.x,e),n=a-1,(e-this.x[n])*(this.y[a]-this.y[n])/(this.x[a]-this.x[n])+this.y[n]):0},this},getInterpolateFunction:function(e){var t=this;t.controller.spline||(t.controller.spline=t.params.loop?new Q.LinearSpline(t.slidesGrid,e.slidesGrid):new Q.LinearSpline(t.snapGrid,e.snapGrid))},setTranslate:function(e,t){function i(e){var t=e.rtl&&"horizontal"===e.params.direction?-n.translate:n.translate;"slide"===n.params.controller.by&&(n.controller.getInterpolateFunction(e),r=-n.controller.spline.interpolate(-t)),r&&"container"!==n.params.controller.by||(s=(e.maxTranslate()-e.minTranslate())/(n.maxTranslate()-n.minTranslate()),r=(t-n.minTranslate())*s+e.minTranslate()),n.params.controller.inverse&&(r=e.maxTranslate()-r),e.updateProgress(r),e.setTranslate(r,n),e.updateActiveIndex(),e.updateSlidesClasses()}var s,r,n=this,a=n.controller.control;if(Array.isArray(a))for(var o=0;o<a.length;o+=1)a[o]!==t&&a[o]instanceof b&&i(a[o]);else a instanceof b&&t!==a&&i(a)},setTransition:function(t,e){function i(e){e.setTransition(t,r),0!==t&&(e.transitionStart(),e.$wrapperEl.transitionEnd(function(){n&&(e.params.loop&&"slide"===r.params.controller.by&&e.loopFix(),e.transitionEnd())}))}var s,r=this,n=r.controller.control;if(Array.isArray(n))for(s=0;s<n.length;s+=1)n[s]!==e&&n[s]instanceof b&&i(n[s]);else n instanceof b&&e!==n&&i(n)}},Z={name:"controller",params:{controller:{control:void 0,inverse:!1,by:"slide"}},create:function(){var e=this;A.extend(e,{controller:{control:e.params.controller.control,getInterpolateFunction:Q.getInterpolateFunction.bind(e),setTranslate:Q.setTranslate.bind(e),setTransition:Q.setTransition.bind(e)}})},on:{update:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},resize:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},observerUpdate:function(){this.controller.control&&this.controller.spline&&(this.controller.spline=void 0,delete this.controller.spline)},setTranslate:function(e,t){this.controller.control&&this.controller.setTranslate(e,t)},setTransition:function(e,t){this.controller.control&&this.controller.setTransition(e,t)}}},K={makeElFocusable:function(e){return e.attr("tabIndex","0"),e},addElRole:function(e,t){return e.attr("role",t),e},addElLabel:function(e,t){return e.attr("aria-label",t),e},disableEl:function(e){return e.attr("aria-disabled",!0),e},enableEl:function(e){return e.attr("aria-disabled",!1),e},onEnterKey:function(e){var t=this,i=t.params.a11y;if(13===e.keyCode){var s=R(e.target);t.navigation&&t.navigation.$nextEl&&s.is(t.navigation.$nextEl)&&(t.isEnd&&!t.params.loop||t.slideNext(),t.isEnd?t.a11y.notify(i.lastSlideMessage):t.a11y.notify(i.nextSlideMessage)),t.navigation&&t.navigation.$prevEl&&s.is(t.navigation.$prevEl)&&(t.isBeginning&&!t.params.loop||t.slidePrev(),t.isBeginning?t.a11y.notify(i.firstSlideMessage):t.a11y.notify(i.prevSlideMessage)),t.pagination&&s.is("."+t.params.pagination.bulletClass)&&s[0].click()}},notify:function(e){var t=this.a11y.liveRegion;0!==t.length&&(t.html(""),t.html(e))},updateNavigation:function(){var e=this;if(!e.params.loop){var t=e.navigation,i=t.$nextEl,s=t.$prevEl;s&&0<s.length&&(e.isBeginning?e.a11y.disableEl(s):e.a11y.enableEl(s)),i&&0<i.length&&(e.isEnd?e.a11y.disableEl(i):e.a11y.enableEl(i))}},updatePagination:function(){var s=this,r=s.params.a11y;s.pagination&&s.params.pagination.clickable&&s.pagination.bullets&&s.pagination.bullets.length&&s.pagination.bullets.each(function(e,t){var i=R(t);s.a11y.makeElFocusable(i),s.a11y.addElRole(i,"button"),s.a11y.addElLabel(i,r.paginationBulletMessage.replace(/{{index}}/,i.index()+1))})},init:function(){var e=this;e.$el.append(e.a11y.liveRegion);var t,i,s=e.params.a11y;e.navigation&&e.navigation.$nextEl&&(t=e.navigation.$nextEl),e.navigation&&e.navigation.$prevEl&&(i=e.navigation.$prevEl),t&&(e.a11y.makeElFocusable(t),e.a11y.addElRole(t,"button"),e.a11y.addElLabel(t,s.nextSlideMessage),t.on("key
1down",e.a11y.onEnterKey)),i&&(e.a11y.makeElFocusable(i),e.a11y.addElRole(i,"button"),e.a11y.addElLabel(i,s.prevSlideMessage),i.on("keydown",e.a11y.onEnterKey)),e.pagination&&e.params.pagination.clickable&&e.pagination.bullets&&e.pagination.bullets.length&&e.pagination.$el.on("keydown","."+e.params.pagination.bulletClass,e.a11y.onEnterKey)},destroy:function(){var e,t,i=this;i.a11y.liveRegion&&0<i.a11y.liveRegion.length&&i.a11y.liveRegion.remove(),i.navigation&&i.navigation.$nextEl&&(e=i.navigation.$nextEl),i.navigation&&i.navigation.$prevEl&&(t=i.navigation.$prevEl),e&&e.off("keydown",i.a11y.onEnterKey),t&&t.off("keydown",i.a11y.onEnterKey),i.pagination&&i.params.pagination.clickable&&i.pagination.bullets&&i.pagination.bullets.length&&i.pagination.$el.off("keydown","."+i.params.pagination.bulletClass,i.a11y.onEnterKey)}},J={name:"a11y",params:{a11y:{enabled:!1,notificationClass:"swiper-notification",prevSlideMessage:"Previous slide",nextSlideMessage:"Next slide",firstSlideMessage:"This is the first slide",lastSlideMessage:"This is the last slide",paginationBulletMessage:"Go to slide {{index}}"}},create:function(){var t=this;A.extend(t,{a11y:{liveRegion:R('<span class="'+t.params.a11y.notificationClass+'" aria-live="assertive" aria-atomic="true"></span>')}}),Object.keys(K).forEach(function(e){t.a11y[e]=K[e].bind(t)})},on:{init:function(){this.params.a11y.enabled&&(this.a11y.init(),this.a11y.updateNavigation())},toEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},fromEdge:function(){this.params.a11y.enabled&&this.a11y.updateNavigation()},paginationUpdate:function(){this.params.a11y.enabled&&this.a11y.updatePagination()},destroy:function(){this.params.a11y.enabled&&this.a11y.destroy()}}},ee={init:function(){var e=this;if(e.params.history){if(!f.history||!f.history.pushState)return e.params.history.enabled=!1,void(e.params.hashNavigation.enabled=!0);var t=e.history;t.initialized=!0,t.paths=ee.getPathValues(),(t.paths.key||t.paths.value)&&(t.scrollToSlide(0,t.paths.value,e.params.runCallbacksOnInit),e.params.history.replaceState||f.addEventListener("popstate",e.history.setHistoryPopState))}},destroy:function(){this.params.history.replaceState||f.removeEventListener("popstate",this.history.setHistoryPopState)},setHistoryPopState:function(){this.history.paths=ee.getPathValues(),this.history.scrollToSlide(this.params.speed,this.history.paths.value,!1)},getPathValues:function(){var e=f.location.pathname.slice(1).split("/").filter(function(e){return""!==e}),t=e.length;return{key:e[t-2],value:e[t-1]}},setHistory:function(e,t){if(this.history.initialized&&this.params.history.enabled){var i=this.slides.eq(t),s=ee.slugify(i.attr("data-history"));f.location.pathname.includes(e)||(s=e+"/"+s);var r=f.history.state;r&&r.value===s||(this.params.history.replaceState?f.history.replaceState({value:s},null,s):f.history.pushState({value:s},null,s))}},slugify:function(e){return e.toString().toLowerCase().replace(/\s+/g,"-").replace(/[^\w-]+/g,"").replace(/--+/g,"-").replace(/^-+/,"").replace(/-+$/,"")},scrollToSlide:function(e,t,i){if(t)for(var s=0,r=this.slides.length;s<r;s+=1){var n=this.slides.eq(s);if(ee.slugify(n.attr("data-history"))===t&&!n.hasClass(this.params.slideDuplicateClass)){var a=n.index();this.slideTo(a,e,i)}}else this.slideTo(0,e,i)}},te={name:"history",params:{history:{enabled:!1,replaceState:!1,key:"slides"}},create:function(){A.extend(this,{history:{init:ee.init.bind(this),setHistory:ee.setHistory.bind(this),setHistoryPopState:ee.setHistoryPopState.bind(this),scrollToSlide:ee.scrollToSlide.bind(this),destroy:ee.destroy.bind(this)}})},on:{init:function(){this.params.history.enabled&&this.history.init()},destroy:function(){this.params.history.enabled&&this.history.destroy()},transitionEnd:function(){this.history.initialized&&this.history.setHistory(this.params.history.key,this.activeIndex)}}},ie={onHashCange:function(){var e=m.location.hash.replace("#","");e!==this.slides.eq(this.activeIndex).attr("data-hash")&&this.slideTo(this.$wrapperEl.children("."+this.params.slideClass+'[data-hash="'+e+'"]').index())},setHash:function(){if(this.hashNavigation.initialized&&this.params.hashNavigation.enabled)if(this.params.hashNavigation.replaceState&&f.history&&f.history.replaceState)f.history.replaceState(null,null,"#"+this.slides.eq(this.activeIndex).attr("data-hash")||"");else{var e=this.slides.eq(this.activeIndex),t=e.attr("data-hash")||e.attr("data-history");m.location.hash=t||""}},init:function(){var e=this;if(!(!e.params.hashNavigation.enabled||e.params.history&&e.params.history.enabled)){e.hashNavigation.initialized=!0;var t=m.location.hash.replace("#","");if(t)for(var i=0,s=e.slides.length;i<s;i+=1){var r=e.slides.eq(i);if((r.attr("data-hash")||r.attr("data-history"))===t&&!r.hasClass(e.params.slideDuplicateClass)){var n=r.index();e.slideTo(n,0,e.params.runCallbacksOnInit,!0)}}e.params.hashNavigation.watchState&&R(f).on("hashchange",e.hashNavigation.onHashCange)}},destroy:function(){this.params.hashNavigation.watchState&&R(f).off("hashchange",this.hashNavigation.onHashCange)}},se={name:"hash-navigation",params:{hashNavigation:{enabled:!1,replaceState:!1,watchState:!1}},create:function(){A.extend(this,{hashNavigation:{initialized:!1,init:ie.init.bind(this),destroy:ie.destroy.bind(this),setHash:ie.setHash.bind(this),onHashCange:ie.onHashCange.bind(this)}})},on:{init:function(){this.params.hashNavigation.enabled&&this.hashNavigation.init()},destroy:function(){this.params.hashNavigation.enabled&&this.hashNavigation.destroy()},transitionEnd:function(){this.hashNavigation.initialized&&this.hashNavigation.setHash()}}},re={run:function(){var e=this,t=e.slides.eq(e.activeIndex),i=e.params.autoplay.delay;t.attr("data-swiper-autoplay")&&(i=t.attr("data-swiper-autoplay")||e.params.autoplay.delay),e.autoplay.timeout=A.nextTick(function(){e.params.loop?(e.loopFix(),e.slideNext(e.params.speed,!0,
1!0),e.emit("autoplay")):e.isEnd?e.params.autoplay.stopOnLastSlide?e.autoplay.stop():(e.slideTo(0,e.params.speed,!0,!0),e.emit("autoplay")):(e.slideNext(e.params.speed,!0,!0),e.emit("autoplay"))},i)},start:function(){return void 0===this.autoplay.timeout&&!this.autoplay.running&&(this.autoplay.running=!0,this.emit("autoplayStart"),this.autoplay.run(),!0)},stop:function(){return!!this.autoplay.running&&void 0!==this.autoplay.timeout&&(this.autoplay.timeout&&(clearTimeout(this.autoplay.timeout),this.autoplay.timeout=void 0),this.autoplay.running=!1,this.emit("autoplayStop"),!0)},pause:function(e){var t=this;t.autoplay.running&&(t.autoplay.paused||(t.autoplay.timeout&&clearTimeout(t.autoplay.timeout),t.autoplay.paused=!0,0===e?(t.autoplay.paused=!1,t.autoplay.run()):t.$wrapperEl.transitionEnd(function(){t&&!t.destroyed&&(t.autoplay.paused=!1,t.autoplay.running?t.autoplay.run():t.autoplay.stop())})))}},ne={name:"autoplay",params:{autoplay:{enabled:!1,delay:3e3,disableOnInteraction:!0,stopOnLastSlide:!1}},create:function(){A.extend(this,{autoplay:{running:!1,paused:!1,run:re.run.bind(this),start:re.start.bind(this),stop:re.stop.bind(this),pause:re.pause.bind(this)}})},on:{init:function(){this.params.autoplay.enabled&&this.autoplay.start()},beforeTransitionStart:function(e,t){this.autoplay.running&&(t||!this.params.autoplay.disableOnInteraction?this.autoplay.pause(e):this.autoplay.stop())},sliderFirstMove:function(){this.autoplay.running&&(this.params.autoplay.disableOnInteraction?this.autoplay.stop():this.autoplay.pause())},destroy:function(){this.autoplay.running&&this.autoplay.stop()}}},ae={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=this.slides.eq(t),s=-i[0].swiperSlideOffset;this.params.virtualTranslate||(s-=this.translate);var r=0;this.isHorizontal()||(r=s,s=0);var n=this.params.fadeEffect.crossFade?Math.max(1-Math.abs(i[0].progress),0):1+Math.min(Math.max(i[0].progress,-1),0);i.css({opacity:n}).transform("translate3d("+s+"px, "+r+"px, 0px)")}},setTransition:function(e){var i=this,t=i.slides,s=i.$wrapperEl;if(t.transition(e),i.params.virtualTranslate&&0!==e){var r=!1;t.transitionEnd(function(){if(!r&&i&&!i.destroyed){r=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)s.trigger(e[t])}})}}},oe={name:"effect-fade",params:{fadeEffect:{crossFade:!1}},create:function(){A.extend(this,{fadeEffect:{setTranslate:ae.setTranslate.bind(this),setTransition:ae.setTransition.bind(this)}})},on:{beforeInit:function(){if("fade"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"fade");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};A.extend(this.params,e),A.extend(this.originalParams,e)}},setTranslate:function(){"fade"===this.params.effect&&this.fadeEffect.setTranslate()},setTransition:function(e){"fade"===this.params.effect&&this.fadeEffect.setTransition(e)}}},le={setTranslate:function(){var e,t=this,i=t.$el,s=t.$wrapperEl,r=t.slides,n=t.width,a=t.height,o=t.rtl,l=t.size,h=t.params.cubeEffect,d=t.isHorizontal(),c=t.virtual&&t.params.virtual.enabled,u=0;h.shadow&&(d?(0===(e=s.find(".swiper-cube-shadow")).length&&(e=R('<div class="swiper-cube-shadow"></div>'),s.append(e)),e.css({height:n+"px"})):0===(e=i.find(".swiper-cube-shadow")).length&&(e=R('<div class="swiper-cube-shadow"></div>'),i.append(e)));for(var p=0;p<r.length;p+=1){var f=r.eq(p),m=p;c&&(m=parseInt(f.attr("data-swiper-slide-index"),10));var g=90*m,v=Math.floor(g/360);o&&(g=-g,v=Math.floor(-g/360));var _=Math.max(Math.min(f[0].progress,1),-1),y=0,w=0,b=0;m%4==0?(y=4*-v*l,b=0):(m-1)%4==0?(y=0,b=4*-v*l):(m-2)%4==0?(y=l+4*v*l,b=l):(m-3)%4==0&&(y=-l,b=3*l+4*l*v),o&&(y=-y),d||(w=y,y=0);var x="rotateX("+(d?0:-g)+"deg) rotateY("+(d?g:0)+"deg) translate3d("+y+"px, "+w+"px, "+b+"px)";if(_<=1&&-1<_&&(u=90*m+90*_,o&&(u=90*-m-90*_)),f.transform(x),h.slideShadows){var T=d?f.find(".swiper-slide-shadow-left"):f.find(".swiper-slide-shadow-top"),S=d?f.find(".swiper-slide-shadow-right"):f.find(".swiper-slide-shadow-bottom");0===T.length&&(T=R('<div class="swiper-slide-shadow-'+(d?"left":"top")+'"></div>'),f.append(T)),0===S.length&&(S=R('<div class="swiper-slide-shadow-'+(d?"right":"bottom")+'"></div>'),f.append(S)),T.length&&(T[0].style.opacity=Math.max(-_,0)),S.length&&(S[0].style.opacity=Math.max(_,0))}}if(s.css({"-webkit-transform-origin":"50% 50% -"+l/2+"px","-moz-transform-origin":"50% 50% -"+l/2+"px","-ms-transform-origin":"50% 50% -"+l/2+"px","transform-origin":"50% 50% -"+l/2+"px"}),h.shadow)if(d)e.transform("translate3d(0px, "+(n/2+h.shadowOffset)+"px, "+-n/2+"px) rotateX(90deg) rotateZ(0deg) scale("+h.shadowScale+")");else{var E=Math.abs(u)-90*Math.floor(Math.abs(u)/90),C=1.5-(Math.sin(2*E*Math.PI/360)/2+Math.cos(2*E*Math.PI/360)/2),P=h.shadowScale,M=h.shadowScale/C,k=h.shadowOffset;e.transform("scale3d("+P+", 1, "+M+") translate3d(0px, "+(a/2+k)+"px, "+-a/2/M+"px) rotateX(-90deg)")}var z=O.isSafari||O.isUiWebView?-l/2:0;s.transform("translate3d(0px,0,"+z+"px) rotateX("+(t.isHorizontal()?0:u)+"deg) rotateY("+(t.isHorizontal()?-u:0)+"deg)")},setTransition:function(e){var t=this.$el;this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),this.params.cubeEffect.shadow&&!this.isHorizontal()&&t.find(".swiper-cube-shadow").transition(e)}},he={name:"effect-cube",params:{cubeEffect:{slideShadows:!0,shadow:!0,shadowOffset:20,shadowScale:.94}},create:function(){A.extend(this,{cubeEffect:{setTranslate:le.setTranslate.bind(this),setTransition:le.setTransition.bind(this)}})},on:{beforeInit:function(){if("cube"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"cube"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,resistanceRatio:0,spaceBetween:0,centeredSlides:!1,virtualTranslate:!0};A.extend(this.params,e),A.extend(this.originalParams,e)}},setTranslate:function(){"cube"===this.params.effect&&this.cubeEffect.setTranslate()},setTransition:function(e){"cube"===this.params.effect&&this.cubeEffect.setTransition(e)}}},de={setTranslate:function(){for(var e=this.slides,t=0;t<e.length;t+=1){var i=e.eq(t),s=i[0].progress;this.params.flipEffect.limitRotation&&(s=Math.max(Math.min(i[0].progress,
11),-1));var r=-180*s,n=0,a=-i[0].swiperSlideOffset,o=0;if(this.isHorizontal()?this.rtl&&(r=-r):(o=a,n=-r,r=a=0),i[0].style.zIndex=-Math.abs(Math.round(s))+e.length,this.params.flipEffect.slideShadows){var l=this.isHorizontal()?i.find(".swiper-slide-shadow-left"):i.find(".swiper-slide-shadow-top"),h=this.isHorizontal()?i.find(".swiper-slide-shadow-right"):i.find(".swiper-slide-shadow-bottom");0===l.length&&(l=R('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"left":"top")+'"></div>'),i.append(l)),0===h.length&&(h=R('<div class="swiper-slide-shadow-'+(this.isHorizontal()?"right":"bottom")+'"></div>'),i.append(h)),l.length&&(l[0].style.opacity=Math.max(-s,0)),h.length&&(h[0].style.opacity=Math.max(s,0))}i.transform("translate3d("+a+"px, "+o+"px, 0px) rotateX("+n+"deg) rotateY("+r+"deg)")}},setTransition:function(e){var i=this,t=i.slides,s=i.activeIndex,r=i.$wrapperEl;if(t.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e),i.params.virtualTranslate&&0!==e){var n=!1;t.eq(s).transitionEnd(function(){if(!n&&i&&!i.destroyed){n=!0,i.animating=!1;for(var e=["webkitTransitionEnd","transitionend"],t=0;t<e.length;t+=1)r.trigger(e[t])}})}}},ce={name:"effect-flip",params:{flipEffect:{slideShadows:!0,limitRotation:!0}},create:function(){A.extend(this,{flipEffect:{setTranslate:de.setTranslate.bind(this),setTransition:de.setTransition.bind(this)}})},on:{beforeInit:function(){if("flip"===this.params.effect){this.classNames.push(this.params.containerModifierClass+"flip"),this.classNames.push(this.params.containerModifierClass+"3d");var e={slidesPerView:1,slidesPerColumn:1,slidesPerGroup:1,watchSlidesProgress:!0,spaceBetween:0,virtualTranslate:!0};A.extend(this.params,e),A.extend(this.originalParams,e)}},setTranslate:function(){"flip"===this.params.effect&&this.flipEffect.setTranslate()},setTransition:function(e){"flip"===this.params.effect&&this.flipEffect.setTransition(e)}}},ue={setTranslate:function(){for(var e=this.width,t=this.height,i=this.slides,s=this.$wrapperEl,r=this.slidesSizesGrid,n=this.params.coverflowEffect,a=this.isHorizontal(),o=this.translate,l=a?e/2-o:t/2-o,h=a?n.rotate:-n.rotate,d=n.depth,c=0,u=i.length;c<u;c+=1){var p=i.eq(c),f=r[c],m=(l-p[0].swiperSlideOffset-f/2)/f*n.modifier,g=a?h*m:0,v=a?0:h*m,_=-d*Math.abs(m),y=a?0:n.stretch*m,w=a?n.stretch*m:0;Math.abs(w)<.001&&(w=0),Math.abs(y)<.001&&(y=0),Math.abs(_)<.001&&(_=0),Math.abs(g)<.001&&(g=0),Math.abs(v)<.001&&(v=0);var b="translate3d("+w+"px,"+y+"px,"+_+"px) rotateX("+v+"deg) rotateY("+g+"deg)";if(p.transform(b),p[0].style.zIndex=1-Math.abs(Math.round(m)),n.slideShadows){var x=a?p.find(".swiper-slide-shadow-left"):p.find(".swiper-slide-shadow-top"),T=a?p.find(".swiper-slide-shadow-right"):p.find(".swiper-slide-shadow-bottom");0===x.length&&(x=R('<div class="swiper-slide-shadow-'+(a?"left":"top")+'"></div>'),p.append(x)),0===T.length&&(T=R('<div class="swiper-slide-shadow-'+(a?"right":"bottom")+'"></div>'),p.append(T)),x.length&&(x[0].style.opacity=0<m?m:0),T.length&&(T[0].style.opacity=0<-m?-m:0)}}
1O.ie&&(s[0].style.perspectiveOrigin=l+"px 50%")},setTransition:function(e){this.slides.transition(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").transition(e)}},pe={name:"effect-coverflow",params:{coverflowEffect:{rotate:50,stretch:0,depth:100,modifier:1,slideShadows:!0}},create:function(){A.extend(this,{coverflowEffect:{setTranslate:ue.setTranslate.bind(this),setTransition:ue.setTransition.bind(this)}})},on:{beforeInit:function(){"coverflow"===this.params.effect&&(this.classNames.push(this.params.containerModifierClass+"coverflow"),this.classNames.push(this.params.containerModifierClass+"3d"),this.params.watchSlidesProgress=!0,this.originalParams.watchSlidesProgress=!0)},setTranslate:function(){"coverflow"===this.params.effect&&this.coverflowEffect.setTranslate()},setTransition:function(e){"coverflow"===this.params.effect&&this.coverflowEffect.setTransition(e)}}};return b.use([x,T,S,E,P,k,I,N,F,Y,H,j,W,U,Z,J,te,se,ne,oe,he,ce,pe]),b});
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.