chbim-plugins
Version:
此插件和chbim云平台强绑定
13 lines • 971 kB
JavaScript
(function(Pi,oi){typeof exports=="object"&&typeof module<"u"?oi(exports,require("vue")):typeof define=="function"&&define.amd?define(["exports","vue"],oi):(Pi=typeof globalThis<"u"?globalThis:Pi||self,oi(Pi["chbim-plugins"]={},Pi.Vue))})(this,function(Pi,oi){"use strict";var T1=Object.defineProperty;var M1=(Pi,oi,Pl)=>oi in Pi?T1(Pi,oi,{enumerable:!0,configurable:!0,writable:!0,value:Pl}):Pi[oi]=Pl;var Ho=(Pi,oi,Pl)=>(M1(Pi,typeof oi!="symbol"?oi+"":oi,Pl),Pl);const Pl="",Tf=((x,a)=>{const o=x.__vccOpts||x;for(const[c,f]of a)o[c]=f;return o})(Object.assign({name:"MukButton"},{props:{size:{type:String,default:"middle"},type:{type:String,default:"default"}},setup(x){return(a,o)=>(oi.openBlock(),oi.createElementBlock("button",{class:oi.normalizeClass(["muk-btn",[x.size,x.type]])},[oi.renderSlot(a.$slots,"default",{},void 0,!0)],2))}}),[["__scopeId","data-v-0e6d93cd"]]);class Gp{constructor(){this.dom={mask:document.querySelector(".js-mask"),slices:[...document.querySelectorAll(".js-mask__slice")],lines:[...document.querySelectorAll(".js-mask-line")],logo:document.querySelector(".js-logo"),titles:[...document.querySelectorAll(".js-transition-title")]},this.tl=null,this.state=!1,this.init()}resetScroll(){window.scrollTo(0,0)}createTimeline(){this.tl=new TimelineMax({paused:!0,onComplete:()=>{this.state=!1}}),this.tl.set(this.dom.titles,{yPercent:0}).set(this.dom.mask,{autoAlpha:1}).staggerFromTo(this.dom.slices,1.5,{xPercent:100},{xPercent:0,ease:Expo.easeInOut},-.075).addCallback(this.resetScroll.bind(this)).addLabel("loaderStart").set(this.dom.titles,{yPercent:-100}).set([this.dom.lines[0],this.dom.logo],{autoAlpha:1}).fromTo(this.dom.logo,1,{yPercent:-100,rotation:10},{yPercent:0,rotation:0,ease:Expo.easeOut}).addLabel("intermediateFrame").staggerFromTo(this.dom.lines,.5,{scaleX:0},{scaleX:1,ease:Expo.easeInOut},.75,"-=1").set(this.dom.lines,{transformOrigin:"right"}).fromTo(this.dom.lines[0],1,{scaleX:1},{scaleX:0,ease:Expo.easeInOut}).fromTo(this.dom.logo,1,{yPercent:0},{yPercent:105,ease:Expo.easeOut},"-=1").staggerFromTo(this.dom.slices,.5,{xPercent:0},{xPercent:100,ease:Expo.easeInOut},.075).set(this.dom.mask,{autoAlpha:0}).addLabel("imagesStart","-=0.85").staggerFromTo(this.dom.titles,1.5,{yPercent:100},{yPercent:0,ease:Expo.easeInOut},.05,"imagesStart").addLabel("loaderEnd")}continuation(){this.init(),this.resetScroll(),this.tl.tweenFromTo("loaderStart","loaderEnd")}show(){this.init(),this.tl.tweenFromTo("loaderStart","intermediateFrame")}hide(){this.resetScroll(),this.tl.tweenFromTo("intermediateFrame","loaderEnd")}init(){document.querySelector(".mask-line.js-mask-line")&&document.querySelector(".mask-line.js-mask-line").removeAttribute("style"),document.querySelector(".mask-line__inner.js-mask-line")&&document.querySelector(".mask-line__inner.js-mask-line").removeAttribute("style"),this.createTimeline()}}const Hp={class:"mask js-mask"},Vp=oi.createElementVNode("div",{class:"mask__slice js-mask__slice"},null,-1),Wp=oi.createElementVNode("div",{class:"mask__slice js-mask__slice"},null,-1),jp=oi.createElementVNode("div",{class:"mask__slice js-mask__slice"},null,-1),Xp={class:"mask__inner"},qp={class:"logo logo--mask"},Yp={class:"js-logo",style:{color:"#fff"}},Zp=oi.createElementVNode("div",{class:"mask-line js-mask-line"},[oi.createElementVNode("div",{class:"mask-line__inner js-mask-line"})],-1),Jp={name:"BimCutscenes"},Mf=oi.defineComponent({...Jp,props:{text:{type:String,default:"CHBIM云平台"}},setup(x,{expose:a}){const o=oi.ref(null),c=()=>{o.value===null&&(o.value=new Gp)},f=()=>{c(),o.value.continuation()};return oi.onMounted(()=>{c()}),a({continuation:f}),(u,m)=>(oi.openBlock(),oi.createElementBlock("div",Hp,[Vp,Wp,jp,oi.createElementVNode("div",Xp,[oi.createElementVNode("figure",qp,[oi.createElementVNode("p",Yp,oi.toDisplayString(x.text),1)]),Zp])]))}}),C1="";/*!
* VERSION: 2.0.2
* DATE: 2018-08-27
* UPDATES AND DOCS AT: http://greensock.com
*
* Includes all of the following: TweenLite, TweenMax, TimelineLite, TimelineMax, EasePack, CSSPlugin, RoundPropsPlugin, BezierPlugin, AttrPlugin, DirectionalRotationPlugin
*
* @license Copyright (c) 2008-2018, GreenSock. All rights reserved.
* This work is subject to the terms at http://greensock.com/standard-license or for
* Club GreenSock members, the software agreement that was issued with your membership.
*
* @author: Jack Doyle, jack@greensock.com
**/var ln=typeof module<"u"&&module.exports&&typeof global<"u"?global:globalThis||window;(ln._gsQueue||(ln._gsQueue=[])).push(function(){ln._gsDefine("TweenMax",["core.Animation","core.SimpleTimeline","TweenLite"],function(x,a,o){var c=function(E){var P,w=[],M=E.length;for(P=0;P!==M;w.push(E[P++]));return w},f=function(E,P,w){var M,R,C=E.cycle;for(M in C)R=C[M],E[M]=typeof R=="function"?R(w,P[w]):R[w%R.length];delete E.cycle},u=function(E,P,w){o.call(this,E,P,w),this._cycle=0,this._yoyo=this.vars.yoyo===!0||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._repeat&&this._uncache(!0),this.render=u.prototype.render},m=1e-10,g=o._internals,v=g.isSelector,S=g.isArray,b=u.prototype=o.to({},.1,{}),O=[];u.version="2.0.2",b.constructor=u,b.kill()._gc=!1,u.killTweensOf=u.killDelayedCallsTo=o.killTweensOf,u.getTweensOf=o.getTweensOf,u.lagSmoothing=o.lagSmoothing,u.ticker=o.ticker,u.render=o.render,b.invalidate=function(){return this._yoyo=this.vars.yoyo===!0||!!this.vars.yoyoEase,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._yoyoEase=null,this._uncache(!0),o.prototype.invalidate.call(this)},b.updateTo=function(E,P){var w,M=this.ratio,R=this.vars.immediateRender||E.immediateRender;P&&this._startTime<this._timeline._time&&(this._startTime=this._timeline._time,this._uncache(!1),this._gc?this._enabled(!0,!1):this._timeline.insert(this,this._startTime-this._delay));for(w in E)this.vars[w]=E[w];if(this._initted||R){if(P)this._initted=!1,R&&this.render(0,!0,!0);else if(this._gc&&this._enabled(!0,!1),this._notifyPluginsOfEnabled&&this._firstPT&&o._onPluginEvent("_onDisable",this),this._time/this._duration>.998){var C=this._totalTime;this.render(0,!0,!1),this._initted=!1,this.render(C,!0,!1)}else if(this._initted=!1,this._init(),this._time>0||R)for(var U,F=1/(1-M),X=this._firstPT;X;)U=X.s+X.c,X.c*=F,X.s=U-X.c,X=X._next}return this},b.render=function(E,P,w){this._initted||this._duration===0&&this.vars.repeat&&this.invalidate();var M,R,C,U,F,X,K,Z,ct,Rt=this._dirty?this.totalDuration():this._totalDuration,tt=this._time,_t=this._totalTime,G=this._cycle,Pt=this._duration,Et=this._rawPrevTime;if(E>=Rt-1e-7&&E>=0?(this._totalTime=Rt,this._cycle=this._repeat,this._yoyo&&1&this._cycle?(this._time=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0):(this._time=Pt,this.ratio=this._ease._calcEnd?this._ease.getRatio(1):1),this._reversed||(M=!0,R="onComplete",w=w||this._timeline.autoRemoveChildren),Pt===0&&(this._initted||!this.vars.lazy||w)&&(this._startTime===this._timeline._duration&&(E=0),(0>Et||0>=E&&E>=-1e-7||Et===m&&this.data!=="isPause")&&Et!==E&&(w=!0,Et>m&&(R="onReverseComplete")),this._rawPrevTime=Z=!P||E||Et===E?E:m)):1e-7>E?(this._totalTime=this._time=this._cycle=0,this.ratio=this._ease._calcEnd?this._ease.getRatio(0):0,(_t!==0||Pt===0&&Et>0)&&(R="onReverseComplete",M=this._reversed),0>E&&(this._active=!1,Pt===0&&(this._initted||!this.vars.lazy||w)&&(Et>=0&&(w=!0),this._rawPrevTime=Z=!P||E||Et===E?E:m)),this._initted||(w=!0)):(this._totalTime=this._time=E,this._repeat!==0&&(U=Pt+this._repeatDelay,this._cycle=this._totalTime/U>>0,this._cycle!==0&&this._cycle===this._totalTime/U&&E>=_t&&this._cycle--,this._time=this._totalTime-this._cycle*U,this._yoyo&&1&this._cycle&&(this._time=Pt-this._time,ct=this._yoyoEase||this.vars.yoyoEase,ct&&(this._yoyoEase||(ct!==!0||this._initted?this._yoyoEase=ct=ct===!0?this._ease:ct instanceof Ease?ct:Ease.map[ct]:(ct=this.vars.ease,this._yoyoEase=ct=ct?ct instanceof Ease?ct:typeof ct=="function"?new Ease(ct,this.vars.easeParams):Ease.map[ct]||o.defaultEase:o.defaultEase)),this.ratio=ct?1-ct.getRatio((Pt-this._time)/Pt):0)),this._time>Pt?this._time=Pt:this._time<0&&(this._time=0)),this._easeType&&!ct?(F=this._time/Pt,X=this._easeType,K=this._easePower,(X===1||X===3&&F>=.5)&&(F=1-F),X===3&&(F*=2),K===1?F*=F:K===2?F*=F*F:K===3?F*=F*F*F:K===4&&(F*=F*F*F*F),X===1?this.ratio=1-F:X===2?this.ratio=F:this._time/Pt<.5?this.ratio=F/2:this.ratio=1-F/2):ct||(this.ratio=this._ease.getRatio(this._time/Pt))),tt===this._time&&!w&&G===this._cycle)return void(_t!==this._totalTime&&this._onUpdate&&(P||this._callback("onUpdate")));if(!this._initted){if(this._init(),!this._initted||this._gc)return;if(!w&&this._firstPT&&(this.vars.lazy!==!1&&this._duration||this.vars.lazy&&!this._duration))return this._time=tt,this._totalTime=_t,this._rawPrevTime=Et,this._cycle=G,g.lazyTweens.push(this),void(this._lazy=[E,P]);!this._time||M||ct?M&&this._ease._calcEnd&&!ct&&(this.ratio=this._ease.getRatio(this._time===0?0:1)):this.ratio=this._ease.getRatio(this._time/Pt)}for(this._lazy!==!1&&(this._lazy=!1),this._active||!this._paused&&this._time!==tt&&E>=0&&(this._active=!0),_t===0&&(this._initted===2&&E>0&&this._init(),this._startAt&&(E>=0?this._startAt.render(E,!0,w):R||(R="_dummyGS")),this.vars.onStart&&(this._totalTime!==0||Pt===0)&&(P||this._callback("onStart"))),C=this._firstPT;C;)C.f?C.t[C.p](C.c*this.ratio+C.s):C.t[C.p]=C.c*this.ratio+C.s,C=C._next;this._onUpdate&&(0>E&&this._startAt&&this._startTime&&this._startAt.render(E,!0,w),P||(this._totalTime!==_t||R)&&this._callback("onUpdate")),this._cycle!==G&&(P||this._gc||this.vars.onRepeat&&this._callback("onRepeat")),R&&(!this._gc||w)&&(0>E&&this._startAt&&!this._onUpdate&&this._startTime&&this._startAt.render(E,!0,w),M&&(this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!P&&this.vars[R]&&this._callback(R),Pt===0&&this._rawPrevTime===m&&Z!==m&&(this._rawPrevTime=0))},u.to=function(E,P,w){return new u(E,P,w)},u.from=function(E,P,w){return w.runBackwards=!0,w.immediateRender=w.immediateRender!=0,new u(E,P,w)},u.fromTo=function(E,P,w,M){return M.startAt=w,M.immediateRender=M.immediateRender!=0&&w.immediateRender!=0,new u(E,P,M)},u.staggerTo=u.allTo=function(E,P,w,M,R,C,U){M=M||0;var F,X,K,Z,ct=0,Rt=[],tt=function(){w.onComplete&&w.onComplete.apply(w.onCompleteScope||this,arguments),R.apply(U||w.callbackScope||this,C||O)},_t=w.cycle,G=w.startAt&&w.startAt.cycle;for(S(E)||(typeof E=="string"&&(E=o.selector(E)||E),v(E)&&(E=c(E))),E=E||[],0>M&&(E=c(E),E.reverse(),M*=-1),F=E.length-1,K=0;F>=K;K++){X={};for(Z in w)X[Z]=w[Z];if(_t&&(f(X,E,K),X.duration!=null&&(P=X.duration,delete X.duration)),G){G=X.startAt={};for(Z in w.startAt)G[Z]=w.startAt[Z];f(X.startAt,E,K)}X.delay=ct+(X.delay||0),K===F&&R&&(X.onComplete=tt),Rt[K]=new u(E[K],P,X),ct+=M}return Rt},u.staggerFrom=u.allFrom=function(E,P,w,M,R,C,U){return w.runBackwards=!0,w.immediateRender=w.immediateRender!=0,u.staggerTo(E,P,w,M,R,C,U)},u.staggerFromTo=u.allFromTo=function(E,P,w,M,R,C,U,F){return M.startAt=w,M.immediateRender=M.immediateRender!=0&&w.immediateRender!=0,u.staggerTo(E,P,M,R,C,U,F)},u.delayedCall=function(E,P,w,M,R){return new u(P,0,{delay:E,onComplete:P,onCompleteParams:w,callbackScope:M,onReverseComplete:P,onReverseCompleteParams:w,immediateRender:!1,useFrames:R,overwrite:0})},u.set=function(E,P){return new u(E,0,P)},u.isTweening=function(E){return o.getTweensOf(E,!0).length>0};var k=function(E,P){for(var w=[],M=0,R=E._first;R;)R instanceof o?w[M++]=R:(P&&(w[M++]=R),w=w.concat(k(R,P)),M=w.length),R=R._next;return w},I=u.getAllTweens=function(E){return k(x._rootTimeline,E).concat(k(x._rootFramesTimeline,E))};u.killAll=function(E,P,w,M){P==null&&(P=!0),w==null&&(w=!0);var R,C,U,F=I(M!=0),X=F.length,K=P&&w&&M;for(U=0;X>U;U++)C=F[U],(K||C instanceof a||(R=C.target===C.vars.onComplete)&&w||P&&!R)&&(E?C.totalTime(C._reversed?0:C.totalDuration()):C._enabled(!1,!1))},u.killChildTweensOf=function(E,P){if(E!=null){var w,M,R,C,U,F=g.tweenLookup;if(typeof E=="string"&&(E=o.selector(E)||E),v(E)&&(E=c(E)),S(E))for(C=E.length;--C>-1;)u.killChildTweensOf(E[C],P);else{w=[];for(R in F)for(M=F[R].target.parentNode;M;)M===E&&(w=w.concat(F[R].tweens)),M=M.parentNode;for(U=w.length,C=0;U>C;C++)P&&w[C].totalTime(w[C].totalDuration()),w[C]._enabled(!1,!1)}}};var N=function(E,P,w,M){P=P!==!1,w=w!==!1,M=M!==!1;for(var R,C,U=I(M),F=P&&w&&M,X=U.length;--X>-1;)C=U[X],(F||C instanceof a||(R=C.target===C.vars.onComplete)&&w||P&&!R)&&C.paused(E)};return u.pauseAll=function(E,P,w){N(!0,E,P,w)},u.resumeAll=function(E,P,w){N(!1,E,P,w)},u.globalTimeScale=function(E){var P=x._rootTimeline,w=o.ticker.time;return arguments.length?(E=E||m,P._startTime=w-(w-P._startTime)*P._timeScale/E,P=x._rootFramesTimeline,w=o.ticker.frame,P._startTime=w-(w-P._startTime)*P._timeScale/E,P._timeScale=x._rootTimeline._timeScale=E,E):P._timeScale},b.progress=function(E,P){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-E:E)+this._cycle*(this._duration+this._repeatDelay),P):this._time/this.duration()},b.totalProgress=function(E,P){return arguments.length?this.totalTime(this.totalDuration()*E,P):this._totalTime/this.totalDuration()},b.time=function(E,P){return arguments.length?(this._dirty&&this.totalDuration(),E>this._duration&&(E=this._duration),this._yoyo&&1&this._cycle?E=this._duration-E+this._cycle*(this._duration+this._repeatDelay):this._repeat!==0&&(E+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(E,P)):this._time},b.duration=function(E){return arguments.length?x.prototype.duration.call(this,E):this._duration},b.totalDuration=function(E){return arguments.length?this._repeat===-1?this:this.duration((E-this._repeat*this._repeatDelay)/(this._repeat+1)):(this._dirty&&(this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat,this._dirty=!1),this._totalDuration)},b.repeat=function(E){return arguments.length?(this._repeat=E,this._uncache(!0)):this._repeat},b.repeatDelay=function(E){return arguments.length?(this._repeatDelay=E,this._uncache(!0)):this._repeatDelay},b.yoyo=function(E){return arguments.length?(this._yoyo=E,this):this._yoyo},u},!0),ln._gsDefine("TimelineLite",["core.Animation","core.SimpleTimeline","TweenLite"],function(x,a,o){var c=function(w){a.call(this,w),this._labels={},this.autoRemoveChildren=this.vars.autoRemoveChildren===!0,this.smoothChildTiming=this.vars.smoothChildTiming===!0,this._sortChildren=!0,this._onUpdate=this.vars.onUpdate;var M,R,C=this.vars;for(R in C)M=C[R],v(M)&&M.join("").indexOf("{self}")!==-1&&(C[R]=this._swapSelfInParams(M));v(C.tweens)&&this.add(C.tweens,0,C.align,C.stagger)},f=1e-10,u=o._internals,m=c._internals={},g=u.isSelector,v=u.isArray,S=u.lazyTweens,b=u.lazyRender,O=ln._gsDefine.globals,k=function(w){var M,R={};for(M in w)R[M]=w[M];return R},I=function(w,M,R){var C,U,F=w.cycle;for(C in F)U=F[C],w[C]=typeof U=="function"?U(R,M[R]):U[R%U.length];delete w.cycle},N=m.pauseCallback=function(){},E=function(w){var M,R=[],C=w.length;for(M=0;M!==C;R.push(w[M++]));return R},P=c.prototype=new a;return c.version="2.0.2",P.constructor=c,P.kill()._gc=P._forcingPlayhead=P._hasPause=!1,P.to=function(w,M,R,C){var U=R.repeat&&O.TweenMax||o;return M?this.add(new U(w,M,R),C):this.set(w,R,C)},P.from=function(w,M,R,C){return this.add((R.repeat&&O.TweenMax||o).from(w,M,R),C)},P.fromTo=function(w,M,R,C,U){var F=C.repeat&&O.TweenMax||o;return M?this.add(F.fromTo(w,M,R,C),U):this.set(w,C,U)},P.staggerTo=function(w,M,R,C,U,F,X,K){var Z,ct,Rt=new c({onComplete:F,onCompleteParams:X,callbackScope:K,smoothChildTiming:this.smoothChildTiming}),tt=R.cycle;for(typeof w=="string"&&(w=o.selector(w)||w),w=w||[],g(w)&&(w=E(w)),C=C||0,0>C&&(w=E(w),w.reverse(),C*=-1),ct=0;ct<w.length;ct++)Z=k(R),Z.startAt&&(Z.startAt=k(Z.startAt),Z.startAt.cycle&&I(Z.startAt,w,ct)),tt&&(I(Z,w,ct),Z.duration!=null&&(M=Z.duration,delete Z.duration)),Rt.to(w[ct],M,Z,ct*C);return this.add(Rt,U)},P.staggerFrom=function(w,M,R,C,U,F,X,K){return R.immediateRender=R.immediateRender!=0,R.runBackwards=!0,this.staggerTo(w,M,R,C,U,F,X,K)},P.staggerFromTo=function(w,M,R,C,U,F,X,K,Z){return C.startAt=R,C.immediateRender=C.immediateRender!=0&&R.immediateRender!=0,this.staggerTo(w,M,C,U,F,X,K,Z)},P.call=function(w,M,R,C){return this.add(o.delayedCall(0,w,M,R),C)},P.set=function(w,M,R){return R=this._parseTimeOrLabel(R,0,!0),M.immediateRender==null&&(M.immediateRender=R===this._time&&!this._paused),this.add(new o(w,0,M),R)},c.exportRoot=function(w,M){w=w||{},w.smoothChildTiming==null&&(w.smoothChildTiming=!0);var R,C,U,F,X=new c(w),K=X._timeline;for(M==null&&(M=!0),K._remove(X,!0),X._startTime=0,X._rawPrevTime=X._time=X._totalTime=K._time,U=K._first;U;)F=U._next,M&&U instanceof o&&U.target===U.vars.onComplete||(C=U._startTime-U._delay,0>C&&(R=1),X.add(U,C)),U=F;return K.add(X,0),R&&X.totalDuration(),X},P.add=function(w,M,R,C){var U,F,X,K,Z,ct;if(typeof M!="number"&&(M=this._parseTimeOrLabel(M,0,!0,w)),!(w instanceof x)){if(w instanceof Array||w&&w.push&&v(w)){for(R=R||"normal",C=C||0,U=M,F=w.length,X=0;F>X;X++)v(K=w[X])&&(K=new c({tweens:K})),this.add(K,U),typeof K!="string"&&typeof K!="function"&&(R==="sequence"?U=K._startTime+K.totalDuration()/K._timeScale:R==="start"&&(K._startTime-=K.delay())),U+=C;return this._uncache(!0)}if(typeof w=="string")return this.addLabel(w,M);if(typeof w!="function")throw"Cannot add "+w+" into the timeline; it is not a tween, timeline, function, or string.";w=o.delayedCall(0,w)}if(a.prototype.add.call(this,w,M),w._time&&(U=Math.max(0,Math.min(w.totalDuration(),(this.rawTime()-w._startTime)*w._timeScale)),Math.abs(U-w._totalTime)>1e-5&&w.render(U,!1,!1)),(this._gc||this._time===this._duration)&&!this._paused&&this._duration<this.duration())for(Z=this,ct=Z.rawTime()>w._startTime;Z._timeline;)ct&&Z._timeline.smoothChildTiming?Z.totalTime(Z._totalTime,!0):Z._gc&&Z._enabled(!0,!1),Z=Z._timeline;return this},P.remove=function(w){if(w instanceof x){this._remove(w,!1);var M=w._timeline=w.vars.useFrames?x._rootFramesTimeline:x._rootTimeline;return w._startTime=(w._paused?w._pauseTime:M._time)-(w._reversed?w.totalDuration()-w._totalTime:w._totalTime)/w._timeScale,this}if(w instanceof Array||w&&w.push&&v(w)){for(var R=w.length;--R>-1;)this.remove(w[R]);return this}return typeof w=="string"?this.removeLabel(w):this.kill(null,w)},P._remove=function(w,M){a.prototype._remove.call(this,w,M);var R=this._last;return R?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(w,M){return this.add(w,this._parseTimeOrLabel(null,M,!0,w))},P.insert=P.insertMultiple=function(w,M,R,C){return this.add(w,M||0,R,C)},P.appendMultiple=function(w,M,R,C){return this.add(w,this._parseTimeOrLabel(null,M,!0,w),R,C)},P.addLabel=function(w,M){return this._labels[w]=this._parseTimeOrLabel(M),this},P.addPause=function(w,M,R,C){var U=o.delayedCall(0,N,R,C||this);return U.vars.onComplete=U.vars.onReverseComplete=M,U.data="isPause",this._hasPause=!0,this.add(U,w)},P.removeLabel=function(w){return delete this._labels[w],this},P.getLabelTime=function(w){return this._labels[w]!=null?this._labels[w]:-1},P._parseTimeOrLabel=function(w,M,R,C){var U,F;if(C instanceof x&&C.timeline===this)this.remove(C);else if(C&&(C instanceof Array||C.push&&v(C)))for(F=C.length;--F>-1;)C[F]instanceof x&&C[F].timeline===this&&this.remove(C[F]);if(U=typeof w!="number"||M?this.duration()>99999999999?this.recent().endTime(!1):this._duration:0,typeof M=="string")return this._parseTimeOrLabel(M,R&&typeof w=="number"&&this._labels[M]==null?w-U:0,R);if(M=M||0,typeof w!="string"||!isNaN(w)&&this._labels[w]==null)w==null&&(w=U);else{if(F=w.indexOf("="),F===-1)return this._labels[w]==null?R?this._labels[w]=U+M:M:this._labels[w]+M;M=parseInt(w.charAt(F-1)+"1",10)*Number(w.substr(F+1)),w=F>1?this._parseTimeOrLabel(w.substr(0,F-1),0,R):U}return Number(w)+M},P.seek=function(w,M){return this.totalTime(typeof w=="number"?w:this._parseTimeOrLabel(w),M!==!1)},P.stop=function(){return this.paused(!0)},P.gotoAndPlay=function(w,M){return this.play(w,M)},P.gotoAndStop=function(w,M){return this.pause(w,M)},P.render=function(w,M,R){this._gc&&this._enabled(!0,!1);var C,U,F,X,K,Z,ct,Rt=this._time,tt=this._dirty?this.totalDuration():this._totalDuration,_t=this._startTime,G=this._timeScale,Pt=this._paused;if(Rt!==this._time&&(w+=this._time-Rt),w>=tt-1e-7&&w>=0)this._totalTime=this._time=tt,this._reversed||this._hasPausedChild()||(U=!0,X="onComplete",K=!!this._timeline.autoRemoveChildren,this._duration===0&&(0>=w&&w>=-1e-7||this._rawPrevTime<0||this._rawPrevTime===f)&&this._rawPrevTime!==w&&this._first&&(K=!0,this._rawPrevTime>f&&(X="onReverseComplete"))),this._rawPrevTime=this._duration||!M||w||this._rawPrevTime===w?w:f,w=tt+1e-4;else if(1e-7>w)if(this._totalTime=this._time=0,(Rt!==0||this._duration===0&&this._rawPrevTime!==f&&(this._rawPrevTime>0||0>w&&this._rawPrevTime>=0))&&(X="onReverseComplete",U=this._reversed),0>w)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(K=U=!0,X="onReverseComplete"):this._rawPrevTime>=0&&this._first&&(K=!0),this._rawPrevTime=w;else{if(this._rawPrevTime=this._duration||!M||w||this._rawPrevTime===w?w:f,w===0&&U)for(C=this._first;C&&C._startTime===0;)C._duration||(U=!1),C=C._next;w=0,this._initted||(K=!0)}else{if(this._hasPause&&!this._forcingPlayhead&&!M){if(w>=Rt)for(C=this._first;C&&C._startTime<=w&&!Z;)C._duration||C.data!=="isPause"||C.ratio||C._startTime===0&&this._rawPrevTime===0||(Z=C),C=C._next;else for(C=this._last;C&&C._startTime>=w&&!Z;)C._duration||C.data==="isPause"&&C._rawPrevTime>0&&(Z=C),C=C._prev;Z&&(this._time=w=Z._startTime,this._totalTime=w+this._cycle*(this._totalDuration+this._repeatDelay))}this._totalTime=this._time=this._rawPrevTime=w}if(this._time!==Rt&&this._first||R||K||Z){if(this._initted||(this._initted=!0),this._active||!this._paused&&this._time!==Rt&&w>0&&(this._active=!0),Rt===0&&this.vars.onStart&&(this._time===0&&this._duration||M||this._callback("onStart")),ct=this._time,ct>=Rt)for(C=this._first;C&&(F=C._next,ct===this._time&&(!this._paused||Pt));)(C._active||C._startTime<=ct&&!C._paused&&!C._gc)&&(Z===C&&this.pause(),C._reversed?C.render((C._dirty?C.totalDuration():C._totalDuration)-(w-C._startTime)*C._timeScale,M,R):C.render((w-C._startTime)*C._timeScale,M,R)),C=F;else for(C=this._last;C&&(F=C._prev,ct===this._time&&(!this._paused||Pt));){if(C._active||C._startTime<=Rt&&!C._paused&&!C._gc){if(Z===C){for(Z=C._prev;Z&&Z.endTime()>this._time;)Z.render(Z._reversed?Z.totalDuration()-(w-Z._startTime)*Z._timeScale:(w-Z._startTime)*Z._timeScale,M,R),Z=Z._prev;Z=null,this.pause()}C._reversed?C.render((C._dirty?C.totalDuration():C._totalDuration)-(w-C._startTime)*C._timeScale,M,R):C.render((w-C._startTime)*C._timeScale,M,R)}C=F}this._onUpdate&&(M||(S.length&&b(),this._callback("onUpdate"))),X&&(this._gc||(_t===this._startTime||G!==this._timeScale)&&(this._time===0||tt>=this.totalDuration())&&(U&&(S.length&&b(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!M&&this.vars[X]&&this._callback(X)))}},P._hasPausedChild=function(){for(var w=this._first;w;){if(w._paused||w instanceof c&&w._hasPausedChild())return!0;w=w._next}return!1},P.getChildren=function(w,M,R,C){C=C||-9999999999;for(var U=[],F=this._first,X=0;F;)F._startTime<C||(F instanceof o?M!==!1&&(U[X++]=F):(R!==!1&&(U[X++]=F),w!==!1&&(U=U.concat(F.getChildren(!0,M,R)),X=U.length))),F=F._next;return U},P.getTweensOf=function(w,M){var R,C,U=this._gc,F=[],X=0;for(U&&this._enabled(!0,!0),R=o.getTweensOf(w),C=R.length;--C>-1;)(R[C].timeline===this||M&&this._contains(R[C]))&&(F[X++]=R[C]);return U&&this._enabled(!1,!0),F},P.recent=function(){return this._recent},P._contains=function(w){for(var M=w.timeline;M;){if(M===this)return!0;M=M.timeline}return!1},P.shiftChildren=function(w,M,R){R=R||0;for(var C,U=this._first,F=this._labels;U;)U._startTime>=R&&(U._startTime+=w),U=U._next;if(M)for(C in F)F[C]>=R&&(F[C]+=w);return this._uncache(!0)},P._kill=function(w,M){if(!w&&!M)return this._enabled(!1,!1);for(var R=M?this.getTweensOf(M):this.getChildren(!0,!0,!1),C=R.length,U=!1;--C>-1;)R[C]._kill(w,M)&&(U=!0);return U},P.clear=function(w){var M=this.getChildren(!1,!0,!0),R=M.length;for(this._time=this._totalTime=0;--R>-1;)M[R]._enabled(!1,!1);return w!==!1&&(this._labels={}),this._uncache(!0)},P.invalidate=function(){for(var w=this._first;w;)w.invalidate(),w=w._next;return x.prototype.invalidate.call(this)},P._enabled=function(w,M){if(w===this._gc)for(var R=this._first;R;)R._enabled(w,!0),R=R._next;return a.prototype._enabled.call(this,w,M)},P.totalTime=function(w,M,R){this._forcingPlayhead=!0;var C=x.prototype.totalTime.apply(this,arguments);return this._forcingPlayhead=!1,C},P.duration=function(w){return arguments.length?(this.duration()!==0&&w!==0&&this.timeScale(this._duration/w),this):(this._dirty&&this.totalDuration(),this._duration)},P.totalDuration=function(w){if(!arguments.length){if(this._dirty){for(var M,R,C=0,U=this._last,F=999999999999;U;)M=U._prev,U._dirty&&U.totalDuration(),U._startTime>F&&this._sortChildren&&!U._paused&&!this._calculatingDuration?(this._calculatingDuration=1,this.add(U,U._startTime-U._delay),this._calculatingDuration=0):F=U._startTime,U._startTime<0&&!U._paused&&(C-=U._startTime,this._timeline.smoothChildTiming&&(this._startTime+=U._startTime/this._timeScale,this._time-=U._startTime,this._totalTime-=U._startTime,this._rawPrevTime-=U._startTime),this.shiftChildren(-U._startTime,!1,-9999999999),F=0),R=U._startTime+U._totalDuration/U._timeScale,R>C&&(C=R),U=M;this._duration=this._totalDuration=C,this._dirty=!1}return this._totalDuration}return w&&this.totalDuration()?this.timeScale(this._totalDuration/w):this},P.paused=function(w){if(!w)for(var M=this._first,R=this._time;M;)M._startTime===R&&M.data==="isPause"&&(M._rawPrevTime=0),M=M._next;return x.prototype.paused.apply(this,arguments)},P.usesFrames=function(){for(var w=this._timeline;w._timeline;)w=w._timeline;return w===x._rootFramesTimeline},P.rawTime=function(w){return w&&(this._paused||this._repeat&&this.time()>0&&this.totalProgress()<1)?this._totalTime%(this._duration+this._repeatDelay):this._paused?this._totalTime:(this._timeline.rawTime(w)-this._startTime)*this._timeScale},c},!0),ln._gsDefine("TimelineMax",["TimelineLite","TweenLite","easing.Ease"],function(x,a,o){var c=function(O){x.call(this,O),this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._cycle=0,this._yoyo=this.vars.yoyo===!0,this._dirty=!0},f=1e-10,u=a._internals,m=u.lazyTweens,g=u.lazyRender,v=ln._gsDefine.globals,S=new o(null,null,1,0),b=c.prototype=new x;return b.constructor=c,b.kill()._gc=!1,c.version="2.0.2",b.invalidate=function(){return this._yoyo=this.vars.yoyo===!0,this._repeat=this.vars.repeat||0,this._repeatDelay=this.vars.repeatDelay||0,this._uncache(!0),x.prototype.invalidate.call(this)},b.addCallback=function(O,k,I,N){return this.add(a.delayedCall(0,O,I,N),k)},b.removeCallback=function(O,k){if(O)if(k==null)this._kill(null,O);else for(var I=this.getTweensOf(O,!1),N=I.length,E=this._parseTimeOrLabel(k);--N>-1;)I[N]._startTime===E&&I[N]._enabled(!1,!1);return this},b.removePause=function(O){return this.removeCallback(x._internals.pauseCallback,O)},b.tweenTo=function(O,k){k=k||{};var I,N,E,P={ease:S,useFrames:this.usesFrames(),immediateRender:!1,lazy:!1},w=k.repeat&&v.TweenMax||a;for(N in k)P[N]=k[N];return P.time=this._parseTimeOrLabel(O),I=Math.abs(Number(P.time)-this._time)/this._timeScale||.001,E=new w(this,I,P),P.onStart=function(){E.target.paused(!0),E.vars.time===E.target.time()||I!==E.duration()||E.isFromTo||E.duration(Math.abs(E.vars.time-E.target.time())/E.target._timeScale).render(E.time(),!0,!0),k.onStart&&k.onStart.apply(k.onStartScope||k.callbackScope||E,k.onStartParams||[])},E},b.tweenFromTo=function(O,k,I){I=I||{},O=this._parseTimeOrLabel(O),I.startAt={onComplete:this.seek,onCompleteParams:[O],callbackScope:this},I.immediateRender=I.immediateRender!==!1;var N=this.tweenTo(k,I);return N.isFromTo=1,N.duration(Math.abs(N.vars.time-O)/this._timeScale||.001)},b.render=function(O,k,I){this._gc&&this._enabled(!0,!1);var N,E,P,w,M,R,C,U,F=this._time,X=this._dirty?this.totalDuration():this._totalDuration,K=this._duration,Z=this._totalTime,ct=this._startTime,Rt=this._timeScale,tt=this._rawPrevTime,_t=this._paused,G=this._cycle;if(F!==this._time&&(O+=this._time-F),O>=X-1e-7&&O>=0)this._locked||(this._totalTime=X,this._cycle=this._repeat),this._reversed||this._hasPausedChild()||(E=!0,w="onComplete",M=!!this._timeline.autoRemoveChildren,this._duration===0&&(0>=O&&O>=-1e-7||0>tt||tt===f)&&tt!==O&&this._first&&(M=!0,tt>f&&(w="onReverseComplete"))),this._rawPrevTime=this._duration||!k||O||this._rawPrevTime===O?O:f,this._yoyo&&1&this._cycle?this._time=O=0:(this._time=K,O=K+1e-4);else if(1e-7>O)if(this._locked||(this._totalTime=this._cycle=0),this._time=0,(F!==0||K===0&&tt!==f&&(tt>0||0>O&&tt>=0)&&!this._locked)&&(w="onReverseComplete",E=this._reversed),0>O)this._active=!1,this._timeline.autoRemoveChildren&&this._reversed?(M=E=!0,w="onReverseComplete"):tt>=0&&this._first&&(M=!0),this._rawPrevTime=O;else{if(this._rawPrevTime=K||!k||O||this._rawPrevTime===O?O:f,O===0&&E)for(N=this._first;N&&N._startTime===0;)N._duration||(E=!1),N=N._next;O=0,this._initted||(M=!0)}else if(K===0&&0>tt&&(M=!0),this._time=this._rawPrevTime=O,this._locked||(this._totalTime=O,this._repeat!==0&&(R=K+this._repeatDelay,this._cycle=this._totalTime/R>>0,this._cycle!==0&&this._cycle===this._totalTime/R&&O>=Z&&this._cycle--,this._time=this._totalTime-this._cycle*R,this._yoyo&&1&this._cycle&&(this._time=K-this._time),this._time>K?(this._time=K,O=K+1e-4):this._time<0?this._time=O=0:O=this._time)),this._hasPause&&!this._forcingPlayhead&&!k){if(O=this._time,O>=F||this._repeat&&G!==this._cycle)for(N=this._first;N&&N._startTime<=O&&!C;)N._duration||N.data!=="isPause"||N.ratio||N._startTime===0&&this._rawPrevTime===0||(C=N),N=N._next;else for(N=this._last;N&&N._startTime>=O&&!C;)N._duration||N.data==="isPause"&&N._rawPrevTime>0&&(C=N),N=N._prev;C&&C._startTime<K&&(this._time=O=C._startTime,this._totalTime=O+this._cycle*(this._totalDuration+this._repeatDelay))}if(this._cycle!==G&&!this._locked){var Pt=this._yoyo&&(1&G)!==0,Et=Pt===(this._yoyo&&(1&this._cycle)!==0),At=this._totalTime,ce=this._cycle,re=this._rawPrevTime,Ft=this._time;if(this._totalTime=G*K,this._cycle<G?Pt=!Pt:this._totalTime+=K,this._time=F,this._rawPrevTime=K===0?tt-1e-4:tt,this._cycle=G,this._locked=!0,F=Pt?0:K,this.render(F,k,K===0),k||this._gc||this.vars.onRepeat&&(this._cycle=ce,this._locked=!1,this._callback("onRepeat")),F!==this._time||(Et&&(this._cycle=G,this._locked=!0,F=Pt?K+1e-4:-1e-4,this.render(F,!0,!1)),this._locked=!1,this._paused&&!_t))return;this._time=Ft,this._totalTime=At,this._cycle=ce,this._rawPrevTime=re}if(!(this._time!==F&&this._first||I||M||C))return void(Z!==this._totalTime&&this._onUpdate&&(k||this._callback("onUpdate")));if(this._initted||(this._initted=!0),this._active||!this._paused&&this._totalTime!==Z&&O>0&&(this._active=!0),Z===0&&this.vars.onStart&&(this._totalTime===0&&this._totalDuration||k||this._callback("onStart")),U=this._time,U>=F)for(N=this._first;N&&(P=N._next,U===this._time&&(!this._paused||_t));)(N._active||N._startTime<=this._time&&!N._paused&&!N._gc)&&(C===N&&this.pause(),N._reversed?N.render((N._dirty?N.totalDuration():N._totalDuration)-(O-N._startTime)*N._timeScale,k,I):N.render((O-N._startTime)*N._timeScale,k,I)),N=P;else for(N=this._last;N&&(P=N._prev,U===this._time&&(!this._paused||_t));){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()-(O-C._startTime)*C._timeScale:(O-C._startTime)*C._timeScale,k,I),C=C._prev;C=null,this.pause()}N._reversed?N.render((N._dirty?N.totalDuration():N._totalDuration)-(O-N._startTime)*N._timeScale,k,I):N.render((O-N._startTime)*N._timeScale,k,I)}N=P}this._onUpdate&&(k||(m.length&&g(),this._callback("onUpdate"))),w&&(this._locked||this._gc||(ct===this._startTime||Rt!==this._timeScale)&&(this._time===0||X>=this.totalDuration())&&(E&&(m.length&&g(),this._timeline.autoRemoveChildren&&this._enabled(!1,!1),this._active=!1),!k&&this.vars[w]&&this._callback(w)))},b.getActive=function(O,k,I){O==null&&(O=!0),k==null&&(k=!0),I==null&&(I=!1);var N,E,P=[],w=this.getChildren(O,k,I),M=0,R=w.length;for(N=0;R>N;N++)E=w[N],E.isActive()&&(P[M++]=E);return P},b.getLabelAfter=function(O){O||O!==0&&(O=this._time);var k,I=this.getLabelsArray(),N=I.length;for(k=0;N>k;k++)if(I[k].time>O)return I[k].name;return null},b.getLabelBefore=function(O){O==null&&(O=this._time);for(var k=this.getLabelsArray(),I=k.length;--I>-1;)if(k[I].time<O)return k[I].name;return null},b.getLabelsArray=function(){var O,k=[],I=0;for(O in this._labels)k[I++]={time:this._labels[O],name:O};return k.sort(function(N,E){return N.time-E.time}),k},b.invalidate=function(){return this._locked=!1,x.prototype.invalidate.call(this)},b.progress=function(O,k){return arguments.length?this.totalTime(this.duration()*(this._yoyo&&1&this._cycle?1-O:O)+this._cycle*(this._duration+this._repeatDelay),k):this._time/this.duration()||0},b.totalProgress=function(O,k){return arguments.length?this.totalTime(this.totalDuration()*O,k):this._totalTime/this.totalDuration()||0},b.totalDuration=function(O){return arguments.length?this._repeat!==-1&&O?this.timeScale(this.totalDuration()/O):this:(this._dirty&&(x.prototype.totalDuration.call(this),this._totalDuration=this._repeat===-1?999999999999:this._duration*(this._repeat+1)+this._repeatDelay*this._repeat),this._totalDuration)},b.time=function(O,k){return arguments.length?(this._dirty&&this.totalDuration(),O>this._duration&&(O=this._duration),this._yoyo&&1&this._cycle?O=this._duration-O+this._cycle*(this._duration+this._repeatDelay):this._repeat!==0&&(O+=this._cycle*(this._duration+this._repeatDelay)),this.totalTime(O,k)):this._time},b.repeat=function(O){return arguments.length?(this._repeat=O,this._uncache(!0)):this._repeat},b.repeatDelay=function(O){return arguments.length?(this._repeatDelay=O,this._uncache(!0)):this._repeatDelay},b.yoyo=function(O){return arguments.length?(this._yoyo=O,this):this._yoyo},b.currentLabel=function(O){return arguments.length?this.seek(O,!0):this.getLabelBefore(this._time+1e-8)},c},!0),function(){var x=180/Math.PI,a=[],o=[],c=[],f={},u=ln._gsDefine.globals,m=function(w,M,R,C){R===C&&(R=C-(C-M)/1e6),w===M&&(M=w+(R-w)/1e6),this.a=w,this.b=M,this.c=R,this.d=C,this.da=C-w,this.ca=R-w,this.ba=M-w},g=",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,",v=function(w,M,R,C){var U={a:w},F={},X={},K={c:C},Z=(w+M)/2,ct=(M+R)/2,Rt=(R+C)/2,tt=(Z+ct)/2,_t=(ct+Rt)/2,G=(_t-tt)/8;return U.b=Z+(w-Z)/4,F.b=tt+G,U.c=F.a=(U.b+F.b)/2,F.c=X.a=(tt+_t)/2,X.b=_t-G,K.b=Rt+(C-Rt)/4,X.c=K.a=(X.b+K.b)/2,[U,F,X,K]},S=function(w,M,R,C,U){var F,X,K,Z,ct,Rt,tt,_t,G,Pt,Et,At,ce,re=w.length-1,Ft=0,It=w[0].a;for(F=0;re>F;F++)ct=w[Ft],X=ct.a,K=ct.d,Z=w[Ft+1].d,U?(Et=a[F],At=o[F],ce=(At+Et)*M*.25/(C?.5:c[F]||.5),Rt=K-(K-X)*(C?.5*M:Et!==0?ce/Et:0),tt=K+(Z-K)*(C?.5*M:At!==0?ce/At:0),_t=K-(Rt+((tt-Rt)*(3*Et/(Et+At)+.5)/4||0))):(Rt=K-(K-X)*M*.5,tt=K+(Z-K)*M*.5,_t=K-(Rt+tt)/2),Rt+=_t,tt+=_t,ct.c=G=Rt,F!==0?ct.b=It:ct.b=It=ct.a+.6*(ct.c-ct.a),ct.da=K-X,ct.ca=G-X,ct.ba=It-X,R?(Pt=v(X,It,G,K),w.splice(Ft,1,Pt[0],Pt[1],Pt[2],Pt[3]),Ft+=4):Ft++,It=tt;ct=w[Ft],ct.b=It,ct.c=It+.4*(ct.d-It),ct.da=ct.d-ct.a,ct.ca=ct.c-ct.a,ct.ba=It-ct.a,R&&(Pt=v(ct.a,It,ct.c,ct.d),w.splice(Ft,1,Pt[0],Pt[1],Pt[2],Pt[3]))},b=function(w,M,R,C){var U,F,X,K,Z,ct,Rt=[];if(C)for(w=[C].concat(w),F=w.length;--F>-1;)typeof(ct=w[F][M])=="string"&&ct.charAt(1)==="="&&(w[F][M]=C[M]+Number(ct.charAt(0)+ct.substr(2)));if(U=w.length-2,0>U)return Rt[0]=new m(w[0][M],0,0,w[0][M]),Rt;for(F=0;U>F;F++)X=w[F][M],K=w[F+1][M],Rt[F]=new m(X,0,0,K),R&&(Z=w[F+2][M],a[F]=(a[F]||0)+(K-X)*(K-X),o[F]=(o[F]||0)+(Z-K)*(Z-K));return Rt[F]=new m(w[F][M],0,0,w[F+1][M]),Rt},O=function(w,M,R,C,U,F){var X,K,Z,ct,Rt,tt,_t,G,Pt={},Et=[],At=F||w[0];U=typeof U=="string"?","+U+",":g,M==null&&(M=1);for(K in w[0])Et.push(K);if(w.length>1){for(G=w[w.length-1],_t=!0,X=Et.length;--X>-1;)if(K=Et[X],Math.abs(At[K]-G[K])>.05){_t=!1;break}_t&&(w=w.concat(),F&&w.unshift(F),w.push(w[1]),F=w[w.length-3])}for(a.length=o.length=c.length=0,X=Et.length;--X>-1;)K=Et[X],f[K]=U.indexOf(","+K+",")!==-1,Pt[K]=b(w,K,f[K],F);for(X=a.length;--X>-1;)a[X]=Math.sqrt(a[X]),o[X]=Math.sqrt(o[X]);if(!C){for(X=Et.length;--X>-1;)if(f[K])for(Z=Pt[Et[X]],tt=Z.length-1,ct=0;tt>ct;ct++)Rt=Z[ct+1].da/o[ct]+Z[ct].da/a[ct]||0,c[ct]=(c[ct]||0)+Rt*Rt;for(X=c.length;--X>-1;)c[X]=Math.sqrt(c[X])}for(X=Et.length,ct=R?4:1;--X>-1;)K=Et[X],Z=Pt[K],S(Z,M,R,C,f[K]),_t&&(Z.splice(0,ct),Z.splice(Z.length-ct,ct));return Pt},k=function(w,M,R){M=M||"soft";var C,U,F,X,K,Z,ct,Rt,tt,_t,G,Pt={},Et=M==="cubic"?3:2,At=M==="soft",ce=[];if(At&&R&&(w=[R].concat(w)),w==null||w.length<Et+1)throw"invalid Bezier data";for(tt in w[0])ce.push(tt);for(Z=ce.length;--Z>-1;){for(tt=ce[Z],Pt[tt]=K=[],_t=0,Rt=w.length,ct=0;Rt>ct;ct++)C=R==null?w[ct][tt]:typeof(G=w[ct][tt])=="string"&&G.charAt(1)==="="?R[tt]+Number(G.charAt(0)+G.substr(2)):Number(G),At&&ct>1&&Rt-1>ct&&(K[_t++]=(C+K[_t-2])/2),K[_t++]=C;for(Rt=_t-Et+1,_t=0,ct=0;Rt>ct;ct+=Et)C=K[ct],U=K[ct+1],F=K[ct+2],X=Et===2?0:K[ct+3],K[_t++]=G=Et===3?new m(C,U,F,X):new m(C,(2*U+C)/3,(2*U+F)/3,F);K.length=_t}return Pt},I=function(w,M,R){for(var C,U,F,X,K,Z,ct,Rt,tt,_t,G,Pt=1/R,Et=w.length;--Et>-1;)for(_t=w[Et],F=_t.a,X=_t.d-F,K=_t.c-F,Z=_t.b-F,C=U=0,Rt=1;R>=Rt;Rt++)ct=Pt*Rt,tt=1-ct,C=U-(U=(ct*ct*X+3*tt*(ct*K+tt*Z))*ct),G=Et*R+Rt-1,M[G]=(M[G]||0)+C*C},N=function(w,M){M=M>>0||6;var R,C,U,F,X=[],K=[],Z=0,ct=0,Rt=M-1,tt=[],_t=[];for(R in w)I(w[R],X,M);for(U=X.length,C=0;U>C;C++)Z+=Math.sqrt(X[C]),F=C%M,_t[F]=Z,F===Rt&&(ct+=Z,F=C/M>>0,tt[F]=_t,K[F]=ct,Z=0,_t=[]);return{length:ct,lengths:K,segments:tt}},E=ln._gsDefine.plugin({propName:"bezier",priority:-1,version:"1.3.8",API:2,global:!0,init:function(w,M,R){this._target=w,M instanceof Array&&(M={values:M}),this._func={},this._mod={},this._props=[],this._timeRes=M.timeResolution==null?6:parseInt(M.timeResolution,10);var C,U,F,X,K,Z=M.values||[],ct={},Rt=Z[0],tt=M.autoRotate||R.vars.orientToBezier;this._autoRotate=tt?tt instanceof Array?tt:[["x","y","rotation",tt===!0?0:Number(tt)||0]]:null;for(C in Rt)this._props.push(C);for(F=this._props.length;--F>-1;)C=this._props[F],this._overwriteProps.push(C),U=this._func[C]=typeof w[C]=="function",ct[C]=U?w[C.indexOf("set")||typeof w["get"+C.substr(3)]!="function"?C:"get"+C.substr(3)]():parseFloat(w[C]),K||ct[C]!==Z[0][C]&&(K=ct);if(this._beziers=M.type!=="cubic"&&M.type!=="quadratic"&&M.type!=="soft"?O(Z,isNaN(M.curviness)?1:M.curviness,!1,M.type==="thruBasic",M.correlate,K):k(Z,M.type,ct),this._segCount=this._beziers[C].length,this._timeRes){var _t=N(this._beziers,this._timeRes);this._length=_t.length,this._lengths=_t.lengths,this._segments=_t.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(tt=this._autoRotate)for(this._initialRotations=[],tt[0]instanceof Array||(this._autoRotate=tt=[tt]),F=tt.length;--F>-1;){for(X=0;3>X;X++)C=tt[F][X],this._func[C]=typeof w[C]=="function"?w[C.indexOf("set")||typeof w["get"+C.substr(3)]!="function"?C:"get"+C.substr(3)]:!1;C=tt[F][2],this._initialRotations[F]=(this._func[C]?this._func[C].call(this._target):this._target[C])||0,this._overwriteProps.push(C)}return this._startRatio=R.vars.runBackwards?1:0,!0},set:function(w){var M,R,C,U,F,X,K,Z,ct,Rt,tt=this._segCount,_t=this._func,G=this._target,Pt=w!==this._startRatio;if(this._timeRes){if(ct=this._lengths,Rt=this._curSeg,w*=this._length,C=this._li,w>this._l2&&tt-1>C){for(Z=tt-1;Z>C&&(this._l2=ct[++C])<=w;);this._l1=ct[C-1],this._li=C,this._curSeg=Rt=this._segments[C],this._s2=Rt[this._s1=this._si=0]}else if(w<this._l1&&C>0){for(;C>0&&(this._l1=ct[--C])>=w;);C===0&&w<this._l1?this._l1=0:C++,this._l2=ct[C],this._li=C,this._curSeg=Rt=this._segments[C],this._s1=Rt[(this._si=Rt.length-1)-1]||0,this._s2=Rt[this._si]}if(M=C,w-=this._l1,C=this._si,w>this._s2&&C<Rt.length-1){for(Z=Rt.length-1;Z>C&&(this._s2=Rt[++C])<=w;);this._s1=Rt[C-1],this._si=C}else if(w<this._s1&&C>0){for(;C>0&&(this._s1=Rt[--C])>=w;);C===0&&w<this._s1?this._s1=0:C++,this._s2=Rt[C],this._si=C}X=(C+(w-this._s1)/(this._s2-this._s1))*this._prec||0}else M=0>w?0:w>=1?tt-1:tt*w>>0,X=(w-M*(1/tt))*tt;for(R=1-X,C=this._props.length;--C>-1;)U=this._props[C],F=this._beziers[U][M],K=(X*X*F.da+3*R*(X*F.ca+R*F.ba))*X+F.a,this._mod[U]&&(K=this._mod[U](K,G)),_t[U]?G[U](K):G[U]=K;if(this._autoRotate){var Et,At,ce,re,Ft,It,Nt,Pe=this._autoRotate;for(C=Pe.length;--C>-1;)U=Pe[C][2],It=Pe[C][3]||0,Nt=Pe[C][4]===!0?1:x,F=this._beziers[Pe[C][0]],Et=this._beziers[Pe[C][1]],F&&Et&&(F=F[M],Et=Et[M],At=F.a+(F.b-F.a)*X,re=F.b+(F.c-F.b)*X,At+=(re-At)*X,re+=(F.c+(F.d-F.c)*X-re)*X,ce=Et.a+(Et.b-Et.a)*X,Ft=Et.b+(Et.c-Et.b)*X,ce+=(Ft-ce)*X,Ft+=(Et.c+(Et.d-Et.c)*X-Ft)*X,K=Pt?Math.atan2(Ft-ce,re-At)*Nt+It:this._initialRotations[C],this._mod[U]&&(K=this._mod[U](K,G)),_t[U]?G[U](K):G[U]=K)}}}),P=E.prototype;E.bezierThrough=O,E.cubicToQuadratic=v,E._autoCSS=!0,E.quadraticToCubic=function(w,M,R){return new m(w,(2*M+w)/3,(2*M+R)/3,R)},E._cssRegister=function(){var w=u.CSSPlugin;if(w){var M=w._internals,R=M._parseToProxy,C=M._setPluginRatio,U=M.CSSPropTween;M._registerComplexSpecialProp("bezier",{parser:function(F,X,K,Z,ct,Rt){X instanceof Array&&(X={values:X}),Rt=new E;var tt,_t,G,Pt=X.values,Et=Pt.length-1,At=[],ce={};if(0>Et)return ct;for(tt=0;Et>=tt;tt++)G=R(F,Pt[tt],Z,ct,Rt,Et!==tt),At[tt]=G.end;for(_t in X)ce[_t]=X[_t];return ce.values=At,ct=new U(F,"bezier",0,0,G.pt,2),ct.data=G,ct.plugin=Rt,ct.setRatio=C,ce.autoRotate===0&&(ce.autoRotate=!0),!ce.autoRotate||ce.autoRotate instanceof Array||(tt=ce.autoRotate===!0?0:Number(ce.autoRotate),ce.autoRotate=G.end.left!=null?[["left","top","rotation",tt,!1]]:G.end.x!=null?[["x","y","rotation",tt,!1]]:!1),ce.autoRotate&&(Z._transform||Z._enableTransforms(!1),G.autoRotate=Z._target._gsTransform,G.proxy.rotation=G.autoRotate.rotation||0,Z._overwriteProps.push("rotation")),Rt._onInitTween(G.proxy,ce,Z._tween),ct}})}},P._mod=function(w){for(var M,R=this._overwriteProps,C=R.length;--C>-1;)M=w[R[C]],M&&typeof M=="function"&&(this._mod[R[C]]=M)},P._kill=function(w){var M,R,C=this._props;for(M in this._beziers)if(M in w)for(delete this._beziers[M],delete this._func[M],R=C.length;--R>-1;)C[R]===M&&C.splice(R,1);if(C=this._autoRotate)for(R=C.length;--R>-1;)w[C[R][2]]&&C.splice(R,1);return this._super._kill.call(this,w)}}(),ln._gsDefine("plugins.CSSPlugin",["plugins.TweenPlugin","TweenLite"],function(x,a){var o,c,f,u,m=function(){x.call(this,"css"),this._overwriteProps.length=0,this.setRatio=m.prototype.setRatio},g=ln._gsDefine.globals,v={},S=m.prototype=new x("css");S.constructor=m,m.version="2.0.2",m.API=2,m.defaultTransformPerspective=0,m.defaultSkewType="compensated",m.defaultSmoothOrigin=!0,S="px",m.suffixMap={top:S,right:S,bottom:S,left:S,width:S,height:S,fontSize:S,padding:S,margin:S,perspective:S,lineHeight:""};var b,O,k,I,N,E,P,w,M=/(?:\-|\.|\b)(\d|\.|e\-)+/g,R=/(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,C=/(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,U=/(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,F=/(?:\d|\-|\+|=|#|\.)*/g,X=/opacity *= *([^)]*)/i,K=/opacity:([^;]*)/i,Z=/alpha\(opacity *=.+?\)/i,ct=/^(rgb|hsl)/,Rt=/([A-Z])/g,tt=/-([a-z])/gi,_t=/(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,G=function(V,et){return et.toUpperCase()},Pt=/(?:Left|Right|Width)/i,Et=/(M11|M12|M21|M22)=[\d\-\.e]+/gi,At=/progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,ce=/,(?=[^\)]*(?:\(|$))/gi,re=/[\s,\(]/i,Ft=Math.PI/180,It=180/Math.PI,Nt={},Pe={style:{}},pe=ln.document||{createElement:function(){return Pe}},Wt=function(V,et){return pe.createElementNS?pe.createElementNS(et||"http://www.w3.org/1999/xhtml",V):pe.createElement(V)},$e=Wt("div"),Si=Wt("img"),Oe=m._internals={_specialProps:v},Ge=(ln.navigator||{}).userAgent||"",pi=function(){var V=Ge.indexOf("Android"),et=Wt("a");return k=Ge.indexOf("Safari")!==-1&&Ge.indexOf("Chrome")===-1&&(V===-1||parseFloat(Ge.substr(V+8,2))>3),N=k&&parseFloat(Ge.substr(Ge.indexOf("Version/")+8,2))<6,I=Ge.indexOf("Firefox")!==-1,(/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(Ge)||/Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(Ge))&&(E=parseFloat(RegExp.$1)),et?(et.style.cssText="top:1px;opacity:.55;",/^0.55/.test(et.style.opacity)):!1}(),Di=function(V){return X.test(typeof V=="string"?V:(V.currentStyle?V.currentStyle.filter:V.style.filter)||"")?parseFloat(RegExp.$1)/100:1},mn=function(V){ln.console},Qi="",W="",Jt=function(V,et){et=et||$e;var lt,at,j=et.style;if(j[V]!==void 0)return V;for(V=V.charAt(0).toUpperCase()+V.substr(1),lt=["O","Moz","ms","Ms","Webkit"],at=5;--at>-1&&j[lt[at]+V]===void 0;);return at>=0?(W=at===3?"ms":lt[at],Qi="-"+W.toLowerCase()+"-",W+V):null},jt=(typeof window<"u"?window:pe.defaultView||{getComputedStyle:function(){}}).getComputedStyle,dt=m.getStyle=function(V,et,lt,at,j){var St;return pi||et!=="opacity"?(!at&&V.style[et]?St=V.style[et]:(lt=lt||jt(V))?St=lt[et]||lt.getPropertyValue(et)||lt.getPropertyValue(et.replace(Rt,"-$1").toLowerCase()):V.currentStyle&&(St=V.currentStyle[et]),j==null||St&&St!=="none"&&St!=="auto"&&St!=="auto auto"?St:j):Di(V)},pt=Oe.convertToPixels=function(V,et,lt,at,j){if(at==="px"||!at&&et!=="lineHeight")return lt;if(at==="auto"||!lt)return 0;var St,ht,Ot,Gt=Pt.test(et),zt=V,Mt=$e.style,he=0>lt,se=lt===1;if(he&&(lt=-lt),se&&(lt*=100),et!=="lineHeight"||at)if(at==="%"&&et.indexOf("border")!==-1)St=lt/100*(Gt?V.clientWidth:V.clientHeight);else{if(Mt.cssText="border:0 solid red;position:"+dt(V,"position")+";line-height:0;",at!=="%"&&zt.appendChild&&at.charAt(0)!=="v"&&at!=="rem")Mt[Gt?"borderLeftWidth":"borderTopWidth"]=lt+at;else{if(zt=V.parentNode||pe.body,dt(zt,"display").indexOf("flex")!==-1&&(Mt.position="absolute"),ht=zt._gsCache,Ot=a.ticker.frame,ht&&Gt&&ht.time===Ot)return ht.width*lt/100;Mt[Gt?"width":"height"]=lt+at}zt.appendChild($e),St=parseFloat($e[Gt?"offsetWidth":"offsetHeight"]),zt.removeChild($e),Gt&&at==="%"&&m.cacheWidths!==!1&&(ht=zt._gsCache=zt._gsCache||{},ht.time=Ot,ht.width=St/lt*100),St!==0||j||(St=pt(V,et,lt,at,!0))}else ht=jt(V).lineHeight,V.style.lineHeight=lt,St=parseFloat(jt(V).lineHeight),V.style.lineHeight=ht;return se&&(St/=100),he?-St:St},Dt=Oe.calculateOffset=function(V,et,lt){if(dt(V,"position",lt)!=="absolute")return 0;var at=et==="left"?"Left":"Top",j=dt(V,"margin"+at,lt);return V["offset"+at]-(pt(V,et,parseFloat(j),j.replace(F,""))||0)},ie=function(V,et){var lt,at,j,St={};if(et=et||jt(V,null))if(lt=et.length)for(;--lt>-1;)j=et[lt],(j.indexOf("-transform")===-1||ra===j)&&(St[j.replace(tt,G)]=et.getPropertyValue(j));else for(lt in et)(lt.indexOf("Transform")===-1||Mn===lt)&&(St[lt]=et[lt]);else if(et=V.currentStyle||V.style)for(lt in et)typeof lt=="string"&&St[lt]===void 0&&(St[lt.replace(tt,G)]=et[lt]);return pi||(St.opacity=Di(V)),at=uo(V,et,!1),St.rotation=at.rotation,St.skewX=at.skewX,St.scaleX=at.scaleX,St.scaleY=at.scaleY,St.x=at.x,St.y=at.y,vr&&(St.z=at.z,St.rotationX=at.rotationX,St.rotationY=at.rotationY,St.scaleZ=at.scaleZ),St.filters&&delete St.filters,St},Kt=function(V,et,lt,at,j){var St,ht,Ot,Gt={},zt=V.style;for(ht in lt)ht!=="cssText"&&ht!=="length"&&isNaN(ht)&&(et[ht]!==(St=lt[ht])||j&&j[ht])&&ht.indexOf("Origin")===-1&&(typeof St=="number"||typeof St=="string")&&(Gt[ht]=St!=="auto"||ht!=="left"&&ht!=="top"?St!==""&&St!=="auto"&&St!=="none"||typeof et[ht]!="string"||et[ht].replace(U,"")===""?St:0:Dt(V,ht),zt[ht]!==void 0&&(Ot=new ni(zt,ht,zt[ht],Ot)));if(at)for(ht in at)ht!=="className"&&(Gt[ht]=at[ht]);return{difs:Gt,firstMPT:Ot}},z={width:["Left","Right"],height:["Top","Bottom"]},Q=["marginLeft","marginRight","marginTop","marginBottom"],st=function(V,et,lt){if((V.nodeName+"").toLowerCase()==="svg")return(lt||jt(V))[et]||0;if(V.getCTM&&Wl(V))return V.getBBox()[et]||0;var at=parseFloat(et==="width"?V.offsetWidth:V.offsetHeight),j=z[et],St=j.length;for(lt=lt||jt(V,null);--St>-1;)at-=parseFloat(dt(V,"padding"+j[St],lt,!0))||0,at-=parseFloat(dt(V,"border"+j[St]+"Width",lt,!0))||0;return at},nt=function(V,et){if(V==="contain"||V==="auto"||V==="auto auto")return V+" ";(V==null||V==="")&&(V="0 0");var lt,at=V.split(" "),j=V.indexOf("left")!==-1?"0%":V.indexOf("right")!==-1?"100%":at[0],St=V.indexOf("top")!==-1?"0%":V.indexOf("bottom")!==-1?"100%":at[1];if(at.length>3&&!et){for(at=V.split(", ").join(",").split(","),V=[],lt=0;lt<at.length;lt++)V.push(nt(at[lt]));return V.join(",")}return St==null?St=j==="center"?"50%":"0":St==="center"&&(St="50%"),(j==="center"||isNaN(parseFloat(j))&&(j+"").indexOf("=")===-1)&&(j="50%"),V=j+" "+St+(at.length>2?" "+at[2]:""),et&&(et.oxp=j.indexOf("%")!==-1,et.oyp=St.indexOf("%")!==-1,et.oxr=j.charAt(1)==="=",et.oyr=St.charAt(1)==="=",et.ox=parseFloat(j.replace(U,"")),et.oy=parseFloat(St.replace(U,"")),et.v=V),et||V},vt=function(V,et){return typeof V=="function"&&(V=V(w,P)),typeof V=="string"&&V.charAt(1)==="="?parseInt(V.charAt(0)+"1",10)*parseFloat(V.substr(2)):parseFloat(V)-parseFloat(et)||0},Ut=function(V,et){typeof V=="function"&&(V=V(w,P));var lt=typeof V=="string"&&V.charAt(1)==="=";return typeof V=="string"&&V.charAt(V.length-2)==="v"&&(V=(lt?V.substr(0,2):0)+window["inner"+(V.substr(-2)==="vh"?"Height":"Width")]*(parseFloat(lt?V.substr(2):V)/100)),V==null?et:lt?parseInt(V.charAt(0)+"1",10)*parseFloat(V.substr(2))+et:parseFloat(V)||0},qt=function(V,et,lt,at){var j,St,ht,Ot,Gt,zt=1e-6;return typeof V=="function"&&(V=V(w,P)),V==null?Ot=et:typeof V=="number"?Ot=V:(j=360,St=V.split("_"),Gt=V.charAt(1)==="=",ht=(Gt?parseInt(V.charAt(0)+"1",10)*parseFloat(St[0].substr(2)):parseFloat(St[0]))*(V.indexOf("rad")===-1?1:It)-(Gt?0:et),St.length&&(at&&(at[lt]=et+ht),V.index