-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmain-longtaketouch.js
107 lines (107 loc) · 129 KB
/
main-longtaketouch.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
!function(t){var e={};function i(s){if(e[s])return e[s].exports;var r=e[s]={i:s,l:!1,exports:{}};return t[s].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=e,i.d=function(t,e,s){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:s})},i.r=function(t){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"==typeof t&&t&&t.__esModule)return t;var s=Object.create(null);if(i.r(s),Object.defineProperty(s,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var r in t)i.d(s,r,function(e){return t[e]}.bind(null,r));return s},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="",i(i.s=4)}([function(t,e,i){"use strict";(function(t,s){i.d(e,"e",(function(){return r})),i.d(e,"g",(function(){return a})),i.d(e,"f",(function(){return n})),i.d(e,"c",(function(){return h})),i.d(e,"a",(function(){return l})),i.d(e,"b",(function(){return u})),i.d(e,"d",(function(){return c}));
/*!
* VERSION: 2.1.3
* DATE: 2019-05-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
*/
var r="undefined"!=typeof window?window:t.exports&&void 0!==s?s:{},n=function(t){var e={},i=t.document,s=t.GreenSockGlobals=t.GreenSockGlobals||t;if(s.TweenLite)return s.TweenLite;var r,n,a,o,h,l,u,c=function(t){var e,i=t.split("."),r=s;for(e=0;e<i.length;e++)r[i[e]]=r=r[i[e]]||{};return r},_=c("com.greensock"),f=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},p=function(){},d=(l=Object.prototype.toString,u=l.call([]),function(t){return null!=t&&(t instanceof Array||"object"==typeof t&&!!t.push&&l.call(t)===u)}),m={},g=function(t,i,r,n){this.sc=m[t]?m[t].sc:[],m[t]=this,this.gsClass=null,this.func=r;var a=[];this.check=function(o){for(var h,l,u,_,f=i.length,p=f;--f>-1;)(h=m[i[f]]||new g(i[f],[])).gsClass?(a[f]=h.gsClass,p--):o&&h.sc.push(this);if(0===p&&r)for(u=(l=("com.greensock."+t).split(".")).pop(),_=c(l.join("."))[u]=this.gsClass=r.apply(r,a),n&&(s[u]=e[u]=_),f=0;f<this.sc.length;f++)this.sc[f].check()},this.check(!0)},v=t._gsDefine=function(t,e,i,s){return new g(t,e,i,s)},y=_._class=function(t,e,i){return e=e||function(){},v(t,[],(function(){return e}),i),e};v.globals=s;var x=[0,0,1,1],T=y("easing.Ease",(function(t,e,i,s){this._func=t,this._type=i||0,this._power=s||0,this._params=e?x.concat(e):x}),!0),b=T.map={},w=T.register=function(t,e,i,s){for(var r,n,a,o,h=e.split(","),l=h.length,u=(i||"easeIn,easeOut,easeInOut").split(",");--l>-1;)for(n=h[l],r=s?y("easing."+n,null,!0):_.easing[n]||{},a=u.length;--a>-1;)o=u[a],b[n+"."+o]=b[o+n]=r[o]=t.getRatio?t:t[o]||new t};for((a=T.prototype)._calcEnd=!1,a.getRatio=function(t){if(this._func)return this._params[0]=t,this._func.apply(null,this._params);var e=this._type,i=this._power,s=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?s*=s:2===i?s*=s*s:3===i?s*=s*s*s:4===i&&(s*=s*s*s*s),1===e?1-s:2===e?s:t<.5?s/2:1-s/2},n=(r=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--n>-1;)a=r[n]+",Power"+n,w(new T(null,null,1,n),a,"easeOut",!0),w(new T(null,null,2,n),a,"easeIn"+(0===n?",easeNone":"")),w(new T(null,null,3,n),a,"easeInOut");b.linear=_.easing.Linear.easeIn,b.swing=_.easing.Quad.easeInOut;var P=y("events.EventDispatcher",(function(t){this._listeners={},this._eventTarget=t||this}));(a=P.prototype).addEventListener=function(t,e,i,s,r){r=r||0;var n,a,l=this._listeners[t],u=0;for(this!==o||h||o.wake(),null==l&&(this._listeners[t]=l=[]),a=l.length;--a>-1;)(n=l[a]).c===e&&n.s===i?l.splice(a,1):0===u&&n.pr<r&&(u=a+1);l.splice(u,0,{c:e,s:i,up:s,pr:r})},a.removeEventListener=function(t,e){var i,s=this._listeners[t];if(s)for(i=s.length;--i>-1;)if(s[i].c===e)return void s.splice(i,1)},a.dispatchEvent=function(t){var e,i,s,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(s=r[e])&&(s.up?s.c.call(s.s||i,{type:t,target:i}):s.c.call(s.s||i))};var O=t.requestAnimationFrame,S=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},R=k();for(n=(r=["ms","moz","webkit","o"]).length;--n>-1&&!O;)O=t[r[n]+"RequestAnimationFrame"],S=t[r[n]+"CancelAnimationFrame"]||t[r[n]+"CancelRequestAnimationFrame"];y("Ticker",(function(t,e){var s,r,n,a,l,u=this,c=k(),_=!(!1===e||!O)&&"auto",f=500,d=33,m=function(t){var e,i,o=k()-R;o>f&&(c+=o-d),R+=o,u.time=(R-c)/1e3,e=u.time-l,(!s||e>0||!0===t)&&(u.frame++,l+=e+(e>=a?.004:a-e),i=!0),!0!==t&&(n=r(m)),i&&u.dispatchEvent("tick")};P.call(u),u.time=u.frame=0,u.tick=function(){m(!0)},u.lagSmoothing=function(t,e){if(!arguments.length)return f<1e8;f=t||1e8,d=Math.min(e,f,0)},u.sleep=function(){null!=n&&(_&&S?S(n):clearTimeout(n),r=p,n=null,u===o&&(h=!1))},u.wake=function(t){null!==n?u.sleep():t?c+=-R+(R=k()):u.frame>10&&(R=k()-f+5),r=0===s?p:_&&O?O:function(t){return setTimeout(t,1e3*(l-u.time)+1|0)},u===o&&(h=!0),m(2)},u.fps=function(t){if(!arguments.length)return s;a=1/((s=t)||60),l=this.time+a,u.wake()},u.useRAF=function(t){if(!arguments.length)return _;u.sleep(),_=t,u.fps(s)},u.fps(t),setTimeout((function(){"auto"===_&&u.frame<5&&"hidden"!==(i||{}).visibilityState&&u.useRAF(!1)}),1500)})),(a=_.Ticker.prototype=new _.events.EventDispatcher).constructor=_.Ticker;var C=y("core.Animation",(function(t,e){if(this.vars=e=e||{},this._duration=this._totalDuration=t||0,this._delay=Number(e.delay)||0,this._timeScale=1,this._active=!!e.immediateRender,this.data=e.data,this._reversed=!!e.reversed,Z){h||o.wake();var i=this.vars.useFrames?H:Z;i.add(this,i._time),this.vars.paused&&this.paused(!0)}}));o=C.ticker=new _.Ticker,(a=C.prototype)._dirty=a._gc=a._initted=a._paused=!1,a._totalTime=a._time=0,a._rawPrevTime=-1,a._next=a._last=a._onUpdate=a._timeline=a.timeline=null,a._paused=!1;var A=function(){h&&k()-R>2e3&&("hidden"!==(i||{}).visibilityState||!o.lagSmoothing())&&o.wake();var t=setTimeout(A,2e3);t.unref&&t.unref()};A(),a.play=function(t,e){return null!=t&&this.seek(t,e),this.reversed(!1).paused(!1)},a.pause=function(t,e){return null!=t&&this.seek(t,e),this.paused(!0)},a.resume=function(t,e){return null!=t&&this.seek(t,e),this.paused(!1)},a.seek=function(t,e){return this.totalTime(Number(t),!1!==e)},a.restart=function(t,e){return this.reversed(!1).paused(!1).totalTime(t?-this._delay:0,!1!==e,!0)},a.reverse=function(t,e){return null!=t&&this.seek(t||this.totalDuration(),e),this.reversed(!0).paused(!1)},a.render=function(t,e,i){},a.invalidate=function(){return this._time=this._totalTime=0,this._initted=this._gc=!1,this._rawPrevTime=-1,!this._gc&&this.timeline||this._enabled(!0),this},a.isActive=function(){var t,e=this._timeline,i=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=i&&t<i+this.totalDuration()/this._timeScale-1e-8},a._enabled=function(t,e){return h||o.wake(),this._gc=!t,this._active=this.isActive(),!0!==e&&(t&&!this.timeline?this._timeline.add(this,this._startTime-this._delay):!t&&this.timeline&&this._timeline._remove(this,!0)),!1},a._kill=function(t,e){return this._enabled(!1,!1)},a.kill=function(t,e){return this._kill(t,e),this},a._uncache=function(t){for(var e=t?this:this.timeline;e;)e._dirty=!0,e=e.timeline;return this},a._swapSelfInParams=function(t){for(var e=t.length,i=t.concat();--e>-1;)"{self}"===t[e]&&(i[e]=this);return i},a._callback=function(t){var e=this.vars,i=e[t],s=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(s?s.length:0){case 0:i.call(r);break;case 1:i.call(r,s[0]);break;case 2:i.call(r,s[0],s[1]);break;default:i.apply(r,s)}},a.eventCallback=function(t,e,i,s){if("on"===(t||"").substr(0,2)){var r=this.vars;if(1===arguments.length)return r[t];null==e?delete r[t]:(r[t]=e,r[t+"Params"]=d(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=s),"onUpdate"===t&&(this._onUpdate=e)}return this},a.delay=function(t){return arguments.length?(this._timeline.smoothChildTiming&&this.startTime(this._startTime+t-this._delay),this._delay=t,this):this._delay},a.duration=function(t){return arguments.length?(this._duration=this._totalDuration=t,this._uncache(!0),this._timeline.smoothChildTiming&&this._time>0&&this._time<this._duration&&0!==t&&this.totalTime(this._totalTime*(t/this._duration),!0),this):(this._dirty=!1,this._duration)},a.totalDuration=function(t){return this._dirty=!1,arguments.length?this.duration(t):this._totalDuration},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),this.totalTime(t>this._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,i){if(h||o.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var s=this._totalDuration,r=this._timeline;if(t>s&&!i&&(t=s),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?s-t:t)/this._timeScale,r._dirty||this._uncache(!1),r._timeline)for(;r._timeline;)r._timeline._time!==(r._startTime+r._totalTime)/r._timeScale&&r.totalTime(r._totalTime,!0),r=r._timeline}this._gc&&this._enabled(!0,!1),this._totalTime===t&&0!==this._duration||(z.length&&Q(),this.render(t,e,!1),z.length&&Q())}return this},a.progress=a.totalProgress=function(t,e){var i=this.duration();return arguments.length?this.totalTime(i*t,e):i?this._time/i:this.ratio},a.startTime=function(t){return arguments.length?(t!==this._startTime&&(this._startTime=t,this.timeline&&this.timeline._sortChildren&&this.timeline.add(this,t-this._delay)),this):this._startTime},a.endTime=function(t){return this._startTime+(0!=t?this.totalDuration():this.duration())/this._timeScale},a.timeScale=function(t){if(!arguments.length)return this._timeScale;var e,i;for(t=t||1e-8,this._timeline&&this._timeline.smoothChildTiming&&(i=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=i-(i-this._startTime)*this._timeScale/t),this._timeScale=t,i=this.timeline;i&&i.timeline;)i._dirty=!0,i.totalDuration(),i=i.timeline;return this},a.reversed=function(t){return arguments.length?(t!=this._reversed&&(this._reversed=t,this.totalTime(this._timeline&&!this._timeline.smoothChildTiming?this.totalDuration()-this._totalTime:this._totalTime,!0)),this):this._reversed},a.paused=function(t){if(!arguments.length)return this._paused;var e,i,s=this._timeline;return t!=this._paused&&s&&(h||t||o.wake(),i=(e=s.rawTime())-this._pauseTime,!t&&s.smoothChildTiming&&(this._startTime+=i,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==i&&this._initted&&this.duration()&&(e=s.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var M=y("core.SimpleTimeline",(function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0}));(a=M.prototype=new C).constructor=M,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,i,s){var r,n;if(t._startTime=Number(e||0)+t._delay,t._paused&&this!==t._timeline&&(t._pauseTime=this.rawTime()-(t._timeline.rawTime()-t._pauseTime)),t.timeline&&t.timeline._remove(t,!0),t.timeline=t._timeline=this,t._gc&&t._enabled(!0,!0),r=this._last,this._sortChildren)for(n=t._startTime;r&&r._startTime>n;)r=r._prev;return r?(t._next=r._next,r._next=t):(t._next=this._first,this._first=t),t._next?t._next._prev=t:this._last=t,t._prev=r,this._recent=t,this._timeline&&this._uncache(!0),this},a._remove=function(t,e){return t.timeline===this&&(e||t._enabled(!1,!0),t._prev?t._prev._next=t._next:this._first===t&&(this._first=t._next),t._next?t._next._prev=t._prev:this._last===t&&(this._last=t._prev),t._next=t._prev=t.timeline=null,t===this._recent&&(this._recent=this._last),this._timeline&&this._uncache(!0)),this},a.render=function(t,e,i){var s,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)s=r._next,(r._active||t>=r._startTime&&!r._paused&&!r._gc)&&(r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,i):r.render((t-r._startTime)*r._timeScale,e,i)),r=s},a.rawTime=function(){return h||o.wake(),this._totalTime};var D=y("TweenLite",(function(e,i,s){if(C.call(this,i,s),this.render=D.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:D.selector(e)||e;var r,n,a,o=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),h=this.vars.overwrite;if(this._overwrite=h=null==h?W[D.defaultOverwrite]:"number"==typeof h?h>>0:W[h],(o||e instanceof Array||e.push&&d(e))&&"number"!=typeof e[0])for(this._targets=a=f(e),this._propLookup=[],this._siblings=[],r=0;r<a.length;r++)(n=a[r])?"string"!=typeof n?n.length&&n!==t&&n[0]&&(n[0]===t||n[0].nodeType&&n[0].style&&!n.nodeType)?(a.splice(r--,1),this._targets=a=a.concat(f(n))):(this._siblings[r]=J(n,this,!1),1===h&&this._siblings[r].length>1&&tt(n,this,null,1,this._siblings[r])):"string"==typeof(n=a[r--]=D.selector(n))&&a.splice(r+1,1):a.splice(r--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===h&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===i&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-8,this.render(Math.min(0,-this._delay)))}),!0),F=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(a=D.prototype=new C).constructor=D,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,D.version="2.1.3",D.defaultEase=a._ease=new T(null,null,1,1),D.defaultOverwrite="auto",D.ticker=o,D.autoSleep=120,D.lagSmoothing=function(t,e){o.lagSmoothing(t,e)},D.selector=t.$||t.jQuery||function(e){var s=t.$||t.jQuery;return s?(D.selector=s,s(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var z=[],E={},X=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,I=/[\+-]=-?[\.\d]/,L=function(t){for(var e,i=this._firstPT;i;)e=i.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:i.c*t+i.s,i.m?e=i.m.call(this._tween,e,this._target||i.t,this._tween):e<1e-6&&e>-1e-6&&!i.blob&&(e=0),i.f?i.fp?i.t[i.p](i.fp,e):i.t[i.p](e):i.t[i.p]=e,i=i._next},N=function(t){return(1e3*t|0)/1e3+""},B=function(t,e,i,s){var r,n,a,o,h,l,u,c=[],_=0,f="",p=0;for(c.start=t,c.end=e,t=c[0]=t+"",e=c[1]=e+"",i&&(i(c),t=c[0],e=c[1]),c.length=0,r=t.match(X)||[],n=e.match(X)||[],s&&(s._next=null,s.blob=1,c._firstPT=c._applyPT=s),h=n.length,o=0;o<h;o++)u=n[o],f+=(l=e.substr(_,e.indexOf(u,_)-_))||!o?l:",",_+=l.length,p?p=(p+1)%5:"rgba("===l.substr(-5)&&(p=1),u===r[o]||r.length<=o?f+=u:(f&&(c.push(f),f=""),a=parseFloat(r[o]),c.push(a),c._firstPT={_next:c._firstPT,t:c,p:c.length-1,s:a,c:("="===u.charAt(1)?parseInt(u.charAt(0)+"1",10)*parseFloat(u.substr(2)):parseFloat(u)-a)||0,f:0,m:p&&p<4?Math.round:N}),_+=u.length;return(f+=e.substr(_))&&c.push(f),c.setRatio=L,I.test(e)&&(c.end=null),c},Y=function(t,e,i,s,r,n,a,o,h){"function"==typeof s&&(s=s(h||0,t));var l=typeof t[e],u="function"!==l?"":e.indexOf("set")||"function"!=typeof t["get"+e.substr(3)]?e:"get"+e.substr(3),c="get"!==i?i:u?a?t[u](a):t[u]():t[e],_="string"==typeof s&&"="===s.charAt(1),f={t:t,p:e,s:c,f:"function"===l,pg:0,n:r||e,m:n?"function"==typeof n?n:Math.round:0,pr:0,c:_?parseInt(s.charAt(0)+"1",10)*parseFloat(s.substr(2)):parseFloat(s)-c||0};if(("number"!=typeof c||"number"!=typeof s&&!_)&&(a||isNaN(c)||!_&&isNaN(s)||"boolean"==typeof c||"boolean"==typeof s?(f.fp=a,f={t:B(c,_?parseFloat(f.s)+f.c+(f.s+"").replace(/[0-9\-\.]/g,""):s,o||D.defaultStringFilter,f),p:"setRatio",s:0,c:1,f:2,pg:0,n:r||e,pr:0,m:0}):(f.s=parseFloat(c),_||(f.c=parseFloat(s)-f.s||0))),f.c)return(f._next=this._firstPT)&&(f._next._prev=f),this._firstPT=f,f},j=D._internals={isArray:d,isSelector:F,lazyTweens:z,blobDif:B},V=D._plugins={},U=j.tweenLookup={},q=0,G=j.reservedProps={ease:1,delay:1,overwrite:1,onComplete:1,onCompleteParams:1,onCompleteScope:1,useFrames:1,runBackwards:1,startAt:1,onUpdate:1,onUpdateParams:1,onUpdateScope:1,onStart:1,onStartParams:1,onStartScope:1,onReverseComplete:1,onReverseCompleteParams:1,onReverseCompleteScope:1,onRepeat:1,onRepeatParams:1,onRepeatScope:1,easeParams:1,yoyo:1,immediateRender:1,repeat:1,repeatDelay:1,data:1,paused:1,reversed:1,autoCSS:1,lazy:1,onOverwrite:1,callbackScope:1,stringFilter:1,id:1,yoyoEase:1,stagger:1},W={none:0,all:1,auto:2,concurrent:3,allOnStart:4,preexisting:5,true:1,false:0},H=C._rootFramesTimeline=new M,Z=C._rootTimeline=new M,$=30,Q=j.lazyRender=function(){var t,e,i=z.length;for(E={},t=0;t<i;t++)(e=z[t])&&!1!==e._lazy&&(e.render(e._lazy[0],e._lazy[1],!0),e._lazy=!1);z.length=0};Z._startTime=o.time,H._startTime=o.frame,Z._active=H._active=!0,setTimeout(Q,1),C._updateRoot=D.render=function(){var t,e,i;if(z.length&&Q(),Z.render((o.time-Z._startTime)*Z._timeScale,!1,!1),H.render((o.frame-H._startTime)*H._timeScale,!1,!1),z.length&&Q(),o.frame>=$){for(i in $=o.frame+(parseInt(D.autoSleep,10)||120),U){for(t=(e=U[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete U[i]}if((!(i=Z._first)||i._paused)&&D.autoSleep&&!H._first&&1===o._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||o.sleep()}}},o.addEventListener("tick",C._updateRoot);var J=function(t,e,i){var s,r,n=t._gsTweenID;if(U[n||(t._gsTweenID=n="t"+q++)]||(U[n]={target:t,tweens:[]}),e&&((s=U[n].tweens)[r=s.length]=e,i))for(;--r>-1;)s[r]===e&&s.splice(r,1);return U[n].tweens},K=function(t,e,i,s){var r,n,a=t.vars.onOverwrite;return a&&(r=a(t,e,i,s)),(a=D.onOverwrite)&&(n=a(t,e,i,s)),!1!==r&&!1!==n},tt=function(t,e,i,s,r){var n,a,o,h;if(1===s||s>=4){for(h=r.length,n=0;n<h;n++)if((o=r[n])!==e)o._gc||o._kill(null,t,e)&&(a=!0);else if(5===s)break;return a}var l,u=e._startTime+1e-8,c=[],_=0,f=0===e._duration;for(n=r.length;--n>-1;)(o=r[n])===e||o._gc||o._paused||(o._timeline!==e._timeline?(l=l||et(e,0,f),0===et(o,l,f)&&(c[_++]=o)):o._startTime<=u&&o._startTime+o.totalDuration()/o._timeScale>u&&((f||!o._initted)&&u-o._startTime<=2e-8||(c[_++]=o)));for(n=_;--n>-1;)if(h=(o=c[n])._firstPT,2===s&&o._kill(i,t,e)&&(a=!0),2!==s||!o._firstPT&&o._initted&&h){if(2!==s&&!K(o,e))continue;o._enabled(!1,!1)&&(a=!0)}return a},et=function(t,e,i){for(var s=t._timeline,r=s._timeScale,n=t._startTime;s._timeline;){if(n+=s._startTime,r*=s._timeScale,s._paused)return-100;s=s._timeline}return(n/=r)>e?n-e:i&&n===e||!t._initted&&n-e<2e-8?1e-8:(n+=t.totalDuration()/t._timeScale/r)>e+1e-8?0:n-e-1e-8};a._init=function(){var t,e,i,s,r,n,a=this.vars,o=this._overwrittenProps,h=this._duration,l=!!a.immediateRender,u=a.ease,c=this._startAt;if(a.startAt){for(s in c&&(c.render(-1,!0),c.kill()),r={},a.startAt)r[s]=a.startAt[s];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=l&&!1!==a.lazy,r.startAt=r.delay=null,r.onUpdate=a.onUpdate,r.onUpdateParams=a.onUpdateParams,r.onUpdateScope=a.onUpdateScope||a.callbackScope||this,this._startAt=D.to(this.target||{},0,r),l)if(this._time>0)this._startAt=null;else if(0!==h)return}else if(a.runBackwards&&0!==h)if(c)c.render(-1,!0),c.kill(),this._startAt=null;else{for(s in 0!==this._time&&(l=!1),i={},a)G[s]&&"autoCSS"!==s||(i[s]=a[s]);if(i.overwrite=0,i.data="isFromStart",i.lazy=l&&!1!==a.lazy,i.immediateRender=l,this._startAt=D.to(this.target,0,i),l){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=u=u?u instanceof T?u:"function"==typeof u?new T(u,a.easeParams):b[u]||D.defaultEase:D.defaultEase,a.easeParams instanceof Array&&u.config&&(this._ease=u.config.apply(u,a.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(n=this._targets.length,t=0;t<n;t++)this._initProps(this._targets[t],this._propLookup[t]={},this._siblings[t],o?o[t]:null,t)&&(e=!0);else e=this._initProps(this.target,this._propLookup,this._siblings,o,0);if(e&&D._onPluginEvent("_onInitAllProps",this),o&&(this._firstPT||"function"!=typeof this.target&&this._enabled(!1,!1)),a.runBackwards)for(i=this._firstPT;i;)i.s+=i.c,i.c=-i.c,i=i._next;this._onUpdate=a.onUpdate,this._initted=!0},a._initProps=function(e,i,s,r,n){var a,o,h,l,u,c;if(null==e)return!1;for(a in E[e._gsTweenID]&&Q(),this.vars.css||e.style&&e!==t&&e.nodeType&&V.css&&!1!==this.vars.autoCSS&&function(t,e){var i,s={};for(i in t)G[i]||i in e&&"transform"!==i&&"x"!==i&&"y"!==i&&"width"!==i&&"height"!==i&&"className"!==i&&"border"!==i||!(!V[i]||V[i]&&V[i]._autoCSS)||(s[i]=t[i],delete t[i]);t.css=s}(this.vars,e),this.vars)if(c=this.vars[a],G[a])c&&(c instanceof Array||c.push&&d(c))&&-1!==c.join("").indexOf("{self}")&&(this.vars[a]=c=this._swapSelfInParams(c,this));else if(V[a]&&(l=new V[a])._onInitTween(e,this.vars[a],this,n)){for(this._firstPT=u={_next:this._firstPT,t:l,p:"setRatio",s:0,c:1,f:1,n:a,pg:1,pr:l._priority,m:0},o=l._overwriteProps.length;--o>-1;)i[l._overwriteProps[o]]=this._firstPT;(l._priority||l._onInitAllProps)&&(h=!0),(l._onDisable||l._onEnable)&&(this._notifyPluginsOfEnabled=!0),u._next&&(u._next._prev=u)}else i[a]=Y.call(this,e,a,"get",c,a,0,null,this.vars.stringFilter,n);return r&&this._kill(r,e)?this._initProps(e,i,s,r,n):this._overwrite>1&&this._firstPT&&s.length>1&&tt(e,this,i,this._overwrite,s)?(this._kill(i,e),this._initProps(e,i,s,r,n)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(E[e._gsTweenID]=!0),h)},a.render=function(t,e,i){var s,r,n,a,o=this._time,h=this._duration,l=this._rawPrevTime;if(t>=h-1e-8&&t>=0)this._totalTime=this._time=h,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(s=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===h&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(l<0||t<=0&&t>=-1e-8||1e-8===l&&"isPause"!==this.data)&&l!==t&&(i=!0,l>1e-8&&(r="onReverseComplete")),this._rawPrevTime=a=!e||t||l===t?t:1e-8);else if(t<1e-8)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==o||0===h&&l>0)&&(r="onReverseComplete",s=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===h&&(this._initted||!this.vars.lazy||i)&&(l>=0&&(1e-8!==l||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=a=!e||t||l===t?t:1e-8)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var u=t/h,c=this._easeType,_=this._easePower;(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===_?u*=u:2===_?u*=u*u:3===_?u*=u*u*u:4===_&&(u*=u*u*u*u),this.ratio=1===c?1-u:2===c?u:t/h<.5?u/2:1-u/2}else this.ratio=this._ease.getRatio(t/h);if(this._time!==o||i){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=o,this._rawPrevTime=l,z.push(this),void(this._lazy=[t,e]);this._time&&!s?this.ratio=this._ease.getRatio(this._time/h):s&&this._ease._calcEnd&&(this.ratio=this._ease.getRatio(0===this._time?0:1))}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==o&&t>=0&&(this._active=!0),0===o&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==h||e||this._callback("onStart"))),n=this._firstPT;n;)n.f?n.t[n.p](n.c*this.ratio+n.s):n.t[n.p]=n.c*this.ratio+n.s,n=n._next;this._onUpdate&&(t<0&&this._startAt&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==o||s||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===h&&1e-8===this._rawPrevTime&&1e-8!==a&&(this._rawPrevTime=0)))}},a._kill=function(t,e,i){if("all"===t&&(t=null),null==t&&(null==e||e===this.target))return this._lazy=!1,this._enabled(!1,!1);e="string"!=typeof e?e||this._targets||this.target:D.selector(e)||e;var s,r,n,a,o,h,l,u,c,_=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline,f=this._firstPT;if((d(e)||F(e))&&"number"!=typeof e[0])for(s=e.length;--s>-1;)this._kill(t,e[s],i)&&(h=!0);else{if(this._targets){for(s=this._targets.length;--s>-1;)if(e===this._targets[s]){o=this._propLookup[s]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[s]=t?this._overwrittenProps[s]||{}:"all";break}}else{if(e!==this.target)return!1;o=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(o){if(l=t||o,u=t!==r&&"all"!==r&&t!==o&&("object"!=typeof t||!t._tempKill),i&&(D.onOverwrite||this.vars.onOverwrite)){for(n in l)o[n]&&(c||(c=[]),c.push(n));if((c||!t)&&!K(this,i,e,c))return!1}for(n in l)(a=o[n])&&(_&&(a.f?a.t[a.p](a.s):a.t[a.p]=a.s,h=!0),a.pg&&a.t._kill(l)&&(h=!0),a.pg&&0!==a.t._overwriteProps.length||(a._prev?a._prev._next=a._next:a===this._firstPT&&(this._firstPT=a._next),a._next&&(a._next._prev=a._prev),a._next=a._prev=null),delete o[n]),u&&(r[n]=1);!this._firstPT&&this._initted&&f&&this._enabled(!1,!1)}}return h},a.invalidate=function(){this._notifyPluginsOfEnabled&&D._onPluginEvent("_onDisable",this);var t=this._time;return this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],C.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-8,this.render(t,!1,!1!==this.vars.lazy)),this},a._enabled=function(t,e){if(h||o.wake(),t&&this._gc){var i,s=this._targets;if(s)for(i=s.length;--i>-1;)this._siblings[i]=J(s[i],this,!0);else this._siblings=J(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&D._onPluginEvent(t?"_onEnable":"_onDisable",this)},D.to=function(t,e,i){return new D(t,e,i)},D.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new D(t,e,i)},D.fromTo=function(t,e,i,s){return s.startAt=i,s.immediateRender=0!=s.immediateRender&&0!=i.immediateRender,new D(t,e,s)},D.delayedCall=function(t,e,i,s,r){return new D(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:s,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},D.set=function(t,e){return new D(t,0,e)},D.getTweensOf=function(t,e){if(null==t)return[];var i,s,r,n;if(t="string"!=typeof t?t:D.selector(t)||t,(d(t)||F(t))&&"number"!=typeof t[0]){for(i=t.length,s=[];--i>-1;)s=s.concat(D.getTweensOf(t[i],e));for(i=s.length;--i>-1;)for(n=s[i],r=i;--r>-1;)n===s[r]&&s.splice(i,1)}else if(t._gsTweenID)for(i=(s=J(t).concat()).length;--i>-1;)(s[i]._gc||e&&!s[i].isActive())&&s.splice(i,1);return s||[]},D.killTweensOf=D.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var s=D.getTweensOf(t,e),r=s.length;--r>-1;)s[r]._kill(i,t)};var it=y("plugins.TweenPlugin",(function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=it.prototype}),!0);if(a=it.prototype,it.version="1.19.0",it.API=2,a._firstPT=null,a._addTween=Y,a.setRatio=L,a._kill=function(t){var e,i=this._overwriteProps,s=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=i.length;--e>-1;)null!=t[i[e]]&&i.splice(e,1);for(;s;)null!=t[s.n]&&(s._next&&(s._next._prev=s._prev),s._prev?(s._prev._next=s._next,s._prev=null):this._firstPT===s&&(this._firstPT=s._next)),s=s._next;return!1},a._mod=a._roundProps=function(t){for(var e,i=this._firstPT;i;)(e=t[this._propName]||null!=i.n&&t[i.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===i.f?i.t._applyPT.m=e:i.m=e),i=i._next},D._onPluginEvent=function(t,e){var i,s,r,n,a,o=e._firstPT;if("_onInitAllProps"===t){for(;o;){for(a=o._next,s=r;s&&s.pr>o.pr;)s=s._next;(o._prev=s?s._prev:n)?o._prev._next=o:r=o,(o._next=s)?s._prev=o:n=o,o=a}o=e._firstPT=r}for(;o;)o.pg&&"function"==typeof o.t[t]&&o.t[t]()&&(i=!0),o=o._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(V[(new t[e])._propName]=t[e]);return!0},v.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,s=t.priority||0,r=t.overwriteProps,n={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},a=y("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",(function(){it.call(this,i,s),this._overwriteProps=r||[]}),!0===t.global),o=a.prototype=new it(i);for(e in o.constructor=a,a.API=t.API,n)"function"==typeof t[e]&&(o[n[e]]=t[e]);return a.version=t.version,it.activate([a]),a},r=t._gsQueue){for(n=0;n<r.length;n++)r[n]();for(a in m)m[a].func||t.console.log("GSAP encountered missing dependency: "+a)}return h=!1,D}(r),a=r.GreenSockGlobals,o=a.com.greensock,h=o.core.SimpleTimeline,l=o.core.Animation,u=a.Ease,c=(a.Linear,a.Power1,a.Power2,a.Power3,a.Power4,a.TweenPlugin);o.events.EventDispatcher}).call(this,i(2)(t),i(3))},function(t,e,i){"use strict";
/*! <[email protected]> 2019-09-26 */t.exports=function(){var t=window.requestAnimationFrame||window.webkitRequestAnimationFrame||function(t){return setTimeout(t,16.666)},e=window.cancelAnimationFrame||webkitCancelAnimationFrame||function(t){clearTimeout(t)},i={mouse:{start:"mousedown",move:"mousemove",end:["mouseup","mouseleave"]},touch:{start:"touchstart",move:"touchmove",end:["touchend","touchcancel"]}}[void 0===window.ontouchstart?"mouse":"touch"];function s(t){t=t||{},this.el=t.el?"string"==typeof t.el?document.querySelector(t.el):t.el:window,this.options=t,this.min=isNaN(t.min)?-10:t.min,this.max=isNaN(t.max)?0:t.max,this.vertical=t.vertical,this.sensitivity=t.sensitivity||1,this.maxSpeed=(t.maxSpeed||3)*this.sensitivity,this.friction=t.friction||.97,this.inertia=t.inertia||100,this._value=t.value||0,this.speed=(t.speed||1)*this.sensitivity,this.change=t.change||this._noop,this._calc=this._calc.bind(this),this.init()}return s.prototype={constructor:s,init:function(){this.el.addEventListener(i.start,this,!1),window.addEventListener(i.move,this,!1),window.addEventListener(i.end[0],this,!1),window.addEventListener(i.end[1],this,!1)},handleEvent:function(t){switch(t.type){case i.start:this._events.start.call(this,t);break;case i.move:this._events.move.call(this,t);break;case i.end[0]:case i.end[1]:this._events.end.call(this,t)}},clamp:function(t,e,i){return Math.max(e,Math.min(i,t))},_noop:function(t){console.log(t)},_calc:function(){this._timer=t(this._calc),0!==this._step&&(this._value=this.clamp(this._value+this._step,this.min,this.max),this._step=0,this.change(this._value,this.min,this.max))},_events:{start:function(t){"touchstart"===t.type?(this._startValue=this.vertical?t.touches[0].clientY:t.touches[0].clientX,this._startValue2=this.vertical?t.touches[0].clientX:t.touches[0].clientY):(this._startValue=this.vertical?t.clientY:t.clientX,this._startValue2=this.vertical?t.clientX:t.clientY),this._startTime=t.timeStamp,this._moveValue=this._startValue,this._step=0,this._isDown=!0,e(this._timer),e(this._timer2),this._calc()},move:function(t){var e,i;this._isDown&&("touchmove"===t.type?(e=this.vertical?t.touches[0].clientY:t.touches[0].clientX,i=this.vertical?t.touches[0].clientX:t.touches[0].clientY):(e=this.vertical?t.clientY:t.clientX,i=this.vertical?t.clientX:t.clientY),Math.abs(i-this._startValue2)>Math.abs(e-this._startValue)||e===this._moveValue?this._step=0:e>this._moveValue?(this._step=this.speed,this._moveValue=e):(this._step=-this.speed,this._moveValue=e))},end:function(t){if(this._isDown){var i,s=t.timeStamp-this._startTime,r=("touchend"===t.type||"touchcancel"===t.type?this.vertical?t.changedTouches[0].clientY:t.changedTouches[0].clientX:this.vertical?t.clientY:t.clientX)-this._startValue;this._isDown=!1,e(this._timer),s>0&&s<300&&Math.abs(r)>5&&(i=r/s*this.inertia*this.sensitivity,this._ease(i))}}},_ease:function(e){var i,s=this.friction,r=this.maxSpeed,n=this.min,a=this.max,o=function(){this._value!==n&&this._value!==a&&Math.abs(e)>.001&&(this._timer2=t(o)),i=(e*=s)>0?e>r?r:e:e<-r?-r:e,this._value=this.clamp(this._value+i,n,a),this.change(this._value,n,a)}.bind(this);o()}},s}()},function(t,e){t.exports=function(t){if(!t.webpackPolyfill){var e=Object.create(t);e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),Object.defineProperty(e,"exports",{enumerable:!0}),e.webpackPolyfill=1}return e}},function(t,e){var i;i=function(){return this}();try{i=i||new Function("return this")()}catch(t){"object"==typeof window&&(i=window)}t.exports=i},function(t,e,i){"use strict";i.r(e);var s=i(1),r=i.n(s),n=i(0);
/*!
* VERSION: 2.1.3
* DATE: 2019-05-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
*/
n.e._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){n.c.call(this,t);var e,i,s=this.vars;for(i in this._labels={},this.autoRemoveChildren=!!s.autoRemoveChildren,this.smoothChildTiming=!!s.smoothChildTiming,this._sortChildren=!0,this._onUpdate=s.onUpdate,s)e=s[i],r(e)&&-1!==e.join("").indexOf("{self}")&&(s[i]=this._swapSelfInParams(e));r(s.tweens)&&this.add(s.tweens,0,s.align,s.stagger)},e=n.f._internals,i=t._internals={},s=e.isSelector,r=e.isArray,a=e.lazyTweens,o=e.lazyRender,h=n.e._gsDefine.globals,l=function(t){var e,i={};for(e in t)i[e]=t[e];return i},u=function(t,e,i){var s,r,n=t.cycle;for(s in n)r=n[s],t[s]="function"==typeof r?r(i,e[i],e):r[i%r.length];delete t.cycle},c=i.pauseCallback=function(){},_=function(t,e,i,s){var r="immediateRender";return r in e||(e[r]=!(i&&!1===i[r]||s)),e},f=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,s=e.from||0,r=e.base||0,n={},a=isNaN(s),o=e.axis,h={center:.5,end:1}[s]||0;return function(t,l,u){var c,_,f,p,d,m,g,v,y,x=(u||e).length,T=n[x];if(!T){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[y++].getBoundingClientRect().left)&&y<x;);y--}for(T=n[x]=[],c=a?Math.min(y,x)*h-.5:s%y,_=a?x*h/y-.5:s/y|0,g=0,v=1/0,m=0;m<x;m++)f=m%y-c,p=_-(m/y|0),T[m]=d=o?Math.abs("y"===o?p:f):Math.sqrt(f*f+p*p),d>g&&(g=d),d<v&&(v=d);T.max=g-v,T.min=v,T.v=x=e.amount||e.each*(y>x?x-1:o?"y"===o?x/y:y:Math.max(y,x/y))||0,T.b=x<0?r-x:r}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},p=t.prototype=new n.c;return t.version="2.1.3",t.distribute=f,p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,i,s){var r=i.repeat&&h.TweenMax||n.f;return e?this.add(new r(t,e,i),s):this.set(t,i,s)},p.from=function(t,e,i,s){return this.add((i.repeat&&h.TweenMax||n.f).from(t,e,_(0,i)),s)},p.fromTo=function(t,e,i,s,r){var a=s.repeat&&h.TweenMax||n.f;return s=_(0,s,i),e?this.add(a.fromTo(t,e,i,s),r):this.set(t,s,r)},p.staggerTo=function(e,i,r,a,o,h,c,_){var p,d,m=new t({onComplete:h,onCompleteParams:c,callbackScope:_,smoothChildTiming:this.smoothChildTiming}),g=f(r.stagger||a),v=r.startAt,y=r.cycle;for("string"==typeof e&&(e=n.f.selector(e)||e),s(e=e||[])&&(e=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i}(e)),d=0;d<e.length;d++)p=l(r),v&&(p.startAt=l(v),v.cycle&&u(p.startAt,e,d)),y&&(u(p,e,d),null!=p.duration&&(i=p.duration,delete p.duration)),m.to(e[d],i,p,g(d,e[d],e));return this.add(m,o)},p.staggerFrom=function(t,e,i,s,r,n,a,o){return i.runBackwards=!0,this.staggerTo(t,e,_(0,i),s,r,n,a,o)},p.staggerFromTo=function(t,e,i,s,r,n,a,o,h){return s.startAt=i,this.staggerTo(t,e,_(0,s,i),r,n,a,o,h)},p.call=function(t,e,i,s){return this.add(n.f.delayedCall(0,t,e,i),s)},p.set=function(t,e,i){return this.add(new n.f(t,0,_(0,e,null,!0)),i)},t.exportRoot=function(e,i){null==(e=e||{}).smoothChildTiming&&(e.smoothChildTiming=!0);var s,r,a,o,h=new t(e),l=h._timeline;for(null==i&&(i=!0),l._remove(h,!0),h._startTime=0,h._rawPrevTime=h._time=h._totalTime=l._time,a=l._first;a;)o=a._next,i&&a instanceof n.f&&a.target===a.vars.onComplete||((r=a._startTime-a._delay)<0&&(s=1),h.add(a,r)),a=o;return l.add(h,0),s&&h.totalDuration(),h},p.add=function(e,i,s,a){var o,h,l,u,c,_;if("number"!=typeof i&&(i=this._parseTimeOrLabel(i,0,!0,e)),!(e instanceof n.a)){if(e instanceof Array||e&&e.push&&r(e)){for(s=s||"normal",a=a||0,o=i,h=e.length,l=0;l<h;l++)r(u=e[l])&&(u=new t({tweens:u})),this.add(u,o),"string"!=typeof u&&"function"!=typeof u&&("sequence"===s?o=u._startTime+u.totalDuration()/u._timeScale:"start"===s&&(u._startTime-=u.delay())),o+=a;return this._uncache(!0)}if("string"==typeof e)return this.addLabel(e,i);if("function"!=typeof e)throw"Cannot add "+e+" into the timeline; it is not a tween, timeline, function, or string.";e=n.f.delayedCall(0,e)}if(n.c.prototype.add.call(this,e,i),(e._time||!e._duration&&e._initted)&&(o=(this.rawTime()-e._startTime)*e._timeScale,(!e._duration||Math.abs(Math.max(0,Math.min(e.totalDuration(),o)))-e._totalTime>1e-5)&&e.render(o,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(_=(c=this).rawTime()>e._startTime;c._timeline;)_&&c._timeline.smoothChildTiming?c.totalTime(c._totalTime,!0):c._gc&&c._enabled(!0,!1),c=c._timeline;return this},p.remove=function(t){if(t instanceof n.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?n.a._rootFramesTimeline:n.a._rootTimeline;return t._startTime=(t._paused?t._pauseTime:e._time)-(t._reversed?t.totalDuration()-t._totalTime:t._totalTime)/t._timeScale,this}if(t instanceof Array||t&&t.push&&r(t)){for(var i=t.length;--i>-1;)this.remove(t[i]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},p._remove=function(t,e){return n.c.prototype._remove.call(this,t,e),this._last?this._time>this.duration()&&(this._time=this._duration,this._totalTime=this._totalDuration):this._time=this._totalTime=this._duration=this._totalDuration=0,this},p.append=function(t,e){return this.add(t,this._parseTimeOrLabel(null,e,!0,t))},p.insert=p.insertMultiple=function(t,e,i,s){return this.add(t,e||0,i,s)},p.appendMultiple=function(t,e,i,s){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,s)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,i,s){var r=n.f.delayedCall(0,c,i,s||this);return r.vars.onComplete=r.vars.onReverseComplete=e,r.data="isPause",this._hasPause=!0,this.add(r,t)},p.removeLabel=function(t){return delete this._labels[t],this},p.getLabelTime=function(t){return null!=this._labels[t]?this._labels[t]:-1},p._parseTimeOrLabel=function(t,e,i,s){var a,o;if(s instanceof n.a&&s.timeline===this)this.remove(s);else if(s&&(s instanceof Array||s.push&&r(s)))for(o=s.length;--o>-1;)s[o]instanceof n.a&&s[o].timeline===this&&this.remove(s[o]);if(a="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,i&&"number"==typeof t&&null==this._labels[e]?t-a:0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=a);else{if(-1===(o=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=a+e:e:this._labels[t]+e;e=parseInt(t.charAt(o-1)+"1",10)*Number(t.substr(o+1)),t=o>1?this._parseTimeOrLabel(t.substr(0,o-1),0,i):a}return Number(t)+e},p.seek=function(t,e){return this.totalTime("number"==typeof t?t:this._parseTimeOrLabel(t),!1!==e)},p.stop=function(){return this.paused(!0)},p.gotoAndPlay=function(t,e){return this.play(t,e)},p.gotoAndStop=function(t,e){return this.pause(t,e)},p.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var s,r,n,h,l,u,c,_,f=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._startTime,m=this._timeScale,g=this._paused;if(f!==this._time&&(t+=this._time-f),this._hasPause&&!this._forcingPlayhead&&!e){if(t>f)for(s=this._first;s&&s._startTime<=t&&!u;)s._duration||"isPause"!==s.data||s.ratio||0===s._startTime&&0===this._rawPrevTime||(u=s),s=s._next;else for(s=this._last;s&&s._startTime>=t&&!u;)s._duration||"isPause"===s.data&&s._rawPrevTime>0&&(u=s),s=s._prev;u&&(this._time=this._totalTime=t=u._startTime,_=this._startTime+(this._reversed?this._duration-t:t)/this._timeScale)}if(t>=p-1e-8&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,h="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||this._rawPrevTime<0||1e-8===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(l=!0,this._rawPrevTime>1e-8&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,t=p+1e-4;else if(t<1e-8)if(this._totalTime=this._time=0,t>-1e-8&&(t=0),(0!==f||0===this._duration&&1e-8!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(h="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=r=!0,h="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&r)for(s=this._first;s&&0===s._startTime;)s._duration||(r=!1),s=s._next;t=0,this._initted||(l=!0)}else this._totalTime=this._time=this._rawPrevTime=t;if(this._time!==f&&this._first||i||l||u){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==f&&t>0&&(this._active=!0),0===f&&this.vars.onStart&&(0===this._time&&this._duration||e||this._callback("onStart")),(c=this._time)>=f)for(s=this._first;s&&(n=s._next,c===this._time&&(!this._paused||g));)(s._active||s._startTime<=c&&!s._paused&&!s._gc)&&(u===s&&(this.pause(),this._pauseTime=_),s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)),s=n;else for(s=this._last;s&&(n=s._prev,c===this._time&&(!this._paused||g));){if(s._active||s._startTime<=f&&!s._paused&&!s._gc){if(u===s){for(u=s._prev;u&&u.endTime()>this._time;)u.render(u._reversed?u.totalDuration()-(t-u._startTime)*u._timeScale:(t-u._startTime)*u._timeScale,e,i),u=u._prev;u=null,this.pause(),this._pauseTime=_}s._reversed?s.render((s._dirty?s.totalDuration():s._totalDuration)-(t-s._startTime)*s._timeScale,e,i):s.render((t-s._startTime)*s._timeScale,e,i)}s=n}this._onUpdate&&(e||(a.length&&o(),this._callback("onUpdate"))),h&&(this._gc||d!==this._startTime&&m===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(a.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[h]&&this._callback(h)))}},p._hasPausedChild=function(){for(var e=this._first;e;){if(e._paused||e instanceof t&&e._hasPausedChild())return!0;e=e._next}return!1},p.getChildren=function(t,e,i,s){s=s||-9999999999;for(var r=[],a=this._first,o=0;a;)a._startTime<s||(a instanceof n.f?!1!==e&&(r[o++]=a):(!1!==i&&(r[o++]=a),!1!==t&&(o=(r=r.concat(a.getChildren(!0,e,i))).length))),a=a._next;return r},p.getTweensOf=function(t,e){var i,s,r=this._gc,a=[],o=0;for(r&&this._enabled(!0,!0),s=(i=n.f.getTweensOf(t)).length;--s>-1;)(i[s].timeline===this||e&&this._contains(i[s]))&&(a[o++]=i[s]);return r&&this._enabled(!1,!0),a},p.recent=function(){return this._recent},p._contains=function(t){for(var e=t.timeline;e;){if(e===this)return!0;e=e.timeline}return!1},p.shiftChildren=function(t,e,i){i=i||0;for(var s,r=this._first,n=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(s in n)n[s]>=i&&(n[s]+=t);return this._uncache(!0)},p._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var i=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),s=i.length,r=!1;--s>-1;)i[s]._kill(t,e)&&(r=!0);return r},p.clear=function(t){var e=this.getChildren(!1,!0,!0),i=e.length;for(this._time=this._totalTime=0;--i>-1;)e[i]._enabled(!1,!1);return!1!==t&&(this._labels={}),this._uncache(!0)},p.invalidate=function(){for(var t=this._first;t;)t.invalidate(),t=t._next;return n.a.prototype.invalidate.call(this)},p._enabled=function(t,e){if(t===this._gc)for(var i=this._first;i;)i._enabled(t,!0),i=i._next;return n.c.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,i){this._forcingPlayhead=!0;var s=n.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,s},p.duration=function(t){return arguments.length?(0!==this.duration()&&0!==t&&this.timeScale(this._duration/t),this):(this._dirty&&this.totalDuration(),this._duration)},p.totalDuration=function(t){if(!arguments.length){if(this._dirty){for(var e,i,s=0,r=this,n=r._last,a=999999999999;n;)e=n._prev,n._dirty&&n.totalDuration(),n._startTime>a&&r._sortChildren&&!n._paused&&!r._calculatingDuration?(r._calculatingDuration=1,r.add(n,n._startTime-n._delay),r._calculatingDuration=0):a=n._startTime,n._startTime<0&&!n._paused&&(s-=n._startTime,r._timeline.smoothChildTiming&&(r._startTime+=n._startTime/r._timeScale,r._time-=n._startTime,r._totalTime-=n._startTime,r._rawPrevTime-=n._startTime),r.shiftChildren(-n._startTime,!1,-9999999999),a=0),(i=n._startTime+n._totalDuration/n._timeScale)>s&&(s=i),n=e;r._duration=r._totalDuration=s,r._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!1===t&&this._paused)for(var e=this._first;e;)e._startTime===this._time&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return n.a.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===n.a._rootFramesTimeline},p.rawTime=function(t){return t&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(t)-this._startTime)*this._timeScale},t}),!0);var a=n.g.TimelineLite;
/*!
* VERSION: 2.1.3
* DATE: 2019-05-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/n.e._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],(function(){var t=function(t){var e,i=[],s=t.length;for(e=0;e!==s;i.push(t[e++]));return i},e=function(t,e,i){var s,r,n=t.cycle;for(s in n)r=n[s],t[s]="function"==typeof r?r(i,e[i],e):r[i%r.length];delete t.cycle},i=function(t){if("function"==typeof t)return t;var e="object"==typeof t?t:{each:t},i=e.ease,s=e.from||0,r=e.base||0,n={},a=isNaN(s),o=e.axis,h={center:.5,end:1}[s]||0;return function(t,l,u){var c,_,f,p,d,m,g,v,y,x=(u||e).length,T=n[x];if(!T){if(!(y="auto"===e.grid?0:(e.grid||[1/0])[0])){for(g=-1/0;g<(g=u[y++].getBoundingClientRect().left)&&y<x;);y--}for(T=n[x]=[],c=a?Math.min(y,x)*h-.5:s%y,_=a?x*h/y-.5:s/y|0,g=0,v=1/0,m=0;m<x;m++)f=m%y-c,p=_-(m/y|0),T[m]=d=o?Math.abs("y"===o?p:f):Math.sqrt(f*f+p*p),d>g&&(g=d),d<v&&(v=d);T.max=g-v,T.min=v,T.v=x=e.amount||e.each*(y>x?x-1:o?"y"===o?x/y:y:Math.max(y,x/y))||0,T.b=x<0?r-x:r}return x=(T[t]-T.min)/T.max,T.b+(i?i.getRatio(x):x)*T.v}},s=function(t,e,i){n.f.call(this,t,e,i),this._cycle=0,this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=s.prototype.render},r=n.f._internals,a=r.isSelector,o=r.isArray,h=s.prototype=n.f.to({},.1,{}),l=[];s.version="2.1.3",h.constructor=s,h.kill()._gc=!1,s.killTweensOf=s.killDelayedCallsTo=n.f.killTweensOf,s.getTweensOf=n.f.getTweensOf,s.lagSmoothing=n.f.lagSmoothing,s.ticker=n.f.ticker,s.render=n.f.render,s.distribute=i,h.invalidate=function(){return this._yoyo=!0===this.vars.yoyo||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),n.f.prototype.invalidate.call(this)},h.updateTo=function(t,e){var i,s=this.ratio,r=this.vars.immediateRender||t.immediateRender;for(i in e&&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)),t)this.vars[i]=t[i];if(this._initted||r)if(e)this._initted=!1,r&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&n.f._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var a=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(a,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||r)for(var o,h=1/(1-s),l=this._firstPT;l;)o=l.s+l.c,l.c*=h,l.s=o-l.c,l=l._next;return this},h.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var s,a,o,h,l,u,c,_,f,p=this._dirty?this.totalDuration():this._totalDuration,d=this._time,m=this._totalTime,g=this._cycle,v=this._duration,y=this._rawPrevTime;if(t>=p-1e-8&&t>=0?(this._totalTime=p,this._cycle=this._repeat,this._yoyo&&0!=(1&this._cycle)?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=v,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(s=!0,a="onComplete",i=i||this._timeline.autoRemoveChildren),0===v&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-8||1e-8===y&&"isPause"!==this.data)&&y!==t&&(i=!0,y>1e-8&&(a="onReverseComplete")),this._rawPrevTime=_=!e||t||y===t?t:1e-8)):t<1e-8?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===v&&y>0)&&(a="onReverseComplete",s=this._reversed),t>-1e-8?t=0:t<0&&(this._active=!1,0===v&&(this._initted||!this.vars.lazy||i)&&(y>=0&&(i=!0),this._rawPrevTime=_=!e||t||y===t?t:1e-8)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(h=v+this._repeatDelay,this._cycle=this._totalTime/h>>0,0!==this._cycle&&this._cycle===this._totalTime/h&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*h,this._yoyo&&0!=(1&this._cycle)&&(this._time=v-this._time,(f=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==f||this._initted?this._yoyoEase=f=!0===f?this._ease:f instanceof n.b?f:n.b.map[f]:(f=this.vars.ease,this._yoyoEase=f=f?f instanceof n.b?f:"function"==typeof f?new n.b(f,this.vars.easeParams):n.b.map[f]||n.f.defaultEase:n.f.defaultEase)),this.ratio=f?1-f.getRatio((v-this._time)/v):0)),this._time>v?this._time=v:this._time<0&&(this._time=0)),this._easeType&&!f?(l=this._time/v,(1===(u=this._easeType)||3===u&&l>=.5)&&(l=1-l),3===u&&(l*=2),1===(c=this._easePower)?l*=l:2===c?l*=l*l:3===c?l*=l*l*l:4===c&&(l*=l*l*l*l),this.ratio=1===u?1-l:2===u?l:this._time/v<.5?l/2:1-l/2):f||(this.ratio=this._ease.getRatio(this._time/v))),d!==this._time||i||g!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!i&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=d,this._totalTime=m,this._rawPrevTime=y,this._cycle=g,r.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||s||f?s&&this._ease._calcEnd&&!f&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/v)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==d&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,i):a||(a="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==v||e||this._callback("onStart"))),o=this._firstPT;o;)o.f?o.t[o.p](o.c*this.ratio+o.s):o.t[o.p]=o.c*this.ratio+o.s,o=o._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,i),e||(this._totalTime!==m||a)&&this._callback("onUpdate")),this._cycle!==g&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),a&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,i),s&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[a]&&this._callback(a),0===v&&1e-8===this._rawPrevTime&&1e-8!==_&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},s.to=function(t,e,i){return new s(t,e,i)},s.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new s(t,e,i)},s.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new s(t,e,r)},s.staggerTo=s.allTo=function(r,h,u,c,_,f,p){var d,m,g,v,y=[],x=i(u.stagger||c),T=u.cycle,b=(u.startAt||l).cycle;for(o(r)||("string"==typeof r&&(r=n.f.selector(r)||r),a(r)&&(r=t(r))),d=(r=r||[]).length-1,g=0;g<=d;g++){for(v in m={},u)m[v]=u[v];if(T&&(e(m,r,g),null!=m.duration&&(h=m.duration,delete m.duration)),b){for(v in b=m.startAt={},u.startAt)b[v]=u.startAt[v];e(m.startAt,r,g)}m.delay=x(g,r[g],r)+(m.delay||0),g===d&&_&&(m.onComplete=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),_.apply(p||u.callbackScope||this,f||l)}),y[g]=new s(r[g],h,m)}return y},s.staggerFrom=s.allFrom=function(t,e,i,r,n,a,o){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,s.staggerTo(t,e,i,r,n,a,o)},s.staggerFromTo=s.allFromTo=function(t,e,i,r,n,a,o,h){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,s.staggerTo(t,e,r,n,a,o,h)},s.delayedCall=function(t,e,i,r,n){return new s(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:n,overwrite:0})},s.set=function(t,e){return new s(t,0,e)},s.isTweening=function(t){return n.f.getTweensOf(t,!0).length>0};var u=function(t,e){for(var i=[],s=0,r=t._first;r;)r instanceof n.f?i[s++]=r:(e&&(i[s++]=r),s=(i=i.concat(u(r,e))).length),r=r._next;return i},c=s.getAllTweens=function(t){return u(n.a._rootTimeline,t).concat(u(n.a._rootFramesTimeline,t))};s.killAll=function(t,e,i,s){null==e&&(e=!0),null==i&&(i=!0);var r,a,o,h=c(0!=s),l=h.length,u=e&&i&&s;for(o=0;o<l;o++)a=h[o],(u||a instanceof n.c||(r=a.target===a.vars.onComplete)&&i||e&&!r)&&(t?a.totalTime(a._reversed?0:a.totalDuration()):a._enabled(!1,!1))},s.killChildTweensOf=function(e,i){if(null!=e){var h,l,u,c,_,f=r.tweenLookup;if("string"==typeof e&&(e=n.f.selector(e)||e),a(e)&&(e=t(e)),o(e))for(c=e.length;--c>-1;)s.killChildTweensOf(e[c],i);else{for(u in h=[],f)for(l=f[u].target.parentNode;l;)l===e&&(h=h.concat(f[u].tweens)),l=l.parentNode;for(_=h.length,c=0;c<_;c++)i&&h[c].totalTime(h[c].totalDuration()),h[c]._enabled(!1,!1)}}};var _=function(t,e,i,s){e=!1!==e,i=!1!==i;for(var r,a,o=c(s=!1!==s),h=e&&i&&s,l=o.length;--l>-1;)a=o[l],(h||a instanceof n.c||(r=a.target===a.vars.onComplete)&&i||e&&!r)&&a.paused(t)};return s.pauseAll=function(t,e,i){_(!0,t,e,i)},s.resumeAll=function(t,e,i){_(!1,t,e,i)},s.globalTimeScale=function(t){var e=n.a._rootTimeline,i=n.f.ticker.time;return arguments.length?(t=t||1e-8,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=n.a._rootFramesTimeline,i=n.f.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=n.a._rootTimeline._timeScale=t,t):e._timeScale},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this.duration()?this._time/this._duration:this.ratio},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,s=this._cycle,r=s*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&s?i-t+r:this._repeat?t+r:t,e)},h.duration=function(t){return arguments.length?n.a.prototype.duration.call(this,t):this._duration},h.totalDuration=function(t){return arguments.length?-1===this._repeat?this:this.duration((t-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},s}),!0);var o=n.g.TweenMax;
/*!
* VERSION: 2.1.3
* DATE: 2019-05-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
*/
n.e._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],(function(){var t,e,i,s,r=function(){n.d.call(this,"css"),this._overwriteProps.length=0,this.setRatio=r.prototype.setRatio},a=n.e._gsDefine.globals,o={},h=r.prototype=new n.d("css");h.constructor=r,r.version="2.1.3",r.API=2,r.defaultTransformPerspective=0,r.defaultSkewType="compensated",r.defaultSmoothOrigin=!0,h="px",r.suffixMap={top:h,right:h,bottom:h,left:h,width:h,height:h,fontSize:h,padding:h,margin:h,perspective:h,lineHeight:""};var l,u,c,_,f,p,d,m,g=/(?:\-|\.|\b)(\d|\.|e\-)+/g,v=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,x=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b),?/gi,T=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,b=/(?:\d|\-|\+|=|#|\.)*/g,w=/opacity *= *([^)]*)/i,P=/opacity:([^;]*)/i,O=/alpha\(opacity *=.+?\)/i,S=/^(rgb|hsl)/,k=/([A-Z])/g,R=/-([a-z])/gi,C=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},M=/(?:Left|Right|Width)/i,D=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,F=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,z=/,(?=[^\)]*(?:\(|$))/gi,E=/[\s,\(]/i,X=Math.PI/180,I=180/Math.PI,L={},N={style:{}},B=n.e.document||{createElement:function(){return N}},Y=function(t,e){var i=B.createElementNS?B.createElementNS(e||"http://www.w3.org/1999/xhtml",t):B.createElement(t);return i.style?i:B.createElement(t)},j=Y("div"),V=Y("img"),U=r._internals={_specialProps:o},q=(n.e.navigator||{}).userAgent||"",G=function(){var t=q.indexOf("Android"),e=Y("a");return c=-1!==q.indexOf("Safari")&&-1===q.indexOf("Chrome")&&(-1===t||parseFloat(q.substr(t+8,2))>3),f=c&&parseFloat(q.substr(q.indexOf("Version/")+8,2))<6,_=-1!==q.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(q)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(q))&&(p=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return w.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},H=function(t){n.e.console&&console.log(t)},Z="",$="",Q=function(t,e){var i,s,r=(e=e||j).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],s=5;--s>-1&&void 0===r[i[s]+t];);return s>=0?(Z="-"+($=3===s?"ms":i[s]).toLowerCase()+"-",$+t):null},J="undefined"!=typeof window?window:B.defaultView||{getComputedStyle:function(){}},K=function(t){return J.getComputedStyle(t)},tt=r.getStyle=function(t,e,i,s,r){var n;return G||"opacity"!==e?(!s&&t.style[e]?n=t.style[e]:(i=i||K(t))?n=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(k,"-$1").toLowerCase()):t.currentStyle&&(n=t.currentStyle[e]),null==r||n&&"none"!==n&&"auto"!==n&&"auto auto"!==n?n:r):W(t)},et=U.convertToPixels=function(t,e,i,s,a){if("px"===s||!s&&"lineHeight"!==e)return i;if("auto"===s||!i)return 0;var o,h,l,u=M.test(e),c=t,_=j.style,f=i<0,p=1===i;if(f&&(i=-i),p&&(i*=100),"lineHeight"!==e||s)if("%"===s&&-1!==e.indexOf("border"))o=i/100*(u?t.clientWidth:t.clientHeight);else{if(_.cssText="border:0 solid red;position:"+tt(t,"position")+";line-height:0;","%"!==s&&c.appendChild&&"v"!==s.charAt(0)&&"rem"!==s)_[u?"borderLeftWidth":"borderTopWidth"]=i+s;else{if(c=t.parentNode||B.body,-1!==tt(c,"display").indexOf("flex")&&(_.position="absolute"),h=c._gsCache,l=n.f.ticker.frame,h&&u&&h.time===l)return h.width*i/100;_[u?"width":"height"]=i+s}c.appendChild(j),o=parseFloat(j[u?"offsetWidth":"offsetHeight"]),c.removeChild(j),u&&"%"===s&&!1!==r.cacheWidths&&((h=c._gsCache=c._gsCache||{}).time=l,h.width=o/i*100),0!==o||a||(o=et(t,e,i,s,!0))}else h=K(t).lineHeight,t.style.lineHeight=i,o=parseFloat(K(t).lineHeight),t.style.lineHeight=h;return p&&(o/=100),f?-o:o},it=U.calculateOffset=function(t,e,i){if("absolute"!==tt(t,"position",i))return 0;var s="left"===e?"Left":"Top",r=tt(t,"margin"+s,i);return t["offset"+s]-(et(t,e,parseFloat(r),r.replace(b,""))||0)},st=function(t,e){var i,s,r,n={};if(e=e||K(t))if(i=e.length)for(;--i>-1;)-1!==(r=e[i]).indexOf("-transform")&&zt!==r||(n[r.replace(R,A)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&Ft!==i||(n[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===n[i]&&(n[i.replace(R,A)]=e[i]);return G||(n.opacity=W(t)),s=Wt(t,e,!1),n.rotation=s.rotation,n.skewX=s.skewX,n.scaleX=s.scaleX,n.scaleY=s.scaleY,n.x=s.x,n.y=s.y,Xt&&(n.z=s.z,n.rotationX=s.rotationX,n.rotationY=s.rotationY,n.scaleZ=s.scaleZ),n.filters&&delete n.filters,n},rt=function(t,e,i,s,r){var n,a,o,h={},l=t.style;for(a in i)"cssText"!==a&&"length"!==a&&isNaN(a)&&(e[a]!==(n=i[a])||r&&r[a])&&-1===a.indexOf("Origin")&&("number"!=typeof n&&"string"!=typeof n||(h[a]="auto"!==n||"left"!==a&&"top"!==a?""!==n&&"auto"!==n&&"none"!==n||"string"!=typeof e[a]||""===e[a].replace(T,"")?n:0:it(t,a),void 0!==l[a]&&(o=new yt(l,a,l[a],o))));if(s)for(a in s)"className"!==a&&(h[a]=s[a]);return{difs:h,firstMPT:o}},nt={width:["Left","Right"],height:["Top","Bottom"]},at=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||K(t))[e]||0;if(t.getCTM&&Ut(t))return t.getBBox()[e]||0;var s=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=nt[e],n=r.length;for(i=i||K(t);--n>-1;)s-=parseFloat(tt(t,"padding"+r[n],i,!0))||0,s-=parseFloat(tt(t,"border"+r[n]+"Width",i,!0))||0;return s},ht=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,s=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":s[0],n=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":s[1];if(s.length>3&&!e){for(s=t.split(", ").join(",").split(","),t=[],i=0;i<s.length;i++)t.push(ht(s[i]));return t.join(",")}return null==n?n="center"===r?"50%":"0":"center"===n&&(n="50%"),("center"===r||isNaN(parseFloat(r))&&-1===(r+"").indexOf("="))&&(r="50%"),t=r+" "+n+(s.length>2?" "+s[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==n.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===n.charAt(1),e.ox=parseFloat(r.replace(T,"")),e.oy=parseFloat(n.replace(T,"")),e.v=t),e||t},lt=function(t,e){return"function"==typeof t&&(t=t(m,d)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},ut=function(t,e){"function"==typeof t&&(t=t(m,d));var i="string"==typeof t&&"="===t.charAt(1);return"string"==typeof t&&"v"===t.charAt(t.length-2)&&(t=(i?t.substr(0,2):0)+window["inner"+("vh"===t.substr(-2)?"Height":"Width")]*(parseFloat(i?t.substr(2):t)/100)),null==t?e:i?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ct=function(t,e,i,s){var r,n,a,o;return"function"==typeof t&&(t=t(m,d)),null==t?a=e:"number"==typeof t?a=t:(360,r=t.split("_"),n=((o="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(r[0].substr(2)):parseFloat(r[0]))*(-1===t.indexOf("rad")?1:I)-(o?0:e),r.length&&(s&&(s[i]=e+n),-1!==t.indexOf("short")&&(n%=360)!==n%180&&(n=n<0?n+360:n-360),-1!==t.indexOf("_cw")&&n<0?n=(n+3599999999640)%360-360*(n/360|0):-1!==t.indexOf("ccw")&&n>0&&(n=(n-3599999999640)%360-360*(n/360|0))),a=e+n),a<1e-6&&a>-1e-6&&(a=0),a},_t={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]},ft=function(t,e,i){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(i-e)*t*6:t<.5?i:3*t<2?e+(i-e)*(2/3-t)*6:e)+.5|0},pt=r.parseColor=function(t,e){var i,s,r,n,a,o,h,l,u,c,_;if(t)if("number"==typeof t)i=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),_t[t])i=_t[t];else if("#"===t.charAt(0))4===t.length&&(s=t.charAt(1),r=t.charAt(2),n=t.charAt(3),t="#"+s+s+r+r+n+n),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=_=t.match(g),e){if(-1!==t.indexOf("="))return t.match(v)}else a=Number(i[0])%360/360,o=Number(i[1])/100,s=2*(h=Number(i[2])/100)-(r=h<=.5?h*(o+1):h+o-h*o),i.length>3&&(i[3]=Number(i[3])),i[0]=ft(a+1/3,s,r),i[1]=ft(a,s,r),i[2]=ft(a-1/3,s,r);else i=t.match(g)||_t.transparent;i[0]=Number(i[0]),i[1]=Number(i[1]),i[2]=Number(i[2]),i.length>3&&(i[3]=Number(i[3]))}else i=_t.black;return e&&!_&&(s=i[0]/255,r=i[1]/255,n=i[2]/255,h=((l=Math.max(s,r,n))+(u=Math.min(s,r,n)))/2,l===u?a=o=0:(c=l-u,o=h>.5?c/(2-l-u):c/(l+u),a=l===s?(r-n)/c+(r<n?6:0):l===r?(n-s)/c+2:(s-r)/c+4,a*=60),i[0]=a+.5|0,i[1]=100*o+.5|0,i[2]=100*h+.5|0),i},dt=function(t,e){var i,s,r,n=t.match(mt)||[],a=0,o="";if(!n.length)return t;for(i=0;i<n.length;i++)s=n[i],a+=(r=t.substr(a,t.indexOf(s,a)-a)).length+s.length,3===(s=pt(s,e)).length&&s.push(1),o+=r+(e?"hsla("+s[0]+","+s[1]+"%,"+s[2]+"%,"+s[3]:"rgba("+s.join(","))+")";return o+t.substr(a)},mt="(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";for(h in _t)mt+="|"+h+"\\b";mt=new RegExp(mt+")","gi"),r.colorStringFilter=function(t){var e,i=t[0]+" "+t[1];mt.test(i)&&(e=-1!==i.indexOf("hsl(")||-1!==i.indexOf("hsla("),t[0]=dt(t[0],e),t[1]=dt(t[1],e)),mt.lastIndex=0},n.f.defaultStringFilter||(n.f.defaultStringFilter=r.colorStringFilter);var gt=function(t,e,i,s){if(null==t)return function(t){return t};var r,n=e?(t.match(mt)||[""])[0]:"",a=t.split(n).join("").match(y)||[],o=t.substr(0,t.indexOf(a[0])),h=")"===t.charAt(t.length-1)?")":"",l=-1!==t.indexOf(" ")?" ":",",u=a.length,c=u>0?a[0].replace(g,""):"";return u?r=e?function(t){var e,_,f,p;if("number"==typeof t)t+=c;else if(s&&z.test(t)){for(p=t.replace(z,"|").split("|"),f=0;f<p.length;f++)p[f]=r(p[f]);return p.join(",")}if(e=(t.match(mt)||[n])[0],f=(_=t.split(e).join("").match(y)||[]).length,u>f--)for(;++f<u;)_[f]=i?_[(f-1)/2|0]:a[f];return o+_.join(l)+l+e+h+(-1!==t.indexOf("inset")?" inset":"")}:function(t){var e,n,_;if("number"==typeof t)t+=c;else if(s&&z.test(t)){for(n=t.replace(z,"|").split("|"),_=0;_<n.length;_++)n[_]=r(n[_]);return n.join(",")}if(_=(e=t.match(","===l?y:x)||[]).length,u>_--)for(;++_<u;)e[_]=i?e[(_-1)/2|0]:a[_];return(o&&"none"!==t&&t.substr(0,t.indexOf(e[0]))||o)+e.join(l)+h}:function(t){return t}},vt=function(t){return t=t.split(","),function(e,i,s,r,n,a,o){var h,l=(i+"").split(" ");for(o={},h=0;h<4;h++)o[t[h]]=l[h]=l[h]||l[(h-1)/2>>0];return r.parse(e,o,n,a)}},yt=(U._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,s,r,n,a=this.data,o=a.proxy,h=a.firstMPT;h;)e=o[h.v],h.r?e=h.r(e):e<1e-6&&e>-1e-6&&(e=0),h.t[h.p]=e,h=h._next;if(a.autoRotate&&(a.autoRotate.rotation=a.mod?a.mod.call(this._tween,o.rotation,this.t,this._tween):o.rotation),1===t||0===t)for(h=a.firstMPT,n=1===t?"e":"b";h;){if((i=h.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,s=1;s<i.l;s++)r+=i["xn"+s]+i["xs"+(s+1)];i[n]=r}}else i[n]=i.s+i.xs0;h=h._next}},function(t,e,i,s,r){this.t=t,this.p=e,this.v=i,this.r=r,s&&(s._prev=this,this._next=s)}),xt=(U._parseToProxy=function(t,e,i,s,r,n){var a,o,h,l,u,c=s,_={},f={},p=i._transform,d=L;for(i._transform=null,L=e,s=u=i.parse(t,e,s,r),L=d,n&&(i._transform=p,c&&(c._prev=null,c._prev&&(c._prev._next=null)));s&&s!==c;){if(s.type<=1&&(f[o=s.p]=s.s+s.c,_[o]=s.s,n||(l=new yt(s,"s",o,l,s.r),s.c=0),1===s.type))for(a=s.l;--a>0;)h="xn"+a,f[o=s.p+"_"+h]=s.data[h],_[o]=s[h],n||(l=new yt(s,h,o,l,s.rxp[h]));s=s._next}return{proxy:_,end:f,firstMPT:l,pt:u}},U.CSSPropTween=function(e,i,r,n,a,o,h,l,u,c,_){this.t=e,this.p=i,this.s=r,this.c=n,this.n=h||i,e instanceof xt||s.push(this.n),this.r=l?"function"==typeof l?l:Math.round:l,this.type=o||0,u&&(this.pr=u,t=!0),this.b=void 0===c?r:c,this.e=void 0===_?r+n:_,a&&(this._next=a,a._prev=this)}),Tt=function(t,e,i,s,r,n){var a=new xt(t,e,i,s-i,r,-1,n);return a.b=i,a.e=a.xs0=s,a},bt=r.parseComplex=function(t,e,i,s,n,a,o,h,u,c){i=i||a||"","function"==typeof s&&(s=s(m,d)),o=new xt(t,e,0,0,o,c?2:1,null,!1,h,i,s),s+="",n&&mt.test(s+i)&&(s=[i,s],r.colorStringFilter(s),i=s[0],s=s[1]);var _,f,p,y,x,T,b,w,P,O,S,k,R,C=i.split(", ").join(",").split(" "),A=s.split(", ").join(",").split(" "),M=C.length,D=!1!==l;for(-1===s.indexOf(",")&&-1===i.indexOf(",")||(-1!==(s+i).indexOf("rgb")||-1!==(s+i).indexOf("hsl")?(C=C.join(" ").replace(z,", ").split(" "),A=A.join(" ").replace(z,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),M=C.length),M!==A.length&&(M=(C=(a||"").split(" ")).length),o.plugin=u,o.setRatio=c,mt.lastIndex=0,_=0;_<M;_++)if(y=C[_],x=A[_]+"",(w=parseFloat(y))||0===w)o.appendXtra("",w,lt(x,w),x.replace(v,""),!(!D||-1===x.indexOf("px"))&&Math.round,!0);else if(n&&mt.test(y))k=")"+((k=x.indexOf(")")+1)?x.substr(k):""),R=-1!==x.indexOf("hsl")&&G,O=x,y=pt(y,R),x=pt(x,R),(P=y.length+x.length>6)&&!G&&0===x[3]?(o["xs"+o.l]+=o.l?" transparent":"transparent",o.e=o.e.split(A[_]).join("transparent")):(G||(P=!1),R?o.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),y[0],lt(x[0],y[0]),",",!1,!0).appendXtra("",y[1],lt(x[1],y[1]),"%,",!1).appendXtra("",y[2],lt(x[2],y[2]),P?"%,":"%"+k,!1):o.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),y[0],x[0]-y[0],",",Math.round,!0).appendXtra("",y[1],x[1]-y[1],",",Math.round).appendXtra("",y[2],x[2]-y[2],P?",":k,Math.round),P&&(y=y.length<4?1:y[3],o.appendXtra("",y,(x.length<4?1:x[3])-y,k,!1))),mt.lastIndex=0;else if(T=y.match(g)){if(!(b=x.match(v))||b.length!==T.length)return o;for(p=0,f=0;f<T.length;f++)S=T[f],O=y.indexOf(S,p),o.appendXtra(y.substr(p,O-p),Number(S),lt(b[f],S),"",!(!D||"px"!==y.substr(O+S.length,2))&&Math.round,0===f),p=O+S.length;o["xs"+o.l]+=y.substr(p)}else o["xs"+o.l]+=o.l||o["xs"+o.l]?" "+x:x;if(-1!==s.indexOf("=")&&o.data){for(k=o.xs0+o.data.s,_=1;_<o.l;_++)k+=o["xs"+_]+o.data["xn"+_];o.e=k+o["xs"+_]}return o.l||(o.type=-1,o.xs0=o.e),o.xfirst||o},wt=9;for((h=xt.prototype).l=h.pr=0;--wt>0;)h["xn"+wt]=0,h["xs"+wt]="";h.xs0="",h._next=h._prev=h.xfirst=h.data=h.plugin=h.setRatio=h.rxp=null,h.appendXtra=function(t,e,i,s,r,n){var a=this,o=a.l;return a["xs"+o]+=n&&(o||a["xs"+o])?" "+t:t||"",i||0===o||a.plugin?(a.l++,a.type=a.setRatio?2:1,a["xs"+a.l]=s||"",o>0?(a.data["xn"+o]=e+i,a.rxp["xn"+o]=r,a["xn"+o]=e,a.plugin||(a.xfirst=new xt(a,"xn"+o,e,i,a.xfirst||a,0,a.n,r,a.pr),a.xfirst.xs0=0),a):(a.data={s:e+i},a.rxp={},a.s=e,a.c=i,a.r=r,a)):(a["xs"+o]+=e+(s||""),a)};var Pt=function(t,e){e=e||{},this.p=e.prefix&&Q(t)||t,o[t]=o[this.p]=this,this.format=e.formatter||gt(e.defaultValue,e.color,e.collapsible,e.multi),e.parser&&(this.parse=e.parser),this.clrs=e.color,this.multi=e.multi,this.keyword=e.keyword,this.dflt=e.defaultValue,this.allowFunc=e.allowFunc,this.pr=e.priority||0},Ot=U._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var s,r=t.split(","),n=e.defaultValue;for(i=i||[n],s=0;s<r.length;s++)e.prefix=0===s&&e.prefix,e.defaultValue=i[s]||n,new Pt(r[s],e)},St=U._registerPluginProp=function(t){if(!o[t]){var e=t.charAt(0).toUpperCase()+t.substr(1)+"Plugin";Ot(t,{parser:function(t,i,s,r,n,h,l){var u=a.com.greensock.plugins[e];return u?(u._cssRegister(),o[s].parse(t,i,s,r,n,h,l)):(H("Error: "+e+" js file not loaded."),n)}})}};(h=Pt.prototype).parseComplex=function(t,e,i,s,r,n){var a,o,h,l,u,c,_=this.keyword;if(this.multi&&(z.test(i)||z.test(e)?(o=e.replace(z,"|").split("|"),h=i.replace(z,"|").split("|")):_&&(o=[e],h=[i])),h){for(l=h.length>o.length?h.length:o.length,a=0;a<l;a++)e=o[a]=o[a]||this.dflt,i=h[a]=h[a]||this.dflt,_&&(u=e.indexOf(_))!==(c=i.indexOf(_))&&(-1===c?o[a]=o[a].split(_).join(""):-1===u&&(o[a]+=" "+_));e=o.join(", "),i=h.join(", ")}return bt(t,this.p,e,i,this.clrs,this.dflt,s,this.pr,r,n)},h.parse=function(t,e,s,r,n,a,o){return this.parseComplex(t.style,this.format(tt(t,this.p,i,!1,this.dflt)),this.format(e),n,a)},r.registerSpecialProp=function(t,e,i){Ot(t,{parser:function(t,s,r,n,a,o,h){var l=new xt(t,r,0,0,a,2,r,!1,i);return l.plugin=o,l.setRatio=e(t,s,n._tween,r),l},priority:i})},r.useSVGTransformAttr=!0;var kt,Rt,Ct,At,Mt,Dt="scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),Ft=Q("transform"),zt=Z+"transform",Et=Q("transformOrigin"),Xt=null!==Q("perspective"),It=U.Transform=function(){this.perspective=parseFloat(r.defaultTransformPerspective)||0,this.force3D=!(!1===r.defaultForce3D||!Xt)&&(r.defaultForce3D||"auto")},Lt=n.e.SVGElement,Nt=function(t,e,i){var s,r=B.createElementNS("http://www.w3.org/2000/svg",t),n=/([a-z])([A-Z])/g;for(s in i)r.setAttributeNS(null,s.replace(n,"$1-$2").toLowerCase(),i[s]);return e.appendChild(r),r},Bt=B.documentElement||{},Yt=(Mt=p||/Android/i.test(q)&&!n.e.chrome,B.createElementNS&&Bt.appendChild&&!Mt&&(Rt=Nt("svg",Bt),At=(Ct=Nt("rect",Rt,{width:100,height:50,x:100})).getBoundingClientRect().width,Ct.style[Et]="50% 50%",Ct.style[Ft]="scaleX(0.5)",Mt=At===Ct.getBoundingClientRect().width&&!(_&&Xt),Bt.removeChild(Rt)),Mt),jt=function(t,e,i,s,n,a){var o,h,l,u,c,_,f,p,d,m,g,v,y,x,T=t._gsTransform,b=Gt(t,!0);T&&(y=T.xOrigin,x=T.yOrigin),(!s||(o=s.split(" ")).length<2)&&(0===(f=t.getBBox()).x&&0===f.y&&f.width+f.height===0&&(f={x:parseFloat(t.hasAttribute("x")?t.getAttribute("x"):t.hasAttribute("cx")?t.getAttribute("cx"):0)||0,y:parseFloat(t.hasAttribute("y")?t.getAttribute("y"):t.hasAttribute("cy")?t.getAttribute("cy"):0)||0,width:0,height:0}),o=[(-1!==(e=ht(e).split(" "))[0].indexOf("%")?parseFloat(e[0])/100*f.width:parseFloat(e[0]))+f.x,(-1!==e[1].indexOf("%")?parseFloat(e[1])/100*f.height:parseFloat(e[1]))+f.y]),i.xOrigin=u=parseFloat(o[0]),i.yOrigin=c=parseFloat(o[1]),s&&b!==qt&&(_=b[0],f=b[1],p=b[2],d=b[3],m=b[4],g=b[5],(v=_*d-f*p)&&(h=u*(d/v)+c*(-p/v)+(p*g-d*m)/v,l=u*(-f/v)+c*(_/v)-(_*g-f*m)/v,u=i.xOrigin=o[0]=h,c=i.yOrigin=o[1]=l)),T&&(a&&(i.xOffset=T.xOffset,i.yOffset=T.yOffset,T=i),n||!1!==n&&!1!==r.defaultSmoothOrigin?(h=u-y,l=c-x,T.xOffset+=h*b[0]+l*b[2]-h,T.yOffset+=h*b[1]+l*b[3]-l):T.xOffset=T.yOffset=0),a||t.setAttribute("data-svg-origin",o.join(" "))},Vt=function(t){var e,i=Y("svg",this.ownerSVGElement&&this.ownerSVGElement.getAttribute("xmlns")||"http://www.w3.org/2000/svg"),s=this.parentNode,r=this.nextSibling,n=this.style.cssText;if(Bt.appendChild(i),i.appendChild(this),this.style.display="block",t)try{e=this.getBBox(),this._originalGetBBox=this.getBBox,this.getBBox=Vt}catch(t){}else this._originalGetBBox&&(e=this._originalGetBBox());return r?s.insertBefore(this,r):s.appendChild(this),Bt.removeChild(i),this.style.cssText=n,e},Ut=function(t){return!(!Lt||!t.getCTM||t.parentNode&&!t.ownerSVGElement||!function(t){try{return t.getBBox()}catch(e){return Vt.call(t,!0)}}(t))},qt=[1,0,0,1,0,0],Gt=function(t,e){var i,s,r,n,a,o,h,l=t._gsTransform||new It,u=t.style;if(Ft?s=tt(t,zt,null,!0):t.currentStyle&&(s=(s=t.currentStyle.filter.match(D))&&4===s.length?[s[0].substr(4),Number(s[2].substr(4)),Number(s[1].substr(4)),s[3].substr(4),l.x||0,l.y||0].join(","):""),i=!s||"none"===s||"matrix(1, 0, 0, 1, 0, 0)"===s,Ft&&i&&!t.offsetParent&&t!==Bt&&(n=u.display,u.display="block",(h=t.parentNode)&&t.offsetParent||(a=1,o=t.nextSibling,Bt.appendChild(t)),i=!(s=tt(t,zt,null,!0))||"none"===s||"matrix(1, 0, 0, 1, 0, 0)"===s,n?u.display=n:Qt(u,"display"),a&&(o?h.insertBefore(t,o):h?h.appendChild(t):Bt.removeChild(t))),(l.svg||t.getCTM&&Ut(t))&&(i&&-1!==(u[Ft]+"").indexOf("matrix")&&(s=u[Ft],i=0),r=t.getAttribute("transform"),i&&r&&(s="matrix("+(r=t.transform.baseVal.consolidate().matrix).a+","+r.b+","+r.c+","+r.d+","+r.e+","+r.f+")",i=0)),i)return qt;for(r=(s||"").match(g)||[],wt=r.length;--wt>-1;)n=Number(r[wt]),r[wt]=(a=n-(n|=0))?(1e5*a+(a<0?-.5:.5)|0)/1e5+n:n;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Wt=U.getTransform=function(t,e,i,s){if(t._gsTransform&&i&&!s)return t._gsTransform;var a,o,h,l,u,c,_=i&&t._gsTransform||new It,f=_.scaleX<0,p=Xt&&(parseFloat(tt(t,Et,e,!1,"0 0 0").split(" ")[2])||_.zOrigin)||0,d=parseFloat(r.defaultTransformPerspective)||0;if(_.svg=!(!t.getCTM||!Ut(t)),_.svg&&(jt(t,tt(t,Et,e,!1,"50% 50%")+"",_,t.getAttribute("data-svg-origin")),kt=r.useSVGTransformAttr||Yt),(a=Gt(t))!==qt){if(16===a.length){var m,g,v,y,x,T=a[0],b=a[1],w=a[2],P=a[3],O=a[4],S=a[5],k=a[6],R=a[7],C=a[8],A=a[9],M=a[10],D=a[12],F=a[13],z=a[14],E=a[11],X=Math.atan2(k,M);_.zOrigin&&(D=C*(z=-_.zOrigin)-a[12],F=A*z-a[13],z=M*z+_.zOrigin-a[14]),_.rotationX=X*I,X&&(m=O*(y=Math.cos(-X))+C*(x=Math.sin(-X)),g=S*y+A*x,v=k*y+M*x,C=O*-x+C*y,A=S*-x+A*y,M=k*-x+M*y,E=R*-x+E*y,O=m,S=g,k=v),X=Math.atan2(-w,M),_.rotationY=X*I,X&&(g=b*(y=Math.cos(-X))-A*(x=Math.sin(-X)),v=w*y-M*x,A=b*x+A*y,M=w*x+M*y,E=P*x+E*y,T=m=T*y-C*x,b=g,w=v),X=Math.atan2(b,T),_.rotation=X*I,X&&(m=T*(y=Math.cos(X))+b*(x=Math.sin(X)),g=O*y+S*x,v=C*y+A*x,b=b*y-T*x,S=S*y-O*x,A=A*y-C*x,T=m,O=g,C=v),_.rotationX&&Math.abs(_.rotationX)+Math.abs(_.rotation)>359.9&&(_.rotationX=_.rotation=0,_.rotationY=180-_.rotationY),X=Math.atan2(O,S),_.scaleX=(1e5*Math.sqrt(T*T+b*b+w*w)+.5|0)/1e5,_.scaleY=(1e5*Math.sqrt(S*S+k*k)+.5|0)/1e5,_.scaleZ=(1e5*Math.sqrt(C*C+A*A+M*M)+.5|0)/1e5,T/=_.scaleX,O/=_.scaleY,b/=_.scaleX,S/=_.scaleY,Math.abs(X)>2e-5?(_.skewX=X*I,O=0,"simple"!==_.skewType&&(_.scaleY*=1/Math.cos(X))):_.skewX=0,_.perspective=E?1/(E<0?-E:E):0,_.x=D,_.y=F,_.z=z,_.svg&&(_.x-=_.xOrigin-(_.xOrigin*T-_.yOrigin*O),_.y-=_.yOrigin-(_.yOrigin*b-_.xOrigin*S))}else if(!Xt||s||!a.length||_.x!==a[4]||_.y!==a[5]||!_.rotationX&&!_.rotationY){var L=a.length>=6,N=L?a[0]:1,B=a[1]||0,Y=a[2]||0,j=L?a[3]:1;_.x=a[4]||0,_.y=a[5]||0,h=Math.sqrt(N*N+B*B),l=Math.sqrt(j*j+Y*Y),u=N||B?Math.atan2(B,N)*I:_.rotation||0,c=Y||j?Math.atan2(Y,j)*I+u:_.skewX||0,_.scaleX=h,_.scaleY=l,_.rotation=u,_.skewX=c,Xt&&(_.rotationX=_.rotationY=_.z=0,_.perspective=d,_.scaleZ=1),_.svg&&(_.x-=_.xOrigin-(_.xOrigin*N+_.yOrigin*Y),_.y-=_.yOrigin-(_.xOrigin*B+_.yOrigin*j))}for(o in Math.abs(_.skewX)>90&&Math.abs(_.skewX)<270&&(f?(_.scaleX*=-1,_.skewX+=_.rotation<=0?180:-180,_.rotation+=_.rotation<=0?180:-180):(_.scaleY*=-1,_.skewX+=_.skewX<=0?180:-180)),_.zOrigin=p,_)_[o]<2e-5&&_[o]>-2e-5&&(_[o]=0)}return i&&(t._gsTransform=_,_.svg&&(kt&&t.style[Ft]?n.f.delayedCall(.001,(function(){Qt(t.style,Ft)})):!kt&&t.getAttribute("transform")&&n.f.delayedCall(.001,(function(){t.removeAttribute("transform")})))),_},Ht=function(t){var e,i,s=this.data,r=-s.rotation*X,n=r+s.skewX*X,a=(Math.cos(r)*s.scaleX*1e5|0)/1e5,o=(Math.sin(r)*s.scaleX*1e5|0)/1e5,h=(Math.sin(n)*-s.scaleY*1e5|0)/1e5,l=(Math.cos(n)*s.scaleY*1e5|0)/1e5,u=this.t.style,c=this.t.currentStyle;if(c){i=o,o=-h,h=-i,e=c.filter,u.filter="";var _,f,d=this.t.offsetWidth,m=this.t.offsetHeight,g="absolute"!==c.position,v="progid:DXImageTransform.Microsoft.Matrix(M11="+a+", M12="+o+", M21="+h+", M22="+l,y=s.x+d*s.xPercent/100,x=s.y+m*s.yPercent/100;if(null!=s.ox&&(y+=(_=(s.oxp?d*s.ox*.01:s.ox)-d/2)-(_*a+(f=(s.oyp?m*s.oy*.01:s.oy)-m/2)*o),x+=f-(_*h+f*l)),v+=g?", Dx="+((_=d/2)-(_*a+(f=m/2)*o)+y)+", Dy="+(f-(_*h+f*l)+x)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?u.filter=e.replace(F,v):u.filter=v+" "+e,0!==t&&1!==t||1===a&&0===o&&0===h&&1===l&&(g&&-1===v.indexOf("Dx=0, Dy=0")||w.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&u.removeAttribute("filter")),!g){var T,P,O,S=p<8?1:-1;for(_=s.ieOffsetX||0,f=s.ieOffsetY||0,s.ieOffsetX=Math.round((d-((a<0?-a:a)*d+(o<0?-o:o)*m))/2+y),s.ieOffsetY=Math.round((m-((l<0?-l:l)*m+(h<0?-h:h)*d))/2+x),wt=0;wt<4;wt++)O=(i=-1!==(T=c[P=at[wt]]).indexOf("px")?parseFloat(T):et(this.t,P,parseFloat(T),T.replace(b,""))||0)!==s[P]?wt<2?-s.ieOffsetX:-s.ieOffsetY:wt<2?_-s.ieOffsetX:f-s.ieOffsetY,u[P]=(s[P]=Math.round(i-O*(0===wt||2===wt?1:S)))+"px"}}},Zt=U.set3DTransformRatio=U.setTransformRatio=function(t){var e,i,s,r,n,a,o,h,l,u,c,f,p,d,m,g,v,y,x,T,b=this.data,w=this.t.style,P=b.rotation,O=b.rotationX,S=b.rotationY,k=b.scaleX,R=b.scaleY,C=b.scaleZ,A=b.x,M=b.y,D=b.z,F=b.svg,z=b.perspective,E=b.force3D,I=b.skewY,L=b.skewX;if(I&&(L+=I,P+=I),!((1!==t&&0!==t||"auto"!==E||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&E||D||z||S||O||1!==C)||kt&&F||!Xt)P||L||F?(P*=X,T=L*X,1e5,i=Math.cos(P)*k,n=Math.sin(P)*k,s=Math.sin(P-T)*-R,a=Math.cos(P-T)*R,T&&"simple"===b.skewType&&(e=Math.tan(T-I*X),s*=e=Math.sqrt(1+e*e),a*=e,I&&(e=Math.tan(I*X),i*=e=Math.sqrt(1+e*e),n*=e)),F&&(A+=b.xOrigin-(b.xOrigin*i+b.yOrigin*s)+b.xOffset,M+=b.yOrigin-(b.xOrigin*n+b.yOrigin*a)+b.yOffset,kt&&(b.xPercent||b.yPercent)&&(m=this.t.getBBox(),A+=.01*b.xPercent*m.width,M+=.01*b.yPercent*m.height),A<(m=1e-6)&&A>-m&&(A=0),M<m&&M>-m&&(M=0)),x=(1e5*i|0)/1e5+","+(1e5*n|0)/1e5+","+(1e5*s|0)/1e5+","+(1e5*a|0)/1e5+","+A+","+M+")",F&&kt?this.t.setAttribute("transform","matrix("+x):w[Ft]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix(":"matrix(")+x):w[Ft]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+R+","+A+","+M+")";else{if(_&&(k<(m=1e-4)&&k>-m&&(k=C=2e-5),R<m&&R>-m&&(R=C=2e-5),!z||b.z||b.rotationX||b.rotationY||(z=0)),P||L)P*=X,g=i=Math.cos(P),v=n=Math.sin(P),L&&(P-=L*X,g=Math.cos(P),v=Math.sin(P),"simple"===b.skewType&&(e=Math.tan((L-I)*X),g*=e=Math.sqrt(1+e*e),v*=e,b.skewY&&(e=Math.tan(I*X),i*=e=Math.sqrt(1+e*e),n*=e))),s=-v,a=g;else{if(!(S||O||1!==C||z||F))return void(w[Ft]=(b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) translate3d(":"translate3d(")+A+"px,"+M+"px,"+D+"px)"+(1!==k||1!==R?" scale("+k+","+R+")":""));i=a=1,s=n=0}u=1,r=o=h=l=c=f=0,p=z?-1/z:0,d=b.zOrigin,m=1e-6,",","0",(P=S*X)&&(g=Math.cos(P),h=-(v=Math.sin(P)),c=p*-v,r=i*v,o=n*v,u=g,p*=g,i*=g,n*=g),(P=O*X)&&(e=s*(g=Math.cos(P))+r*(v=Math.sin(P)),y=a*g+o*v,l=u*v,f=p*v,r=s*-v+r*g,o=a*-v+o*g,u*=g,p*=g,s=e,a=y),1!==C&&(r*=C,o*=C,u*=C,p*=C),1!==R&&(s*=R,a*=R,l*=R,f*=R),1!==k&&(i*=k,n*=k,h*=k,c*=k),(d||F)&&(d&&(A+=r*-d,M+=o*-d,D+=u*-d+d),F&&(A+=b.xOrigin-(b.xOrigin*i+b.yOrigin*s)+b.xOffset,M+=b.yOrigin-(b.xOrigin*n+b.yOrigin*a)+b.yOffset),A<m&&A>-m&&(A="0"),M<m&&M>-m&&(M="0"),D<m&&D>-m&&(D=0)),x=b.xPercent||b.yPercent?"translate("+b.xPercent+"%,"+b.yPercent+"%) matrix3d(":"matrix3d(",x+=(i<m&&i>-m?"0":i)+","+(n<m&&n>-m?"0":n)+","+(h<m&&h>-m?"0":h),x+=","+(c<m&&c>-m?"0":c)+","+(s<m&&s>-m?"0":s)+","+(a<m&&a>-m?"0":a),O||S||1!==C?(x+=","+(l<m&&l>-m?"0":l)+","+(f<m&&f>-m?"0":f)+","+(r<m&&r>-m?"0":r),x+=","+(o<m&&o>-m?"0":o)+","+(u<m&&u>-m?"0":u)+","+(p<m&&p>-m?"0":p)+","):x+=",0,0,0,0,1,0,",x+=A+","+M+","+D+","+(z?1+-D/z:1)+")",w[Ft]=x}};(h=It.prototype).x=h.y=h.z=h.skewX=h.skewY=h.rotation=h.rotationX=h.rotationY=h.zOrigin=h.xPercent=h.yPercent=h.xOffset=h.yOffset=0,h.scaleX=h.scaleY=h.scaleZ=1,Ot("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin",{parser:function(t,e,s,n,a,o,h){if(n._lastParsedTransform===h)return a;n._lastParsedTransform=h;var l=h.scale&&"function"==typeof h.scale?h.scale:0;l&&(h.scale=l(m,t));var u,c,_,f,p,g,v,y,x,T=t._gsTransform,b=t.style,w=Dt.length,P=h,O={},S=Wt(t,i,!0,P.parseTransform),k=P.transform&&("function"==typeof P.transform?P.transform(m,d):P.transform);if(S.skewType=P.skewType||S.skewType||r.defaultSkewType,n._transform=S,"rotationZ"in P&&(P.rotation=P.rotationZ),k&&"string"==typeof k&&Ft)(c=j.style)[Ft]=k,c.display="block",c.position="absolute",-1!==k.indexOf("%")&&(c.width=tt(t,"width"),c.height=tt(t,"height")),B.body.appendChild(j),u=Wt(j,null,!1),"simple"===S.skewType&&(u.scaleY*=Math.cos(u.skewX*X)),S.svg&&(g=S.xOrigin,v=S.yOrigin,u.x-=S.xOffset,u.y-=S.yOffset,(P.transformOrigin||P.svgOrigin)&&(k={},jt(t,ht(P.transformOrigin),k,P.svgOrigin,P.smoothOrigin,!0),g=k.xOrigin,v=k.yOrigin,u.x-=k.xOffset-S.xOffset,u.y-=k.yOffset-S.yOffset),(g||v)&&(y=Gt(j,!0),u.x-=g-(g*y[0]+v*y[2]),u.y-=v-(g*y[1]+v*y[3]))),B.body.removeChild(j),u.perspective||(u.perspective=S.perspective),null!=P.xPercent&&(u.xPercent=ut(P.xPercent,S.xPercent)),null!=P.yPercent&&(u.yPercent=ut(P.yPercent,S.yPercent));else if("object"==typeof P){if(u={scaleX:ut(null!=P.scaleX?P.scaleX:P.scale,S.scaleX),scaleY:ut(null!=P.scaleY?P.scaleY:P.scale,S.scaleY),scaleZ:ut(P.scaleZ,S.scaleZ),x:ut(P.x,S.x),y:ut(P.y,S.y),z:ut(P.z,S.z),xPercent:ut(P.xPercent,S.xPercent),yPercent:ut(P.yPercent,S.yPercent),perspective:ut(P.transformPerspective,S.perspective)},null!=(p=P.directionalRotation))if("object"==typeof p)for(c in p)P[c]=p[c];else P.rotation=p;"string"==typeof P.x&&-1!==P.x.indexOf("%")&&(u.x=0,u.xPercent=ut(P.x,S.xPercent)),"string"==typeof P.y&&-1!==P.y.indexOf("%")&&(u.y=0,u.yPercent=ut(P.y,S.yPercent)),u.rotation=ct("rotation"in P?P.rotation:"shortRotation"in P?P.shortRotation+"_short":S.rotation,S.rotation,"rotation",O),Xt&&(u.rotationX=ct("rotationX"in P?P.rotationX:"shortRotationX"in P?P.shortRotationX+"_short":S.rotationX||0,S.rotationX,"rotationX",O),u.rotationY=ct("rotationY"in P?P.rotationY:"shortRotationY"in P?P.shortRotationY+"_short":S.rotationY||0,S.rotationY,"rotationY",O)),u.skewX=ct(P.skewX,S.skewX),u.skewY=ct(P.skewY,S.skewY)}for(Xt&&null!=P.force3D&&(S.force3D=P.force3D,f=!0),(_=S.force3D||S.z||S.rotationX||S.rotationY||u.z||u.rotationX||u.rotationY||u.perspective)||null==P.scale||(u.scaleZ=1);--w>-1;)((k=u[x=Dt[w]]-S[x])>1e-6||k<-1e-6||null!=P[x]||null!=L[x])&&(f=!0,a=new xt(S,x,S[x],k,a),x in O&&(a.e=O[x]),a.xs0=0,a.plugin=o,n._overwriteProps.push(a.n));return k="function"==typeof P.transformOrigin?P.transformOrigin(m,d):P.transformOrigin,S.svg&&(k||P.svgOrigin)&&(g=S.xOffset,v=S.yOffset,jt(t,ht(k),u,P.svgOrigin,P.smoothOrigin),a=Tt(S,"xOrigin",(T?S:u).xOrigin,u.xOrigin,a,"transformOrigin"),a=Tt(S,"yOrigin",(T?S:u).yOrigin,u.yOrigin,a,"transformOrigin"),g===S.xOffset&&v===S.yOffset||(a=Tt(S,"xOffset",T?g:S.xOffset,S.xOffset,a,"transformOrigin"),a=Tt(S,"yOffset",T?v:S.yOffset,S.yOffset,a,"transformOrigin")),k="0px 0px"),(k||Xt&&_&&S.zOrigin)&&(Ft?(f=!0,x=Et,k||(k=(k=(tt(t,x,i,!1,"50% 50%")+"").split(" "))[0]+" "+k[1]+" "+S.zOrigin+"px"),k+="",(a=new xt(b,x,0,0,a,-1,"transformOrigin")).b=b[x],a.plugin=o,Xt?(c=S.zOrigin,k=k.split(" "),S.zOrigin=(k.length>2?parseFloat(k[2]):c)||0,a.xs0=a.e=k[0]+" "+(k[1]||"50%")+" 0px",(a=new xt(S,"zOrigin",0,0,a,-1,a.n)).b=c,a.xs0=a.e=S.zOrigin):a.xs0=a.e=k):ht(k+"",S)),f&&(n._transformType=S.svg&&kt||!_&&3!==this._transformType?2:3),l&&(h.scale=l),a},allowFunc:!0,prefix:!0}),Ot("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),Ot("clipPath",{defaultValue:"inset(0%)",prefix:!0,multi:!0,formatter:gt("inset(0% 0% 0% 0%)",!1,!0)}),Ot("borderRadius",{defaultValue:"0px",parser:function(t,s,r,n,a,o){s=this.format(s);var h,l,u,c,_,f,p,d,m,g,v,y,x,T,b,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),g=parseFloat(t.offsetHeight),h=s.split(" "),l=0;l<P.length;l++)this.p.indexOf("border")&&(P[l]=Q(P[l])),-1!==(_=c=tt(t,P[l],i,!1,"0px")).indexOf(" ")&&(c=_.split(" "),_=c[0],c=c[1]),f=u=h[l],p=parseFloat(_),y=_.substr((p+"").length),(x="="===f.charAt(1))?(d=parseInt(f.charAt(0)+"1",10),f=f.substr(2),d*=parseFloat(f),v=f.substr((d+"").length-(d<0?1:0))||""):(d=parseFloat(f),v=f.substr((d+"").length)),""===v&&(v=e[r]||y),v!==y&&(T=et(t,"borderLeft",p,y),b=et(t,"borderTop",p,y),"%"===v?(_=T/m*100+"%",c=b/g*100+"%"):"em"===v?(_=T/(w=et(t,"borderLeft",1,"em"))+"em",c=b/w+"em"):(_=T+"px",c=b+"px"),x&&(f=parseFloat(_)+d+v,u=parseFloat(c)+d+v)),a=bt(O,P[l],_+" "+c,f+" "+u,!1,"0px",a);return a},prefix:!0,formatter:gt("0px 0px 0px 0px",!1,!0)}),Ot("borderBottomLeftRadius,borderBottomRightRadius,borderTopLeftRadius,borderTopRightRadius",{defaultValue:"0px",parser:function(t,e,s,r,n,a){return bt(t.style,s,this.format(tt(t,s,i,!1,"0px 0px")),this.format(e),!1,"0px",n)},prefix:!0,formatter:gt("0px 0px",!1,!0)}),Ot("backgroundPosition",{defaultValue:"0 0",parser:function(t,e,s,r,n,a){var o,h,l,u,c,_,f="background-position",d=i||K(t),m=this.format((d?p?d.getPropertyValue(f+"-x")+" "+d.getPropertyValue(f+"-y"):d.getPropertyValue(f):t.currentStyle.backgroundPositionX+" "+t.currentStyle.backgroundPositionY)||"0 0"),g=this.format(e);if(-1!==m.indexOf("%")!=(-1!==g.indexOf("%"))&&g.split(",").length<2&&(_=tt(t,"backgroundImage").replace(C,""))&&"none"!==_){for(o=m.split(" "),h=g.split(" "),V.setAttribute("src",_),l=2;--l>-1;)(u=-1!==(m=o[l]).indexOf("%"))!==(-1!==h[l].indexOf("%"))&&(c=0===l?t.offsetWidth-V.width:t.offsetHeight-V.height,o[l]=u?parseFloat(m)/100*c+"px":parseFloat(m)/c*100+"%");m=o.join(" ")}return this.parseComplex(t.style,m,g,n,a)},formatter:ht}),Ot("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:ht(-1===t.indexOf(" ")?t+" "+t:t)}}),Ot("perspective",{defaultValue:"0px",prefix:!0}),Ot("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),Ot("transformStyle",{prefix:!0}),Ot("backfaceVisibility",{prefix:!0}),Ot("userSelect",{prefix:!0}),Ot("margin",{parser:vt("marginTop,marginRight,marginBottom,marginLeft")}),Ot("padding",{parser:vt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),Ot("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,s,r,n,a){var o,h,l;return p<9?(h=t.currentStyle,l=p<8?" ":",",o="rect("+h.clipTop+l+h.clipRight+l+h.clipBottom+l+h.clipLeft+")",e=this.format(e).split(",").join(l)):(o=this.format(tt(t,this.p,i,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,o,e,n,a)}}),Ot("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),Ot("autoRound,strictUnits",{parser:function(t,e,i,s,r){return r}}),Ot("border",{defaultValue:"0px solid #000",parser:function(t,e,s,r,n,a){var o=tt(t,"borderTopWidth",i,!1,"0px"),h=this.format(e).split(" "),l=h[0].replace(b,"");return"px"!==l&&(o=parseFloat(o)/et(t,"borderTopWidth",1,l)+l),this.parseComplex(t.style,this.format(o+" "+tt(t,"borderTopStyle",i,!1,"solid")+" "+tt(t,"borderTopColor",i,!1,"#000")),h.join(" "),n,a)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(mt)||["#000"])[0]}}),Ot("borderWidth",{parser:vt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),Ot("float,cssFloat,styleFloat",{parser:function(t,e,i,s,r,n){var a=t.style,o="cssFloat"in a?"cssFloat":"styleFloat";return new xt(a,o,0,0,r,-1,i,!1,0,a[o],e)}});var $t=function(t){var e,i=this.t,s=i.filter||tt(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===s.indexOf("atrix(")&&-1===s.indexOf("radient(")&&-1===s.indexOf("oader(")?(i.removeAttribute("filter"),e=!tt(this.data,"filter")):(i.filter=s.replace(O,""),e=!0)),e||(this.xn1&&(i.filter=s=s||"alpha(opacity="+r+")"),-1===s.indexOf("pacity")?0===r&&this.xn1||(i.filter=s+" alpha(opacity="+r+")"):i.filter=s.replace(w,"opacity="+r))};Ot("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,s,r,n,a){var o=parseFloat(tt(t,"opacity",i,!1,"1")),h=t.style,l="autoAlpha"===s;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+o),l&&1===o&&"hidden"===tt(t,"visibility",i)&&0!==e&&(o=0),G?n=new xt(h,"opacity",o,e-o,n):((n=new xt(h,"opacity",100*o,100*(e-o),n)).xn1=l?1:0,h.zoom=1,n.type=2,n.b="alpha(opacity="+n.s+")",n.e="alpha(opacity="+(n.s+n.c)+")",n.data=t,n.plugin=a,n.setRatio=$t),l&&((n=new xt(h,"visibility",0,0,n,-1,null,!1,0,0!==o?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(n.n),r._overwriteProps.push(s)),n}});var Qt=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(k,"-$1").toLowerCase())):t.removeAttribute(e))},Jt=function(t){if(this.t._gsClassPT=this,1===t||0===t){this.t.setAttribute("class",0===t?this.b:this.e);for(var e=this.data,i=this.t.style;e;)e.v?i[e.p]=e.v:Qt(i,e.p),e=e._next;1===t&&this.t._gsClassPT===this&&(this.t._gsClassPT=null)}else this.t.getAttribute("class")!==this.e&&this.t.setAttribute("class",this.e)};Ot("className",{parser:function(e,s,r,n,a,o,h){var l,u,c,_,f,p=e.getAttribute("class")||"",d=e.style.cssText;if((a=n._classNamePT=new xt(e,r,0,0,a,2)).setRatio=Jt,a.pr=-11,t=!0,a.b=p,u=st(e,i),c=e._gsClassPT){for(_={},f=c.data;f;)_[f.p]=1,f=f._next;c.setRatio(1)}return e._gsClassPT=a,a.e="="!==s.charAt(1)?s:p.replace(new RegExp("(?:\\s|^)"+s.substr(2)+"(?![\\w-])"),"")+("+"===s.charAt(0)?" "+s.substr(2):""),e.setAttribute("class",a.e),l=rt(e,u,st(e),h,_),e.setAttribute("class",p),a.data=l.firstMPT,e.style.cssText!==d&&(e.style.cssText=d),a=a.xfirst=n.parse(e,l.difs,a,o)}});var Kt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,s,r,n,a=this.t.style,h=o.transform.parse;if("all"===this.e)a.cssText="",r=!0;else for(s=(e=this.e.split(" ").join("").split(",")).length;--s>-1;)i=e[s],o[i]&&(o[i].parse===h?r=!0:i="transformOrigin"===i?Et:o[i].p),Qt(a,i);r&&(Qt(a,Ft),(n=this.t._gsTransform)&&(n.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(Ot("clearProps",{parser:function(e,i,s,r,n){return(n=new xt(e,s,0,0,n,2)).setRatio=Kt,n.e=i,n.pr=-10,n.data=r._tween,t=!0,n}}),h="bezier,throwProps,physicsProps,physics2D".split(","),wt=h.length;wt--;)St(h[wt]);(h=r.prototype)._firstPT=h._lastParsedTransform=h._transform=null,h._onInitTween=function(n,a,h,_){if(!n.nodeType)return!1;this._target=d=n,this._tween=h,this._vars=a,m=_,l=a.autoRound,t=!1,e=a.suffixMap||r.suffixMap,i=K(n),s=this._overwriteProps;var p,g,v,y,x,T,b,w,O,S=n.style;if(u&&""===S.zIndex&&("auto"!==(p=tt(n,"zIndex",i))&&""!==p||this._addLazySet(S,"zIndex",0)),"string"==typeof a&&(y=S.cssText,p=st(n,i),S.cssText=y+";"+a,p=rt(n,p,st(n)).difs,!G&&P.test(a)&&(p.opacity=parseFloat(RegExp.$1)),a=p,S.cssText=y),a.className?this._firstPT=g=o.className.parse(n,a.className,"className",this,null,null,a):this._firstPT=g=this.parse(n,a,null),this._transformType){for(O=3===this._transformType,Ft?c&&(u=!0,""===S.zIndex&&("auto"!==(b=tt(n,"zIndex",i))&&""!==b||this._addLazySet(S,"zIndex",0)),f&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(O?"visible":"hidden"))):S.zoom=1,v=g;v&&v._next;)v=v._next;w=new xt(n,"transform",0,0,null,2),this._linkCSSP(w,null,v),w.setRatio=Ft?Zt:Ht,w.data=this._transform||Wt(n,i,!0),w.tween=h,w.pr=-1,s.pop()}if(t){for(;g;){for(T=g._next,v=y;v&&v.pr>g.pr;)v=v._next;(g._prev=v?v._prev:x)?g._prev._next=g:y=g,(g._next=v)?v._prev=g:x=g,g=T}this._firstPT=y}return!0},h.parse=function(t,s,r,n){var a,h,u,c,_,f,p,g,v,y,x=t.style;for(a in s){if(f=s[a],h=o[a],"function"!=typeof f||h&&h.allowFunc||(f=f(m,d)),h)r=h.parse(t,f,a,this,r,n,s);else{if("--"===a.substr(0,2)){this._tween._propLookup[a]=this._addTween.call(this._tween,t.style,"setProperty",K(t).getPropertyValue(a)+"",f+"",a,!1,a);continue}_=tt(t,a,i)+"",v="string"==typeof f,"color"===a||"fill"===a||"stroke"===a||-1!==a.indexOf("Color")||v&&S.test(f)?(v||(f=((f=pt(f)).length>3?"rgba(":"rgb(")+f.join(",")+")"),r=bt(x,a,_,f,!0,"transparent",r,0,n)):v&&E.test(f)?r=bt(x,a,_,f,!0,null,r,0,n):(p=(u=parseFloat(_))||0===u?_.substr((u+"").length):"",""!==_&&"auto"!==_||("width"===a||"height"===a?(u=ot(t,a,i),p="px"):"left"===a||"top"===a?(u=it(t,a,i),p="px"):(u="opacity"!==a?0:1,p="")),(y=v&&"="===f.charAt(1))?(c=parseInt(f.charAt(0)+"1",10),f=f.substr(2),c*=parseFloat(f),g=f.replace(b,"")):(c=parseFloat(f),g=v?f.replace(b,""):""),""===g&&(g=a in e?e[a]:p),f=c||0===c?(y?c+u:c)+g:s[a],p!==g&&(""===g&&"lineHeight"!==a||(c||0===c)&&u&&(u=et(t,a,u,p),"%"===g?(u/=et(t,a,100,"%")/100,!0!==s.strictUnits&&(_=u+"%")):"em"===g||"rem"===g||"vw"===g||"vh"===g?u/=et(t,a,1,g):"px"!==g&&(c=et(t,a,c,g),g="px"),y&&(c||0===c)&&(f=c+u+g))),y&&(c+=u),!u&&0!==u||!c&&0!==c?void 0!==x[a]&&(f||f+""!="NaN"&&null!=f)?(r=new xt(x,a,c||u||0,0,r,-1,a,!1,0,_,f)).xs0="none"!==f||"display"!==a&&-1===a.indexOf("Style")?f:_:H("invalid "+a+" tween value: "+s[a]):(r=new xt(x,a,u,c-u,r,0,a,!1!==l&&("px"===g||"zIndex"===a),0,_,f)).xs0=g)}n&&r&&!r.plugin&&(r.plugin=n)}return r},h.setRatio=function(t){var e,i,s,r=this._firstPT;if(1!==t||this._tween._time!==this._tween._duration&&0!==this._tween._time)if(t||this._tween._time!==this._tween._duration&&0!==this._tween._time||-1e-6===this._tween._rawPrevTime)for(;r;){if(e=r.c*t+r.s,r.r?e=r.r(e):e<1e-6&&e>-1e-6&&(e=0),r.type)if(1===r.type)if(2===(s=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===s)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4+r.xn4+r.xs5;else{for(i=r.xs0+e+r.xs1,s=1;s<r.l;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}else-1===r.type?r.t[r.p]=r.xs0:r.setRatio&&r.setRatio(t);else r.t[r.p]=e+r.xs0;r=r._next}else for(;r;)2!==r.type?r.t[r.p]=r.b:r.setRatio(t),r=r._next;else for(;r;){if(2!==r.type)if(r.r&&-1!==r.type)if(e=r.r(r.s+r.c),r.type){if(1===r.type){for(s=r.l,i=r.xs0+e+r.xs1,s=1;s<r.l;s++)i+=r["xn"+s]+r["xs"+(s+1)];r.t[r.p]=i}}else r.t[r.p]=e+r.xs0;else r.t[r.p]=r.e;else r.setRatio(t);r=r._next}},h._enableTransforms=function(t){this._transform=this._transform||Wt(this._target,i,!0),this._transformType=this._transform.svg&&kt||!t&&3!==this._transformType?2:3};var te=function(t){this.t[this.p]=this.e,this.data._linkCSSP(this,this._next,null,!0)};h._addLazySet=function(t,e,i){var s=this._firstPT=new xt(t,e,0,0,this._firstPT,2);s.e=i,s.setRatio=te,s.data=this},h._linkCSSP=function(t,e,i,s){return t&&(e&&(e._prev=t),t._next&&(t._next._prev=t._prev),t._prev?t._prev._next=t._next:this._firstPT===t&&(this._firstPT=t._next,s=!0),i?i._next=t:s||null!==this._firstPT||(this._firstPT=t),t._next=e,t._prev=i),t},h._mod=function(t){for(var e=this._firstPT;e;)"function"==typeof t[e.p]&&(e.r=t[e.p]),e=e._next},h._kill=function(t){var e,i,s,r=t;if(t.autoAlpha||t.alpha){for(i in r={},t)r[i]=t[i];r.opacity=1,r.autoAlpha&&(r.visibility=1)}for(t.className&&(e=this._classNamePT)&&((s=e.xfirst)&&s._prev?this._linkCSSP(s._prev,e._next,s._prev._prev):s===this._firstPT&&(this._firstPT=e._next),e._next&&this._linkCSSP(e._next,e._next._next,s._prev),this._classNamePT=null),e=this._firstPT;e;)e.plugin&&e.plugin!==i&&e.plugin._kill&&(e.plugin._kill(t),i=e.plugin),e=e._next;return n.d.prototype._kill.call(this,r)};var ee=function(t,e,i){var s,r,n,a;if(t.slice)for(r=t.length;--r>-1;)ee(t[r],e,i);else for(r=(s=t.childNodes).length;--r>-1;)a=(n=s[r]).type,n.style&&(e.push(st(n)),i&&i.push(n)),1!==a&&9!==a&&11!==a||!n.childNodes.length||ee(n,e,i)};return r.cascadeTo=function(t,e,i){var s,r,a,o,h=n.f.to(t,e,i),l=[h],u=[],c=[],_=[],f=n.f._internals.reservedProps;for(t=h._targets||h.target,ee(t,u,_),h.render(e,!0,!0),ee(t,c),h.render(0,!0,!0),h._enabled(!0),s=_.length;--s>-1;)if((r=rt(_[s],u[s],c[s])).firstMPT){for(a in r=r.difs,i)f[a]&&(r[a]=i[a]);for(a in o={},r)o[a]=u[s][a];l.push(n.f.fromTo(_[s],e,o,r))}return l},n.d.activate([r]),r}),!0);var h=n.g.CSSPlugin,l=n.e._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,s){var r,n;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(n=e[r])&&(n=n(s,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",n+"",r,!1,r),this._overwriteProps.push(r);return!0}}),u=n.e._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,i){return this._tween=i,!0}}),c=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(i){return(Math.round(i/t)*t*e|0)/e}},_=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},f=u.prototype;
/*!
* VERSION: 0.6.1
* DATE: 2018-08-27
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
*/f._onInitAllProps=function(){var t,e,i,s,r=this._tween,n=r.vars.roundProps,a={},o=r._propLookup.roundProps;if("object"!=typeof n||n.push)for("string"==typeof n&&(n=n.split(",")),i=n.length;--i>-1;)a[n[i]]=Math.round;else for(s in n)a[s]=c(n[s]);for(s in a)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(a):t.n===s&&(2===t.f&&t.t?_(t.t._firstPT,a[s]):(this._add(t.t,s,t.s,t.c,a[s]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[s]=o)),t=e;return!1},f._add=function(t,e,i,s,r){this._addTween(t,e,i,i+s,e,r||Math.round),this._overwriteProps.push(e)};
/*!
* VERSION: 0.3.1
* DATE: 2018-08-27
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/
var p=n.e._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,s){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,n,a,o,h,l,u=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(o=e[r])&&(o=o(s,t)),n=(l=(o+"").split("_"))[0],a=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),h=(o=this.finals[r]="string"==typeof n&&"="===n.charAt(1)?a+parseInt(n.charAt(0)+"1",10)*Number(n.substr(2)):Number(n)||0)-a,l.length&&(-1!==(n=l.join("_")).indexOf("short")&&(h%=u)!==h%(u/2)&&(h=h<0?h+u:h-u),-1!==n.indexOf("_cw")&&h<0?h=(h+9999999999*u)%u-(h/u|0)*u:-1!==n.indexOf("ccw")&&h>0&&(h=(h-9999999999*u)%u-(h/u|0)*u)),(h>1e-6||h<-1e-6)&&(this._addTween(t,r,a,a+h,r),this._overwriteProps.push(r)));return!0},set:function(t){var e;if(1!==t)this._super.setRatio.call(this,t);else for(e=this._firstPT;e;)e.f?e.t[e.p](this.finals[e.p]):e.t[e.p]=this.finals[e.p],e=e._next}});p._autoCSS=!0,
/*!
* VERSION: 2.1.3
* DATE: 2019-05-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
*/
n.e._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],(function(){var t=function(t){a.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!!this.vars.yoyo,this._dirty=!0},e=n.f._internals,i=e.lazyTweens,s=e.lazyRender,r=n.e._gsDefine.globals,o=new n.b(null,null,1,0),h=t.prototype=new a;return h.constructor=t,h.kill()._gc=!1,t.version="2.1.3",h.invalidate=function(){return this._yoyo=!!this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),a.prototype.invalidate.call(this)},h.addCallback=function(t,e,i,s){return this.add(n.f.delayedCall(0,t,i,s),e)},h.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),s=i.length,r=this._parseTimeOrLabel(e);--s>-1;)i[s]._startTime===r&&i[s]._enabled(!1,!1);return this},h.removePause=function(t){return this.removeCallback(a._internals.pauseCallback,t)},h.tweenTo=function(t,e){e=e||{};var i,s,a,h={ease:o,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},l=e.repeat&&r.TweenMax||n.f;for(s in e)h[s]=e[s];return h.time=this._parseTimeOrLabel(t),i=Math.abs(Number(h.time)-this._time)/this._timeScale||.001,a=new l(this,i,h),h.onStart=function(){a.target.paused(!0),a.vars.time===a.target.time()||i!==a.duration()||a.isFromTo||a.duration(Math.abs(a.vars.time-a.target.time())/a.target._timeScale).render(a.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||a,e.onStartParams||[])},a},h.tweenFromTo=function(t,e,i){i=i||{},t=this._parseTimeOrLabel(t),i.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},i.immediateRender=!1!==i.immediateRender;var s=this.tweenTo(e,i);return s.isFromTo=1,s.duration(Math.abs(s.vars.time-t)/this._timeScale||.001)},h.render=function(t,e,r){this._gc&&this._enabled(!0,!1);var n,a,o,h,l,u,c,_,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,m=this._duration,g=this._totalTime,v=this._startTime,y=this._timeScale,x=this._rawPrevTime,T=this._paused,b=this._cycle;if(p!==this._time&&(t+=this._time-p),t>=d-1e-8&&t>=0)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(a=!0,h="onComplete",l=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-8||x<0||1e-8===x)&&x!==t&&this._first&&(l=!0,x>1e-8&&(h="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-8,this._yoyo&&1&this._cycle?this._time=t=0:(this._time=m,t=m+1e-4);else if(t<1e-8)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,t>-1e-8&&(t=0),(0!==p||0===m&&1e-8!==x&&(x>0||t<0&&x>=0)&&!this._locked)&&(h="onReverseComplete",a=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(l=a=!0,h="onReverseComplete"):x>=0&&this._first&&(l=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=m||!e||t||this._rawPrevTime===t?t:1e-8,0===t&&a)for(n=this._first;n&&0===n._startTime;)n._duration||(a=!1),n=n._next;t=0,this._initted||(l=!0)}else 0===m&&x<0&&(l=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(u=m+this._repeatDelay,this._cycle=this._totalTime/u>>0,this._cycle&&this._cycle===this._totalTime/u&&g<=t&&this._cycle--,this._time=this._totalTime-this._cycle*u,this._yoyo&&1&this._cycle&&(this._time=m-this._time),this._time>m?(this._time=m,t=m+1e-4):this._time<0?this._time=t=0:t=this._time));if(this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>p||this._repeat&&b!==this._cycle)for(n=this._first;n&&n._startTime<=t&&!c;)n._duration||"isPause"!==n.data||n.ratio||0===n._startTime&&0===this._rawPrevTime||(c=n),n=n._next;else for(n=this._last;n&&n._startTime>=t&&!c;)n._duration||"isPause"===n.data&&n._rawPrevTime>0&&(c=n),n=n._prev;c&&(f=this._startTime+(this._reversed?this._duration-c._startTime:c._startTime)/this._timeScale,c._startTime<m&&(this._time=this._rawPrevTime=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay)))}if(this._cycle!==b&&!this._locked){var w=this._yoyo&&0!=(1&b),P=w===(this._yoyo&&0!=(1&this._cycle)),O=this._totalTime,S=this._cycle,k=this._rawPrevTime,R=this._time;if(this._totalTime=b*m,this._cycle<b?w=!w:this._totalTime+=m,this._time=p,this._rawPrevTime=0===m?x-1e-4:x,this._cycle=b,this._locked=!0,p=w?0:m,this.render(p,e,0===m),e||this._gc||this.vars.onRepeat&&(this._cycle=S,this._locked=!1,this._callback("onRepeat")),p!==this._time)return;if(P&&(this._cycle=b,this._locked=!0,p=w?m+1e-4:-1e-4,this.render(p,!0,!1)),this._locked=!1,this._paused&&!T)return;this._time=R,this._totalTime=O,this._cycle=S,this._rawPrevTime=k}if(this._time!==p&&this._first||r||l||c){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==g&&t>0&&(this._active=!0),0===g&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(_=this._time)>=p)for(n=this._first;n&&(o=n._next,_===this._time&&(!this._paused||T));)(n._active||n._startTime<=this._time&&!n._paused&&!n._gc)&&(c===n&&(this.pause(),this._pauseTime=f),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)),n=o;else for(n=this._last;n&&(o=n._prev,_===this._time&&(!this._paused||T));){if(n._active||n._startTime<=p&&!n._paused&&!n._gc){if(c===n){for(c=n._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,r),c=c._prev;c=null,this.pause(),this._pauseTime=f}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,r):n.render((t-n._startTime)*n._timeScale,e,r)}n=o}this._onUpdate&&(e||(i.length&&s(),this._callback("onUpdate"))),h&&(this._locked||this._gc||v!==this._startTime&&y===this._timeScale||(0===this._time||d>=this.totalDuration())&&(a&&(i.length&&s(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[h]&&this._callback(h)))}else g!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},h.getActive=function(t,e,i){var s,r,n=[],a=this.getChildren(t||null==t,e||null==t,!!i),o=0,h=a.length;for(s=0;s<h;s++)(r=a[s]).isActive()&&(n[o++]=r);return n},h.getLabelAfter=function(t){t||0!==t&&(t=this._time);var e,i=this.getLabelsArray(),s=i.length;for(e=0;e<s;e++)if(i[e].time>t)return i[e].name;return null},h.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].time<t)return e[i].name;return null},h.getLabelsArray=function(){var t,e=[],i=0;for(t in this._labels)e[i++]={time:this._labels[t],name:t};return e.sort((function(t,e){return t.time-e.time})),e},h.invalidate=function(){return this._locked=!1,a.prototype.invalidate.call(this)},h.progress=function(t,e){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&0!=(1&this._cycle)?1-t:t)+this._cycle*(this._duration+this._repeatDelay),e):this._time/this.duration()||0},h.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()||0},h.totalDuration=function(t){return arguments.length?-1!==this._repeat&&t?this.timeScale(this.totalDuration()/t):this:(this._dirty&&(a.prototype.totalDuration.call(this),this._totalDuration=-1===this._repeat?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},h.time=function(t,e){if(!arguments.length)return this._time;this._dirty&&this.totalDuration();var i=this._duration,s=this._cycle,r=s*(i+this._repeatDelay);return t>i&&(t=i),this.totalTime(this._yoyo&&1&s?i-t+r:this._repeat?t+r:t,e)},h.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},h.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},h.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},h.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t}),!0);var d=n.g.TimelineMax,m=180/Math.PI,g=[],v=[],y=[],x={},T=n.e._gsDefine.globals,b=function(t,e,i,s){i===s&&(i=s-(s-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=s,this.da=s-t,this.ca=i-t,this.ba=e-t},w=function(t,e,i,s){var r={a:t},n={},a={},o={c:s},h=(t+e)/2,l=(e+i)/2,u=(i+s)/2,c=(h+l)/2,_=(l+u)/2,f=(_-c)/8;return r.b=h+(t-h)/4,n.b=c+f,r.c=n.a=(r.b+n.b)/2,n.c=a.a=(c+_)/2,a.b=_-f,o.b=u+(s-u)/4,a.c=o.a=(a.b+o.b)/2,[r,n,a,o]},P=function(t,e,i,s,r){var n,a,o,h,l,u,c,_,f,p,d,m,x,T=t.length-1,b=0,P=t[0].a;for(n=0;n<T;n++)a=(l=t[b]).a,o=l.d,h=t[b+1].d,r?(d=g[n],x=((m=v[n])+d)*e*.25/(s?.5:y[n]||.5),_=o-((u=o-(o-a)*(s?.5*e:0!==d?x/d:0))+(((c=o+(h-o)*(s?.5*e:0!==m?x/m:0))-u)*(3*d/(d+m)+.5)/4||0))):_=o-((u=o-(o-a)*e*.5)+(c=o+(h-o)*e*.5))/2,u+=_,c+=_,l.c=f=u,l.b=0!==n?P:P=l.a+.6*(l.c-l.a),l.da=o-a,l.ca=f-a,l.ba=P-a,i?(p=w(a,P,f,o),t.splice(b,1,p[0],p[1],p[2],p[3]),b+=4):b++,P=c;(l=t[b]).b=P,l.c=P+.4*(l.d-P),l.da=l.d-l.a,l.ca=l.c-l.a,l.ba=P-l.a,i&&(p=w(l.a,P,l.c,l.d),t.splice(b,1,p[0],p[1],p[2],p[3]))},O=function(t,e,i,s){var r,n,a,o,h,l,u=[];if(s)for(n=(t=[s].concat(t)).length;--n>-1;)"string"==typeof(l=t[n][e])&&"="===l.charAt(1)&&(t[n][e]=s[e]+Number(l.charAt(0)+l.substr(2)));if((r=t.length-2)<0)return u[0]=new b(t[0][e],0,0,t[0][e]),u;for(n=0;n<r;n++)a=t[n][e],o=t[n+1][e],u[n]=new b(a,0,0,o),i&&(h=t[n+2][e],g[n]=(g[n]||0)+(o-a)*(o-a),v[n]=(v[n]||0)+(h-o)*(h-o));return u[n]=new b(t[n][e],0,0,t[n+1][e]),u},S=function(t,e,i,s,r,n){var a,o,h,l,u,c,_,f,p={},d=[],m=n||t[0];for(o in r="string"==typeof r?","+r+",":",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",null==e&&(e=1),t[0])d.push(o);if(t.length>1){for(f=t[t.length-1],_=!0,a=d.length;--a>-1;)if(o=d[a],Math.abs(m[o]-f[o])>.05){_=!1;break}_&&(t=t.concat(),n&&t.unshift(n),t.push(t[1]),n=t[t.length-3])}for(g.length=v.length=y.length=0,a=d.length;--a>-1;)o=d[a],x[o]=-1!==r.indexOf(","+o+","),p[o]=O(t,o,x[o],n);for(a=g.length;--a>-1;)g[a]=Math.sqrt(g[a]),v[a]=Math.sqrt(v[a]);if(!s){for(a=d.length;--a>-1;)if(x[o])for(c=(h=p[d[a]]).length-1,l=0;l<c;l++)u=h[l+1].da/v[l]+h[l].da/g[l]||0,y[l]=(y[l]||0)+u*u;for(a=y.length;--a>-1;)y[a]=Math.sqrt(y[a])}for(a=d.length,l=i?4:1;--a>-1;)h=p[o=d[a]],P(h,e,i,s,x[o]),_&&(h.splice(0,l),h.splice(h.length-l,l));return p},k=function(t,e,i){for(var s,r,n,a,o,h,l,u,c,_,f,p=1/i,d=t.length;--d>-1;)for(n=(_=t[d]).a,a=_.d-n,o=_.c-n,h=_.b-n,s=r=0,u=1;u<=i;u++)s=r-(r=((l=p*u)*l*a+3*(c=1-l)*(l*o+c*h))*l),e[f=d*i+u-1]=(e[f]||0)+s*s},R=n.e._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.9",API:2,global:!0,init:function(t,e,i){this._target=t,e instanceof Array&&(e={values:e}),this._func={},this._mod={},this._props=[],this._timeRes=null==e.timeResolution?6:parseInt(e.timeResolution,10);var s,r,n,a,o,h=e.values||[],l={},u=h[0],c=e.autoRotate||i.vars.orientToBezier;for(s in this._autoRotate=c?c instanceof Array?c:[["x","y","rotation",!0===c?0:Number(c)||0]]:null,u)this._props.push(s);for(n=this._props.length;--n>-1;)s=this._props[n],this._overwriteProps.push(s),r=this._func[s]="function"==typeof t[s],l[s]=r?t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)]():parseFloat(t[s]),o||l[s]!==h[0][s]&&(o=l);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?S(h,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,o):function(t,e,i){var s,r,n,a,o,h,l,u,c,_,f,p={},d="cubic"===(e=e||"soft")?3:2,m="soft"===e,g=[];if(m&&i&&(t=[i].concat(t)),null==t||t.length<d+1)throw"invalid Bezier data";for(c in t[0])g.push(c);for(h=g.length;--h>-1;){for(p[c=g[h]]=o=[],_=0,u=t.length,l=0;l<u;l++)s=null==i?t[l][c]:"string"==typeof(f=t[l][c])&&"="===f.charAt(1)?i[c]+Number(f.charAt(0)+f.substr(2)):Number(f),m&&l>1&&l<u-1&&(o[_++]=(s+o[_-2])/2),o[_++]=s;for(u=_-d+1,_=0,l=0;l<u;l+=d)s=o[l],r=o[l+1],n=o[l+2],a=2===d?0:o[l+3],o[_++]=f=3===d?new b(s,r,n,a):new b(s,(2*r+s)/3,(2*r+n)/3,n);o.length=_}return p}(h,e.type,l),this._segCount=this._beziers[s].length,this._timeRes){var _=function(t,e){var i,s,r,n,a=[],o=[],h=0,l=0,u=(e=e>>0||6)-1,c=[],_=[];for(i in t)k(t[i],a,e);for(r=a.length,s=0;s<r;s++)h+=Math.sqrt(a[s]),_[n=s%e]=h,n===u&&(l+=h,c[n=s/e>>0]=_,o[n]=l,h=0,_=[]);return{length:l,lengths:o,segments:c}}(this._beziers,this._timeRes);this._length=_.length,this._lengths=_.lengths,this._segments=_.segments,this._l1=this._li=this._s1=this._si=0,this._l2=this._lengths[0],this._curSeg=this._segments[0],this._s2=this._curSeg[0],this._prec=1/this._curSeg.length}if(c=this._autoRotate)for(this._initialRotations=[],c[0]instanceof Array||(this._autoRotate=c=[c]),n=c.length;--n>-1;){for(a=0;a<3;a++)s=c[n][a],this._func[s]="function"==typeof t[s]&&t[s.indexOf("set")||"function"!=typeof t["get"+s.substr(3)]?s:"get"+s.substr(3)];s=c[n][2],this._initialRotations[n]=(this._func[s]?this._func[s].call(this._target):this._target[s])||0,this._overwriteProps.push(s)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,s,r,n,a,o,h,l,u,c,_=this._segCount,f=this._func,p=this._target,d=t!==this._startRatio;if(this._timeRes){if(l=this._lengths,u=this._curSeg,c=t*this._length,s=this._li,c>this._l2&&s<_-1){for(h=_-1;s<h&&(this._l2=l[++s])<=c;);this._l1=l[s-1],this._li=s,this._curSeg=u=this._segments[s],this._s2=u[this._s1=this._si=0]}else if(c<this._l1&&s>0){for(;s>0&&(this._l1=l[--s])>=c;);0===s&&c<this._l1?this._l1=0:s++,this._l2=l[s],this._li=s,this._curSeg=u=this._segments[s],this._s1=u[(this._si=u.length-1)-1]||0,this._s2=u[this._si]}if(e=s,c-=this._l1,s=this._si,c>this._s2&&s<u.length-1){for(h=u.length-1;s<h&&(this._s2=u[++s])<=c;);this._s1=u[s-1],this._si=s}else if(c<this._s1&&s>0){for(;s>0&&(this._s1=u[--s])>=c;);0===s&&c<this._s1?this._s1=0:s++,this._s2=u[s],this._si=s}a=1===t?1:(s+(c-this._s1)/(this._s2-this._s1))*this._prec||0}else a=(t-(e=t<0?0:t>=1?_-1:_*t>>0)*(1/_))*_;for(i=1-a,s=this._props.length;--s>-1;)r=this._props[s],o=(a*a*(n=this._beziers[r][e]).da+3*i*(a*n.ca+i*n.ba))*a+n.a,this._mod[r]&&(o=this._mod[r](o,p)),f[r]?p[r](o):p[r]=o;if(this._autoRotate){var g,v,y,x,T,b,w,P=this._autoRotate;for(s=P.length;--s>-1;)r=P[s][2],b=P[s][3]||0,w=!0===P[s][4]?1:m,n=this._beziers[P[s][0]],g=this._beziers[P[s][1]],n&&g&&(n=n[e],g=g[e],v=n.a+(n.b-n.a)*a,v+=((x=n.b+(n.c-n.b)*a)-v)*a,x+=(n.c+(n.d-n.c)*a-x)*a,y=g.a+(g.b-g.a)*a,y+=((T=g.b+(g.c-g.b)*a)-y)*a,T+=(g.c+(g.d-g.c)*a-T)*a,o=d?Math.atan2(T-y,x-v)*w+b:this._initialRotations[s],this._mod[r]&&(o=this._mod[r](o,p)),f[r]?p[r](o):p[r]=o)}}}),C=R.prototype;
/*!
* VERSION: 1.3.9
* DATE: 2019-05-17
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/R.bezierThrough=S,R.cubicToQuadratic=w,R._autoCSS=!0,R.quadraticToCubic=function(t,e,i){return new b(t,(2*e+t)/3,(2*e+i)/3,i)},R._cssRegister=function(){var t=T.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,s=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,n,a,o,h){e instanceof Array&&(e={values:e}),h=new R;var l,u,c,_=e.values,f=_.length-1,p=[],d={};if(f<0)return o;for(l=0;l<=f;l++)c=i(t,_[l],a,o,h,f!==l),p[l]=c.end;for(u in e)d[u]=e[u];return d.values=p,(o=new r(t,"bezier",0,0,c.pt,2)).data=c,o.plugin=h,o.setRatio=s,0===d.autoRotate&&(d.autoRotate=!0),!d.autoRotate||d.autoRotate instanceof Array||(l=!0===d.autoRotate?0:Number(d.autoRotate),d.autoRotate=null!=c.end.left?[["left","top","rotation",l,!1]]:null!=c.end.x&&[["x","y","rotation",l,!1]]),d.autoRotate&&(a._transform||a._enableTransforms(!1),c.autoRotate=a._target._gsTransform,c.proxy.rotation=c.autoRotate.rotation||0,a._overwriteProps.push("rotation")),h._onInitTween(c.proxy,d,a._tween),o}})}},C._mod=function(t){for(var e,i=this._overwriteProps,s=i.length;--s>-1;)(e=t[i[s]])&&"function"==typeof e&&(this._mod[i[s]]=e)},C._kill=function(t){var e,i,s=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=s.length;--i>-1;)s[i]===e&&s.splice(i,1);if(s=this._autoRotate)for(i=s.length;--i>-1;)t[s[i][2]]&&s.splice(i,1);return this._super._kill.call(this,t)},
/*!
* VERSION: 1.16.1
* DATE: 2018-08-27
* UPDATES AND DOCS AT: http://greensock.com
*
* @license Copyright (c) 2008-2019, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, [email protected]
**/
n.e._gsDefine("easing.Back",["easing.Ease"],(function(){var t,e,i,s,r=n.e.GreenSockGlobals||n.e,a=r.com.greensock,o=2*Math.PI,h=Math.PI/2,l=a._class,u=function(t,e){var i=l("easing."+t,(function(){}),!0),s=i.prototype=new n.b;return s.constructor=i,s.getRatio=e,i},c=n.b.register||function(){},_=function(t,e,i,s,r){var n=l("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new s},!0);return c(n,t),n},f=function(t,e,i){this.t=t,this.v=e,i&&(this.next=i,i.prev=this,this.c=i.v-e,this.gap=i.t-t)},p=function(t,e){var i=l("easing."+t,(function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1}),!0),s=i.prototype=new n.b;return s.constructor=i,s.getRatio=e,s.config=function(t){return new i(t)},i},d=_("Back",p("BackOut",(function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1})),p("BackIn",(function(t){return t*t*((this._p1+1)*t-this._p1)})),p("BackInOut",(function(t){return(t*=2)<1?.5*t*t*((this._p2+1)*t-this._p2):.5*((t-=2)*t*((this._p2+1)*t+this._p2)+2)}))),m=l("easing.SlowMo",(function(t,e,i){e=e||0===e?e:.7,null==t?t=.7:t>1&&(t=1),this._p=1!==t?e:0,this._p1=(1-t)/2,this._p2=t,this._p3=this._p1+this._p2,this._calcEnd=!0===i}),!0),g=m.prototype=new n.b;return g.constructor=m,g.getRatio=function(t){var e=t+(.5-t)*this._p;return t<this._p1?this._calcEnd?1-(t=1-t/this._p1)*t:e-(t=1-t/this._p1)*t*t*t*e:t>this._p3?this._calcEnd?1===t?0:1-(t=(t-this._p3)/this._p1)*t:e+(t-e)*(t=(t-this._p3)/this._p1)*t*t*t:this._calcEnd?1:e},m.ease=new m(.7,.7),g.config=m.config=function(t,e,i){return new m(t,e,i)},(g=(t=l("easing.SteppedEase",(function(t,e){t=t||1,this._p1=1/t,this._p2=t+(e?0:1),this._p3=e?1:0}),!0)).prototype=new n.b).constructor=t,g.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},g.config=t.config=function(e,i){return new t(e,i)},(g=(e=l("easing.ExpoScaleEase",(function(t,e,i){this._p1=Math.log(e/t),this._p2=e-t,this._p3=t,this._ease=i}),!0)).prototype=new n.b).constructor=e,g.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},g.config=e.config=function(t,i,s){return new e(t,i,s)},(g=(i=l("easing.RoughEase",(function(t){for(var e,i,s,r,a,o,h=(t=t||{}).taper||"none",l=[],u=0,c=0|(t.points||20),_=c,p=!1!==t.randomize,d=!0===t.clamp,m=t.template instanceof n.b?t.template:null,g="number"==typeof t.strength?.4*t.strength:.4;--_>-1;)e=p?Math.random():1/c*_,i=m?m.getRatio(e):e,s="none"===h?g:"out"===h?(r=1-e)*r*g:"in"===h?e*e*g:e<.5?(r=2*e)*r*.5*g:(r=2*(1-e))*r*.5*g,p?i+=Math.random()*s-.5*s:_%2?i+=.5*s:i-=.5*s,d&&(i>1?i=1:i<0&&(i=0)),l[u++]={x:e,y:i};for(l.sort((function(t,e){return t.x-e.x})),o=new f(1,1,null),_=c;--_>-1;)a=l[_],o=new f(a.x,a.y,o);this._prev=new f(0,0,0!==o.t?o:o.next)}),!0)).prototype=new n.b).constructor=i,g.getRatio=function(t){var e=this._prev;if(t>e.t){for(;e.next&&t>=e.t;)e=e.next;e=e.prev}else for(;e.prev&&t<=e.t;)e=e.prev;return this._prev=e,e.v+(t-e.t)/e.gap*e.c},g.config=function(t){return new i(t)},i.ease=new i,_("Bounce",u("BounceOut",(function(t){return t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375})),u("BounceIn",(function(t){return(t=1-t)<1/2.75?1-7.5625*t*t:t<2/2.75?1-(7.5625*(t-=1.5/2.75)*t+.75):t<2.5/2.75?1-(7.5625*(t-=2.25/2.75)*t+.9375):1-(7.5625*(t-=2.625/2.75)*t+.984375)})),u("BounceInOut",(function(t){var e=t<.5;return(t=e?1-2*t:2*t-1)<1/2.75?t*=7.5625*t:t=t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,e?.5*(1-t):.5*t+.5}))),_("Circ",u("CircOut",(function(t){return Math.sqrt(1-(t-=1)*t)})),u("CircIn",(function(t){return-(Math.sqrt(1-t*t)-1)})),u("CircInOut",(function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)}))),_("Elastic",(s=function(t,e,i){var s=l("easing."+t,(function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/o*(Math.asin(1/this._p1)||0),this._p2=o/this._p2}),!0),r=s.prototype=new n.b;return r.constructor=s,r.getRatio=e,r.config=function(t,e){return new s(t,e)},s})("ElasticOut",(function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1}),.3),s("ElasticIn",(function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)}),.3),s("ElasticInOut",(function(t){return(t*=2)<1?this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)*-.5:this._p1*Math.pow(2,-10*(t-=1))*Math.sin((t-this._p3)*this._p2)*.5+1}),.45)),_("Expo",u("ExpoOut",(function(t){return 1-Math.pow(2,-10*t)})),u("ExpoIn",(function(t){return Math.pow(2,10*(t-1))-.001})),u("ExpoInOut",(function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))}))),_("Sine",u("SineOut",(function(t){return Math.sin(t*h)})),u("SineIn",(function(t){return 1-Math.cos(t*h)})),u("SineInOut",(function(t){return-.5*(Math.cos(Math.PI*t)-1)}))),l("easing.EaseLookup",{find:function(t){return n.b.map[t]}},!0),c(r.SlowMo,"SlowMo","ease,"),c(i,"RoughEase","ease,"),c(t,"SteppedEase","ease,"),d}),!0);var A=n.g.Back,M=n.g.Elastic,D=n.g.Bounce,F=n.g.RoughEase,z=n.g.SlowMo,E=n.g.SteppedEase,X=n.g.Circ,I=n.g.Expo,L=n.g.Sine,N=n.g.ExpoScaleEase,B=o;function Y(t){this.PIXI=PIXI,this.TweenMax=B,this.options=t,this.sprites=Object.create(null),this._scenes=[],this._scenesParams=["{self}"],this._uuid=0,this.fitHeight=this.options.fitHeight||750,this.app=new PIXI.Application({transparent:!0});var e=new PIXI.Container;this.sprites.root=e,this.app.stage.addChild(e),this.resize(),document.body.appendChild(this.app.view)}B._autoActivated=[a,d,h,l,R,u,p,A,M,D,F,z,E,X,I,L,N],Y.prototype={load:function(t){var e=this.options.resources.filter((function(t){return t.url}));this.app.loader.reset(),this.ready=t,this.app.loader.add(e).on("progress",function(t){var e=t.progress;this.sprites.percent.text=(0|e)+"%"}.bind(this)).load(this.setup.bind(this))},setup:function(t){var e=this.timeline=new a({paused:!0}),i=this.sprites.root;this.longtaketouch=new r.a({vertical:this.vertical,min:this.min,speed:10,maxSpeed:100,change:function(t){i.x=t,e.seek(-t,!1)}}),this.initSprites(t.resources),this.ready&&this.ready.call(this);var s=this.app.stage.getChildAt(1);this.TweenMax.to(s,1,{alpha:0,onCompleteScope:this,onComplete:function(){this.app.stage.removeChildAt(1)}})},initSprites:function(t){for(var e,i,s,r,n,a=this.options.resources,o=this._scenes,h=this.sprites,l=this.PIXI,u=l.Container,c=l.Sprite,_=l.TilingSprite,f=l.Graphics,p=l.Text,d=0,m=a.length;d<m;d++)if(e=(n=a[d]).type){switch(e){case"Container":s=new u;break;case"Sprite":s=new c(t[n.name||n.url].texture);break;case"Tiling":(r=t[n.name||n.url].texture)._type=e,s=new _(r,n.props.width,n.props.height);break;case"Text":s=new p(n.text,n.style);break;case"Graphics":s=new f;break;case"Clone":s="Tiling"===(r=t[n.clone].texture)._type?new _(r):new c(r);break;case"Rect":s=this.createRect(n);break;default:s=this.options.types[e].call(this,n)}this._setSpriteProperty(s,n.props),n.mask&&(s.mask=h[n.mask]),n.timeline&&this._tweenFactory(s,n.timeline,!1,n.isScene),n.tween&&this._tweenFactory(s,n.tween,!0,n.isScene),n.handle&&n.handle.call(s,this),n.group&&(i=h[n.group])&&i.addChild(s),h[n.name||n.url||this._uuid++]=s,n.isScene&&(s.visible=1===o.push(s))}return this},_tweenFactory:function(t,e,i,s){var r,n,a,o,h=B,l=this.timeline,u=[t];if(i)for(r in e)if(n=e[r],Array.isArray(n[0]))for(a=n.length;a--;)h[r].apply(h,u.concat(n[a]));else h[r].apply(h,u.concat(n));else{for(r in e)if(n=e[r],Array.isArray(n[0]))for(a=n.length;a--;)o=h[r].apply(h,u.concat(n[a])),l.add(o,0);else o=h[r].apply(h,u.concat(n)),l.add(o,0);s&&o&&o.eventCallback("onStart",this._sceneEnter,this._scenesParams,this)}return this},createRect:function(t){var e=new this.PIXI.Graphics,i=t.props;return i&&(e.beginFill(i.color||0),e.drawRect(0,0,i.width,i.height),e.endFill()),e},_sceneEnter:function(t){var e=t.target,i=this._scenes,s=i.length,r=i.indexOf(e),n=r-1,a=r+1;if(0===r)s>1&&(i[a].visible=!0);else if(r===s-1)i[n].visible=!0;else for(;s--;)i[s].visible=s===r||s===n||s===a},_setSpriteProperty:function(t,e){var i,s,r;if(e)for(i in e)if("object"==typeof(s=e[i]))for(r in s)t[i][r]=s[r];else t[i]=s;return t},resize:function(){var t,e,i,s,r,n,a,o=window.innerWidth,h=window.innerHeight,l=window.orientation||0,u=o/h,c=this.fitHeight,_=this.app,f=_.view,p=_.stage;return l%180?(a=t=(e=c)*u,i=h/c,s=0,r=0,n=this.options.vertical):(a=e=(t=c)/u,i=o/c,s=1.5707963,r=c,n=!this.options.vertical),this.aspectRatio=u,this.scale=i,this.width=t,this.height=e,this.centerX=t/2,this.centerY=e/2,this.min=this.options.min+a,this.rotation=s,this.povitY=r,this.vertical=n,f.style.width=t*i+"px",f.style.height=e*i+"px",p.pivot.y=r,p.rotation=s,this.longtaketouch&&(this.longtaketouch.vertical=n),_.renderer.resize(t,e),this}};var j=Y,V=Object.create(null),U="undefined"==typeof Audio?function(){return document.createElement("audio")}:function(){return new Audio};V.assets=Object.create(null),V.play=function(t){var e=this.assets[t];return e&&e.paused&&e.play(),this},V.pause=function(t){var e=this.assets[t];return e&&!e.paused&&e.pause(),this},function(t){for(var e,i,s,r=t.length;r--;)e=U(),s=(i=t[r]).split("/").pop().slice(0,-4),e.src=i,V.assets[s]=e,e.preload=!0,"bg"===s&&(e.loop=config.BG_SOUND_LOOP,e.volume=config.BG_SOUND_VOLUME),e.load&&e.load()}(["./static/sounds/start.mp3","./static/sounds/end.mp3","./static/sounds/bg.mp3"]);var q=V,G=new j({loading:config.loading,resources:config.resources,fitHeight:750,min:-config.bgWidth,vertical:!1,types:{Dot:function(t){var e=this,i=this.PIXI,s=new i.Container,r=W(i,t),n=W(i,t);return s.addChild(r,n),TweenMax.staggerTo([{v:0,name:"a"},{v:0,name:"b"}],1.4,{v:1,repeat:-1,onUpdate:function(){var t=this.target.v,e="a"===this.target.name?r:n;e.alpha=1-t,e.scale.set(t)}},.7),s._link=t.link,s.interactive=!0,s.on("tap",(function(){var t=e.sprites[this._link];t.visible||t.open()})),s},Dialog:function(t){var e=this.PIXI,i=this.TweenMax,s=this.app.loader.resources,r=new e.Container,n=new e.Sprite(s[t.name||t.url].texture),a=new e.Sprite(s.closeBtn.texture);return r.visible=!1,r.alpha=0,r.open=function(){this.visible=!0,new i(this,.5,{alpha:1})},r.close=function(){new i(this,.5,{alpha:0,onComplete:function(){this.target.visible=!1}})},a.anchor.set(.5,0),a.position.set(n.width/2,n.height+30),a.interactive=!0,a.on("tap",(function(){r.close()})),r.addChild(n,a),r}}});function W(t,e){var i=new t.Container,s=new t.Graphics;return s.beginFill(16777215),s.drawCircle(0,0,e.radius),s.endFill(),i.addChild(s),i}function H(){var t=this.sprites,e=t.hand;e.anchor.set(.5),e.x=this.centerX+90,e.y=.7*this.height,this._tweenFactory(e,{to:[1,{x:this.centerX-90,repeat:-1}]},!0);var i=t.slide;i.x=this.centerX,i.y=.8*this.height,t.dot1.on("tap",(function(){q.play("start")})),t.dialog1.children[1].on("tap",(function(){q.pause("start")})),this.timeline.add(this.TweenMax.set({arrive:!0},{delay:26838,arrive:!1,onStart:function(){this.target.arrive?q.play("end"):q.pause("end")}}),0),function(){if(config.hasBgSound){var t=function(){q.play("bg")},e=function(){this.removeEventListener("touchstart",e,!1),t()};window.addEventListener("touchstart",e,!1),document.addEventListener("WeixinJSBridgeReady",t,!1),t()}}()}G.loading=function(){var t=this;this.app.loader.add(this.options.loading).load((function(e){for(var i,s,r,n,a=t.PIXI,o=new a.Container,h=e.resources.loading.texture,l=[],u=a.Texture,c=a.Rectangle,_=a.AnimatedSprite,f=9,p=t.vertical?t.centerY:t.centerX,d={width:t.vertical?t.height:t.width,height:t.vertical?t.width:t.height};f--;)l[f]=new u(h,new c(150*f,0,150,150));(i=t.createRect({props:d})).alhpa=.5,(s=new _(l)).animationSpeed=.5,s.scale.set(1.8),s.anchor.set(.5),s.position.set(p,250),(r=new a.Text("0%",{fontSize:40,fill:16777215,align:"center"})).anchor.set(.5),r.x=p,r.y=500,(n=new a.Text("建议锁定方向观看",{fontSize:40,fill:16777215,align:"center"})).anchor.set(.5),n.x=p,n.y=600,o.addChild(i,s,r,n),t.app.stage.addChild(o),s.play(),t.sprites.percent=r,t.load(H)}))},window.addEventListener("resize",(function(){G.resize()}),!1),G.loading()}]);