From 921801376f7ea1707ef44e71d2d62cb838cccc25 Mon Sep 17 00:00:00 2001 From: riccoarntz Date: Fri, 22 Feb 2019 15:28:34 +0100 Subject: [PATCH 1/6] Add new scrolling-tracking component manager. --- example/index.html | 24 +++++++--- example/src/App.ts | 18 +++++--- .../src/component/block/DummyFoo/DummyFoo.ts | 24 +++++++--- .../DummyFoo/DummyFooTransitionController.ts | 2 +- example/src/style/screen.css | 12 ++++- package.json | 2 +- src/lib/interface/IMubanTransitionMixin.ts | 22 ++++++++++ src/lib/mixin/MubanTransitionMixin.ts | 5 +++ .../src/app/component/layout/app/App.ts | 18 +++++--- yarn.lock | 44 +++++++++++++++---- 10 files changed, 137 insertions(+), 34 deletions(-) diff --git a/example/index.html b/example/index.html index c9da6f8..7210ce5 100644 --- a/example/index.html +++ b/example/index.html @@ -20,7 +20,9 @@

Muban Transition Component

class="dummy-foo" data-scroll-component> - + +
+

Scroll Transition

@@ -42,7 +44,9 @@

Regular Transition

data-component="dummy-foo" class="dummy-foo" data-scroll-component> - + +
+

Scroll Transition

@@ -66,7 +70,9 @@

Regular Transition

data-component="dummy-foo" class="dummy-foo" data-scroll-component> - + +
+

Scroll Transition

@@ -90,7 +96,9 @@

Regular Transition

data-component="dummy-foo" class="dummy-foo" data-scroll-component> - + +
+

Scroll Transition

@@ -114,7 +122,9 @@

Regular Transition

data-component="dummy-foo" class="dummy-foo" data-scroll-component> - + +
+

Scroll Transition

@@ -138,7 +148,9 @@

Regular Transition

data-component="dummy-foo" class="dummy-foo" data-scroll-component> - + +
+

Scroll Transition

diff --git a/example/src/App.ts b/example/src/App.ts index 8292f8a..05cb371 100644 --- a/example/src/App.ts +++ b/example/src/App.ts @@ -8,11 +8,19 @@ export default class App extends CoreComponent{ static displayName: string = 'app-root'; public scrollTrackerComponentManager: ScrollTrackerComponentManager = new ScrollTrackerComponentManager({ - config: { - setDebugLabel: true, - debugBorderColor: 'red', - resizeDebounce: 100, - } + setDebugLabel: true, + debugBorderColor: 'red', + + inViewProgressEnabled: true, + + scrollThrottle: 100, + resizeDebounce: 100, + + enableSmoothScroll: true, + smoothScrollOptions: { + damping: 0.1, + alwaysShowTracks: false, + }, }); constructor(element: HTMLElement) { diff --git a/example/src/component/block/DummyFoo/DummyFoo.ts b/example/src/component/block/DummyFoo/DummyFoo.ts index 5fa4257..e07b1eb 100644 --- a/example/src/component/block/DummyFoo/DummyFoo.ts +++ b/example/src/component/block/DummyFoo/DummyFoo.ts @@ -1,22 +1,33 @@ import CoreComponent from 'muban-core/lib/CoreComponent'; -import getComponentForElement from 'muban-core/lib/utils/getComponentForElement'; -import DummyFooPopup from '../../DummyFooPopup/DummyFooPopup'; +// import getComponentForElement from 'muban-core/lib/utils/getComponentForElement'; +// import DummyFooPopup from '../../DummyFooPopup/DummyFooPopup'; import DummyFooTransitionController from './DummyFooTransitionController'; import mubanTransitionMixin from '../../../../../src/lib/mixin/MubanTransitionMixin'; import mubanTransitionCoreMixin from '../../../../../src/lib/mixin/MubanTransitionCoreMixin'; export default class DummyFoo extends mubanTransitionMixin(mubanTransitionCoreMixin(CoreComponent)) { static displayName: string = 'dummy-foo'; - public transitionController: DummyFooTransitionController; + // public transitionController: DummyFooTransitionController; - private dummyFooPopup: DummyFoo; + // private dummyFooPopup: DummyFoo; constructor(public element: HTMLElement) { super(element); this.transitionController = new DummyFooTransitionController(this); this.addEventListeners(); - this.dummyFooPopup = getComponentForElement(this.element.querySelector(`[data-component="${DummyFooPopup.displayName}"]`)); + // this.dummyFooPopup = getComponentForElement(this.element.querySelector(`[data-component="${DummyFooPopup.displayName}"]`)); + } + + /** + * @public + * @method inViewProgress + */ + public inViewProgress(progress:number):void + { + (this.element.querySelector('.js-progress')).style.width = `${progress * 100}%`; + + console.log(progress); } /** @@ -28,7 +39,6 @@ export default class DummyFoo extends mubanTransitionMixin(mubanTransitionCoreMi } - /** * @private * @method addEventListeners @@ -42,7 +52,7 @@ export default class DummyFoo extends mubanTransitionMixin(mubanTransitionCoreMi * @method handleOpenPopupClick */ private handleOpenPopupClick(): void { - this.dummyFooPopup.transitionIn(); + // this.dummyFooPopup.transitionIn(); } public dispose() { diff --git a/example/src/component/block/DummyFoo/DummyFooTransitionController.ts b/example/src/component/block/DummyFoo/DummyFooTransitionController.ts index 458feb3..a02c68c 100644 --- a/example/src/component/block/DummyFoo/DummyFooTransitionController.ts +++ b/example/src/component/block/DummyFoo/DummyFooTransitionController.ts @@ -18,7 +18,7 @@ class DummyFooTransitionController extends MubanTransitionController { */ protected setupTransitionInTimeline( timeline:TimelineMax, - parent:DummyFoo + parent:any ): void { parent.test(); diff --git a/example/src/style/screen.css b/example/src/style/screen.css index 59ef140..1b93f51 100644 --- a/example/src/style/screen.css +++ b/example/src/style/screen.css @@ -4,6 +4,7 @@ body { margin: 0; color: #6c757d; font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Helvetica Neue,Arial,sans-serif; + height: 100%; } h1,h2,h3,h4 { @@ -97,6 +98,14 @@ h1,h2,h3,h4 { position: relative; } +.progress { + position: absolute; + top: 0; + left: 0; + width: 0; + height: 100%; + background-color: blue; +} .site-header { position: fixed; @@ -128,6 +137,7 @@ h1,h2,h3,h4 { text-align: center; white-space: nowrap; color: #41a6ff; + border-bottom: 1px dotted white; } .dummy-foo-bg { @@ -139,7 +149,7 @@ h1,h2,h3,h4 { } .dummy-foo:nth-child(n+2) .dummy-foo-bg { - background-color: white; + /*background-color: white;*/ } /* Dummy Foo POPUP */ diff --git a/package.json b/package.json index 8e670d7..d327074 100644 --- a/package.json +++ b/package.json @@ -110,7 +110,7 @@ "lodash": "^4.17.5", "muban-core": "^1.8.3", "node-run-cmd": "^1.0.1", - "scroll-tracker-component-manager": "^1.1.1", + "scroll-tracker-component-manager": "^2.1.1", "seng-disposable": "^1.1.3", "seng-event": "^1.2.3", "transition-controller": "^1.2.6" diff --git a/src/lib/interface/IMubanTransitionMixin.ts b/src/lib/interface/IMubanTransitionMixin.ts index d9beaa0..e5e8da3 100644 --- a/src/lib/interface/IMubanTransitionMixin.ts +++ b/src/lib/interface/IMubanTransitionMixin.ts @@ -31,6 +31,13 @@ export interface IMubanTransitionMixin extends IMubanTransitionCoreMixin { * it's not transitioned in it will still try to transitionIn */ beyondView(): void; + /** + * @public + * @method inViewProgress + * @description triggered every time the scroll-position changes and your component is within the viewport. This method will have the parameter progress which is a number between 0-1. + */ + inViewProgress(progress: number): void; + /** * Calling transition in will trigger transitionIn on your transition controller and * start the desired timeline. @@ -75,4 +82,19 @@ export interface IMubanTransitionMixin extends IMubanTransitionCoreMixin { * Setting this number to for example 0.5 will trigger the enterView method when the component is already visible for 50% within your viewport. */ enterViewThreshold: number; + + /** + * @description: same as enterViewThreshold but then used as an offset from when your inViewProgress will start + */ + inViewProgressThreshold: number; + + /** + * @description: PropertyName of the component that should is by default set to false. Will be set to value if it has passed the viewport once already + */ + hasEntered: boolean; + + /** + * @description: PropertyName of the component where we will store the progress of its visibility + */ + currentViewProgress: number; } diff --git a/src/lib/mixin/MubanTransitionMixin.ts b/src/lib/mixin/MubanTransitionMixin.ts index d323c81..2c53692 100644 --- a/src/lib/mixin/MubanTransitionMixin.ts +++ b/src/lib/mixin/MubanTransitionMixin.ts @@ -9,7 +9,9 @@ function mubanTransitionMixin; public enterViewThreshold: number = 0.25; + public inViewProgressThreshold: number = 0; public hasEntered: boolean = false; + public currentViewProgress: number = 0; constructor(...args: any[]) { super(...args); @@ -24,6 +26,9 @@ function mubanTransitionMixin = new ScrollTrackerComponentManager({ - config: { - setDebugLabel: true, - debugBorderColor: 'red', - resizeDebounce: 100, - } + setDebugLabel: true, + debugBorderColor: 'red', + + inViewProgressEnabled: true, + + scrollThrottle: 100, + resizeDebounce: 100, + + enableSmoothScroll: true, + smoothScrollOptions: { + damping: 0.1, + alwaysShowTracks: false, + }, }); constructor(element: HTMLElement) { diff --git a/yarn.lock b/yarn.lock index 0857926..f82eb8f 100644 --- a/yarn.lock +++ b/yarn.lock @@ -566,6 +566,12 @@ core-js "^2.5.3" regenerator-runtime "^0.11.1" +"@babel/runtime@^7.3.1": + version "7.3.1" + resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.3.1.tgz#574b03e8e8a9898eaf4a872a92ea20b7846f6f2a" + dependencies: + regenerator-runtime "^0.12.0" + "@babel/template@7.0.0-beta.44": version "7.0.0-beta.44" resolved "https://registry.yarnpkg.com/@babel/template/-/template-7.0.0-beta.44.tgz#f8832f4fdcee5d59bf515e595fc5106c529b394f" @@ -1400,6 +1406,10 @@ core-js@^2.4.0, core-js@^2.5.3: version "2.5.5" resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.5.5.tgz#b14dde936c640c0579a6b50cabcc132dd6127e3b" +core-js@^2.5.1: + version "2.6.5" + resolved "https://registry.yarnpkg.com/core-js/-/core-js-2.6.5.tgz#44bc8d249e7fb2ff5d00e0341a7ffb94fbf67895" + core-util-is@1.0.2, core-util-is@~1.0.0: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -3166,6 +3176,10 @@ locate-path@^2.0.0: p-locate "^2.0.0" path-exists "^3.0.0" +lodash-es@^4.17.4: + version "4.17.11" + resolved "https://registry.yarnpkg.com/lodash-es/-/lodash-es-4.17.11.tgz#145ab4a7ac5c5e52a3531fb4f310255a152b4be0" + lodash.get@^4.4.2: version "4.4.2" resolved "https://registry.yarnpkg.com/lodash.get/-/lodash.get-4.4.2.tgz#2d177f652fa31e939b4438d5341499dfa3825e99" @@ -4001,6 +4015,10 @@ regenerator-runtime@^0.11.0, regenerator-runtime@^0.11.1: version "0.11.1" resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.11.1.tgz#be05ad7f9bf7d22e056f9726cee5017fbf19e2e9" +regenerator-runtime@^0.12.0: + version "0.12.1" + resolved "https://registry.yarnpkg.com/regenerator-runtime/-/regenerator-runtime-0.12.1.tgz#fa1a71544764c036f8c49b13a08b2594c9f8a0de" + regenerator-transform@^0.12.3: version "0.12.3" resolved "https://registry.yarnpkg.com/regenerator-transform/-/regenerator-transform-0.12.3.tgz#459adfb64f6a27164ab991b7873f45ab969eca8b" @@ -4267,13 +4285,15 @@ sax@^1.2.4: version "1.2.4" resolved "https://registry.yarnpkg.com/sax/-/sax-1.2.4.tgz#2816234e2378bddc4e5354fab5caa895df7100d9" -scroll-tracker-component-manager@^1.1.1: - version "1.1.1" - resolved "https://registry.yarnpkg.com/scroll-tracker-component-manager/-/scroll-tracker-component-manager-1.1.1.tgz#0e7e56163bcd1b048e98907017164b4fec6886ab" +scroll-tracker-component-manager@^2.1.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/scroll-tracker-component-manager/-/scroll-tracker-component-manager-2.1.1.tgz#3f5acaed0eeb9bc3eae9386eb3a7fc9685863654" dependencies: - "@babel/runtime" "^7.0.0-beta.35" + "@babel/runtime" "^7.3.1" + element-size "^1.1.1" lodash "^4.17.10" - seng-scroll-tracker "^1.2.2" + seng-scroll-tracker "^1.2.7" + smooth-scrollbar "^8.3.1" "semver@2 || 3 || 4 || 5", semver@^5.3.0, semver@^5.4.1: version "5.5.0" @@ -4292,9 +4312,9 @@ seng-event@^1.2.3: seng-disposable "^1.1.3" tslib "^1.2.0" -seng-scroll-tracker@^1.2.2: - version "1.2.2" - resolved "https://registry.yarnpkg.com/seng-scroll-tracker/-/seng-scroll-tracker-1.2.2.tgz#2c1f8c16e0a711f49d924d5d12b9fb54735d60f3" +seng-scroll-tracker@^1.2.7: + version "1.2.7" + resolved "https://registry.yarnpkg.com/seng-scroll-tracker/-/seng-scroll-tracker-1.2.7.tgz#cb092532edf372bba42dc52f25363a55b7146257" dependencies: element-size "^1.1.1" lodash "^4.17.4" @@ -4400,6 +4420,14 @@ slide@^1.1.5: version "1.1.6" resolved "https://registry.yarnpkg.com/slide/-/slide-1.1.6.tgz#56eb027d65b4d2dce6cb2e2d32c4d4afc9e1d707" +smooth-scrollbar@^8.3.1: + version "8.3.1" + resolved "https://registry.yarnpkg.com/smooth-scrollbar/-/smooth-scrollbar-8.3.1.tgz#1db5458bb874a600c88b67c44b550737c6f9dbf4" + dependencies: + core-js "^2.5.1" + lodash-es "^4.17.4" + tslib "^1.7.1" + snapdragon-node@^2.0.1: version "2.1.1" resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" From f65d67f5e6b6e52ad1edaacf5ca59d9993163b32 Mon Sep 17 00:00:00 2001 From: riccoarntz Date: Fri, 22 Feb 2019 15:30:40 +0100 Subject: [PATCH 2/6] change package-version to beta. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index d327074..292a1fc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "muban-transition-component", - "version": "3.0.3", + "version": "4.0.0-beta.1", "description": "Javascript transitions for Muban components", "main": "./index.js", "types": "./index.d.ts", From 79921aa0afa4edf0574126201fa5cf1f8dc1ba7c Mon Sep 17 00:00:00 2001 From: riccoarntz Date: Fri, 22 Feb 2019 15:34:01 +0100 Subject: [PATCH 3/6] cover 100% of test functions. --- example/bundle.js | 59 ++++++++++++++++++------------- test/MubanTransitionMixin.spec.ts | 8 +++++ 2 files changed, 42 insertions(+), 25 deletions(-) diff --git a/example/bundle.js b/example/bundle.js index ee4f041..62fa1a3 100644 --- a/example/bundle.js +++ b/example/bundle.js @@ -1,4 +1,4 @@ -!function(t){var e={};function i(n){if(e[n])return e[n].exports;var r=e[n]={i:n,l:!1,exports:{}};return t[n].call(r.exports,r,r.exports,i),r.l=!0,r.exports}i.m=t,i.c=e,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:n})},i.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},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=87)}([function(t,e,i){"use strict";(function(t,n){i.d(e,"k",function(){return r}),i.d(e,"l",function(){return o}),i.d(e,"i",function(){return a}),i.d(e,"a",function(){return l}),i.d(e,"b",function(){return u}),i.d(e,"c",function(){return c}),i.d(e,"d",function(){return h}),i.d(e,"e",function(){return f}),i.d(e,"f",function(){return p}),i.d(e,"g",function(){return d}),i.d(e,"h",function(){return _}),i.d(e,"j",function(){return m}); +!function(t){var e={};function n(i){if(e[i])return e[i].exports;var r=e[i]={i:i,l:!1,exports:{}};return t[i].call(r.exports,r,r.exports,n),r.l=!0,r.exports}n.m=t,n.c=e,n.d=function(t,e,i){n.o(t,e)||Object.defineProperty(t,e,{configurable:!1,enumerable:!0,get:i})},n.r=function(t){Object.defineProperty(t,"__esModule",{value:!0})},n.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s=149)}([function(t,e,n){"use strict";(function(t,i){n.d(e,"k",function(){return r}),n.d(e,"l",function(){return o}),n.d(e,"i",function(){return a}),n.d(e,"a",function(){return l}),n.d(e,"b",function(){return u}),n.d(e,"c",function(){return c}),n.d(e,"d",function(){return h}),n.d(e,"e",function(){return f}),n.d(e,"f",function(){return p}),n.d(e,"g",function(){return d}),n.d(e,"h",function(){return _}),n.d(e,"j",function(){return m}); /*! * VERSION: 2.0.1 * DATE: 2018-05-30 @@ -10,7 +10,22 @@ * * @author: Jack Doyle, jack@greensock.com */ -const r="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==n?n:{},o=function(t,e){var i={},n=t.document,r=t.GreenSockGlobals=t.GreenSockGlobals||t;if(r.TweenLite)return r.TweenLite;var o,s,a,l,u,c,h,f=function(t){var e,i=t.split("."),n=r;for(e=0;e-1;)(l=v[e[p]]||new g(e[p],[])).gsClass?(s[p]=l.gsClass,d--):a&&l.sc.push(this);if(0===d&&n)for(c=(u=("com.greensock."+t).split(".")).pop(),h=f(u.join("."))[c]=this.gsClass=n.apply(n,s),o&&(r[c]=i[c]=h),p=0;p-1;)for(o=l[u],r=n?b("easing."+o,null,!0):p.easing[o]||{},s=c.length;--s>-1;)a=c[s],w[o+"."+a]=w[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((a=x.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,n=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===i?n*=n:2===i?n*=n*n:3===i?n*=n*n*n:4===i&&(n*=n*n*n*n),1===e?1-n:2===e?n:t<.5?n/2:1-n/2},s=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--s>-1;)a=o[s]+",Power"+s,P(new x(null,null,1,s),a,"easeOut",!0),P(new x(null,null,2,s),a,"easeIn"+(0===s?",easeNone":"")),P(new x(null,null,3,s),a,"easeInOut");w.linear=p.easing.Linear.easeIn,w.swing=p.easing.Quad.easeInOut;var O=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(a=O.prototype).addEventListener=function(t,e,i,n,r){r=r||0;var o,s,a=this._listeners[t],c=0;for(this!==l||u||l.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;--s>-1;)(o=a[s]).c===e&&o.s===i?a.splice(s,1):0===c&&o.pr-1;)if(n[i].c===e)return void n.splice(i,1)},a.dispatchEvent=function(t){var e,i,n,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),i=this._eventTarget;--e>-1;)(n=r[e])&&(n.up?n.c.call(n.s||i,{type:t,target:i}):n.c.call(n.s||i))};var E=t.requestAnimationFrame,S=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},C=k();for(s=(o=["ms","moz","webkit","o"]).length;--s>-1&&!E;)E=t[o[s]+"RequestAnimationFrame"],S=t[o[s]+"CancelAnimationFrame"]||t[o[s]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var i,r,o,s,a,c=this,h=k(),f=!(!1===e||!E)&&"auto",p=500,d=33,m=function(t){var e,n,l=k()-C;l>p&&(h+=l-d),C+=l,c.time=(C-h)/1e3,e=c.time-a,(!i||e>0||!0===t)&&(c.frame++,a+=e+(e>=s?.004:s-e),n=!0),!0!==t&&(o=r(m)),n&&c.dispatchEvent("tick")};O.call(c),c.time=c.frame=0,c.tick=function(){m(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return p<1e10;p=t||1e10,d=Math.min(e,p,0)},c.sleep=function(){null!=o&&(f&&S?S(o):clearTimeout(o),r=_,o=null,c===l&&(u=!1))},c.wake=function(t){null!==o?c.sleep():t?h+=-C+(C=k()):c.frame>10&&(C=k()-p+5),r=0===i?_:f&&E?E:function(t){return setTimeout(t,1e3*(a-c.time)+1|0)},c===l&&(u=!0),m(2)},c.fps=function(t){if(!arguments.length)return i;s=1/((i=t)||60),a=this.time+s,c.wake()},c.useRAF=function(t){if(!arguments.length)return f;c.sleep(),f=t,c.fps(i)},c.fps(t),setTimeout(function(){"auto"===f&&c.frame<5&&"hidden"!==(n||{}).visibilityState&&c.useRAF(!1)},1500)}),(a=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var A=b("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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,$){u||l.wake();var i=this.vars.useFrames?G:$;i.add(this,i._time),this.vars.paused&&this.paused(!0)}});l=A.ticker=new p.Ticker,(a=A.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 R=function(){u&&k()-C>2e3&&("hidden"!==(n||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(R,2e3);t.unref&&t.unref()};R(),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-1;)"{self}"===t[e]&&(i[e]=this);return i},a._callback=function(t){var e=this.vars,i=e[t],n=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(n?n.length:0){case 0:i.call(r);break;case 1:i.call(r,n[0]);break;case 2:i.call(r,n[0],n[1]);break;default:i.apply(r,n)}},a.eventCallback=function(t,e,i,n){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"]=m(i)&&-1!==i.join("").indexOf("{self}")?this._swapSelfInParams(i):i,r[t+"Scope"]=n),"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._timethis._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,i){if(u||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!i&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var n=this._totalDuration,r=this._timeline;if(t>n&&!i&&(t=n),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?n-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||(L.length&&Q(),this.render(t,e,!1),L.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-10,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,n=this._timeline;return t!=this._paused&&n&&(u||t||l.wake(),i=(e=n.rawTime())-this._pauseTime,!t&&n.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=n.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var j=b("core.SimpleTimeline",function(t){A.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(a=j.prototype=new A).constructor=j,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,i,n){var r,o;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(o=t._startTime;r&&r._startTime>o;)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 n,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)n=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=n},a.rawTime=function(){return u||l.wake(),this._totalTime};var I=b("TweenLite",function(e,i,n){if(A.call(this,i,n),this.render=I.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:I.selector(e)||e;var r,o,s,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?q[I.defaultOverwrite]:"number"==typeof l?l>>0:q[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=s=d(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(o,this,null,1,this._siblings[r])):"string"==typeof(o=s[r--]=I.selector(o))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=J(e,this,!1),1===l&&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-10,this.render(Math.min(0,-this._delay)))},!0),M=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(a=I.prototype=new A).constructor=I,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,I.version="2.0.1",I.defaultEase=a._ease=new x(null,null,1,1),I.defaultOverwrite="auto",I.ticker=l,I.autoSleep=120,I.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},I.selector=t.$||t.jQuery||function(e){var i=t.$||t.jQuery;return i?(I.selector=i,i(e)):(n||(n=t.document),n?n.querySelectorAll?n.querySelectorAll(e):n.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var L=[],D={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,F=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},B=function(t,e,i,n){var r,o,s,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",i&&(i(h),t=h[0],e=h[1]),h.length=0,r=t.match(N)||[],o=e.match(N)||[],n&&(n._next=null,n.blob=1,h._firstPT=h._applyPT=n),l=o.length,a=0;a-1;)(t=L[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};$._startTime=l.time,G._startTime=l.frame,$._active=G._active=!0,setTimeout(Q,1),A._updateRoot=I.render=function(){var t,e,i;if(L.length&&Q(),$.render((l.time-$._startTime)*$._timeScale,!1,!1),G.render((l.frame-G._startTime)*G._timeScale,!1,!1),L.length&&Q(),l.frame>=Z){for(i in Z=l.frame+(parseInt(I.autoSleep,10)||120),Y){for(t=(e=Y[i].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete Y[i]}if((!(i=$._first)||i._paused)&&I.autoSleep&&!G._first&&1===l._listeners.tick.length){for(;i&&i._paused;)i=i._next;i||l.sleep()}}},l.addEventListener("tick",A._updateRoot);var J=function(t,e,i){var n,r,o=t._gsTweenID;if(Y[o||(t._gsTweenID=o="t"+H++)]||(Y[o]={target:t,tweens:[]}),e&&((n=Y[o].tweens)[r=n.length]=e,i))for(;--r>-1;)n[r]===e&&n.splice(r,1);return Y[o].tweens},K=function(t,e,i,n){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,i,n)),(s=I.onOverwrite)&&(o=s(t,e,i,n)),!1!==r&&!1!==o},tt=function(t,e,i,n,r){var o,s,a,l;if(1===n||n>=4){for(l=r.length,o=0;o-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||et(e,0,p),0===et(a,u,p)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(h[f++]=a)));for(o=f;--o>-1;)if(a=h[o],2===n&&a._kill(i,t,e)&&(s=!0),2!==n||!a._firstPT&&a._initted){if(2!==n&&!K(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},et=function(t,e,i){for(var n=t._timeline,r=n._timeScale,o=t._startTime;n._timeline;){if(o+=n._startTime,r*=n._timeScale,n._paused)return-100;n=n._timeline}return(o/=r)>e?o-e:i&&o===e||!t._initted&&o-e<2e-10?1e-10:(o+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:o-e-1e-10};a._init=function(){var t,e,i,n,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,c=s.ease;if(s.startAt){for(n in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},s.startAt)r[n]=s.startAt[n];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=I.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(n in 0!==this._time&&(u=!1),i={},s)W[n]&&"autoCSS"!==n||(i[n]=s[n]);if(i.overwrite=0,i.data="isFromStart",i.lazy=u&&!1!==s.lazy,i.immediateRender=u,this._startAt=I.to(this.target,0,i),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,s.easeParams):w[c]||I.defaultEase:I.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t-1;)i[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else i[s]=V.call(this,e,s,"get",h,s,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,i,n,r,o):this._overwrite>1&&this._firstPT&&n.length>1&&tt(e,this,i,this._overwrite,n)?(this._kill(i,e),this._initProps(e,i,n,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(D[e._gsTweenID]=!0),l)},a.render=function(t,e,i){var n,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(n=!0,r="onComplete",i=i||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-7||1e-10===u&&"isPause"!==this.data)&&u!==t&&(i=!0,u>1e-10&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",n=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||i)&&(u>=0&&(1e-10!==u||"isPause"!==this.data)&&(i=!0),this._rawPrevTime=s=!e||t||u===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(i=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,f=this._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||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=a,this._rawPrevTime=u,L.push(this),void(this._lazy=[t,e]);this._time&&!n?this.ratio=this._ease.getRatio(this._time/l):n&&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!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,i):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||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&&-1e-4!==t&&this._startAt.render(t,!0,i),e||(this._time!==a||n||i)&&this._callback("onUpdate")),r&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,i),n&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-10===this._rawPrevTime&&1e-10!==s&&(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:I.selector(e)||e;var n,r,o,s,a,l,u,c,h,f=i&&this._time&&i._startTime===this._startTime&&this._timeline===i._timeline;if((m(e)||M(e))&&"number"!=typeof e[0])for(n=e.length;--n>-1;)this._kill(t,e[n],i)&&(l=!0);else{if(this._targets){for(n=this._targets.length;--n>-1;)if(e===this._targets[n]){a=this._propLookup[n]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[n]=t?this._overwrittenProps[n]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),i&&(I.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!K(this,i,e,h))return!1}for(o in u)(s=a[o])&&(f&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},a.invalidate=function(){return this._notifyPluginsOfEnabled&&I._onPluginEvent("_onDisable",this),this._firstPT=this._overwrittenProps=this._startAt=this._onUpdate=null,this._notifyPluginsOfEnabled=this._active=this._lazy=!1,this._propLookup=this._targets?{}:[],A.prototype.invalidate.call(this),this.vars.immediateRender&&(this._time=-1e-10,this.render(Math.min(0,-this._delay))),this},a._enabled=function(t,e){if(u||l.wake(),t&&this._gc){var i,n=this._targets;if(n)for(i=n.length;--i>-1;)this._siblings[i]=J(n[i],this,!0);else this._siblings=J(this.target,this,!0)}return A.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&I._onPluginEvent(t?"_onEnable":"_onDisable",this)},I.to=function(t,e,i){return new I(t,e,i)},I.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new I(t,e,i)},I.fromTo=function(t,e,i,n){return n.startAt=i,n.immediateRender=0!=n.immediateRender&&0!=i.immediateRender,new I(t,e,n)},I.delayedCall=function(t,e,i,n,r){return new I(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:n,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},I.set=function(t,e){return new I(t,0,e)},I.getTweensOf=function(t,e){if(null==t)return[];var i,n,r,o;if(t="string"!=typeof t?t:I.selector(t)||t,(m(t)||M(t))&&"number"!=typeof t[0]){for(i=t.length,n=[];--i>-1;)n=n.concat(I.getTweensOf(t[i],e));for(i=n.length;--i>-1;)for(o=n[i],r=i;--r>-1;)o===n[r]&&n.splice(i,1)}else if(t._gsTweenID)for(i=(n=J(t).concat()).length;--i>-1;)(n[i]._gc||e&&!n[i].isActive())&&n.splice(i,1);return n||[]},I.killTweensOf=I.killDelayedCallsTo=function(t,e,i){"object"==typeof e&&(i=e,e=!1);for(var n=I.getTweensOf(t,e),r=n.length;--r>-1;)n[r]._kill(i,t)};var it=b("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=V,a.setRatio=F,a._kill=function(t){var e,i=this._overwriteProps,n=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(;n;)null!=t[n.n]&&(n._next&&(n._next._prev=n._prev),n._prev?(n._prev._next=n._next,n._prev=null):this._firstPT===n&&(this._firstPT=n._next)),n=n._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},I._onPluginEvent=function(t,e){var i,n,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,n=r;n&&n.pr>a.pr;)n=n._next;(a._prev=n?n._prev:o)?a._prev._next=a:r=a,(a._next=n)?n._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(i=!0),a=a._next;return i},it.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===it.API&&(U[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,i=t.propName,n=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=b("plugins."+i.charAt(0).toUpperCase()+i.substr(1)+"Plugin",function(){it.call(this,i,n),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new it(i);for(e in a.constructor=s,s.API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,it.activate([s]),s},o=t._gsQueue){for(s=0;s-1;)(l=v[e[p]]||new g(e[p],[])).gsClass?(s[p]=l.gsClass,d--):a&&l.sc.push(this);if(0===d&&i)for(c=(u=("com.greensock."+t).split(".")).pop(),h=f(u.join("."))[c]=this.gsClass=i.apply(i,s),o&&(r[c]=n[c]=h),p=0;p-1;)for(o=l[u],r=i?b("easing."+o,null,!0):p.easing[o]||{},s=c.length;--s>-1;)a=c[s],w[o+"."+a]=w[a+o]=r[a]=t.getRatio?t:t[a]||new t};for((a=x.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,n=this._power,i=1===e?1-t:2===e?t:t<.5?2*t:2*(1-t);return 1===n?i*=i:2===n?i*=i*i:3===n?i*=i*i*i:4===n&&(i*=i*i*i*i),1===e?1-i:2===e?i:t<.5?i/2:1-i/2},s=(o=["Linear","Quad","Cubic","Quart","Quint,Strong"]).length;--s>-1;)a=o[s]+",Power"+s,P(new x(null,null,1,s),a,"easeOut",!0),P(new x(null,null,2,s),a,"easeIn"+(0===s?",easeNone":"")),P(new x(null,null,3,s),a,"easeInOut");w.linear=p.easing.Linear.easeIn,w.swing=p.easing.Quad.easeInOut;var O=b("events.EventDispatcher",function(t){this._listeners={},this._eventTarget=t||this});(a=O.prototype).addEventListener=function(t,e,n,i,r){r=r||0;var o,s,a=this._listeners[t],c=0;for(this!==l||u||l.wake(),null==a&&(this._listeners[t]=a=[]),s=a.length;--s>-1;)(o=a[s]).c===e&&o.s===n?a.splice(s,1):0===c&&o.pr-1;)if(i[n].c===e)return void i.splice(n,1)},a.dispatchEvent=function(t){var e,n,i,r=this._listeners[t];if(r)for((e=r.length)>1&&(r=r.slice(0)),n=this._eventTarget;--e>-1;)(i=r[e])&&(i.up?i.c.call(i.s||n,{type:t,target:n}):i.c.call(i.s||n))};var S=t.requestAnimationFrame,E=t.cancelAnimationFrame,k=Date.now||function(){return(new Date).getTime()},A=k();for(s=(o=["ms","moz","webkit","o"]).length;--s>-1&&!S;)S=t[o[s]+"RequestAnimationFrame"],E=t[o[s]+"CancelAnimationFrame"]||t[o[s]+"CancelRequestAnimationFrame"];b("Ticker",function(t,e){var n,r,o,s,a,c=this,h=k(),f=!(!1===e||!S)&&"auto",p=500,d=33,m=function(t){var e,i,l=k()-A;l>p&&(h+=l-d),A+=l,c.time=(A-h)/1e3,e=c.time-a,(!n||e>0||!0===t)&&(c.frame++,a+=e+(e>=s?.004:s-e),i=!0),!0!==t&&(o=r(m)),i&&c.dispatchEvent("tick")};O.call(c),c.time=c.frame=0,c.tick=function(){m(!0)},c.lagSmoothing=function(t,e){if(!arguments.length)return p<1e10;p=t||1e10,d=Math.min(e,p,0)},c.sleep=function(){null!=o&&(f&&E?E(o):clearTimeout(o),r=_,o=null,c===l&&(u=!1))},c.wake=function(t){null!==o?c.sleep():t?h+=-A+(A=k()):c.frame>10&&(A=k()-p+5),r=0===n?_:f&&S?S:function(t){return setTimeout(t,1e3*(a-c.time)+1|0)},c===l&&(u=!0),m(2)},c.fps=function(t){if(!arguments.length)return n;s=1/((n=t)||60),a=this.time+s,c.wake()},c.useRAF=function(t){if(!arguments.length)return f;c.sleep(),f=t,c.fps(n)},c.fps(t),setTimeout(function(){"auto"===f&&c.frame<5&&"hidden"!==(i||{}).visibilityState&&c.useRAF(!1)},1500)}),(a=p.Ticker.prototype=new p.events.EventDispatcher).constructor=p.Ticker;var C=b("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=!0===e.immediateRender,this.data=e.data,this._reversed=!0===e.reversed,$){u||l.wake();var n=this.vars.useFrames?q:$;n.add(this,n._time),this.vars.paused&&this.paused(!0)}});l=C.ticker=new p.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 R=function(){u&&k()-A>2e3&&("hidden"!==(i||{}).visibilityState||!l.lagSmoothing())&&l.wake();var t=setTimeout(R,2e3);t.unref&&t.unref()};R(),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,n){},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,n=this._startTime;return!e||!this._gc&&!this._paused&&e.isActive()&&(t=e.rawTime(!0))>=n&&t-1;)"{self}"===t[e]&&(n[e]=this);return n},a._callback=function(t){var e=this.vars,n=e[t],i=e[t+"Params"],r=e[t+"Scope"]||e.callbackScope||this;switch(i?i.length:0){case 0:n.call(r);break;case 1:n.call(r,i[0]);break;case 2:n.call(r,i[0],i[1]);break;default:n.apply(r,i)}},a.eventCallback=function(t,e,n,i){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"]=m(n)&&-1!==n.join("").indexOf("{self}")?this._swapSelfInParams(n):n,r[t+"Scope"]=i),"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._timethis._duration?this._duration:t,e)):this._time},a.totalTime=function(t,e,n){if(u||l.wake(),!arguments.length)return this._totalTime;if(this._timeline){if(t<0&&!n&&(t+=this.totalDuration()),this._timeline.smoothChildTiming){this._dirty&&this.totalDuration();var i=this._totalDuration,r=this._timeline;if(t>i&&!n&&(t=i),this._startTime=(this._paused?this._pauseTime:r._time)-(this._reversed?i-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||(L.length&&Q(),this.render(t,e,!1),L.length&&Q())}return this},a.progress=a.totalProgress=function(t,e){var n=this.duration();return arguments.length?this.totalTime(n*t,e):n?this._time/n: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,n;for(t=t||1e-10,this._timeline&&this._timeline.smoothChildTiming&&(n=(e=this._pauseTime)||0===e?e:this._timeline.totalTime(),this._startTime=n-(n-this._startTime)*this._timeScale/t),this._timeScale=t,n=this.timeline;n&&n.timeline;)n._dirty=!0,n.totalDuration(),n=n.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,n,i=this._timeline;return t!=this._paused&&i&&(u||t||l.wake(),n=(e=i.rawTime())-this._pauseTime,!t&&i.smoothChildTiming&&(this._startTime+=n,this._uncache(!1)),this._pauseTime=t?e:null,this._paused=t,this._active=this.isActive(),!t&&0!==n&&this._initted&&this.duration()&&(e=i.smoothChildTiming?this._totalTime:(e-this._startTime)/this._timeScale,this.render(e,e===this._totalTime,!0))),this._gc&&!t&&this._enabled(!0,!1),this};var j=b("core.SimpleTimeline",function(t){C.call(this,0,t),this.autoRemoveChildren=this.smoothChildTiming=!0});(a=j.prototype=new C).constructor=j,a.kill()._gc=!1,a._first=a._last=a._recent=null,a._sortChildren=!1,a.add=a.insert=function(t,e,n,i){var r,o;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(o=t._startTime;r&&r._startTime>o;)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,n){var i,r=this._first;for(this._totalTime=this._time=this._rawPrevTime=t;r;)i=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,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=i},a.rawTime=function(){return u||l.wake(),this._totalTime};var M=b("TweenLite",function(e,n,i){if(C.call(this,n,i),this.render=M.prototype.render,null==e)throw"Cannot tween a null target.";this.target=e="string"!=typeof e?e:M.selector(e)||e;var r,o,s,a=e.jquery||e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType),l=this.vars.overwrite;if(this._overwrite=l=null==l?G[M.defaultOverwrite]:"number"==typeof l?l>>0:G[l],(a||e instanceof Array||e.push&&m(e))&&"number"!=typeof e[0])for(this._targets=s=d(e),this._propLookup=[],this._siblings=[],r=0;r1&&tt(o,this,null,1,this._siblings[r])):"string"==typeof(o=s[r--]=M.selector(o))&&s.splice(r+1,1):s.splice(r--,1);else this._propLookup={},this._siblings=K(e,this,!1),1===l&&this._siblings.length>1&&tt(e,this,null,1,this._siblings);(this.vars.immediateRender||0===n&&0===this._delay&&!1!==this.vars.immediateRender)&&(this._time=-1e-10,this.render(Math.min(0,-this._delay)))},!0),I=function(e){return e&&e.length&&e!==t&&e[0]&&(e[0]===t||e[0].nodeType&&e[0].style&&!e.nodeType)};(a=M.prototype=new C).constructor=M,a.kill()._gc=!1,a.ratio=0,a._firstPT=a._targets=a._overwrittenProps=a._startAt=null,a._notifyPluginsOfEnabled=a._lazy=!1,M.version="2.0.1",M.defaultEase=a._ease=new x(null,null,1,1),M.defaultOverwrite="auto",M.ticker=l,M.autoSleep=120,M.lagSmoothing=function(t,e){l.lagSmoothing(t,e)},M.selector=t.$||t.jQuery||function(e){var n=t.$||t.jQuery;return n?(M.selector=n,n(e)):(i||(i=t.document),i?i.querySelectorAll?i.querySelectorAll(e):i.getElementById("#"===e.charAt(0)?e.substr(1):e):e)};var L=[],D={},N=/(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi,z=/[\+-]=-?[\.\d]/,F=function(t){for(var e,n=this._firstPT;n;)e=n.blob?1===t&&null!=this.end?this.end:t?this.join(""):this.start:n.c*t+n.s,n.m?e=n.m.call(this._tween,e,this._target||n.t,this._tween):e<1e-6&&e>-1e-6&&!n.blob&&(e=0),n.f?n.fp?n.t[n.p](n.fp,e):n.t[n.p](e):n.t[n.p]=e,n=n._next},V=function(t,e,n,i){var r,o,s,a,l,u,c,h=[],f=0,p="",d=0;for(h.start=t,h.end=e,t=h[0]=t+"",e=h[1]=e+"",n&&(n(h),t=h[0],e=h[1]),h.length=0,r=t.match(N)||[],o=e.match(N)||[],i&&(i._next=null,i.blob=1,h._firstPT=h._applyPT=i),l=o.length,a=0;a-1;)(t=L[e])&&!1!==t._lazy&&(t.render(t._lazy[0],t._lazy[1],!0),t._lazy=!1);L.length=0};$._startTime=l.time,q._startTime=l.frame,$._active=q._active=!0,setTimeout(Q,1),C._updateRoot=M.render=function(){var t,e,n;if(L.length&&Q(),$.render((l.time-$._startTime)*$._timeScale,!1,!1),q.render((l.frame-q._startTime)*q._timeScale,!1,!1),L.length&&Q(),l.frame>=Z){for(n in Z=l.frame+(parseInt(M.autoSleep,10)||120),U){for(t=(e=U[n].tweens).length;--t>-1;)e[t]._gc&&e.splice(t,1);0===e.length&&delete U[n]}if((!(n=$._first)||n._paused)&&M.autoSleep&&!q._first&&1===l._listeners.tick.length){for(;n&&n._paused;)n=n._next;n||l.sleep()}}},l.addEventListener("tick",C._updateRoot);var K=function(t,e,n){var i,r,o=t._gsTweenID;if(U[o||(t._gsTweenID=o="t"+Y++)]||(U[o]={target:t,tweens:[]}),e&&((i=U[o].tweens)[r=i.length]=e,n))for(;--r>-1;)i[r]===e&&i.splice(r,1);return U[o].tweens},J=function(t,e,n,i){var r,o,s=t.vars.onOverwrite;return s&&(r=s(t,e,n,i)),(s=M.onOverwrite)&&(o=s(t,e,n,i)),!1!==r&&!1!==o},tt=function(t,e,n,i,r){var o,s,a,l;if(1===i||i>=4){for(l=r.length,o=0;o-1;)(a=r[o])===e||a._gc||a._paused||(a._timeline!==e._timeline?(u=u||et(e,0,p),0===et(a,u,p)&&(h[f++]=a)):a._startTime<=c&&a._startTime+a.totalDuration()/a._timeScale>c&&((p||!a._initted)&&c-a._startTime<=2e-10||(h[f++]=a)));for(o=f;--o>-1;)if(a=h[o],2===i&&a._kill(n,t,e)&&(s=!0),2!==i||!a._firstPT&&a._initted){if(2!==i&&!J(a,e))continue;a._enabled(!1,!1)&&(s=!0)}return s},et=function(t,e,n){for(var i=t._timeline,r=i._timeScale,o=t._startTime;i._timeline;){if(o+=i._startTime,r*=i._timeScale,i._paused)return-100;i=i._timeline}return(o/=r)>e?o-e:n&&o===e||!t._initted&&o-e<2e-10?1e-10:(o+=t.totalDuration()/t._timeScale/r)>e+1e-10?0:o-e-1e-10};a._init=function(){var t,e,n,i,r,o,s=this.vars,a=this._overwrittenProps,l=this._duration,u=!!s.immediateRender,c=s.ease;if(s.startAt){for(i in this._startAt&&(this._startAt.render(-1,!0),this._startAt.kill()),r={},s.startAt)r[i]=s.startAt[i];if(r.data="isStart",r.overwrite=!1,r.immediateRender=!0,r.lazy=u&&!1!==s.lazy,r.startAt=r.delay=null,r.onUpdate=s.onUpdate,r.onUpdateParams=s.onUpdateParams,r.onUpdateScope=s.onUpdateScope||s.callbackScope||this,this._startAt=M.to(this.target||{},0,r),u)if(this._time>0)this._startAt=null;else if(0!==l)return}else if(s.runBackwards&&0!==l)if(this._startAt)this._startAt.render(-1,!0),this._startAt.kill(),this._startAt=null;else{for(i in 0!==this._time&&(u=!1),n={},s)W[i]&&"autoCSS"!==i||(n[i]=s[i]);if(n.overwrite=0,n.data="isFromStart",n.lazy=u&&!1!==s.lazy,n.immediateRender=u,this._startAt=M.to(this.target,0,n),u){if(0===this._time)return}else this._startAt._init(),this._startAt._enabled(!1),this.vars.immediateRender&&(this._startAt=null)}if(this._ease=c=c?c instanceof x?c:"function"==typeof c?new x(c,s.easeParams):w[c]||M.defaultEase:M.defaultEase,s.easeParams instanceof Array&&c.config&&(this._ease=c.config.apply(c,s.easeParams)),this._easeType=this._ease._type,this._easePower=this._ease._power,this._firstPT=null,this._targets)for(o=this._targets.length,t=0;t-1;)n[u._overwriteProps[a]]=this._firstPT;(u._priority||u._onInitAllProps)&&(l=!0),(u._onDisable||u._onEnable)&&(this._notifyPluginsOfEnabled=!0),c._next&&(c._next._prev=c)}else n[s]=B.call(this,e,s,"get",h,s,0,null,this.vars.stringFilter,o);return r&&this._kill(r,e)?this._initProps(e,n,i,r,o):this._overwrite>1&&this._firstPT&&i.length>1&&tt(e,this,n,this._overwrite,i)?(this._kill(n,e),this._initProps(e,n,i,r,o)):(this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration)&&(D[e._gsTweenID]=!0),l)},a.render=function(t,e,n){var i,r,o,s,a=this._time,l=this._duration,u=this._rawPrevTime;if(t>=l-1e-7&&t>=0)this._totalTime=this._time=l,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1,this._reversed||(i=!0,r="onComplete",n=n||this._timeline.autoRemoveChildren),0===l&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(u<0||t<=0&&t>=-1e-7||1e-10===u&&"isPause"!==this.data)&&u!==t&&(n=!0,u>1e-10&&(r="onReverseComplete")),this._rawPrevTime=s=!e||t||u===t?t:1e-10);else if(t<1e-7)this._totalTime=this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==a||0===l&&u>0)&&(r="onReverseComplete",i=this._reversed),t<0&&(this._active=!1,0===l&&(this._initted||!this.vars.lazy||n)&&(u>=0&&(1e-10!==u||"isPause"!==this.data)&&(n=!0),this._rawPrevTime=s=!e||t||u===t?t:1e-10)),(!this._initted||this._startAt&&this._startAt.progress())&&(n=!0);else if(this._totalTime=this._time=t,this._easeType){var c=t/l,h=this._easeType,f=this._easePower;(1===h||3===h&&c>=.5)&&(c=1-c),3===h&&(c*=2),1===f?c*=c:2===f?c*=c*c:3===f?c*=c*c*c:4===f&&(c*=c*c*c*c),this.ratio=1===h?1-c:2===h?c:t/l<.5?c/2:1-c/2}else this.ratio=this._ease.getRatio(t/l);if(this._time!==a||n){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=this._totalTime=a,this._rawPrevTime=u,L.push(this),void(this._lazy=[t,e]);this._time&&!i?this.ratio=this._ease.getRatio(this._time/l):i&&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!==a&&t>=0&&(this._active=!0),0===a&&(this._startAt&&(t>=0?this._startAt.render(t,!0,n):r||(r="_dummyGS")),this.vars.onStart&&(0===this._time&&0!==l||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&&-1e-4!==t&&this._startAt.render(t,!0,n),e||(this._time!==a||i||n)&&this._callback("onUpdate")),r&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&-1e-4!==t&&this._startAt.render(t,!0,n),i&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[r]&&this._callback(r),0===l&&1e-10===this._rawPrevTime&&1e-10!==s&&(this._rawPrevTime=0)))}},a._kill=function(t,e,n){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:M.selector(e)||e;var i,r,o,s,a,l,u,c,h,f=n&&this._time&&n._startTime===this._startTime&&this._timeline===n._timeline;if((m(e)||I(e))&&"number"!=typeof e[0])for(i=e.length;--i>-1;)this._kill(t,e[i],n)&&(l=!0);else{if(this._targets){for(i=this._targets.length;--i>-1;)if(e===this._targets[i]){a=this._propLookup[i]||{},this._overwrittenProps=this._overwrittenProps||[],r=this._overwrittenProps[i]=t?this._overwrittenProps[i]||{}:"all";break}}else{if(e!==this.target)return!1;a=this._propLookup,r=this._overwrittenProps=t?this._overwrittenProps||{}:"all"}if(a){if(u=t||a,c=t!==r&&"all"!==r&&t!==a&&("object"!=typeof t||!t._tempKill),n&&(M.onOverwrite||this.vars.onOverwrite)){for(o in u)a[o]&&(h||(h=[]),h.push(o));if((h||!t)&&!J(this,n,e,h))return!1}for(o in u)(s=a[o])&&(f&&(s.f?s.t[s.p](s.s):s.t[s.p]=s.s,l=!0),s.pg&&s.t._kill(u)&&(l=!0),s.pg&&0!==s.t._overwriteProps.length||(s._prev?s._prev._next=s._next:s===this._firstPT&&(this._firstPT=s._next),s._next&&(s._next._prev=s._prev),s._next=s._prev=null),delete a[o]),c&&(r[o]=1);!this._firstPT&&this._initted&&this._enabled(!1,!1)}}return l},a.invalidate=function(){return this._notifyPluginsOfEnabled&&M._onPluginEvent("_onDisable",this),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-10,this.render(Math.min(0,-this._delay))),this},a._enabled=function(t,e){if(u||l.wake(),t&&this._gc){var n,i=this._targets;if(i)for(n=i.length;--n>-1;)this._siblings[n]=K(i[n],this,!0);else this._siblings=K(this.target,this,!0)}return C.prototype._enabled.call(this,t,e),!(!this._notifyPluginsOfEnabled||!this._firstPT)&&M._onPluginEvent(t?"_onEnable":"_onDisable",this)},M.to=function(t,e,n){return new M(t,e,n)},M.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new M(t,e,n)},M.fromTo=function(t,e,n,i){return i.startAt=n,i.immediateRender=0!=i.immediateRender&&0!=n.immediateRender,new M(t,e,i)},M.delayedCall=function(t,e,n,i,r){return new M(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:i,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,lazy:!1,useFrames:r,overwrite:0})},M.set=function(t,e){return new M(t,0,e)},M.getTweensOf=function(t,e){if(null==t)return[];var n,i,r,o;if(t="string"!=typeof t?t:M.selector(t)||t,(m(t)||I(t))&&"number"!=typeof t[0]){for(n=t.length,i=[];--n>-1;)i=i.concat(M.getTweensOf(t[n],e));for(n=i.length;--n>-1;)for(o=i[n],r=n;--r>-1;)o===i[r]&&i.splice(n,1)}else if(t._gsTweenID)for(n=(i=K(t).concat()).length;--n>-1;)(i[n]._gc||e&&!i[n].isActive())&&i.splice(n,1);return i||[]},M.killTweensOf=M.killDelayedCallsTo=function(t,e,n){"object"==typeof e&&(n=e,e=!1);for(var i=M.getTweensOf(t,e),r=i.length;--r>-1;)i[r]._kill(n,t)};var nt=b("plugins.TweenPlugin",function(t,e){this._overwriteProps=(t||"").split(","),this._propName=this._overwriteProps[0],this._priority=e||0,this._super=nt.prototype},!0);if(a=nt.prototype,nt.version="1.19.0",nt.API=2,a._firstPT=null,a._addTween=B,a.setRatio=F,a._kill=function(t){var e,n=this._overwriteProps,i=this._firstPT;if(null!=t[this._propName])this._overwriteProps=[];else for(e=n.length;--e>-1;)null!=t[n[e]]&&n.splice(e,1);for(;i;)null!=t[i.n]&&(i._next&&(i._next._prev=i._prev),i._prev?(i._prev._next=i._next,i._prev=null):this._firstPT===i&&(this._firstPT=i._next)),i=i._next;return!1},a._mod=a._roundProps=function(t){for(var e,n=this._firstPT;n;)(e=t[this._propName]||null!=n.n&&t[n.n.split(this._propName+"_").join("")])&&"function"==typeof e&&(2===n.f?n.t._applyPT.m=e:n.m=e),n=n._next},M._onPluginEvent=function(t,e){var n,i,r,o,s,a=e._firstPT;if("_onInitAllProps"===t){for(;a;){for(s=a._next,i=r;i&&i.pr>a.pr;)i=i._next;(a._prev=i?i._prev:o)?a._prev._next=a:r=a,(a._next=i)?i._prev=a:o=a,a=s}a=e._firstPT=r}for(;a;)a.pg&&"function"==typeof a.t[t]&&a.t[t]()&&(n=!0),a=a._next;return n},nt.activate=function(t){for(var e=t.length;--e>-1;)t[e].API===nt.API&&(H[(new t[e])._propName]=t[e]);return!0},y.plugin=function(t){if(!(t&&t.propName&&t.init&&t.API))throw"illegal plugin definition.";var e,n=t.propName,i=t.priority||0,r=t.overwriteProps,o={init:"_onInitTween",set:"setRatio",kill:"_kill",round:"_mod",mod:"_mod",initAll:"_onInitAllProps"},s=b("plugins."+n.charAt(0).toUpperCase()+n.substr(1)+"Plugin",function(){nt.call(this,n,i),this._overwriteProps=r||[]},!0===t.global),a=s.prototype=new nt(n);for(e in a.constructor=s,s.API=t.API,o)"function"==typeof t[e]&&(a[o[e]]=t[e]);return s.version=t.version,nt.activate([s]),s},o=t._gsQueue){for(s=0;s=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,n,s):r(e,n))||s);return o>3&&s&&Object.defineProperty(e,n,s),s}function l(t,e){return function(n,i){e(n,i,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,n,i){return new(n||(n=Promise))(function(r,o){function s(t){try{l(i.next(t))}catch(t){o(t)}}function a(t){try{l(i.throw(t))}catch(t){o(t)}}function l(t){t.done?r(t.value):new n(function(e){e(t.value)}).then(s,a)}l((i=i.apply(t,e||[])).next())})}function h(t,e){var n,i,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(n)throw new TypeError("Generator is already executing.");for(;s;)try{if(n=1,i&&(r=i[2&o[0]?"return":o[0]?"throw":"next"])&&!(r=r.call(i,o[1])).done)return r;switch(i=0,r&&(o=[0,r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,i=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[n++],done:!t}}}}function d(t,e){var n="function"==typeof Symbol&&t[Symbol.iterator];if(!n)return t;var i,r,o=n.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(i=o.next()).done;)s.push(i.value)}catch(t){r={error:t}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(r)throw r.error}}return s}function _(){for(var t=[],e=0;e1||a(t,e)})})}function a(t,e){try{(n=r[t](e)).value instanceof m?Promise.resolve(n.value.v).then(l,u):c(o[0][2],n)}catch(t){c(o[0][3],t)}var n}function l(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function g(t){var e,n;return e={},i("next"),i("throw",function(t){throw t}),i("return"),e[Symbol.iterator]=function(){return this},e;function i(i,r){t[i]&&(e[i]=function(e){return(n=!n)?{value:m(t[i](e)),done:"return"===i}:r?r(e):e})}}function y(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator];return e?e.call(t):p(t)}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);return e.default=t,e}function x(t){return t&&t.__esModule?t:{default:t}}},function(t,e,n){"use strict";n.r(e);var i=n(0); /*! * VERSION: 2.0.1 * DATE: 2018-05-30 @@ -21,7 +36,7 @@ const r="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==n?n:{} * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - */n.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){n.i.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,i,r=this.vars;for(i in r)e=r[i],o(e)&&-1!==e.join("").indexOf("{self}")&&(r[i]=this._swapSelfInParams(e));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=n.l._internals,i=t._internals={},r=e.isSelector,o=e.isArray,s=e.lazyTweens,a=e.lazyRender,l=n.k._gsDefine.globals,u=function(t){var e,i={};for(e in t)i[e]=t[e];return i},c=function(t,e,i){var n,r,o=t.cycle;for(n in o)r=o[n],t[n]="function"==typeof r?r(i,e[i]):r[i%r.length];delete t.cycle},h=i.pauseCallback=function(){},f=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},p=t.prototype=new n.i;return t.version="2.0.1",p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,i,r){var o=i.repeat&&l.TweenMax||n.l;return e?this.add(new o(t,e,i),r):this.set(t,i,r)},p.from=function(t,e,i,r){return this.add((i.repeat&&l.TweenMax||n.l).from(t,e,i),r)},p.fromTo=function(t,e,i,r,o){var s=r.repeat&&l.TweenMax||n.l;return e?this.add(s.fromTo(t,e,i,r),o):this.set(t,r,o)},p.staggerTo=function(e,i,o,s,a,l,h,p){var d,_,m=new t({onComplete:l,onCompleteParams:h,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),v=o.cycle;for("string"==typeof e&&(e=n.l.selector(e)||e),r(e=e||[])&&(e=f(e)),(s=s||0)<0&&((e=f(e)).reverse(),s*=-1),_=0;_e._startTime;h._timeline;)f&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._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&&o(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.i.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,n){return this.add(t,e||0,i,n)},p.appendMultiple=function(t,e,i,n){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),i,n)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,i,r){var o=n.l.delayedCall(0,h,i,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,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,r){var s,a;if(r instanceof n.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(a=r.length;--a>-1;)r[a]instanceof n.a&&r[a].timeline===this&&this.remove(r[a]);if(s="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-s:0,i);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=s);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?i?this._labels[t]=s+e:e:this._labels[t]+e;e=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,i):s}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 n,r,o,l,u,c,h,f=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._startTime,_=this._timeScale,m=this._paused;if(f!==this._time&&(t+=this._time-f),t>=p-1e-7&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(u=!0,this._rawPrevTime>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=p+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&r)for(n=this._first;n&&0===n._startTime;)n._duration||(r=!1),n=n._next;t=0,this._initted||(u=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)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&&(this._time=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||i||u||c){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")),(h=this._time)>=f)for(n=this._first;n&&(o=n._next,h===this._time&&(!this._paused||m));)(n._active||n._startTime<=h&&!n._paused&&!n._gc)&&(c===n&&this.pause(),n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)),n=o;else for(n=this._last;n&&(o=n._prev,h===this._time&&(!this._paused||m));){if(n._active||n._startTime<=f&&!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,i),c=c._prev;c=null,this.pause()}n._reversed?n.render((n._dirty?n.totalDuration():n._totalDuration)-(t-n._startTime)*n._timeScale,e,i):n.render((t-n._startTime)*n._timeScale,e,i)}n=o}this._onUpdate&&(e||(s.length&&a(),this._callback("onUpdate"))),l&&(this._gc||d!==this._startTime&&_===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(s.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},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,r){r=r||-9999999999;for(var o=[],s=this._first,a=0;s;)s._startTime-1;)(i[r].timeline===this||e&&this._contains(i[r]))&&(s[a++]=i[r]);return o&&this._enabled(!1,!0),s},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 n,r=this._first,o=this._labels;r;)r._startTime>=i&&(r._startTime+=t),r=r._next;if(e)for(n in o)o[n]>=i&&(o[n]+=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),n=i.length,r=!1;--n>-1;)i[n]._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.i.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,i){this._forcingPlayhead=!0;var r=n.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},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,n=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):o=r._startTime,r._startTime<0&&!r._paused&&(n-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),(i=r._startTime+r._totalDuration/r._timeScale)>n&&(n=i),r=e;this._duration=this._totalDuration=n,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!t)for(var e=this._first,i=this._time;e;)e._startTime===i&&"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);const r=n.k.TimelineLite; + */i.k._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){i.i.call(this,t),this._labels={},this.autoRemoveChildren=!0===this.vars.autoRemoveChildren,this.smoothChildTiming=!0===this.vars.smoothChildTiming,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var e,n,r=this.vars;for(n in r)e=r[n],o(e)&&-1!==e.join("").indexOf("{self}")&&(r[n]=this._swapSelfInParams(e));o(r.tweens)&&this.add(r.tweens,0,r.align,r.stagger)},e=i.l._internals,n=t._internals={},r=e.isSelector,o=e.isArray,s=e.lazyTweens,a=e.lazyRender,l=i.k._gsDefine.globals,u=function(t){var e,n={};for(e in t)n[e]=t[e];return n},c=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},h=n.pauseCallback=function(){},f=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},p=t.prototype=new i.i;return t.version="2.0.1",p.constructor=t,p.kill()._gc=p._forcingPlayhead=p._hasPause=!1,p.to=function(t,e,n,r){var o=n.repeat&&l.TweenMax||i.l;return e?this.add(new o(t,e,n),r):this.set(t,n,r)},p.from=function(t,e,n,r){return this.add((n.repeat&&l.TweenMax||i.l).from(t,e,n),r)},p.fromTo=function(t,e,n,r,o){var s=r.repeat&&l.TweenMax||i.l;return e?this.add(s.fromTo(t,e,n,r),o):this.set(t,r,o)},p.staggerTo=function(e,n,o,s,a,l,h,p){var d,_,m=new t({onComplete:l,onCompleteParams:h,callbackScope:p,smoothChildTiming:this.smoothChildTiming}),v=o.cycle;for("string"==typeof e&&(e=i.l.selector(e)||e),r(e=e||[])&&(e=f(e)),(s=s||0)<0&&((e=f(e)).reverse(),s*=-1),_=0;_e._startTime;h._timeline;)f&&h._timeline.smoothChildTiming?h.totalTime(h._totalTime,!0):h._gc&&h._enabled(!0,!1),h=h._timeline;return this},p.remove=function(t){if(t instanceof i.a){this._remove(t,!1);var e=t._timeline=t.vars.useFrames?i.a._rootFramesTimeline:i.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&&o(t)){for(var n=t.length;--n>-1;)this.remove(t[n]);return this}return"string"==typeof t?this.removeLabel(t):this.kill(null,t)},p._remove=function(t,e){return i.i.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,n,i){return this.add(t,e||0,n,i)},p.appendMultiple=function(t,e,n,i){return this.add(t,this._parseTimeOrLabel(null,e,!0,t),n,i)},p.addLabel=function(t,e){return this._labels[t]=this._parseTimeOrLabel(e),this},p.addPause=function(t,e,n,r){var o=i.l.delayedCall(0,h,n,r||this);return o.vars.onComplete=o.vars.onReverseComplete=e,o.data="isPause",this._hasPause=!0,this.add(o,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,n,r){var s,a;if(r instanceof i.a&&r.timeline===this)this.remove(r);else if(r&&(r instanceof Array||r.push&&o(r)))for(a=r.length;--a>-1;)r[a]instanceof i.a&&r[a].timeline===this&&this.remove(r[a]);if(s="number"!=typeof t||e?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,"string"==typeof e)return this._parseTimeOrLabel(e,n&&"number"==typeof t&&null==this._labels[e]?t-s:0,n);if(e=e||0,"string"!=typeof t||!isNaN(t)&&null==this._labels[t])null==t&&(t=s);else{if(-1===(a=t.indexOf("=")))return null==this._labels[t]?n?this._labels[t]=s+e:e:this._labels[t]+e;e=parseInt(t.charAt(a-1)+"1",10)*Number(t.substr(a+1)),t=a>1?this._parseTimeOrLabel(t.substr(0,a-1),0,n):s}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,n){this._gc&&this._enabled(!0,!1);var i,r,o,l,u,c,h,f=this._time,p=this._dirty?this.totalDuration():this._totalDuration,d=this._startTime,_=this._timeScale,m=this._paused;if(f!==this._time&&(t+=this._time-f),t>=p-1e-7&&t>=0)this._totalTime=this._time=p,this._reversed||this._hasPausedChild()||(r=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||this._rawPrevTime<0||1e-10===this._rawPrevTime)&&this._rawPrevTime!==t&&this._first&&(u=!0,this._rawPrevTime>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,t=p+1e-4;else if(t<1e-7)if(this._totalTime=this._time=0,(0!==f||0===this._duration&&1e-10!==this._rawPrevTime&&(this._rawPrevTime>0||t<0&&this._rawPrevTime>=0))&&(l="onReverseComplete",r=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=r=!0,l="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&r)for(i=this._first;i&&0===i._startTime;)i._duration||(r=!1),i=i._next;t=0,this._initted||(u=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!e){if(t>=f)for(i=this._first;i&&i._startTime<=t&&!c;)i._duration||"isPause"!==i.data||i.ratio||0===i._startTime&&0===this._rawPrevTime||(c=i),i=i._next;else for(i=this._last;i&&i._startTime>=t&&!c;)i._duration||"isPause"===i.data&&i._rawPrevTime>0&&(c=i),i=i._prev;c&&(this._time=t=c._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=t}if(this._time!==f&&this._first||n||u||c){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")),(h=this._time)>=f)for(i=this._first;i&&(o=i._next,h===this._time&&(!this._paused||m));)(i._active||i._startTime<=h&&!i._paused&&!i._gc)&&(c===i&&this.pause(),i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)),i=o;else for(i=this._last;i&&(o=i._prev,h===this._time&&(!this._paused||m));){if(i._active||i._startTime<=f&&!i._paused&&!i._gc){if(c===i){for(c=i._prev;c&&c.endTime()>this._time;)c.render(c._reversed?c.totalDuration()-(t-c._startTime)*c._timeScale:(t-c._startTime)*c._timeScale,e,n),c=c._prev;c=null,this.pause()}i._reversed?i.render((i._dirty?i.totalDuration():i._totalDuration)-(t-i._startTime)*i._timeScale,e,n):i.render((t-i._startTime)*i._timeScale,e,n)}i=o}this._onUpdate&&(e||(s.length&&a(),this._callback("onUpdate"))),l&&(this._gc||d!==this._startTime&&_===this._timeScale||(0===this._time||p>=this.totalDuration())&&(r&&(s.length&&a(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}},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,n,r){r=r||-9999999999;for(var o=[],s=this._first,a=0;s;)s._startTime-1;)(n[r].timeline===this||e&&this._contains(n[r]))&&(s[a++]=n[r]);return o&&this._enabled(!1,!0),s},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,n){n=n||0;for(var i,r=this._first,o=this._labels;r;)r._startTime>=n&&(r._startTime+=t),r=r._next;if(e)for(i in o)o[i]>=n&&(o[i]+=t);return this._uncache(!0)},p._kill=function(t,e){if(!t&&!e)return this._enabled(!1,!1);for(var n=e?this.getTweensOf(e):this.getChildren(!0,!0,!1),i=n.length,r=!1;--i>-1;)n[i]._kill(t,e)&&(r=!0);return r},p.clear=function(t){var e=this.getChildren(!1,!0,!0),n=e.length;for(this._time=this._totalTime=0;--n>-1;)e[n]._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 i.a.prototype.invalidate.call(this)},p._enabled=function(t,e){if(t===this._gc)for(var n=this._first;n;)n._enabled(t,!0),n=n._next;return i.i.prototype._enabled.call(this,t,e)},p.totalTime=function(t,e,n){this._forcingPlayhead=!0;var r=i.a.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,r},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,n,i=0,r=this._last,o=999999999999;r;)e=r._prev,r._dirty&&r.totalDuration(),r._startTime>o&&this._sortChildren&&!r._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(r,r._startTime-r._delay),this._calculatingDuration=0):o=r._startTime,r._startTime<0&&!r._paused&&(i-=r._startTime,this._timeline.smoothChildTiming&&(this._startTime+=r._startTime/this._timeScale,this._time-=r._startTime,this._totalTime-=r._startTime,this._rawPrevTime-=r._startTime),this.shiftChildren(-r._startTime,!1,-9999999999),o=0),(n=r._startTime+r._totalDuration/r._timeScale)>i&&(i=n),r=e;this._duration=this._totalDuration=i,this._dirty=!1}return this._totalDuration}return t&&this.totalDuration()?this.timeScale(this._totalDuration/t):this},p.paused=function(t){if(!t)for(var e=this._first,n=this._time;e;)e._startTime===n&&"isPause"===e.data&&(e._rawPrevTime=0),e=e._next;return i.a.prototype.paused.apply(this,arguments)},p.usesFrames=function(){for(var t=this._timeline;t._timeline;)t=t._timeline;return t===i.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);const r=i.k.TimelineLite; /*! * VERSION: 2.0.1 * DATE: 2018-05-30 @@ -32,7 +47,7 @@ const r="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==n?n:{} * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - */n.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){r.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=n.l._internals,i=e.lazyTweens,o=e.lazyRender,s=n.k._gsDefine.globals,a=new n.b(null,null,1,0),l=t.prototype=new r;return l.constructor=t,l.kill()._gc=!1,t.version="2.0.1",l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.prototype.invalidate.call(this)},l.addCallback=function(t,e,i,r){return this.add(n.l.delayedCall(0,t,i,r),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var i=this.getTweensOf(t,!1),n=i.length,r=this._parseTimeOrLabel(e);--n>-1;)i[n]._startTime===r&&i[n]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(r._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var i,r,o,l={ease:a,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&s.TweenMax||n.l;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),i=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,o=new u(this,i,l),l.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||i!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},l.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 n=this.tweenTo(e,i);return n.isFromTo=1,n.duration(Math.abs(n.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,n){this._gc&&this._enabled(!0,!1);var r,s,a,l,u,c,h,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,_=this._duration,m=this._totalTime,v=this._startTime,g=this._timeScale,y=this._rawPrevTime,b=this._paused,T=this._cycle;if(p!==this._time&&(t+=this._time-p),t>=d-1e-7&&t>=0)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||y<0||1e-10===y)&&y!==t&&this._first&&(u=!0,y>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=_,t=_+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==p||0===_&&1e-10!==y&&(y>0||t<0&&y>=0)&&!this._locked)&&(l="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=s=!0,l="onReverseComplete"):y>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=_||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(u=!0)}else if(0===_&&y<0&&(u=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=_+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?(this._time=_,t=_+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=p||this._repeat&&T!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&h._startTime<_&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==T&&!this._locked){var x=this._yoyo&&0!=(1&T),w=x===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,O=this._cycle,E=this._rawPrevTime,S=this._time;if(this._totalTime=T*_,this._cycle0&&(this._active=!0),0===m&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=p)for(r=this._first;r&&(a=r._next,f===this._time&&(!this._paused||b));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(h===r&&this.pause(),r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)),r=a;else for(r=this._last;r&&(a=r._prev,f===this._time&&(!this._paused||b));){if(r._active||r._startTime<=p&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,n),h=h._prev;h=null,this.pause()}r._reversed?r.render((r._dirty?r.totalDuration():r._totalDuration)-(t-r._startTime)*r._timeScale,e,n):r.render((t-r._startTime)*r._timeScale,e,n)}r=a}this._onUpdate&&(e||(i.length&&o(),this._callback("onUpdate"))),l&&(this._locked||this._gc||v!==this._startTime&&g===this._timeScale||(0===this._time||d>=this.totalDuration())&&(s&&(i.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,i){null==t&&(t=!0),null==e&&(e=!0),null==i&&(i=!1);var n,r,o=[],s=this.getChildren(t,e,i),a=0,l=s.length;for(n=0;nt)return i[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),i=e.length;--i>-1;)if(e[i].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t},!0);const o=n.k.TimelineMax; + */i.k._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(){var t=function(t){r.call(this,t),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=!0===this.vars.yoyo,this._dirty=!0},e=i.l._internals,n=e.lazyTweens,o=e.lazyRender,s=i.k._gsDefine.globals,a=new i.b(null,null,1,0),l=t.prototype=new r;return l.constructor=t,l.kill()._gc=!1,t.version="2.0.1",l.invalidate=function(){return this._yoyo=!0===this.vars.yoyo,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),r.prototype.invalidate.call(this)},l.addCallback=function(t,e,n,r){return this.add(i.l.delayedCall(0,t,n,r),e)},l.removeCallback=function(t,e){if(t)if(null==e)this._kill(null,t);else for(var n=this.getTweensOf(t,!1),i=n.length,r=this._parseTimeOrLabel(e);--i>-1;)n[i]._startTime===r&&n[i]._enabled(!1,!1);return this},l.removePause=function(t){return this.removeCallback(r._internals.pauseCallback,t)},l.tweenTo=function(t,e){e=e||{};var n,r,o,l={ease:a,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},u=e.repeat&&s.TweenMax||i.l;for(r in e)l[r]=e[r];return l.time=this._parseTimeOrLabel(t),n=Math.abs(Number(l.time)-this._time)/this._timeScale||.001,o=new u(this,n,l),l.onStart=function(){o.target.paused(!0),o.vars.time===o.target.time()||n!==o.duration()||o.isFromTo||o.duration(Math.abs(o.vars.time-o.target.time())/o.target._timeScale).render(o.time(),!0,!0),e.onStart&&e.onStart.apply(e.onStartScope||e.callbackScope||o,e.onStartParams||[])},o},l.tweenFromTo=function(t,e,n){n=n||{},t=this._parseTimeOrLabel(t),n.startAt={onComplete:this.seek,onCompleteParams:[t],callbackScope:this},n.immediateRender=!1!==n.immediateRender;var i=this.tweenTo(e,n);return i.isFromTo=1,i.duration(Math.abs(i.vars.time-t)/this._timeScale||.001)},l.render=function(t,e,i){this._gc&&this._enabled(!0,!1);var r,s,a,l,u,c,h,f,p=this._time,d=this._dirty?this.totalDuration():this._totalDuration,_=this._duration,m=this._totalTime,v=this._startTime,g=this._timeScale,y=this._rawPrevTime,b=this._paused,T=this._cycle;if(p!==this._time&&(t+=this._time-p),t>=d-1e-7&&t>=0)this._locked||(this._totalTime=d,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(s=!0,l="onComplete",u=!!this._timeline.autoRemoveChildren,0===this._duration&&(t<=0&&t>=-1e-7||y<0||1e-10===y)&&y!==t&&this._first&&(u=!0,y>1e-10&&(l="onReverseComplete"))),this._rawPrevTime=this._duration||!e||t||this._rawPrevTime===t?t:1e-10,this._yoyo&&0!=(1&this._cycle)?this._time=t=0:(this._time=_,t=_+1e-4);else if(t<1e-7)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(0!==p||0===_&&1e-10!==y&&(y>0||t<0&&y>=0)&&!this._locked)&&(l="onReverseComplete",s=this._reversed),t<0)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(u=s=!0,l="onReverseComplete"):y>=0&&this._first&&(u=!0),this._rawPrevTime=t;else{if(this._rawPrevTime=_||!e||t||this._rawPrevTime===t?t:1e-10,0===t&&s)for(r=this._first;r&&0===r._startTime;)r._duration||(s=!1),r=r._next;t=0,this._initted||(u=!0)}else if(0===_&&y<0&&(u=!0),this._time=this._rawPrevTime=t,this._locked||(this._totalTime=t,0!==this._repeat&&(c=_+this._repeatDelay,this._cycle=this._totalTime/c>>0,0!==this._cycle&&this._cycle===this._totalTime/c&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*c,this._yoyo&&0!=(1&this._cycle)&&(this._time=_-this._time),this._time>_?(this._time=_,t=_+1e-4):this._time<0?this._time=t=0:t=this._time)),this._hasPause&&!this._forcingPlayhead&&!e){if((t=this._time)>=p||this._repeat&&T!==this._cycle)for(r=this._first;r&&r._startTime<=t&&!h;)r._duration||"isPause"!==r.data||r.ratio||0===r._startTime&&0===this._rawPrevTime||(h=r),r=r._next;else for(r=this._last;r&&r._startTime>=t&&!h;)r._duration||"isPause"===r.data&&r._rawPrevTime>0&&(h=r),r=r._prev;h&&h._startTime<_&&(this._time=t=h._startTime,this._totalTime=t+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==T&&!this._locked){var x=this._yoyo&&0!=(1&T),w=x===(this._yoyo&&0!=(1&this._cycle)),P=this._totalTime,O=this._cycle,S=this._rawPrevTime,E=this._time;if(this._totalTime=T*_,this._cycle0&&(this._active=!0),0===m&&this.vars.onStart&&(0===this._totalTime&&this._totalDuration||e||this._callback("onStart")),(f=this._time)>=p)for(r=this._first;r&&(a=r._next,f===this._time&&(!this._paused||b));)(r._active||r._startTime<=this._time&&!r._paused&&!r._gc)&&(h===r&&this.pause(),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=a;else for(r=this._last;r&&(a=r._prev,f===this._time&&(!this._paused||b));){if(r._active||r._startTime<=p&&!r._paused&&!r._gc){if(h===r){for(h=r._prev;h&&h.endTime()>this._time;)h.render(h._reversed?h.totalDuration()-(t-h._startTime)*h._timeScale:(t-h._startTime)*h._timeScale,e,i),h=h._prev;h=null,this.pause()}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=a}this._onUpdate&&(e||(n.length&&o(),this._callback("onUpdate"))),l&&(this._locked||this._gc||v!==this._startTime&&g===this._timeScale||(0===this._time||d>=this.totalDuration())&&(s&&(n.length&&o(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[l]&&this._callback(l)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},l.getActive=function(t,e,n){null==t&&(t=!0),null==e&&(e=!0),null==n&&(n=!1);var i,r,o=[],s=this.getChildren(t,e,n),a=0,l=s.length;for(i=0;it)return n[e].name;return null},l.getLabelBefore=function(t){null==t&&(t=this._time);for(var e=this.getLabelsArray(),n=e.length;--n>-1;)if(e[n].timethis._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},l.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},l.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},l.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},l.currentLabel=function(t){return arguments.length?this.seek(t,!0):this.getLabelBefore(this._time+1e-8)},t},!0);const o=i.k.TimelineMax; /*! * VERSION: 2.0.1 * DATE: 2018-05-30 @@ -43,7 +58,7 @@ const r="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==n?n:{} * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - **/n.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,i=[],n=t.length;for(e=0;e!==n;i.push(t[e++]));return i},e=function(t,e,i){var n,r,o=t.cycle;for(n in o)r=o[n],t[n]="function"==typeof r?r(i,e[i]):r[i%r.length];delete t.cycle},i=function(t,e,r){n.l.call(this,t,e,r),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=i.prototype.render},r=n.l._internals,o=r.isSelector,s=r.isArray,a=i.prototype=n.l.to({},.1,{}),l=[];i.version="2.0.1",a.constructor=i,a.kill()._gc=!1,i.killTweensOf=i.killDelayedCallsTo=n.l.killTweensOf,i.getTweensOf=n.l.getTweensOf,i.lagSmoothing=n.l.lagSmoothing,i.ticker=n.l.ticker,i.render=n.l.render,a.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.l.prototype.invalidate.call(this)},a.updateTo=function(t,e){var i,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(i in e&&this._startTime.998){var s=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var a,l=1/(1-r),u=this._firstPT;u;)a=u.s+u.c,u.c*=l,u.s=a-u.c,u=u._next;return this},a.render=function(t,e,i){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var o,s,a,l,u,c,h,f,p,d=this._dirty?this.totalDuration():this._totalDuration,_=this._time,m=this._totalTime,v=this._cycle,g=this._duration,y=this._rawPrevTime;if(t>=d-1e-7&&t>=0?(this._totalTime=d,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=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(o=!0,s="onComplete",i=i||this._timeline.autoRemoveChildren),0===g&&(this._initted||!this.vars.lazy||i)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-7||1e-10===y&&"isPause"!==this.data)&&y!==t&&(i=!0,y>1e-10&&(s="onReverseComplete")),this._rawPrevTime=f=!e||t||y===t?t:1e-10)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===g&&y>0)&&(s="onReverseComplete",o=this._reversed),t<0&&(this._active=!1,0===g&&(this._initted||!this.vars.lazy||i)&&(y>=0&&(i=!0),this._rawPrevTime=f=!e||t||y===t?t:1e-10)),this._initted||(i=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=g+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof n.b?p:n.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof n.b?p:"function"==typeof p?new n.b(p,this.vars.easeParams):n.b.map[p]||n.l.defaultEase:n.l.defaultEase)),this.ratio=p?1-p.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!p?(u=this._time/g,c=this._easeType,h=this._easePower,(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),1===c?this.ratio=1-u:2===c?this.ratio=u:this._time/g<.5?this.ratio=u/2:this.ratio=1-u/2):p||(this.ratio=this._ease.getRatio(this._time/g))),_!==this._time||i||v!==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=_,this._totalTime=m,this._rawPrevTime=y,this._cycle=v,r.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||o||p?o&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==_&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,i):s||(s="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==g||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,i),e||(this._totalTime!==m||s)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!i||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,i),o&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===g&&1e-10===this._rawPrevTime&&1e-10!==f&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},i.to=function(t,e,n){return new i(t,e,n)},i.from=function(t,e,n){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,new i(t,e,n)},i.fromTo=function(t,e,n,r){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,new i(t,e,r)},i.staggerTo=i.allTo=function(r,a,u,c,h,f,p){c=c||0;var d,_,m,v,g=0,y=[],b=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),h.apply(p||u.callbackScope||this,f||l)},T=u.cycle,x=u.startAt&&u.startAt.cycle;for(s(r)||("string"==typeof r&&(r=n.l.selector(r)||r),o(r)&&(r=t(r))),r=r||[],c<0&&((r=t(r)).reverse(),c*=-1),d=r.length-1,m=0;m<=d;m++){for(v in _={},u)_[v]=u[v];if(T&&(e(_,r,m),null!=_.duration&&(a=_.duration,delete _.duration)),x){for(v in x=_.startAt={},u.startAt)x[v]=u.startAt[v];e(_.startAt,r,m)}_.delay=g+(_.delay||0),m===d&&h&&(_.onComplete=b),y[m]=new i(r[m],a,_),g+=c}return y},i.staggerFrom=i.allFrom=function(t,e,n,r,o,s,a){return n.runBackwards=!0,n.immediateRender=0!=n.immediateRender,i.staggerTo(t,e,n,r,o,s,a)},i.staggerFromTo=i.allFromTo=function(t,e,n,r,o,s,a,l){return r.startAt=n,r.immediateRender=0!=r.immediateRender&&0!=n.immediateRender,i.staggerTo(t,e,r,o,s,a,l)},i.delayedCall=function(t,e,n,r,o){return new i(e,0,{delay:t,onComplete:e,onCompleteParams:n,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:n,immediateRender:!1,useFrames:o,overwrite:0})},i.set=function(t,e){return new i(t,0,e)},i.isTweening=function(t){return n.l.getTweensOf(t,!0).length>0};var u=function(t,e){for(var i=[],r=0,o=t._first;o;)o instanceof n.l?i[r++]=o:(e&&(i[r++]=o),r=(i=i.concat(u(o,e))).length),o=o._next;return i},c=i.getAllTweens=function(t){return u(n.a._rootTimeline,t).concat(u(n.a._rootFramesTimeline,t))};i.killAll=function(t,e,i,r){null==e&&(e=!0),null==i&&(i=!0);var o,s,a,l=c(0!=r),u=l.length,h=e&&i&&r;for(a=0;a-1;)i.killChildTweensOf(e[h],a);else{for(c in l=[],p)for(u=p[c].target.parentNode;u;)u===e&&(l=l.concat(p[c].tweens)),u=u.parentNode;for(f=l.length,h=0;h-1;)s=a[u],(l||s instanceof n.i||(o=s.target===s.vars.onComplete)&&i||e&&!o)&&s.paused(t)};return i.pauseAll=function(t,e,i){h(!0,t,e,i)},i.resumeAll=function(t,e,i){h(!1,t,e,i)},i.globalTimeScale=function(t){var e=n.a._rootTimeline,i=n.l.ticker.time;return arguments.length?(t=t||1e-10,e._startTime=i-(i-e._startTime)*e._timeScale/t,e=n.a._rootFramesTimeline,i=n.l.ticker.frame,e._startTime=i-(i-e._startTime)*e._timeScale/t,e._timeScale=n.a._rootTimeline._timeScale=t,t):e._timeScale},a.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()},a.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},a.duration=function(t){return arguments.length?n.a.prototype.duration.call(this,t):this._duration},a.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)},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},i},!0);const s=n.k.TweenMax; + **/i.k._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(){var t=function(t){var e,n=[],i=t.length;for(e=0;e!==i;n.push(t[e++]));return n},e=function(t,e,n){var i,r,o=t.cycle;for(i in o)r=o[i],t[i]="function"==typeof r?r(n,e[n]):r[n%r.length];delete t.cycle},n=function(t,e,r){i.l.call(this,t,e,r),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=n.prototype.render},r=i.l._internals,o=r.isSelector,s=r.isArray,a=n.prototype=i.l.to({},.1,{}),l=[];n.version="2.0.1",a.constructor=n,a.kill()._gc=!1,n.killTweensOf=n.killDelayedCallsTo=i.l.killTweensOf,n.getTweensOf=i.l.getTweensOf,n.lagSmoothing=i.l.lagSmoothing,n.ticker=i.l.ticker,n.render=i.l.render,a.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),i.l.prototype.invalidate.call(this)},a.updateTo=function(t,e){var n,r=this.ratio,o=this.vars.immediateRender||t.immediateRender;for(n in e&&this._startTime.998){var s=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(s,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||o)for(var a,l=1/(1-r),u=this._firstPT;u;)a=u.s+u.c,u.c*=l,u.s=a-u.c,u=u._next;return this},a.render=function(t,e,n){this._initted||0===this._duration&&this.vars.repeat&&this.invalidate();var o,s,a,l,u,c,h,f,p,d=this._dirty?this.totalDuration():this._totalDuration,_=this._time,m=this._totalTime,v=this._cycle,g=this._duration,y=this._rawPrevTime;if(t>=d-1e-7&&t>=0?(this._totalTime=d,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=g,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(o=!0,s="onComplete",n=n||this._timeline.autoRemoveChildren),0===g&&(this._initted||!this.vars.lazy||n)&&(this._startTime===this._timeline._duration&&(t=0),(y<0||t<=0&&t>=-1e-7||1e-10===y&&"isPause"!==this.data)&&y!==t&&(n=!0,y>1e-10&&(s="onReverseComplete")),this._rawPrevTime=f=!e||t||y===t?t:1e-10)):t<1e-7?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(0!==m||0===g&&y>0)&&(s="onReverseComplete",o=this._reversed),t<0&&(this._active=!1,0===g&&(this._initted||!this.vars.lazy||n)&&(y>=0&&(n=!0),this._rawPrevTime=f=!e||t||y===t?t:1e-10)),this._initted||(n=!0)):(this._totalTime=this._time=t,0!==this._repeat&&(l=g+this._repeatDelay,this._cycle=this._totalTime/l>>0,0!==this._cycle&&this._cycle===this._totalTime/l&&m<=t&&this._cycle--,this._time=this._totalTime-this._cycle*l,this._yoyo&&0!=(1&this._cycle)&&(this._time=g-this._time,(p=this._yoyoEase||this.vars.yoyoEase)&&(this._yoyoEase||(!0!==p||this._initted?this._yoyoEase=p=!0===p?this._ease:p instanceof i.b?p:i.b.map[p]:(p=this.vars.ease,this._yoyoEase=p=p?p instanceof i.b?p:"function"==typeof p?new i.b(p,this.vars.easeParams):i.b.map[p]||i.l.defaultEase:i.l.defaultEase)),this.ratio=p?1-p.getRatio((g-this._time)/g):0)),this._time>g?this._time=g:this._time<0&&(this._time=0)),this._easeType&&!p?(u=this._time/g,c=this._easeType,h=this._easePower,(1===c||3===c&&u>=.5)&&(u=1-u),3===c&&(u*=2),1===h?u*=u:2===h?u*=u*u:3===h?u*=u*u*u:4===h&&(u*=u*u*u*u),1===c?this.ratio=1-u:2===c?this.ratio=u:this._time/g<.5?this.ratio=u/2:this.ratio=1-u/2):p||(this.ratio=this._ease.getRatio(this._time/g))),_!==this._time||n||v!==this._cycle){if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!n&&this._firstPT&&(!1!==this.vars.lazy&&this._duration||this.vars.lazy&&!this._duration))return this._time=_,this._totalTime=m,this._rawPrevTime=y,this._cycle=v,r.lazyTweens.push(this),void(this._lazy=[t,e]);!this._time||o||p?o&&this._ease._calcEnd&&!p&&(this.ratio=this._ease.getRatio(0===this._time?0:1)):this.ratio=this._ease.getRatio(this._time/g)}for(!1!==this._lazy&&(this._lazy=!1),this._active||!this._paused&&this._time!==_&&t>=0&&(this._active=!0),0===m&&(2===this._initted&&t>0&&this._init(),this._startAt&&(t>=0?this._startAt.render(t,!0,n):s||(s="_dummyGS")),this.vars.onStart&&(0===this._totalTime&&0!==g||e||this._callback("onStart"))),a=this._firstPT;a;)a.f?a.t[a.p](a.c*this.ratio+a.s):a.t[a.p]=a.c*this.ratio+a.s,a=a._next;this._onUpdate&&(t<0&&this._startAt&&this._startTime&&this._startAt.render(t,!0,n),e||(this._totalTime!==m||s)&&this._callback("onUpdate")),this._cycle!==v&&(e||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),s&&(this._gc&&!n||(t<0&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(t,!0,n),o&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!e&&this.vars[s]&&this._callback(s),0===g&&1e-10===this._rawPrevTime&&1e-10!==f&&(this._rawPrevTime=0)))}else m!==this._totalTime&&this._onUpdate&&(e||this._callback("onUpdate"))},n.to=function(t,e,i){return new n(t,e,i)},n.from=function(t,e,i){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,new n(t,e,i)},n.fromTo=function(t,e,i,r){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,new n(t,e,r)},n.staggerTo=n.allTo=function(r,a,u,c,h,f,p){c=c||0;var d,_,m,v,g=0,y=[],b=function(){u.onComplete&&u.onComplete.apply(u.onCompleteScope||this,arguments),h.apply(p||u.callbackScope||this,f||l)},T=u.cycle,x=u.startAt&&u.startAt.cycle;for(s(r)||("string"==typeof r&&(r=i.l.selector(r)||r),o(r)&&(r=t(r))),r=r||[],c<0&&((r=t(r)).reverse(),c*=-1),d=r.length-1,m=0;m<=d;m++){for(v in _={},u)_[v]=u[v];if(T&&(e(_,r,m),null!=_.duration&&(a=_.duration,delete _.duration)),x){for(v in x=_.startAt={},u.startAt)x[v]=u.startAt[v];e(_.startAt,r,m)}_.delay=g+(_.delay||0),m===d&&h&&(_.onComplete=b),y[m]=new n(r[m],a,_),g+=c}return y},n.staggerFrom=n.allFrom=function(t,e,i,r,o,s,a){return i.runBackwards=!0,i.immediateRender=0!=i.immediateRender,n.staggerTo(t,e,i,r,o,s,a)},n.staggerFromTo=n.allFromTo=function(t,e,i,r,o,s,a,l){return r.startAt=i,r.immediateRender=0!=r.immediateRender&&0!=i.immediateRender,n.staggerTo(t,e,r,o,s,a,l)},n.delayedCall=function(t,e,i,r,o){return new n(e,0,{delay:t,onComplete:e,onCompleteParams:i,callbackScope:r,onReverseComplete:e,onReverseCompleteParams:i,immediateRender:!1,useFrames:o,overwrite:0})},n.set=function(t,e){return new n(t,0,e)},n.isTweening=function(t){return i.l.getTweensOf(t,!0).length>0};var u=function(t,e){for(var n=[],r=0,o=t._first;o;)o instanceof i.l?n[r++]=o:(e&&(n[r++]=o),r=(n=n.concat(u(o,e))).length),o=o._next;return n},c=n.getAllTweens=function(t){return u(i.a._rootTimeline,t).concat(u(i.a._rootFramesTimeline,t))};n.killAll=function(t,e,n,r){null==e&&(e=!0),null==n&&(n=!0);var o,s,a,l=c(0!=r),u=l.length,h=e&&n&&r;for(a=0;a-1;)n.killChildTweensOf(e[h],a);else{for(c in l=[],p)for(u=p[c].target.parentNode;u;)u===e&&(l=l.concat(p[c].tweens)),u=u.parentNode;for(f=l.length,h=0;h-1;)s=a[u],(l||s instanceof i.i||(o=s.target===s.vars.onComplete)&&n||e&&!o)&&s.paused(t)};return n.pauseAll=function(t,e,n){h(!0,t,e,n)},n.resumeAll=function(t,e,n){h(!1,t,e,n)},n.globalTimeScale=function(t){var e=i.a._rootTimeline,n=i.l.ticker.time;return arguments.length?(t=t||1e-10,e._startTime=n-(n-e._startTime)*e._timeScale/t,e=i.a._rootFramesTimeline,n=i.l.ticker.frame,e._startTime=n-(n-e._startTime)*e._timeScale/t,e._timeScale=i.a._rootTimeline._timeScale=t,t):e._timeScale},a.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()},a.totalProgress=function(t,e){return arguments.length?this.totalTime(this.totalDuration()*t,e):this._totalTime/this.totalDuration()},a.time=function(t,e){return arguments.length?(this._dirty&&this.totalDuration(),t>this._duration&&(t=this._duration),this._yoyo&&0!=(1&this._cycle)?t=this._duration-t+this._cycle*(this._duration+this._repeatDelay):0!==this._repeat&&(t+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(t,e)):this._time},a.duration=function(t){return arguments.length?i.a.prototype.duration.call(this,t):this._duration},a.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)},a.repeat=function(t){return arguments.length?(this._repeat=t,this._uncache(!0)):this._repeat},a.repeatDelay=function(t){return arguments.length?(this._repeatDelay=t,this._uncache(!0)):this._repeatDelay},a.yoyo=function(t){return arguments.length?(this._yoyo=t,this):this._yoyo},n},!0);const s=i.k.TweenMax; /*! * VERSION: 1.20.5 * DATE: 2018-05-30 @@ -55,7 +70,7 @@ const r="undefined"!=typeof window?window:void 0!==t&&t.exports&&void 0!==n?n:{} * * @author: Jack Doyle, jack@greensock.com */ -n.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,i,r,o=function(){n.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},s=n.k._gsDefine.globals,a={},l=o.prototype=new n.j("css");l.constructor=o,o.version="1.20.5",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,f,p,d,_,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,E=/([A-Z])/g,S=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,C=function(t,e){return e.toUpperCase()},A=/(?:Left|Right|Width)/i,R=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,j=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,I=/,(?=[^\)]*(?:\(|$))/gi,M=/[\s,\(]/i,L=Math.PI/180,D=180/Math.PI,N={},z={style:{}},F=n.k.document||{createElement:function(){return z}},B=function(t,e){return F.createElementNS?F.createElementNS(e||"http://www.w3.org/1999/xhtml",t):F.createElement(t)},V=B("div"),X=B("img"),U=o._internals={_specialProps:a},Y=(n.k.navigator||{}).userAgent||"",H=function(){var t=Y.indexOf("Android"),e=B("a");return h=-1!==Y.indexOf("Safari")&&-1===Y.indexOf("Chrome")&&(-1===t||parseFloat(Y.substr(t+8,2))>3),p=h&&parseFloat(Y.substr(Y.indexOf("Version/")+8,2))<6,f=-1!==Y.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Y)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Y))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return x.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},q=function(t){n.k.console&&console.log(t)},G="",$="",Z=function(t,e){var i,n,r=(e=e||V).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),i=["O","Moz","ms","Ms","Webkit"],n=5;--n>-1&&void 0===r[i[n]+t];);return n>=0?(G="-"+($=3===n?"ms":i[n]).toLowerCase()+"-",$+t):null},Q=("undefined"!=typeof window?window:F.defaultView||{getComputedStyle:function(){}}).getComputedStyle,J=o.getStyle=function(t,e,i,n,r){var o;return H||"opacity"!==e?(!n&&t.style[e]?o=t.style[e]:(i=i||Q(t))?o=i[e]||i.getPropertyValue(e)||i.getPropertyValue(e.replace(E,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):W(t)},K=U.convertToPixels=function(t,e,i,r,s){if("px"===r||!r&&"lineHeight"!==e)return i;if("auto"===r||!i)return 0;var a,l,u,c=A.test(e),h=t,f=V.style,p=i<0,d=1===i;if(p&&(i=-i),d&&(i*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=i/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+J(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[c?"borderLeftWidth":"borderTopWidth"]=i+r;else{if(h=t.parentNode||F.body,-1!==J(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=n.l.ticker.frame,l&&c&&l.time===u)return l.width*i/100;f[c?"width":"height"]=i+r}h.appendChild(V),a=parseFloat(V[c?"offsetWidth":"offsetHeight"]),h.removeChild(V),c&&"%"===r&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=a/i*100),0!==a||s||(a=K(t,e,i,r,!0))}else l=Q(t).lineHeight,t.style.lineHeight=i,a=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},tt=U.calculateOffset=function(t,e,i){if("absolute"!==J(t,"position",i))return 0;var n="left"===e?"Left":"Top",r=J(t,"margin"+n,i);return t["offset"+n]-(K(t,e,parseFloat(r),r.replace(T,""))||0)},et=function(t,e){var i,n,r,o={};if(e=e||Q(t,null))if(i=e.length)for(;--i>-1;)-1!==(r=e[i]).indexOf("-transform")&&jt!==r||(o[r.replace(S,C)]=e.getPropertyValue(r));else for(i in e)-1!==i.indexOf("Transform")&&Rt!==i||(o[i]=e[i]);else if(e=t.currentStyle||t.style)for(i in e)"string"==typeof i&&void 0===o[i]&&(o[i.replace(S,C)]=e[i]);return H||(o.opacity=W(t)),n=Ht(t,e,!1),o.rotation=n.rotation,o.skewX=n.skewX,o.scaleX=n.scaleX,o.scaleY=n.scaleY,o.x=n.x,o.y=n.y,Mt&&(o.z=n.z,o.rotationX=n.rotationX,o.rotationY=n.rotationY,o.scaleZ=n.scaleZ),o.filters&&delete o.filters,o},it=function(t,e,i,n,r){var o,s,a,l={},u=t.style;for(s in i)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=i[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(b,"")?o:0:tt(t,s),void 0!==u[s]&&(a=new vt(u,s,u[s],a))));if(n)for(s in n)"className"!==s&&(l[s]=n[s]);return{difs:l,firstMPT:a}},nt={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,i){if("svg"===(t.nodeName+"").toLowerCase())return(i||Q(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var n=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=nt[e],o=r.length;for(i=i||Q(t,null);--o>-1;)n-=parseFloat(J(t,"padding"+r[o],i,!0))||0,n-=parseFloat(J(t,"border"+r[o]+"Width",i,!0))||0;return n},st=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var i,n=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":n[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":n[1];if(n.length>3&&!e){for(n=t.split(", ").join(",").split(","),t=[],i=0;i2?" "+n[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(b,"")),e.oy=parseFloat(o.replace(b,"")),e.v=t),e||t},at=function(t,e){return"function"==typeof t&&(t=t(m,_)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){return"function"==typeof t&&(t=t(m,_)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,i,n){var r,o,s,a,l;return"function"==typeof t&&(t=t(m,_)),null==t?a=e:"number"==typeof t?a=t:(r=360,o=t.split("_"),s=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:D)-(l?0:e),o.length&&(n&&(n[i]=e+s),-1!==t.indexOf("short")&&(s%=r)!==s%(r/2)&&(s=s<0?s+r:s-r),-1!==t.indexOf("_cw")&&s<0?s=(s+9999999999*r)%r-(s/r|0)*r:-1!==t.indexOf("ccw")&&s>0&&(s=(s-9999999999*r)%r-(s/r|0)*r)),a=e+s),a<1e-6&&a>-1e-6&&(a=0),a},ct={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]},ht=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},ft=o.parseColor=function(t,e){var i,n,r,o,s,a,l,u,c,h,f;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)),ct[t])i=ct[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(n=t.charAt(1))+n+(r=t.charAt(2))+r+(o=t.charAt(3))+o),i=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(i=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(g)}else s=Number(i[0])%360/360,a=Number(i[1])/100,n=2*(l=Number(i[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),i.length>3&&(i[3]=Number(i[3])),i[0]=ht(s+1/3,n,r),i[1]=ht(s,n,r),i[2]=ht(s-1/3,n,r);else i=t.match(v)||ct.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=ct.black;return e&&!f&&(n=i[0]/255,r=i[1]/255,o=i[2]/255,l=((u=Math.max(n,r,o))+(c=Math.min(n,r,o)))/2,u===c?s=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),s=u===n?(r-o)/h+(r0?s[0].replace(v,""):"";return c?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(n&&I.test(t)){for(d=t.replace(I,"|").split("|"),p=0;pp--)for(;++pf--)for(;++f>0];return r.parse(e,a,o,s)}},vt=(U._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,i,n,r,o,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=s.firstMPT,o=1===t?"e":"b";l;){if((i=l.t).type){if(1===i.type){for(r=i.xs0+i.s+i.xs1,n=1;n0;)l="xn"+s,p[a=n.p+"_"+l]=n.data[l],f[a]=n[l],o||(u=new vt(n,l,a,u,n.rxp[l]));n=n._next}return{proxy:f,end:p,firstMPT:u,pt:c}},U.CSSPropTween=function(e,i,n,o,s,a,l,u,c,h,f){this.t=e,this.p=i,this.s=n,this.c=o,this.n=l||i,e instanceof gt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,t=!0),this.b=void 0===h?n:h,this.e=void 0===f?n+o:f,s&&(this._next=s,s._prev=this)}),yt=function(t,e,i,n,r,o){var s=new gt(t,e,i,n-i,r,-1,o);return s.b=i,s.e=s.xs0=n,s},bt=o.parseComplex=function(t,e,i,n,r,s,a,l,c,h){i=i||s||"","function"==typeof n&&(n=n(m,_)),a=new gt(t,e,0,0,a,h?2:1,null,!1,l,i,n),n+="",r&&dt.test(n+i)&&(n=[i,n],o.colorStringFilter(n),i=n[0],n=n[1]);var f,p,d,y,b,T,x,w,P,O,E,S,k,C=i.split(", ").join(",").split(" "),A=n.split(", ").join(",").split(" "),R=C.length,j=!1!==u;for(-1===n.indexOf(",")&&-1===i.indexOf(",")||(-1!==(n+i).indexOf("rgb")||-1!==(n+i).indexOf("hsl")?(C=C.join(" ").replace(I,", ").split(" "),A=A.join(" ").replace(I,", ").split(" ")):(C=C.join(" ").split(",").join(", ").split(" "),A=A.join(" ").split(",").join(", ").split(" ")),R=C.length),R!==A.length&&(R=(C=(s||"").split(" ")).length),a.plugin=c,a.setRatio=h,dt.lastIndex=0,f=0;f6)&&!H&&0===b[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(A[f]).join("transparent")):(H||(P=!1),k?a.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),y[0],at(b[0],y[0]),",",!1,!0).appendXtra("",y[1],at(b[1],y[1]),"%,",!1).appendXtra("",y[2],at(b[2],y[2]),P?"%,":"%"+S,!1):a.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),y[0],b[0]-y[0],",",Math.round,!0).appendXtra("",y[1],b[1]-y[1],",",Math.round).appendXtra("",y[2],b[2]-y[2],P?",":S,Math.round),P&&(y=y.length<4?1:y[3],a.appendXtra("",y,(b.length<4?1:b[3])-y,S,!1))),dt.lastIndex=0;else if(T=y.match(v)){if(!(x=b.match(g))||x.length!==T.length)return a;for(d=0,p=0;p0;)l["xn"+Tt]=0,l["xs"+Tt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,i,n,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",i||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=n||"",a>0?(s.data["xn"+a]=e+i,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new gt(s,"xn"+a,e,i,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+i},s.rxp={},s.s=e,s.c=i,s.r=r,s)):(s["xs"+a]+=e+(n||""),s)};var xt=function(t,e){e=e||{},this.p=e.prefix&&Z(t)||t,a[t]=a[this.p]=this,this.format=e.formatter||_t(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.pr=e.priority||0},wt=U._registerComplexSpecialProp=function(t,e,i){"object"!=typeof e&&(e={parser:i});var n,r=t.split(","),o=e.defaultValue;for(i=i||[o],n=0;na.length?l.length:a.length,s=0;s-1;)o=Number(r[Tt]),r[Tt]=(s=o-(o|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Ht=U.getTransform=function(t,e,i,r){if(t._gsTransform&&i&&!r)return t._gsTransform;var s,a,l,u,c,h,f=i&&t._gsTransform||new Lt,p=f.scaleX<0,d=Mt&&(parseFloat(J(t,It,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Bt(t,J(t,It,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||Ft),(s=Yt(t))!==Ut){if(16===s.length){var m,v,g,y,b,T=s[0],x=s[1],w=s[2],P=s[3],O=s[4],E=s[5],S=s[6],k=s[7],C=s[8],A=s[9],R=s[10],j=s[12],I=s[13],M=s[14],L=s[11],N=Math.atan2(S,R);f.zOrigin&&(j=C*(M=-f.zOrigin)-s[12],I=A*M-s[13],M=R*M+f.zOrigin-s[14]),f.rotationX=N*D,N&&(m=O*(y=Math.cos(-N))+C*(b=Math.sin(-N)),v=E*y+A*b,g=S*y+R*b,C=O*-b+C*y,A=E*-b+A*y,R=S*-b+R*y,L=k*-b+L*y,O=m,E=v,S=g),N=Math.atan2(-w,R),f.rotationY=N*D,N&&(v=x*(y=Math.cos(-N))-A*(b=Math.sin(-N)),g=w*y-R*b,A=x*b+A*y,R=w*b+R*y,L=P*b+L*y,T=m=T*y-C*b,x=v,w=g),N=Math.atan2(x,T),f.rotation=N*D,N&&(m=T*(y=Math.cos(N))+x*(b=Math.sin(N)),v=O*y+E*b,g=C*y+A*b,x=x*y-T*b,E=E*y-O*b,A=A*y-C*b,T=m,O=v,C=g),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(O,E),f.scaleX=(1e5*Math.sqrt(T*T+x*x+w*w)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(E*E+S*S)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(C*C+A*A+R*R)+.5|0)/1e5,T/=f.scaleX,O/=f.scaleY,x/=f.scaleX,E/=f.scaleY,Math.abs(N)>2e-5?(f.skewX=N*D,O=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(L<0?-L:L):0,f.x=j,f.y=I,f.z=M,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*O),f.y-=f.yOrigin-(f.yOrigin*x-f.xOrigin*E))}else if(!Mt||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var z=s.length>=6,F=z?s[0]:1,B=s[1]||0,V=s[2]||0,X=z?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(F*F+B*B),u=Math.sqrt(X*X+V*V),c=F||B?Math.atan2(B,F)*D:f.rotation||0,h=V||X?Math.atan2(V,X)*D+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,Mt&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*F+f.yOrigin*V),f.y-=f.yOrigin-(f.xOrigin*B+f.yOrigin*X))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return i&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?n.l.delayedCall(.001,function(){$t(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&n.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Wt=function(t){var e,i,n=this.data,r=-n.rotation*L,o=r+n.skewX*L,s=(Math.cos(r)*n.scaleX*1e5|0)/1e5,a=(Math.sin(r)*n.scaleX*1e5|0)/1e5,l=(Math.sin(o)*-n.scaleY*1e5|0)/1e5,u=(Math.cos(o)*n.scaleY*1e5|0)/1e5,c=this.t.style,h=this.t.currentStyle;if(h){i=a,a=-l,l=-i,e=h.filter,c.filter="";var f,p,_=this.t.offsetWidth,m=this.t.offsetHeight,v="absolute"!==h.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+l+", M22="+u,y=n.x+_*n.xPercent/100,b=n.y+m*n.yPercent/100;if(null!=n.ox&&(y+=(f=(n.oxp?_*n.ox*.01:n.ox)-_/2)-(f*s+(p=(n.oyp?m*n.oy*.01:n.oy)-m/2)*a),b+=p-(f*l+p*u)),g+=v?", Dx="+((f=_/2)-(f*s+(p=m/2)*a)+y)+", Dy="+(p-(f*l+p*u)+b)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(j,g):c.filter=g+" "+e,0!==t&&1!==t||1===s&&0===a&&0===l&&1===u&&(v&&-1===g.indexOf("Dx=0, Dy=0")||x.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var w,P,O,E=d<8?1:-1;for(f=n.ieOffsetX||0,p=n.ieOffsetY||0,n.ieOffsetX=Math.round((_-((s<0?-s:s)*_+(a<0?-a:a)*m))/2+y),n.ieOffsetY=Math.round((m-((u<0?-u:u)*m+(l<0?-l:l)*_))/2+b),Tt=0;Tt<4;Tt++)O=(i=-1!==(w=h[P=rt[Tt]]).indexOf("px")?parseFloat(w):K(this.t,P,parseFloat(w),w.replace(T,""))||0)!==n[P]?Tt<2?-n.ieOffsetX:-n.ieOffsetY:Tt<2?f-n.ieOffsetX:p-n.ieOffsetY,c[P]=(n[P]=Math.round(i-O*(0===Tt||2===Tt?1:E)))+"px"}}},qt=U.set3DTransformRatio=U.setTransformRatio=function(t){var e,i,n,r,o,s,a,l,u,c,h,p,d,_,m,v,g,y,b,T,x,w=this.data,P=this.t.style,O=w.rotation,E=w.rotationX,S=w.rotationY,k=w.scaleX,C=w.scaleY,A=w.scaleZ,R=w.x,j=w.y,I=w.z,M=w.svg,D=w.perspective,N=w.force3D,z=w.skewY,F=w.skewX;if(z&&(F+=z,O+=z),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||I||D||S||E||1!==A)||Ot&&M||!Mt)O||F||M?(O*=L,T=F*L,x=1e5,i=Math.cos(O)*k,o=Math.sin(O)*k,n=Math.sin(O-T)*-C,s=Math.cos(O-T)*C,T&&"simple"===w.skewType&&(e=Math.tan(T-z*L),n*=e=Math.sqrt(1+e*e),s*=e,z&&(e=Math.tan(z*L),i*=e=Math.sqrt(1+e*e),o*=e)),M&&(R+=w.xOrigin-(w.xOrigin*i+w.yOrigin*n)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset,Ot&&(w.xPercent||w.yPercent)&&(m=this.t.getBBox(),R+=.01*w.xPercent*m.width,j+=.01*w.yPercent*m.height),R<(m=1e-6)&&R>-m&&(R=0),j-m&&(j=0)),b=(i*x|0)/x+","+(o*x|0)/x+","+(n*x|0)/x+","+(s*x|0)/x+","+R+","+j+")",M&&Ot?this.t.setAttribute("transform","matrix("+b):P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+b):P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+C+","+R+","+j+")";else{if(f&&(k<(m=1e-4)&&k>-m&&(k=A=2e-5),C-m&&(C=A=2e-5),!D||w.z||w.rotationX||w.rotationY||(D=0)),O||F)O*=L,v=i=Math.cos(O),g=o=Math.sin(O),F&&(O-=F*L,v=Math.cos(O),g=Math.sin(O),"simple"===w.skewType&&(e=Math.tan((F-z)*L),v*=e=Math.sqrt(1+e*e),g*=e,w.skewY&&(e=Math.tan(z*L),i*=e=Math.sqrt(1+e*e),o*=e))),n=-g,s=v;else{if(!(S||E||1!==A||D||M))return void(P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) translate3d(":"translate3d(")+R+"px,"+j+"px,"+I+"px)"+(1!==k||1!==C?" scale("+k+","+C+")":""));i=s=1,n=o=0}c=1,r=a=l=u=h=p=0,d=D?-1/D:0,_=w.zOrigin,m=1e-6,",","0",(O=S*L)&&(v=Math.cos(O),l=-(g=Math.sin(O)),h=d*-g,r=i*g,a=o*g,c=v,d*=v,i*=v,o*=v),(O=E*L)&&(e=n*(v=Math.cos(O))+r*(g=Math.sin(O)),y=s*v+a*g,u=c*g,p=d*g,r=n*-g+r*v,a=s*-g+a*v,c*=v,d*=v,n=e,s=y),1!==A&&(r*=A,a*=A,c*=A,d*=A),1!==C&&(n*=C,s*=C,u*=C,p*=C),1!==k&&(i*=k,o*=k,l*=k,h*=k),(_||M)&&(_&&(R+=r*-_,j+=a*-_,I+=c*-_+_),M&&(R+=w.xOrigin-(w.xOrigin*i+w.yOrigin*n)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset),R-m&&(R="0"),j-m&&(j="0"),I-m&&(I=0)),b=w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix3d(":"matrix3d(",b+=(i-m?"0":i)+","+(o-m?"0":o)+","+(l-m?"0":l),b+=","+(h-m?"0":h)+","+(n-m?"0":n)+","+(s-m?"0":s),E||S||1!==A?(b+=","+(u-m?"0":u)+","+(p-m?"0":p)+","+(r-m?"0":r),b+=","+(a-m?"0":a)+","+(c-m?"0":c)+","+(d-m?"0":d)+","):b+=",0,0,0,0,1,0,",b+=R+","+j+","+I+","+(D?1+-I/D:1)+")",P[Rt]=b}};(l=Lt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,wt("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,n,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u,c=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[n]&&(u=l[n],l[n]=e),c&&(l.scale=c(m,t));var h,f,p,d,v,g,y,b,T,x=t._gsTransform,w=t.style,P=At.length,O=l,E={},S=Ht(t,i,!0,O.parseTransform),k=O.transform&&("function"==typeof O.transform?O.transform(m,_):O.transform);if(S.skewType=O.skewType||S.skewType||o.defaultSkewType,r._transform=S,k&&"string"==typeof k&&Rt)(f=V.style)[Rt]=k,f.display="block",f.position="absolute",-1!==k.indexOf("%")&&(f.width=J(t,"width"),f.height=J(t,"height")),F.body.appendChild(V),h=Ht(V,null,!1),"simple"===S.skewType&&(h.scaleY*=Math.cos(h.skewX*L)),S.svg&&(g=S.xOrigin,y=S.yOrigin,h.x-=S.xOffset,h.y-=S.yOffset,(O.transformOrigin||O.svgOrigin)&&(k={},Bt(t,st(O.transformOrigin),k,O.svgOrigin,O.smoothOrigin,!0),g=k.xOrigin,y=k.yOrigin,h.x-=k.xOffset-S.xOffset,h.y-=k.yOffset-S.yOffset),(g||y)&&(b=Yt(V,!0),h.x-=g-(g*b[0]+y*b[2]),h.y-=y-(g*b[1]+y*b[3]))),F.body.removeChild(V),h.perspective||(h.perspective=S.perspective),null!=O.xPercent&&(h.xPercent=lt(O.xPercent,S.xPercent)),null!=O.yPercent&&(h.yPercent=lt(O.yPercent,S.yPercent));else if("object"==typeof O){if(h={scaleX:lt(null!=O.scaleX?O.scaleX:O.scale,S.scaleX),scaleY:lt(null!=O.scaleY?O.scaleY:O.scale,S.scaleY),scaleZ:lt(O.scaleZ,S.scaleZ),x:lt(O.x,S.x),y:lt(O.y,S.y),z:lt(O.z,S.z),xPercent:lt(O.xPercent,S.xPercent),yPercent:lt(O.yPercent,S.yPercent),perspective:lt(O.transformPerspective,S.perspective)},null!=(v=O.directionalRotation))if("object"==typeof v)for(f in v)O[f]=v[f];else O.rotation=v;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(h.x=0,h.xPercent=lt(O.x,S.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(h.y=0,h.yPercent=lt(O.y,S.yPercent)),h.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:S.rotation,S.rotation,"rotation",E),Mt&&(h.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":S.rotationX||0,S.rotationX,"rotationX",E),h.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":S.rotationY||0,S.rotationY,"rotationY",E)),h.skewX=ut(O.skewX,S.skewX),h.skewY=ut(O.skewY,S.skewY)}for(Mt&&null!=O.force3D&&(S.force3D=O.force3D,d=!0),(p=S.force3D||S.z||S.rotationX||S.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==O.scale||(h.scaleZ=1);--P>-1;)((k=h[T=At[P]]-S[T])>1e-6||k<-1e-6||null!=O[T]||null!=N[T])&&(d=!0,s=new gt(S,T,S[T],k,s),T in E&&(s.e=E[T]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return k=O.transformOrigin,S.svg&&(k||O.svgOrigin)&&(g=S.xOffset,y=S.yOffset,Bt(t,st(k),h,O.svgOrigin,O.smoothOrigin),s=yt(S,"xOrigin",(x?S:h).xOrigin,h.xOrigin,s,"transformOrigin"),s=yt(S,"yOrigin",(x?S:h).yOrigin,h.yOrigin,s,"transformOrigin"),g===S.xOffset&&y===S.yOffset||(s=yt(S,"xOffset",x?g:S.xOffset,S.xOffset,s,"transformOrigin"),s=yt(S,"yOffset",x?y:S.yOffset,S.yOffset,s,"transformOrigin")),k="0px 0px"),(k||Mt&&p&&S.zOrigin)&&(Rt?(d=!0,T=It,k=(k||J(t,T,i,!1,"50% 50%"))+"",(s=new gt(w,T,0,0,s,-1,"transformOrigin")).b=w[T],s.plugin=a,Mt?(f=S.zOrigin,k=k.split(" "),S.zOrigin=(k.length>2&&(0===f||"0px"!==k[2])?parseFloat(k[2]):f)||0,s.xs0=s.e=k[0]+" "+(k[1]||"50%")+" 0px",(s=new gt(S,"zOrigin",0,0,s,-1,s.n)).b=f,s.xs0=s.e=S.zOrigin):s.xs0=s.e=k):st(k+"",S)),d&&(r._transformType=S.svg&&Ot||!p&&3!==this._transformType?2:3),u&&(l[n]=u),c&&(l.scale=c),s},prefix:!0}),wt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),wt("borderRadius",{defaultValue:"0px",parser:function(t,n,r,o,s,a){n=this.format(n);var l,u,c,h,f,p,d,_,m,v,g,y,b,T,x,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=n.split(" "),u=0;u-1;)(c=-1!==(m=a[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-X.width:t.offsetHeight-X.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,v,o,s)},formatter:st}),wt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:st(-1===t.indexOf(" ")?t+" "+t:t)}}),wt("perspective",{defaultValue:"0px",prefix:!0}),wt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),wt("transformStyle",{prefix:!0}),wt("backfaceVisibility",{prefix:!0}),wt("userSelect",{prefix:!0}),wt("margin",{parser:mt("marginTop,marginRight,marginBottom,marginLeft")}),wt("padding",{parser:mt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),wt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,n,r,o,s){var a,l,u;return d<9?(l=t.currentStyle,u=d<8?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(J(t,this.p,i,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),wt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),wt("autoRound,strictUnits",{parser:function(t,e,i,n,r){return r}}),wt("border",{defaultValue:"0px solid #000",parser:function(t,e,n,r,o,s){var a=J(t,"borderTopWidth",i,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/K(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+J(t,"borderTopStyle",i,!1,"solid")+" "+J(t,"borderTopColor",i,!1,"#000")),l.join(" "),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),wt("borderWidth",{parser:mt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),wt("float,cssFloat,styleFloat",{parser:function(t,e,i,n,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new gt(s,a,0,0,r,-1,i,!1,0,s[a],e)}});var Gt=function(t){var e,i=this.t,n=i.filter||J(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===n.indexOf("atrix(")&&-1===n.indexOf("radient(")&&-1===n.indexOf("oader(")?(i.removeAttribute("filter"),e=!J(this.data,"filter")):(i.filter=n.replace(P,""),e=!0)),e||(this.xn1&&(i.filter=n=n||"alpha(opacity="+r+")"),-1===n.indexOf("pacity")?0===r&&this.xn1||(i.filter=n+" alpha(opacity="+r+")"):i.filter=n.replace(x,"opacity="+r))};wt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,n,r,o,s){var a=parseFloat(J(t,"opacity",i,!1,"1")),l=t.style,u="autoAlpha"===n;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===J(t,"visibility",i)&&0!==e&&(a=0),H?o=new gt(l,"opacity",a,e-a,o):((o=new gt(l,"opacity",100*a,100*(e-a),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=Gt),u&&((o=new gt(l,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(n)),o}});var $t=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(E,"-$1").toLowerCase())):t.removeAttribute(e))},Zt=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:$t(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)};wt("className",{parser:function(e,n,r,o,s,a,l){var u,c,h,f,p,d=e.getAttribute("class")||"",_=e.style.cssText;if((s=o._classNamePT=new gt(e,r,0,0,s,2)).setRatio=Zt,s.pr=-11,t=!0,s.b=d,c=et(e,i),h=e._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return e._gsClassPT=s,s.e="="!==n.charAt(1)?n:d.replace(new RegExp("(?:\\s|^)"+n.substr(2)+"(?![\\w-])"),"")+("+"===n.charAt(0)?" "+n.substr(2):""),e.setAttribute("class",s.e),u=it(e,c,et(e),l,f),e.setAttribute("class",d),s.data=u.firstMPT,e.style.cssText=_,s=s.xfirst=o.parse(e,u.difs,s,a)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,i,n,r,o,s=this.t.style,l=a.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(n=(e=this.e.split(" ").join("").split(",")).length;--n>-1;)i=e[n],a[i]&&(a[i].parse===l?r=!0:i="transformOrigin"===i?It:a[i].p),$t(s,i);r&&($t(s,Rt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(wt("clearProps",{parser:function(e,i,n,r,o){return(o=new gt(e,n,0,0,o,2)).setRatio=Qt,o.e=i,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),Tt=l.length;Tt--;)Pt(l[Tt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(n,s,l,f){if(!n.nodeType)return!1;this._target=_=n,this._tween=l,this._vars=s,m=f,u=s.autoRound,t=!1,e=s.suffixMap||o.suffixMap,i=Q(n,""),r=this._overwriteProps;var d,v,g,y,b,T,x,P,O,E=n.style;if(c&&""===E.zIndex&&("auto"!==(d=J(n,"zIndex",i))&&""!==d||this._addLazySet(E,"zIndex",0)),"string"==typeof s&&(y=E.cssText,d=et(n,i),E.cssText=y+";"+s,d=it(n,d,et(n)).difs,!H&&w.test(s)&&(d.opacity=parseFloat(RegExp.$1)),s=d,E.cssText=y),s.className?this._firstPT=v=a.className.parse(n,s.className,"className",this,null,null,s):this._firstPT=v=this.parse(n,s,null),this._transformType){for(O=3===this._transformType,Rt?h&&(c=!0,""===E.zIndex&&("auto"!==(x=J(n,"zIndex",i))&&""!==x||this._addLazySet(E,"zIndex",0)),p&&this._addLazySet(E,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(O?"visible":"hidden"))):E.zoom=1,g=v;g&&g._next;)g=g._next;P=new gt(n,"transform",0,0,null,2),this._linkCSSP(P,null,g),P.setRatio=Rt?qt:Wt,P.data=this._transform||Ht(n,i,!0),P.tween=l,P.pr=-1,r.pop()}if(t){for(;v;){for(T=v._next,g=y;g&&g.pr>v.pr;)g=g._next;(v._prev=g?g._prev:b)?v._prev._next=v:y=v,(v._next=g)?g._prev=v:b=v,v=T}this._firstPT=y}return!0},l.parse=function(t,n,r,o){var s,l,c,h,f,p,d,v,g,y,b=t.style;for(s in n){if("function"==typeof(p=n[s])&&(p=p(m,_)),l=a[s])r=l.parse(t,p,s,this,r,o,n);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(s)+"",p+"",s,!1,s);continue}f=J(t,s,i)+"",g="string"==typeof p,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||g&&O.test(p)?(g||(p=((p=ft(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=bt(b,s,f,p,!0,"transparent",r,0,o)):g&&M.test(p)?r=bt(b,s,f,p,!0,null,r,0,o):(d=(c=parseFloat(f))||0===c?f.substr((c+"").length):"",""!==f&&"auto"!==f||("width"===s||"height"===s?(c=ot(t,s,i),d="px"):"left"===s||"top"===s?(c=tt(t,s,i),d="px"):(c="opacity"!==s?0:1,d="")),(y=g&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),v=p.replace(T,"")):(h=parseFloat(p),v=g?p.replace(T,""):""),""===v&&(v=s in e?e[s]:d),p=h||0===h?(y?h+c:h)+v:n[s],d!==v&&(""===v&&"lineHeight"!==s||(h||0===h)&&c&&(c=K(t,s,c,d),"%"===v?(c/=K(t,s,100,"%")/100,!0!==n.strictUnits&&(f=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=K(t,s,1,v):"px"!==v&&(h=K(t,s,h,v),v="px"),y&&(h||0===h)&&(p=h+c+v))),y&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==b[s]&&(p||p+""!="NaN"&&null!=p)?(r=new gt(b,s,h||c||0,0,r,-1,s,!1,0,f,p)).xs0="none"!==p||"display"!==s&&-1===s.indexOf("Style")?p:f:q("invalid "+s+" tween value: "+n[s]):(r=new gt(b,s,c,h-c,r,0,s,!1!==u&&("px"===v||"zIndex"===s),0,f,p)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,i,n,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===(n=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===n)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===n)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,n=1;n-1;)Kt(t[r],e,i);else for(r=(n=t.childNodes).length;--r>-1;)s=(o=n[r]).type,o.style&&(e.push(et(o)),i&&i.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||Kt(o,e,i)};return o.cascadeTo=function(t,e,i){var r,o,s,a,l=n.l.to(t,e,i),u=[l],c=[],h=[],f=[],p=n.l._internals.reservedProps;for(t=l._targets||l.target,Kt(t,c,f),l.render(e,!0,!0),Kt(t,h),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((o=it(f[r],c[r],h[r])).firstMPT){for(s in o=o.difs,i)p[s]&&(o[s]=i[s]);for(s in a={},o)a[s]=c[r][s];u.push(n.l.fromTo(f[r],e,a,o))}return u},n.j.activate([o]),o},!0);const a=n.k.CSSPlugin,l=n.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,i,n){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(n,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),u=n.k._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}},h=function(t,e){for(;t;)t.f||t.blob||(t.m=e||Math.round),t=t._next},f=u.prototype; +i.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(){var t,e,n,r,o=function(){i.j.call(this,"css"),this._overwriteProps.length=0,this.setRatio=o.prototype.setRatio},s=i.k._gsDefine.globals,a={},l=o.prototype=new i.j("css");l.constructor=o,o.version="1.20.5",o.API=2,o.defaultTransformPerspective=0,o.defaultSkewType="compensated",o.defaultSmoothOrigin=!0,l="px",o.suffixMap={top:l,right:l,bottom:l,left:l,width:l,height:l,fontSize:l,padding:l,margin:l,perspective:l,lineHeight:""};var u,c,h,f,p,d,_,m,v=/(?:\-|\.|\b)(\d|\.|e\-)+/g,g=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,y=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,b=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,T=/(?:\d|\-|\+|=|#|\.)*/g,x=/opacity *= *([^)]*)/i,w=/opacity:([^;]*)/i,P=/alpha\(opacity *=.+?\)/i,O=/^(rgb|hsl)/,S=/([A-Z])/g,E=/-([a-z])/gi,k=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,A=function(t,e){return e.toUpperCase()},C=/(?:Left|Right|Width)/i,R=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,j=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,M=/,(?=[^\)]*(?:\(|$))/gi,I=/[\s,\(]/i,L=Math.PI/180,D=180/Math.PI,N={},z={style:{}},F=i.k.document||{createElement:function(){return z}},V=function(t,e){return F.createElementNS?F.createElementNS(e||"http://www.w3.org/1999/xhtml",t):F.createElement(t)},B=V("div"),X=V("img"),H=o._internals={_specialProps:a},U=(i.k.navigator||{}).userAgent||"",Y=function(){var t=U.indexOf("Android"),e=V("a");return h=-1!==U.indexOf("Safari")&&-1===U.indexOf("Chrome")&&(-1===t||parseFloat(U.substr(t+8,2))>3),p=h&&parseFloat(U.substr(U.indexOf("Version/")+8,2))<6,f=-1!==U.indexOf("Firefox"),(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(U)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(U))&&(d=parseFloat(RegExp.$1)),!!e&&(e.style.cssText="top:1px;opacity:.55;",/^0.55/.test(e.style.opacity))}(),W=function(t){return x.test("string"==typeof t?t:(t.currentStyle?t.currentStyle.filter:t.style.filter)||"")?parseFloat(RegExp.$1)/100:1},G=function(t){i.k.console&&console.log(t)},q="",$="",Z=function(t,e){var n,i,r=(e=e||B).style;if(void 0!==r[t])return t;for(t=t.charAt(0).toUpperCase()+t.substr(1),n=["O","Moz","ms","Ms","Webkit"],i=5;--i>-1&&void 0===r[n[i]+t];);return i>=0?(q="-"+($=3===i?"ms":n[i]).toLowerCase()+"-",$+t):null},Q=("undefined"!=typeof window?window:F.defaultView||{getComputedStyle:function(){}}).getComputedStyle,K=o.getStyle=function(t,e,n,i,r){var o;return Y||"opacity"!==e?(!i&&t.style[e]?o=t.style[e]:(n=n||Q(t))?o=n[e]||n.getPropertyValue(e)||n.getPropertyValue(e.replace(S,"-$1").toLowerCase()):t.currentStyle&&(o=t.currentStyle[e]),null==r||o&&"none"!==o&&"auto"!==o&&"auto auto"!==o?o:r):W(t)},J=H.convertToPixels=function(t,e,n,r,s){if("px"===r||!r&&"lineHeight"!==e)return n;if("auto"===r||!n)return 0;var a,l,u,c=C.test(e),h=t,f=B.style,p=n<0,d=1===n;if(p&&(n=-n),d&&(n*=100),"lineHeight"!==e||r)if("%"===r&&-1!==e.indexOf("border"))a=n/100*(c?t.clientWidth:t.clientHeight);else{if(f.cssText="border:0 solid red;position:"+K(t,"position")+";line-height:0;","%"!==r&&h.appendChild&&"v"!==r.charAt(0)&&"rem"!==r)f[c?"borderLeftWidth":"borderTopWidth"]=n+r;else{if(h=t.parentNode||F.body,-1!==K(h,"display").indexOf("flex")&&(f.position="absolute"),l=h._gsCache,u=i.l.ticker.frame,l&&c&&l.time===u)return l.width*n/100;f[c?"width":"height"]=n+r}h.appendChild(B),a=parseFloat(B[c?"offsetWidth":"offsetHeight"]),h.removeChild(B),c&&"%"===r&&!1!==o.cacheWidths&&((l=h._gsCache=h._gsCache||{}).time=u,l.width=a/n*100),0!==a||s||(a=J(t,e,n,r,!0))}else l=Q(t).lineHeight,t.style.lineHeight=n,a=parseFloat(Q(t).lineHeight),t.style.lineHeight=l;return d&&(a/=100),p?-a:a},tt=H.calculateOffset=function(t,e,n){if("absolute"!==K(t,"position",n))return 0;var i="left"===e?"Left":"Top",r=K(t,"margin"+i,n);return t["offset"+i]-(J(t,e,parseFloat(r),r.replace(T,""))||0)},et=function(t,e){var n,i,r,o={};if(e=e||Q(t,null))if(n=e.length)for(;--n>-1;)-1!==(r=e[n]).indexOf("-transform")&&jt!==r||(o[r.replace(E,A)]=e.getPropertyValue(r));else for(n in e)-1!==n.indexOf("Transform")&&Rt!==n||(o[n]=e[n]);else if(e=t.currentStyle||t.style)for(n in e)"string"==typeof n&&void 0===o[n]&&(o[n.replace(E,A)]=e[n]);return Y||(o.opacity=W(t)),i=Yt(t,e,!1),o.rotation=i.rotation,o.skewX=i.skewX,o.scaleX=i.scaleX,o.scaleY=i.scaleY,o.x=i.x,o.y=i.y,It&&(o.z=i.z,o.rotationX=i.rotationX,o.rotationY=i.rotationY,o.scaleZ=i.scaleZ),o.filters&&delete o.filters,o},nt=function(t,e,n,i,r){var o,s,a,l={},u=t.style;for(s in n)"cssText"!==s&&"length"!==s&&isNaN(s)&&(e[s]!==(o=n[s])||r&&r[s])&&-1===s.indexOf("Origin")&&("number"!=typeof o&&"string"!=typeof o||(l[s]="auto"!==o||"left"!==s&&"top"!==s?""!==o&&"auto"!==o&&"none"!==o||"string"!=typeof e[s]||""===e[s].replace(b,"")?o:0:tt(t,s),void 0!==u[s]&&(a=new vt(u,s,u[s],a))));if(i)for(s in i)"className"!==s&&(l[s]=i[s]);return{difs:l,firstMPT:a}},it={width:["Left","Right"],height:["Top","Bottom"]},rt=["marginLeft","marginRight","marginTop","marginBottom"],ot=function(t,e,n){if("svg"===(t.nodeName+"").toLowerCase())return(n||Q(t))[e]||0;if(t.getCTM&&Xt(t))return t.getBBox()[e]||0;var i=parseFloat("width"===e?t.offsetWidth:t.offsetHeight),r=it[e],o=r.length;for(n=n||Q(t,null);--o>-1;)i-=parseFloat(K(t,"padding"+r[o],n,!0))||0,i-=parseFloat(K(t,"border"+r[o]+"Width",n,!0))||0;return i},st=function(t,e){if("contain"===t||"auto"===t||"auto auto"===t)return t+" ";null!=t&&""!==t||(t="0 0");var n,i=t.split(" "),r=-1!==t.indexOf("left")?"0%":-1!==t.indexOf("right")?"100%":i[0],o=-1!==t.indexOf("top")?"0%":-1!==t.indexOf("bottom")?"100%":i[1];if(i.length>3&&!e){for(i=t.split(", ").join(",").split(","),t=[],n=0;n2?" "+i[2]:""),e&&(e.oxp=-1!==r.indexOf("%"),e.oyp=-1!==o.indexOf("%"),e.oxr="="===r.charAt(1),e.oyr="="===o.charAt(1),e.ox=parseFloat(r.replace(b,"")),e.oy=parseFloat(o.replace(b,"")),e.v=t),e||t},at=function(t,e){return"function"==typeof t&&(t=t(m,_)),"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2)):parseFloat(t)-parseFloat(e)||0},lt=function(t,e){return"function"==typeof t&&(t=t(m,_)),null==t?e:"string"==typeof t&&"="===t.charAt(1)?parseInt(t.charAt(0)+"1",10)*parseFloat(t.substr(2))+e:parseFloat(t)||0},ut=function(t,e,n,i){var r,o,s,a,l;return"function"==typeof t&&(t=t(m,_)),null==t?a=e:"number"==typeof t?a=t:(r=360,o=t.split("_"),s=((l="="===t.charAt(1))?parseInt(t.charAt(0)+"1",10)*parseFloat(o[0].substr(2)):parseFloat(o[0]))*(-1===t.indexOf("rad")?1:D)-(l?0:e),o.length&&(i&&(i[n]=e+s),-1!==t.indexOf("short")&&(s%=r)!==s%(r/2)&&(s=s<0?s+r:s-r),-1!==t.indexOf("_cw")&&s<0?s=(s+9999999999*r)%r-(s/r|0)*r:-1!==t.indexOf("ccw")&&s>0&&(s=(s-9999999999*r)%r-(s/r|0)*r)),a=e+s),a<1e-6&&a>-1e-6&&(a=0),a},ct={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]},ht=function(t,e,n){return 255*(6*(t=t<0?t+1:t>1?t-1:t)<1?e+(n-e)*t*6:t<.5?n:3*t<2?e+(n-e)*(2/3-t)*6:e)+.5|0},ft=o.parseColor=function(t,e){var n,i,r,o,s,a,l,u,c,h,f;if(t)if("number"==typeof t)n=[t>>16,t>>8&255,255&t];else{if(","===t.charAt(t.length-1)&&(t=t.substr(0,t.length-1)),ct[t])n=ct[t];else if("#"===t.charAt(0))4===t.length&&(t="#"+(i=t.charAt(1))+i+(r=t.charAt(2))+r+(o=t.charAt(3))+o),n=[(t=parseInt(t.substr(1),16))>>16,t>>8&255,255&t];else if("hsl"===t.substr(0,3))if(n=f=t.match(v),e){if(-1!==t.indexOf("="))return t.match(g)}else s=Number(n[0])%360/360,a=Number(n[1])/100,i=2*(l=Number(n[2])/100)-(r=l<=.5?l*(a+1):l+a-l*a),n.length>3&&(n[3]=Number(n[3])),n[0]=ht(s+1/3,i,r),n[1]=ht(s,i,r),n[2]=ht(s-1/3,i,r);else n=t.match(v)||ct.transparent;n[0]=Number(n[0]),n[1]=Number(n[1]),n[2]=Number(n[2]),n.length>3&&(n[3]=Number(n[3]))}else n=ct.black;return e&&!f&&(i=n[0]/255,r=n[1]/255,o=n[2]/255,l=((u=Math.max(i,r,o))+(c=Math.min(i,r,o)))/2,u===c?s=a=0:(h=u-c,a=l>.5?h/(2-u-c):h/(u+c),s=u===i?(r-o)/h+(r0?s[0].replace(v,""):"";return c?r=e?function(t){var e,f,p,d;if("number"==typeof t)t+=h;else if(i&&M.test(t)){for(d=t.replace(M,"|").split("|"),p=0;pp--)for(;++pf--)for(;++f>0];return r.parse(e,a,o,s)}},vt=(H._setPluginRatio=function(t){this.plugin.setRatio(t);for(var e,n,i,r,o,s=this.data,a=s.proxy,l=s.firstMPT;l;)e=a[l.v],l.r?e=l.r(e):e<1e-6&&e>-1e-6&&(e=0),l.t[l.p]=e,l=l._next;if(s.autoRotate&&(s.autoRotate.rotation=s.mod?s.mod.call(this._tween,a.rotation,this.t,this._tween):a.rotation),1===t||0===t)for(l=s.firstMPT,o=1===t?"e":"b";l;){if((n=l.t).type){if(1===n.type){for(r=n.xs0+n.s+n.xs1,i=1;i0;)l="xn"+s,p[a=i.p+"_"+l]=i.data[l],f[a]=i[l],o||(u=new vt(i,l,a,u,i.rxp[l]));i=i._next}return{proxy:f,end:p,firstMPT:u,pt:c}},H.CSSPropTween=function(e,n,i,o,s,a,l,u,c,h,f){this.t=e,this.p=n,this.s=i,this.c=o,this.n=l||n,e instanceof gt||r.push(this.n),this.r=u?"function"==typeof u?u:Math.round:u,this.type=a||0,c&&(this.pr=c,t=!0),this.b=void 0===h?i:h,this.e=void 0===f?i+o:f,s&&(this._next=s,s._prev=this)}),yt=function(t,e,n,i,r,o){var s=new gt(t,e,n,i-n,r,-1,o);return s.b=n,s.e=s.xs0=i,s},bt=o.parseComplex=function(t,e,n,i,r,s,a,l,c,h){n=n||s||"","function"==typeof i&&(i=i(m,_)),a=new gt(t,e,0,0,a,h?2:1,null,!1,l,n,i),i+="",r&&dt.test(i+n)&&(i=[n,i],o.colorStringFilter(i),n=i[0],i=i[1]);var f,p,d,y,b,T,x,w,P,O,S,E,k,A=n.split(", ").join(",").split(" "),C=i.split(", ").join(",").split(" "),R=A.length,j=!1!==u;for(-1===i.indexOf(",")&&-1===n.indexOf(",")||(-1!==(i+n).indexOf("rgb")||-1!==(i+n).indexOf("hsl")?(A=A.join(" ").replace(M,", ").split(" "),C=C.join(" ").replace(M,", ").split(" ")):(A=A.join(" ").split(",").join(", ").split(" "),C=C.join(" ").split(",").join(", ").split(" ")),R=A.length),R!==C.length&&(R=(A=(s||"").split(" ")).length),a.plugin=c,a.setRatio=h,dt.lastIndex=0,f=0;f6)&&!Y&&0===b[3]?(a["xs"+a.l]+=a.l?" transparent":"transparent",a.e=a.e.split(C[f]).join("transparent")):(Y||(P=!1),k?a.appendXtra(O.substr(0,O.indexOf("hsl"))+(P?"hsla(":"hsl("),y[0],at(b[0],y[0]),",",!1,!0).appendXtra("",y[1],at(b[1],y[1]),"%,",!1).appendXtra("",y[2],at(b[2],y[2]),P?"%,":"%"+E,!1):a.appendXtra(O.substr(0,O.indexOf("rgb"))+(P?"rgba(":"rgb("),y[0],b[0]-y[0],",",Math.round,!0).appendXtra("",y[1],b[1]-y[1],",",Math.round).appendXtra("",y[2],b[2]-y[2],P?",":E,Math.round),P&&(y=y.length<4?1:y[3],a.appendXtra("",y,(b.length<4?1:b[3])-y,E,!1))),dt.lastIndex=0;else if(T=y.match(v)){if(!(x=b.match(g))||x.length!==T.length)return a;for(d=0,p=0;p0;)l["xn"+Tt]=0,l["xs"+Tt]="";l.xs0="",l._next=l._prev=l.xfirst=l.data=l.plugin=l.setRatio=l.rxp=null,l.appendXtra=function(t,e,n,i,r,o){var s=this,a=s.l;return s["xs"+a]+=o&&(a||s["xs"+a])?" "+t:t||"",n||0===a||s.plugin?(s.l++,s.type=s.setRatio?2:1,s["xs"+s.l]=i||"",a>0?(s.data["xn"+a]=e+n,s.rxp["xn"+a]=r,s["xn"+a]=e,s.plugin||(s.xfirst=new gt(s,"xn"+a,e,n,s.xfirst||s,0,s.n,r,s.pr),s.xfirst.xs0=0),s):(s.data={s:e+n},s.rxp={},s.s=e,s.c=n,s.r=r,s)):(s["xs"+a]+=e+(i||""),s)};var xt=function(t,e){e=e||{},this.p=e.prefix&&Z(t)||t,a[t]=a[this.p]=this,this.format=e.formatter||_t(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.pr=e.priority||0},wt=H._registerComplexSpecialProp=function(t,e,n){"object"!=typeof e&&(e={parser:n});var i,r=t.split(","),o=e.defaultValue;for(n=n||[o],i=0;ia.length?l.length:a.length,s=0;s-1;)o=Number(r[Tt]),r[Tt]=(s=o-(o|=0))?(1e5*s+(s<0?-.5:.5)|0)/1e5+o:o;return e&&r.length>6?[r[0],r[1],r[4],r[5],r[12],r[13]]:r},Yt=H.getTransform=function(t,e,n,r){if(t._gsTransform&&n&&!r)return t._gsTransform;var s,a,l,u,c,h,f=n&&t._gsTransform||new Lt,p=f.scaleX<0,d=It&&(parseFloat(K(t,Mt,e,!1,"0 0 0").split(" ")[2])||f.zOrigin)||0,_=parseFloat(o.defaultTransformPerspective)||0;if(f.svg=!(!t.getCTM||!Xt(t)),f.svg&&(Vt(t,K(t,Mt,e,!1,"50% 50%")+"",f,t.getAttribute("data-svg-origin")),Ot=o.useSVGTransformAttr||Ft),(s=Ut(t))!==Ht){if(16===s.length){var m,v,g,y,b,T=s[0],x=s[1],w=s[2],P=s[3],O=s[4],S=s[5],E=s[6],k=s[7],A=s[8],C=s[9],R=s[10],j=s[12],M=s[13],I=s[14],L=s[11],N=Math.atan2(E,R);f.zOrigin&&(j=A*(I=-f.zOrigin)-s[12],M=C*I-s[13],I=R*I+f.zOrigin-s[14]),f.rotationX=N*D,N&&(m=O*(y=Math.cos(-N))+A*(b=Math.sin(-N)),v=S*y+C*b,g=E*y+R*b,A=O*-b+A*y,C=S*-b+C*y,R=E*-b+R*y,L=k*-b+L*y,O=m,S=v,E=g),N=Math.atan2(-w,R),f.rotationY=N*D,N&&(v=x*(y=Math.cos(-N))-C*(b=Math.sin(-N)),g=w*y-R*b,C=x*b+C*y,R=w*b+R*y,L=P*b+L*y,T=m=T*y-A*b,x=v,w=g),N=Math.atan2(x,T),f.rotation=N*D,N&&(m=T*(y=Math.cos(N))+x*(b=Math.sin(N)),v=O*y+S*b,g=A*y+C*b,x=x*y-T*b,S=S*y-O*b,C=C*y-A*b,T=m,O=v,A=g),f.rotationX&&Math.abs(f.rotationX)+Math.abs(f.rotation)>359.9&&(f.rotationX=f.rotation=0,f.rotationY=180-f.rotationY),N=Math.atan2(O,S),f.scaleX=(1e5*Math.sqrt(T*T+x*x+w*w)+.5|0)/1e5,f.scaleY=(1e5*Math.sqrt(S*S+E*E)+.5|0)/1e5,f.scaleZ=(1e5*Math.sqrt(A*A+C*C+R*R)+.5|0)/1e5,T/=f.scaleX,O/=f.scaleY,x/=f.scaleX,S/=f.scaleY,Math.abs(N)>2e-5?(f.skewX=N*D,O=0,"simple"!==f.skewType&&(f.scaleY*=1/Math.cos(N))):f.skewX=0,f.perspective=L?1/(L<0?-L:L):0,f.x=j,f.y=M,f.z=I,f.svg&&(f.x-=f.xOrigin-(f.xOrigin*T-f.yOrigin*O),f.y-=f.yOrigin-(f.yOrigin*x-f.xOrigin*S))}else if(!It||r||!s.length||f.x!==s[4]||f.y!==s[5]||!f.rotationX&&!f.rotationY){var z=s.length>=6,F=z?s[0]:1,V=s[1]||0,B=s[2]||0,X=z?s[3]:1;f.x=s[4]||0,f.y=s[5]||0,l=Math.sqrt(F*F+V*V),u=Math.sqrt(X*X+B*B),c=F||V?Math.atan2(V,F)*D:f.rotation||0,h=B||X?Math.atan2(B,X)*D+c:f.skewX||0,f.scaleX=l,f.scaleY=u,f.rotation=c,f.skewX=h,It&&(f.rotationX=f.rotationY=f.z=0,f.perspective=_,f.scaleZ=1),f.svg&&(f.x-=f.xOrigin-(f.xOrigin*F+f.yOrigin*B),f.y-=f.yOrigin-(f.xOrigin*V+f.yOrigin*X))}for(a in Math.abs(f.skewX)>90&&Math.abs(f.skewX)<270&&(p?(f.scaleX*=-1,f.skewX+=f.rotation<=0?180:-180,f.rotation+=f.rotation<=0?180:-180):(f.scaleY*=-1,f.skewX+=f.skewX<=0?180:-180)),f.zOrigin=d,f)f[a]<2e-5&&f[a]>-2e-5&&(f[a]=0)}return n&&(t._gsTransform=f,f.svg&&(Ot&&t.style[Rt]?i.l.delayedCall(.001,function(){$t(t.style,Rt)}):!Ot&&t.getAttribute("transform")&&i.l.delayedCall(.001,function(){t.removeAttribute("transform")}))),f},Wt=function(t){var e,n,i=this.data,r=-i.rotation*L,o=r+i.skewX*L,s=(Math.cos(r)*i.scaleX*1e5|0)/1e5,a=(Math.sin(r)*i.scaleX*1e5|0)/1e5,l=(Math.sin(o)*-i.scaleY*1e5|0)/1e5,u=(Math.cos(o)*i.scaleY*1e5|0)/1e5,c=this.t.style,h=this.t.currentStyle;if(h){n=a,a=-l,l=-n,e=h.filter,c.filter="";var f,p,_=this.t.offsetWidth,m=this.t.offsetHeight,v="absolute"!==h.position,g="progid:DXImageTransform.Microsoft.Matrix(M11="+s+", M12="+a+", M21="+l+", M22="+u,y=i.x+_*i.xPercent/100,b=i.y+m*i.yPercent/100;if(null!=i.ox&&(y+=(f=(i.oxp?_*i.ox*.01:i.ox)-_/2)-(f*s+(p=(i.oyp?m*i.oy*.01:i.oy)-m/2)*a),b+=p-(f*l+p*u)),g+=v?", Dx="+((f=_/2)-(f*s+(p=m/2)*a)+y)+", Dy="+(p-(f*l+p*u)+b)+")":", sizingMethod='auto expand')",-1!==e.indexOf("DXImageTransform.Microsoft.Matrix(")?c.filter=e.replace(j,g):c.filter=g+" "+e,0!==t&&1!==t||1===s&&0===a&&0===l&&1===u&&(v&&-1===g.indexOf("Dx=0, Dy=0")||x.test(e)&&100!==parseFloat(RegExp.$1)||-1===e.indexOf(e.indexOf("Alpha"))&&c.removeAttribute("filter")),!v){var w,P,O,S=d<8?1:-1;for(f=i.ieOffsetX||0,p=i.ieOffsetY||0,i.ieOffsetX=Math.round((_-((s<0?-s:s)*_+(a<0?-a:a)*m))/2+y),i.ieOffsetY=Math.round((m-((u<0?-u:u)*m+(l<0?-l:l)*_))/2+b),Tt=0;Tt<4;Tt++)O=(n=-1!==(w=h[P=rt[Tt]]).indexOf("px")?parseFloat(w):J(this.t,P,parseFloat(w),w.replace(T,""))||0)!==i[P]?Tt<2?-i.ieOffsetX:-i.ieOffsetY:Tt<2?f-i.ieOffsetX:p-i.ieOffsetY,c[P]=(i[P]=Math.round(n-O*(0===Tt||2===Tt?1:S)))+"px"}}},Gt=H.set3DTransformRatio=H.setTransformRatio=function(t){var e,n,i,r,o,s,a,l,u,c,h,p,d,_,m,v,g,y,b,T,x,w=this.data,P=this.t.style,O=w.rotation,S=w.rotationX,E=w.rotationY,k=w.scaleX,A=w.scaleY,C=w.scaleZ,R=w.x,j=w.y,M=w.z,I=w.svg,D=w.perspective,N=w.force3D,z=w.skewY,F=w.skewX;if(z&&(F+=z,O+=z),!((1!==t&&0!==t||"auto"!==N||this.tween._totalTime!==this.tween._totalDuration&&this.tween._totalTime)&&N||M||D||E||S||1!==C)||Ot&&I||!It)O||F||I?(O*=L,T=F*L,x=1e5,n=Math.cos(O)*k,o=Math.sin(O)*k,i=Math.sin(O-T)*-A,s=Math.cos(O-T)*A,T&&"simple"===w.skewType&&(e=Math.tan(T-z*L),i*=e=Math.sqrt(1+e*e),s*=e,z&&(e=Math.tan(z*L),n*=e=Math.sqrt(1+e*e),o*=e)),I&&(R+=w.xOrigin-(w.xOrigin*n+w.yOrigin*i)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset,Ot&&(w.xPercent||w.yPercent)&&(m=this.t.getBBox(),R+=.01*w.xPercent*m.width,j+=.01*w.yPercent*m.height),R<(m=1e-6)&&R>-m&&(R=0),j-m&&(j=0)),b=(n*x|0)/x+","+(o*x|0)/x+","+(i*x|0)/x+","+(s*x|0)/x+","+R+","+j+")",I&&Ot?this.t.setAttribute("transform","matrix("+b):P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+b):P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix(":"matrix(")+k+",0,0,"+A+","+R+","+j+")";else{if(f&&(k<(m=1e-4)&&k>-m&&(k=C=2e-5),A-m&&(A=C=2e-5),!D||w.z||w.rotationX||w.rotationY||(D=0)),O||F)O*=L,v=n=Math.cos(O),g=o=Math.sin(O),F&&(O-=F*L,v=Math.cos(O),g=Math.sin(O),"simple"===w.skewType&&(e=Math.tan((F-z)*L),v*=e=Math.sqrt(1+e*e),g*=e,w.skewY&&(e=Math.tan(z*L),n*=e=Math.sqrt(1+e*e),o*=e))),i=-g,s=v;else{if(!(E||S||1!==C||D||I))return void(P[Rt]=(w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) translate3d(":"translate3d(")+R+"px,"+j+"px,"+M+"px)"+(1!==k||1!==A?" scale("+k+","+A+")":""));n=s=1,i=o=0}c=1,r=a=l=u=h=p=0,d=D?-1/D:0,_=w.zOrigin,m=1e-6,",","0",(O=E*L)&&(v=Math.cos(O),l=-(g=Math.sin(O)),h=d*-g,r=n*g,a=o*g,c=v,d*=v,n*=v,o*=v),(O=S*L)&&(e=i*(v=Math.cos(O))+r*(g=Math.sin(O)),y=s*v+a*g,u=c*g,p=d*g,r=i*-g+r*v,a=s*-g+a*v,c*=v,d*=v,i=e,s=y),1!==C&&(r*=C,a*=C,c*=C,d*=C),1!==A&&(i*=A,s*=A,u*=A,p*=A),1!==k&&(n*=k,o*=k,l*=k,h*=k),(_||I)&&(_&&(R+=r*-_,j+=a*-_,M+=c*-_+_),I&&(R+=w.xOrigin-(w.xOrigin*n+w.yOrigin*i)+w.xOffset,j+=w.yOrigin-(w.xOrigin*o+w.yOrigin*s)+w.yOffset),R-m&&(R="0"),j-m&&(j="0"),M-m&&(M=0)),b=w.xPercent||w.yPercent?"translate("+w.xPercent+"%,"+w.yPercent+"%) matrix3d(":"matrix3d(",b+=(n-m?"0":n)+","+(o-m?"0":o)+","+(l-m?"0":l),b+=","+(h-m?"0":h)+","+(i-m?"0":i)+","+(s-m?"0":s),S||E||1!==C?(b+=","+(u-m?"0":u)+","+(p-m?"0":p)+","+(r-m?"0":r),b+=","+(a-m?"0":a)+","+(c-m?"0":c)+","+(d-m?"0":d)+","):b+=",0,0,0,0,1,0,",b+=R+","+j+","+M+","+(D?1+-M/D:1)+")",P[Rt]=b}};(l=Lt.prototype).x=l.y=l.z=l.skewX=l.skewY=l.rotation=l.rotationX=l.rotationY=l.zOrigin=l.xPercent=l.yPercent=l.xOffset=l.yOffset=0,l.scaleX=l.scaleY=l.scaleZ=1,wt("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,i,r,s,a,l){if(r._lastParsedTransform===l)return s;r._lastParsedTransform=l;var u,c=l.scale&&"function"==typeof l.scale?l.scale:0;"function"==typeof l[i]&&(u=l[i],l[i]=e),c&&(l.scale=c(m,t));var h,f,p,d,v,g,y,b,T,x=t._gsTransform,w=t.style,P=Ct.length,O=l,S={},E=Yt(t,n,!0,O.parseTransform),k=O.transform&&("function"==typeof O.transform?O.transform(m,_):O.transform);if(E.skewType=O.skewType||E.skewType||o.defaultSkewType,r._transform=E,k&&"string"==typeof k&&Rt)(f=B.style)[Rt]=k,f.display="block",f.position="absolute",-1!==k.indexOf("%")&&(f.width=K(t,"width"),f.height=K(t,"height")),F.body.appendChild(B),h=Yt(B,null,!1),"simple"===E.skewType&&(h.scaleY*=Math.cos(h.skewX*L)),E.svg&&(g=E.xOrigin,y=E.yOrigin,h.x-=E.xOffset,h.y-=E.yOffset,(O.transformOrigin||O.svgOrigin)&&(k={},Vt(t,st(O.transformOrigin),k,O.svgOrigin,O.smoothOrigin,!0),g=k.xOrigin,y=k.yOrigin,h.x-=k.xOffset-E.xOffset,h.y-=k.yOffset-E.yOffset),(g||y)&&(b=Ut(B,!0),h.x-=g-(g*b[0]+y*b[2]),h.y-=y-(g*b[1]+y*b[3]))),F.body.removeChild(B),h.perspective||(h.perspective=E.perspective),null!=O.xPercent&&(h.xPercent=lt(O.xPercent,E.xPercent)),null!=O.yPercent&&(h.yPercent=lt(O.yPercent,E.yPercent));else if("object"==typeof O){if(h={scaleX:lt(null!=O.scaleX?O.scaleX:O.scale,E.scaleX),scaleY:lt(null!=O.scaleY?O.scaleY:O.scale,E.scaleY),scaleZ:lt(O.scaleZ,E.scaleZ),x:lt(O.x,E.x),y:lt(O.y,E.y),z:lt(O.z,E.z),xPercent:lt(O.xPercent,E.xPercent),yPercent:lt(O.yPercent,E.yPercent),perspective:lt(O.transformPerspective,E.perspective)},null!=(v=O.directionalRotation))if("object"==typeof v)for(f in v)O[f]=v[f];else O.rotation=v;"string"==typeof O.x&&-1!==O.x.indexOf("%")&&(h.x=0,h.xPercent=lt(O.x,E.xPercent)),"string"==typeof O.y&&-1!==O.y.indexOf("%")&&(h.y=0,h.yPercent=lt(O.y,E.yPercent)),h.rotation=ut("rotation"in O?O.rotation:"shortRotation"in O?O.shortRotation+"_short":"rotationZ"in O?O.rotationZ:E.rotation,E.rotation,"rotation",S),It&&(h.rotationX=ut("rotationX"in O?O.rotationX:"shortRotationX"in O?O.shortRotationX+"_short":E.rotationX||0,E.rotationX,"rotationX",S),h.rotationY=ut("rotationY"in O?O.rotationY:"shortRotationY"in O?O.shortRotationY+"_short":E.rotationY||0,E.rotationY,"rotationY",S)),h.skewX=ut(O.skewX,E.skewX),h.skewY=ut(O.skewY,E.skewY)}for(It&&null!=O.force3D&&(E.force3D=O.force3D,d=!0),(p=E.force3D||E.z||E.rotationX||E.rotationY||h.z||h.rotationX||h.rotationY||h.perspective)||null==O.scale||(h.scaleZ=1);--P>-1;)((k=h[T=Ct[P]]-E[T])>1e-6||k<-1e-6||null!=O[T]||null!=N[T])&&(d=!0,s=new gt(E,T,E[T],k,s),T in S&&(s.e=S[T]),s.xs0=0,s.plugin=a,r._overwriteProps.push(s.n));return k=O.transformOrigin,E.svg&&(k||O.svgOrigin)&&(g=E.xOffset,y=E.yOffset,Vt(t,st(k),h,O.svgOrigin,O.smoothOrigin),s=yt(E,"xOrigin",(x?E:h).xOrigin,h.xOrigin,s,"transformOrigin"),s=yt(E,"yOrigin",(x?E:h).yOrigin,h.yOrigin,s,"transformOrigin"),g===E.xOffset&&y===E.yOffset||(s=yt(E,"xOffset",x?g:E.xOffset,E.xOffset,s,"transformOrigin"),s=yt(E,"yOffset",x?y:E.yOffset,E.yOffset,s,"transformOrigin")),k="0px 0px"),(k||It&&p&&E.zOrigin)&&(Rt?(d=!0,T=Mt,k=(k||K(t,T,n,!1,"50% 50%"))+"",(s=new gt(w,T,0,0,s,-1,"transformOrigin")).b=w[T],s.plugin=a,It?(f=E.zOrigin,k=k.split(" "),E.zOrigin=(k.length>2&&(0===f||"0px"!==k[2])?parseFloat(k[2]):f)||0,s.xs0=s.e=k[0]+" "+(k[1]||"50%")+" 0px",(s=new gt(E,"zOrigin",0,0,s,-1,s.n)).b=f,s.xs0=s.e=E.zOrigin):s.xs0=s.e=k):st(k+"",E)),d&&(r._transformType=E.svg&&Ot||!p&&3!==this._transformType?2:3),u&&(l[i]=u),c&&(l.scale=c),s},prefix:!0}),wt("boxShadow",{defaultValue:"0px 0px 0px 0px #999",prefix:!0,color:!0,multi:!0,keyword:"inset"}),wt("borderRadius",{defaultValue:"0px",parser:function(t,i,r,o,s,a){i=this.format(i);var l,u,c,h,f,p,d,_,m,v,g,y,b,T,x,w,P=["borderTopLeftRadius","borderTopRightRadius","borderBottomRightRadius","borderBottomLeftRadius"],O=t.style;for(m=parseFloat(t.offsetWidth),v=parseFloat(t.offsetHeight),l=i.split(" "),u=0;u-1;)(c=-1!==(m=a[u]).indexOf("%"))!==(-1!==l[u].indexOf("%"))&&(h=0===u?t.offsetWidth-X.width:t.offsetHeight-X.height,a[u]=c?parseFloat(m)/100*h+"px":parseFloat(m)/h*100+"%");m=a.join(" ")}return this.parseComplex(t.style,m,v,o,s)},formatter:st}),wt("backgroundSize",{defaultValue:"0 0",formatter:function(t){return"co"===(t+="").substr(0,2)?t:st(-1===t.indexOf(" ")?t+" "+t:t)}}),wt("perspective",{defaultValue:"0px",prefix:!0}),wt("perspectiveOrigin",{defaultValue:"50% 50%",prefix:!0}),wt("transformStyle",{prefix:!0}),wt("backfaceVisibility",{prefix:!0}),wt("userSelect",{prefix:!0}),wt("margin",{parser:mt("marginTop,marginRight,marginBottom,marginLeft")}),wt("padding",{parser:mt("paddingTop,paddingRight,paddingBottom,paddingLeft")}),wt("clip",{defaultValue:"rect(0px,0px,0px,0px)",parser:function(t,e,i,r,o,s){var a,l,u;return d<9?(l=t.currentStyle,u=d<8?" ":",",a="rect("+l.clipTop+u+l.clipRight+u+l.clipBottom+u+l.clipLeft+")",e=this.format(e).split(",").join(u)):(a=this.format(K(t,this.p,n,!1,this.dflt)),e=this.format(e)),this.parseComplex(t.style,a,e,o,s)}}),wt("textShadow",{defaultValue:"0px 0px 0px #999",color:!0,multi:!0}),wt("autoRound,strictUnits",{parser:function(t,e,n,i,r){return r}}),wt("border",{defaultValue:"0px solid #000",parser:function(t,e,i,r,o,s){var a=K(t,"borderTopWidth",n,!1,"0px"),l=this.format(e).split(" "),u=l[0].replace(T,"");return"px"!==u&&(a=parseFloat(a)/J(t,"borderTopWidth",1,u)+u),this.parseComplex(t.style,this.format(a+" "+K(t,"borderTopStyle",n,!1,"solid")+" "+K(t,"borderTopColor",n,!1,"#000")),l.join(" "),o,s)},color:!0,formatter:function(t){var e=t.split(" ");return e[0]+" "+(e[1]||"solid")+" "+(t.match(dt)||["#000"])[0]}}),wt("borderWidth",{parser:mt("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")}),wt("float,cssFloat,styleFloat",{parser:function(t,e,n,i,r,o){var s=t.style,a="cssFloat"in s?"cssFloat":"styleFloat";return new gt(s,a,0,0,r,-1,n,!1,0,s[a],e)}});var qt=function(t){var e,n=this.t,i=n.filter||K(this.data,"filter")||"",r=this.s+this.c*t|0;100===r&&(-1===i.indexOf("atrix(")&&-1===i.indexOf("radient(")&&-1===i.indexOf("oader(")?(n.removeAttribute("filter"),e=!K(this.data,"filter")):(n.filter=i.replace(P,""),e=!0)),e||(this.xn1&&(n.filter=i=i||"alpha(opacity="+r+")"),-1===i.indexOf("pacity")?0===r&&this.xn1||(n.filter=i+" alpha(opacity="+r+")"):n.filter=i.replace(x,"opacity="+r))};wt("opacity,alpha,autoAlpha",{defaultValue:"1",parser:function(t,e,i,r,o,s){var a=parseFloat(K(t,"opacity",n,!1,"1")),l=t.style,u="autoAlpha"===i;return"string"==typeof e&&"="===e.charAt(1)&&(e=("-"===e.charAt(0)?-1:1)*parseFloat(e.substr(2))+a),u&&1===a&&"hidden"===K(t,"visibility",n)&&0!==e&&(a=0),Y?o=new gt(l,"opacity",a,e-a,o):((o=new gt(l,"opacity",100*a,100*(e-a),o)).xn1=u?1:0,l.zoom=1,o.type=2,o.b="alpha(opacity="+o.s+")",o.e="alpha(opacity="+(o.s+o.c)+")",o.data=t,o.plugin=s,o.setRatio=qt),u&&((o=new gt(l,"visibility",0,0,o,-1,null,!1,0,0!==a?"inherit":"hidden",0===e?"hidden":"inherit")).xs0="inherit",r._overwriteProps.push(o.n),r._overwriteProps.push(i)),o}});var $t=function(t,e){e&&(t.removeProperty?("ms"!==e.substr(0,2)&&"webkit"!==e.substr(0,6)||(e="-"+e),t.removeProperty(e.replace(S,"-$1").toLowerCase())):t.removeAttribute(e))},Zt=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,n=this.t.style;e;)e.v?n[e.p]=e.v:$t(n,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)};wt("className",{parser:function(e,i,r,o,s,a,l){var u,c,h,f,p,d=e.getAttribute("class")||"",_=e.style.cssText;if((s=o._classNamePT=new gt(e,r,0,0,s,2)).setRatio=Zt,s.pr=-11,t=!0,s.b=d,c=et(e,n),h=e._gsClassPT){for(f={},p=h.data;p;)f[p.p]=1,p=p._next;h.setRatio(1)}return e._gsClassPT=s,s.e="="!==i.charAt(1)?i:d.replace(new RegExp("(?:\\s|^)"+i.substr(2)+"(?![\\w-])"),"")+("+"===i.charAt(0)?" "+i.substr(2):""),e.setAttribute("class",s.e),u=nt(e,c,et(e),l,f),e.setAttribute("class",d),s.data=u.firstMPT,e.style.cssText=_,s=s.xfirst=o.parse(e,u.difs,s,a)}});var Qt=function(t){if((1===t||0===t)&&this.data._totalTime===this.data._totalDuration&&"isFromStart"!==this.data.data){var e,n,i,r,o,s=this.t.style,l=a.transform.parse;if("all"===this.e)s.cssText="",r=!0;else for(i=(e=this.e.split(" ").join("").split(",")).length;--i>-1;)n=e[i],a[n]&&(a[n].parse===l?r=!0:n="transformOrigin"===n?Mt:a[n].p),$t(s,n);r&&($t(s,Rt),(o=this.t._gsTransform)&&(o.svg&&(this.t.removeAttribute("data-svg-origin"),this.t.removeAttribute("transform")),delete this.t._gsTransform))}};for(wt("clearProps",{parser:function(e,n,i,r,o){return(o=new gt(e,i,0,0,o,2)).setRatio=Qt,o.e=n,o.pr=-10,o.data=r._tween,t=!0,o}}),l="bezier,throwProps,physicsProps,physics2D".split(","),Tt=l.length;Tt--;)Pt(l[Tt]);(l=o.prototype)._firstPT=l._lastParsedTransform=l._transform=null,l._onInitTween=function(i,s,l,f){if(!i.nodeType)return!1;this._target=_=i,this._tween=l,this._vars=s,m=f,u=s.autoRound,t=!1,e=s.suffixMap||o.suffixMap,n=Q(i,""),r=this._overwriteProps;var d,v,g,y,b,T,x,P,O,S=i.style;if(c&&""===S.zIndex&&("auto"!==(d=K(i,"zIndex",n))&&""!==d||this._addLazySet(S,"zIndex",0)),"string"==typeof s&&(y=S.cssText,d=et(i,n),S.cssText=y+";"+s,d=nt(i,d,et(i)).difs,!Y&&w.test(s)&&(d.opacity=parseFloat(RegExp.$1)),s=d,S.cssText=y),s.className?this._firstPT=v=a.className.parse(i,s.className,"className",this,null,null,s):this._firstPT=v=this.parse(i,s,null),this._transformType){for(O=3===this._transformType,Rt?h&&(c=!0,""===S.zIndex&&("auto"!==(x=K(i,"zIndex",n))&&""!==x||this._addLazySet(S,"zIndex",0)),p&&this._addLazySet(S,"WebkitBackfaceVisibility",this._vars.WebkitBackfaceVisibility||(O?"visible":"hidden"))):S.zoom=1,g=v;g&&g._next;)g=g._next;P=new gt(i,"transform",0,0,null,2),this._linkCSSP(P,null,g),P.setRatio=Rt?Gt:Wt,P.data=this._transform||Yt(i,n,!0),P.tween=l,P.pr=-1,r.pop()}if(t){for(;v;){for(T=v._next,g=y;g&&g.pr>v.pr;)g=g._next;(v._prev=g?g._prev:b)?v._prev._next=v:y=v,(v._next=g)?g._prev=v:b=v,v=T}this._firstPT=y}return!0},l.parse=function(t,i,r,o){var s,l,c,h,f,p,d,v,g,y,b=t.style;for(s in i){if("function"==typeof(p=i[s])&&(p=p(m,_)),l=a[s])r=l.parse(t,p,s,this,r,o,i);else{if("--"===s.substr(0,2)){this._tween._propLookup[s]=this._addTween.call(this._tween,t.style,"setProperty",Q(t).getPropertyValue(s)+"",p+"",s,!1,s);continue}f=K(t,s,n)+"",g="string"==typeof p,"color"===s||"fill"===s||"stroke"===s||-1!==s.indexOf("Color")||g&&O.test(p)?(g||(p=((p=ft(p)).length>3?"rgba(":"rgb(")+p.join(",")+")"),r=bt(b,s,f,p,!0,"transparent",r,0,o)):g&&I.test(p)?r=bt(b,s,f,p,!0,null,r,0,o):(d=(c=parseFloat(f))||0===c?f.substr((c+"").length):"",""!==f&&"auto"!==f||("width"===s||"height"===s?(c=ot(t,s,n),d="px"):"left"===s||"top"===s?(c=tt(t,s,n),d="px"):(c="opacity"!==s?0:1,d="")),(y=g&&"="===p.charAt(1))?(h=parseInt(p.charAt(0)+"1",10),p=p.substr(2),h*=parseFloat(p),v=p.replace(T,"")):(h=parseFloat(p),v=g?p.replace(T,""):""),""===v&&(v=s in e?e[s]:d),p=h||0===h?(y?h+c:h)+v:i[s],d!==v&&(""===v&&"lineHeight"!==s||(h||0===h)&&c&&(c=J(t,s,c,d),"%"===v?(c/=J(t,s,100,"%")/100,!0!==i.strictUnits&&(f=c+"%")):"em"===v||"rem"===v||"vw"===v||"vh"===v?c/=J(t,s,1,v):"px"!==v&&(h=J(t,s,h,v),v="px"),y&&(h||0===h)&&(p=h+c+v))),y&&(h+=c),!c&&0!==c||!h&&0!==h?void 0!==b[s]&&(p||p+""!="NaN"&&null!=p)?(r=new gt(b,s,h||c||0,0,r,-1,s,!1,0,f,p)).xs0="none"!==p||"display"!==s&&-1===s.indexOf("Style")?p:f:G("invalid "+s+" tween value: "+i[s]):(r=new gt(b,s,c,h-c,r,0,s,!1!==u&&("px"===v||"zIndex"===s),0,f,p)).xs0=v)}o&&r&&!r.plugin&&(r.plugin=o)}return r},l.setRatio=function(t){var e,n,i,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===(i=r.l))r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2;else if(3===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3;else if(4===i)r.t[r.p]=r.xs0+e+r.xs1+r.xn1+r.xs2+r.xn2+r.xs3+r.xn3+r.xs4;else if(5===i)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(n=r.xs0+e+r.xs1,i=1;i-1;)Jt(t[r],e,n);else for(r=(i=t.childNodes).length;--r>-1;)s=(o=i[r]).type,o.style&&(e.push(et(o)),n&&n.push(o)),1!==s&&9!==s&&11!==s||!o.childNodes.length||Jt(o,e,n)};return o.cascadeTo=function(t,e,n){var r,o,s,a,l=i.l.to(t,e,n),u=[l],c=[],h=[],f=[],p=i.l._internals.reservedProps;for(t=l._targets||l.target,Jt(t,c,f),l.render(e,!0,!0),Jt(t,h),l.render(0,!0,!0),l._enabled(!0),r=f.length;--r>-1;)if((o=nt(f[r],c[r],h[r])).firstMPT){for(s in o=o.difs,n)p[s]&&(o[s]=n[s]);for(s in a={},o)a[s]=c[r][s];u.push(i.l.fromTo(f[r],e,a,o))}return u},i.j.activate([o]),o},!0);const a=i.k.CSSPlugin,l=i.k._gsDefine.plugin({propName:"attr",API:2,version:"0.6.1",init:function(t,e,n,i){var r,o;if("function"!=typeof t.setAttribute)return!1;for(r in e)"function"==typeof(o=e[r])&&(o=o(i,t)),this._addTween(t,"setAttribute",t.getAttribute(r)+"",o+"",r,!1,r),this._overwriteProps.push(r);return!0}}),u=i.k._gsDefine.plugin({propName:"roundProps",version:"1.7.0",priority:-1,API:2,init:function(t,e,n){return this._tween=n,!0}}),c=function(t){var e=t<1?Math.pow(10,(t+"").length-2):1;return function(n){return(Math.round(n/t)*t*e|0)/e}},h=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-05-30 @@ -66,7 +81,7 @@ n.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function() * Club GreenSock members, the software agreement that was issued with your membership. * * @author: Jack Doyle, jack@greensock.com - */f._onInitAllProps=function(){var t,e,i,n,r=this._tween,o=r.vars.roundProps,s={},a=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),i=o.length;--i>-1;)s[o[i]]=Math.round;else for(n in o)s[n]=c(o[n]);for(n in s)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(s):t.n===n&&(2===t.f&&t.t?h(t.t._firstPT,s[n]):(this._add(t.t,n,t.s,t.c,s[n]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[n]=a)),t=e;return!1},f._add=function(t,e,i,n,r){this._addTween(t,e,i,i+n,e,r||Math.round),this._overwriteProps.push(e)}; + */f._onInitAllProps=function(){var t,e,n,i,r=this._tween,o=r.vars.roundProps,s={},a=r._propLookup.roundProps;if("object"!=typeof o||o.push)for("string"==typeof o&&(o=o.split(",")),n=o.length;--n>-1;)s[o[n]]=Math.round;else for(i in o)s[i]=c(o[i]);for(i in s)for(t=r._firstPT;t;)e=t._next,t.pg?t.t._mod(s):t.n===i&&(2===t.f&&t.t?h(t.t._firstPT,s[i]):(this._add(t.t,i,t.s,t.c,s[i]),e&&(e._prev=t._prev),t._prev?t._prev._next=e:r._firstPT===t&&(r._firstPT=e),t._next=t._prev=null,r._propLookup[i]=a)),t=e;return!1},f._add=function(t,e,n,i,r){this._addTween(t,e,n,n+i,e,r||Math.round),this._overwriteProps.push(e)}; /*! * VERSION: 0.3.1 * DATE: 2018-05-30 @@ -78,7 +93,7 @@ n.k._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function() * * @author: Jack Doyle, jack@greensock.com **/ -const p=n.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,i,n){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,s,a,l,u,c=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(a=e[r])&&(a=a(n,t)),o=(u=(a+"").split("_"))[0],s=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?s+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-s,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,s,s+l,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; +const p=i.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API:2,init:function(t,e,n,i){"object"!=typeof e&&(e={rotation:e}),this.finals={};var r,o,s,a,l,u,c=!0===e.useRadians?2*Math.PI:360;for(r in e)"useRadians"!==r&&("function"==typeof(a=e[r])&&(a=a(i,t)),o=(u=(a+"").split("_"))[0],s=parseFloat("function"!=typeof t[r]?t[r]:t[r.indexOf("set")||"function"!=typeof t["get"+r.substr(3)]?r:"get"+r.substr(3)]()),l=(a=this.finals[r]="string"==typeof o&&"="===o.charAt(1)?s+parseInt(o.charAt(0)+"1",10)*Number(o.substr(2)):Number(o)||0)-s,u.length&&(-1!==(o=u.join("_")).indexOf("short")&&(l%=c)!==l%(c/2)&&(l=l<0?l+c:l-c),-1!==o.indexOf("_cw")&&l<0?l=(l+9999999999*c)%c-(l/c|0)*c:-1!==o.indexOf("ccw")&&l>0&&(l=(l-9999999999*c)%c-(l/c|0)*c)),(l>1e-6||l<-1e-6)&&(this._addTween(t,r,s,s+l,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: 1.3.8 * DATE: 2018-05-30 @@ -90,7 +105,7 @@ const p=n.k._gsDefine.plugin({propName:"directionalRotation",version:"0.3.1",API * * @author: Jack Doyle, jack@greensock.com **/ -var d=180/Math.PI,_=[],m=[],v=[],g={},y=n.k._gsDefine.globals,b=function(t,e,i,n){i===n&&(i=n-(n-e)/1e6),t===e&&(e=t+(i-t)/1e6),this.a=t,this.b=e,this.c=i,this.d=n,this.da=n-t,this.ca=i-t,this.ba=e-t},T=function(t,e,i,n){var r={a:t},o={},s={},a={c:n},l=(t+e)/2,u=(e+i)/2,c=(i+n)/2,h=(l+u)/2,f=(u+c)/2,p=(f-h)/8;return r.b=l+(t-l)/4,o.b=h+p,r.c=o.a=(r.b+o.b)/2,o.c=s.a=(h+f)/2,s.b=f-p,a.b=c+(n-c)/4,s.c=a.a=(s.b+a.b)/2,[r,o,s,a]},x=function(t,e,i,n,r){var o,s,a,l,u,c,h,f,p,d,g,y,b,x=t.length-1,w=0,P=t[0].a;for(o=0;o-1;)"string"==typeof(u=t[o][e])&&"="===u.charAt(1)&&(t[o][e]=n[e]+Number(u.charAt(0)+u.substr(2)));if((r=t.length-2)<0)return c[0]=new b(t[0][e],0,0,t[0][e]),c;for(o=0;o1){for(p=t[t.length-1],f=!0,s=y.length;--s>-1;)if(a=y[s],Math.abs(b[a]-p[a])>.05){f=!1;break}f&&(t=t.concat(),o&&t.unshift(o),t.push(t[1]),o=t[t.length-3])}for(_.length=m.length=v.length=0,s=y.length;--s>-1;)a=y[s],g[a]=-1!==r.indexOf(","+a+","),d[a]=w(t,a,g[a],o);for(s=_.length;--s>-1;)_[s]=Math.sqrt(_[s]),m[s]=Math.sqrt(m[s]);if(!n){for(s=y.length;--s>-1;)if(g[a])for(h=(l=d[y[s]]).length-1,u=0;u-1;)v[s]=Math.sqrt(v[s])}for(s=y.length,u=i?4:1;--s>-1;)l=d[a=y[s]],x(l,e,i,n,g[a]),f&&(l.splice(0,u),l.splice(l.length-u,u));return d},O=function(t,e,i){for(var n,r,o,s,a,l,u,c,h,f,p,d=1/i,_=t.length;--_>-1;)for(o=(f=t[_]).a,s=f.d-o,a=f.c-o,l=f.b-o,n=r=0,c=1;c<=i;c++)n=r-(r=((u=d*c)*u*s+3*(h=1-u)*(u*a+h*l))*u),e[p=_*i+c-1]=(e[p]||0)+n*n},E=n.k._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",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 n,r,o,s,a,l=e.values||[],u={},c=l[0],h=e.autoRotate||i.vars.orientToBezier;for(n in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,c)this._props.push(n);for(o=this._props.length;--o>-1;)n=this._props[o],this._overwriteProps.push(n),r=this._func[n]="function"==typeof t[n],u[n]=r?t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)]():parseFloat(t[n]),a||u[n]!==l[0][n]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?P(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,i){var n,r,o,s,a,l,u,c,h,f,p,d={},_="cubic"===(e=e||"soft")?3:2,m="soft"===e,v=[];if(m&&i&&(t=[i].concat(t)),null==t||t.length<_+1)throw"invalid Bezier data";for(h in t[0])v.push(h);for(l=v.length;--l>-1;){for(d[h=v[l]]=a=[],f=0,c=t.length,u=0;u1&&u>0||6)-1,h=[],f=[];for(i in t)O(t[i],s,e);for(r=s.length,n=0;n>0]=f,a[o]=u,l=0,f=[]);return{length:u,lengths:a,segments:h}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.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(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),o=h.length;--o>-1;){for(s=0;s<3;s++)n=h[o][s],this._func[n]="function"==typeof t[n]&&t[n.indexOf("set")||"function"!=typeof t["get"+n.substr(3)]?n:"get"+n.substr(3)];n=h[o][2],this._initialRotations[o]=(this._func[n]?this._func[n].call(this._target):this._target[n])||0,this._overwriteProps.push(n)}return this._startRatio=i.vars.runBackwards?1:0,!0},set:function(t){var e,i,n,r,o,s,a,l,u,c,h=this._segCount,f=this._func,p=this._target,_=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,c=this._curSeg,t*=this._length,n=this._li,t>this._l2&&n0){for(;n>0&&(this._l1=u[--n])>=t;);0===n&&tthis._s2&&n0){for(;n>0&&(this._s1=c[--n])>=t;);0===n&&t=1?h-1:h*t>>0)*(1/h))*h;for(i=1-s,n=this._props.length;--n>-1;)r=this._props[n],a=(s*s*(o=this._beziers[r][e]).da+3*i*(s*o.ca+i*o.ba))*s+o.a,this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a;if(this._autoRotate){var m,v,g,y,b,T,x,w=this._autoRotate;for(n=w.length;--n>-1;)r=w[n][2],T=w[n][3]||0,x=!0===w[n][4]?1:d,o=this._beziers[w[n][0]],m=this._beziers[w[n][1]],o&&m&&(o=o[e],m=m[e],v=o.a+(o.b-o.a)*s,v+=((y=o.b+(o.c-o.b)*s)-v)*s,y+=(o.c+(o.d-o.c)*s-y)*s,g=m.a+(m.b-m.a)*s,g+=((b=m.b+(m.c-m.b)*s)-g)*s,b+=(m.c+(m.d-m.c)*s-b)*s,a=_?Math.atan2(b-g,y-v)*x+T:this._initialRotations[n],this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a)}}}),S=E.prototype;E.bezierThrough=P,E.cubicToQuadratic=T,E._autoCSS=!0,E.quadraticToCubic=function(t,e,i){return new b(t,(2*e+t)/3,(2*e+i)/3,i)},E._cssRegister=function(){var t=y.CSSPlugin;if(t){var e=t._internals,i=e._parseToProxy,n=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,s,a,l){e instanceof Array&&(e={values:e}),l=new E;var u,c,h,f=e.values,p=f.length-1,d=[],_={};if(p<0)return a;for(u=0;u<=p;u++)h=i(t,f[u],s,a,l,p!==u),d[u]=h.end;for(c in e)_[c]=e[c];return _.values=d,(a=new r(t,"bezier",0,0,h.pt,2)).data=h,a.plugin=l,a.setRatio=n,0===_.autoRotate&&(_.autoRotate=!0),!_.autoRotate||_.autoRotate instanceof Array||(u=!0===_.autoRotate?0:Number(_.autoRotate),_.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),_.autoRotate&&(s._transform||s._enableTransforms(!1),h.autoRotate=s._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,s._overwriteProps.push("rotation")),l._onInitTween(h.proxy,_,s._tween),a}})}},S._mod=function(t){for(var e,i=this._overwriteProps,n=i.length;--n>-1;)(e=t[i[n]])&&"function"==typeof e&&(this._mod[i[n]]=e)},S._kill=function(t){var e,i,n=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],i=n.length;--i>-1;)n[i]===e&&n.splice(i,1);if(n=this._autoRotate)for(i=n.length;--i>-1;)t[n[i][2]]&&n.splice(i,1);return this._super._kill.call(this,t)}, +var d=180/Math.PI,_=[],m=[],v=[],g={},y=i.k._gsDefine.globals,b=function(t,e,n,i){n===i&&(n=i-(i-e)/1e6),t===e&&(e=t+(n-t)/1e6),this.a=t,this.b=e,this.c=n,this.d=i,this.da=i-t,this.ca=n-t,this.ba=e-t},T=function(t,e,n,i){var r={a:t},o={},s={},a={c:i},l=(t+e)/2,u=(e+n)/2,c=(n+i)/2,h=(l+u)/2,f=(u+c)/2,p=(f-h)/8;return r.b=l+(t-l)/4,o.b=h+p,r.c=o.a=(r.b+o.b)/2,o.c=s.a=(h+f)/2,s.b=f-p,a.b=c+(i-c)/4,s.c=a.a=(s.b+a.b)/2,[r,o,s,a]},x=function(t,e,n,i,r){var o,s,a,l,u,c,h,f,p,d,g,y,b,x=t.length-1,w=0,P=t[0].a;for(o=0;o-1;)"string"==typeof(u=t[o][e])&&"="===u.charAt(1)&&(t[o][e]=i[e]+Number(u.charAt(0)+u.substr(2)));if((r=t.length-2)<0)return c[0]=new b(t[0][e],0,0,t[0][e]),c;for(o=0;o1){for(p=t[t.length-1],f=!0,s=y.length;--s>-1;)if(a=y[s],Math.abs(b[a]-p[a])>.05){f=!1;break}f&&(t=t.concat(),o&&t.unshift(o),t.push(t[1]),o=t[t.length-3])}for(_.length=m.length=v.length=0,s=y.length;--s>-1;)a=y[s],g[a]=-1!==r.indexOf(","+a+","),d[a]=w(t,a,g[a],o);for(s=_.length;--s>-1;)_[s]=Math.sqrt(_[s]),m[s]=Math.sqrt(m[s]);if(!i){for(s=y.length;--s>-1;)if(g[a])for(h=(l=d[y[s]]).length-1,u=0;u-1;)v[s]=Math.sqrt(v[s])}for(s=y.length,u=n?4:1;--s>-1;)l=d[a=y[s]],x(l,e,n,i,g[a]),f&&(l.splice(0,u),l.splice(l.length-u,u));return d},O=function(t,e,n){for(var i,r,o,s,a,l,u,c,h,f,p,d=1/n,_=t.length;--_>-1;)for(o=(f=t[_]).a,s=f.d-o,a=f.c-o,l=f.b-o,i=r=0,c=1;c<=n;c++)i=r-(r=((u=d*c)*u*s+3*(h=1-u)*(u*a+h*l))*u),e[p=_*n+c-1]=(e[p]||0)+i*i},S=i.k._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(t,e,n){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 i,r,o,s,a,l=e.values||[],u={},c=l[0],h=e.autoRotate||n.vars.orientToBezier;for(i in this._autoRotate=h?h instanceof Array?h:[["x","y","rotation",!0===h?0:Number(h)||0]]:null,c)this._props.push(i);for(o=this._props.length;--o>-1;)i=this._props[o],this._overwriteProps.push(i),r=this._func[i]="function"==typeof t[i],u[i]=r?t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)]():parseFloat(t[i]),a||u[i]!==l[0][i]&&(a=u);if(this._beziers="cubic"!==e.type&&"quadratic"!==e.type&&"soft"!==e.type?P(l,isNaN(e.curviness)?1:e.curviness,!1,"thruBasic"===e.type,e.correlate,a):function(t,e,n){var i,r,o,s,a,l,u,c,h,f,p,d={},_="cubic"===(e=e||"soft")?3:2,m="soft"===e,v=[];if(m&&n&&(t=[n].concat(t)),null==t||t.length<_+1)throw"invalid Bezier data";for(h in t[0])v.push(h);for(l=v.length;--l>-1;){for(d[h=v[l]]=a=[],f=0,c=t.length,u=0;u1&&u>0||6)-1,h=[],f=[];for(n in t)O(t[n],s,e);for(r=s.length,i=0;i>0]=f,a[o]=u,l=0,f=[]);return{length:u,lengths:a,segments:h}}(this._beziers,this._timeRes);this._length=f.length,this._lengths=f.lengths,this._segments=f.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(h=this._autoRotate)for(this._initialRotations=[],h[0]instanceof Array||(this._autoRotate=h=[h]),o=h.length;--o>-1;){for(s=0;s<3;s++)i=h[o][s],this._func[i]="function"==typeof t[i]&&t[i.indexOf("set")||"function"!=typeof t["get"+i.substr(3)]?i:"get"+i.substr(3)];i=h[o][2],this._initialRotations[o]=(this._func[i]?this._func[i].call(this._target):this._target[i])||0,this._overwriteProps.push(i)}return this._startRatio=n.vars.runBackwards?1:0,!0},set:function(t){var e,n,i,r,o,s,a,l,u,c,h=this._segCount,f=this._func,p=this._target,_=t!==this._startRatio;if(this._timeRes){if(u=this._lengths,c=this._curSeg,t*=this._length,i=this._li,t>this._l2&&i0){for(;i>0&&(this._l1=u[--i])>=t;);0===i&&tthis._s2&&i0){for(;i>0&&(this._s1=c[--i])>=t;);0===i&&t=1?h-1:h*t>>0)*(1/h))*h;for(n=1-s,i=this._props.length;--i>-1;)r=this._props[i],a=(s*s*(o=this._beziers[r][e]).da+3*n*(s*o.ca+n*o.ba))*s+o.a,this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a;if(this._autoRotate){var m,v,g,y,b,T,x,w=this._autoRotate;for(i=w.length;--i>-1;)r=w[i][2],T=w[i][3]||0,x=!0===w[i][4]?1:d,o=this._beziers[w[i][0]],m=this._beziers[w[i][1]],o&&m&&(o=o[e],m=m[e],v=o.a+(o.b-o.a)*s,v+=((y=o.b+(o.c-o.b)*s)-v)*s,y+=(o.c+(o.d-o.c)*s-y)*s,g=m.a+(m.b-m.a)*s,g+=((b=m.b+(m.c-m.b)*s)-g)*s,b+=(m.c+(m.d-m.c)*s-b)*s,a=_?Math.atan2(b-g,y-v)*x+T:this._initialRotations[i],this._mod[r]&&(a=this._mod[r](a,p)),f[r]?p[r](a):p[r]=a)}}}),E=S.prototype;S.bezierThrough=P,S.cubicToQuadratic=T,S._autoCSS=!0,S.quadraticToCubic=function(t,e,n){return new b(t,(2*e+t)/3,(2*e+n)/3,n)},S._cssRegister=function(){var t=y.CSSPlugin;if(t){var e=t._internals,n=e._parseToProxy,i=e._setPluginRatio,r=e.CSSPropTween;e._registerComplexSpecialProp("bezier",{parser:function(t,e,o,s,a,l){e instanceof Array&&(e={values:e}),l=new S;var u,c,h,f=e.values,p=f.length-1,d=[],_={};if(p<0)return a;for(u=0;u<=p;u++)h=n(t,f[u],s,a,l,p!==u),d[u]=h.end;for(c in e)_[c]=e[c];return _.values=d,(a=new r(t,"bezier",0,0,h.pt,2)).data=h,a.plugin=l,a.setRatio=i,0===_.autoRotate&&(_.autoRotate=!0),!_.autoRotate||_.autoRotate instanceof Array||(u=!0===_.autoRotate?0:Number(_.autoRotate),_.autoRotate=null!=h.end.left?[["left","top","rotation",u,!1]]:null!=h.end.x&&[["x","y","rotation",u,!1]]),_.autoRotate&&(s._transform||s._enableTransforms(!1),h.autoRotate=s._target._gsTransform,h.proxy.rotation=h.autoRotate.rotation||0,s._overwriteProps.push("rotation")),l._onInitTween(h.proxy,_,s._tween),a}})}},E._mod=function(t){for(var e,n=this._overwriteProps,i=n.length;--i>-1;)(e=t[n[i]])&&"function"==typeof e&&(this._mod[n[i]]=e)},E._kill=function(t){var e,n,i=this._props;for(e in this._beziers)if(e in t)for(delete this._beziers[e],delete this._func[e],n=i.length;--n>-1;)i[n]===e&&i.splice(n,1);if(i=this._autoRotate)for(n=i.length;--n>-1;)t[i[n][2]]&&i.splice(n,1);return this._super._kill.call(this,t)}, /*! * VERSION: 1.16.0 * DATE: 2018-05-30 @@ -102,19 +117,13 @@ var d=180/Math.PI,_=[],m=[],v=[],g={},y=n.k._gsDefine.globals,b=function(t,e,i,n * * @author: Jack Doyle, jack@greensock.com **/ -n.k._gsDefine("easing.Back",["easing.Ease"],function(){var t,e,i,r,o=n.k.GreenSockGlobals||n.k,s=o.com.greensock,a=2*Math.PI,l=Math.PI/2,u=s._class,c=function(t,e){var i=u("easing."+t,function(){},!0),r=i.prototype=new n.b;return r.constructor=i,r.getRatio=e,i},h=n.b.register||function(){},f=function(t,e,i,n,r){var o=u("easing."+t,{easeOut:new e,easeIn:new i,easeInOut:new n},!0);return h(o,t),o},p=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)},d=function(t,e){var i=u("easing."+t,function(t){this._p1=t||0===t?t:1.70158,this._p2=1.525*this._p1},!0),r=i.prototype=new n.b;return r.constructor=i,r.getRatio=e,r.config=function(t){return new i(t)},i},_=f("Back",d("BackOut",function(t){return(t-=1)*t*((this._p1+1)*t+this._p1)+1}),d("BackIn",function(t){return t*t*((this._p1+1)*t-this._p1)}),d("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=u("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),v=m.prototype=new n.b;return v.constructor=m,v.getRatio=function(t){var e=t+(.5-t)*this._p;return tthis._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),v.config=m.config=function(t,e,i){return new m(t,e,i)},(v=(t=u("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,v.getRatio=function(t){return t<0?t=0:t>=1&&(t=.999999999),((this._p2*t|0)+this._p3)*this._p1},v.config=t.config=function(e,i){return new t(e,i)},(v=(e=u("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,v.getRatio=function(t){return this._ease&&(t=this._ease.getRatio(t)),(this._p3*Math.exp(this._p1*t)-this._p3)/this._p2},v.config=e.config=function(t,i,n){return new e(t,i,n)},(v=(i=u("easing.RoughEase",function(t){for(var e,i,r,o,s,a,l=(t=t||{}).taper||"none",u=[],c=0,h=0|(t.points||20),f=h,d=!1!==t.randomize,_=!0===t.clamp,m=t.template instanceof n.b?t.template:null,v="number"==typeof t.strength?.4*t.strength:.4;--f>-1;)e=d?Math.random():1/h*f,i=m?m.getRatio(e):e,r="none"===l?v:"out"===l?(o=1-e)*o*v:"in"===l?e*e*v:e<.5?(o=2*e)*o*.5*v:(o=2*(1-e))*o*.5*v,d?i+=Math.random()*r-.5*r:f%2?i+=.5*r:i-=.5*r,_&&(i>1?i=1:i<0&&(i=0)),u[c++]={x:e,y:i};for(u.sort(function(t,e){return t.x-e.x}),a=new p(1,1,null),f=h;--f>-1;)s=u[f],a=new p(s.x,s.y,a);this._prev=new p(0,0,0!==a.t?a:a.next)},!0)).prototype=new n.b).constructor=i,v.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},v.config=function(t){return new i(t)},i.ease=new i,f("Bounce",c("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}),c("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)}),c("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})),f("Circ",c("CircOut",function(t){return Math.sqrt(1-(t-=1)*t)}),c("CircIn",function(t){return-(Math.sqrt(1-t*t)-1)}),c("CircInOut",function(t){return(t*=2)<1?-.5*(Math.sqrt(1-t*t)-1):.5*(Math.sqrt(1-(t-=2)*t)+1)})),f("Elastic",(r=function(t,e,i){var r=u("easing."+t,function(t,e){this._p1=t>=1?t:1,this._p2=(e||i)/(t<1?t:1),this._p3=this._p2/a*(Math.asin(1/this._p1)||0),this._p2=a/this._p2},!0),o=r.prototype=new n.b;return o.constructor=r,o.getRatio=e,o.config=function(t,e){return new r(t,e)},r})("ElasticOut",function(t){return this._p1*Math.pow(2,-10*t)*Math.sin((t-this._p3)*this._p2)+1},.3),r("ElasticIn",function(t){return-this._p1*Math.pow(2,10*(t-=1))*Math.sin((t-this._p3)*this._p2)},.3),r("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)),f("Expo",c("ExpoOut",function(t){return 1-Math.pow(2,-10*t)}),c("ExpoIn",function(t){return Math.pow(2,10*(t-1))-.001}),c("ExpoInOut",function(t){return(t*=2)<1?.5*Math.pow(2,10*(t-1)):.5*(2-Math.pow(2,-10*(t-1)))})),f("Sine",c("SineOut",function(t){return Math.sin(t*l)}),c("SineIn",function(t){return 1-Math.cos(t*l)}),c("SineInOut",function(t){return-.5*(Math.cos(Math.PI*t)-1)})),u("easing.EaseLookup",{find:function(t){return n.b.map[t]}},!0),h(o.SlowMo,"SlowMo","ease,"),h(i,"RoughEase","ease,"),h(t,"SteppedEase","ease,"),_},!0);const k=n.k.Back,C=n.k.Elastic,A=n.k.Bounce,R=n.k.RoughEase,j=n.k.SlowMo,I=n.k.SteppedEase,M=n.k.Circ,L=n.k.Expo,D=n.k.Sine,N=n.k.ExpoScaleEase,z=s;z._autoActivated=[r,o,a,l,E,u,p,k,C,A,R,j,I,M,L,D,N],i.d(e,"default",function(){return z}),i.d(e,"TweenLite",function(){return n.l}),i.d(e,"TweenMax",function(){return z}),i.d(e,"TimelineLite",function(){return r}),i.d(e,"TimelineMax",function(){return o}),i.d(e,"CSSPlugin",function(){return a}),i.d(e,"AttrPlugin",function(){return l}),i.d(e,"BezierPlugin",function(){return E}),i.d(e,"RoundPropsPlugin",function(){return u}),i.d(e,"DirectionalRotationPlugin",function(){return p}),i.d(e,"TweenPlugin",function(){return n.j}),i.d(e,"Ease",function(){return n.b}),i.d(e,"Power0",function(){return n.d}),i.d(e,"Power1",function(){return n.e}),i.d(e,"Power2",function(){return n.f}),i.d(e,"Power3",function(){return n.g}),i.d(e,"Power4",function(){return n.h}),i.d(e,"Linear",function(){return n.c}),i.d(e,"Back",function(){return k}),i.d(e,"Elastic",function(){return C}),i.d(e,"Bounce",function(){return A}),i.d(e,"RoughEase",function(){return R}),i.d(e,"SlowMo",function(){return j}),i.d(e,"SteppedEase",function(){return I}),i.d(e,"Circ",function(){return M}),i.d(e,"Expo",function(){return L}),i.d(e,"Sine",function(){return D}),i.d(e,"ExpoScaleEase",function(){return N}),i.d(e,"_gsScope",function(){return n.k})},function(t,e){t.exports=function(t){return t&&t.__esModule?t:{default:t}}},function(t,e){var i=Array.isArray;t.exports=i},function(t,e,i){var n=i(64),r="object"==typeof self&&self&&self.Object===Object&&self,o=n||r||Function("return this")();t.exports=o},function(t,e,i){"use strict";var n=i(2);e.__esModule=!0,e.default=void 0;var r=n(i(42)),o=n(i(73)),s=function(t){function e(e){var i;return i=t.call(this)||this,Object.defineProperty((0,o.default)(i),"element",{configurable:!0,enumerable:!0,writable:!0,value:void 0}),i.element=e,i}(0,r.default)(e,t);var i=e.prototype;return i.getElement=function(t,e){return void 0===e&&(e=this.element),e.querySelector(t)},i.getElements=function(t,e){return void 0===e&&(e=this.element),Array.from(e.querySelectorAll(t))},i.dispose=function(){this.element=null,t.prototype.dispose.call(this)},e}(n(i(72)).default);e.default=s},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e,i){"use strict";e.__esModule=!0,e.default=function(t){var e=t.getAttribute("data-component");if(e&&(0,n.hasComponentInstance)(e))return((0,n.getComponentInstances)(e).find(function(e){return e.element===t})||{}).instance;return null};var n=i(24)},function(t,e,i){var n=i(165),r=i(162);t.exports=function(t,e){var i=r(t,e);return n(i)?i:void 0}},function(t,e){t.exports=function(t){var e=typeof t;return null!=t&&("object"==e||"function"==e)}},function(t,e,i){var n=i(13),r=i(211),o=i(210),s="[object Null]",a="[object Undefined]",l=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:s:l&&l in Object(t)?r(t):o(t)}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(43),r=i(216);e.EventPhase=r.default;var o=i(70);e.EventListenerData=o.default;var s=i(215);e.CallListenerResult=s.default;var a=i(69);e.AbstractEvent=a.default,e.default=n.default},function(t,e,i){var n=i(10),r=i(6),o="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||r(t)&&n(t)==o}},function(t,e,i){var n=i(4).Symbol;t.exports=n},function(t,e,i){"use strict";i.r(e),i.d(e,"__extends",function(){return r}),i.d(e,"__assign",function(){return o}),i.d(e,"__rest",function(){return s}),i.d(e,"__decorate",function(){return a}),i.d(e,"__param",function(){return l}),i.d(e,"__metadata",function(){return u}),i.d(e,"__awaiter",function(){return c}),i.d(e,"__generator",function(){return h}),i.d(e,"__exportStar",function(){return f}),i.d(e,"__values",function(){return p}),i.d(e,"__read",function(){return d}),i.d(e,"__spread",function(){return _}),i.d(e,"__await",function(){return m}),i.d(e,"__asyncGenerator",function(){return v}),i.d(e,"__asyncDelegator",function(){return g}),i.d(e,"__asyncValues",function(){return y}),i.d(e,"__makeTemplateObject",function(){return b}),i.d(e,"__importStar",function(){return T}),i.d(e,"__importDefault",function(){return x}); -/*! ***************************************************************************** -Copyright (c) Microsoft Corporation. All rights reserved. -Licensed under the Apache License, Version 2.0 (the "License"); you may not use -this file except in compliance with the License. You may obtain a copy of the -License at http://www.apache.org/licenses/LICENSE-2.0 - -THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY -KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED -WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE, -MERCHANTABLITY OR NON-INFRINGEMENT. - -See the Apache Version 2.0 License for specific language governing permissions -and limitations under the License. -***************************************************************************** */ -var n=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,e){t.__proto__=e}||function(t,e){for(var i in e)e.hasOwnProperty(i)&&(t[i]=e[i])};function r(t,e){function i(){this.constructor=t}n(t,e),t.prototype=null===e?Object.create(e):(i.prototype=e.prototype,new i)}var o=Object.assign||function(t){for(var e,i=1,n=arguments.length;i=0;a--)(r=t[a])&&(s=(o<3?r(s):o>3?r(e,i,s):r(e,i))||s);return o>3&&s&&Object.defineProperty(e,i,s),s}function l(t,e){return function(i,n){e(i,n,t)}}function u(t,e){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(t,e)}function c(t,e,i,n){return new(i||(i=Promise))(function(r,o){function s(t){try{l(n.next(t))}catch(t){o(t)}}function a(t){try{l(n.throw(t))}catch(t){o(t)}}function l(t){t.done?r(t.value):new i(function(e){e(t.value)}).then(s,a)}l((n=n.apply(t,e||[])).next())})}function h(t,e){var i,n,r,o,s={label:0,sent:function(){if(1&r[0])throw r[1];return r[1]},trys:[],ops:[]};return o={next:a(0),throw:a(1),return:a(2)},"function"==typeof Symbol&&(o[Symbol.iterator]=function(){return this}),o;function a(o){return function(a){return function(o){if(i)throw new TypeError("Generator is already executing.");for(;s;)try{if(i=1,n&&(r=n[2&o[0]?"return":o[0]?"throw":"next"])&&!(r=r.call(n,o[1])).done)return r;switch(n=0,r&&(o=[0,r.value]),o[0]){case 0:case 1:r=o;break;case 4:return s.label++,{value:o[1],done:!1};case 5:s.label++,n=o[1],o=[0];continue;case 7:o=s.ops.pop(),s.trys.pop();continue;default:if(!(r=(r=s.trys).length>0&&r[r.length-1])&&(6===o[0]||2===o[0])){s=0;continue}if(3===o[0]&&(!r||o[1]>r[0]&&o[1]=t.length&&(t=void 0),{value:t&&t[i++],done:!t}}}}function d(t,e){var i="function"==typeof Symbol&&t[Symbol.iterator];if(!i)return t;var n,r,o=i.call(t),s=[];try{for(;(void 0===e||e-- >0)&&!(n=o.next()).done;)s.push(n.value)}catch(t){r={error:t}}finally{try{n&&!n.done&&(i=o.return)&&i.call(o)}finally{if(r)throw r.error}}return s}function _(){for(var t=[],e=0;e1||a(t,e)})})}function a(t,e){try{(i=r[t](e)).value instanceof m?Promise.resolve(i.value.v).then(l,u):c(o[0][2],i)}catch(t){c(o[0][3],t)}var i}function l(t){a("next",t)}function u(t){a("throw",t)}function c(t,e){t(e),o.shift(),o.length&&a(o[0][0],o[0][1])}}function g(t){var e,i;return e={},n("next"),n("throw",function(t){throw t}),n("return"),e[Symbol.iterator]=function(){return this},e;function n(n,r){t[n]&&(e[n]=function(e){return(i=!i)?{value:m(t[n](e)),done:"return"===n}:r?r(e):e})}}function y(t){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var e=t[Symbol.asyncIterator];return e?e.call(t):p(t)}function b(t,e){return Object.defineProperty?Object.defineProperty(t,"raw",{value:e}):t.raw=e,t}function T(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var i in t)Object.hasOwnProperty.call(t,i)&&(e[i]=t[i]);return e.default=t,e}function x(t){return t&&t.__esModule?t:{default:t}}},function(t,e,i){t.exports=!i(80)(function(){return 7!=Object.defineProperty({},"a",{get:function(){return 7}}).a})},function(t,e,i){"use strict";var n;e.__esModule=!0,e.default=void 0,function(t){t[t.IN=0]="IN",t[t.OUT=1]="OUT"}(n||(n={}));var r=n;e.default=r},function(t,e){t.exports=function(t){return t}},function(t,e,i){var n=i(12),r=1/0;t.exports=function(t){if("string"==typeof t||n(t))return t;var e=t+"";return"0"==e&&1/t==-r?"-0":e}},function(t,e,i){var n=i(55),r=i(28);t.exports=function(t){return null!=t&&r(t.length)&&!n(t)}},function(t,e,i){var n=i(153);t.exports=function(t,e){var i=t.__data__;return n(e)?i["string"==typeof e?"string":"hash"]:i.map}},function(t,e,i){var n=i(8)(Object,"create");t.exports=n},function(t,e,i){var n=i(33);t.exports=function(t,e){for(var i=t.length;i--;)if(n(t[i][0],e))return i;return-1}},function(t,e,i){var n=i(175),r=i(174),o=i(173),s=i(172),a=i(171);function l(t){var e=-1,i=null==t?0:t.length;for(this.clear();++e-1&&t%1==0&&t<=i}},function(t,e){var i=9007199254740991,n=/^(?:0|[1-9]\d*)$/;t.exports=function(t,e){var r=typeof t;return!!(e=null==e?i:e)&&("number"==r||"symbol"!=r&&n.test(t))&&t>-1&&t%1==0&&t0;if(this.listeners[t]){for(var n=0;n0&&(n=!0,2===s))break}}return n}},function(t,e,i){var n=i(3),r=i(27),o=i(117),s=i(114);t.exports=function(t,e){return n(t)?t:r(t,e)?[t]:o(s(t))}},function(t,e,i){var n=i(44),r=i(18);t.exports=function(t,e){for(var i=0,o=(e=n(e,t)).length;null!=t&&if))return!1;var d=c.get(t);if(d&&c.get(e))return d==e;var _=-1,m=!0,v=i&a?new n:void 0;for(c.set(t,e),c.set(e,t);++_i)&&((e=!e)||null===t.onReverseStart||t.onReverseStart()),i=r},onStart:function(){i=0,t.onStart&&t.onStart()},onComplete:null!==t.onComplete?t.onComplete:null,onReverseComplete:function(){i=0,null!==t.onReverseComplete&&t.onReverseComplete()}});return n},e.killAndClearTimeline=function(t){s(t),t.kill()},e.clearTimeline=s,e.cloneTimeline=function(t,e){var i=t.getChildren(!1),n=new r.TimelineMax(t.vars);return i.forEach(function(t){return function t(i,n){if(i.getChildren){var s=i.getChildren(!1),a=new r.TimelineMax(i.vars);s.forEach(function(e){return t(e,a)}),n.add(a.restart(),i._startTime)}else if(i.vars.startAt){if(e===o.default.OUT)throw new Error("Do not use fromTo when nesting transitionOutTimelines, use to instead!");var l=JSON.parse(JSON.stringify(i.vars.startAt)),u=i.vars;n.fromTo(i.target,i._duration,l,u,i._startTime)}else{if(i.vars.runBackwards)throw new Error("Do not use from while nesting transitionInTimelines, use fromTo instead!");n.to(i.target,i._duration,i.vars,i._startTime)}}(t,n)}),n};var r=i(1),o=n(i(16));function s(t){t.getChildren().forEach(function(t){t.target?r.TweenLite.set(t.target,{clearProps:"all"}):s(t)}),t.clear()}},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.EVENT_TYPE_PLACEHOLDER="__eventTypeUtil::EVENT_TYPE_PLACEHOLDER",e.generateEventTypes=function(t){Object.keys(t).forEach(function(i){var n=t[i];Object.keys(n).forEach(function(t){n[t]===e.EVENT_TYPE_PLACEHOLDER&&(n[t]=i+"/"+t)})})}},function(t,e,i){"use strict";var n=i(2);e.__esModule=!0,e.default=void 0;var r=n(i(42)),o=i(11),s=i(67),a=function(t){function e(){return t.apply(this,arguments)||this}return(0,r.default)(e,t),e.prototype.clone=function(){return new e(this.type,this.bubbles,this.cancelable)},e}(o.AbstractEvent);Object.defineProperty(a,"TRANSITION_IN_START",{configurable:!0,enumerable:!0,writable:!0,value:s.EVENT_TYPE_PLACEHOLDER}),Object.defineProperty(a,"TRANSITION_IN_COMPLETE",{configurable:!0,enumerable:!0,writable:!0,value:s.EVENT_TYPE_PLACEHOLDER}),Object.defineProperty(a,"TRANSITION_OUT_START",{configurable:!0,enumerable:!0,writable:!0,value:s.EVENT_TYPE_PLACEHOLDER}),Object.defineProperty(a,"TRANSITION_OUT_COMPLETE",{configurable:!0,enumerable:!0,writable:!0,value:s.EVENT_TYPE_PLACEHOLDER}),(0,s.generateEventTypes)({TransitionEvent:a});var l=a;e.default=l},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=0,r=function(){function t(t,e,i,n){void 0===e&&(e=!1),void 0===i&&(i=!1),void 0===n&&(n=!1),this.type=t,this.bubbles=e,this.cancelable=i,this.currentTarget=null,this.target=null,this.eventPhase=0,this.defaultPrevented=!1,this.timeStamp=n?Date.now():0}return t.prototype.stopPropagation=function(){n<1&&(n=1)},t.prototype.stopImmediatePropagation=function(){n=2},t.prototype.preventDefault=function(){if(!this.cancelable)throw new Error("Called preventDefault on a non-cancelable event");this.defaultPrevented=!0},t.prototype.callListener=function(t){return n=0,t.call(null,this),n},t}();e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(14),r=function(t){function e(e,i,n,r,o){var s=t.call(this)||this;return s.dispatcher=e,s.type=i,s.handler=n,s.useCapture=r,s.priority=o,s.isRemoved=!1,s}return n.__extends(e,t),e.prototype.dispose=function(){this.dispatcher&&(this.dispatcher.removeEventListener(this.type,this.handler,this.useCapture),this.dispatcher=null),t.prototype.dispose.call(this)},e}(i(71).default);e.default=r},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(72);e.default=n.default},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=function(){function t(){this.disposed=!1}return t.prototype.isDisposed=function(){return this.disposed},t.prototype.dispose=function(){this.disposed=!0},t}();e.default=n},function(t,e){t.exports=function(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}},function(t,e){t.exports="constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf".split(",")},function(t,e,i){var n=i(221)("keys"),r=i(220);t.exports=function(t){return n[t]||(n[t]=r(t))}},function(t,e){var i=Math.ceil,n=Math.floor;t.exports=function(t){return isNaN(t=+t)?0:(t>0?n:i)(t)}},function(t,e,i){var n=i(227),r=i(225);t.exports=function(t){return n(r(t))}},function(t,e){var i={}.hasOwnProperty;t.exports=function(t,e){return i.call(t,e)}},function(t,e,i){var n=i(38),r=i(25).document,o=n(r)&&n(r.createElement);t.exports=function(t){return o?r.createElement(t):{}}},function(t,e){t.exports=function(t){try{return!!t()}catch(t){return!0}}},function(t,e,i){var n=i(25),r=i(41),o=i(237),s=i(235),a=i(78),l=function(t,e,i){var u,c,h,f=t&l.F,p=t&l.G,d=t&l.S,_=t&l.P,m=t&l.B,v=t&l.W,g=p?r:r[e]||(r[e]={}),y=g.prototype,b=p?n:d?n[e]:(n[e]||{}).prototype;for(u in p&&(i=e),i)(c=!f&&b&&void 0!==b[u])&&a(g,u)||(h=c?b[u]:i[u],g[u]=p&&"function"!=typeof b[u]?i[u]:m&&c?o(h,n):v&&b[u]==h?function(t){var e=function(e,i,n){if(this instanceof t){switch(arguments.length){case 0:return new t;case 1:return new t(e);case 2:return new t(e,i)}return new t(e,i,n)}return t.apply(this,arguments)};return e.prototype=t.prototype,e}(h):_&&"function"==typeof h?o(Function.call,h):h,_&&((g.virtual||(g.virtual={}))[u]=h,t&l.R&&y&&!y[u]&&s(y,u,h)))};l.F=1,l.G=2,l.S=4,l.P=8,l.B=16,l.W=32,l.U=64,l.R=128,t.exports=l},function(t,e,i){"use strict";var n=i(2);e.__esModule=!0,e.updateComponent=e.registerComponent=e.updateElement=e.initComponents=e.getComponentForElement=e.cleanElement=e.CoreComponent=void 0;var r=n(i(5));e.CoreComponent=r.default;var o=i(24);e.registerComponent=o.registerComponent,e.updateComponent=o.updateComponent;var s=n(i(59));e.cleanElement=s.default;var a=n(i(7));e.getComponentForElement=a.default;var l=n(i(26));e.initComponents=l.default;var u=n(i(88));e.updateElement=u.default},function(t,e,i){"use strict";var n=i(2);e.__esModule=!0,e.IScrollTrackerComponentManagerOptions=e.ScrollTrackerComponentManager=void 0;var r=n(i(208));e.ScrollTrackerComponentManager=r.default;var o=i(184);e.IScrollTrackerComponentManagerOptions=o.IScrollTrackerComponentManagerOptions},function(t,e,i){var n=i(10),r=i(3),o=i(6),s="[object String]";t.exports=function(t){return"string"==typeof t||!r(t)&&o(t)&&n(t)==s}},function(t,e,i){var n=i(6),r=i(212);t.exports=function(t){return n(t)&&1===t.nodeType&&!r(t)}},function(t,e,i){"use strict";var n=i(2);e.__esModule=!0,e.default=e.createTimeline=e.cloneTimeline=e.killAndClearTimeline=e.clearTimeline=e.TransitionEvent=e.TransitionDirection=e.TimelineType=e.ICreateTimelineOptions=e.IAbstractTransitionControllerOptions=void 0;var r=n(i(218)),o=i(214);e.IAbstractTransitionControllerOptions=o.IAbstractTransitionControllerOptions;var s=i(213);e.ICreateTimelineOptions=s.ICreateTimelineOptions;var a=n(i(65));e.TimelineType=a.default;var l=n(i(16));e.TransitionDirection=l.default;var u=n(i(68));e.TransitionEvent=u.default;var c=i(66);e.clearTimeline=c.clearTimeline,e.killAndClearTimeline=c.killAndClearTimeline,e.cloneTimeline=c.cloneTimeline,e.createTimeline=c.createTimeline;var h=r.default;e.default=h},function(t,e,i){"use strict";i.r(e);var n=i(5),r=i.n(n),o=i(7),s=i.n(o),a=i(86),l=i.n(a),u=i(85),c=i.n(u),h=i(84),f=i.n(h);class p extends l.a{getComponent(t){let e;if(void 0===(e=c()(t)?s()(t):f()(t)?s()(this.parentController.getElement(t)):t))throw new Error(`The requested component [${t}] does not exist`);return e}}var d=i(1);var _=class extends p{setupTransitionInTimeline(t,e){const i=e.getElement(".js-title");t.fromTo(this.parentController.element,.2,{scale:0,opacity:0,pointerEvents:"none"},{opacity:1,scale:1,pointerEvents:"all",clearProps:"all",ease:d.Back.easeOut}),t.from(i,.8,{opacity:0},.4),t.from(i,.8,{y:30,ease:d.Expo.easeOut,clearProps:"all"},.4)}setupTransitionOutTimeline(t,e){t.to(e.element,.2,{scale:0,opacity:0,pointerEvents:"none",clearProps:"scale",ease:d.Back.easeIn})}setupLoopingAnimationTimeline(){}},m=i(43);i.n(m).a;var v=function(t){return class extends t{constructor(...t){super(...t),this.enterViewThreshold=.25,this.hasEntered=!1}enterView(){this.transitionIn(),this.startLoopingAnimation()}leaveView(){this.stopLoopingAnimation()}beyondView(){this.hasEntered||this.transitionIn()}transitionIn(t=!1){return this.transitionController.transitionIn(t)}transitionOut(t=!1,e,i){return this.transitionController.transitionOut(t,e,i)}startLoopingAnimation(t,e){this.transitionController.startLoopingAnimation(t,e)}stopLoopingAnimation(){this.transitionController.stopLoopingAnimation()}}},g=i(11),y=i.n(g),b={componentAttribute:"data-component",scrollComponentAttribute:"data-scroll-component"};var T=function(t){return(e=class e extends t{constructor(...t){super(...t),this.eventNamespace="",this.dispatcher=new y.a,this.eventNamespace="."+ ++e.eventNamespaceCount,this.componentId=this.displayName+this.eventNamespace}get displayName(){return this.element.getAttribute(b.componentAttribute)}}).eventNamespaceCount=1e7,e;var e};class x extends(v(T(r.a))){constructor(t){super(t),this.element=t,this.transitionController=new _(this),this.addEventListeners()}addEventListeners(){this.element.querySelector(".js-button-close").addEventListener("click",this.handleClosePopupClick.bind(this))}handleClosePopupClick(){this.transitionOut()}dispose(){super.dispose()}}x.displayName="dummy-foo-popup";var w=i(16),P=i.n(w);var O=class extends p{setupTransitionInTimeline(t,e){e.test();const i=e.getElement(".js-text-content"),n=e.getElement(".js-button-open"),r=e.getElement(".js-looping-title"),o=e.getElement(".js-loop-animation");t.from(e.getElement(".js-background"),1.2,{width:0,ease:d.Expo.easeInOut,clearProps:"width"}),t.addLabel("afterBg","-=0.6"),t.from(i,.8,{opacity:0},"afterBg"),t.from(i,.8,{y:30,ease:d.Expo.easeOut,clearProps:"all"},"afterBg"),t.add(this.getTimeline(n,P.a.IN),"afterBg+=0.2"),t.from(r,.8,{opacity:0},"afterBg+=0.4"),t.from(r,.8,{y:20,ease:d.Expo.easeOut},"afterBg+=0.4"),t.from(o,.8,{opacity:0},"afterBg+=0.8"),t.from(o,.8,{y:20,ease:d.Expo.easeOut},"afterBg+=0.8")}setupTransitionOutTimeline(t,e){t.to(e.element,.8,{opacity:0})}setupLoopingAnimationTimeline(t,e){t.yoyo(!0),t.to(e.getElement(".js-loop-animation"),1,{scale:.9,yPercent:50,ease:d.Expo.easeInOut}),t.to(e.getElement(".js-loop-animation"),.5,{xPercent:50,ease:d.Expo.easeInOut}),t.to(e.getElement(".js-loop-animation"),.5,{xPercent:-50,ease:d.Expo.easeInOut})}};class E extends(v(T(r.a))){constructor(t){super(t),this.element=t,this.transitionController=new O(this),this.addEventListeners(),this.dummyFooPopup=s()(this.element.querySelector(`[data-component="${x.displayName}"]`))}test(){}addEventListeners(){this.element.querySelector(".js-button-open").addEventListener("click",this.handleOpenPopupClick.bind(this))}handleOpenPopupClick(){this.dummyFooPopup.transitionIn()}dispose(){super.dispose()}}E.displayName="dummy-foo";var S=i(83);class k extends r.a{constructor(t){super(t),this.scrollTrackerComponentManager=new S.ScrollTrackerComponentManager({config:{setDebugLabel:!0,debugBorderColor:"red",resizeDebounce:100}})}adopted(){this.getElements(`[${b.scrollComponentAttribute}]`).forEach(t=>{this.scrollTrackerComponentManager.addComponentToScrollTracker(s()(t))})}dispose(){this.scrollTrackerComponentManager&&(this.scrollTrackerComponentManager.dispose(),this.scrollTrackerComponentManager=null)}}k.displayName="app-root";var C=class extends p{setupTransitionInTimeline(t,e){t.fromTo(e.element,.4,{scale:0,opacity:0},{opacity:1,scale:1,clearProps:"all",ease:d.Expo.easeOut})}setupTransitionOutTimeline(t,e){t.to(e.element,.6,{opacity:0})}setupLoopingAnimationTimeline(){}};class A extends(v(T(r.a))){constructor(t){super(t),this.element=t,this.transitionController=new C(this)}dispose(){super.dispose()}}A.displayName="primary-button";var R=i(82),j=i(26),I=i.n(j);const M=[k,E,x,A];document.addEventListener("DOMContentLoaded",()=>{(()=>{const t=document.getElementById("app");M.forEach(t=>{Object(R.registerComponent)(t)}),I()(t)})()})},function(t,e,i){"use strict";var n=i(2);e.__esModule=!0,e.default=function(t,e){(0,r.default)(t);var i=document.createElement("div");i.innerHTML=e;var n=i.firstChild;t.parentNode.replaceChild(n,t),(0,o.default)(n)};var r=n(i(59)),o=n(i(26))},function(t,e,i){var n=i(33),r=i(19),o=i(29),s=i(9);t.exports=function(t,e,i){if(!s(i))return!1;var a=typeof e;return!!("number"==a?r(i)&&o(e,i.length):"string"==a&&e in i)&&n(i[e],t)}},function(t,e){var i=800,n=16,r=Date.now;t.exports=function(t){var e=0,o=0;return function(){var s=r(),a=n-(s-o);if(o=s,a>0){if(++e>=i)return arguments[0]}else e=0;return t.apply(void 0,arguments)}}},function(t,e,i){var n=i(8),r=function(){try{var t=n(Object,"defineProperty");return t({},"",{}),t}catch(t){}}();t.exports=r},function(t,e){t.exports=function(t){return function(){return t}}},function(t,e,i){var n=i(92),r=i(91),o=i(17),s=r?function(t,e){return r(t,"toString",{configurable:!0,enumerable:!1,value:n(e),writable:!0})}:o;t.exports=s},function(t,e,i){var n=i(93),r=i(90)(n);t.exports=r},function(t,e){t.exports=function(t,e,i){switch(i.length){case 0:return t.call(e);case 1:return t.call(e,i[0]);case 2:return t.call(e,i[0],i[1]);case 3:return t.call(e,i[0],i[1],i[2])}return t.apply(e,i)}},function(t,e,i){var n=i(95),r=Math.max;t.exports=function(t,e,i){return e=r(void 0===e?t.length-1:e,0),function(){for(var o=arguments,s=-1,a=r(o.length-e,0),l=Array(a);++se||s&&a&&u&&!l&&!c||r&&a&&u||!i&&u||!o)return 1;if(!r&&!s&&!c&&t=l?u:u*("desc"==i[r]?-1:1)}return t.index-e.index}},function(t,e){t.exports=function(t,e){var i=t.length;for(t.sort(e);i--;)t[i]=t[i].value;return t}},function(t,e,i){var n=i(19);t.exports=function(t,e){return function(i,r){if(null==i)return i;if(!n(i))return t(i,r);for(var o=i.length,s=e?o:-1,a=Object(i);(e?s--:++s-1}},function(t,e,i){var n=i(22);t.exports=function(t){var e=this.__data__,i=n(e,t);return i<0?void 0:e[i][1]}},function(t,e,i){var n=i(22),r=Array.prototype.splice;t.exports=function(t){var e=this.__data__,i=n(e,t);return!(i<0||(i==e.length-1?e.pop():r.call(e,i,1),--this.size,0))}},function(t,e){t.exports=function(){this.__data__=[],this.size=0}},function(t,e,i){var n=i(56),r=i(53),o=1,s=2;t.exports=function(t,e,i,a){var l=i.length,u=l,c=!a;if(null==t)return!u;for(t=Object(t);l--;){var h=i[l];if(c&&h[2]?h[1]!==t[h[0]]:!(h[0]in t))return!1}for(;++l0&&o(c)?i>1?t(c,i-1,o,s,a):n(a,c):s||(a[a.length]=c)}return a}},function(t,e,i){var n=i(182),r=i(179),o=i(97),s=i(89),a=o(function(t,e){if(null==t)return[];var i=e.length;return i>1&&s(t,e[0],e[1])?e=[]:i>2&&s(e[0],e[1],e[2])&&(e=[e[0]]),r(t,n(e,1),[])});t.exports=a},function(t,e){},function(t,e){t.exports=function(t){return null!=t&&"object"==typeof t}},function(t,e){var i=Object.prototype.toString;t.exports=function(t){return i.call(t)}},function(t,e,i){var n=i(60),r=Object.prototype,o=r.hasOwnProperty,s=r.toString,a=n?n.toStringTag:void 0;t.exports=function(t){var e=o.call(t,a),i=t[a];try{t[a]=void 0;var n=!0}catch(t){}var r=s.call(t);return n&&(e?t[a]=i:delete t[a]),r}},function(t,e,i){var n=i(60),r=i(187),o=i(186),s="[object Null]",a="[object Undefined]",l=n?n.toStringTag:void 0;t.exports=function(t){return null==t?void 0===t?a:s:l&&l in Object(t)?r(t):o(t)}},function(t,e,i){var n=i(188),r=i(185),o="[object Symbol]";t.exports=function(t){return"symbol"==typeof t||r(t)&&n(t)==o}},function(t,e,i){var n=i(35),r=i(189),o=NaN,s=/^\s+|\s+$/g,a=/^[-+]0x[0-9a-f]+$/i,l=/^0b[01]+$/i,u=/^0o[0-7]+$/i,c=parseInt;t.exports=function(t){if("number"==typeof t)return t;if(r(t))return o;if(n(t)){var e="function"==typeof t.valueOf?t.valueOf():t;t=n(e)?e+"":e}if("string"!=typeof t)return 0===t?t:+t;t=t.replace(s,"");var i=l.test(t);return i||u.test(t)?c(t.slice(2),i?2:8):a.test(t)?o:+t}},function(t,e,i){(function(e){var i="object"==typeof e&&e&&e.Object===Object&&e;t.exports=i}).call(this,i(37))},function(t,e,i){var n=i(61);t.exports=function(){return n.Date.now()}},function(t,e,i){var n=i(35),r=i(192),o=i(190),s="Expected a function",a=Math.max,l=Math.min;t.exports=function(t,e,i){var u,c,h,f,p,d,_=0,m=!1,v=!1,g=!0;if("function"!=typeof t)throw new TypeError(s);function y(e){var i=u,n=c;return u=c=void 0,_=e,f=t.apply(n,i)}function b(t){var i=t-d;return void 0===d||i>=e||i<0||v&&t-_>=h}function T(){var t=r();if(b(t))return x(t);p=setTimeout(T,function(t){var i=e-(t-d);return v?l(i,h-(t-_)):i}(t))}function x(t){return p=void 0,g&&u?y(t):(u=c=void 0,f)}function w(){var t=r(),i=b(t);if(u=arguments,c=this,d=t,i){if(void 0===p)return function(t){return _=t,p=setTimeout(T,e),m?y(t):f}(d);if(v)return p=setTimeout(T,e),y(d)}return void 0===p&&(p=setTimeout(T,e)),f}return e=o(e)||0,n(i)&&(m=!!i.leading,h=(v="maxWait"in i)?a(o(i.maxWait)||0,e):h,g="trailing"in i?!!i.trailing:g),w.cancel=function(){void 0!==p&&clearTimeout(p),_=0,u=d=c=p=void 0},w.flush=function(){return void 0===p?f:x(r())},w}},function(t,e){var i=Array.isArray;t.exports=i},function(t,e,i){var n=i(81);n(n.S+n.F*!i(15),"Object",{defineProperty:i(40).f})},function(t,e,i){i(195);var n=i(41).Object;t.exports=function(t,e,i){return n.defineProperty(t,e,i)}},function(t,e,i){t.exports=i(196)},function(t,e,i){var n=i(197);function r(t,e){for(var i=0;i=e||i<0||v&&t-_>=h}function T(){var t=r();if(b(t))return x(t);p=setTimeout(T,function(t){var i=e-(t-d);return v?l(i,h-(t-_)):i}(t))}function x(t){return p=void 0,g&&u?y(t):(u=c=void 0,f)}function w(){var t=r(),i=b(t);if(u=arguments,c=this,d=t,i){if(void 0===p)return function(t){return _=t,p=setTimeout(T,e),m?y(t):f}(d);if(v)return p=setTimeout(T,e),y(d)}return void 0===p&&(p=setTimeout(T,e)),f}return e=o(e)||0,n(i)&&(m=!!i.leading,h=(v="maxWait"in i)?a(o(i.maxWait)||0,e):h,g="trailing"in i?!!i.trailing:g),w.cancel=function(){void 0!==p&&clearTimeout(p),_=0,u=d=c=p=void 0},w.flush=function(){return void 0===p?f:x(r())},w}},function(t,e,i){var n=i(203),r=i(9),o="Expected a function";t.exports=function(t,e,i){var s=!0,a=!0;if("function"!=typeof t)throw new TypeError(o);return r(i)&&(s="leading"in i?!!i.leading:s,a="trailing"in i?!!i.trailing:a),n(t,e,{leading:s,maxWait:e,trailing:a})}},function(t,e,i){"use strict";var n;Object.defineProperty(e,"__esModule",{value:!0}),function(t){t[t.X=1]="X",t[t.Y=2]="Y"}(n||(n={})),e.default=n},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(14),r=i(11),o=i(62),s=i(36),a=function(t){function e(e,i,n,r){var o=t.call(this)||this;return o.scrollPosition=e,o.pointHeight=i,o.pointSide=n,o.pointTracker=r,o.isInView=!1,o.isInBounds=!1,o.hasScrolledBeyond=!1,setTimeout(function(){o.checkScrollBeyond(),o.isInView=o.getInViewValue()},0),o}return n.__extends(e,t),Object.defineProperty(e.prototype,"position",{get:function(){return this.scrollPosition},set:function(t){this.scrollPosition=t,this.checkInView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"height",{get:function(){return this.pointHeight},set:function(t){this.pointHeight=t,this.checkInView()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"side",{get:function(){return this.pointSide},enumerable:!0,configurable:!0}),e.prototype.getInViewValue=function(){var t=this.pointTracker.viewEnd;return t>=this.scrollPosition&&t<=this.scrollPosition+this.pointHeight+window.innerHeight},e.prototype.checkScrollBeyond=function(){var t=this.pointSide===o.default.START?this.scrollPosition:this.pointTracker.scrollSize-this.scrollPosition;this.hasScrolledBeyond||this.pointTracker.viewEnd>=t&&(this.hasScrolledBeyond=!0)},e.prototype.checkInView=function(t){void 0===t&&(t=!1);var e=this.getInViewValue();this.isInBounds=this.scrollPosition>=0&&this.scrollPosition<=this.pointTracker.viewEnd;var i=this.pointSide===o.default.START?this.scrollPosition:this.pointTracker.scrollSize-this.scrollPosition;if(this.isInView!==e){this.isInView=e;var n=e?s.default.ENTER_VIEW:s.default.LEAVE_VIEW,r=new s.default(n,this,(e?t:!t)?o.default.START:o.default.END);this.dispatchEvent(r)}return!this.hasScrolledBeyond&&this.pointTracker.viewEnd>=i&&!e&&(this.hasScrolledBeyond=!0,this.dispatchEvent(new s.default(s.default.SCROLLED_BEYOND,this,o.default.END))),this.isInView},e.prototype.dispose=function(){this.pointTracker=null,t.prototype.dispose.call(this)},e}(r.default);e.default=a},function(t,e,i){"use strict";Object.defineProperty(e,"__esModule",{value:!0});var n=i(14),r=i(11),o=i(206),s=i(205),a=i(36),l=i(62),u=i(204),c=i(200),h=function(t){function e(e,i){void 0===e&&(e=window),void 0===i&&(i=s.default.Y);var n=t.call(this)||this;return n.element=e,n.targetAxis=i,n.trackingPoints=[],n.viewSize=0,n.scrollSize=0,n.viewStart=0,n.viewEnd=0,n.lastScrollPosition=0,n.pointEventHandler=function(t){n.dispatchEvent(t)},n.scrollHandler=function(){n.updateScrollPosition();for(var t=n.viewStart=0&&(this.trackingPoints[e].dispose(),this.trackingPoints.splice(e,1),!0)},e.prototype.removeAllPoints=function(){for(var t=0;t0?this.transitionOutTimeline.kill():this.transitionInTimeline.kill(),this.handleTransitionComplete(c.default.OUT),this.options.debug&&console.info(this.options.name+" Interrupted the transition out!")):i=this._transitionOutPromise),i.then(function(){return null!==e.transitionInPromise&&t&&(e.options.debug&&console.warn("[TransitionController]["+e.options.name+"] Already transitioning in, so rejecting the original \n transitionIn promise to clear any queued animations. We finish the current animation and return a resolved \n promise right away"),e.transitionInRejectMethod(),e.transitionInPromise=null),e.transitionOutTimeline.paused(!0),null===e.transitionInPromise&&e.isHidden&&(e.transitionInPromise=new Promise(function(t){0===e.transitionInTimeline.getChildren().length?(e.options.debug&&console.info(e.options.name+": This block has no transition in timeline"),e.isDisposed()||e.dispatchEvent(new l.default(l.default.TRANSITION_IN_START)),e.isHidden=!1,e.isDisposed()||e.dispatchEvent(new l.default(l.default.TRANSITION_IN_COMPLETE)),t()):(e.transitionInTimeline.paused(!1),e.transitionInResolveMethod=t,e.transitionInRejectMethod=t,e.transitionInTimeline.restart())})),null===e.transitionInPromise?(e.options.debug&&console.warn("[TransitionController]["+e.options.name+"] Transition in triggered when it's already \n visible, so we will do nothing and return a resolved promise!"),Promise.resolve()):e.transitionInPromise})},i.transitionOut=function(t,e,i){var n=this;void 0===t&&(t=!1),void 0===e&&(e=this.options.transitionOutId),void 0===i&&(i=!1);var r=Promise.resolve();return this.setupTimeline(h.default.OUT,i,e),null!==this.transitionInPromise&&(t?(this.transitionInTimeline.kill(),this.handleTransitionComplete(c.default.IN),this.options.debug&&console.warn(this.options.name+" Interrupted the transition in!")):r=this.transitionInPromise),r.then(function(){return null!==n._transitionOutPromise&&t&&(n.options.debug&&console.warn("[TransitionController]["+n.options.name+"] Already transitioning out, so rejecting the \n original transitionOut promise to clear any queued animations. We finish the current animation and return \n a resolved promise right away"),n.transitionOutRejectMethod(),n._transitionOutPromise=null),null!==n._transitionOutPromise||n.isHidden||(n.isHidden=!0,n.transitionOutTimeline.getChildren().length>0?(n.transitionOutTimeline.paused(!1),n.transitionInTimeline.paused(!0)):n.transitionInTimeline.paused(!1),n._transitionOutPromise=new Promise(function(t,e){n.transitionOutResolveMethod=t,n.transitionOutRejectMethod=e,n.transitionOutTimeline.getChildren().length>0?n.transitionOutTimeline.restart():n.transitionInTimeline.reverse()})),null===n._transitionOutPromise?(n.options.debug&&console.warn("[TransitionController]["+n.options.name+"] Transition out triggered when it's already hidden, \n so we will do nothing and return a resolved promise!"),Promise.resolve()):n._transitionOutPromise})},i.startLoopingAnimation=function(t,e){void 0===t&&(t=this.options.loopId),void 0===e&&(e=!0),this.setupTimeline(h.default.LOOPING,e,t),this.loopingAnimationTimeline.play(),this.loopingAnimationStarted=!0},i.stopLoopingAnimation=function(){this.loopingAnimationTimeline.pause(),this.loopingAnimationStarted=!1},i.getTimeline=function(t,e,i,n){void 0===e&&(e=c.default.IN),void 0===i&&(i=!1);var r=this.getComponent(t),o=this.getTimelineInstance(r,e,i,n);return(0,u.cloneTimeline)(o,e).restart()},i.getTimelineDurationForComponent=function(t,e,i,n){return void 0===e&&(e=c.default.IN),void 0===i&&(i=!1),this.getTimelineInstance(this.getComponent(t),e,i,n).duration()},i.setupTimeline=function(t,e,i){var n,r,o;switch(void 0===e&&(e=!0),t){case h.default.IN:n=this.transitionInTimeline,r=void 0===i?this.options.transitionInId:i,o=this.setupTransitionInTimeline.bind(this);break;case h.default.OUT:n=this.transitionOutTimeline,r=void 0===i?this.options.transitionOutId:i,o=this.setupTransitionOutTimeline.bind(this);break;case h.default.LOOPING:n=this.loopingAnimationTimeline,r=void 0===i?this.options.loopId:i,o=this.setupLoopingAnimationTimeline.bind(this);break;default:throw new Error("Unsupported timeline type: "+t)}(e||i!==r)&&(0,u.killAndClearTimeline)(n),n.getChildren()<=0?o(n,this.parentController,r):this.options.debug&&console.warn("[TransitionController][timeline: "+n+" id: "+r+"] Skipping setup method because \n the timeline already has children!")},i.init=function(){this.setupTimeline(h.default.IN,!0,this.options.transitionInId)},i.getTimelineInstance=function(t,e,i,n){void 0===e&&(e=c.default.IN),void 0===i&&(i=!1);var r,o=t[this.options.transitionController];return e===c.default.OUT?(o.setupTimeline(h.default.OUT,i,n),r=o.transitionOutTimeline):r=o.transitionInTimeline,r},i.createTransitionTimelines=function(){var t=this;this.transitionInTimeline=(0,u.createTimeline)({onStart:function(){return t.handleTransitionStart(c.default.IN)},onComplete:function(){return t.handleTransitionComplete(c.default.IN)},onReverseStart:function(){return t.handleTransitionStart(c.default.OUT)},onReverseComplete:function(){return t.handleTransitionComplete(c.default.OUT)}}),this.transitionOutTimeline=(0,u.createTimeline)({onStart:function(){return t.handleTransitionStart(c.default.OUT)},onComplete:function(){return t.handleTransitionComplete(c.default.OUT)}}),this.loopingAnimationTimeline=new s.TimelineMax({paused:!0,repeat:-1})},i.handleTransitionStart=function(t){switch(t){case c.default.IN:this.isDisposed()||this.dispatchEvent(new l.default(l.default.TRANSITION_IN_START)),this.isHidden=!1;break;case c.default.OUT:this.isDisposed()||this.dispatchEvent(new l.default(l.default.TRANSITION_OUT_START)),this.isHidden=!0}},i.handleTransitionComplete=function(t){switch(t){case c.default.IN:this.transitionInPromise=null,null!==this.transitionInResolveMethod&&(this.transitionInResolveMethod(),this.transitionInResolveMethod=null),this.isDisposed()||this.dispatchEvent(new l.default(l.default.TRANSITION_IN_COMPLETE));break;case c.default.OUT:this._transitionOutPromise=null,null!==this.transitionOutResolveMethod&&(this.transitionOutResolveMethod(),this.transitionOutResolveMethod=null),this.isDisposed()||this.dispatchEvent(new l.default(l.default.TRANSITION_OUT_COMPLETE))}},i.clean=function(){this.parentController=null,this.isHidden=null,null!==this.transitionOutTimeline&&((0,u.killAndClearTimeline)(this.transitionOutTimeline),this.transitionOutTimeline=null),null!==this.transitionInTimeline&&((0,u.killAndClearTimeline)(this.transitionInTimeline),this.transitionInTimeline=null),this.loopingAnimationTimeline&&((0,u.killAndClearTimeline)(this.loopingAnimationTimeline),this.loopingAnimationTimeline=null),this.transitionOutResolveMethod=null,this.transitionInResolveMethod=null,this._transitionOutPromise=null,this.transitionInPromise=null},i.dispose=function(){null!==this._transitionOutPromise&&null!==this.transitionOutResolveMethod?this._transitionOutPromise.then(this.clean.bind(this)):this.clean(),t.prototype.dispose.call(this)},e}(a.default);e.default=f,Object.defineProperty(f,"counter",{configurable:!0,enumerable:!0,writable:!0,value:0})},function(t,e,i){var n=i(25).document;t.exports=n&&n.documentElement},function(t,e){var i=0,n=Math.random();t.exports=function(t){return"Symbol(".concat(void 0===t?"":t,")_",(++i+n).toString(36))}},function(t,e,i){var n=i(25),r=n["__core-js_shared__"]||(n["__core-js_shared__"]={});t.exports=function(t){return r[t]||(r[t]={})}},function(t,e,i){var n=i(76),r=Math.max,o=Math.min;t.exports=function(t,e){return(t=n(t))<0?r(t+e,0):o(t,e)}},function(t,e,i){var n=i(76),r=Math.min;t.exports=function(t){return t>0?r(n(t),9007199254740991):0}},function(t,e,i){var n=i(77),r=i(223),o=i(222);t.exports=function(t){return function(e,i,s){var a,l=n(e),u=r(l.length),c=o(s,u);if(t&&i!=i){for(;u>c;)if((a=l[c++])!=a)return!0}else for(;u>c;c++)if((t||c in l)&&l[c]===i)return t||c||0;return!t&&-1}}},function(t,e){t.exports=function(t){if(void 0==t)throw TypeError("Can't call method on "+t);return t}},function(t,e){var i={}.toString;t.exports=function(t){return i.call(t).slice(8,-1)}},function(t,e,i){var n=i(226);t.exports=Object("z").propertyIsEnumerable(0)?Object:function(t){return"String"==n(t)?t.split(""):Object(t)}},function(t,e,i){var n=i(78),r=i(77),o=i(224)(!1),s=i(75)("IE_PROTO");t.exports=function(t,e){var i,a=r(t),l=0,u=[];for(i in a)i!=s&&n(a,i)&&u.push(i);for(;e.length>l;)n(a,i=e[l++])&&(~o(u,i)||u.push(i));return u}},function(t,e,i){var n=i(228),r=i(74);t.exports=Object.keys||function(t){return n(t,r)}},function(t,e,i){var n=i(40),r=i(39),o=i(229);t.exports=i(15)?Object.defineProperties:function(t,e){r(t);for(var i,s=o(e),a=s.length,l=0;a>l;)n.f(t,i=s[l++],e[i]);return t}},function(t,e,i){var n=i(39),r=i(230),o=i(74),s=i(75)("IE_PROTO"),a=function(){},l=function(){var t,e=i(79)("iframe"),n=o.length;for(e.style.display="none",i(219).appendChild(e),e.src="javascript:",(t=e.contentWindow.document).open(),t.write("