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 className bug in <IE8

Jack Doyle41d454a00448
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.js
index 398dc91..a18ad79 100755
--- a/src/minified/TweenMax.min.js
+++ b/src/minified/TweenMax.min.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.663
- * DATE: 2012-12-20
+ * VERSION: beta 1.664
+ * DATE: 2012-12-21
* 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,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.663;k.constructor=p;k.kill()._gc=!1;p.killTweensOf=p.killDelayedCallsTo=f.killTweensOf;p.getTweensOf=f.getTweensOf;p.ticker=f.ticker;
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var n=function(j,d,a){f.call(this,j,d,a);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},k=n.prototype=f.to({},0.1,{}),b=[];n.version=1.664;k.constructor=n;k.kill()._gc=!1;n.killTweensOf=n.killDelayedCallsTo=f.killTweensOf;n.getTweensOf=f.getTweensOf;n.ticker=f.ticker;
k.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return f.prototype.invalidate.call(this)};k.updateTo=function(j,d){var a=this.ratio,g;d&&(null!=this.timeline&&this._startTime<this._timeline._time)&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(g in j)this.vars[g]=j[g];if(this._initted)if(d)this._initted=
!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&f._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)a=this._time,this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1);else if(0<this._time){this._initted=!1;this._init();a=1/(1-a);g=this._firstPT;for(var u;g;)u=g.s+g.c,g.c*=a,g.s=u-g.c,g=g._next}return this};k.render=function(j,d,a){var g=!this._dirty?this._totalDuration:this.totalDuration(),u=this._time,c=this._totalTime,s=this._cycle,w,E;if(j>=g){if(this._totalTime=g,
this._cycle=this._repeat,this._yoyo&&0!==(this._cycle&1)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(w=!0,E="onComplete"),0===this._duration){if(0===j||0>this._rawPrevTime)this._rawPrevTime!==j&&(a=!0);this._rawPrevTime=j}}else if(0>=j){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==c||0===this._duration&&0<this._rawPrevTime)E=
"onReverseComplete",w=this._reversed;0>j?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(a=!0),this._rawPrevTime=j)):this._initted||(a=!0)}else if(this._totalTime=this._time=j,0!==this._repeat&&(j=this._duration+this._repeatDelay,this._cycle=this._totalTime/j>>0,0!==this._cycle&&this._cycle===this._totalTime/j&&this._cycle--,this._time=this._totalTime-this._cycle*j,this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time),this._time>this._duration?this._time=this._duration:
0>this._time&&(this._time=0)),this._easeType){j=this._time/this._duration;var g=this._easeType,t=this._easePower;if(1===g||3===g&&0.5<=j)j=1-j;3===g&&(j*=2);1===t?j*=j:2===t?j*=j*j:3===t?j*=j*j*j:4===t&&(j*=j*j*j*j);this.ratio=1===g?1-j:2===g?j:0.5>this._time/this._duration?j/2:1-j/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(u===this._time&&!a)c!==this._totalTime&&this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));else{this._initted||
(this._init(),!w&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===c&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))d||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||b);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(d||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));this._cycle!==
-s&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));E&&!this._gc&&(w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[E]&&this.vars[E].apply(this.vars[E+"Scope"]||this,this.vars[E+"Params"]||b))}};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;
+s&&(d||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||b));E&&!this._gc&&(w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),d||this.vars[E]&&this.vars[E].apply(this.vars[E+"Scope"]||this,this.vars[E+"Params"]||b))}};n.to=function(a,d,z){return new n(a,d,z)};n.from=function(a,d,z){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return new n(a,d,z)};n.fromTo=function(a,d,z,g){g.startAt=z;z.immediateRender&&
+(g.immediateRender=!0);return new n(a,d,g)};n.staggerTo=n.allTo=function(a,d,z,g,u,c,b){g=g||0;var s=[],E=a.length,t=z.delay||0,D,q,f;for(q=0;q<E;q++){D={};for(f in z)D[f]=z[f];D.delay=t;q===E-1&&u&&(D.onComplete=function(){z.onComplete&&z.onComplete.apply(z.onCompleteScope,z.onCompleteParams);u.apply(b,c)});s[q]=new n(a[q],d,D);t+=g}return s};n.staggerFrom=n.allFrom=function(a,d,z,g,u,c,b){z.runBackwards=!0;!1!==z.immediateRender&&(z.immediateRender=!0);return n.staggerTo(a,d,z,g,u,c,b)};n.staggerFromTo=
+n.allFromTo=function(a,d,z,g,c,b,s,w){g.startAt=z;z.immediateRender&&(g.immediateRender=!0);return n.staggerTo(a,d,g,c,b,s,w)};n.delayedCall=function(a,d,c,g,u){return new n(d,0,{delay:a,onComplete:d,onCompleteParams:c,onCompleteScope:g,onReverseComplete:d,onReverseCompleteParams:c,onReverseCompleteScope:g,immediateRender:!1,useFrames:u,overwrite:0})};n.set=function(a,d){return new n(a,0,d)};n.isTweening=function(a){a=f.getTweensOf(a);for(var d=a.length,c;-1<--d;)if((c=a[d])._active||c._startTime===
+c.timeline._time&&c.timeline._active)return!0;return!1};var s=function(a,d){for(var c=[],g=0,u=a._first;u;)u instanceof f?c[g++]=u:(d&&(c[g++]=u),c=c.concat(s(u,d)),g=c.length),u=u._next;return c},c=n.getAllTweens=function(a){return s(l._rootTimeline,a).concat(s(l._rootFramesTimeline,a))};n.killAll=function(a,d,z,g){null==d&&(d=!0);null==z&&(z=!0);var u=c(!1!=g),b=u.length;g=d&&z&&g;var s,w,E;for(E=0;E<b;E++)if(w=u[E],g||w instanceof r||(s=w.target===w.vars.onComplete)&&z||d&&!s)a?w.totalTime(w.totalDuration()):
+w._enabled(!1,!1)};n.killChildTweensOf=function(a,d){if(null!=a)if(a.jquery)a.each(function(a,g){n.killChildTweensOf(g,d)});else{var c=f._tweenLookup,g=[],u,b;for(b in c)for(u=c[b].target.parentNode;u;)u===a&&(g=g.concat(c[b].tweens)),u=u.parentNode;u=g.length;for(c=0;c<u;c++)d&&g[c].totalTime(g[c].totalDuration()),g[c]._enabled(!1,!1)}};n.pauseAll=function(j,d,c){a(!0,j,d,c)};n.resumeAll=function(j,d,c){a(!1,j,d,c)};var a=function(a,d,b,g){void 0==d&&(d=!0);void 0==b&&(b=!0);var u=c(g);g=d&&b&&g;
for(var s=u.length,f,w;-1<--s;)w=u[s],(g||w instanceof r||(f=w.target===w.vars.onComplete)&&b||d&&!f)&&w.paused(a)};k.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};k.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};k.time=function(a,d){if(!arguments.length)return this._time;
this._dirty&&this.totalDuration();a>this._duration&&(a=this._duration);this._yoyo&&0!==(this._cycle&1)?a=this._duration-a+this._cycle*(this._duration+this._repeatDelay):0!=this._repeat&&(a+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(a,d)};k.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?
-this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};k.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};k.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};k.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return p},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var p=function(a){r.call(this,
+this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};k.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};k.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};k.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return n},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(l,r,f){var n=function(a){r.call(this,
a);this._labels={};this.autoRemoveChildren=!0===this.vars.autoRemoveChildren;this.smoothChildTiming=!0===this.vars.smoothChildTiming;this._sortChildren=!0;this._onUpdate=this.vars.onUpdate;a=k.length;for(var j,d;-1<--a;)if(d=this.vars[k[a]])for(j=d.length;-1<--j;)"{self}"===d[j]&&(d=this.vars[k[a]]=d.concat(),d[j]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},k=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",
-"onRepeatParams"],b=[],s=function(a){var j={},d;for(d in a)j[d]=a[d];return j},c=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,
+"onRepeatParams"],b=[],s=function(a){var j={},d;for(d in a)j[d]=a[d];return j},c=n.prototype=new r;n.version=1.641;c.constructor=n;c.kill()._gc=!1;c.to=function(a,j,d,c,g){return this.insert(new f(a,j,d),this._parseTimeOrLabel(g,c,!0))};c.from=function(a,j,d,c,g){return this.insert(f.from(a,j,d),this._parseTimeOrLabel(g,c,!0))};c.fromTo=function(a,j,d,c,g,u){return this.insert(f.fromTo(a,j,d,c),this._parseTimeOrLabel(u,g,!0))};c.staggerTo=function(a,j,d,c,g,u,b,k,w){b=new n({onComplete:b,onCompleteParams:k,
onCompleteScope:w});c=c||0;for(k=0;k<a.length;k++)null!=d.startAt&&(d.startAt=s(d.startAt)),b.insert(new f(a[k],j,s(d)),k*c);return this.insert(b,this._parseTimeOrLabel(u,g,!0))};c.staggerFrom=function(a,j,d,c,g,u,b,s,w){null==d.immediateRender&&(d.immediateRender=!0);d.runBackwards=!0;return this.staggerTo(a,j,d,c,g,u,b,s,w)};c.staggerFromTo=function(a,j,d,c,g,u,b,s,w,E){c.startAt=d;d.immediateRender&&(c.immediateRender=!0);return this.staggerTo(a,j,c,g,u,b,s,w,E)};c.call=function(a,j,d,c,g){return this.insert(f.delayedCall(0,
-a,j,d),this._parseTimeOrLabel(g,c,!0))};c.set=function(a,j,d,c){j.immediateRender=!1;return this.insert(new f(a,0,j),this._parseTimeOrLabel(c,d,!0))};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};
+a,j,d),this._parseTimeOrLabel(g,c,!0))};c.set=function(a,j,d,c){j.immediateRender=!1;return this.insert(new f(a,0,j),this._parseTimeOrLabel(c,d,!0))};n.exportRoot=function(a,c){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var d=new n(a),b=d._timeline;null==c&&(c=!0);b._remove(d,!0);d._startTime=0;d._rawPrevTime=d._time=d._totalTime=b._time;for(var g=b._first,u;g;)u=g._next,(!c||!(g instanceof f&&g.target===g.vars.onComplete))&&d.insert(g,g._startTime-g._delay),g=u;b.insert(d,0);return d};
c.insert=function(a,c){if(!(a instanceof l)){if(a instanceof Array)return this.insertMultiple(a,c);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(c||0,0,!0));if("function"===typeof a)a=f.delayedCall(0,a);else throw"ERROR: Cannot insert() "+a+" into the TimelineLite/Max because it is neither a tween, timeline, function, nor a String.";}r.prototype.insert.call(this,a,this._parseTimeOrLabel(c||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var d=
this;d._gc&&d._timeline;)d._timeline.smoothChildTiming?d.totalTime(d._totalTime,!0):d._enabled(!0,!1),d=d._timeline;return this};c.remove=function(a){if(a instanceof l)return this._remove(a,!1);if(a instanceof Array){for(var c=a.length;-1<--c;)this.remove(a[c]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};c.append=function(a,c){return this.insert(a,this._parseTimeOrLabel(null,c,!0))};c.insertMultiple=function(a,c,d,b){d=d||"normal";b=b||0;var g,u=this._parseTimeOrLabel(c||
-0,0,!0),s=a.length;for(c=0;c<s;c++){if((g=a[c])instanceof Array)g=new 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=
+0,0,!0),s=a.length;for(c=0;c<s;c++){if((g=a[c])instanceof Array)g=new n({tweens:g});this.insert(g,u);"string"===typeof g||"function"===typeof g||("sequence"===d?u=g._startTime+g.totalDuration()/g._timeScale:"start"===d&&(g._startTime-=g.delay()));u+=b}return this._uncache(!0)};c.appendMultiple=function(a,c,d,b){return this.insertMultiple(a,this._parseTimeOrLabel(null,c,!0),d,b)};c.addLabel=function(a,c){this._labels[a]=c;return this};c.removeLabel=function(a){delete this._labels[a];return this};c.getLabelTime=
function(a){return null!=this._labels[a]?this._labels[a]:-1};c._parseTimeOrLabel=function(a,c,d){if("string"===typeof c)return this._parseTimeOrLabel(c,d&&"number"===typeof a&&null==this._labels[c]?a-this.duration():0,d);c=c||0;return null==a?this.duration()+c:"string"===typeof a&&isNaN(a)?null==this._labels[a]?d?this._labels[a]=this.duration()+c:c:this._labels[a]+c:Number(a)+c};c.seek=function(a,c){return this.totalTime(this._parseTimeOrLabel(a),!1!=c)};c.stop=function(){return this.paused(!0)};
-c.gotoAndPlay=function(a,c){return r.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var s=!this._dirty?this._totalDuration:this.totalDuration(),g=this._time,u=this._startTime,f=this._timeScale,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!==
+c.gotoAndPlay=function(a,c){return r.prototype.play.call(this,a,c)};c.gotoAndStop=function(a,c){return this.pause(a,c)};c.render=function(a,c,d){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var s=!this._dirty?this._totalDuration:this.totalDuration(),g=this._time,u=this._startTime,f=this._timeScale,n=this._paused,w,E,t;if(a>=s){this._totalTime=this._time=s;if(!this._reversed&&!this._hasPausedChild()&&(w=!0,t="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==
a&&(d=!0);this._rawPrevTime=a;a=s+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==g||0===this._duration&&0<this._rawPrevTime)t="onReverseComplete",w=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(d=!0)):this._initted||(d=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==g||d){this._initted||(this._initted=!0);0===g&&this.vars.onStart&&0!==this._time&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||
-b));if(this._time>g)for(d=this._first;d;){E=d._next;if(this._paused&&!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,
+b));if(this._time>g)for(d=this._first;d;){E=d._next;if(this._paused&&!n)break;else if(d._active||d._startTime<=this._time&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}else for(d=this._last;d;){E=d._prev;if(this._paused&&!n)break;else if(d._active||d._startTime<=g&&!d._paused&&!d._gc)d._reversed?d.render((!d._dirty?d._totalDuration:d.totalDuration())-(a-d._startTime)*d._timeScale,
c,!1):d.render((a-d._startTime)*d._timeScale,c,!1);d=E}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||b));if(t&&!this._gc&&(u===this._startTime||f!=this._timeScale))if(0===this._time||s>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[t]&&this.vars[t].apply(this.vars[t+"Scope"]||this,this.vars[t+"Params"]||b)}};c._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof
-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=
+n&&a._hasPausedChild())return!0;a=a._next}return!1};c.getChildren=function(a,c,d,b){b=b||-9999999999;for(var g=[],u=this._first,s=0;u;)u._startTime<b||(u instanceof f?!1!=c&&(g[s++]=u):(!1!=d&&(g[s++]=u),!1!=a&&(g=g.concat(u.getChildren(!0,c,d)),s=g.length))),u=u._next;return g};c.getTweensOf=function(a,c){for(var d=f.getTweensOf(a),b=d.length,g=[],u=0;-1<--b;)if(d[b].timeline===this||c&&this._contains(d[b]))g[u++]=d[b];return g};c._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=
a.timeline}return!1};c.shiftChildren=function(a,c,d){d=d||0;for(var b=this._first;b;)b._startTime>=d&&(b._startTime+=a),b=b._next;if(c)for(var g in this._labels)this._labels[g]>=d&&(this._labels[g]+=a);return this._uncache(!0)};c._kill=function(a,c){if(null==a&&null==c)return this._enabled(!1,!1);for(var d=null==c?this.getChildren(!0,!0,!1):this.getTweensOf(c),b=d.length,g=!1;-1<--b;)d[b]._kill(a,c)&&(g=!0);return g};c.clear=function(a){var c=this.getChildren(!1,!0,!0),d=c.length;for(this._time=this._totalTime=
0;-1<--d;)c[d]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};c.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};c._enabled=function(a,c){if(a===this._gc)for(var d=this._first;d;)d._enabled(a,!0),d=d._next;return r.prototype._enabled.call(this,a,c)};c.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};c.duration=function(a){if(!arguments.length)return this._dirty&&this.totalDuration(),
this._duration;0!==this.duration()&&0!==a&&this.timeScale(this._duration/a);return this};c.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var c=0,d=this._first,b=-999999999999,g;d;)g=d._next,d._startTime<b&&this._sortChildren?this.insert(d,d._startTime-d._delay):b=d._startTime,0>d._startTime&&(c-=d._startTime,this.shiftChildren(-d._startTime,!1,-9999999999)),d=d._startTime+(!d._dirty?d._totalDuration:d.totalDuration())/d._timeScale,d>c&&(c=d),d=g;this._duration=this._totalDuration=
-c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===l._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return 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,
+c;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};c.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===l._rootFramesTimeline};c.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return n},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(l,
+r,f){var n=function(b){l.call(this,b);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},k=[],b=new f(null,null,1,0);f=n.prototype=new l;f.constructor=n;f.kill()._gc=!1;n.version=1.641;f.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return l.prototype.invalidate.call(this)};f.addCallback=function(b,c,a,j){return this.insert(r.delayedCall(0,
b,a,j),c)};f.removeCallback=function(b,c){if(null==c)this._kill(null,b);else for(var a=this.getTweensOf(b,!1),j=a.length,d=this._parseTimeOrLabel(c);-1<--j;)a[j]._startTime===d&&a[j]._enabled(!1,!1);return this};f.tweenTo=function(s,c){c=c||{};var a={ease:b,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},j,d;for(j in c)a[j]=c[j];a.time=this._parseTimeOrLabel(s);d=new r(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){d.target.paused(!0);d.vars.time!==
d.target.time()&&d.duration(Math.abs(d.vars.time-d.target.time())/d.target._timeScale);c.onStart&&c.onStart.apply(c.onStartScope||d,c.onStartParams||k)};return d};f.tweenFromTo=function(b,c,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(b)};b=this.tweenTo(c,a);return b.duration(Math.abs(b.vars.time-b.vars.startAt.time)/this._timeScale||0.001)};f.render=function(b,c,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var j=!this._dirty?this._totalDuration:this.totalDuration(),d=this._time,
-f=this._totalTime,g=this._startTime,u=this._timeScale,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=
+f=this._totalTime,g=this._startTime,u=this._timeScale,n=this._rawPrevTime,r=this._paused,w=this._cycle,E,t;if(b>=j){this._locked||(this._totalTime=j,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(E=!0,t="onComplete",0===this._duration&&(0===b||0>this._rawPrevTime)))this._rawPrevTime!==b&&(a=!0);this._rawPrevTime=b;this._yoyo&&0!==(this._cycle&1)?(this._time=0,b=-1E-6):(this._time=this._duration,b=this._duration+1E-6)}else if(0>=b){this._locked||(this._totalTime=this._cycle=
0);this._time=0;if(0!==d||0===this._duration&&0<this._rawPrevTime&&!this._locked)t="onReverseComplete",E=this._reversed;0>b?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=b;b=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=b,!this._locked&&(this._totalTime=b,0!==this._repeat)){var D=this._duration+this._repeatDelay;this._cycle=this._totalTime/D>>0;0!==this._cycle&&this._cycle===this._totalTime/D&&this._cycle--;this._time=
this._totalTime-this._cycle*D;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,b=this._duration+1E-6):0>this._time?this._time=b=0:b=this._time}if(this._cycle!==w&&!this._locked){var D=this._yoyo&&0!==(w&1),q=D===(this._yoyo&&0!==(this._cycle&1)),U=this._totalTime,G=this._cycle,M=this._rawPrevTime,x=this._time;this._totalTime=w*this._duration;this._cycle<w?D=!D:this._totalTime+=this._duration;this._time=d;this._rawPrevTime=
-0===this._duration?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||
+0===this._duration?n-1E-5:n;this._cycle=w;this._locked=!0;d=D?0:this._duration;this.render(d,c,0===this._duration);c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k);q&&(d=D?this._duration+1E-6:-1E-6,this.render(d,!0,!1));this._time=x;this._totalTime=U;this._cycle=G;this._rawPrevTime=M;this._locked=!1}if(this._time===d&&!a)f!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||
k));else{this._initted||(this._initted=!0);0===f&&this.vars.onStart&&0!==this._totalTime&&(c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k));if(this._time>d)for(a=this._first;a;){f=a._next;if(this._paused&&!r)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=f}else for(a=this._last;a;){f=a._prev;
if(this._paused&&!r)break;else if(a._active||a._startTime<=d&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(b-a._startTime)*a._timeScale,c,!1):a.render((b-a._startTime)*a._timeScale,c,!1);a=f}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(t&&!this._locked&&!this._gc&&(g===this._startTime||u!==this._timeScale))if(0===this._time||j>=this.totalDuration())E&&(this._timeline.autoRemoveChildren&&this._enabled(!1,
!1),this._active=!1),c||this.vars[t]&&this.vars[t].apply(this.vars[t+"Scope"]||this,this.vars[t+"Params"]||k)}};f.getActive=function(b,c,a){null==b&&(b=!0);null==c&&(c=!0);null==a&&(a=!1);var j=[];b=this.getChildren(b,c,a);c=0;a=b.length;var d,f;for(d=0;d<a;d++)if(f=b[d],!f._paused&&f._timeline._time>=f._startTime&&f._timeline._time<f._startTime+f._totalDuration/f._timeScale){var g;a:{for(g=f._timeline;g;){if(g._paused){g=!0;break a}g=g._timeline}g=!1}g||(j[c++]=f)}return j};f.getLabelAfter=function(b){!b&&
0!==b&&(b=this._time);var c=this.getLabelsArray(),a=c.length,j;for(j=0;j<a;j++)if(c[j].time>b)return c[j].name;return null};f.getLabelBefore=function(b){null==b&&(b=this._time);for(var c=this.getLabelsArray(),a=c.length;-1<--a;)if(c[a].time<b)return c[a].name;return null};f.getLabelsArray=function(){var b=[],c=0,a;for(a in this._labels)b[c++]={time:this._labels[a],name:a};b.sort(function(a,c){return a.time-c.time});return b};f.progress=function(b){return!arguments.length?this._time/this.duration():
this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-b:b)+this._cycle*(this._duration+this._repeatDelay),!1)};f.totalProgress=function(b){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*b,!1)};f.totalDuration=function(b){return!arguments.length?(this._dirty&&(l.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration):-1===this._repeat?
this:this.duration((b-this._repeat*this._repeatDelay)/(this._repeat+1))};f.time=function(b,c){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();b>this._duration&&(b=this._duration);this._yoyo&&0!==(this._cycle&1)?b=this._duration-b+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(b+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(b,c)};f.repeat=function(b){if(!arguments.length)return this._repeat;this._repeat=b;return this._uncache(!0)};
-f.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};f.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};f.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return 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,10);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];
+f.repeatDelay=function(b){if(!arguments.length)return this._repeatDelay;this._repeatDelay=b;return this._uncache(!0)};f.yoyo=function(b){if(!arguments.length)return this._yoyo;this._yoyo=b;return this};f.currentLabel=function(b){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(b,!0)};return n},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(l){var r=function(){l.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},f=r.prototype=
+new l("bezier",1),n=180/Math.PI,k=Math.PI/180,b=[],s=[],c=[],a={},j=function(a,c,d,b){this.a=a;this.b=c;this.c=d;this.d=b;this.da=b-a;this.ca=d-a;this.ba=c-a},d=r.bezierThrough=function(d,u,f,n,w,E){var t={},D=[],q,k,G;w="string"===typeof w?","+w+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==u&&(u=1);for(k in d[0])D.push(k);b.length=s.length=c.length=0;for(q=D.length;-1<
+--q;){k=D[q];a[k]=-1!==w.indexOf(","+k+",");G=t;var r=k,x;x=d;var h=k,B=a[k],v=E,A=[],C=void 0,y=void 0,l=void 0,e=void 0,p=void 0,C=void 0;if(v){x=[v].concat(x);for(y=x.length;-1<--y;)if("string"===typeof(C=x[y][h]))"="===C.charAt(1)&&(x[y][h]=v[h]+Number(C.charAt(0)+C.substr(2)))}C=x.length-2;if(0>C)A[0]=new j(x[0][h],0,0,x[-1>C?0:1][h]);else{for(y=0;y<C;y++)l=x[y][h],e=x[y+1][h],A[y]=new j(l,0,0,e),B&&(p=x[y+2][h],b[y]=(b[y]||0)+(e-l)*(e-l),s[y]=(s[y]||0)+(p-e)*(p-e));A[y]=new j(x[y][h],0,0,x[y+
+1][h])}x=A;G[r]=x}for(q=b.length;-1<--q;)b[q]=Math.sqrt(b[q]),s[q]=Math.sqrt(s[q]);if(!n){for(q=D.length;-1<--q;)if(a[k]){d=t[D[q]];G=d.length-1;for(w=0;w<G;w++)E=d[w+1].da/s[w]+d[w].da/b[w],c[w]=(c[w]||0)+E*E}for(q=c.length;-1<--q;)c[q]=Math.sqrt(c[q])}for(q=D.length;-1<--q;){k=D[q];d=t[k];w=u;E=f;G=n;k=a[k];r=d.length-1;x=0;for(var h=d[0].a,m=p=e=v=C=e=l=C=y=l=A=v=B=void 0,B=0;B<r;B++)y=d[x],v=y.a,A=y.d,l=d[x+1].d,k?(e=b[B],p=s[B],m=0.25*(p+e)*w/(G?0.5:c[B]||0.5),C=A-(A-v)*(G?0.5*w:m/e),l=A+(l-
+A)*(G?0.5*w:m/p),e=A-(C+(l-C)*(3*e/(e+p)+0.5)/4)):(C=A-0.5*(A-v)*w,l=A+0.5*(l-A)*w,e=A-(C+l)/2),C+=e,l+=e,y.c=C,y.b=0!==B?h:h=y.a+0.6*(y.c-y.a),y.da=A-v,y.ca=C-v,y.ba=h-v,E?(v=z(v,h,C,A),d.splice(x,1,v[0],v[1],v[2],v[3]),x+=4):x++,h=l;y=d[x];y.b=h;y.c=h+0.4*(y.d-h);y.da=y.d-y.a;y.ca=y.c-y.a;y.ba=h-y.a;E&&(v=z(y.a,h,y.c,y.d),d.splice(x,1,v[0],v[1],v[2],v[3]))}return t},z=r.cubicToQuadratic=function(a,c,d,b){var j={a:a},f={},t={},k={c:b},q=(a+c)/2,n=(c+d)/2;d=(d+b)/2;c=(q+n)/2;var n=(n+d)/2,r=(n-c)/
+8;j.b=q+(a-q)/4;f.b=c+r;j.c=f.a=(j.b+f.b)/2;f.c=t.a=(c+n)/2;t.b=n-r;k.b=d+(b-d)/4;t.c=k.a=(t.b+k.b)/2;return[j,f,t,k]};r.quadraticToCubic=function(a,c,d){return new j(a,(2*c+a)/3,(2*c+d)/3,d)};f.constructor=r;r.API=2;r._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,c=a._parseToProxy,d=a._setPluginRatio,b=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,g,j,f,q,n){g instanceof Array&&(g={values:g});n=new r;j=g.values;var l=j.length-
+1,s=[],x={},h,B,v;if(0>l)return q;for(h=0;h<=l;h++)v=c(a,j[h],f,q,n,l!==h),s[h]=v.end;for(B in g)x[B]=g[B];x.values=s;q=new b(a,"bezier",0,0,v.pt,2);q.data=v;q.plugin=n;q.setRatio=d;0===x.autoRotate&&(x.autoRotate=!0);x.autoRotate&&!(x.autoRotate instanceof Array)&&(h=!0===x.autoRotate?0:Number(x.autoRotate)*k,x.autoRotate=null!=v.end.left?[["left","top","rotation",h,!0]]:null!=v.end.x?[["x","y","rotation",h,!0]]:!1);x.autoRotate&&(f._transform||f._enableTransforms(!1),v.autoRotate=f._target._gsTransform);
+n._onInitTween(v.proxy,x,f._tween);return q})}};f._onInitTween=function(a,c,b){this._target=a;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution,10);var f=c.values||[],n={},k=f[0];b=c.autoRotate||b.vars.orientToBezier;var t,D,q;this._autoRotate=b?b instanceof Array?b:[["x","y","rotation",!0===b?0:Number(b)||0]]:null;for(t in k)this._props.push(t);for(k=this._props.length;-1<--k;)t=this._props[k],this._overwriteProps.push(t),b=this._func[t]=
+"function"===typeof a[t],n[t]=!b?parseFloat(a[t]):a[t.indexOf("set")||"function"!==typeof a["get"+t.substr(3)]?t:"get"+t.substr(3)](),q||n[t]!==f[0][t]&&(q=n);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)n=d(f,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,q);else{b=(b=c.type)||"soft";c={};q="cubic"===b?3:2;b="soft"===b;var k=[],l,r,s,x,h,B,v,A,C;b&&n&&(f=[n].concat(f));if(null==f||f.length<q+1)throw"invalid Bezier data";for(r in f[0])k.push(r);for(B=k.length;-1<
+--B;){r=k[B];c[r]=h=[];C=0;A=f.length;for(v=0;v<A;v++)l=null==n?f[v][r]:"string"===typeof(s=f[v][r])&&"="===s.charAt(1)?n[r]+Number(s.charAt(0)+s.substr(2)):Number(s),b&&1<v&&v<A-1&&(h[C++]=(l+h[C-2])/2),h[C++]=l;A=C-q+1;for(v=C=0;v<A;v+=q)l=h[v],r=h[v+1],s=h[v+2],x=2===q?0:h[v+3],h[C++]=s=3===q?new j(l,r,s,x):new j(l,(2*r+l)/3,(2*r+s)/3,s);h.length=C}n=c}this._beziers=n;this._segCount=this._beziers[t].length;if(this._timeRes){k=this._beziers;t=this._timeRes;t=t>>0||6;n=[];r=[];f=s=0;c=t-1;q=[];b=
+[];for(D in k){l=k[D];h=n;B=t;v=1/B;A=l.length;for(var y=void 0,z=void 0,e=x=C=z=void 0,p=y=void 0,m=void 0,m=e=void 0;-1<--A;){e=l[A];z=e.a;C=e.d-z;x=e.c-z;e=e.b-z;z=0;for(p=1;p<=B;p++)y=v*p,m=1-y,y=z-(z=(y*y*C+3*m*(y*x+m*e))*y),m=A*B+p-1,h[m]=(h[m]||0)+y*y}}k=n.length;for(D=0;D<k;D++)s+=Math.sqrt(n[D]),l=D%t,b[l]=s,l===c&&(f+=s,l=D/t>>0,q[l]=b,r[l]=f,s=0,b=[]);this._length=f;this._lengths=r;this._segments=q;this._l1=this._li=this._s1=this._si=0;this._l2=this._lengths[0];this._curSeg=this._segments[0];
this._s2=this._curSeg[0];this._prec=1/this._curSeg.length}if(b=this._autoRotate){b[0]instanceof Array||(this._autoRotate=b=[b]);for(k=b.length;-1<--k;)for(D=0;3>D;D++)t=b[k][D],this._func[t]="function"===typeof a[t]?a[t.indexOf("set")||"function"!==typeof a["get"+t.substr(3)]?t:"get"+t.substr(3)]:!1}return!0};f.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,f,j,k,l,q;if(this._timeRes){f=this._lengths;l=this._curSeg;a*=this._length;j=this._li;if(a>this._l2&&j<c-1){for(c-=1;j<
c&&(this._l2=f[++j])<=a;);this._l1=f[j-1];this._li=j;this._curSeg=l=this._segments[j];this._s2=l[this._s1=this._si=0]}else if(a<this._l1&&0<j){for(;0<j&&(this._l1=f[--j])>=a;);0===j&&a<this._l1?this._l1=0:j++;this._l2=f[j];this._li=j;this._curSeg=l=this._segments[j];this._s1=l[(this._si=l.length-1)-1]||0;this._s2=l[this._si]}f=j;a-=this._l1;j=this._si;if(a>this._s2&&j<l.length-1){for(c=l.length-1;j<c&&(this._s2=l[++j])<=a;);this._s1=l[j-1];this._si=j}else if(a<this._s1&&0<j){for(;0<j&&(this._s1=l[--j])>=
-a;);0===j&&a<this._s1?this._s1=0:j++;this._s2=l[j];this._si=j}l=(j+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,l=(a-f*(1/c))*c;c=1-l;for(j=this._props.length;-1<--j;)if(a=this._props[j],k=this._beziers[a][f],q=(l*l*k.da+3*c*(l*k.ca+c*k.ba))*l+k.a,this._round[a]&&(q=q+(0<q?0.5:-0.5)>>0),b[a])d[a](q);else d[a]=q;if(this._autoRotate){var c=this._autoRotate,r,s,z,x,h;for(j=c.length;-1<--j;)a=c[j][2],x=c[j][3]||0,h=!0===c[j][4]?1:p,k=this._beziers[c[j][0]][f],q=this._beziers[c[j][1]][f],
+a;);0===j&&a<this._s1?this._s1=0:j++;this._s2=l[j];this._si=j}l=(j+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,l=(a-f*(1/c))*c;c=1-l;for(j=this._props.length;-1<--j;)if(a=this._props[j],k=this._beziers[a][f],q=(l*l*k.da+3*c*(l*k.ca+c*k.ba))*l+k.a,this._round[a]&&(q=q+(0<q?0.5:-0.5)>>0),b[a])d[a](q);else d[a]=q;if(this._autoRotate){var c=this._autoRotate,r,s,z,x,h;for(j=c.length;-1<--j;)a=c[j][2],x=c[j][3]||0,h=!0===c[j][4]?1:n,k=this._beziers[c[j][0]][f],q=this._beziers[c[j][1]][f],
r=k.a+(k.b-k.a)*l,s=k.b+(k.c-k.b)*l,r+=(s-r)*l,s+=(k.c+(k.d-k.c)*l-s)*l,k=q.a+(q.b-q.a)*l,z=q.b+(q.c-q.b)*l,k+=(z-k)*l,z+=(q.c+(q.d-q.c)*l-z)*l,q=Math.atan2(z-k,s-r)*h+x,b[a]?b[a].call(d,q):d[a]=q}};f._roundProps=function(a,c){for(var b=this._overwriteProps,d=b.length;-1<--d;)if(a[b[d]]||a.bezier||a.bezierThrough)this._round[b[d]]=c};f._kill=function(a){var c=this._props,b,d;for(b in this._beziers)if(b in a){delete this._beziers[b];delete this._func[b];for(d=c.length;-1<--d;)c[d]===b&&c.splice(d,
-1)}return l.prototype._kill.call(this,a)};l.activate([r]);return r},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(l){var r=function(){l.call(this,"css");this._overwriteProps.length=0},f,p,k,b,s={},c=r.prototype=new l("css");c.constructor=r;r.version=1.663;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,
+1)}return l.prototype._kill.call(this,a)};l.activate([r]);return r},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(l){var r=function(){l.call(this,"css");this._overwriteProps.length=0},f,n,k,b,s={},c=r.prototype=new l("css");c.constructor=r;r.version=1.664;r.API=2;r.defaultTransformPerspective=0;c="px";r.suffixMap={top:c,right:c,bottom:c,left:c,width:c,height:c,fontSize:c,padding:c,margin:c,perspective:c};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,j=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
d=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,z=/[^\d\-\.]/g,g=/(?:\d|\-|\+|=|#|\.)*/g,u=/opacity *= *([^)]*)/,Z=/opacity:([^;]*)/,R=/([A-Z])/g,w=/-([a-z])/gi,E=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,t=function(a,e){return e.toUpperCase()},D=/(?:Left|Right|Width)/i,q=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,U=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,G=Math.PI/180,M=180/Math.PI,x={},h=document,B=h.createElement("div"),v=h.createElement("img"),A=r._internals={_specialProps:s},C=navigator.userAgent,
-y,V,e,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:
+y,V,e,p,m,H,F,I=C.indexOf("Android"),J=h.createElement("div");m=(e=-1!==C.indexOf("Safari")&&-1===C.indexOf("Chrome")&&(-1===I||3<Number(C.substr(I+8,1))))&&6>Number(C.substr(C.indexOf("Version/")+8,1));p=-1!==C.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(C);H=parseFloat(RegExp.$1);J.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";F=(C=J.getElementsByTagName("a")[0])?/^0.55/.test(C.style.opacity):!1;var S=function(a){return u.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:
a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},la="",ga="",ba=function(a,e){e=e||B;var c=e.style,b,d;if(void 0!==c[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);b=["O","Moz","ms","Ms","Webkit"];for(d=5;-1<--d&&void 0===c[b[d]+a];);return 0<=d?(ga=3===d?"ms":b[d],la="-"+ga.toLowerCase()+"-",ga+a):null},ca=h.defaultView?h.defaultView.getComputedStyle:function(){},N=r.getStyle=function(a,e,c,b,d){var h;if(!F&&"opacity"===e)return S(a);!b&&a.style[e]?h=a.style[e]:(c=c||ca(a,null))?h=(a=c.getPropertyValue(e.replace(R,
"-$1").toLowerCase()))||c.length?a:c[e]:a.currentStyle&&(c=a.currentStyle,h=c[e]);return null!=d&&(!h||"none"===h||"auto"===h||"auto auto"===h)?d:h},ea=function(a,e,c){var b={},d=a._gsOverwrittenClassNamePT,h;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(e=e||ca(a,null))if(h=e.length)for(;-1<--h;)b[e[h].replace(w,t)]=e.getPropertyValue(e[h]);else for(h in e)b[h]=e[h];else if(e=a.currentStyle||a.style)for(h in e)b[h.replace(w,t)]=e[h];F||(b.opacity=S(a));a=da(a,e,!1);
-b.rotation=a.rotation*M;b.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",10)*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",10)*
+b.rotation=a.rotation*M;b.skewX=a.skewX*M;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.x=a.x;b.y=a.y;W&&(b.z=a.z,b.rotationX=a.rotationX*M,b.rotationY=a.rotationY*M,b.scaleZ=a.scaleZ);b.filters&&delete b.filters;return b},ma=function(a,e,c,b){var d={};a=a.style;var h,K,m;for(K in c)if("cssText"!==K&&"length"!==K&&isNaN(K)&&e[K]!==(h=c[K]))if(-1===K.indexOf("Origin")&&("number"===typeof h||"string"===typeof h))d[K]=(""===h||"auto"===h||"none"===h)&&"string"===typeof e[K]&&""!==e[K].replace(z,"")?0:h,void 0!==
+a[K]&&(m=new ha(a,K,a[K],m));if(b)for(K in b)"className"!==K&&(d[K]=b[K]);return{difs:d,firstMPT:m}},sa={width:["Left","Right"],height:["Top","Bottom"]},ta=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,e,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var m=D.test(e),K=a,p=B.style,j=0>c;j&&(c=-c);"%"===b&&-1!==e.indexOf("border")?m=c/100*(m?a.clientWidth:a.clientHeight):(p.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;","%"===b||"em"===
+b||!K.appendChild?(K=a.parentNode||h.body,p[m?"width":"height"]=c+b):p[m?"borderLeftWidth":"borderTopWidth"]=c+b,K.appendChild(B),m=parseFloat(B[m?"offsetWidth":"offsetHeight"]),K.removeChild(B),0===m&&!d&&(m=T(a,e,c,b,!0)));return j?-m:m},ia=function(a,e){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var c=a.split(" "),b=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":c[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":c[1];null==d?d="0":"center"===d&&(d="50%");
+if("center"===b||isNaN(parseFloat(b)))b="50%";e&&(e.oxp=-1!==b.indexOf("%"),e.oyp=-1!==d.indexOf("%"),e.oxr="="===b.charAt(1),e.oyr="="===d.charAt(1),e.ox=parseFloat(b.replace(z,"")),e.oy=parseFloat(d.replace(z,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},na=function(a,e){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(e)},X=function(a,e){return null==a?e:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*
Number(a.substr(2))+e:parseFloat(a)},$=function(a,e){if(null==a)return e;var c=-1===a.indexOf("rad")?G:1,b="="===a.charAt(1);a=Number(a.replace(z,""))*c;return b?a+e:a},ja=function(a,e){var c=(("number"===typeof a?a*G:$(a,e))-e)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return e+c},aa={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,
0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},ka=function(e){if(!e||""===e)return aa.black;if(aa[e])return aa[e];if("number"===typeof e)return[e>>16,e>>8&255,e&255];if("#"===e.charAt(0)){if(4===e.length){var c=e.charAt(1),b=e.charAt(2);e=e.charAt(3);e="#"+c+c+b+b+e+e}e=parseInt(e.substr(1),16);return[e>>16,e>>8&255,e&255]}e=e.match(a)||aa.transparent;e[0]=Number(e[0]);e[1]=Number(e[1]);e[2]=
-Number(e[2]);3<e.length&&(e[3]=Number(e[3]));return e},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,
+Number(e[2]);3<e.length&&(e[3]=Number(e[3]));return e},Y="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(c in aa)Y+="|"+c+"\\b";var Y=RegExp(Y+")","gi"),oa=function(e,c,b){if(null==e)return function(a){return a};var h=c?(e.match(Y)||[""])[0]:"",m=e.split(h).join("").match(d)||[],p=e.substr(0,e.indexOf(m[0])),K=")"===e.charAt(e.length-1)?")":"",j=-1!==e.indexOf(" ")?" ":",",f=m.length,g=0<f?m[0].replace(a,""):"";return c?function(a){"number"===typeof a&&(a+=g);var e=(a.match(Y)||[h])[0];a=a.split(e).join("").match(d)||
+[];var c=a.length;if(f>c--)for(;++c<f;)a[c]=b?a[(c-1)/2>>0]:m[c];return p+a.join(j)+j+e+K}:function(a){"number"===typeof a&&(a+=g);a=a.match(d)||[];var e=a.length;if(f>e--)for(;++e<f;)a[e]=b?a[(e-1)/2>>0]:m[e];return p+a.join(j)+K}},C=function(a){a=a.split(",");return function(e,c,b,d,h,m,p){c=(c+"").split(" ");p={};for(b=0;4>b;b++)p[a[b]]=c[b]=c[b]||c[(b-1)/2>>0];return d.parse(e,p,h,m)}};A._setPluginRatio=function(a){this.plugin.setRatio(a);for(var e=this.data,c=e.proxy,b=e.firstMPT,d;b;)d=c[b.v],
+b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),b.t[b.p]=d,b=b._next;e.autoRotate&&(e.autoRotate.rotation=c.rotation);if(1===a)for(b=e.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(e=1;e<a.l;e++)c+=a["xn"+e]+a["xs"+(e+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ha=function(a,e,c,b,d){this.t=a;this.p=e;this.v=c;this.r=d;b&&(b._prev=this,this._next=b)};A._parseToProxy=function(a,e,c,b,d,h){var m=b,p={},j={},f=c._transform,g=x,k;c._transform=null;x=e;b=a=c.parse(a,e,b,d);x=
+g;h&&(c._transform=f,m&&(m._prev=null,m._prev&&(m._prev._next=null)));for(;b&&b!==m;){if(1>=b.type&&(f=b.p,j[f]=b.s+b.c,p[f]=b.s,h||(k=new ha(b,"s",f,k,b.r),b.c=0),1===b.type))for(c=b.l;0<--c;)g="xn"+c,f=b.p+"_"+g,j[f]=b.data[g],p[f]=b[g],h||(k=new ha(b,g,f,k,b.rxp[g]));b=b._next}return{proxy:p,end:j,firstMPT:k,pt:a}};var O=A.CSSPropTween=function(a,e,c,d,h,m,p,j,g,k,n){this.t=a;this.p=e;this.s=c;this.c=d;this.n=p||"css_"+e;a instanceof O||b.push(this.n);this.r=j;this.type=m||0;g&&(this.pr=g,f=!0);
+this.b=void 0===k?c:k;this.e=void 0===n?c+d:n;h&&(this._next=h,h._prev=this)},fa=r.parseComplex=function(e,c,b,d,h,m,p,f,g,k){p=new O(e,c,0,0,p,k?2:1,null,!1,f,b,d);e=b.split(", ").join(",").split(" ");c=(d+"").split(", ").join(",").split(" ");b=e.length;f=!1!==y;var n,l,H,q,s;b!==c.length&&(e=(m||"").split(" "),b=e.length);p.plugin=g;p.setRatio=k;for(m=0;m<b;m++)if(g=e[m],n=c[m],(k=parseFloat(g))||0===k)p.appendXtra("",k,na(n,k),n.replace(j,""),f&&-1!==n.indexOf("px"),!0);else if(h&&("#"===g.charAt(0)||
+0===g.indexOf("rgb")||aa[g]))g=ka(g),n=ka(n),(k=6<g.length+n.length)&&!F&&0===n[3]?(p["xs"+p.l]+=p.l?" transparent":"transparent",p.e=p.e.split(c[m]).join("transparent")):(p.appendXtra(k?"rgba(":"rgb(",g[0],n[0]-g[0],",",!0,!0).appendXtra("",g[1],n[1]-g[1],",",!0).appendXtra("",g[2],n[2]-g[2],k?",":")",!0),k&&(g=4>g.length?1:g[3],p.appendXtra("",g,(4>n.length?1:n[3])-g,")",!1)));else if(k=g.match(a)){H=n.match(j);if(!H||H.length!==k.length)return p;for(n=l=0;n<k.length;n++)s=k[n],q=g.indexOf(s,l),
+p.appendXtra(g.substr(l,q-l),Number(s),na(H[n],s),"",f&&"px"===g.substr(q+s.length,2),0===n),l=q+s.length;p["xs"+p.l]+=g.substr(l)}else p["xs"+p.l]+=p.l?" "+g:g;if(-1!==d.indexOf("=")&&p.data){d=p.xs0+p.data.s;for(m=1;m<p.l;m++)d+=p["xs"+m]+p.data["xn"+m];p.e=d+p["xs"+m]}p.l||(p.type=-1,p.xs0=p.e);return p.xfirst||p},P=9,c=O.prototype;for(c.l=c.pr=0;0<--P;)c["xn"+P]=0,c["xs"+P]="";c.xs0="";c._next=c._prev=c.xfirst=c.data=c.plugin=c.setRatio=c.rxp=null;c.appendXtra=function(a,e,c,b,d,h){var p=this.l;
+this["xs"+p]+=h&&p?" "+a:a||"";if(!c&&0!==p&&!this.plugin)return this["xs"+p]+=e+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<p)return this.data["xn"+p]=e+c,this.rxp["xn"+p]=d,this["xn"+p]=e,this.plugin||(this.xfirst=new O(this,"xn"+p,e,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:e+c};this.rxp={};this.s=e;this.c=c;this.r=d;return this};var pa=function(a,e,c,b,d,p,h){this.p=b?ba(a)||a:a;s[a]=s[this.p]=this;this.format=p||oa(e,d);c&&
+(this.parse=c);this.clrs=d;this.dflt=e;this.pr=h||0},L=A._registerComplexSpecialProp=function(a,e,c,b,d,p,h){a=a.split(",");e=e instanceof Array?e:[e];for(var m=a.length;-1<--m;)new pa(a[m],e[m],c,b&&0===m,d,p,h)},A=function(a){if(!s[a]){var e=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";L(a,null,function(a,c,b,d,p,h,m){var g=window.com.greensock.plugins[e];if(!g)return window.console&&console.log("Error: "+e+" js file not loaded."),p;g._cssRegister();return s[b].parse(a,c,b,d,p,h,m)})}},c=pa.prototype;
+c.parseComplex=function(a,e,c,b,d,p){return fa(a,this.p,e,c,this.clrs,this.dflt,b,this.pr,d,p)};c.parse=function(a,e,c,b,d,p){return this.parseComplex(a.style,this.format(N(a,c,k,!1,this.dflt)),this.format(e),d,p)};r.registerSpecialProp=function(a,e,c){L(a,null,function(a,b,d,p,h,m){h=new O(a,d,0,0,h,2,d,!1,c);h.plugin=m;h.setRatio=e(a,b,p._tween,d);return h},!1,!1,null,c)};var qa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),Q=ba("transform"),ua=la+"transform",
+ra=ba("transformOrigin"),W=null!==ba("perspective"),da=function(a,e,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,p=W?parseFloat(N(a,ra,e,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,h,m,g,j,f,k,n,l;Q?h=N(a,ua,e,!0):a.currentStyle&&(h=(h=a.currentStyle.filter.match(q))&&4===h.length?h[0].substr(4)+","+Number(h[2].substr(4))+","+Number(h[1].substr(4))+","+h[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);m=(h||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(e=m.length;-1<--e;)h=Number(m[e]),
+m[e]=(1E5*h+(0>h?-0.5:0.5)>>0)/1E5;if(16===m.length){if(d=m[8],h=m[9],f=m[10],k=m[12],n=m[13],l=m[14],b.zOrigin&&(l=-b.zOrigin,k=d*l-m[12],n=h*l-m[13],l=f*l+b.zOrigin-m[14]),!c||k!==b.x||n!==b.y||l!==b.z){var H=m[0],s=m[1],F=m[2],u=m[3],t=m[4],I=m[5],v=m[6],S=m[7];m=m[11];var y=-Math.PI+1E-4,w=Math.PI-1E-4,J=b.rotationX=Math.atan2(v,f),C=J<y||J>w,x,z,B,A;J&&(B=Math.cos(-J),A=Math.sin(-J),J=t*B+d*A,x=I*B+h*A,z=v*B+f*A,d=t*-A+d*B,h=I*-A+h*B,f=v*-A+f*B,m=S*-A+m*B,t=J,I=x,v=z);if(J=b.rotationY=Math.atan2(d,
H))g=J<y||J>w,B=Math.cos(-J),A=Math.sin(-J),x=s*B-h*A,z=F*B-f*A,h=s*A+h*B,f=F*A+f*B,m=u*A+m*B,H=H*B-d*A,s=x,F=z;if(J=b.rotation=Math.atan2(s,I))j=J<y||J>w,B=Math.cos(-J),A=Math.sin(-J),H=H*B+t*A,x=s*B+I*A,I=s*-A+I*B,v=F*-A+v*B,s=x;j&&C?b.rotation=b.rotationX=0:j&&g?b.rotation=b.rotationY=0:g&&C&&(b.rotationY=b.rotationX=0);b.scaleX=(1E5*Math.sqrt(H*H+s*s)+0.5>>0)/1E5;b.scaleY=(1E5*Math.sqrt(I*I+h*h)+0.5>>0)/1E5;b.scaleZ=(1E5*Math.sqrt(v*v+f*f)+0.5>>0)/1E5;b.skewX=0;b.perspective=m?1/m:0;b.x=k;b.y=
-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+
+n;b.z=l}}else if(!W||0===m.length||b.x!==m[4]||b.y!==m[5]||!b.rotationX&&!b.rotationY){h=(g=6<=m.length)?m[0]:1;k=m[1]||0;f=m[2]||0;n=g?m[3]:1;b.x=m[4]||0;b.y=m[5]||0;g=Math.sqrt(h*h+k*k);j=Math.sqrt(n*n+f*f);h=h||k?Math.atan2(k,h):b.rotation||0;f=f||n?Math.atan2(f,n)+h:b.skewX||0;k=g-Math.abs(b.scaleX||0);n=j-Math.abs(b.scaleY||0);Math.abs(f)>Math.PI/2&&Math.abs(f)<1.5*Math.PI&&(d?(g*=-1,f+=0>=h?Math.PI:-Math.PI,h+=0>=h?Math.PI:-Math.PI):(j*=-1,f+=0>=f?Math.PI:-Math.PI));d=(h-b.rotation)%Math.PI;
+l=(f-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<k||-1E-6>k||1E-6<n||-1E-6>n||1E-6<d||-1E-6>d||1E-6<l||-1E-6>l)b.scaleX=g,b.scaleY=j,b.rotation=h,b.skewX=f;W&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(r.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=p;for(e in b)1E-6>b[e]&&-1E-6<b[e]&&(b[e]=0);c&&(a._gsTransform=b);return b},va=function(a){var e=this.data,b=-e.rotation,c=b+e.skewX,d=(1E5*Math.cos(b)*e.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*e.scaleX>>0)/1E5,h=(1E5*Math.sin(c)*-e.scaleY>>
+0)/1E5,c=(1E5*Math.cos(c)*e.scaleY>>0)/1E5,m=this.t.style,p=this.t.currentStyle,f,j;if(p){j=b;b=-h;h=-j;f=p.filter;m.filter="";var k=this.t.offsetWidth;j=this.t.offsetHeight;var n="absolute"!==p.position,l="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+h+", M22="+c,q=e.x,s=e.y,F,I;null!=e.ox&&(F=(e.oxp?0.01*k*e.ox:e.ox)-k/2,I=(e.oyp?0.01*j*e.oy:e.oy)-j/2,q+=F-(F*d+I*b),s+=I-(F*h+I*c));if(n)F=k/2,I=j/2,l+=", Dx="+(F-(F*d+I*b)+q)+", Dy="+(I-(F*h+I*c)+s)+")";else{var r=8>H?1:-1;
+F=e.ieOffsetX||0;I=e.ieOffsetY||0;e.ieOffsetX=Math.round((k-((0>d?-d:d)*k+(0>b?-b:b)*j))/2+q);e.ieOffsetY=Math.round((j-((0>c?-c:c)*j+(0>h?-h:h)*k))/2+s);for(P=0;4>P;P++)k=ta[P],j=p[k],j=-1!==j.indexOf("px")?parseFloat(j):T(this.t,k,parseFloat(j),j.replace(g,""))||0,q=j!==e[k]?2>P?-e.ieOffsetX:-e.ieOffsetY:2>P?F-e.ieOffsetX:I-e.ieOffsetY,m[k]=(e[k]=Math.round(j-q*(0===P||2===P?1:r)))+"px";l+=", sizingMethod='auto expand')"}m.filter=-1!==f.indexOf("DXImageTransform.Microsoft.Matrix(")?f.replace(U,
+l):l+" "+f;if(0===a||1===a)if(1===d&&0===b&&0===h&&1===c&&(!n||-1!==l.indexOf("Dx=0, Dy=0")))(!u.test(f)||100===parseFloat(RegExp.$1))&&-1===f.indexOf("gradient(")&&m.removeAttribute("filter")}},wa=function(){var a=this.data,e=this.t.style,b=a.perspective,c=a.scaleX,d=0,h=0,m=0,j=0,f=a.scaleY,g=0,k=0,n=0,l=0,H=a.scaleZ,q=0,s=0,F=0,I=b?-1/b:0,r=a.rotation,u=a.zOrigin,t,v,J,B,S;p&&(v=e.top+"",t=parseFloat(v)||0,v=v.substr((t+"").length),a._ffFix=!a._ffFix,e.top=(a._ffFix?t+0.05:t-0.05)+(""===v?"px":
+v));r&&(t=Math.cos(r),r=Math.sin(r),J=f*r,d=c*-r,f*=t,c*=t,j=J);if(r=a.rotationY)t=Math.cos(r),r=Math.sin(r),B=H*-r,S=I*-r,h=c*r,g=j*r,H*=t,I*=t,c*=t,j*=t,n=B,s=S;if(r=a.rotationX)t=Math.cos(r),r=Math.sin(r),v=d*t+h*r,J=f*t+g*r,B=l*t+H*r,S=F*t+I*r,h=d*-r+h*t,g=f*-r+g*t,H=l*-r+H*t,I=F*-r+I*t,d=v,f=J,l=B,F=S;u&&(q-=u,m=h*q,k=g*q,q=H*q+u);m+=a.x;k+=a.y;q=(1E5*(q+a.z)>>0)/1E5;e[Q]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*n>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*d>>0)/1E5+","+(1E5*f>>0)/1E5+
","+(1E5*l>>0)/1E5+","+(1E5*F>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*H>>0)/1E5+","+(1E5*I>>0)/1E5+","+(1E5*m>>0)/1E5+","+(1E5*k>>0)/1E5+","+q+","+(b?1+-q/b:1)+")"},xa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[Q]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var e=a.rotation,b=e-a.skewX,c=(1E5*Math.cos(e)*a.scaleX>>0)/1E5,e=(1E5*Math.sin(e)*a.scaleX>>0)/1E5,d=(1E5*Math.sin(b)*-a.scaleY>>0)/1E5,b=(1E5*Math.cos(b)*a.scaleY>>0)/1E5;this.t.style[Q]=
-"matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};L("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,h,m){if(c._transform)return d;e=c._transform=da(a,k,!0);var 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):
+"matrix("+c+","+e+","+d+","+b+","+a.x+","+a.y+")"}};L("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,e,b,c,d,h,m){if(c._transform)return d;e=c._transform=da(a,k,!0);var p=a.style,j=qa.length,f,g,n,l,q;if("string"===typeof m.transform&&Q)g=p[Q],p[Q]=m.transform,f=da(a,null,!1),p[Q]=g;else if("object"===typeof m){g=null!=m.rotation?m.rotation:
+null!=m.rotationZ?m.rotationZ:e.rotation*M;f={scaleX:X(null!=m.scaleX?m.scaleX:m.scale,e.scaleX),scaleY:X(null!=m.scaleY?m.scaleY:m.scale,e.scaleY),scaleZ:X(null!=m.scaleZ?m.scaleZ:m.scale,e.scaleZ),x:X(m.x,e.x),y:X(m.y,e.y),z:X(m.z,e.z),perspective:X(m.transformPerspective,e.perspective)};f.rotation=null!=m.shortRotation||null!=m.shortRotationZ?ja(m.shortRotation||m.shortRotationZ||0,e.rotation):"number"===typeof g?g*G:$(g,e.rotation);W&&(f.rotationX=null!=m.shortRotationX?ja(m.shortRotationX,e.rotationX):
"number"===typeof m.rotationX?m.rotationX*G:$(m.rotationX,e.rotationX),f.rotationY=null!=m.shortRotationY?ja(m.shortRotationY,e.rotationY):"number"===typeof m.rotationY?m.rotationY*G:$(m.rotationY,e.rotationY),1E-6>f.rotationX&&-1E-6<f.rotationX&&(f.rotationX=0),1E-6>f.rotationY&&-1E-6<f.rotationY&&(f.rotationY=0));f.skewX=null==m.skewX?e.skewX:"number"===typeof m.skewX?m.skewX*G:$(m.skewX,e.skewX);f.skewY=null==m.skewY?e.skewY:"number"===typeof m.skewY?m.skewY*G:$(m.skewY,e.skewY);if(g=f.skewY-e.skewY)f.skewX+=
-g,f.rotation+=g;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}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",10),j=j.substr(2),q*=parseFloat(j),F=j.substr((q+"").length-(0>q?1:0))||""):(q=parseFloat(j),F=j.substr((q+
-"").length)),""===F&&(F=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("backfaceVisibility","visible",null,!0);L("margin",null,C("marginTop,marginRight,marginBottom,marginLeft"));L("padding",null,C("paddingTop,paddingRight,paddingBottom,paddingLeft"));L("clip","rect(0px,0px,0px,0px)");L("textShadow","0px 0px 0px #999",null,!1,!0);L("autoRound",null,function(a,e,b,c,d){return d});L("border","0px solid #000",
-function(a,e,b,c,d,m){return this.parseComplex(a.style,this.format(N(a,"borderTopWidth",k,!1,"0px")+" "+N(a,"borderTopStyle",k,!1,"solid")+" "+N(a,"borderTopColor",k,!1,"#000")),this.format(e),d,m)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(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",10),g=g.substr(2),f*=parseFloat(g),l=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),l=l?g.substr((f+"").length)||"":"");""===l&&(l=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,
+g,f.rotation+=g;1E-6>f.skewY&&-1E-6<f.skewY&&(f.skewY=0);1E-6>f.skewX&&-1E-6<f.skewX&&(f.skewX=0);1E-6>f.rotation&&-1E-6<f.rotation&&(f.rotation=0)}l=e.z||e.rotationX||e.rotationY||f.z||f.rotationX||f.rotationY||f.perspective;!l&&null!=f.scale&&(f.scaleZ=1);for(;-1<--j;)if(b=qa[j],n=f[b]-e[b],1E-6<n||-1E-6>n||null!=x[b])q=!0,d=new O(e,b,e[b],n,d),d.xs0=0,d.plugin=h,c._overwriteProps.push(d.n);if((n=m.transformOrigin)||W&&l&&e.zOrigin)Q?(q=!0,n=(n||N(a,b,k,!1,"50% 50%"))+"",b=ra,d=new O(p,b,0,0,d,
+-1,"css_transformOrigin"),d.b=p[b],d.plugin=h,W?(g=e.zOrigin,n=n.split(" "),e.zOrigin=(2<n.length?parseFloat(n[2]):g)||0,d.xs0=d.e=p[b]=n[0]+" "+(n[1]||"50%")+" 0px",d=new O(e,"zOrigin",0,0,d,-1,d.n),d.b=g,d.xs0=d.e=e.zOrigin):d.xs0=d.e=p[b]=n):ia(n+"",e);q&&(c._transformType=l||3===this._transformType?3:2);return d},!0);L("boxShadow","0px 0px 0px 0px #999",null,!0,!0);L("borderRadius","0px",function(a,e,b,c,d){e=this.format(e);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
+"borderBottomLeftRadius"];var m=a.style,h,p,f,g,j,l,q,H,r,F,s,t;H=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);e=e.split(" ");for(h=0;h<c.length;h++)this.p.indexOf("border")&&(c[h]=ba(c[h])),g=f=N(a,c[h],k,!1,"0px"),-1!==g.indexOf(" ")&&(f=g.split(" "),g=f[0],f=f[1]),j=p=e[h],l=parseFloat(g),s=g.substr((l+"").length),(t="="===j.charAt(1))?(q=parseInt(j.charAt(0)+"1",10),j=j.substr(2),q*=parseFloat(j),F=j.substr((q+"").length-(0>q?1:0))||""):(q=parseFloat(j),F=j.substr((q+"").length)),""===
+F&&(F=n[b]||s),F!==s&&(g=T(a,"borderLeft",l,s),l=T(a,"borderTop",l,s),"%"===F?(g=100*(g/H)+"%",f=100*(l/r)+"%"):"em"===F?(s=T(a,"borderLeft",1,"em"),g=g/s+"em",f=l/s+"em"):(g+="px",f=l+"px"),t&&(j=parseFloat(g)+q+F,p=parseFloat(f)+q+F)),d=fa(m,c[h],g+" "+f,j+" "+p,!1,"0px",d);return d},!0,!1,oa("0px 0px 0px 0px",!1,!0));L("backgroundPosition","0 0",function(a,e,b,c,d,m){b=k||ca(a,null);b=this.format((b?H?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):
+a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");e=this.format(e);var h,p,f,g;if(-1!==b.indexOf("%")!==(-1!==e.indexOf("%"))){c=b.split(" ");h=e.split(" ");v.setAttribute("src",N(a,"backgroundImage").replace(E,""));for(p=2;-1<--p;)b=c[p],f=-1!==b.indexOf("%"),f!==(-1!==h[p].indexOf("%"))&&(g=0===p?a.offsetWidth-v.width:a.offsetHeight-v.height,c[p]=f?parseFloat(b)/100*g+"px":100*(parseFloat(b)/g)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,e,d,m)},!1,!1,
+ia);L("backgroundSize","0 0",null,!1,!1,ia);L("perspective","0px",null,!0);L("perspectiveOrigin","50% 50%",null,!0);L("transformStyle","preserve-3d",null,!0);L("backfaceVisibility","visible",null,!0);L("margin",null,C("marginTop,marginRight,marginBottom,marginLeft"));L("padding",null,C("paddingTop,paddingRight,paddingBottom,paddingLeft"));L("clip","rect(0px,0px,0px,0px)");L("textShadow","0px 0px 0px #999",null,!1,!0);L("autoRound",null,function(a,e,b,c,d){return d});L("border","0px solid #000",function(a,
+e,b,c,d,m){return this.parseComplex(a.style,this.format(N(a,"borderTopWidth",k,!1,"0px")+" "+N(a,"borderTopStyle",k,!1,"solid")+" "+N(a,"borderTopColor",k,!1,"#000")),this.format(e),d,m)},!1,!0,function(a){var e=a.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(a.match(Y)||["#000"])[0]});var ya=function(a){var e=this.t;a=this.s+this.c*a;var b;100===a&&(e.removeAttribute("filter"),b=!N(this.data,"filter"));b||(this.xn1&&(e.filter=e.filter||"alpha(opacity=100)"),e.filter=-1===e.filter.indexOf("opacity")?
+e.filter+(" alpha(opacity="+(a>>0)+")"):e.filter.replace(u,"opacity="+(a>>0)))};L("opacity,alpha,autoAlpha","1",function(a,e,b,c,d,m){var h=parseFloat(N(a,"opacity",k,!1,"1"));e=parseFloat(e);var p=a.style,f;"autoAlpha"===b&&(f=N(a,"visibility",k),1===h&&"hidden"===f&&(h=0),d=new O(p,"visibility",0,0,d,-1,null,!1,0,0!==h?"visible":"hidden",0===e?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));F?d=new O(p,"opacity",h,e-h,d):(d=new O(p,"opacity",100*h,100*(e-h),d),d.xn1="autoAlpha"===
+b?1:0,p.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=m,d.setRatio=ya);return d});var za=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var e=this.t.style,b=e.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)e[a.p]=a.v;else e[b](a.p.replace(R,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};L("className",null,function(a,e,b,c,d,m,h){var p=a.className,f=a.style.cssText;
+d=c._classNamePT=new O(a,b,0,0,d,2);d.setRatio=za;d.b=p;d.e="="!==e.charAt(1)?e:"+"===e.charAt(0)?p+" "+e.substr(2):p.split(e.substr(2)).join("");c._tween._duration&&(e=ea(a,k,!0),a.className=d.e,h=ma(a,e,ea(a),h),a.className=p,d.data=h.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,h.difs,d,m));return d});c=["bezier","throwProps","physicsProps","physics2D"];for(P=c.length;P--;)A(c[P]);c=r.prototype;c._firstPT=null;c._onInitTween=function(a,c,d){if(!a.nodeType)return!1;this._target=a;this._tween=
+d;this._vars=c;y=c.autoRound;f=!1;n=c.suffixMap||r.suffixMap;k=ca(a,"");b=this._overwriteProps;d=a.style;var h,p,g,j;if(V&&""===d.zIndex&&(h=N(a,"zIndex",k),"auto"===h||""===h))d.zIndex=0;"string"===typeof c&&(p=d.cssText,h=ea(a,k),d.cssText=p+";"+c,h=ma(a,h,ea(a)).difs,!F&&Z.test(c)&&(h.opacity=parseFloat(RegExp.$1)),c=h,d.cssText=p);this._firstPT=c=this.parse(a,c,null);if(this._transformType){h=3===this._transformType;if(Q){if(e){V=!0;if(""===d.zIndex&&(j=N(a,"zIndex",k),"auto"===j||""===j))d.zIndex=
+0;m&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(h?"visible":"hidden"))}}else d.zoom=1;for(d=c;d&&d._next;)d=d._next;j=new O(a,"transform",0,0,null,2);this._linkCSSP(j,null,d);j.setRatio=h&&W?wa:Q?xa:va;j.data=this._transform||da(a,k,!0);b.pop()}if(f){for(;c;){a=c._next;for(d=p;d&&d.pr>c.pr;)d=d._next;(c._prev=d?d._prev:g)?c._prev._next=c:p=c;(c._next=d)?d._prev=c:g=c;c=a}this._firstPT=p}return!0};c.parse=function(a,e,b,c){var d=a.style,m,h,p,f,g,j,l,q;for(m in e){g=e[m];if(h=
+s[m])b=h.parse(a,g,m,this,b,c,e);else if(h=N(a,m,k)+"",l="string"===typeof g,"color"===m||"fill"===m||"stroke"===m||-1!==m.indexOf("Color")||l&&!g.indexOf("rgb"))l||(g=ka(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),b=fa(d,m,h,g,!0,"transparent",b,0,c);else if(l&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))b=fa(d,m,h,g,!0,null,b,0,c);else{p=parseFloat(h);j=h.substr((p+"").length);if(""===h||"auto"===h)if("width"===m||"height"===m){p=a;q=m;f=k;j=parseFloat("width"===q?p.offsetWidth:p.offsetHeight);
+q=sa[q];var H=q.length;for(f=f||ca(p,null);-1<--H;)j-=parseFloat(N(p,"padding"+q[H],f,!0))||0,j-=parseFloat(N(p,"border"+q[H]+"Width",f,!0))||0;p=j;j="px"}else p="opacity"!==m?0:1,j="";(q=l&&"="===g.charAt(1))?(f=parseInt(g.charAt(0)+"1",10),g=g.substr(2),f*=parseFloat(g),l=g.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(g),l=l?g.substr((f+"").length)||"":"");""===l&&(l=n[m]||j);g=f||0===f?(q?f+p:f)+l:e[m];if(j!==l&&""!==l&&(f||0===f))if(p||0===p)if(p=T(a,m,p,j),"%"===l?(p/=T(a,m,100,"%")/100,
+100<p&&(p=100)):"em"===l?p/=T(a,m,1,"em"):(f=T(a,m,f,l),l="px"),q&&(f||0===f))g=f+p+l;q&&(f+=p);(p||0===p)&&(f||0===f)?(b=new O(d,m,p,f-p,b,0,"css_"+m,!1!==y&&("px"===l||"zIndex"===m),0,h,g),b.xs0=l):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+m+" tween value. "):(b=new O(d,m,f||p||0,0,b,-1,"css_"+m,!1,0,h,g),b.xs0="display"===m&&"none"===g?h:g)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};c.setRatio=function(a){var e=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||
+0===this._tween._time))for(;e;)2!==e.type?e.t[e.p]=e.e:e.setRatio(a),e=e._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;e;){b=e.c*a+e.s;e.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(e.type)if(1===e.type)if(c=e.l,2===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2;else if(3===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3;else if(4===c)e.t[e.p]=e.xs0+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4;else if(5===c)e.t[e.p]=e.xs0+
+b+e.xs1+e.xn1+e.xs2+e.xn2+e.xs3+e.xn3+e.xs4+e.xn4+e.xs5;else{b=e.xs0+b+e.xs1;for(c=1;c<e.l;c++)b+=e["xn"+c]+e["xs"+(c+1)];e.t[e.p]=b}else-1===e.type?e.t[e.p]=e.xs0:e.setRatio&&e.setRatio(a);else e.t[e.p]=b+e.xs0;e=e._next}else for(;e;)2!==e.type?e.t[e.p]=e.b:e.setRatio(a),e=e._next};c._enableTransforms=function(e){this._transformType=e||3===this._transformType?3:2};c._linkCSSP=function(e,a,b,c){e&&(a&&(a._prev=e),e._next&&(e._next._prev=e._prev),b?b._next=e:!c&&null===this._firstPT&&(this._firstPT=
+e),e._prev?e._prev._next=e._next:this._firstPT===e&&(this._firstPT=e._next),e._next=a,e._prev=b);return e};c._kill=function(e){var a=e,b=!1,c,d;if(e.css_autoAlpha||e.css_alpha){a={};for(d in e)a[d]=e[d];a.css_opacity=1;a.css_autoAlpha&&(a.css_visibility=1)}if(e.css_className&&(c=this._classNamePT))(e=c.xfirst)&&e._prev?this._linkCSSP(e._prev,c._next,e._prev._prev):e===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,e._prev),this._target._gsOverwrittenClassNamePT=
+this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,b=!0;return l.prototype._kill.call(this,a)||b};l.activate([r]);return r},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(l){var r=function(){l.call(this,"roundProps",-1);this._overwriteProps.length=0},f=r.prototype=new l("roundProps",-1);f.constructor=r;r.API=2;f._onInitTween=function(f,k,b){this._tween=b;return!0};f._onInitAllProps=function(){for(var f=this._tween,k=f.vars.roundProps instanceof
+Array?f.vars.roundProps:f.vars.roundProps.split(","),b=k.length,l={},c=f._propLookup.roundProps,a,j,d;-1<--b;)l[k[b]]=1;for(b=k.length;-1<--b;){a=k[b];for(j=f._firstPT;j;)d=j._next,j.pg?j.t._roundProps(l,!0):j.n===a&&(this._add(j.t,a,j.s,j.c),d&&(d._prev=j._prev),j._prev?j._prev._next=d:f._firstPT===j&&(f._firstPT=d),j._next=j._prev=null,f._propLookup[a]=c),j=d}return!1};f._add=function(f,k,b,l){this._addTween(f,k,b,b+l,k,!0);this._overwriteProps.push(k)};l.activate([r]);return r},!0);_gsDefine("easing.Back",
+["easing.Ease"],function(l){var r=window.com.greensock._class,f=function(a,b){var c=r("easing."+a,function(){},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;return c},n=function(a,b){var c=r("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new l;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},k=n("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),b=n("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),
+n=n("BackInOut",function(a){return 1>(a*=2)?0.5*a*a*((this._p2+1)*a-this._p2):0.5*((a-=2)*a*((this._p2+1)*a+this._p2)+2)}),s=f("BounceOut",function(a){return a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375}),c=f("BounceIn",function(a){return(a=1-a)<1/2.75?1-7.5625*a*a:a<2/2.75?1-(7.5625*(a-=1.5/2.75)*a+0.75):a<2.5/2.75?1-(7.5625*(a-=2.25/2.75)*a+0.9375):1-(7.5625*(a-=2.625/2.75)*a+0.984375)}),a=f("BounceInOut",function(a){var b=
+0.5>a;a=b?1-2*a:2*a-1;a=a<1/2.75?7.5625*a*a:a<2/2.75?7.5625*(a-=1.5/2.75)*a+0.75:a<2.5/2.75?7.5625*(a-=2.25/2.75)*a+0.9375:7.5625*(a-=2.625/2.75)*a+0.984375;return b?0.5*(1-a):0.5*a+0.5}),j=f("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),d=f("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),z=f("CircInOut",function(a){return 1>(a*=2)?-0.5*(Math.sqrt(1-a*a)-1):0.5*(Math.sqrt(1-(a-=2)*a)+1)}),g=2*Math.PI,u=function(a,b,c){var d=r("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=
+this._p2/g*(Math.asin(1/this._p1)||0)},!0);a=d.prototype=new l;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},Z=u("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*g/this._p2)+1},0.3),R=u("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2))},0.3),u=u("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*g/this._p2):0.5*this._p1*Math.pow(2,-10*
+(a-=1))*Math.sin((a-this._p3)*g/this._p2)+1},0.45),w=f("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),E=f("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),t=f("ExpoInOut",function(a){return 1>(a*=2)?0.5*Math.pow(2,10*(a-1)):0.5*(2-Math.pow(2,-10*(a-1)))}),D=Math.PI/2,q=f("SineOut",function(a){return Math.sin(a*D)}),U=f("SineIn",function(a){return-Math.cos(a*D)+1}),f=f("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),G=r("easing.SlowMo",function(a,b,c){null==a?a=0.7:1<a&&(a=
+1);this._p=1!=a?b||0===b?b:0.7:0;this._p1=(1-a)/2;this._p2=a;this._p3=this._p1+this._p2;this._calcEnd=!0===c},!0),M=G.prototype=new l;M.constructor=G;M.getRatio=function(a){var b=a+(0.5-a)*this._p;return a<this._p1?this._calcEnd?1-(a=1-a/this._p1)*a:b-(a=1-a/this._p1)*a*a*a*b:a>this._p3?this._calcEnd?1-(a=(a-this._p3)/this._p1)*a:b+(a-b)*(a=(a-this._p3)/this._p1)*a*a*a:this._calcEnd?1:b};G.ease=new G(0.7,0.7);M.config=G.config=function(a,b,c){return new G(a,b,c)};var x=r("easing.SteppedEase",function(a){a=
+a||1;this._p1=1/a;this._p2=a+1},!0),M=x.prototype=new l;M.constructor=x;M.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};M.config=x.config=function(a){return new x(a)};r("easing.Bounce",{easeOut:new s,easeIn:new c,easeInOut:new a},!0);r("easing.Circ",{easeOut:new j,easeIn:new d,easeInOut:new z},!0);r("easing.Elastic",{easeOut:new Z,easeIn:new R,easeInOut:new u},!0);r("easing.Expo",{easeOut:new w,easeIn:new E,easeInOut:new t},!0);r("easing.Sine",{easeOut:new q,easeIn:new U,
+easeInOut:new f},!0);return{easeOut:new k,easeIn:new b,easeInOut:new n}},!0)});
+(function(l){var r=function(a){a=a.split(".");var b=l,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},f=r("com.greensock"),n,k,b,s,c,a={},j=function(e,b,c,d){this.sc=a[e]?a[e].sc:[];a[e]=this;this.gsClass=null;this.def=c;var f=b||[],g=[];this.check=function(b){for(var p=f.length,h=0,k;-1<--p;)(k=a[f[p]]||new j(f[p])).gsClass?g[p]=k.gsClass:(h++,b&&k.sc.push(this));if(0===h&&c){b=("com.greensock."+e).split(".");var p=b.pop(),n=r(b.join("."))[p]=this.gsClass=c.apply(c,g);d&&((l.GreenSockGlobals||
+l)[p]=n,"function"===typeof define&&define.amd?define((l.GreenSockAMDPath?l.GreenSockAMDPath+"/":"")+e.split(".").join("/"),[],function(){return n}):"undefined"!==typeof module&&module.exports&&(module.exports=n));for(p=0;p<this.sc.length;p++)this.sc[p].check(!1)}};this.check(!0)},d=f._class=function(a,b,c){b=b||function(){};new j(a,[],function(){return b},c);return b};l._gsDefine=function(a,b,c,d){return new j(a,b,c,d)};var z=[0,0,1,1],g=[],u=d("easing.Ease",function(a,b,c,d){this._func=a;this._type=
+c||0;this._power=d||0;this._params=b?z.concat(b):z},!0);b=u.prototype;b._calcEnd=!1;b.getRatio=function(a){if(this._func)return this._params[0]=a,this._func.apply(null,this._params);var b=this._type,c=this._power,d=1===b?1-a:2===b?a:0.5>a?2*a:2*(1-a);1===c?d*=d:2===c?d*=d*d:3===c?d*=d*d*d:4===c&&(d*=d*d*d*d);return 1===b?1-d:2===b?d:0.5>a?d/2:1-d/2};n=["Linear","Quad","Cubic","Quart","Quint"];for(k=n.length;-1<--k;)b=d("easing."+n[k],null,!0),s=d("easing.Power"+k,null,!0),b.easeOut=s.easeOut=new u(null,
null,1,k),b.easeIn=s.easeIn=new u(null,null,2,k),b.easeInOut=s.easeInOut=new u(null,null,3,k);d("easing.Strong",f.easing.Power4,!0);f.easing.Linear.easeNone=f.easing.Linear.easeIn;var Z=d("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});b=Z.prototype;b.addEventListener=function(a,b,c,d,f){f=f||0;var g=this._listeners[a],j=0,h;null==g&&(this._listeners[a]=g=[]);for(h=g.length;-1<--h;)a=g[h],a.c===b?g.splice(h,1):0===j&&a.pr<f&&(j=h+1);g.splice(j,0,{c:b,s:c,up:d,pr:f})};
-b.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var R=l.requestAnimationFrame,w=l.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()};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;
+b.removeEventListener=function(a,b){var c=this._listeners[a],d;if(c)for(d=c.length;-1<--d;)if(c[d].c===b){c.splice(d,1);break}};b.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,f;-1<--c;)f=b[c],f.up?f.c.call(f.s||d,{type:a,target:d}):f.c.call(f.s||d)};var R=l.requestAnimationFrame,w=l.cancelAnimationFrame,E=Date.now||function(){return(new Date).getTime()};n=["ms","moz","webkit","o"];for(k=n.length;-1<--k&&!R;)R=l[n[k]+"RequestAnimationFrame"],w=l[n[k]+
+"CancelAnimationFrame"]||l[n[k]+"CancelRequestAnimationFrame"];d("Ticker",function(a,b){var c=this,d=E(),f=!1!==b&&R,g,j,h,k,n,q=function(){null!=h&&(!f||!w?l.clearTimeout(h):w(h),h=null)},r=function(a){c.time=(E()-d)/1E3;if(!g||c.time>=n||!0===a)c.frame++,n=c.time>n?c.time+k-(c.time-n):c.time+k-0.001,n<c.time+0.001&&(n=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(h=j(r))};Z.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return g;g=a;k=1/(g||
+60);n=this.time+k;j=0===g?function(){}:!f||!R?function(a){return l.setTimeout(a,1E3*(n-c.time)+1>>0||1)}:R;q();h=j(r)};this.useRAF=function(a){if(!arguments.length)return f;q();f=a;c.fps(g)};c.fps(a);l.setTimeout(function(){f&&!h&&c.useRAF(!1)},1E3)});b=f.Ticker.prototype=new f.events.EventDispatcher;b.constructor=f.Ticker;var t=d("core.Animation",function(a,b){this.vars=b||{};this._duration=this._totalDuration=a||0;this._delay=Number(this.vars.delay)||0;this._timeScale=1;this._active=!0===this.vars.immediateRender;
this.data=this.vars.data;this._reversed=!0===this.vars.reversed;if(v){c||(D.tick(),c=!0);var d=this.vars.useFrames?B:v;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),D=t.ticker=new f.Ticker;b=t.prototype;b._dirty=b._gc=b._initted=b._paused=!1;b._totalTime=b._time=0;b._rawPrevTime=-1;b._next=b._last=b._onUpdate=b._timeline=b.timeline=null;b._paused=!1;b.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};b.pause=function(a,b){arguments.length&&
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"===
@@ -156,8 +156,8 @@ a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null
A(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&C(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=A(a,this,!1),1===this._overwrite&&1<this._siblings.length&&C(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);b=q.prototype=new t;b.constructor=q;b.kill()._gc=!1;b.ratio=0;b._firstPT=b._targets=b._overwrittenProps=null;b._notifyPluginsOfEnabled=!1;q.version=1.663;
q.defaultEase=b._ease=new u(null,null,1,1);q.defaultOverwrite="auto";q.ticker=D;var U=q._plugins={},G=q._tweenLookup={},M=0,x={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,orientToBezier:1,immediateRender:1,repeat:1,
repeatDelay:1,data:1,paused:1,reversed:1},h={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},B=t._rootFramesTimeline=new f,v=t._rootTimeline=new f;v._startTime=D.time;B._startTime=D.frame;v._active=B._active=!0;t._updateRoot=function(){v.render((D.time-v._startTime)*v._timeScale,!1,!1);B.render((D.frame-B._startTime)*B._timeScale,!1,!1);if(!(D.frame%120)){var a,b,c;for(c in G){b=G[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete G[c]}}};
-D.addEventListener("tick",t._updateRoot);var A=function(a,b,c){var d=a._gsTweenID,f;if(!G[d||(a._gsTweenID=d="t"+M++)])G[d]={target:a,tweens:[]};if(b&&(a=G[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return G[d].tweens},C=function(a,b,c,d,f){var g,j,h;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((h=f[g])!==b)h._gc||h._enabled(!1,!1)&&(j=!0);else if(5===d)break;return j}var k=b._startTime+1E-10,l=[],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>
+D.addEventListener("tick",t._updateRoot);var A=function(a,b,c){var d=a._gsTweenID,f;if(!G[d||(a._gsTweenID=d="t"+M++)])G[d]={target:a,tweens:[]};if(b&&(a=G[d].tweens,a[f=a.length]=b,c))for(;-1<--f;)a[f]===b&&a.splice(f,1);return G[d].tweens},C=function(a,b,c,d,f){var g,j,h;if(1===d||4<=d){a=f.length;for(g=0;g<a;g++)if((h=f[g])!==b)h._gc||h._enabled(!1,!1)&&(j=!0);else if(5===d)break;return j}var k=b._startTime+1E-10,l=[],n=0,q=0===b._duration,r;for(g=f.length;-1<--g;)if(!((h=f[g])===b||h._gc||h._paused))h._timeline!==
+b._timeline?(r=r||y(b,0,q),0===y(h,r,q)&&(l[n++]=h)):h._startTime<=k&&h._startTime+h.totalDuration()/h._timeScale+1E-10>k&&((q||!h._initted)&&2E-10>=k-h._startTime||(l[n++]=h));for(g=n;-1<--g;)if(h=l[g],2===d&&h._kill(c,a)&&(j=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(j=!0);return j},y=function(a,b,c){for(var d=a._timeline,f=d._timeScale,g=a._startTime;d._timeline;){g+=d._startTime;f*=d._timeScale;if(d._paused)return-100;d=d._timeline}g/=f;return g>b?g-b:c&&g===b||!a._initted&&2E-10>
g-b?1E-10:(g+=a.totalDuration()/a._timeScale/f)>b?0:g-b-1E-10};b._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,q.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof u?this.vars.easeParams instanceof Array?this.vars.ease.config.apply(this.vars.ease,this.vars.easeParams):this.vars.ease:"function"===typeof this.vars.ease?new u(this.vars.ease,this.vars.easeParams):q.defaultEase;this._easeType=this._ease._type;this._easePower=
this._ease._power;this._firstPT=null;if(this._targets)for(a=this._targets.length;-1<--a;){if(this._initProps(this._targets[a],this._propLookup[a]={},this._siblings[a],this._overwrittenProps?this._overwrittenProps[a]:null))b=!0}else b=this._initProps(this.target,this._propLookup,this._siblings,this._overwrittenProps);b&&q._onPluginEvent("_onInitAllProps",this);this._overwrittenProps&&null==this._firstPT&&"function"!==typeof this.target&&this._enabled(!1,!1);if(this.vars.runBackwards)for(a=this._firstPT;a;)a.s+=
a.c,a.c=-a.c,a=a._next;this._onUpdate=this.vars.onUpdate;this._initted=!0};b._initProps=function(a,b,c,d){var f,g,j,h,k,l;if(null==a)return!1;for(f in this.vars){if(x[f]){if("onStartParams"===f||"onUpdateParams"===f||"onCompleteParams"===f||"onReverseCompleteParams"===f||"onRepeatParams"===f)if(k=this.vars[f])for(g=k.length;-1<--g;)"{self}"===k[g]&&(k=this.vars[f]=k.concat(),k[g]=this)}else if(U[f]&&(h=new U[f])._onInitTween(a,this.vars[f],this)){this._firstPT=l={_next:this._firstPT,t:h,p:"setRatio",
@@ -173,4 +173,4 @@ a||g,k=a!=d&&"all"!=d&&a!=g&&(null==a||!0!=a._tempKill),j){if(c=g[f]){c.pg&&c.t.
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",10)*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:f||b,r:g},a._next&&(a._next._prev=a)};b.setRatio=function(a){for(var b=this._firstPT,c;b;){c=b.c*a+b.s;b.r&&(c=c+(0<c?0.5:-0.5)>>0);if(b.f)b.t[b.p](c);else b.t[b.p]=c;b=b._next}};b._kill=function(a){if(null!=a[this._propName])this._overwriteProps=
[];else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};b._roundProps=function(a,b){for(var c=this._firstPT;c;){if(a[this._propName]||null!=c.n&&a[c.n.split(this._propName+"_").join("")])c.r=b;c=c._next}};q._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===
-a){for(var f,g,h,j;c;){j=c._next;for(f=g;f&&f.pr>c.pr;)f=f._next;(c._prev=f?f._prev:h)?c._prev._next=c:g=c;(c._next=f)?f._prev=c:h=c;c=j}c=b._firstPT=g}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};V.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===V.API&&(q._plugins[(new a[b])._propName]=a[b]);return!0};if(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
+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
diff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.js
index 9630413..e701622 100755
--- a/src/minified/plugins/CSSPlugin.min.js
+++ b/src/minified/plugins/CSSPlugin.min.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.663
- * DATE: 2012-12-20
+ * VERSION: beta 1.664
+ * DATE: 2012-12-21
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -10,56 +10,56 @@
*
* @author: Jack Doyle, [email protected]
*/
-(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,p,ca,L={},m=E.prototype=new V("css");m.constructor=E;E.version=1.663;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},
-w=navigator.userAgent,ha,sa,ta,ua,va,ia,O,wa=w.indexOf("Android"),xa=M.createElement("div");va=(ta=-1!==w.indexOf("Safari")&&-1===w.indexOf("Chrome")&&(-1===wa||3<Number(w.substr(wa+8,1))))&&6>Number(w.substr(w.indexOf("Version/")+8,1));ua=-1!==w.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(w);ia=parseFloat(RegExp.$1);xa.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(w=xa.getElementsByTagName("a")[0])?/^0.55/.test(w.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",10)*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",10)*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 n=a.length;if(k>n--)for(;++n<k;)a[n]=d?a[(n-1)/2>>0]:f[n];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}},w=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,n,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)){n=l.match(oa);if(!n||n.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(n[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},q=N._registerComplexSpecialProp=function(a,b,d,c,f,j,e){a=a.split(",");b=b instanceof Array?b:[b];for(var h=a.length;-1<--h;)new 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";q(a,null,function(a,c,f,j,e,h,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return L[f].parse(a,c,f,j,e,h,
-k)})}},m=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,p,!1,this.dflt)),this.format(b),f,j)};E.registerSpecialProp=function(a,b,d){q(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,n,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],n=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,t=f*m-h[12],n=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||t!==c.x||n!==c.y||m!==c.z){var r=h[0],s=h[1],x=h[2],q=h[3],u=h[4],p=h[5],v=h[6],z=h[7];h=h[11];var A=-Math.PI+1E-4,w=Math.PI-1E-4,B=c.rotationX=Math.atan2(v,l),G=B<A||B>w,F,H,C,D;B&&(C=Math.cos(-B),D=Math.sin(-B),B=u*C+f*D,F=p*C+e*D,H=v*C+l*D,f=u*-D+f*C,e=p*-D+e*C,l=v*-D+l*C,h=z*-D+h*C,u=B,p=F,v=H);if(B=c.rotationY=
-Math.atan2(f,r))k=B<A||B>w,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=q*D+h*C,r=r*C-f*D,s=F,x=H;if(B=c.rotation=Math.atan2(s,p))g=B<A||B>w,C=Math.cos(-B),D=Math.sin(-B),r=r*C+u*D,F=s*C+p*D,p=s*-D+p*C,v=x*-D+v*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(p*p+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(v*v+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/
-h:0;c.x=t;c.y=n;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;n=k?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;k=Math.sqrt(e*e+t*t);g=Math.sqrt(n*n+l*l);e=e||t?Math.atan2(t,e):c.rotation||0;l=l||n?Math.atan2(l,n)+e:c.skewX||0;t=k-Math.abs(c.scaleX||0);n=g-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(k*=-1,l+=0>=e?Math.PI:-Math.PI,e+=0>=e?Math.PI:-Math.PI):(g*=-1,l+=0>=l?Math.PI:-Math.PI));f=(e-c.rotation)%
-Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<t||-1E-6>t||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;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,p=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,p+=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)+p)+", Dy="+(x-(s*j+x*c)+r)+")";else{var q=
-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+p);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,p=g!==b[l]?2>A?-b.ieOffsetX:-b.ieOffsetY:2>A?s-b.ieOffsetX:x-b.ieOffsetY,e[l]=(b[l]=Math.round(g-p*(0===A||2===A?1:q)))+"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,p=a.scaleZ,r=0,s=0,x=0,q=d?-1/d:0,u=a.rotation,A=a.zOrigin,v,w,y,z,B;ua&&(w=b.top+"",v=parseFloat(w)||0,w=w.substr((v+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?v+0.05:v-0.05)+(""===w?"px":
-w));u&&(v=Math.cos(u),u=Math.sin(u),y=k*u,f=c*-u,k*=v,c*=v,h=y);if(u=a.rotationY)v=Math.cos(u),u=Math.sin(u),z=p*-u,B=q*-u,j=c*u,g=h*u,p*=v,q*=v,c*=v,h*=v,t=z,s=B;if(u=a.rotationX)v=Math.cos(u),u=Math.sin(u),w=f*v+j*u,y=k*v+g*u,z=m*v+p*u,B=x*v+q*u,j=f*-u+j*v,g=k*-u+g*v,p=m*-u+p*v,q=x*-u+q*v,f=w,k=y,m=z,x=B;A&&(r-=A,e=j*r,l=g*r,r=p*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*p>>0)/1E5+","+(1E5*q>>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+")"}};q("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=Y(a,p,!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,p,!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);q("boxShadow","0px 0px 0px 0px #999",null,!0,!0);q("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius",
-"borderBottomRightRadius","borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,m,n,q,r,s,x,w;q=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],p,!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),(w="="===l.charAt(1))?(n=parseInt(l.charAt(0)+"1",10),l=l.substr(2),n*=parseFloat(l),s=l.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(l),s=l.substr((n+
-"").length)),""===s&&(s=ba[d]||x),s!==x&&(g=G(a,"borderLeft",m,x),m=G(a,"borderTop",m,x),"%"===s?(g=100*(g/q)+"%",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"),w&&(l=parseFloat(g)+n+s,h=parseFloat(k)+n+s)),f=$(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Ca("0px 0px 0px 0px",!1,!0));q("backgroundPosition","0 0",function(a,b,d,c,f,j){d=p||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);q("backgroundSize","0 0",null,!1,!1,la);q("perspective","0px",null,!0);q("perspectiveOrigin","50% 50%",null,!0);q("transformStyle","preserve-3d",null,!0);q("backfaceVisibility","visible",null,!0);q("margin",null,w("marginTop,marginRight,marginBottom,marginLeft"));q("padding",null,w("paddingTop,paddingRight,paddingBottom,paddingLeft"));q("clip","rect(0px,0px,0px,0px)");q("textShadow","0px 0px 0px #999",null,!1,!0);q("autoRound",null,function(a,b,d,c,f){return f});q("border","0px solid #000",
-function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(y(a,"borderTopWidth",p,!1,"0px")+" "+y(a,"borderTopStyle",p,!1,"solid")+" "+y(a,"borderTopColor",p,!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)))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(y(a,"opacity",p,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=y(a,"visibility",p),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)};q("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,p,!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;p=U(a,"");ca=this._overwriteProps;d=a.style;var c,f,j,e;if(sa&&""===d.zIndex&&(c=y(a,"zIndex",p),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,p),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",p),"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,p,!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,p)+"",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=p;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);
-n=Ma[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(y(h,"padding"+n[q],k,!0))||0,l-=parseFloat(y(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=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
+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(V){var B=function(){V.call(this,"css");this._overwriteProps.length=0},ba,ca,r,da,L={},m=B.prototype=new V("css");m.constructor=B;B.version=1.664;B.API=2;B.defaultTransformPerspective=0;m="px";B.suffixMap={top:m,right:m,bottom:m,left:m,width:m,height:m,fontSize:m,padding:m,margin:m,perspective:m};var ea=/(?:\d|\-\d|\.\d|\-\.\d)+/g,pa=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
+fa=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,W=/[^\d\-\.]/g,Ha=/(?:\d|\-|\+|=|#|\.)*/g,ga=/opacity *= *([^)]*)/,Ia=/opacity:([^;]*)/,qa=/([A-Z])/g,ra=/-([a-z])/gi,Ja=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,sa=function(a,b){return b.toUpperCase()},Ka=/(?:Left|Right|Width)/i,La=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ma=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,R=180/Math.PI,X={},M=document,S=M.createElement("div"),ha=M.createElement("img"),N=B._internals={_specialProps:L},
+A=navigator.userAgent,ia,ta,ua,va,wa,ja,O,xa=A.indexOf("Android"),ya=M.createElement("div");wa=(ua=-1!==A.indexOf("Safari")&&-1===A.indexOf("Chrome")&&(-1===xa||3<Number(A.substr(xa+8,1))))&&6>Number(A.substr(A.indexOf("Version/")+8,1));va=-1!==A.indexOf("Firefox");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(A);ja=parseFloat(RegExp.$1);ya.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";O=(A=ya.getElementsByTagName("a")[0])?/^0.55/.test(A.style.opacity):!1;var za=function(a){return ga.test("string"===typeof a?
+a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},Aa="",ka="",T=function(a,b){b=b||S;var d=b.style,c,f;if(void 0!==d[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===d[c[f]+a];);return 0<=f?(ka=3===f?"ms":c[f],Aa="-"+ka.toLowerCase()+"-",ka+a):null},U=M.defaultView?M.defaultView.getComputedStyle:function(){},x=B.getStyle=function(a,b,d,c,f){var j;if(!O&&"opacity"===b)return za(a);!c&&a.style[b]?j=
+a.style[b]:(d=d||U(a,null))?j=(a=d.getPropertyValue(b.replace(qa,"-$1").toLowerCase()))||d.length?a:d[b]:a.currentStyle&&(d=a.currentStyle,j=d[b]);return null!=f&&(!j||"none"===j||"auto"===j||"auto auto"===j)?f:j},Z=function(a,b,d){var c={},f=a._gsOverwrittenClassNamePT,j;if(f&&!d){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(j=b.length)for(;-1<--j;)c[b[j].replace(ra,sa)]=b.getPropertyValue(b[j]);else for(j in b)c[j]=b[j];else if(b=a.currentStyle||a.style)for(j in b)c[j.replace(ra,
+sa)]=b[j];O||(c.opacity=za(a));a=Y(a,b,!1);c.rotation=a.rotation*R;c.skewX=a.skewX*R;c.scaleX=a.scaleX;c.scaleY=a.scaleY;c.x=a.x;c.y=a.y;I&&(c.z=a.z,c.rotationX=a.rotationX*R,c.rotationY=a.rotationY*R,c.scaleZ=a.scaleZ);c.filters&&delete c.filters;return c},Ba=function(a,b,d,c){var f={};a=a.style;var j,e,h;for(e in d)if("cssText"!==e&&"length"!==e&&isNaN(e)&&b[e]!==(j=d[e]))if(-1===e.indexOf("Origin")&&("number"===typeof j||"string"===typeof j))f[e]=(""===j||"auto"===j||"none"===j)&&"string"===typeof b[e]&&
+""!==b[e].replace(W,"")?0:j,void 0!==a[e]&&(h=new la(a,e,a[e],h));if(c)for(e in c)"className"!==e&&(f[e]=c[e]);return{difs:f,firstMPT:h}},Na={width:["Left","Right"],height:["Top","Bottom"]},Oa=["marginLeft","marginRight","marginTop","marginBottom"],F=function(a,b,d,c,f){if("px"===c||!c)return d;if("auto"===c||!d)return 0;var j=Ka.test(b),e=a,h=S.style,k=0>d;k&&(d=-d);"%"===c&&-1!==b.indexOf("border")?j=d/100*(j?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",
+"%"===c||"em"===c||!e.appendChild?(e=a.parentNode||M.body,h[j?"width":"height"]=d+c):h[j?"borderLeftWidth":"borderTopWidth"]=d+c,e.appendChild(S),j=parseFloat(S[j?"offsetWidth":"offsetHeight"]),e.removeChild(S),0===j&&!f&&(j=F(a,b,d,c,!0)));return k?-j:j},ma=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var d=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":d[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":d[1];null==f?f="0":"center"===
+f&&(f="50%");if("center"===c||isNaN(parseFloat(c)))c="50%";b&&(b.oxp=-1!==c.indexOf("%"),b.oyp=-1!==f.indexOf("%"),b.oxr="="===c.charAt(1),b.oyr="="===f.charAt(1),b.ox=parseFloat(c.replace(W,"")),b.oy=parseFloat(f.replace(W,"")));return c+" "+f+(2<d.length?" "+d[2]:"")},Ca=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1",10)*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},G=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+
+"1",10)*Number(a.substr(2))+b:parseFloat(a)},P=function(a,b){if(null==a)return b;var d=-1===a.indexOf("rad")?E:1,c="="===a.charAt(1);a=Number(a.replace(W,""))*d;return c?a+b:a},na=function(a,b){var d=(("number"===typeof a?a*E:P(a,b))-b)%(2*Math.PI);d!==d%Math.PI&&(d+=Math.PI*(0>d?2:-2));return b+d},Q={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,
+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]},oa=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(ea)||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"),Da=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(fa)||[],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(ea,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(J)||[c])[0];a=a.split(b).join("").match(fa)||
+[];var n=a.length;if(k>n--)for(;++n<k;)a[n]=d?a[(n-1)/2>>0]:f[n];return j+a.join(h)+h+b+e}:function(a){"number"===typeof a&&(a+=g);a=a.match(fa)||[];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}},A=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 la=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,p;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||(p=new la(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 la(c,l,g,p,c.rxp[l]));c=c._next}return{proxy:h,end:k,firstMPT:p,pt:a}};var y=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 y||da.push(this.n);this.r=h;this.type=j||0;k&&(this.pr=k,ba=
+!0);this.b=void 0===g?d:g;this.e=void 0===l?d+c:l;f&&(this._next=f,f._prev=this)},aa=B.parseComplex=function(a,b,d,c,f,j,e,h,k,g){e=new y(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!==ia;var l,p,n,$,m;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,Ca(l,g),l.replace(pa,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===
+k.charAt(0)||0===k.indexOf("rgb")||Q[k]))k=oa(k),l=oa(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(ea)){n=l.match(pa);if(!n||n.length!==g.length)return e;for(l=p=0;l<g.length;l++)m=g[l],$=
+k.indexOf(m,p),e.appendXtra(k.substr(p,$-p),Number(m),Ca(n[l],m),"",h&&"px"===k.substr($+m.length,2),0===l),p=$+m.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},v=9,m=y.prototype;for(m.l=m.pr=0;0<--v;)m["xn"+v]=0,m["xs"+v]="";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 y(this,"xn"+e,b,d,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+d};this.rxp={};this.s=b;this.c=d;this.r=f;return this};var Ea=function(a,b,d,c,f,j,e){this.p=c?T(a)||a:a;L[a]=L[this.p]=this;this.format=
+j||Da(b,f);d&&(this.parse=d);this.clrs=f;this.dflt=b;this.pr=e||0},q=N._registerComplexSpecialProp=function(a,b,d,c,f,j,e){a=a.split(",");b=b instanceof Array?b:[b];for(var h=a.length;-1<--h;)new Ea(a[h],b[h],d,c&&0===h,f,j,e)},N=function(a){if(!L[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";q(a,null,function(a,c,f,j,e,h,k){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),e;g._cssRegister();return L[f].parse(a,c,f,j,e,h,
+k)})}},m=Ea.prototype;m.parseComplex=function(a,b,d,c,f,j){return aa(a,this.p,b,d,this.clrs,this.dflt,c,this.pr,f,j)};m.parse=function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,d,r,!1,this.dflt)),this.format(b),f,j)};B.registerSpecialProp=function(a,b,d){q(a,null,function(a,f,j,e,h,k){h=new y(a,j,0,0,h,2,j,!1,d);h.plugin=k;h.setRatio=b(a,f,e._tween,j);return h},!1,!1,null,d)};var Fa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),H=T("transform"),
+Pa=Aa+"transform",Ga=T("transformOrigin"),I=null!==T("perspective"),Y=function(a,b,d){var c=d?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,j=I?parseFloat(x(a,Ga,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,e,h,k,g,l,p,n,m;H?e=x(a,Pa,b,!0):a.currentStyle&&(e=(e=a.currentStyle.filter.match(La))&&4===e.length?e[0].substr(4)+","+Number(e[2].substr(4))+","+Number(e[1].substr(4))+","+e[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(e||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)e=
+Number(h[b]),h[b]=(1E5*e+(0>e?-0.5:0.5)>>0)/1E5;if(16===h.length){if(f=h[8],e=h[9],l=h[10],p=h[12],n=h[13],m=h[14],c.zOrigin&&(m=-c.zOrigin,p=f*m-h[12],n=e*m-h[13],m=l*m+c.zOrigin-h[14]),!d||p!==c.x||n!==c.y||m!==c.z){var K=h[0],s=h[1],w=h[2],q=h[3],t=h[4],r=h[5],u=h[6],y=h[7];h=h[11];var v=-Math.PI+1E-4,A=Math.PI-1E-4,z=c.rotationX=Math.atan2(u,l),F=z<v||z>A,E,G,C,D;z&&(C=Math.cos(-z),D=Math.sin(-z),z=t*C+f*D,E=r*C+e*D,G=u*C+l*D,f=t*-D+f*C,e=r*-D+e*C,l=u*-D+l*C,h=y*-D+h*C,t=z,r=E,u=G);if(z=c.rotationY=
+Math.atan2(f,K))k=z<v||z>A,C=Math.cos(-z),D=Math.sin(-z),E=s*C-e*D,G=w*C-l*D,e=s*D+e*C,l=w*D+l*C,h=q*D+h*C,K=K*C-f*D,s=E,w=G;if(z=c.rotation=Math.atan2(s,r))g=z<v||z>A,C=Math.cos(-z),D=Math.sin(-z),K=K*C+t*D,E=s*C+r*D,r=s*-D+r*C,u=w*-D+u*C,s=E;g&&F?c.rotation=c.rotationX=0:g&&k?c.rotation=c.rotationY=0:k&&F&&(c.rotationY=c.rotationX=0);c.scaleX=(1E5*Math.sqrt(K*K+s*s)+0.5>>0)/1E5;c.scaleY=(1E5*Math.sqrt(r*r+e*e)+0.5>>0)/1E5;c.scaleZ=(1E5*Math.sqrt(u*u+l*l)+0.5>>0)/1E5;c.skewX=0;c.perspective=h?1/
+h:0;c.x=p;c.y=n;c.z=m}}else if(!I||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){e=(k=6<=h.length)?h[0]:1;p=h[1]||0;l=h[2]||0;n=k?h[3]:1;c.x=h[4]||0;c.y=h[5]||0;k=Math.sqrt(e*e+p*p);g=Math.sqrt(n*n+l*l);e=e||p?Math.atan2(p,e):c.rotation||0;l=l||n?Math.atan2(l,n)+e:c.skewX||0;p=k-Math.abs(c.scaleX||0);n=g-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(k*=-1,l+=0>=e?Math.PI:-Math.PI,e+=0>=e?Math.PI:-Math.PI):(g*=-1,l+=0>=l?Math.PI:-Math.PI));f=(e-c.rotation)%
+Math.PI;m=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<p||-1E-6>p||1E-6<n||-1E-6>n||1E-6<f||-1E-6>f||1E-6<m||-1E-6>m)c.scaleX=k,c.scaleY=g,c.rotation=e,c.skewX=l;I&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=j;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);d&&(a._gsTransform=c);return c},Qa=function(a){var b=this.data,d=-b.rotation,c=d+b.skewX,f=(1E5*Math.cos(d)*b.scaleX>>0)/1E5,d=(1E5*Math.sin(d)*b.scaleX>>0)/1E5,j=(1E5*Math.sin(c)*
+-b.scaleY>>0)/1E5,c=(1E5*Math.cos(c)*b.scaleY>>0)/1E5,e=this.t.style,h=this.t.currentStyle,k,g;if(h){g=d;d=-j;j=-g;k=h.filter;e.filter="";var l=this.t.offsetWidth;g=this.t.offsetHeight;var p="absolute"!==h.position,n="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+d+", M21="+j+", M22="+c,m=b.x,r=b.y,s,w;null!=b.ox&&(s=(b.oxp?0.01*l*b.ox:b.ox)-l/2,w=(b.oyp?0.01*g*b.oy:b.oy)-g/2,m+=s-(s*f+w*d),r+=w-(s*j+w*c));if(p)s=l/2,w=g/2,n+=", Dx="+(s-(s*f+w*d)+m)+", Dy="+(w-(s*j+w*c)+r)+")";else{var q=
+8>ja?1:-1;s=b.ieOffsetX||0;w=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>d?-d:d)*g))/2+m);b.ieOffsetY=Math.round((g-((0>c?-c:c)*g+(0>j?-j:j)*l))/2+r);for(v=0;4>v;v++)l=Oa[v],g=h[l],g=-1!==g.indexOf("px")?parseFloat(g):F(this.t,l,parseFloat(g),g.replace(Ha,""))||0,m=g!==b[l]?2>v?-b.ieOffsetX:-b.ieOffsetY:2>v?s-b.ieOffsetX:w-b.ieOffsetY,e[l]=(b[l]=Math.round(g-m*(0===v||2===v?1:q)))+"px";n+=", sizingMethod='auto expand')"}e.filter=-1!==k.indexOf("DXImageTransform.Microsoft.Matrix(")?k.replace(Ma,
+n):n+" "+k;if(0===a||1===a)if(1===f&&0===d&&0===j&&1===c&&(!p||-1!==n.indexOf("Dx=0, Dy=0")))(!ga.test(k)||100===parseFloat(RegExp.$1))&&-1===k.indexOf("gradient(")&&e.removeAttribute("filter")}},Ra=function(){var a=this.data,b=this.t.style,d=a.perspective,c=a.scaleX,f=0,j=0,e=0,h=0,k=a.scaleY,g=0,l=0,p=0,m=0,r=a.scaleZ,q=0,s=0,w=0,v=d?-1/d:0,t=a.rotation,A=a.zOrigin,u,x,y,B,z;va&&(x=b.top+"",u=parseFloat(x)||0,x=x.substr((u+"").length),a._ffFix=!a._ffFix,b.top=(a._ffFix?u+0.05:u-0.05)+(""===x?"px":
+x));t&&(u=Math.cos(t),t=Math.sin(t),y=k*t,f=c*-t,k*=u,c*=u,h=y);if(t=a.rotationY)u=Math.cos(t),t=Math.sin(t),B=r*-t,z=v*-t,j=c*t,g=h*t,r*=u,v*=u,c*=u,h*=u,p=B,s=z;if(t=a.rotationX)u=Math.cos(t),t=Math.sin(t),x=f*u+j*t,y=k*u+g*t,B=m*u+r*t,z=w*u+v*t,j=f*-t+j*u,g=k*-t+g*u,r=m*-t+r*u,v=w*-t+v*u,f=x,k=y,m=B,w=z;A&&(q-=A,e=j*q,l=g*q,q=r*q+A);e+=a.x;l+=a.y;q=(1E5*(q+a.z)>>0)/1E5;b[H]="matrix3d("+(1E5*c>>0)/1E5+","+(1E5*h>>0)/1E5+","+(1E5*p>>0)/1E5+","+(1E5*s>>0)/1E5+","+(1E5*f>>0)/1E5+","+(1E5*k>>0)/1E5+
+","+(1E5*m>>0)/1E5+","+(1E5*w>>0)/1E5+","+(1E5*j>>0)/1E5+","+(1E5*g>>0)/1E5+","+(1E5*r>>0)/1E5+","+(1E5*v>>0)/1E5+","+(1E5*e>>0)/1E5+","+(1E5*l>>0)/1E5+","+q+","+(d?1+-q/d:1)+")"},Sa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[H]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,d=b-a.skewX,c=(1E5*Math.cos(b)*a.scaleX>>0)/1E5,b=(1E5*Math.sin(b)*a.scaleX>>0)/1E5,f=(1E5*Math.sin(d)*-a.scaleY>>0)/1E5,d=(1E5*Math.cos(d)*a.scaleY>>0)/1E5;this.t.style[H]=
+"matrix("+c+","+b+","+f+","+d+","+a.x+","+a.y+")"}};q("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,d,c,f,j,e){if(c._transform)return f;b=c._transform=Y(a,r,!0);var h=a.style,k=Fa.length,g,l,p,m,q;if("string"===typeof e.transform&&H)l=h[H],h[H]=e.transform,g=Y(a,null,!1),h[H]=l;else if("object"===typeof e){l=null!=e.rotation?e.rotation:
+null!=e.rotationZ?e.rotationZ:b.rotation*R;g={scaleX:G(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:G(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:G(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:G(e.x,b.x),y:G(e.y,b.y),z:G(e.z,b.z),perspective:G(e.transformPerspective,b.perspective)};g.rotation=null!=e.shortRotation||null!=e.shortRotationZ?na(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:P(l,b.rotation);I&&(g.rotationX=null!=e.shortRotationX?na(e.shortRotationX,b.rotationX):
+"number"===typeof e.rotationX?e.rotationX*E:P(e.rotationX,b.rotationX),g.rotationY=null!=e.shortRotationY?na(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*E:P(e.rotationY,b.rotationY),1E-6>g.rotationX&&-1E-6<g.rotationX&&(g.rotationX=0),1E-6>g.rotationY&&-1E-6<g.rotationY&&(g.rotationY=0));g.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*E:P(e.skewX,b.skewX);g.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*E:P(e.skewY,b.skewY);if(l=g.skewY-b.skewY)g.skewX+=
+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(;-1<--k;)if(d=Fa[k],p=g[d]-b[d],1E-6<p||-1E-6>p||null!=X[d])q=!0,f=new y(b,d,b[d],p,f),f.xs0=0,f.plugin=j,c._overwriteProps.push(f.n);if((p=e.transformOrigin)||I&&m&&b.zOrigin)H?(q=!0,p=(p||x(a,d,r,!1,"50% 50%"))+"",d=Ga,f=new y(h,d,0,0,f,
+-1,"css_transformOrigin"),f.b=h[d],f.plugin=j,I?(l=b.zOrigin,p=p.split(" "),b.zOrigin=(2<p.length?parseFloat(p[2]):l)||0,f.xs0=f.e=h[d]=p[0]+" "+(p[1]||"50%")+" 0px",f=new y(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=h[d]=p):ma(p+"",b);q&&(c._transformType=m||3===this._transformType?3:2);return f},!0);q("boxShadow","0px 0px 0px 0px #999",null,!0,!0);q("borderRadius","0px",function(a,b,d,c,f){b=this.format(b);c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",
+"borderBottomLeftRadius"];var j=a.style,e,h,k,g,l,m,n,q,v,s,w,y;q=parseFloat(a.offsetWidth);v=parseFloat(a.offsetHeight);b=b.split(" ");for(e=0;e<c.length;e++)this.p.indexOf("border")&&(c[e]=T(c[e])),g=k=x(a,c[e],r,!1,"0px"),-1!==g.indexOf(" ")&&(k=g.split(" "),g=k[0],k=k[1]),l=h=b[e],m=parseFloat(g),w=g.substr((m+"").length),(y="="===l.charAt(1))?(n=parseInt(l.charAt(0)+"1",10),l=l.substr(2),n*=parseFloat(l),s=l.substr((n+"").length-(0>n?1:0))||""):(n=parseFloat(l),s=l.substr((n+"").length)),""===
+s&&(s=ca[d]||w),s!==w&&(g=F(a,"borderLeft",m,w),m=F(a,"borderTop",m,w),"%"===s?(g=100*(g/q)+"%",k=100*(m/v)+"%"):"em"===s?(w=F(a,"borderLeft",1,"em"),g=g/w+"em",k=m/w+"em"):(g+="px",k=m+"px"),y&&(l=parseFloat(g)+n+s,h=parseFloat(k)+n+s)),f=aa(j,c[e],g+" "+k,l+" "+h,!1,"0px",f);return f},!0,!1,Da("0px 0px 0px 0px",!1,!0));q("backgroundPosition","0 0",function(a,b,d,c,f,j){d=r||U(a,null);d=this.format((d?ja?d.getPropertyValue("background-position-x")+" "+d.getPropertyValue("background-position-y"):
+d.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0");b=this.format(b);var e,h,k,g;if(-1!==d.indexOf("%")!==(-1!==b.indexOf("%"))){c=d.split(" ");e=b.split(" ");ha.setAttribute("src",x(a,"backgroundImage").replace(Ja,""));for(h=2;-1<--h;)d=c[h],k=-1!==d.indexOf("%"),k!==(-1!==e[h].indexOf("%"))&&(g=0===h?a.offsetWidth-ha.width:a.offsetHeight-ha.height,c[h]=k?parseFloat(d)/100*g+"px":100*(parseFloat(d)/g)+"%");d=c.join(" ")}return this.parseComplex(a.style,
+d,b,f,j)},!1,!1,ma);q("backgroundSize","0 0",null,!1,!1,ma);q("perspective","0px",null,!0);q("perspectiveOrigin","50% 50%",null,!0);q("transformStyle","preserve-3d",null,!0);q("backfaceVisibility","visible",null,!0);q("margin",null,A("marginTop,marginRight,marginBottom,marginLeft"));q("padding",null,A("paddingTop,paddingRight,paddingBottom,paddingLeft"));q("clip","rect(0px,0px,0px,0px)");q("textShadow","0px 0px 0px #999",null,!1,!0);q("autoRound",null,function(a,b,d,c,f){return f});q("border","0px solid #000",
+function(a,b,d,c,f,j){return this.parseComplex(a.style,this.format(x(a,"borderTopWidth",r,!1,"0px")+" "+x(a,"borderTopStyle",r,!1,"solid")+" "+x(a,"borderTopColor",r,!1,"#000")),this.format(b),f,j)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(J)||["#000"])[0]});var Ta=function(a){var b=this.t;a=this.s+this.c*a;var d;100===a&&(b.removeAttribute("filter"),d=!x(this.data,"filter"));d||(this.xn1&&(b.filter=b.filter||"alpha(opacity=100)"),b.filter=-1===b.filter.indexOf("opacity")?
+b.filter+(" alpha(opacity="+(a>>0)+")"):b.filter.replace(ga,"opacity="+(a>>0)))};q("opacity,alpha,autoAlpha","1",function(a,b,d,c,f,j){var e=parseFloat(x(a,"opacity",r,!1,"1"));b=parseFloat(b);var h=a.style,k;"autoAlpha"===d&&(k=x(a,"visibility",r),1===e&&"hidden"===k&&(e=0),f=new y(h,"visibility",0,0,f,-1,null,!1,0,0!==e?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));O?f=new y(h,"opacity",e,b-e,f):(f=new y(h,"opacity",100*e,100*(b-e),f),f.xn1="autoAlpha"===
+d?1:0,h.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=j,f.setRatio=Ta);return f});var Ua=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;a=this.data;for(var b=this.t.style,d=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[d](a.p.replace(qa,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};q("className",null,function(a,b,d,c,f,j,e){var h=a.className,k=a.style.cssText;
+f=c._classNamePT=new y(a,d,0,0,f,2);f.setRatio=Ua;f.b=h;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?h+" "+b.substr(2):h.split(b.substr(2)).join("");c._tween._duration&&(b=Z(a,r,!0),a.className=f.e,e=Ba(a,b,Z(a),e),a.className=h,f.data=e.firstMPT,a.style.cssText=k,f=f.xfirst=c.parse(a,e.difs,f,j));return f});m=["bezier","throwProps","physicsProps","physics2D"];for(v=m.length;v--;)N(m[v]);m=B.prototype;m._firstPT=null;m._onInitTween=function(a,b,d){if(!a.nodeType)return!1;this._target=a;this._tween=d;
+this._vars=b;ia=b.autoRound;ba=!1;ca=b.suffixMap||B.suffixMap;r=U(a,"");da=this._overwriteProps;d=a.style;var c,f,j,e;if(ta&&""===d.zIndex&&(c=x(a,"zIndex",r),"auto"===c||""===c))d.zIndex=0;"string"===typeof b&&(f=d.cssText,c=Z(a,r),d.cssText=f+";"+b,c=Ba(a,c,Z(a)).difs,!O&&Ia.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,d.cssText=f);this._firstPT=b=this.parse(a,b,null);if(this._transformType){c=3===this._transformType;if(H){if(ua){ta=!0;if(""===d.zIndex&&(e=x(a,"zIndex",r),"auto"===e||""===e))d.zIndex=
+0;wa&&(d.WebkitBackfaceVisibility=this._vars.WebkitBackfaceVisibility||(c?"visible":"hidden"))}}else d.zoom=1;for(d=b;d&&d._next;)d=d._next;e=new y(a,"transform",0,0,null,2);this._linkCSSP(e,null,d);e.setRatio=c&&I?Ra:H?Sa:Qa;e.data=this._transform||Y(a,r,!0);da.pop()}if(ba){for(;b;){a=b._next;for(d=f;d&&d.pr>b.pr;)d=d._next;(b._prev=d?d._prev:j)?b._prev._next=b:f=b;(b._next=d)?d._prev=b:j=b;b=a}this._firstPT=f}return!0};m.parse=function(a,b,d,c){var f=a.style,j,e,h,k,g,l,m,n;for(j in b){g=b[j];if(e=
+L[j])d=e.parse(a,g,j,this,d,c,b);else if(e=x(a,j,r)+"",m="string"===typeof g,"color"===j||"fill"===j||"stroke"===j||-1!==j.indexOf("Color")||m&&!g.indexOf("rgb"))m||(g=oa(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),d=aa(f,j,e,g,!0,"transparent",d,0,c);else if(m&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))d=aa(f,j,e,g,!0,null,d,0,c);else{h=parseFloat(e);l=e.substr((h+"").length);if(""===e||"auto"===e)if("width"===j||"height"===j){h=a;n=j;k=r;l=parseFloat("width"===n?h.offsetWidth:h.offsetHeight);
+n=Na[n];var q=n.length;for(k=k||U(h,null);-1<--q;)l-=parseFloat(x(h,"padding"+n[q],k,!0))||0,l-=parseFloat(x(h,"border"+n[q]+"Width",k,!0))||0;h=l;l="px"}else h="opacity"!==j?0:1,l="";(n=m&&"="===g.charAt(1))?(k=parseInt(g.charAt(0)+"1",10),g=g.substr(2),k*=parseFloat(g),m=g.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(g),m=m?g.substr((k+"").length)||"":"");""===m&&(m=ca[j]||l);g=k||0===k?(n?k+h:k)+m:b[j];if(l!==m&&""!==m&&(k||0===k))if(h||0===h)if(h=F(a,j,h,l),"%"===m?(h/=F(a,j,100,"%")/100,
+100<h&&(h=100)):"em"===m?h/=F(a,j,1,"em"):(k=F(a,j,k,m),m="px"),n&&(k||0===k))g=k+h+m;n&&(k+=h);(h||0===h)&&(k||0===k)?(d=new y(f,j,h,k-h,d,0,"css_"+j,!1!==ia&&("px"===m||"zIndex"===j),0,e,g),d.xs0=m):!g&&("NaN"===g+""||null==g)?window.console&&console.log("invalid "+j+" tween value. "):(d=new y(f,j,k||h||0,0,d,-1,"css_"+j,!1,0,e,g),d.xs0="display"===j&&"none"===g?e:g)}c&&(d&&!d.plugin)&&(d.plugin=c)}return d};m.setRatio=function(a){var b=this._firstPT,d,c;if(1===a&&(this._tween._time===this._tween._duration||
+0===this._tween._time))for(;b;)2!==b.type?b.t[b.p]=b.e:b.setRatio(a),b=b._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;b;){d=b.c*a+b.s;b.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+
+d+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{d=b.xs0+d+b.xs1;for(c=1;c<b.l;c++)d+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=d}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=d+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};m._enableTransforms=function(a){this._transformType=a||3===this._transformType?3:2};m._linkCSSP=function(a,b,d,c){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),d?d._next=a:!c&&null===this._firstPT&&(this._firstPT=
+a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=d);return a};m._kill=function(a){var b=a,d=!1,c,f;if(a.css_autoAlpha||a.css_alpha){b={};for(f in a)b[f]=a[f];b.css_opacity=1;b.css_autoAlpha&&(b.css_visibility=1)}if(a.css_className&&(c=this._classNamePT))(a=c.xfirst)&&a._prev?this._linkCSSP(a._prev,c._next,a._prev._prev):a===this._firstPT&&(this._firstPT=null),c._next&&this._linkCSSP(c._next,c._next._next,a._prev),this._target._gsOverwrittenClassNamePT=
+this._linkCSSP(c,this._target._gsOverwrittenClassNamePT),this._classNamePT=null,d=!0;return V.prototype._kill.call(this,b)||d};V.activate([B]);return B},!0)});window._gsDefine&&_gsQueue.pop()();
\ No newline at end of file
diff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.js
index 356f212..74be3b2 100755
--- a/src/uncompressed/TweenMax.js
+++ b/src/uncompressed/TweenMax.js
@@ -1,6 +1,6 @@
/**
- * VERSION: beta 1.663
- * DATE: 2012-12-20
+ * VERSION: beta 1.664
+ * DATE: 2012-12-21
* JavaScript (ActionScript 3 and 2 also available)
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -33,7 +33,7 @@
p = TweenMax.prototype = TweenLite.to({}, 0.1, {}),
_blankArray = [];
- TweenMax.version = 1.663;
+ TweenMax.version = 1.664;
p.constructor = TweenMax;
p.kill()._gc = false;
TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;
@@ -2063,7 +2063,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.663;
+ CSSPlugin.version = 1.664;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -2210,15 +2210,17 @@
}
tr = _getTransform(t, cs, false);
s.rotation = tr.rotation * _RAD2DEG;
- s.rotationX = tr.rotationX * _RAD2DEG;
- s.rotationY = tr.rotationY * _RAD2DEG;
s.skewX = tr.skewX * _RAD2DEG;
s.scaleX = tr.scaleX;
s.scaleY = tr.scaleY;
- s.scaleZ = tr.scaleZ;
s.x = tr.x;
s.y = tr.y;
- s.z = tr.z;
+ if (_supports3D) {
+ s.z = tr.z;
+ s.rotationX = tr.rotationX * _RAD2DEG;
+ s.rotationY = tr.rotationY * _RAD2DEG;
+ s.scaleZ = tr.scaleZ;
+ }
if (s.filters) {
delete s.filters;
}
@@ -3290,50 +3292,6 @@
a34 = (((a34 + t.z) * rnd) >> 0) / rnd;
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 = "",
- 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 + "";
- n = parseFloat(top) || 0;
- sfx = top.substr((n + "").length);
- t._ffFix = !t._ffFix;
- style.top = (t._ffFix ? n + 0.05 : n - 0.05) + ((sfx === "") ? "px" : sfx);
- }
- if (t.perspective) {
- s = "perspective(" + t.perspective + ") ";
- }
- if (t.x || t.y || t.z) {
- 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 * rnd) >> 0) / rnd) + "," + (((t.scaleY * rnd) >> 0) / rnd) + "," + (((t.scaleZ * rnd) >> 0) / rnd) + ") ";
- }
- if (t.rotation) {
- s += "rotateZ(" + (((t.rotation * rnd) >> 0) / rnd) + "rad) ";
- }
- if (t.rotationY) {
- s += "rotateY(" + (((t.rotationY * rnd) >> 0) / rnd) + "rad) ";
- }
- if (t.rotationX) {
- s += "rotateX(" + (((t.rotationX * rnd) >> 0) / rnd) + "rad) ";
- }
- if (zOrigin) {
- s += "translateZ(" + -zOrigin + "px)";
- }
- style[_transformProp] = s;
- */
-
- //alternate way of applying the values (slightly slower but slightly more accurate, although I doubt anyone could ever tell a difference) (add a var min = 0.000001)
- //style[_transformProp] = "matrix3d(" + ((a11 < min && a11 > -min) ? 0 : a11) + cma + ((a21 < min && a21 > -min) ? 0 : a21) + cma + ((a31 < min && a31 > -min) ? 0 : a31) + cma + ((a41 < min && a41 > -min) ? 0 : a41) + cma + ((a12 < min && a12 > -min) ? 0 : a12) + cma + ((a22 < min && a22 > -min) ? 0 : a22) + cma + ((a32 < min && a32 > -min) ? 0 : a32) + cma + ((a42 < min && a42 > -min) ? 0 : a42) + cma + ((a13 < min && a13 > -min) ? 0 : a13) + cma + ((a23 < min && a23 > -min) ? 0 : a23) + cma + ((a33 < min && a33 > -min) ? 0 : a33) + cma + ((a43 < min && a43 > -min) ? 0 : a43) + cma + ((a14 < min && a14 > -min) ? 0 : a14) + cma + ((a24 < min && a24 > -min) ? 0 : a24) + cma + a34 + cma + (perspective ? (1 + (-a34 / perspective)) : 1) + ")";
},
_set2DTransformRatio = function(v) {
var t = this.data; //refers to the element's _gsTransform object
@@ -3359,7 +3317,7 @@
min = 0.000001,
i = _transformProps.length,
v = vars,
- m2, rotation, skewY, copy, orig, has3D;
+ m2, rotation, skewY, copy, orig, has3D, hasChange;
if (typeof(v.transform) === "string" && _transformProp) { //for values like transform:"rotate(60deg) scale(0.5, 0.8)"
copy = style[_transformProp];
@@ -3416,12 +3374,11 @@
m2.scaleZ = 1; //no need to tween scaleZ.
}
- cssp._transformType = (has3D || this._transformType === 3) ? 3 : 2; //quicker than calling cssp._enableTransforms();
-
while (--i > -1) {
p = _transformProps[i];
orig = m2[p] - m1[p];
if (orig > min || orig < -min || _forcePT[p] != null) {
+ hasChange = true;
pt = new CSSPropTween(m1, p, m1[p], orig, pt);
pt.xs0 = 0; //ensures the value stays numeric in setRatio()
pt.plugin = plugin;
@@ -3432,6 +3389,7 @@
orig = v.transformOrigin;
if (orig || (_supports3D && has3D && m1.zOrigin)) { //if anything 3D is happening and there's a transformOrigin with a z component that's non-zero, we must ensure that the transformOrigin's z-component is set to 0 so that we can manually do those calculations to get around Safari bugs. Even if the user didn't specifically define a "transformOrigin" in this particular tween (maybe they did it via css directly).
if (_transformProp) {
+ hasChange = true;
orig = (orig || _getStyle(t, p, _cs, false, "50% 50%")) + ""; //cast as string to avoid errors
p = _transformOriginProp;
pt = new CSSPropTween(style, p, 0, 0, pt, -1, "css_transformOrigin");
@@ -3455,47 +3413,12 @@
}
}
- if (pt && pt.t === t) { //if no tweenable properties are found, remove the "transform" CSSPropTween from the linked list and return the original one that was passed in.
- if (pt._next) {
- pt._next._prev = null;
- }
- return pt._next;
+ if (hasChange) {
+ cssp._transformType = (has3D || this._transformType === 3) ? 3 : 2; //quicker than calling cssp._enableTransforms();
}
return pt;
-
}, true);
- /* [unused] multiplies 4x4 matricies
- function multiply3D(a, b) {
- var c = [],
- a11 = a[0], a21 = a[1], a31 = a[2], a41 = a[3],
- a12 = a[4], a22 = a[5], a32 = a[6], a42 = a[7],
- a13 = a[8], a23 = a[9], a33 = a[10], a43 = a[11],
- a14 = a[12], a24 = a[13], a34 = a[14], a44 = a[15],
- b11 = b[0], b21 = b[1], b31 = b[2], b41 = b[3],
- b12 = b[4], b22 = b[5], b32 = b[6], b42 = b[7],
- b13 = b[8], b23 = b[9], b33 = b[10], b43 = b[11],
- b14 = b[12], b24 = b[13], b34 = b[14], b44 = b[15];
- c[0] = a11*b11+a12*b21+a13*b31+a14*b41; //a11
- c[1] = a21*b11+a22*b21+a23*b31+a24*b41; //a21
- c[2] = a31*b11+a32*b21+a33*b31+a34*b41; //a31
- c[3] = a41*b11+a42*b21+a43*b31+a44*b41; //a41
- c[4] = a11*b12+a12*b22+a13*b32+a14*b42; //a12
- c[5] = a21*b12+a22*b22+a23*b32+a24*b42; //a22
- c[6] = a31*b12+a32*b22+a33*b32+a34*b42; //a32
- c[7] = a41*b12+a42*b22+a43*b32+a44*b42; //a42
- c[8] = a11*b13+a12*b23+a13*b33+a14*b43; //a13
- c[9] = a21*b13+a22*b23+a23*b33+a24*b43; //a23
- c[10] = a31*b13+a32*b23+a33*b33+a34*b43; //a33
- c[11] = a41*b13+a42*b23+a43*b33+a44*b43; //a43
- c[12] = a11*b14+a12*b24+a13*b34+a14*b44; //a14
- c[13] = a21*b14+a22*b24+a23*b34+a24*b44; //a24
- c[14] = a31*b14+a32*b24+a33*b34+a34*b44; //a34
- c[15] = a41*b14+a42*b24+a43*b34+a44*b44; //a44
- return c;
- }
- */
-
_registerComplexSpecialProp("boxShadow", "0px 0px 0px 0px #999", null, true, true);
@@ -3882,6 +3805,8 @@
pt = new CSSPropTween(style, p, bn, en - bn, pt, 0, "css_" + p, (_autoRound !== false && (esfx === "px" || p === "zIndex")), 0, bs, es);
pt.xs0 = esfx;
//DEBUG: _log("tween "+p+" from "+pt.b+" to "+pt.e+" with suffix: "+pt.xs0)
+ } else if (!es && (es + "" === "NaN" || es == null)) {
+ _log("invalid " + p + " tween value. ");
} else {
pt = new CSSPropTween(style, p, en || bn || 0, 0, pt, -1, "css_" + p, false, 0, bs, es);
pt.xs0 = (p === "display" && es === "none") ? bs : es; //intermediate value is typically the same as the end value except for "display"
diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.js
index 93c621a..a4395ee 100755
--- a/src/uncompressed/plugins/CSSPlugin.js
+++ b/src/uncompressed/plugins/CSSPlugin.js
@@ -1,6 +1,6 @@
/*!
- * VERSION: beta 1.663
- * DATE: 2012-12-15
+ * VERSION: beta 1.664
+ * DATE: 2012-12-21
* JavaScript
* UPDATES AND DOCS AT: http://www.greensock.com
*
@@ -29,7 +29,7 @@
p = CSSPlugin.prototype = new TweenPlugin("css");
p.constructor = CSSPlugin;
- CSSPlugin.version = 1.663;
+ CSSPlugin.version = 1.664;
CSSPlugin.API = 2;
CSSPlugin.defaultTransformPerspective = 0;
p = "px"; //we'll reuse the "p" variable to keep file size down
@@ -176,15 +176,17 @@
}
tr = _getTransform(t, cs, false);
s.rotation = tr.rotation * _RAD2DEG;
- s.rotationX = tr.rotationX * _RAD2DEG;
- s.rotationY = tr.rotationY * _RAD2DEG;
s.skewX = tr.skewX * _RAD2DEG;
s.scaleX = tr.scaleX;
s.scaleY = tr.scaleY;
- s.scaleZ = tr.scaleZ;
s.x = tr.x;
s.y = tr.y;
- s.z = tr.z;
+ if (_supports3D) {
+ s.z = tr.z;
+ s.rotationX = tr.rotationX * _RAD2DEG;
+ s.rotationY = tr.rotationY * _RAD2DEG;
+ s.scaleZ = tr.scaleZ;
+ }
if (s.filters) {
delete s.filters;
}
@@ -1325,7 +1327,7 @@
min = 0.000001,
i = _transformProps.length,
v = vars,
- m2, rotation, skewY, copy, orig, has3D;
+ m2, rotation, skewY, copy, orig, has3D, hasChange;
if (typeof(v.transform) === "string" && _transformProp) { //for values like transform:"rotate(60deg) scale(0.5, 0.8)"
copy = style[_transformProp];
@@ -1382,12 +1384,11 @@
m2.scaleZ = 1; //no need to tween scaleZ.
}
- cssp._transformType = (has3D || this._transformType === 3) ? 3 : 2; //quicker than calling cssp._enableTransforms();
-
while (--i > -1) {
p = _transformProps[i];
orig = m2[p] - m1[p];
if (orig > min || orig < -min || _forcePT[p] != null) {
+ hasChange = true;
pt = new CSSPropTween(m1, p, m1[p], orig, pt);
pt.xs0 = 0; //ensures the value stays numeric in setRatio()
pt.plugin = plugin;
@@ -1398,6 +1399,7 @@
orig = v.transformOrigin;
if (orig || (_supports3D && has3D && m1.zOrigin)) { //if anything 3D is happening and there's a transformOrigin with a z component that's non-zero, we must ensure that the transformOrigin's z-component is set to 0 so that we can manually do those calculations to get around Safari bugs. Even if the user didn't specifically define a "transformOrigin" in this particular tween (maybe they did it via css directly).
if (_transformProp) {
+ hasChange = true;
orig = (orig || _getStyle(t, p, _cs, false, "50% 50%")) + ""; //cast as string to avoid errors
p = _transformOriginProp;
pt = new CSSPropTween(style, p, 0, 0, pt, -1, "css_transformOrigin");
@@ -1421,14 +1423,10 @@
}
}
- if (pt && pt.t === t) { //if no tweenable properties are found, remove the "transform" CSSPropTween from the linked list and return the original one that was passed in.
- if (pt._next) {
- pt._next._prev = null;
- }
- return pt._next;
+ if (hasChange) {
+ cssp._transformType = (has3D || this._transformType === 3) ? 3 : 2; //quicker than calling cssp._enableTransforms();
}
return pt;
-
}, true);
/* [unused] multiplies 4x4 matricies
@@ -1848,6 +1846,8 @@
pt = new CSSPropTween(style, p, bn, en - bn, pt, 0, "css_" + p, (_autoRound !== false && (esfx === "px" || p === "zIndex")), 0, bs, es);
pt.xs0 = esfx;
//DEBUG: _log("tween "+p+" from "+pt.b+" to "+pt.e+" with suffix: "+pt.xs0)
+ } else if (!es && (es + "" === "NaN" || es == null)) {
+ _log("invalid " + p + " tween value. ");
} else {
pt = new CSSPropTween(style, p, en || bn || 0, 0, pt, -1, "css_" + p, false, 0, bs, es);
pt.xs0 = (p === "display" && es === "none") ? bs : es; //intermediate value is typically the same as the end value except for "display"