#0
j"1ChDHzdd1H4wSjgGMHyndZm6qxEDGjqpJLM7µ (s + 1)];
r.t[r.p] = i
}
} else r.t[r.p] = e + r.xs0;
else r.t[r.p] = r.e;
else r.setRatio(t);
r = r._next
}
}, l._enableTransforms = function (t) {
this._transform = this._transform || Ne(this._target, r, !0), this._transformType = this._transform.svg && xe || !t && 3 !== this._transformType ? 2 : 3
};
var Ue = function () {
this.t[this.p] = this.e, this.data._linkCSSP(this, this._next, null, !0)
};
l._addLazySet = function (t, e, i) {
var s = this._firstPT = new pe(t, e, 0, 0, this._firstPT, 2);
s.e = i, s.setRatio = Ue, s.data = this
}, l._linkCSSP = function (t, e, i, s) {
return t && (e && (e._prev = t), t._next && (t._next._prev = t._prev), t._prev ? t._prev._next = t._next : this._firstPT === t && (this._firstPT = t._next, s = !0), i ? i._next = t : s || null !== this._firstPT || (this._firstPT = t), t._next = e, t._prev = i), t
}, l._kill = function (e) {
var i, s, r, n = e;
if (e.autoAlpha || e.alpha) {
n = {};
for (s in e) n[s] = e[s];
n.opacity = 1, n.autoAlpha && (n.visibility = 1)
}
return e.className && (i = this._classNamePT) && (r = i.xfirst, r && r._prev ? this._linkCSSP(r._prev, i._next, r._prev._prev) : r === this._firstPT && (this._firstPT = i._next), i._next && this._linkCSSP(i._next, i._next._next, r._prev), this._classNamePT = null), t.prototype._kill.call(this, n)
};
var qe = function (t, e, i) {
var s, r, n, a;
if (t.slice)
for (r = t.length; --r > -1;) qe(t[r], e, i);
else
for (s = t.childNodes, r = s.length; --r > -1;) n = s[r], a = n.type, n.style && (e.push(K(n)), i && i.push(n)), 1 !== a && 9 !== a && 11 !== a || !n.childNodes.length || qe(n, e, i)
};
return a.cascadeTo = function (t, i, s) {
var r, n, a, o, h = e.to(t, i, s),
l = [h],
_ = [],
u = [],
c = [],
f = e._internals.reservedProps;
for (t = h._targets || h.target, qe(t, _, c), h.render(i, !0, !0), qe(t, u), h.render(0, !0, !0), h._enabled(!0), r = c.length; --r > -1;)
if (n = J(c[r], _[r], u[r]), n.firstMPT) {
n = n.difs;
for (a in s) f[a] && (n[a] = s[a]);
o = {};
for (a in n) o[a] = _[r][a];
l.push(e.fromTo(c[r], i, o, n))
}
return l
}, t.activate([a]), a
}, !0),
function () {
var t = _gsScope._gsDefine.plugin({
propName: "roundProps",
priority: -1,
API: 2,
init: function (t, e, i) {
return this._tween = i, !0
}
}),
e = t.prototype;
e._onInitAllProps = function () {
for (var t, e, i, s = this._tween, r = s.vars.roundProps instanceof Array ? s.vars.roundProps : s.vars.roundProps.split(","), n = r.length, a = {}, o = s._propLookup.roundProps; --n > -1;) a[r[n]] = 1;
for (n = r.length; --n > -1;)
for (t = r[n], e = s._firstPT; e;) i = e._next, e.pg ? e.t._roundProps(a, !0) : e.n === t && (this._add(e.t, t, e.s, e.c), i && (i._prev = e._prev), e._prev ? e._prev._next = i : s._firstPT === e && (s._firstPT = i), e._next = e._prev = null, s._propLookup[t] = o), e = i;
return !1
}, e._add = function (t, e, i, s) {
this._addTween(t, e, i, i + s, e, !0), this._overwriteProps.push(e)
}
}(),
function () {
var t = /(?:\d|\-|\+|=|#|\.)*/g,
e = /[A-Za-z%]/g;
_gsScope._gsDefine.plugin({
propName: "attr",
API: 2,
version: "0.4.0",
init: function (i, s) {
var r, n, a, o, h;
if ("function" != typeof i.setAttribute) return !1;
this._target = i, this._proxy = {}, this._start = {}, this._end = {}, this._suffix = {};
for (r in s) this._start[r] = this._proxy[r] = n = i.getAttribute(r) + "", this._end[r] = a = s[r] + "", this._suffix[r] = o = e.test(a) ? a.replace(t, "") : e.test(n) ? n.replace(t, "") : "", o && (h = a.indexOf(o), -1 !== h && (a = a.substr(0, h))), this._addTween(this._proxy, r, parseFloat(n), a, r) || (this._suffix[r] = ""), "=" === a.charAt(1) && (this._end[r] = this._firstPT.s + this._firstPT.c + o), this._overwriteProps.push(r);
return !0
},
set: function (t) {
this._super.setRatio.call(this, t);
for (var e, i = this._overwriteProps, s = i.length, r = 1 === t ? this._end : t ? this._proxy : this._start, n = r === this._proxy; --s > -1;) e = i[s], this._target.setAttribute(e, r[e] + (n ? this._suffix[e] : ""))
}
})
}(), _gsScope._gsDefine.plugin({
propName: "directionalRotation",
version: "0.2.1",
API: 2,
init: function (t, e) {
"object" != typeof e && (e = {
rotation: e
}), this.finals = {};
var i, s, r, n, a, o, h = e.useRadians === !0 ? 2 * Math.PI : 360,
l = 1e-6;
for (i in e) "useRadians" !== i && (o = (e[i] + "").split("_"), s = o[0], r = parseFloat("function" != typeof t[i] ? t[i] : t[i.indexOf("set") || "function" != typeof t["get" + i.substr(3)] ? i : "get" + i.substr(3)]()), n = this.finals[i] = "string" == typeof s && "=" === s.charAt(1) ? r + parseInt(s.charAt(0) + "1", 10) * Number(s.substr(2)) : Number(s) || 0, a = n - r, o.length && (s = o.join("_"), -1 !== s.indexOf("short") && (a %= h, a !== a % (h / 2) && (a = 0 > a ? a + h : a - h)), -1 !== s.indexOf("_cw") && 0 > a ? a = (a + 9999999999 * h) % h - (0 | a / h) * h : -1 !== s.indexOf("ccw") && a > 0 && (a = (a - 9999999999 * h) % h - (0 | a / h) * h)), (a > l || -l > a) && (this._addTween(t, i, r, r + a, i), this._overwriteProps.push(i)));
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
}
})._autoCSS = !0, _gsScope._gsDefine("easing.Back", ["easing.Ease"], function (t) {
var e, i, s, r = _gsScope.GreenSockGlobals || _gsScope,
n = r.com.greensock,
a = 2 * Math.PI,
o = Math.PI / 2,
h = n._class,
l = function (e, i) {
var s = h("easing." + e, function () {}, !0),
r = s.prototype = new t;
return r.constructor = s, r.getRatio = i, s
},
_ = t.register || function () {},
u = function (t, e, i, s) {
var r = h("easing." + t, {
easeOut: new e,
easeIn: new i,
easeInOut: new s
}, !0);
return _(r, t), r
},
c = 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)
},
f = function (e, i) {
var s = h("easing." + e, function (t) {
this._p1 = t || 0 === t ? t : 1.70158, this._p2 = 1.525 * this._p1
}, !0),
r = s.prototype = new t;
return r.constructor = s, r.getRatio = i, r.config = function (t) {
return new s(t)
}, s
},
p = u("Back", f("BackOut", function (t) {
return (t -= 1) * t * ((this._p1 + 1) * t + this._p1) + 1
}), f("BackIn", function (t) {
return t * t * ((this._p1 + 1) * t - this._p1)
}), f("BackInOut", function (t) {
return 1 > (t *= 2) ? .5 * t * t * ((this._p2 + 1) * t - this._p2) : .5 * ((t -= 2) * t * ((this._p2 + 1) * t + this._p2) + 2)
})),
m = h("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 = i === !0
}, !0),
d = m.prototype = new t;
return d.constructor = m, d.getRatio = function (t) {
var e = t + (.5 - t) * this._p;
return this._p1 > t ? this._calcEnd ? 1 - (t = 1 - t / this._p1) * t : e - (t = 1 - t / this._p1) * t * t * t * e : t > this._p3 ? this._calcEnd ? 1 - (t = (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), d.config = m.config = function (t, e, i) {
return new m(t, e, i)
}, e = h("easing.SteppedEase", function (t) {
t = t || 1, this._p1 = 1 / t, this._p2 = t + 1
}, !0), d = e.prototype = new t, d.constructor = e, d.getRatio = function (t) {
return 0 > t ? t = 0 : t >= 1 && (t = .999999999), (this._p2 * t >> 0) * this._p1
}, d.config = e.config = function (t) {
return new e(t)
}, i = h("easing.RoughEase", function (e) {
e = e || {};
for (var i, s, r, n, a, o, h = e.taper || "none", l = [], _ = 0, u = 0 | (e.points || 20), f = u, p = e.randomize !== !1, m = e.clamp === !0, d = e.template instanceof t ? e.template : null, g = "number" == typeof e.strength ? .4 * e.strength : .4; --f > -1;) i = p ? Math.random() : 1 / u * f, s = d ? d.getRatio(i) : i, "none" === h ? r = g : "out" === h ? (n = 1 - i, r = n * n * g) : "in" === h ? r = i * i * g : .5 > i ? (n = 2 * i, r = .5 * n * n * g) : (n = 2 * (1 - i), r = .5 * n * n * g), p ? s += Math.random() * r - .5 * r : f % 2 ? s += .5 * r : s -= .5 * r, m && (s > 1 ? s = 1 : 0 > s && (s = 0)), l[_++] = {
x: i,
y: s
};
for (l.sort(function (t, e) {
return t.x - e.x
}), o = new c(1, 1, null), f = u; --f > -1;) a = l[f], o = new c(a.x, a.y, o);
this._prev = new c(0, 0, 0 !== o.t ? o : o.next)
}, !0), d = i.prototype = new t, d.constructor = i, d.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 && e.t >= t;) e = e.prev;
return this._prev = e, e.v + (t - e.t) / e.gap * e.c
}, d.config = function (t) {
return new i(t)
}, i.ease = new i, u("Bounce", l("BounceOut", function (t) {
return 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + .9375 : 7.5625 * (t -= 2.625 / 2.75) * t + .984375
}), l("BounceIn", function (t) {
return 1 / 2.75 > (t = 1 - t) ? 1 - 7.5625 * t * t : 2 / 2.75 > t ? 1 - (7.5625 * (t -= 1.5 / 2.75) * t + .75) : 2.5 / 2.75 > t ? 1 - (7.5625 * (t -= 2.25 / 2.75) * t + .9375) : 1 - (7.5625 * (t -= 2.625 / 2.75) * t + .984375)
}), l("BounceInOut", function (t) {
var e = .5 > t;
return t = e ? 1 - 2 * t : 2 * t - 1, t = 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + .75 : 2.5 / 2.75 > t ? 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
})), u("Circ", l("CircOut", function (t) {
return Math.sqrt(1 - (t -= 1) * t)
}), l("CircIn", function (t) {
return -(Math.sqrt(1 - t * t) - 1)
}), l("CircInOut", function (t) {
return 1 > (t *= 2) ? -.5 * (Math.sqrt(1 - t * t) - 1) : .5 * (Math.sqrt(1 - (t -= 2) * t) + 1)
})), s = function (e, i, s) {
var r = h("easing." + e, function (t, e) {
this._p1 = t >= 1 ? t : 1, this._p2 = (e || s) / (1 > t ? t : 1), this._p3 = this._p2 / a * (Math.asin(1 / this._p1) || 0), this._p2 = a / this._p2
}, !0),
n = r.prototype = new t;
return n.constructor = r, n.getRatio = i, n.config = function (t, e) {
return new r(t, e)
}, r
}, u("Elastic", s("ElasticOut", function (t) {
return this._p1 * Math.pow(2, -10 * t) * Math.sin((t - this._p3) * this._p2) + 1
}, .3), s("ElasticIn", function (t) {
return -(this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * this._p2))
}, .3), s("ElasticInOut", function (t) {
return 1 > (t *= 2) ? -.5 * 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) + 1
}, .45)), u("Expo", l("ExpoOut", function (t) {
return 1 - Math.pow(2, -10 * t)
}), l("ExpoIn", function (t) {
return Math.pow(2, 10 * (t - 1)) - .001
}), l("ExpoInOut", function (t) {
return 1 > (t *= 2) ? .5 * Math.pow(2, 10 * (t - 1)) : .5 * (2 - Math.pow(2, -10 * (t - 1)))
})), u("Sine", l("SineOut", function (t) {
return Math.sin(t * o)
}), l("SineIn", function (t) {
return -Math.cos(t * o) + 1
}), l("SineInOut", function (t) {
return -.5 * (Math.cos(Math.PI * t) - 1)
})), h("easing.EaseLookup", {
find: function (e) {
return t.map[e]
}
}, !0), _(r.SlowMo, "SlowMo", "ease,"), _(i, "RoughEase", "ease,"), _(e, "SteppedEase", "ease,"), p
}, !0)
}), _gsScope._gsDefine && _gsScope._gsQueue.pop()(),
function (t, e) {
"use strict";
var i = t.GreenSockGlobals = t.GreenSockGlobals || t;
if (!i.TweenLite) {
var s, r, n, a, o, h = function (t) {
var e, s = t.split("."),
r = i;
for (e = 0; s.length > e; e++) r[s[e]] = r = r[s[e]] || {};
return r
},
l = h("com.greensock"),
_ = 1e-10,
u = function (t) {
var e, i = [],
s = t.length;
for (e = 0; e !== s; i.push(t[e++]));
return i
},
c = function () {},
f = function () {
var t = Object.prototype.toString,
e = t.call([]);
return function (i) {
return null != i && (i instanceof Array || "object" == typeof i && !!i.push && t.call(i) === e)
}
}(),
p = {},
m = function (s, r, n, a) {
this.sc = p[s] ? p[s].sc : [], p[s] = this, this.gsClass = null, this.func = n;
var o = [];
this.check = function (l) {
for (var _, u, c, f, d = r.length, g = d; --d > -1;)(_ = p[r[d]] || new m(r[d], [])).gsClass ? (o[d] = _.gsClass, g--) : l && _.sc.push(this);
if (0 === g && n)
for (u = ("com.greensock." + s).split("."), c = u.pop(), f = h(u.join("."))[c] = this.gsClass = n.apply(n, o), a && (i[c] = f, "function" == typeof define && define.amd ? define((t.GreenSockAMDPath ? t.GreenSockAMDPath + "/" : "") + s.split(".").pop(), [], function () {
return f
}) : s === e && "undefined" != typeof module && module.exports && (module.exports = f)), d = 0; this.sc.length > d; d++) this.sc[d].check()
}, this.check(!0)
},
d = t._gsDefine = function (t, e, i, s) {
return new m(t, e, i, s)
},
g = l._class = function (t, e, i) {
return e = e || function () {}, d(t, [], function () {
return e
}, i), e
};
d.globals = i;
var v = [0, 0, 1, 1],
y = [],
T = g("easing.Ease", function (t, e, i, s) {
this._func = t, this._type = i || 0, this._power = s || 0, this._params = e ? v.concat(e) : v
}, !0),
x = T.map = {},
w = T.register = function (t, e, i, s) {
for (var r, n, a, o, h = e.split(","), _ = h.length, u = (i || "easeIn,easeOut,easeInOut").split(","); --_ > -1;)
for (n = h[_], r = s ? g("easing." + n, null, !0) : l.easing[n] || {}, a = u.length; --a > -1;) o = u[a], x[n + "." + o] = x[o + n] = r[o] = t.getRatio ? t : t[o] || new t
};
for (n = T.prototype, n._calcEnd = !1, n.getRatio = function (t) {
if (this._func) return this._params[0] = t, this._func.apply(null, this._params);
var e = this._type,
i = this._power,
s = 1 === e ? 1 - t : 2 === e ? t : .5 > t ? 2 * t : 2 * (1 - t);
return 1 === i ? s *= s : 2 === i ? s *= s * s : 3 === i ? s *= s * s * s : 4 === i && (s *= s * s * s * s), 1 === e ? 1 - s : 2 === e ? s : .5 > t ? s / 2 : 1 - s / 2
}, s = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], r = s.length; --r > -1;) n = s[r] + ",Power" + r, w(new T(null, null, 1, r), n, "easeOut", !0), w(new T(null, null, 2, r), n, "easeIn" + (0 === r ? ",easeNone" : "")), w(new T(null, null, 3, r), n, "easeInOut");
x.linear = l.easing.Linear.easeIn, x.swing = l.easing.Quad.easeInOut;
var b = g("events.EventDispatcher", function (t) {
this._listeners = {}, this._eventTarget = t || this
});
n = b.prototype, n.addEventListener = function (t, e, i, s, r) {
r = r || 0;
var n, h, l = this._listeners[t],
_ = 0;
for (null == l && (this._listeners[t] = l = []), h = l.length; --h > -1;) n = l[h], n.c === e && n.s === i ? l.splice(h, 1) : 0 === _ && r > n.pr && (_ = h + 1);
l.splice(_, 0, {
c: e,
s: i,
up: s,
pr: r
}), this !== a || o || a.wake()
}, n.removeEventListener = function (t, e) {
var i, s = this._listeners[t];
if (s)
for (i = s.length; --i > -1;)
if (s[i].c === e) return s.splice(i, 1), void 0
}, n.dispatchEvent = function (t) {
var e, i, s, r = this._listeners[t];
if (r)
for (e = r.length, i = this._eventTarget; --e > -1;) s = r[e], s && (s.up ? s.c.call(s.s || i, {
type: t,
target: i
}) : s.c.call(s.s || i))
};
var P = t.requestAnimationFrame,
k = t.cancelAnimationFrame,
S = Date.now || function () {
return (new Date).getTime()
},
R = S();
for (s = ["ms", "moz", "webkit", "o"], r = s.length; --r > -1 && !P;) P = t[s[r] + "RequestAnimationFrame"], k = t[s[r] + "CancelAnimationFrame"] || t[s[r] + "CancelRequestAnimationFrame"];
g("Ticker", function (t, e) {
var i, s, r, n, h, l = this,
u = S(),
f = e !== !1 && P,
p = 500,
m = 33,
d = "tick",
g = function (t) {
var e, a, o = S() - R;
o > p && (u += o - m), R += o, l.time = (R - u) / 1e3, e = l.time - h, (!i || e > 0 || t === !0) && (l.frame++, h += e + (e >= n ? .004 : n - e), a = !0), t !== !0 && (r = s(g)), a && l.dispatchEvent(d)
};
b.call(l), l.time = l.frame = 0, l.tick = function () {
g(!0)
}, l.lagSmoothing = function (t, e) {
p = t || 1 / _, m = Math.min(e, p, 0)
}, l.sleep = function () {
null != r && (f && k ? k(r) : clearTimeout(r), s = c, r = null, l === a && (o = !1))
}, l.wake = function () {
null !== r ? l.sleep() : l.frame > 10 && (R = S() - p + 5), s = 0 === i ? c : f && P ? P : function (t) {
return setTimeout(t, 0 | 1e3 * (h - l.time) + 1)
}, l === a && (o = !0), g(2)
}, l.fps = function (t) {
return arguments.length ? (i = t, n = 1 / (i || 60), h = this.time + n, l.wake(), void 0) : i
}, l.useRAF = function (t) {
return arguments.length ? (l.sleep(), f = t, l.fps(i), void 0) : f
}, l.fps(t), setTimeout(function () {
f && 5 > l.frame && l.useRAF(!1)
}, 1500)
}), n = l.Ticker.prototype = new l.events.EventDispatcher, n.constructor = l.Ticker;
var O = g("core.Animation", function (t, e) {
if (this.vars = e = e || {}, this._duration = this._totalDuration = t || 0, this._delay = Number(e.delay) || 0, this._timeScale = 1, this._active = e.immediateRender === !0, this.data = e.data, this._reversed = e.reversed === !0, U) {
o || a.wake();
var i = this.vars.useFrames ? j : U;
i.add(this, i._time), this.vars.paused && this.paused(!0)
}
});
a = O.ticker = new l.Ticker, n = O.prototype, n._dirty = n._gc = n._initted = n._paused = !1, n._totalTime = n._time = 0, n._rawPrevTime = -1, n._next = n._last = n._onUpdate = n._timeline = n.timeline = null, n._paused = !1;
var A = function () {
o && S() - R > 2e3 && a.wake(), setTimeout(A, 2e3)
};
A(), n.play = function (t, e) {
return null != t && this.seek(t, e), this.reversed(!1).paused(!1)
}, n.pause = function (t, e) {
return null != t && this.seek(t, e), this.paused(!0)
}, n.resume = function (t, e) {
return null != t && this.seek(t, e), this.paused(!1)
}, n.seek = function (t, e) {
return this.totalTime(Number(t), e !== !1)
}, n.restart = function (t, e) {
return this.reversed(!1).paused(!1).totalTime(t ? -this._delay : 0, e !== !1, !0)
}, n.reverse = function (t, e) {
return null != t && this.seek(t || this.totalDuration(), e), this.reversed(!0).paused(!1)
}, n.render = function () {}, n.invalidate = function () {
return this._time = this._totalTime = 0, this._initted = this._gc = !1, this._rawPrevTime = -1, (this._gc || !this.timeline) && this._enabled(!0), this
}, n.isActive = function () {
var t, e = this._timeline,
i = this._startTime;
return !e || !this._gc && !this._paused && e.isActive() && (t = e.rawTime()) >= i && i + this.totalDuration() / this._timeScale > t
}, n._enabled = function (t, e) {
return o || a.wake(), this._gc = !t, this._active = this.isActive(), e !== !0 && (t && !this.timeline ? this._timeline.add(this, this._startTime - this._delay) : !t && this.timeline && this._timeline._remove(this, !0)), !1
}, n._kill = function () {
return this._enabled(!1, !1)
}, n.kill = function (t, e) {
return this._kill(t, e), this
}, n._uncache = function (t) {
for (var e = t ? this : this.timeline; e;) e._dirty = !0, e = e.timeline;
return this
}, n._swapSelfInParams = function (t) {
for (var e = t.length, i = t.concat(); --e > -1;) "{self}" === t[e] && (i[e] = this);
return i
}, n._callback = function (t) {
var e = this.vars;
e[t].apply(e[t + "Scope"] || e.callbackScope || this, e[t + "Params"] || y)
}, n.eventCallback = function (t, e, i, s) {
if ("on" === (t || "").substr(0, 2)) {
var r = this.vars;
if (1 === arguments.length) return r[t];
null == e ? delete r[t] : (r[t] = e, r[t + "Params"] = f(i) && -1 !== i.join("").indexOf("{self}") ? this._swapSelfInParams(i) : i, r[t + "Scope"] = s), "onUpdate" === t && (this._onUpdate = e)
}
return this
}, n.delay = function (t) {
return arguments.length ? (this._timeline.smoothChildTiming && this.startTime(this._startTime + t - this._delay), this._delay = t, this) : this._delay
}, n.duration = function (t) {
return arguments.length ? (this._duration = this._totalDuration = t, this._uncache(!0), this._timeline.smoothChildTiming && this._time > 0 && this._time < this._duration && 0 !== t && this.totalTime(this._totalTime * (t / this._duration), !0), this) : (this._dirty = !1, this._duration)
}, n.totalDuration = function (t) {
return this._dirty = !1, arguments.length ? this.duration(t) : this._totalDuration
}, n.time = function (t, e) {
return arguments.length ? (this._dirty && this.totalDuration(), this.totalTime(t > this._duration ? this._duration : t, e)) : this._time
}, n.totalTime = function (t, e, i) {
if (o || a.wake(), !arguments.length) return this._totalTime;
if (this._timeline) {
if (0 > t && !i && (t += this.totalDuration()), this._timeline.smoothChildTiming) {
this._dirty && this.totalDuration();
var s = this._totalDuration,
r = this._timeline;
if (t > s && !i && (t = s), this._startTime = (this._paused ? this._pauseTime : r._time) - (this._reversed ? s - t : t) / this._timeScale, r._dirty || this._uncache(!1), r._timeline)
for (; r._timeline;) r._timeline._time !== (r._startTime + r._totalTime) / r._timeScale && r.totalTime(r._totalTime, !0), r = r._timeline
}
this._gc && this._enabled(!0, !1), (this._totalTime !== t || 0 === this._duration) && (this.render(t, e, !1), I.length && V())
}
return this
}, n.progress = n.totalProgress = function (t, e) {
return arguments.length ? this.totalTime(this.duration() * t, e) : this._time / this.duration()
}, n.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
}, n.endTime = function (t) {
return this._startTime + (0 != t ? this.totalDuration() : this.duration()) / this._timeScale
}, n.timeScale = function (t) {
if (!arguments.length) return this._timeScale;
if (t = t || _, this._timeline && this._timeline.smoothChildTiming) {
var e = this._pauseTime,
i = e || 0 === e ? e : this._timeline.totalTime();
this._startTime = i - (i - this._startTime) * this._timeScale / t
}
return this._timeScale = t, this._uncache(!1)
}, n.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
}, n.paused = function (t) {
if (!arguments.length) return this._paused;
var e, i, s = this._timeline;
return t != this._paused && s && (o || t || a.wake(), e = s.rawTime(), i = e - this._pauseTime, !t && s.smoothChildTiming && (this._startTime += i, this._uncache(!1)), this._pauseTime = t ? e : null, this._paused = t, this._active = this.isActive(), !t && 0 !== i && this._initted && this.duration() && this.render(s.smoothChildTiming ? this._totalTime : (e - this._startTime) / this._timeScale, !0, !0)), this._gc && !t && this._enabled(!0, !1), this
};
var C = g("core.SimpleTimeline", function (t) {
O.call(this, 0, t), this.autoRemoveChildren = this.smoothChildTiming = !0
});
n = C.prototype = new O, n.constructor = C, n.kill()._gc = !1, n._first = n._last = n._recent = null, n._sortChildren = !1, n.add = n.insert = function (t, e) {
var i, s;
if (t._startTime = Number(e || 0) + t._delay, t._paused && this !== t._timeline && (t._pauseTime = t._startTime + (this.rawTime() - t._startTime) / t._timeScale), t.timeline && t.timeline._remove(t, !0), t.timeline = t._timeline = this, t._gc && t._enabled(!0, !0), i = this._last, this._sortChildren)
for (s = t._startTime; i && i._startTime > s;) i = i._prev;
return i ? (t._next = i._next, i._next = t) : (t._next = this._first, this._first = t), t._next ? t._next._prev = t : this._last = t, t._prev = i, this._recent = t, this._timeline && this._uncache(!0), this
}, n._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
}, n.render = function (t, e, i) {
var s, r = this._first;
for (this._totalTime = this._time = this._rawPrevTime = t; r;) s = r._next, (r._active || t >= r._startTime && !r._paused) && (r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)), r = s
}, n.rawTime = function () {
return o || a.wake(), this._totalTime
};
var D = g("TweenLite", function (e, i, s) {
if (O.call(this, i, s), this.render = D.prototype.render, null == e) throw "Cannot tween a null target.";
this.target = e = "string" != typeof e ? e : D.selector(e) || e;
var r, n, a, o = e.jquery || e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType),
h = this.vars.overwrite;
if (this._overwrite = h = null == h ? Y[D.defaultOverwrite] : "number" == typeof h ? h >> 0 : Y[h], (o || e instanceof Array || e.push && f(e)) && "number" != typeof e[0])
for (this._targets = a = u(e), this._propLookup = [], this._siblings = [], r = 0; a.length > r; r++) n = a[r], n ? "string" != typeof n ? n.length && n !== t && n[0] && (n[0] === t || n[0].nodeType && n[0].style && !n.nodeType) ? (a.splice(r--, 1), this._targets = a = a.concat(u(n))) : (this._siblings[r] = G(n, this, !1), 1 === h && this._siblings[r].length > 1 && Z(n, this, null, 1, this._siblings[r])) : (n = a[r--] = D.selector(n), "string" == typeof n && a.splice(r + 1, 1)) : a.splice(r--, 1);
else this._propLookup = {}, this._siblings = G(e, this, !1), 1 === h && this._siblings.length > 1 && Z(e, this, null, 1, this._siblings);
(this.vars.immediateRender || 0 === i && 0 === this._delay && this.vars.immediateRender !== !1) && (this._time = -_, this.render(-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)
},
z = function (t, e) {
var i, s = {};
for (i in t) B[i] || i in e && "transform" !== i && "x" !== i && "y" !== i && "width" !== i && "height" !== i && "className" !== i && "border" !== i || !(!E[i] || E[i] && E[i]._autoCSS) || (s[i] = t[i], delete t[i]);
t.css = s
};
n = D.prototype = new O, n.constructor = D, n.kill()._gc = !1, n.ratio = 0, n._firstPT = n._targets = n._overwrittenProps = n._startAt = null, n._notifyPluginsOfEnabled = n._lazy = !1, D.version = "1.17.0", D.defaultEase = n._ease = new T(null, null, 1, 1), D.defaultOverwrite = "auto", D.ticker = a, D.autoSleep = 120, D.lagSmoothing = function (t, e) {
a.lagSmoothing(t, e)
}, D.selector = t.$ || t.jQuery || function (e) {
var i = t.$ || t.jQuery;
return i ? (D.selector = i, i(e)) : "undefined" == typeof document ? e : document.querySelectorAll ? document.querySelectorAll(e) : document.getElementById("#" === e.charAt(0) ? e.substr(1) : e)
};
var I = [],
F = {},
N = D._internals = {
isArray: f,
isSelector: M,
lazyTweens: I
},
E = D._plugins = {},
L = N.tweenLookup = {},
X = 0,
B = N.reservedProps = {
ease: 1,
delay: 1,
overwrite: 1,
onComplete: 1,
onCompleteParams: 1,
onCompleteScope: 1,
useFrames: 1,
runBackwards: 1,
startAt: 1,
onUpdate: 1,
onUpdateParams: 1,
onUpdateScope: 1,
onStart: 1,
onStartParams: 1,
onStartScope: 1,
onReverseComplete: 1,
onReverseCompleteParams: 1,
onReverseCompleteScope: 1,
onRepeat: 1,
onRepeatParams: 1,
onRepeatScope: 1,
easeParams: 1,
yoyo: 1,
immediateRender: 1,
repeat: 1,
repeatDelay: 1,
data: 1,
paused: 1,
reversed: 1,
autoCSS: 1,
lazy: 1,
onOverwrite: 1,
callbackScope: 1
},
Y = {
none: 0,
all: 1,
auto: 2,
concurrent: 3,
allOnStart: 4,
preexisting: 5,
"true": 1,
"false": 0
},
j = O._rootFramesTimeline = new C,
U = O._rootTimeline = new C,
q = 30,
V = N.lazyRender = function () {
var t, e = I.length;
for (F = {}; --e > -1;) t = I[e], t && t._lazy !== !1 && (t.render(t._lazy[0], t._lazy[1], !0), t._lazy = !1);
I.length = 0
};
U._startTime = a.time, j._startTime = a.frame, U._active = j._active = !0, setTimeout(V, 1), O._updateRoot = D.render = function () {
var t, e, i;
if (I.length && V(), U.render((a.time - U._startTime) * U._timeScale, !1, !1), j.render((a.frame - j._startTime) * j._timeScale, !1, !1), I.length && V(), a.frame >= q) {
q = a.frame + (parseInt(D.autoSleep, 10) || 120);
for (i in L) {
for (e = L[i].tweens, t = e.length; --t > -1;) e[t]._gc && e.splice(t, 1);
0 === e.length && delete L[i]
}
if (i = U._first, (!i || i._paused) && D.autoSleep && !j._first && 1 === a._listeners.tick.length) {
for (; i && i._paused;) i = i._next;
i || a.sleep()
}
}
}, a.addEventListener("tick", O._updateRoot);
var G = function (t, e, i) {
var s, r, n = t._gsTweenID;
if (L[n || (t._gsTweenID = n = "t" + X++)] || (L[n] = {
target: t,
tweens: []
}), e && (s = L[n].tweens, s[r = s.length] = e, i))
for (; --r > -1;) s[r] === e && s.splice(r, 1);
return L[n].tweens
},
W = function (t, e, i, s) {
var r, n, a = t.vars.onOverwrite;
return a && (r = a(t, e, i, s)), a = D.onOverwrite, a && (n = a(t, e, i, s)), r !== !1 && n !== !1
},
Z = function (t, e, i, s, r) {
var n, a, o, h;
if (1 === s || s >= 4) {
for (h = r.length, n = 0; h > n; n++)
if ((o = r[n]) !== e) o._gc || o._kill(null, t, e) && (a = !0);
else if (5 === s) break;
return a
}
var l, u = e._startTime + _,
c = [],
f = 0,
p = 0 === e._duration;
for (n = r.length; --n > -1;)(o = r[n]) === e || o._gc || o._paused || (o._timeline !== e._timeline ? (l = l || Q(e, 0, p), 0 === Q(o, l, p) && (c[f++] = o)) : u >= o._startTime && o._startTime + o.totalDuration() / o._timeScale > u && ((p || !o._initted) && 2e-10 >= u - o._startTime || (c[f++] = o)));
for (n = f; --n > -1;)
if (o = c[n], 2 === s && o._kill(i, t, e) && (a = !0), 2 !== s || !o._firstPT && o._initted) {
if (2 !== s && !W(o, e)) continue;
o._enabled(!1, !1) && (a = !0)
}
return a
},
Q = function (t, e, i) {
for (var s = t._timeline, r = s._timeScale, n = t._startTime; s._timeline;) {
if (n += s._startTime, r *= s._timeScale, s._paused) return -100;
s = s._timeline
}
return n /= r, n > e ? n - e : i && n === e || !t._initted && 2 * _ > n - e ? _ : (n += t.totalDuration() / t._timeScale / r) > e + _ ? 0 : n - e - _
};
n._init = function () {
var t, e, i, s, r, n = this.vars,
a = this._overwrittenProps,
o = this._duration,
h = !!n.immediateRender,
l = n.ease;
if (n.startAt) {
this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), r = {};
for (s in n.startAt) r[s] = n.startAt[s];
if (r.overwrite = !1, r.immediateRender = !0, r.lazy = h && n.lazy !== !1, r.startAt = r.delay = null, this._startAt = D.to(this.target, 0, r), h)
if (this._time > 0) this._startAt = null;
else if (0 !== o) return
} else if (n.runBackwards && 0 !== o)
if (this._startAt) this._startAt.render(-1, !0), this._startAt.kill(), this._startAt = null;
else {
0 !== this._time && (h = !1), i = {};
for (s in n) B[s] && "autoCSS" !== s || (i[s] = n[s]);
if (i.overwrite = 0, i.data = "isFromStart", i.lazy = h && n.lazy !== !1, i.immediateRender = h, this._startAt = D.to(this.target, 0, i), h) {
if (0 === this._time) return
} else this._startAt._init(), this._startAt._enabled(!1), this.vars.immediateRender && (this._startAt = null)
}
if (this._ease = l = l ? l instanceof T ? l : "function" == typeof l ? new T(l, n.easeParams) : x[l] || D.defaultEase : D.defaultEase, n.easeParams instanceof Array && l.config && (this._ease = l.config.apply(l, n.easeParams)), this._easeType = this._ease._type, this._easePower = this._ease._power, this._firstPT = null, this._targets)
for (t = this._targets.length; --t > -1;) this._initProps(this._targets[t], this._propLookup[t] = {}, this._siblings[t], a ? a[t] : null) && (e = !0);
else e = this._initProps(this.target, this._propLookup, this._siblings, a);
if (e && D._onPluginEvent("_onInitAllProps", this), a && (this._firstPT || "function" != typeof this.target && this._enabled(!1, !1)), n.runBackwards)
for (i = this._firstPT; i;) i.s += i.c, i.c = -i.c, i = i._next;
this._onUpdate = n.onUpdate, this._initted = !0
}, n._initProps = function (e, i, s, r) {
var n, a, o, h, l, _;
if (null == e) return !1;
F[e._gsTweenID] && V(), this.vars.css || e.style && e !== t && e.nodeType && E.css && this.vars.autoCSS !== !1 && z(this.vars, e);
for (n in this.vars) {
if (_ = this.vars[n], B[n]) _ && (_ instanceof Array || _.push && f(_)) && -1 !== _.join("").indexOf("{self}") && (this.vars[n] = _ = this._swapSelfInParams(_, this));
else if (E[n] && (h = new E[n])._onInitTween(e, this.vars[n], this)) {
for (this._firstPT = l = {
_next: this._firstPT,
t: h,
p: "setRatio",
s: 0,
c: 1,
f: !0,
n: n,
pg: !0,
pr: h._priority
}, a = h._overwriteProps.length; --a > -1;) i[h._overwriteProps[a]] = this._firstPT;
(h._priority || h._onInitAllProps) && (o = !0), (h._onDisable || h._onEnable) && (this._notifyPluginsOfEnabled = !0)
} else this._firstPT = i[n] = l = {
_next: this._firstPT,
t: e,
p: n,
f: "function" == typeof e[n],
n: n,
pg: !1,
pr: 0
}, l.s = l.f ? e[n.indexOf("set") || "function" != typeof e["get" + n.substr(3)] ? n : "get" + n.substr(3)]() : parseFloat(e[n]), l.c = "string" == typeof _ && "=" === _.charAt(1) ? parseInt(_.charAt(0) + "1", 10) * Number(_.substr(2)) : Number(_) - l.s || 0;
l && l._next && (l._next._prev = l)
}
return r && this._kill(r, e) ? this._initProps(e, i, s, r) : this._overwrite > 1 && this._firstPT && s.length > 1 && Z(e, this, i, this._overwrite, s) ? (this._kill(i, e), this._initProps(e, i, s, r)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (F[e._gsTweenID] = !0), o)
}, n.render = function (t, e, i) {
var s, r, n, a, o = this._time,
h = this._duration,
l = this._rawPrevTime;
if (t >= h) this._totalTime = this._time = h, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (s = !0, r = "onComplete", i = i || this._timeline.autoRemoveChildren), 0 === h && (this._initted || !this.vars.lazy || i) && (this._startTime === this._timeline._duration && (t = 0), (0 === t || 0 > l || l === _ && "isPause" !== this.data) && l !== t && (i = !0, l > _ && (r = "onReverseComplete")), this._rawPrevTime = a = !e || t || l === t ? t : _);
else if (1e-7 > t) this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== o || 0 === h && l > 0) && (r = "onReverseComplete", s = this._reversed), 0 > t && (this._active = !1, 0 === h && (this._initted || !this.vars.lazy || i) && (l >= 0 && (l !== _ || "isPause" !== this.data) && (i = !0), this._rawPrevTime = a = !e || t || l === t ? t : _)), this._initted || (i = !0);
else if (this._totalTime = this._time = t, this._easeType) {
var u = t / h,
c = this._easeType,
f = this._easePower;
(1 === c || 3 === c && u >= .5) && (u = 1 - u), 3 === c && (u *= 2), 1 === f ? u *= u : 2 === f ? u *= u * u : 3 === f ? u *= u * u * u : 4 === f && (u *= u * u * u * u), this.ratio = 1 === c ? 1 - u : 2 === c ? u : .5 > t / h ? u / 2 : 1 - u / 2
} else this.ratio = this._ease.getRatio(t / h);
if (this._time !== o || i) {
if (!this._initted) {
if (this._init(), !this._initted || this._gc) return;
if (!i && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration)) return this._time = this._totalTime = o, this._rawPrevTime = l, I.push(this), this._lazy = [t, e], void 0;
this._time && !s ? this.ratio = this._ease.getRatio(this._time / h) : s && this._ease._calcEnd && (this.ratio = this._ease.getRatio(0 === this._time ? 0 : 1))
}
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== o && t >= 0 && (this._active = !0), 0 === o && (this._startAt && (t >= 0 ? this._startAt.render(t, e, i) : r || (r = "_dummyGS")), this.vars.onStart && (0 !== this._time || 0 === h) && (e || this._callback("onStart"))), n = this._firstPT; n;) n.f ? n.t[n.p](n.c * this.ratio + n.s) : n.t[n.p] = n.c * this.ratio + n.s, n = n._next;
this._onUpdate && (0 > t && this._startAt && t !== -1e-4 && this._startAt.render(t, e, i), e || (this._time !== o || s) && this._callback("onUpdate")), r && (!this._gc || i) && (0 > t && this._startAt && !this._onUpdate && t !== -1e-4 && this._startAt.render(t, e, i), s && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[r] && this._callback(r), 0 === h && this._rawPrevTime === _ && a !== _ && (this._rawPrevTime = 0))
}
}, n._kill = function (t, e, i) {
if ("all" === t && (t = null), null == t && (null == e || e === this.target)) return this._lazy = !1, this._enabled(!1, !1);
e = "string" != typeof e ? e || this._targets || this.target : D.selector(e) || e;
var s, r, n, a, o, h, l, _, u, c = i && this._time && i._startTime === this._startTime && this._timeline === i._timeline;
if ((f(e) || M(e)) && "number" != typeof e[0])
for (s = e.length; --s > -1;) this._kill(t, e[s], i) && (h = !0);
else {
if (this._targets) {
for (s = this._targets.length; --s > -1;)
if (e === this._targets[s]) {
o = this._propLookup[s] || {}, this._overwrittenProps = this._overwrittenProps || [], r = this._overwrittenProps[s] = t ? this._overwrittenProps[s] || {} : "all";
break
}
} else {
if (e !== this.target) return !1;
o = this._propLookup, r = this._overwrittenProps = t ? this._overwrittenProps || {} : "all"
}
if (o) {
if (l = t || o, _ = t !== r && "all" !== r && t !== o && ("object" != typeof t || !t._tempKill), i && (D.onOverwrite || this.vars.onOverwrite)) {
for (n in l) o[n] && (u || (u = []), u.push(n));
if ((u || !t) && !W(this, i, e, u)) return !1
}
for (n in l)(a = o[n]) && (c && (a.f ? a.t[a.p](a.s) : a.t[a.p] = a.s, h = !0), a.pg && a.t._kill(l) && (h = !0), a.pg && 0 !== a.t._overwriteProps.length || (a._prev ? a._prev._next = a._next : a === this._firstPT && (this._firstPT = a._next), a._next && (a._next._prev = a._prev), a._next = a._prev = null), delete o[n]), _ && (r[n] = 1);
!this._firstPT && this._initted && this._enabled(!1, !1)
}
}
return h
}, n.invalidate = function () {
return this._notifyPluginsOfEnabled && D._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [], O.prototype.invalidate.call(this), this.vars.immediateRender && (this._time = -_, this.render(-this._delay)), this
}, n._enabled = function (t, e) {
if (o || a.wake(), t && this._gc) {
var i, s = this._targets;
if (s)
for (i = s.length; --i > -1;) this._siblings[i] = G(s[i], this, !0);
else this._siblings = G(this.target, this, !0)
}
return O.prototype._enabled.call(this, t, e), this._notifyPluginsOfEnabled && this._firstPT ? D._onPluginEvent(t ? "_onEnable" : "_onDisable", this) : !1
}, D.to = function (t, e, i) {
return new D(t, e, i)
}, D.from = function (t, e, i) {
return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, new D(t, e, i)
}, D.fromTo = function (t, e, i, s) {
return s.startAt = i, s.immediateRender = 0 != s.immediateRender && 0 != i.immediateRender, new D(t, e, s)
}, D.delayedCall = function (t, e, i, s, r) {
return new D(e, 0, {
delay: t,
onComplete: e,
onCompleteParams: i,
callbackScope: s,
onReverseComplete: e,
onReverseCompleteParams: i,
immediateRender: !1,
lazy: !1,
useFrames: r,
overwrite: 0
})
}, D.set = function (t, e) {
return new D(t, 0, e)
}, D.getTweensOf = function (t, e) {
if (null == t) return [];
t = "string" != typeof t ? t : D.selector(t) || t;
var i, s, r, n;
if ((f(t) || M(t)) && "number" != typeof t[0]) {
for (i = t.length, s = []; --i > -1;) s = s.concat(D.getTweensOf(t[i], e));
for (i = s.length; --i > -1;)
for (n = s[i], r = i; --r > -1;) n === s[r] && s.splice(i, 1)
} else
for (s = G(t).concat(), i = s.length; --i > -1;)(s[i]._gc || e && !s[i].isActive()) && s.splice(i, 1);
return s
}, D.killTweensOf = D.killDelayedCallsTo = function (t, e, i) {
"object" == typeof e && (i = e, e = !1);
for (var s = D.getTweensOf(t, e), r = s.length; --r > -1;) s[r]._kill(i, t)
};
var $ = g("plugins.TweenPlugin", function (t, e) {
this._overwriteProps = (t || "").split(","), this._propName = this._overwriteProps[0], this._priority = e || 0, this._super = $.prototype
}, !0);
if (n = $.prototype, $.version = "1.10.1", $.API = 2, n._firstPT = null, n._addTween = function (t, e, i, s, r, n) {
var a, o;
return null != s && (a = "number" == typeof s || "=" !== s.charAt(1) ? Number(s) - Number(i) : parseInt(s.charAt(0) + "1", 10) * Number(s.substr(2))) ? (this._firstPT = o = {
_next: this._firstPT,
t: t,
p: e,
s: i,
c: a,
f: "function" == typeof t[e],
n: r || e,
r: n
}, o._next && (o._next._prev = o), o) : void 0
}, n.setRatio = function (t) {
for (var e, i = this._firstPT, s = 1e-6; i;) e = i.c * t + i.s, i.r ? e = Math.round(e) : s > e && e > -s && (e = 0), i.f ? i.t[i.p](e) : i.t[i.p] = e, i = i._next
}, n._kill = function (t) {
var e, i = this._overwriteProps,
s = this._firstPT;
if (null != t[this._propName]) this._overwriteProps = [];
else
for (e = i.length; --e > -1;) null != t[i[e]] && i.splice(e, 1);
for (; s;) null != t[s.n] && (s._next && (s._next._prev = s._prev), s._prev ? (s._prev._next = s._next, s._prev = null) : this._firstPT === s && (this._firstPT = s._next)), s = s._next;
return !1
}, n._roundProps = function (t, e) {
for (var i = this._firstPT; i;)(t[this._propName] || null != i.n && t[i.n.split(this._propName + "_").join("")]) && (i.r = e), i = i._next
}, D._onPluginEvent = function (t, e) {
var i, s, r, n, a, o = e._firstPT;
if ("_onInitAllProps" === t) {
for (; o;) {
for (a = o._next, s = r; s && s.pr > o.pr;) s = s._next;
(o._prev = s ? s._prev : n) ? o._prev._next = o: r = o, (o._next = s) ? s._prev = o : n = o, o = a
}
o = e._firstPT = r
}
for (; o;) o.pg && "function" == typeof o.t[t] && o.t[t]() && (i = !0), o = o._next;
return i
}, $.activate = function (t) {
for (var e = t.length; --e > -1;) t[e].API === $.API && (E[(new t[e])._propName] = t[e]);
return !0
}, d.plugin = function (t) {
if (!(t && t.propName && t.init && t.API)) throw "illegal plugin definition.";
var e, i = t.propName,
s = t.priority || 0,
r = t.overwriteProps,
n = {
init: "_onInitTween",
set: "setRatio",
kill: "_kill",
round: "_roundProps",
initAll: "_onInitAllProps"
},
a = g("plugins." + i.charAt(0).toUpperCase() + i.substr(1) + "Plugin", function () {
$.call(this, i, s), this._overwriteProps = r || []
}, t.global === !0),
o = a.prototype = new $(i);
o.constructor = a, a.API = t.API;
for (e in n) "function" == typeof t[e] && (o[n[e]] = t[e]);
return a.version = t.version, $.activate([a]), a
}, s = t._gsQueue) {
for (r = 0; s.length > r; r++) s[r]();
for (n in p) p[n].func || t.console.log("GSAP encountered missing dependency: com.greensock." + n)
}
o = !1
}
}("undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window, "TweenMax");application/javascript TweenMax.js
https://whatsonchain.com/tx/01e791a49dac76cd0642b27027265ce09e771e323358275187040c30c0c28c5d