GSAP (GreenSock Animation Platform): high-performance JavaScript animation for anything JavaScript can touch. 100% free, including every plugin.
JavaScript animationcanvasgsapjavascriptjavascript-libraryreactscrollscrolltriggerspringsvgweb-animations
Fixes IE issue with backgroundPosition
Jack Doylebb5f12be14ec
diff --git a/src/minified/TweenMax.min.js b/src/minified/TweenMax.min.jsindex 7ebaf61..2110045 100755--- a/src/minified/TweenMax.min.js+++ b/src/minified/TweenMax.min.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.652- * DATE: 2012-12-11+ * VERSION: beta 1.653+ * DATE: 2012-12-13* JavaScript (ActionScript 3 and 2 also available)* UPDATES AND DOCS AT: http://www.greensock.com*@@ -12,133 +12,134 @@** @author: Jack Doyle, [email protected]**/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,s,f){var l=function(F,c,e){f.call(this,F,c,e);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=l.prototype=f.to({},0.1,{}),d=[];l.version=1.652;k.constructor=l;k.kill()._gc=!1;l.killTweensOf=l.killDelayedCallsTo=f.killTweensOf;l.getTweensOf=f.getTweensOf;l.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(F,c){var e=this.ratio,a;c&&(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(a in F)this.vars[a]=F[a];if(this._initted)if(c)this._initted=-!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&f._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)e=this._time,this.render(0,!0,!1),this._initted=!1,this.render(e,!0,!1);else if(0<this._time){this._initted=!1;this._init();e=1/(1-e);a=this._firstPT;for(var J;a;)J=a.s+a.c,a.c*=e,a.s=J-a.c,a=a._next}return this};k.render=function(a,c,e){var i=!this._dirty?this._totalDuration:this.totalDuration(),J=this._time,b=this._totalTime,v=this._cycle,h,w;if(a>=i){if(this._totalTime=i,+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(q,s,f){var j=function(F,c,e){f.call(this,F,c,e);this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._dirty=!0},l=j.prototype=f.to({},0.1,{}),d=[];j.version=1.653;l.constructor=j;l.kill()._gc=!1;j.killTweensOf=j.killDelayedCallsTo=f.killTweensOf;j.getTweensOf=f.getTweensOf;j.ticker=f.ticker;+l.invalidate=function(){this._yoyo=!0===this.vars.yoyo;this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._uncache(!0);return f.prototype.invalidate.call(this)};l.updateTo=function(F,c){var e=this.ratio,a;c&&(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(a in F)this.vars[a]=F[a];if(this._initted)if(c)this._initted=+!1;else if(this._notifyPluginsOfEnabled&&this._firstPT&&f._onPluginEvent("_onDisable",this),0.998<this._time/this._duration)e=this._time,this.render(0,!0,!1),this._initted=!1,this.render(e,!0,!1);else if(0<this._time){this._initted=!1;this._init();e=1/(1-e);a=this._firstPT;for(var J;a;)J=a.s+a.c,a.c*=e,a.s=J-a.c,a=a._next}return this};l.render=function(a,c,e){var i=!this._dirty?this._totalDuration:this.totalDuration(),J=this._time,b=this._totalTime,v=this._cycle,h,w;if(a>=i){if(this._totalTime=i,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||(h=!0,w="onComplete"),0===this._duration){if(0===a||0>this._rawPrevTime)this._rawPrevTime!==a&&(e=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=this._cycle=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==b||0===this._duration&&0<this._rawPrevTime)w="onReverseComplete",h=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(e=!0),this._rawPrevTime=a)):this._initted||(e=!0)}else if(this._totalTime=this._time=a,0!==this._repeat&&(a=this._duration+this._repeatDelay,this._cycle=this._totalTime/a>>0,0!==this._cycle&&this._cycle===this._totalTime/a&&this._cycle--,this._time=this._totalTime-this._cycle*a,this._yoyo&&0!==(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){var a=this._time/this._duration,i=this._easeType,p=this._easePower;if(1===i||3===i&&0.5<=a)a=1-a;3===i&&(a*=2);1===p?a*=a:2===p?a*=a*a:3===p?a*=a*a*a:4===p&&(a*=a*a*a*a);this.ratio=1===i?1-a:2===i?a:0.5>this._time/this._duration?a/2:1-a/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(J===this._time&&!e)b!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));else{this._initted||+0>this._time&&(this._time=0)),this._easeType){var a=this._time/this._duration,i=this._easeType,r=this._easePower;if(1===i||3===i&&0.5<=a)a=1-a;3===i&&(a*=2);1===r?a*=a:2===r?a*=a*a:3===r?a*=a*a*a:4===r&&(a*=a*a*a*a);this.ratio=1===i?1-a:2===i?a:0.5>this._time/this._duration?a/2:1-a/2}else this.ratio=this._ease.getRatio(this._time/this._duration);if(J===this._time&&!e)b!==this._totalTime&&this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));else{this._initted||(this._init(),!h&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===b&&this.vars.onStart&&(0!==this._totalTime||0===this._duration))c||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||d);for(e=this._firstPT;e;){if(e.f)e.t[e.p](e.c*this.ratio+e.s);else e.t[e.p]=e.c*this.ratio+e.s;e=e._next}this._onUpdate&&(c||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));this._cycle!==-v&&(c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||d));w&&!this._gc&&(h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[w]&&this.vars[w].apply(this.vars[w+"Scope"]||this,this.vars[w+"Params"]||d))}};l.to=function(a,c,e){return new l(a,c,e)};l.from=function(a,c,e){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return new l(a,c,e)};l.fromTo=function(a,c,e,i){i.startAt=e;e.immediateRender&&-(i.immediateRender=!0);return new l(a,c,i)};l.staggerTo=l.allTo=function(a,c,e,i,b,d,v){var i=i||0,h=[],w=a.length,p=e.delay||0,C,r,f;for(r=0;r<w;r++){C={};for(f in e)C[f]=e[f];C.delay=p;r===w-1&&b&&(C.onComplete=function(){e.onComplete&&e.onComplete.apply(e.onCompleteScope,e.onCompleteParams);b.apply(v,d)});h[r]=new l(a[r],c,C);p+=i}return h};l.staggerFrom=l.allFrom=function(a,c,e,i,b,d,v){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return l.staggerTo(a,c,e,i,b,d,v)};l.staggerFromTo=-l.allFromTo=function(a,c,e,i,b,d,v,h){i.startAt=e;e.immediateRender&&(i.immediateRender=!0);return l.staggerTo(a,c,i,b,d,v,h)};l.delayedCall=function(a,c,e,i,b){return new l(c,0,{delay:a,onComplete:c,onCompleteParams:e,onCompleteScope:i,onReverseComplete:c,onReverseCompleteParams:e,onReverseCompleteScope:i,immediateRender:!1,useFrames:b,overwrite:0})};l.set=function(a,c){return new l(a,0,c)};l.isTweening=function(a){for(var a=f.getTweensOf(a),c=a.length,e;-1<--c;)if((e=a[c])._active||e._startTime===-e.timeline._time&&e.timeline._active)return!0;return!1};var v=function(a,c){for(var e=[],i=0,b=a._first;b;)b instanceof f?e[i++]=b:(c&&(e[i++]=b),e=e.concat(v(b,c)),i=e.length),b=b._next;return e},b=l.getAllTweens=function(a){return v(n._rootTimeline,a).concat(v(n._rootFramesTimeline,a))};l.killAll=function(a,c,e,i){null==c&&(c=!0);null==e&&(e=!0);var d=b(!1!=i),v=d.length,i=c&&e&&i,f,h,w;for(w=0;w<v;w++)if(h=d[w],i||h instanceof s||(f=h.target===h.vars.onComplete)&&e||c&&!f)a?h.totalTime(h.totalDuration()):-h._enabled(!1,!1)};l.killChildTweensOf=function(a,c){if(null!=a)if(a.jquery)a.each(function(a,e){l.killChildTweensOf(e,c)});else{var e=f._tweenLookup,i=[],b,d;for(d in e)for(b=e[d].target.parentNode;b;)b===a&&(i=i.concat(e[d].tweens)),b=b.parentNode;b=i.length;for(e=0;e<b;e++)c&&i[e].totalTime(i[e].totalDuration()),i[e]._enabled(!1,!1)}};l.pauseAll=function(F,c,e){a(!0,F,c,e)};l.resumeAll=function(F,c,e){a(!1,F,c,e)};var a=function(a,c,e,i){void 0==c&&(c=!0);void 0==e&&(e=!0);for(var d=b(i),i=c&&-e&&i,v=d.length,f,h;-1<--v;)h=d[v],(i||h instanceof s||(f=h.target===h.vars.onComplete)&&e||c&&!f)&&h.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,c){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,c)};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 l},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(n,s,f){var l=function(a){s.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;for(var a=k.length,b,c;-1<--a;)if(c=this.vars[k[a]])for(b=c.length;-1<--b;)"{self}"===c[b]&&(c=this.vars[k[a]]=c.concat(),c[b]=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"],d=[],v=function(a){var b={},c;for(c in a)b[c]=a[c];return b},b=l.prototype=new s;l.version=1.641;b.constructor=l;b.kill()._gc=!1;b.to=function(a,b,c,e,i){return this.insert(new f(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.from=function(a,b,c,e,i){return this.insert(f.from(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.fromTo=function(a,b,c,e,i,d){return this.insert(f.fromTo(a,b,c,e),this._parseTimeOrLabel(d,i,!0))};b.staggerTo=function(a,b,c,e,i,d,k,G,h){k=new l({onComplete:k,onCompleteParams:G,-onCompleteScope:h});e=e||0;for(G=0;G<a.length;G++)null!=c.startAt&&(c.startAt=v(c.startAt)),k.insert(new f(a[G],b,v(c)),G*e);return this.insert(k,this._parseTimeOrLabel(d,i,!0))};b.staggerFrom=function(a,b,c,e,i,d,v,f,h){null==c.immediateRender&&(c.immediateRender=!0);c.runBackwards=!0;return this.staggerTo(a,b,c,e,i,d,v,f,h)};b.staggerFromTo=function(a,b,c,e,i,d,v,f,h,w){e.startAt=c;c.immediateRender&&(e.immediateRender=!0);return this.staggerTo(a,b,e,i,d,v,f,h,w)};b.call=function(a,b,c,e,i){return this.insert(f.delayedCall(0,-a,b,c),this._parseTimeOrLabel(i,e,!0))};b.set=function(a,b,c,e){b.immediateRender=!1;return this.insert(new f(a,0,b),this._parseTimeOrLabel(e,c,!0))};l.exportRoot=function(a,b){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var c=new l(a),e=c._timeline;null==b&&(b=!0);e._remove(c,!0);c._startTime=0;c._rawPrevTime=c._time=c._totalTime=e._time;for(var i=e._first,d;i;)d=i._next,(!b||!(i instanceof f&&i.target===i.vars.onComplete))&&c.insert(i,i._startTime-i._delay),i=d;e.insert(c,0);return c};-b.insert=function(a,b){if(!(a instanceof n)){if(a instanceof Array)return this.insertMultiple(a,b);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(b||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.";}s.prototype.insert.call(this,a,this._parseTimeOrLabel(b||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var c=-this;c._gc&&c._timeline;)c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._enabled(!0,!1),c=c._timeline;return this};b.remove=function(a){if(a instanceof n)return this._remove(a,!1);if(a instanceof Array){for(var b=a.length;-1<--b;)this.remove(a[b]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};b.append=function(a,b){return this.insert(a,this._parseTimeOrLabel(null,b,!0))};b.insertMultiple=function(a,b,c,e){for(var c=c||"normal",e=e||0,i,d=this._parseTimeOrLabel(b||-0,0,!0),v=a.length,b=0;b<v;b++){if((i=a[b])instanceof Array)i=new l({tweens:i});this.insert(i,d);"string"===typeof i||"function"===typeof i||("sequence"===c?d=i._startTime+i.totalDuration()/i._timeScale:"start"===c&&(i._startTime-=i.delay()));d+=e}return this._uncache(!0)};b.appendMultiple=function(a,b,c,e){return this.insertMultiple(a,this._parseTimeOrLabel(null,b,!0),c,e)};b.addLabel=function(a,b){this._labels[a]=b;return this};b.removeLabel=function(a){delete this._labels[a];return this};b.getLabelTime=+v&&(c||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||d));w&&!this._gc&&(h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),c||this.vars[w]&&this.vars[w].apply(this.vars[w+"Scope"]||this,this.vars[w+"Params"]||d))}};j.to=function(a,c,e){return new j(a,c,e)};j.from=function(a,c,e){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return new j(a,c,e)};j.fromTo=function(a,c,e,i){i.startAt=e;e.immediateRender&&+(i.immediateRender=!0);return new j(a,c,i)};j.staggerTo=j.allTo=function(a,c,e,i,b,d,v){var i=i||0,h=[],w=a.length,r=e.delay||0,A,k,f;for(k=0;k<w;k++){A={};for(f in e)A[f]=e[f];A.delay=r;k===w-1&&b&&(A.onComplete=function(){e.onComplete&&e.onComplete.apply(e.onCompleteScope,e.onCompleteParams);b.apply(v,d)});h[k]=new j(a[k],c,A);r+=i}return h};j.staggerFrom=j.allFrom=function(a,c,e,i,b,d,v){e.runBackwards=!0;!1!==e.immediateRender&&(e.immediateRender=!0);return j.staggerTo(a,c,e,i,b,d,v)};j.staggerFromTo=+j.allFromTo=function(a,c,e,i,b,d,v,h){i.startAt=e;e.immediateRender&&(i.immediateRender=!0);return j.staggerTo(a,c,i,b,d,v,h)};j.delayedCall=function(a,c,e,i,b){return new j(c,0,{delay:a,onComplete:c,onCompleteParams:e,onCompleteScope:i,onReverseComplete:c,onReverseCompleteParams:e,onReverseCompleteScope:i,immediateRender:!1,useFrames:b,overwrite:0})};j.set=function(a,c){return new j(a,0,c)};j.isTweening=function(a){for(var a=f.getTweensOf(a),c=a.length,e;-1<--c;)if((e=a[c])._active||e._startTime===+e.timeline._time&&e.timeline._active)return!0;return!1};var v=function(a,c){for(var e=[],i=0,b=a._first;b;)b instanceof f?e[i++]=b:(c&&(e[i++]=b),e=e.concat(v(b,c)),i=e.length),b=b._next;return e},b=j.getAllTweens=function(a){return v(q._rootTimeline,a).concat(v(q._rootFramesTimeline,a))};j.killAll=function(a,c,e,i){null==c&&(c=!0);null==e&&(e=!0);var d=b(!1!=i),v=d.length,i=c&&e&&i,f,h,w;for(w=0;w<v;w++)if(h=d[w],i||h instanceof s||(f=h.target===h.vars.onComplete)&&e||c&&!f)a?h.totalTime(h.totalDuration()):+h._enabled(!1,!1)};j.killChildTweensOf=function(a,c){if(null!=a)if(a.jquery)a.each(function(a,e){j.killChildTweensOf(e,c)});else{var e=f._tweenLookup,i=[],b,d;for(d in e)for(b=e[d].target.parentNode;b;)b===a&&(i=i.concat(e[d].tweens)),b=b.parentNode;b=i.length;for(e=0;e<b;e++)c&&i[e].totalTime(i[e].totalDuration()),i[e]._enabled(!1,!1)}};j.pauseAll=function(F,c,e){a(!0,F,c,e)};j.resumeAll=function(F,c,e){a(!1,F,c,e)};var a=function(a,c,e,i){void 0==c&&(c=!0);void 0==e&&(e=!0);for(var d=b(i),i=c&&+e&&i,v=d.length,f,h;-1<--v;)h=d[v],(i||h instanceof s||(f=h.target===h.vars.onComplete)&&e||c&&!f)&&h.paused(a)};l.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-a:a)+this._cycle*(this._duration+this._repeatDelay),!1)};l.totalProgress=function(a){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*a,!1)};l.time=function(a,c){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,c)};l.totalDuration=function(a){return!arguments.length?(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration):-1===this._repeat?+this:this.duration((a-this._repeat*this._repeatDelay)/(this._repeat+1))};l.repeat=function(a){if(!arguments.length)return this._repeat;this._repeat=a;return this._uncache(!0)};l.repeatDelay=function(a){if(!arguments.length)return this._repeatDelay;this._repeatDelay=a;return this._uncache(!0)};l.yoyo=function(a){if(!arguments.length)return this._yoyo;this._yoyo=a;return this};return j},!0);_gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(q,s,f){var j=function(a){s.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;for(var a=l.length,b,c;-1<--a;)if(c=this.vars[l[a]])for(b=c.length;-1<--b;)"{self}"===c[b]&&(c=this.vars[l[a]]=c.concat(),c[b]=this);this.vars.tweens instanceof Array&&this.insertMultiple(this.vars.tweens,0,this.vars.align||"normal",this.vars.stagger||0)},l=["onStartParams","onUpdateParams","onCompleteParams","onReverseCompleteParams",+"onRepeatParams"],d=[],v=function(a){var b={},c;for(c in a)b[c]=a[c];return b},b=j.prototype=new s;j.version=1.641;b.constructor=j;b.kill()._gc=!1;b.to=function(a,b,c,e,i){return this.insert(new f(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.from=function(a,b,c,e,i){return this.insert(f.from(a,b,c),this._parseTimeOrLabel(i,e,!0))};b.fromTo=function(a,b,c,e,i,d){return this.insert(f.fromTo(a,b,c,e),this._parseTimeOrLabel(d,i,!0))};b.staggerTo=function(a,b,c,e,i,d,l,G,h){l=new j({onComplete:l,onCompleteParams:G,+onCompleteScope:h});e=e||0;for(G=0;G<a.length;G++)null!=c.startAt&&(c.startAt=v(c.startAt)),l.insert(new f(a[G],b,v(c)),G*e);return this.insert(l,this._parseTimeOrLabel(d,i,!0))};b.staggerFrom=function(a,b,c,e,i,d,v,f,h){null==c.immediateRender&&(c.immediateRender=!0);c.runBackwards=!0;return this.staggerTo(a,b,c,e,i,d,v,f,h)};b.staggerFromTo=function(a,b,c,e,i,d,v,f,h,w){e.startAt=c;c.immediateRender&&(e.immediateRender=!0);return this.staggerTo(a,b,e,i,d,v,f,h,w)};b.call=function(a,b,c,e,i){return this.insert(f.delayedCall(0,+a,b,c),this._parseTimeOrLabel(i,e,!0))};b.set=function(a,b,c,e){b.immediateRender=!1;return this.insert(new f(a,0,b),this._parseTimeOrLabel(e,c,!0))};j.exportRoot=function(a,b){a=a||{};null==a.smoothChildTiming&&(a.smoothChildTiming=!0);var c=new j(a),e=c._timeline;null==b&&(b=!0);e._remove(c,!0);c._startTime=0;c._rawPrevTime=c._time=c._totalTime=e._time;for(var i=e._first,d;i;)d=i._next,(!b||!(i instanceof f&&i.target===i.vars.onComplete))&&c.insert(i,i._startTime-i._delay),i=d;e.insert(c,0);return c};+b.insert=function(a,b){if(!(a instanceof q)){if(a instanceof Array)return this.insertMultiple(a,b);if("string"===typeof a)return this.addLabel(a,this._parseTimeOrLabel(b||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.";}s.prototype.insert.call(this,a,this._parseTimeOrLabel(b||0,0,!0));if(this._gc&&!this._paused&&this._time===this._duration&&this._time<this.duration())for(var c=+this;c._gc&&c._timeline;)c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._enabled(!0,!1),c=c._timeline;return this};b.remove=function(a){if(a instanceof q)return this._remove(a,!1);if(a instanceof Array){for(var b=a.length;-1<--b;)this.remove(a[b]);return this}return"string"===typeof a?this.removeLabel(a):this.kill(null,a)};b.append=function(a,b){return this.insert(a,this._parseTimeOrLabel(null,b,!0))};b.insertMultiple=function(a,b,c,e){for(var c=c||"normal",e=e||0,i,d=this._parseTimeOrLabel(b||+0,0,!0),v=a.length,b=0;b<v;b++){if((i=a[b])instanceof Array)i=new j({tweens:i});this.insert(i,d);"string"===typeof i||"function"===typeof i||("sequence"===c?d=i._startTime+i.totalDuration()/i._timeScale:"start"===c&&(i._startTime-=i.delay()));d+=e}return this._uncache(!0)};b.appendMultiple=function(a,b,c,e){return this.insertMultiple(a,this._parseTimeOrLabel(null,b,!0),c,e)};b.addLabel=function(a,b){this._labels[a]=b;return this};b.removeLabel=function(a){delete this._labels[a];return this};b.getLabelTime=function(a){return null!=this._labels[a]?this._labels[a]:-1};b._parseTimeOrLabel=function(a,b,c){if("string"===typeof b)return this._parseTimeOrLabel(b,c&&"number"===typeof a&&null==this._labels[b]?a-this.duration():0,c);b=b||0;return null==a?this.duration()+b:"string"===typeof a&&isNaN(a)?null==this._labels[a]?c?this._labels[a]=this.duration()+b:b:this._labels[a]+b:Number(a)+b};b.seek=function(a,b){return this.totalTime(this._parseTimeOrLabel(a),!1!=b)};b.stop=function(){return this.paused(!0)};-b.gotoAndPlay=function(a,b){return s.prototype.play.call(this,a,b)};b.gotoAndStop=function(a,b){return this.pause(a,b)};b.render=function(a,b,c){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var e=!this._dirty?this._totalDuration:this.totalDuration(),i=this._time,v=this._startTime,f=this._timeScale,l=this._paused,h,w,p;if(a>=e){this._totalTime=this._time=e;if(!this._reversed&&!this._hasPausedChild()&&(h=!0,p="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==-a&&(c=!0);this._rawPrevTime=a;a=e+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==i||0===this._duration&&0<this._rawPrevTime)p="onReverseComplete",h=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(c=!0)):this._initted||(c=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==i||c){this._initted||(this._initted=!0);0===i&&this.vars.onStart&&0!==this._time&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||-d));if(this._time>i)for(c=this._first;c;){w=c._next;if(this._paused&&!l)break;else if(c._active||c._startTime<=this._time&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=w}else for(c=this._last;c;){w=c._prev;if(this._paused&&!l)break;else if(c._active||c._startTime<=i&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,-b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=w}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));if(p&&!this._gc&&(v===this._startTime||f!=this._timeScale))if(0===this._time||e>=this.totalDuration())h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[p]&&this.vars[p].apply(this.vars[p+"Scope"]||this,this.vars[p+"Params"]||d)}};b._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof-l&&a._hasPausedChild())return!0;a=a._next}return!1};b.getChildren=function(a,b,c,e){for(var e=e||-9999999999,i=[],d=this._first,v=0;d;)d._startTime<e||(d instanceof f?!1!=b&&(i[v++]=d):(!1!=c&&(i[v++]=d),!1!=a&&(i=i.concat(d.getChildren(!0,b,c)),v=i.length))),d=d._next;return i};b.getTweensOf=function(a,b){for(var c=f.getTweensOf(a),e=c.length,i=[],d=0;-1<--e;)if(c[e].timeline===this||b&&this._contains(c[e]))i[d++]=c[e];return i};b._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=+b.gotoAndPlay=function(a,b){return s.prototype.play.call(this,a,b)};b.gotoAndStop=function(a,b){return this.pause(a,b)};b.render=function(a,b,c){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var e=!this._dirty?this._totalDuration:this.totalDuration(),i=this._time,v=this._startTime,f=this._timeScale,j=this._paused,h,w,r;if(a>=e){this._totalTime=this._time=e;if(!this._reversed&&!this._hasPausedChild()&&(h=!0,r="onComplete",0===this._duration&&(0===a||0>this._rawPrevTime)))this._rawPrevTime!==+a&&(c=!0);this._rawPrevTime=a;a=e+1E-6}else if(0>=a){this._totalTime=this._time=0;if(0!==i||0===this._duration&&0<this._rawPrevTime)r="onReverseComplete",h=this._reversed;0>a?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(c=!0)):this._initted||(c=!0);this._rawPrevTime=a;a=-1E-6}else this._totalTime=this._time=this._rawPrevTime=a;if(this._time!==i||c){this._initted||(this._initted=!0);0===i&&this.vars.onStart&&0!==this._time&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||+d));if(this._time>i)for(c=this._first;c;){w=c._next;if(this._paused&&!j)break;else if(c._active||c._startTime<=this._time&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=w}else for(c=this._last;c;){w=c._prev;if(this._paused&&!j)break;else if(c._active||c._startTime<=i&&!c._paused&&!c._gc)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,+b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=w}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||d));if(r&&!this._gc&&(v===this._startTime||f!=this._timeScale))if(0===this._time||e>=this.totalDuration())h&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||d)}};b._hasPausedChild=function(){for(var a=this._first;a;){if(a._paused||a instanceof+j&&a._hasPausedChild())return!0;a=a._next}return!1};b.getChildren=function(a,b,c,e){for(var e=e||-9999999999,i=[],d=this._first,v=0;d;)d._startTime<e||(d instanceof f?!1!=b&&(i[v++]=d):(!1!=c&&(i[v++]=d),!1!=a&&(i=i.concat(d.getChildren(!0,b,c)),v=i.length))),d=d._next;return i};b.getTweensOf=function(a,b){for(var c=f.getTweensOf(a),e=c.length,i=[],d=0;-1<--e;)if(c[e].timeline===this||b&&this._contains(c[e]))i[d++]=c[e];return i};b._contains=function(a){for(a=a.timeline;a;){if(a===this)return!0;a=a.timeline}return!1};b.shiftChildren=function(a,b,c){for(var c=c||0,e=this._first;e;)e._startTime>=c&&(e._startTime+=a),e=e._next;if(b)for(var i in this._labels)this._labels[i]>=c&&(this._labels[i]+=a);return this._uncache(!0)};b._kill=function(a,b){if(null==a&&null==b)return this._enabled(!1,!1);for(var c=null==b?this.getChildren(!0,!0,!1):this.getTweensOf(b),e=c.length,i=!1;-1<--e;)c[e]._kill(a,b)&&(i=!0);return i};b.clear=function(a){var b=this.getChildren(!1,!0,!0),c=b.length;for(this._time=this._totalTime=0;-1<--c;)b[c]._enabled(!1,!1);!1!=a&&(this._labels={});return this._uncache(!0)};b.invalidate=function(){for(var a=this._first;a;)a.invalidate(),a=a._next;return this};b._enabled=function(a,b){if(a===this._gc)for(var c=this._first;c;)c._enabled(a,!0),c=c._next;return s.prototype._enabled.call(this,a,b)};b.progress=function(a){return!arguments.length?this._time/this.duration():this.totalTime(this.duration()*a,!1)};b.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};b.totalDuration=function(a){if(!arguments.length){if(this._dirty){for(var b=0,c=this._first,e=-999999999999,i;c;)i=c._next,c._startTime<e&&this._sortChildren?this.insert(c,c._startTime-c._delay):e=c._startTime,0>c._startTime&&(b-=c._startTime,this.shiftChildren(-c._startTime,!1,-9999999999)),c=c._startTime+(!c._dirty?c._totalDuration:c.totalDuration())/c._timeScale,c>b&&(b=c),c=i;this._duration=this._totalDuration=-b;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};b.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===n._rootFramesTimeline};b.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return l},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(n,-s,f){var l=function(d){n.call(this,d);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=[],d=new f(null,null,1,0),f=l.prototype=new n;f.constructor=l;f.kill()._gc=!1;l.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 n.prototype.invalidate.call(this)};f.addCallback=function(d,b,a,f){return this.insert(s.delayedCall(0,+b;this._dirty=!1}return this._totalDuration}0!==this.totalDuration()&&0!==a&&this.timeScale(this._totalDuration/a);return this};b.usesFrames=function(){for(var a=this._timeline;a._timeline;)a=a._timeline;return a===q._rootFramesTimeline};b.rawTime=function(){return this._paused||0!==this._totalTime&&this._totalTime!==this._totalDuration?this._totalTime:(this._timeline.rawTime()-this._startTime)*this._timeScale};return j},!0);_gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(q,+s,f){var j=function(d){q.call(this,d);this._repeat=this.vars.repeat||0;this._repeatDelay=this.vars.repeatDelay||0;this._cycle=0;this._yoyo=!0===this.vars.yoyo;this._dirty=!0},l=[],d=new f(null,null,1,0),f=j.prototype=new q;f.constructor=j;f.kill()._gc=!1;j.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 q.prototype.invalidate.call(this)};f.addCallback=function(d,b,a,f){return this.insert(s.delayedCall(0,d,a,f),b)};f.removeCallback=function(d,b){if(null==b)this._kill(null,d);else for(var a=this.getTweensOf(d,!1),f=a.length,c=this._parseTimeOrLabel(b);-1<--f;)a[f]._startTime===c&&a[f]._enabled(!1,!1);return this};f.tweenTo=function(v,b){var b=b||{},a={ease:d,overwrite:2,useFrames:this.usesFrames(),immediateRender:!1},f,c;for(f in b)a[f]=b[f];a.time=this._parseTimeOrLabel(v);c=new s(this,Math.abs(Number(a.time)-this._time)/this._timeScale||0.001,a);a.onStart=function(){c.target.paused(!0);c.vars.time!==-c.target.time()&&c.duration(Math.abs(c.vars.time-c.target.time())/c.target._timeScale);b.onStart&&b.onStart.apply(b.onStartScope||c,b.onStartParams||k)};return c};f.tweenFromTo=function(d,b,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(d)};d=this.tweenTo(b,a);return d.duration(Math.abs(d.vars.time-d.vars.startAt.time)/this._timeScale||0.001)};f.render=function(d,b,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var f=!this._dirty?this._totalDuration:this.totalDuration(),c=this._time,-e=this._totalTime,i=this._startTime,l=this._timeScale,s=this._rawPrevTime,G=this._paused,h=this._cycle,w,p;if(d>=f){this._locked||(this._totalTime=f,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(w=!0,p="onComplete",0===this._duration&&(0===d||0>this._rawPrevTime)))this._rawPrevTime!==d&&(a=!0);this._rawPrevTime=d;this._yoyo&&0!==(this._cycle&1)?(this._time=0,d=-1E-6):(this._time=this._duration,d=this._duration+1E-6)}else if(0>=d){this._locked||(this._totalTime=this._cycle=-0);this._time=0;if(0!==c||0===this._duration&&0<this._rawPrevTime&&!this._locked)p="onReverseComplete",w=this._reversed;0>d?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=d;d=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=d,!this._locked&&(this._totalTime=d,0!==this._repeat)){var C=this._duration+this._repeatDelay;this._cycle=this._totalTime/C>>0;0!==this._cycle&&this._cycle===this._totalTime/C&&this._cycle--;this._time=-this._totalTime-this._cycle*C;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,d=this._duration+1E-6):0>this._time?this._time=d=0:d=this._time}if(this._cycle!==h&&!this._locked){var C=this._yoyo&&0!==(h&1),r=C===(this._yoyo&&0!==(this._cycle&1)),P=this._totalTime,I=this._cycle,E=this._rawPrevTime,y=this._time;this._totalTime=h*this._duration;this._cycle<h?C=!C:this._totalTime+=this._duration;this._time=c;this._rawPrevTime=-0===this._duration?s-1E-5:s;this._cycle=h;this._locked=!0;c=C?0:this._duration;this.render(c,b,0===this._duration);b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||k);r&&(c=C?this._duration+1E-6:-1E-6,this.render(c,!0,!1));this._time=y;this._totalTime=P;this._cycle=I;this._rawPrevTime=E;this._locked=!1}if(this._time===c&&!a)e!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||-k));else{this._initted||(this._initted=!0);0===e&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||k));if(this._time>c)for(a=this._first;a;){e=a._next;if(this._paused&&!G)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}else for(a=this._last;a;){e=a._prev;-if(this._paused&&!G)break;else if(a._active||a._startTime<=c&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||k));if(p&&!this._locked&&!this._gc&&(i===this._startTime||l!==this._timeScale))if(0===this._time||f>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,-!1),this._active=!1),b||this.vars[p]&&this.vars[p].apply(this.vars[p+"Scope"]||this,this.vars[p+"Params"]||k)}};f.getActive=function(d,b,a){null==d&&(d=!0);null==b&&(b=!0);null==a&&(a=!1);var f=[],d=this.getChildren(d,b,a),b=0,a=d.length,c,e;for(c=0;c<a;c++)if(e=d[c],!e._paused&&e._timeline._time>=e._startTime&&e._timeline._time<e._startTime+e._totalDuration/e._timeScale){var i;a:{for(i=e._timeline;i;){if(i._paused){i=!0;break a}i=i._timeline}i=!1}i||(f[b++]=e)}return f};f.getLabelAfter=function(d){!d&&+c.target.time()&&c.duration(Math.abs(c.vars.time-c.target.time())/c.target._timeScale);b.onStart&&b.onStart.apply(b.onStartScope||c,b.onStartParams||l)};return c};f.tweenFromTo=function(d,b,a){a=a||{};a.startAt={time:this._parseTimeOrLabel(d)};d=this.tweenTo(b,a);return d.duration(Math.abs(d.vars.time-d.vars.startAt.time)/this._timeScale||0.001)};f.render=function(d,b,a){this._gc&&this._enabled(!0,!1);this._active=!this._paused;var f=!this._dirty?this._totalDuration:this.totalDuration(),c=this._time,+e=this._totalTime,i=this._startTime,j=this._timeScale,s=this._rawPrevTime,G=this._paused,h=this._cycle,w,r;if(d>=f){this._locked||(this._totalTime=f,this._cycle=this._repeat);if(!this._reversed&&!this._hasPausedChild()&&(w=!0,r="onComplete",0===this._duration&&(0===d||0>this._rawPrevTime)))this._rawPrevTime!==d&&(a=!0);this._rawPrevTime=d;this._yoyo&&0!==(this._cycle&1)?(this._time=0,d=-1E-6):(this._time=this._duration,d=this._duration+1E-6)}else if(0>=d){this._locked||(this._totalTime=this._cycle=+0);this._time=0;if(0!==c||0===this._duration&&0<this._rawPrevTime&&!this._locked)r="onReverseComplete",w=this._reversed;0>d?(this._active=!1,0===this._duration&&0<=this._rawPrevTime&&(a=!0)):this._initted||(a=!0);this._rawPrevTime=d;d=0===this._duration?0:-1E-6}else if(this._time=this._rawPrevTime=d,!this._locked&&(this._totalTime=d,0!==this._repeat)){var A=this._duration+this._repeatDelay;this._cycle=this._totalTime/A>>0;0!==this._cycle&&this._cycle===this._totalTime/A&&this._cycle--;this._time=+this._totalTime-this._cycle*A;this._yoyo&&0!==(this._cycle&1)&&(this._time=this._duration-this._time);this._time>this._duration?(this._time=this._duration,d=this._duration+1E-6):0>this._time?this._time=d=0:d=this._time}if(this._cycle!==h&&!this._locked){var A=this._yoyo&&0!==(h&1),k=A===(this._yoyo&&0!==(this._cycle&1)),U=this._totalTime,I=this._cycle,D=this._rawPrevTime,t=this._time;this._totalTime=h*this._duration;this._cycle<h?A=!A:this._totalTime+=this._duration;this._time=c;this._rawPrevTime=+0===this._duration?s-1E-5:s;this._cycle=h;this._locked=!0;c=A?0:this._duration;this.render(c,b,0===this._duration);b||this._gc||this.vars.onRepeat&&this.vars.onRepeat.apply(this.vars.onRepeatScope||this,this.vars.onRepeatParams||l);k&&(c=A?this._duration+1E-6:-1E-6,this.render(c,!0,!1));this._time=t;this._totalTime=U;this._cycle=I;this._rawPrevTime=D;this._locked=!1}if(this._time===c&&!a)e!==this._totalTime&&this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||+l));else{this._initted||(this._initted=!0);0===e&&this.vars.onStart&&0!==this._totalTime&&(b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||l));if(this._time>c)for(a=this._first;a;){e=a._next;if(this._paused&&!G)break;else if(a._active||a._startTime<=this._time&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}else for(a=this._last;a;){e=a._prev;+if(this._paused&&!G)break;else if(a._active||a._startTime<=c&&!a._paused&&!a._gc)a._reversed?a.render((!a._dirty?a._totalDuration:a.totalDuration())-(d-a._startTime)*a._timeScale,b,!1):a.render((d-a._startTime)*a._timeScale,b,!1);a=e}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||l));if(r&&!this._locked&&!this._gc&&(i===this._startTime||j!==this._timeScale))if(0===this._time||f>=this.totalDuration())w&&(this._timeline.autoRemoveChildren&&this._enabled(!1,+!1),this._active=!1),b||this.vars[r]&&this.vars[r].apply(this.vars[r+"Scope"]||this,this.vars[r+"Params"]||l)}};f.getActive=function(d,b,a){null==d&&(d=!0);null==b&&(b=!0);null==a&&(a=!1);var f=[],d=this.getChildren(d,b,a),b=0,a=d.length,c,e;for(c=0;c<a;c++)if(e=d[c],!e._paused&&e._timeline._time>=e._startTime&&e._timeline._time<e._startTime+e._totalDuration/e._timeScale){var i;a:{for(i=e._timeline;i;){if(i._paused){i=!0;break a}i=i._timeline}i=!1}i||(f[b++]=e)}return f};f.getLabelAfter=function(d){!d&&0!==d&&(d=this._time);var b=this.getLabelsArray(),a=b.length,f;for(f=0;f<a;f++)if(b[f].time>d)return b[f].name;return null};f.getLabelBefore=function(d){null==d&&(d=this._time);for(var b=this.getLabelsArray(),a=b.length;-1<--a;)if(b[a].time<d)return b[a].name;return null};f.getLabelsArray=function(){var d=[],b=0,a;for(a in this._labels)d[b++]={time:this._labels[a],name:a};d.sort(function(a,b){return a.time-b.time});return d};f.progress=function(d){return!arguments.length?this._time/this.duration():-this.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-d:d)+this._cycle*(this._duration+this._repeatDelay),!1)};f.totalProgress=function(d){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*d,!1)};f.totalDuration=function(d){return!arguments.length?(this._dirty&&(n.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.totalTime(this.duration()*(this._yoyo&&0!==(this._cycle&1)?1-d:d)+this._cycle*(this._duration+this._repeatDelay),!1)};f.totalProgress=function(d){return!arguments.length?this._totalTime/this.totalDuration():this.totalTime(this.totalDuration()*d,!1)};f.totalDuration=function(d){return!arguments.length?(this._dirty&&(q.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((d-this._repeat*this._repeatDelay)/(this._repeat+1))};f.time=function(d,b){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();d>this._duration&&(d=this._duration);this._yoyo&&0!==(this._cycle&1)?d=this._duration-d+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(d+=this._cycle*(this._duration+this._repeatDelay));return this.totalTime(d,b)};f.repeat=function(d){if(!arguments.length)return this._repeat;this._repeat=d;return this._uncache(!0)};-f.repeatDelay=function(d){if(!arguments.length)return this._repeatDelay;this._repeatDelay=d;return this._uncache(!0)};f.yoyo=function(d){if(!arguments.length)return this._yoyo;this._yoyo=d;return this};f.currentLabel=function(d){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(d,!0)};return l},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(n){var s=function(){n.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},f=s.prototype=-new n("bezier",1),l=180/Math.PI,k=[],d=[],v=[],b={},a=function(a,b,c,d){this.a=a;this.b=b;this.c=c;this.d=d;this.da=d-a;this.ca=c-a;this.ba=b-a},F=s.bezierThrough=function(e,i,f,l,G,h){var w={},p=[],C,r,s,G="string"===typeof G?","+G+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==i&&(i=1);for(r in e[0])p.push(r);k.length=d.length=v.length=0;for(C=p.length;-1<--C;){r=p[C];-b[r]=-1!==G.indexOf(","+r+",");s=w;var I=r,E;E=e;var y=r,j=b[r],x=h,t=[],D=void 0,A=void 0,n=void 0,F=void 0,g=void 0,D=void 0;if(x){E=[x].concat(E);for(A=E.length;-1<--A;)if("string"===typeof(D=E[A][y]))"="===D.charAt(1)&&(E[A][y]=x[y]+Number(D.charAt(0)+D.substr(2)))}D=E.length-2;if(0>D)t[0]=new a(E[0][y],0,0,E[-1>D?0:1][y]);else{for(A=0;A<D;A++)n=E[A][y],F=E[A+1][y],t[A]=new a(n,0,0,F),j&&(g=E[A+2][y],k[A]=(k[A]||0)+(F-n)*(F-n),d[A]=(d[A]||0)+(g-F)*(g-F));t[A]=new a(E[A][y],0,0,E[A+1][y])}E=t;-s[I]=E}for(C=k.length;-1<--C;)k[C]=Math.sqrt(k[C]),d[C]=Math.sqrt(d[C]);if(!l){for(C=p.length;-1<--C;)if(b[r]){e=w[p[C]];s=e.length-1;for(G=0;G<s;G++)h=e[G+1].da/d[G]+e[G].da/k[G],v[G]=(v[G]||0)+h*h}for(C=v.length;-1<--C;)v[C]=Math.sqrt(v[C])}for(C=p.length;-1<--C;){r=p[C];e=w[r];G=i;h=f;s=l;r=b[r];I=e.length-1;E=0;for(var y=e[0].a,m=g=F=x=D=F=n=D=A=n=t=x=j=void 0,j=0;j<I;j++)A=e[E],x=A.a,t=A.d,n=e[E+1].d,r?(F=k[j],g=d[j],m=0.25*(g+F)*G/(s?0.5:v[j]||0.5),D=t-(t-x)*(s?0.5*G:m/F),n=t+(n-t)*(s?0.5*G:-m/g),F=t-(D+(n-D)*(3*F/(F+g)+0.5)/4)):(D=t-0.5*(t-x)*G,n=t+0.5*(n-t)*G,F=t-(D+n)/2),D+=F,n+=F,A.c=D,A.b=0!==j?y:y=A.a+0.6*(A.c-A.a),A.da=t-x,A.ca=D-x,A.ba=y-x,h?(x=c(x,y,D,t),e.splice(E,1,x[0],x[1],x[2],x[3]),E+=4):E++,y=n;A=e[E];A.b=y;A.c=y+0.4*(A.d-y);A.da=A.d-A.a;A.ca=A.c-A.a;A.ba=y-A.a;h&&(x=c(A.a,y,A.c,A.d),e.splice(E,1,x[0],x[1],x[2],x[3]))}return w},c=s.cubicToQuadratic=function(a,b,c,d){var f={a:a},h={},w={},p={c:d},l=(a+b)/2,r=(b+c)/2,c=(c+d)/2,b=(l+r)/2,r=(r+c)/2,k=(r-b)/8;f.b=l+(a-l)/4;-h.b=b+k;f.c=h.a=(f.b+h.b)/2;h.c=w.a=(b+r)/2;w.b=r-k;p.b=c+(d-c)/4;w.c=p.a=(w.b+p.b)/2;return[f,h,w,p]};s.quadraticToCubic=function(b,c,d){return new a(b,(2*c+b)/3,(2*c+d)/3,d)};f.constructor=s;s.API=2;s._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,b=a._parseToProxy,c=a._setPluginRatio,d=a._specialProps,f=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,e,p,l,r,k){e instanceof Array&&(e={values:e});var k=new s,p=e.values,n=p.length--1,v=[],y={},j,x,t;if(0>n)return r;for(j=0;j<=n;j++)t=b(a,p[j],l,r,k,n!==j),v[j]=t.end;for(x in e)y[x]=e[x];y.values=v;r=new f(a,"bezier",0,0,t.pt,2);r.data=t;r.plugin=k;r.setRatio=c;0===y.autoRotate&&(y.autoRotate=!0);y.autoRotate&&!(y.autoRotate instanceof Array)&&(j=!0===y.autoRotate?0:Number(y.autoRotate)*_DEG2RAD,y.autoRotate=null!=t.end.left?[["left","top","rotation",j,!0]]:null!=t.end.x?[["x","y","rotation",j,!0]]:!1);y.autoRotate&&(l._transform||(r=d.rotation.parse(a,0,x,l,r,k,{})),t.autoRotate=-l._transform);k._onInitTween(t.proxy,y,l._tween);return r})}};f._onInitTween=function(b,c,d){this._target=b;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var f=c.values||[],l={},h=f[0],d=c.autoRotate||d.vars.orientToBezier,w,p,k;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null;for(w in h)this._props.push(w);for(h=this._props.length;-1<--h;)w=this._props[h],this._overwriteProps.push(w),d=-this._func[w]="function"===typeof b[w],l[w]=!d?parseFloat(b[w]):b[w.indexOf("set")||"function"!==typeof b["get"+w.substr(3)]?w:"get"+w.substr(3)](),k||l[w]!==f[0][w]&&(k=l);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)l=F(f,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,k);else{d=(d=c.type)||"soft";c={};k="cubic"===d?3:2;var d="soft"===d,h=[],r,s,n,v,y,j,x,t,D;d&&l&&(f=[l].concat(f));if(null==f||f.length<k+1)throw"invalid Bezier data";for(s in f[0])h.push(s);for(j=-h.length;-1<--j;){s=h[j];c[s]=y=[];D=0;t=f.length;for(x=0;x<t;x++)r=null==l?f[x][s]:"string"===typeof(n=f[x][s])&&"="===n.charAt(1)?l[s]+Number(n.charAt(0)+n.substr(2)):Number(n),d&&1<x&&x<t-1&&(y[D++]=(r+y[D-2])/2),y[D++]=r;t=D-k+1;for(x=D=0;x<t;x+=k)r=y[x],s=y[x+1],n=y[x+2],v=2===k?0:y[x+3],y[D++]=n=3===k?new a(r,s,n,v):new a(r,(2*s+r)/3,(2*s+n)/3,n);y.length=D}l=c}this._beziers=l;this._segCount=this._beziers[w].length;if(this._timeRes){h=this._beziers;w=this._timeRes;w=w>>0||6;l=[];s=[];f=n=0;-c=w-1;k=[];d=[];for(p in h){r=h[p];y=l;j=w;x=1/j;t=r.length;for(var A=void 0,Q=void 0,M=v=D=Q=void 0,g=A=void 0,m=void 0,m=M=void 0;-1<--t;){M=r[t];Q=M.a;D=M.d-Q;v=M.c-Q;M=M.b-Q;Q=0;for(g=1;g<=j;g++)A=x*g,m=1-A,A=Q-(Q=(A*A*D+3*m*(A*v+m*M))*A),m=t*j+g-1,y[m]=(y[m]||0)+A*A}}h=l.length;for(p=0;p<h;p++)n+=Math.sqrt(l[p]),r=p%w,d[r]=n,r===c&&(f+=n,r=p/w>>0,k[r]=d,s[r]=f,n=0,d=[]);this._length=f;this._lengths=s;this._segments=k;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(d=this._autoRotate){d[0]instanceof Array||(this._autoRotate=d=[d]);for(h=d.length;-1<--h;)for(p=0;3>p;p++)w=d[h][p],this._func[w]="function"===typeof b[w]?b[w.indexOf("set")||"function"!==typeof b["get"+w.substr(3)]?w:"get"+w.substr(3)]:!1}return!0};f.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,f,h,k,p,n;if(this._timeRes){f=this._lengths;p=this._curSeg;a*=this._length;h=this._li;if(a>this._l2&&-h<c-1){for(c-=1;h<c&&(this._l2=f[++h])<=a;);this._l1=f[h-1];this._li=h;this._curSeg=p=this._segments[h];this._s2=p[this._s1=this._si=0]}else if(a<this._l1&&0<h){for(;0<h&&(this._l1=f[--h])>=a;);0===h&&a<this._l1?this._l1=0:h++;this._l2=f[h];this._li=h;this._curSeg=p=this._segments[h];this._s1=p[(this._si=p.length-1)-1]||0;this._s2=p[this._si]}f=h;a-=this._l1;h=this._si;if(a>this._s2&&h<p.length-1){for(c=p.length-1;h<c&&(this._s2=p[++h])<=a;);this._s1=p[h-1];this._si=h}else if(a<this._s1&&0<h){for(;0<-h&&(this._s1=p[--h])>=a;);0===h&&a<this._s1?this._s1=0:h++;this._s2=p[h];this._si=h}p=(h+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,p=(a-f*(1/c))*c;c=1-p;for(h=this._props.length;-1<--h;)if(a=this._props[h],k=this._beziers[a][f],n=(p*p*k.da+3*c*(p*k.ca+c*k.ba))*p+k.a,this._round[a]&&(n=n+(0<n?0.5:-0.5)>>0),b[a])d[a](n);else d[a]=n;if(this._autoRotate){var c=this._autoRotate,r,s,v,F,y;for(h=c.length;-1<--h;)a=c[h][2],F=c[h][3]||0,y=!0===c[h][4]?1:l,k=this._beziers[c[h][0]][f],-n=this._beziers[c[h][1]][f],r=k.a+(k.b-k.a)*p,s=k.b+(k.c-k.b)*p,r+=(s-r)*p,s+=(k.c+(k.d-k.c)*p-s)*p,k=n.a+(n.b-n.a)*p,v=n.b+(n.c-n.b)*p,k+=(v-k)*p,v+=(n.c+(n.d-n.c)*p-v)*p,n=Math.atan2(v-k,s-r)*y+F,b[a]?b[a].call(d,n):d[a]=n}};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 n.prototype._kill.call(this,a)};n.activate([s]);return s},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(n){var s=function(){n.call(this,"css");this._overwriteProps.length=0},f,l,k,d,v={},b=s.prototype=new n("css");b.constructor=s;s.version=1.652;s.API=2;s.defaultTransformPerspective=0;b="px";s.suffixMap={top:b,right:b,bottom:b,left:b,width:b,height:b,fontSize:b,padding:b,margin:b,perspective:b};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,-F=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,c=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,e=/[^\d\-\.]/g,i=/(?:\d|\-|\+|=|#|\.)*/g,J=/opacity *= *([^)]*)/,X=/opacity:([^;]*)/,G=/([A-Z])/g,h=/-([a-z])/gi,w=function(a,$){return $.toUpperCase()},p=/(?:Left|Right|Width)/i,C=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,r=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,P=Math.PI/180,I=180/Math.PI,E={},y=document,j=y.createElement("div"),x=s._internals={_specialProps:v},t=navigator.userAgent,-D,A,Q,M,g,m,q,H=t.indexOf("Android"),u=y.createElement("div");g=(Q=-1!==t.indexOf("Safari")&&-1===t.indexOf("Chrome")&&(-1===H||3<Number(t.substr(H+8,1))))&&6>Number(t.substr(t.indexOf("Version/")+8,1));M=-1!==t.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(t);m=parseFloat(RegExp.$1);u.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";q=(t=u.getElementsByTagName("a")[0])?/^0.55/.test(t.style.opacity):!1;var K=function(a){return J.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:-a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ka="",B="",aa=function(a,$){var $=$||j,g=$.style,c,b;if(void 0!==g[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(b=5;-1<--b&&void 0===g[c[b]+a];);return 0<=b?(B=3===b?"ms":c[b],ka="-"+B.toLowerCase()+"-",B+a):null},ca=y.defaultView?y.defaultView.getComputedStyle:function(){},N=s.getStyle=function(a,g,c,b,d){var m;if(!q&&"opacity"===g)return K(a);!b&&a.style[g]?m=a.style[g]:(c=c||ca(a,null))?m=(a=c.getPropertyValue(g.replace(G,-"-$1").toLowerCase()))||c.length?a:c[g]:a.currentStyle&&(c=a.currentStyle,m=c[g],!m&&"backgroundPosition"===g&&(m=c[g+"X"]+" "+c[g+"Y"]));return null!=d&&(!m||"none"===m||"auto"===m||"auto auto"===m)?d:m},da=function(a,g,c){var b={},d=a._gsOverwrittenClassNamePT,m;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(g=g||ca(a,null))if(m=g.length)for(;-1<--m;)b[g[m].replace(h,w)]=g.getPropertyValue(g[m]);else for(m in g)b[m]=g[m];else if(g=a.currentStyle||a.style)for(m in g)b[m.replace(h,-w)]=g[m];q||(b.opacity=K(a));a=fa(a,g,!1);b.rotation=a.rotation*I;b.rotationX=a.rotationX*I;b.rotationY=a.rotationY*I;b.skewX=a.skewX*I;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},la=function(a,g,c,b){var d={},a=a.style,m,z,q;for(z in c)if("cssText"!==z&&"length"!==z&&isNaN(z)&&g[z]!==(m=c[z]))if(-1===z.indexOf("Origin")&&("number"===typeof m||"string"===typeof m))d[z]=(""===m||"auto"===m||"none"===m)&&"string"===typeof g[z]&&-""!==g[z].replace(e,"")?0:m,void 0!==a[z]&&(q=new ga(a,z,a[z],q));if(b)for(z in b)"className"!==z&&(d[z]=b[z]);return{difs:d,firstMPT:q}},ra={width:["Left","Right"],height:["Top","Bottom"]},sa=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,g,c,b,d){if("px"===b||!b)return c;if("auto"===b||!c)return 0;var m=p.test(g),z=a,q=j.style,e=0>c;e&&(c=-c);"%"===b&&-1!==g.indexOf("border")?m=c/100*(m?a.clientWidth:a.clientHeight):(q.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",-"%"===b||"em"===b||!z.appendChild?(z=a.parentNode||y.body,q[m?"width":"height"]=c+b):q[m?"borderLeftWidth":"borderTopWidth"]=c+b,z.appendChild(j),m=parseFloat(j[m?"offsetWidth":"offsetHeight"]),z.removeChild(j),0===m&&!d&&(m=T(a,g,c,b,!0)));return e?-m:m},ha=function(a,g){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%";g&&(g.oxp=-1!==b.indexOf("%"),g.oyp=-1!==d.indexOf("%"),g.oxr="="===b.charAt(1),g.oyr="="===d.charAt(1),g.ox=parseFloat(b.replace(e,"")),g.oy=parseFloat(d.replace(e,"")));return b+" "+d+(2<c.length?" "+c[2]:"")},ma=function(a,g){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(g)},U=function(a,g){return null==a?g:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+-"1")*Number(a.substr(2))+g:Number(a)},Y=function(a,g){if(null==a)return g;var c=-1===a.indexOf("rad")?P:1,b="="===a.charAt(1),a=Number(a.replace(e,""))*c;return b?a+g:a},ia=function(a,g){var c=(("number"===typeof a?a*P:Y(a,g))-g)%(2*Math.PI);c!==c%Math.PI&&(c+=Math.PI*(0>c?2:-2));return g+c},Z={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]},ja=function(g){if(!g||""===g)return Z.black;if(Z[g])return Z[g];if("number"===typeof g)return[g>>16,g>>8&255,g&255];if("#"===g.charAt(0)){if(4===g.length)var c=g.charAt(1),b=g.charAt(2),g=g.charAt(3),g="#"+c+c+b+b+g+g;g=parseInt(g.substr(1),16);return[g>>16,g>>8&255,g&255]}g=g.match(a)||Z.transparent;g[0]=Number(g[0]);g[1]=Number(g[1]);g[2]=Number(g[2]);-3<g.length&&(g[3]=Number(g[3]));return g},V="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(b in Z)V+="|"+b+"\\b";var V=RegExp(V+")","gi"),na=function(g,b,d){if(null==g)return function(a){return a};var m=b?(g.match(V)||[""])[0]:"",q=g.split(m).join("").match(c)||[],j=g.substr(0,g.indexOf(q[0])),z=")"===g.charAt(g.length-1)?")":"",e=-1!==g.indexOf(" ")?" ":",",f=q.length,ba=0<f?q[0].replace(a,""):"";return b?function(a){"number"===typeof a&&(a+=ba);var g=(a.match(V)||[m])[0],a=a.split(g).join("").match(c)||-[],b=a.length;if(f>b--)for(;++b<f;)a[b]=d?a[(b-1)/2>>0]:q[b];return j+a.join(e)+e+g+z}:function(a){"number"===typeof a&&(a+=ba);var a=a.match(c)||[],g=a.length;if(f>g--)for(;++g<f;)a[g]=d?a[(g-1)/2>>0]:q[g];return j+a.join(e)+z}},t=function(a){a=a.split(",");return function(g,b,c,d,m,q,j){b=(b+"").split(" ");j={};for(c=0;4>c;c++)j[a[c]]=b[c]=b[c]||b[(c-1)/2>>0];return d.parse(g,j,m,q)}};x._setPluginRatio=function(a){this.plugin.setRatio(a);for(var g=this.data,c=g.proxy,b=g.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;g.autoRotate&&(g.autoRotate.rotation=c.rotation);if(1===a)for(b=g.firstMPT;b;){a=b.t;if(a.type){if(1===a.type){c=a.xs0+a.s+a.xs1;for(g=1;g<a.l;g++)c+=a["xn"+g]+a["xs"+(g+1)];a.e=c}}else a.e=a.s+a.xs0;b=b._next}};var ga=function(a,g,b,c,d){this.t=a;this.p=g;this.v=b;this.r=d;c&&(c._prev=this,this._next=c)};x._parseToProxy=function(a,g,b,c,d,m){var q=c,j={},e={},f=b._transform,i=E,k;b._transform=null;E=g;c=a=b.parse(a,g,c,d);E=-i;m&&(b._transform=f,q&&(q._prev=null,q._prev&&(q._prev._next=null)));for(;c&&c!==q;){if(1>=c.type&&(f=c.p,e[f]=c.s+c.c,j[f]=c.s,m||(k=new ga(c,"s",f,k,c.r),c.c=0),1===c.type))for(b=c.l;0<--b;)i="xn"+b,f=c.p+"_"+i,e[f]=c.data[i],j[f]=c[i],m||(k=new ga(c,i,f,k,c.rxp[i]));c=c._next}return{proxy:j,end:e,firstMPT:k,pt:a}};var O=x.CSSPropTween=function(a,g,c,b,m,q,j,e,i,ba,k){this.t=a;this.p=g;this.s=c;this.c=b;this.n=j||"css_"+g;a instanceof O||d.push(this.n);this.r=e;this.type=q||0;i&&(this.pr=i,f=!0);-this.b=void 0===ba?c:ba;this.e=void 0===k?c+b:k;m&&(this._next=m,m._prev=this)},ea=s.parseComplex=function(g,c,b,d,m,j,z,e,f,i){var z=new O(g,c,0,0,z,i?2:1,null,!1,e,b,d),g=b.split(", ").join(",").split(" "),c=(d+"").split(", ").join(",").split(" "),b=g.length,e=!1!==D,k,h,l,H,n;b!==c.length&&(g=(j||"").split(" "),b=g.length);z.plugin=f;z.setRatio=i;for(j=0;j<b;j++)if(f=g[j],k=c[j],(i=parseFloat(f))||0===i)z.appendXtra("",i,ma(k,i),k.replace(F,""),e&&-1!==k.indexOf("px"),!0);else if(m&&("#"===f.charAt(0)||-0===f.indexOf("rgb")||Z[f]))f=ja(f),k=ja(k),(i=6<f.length+k.length)&&!q&&0===k[3]?(z["xs"+z.l]+=z.l?" transparent":"transparent",z.e=z.e.split(c[j]).join("transparent")):(z.appendXtra(i?"rgba(":"rgb(",f[0],k[0]-f[0],",",!0,!0).appendXtra("",f[1],k[1]-f[1],",",!0).appendXtra("",f[2],k[2]-f[2],i?",":")",!0),i&&(f=4>f.length?1:f[3],z.appendXtra("",f,(4>k.length?1:k[3])-f,")",!1)));else if(i=f.match(a)){l=k.match(F);if(!l||l.length!==i.length)return z;for(k=h=0;k<i.length;k++)n=i[k],H=f.indexOf(n,h),-z.appendXtra(f.substr(h,H-h),Number(n),ma(l[k],n),"",e&&"px"===f.substr(H+n.length,2),0===k),h=H+n.length;z["xs"+z.l]+=f.substr(h)}else z["xs"+z.l]+=z.l?" "+f:f;if(-1!==d.indexOf("=")&&z.data){d=z.xs0+z.data.s;for(j=1;j<z.l;j++)d+=z["xs"+j]+z.data["xn"+j];z.e=d+z["xs"+j]}z.l||(z.type=-1,z.xs0=z.e);return z.xfirst||z},R=9,b=O.prototype;for(b.l=b.pr=0;0<--R;)b["xn"+R]=0,b["xs"+R]="";b.xs0="";b._next=b._prev=b.xfirst=b.data=b.plugin=b.setRatio=b.rxp=null;b.appendXtra=function(a,g,c,b,d,m){var q=this.l;-this["xs"+q]+=m&&q?" "+a:a||"";if(!c&&0!==q&&!this.plugin)return this["xs"+q]+=g+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<q)return this.data["xn"+q]=g+c,this.rxp["xn"+q]=d,this["xn"+q]=g,this.plugin||(this.xfirst=new O(this,"xn"+q,g,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:g+c};this.rxp={};this.s=g;this.c=c;this.r=d;return this};var oa=function(a,g,c,b,d,m,q){this.p=b?aa(a)||a:a;v[a]=v[this.p]=this;this.format=m||na(g,d);c&&-(this.parse=c);this.clrs=d;this.dflt=g;this.pr=q||0},L=x._registerComplexSpecialProp=function(a,g,c,b,d,m,q){for(var a=a.split(","),g=g instanceof Array?g:[g],j=a.length;-1<--j;)new oa(a[j],g[j],c,b&&0===j,d,m,q)},x=function(a){if(!v[a]){var g=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";L(a,null,function(a,c,b,d,m,q,j){var e=window.com.greensock.plugins[g];if(!e)return window.console&&console.log("Error: "+g+" js file not loaded."),m;e._cssRegister();return v[b].parse(a,c,b,d,m,q,j)})}},b=oa.prototype;-b.parseComplex=function(a,g,c,b,d,m){return ea(a,this.p,g,c,this.clrs,this.dflt,b,this.pr,d,m)};b.parse=function(a,g,c,b,d,m){return this.parseComplex(a.style,this.format(N(a,c,k,!1,this.dflt)),this.format(g),d,m)};s.registerSpecialProp=function(a,g,c){L(a,null,function(a,b,d,m,q,j){q=new O(a,d,0,0,q,2,d,!1,c);q.plugin=j;q.setRatio=g(a,b,m._tween,d);return q},!1,!1,null,c)};var pa="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),S=aa("transform"),ta=ka+"transform",-qa=aa("transformOrigin"),W=null!==aa("perspective"),fa=function(a,g,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=W?parseFloat(N(a,qa,g,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,q,j,e,f,i,k,h,l;S?q=N(a,ta,g,!0):a.currentStyle&&(q=(q=a.currentStyle.filter.match(C))&&4===q.length?q[0].substr(4)+","+Number(q[2].substr(4))+","+Number(q[1].substr(4))+","+q[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);j=(q||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(g=j.length;-1<--g;)j[g]=Number(j[g]);-if(16===j.length){if(d=j[8],q=j[9],e=j[10],f=j[12],i=j[13],k=j[14],b.zOrigin&&(k=-b.zOrigin,f=d*k-j[12],i=q*k-j[13],k=e*k+b.zOrigin-j[14]),!c||f!==b.x||i!==b.y||k!==b.z){h=j[0];l=j[1];var H=j[2],n=j[3],p=j[4],r=j[5],u=j[6],x=j[7];j=j[11];var K=b.rotationX=Math.atan2(u,e),v,w,t,B;K&&(t=Math.cos(-K),B=Math.sin(-K),K=p*t+d*B,v=r*t+q*B,w=u*t+e*B,d=p*-B+d*t,q=r*-B+q*t,e=u*-B+e*t,j=x*-B+j*t,p=K,r=v,u=w);if(K=b.rotationY=Math.atan2(d,h))t=Math.cos(-K),B=Math.sin(-K),v=l*t-q*B,w=H*t-e*B,q=l*B+q*t,e=H*B+e*-t,j=n*B+j*t,h=h*t-d*B,l=v,H=w;if(K=b.rotation=Math.atan2(l,r))t=Math.cos(-K),B=Math.sin(-K),h=h*t+p*B,v=l*t+r*B,r=l*-B+r*t,u=H*-B+u*t,l=v;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(h*h+l*l);b.scaleY=Math.sqrt(r*r+q*q);b.scaleZ=Math.sqrt(u*u+e*e);b.skewX=0;b.perspective=j?1/j:0;b.x=f;b.y=i;b.z=k}}else if(!W||0===j.length||b.x!==j[4]||b.y!==j[5]||!b.rotationX&&!b.rotationY){f=(q=6<=j.length)?j[0]:1;k=j[1]||0;i=j[2]||0;h=q?-j[3]:1;b.x=j[4]||0;b.y=j[5]||0;q=Math.sqrt(f*f+k*k);e=Math.sqrt(h*h+i*i);f=f||k?Math.atan2(k,f):b.rotation||0;i=i||h?Math.atan2(i,h)+f:b.skewX||0;k=q-Math.abs(b.scaleX||0);h=e-Math.abs(b.scaleY||0);Math.abs(i)>Math.PI/2&&Math.abs(i)<1.5*Math.PI&&(d?(q*=-1,i+=0>=f?Math.PI:-Math.PI,f+=0>=f?Math.PI:-Math.PI):(e*=-1,i+=0>=i?Math.PI:-Math.PI));d=(f-b.rotation)%Math.PI;l=(i-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<k||-1E-6>k||1E-6<h||-1E-6>h||1E-6<d||-1E-6>d||1E-6<l||-1E-6>l)b.scaleX=q,b.scaleY=e,b.rotation=-f,b.skewX=i;W&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(s.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(g in b)1E-6>b[g]&&-1E-6<b[g]&&(b[g]=0);c&&(a._gsTransform=b);return b},ua=function(a){var g=this.data,b=-g.rotation,c=b+g.skewX,d=Math.cos(b)*g.scaleX,b=Math.sin(b)*g.scaleX,q=Math.sin(c)*-g.scaleY,c=Math.cos(c)*g.scaleY,j=1E-6,e=this.t.style,f=this.t.currentStyle,k;if(f){d<j&&d>-j&&(d=0);b<j&&b>-j&&(b=0);q<j&&q>-j&&(q=0);c<j&&c>-j&&(c=0);j=b;b=-q;q=-j;j=f.filter;e.filter=-"";var h=this.t.offsetWidth;k=this.t.offsetHeight;var l="absolute"!==f.position,H="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+q+", M22="+c,n=g.x,p=g.y,u,t;null!=g.ox&&(u=(g.oxp?0.01*h*g.ox:g.ox)-h/2,t=(g.oyp?0.01*k*g.oy:g.oy)-k/2,n+=u-(u*d+t*b),p+=t-(u*q+t*c));if(l)u=h/2,t=k/2,H+=", Dx="+(u-(u*d+t*b)+n)+", Dy="+(t-(u*q+t*c)+p)+")";else{var B=8>m?1:-1;u=g.ieOffsetX||0;t=g.ieOffsetY||0;g.ieOffsetX=Math.round((h-((0>d?-d:d)*h+(0>b?-b:b)*k))/2+n);g.ieOffsetY=Math.round((k-((0>-c?-c:c)*k+(0>q?-q:q)*h))/2+p);for(R=0;4>R;R++)h=sa[R],k=f[h],k=-1!==k.indexOf("px")?parseFloat(k):T(this.t,h,parseFloat(k),k.replace(i,""))||0,n=k!==g[h]?2>R?-g.ieOffsetX:-g.ieOffsetY:2>R?u-g.ieOffsetX:t-g.ieOffsetY,e[h]=(g[h]=Math.round(k-n*(0===R||2===R?1:B)))+"px";H+=", sizingMethod='auto expand')"}e.filter=-1!==j.indexOf("DXImageTransform.Microsoft.Matrix(")?j.replace(r,H):H+" "+j;if(0===a||1===a)if(1===d&&0===b&&0===q&&1===c&&(!l||-1!==H.indexOf("Dx=0, Dy=0")))(!J.test(j)||100===parseFloat(RegExp.$1))&&--1===j.indexOf("gradient(")&&e.removeAttribute("filter")}},va=function(){var a=this.data,g=a.perspective,b=a.scaleX,c=0,d=0,q=0,j=0,m=a.scaleY,e=0,f=0,k=0,i=0,h=a.scaleZ,l=0,H=0,n=0,p=g?-1/g:0,u=a.rotation,r=a.zOrigin,t=this.t.style,B,s,K,v,x;u&&(B=Math.cos(u),u=Math.sin(u),K=m*u,c=b*-u,m*=B,b*=B,j=K);if(u=a.rotationY)B=Math.cos(u),u=Math.sin(u),v=h*-u,x=p*-u,d=b*u,e=j*u,h*=B,p*=B,b*=B,j*=B,k=v,H=x;if(u=a.rotationX)B=Math.cos(u),u=Math.sin(u),s=c*B+d*u,K=m*B+e*u,v=i*B+h*u,x=n*B+p*u,d=c*-u+d*B,e=m*--u+e*B,h=i*-u+h*B,p=n*-u+p*B,c=s,m=K,i=v,n=x;r&&(l-=r,q=d*l,f=e*l,l=h*l+r);q+=a.x;f+=a.y;l+=a.z;1E-6>l&&-1E-6<l&&(l=0);t[S]="matrix3d("+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>k&&-1E-6<k?0:k)+","+(1E-6>H&&-1E-6<H?0:H)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>h&&-1E-6<h?0:h)+","+(1E-6>p&&-1E-6<p?0:p)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>f&&-1E-6<f?0:f)+","+l+-","+(g?1+-l/g:1)+")";if(M)return s=t.display,t.display="none",K=this.t.offsetWidth,t.display=s,K},wa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[S]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var g=a.rotation,b=g-a.skewX,c=Math.cos(g)*a.scaleX,g=Math.sin(g)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[S]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>g&&-1E-6<g?0:g)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0: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,b,c,q,j,m,e){if(q._transform)return j;var b=q._transform=fa(a,k,!0),f=a.style,i=pa.length,h,l,u,H;if("string"===typeof e.transform&&S)l=f[S],f[S]=e.transform,h=fa(a,null,!1),f[S]=l;else if("object"===typeof e){l=null!=e.rotation?e.rotation:null!=e.rotationZ?e.rotationZ:b.rotation*I;h={scaleX:U(null!=e.scaleX?e.scaleX:e.scale,b.scaleX),scaleY:U(null!=e.scaleY?e.scaleY:e.scale,b.scaleY),scaleZ:U(null!=e.scaleZ?e.scaleZ:e.scale,b.scaleZ),x:U(e.x,b.x),y:U(e.y,b.y),z:U(e.z,b.z),perspective:U(e.transformPerspective,-b.perspective)};h.rotation=null!=e.shortRotation||null!=e.shortRotationZ?ia(e.shortRotation||e.shortRotationZ||0,b.rotation):"number"===typeof l?l*P:Y(l,b.rotation);W&&(h.rotationX=null!=e.shortRotationX?ia(e.shortRotationX,b.rotationX):"number"===typeof e.rotationX?e.rotationX*P:Y(e.rotationX,b.rotationX),h.rotationY=null!=e.shortRotationY?ia(e.shortRotationY,b.rotationY):"number"===typeof e.rotationY?e.rotationY*P:Y(e.rotationY,b.rotationY),1E-6>h.rotationX&&-1E-6<h.rotationX&&(h.rotationX=0),1E-6>-h.rotationY&&-1E-6<h.rotationY&&(h.rotationY=0));h.skewX=null==e.skewX?b.skewX:"number"===typeof e.skewX?e.skewX*P:Y(e.skewX,b.skewX);h.skewY=null==e.skewY?b.skewY:"number"===typeof e.skewY?e.skewY*P:Y(e.skewY,b.skewY);if(l=h.skewY-b.skewY)h.skewX+=l,h.rotation+=l;1E-6>h.skewY&&-1E-6<h.skewY&&(h.skewY=0);1E-6>h.skewX&&-1E-6<h.skewX&&(h.skewX=0);1E-6>h.rotation&&-1E-6<h.rotation&&(h.rotation=0)}H=b.z||b.rotationX||b.rotationY||h.z||h.rotationX||h.rotationY||h.perspective;!H&&null!=h.scale&&(h.scaleZ=-1);if(S){if(Q){A=!0;if(""===f.zIndex&&(l=N(a,"zIndex",k),"auto"===l||""===l))f.zIndex=0;g&&(f.WebkitBackfaceVisibility=e.WebkitBackfaceVisibility||(H?"visible":"hidden"))}}else f.zoom=1;j=new O(a,"transform",0,0,j,2);j.setRatio=H&&W?va:S?wa:ua;j.plugin=m;j.data=b;for(d.pop();-1<--i;)if(c=pa[i],u=h[c]-b[c],1E-6<u||-1E-6>u||null!=E[c])j=new O(b,c,b[c],u,j),j.xs0=0,j.plugin=m,q._overwriteProps.push(j.n);if((u=e.transformOrigin)||W&&H&&b.zOrigin)S?(u=(u||N(a,c,k,!1,"50% 50%"))+"",c=qa,j=new O(f,c,0,0,-j,-1,"css_transformOrigin"),j.b=f[c],j.plugin=m,W?(l=b.zOrigin,u=u.split(" "),b.zOrigin=(2<u.length?parseFloat(u[2]):l)||0,j.xs0=j.e=f[c]=u[0]+" "+(u[1]||"50%")+" 0px",j=new O(b,"zOrigin",0,0,j,-1,j.n),j.b=l,j.xs0=j.e=b.zOrigin):j.xs0=j.e=f[c]=u):ha(u+"",b);return j.t===a?(j._next&&(j._next._prev=null),j._next):j},!0);L("boxShadow","0px 0px 0px 0px #999",null,!0,!0);L("borderRadius","0px",function(a,g,b,c,d){var g=this.format(g),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",-"borderBottomLeftRadius"],j=a.style,q,m,e,f,h,i,u,H,n,p,B,r;H=parseFloat(a.offsetWidth);n=parseFloat(a.offsetHeight);g=g.split(" ");for(q=0;q<c.length;q++)this.p.indexOf("border")&&(c[q]=aa(c[q])),f=e=N(a,c[q],k,!1,"0px"),-1!==f.indexOf(" ")&&(e=f.split(" "),f=e[0],e=e[1]),h=m=g[q],i=parseFloat(f),B=f.substr((i+"").length),(r="="===h.charAt(1))?(u=parseInt(h.charAt(0)+"1"),h=h.substr(2),u*=parseFloat(h),p=h.substr((u+"").length-(0>u?1:0))||""):(u=parseFloat(h),p=h.substr((u+"").length)),""===p&&(p=-l[b]||B),p!==B&&(f=T(a,"borderLeft",i,B),i=T(a,"borderTop",i,B),"%"===p?(f=100*(f/H)+"%",e=100*(i/n)+"%"):"em"===p?(B=T(a,"borderLeft",1,"em"),f=f/B+"em",e=i/B+"em"):(f+="px",e=i+"px"),r&&(h=parseFloat(f)+u+p,m=parseFloat(e)+u+p)),d=ea(j,c[q],f+" "+e,h+" "+m,!1,"0px",d);return d},!0,!1,na("0px 0px 0px 0px",!1,!0));L("backgroundPosition","0 0",null,!1,!1,ha);L("backgroundSize","0 0",null,!1,!1,ha);L("perspective","0px",null,!0);L("perspectiveOrigin","50% 50%",null,!0);L("transformStyle","preserve-3d",-null,!0);L("margin",null,t("marginTop,marginRight,marginBottom,marginLeft"));L("padding",null,t("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,g,b,c,d){return d});L("border","0px solid #000",function(a,g,b,c,d,j){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(g),-d,j)},!1,!0,function(a){var g=a.split(" ");return g[0]+" "+(g[1]||"solid")+" "+(a.match(V)||["#000"])[0]});var xa=function(a){var g=this.t,a=this.s+this.c*a,b;100===a&&(g.removeAttribute("filter"),b=!N(this.data,"filter"));b||(this.xn1&&(g.filter=g.filter||"alpha(opacity=100)"),g.filter=-1===g.filter.indexOf("opacity")?g.filter+(" alpha(opacity="+(a>>0)+")"):g.filter.replace(J,"opacity="+(a>>0)))};L("opacity,alpha,autoAlpha","1",function(a,g,b,c,d,j){var e=parseFloat(N(a,"opacity",k,!1,"1")),g=parseFloat(g),-m=a.style,f;"autoAlpha"===b&&(f=N(a,"visibility",k),1===e&&"hidden"===f&&(e=0),d=new O(m,"visibility",0,0,d,-1,null,!1,0,0!==e?"visible":"hidden",0===g?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));q?d=new O(m,"opacity",e,g-e,d):(d=new O(m,"opacity",100*e,100*(g-e),d),d.xn1="autoAlpha"===b?1:0,m.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="+(d.s+d.c)+")",d.data=a,d.plugin=j,d.setRatio=xa);return d});var ya=function(a){if(1===a||0===a){this.t.className=1===a?-this.e:this.b;for(var a=this.data,g=this.t.style,b=g.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)g[a.p]=a.v;else g[b](a.p.replace(G,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};L("className",null,function(a,g,b,c,d,j,q){var e=a.className,m=a.style.cssText,d=c._classNamePT=new O(a,b,0,0,d,2);d.setRatio=ya;d.b=e;d.e="="!==g.charAt(1)?g:"+"===g.charAt(0)?e+" "+g.substr(2):e.split(g.substr(2)).join("");c._tween._duration&&(g=da(a,k,!0),a.className=-d.e,q=la(a,g,da(a),q),a.className=e,d.data=q.firstMPT,a.style.cssText=m,d=d.xfirst=c.parse(a,q.difs,d,j));return d});b=["bezier","throwProps","physicsProps","physics2D"];for(R=b.length;R--;)x(b[R]);b=s.prototype;b._firstPT=null;b._onInitTween=function(a,g,b){if(!a.nodeType)return!1;this._target=a;this._tween=b;D=g.autoRound;f=!1;l=g.suffixMap||s.suffixMap;k=ca(a,"");d=this._overwriteProps;var b=a.style,c,j,e;if(A&&""===b.zIndex&&(c=N(a,"zIndex",k),"auto"===c||""===c))b.zIndex=0;"string"===typeof g&&-(j=b.cssText,c=da(a,k),b.cssText=j+";"+g,c=la(a,c,da(a)).difs,!q&&X.test(g)&&(c.opacity=parseFloat(RegExp.$1)),g=c,b.cssText=j);this._firstPT=a=this.parse(a,g,null);if(f){for(;a;){b=a._next;for(g=j;g&&g.pr>a.pr;)g=g._next;(a._prev=g?g._prev:e)?a._prev._next=a:j=a;(a._next=g)?g._prev=a:e=a;a=b}this._firstPT=j}return!0};b.parse=function(a,g,b,c){var d=a.style,j,q,e,m,f,h,i,u;for(j in g){f=g[j];if(q=v[j])b=q.parse(a,f,j,this,b,c,g);else if(q=N(a,j,k)+"",i="string"===typeof f,"color"===j||"fill"===j||-"stroke"===j||-1!==j.indexOf("Color")||i&&!f.indexOf("rgb"))i||(f=ja(f),f=(3<f.length?"rgba(":"rgb(")+f.join(",")+")"),b=ea(d,j,q,f,!0,"transparent",b,0,c);else if(i&&(-1!==f.indexOf(" ")||-1!==f.indexOf(",")))b=ea(d,j,q,f,!0,null,b,0,c);else{e=parseFloat(q);h=q.substr((e+"").length);if(""===q||"auto"===q)if("width"===j||"height"===j){e=a;u=j;m=k;h=parseFloat("width"===u?e.offsetWidth:e.offsetHeight);u=ra[u];var H=u.length;for(m=m||ca(e,null);-1<--H;)h-=parseFloat(N(e,"padding"+u[H],m,!0))||0,h-=-parseFloat(N(e,"border"+u[H]+"Width",m,!0))||0;e=h;h="px"}else e="opacity"!==j?0:1,h="";(u=i&&"="===f.charAt(1))?(m=parseInt(f.charAt(0)+"1"),f=f.substr(2),m*=parseFloat(f),i=f.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(f),i=i?f.substr((m+"").length)||"":"");""===i&&(i=l[j]||h);f=m||0===m?(u?m+e:m)+i:g[j];if(h!==i&&""!==i&&(m||0===m))if(e||0===e)if(e=T(a,j,e,h),"%"===i?(e/=T(a,j,100,"%")/100,100<e&&(e=100)):"em"===i?e/=T(a,j,1,"em"):(m=T(a,j,m,i),i="px"),u&&(m||0===m))f=m+e+i;u&&(m+=e);(e||-0===e)&&(m||0===m)?(b=new O(d,j,e,m-e,b,0,"css_"+j,!1!==D&&("px"===i||"zIndex"===j),0,q,f),b.xs0=i):(b=new O(d,j,m||e||0,0,b,-1,"css_"+j,!1,0,q,f),b.xs0="display"===j&&"none"===f?q:f)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};b.setRatio=function(a){var g=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;g;)2!==g.type?g.t[g.p]=g.e:g.setRatio(a),g=g._next;else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;g;){b=-g.c*a+g.s;g.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(g.type)if(1===g.type)if(c=g.l,2===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2;else if(3===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3;else if(4===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4;else if(5===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4+g.xn4+g.xs5;else{b=g.xs0+b+g.xs1;for(c=1;c<g.l;c++)b+=g["xn"+c]+g["xs"+(c+1)];g.t[g.p]=b}else-1===g.type?g.t[g.p]=g.xs0:g.setRatio&&g.setRatio(a);else g.t[g.p]=-b+g.xs0;g=g._next}else for(;g;)2!==g.type?g.t[g.p]=g.b:g.setRatio(a),g=g._next};b._linkCSSP=function(a,g,b){a&&(g&&(g._prev=a),a._next&&(a._next._prev=a._prev),b&&(b._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=g,a._prev=b);return a};b._kill=function(a){var g=a,b=!1,c,d;if(a.css_autoAlpha||a.css_alpha){g={};for(d in a)g[d]=a[d];g.css_opacity=1;g.css_autoAlpha&&(g.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,b=!0;return n.prototype._kill.call(this,g)||b};n.activate([s]);return s},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],function(n){var s=function(){n.call(this,"roundProps",-1);this._overwriteProps.length=0},f=s.prototype=new n("roundProps",-1);-f.constructor=s;s.API=2;f._onInitTween=function(f,k,d){this._tween=d;return!0};f._onInitAllProps=function(){for(var f=this._tween,k=f.vars.roundProps instanceof Array?f.vars.roundProps:f.vars.roundProps.split(","),d=k.length,n={},b=f._propLookup.roundProps,a,s,c;-1<--d;)n[k[d]]=1;for(d=k.length;-1<--d;){a=k[d];for(s=f._firstPT;s;)c=s._next,s.pg?s.t._roundProps(n,!0):s.n===a&&(this._add(s.t,a,s.s,s.c),c&&(c._prev=s._prev),s._prev?s._prev._next=c:f._firstPT===s&&(f._firstPT=c),s._next=s._prev=null,-f._propLookup[a]=b),s=c}return!1};f._add=function(f,k,d,n){this._addTween(f,k,d,d+n,k,!0);this._overwriteProps.push(k)};n.activate([s]);return s},!0);_gsDefine("easing.Back",["easing.Ease"],function(n){var s=window.com.greensock._class,f=function(a,b){var c=s("easing."+a,function(){},!0),d=c.prototype=new n;d.constructor=c;d.getRatio=b;return c},l=function(a,b){var c=s("easing."+a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new n;d.constructor=c;d.getRatio=b;-d.config=function(a){return new c(a)};return c},k=l("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),d=l("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),l=l("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)}),v=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}),b=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}),F=f("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),c=f("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),e=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)}),i=2*Math.PI,J=function(a,b,c){var d=s("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/i*(Math.asin(1/this._p1)||0)},!0),a=d.prototype=new n;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},X=J("ElasticOut",function(a){return this._p1*Math.pow(2,-10*a)*Math.sin((a-this._p3)*i/this._p2)+1},0.3),G=J("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*-Math.sin((a-this._p3)*i/this._p2))},0.3),J=J("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*i/this._p2)+1},0.45),h=f("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),w=f("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),p=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)))}),C=Math.PI/2,r=f("SineOut",function(a){return Math.sin(a*-C)}),P=f("SineIn",function(a){return-Math.cos(a*C)+1}),f=f("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),I=s("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),E=I.prototype=new n;E.constructor=I;E.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};I.ease=new I(0.7,0.7);E.config=I.config=function(a,b,c){return new I(a,b,c)};var y=s("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),E=y.prototype=new n;E.constructor=y;E.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};E.config=y.config=function(a){return new y(a)};s("easing.Bounce",{easeOut:new v,easeIn:new b,easeInOut:new a},!0);s("easing.Circ",{easeOut:new F,easeIn:new c,easeInOut:new e},-!0);s("easing.Elastic",{easeOut:new X,easeIn:new G,easeInOut:new J},!0);s("easing.Expo",{easeOut:new h,easeIn:new w,easeInOut:new p},!0);s("easing.Sine",{easeOut:new r,easeIn:new P,easeInOut:new f},!0);return{easeOut:new k,easeIn:new d,easeInOut:new l}},!0)});-(function(n){var s=function(a){var a=a.split("."),b=n,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},f=s("com.greensock"),l,k,d,v,b,a={},F=function(g,b,c,d){this.sc=a[g]?a[g].sc:[];a[g]=this;this.gsClass=null;this.def=c;var e=b||[],f=[];this.check=function(b){for(var m=e.length,h=0,i;-1<--m;)(i=a[e[m]]||new F(e[m])).gsClass?f[m]=i.gsClass:(h++,b&&i.sc.push(this));if(0===h&&c){var b=("com.greensock."+g).split("."),m=b.pop(),j=s(b.join("."))[m]=this.gsClass=c.apply(c,f);d&&((n.GreenSockGlobals||-n)[m]=j,"function"===typeof define&&define.amd?define((n.GreenSockAMDPath?n.GreenSockAMDPath+"/":"")+g.split(".").join("/"),[],function(){return j}):"undefined"!==typeof module&&module.exports&&(module.exports=j));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},c=f._class=function(a,b,c){b=b||function(){};new F(a,[],function(){return b},c);return b};n._gsDefine=function(a,b,c,d){return new F(a,b,c,d)};var e=[0,0,1,1],i=[],J=c("easing.Ease",function(a,b,c,d){this._func=a;this._type=-c||0;this._power=d||0;this._params=b?e.concat(b):e},!0);d=J.prototype;d._calcEnd=!1;d.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};l=["Linear","Quad","Cubic","Quart","Quint"];for(k=l.length;-1<--k;)d=c("easing."+l[k],null,!0),v=c("easing.Power"+k,null,!0),d.easeOut=v.easeOut=new J(null,-null,1,k),d.easeIn=v.easeIn=new J(null,null,2,k),d.easeInOut=v.easeInOut=new J(null,null,3,k);c("easing.Strong",f.easing.Power4,!0);f.easing.Linear.easeNone=f.easing.Linear.easeIn;var X=c("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});d=X.prototype;d.addEventListener=function(a,b,c,d,e){var e=e||0,f=this._listeners[a],h=0,i;null==f&&(this._listeners[a]=f=[]);for(i=f.length;-1<--i;)a=f[i],a.c===b?f.splice(i,1):0===h&&a.pr<e&&(h=i+1);f.splice(h,0,{c:b,s:c,up:d,pr:e})};-d.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}};d.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,e;-1<--c;)e=b[c],e.up?e.c.call(e.s||d,{type:a,target:d}):e.c.call(e.s||d)};var G=n.requestAnimationFrame,h=n.cancelAnimationFrame,w=Date.now||function(){return(new Date).getTime()};l=["ms","moz","webkit","o"];for(k=l.length;-1<--k&&!G;)G=n[l[k]+"RequestAnimationFrame"],h=n[l[k]+-"CancelAnimationFrame"]||n[l[k]+"CancelRequestAnimationFrame"];c("Ticker",function(a,b){var c=this,d=w(),e=!1!==b&&G,f,i,j,k,l,p=function(){null!=j&&(!e||!h?n.clearTimeout(j):h(j),j=null)},r=function(a){c.time=(w()-d)/1E3;if(!f||c.time>=l||!0===a)c.frame++,l=c.time>l?c.time+k-(c.time-l):c.time+k-0.001,l<c.time+0.001&&(l=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(j=i(r))};X.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return f;f=a;k=1/(f||-60);l=this.time+k;i=0===f?function(){}:!e||!G?function(a){return n.setTimeout(a,1E3*(l-c.time)+1>>0||1)}:G;p();j=i(r)};this.useRAF=function(a){if(!arguments.length)return e;p();e=a;c.fps(f)};c.fps(a);n.setTimeout(function(){e&&!j&&c.useRAF(!1)},1E3)});d=f.Ticker.prototype=new f.events.EventDispatcher;d.constructor=f.Ticker;var p=c("core.Animation",function(a,c){this.vars=c||{};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(t){b||(C.tick(),b=!0);var d=this.vars.useFrames?x:t;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),C=p.ticker=new f.Ticker;d=p.prototype;d._dirty=d._gc=d._initted=d._paused=!1;d._totalTime=d._time=0;d._rawPrevTime=-1;d._next=d._last=d._onUpdate=d._timeline=d.timeline=null;d._paused=!1;d.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};d.pause=function(a,b){arguments.length&&+f.repeatDelay=function(d){if(!arguments.length)return this._repeatDelay;this._repeatDelay=d;return this._uncache(!0)};f.yoyo=function(d){if(!arguments.length)return this._yoyo;this._yoyo=d;return this};f.currentLabel=function(d){return!arguments.length?this.getLabelBefore(this._time+1E-8):this.seek(d,!0)};return j},!0);_gsDefine("plugins.BezierPlugin",["plugins.TweenPlugin"],function(q){var s=function(){q.call(this,"bezier",-1);this._overwriteProps.pop();this._func={};this._round={}},f=s.prototype=+new q("bezier",1),j=180/Math.PI,l=[],d=[],v=[],b={},a=function(a,b,c,d){this.a=a;this.b=b;this.c=c;this.d=d;this.da=d-a;this.ca=c-a;this.ba=b-a},F=s.bezierThrough=function(e,i,f,j,G,h){var w={},r=[],A,k,s,G="string"===typeof G?","+G+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,";null==i&&(i=1);for(k in e[0])r.push(k);l.length=d.length=v.length=0;for(A=r.length;-1<--A;){k=r[A];+b[k]=-1!==G.indexOf(","+k+",");s=w;var I=k,D;D=e;var t=k,p=b[k],x=h,B=[],C=void 0,u=void 0,q=void 0,F=void 0,g=void 0,C=void 0;if(x){D=[x].concat(D);for(u=D.length;-1<--u;)if("string"===typeof(C=D[u][t]))"="===C.charAt(1)&&(D[u][t]=x[t]+Number(C.charAt(0)+C.substr(2)))}C=D.length-2;if(0>C)B[0]=new a(D[0][t],0,0,D[-1>C?0:1][t]);else{for(u=0;u<C;u++)q=D[u][t],F=D[u+1][t],B[u]=new a(q,0,0,F),p&&(g=D[u+2][t],l[u]=(l[u]||0)+(F-q)*(F-q),d[u]=(d[u]||0)+(g-F)*(g-F));B[u]=new a(D[u][t],0,0,D[u+1][t])}D=B;+s[I]=D}for(A=l.length;-1<--A;)l[A]=Math.sqrt(l[A]),d[A]=Math.sqrt(d[A]);if(!j){for(A=r.length;-1<--A;)if(b[k]){e=w[r[A]];s=e.length-1;for(G=0;G<s;G++)h=e[G+1].da/d[G]+e[G].da/l[G],v[G]=(v[G]||0)+h*h}for(A=v.length;-1<--A;)v[A]=Math.sqrt(v[A])}for(A=r.length;-1<--A;){k=r[A];e=w[k];G=i;h=f;s=j;k=b[k];I=e.length-1;D=0;for(var t=e[0].a,m=g=F=x=C=F=q=C=u=q=B=x=p=void 0,p=0;p<I;p++)u=e[D],x=u.a,B=u.d,q=e[D+1].d,k?(F=l[p],g=d[p],m=0.25*(g+F)*G/(s?0.5:v[p]||0.5),C=B-(B-x)*(s?0.5*G:m/F),q=B+(q-B)*(s?0.5*G:+m/g),F=B-(C+(q-C)*(3*F/(F+g)+0.5)/4)):(C=B-0.5*(B-x)*G,q=B+0.5*(q-B)*G,F=B-(C+q)/2),C+=F,q+=F,u.c=C,u.b=0!==p?t:t=u.a+0.6*(u.c-u.a),u.da=B-x,u.ca=C-x,u.ba=t-x,h?(x=c(x,t,C,B),e.splice(D,1,x[0],x[1],x[2],x[3]),D+=4):D++,t=q;u=e[D];u.b=t;u.c=t+0.4*(u.d-t);u.da=u.d-u.a;u.ca=u.c-u.a;u.ba=t-u.a;h&&(x=c(u.a,t,u.c,u.d),e.splice(D,1,x[0],x[1],x[2],x[3]))}return w},c=s.cubicToQuadratic=function(a,b,c,d){var f={a:a},h={},w={},r={c:d},j=(a+b)/2,k=(b+c)/2,c=(c+d)/2,b=(j+k)/2,k=(k+c)/2,l=(k-b)/8;f.b=j+(a-j)/4;+h.b=b+l;f.c=h.a=(f.b+h.b)/2;h.c=w.a=(b+k)/2;w.b=k-l;r.b=c+(d-c)/4;w.c=r.a=(w.b+r.b)/2;return[f,h,w,r]};s.quadraticToCubic=function(b,c,d){return new a(b,(2*c+b)/3,(2*c+d)/3,d)};f.constructor=s;s.API=2;s._cssRegister=function(){var a=window.com.greensock.plugins.CSSPlugin;if(a){var a=a._internals,b=a._parseToProxy,c=a._setPluginRatio,d=a._specialProps,f=a.CSSPropTween;a._registerComplexSpecialProp("bezier",null,function(a,e,r,j,k,l){e instanceof Array&&(e={values:e});var l=new s,r=e.values,q=r.length-+1,v=[],t={},p,x,B;if(0>q)return k;for(p=0;p<=q;p++)B=b(a,r[p],j,k,l,q!==p),v[p]=B.end;for(x in e)t[x]=e[x];t.values=v;k=new f(a,"bezier",0,0,B.pt,2);k.data=B;k.plugin=l;k.setRatio=c;0===t.autoRotate&&(t.autoRotate=!0);t.autoRotate&&!(t.autoRotate instanceof Array)&&(p=!0===t.autoRotate?0:Number(t.autoRotate)*_DEG2RAD,t.autoRotate=null!=B.end.left?[["left","top","rotation",p,!0]]:null!=B.end.x?[["x","y","rotation",p,!0]]:!1);t.autoRotate&&(j._transform||(k=d.rotation.parse(a,0,x,j,k,l,{})),B.autoRotate=+j._transform);l._onInitTween(B.proxy,t,j._tween);return k})}};f._onInitTween=function(b,c,d){this._target=b;c instanceof Array&&(c={values:c});this._props=[];this._timeRes=null==c.timeResolution?6:parseInt(c.timeResolution);var f=c.values||[],j={},h=f[0],d=c.autoRotate||d.vars.orientToBezier,w,r,l;this._autoRotate=d?d instanceof Array?d:[["x","y","rotation",!0===d?0:Number(d)||0]]:null;for(w in h)this._props.push(w);for(h=this._props.length;-1<--h;)w=this._props[h],this._overwriteProps.push(w),d=+this._func[w]="function"===typeof b[w],j[w]=!d?parseFloat(b[w]):b[w.indexOf("set")||"function"!==typeof b["get"+w.substr(3)]?w:"get"+w.substr(3)](),l||j[w]!==f[0][w]&&(l=j);if("cubic"!==c.type&&"quadratic"!==c.type&&"soft"!==c.type)j=F(f,isNaN(c.curviness)?1:c.curviness,!1,"thruBasic"===c.type,c.correlate,l);else{d=(d=c.type)||"soft";c={};l="cubic"===d?3:2;var d="soft"===d,h=[],k,s,q,v,t,p,x,B,C;d&&j&&(f=[j].concat(f));if(null==f||f.length<l+1)throw"invalid Bezier data";for(s in f[0])h.push(s);for(p=+h.length;-1<--p;){s=h[p];c[s]=t=[];C=0;B=f.length;for(x=0;x<B;x++)k=null==j?f[x][s]:"string"===typeof(q=f[x][s])&&"="===q.charAt(1)?j[s]+Number(q.charAt(0)+q.substr(2)):Number(q),d&&1<x&&x<B-1&&(t[C++]=(k+t[C-2])/2),t[C++]=k;B=C-l+1;for(x=C=0;x<B;x+=l)k=t[x],s=t[x+1],q=t[x+2],v=2===l?0:t[x+3],t[C++]=q=3===l?new a(k,s,q,v):new a(k,(2*s+k)/3,(2*s+q)/3,q);t.length=C}j=c}this._beziers=j;this._segCount=this._beziers[w].length;if(this._timeRes){h=this._beziers;w=this._timeRes;w=w>>0||6;j=[];s=[];f=q=0;+c=w-1;l=[];d=[];for(r in h){k=h[r];t=j;p=w;x=1/p;B=k.length;for(var u=void 0,N=void 0,L=v=C=N=void 0,g=u=void 0,m=void 0,m=L=void 0;-1<--B;){L=k[B];N=L.a;C=L.d-N;v=L.c-N;L=L.b-N;N=0;for(g=1;g<=p;g++)u=x*g,m=1-u,u=N-(N=(u*u*C+3*m*(u*v+m*L))*u),m=B*p+g-1,t[m]=(t[m]||0)+u*u}}h=j.length;for(r=0;r<h;r++)q+=Math.sqrt(j[r]),k=r%w,d[k]=q,k===c&&(f+=q,k=r/w>>0,l[k]=d,s[k]=f,q=0,d=[]);this._length=f;this._lengths=s;this._segments=l;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(d=this._autoRotate){d[0]instanceof Array||(this._autoRotate=d=[d]);for(h=d.length;-1<--h;)for(r=0;3>r;r++)w=d[h][r],this._func[w]="function"===typeof b[w]?b[w.indexOf("set")||"function"!==typeof b["get"+w.substr(3)]?w:"get"+w.substr(3)]:!1}return!0};f.setRatio=function(a){var c=this._segCount,b=this._func,d=this._target,f,h,l,r,q;if(this._timeRes){f=this._lengths;r=this._curSeg;a*=this._length;h=this._li;if(a>this._l2&&+h<c-1){for(c-=1;h<c&&(this._l2=f[++h])<=a;);this._l1=f[h-1];this._li=h;this._curSeg=r=this._segments[h];this._s2=r[this._s1=this._si=0]}else if(a<this._l1&&0<h){for(;0<h&&(this._l1=f[--h])>=a;);0===h&&a<this._l1?this._l1=0:h++;this._l2=f[h];this._li=h;this._curSeg=r=this._segments[h];this._s1=r[(this._si=r.length-1)-1]||0;this._s2=r[this._si]}f=h;a-=this._l1;h=this._si;if(a>this._s2&&h<r.length-1){for(c=r.length-1;h<c&&(this._s2=r[++h])<=a;);this._s1=r[h-1];this._si=h}else if(a<this._s1&&0<h){for(;0<+h&&(this._s1=r[--h])>=a;);0===h&&a<this._s1?this._s1=0:h++;this._s2=r[h];this._si=h}r=(h+(a-this._s1)/(this._s2-this._s1))*this._prec}else f=0>a?0:1<=a?c-1:c*a>>0,r=(a-f*(1/c))*c;c=1-r;for(h=this._props.length;-1<--h;)if(a=this._props[h],l=this._beziers[a][f],q=(r*r*l.da+3*c*(r*l.ca+c*l.ba))*r+l.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,k,s,v,F,t;for(h=c.length;-1<--h;)a=c[h][2],F=c[h][3]||0,t=!0===c[h][4]?1:j,l=this._beziers[c[h][0]][f],+q=this._beziers[c[h][1]][f],k=l.a+(l.b-l.a)*r,s=l.b+(l.c-l.b)*r,k+=(s-k)*r,s+=(l.c+(l.d-l.c)*r-s)*r,l=q.a+(q.b-q.a)*r,v=q.b+(q.c-q.b)*r,l+=(v-l)*r,v+=(q.c+(q.d-q.c)*r-v)*r,q=Math.atan2(v-l,s-k)*t+F,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 q.prototype._kill.call(this,a)};q.activate([s]);return s},!0);_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(q){var s=function(){q.call(this,"css");this._overwriteProps.length=0},f,j,l,d,v={},b=s.prototype=new q("css");b.constructor=s;s.version=1.653;s.API=2;s.defaultTransformPerspective=0;b="px";s.suffixMap={top:b,right:b,bottom:b,left:b,width:b,height:b,fontSize:b,padding:b,margin:b,perspective:b};var a=/(?:\d|\-\d|\.\d|\-\.\d)+/g,+F=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,c=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,e=/[^\d\-\.]/g,i=/(?:\d|\-|\+|=|#|\.)*/g,J=/opacity *= *([^)]*)/,Y=/opacity:([^;]*)/,G=/([A-Z])/g,h=/-([a-z])/gi,w=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,r=function(a,Q){return Q.toUpperCase()},A=/(?:Left|Right|Width)/i,k=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,U=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=Math.PI/180,D=180/Math.PI,t={},p=document,x=p.createElement("div"),B=p.createElement("img"),+C=s._internals={_specialProps:v},u=navigator.userAgent,N,L,g,m,n,z,E,S=u.indexOf("Android"),la=p.createElement("div");n=(g=-1!==u.indexOf("Safari")&&-1===u.indexOf("Chrome")&&(-1===S||3<Number(u.substr(S+8,1))))&&6>Number(u.substr(u.indexOf("Version/")+8,1));m=-1!==u.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(u);z=parseFloat(RegExp.$1);la.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";E=(u=la.getElementsByTagName("a")[0])?/^0.55/.test(u.style.opacity):!1;var H=function(a){return J.test("string"===+typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},ma="",fa="",aa=function(a,Q){var Q=Q||x,g=Q.style,c,b;if(void 0!==g[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(b=5;-1<--b&&void 0===g[c[b]+a];);return 0<=b?(fa=3===b?"ms":c[b],ma="-"+fa.toLowerCase()+"-",fa+a):null},ba=p.defaultView?p.defaultView.getComputedStyle:function(){},M=s.getStyle=function(a,Q,g,c,b){var d;if(!E&&"opacity"===Q)return H(a);!c&&a.style[Q]?+d=a.style[Q]:(g=g||ba(a,null))?d=(a=g.getPropertyValue(Q.replace(G,"-$1").toLowerCase()))||g.length?a:g[Q]:a.currentStyle&&(g=a.currentStyle,d=g[Q]);return null!=b&&(!d||"none"===d||"auto"===d||"auto auto"===d)?b:d},da=function(a,g,c){var b={},d=a._gsOverwrittenClassNamePT,n;if(d&&!c){for(;d;)d.setRatio(0),d=d._next;a._gsOverwrittenClassNamePT=null}if(g=g||ba(a,null))if(n=g.length)for(;-1<--n;)b[g[n].replace(h,r)]=g.getPropertyValue(g[n]);else for(n in g)b[n]=g[n];else if(g=a.currentStyle||a.style)for(n in g)b[n.replace(h,+r)]=g[n];E||(b.opacity=H(a));a=ga(a,g,!1);b.rotation=a.rotation*D;b.rotationX=a.rotationX*D;b.rotationY=a.rotationY*D;b.skewX=a.skewX*D;b.scaleX=a.scaleX;b.scaleY=a.scaleY;b.scaleZ=a.scaleZ;b.x=a.x;b.y=a.y;b.z=a.z;b.filters&&delete b.filters;return b},na=function(a,g,b,c){var d={},a=a.style,n,y,m;for(y in b)if("cssText"!==y&&"length"!==y&&isNaN(y)&&g[y]!==(n=b[y]))if(-1===y.indexOf("Origin")&&("number"===typeof n||"string"===typeof n))d[y]=(""===n||"auto"===n||"none"===n)&&"string"===typeof g[y]&&+""!==g[y].replace(e,"")?0:n,void 0!==a[y]&&(m=new ha(a,y,a[y],m));if(c)for(y in c)"className"!==y&&(d[y]=c[y]);return{difs:d,firstMPT:m}},ta={width:["Left","Right"],height:["Top","Bottom"]},ua=["marginLeft","marginRight","marginTop","marginBottom"],T=function(a,g,b,c,d){if("px"===c||!c)return b;if("auto"===c||!b)return 0;var n=A.test(g),y=a,m=x.style,e=0>b;e&&(b=-b);"%"===c&&-1!==g.indexOf("border")?n=b/100*(n?a.clientWidth:a.clientHeight):(m.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",+"%"===c||"em"===c||!y.appendChild?(y=a.parentNode||p.body,m[n?"width":"height"]=b+c):m[n?"borderLeftWidth":"borderTopWidth"]=b+c,y.appendChild(x),n=parseFloat(x[n?"offsetWidth":"offsetHeight"]),y.removeChild(x),0===n&&!d&&(n=T(a,g,b,c,!0)));return e?-n:n},ia=function(a,g){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var b=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":b[0],d=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":b[1];null==d?d="0":"center"===+d&&(d="50%");if("center"===c||isNaN(parseFloat(c)))c="50%";g&&(g.oxp=-1!==c.indexOf("%"),g.oyp=-1!==d.indexOf("%"),g.oxr="="===c.charAt(1),g.oyr="="===d.charAt(1),g.ox=parseFloat(c.replace(e,"")),g.oy=parseFloat(d.replace(e,"")));return c+" "+d+(2<b.length?" "+b[2]:"")},oa=function(a,g){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(g)},V=function(a,g){return null==a?g:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)++"1")*Number(a.substr(2))+g:Number(a)},Z=function(a,g){if(null==a)return g;var b=-1===a.indexOf("rad")?I:1,c="="===a.charAt(1),a=Number(a.replace(e,""))*b;return c?a+g:a},ja=function(a,g){var b=(("number"===typeof a?a*I:Z(a,g))-g)%(2*Math.PI);b!==b%Math.PI&&(b+=Math.PI*(0>b?2:-2));return g+b},$={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(g){if(!g||""===g)return $.black;if($[g])return $[g];if("number"===typeof g)return[g>>16,g>>8&255,g&255];if("#"===g.charAt(0)){if(4===g.length)var b=g.charAt(1),c=g.charAt(2),g=g.charAt(3),g="#"+b+b+c+c+g+g;g=parseInt(g.substr(1),16);return[g>>16,g>>8&255,g&255]}g=g.match(a)||$.transparent;g[0]=Number(g[0]);g[1]=Number(g[1]);g[2]=Number(g[2]);+3<g.length&&(g[3]=Number(g[3]));return g},W="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(b in $)W+="|"+b+"\\b";var W=RegExp(W+")","gi"),pa=function(g,b,d){if(null==g)return function(a){return a};var n=b?(g.match(W)||[""])[0]:"",m=g.split(n).join("").match(c)||[],p=g.substr(0,g.indexOf(m[0])),y=")"===g.charAt(g.length-1)?")":"",e=-1!==g.indexOf(" ")?" ":",",f=m.length,ca=0<f?m[0].replace(a,""):"";return b?function(a){"number"===typeof a&&(a+=ca);var g=(a.match(W)||[n])[0],a=a.split(g).join("").match(c)||+[],b=a.length;if(f>b--)for(;++b<f;)a[b]=d?a[(b-1)/2>>0]:m[b];return p+a.join(e)+e+g+y}:function(a){"number"===typeof a&&(a+=ca);var a=a.match(c)||[],g=a.length;if(f>g--)for(;++g<f;)a[g]=d?a[(g-1)/2>>0]:m[g];return p+a.join(e)+y}},u=function(a){a=a.split(",");return function(g,b,c,d,n,y,m){b=(b+"").split(" ");m={};for(c=0;4>c;c++)m[a[c]]=b[c]=b[c]||b[(c-1)/2>>0];return d.parse(g,m,n,y)}};C._setPluginRatio=function(a){this.plugin.setRatio(a);for(var g=this.data,b=g.proxy,c=g.firstMPT,d;c;)d=b[c.v],+c.r?d=0<d?d+0.5>>0:d-0.5>>0:1E-6>d&&-1E-6<d&&(d=0),c.t[c.p]=d,c=c._next;g.autoRotate&&(g.autoRotate.rotation=b.rotation);if(1===a)for(c=g.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){b=a.xs0+a.s+a.xs1;for(g=1;g<a.l;g++)b+=a["xn"+g]+a["xs"+(g+1)];a.e=b}}else a.e=a.s+a.xs0;c=c._next}};var ha=function(a,g,b,c,d){this.t=a;this.p=g;this.v=b;this.r=d;c&&(c._prev=this,this._next=c)};C._parseToProxy=function(a,g,b,c,d,n){var y=c,m={},p={},e=b._transform,f=t,i;b._transform=null;t=g;c=a=b.parse(a,g,c,d);t=+f;n&&(b._transform=e,y&&(y._prev=null,y._prev&&(y._prev._next=null)));for(;c&&c!==y;){if(1>=c.type&&(e=c.p,p[e]=c.s+c.c,m[e]=c.s,n||(i=new ha(c,"s",e,i,c.r),c.c=0),1===c.type))for(b=c.l;0<--b;)f="xn"+b,e=c.p+"_"+f,p[e]=c.data[f],m[e]=c[f],n||(i=new ha(c,f,e,i,c.rxp[f]));c=c._next}return{proxy:m,end:p,firstMPT:i,pt:a}};var O=C.CSSPropTween=function(a,g,c,b,n,m,y,e,p,ca,i){this.t=a;this.p=g;this.s=c;this.c=b;this.n=y||"css_"+g;a instanceof O||d.push(this.n);this.r=e;this.type=m||0;p&&(this.pr=p,f=!0);+this.b=void 0===ca?c:ca;this.e=void 0===i?c+b:i;n&&(this._next=n,n._prev=this)},ea=s.parseComplex=function(g,c,b,d,n,m,y,p,e,f){var y=new O(g,c,0,0,y,f?2:1,null,!1,p,b,d),g=b.split(", ").join(",").split(" "),c=(d+"").split(", ").join(",").split(" "),b=g.length,p=!1!==N,i,l,h,j,z;b!==c.length&&(g=(m||"").split(" "),b=g.length);y.plugin=e;y.setRatio=f;for(m=0;m<b;m++)if(e=g[m],i=c[m],(f=parseFloat(e))||0===f)y.appendXtra("",f,oa(i,f),i.replace(F,""),p&&-1!==i.indexOf("px"),!0);else if(n&&("#"===e.charAt(0)||+0===e.indexOf("rgb")||$[e]))e=ka(e),i=ka(i),(f=6<e.length+i.length)&&!E&&0===i[3]?(y["xs"+y.l]+=y.l?" transparent":"transparent",y.e=y.e.split(c[m]).join("transparent")):(y.appendXtra(f?"rgba(":"rgb(",e[0],i[0]-e[0],",",!0,!0).appendXtra("",e[1],i[1]-e[1],",",!0).appendXtra("",e[2],i[2]-e[2],f?",":")",!0),f&&(e=4>e.length?1:e[3],y.appendXtra("",e,(4>i.length?1:i[3])-e,")",!1)));else if(f=e.match(a)){h=i.match(F);if(!h||h.length!==f.length)return y;for(i=l=0;i<f.length;i++)z=f[i],j=e.indexOf(z,l),+y.appendXtra(e.substr(l,j-l),Number(z),oa(h[i],z),"",p&&"px"===e.substr(j+z.length,2),0===i),l=j+z.length;y["xs"+y.l]+=e.substr(l)}else y["xs"+y.l]+=y.l?" "+e:e;if(-1!==d.indexOf("=")&&y.data){d=y.xs0+y.data.s;for(m=1;m<y.l;m++)d+=y["xs"+m]+y.data["xn"+m];y.e=d+y["xs"+m]}y.l||(y.type=-1,y.xs0=y.e);return y.xfirst||y},P=9,b=O.prototype;for(b.l=b.pr=0;0<--P;)b["xn"+P]=0,b["xs"+P]="";b.xs0="";b._next=b._prev=b.xfirst=b.data=b.plugin=b.setRatio=b.rxp=null;b.appendXtra=function(a,g,c,b,d,n){var m=this.l;+this["xs"+m]+=n&&m?" "+a:a||"";if(!c&&0!==m&&!this.plugin)return this["xs"+m]+=g+(b||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=b||"";if(0<m)return this.data["xn"+m]=g+c,this.rxp["xn"+m]=d,this["xn"+m]=g,this.plugin||(this.xfirst=new O(this,"xn"+m,g,c,this.xfirst||this,0,this.n,d,this.pr),this.xfirst.xs0=0),this;this.data={s:g+c};this.rxp={};this.s=g;this.c=c;this.r=d;return this};var qa=function(a,g,c,b,d,m,n){this.p=b?aa(a)||a:a;v[a]=v[this.p]=this;this.format=m||pa(g,d);c&&+(this.parse=c);this.clrs=d;this.dflt=g;this.pr=n||0},K=C._registerComplexSpecialProp=function(a,g,c,b,d,m,n){for(var a=a.split(","),g=g instanceof Array?g:[g],e=a.length;-1<--e;)new qa(a[e],g[e],c,b&&0===e,d,m,n)},C=function(a){if(!v[a]){var g=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";K(a,null,function(a,c,b,d,m,n,e){var p=window.com.greensock.plugins[g];if(!p)return window.console&&console.log("Error: "+g+" js file not loaded."),m;p._cssRegister();return v[b].parse(a,c,b,d,m,n,e)})}},b=qa.prototype;+b.parseComplex=function(a,g,c,b,d,m){return ea(a,this.p,g,c,this.clrs,this.dflt,b,this.pr,d,m)};b.parse=function(a,g,c,b,d,m){return this.parseComplex(a.style,this.format(M(a,c,l,!1,this.dflt)),this.format(g),d,m)};s.registerSpecialProp=function(a,g,c){K(a,null,function(a,b,d,m,n,e){n=new O(a,d,0,0,n,2,d,!1,c);n.plugin=e;n.setRatio=g(a,b,m._tween,d);return n},!1,!1,null,c)};var ra="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),R=aa("transform"),va=ma+"transform",+sa=aa("transformOrigin"),X=null!==aa("perspective"),ga=function(a,g,c){var b=c?a._gsTransform||{skewY:0}:{skewY:0},d=0>b.scaleX,m=X?parseFloat(M(a,sa,g,!1,"0 0 0").split(" ")[2])||b.zOrigin||0:0,n,e,p,f,i,l,h,j;R?n=M(a,va,g,!0):a.currentStyle&&(n=(n=a.currentStyle.filter.match(k))&&4===n.length?n[0].substr(4)+","+Number(n[2].substr(4))+","+Number(n[1].substr(4))+","+n[3].substr(4)+","+(b?b.x:0)+","+(b?b.y:0):null);e=(n||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(g=e.length;-1<--g;)e[g]=Number(e[g]);+if(16===e.length){if(d=e[8],n=e[9],p=e[10],f=e[12],i=e[13],l=e[14],b.zOrigin&&(l=-b.zOrigin,f=d*l-e[12],i=n*l-e[13],l=p*l+b.zOrigin-e[14]),!c||f!==b.x||i!==b.y||l!==b.z){h=e[0];j=e[1];var z=e[2],q=e[3],r=e[4],E=e[5],u=e[6],S=e[7];e=e[11];var x=b.rotationX=Math.atan2(u,p),v,w,H,t;x&&(H=Math.cos(-x),t=Math.sin(-x),x=r*H+d*t,v=E*H+n*t,w=u*H+p*t,d=r*-t+d*H,n=E*-t+n*H,p=u*-t+p*H,e=S*-t+e*H,r=x,E=v,u=w);if(x=b.rotationY=Math.atan2(d,h))H=Math.cos(-x),t=Math.sin(-x),v=j*H-n*t,w=z*H-p*t,n=j*t+n*H,p=z*t+p*+H,e=q*t+e*H,h=h*H-d*t,j=v,z=w;if(x=b.rotation=Math.atan2(j,E))H=Math.cos(-x),t=Math.sin(-x),h=h*H+r*t,v=j*H+E*t,E=j*-t+E*H,u=z*-t+u*H,j=v;Math.abs(b.rotationY)>Math.PI/2&&(b.rotationY*=-1,b.rotationX+=Math.PI,b.rotation=Math.PI-b.rotation);b.scaleX=Math.sqrt(h*h+j*j);b.scaleY=Math.sqrt(E*E+n*n);b.scaleZ=Math.sqrt(u*u+p*p);b.skewX=0;b.perspective=e?1/e:0;b.x=f;b.y=i;b.z=l}}else if(!X||0===e.length||b.x!==e[4]||b.y!==e[5]||!b.rotationX&&!b.rotationY){f=(n=6<=e.length)?e[0]:1;l=e[1]||0;i=e[2]||0;h=n?+e[3]:1;b.x=e[4]||0;b.y=e[5]||0;n=Math.sqrt(f*f+l*l);p=Math.sqrt(h*h+i*i);f=f||l?Math.atan2(l,f):b.rotation||0;i=i||h?Math.atan2(i,h)+f:b.skewX||0;l=n-Math.abs(b.scaleX||0);h=p-Math.abs(b.scaleY||0);Math.abs(i)>Math.PI/2&&Math.abs(i)<1.5*Math.PI&&(d?(n*=-1,i+=0>=f?Math.PI:-Math.PI,f+=0>=f?Math.PI:-Math.PI):(p*=-1,i+=0>=i?Math.PI:-Math.PI));d=(f-b.rotation)%Math.PI;j=(i-b.skewX)%Math.PI;if(void 0===b.skewX||1E-6<l||-1E-6>l||1E-6<h||-1E-6>h||1E-6<d||-1E-6>d||1E-6<j||-1E-6>j)b.scaleX=n,b.scaleY=p,b.rotation=+f,b.skewX=i;X&&(b.rotationX=b.rotationY=b.z=0,b.perspective=parseFloat(s.defaultTransformPerspective)||0,b.scaleZ=1)}b.zOrigin=m;for(g in b)1E-6>b[g]&&-1E-6<b[g]&&(b[g]=0);c&&(a._gsTransform=b);return b},wa=function(a){var g=this.data,b=-g.rotation,c=b+g.skewX,d=Math.cos(b)*g.scaleX,b=Math.sin(b)*g.scaleX,n=Math.sin(c)*-g.scaleY,c=Math.cos(c)*g.scaleY,e=1E-6,m=this.t.style,p=this.t.currentStyle,f;if(p){d<e&&d>-e&&(d=0);b<e&&b>-e&&(b=0);n<e&&n>-e&&(n=0);c<e&&c>-e&&(c=0);e=b;b=-n;n=-e;e=p.filter;m.filter=+"";var l=this.t.offsetWidth;f=this.t.offsetHeight;var h="absolute"!==p.position,j="progid:DXImageTransform.Microsoft.Matrix(M11="+d+", M12="+b+", M21="+n+", M22="+c,q=g.x,r=g.y,E,k;null!=g.ox&&(E=(g.oxp?0.01*l*g.ox:g.ox)-l/2,k=(g.oyp?0.01*f*g.oy:g.oy)-f/2,q+=E-(E*d+k*b),r+=k-(E*n+k*c));if(h)E=l/2,k=f/2,j+=", Dx="+(E-(E*d+k*b)+q)+", Dy="+(k-(E*n+k*c)+r)+")";else{var H=8>z?1:-1;E=g.ieOffsetX||0;k=g.ieOffsetY||0;g.ieOffsetX=Math.round((l-((0>d?-d:d)*l+(0>b?-b:b)*f))/2+q);g.ieOffsetY=Math.round((f-((0>+c?-c:c)*f+(0>n?-n:n)*l))/2+r);for(P=0;4>P;P++)l=ua[P],f=p[l],f=-1!==f.indexOf("px")?parseFloat(f):T(this.t,l,parseFloat(f),f.replace(i,""))||0,q=f!==g[l]?2>P?-g.ieOffsetX:-g.ieOffsetY:2>P?E-g.ieOffsetX:k-g.ieOffsetY,m[l]=(g[l]=Math.round(f-q*(0===P||2===P?1:H)))+"px";j+=", sizingMethod='auto expand')"}m.filter=-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?e.replace(U,j):j+" "+e;if(0===a||1===a)if(1===d&&0===b&&0===n&&1===c&&(!h||-1!==j.indexOf("Dx=0, Dy=0")))(!J.test(e)||100===parseFloat(RegExp.$1))&&+-1===e.indexOf("gradient(")&&m.removeAttribute("filter")}},xa=function(){var a=this.data,g=a.perspective,b=a.scaleX,c=0,d=0,e=0,n=0,p=a.scaleY,f=0,i=0,l=0,j=0,h=a.scaleZ,z=0,E=0,q=0,r=g?-1/g:0,k=a.rotation,H=a.zOrigin,u=this.t.style,s,x,t,v,S;k&&(s=Math.cos(k),k=Math.sin(k),t=p*k,c=b*-k,p*=s,b*=s,n=t);if(k=a.rotationY)s=Math.cos(k),k=Math.sin(k),v=h*-k,S=r*-k,d=b*k,f=n*k,h*=s,r*=s,b*=s,n*=s,l=v,E=S;if(k=a.rotationX)s=Math.cos(k),k=Math.sin(k),x=c*s+d*k,t=p*s+f*k,v=j*s+h*k,S=q*s+r*k,d=c*-k+d*s,f=p*+-k+f*s,h=j*-k+h*s,r=q*-k+r*s,c=x,p=t,j=v,q=S;H&&(z-=H,e=d*z,i=f*z,z=h*z+H);e+=a.x;i+=a.y;z+=a.z;1E-6>z&&-1E-6<z&&(z=0);u[R]="matrix3d("+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>l&&-1E-6<l?0:l)+","+(1E-6>E&&-1E-6<E?0:E)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>p&&-1E-6<p?0:p)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>h&&-1E-6<h?0:h)+","+(1E-6>r&&-1E-6<r?0:r)+","+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>i&&-1E-6<i?0:i)+","+z++","+(g?1+-z/g:1)+")";if(m)return x=u.display,u.display="none",t=this.t.offsetWidth,u.display=x,t},ya=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[R]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var g=a.rotation,b=g-a.skewX,c=Math.cos(g)*a.scaleX,g=Math.sin(g)*a.scaleX,d=Math.sin(b)*-a.scaleY,b=Math.cos(b)*a.scaleY;this.t.style[R]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>g&&-1E-6<g?0:g)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>b&&-1E-6<b?0:b)+","+a.x+","+a.y+")"}};K("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",+null,function(a,b,c,e,m,p,f){if(e._transform)return m;var b=e._transform=ga(a,l,!0),i=a.style,h=ra.length,j,k,z,r;if("string"===typeof f.transform&&R)k=i[R],i[R]=f.transform,j=ga(a,null,!1),i[R]=k;else if("object"===typeof f){k=null!=f.rotation?f.rotation:null!=f.rotationZ?f.rotationZ:b.rotation*D;j={scaleX:V(null!=f.scaleX?f.scaleX:f.scale,b.scaleX),scaleY:V(null!=f.scaleY?f.scaleY:f.scale,b.scaleY),scaleZ:V(null!=f.scaleZ?f.scaleZ:f.scale,b.scaleZ),x:V(f.x,b.x),y:V(f.y,b.y),z:V(f.z,b.z),perspective:V(f.transformPerspective,+b.perspective)};j.rotation=null!=f.shortRotation||null!=f.shortRotationZ?ja(f.shortRotation||f.shortRotationZ||0,b.rotation):"number"===typeof k?k*I:Z(k,b.rotation);X&&(j.rotationX=null!=f.shortRotationX?ja(f.shortRotationX,b.rotationX):"number"===typeof f.rotationX?f.rotationX*I:Z(f.rotationX,b.rotationX),j.rotationY=null!=f.shortRotationY?ja(f.shortRotationY,b.rotationY):"number"===typeof f.rotationY?f.rotationY*I:Z(f.rotationY,b.rotationY),1E-6>j.rotationX&&-1E-6<j.rotationX&&(j.rotationX=0),1E-6>+j.rotationY&&-1E-6<j.rotationY&&(j.rotationY=0));j.skewX=null==f.skewX?b.skewX:"number"===typeof f.skewX?f.skewX*I:Z(f.skewX,b.skewX);j.skewY=null==f.skewY?b.skewY:"number"===typeof f.skewY?f.skewY*I:Z(f.skewY,b.skewY);if(k=j.skewY-b.skewY)j.skewX+=k,j.rotation+=k;1E-6>j.skewY&&-1E-6<j.skewY&&(j.skewY=0);1E-6>j.skewX&&-1E-6<j.skewX&&(j.skewX=0);1E-6>j.rotation&&-1E-6<j.rotation&&(j.rotation=0)}r=b.z||b.rotationX||b.rotationY||j.z||j.rotationX||j.rotationY||j.perspective;!r&&null!=j.scale&&(j.scaleZ=+1);if(R){if(g){L=!0;if(""===i.zIndex&&(k=M(a,"zIndex",l),"auto"===k||""===k))i.zIndex=0;n&&(i.WebkitBackfaceVisibility=f.WebkitBackfaceVisibility||(r?"visible":"hidden"))}}else i.zoom=1;m=new O(a,"transform",0,0,m,2);m.setRatio=r&&X?xa:R?ya:wa;m.plugin=p;m.data=b;for(d.pop();-1<--h;)if(c=ra[h],z=j[c]-b[c],1E-6<z||-1E-6>z||null!=t[c])m=new O(b,c,b[c],z,m),m.xs0=0,m.plugin=p,e._overwriteProps.push(m.n);if((z=f.transformOrigin)||X&&r&&b.zOrigin)R?(z=(z||M(a,c,l,!1,"50% 50%"))+"",c=sa,m=new O(i,c,0,0,+m,-1,"css_transformOrigin"),m.b=i[c],m.plugin=p,X?(k=b.zOrigin,z=z.split(" "),b.zOrigin=(2<z.length?parseFloat(z[2]):k)||0,m.xs0=m.e=i[c]=z[0]+" "+(z[1]||"50%")+" 0px",m=new O(b,"zOrigin",0,0,m,-1,m.n),m.b=k,m.xs0=m.e=b.zOrigin):m.xs0=m.e=i[c]=z):ia(z+"",b);return m.t===a?(m._next&&(m._next._prev=null),m._next):m},!0);K("boxShadow","0px 0px 0px 0px #999",null,!0,!0);K("borderRadius","0px",function(a,g,b,c,d){var g=this.format(g),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius",+"borderBottomLeftRadius"],e=a.style,n,m,f,p,i,h,k,z,r,q,E,s;z=parseFloat(a.offsetWidth);r=parseFloat(a.offsetHeight);g=g.split(" ");for(n=0;n<c.length;n++)this.p.indexOf("border")&&(c[n]=aa(c[n])),p=f=M(a,c[n],l,!1,"0px"),-1!==p.indexOf(" ")&&(f=p.split(" "),p=f[0],f=f[1]),i=m=g[n],h=parseFloat(p),E=p.substr((h+"").length),(s="="===i.charAt(1))?(k=parseInt(i.charAt(0)+"1"),i=i.substr(2),k*=parseFloat(i),q=i.substr((k+"").length-(0>k?1:0))||""):(k=parseFloat(i),q=i.substr((k+"").length)),""===q&&(q=+j[b]||E),q!==E&&(p=T(a,"borderLeft",h,E),h=T(a,"borderTop",h,E),"%"===q?(p=100*(p/z)+"%",f=100*(h/r)+"%"):"em"===q?(E=T(a,"borderLeft",1,"em"),p=p/E+"em",f=h/E+"em"):(p+="px",f=h+"px"),s&&(i=parseFloat(p)+k+q,m=parseFloat(f)+k+q)),d=ea(e,c[n],p+" "+f,i+" "+m,!1,"0px",d);return d},!0,!1,pa("0px 0px 0px 0px",!1,!0));K("backgroundPosition","0 0",function(a,g,b,c,d,n){var b=l||ba(a,null),b=this.format((b?z?b.getPropertyValue("background-position-x")+" "+b.getPropertyValue("background-position-y"):b.getPropertyValue("background-position"):+a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),g=this.format(g),e,m,f,p;if(-1!==b.indexOf("%")!==(-1!==g.indexOf("%"))){c=b.split(" ");e=g.split(" ");B.setAttribute("src",M(a,"backgroundImage").replace(w,""));for(m=2;-1<--m;)b=c[m],f=-1!==b.indexOf("%"),f!==(-1!==e[m].indexOf("%"))&&(p=0===m?a.offsetWidth-B.width:a.offsetHeight-B.height,c[m]=f?parseFloat(b)/100*p+"px":100*(parseFloat(b)/p)+"%");b=c.join(" ")}return this.parseComplex(a.style,b,g,d,n)},!1,!1,ia);+K("backgroundSize","0 0",null,!1,!1,ia);K("perspective","0px",null,!0);K("perspectiveOrigin","50% 50%",null,!0);K("transformStyle","preserve-3d",null,!0);K("margin",null,u("marginTop,marginRight,marginBottom,marginLeft"));K("padding",null,u("paddingTop,paddingRight,paddingBottom,paddingLeft"));K("clip","rect(0px,0px,0px,0px)");K("textShadow","0px 0px 0px #999",null,!1,!0);K("autoRound",null,function(a,g,b,c,d){return d});K("border","0px solid #000",function(a,g,b,c,d,n){return this.parseComplex(a.style,+this.format(M(a,"borderTopWidth",l,!1,"0px")+" "+M(a,"borderTopStyle",l,!1,"solid")+" "+M(a,"borderTopColor",l,!1,"#000")),this.format(g),d,n)},!1,!0,function(a){var g=a.split(" ");return g[0]+" "+(g[1]||"solid")+" "+(a.match(W)||["#000"])[0]});var za=function(a){var g=this.t,a=this.s+this.c*a,b;100===a&&(g.removeAttribute("filter"),b=!M(this.data,"filter"));b||(this.xn1&&(g.filter=g.filter||"alpha(opacity=100)"),g.filter=-1===g.filter.indexOf("opacity")?g.filter+(" alpha(opacity="+(a>>0)+")"):g.filter.replace(J,+"opacity="+(a>>0)))};K("opacity,alpha,autoAlpha","1",function(a,g,b,c,d,n){var e=parseFloat(M(a,"opacity",l,!1,"1")),g=parseFloat(g),m=a.style,f;"autoAlpha"===b&&(f=M(a,"visibility",l),1===e&&"hidden"===f&&(e=0),d=new O(m,"visibility",0,0,d,-1,null,!1,0,0!==e?"visible":"hidden",0===g?"hidden":"visible"),d.xs0="visible",c._overwriteProps.push(d.n));E?d=new O(m,"opacity",e,g-e,d):(d=new O(m,"opacity",100*e,100*(g-e),d),d.xn1="autoAlpha"===b?1:0,m.zoom=1,d.type=2,d.b="alpha(opacity="+d.s+")",d.e="alpha(opacity="++(d.s+d.c)+")",d.data=a,d.plugin=n,d.setRatio=za);return d});var Aa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,g=this.t.style,b=g.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)g[a.p]=a.v;else g[b](a.p.replace(G,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};K("className",null,function(a,g,b,c,d,e,n){var m=a.className,f=a.style.cssText,d=c._classNamePT=new O(a,b,0,0,d,2);d.setRatio=Aa;d.b=m;d.e="="!==+g.charAt(1)?g:"+"===g.charAt(0)?m+" "+g.substr(2):m.split(g.substr(2)).join("");c._tween._duration&&(g=da(a,l,!0),a.className=d.e,n=na(a,g,da(a),n),a.className=m,d.data=n.firstMPT,a.style.cssText=f,d=d.xfirst=c.parse(a,n.difs,d,e));return d});b=["bezier","throwProps","physicsProps","physics2D"];for(P=b.length;P--;)C(b[P]);b=s.prototype;b._firstPT=null;b._onInitTween=function(a,g,b){if(!a.nodeType)return!1;this._target=a;this._tween=b;N=g.autoRound;f=!1;j=g.suffixMap||s.suffixMap;l=ba(a,"");d=this._overwriteProps;+var b=a.style,c,n,e;if(L&&""===b.zIndex&&(c=M(a,"zIndex",l),"auto"===c||""===c))b.zIndex=0;"string"===typeof g&&(n=b.cssText,c=da(a,l),b.cssText=n+";"+g,c=na(a,c,da(a)).difs,!E&&Y.test(g)&&(c.opacity=parseFloat(RegExp.$1)),g=c,b.cssText=n);this._firstPT=a=this.parse(a,g,null);if(f){for(;a;){b=a._next;for(g=n;g&&g.pr>a.pr;)g=g._next;(a._prev=g?g._prev:e)?a._prev._next=a:n=a;(a._next=g)?g._prev=a:e=a;a=b}this._firstPT=n}return!0};b.parse=function(a,g,b,c){var d=a.style,n,e,m,f,p,i,h,k;for(n in g){p=+g[n];if(e=v[n])b=e.parse(a,p,n,this,b,c,g);else if(e=M(a,n,l)+"",h="string"===typeof p,"color"===n||"fill"===n||"stroke"===n||-1!==n.indexOf("Color")||h&&!p.indexOf("rgb"))h||(p=ka(p),p=(3<p.length?"rgba(":"rgb(")+p.join(",")+")"),b=ea(d,n,e,p,!0,"transparent",b,0,c);else if(h&&(-1!==p.indexOf(" ")||-1!==p.indexOf(",")))b=ea(d,n,e,p,!0,null,b,0,c);else{m=parseFloat(e);i=e.substr((m+"").length);if(""===e||"auto"===e)if("width"===n||"height"===n){m=a;k=n;f=l;i=parseFloat("width"===k?m.offsetWidth:m.offsetHeight);+k=ta[k];var z=k.length;for(f=f||ba(m,null);-1<--z;)i-=parseFloat(M(m,"padding"+k[z],f,!0))||0,i-=parseFloat(M(m,"border"+k[z]+"Width",f,!0))||0;m=i;i="px"}else m="opacity"!==n?0:1,i="";(k=h&&"="===p.charAt(1))?(f=parseInt(p.charAt(0)+"1"),p=p.substr(2),f*=parseFloat(p),h=p.substr((f+"").length-(0>f?1:0))||""):(f=parseFloat(p),h=h?p.substr((f+"").length)||"":"");""===h&&(h=j[n]||i);p=f||0===f?(k?f+m:f)+h:g[n];if(i!==h&&""!==h&&(f||0===f))if(m||0===m)if(m=T(a,n,m,i),"%"===h?(m/=T(a,n,100,"%")/100,100<+m&&(m=100)):"em"===h?m/=T(a,n,1,"em"):(f=T(a,n,f,h),h="px"),k&&(f||0===f))p=f+m+h;k&&(f+=m);(m||0===m)&&(f||0===f)?(b=new O(d,n,m,f-m,b,0,"css_"+n,!1!==N&&("px"===h||"zIndex"===n),0,e,p),b.xs0=h):(b=new O(d,n,f||m||0,0,b,-1,"css_"+n,!1,0,e,p),b.xs0="display"===n&&"none"===p?e:p)}c&&(b&&!b.plugin)&&(b.plugin=c)}return b};b.setRatio=function(a){var g=this._firstPT,b,c;if(1===a&&(this._tween._time===this._tween._duration||0===this._tween._time))for(;g;)2!==g.type?g.t[g.p]=g.e:g.setRatio(a),g=g._next;+else if(a||!(this._tween._time===this._tween._duration||0===this._tween._time)||-1E-6===this._tween._rawPrevTime)for(;g;){b=g.c*a+g.s;g.r?b=0<b?b+0.5>>0:b-0.5>>0:1E-6>b&&-1E-6<b&&(b=0);if(g.type)if(1===g.type)if(c=g.l,2===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2;else if(3===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3;else if(4===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4;else if(5===c)g.t[g.p]=g.xs0+b+g.xs1+g.xn1+g.xs2+g.xn2+g.xs3+g.xn3+g.xs4+g.xn4+g.xs5;else{b=g.xs0+b+g.xs1;for(c=+1;c<g.l;c++)b+=g["xn"+c]+g["xs"+(c+1)];g.t[g.p]=b}else-1===g.type?g.t[g.p]=g.xs0:g.setRatio&&g.setRatio(a);else g.t[g.p]=b+g.xs0;g=g._next}else for(;g;)2!==g.type?g.t[g.p]=g.b:g.setRatio(a),g=g._next};b._linkCSSP=function(a,g,b){a&&(g&&(g._prev=a),a._next&&(a._next._prev=a._prev),b&&(b._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=g,a._prev=b);return a};b._kill=function(a){var g=a,b=!1,c,d;if(a.css_autoAlpha||a.css_alpha){g={};for(d in a)g[d]=a[d];g.css_opacity=+1;g.css_autoAlpha&&(g.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,b=!0;return q.prototype._kill.call(this,g)||b};q.activate([s]);return s},!0);_gsDefine("plugins.RoundPropsPlugin",["plugins.TweenPlugin"],+function(q){var s=function(){q.call(this,"roundProps",-1);this._overwriteProps.length=0},f=s.prototype=new q("roundProps",-1);f.constructor=s;s.API=2;f._onInitTween=function(f,l,d){this._tween=d;return!0};f._onInitAllProps=function(){for(var f=this._tween,l=f.vars.roundProps instanceof Array?f.vars.roundProps:f.vars.roundProps.split(","),d=l.length,q={},b=f._propLookup.roundProps,a,s,c;-1<--d;)q[l[d]]=1;for(d=l.length;-1<--d;){a=l[d];for(s=f._firstPT;s;)c=s._next,s.pg?s.t._roundProps(q,!0):s.n===+a&&(this._add(s.t,a,s.s,s.c),c&&(c._prev=s._prev),s._prev?s._prev._next=c:f._firstPT===s&&(f._firstPT=c),s._next=s._prev=null,f._propLookup[a]=b),s=c}return!1};f._add=function(f,l,d,q){this._addTween(f,l,d,d+q,l,!0);this._overwriteProps.push(l)};q.activate([s]);return s},!0);_gsDefine("easing.Back",["easing.Ease"],function(q){var s=window.com.greensock._class,f=function(a,b){var c=s("easing."+a,function(){},!0),d=c.prototype=new q;d.constructor=c;d.getRatio=b;return c},j=function(a,b){var c=s("easing."++a,function(a){this._p1=a||0===a?a:1.70158;this._p2=1.525*this._p1},!0),d=c.prototype=new q;d.constructor=c;d.getRatio=b;d.config=function(a){return new c(a)};return c},l=j("BackOut",function(a){return(a-=1)*a*((this._p1+1)*a+this._p1)+1}),d=j("BackIn",function(a){return a*a*((this._p1+1)*a-this._p1)}),j=j("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)}),v=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}),b=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}),F=f("CircOut",function(a){return Math.sqrt(1-(a-=1)*a)}),c=f("CircIn",function(a){return-(Math.sqrt(1-a*a)-1)}),e=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)}),i=2*Math.PI,J=function(a,b,c){var d=s("easing."+a,function(a,b){this._p1=a||1;this._p2=b||c;this._p3=this._p2/i*(Math.asin(1/this._p1)||0)},!0),a=d.prototype=new q;a.constructor=d;a.getRatio=b;a.config=function(a,b){return new d(a,b)};return d},Y=J("ElasticOut",function(a){return this._p1*+Math.pow(2,-10*a)*Math.sin((a-this._p3)*i/this._p2)+1},0.3),G=J("ElasticIn",function(a){return-(this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2))},0.3),J=J("ElasticInOut",function(a){return 1>(a*=2)?-0.5*this._p1*Math.pow(2,10*(a-=1))*Math.sin((a-this._p3)*i/this._p2):0.5*this._p1*Math.pow(2,-10*(a-=1))*Math.sin((a-this._p3)*i/this._p2)+1},0.45),h=f("ExpoOut",function(a){return 1-Math.pow(2,-10*a)}),w=f("ExpoIn",function(a){return Math.pow(2,10*(a-1))-0.001}),r=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)))}),A=Math.PI/2,k=f("SineOut",function(a){return Math.sin(a*A)}),U=f("SineIn",function(a){return-Math.cos(a*A)+1}),f=f("SineInOut",function(a){return-0.5*(Math.cos(Math.PI*a)-1)}),I=s("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),D=I.prototype=new q;D.constructor=I;D.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};I.ease=new I(0.7,0.7);D.config=I.config=function(a,b,c){return new I(a,b,c)};var t=s("easing.SteppedEase",function(a){a=a||1;this._p1=1/a;this._p2=a+1},!0),D=t.prototype=new q;D.constructor=t;D.getRatio=function(a){0>a?a=0:1<=a&&(a=0.999999999);return(this._p2*a>>0)*this._p1};D.config=t.config=function(a){return new t(a)};+s("easing.Bounce",{easeOut:new v,easeIn:new b,easeInOut:new a},!0);s("easing.Circ",{easeOut:new F,easeIn:new c,easeInOut:new e},!0);s("easing.Elastic",{easeOut:new Y,easeIn:new G,easeInOut:new J},!0);s("easing.Expo",{easeOut:new h,easeIn:new w,easeInOut:new r},!0);s("easing.Sine",{easeOut:new k,easeIn:new U,easeInOut:new f},!0);return{easeOut:new l,easeIn:new d,easeInOut:new j}},!0)});+(function(q){var s=function(a){var a=a.split("."),b=q,c;for(c=0;c<a.length;c++)b[a[c]]=b=b[a[c]]||{};return b},f=s("com.greensock"),j,l,d,v,b,a={},F=function(g,b,c,d){this.sc=a[g]?a[g].sc:[];a[g]=this;this.gsClass=null;this.def=c;var e=b||[],f=[];this.check=function(b){for(var m=e.length,i=0,h;-1<--m;)(h=a[e[m]]||new F(e[m])).gsClass?f[m]=h.gsClass:(i++,b&&h.sc.push(this));if(0===i&&c){var b=("com.greensock."+g).split("."),m=b.pop(),j=s(b.join("."))[m]=this.gsClass=c.apply(c,f);d&&((q.GreenSockGlobals||+q)[m]=j,"function"===typeof define&&define.amd?define((q.GreenSockAMDPath?q.GreenSockAMDPath+"/":"")+g.split(".").join("/"),[],function(){return j}):"undefined"!==typeof module&&module.exports&&(module.exports=j));for(m=0;m<this.sc.length;m++)this.sc[m].check(!1)}};this.check(!0)},c=f._class=function(a,b,c){b=b||function(){};new F(a,[],function(){return b},c);return b};q._gsDefine=function(a,b,c,d){return new F(a,b,c,d)};var e=[0,0,1,1],i=[],J=c("easing.Ease",function(a,b,c,d){this._func=a;this._type=+c||0;this._power=d||0;this._params=b?e.concat(b):e},!0);d=J.prototype;d._calcEnd=!1;d.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};j=["Linear","Quad","Cubic","Quart","Quint"];for(l=j.length;-1<--l;)d=c("easing."+j[l],null,!0),v=c("easing.Power"+l,null,!0),d.easeOut=v.easeOut=new J(null,+null,1,l),d.easeIn=v.easeIn=new J(null,null,2,l),d.easeInOut=v.easeInOut=new J(null,null,3,l);c("easing.Strong",f.easing.Power4,!0);f.easing.Linear.easeNone=f.easing.Linear.easeIn;var Y=c("events.EventDispatcher",function(a){this._listeners={};this._eventTarget=a||this});d=Y.prototype;d.addEventListener=function(a,b,c,d,e){var e=e||0,f=this._listeners[a],i=0,h;null==f&&(this._listeners[a]=f=[]);for(h=f.length;-1<--h;)a=f[h],a.c===b?f.splice(h,1):0===i&&a.pr<e&&(i=h+1);f.splice(i,0,{c:b,s:c,up:d,pr:e})};+d.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}};d.dispatchEvent=function(a){var b=this._listeners[a];if(b)for(var c=b.length,d=this._eventTarget,e;-1<--c;)e=b[c],e.up?e.c.call(e.s||d,{type:a,target:d}):e.c.call(e.s||d)};var G=q.requestAnimationFrame,h=q.cancelAnimationFrame,w=Date.now||function(){return(new Date).getTime()};j=["ms","moz","webkit","o"];for(l=j.length;-1<--l&&!G;)G=q[j[l]+"RequestAnimationFrame"],h=q[j[l]++"CancelAnimationFrame"]||q[j[l]+"CancelRequestAnimationFrame"];c("Ticker",function(a,b){var c=this,d=w(),e=!1!==b&&G,f,i,j,k,l,p=function(){null!=j&&(!e||!h?q.clearTimeout(j):h(j),j=null)},r=function(a){c.time=(w()-d)/1E3;if(!f||c.time>=l||!0===a)c.frame++,l=c.time>l?c.time+k-(c.time-l):c.time+k-0.001,l<c.time+0.001&&(l=c.time+0.001),c.dispatchEvent("tick");!0!==a&&(j=i(r))};Y.call(c);this.time=this.frame=0;this.tick=function(){r(!0)};this.fps=function(a){if(!arguments.length)return f;f=a;k=1/(f||+60);l=this.time+k;i=0===f?function(){}:!e||!G?function(a){return q.setTimeout(a,1E3*(l-c.time)+1>>0||1)}:G;p();j=i(r)};this.useRAF=function(a){if(!arguments.length)return e;p();e=a;c.fps(f)};c.fps(a);q.setTimeout(function(){e&&!j&&c.useRAF(!1)},1E3)});d=f.Ticker.prototype=new f.events.EventDispatcher;d.constructor=f.Ticker;var r=c("core.Animation",function(a,c){this.vars=c||{};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(B){b||(A.tick(),b=!0);var d=this.vars.useFrames?x:B;d.insert(this,d._time);this.vars.paused&&this.paused(!0)}}),A=r.ticker=new f.Ticker;d=r.prototype;d._dirty=d._gc=d._initted=d._paused=!1;d._totalTime=d._time=0;d._rawPrevTime=-1;d._next=d._last=d._onUpdate=d._timeline=d.timeline=null;d._paused=!1;d.play=function(a,b){arguments.length&&this.seek(a,b);this.reversed(!1);return this.paused(!1)};d.pause=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!0)};d.resume=function(a,b){arguments.length&&this.seek(a,b);return this.paused(!1)};d.seek=function(a,b){return this.totalTime(Number(a),!1!=b)};d.restart=function(a,b){this.reversed(!1);this.paused(!1);return this.totalTime(a?-this._delay:0,!1!==b)};d.reverse=function(a,b){arguments.length&&this.seek(a||this.totalDuration(),b);this.reversed(!0);return this.paused(!1)};d.render=function(){};d.invalidate=function(){return this};d._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};d._kill=function(){return this._enabled(!1,!1)};d.kill=function(a,b){this._kill(a,b);return this};d._uncache=function(a){for(a=a?this:this.timeline;a;)a._dirty=!0,a=a.timeline;return this};d.eventCallback=function(a,b,c,d){if(null==a)return null;if("on"===a.substr(0,2)){if(1===arguments.length)return this.vars[a];if(null==b)delete this.vars[a];else if(this.vars[a]=b,this.vars[a+"Params"]=c,this.vars[a+"Scope"]=d,c)for(var e=c.length;-1<--e;)"{self}"===c[e]&&(c=this.vars[a+"Params"]=c.concat(),c[e]=this);"onUpdate"===a&&(this._onUpdate=b)}return this};d.delay=function(a){if(!arguments.length)return this._delay;this._timeline.smoothChildTiming&&this.startTime(this._startTime+a-this._delay);this._delay=a;return this};d.duration=function(a){if(!arguments.length)return this._dirty=@@ -146,28 +147,28 @@ this._active=a&&!this._paused&&0<this._totalTime&&this._totalTime<this._totalDurb){if(!arguments.length)return this._totalTime;if(this._timeline){0>a&&(a+=this.totalDuration());if(this._timeline.smoothChildTiming&&(this._dirty&&this.totalDuration(),a>this._totalDuration&&(a=this._totalDuration),this._startTime=(this._paused?this._pauseTime:this._timeline._time)-(!this._reversed?a:this._totalDuration-a)/this._timeScale,this._timeline._dirty||this._uncache(!1),!this._timeline._active))for(var c=this._timeline;c._timeline;)c.totalTime(c._totalTime,!0),c=c._timeline;this._gc&&this._enabled(!0,!1);this._totalTime!==a&&this.render(a,b,!1)}return this};d.startTime=function(a){if(!arguments.length)return this._startTime;a!=this._startTime&&(this._startTime=a,this.timeline&&this.timeline._sortChildren&&this.timeline.insert(this,a-this._delay));return this};d.timeScale=function(a){if(!arguments.length)return this._timeScale;a=a||1E-6;if(this._timeline&&this._timeline.smoothChildTiming){var b=this._pauseTime||0===this._pauseTime?this._pauseTime:this._timeline._totalTime;this._startTime=b-(b-this._startTime)*this._timeScale/a}this._timeScale=a;return this._uncache(!1)};d.reversed=function(a){if(!arguments.length)return this._reversed;a!==this._reversed&&(this._reversed=a,this.totalTime(this._totalTime,!0));return this};d.paused=function(a){if(!arguments.length)return this._paused;a!==this._paused&&this._timeline&&(!a&&this._timeline.smoothChildTiming&&(this._startTime+=this._timeline.rawTime()-this._pauseTime,this._uncache(!1)),this._pauseTime=a?this._timeline.rawTime():null,this._paused=-a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};f=c("core.SimpleTimeline",function(a){p.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});d=f.prototype=new p;d.constructor=f;d.kill()._gc=!1;d._first=d._last=null;d._sortChildren=!1;d.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&+a,this._active=!this._paused&&0<this._totalTime&&this._totalTime<this._totalDuration);this._gc&&(a||this._enabled(!0,!1));return this};f=c("core.SimpleTimeline",function(a){r.call(this,0,a);this.autoRemoveChildren=this.smoothChildTiming=!0});d=f.prototype=new r;d.constructor=f;d.kill()._gc=!1;d._first=d._last=null;d._sortChildren=!1;d.insert=function(a,b){a._startTime=Number(b||0)+a._delay;a._paused&&this!==a._timeline&&(a._pauseTime=a._startTime+(this.rawTime()-a._startTime)/a._timeScale);a.timeline&&a.timeline._remove(a,!0);a.timeline=a._timeline=this;a._gc&&a._enabled(!0,!0);var c=this._last;if(this._sortChildren)for(var d=a._startTime;c&&c._startTime>d;)c=c._prev;c?(a._next=c._next,c._next=a):(a._next=this._first,this._first=a);a._next?a._next._prev=a:this._last=a;a._prev=c;this._timeline&&this._uncache(!0);return this};d._remove=function(a,b){a.timeline===this&&(b||a._enabled(!1,!0),a.timeline=null,a._prev?a._prev._next=a._next:this._first===a&&(this._first=a._next),a._next?a._next._prev=-a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};d.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};d.rawTime=function(){return this._totalTime};var r=c("TweenLite",function(a,b,c){p.call(this,b,c);if(null==-a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?j[r.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:j[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=-D(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&A(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=D(a,this,!1),1===this._overwrite&&1<this._siblings.length&&A(a,this,null,1,this._siblings);(this.vars.immediateRender||0===b&&0===this._delay&&!1!==this.vars.immediateRender)&&this.render(-this._delay,!1,!0)},!0);d=r.prototype=new p;d.constructor=r;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;r.version=1.651;-r.defaultEase=d._ease=new J(null,null,1,1);r.defaultOverwrite="auto";r.ticker=C;var P=r._plugins={},I=r._tweenLookup={},E=0,y={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,orientToBezier:1,immediateRender:1,repeat:1,-repeatDelay:1,data:1,paused:1,reversed:1},j={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},x=p._rootFramesTimeline=new f,t=p._rootTimeline=new f;t._startTime=C.time;x._startTime=C.frame;t._active=x._active=!0;p._updateRoot=function(){t.render((C.time-t._startTime)*t._timeScale,!1,!1);x.render((C.frame-x._startTime)*x._timeScale,!1,!1);if(!(C.frame%120)){var a,b,c;for(c in I){b=I[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete I[c]}}};-C.addEventListener("tick",p._updateRoot);var D=function(a,b,c){var d=a._gsTweenID,e;if(!I[d||(a._gsTweenID=d="t"+E++)])I[d]={target:a,tweens:[]};if(b&&(a=I[d].tweens,a[e=a.length]=b,c))for(;-1<--e;)a[e]===b&&a.splice(e,1);return I[d].tweens},A=function(a,b,c,d,e){var f,i,h;if(1===d||4<=d){a=e.length;for(f=0;f<a;f++)if((h=e[f])!==b)h._gc||h._enabled(!1,!1)&&(i=!0);else if(5===d)break;return i}var j=b._startTime+1E-10,k=[],l=0,n=0===b._duration,p;for(f=e.length;-1<--f;)if(!((h=e[f])===b||h._gc||h._paused))h._timeline!==-b._timeline?(p=p||Q(b,0,n),0===Q(h,p,n)&&(k[l++]=h)):h._startTime<=j&&h._startTime+h.totalDuration()/h._timeScale+1E-10>j&&((n||!h._initted)&&2E-10>=j-h._startTime||(k[l++]=h));for(f=l;-1<--f;)if(h=k[f],2===d&&h._kill(c,a)&&(i=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(i=!0);return i},Q=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){f+=d._startTime;e*=d._timeScale;if(d._paused)return-100;d=d._timeline}f/=e;return f>b?f-b:c&&f===b||!a._initted&&2E-10>-f-b?1E-10:(f+=a.totalDuration()/a._timeScale/e)>b?0:f-b-1E-10};d._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,r.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof J?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 J(this.vars.ease,this.vars.easeParams):r.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&&r._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};d._initProps=function(a,b,c,d){var e,f,h,i,j,k;if(null==a)return!1;for(e in this.vars){if(y[e]){if("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)if(j=this.vars[e])for(f=j.length;-1<--f;)"{self}"===j[f]&&(j=this.vars[e]=j.concat(),j[f]=this)}else if(P[e]&&(i=new P[e])._onInitTween(a,this.vars[e],this)){this._firstPT=k={_next:this._firstPT,t:i,p:"setRatio",-s:0,c:1,f:!0,n:e,pg:!0,pr:i._priority};for(f=i._overwriteProps.length;-1<--f;)b[i._overwriteProps[f]]=this._firstPT;if(i._priority||i._onInitAllProps)h=!0;if(i._onDisable||i._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[e]=k={_next:this._firstPT,t:a,p:e,f:"function"===typeof a[e],n:e,pg:!1,pr:0},k.s=!k.f?parseFloat(a[e]):a[e.indexOf("set")||"function"!==typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)](),f=this.vars[e],k.c="number"===typeof f?f-k.s:"string"===typeof f&&"="===f.charAt(1)?-parseInt(f.charAt(0)+"1")*Number(f.substr(2)):Number(f)||0;k&&k._next&&(k._next._prev=k)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&A(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):h};d.render=function(a,b,c){var d=this._time,e,f;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(e=!0,f="onComplete"),0===this._duration){if(0===a||0>+a._prev:this._last===a&&(this._last=a._prev),this._timeline&&this._uncache(!0));return this};d.render=function(a,b){var c=this._first,d;for(this._totalTime=this._time=this._rawPrevTime=a;c;){d=c._next;if(c._active||a>=c._startTime&&!c._paused)c._reversed?c.render((!c._dirty?c._totalDuration:c.totalDuration())-(a-c._startTime)*c._timeScale,b,!1):c.render((a-c._startTime)*c._timeScale,b,!1);c=d}};d.rawTime=function(){return this._totalTime};var k=c("TweenLite",function(a,b,c){r.call(this,b,c);if(null==+a)throw"Cannot tween an undefined reference.";this.target=a;this._overwrite=null==this.vars.overwrite?p[k.defaultOverwrite]:"number"===typeof this.vars.overwrite?this.vars.overwrite>>0:p[this.vars.overwrite];if((a instanceof Array||a.jquery)&&"object"===typeof a[0]){this._targets=a.slice(0);this._propLookup=[];this._siblings=[];for(a=0;a<this._targets.length;a++)c=this._targets[a],c.jquery?(this._targets.splice(a--,1),this._targets=this._targets.concat(c.constructor.makeArray(c))):(this._siblings[a]=+C(c,this,!1),1===this._overwrite&&1<this._siblings[a].length&&u(c,this,null,1,this._siblings[a]))}else this._propLookup={},this._siblings=C(a,this,!1),1===this._overwrite&&1<this._siblings.length&&u(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);d=k.prototype=new r;d.constructor=k;d.kill()._gc=!1;d.ratio=0;d._firstPT=d._targets=d._overwrittenProps=null;d._notifyPluginsOfEnabled=!1;k.version=1.651;+k.defaultEase=d._ease=new J(null,null,1,1);k.defaultOverwrite="auto";k.ticker=A;var U=k._plugins={},I=k._tweenLookup={},D=0,t={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},p={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,"true":1,"false":0},x=r._rootFramesTimeline=new f,B=r._rootTimeline=new f;B._startTime=A.time;x._startTime=A.frame;B._active=x._active=!0;r._updateRoot=function(){B.render((A.time-B._startTime)*B._timeScale,!1,!1);x.render((A.frame-x._startTime)*x._timeScale,!1,!1);if(!(A.frame%120)){var a,b,c;for(c in I){b=I[c].tweens;for(a=b.length;-1<--a;)b[a]._gc&&b.splice(a,1);0===b.length&&delete I[c]}}};+A.addEventListener("tick",r._updateRoot);var C=function(a,b,c){var d=a._gsTweenID,e;if(!I[d||(a._gsTweenID=d="t"+D++)])I[d]={target:a,tweens:[]};if(b&&(a=I[d].tweens,a[e=a.length]=b,c))for(;-1<--e;)a[e]===b&&a.splice(e,1);return I[d].tweens},u=function(a,b,c,d,e){var f,i,h;if(1===d||4<=d){a=e.length;for(f=0;f<a;f++)if((h=e[f])!==b)h._gc||h._enabled(!1,!1)&&(i=!0);else if(5===d)break;return i}var j=b._startTime+1E-10,k=[],l=0,p=0===b._duration,q;for(f=e.length;-1<--f;)if(!((h=e[f])===b||h._gc||h._paused))h._timeline!==+b._timeline?(q=q||N(b,0,p),0===N(h,q,p)&&(k[l++]=h)):h._startTime<=j&&h._startTime+h.totalDuration()/h._timeScale+1E-10>j&&((p||!h._initted)&&2E-10>=j-h._startTime||(k[l++]=h));for(f=l;-1<--f;)if(h=k[f],2===d&&h._kill(c,a)&&(i=!0),2!==d||!h._firstPT&&h._initted)h._enabled(!1,!1)&&(i=!0);return i},N=function(a,b,c){for(var d=a._timeline,e=d._timeScale,f=a._startTime;d._timeline;){f+=d._startTime;e*=d._timeScale;if(d._paused)return-100;d=d._timeline}f/=e;return f>b?f-b:c&&f===b||!a._initted&&2E-10>+f-b?1E-10:(f+=a.totalDuration()/a._timeScale/e)>b?0:f-b-1E-10};d._init=function(){this.vars.startAt&&(this.vars.startAt.overwrite=0,this.vars.startAt.immediateRender=!0,k.to(this.target,0,this.vars.startAt));var a,b;this._ease=this.vars.ease instanceof J?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 J(this.vars.ease,this.vars.easeParams):k.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&&k._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};d._initProps=function(a,b,c,d){var e,f,i,h,j,k;if(null==a)return!1;for(e in this.vars){if(t[e]){if("onStartParams"===e||"onUpdateParams"===e||"onCompleteParams"===e||"onReverseCompleteParams"===e||"onRepeatParams"===e)if(j=this.vars[e])for(f=j.length;-1<--f;)"{self}"===j[f]&&(j=this.vars[e]=j.concat(),j[f]=this)}else if(U[e]&&(h=new U[e])._onInitTween(a,this.vars[e],this)){this._firstPT=k={_next:this._firstPT,t:h,p:"setRatio",+s:0,c:1,f:!0,n:e,pg:!0,pr:h._priority};for(f=h._overwriteProps.length;-1<--f;)b[h._overwriteProps[f]]=this._firstPT;if(h._priority||h._onInitAllProps)i=!0;if(h._onDisable||h._onEnable)this._notifyPluginsOfEnabled=!0}else this._firstPT=b[e]=k={_next:this._firstPT,t:a,p:e,f:"function"===typeof a[e],n:e,pg:!1,pr:0},k.s=!k.f?parseFloat(a[e]):a[e.indexOf("set")||"function"!==typeof a["get"+e.substr(3)]?e:"get"+e.substr(3)](),f=this.vars[e],k.c="number"===typeof f?f-k.s:"string"===typeof f&&"="===f.charAt(1)?+parseInt(f.charAt(0)+"1")*Number(f.substr(2)):Number(f)||0;k&&k._next&&(k._next._prev=k)}return d&&this._kill(d,a)?this._initProps(a,b,c,d):1<this._overwrite&&this._firstPT&&1<c.length&&u(a,this,b,this._overwrite,c)?(this._kill(b,a),this._initProps(a,b,c,d)):i};d.render=function(a,b,c){var d=this._time,e,f;if(a>=this._duration){if(this._totalTime=this._time=this._duration,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(e=!0,f="onComplete"),0===this._duration){if(0===a||0>this._rawPrevTime)this._rawPrevTime!==a&&(c=!0);this._rawPrevTime=a}}else if(0>=a){this._totalTime=this._time=0;this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0;if(0!==d||0===this._duration&&0<this._rawPrevTime)f="onReverseComplete",e=this._reversed;0>a?(this._active=!1,0===this._duration&&(0<=this._rawPrevTime&&(c=!0),this._rawPrevTime=a)):this._initted||(c=!0)}else if(this._totalTime=this._time=a,this._easeType){var h=a/this._duration,j=this._easeType,k=this._easePower;if(1===j||3===j&&0.5<=h)h=1-h;3===j&&(h*=2);1===k?h*=h:2===k?h*=h*h:3===k?h*=h*h*h:4===k&&(h*=h*h*h*h);this.ratio=1===j?1-h:2===j?h:0.5>a/this._duration?h/2:1-h/2}else this.ratio=this._ease.getRatio(a/this._duration);if(this._time!==d||c){this._initted||(this._init(),!e&&this._time&&(this.ratio=this._ease.getRatio(this._time/this._duration)));!this._active&&!this._paused&&(this._active=!0);if(0===d&&this.vars.onStart&&(0!==this._time||0===this._duration))b||this.vars.onStart.apply(this.vars.onStartScope||this,this.vars.onStartParams||i);for(a=this._firstPT;a;){if(a.f)a.t[a.p](a.c*this.ratio+a.s);else a.t[a.p]=a.c*this.ratio+a.s;a=a._next}this._onUpdate&&(b||this._onUpdate.apply(this.vars.onUpdateScope||this,this.vars.onUpdateParams||i));f&&!this._gc&&(e&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),b||this.vars[f]&&this.vars[f].apply(this.vars[f+"Scope"]||this,this.vars[f+"Params"]||i))}};d._kill=function(a,b){"all"===a&&(a=null);if(null==a&&(null==b||b==this.target))return this._enabled(!1,!1);var b=b||this._targets||this.target,c,d,e,f,h,i,j;if((b instanceof Array||b.jquery)&&"object"===typeof b[0])for(c=b.length;-1<--c;)this._kill(a,b[c])&&(h=!0);else{if(this._targets)for(c=this._targets.length;-1<--c;){if(b===this._targets[c]){f=this._propLookup[c]||{};this._overwrittenProps=this._overwrittenProps||[];d=this._overwrittenProps[c]=a?this._overwrittenProps[c]||{}:"all";break}}else{if(b!==this.target)return!1;f=this._propLookup;d=this._overwrittenProps=a?this._overwrittenProps||{}:"all"}if(f)for(e in i=-a||f,j=a!=d&&"all"!=d&&a!=f&&(null==a||!0!=a._tempKill),i){if(c=f[e]){c.pg&&c.t._kill(i)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete f[e]}j&&(d[e]=1)}}return h};d.invalidate=function(){this._notifyPluginsOfEnabled&&r._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=-!1;this._propLookup=this._targets?{}:[];return this};d._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=D(this._targets[c],this,!0);else this._siblings=D(this.target,this,!0);p.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?r._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};r.to=function(a,b,c){return new r(a,b,c)};r.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=-!0);return new r(a,b,c)};r.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new r(a,b,d)};r.delayedCall=function(a,b,c,d,e){return new r(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})};r.set=function(a,b){return new r(a,0,b)};r.killTweensOf=r.killDelayedCallsTo=function(a,b){for(var c=r.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,-a)};r.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(r.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=D(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var M=c("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);d=M.prototype;M.version=12;M.API=+a||f,j=a!=d&&"all"!=d&&a!=f&&(null==a||!0!=a._tempKill),i){if(c=f[e]){c.pg&&c.t._kill(i)&&(h=!0);if(!c.pg||0===c.t._overwriteProps.length)c._prev?c._prev._next=c._next:c===this._firstPT&&(this._firstPT=c._next),c._next&&(c._next._prev=c._prev),c._next=c._prev=null;delete f[e]}j&&(d[e]=1)}}return h};d.invalidate=function(){this._notifyPluginsOfEnabled&&k._onPluginEvent("_onDisable",this);this._onUpdate=this._overwrittenProps=this._firstPT=null;this._initted=this._active=this._notifyPluginsOfEnabled=+!1;this._propLookup=this._targets?{}:[];return this};d._enabled=function(a,b){if(a&&this._gc)if(this._targets)for(var c=this._targets.length;-1<--c;)this._siblings[c]=C(this._targets[c],this,!0);else this._siblings=C(this.target,this,!0);r.prototype._enabled.call(this,a,b);return this._notifyPluginsOfEnabled&&this._firstPT?k._onPluginEvent(a?"_onEnable":"_onDisable",this):!1};k.to=function(a,b,c){return new k(a,b,c)};k.from=function(a,b,c){c.runBackwards=!0;!1!=c.immediateRender&&(c.immediateRender=+!0);return new k(a,b,c)};k.fromTo=function(a,b,c,d){d.startAt=c;c.immediateRender&&(d.immediateRender=!0);return new k(a,b,d)};k.delayedCall=function(a,b,c,d,e){return new k(b,0,{delay:a,onComplete:b,onCompleteParams:c,onCompleteScope:d,onReverseComplete:b,onReverseCompleteParams:c,onReverseCompleteScope:d,immediateRender:!1,useFrames:e,overwrite:0})};k.set=function(a,b){return new k(a,0,b)};k.killTweensOf=k.killDelayedCallsTo=function(a,b){for(var c=k.getTweensOf(a),d=c.length;-1<--d;)c[d]._kill(b,+a)};k.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(k.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=C(a).concat();for(b=c.length;-1<--b;)c[b]._gc&&c.splice(b,1)}return c}};var L=c("plugins.TweenPlugin",function(a,b){this._overwriteProps=(a||"").split(",");this._propName=this._overwriteProps[0];this._priority=b||0},!0);d=L.prototype;L.version=12;L.API=2;d._firstPT=null;d._addTween=function(a,b,c,d,e,f){var h;if(null!=d&&(h="number"===typeof d||"="!==d.charAt(1)?Number(d)-c:parseInt(d.charAt(0)+"1")*Number(d.substr(2))))this._firstPT=a={_next:this._firstPT,t:a,p:b,s:c,c:h,f:"function"===typeof a[b],n:e||b,r:f},a._next&&(a._next._prev=a)};d.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}};d._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};d._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}};r._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===-a){for(var e,f,h,i;c;){i=c._next;for(e=f;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:h)?c._prev._next=c:f=c;(c._next=e)?e._prev=c:h=c;c=i}c=b._firstPT=f}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};M.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===M.API&&(r._plugins[(new a[b])._propName]=a[b]);return!0};if(l=n._gsQueue){for(k=0;k<l.length;k++)l[k]();for(d in a)a[d].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+d)}})(window);\ No newline at end of file+else for(var b=this._overwriteProps.length;-1<--b;)null!=a[this._overwriteProps[b]]&&this._overwriteProps.splice(b,1);for(b=this._firstPT;b;)null!=a[b.n]&&(b._next&&(b._next._prev=b._prev),b._prev?(b._prev._next=b._next,b._prev=null):this._firstPT===b&&(this._firstPT=b._next)),b=b._next;return!1};d._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}};k._onPluginEvent=function(a,b){var c=b._firstPT,d;if("_onInitAllProps"===+a){for(var e,f,h,i;c;){i=c._next;for(e=f;e&&e.pr>c.pr;)e=e._next;(c._prev=e?e._prev:h)?c._prev._next=c:f=c;(c._next=e)?e._prev=c:h=c;c=i}c=b._firstPT=f}for(;c;)c.pg&&"function"===typeof c.t[a]&&c.t[a]()&&(d=!0),c=c._next;return d};L.activate=function(a){for(var b=a.length;-1<--b;)a[b].API===L.API&&(k._plugins[(new a[b])._propName]=a[b]);return!0};if(j=q._gsQueue){for(l=0;l<j.length;l++)j[l]();for(d in a)a[d].def||console.log("Warning: TweenLite encountered missing dependency: com.greensock."+d)}})(window);\ No newline at end of filediff --git a/src/minified/plugins/CSSPlugin.min.js b/src/minified/plugins/CSSPlugin.min.jsindex 135536a..f1bcfa1 100755--- a/src/minified/plugins/CSSPlugin.min.js+++ b/src/minified/plugins/CSSPlugin.min.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.652- * DATE: 2012-12-11+ * VERSION: beta 1.653+ * DATE: 2012-12-13* JavaScript* UPDATES AND DOCS AT: http://www.greensock.com*@@ -10,54 +10,55 @@** @author: Jack Doyle, [email protected]*/-(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(R){var B=function(){R.call(this,"css");this._overwriteProps.length=0},Y,Z,q,$,I={},k=B.prototype=new R("css");k.constructor=B;B.version=1.652;B.API=2;B.defaultTransformPerspective=0;k="px";B.suffixMap={top:k,right:k,bottom:k,left:k,width:k,height:k,fontSize:k,padding:k,margin:k,perspective:k};var aa=/(?:\d|\-\d|\.\d|\-\.\d)+/g,ka=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,-ba=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,S=/[^\d\-\.]/g,Da=/(?:\d|\-|\+|=|#|\.)*/g,ca=/opacity *= *([^)]*)/,Ea=/opacity:([^;]*)/,la=/([A-Z])/g,ma=/-([a-z])/gi,na=function(a,b){return b.toUpperCase()},Fa=/(?:Left|Right|Width)/i,Ga=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ha=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,N=180/Math.PI,T={},O=document,P=O.createElement("div"),J=B._internals={_specialProps:I},z=navigator.userAgent,da,oa,pa,qa,ra,sa,K,ta=z.indexOf("Android"),-ua=O.createElement("div");ra=(pa=-1!==z.indexOf("Safari")&&-1===z.indexOf("Chrome")&&(-1===ta||3<Number(z.substr(ta+8,1))))&&6>Number(z.substr(z.indexOf("Version/")+8,1));qa=-1!==z.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(z);sa=parseFloat(RegExp.$1);ua.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";K=(z=ua.getElementsByTagName("a")[0])?/^0.55/.test(z.style.opacity):!1;var va=function(a){return ca.test("string"===typeof a?a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?-parseFloat(RegExp.$1)/100:1},wa="",ea="",Q=function(a,b){var b=b||P,e=b.style,c,f;if(void 0!==e[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===e[c[f]+a];);return 0<=f?(ea=3===f?"ms":c[f],wa="-"+ea.toLowerCase()+"-",ea+a):null},U=O.defaultView?O.defaultView.getComputedStyle:function(){},A=B.getStyle=function(a,b,e,c,f){var i;if(!K&&"opacity"===b)return va(a);!c&&a.style[b]?i=a.style[b]:(e=e||U(a,null))?i=(a=e.getPropertyValue(b.replace(la,-"-$1").toLowerCase()))||e.length?a:e[b]:a.currentStyle&&(e=a.currentStyle,i=e[b],!i&&"backgroundPosition"===b&&(i=e[b+"X"]+" "+e[b+"Y"]));return null!=f&&(!i||"none"===i||"auto"===i||"auto auto"===i)?f:i},V=function(a,b,e){var c={},f=a._gsOverwrittenClassNamePT,i;if(f&&!e){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||U(a,null))if(i=b.length)for(;-1<--i;)c[b[i].replace(ma,na)]=b.getPropertyValue(b[i]);else for(i in b)c[i]=b[i];else if(b=a.currentStyle||a.style)for(i in b)c[i.replace(ma,-na)]=b[i];K||(c.opacity=va(a));a=fa(a,b,!1);c.rotation=a.rotation*N;c.rotationX=a.rotationX*N;c.rotationY=a.rotationY*N;c.skewX=a.skewX*N;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},xa=function(a,b,e,c){var f={},a=a.style,i,d,h;for(d in e)if("cssText"!==d&&"length"!==d&&isNaN(d)&&b[d]!==(i=e[d]))if(-1===d.indexOf("Origin")&&("number"===typeof i||"string"===typeof i))f[d]=(""===i||"auto"===i||"none"===i)&&"string"===typeof b[d]&&-""!==b[d].replace(S,"")?0:i,void 0!==a[d]&&(h=new ga(a,d,a[d],h));if(c)for(d in c)"className"!==d&&(f[d]=c[d]);return{difs:f,firstMPT:h}},Ia={width:["Left","Right"],height:["Top","Bottom"]},Ja=["marginLeft","marginRight","marginTop","marginBottom"],D=function(a,b,e,c,f){if("px"===c||!c)return e;if("auto"===c||!e)return 0;var i=Fa.test(b),d=a,h=P.style,j=0>e;j&&(e=-e);"%"===c&&-1!==b.indexOf("border")?i=e/100*(i?a.clientWidth:a.clientHeight):(h.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",-"%"===c||"em"===c||!d.appendChild?(d=a.parentNode||O.body,h[i?"width":"height"]=e+c):h[i?"borderLeftWidth":"borderTopWidth"]=e+c,d.appendChild(P),i=parseFloat(P[i?"offsetWidth":"offsetHeight"]),d.removeChild(P),0===i&&!f&&(i=D(a,b,e,c,!0)));return j?-i:i},ha=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var e=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":e[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":e[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(S,"")),b.oy=parseFloat(f.replace(S,"")));return c+" "+f+(2<e.length?" "+e[2]:"")},ya=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},F=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+-"1")*Number(a.substr(2))+b:Number(a)},L=function(a,b){if(null==a)return b;var e=-1===a.indexOf("rad")?E:1,c="="===a.charAt(1),a=Number(a.replace(S,""))*e;return c?a+b:a},ia=function(a,b){var e=(("number"===typeof a?a*E:L(a,b))-b)%(2*Math.PI);e!==e%Math.PI&&(e+=Math.PI*(0>e?2:-2));return b+e},M={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]},ja=function(a){if(!a||""===a)return M.black;if(M[a])return M[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),e=a.charAt(2),a=a.charAt(3),a="#"+b+b+e+e+a+a;a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(aa)||M.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},G="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(k in M)G+="|"+k+"\\b";var G=RegExp(G+")","gi"),za=function(a,b,e){if(null==a)return function(a){return a};var c=b?(a.match(G)||[""])[0]:"",f=a.split(c).join("").match(ba)||[],i=a.substr(0,a.indexOf(f[0])),d=")"===a.charAt(a.length-1)?")":"",h=-1!==a.indexOf(" ")?" ":",",j=f.length,g=0<j?f[0].replace(aa,""):"";return b?function(a){"number"===typeof a&&(a+=g);var b=(a.match(G)||[c])[0],a=a.split(b).join("").match(ba)||-[],m=a.length;if(j>m--)for(;++m<j;)a[m]=e?a[(m-1)/2>>0]:f[m];return i+a.join(h)+h+b+d}:function(a){"number"===typeof a&&(a+=g);var a=a.match(ba)||[],b=a.length;if(j>b--)for(;++b<j;)a[b]=e?a[(b-1)/2>>0]:f[b];return i+a.join(h)+d}},z=function(a){a=a.split(",");return function(b,e,c,f,i,d,h){e=(e+"").split(" ");h={};for(c=0;4>c;c++)h[a[c]]=e[c]=e[c]||e[(c-1)/2>>0];return f.parse(b,h,i,d)}};J._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,e=b.proxy,c=b.firstMPT,f;c;)f=e[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=e.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){e=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)e+=a["xn"+b]+a["xs"+(b+1)];a.e=e}}else a.e=a.s+a.xs0;c=c._next}};var ga=function(a,b,e,c,f){this.t=a;this.p=b;this.v=e;this.r=f;c&&(c._prev=this,this._next=c)};J._parseToProxy=function(a,b,e,c,f,i){var d=c,h={},j={},g=e._transform,l=T,n;e._transform=null;T=b;c=a=e.parse(a,b,c,f);T=-l;i&&(e._transform=g,d&&(d._prev=null,d._prev&&(d._prev._next=null)));for(;c&&c!==d;){if(1>=c.type&&(g=c.p,j[g]=c.s+c.c,h[g]=c.s,i||(n=new ga(c,"s",g,n,c.r),c.c=0),1===c.type))for(e=c.l;0<--e;)l="xn"+e,g=c.p+"_"+l,j[g]=c.data[l],h[g]=c[l],i||(n=new ga(c,l,g,n,c.rxp[l]));c=c._next}return{proxy:h,end:j,firstMPT:n,pt:a}};var y=J.CSSPropTween=function(a,b,e,c,f,i,d,h,j,g,l){this.t=a;this.p=b;this.s=e;this.c=c;this.n=d||"css_"+b;a instanceof y||$.push(this.n);this.r=h;this.type=i||0;j&&(this.pr=j,Y=!0);-this.b=void 0===g?e:g;this.e=void 0===l?e+c:l;f&&(this._next=f,f._prev=this)},X=B.parseComplex=function(a,b,e,c,f,i,d,h,j,g){var d=new y(a,b,0,0,d,g?2:1,null,!1,h,e,c),a=e.split(", ").join(",").split(" "),b=(c+"").split(", ").join(",").split(" "),e=a.length,h=!1!==da,l,n,m,W,k;e!==b.length&&(a=(i||"").split(" "),e=a.length);d.plugin=j;d.setRatio=g;for(i=0;i<e;i++)if(j=a[i],l=b[i],(g=parseFloat(j))||0===g)d.appendXtra("",g,ya(l,g),l.replace(ka,""),h&&-1!==l.indexOf("px"),!0);else if(f&&("#"===j.charAt(0)||-0===j.indexOf("rgb")||M[j]))j=ja(j),l=ja(l),(g=6<j.length+l.length)&&!K&&0===l[3]?(d["xs"+d.l]+=d.l?" transparent":"transparent",d.e=d.e.split(b[i]).join("transparent")):(d.appendXtra(g?"rgba(":"rgb(",j[0],l[0]-j[0],",",!0,!0).appendXtra("",j[1],l[1]-j[1],",",!0).appendXtra("",j[2],l[2]-j[2],g?",":")",!0),g&&(j=4>j.length?1:j[3],d.appendXtra("",j,(4>l.length?1:l[3])-j,")",!1)));else if(g=j.match(aa)){m=l.match(ka);if(!m||m.length!==g.length)return d;for(l=n=0;l<g.length;l++)k=g[l],W=j.indexOf(k,n),-d.appendXtra(j.substr(n,W-n),Number(k),ya(m[l],k),"",h&&"px"===j.substr(W+k.length,2),0===l),n=W+k.length;d["xs"+d.l]+=j.substr(n)}else d["xs"+d.l]+=d.l?" "+j:j;if(-1!==c.indexOf("=")&&d.data){c=d.xs0+d.data.s;for(i=1;i<d.l;i++)c+=d["xs"+i]+d.data["xn"+i];d.e=c+d["xs"+i]}d.l||(d.type=-1,d.xs0=d.e);return d.xfirst||d},t=9,k=y.prototype;for(k.l=k.pr=0;0<--t;)k["xn"+t]=0,k["xs"+t]="";k.xs0="";k._next=k._prev=k.xfirst=k.data=k.plugin=k.setRatio=k.rxp=null;k.appendXtra=function(a,b,e,c,f,i){var d=this.l;-this["xs"+d]+=i&&d?" "+a:a||"";if(!e&&0!==d&&!this.plugin)return this["xs"+d]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<d)return this.data["xn"+d]=b+e,this.rxp["xn"+d]=f,this["xn"+d]=b,this.plugin||(this.xfirst=new y(this,"xn"+d,b,e,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+e};this.rxp={};this.s=b;this.c=e;this.r=f;return this};var Aa=function(a,b,e,c,f,i,d){this.p=c?Q(a)||a:a;I[a]=I[this.p]=this;this.format=i||za(b,f);e&&-(this.parse=e);this.clrs=f;this.dflt=b;this.pr=d||0},r=J._registerComplexSpecialProp=function(a,b,e,c,f,i,d){for(var a=a.split(","),b=b instanceof Array?b:[b],h=a.length;-1<--h;)new Aa(a[h],b[h],e,c&&0===h,f,i,d)},J=function(a){if(!I[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";r(a,null,function(a,c,f,i,d,h,j){var g=window.com.greensock.plugins[b];if(!g)return window.console&&console.log("Error: "+b+" js file not loaded."),d;g._cssRegister();return I[f].parse(a,c,f,i,d,h,j)})}},k=Aa.prototype;-k.parseComplex=function(a,b,e,c,f,i){return X(a,this.p,b,e,this.clrs,this.dflt,c,this.pr,f,i)};k.parse=function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(A(a,e,q,!1,this.dflt)),this.format(b),f,i)};B.registerSpecialProp=function(a,b,e){r(a,null,function(a,f,i,d,h,j){h=new y(a,i,0,0,h,2,i,!1,e);h.plugin=j;h.setRatio=b(a,f,d._tween,i);return h},!1,!1,null,e)};var Ba="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),C=Q("transform"),Ka=wa+"transform",-Ca=Q("transformOrigin"),H=null!==Q("perspective"),fa=function(a,b,e){var c=e?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,i=H?parseFloat(A(a,Ca,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,d,h,j,g,l,n,m,k;C?d=A(a,Ka,b,!0):a.currentStyle&&(d=(d=a.currentStyle.filter.match(Ga))&&4===d.length?d[0].substr(4)+","+Number(d[2].substr(4))+","+Number(d[1].substr(4))+","+d[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);h=(d||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=h.length;-1<--b;)h[b]=Number(h[b]);-if(16===h.length){if(f=h[8],d=h[9],j=h[10],g=h[12],l=h[13],n=h[14],c.zOrigin&&(n=-c.zOrigin,g=f*n-h[12],l=d*n-h[13],n=j*n+c.zOrigin-h[14]),!e||g!==c.x||l!==c.y||n!==c.z){m=h[0];k=h[1];var r=h[2],u=h[3],s=h[4],p=h[5],q=h[6],y=h[7];h=h[11];var v=c.rotationX=Math.atan2(q,j),t,z,w,x;v&&(w=Math.cos(-v),x=Math.sin(-v),v=s*w+f*x,t=p*w+d*x,z=q*w+j*x,f=s*-x+f*w,d=p*-x+d*w,j=q*-x+j*w,h=y*-x+h*w,s=v,p=t,q=z);if(v=c.rotationY=Math.atan2(f,m))w=Math.cos(-v),x=Math.sin(-v),t=k*w-d*x,z=r*w-j*x,d=k*x+d*w,j=r*x+j*-w,h=u*x+h*w,m=m*w-f*x,k=t,r=z;if(v=c.rotation=Math.atan2(k,p))w=Math.cos(-v),x=Math.sin(-v),m=m*w+s*x,t=k*w+p*x,p=k*-x+p*w,q=r*-x+q*w,k=t;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(m*m+k*k);c.scaleY=Math.sqrt(p*p+d*d);c.scaleZ=Math.sqrt(q*q+j*j);c.skewX=0;c.perspective=h?1/h:0;c.x=g;c.y=l;c.z=n}}else if(!H||0===h.length||c.x!==h[4]||c.y!==h[5]||!c.rotationX&&!c.rotationY){g=(d=6<=h.length)?h[0]:1;n=h[1]||0;l=h[2]||0;m=d?-h[3]:1;c.x=h[4]||0;c.y=h[5]||0;d=Math.sqrt(g*g+n*n);j=Math.sqrt(m*m+l*l);g=g||n?Math.atan2(n,g):c.rotation||0;l=l||m?Math.atan2(l,m)+g:c.skewX||0;n=d-Math.abs(c.scaleX||0);m=j-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(d*=-1,l+=0>=g?Math.PI:-Math.PI,g+=0>=g?Math.PI:-Math.PI):(j*=-1,l+=0>=l?Math.PI:-Math.PI));f=(g-c.rotation)%Math.PI;k=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<n||-1E-6>n||1E-6<m||-1E-6>m||1E-6<f||-1E-6>f||1E-6<k||-1E-6>k)c.scaleX=d,c.scaleY=j,c.rotation=-g,c.skewX=l;H&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=i;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);e&&(a._gsTransform=c);return c},La=function(a){var b=this.data,e=-b.rotation,c=e+b.skewX,f=Math.cos(e)*b.scaleX,e=Math.sin(e)*b.scaleX,i=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,d=1E-6,h=this.t.style,j=this.t.currentStyle,g;if(j){f<d&&f>-d&&(f=0);e<d&&e>-d&&(e=0);i<d&&i>-d&&(i=0);c<d&&c>-d&&(c=0);d=e;e=-i;i=-d;d=j.filter;h.filter=-"";var l=this.t.offsetWidth;g=this.t.offsetHeight;var n="absolute"!==j.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+e+", M21="+i+", M22="+c,k=b.x,q=b.y,u,s;null!=b.ox&&(u=(b.oxp?0.01*l*b.ox:b.ox)-l/2,s=(b.oyp?0.01*g*b.oy:b.oy)-g/2,k+=u-(u*f+s*e),q+=s-(u*i+s*c));if(n)u=l/2,s=g/2,m+=", Dx="+(u-(u*f+s*e)+k)+", Dy="+(s-(u*i+s*c)+q)+")";else{var p=8>sa?1:-1;u=b.ieOffsetX||0;s=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>e?-e:e)*g))/2+k);b.ieOffsetY=Math.round((g-((0>-c?-c:c)*g+(0>i?-i:i)*l))/2+q);for(t=0;4>t;t++)l=Ja[t],g=j[l],g=-1!==g.indexOf("px")?parseFloat(g):D(this.t,l,parseFloat(g),g.replace(Da,""))||0,k=g!==b[l]?2>t?-b.ieOffsetX:-b.ieOffsetY:2>t?u-b.ieOffsetX:s-b.ieOffsetY,h[l]=(b[l]=Math.round(g-k*(0===t||2===t?1:p)))+"px";m+=", sizingMethod='auto expand')"}h.filter=-1!==d.indexOf("DXImageTransform.Microsoft.Matrix(")?d.replace(Ha,m):m+" "+d;if(0===a||1===a)if(1===f&&0===e&&0===i&&1===c&&(!n||-1!==m.indexOf("Dx=0, Dy=0")))(!ca.test(d)||100===parseFloat(RegExp.$1))&&--1===d.indexOf("gradient(")&&h.removeAttribute("filter")}},Ma=function(){var a=this.data,b=a.perspective,e=a.scaleX,c=0,f=0,i=0,d=0,h=a.scaleY,j=0,g=0,l=0,n=0,m=a.scaleZ,k=0,q=0,u=0,s=b?-1/b:0,p=a.rotation,r=a.zOrigin,t=this.t.style,v,z,y,w,x;p&&(v=Math.cos(p),p=Math.sin(p),y=h*p,c=e*-p,h*=v,e*=v,d=y);if(p=a.rotationY)v=Math.cos(p),p=Math.sin(p),w=m*-p,x=s*-p,f=e*p,j=d*p,m*=v,s*=v,e*=v,d*=v,l=w,q=x;if(p=a.rotationX)v=Math.cos(p),p=Math.sin(p),z=c*v+f*p,y=h*v+j*p,w=n*v+m*p,x=u*v+s*p,f=c*-p+f*v,j=h*--p+j*v,m=n*-p+m*v,s=u*-p+s*v,c=z,h=y,n=w,u=x;r&&(k-=r,i=f*k,g=j*k,k=m*k+r);i+=a.x;g+=a.y;k+=a.z;1E-6>k&&-1E-6<k&&(k=0);t[C]="matrix3d("+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>l&&-1E-6<l?0:l)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>h&&-1E-6<h?0:h)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>u&&-1E-6<u?0:u)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>s&&-1E-6<s?0:s)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>g&&-1E-6<g?0:g)+","+k+-","+(b?1+-k/b:1)+")";if(qa)return z=t.display,t.display="none",y=this.t.offsetWidth,t.display=z,y},Na=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[C]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,e=b-a.skewX,c=Math.cos(b)*a.scaleX,b=Math.sin(b)*a.scaleX,f=Math.sin(e)*-a.scaleY,e=Math.cos(e)*a.scaleY;this.t.style[C]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>e&&-1E-6<e?0:e)+","+a.x+","+a.y+")"}};-r("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,e,c,f,i,d){if(c._transform)return f;var b=c._transform=fa(a,q,!0),h=a.style,j=Ba.length,g,l,n,k;if("string"===typeof d.transform&&C)l=h[C],h[C]=d.transform,g=fa(a,null,!1),h[C]=l;else if("object"===typeof d){l=null!=d.rotation?d.rotation:null!=d.rotationZ?d.rotationZ:b.rotation*N;g={scaleX:F(null!=-d.scaleX?d.scaleX:d.scale,b.scaleX),scaleY:F(null!=d.scaleY?d.scaleY:d.scale,b.scaleY),scaleZ:F(null!=d.scaleZ?d.scaleZ:d.scale,b.scaleZ),x:F(d.x,b.x),y:F(d.y,b.y),z:F(d.z,b.z),perspective:F(d.transformPerspective,b.perspective)};g.rotation=null!=d.shortRotation||null!=d.shortRotationZ?ia(d.shortRotation||d.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:L(l,b.rotation);H&&(g.rotationX=null!=d.shortRotationX?ia(d.shortRotationX,b.rotationX):"number"===typeof d.rotationX?d.rotationX*E:L(d.rotationX,-b.rotationX),g.rotationY=null!=d.shortRotationY?ia(d.shortRotationY,b.rotationY):"number"===typeof d.rotationY?d.rotationY*E:L(d.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==d.skewX?b.skewX:"number"===typeof d.skewX?d.skewX*E:L(d.skewX,b.skewX);g.skewY=null==d.skewY?b.skewY:"number"===typeof d.skewY?d.skewY*E:L(d.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)}k=b.z||b.rotationX||b.rotationY||g.z||g.rotationX||g.rotationY||g.perspective;!k&&null!=g.scale&&(g.scaleZ=1);if(C){if(pa){oa=!0;if(""===h.zIndex&&(l=A(a,"zIndex",q),"auto"===l||""===l))h.zIndex=0;ra&&(h.WebkitBackfaceVisibility=d.WebkitBackfaceVisibility||(k?"visible":"hidden"))}}else h.zoom=1;f=new y(a,"transform",0,0,f,2);f.setRatio=k&&H?Ma:C?Na:La;f.plugin=i;f.data=b;for($.pop();-1<--j;)if(e=-Ba[j],n=g[e]-b[e],1E-6<n||-1E-6>n||null!=T[e])f=new y(b,e,b[e],n,f),f.xs0=0,f.plugin=i,c._overwriteProps.push(f.n);if((n=d.transformOrigin)||H&&k&&b.zOrigin)C?(n=(n||A(a,e,q,!1,"50% 50%"))+"",e=Ca,f=new y(h,e,0,0,f,-1,"css_transformOrigin"),f.b=h[e],f.plugin=i,H?(l=b.zOrigin,n=n.split(" "),b.zOrigin=(2<n.length?parseFloat(n[2]):l)||0,f.xs0=f.e=h[e]=n[0]+" "+(n[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[e]=n):ha(n+"",b);return f.t===a?(f._next&&(f._next._prev=-null),f._next):f},!0);r("boxShadow","0px 0px 0px 0px #999",null,!0,!0);r("borderRadius","0px",function(a,b,e,c,f){var b=this.format(b),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],i=a.style,d,h,j,g,l,k,m,r,t,u,s,p;r=parseFloat(a.offsetWidth);t=parseFloat(a.offsetHeight);b=b.split(" ");for(d=0;d<c.length;d++)this.p.indexOf("border")&&(c[d]=Q(c[d])),g=j=A(a,c[d],q,!1,"0px"),-1!==g.indexOf(" ")&&(j=g.split(" "),g=j[0],j=j[1]),l=h=b[d],k=parseFloat(g),-s=g.substr((k+"").length),(p="="===l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),u=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),u=l.substr((m+"").length)),""===u&&(u=Z[e]||s),u!==s&&(g=D(a,"borderLeft",k,s),k=D(a,"borderTop",k,s),"%"===u?(g=100*(g/r)+"%",j=100*(k/t)+"%"):"em"===u?(s=D(a,"borderLeft",1,"em"),g=g/s+"em",j=k/s+"em"):(g+="px",j=k+"px"),p&&(l=parseFloat(g)+m+u,h=parseFloat(j)+m+u)),f=X(i,c[d],g+" "+j,l+" "+h,!1,"0px",f);return f},!0,!1,za("0px 0px 0px 0px",-!1,!0));r("backgroundPosition","0 0",null,!1,!1,ha);r("backgroundSize","0 0",null,!1,!1,ha);r("perspective","0px",null,!0);r("perspectiveOrigin","50% 50%",null,!0);r("transformStyle","preserve-3d",null,!0);r("margin",null,z("marginTop,marginRight,marginBottom,marginLeft"));r("padding",null,z("paddingTop,paddingRight,paddingBottom,paddingLeft"));r("clip","rect(0px,0px,0px,0px)");r("textShadow","0px 0px 0px #999",null,!1,!0);r("autoRound",null,function(a,b,e,c,f){return f});r("border","0px solid #000",-function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(A(a,"borderTopWidth",q,!1,"0px")+" "+A(a,"borderTopStyle",q,!1,"solid")+" "+A(a,"borderTopColor",q,!1,"#000")),this.format(b),f,i)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(G)||["#000"])[0]});var Oa=function(a){var b=this.t,a=this.s+this.c*a,e;100===a&&(b.removeAttribute("filter"),e=!A(this.data,"filter"));e||(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(ca,"opacity="+(a>>0)))};r("opacity,alpha,autoAlpha","1",function(a,b,e,c,f,i){var d=parseFloat(A(a,"opacity",q,!1,"1")),b=parseFloat(b),h=a.style,j;"autoAlpha"===e&&(j=A(a,"visibility",q),1===d&&"hidden"===j&&(d=0),f=new y(h,"visibility",0,0,f,-1,null,!1,0,0!==d?"visible":"hidden",0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));K?f=new y(h,"opacity",d,b-d,f):(f=new y(h,"opacity",100*d,100*(b-d),f),f.xn1="autoAlpha"===-e?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=i,f.setRatio=Oa);return f});var Pa=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,b=this.t.style,e=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[e](a.p.replace(la,"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};r("className",null,function(a,b,e,c,f,i,d){var h=a.className,j=a.style.cssText,-f=c._classNamePT=new y(a,e,0,0,f,2);f.setRatio=Pa;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=V(a,q,!0),a.className=f.e,d=xa(a,b,V(a),d),a.className=h,f.data=d.firstMPT,a.style.cssText=j,f=f.xfirst=c.parse(a,d.difs,f,i));return f});k=["bezier","throwProps","physicsProps","physics2D"];for(t=k.length;t--;)J(k[t]);k=B.prototype;k._firstPT=null;k._onInitTween=function(a,b,e){if(!a.nodeType)return!1;this._target=a;this._tween=e;-da=b.autoRound;Y=!1;Z=b.suffixMap||B.suffixMap;q=U(a,"");$=this._overwriteProps;var e=a.style,c,f,i;if(oa&&""===e.zIndex&&(c=A(a,"zIndex",q),"auto"===c||""===c))e.zIndex=0;"string"===typeof b&&(f=e.cssText,c=V(a,q),e.cssText=f+";"+b,c=xa(a,c,V(a)).difs,!K&&Ea.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,e.cssText=f);this._firstPT=a=this.parse(a,b,null);if(Y){for(;a;){e=a._next;for(b=f;b&&b.pr>a.pr;)b=b._next;(a._prev=b?b._prev:i)?a._prev._next=a:f=a;(a._next=b)?b._prev=a:i=a;a=e}this._firstPT=f}return!0};-k.parse=function(a,b,e,c){var f=a.style,i,d,h,j,g,l,k,m;for(i in b){g=b[i];if(d=I[i])e=d.parse(a,g,i,this,e,c,b);else if(d=A(a,i,q)+"",k="string"===typeof g,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||k&&!g.indexOf("rgb"))k||(g=ja(g),g=(3<g.length?"rgba(":"rgb(")+g.join(",")+")"),e=X(f,i,d,g,!0,"transparent",e,0,c);else if(k&&(-1!==g.indexOf(" ")||-1!==g.indexOf(",")))e=X(f,i,d,g,!0,null,e,0,c);else{h=parseFloat(d);l=d.substr((h+"").length);if(""===d||"auto"===d)if("width"===i||-"height"===i){h=a;m=i;j=q;l=parseFloat("width"===m?h.offsetWidth:h.offsetHeight);m=Ia[m];var r=m.length;for(j=j||U(h,null);-1<--r;)l-=parseFloat(A(h,"padding"+m[r],j,!0))||0,l-=parseFloat(A(h,"border"+m[r]+"Width",j,!0))||0;h=l;l="px"}else h="opacity"!==i?0:1,l="";(m=k&&"="===g.charAt(1))?(j=parseInt(g.charAt(0)+"1"),g=g.substr(2),j*=parseFloat(g),k=g.substr((j+"").length-(0>j?1:0))||""):(j=parseFloat(g),k=k?g.substr((j+"").length)||"":"");""===k&&(k=Z[i]||l);g=j||0===j?(m?j+h:j)+k:b[i];if(l!==k&&-""!==k&&(j||0===j))if(h||0===h)if(h=D(a,i,h,l),"%"===k?(h/=D(a,i,100,"%")/100,100<h&&(h=100)):"em"===k?h/=D(a,i,1,"em"):(j=D(a,i,j,k),k="px"),m&&(j||0===j))g=j+h+k;m&&(j+=h);(h||0===h)&&(j||0===j)?(e=new y(f,i,h,j-h,e,0,"css_"+i,!1!==da&&("px"===k||"zIndex"===i),0,d,g),e.xs0=k):(e=new y(f,i,j||h||0,0,e,-1,"css_"+i,!1,0,d,g),e.xs0="display"===i&&"none"===g?d:g)}c&&(e&&!e.plugin)&&(e.plugin=c)}return e};k.setRatio=function(a){var b=this._firstPT,e,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;){e=b.c*a+b.s;b.r?e=0<e?e+0.5>>0:e-0.5>>0:1E-6>e&&-1E-6<e&&(e=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2;else if(3===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+-e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{e=b.xs0+e+b.xs1;for(c=1;c<b.l;c++)e+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=e}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=e+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};k._linkCSSP=function(a,b,e){a&&(b&&(b._prev=a),a._next&&(a._next._prev=a._prev),e&&(e._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=e);return a};k._kill=function(a){var b=-a,e=!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,e=!0;return R.prototype._kill.call(this,b)||e};R.activate([B]);-return B},!0)});window._gsDefine&&_gsQueue.pop()();\ No newline at end of file+(window._gsQueue||(window._gsQueue=[])).push(function(){_gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(S){var B=function(){S.call(this,"css");this._overwriteProps.length=0},Y,Z,q,$,I={},k=B.prototype=new S("css");k.constructor=B;B.version=1.653;B.API=2;B.defaultTransformPerspective=0;k="px";B.suffixMap={top:k,right:k,bottom:k,left:k,width:k,height:k,fontSize:k,padding:k,margin:k,perspective:k};var aa=/(?:\d|\-\d|\.\d|\-\.\d)+/g,ma=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,+ba=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,T=/[^\d\-\.]/g,Ea=/(?:\d|\-|\+|=|#|\.)*/g,ca=/opacity *= *([^)]*)/,Fa=/opacity:([^;]*)/,na=/([A-Z])/g,oa=/-([a-z])/gi,Ga=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,pa=function(a,b){return b.toUpperCase()},Ha=/(?:Left|Right|Width)/i,Ia=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,Ja=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,E=Math.PI/180,O=180/Math.PI,U={},J=document,P=J.createElement("div"),da=J.createElement("img"),K=B._internals={_specialProps:I},+z=navigator.userAgent,ea,qa,ra,sa,ta,fa,L,ua=z.indexOf("Android"),va=J.createElement("div");ta=(ra=-1!==z.indexOf("Safari")&&-1===z.indexOf("Chrome")&&(-1===ua||3<Number(z.substr(ua+8,1))))&&6>Number(z.substr(z.indexOf("Version/")+8,1));sa=-1!==z.indexOf("Mozilla");/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(z);fa=parseFloat(RegExp.$1);va.innerHTML="<a style='top:1px;opacity:.55;'>a</a>";L=(z=va.getElementsByTagName("a")[0])?/^0.55/.test(z.style.opacity):!1;var wa=function(a){return ca.test("string"===typeof a?+a:(a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100:1},xa="",ga="",Q=function(a,b){var b=b||P,e=b.style,c,f;if(void 0!==e[a])return a;a=a.charAt(0).toUpperCase()+a.substr(1);c=["O","Moz","ms","Ms","Webkit"];for(f=5;-1<--f&&void 0===e[c[f]+a];);return 0<=f?(ga=3===f?"ms":c[f],xa="-"+ga.toLowerCase()+"-",ga+a):null},R=J.defaultView?J.defaultView.getComputedStyle:function(){},y=B.getStyle=function(a,b,e,c,f){var i;if(!L&&"opacity"===b)return wa(a);!c&&a.style[b]?i=+a.style[b]:(e=e||R(a,null))?i=(a=e.getPropertyValue(b.replace(na,"-$1").toLowerCase()))||e.length?a:e[b]:a.currentStyle&&(e=a.currentStyle,i=e[b]);return null!=f&&(!i||"none"===i||"auto"===i||"auto auto"===i)?f:i},V=function(a,b,e){var c={},f=a._gsOverwrittenClassNamePT,i;if(f&&!e){for(;f;)f.setRatio(0),f=f._next;a._gsOverwrittenClassNamePT=null}if(b=b||R(a,null))if(i=b.length)for(;-1<--i;)c[b[i].replace(oa,pa)]=b.getPropertyValue(b[i]);else for(i in b)c[i]=b[i];else if(b=a.currentStyle||a.style)for(i in b)c[i.replace(oa,+pa)]=b[i];L||(c.opacity=wa(a));a=ha(a,b,!1);c.rotation=a.rotation*O;c.rotationX=a.rotationX*O;c.rotationY=a.rotationY*O;c.skewX=a.skewX*O;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},ya=function(a,b,e,c){var f={},a=a.style,i,d,g;for(d in e)if("cssText"!==d&&"length"!==d&&isNaN(d)&&b[d]!==(i=e[d]))if(-1===d.indexOf("Origin")&&("number"===typeof i||"string"===typeof i))f[d]=(""===i||"auto"===i||"none"===i)&&"string"===typeof b[d]&&+""!==b[d].replace(T,"")?0:i,void 0!==a[d]&&(g=new ia(a,d,a[d],g));if(c)for(d in c)"className"!==d&&(f[d]=c[d]);return{difs:f,firstMPT:g}},Ka={width:["Left","Right"],height:["Top","Bottom"]},La=["marginLeft","marginRight","marginTop","marginBottom"],D=function(a,b,e,c,f){if("px"===c||!c)return e;if("auto"===c||!e)return 0;var i=Ha.test(b),d=a,g=P.style,j=0>e;j&&(e=-e);"%"===c&&-1!==b.indexOf("border")?i=e/100*(i?a.clientWidth:a.clientHeight):(g.cssText="border-style:solid; border-width:0; position:absolute; line-height:0;",+"%"===c||"em"===c||!d.appendChild?(d=a.parentNode||J.body,g[i?"width":"height"]=e+c):g[i?"borderLeftWidth":"borderTopWidth"]=e+c,d.appendChild(P),i=parseFloat(P[i?"offsetWidth":"offsetHeight"]),d.removeChild(P),0===i&&!f&&(i=D(a,b,e,c,!0)));return j?-i:i},ja=function(a,b){if(null==a||""===a||"auto"===a||"auto auto"===a)a="0 0";var e=a.split(" "),c=-1!==a.indexOf("left")?"0%":-1!==a.indexOf("right")?"100%":e[0],f=-1!==a.indexOf("top")?"0%":-1!==a.indexOf("bottom")?"100%":e[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(T,"")),b.oy=parseFloat(f.replace(T,"")));return c+" "+f+(2<e.length?" "+e[2]:"")},za=function(a,b){return"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)+"1")*parseFloat(a.substr(2)):parseFloat(a)-parseFloat(b)},F=function(a,b){return null==a?b:"string"===typeof a&&"="===a.charAt(1)?parseInt(a.charAt(0)++"1")*Number(a.substr(2))+b:Number(a)},M=function(a,b){if(null==a)return b;var e=-1===a.indexOf("rad")?E:1,c="="===a.charAt(1),a=Number(a.replace(T,""))*e;return c?a+b:a},ka=function(a,b){var e=(("number"===typeof a?a*E:M(a,b))-b)%(2*Math.PI);e!==e%Math.PI&&(e+=Math.PI*(0>e?2:-2));return b+e},N={aqua:[0,255,255],lime:[0,255,0],silver:[192,192,192],black:[0,0,0],maroon:[128,0,0],teal:[0,128,128],blue:[0,0,255],navy:[0,0,128],white:[255,255,255],fuchsia:[255,0,255],olive:[128,128,0],yellow:[255,255,+0],orange:[255,165,0],gray:[128,128,128],purple:[128,0,128],green:[0,128,0],red:[255,0,0],pink:[255,192,203],cyan:[0,255,255],transparent:[255,255,255,0]},la=function(a){if(!a||""===a)return N.black;if(N[a])return N[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),e=a.charAt(2),a=a.charAt(3),a="#"+b+b+e+e+a+a;a=parseInt(a.substr(1),16);return[a>>16,a>>8&255,a&255]}a=a.match(aa)||N.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},G="(?:\\b(?:(?:rgb|rgba)\\(.+?\\))|\\B#.+?\\b";for(k in N)G+="|"+k+"\\b";var G=RegExp(G+")","gi"),Aa=function(a,b,e){if(null==a)return function(a){return a};var c=b?(a.match(G)||[""])[0]:"",f=a.split(c).join("").match(ba)||[],i=a.substr(0,a.indexOf(f[0])),d=")"===a.charAt(a.length-1)?")":"",g=-1!==a.indexOf(" ")?" ":",",j=f.length,h=0<j?f[0].replace(aa,""):"";return b?function(a){"number"===typeof a&&(a+=h);var b=(a.match(G)||[c])[0],a=a.split(b).join("").match(ba)||+[],m=a.length;if(j>m--)for(;++m<j;)a[m]=e?a[(m-1)/2>>0]:f[m];return i+a.join(g)+g+b+d}:function(a){"number"===typeof a&&(a+=h);var a=a.match(ba)||[],b=a.length;if(j>b--)for(;++b<j;)a[b]=e?a[(b-1)/2>>0]:f[b];return i+a.join(g)+d}},z=function(a){a=a.split(",");return function(b,e,c,f,i,d,g){e=(e+"").split(" ");g={};for(c=0;4>c;c++)g[a[c]]=e[c]=e[c]||e[(c-1)/2>>0];return f.parse(b,g,i,d)}};K._setPluginRatio=function(a){this.plugin.setRatio(a);for(var b=this.data,e=b.proxy,c=b.firstMPT,f;c;)f=e[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=e.rotation);if(1===a)for(c=b.firstMPT;c;){a=c.t;if(a.type){if(1===a.type){e=a.xs0+a.s+a.xs1;for(b=1;b<a.l;b++)e+=a["xn"+b]+a["xs"+(b+1)];a.e=e}}else a.e=a.s+a.xs0;c=c._next}};var ia=function(a,b,e,c,f){this.t=a;this.p=b;this.v=e;this.r=f;c&&(c._prev=this,this._next=c)};K._parseToProxy=function(a,b,e,c,f,i){var d=c,g={},j={},h=e._transform,l=U,n;e._transform=null;U=b;c=a=e.parse(a,b,c,f);U=+l;i&&(e._transform=h,d&&(d._prev=null,d._prev&&(d._prev._next=null)));for(;c&&c!==d;){if(1>=c.type&&(h=c.p,j[h]=c.s+c.c,g[h]=c.s,i||(n=new ia(c,"s",h,n,c.r),c.c=0),1===c.type))for(e=c.l;0<--e;)l="xn"+e,h=c.p+"_"+l,j[h]=c.data[l],g[h]=c[l],i||(n=new ia(c,l,h,n,c.rxp[l]));c=c._next}return{proxy:g,end:j,firstMPT:n,pt:a}};var A=K.CSSPropTween=function(a,b,e,c,f,i,d,g,j,h,l){this.t=a;this.p=b;this.s=e;this.c=c;this.n=d||"css_"+b;a instanceof A||$.push(this.n);this.r=g;this.type=i||0;j&&(this.pr=j,Y=!0);+this.b=void 0===h?e:h;this.e=void 0===l?e+c:l;f&&(this._next=f,f._prev=this)},X=B.parseComplex=function(a,b,e,c,f,i,d,g,j,h){var d=new A(a,b,0,0,d,h?2:1,null,!1,g,e,c),a=e.split(", ").join(",").split(" "),b=(c+"").split(", ").join(",").split(" "),e=a.length,g=!1!==ea,l,n,m,W,k;e!==b.length&&(a=(i||"").split(" "),e=a.length);d.plugin=j;d.setRatio=h;for(i=0;i<e;i++)if(j=a[i],l=b[i],(h=parseFloat(j))||0===h)d.appendXtra("",h,za(l,h),l.replace(ma,""),g&&-1!==l.indexOf("px"),!0);else if(f&&("#"===j.charAt(0)||+0===j.indexOf("rgb")||N[j]))j=la(j),l=la(l),(h=6<j.length+l.length)&&!L&&0===l[3]?(d["xs"+d.l]+=d.l?" transparent":"transparent",d.e=d.e.split(b[i]).join("transparent")):(d.appendXtra(h?"rgba(":"rgb(",j[0],l[0]-j[0],",",!0,!0).appendXtra("",j[1],l[1]-j[1],",",!0).appendXtra("",j[2],l[2]-j[2],h?",":")",!0),h&&(j=4>j.length?1:j[3],d.appendXtra("",j,(4>l.length?1:l[3])-j,")",!1)));else if(h=j.match(aa)){m=l.match(ma);if(!m||m.length!==h.length)return d;for(l=n=0;l<h.length;l++)k=h[l],W=j.indexOf(k,n),+d.appendXtra(j.substr(n,W-n),Number(k),za(m[l],k),"",g&&"px"===j.substr(W+k.length,2),0===l),n=W+k.length;d["xs"+d.l]+=j.substr(n)}else d["xs"+d.l]+=d.l?" "+j:j;if(-1!==c.indexOf("=")&&d.data){c=d.xs0+d.data.s;for(i=1;i<d.l;i++)c+=d["xs"+i]+d.data["xn"+i];d.e=c+d["xs"+i]}d.l||(d.type=-1,d.xs0=d.e);return d.xfirst||d},t=9,k=A.prototype;for(k.l=k.pr=0;0<--t;)k["xn"+t]=0,k["xs"+t]="";k.xs0="";k._next=k._prev=k.xfirst=k.data=k.plugin=k.setRatio=k.rxp=null;k.appendXtra=function(a,b,e,c,f,i){var d=this.l;+this["xs"+d]+=i&&d?" "+a:a||"";if(!e&&0!==d&&!this.plugin)return this["xs"+d]+=b+(c||""),this;this.l++;this.type=this.setRatio?2:1;this["xs"+this.l]=c||"";if(0<d)return this.data["xn"+d]=b+e,this.rxp["xn"+d]=f,this["xn"+d]=b,this.plugin||(this.xfirst=new A(this,"xn"+d,b,e,this.xfirst||this,0,this.n,f,this.pr),this.xfirst.xs0=0),this;this.data={s:b+e};this.rxp={};this.s=b;this.c=e;this.r=f;return this};var Ba=function(a,b,e,c,f,i,d){this.p=c?Q(a)||a:a;I[a]=I[this.p]=this;this.format=i||Aa(b,f);e&&+(this.parse=e);this.clrs=f;this.dflt=b;this.pr=d||0},r=K._registerComplexSpecialProp=function(a,b,e,c,f,i,d){for(var a=a.split(","),b=b instanceof Array?b:[b],g=a.length;-1<--g;)new Ba(a[g],b[g],e,c&&0===g,f,i,d)},K=function(a){if(!I[a]){var b=a.charAt(0).toUpperCase()+a.substr(1)+"Plugin";r(a,null,function(a,c,f,i,d,g,j){var h=window.com.greensock.plugins[b];if(!h)return window.console&&console.log("Error: "+b+" js file not loaded."),d;h._cssRegister();return I[f].parse(a,c,f,i,d,g,j)})}},k=Ba.prototype;+k.parseComplex=function(a,b,e,c,f,i){return X(a,this.p,b,e,this.clrs,this.dflt,c,this.pr,f,i)};k.parse=function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(y(a,e,q,!1,this.dflt)),this.format(b),f,i)};B.registerSpecialProp=function(a,b,e){r(a,null,function(a,f,i,d,g,j){g=new A(a,i,0,0,g,2,i,!1,e);g.plugin=j;g.setRatio=b(a,f,d._tween,i);return g},!1,!1,null,e)};var Ca="scaleX scaleY scaleZ x y z skewX rotation rotationX rotationY perspective".split(" "),C=Q("transform"),Ma=xa+"transform",+Da=Q("transformOrigin"),H=null!==Q("perspective"),ha=function(a,b,e){var c=e?a._gsTransform||{skewY:0}:{skewY:0},f=0>c.scaleX,i=H?parseFloat(y(a,Da,b,!1,"0 0 0").split(" ")[2])||c.zOrigin||0:0,d,g,j,h,l,n,m,k;C?d=y(a,Ma,b,!0):a.currentStyle&&(d=(d=a.currentStyle.filter.match(Ia))&&4===d.length?d[0].substr(4)+","+Number(d[2].substr(4))+","+Number(d[1].substr(4))+","+d[3].substr(4)+","+(c?c.x:0)+","+(c?c.y:0):null);g=(d||"").match(/(?:\-|\b)[\d\-\.e]+\b/gi)||[];for(b=g.length;-1<--b;)g[b]=Number(g[b]);+if(16===g.length){if(f=g[8],d=g[9],j=g[10],h=g[12],l=g[13],n=g[14],c.zOrigin&&(n=-c.zOrigin,h=f*n-g[12],l=d*n-g[13],n=j*n+c.zOrigin-g[14]),!e||h!==c.x||l!==c.y||n!==c.z){m=g[0];k=g[1];var r=g[2],u=g[3],s=g[4],p=g[5],q=g[6],A=g[7];g=g[11];var v=c.rotationX=Math.atan2(q,j),t,z,w,x;v&&(w=Math.cos(-v),x=Math.sin(-v),v=s*w+f*x,t=p*w+d*x,z=q*w+j*x,f=s*-x+f*w,d=p*-x+d*w,j=q*-x+j*w,g=A*-x+g*w,s=v,p=t,q=z);if(v=c.rotationY=Math.atan2(f,m))w=Math.cos(-v),x=Math.sin(-v),t=k*w-d*x,z=r*w-j*x,d=k*x+d*w,j=r*x+j*+w,g=u*x+g*w,m=m*w-f*x,k=t,r=z;if(v=c.rotation=Math.atan2(k,p))w=Math.cos(-v),x=Math.sin(-v),m=m*w+s*x,t=k*w+p*x,p=k*-x+p*w,q=r*-x+q*w,k=t;Math.abs(c.rotationY)>Math.PI/2&&(c.rotationY*=-1,c.rotationX+=Math.PI,c.rotation=Math.PI-c.rotation);c.scaleX=Math.sqrt(m*m+k*k);c.scaleY=Math.sqrt(p*p+d*d);c.scaleZ=Math.sqrt(q*q+j*j);c.skewX=0;c.perspective=g?1/g:0;c.x=h;c.y=l;c.z=n}}else if(!H||0===g.length||c.x!==g[4]||c.y!==g[5]||!c.rotationX&&!c.rotationY){h=(d=6<=g.length)?g[0]:1;n=g[1]||0;l=g[2]||0;m=d?+g[3]:1;c.x=g[4]||0;c.y=g[5]||0;d=Math.sqrt(h*h+n*n);j=Math.sqrt(m*m+l*l);h=h||n?Math.atan2(n,h):c.rotation||0;l=l||m?Math.atan2(l,m)+h:c.skewX||0;n=d-Math.abs(c.scaleX||0);m=j-Math.abs(c.scaleY||0);Math.abs(l)>Math.PI/2&&Math.abs(l)<1.5*Math.PI&&(f?(d*=-1,l+=0>=h?Math.PI:-Math.PI,h+=0>=h?Math.PI:-Math.PI):(j*=-1,l+=0>=l?Math.PI:-Math.PI));f=(h-c.rotation)%Math.PI;k=(l-c.skewX)%Math.PI;if(void 0===c.skewX||1E-6<n||-1E-6>n||1E-6<m||-1E-6>m||1E-6<f||-1E-6>f||1E-6<k||-1E-6>k)c.scaleX=d,c.scaleY=j,c.rotation=+h,c.skewX=l;H&&(c.rotationX=c.rotationY=c.z=0,c.perspective=parseFloat(B.defaultTransformPerspective)||0,c.scaleZ=1)}c.zOrigin=i;for(b in c)1E-6>c[b]&&-1E-6<c[b]&&(c[b]=0);e&&(a._gsTransform=c);return c},Na=function(a){var b=this.data,e=-b.rotation,c=e+b.skewX,f=Math.cos(e)*b.scaleX,e=Math.sin(e)*b.scaleX,i=Math.sin(c)*-b.scaleY,c=Math.cos(c)*b.scaleY,d=1E-6,g=this.t.style,j=this.t.currentStyle,h;if(j){f<d&&f>-d&&(f=0);e<d&&e>-d&&(e=0);i<d&&i>-d&&(i=0);c<d&&c>-d&&(c=0);d=e;e=-i;i=-d;d=j.filter;g.filter=+"";var l=this.t.offsetWidth;h=this.t.offsetHeight;var n="absolute"!==j.position,m="progid:DXImageTransform.Microsoft.Matrix(M11="+f+", M12="+e+", M21="+i+", M22="+c,k=b.x,q=b.y,u,s;null!=b.ox&&(u=(b.oxp?0.01*l*b.ox:b.ox)-l/2,s=(b.oyp?0.01*h*b.oy:b.oy)-h/2,k+=u-(u*f+s*e),q+=s-(u*i+s*c));if(n)u=l/2,s=h/2,m+=", Dx="+(u-(u*f+s*e)+k)+", Dy="+(s-(u*i+s*c)+q)+")";else{var p=8>fa?1:-1;u=b.ieOffsetX||0;s=b.ieOffsetY||0;b.ieOffsetX=Math.round((l-((0>f?-f:f)*l+(0>e?-e:e)*h))/2+k);b.ieOffsetY=Math.round((h-((0>+c?-c:c)*h+(0>i?-i:i)*l))/2+q);for(t=0;4>t;t++)l=La[t],h=j[l],h=-1!==h.indexOf("px")?parseFloat(h):D(this.t,l,parseFloat(h),h.replace(Ea,""))||0,k=h!==b[l]?2>t?-b.ieOffsetX:-b.ieOffsetY:2>t?u-b.ieOffsetX:s-b.ieOffsetY,g[l]=(b[l]=Math.round(h-k*(0===t||2===t?1:p)))+"px";m+=", sizingMethod='auto expand')"}g.filter=-1!==d.indexOf("DXImageTransform.Microsoft.Matrix(")?d.replace(Ja,m):m+" "+d;if(0===a||1===a)if(1===f&&0===e&&0===i&&1===c&&(!n||-1!==m.indexOf("Dx=0, Dy=0")))(!ca.test(d)||100===parseFloat(RegExp.$1))&&+-1===d.indexOf("gradient(")&&g.removeAttribute("filter")}},Oa=function(){var a=this.data,b=a.perspective,e=a.scaleX,c=0,f=0,i=0,d=0,g=a.scaleY,j=0,h=0,l=0,n=0,m=a.scaleZ,k=0,q=0,u=0,s=b?-1/b:0,p=a.rotation,r=a.zOrigin,t=this.t.style,v,z,y,w,x;p&&(v=Math.cos(p),p=Math.sin(p),y=g*p,c=e*-p,g*=v,e*=v,d=y);if(p=a.rotationY)v=Math.cos(p),p=Math.sin(p),w=m*-p,x=s*-p,f=e*p,j=d*p,m*=v,s*=v,e*=v,d*=v,l=w,q=x;if(p=a.rotationX)v=Math.cos(p),p=Math.sin(p),z=c*v+f*p,y=g*v+j*p,w=n*v+m*p,x=u*v+s*p,f=c*-p+f*v,j=g*+-p+j*v,m=n*-p+m*v,s=u*-p+s*v,c=z,g=y,n=w,u=x;r&&(k-=r,i=f*k,h=j*k,k=m*k+r);i+=a.x;h+=a.y;k+=a.z;1E-6>k&&-1E-6<k&&(k=0);t[C]="matrix3d("+(1E-6>e&&-1E-6<e?0:e)+","+(1E-6>d&&-1E-6<d?0:d)+","+(1E-6>l&&-1E-6<l?0:l)+","+(1E-6>q&&-1E-6<q?0:q)+","+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>g&&-1E-6<g?0:g)+","+(1E-6>n&&-1E-6<n?0:n)+","+(1E-6>u&&-1E-6<u?0:u)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>j&&-1E-6<j?0:j)+","+(1E-6>m&&-1E-6<m?0:m)+","+(1E-6>s&&-1E-6<s?0:s)+","+(1E-6>i&&-1E-6<i?0:i)+","+(1E-6>h&&-1E-6<h?0:h)+","+k++","+(b?1+-k/b:1)+")";if(sa)return z=t.display,t.display="none",y=this.t.offsetWidth,t.display=z,y},Pa=function(){var a=this.data;if(!a.rotation&&!a.skewX)this.t.style[C]="matrix("+a.scaleX+",0,0,"+a.scaleY+","+a.x+","+a.y+")";else{var b=a.rotation,e=b-a.skewX,c=Math.cos(b)*a.scaleX,b=Math.sin(b)*a.scaleX,f=Math.sin(e)*-a.scaleY,e=Math.cos(e)*a.scaleY;this.t.style[C]="matrix("+(1E-6>c&&-1E-6<c?0:c)+","+(1E-6>b&&-1E-6<b?0:b)+","+(1E-6>f&&-1E-6<f?0:f)+","+(1E-6>e&&-1E-6<e?0:e)+","+a.x+","+a.y+")"}};+r("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,transformPerspective",null,function(a,b,e,c,f,i,d){if(c._transform)return f;var b=c._transform=ha(a,q,!0),g=a.style,j=Ca.length,h,l,n,k;if("string"===typeof d.transform&&C)l=g[C],g[C]=d.transform,h=ha(a,null,!1),g[C]=l;else if("object"===typeof d){l=null!=d.rotation?d.rotation:null!=d.rotationZ?d.rotationZ:b.rotation*O;h={scaleX:F(null!=+d.scaleX?d.scaleX:d.scale,b.scaleX),scaleY:F(null!=d.scaleY?d.scaleY:d.scale,b.scaleY),scaleZ:F(null!=d.scaleZ?d.scaleZ:d.scale,b.scaleZ),x:F(d.x,b.x),y:F(d.y,b.y),z:F(d.z,b.z),perspective:F(d.transformPerspective,b.perspective)};h.rotation=null!=d.shortRotation||null!=d.shortRotationZ?ka(d.shortRotation||d.shortRotationZ||0,b.rotation):"number"===typeof l?l*E:M(l,b.rotation);H&&(h.rotationX=null!=d.shortRotationX?ka(d.shortRotationX,b.rotationX):"number"===typeof d.rotationX?d.rotationX*E:M(d.rotationX,+b.rotationX),h.rotationY=null!=d.shortRotationY?ka(d.shortRotationY,b.rotationY):"number"===typeof d.rotationY?d.rotationY*E:M(d.rotationY,b.rotationY),1E-6>h.rotationX&&-1E-6<h.rotationX&&(h.rotationX=0),1E-6>h.rotationY&&-1E-6<h.rotationY&&(h.rotationY=0));h.skewX=null==d.skewX?b.skewX:"number"===typeof d.skewX?d.skewX*E:M(d.skewX,b.skewX);h.skewY=null==d.skewY?b.skewY:"number"===typeof d.skewY?d.skewY*E:M(d.skewY,b.skewY);if(l=h.skewY-b.skewY)h.skewX+=l,h.rotation+=l;1E-6>h.skewY&&-1E-6<h.skewY&&+(h.skewY=0);1E-6>h.skewX&&-1E-6<h.skewX&&(h.skewX=0);1E-6>h.rotation&&-1E-6<h.rotation&&(h.rotation=0)}k=b.z||b.rotationX||b.rotationY||h.z||h.rotationX||h.rotationY||h.perspective;!k&&null!=h.scale&&(h.scaleZ=1);if(C){if(ra){qa=!0;if(""===g.zIndex&&(l=y(a,"zIndex",q),"auto"===l||""===l))g.zIndex=0;ta&&(g.WebkitBackfaceVisibility=d.WebkitBackfaceVisibility||(k?"visible":"hidden"))}}else g.zoom=1;f=new A(a,"transform",0,0,f,2);f.setRatio=k&&H?Oa:C?Pa:Na;f.plugin=i;f.data=b;for($.pop();-1<--j;)if(e=+Ca[j],n=h[e]-b[e],1E-6<n||-1E-6>n||null!=U[e])f=new A(b,e,b[e],n,f),f.xs0=0,f.plugin=i,c._overwriteProps.push(f.n);if((n=d.transformOrigin)||H&&k&&b.zOrigin)C?(n=(n||y(a,e,q,!1,"50% 50%"))+"",e=Da,f=new A(g,e,0,0,f,-1,"css_transformOrigin"),f.b=g[e],f.plugin=i,H?(l=b.zOrigin,n=n.split(" "),b.zOrigin=(2<n.length?parseFloat(n[2]):l)||0,f.xs0=f.e=g[e]=n[0]+" "+(n[1]||"50%")+" 0px",f=new A(b,"zOrigin",0,0,f,-1,f.n),f.b=l,f.xs0=f.e=b.zOrigin):f.xs0=f.e=g[e]=n):ja(n+"",b);return f.t===a?(f._next&&(f._next._prev=+null),f._next):f},!0);r("boxShadow","0px 0px 0px 0px #999",null,!0,!0);r("borderRadius","0px",function(a,b,e,c,f){var b=this.format(b),c=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],i=a.style,d,g,j,h,l,k,m,r,t,u,s,p;r=parseFloat(a.offsetWidth);t=parseFloat(a.offsetHeight);b=b.split(" ");for(d=0;d<c.length;d++)this.p.indexOf("border")&&(c[d]=Q(c[d])),h=j=y(a,c[d],q,!1,"0px"),-1!==h.indexOf(" ")&&(j=h.split(" "),h=j[0],j=j[1]),l=g=b[d],k=parseFloat(h),+s=h.substr((k+"").length),(p="="===l.charAt(1))?(m=parseInt(l.charAt(0)+"1"),l=l.substr(2),m*=parseFloat(l),u=l.substr((m+"").length-(0>m?1:0))||""):(m=parseFloat(l),u=l.substr((m+"").length)),""===u&&(u=Z[e]||s),u!==s&&(h=D(a,"borderLeft",k,s),k=D(a,"borderTop",k,s),"%"===u?(h=100*(h/r)+"%",j=100*(k/t)+"%"):"em"===u?(s=D(a,"borderLeft",1,"em"),h=h/s+"em",j=k/s+"em"):(h+="px",j=k+"px"),p&&(l=parseFloat(h)+m+u,g=parseFloat(j)+m+u)),f=X(i,c[d],h+" "+j,l+" "+g,!1,"0px",f);return f},!0,!1,Aa("0px 0px 0px 0px",+!1,!0));r("backgroundPosition","0 0",function(a,b,e,c,f,i){var e=q||R(a,null),e=this.format((e?fa?e.getPropertyValue("background-position-x")+" "+e.getPropertyValue("background-position-y"):e.getPropertyValue("background-position"):a.currentStyle.backgroundPositionX+" "+a.currentStyle.backgroundPositionY)||"0 0"),b=this.format(b),d,g,j,h;if(-1!==e.indexOf("%")!==(-1!==b.indexOf("%"))){c=e.split(" ");d=b.split(" ");da.setAttribute("src",y(a,"backgroundImage").replace(Ga,""));for(g=2;-1<--g;)e=c[g],+j=-1!==e.indexOf("%"),j!==(-1!==d[g].indexOf("%"))&&(h=0===g?a.offsetWidth-da.width:a.offsetHeight-da.height,c[g]=j?parseFloat(e)/100*h+"px":100*(parseFloat(e)/h)+"%");e=c.join(" ")}return this.parseComplex(a.style,e,b,f,i)},!1,!1,ja);r("backgroundSize","0 0",null,!1,!1,ja);r("perspective","0px",null,!0);r("perspectiveOrigin","50% 50%",null,!0);r("transformStyle","preserve-3d",null,!0);r("margin",null,z("marginTop,marginRight,marginBottom,marginLeft"));r("padding",null,z("paddingTop,paddingRight,paddingBottom,paddingLeft"));+r("clip","rect(0px,0px,0px,0px)");r("textShadow","0px 0px 0px #999",null,!1,!0);r("autoRound",null,function(a,b,e,c,f){return f});r("border","0px solid #000",function(a,b,e,c,f,i){return this.parseComplex(a.style,this.format(y(a,"borderTopWidth",q,!1,"0px")+" "+y(a,"borderTopStyle",q,!1,"solid")+" "+y(a,"borderTopColor",q,!1,"#000")),this.format(b),f,i)},!1,!0,function(a){var b=a.split(" ");return b[0]+" "+(b[1]||"solid")+" "+(a.match(G)||["#000"])[0]});var Qa=function(a){var b=this.t,a=this.s+this.c*+a,e;100===a&&(b.removeAttribute("filter"),e=!y(this.data,"filter"));e||(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(ca,"opacity="+(a>>0)))};r("opacity,alpha,autoAlpha","1",function(a,b,e,c,f,i){var d=parseFloat(y(a,"opacity",q,!1,"1")),b=parseFloat(b),g=a.style,j;"autoAlpha"===e&&(j=y(a,"visibility",q),1===d&&"hidden"===j&&(d=0),f=new A(g,"visibility",0,0,f,-1,null,!1,0,0!==d?"visible":"hidden",+0===b?"hidden":"visible"),f.xs0="visible",c._overwriteProps.push(f.n));L?f=new A(g,"opacity",d,b-d,f):(f=new A(g,"opacity",100*d,100*(b-d),f),f.xn1="autoAlpha"===e?1:0,g.zoom=1,f.type=2,f.b="alpha(opacity="+f.s+")",f.e="alpha(opacity="+(f.s+f.c)+")",f.data=a,f.plugin=i,f.setRatio=Qa);return f});var Ra=function(a){if(1===a||0===a){this.t.className=1===a?this.e:this.b;for(var a=this.data,b=this.t.style,e=b.removeProperty?"removeProperty":"removeAttribute";a;){if(a.v)b[a.p]=a.v;else b[e](a.p.replace(na,+"-$1").toLowerCase());a=a._next}}else this.t.className!==this.b&&(this.t.className=this.b)};r("className",null,function(a,b,e,c,f,i,d){var g=a.className,j=a.style.cssText,f=c._classNamePT=new A(a,e,0,0,f,2);f.setRatio=Ra;f.b=g;f.e="="!==b.charAt(1)?b:"+"===b.charAt(0)?g+" "+b.substr(2):g.split(b.substr(2)).join("");c._tween._duration&&(b=V(a,q,!0),a.className=f.e,d=ya(a,b,V(a),d),a.className=g,f.data=d.firstMPT,a.style.cssText=j,f=f.xfirst=c.parse(a,d.difs,f,i));return f});k=["bezier","throwProps",+"physicsProps","physics2D"];for(t=k.length;t--;)K(k[t]);k=B.prototype;k._firstPT=null;k._onInitTween=function(a,b,e){if(!a.nodeType)return!1;this._target=a;this._tween=e;ea=b.autoRound;Y=!1;Z=b.suffixMap||B.suffixMap;q=R(a,"");$=this._overwriteProps;var e=a.style,c,f,i;if(qa&&""===e.zIndex&&(c=y(a,"zIndex",q),"auto"===c||""===c))e.zIndex=0;"string"===typeof b&&(f=e.cssText,c=V(a,q),e.cssText=f+";"+b,c=ya(a,c,V(a)).difs,!L&&Fa.test(b)&&(c.opacity=parseFloat(RegExp.$1)),b=c,e.cssText=f);this._firstPT=+a=this.parse(a,b,null);if(Y){for(;a;){e=a._next;for(b=f;b&&b.pr>a.pr;)b=b._next;(a._prev=b?b._prev:i)?a._prev._next=a:f=a;(a._next=b)?b._prev=a:i=a;a=e}this._firstPT=f}return!0};k.parse=function(a,b,e,c){var f=a.style,i,d,g,j,h,l,k,m;for(i in b){h=b[i];if(d=I[i])e=d.parse(a,h,i,this,e,c,b);else if(d=y(a,i,q)+"",k="string"===typeof h,"color"===i||"fill"===i||"stroke"===i||-1!==i.indexOf("Color")||k&&!h.indexOf("rgb"))k||(h=la(h),h=(3<h.length?"rgba(":"rgb(")+h.join(",")+")"),e=X(f,i,d,h,!0,"transparent",+e,0,c);else if(k&&(-1!==h.indexOf(" ")||-1!==h.indexOf(",")))e=X(f,i,d,h,!0,null,e,0,c);else{g=parseFloat(d);l=d.substr((g+"").length);if(""===d||"auto"===d)if("width"===i||"height"===i){g=a;m=i;j=q;l=parseFloat("width"===m?g.offsetWidth:g.offsetHeight);m=Ka[m];var r=m.length;for(j=j||R(g,null);-1<--r;)l-=parseFloat(y(g,"padding"+m[r],j,!0))||0,l-=parseFloat(y(g,"border"+m[r]+"Width",j,!0))||0;g=l;l="px"}else g="opacity"!==i?0:1,l="";(m=k&&"="===h.charAt(1))?(j=parseInt(h.charAt(0)+"1"),h=h.substr(2),+j*=parseFloat(h),k=h.substr((j+"").length-(0>j?1:0))||""):(j=parseFloat(h),k=k?h.substr((j+"").length)||"":"");""===k&&(k=Z[i]||l);h=j||0===j?(m?j+g:j)+k:b[i];if(l!==k&&""!==k&&(j||0===j))if(g||0===g)if(g=D(a,i,g,l),"%"===k?(g/=D(a,i,100,"%")/100,100<g&&(g=100)):"em"===k?g/=D(a,i,1,"em"):(j=D(a,i,j,k),k="px"),m&&(j||0===j))h=j+g+k;m&&(j+=g);(g||0===g)&&(j||0===j)?(e=new A(f,i,g,j-g,e,0,"css_"+i,!1!==ea&&("px"===k||"zIndex"===i),0,d,h),e.xs0=k):(e=new A(f,i,j||g||0,0,e,-1,"css_"+i,!1,0,d,h),e.xs0=+"display"===i&&"none"===h?d:h)}c&&(e&&!e.plugin)&&(e.plugin=c)}return e};k.setRatio=function(a){var b=this._firstPT,e,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;){e=b.c*a+b.s;b.r?e=0<e?e+0.5>>0:e-0.5>>0:1E-6>e&&-1E-6<e&&(e=0);if(b.type)if(1===b.type)if(c=b.l,2===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1++b.xs2;else if(3===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3;else if(4===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4;else if(5===c)b.t[b.p]=b.xs0+e+b.xs1+b.xn1+b.xs2+b.xn2+b.xs3+b.xn3+b.xs4+b.xn4+b.xs5;else{e=b.xs0+e+b.xs1;for(c=1;c<b.l;c++)e+=b["xn"+c]+b["xs"+(c+1)];b.t[b.p]=e}else-1===b.type?b.t[b.p]=b.xs0:b.setRatio&&b.setRatio(a);else b.t[b.p]=e+b.xs0;b=b._next}else for(;b;)2!==b.type?b.t[b.p]=b.b:b.setRatio(a),b=b._next};k._linkCSSP=function(a,b,e){a&&(b&&(b._prev=a),a._next&&+(a._next._prev=a._prev),e&&(e._next=a),a._prev?a._prev._next=a._next:this._firstPT===a&&(this._firstPT=a._next),a._next=b,a._prev=e);return a};k._kill=function(a){var b=a,e=!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,e=!0;return S.prototype._kill.call(this,b)||e};S.activate([B]);return B},!0)});window._gsDefine&&_gsQueue.pop()();\ No newline at end of filediff --git a/src/uncompressed/TweenMax.js b/src/uncompressed/TweenMax.jsindex d3ecb0b..248a6e7 100755--- a/src/uncompressed/TweenMax.js+++ b/src/uncompressed/TweenMax.js@@ -1,6 +1,6 @@/**- * VERSION: beta 1.652- * DATE: 2012-12-11+ * VERSION: beta 1.653+ * DATE: 2012-12-13* 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.652;+ TweenMax.version = 1.653;p.constructor = TweenMax;p.kill()._gc = false;TweenMax.killTweensOf = TweenMax.killDelayedCallsTo = TweenLite.killTweensOf;@@ -2064,7 +2064,7 @@p = CSSPlugin.prototype = new TweenPlugin("css");p.constructor = CSSPlugin;- CSSPlugin.version = 1.652;+ CSSPlugin.version = 1.653;CSSPlugin.API = 2;CSSPlugin.defaultTransformPerspective = 0;p = "px"; //we'll reuse the "p" variable to keep file size down@@ -2081,6 +2081,7 @@_opacityValExp = /opacity:([^;]*)/,_capsExp = /([A-Z])/g,_camelExp = /-([a-z])/gi,+ _urlExp = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, //for pulling out urls from url(...) or url("...") strings (some browsers wrap urls in quotes, some don't when reporting things like backgroundImage)_camelFunc = function(s, g) { return g.toUpperCase(); },_horizExp = /(?:Left|Right|Width)/i,_ieGetMatrixExp = /(M11|M12|M21|M22)=[\d\-\.e]+/gi,@@ -2090,6 +2091,7 @@_forcePT = {},_doc = document,_tempDiv = _doc.createElement("div"),+ _tempImg = _doc.createElement("img"),_internals = CSSPlugin._internals = {_specialProps:_specialProps}, //provides a hook to a few internal methods that we need to access from inside other plugins_agent = navigator.userAgent,_autoRound,@@ -2170,10 +2172,7 @@rv = (t || cs.length) ? t : cs[p]; //Opera behaves VERY strangely - length is usually 0 and cs[p] is the only way to get accurate results EXCEPT when checking for -o-transform which only works with cs.getPropertyValue()!} else if (t.currentStyle) {cs = t.currentStyle;- rv = cs[p]; //reuse "calc" variable to reduce minification size and improve speed slightly compared to creating a new variable.- if (!rv && p === "backgroundPosition") { //IE doesn't report backgroundPosition accurately (before version 9) - instead, it only reports backgroundPositionX and backgroundPositionY, so we need to combine them manually.- rv = cs[p + "X"] + " " + cs[p + "Y"];- }+ rv = cs[p];}return (dflt != null && (!rv || rv === "none" || rv === "auto" || rv === "auto auto")) ? dflt : rv;},@@ -3524,7 +3523,29 @@}return pt;}, true, false, _getFormatter("0px 0px 0px 0px", false, true));- _registerComplexSpecialProp("backgroundPosition", "0 0", null, false, false, _parsePosition);+ _registerComplexSpecialProp("backgroundPosition", "0 0", function(t, e, p, cssp, pt, plugin) {+ var bp = "background-position",+ cs = (_cs || _getComputedStyle(t, null)),+ bs = this.format( ((cs) ? _ieVers ? cs.getPropertyValue(bp + "-x") + " " + cs.getPropertyValue(bp + "-y") : cs.getPropertyValue(bp) : t.currentStyle.backgroundPositionX + " " + t.currentStyle.backgroundPositionY) || "0 0"), //Internet Explorer doesn't report background-position correctly - we must query background-position-x and background-position-y and combine them (even in IE10). Before IE9, we must do the same with the currentStyle object and use camelCase+ es = this.format(e),+ ba, ea, i, pct, overlap;+ if ((bs.indexOf("%") !== -1) !== (es.indexOf("%") !== -1)) {+ ba = bs.split(" ");+ ea = es.split(" ");+ _tempImg.setAttribute("src", _getStyle(t, "backgroundImage").replace(_urlExp, "")); //set the temp <img>'s src to the background-image so that we can measure its width/height+ i = 2;+ while (--i > -1) {+ bs = ba[i];+ pct = (bs.indexOf("%") !== -1);+ if (pct !== (ea[i].indexOf("%") !== -1)) {+ overlap = (i === 0) ? t.offsetWidth - _tempImg.width : t.offsetHeight - _tempImg.height;+ ba[i] = pct ? (parseFloat(bs) / 100 * overlap) + "px" : (parseFloat(bs) / overlap * 100) + "%";+ }+ }+ bs = ba.join(" ");+ }+ return this.parseComplex(t.style, bs, es, pt, plugin);+ }, false, false, _parsePosition); //note: backgroundPosition doesn't support interpreting between px and % (start and end values should use the same units) because doing so would require determining the size of the image itself and that can't be done quickly._registerComplexSpecialProp("backgroundSize", "0 0", null, false, false, _parsePosition);_registerComplexSpecialProp("perspective", "0px", null, true);_registerComplexSpecialProp("perspectiveOrigin", "50% 50%", null, true);diff --git a/src/uncompressed/plugins/CSSPlugin.js b/src/uncompressed/plugins/CSSPlugin.jsindex 459cffe..b9fbb73 100755--- a/src/uncompressed/plugins/CSSPlugin.js+++ b/src/uncompressed/plugins/CSSPlugin.js@@ -1,6 +1,6 @@/*!- * VERSION: beta 1.652- * DATE: 2012-12-11+ * VERSION: beta 1.653+ * DATE: 2012-12-13* 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.652;+ CSSPlugin.version = 1.653;CSSPlugin.API = 2;CSSPlugin.defaultTransformPerspective = 0;p = "px"; //we'll reuse the "p" variable to keep file size down@@ -46,6 +46,7 @@_opacityValExp = /opacity:([^;]*)/,_capsExp = /([A-Z])/g,_camelExp = /-([a-z])/gi,+ _urlExp = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, //for pulling out urls from url(...) or url("...") strings (some browsers wrap urls in quotes, some don't when reporting things like backgroundImage)_camelFunc = function(s, g) { return g.toUpperCase(); },_horizExp = /(?:Left|Right|Width)/i,_ieGetMatrixExp = /(M11|M12|M21|M22)=[\d\-\.e]+/gi,@@ -55,6 +56,7 @@_forcePT = {},_doc = document,_tempDiv = _doc.createElement("div"),+ _tempImg = _doc.createElement("img"),_internals = CSSPlugin._internals = {_specialProps:_specialProps}, //provides a hook to a few internal methods that we need to access from inside other plugins_agent = navigator.userAgent,_autoRound,@@ -135,10 +137,7 @@rv = (t || cs.length) ? t : cs[p]; //Opera behaves VERY strangely - length is usually 0 and cs[p] is the only way to get accurate results EXCEPT when checking for -o-transform which only works with cs.getPropertyValue()!} else if (t.currentStyle) {cs = t.currentStyle;- rv = cs[p]; //reuse "calc" variable to reduce minification size and improve speed slightly compared to creating a new variable.- if (!rv && p === "backgroundPosition") { //IE doesn't report backgroundPosition accurately (before version 9) - instead, it only reports backgroundPositionX and backgroundPositionY, so we need to combine them manually.- rv = cs[p + "X"] + " " + cs[p + "Y"];- }+ rv = cs[p];}return (dflt != null && (!rv || rv === "none" || rv === "auto" || rv === "auto auto")) ? dflt : rv;},@@ -692,7 +691,7 @@if (bn || bn === 0) {pt.appendXtra("", bn, _parseChange(ev, bn), ev.replace(_relNumExp, ""), (autoRound && ev.indexOf("px") !== -1), true);- //if the value is a color+ //if the value is a color} else if (clrs && (bv.charAt(0) === "#" || bv.indexOf("rgb") === 0 || _colorLookup[bv])) {bv = _parseColor(bv);ev = _parseColor(ev);@@ -718,7 +717,7 @@if (!bnums) {pt["xs" + pt.l] += pt.l ? " " + bv : bv;- //loop through all the numbers that are found and construct the extra values on the pt.+ //loop through all the numbers that are found and construct the extra values on the pt.} else {enums = ev.match(_relNumExp); //get each group of numbers in the end value string and drop them into an array. We allow relative values too, like +=50 or -=.5if (!enums || enums.length !== bnums.length) {@@ -1555,7 +1554,29 @@}return pt;}, true, false, _getFormatter("0px 0px 0px 0px", false, true));- _registerComplexSpecialProp("backgroundPosition", "0 0", null, false, false, _parsePosition);+ _registerComplexSpecialProp("backgroundPosition", "0 0", function(t, e, p, cssp, pt, plugin) {+ var bp = "background-position",+ cs = (_cs || _getComputedStyle(t, null)),+ bs = this.format( ((cs) ? _ieVers ? cs.getPropertyValue(bp + "-x") + " " + cs.getPropertyValue(bp + "-y") : cs.getPropertyValue(bp) : t.currentStyle.backgroundPositionX + " " + t.currentStyle.backgroundPositionY) || "0 0"), //Internet Explorer doesn't report background-position correctly - we must query background-position-x and background-position-y and combine them (even in IE10). Before IE9, we must do the same with the currentStyle object and use camelCase+ es = this.format(e),+ ba, ea, i, pct, overlap;+ if ((bs.indexOf("%") !== -1) !== (es.indexOf("%") !== -1)) {+ ba = bs.split(" ");+ ea = es.split(" ");+ _tempImg.setAttribute("src", _getStyle(t, "backgroundImage").replace(_urlExp, "")); //set the temp <img>'s src to the background-image so that we can measure its width/height+ i = 2;+ while (--i > -1) {+ bs = ba[i];+ pct = (bs.indexOf("%") !== -1);+ if (pct !== (ea[i].indexOf("%") !== -1)) {+ overlap = (i === 0) ? t.offsetWidth - _tempImg.width : t.offsetHeight - _tempImg.height;+ ba[i] = pct ? (parseFloat(bs) / 100 * overlap) + "px" : (parseFloat(bs) / overlap * 100) + "%";+ }+ }+ bs = ba.join(" ");+ }+ return this.parseComplex(t.style, bs, es, pt, plugin);+ }, false, false, _parsePosition); //note: backgroundPosition doesn't support interpreting between px and % (start and end values should use the same units) because doing so would require determining the size of the image itself and that can't be done quickly._registerComplexSpecialProp("backgroundSize", "0 0", null, false, false, _parsePosition);_registerComplexSpecialProp("perspective", "0px", null, true);_registerComplexSpecialProp("perspectiveOrigin", "50% 50%", null, true);