GSAP (GreenSock Animation Platform): high-performance JavaScript animation for anything JavaScript can touch. 100% free, including every plugin.
JavaScript animationcanvasgsapjavascriptjavascript-libraryreactscrollscrolltriggerspringsvgweb-animations
Fixed issue with IE8 and earlier related to transforms and opacity
Jack Doylea0eae329846d
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.jsindex a18ad79..9bdb567 100755--- a/src/minified/TweenMax.min.js+++ b/src/minified/TweenMax.min.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.664- * DATE: 2012-12-21+ * VERSION: beta 1.665+ * DATE: 2012-12-22* JavaScript (ActionScript 3 and 2 also available)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -12,136 +12,136 @@** @author: Jack Doyle, [email protected]**/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var n=function(j,d,a){f.call(this,j,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},k=n.prototype=f.to({},0.1,{}),b=[];n.version=1.664;k.constructor=n;k.kill()._gc=!1;n.killTweensOf=n.killDelayedCallsTo=f.killTweensOf;n.getTweensOf=f.getTweensOf;n.ticker=f.ticker;-k.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return f.prototype.invalidate.call(this)};k.updateTo=function(j,d){var a=this.ratio,g;d&&(null!=this.timeline&&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));for(g in j)this.vars[g]=j[g];if(this._initted)if(d)this._initted=-!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&f._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);g=this._firstPT;for(var u;g;)u=g.s+g.c,g.c*=a,g.s=u-g.c,g=g._next}return this};k.render=function(j,d,a){var g=!this._dirty?this._totalDuration:this.totalDuration(),u=this._time,c=this._totalTime,s=this._cycle,w,E;if(j>=g){if(this._totalTime=g,-this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(w=!0,E="onComplete"),0===this._duration){if(0===j||0>this._rawPrevTime)this._rawPrevTime!==j&&(a=!0);this._rawPrevTime=j}}else if(0>=j){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)E=-"onReverseComplete",w=this._reversed;0>j?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=j)):this._initted||(a=!0)}else if(this._totalTime=this._time=j,0!==this._repeat&&(j=this._duration+this._repeatDelay,this._cycle=this._totalTime/j>>0,0!==this._cycle&&this._cycle===this._totalTime/j&&this._cycle--,this._time=this._totalTime-this._cycle*j,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:-0>this._time&&(this._time=0)),this._easeType){j=this._time/this._duration;var g=this._easeType,t=this._easePower;if(1===g||3===g&&0.5<=j)j=1-j;3===g&&(j*=2);1===t?j*=j:2===t?j*=j*j:3===t?j*=j*j*j:4===t&&(j*=j*j*j*j);this.ratio=1===g?1-j:2===g?j:0.5>this._time/this._duration?j/2:1-j/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(u===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||-(this._init(),!w&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===c&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));this._cycle!==-s&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));E&&!this._gc&&(w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[E]&&this.vars[E].apply(this.vars[E+"Scope"]||this,this.vars[E+"Params"]||b))}};n.to=function(a,d,z){return new n(a,d,z)};n.from=function(a,d,z){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return new n(a,d,z)};n.fromTo=function(a,d,z,g){g.startAt=z;z.immediateRender&&-(g.immediateRender=!0);return new n(a,d,g)};n.staggerTo=n.allTo=function(a,d,z,g,u,c,b){g=g||0;var s=[],E=a.length,t=z.delay||0,D,q,f;for(q=0;q<E;q++){D={};for(f in z)D[f]=z[f];D.delay=t;q===E-1&&u&&(D.onComplete=function(){z.onComplete&&z.onComplete.apply(z.onCompleteScope,z.onCompleteParams);u.apply(b,c)});s[q]=new n(a[q],d,D);t+=g}return s};n.staggerFrom=n.allFrom=function(a,d,z,g,u,c,b){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return n.staggerTo(a,d,z,g,u,c,b)};n.staggerFromTo=-n.allFromTo=function(a,d,z,g,c,b,s,w){g.startAt=z;z.immediateRender&&(g.immediateRender=!0);return n.staggerTo(a,d,g,c,b,s,w)};n.delayedCall=function(a,d,c,g,u){return new n(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:g,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:g,immediateRender:!1,useFrames:u,overwrite:0})};n.set=function(a,d){return new n(a,0,d)};n.isTweening=function(a){a=f.getTweensOf(a);for(var d=a.length,c;-1<--d;)if((c=a[d])._active||c._startTime===-c.timeline._time&&c.timeline._active)return!0;return!1};var s=function(a,d){for(var c=[],g=0,u=a._first;u;)u instanceof f?c[g++]=u:(d&&(c[g++]=u),c=c.concat(s(u,d)),g=c.length),u=u._next;return c},c=n.getAllTweens=function(a){return s(l._rootTimeline,a).concat(s(l._rootFramesTimeline,a))};n.killAll=function(a,d,z,g){null==d&&(d=!0);null==z&&(z=!0);var u=c(!1!=g),b=u.length;g=d&&z&&g;var s,w,E;for(E=0;E<b;E++)if(w=u[E],g||w instanceof r||(s=w.target===w.vars.onComplete)&&z||d&&!s)a?w.totalTime(w.totalDuration()):-w._enabled(!1,!1)};n.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,g){n.killChildTweensOf(g,d)});else{var c=f._tweenLookup,g=[],u,b;for(b in c)for(u=c[b].target.parentNode;u;)u===a&&(g=g.concat(c[b].tweens)),u=u.parentNode;u=g.length;for(c=0;c<u;c++)d&&g[c].totalTime(g[c].totalDuration()),g[c]._enabled(!1,!1)}};n.pauseAll=function(j,d,c){a(!0,j,d,c)};n.resumeAll=function(j,d,c){a(!1,j,d,c)};var a=function(a,d,b,g){void 0==d&&(d=!0);void 0==b&&(b=!0);var u=c(g);g=d&&b&&g;-for(var s=u.length,f,w;-1<--s;)w=u[s],(g||w instanceof r||(f=w.target===w.vars.onComplete)&&b||d&&!f)&&w.paused(a)};k.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};k.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};k.time=function(a,d){if(!arguments.length)return this._time;-this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,d)};k.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?-this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};k.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};k.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};k.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return n},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var n=function(a){r.call(this,-a);this._labels={};this.autoRemoveChildren=!0===this.vars.autoRemoveChildren;this.smoothChildTiming=!0===this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;a=k.length;for(var j,d;-1<--a;)if(d=this.vars[k[a]])for(j=d.length;-1<--j;)"{self}"===d[j]&&(d=this.vars[k[a]]=d.concat(),d[j]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},k=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",-"onRepeatParams"],b=[],s=function(a){var j={},d;for(d in a)j[d]=a[d];return j},c=n.prototype=new r;n.version=1.641;c.constructor=n;c.kill()._gc=!1;c.to=function(a,j,d,c,g){return this.insert(new f(a,j,d),this._parseTimeOrLabel(g,c,!0))};c.from=function(a,j,d,c,g){return this.insert(f.from(a,j,d),this._parseTimeOrLabel(g,c,!0))};c.fromTo=function(a,j,d,c,g,u){return this.insert(f.fromTo(a,j,d,c),this._parseTimeOrLabel(u,g,!0))};c.staggerTo=function(a,j,d,c,g,u,b,k,w){b=new n({onComplete:b,onCompleteParams:k,-onCompleteScope:w});c=c||0;for(k=0;k<a.length;k++)null!=d.startAt&&(d.startAt=s(d.startAt)),b.insert(new f(a[k],j,s(d)),k*c);return this.insert(b,this._parseTimeOrLabel(u,g,!0))};c.staggerFrom=function(a,j,d,c,g,u,b,s,w){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,j,d,c,g,u,b,s,w)};c.staggerFromTo=function(a,j,d,c,g,u,b,s,w,E){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,j,c,g,u,b,s,w,E)};c.call=function(a,j,d,c,g){return this.insert(f.delayedCall(0,-a,j,d),this._parseTimeOrLabel(g,c,!0))};c.set=function(a,j,d,c){j.immediateRender=!1;return this.insert(new f(a,0,j),this._parseTimeOrLabel(c,d,!0))};n.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new n(a),b=d._timeline;null==c&&(c=!0);b._remove(d,!0);d._startTime=0;d._rawPrevTime=d._time=d._totalTime=b._time;for(var g=b._first,u;g;)u=g._next,(!c||!(g instanceof f&&g.target===g.vars.onComplete))&&d.insert(g,g._startTime-g._delay),g=u;b.insert(d,0);return d};-c.insert=function(a,c){if(!(a instanceof l)){if(a instanceof Array)return this.insertMultiple(a,c);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(c||0,0,!0));if("function"===typeof a)a=f.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}r.prototype.insert.call(this,a,this._parseTimeOrLabel(c||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var d=-this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this};c.remove=function(a){if(a instanceof l)return this._remove(a,!1);if(a instanceof Array){for(var c=a.length;-1<--c;)this.remove(a[c]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};c.append=function(a,c){return this.insert(a,this._parseTimeOrLabel(null,c,!0))};c.insertMultiple=function(a,c,d,b){d=d||"normal";b=b||0;var g,u=this._parseTimeOrLabel(c||-0,0,!0),s=a.length;for(c=0;c<s;c++){if((g=a[c])instanceof Array)g=new n({tweens:g});this.insert(g,u);"string"===typeof g||"function"===typeof g||("sequence"===d?u=g._startTime+g.totalDuration()/g._timeScale:"start"===d&&(g._startTime-=g.delay()));u+=b}return this._uncache(!0)};c.appendMultiple=function(a,c,d,b){return this.insertMultiple(a,this._parseTimeOrLabel(null,c,!0),d,b)};c.addLabel=function(a,c){this._labels[a]=c;return this};c.removeLabel=function(a){delete this._labels[a];return this};c.getLabelTime=+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,k,h){var q=function(g,d,a){h.call(this,g,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},l=q.prototype=h.to({},0.1,{}),b=[];q.version=1.665;l.constructor=q;l.kill()._gc=!1;q.killTweensOf=q.killDelayedCallsTo=h.killTweensOf;q.getTweensOf=h.getTweensOf;q.ticker=h.ticker;+l.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return h.prototype.invalidate.call(this)};l.updateTo=function(g,d){var a=this.ratio,f;d&&(null!=this.timeline&&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));for(f in g)this.vars[f]=g[f];if(this._initted)if(d)this._initted=+!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&h._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);f=this._firstPT;for(var u;f;)u=f.s+f.c,f.c*=a,f.s=u-f.c,f=f._next}return this};l.render=function(g,d,a){var f=!this._dirty?this._totalDuration:this.totalDuration(),u=this._time,c=this._totalTime,t=this._cycle,v,E;if(g>=f){if(this._totalTime=f,+this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(v=!0,E="onComplete"),0===this._duration){if(0===g||0>this._rawPrevTime)this._rawPrevTime!==g&&(a=!0);this._rawPrevTime=g}}else if(0>=g){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)E=+"onReverseComplete",v=this._reversed;0>g?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=g)):this._initted||(a=!0)}else if(this._totalTime=this._time=g,0!==this._repeat&&(g=this._duration+this._repeatDelay,this._cycle=this._totalTime/g>>0,0!==this._cycle&&this._cycle===this._totalTime/g&&this._cycle--,this._time=this._totalTime-this._cycle*g,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:+0>this._time&&(this._time=0)),this._easeType){g=this._time/this._duration;var f=this._easeType,s=this._easePower;if(1===f||3===f&&0.5<=g)g=1-g;3===f&&(g*=2);1===s?g*=g:2===s?g*=g*g:3===s?g*=g*g*g:4===s&&(g*=g*g*g*g);this.ratio=1===f?1-g:2===f?g:0.5>this._time/this._duration?g/2:1-g/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(u===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||+(this._init(),!v&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===c&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));this._cycle!==+t&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));E&&!this._gc&&(v&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[E]&&this.vars[E].apply(this.vars[E+"Scope"]||this,this.vars[E+"Params"]||b))}};q.to=function(a,d,A){return new q(a,d,A)};q.from=function(a,d,A){A.runBackwards=!0;!1!==A.immediateRender&&(A.immediateRender=!0);return new q(a,d,A)};q.fromTo=function(a,d,A,f){f.startAt=A;A.immediateRender&&+(f.immediateRender=!0);return new q(a,d,f)};q.staggerTo=q.allTo=function(a,d,A,f,u,c,b){f=f||0;var t=[],E=a.length,s=A.delay||0,C,n,h;for(n=0;n<E;n++){C={};for(h in A)C[h]=A[h];C.delay=s;n===E-1&&u&&(C.onComplete=function(){A.onComplete&&A.onComplete.apply(A.onCompleteScope,A.onCompleteParams);u.apply(b,c)});t[n]=new q(a[n],d,C);s+=f}return t};q.staggerFrom=q.allFrom=function(a,d,A,f,u,c,b){A.runBackwards=!0;!1!==A.immediateRender&&(A.immediateRender=!0);return q.staggerTo(a,d,A,f,u,c,b)};q.staggerFromTo=+q.allFromTo=function(a,d,A,f,c,b,t,v){f.startAt=A;A.immediateRender&&(f.immediateRender=!0);return q.staggerTo(a,d,f,c,b,t,v)};q.delayedCall=function(a,d,c,f,u){return new q(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:f,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:f,immediateRender:!1,useFrames:u,overwrite:0})};q.set=function(a,d){return new q(a,0,d)};q.isTweening=function(a){a=h.getTweensOf(a);for(var d=a.length,c;-1<--d;)if((c=a[d])._active||c._startTime===+c.timeline._time&&c.timeline._active)return!0;return!1};var t=function(a,d){for(var c=[],f=0,u=a._first;u;)u instanceof h?c[f++]=u:(d&&(c[f++]=u),c=c.concat(t(u,d)),f=c.length),u=u._next;return c},c=q.getAllTweens=function(a){return t(r._rootTimeline,a).concat(t(r._rootFramesTimeline,a))};q.killAll=function(a,d,A,f){null==d&&(d=!0);null==A&&(A=!0);var u=c(!1!=f),b=u.length;f=d&&A&&f;var t,v,E;for(E=0;E<b;E++)if(v=u[E],f||v instanceof k||(t=v.target===v.vars.onComplete)&&A||d&&!t)a?v.totalTime(v.totalDuration()):+v._enabled(!1,!1)};q.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,f){q.killChildTweensOf(f,d)});else{var c=h._tweenLookup,f=[],u,b;for(b in c)for(u=c[b].target.parentNode;u;)u===a&&(f=f.concat(c[b].tweens)),u=u.parentNode;u=f.length;for(c=0;c<u;c++)d&&f[c].totalTime(f[c].totalDuration()),f[c]._enabled(!1,!1)}};q.pauseAll=function(g,d,c){a(!0,g,d,c)};q.resumeAll=function(g,d,c){a(!1,g,d,c)};var a=function(a,d,b,f){void 0==d&&(d=!0);void 0==b&&(b=!0);var u=c(f);f=d&&b&&f;+for(var t=u.length,h,v;-1<--t;)v=u[t],(f||v instanceof k||(h=v.target===v.vars.onComplete)&&b||d&&!h)&&v.paused(a)};l.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};l.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};l.time=function(a,d){if(!arguments.length)return this._time;+this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,d)};l.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?+this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};l.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};l.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};l.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return q},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(r,k,h){var q=function(a){k.call(this,+a);this._labels={};this.autoRemoveChildren=!0===this.vars.autoRemoveChildren;this.smoothChildTiming=!0===this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;a=l.length;for(var g,d;-1<--a;)if(d=this.vars[l[a]])for(g=d.length;-1<--g;)"{self}"===d[g]&&(d=this.vars[l[a]]=d.concat(),d[g]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},l=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",+"onRepeatParams"],b=[],t=function(a){var g={},d;for(d in a)g[d]=a[d];return g},c=q.prototype=new k;q.version=1.641;c.constructor=q;c.kill()._gc=!1;c.to=function(a,g,d,c,f){return this.insert(new h(a,g,d),this._parseTimeOrLabel(f,c,!0))};c.from=function(a,g,d,c,f){return this.insert(h.from(a,g,d),this._parseTimeOrLabel(f,c,!0))};c.fromTo=function(a,g,d,c,f,u){return this.insert(h.fromTo(a,g,d,c),this._parseTimeOrLabel(u,f,!0))};c.staggerTo=function(a,g,d,c,f,u,b,l,v){b=new q({onComplete:b,onCompleteParams:l,+onCompleteScope:v});c=c||0;for(l=0;l<a.length;l++)null!=d.startAt&&(d.startAt=t(d.startAt)),b.insert(new h(a[l],g,t(d)),l*c);return this.insert(b,this._parseTimeOrLabel(u,f,!0))};c.staggerFrom=function(a,g,d,c,f,u,b,t,v){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,g,d,c,f,u,b,t,v)};c.staggerFromTo=function(a,g,d,c,f,u,b,t,v,E){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,g,c,f,u,b,t,v,E)};c.call=function(a,g,d,c,f){return this.insert(h.delayedCall(0,+a,g,d),this._parseTimeOrLabel(f,c,!0))};c.set=function(a,g,d,c){g.immediateRender=!1;return this.insert(new h(a,0,g),this._parseTimeOrLabel(c,d,!0))};q.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new q(a),b=d._timeline;null==c&&(c=!0);b._remove(d,!0);d._startTime=0;d._rawPrevTime=d._time=d._totalTime=b._time;for(var f=b._first,u;f;)u=f._next,(!c||!(f instanceof h&&f.target===f.vars.onComplete))&&d.insert(f,f._startTime-f._delay),f=u;b.insert(d,0);return d};+c.insert=function(a,c){if(!(a instanceof r)){if(a instanceof Array)return this.insertMultiple(a,c);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(c||0,0,!0));if("function"===typeof a)a=h.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}k.prototype.insert.call(this,a,this._parseTimeOrLabel(c||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var d=+this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this};c.remove=function(a){if(a instanceof r)return this._remove(a,!1);if(a instanceof Array){for(var c=a.length;-1<--c;)this.remove(a[c]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};c.append=function(a,c){return this.insert(a,this._parseTimeOrLabel(null,c,!0))};c.insertMultiple=function(a,c,d,b){d=d||"normal";b=b||0;var f,u=this._parseTimeOrLabel(c||+0,0,!0),t=a.length;for(c=0;c<t;c++){if((f=a[c])instanceof Array)f=new q({tweens:f});this.insert(f,u);"string"===typeof f||"function"===typeof f||("sequence"===d?u=f._startTime+f.totalDuration()/f._timeScale:"start"===d&&(f._startTime-=f.delay()));u+=b}return this._uncache(!0)};c.appendMultiple=function(a,c,d,b){return this.insertMultiple(a,this._parseTimeOrLabel(null,c,!0),d,b)};c.addLabel=function(a,c){this._labels[a]=c;return this};c.removeLabel=function(a){delete this._labels[a];return this};c.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1};c._parseTimeOrLabel=function(a,c,d){if("string"===typeof c)return this._parseTimeOrLabel(c,d&&"number"===typeof a&&null==this._labels[c]?a-this.duration():0,d);c=c||0;return null==a?this.duration()+c:"string"===typeof a&&isNaN(a)?null==this._labels[a]?d?this._labels[a]=this.duration()+c:c:this._labels[a]+c:Number(a)+c};c.seek=function(a,c){return this.totalTime(this._parseTimeOrLabel(a),!1!=c)};c.stop=function(){return this.paused(!0)};-c.gotoAndPlay=function(a,c){return r.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var s=!this._dirty?this._totalDuration:this.totalDuration(),g=this._time,u=this._startTime,f=this._timeScale,n=this._paused,w,E,t;if(a>=s){this._totalTime=this._time=s;if(!this._reversed&&!this._hasPausedChild()&&(w=!0,t="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==-a&&(d=!0);this._rawPrevTime=a;a=s+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==g||0===this._duration&&0<this._rawPrevTime)t="onReverseComplete",w=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(d=!0)):this._initted||(d=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==g||d){this._initted||(this._initted=!0);0===g&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||-b));if(this._time>g)for(d=this._first;d;){E=d._next;if(this._paused&&!n)break;else if(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}else for(d=this._last;d;){E=d._prev;if(this._paused&&!n)break;else if(d._active||d._startTime<=g&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,-c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(t&&!this._gc&&(u===this._startTime||f!=this._timeScale))if(0===this._time||s>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[t]&&this.vars[t].apply(this.vars[t+"Scope"]||this,this.vars[t+"Params"]||b)}};c._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof-n&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var g=[],u=this._first,s=0;u;)u._startTime<b||(u instanceof f?!1!=c&&(g[s++]=u):(!1!=d&&(g[s++]=u),!1!=a&&(g=g.concat(u.getChildren(!0,c,d)),s=g.length))),u=u._next;return g};c.getTweensOf=function(a,c){for(var d=f.getTweensOf(a),b=d.length,g=[],u=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))g[u++]=d[b];return g};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=-a.timeline}return!1};c.shiftChildren=function(a,c,d){d=d||0;for(var b=this._first;b;)b._startTime>=d&&(b._startTime+=a),b=b._next;if(c)for(var g in this._labels)this._labels[g]>=d&&(this._labels[g]+=a);return this._uncache(!0)};c._kill=function(a,c){if(null==a&&null==c)return this._enabled(!1,!1);for(var d=null==c?this.getChildren(!0,!0,!1):this.getTweensOf(c),b=d.length,g=!1;-1<--b;)d[b]._kill(a,c)&&(g=!0);return g};c.clear=function(a){var c=this.getChildren(!1,!0,!0),d=c.length;for(this._time=this._totalTime=-0;-1<--d;)c[d]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};c.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};c._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return r.prototype._enabled.call(this,a,c)};c.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};c.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),-this._duration;0!==this.duration()&&0!==a&&this.timeScale(this._duration/a);return this};c.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var c=0,d=this._first,b=-999999999999,g;d;)g=d._next,d._startTime<b&&this._sortChildren?this.insert(d,d._startTime-d._delay):b=d._startTime,0>d._startTime&&(c-=d._startTime,this.shiftChildren(-d._startTime,!1,-9999999999)),d=d._startTime+(!d._dirty?d._totalDuration:d.totalDuration())/d._timeScale,d>c&&(c=d),d=g;this._duration=this._totalDuration=-c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===l._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return n},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(l,-r,f){var n=function(b){l.call(this,b);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},k=[],b=new f(null,null,1,0);f=n.prototype=new l;f.constructor=n;f.kill()._gc=!1;n.version=1.641;f.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return l.prototype.invalidate.call(this)};f.addCallback=function(b,c,a,j){return this.insert(r.delayedCall(0,-b,a,j),c)};f.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),j=a.length,d=this._parseTimeOrLabel(c);-1<--j;)a[j]._startTime===d&&a[j]._enabled(!1,!1);return this};f.tweenTo=function(s,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},j,d;for(j in c)a[j]=c[j];a.time=this._parseTimeOrLabel(s);d=new r(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){d.target.paused(!0);d.vars.time!==-d.target.time()&&d.duration(Math.abs(d.vars.time-d.target.time())/d.target._timeScale);c.onStart&&c.onStart.apply(c.onStartScope||d,c.onStartParams||k)};return d};f.tweenFromTo=function(b,c,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(b)};b=this.tweenTo(c,a);return b.duration(Math.abs(b.vars.time-b.vars.startAt.time)/this._timeScale||0.001)};f.render=function(b,c,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var j=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,-f=this._totalTime,g=this._startTime,u=this._timeScale,n=this._rawPrevTime,r=this._paused,w=this._cycle,E,t;if(b>=j){this._locked||(this._totalTime=j,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(E=!0,t="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(a=!0);this._rawPrevTime=b;this._yoyo&&0!==(this._cycle&1)?(this._time=0,b=-1E-6):(this._time=this._duration,b=this._duration+1E-6)}else if(0>=b){this._locked||(this._totalTime=this._cycle=-0);this._time=0;if(0!==d||0===this._duration&&0<this._rawPrevTime&&!this._locked)t="onReverseComplete",E=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=b;b=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=b,!this._locked&&(this._totalTime=b,0!==this._repeat)){var D=this._duration+this._repeatDelay;this._cycle=this._totalTime/D>>0;0!==this._cycle&&this._cycle===this._totalTime/D&&this._cycle--;this._time=-this._totalTime-this._cycle*D;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,b=this._duration+1E-6):0>this._time?this._time=b=0:b=this._time}if(this._cycle!==w&&!this._locked){var D=this._yoyo&&0!==(w&1),q=D===(this._yoyo&&0!==(this._cycle&1)),U=this._totalTime,G=this._cycle,M=this._rawPrevTime,x=this._time;this._totalTime=w*this._duration;this._cycle<w?D=!D:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=-0===this._duration?n-1E-5:n;this._cycle=w;this._locked=!0;d=D?0:this._duration;this.render(d,c,0===this._duration);c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k);q&&(d=D?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=x;this._totalTime=U;this._cycle=G;this._rawPrevTime=M;this._locked=!1}if(this._time===d&&!a)f!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||-k));else{this._initted||(this._initted=!0);0===f&&this.vars.onStart&&0!==this._totalTime&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k));if(this._time>d)for(a=this._first;a;){f=a._next;if(this._paused&&!r)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=f}else for(a=this._last;a;){f=a._prev;-if(this._paused&&!r)break;else if(a._active||a._startTime<=d&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=f}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(t&&!this._locked&&!this._gc&&(g===this._startTime||u!==this._timeScale))if(0===this._time||j>=this.totalDuration())E&&(this._timeline.autoRemoveChildren&&this._enabled(!1,-!1),this._active=!1),c||this.vars[t]&&this.vars[t].apply(this.vars[t+"Scope"]||this,this.vars[t+"Params"]||k)}};f.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var j=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,f;for(d=0;d<a;d++)if(f=b[d],!f._paused&&f._timeline._time>=f._startTime&&f._timeline._time<f._startTime+f._totalDuration/f._timeScale){var g;a:{for(g=f._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g=!1}g||(j[c++]=f)}return j};f.getLabelAfter=function(b){!b&&-0!==b&&(b=this._time);var c=this.getLabelsArray(),a=c.length,j;for(j=0;j<a;j++)if(c[j].time>b)return c[j].name;return null};f.getLabelBefore=function(b){null==b&&(b=this._time);for(var c=this.getLabelsArray(),a=c.length;-1<--a;)if(c[a].time<b)return c[a].name;return null};f.getLabelsArray=function(){var b=[],c=0,a;for(a in this._labels)b[c++]={time:this._labels[a],name:a};b.sort(function(a,c){return a.time-c.time});return b};f.progress=function(b){return!arguments.length?this._time/this.duration():-this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-b:b)+this._cycle*(this._duration+this._repeatDelay),!1)};f.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};f.totalDuration=function(b){return!arguments.length?(this._dirty&&(l.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?-this:this.duration((b-this._repeat*this._repeatDelay)/(this._repeat+1))};f.time=function(b,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b>this._duration&&(b=this._duration);this._yoyo&&0!==(this._cycle&1)?b=this._duration-b+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(b+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(b,c)};f.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};-f.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};f.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};f.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return n},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(l){var r=function(){l.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},f=r.prototype=-new l("bezier",1),n=180/Math.PI,k=Math.PI/180,b=[],s=[],c=[],a={},j=function(a,c,d,b){this.a=a;this.b=c;this.c=d;this.d=b;this.da=b-a;this.ca=d-a;this.ba=c-a},d=r.bezierThrough=function(d,u,f,n,w,E){var t={},D=[],q,k,G;w="string"===typeof w?","+w+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==u&&(u=1);for(k in d[0])D.push(k);b.length=s.length=c.length=0;for(q=D.length;-1<---q;){k=D[q];a[k]=-1!==w.indexOf(","+k+",");G=t;var r=k,x;x=d;var h=k,B=a[k],v=E,A=[],C=void 0,y=void 0,l=void 0,e=void 0,p=void 0,C=void 0;if(v){x=[v].concat(x);for(y=x.length;-1<--y;)if("string"===typeof(C=x[y][h]))"="===C.charAt(1)&&(x[y][h]=v[h]+Number(C.charAt(0)+C.substr(2)))}C=x.length-2;if(0>C)A[0]=new j(x[0][h],0,0,x[-1>C?0:1][h]);else{for(y=0;y<C;y++)l=x[y][h],e=x[y+1][h],A[y]=new j(l,0,0,e),B&&(p=x[y+2][h],b[y]=(b[y]||0)+(e-l)*(e-l),s[y]=(s[y]||0)+(p-e)*(p-e));A[y]=new j(x[y][h],0,0,x[y+-1][h])}x=A;G[r]=x}for(q=b.length;-1<--q;)b[q]=Math.sqrt(b[q]),s[q]=Math.sqrt(s[q]);if(!n){for(q=D.length;-1<--q;)if(a[k]){d=t[D[q]];G=d.length-1;for(w=0;w<G;w++)E=d[w+1].da/s[w]+d[w].da/b[w],c[w]=(c[w]||0)+E*E}for(q=c.length;-1<--q;)c[q]=Math.sqrt(c[q])}for(q=D.length;-1<--q;){k=D[q];d=t[k];w=u;E=f;G=n;k=a[k];r=d.length-1;x=0;for(var h=d[0].a,m=p=e=v=C=e=l=C=y=l=A=v=B=void 0,B=0;B<r;B++)y=d[x],v=y.a,A=y.d,l=d[x+1].d,k?(e=b[B],p=s[B],m=0.25*(p+e)*w/(G?0.5:c[B]||0.5),C=A-(A-v)*(G?0.5*w:m/e),l=A+(l--A)*(G?0.5*w:m/p),e=A-(C+(l-C)*(3*e/(e+p)+0.5)/4)):(C=A-0.5*(A-v)*w,l=A+0.5*(l-A)*w,e=A-(C+l)/2),C+=e,l+=e,y.c=C,y.b=0!==B?h:h=y.a+0.6*(y.c-y.a),y.da=A-v,y.ca=C-v,y.ba=h-v,E?(v=z(v,h,C,A),d.splice(x,1,v[0],v[1],v[2],v[3]),x+=4):x++,h=l;y=d[x];y.b=h;y.c=h+0.4*(y.d-h);y.da=y.d-y.a;y.ca=y.c-y.a;y.ba=h-y.a;E&&(v=z(y.a,h,y.c,y.d),d.splice(x,1,v[0],v[1],v[2],v[3]))}return t},z=r.cubicToQuadratic=function(a,c,d,b){var j={a:a},f={},t={},k={c:b},q=(a+c)/2,n=(c+d)/2;d=(d+b)/2;c=(q+n)/2;var n=(n+d)/2,r=(n-c)/-8;j.b=q+(a-q)/4;f.b=c+r;j.c=f.a=(j.b+f.b)/2;f.c=t.a=(c+n)/2;t.b=n-r;k.b=d+(b-d)/4;t.c=k.a=(t.b+k.b)/2;return[j,f,t,k]};r.quadraticToCubic=function(a,c,d){return new j(a,(2*c+a)/3,(2*c+d)/3,d)};f.constructor=r;r.API=2;r._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,d=a._setPluginRatio,b=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,g,j,f,q,n){g instanceof Array&&(g={values:g});n=new r;j=g.values;var l=j.length--1,s=[],x={},h,B,v;if(0>l)return q;for(h=0;h<=l;h++)v=c(a,j[h],f,q,n,l!==h),s[h]=v.end;for(B in g)x[B]=g[B];x.values=s;q=new b(a,"bezier",0,0,v.pt,2);q.data=v;q.plugin=n;q.setRatio=d;0===x.autoRotate&&(x.autoRotate=!0);x.autoRotate&&!(x.autoRotate instanceof Array)&&(h=!0===x.autoRotate?0:Number(x.autoRotate)*k,x.autoRotate=null!=v.end.left?[["left","top","rotation",h,!0]]:null!=v.end.x?[["x","y","rotation",h,!0]]:!1);x.autoRotate&&(f._transform||f._enableTransforms(!1),v.autoRotate=f._target._gsTransform);-n._onInitTween(v.proxy,x,f._tween);return q})}};f._onInitTween=function(a,c,b){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution,10);var f=c.values||[],n={},k=f[0];b=c.autoRotate||b.vars.orientToBezier;var t,D,q;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(t in k)this._props.push(t);for(k=this._props.length;-1<--k;)t=this._props[k],this._overwriteProps.push(t),b=this._func[t]=-"function"===typeof a[t],n[t]=!b?parseFloat(a[t]):a[t.indexOf("set")||"function"!==typeof a["get"+t.substr(3)]?t:"get"+t.substr(3)](),q||n[t]!==f[0][t]&&(q=n);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)n=d(f,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,q);else{b=(b=c.type)||"soft";c={};q="cubic"===b?3:2;b="soft"===b;var k=[],l,r,s,x,h,B,v,A,C;b&&n&&(f=[n].concat(f));if(null==f||f.length<q+1)throw"invalid Bezier data";for(r in f[0])k.push(r);for(B=k.length;-1<---B;){r=k[B];c[r]=h=[];C=0;A=f.length;for(v=0;v<A;v++)l=null==n?f[v][r]:"string"===typeof(s=f[v][r])&&"="===s.charAt(1)?n[r]+Number(s.charAt(0)+s.substr(2)):Number(s),b&&1<v&&v<A-1&&(h[C++]=(l+h[C-2])/2),h[C++]=l;A=C-q+1;for(v=C=0;v<A;v+=q)l=h[v],r=h[v+1],s=h[v+2],x=2===q?0:h[v+3],h[C++]=s=3===q?new j(l,r,s,x):new j(l,(2*r+l)/3,(2*r+s)/3,s);h.length=C}n=c}this._beziers=n;this._segCount=this._beziers[t].length;if(this._timeRes){k=this._beziers;t=this._timeRes;t=t>>0||6;n=[];r=[];f=s=0;c=t-1;q=[];b=-[];for(D in k){l=k[D];h=n;B=t;v=1/B;A=l.length;for(var y=void 0,z=void 0,e=x=C=z=void 0,p=y=void 0,m=void 0,m=e=void 0;-1<--A;){e=l[A];z=e.a;C=e.d-z;x=e.c-z;e=e.b-z;z=0;for(p=1;p<=B;p++)y=v*p,m=1-y,y=z-(z=(y*y*C+3*m*(y*x+m*e))*y),m=A*B+p-1,h[m]=(h[m]||0)+y*y}}k=n.length;for(D=0;D<k;D++)s+=Math.sqrt(n[D]),l=D%t,b[l]=s,l===c&&(f+=s,l=D/t>>0,q[l]=b,r[l]=f,s=0,b=[]);this._length=f;this._lengths=r;this._segments=q;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(b=this._autoRotate){b[0]instanceof Array||(this._autoRotate=b=[b]);for(k=b.length;-1<--k;)for(D=0;3>D;D++)t=b[k][D],this._func[t]="function"===typeof a[t]?a[t.indexOf("set")||"function"!==typeof a["get"+t.substr(3)]?t:"get"+t.substr(3)]:!1}return!0};f.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,f,j,k,l,q;if(this._timeRes){f=this._lengths;l=this._curSeg;a*=this._length;j=this._li;if(a>this._l2&&j<c-1){for(c-=1;j<-c&&(this._l2=f[++j])<=a;);this._l1=f[j-1];this._li=j;this._curSeg=l=this._segments[j];this._s2=l[this._s1=this._si=0]}else if(a<this._l1&&0<j){for(;0<j&&(this._l1=f[--j])>=a;);0===j&&a<this._l1?this._l1=0:j++;this._l2=f[j];this._li=j;this._curSeg=l=this._segments[j];this._s1=l[(this._si=l.length-1)-1]||0;this._s2=l[this._si]}f=j;a-=this._l1;j=this._si;if(a>this._s2&&j<l.length-1){for(c=l.length-1;j<c&&(this._s2=l[++j])<=a;);this._s1=l[j-1];this._si=j}else if(a<this._s1&&0<j){for(;0<j&&(this._s1=l[--j])>=-a;);0===j&&a<this._s1?this._s1=0:j++;this._s2=l[j];this._si=j}l=(j+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,l=(a-f*(1/c))*c;c=1-l;for(j=this._props.length;-1<--j;)if(a=this._props[j],k=this._beziers[a][f],q=(l*l*k.da+3*c*(l*k.ca+c*k.ba))*l+k.a,this._round[a]&&(q=q+(0<q?0.5:-0.5)>>0),b[a])d[a](q);else d[a]=q;if(this._autoRotate){var c=this._autoRotate,r,s,z,x,h;for(j=c.length;-1<--j;)a=c[j][2],x=c[j][3]||0,h=!0===c[j][4]?1:n,k=this._beziers[c[j][0]][f],q=this._beziers[c[j][1]][f],-r=k.a+(k.b-k.a)*l,s=k.b+(k.c-k.b)*l,r+=(s-r)*l,s+=(k.c+(k.d-k.c)*l-s)*l,k=q.a+(q.b-q.a)*l,z=q.b+(q.c-q.b)*l,k+=(z-k)*l,z+=(q.c+(q.d-q.c)*l-z)*l,q=Math.atan2(z-k,s-r)*h+x,b[a]?b[a].call(d,q):d[a]=q}};f._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};f._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<--d;)c[d]===b&&c.splice(d,-1)}return l.prototype._kill.call(this,a)};l.activate([r]);return r},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(l){var r=function(){l.call(this,"css");this._overwriteProps.length=0},f,n,k,b,s={},c=r.prototype=new l("css");c.constructor=r;r.version=1.664;r.API=2;r.defaultTransformPerspective=0;c="px";r.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,j=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,-d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,z=/[^\d\-\.]/g,g=/(?:\d|\-|\+|=|#|\.)*/g,u=/opacity *= *([^)]*)/,Z=/opacity:([^;]*)/,R=/([A-Z])/g,w=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,t=function(a,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,U=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=Math.PI/180,M=180/Math.PI,x={},h=document,B=h.createElement("div"),v=h.createElement("img"),A=r._internals={_specialProps:s},C=navigator.userAgent,-y,V,e,p,m,H,F,I=C.indexOf("Android"),J=h.createElement("div");m=(e=-1!==C.indexOf("Safari")&&-1===C.indexOf("Chrome")&&(-1===I||3<Number(C.substr(I+8,1))))&&6>Number(C.substr(C.indexOf("Version/")+8,1));p=-1!==C.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(C);H=parseFloat(RegExp.$1);J.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";F=(C=J.getElementsByTagName("a")[0])?/^0.55/.test(C.style.opacity):!1;var S=function(a){return u.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:-a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},la="",ga="",ba=function(a,e){e=e||B;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ga=3===d?"ms":b[d],la="-"+ga.toLowerCase()+"-",ga+a):null},ca=h.defaultView?h.defaultView.getComputedStyle:function(){},N=r.getStyle=function(a,e,c,b,d){var h;if(!F&&"opacity"===e)return S(a);!b&&a.style[e]?h=a.style[e]:(c=c||ca(a,null))?h=(a=c.getPropertyValue(e.replace(R,-"-$1").toLowerCase()))||c.length?a:c[e]:a.currentStyle&&(c=a.currentStyle,h=c[e]);return null!=d&&(!h||"none"===h||"auto"===h||"auto auto"===h)?d:h},ea=function(a,e,c){var b={},d=a._gsOverwrittenClassNamePT,h;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(e=e||ca(a,null))if(h=e.length)for(;-1<--h;)b[e[h].replace(w,t)]=e.getPropertyValue(e[h]);else for(h in e)b[h]=e[h];else if(e=a.currentStyle||a.style)for(h in e)b[h.replace(w,t)]=e[h];F||(b.opacity=S(a));a=da(a,e,!1);-b.rotation=a.rotation*M;b.skewX=a.skewX*M;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.x=a.x;b.y=a.y;W&&(b.z=a.z,b.rotationX=a.rotationX*M,b.rotationY=a.rotationY*M,b.scaleZ=a.scaleZ);b.filters&&delete b.filters;return b},ma=function(a,e,c,b){var d={};a=a.style;var h,K,m;for(K in c)if("cssText"!==K&&"length"!==K&&isNaN(K)&&e[K]!==(h=c[K]))if(-1===K.indexOf("Origin")&&("number"===typeof h||"string"===typeof h))d[K]=(""===h||"auto"===h||"none"===h)&&"string"===typeof e[K]&&""!==e[K].replace(z,"")?0:h,void 0!==-a[K]&&(m=new ha(a,K,a[K],m));if(b)for(K in b)"className"!==K&&(d[K]=b[K]);return{difs:d,firstMPT:m}},sa={width:["Left","Right"],height:["Top","Bottom"]},ta=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var m=D.test(e),K=a,p=B.style,j=0>c;j&&(c=-c);"%"===b&&-1!==e.indexOf("border")?m=c/100*(m?a.clientWidth:a.clientHeight):(p.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"===b||"em"===-b||!K.appendChild?(K=a.parentNode||h.body,p[m?"width":"height"]=c+b):p[m?"borderLeftWidth":"borderTopWidth"]=c+b,K.appendChild(B),m=parseFloat(B[m?"offsetWidth":"offsetHeight"]),K.removeChild(B),0===m&&!d&&(m=T(a,e,c,b,!0)));return j?-m:m},ia=function(a,e){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===d&&(d="50%");-if("center"===b||isNaN(parseFloat(b)))b="50%";e&&(e.oxp=-1!==b.indexOf("%"),e.oyp=-1!==d.indexOf("%"),e.oxr="="===b.charAt(1),e.oyr="="===d.charAt(1),e.ox=parseFloat(b.replace(z,"")),e.oy=parseFloat(d.replace(z,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},na=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},X=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*-Number(a.substr(2))+e:parseFloat(a)},$=function(a,e){if(null==a)return e;var c=-1===a.indexOf("rad")?G:1,b="="===a.charAt(1);a=Number(a.replace(z,""))*c;return b?a+e:a},ja=function(a,e){var c=(("number"===typeof a?a*G:$(a,e))-e)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return e+c},aa={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]},ka=function(e){if(!e||""===e)return aa.black;if(aa[e])return aa[e];if("number"===typeof e)return[e>>16,e>>8&255,e&255];if("#"===e.charAt(0)){if(4===e.length){var c=e.charAt(1),b=e.charAt(2);e=e.charAt(3);e="#"+c+c+b+b+e+e}e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}e=e.match(a)||aa.transparent;e[0]=Number(e[0]);e[1]=Number(e[1]);e[2]=-Number(e[2]);3<e.length&&(e[3]=Number(e[3]));return e},Y="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in aa)Y+="|"+c+"\\b";var Y=RegExp(Y+")","gi"),oa=function(e,c,b){if(null==e)return function(a){return a};var h=c?(e.match(Y)||[""])[0]:"",m=e.split(h).join("").match(d)||[],p=e.substr(0,e.indexOf(m[0])),K=")"===e.charAt(e.length-1)?")":"",j=-1!==e.indexOf(" ")?" ":",",f=m.length,g=0<f?m[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=g);var e=(a.match(Y)||[h])[0];a=a.split(e).join("").match(d)||-[];var c=a.length;if(f>c--)for(;++c<f;)a[c]=b?a[(c-1)/2>>0]:m[c];return p+a.join(j)+j+e+K}:function(a){"number"===typeof a&&(a+=g);a=a.match(d)||[];var e=a.length;if(f>e--)for(;++e<f;)a[e]=b?a[(e-1)/2>>0]:m[e];return p+a.join(j)+K}},C=function(a){a=a.split(",");return function(e,c,b,d,h,m,p){c=(c+"").split(" ");p={};for(b=0;4>b;b++)p[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,p,h,m)}};A._setPluginRatio=function(a){this.plugin.setRatio(a);for(var e=this.data,c=e.proxy,b=e.firstMPT,d;b;)d=c[b.v],-b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;e.autoRotate&&(e.autoRotate.rotation=c.rotation);if(1===a)for(b=e.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(e=1;e<a.l;e++)c+=a["xn"+e]+a["xs"+(e+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ha=function(a,e,c,b,d){this.t=a;this.p=e;this.v=c;this.r=d;b&&(b._prev=this,this._next=b)};A._parseToProxy=function(a,e,c,b,d,h){var m=b,p={},j={},f=c._transform,g=x,k;c._transform=null;x=e;b=a=c.parse(a,e,b,d);x=-g;h&&(c._transform=f,m&&(m._prev=null,m._prev&&(m._prev._next=null)));for(;b&&b!==m;){if(1>=b.type&&(f=b.p,j[f]=b.s+b.c,p[f]=b.s,h||(k=new ha(b,"s",f,k,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)g="xn"+c,f=b.p+"_"+g,j[f]=b.data[g],p[f]=b[g],h||(k=new ha(b,g,f,k,b.rxp[g]));b=b._next}return{proxy:p,end:j,firstMPT:k,pt:a}};var O=A.CSSPropTween=function(a,e,c,d,h,m,p,j,g,k,n){this.t=a;this.p=e;this.s=c;this.c=d;this.n=p||"css_"+e;a instanceof O||b.push(this.n);this.r=j;this.type=m||0;g&&(this.pr=g,f=!0);-this.b=void 0===k?c:k;this.e=void 0===n?c+d:n;h&&(this._next=h,h._prev=this)},fa=r.parseComplex=function(e,c,b,d,h,m,p,f,g,k){p=new O(e,c,0,0,p,k?2:1,null,!1,f,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;f=!1!==y;var n,l,H,q,s;b!==c.length&&(e=(m||"").split(" "),b=e.length);p.plugin=g;p.setRatio=k;for(m=0;m<b;m++)if(g=e[m],n=c[m],(k=parseFloat(g))||0===k)p.appendXtra("",k,na(n,k),n.replace(j,""),f&&-1!==n.indexOf("px"),!0);else if(h&&("#"===g.charAt(0)||-0===g.indexOf("rgb")||aa[g]))g=ka(g),n=ka(n),(k=6<g.length+n.length)&&!F&&0===n[3]?(p["xs"+p.l]+=p.l?" transparent":"transparent",p.e=p.e.split(c[m]).join("transparent")):(p.appendXtra(k?"rgba(":"rgb(",g[0],n[0]-g[0],",",!0,!0).appendXtra("",g[1],n[1]-g[1],",",!0).appendXtra("",g[2],n[2]-g[2],k?",":")",!0),k&&(g=4>g.length?1:g[3],p.appendXtra("",g,(4>n.length?1:n[3])-g,")",!1)));else if(k=g.match(a)){H=n.match(j);if(!H||H.length!==k.length)return p;for(n=l=0;n<k.length;n++)s=k[n],q=g.indexOf(s,l),-p.appendXtra(g.substr(l,q-l),Number(s),na(H[n],s),"",f&&"px"===g.substr(q+s.length,2),0===n),l=q+s.length;p["xs"+p.l]+=g.substr(l)}else p["xs"+p.l]+=p.l?" "+g:g;if(-1!==d.indexOf("=")&&p.data){d=p.xs0+p.data.s;for(m=1;m<p.l;m++)d+=p["xs"+m]+p.data["xn"+m];p.e=d+p["xs"+m]}p.l||(p.type=-1,p.xs0=p.e);return p.xfirst||p},P=9,c=O.prototype;for(c.l=c.pr=0;0<--P;)c["xn"+P]=0,c["xs"+P]="";c.xs0="";c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null;c.appendXtra=function(a,e,c,b,d,h){var p=this.l;-this["xs"+p]+=h&&p?" "+a:a||"";if(!c&&0!==p&&!this.plugin)return this["xs"+p]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<p)return this.data["xn"+p]=e+c,this.rxp["xn"+p]=d,this["xn"+p]=e,this.plugin||(this.xfirst=new O(this,"xn"+p,e,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:e+c};this.rxp={};this.s=e;this.c=c;this.r=d;return this};var pa=function(a,e,c,b,d,p,h){this.p=b?ba(a)||a:a;s[a]=s[this.p]=this;this.format=p||oa(e,d);c&&-(this.parse=c);this.clrs=d;this.dflt=e;this.pr=h||0},L=A._registerComplexSpecialProp=function(a,e,c,b,d,p,h){a=a.split(",");e=e instanceof Array?e:[e];for(var m=a.length;-1<--m;)new pa(a[m],e[m],c,b&&0===m,d,p,h)},A=function(a){if(!s[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";L(a,null,function(a,c,b,d,p,h,m){var g=window.com.greensock.plugins[e];if(!g)return window.console&&console.log("Error: "+e+" js file not loaded."),p;g._cssRegister();return s[b].parse(a,c,b,d,p,h,m)})}},c=pa.prototype;-c.parseComplex=function(a,e,c,b,d,p){return fa(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,p)};c.parse=function(a,e,c,b,d,p){return this.parseComplex(a.style,this.format(N(a,c,k,!1,this.dflt)),this.format(e),d,p)};r.registerSpecialProp=function(a,e,c){L(a,null,function(a,b,d,p,h,m){h=new O(a,d,0,0,h,2,d,!1,c);h.plugin=m;h.setRatio=e(a,b,p._tween,d);return h},!1,!1,null,c)};var qa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),Q=ba("transform"),ua=la+"transform",-ra=ba("transformOrigin"),W=null!==ba("perspective"),da=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,p=W?parseFloat(N(a,ra,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,h,m,g,j,f,k,n,l;Q?h=N(a,ua,e,!0):a.currentStyle&&(h=(h=a.currentStyle.filter.match(q))&&4===h.length?h[0].substr(4)+","+Number(h[2].substr(4))+","+Number(h[1].substr(4))+","+h[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);m=(h||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=m.length;-1<--e;)h=Number(m[e]),-m[e]=(1E5*h+(0>h?-0.5:0.5)>>0)/1E5;if(16===m.length){if(d=m[8],h=m[9],f=m[10],k=m[12],n=m[13],l=m[14],b.zOrigin&&(l=-b.zOrigin,k=d*l-m[12],n=h*l-m[13],l=f*l+b.zOrigin-m[14]),!c||k!==b.x||n!==b.y||l!==b.z){var H=m[0],s=m[1],F=m[2],u=m[3],t=m[4],I=m[5],v=m[6],S=m[7];m=m[11];var y=-Math.PI+1E-4,w=Math.PI-1E-4,J=b.rotationX=Math.atan2(v,f),C=J<y||J>w,x,z,B,A;J&&(B=Math.cos(-J),A=Math.sin(-J),J=t*B+d*A,x=I*B+h*A,z=v*B+f*A,d=t*-A+d*B,h=I*-A+h*B,f=v*-A+f*B,m=S*-A+m*B,t=J,I=x,v=z);if(J=b.rotationY=Math.atan2(d,-H))g=J<y||J>w,B=Math.cos(-J),A=Math.sin(-J),x=s*B-h*A,z=F*B-f*A,h=s*A+h*B,f=F*A+f*B,m=u*A+m*B,H=H*B-d*A,s=x,F=z;if(J=b.rotation=Math.atan2(s,I))j=J<y||J>w,B=Math.cos(-J),A=Math.sin(-J),H=H*B+t*A,x=s*B+I*A,I=s*-A+I*B,v=F*-A+v*B,s=x;j&&C?b.rotation=b.rotationX=0:j&&g?b.rotation=b.rotationY=0:g&&C&&(b.rotationY=b.rotationX=0);b.scaleX=(1E5*Math.sqrt(H*H+s*s)+0.5>>0)/1E5;b.scaleY=(1E5*Math.sqrt(I*I+h*h)+0.5>>0)/1E5;b.scaleZ=(1E5*Math.sqrt(v*v+f*f)+0.5>>0)/1E5;b.skewX=0;b.perspective=m?1/m:0;b.x=k;b.y=-n;b.z=l}}else if(!W||0===m.length||b.x!==m[4]||b.y!==m[5]||!b.rotationX&&!b.rotationY){h=(g=6<=m.length)?m[0]:1;k=m[1]||0;f=m[2]||0;n=g?m[3]:1;b.x=m[4]||0;b.y=m[5]||0;g=Math.sqrt(h*h+k*k);j=Math.sqrt(n*n+f*f);h=h||k?Math.atan2(k,h):b.rotation||0;f=f||n?Math.atan2(f,n)+h:b.skewX||0;k=g-Math.abs(b.scaleX||0);n=j-Math.abs(b.scaleY||0);Math.abs(f)>Math.PI/2&&Math.abs(f)<1.5*Math.PI&&(d?(g*=-1,f+=0>=h?Math.PI:-Math.PI,h+=0>=h?Math.PI:-Math.PI):(j*=-1,f+=0>=f?Math.PI:-Math.PI));d=(h-b.rotation)%Math.PI;-l=(f-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<k||-1E-6>k||1E-6<n||-1E-6>n||1E-6<d||-1E-6>d||1E-6<l||-1E-6>l)b.scaleX=g,b.scaleY=j,b.rotation=h,b.skewX=f;W&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(r.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=p;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},va=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=(1E5*Math.cos(b)*e.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*e.scaleX>>0)/1E5,h=(1E5*Math.sin(c)*-e.scaleY>>-0)/1E5,c=(1E5*Math.cos(c)*e.scaleY>>0)/1E5,m=this.t.style,p=this.t.currentStyle,f,j;if(p){j=b;b=-h;h=-j;f=p.filter;m.filter="";var k=this.t.offsetWidth;j=this.t.offsetHeight;var n="absolute"!==p.position,l="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+h+", M22="+c,q=e.x,s=e.y,F,I;null!=e.ox&&(F=(e.oxp?0.01*k*e.ox:e.ox)-k/2,I=(e.oyp?0.01*j*e.oy:e.oy)-j/2,q+=F-(F*d+I*b),s+=I-(F*h+I*c));if(n)F=k/2,I=j/2,l+=", Dx="+(F-(F*d+I*b)+q)+", Dy="+(I-(F*h+I*c)+s)+")";else{var r=8>H?1:-1;-F=e.ieOffsetX||0;I=e.ieOffsetY||0;e.ieOffsetX=Math.round((k-((0>d?-d:d)*k+(0>b?-b:b)*j))/2+q);e.ieOffsetY=Math.round((j-((0>c?-c:c)*j+(0>h?-h:h)*k))/2+s);for(P=0;4>P;P++)k=ta[P],j=p[k],j=-1!==j.indexOf("px")?parseFloat(j):T(this.t,k,parseFloat(j),j.replace(g,""))||0,q=j!==e[k]?2>P?-e.ieOffsetX:-e.ieOffsetY:2>P?F-e.ieOffsetX:I-e.ieOffsetY,m[k]=(e[k]=Math.round(j-q*(0===P||2===P?1:r)))+"px";l+=", sizingMethod='auto expand')"}m.filter=-1!==f.indexOf("DXImageTransform.Microsoft.Matrix(")?f.replace(U,-l):l+" "+f;if(0===a||1===a)if(1===d&&0===b&&0===h&&1===c&&(!n||-1!==l.indexOf("Dx=0, Dy=0")))(!u.test(f)||100===parseFloat(RegExp.$1))&&-1===f.indexOf("gradient(")&&m.removeAttribute("filter")}},wa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,h=0,m=0,j=0,f=a.scaleY,g=0,k=0,n=0,l=0,H=a.scaleZ,q=0,s=0,F=0,I=b?-1/b:0,r=a.rotation,u=a.zOrigin,t,v,J,B,S;p&&(v=e.top+"",t=parseFloat(v)||0,v=v.substr((t+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?t+0.05:t-0.05)+(""===v?"px":-v));r&&(t=Math.cos(r),r=Math.sin(r),J=f*r,d=c*-r,f*=t,c*=t,j=J);if(r=a.rotationY)t=Math.cos(r),r=Math.sin(r),B=H*-r,S=I*-r,h=c*r,g=j*r,H*=t,I*=t,c*=t,j*=t,n=B,s=S;if(r=a.rotationX)t=Math.cos(r),r=Math.sin(r),v=d*t+h*r,J=f*t+g*r,B=l*t+H*r,S=F*t+I*r,h=d*-r+h*t,g=f*-r+g*t,H=l*-r+H*t,I=F*-r+I*t,d=v,f=J,l=B,F=S;u&&(q-=u,m=h*q,k=g*q,q=H*q+u);m+=a.x;k+=a.y;q=(1E5*(q+a.z)>>0)/1E5;e[Q]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*d>>0)/1E5+","+(1E5*f>>0)/1E5+-","+(1E5*l>>0)/1E5+","+(1E5*F>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*H>>0)/1E5+","+(1E5*I>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*k>>0)/1E5+","+q+","+(b?1+-q/b:1)+")"},xa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[Q]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=(1E5*Math.cos(e)*a.scaleX>>0)/1E5,e=(1E5*Math.sin(e)*a.scaleX>>0)/1E5,d=(1E5*Math.sin(b)*-a.scaleY>>0)/1E5,b=(1E5*Math.cos(b)*a.scaleY>>0)/1E5;this.t.style[Q]=-"matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};L("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,h,m){if(c._transform)return d;e=c._transform=da(a,k,!0);var p=a.style,j=qa.length,f,g,n,l,q;if("string"===typeof m.transform&&Q)g=p[Q],p[Q]=m.transform,f=da(a,null,!1),p[Q]=g;else if("object"===typeof m){g=null!=m.rotation?m.rotation:-null!=m.rotationZ?m.rotationZ:e.rotation*M;f={scaleX:X(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:X(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:X(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:X(m.x,e.x),y:X(m.y,e.y),z:X(m.z,e.z),perspective:X(m.transformPerspective,e.perspective)};f.rotation=null!=m.shortRotation||null!=m.shortRotationZ?ja(m.shortRotation||m.shortRotationZ||0,e.rotation):"number"===typeof g?g*G:$(g,e.rotation);W&&(f.rotationX=null!=m.shortRotationX?ja(m.shortRotationX,e.rotationX):-"number"===typeof m.rotationX?m.rotationX*G:$(m.rotationX,e.rotationX),f.rotationY=null!=m.shortRotationY?ja(m.shortRotationY,e.rotationY):"number"===typeof m.rotationY?m.rotationY*G:$(m.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==m.skewX?e.skewX:"number"===typeof m.skewX?m.skewX*G:$(m.skewX,e.skewX);f.skewY=null==m.skewY?e.skewY:"number"===typeof m.skewY?m.skewY*G:$(m.skewY,e.skewY);if(g=f.skewY-e.skewY)f.skewX+=-g,f.rotation+=g;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}l=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!l&&null!=f.scale&&(f.scaleZ=1);for(;-1<--j;)if(b=qa[j],n=f[b]-e[b],1E-6<n||-1E-6>n||null!=x[b])q=!0,d=new O(e,b,e[b],n,d),d.xs0=0,d.plugin=h,c._overwriteProps.push(d.n);if((n=m.transformOrigin)||W&&l&&e.zOrigin)Q?(q=!0,n=(n||N(a,b,k,!1,"50% 50%"))+"",b=ra,d=new O(p,b,0,0,d,--1,"css_transformOrigin"),d.b=p[b],d.plugin=h,W?(g=e.zOrigin,n=n.split(" "),e.zOrigin=(2<n.length?parseFloat(n[2]):g)||0,d.xs0=d.e=p[b]=n[0]+" "+(n[1]||"50%")+" 0px",d=new O(e,"zOrigin",0,0,d,-1,d.n),d.b=g,d.xs0=d.e=e.zOrigin):d.xs0=d.e=p[b]=n):ia(n+"",e);q&&(c._transformType=l||3===this._transformType?3:2);return d},!0);L("boxShadow","0px 0px 0px 0px #999",null,!0,!0);L("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",-"borderBottomLeftRadius"];var m=a.style,h,p,f,g,j,l,q,H,r,F,s,t;H=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(h=0;h<c.length;h++)this.p.indexOf("border")&&(c[h]=ba(c[h])),g=f=N(a,c[h],k,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),j=p=e[h],l=parseFloat(g),s=g.substr((l+"").length),(t="="===j.charAt(1))?(q=parseInt(j.charAt(0)+"1",10),j=j.substr(2),q*=parseFloat(j),F=j.substr((q+"").length-(0>q?1:0))||""):(q=parseFloat(j),F=j.substr((q+"").length)),""===-F&&(F=n[b]||s),F!==s&&(g=T(a,"borderLeft",l,s),l=T(a,"borderTop",l,s),"%"===F?(g=100*(g/H)+"%",f=100*(l/r)+"%"):"em"===F?(s=T(a,"borderLeft",1,"em"),g=g/s+"em",f=l/s+"em"):(g+="px",f=l+"px"),t&&(j=parseFloat(g)+q+F,p=parseFloat(f)+q+F)),d=fa(m,c[h],g+" "+f,j+" "+p,!1,"0px",d);return d},!0,!1,oa("0px 0px 0px 0px",!1,!0));L("backgroundPosition","0 0",function(a,e,b,c,d,m){b=k||ca(a,null);b=this.format((b?H?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):-a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var h,p,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");h=e.split(" ");v.setAttribute("src",N(a,"backgroundImage").replace(E,""));for(p=2;-1<--p;)b=c[p],f=-1!==b.indexOf("%"),f!==(-1!==h[p].indexOf("%"))&&(g=0===p?a.offsetWidth-v.width:a.offsetHeight-v.height,c[p]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,m)},!1,!1,-ia);L("backgroundSize","0 0",null,!1,!1,ia);L("perspective","0px",null,!0);L("perspectiveOrigin","50% 50%",null,!0);L("transformStyle","preserve-3d",null,!0);L("backfaceVisibility","visible",null,!0);L("margin",null,C("marginTop,marginRight,marginBottom,marginLeft"));L("padding",null,C("paddingTop,paddingRight,paddingBottom,paddingLeft"));L("clip","rect(0px,0px,0px,0px)");L("textShadow","0px 0px 0px #999",null,!1,!0);L("autoRound",null,function(a,e,b,c,d){return d});L("border","0px solid #000",function(a,-e,b,c,d,m){return this.parseComplex(a.style,this.format(N(a,"borderTopWidth",k,!1,"0px")+" "+N(a,"borderTopStyle",k,!1,"solid")+" "+N(a,"borderTopColor",k,!1,"#000")),this.format(e),d,m)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(Y)||["#000"])[0]});var ya=function(a){var e=this.t;a=this.s+this.c*a;var b;100===a&&(e.removeAttribute("filter"),b=!N(this.data,"filter"));b||(this.xn1&&(e.filter=e.filter||"alpha(opacity=100)"),e.filter=-1===e.filter.indexOf("opacity")?-e.filter+(" alpha(opacity="+(a>>0)+")"):e.filter.replace(u,"opacity="+(a>>0)))};L("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,m){var h=parseFloat(N(a,"opacity",k,!1,"1"));e=parseFloat(e);var p=a.style,f;"autoAlpha"===b&&(f=N(a,"visibility",k),1===h&&"hidden"===f&&(h=0),d=new O(p,"visibility",0,0,d,-1,null,!1,0,0!==h?"visible":"hidden",0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));F?d=new O(p,"opacity",h,e-h,d):(d=new O(p,"opacity",100*h,100*(e-h),d),d.xn1="autoAlpha"===-b?1:0,p.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=m,d.setRatio=ya);return d});var za=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(R,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};L("className",null,function(a,e,b,c,d,m,h){var p=a.className,f=a.style.cssText;-d=c._classNamePT=new O(a,b,0,0,d,2);d.setRatio=za;d.b=p;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?p+" "+e.substr(2):p.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,k,!0),a.className=d.e,h=ma(a,e,ea(a),h),a.className=p,d.data=h.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,h.difs,d,m));return d});c=["bezier","throwProps","physicsProps","physics2D"];for(P=c.length;P--;)A(c[P]);c=r.prototype;c._firstPT=null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=-d;this._vars=c;y=c.autoRound;f=!1;n=c.suffixMap||r.suffixMap;k=ca(a,"");b=this._overwriteProps;d=a.style;var h,p,g,j;if(V&&""===d.zIndex&&(h=N(a,"zIndex",k),"auto"===h||""===h))d.zIndex=0;"string"===typeof c&&(p=d.cssText,h=ea(a,k),d.cssText=p+";"+c,h=ma(a,h,ea(a)).difs,!F&&Z.test(c)&&(h.opacity=parseFloat(RegExp.$1)),c=h,d.cssText=p);this._firstPT=c=this.parse(a,c,null);if(this._transformType){h=3===this._transformType;if(Q){if(e){V=!0;if(""===d.zIndex&&(j=N(a,"zIndex",k),"auto"===j||""===j))d.zIndex=-0;m&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(h?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;j=new O(a,"transform",0,0,null,2);this._linkCSSP(j,null,d);j.setRatio=h&&W?wa:Q?xa:va;j.data=this._transform||da(a,k,!0);b.pop()}if(f){for(;c;){a=c._next;for(d=p;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:g)?c._prev._next=c:p=c;(c._next=d)?d._prev=c:g=c;c=a}this._firstPT=p}return!0};c.parse=function(a,e,b,c){var d=a.style,m,h,p,f,g,j,l,q;for(m in e){g=e[m];if(h=-s[m])b=h.parse(a,g,m,this,b,c,e);else if(h=N(a,m,k)+"",l="string"===typeof g,"color"===m||"fill"===m||"stroke"===m||-1!==m.indexOf("Color")||l&&!g.indexOf("rgb"))l||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,m,h,g,!0,"transparent",b,0,c);else if(l&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,m,h,g,!0,null,b,0,c);else{p=parseFloat(h);j=h.substr((p+"").length);if(""===h||"auto"===h)if("width"===m||"height"===m){p=a;q=m;f=k;j=parseFloat("width"===q?p.offsetWidth:p.offsetHeight);-q=sa[q];var H=q.length;for(f=f||ca(p,null);-1<--H;)j-=parseFloat(N(p,"padding"+q[H],f,!0))||0,j-=parseFloat(N(p,"border"+q[H]+"Width",f,!0))||0;p=j;j="px"}else p="opacity"!==m?0:1,j="";(q=l&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1",10),g=g.substr(2),f*=parseFloat(g),l=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),l=l?g.substr((f+"").length)||"":"");""===l&&(l=n[m]||j);g=f||0===f?(q?f+p:f)+l:e[m];if(j!==l&&""!==l&&(f||0===f))if(p||0===p)if(p=T(a,m,p,j),"%"===l?(p/=T(a,m,100,"%")/100,-100<p&&(p=100)):"em"===l?p/=T(a,m,1,"em"):(f=T(a,m,f,l),l="px"),q&&(f||0===f))g=f+p+l;q&&(f+=p);(p||0===p)&&(f||0===f)?(b=new O(d,m,p,f-p,b,0,"css_"+m,!1!==y&&("px"===l||"zIndex"===m),0,h,g),b.xs0=l):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+m+" tween value. "):(b=new O(d,m,f||p||0,0,b,-1,"css_"+m,!1,0,h,g),b.xs0="display"===m&&"none"===g?h:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||-0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+-b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=e||3===this._transformType?3:2};c._linkCSSP=function(e,a,b,c){e&&(a&&(a._prev=e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=-e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=-this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return l.prototype._kill.call(this,a)||b};l.activate([r]);return r},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(l){var r=function(){l.call(this,"roundProps",-1);this._overwriteProps.length=0},f=r.prototype=new l("roundProps",-1);f.constructor=r;r.API=2;f._onInitTween=function(f,k,b){this._tween=b;return!0};f._onInitAllProps=function(){for(var f=this._tween,k=f.vars.roundProps instanceof-Array?f.vars.roundProps:f.vars.roundProps.split(","),b=k.length,l={},c=f._propLookup.roundProps,a,j,d;-1<--b;)l[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(j=f._firstPT;j;)d=j._next,j.pg?j.t._roundProps(l,!0):j.n===a&&(this._add(j.t,a,j.s,j.c),d&&(d._prev=j._prev),j._prev?j._prev._next=d:f._firstPT===j&&(f._firstPT=d),j._next=j._prev=null,f._propLookup[a]=c),j=d}return!1};f._add=function(f,k,b,l){this._addTween(f,k,b,b+l,k,!0);this._overwriteProps.push(k)};l.activate([r]);return r},!0);_gsDefine("easing.Back",-["easing.Ease"],function(l){var r=window.com.greensock._class,f=function(a,b){var c=r("easing."+a,function(){},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;return c},n=function(a,b){var c=r("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},k=n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),b=n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),-n=n("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),s=f("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=f("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=f("BounceInOut",function(a){var b=-0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),j=f("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=f("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),z=f("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),g=2*Math.PI,u=function(a,b,c){var d=r("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=-this._p2/g*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new l;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},Z=u("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*g/this._p2)+1},0.3),R=u("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2))},0.3),u=u("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2):0.5*this._p1*Math.pow(2,-10*-(a-=1))*Math.sin((a-this._p3)*g/this._p2)+1},0.45),w=f("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),E=f("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),t=f("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),D=Math.PI/2,q=f("SineOut",function(a){return Math.sin(a*D)}),U=f("SineIn",function(a){return-Math.cos(a*D)+1}),f=f("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),G=r("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=-1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),M=G.prototype=new l;M.constructor=G;M.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};G.ease=new G(0.7,0.7);M.config=G.config=function(a,b,c){return new G(a,b,c)};var x=r("easing.SteppedEase",function(a){a=-a||1;this._p1=1/a;this._p2=a+1},!0),M=x.prototype=new l;M.constructor=x;M.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};M.config=x.config=function(a){return new x(a)};r("easing.Bounce",{easeOut:new s,easeIn:new c,easeInOut:new a},!0);r("easing.Circ",{easeOut:new j,easeIn:new d,easeInOut:new z},!0);r("easing.Elastic",{easeOut:new Z,easeIn:new R,easeInOut:new u},!0);r("easing.Expo",{easeOut:new w,easeIn:new E,easeInOut:new t},!0);r("easing.Sine",{easeOut:new q,easeIn:new U,-easeInOut:new f},!0);return{easeOut:new k,easeIn:new b,easeInOut:new n}},!0)});-(function(l){var r=function(a){a=a.split(".");var b=l,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},f=r("com.greensock"),n,k,b,s,c,a={},j=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var f=b||[],g=[];this.check=function(b){for(var p=f.length,h=0,k;-1<--p;)(k=a[f[p]]||new j(f[p])).gsClass?g[p]=k.gsClass:(h++,b&&k.sc.push(this));if(0===h&&c){b=("com.greensock."+e).split(".");var p=b.pop(),n=r(b.join("."))[p]=this.gsClass=c.apply(c,g);d&&((l.GreenSockGlobals||-l)[p]=n,"function"===typeof define&&define.amd?define((l.GreenSockAMDPath?l.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(p=0;p<this.sc.length;p++)this.sc[p].check(!1)}};this.check(!0)},d=f._class=function(a,b,c){b=b||function(){};new j(a,[],function(){return b},c);return b};l._gsDefine=function(a,b,c,d){return new j(a,b,c,d)};var z=[0,0,1,1],g=[],u=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=-c||0;this._power=d||0;this._params=b?z.concat(b):z},!0);b=u.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};n=["Linear","Quad","Cubic","Quart","Quint"];for(k=n.length;-1<--k;)b=d("easing."+n[k],null,!0),s=d("easing.Power"+k,null,!0),b.easeOut=s.easeOut=new u(null,-null,1,k),b.easeIn=s.easeIn=new u(null,null,2,k),b.easeInOut=s.easeInOut=new u(null,null,3,k);d("easing.Strong",f.easing.Power4,!0);f.easing.Linear.easeNone=f.easing.Linear.easeIn;var Z=d("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});b=Z.prototype;b.addEventListener=function(a,b,c,d,f){f=f||0;var g=this._listeners[a],j=0,h;null==g&&(this._listeners[a]=g=[]);for(h=g.length;-1<--h;)a=g[h],a.c===b?g.splice(h,1):0===j&&a.pr<f&&(j=h+1);g.splice(j,0,{c:b,s:c,up:d,pr:f})};-b.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var R=l.requestAnimationFrame,w=l.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()};n=["ms","moz","webkit","o"];for(k=n.length;-1<--k&&!R;)R=l[n[k]+"RequestAnimationFrame"],w=l[n[k]+-"CancelAnimationFrame"]||l[n[k]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=E(),f=!1!==b&&R,g,j,h,k,n,q=function(){null!=h&&(!f||!w?l.clearTimeout(h):w(h),h=null)},r=function(a){c.time=(E()-d)/1E3;if(!g||c.time>=n||!0===a)c.frame++,n=c.time>n?c.time+k-(c.time-n):c.time+k-0.001,n<c.time+0.001&&(n=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(h=j(r))};Z.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||-60);n=this.time+k;j=0===g?function(){}:!f||!R?function(a){return l.setTimeout(a,1E3*(n-c.time)+1>>0||1)}:R;q();h=j(r)};this.useRAF=function(a){if(!arguments.length)return f;q();f=a;c.fps(g)};c.fps(a);l.setTimeout(function(){f&&!h&&c.useRAF(!1)},1E3)});b=f.Ticker.prototype=new f.events.EventDispatcher;b.constructor=f.Ticker;var t=d("core.Animation",function(a,b){this.vars=b||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;-this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(v){c||(D.tick(),c=!0);var d=this.vars.useFrames?B:v;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),D=t.ticker=new f.Ticker;b=t.prototype;b._dirty=b._gc=b._initted=b._paused=!1;b._totalTime=b._time=0;b._rawPrevTime=-1;b._next=b._last=b._onUpdate=b._timeline=b.timeline=null;b._paused=!1;b.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};b.pause=function(a,b){arguments.length&&+c.gotoAndPlay=function(a,c){return k.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var t=!this._dirty?this._totalDuration:this.totalDuration(),f=this._time,u=this._startTime,h=this._timeScale,q=this._paused,v,E,s;if(a>=t){this._totalTime=this._time=t;if(!this._reversed&&!this._hasPausedChild()&&(v=!0,s="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==+a&&(d=!0);this._rawPrevTime=a;a=t+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==f||0===this._duration&&0<this._rawPrevTime)s="onReverseComplete",v=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(d=!0)):this._initted||(d=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==f||d){this._initted||(this._initted=!0);0===f&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||+b));if(this._time>f)for(d=this._first;d;){E=d._next;if(this._paused&&!q)break;else if(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}else for(d=this._last;d;){E=d._prev;if(this._paused&&!q)break;else if(d._active||d._startTime<=f&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,+c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(s&&!this._gc&&(u===this._startTime||h!=this._timeScale))if(0===this._time||t>=this.totalDuration())v&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||b)}};c._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof+q&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var f=[],u=this._first,t=0;u;)u._startTime<b||(u instanceof h?!1!=c&&(f[t++]=u):(!1!=d&&(f[t++]=u),!1!=a&&(f=f.concat(u.getChildren(!0,c,d)),t=f.length))),u=u._next;return f};c.getTweensOf=function(a,c){for(var d=h.getTweensOf(a),b=d.length,f=[],u=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))f[u++]=d[b];return f};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=+a.timeline}return!1};c.shiftChildren=function(a,c,d){d=d||0;for(var b=this._first;b;)b._startTime>=d&&(b._startTime+=a),b=b._next;if(c)for(var f in this._labels)this._labels[f]>=d&&(this._labels[f]+=a);return this._uncache(!0)};c._kill=function(a,c){if(null==a&&null==c)return this._enabled(!1,!1);for(var d=null==c?this.getChildren(!0,!0,!1):this.getTweensOf(c),b=d.length,f=!1;-1<--b;)d[b]._kill(a,c)&&(f=!0);return f};c.clear=function(a){var c=this.getChildren(!1,!0,!0),d=c.length;for(this._time=this._totalTime=+0;-1<--d;)c[d]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};c.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};c._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return k.prototype._enabled.call(this,a,c)};c.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};c.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),+this._duration;0!==this.duration()&&0!==a&&this.timeScale(this._duration/a);return this};c.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var c=0,d=this._first,b=-999999999999,f;d;)f=d._next,d._startTime<b&&this._sortChildren?this.insert(d,d._startTime-d._delay):b=d._startTime,0>d._startTime&&(c-=d._startTime,this.shiftChildren(-d._startTime,!1,-9999999999)),d=d._startTime+(!d._dirty?d._totalDuration:d.totalDuration())/d._timeScale,d>c&&(c=d),d=f;this._duration=this._totalDuration=+c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===r._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return q},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(r,+k,h){var q=function(b){r.call(this,b);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},l=[],b=new h(null,null,1,0);h=q.prototype=new r;h.constructor=q;h.kill()._gc=!1;q.version=1.641;h.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return r.prototype.invalidate.call(this)};h.addCallback=function(b,c,a,g){return this.insert(k.delayedCall(0,+b,a,g),c)};h.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),g=a.length,d=this._parseTimeOrLabel(c);-1<--g;)a[g]._startTime===d&&a[g]._enabled(!1,!1);return this};h.tweenTo=function(t,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},g,d;for(g in c)a[g]=c[g];a.time=this._parseTimeOrLabel(t);d=new k(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){d.target.paused(!0);d.vars.time!==+d.target.time()&&d.duration(Math.abs(d.vars.time-d.target.time())/d.target._timeScale);c.onStart&&c.onStart.apply(c.onStartScope||d,c.onStartParams||l)};return d};h.tweenFromTo=function(b,c,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(b)};b=this.tweenTo(c,a);return b.duration(Math.abs(b.vars.time-b.vars.startAt.time)/this._timeScale||0.001)};h.render=function(b,c,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var g=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,+h=this._totalTime,f=this._startTime,u=this._timeScale,q=this._rawPrevTime,k=this._paused,v=this._cycle,E,s;if(b>=g){this._locked||(this._totalTime=g,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(E=!0,s="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(a=!0);this._rawPrevTime=b;this._yoyo&&0!==(this._cycle&1)?(this._time=0,b=-1E-6):(this._time=this._duration,b=this._duration+1E-6)}else if(0>=b){this._locked||(this._totalTime=this._cycle=+0);this._time=0;if(0!==d||0===this._duration&&0<this._rawPrevTime&&!this._locked)s="onReverseComplete",E=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=b;b=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=b,!this._locked&&(this._totalTime=b,0!==this._repeat)){var C=this._duration+this._repeatDelay;this._cycle=this._totalTime/C>>0;0!==this._cycle&&this._cycle===this._totalTime/C&&this._cycle--;this._time=+this._totalTime-this._cycle*C;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,b=this._duration+1E-6):0>this._time?this._time=b=0:b=this._time}if(this._cycle!==v&&!this._locked){var C=this._yoyo&&0!==(v&1),n=C===(this._yoyo&&0!==(this._cycle&1)),T=this._totalTime,L=this._cycle,J=this._rawPrevTime,y=this._time;this._totalTime=v*this._duration;this._cycle<v?C=!C:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=+0===this._duration?q-1E-5:q;this._cycle=v;this._locked=!0;d=C?0:this._duration;this.render(d,c,0===this._duration);c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||l);n&&(d=C?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=y;this._totalTime=T;this._cycle=L;this._rawPrevTime=J;this._locked=!1}if(this._time===d&&!a)h!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||+l));else{this._initted||(this._initted=!0);0===h&&this.vars.onStart&&0!==this._totalTime&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||l));if(this._time>d)for(a=this._first;a;){h=a._next;if(this._paused&&!k)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=h}else for(a=this._last;a;){h=a._prev;+if(this._paused&&!k)break;else if(a._active||a._startTime<=d&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=h}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||l));if(s&&!this._locked&&!this._gc&&(f===this._startTime||u!==this._timeScale))if(0===this._time||g>=this.totalDuration())E&&(this._timeline.autoRemoveChildren&&this._enabled(!1,+!1),this._active=!1),c||this.vars[s]&&this.vars[s].apply(this.vars[s+"Scope"]||this,this.vars[s+"Params"]||l)}};h.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var g=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,h;for(d=0;d<a;d++)if(h=b[d],!h._paused&&h._timeline._time>=h._startTime&&h._timeline._time<h._startTime+h._totalDuration/h._timeScale){var f;a:{for(f=h._timeline;f;){if(f._paused){f=!0;break a}f=f._timeline}f=!1}f||(g[c++]=h)}return g};h.getLabelAfter=function(b){!b&&+0!==b&&(b=this._time);var c=this.getLabelsArray(),a=c.length,g;for(g=0;g<a;g++)if(c[g].time>b)return c[g].name;return null};h.getLabelBefore=function(b){null==b&&(b=this._time);for(var c=this.getLabelsArray(),a=c.length;-1<--a;)if(c[a].time<b)return c[a].name;return null};h.getLabelsArray=function(){var b=[],c=0,a;for(a in this._labels)b[c++]={time:this._labels[a],name:a};b.sort(function(a,c){return a.time-c.time});return b};h.progress=function(b){return!arguments.length?this._time/this.duration():+this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-b:b)+this._cycle*(this._duration+this._repeatDelay),!1)};h.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};h.totalDuration=function(b){return!arguments.length?(this._dirty&&(r.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?+this:this.duration((b-this._repeat*this._repeatDelay)/(this._repeat+1))};h.time=function(b,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b>this._duration&&(b=this._duration);this._yoyo&&0!==(this._cycle&1)?b=this._duration-b+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(b+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(b,c)};h.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};+h.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};h.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};h.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return q},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(r){var k=function(){r.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},h=k.prototype=+new r("bezier",1),q=180/Math.PI,l=Math.PI/180,b=[],t=[],c=[],a={},g=function(a,c,d,b){this.a=a;this.b=c;this.c=d;this.d=b;this.da=b-a;this.ca=d-a;this.ba=c-a},d=k.bezierThrough=function(d,u,h,q,v,E){var s={},C=[],n,l,k;v="string"===typeof v?","+v+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==u&&(u=1);for(l in d[0])C.push(l);b.length=t.length=c.length=0;for(n=C.length;-1<+--n;){l=C[n];a[l]=-1!==v.indexOf(","+l+",");k=s;var J=l,y;y=d;var j=l,B=a[l],x=E,G=[],z=void 0,w=void 0,r=void 0,e=void 0,m=void 0,z=void 0;if(x){y=[x].concat(y);for(w=y.length;-1<--w;)if("string"===typeof(z=y[w][j]))"="===z.charAt(1)&&(y[w][j]=x[j]+Number(z.charAt(0)+z.substr(2)))}z=y.length-2;if(0>z)G[0]=new g(y[0][j],0,0,y[-1>z?0:1][j]);else{for(w=0;w<z;w++)r=y[w][j],e=y[w+1][j],G[w]=new g(r,0,0,e),B&&(m=y[w+2][j],b[w]=(b[w]||0)+(e-r)*(e-r),t[w]=(t[w]||0)+(m-e)*(m-e));G[w]=new g(y[w][j],0,0,y[w++1][j])}y=G;k[J]=y}for(n=b.length;-1<--n;)b[n]=Math.sqrt(b[n]),t[n]=Math.sqrt(t[n]);if(!q){for(n=C.length;-1<--n;)if(a[l]){d=s[C[n]];k=d.length-1;for(v=0;v<k;v++)E=d[v+1].da/t[v]+d[v].da/b[v],c[v]=(c[v]||0)+E*E}for(n=c.length;-1<--n;)c[n]=Math.sqrt(c[n])}for(n=C.length;-1<--n;){l=C[n];d=s[l];v=u;E=h;k=q;l=a[l];J=d.length-1;y=0;for(var j=d[0].a,p=m=e=x=z=e=r=z=w=r=G=x=B=void 0,B=0;B<J;B++)w=d[y],x=w.a,G=w.d,r=d[y+1].d,l?(e=b[B],m=t[B],p=0.25*(m+e)*v/(k?0.5:c[B]||0.5),z=G-(G-x)*(k?0.5*v:p/e),r=G+(r-+G)*(k?0.5*v:p/m),e=G-(z+(r-z)*(3*e/(e+m)+0.5)/4)):(z=G-0.5*(G-x)*v,r=G+0.5*(r-G)*v,e=G-(z+r)/2),z+=e,r+=e,w.c=z,w.b=0!==B?j:j=w.a+0.6*(w.c-w.a),w.da=G-x,w.ca=z-x,w.ba=j-x,E?(x=A(x,j,z,G),d.splice(y,1,x[0],x[1],x[2],x[3]),y+=4):y++,j=r;w=d[y];w.b=j;w.c=j+0.4*(w.d-j);w.da=w.d-w.a;w.ca=w.c-w.a;w.ba=j-w.a;E&&(x=A(w.a,j,w.c,w.d),d.splice(y,1,x[0],x[1],x[2],x[3]))}return s},A=k.cubicToQuadratic=function(a,c,d,b){var g={a:a},h={},s={},l={c:b},n=(a+c)/2,q=(c+d)/2;d=(d+b)/2;c=(n+q)/2;var q=(q+d)/2,k=(q-c)/+8;g.b=n+(a-n)/4;h.b=c+k;g.c=h.a=(g.b+h.b)/2;h.c=s.a=(c+q)/2;s.b=q-k;l.b=d+(b-d)/4;s.c=l.a=(s.b+l.b)/2;return[g,h,s,l]};k.quadraticToCubic=function(a,c,d){return new g(a,(2*c+a)/3,(2*c+d)/3,d)};h.constructor=k;k.API=2;k._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,d=a._setPluginRatio,b=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,f,g,h,n,q){f instanceof Array&&(f={values:f});q=new k;g=f.values;var r=g.length-+1,t=[],y={},j,B,x;if(0>r)return n;for(j=0;j<=r;j++)x=c(a,g[j],h,n,q,r!==j),t[j]=x.end;for(B in f)y[B]=f[B];y.values=t;n=new b(a,"bezier",0,0,x.pt,2);n.data=x;n.plugin=q;n.setRatio=d;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(j=!0===y.autoRotate?0:Number(y.autoRotate)*l,y.autoRotate=null!=x.end.left?[["left","top","rotation",j,!0]]:null!=x.end.x?[["x","y","rotation",j,!0]]:!1);y.autoRotate&&(h._transform||h._enableTransforms(!1),x.autoRotate=h._target._gsTransform);+q._onInitTween(x.proxy,y,h._tween);return n})}};h._onInitTween=function(a,c,b){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution,10);var h=c.values||[],q={},l=h[0];b=c.autoRotate||b.vars.orientToBezier;var s,C,n;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(s in l)this._props.push(s);for(l=this._props.length;-1<--l;)s=this._props[l],this._overwriteProps.push(s),b=this._func[s]=+"function"===typeof a[s],q[s]=!b?parseFloat(a[s]):a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)](),n||q[s]!==h[0][s]&&(n=q);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)q=d(h,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,n);else{b=(b=c.type)||"soft";c={};n="cubic"===b?3:2;b="soft"===b;var l=[],k,r,t,y,j,B,x,G,z;b&&q&&(h=[q].concat(h));if(null==h||h.length<n+1)throw"invalid Bezier data";for(r in h[0])l.push(r);for(B=l.length;-1<+--B;){r=l[B];c[r]=j=[];z=0;G=h.length;for(x=0;x<G;x++)k=null==q?h[x][r]:"string"===typeof(t=h[x][r])&&"="===t.charAt(1)?q[r]+Number(t.charAt(0)+t.substr(2)):Number(t),b&&1<x&&x<G-1&&(j[z++]=(k+j[z-2])/2),j[z++]=k;G=z-n+1;for(x=z=0;x<G;x+=n)k=j[x],r=j[x+1],t=j[x+2],y=2===n?0:j[x+3],j[z++]=t=3===n?new g(k,r,t,y):new g(k,(2*r+k)/3,(2*r+t)/3,t);j.length=z}q=c}this._beziers=q;this._segCount=this._beziers[s].length;if(this._timeRes){l=this._beziers;s=this._timeRes;s=s>>0||6;q=[];r=[];h=t=0;c=s-1;n=[];b=+[];for(C in l){k=l[C];j=q;B=s;x=1/B;G=k.length;for(var w=void 0,A=void 0,e=y=z=A=void 0,m=w=void 0,p=void 0,p=e=void 0;-1<--G;){e=k[G];A=e.a;z=e.d-A;y=e.c-A;e=e.b-A;A=0;for(m=1;m<=B;m++)w=x*m,p=1-w,w=A-(A=(w*w*z+3*p*(w*y+p*e))*w),p=G*B+m-1,j[p]=(j[p]||0)+w*w}}l=q.length;for(C=0;C<l;C++)t+=Math.sqrt(q[C]),k=C%s,b[k]=t,k===c&&(h+=t,k=C/s>>0,n[k]=b,r[k]=h,t=0,b=[]);this._length=h;this._lengths=r;this._segments=n;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(b=this._autoRotate){b[0]instanceof Array||(this._autoRotate=b=[b]);for(l=b.length;-1<--l;)for(C=0;3>C;C++)s=b[l][C],this._func[s]="function"===typeof a[s]?a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)]:!1}return!0};h.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,h,g,l,k,n;if(this._timeRes){h=this._lengths;k=this._curSeg;a*=this._length;g=this._li;if(a>this._l2&&g<c-1){for(c-=1;g<+c&&(this._l2=h[++g])<=a;);this._l1=h[g-1];this._li=g;this._curSeg=k=this._segments[g];this._s2=k[this._s1=this._si=0]}else if(a<this._l1&&0<g){for(;0<g&&(this._l1=h[--g])>=a;);0===g&&a<this._l1?this._l1=0:g++;this._l2=h[g];this._li=g;this._curSeg=k=this._segments[g];this._s1=k[(this._si=k.length-1)-1]||0;this._s2=k[this._si]}h=g;a-=this._l1;g=this._si;if(a>this._s2&&g<k.length-1){for(c=k.length-1;g<c&&(this._s2=k[++g])<=a;);this._s1=k[g-1];this._si=g}else if(a<this._s1&&0<g){for(;0<g&&(this._s1=k[--g])>=+a;);0===g&&a<this._s1?this._s1=0:g++;this._s2=k[g];this._si=g}k=(g+(a-this._s1)/(this._s2-this._s1))*this._prec}else h=0>a?0:1<=a?c-1:c*a>>0,k=(a-h*(1/c))*c;c=1-k;for(g=this._props.length;-1<--g;)if(a=this._props[g],l=this._beziers[a][h],n=(k*k*l.da+3*c*(k*l.ca+c*l.ba))*k+l.a,this._round[a]&&(n=n+(0<n?0.5:-0.5)>>0),b[a])d[a](n);else d[a]=n;if(this._autoRotate){var c=this._autoRotate,r,t,A,y,j;for(g=c.length;-1<--g;)a=c[g][2],y=c[g][3]||0,j=!0===c[g][4]?1:q,l=this._beziers[c[g][0]][h],n=this._beziers[c[g][1]][h],+r=l.a+(l.b-l.a)*k,t=l.b+(l.c-l.b)*k,r+=(t-r)*k,t+=(l.c+(l.d-l.c)*k-t)*k,l=n.a+(n.b-n.a)*k,A=n.b+(n.c-n.b)*k,l+=(A-l)*k,A+=(n.c+(n.d-n.c)*k-A)*k,n=Math.atan2(A-l,t-r)*j+y,b[a]?b[a].call(d,n):d[a]=n}};h._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};h._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<--d;)c[d]===b&&c.splice(d,+1)}return r.prototype._kill.call(this,a)};r.activate([k]);return k},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(r){var k=function(){r.call(this,"css");this._overwriteProps.length=0},h,q,l,b,t={},c=k.prototype=new r("css");c.constructor=k;k.version=1.664;k.API=2;k.defaultTransformPerspective=0;c="px";k.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,+d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,A=/[^\d\-\.]/g,f=/(?:\d|\-|\+|=|#|\.)*/g,u=/opacity *= *([^)]*)/,X=/opacity:([^;]*)/,Q=/alpha\(opacity *=.+?\)/i,v=/([A-Z])/g,E=/-([a-z])/gi,s=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(a,e){return e.toUpperCase()},n=/(?:Left|Right|Width)/i,T=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,L=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,J=Math.PI/180,y=180/Math.PI,j={},B=document,x=B.createElement("div"),G=B.createElement("img"),z=k._internals=+{_specialProps:t},w=navigator.userAgent,R,e,m,p,F,I,D,aa=w.indexOf("Android"),Y=B.createElement("div");F=(m=-1!==w.indexOf("Safari")&&-1===w.indexOf("Chrome")&&(-1===aa||3<Number(w.substr(aa+8,1))))&&6>Number(w.substr(w.indexOf("Version/")+8,1));p=-1!==w.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(w);I=parseFloat(RegExp.$1);Y.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";D=(w=Y.getElementsByTagName("a")[0])?/^0.55/.test(w.style.opacity):!1;var la=function(a){return u.test("string"===+typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ma="",ga="",ba=function(a,e){e=e||x;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ga=3===d?"ms":b[d],ma="-"+ga.toLowerCase()+"-",ga+a):null},ca=B.defaultView?B.defaultView.getComputedStyle:function(){},M=k.getStyle=function(a,e,c,b,d){var j;if(!D&&"opacity"===e)return la(a);!b&&a.style[e]?+j=a.style[e]:(c=c||ca(a,null))?j=(a=c.getPropertyValue(e.replace(v,"-$1").toLowerCase()))||c.length?a:c[e]:a.currentStyle&&(c=a.currentStyle,j=c[e]);return null!=d&&(!j||"none"===j||"auto"===j||"auto auto"===j)?d:j},ea=function(a,e,c){var b={},d=a._gsOverwrittenClassNamePT,j;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(e=e||ca(a,null))if(j=e.length)for(;-1<--j;)b[e[j].replace(E,C)]=e.getPropertyValue(e[j]);else for(j in e)b[j]=e[j];else if(e=a.currentStyle||a.style)for(j in e)b[j.replace(E,+C)]=e[j];D||(b.opacity=la(a));a=da(a,e,!1);b.rotation=a.rotation*y;b.skewX=a.skewX*y;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.x=a.x;b.y=a.y;U&&(b.z=a.z,b.rotationX=a.rotationX*y,b.rotationY=a.rotationY*y,b.scaleZ=a.scaleZ);b.filters&&delete b.filters;return b},na=function(a,e,c,b){var d={};a=a.style;var j,H,p;for(H in c)if("cssText"!==H&&"length"!==H&&isNaN(H)&&e[H]!==(j=c[H]))if(-1===H.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))d[H]=(""===j||"auto"===j||"none"===j)&&"string"===typeof e[H]&&+""!==e[H].replace(A,"")?0:j,void 0!==a[H]&&(p=new ha(a,H,a[H],p));if(b)for(H in b)"className"!==H&&(d[H]=b[H]);return{difs:d,firstMPT:p}},ta={width:["Left","Right"],height:["Top","Bottom"]},ua=["marginLeft","marginRight","marginTop","marginBottom"],S=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var j=n.test(e),H=a,p=x.style,m=0>c;m&&(c=-c);"%"===b&&-1!==e.indexOf("border")?j=c/100*(j?a.clientWidth:a.clientHeight):(p.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",+"%"===b||"em"===b||!H.appendChild?(H=a.parentNode||B.body,p[j?"width":"height"]=c+b):p[j?"borderLeftWidth":"borderTopWidth"]=c+b,H.appendChild(x),j=parseFloat(x[j?"offsetWidth":"offsetHeight"]),H.removeChild(x),0===j&&!d&&(j=S(a,e,c,b,!0)));return m?-j:j},ia=function(a,e){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===+d&&(d="50%");if("center"===b||isNaN(parseFloat(b)))b="50%";e&&(e.oxp=-1!==b.indexOf("%"),e.oyp=-1!==d.indexOf("%"),e.oxr="="===b.charAt(1),e.oyr="="===d.charAt(1),e.ox=parseFloat(b.replace(A,"")),e.oy=parseFloat(d.replace(A,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},oa=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},V=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)++"1",10)*Number(a.substr(2))+e:parseFloat(a)},Z=function(a,e){if(null==a)return e;var c=-1===a.indexOf("rad")?J:1,b="="===a.charAt(1);a=Number(a.replace(A,""))*c;return b?a+e:a},ja=function(a,e){var c=(("number"===typeof a?a*J:Z(a,e))-e)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return e+c},$={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]},ka=function(e){if(!e||""===e)return $.black;if($[e])return $[e];if("number"===typeof e)return[e>>16,e>>8&255,e&255];if("#"===e.charAt(0)){if(4===e.length){var c=e.charAt(1),b=e.charAt(2);e=e.charAt(3);e="#"+c+c+b+b+e+e}e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}e=e.match(a)||$.transparent;e[0]=Number(e[0]);e[1]=Number(e[1]);e[2]=+Number(e[2]);3<e.length&&(e[3]=Number(e[3]));return e},W="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in $)W+="|"+c+"\\b";var W=RegExp(W+")","gi"),pa=function(e,c,b){if(null==e)return function(a){return a};var j=c?(e.match(W)||[""])[0]:"",p=e.split(j).join("").match(d)||[],m=e.substr(0,e.indexOf(p[0])),H=")"===e.charAt(e.length-1)?")":"",g=-1!==e.indexOf(" ")?" ":",",h=p.length,f=0<h?p[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=f);var e=(a.match(W)||[j])[0];a=a.split(e).join("").match(d)||+[];var c=a.length;if(h>c--)for(;++c<h;)a[c]=b?a[(c-1)/2>>0]:p[c];return m+a.join(g)+g+e+H}:function(a){"number"===typeof a&&(a+=f);a=a.match(d)||[];var e=a.length;if(h>e--)for(;++e<h;)a[e]=b?a[(e-1)/2>>0]:p[e];return m+a.join(g)+H}},w=function(a){a=a.split(",");return function(e,c,b,d,j,p,m){c=(c+"").split(" ");m={};for(b=0;4>b;b++)m[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,m,j,p)}};z._setPluginRatio=function(a){this.plugin.setRatio(a);for(var e=this.data,c=e.proxy,b=e.firstMPT,d;b;)d=c[b.v],+b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;e.autoRotate&&(e.autoRotate.rotation=c.rotation);if(1===a)for(b=e.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(e=1;e<a.l;e++)c+=a["xn"+e]+a["xs"+(e+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ha=function(a,e,c,b,d){this.t=a;this.p=e;this.v=c;this.r=d;b&&(b._prev=this,this._next=b)};z._parseToProxy=function(a,e,c,b,d,p){var H=b,m={},g={},h=c._transform,f=j,l;c._transform=null;j=e;b=a=c.parse(a,e,b,d);j=+f;p&&(c._transform=h,H&&(H._prev=null,H._prev&&(H._prev._next=null)));for(;b&&b!==H;){if(1>=b.type&&(h=b.p,g[h]=b.s+b.c,m[h]=b.s,p||(l=new ha(b,"s",h,l,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)f="xn"+c,h=b.p+"_"+f,g[h]=b.data[f],m[h]=b[f],p||(l=new ha(b,f,h,l,b.rxp[f]));b=b._next}return{proxy:m,end:g,firstMPT:l,pt:a}};var N=z.CSSPropTween=function(a,e,c,d,j,p,H,m,g,f,l){this.t=a;this.p=e;this.s=c;this.c=d;this.n=H||"css_"+e;a instanceof N||b.push(this.n);this.r=m;this.type=p||0;g&&(this.pr=g,h=!0);+this.b=void 0===f?c:f;this.e=void 0===l?c+d:l;j&&(this._next=j,j._prev=this)},fa=k.parseComplex=function(e,c,b,d,j,p,m,h,f,l){m=new N(e,c,0,0,m,l?2:1,null,!1,h,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;h=!1!==R;var k,q,n,F,I;b!==c.length&&(e=(p||"").split(" "),b=e.length);m.plugin=f;m.setRatio=l;for(p=0;p<b;p++)if(f=e[p],k=c[p],(l=parseFloat(f))||0===l)m.appendXtra("",l,oa(k,l),k.replace(g,""),h&&-1!==k.indexOf("px"),!0);else if(j&&("#"===f.charAt(0)||+0===f.indexOf("rgb")||$[f]))f=ka(f),k=ka(k),(l=6<f.length+k.length)&&!D&&0===k[3]?(m["xs"+m.l]+=m.l?" transparent":"transparent",m.e=m.e.split(c[p]).join("transparent")):(m.appendXtra(l?"rgba(":"rgb(",f[0],k[0]-f[0],",",!0,!0).appendXtra("",f[1],k[1]-f[1],",",!0).appendXtra("",f[2],k[2]-f[2],l?",":")",!0),l&&(f=4>f.length?1:f[3],m.appendXtra("",f,(4>k.length?1:k[3])-f,")",!1)));else if(l=f.match(a)){n=k.match(g);if(!n||n.length!==l.length)return m;for(k=q=0;k<l.length;k++)I=l[k],F=f.indexOf(I,q),+m.appendXtra(f.substr(q,F-q),Number(I),oa(n[k],I),"",h&&"px"===f.substr(F+I.length,2),0===k),q=F+I.length;m["xs"+m.l]+=f.substr(q)}else m["xs"+m.l]+=m.l?" "+f:f;if(-1!==d.indexOf("=")&&m.data){d=m.xs0+m.data.s;for(p=1;p<m.l;p++)d+=m["xs"+p]+m.data["xn"+p];m.e=d+m["xs"+p]}m.l||(m.type=-1,m.xs0=m.e);return m.xfirst||m},O=9,c=N.prototype;for(c.l=c.pr=0;0<--O;)c["xn"+O]=0,c["xs"+O]="";c.xs0="";c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null;c.appendXtra=function(a,e,c,b,d,j){var m=this.l;+this["xs"+m]+=j&&m?" "+a:a||"";if(!c&&0!==m&&!this.plugin)return this["xs"+m]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<m)return this.data["xn"+m]=e+c,this.rxp["xn"+m]=d,this["xn"+m]=e,this.plugin||(this.xfirst=new N(this,"xn"+m,e,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:e+c};this.rxp={};this.s=e;this.c=c;this.r=d;return this};var qa=function(a,e,c,b,d,m,j){this.p=b?ba(a)||a:a;t[a]=t[this.p]=this;this.format=m||pa(e,d);c&&+(this.parse=c);this.clrs=d;this.dflt=e;this.pr=j||0},K=z._registerComplexSpecialProp=function(a,e,c,b,d,m,j){a=a.split(",");e=e instanceof Array?e:[e];for(var p=a.length;-1<--p;)new qa(a[p],e[p],c,b&&0===p,d,m,j)},z=function(a){if(!t[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";K(a,null,function(a,c,b,d,m,j,p){var f=window.com.greensock.plugins[e];if(!f)return window.console&&console.log("Error: "+e+" js file not loaded."),m;f._cssRegister();return t[b].parse(a,c,b,d,m,j,p)})}},c=qa.prototype;+c.parseComplex=function(a,e,c,b,d,m){return fa(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,m)};c.parse=function(a,e,c,b,d,m){return this.parseComplex(a.style,this.format(M(a,c,l,!1,this.dflt)),this.format(e),d,m)};k.registerSpecialProp=function(a,e,c){K(a,null,function(a,b,d,m,j,p){j=new N(a,d,0,0,j,2,d,!1,c);j.plugin=p;j.setRatio=e(a,b,m._tween,d);return j},!1,!1,null,c)};var ra="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),P=ba("transform"),va=ma+"transform",+sa=ba("transformOrigin"),U=null!==ba("perspective"),da=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=U?parseFloat(M(a,sa,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,j,p,f,g,h,l,q,n;P?j=M(a,va,e,!0):a.currentStyle&&(j=(j=a.currentStyle.filter.match(T))&&4===j.length?j[0].substr(4)+","+Number(j[2].substr(4))+","+Number(j[1].substr(4))+","+j[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);p=(j||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=p.length;-1<--e;)j=Number(p[e]),+p[e]=(1E5*j+(0>j?-0.5:0.5)>>0)/1E5;if(16===p.length){if(d=p[8],j=p[9],h=p[10],l=p[12],q=p[13],n=p[14],b.zOrigin&&(n=-b.zOrigin,l=d*n-p[12],q=j*n-p[13],n=h*n+b.zOrigin-p[14]),!c||l!==b.x||q!==b.y||n!==b.z){var F=p[0],I=p[1],t=p[2],r=p[3],u=p[4],D=p[5],s=p[6],x=p[7];p=p[11];var w=-Math.PI+1E-4,Y=Math.PI-1E-4,v=b.rotationX=Math.atan2(s,h),aa=v<w||v>Y,y,A,B,z;v&&(B=Math.cos(-v),z=Math.sin(-v),v=u*B+d*z,y=D*B+j*z,A=s*B+h*z,d=u*-z+d*B,j=D*-z+j*B,h=s*-z+h*B,p=x*-z+p*B,u=v,D=y,s=A);if(v=b.rotationY=Math.atan2(d,+F))f=v<w||v>Y,B=Math.cos(-v),z=Math.sin(-v),y=I*B-j*z,A=t*B-h*z,j=I*z+j*B,h=t*z+h*B,p=r*z+p*B,F=F*B-d*z,I=y,t=A;if(v=b.rotation=Math.atan2(I,D))g=v<w||v>Y,B=Math.cos(-v),z=Math.sin(-v),F=F*B+u*z,y=I*B+D*z,D=I*-z+D*B,s=t*-z+s*B,I=y;g&&aa?b.rotation=b.rotationX=0:g&&f?b.rotation=b.rotationY=0:f&&aa&&(b.rotationY=b.rotationX=0);b.scaleX=(1E5*Math.sqrt(F*F+I*I)+0.5>>0)/1E5;b.scaleY=(1E5*Math.sqrt(D*D+j*j)+0.5>>0)/1E5;b.scaleZ=(1E5*Math.sqrt(s*s+h*h)+0.5>>0)/1E5;b.skewX=0;b.perspective=p?1/p:0;b.x=l;b.y=+q;b.z=n}}else if(!U||0===p.length||b.x!==p[4]||b.y!==p[5]||!b.rotationX&&!b.rotationY){j=(f=6<=p.length)?p[0]:1;l=p[1]||0;h=p[2]||0;q=f?p[3]:1;b.x=p[4]||0;b.y=p[5]||0;f=Math.sqrt(j*j+l*l);g=Math.sqrt(q*q+h*h);j=j||l?Math.atan2(l,j):b.rotation||0;h=h||q?Math.atan2(h,q)+j:b.skewX||0;l=f-Math.abs(b.scaleX||0);q=g-Math.abs(b.scaleY||0);Math.abs(h)>Math.PI/2&&Math.abs(h)<1.5*Math.PI&&(d?(f*=-1,h+=0>=j?Math.PI:-Math.PI,j+=0>=j?Math.PI:-Math.PI):(g*=-1,h+=0>=h?Math.PI:-Math.PI));d=(j-b.rotation)%Math.PI;+n=(h-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<l||-1E-6>l||1E-6<q||-1E-6>q||1E-6<d||-1E-6>d||1E-6<n||-1E-6>n)b.scaleX=f,b.scaleY=g,b.rotation=j,b.skewX=h;U&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(k.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},wa=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=(1E5*Math.cos(b)*e.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*e.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*-e.scaleY>>+0)/1E5,c=(1E5*Math.cos(c)*e.scaleY>>0)/1E5,p=this.t.style,m=this.t.currentStyle,h,g;if(m){g=b;b=-j;j=-g;h=m.filter;p.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var k="absolute"!==m.position,q="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+j+", M22="+c,n=e.x,F=e.y,t,D;null!=e.ox&&(t=(e.oxp?0.01*l*e.ox:e.ox)-l/2,D=(e.oyp?0.01*g*e.oy:e.oy)-g/2,n+=t-(t*d+D*b),F+=D-(t*j+D*c));if(k)t=l/2,D=g/2,q+=", Dx="+(t-(t*d+D*b)+n)+", Dy="+(D-(t*j+D*c)+F)+")";else{var r=8>I?1:-1;+t=e.ieOffsetX||0;D=e.ieOffsetY||0;e.ieOffsetX=Math.round((l-((0>d?-d:d)*l+(0>b?-b:b)*g))/2+n);e.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+F);for(O=0;4>O;O++)l=ua[O],g=m[l],g=-1!==g.indexOf("px")?parseFloat(g):S(this.t,l,parseFloat(g),g.replace(f,""))||0,n=g!==e[l]?2>O?-e.ieOffsetX:-e.ieOffsetY:2>O?t-e.ieOffsetX:D-e.ieOffsetY,p[l]=(e[l]=Math.round(g-n*(0===O||2===O?1:r)))+"px";q+=", sizingMethod='auto expand')"}p.filter=-1!==h.indexOf("DXImageTransform.Microsoft.Matrix(")?h.replace(L,+q):q+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===j&&1===c&&(!k||-1!==q.indexOf("Dx=0, Dy=0")))(!u.test(h)||100===parseFloat(RegExp.$1))&&-1===h.indexOf("gradient(")&&p.removeAttribute("filter")}},xa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,j=0,m=0,g=0,h=a.scaleY,f=0,l=0,q=0,k=0,n=a.scaleZ,F=0,I=0,t=0,D=b?-1/b:0,r=a.rotation,u=a.zOrigin,s,v,w,x,B;p&&(v=e.top+"",s=parseFloat(v)||0,v=v.substr((s+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?s+0.05:s-0.05)+(""===v?"px":+v));r&&(s=Math.cos(r),r=Math.sin(r),w=h*r,d=c*-r,h*=s,c*=s,g=w);if(r=a.rotationY)s=Math.cos(r),r=Math.sin(r),x=n*-r,B=D*-r,j=c*r,f=g*r,n*=s,D*=s,c*=s,g*=s,q=x,I=B;if(r=a.rotationX)s=Math.cos(r),r=Math.sin(r),v=d*s+j*r,w=h*s+f*r,x=k*s+n*r,B=t*s+D*r,j=d*-r+j*s,f=h*-r+f*s,n=k*-r+n*s,D=t*-r+D*s,d=v,h=w,k=x,t=B;u&&(F-=u,m=j*F,l=f*F,F=n*F+u);m+=a.x;l+=a.y;F=(1E5*(F+a.z)>>0)/1E5;e[P]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*q>>0)/1E5+","+(1E5*I>>0)/1E5+","+(1E5*d>>0)/1E5+","+(1E5*h>>0)/1E5++","+(1E5*k>>0)/1E5+","+(1E5*t>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*D>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*l>>0)/1E5+","+F+","+(b?1+-F/b:1)+")"},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[P]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=(1E5*Math.cos(e)*a.scaleX>>0)/1E5,e=(1E5*Math.sin(e)*a.scaleX>>0)/1E5,d=(1E5*Math.sin(b)*-a.scaleY>>0)/1E5,b=(1E5*Math.cos(b)*a.scaleY>>0)/1E5;this.t.style[P]=+"matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,p,m){if(c._transform)return d;e=c._transform=da(a,l,!0);var g=a.style,h=ra.length,f,q,k,n,F;if("string"===typeof m.transform&&P)q=g[P],g[P]=m.transform,f=da(a,null,!1),g[P]=q;else if("object"===typeof m){q=null!=m.rotation?m.rotation:+null!=m.rotationZ?m.rotationZ:e.rotation*y;f={scaleX:V(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:V(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:V(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:V(m.x,e.x),y:V(m.y,e.y),z:V(m.z,e.z),perspective:V(m.transformPerspective,e.perspective)};f.rotation=null!=m.shortRotation||null!=m.shortRotationZ?ja(m.shortRotation||m.shortRotationZ||0,e.rotation):"number"===typeof q?q*J:Z(q,e.rotation);U&&(f.rotationX=null!=m.shortRotationX?ja(m.shortRotationX,e.rotationX):+"number"===typeof m.rotationX?m.rotationX*J:Z(m.rotationX,e.rotationX),f.rotationY=null!=m.shortRotationY?ja(m.shortRotationY,e.rotationY):"number"===typeof m.rotationY?m.rotationY*J:Z(m.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==m.skewX?e.skewX:"number"===typeof m.skewX?m.skewX*J:Z(m.skewX,e.skewX);f.skewY=null==m.skewY?e.skewY:"number"===typeof m.skewY?m.skewY*J:Z(m.skewY,e.skewY);if(q=f.skewY-e.skewY)f.skewX+=+q,f.rotation+=q;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}n=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!n&&null!=f.scale&&(f.scaleZ=1);for(;-1<--h;)if(b=ra[h],k=f[b]-e[b],1E-6<k||-1E-6>k||null!=j[b])F=!0,d=new N(e,b,e[b],k,d),d.xs0=0,d.plugin=p,c._overwriteProps.push(d.n);if((k=m.transformOrigin)||U&&n&&e.zOrigin)P?(F=!0,k=(k||M(a,b,l,!1,"50% 50%"))+"",b=sa,d=new N(g,b,0,0,d,+-1,"css_transformOrigin"),d.b=g[b],d.plugin=p,U?(q=e.zOrigin,k=k.split(" "),e.zOrigin=(2<k.length?parseFloat(k[2]):q)||0,d.xs0=d.e=g[b]=k[0]+" "+(k[1]||"50%")+" 0px",d=new N(e,"zOrigin",0,0,d,-1,d.n),d.b=q,d.xs0=d.e=e.zOrigin):d.xs0=d.e=g[b]=k):ia(k+"",e);F&&(c._transformType=n||3===this._transformType?3:2);return d},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",+"borderBottomLeftRadius"];var m=a.style,j,p,f,g,h,k,n,F,r,D,s,I;F=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(j=0;j<c.length;j++)this.p.indexOf("border")&&(c[j]=ba(c[j])),g=f=M(a,c[j],l,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),h=p=e[j],k=parseFloat(g),s=g.substr((k+"").length),(I="="===h.charAt(1))?(n=parseInt(h.charAt(0)+"1",10),h=h.substr(2),n*=parseFloat(h),D=h.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(h),D=h.substr((n+"").length)),""===+D&&(D=q[b]||s),D!==s&&(g=S(a,"borderLeft",k,s),k=S(a,"borderTop",k,s),"%"===D?(g=100*(g/F)+"%",f=100*(k/r)+"%"):"em"===D?(s=S(a,"borderLeft",1,"em"),g=g/s+"em",f=k/s+"em"):(g+="px",f=k+"px"),I&&(h=parseFloat(g)+n+D,p=parseFloat(f)+n+D)),d=fa(m,c[j],g+" "+f,h+" "+p,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,e,b,c,d,j){b=l||ca(a,null);b=this.format((b?I?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):+a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var m,p,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");m=e.split(" ");G.setAttribute("src",M(a,"backgroundImage").replace(s,""));for(p=2;-1<--p;)b=c[p],f=-1!==b.indexOf("%"),f!==(-1!==m[p].indexOf("%"))&&(g=0===p?a.offsetWidth-G.width:a.offsetHeight-G.height,c[p]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,j)},!1,!1,+ia);K("backgroundSize","0 0",null,!1,!1,ia);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("backfaceVisibility","visible",null,!0);K("margin",null,w("marginTop,marginRight,marginBottom,marginLeft"));K("padding",null,w("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip","rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,!1,!0);K("autoRound",null,function(a,e,b,c,d){return d});K("border","0px solid #000",function(a,+e,b,c,d,j){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",l,!1,"0px")+" "+M(a,"borderTopStyle",l,!1,"solid")+" "+M(a,"borderTopColor",l,!1,"#000")),this.format(e),d,j)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(W)||["#000"])[0]});var za=function(a){var e=this.t,b=e.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===b.indexOf("atrix(")&&-1===b.indexOf("radient(")?(e.removeAttribute("filter"),c=!M(this.data,"filter")):(e.filter=b.replace(Q,""),+c=!0));c||(this.xn1&&(e.filter=b=b||"alpha(opacity=100)"),e.filter=-1===b.indexOf("opacity")?e.filter+(" alpha(opacity="+a+")"):b.replace(u,"opacity="+a))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,j){var m=parseFloat(M(a,"opacity",l,!1,"1"));e=parseFloat(e);var p=a.style,f;"autoAlpha"===b&&(f=M(a,"visibility",l),1===m&&"hidden"===f&&(m=0),d=new N(p,"visibility",0,0,d,-1,null,!1,0,0!==m?"visible":"hidden",0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));D?d=new N(p,+"opacity",m,e-m,d):(d=new N(p,"opacity",100*m,100*(e-m),d),d.xn1="autoAlpha"===b?1:0,p.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=j,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(v,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=+this.b)};K("className",null,function(a,e,b,c,d,m,j){var p=a.className,f=a.style.cssText;d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=Aa;d.b=p;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?p+" "+e.substr(2):p.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,l,!0),a.className=d.e,j=na(a,e,ea(a),j),a.className=p,d.data=j.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,j.difs,d,m));return d});c=["bezier","throwProps","physicsProps","physics2D"];for(O=c.length;O--;)z(c[O]);c=k.prototype;c._firstPT=+null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=c;R=c.autoRound;h=!1;q=c.suffixMap||k.suffixMap;l=ca(a,"");b=this._overwriteProps;d=a.style;var j,p,f,g;if(e&&""===d.zIndex&&(j=M(a,"zIndex",l),"auto"===j||""===j))d.zIndex=0;"string"===typeof c&&(p=d.cssText,j=ea(a,l),d.cssText=p+";"+c,j=na(a,j,ea(a)).difs,!D&&X.test(c)&&(j.opacity=parseFloat(RegExp.$1)),c=j,d.cssText=p);this._firstPT=c=this.parse(a,c,null);if(this._transformType){j=3===this._transformType;+if(P){if(m){e=!0;if(""===d.zIndex&&(g=M(a,"zIndex",l),"auto"===g||""===g))d.zIndex=0;F&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(j?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;g=new N(a,"transform",0,0,null,2);this._linkCSSP(g,null,d);g.setRatio=j&&U?xa:P?ya:wa;g.data=this._transform||da(a,l,!0);b.pop()}if(h){for(;c;){a=c._next;for(d=p;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:f)?c._prev._next=c:p=c;(c._next=d)?d._prev=c:f=c;c=a}this._firstPT=p}return!0};+c.parse=function(a,e,b,c){var d=a.style,j,m,p,f,g,h,k,n;for(j in e){g=e[j];if(m=t[j])b=m.parse(a,g,j,this,b,c,e);else if(m=M(a,j,l)+"",k="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||k&&!g.indexOf("rgb"))k||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,j,m,g,!0,"transparent",b,0,c);else if(k&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,j,m,g,!0,null,b,0,c);else{p=parseFloat(m);h=m.substr((p+"").length);if(""===m||"auto"===m)if("width"===+j||"height"===j){p=a;n=j;f=l;h=parseFloat("width"===n?p.offsetWidth:p.offsetHeight);n=ta[n];var F=n.length;for(f=f||ca(p,null);-1<--F;)h-=parseFloat(M(p,"padding"+n[F],f,!0))||0,h-=parseFloat(M(p,"border"+n[F]+"Width",f,!0))||0;p=h;h="px"}else p="opacity"!==j?0:1,h="";(n=k&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1",10),g=g.substr(2),f*=parseFloat(g),k=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),k=k?g.substr((f+"").length)||"":"");""===k&&(k=q[j]||h);g=f||0===f?(n?f+p:f)+k:e[j];if(h!==+k&&""!==k&&(f||0===f))if(p||0===p)if(p=S(a,j,p,h),"%"===k?(p/=S(a,j,100,"%")/100,100<p&&(p=100)):"em"===k?p/=S(a,j,1,"em"):(f=S(a,j,f,k),k="px"),n&&(f||0===f))g=f+p+k;n&&(f+=p);(p||0===p)&&(f||0===f)?(b=new N(d,j,p,f-p,b,0,"css_"+j,!1!==R&&("px"===k||"zIndex"===j),0,m,g),b.xs0=k):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(b=new N(d,j,f||p||0,0,b,-1,"css_"+j,!1,0,m,g),b.xs0="display"===j&&"none"===g?m:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=+function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===+c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=e||3===this._transformType?3:2};c._linkCSSP=function(e,a,b,c){e&&(a&&(a._prev=+e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&+this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return r.prototype._kill.call(this,a)||b};r.activate([k]);return k},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(r){var k=function(){r.call(this,"roundProps",-1);this._overwriteProps.length=0},h=k.prototype=new r("roundProps",-1);h.constructor=k;k.API=2;h._onInitTween=function(h,k,b){this._tween=b;return!0};+h._onInitAllProps=function(){for(var h=this._tween,k=h.vars.roundProps instanceof Array?h.vars.roundProps:h.vars.roundProps.split(","),b=k.length,r={},c=h._propLookup.roundProps,a,g,d;-1<--b;)r[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(g=h._firstPT;g;)d=g._next,g.pg?g.t._roundProps(r,!0):g.n===a&&(this._add(g.t,a,g.s,g.c),d&&(d._prev=g._prev),g._prev?g._prev._next=d:h._firstPT===g&&(h._firstPT=d),g._next=g._prev=null,h._propLookup[a]=c),g=d}return!1};h._add=function(h,k,b,r){this._addTween(h,k,b,+b+r,k,!0);this._overwriteProps.push(k)};r.activate([k]);return k},!0);_gsDefine("easing.Back",["easing.Ease"],function(r){var k=window.com.greensock._class,h=function(a,b){var c=k("easing."+a,function(){},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;return c},q=function(a,b){var c=k("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new r;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},l=q("BackOut",function(a){return(a-=+1)*a*((this._p1+1)*a+this._p1)+1}),b=q("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),q=q("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),t=h("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=h("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?+1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=h("BounceInOut",function(a){var b=0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),g=h("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=h("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),A=h("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=+2)*a)+1)}),f=2*Math.PI,u=function(a,b,c){var d=k("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/f*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new r;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=u("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*f/this._p2)+1},0.3),Q=u("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*f/this._p2))},0.3),u=u("ElasticInOut",function(a){return 1>+(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*f/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*f/this._p2)+1},0.45),v=h("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),E=h("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),s=h("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),C=Math.PI/2,n=h("SineOut",function(a){return Math.sin(a*C)}),T=h("SineIn",function(a){return-Math.cos(a*C)+1}),h=h("SineInOut",function(a){return-0.5*+(Math.cos(Math.PI*a)-1)}),L=k("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),J=L.prototype=new r;J.constructor=L;J.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};L.ease=new L(0.7,0.7);J.config=+L.config=function(a,b,c){return new L(a,b,c)};var y=k("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),J=y.prototype=new r;J.constructor=y;J.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};J.config=y.config=function(a){return new y(a)};k("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);k("easing.Circ",{easeOut:new g,easeIn:new d,easeInOut:new A},!0);k("easing.Elastic",{easeOut:new X,easeIn:new Q,easeInOut:new u},!0);k("easing.Expo",+{easeOut:new v,easeIn:new E,easeInOut:new s},!0);k("easing.Sine",{easeOut:new n,easeIn:new T,easeInOut:new h},!0);return{easeOut:new l,easeIn:new b,easeInOut:new q}},!0)});+(function(r){var k=function(a){a=a.split(".");var b=r,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},h=k("com.greensock"),q,l,b,t,c,a={},g=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var f=b||[],h=[];this.check=function(b){for(var m=f.length,j=0,l;-1<--m;)(l=a[f[m]]||new g(f[m])).gsClass?h[m]=l.gsClass:(j++,b&&l.sc.push(this));if(0===j&&c){b=("com.greensock."+e).split(".");var m=b.pop(),n=k(b.join("."))[m]=this.gsClass=c.apply(c,h);d&&((r.GreenSockGlobals||+r)[m]=n,"function"===typeof define&&define.amd?define((r.GreenSockAMDPath?r.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},d=h._class=function(a,b,c){b=b||function(){};new g(a,[],function(){return b},c);return b};r._gsDefine=function(a,b,c,d){return new g(a,b,c,d)};var A=[0,0,1,1],f=[],u=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=+c||0;this._power=d||0;this._params=b?A.concat(b):A},!0);b=u.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};q=["Linear","Quad","Cubic","Quart","Quint"];for(l=q.length;-1<--l;)b=d("easing."+q[l],null,!0),t=d("easing.Power"+l,null,!0),b.easeOut=t.easeOut=new u(null,+null,1,l),b.easeIn=t.easeIn=new u(null,null,2,l),b.easeInOut=t.easeInOut=new u(null,null,3,l);d("easing.Strong",h.easing.Power4,!0);h.easing.Linear.easeNone=h.easing.Linear.easeIn;var X=d("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});b=X.prototype;b.addEventListener=function(a,b,c,d,f){f=f||0;var g=this._listeners[a],h=0,j;null==g&&(this._listeners[a]=g=[]);for(j=g.length;-1<--j;)a=g[j],a.c===b?g.splice(j,1):0===h&&a.pr<f&&(h=j+1);g.splice(h,0,{c:b,s:c,up:d,pr:f})};+b.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var Q=r.requestAnimationFrame,v=r.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()};q=["ms","moz","webkit","o"];for(l=q.length;-1<--l&&!Q;)Q=r[q[l]+"RequestAnimationFrame"],v=r[q[l]++"CancelAnimationFrame"]||r[q[l]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=E(),f=!1!==b&&Q,g,h,j,k,l,n=function(){null!=j&&(!f||!v?r.clearTimeout(j):v(j),j=null)},q=function(a){c.time=(E()-d)/1E3;if(!g||c.time>=l||!0===a)c.frame++,l=c.time>l?c.time+k-(c.time-l):c.time+k-0.001,l<c.time+0.001&&(l=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(j=h(q))};X.call(c);this.time=this.frame=0;this.tick=function(){q(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||+60);l=this.time+k;h=0===g?function(){}:!f||!Q?function(a){return r.setTimeout(a,1E3*(l-c.time)+1>>0||1)}:Q;n();j=h(q)};this.useRAF=function(a){if(!arguments.length)return f;n();f=a;c.fps(g)};c.fps(a);r.setTimeout(function(){f&&!j&&c.useRAF(!1)},1E3)});b=h.Ticker.prototype=new h.events.EventDispatcher;b.constructor=h.Ticker;var s=d("core.Animation",function(a,b){this.vars=b||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;+this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(x){c||(C.tick(),c=!0);var d=this.vars.useFrames?B:x;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),C=s.ticker=new h.Ticker;b=s.prototype;b._dirty=b._gc=b._initted=b._paused=!1;b._totalTime=b._time=0;b._rawPrevTime=-1;b._next=b._last=b._onUpdate=b._timeline=b.timeline=null;b._paused=!1;b.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};b.pause=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!0)};b.resume=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!1)};b.seek=function(a,b){return this.totalTime(Number(a),!1!==b)};b.restart=function(a,b){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!==b)};b.reverse=function(a,b){arguments.length&&this.seek(a||this.totalDuration(),b);this.reversed(!0);return this.paused(!1)};b.render=function(){};b.invalidate=function(){return this};b._enabled=function(a,b){this._gc=!a;this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration;!0!==b&&(a&&null==this.timeline?this._timeline.insert(this,this._startTime-this._delay):!a&&null!=this.timeline&&this._timeline._remove(this,!0));return!1};b._kill=function(){return this._enabled(!1,!1)};b.kill=function(a,b){this._kill(a,b);return this};b._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};b.eventCallback=function(a,b,c,d){if(null==a)return null;if("on"===a.substr(0,2)){if(1===arguments.length)return this.vars[a];if(null==b)delete this.vars[a];else if(this.vars[a]=b,this.vars[a+"Params"]=c,this.vars[a+"Scope"]=d,c)for(var f=c.length;-1<--f;)"{self}"===c[f]&&(c=this.vars[a+"Params"]=c.concat(),c[f]=this);"onUpdate"===a&&(this._onUpdate=b)}return this};b.delay=function(a){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay);this._delay=a;return this};b.duration=function(a){if(!arguments.length)return this._dirty=@@ -149,28 +149,28 @@ a.substr(0,2)){if(1===arguments.length)return this.vars[a];if(null==b)delete thib){if(!arguments.length)return this._totalTime;if(this._timeline){0>a&&(a+=this.totalDuration());if(this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(!this._reversed?a:this._totalDuration-a)/this._timeScale,this._timeline._dirty||this._uncache(!1),!this._timeline._active))for(var c=this._timeline;c._timeline;)c.totalTime(c._totalTime,!0),c=c._timeline;this._gc&&this._enabled(!0,!1);this._totalTime!==a&&this.render(a,b,!1)}return this};b.startTime=function(a){if(!arguments.length)return this._startTime;a!==this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.insert(this,a-this._delay));return this};b.timeScale=function(a){if(!arguments.length)return this._timeScale;a=a||1E-6;if(this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime||0===this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=b-(b-this._startTime)*this._timeScale/a}this._timeScale=a;return this._uncache(!1)};b.reversed=function(a){if(!arguments.length)return this._reversed;a!==this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0));return this};b.paused=function(a){if(!arguments.length)return this._paused;a!==this._paused&&this._timeline&&(!a&&this._timeline.smoothChildTiming&&(this._startTime+=this._timeline.rawTime()-this._pauseTime,this._uncache(!1)),this._pauseTime=a?this._timeline.rawTime():null,this._paused=-a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};f=d("core.SimpleTimeline",function(a){t.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});b=f.prototype=new t;b.constructor=f;b.kill()._gc=!1;b._first=b._last=null;b._sortChildren=!1;b.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&+a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};h=d("core.SimpleTimeline",function(a){s.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});b=h.prototype=new s;b.constructor=h;b.kill()._gc=!1;b._first=b._last=null;b._sortChildren=!1;b.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&a.timeline._remove(a,!0);a.timeline=a._timeline=this;a._gc&&a._enabled(!0,!0);var c=this._last;if(this._sortChildren)for(var d=a._startTime;c&&c._startTime>d;)c=c._prev;c?(a._next=c._next,c._next=a):(a._next=this._first,this._first=a);a._next?a._next._prev=a:this._last=a;a._prev=c;this._timeline&&this._uncache(!0);return this};b._remove=function(a,b){a.timeline===this&&(b||a._enabled(!1,!0),a.timeline=null,a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=-a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};b.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};b.rawTime=function(){return this._totalTime};var q=d("TweenLite",function(a,b,c){t.call(this,b,c);if(null==-a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?h[q.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:h[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=-A(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&C(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=A(a,this,!1),1===this._overwrite&&1<this._siblings.length&&C(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);b=q.prototype=new t;b.constructor=q;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;q.version=1.663;-q.defaultEase=b._ease=new u(null,null,1,1);q.defaultOverwrite="auto";q.ticker=D;var U=q._plugins={},G=q._tweenLookup={},M=0,x={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,orientToBezier:1,immediateRender:1,repeat:1,-repeatDelay:1,data:1,paused:1,reversed:1},h={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},B=t._rootFramesTimeline=new f,v=t._rootTimeline=new f;v._startTime=D.time;B._startTime=D.frame;v._active=B._active=!0;t._updateRoot=function(){v.render((D.time-v._startTime)*v._timeScale,!1,!1);B.render((D.frame-B._startTime)*B._timeScale,!1,!1);if(!(D.frame%120)){var a,b,c;for(c in G){b=G[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete G[c]}}};-D.addEventListener("tick",t._updateRoot);var A=function(a,b,c){var d=a._gsTweenID,f;if(!G[d||(a._gsTweenID=d="t"+M++)])G[d]={target:a,tweens:[]};if(b&&(a=G[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return G[d].tweens},C=function(a,b,c,d,f){var g,j,h;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((h=f[g])!==b)h._gc||h._enabled(!1,!1)&&(j=!0);else if(5===d)break;return j}var k=b._startTime+1E-10,l=[],n=0,q=0===b._duration,r;for(g=f.length;-1<--g;)if(!((h=f[g])===b||h._gc||h._paused))h._timeline!==-b._timeline?(r=r||y(b,0,q),0===y(h,r,q)&&(l[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale+1E-10>k&&((q||!h._initted)&&2E-10>=k-h._startTime||(l[n++]=h));for(g=n;-1<--g;)if(h=l[g],2===d&&h._kill(c,a)&&(j=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(j=!0);return j},y=function(a,b,c){for(var d=a._timeline,f=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;f*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=f;return g>b?g-b:c&&g===b||!a._initted&&2E-10>-g-b?1E-10:(g+=a.totalDuration()/a._timeScale/f)>b?0:g-b-1E-10};b._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,q.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof u?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new u(this.vars.ease,this.vars.easeParams):q.defaultEase;this._easeType=this._ease._type;this._easePower=-this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);b&&q._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=-a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};b._initProps=function(a,b,c,d){var f,g,j,h,k,l;if(null==a)return!1;for(f in this.vars){if(x[f]){if("onStartParams"===f||"onUpdateParams"===f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(k=this.vars[f])for(g=k.length;-1<--g;)"{self}"===k[g]&&(k=this.vars[f]=k.concat(),k[g]=this)}else if(U[f]&&(h=new U[f])._onInitTween(a,this.vars[f],this)){this._firstPT=l={_next:this._firstPT,t:h,p:"setRatio",-s:0,c:1,f:!0,n:f,pg:!0,pr:h._priority};for(g=h._overwriteProps.length;-1<--g;)b[h._overwriteProps[g]]=this._firstPT;if(h._priority||h._onInitAllProps)j=!0;if(h._onDisable||h._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[f]=l={_next:this._firstPT,t:a,p:f,f:"function"===typeof a[f],n:f,pg:!1,pr:0},l.s=!l.f?parseFloat(a[f]):a[f.indexOf("set")||"function"!==typeof a["get"+f.substr(3)]?f:"get"+f.substr(3)](),g=this.vars[f],l.c="number"===typeof g?g-l.s:"string"===typeof g&&"="===g.charAt(1)?-parseInt(g.charAt(0)+"1",10)*Number(g.substr(2)):Number(g)||0;l&&l._next&&(l._next._prev=l)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&C(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):j};b.render=function(a,b,c){var d=this._time,f,j;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(f=!0,j="onComplete"),0===this._duration){if(0===a||-0>this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)j="onReverseComplete",f=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,k=this._easeType,l=this._easePower;if(1===k||3===k&&-0.5<=h)h=1-h;3===k&&(h*=2);1===l?h*=h:2===l?h*=h*h:3===l?h*=h*h*h:4===l&&(h*=h*h*h*h);this.ratio=1===k?1-h:2===k?h:0.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){this._initted||(this._init(),!f&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||-g);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||g));j&&!this._gc&&(f&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[j]&&this.vars[j].apply(this.vars[j+"Scope"]||this,this.vars[j+"Params"]||g))}};b._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);b=+a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};b.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};b.rawTime=function(){return this._totalTime};var n=d("TweenLite",function(a,b,c){s.call(this,b,c);if(null==+a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?j[n.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:j[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=+G(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&z(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=G(a,this,!1),1===this._overwrite&&1<this._siblings.length&&z(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);b=n.prototype=new s;b.constructor=n;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;n.version=1.663;+n.defaultEase=b._ease=new u(null,null,1,1);n.defaultOverwrite="auto";n.ticker=C;var T=n._plugins={},L=n._tweenLookup={},J=0,y={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,orientToBezier:1,immediateRender:1,repeat:1,+repeatDelay:1,data:1,paused:1,reversed:1},j={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},B=s._rootFramesTimeline=new h,x=s._rootTimeline=new h;x._startTime=C.time;B._startTime=C.frame;x._active=B._active=!0;s._updateRoot=function(){x.render((C.time-x._startTime)*x._timeScale,!1,!1);B.render((C.frame-B._startTime)*B._timeScale,!1,!1);if(!(C.frame%120)){var a,b,c;for(c in L){b=L[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete L[c]}}};+C.addEventListener("tick",s._updateRoot);var G=function(a,b,c){var d=a._gsTweenID,f;if(!L[d||(a._gsTweenID=d="t"+J++)])L[d]={target:a,tweens:[]};if(b&&(a=L[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return L[d].tweens},z=function(a,b,c,d,f){var g,h,j;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((j=f[g])!==b)j._gc||j._enabled(!1,!1)&&(h=!0);else if(5===d)break;return h}var k=b._startTime+1E-10,l=[],n=0,q=0===b._duration,r;for(g=f.length;-1<--g;)if(!((j=f[g])===b||j._gc||j._paused))j._timeline!==+b._timeline?(r=r||w(b,0,q),0===w(j,r,q)&&(l[n++]=j)):j._startTime<=k&&j._startTime+j.totalDuration()/j._timeScale+1E-10>k&&((q||!j._initted)&&2E-10>=k-j._startTime||(l[n++]=j));for(g=n;-1<--g;)if(j=l[g],2===d&&j._kill(c,a)&&(h=!0),2!==d||!j._firstPT&&j._initted)j._enabled(!1,!1)&&(h=!0);return h},w=function(a,b,c){for(var d=a._timeline,f=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;f*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=f;return g>b?g-b:c&&g===b||!a._initted&&2E-10>+g-b?1E-10:(g+=a.totalDuration()/a._timeScale/f)>b?0:g-b-1E-10};b._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,n.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof u?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new u(this.vars.ease,this.vars.easeParams):n.defaultEase;this._easeType=this._ease._type;this._easePower=+this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);b&&n._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=+a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};b._initProps=function(a,b,c,d){var f,g,h,j,k,l;if(null==a)return!1;for(f in this.vars){if(y[f]){if("onStartParams"===f||"onUpdateParams"===f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(k=this.vars[f])for(g=k.length;-1<--g;)"{self}"===k[g]&&(k=this.vars[f]=k.concat(),k[g]=this)}else if(T[f]&&(j=new T[f])._onInitTween(a,this.vars[f],this)){this._firstPT=l={_next:this._firstPT,t:j,p:"setRatio",+s:0,c:1,f:!0,n:f,pg:!0,pr:j._priority};for(g=j._overwriteProps.length;-1<--g;)b[j._overwriteProps[g]]=this._firstPT;if(j._priority||j._onInitAllProps)h=!0;if(j._onDisable||j._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[f]=l={_next:this._firstPT,t:a,p:f,f:"function"===typeof a[f],n:f,pg:!1,pr:0},l.s=!l.f?parseFloat(a[f]):a[f.indexOf("set")||"function"!==typeof a["get"+f.substr(3)]?f:"get"+f.substr(3)](),g=this.vars[f],l.c="number"===typeof g?g-l.s:"string"===typeof g&&"="===g.charAt(1)?+parseInt(g.charAt(0)+"1",10)*Number(g.substr(2)):Number(g)||0;l&&l._next&&(l._next._prev=l)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&z(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):h};b.render=function(a,b,c){var d=this._time,g,j;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(g=!0,j="onComplete"),0===this._duration){if(0===a||+0>this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)j="onReverseComplete",g=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,k=this._easeType,l=this._easePower;if(1===k||3===k&&+0.5<=h)h=1-h;3===k&&(h*=2);1===l?h*=h:2===l?h*=h*h:3===l?h*=h*h*h:4===l&&(h*=h*h*h*h);this.ratio=1===k?1-h:2===k?h:0.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){this._initted||(this._init(),!g&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||+f);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||f));j&&!this._gc&&(g&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[j]&&this.vars[j].apply(this.vars[j+"Scope"]||this,this.vars[j+"Params"]||f))}};b._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);b=b||this._targets||this.target;var c,d,f,g,h,j,k;if((b instanceof Array||b.jquery)&&"object"===typeof b[0])for(c=b.length;-1<--c;)this._kill(a,b[c])&&(h=!0);else{if(this._targets)for(c=this._targets.length;-1<--c;){if(b===this._targets[c]){g=this._propLookup[c]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;g=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(g)for(f in j=-a||g,k=a!=d&&"all"!=d&&a!=g&&(null==a||!0!=a._tempKill),j){if(c=g[f]){c.pg&&c.t._kill(j)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete g[f]}k&&(d[f]=1)}}return h};b.invalidate=function(){this._notifyPluginsOfEnabled&&q._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=-!1;this._propLookup=this._targets?{}:[];return this};b._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=A(this._targets[c],this,!0);else this._siblings=A(this.target,this,!0);t.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?q._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};q.to=function(a,b,c){return new q(a,b,c)};q.from=function(a,b,c){c.runBackwards=!0;!1!==c.immediateRender&&(c.immediateRender=-!0);return new q(a,b,c)};q.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new q(a,b,d)};q.delayedCall=function(a,b,c,d,f){return new q(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:f,overwrite:0})};q.set=function(a,b){return new q(a,0,b)};q.killTweensOf=q.killDelayedCallsTo=function(a,b){for(var c=q.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,-a)};q.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(q.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d===c[a]&&c.splice(b,1)}}else{c=A(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var V=d("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);b=V.prototype;V.version=12;V.API=+a||g,k=a!=d&&"all"!=d&&a!=g&&(null==a||!0!=a._tempKill),j){if(c=g[f]){c.pg&&c.t._kill(j)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete g[f]}k&&(d[f]=1)}}return h};b.invalidate=function(){this._notifyPluginsOfEnabled&&n._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=+!1;this._propLookup=this._targets?{}:[];return this};b._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=G(this._targets[c],this,!0);else this._siblings=G(this.target,this,!0);s.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?n._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};n.to=function(a,b,c){return new n(a,b,c)};n.from=function(a,b,c){c.runBackwards=!0;!1!==c.immediateRender&&(c.immediateRender=+!0);return new n(a,b,c)};n.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new n(a,b,d)};n.delayedCall=function(a,b,c,d,f){return new n(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:f,overwrite:0})};n.set=function(a,b){return new n(a,0,b)};n.killTweensOf=n.killDelayedCallsTo=function(a,b){for(var c=n.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,+a)};n.getTweensOf=function(a){if(null!=a){var b,c,d;if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){b=a.length;for(c=[];-1<--b;)c=c.concat(n.getTweensOf(a[b]));for(b=c.length;-1<--b;){d=c[b];for(a=b;-1<--a;)d===c[a]&&c.splice(b,1)}}else{c=G(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var R=d("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);b=R.prototype;R.version=12;R.API=2;b._firstPT=null;b._addTween=function(a,b,c,d,f,g){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1",10)*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:f||b,r:g},a._next&&(a._next._prev=a)};b.setRatio=function(a){for(var b=this._firstPT,c;b;){c=b.c*a+b.s;b.r&&(c=c+(0<c?0.5:-0.5)>>0);if(b.f)b.t[b.p](c);else b.t[b.p]=c;b=b._next}};b._kill=function(a){if(null!=a[this._propName])this._overwriteProps=-[];else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};b._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};q._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===-a){for(var f,g,h,j;c;){j=c._next;for(f=g;f&&f.pr>c.pr;)f=f._next;(c._prev=f?f._prev:h)?c._prev._next=c:g=c;(c._next=f)?f._prev=c:h=c;c=j}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};V.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===V.API&&(q._plugins[(new a[b])._propName]=a[b]);return!0};if(n=l._gsQueue){for(k=0;k<n.length;k++)n[k]();for(b in a)a[b].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+b)}})(window);\ No newline at end of file+[];else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};b._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};n._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===+a){for(var f,g,h,j;c;){j=c._next;for(f=g;f&&f.pr>c.pr;)f=f._next;(c._prev=f?f._prev:h)?c._prev._next=c:g=c;(c._next=f)?f._prev=c:h=c;c=j}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};R.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===R.API&&(n._plugins[(new a[b])._propName]=a[b]);return!0};if(q=r._gsQueue){for(l=0;l<q.length;l++)q[l]();for(b in a)a[b].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+b)}})(window);\ No newline at end of filediff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.jsindex e701622..6ade636 100755--- a/src/minified/plugins/CSSPlugin.min.js+++ b/src/minified/plugins/CSSPlugin.min.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.664- * DATE: 2012-12-21+ * VERSION: beta 1.665+ * DATE: 2012-12-22* JavaScript* UPDATES AND DOCS AT: http://www.greensock.com*@@ -10,13 +10,13 @@** @author: Jack Doyle, [email protected]*/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var B=function(){V.call(this,"css");this._overwriteProps.length=0},ba,ca,r,da,L={},m=B.prototype=new V("css");m.constructor=B;B.version=1.664;B.API=2;B.defaultTransformPerspective=0;m="px";B.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ea=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,-fa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ha=/(?:\d|\-|\+|=|#|\.)*/g,ga=/opacity *= *([^)]*)/,Ia=/opacity:([^;]*)/,qa=/([A-Z])/g,ra=/-([a-z])/gi,Ja=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,sa=function(a,b){return b.toUpperCase()},Ka=/(?:Left|Right|Width)/i,La=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ma=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ha=M.createElement("img"),N=B._internals={_specialProps:L},-A=navigator.userAgent,ia,ta,ua,va,wa,ja,O,xa=A.indexOf("Android"),ya=M.createElement("div");wa=(ua=-1!==A.indexOf("Safari")&&-1===A.indexOf("Chrome")&&(-1===xa||3<Number(A.substr(xa+8,1))))&&6>Number(A.substr(A.indexOf("Version/")+8,1));va=-1!==A.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A);ja=parseFloat(RegExp.$1);ya.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(A=ya.getElementsByTagName("a")[0])?/^0.55/.test(A.style.opacity):!1;var za=function(a){return ga.test("string"===typeof a?-a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Aa="",ka="",T=function(a,b){b=b||S;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ka=3===f?"ms":c[f],Aa="-"+ka.toLowerCase()+"-",ka+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},x=B.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return za(a);!c&&a.style[b]?j=-a.style[b]:(d=d||U(a,null))?j=(a=d.getPropertyValue(b.replace(qa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,j=d[b]);return null!=f&&(!j||"none"===j||"auto"===j||"auto auto"===j)?f:j},Z=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,j;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(ra,sa)]=b.getPropertyValue(b[j]);else for(j in b)c[j]=b[j];else if(b=a.currentStyle||a.style)for(j in b)c[j.replace(ra,+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var B=function(){V.call(this,"css");this._overwriteProps.length=0},ba,ca,r,da,L={},m=B.prototype=new V("css");m.constructor=B;B.version=1.665;B.API=2;B.defaultTransformPerspective=0;m="px";B.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ea=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,+fa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ha=/(?:\d|\-|\+|=|#|\.)*/g,ga=/opacity *= *([^)]*)/,Ia=/opacity:([^;]*)/,Ja=/alpha\(opacity *=.+?\)/i,qa=/([A-Z])/g,ra=/-([a-z])/gi,Ka=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,sa=function(a,b){return b.toUpperCase()},La=/(?:Left|Right|Width)/i,Ma=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Na=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ha=M.createElement("img"),+N=B._internals={_specialProps:L},A=navigator.userAgent,ia,ta,ua,va,wa,ja,O,xa=A.indexOf("Android"),ya=M.createElement("div");wa=(ua=-1!==A.indexOf("Safari")&&-1===A.indexOf("Chrome")&&(-1===xa||3<Number(A.substr(xa+8,1))))&&6>Number(A.substr(A.indexOf("Version/")+8,1));va=-1!==A.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A);ja=parseFloat(RegExp.$1);ya.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(A=ya.getElementsByTagName("a")[0])?/^0.55/.test(A.style.opacity):!1;var za=function(a){return ga.test("string"===+typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Aa="",ka="",T=function(a,b){b=b||S;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ka=3===f?"ms":c[f],Aa="-"+ka.toLowerCase()+"-",ka+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},x=B.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return za(a);!c&&a.style[b]?+j=a.style[b]:(d=d||U(a,null))?j=(a=d.getPropertyValue(b.replace(qa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,j=d[b]);return null!=f&&(!j||"none"===j||"auto"===j||"auto auto"===j)?f:j},Z=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,j;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(ra,sa)]=b.getPropertyValue(b[j]);else for(j in b)c[j]=b[j];else if(b=a.currentStyle||a.style)for(j in b)c[j.replace(ra,sa)]=b[j];O||(c.opacity=za(a));a=Y(a,b,!1);c.rotation=a.rotation*R;c.skewX=a.skewX*R;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.x=a.x;c.y=a.y;I&&(c.z=a.z,c.rotationX=a.rotationX*R,c.rotationY=a.rotationY*R,c.scaleZ=a.scaleZ);c.filters&&delete c.filters;return c},Ba=function(a,b,d,c){var f={};a=a.style;var j,e,h;for(e in d)if("cssText"!==e&&"length"!==e&&isNaN(e)&&b[e]!==(j=d[e]))if(-1===e.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))f[e]=(""===j||"auto"===j||"none"===j)&&"string"===typeof b[e]&&-""!==b[e].replace(W,"")?0:j,void 0!==a[e]&&(h=new la(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},Na={width:["Left","Right"],height:["Top","Bottom"]},Oa=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=Ka.test(b),e=a,h=S.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?j=d/100*(j?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",+""!==b[e].replace(W,"")?0:j,void 0!==a[e]&&(h=new la(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},Oa={width:["Left","Right"],height:["Top","Bottom"]},Pa=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=La.test(b),e=a,h=S.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?j=d/100*(j?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"===c||"em"===c||!e.appendChild?(e=a.parentNode||M.body,h[j?"width":"height"]=d+c):h[j?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(S),j=parseFloat(S[j?"offsetWidth":"offsetHeight"]),e.removeChild(S),0===j&&!f&&(j=F(a,b,d,c,!0)));return k?-j:j},ma=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var d=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];null==f?f="0":"center"===f&&(f="50%");if("center"===c||isNaN(parseFloat(c)))c="50%";b&&(b.oxp=-1!==c.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===c.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(c.replace(W,"")),b.oy=parseFloat(f.replace(W,"")));return c+" "+f+(2<d.length?" "+d[2]:"")},Ca=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},G=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*Number(a.substr(2))+b:parseFloat(a)},P=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?E:1,c="="===a.charAt(1);a=Number(a.replace(W,""))*d;return c?a+b:a},na=function(a,b){var d=(("number"===typeof a?a*E:P(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},Q={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,@@ -31,16 +31,16 @@ k.indexOf(m,p),e.appendXtra(k.substr(p,$-p),Number(m),Ca(n[l],m),"",h&&"px"===k.f,j){var e=this.l;this["xs"+e]+=j&&e?" "+a:a||"";if(!d&&0!==e&&!this.plugin)return this["xs"+e]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<e)return this.data["xn"+e]=b+d,this.rxp["xn"+e]=f,this["xn"+e]=b,this.plugin||(this.xfirst=new y(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ea=function(a,b,d,c,f,j,e){this.p=c?T(a)||a:a;L[a]=L[this.p]=this;this.format=j||Da(b,f);d&&(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},q=N._registerComplexSpecialProp=function(a,b,d,c,f,j,e){a=a.split(",");b=b instanceof Array?b:[b];for(var h=a.length;-1<--h;)new Ea(a[h],b[h],d,c&&0===h,f,j,e)},N=function(a){if(!L[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";q(a,null,function(a,c,f,j,e,h,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return L[f].parse(a,c,f,j,e,h,k)})}},m=Ea.prototype;m.parseComplex=function(a,b,d,c,f,j){return aa(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,j)};m.parse=function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,d,r,!1,this.dflt)),this.format(b),f,j)};B.registerSpecialProp=function(a,b,d){q(a,null,function(a,f,j,e,h,k){h=new y(a,j,0,0,h,2,j,!1,d);h.plugin=k;h.setRatio=b(a,f,e._tween,j);return h},!1,!1,null,d)};var Fa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),H=T("transform"),-Pa=Aa+"transform",Ga=T("transformOrigin"),I=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=I?parseFloat(x(a,Ga,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,n,m;H?e=x(a,Pa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(La))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)e=+Qa=Aa+"transform",Ga=T("transformOrigin"),I=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=I?parseFloat(x(a,Ga,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,n,m;H?e=x(a,Qa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ma))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)e=Number(h[b]),h[b]=(1E5*e+(0>e?-0.5:0.5)>>0)/1E5;if(16===h.length){if(f=h[8],e=h[9],l=h[10],p=h[12],n=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,p=f*m-h[12],n=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||p!==c.x||n!==c.y||m!==c.z){var K=h[0],s=h[1],w=h[2],q=h[3],t=h[4],r=h[5],u=h[6],y=h[7];h=h[11];var v=-Math.PI+1E-4,A=Math.PI-1E-4,z=c.rotationX=Math.atan2(u,l),F=z<v||z>A,E,G,C,D;z&&(C=Math.cos(-z),D=Math.sin(-z),z=t*C+f*D,E=r*C+e*D,G=u*C+l*D,f=t*-D+f*C,e=r*-D+e*C,l=u*-D+l*C,h=y*-D+h*C,t=z,r=E,u=G);if(z=c.rotationY=Math.atan2(f,K))k=z<v||z>A,C=Math.cos(-z),D=Math.sin(-z),E=s*C-e*D,G=w*C-l*D,e=s*D+e*C,l=w*D+l*C,h=q*D+h*C,K=K*C-f*D,s=E,w=G;if(z=c.rotation=Math.atan2(s,r))g=z<v||z>A,C=Math.cos(-z),D=Math.sin(-z),K=K*C+t*D,E=s*C+r*D,r=s*-D+r*C,u=w*-D+u*C,s=E;g&&F?c.rotation=c.rotationX=0:g&&k?c.rotation=c.rotationY=0:k&&F&&(c.rotationY=c.rotationX=0);c.scaleX=(1E5*Math.sqrt(K*K+s*s)+0.5>>0)/1E5;c.scaleY=(1E5*Math.sqrt(r*r+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(u*u+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/h:0;c.x=p;c.y=n;c.z=m}}else if(!I||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){e=(k=6<=h.length)?h[0]:1;p=h[1]||0;l=h[2]||0;n=k?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;k=Math.sqrt(e*e+p*p);g=Math.sqrt(n*n+l*l);e=e||p?Math.atan2(p,e):c.rotation||0;l=l||n?Math.atan2(l,n)+e:c.skewX||0;p=k-Math.abs(c.scaleX||0);n=g-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(k*=-1,l+=0>=e?Math.PI:-Math.PI,e+=0>=e?Math.PI:-Math.PI):(g*=-1,l+=0>=l?Math.PI:-Math.PI));f=(e-c.rotation)%-Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Qa=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=(1E5*Math.cos(d)*b.scaleX>>0)/1E5,d=(1E5*Math.sin(d)*b.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*+Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Ra=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=(1E5*Math.cos(d)*b.scaleX>>0)/1E5,d=(1E5*Math.sin(d)*b.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*-b.scaleY>>0)/1E5,c=(1E5*Math.cos(c)*b.scaleY>>0)/1E5,e=this.t.style,h=this.t.currentStyle,k,g;if(h){g=d;d=-j;j=-g;k=h.filter;e.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==h.position,n="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,r=b.y,s,w;null!=b.ox&&(s=(b.oxp?0.01*l*b.ox:b.ox)-l/2,w=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=s-(s*f+w*d),r+=w-(s*j+w*c));if(p)s=l/2,w=g/2,n+=", Dx="+(s-(s*f+w*d)+m)+", Dy="+(w-(s*j+w*c)+r)+")";else{var q=-8>ja?1:-1;s=b.ieOffsetX||0;w=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(v=0;4>v;v++)l=Oa[v],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ha,""))||0,m=g!==b[l]?2>v?-b.ieOffsetX:-b.ieOffsetY:2>v?s-b.ieOffsetX:w-b.ieOffsetY,e[l]=(b[l]=Math.round(g-m*(0===v||2===v?1:q)))+"px";n+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(Ma,-n):n+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==n.indexOf("Dx=0, Dy=0")))(!ga.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Ra=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,r=a.scaleZ,q=0,s=0,w=0,v=d?-1/d:0,t=a.rotation,A=a.zOrigin,u,x,y,B,z;va&&(x=b.top+"",u=parseFloat(x)||0,x=x.substr((u+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?u+0.05:u-0.05)+(""===x?"px":+8>ja?1:-1;s=b.ieOffsetX||0;w=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(v=0;4>v;v++)l=Pa[v],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ha,""))||0,m=g!==b[l]?2>v?-b.ieOffsetX:-b.ieOffsetY:2>v?s-b.ieOffsetX:w-b.ieOffsetY,e[l]=(b[l]=Math.round(g-m*(0===v||2===v?1:q)))+"px";n+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(Na,+n):n+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==n.indexOf("Dx=0, Dy=0")))(!ga.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Sa=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,r=a.scaleZ,q=0,s=0,w=0,v=d?-1/d:0,t=a.rotation,A=a.zOrigin,u,x,y,B,z;va&&(x=b.top+"",u=parseFloat(x)||0,x=x.substr((u+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?u+0.05:u-0.05)+(""===x?"px":x));t&&(u=Math.cos(t),t=Math.sin(t),y=k*t,f=c*-t,k*=u,c*=u,h=y);if(t=a.rotationY)u=Math.cos(t),t=Math.sin(t),B=r*-t,z=v*-t,j=c*t,g=h*t,r*=u,v*=u,c*=u,h*=u,p=B,s=z;if(t=a.rotationX)u=Math.cos(t),t=Math.sin(t),x=f*u+j*t,y=k*u+g*t,B=m*u+r*t,z=w*u+v*t,j=f*-t+j*u,g=k*-t+g*u,r=m*-t+r*u,v=w*-t+v*u,f=x,k=y,m=B,w=z;A&&(q-=A,e=j*q,l=g*q,q=r*q+A);e+=a.x;l+=a.y;q=(1E5*(q+a.z)>>0)/1E5;b[H]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*p>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*k>>0)/1E5+-","+(1E5*m>>0)/1E5+","+(1E5*w>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*r>>0)/1E5+","+(1E5*v>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+q+","+(d?1+-q/d:1)+")"},Sa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[H]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=(1E5*Math.cos(b)*a.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*a.scaleX>>0)/1E5,f=(1E5*Math.sin(d)*-a.scaleY>>0)/1E5,d=(1E5*Math.cos(d)*a.scaleY>>0)/1E5;this.t.style[H]=+","+(1E5*m>>0)/1E5+","+(1E5*w>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*r>>0)/1E5+","+(1E5*v>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+q+","+(d?1+-q/d:1)+")"},Ta=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[H]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=(1E5*Math.cos(b)*a.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*a.scaleX>>0)/1E5,f=(1E5*Math.sin(d)*-a.scaleY>>0)/1E5,d=(1E5*Math.cos(d)*a.scaleY>>0)/1E5;this.t.style[H]="matrix("+c+","+b+","+f+","+d+","+a.x+","+a.y+")"}};q("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=Y(a,r,!0);var h=a.style,k=Fa.length,g,l,p,m,q;if("string"===typeof e.transform&&H)l=h[H],h[H]=e.transform,g=Y(a,null,!1),h[H]=l;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*R;g={scaleX:G(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:G(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:G(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:G(e.x,b.x),y:G(e.y,b.y),z:G(e.z,b.z),perspective:G(e.transformPerspective,b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?na(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:P(l,b.rotation);I&&(g.rotationX=null!=e.shortRotationX?na(e.shortRotationX,b.rotationX):"number"===typeof e.rotationX?e.rotationX*E:P(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?na(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*E:P(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*E:P(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*E:P(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=@@ -48,18 +48,18 @@ l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.s-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,I?(l=b.zOrigin,p=p.split(" "),b.zOrigin=(2<p.length?parseFloat(p[2]):l)||0,f.xs0=f.e=h[d]=p[0]+" "+(p[1]||"50%")+" 0px",f=new y(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=p):ma(p+"",b);q&&(c._transformType=m||3===this._transformType?3:2);return f},!0);q("boxShadow","0px 0px 0px 0px #999",null,!0,!0);q("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,m,n,q,v,s,w,y;q=parseFloat(a.offsetWidth);v=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=T(c[e])),g=k=x(a,c[e],r,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],m=parseFloat(g),w=g.substr((m+"").length),(y="="===l.charAt(1))?(n=parseInt(l.charAt(0)+"1",10),l=l.substr(2),n*=parseFloat(l),s=l.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(l),s=l.substr((n+"").length)),""===s&&(s=ca[d]||w),s!==w&&(g=F(a,"borderLeft",m,w),m=F(a,"borderTop",m,w),"%"===s?(g=100*(g/q)+"%",k=100*(m/v)+"%"):"em"===s?(w=F(a,"borderLeft",1,"em"),g=g/w+"em",k=m/w+"em"):(g+="px",k=m+"px"),y&&(l=parseFloat(g)+n+s,h=parseFloat(k)+n+s)),f=aa(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Da("0px 0px 0px 0px",!1,!0));q("backgroundPosition","0 0",function(a,b,d,c,f,j){d=r||U(a,null);d=this.format((d?ja?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):-d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");ha.setAttribute("src",x(a,"backgroundImage").replace(Ja,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ha.width:a.offsetHeight-ha.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,+d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");ha.setAttribute("src",x(a,"backgroundImage").replace(Ka,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ha.width:a.offsetHeight-ha.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,d,b,f,j)},!1,!1,ma);q("backgroundSize","0 0",null,!1,!1,ma);q("perspective","0px",null,!0);q("perspectiveOrigin","50% 50%",null,!0);q("transformStyle","preserve-3d",null,!0);q("backfaceVisibility","visible",null,!0);q("margin",null,A("marginTop,marginRight,marginBottom,marginLeft"));q("padding",null,A("paddingTop,paddingRight,paddingBottom,paddingLeft"));q("clip","rect(0px,0px,0px,0px)");q("textShadow","0px 0px 0px #999",null,!1,!0);q("autoRound",null,function(a,b,d,c,f){return f});q("border","0px solid #000",-function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,"borderTopWidth",r,!1,"0px")+" "+x(a,"borderTopStyle",r,!1,"solid")+" "+x(a,"borderTopColor",r,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(J)||["#000"])[0]});var Ta=function(a){var b=this.t;a=this.s+this.c*a;var d;100===a&&(b.removeAttribute("filter"),d=!x(this.data,"filter"));d||(this.xn1&&(b.filter=b.filter||"alpha(opacity=100)"),b.filter=-1===b.filter.indexOf("opacity")?-b.filter+(" alpha(opacity="+(a>>0)+")"):b.filter.replace(ga,"opacity="+(a>>0)))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(x(a,"opacity",r,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=x(a,"visibility",r),1===e&&"hidden"===k&&(e=0),f=new y(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));O?f=new y(h,"opacity",e,b-e,f):(f=new y(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===-d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Ta);return f});var Ua=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(qa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};q("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;-f=c._classNamePT=new y(a,d,0,0,f,2);f.setRatio=Ua;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Z(a,r,!0),a.className=f.e,e=Ba(a,b,Z(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(v=m.length;v--;)N(m[v]);m=B.prototype;m._firstPT=null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;-this._vars=b;ia=b.autoRound;ba=!1;ca=b.suffixMap||B.suffixMap;r=U(a,"");da=this._overwriteProps;d=a.style;var c,f,j,e;if(ta&&""===d.zIndex&&(c=x(a,"zIndex",r),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,r),d.cssText=f+";"+b,c=Ba(a,c,Z(a)).difs,!O&&Ia.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;if(H){if(ua){ta=!0;if(""===d.zIndex&&(e=x(a,"zIndex",r),"auto"===e||""===e))d.zIndex=-0;wa&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new y(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&I?Ra:H?Sa:Qa;e.data=this._transform||Y(a,r,!0);da.pop()}if(ba){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=-L[j])d=e.parse(a,g,j,this,d,c,b);else if(e=x(a,j,r)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=oa(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=aa(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=aa(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===j||"height"===j){h=a;n=j;k=r;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);-n=Na[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(x(h,"padding"+n[q],k,!0))||0,l-=parseFloat(x(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=ca[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,-100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new y(f,j,h,k-h,d,0,"css_"+j,!1!==ia&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(d=new y(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0="display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||-0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+-d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2};m._linkCSSP=function(a,b,d,c){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),d?d._next=a:!c&&null===this._firstPT&&(this._firstPT=-a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=-this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return V.prototype._kill.call(this,b)||d};V.activate([B]);return B},!0)});window._gsDefine&&_gsQueue.pop()();\ No newline at end of file+function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,"borderTopWidth",r,!1,"0px")+" "+x(a,"borderTopStyle",r,!1,"solid")+" "+x(a,"borderTopColor",r,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(J)||["#000"])[0]});var Ua=function(a){var b=this.t,d=b.filter;a=this.s+this.c*a>>0;var c;100===a&&(-1===d.indexOf("atrix(")&&-1===d.indexOf("radient(")?(b.removeAttribute("filter"),c=!x(this.data,"filter")):(b.filter=d.replace(Ja,+""),c=!0));c||(this.xn1&&(b.filter=d=d||"alpha(opacity=100)"),b.filter=-1===d.indexOf("opacity")?b.filter+(" alpha(opacity="+a+")"):d.replace(ga,"opacity="+a))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(x(a,"opacity",r,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=x(a,"visibility",r),1===e&&"hidden"===k&&(e=0),f=new y(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));O?f=new y(h,+"opacity",e,b-e,f):(f=new y(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Ua);return f});var Va=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(qa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=+this.b)};q("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new y(a,d,0,0,f,2);f.setRatio=Va;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Z(a,r,!0),a.className=f.e,e=Ba(a,b,Z(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(v=m.length;v--;)N(m[v]);m=B.prototype;m._firstPT=+null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ia=b.autoRound;ba=!1;ca=b.suffixMap||B.suffixMap;r=U(a,"");da=this._overwriteProps;d=a.style;var c,f,j,e;if(ta&&""===d.zIndex&&(c=x(a,"zIndex",r),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,r),d.cssText=f+";"+b,c=Ba(a,c,Z(a)).difs,!O&&Ia.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;+if(H){if(ua){ta=!0;if(""===d.zIndex&&(e=x(a,"zIndex",r),"auto"===e||""===e))d.zIndex=0;wa&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new y(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&I?Sa:H?Ta:Ra;e.data=this._transform||Y(a,r,!0);da.pop()}if(ba){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};+m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=L[j])d=e.parse(a,g,j,this,d,c,b);else if(e=x(a,j,r)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=oa(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=aa(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=aa(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===+j||"height"===j){h=a;n=j;k=r;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=Oa[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(x(h,"padding"+n[q],k,!0))||0,l-=parseFloat(x(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=ca[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==+m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new y(f,j,h,k-h,d,0,"css_"+j,!1!==ia&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(d=new y(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0="display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=+function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===+c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2};m._linkCSSP=function(a,b,d,c){a&&(b&&(b._prev=+a),a._next&&(a._next._prev=a._prev),d?d._next=a:!c&&null===this._firstPT&&(this._firstPT=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&+this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return V.prototype._kill.call(this,b)||d};V.activate([B]);return B},!0)});window._gsDefine&&_gsQueue.pop()();\ No newline at end of filediff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.jsindex 74be3b2..f7255b3 100755--- a/src/uncompressed/TweenMax.js+++ b/src/uncompressed/TweenMax.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.664- * DATE: 2012-12-21+ * VERSION: beta 1.665+ * DATE: 2012-12-22* JavaScript (ActionScript 3 and 2 also available)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -33,7 +33,7 @@p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),_blankArray = [];- TweenMax.version = 1.664;+ TweenMax.version = 1.665;p.constructor = TweenMax;p.kill()._gc = false;TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;@@ -2078,6 +2078,7 @@_suffixExp = /(?:\d|\-|\+|=|#|\.)*/g,_opacityExp = /opacity *= *([^)]*)/,_opacityValExp = /opacity:([^;]*)/,+ _alphaFilterExp = /alpha\(opacity *=.+?\)/i,_capsExp = /([A-Z])/g,_camelExp = /-([a-z])/gi,_urlExp = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, //for pulling out urls from url(...) or url("...") strings (some browsers wrap urls in quotes, some don't when reporting things like backgroundImage)@@ -3420,7 +3421,6 @@}, true);-_registerComplexSpecialProp("boxShadow", "0px 0px 0px 0px #999", null, true, true);_registerComplexSpecialProp("borderRadius", "0px", function(t, e, p, cssp, pt, plugin) {e = this.format(e);@@ -3522,21 +3522,27 @@//opacity-relatedvar _setIEOpacityRatio = function(v) {- var t = this.t,- val = this.s + this.c * v,+ var t = this.t, //refers to the element's style property+ filters = t.filter,+ val = (this.s + this.c * v) >> 0,skip;- if (val === 100) { //for older versions of IE that need to use a filter to apply opacity, we should remove the filter if opacity hits 1 in order to improve performance.- t.removeAttribute("filter");- skip = (!_getStyle(this.data, "filter")); //if a class is applied that has an alpha filter, it will take effect (we don't want that), so re-apply our alpha filter in that case. We must first remove it and then check.+ if (val === 100) { //for older versions of IE that need to use a filter to apply opacity, we should remove the filter if opacity hits 1 in order to improve performance, but make sure there isn't a transform (matrix) or gradient in the filters.+ if (filters.indexOf("atrix(") === -1 && filters.indexOf("radient(") === -1) {+ t.removeAttribute("filter");+ skip = (!_getStyle(this.data, "filter")); //if a class is applied that has an alpha filter, it will take effect (we don't want that), so re-apply our alpha filter in that case. We must first remove it and then check.+ } else {+ t.filter = filters.replace(_alphaFilterExp, "");+ skip = true;+ }}if (!skip) {if (this.xn1) {- t.filter = t.filter || "alpha(opacity=100)"; //works around bug in IE7/8 that prevents changes to "visibility" from being applied properly if the filter is changed to a different alpha on the same frame.+ t.filter = filters = filters || "alpha(opacity=100)"; //works around bug in IE7/8 that prevents changes to "visibility" from being applied properly if the filter is changed to a different alpha on the same frame.}- if (t.filter.indexOf("opacity") === -1) { //only used if browser doesn't support the standard opacity style property (IE 7 and 8)- t.filter += " alpha(opacity=" + (val >> 0) + ")"; //we round the value because otherwise, bugs in IE7/8 can prevent "visibility" changes from being applied properly.+ if (filters.indexOf("opacity") === -1) { //only used if browser doesn't support the standard opacity style property (IE 7 and 8)+ t.filter += " alpha(opacity=" + val + ")"; //we round the value because otherwise, bugs in IE7/8 can prevent "visibility" changes from being applied properly.} else {- t.filter = t.filter.replace(_opacityExp, "opacity=" + (val >> 0));+ t.filter = filters.replace(_opacityExp, "opacity=" + val);}}};diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.jsindex a4395ee..ce9bb83 100755--- a/src/uncompressed/plugins/CSSPlugin.js+++ b/src/uncompressed/plugins/CSSPlugin.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.664- * DATE: 2012-12-21+ * VERSION: beta 1.665+ * DATE: 2012-12-22* JavaScript* UPDATES AND DOCS AT: http://www.greensock.com*@@ -29,7 +29,7 @@p = CSSPlugin.prototype = new TweenPlugin("css");p.constructor = CSSPlugin;- CSSPlugin.version = 1.664;+ CSSPlugin.version = 1.665;CSSPlugin.API = 2;CSSPlugin.defaultTransformPerspective = 0;p = "px"; //we'll reuse the "p" variable to keep file size down@@ -44,6 +44,7 @@_suffixExp = /(?:\d|\-|\+|=|#|\.)*/g,_opacityExp = /opacity *= *([^)]*)/,_opacityValExp = /opacity:([^;]*)/,+ _alphaFilterExp = /alpha\(opacity *=.+?\)/i,_capsExp = /([A-Z])/g,_camelExp = /-([a-z])/gi,_urlExp = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, //for pulling out urls from url(...) or url("...") strings (some browsers wrap urls in quotes, some don't when reporting things like backgroundImage)@@ -1563,21 +1564,27 @@//opacity-relatedvar _setIEOpacityRatio = function(v) {- var t = this.t,- val = this.s + this.c * v,+ var t = this.t, //refers to the element's style property+ filters = t.filter,+ val = (this.s + this.c * v) >> 0,skip;- if (val === 100) { //for older versions of IE that need to use a filter to apply opacity, we should remove the filter if opacity hits 1 in order to improve performance.- t.removeAttribute("filter");- skip = (!_getStyle(this.data, "filter")); //if a class is applied that has an alpha filter, it will take effect (we don't want that), so re-apply our alpha filter in that case. We must first remove it and then check.+ if (val === 100) { //for older versions of IE that need to use a filter to apply opacity, we should remove the filter if opacity hits 1 in order to improve performance, but make sure there isn't a transform (matrix) or gradient in the filters.+ if (filters.indexOf("atrix(") === -1 && filters.indexOf("radient(") === -1) {+ t.removeAttribute("filter");+ skip = (!_getStyle(this.data, "filter")); //if a class is applied that has an alpha filter, it will take effect (we don't want that), so re-apply our alpha filter in that case. We must first remove it and then check.+ } else {+ t.filter = filters.replace(_alphaFilterExp, "");+ skip = true;+ }}if (!skip) {if (this.xn1) {- t.filter = t.filter || "alpha(opacity=100)"; //works around bug in IE7/8 that prevents changes to "visibility" from being applied properly if the filter is changed to a different alpha on the same frame.+ t.filter = filters = filters || "alpha(opacity=100)"; //works around bug in IE7/8 that prevents changes to "visibility" from being applied properly if the filter is changed to a different alpha on the same frame.}- if (t.filter.indexOf("opacity") === -1) { //only used if browser doesn't support the standard opacity style property (IE 7 and 8)- t.filter += " alpha(opacity=" + (val >> 0) + ")"; //we round the value because otherwise, bugs in IE7/8 can prevent "visibility" changes from being applied properly.+ if (filters.indexOf("opacity") === -1) { //only used if browser doesn't support the standard opacity style property (IE 7 and 8)+ t.filter += " alpha(opacity=" + val + ")"; //we round the value because otherwise, bugs in IE7/8 can prevent "visibility" changes from being applied properly.} else {- t.filter = t.filter.replace(_opacityExp, "opacity=" + (val >> 0));+ t.filter = filters.replace(_opacityExp, "opacity=" + val);}}};