Skip to content

armgit / GSAP

Public Imported from GitHub
0

GSAP (GreenSock Animation Platform): high-performance JavaScript animation for anything JavaScript can touch. 100% free, including every plugin.

Fixed minor 3D transform issue

Jack Doylead327e2bd237
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.js
index f949452..9b2f35b 100755
--- a/src/minified/TweenMax.min.js
+++ b/src/minified/TweenMax.min.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.661
- * DATE: 2012-12-14
+ * VERSION: beta 1.662
+ * DATE: 2012-12-15
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -12,135 +12,135 @@
*
* @author: Jack Doyle, [email protected]
**/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,v,j){var n=function(f,d,a){j.call(this,f,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=j.to({},0.1,{}),b=[];n.version=1.661;k.constructor=n;k.kill()._gc=!1;n.killTweensOf=n.killDelayedCallsTo=j.killTweensOf;n.getTweensOf=j.getTweensOf;n.ticker=j.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 j.prototype.invalidate.call(this)};k.updateTo=function(f,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 f)this.vars[g]=f[g];if(this._initted)if(d)this._initted=
-!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&j._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 r;g;)r=g.s+g.c,g.c*=a,g.s=r-g.c,g=g._next}return this};k.render=function(f,d,a){var g=!this._dirty?this._totalDuration:this.totalDuration(),r=this._time,c=this._totalTime,t=this._cycle,w,D;if(f>=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,D="onComplete"),0===this._duration){if(0===f||0>this._rawPrevTime)this._rawPrevTime!==f&&(a=!0);this._rawPrevTime=f}}else if(0>=f){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)D=
-"onReverseComplete",w=this._reversed;0>f?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=f)):this._initted||(a=!0)}else if(this._totalTime=this._time=f,0!==this._repeat&&(f=this._duration+this._repeatDelay,this._cycle=this._totalTime/f>>0,0!==this._cycle&&this._cycle===this._totalTime/f&&this._cycle--,this._time=this._totalTime-this._cycle*f,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){f=this._time/this._duration;var g=this._easeType,s=this._easePower;if(1===g||3===g&&0.5<=f)f=1-f;3===g&&(f*=2);1===s?f*=f:2===s?f*=f*f:3===s?f*=f*f*f:4===s&&(f*=f*f*f*f);this.ratio=1===g?1-f:2===g?f:0.5>this._time/this._duration?f/2:1-f/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(r===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var p=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=p.prototype=f.to({},0.1,{}),b=[];p.version=1.661;k.constructor=p;k.kill()._gc=!1;p.killTweensOf=p.killDelayedCallsTo=f.killTweensOf;p.getTweensOf=f.getTweensOf;p.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!==
-t&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));D&&!this._gc&&(w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[D]&&this.vars[D].apply(this.vars[D+"Scope"]||this,this.vars[D+"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,r,c,b){g=g||0;var t=[],D=a.length,s=z.delay||0,B,q,j;for(q=0;q<D;q++){B={};for(j in z)B[j]=z[j];B.delay=s;q===D-1&&r&&(B.onComplete=function(){z.onComplete&&z.onComplete.apply(z.onCompleteScope,z.onCompleteParams);r.apply(b,c)});t[q]=new n(a[q],d,B);s+=g}return t};n.staggerFrom=n.allFrom=function(a,d,z,g,r,c,b){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return n.staggerTo(a,d,z,g,r,c,b)};n.staggerFromTo=
-n.allFromTo=function(a,d,z,g,c,b,t,w){g.startAt=z;z.immediateRender&&(g.immediateRender=!0);return n.staggerTo(a,d,g,c,b,t,w)};n.delayedCall=function(a,d,c,g,r){return new n(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:g,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:g,immediateRender:!1,useFrames:r,overwrite:0})};n.set=function(a,d){return new n(a,0,d)};n.isTweening=function(a){a=j.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=[],g=0,r=a._first;r;)r instanceof j?c[g++]=r:(d&&(c[g++]=r),c=c.concat(t(r,d)),g=c.length),r=r._next;return c},c=n.getAllTweens=function(a){return t(l._rootTimeline,a).concat(t(l._rootFramesTimeline,a))};n.killAll=function(a,d,z,g){null==d&&(d=!0);null==z&&(z=!0);var r=c(!1!=g),b=r.length;g=d&&z&&g;var t,w,D;for(D=0;D<b;D++)if(w=r[D],g||w instanceof v||(t=w.target===w.vars.onComplete)&&z||d&&!t)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=j._tweenLookup,g=[],r,b;for(b in c)for(r=c[b].target.parentNode;r;)r===a&&(g=g.concat(c[b].tweens)),r=r.parentNode;r=g.length;for(c=0;c<r;c++)d&&g[c].totalTime(g[c].totalDuration()),g[c]._enabled(!1,!1)}};n.pauseAll=function(f,d,c){a(!0,f,d,c)};n.resumeAll=function(f,d,c){a(!1,f,d,c)};var a=function(a,d,b,g){void 0==d&&(d=!0);void 0==b&&(b=!0);var r=c(g);g=d&&b&&g;
-for(var t=r.length,j,w;-1<--t;)w=r[t],(g||w instanceof v||(j=w.target===w.vars.onComplete)&&b||d&&!j)&&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;
+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))}};p.to=function(a,d,z){return new p(a,d,z)};p.from=function(a,d,z){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return new p(a,d,z)};p.fromTo=function(a,d,z,g){g.startAt=z;z.immediateRender&&
+(g.immediateRender=!0);return new p(a,d,g)};p.staggerTo=p.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 p(a[q],d,D);t+=g}return s};p.staggerFrom=p.allFrom=function(a,d,z,g,u,c,b){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return p.staggerTo(a,d,z,g,u,c,b)};p.staggerFromTo=
+p.allFromTo=function(a,d,z,g,c,b,s,w){g.startAt=z;z.immediateRender&&(g.immediateRender=!0);return p.staggerTo(a,d,g,c,b,s,w)};p.delayedCall=function(a,d,c,g,u){return new p(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:g,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:g,immediateRender:!1,useFrames:u,overwrite:0})};p.set=function(a,d){return new p(a,0,d)};p.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=p.getAllTweens=function(a){return s(l._rootTimeline,a).concat(s(l._rootFramesTimeline,a))};p.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)};p.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,g){p.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)}};p.pauseAll=function(j,d,c){a(!0,j,d,c)};p.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,v,j){var n=function(a){v.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 f,d;-1<--a;)if(d=this.vars[k[a]])for(f=d.length;-1<--f;)"{self}"===d[f]&&(d=this.vars[k[a]]=d.concat(),d[f]=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=[],t=function(a){var f={},d;for(d in a)f[d]=a[d];return f},c=n.prototype=new v;n.version=1.641;c.constructor=n;c.kill()._gc=!1;c.to=function(a,f,d,c,g){return this.insert(new j(a,f,d),this._parseTimeOrLabel(g,c,!0))};c.from=function(a,f,d,c,g){return this.insert(j.from(a,f,d),this._parseTimeOrLabel(g,c,!0))};c.fromTo=function(a,f,d,c,g,r){return this.insert(j.fromTo(a,f,d,c),this._parseTimeOrLabel(r,g,!0))};c.staggerTo=function(a,f,d,c,g,r,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=t(d.startAt)),b.insert(new j(a[k],f,t(d)),k*c);return this.insert(b,this._parseTimeOrLabel(r,g,!0))};c.staggerFrom=function(a,f,d,c,g,r,b,t,w){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,f,d,c,g,r,b,t,w)};c.staggerFromTo=function(a,f,d,c,g,r,b,t,w,D){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,f,c,g,r,b,t,w,D)};c.call=function(a,f,d,c,g){return this.insert(j.delayedCall(0,
-a,f,d),this._parseTimeOrLabel(g,c,!0))};c.set=function(a,f,d,c){f.immediateRender=!1;return this.insert(new j(a,0,f),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,r;g;)r=g._next,(!c||!(g instanceof j&&g.target===g.vars.onComplete))&&d.insert(g,g._startTime-g._delay),g=r;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=j.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}v.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,r=this._parseTimeOrLabel(c||
-0,0,!0),t=a.length;for(c=0;c<t;c++){if((g=a[c])instanceof Array)g=new n({tweens:g});this.insert(g,r);"string"===typeof g||"function"===typeof g||("sequence"===d?r=g._startTime+g.totalDuration()/g._timeScale:"start"===d&&(g._startTime-=g.delay()));r+=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=
+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 p},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var p=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=p.prototype=new r;p.version=1.641;c.constructor=p;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 p({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))};p.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new p(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 p({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=
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 v.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(),g=this._time,r=this._startTime,j=this._timeScale,n=this._paused,w,D,s;if(a>=t){this._totalTime=this._time=t;if(!this._reversed&&!this._hasPausedChild()&&(w=!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!==g||0===this._duration&&0<this._rawPrevTime)s="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;){D=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=D}else for(d=this._last;d;){D=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=D}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(s&&!this._gc&&(r===this._startTime||j!=this._timeScale))if(0===this._time||t>=this.totalDuration())w&&(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
-n&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var g=[],r=this._first,t=0;r;)r._startTime<b||(r instanceof j?!1!=c&&(g[t++]=r):(!1!=d&&(g[t++]=r),!1!=a&&(g=g.concat(r.getChildren(!0,c,d)),t=g.length))),r=r._next;return g};c.getTweensOf=function(a,c){for(var d=j.getTweensOf(a),b=d.length,g=[],r=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))g[r++]=d[b];return g};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=
+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,p=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&&!p)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&&!p)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
+p&&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 v.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(),
+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,
-v,j){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 j(null,null,1,0);j=n.prototype=new l;j.constructor=n;j.kill()._gc=!1;n.version=1.641;j.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)};j.addCallback=function(b,c,a,f){return this.insert(v.delayedCall(0,
-b,a,f),c)};j.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),f=a.length,d=this._parseTimeOrLabel(c);-1<--f;)a[f]._startTime===d&&a[f]._enabled(!1,!1);return this};j.tweenTo=function(t,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},f,d;for(f in c)a[f]=c[f];a.time=this._parseTimeOrLabel(t);d=new v(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};j.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)};j.render=function(b,c,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var f=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,
-j=this._totalTime,g=this._startTime,r=this._timeScale,n=this._rawPrevTime,v=this._paused,w=this._cycle,D,s;if(b>=f){this._locked||(this._totalTime=f,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(D=!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",D=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 B=this._duration+this._repeatDelay;this._cycle=this._totalTime/B>>0;0!==this._cycle&&this._cycle===this._totalTime/B&&this._cycle--;this._time=
-this._totalTime-this._cycle*B;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 B=this._yoyo&&0!==(w&1),q=B===(this._yoyo&&0!==(this._cycle&1)),U=this._totalTime,G=this._cycle,L=this._rawPrevTime,y=this._time;this._totalTime=w*this._duration;this._cycle<w?B=!B:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=
-0===this._duration?n-1E-5:n;this._cycle=w;this._locked=!0;d=B?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=B?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=y;this._totalTime=U;this._cycle=G;this._rawPrevTime=L;this._locked=!1}if(this._time===d&&!a)j!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||
-k));else{this._initted||(this._initted=!0);0===j&&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;){j=a._next;if(this._paused&&!v)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=j}else for(a=this._last;a;){j=a._prev;
-if(this._paused&&!v)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=j}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(s&&!this._locked&&!this._gc&&(g===this._startTime||r!==this._timeScale))if(0===this._time||f>=this.totalDuration())D&&(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"]||k)}};j.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var f=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,j;for(d=0;d<a;d++)if(j=b[d],!j._paused&&j._timeline._time>=j._startTime&&j._timeline._time<j._startTime+j._totalDuration/j._timeScale){var g;a:{for(g=j._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g=!1}g||(f[c++]=j)}return f};j.getLabelAfter=function(b){!b&&
-0!==b&&(b=this._time);var c=this.getLabelsArray(),a=c.length,f;for(f=0;f<a;f++)if(c[f].time>b)return c[f].name;return null};j.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};j.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};j.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)};j.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};j.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))};j.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)};j.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};
-j.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};j.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};j.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 v=function(){l.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},j=v.prototype=
-new l("bezier",1),n=180/Math.PI,k=Math.PI/180,b=[],t=[],c=[],a={},f=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=v.bezierThrough=function(d,r,j,n,w,D){var s={},B=[],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==r&&(r=1);for(k in d[0])B.push(k);b.length=t.length=c.length=0;for(q=B.length;-1<
---q;){k=B[q];a[k]=-1!==w.indexOf(","+k+",");G=s;var v=k,y;y=d;var h=k,F=a[k],u=D,E=[],A=void 0,x=void 0,l=void 0,e=void 0,m=void 0,A=void 0;if(u){y=[u].concat(y);for(x=y.length;-1<--x;)if("string"===typeof(A=y[x][h]))"="===A.charAt(1)&&(y[x][h]=u[h]+Number(A.charAt(0)+A.substr(2)))}A=y.length-2;if(0>A)E[0]=new f(y[0][h],0,0,y[-1>A?0:1][h]);else{for(x=0;x<A;x++)l=y[x][h],e=y[x+1][h],E[x]=new f(l,0,0,e),F&&(m=y[x+2][h],b[x]=(b[x]||0)+(e-l)*(e-l),t[x]=(t[x]||0)+(m-e)*(m-e));E[x]=new f(y[x][h],0,0,y[x+
-1][h])}y=E;G[v]=y}for(q=b.length;-1<--q;)b[q]=Math.sqrt(b[q]),t[q]=Math.sqrt(t[q]);if(!n){for(q=B.length;-1<--q;)if(a[k]){d=s[B[q]];G=d.length-1;for(w=0;w<G;w++)D=d[w+1].da/t[w]+d[w].da/b[w],c[w]=(c[w]||0)+D*D}for(q=c.length;-1<--q;)c[q]=Math.sqrt(c[q])}for(q=B.length;-1<--q;){k=B[q];d=s[k];w=r;D=j;G=n;k=a[k];v=d.length-1;y=0;for(var h=d[0].a,p=m=e=u=A=e=l=A=x=l=E=u=F=void 0,F=0;F<v;F++)x=d[y],u=x.a,E=x.d,l=d[y+1].d,k?(e=b[F],m=t[F],p=0.25*(m+e)*w/(G?0.5:c[F]||0.5),A=E-(E-u)*(G?0.5*w:p/e),l=E+(l-
-E)*(G?0.5*w:p/m),e=E-(A+(l-A)*(3*e/(e+m)+0.5)/4)):(A=E-0.5*(E-u)*w,l=E+0.5*(l-E)*w,e=E-(A+l)/2),A+=e,l+=e,x.c=A,x.b=0!==F?h:h=x.a+0.6*(x.c-x.a),x.da=E-u,x.ca=A-u,x.ba=h-u,D?(u=z(u,h,A,E),d.splice(y,1,u[0],u[1],u[2],u[3]),y+=4):y++,h=l;x=d[y];x.b=h;x.c=h+0.4*(x.d-h);x.da=x.d-x.a;x.ca=x.c-x.a;x.ba=h-x.a;D&&(u=z(x.a,h,x.c,x.d),d.splice(y,1,u[0],u[1],u[2],u[3]))}return s},z=v.cubicToQuadratic=function(a,c,d,b){var f={a:a},j={},s={},k={c:b},q=(a+c)/2,n=(c+d)/2;d=(d+b)/2;c=(q+n)/2;var n=(n+d)/2,v=(n-c)/
-8;f.b=q+(a-q)/4;j.b=c+v;f.c=j.a=(f.b+j.b)/2;j.c=s.a=(c+n)/2;s.b=n-v;k.b=d+(b-d)/4;s.c=k.a=(s.b+k.b)/2;return[f,j,s,k]};v.quadraticToCubic=function(a,c,d){return new f(a,(2*c+a)/3,(2*c+d)/3,d)};j.constructor=v;v.API=2;v._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,f,j,q,n){g instanceof Array&&(g={values:g});n=new v;f=g.values;var l=f.length-
-1,t=[],y={},h,F,u;if(0>l)return q;for(h=0;h<=l;h++)u=c(a,f[h],j,q,n,l!==h),t[h]=u.end;for(F in g)y[F]=g[F];y.values=t;q=new b(a,"bezier",0,0,u.pt,2);q.data=u;q.plugin=n;q.setRatio=d;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(h=!0===y.autoRotate?0:Number(y.autoRotate)*k,y.autoRotate=null!=u.end.left?[["left","top","rotation",h,!0]]:null!=u.end.x?[["x","y","rotation",h,!0]]:!1);y.autoRotate&&(j._transform||j._enableTransforms(!1),u.autoRotate=j._target._gsTransform);
-n._onInitTween(u.proxy,y,j._tween);return q})}};j._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);var j=c.values||[],n={},k=j[0];b=c.autoRotate||b.vars.orientToBezier;var s,B,q;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(s in k)this._props.push(s);for(k=this._props.length;-1<--k;)s=this._props[k],this._overwriteProps.push(s),b=this._func[s]=
-"function"===typeof a[s],n[s]=!b?parseFloat(a[s]):a[s.indexOf("set")||"function"!==typeof a["get"+s.substr(3)]?s:"get"+s.substr(3)](),q||n[s]!==j[0][s]&&(q=n);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)n=d(j,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,v,t,y,h,F,u,E,A;b&&n&&(j=[n].concat(j));if(null==j||j.length<q+1)throw"invalid Bezier data";for(v in j[0])k.push(v);for(F=k.length;-1<
---F;){v=k[F];c[v]=h=[];A=0;E=j.length;for(u=0;u<E;u++)l=null==n?j[u][v]:"string"===typeof(t=j[u][v])&&"="===t.charAt(1)?n[v]+Number(t.charAt(0)+t.substr(2)):Number(t),b&&1<u&&u<E-1&&(h[A++]=(l+h[A-2])/2),h[A++]=l;E=A-q+1;for(u=A=0;u<E;u+=q)l=h[u],v=h[u+1],t=h[u+2],y=2===q?0:h[u+3],h[A++]=t=3===q?new f(l,v,t,y):new f(l,(2*v+l)/3,(2*v+t)/3,t);h.length=A}n=c}this._beziers=n;this._segCount=this._beziers[s].length;if(this._timeRes){k=this._beziers;s=this._timeRes;s=s>>0||6;n=[];v=[];j=t=0;c=s-1;q=[];b=
-[];for(B in k){l=k[B];h=n;F=s;u=1/F;E=l.length;for(var x=void 0,z=void 0,e=y=A=z=void 0,m=x=void 0,p=void 0,p=e=void 0;-1<--E;){e=l[E];z=e.a;A=e.d-z;y=e.c-z;e=e.b-z;z=0;for(m=1;m<=F;m++)x=u*m,p=1-x,x=z-(z=(x*x*A+3*p*(x*y+p*e))*x),p=E*F+m-1,h[p]=(h[p]||0)+x*x}}k=n.length;for(B=0;B<k;B++)t+=Math.sqrt(n[B]),l=B%s,b[l]=t,l===c&&(j+=t,l=B/s>>0,q[l]=b,v[l]=j,t=0,b=[]);this._length=j;this._lengths=v;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(B=0;3>B;B++)s=b[k][B],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};j.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,j,f,k,l,q;if(this._timeRes){j=this._lengths;l=this._curSeg;a*=this._length;f=this._li;if(a>this._l2&&f<c-1){for(c-=1;f<
-c&&(this._l2=j[++f])<=a;);this._l1=j[f-1];this._li=f;this._curSeg=l=this._segments[f];this._s2=l[this._s1=this._si=0]}else if(a<this._l1&&0<f){for(;0<f&&(this._l1=j[--f])>=a;);0===f&&a<this._l1?this._l1=0:f++;this._l2=j[f];this._li=f;this._curSeg=l=this._segments[f];this._s1=l[(this._si=l.length-1)-1]||0;this._s2=l[this._si]}j=f;a-=this._l1;f=this._si;if(a>this._s2&&f<l.length-1){for(c=l.length-1;f<c&&(this._s2=l[++f])<=a;);this._s1=l[f-1];this._si=f}else if(a<this._s1&&0<f){for(;0<f&&(this._s1=l[--f])>=
-a;);0===f&&a<this._s1?this._s1=0:f++;this._s2=l[f];this._si=f}l=(f+(a-this._s1)/(this._s2-this._s1))*this._prec}else j=0>a?0:1<=a?c-1:c*a>>0,l=(a-j*(1/c))*c;c=1-l;for(f=this._props.length;-1<--f;)if(a=this._props[f],k=this._beziers[a][j],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,v,t,z,y,h;for(f=c.length;-1<--f;)a=c[f][2],y=c[f][3]||0,h=!0===c[f][4]?1:n,k=this._beziers[c[f][0]][j],q=this._beziers[c[f][1]][j],
-v=k.a+(k.b-k.a)*l,t=k.b+(k.c-k.b)*l,v+=(t-v)*l,t+=(k.c+(k.d-k.c)*l-t)*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,t-v)*h+y,b[a]?b[a].call(d,q):d[a]=q}};j._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};j._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([v]);return v},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(l){var v=function(){l.call(this,"css");this._overwriteProps.length=0},j,n,k,b,t={},c=v.prototype=new l("css");c.constructor=v;v.version=1.661;v.API=2;v.defaultTransformPerspective=0;c="px";v.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,f=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
-d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,z=/[^\d\-\.]/g,g=/(?:\d|\-|\+|=|#|\.)*/g,r=/opacity *= *([^)]*)/,Z=/opacity:([^;]*)/,R=/([A-Z])/g,w=/-([a-z])/gi,D=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,s=function(a,e){return e.toUpperCase()},B=/(?:Left|Right|Width)/i,q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,U=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=Math.PI/180,L=180/Math.PI,y={},h=document,F=h.createElement("div"),u=h.createElement("img"),E=v._internals={_specialProps:t},A=navigator.userAgent,
-x,V,e,m,p,C,J,S=A.indexOf("Android"),H=h.createElement("div");p=(e=-1!==A.indexOf("Safari")&&-1===A.indexOf("Chrome")&&(-1===S||3<Number(A.substr(S+8,1))))&&6>Number(A.substr(A.indexOf("Version/")+8,1));m=-1!==A.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A);C=parseFloat(RegExp.$1);H.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";J=(A=H.getElementsByTagName("a")[0])?/^0.55/.test(A.style.opacity):!1;var O=function(a){return r.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:
-a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ma="",ha="",ba=function(a,e){e=e||F;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?(ha=3===d?"ms":b[d],ma="-"+ha.toLowerCase()+"-",ha+a):null},ca=h.defaultView?h.defaultView.getComputedStyle:function(){},M=v.getStyle=function(a,e,c,b,d){var h;if(!J&&"opacity"===e)return O(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},fa=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,s)]=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,s)]=e[h];J||(b.opacity=O(a));a=ea(a,e,!1);
-b.rotation=a.rotation*L;b.rotationX=a.rotationX*L;b.rotationY=a.rotationY*L;b.skewX=a.skewX*L;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;b.filters&&delete b.filters;return b},na=function(a,e,c,b){var d={};a=a.style;var h,I,p;for(I in c)if("cssText"!==I&&"length"!==I&&isNaN(I)&&e[I]!==(h=c[I]))if(-1===I.indexOf("Origin")&&("number"===typeof h||"string"===typeof h))d[I]=(""===h||"auto"===h||"none"===h)&&"string"===typeof e[I]&&""!==e[I].replace(z,"")?0:h,void 0!==
-a[I]&&(p=new ia(a,I,a[I],p));if(b)for(I in b)"className"!==I&&(d[I]=b[I]);return{difs:d,firstMPT:p}},ta={width:["Left","Right"],height:["Top","Bottom"]},ua=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var p=B.test(e),I=a,m=F.style,f=0>c;f&&(c=-c);"%"===b&&-1!==e.indexOf("border")?p=c/100*(p?a.clientWidth:a.clientHeight):(m.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"===b||"em"===
-b||!I.appendChild?(I=a.parentNode||h.body,m[p?"width":"height"]=c+b):m[p?"borderLeftWidth":"borderTopWidth"]=c+b,I.appendChild(F),p=parseFloat(F[p?"offsetWidth":"offsetHeight"]),I.removeChild(F),0===p&&!d&&(p=T(a,e,c,b,!0)));return f?-p:p},ja=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]:"")},oa=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},W=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*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},ka=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]},la=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},X="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in aa)X+="|"+c+"\\b";var X=RegExp(X+")","gi"),pa=function(e,c,b){if(null==e)return function(a){return a};var h=c?(e.match(X)||[""])[0]:"",p=e.split(h).join("").match(d)||[],m=e.substr(0,e.indexOf(p[0])),I=")"===e.charAt(e.length-1)?")":"",f=-1!==e.indexOf(" ")?" ":",",j=p.length,da=0<j?p[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=da);var e=(a.match(X)||[h])[0];a=a.split(e).join("").match(d)||
-[];var c=a.length;if(j>c--)for(;++c<j;)a[c]=b?a[(c-1)/2>>0]:p[c];return m+a.join(f)+f+e+I}:function(a){"number"===typeof a&&(a+=da);a=a.match(d)||[];var e=a.length;if(j>e--)for(;++e<j;)a[e]=b?a[(e-1)/2>>0]:p[e];return m+a.join(f)+I}},A=function(a){a=a.split(",");return function(e,c,b,d,h,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,h,p)}};E._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 ia=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)};E._parseToProxy=function(a,e,c,b,d,h){var p=b,m={},f={},j=c._transform,g=y,k;c._transform=null;y=e;b=a=c.parse(a,e,b,d);y=
-g;h&&(c._transform=j,p&&(p._prev=null,p._prev&&(p._prev._next=null)));for(;b&&b!==p;){if(1>=b.type&&(j=b.p,f[j]=b.s+b.c,m[j]=b.s,h||(k=new ia(b,"s",j,k,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)g="xn"+c,j=b.p+"_"+g,f[j]=b.data[g],m[j]=b[g],h||(k=new ia(b,g,j,k,b.rxp[g]));b=b._next}return{proxy:m,end:f,firstMPT:k,pt:a}};var N=E.CSSPropTween=function(a,e,c,d,h,p,m,f,g,da,k){this.t=a;this.p=e;this.s=c;this.c=d;this.n=m||"css_"+e;a instanceof N||b.push(this.n);this.r=f;this.type=p||0;g&&(this.pr=g,j=!0);
-this.b=void 0===da?c:da;this.e=void 0===k?c+d:k;h&&(this._next=h,h._prev=this)},ga=v.parseComplex=function(e,c,b,d,h,p,m,j,g,k){m=new N(e,c,0,0,m,k?2:1,null,!1,j,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;j=!1!==x;var n,l,C,q,t;b!==c.length&&(e=(p||"").split(" "),b=e.length);m.plugin=g;m.setRatio=k;for(p=0;p<b;p++)if(g=e[p],n=c[p],(k=parseFloat(g))||0===k)m.appendXtra("",k,oa(n,k),n.replace(f,""),j&&-1!==n.indexOf("px"),!0);else if(h&&("#"===g.charAt(0)||
-0===g.indexOf("rgb")||aa[g]))g=la(g),n=la(n),(k=6<g.length+n.length)&&!J&&0===n[3]?(m["xs"+m.l]+=m.l?" transparent":"transparent",m.e=m.e.split(c[p]).join("transparent")):(m.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],m.appendXtra("",g,(4>n.length?1:n[3])-g,")",!1)));else if(k=g.match(a)){C=n.match(f);if(!C||C.length!==k.length)return m;for(n=l=0;n<k.length;n++)t=k[n],q=g.indexOf(t,l),
-m.appendXtra(g.substr(l,q-l),Number(t),oa(C[n],t),"",j&&"px"===g.substr(q+t.length,2),0===n),l=q+t.length;m["xs"+m.l]+=g.substr(l)}else m["xs"+m.l]+=m.l?" "+g:g;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},P=9,c=N.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 m=this.l;
-this["xs"+m]+=h&&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,h){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=h||0},K=E._registerComplexSpecialProp=function(a,e,c,b,d,m,h){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,h)},E=function(a){if(!t[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";K(a,null,function(a,c,b,d,m,h,p){var g=window.com.greensock.plugins[e];if(!g)return window.console&&console.log("Error: "+e+" js file not loaded."),m;g._cssRegister();return t[b].parse(a,c,b,d,m,h,p)})}},c=qa.prototype;
-c.parseComplex=function(a,e,c,b,d,m){return ga(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,k,!1,this.dflt)),this.format(e),d,m)};v.registerSpecialProp=function(a,e,c){K(a,null,function(a,b,d,m,h,p){h=new N(a,d,0,0,h,2,d,!1,c);h.plugin=p;h.setRatio=e(a,b,m._tween,d);return h},!1,!1,null,c)};var ra="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),Q=ba("transform"),va=ma+"transform",
-sa=ba("transformOrigin"),Y=null!==ba("perspective"),ea=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=Y?parseFloat(M(a,sa,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,h,p,g,f,j,k,n,l;Q?h=M(a,va,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);p=(h||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=p.length;-1<--e;)p[e]=Number(p[e]);
-if(16===p.length){if(d=p[8],h=p[9],g=p[10],f=p[12],j=p[13],k=p[14],b.zOrigin&&(k=-b.zOrigin,f=d*k-p[12],j=h*k-p[13],k=g*k+b.zOrigin-p[14]),!c||f!==b.x||j!==b.y||k!==b.z){n=p[0];l=p[1];var C=p[2],t=p[3],J=p[4],r=p[5],s=p[6],S=p[7];p=p[11];var u=b.rotationX=Math.atan2(s,g),O,x,w,H;u&&(w=Math.cos(-u),H=Math.sin(-u),u=J*w+d*H,O=r*w+h*H,x=s*w+g*H,d=J*-H+d*w,h=r*-H+h*w,g=s*-H+g*w,p=S*-H+p*w,J=u,r=O,s=x);if(u=b.rotationY=Math.atan2(d,n))w=Math.cos(-u),H=Math.sin(-u),O=l*w-h*H,x=C*w-g*H,h=l*H+h*w,g=C*H+g*
-w,p=t*H+p*w,n=n*w-d*H,l=O,C=x;if(u=b.rotation=Math.atan2(l,r))w=Math.cos(-u),H=Math.sin(-u),n=n*w+J*H,O=l*w+r*H,r=l*-H+r*w,s=C*-H+s*w,l=O;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(n*n+l*l);b.scaleY=Math.sqrt(r*r+h*h);b.scaleZ=Math.sqrt(s*s+g*g);b.skewX=0;b.perspective=p?1/p:0;b.x=f;b.y=j;b.z=k}}else if(!Y||0===p.length||b.x!==p[4]||b.y!==p[5]||!b.rotationX&&!b.rotationY){f=(h=6<=p.length)?p[0]:1;k=p[1]||0;j=p[2]||0;n=h?
-p[3]:1;b.x=p[4]||0;b.y=p[5]||0;h=Math.sqrt(f*f+k*k);g=Math.sqrt(n*n+j*j);f=f||k?Math.atan2(k,f):b.rotation||0;j=j||n?Math.atan2(j,n)+f:b.skewX||0;k=h-Math.abs(b.scaleX||0);n=g-Math.abs(b.scaleY||0);Math.abs(j)>Math.PI/2&&Math.abs(j)<1.5*Math.PI&&(d?(h*=-1,j+=0>=f?Math.PI:-Math.PI,f+=0>=f?Math.PI:-Math.PI):(g*=-1,j+=0>=j?Math.PI:-Math.PI));d=(f-b.rotation)%Math.PI;l=(j-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=h,b.scaleY=g,b.rotation=
-f,b.skewX=j;Y&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(v.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=Math.cos(b)*e.scaleX,b=Math.sin(b)*e.scaleX,p=Math.sin(c)*-e.scaleY,c=Math.cos(c)*e.scaleY,h=1E-6,m=this.t.style,f=this.t.currentStyle,j;if(f){d<h&&d>-h&&(d=0);b<h&&b>-h&&(b=0);p<h&&p>-h&&(p=0);c<h&&c>-h&&(c=0);h=b;b=-p;p=-h;h=f.filter;m.filter=
-"";var k=this.t.offsetWidth;j=this.t.offsetHeight;var n="absolute"!==f.position,l="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+p+", M22="+c,q=e.x,J=e.y,t,s;null!=e.ox&&(t=(e.oxp?0.01*k*e.ox:e.ox)-k/2,s=(e.oyp?0.01*j*e.oy:e.oy)-j/2,q+=t-(t*d+s*b),J+=s-(t*p+s*c));if(n)t=k/2,s=j/2,l+=", Dx="+(t-(t*d+s*b)+q)+", Dy="+(s-(t*p+s*c)+J)+")";else{var v=8>C?1:-1;t=e.ieOffsetX||0;s=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>p?-p:p)*k))/2+J);for(P=0;4>P;P++)k=ua[P],j=f[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?t-e.ieOffsetX:s-e.ieOffsetY,m[k]=(e[k]=Math.round(j-q*(0===P||2===P?1:v)))+"px";l+=", sizingMethod='auto expand')"}m.filter=-1!==h.indexOf("DXImageTransform.Microsoft.Matrix(")?h.replace(U,l):l+" "+h;if(0===a||1===a)if(1===d&&0===b&&0===p&&1===c&&(!n||-1!==l.indexOf("Dx=0, Dy=0")))(!r.test(h)||100===parseFloat(RegExp.$1))&&
--1===h.indexOf("gradient(")&&m.removeAttribute("filter")}},xa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,p=0,h=0,f=0,j=a.scaleY,g=0,k=0,n=0,l=0,q=a.scaleZ,C=0,t=0,J=0,s=b?-1/b:0,r=a.rotation,v=a.zOrigin,u,w,H,S,O;m&&(w=e.top+"",u=parseFloat(w)||0,w=w.substr((u+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?u+0.05:u-0.05)+(""===w?"px":w));r&&(u=Math.cos(r),r=Math.sin(r),H=j*r,d=c*-r,j*=u,c*=u,f=H);if(r=a.rotationY)u=Math.cos(r),r=Math.sin(r),S=q*-r,O=s*-r,p=c*r,g=f*r,
-q*=u,s*=u,c*=u,f*=u,n=S,t=O;if(r=a.rotationX)u=Math.cos(r),r=Math.sin(r),w=d*u+p*r,H=j*u+g*r,S=l*u+q*r,O=J*u+s*r,p=d*-r+p*u,g=j*-r+g*u,q=l*-r+q*u,s=J*-r+s*u,d=w,j=H,l=S,J=O;v&&(C-=v,h=p*C,k=g*C,C=q*C+v);h+=a.x;k+=a.y;C=1E-5*(1E5*(C+a.z)>>0);e[Q]="matrix3d("+1E-5*(1E5*c>>0)+","+1E-5*(1E5*f>>0)+","+1E-5*(1E5*n>>0)+","+1E-5*(1E5*t>>0)+","+1E-5*(1E5*d>>0)+","+1E-5*(1E5*j>>0)+","+1E-5*(1E5*l>>0)+","+1E-5*(1E5*J>>0)+","+1E-5*(1E5*p>>0)+","+1E-5*(1E5*g>>0)+","+1E-5*(1E5*q>>0)+","+1E-5*(1E5*s>>0)+","+1E-5*
-(1E5*h>>0)+","+1E-5*(1E5*k>>0)+","+C+","+(b?1+-C/b:1)+")"},ya=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=Math.cos(e)*a.scaleX,e=Math.sin(e)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[Q]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0: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,h){if(c._transform)return d;e=c._transform=ea(a,k,!0);var m=a.style,j=ra.length,f,g,n;if("string"===typeof h.transform&&Q)n=m[Q],m[Q]=h.transform,f=ea(a,null,!1),m[Q]=n;else if("object"===typeof h){g=null!=h.rotation?h.rotation:null!=h.rotationZ?h.rotationZ:e.rotation*L;f={scaleX:W(null!=h.scaleX?h.scaleX:h.scale,e.scaleX),scaleY:W(null!=h.scaleY?h.scaleY:h.scale,e.scaleY),scaleZ:W(null!=h.scaleZ?h.scaleZ:h.scale,e.scaleZ),x:W(h.x,e.x),y:W(h.y,e.y),z:W(h.z,e.z),perspective:W(h.transformPerspective,
-e.perspective)};f.rotation=null!=h.shortRotation||null!=h.shortRotationZ?ka(h.shortRotation||h.shortRotationZ||0,e.rotation):"number"===typeof g?g*G:$(g,e.rotation);Y&&(f.rotationX=null!=h.shortRotationX?ka(h.shortRotationX,e.rotationX):"number"===typeof h.rotationX?h.rotationX*G:$(h.rotationX,e.rotationX),f.rotationY=null!=h.shortRotationY?ka(h.shortRotationY,e.rotationY):"number"===typeof h.rotationY?h.rotationY*G:$(h.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==h.skewX?e.skewX:"number"===typeof h.skewX?h.skewX*G:$(h.skewX,e.skewX);f.skewY=null==h.skewY?e.skewY:"number"===typeof h.skewY?h.skewY*G:$(h.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)}n=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!n&&null!=f.scale&&(f.scaleZ=
-1);for(c._transformType=n?3:2;-1<--j;)if(b=ra[j],g=f[b]-e[b],1E-6<g||-1E-6>g||null!=y[b])d=new N(e,b,e[b],g,d),d.xs0=0,d.plugin=p,c._overwriteProps.push(d.n);if((g=h.transformOrigin)||Y&&n&&e.zOrigin)Q?(g=(g||M(a,b,k,!1,"50% 50%"))+"",b=sa,d=new N(m,b,0,0,d,-1,"css_transformOrigin"),d.b=m[b],d.plugin=p,Y?(n=e.zOrigin,g=g.split(" "),e.zOrigin=(2<g.length?parseFloat(g[2]):n)||0,d.xs0=d.e=m[b]=g[0]+" "+(g[1]||"50%")+" 0px",d=new N(e,"zOrigin",0,0,d,-1,d.n),d.b=n,d.xs0=d.e=e.zOrigin):d.xs0=d.e=m[b]=g):
-ja(g+"",e);return d&&d.t===a?(d._next&&(d._next._prev=null),d._next):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 h=a.style,p,m,f,g,j,l,C,q,r,t,s,u;q=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(p=0;p<c.length;p++)this.p.indexOf("border")&&(c[p]=ba(c[p])),g=f=M(a,c[p],k,!1,"0px"),-1!==g.indexOf(" ")&&
-(f=g.split(" "),g=f[0],f=f[1]),j=m=e[p],l=parseFloat(g),s=g.substr((l+"").length),(u="="===j.charAt(1))?(C=parseInt(j.charAt(0)+"1"),j=j.substr(2),C*=parseFloat(j),t=j.substr((C+"").length-(0>C?1:0))||""):(C=parseFloat(j),t=j.substr((C+"").length)),""===t&&(t=n[b]||s),t!==s&&(g=T(a,"borderLeft",l,s),l=T(a,"borderTop",l,s),"%"===t?(g=100*(g/q)+"%",f=100*(l/r)+"%"):"em"===t?(s=T(a,"borderLeft",1,"em"),g=g/s+"em",f=l/s+"em"):(g+="px",f=l+"px"),u&&(j=parseFloat(g)+C+t,m=parseFloat(f)+C+t)),d=ga(h,c[p],
-g+" "+f,j+" "+m,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,e,b,c,d,h){b=k||ca(a,null);b=this.format((b?C?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 p,m,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");p=e.split(" ");u.setAttribute("src",
-M(a,"backgroundImage").replace(D,""));for(m=2;-1<--m;)b=c[m],f=-1!==b.indexOf("%"),f!==(-1!==p[m].indexOf("%"))&&(g=0===m?a.offsetWidth-u.width:a.offsetHeight-u.height,c[m]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,h)},!1,!1,ja);K("backgroundSize","0 0",null,!1,!1,ja);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("margin",null,A("marginTop,marginRight,marginBottom,marginLeft"));
-K("padding",null,A("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,h){return this.parseComplex(a.style,this.format(M(a,"borderTopWidth",k,!1,"0px")+" "+M(a,"borderTopStyle",k,!1,"solid")+" "+M(a,"borderTopColor",k,!1,"#000")),this.format(e),d,h)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+
-(a.match(X)||["#000"])[0]});var za=function(a){var e=this.t;a=this.s+this.c*a;var b;100===a&&(e.removeAttribute("filter"),b=!M(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(r,"opacity="+(a>>0)))};K("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,h){var p=parseFloat(M(a,"opacity",k,!1,"1"));e=parseFloat(e);var m=a.style,f;"autoAlpha"===b&&(f=M(a,"visibility",k),1===p&&
-"hidden"===f&&(p=0),d=new N(m,"visibility",0,0,d,-1,null,!1,0,0!==p?"visible":"hidden",0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));J?d=new N(m,"opacity",p,e-p,d):(d=new N(m,"opacity",100*p,100*(e-p),d),d.xn1="autoAlpha"===b?1:0,m.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=h,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(R,"-$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,h,p){var m=a.className,f=a.style.cssText;d=c._classNamePT=new N(a,b,0,0,d,2);d.setRatio=Aa;d.b=m;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?m+" "+e.substr(2):m.split(e.substr(2)).join("");c._tween._duration&&(e=fa(a,k,!0),a.className=d.e,p=na(a,e,fa(a),p),a.className=m,d.data=p.firstMPT,a.style.cssText=
-f,d=d.xfirst=c.parse(a,p.difs,d,h));return d});c=["bezier","throwProps","physicsProps","physics2D"];for(P=c.length;P--;)E(c[P]);c=v.prototype;c._firstPT=null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=c;x=c.autoRound;j=!1;n=c.suffixMap||v.suffixMap;k=ca(a,"");b=this._overwriteProps;d=a.style;var h,m,f,g;if(V&&""===d.zIndex&&(h=M(a,"zIndex",k),"auto"===h||""===h))d.zIndex=0;"string"===typeof c&&(m=d.cssText,h=fa(a,k),d.cssText=m+";"+c,h=na(a,h,fa(a)).difs,
-!J&&Z.test(c)&&(h.opacity=parseFloat(RegExp.$1)),c=h,d.cssText=m);this._firstPT=c=this.parse(a,c,null);if(this._transformType){h=3===this._transformType;if(Q){if(e){V=!0;if(""===d.zIndex&&(g=M(a,"zIndex",k),"auto"===g||""===g))d.zIndex=0;p&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(h?"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=h&&Y?xa:Q?ya:wa;g.data=this._transform||ea(a,k,!0);b.pop()}if(j){for(;c;){a=
-c._next;for(d=m;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:f)?c._prev._next=c:m=c;(c._next=d)?d._prev=c:f=c;c=a}this._firstPT=m}return!0};c.parse=function(a,e,b,c){var d=a.style,h,p,m,f,g,j,l,C;for(h in e){g=e[h];if(p=t[h])b=p.parse(a,g,h,this,b,c,e);else if(p=M(a,h,k)+"",l="string"===typeof g,"color"===h||"fill"===h||"stroke"===h||-1!==h.indexOf("Color")||l&&!g.indexOf("rgb"))l||(g=la(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=ga(d,h,p,g,!0,"transparent",b,0,c);else if(l&&(-1!==g.indexOf(" ")||
--1!==g.indexOf(",")))b=ga(d,h,p,g,!0,null,b,0,c);else{m=parseFloat(p);j=p.substr((m+"").length);if(""===p||"auto"===p)if("width"===h||"height"===h){m=a;C=h;f=k;j=parseFloat("width"===C?m.offsetWidth:m.offsetHeight);C=ta[C];var q=C.length;for(f=f||ca(m,null);-1<--q;)j-=parseFloat(M(m,"padding"+C[q],f,!0))||0,j-=parseFloat(M(m,"border"+C[q]+"Width",f,!0))||0;m=j;j="px"}else m="opacity"!==h?0:1,j="";(C=l&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1"),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[h]||j);g=f||0===f?(C?f+m:f)+l:e[h];if(j!==l&&""!==l&&(f||0===f))if(m||0===m)if(m=T(a,h,m,j),"%"===l?(m/=T(a,h,100,"%")/100,100<m&&(m=100)):"em"===l?m/=T(a,h,1,"em"):(f=T(a,h,f,l),l="px"),C&&(f||0===f))g=f+m+l;C&&(f+=m);(m||0===m)&&(f||0===f)?(b=new N(d,h,m,f-m,b,0,"css_"+h,!1!==x&&("px"===l||"zIndex"===h),0,p,g),b.xs0=l):(b=new N(d,h,f||m||0,0,b,-1,"css_"+h,!1,0,p,g),b.xs0="display"===h&&"none"===g?p: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([v]);return v},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(l){var v=function(){l.call(this,"roundProps",-1);this._overwriteProps.length=0},j=v.prototype=new l("roundProps",-1);j.constructor=v;v.API=2;j._onInitTween=function(j,k,b){this._tween=
-b;return!0};j._onInitAllProps=function(){for(var j=this._tween,k=j.vars.roundProps instanceof Array?j.vars.roundProps:j.vars.roundProps.split(","),b=k.length,l={},c=j._propLookup.roundProps,a,f,d;-1<--b;)l[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(f=j._firstPT;f;)d=f._next,f.pg?f.t._roundProps(l,!0):f.n===a&&(this._add(f.t,a,f.s,f.c),d&&(d._prev=f._prev),f._prev?f._prev._next=d:j._firstPT===f&&(j._firstPT=d),f._next=f._prev=null,j._propLookup[a]=c),f=d}return!1};j._add=function(j,k,b,l){this._addTween(j,
-k,b,b+l,k,!0);this._overwriteProps.push(k)};l.activate([v]);return v},!0);_gsDefine("easing.Back",["easing.Ease"],function(l){var v=window.com.greensock._class,j=function(a,b){var c=v("easing."+a,function(){},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;return c},n=function(a,b){var c=v("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)}),t=j("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=j("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=j("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}),f=j("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=j("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),z=j("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,r=function(a,b,c){var d=v("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=r("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*g/this._p2)+1},0.3),R=r("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2))},0.3),r=r("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=j("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),D=j("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),s=j("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),B=Math.PI/2,q=j("SineOut",function(a){return Math.sin(a*B)}),U=j("SineIn",function(a){return-Math.cos(a*B)+1}),j=j("SineInOut",function(a){return-0.5*
-(Math.cos(Math.PI*a)-1)}),G=v("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),L=G.prototype=new l;L.constructor=G;L.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);L.config=
-G.config=function(a,b,c){return new G(a,b,c)};var y=v("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),L=y.prototype=new l;L.constructor=y;L.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};L.config=y.config=function(a){return new y(a)};v("easing.Bounce",{easeOut:new t,easeIn:new c,easeInOut:new a},!0);v("easing.Circ",{easeOut:new f,easeIn:new d,easeInOut:new z},!0);v("easing.Elastic",{easeOut:new Z,easeIn:new R,easeInOut:new r},!0);v("easing.Expo",
-{easeOut:new w,easeIn:new D,easeInOut:new s},!0);v("easing.Sine",{easeOut:new q,easeIn:new U,easeInOut:new j},!0);return{easeOut:new k,easeIn:new b,easeInOut:new n}},!0)});
-(function(l){var v=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},j=v("com.greensock"),n,k,b,t,c,a={},f=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var g=b||[],j=[];this.check=function(b){for(var m=g.length,h=0,k;-1<--m;)(k=a[g[m]]||new f(g[m])).gsClass?j[m]=k.gsClass:(h++,b&&k.sc.push(this));if(0===h&&c){b=("com.greensock."+e).split(".");var m=b.pop(),n=v(b.join("."))[m]=this.gsClass=c.apply(c,j);d&&((l.GreenSockGlobals||
-l)[m]=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(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},d=j._class=function(a,b,c){b=b||function(){};new f(a,[],function(){return b},c);return b};l._gsDefine=function(a,b,c,d){return new f(a,b,c,d)};var z=[0,0,1,1],g=[],r=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=r.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),t=d("easing.Power"+k,null,!0),b.easeOut=t.easeOut=new r(null,
-null,1,k),b.easeIn=t.easeIn=new r(null,null,2,k),b.easeInOut=t.easeInOut=new r(null,null,3,k);d("easing.Strong",j.easing.Power4,!0);j.easing.Linear.easeNone=j.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,D=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=D(),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=(D()-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=j.Ticker.prototype=new j.events.EventDispatcher;b.constructor=j.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(u){c||(B.tick(),c=!0);var d=this.vars.useFrames?F:u;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),B=s.ticker=new j.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&&
+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 p},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(l,
+r,f){var p=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=p.prototype=new l;f.constructor=p;f.kill()._gc=!1;p.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,p=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?p-1E-5:p;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 p},!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),p=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,p,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,n=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&&(n=x[y+2][h],b[y]=(b[y]||0)+(e-l)*(e-l),s[y]=(s[y]||0)+(n-e)*(n-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(!p){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=p;k=a[k];r=d.length-1;x=0;for(var h=d[0].a,m=n=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],n=s[B],m=0.25*(n+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/n),e=A-(C+(l-C)*(3*e/(e+n)+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,p=(c+d)/2;d=(d+b)/2;c=(q+p)/2;var p=(p+d)/2,r=(p-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+p)/2;t.b=p-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,p){g instanceof Array&&(g={values:g});p=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,p,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=p;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);
+p._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);var f=c.values||[],p={},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],p[t]=!b?parseFloat(a[t]):a[t.indexOf("set")||"function"!==typeof a["get"+t.substr(3)]?t:"get"+t.substr(3)](),q||p[t]!==f[0][t]&&(q=p);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)p=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&&p&&(f=[p].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==p?f[v][r]:"string"===typeof(s=f[v][r])&&"="===s.charAt(1)?p[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}p=c}this._beziers=p;this._segCount=this._beziers[t].length;if(this._timeRes){k=this._beziers;t=this._timeRes;t=t>>0||6;p=[];r=[];f=s=0;c=t-1;q=[];b=
+[];for(D in k){l=k[D];h=p;B=t;v=1/B;A=l.length;for(var y=void 0,z=void 0,e=x=C=z=void 0,n=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(n=1;n<=B;n++)y=v*n,m=1-y,y=z-(z=(y*y*C+3*m*(y*x+m*e))*y),m=A*B+n-1,h[m]=(h[m]||0)+y*y}}k=p.length;for(D=0;D<k;D++)s+=Math.sqrt(p[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:p,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,p,k,b,s={},c=r.prototype=new l("css");c.constructor=r;r.version=1.661;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,n,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));n=-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.rotationX=a.rotationX*M;b.rotationY=a.rotationY*M;b.skewX=a.skewX*M;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;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,n=B.style,j=0>c;j&&(c=-c);"%"===b&&-1!==e.indexOf("border")?m=c/100*(m?a.clientWidth:a.clientHeight):(n.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"===b||"em"===
+b||!K.appendChild?(K=a.parentNode||h.body,n[m?"width":"height"]=c+b):n[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")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},W=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*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},X="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in aa)X+="|"+c+"\\b";var X=RegExp(X+")","gi"),oa=function(e,c,b){if(null==e)return function(a){return a};var h=c?(e.match(X)||[""])[0]:"",m=e.split(h).join("").match(d)||[],n=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(X)||[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 n+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 n+a.join(j)+K}},C=function(a){a=a.split(",");return function(e,c,b,d,h,m,n){c=(c+"").split(" ");n={};for(b=0;4>b;b++)n[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,n,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,n={},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,n[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],n[f]=b[g],h||(k=new ha(b,g,f,k,b.rxp[g]));b=b._next}return{proxy:n,end:j,firstMPT:k,pt:a}};var O=A.CSSPropTween=function(a,e,c,d,h,m,n,j,g,k,p){this.t=a;this.p=e;this.s=c;this.c=d;this.n=n||"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===p?c+d:p;h&&(this._next=h,h._prev=this)},fa=r.parseComplex=function(e,c,b,d,h,m,n,f,g,k){n=new O(e,c,0,0,n,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 p,l,H,q,s;b!==c.length&&(e=(m||"").split(" "),b=e.length);n.plugin=g;n.setRatio=k;for(m=0;m<b;m++)if(g=e[m],p=c[m],(k=parseFloat(g))||0===k)n.appendXtra("",k,na(p,k),p.replace(j,""),f&&-1!==p.indexOf("px"),!0);else if(h&&("#"===g.charAt(0)||
+0===g.indexOf("rgb")||aa[g]))g=ka(g),p=ka(p),(k=6<g.length+p.length)&&!F&&0===p[3]?(n["xs"+n.l]+=n.l?" transparent":"transparent",n.e=n.e.split(c[m]).join("transparent")):(n.appendXtra(k?"rgba(":"rgb(",g[0],p[0]-g[0],",",!0,!0).appendXtra("",g[1],p[1]-g[1],",",!0).appendXtra("",g[2],p[2]-g[2],k?",":")",!0),k&&(g=4>g.length?1:g[3],n.appendXtra("",g,(4>p.length?1:p[3])-g,")",!1)));else if(k=g.match(a)){H=p.match(j);if(!H||H.length!==k.length)return n;for(p=l=0;p<k.length;p++)s=k[p],q=g.indexOf(s,l),
+n.appendXtra(g.substr(l,q-l),Number(s),na(H[p],s),"",f&&"px"===g.substr(q+s.length,2),0===p),l=q+s.length;n["xs"+n.l]+=g.substr(l)}else n["xs"+n.l]+=n.l?" "+g:g;if(-1!==d.indexOf("=")&&n.data){d=n.xs0+n.data.s;for(m=1;m<n.l;m++)d+=n["xs"+m]+n.data["xn"+m];n.e=d+n["xs"+m]}n.l||(n.type=-1,n.xs0=n.e);return n.xfirst||n},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 n=this.l;
+this["xs"+n]+=h&&n?" "+a:a||"";if(!c&&0!==n&&!this.plugin)return this["xs"+n]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<n)return this.data["xn"+n]=e+c,this.rxp["xn"+n]=d,this["xn"+n]=e,this.plugin||(this.xfirst=new O(this,"xn"+n,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,n,h){this.p=b?ba(a)||a:a;s[a]=s[this.p]=this;this.format=n||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,n,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,n,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,n,h,m){var g=window.com.greensock.plugins[e];if(!g)return window.console&&console.log("Error: "+e+" js file not loaded."),n;g._cssRegister();return s[b].parse(a,c,b,d,n,h,m)})}},c=pa.prototype;
+c.parseComplex=function(a,e,c,b,d,n){return fa(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,n)};c.parse=function(a,e,c,b,d,n){return this.parseComplex(a.style,this.format(N(a,c,k,!1,this.dflt)),this.format(e),d,n)};r.registerSpecialProp=function(a,e,c){L(a,null,function(a,b,d,n,h,m){h=new O(a,d,0,0,h,2,d,!1,c);h.plugin=m;h.setRatio=e(a,b,n._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"),Y=null!==ba("perspective"),da=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,n=Y?parseFloat(N(a,ra,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,h,m,g,j,f,k,p,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],p=m[13],l=m[14],b.zOrigin&&(l=-b.zOrigin,k=d*l-m[12],p=h*l-m[13],l=f*l+b.zOrigin-m[14]),!c||k!==b.x||p!==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=
+p;b.z=l}}else if(!Y||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;p=g?m[3]:1;b.x=m[4]||0;b.y=m[5]||0;g=Math.sqrt(h*h+k*k);j=Math.sqrt(p*p+f*f);h=h||k?Math.atan2(k,h):b.rotation||0;f=f||p?Math.atan2(f,p)+h:b.skewX||0;k=g-Math.abs(b.scaleX||0);p=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<p||-1E-6>p||1E-6<d||-1E-6>d||1E-6<l||-1E-6>l)b.scaleX=g,b.scaleY=j,b.rotation=h,b.skewX=f;Y&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(r.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=n;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,n=this.t.currentStyle,f,j;if(n){j=b;b=-h;h=-j;f=n.filter;m.filter="";var k=this.t.offsetWidth;j=this.t.offsetHeight;var p="absolute"!==n.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(p)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=n[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&&(!p||-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,p=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;n&&(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,p=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*p>>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 n=a.style,j=qa.length,f,g,p;if("string"===typeof m.transform&&Q)p=n[Q],n[Q]=m.transform,f=da(a,null,!1),n[Q]=p;else if("object"===typeof m){g=null!=m.rotation?m.rotation:null!=
+m.rotationZ?m.rotationZ:e.rotation*M;f={scaleX:W(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:W(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:W(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:W(m.x,e.x),y:W(m.y,e.y),z:W(m.z,e.z),perspective:W(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);Y&&(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)}p=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!p&&null!=f.scale&&(f.scaleZ=1);for(c._transformType=p||3===this._transformType?3:2;-1<--j;)if(b=qa[j],g=f[b]-e[b],1E-6<g||-1E-6>g||null!=x[b])d=new O(e,b,e[b],g,d),d.xs0=0,d.plugin=h,c._overwriteProps.push(d.n);if((g=m.transformOrigin)||Y&&p&&e.zOrigin)Q?(g=(g||N(a,b,k,!1,"50% 50%"))+
+"",b=ra,d=new O(n,b,0,0,d,-1,"css_transformOrigin"),d.b=n[b],d.plugin=h,Y?(p=e.zOrigin,g=g.split(" "),e.zOrigin=(2<g.length?parseFloat(g[2]):p)||0,d.xs0=d.e=n[b]=g[0]+" "+(g[1]||"50%")+" 0px",d=new O(e,"zOrigin",0,0,d,-1,d.n),d.b=p,d.xs0=d.e=e.zOrigin):d.xs0=d.e=n[b]=g):ia(g+"",e);return d&&d.t===a?(d._next&&(d._next._prev=null),d._next):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,n,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=n=e[h],l=parseFloat(g),s=g.substr((l+"").length),(t="="===j.charAt(1))?(q=parseInt(j.charAt(0)+"1"),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=p[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,n=parseFloat(f)+q+F)),d=fa(m,c[h],g+" "+f,j+" "+n,!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,n,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");h=e.split(" ");v.setAttribute("src",N(a,"backgroundImage").replace(E,""));for(n=2;-1<--n;)b=c[n],f=-1!==b.indexOf("%"),f!==(-1!==h[n].indexOf("%"))&&(g=0===n?a.offsetWidth-v.width:a.offsetHeight-v.height,c[n]=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("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(X)||["#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 n=a.style,f;"autoAlpha"===b&&(f=N(a,"visibility",k),1===h&&"hidden"===f&&(h=0),d=new O(n,"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(n,"opacity",h,e-h,d):(d=new O(n,"opacity",100*h,100*(e-h),d),d.xn1="autoAlpha"===b?1:0,n.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 n=a.className,f=a.style.cssText;d=c._classNamePT=new O(a,b,0,0,d,
+2);d.setRatio=za;d.b=n;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?n+" "+e.substr(2):n.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=n,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;
+p=c.suffixMap||r.suffixMap;k=ca(a,"");b=this._overwriteProps;d=a.style;var h,n,g,j;if(V&&""===d.zIndex&&(h=N(a,"zIndex",k),"auto"===h||""===h))d.zIndex=0;"string"===typeof c&&(n=d.cssText,h=ea(a,k),d.cssText=n+";"+c,h=ma(a,h,ea(a)).difs,!F&&Z.test(c)&&(h.opacity=parseFloat(RegExp.$1)),c=h,d.cssText=n);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&&Y?wa:Q?xa:va;j.data=this._transform||da(a,k,!0);b.pop()}if(f){for(;c;){a=c._next;for(d=n;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:g)?c._prev._next=c:n=c;(c._next=d)?d._prev=c:g=c;c=a}this._firstPT=n}return!0};c.parse=function(a,e,b,c){var d=a.style,m,h,n,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{n=parseFloat(h);j=h.substr((n+"").length);if(""===h||"auto"===h)if("width"===m||"height"===m){n=a;q=m;f=k;j=parseFloat("width"===q?n.offsetWidth:n.offsetHeight);q=sa[q];var H=q.length;for(f=
+f||ca(n,null);-1<--H;)j-=parseFloat(N(n,"padding"+q[H],f,!0))||0,j-=parseFloat(N(n,"border"+q[H]+"Width",f,!0))||0;n=j;j="px"}else n="opacity"!==m?0:1,j="";(q=l&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1"),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=p[m]||j);g=f||0===f?(q?f+n:f)+l:e[m];if(j!==l&&""!==l&&(f||0===f))if(n||0===n)if(n=T(a,m,n,j),"%"===l?(n/=T(a,m,100,"%")/100,100<n&&(n=100)):"em"===l?n/=T(a,
+m,1,"em"):(f=T(a,m,f,l),l="px"),q&&(f||0===f))g=f+n+l;q&&(f+=n);(n||0===n)&&(f||0===f)?(b=new O(d,m,n,f-n,b,0,"css_"+m,!1!==y&&("px"===l||"zIndex"===m),0,h,g),b.xs0=l):(b=new O(d,m,f||n||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},p=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=p("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),b=p("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),p=p("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 p}},!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"),p,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 n=f.length,h=0,k;-1<--n;)(k=a[f[n]]||new j(f[n])).gsClass?g[n]=k.gsClass:(h++,b&&k.sc.push(this));if(0===h&&c){b=("com.greensock."+e).split(".");var n=b.pop(),p=r(b.join("."))[n]=this.gsClass=c.apply(c,g);d&&((l.GreenSockGlobals||
+l)[n]=p,"function"===typeof define&&define.amd?define((l.GreenSockAMDPath?l.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return p}):"undefined"!==typeof module&&module.exports&&(module.exports=p));for(n=0;n<this.sc.length;n++)this.sc[n].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};p=["Linear","Quad","Cubic","Quart","Quint"];for(k=p.length;-1<--k;)b=d("easing."+p[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()};p=["ms","moz","webkit","o"];for(k=p.length;-1<--k&&!R;)R=l[p[k]+"RequestAnimationFrame"],w=l[p[k]+
+"CancelAnimationFrame"]||l[p[k]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=E(),f=!1!==b&&R,g,j,h,k,p,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>=p||!0===a)c.frame++,p=c.time>p?c.time+k-(c.time-p):c.time+k-0.001,p<c.time+0.001&&(p=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);p=this.time+k;j=0===g?function(){}:!f||!R?function(a){return l.setTimeout(a,1E3*(p-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&&
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=
@@ -148,28 +148,28 @@ this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDur
b){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};j=d("core.SimpleTimeline",function(a){s.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});b=j.prototype=new s;b.constructor=j;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};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.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){s.call(this,b,c);if(null==
+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]=
-E(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&A(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=E(a,this,!1),1===this._overwrite&&1<this._siblings.length&&A(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 s;b.constructor=q;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;q.version=1.651;
-q.defaultEase=b._ease=new r(null,null,1,1);q.defaultOverwrite="auto";q.ticker=B;var U=q._plugins={},G=q._tweenLookup={},L=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},h={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},F=s._rootFramesTimeline=new j,u=s._rootTimeline=new j;u._startTime=B.time;F._startTime=B.frame;u._active=F._active=!0;s._updateRoot=function(){u.render((B.time-u._startTime)*u._timeScale,!1,!1);F.render((B.frame-F._startTime)*F._timeScale,!1,!1);if(!(B.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]}}};
-B.addEventListener("tick",s._updateRoot);var E=function(a,b,c){var d=a._gsTweenID,f;if(!G[d||(a._gsTweenID=d="t"+L++)])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},A=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||x(b,0,q),0===x(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},x=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 r?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 r(this.vars.ease,this.vars.easeParams):q.defaultEase;this._easeType=this._ease._type;this._easePower=
+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.651;
+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=[],p=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[p++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale+1E-10>k&&((q||!h._initted)&&2E-10>=k-h._startTime||(l[p++]=h));for(g=p;-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(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(U[f]&&(h=new U[f])._onInitTween(a,this.vars[f],this)){this._firstPT=l={_next:this._firstPT,t:h,p:"setRatio",
+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")*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&&A(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>
+parseInt(g.charAt(0)+"1")*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=
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]=E(this._targets[c],this,!0);else this._siblings=E(this.target,this,!0);s.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=
+!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=E(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)};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=
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")*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
+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(p=l._gsQueue){for(k=0;k<p.length;k++)p[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
diff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.js
index fbf4a96..3ad6322 100755
--- a/src/minified/plugins/CSSPlugin.min.js
+++ b/src/minified/plugins/CSSPlugin.min.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.661
- * DATE: 2012-12-14
+ * VERSION: beta 1.662
+ * DATE: 2012-12-15
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -10,55 +10,56 @@
*
* @author: Jack Doyle, [email protected]
*/
-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(U){var z=function(){U.call(this,"css");this._overwriteProps.length=0},$,aa,A,ba,K={},m=z.prototype=new U("css");m.constructor=z;z.version=1.661;z.API=2;z.defaultTransformPerspective=0;m="px";z.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ca=/(?:\d|\-\d|\.\d|\-\.\d)+/g,na=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
-da=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,V=/[^\d\-\.]/g,Fa=/(?:\d|\-|\+|=|#|\.)*/g,ea=/opacity *= *([^)]*)/,Ga=/opacity:([^;]*)/,oa=/([A-Z])/g,pa=/-([a-z])/gi,Ha=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,qa=function(a,b){return b.toUpperCase()},Ia=/(?:Left|Right|Width)/i,Ja=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ka=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=Math.PI/180,Q=180/Math.PI,W={},L=document,R=L.createElement("div"),fa=L.createElement("img"),M=z._internals={_specialProps:K},
-D=navigator.userAgent,ga,ra,sa,ta,ua,ha,N,va=D.indexOf("Android"),wa=L.createElement("div");ua=(sa=-1!==D.indexOf("Safari")&&-1===D.indexOf("Chrome")&&(-1===va||3<Number(D.substr(va+8,1))))&&6>Number(D.substr(D.indexOf("Version/")+8,1));ta=-1!==D.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(D);ha=parseFloat(RegExp.$1);wa.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";N=(D=wa.getElementsByTagName("a")[0])?/^0.55/.test(D.style.opacity):!1;var xa=function(a){return ea.test("string"===typeof a?
-a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ya="",ia="",S=function(a,b){b=b||R;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?(ia=3===f?"ms":c[f],ya="-"+ia.toLowerCase()+"-",ia+a):null},T=L.defaultView?L.defaultView.getComputedStyle:function(){},w=z.getStyle=function(a,b,d,c,f){var j;if(!N&&"opacity"===b)return xa(a);!c&&a.style[b]?j=
-a.style[b]:(d=d||T(a,null))?j=(a=d.getPropertyValue(b.replace(oa,"-$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},Y=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||T(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(pa,qa)]=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(pa,
-qa)]=b[j];N||(c.opacity=xa(a));a=X(a,b,!1);c.rotation=a.rotation*Q;c.rotationX=a.rotationX*Q;c.rotationY=a.rotationY*Q;c.skewX=a.skewX*Q;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.scaleZ=a.scaleZ;c.x=a.x;c.y=a.y;c.z=a.z;c.filters&&delete c.filters;return c},za=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(V,"")?0:j,void 0!==a[e]&&(h=new ja(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},La={width:["Left","Right"],height:["Top","Bottom"]},Ma=["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=Ia.test(b),e=a,h=R.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||L.body,h[j?"width":"height"]=d+c):h[j?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(R),j=parseFloat(R[j?"offsetWidth":"offsetHeight"]),e.removeChild(R),0===j&&!f&&(j=F(a,b,d,c,!0)));return k?-j:j},ka=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(V,"")),b.oy=parseFloat(f.replace(V,"")));return c+" "+f+(2<d.length?" "+d[2]:"")},Aa=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},H=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
-"1")*Number(a.substr(2))+b:parseFloat(a)},O=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?G:1,c="="===a.charAt(1);a=Number(a.replace(V,""))*d;return c?a+b:a},la=function(a,b){var d=(("number"===typeof a?a*G:O(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},P={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]},ma=function(a){if(!a||""===a)return P.black;if(P[a])return P[a];if("number"===typeof a)return[a>>16,a>>8&255,a&255];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),d=a.charAt(2);a=a.charAt(3);a="#"+b+b+d+d+a+a}a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(ca)||P.transparent;a[0]=Number(a[0]);a[1]=Number(a[1]);a[2]=
-Number(a[2]);3<a.length&&(a[3]=Number(a[3]));return a},I="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(m in P)I+="|"+m+"\\b";var I=RegExp(I+")","gi"),Ba=function(a,b,d){if(null==a)return function(a){return a};var c=b?(a.match(I)||[""])[0]:"",f=a.split(c).join("").match(da)||[],j=a.substr(0,a.indexOf(f[0])),e=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",k=f.length,g=0<k?f[0].replace(ca,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(I)||[c])[0];a=a.split(b).join("").match(da)||
-[];var q=a.length;if(k>q--)for(;++q<k;)a[q]=d?a[(q-1)/2>>0]:f[q];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(da)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return j+a.join(h)+e}},D=function(a){a=a.split(",");return function(b,d,c,f,j,e,h){d=(d+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,h,j,e)}};M._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],
-c.r?f=0<f?f+0.5>>0:f-0.5>>0:1E-6>f&&-1E-6<f&&(f=0),c.t[c.p]=f,c=c._next;b.autoRotate&&(b.autoRotate.rotation=d.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){d=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)d+=a["xn"+b]+a["xs"+(b+1)];a.e=d}}else a.e=a.s+a.xs0;c=c._next}};var ja=function(a,b,d,c,f){this.t=a;this.p=b;this.v=d;this.r=f;c&&(c._prev=this,this._next=c)};M._parseToProxy=function(a,b,d,c,f,j){var e=c,h={},k={},g=d._transform,l=W,p;d._transform=null;W=b;c=a=d.parse(a,b,c,f);W=
-l;j&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,h[g]=c.s,j||(p=new ja(c,"s",g,p,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],h[g]=c[l],j||(p=new ja(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:p,pt:a}};var s=M.CSSPropTween=function(a,b,d,c,f,j,e,h,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof s||ba.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,$=!0);
-this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},Z=z.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new s(a,b,0,0,e,g?2:1,null,!1,h,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;h=!1!==ga;var l,p,q,m,u;d!==b.length&&(a=(j||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(j=0;j<d;j++)if(k=a[j],l=b[j],(g=parseFloat(k))||0===g)e.appendXtra("",g,Aa(l,g),l.replace(na,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===k.charAt(0)||
-0===k.indexOf("rgb")||P[k]))k=ma(k),l=ma(l),(g=6<k.length+l.length)&&!N&&0===l[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(b[j]).join("transparent")):(e.appendXtra(g?"rgba(":"rgb(",k[0],l[0]-k[0],",",!0,!0).appendXtra("",k[1],l[1]-k[1],",",!0).appendXtra("",k[2],l[2]-k[2],g?",":")",!0),g&&(k=4>k.length?1:k[3],e.appendXtra("",k,(4>l.length?1:l[3])-k,")",!1)));else if(g=k.match(ca)){q=l.match(na);if(!q||q.length!==g.length)return e;for(l=p=0;l<g.length;l++)u=g[l],m=k.indexOf(u,p),
-e.appendXtra(k.substr(p,m-p),Number(u),Aa(q[l],u),"",h&&"px"===k.substr(m+u.length,2),0===l),p=m+u.length;e["xs"+e.l]+=k.substr(p)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(j=1;j<e.l;j++)c+=e["xs"+j]+e.data["xn"+j];e.e=c+e["xs"+j]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},C=9,m=s.prototype;for(m.l=m.pr=0;0<--C;)m["xn"+C]=0,m["xs"+C]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,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 s(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 Ca=function(a,b,d,c,f,j,e){this.p=c?S(a)||a:a;K[a]=K[this.p]=this;this.format=j||Ba(b,f);d&&
-(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},n=M._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 Ca(a[h],b[h],d,c&&0===h,f,j,e)},M=function(a){if(!K[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";n(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 K[f].parse(a,c,f,j,e,h,k)})}},m=Ca.prototype;
-m.parseComplex=function(a,b,d,c,f,j){return Z(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(w(a,d,A,!1,this.dflt)),this.format(b),f,j)};z.registerSpecialProp=function(a,b,d){n(a,null,function(a,f,j,e,h,k){h=new s(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 Da="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),E=S("transform"),Na=ya+"transform",
-Ea=S("transformOrigin"),J=null!==S("perspective"),X=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=J?parseFloat(w(a,Ea,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,q,m;E?e=w(a,Na,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ja))&&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;)h[b]=Number(h[b]);
-if(16===h.length){if(f=h[8],e=h[9],k=h[10],g=h[12],l=h[13],p=h[14],c.zOrigin&&(p=-c.zOrigin,g=f*p-h[12],l=e*p-h[13],p=k*p+c.zOrigin-h[14]),!d||g!==c.x||l!==c.y||p!==c.z){q=h[0];m=h[1];var u=h[2],Oa=h[3],v=h[4],B=h[5],r=h[6],A=h[7];h=h[11];var t=c.rotationX=Math.atan2(r,k),n,s,x,y;t&&(x=Math.cos(-t),y=Math.sin(-t),t=v*x+f*y,n=B*x+e*y,s=r*x+k*y,f=v*-y+f*x,e=B*-y+e*x,k=r*-y+k*x,h=A*-y+h*x,v=t,B=n,r=s);if(t=c.rotationY=Math.atan2(f,q))x=Math.cos(-t),y=Math.sin(-t),n=m*x-e*y,s=u*x-k*y,e=m*y+e*x,k=u*y+
-k*x,h=Oa*y+h*x,q=q*x-f*y,m=n,u=s;if(t=c.rotation=Math.atan2(m,B))x=Math.cos(-t),y=Math.sin(-t),q=q*x+v*y,n=m*x+B*y,B=m*-y+B*x,r=u*-y+r*x,m=n;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(q*q+m*m);c.scaleY=Math.sqrt(B*B+e*e);c.scaleZ=Math.sqrt(r*r+k*k);c.skewX=0;c.perspective=h?1/h:0;c.x=g;c.y=l;c.z=p}}else if(!J||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){g=(e=6<=h.length)?h[0]:1;p=h[1]||0;l=h[2]||0;
-q=e?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;e=Math.sqrt(g*g+p*p);k=Math.sqrt(q*q+l*l);g=g||p?Math.atan2(p,g):c.rotation||0;l=l||q?Math.atan2(l,q)+g:c.skewX||0;p=e-Math.abs(c.scaleX||0);q=k-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(e*=-1,l+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(k*=-1,l+=0>=l?Math.PI:-Math.PI));f=(g-c.rotation)%Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<q||-1E-6>q||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=e,c.scaleY=k,
-c.rotation=g,c.skewX=l;J&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(z.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},Pa=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=Math.cos(d)*b.scaleX,d=Math.sin(d)*b.scaleX,j=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,e=1E-6,h=this.t.style,k=this.t.currentStyle,g;if(k){f<e&&f>-e&&(f=0);d<e&&d>-e&&(d=0);j<e&&j>-e&&(j=0);c<e&&c>-e&&(c=0);e=d;d=-j;j=-e;e=
-k.filter;h.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==k.position,q="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,u=b.y,n,v;null!=b.ox&&(n=(b.oxp?0.01*l*b.ox:b.ox)-l/2,v=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=n-(n*f+v*d),u+=v-(n*j+v*c));if(p)n=l/2,v=g/2,q+=", Dx="+(n-(n*f+v*d)+m)+", Dy="+(v-(n*j+v*c)+u)+")";else{var B=8>ha?1:-1;n=b.ieOffsetX||0;v=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+u);for(C=0;4>C;C++)l=Ma[C],g=k[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Fa,""))||0,m=g!==b[l]?2>C?-b.ieOffsetX:-b.ieOffsetY:2>C?n-b.ieOffsetX:v-b.ieOffsetY,h[l]=(b[l]=Math.round(g-m*(0===C||2===C?1:B)))+"px";q+=", sizingMethod='auto expand')"}h.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(Ka,q):q+" "+e;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==q.indexOf("Dx=0, Dy=0")))(!ea.test(e)||
-100===parseFloat(RegExp.$1))&&-1===e.indexOf("gradient(")&&h.removeAttribute("filter")}},Qa=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,n=a.scaleZ,u=0,A=0,v=0,B=d?-1/d:0,r=a.rotation,s=a.zOrigin,t,w,z,x,y;ta&&(w=b.top+"",t=parseFloat(w)||0,w=w.substr((t+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?t+0.05:t-0.05)+(""===w?"px":w));r&&(t=Math.cos(r),r=Math.sin(r),z=k*r,f=c*-r,k*=t,c*=t,h=z);if(r=a.rotationY)t=Math.cos(r),r=Math.sin(r),
-x=n*-r,y=B*-r,j=c*r,g=h*r,n*=t,B*=t,c*=t,h*=t,p=x,A=y;if(r=a.rotationX)t=Math.cos(r),r=Math.sin(r),w=f*t+j*r,z=k*t+g*r,x=m*t+n*r,y=v*t+B*r,j=f*-r+j*t,g=k*-r+g*t,n=m*-r+n*t,B=v*-r+B*t,f=w,k=z,m=x,v=y;s&&(u-=s,e=j*u,l=g*u,u=n*u+s);e+=a.x;l+=a.y;u=1E-5*(1E5*(u+a.z)>>0);b[E]="matrix3d("+1E-5*(1E5*c>>0)+","+1E-5*(1E5*h>>0)+","+1E-5*(1E5*p>>0)+","+1E-5*(1E5*A>>0)+","+1E-5*(1E5*f>>0)+","+1E-5*(1E5*k>>0)+","+1E-5*(1E5*m>>0)+","+1E-5*(1E5*v>>0)+","+1E-5*(1E5*j>>0)+","+1E-5*(1E5*g>>0)+","+1E-5*(1E5*n>>0)+","+
-1E-5*(1E5*B>>0)+","+1E-5*(1E5*e>>0)+","+1E-5*(1E5*l>>0)+","+u+","+(d?1+-u/d:1)+")"},Ra=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[E]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=Math.cos(b)*a.scaleX,b=Math.sin(b)*a.scaleX,f=Math.sin(d)*-a.scaleY,d=Math.cos(d)*a.scaleY;this.t.style[E]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>d&&-1E-6<d?0:d)+","+a.x+","+a.y+")"}};n("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=X(a,A,!0);var h=a.style,k=Da.length,g,l,p;if("string"===typeof e.transform&&E)p=h[E],h[E]=e.transform,g=X(a,null,!1),h[E]=p;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*Q;g={scaleX:H(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:H(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:H(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:H(e.x,b.x),y:H(e.y,b.y),z:H(e.z,b.z),perspective:H(e.transformPerspective,
-b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?la(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*G:O(l,b.rotation);J&&(g.rotationX=null!=e.shortRotationX?la(e.shortRotationX,b.rotationX):"number"===typeof e.rotationX?e.rotationX*G:O(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?la(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*G:O(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*G:O(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*G:O(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}p=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!p&&null!=g.scale&&(g.scaleZ=
-1);for(c._transformType=p?3:2;-1<--k;)if(d=Da[k],l=g[d]-b[d],1E-6<l||-1E-6>l||null!=W[d])f=new s(b,d,b[d],l,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((l=e.transformOrigin)||J&&p&&b.zOrigin)E?(l=(l||w(a,d,A,!1,"50% 50%"))+"",d=Ea,f=new s(h,d,0,0,f,-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,J?(p=b.zOrigin,l=l.split(" "),b.zOrigin=(2<l.length?parseFloat(l[2]):p)||0,f.xs0=f.e=h[d]=l[0]+" "+(l[1]||"50%")+" 0px",f=new s(b,"zOrigin",0,0,f,-1,f.n),f.b=p,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=l):
-ka(l+"",b);return f&&f.t===a?(f._next&&(f._next._prev=null),f._next):f},!0);n("boxShadow","0px 0px 0px 0px #999",null,!0,!0);n("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,p,m,n,u,s,v,B;n=parseFloat(a.offsetWidth);u=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=S(c[e])),g=k=w(a,c[e],A,!1,"0px"),-1!==g.indexOf(" ")&&
-(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],p=parseFloat(g),v=g.substr((p+"").length),(B="="===l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),s=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),s=l.substr((m+"").length)),""===s&&(s=aa[d]||v),s!==v&&(g=F(a,"borderLeft",p,v),p=F(a,"borderTop",p,v),"%"===s?(g=100*(g/n)+"%",k=100*(p/u)+"%"):"em"===s?(v=F(a,"borderLeft",1,"em"),g=g/v+"em",k=p/v+"em"):(g+="px",k=p+"px"),B&&(l=parseFloat(g)+m+s,h=parseFloat(k)+m+s)),f=Z(j,c[e],
-g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Ba("0px 0px 0px 0px",!1,!0));n("backgroundPosition","0 0",function(a,b,d,c,f,j){d=A||T(a,null);d=this.format((d?ha?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(" ");fa.setAttribute("src",
-w(a,"backgroundImage").replace(Ha,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-fa.width:a.offsetHeight-fa.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,ka);n("backgroundSize","0 0",null,!1,!1,ka);n("perspective","0px",null,!0);n("perspectiveOrigin","50% 50%",null,!0);n("transformStyle","preserve-3d",null,!0);n("margin",null,D("marginTop,marginRight,marginBottom,marginLeft"));
-n("padding",null,D("paddingTop,paddingRight,paddingBottom,paddingLeft"));n("clip","rect(0px,0px,0px,0px)");n("textShadow","0px 0px 0px #999",null,!1,!0);n("autoRound",null,function(a,b,d,c,f){return f});n("border","0px solid #000",function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(w(a,"borderTopWidth",A,!1,"0px")+" "+w(a,"borderTopStyle",A,!1,"solid")+" "+w(a,"borderTopColor",A,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+
-(a.match(I)||["#000"])[0]});var Sa=function(a){var b=this.t;a=this.s+this.c*a;var d;100===a&&(b.removeAttribute("filter"),d=!w(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(ea,"opacity="+(a>>0)))};n("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(w(a,"opacity",A,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=w(a,"visibility",A),1===e&&
-"hidden"===k&&(e=0),f=new s(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));N?f=new s(h,"opacity",e,b-e,f):(f=new s(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=Sa);return f});var Ta=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(oa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};n("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new s(a,d,0,0,f,2);f.setRatio=Ta;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=Y(a,A,!0),a.className=f.e,e=za(a,b,Y(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(C=m.length;C--;)M(m[C]);m=z.prototype;m._firstPT=null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ga=b.autoRound;$=!1;aa=b.suffixMap||z.suffixMap;A=T(a,"");ba=this._overwriteProps;d=a.style;var c,f,j,e;if(ra&&""===d.zIndex&&(c=w(a,"zIndex",A),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Y(a,A),d.cssText=f+";"+b,c=za(a,c,
-Y(a)).difs,!N&&Ga.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(E){if(sa){ra=!0;if(""===d.zIndex&&(e=w(a,"zIndex",A),"auto"===e||""===e))d.zIndex=0;ua&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new s(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&J?Qa:E?Ra:Pa;e.data=this._transform||X(a,
-A,!0);ba.pop()}if($){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=K[j])d=e.parse(a,g,j,this,d,c,b);else if(e=w(a,j,A)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=ma(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=Z(f,j,e,g,!0,"transparent",d,
-0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=Z(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=A;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=La[n];var z=n.length;for(k=k||T(h,null);-1<--z;)l-=parseFloat(w(h,"padding"+n[z],k,!0))||0,l-=parseFloat(w(h,"border"+n[z]+"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"),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=aa[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 s(f,j,h,k-h,d,0,"css_"+j,!1!==ga&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):(d=new s(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 U.prototype._kill.call(this,b)||d};U.activate([z]);return z},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var E=function(){V.call(this,"css");this._overwriteProps.length=0},aa,ba,v,ca,L={},m=E.prototype=new V("css");m.constructor=E;E.version=1.661;E.API=2;E.defaultTransformPerspective=0;m="px";E.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var da=/(?:\d|\-\d|\.\d|\-\.\d)+/g,oa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+ea=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ga=/(?:\d|\-|\+|=|#|\.)*/g,fa=/opacity *= *([^)]*)/,Ha=/opacity:([^;]*)/,pa=/([A-Z])/g,qa=/-([a-z])/gi,Ia=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,ra=function(a,b){return b.toUpperCase()},Ja=/(?:Left|Right|Width)/i,Ka=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,La=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,F=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ga=M.createElement("img"),N=E._internals={_specialProps:L},
+p=navigator.userAgent,ha,sa,ta,ua,va,ia,O,wa=p.indexOf("Android"),xa=M.createElement("div");va=(ta=-1!==p.indexOf("Safari")&&-1===p.indexOf("Chrome")&&(-1===wa||3<Number(p.substr(wa+8,1))))&&6>Number(p.substr(p.indexOf("Version/")+8,1));ua=-1!==p.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(p);ia=parseFloat(RegExp.$1);xa.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(p=xa.getElementsByTagName("a")[0])?/^0.55/.test(p.style.opacity):!1;var ya=function(a){return fa.test("string"===typeof a?
+a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},za="",ja="",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?(ja=3===f?"ms":c[f],za="-"+ja.toLowerCase()+"-",ja+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},y=E.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return ya(a);!c&&a.style[b]?j=
+a.style[b]:(d=d||U(a,null))?j=(a=d.getPropertyValue(b.replace(pa,"-$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(qa,ra)]=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(qa,
+ra)]=b[j];O||(c.opacity=ya(a));a=Y(a,b,!1);c.rotation=a.rotation*R;c.rotationX=a.rotationX*R;c.rotationY=a.rotationY*R;c.skewX=a.skewX*R;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.scaleZ=a.scaleZ;c.x=a.x;c.y=a.y;c.z=a.z;c.filters&&delete c.filters;return c},Aa=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 ka(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},Ma={width:["Left","Right"],height:["Top","Bottom"]},Na=["marginLeft","marginRight","marginTop","marginBottom"],G=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=Ja.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=G(a,b,d,c,!0)));return k?-j:j},la=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]:"")},Ba=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},H=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
+"1")*Number(a.substr(2))+b:parseFloat(a)},P=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?F:1,c="="===a.charAt(1);a=Number(a.replace(W,""))*d;return c?a+b:a},ma=function(a,b){var d=(("number"===typeof a?a*F: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,
+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]},na=function(a){if(!a||""===a)return Q.black;if(Q[a])return Q[a];if("number"===typeof a)return[a>>16,a>>8&255,a&255];if("#"===a.charAt(0)){if(4===a.length){var b=a.charAt(1),d=a.charAt(2);a=a.charAt(3);a="#"+b+b+d+d+a+a}a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(da)||Q.transparent;a[0]=Number(a[0]);a[1]=Number(a[1]);a[2]=
+Number(a[2]);3<a.length&&(a[3]=Number(a[3]));return a},J="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(m in Q)J+="|"+m+"\\b";var J=RegExp(J+")","gi"),Ca=function(a,b,d){if(null==a)return function(a){return a};var c=b?(a.match(J)||[""])[0]:"",f=a.split(c).join("").match(ea)||[],j=a.substr(0,a.indexOf(f[0])),e=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",k=f.length,g=0<k?f[0].replace(da,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(J)||[c])[0];a=a.split(b).join("").match(ea)||
+[];var q=a.length;if(k>q--)for(;++q<k;)a[q]=d?a[(q-1)/2>>0]:f[q];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(ea)||[];var b=a.length;if(k>b--)for(;++b<k;)a[b]=d?a[(b-1)/2>>0]:f[b];return j+a.join(h)+e}},p=function(a){a=a.split(",");return function(b,d,c,f,j,e,h){d=(d+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=d[c]=d[c]||d[(c-1)/2>>0];return f.parse(b,h,j,e)}};N._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,d=b.proxy,c=b.firstMPT,f;c;)f=d[c.v],
+c.r?f=0<f?f+0.5>>0:f-0.5>>0:1E-6>f&&-1E-6<f&&(f=0),c.t[c.p]=f,c=c._next;b.autoRotate&&(b.autoRotate.rotation=d.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){d=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)d+=a["xn"+b]+a["xs"+(b+1)];a.e=d}}else a.e=a.s+a.xs0;c=c._next}};var ka=function(a,b,d,c,f){this.t=a;this.p=b;this.v=d;this.r=f;c&&(c._prev=this,this._next=c)};N._parseToProxy=function(a,b,d,c,f,j){var e=c,h={},k={},g=d._transform,l=X,t;d._transform=null;X=b;c=a=d.parse(a,b,c,f);X=
+l;j&&(d._transform=g,e&&(e._prev=null,e._prev&&(e._prev._next=null)));for(;c&&c!==e;){if(1>=c.type&&(g=c.p,k[g]=c.s+c.c,h[g]=c.s,j||(t=new ka(c,"s",g,t,c.r),c.c=0),1===c.type))for(d=c.l;0<--d;)l="xn"+d,g=c.p+"_"+l,k[g]=c.data[l],h[g]=c[l],j||(t=new ka(c,l,g,t,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:t,pt:a}};var z=N.CSSPropTween=function(a,b,d,c,f,j,e,h,k,g,l){this.t=a;this.p=b;this.s=d;this.c=c;this.n=e||"css_"+b;a instanceof z||ca.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,aa=
+!0);this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},$=E.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new z(a,b,0,0,e,g?2:1,null,!1,h,d,c);a=d.split(", ").join(",").split(" ");b=(c+"").split(", ").join(",").split(" ");d=a.length;h=!1!==ha;var l,t,q,m,r;d!==b.length&&(a=(j||"").split(" "),d=a.length);e.plugin=k;e.setRatio=g;for(j=0;j<d;j++)if(k=a[j],l=b[j],(g=parseFloat(k))||0===g)e.appendXtra("",g,Ba(l,g),l.replace(oa,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===
+k.charAt(0)||0===k.indexOf("rgb")||Q[k]))k=na(k),l=na(l),(g=6<k.length+l.length)&&!O&&0===l[3]?(e["xs"+e.l]+=e.l?" transparent":"transparent",e.e=e.e.split(b[j]).join("transparent")):(e.appendXtra(g?"rgba(":"rgb(",k[0],l[0]-k[0],",",!0,!0).appendXtra("",k[1],l[1]-k[1],",",!0).appendXtra("",k[2],l[2]-k[2],g?",":")",!0),g&&(k=4>k.length?1:k[3],e.appendXtra("",k,(4>l.length?1:l[3])-k,")",!1)));else if(g=k.match(da)){q=l.match(oa);if(!q||q.length!==g.length)return e;for(l=t=0;l<g.length;l++)r=g[l],m=
+k.indexOf(r,t),e.appendXtra(k.substr(t,m-t),Number(r),Ba(q[l],r),"",h&&"px"===k.substr(m+r.length,2),0===l),t=m+r.length;e["xs"+e.l]+=k.substr(t)}else e["xs"+e.l]+=e.l?" "+k:k;if(-1!==c.indexOf("=")&&e.data){c=e.xs0+e.data.s;for(j=1;j<e.l;j++)c+=e["xs"+j]+e.data["xn"+j];e.e=c+e["xs"+j]}e.l||(e.type=-1,e.xs0=e.e);return e.xfirst||e},A=9,m=z.prototype;for(m.l=m.pr=0;0<--A;)m["xn"+A]=0,m["xs"+A]="";m.xs0="";m._next=m._prev=m.xfirst=m.data=m.plugin=m.setRatio=m.rxp=null;m.appendXtra=function(a,b,d,c,
+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 z(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 Da=function(a,b,d,c,f,j,e){this.p=c?T(a)||a:a;L[a]=L[this.p]=this;this.format=
+j||Ca(b,f);d&&(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},n=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 Da(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";n(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=Da.prototype;m.parseComplex=function(a,b,d,c,f,j){return $(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(y(a,d,v,!1,this.dflt)),this.format(b),f,j)};E.registerSpecialProp=function(a,b,d){n(a,null,function(a,f,j,e,h,k){h=new z(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 Ea="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),I=T("transform"),
+Oa=za+"transform",Fa=T("transformOrigin"),K=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=K?parseFloat(y(a,Fa,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,t,q,m;I?e=y(a,Oa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(Ka))&&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],t=h[12],q=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,t=f*m-h[12],q=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||t!==c.x||q!==c.y||m!==c.z){var r=h[0],s=h[1],x=h[2],v=h[3],u=h[4],n=h[5],w=h[6],z=h[7];h=h[11];var A=-Math.PI+1E-4,p=Math.PI-1E-4,B=c.rotationX=Math.atan2(w,l),G=B<A||B>p,F,H,C,D;B&&(C=Math.cos(-B),D=Math.sin(-B),B=u*C+f*D,F=n*C+e*D,H=w*C+l*D,f=u*-D+f*C,e=n*-D+e*C,l=w*-D+l*C,h=z*-D+h*C,u=B,n=F,w=H);if(B=c.rotationY=
+Math.atan2(f,r))k=B<A||B>p,C=Math.cos(-B),D=Math.sin(-B),F=s*C-e*D,H=x*C-l*D,e=s*D+e*C,l=x*D+l*C,h=v*D+h*C,r=r*C-f*D,s=F,x=H;if(B=c.rotation=Math.atan2(s,n))g=B<A||B>p,C=Math.cos(-B),D=Math.sin(-B),r=r*C+u*D,F=s*C+n*D,n=s*-D+n*C,w=x*-D+w*C,s=F;g&&G?c.rotation=c.rotationX=0:g&&k?c.rotation=c.rotationY=0:k&&G&&(c.rotationY=c.rotationX=0);c.scaleX=(1E5*Math.sqrt(r*r+s*s)+0.5>>0)/1E5;c.scaleY=(1E5*Math.sqrt(n*n+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(w*w+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/
+h:0;c.x=t;c.y=q;c.z=m}}else if(!K||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){e=(k=6<=h.length)?h[0]:1;t=h[1]||0;l=h[2]||0;q=k?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;k=Math.sqrt(e*e+t*t);g=Math.sqrt(q*q+l*l);e=e||t?Math.atan2(t,e):c.rotation||0;l=l||q?Math.atan2(l,q)+e:c.skewX||0;t=k-Math.abs(c.scaleX||0);q=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<t||-1E-6>t||1E-6<q||-1E-6>q||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;K&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(E.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},Pa=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 t="absolute"!==h.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,n=b.x,r=b.y,s,x;null!=b.ox&&(s=(b.oxp?0.01*l*b.ox:b.ox)-l/2,x=(b.oyp?0.01*g*b.oy:b.oy)-g/2,n+=s-(s*f+x*d),r+=x-(s*j+x*c));if(t)s=l/2,x=g/2,m+=", Dx="+(s-(s*f+x*d)+n)+", Dy="+(x-(s*j+x*c)+r)+")";else{var v=
+8>ia?1:-1;s=b.ieOffsetX||0;x=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+n);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(A=0;4>A;A++)l=Na[A],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):G(this.t,l,parseFloat(g),g.replace(Ga,""))||0,n=g!==b[l]?2>A?-b.ieOffsetX:-b.ieOffsetY:2>A?s-b.ieOffsetX:x-b.ieOffsetY,e[l]=(b[l]=Math.round(g-n*(0===A||2===A?1:v)))+"px";m+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(La,
+m):m+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!t||-1!==m.indexOf("Dx=0, Dy=0")))(!fa.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Qa=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,t=0,m=0,n=a.scaleZ,r=0,s=0,x=0,v=d?-1/d:0,u=a.rotation,A=a.zOrigin,w,p,y,z,B;ua&&(p=b.top+"",w=parseFloat(p)||0,p=p.substr((w+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?w+0.05:w-0.05)+(""===p?"px":
+p));u&&(w=Math.cos(u),u=Math.sin(u),y=k*u,f=c*-u,k*=w,c*=w,h=y);if(u=a.rotationY)w=Math.cos(u),u=Math.sin(u),z=n*-u,B=v*-u,j=c*u,g=h*u,n*=w,v*=w,c*=w,h*=w,t=z,s=B;if(u=a.rotationX)w=Math.cos(u),u=Math.sin(u),p=f*w+j*u,y=k*w+g*u,z=m*w+n*u,B=x*w+v*u,j=f*-u+j*w,g=k*-u+g*w,n=m*-u+n*w,v=x*-u+v*w,f=p,k=y,m=z,x=B;A&&(r-=A,e=j*r,l=g*r,r=n*r+A);e+=a.x;l+=a.y;r=(1E5*(r+a.z)>>0)/1E5;b[I]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*t>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*k>>0)/1E5+
+","+(1E5*m>>0)/1E5+","+(1E5*x>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*v>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+r+","+(d?1+-r/d:1)+")"},Ra=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[I]="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[I]=
+"matrix("+c+","+b+","+f+","+d+","+a.x+","+a.y+")"}};n("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,v,!0);var h=a.style,k=Ea.length,g,l,m;if("string"===typeof e.transform&&I)m=h[I],h[I]=e.transform,g=Y(a,null,!1),h[I]=m;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=
+e.rotationZ?e.rotationZ:b.rotation*R;g={scaleX:H(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:H(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:H(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:H(e.x,b.x),y:H(e.y,b.y),z:H(e.z,b.z),perspective:H(e.transformPerspective,b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?ma(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*F:P(l,b.rotation);K&&(g.rotationX=null!=e.shortRotationX?ma(e.shortRotationX,b.rotationX):
+"number"===typeof e.rotationX?e.rotationX*F:P(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?ma(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*F: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*F:P(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*F:P(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=
+l,g.rotation+=l;1E-6>g.skewY&&-1E-6<g.skewY&&(g.skewY=0);1E-6>g.skewX&&-1E-6<g.skewX&&(g.skewX=0);1E-6>g.rotation&&-1E-6<g.rotation&&(g.rotation=0)}m=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!m&&null!=g.scale&&(g.scaleZ=1);for(c._transformType=m||3===this._transformType?3:2;-1<--k;)if(d=Ea[k],l=g[d]-b[d],1E-6<l||-1E-6>l||null!=X[d])f=new z(b,d,b[d],l,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((l=e.transformOrigin)||K&&m&&b.zOrigin)I?(l=(l||y(a,d,v,!1,"50% 50%"))+
+"",d=Fa,f=new z(h,d,0,0,f,-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,K?(m=b.zOrigin,l=l.split(" "),b.zOrigin=(2<l.length?parseFloat(l[2]):m)||0,f.xs0=f.e=h[d]=l[0]+" "+(l[1]||"50%")+" 0px",f=new z(b,"zOrigin",0,0,f,-1,f.n),f.b=m,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=l):la(l+"",b);return f&&f.t===a?(f._next&&(f._next._prev=null),f._next):f},!0);n("boxShadow","0px 0px 0px 0px #999",null,!0,!0);n("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,q,n,r,s,x,p;n=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=T(c[e])),g=k=y(a,c[e],v,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],m=parseFloat(g),x=g.substr((m+"").length),(p="="===l.charAt(1))?(q=parseInt(l.charAt(0)+"1"),l=l.substr(2),q*=parseFloat(l),s=l.substr((q+"").length-(0>q?1:0))||""):(q=parseFloat(l),s=l.substr((q+
+"").length)),""===s&&(s=ba[d]||x),s!==x&&(g=G(a,"borderLeft",m,x),m=G(a,"borderTop",m,x),"%"===s?(g=100*(g/n)+"%",k=100*(m/r)+"%"):"em"===s?(x=G(a,"borderLeft",1,"em"),g=g/x+"em",k=m/x+"em"):(g+="px",k=m+"px"),p&&(l=parseFloat(g)+q+s,h=parseFloat(k)+q+s)),f=$(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Ca("0px 0px 0px 0px",!1,!0));n("backgroundPosition","0 0",function(a,b,d,c,f,j){d=v||U(a,null);d=this.format((d?ia?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(" ");ga.setAttribute("src",y(a,"backgroundImage").replace(Ia,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ga.width:a.offsetHeight-ga.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,la);n("backgroundSize","0 0",null,!1,!1,la);n("perspective","0px",null,!0);n("perspectiveOrigin","50% 50%",null,!0);n("transformStyle","preserve-3d",null,!0);n("margin",null,p("marginTop,marginRight,marginBottom,marginLeft"));n("padding",null,p("paddingTop,paddingRight,paddingBottom,paddingLeft"));n("clip","rect(0px,0px,0px,0px)");n("textShadow","0px 0px 0px #999",null,!1,!0);n("autoRound",null,function(a,b,d,c,f){return f});n("border","0px solid #000",function(a,b,d,c,f,j){return this.parseComplex(a.style,
+this.format(y(a,"borderTopWidth",v,!1,"0px")+" "+y(a,"borderTopStyle",v,!1,"solid")+" "+y(a,"borderTopColor",v,!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 Sa=function(a){var b=this.t;a=this.s+this.c*a;var d;100===a&&(b.removeAttribute("filter"),d=!y(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(fa,"opacity="+(a>>0)))};n("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(y(a,"opacity",v,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=y(a,"visibility",v),1===e&&"hidden"===k&&(e=0),f=new z(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 z(h,"opacity",e,b-e,f):(f=new z(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=Sa);return f});var Ta=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(pa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};n("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;f=c._classNamePT=new z(a,d,0,0,f,
+2);f.setRatio=Ta;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,v,!0),a.className=f.e,e=Aa(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(A=m.length;A--;)N(m[A]);m=E.prototype;m._firstPT=null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;this._vars=b;ha=b.autoRound;aa=!1;
+ba=b.suffixMap||E.suffixMap;v=U(a,"");ca=this._overwriteProps;d=a.style;var c,f,j,e;if(sa&&""===d.zIndex&&(c=y(a,"zIndex",v),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,v),d.cssText=f+";"+b,c=Aa(a,c,Z(a)).difs,!O&&Ha.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(I){if(ta){sa=!0;if(""===d.zIndex&&(e=y(a,"zIndex",v),"auto"===e||""===e))d.zIndex=0;va&&(d.WebkitBackfaceVisibility=
+this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new z(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&K?Qa:I?Ra:Pa;e.data=this._transform||Y(a,v,!0);ca.pop()}if(aa){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=y(a,j,v)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=na(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=$(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=$(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=v;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);n=Ma[n];var p=n.length;for(k=
+k||U(h,null);-1<--p;)l-=parseFloat(y(h,"padding"+n[p],k,!0))||0,l-=parseFloat(y(h,"border"+n[p]+"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"),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=ba[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=G(a,j,h,l),"%"===m?(h/=G(a,j,100,"%")/100,100<h&&(h=100)):"em"===m?h/=G(a,
+j,1,"em"):(k=G(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 z(f,j,h,k-h,d,0,"css_"+j,!1!==ha&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):(d=new z(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([E]);return E},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.js
index 3c2d795..4400fa3 100755
--- a/src/uncompressed/TweenMax.js
+++ b/src/uncompressed/TweenMax.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.661
- * DATE: 2012-12-14
+ * VERSION: beta 1.662
+ * DATE: 2012-12-15
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -2979,8 +2979,9 @@
var tm = rec ? t._gsTransform || {skewY:0} : {skewY:0},
invX = (tm.scaleX < 0), //in order to interpret things properly, we need to know if the user applied a negative scaleX previously so that we can adjust the rotation and skewX accordingly. Otherwise, if we always interpret a flipped matrix as affecting scaleY and the user only wants to tween the scaleX on multiple sequential tweens, it would keep the negative scaleY without that being the user's intent.
min = 0.000001,
+ rnd = 100000,
zOrigin = _supports3D ? parseFloat(_getStyle(t, _transformOriginProp, cs, false, "0 0 0").split(" ")[2]) || tm.zOrigin || 0 : 0,
- s, m, i, scaleX, scaleY, rotation, skewX, difX, difY, difR, difS;
+ s, m, i, n, scaleX, scaleY, rotation, skewX, difX, difY, difR, difS;
if (_transformProp) {
s = _getStyle(t, _transformPropCSS, cs, true);
} else if (t.currentStyle) {
@@ -2992,7 +2993,8 @@
m = (s || "").match(/(?:\-|\b)[\d\-\.e]+\b/gi) || [];
i = m.length;
while (--i > -1) {
- m[i] = Number(m[i]); //convert strings to Numbers
+ n = Number(m[i]);
+ m[i] = ((n * rnd + ((n < 0) ? -0.5 : 0.5)) >> 0) / rnd; //convert strings to Numbers and round to 5 decimal places to avoid issues with tiny numbers
}
if (m.length === 16) {
@@ -3013,8 +3015,11 @@
var a11 = m[0], a21 = m[1], a31 = m[2], a41 = m[3],
a12 = m[4], a22 = m[5], a32 = m[6], a42 = m[7],
a43 = m[11],
+ minPI = -Math.PI + 0.0001,
+ maxPI = Math.PI - 0.0001,
angle = tm.rotationX = Math.atan2(a32, a33),
- t1, t2, t3, t4, cos, sin;
+ xFlip = (angle < minPI || angle > maxPI),
+ t1, t2, t3, t4, cos, sin, yFlip, zFlip;
//rotationX
if (angle) {
cos = Math.cos(-angle);
@@ -3030,29 +3035,31 @@
a12 = t1;
a22 = t2;
a32 = t3;
- a42 = t4;
+ //a42 = t4;
}
//rotationY
angle = tm.rotationY = Math.atan2(a13, a11);
if (angle) {
+ yFlip = (angle < minPI || angle > maxPI);
cos = Math.cos(-angle);
sin = Math.sin(-angle);
t1 = a11*cos-a13*sin;
t2 = a21*cos-a23*sin;
t3 = a31*cos-a33*sin;
t4 = a41*cos-a43*sin;
- a13 = a11*sin+a13*cos;
+ //a13 = a11*sin+a13*cos;
a23 = a21*sin+a23*cos;
a33 = a31*sin+a33*cos;
a43 = a41*sin+a43*cos;
a11 = t1;
a21 = t2;
a31 = t3;
- a41 = t4;
+ //a41 = t4;
}
//rotationZ
angle = tm.rotation = Math.atan2(a21, a22);
if (angle) {
+ zFlip = (angle < minPI || angle > maxPI);
cos = Math.cos(-angle);
sin = Math.sin(-angle);
a11 = a11*cos+a12*sin;
@@ -3061,14 +3068,18 @@
a32 = a31*-sin+a32*cos;
a21 = t2;
}
- if (Math.abs(tm.rotationY) > Math.PI / 2) {
- tm.rotationY *= -1;
- tm.rotationX += Math.PI;
- tm.rotation = Math.PI - tm.rotation;
+
+ if (zFlip && xFlip) {
+ tm.rotation = tm.rotationX = 0;
+ } else if (zFlip && yFlip) {
+ tm.rotation = tm.rotationY = 0;
+ } else if (yFlip && xFlip) {
+ tm.rotationY = tm.rotationX = 0;
}
- tm.scaleX = Math.sqrt(a11 * a11 + a21 * a21);
- tm.scaleY = Math.sqrt(a22 * a22 + a23 * a23);
- tm.scaleZ = Math.sqrt(a32 * a32 + a33 * a33);
+
+ tm.scaleX = ((Math.sqrt(a11 * a11 + a21 * a21) * rnd + 0.5) >> 0) / rnd;
+ tm.scaleY = ((Math.sqrt(a22 * a22 + a23 * a23) * rnd + 0.5) >> 0) / rnd;
+ tm.scaleZ = ((Math.sqrt(a32 * a32 + a33 * a33) * rnd + 0.5) >> 0) / rnd;
tm.skewX = 0;
tm.perspective = a43 ? 1 / a43 : 0;
tm.x = a14;
@@ -3123,8 +3134,9 @@
if (tm[i] < min) if (tm[i] > -min) {
tm[i] = 0;
}
+ //alternate method rounds to 5 decimal places: tm[i] = ((tm[i] * rnd) >> 0) / rnd;
}
- //_log("parsed rotation: "+(tm.rotationX*_RAD2DEG)+", "+(tm.rotationY*_RAD2DEG)+", "+(tm.rotation*_RAD2DEG)+", scale: "+tm.scaleX+", "+tm.scaleY+", "+tm.scaleZ+", position: "+tm.x+", "+tm.y+", "+tm.z+", perspective: "+tm.perspective);
+ //DEBUG: _log("parsed rotation: "+(tm.rotationX*_RAD2DEG)+", "+(tm.rotationY*_RAD2DEG)+", "+(tm.rotation*_RAD2DEG)+", scale: "+tm.scaleX+", "+tm.scaleY+", "+tm.scaleZ+", position: "+tm.x+", "+tm.y+", "+tm.z+", perspective: "+tm.perspective);
if (rec) {
t._gsTransform = tm; //record to the object's _gsTransform which we use so that tweens can control individual properties independently (we need all the properties to accurately recompose the matrix in the setRatio() method)
}
@@ -3135,33 +3147,20 @@
var t = this.data, //refers to the element's _gsTransform object
ang = -t.rotation,
skew = ang + t.skewX,
- a = Math.cos(ang) * t.scaleX,
- b = Math.sin(ang) * t.scaleX,
- c = Math.sin(skew) * -t.scaleY,
- d = Math.cos(skew) * t.scaleY,
- min = 0.000001,
+ rnd = 100000,
+ a = ((Math.cos(ang) * t.scaleX * rnd) >> 0) / rnd,
+ b = ((Math.sin(ang) * t.scaleX * rnd) >> 0) / rnd,
+ c = ((Math.sin(skew) * -t.scaleY * rnd) >> 0) / rnd,
+ d = ((Math.cos(skew) * t.scaleY * rnd) >> 0) / rnd,
style = this.t.style,
cs = this.t.currentStyle,
filters, val;
if (!cs) {
return;
}
- //some browsers have a hard time with very small values like 2.4492935982947064e-16 (notice the "e-" towards the end) and would render the object slightly off. So we round to 0 in these cases. The conditional logic here is faster than calling Math.abs().
- if (a < min) if (a > -min) {
- a = 0;
- }
- if (b < min) if (b > -min) {
- b = 0;
- }
- if (c < min) if (c > -min) {
- c = 0;
- }
- if (d < min) if (d > -min) {
- d = 0;
- }
- min = b; //just for swapping the variables an inverting them (reused "min" to avoid creating another variable in memory). IE's filter matrix uses a non-standard matrix configuration (angle goes the opposite way, and b and c are reversed and inverted)
+ val = b; //just for swapping the variables an inverting them (reused "val" to avoid creating another variable in memory). IE's filter matrix uses a non-standard matrix configuration (angle goes the opposite way, and b and c are reversed and inverted)
b = -c;
- c = -min;
+ c = -val;
filters = cs.filter;
style.filter = ""; //remove filters so that we can accurately measure offsetWidth/offsetHeight
var w = this.t.offsetWidth,
@@ -3228,8 +3227,7 @@
angle = t.rotation,
zOrigin = t.zOrigin,
cma = ",",
- big = 100000,
- sml = 0.00001,
+ rnd = 100000,
cos, sin, t1, t2, t3, t4, top, n, sfx;
if (_isFirefox) { //Firefox has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way to do this is change "top" by 0.05 which is imperceptible, so we go back and forth. Another way is to change the display to "none", read the clientTop, and then revert the display but that is much slower.
top = style.top + "";
@@ -3291,9 +3289,9 @@
}
a14 += t.x;
a24 += t.y;
- a34 = (((a34 + t.z)* big) >> 0) * sml;
+ a34 = (((a34 + t.z) * rnd) >> 0) / rnd;
- style[_transformProp] = "matrix3d(" + (((a11 * big) >> 0) * sml) + cma + (((a21 * big) >> 0) * sml) + cma + (((a31 * big) >> 0) * sml) + cma + (((a41 * big) >> 0) * sml) + cma + (((a12 * big) >> 0) * sml) + cma + (((a22 * big) >> 0) * sml) + cma + (((a32 * big) >> 0) * sml) + cma + (((a42 * big) >> 0) * sml) + cma + (((a13 * big) >> 0) * sml) + cma + (((a23 * big) >> 0) * sml) + cma + (((a33 * big) >> 0) * sml) + cma + (((a43 * big) >> 0) * sml) + cma + (((a14 * big) >> 0) * sml) + cma + (((a24 * big) >> 0) * sml) + cma + a34 + cma + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
+ style[_transformProp] = "matrix3d(" + (((a11 * rnd) >> 0) / rnd) + cma + (((a21 * rnd) >> 0) / rnd) + cma + (((a31 * rnd) >> 0) / rnd) + cma + (((a41 * rnd) >> 0) / rnd) + cma + (((a12 * rnd) >> 0) / rnd) + cma + (((a22 * rnd) >> 0) / rnd) + cma + (((a32 * rnd) >> 0) / rnd) + cma + (((a42 * rnd) >> 0) / rnd) + cma + (((a13 * rnd) >> 0) / rnd) + cma + (((a23 * rnd) >> 0) / rnd) + cma + (((a33 * rnd) >> 0) / rnd) + cma + (((a43 * rnd) >> 0) / rnd) + cma + (((a14 * rnd) >> 0) / rnd) + cma + (((a24 * rnd) >> 0) / rnd) + cma + a34 + cma + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
},
_set2DTransformRatio = function(v) {
var t = this.data; //refers to the element's _gsTransform object
@@ -3302,13 +3300,13 @@
} else {
var ang = t.rotation,
skew = ang - t.skewX,
- a = Math.cos(ang) * t.scaleX,
- b = Math.sin(ang) * t.scaleX,
- c = Math.sin(skew) * -t.scaleY,
- d = Math.cos(skew) * t.scaleY,
- min = 0.000001;
- //some browsers have a hard time with very small values like 2.4492935982947064e-16 (notice the "e-" towards the end) and would render the object slightly off. So we round to 0 in these cases. The conditional logic here is faster than calling Math.abs().
- this.t.style[_transformProp] = "matrix(" + ((a < min && a > -min) ? 0 : a) + "," + ((b < min && b > -min) ? 0 : b) + "," + ((c < min && c > -min) ? 0 : c) + "," + ((d < min && d > -min) ? 0 : d) + "," + t.x + "," + t.y + ")";
+ rnd = 100000,
+ //some browsers have a hard time with very small values like 2.4492935982947064e-16 (notice the "e-" towards the end) and would render the object slightly off. So we round to 5 decimal places.
+ a = ((Math.cos(ang) * t.scaleX * rnd) >> 0) / rnd,
+ b = ((Math.sin(ang) * t.scaleX * rnd) >> 0) / rnd,
+ c = ((Math.sin(skew) * -t.scaleY * rnd) >> 0) / rnd,
+ d = ((Math.cos(skew) * t.scaleY * rnd) >> 0) / rnd;
+ this.t.style[_transformProp] = "matrix(" + a + "," + b + "," + c + "," + d + "," + t.x + "," + t.y + ")";
}
};
@@ -3376,7 +3374,7 @@
m2.scaleZ = 1; //no need to tween scaleZ.
}
- cssp._transformType = has3D ? 3 : 2; //quicker than calling cssp._enableTransforms();
+ cssp._transformType = (has3D || this._transformType === 3) ? 3 : 2; //quicker than calling cssp._enableTransforms();
while (--i > -1) {
p = _transformProps[i];
@@ -3427,7 +3425,6 @@
-
_registerComplexSpecialProp("boxShadow", "0px 0px 0px 0px #999", null, true, true);
_registerComplexSpecialProp("borderRadius", "0px", function(t, e, p, cssp, pt, plugin) {
e = this.format(e);
diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.js
index 4a3782d..c81ed3e 100755
--- a/src/uncompressed/plugins/CSSPlugin.js
+++ b/src/uncompressed/plugins/CSSPlugin.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.661
- * DATE: 2012-12-14
+ * VERSION: beta 1.662
+ * DATE: 2012-12-15
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -945,8 +945,9 @@
var tm = rec ? t._gsTransform || {skewY:0} : {skewY:0},
invX = (tm.scaleX < 0), //in order to interpret things properly, we need to know if the user applied a negative scaleX previously so that we can adjust the rotation and skewX accordingly. Otherwise, if we always interpret a flipped matrix as affecting scaleY and the user only wants to tween the scaleX on multiple sequential tweens, it would keep the negative scaleY without that being the user's intent.
min = 0.000001,
+ rnd = 100000,
zOrigin = _supports3D ? parseFloat(_getStyle(t, _transformOriginProp, cs, false, "0 0 0").split(" ")[2]) || tm.zOrigin || 0 : 0,
- s, m, i, scaleX, scaleY, rotation, skewX, difX, difY, difR, difS;
+ s, m, i, n, scaleX, scaleY, rotation, skewX, difX, difY, difR, difS;
if (_transformProp) {
s = _getStyle(t, _transformPropCSS, cs, true);
} else if (t.currentStyle) {
@@ -958,7 +959,8 @@
m = (s || "").match(/(?:\-|\b)[\d\-\.e]+\b/gi) || [];
i = m.length;
while (--i > -1) {
- m[i] = Number(m[i]); //convert strings to Numbers
+ n = Number(m[i]);
+ m[i] = ((n * rnd + ((n < 0) ? -0.5 : 0.5)) >> 0) / rnd; //convert strings to Numbers and round to 5 decimal places to avoid issues with tiny numbers
}
if (m.length === 16) {
@@ -979,8 +981,11 @@
var a11 = m[0], a21 = m[1], a31 = m[2], a41 = m[3],
a12 = m[4], a22 = m[5], a32 = m[6], a42 = m[7],
a43 = m[11],
+ minPI = -Math.PI + 0.0001,
+ maxPI = Math.PI - 0.0001,
angle = tm.rotationX = Math.atan2(a32, a33),
- t1, t2, t3, t4, cos, sin;
+ xFlip = (angle < minPI || angle > maxPI),
+ t1, t2, t3, t4, cos, sin, yFlip, zFlip;
//rotationX
if (angle) {
cos = Math.cos(-angle);
@@ -996,29 +1001,31 @@
a12 = t1;
a22 = t2;
a32 = t3;
- a42 = t4;
+ //a42 = t4;
}
//rotationY
angle = tm.rotationY = Math.atan2(a13, a11);
if (angle) {
+ yFlip = (angle < minPI || angle > maxPI);
cos = Math.cos(-angle);
sin = Math.sin(-angle);
t1 = a11*cos-a13*sin;
t2 = a21*cos-a23*sin;
t3 = a31*cos-a33*sin;
t4 = a41*cos-a43*sin;
- a13 = a11*sin+a13*cos;
+ //a13 = a11*sin+a13*cos;
a23 = a21*sin+a23*cos;
a33 = a31*sin+a33*cos;
a43 = a41*sin+a43*cos;
a11 = t1;
a21 = t2;
a31 = t3;
- a41 = t4;
+ //a41 = t4;
}
//rotationZ
angle = tm.rotation = Math.atan2(a21, a22);
if (angle) {
+ zFlip = (angle < minPI || angle > maxPI);
cos = Math.cos(-angle);
sin = Math.sin(-angle);
a11 = a11*cos+a12*sin;
@@ -1027,14 +1034,18 @@
a32 = a31*-sin+a32*cos;
a21 = t2;
}
- if (Math.abs(tm.rotationY) > Math.PI / 2) {
- tm.rotationY *= -1;
- tm.rotationX += Math.PI;
- tm.rotation = Math.PI - tm.rotation;
+
+ if (zFlip && xFlip) {
+ tm.rotation = tm.rotationX = 0;
+ } else if (zFlip && yFlip) {
+ tm.rotation = tm.rotationY = 0;
+ } else if (yFlip && xFlip) {
+ tm.rotationY = tm.rotationX = 0;
}
- tm.scaleX = Math.sqrt(a11 * a11 + a21 * a21);
- tm.scaleY = Math.sqrt(a22 * a22 + a23 * a23);
- tm.scaleZ = Math.sqrt(a32 * a32 + a33 * a33);
+
+ tm.scaleX = ((Math.sqrt(a11 * a11 + a21 * a21) * rnd + 0.5) >> 0) / rnd;
+ tm.scaleY = ((Math.sqrt(a22 * a22 + a23 * a23) * rnd + 0.5) >> 0) / rnd;
+ tm.scaleZ = ((Math.sqrt(a32 * a32 + a33 * a33) * rnd + 0.5) >> 0) / rnd;
tm.skewX = 0;
tm.perspective = a43 ? 1 / a43 : 0;
tm.x = a14;
@@ -1089,8 +1100,9 @@
if (tm[i] < min) if (tm[i] > -min) {
tm[i] = 0;
}
+ //alternate method rounds to 5 decimal places: tm[i] = ((tm[i] * rnd) >> 0) / rnd;
}
- //_log("parsed rotation: "+(tm.rotationX*_RAD2DEG)+", "+(tm.rotationY*_RAD2DEG)+", "+(tm.rotation*_RAD2DEG)+", scale: "+tm.scaleX+", "+tm.scaleY+", "+tm.scaleZ+", position: "+tm.x+", "+tm.y+", "+tm.z+", perspective: "+tm.perspective);
+ //DEBUG: _log("parsed rotation: "+(tm.rotationX*_RAD2DEG)+", "+(tm.rotationY*_RAD2DEG)+", "+(tm.rotation*_RAD2DEG)+", scale: "+tm.scaleX+", "+tm.scaleY+", "+tm.scaleZ+", position: "+tm.x+", "+tm.y+", "+tm.z+", perspective: "+tm.perspective);
if (rec) {
t._gsTransform = tm; //record to the object's _gsTransform which we use so that tweens can control individual properties independently (we need all the properties to accurately recompose the matrix in the setRatio() method)
}
@@ -1101,33 +1113,20 @@
var t = this.data, //refers to the element's _gsTransform object
ang = -t.rotation,
skew = ang + t.skewX,
- a = Math.cos(ang) * t.scaleX,
- b = Math.sin(ang) * t.scaleX,
- c = Math.sin(skew) * -t.scaleY,
- d = Math.cos(skew) * t.scaleY,
- min = 0.000001,
+ rnd = 100000,
+ a = ((Math.cos(ang) * t.scaleX * rnd) >> 0) / rnd,
+ b = ((Math.sin(ang) * t.scaleX * rnd) >> 0) / rnd,
+ c = ((Math.sin(skew) * -t.scaleY * rnd) >> 0) / rnd,
+ d = ((Math.cos(skew) * t.scaleY * rnd) >> 0) / rnd,
style = this.t.style,
cs = this.t.currentStyle,
filters, val;
if (!cs) {
return;
}
- //some browsers have a hard time with very small values like 2.4492935982947064e-16 (notice the "e-" towards the end) and would render the object slightly off. So we round to 0 in these cases. The conditional logic here is faster than calling Math.abs().
- if (a < min) if (a > -min) {
- a = 0;
- }
- if (b < min) if (b > -min) {
- b = 0;
- }
- if (c < min) if (c > -min) {
- c = 0;
- }
- if (d < min) if (d > -min) {
- d = 0;
- }
- min = b; //just for swapping the variables an inverting them (reused "min" to avoid creating another variable in memory). IE's filter matrix uses a non-standard matrix configuration (angle goes the opposite way, and b and c are reversed and inverted)
+ val = b; //just for swapping the variables an inverting them (reused "val" to avoid creating another variable in memory). IE's filter matrix uses a non-standard matrix configuration (angle goes the opposite way, and b and c are reversed and inverted)
b = -c;
- c = -min;
+ c = -val;
filters = cs.filter;
style.filter = ""; //remove filters so that we can accurately measure offsetWidth/offsetHeight
var w = this.t.offsetWidth,
@@ -1194,8 +1193,7 @@
angle = t.rotation,
zOrigin = t.zOrigin,
cma = ",",
- big = 100000,
- sml = 0.00001,
+ rnd = 100000,
cos, sin, t1, t2, t3, t4, top, n, sfx;
if (_isFirefox) { //Firefox has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way to do this is change "top" by 0.05 which is imperceptible, so we go back and forth. Another way is to change the display to "none", read the clientTop, and then revert the display but that is much slower.
top = style.top + "";
@@ -1257,17 +1255,16 @@
}
a14 += t.x;
a24 += t.y;
- a34 = (((a34 + t.z)* big) >> 0) * sml;
+ a34 = (((a34 + t.z) * rnd) >> 0) / rnd;
- style[_transformProp] = "matrix3d(" + (((a11 * big) >> 0) * sml) + cma + (((a21 * big) >> 0) * sml) + cma + (((a31 * big) >> 0) * sml) + cma + (((a41 * big) >> 0) * sml) + cma + (((a12 * big) >> 0) * sml) + cma + (((a22 * big) >> 0) * sml) + cma + (((a32 * big) >> 0) * sml) + cma + (((a42 * big) >> 0) * sml) + cma + (((a13 * big) >> 0) * sml) + cma + (((a23 * big) >> 0) * sml) + cma + (((a33 * big) >> 0) * sml) + cma + (((a43 * big) >> 0) * sml) + cma + (((a14 * big) >> 0) * sml) + cma + (((a24 * big) >> 0) * sml) + cma + a34 + cma + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
+ style[_transformProp] = "matrix3d(" + (((a11 * rnd) >> 0) / rnd) + cma + (((a21 * rnd) >> 0) / rnd) + cma + (((a31 * rnd) >> 0) / rnd) + cma + (((a41 * rnd) >> 0) / rnd) + cma + (((a12 * rnd) >> 0) / rnd) + cma + (((a22 * rnd) >> 0) / rnd) + cma + (((a32 * rnd) >> 0) / rnd) + cma + (((a42 * rnd) >> 0) / rnd) + cma + (((a13 * rnd) >> 0) / rnd) + cma + (((a23 * rnd) >> 0) / rnd) + cma + (((a33 * rnd) >> 0) / rnd) + cma + (((a43 * rnd) >> 0) / rnd) + cma + (((a14 * rnd) >> 0) / rnd) + cma + (((a24 * rnd) >> 0) / rnd) + cma + a34 + cma + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
/* alternate version that is more concise but not as fast in most scenarios. We chose the more verbose matrix3d() technique for maximum performance.
var t = this.data, //refers to the element's _gsTransform object
style = this.t.style,
s = "",
- big = 10000,
- sml = 0.0001,
- zOrigin = (((t.zOrigin * big) >> 0) * sml),
+ rnd = 10000,
+ zOrigin = (((t.zOrigin * rnd) >> 0) / rnd),
top, n, sfx;
if (_isFirefox) { //Firefox has a bug that causes 3D elements to randomly disappear during animation unless a repaint is forced. One way to do this is change "top" by 0.05 which is imperceptible, so we go back and forth. Another way is to change the display to "none", read the clientTop, and then revert the display but that is much slower.
top = style.top + "";
@@ -1280,22 +1277,22 @@
s = "perspective(" + t.perspective + ") ";
}
if (t.x || t.y || t.z) {
- s += "translate3d(" + (((t.x * big) >> 0) * sml) + "px," + (((t.y * big) >> 0) * sml) + "px," + (((t.z * big) >> 0) * sml) + "px) ";
+ s += "translate3d(" + (((t.x * rnd) >> 0) / rnd) + "px," + (((t.y * rnd) >> 0) / rnd) + "px," + (((t.z * rnd) >> 0) / rnd) + "px) ";
}
if (zOrigin) {
s += "translateZ(" + zOrigin + "px) ";
}
if (t.scaleX !== 1 || t.scaleY !== 1 || t.scaleZ !== 1) {
- s += "scale3d(" + (((t.scaleX * big) >> 0) * sml) + "," + (((t.scaleY * big) >> 0) * sml) + "," + (((t.scaleZ * big) >> 0) * sml) + ") ";
+ s += "scale3d(" + (((t.scaleX * rnd) >> 0) / rnd) + "," + (((t.scaleY * rnd) >> 0) / rnd) + "," + (((t.scaleZ * rnd) >> 0) / rnd) + ") ";
}
if (t.rotation) {
- s += "rotateZ(" + (((t.rotation * big) >> 0) * sml) + "rad) ";
+ s += "rotateZ(" + (((t.rotation * rnd) >> 0) / rnd) + "rad) ";
}
if (t.rotationY) {
- s += "rotateY(" + (((t.rotationY * big) >> 0) * sml) + "rad) ";
+ s += "rotateY(" + (((t.rotationY * rnd) >> 0) / rnd) + "rad) ";
}
if (t.rotationX) {
- s += "rotateX(" + (((t.rotationX * big) >> 0) * sml) + "rad) ";
+ s += "rotateX(" + (((t.rotationX * rnd) >> 0) / rnd) + "rad) ";
}
if (zOrigin) {
s += "translateZ(" + -zOrigin + "px)";
@@ -1313,13 +1310,13 @@
} else {
var ang = t.rotation,
skew = ang - t.skewX,
- a = Math.cos(ang) * t.scaleX,
- b = Math.sin(ang) * t.scaleX,
- c = Math.sin(skew) * -t.scaleY,
- d = Math.cos(skew) * t.scaleY,
- min = 0.000001;
- //some browsers have a hard time with very small values like 2.4492935982947064e-16 (notice the "e-" towards the end) and would render the object slightly off. So we round to 0 in these cases. The conditional logic here is faster than calling Math.abs().
- this.t.style[_transformProp] = "matrix(" + ((a < min && a > -min) ? 0 : a) + "," + ((b < min && b > -min) ? 0 : b) + "," + ((c < min && c > -min) ? 0 : c) + "," + ((d < min && d > -min) ? 0 : d) + "," + t.x + "," + t.y + ")";
+ rnd = 100000,
+ //some browsers have a hard time with very small values like 2.4492935982947064e-16 (notice the "e-" towards the end) and would render the object slightly off. So we round to 5 decimal places.
+ a = ((Math.cos(ang) * t.scaleX * rnd) >> 0) / rnd,
+ b = ((Math.sin(ang) * t.scaleX * rnd) >> 0) / rnd,
+ c = ((Math.sin(skew) * -t.scaleY * rnd) >> 0) / rnd,
+ d = ((Math.cos(skew) * t.scaleY * rnd) >> 0) / rnd;
+ this.t.style[_transformProp] = "matrix(" + a + "," + b + "," + c + "," + d + "," + t.x + "," + t.y + ")";
}
};
@@ -1387,7 +1384,7 @@
m2.scaleZ = 1; //no need to tween scaleZ.
}
- cssp._transformType = has3D ? 3 : 2; //quicker than calling cssp._enableTransforms();
+ cssp._transformType = (has3D || this._transformType === 3) ? 3 : 2; //quicker than calling cssp._enableTransforms();
while (--i > -1) {
p = _transformProps[i];