JavaScript
Executed Scripts (40)
Executed Evals (8)
#1 JavaScript::Eval (size: 79156) - SHA256: dafb3c695c6da2fdce4f40af5520413c9a67242b0d533bdf1f57ca4d3f3cda06
! function(t, e) {
"use strict";
var i = t.GreenSockGlobals = t.GreenSockGlobals || t;
if (!i.TweenLite) {
var r, s, n, a, o, l = function(t) {
var e, r = t.split("."),
s = i;
for (e = 0; r.length > e; e++) s[r[e]] = s = s[r[e]] || {};
return s
},
h = l("com.greensock"),
u = 1e-10,
f = function(t) {
var e, i = [],
r = t.length;
for (e = 0; e !== r; i.push(t[e++]));
return i
},
p = function() {},
_ = 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)
}
}(),
c = {},
d = function(r, s, n, a) {
this.sc = c[r] ? c[r].sc : [], c[r] = this, this.gsClass = null, this.func = n;
var o = [];
this.check = function(h) {
for (var u, f, p, _, m = s.length, g = m; --m > -1;)(u = c[s[m]] || new d(s[m], [])).gsClass ? (o[m] = u.gsClass, g--) : h && u.sc.push(this);
if (0 === g && n)
for (f = ("com.greensock." + r).split("."), p = f.pop(), _ = l(f.join("."))[p] = this.gsClass = n.apply(n, o), a && (i[p] = _, "function" == typeof define && define.amd ? define((t.GreenSockAMDPath ? t.GreenSockAMDPath + "/" : "") + r.split(".").pop(), [], function() {
return _
}) : r === e && "undefined" != typeof module && module.exports && (module.exports = _)), m = 0; this.sc.length > m; m++) this.sc[m].check()
}, this.check(!0)
},
m = t._gsDefine = function(t, e, i, r) {
return new d(t, e, i, r)
},
g = h._class = function(t, e, i) {
return e = e || function() {}, m(t, [], function() {
return e
}, i), e
};
m.globals = i;
var v = [0, 0, 1, 1],
x = [],
y = g("easing.Ease", function(t, e, i, r) {
this._func = t, this._type = i || 0, this._power = r || 0, this._params = e ? v.concat(e) : v
}, !0),
T = y.map = {},
w = y.register = function(t, e, i, r) {
for (var s, n, a, o, l = e.split(","), u = l.length, f = (i || "easeIn,easeOut,easeInOut").split(","); --u > -1;)
for (n = l[u], s = r ? g("easing." + n, null, !0) : h.easing[n] || {}, a = f.length; --a > -1;) o = f[a], T[n + "." + o] = T[o + n] = s[o] = t.getRatio ? t : t[o] || new t
};
for (n = y.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,
r = 1 === e ? 1 - t : 2 === e ? t : .5 > t ? 2 * t : 2 * (1 - t);
return 1 === i ? r *= r : 2 === i ? r *= r * r : 3 === i ? r *= r * r * r : 4 === i && (r *= r * r * r * r), 1 === e ? 1 - r : 2 === e ? r : .5 > t ? r / 2 : 1 - r / 2
}, r = ["Linear", "Quad", "Cubic", "Quart", "Quint,Strong"], s = r.length; --s > -1;) n = r[s] + ",Power" + s, w(new y(null, null, 1, s), n, "easeOut", !0), w(new y(null, null, 2, s), n, "easeIn" + (0 === s ? ",easeNone" : "")), w(new y(null, null, 3, s), n, "easeInOut");
T.linear = h.easing.Linear.easeIn, T.swing = h.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, r, s) {
s = s || 0;
var n, l, h = this._listeners[t],
u = 0;
for (null == h && (this._listeners[t] = h = []), l = h.length; --l > -1;) n = h[l], n.c === e && n.s === i ? h.splice(l, 1) : 0 === u && s > n.pr && (u = l + 1);
h.splice(u, 0, {
c: e,
s: i,
up: r,
pr: s
}), this !== a || o || a.wake()
}, n.removeEventListener = function(t, e) {
var i, r = this._listeners[t];
if (r)
for (i = r.length; --i > -1;)
if (r[i].c === e) return void r.splice(i, 1)
}, n.dispatchEvent = function(t) {
var e, i, r, s = this._listeners[t];
if (s)
for (e = s.length, i = this._eventTarget; --e > -1;) r = s[e], r && (r.up ? r.c.call(r.s || i, {
type: t,
target: i
}) : r.c.call(r.s || i))
};
var P = t.requestAnimationFrame,
O = t.cancelAnimationFrame,
S = Date.now || function() {
return (new Date).getTime()
},
k = S();
for (r = ["ms", "moz", "webkit", "o"], s = r.length; --s > -1 && !P;) P = t[r[s] + "RequestAnimationFrame"], O = t[r[s] + "CancelAnimationFrame"] || t[r[s] + "CancelRequestAnimationFrame"];
g("Ticker", function(t, e) {
var i, r, s, n, l, h = this,
f = S(),
_ = e !== !1 && P,
c = 500,
d = 33,
m = "tick",
g = function(t) {
var e, a, o = S() - k;
o > c && (f += o - d), k += o, h.time = (k - f) / 1e3, e = h.time - l, (!i || e > 0 || t === !0) && (h.frame++, l += e + (e >= n ? .004 : n - e), a = !0), t !== !0 && (s = r(g)), a && h.dispatchEvent(m)
};
b.call(h), h.time = h.frame = 0, h.tick = function() {
g(!0)
}, h.lagSmoothing = function(t, e) {
c = t || 1 / u, d = Math.min(e, c, 0)
}, h.sleep = function() {
null != s && (_ && O ? O(s) : clearTimeout(s), r = p, s = null, h === a && (o = !1))
}, h.wake = function() {
null !== s ? h.sleep() : h.frame > 10 && (k = S() - c + 5), r = 0 === i ? p : _ && P ? P : function(t) {
return setTimeout(t, 0 | 1e3 * (l - h.time) + 1)
}, h === a && (o = !0), g(2)
}, h.fps = function(t) {
return arguments.length ? (i = t, n = 1 / (i || 60), l = this.time + n, void h.wake()) : i
}, h.useRAF = function(t) {
return arguments.length ? (h.sleep(), _ = t, void h.fps(i)) : _
}, h.fps(t), setTimeout(function() {
_ && 5 > h.frame && h.useRAF(!1)
}, 1500)
}), n = h.Ticker.prototype = new h.events.EventDispatcher, n.constructor = h.Ticker;
var A = 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, V) {
o || a.wake();
var i = this.vars.useFrames ? j : V;
i.add(this, i._time), this.vars.paused && this.paused(!0)
}
});
a = A.ticker = new h.Ticker, n = A.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 C = function() {
o && S() - k > 2e3 && a.wake(), setTimeout(C, 2e3)
};
C(), 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"] || x)
}, n.eventCallback = function(t, e, i, r) {
if ("on" === (t || "").substr(0, 2)) {
var s = this.vars;
if (1 === arguments.length) return s[t];
null == e ? delete s[t] : (s[t] = e, s[t + "Params"] = _(i) && -1 !== i.join("").indexOf("{self}") ? this._swapSelfInParams(i) : i, s[t + "Scope"] = r), "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 r = this._totalDuration,
s = this._timeline;
if (t > r && !i && (t = r), this._startTime = (this._paused ? this._pauseTime : s._time) - (this._reversed ? r - t : t) / this._timeScale, s._dirty || this._uncache(!1), s._timeline)
for (; s._timeline;) s._timeline._time !== (s._startTime + s._totalTime) / s._timeScale && s.totalTime(s._totalTime, !0), s = s._timeline
}
this._gc && this._enabled(!0, !1), (this._totalTime !== t || 0 === this._duration) && (this.render(t, e, !1), z.length && q())
}
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 || u, 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, r = this._timeline;
return t != this._paused && r && (o || t || a.wake(), e = r.rawTime(), i = e - this._pauseTime, !t && r.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(r.smoothChildTiming ? this._totalTime : (e - this._startTime) / this._timeScale, !0, !0)), this._gc && !t && this._enabled(!0, !1), this
};
var R = g("core.SimpleTimeline", function(t) {
A.call(this, 0, t), this.autoRemoveChildren = this.smoothChildTiming = !0
});
n = R.prototype = new A, n.constructor = R, n.kill()._gc = !1, n._first = n._last = n._recent = null, n._sortChildren = !1, n.add = n.insert = function(t, e) {
var i, r;
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 (r = t._startTime; i && i._startTime > r;) 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 r, s = this._first;
for (this._totalTime = this._time = this._rawPrevTime = t; s;) r = s._next, (s._active || t >= s._startTime && !s._paused) && (s._reversed ? s.render((s._dirty ? s.totalDuration() : s._totalDuration) - (t - s._startTime) * s._timeScale, e, i) : s.render((t - s._startTime) * s._timeScale, e, i)), s = r
}, n.rawTime = function() {
return o || a.wake(), this._totalTime
};
var M = g("TweenLite", function(e, i, r) {
if (A.call(this, i, r), this.render = M.prototype.render, null == e) throw "Cannot tween a null target.";
this.target = e = "string" != typeof e ? e : M.selector(e) || e;
var s, n, a, o = e.jquery || e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType),
l = this.vars.overwrite;
if (this._overwrite = l = null == l ? B[M.defaultOverwrite] : "number" == typeof l ? l >> 0 : B[l], (o || e instanceof Array || e.push && _(e)) && "number" != typeof e[0])
for (this._targets = a = f(e), this._propLookup = [], this._siblings = [], s = 0; a.length > s; s++) n = a[s], n ? "string" != typeof n ? n.length && n !== t && n[0] && (n[0] === t || n[0].nodeType && n[0].style && !n.nodeType) ? (a.splice(s--, 1), this._targets = a = a.concat(f(n))) : (this._siblings[s] = W(n, this, !1), 1 === l && this._siblings[s].length > 1 && G(n, this, null, 1, this._siblings[s])) : (n = a[s--] = M.selector(n), "string" == typeof n && a.splice(s + 1, 1)) : a.splice(s--, 1);
else this._propLookup = {}, this._siblings = W(e, this, !1), 1 === l && this._siblings.length > 1 && G(e, this, null, 1, this._siblings);
(this.vars.immediateRender || 0 === i && 0 === this._delay && this.vars.immediateRender !== !1) && (this._time = -u, this.render(-this._delay))
}, !0),
D = function(e) {
return e && e.length && e !== t && e[0] && (e[0] === t || e[0].nodeType && e[0].style && !e.nodeType)
},
X = function(t, e) {
var i, r = {};
for (i in t) Y[i] || i in e && "transform" !== i && "x" !== i && "y" !== i && "width" !== i && "height" !== i && "className" !== i && "border" !== i || !(!N[i] || N[i] && N[i]._autoCSS) || (r[i] = t[i], delete t[i]);
t.css = r
};
n = M.prototype = new A, n.constructor = M, n.kill()._gc = !1, n.ratio = 0, n._firstPT = n._targets = n._overwrittenProps = n._startAt = null, n._notifyPluginsOfEnabled = n._lazy = !1, M.version = "1.17.0", M.defaultEase = n._ease = new y(null, null, 1, 1), M.defaultOverwrite = "auto", M.ticker = a, M.autoSleep = 120, M.lagSmoothing = function(t, e) {
a.lagSmoothing(t, e)
}, M.selector = t.$ || t.jQuery || function(e) {
var i = t.$ || t.jQuery;
return i ? (M.selector = i, i(e)) : "undefined" == typeof document ? e : document.querySelectorAll ? document.querySelectorAll(e) : document.getElementById("#" === e.charAt(0) ? e.substr(1) : e)
};
var z = [],
F = {},
I = M._internals = {
isArray: _,
isSelector: D,
lazyTweens: z
},
N = M._plugins = {},
E = I.tweenLookup = {},
L = 0,
Y = I.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
},
B = {
none: 0,
all: 1,
auto: 2,
concurrent: 3,
allOnStart: 4,
preexisting: 5,
"true": 1,
"false": 0
},
j = A._rootFramesTimeline = new R,
V = A._rootTimeline = new R,
U = 30,
q = I.lazyRender = function() {
var t, e = z.length;
for (F = {}; --e > -1;) t = z[e], t && t._lazy !== !1 && (t.render(t._lazy[0], t._lazy[1], !0), t._lazy = !1);
z.length = 0
};
V._startTime = a.time, j._startTime = a.frame, V._active = j._active = !0, setTimeout(q, 1), A._updateRoot = M.render = function() {
var t, e, i;
if (z.length && q(), V.render((a.time - V._startTime) * V._timeScale, !1, !1), j.render((a.frame - j._startTime) * j._timeScale, !1, !1), z.length && q(), a.frame >= U) {
U = a.frame + (parseInt(M.autoSleep, 10) || 120);
for (i in E) {
for (e = E[i].tweens, t = e.length; --t > -1;) e[t]._gc && e.splice(t, 1);
0 === e.length && delete E[i]
}
if (i = V._first, (!i || i._paused) && M.autoSleep && !j._first && 1 === a._listeners.tick.length) {
for (; i && i._paused;) i = i._next;
i || a.sleep()
}
}
}, a.addEventListener("tick", A._updateRoot);
var W = function(t, e, i) {
var r, s, n = t._gsTweenID;
if (E[n || (t._gsTweenID = n = "t" + L++)] || (E[n] = {
target: t,
tweens: []
}), e && (r = E[n].tweens, r[s = r.length] = e, i))
for (; --s > -1;) r[s] === e && r.splice(s, 1);
return E[n].tweens
},
Z = function(t, e, i, r) {
var s, n, a = t.vars.onOverwrite;
return a && (s = a(t, e, i, r)), a = M.onOverwrite, a && (n = a(t, e, i, r)), s !== !1 && n !== !1
},
G = function(t, e, i, r, s) {
var n, a, o, l;
if (1 === r || r >= 4) {
for (l = s.length, n = 0; l > n; n++)
if ((o = s[n]) !== e) o._gc || o._kill(null, t, e) && (a = !0);
else if (5 === r) break;
return a
}
var h, f = e._startTime + u,
p = [],
_ = 0,
c = 0 === e._duration;
for (n = s.length; --n > -1;)(o = s[n]) === e || o._gc || o._paused || (o._timeline !== e._timeline ? (h = h || Q(e, 0, c), 0 === Q(o, h, c) && (p[_++] = o)) : f >= o._startTime && o._startTime + o.totalDuration() / o._timeScale > f && ((c || !o._initted) && 2e-10 >= f - o._startTime || (p[_++] = o)));
for (n = _; --n > -1;)
if (o = p[n], 2 === r && o._kill(i, t, e) && (a = !0), 2 !== r || !o._firstPT && o._initted) {
if (2 !== r && !Z(o, e)) continue;
o._enabled(!1, !1) && (a = !0)
}
return a
},
Q = function(t, e, i) {
for (var r = t._timeline, s = r._timeScale, n = t._startTime; r._timeline;) {
if (n += r._startTime, s *= r._timeScale, r._paused) return -100;
r = r._timeline
}
return n /= s, n > e ? n - e : i && n === e || !t._initted && 2 * u > n - e ? u : (n += t.totalDuration() / t._timeScale / s) > e + u ? 0 : n - e - u
};
n._init = function() {
var t, e, i, r, s, n = this.vars,
a = this._overwrittenProps,
o = this._duration,
l = !!n.immediateRender,
h = n.ease;
if (n.startAt) {
this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), s = {};
for (r in n.startAt) s[r] = n.startAt[r];
if (s.overwrite = !1, s.immediateRender = !0, s.lazy = l && n.lazy !== !1, s.startAt = s.delay = null, this._startAt = M.to(this.target, 0, s), l)
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 && (l = !1), i = {};
for (r in n) Y[r] && "autoCSS" !== r || (i[r] = n[r]);
if (i.overwrite = 0, i.data = "isFromStart", i.lazy = l && n.lazy !== !1, i.immediateRender = l, this._startAt = M.to(this.target, 0, i), l) {
if (0 === this._time) return
} else this._startAt._init(), this._startAt._enabled(!1), this.vars.immediateRender && (this._startAt = null)
}
if (this._ease = h = h ? h instanceof y ? h : "function" == typeof h ? new y(h, n.easeParams) : T[h] || M.defaultEase : M.defaultEase, n.easeParams instanceof Array && h.config && (this._ease = h.config.apply(h, 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 && M._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, r, s) {
var n, a, o, l, h, u;
if (null == e) return !1;
F[e._gsTweenID] && q(), this.vars.css || e.style && e !== t && e.nodeType && N.css && this.vars.autoCSS !== !1 && X(this.vars, e);
for (n in this.vars) {
if (u = this.vars[n], Y[n]) u && (u instanceof Array || u.push && _(u)) && -1 !== u.join("").indexOf("{self}") && (this.vars[n] = u = this._swapSelfInParams(u, this));
else if (N[n] && (l = new N[n])._onInitTween(e, this.vars[n], this)) {
for (this._firstPT = h = {
_next: this._firstPT,
t: l,
p: "setRatio",
s: 0,
c: 1,
f: !0,
n: n,
pg: !0,
pr: l._priority
}, a = l._overwriteProps.length; --a > -1;) i[l._overwriteProps[a]] = this._firstPT;
(l._priority || l._onInitAllProps) && (o = !0), (l._onDisable || l._onEnable) && (this._notifyPluginsOfEnabled = !0)
} else this._firstPT = i[n] = h = {
_next: this._firstPT,
t: e,
p: n,
f: "function" == typeof e[n],
n: n,
pg: !1,
pr: 0
}, h.s = h.f ? e[n.indexOf("set") || "function" != typeof e["get" + n.substr(3)] ? n : "get" + n.substr(3)]() : parseFloat(e[n]), h.c = "string" == typeof u && "=" === u.charAt(1) ? parseInt(u.charAt(0) + "1", 10) * Number(u.substr(2)) : Number(u) - h.s || 0;
h && h._next && (h._next._prev = h)
}
return s && this._kill(s, e) ? this._initProps(e, i, r, s) : this._overwrite > 1 && this._firstPT && r.length > 1 && G(e, this, i, this._overwrite, r) ? (this._kill(i, e), this._initProps(e, i, r, s)) : (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 r, s, n, a, o = this._time,
l = this._duration,
h = this._rawPrevTime;
if (t >= l) this._totalTime = this._time = l, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (r = !0, s = "onComplete", i = i || this._timeline.autoRemoveChildren), 0 === l && (this._initted || !this.vars.lazy || i) && (this._startTime === this._timeline._duration && (t = 0), (0 === t || 0 > h || h === u && "isPause" !== this.data) && h !== t && (i = !0, h > u && (s = "onReverseComplete")), this._rawPrevTime = a = !e || t || h === t ? t : u);
else if (1e-7 > t) this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (0 !== o || 0 === l && h > 0) && (s = "onReverseComplete", r = this._reversed), 0 > t && (this._active = !1, 0 === l && (this._initted || !this.vars.lazy || i) && (h >= 0 && (h !== u || "isPause" !== this.data) && (i = !0), this._rawPrevTime = a = !e || t || h === t ? t : u)), this._initted || (i = !0);
else if (this._totalTime = this._time = t, this._easeType) {
var f = t / l,
p = this._easeType,
_ = this._easePower;
(1 === p || 3 === p && f >= .5) && (f = 1 - f), 3 === p && (f *= 2), 1 === _ ? f *= f : 2 === _ ? f *= f * f : 3 === _ ? f *= f * f * f : 4 === _ && (f *= f * f * f * f), this.ratio = 1 === p ? 1 - f : 2 === p ? f : .5 > t / l ? f / 2 : 1 - f / 2
} else this.ratio = this._ease.getRatio(t / l);
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 = h, z.push(this), void(this._lazy = [t, e]);
this._time && !r ? this.ratio = this._ease.getRatio(this._time / l) : r && 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) : s || (s = "_dummyGS")), this.vars.onStart && (0 !== this._time || 0 === l) && (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 || r) && this._callback("onUpdate")), s && (!this._gc || i) && (0 > t && this._startAt && !this._onUpdate && t !== -1e-4 && this._startAt.render(t, e, i), r && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[s] && this._callback(s), 0 === l && this._rawPrevTime === u && a !== u && (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 : M.selector(e) || e;
var r, s, n, a, o, l, h, u, f, p = i && this._time && i._startTime === this._startTime && this._timeline === i._timeline;
if ((_(e) || D(e)) && "number" != typeof e[0])
for (r = e.length; --r > -1;) this._kill(t, e[r], i) && (l = !0);
else {
if (this._targets) {
for (r = this._targets.length; --r > -1;)
if (e === this._targets[r]) {
o = this._propLookup[r] || {}, this._overwrittenProps = this._overwrittenProps || [], s = this._overwrittenProps[r] = t ? this._overwrittenProps[r] || {} : "all";
break
}
} else {
if (e !== this.target) return !1;
o = this._propLookup, s = this._overwrittenProps = t ? this._overwrittenProps || {} : "all"
}
if (o) {
if (h = t || o, u = t !== s && "all" !== s && t !== o && ("object" != typeof t || !t._tempKill), i && (M.onOverwrite || this.vars.onOverwrite)) {
for (n in h) o[n] && (f || (f = []), f.push(n));
if ((f || !t) && !Z(this, i, e, f)) return !1
}
for (n in h)(a = o[n]) && (p && (a.f ? a.t[a.p](a.s) : a.t[a.p] = a.s, l = !0), a.pg && a.t._kill(h) && (l = !0), a.pg && 0 !== a.t._overwriteProps.length || (a._prev ? a._prev._next = a._next : a === this._firstPT && (this._firstPT = a._next), a._next && (a._next._prev = a._prev), a._next = a._prev = null), delete o[n]), u && (s[n] = 1);
!this._firstPT && this._initted && this._enabled(!1, !1)
}
}
return l
}, n.invalidate = function() {
return this._notifyPluginsOfEnabled && M._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [], A.prototype.invalidate.call(this), this.vars.immediateRender && (this._time = -u, this.render(-this._delay)), this
}, n._enabled = function(t, e) {
if (o || a.wake(), t && this._gc) {
var i, r = this._targets;
if (r)
for (i = r.length; --i > -1;) this._siblings[i] = W(r[i], this, !0);
else this._siblings = W(this.target, this, !0)
}
return A.prototype._enabled.call(this, t, e), this._notifyPluginsOfEnabled && this._firstPT ? M._onPluginEvent(t ? "_onEnable" : "_onDisable", this) : !1
}, M.to = function(t, e, i) {
return new M(t, e, i)
}, M.from = function(t, e, i) {
return i.runBackwards = !0, i.immediateRender = 0 != i.immediateRender, new M(t, e, i)
}, M.fromTo = function(t, e, i, r) {
return r.startAt = i, r.immediateRender = 0 != r.immediateRender && 0 != i.immediateRender, new M(t, e, r)
}, M.delayedCall = function(t, e, i, r, s) {
return new M(e, 0, {
delay: t,
onComplete: e,
onCompleteParams: i,
callbackScope: r,
onReverseComplete: e,
onReverseCompleteParams: i,
immediateRender: !1,
lazy: !1,
useFrames: s,
overwrite: 0
})
}, M.set = function(t, e) {
return new M(t, 0, e)
}, M.getTweensOf = function(t, e) {
if (null == t) return [];
t = "string" != typeof t ? t : M.selector(t) || t;
var i, r, s, n;
if ((_(t) || D(t)) && "number" != typeof t[0]) {
for (i = t.length, r = []; --i > -1;) r = r.concat(M.getTweensOf(t[i], e));
for (i = r.length; --i > -1;)
for (n = r[i], s = i; --s > -1;) n === r[s] && r.splice(i, 1)
} else
for (r = W(t).concat(), i = r.length; --i > -1;)(r[i]._gc || e && !r[i].isActive()) && r.splice(i, 1);
return r
}, M.killTweensOf = M.killDelayedCallsTo = function(t, e, i) {
"object" == typeof e && (i = e, e = !1);
for (var r = M.getTweensOf(t, e), s = r.length; --s > -1;) r[s]._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, r, s, n) {
var a, o;
return null != r && (a = "number" == typeof r || "=" !== r.charAt(1) ? Number(r) - Number(i) : parseInt(r.charAt(0) + "1", 10) * Number(r.substr(2))) ? (this._firstPT = o = {
_next: this._firstPT,
t: t,
p: e,
s: i,
c: a,
f: "function" == typeof t[e],
n: s || e,
r: n
}, o._next && (o._next._prev = o), o) : void 0
}, n.setRatio = function(t) {
for (var e, i = this._firstPT, r = 1e-6; i;) e = i.c * t + i.s, i.r ? e = Math.round(e) : r > e && e > -r && (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,
r = 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 (; r;) null != t[r.n] && (r._next && (r._next._prev = r._prev), r._prev ? (r._prev._next = r._next, r._prev = null) : this._firstPT === r && (this._firstPT = r._next)), r = r._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
}, M._onPluginEvent = function(t, e) {
var i, r, s, n, a, o = e._firstPT;
if ("_onInitAllProps" === t) {
for (; o;) {
for (a = o._next, r = s; r && r.pr > o.pr;) r = r._next;
(o._prev = r ? r._prev : n) ? o._prev._next = o: s = o, (o._next = r) ? r._prev = o : n = o, o = a
}
o = e._firstPT = s
}
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 && (N[(new t[e])._propName] = t[e]);
return !0
}, m.plugin = function(t) {
if (!(t && t.propName && t.init && t.API)) throw "illegal plugin definition.";
var e, i = t.propName,
r = t.priority || 0,
s = 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, r), this._overwriteProps = s || []
}, 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
}, r = t._gsQueue) {
for (s = 0; r.length > s; s++) r[s]();
for (n in c) c[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, "TweenLite");
var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window;
(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function() {
"use strict";
_gsScope._gsDefine("TimelineLite", ["core.Animation", "core.SimpleTimeline", "TweenLite"], function(t, e, i) {
var r = function(t) {
e.call(this, t), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
var i, r, s = this.vars;
for (r in s) i = s[r], l(i) && -1 !== i.join("").indexOf("{self}") && (s[r] = this._swapSelfInParams(i));
l(s.tweens) && this.add(s.tweens, 0, s.align, s.stagger)
},
s = 1e-10,
n = i._internals,
a = r._internals = {},
o = n.isSelector,
l = n.isArray,
h = n.lazyTweens,
u = n.lazyRender,
f = [],
p = _gsScope._gsDefine.globals,
_ = function(t) {
var e, i = {};
for (e in t) i[e] = t[e];
return i
},
c = a.pauseCallback = function(t, e, i, r) {
var n, a = t._timeline,
o = a._totalTime,
l = t._startTime,
h = 0 > t._rawPrevTime || 0 === t._rawPrevTime && a._reversed,
u = h ? 0 : s,
p = h ? s : 0;
if (e || !this._forcingPlayhead) {
for (a.pause(l), n = t._prev; n && n._startTime === l;) n._rawPrevTime = p, n = n._prev;
for (n = t._next; n && n._startTime === l;) n._rawPrevTime = u, n = n._next;
e && e.apply(r || a.vars.callbackScope || a, i || f), (this._forcingPlayhead || !a._paused) && a.seek(o)
}
},
d = function(t) {
var e, i = [],
r = t.length;
for (e = 0; e !== r; i.push(t[e++]));
return i
},
m = r.prototype = new e;
return r.version = "1.17.0", m.constructor = r, m.kill()._gc = m._forcingPlayhead = !1, m.to = function(t, e, r, s) {
var n = r.repeat && p.TweenMax || i;
return e ? this.add(new n(t, e, r), s) : this.set(t, r, s)
}, m.from = function(t, e, r, s) {
return this.add((r.repeat && p.TweenMax || i).from(t, e, r), s)
}, m.fromTo = function(t, e, r, s, n) {
var a = s.repeat && p.TweenMax || i;
return e ? this.add(a.fromTo(t, e, r, s), n) : this.set(t, s, n)
}, m.staggerTo = function(t, e, s, n, a, l, h, u) {
var f, p = new r({
onComplete: l,
onCompleteParams: h,
callbackScope: u,
smoothChildTiming: this.smoothChildTiming
});
for ("string" == typeof t && (t = i.selector(t) || t), t = t || [], o(t) && (t = d(t)), n = n || 0, 0 > n && (t = d(t), t.reverse(), n *= -1), f = 0; t.length > f; f++) s.startAt && (s.startAt = _(s.startAt)), p.to(t[f], e, _(s), f * n);
return this.add(p, a)
}, m.staggerFrom = function(t, e, i, r, s, n, a, o) {
return i.immediateRender = 0 != i.immediateRender, i.runBackwards = !0, this.staggerTo(t, e, i, r, s, n, a, o)
}, m.staggerFromTo = function(t, e, i, r, s, n, a, o, l) {
return r.startAt = i, r.immediateRender = 0 != r.immediateRender && 0 != i.immediateRender, this.staggerTo(t, e, r, s, n, a, o, l)
}, m.call = function(t, e, r, s) {
return this.add(i.delayedCall(0, t, e, r), s)
}, m.set = function(t, e, r) {
return r = this._parseTimeOrLabel(r, 0, !0), null == e.immediateRender && (e.immediateRender = r === this._time && !this._paused), this.add(new i(t, 0, e), r)
}, r.exportRoot = function(t, e) {
t = t || {}, null == t.smoothChildTiming && (t.smoothChildTiming = !0);
var s, n, a = new r(t),
o = a._timeline;
for (null == e && (e = !0), o._remove(a, !0), a._startTime = 0, a._rawPrevTime = a._time = a._totalTime = o._time, s = o._first; s;) n = s._next, e && s instanceof i && s.target === s.vars.onComplete || a.add(s, s._startTime - s._delay), s = n;
return o.add(a, 0), a
}, m.add = function(s, n, a, o) {
var h, u, f, p, _, c;
if ("number" != typeof n && (n = this._parseTimeOrLabel(n, 0, !0, s)), !(s instanceof t)) {
if (s instanceof Array || s && s.push && l(s)) {
for (a = a || "normal", o = o || 0, h = n, u = s.length, f = 0; u > f; f++) l(p = s[f]) && (p = new r({
tweens: p
})), this.add(p, h), "string" != typeof p && "function" != typeof p && ("sequence" === a ? h = p._startTime + p.totalDuration() / p._timeScale : "start" === a && (p._startTime -= p.delay())), h += o;
return this._uncache(!0)
}
if ("string" == typeof s) return this.addLabel(s, n);
if ("function" != typeof s) throw "Cannot add " + s + " into the timeline; it is not a tween, timeline, function, or string.";
s = i.delayedCall(0, s)
}
if (e.prototype.add.call(this, s, n), (this._gc || this._time === this._duration) && !this._paused && this._duration < this.duration())
for (_ = this, c = _.rawTime() > s._startTime; _._timeline;) c && _._timeline.smoothChildTiming ? _.totalTime(_._totalTime, !0) : _._gc && _._enabled(!0, !1), _ = _._timeline;
return this
}, m.remove = function(e) {
if (e instanceof t) return this._remove(e, !1);
if (e instanceof Array || e && e.push && l(e)) {
for (var i = e.length; --i > -1;) this.remove(e[i]);
return this
}
return "string" == typeof e ? this.removeLabel(e) : this.kill(null, e)
}, m._remove = function(t, i) {
e.prototype._remove.call(this, t, i);
var r = this._last;
return r ? this._time > r._startTime + r._totalDuration / r._timeScale && (this._time = this.duration(), this._totalTime = this._totalDuration) : this._time = this._totalTime = this._duration = this._totalDuration = 0, this
}, m.append = function(t, e) {
return this.add(t, this._parseTimeOrLabel(null, e, !0, t))
}, m.insert = m.insertMultiple = function(t, e, i, r) {
return this.add(t, e || 0, i, r)
}, m.appendMultiple = function(t, e, i, r) {
return this.add(t, this._parseTimeOrLabel(null, e, !0, t), i, r)
}, m.addLabel = function(t, e) {
return this._labels[t] = this._parseTimeOrLabel(e), this
}, m.addPause = function(t, e, r, s) {
var n = i.delayedCall(0, c, ["{self}", e, r, s], this);
return n.data = "isPause", this.add(n, t)
}, m.removeLabel = function(t) {
return delete this._labels[t], this
}, m.getLabelTime = function(t) {
return null != this._labels[t] ? this._labels[t] : -1
}, m._parseTimeOrLabel = function(e, i, r, s) {
var n;
if (s instanceof t && s.timeline === this) this.remove(s);
else if (s && (s instanceof Array || s.push && l(s)))
for (n = s.length; --n > -1;) s[n] instanceof t && s[n].timeline === this && this.remove(s[n]);
if ("string" == typeof i) return this._parseTimeOrLabel(i, r && "number" == typeof e && null == this._labels[i] ? e - this.duration() : 0, r);
if (i = i || 0, "string" != typeof e || !isNaN(e) && null == this._labels[e]) null == e && (e = this.duration());
else {
if (n = e.indexOf("="), -1 === n) return null == this._labels[e] ? r ? this._labels[e] = this.duration() + i : i : this._labels[e] + i;
i = parseInt(e.charAt(n - 1) + "1", 10) * Number(e.substr(n + 1)), e = n > 1 ? this._parseTimeOrLabel(e.substr(0, n - 1), 0, r) : this.duration()
}
return Number(e) + i
}, m.seek = function(t, e) {
return this.totalTime("number" == typeof t ? t : this._parseTimeOrLabel(t), e !== !1)
}, m.stop = function() {
return this.paused(!0)
}, m.gotoAndPlay = function(t, e) {
return this.play(t, e)
}, m.gotoAndStop = function(t, e) {
return this.pause(t, e)
}, m.render = function(t, e, i) {
this._gc && this._enabled(!0, !1);
var r, n, a, o, l, f = this._dirty ? this.totalDuration() : this._totalDuration,
p = this._time,
_ = this._startTime,
c = this._timeScale,
d = this._paused;
if (t >= f) this._totalTime = this._time = f, this._reversed || this._hasPausedChild() || (n = !0, o = "onComplete", l = !!this._timeline.autoRemoveChildren, 0 === this._duration && (0 === t || 0 > this._rawPrevTime || this._rawPrevTime === s) && this._rawPrevTime !== t && this._first && (l = !0, this._rawPrevTime > s && (o = "onReverseComplete"))), this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : s, t = f + 1e-4;
else if (1e-7 > t)
if (this._totalTime = this._time = 0, (0 !== p || 0 === this._duration && this._rawPrevTime !== s && (this._rawPrevTime > 0 || 0 > t && this._rawPrevTime >= 0)) && (o = "onReverseComplete", n = this._reversed), 0 > t) this._active = !1, this._timeline.autoRemoveChildren && this._reversed ? (l = n = !0, o = "onReverseComplete") : this._rawPrevTime >= 0 && this._first && (l = !0), this._rawPrevTime = t;
else {
if (this._rawPrevTime = this._duration || !e || t || this._rawPrevTime === t ? t : s, 0 === t && n)
for (r = this._first; r && 0 === r._startTime;) r._duration || (n = !1), r = r._next;
t = 0, this._initted || (l = !0)
} else this._totalTime = this._time = this._rawPrevTime = t;
if (this._time !== p && this._first || i || l) {
if (this._initted || (this._initted = !0), this._active || !this._paused && this._time !== p && t > 0 && (this._active = !0), 0 === p && this.vars.onStart && 0 !== this._time && (e || this._callback("onStart")), this._time >= p)
for (r = this._first; r && (a = r._next, !this._paused || d);)(r._active || r._startTime <= this._time && !r._paused && !r._gc) && (r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)), r = a;
else
for (r = this._last; r && (a = r._prev, !this._paused || d);)(r._active || p >= r._startTime && !r._paused && !r._gc) && (r._reversed ? r.render((r._dirty ? r.totalDuration() : r._totalDuration) - (t - r._startTime) * r._timeScale, e, i) : r.render((t - r._startTime) * r._timeScale, e, i)), r = a;
this._onUpdate && (e || (h.length && u(), this._callback("onUpdate"))), o && (this._gc || (_ === this._startTime || c !== this._timeScale) && (0 === this._time || f >= this.totalDuration()) && (n && (h.length && u(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !e && this.vars[o] && this._callback(o)))
}
}, m._hasPausedChild = function() {
for (var t = this._first; t;) {
if (t._paused || t instanceof r && t._hasPausedChild()) return !0;
t = t._next
}
return !1
}, m.getChildren = function(t, e, r, s) {
s = s || -9999999999;
for (var n = [], a = this._first, o = 0; a;) s > a._startTime || (a instanceof i ? e !== !1 && (n[o++] = a) : (r !== !1 && (n[o++] = a), t !== !1 && (n = n.concat(a.getChildren(!0, e, r)), o = n.length))), a = a._next;
return n
}, m.getTweensOf = function(t, e) {
var r, s, n = this._gc,
a = [],
o = 0;
for (n && this._enabled(!0, !0), r = i.getTweensOf(t), s = r.length; --s > -1;)(r[s].timeline === this || e && this._contains(r[s])) && (a[o++] = r[s]);
return n && this._enabled(!1, !0), a
}, m.recent = function() {
return this._recent
}, m._contains = function(t) {
for (var e = t.timeline; e;) {
if (e === this) return !0;
e = e.timeline
}
return !1
}, m.shiftChildren = function(t, e, i) {
i = i || 0;
for (var r, s = this._first, n = this._labels; s;) s._startTime >= i && (s._startTime += t), s = s._next;
if (e)
for (r in n) n[r] >= i && (n[r] += t);
return this._uncache(!0)
}, m._kill = function(t, e) {
if (!t && !e) return this._enabled(!1, !1);
for (var i = e ? this.getTweensOf(e) : this.getChildren(!0, !0, !1), r = i.length, s = !1; --r > -1;) i[r]._kill(t, e) && (s = !0);
return s
}, m.clear = function(t) {
var e = this.getChildren(!1, !0, !0),
i = e.length;
for (this._time = this._totalTime = 0; --i > -1;) e[i]._enabled(!1, !1);
return t !== !1 && (this._labels = {}), this._uncache(!0)
}, m.invalidate = function() {
for (var e = this._first; e;) e.invalidate(), e = e._next;
return t.prototype.invalidate.call(this)
}, m._enabled = function(t, i) {
if (t === this._gc)
for (var r = this._first; r;) r._enabled(t, !0), r = r._next;
return e.prototype._enabled.call(this, t, i)
}, m.totalTime = function() {
this._forcingPlayhead = !0;
var e = t.prototype.totalTime.apply(this, arguments);
return this._forcingPlayhead = !1, e
}, m.duration = function(t) {
return arguments.length ? (0 !== this.duration() && 0 !== t && this.timeScale(this._duration / t), this) : (this._dirty && this.totalDuration(), this._duration)
}, m.totalDuration = function(t) {
if (!arguments.length) {
if (this._dirty) {
for (var e, i, r = 0, s = this._last, n = 999999999999; s;) e = s._prev, s._dirty && s.totalDuration(), s._startTime > n && this._sortChildren && !s._paused ? this.add(s, s._startTime - s._delay) : n = s._startTime, 0 > s._startTime && !s._paused && (r -= s._startTime, this._timeline.smoothChildTiming && (this._startTime += s._startTime / this._timeScale), this.shiftChildren(-s._startTime, !1, -9999999999), n = 0), i = s._startTime + s._totalDuration / s._timeScale, i > r && (r = i), s = e;
this._duration = this._totalDuration = r, this._dirty = !1
}
return this._totalDuration
}
return 0 !== this.totalDuration() && 0 !== t && this.timeScale(this._totalDuration / t), this
}, m.paused = function(e) {
if (!e)
for (var i = this._first, r = this._time; i;) i._startTime === r && "isPause" === i.data && (i._rawPrevTime = 0), i = i._next;
return t.prototype.paused.apply(this, arguments)
}, m.usesFrames = function() {
for (var e = this._timeline; e._timeline;) e = e._timeline;
return e === t._rootFramesTimeline
}, m.rawTime = function() {
return this._paused ? this._totalTime : (this._timeline.rawTime() - this._startTime) * this._timeScale
}, r
}, !0)
}), _gsScope._gsDefine && _gsScope._gsQueue.pop()(),
function(t) {
"use strict";
var e = function() {
return (_gsScope.GreenSockGlobals || _gsScope)[t]
};
"function" == typeof define && define.amd ? define(["TweenLite"], e) : "undefined" != typeof module && module.exports && (require("./TweenLite.js"), module.exports = e())
}("TimelineLite");
var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window;
(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function() {
"use strict";
_gsScope._gsDefine("easing.Back", ["easing.Ease"], function(t) {
var e, i, r, s = _gsScope.GreenSockGlobals || _gsScope,
n = s.com.greensock,
a = 2 * Math.PI,
o = Math.PI / 2,
l = n._class,
h = function(e, i) {
var r = l("easing." + e, function() {}, !0),
s = r.prototype = new t;
return s.constructor = r, s.getRatio = i, r
},
u = t.register || function() {},
f = function(t, e, i, r) {
var s = l("easing." + t, {
easeOut: new e,
easeIn: new i,
easeInOut: new r
}, !0);
return u(s, t), s
},
p = function(t, e, i) {
this.t = t, this.v = e, i && (this.next = i, i.prev = this, this.c = i.v - e, this.gap = i.t - t)
},
_ = function(e, i) {
var r = l("easing." + e, function(t) {
this._p1 = t || 0 === t ? t : 1.70158, this._p2 = 1.525 * this._p1
}, !0),
s = r.prototype = new t;
return s.constructor = r, s.getRatio = i, s.config = function(t) {
return new r(t)
}, r
},
c = f("Back", _("BackOut", function(t) {
return (t -= 1) * t * ((this._p1 + 1) * t + this._p1) + 1
}), _("BackIn", function(t) {
return t * t * ((this._p1 + 1) * t - this._p1)
}), _("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)
})),
d = l("easing.SlowMo", function(t, e, i) {
e = e || 0 === e ? e : .7, null == t ? t = .7 : t > 1 && (t = 1), this._p = 1 !== t ? e : 0, this._p1 = (1 - t) / 2, this._p2 = t, this._p3 = this._p1 + this._p2, this._calcEnd = i === !0
}, !0),
m = d.prototype = new t;
return m.constructor = d, m.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
}, d.ease = new d(.7, .7), m.config = d.config = function(t, e, i) {
return new d(t, e, i)
}, e = l("easing.SteppedEase", function(t) {
t = t || 1, this._p1 = 1 / t, this._p2 = t + 1
}, !0), m = e.prototype = new t, m.constructor = e, m.getRatio = function(t) {
return 0 > t ? t = 0 : t >= 1 && (t = .999999999), (this._p2 * t >> 0) * this._p1
}, m.config = e.config = function(t) {
return new e(t)
}, i = l("easing.RoughEase", function(e) {
e = e || {};
for (var i, r, s, n, a, o, l = e.taper || "none", h = [], u = 0, f = 0 | (e.points || 20), _ = f, c = e.randomize !== !1, d = e.clamp === !0, m = e.template instanceof t ? e.template : null, g = "number" == typeof e.strength ? .4 * e.strength : .4; --_ > -1;) i = c ? Math.random() : 1 / f * _, r = m ? m.getRatio(i) : i, "none" === l ? s = g : "out" === l ? (n = 1 - i, s = n * n * g) : "in" === l ? s = i * i * g : .5 > i ? (n = 2 * i, s = .5 * n * n * g) : (n = 2 * (1 - i), s = .5 * n * n * g), c ? r += Math.random() * s - .5 * s : _ % 2 ? r += .5 * s : r -= .5 * s, d && (r > 1 ? r = 1 : 0 > r && (r = 0)), h[u++] = {
x: i,
y: r
};
for (h.sort(function(t, e) {
return t.x - e.x
}), o = new p(1, 1, null), _ = f; --_ > -1;) a = h[_], o = new p(a.x, a.y, o);
this._prev = new p(0, 0, 0 !== o.t ? o : o.next)
}, !0), m = i.prototype = new t, m.constructor = i, m.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
}, m.config = function(t) {
return new i(t)
}, i.ease = new i, f("Bounce", h("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
}), h("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)
}), h("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
})), f("Circ", h("CircOut", function(t) {
return Math.sqrt(1 - (t -= 1) * t)
}), h("CircIn", function(t) {
return -(Math.sqrt(1 - t * t) - 1)
}), h("CircInOut", function(t) {
return 1 > (t *= 2) ? -.5 * (Math.sqrt(1 - t * t) - 1) : .5 * (Math.sqrt(1 - (t -= 2) * t) + 1)
})), r = function(e, i, r) {
var s = l("easing." + e, function(t, e) {
this._p1 = t >= 1 ? t : 1, this._p2 = (e || r) / (1 > t ? t : 1), this._p3 = this._p2 / a * (Math.asin(1 / this._p1) || 0), this._p2 = a / this._p2
}, !0),
n = s.prototype = new t;
return n.constructor = s, n.getRatio = i, n.config = function(t, e) {
return new s(t, e)
}, s
}, f("Elastic", r("ElasticOut", function(t) {
return this._p1 * Math.pow(2, -10 * t) * Math.sin((t - this._p3) * this._p2) + 1
}, .3), r("ElasticIn", function(t) {
return -(this._p1 * Math.pow(2, 10 * (t -= 1)) * Math.sin((t - this._p3) * this._p2))
}, .3), r("ElasticInOut", function(t) {
return 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)), f("Expo", h("ExpoOut", function(t) {
return 1 - Math.pow(2, -10 * t)
}), h("ExpoIn", function(t) {
return Math.pow(2, 10 * (t - 1)) - .001
}), h("ExpoInOut", function(t) {
return 1 > (t *= 2) ? .5 * Math.pow(2, 10 * (t - 1)) : .5 * (2 - Math.pow(2, -10 * (t - 1)))
})), f("Sine", h("SineOut", function(t) {
return Math.sin(t * o)
}), h("SineIn", function(t) {
return -Math.cos(t * o) + 1
}), h("SineInOut", function(t) {
return -.5 * (Math.cos(Math.PI * t) - 1)
})), l("easing.EaseLookup", {
find: function(e) {
return t.map[e]
}
}, !0), u(s.SlowMo, "SlowMo", "ease,"), u(i, "RoughEase", "ease,"), u(e, "SteppedEase", "ease,"), c
}, !0)
}), _gsScope._gsDefine && _gsScope._gsQueue.pop()();
var _gsScope = "undefined" != typeof module && module.exports && "undefined" != typeof global ? global : this || window;
(_gsScope._gsQueue || (_gsScope._gsQueue = [])).push(function() {
"use strict";
_gsScope._gsDefine("plugins.CSSPlugin", ["plugins.TweenPlugin", "TweenLite"], function(t, e) {
var i, r, s, n, a = function() {
t.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = a.prototype.setRatio
},
o = _gsScope._gsDefine.globals,
l = {},
h = a.prototype = new t("css");
h.constructor = a, a.version = "1.17.0", a.API = 2, a.defaultTransformPerspective = 0, a.defaultSkewType = "compensated", a.defaultSmoothOrigin = !0, h = "px", a.suffixMap = {
top: h,
right: h,
bottom: h,
left: h,
width: h,
height: h,
fontSize: h,
padding: h,
margin: h,
perspective: h,
lineHeight: ""
};
var u, f, p, _, c, d, m = /(?:\d|\-\d|\.\d|\-\.\d)+/g,
g = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g,
v = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi,
x = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g,
y = /(?:\d|\-|\+|=|#|\.)*/g,
T = /opacity *= *([^)]*)/i,
w = /opacity:([^;]*)/i,
b = /alpha\(opacity *=.+?\)/i,
P = /^(rgb|hsl)/,
O = /([A-Z])/g,
S = /-([a-z])/gi,
k = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi,
A = function(t, e) {
return e.toUpperCase()
},
C = /(?:Left|Right|Width)/i,
R = /(M11|M12|M21|M22)=[\d\-\.e]+/gi,
M = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i,
D = /,(?=[^\)]*(?:\(|$))/gi,
X = Math.PI / 180,
z = 180 / Math.PI,
F = {},
I = document,
N = function(t) {
return I.createElementNS ? I.createElementNS("http://www.w3.org/1999/xhtml", t) : I.createElement(t)
},
E = N("div"),
L = N("img"),
Y = a._internals = {
_specialProps: l
},
B = navigator.userAgent,
j = function() {
var t = B.indexOf("Android"),
e = N("a");
return p = -1 !== B.indexOf("Safari") && -1 === B.indexOf("Chrome") && (-1 === t || Number(B.substr(t + 8, 1)) > 3), c = p && 6 > Number(B.substr(B.indexOf("Version/") + 8, 1)), _ = -1 !== B.indexOf("Firefox"), (/MSIE ([0-9]{1,}[\.0-9]{0,})/.exec(B) || /Trident\/.*rv:([0-9]{1,}[\.0-9]{0,})/.exec(B)) && (d = parseFloat(RegExp.$1)), e ? (e.style.cssText = "top:1px;opacity:.55;", /^0.55/.test(e.style.opacity)) : !1
}(),
V = function(t) {
return T.test("string" == typeof t ? t : (t.currentStyle ? t.currentStyle.filter : t.style.filter) || "") ? parseFloat(RegExp.$1) / 100 : 1
},
U = function(t) {
window.console && console.log(t)
},
q = "",
W = "",
Z = function(t, e) {
e = e || E;
var i, r, s = e.style;
if (void 0 !== s[t]) return t;
for (t = t.charAt(0).toUpperCase() + t.substr(1), i = ["O", "Moz", "ms", "Ms", "Webkit"], r = 5; --r > -1 && void 0 === s[i[r] + t];);
return r >= 0 ? (W = 3 === r ? "ms" : i[r], q = "-" + W.toLowerCase() + "-", W + t) : null
},
G = I.defaultView ? I.defaultView.getComputedStyle : function() {},
Q = a.getStyle = function(t, e, i, r, s) {
var n;
return j || "opacity" !== e ? (!r && t.style[e] ? n = t.style[e] : (i = i || G(t)) ? n = i[e] || i.getPropertyValue(e) || i.getPropertyValue(e.replace(O, "-$1").toLowerCase()) : t.currentStyle && (n = t.currentStyle[e]), null == s || n && "none" !== n && "auto" !== n && "auto auto" !== n ? n : s) : V(t)
},
$ = Y.convertToPixels = function(t, i, r, s, n) {
if ("px" === s || !s) return r;
if ("auto" === s || !r) return 0;
var o, l, h, u = C.test(i),
f = t,
p = E.style,
_ = 0 > r;
if (_ && (r = -r), "%" === s && -1 !== i.indexOf("border")) o = r / 100 * (u ? t.clientWidth : t.clientHeight);
else {
if (p.cssText = "border:0 solid red;position:" + Q(t, "position") + ";line-height:0;", "%" !== s && f.appendChild) p[u ? "borderLeftWidth" : "borderTopWidth"] = r + s;
else {
if (f = t.parentNode || I.body, l = f._gsCache, h = e.ticker.frame, l && u && l.time === h) return l.width * r / 100;
p[u ? "width" : "height"] = r + s
}
f.appendChild(E), o = parseFloat(E[u ? "offsetWidth" : "offsetHeight"]), f.removeChild(E), u && "%" === s && a.cacheWidths !== !1 && (l = f._gsCache = f._gsCache || {}, l.time = h, l.width = 100 * (o / r)), 0 !== o || n || (o = $(t, i, r, s, !0))
}
return _ ? -o : o
},
H = Y.calculateOffset = function(t, e, i) {
if ("absolute" !== Q(t, "position", i)) return 0;
var r = "left" === e ? "Left" : "Top",
s = Q(t, "margin" + r, i);
return t["offset" + r] - ($(t, e, parseFloat(s), s.replace(y, "")) || 0)
},
K = function(t, e) {
var i, r, s, n = {};
if (e = e || G(t, null))
if (i = e.length)
for (; --i > -1;) s = e[i], (-1 === s.indexOf("-transform") || Pe === s) && (n[s.replace(S, A)] = e.getPropertyValue(s));
else
for (i in e)(-1 === i.indexOf("Transform") || be === i) && (n[i] = e[i]);
else if (e = t.currentStyle || t.style)
for (i in e) "string" == typeof i && void 0 === n[i] && (n[i.replace(S, A)] = e[i]);
return j || (n.opacity = V(t)), r = Ie(t, e, !1), n.rotation = r.rotation, n.skewX = r.skewX, n.scaleX = r.scaleX, n.scaleY = r.scaleY, n.x = r.x, n.y = r.y, Se && (n.z = r.z, n.rotationX = r.rotationX, n.rotationY = r.rotationY, n.scaleZ = r.scaleZ), n.filters && delete n.filters, n
},
J = function(t, e, i, r, s) {
var n, a, o, l = {},
h = t.style;
for (a in i) "cssText" !== a && "length" !== a && isNaN(a) && (e[a] !== (n = i[a]) || s && s[a]) && -1 === a.indexOf("Origin") && ("number" == typeof n || "string" == typeof n) && (l[a] = "auto" !== n || "left" !== a && "top" !== a ? "" !== n && "auto" !== n && "none" !== n || "string" != typeof e[a] || "" === e[a].replace(x, "") ? n : 0 : H(t, a), void 0 !== h[a] && (o = new _e(h, a, h[a], o)));
if (r)
for (a in r) "className" !== a && (l[a] = r[a]);
return {
difs: l,
firstMPT: o
}
},
te = {
width: ["Left", "Right"],
height: ["Top", "Bottom"]
},
ee = ["marginLeft", "marginRight", "marginTop", "marginBottom"],
ie = function(t, e, i) {
var r = parseFloat("width" === e ? t.offsetWidth : t.offsetHeight),
s = te[e],
n = s.length;
for (i = i || G(t, null); --n > -1;) r -= parseFloat(Q(t, "padding" + s[n], i, !0)) || 0, r -= parseFloat(Q(t, "border" + s[n] + "Width", i, !0)) || 0;
return r
},
re = function(t, e) {
(null == t || "" === t || "auto" === t || "auto auto" === t) && (t = "0 0");
var i = t.split(" "),
r = -1 !== t.indexOf("left") ? "0%" : -1 !== t.indexOf("right") ? "100%" : i[0],
s = -1 !== t.indexOf("top") ? "0%" : -1 !== t.indexOf("bottom") ? "100%" : i[1];
return null == s ? s = "center" === r ? "50%" : "0" : "center" === s && (s = "50%"), ("center" === r || isNaN(parseFloat(r)) && -1 === (r + "").indexOf("=")) && (r = "50%"), t = r + " " + s + (i.length > 2 ? " " + i[2] : ""), e && (e.oxp = -1 !== r.indexOf("%"), e.oyp = -1 !== s.indexOf("%"), e.oxr = "=" === r.charAt(1), e.oyr = "=" === s.charAt(1), e.ox = parseFloat(r.replace(x, "")), e.oy = parseFloat(s.replace(x, "")), e.v = t), e || t
},
se = function(t, e) {
return "string" == typeof t && "=" === t.charAt(1) ? parseInt(t.charAt(0) + "1", 10) * parseFloat(t.substr(2)) : parseFloat(t) - parseFloat(e)
},
ne = function(t, e) {
return null == t ? e : "string" == typeof t && "=" === t.charAt(1) ? parseInt(t.charAt(0) + "1", 10) * parseFloat(t.substr(2)) + e : parseFloat(t)
},
ae = function(t, e, i, r) {
var s, n, a, o, l, h = 1e-6;
return null == t ? o = e : "number" == typeof t ? o = t : (s = 360, n = t.split("_"), l = "=" === t.charAt(1), a = (l ? parseInt(t.charAt(0) + "1", 10) * parseFloat(n[0].substr(2)) : parseFloat(n[0])) * (-1 === t.indexOf("rad") ? 1 : z) - (l ? 0 : e), n.length && (r && (r[i] = e + a), -1 !== t.indexOf("short") && (a %= s, a !== a % (s / 2) && (a = 0 > a ? a + s : a - s)), -1 !== t.indexOf("_cw") && 0 > a ? a = (a + 9999999999 * s) % s - (0 | a / s) * s : -1 !== t.indexOf("ccw") && a > 0 && (a = (a - 9999999999 * s) % s - (0 | a / s) * s)), o = e + a), h > o && o > -h && (o = 0), o
},
oe = {
aqua: [0, 255, 255],
lime: [0, 255, 0],
silver: [192, 192, 192],
black: [0, 0, 0],
maroon: [128, 0, 0],
teal: [0, 128, 128],
blue: [0, 0, 255],
navy: [0, 0, 128],
white: [255, 255, 255],
fuchsia: [255, 0, 255],
olive: [128, 128, 0],
yellow: [255, 255, 0],
orange: [255, 165, 0],
gray: [128, 128, 128],
purple: [128, 0, 128],
green: [0, 128, 0],
red: [255, 0, 0],
pink: [255, 192, 203],
cyan: [0, 255, 255],
transparent: [255, 255, 255, 0]
},
le = function(t, e, i) {
return t = 0 > t ? t + 1 : t > 1 ? t - 1 : t, 0 | 255 * (1 > 6 * t ? e + 6 * (i - e) * t : .5 > t ? i : 2 > 3 * t ? e + 6 * (i - e) * (2 / 3 - t) : e) + .5
},
he = a.parseColor = function(t) {
var e, i, r, s, n, a;
return t && "" !== t ? "number" == typeof t ? [t >> 16, 255 & t >> 8, 255 & t] : ("," === t.charAt(t.length - 1) && (t = t.substr(0, t.length - 1)), oe[t] ? oe[t] : "#" === t.charAt(0) ? (4 === t.length && (e = t.charAt(1), i = t.charAt(2), r = t.charAt(3), t = "#" + e + e + i + i + r + r), t = parseInt(t.substr(1), 16), [t >> 16, 255 & t >> 8, 255 & t]) : "hsl" === t.substr(0, 3) ? (t = t.match(m), s = Number(t[0]) % 360 / 360, n = Number(t[1]) / 100, a = Number(t[2]) / 100, i = .5 >= a ? a * (n + 1) : a + n - a * n, e = 2 * a - i, t.length > 3 && (t[3] = Number(t[3])), t[0] = le(s + 1 / 3, e, i), t[1] = le(s, e, i), t[2] = le(s - 1 / 3, e, i), t) : (t = t.match(m) || oe.transparent, t[0] = Number(t[0]), t[1] = Number(t[1]), t[2] = Number(t[2]), t.length > 3 && (t[3] = Number(t[3])), t)) : oe.black
},
ue = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#.+?\\b";
for (h in oe) ue += "|" + h + "\\b";
ue = RegExp(ue + ")", "gi");
var fe = function(t, e, i, r) {
if (null == t) return function(t) {
return t
};
var s, n = e ? (t.match(ue) || [""])[0] : "",
a = t.split(n).join("").match(v) || [],
o = t.substr(0, t.indexOf(a[0])),
l = ")" === t.charAt(t.length - 1) ? ")" : "",
h = -1 !== t.indexOf(" ") ? " " : ",",
u = a.length,
f = u > 0 ? a[0].replace(m, "") : "";
return u ? s = e ? function(t) {
var e, p, _, c;
if ("number" == typeof t) t += f;
else if (r && D.test(t)) {
for (c = t.replace(D, "|").split("|"), _ = 0; c.length > _; _++) c[_] = s(c[_]);
return c.join(",")
}
if (e = (t.match(ue) || [n])[0], p = t.split(e).join("").match(v) || [], _ = p.length, u > _--)
for (; u > ++_;) p[_] = i ? p[0 | (_ - 1) / 2] : a[_];
return o + p.join(h) + h + e + l + (-1 !== t.indexOf("inset") ? " inset" : "")
} : function(t) {
var e, n, p;
if ("number" == typeof t) t += f;
else if (r && D.test(t)) {
for (n = t.replace(D, "|").split("|"), p = 0; n.length > p; p++) n[p] = s(n[p]);
return n.join(",")
}
if (e = t.match(v) || [], p = e.length, u > p--)
for (; u > ++p;) e[p] = i ? e[0 | (p - 1) / 2] : a[p];
return o + e.join(h) + l
} : function(t) {
return t
}
},
pe = function(t) {
return t = t.split(","),
function(e, i, r, s, n, a, o) {
var l, h = (i + "").split(" ");
for (o = {}, l = 0; 4 > l; l++) o[t[l]] = h[l] = h[l] || h[(l - 1) / 2 >> 0];
return s.parse(e, o, n, a)
}
},
_e = (Y._setPluginRatio = function(t) {
this.plugin.setRatio(t);
for (var e, i, r, s, n = this.data, a = n.proxy, o = n.firstMPT, l = 1e-6; o;) e = a[o.v], o.r ? e = Math.round(e) : l > e && e > -l && (e = 0), o.t[o.p] = e, o = o._next;
if (n.autoRotate && (n.autoRotate.rotation = a.rotation), 1 === t)
for (o = n.firstMPT; o;) {
if (i = o.t, i.type) {
if (1 === i.type) {
for (s = i.xs0 + i.s + i.xs1, r = 1; i.l > r; r++) s += i["xn" + r] + i["xs" + (r + 1)];
i.e = s
}
} else i.e = i.s + i.xs0;
o = o._next
}
}, function(t, e, i, r, s) {
this.t = t, this.p = e, this.v = i, this.r = s, r && (r._prev = this, this._next = r)
}),
ce = (Y._parseToProxy = function(t, e, i, r, s, n) {
var a, o, l, h, u, f = r,
p = {},
_ = {},
c = i._transform,
d = F;
for (i._transform = null, F = e, r = u = i.parse(t, e, r, s), F = d, n && (i._transform = c, f && (f._prev = null, f._prev && (f._prev._next = null))); r && r !== f;) {
if (1 >= r.type && (o = r.p, _[o] = r.s + r.c, p[o] = r.s, n || (h = new _e(r, "s", o, h, r.r), r.c = 0), 1 === r.type))
for (a = r.l; --a > 0;) l = "xn" + a, o = r.p + "_" + l, _[o] = r.data[l], p[o] = r[l], n || (h = new _e(r, l, o, h, r.rxp[l]));
r = r._next
}
return {
proxy: p,
end: _,
firstMPT: h,
pt: u
}
}, Y.CSSPropTween = function(t, e, r, s, a, o, l, h, u, f, p) {
this.t = t, this.p = e, this.s = r, this.c = s, this.n = l || e, t instanceof ce || n.push(this.n), this.r = h, this.type = o || 0, u && (this.pr = u, i = !0), this.b = void 0 === f ? r : f, this.e = void 0 === p ? r + s : p, a && (this._next = a, a._prev = this)
}),
de = function(t, e, i, r, s, n) {
var a = new ce(t, e, i, r - i, s, -1, n);
return a.b = i, a.e = a.xs0 = r, a
},
me = a.parseComplex = function(t, e, i, r, s, n, a, o, l, h) {
i = i || n || "", a = new ce(t, e, 0, 0, a, h ? 2 : 1, null, !1, o, i, r), r += "";
var f, p, _, c, d, v, x, y, T, w, b, O, S = i.split(", ").join(",").split(" "),
k = r.split(", ").join(",").split(" "),
A = S.length,
C = u !== !1;
for ((-1 !== r.indexOf(",") || -1 !== i.indexOf(",")) && (S = S.join(" ").replace(D, ", ").split(" "), k = k.join(" ").replace(D, ", ").split(" "), A = S.length), A !== k.length && (S = (n || "").split(" "), A = S.length), a.plugin = l, a.setRatio = h, f = 0; A > f; f++)
if (c = S[f], d = k[f], y = parseFloat(c), y || 0 === y) a.appendXtra("", y, se(d, y), d.replace(g, ""), C && -1 !== d.indexOf("px"), !0);
else if (s && ("#" === c.charAt(0) || oe[c] || P.test(c))) O = "," === d.charAt(d.length - 1) ? ")," : ")", c = he(c), d = he(d), T = c.length + d.length > 6, T && !j && 0 === d[3] ? (a["xs" + a.l] += a.l ? " transparent" : "transparent", a.e = a.e.split(k[f]).join("transparent")) : (j || (T = !1), a.appendXtra(T ? "rgba(" : "rgb(", c[0], d[0] - c[0], ",", !0, !0).appendXtra("", c[1], d[1] - c[1], ",", !0).appendXtra("", c[2], d[2] - c[2], T ? "," : O, !0), T && (c = 4 > c.length ? 1 : c[3], a.appendXtra("", c, (4 > d.length ? 1 : d[3]) - c, O, !1)));
else if (v = c.match(m)) {
if (x = d.match(g), !x || x.length !== v.length) return a;
for (_ = 0, p = 0; v.length > p; p++) b = v[p], w = c.indexOf(b, _), a.appendXtra(c.substr(_, w - _), Number(b), se(x[p], b), "", C && "px" === c.substr(w + b.length, 2), 0 === p), _ = w + b.length;
a["xs" + a.l] += c.substr(_)
} else a["xs" + a.l] += a.l ? " " + c : c;
if (-1 !== r.indexOf("=") && a.data) {
for (O = a.xs0 + a.data.s, f = 1; a.l > f; f++) O += a["xs" + f] + a.data["xn" + f];
a.e = O + a["xs" + f]
}
return a.l || (a.type = -1, a.xs0 = a.e), a.xfirst || a
},
ge = 9;
for (h = ce.prototype, h.l = h.pr = 0; --ge > 0;) h["xn" + ge] = 0, h["xs" + ge] = "";
h.xs0 = "", h._next = h._prev = h.xfirst = h.data = h.plugin = h.setRatio = h.rxp = null, h.appendXtra = function(t, e, i, r, s, n) {
var a = this,
o = a.l;
return a["xs" + o] += n && o ? " " + t : t || "", i || 0 === o || a.plugin ? (a.l++, a.type = a.setRatio ? 2 : 1, a["xs" + a.l] = r || "", o > 0 ? (a.data["xn" + o] = e + i, a.rxp["xn" + o] = s, a["xn" + o] = e, a.plugin || (a.xfirst = new ce(a, "xn" + o, e, i, a.xfirst || a, 0, a.n, s, a.pr), a.xfirst.xs0 = 0), a) : (a.data = {
s: e + i
}, a.rxp = {}, a.s = e, a.c = i, a.r = s, a)) : (a["xs" + o] += e + (r || ""), a)
};
var ve = function(t, e) {
e = e || {}, this.p = e.prefix ? Z(t) || t : t, l[t] = l[this.p] = this, this.format = e.formatter || fe(e.defaultValue, e.color, e.collapsible, e.multi), e.parser && (this.parse = e.parser), this.clrs = e.color, this.multi = e.multi, this.keyword = e.keyword, this.dflt = e.defaultValue, this.pr = e.priority || 0
},
xe = Y._registerComplexSpecialProp = function(t, e, i) {
"object" != typeof e && (e = {
parser: i
});
var r, s, n = t.split(","),
a = e.defaultValue;
for (i = i || [a], r = 0; n.length > r; r++) e.prefix = 0 === r && e.prefix, e.defaultValue = i[r] || a, s = new ve(n[r], e)
},
ye = function(t) {
if (!l[t]) {
var e = t.charAt(0).toUpperCase() + t.substr(1) + "Plugin";
xe(t, {
parser: function(t, i, r, s, n, a, h) {
var u = o.com.greensock.plugins[e];
return u ? (u._cssRegister(), l[r].parse(t, i, r, s, n, a, h)) : (U("Error: " + e + " js file not loaded."), n)
}
})
}
};
h = ve.prototype, h.parseComplex = function(t, e, i, r, s, n) {
var a, o, l, h, u, f, p = this.keyword;
if (this.multi && (D.test(i) || D.test(e) ? (o = e.replace(D, "|").split("|"), l = i.replace(D, "|").split("|")) : p && (o = [e], l = [i])), l) {
for (h = l.length > o.length ? l.length : o.length, a = 0; h > a; a++) e = o[a] = o[a] || this.dflt, i = l[a] = l[a] || this.dflt, p && (u = e.indexOf(p), f = i.indexOf(p), u !== f && (-1 === f ? o[a] = o[a].split(p).join("") : -1 === u && (o[a] += " " + p)));
e = o.join(", "), i = l.join(", ")
}
return me(t, this.p, e, i, this.clrs, this.dflt, r, this.pr, s, n)
}, h.parse = function(t, e, i, r, n, a) {
return this.parseComplex(t.style, this.format(Q(t, this.p, s, !1, this.dflt)), this.format(e), n, a)
}, a.registerSpecialProp = function(t, e, i) {
xe(t, {
parser: function(t, r, s, n, a, o) {
var l = new ce(t, s, 0, 0, a, 2, s, !1, i);
return l.plugin = o, l.setRatio = e(t, r, n._tween, s), l
},
priority: i
})
}, a.useSVGTransformAttr = p || _;
var Te, we = "scaleX,scaleY,scaleZ,x,y,z,skewX,skewY,rotation,rotationX,rotationY,perspective,xPercent,yPercent".split(","),
be = Z("transform"),
Pe = q + "transform",
Oe = Z("transformOrigin"),
Se = null !== Z("perspective"),
ke = Y.Transform = function() {
this.perspective = parseFloat(a.defaultTransformPerspective) || 0, this.force3D = a.defaultForce3D !== !1 && Se ? a.defaultForce3D || "auto" : !1
},
Ae = window.SVGElement,
Ce = function(t, e, i) {
var r, s = I.createElementNS("http://www.w3.org/2000/svg", t),
n = /([a-z])([A-Z])/g;
for (r in i) s.setAttributeNS(null, r.replace(n, "$1-$2").toLowerCase(), i[r]);
return e.appendChild(s), s
},
Re = I.documentElement,
Me = function() {
var t, e, i, r = d || /Android/i.test(B) && !window.chrome;
return I.createElementNS && !r && (t = Ce("svg", Re), e = Ce("rect", t, {
width: 100,
height: 50,
x: 100
}), i = e.getBoundingClientRect().width, e.style[Oe] = "50% 50%", e.style[be] = "scaleX(0.5)", r = i === e.getBoundingClientRect().width && !(_ && Se), Re.removeChild(t)), r
}(),
De = function(t, e, i, r, s) {
var n, o, l, h, u, f, p, _, c, d, m, g, v, x, y = t._gsTransform,
T = Fe(t, !0);
y && (v = y.xOrigin, x = y.yOrigin), (!r || 2 > (n = r.split(" ")).length) && (p = t.getBBox(), e = re(e).split(" "), n = [(-1 !== e[0].indexOf("%") ? parseFloat(e[0]) / 100 * p.width : parseFloat(e[0])) + p.x, (-1 !== e[1].indexOf("%") ? parseFloat(e[1]) / 100 * p.height : parseFloat(e[1])) + p.y]), i.xOrigin = h = parseFloat(n[0]), i.yOrigin = u = parseFloat(n[1]), r && T !== ze && (f = T[0], p = T[1], _ = T[2], c = T[3], d = T[4], m = T[5], g = f * c - p * _, o = h * (c / g) + u * (-_ / g) + (_ * m - c * d) / g, l = h * (-p / g) + u * (f / g) - (f * m - p * d) / g, h = i.xOrigin = n[0] = o, u = i.yOrigin = n[1] = l), y && (s || s !== !1 && a.defaultSmoothOrigin !== !1 ? (o = h - v, l = u - x, y.xOffset += o * T[0] + l * T[2] - o, y.yOffset += o * T[1] + l * T[3] - l) : y.xOffset = y.yOffset = 0), t.setAttribute("data-svg-origin", n.join(" "))
},
Xe = function(t) {
return !!(Ae && "function" == typeof t.getBBox && t.getCTM && (!t.parentNode || t.parentNode.getBBox && t.parentNode.getCTM))
},
ze = [1, 0, 0, 1, 0, 0],
Fe = function(t, e) {
var i, r, s, n, a, o = t._gsTransform || new ke,
l = 1e5;
if (be ? r = Q(t, Pe, null, !0) : t.currentStyle && (r = t.currentStyle.filter.match(R), r = r && 4 === r.length ? [r[0].substr(4), Number(r[2].substr(4)), Number(r[1].substr(4)), r[3].substr(4), o.x || 0, o.y || 0].join(",") : ""), i = !r || "none" === r || "matrix(1, 0, 0, 1, 0, 0)" === r, (o.svg || t.getBBox && Xe(t)) && (i && -1 !== (t.style[be] + "").indexOf("matrix") && (r = t.style[be], i = 0), s = t.getAttribute("transform"), i && s && (-1 !== s.indexOf("matrix") ? (r = s, i = 0) : -1 !== s.indexOf("translate") && (r = "matrix(1,0,0,1," + s.match(/(?:\-|\b)[\d\-\.e]+\b/gi).join(",") + ")", i = 0))), i) return ze;
for (s = (r || "").match(/(?:\-|\b)[\d\-\.e]+\b/gi) || [], ge = s.length; --ge > -1;) n = Number(s[ge]), s[ge] = (a = n - (n |= 0)) ? (0 | a * l + (0 > a ? -.5 : .5)) / l + n : n;
return e && s.length > 6 ? [s[0], s[1], s[4], s[5], s[12], s[13]] : s
},
Ie = Y.getTransform = function(t, i, r, n) {
if (t._gsTransform && r && !n) return t._gsTransform;
var o, l, h, u, f, p, _ = r ? t._gsTransform || new ke : new ke,
c = 0 > _.scaleX,
d = 2e-5,
m = 1e5,
g = Se ? parseFloat(Q(t, Oe, i, !1, "0 0 0").split(" ")[2]) || _.zOrigin || 0 : 0,
v = parseFloat(a.defaultTransformPerspective) || 0;
if (_.svg = !(!t.getBBox || !Xe(t)), _.svg && (De(t, Q(t, Oe, s, !1, "50% 50%") + "", _, t.getAttribute("data-svg-origin")), Te = a.useSVGTransformAttr || Me), o = Fe(t), o !== ze) {
if (16 === o.length) {
var x, y, T, w, b, P = o[0],
O = o[1],
S = o[2],
k = o[3],
A = o[4],
C = o[5],
R = o[6],
M = o[7],
D = o[8],
X = o[9],
F = o[10],
I = o[12],
N = o[13],
E = o[14],
L = o[11],
Y = Math.atan2(R, F);
_.zOrigin && (E = -_.zOrigin, I = D * E - o[12], N = X * E - o[13], E = F * E + _.zOrigin - o[14]), _.rotationX = Y * z, Y && (w = Math.cos(-Y), b = Math.sin(-Y), x = A * w + D * b, y = C * w + X * b, T = R * w + F * b, D = A * -b + D * w, X = C * -b + X * w, F = R * -b + F * w, L = M * -b + L * w, A = x, C = y, R = T), Y = Math.atan2(D, F), _.rotationY = Y * z, Y && (w = Math.cos(-Y), b = Math.sin(-Y), x = P * w - D * b, y = O * w - X * b, T = S * w - F * b, X = O * b + X * w, F = S * b + F * w, L = k * b + L * w, P = x, O = y, S = T), Y = Math.atan2(O, P), _.rotation = Y * z, Y && (w = Math.cos(-Y), b = Math.sin(-Y), P = P * w + A * b, y = O * w + C * b, C = O * -b + C * w, R = S * -b + R * w, O = y), _.rotationX && Math.abs(_.rotationX) + Math.abs(_.rotation) > 359.9 && (_.rotationX = _.rotation = 0, _.rotationY += 180), _.scaleX = (0 | Math.sqrt(P * P + O * O) * m + .5) / m, _.scaleY = (0 | Math.sqrt(C * C + X * X) * m + .5) / m, _.scaleZ = (0 | Math.sqrt(R * R + F * F) * m + .5) / m, _.skewX = 0, _.perspective = L ? 1 / (0 > L ? -L : L) : 0, _.x = I, _.y = N, _.z = E, _.svg && (_.x -= _.xOrigin - (_.xOrigin * P - _.yOrigin * A), _.y -= _.yOrigin - (_.yOrigin * O - _.xOrigin * C))
} else if (!(Se && !n && o.length && _.x === o[4] && _.y === o[5] && (_.rotationX || _.rotationY) || void 0 !== _.x && "none" === Q(t, "display", i))) {
var B = o.length >= 6,
j = B ? o[0] : 1,
V = o[1] || 0,
U = o[2] || 0,
q = B ? o[3] : 1;
_.x = o[4] || 0, _.y = o[5] || 0, h = Math.sqrt(j * j + V * V), u = Math.sqrt(q * q + U * U), f = j || V ? Math.atan2(V, j) * z : _.rotation || 0, p = U || q ? Math.atan2(U, q) * z + f : _.skewX || 0, Math.abs(p) > 90 && 270 > Math.abs(p) && (c ? (h *= -1, p += 0 >= f ? 180 : -180, f += 0 >= f ? 180 : -180) : (u *= -1, p += 0 >= p ? 180 : -180)), _.scaleX = h, _.scaleY = u, _.rotation = f, _.skewX = p, Se && (_.rotationX = _.rotationY = _.z = 0, _.perspective = v, _.scaleZ = 1), _.svg && (_.x -= _.xOrigin - (_.xOrigin * j + _.yOrigin * U), _.y -= _.yOrigin - (_.xOrigin * V + _.yOrigin * q))
}
_.zOrigin = g;
for (l in _) d > _[l] && _[l] > -d && (_[l] = 0)
}
return r && (t._gsTransform = _, _.svg && (Te && t.style[be] ? e.delayedCall(.001, function() {
Ye(t.style, be)
}) : !Te && t.getAttribute("transform") && e.delayedCall(.001, function() {
t.removeAttribute("transform")
}))), _
},
Ne = function(t) {
var e, i, r = this.data,
s = -r.rotation * X,
n = s + r.skewX * X,
a = 1e5,
o = (0 | Math.cos(s) * r.scaleX * a) / a,
l = (0 | Math.sin(s) * r.scaleX * a) / a,
h = (0 | Math.sin(n) * -r.scaleY * a) / a,
u = (0 | Math.cos(n) * r.scaleY * a) / a,
f = this.t.style,
p = this.t.currentStyle;
if (p) {
i = l, l = -h, h = -i, e = p.filter, f.filter = "";
var _, c, m = this.t.offsetWidth,
g = this.t.offsetHeight,
v = "absolute" !== p.position,
x = "progid:DXImageTransform.Microsoft.Matrix(M11=" + o + ", M12=" + l + ", M21=" + h + ", M22=" + u,
w = r.x + m * r.xPercent / 100,
b = r.y + g * r.yPercent / 100;
if (null != r.ox && (_ = (r.oxp ? .01 * m * r.ox : r.ox) - m / 2, c = (r.oyp ? .01 * g * r.oy : r.oy) - g / 2, w += _ - (_ * o + c * l), b += c - (_ * h + c * u)), v ? (_ = m / 2, c = g / 2, x += ", Dx=" + (_ - (_ * o + c * l) + w) + ", Dy=" + (c - (_ * h + c * u) + b) + ")") : x += ", sizingMethod='auto expand')", f.filter = -1 !== e.indexOf("DXImageTransform.Microsoft.Matrix(") ? e.replace(M, x) : x + " " + e, (0 === t || 1 === t) && 1 === o && 0 === l && 0 === h && 1 === u && (v && -1 === x.indexOf("Dx=0, Dy=0") || T.test(e) && 100 !== parseFloat(RegExp.$1) || -1 === e.indexOf("gradient(" && e.indexOf("Alpha")) && f.removeAttribute("filter")), !v) {
var P, O, S, k = 8 > d ? 1 : -1;
for (_ = r.ieOffsetX || 0, c = r.ieOffsetY || 0, r.ieOffsetX = Math.round((m - ((0 > o ? -o : o) * m + (0 > l ? -l : l) * g)) / 2 + w), r.ieOffsetY = Math.round((g - ((0 > u ? -u : u) * g + (0 > h ? -h : h) * m)) / 2 + b), ge = 0; 4 > ge; ge++) O = ee[ge], P = p[O], i = -1 !== P.indexOf("px") ? parseFloat(P) : $(this.t, O, parseFloat(P), P.replace(y, "")) || 0, S = i !== r[O] ? 2 > ge ? -r.ieOffsetX : -r.ieOffsetY : 2 > ge ? _ - r.ieOffsetX : c - r.ieOffsetY, f[O] = (r[O] = Math.round(i - S * (0 === ge || 2 === ge ? 1 : k))) + "px"
}
}
},
Ee = Y.set3DTransformRatio = Y.setTransformRatio = function(t) {
var e, i, r, s, n, a, o, l, h, u, f, p, c, d, m, g, v, x, y, T, w, b, P, O = this.data,
S = this.t.style,
k = O.rotation,
A = O.rotationX,
C = O.rotationY,
R = O.scaleX,
M = O.scaleY,
D = O.scaleZ,
z = O.x,
F = O.y,
I = O.z,
N = O.svg,
E = O.perspective,
L = O.force3D;
if (!((1 !== t && 0 !== t || "auto" !== L || this.tween._totalTime !== this.tween._totalDuration && this.tween._totalTime) && L || I || E || C || A) || Te && N || !Se) return void(k || O.skewX || N ? (k *= X, b = O.skewX * X, P = 1e5, e = Math.cos(k) * R, s = Math.sin(k) * R, i = Math.sin(k - b) * -M, n = Math.cos(k - b) * M, b && "simple" === O.skewType && (v = Math.tan(b), v = Math.sqrt(1 + v * v), i *= v, n *= v, O.skewY && (e *= v, s *= v)), N && (z += O.xOrigin - (O.xOrigin * e + O.yOrigin * i) + O.xOffset, F += O.yOrigin - (O.xOrigin * s + O.yOrigin * n) + O.yOffset, Te && (O.xPercent || O.yPercent) && (d = this.t.getBBox(), z += .01 * O.xPercent * d.width, F += .01 * O.yPercent * d.height), d = 1e-6, d > z && z > -d && (z = 0), d > F && F > -d && (F = 0)), y = (0 | e * P) / P + "," + (0 | s * P) / P + "," + (0 | i * P) / P + "," + (0 | n * P) / P + "," + z + "," + F + ")", N && Te ? this.t.setAttribute("transform", "matrix(" + y) : S[be] = (O.xPercent || O.yPercent ? "translate(" + O.xPercent + "%," + O.yPercent + "%) matrix(" : "matrix(") + y) : S[be] = (O.xPercent || O.yPercent ? "translate(" + O.xPercent + "%," + O.yPercent + "%) matrix(" : "matrix(") + R + ",0,0," + M + "," + z + "," + F + ")");
if (_ && (d = 1e-4, d > R && R > -d && (R = D = 2e-5), d > M && M > -d && (M = D = 2e-5), !E || O.z || O.rotationX || O.rotationY || (E = 0)), k || O.skewX) k *= X, m = e = Math.cos(k), g = s = Math.sin(k), O.skewX && (k -= O.skewX * X, m = Math.cos(k), g = Math.sin(k), "simple" === O.skewType && (v = Math.tan(O.skewX * X), v = Math.sqrt(1 + v * v), m *= v, g *= v, O.skewY && (e *= v, s *= v))), i = -g, n = m;
else {
if (!(C || A || 1 !== D || E || N)) return void(S[be] = (O.xPercent || O.yPercent ? "translate(" + O.xPercent + "%," + O.yPercent + "%) translate3d(" : "translate3d(") + z + "px," + F + "px," + I + "px)" + (1 !== R || 1 !== M ? " scale(" + R + "," + M + ")" : ""));
e = n = 1, i = s = 0
}
h = 1, r = a = o = l = u = f = 0, p = E ? -1 / E : 0, c = O.zOrigin, d = 1e-6, T = ",", w = "0", k = C * X, k && (m = Math.cos(k), g = Math.sin(k), o = -g, u = p * -g, r = e * g, a = s * g, h = m, p *= m, e *= m, s *= m), k = A * X, k && (m = Math.cos(k), g = Math.sin(k), v = i * m + r * g, x = n * m + a * g, l = h * g, f = p * g, r = i * -g + r * m, a = n * -g + a * m, h *= m, p *= m, i = v, n = x), 1 !== D && (r *= D, a *= D, h *= D, p *= D), 1 !== M && (i *= M, n *= M, l *= M, f *= M), 1 !== R && (e *= R, s *= R, o *= R, u *= R), (c || N) && (c && (z += r * -c, F += a * -c, I += h * -c + c), N && (z += O.xOrigin - (O.xOrigin * e + O.yOrigin * i) + O.xOffset, F += O.yOrigin - (O.xOrigin * s + O.yOrigin * n) + O.yOffset), d > z && z > -d && (z = w), d > F && F > -d && (F = w), d > I && I > -d && (I = 0)), y = O.xPercent || O.yPercent ? "translate(" + O.xPercent + "%," + O.yPercent + "%) matrix3d(" : "matrix3d(", y += (d > e && e > -d ? w : e) + T + (d > s && s > -d ? w : s) + T + (d > o && o > -d ? w : o), y += T + (d > u && u > -d ? w : u) + T + (d > i && i > -d ? w : i) + T + (d > n && n > -d ? w : n), A || C ? (y += T + (d > l && l > -d ? w : l) + T + (d > f && f > -d ? w : f) + T + (d > r && r > -d ? w : r), y += T + (d > a && a > -d ? w : a) + T + (d > h && h > -d ? w : h) + T + (d > p && p > -d ? w : p) + T) : y += ",0,0,0,0,1,0,", y += z + T + F + T + I + T + (E ? 1 + -I / E : 1) + ")", S[be] = y
};
h = ke.prototype, h.x = h.y = h.z = h.skewX = h.skewY = h.rotation = h.rotationX = h.rotationY = h.zOrigin = h.xPercent = h.yPercent = h.xOffset = h.yOffset = 0, h.scaleX = h.scaleY = h.scaleZ = 1, xe("transform,scale,scaleX,scaleY,scaleZ,x,y,z,rotation,rotationX,rotationY,rotationZ,skewX,skewY,shortRotation,shortRotationX,shortRotationY,shortRotationZ,transformOrigin,svgOrigin,transformPerspective,directionalRotation,parseTransform,force3D,skewType,xPercent,yPercent,smoothOrigin", {
parser: function(t, e, i, r, n, o, l) {
if (r._lastParsedTransform === l) return n;
r._lastParsedTransform = l;
var h, u, f, p, _, c, d, m, g, v = t._gsTransform,
x = r._transform = Ie(t, s, !0, l.parseTransform),
y = t.style,
T = 1e-6,
w = we.length,
b = l,
P = {},
O = "transformOrigin";
if ("string" == typeof b.transform && be) f = E.style, f[be] = b.transform, f.display = "block", f.position = "absolute", I.body.appendChild(E), h = Ie(E, null, !1), I.body.removeChild(E), null != b.xPercent && (h.xPercent = ne(b.xPercent, x.xPercent)), null != b.yPercent && (h.yPercent = ne(b.yPercent, x.yPercent));
else if ("object" == typeof b) {
if (h = {
scaleX: ne(null != b.scaleX ? b.scaleX : b.scale, x.scaleX),
scaleY: ne(null != b.scaleY ? b.scaleY : b.scale, x.scaleY),
scaleZ: ne(b.scaleZ, x.scaleZ),
x: ne(b.x, x.x),
y: ne(b.y, x.y),
z: ne(b.z, x.z),
xPercent: ne(b.xPercent, x.xPercent),
yPercent: ne(b.yPercent, x.yPercent),
perspective: ne(b.transformPerspective, x.perspective)
}, d = b.directionalRotation, null != d)
if ("object" == typeof d)
for (f in d) b[f] = d[f];
else b.rotation = d;
"string" == typeof b.x && -1 !== b.x.indexOf("%") && (h.x = 0, h.xPercent = ne(b.x, x.xPercent)), "string" == typeof b.y && -1 !== b.y.indexOf("%") && (h.y = 0, h.yPercent = ne(b.y, x.yPercent)), h.rotation = ae("rotation" in b ? b.rotation : "shortRotation" in b ? b.shortRotation + "_short" : "rotationZ" in b ? b.rotationZ : x.rotation, x.rotation, "rotation", P), Se && (h.rotationX = ae("rotationX" in b ? b.rotationX : "shortRotationX" in b ? b.shortRotationX + "_short" : x.rotationX || 0, x.rotationX, "rotationX", P), h.rotationY = ae("rotationY" in b ? b.rotationY : "shortRotationY" in b ? b.shortRotationY + "_short" : x.rotationY || 0, x.rotationY, "rotationY", P)), h.skewX = null == b.skewX ? x.skewX : ae(b.skewX, x.skewX), h.skewY = null == b.skewY ? x.skewY : ae(b.skewY, x.skewY), (u = h.skewY - x.skewY) && (h.skewX += u, h.rotation += u)
}
for (Se && null != b.force3D && (x.force3D = b.force3D, c = !0), x.skewType = b.skewType || x.skewType || a.defaultSkewType, _ = x.force3D || x.z || x.rotationX || x.rotationY || h.z || h.rotationX || h.rotationY || h.perspective, _ || null == b.scale || (h.scaleZ = 1); --w > -1;) i = we[w], p = h[i] - x[i], (p > T || -T > p || null != b[i] || null != F[i]) && (c = !0, n = new ce(x, i, x[i], p, n), i in P && (n.e = P[i]), n.xs0 = 0, n.plugin = o, r._overwriteProps.push(n.n));
return p = b.transformOrigin, x.svg && (p || b.svgOrigin) && (m = x.xOffset, g = x.yOffset, De(t, re(p), h, b.svgOrigin, b.smoothOrigin), n = de(x, "xOrigin", (v ? x : h).xOrigin, h.xOrigin, n, O), n = de(x, "yOrigin", (v ? x : h).yOrigin, h.yOrigin, n, O), (m !== x.xOffset || g !== x.yOffset) && (n = de(x, "xOffset", v ? m : x.xOffset, x.xOffset, n, O), n = de(x, "yOffset", v ? g : x.yOffset, x.yOffset, n, O)), p = Te ? null : "0px 0px"), (p || Se && _ && x.zOrigin) && (be ? (c = !0, i = Oe, p = (p || Q(t, i, s, !1, "50% 50%")) + "", n = new ce(y, i, 0, 0, n, -1, O), n.b = y[i], n.plugin = o, Se ? (f = x.zOrigin, p = p.split(" "), x.zOrigin = (p.length > 2 && (0 === f || "0px" !== p[2]) ? parseFloat(p[2]) : f) || 0, n.xs0 = n.e = p[0] + " " + (p[1] || "50%") + " 0px", n = new ce(x, "zOrigin", 0, 0, n, -1, n.n), n.b = f, n.xs0 = n.e = x.zOrigin) : n.xs0 = n.e = p) : re(p + "", x)), c && (r._transformType = x.svg && Te || !_ && 3 !== this._transformType ? 2 : 3), n
},
prefix: !0
}), xe("boxShadow", {
defaultValue: "0px 0px 0px 0px #999",
prefix: !0,
color: !0,
multi: !0,
keyword: "inset"
}), xe("borderRadius", {
defaultValue: "0px",
parser: function(t, e, i, n, a) {
e = this.format(e);
var o, l, h, u, f, p, _, c, d, m, g, v, x, y, T, w, b = ["borderTopLeftRadius", "borderTopRightRadius", "borderBottomRightRadius", "borderBottomLeftRadius"],
P = t.style;
for (d = parseFloat(t.offsetWidth), m = parseFloat(t.offsetHeight), o = e.split(" "), l = 0; b.length > l; l++) this.p.indexOf("border") && (b[l] = Z(b[l])), f = u = Q(t, b[l], s, !1, "0px"), -1 !== f.indexOf(" ") && (u = f.split(" "), f = u[0], u = u[1]), p = h = o[l], _ = parseFloat(f), v = f.substr((_ + "").length), x = "=" === p.charAt(1), x ? (c = parseInt(p.charAt(0) + "1", 10), p = p.substr(2), c *= parseFloat(p), g = p.substr((c + "").length - (0 > c ? 1 : 0)) || "") : (c = parseFloat(p), g = p.substr((c + "").length)), "" === g && (g = r[i] || v), g !== v && (y = $(t, "borderLeft", _, v), T = $(t, "borderTop", _, v), "%" === g ? (f = 100 * (y / d) + "%", u = 100 * (T / m) + "%") : "em" === g ? (w = $(t, "borderLeft", 1, "em"), f = y / w + "em", u = T / w + "em") : (f = y + "px", u = T + "px"), x && (p = parseFloat(f) + c + g, h = parseFloat(u) + c + g)), a = me(P, b[l], f + " " + u, p + " " + h, !1, "0px", a);
return a
},
prefix: !0,
formatter: fe("0px 0px 0px 0px", !1, !0)
}), xe("backgroundPosition", {
defaultValue: "0 0",
parser: function(t, e, i, r, n, a) {
var o, l, h, u, f, p, _ = "background-position",
c = s || G(t, null),
m = this.format((c ? d ? c.getPropertyValue(_ + "-x") + " " + c.getPropertyValue(_ + "-y") : c.getPropertyValue(_) : t.currentStyle.backgroundPositionX + " " + t.currentStyle.backgroundPositionY) || "0 0"),
g = this.format(e);
if (-1 !== m.indexOf("%") != (-1 !== g.indexOf("%")) && (p = Q(t, "backgroundImage").replace(k, ""), p && "none" !== p)) {
for (o = m.split(" "), l = g.split(" "), L.setAttribute("src", p), h = 2; --h > -1;) m = o[h], u = -1 !== m.indexOf("%"), u !== (-1 !== l[h].indexOf("%")) && (f = 0 === h ? t.offsetWidth - L.width : t.offsetHeight - L.height, o[h] = u ? parseFloat(m) / 100 * f + "px" : 100 * (parseFloat(m) / f) + "%");
m = o.join(" ")
}
return this.parseComplex(t.style, m, g, n, a)
},
formatter: re
}), xe("backgroundSize", {
defaultValue: "0 0",
formatter: re
}), xe("perspective", {
defaultValue: "0px",
prefix: !0
}), xe("perspectiveOrigin", {
defaultValue: "50% 50%",
prefix: !0
}), xe("transformStyle", {
prefix: !0
}), xe("backfaceVisibility", {
prefix: !0
}), xe("userSelect", {
prefix: !0
}), xe("margin", {
parser: pe("marginTop,marginRight,marginBottom,marginLeft")
}), xe("padding", {
parser: pe("paddingTop,paddingRight,paddingBottom,paddingLeft")
}), xe("clip", {
defaultValue: "rect(0px,0px,0px,0px)",
parser: function(t, e, i, r, n, a) {
var o, l, h;
return 9 > d ? (l = t.currentStyle, h = 8 > d ? " " : ",", o = "rect(" + l.clipTop + h + l.clipRight + h + l.clipBottom + h + l.clipLeft + ")", e = this.format(e).split(",").join(h)) : (o = this.format(Q(t, this.p, s, !1, this.dflt)), e = this.format(e)), this.parseComplex(t.style, o, e, n, a)
}
}), xe("textShadow", {
defaultValue: "0px 0px 0px #999",
color: !0,
multi: !0
}), xe("autoRound,strictUnits", {
parser: function(t, e, i, r, s) {
return s
}
}), xe("border", {
defaultValue: "0px solid #000",
parser: function(t, e, i, r, n, a) {
return this.parseComplex(t.style, this.format(Q(t, "borderTopWidth", s, !1, "0px") + " " + Q(t, "borderTopStyle", s, !1, "solid") + " " + Q(t, "borderTopColor", s, !1, "#000")), this.format(e), n, a)
},
color: !0,
formatter: function(t) {
var e = t.split(" ");
return e[0] + " " + (e[1] || "solid") + " " + (t.match(ue) || ["#000"])[0]
}
}), xe("borderWidth", {
parser: pe("borderTopWidth,borderRightWidth,borderBottomWidth,borderLeftWidth")
}), xe("float,cssFloat,styleFloat", {
parser: function(t, e, i, r, s) {
var n = t.style,
a = "cssFloat" in n ? "cssFloat" : "styleFloat";
return new ce(n, a, 0, 0, s, -1, i, !1, 0, n[a], e)
}
});
var Le = function(t) {
var e, i = this.t,
r = i.filter || Q(this.data, "filter") || "",
s = 0 | this.s + this.c * t;
100 === s && (-1 === r.indexOf("atrix(") && -1 === r.indexOf("radient(") && -1 === r.indexOf("oader(") ? (i.removeAttribute("filter"), e = !Q(this.data, "filter")) : (i.filter = r.replace(b, ""), e = !0)), e || (this.xn1 && (i.filter = r = r || "alpha(opacity=" + s + ")"), -1 === r.indexOf("pacity") ? 0 === s && this.xn1 || (i.filter = r + " alpha(opacity=" + s + ")") : i.filter = r.replace(T, "opacity=" + s))
};
xe("opacity,alpha,autoAlpha", {
defaultValue: "1",
parser: function(t, e, i, r, n, a) {
var o = parseFloat(Q(t, "opacity", s, !1, "1")),
l = t.style,
h = "autoAlpha" === i;
return "string" == typeof e && "=" === e.charAt(1) && (e = ("-" === e.charAt(0) ? -1 : 1) * parseFloat(e.substr(2)) + o), h && 1 === o && "hidden" === Q(t, "visibility", s) && 0 !== e && (o = 0), j ? n = new ce(l, "opacity", o, e - o, n) : (n = new ce(l, "opacity", 100 * o, 100 * (e - o), n), n.xn1 = h ? 1 : 0, l.zoom = 1, n.type = 2, n.b = "alpha(opacity=" + n.s + ")", n.e = "alpha(opacity=" + (n.s + n.c) + ")", n.data = t, n.plugin = a, n.setRatio = Le), h && (n = new ce(l, "visibility", 0, 0, n, -1, null, !1, 0, 0 !== o ? "inherit" : "hidden", 0 === e ? "hidden" : "inherit"), n.xs0 = "inherit", r._overwriteProps.push(n.n), r._overwriteProps.push(i)), n
}
});
var Ye = function(t, e) {
e && (t.removeProperty ? (("ms" === e.substr(0, 2) || "webkit" === e.substr(0, 6)) && (e = "-" + e), t.removeProperty(e.replace(O, "-$1").toLowerCase())) : t.removeAttribute(e))
},
Be = function(t) {
if (this.t._gsClassPT = this, 1 === t || 0 === t) {
this.t.setAttribute("class", 0 === t ? this.b : this.e);
for (var e = this.data, i = this.t.style; e;) e.v ? i[e.p] = e.v : Ye(i, e.p), e = e._next;
1 === t && this.t._gsClassPT === this && (this.t._gsClassPT = null)
} else this.t.getAttribute("class") !== this.e && this.t.setAttribute("class", this.e)
};
xe("className", {
parser: function(t, e, r, n, a, o, l) {
var h, u, f, p, _, c = t.getAttribute("class") || "",
d = t.style.cssText;
if (a = n._classNamePT = new ce(t, r, 0, 0, a, 2), a.setRatio = Be, a.pr = -11, i = !0, a.b = c, u = K(t, s), f = t._gsClassPT) {
for (p = {}, _ = f.data; _;) p[_.p] = 1, _ = _._next;
f.setRatio(1)
}
return t._gsClassPT = a, a.e = "=" !== e.charAt(1) ? e : c.replace(RegExp("\\s*\\b" + e.substr(2) + "\\b"), "") + ("+" === e.charAt(0) ? " " + e.substr(2) : ""), t.setAttribute("class", a.e), h = J(t, u, K(t), l, p), t.setAttribute("class", c), a.data = h.firstMPT, t.style.cssText = d, a = a.xfirst = n.parse(t, h.difs, a, o)
}
});
var je = function(t) {
if ((1 === t || 0 === t) && this.data._totalTime === this.data._totalDuration && "isFromStart" !== this.data.data) {
var e, i, r, s, n, a = this.t.style,
o = l.transform.parse;
if ("all" === this.e) a.cssText = "", s = !0;
else
for (e = this.e.split(" ").join("").split(","), r = e.length; --r > -1;) i = e[r], l[i] && (l[i].parse === o ? s = !0 : i = "transformOrigin" === i ? Oe : l[i].p), Ye(a, i);
s && (Ye(a, be), n = this.t._gsTransform, n && (n.svg && this.t.removeAttribute("data-svg-origin"), delete this.t._gsTransform))
}
};
for (xe("clearProps", {
parser: function(t, e, r, s, n) {
return n = new ce(t, r, 0, 0, n, 2), n.setRatio = je, n.e = e, n.pr = -10, n.data = s._tween, i = !0, n
}
}), h = "bezier,throwProps,physicsProps,physics2D".split(","), ge = h.length; ge--;) ye(h[ge]);
h = a.prototype, h._firstPT = h._lastParsedTransform = h._transform = null, h._onInitTween = function(t, e, o) {
if (!t.nodeType) return !1;
this._target = t, this._tween = o, this._vars = e, u = e.autoRound, i = !1, r = e.suffixMap || a.suffixMap, s = G(t, ""), n = this._overwriteProps;
var h, _, d, m, g, v, x, y, T, b = t.style;
if (f && "" === b.zIndex && (h = Q(t, "zIndex", s), ("auto" === h || "" === h) && this._addLazySet(b, "zIndex", 0)), "string" == typeof e && (m = b.cssText, h = K(t, s), b.cssText = m + ";" + e, h = J(t, h, K(t)).difs, !j && w.test(e) && (h.opacity = parseFloat(RegExp.$1)), e = h, b.cssText = m), this._firstPT = _ = e.className ? l.className.parse(t, e.className, "className", this, null, null, e) : this.parse(t, e, null), this._transformType) {
for (T = 3 === this._transformType, be ? p && (f = !0, "" === b.zIndex && (x = Q(t, "zIndex", s), ("auto" === x || "" === x) && this._addLazySet(b, "zIndex", 0)), c && this._addLazySet(b, "WebkitBackfaceVisibility", this._vars.WebkitBackfaceVisibility || (T ? "visible" : "hidden"))) : b.zoom = 1, d = _; d && d._next;) d = d._next;
y = new ce(t, "transform", 0, 0, null, 2), this._linkCSSP(y, null, d), y.setRatio = be ? Ee : Ne, y.data = this._transform || Ie(t, s, !0), y.tween = o, y.pr = -1, n.pop()
}
if (i) {
for (; _;) {
for (v = _._next, d = m; d && d.pr > _.pr;) d = d._next;
(_._prev = d ? d._prev : g) ? _._prev._next = _: m = _, (_._next = d) ? d._prev = _ : g = _, _ = v
}
this._firstPT = m
}
return !0
}, h.parse = function(t, e, i, n) {
var a, o, h, f, p, _, c, d, m, g, v = t.style;
for (a in e) _ = e[a], o = l[a], o ? i = o.parse(t, _, a, this, i, n, e) : (p = Q(t, a, s) + "", m = "string" == typeof _, "color" === a || "fill" === a || "stroke" === a || -1 !== a.indexOf("Color") || m && P.test(_) ? (m || (_ = he(_), _ = (_.length > 3 ? "rgba(" : "rgb(") + _.join(",") + ")"), i = me(v, a, p, _, !0, "transparent", i, 0, n)) : !m || -1 === _.indexOf(" ") && -1 === _.indexOf(",") ? (h = parseFloat(p), c = h || 0 === h ? p.substr((h + "").length) : "", ("" === p || "auto" === p) && ("width" === a || "height" === a ? (h = ie(t, a, s), c = "px") : "left" === a || "top" === a ? (h = H(t, a, s), c = "px") : (h = "opacity" !== a ? 0 : 1, c = "")), g = m && "=" === _.charAt(1), g ? (f = parseInt(_.charAt(0) + "1", 10), _ = _.substr(2), f *= parseFloat(_), d = _.replace(y, "")) : (f = parseFloat(_), d = m ? _.replace(y, "") : ""), "" === d && (d = a in r ? r[a] : c), _ = f || 0 === f ? (g ? f + h : f) + d : e[a], c !== d && "" !== d && (f || 0 === f) && h && (h = $(t, a, h, c), "%" === d ? (h /= $(t, a, 100, "%") / 100, e.strictUnits !== !0 && (p = h + "%")) : "em" === d ? h /= $(t, a, 1, "em") : "px" !== d && (f = $(t, a, f, d), d = "px"), g && (f || 0 === f) && (_ = f + h + d)), g && (f += h), !h && 0 !== h || !f && 0 !== f ? void 0 !== v[a] && (_ || "NaN" != _ + "" && null != _) ? (i = new ce(v, a, f || h || 0, 0, i, -1, a, !1, 0, p, _), i.xs0 = "none" !== _ || "display" !== a && -1 === a.indexOf("Style") ? _ : p) : U("invalid " + a + " tween value: " + e[a]) : (i = new ce(v, a, h, f - h, i, 0, a, u !== !1 && ("px" === d || "zIndex" === a), 0, p, _), i.xs0 = d)) : i = me(v, a, p, _, !0, null, i, 0, n)), n && i && !i.plugin && (i.plugin = n);
return i
}, h.setRatio = function(t) {
var e, i, r, s = this._firstPT,
n = 1e-6;
if (1 !== t || this._tween._time !== this._tween._duration && 0 !== this._tween._time)
if (t || this._tween._time !== this._tween._duration && 0 !== this._tween._time || this._tween._rawPrevTime === -1e-6)
for (; s;) {
if (e = s.c * t + s.s, s.r ? e = Math.round(e) : n > e && e > -n && (e = 0), s.type)
if (1 === s.type)
if (r = s.l, 2 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2;
else if (3 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3;
else if (4 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3 + s.xn3 + s.xs4;
else if (5 === r) s.t[s.p] = s.xs0 + e + s.xs1 + s.xn1 + s.xs2 + s.xn2 + s.xs3 + s.xn3 + s.xs4 + s.xn4 + s.xs5;
else {
for (i = s.xs0 + e + s.xs1, r = 1; s.l > r; r++) i += s["xn" + r] + s["xs" + (r + 1)];
s.t[s.p] = i
} else -1 === s.type ? s.t[s.p] = s.xs0 : s.setRatio && s.setRatio(t);
else s.t[s.p] = e + s.xs0;
s = s._next
} else
for (; s;) 2 !== s.type ? s.t[s.p] = s.b : s.setRatio(t), s = s._next;
else
for (; s;) {
if (2 !== s.type)
if (s.r && -1 !== s.type)
if (e = Math.round(s.s + s.c), s.type) {
if (1 === s.type) {
for (r = s.l, i = s.xs0 + e + s.xs1, r = 1; s.l > r; r++) i += s["xn" + r] + s["xs" + (r + 1)];
s.t[s.p] = i
}
} else s.t[s.p] = e + s.xs0;
else s.t[s.p] = s.e;
else s.setRatio(t);
s = s._next
}
}, h._enableTransforms = function(t) {
this._transform = this._transform || Ie(this._target, s, !0), this._transformType = this._transform.svg && Te || !t && 3 !== this._transformType ? 2 : 3
};
var Ve = function() {
this.t[this.p] = this.e, this.data._linkCSSP(this, this._next, null, !0)
};
h._addLazySet = function(t, e, i) {
var r = this._firstPT = new ce(t, e, 0, 0, this._firstPT, 2);
r.e = i, r.setRatio = Ve, r.data = this
}, h._linkCSSP = function(t, e, i, r) {
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, r = !0), i ? i._next = t : r || null !== this._firstPT || (this._firstPT = t), t._next = e, t._prev = i), t
}, h._kill = function(e) {
var i, r, s, n = e;
if (e.autoAlpha || e.alpha) {
n = {};
for (r in e) n[r] = e[r];
n.opacity = 1, n.autoAlpha && (n.visibility = 1)
}
return e.className && (i = this._classNamePT) && (s = i.xfirst, s && s._prev ? this._linkCSSP(s._prev, i._next, s._prev._prev) : s === this._firstPT && (this._firstPT = i._next), i._next && this._linkCSSP(i._next, i._next._next, s._prev), this._classNamePT = null), t.prototype._kill.call(this, n)
};
var Ue = function(t, e, i) {
var r, s, n, a;
if (t.slice)
for (s = t.length; --s > -1;) Ue(t[s], e, i);
else
for (r = t.childNodes, s = r.length; --s > -1;) n = r[s], a = n.type, n.style && (e.push(K(n)), i && i.push(n)), 1 !== a && 9 !== a && 11 !== a || !n.childNodes.length || Ue(n, e, i)
};
return a.cascadeTo = function(t, i, r) {
var s, n, a, o, l = e.to(t, i, r),
h = [l],
u = [],
f = [],
p = [],
_ = e._internals.reservedProps;
for (t = l._targets || l.target, Ue(t, u, p), l.render(i, !0, !0), Ue(t, f), l.render(0, !0, !0), l._enabled(!0), s = p.length; --s > -1;)
if (n = J(p[s], u[s], f[s]), n.firstMPT) {
n = n.difs;
for (a in r) _[a] && (n[a] = r[a]);
o = {};
for (a in n) o[a] = u[s][a];
h.push(e.fromTo(p[s], i, o, n))
}
return h
}, t.activate([a]), a
}, !0)
}), _gsScope._gsDefine && _gsScope._gsQueue.pop()(),
function(t) {
"use strict";
var e = function() {
return (_gsScope.GreenSockGlobals || _gsScope)[t]
};
"function" == typeof define && define.amd ? define(["TweenLite"], e) : "undefined" != typeof module && module.exports && (require("../TweenLite.js"), module.exports = e())
}("CSSPlugin");
#2 JavaScript::Eval (size: 15567) - SHA256: 1ab48e1ef261ce98fb9bdb0ada2b59b7de6934d3a3b8f98bbeb3c794ec481d1a
/* Anti-spam. Want to say hello? Contact (base64) Ym90Z3VhcmQtY29udGFjdEBnb29nbGUuY29t */
(function() {
var V = this || self,
X = function(W) {
return W
},
f = function(W, d) {
if ((d = (W = null, V.trustedTypes), !d) || !d.createPolicy) return W;
try {
W = d.createPolicy("bg", {
createHTML: X,
createScript: X,
createScriptURL: X
})
} catch (w) {
V.console && V.console.error(w.message)
}
return W
};
(0, eval)(function(W, d) {
return (d = f()) && 1 === W.eval(d.createScript("1")) ? function(w) {
return d.createScript(w)
} : function(w) {
return "" + w
}
}(V)(Array(7824 * Math.random() | 0).join("\n") + '(function(){var dr=function(W,d,V,X,x,w,a,f){return((W=[84,(f=(w=WB,V&7),-53),96,-24,24,43,W,73,2,56],a=P[X.G](X.lM),a)[X.G]=function(v){f+=(x=v,6+7*V),f&=7},a).concat=function(v){return((x=(v=+W[f+43&7]*d*(v=d%16+1,v)+3*d*d*v+(w()|0)*v- -2915*d*x-1155*x+55*x*x+f-165*d*d*x-v*x,v=W[v],void 0),W)[(f+53&7)+(V&2)]=v,W)[f+(V&2)]=-53,v},a},Q=function(W,d,V,X,x,w,a,f,v){if(((W.l=((x=(v=(f=(X||W.P++,0<W.N&&W.V&&W.uM&&1>=W.D&&!W.C)&&!W.R&&(!X||1<W.i-V)&&0==document.hidden,(w=4==W.P)||f?W.h():W.K),a=v-W.K,a>>14),W).o&&(W.o^=x*(a<<2)),x)||W.l,W).W+=x,w)||f)W.P=0,W.K=v;if(!f||v-W.I<W.N-(d?255:X?5:2))return false;return!(W.R=(k(465,(W.i=V,d=K(W,X?510:465),W),W.B),W.u.push([iS,d,X?V+1:V]),y),0)},wr=function(W,d){return(W=W.create().shift(),d.C.create().length)||d.g.create().length||(d.C=void 0,d.g=void 0),W},VV=function(W,d,V){return V=P[W.G](W.Hn),V[W.G]=function(){return d},V.concat=function(X){d=X},V},Xc=function(W,d){return d[W]<<24|d[(W|0)+1]<<16|d[(W|0)+2]<<8|d[(W|0)+3]},B=function(W,d){W.u.splice(0,0,d)},at=function(W,d,V,X){function x(){}return X=fA(W,(V=void 0,function(w){x&&(d&&y(d),V=w,x(),x=void 0)}),!!d)[0],{invoke:function(w,a,f,v){function l(){V(function(H){y(function(){w(H)})},f)}if(!a)return a=X(f),w&&w(a),a;V?l():(v=x,x=function(){(v(),y)(l)})}}},D=function(W,d,V,X){for(V=[],X=(W|0)-1;0<=X;X--)V[(W|0)-1-(X|0)]=d>>8*X&255;return V},x_=function(W,d,V,X){try{X=W[((d|0)+2)%3],W[d]=(W[d]|0)-(W[((d|0)+1)%3]|0)-(X|0)^(1==d?X<<V:X>>>V)}catch(x){throw x;}},vB=function(W,d){return[(d(function(V){V(W)}),function(){return W})]},lS=function(W){return W},PB=function(W,d,V){if(3==W.length){for(V=0;3>V;V++)d[V]+=W[V];for(V=[13,8,13,12,16,(W=0,5),3,10,15];9>W;W++)d[3](d,W%3,V[W])}},r={passive:true,capture:true},KA=function(W,d,V,X,x){for(x=(V=(X=(W=W.replace(/\\r\\n/g,"\\n"),0),[]),0);X<W.length;X++)d=W.charCodeAt(X),128>d?V[x++]=d:(2048>d?V[x++]=d>>6|192:(55296==(d&64512)&&X+1<W.length&&56320==(W.charCodeAt(X+1)&64512)?(d=65536+((d&1023)<<10)+(W.charCodeAt(++X)&1023),V[x++]=d>>18|240,V[x++]=d>>12&63|128):V[x++]=d>>12|224,V[x++]=d>>6&63|128),V[x++]=d&63|128);return V},L,k_=function(W,d,V,X,x){p(W,((V=K(W,(x=(V=(d&=(X=d&4,3),Y(W)),Y(W)),V)),X&&(V=KA(""+V)),d)&&p(W,D(2,V.length),x),V),x)},yV=function(W,d,V){if("object"==(d=typeof W,d))if(W){if(W instanceof Array)return"array";if(W instanceof Object)return d;if((V=Object.prototype.toString.call(W),"[object Window]")==V)return"object";if("[object Array]"==V||"number"==typeof W.length&&"undefined"!=typeof W.splice&&"undefined"!=typeof W.propertyIsEnumerable&&!W.propertyIsEnumerable("splice"))return"array";if("[object Function]"==V||"undefined"!=typeof W.call&&"undefined"!=typeof W.propertyIsEnumerable&&!W.propertyIsEnumerable("call"))return"function"}else return"null";else if("function"==d&&"undefined"==typeof W.call)return"object";return d},k=function(W,d,V){if(465==W||510==W)d.X[W]?d.X[W].concat(V):d.X[W]=VV(d,V);else{if(d.J&&435!=W)return;474==W||5==W||423==W||446==W||50==W?d.X[W]||(d.X[W]=dr(V,W,62,d)):d.X[W]=dr(V,W,105,d)}435==W&&(d.o=t(d,false,32),d.H=void 0)},T=function(W,d){W.v=((W.v?W.v+"~":"E:")+d.message+":"+d.stack).slice(0,2048)},zT=function(W,d){if((d=(W=M.trustedTypes,null),!W)||!W.createPolicy)return d;try{d=W.createPolicy("bg",{createHTML:lS,createScript:lS,createScriptURL:lS})}catch(V){M.console&&M.console.error(V.message)}return d},Z_=function(W,d,V,X,x,w){if(!d.v){d.D++;try{for(V=(w=(X=d.B,void 0),0);--W;)try{if((x=void 0,d).C)w=wr(d.C,d);else{if(V=K(d,465),V>=X)break;w=K(d,(k(510,d,V),x=Y(d),x))}Q(d,false,(w&&w[jh]&2048?w(d,W):h(0,[U,21,x],d),W),false)}catch(a){K(d,438)?h(22,a,d):k(438,d,a)}if(!W){if(d.Gg){Z_(417315765951,(d.D--,d));return}h(0,[U,33],d)}}catch(a){try{h(22,a,d)}catch(f){T(d,f)}}d.D--}},It=function(W,d){(d.push(W[0]<<24|W[1]<<16|W[2]<<8|W[3]),d.push(W[4]<<24|W[5]<<16|W[6]<<8|W[7]),d).push(W[8]<<24|W[9]<<16|W[10]<<8|W[11])},QV=function(W,d,V,X,x,w){for(w=(V=(X=((d=Y((x=W[mz]||{},W)),x.vn=Y(W),x).T=[],W.l==W)?(J(W)|0)-1:1,Y)(W),0);w<X;w++)x.T.push(Y(W));for((x.Xr=K(W,V),x).F=K(W,d);X--;)x.T[X]=K(W,x.T[X]);return x},h=function(W,d,V,X,x,w){if(!V.J){if((W=(0==(X=K(V,((x=void 0,d)&&d[0]===U&&(W=d[1],x=d[2],d=void 0),446)),X.length)&&(w=K(V,510)>>3,X.push(W,w>>8&255,w&255),void 0!=x&&X.push(x&255)),""),d)&&(d.message&&(W+=d.message),d.stack&&(W+=":"+d.stack)),d=K(V,53),3<d){V.l=(x=(W=(d-=((W=W.slice(0,(d|0)-3),W.length)|0)+3,KA)(W),V.l),V);try{p(V,D(2,W.length).concat(W),5,9)}finally{V.l=x}}k(53,V,d)}},R=function(W,d,V){(k(W,d,V),V)[CA]=2796},D_=function(W,d,V,X){return(k(465,(Z_(d,((X=K(V,465),V.O)&&X<V.B?(k(465,V,V.B),BB(V,W)):k(465,V,W),V)),V),X),K)(V,87)},c,rr=function(W,d,V,X,x){for(d=d[x=d[3]|(X=0,0),2]|0;14>X;X++)V=V>>>8|V<<24,V+=W|0,V^=d+1890,W=W<<3|W>>>29,W^=V,x=x>>>8|x<<24,x+=d|0,x^=X+1890,d=d<<3|d>>>29,d^=x;return[W>>>24&255,W>>>16&255,W>>>8&255,W>>>0&255,V>>>24&255,V>>>16&255,V>>>8&255,V>>>0&255]},Y=function(W,d){if(W.C)return wr(W.g,W);return(d=t(W,true,8),d)&128&&(d^=128,W=t(W,true,2),d=(d<<2)+(W|0)),d},bS=function(W,d,V){return d.S(function(X){V=X},false,W),V},fA=function(W,d,V,X){return(X=L[W.substring(0,3)+"_"])?X(W.substring(3),d,V):vB(W,d)},LA=function(W,d,V,X,x,w){function a(){if(X.l==X){if(X.X){var f=[E,V,d,void 0,x,w,arguments];if(2==W)var v=g(false,(B(X,f),false),X);else if(1==W){var l=!X.u.length;B(X,f),l&&g(false,false,X)}else v=nA(f,X);return v}x&&w&&x.removeEventListener(w,a,r)}}return a},Y_=function(W,d,V,X){for(V=(X=Y(W),0);0<d;d--)V=V<<8|J(W);k(X,W,V)},p=function(W,d,V,X,x,w){if(W.l==W)for(w=K(W,V),5==V?(V=function(a,f,v,l){if((f=((l=w.length,l)|0)-4>>3,w.hF)!=f){f=[0,0,x[1],(v=(f<<3)-(w.hF=f,4),x[2])];try{w.Bn=rr(Xc(v,w),f,Xc((v|0)+4,w))}catch(H){throw H;}}w.push(w.Bn[l&7]^a)},x=K(W,50)):V=function(a){w.push(a)},X&&V(X&255),W=d.length,X=0;X<W;X++)V(d[X])},g=function(W,d,V,X,x,w){if(V.u.length){V.uM=(V.V=!(V.V&&0(),0),W);try{w=V.h(),V.K=w,V.P=0,V.I=w,x=pA(W,V),X=V.h()-V.I,V.s+=X,X<(d?0:10)||0>=V.j--||(X=Math.floor(X),V.L.push(254>=X?X:254))}finally{V.V=false}return x}},e=function(W,d){for(d=[];W--;)d.push(255*Math.random()|0);return d},nA=function(W,d,V,X,x){if(V=W[0],V==O)d.j=25,d.A(W);else if(V==A){X=W[1];try{x=d.v||d.A(W)}catch(w){T(d,w),x=d.v}X(x)}else if(V==iS)d.A(W);else if(V==q)d.A(W);else if(V==ot){try{for(x=0;x<d.U.length;x++)try{X=d.U[x],X[0][X[1]](X[2])}catch(w){}}catch(w){}(0,W[1])(function(w,a){d.S(w,true,a)},(d.U=[],function(w){B((w=!d.u.length,d),[jh]),w&&g(true,false,d)}))}else{if(V==E)return x=W[2],k(82,d,W[6]),k(87,d,x),d.A(W);V==jh?(d.L=[],d.X=null,d.O=[]):V==CA&&"loading"===M.document.readyState&&(d.R=function(w,a){function f(){a||(a=true,w())}(M.document.addEventListener("DOMContentLoaded",(a=false,f),r),M).addEventListener("load",f,r)})}},pA=function(W,d,V,X){for(;d.u.length;){d.R=null,X=d.u.pop();try{V=nA(X,d)}catch(x){T(d,x)}if(W&&d.R){(W=d.R,W)(function(){g(true,true,d)});break}}return V},tE=function(W,d){return d=J(W),d&128&&(d=d&127|J(W)<<7),d},M=this||self,t=function(W,d,V,X,x,w,a,f,v,l,H,z,m,C){if(f=K(W,465),f>=W.B)throw[U,31];for(x=(l=(X=(v=f,V),0),W).RU.length;0<X;)w=v%8,C=v>>3,H=8-(w|0),a=W.O[C],H=H<X?H:X,d&&(m=W,m.H!=v>>6&&(m.H=v>>6,z=K(m,435),m.Z=rr(m.o,[0,0,z[1],z[2]],m.H)),a^=W.Z[C&x]),l|=(a>>8-(w|0)-(H|0)&(1<<H)-1)<<(X|0)-(H|0),X-=H,v+=H;return k(465,(d=l,W),(f|0)+(V|0)),d},y=M.requestIdleCallback?function(W){requestIdleCallback(function(){W()},{timeout:4})}:M.setImmediate?function(W){setImmediate(W)}:function(W){setTimeout(W,0)},BB=function(W,d){k(465,W,((W.ds.push(W.X.slice()),W).X[465]=void 0,d))},NR=function(W,d,V,X){p((V=(X=Y(d),Y)(d),d),D(W,K(d,X)),V)},K=function(W,d){if((W=W.X[d],void 0)===W)throw[U,30,d];if(W.value)return W.create();return(W.create(3*d*d+-53*d+21),W).prototype},J=function(W){return W.C?wr(W.g,W):t(W,true,8)},TT=function(W,d){return P[W](P.prototype,{splice:d,document:d,prototype:d,call:d,replace:d,stack:d,console:d,length:d,propertyIsEnumerable:d,parent:d,floor:d,pop:d})},G=function(W,d,V){V=this;try{MR(this,d,W)}catch(X){T(this,X),W(function(x){x(V.v)})}},MR=function(W,d,V,X,x){for(x=(X=(W.lM=(W.RU=W[W.n_=hE,A],W.DK=uS,TT(W.G,{get:function(){return this.concat()}})),W.Hn=P[W.G](W.lM,{value:{value:{}}}),0),[]);128>X;X++)x[X]=String.fromCharCode(X);g(true,(B(W,[(B(W,(R(278,(R(184,W,(R((R(62,W,(k(474,(k(234,W,(k(87,W,(R((R(228,(R(38,W,(R(285,W,(W.f_=(R(((R(389,W,(k(423,(R(483,W,(R(201,(k(446,W,(R(493,W,(R(349,(R(91,W,(k(438,(R(417,W,(R(111,W,(R(158,(W.Pn=((R(354,W,((k(121,W,(R(318,(R(374,(R(28,W,(R(488,W,(k(6,(R(104,W,(k(5,W,(k((k((k(510,W,(k(465,((X=(W.V=((W.W=1,W).H=(W.N=(W.L=(W.P=void 0,[]),W.R=null,W.g=void 0,0),(W.K=0,W).uM=false,(W.J=false,W).u=(W.j=25,(W.l=(W.U=[],W.Z=void 0,W),W.C=((W.X=(W.I=0,[]),W).v=void 0,void 0),W.bM=0,W.eu=function(w){this.l=w},W).ds=[],[]),W.O=[],(W.o=((W.B=0,W).i=(W.s=0,8001),void 0),W).D=0,void 0),false),window.performance||{}),W).oU=X.timeOrigin||(X.timing||{}).navigationStart||0,W),0),0)),478),W,M),50),W,[0,0,0]),e(4))),function(w,a,f,v,l,H,z,m,C,b,Z,I){function u(n,N){for(;b<n;)C|=J(w)<<b,b+=8;return b-=n,C>>=(N=C&(1<<n)-1,n),N}for(f=I=(z=((b=(Z=Y(w),C=0),u)(3)|0)+1,H=u(5),l=[],0);I<H;I++)m=u(1),l.push(m),f+=m?0:1;for(f=(I=((f|0)-1).toString(2).length,v=[],0);f<H;f++)l[f]||(v[f]=u(I));for(I=0;I<H;I++)l[I]&&(v[I]=Y(w));for(a=[];z--;)a.push(K(w,Y(w)));R(Z,w,function(n,N,S,HB,F){for(F=(N=[],HB=[],0);F<H;F++){if(S=v[F],!l[F]){for(;S>=N.length;)N.push(Y(n));S=N[S]}HB.push(S)}n.g=VV((n.C=VV(n,a.slice()),n),HB)})})),W),0),function(w,a,f,v,l){f=Y((a=(l=Y(w),Y)(w),w)),w.l==w&&(f=K(w,f),v=K(w,l),a=K(w,a),v[a]=f,435==l&&(w.H=void 0,2==a&&(w.o=t(w,false,32),w.H=void 0)))})),function(w){Y_(w,4)})),W),function(w,a,f,v){k((f=Y((v=(a=Y(w),J(w)),w)),f),w,K(w,a)>>>v)}),W),function(w,a,f,v){if(a=w.ds.pop()){for(f=J(w);0<f;f--)v=Y(w),a[v]=w.X[v];a[53]=(a[446]=w.X[446],w).X[53],w.X=a}else k(465,w,w.B)}),0)),R)(27,W,function(w,a,f,v){a=K(w,(f=K(w,(v=(f=(a=Y(w),Y(w)),Y)(w),f)),a))==f,k(v,w,+a)}),function(w){k_(w,4)})),R)(308,W,function(w,a,f){k((a=(f=Y(w),Y(w)),a),w,""+K(w,f))}),0),W),function(w,a,f){(a=K(w,(a=Y((f=Y(w),w)),a)),0!=K(w,f))&&k(465,w,a)}),function(w,a,f,v,l,H){Q(w,false,a,true)||(H=QV(w.l),f=H.T,a=H.vn,l=H.F,H=H.Xr,v=f.length,f=0==v?new H[l]:1==v?new H[l](f[0]):2==v?new H[l](f[0],f[1]):3==v?new H[l](f[0],f[1],f[2]):4==v?new H[l](f[0],f[1],f[2],f[3]):2(),k(a,w,f))})),function(w,a,f){Q(w,false,a,true)||(a=Y(w),f=Y(w),k(f,w,function(v){return eval(v)}(Uv(K(w.l,a)))))})),W),903),function(w,a,f,v){k((f=K(w,(v=K((a=(v=Y(w),f=Y(w),Y(w)),w),v),f)),a),w,v[f])})),W),function(w,a,f,v){(v=(f=K((a=Y((f=Y(w),v=Y(w),w)),w),f),K)(w,v),k)(a,w,f in v|0)}),function(){})),[])),W),function(w,a,f,v){f=(a=K(w,(v=Y((f=Y(w),w)),v)),K)(w,f),k(v,w,a+f)}),R(224,W,function(w,a,f,v,l,H,z){for(z=(l=(H=K(w,(v=(a=tE((f=Y(w),w)),""),185)),H.length),0);a--;)z=((z|0)+(tE(w)|0))%l,v+=x[H[z]];k(f,w,v)}),function(w,a,f){(a=yV((a=(a=Y(w),f=Y(w),K(w,a)),a)),k)(f,w,a)})),W),[]),function(w,a,f,v){f=Y(w),a=Y(w),v=Y(w),k(v,w,K(w,f)||K(w,a))})),k)(53,W,2048),420),W,function(w,a,f,v,l){for(f=(v=tE((a=Y(w),w)),l=[],0);f<v;f++)l.push(J(w));k(a,w,l)}),0),function(w,a,f,v,l,H){if(!Q(w,true,a,true)){if("object"==yV((w=K((H=(a=K((H=(f=Y((v=(a=Y(w),Y)(w),w)),Y(w)),w),a),K(w,H)),f=K(w,f),w),v),a))){for(l in v=[],a)v.push(l);a=v}for(v=(f=0<f?f:1,l=0,a.length);l<v;l+=f)w(a.slice(l,(l|0)+(f|0)),H)}})),function(w,a,f,v,l){k((v=K((l=K((v=(a=Y((f=Y(w),l=Y(w),w)),Y(w)),w),l),w),v),a=K(w,a),f),w,LA(v,a,l,w))})),W),function(w){NR(4,w)}),381),W,function(w){k_(w,3)}),{})),W)),W),[160,0,0]),W.Wn=0,R(369,W,function(w,a,f,v){!Q(w,false,a,true)&&(a=QV(w),v=a.F,f=a.Xr,w.l==w||v==w.eu&&f==w)&&(k(a.vn,w,v.apply(f,a.T)),w.K=w.h())}),function(w,a){BB((a=K(w,Y(w)),w).l,a)})),492),W,function(w,a){a=Y(w),w=K(w.l,a),w[0].removeEventListener(w[1],w[2],r)}),function(w,a,f,v,l){0!==(f=K(w,(a=K((l=(v=K((v=(f=(l=(a=Y(w),Y(w)),Y(w)),Y)(w),w),v),K(w,l)),w).l,a),f)),a)&&(f=LA(1,v,f,w,a,l),a.addEventListener(l,f,r),k(6,w,[a,l,f]))})),W),function(w){NR(1,w)}),[CA])),B(W,[q,d]),ot),V]),true),W)},mz=String.fromCharCode(105,110,116,101,103,67,104,101,99,107,66,121,112,97,115,115),ot=((G.prototype.ws=void 0,G.prototype).Gg=false,[]),jh=(G.prototype.Y="toString",[]),A=[],q=[],iS=[],U=(G.prototype.UF=void 0,{}),O=[],CA=[],E=[],P=((It,function(){})(e),x_,PB,G.prototype.G="create",c=G.prototype,U).constructor,WB=(c.IU=((c.Tg=function(W,d,V){return((d^=d<<13,d^=d>>17,d=(d^d<<5)&V)||(d=1),W)^d},c).K_=function(){return Math.floor(this.h())},c.h=(window.performance||{}).now?function(){return this.oU+window.performance.now()}:function(){return+new Date},c.V6=function(W,d,V,X,x,w){for(X=x=(V=[],0);X<W.length;X++)for(w=w<<d|W[X],x+=d;7<x;)x-=8,V.push(w>>x&255);return V},c.S=function(W,d,V,X,x){if(V="array"===yV(V)?V:[V],this.v)W(this.v);else try{X=[],x=!this.u.length,B(this,[O,X,V]),B(this,[A,W,X]),d&&!x||g(d,true,this)}catch(w){T(this,w),W(this.v)}},function(W,d,V,X,x){for(x=X=0;X<W.length;X++)x+=W.charCodeAt(X),x+=x<<10,x^=x>>6;return X=(W=(x+=x<<3,x^=x>>11,x+(x<<15))>>>0,new Number(W&(1<<d)-1)),X[0]=(W>>>d)%V,X}),c.OF=function(){return Math.floor(this.s+(this.h()-this.I))},void 0);G.prototype.A=function(W,d){return W={},WB=function(){return d==W?21:49},d={},function(V,X,x,w,a,f,v,l,H,z,m,C,b,Z,I){d=(l=d,W);try{if(v=V[0],v==q){f=V[1];try{for(w=(z=x=(Z=atob(f),0),[]);x<Z.length;x++)b=Z.charCodeAt(x),255<b&&(w[z++]=b&255,b>>=8),w[z++]=b;k(435,this,[0,0,((this.O=w,this).B=this.O.length<<3,0)])}catch(u){h(17,u,this);return}Z_(8001,this)}else if(v==O)V[1].push(K(this,53),K(this,5).length,K(this,474).length,K(this,423).length),k(87,this,V[2]),this.X[181]&&D_(K(this,181),8001,this);else{if(v==A){this.l=(X=(H=D(2,(z=V[2],(K(this,474).length|0)+2)),this).l,this);try{m=K(this,446),0<m.length&&p(this,D(2,m.length).concat(m),474,10),p(this,D(1,this.W),474,109),p(this,D(1,this[A].length),474),Z=0,Z-=(K(this,474).length|0)+5,I=K(this,5),Z+=K(this,121)&2047,4<I.length&&(Z-=(I.length|0)+3),0<Z&&p(this,D(2,Z).concat(e(Z)),474,15),4<I.length&&p(this,D(2,I.length).concat(I),474,156)}finally{this.l=X}if(C=((w=e(2).concat(K(this,474)),w[1]=w[0]^6,w[3]=w[1]^H[0],w)[4]=w[1]^H[1],this).C_(w))C="!"+C;else for(C="",Z=0;Z<w.length;Z++)a=w[Z][this.Y](16),1==a.length&&(a="0"+a),C+=a;return K((K(((x=C,k)(53,this,z.shift()),K(this,5).length=z.shift(),this),474).length=z.shift(),this),423).length=z.shift(),x}if(v==iS)D_(V[1],V[2],this);else if(v==E)return D_(V[1],8001,this)}}finally{d=l}}}();var hE,uS=/./,JE=q.pop.bind((((G.prototype.C_=function(W,d,V,X){if(d=window.btoa){for(V=(X=0,"");X<W.length;X+=8192)V+=String.fromCharCode.apply(null,W.slice(X,X+8192));W=d(V).replace(/\\+/g,"-").replace(/\\//g,"_").replace(/=/g,"")}else W=void 0;return W},G).prototype.gs=(G.prototype.aU=0,0),G).prototype[ot]=[0,0,1,1,0,1,1],G.prototype[O])),Uv=function(W,d){return(d=zT())&&1===W.eval(d.createScript("1"))?function(V){return d.createScript(V)}:function(V){return""+V}}(((hE=TT((uS[G.prototype.Y]=JE,G.prototype.G),{get:JE}),G.prototype).AF=void 0,M));(40<(L=M.botguard||(M.botguard={}),L.m)||(L.m=41,L.bg=at,L.a=fA),L).PBO_=function(W,d,V){return V=new G(d,W),[function(X){return bS(X,V)}]};}).call(this);'));
}).call(this);
#3 JavaScript::Eval (size: 80922) - SHA256: 28364543eaf9f8ec15922b8b9b19f87b269988e1d7bc0e9ca762160a6c2d1420
function lsShowNotice(t, e, i) {
var a;
"string" == typeof t ? a = jQuery("#" + t) : "object" == typeof t && (a = t);
var s, o;
switch (e) {
case "jquery":
s = "multiple jQuery issue", o = 'It looks like that another plugin or your theme loads an extra copy of the jQuery library causing problems for LayerSlider to show your sliders. <strong>Please navigate on your WordPress admin area to the main page of LayerSlider and enable the "Put JS includes to body" option within the Troubleshooting & Advanced Settings box.</strong>';
break;
case "oldjquery":
s = "old jQuery issue", o = "It looks like you are using an old version (" + i + ') of the jQuery library. LayerSlider requires at least version 1.7.0 or newer. Please update jQuery to 1.10.x or higher. Important: Please do not use the jQuery Updater plugin on WordPress and do not update to 2.x version of jQuery because it is not compatible with older browsers like IE 7 & 8. <a href="http://support.kreaturamedia.com/faq/4/layerslider-for-wordpress/#group-13&entry-60">You can read more about updating jQuery by clicking here.</a>'
}
a.addClass("ls-error"), a.append('<p class="ls-exclam">!</p>'), a.append('<p class="ls-error-title">LayerSlider: ' + s + "</p>"), a.append('<p class="ls-error-text">' + o + "</p>")
}! function(t) {
if ("undefined" != typeof kmGS)
for (var e in kmGS) this[e] = kmGS[e];
t.fn.layerSlider = function(e) {
var a = "1.7.0",
s = t.fn.jquery,
o = t(this),
r = function(t, e) {
for (var i = t.split("."), a = e.split("."), s = 0; s < i.length; ++s) {
if (a.length == s) return !1;
if (parseInt(i[s]) != parseInt(a[s])) return parseInt(i[s]) > parseInt(a[s]) ? !1 : !0
}
return i.length != a.length ? !0 : !0
};
if (r("1.8.0", s) || o.addClass("ls-norotate"), r(a, s)) {
if ((typeof e).match("object|undefined")) return this.each(function() {
new i(this, e)
});
if ("data" === e) {
var n = t(this).data("LayerSlider").g;
if (n) return n
} else if ("userInitData" === e) {
var d = t(this).data("LayerSlider").o;
if (d) return d
} else {
if ("defaultInitData" !== e) return this.each(function() {
var i = t(this).data("LayerSlider");
if (i) {
if (!i.g.isAnimating && !i.g.isLoading)
if ("number" == typeof e) e > 0 && e < i.g.layersNum + 1 && e != i.g.curLayerIndex && i.change(e);
else switch (e) {
case "prev":
i.o.cbPrev(i.g), i.prev("clicked");
break;
case "next":
i.o.cbNext(i.g), i.next("clicked");
break;
case "start":
i.g.autoSlideshow || (i.o.cbStart(i.g), i.g.originalAutoSlideshow = !0, i.start())
}
"redraw" === e && i.resize(), (i.g.autoSlideshow || !i.g.autoSlideshow && i.g.originalAutoSlideshow) && "stop" == e && (i.o.cbStop(i.g), i.g.originalAutoSlideshow = !1, i.g.curLayer.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[src*="player.vimeo"]').each(function() {
clearTimeout(t(this).data("videoTimer"))
}), i.stop()), "forceStop" == e && i.forcestop()
}
});
var d = t(this).data("LayerSlider").defaults;
if (d) return d
}
} else lsShowNotice(o, "oldjquery", s)
};
var i = function(e, d) {
var l = this;
l.$el = t(e).addClass("ls-container"), l.$el.data("LayerSlider", l), l.load = function() {
if (l.defaults = i.options, l.o = t.extend({}, l.defaults, d), l.g = t.extend({}, i.global), l.lt = t.extend({}, i.layerTransitions), l.st = t.extend({}, i.slideTransitions), l.g.enableCSS3 = t(e).hasClass("ls-norotate") ? !1 : !0, l.g.originalMarkup = t(e).html(), l.g.ie78 && (l.o.lazyLoad = !1), "enabled" === l.o.autoPauseSlideshow && (l.o.autoPauseSlideshow = !0), "disabled" === l.o.autoPauseSlideshow && (l.o.autoPauseSlideshow = !1), "undefined" != typeof layerSliderTransitions && (l.t = t.extend({}, layerSliderTransitions)), "undefined" != typeof layerSliderCustomTransitions && (l.ct = t.extend({}, layerSliderCustomTransitions)), !l.g.initialized)
if (l.g.initialized = !0, t("html").find('meta[content*="WordPress"]').length && (l.g.wpVersion = t("html").find('meta[content*="WordPress"]').attr("content").split("WordPress")[1]), t("html").find('script[src*="layerslider"]').length && -1 != t("html").find('script[src*="layerslider"]').attr("src").indexOf("?") && (l.g.lswpVersion = t("html").find('script[src*="layerslider"]').attr("src").split("?")[1].split("=")[1]), l.o.skin && "" != l.o.skin && l.o.skinsPath && "" != l.o.skinsPath) {
t(e).addClass("ls-" + l.o.skin);
var a = l.o.skinsPath + l.o.skin + "/skin.css",
s = t("head");
if (t("head").length || (s = t("body")), t('link[href="' + a + '"]').length) o = t('link[href="' + a + '"]'), l.g.loaded || (l.g.loaded = !0, l.g.t1 = setTimeout(function() {
l.init()
}, 150));
else if (document.createStyleSheet) {
document.createStyleSheet(a);
var o = t('link[href="' + a + '"]')
} else var o = t('<link rel="stylesheet" href="' + a + '" type="text/css" />').appendTo(s);
o.load(function() {
l.g.loaded || (l.g.loaded = !0, l.g.t2 = setTimeout(function() {
l.init()
}, 150))
}), t(window).load(function() {
l.g.loaded || (l.g.loaded = !0, l.g.t3 = setTimeout(function() {
l.init()
}, 150))
}), l.g.t4 = setTimeout(function() {
l.g.loaded || (l.g.loaded = !0, l.init())
}, 1e3)
} else l.init()
}, l.init = function() {
t(e).prependTo(t(l.o.prependTo)), t("html").attr("id") ? t("body").attr("id") || t("body").attr("id", "ls-global") : t("html").attr("id", "ls-global"), l.g.isMobile() === !0 && l.o.hideOnMobile === !0 && (t(e).addClass("ls-forcehide"), t(e).closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"));
var i = function() {
l.o.hideOnMobile === !0 && l.g.isMobile() === !0 ? (t(e).addClass("ls-forcehide"), t(e).closest(".ls-wp-fullwidth-container").addClass("ls-forcehide"), l.o.autoStart = !1) : t(window).width() < l.o.hideUnder || t(window).width() > l.o.hideOver ? (t(e).addClass("ls-forcehide"), t(e).closest(".ls-wp-fullwidth-container").addClass("ls-forcehide")) : (t(e).removeClass("ls-forcehide"), t(e).closest(".ls-wp-fullwidth-container").removeClass("ls-forcehide"))
};
if (t(window).resize(function() {
i()
}), i(), l.g.sliderWidth = function() {
return t(e).width()
}, l.g.sliderHeight = function() {
return t(e).height()
}, t(e).find(".ls-layer").removeClass("ls-layer").addClass("ls-slide"), t(e).find('.ls-slide > *[class*="ls-s"]').each(function() {
var e = t(this).attr("class").split("ls-s")[1].split(" ")[0];
t(this).removeClass("ls-s" + e).addClass("ls-l" + e)
}), l.o.firstLayer && (l.o.firstSlide = l.o.firstLayer), l.o.animateFirstLayer === !1 && (l.o.animateFirstSlide = !1), 1 == t(e).find(".ls-slide").length && (l.o.autoStart = !1, l.o.navPrevNext = !1, l.o.navStartStop = !1, l.o.navButtons = !1, l.o.loops = 0, l.o.forceLoopNum = !1, l.o.autoPauseSlideshow = !0, l.o.firstSlide = 1, l.o.thumbnailNavigation = "disabled"), t(e).parent().hasClass("ls-wp-fullwidth-helper") && 0 !== l.o.responsiveUnder && (t(e)[0].style.width = "100%"), l.g.sliderOriginalWidthRU = l.g.sliderOriginalWidth = l.o.width ? "" + l.o.width : t(e)[0].style.width, l.g.sliderOriginalHeight = l.o.height ? "" + l.o.height : t(e)[0].style.height, -1 == l.g.sliderOriginalWidth.indexOf("%") && -1 == l.g.sliderOriginalWidth.indexOf("px") && (l.g.sliderOriginalWidth += "px"), -1 == l.g.sliderOriginalHeight.indexOf("%") && -1 == l.g.sliderOriginalHeight.indexOf("px") && (l.g.sliderOriginalHeight += "px"), l.g.responsiveMode = l.o.responsive && -1 != l.g.sliderOriginalWidth.indexOf("px") && -1 != l.g.sliderOriginalHeight.indexOf("px") ? !0 : !1, l.o.fullScreen === !0 && (l.o.responsiveUnder = 0, l.g.responsiveMode = !0, -1 != l.g.sliderOriginalWidth.indexOf("%") && (l.g.sliderOriginalWidth = parseInt(l.g.sliderOriginalWidth) + "px"), -1 != l.g.sliderOriginalHeight.indexOf("%") && (l.g.sliderOriginalHeight = parseInt(l.g.sliderOriginalHeight) + "px")), t(e).find('*[class*="ls-l"], *[class*="ls-bg"]').each(function() {
t(this).parent().hasClass("ls-slide") || t(this).insertBefore(t(this).parent())
}), t(e).find(".ls-slide").each(function() {
t(this).data("index", t(this).index() + 1).addClass("ls-slide-" + (t(this).index() + 1)), t(this).children(':not([class*="ls-"])').each(function() {
t(this).remove()
});
var e = t("<div>").addClass("ls-gpuhack");
t(this).find(".ls-bg").length ? e.insertAfter(t(this).find(".ls-bg").eq("0")) : e.prependTo(t(this))
}), t(e).find('.ls-slide, *[class*="ls-l"]').each(function() {
if (t(this).data("ls") || t(this).attr("rel") || t(this).attr("style")) {
if (t(this).data("ls")) var e = t(this).data("ls").toLowerCase().split(";");
else if (t(this).attr("rel") && -1 != t(this).attr("rel").indexOf(":") && -1 != t(this).attr("rel").indexOf(";")) var e = t(this).attr("rel").toLowerCase().split(";");
else var e = t(this).attr("style").toLowerCase().split(";");
for (x = 0; x < e.length; x++) {
param = e[x].split(":"), -1 != param[0].indexOf("easing") && (param[1] = l.ieEasing(param[1]));
var i = "";
param[2] && (i = ":" + t.trim(param[2])), " " != param[0] && "" != param[0] && t(this).data(t.trim(param[0]), t.trim(param[1]) + i)
}
t(this).data("static") && t(this).data("static", parseInt(t(this).data("static"))).data("originalSlide", t(this).parent().data("index")).addClass("ls-static")
}
l.o.startInViewport === !0 && l.o.autoStart === !0 && (l.o.autoStart = !1, l.g.originalAutoStart = !0);
var a = t(this);
a.data("originalLeft", a[0].style.left), a.data("originalTop", a[0].style.top), t(this).is("a") && t(this).children().length > 0 && (a = t(this).children());
var s = a.width(),
o = a.height();
a[0].style.width && -1 != a[0].style.width.indexOf("%") && (s = a[0].style.width), a[0].style.height && -1 != a[0].style.height.indexOf("%") && (o = a[0].style.height), a.data("originalWidth", s), a.data("originalHeight", o), a.data("originalPaddingLeft", a.css("padding-left")), a.data("originalPaddingRight", a.css("padding-right")), a.data("originalPaddingTop", a.css("padding-top")), a.data("originalPaddingBottom", a.css("padding-bottom"));
var r = "number" == typeof parseFloat(a.css("opacity")) ? Math.round(100 * parseFloat(a.css("opacity"))) / 100 : 1;
t(this).data("originalOpacity", r), -1 == a.css("border-left-width").indexOf("px") ? a.data("originalBorderLeft", a[0].style.borderLeftWidth) : a.data("originalBorderLeft", a.css("border-left-width")), -1 == a.css("border-right-width").indexOf("px") ? a.data("originalBorderRight", a[0].style.borderRightWidth) : a.data("originalBorderRight", a.css("border-right-width")), -1 == a.css("border-top-width").indexOf("px") ? a.data("originalBorderTop", a[0].style.borderTopWidth) : a.data("originalBorderTop", a.css("border-top-width")), -1 == a.css("border-bottom-width").indexOf("px") ? a.data("originalBorderBottom", a[0].style.borderBottomWidth) : a.data("originalBorderBottom", a.css("border-bottom-width")), a.data("originalFontSize", a.css("font-size")), a.data("originalLineHeight", a.css("line-height"))
}), document.location.hash)
for (var a = 0; a < t(e).find(".ls-slide").length; a++) t(e).find(".ls-slide").eq(a).data("deeplink") == document.location.hash.split("#")[1] && (l.o.firstSlide = a + 1);
t(e).find('*[class*="ls-linkto-"]').each(function() {
for (var i = t(this).attr("class").split(" "), a = 0; a < i.length; a++)
if (-1 != i[a].indexOf("ls-linkto-")) {
var s = parseInt(i[a].split("ls-linkto-")[1]);
t(this).css({
cursor: "pointer"
}).click(function(i) {
i.preventDefault(), t(e).layerSlider(s)
})
}
}), l.g.layersNum = t(e).find(".ls-slide").length, l.o.randomSlideshow && l.g.layersNum > 2 ? ("random" == l.o.firstSlide, l.o.twoWaySlideshow = !1) : l.o.randomSlideshow = !1, "random" == l.o.firstSlide && (l.o.firstSlide = Math.floor(Math.random() * l.g.layersNum + 1)), l.o.fisrtSlide = l.o.fisrtSlide < l.g.layersNum + 1 ? l.o.fisrtSlide : 1, l.o.fisrtSlide = l.o.fisrtSlide < 1 ? 1 : l.o.fisrtSlide, l.g.nextLoop = 1, l.o.animateFirstSlide && (l.g.nextLoop = 0), l.media.youtube.init(), l.media.vimeo.init(), l.media.html5.init(), l.o.animateFirstSlide && (l.o.firstSlide = l.o.firstSlide - 1 === 0 ? l.g.layersNum : l.o.firstSlide - 1), l.g.curLayerIndex = l.o.firstSlide, l.g.curLayer = t(e).find(".ls-slide:eq(" + (l.g.curLayerIndex - 1) + ")"), t(e).find(".ls-slide").wrapAll('<div class="ls-inner"></div>'), l.g.i = t(e).find(".ls-inner"), l.o.showBarTimer && (l.g.barTimer = t("<div>").addClass("ls-bar-timer").appendTo(l.g.i)), l.o.showCircleTimer && !l.g.ie78 && (l.g.circleTimer = t("<div>").addClass("ls-circle-timer").appendTo(l.g.i), l.g.circleTimer.append(t('<div class="ls-ct-left"><div class="ls-ct-rotate"><div class="ls-ct-hider"><div class="ls-ct-half"></div></div></div></div><div class="ls-ct-right"><div class="ls-ct-rotate"><div class="ls-ct-hider"><div class="ls-ct-half"></div></div></div></div><div class="ls-ct-center"></div>'))), l.g.li = t("<div>").css({
zIndex: -1,
display: "none"
}).addClass("ls-loading-container").appendTo(t(e)), t("<div>").addClass("ls-loading-indicator").appendTo(l.g.li), "static" == t(e).css("position") && t(e).css("position", "relative"), l.g.i.css(l.o.globalBGImage ? {
backgroundImage: "url(" + l.o.globalBGImage + ")"
} : {
backgroundColor: l.o.globalBGColor
}), "transparent" == l.o.globalBGColor && 0 == l.o.globalBGImage && l.g.i.css({
background: "none transparent !important"
}), t(e).find(".ls-slide img").each(function() {
if (t(this).removeAttr("width").removeAttr("height"), l.o.imgPreload === !0 && l.o.lazyLoad === !0) {
if ("string" != typeof t(this).data("src")) {
t(this).data("src", t(this).attr("src"));
var e = l.o.skinsPath + "../css/blank.gif";
t(this).attr("src", e)
}
} else "string" == typeof t(this).data("src") && (t(this).attr("src", t(this).data("src")), t(this).removeAttr("data-src"))
});
var s = t([]);
if (t(e).find("*:not(.ls-bg), .ls-static").each(function() {
"undefined" != typeof t(this).data("parallaxlevel") && 0 !== parseInt(t(this).data("parallaxlevel")) && (s = s.add(t(this)))
}), l.g.i.on("mouseenter", function(e) {
l.g.parallaxStartX = e.pageX - t(this).parent().offset().left, l.g.parallaxStartY = e.pageY - t(this).parent().offset().top
}), l.g.i.on("mousemove", function(e) {
var i = t(this).parent().offset().left + l.g.parallaxStartX,
a = t(this).parent().offset().top + l.g.parallaxStartY,
o = e.pageX - i,
r = e.pageY - a;
s.each(function() {
t(this).css({
marginLeft: -o / 100 * parseInt(t(this).data("parallaxlevel")),
marginTop: -r / 100 * parseInt(t(this).data("parallaxlevel"))
})
})
}), l.g.i.on("mouseleave", function() {
s.each(function() {
TweenLite.to(this, .4, {
css: {
marginLeft: 0,
marginTop: 0
}
})
})
}), l.o.navPrevNext && (t('<a class="ls-nav-prev" href="#" />').click(function(i) {
i.preventDefault(), t(e).layerSlider("prev")
}).appendTo(t(e)), t('<a class="ls-nav-next" href="#" />').click(function(i) {
i.preventDefault(), t(e).layerSlider("next")
}).appendTo(t(e)), l.o.hoverPrevNext && (t(e).find(".ls-nav-prev, .ls-nav-next").css({
display: "none"
}), t(e).hover(function() {
l.g.forceHideControls || (l.g.ie78 ? t(e).find(".ls-nav-prev, .ls-nav-next").css("display", "block") : t(e).find(".ls-nav-prev, .ls-nav-next").stop(!0, !0).fadeIn(300))
}, function() {
l.g.ie78 ? t(e).find(".ls-nav-prev, .ls-nav-next").css("display", "none") : t(e).find(".ls-nav-prev, .ls-nav-next").stop(!0, !0).fadeOut(300)
}))), l.o.navStartStop || l.o.navButtons) {
var o = t('<div class="ls-bottom-nav-wrapper" />').appendTo(t(e));
if (l.g.bottomWrapper = o, "always" == l.o.thumbnailNavigation && o.addClass("ls-above-thumbnails"), l.o.navButtons && "always" != l.o.thumbnailNavigation) {
if (t('<span class="ls-bottom-slidebuttons" />').appendTo(t(e).find(".ls-bottom-nav-wrapper")), "hover" == l.o.thumbnailNavigation) var r = t('<div class="ls-thumbnail-hover"><div class="ls-thumbnail-hover-inner"><div class="ls-thumbnail-hover-bg"></div><div class="ls-thumbnail-hover-img"><img></div><span></span></div></div>').appendTo(t(e).find(".ls-bottom-slidebuttons"));
for (x = 1; x < l.g.layersNum + 1; x++) {
var n = t('<a href="#" />').appendTo(t(e).find(".ls-bottom-slidebuttons")).click(function(i) {
i.preventDefault(), t(e).layerSlider(t(this).index() + 1)
});
if ("hover" == l.o.thumbnailNavigation) {
t(e).find(".ls-thumbnail-hover, .ls-thumbnail-hover-img").css({
width: l.o.tnWidth,
height: l.o.tnHeight
});
var d = t(e).find(".ls-thumbnail-hover"),
g = d.find("img").css({
height: l.o.tnHeight
}),
h = t(e).find(".ls-thumbnail-hover-inner").css({
visibility: "hidden",
display: "block"
});
n.hover(function() {
var i, a = t(e).find(".ls-slide").eq(t(this).index());
i = l.o.imgPreload === !0 && l.o.lazyLoad === !0 ? a.find(".ls-tn").length ? a.find(".ls-tn").data("src") : a.find(".ls-videopreview").length ? a.find(".ls-videopreview").data("src") : a.find(".ls-bg").length ? a.find(".ls-bg").data("src") : l.o.skinsPath + l.o.skin + "/nothumb.png" : a.find(".ls-tn").length ? a.find(".ls-tn").attr("src") : a.find(".ls-videopreview").length ? a.find(".ls-videopreview").attr("src") : a.find(".ls-bg").length ? a.find(".ls-bg").attr("src") : l.o.skinsPath + l.o.skin + "/nothumb.png", t(e).find(".ls-thumbnail-hover-img").css({
left: parseInt(d.css("padding-left")),
top: parseInt(d.css("padding-top"))
}), g.load(function() {
g.css(0 == t(this).width() ? {
position: "relative",
margin: "0 auto",
left: "auto"
} : {
position: "absolute",
marginLeft: -t(this).width() / 2,
left: "50%"
})
}).attr("src", i), d.css({
display: "block"
}).stop().animate({
left: t(this).position().left + (t(this).width() - d.outerWidth()) / 2
}, 250), h.css({
display: "none",
visibility: "visible"
}).stop().fadeIn(250)
}, function() {
h.stop().fadeOut(250, function() {
d.css({
visibility: "hidden",
display: "block"
})
})
})
}
}
"hover" == l.o.thumbnailNavigation && r.appendTo(t(e).find(".ls-bottom-slidebuttons")), t(e).find(".ls-bottom-slidebuttons a:eq(" + (l.o.firstSlide - 1) + ")").addClass("ls-nav-active")
}
if (l.o.navStartStop) var c = t('<a class="ls-nav-start" href="#" />').click(function(i) {
i.preventDefault(), t(e).layerSlider("start")
}).prependTo(t(e).find(".ls-bottom-nav-wrapper")),
u = t('<a class="ls-nav-stop" href="#" />').click(function(i) {
i.preventDefault(), t(e).layerSlider("stop")
}).appendTo(t(e).find(".ls-bottom-nav-wrapper"));
else "always" != l.o.thumbnailNavigation && (t('<span class="ls-nav-sides ls-nav-sideleft" />').prependTo(t(e).find(".ls-bottom-nav-wrapper")), t('<span class="ls-nav-sides ls-nav-sideright" />').appendTo(t(e).find(".ls-bottom-nav-wrapper")));
l.o.hoverBottomNav && "always" != l.o.thumbnailNavigation && (o.css({
display: "none"
}), t(e).hover(function() {
l.g.forceHideControls || (l.g.ie78 ? o.css("display", "block") : o.stop(!0, !0).fadeIn(300))
}, function() {
l.g.ie78 ? o.css("display", "none") : o.stop(!0, !0).fadeOut(300)
}))
}
if ("always" == l.o.thumbnailNavigation) {
l.g.thumbsWrapper = t('<div class="ls-thumbnail-wrapper"></div>').appendTo(t(e));
var r = t('<div class="ls-thumbnail"><div class="ls-thumbnail-inner"><div class="ls-thumbnail-slide-container"><div class="ls-thumbnail-slide"></div></div></div></div>').appendTo(l.g.thumbsWrapper);
if (l.g.thumbnails = t(e).find(".ls-thumbnail-slide-container"), "ontouchstart" in window ? l.g.thumbnails.addClass("ls-touchscroll") : l.g.thumbnails.hover(function() {
t(this).addClass("ls-thumbnail-slide-hover")
}, function() {
t(this).removeClass("ls-thumbnail-slide-hover"), l.scrollThumb()
}).mousemove(function(e) {
var i = parseInt(e.pageX - t(this).offset().left) / t(this).width() * (t(this).width() - t(this).find(".ls-thumbnail-slide").width());
t(this).find(".ls-thumbnail-slide").stop().css({
marginLeft: i
})
}), t(e).find(".ls-slide").each(function() {
var i, a = t(this).index() + 1;
i = l.o.imgPreload === !0 && l.o.lazyLoad === !0 ? t(this).find(".ls-tn").length ? t(this).find(".ls-tn").data("src") : t(this).find(".ls-videopreview").length ? t(this).find(".ls-videopreview").attr("src") : t(this).find(".ls-bg").length ? t(this).find(".ls-bg").data("src") : l.o.skinsPath + l.o.skin + "/nothumb.png" : t(this).find(".ls-tn").length ? t(this).find(".ls-tn").attr("src") : t(this).find(".ls-videopreview").length ? t(this).find(".ls-videopreview").attr("src") : t(this).find(".ls-bg").length ? t(this).find(".ls-bg").attr("src") : l.o.skinsPath + l.o.skin + "/nothumb.png";
var s = t('<a href="#" class="ls-thumb-' + a + '"><img src="' + i + '"></a>');
s.appendTo(t(e).find(".ls-thumbnail-slide")), "ontouchstart" in window || s.hover(function() {
t(this).children().stop().fadeTo(300, l.o.tnActiveOpacity / 100)
}, function() {
t(this).children().hasClass("ls-thumb-active") || t(this).children().stop().fadeTo(300, l.o.tnInactiveOpacity / 100)
}), s.click(function(i) {
i.preventDefault(), t(e).layerSlider(a)
})
}), c && u) {
var f = l.g.bottomWrapper = t('<div class="ls-bottom-nav-wrapper ls-below-thumbnails"></div>').appendTo(t(e));
c.clone().click(function(i) {
i.preventDefault(), t(e).layerSlider("start")
}).appendTo(f), u.clone().click(function(i) {
i.preventDefault(), t(e).layerSlider("stop")
}).appendTo(f)
}
l.o.hoverBottomNav && (l.g.thumbsWrapper.css("display", "none"), f && (l.g.bottomWrapper = "block" == f.css("display") ? f : t(e).find(".ls-above-thumbnails"), l.g.bottomWrapper.css("display", "none")), t(e).hover(function() {
t(e).addClass("ls-hover"), l.g.forceHideControls || (l.g.ie78 ? (l.g.thumbsWrapper.css("display", "block"), l.g.bottomWrapper && l.g.bottomWrapper.css("display", "block")) : (l.g.thumbsWrapper.stop(!0, !0).fadeIn(300), l.g.bottomWrapper && l.g.bottomWrapper.stop(!0, !0).fadeIn(300)))
}, function() {
t(e).removeClass("ls-hover"), l.g.ie78 ? (l.g.thumbsWrapper.css("display", "none"), l.g.bottomWrapper && l.g.bottomWrapper.css("display", "none")) : (l.g.thumbsWrapper.stop(!0, !0).fadeOut(300), l.g.bottomWrapper && l.g.bottomWrapper.stop(!0, !0).fadeOut(300))
}))
}
l.g.shadow = t('<div class="ls-shadow"></div>').appendTo(t(e)), "block" != l.g.shadow.css("display") || l.g.shadow.find("img").length || (l.g.showShadow = function() {
l.g.shadow.css({
display: "none",
visibility: "visible"
}).fadeIn(500, function() {
l.g.showShadow = !1
})
}, l.g.shadowImg = t("<img>").attr("src", l.o.skinsPath + l.o.skin + "/shadow.png").appendTo(l.g.shadow), l.g.shadowBtmMod = "number" == typeof parseInt(t(e).css("padding-bottom")) ? parseInt(t(e).css("padding-bottom")) : 0), l.resizeShadow(), l.o.keybNav && t(e).find(".ls-slide").length > 1 && t("body").bind("keydown", function(t) {
l.g.isAnimating || l.g.isLoading || (37 == t.which ? (l.o.cbPrev(l.g), l.prev("clicked")) : 39 == t.which && (l.o.cbNext(l.g), l.next("clicked")))
}), "ontouchstart" in window && t(e).find(".ls-slide").length > 1 && l.o.touchNav && (l.g.i.bind("touchstart", function(t) {
var e = t.touches ? t.touches : t.originalEvent.touches;
1 == e.length && (l.g.touchStartX = l.g.touchEndX = e[0].clientX)
}), l.g.i.bind("touchmove", function(t) {
var e = t.touches ? t.touches : t.originalEvent.touches;
1 == e.length && (l.g.touchEndX = e[0].clientX), Math.abs(l.g.touchStartX - l.g.touchEndX) > 45 && t.preventDefault()
}), l.g.i.bind("touchend", function() {
Math.abs(l.g.touchStartX - l.g.touchEndX) > 45 && (l.g.touchStartX - l.g.touchEndX > 0 ? (l.o.cbNext(l.g), t(e).layerSlider("next")) : (l.o.cbPrev(l.g), t(e).layerSlider("prev")))
})), 1 == l.o.pauseOnHover && t(e).find(".ls-slide").length > 1 && l.g.i.hover(function() {
l.o.cbPause(l.g), l.g.autoSlideshow && (l.g.paused = !0, l.stop(), l.g.barTimer && l.g.barTimer.stop(), l.g.circleTimer && l.g.cttl && l.g.cttl.pause(), l.g.pausedSlideTime = (new Date).getTime())
}, function() {
1 == l.g.paused && (l.start(), l.g.paused = !1)
}), l.resizeSlider(), l.o.yourLogo && (l.g.yourLogo = t("<img>").addClass("ls-yourlogo").appendTo(t(e)).attr("style", l.o.yourLogoStyle).css({
visibility: "hidden",
display: "bock"
}).load(function() {
var i = 0;
l.g.yourLogo || (i = 1e3), setTimeout(function() {
l.g.yourLogo.data("originalWidth", l.g.yourLogo.width()), l.g.yourLogo.data("originalHeight", l.g.yourLogo.height()), "auto" != l.g.yourLogo.css("left") && l.g.yourLogo.data("originalLeft", l.g.yourLogo[0].style.left), "auto" != l.g.yourLogo.css("right") && l.g.yourLogo.data("originalRight", l.g.yourLogo[0].style.right), "auto" != l.g.yourLogo.css("top") && l.g.yourLogo.data("originalTop", l.g.yourLogo[0].style.top), "auto" != l.g.yourLogo.css("bottom") && l.g.yourLogo.data("originalBottom", l.g.yourLogo[0].style.bottom), 0 != l.o.yourLogoLink && t("<a>").appendTo(t(e)).attr("href", l.o.yourLogoLink).attr("target", l.o.yourLogoTarget).css({
textDecoration: "none",
outline: "none"
}).append(l.g.yourLogo), l.g.yourLogo.css({
display: "none",
visibility: "visible"
}), l.resizeYourLogo()
}, i)
}).attr("src", l.o.yourLogo)), t(window).resize(function() {
l.resize()
}), t(window).on("orientationchange", function() {
t(window).resize()
}), l.g.showSlider = !0, 1 == l.o.animateFirstSlide ? (l.o.autoStart ? (l.g.autoSlideshow = !0, t(e).find(".ls-nav-start").addClass("ls-nav-start-active")) : t(e).find(".ls-nav-stop").addClass("ls-nav-stop-active"), l.next()) : "undefined" != typeof l.g.curLayer[0] && l.imgPreload(l.g.curLayer, function() {
l.g.curLayer.fadeIn(l.o.sliderFadeInDuration, function() {
l.g.isLoading = !1, t(this).addClass("ls-active"), l.o.autoPlayVideos && t(this).delay(t(this).data("delayin") + 25).queue(function() {
t(this).find(".ls-videopreview").click(), t(this).find("video, audio").each(function() {
0 !== typeof t(this)[0].currentTime && (t(this)[0].currentTime = 0), t(this).click()
}), t(this).dequeue()
}), l.g.curLayer.find(' > *[class*="ls-l"]').each(function() {
var e = t(this);
e.data("static") ? l["static"].remove(e) : (!e.hasClass("ls-video-layer") || e.hasClass("ls-video-layer") && l.o.autoPlayVideos === !1) && e.data("showuntil") > 0 && e.data("showUntilTimer", setTimeout(function() {
l.sublayerShowUntil(e)
}, e.data("showuntil")))
})
}), l.changeThumb(l.g.curLayerIndex), l.o.autoStart ? (l.g.isLoading = !1, l.start()) : t(e).find(".ls-nav-stop").addClass("ls-nav-stop-active")
}), l.o.cbInit(t(e))
}, l["static"] = {
remove: function(t) {
t.css("position", "absolute").appendTo(l.g.i)
},
appendToOriginal: function() {
t(e).find(".ls-appendtooriginal").each(function() {
t(this).removeClass("ls-appendtooriginal").appendTo(t(e).find(".ls-slide-" + t(this).data("originalSlide")))
})
}
}, l.resize = function() {
l.g.resize = !0, l.g.isAnimating || (l.makeResponsive(l.g.curLayer, function() {
l.g.ltContainer && l.g.ltContainer.empty(), l.g.resize = !1
}), l.g.yourLogo && l.resizeYourLogo())
}, l.start = function() {
l.g.autoSlideshow ? "prev" == l.g.prevNext && l.o.twoWaySlideshow ? l.prev() : l.next() : (l.g.autoSlideshow = !0, l.g.isAnimating || l.g.isLoading || l.timer()), t(e).find(".ls-nav-start").addClass("ls-nav-start-active"), t(e).find(".ls-nav-stop").removeClass("ls-nav-stop-active")
}, l.timer = function() {
if (t(e).find(".ls-active").data("ls")) var i = l.st.slideDelay;
else var i = l.o.slideDelay;
var a = t(e).find(".ls-active").data("slidedelay") ? parseInt(t(e).find(".ls-active").data("slidedelay")) : i;
if (!l.o.animateFirstSlide && !t(e).find(".ls-active").data("slidedelay")) {
var s = t(e).find(".ls-slide:eq(" + (l.o.firstSlide - 1) + ")").data("slidedelay");
a = s ? s : i
}
if (clearTimeout(l.g.slideTimer), l.g.pausedSlideTime ? (l.g.startSlideTime || (l.g.startSlideTime = (new Date).getTime()), l.g.startSlideTime > l.g.pausedSlideTime && (l.g.pausedSlideTime = (new Date).getTime()), l.g.curSlideTime || (l.g.curSlideTime = a), l.g.curSlideTime -= l.g.pausedSlideTime - l.g.startSlideTime, l.g.pausedSlideTime = !1, l.g.startSlideTime = (new Date).getTime()) : (l.g.curSlideTime = a, l.g.startSlideTime = (new Date).getTime()), l.g.curSlideTime = parseInt(l.g.curSlideTime), l.g.slideTimer = setTimeout(function() {
l.g.startSlideTime = l.g.pausedSlideTime = l.g.curSlideTime = !1, l.start()
}, l.g.curSlideTime), l.g.barTimer && l.g.barTimer.animate({
width: l.g.sliderWidth()
}, l.g.curSlideTime, "linear", function() {
t(this).css({
width: 0
})
}), l.g.circleTimer) {
var o = l.g.circleTimer.find(".ls-ct-right .ls-ct-rotate"),
r = l.g.circleTimer.find(".ls-ct-left .ls-ct-rotate");
"none" == l.g.circleTimer.css("display") && (o.css({
rotate: 0
}), r.css({
rotate: 0
}), l.g.circleTimer.fadeIn(350)), l.g.cttl ? l.g.cttl.resume() : (l.g.cttl = new TimelineLite, l.g.cttl.add(TweenLite.fromTo(o[0], a / 2e3, {
rotation: 0
}, {
ease: Linear.easeNone,
rotation: 180,
onReverseComplete: function() {
l.g.cttl = !1
}
})), l.g.cttl.add(TweenLite.fromTo(r[0], a / 2e3, {
rotation: 0
}, {
ease: Linear.easeNone,
rotation: 180
})))
}
}, l.stop = function() {
l.g.pausedSlideTime = (new Date).getTime(), l.g.barTimer && l.g.barTimer.stop(), l.g.circleTimer && l.g.cttl && l.g.cttl.pause(), l.g.paused || l.g.originalAutoSlideshow || (t(e).find(".ls-nav-stop").addClass("ls-nav-stop-active"), t(e).find(".ls-nav-start").removeClass("ls-nav-start-active")), clearTimeout(l.g.slideTimer), l.g.autoSlideshow = !1
}, l.forcestop = function() {
clearTimeout(l.g.slideTimer), l.g.autoSlideshow = !1, clearTimeout(l.g.t1), clearTimeout(l.g.t2), clearTimeout(l.g.t3), clearTimeout(l.g.t4), clearTimeout(l.g.t5), l.g.barTimer && l.g.barTimer.stop(), l.g.circleTimer && l.g.cttl && l.g.cttl.pause(), t(e).find("*").stop(!0, !1).dequeue(), t(e).find(".ls-slide >").each(function() {
t(this).data("tr") && t(this).data("tr").pause()
}), l.g.paused || l.g.originalAutoSlideshow || (t(e).find(".ls-nav-stop").addClass("ls-nav-stop-active"), t(e).find(".ls-nav-start").removeClass("ls-nav-start-active"))
}, l.restart = function() {
t(e).find("*").stop(), clearTimeout(l.g.slideTimer), l.change(l.g.curLayerIndex, l.g.prevNext)
}, l.ieEasing = function(e) {
return "swing" == t.trim(e.toLowerCase()) || "linear" == t.trim(e.toLowerCase()) ? e.toLowerCase() : e.replace("easeinout", "easeInOut").replace("easein", "easeIn").replace("easeout", "easeOut").replace("quad", "Quad").replace("quart", "Quart").replace("cubic", "Cubic").replace("quint", "Quint").replace("sine", "Sine").replace("expo", "Expo").replace("circ", "Circ").replace("elastic", "Elastic").replace("back", "Back").replace("bounce", "Bounce")
}, l.prev = function(t) {
if (l.g.curLayerIndex < 2 && (l.g.nextLoop += 1), l.g.nextLoop > l.o.loops && l.o.loops > 0 && !t) l.g.nextLoop = 0, l.stop(), 0 == l.o.forceLoopNum && (l.o.loops = 0);
else {
var e = l.g.curLayerIndex < 2 ? l.g.layersNum : l.g.curLayerIndex - 1;
l.g.prevNext = "prev", l.change(e, l.g.prevNext)
}
}, l.next = function(t) {
if (l.o.randomSlideshow)
if (t) {
if (t) {
var e = l.g.curLayerIndex < l.g.layersNum ? l.g.curLayerIndex + 1 : 1;
l.g.prevNext = "next", l.change(e, l.g.prevNext)
}
} else {
var e = l.g.curLayerIndex,
i = function() {
e = Math.floor(Math.random() * l.g.layersNum) + 1, e == l.g.curLayerIndex ? i() : (l.g.prevNext = "next", l.change(e, l.g.prevNext))
};
i()
} else if (l.g.curLayerIndex < l.g.layersNum || (l.g.nextLoop += 1), l.g.nextLoop > l.o.loops && l.o.loops > 0 && !t) l.g.nextLoop = 0, l.stop(), 0 == l.o.forceLoopNum && (l.o.loops = 0);
else {
var e = l.g.curLayerIndex < l.g.layersNum ? l.g.curLayerIndex + 1 : 1;
l.g.prevNext = "next", l.change(e, l.g.prevNext)
}
}, l.media = {
youtube: {
init: function() {
var i = -1 === document.location.href.indexOf("file:") ? "" : "http:",
a = t(e).find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]');
if (a.length) {
t("<script>").attr({
src: i + "//www.youtube.com/iframe_api",
type: "text/javascript"
}).appendTo("head"); {
a.length
}
window.onYouTubeIframeAPIReady = function() {
a.each(function() {
if (t(this).parent().addClass("ls-video-layer"), t(this).parent('[class*="ls-l"]')) {
var e = i,
a = t("<div>").addClass("ls-vpcontainer").appendTo(t(this).parent());
t("<img>").appendTo(a).addClass("ls-videopreview").attr("alt", "Play video").attr("src", e + "//img.youtube.com/vi/" + t(this).attr("src").split("embed/")[1].split("?")[0] + "/" + l.o.youtubePreview), t("<div>").appendTo(a).addClass("ls-playvideo"), t(this).parent().css({
width: t(this).width(),
height: t(this).height()
}).click(function() {
var e = t(this).find("iframe");
if (e.css("display", "block"), t(this).data("showuntil") > 0 && t(this).data("showUntilTimer") && clearTimeout(t(this).data("showUntilTimer")), l.g.pausedByVideo || (l.g.isAnimating = !0, l.g.paused ? (0 != l.o.autoPauseSlideshow && (l.g.paused = !1), l.g.originalAutoSlideshow = !0) : l.g.originalAutoSlideshow = l.g.autoSlideshow, 0 != l.o.autoPauseSlideshow && l.stop(), l.g.pausedByVideo = !0), "undefined" == typeof e.data("ytplayer")) {
e.attr("src", s);
var i = function(t) {
0 === t.data && (l.g.numYouTubeCurSlide += 1, "auto" == l.o.autoPauseSlideshow && 1 == l.g.originalAutoSlideshow && l.g.numYouTubeCurSlide == l.g.curLayer.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]').length && (l.g.curSlideTime = 1, l.start()))
},
a = function(t) {
t.target.playVideo()
};
e.data("ytplayer", new YT.Player(e[0], {
events: {
onReady: a,
onStateChange: i
}
}))
} else e.data("ytplayer").playVideo();
t(this).find(".ls-vpcontainer").delay(l.g.v.d).fadeOut(l.g.v.fo, function() {
l.g.isAnimating = !1, 1 == l.g.resize && l.makeResponsive(l.g.curLayer, function() {
l.g.resize = !1
})
})
}), e = -1 === t(this).attr("src").indexOf("http") ? i : "";
var s = e + t(this).attr("src"),
o = "&"; - 1 == s.indexOf("?") && (o = "?"), -1 == s.indexOf("autoplay") ? s += o : s.replace("autoplay=1", "autoplay=0"), s += "&wmode=opaque&html5=1&enablejsapi=1&version=3", t(this).data("videoSrc", s), t(this).data("originalWidth", t(this).attr("width")), t(this).data("originalHeight", t(this).attr("height")), t(this).attr("src", "")
}
})
}
}
},
play: function() {},
stop: function(t) {
t.parent().find(".ls-vpcontainer").fadeIn(l.g.v.fi, function() {
t.parent().find("iframe").css("display", "none"), t.parent().find("iframe").data("ytplayer").stopVideo().seekTo(0)
})
}
},
vimeo: {
init: function() {
var i = -1 === document.location.href.indexOf("file:") ? "" : "http:";
t(e).find('iframe[src*="player.vimeo"]').each(function() {
if (t(this).parent().addClass("ls-video-layer"), t(this).parent('[class*="ls-l"]')) {
var e = t(this),
a = i,
s = t("<div>").addClass("ls-vpcontainer").appendTo(t(this).parent());
t.getJSON(a + "//vimeo.com/api/v2/video/" + t(this).attr("src").split("video/")[1].split("?")[0] + ".json?callback=?", function(i) {
t("<img>").appendTo(s).addClass("ls-videopreview").attr("alt", "Play video").attr("src", i[0].thumbnail_large), e.data("videoDuration", 1e3 * parseInt(i[0].duration)), t("<div>").appendTo(s).addClass("ls-playvideo")
}), t(this).parent().css({
width: t(this).width(),
height: t(this).height()
}).click(function() {
t(this).data("showuntil") > 0 && t(this).data("showUntilTimer") && clearTimeout(t(this).data("showUntilTimer")), l.g.isAnimating = !0, l.g.paused ? (0 != l.o.autoPauseSlideshow && (l.g.paused = !1), l.g.originalAutoSlideshow = !0) : l.g.originalAutoSlideshow = l.g.autoSlideshow, 0 != l.o.autoPauseSlideshow && l.stop(), l.g.pausedByVideo = !0, a = -1 === t(this).find("iframe").data("videoSrc").indexOf("http") ? i : "", t(this).find("iframe").attr("src", a + t(this).find("iframe").data("videoSrc")), t(this).find(".ls-vpcontainer").delay(l.g.v.d).fadeOut(l.g.v.fo, function() {
if ("auto" == l.o.autoPauseSlideshow && 1 == l.g.originalAutoSlideshow) {
var t = setTimeout(function() {
l.start()
}, e.data("videoDuration") - l.g.v.d);
e.data("videoTimer", t)
}
l.g.isAnimating = !1, 1 == l.g.resize && l.makeResponsive(l.g.curLayer, function() {
l.g.resize = !1
})
})
});
var o = "&"; - 1 == t(this).attr("src").indexOf("?") && (o = "?");
var r = "&wmode=opaque"; - 1 == t(this).attr("src").indexOf("autoplay") ? t(this).data("videoSrc", t(this).attr("src") + o + "autoplay=1" + r) : t(this).data("videoSrc", t(this).attr("src").replace("autoplay=0", "autoplay=1") + r), t(this).data("originalWidth", t(this).attr("width")), t(this).data("originalHeight", t(this).attr("height")), t(this).attr("src", "")
}
})
},
play: function() {},
stop: function(t) {
t.parent().find(".ls-vpcontainer").fadeIn(l.g.v.fi, function() {
t.parent().find("iframe").attr("src", "")
})
}
},
html5: {
init: function() {
t(e).find("video, audio").each(function() {
var e = "undefined" != typeof t(this).attr("width") ? t(this).attr("width") : "640",
i = "undefined" != typeof t(this).attr("height") ? t(this).attr("height") : "" + t(this).height(); - 1 === e.indexOf("%") && (e = parseInt(e)), -1 === i.indexOf("%") && (i = parseInt(i)), "100%" !== e || 0 !== i && "0" !== i && "100%" !== i || (t(this).attr("height", "100%"), i = "auto"), t(this).parent().addClass("ls-video-layer").css({
width: e,
height: i
}).data({
originalWidth: e,
originalHeight: i
});
t(this);
t(this).on("ended", function() {
"auto" === l.o.autoPauseSlideshow && l.g.originalAutoSlideshow === !0 && l.start()
}), t(this).removeAttr("width").removeAttr("height").css({
width: "100%",
height: "100%"
}).click(function(t) {
l.g.pausedByVideo || (this.paused && t.preventDefault(), this.play(), l.g.isAnimating = !0, l.g.paused ? (l.o.autoPauseSlideshow !== !1 && (l.g.paused = !1), l.g.originalAutoSlideshow = !0) : l.g.originalAutoSlideshow = l.g.autoSlideshow, l.o.autoPauseSlideshow !== !1 && l.stop(), l.g.pausedByVideo = !0, l.g.isAnimating = !1, l.g.resize === !0 && l.makeResponsive(l.g.curLayer, function() {
l.g.resize = !1
}))
})
})
},
play: function() {},
stop: function(t) {
t[0].pause()
}
}
}, l.change = function(i, a) {
l.g.startSlideTime = l.g.pausedSlideTime = l.g.curSlideTime = !1, l.g.barTimer && l.g.barTimer.stop().delay(300).animate({
width: 0
}, 450), l.g.circleTimer && (l.g.circleTimer.fadeOut(500), l.g.cttl && l.g.cttl.reverse().duration(.35)), 1 == l.g.pausedByVideo && (l.g.pausedByVideo = !1, l.g.autoSlideshow = l.g.originalAutoSlideshow, l.g.curLayer.find('iframe[src*="youtube.com"], iframe[src*="youtu.be"]').each(function() {
l.media.youtube.stop(t(this))
}), l.g.curLayer.find('iframe[src*="player.vimeo"]').each(function() {
l.media.vimeo.stop(t(this))
}), l.g.curLayer.find("video, audio").each(function() {
l.media.html5.stop(t(this))
})), t(e).find('iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[src*="player.vimeo"]').each(function() {
clearTimeout(t(this).data("videoTimer"))
}), clearTimeout(l.g.slideTimer), l.g.nextLayerIndex = i, l.g.nextLayer = t(e).find(".ls-slide:eq(" + (l.g.nextLayerIndex - 1) + ")"), a || (l.g.prevNext = l.g.curLayerIndex < l.g.nextLayerIndex ? "next" : "prev");
var s = 0;
t(e).find('iframe[src*="youtube.com"], iframe[src*="youtu.be"], iframe[src*="player.vimeo"]').length > 0 && (s = l.g.v.fi), "undefined" != typeof l.g.nextLayer[0] && l.imgPreload(l.g.nextLayer, function() {
l.animate()
})
}, l.imgPreload = function(i, a) {
if (l.g.isLoading = !0, l.g.showSlider && t(e).css({
visibility: "visible"
}), l.o.imgPreload) {
var s = [],
o = 0;
if ("none" != i.css("background-image") && -1 != i.css("background-image").indexOf("url") && !i.hasClass("ls-preloaded") && !i.hasClass("ls-not-preloaded")) {
var r = i.css("background-image");
r = r.match(/url\((.*)\)/)[1].replace(/"/gi, ""), s[s.length] = [r, i]
}
if (i.find("img:not(.ls-preloaded, .ls-not-preloaded)").each(function() {
l.o.lazyLoad === !0 && t(this).attr("src", t(this).data("src")), s[s.length] = [t(this).attr("src"), t(this)]
}), i.find("*").each(function() {
if ("none" != t(this).css("background-image") && -1 != t(this).css("background-image").indexOf("url") && !t(this).hasClass("ls-preloaded") && !t(this).hasClass("ls-not-preloaded")) {
var e = t(this).css("background-image");
e = e.match(/url\((.*)\)/)[1].replace(/"/gi, ""), s[s.length] = [e, t(this)]
}
}), 0 == s.length) t(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({
visibility: "visible"
}), l.makeResponsive(i, a);
else {
l.g.ie78 ? l.g.li.css("display", "block") : l.g.li.delay(400).fadeIn(300);
var n = function() {
l.g.li.stop(!0, !0).css({
display: "none"
}), t(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({
visibility: "visible"
}), -1 !== navigator.userAgent.indexOf("Trident/7") || l.g.ie78 ? setTimeout(function() {
l.makeResponsive(i, a)
}, 50) : l.makeResponsive(i, a)
};
for (x = 0; x < s.length; x++) t("<img>").data("el", s[x]).load(function() {
t(this).data("el")[1].addClass("ls-preloaded"), ++o == s.length && n()
}).error(function() {
var e = t(this).data("el")[0].substring(t(this).data("el")[0].lastIndexOf("/") + 1, t(this).data("el")[0].length);
window.console ? console.log('LayerSlider error:\r\n\r\nIt seems like the URL of the image or background image "' + e + '" is pointing to a wrong location and it cannot be loaded. Please check the URLs of all your images used in the slider.') : alert('LayerSlider error:\r\n\r\nIt seems like the URL of the image or background image "' + e + '" is pointing to a wrong location and it cannot be loaded. Please check the URLs of all your images used in the slider.'), t(this).addClass("ls-not-preloaded"), ++o == s.length && n()
}).attr("src", s[x][0])
}
} else t(".ls-thumbnail-wrapper, .ls-nav-next, .ls-nav-prev, .ls-bottom-nav-wrapper").css({
visibility: "visible"
}), l.makeResponsive(i, a)
}, l.makeResponsive = function(i, a) {
i.css({
visibility: "hidden",
display: "block"
}), l.g.showShadow && l.g.showShadow(), l.resizeSlider(), "always" == l.o.thumbnailNavigation && l.resizeThumb();
var s = i.children();
s = s.add(t(e).find(".ls-inner > .ls-static")), s.each(function() {
var e = t(this),
i = e.data("originalLeft") ? e.data("originalLeft") : "0",
a = e.data("originalTop") ? e.data("originalTop") : "0";
e.is("a") && e.children().length > 0 && (e.css({
display: "block"
}), e = e.children());
var s = "auto",
o = "auto";
e.data("originalWidth") && ("number" == typeof e.data("originalWidth") ? s = parseInt(e.data("originalWidth")) * l.g.ratio : -1 != e.data("originalWidth").indexOf("%") && (s = e.data("originalWidth"))), e.data("originalHeight") && ("number" == typeof e.data("originalHeight") ? o = parseInt(e.data("originalHeight")) * l.g.ratio : -1 != e.data("originalHeight").indexOf("%") && (o = e.data("originalHeight")));
var r = e.data("originalPaddingLeft") ? parseInt(e.data("originalPaddingLeft")) * l.g.ratio : 0,
n = e.data("originalPaddingRight") ? parseInt(e.data("originalPaddingRight")) * l.g.ratio : 0,
d = e.data("originalPaddingTop") ? parseInt(e.data("originalPaddingTop")) * l.g.ratio : 0,
g = e.data("originalPaddingBottom") ? parseInt(e.data("originalPaddingBottom")) * l.g.ratio : 0,
h = e.data("originalBorderLeft") ? parseInt(e.data("originalBorderLeft")) * l.g.ratio : 0,
c = e.data("originalBorderRight") ? parseInt(e.data("originalBorderRight")) * l.g.ratio : 0,
u = e.data("originalBorderTop") ? parseInt(e.data("originalBorderTop")) * l.g.ratio : 0,
f = e.data("originalBorderBottom") ? parseInt(e.data("originalBorderBottom")) * l.g.ratio : 0,
p = e.data("originalFontSize"),
m = e.data("originalLineHeight");
if (l.g.responsiveMode || l.o.responsiveUnder > 0) {
if (e.is("img") && !e.hasClass("ls-bg") && e.attr("src") && (e.css({
width: "auto",
height: "auto"
}), 0 != s && "auto" != s || "number" != typeof o || 0 == o || (s = o / e.height() * e.width()), 0 != o && "auto" != o || "number" != typeof s || 0 == s || (o = s / e.width() * e.height()), "auto" == s && (s = e.width() * l.g.ratio), "auto" == o && (o = e.height() * l.g.ratio), e.css({
width: s,
height: o
})), e.is("img") || e.css({
width: s,
height: o,
"font-size": parseInt(p) * l.g.ratio + "px",
"line-height": parseInt(m) * l.g.ratio + "px"
}), e.is("div") && e.find("iframe").data("videoSrc")) {
var v = e.find("iframe");
v.attr("width", parseInt(v.data("originalWidth")) * l.g.ratio).attr("height", parseInt(v.data("originalHeight")) * l.g.ratio), e.css({
width: parseInt(v.data("originalWidth")) * l.g.ratio,
height: parseInt(v.data("originalHeight")) * l.g.ratio
})
}
e.css({
padding: d + "px " + n + "px " + g + "px " + r + "px ",
borderLeftWidth: h + "px",
borderRightWidth: c + "px",
borderTopWidth: u + "px",
borderBottomWidth: f + "px"
})
}
if (e.hasClass("ls-bg")) {
var y = l.g.i;
e.css({
width: "auto",
height: "auto"
}), s = e.width(), o = e.height();
var b = l.g.ratio; - 1 != l.g.sliderOriginalWidth.indexOf("%") && (l.g.sliderWidth() > s ? (b = l.g.sliderWidth() / s, l.g.sliderHeight() > o * b && (b = l.g.sliderHeight() / o)) : l.g.sliderHeight() > o && (b = l.g.sliderHeight() / o, l.g.sliderWidth() > s * b && (b = l.g.sliderWidth() / s))), e.css({
width: s * b,
height: o * b,
marginLeft: y.width() / 2 - s * b / 2,
marginTop: y.height() / 2 - o * b / 2
})
} else {
var w = e;
e.parent().is("a") && (e = e.parent());
var x = 0;
l.o.layersContainer ? x = l.o.layersContainer > 0 ? (l.g.sliderWidth() - l.o.layersContainer) / 2 : 0 : l.o.sublayerContainer && (x = l.o.sublayerContainer > 0 ? (l.g.sliderWidth() - l.o.sublayerContainer) / 2 : 0), x = 0 > x ? 0 : x, -1 != i.indexOf("%") ? e.css({
left: l.g.sliderWidth() / 100 * parseInt(i) - w.width() / 2 - r - h
}) : (x > 0 || l.g.responsiveMode || l.o.responsiveUnder > 0) && e.css({
left: x + parseInt(i) * l.g.ratio
}), -1 != a.indexOf("%") ? e.css({
top: l.g.sliderHeight() / 100 * parseInt(a) - w.height() / 2 - d - u
}) : (l.g.responsiveMode || l.o.responsiveUnder > 0) && e.css({
top: parseInt(a) * l.g.ratio
})
}
}), i.css({
display: "none",
visibility: "visible"
}), l.resizeShadow(), a(), t(this).dequeue()
}, l.resizeShadow = function() {
if (l.g.shadowImg) {
var t = function() {
l.g.shadowImg.height() > 0 ? l.g.shadow.css(l.g.shadowBtmMod > 0 ? {
height: l.g.shadowImg.height() / 2
} : {
height: l.g.shadowImg.height(),
marginTop: -l.g.shadowImg.height() / 2
}) : setTimeout(function() {
t()
}, 50)
};
t()
}
}, l.resizeSlider = function() {
if (l.o.responsiveUnder > 0 && (t(window).width() < l.o.responsiveUnder ? (l.g.responsiveMode = !0, l.g.sliderOriginalWidth = l.o.responsiveUnder + "px") : (l.g.responsiveMode = !1, l.g.sliderOriginalWidth = l.g.sliderOriginalWidthRU, l.g.ratio = 1)), t(e).closest(".ls-wp-fullwidth-container").length && t(e).closest(".ls-wp-fullwidth-helper").css({
width: t(window).width()
}), l.g.responsiveMode) {
var i = t(e).parent();
l.o.fullScreen === !0 ? t(e).css({
width: "100%",
height: t(window).height()
}) : (t(e).css({
width: i.width() - parseInt(t(e).css("padding-left")) - parseInt(t(e).css("padding-right"))
}), l.g.ratio = t(e).width() / parseInt(l.g.sliderOriginalWidth), t(e).css({
height: l.g.ratio * parseInt(l.g.sliderOriginalHeight)
}))
} else l.g.ratio = 1, t(e).css({
width: l.g.sliderOriginalWidth,
height: l.g.sliderOriginalHeight
});
if (t(e).closest(".ls-wp-fullwidth-container").length && (t(e).closest(".ls-wp-fullwidth-helper").css({
height: t(e).outerHeight(!0)
}), t(e).closest(".ls-wp-fullwidth-container").css({
height: t(e).outerHeight(!0)
}), t(e).closest(".ls-wp-fullwidth-helper").css({
width: t(window).width(),
left: -t(e).closest(".ls-wp-fullwidth-container").offset().left
}), -1 != l.g.sliderOriginalWidth.indexOf("%"))) {
var a = parseInt(l.g.sliderOriginalWidth),
s = t("body").width() / 100 * a - (t(e).outerWidth() - t(e).width());
t(e).width(s)
}
t(e).find(".ls-inner, .ls-lt-container").css({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
}), l.g.curLayer && l.g.nextLayer ? (l.g.curLayer.css({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
}), l.g.nextLayer.css({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
})) : t(e).find(".ls-slide").css({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
})
}, l.resizeYourLogo = function() {
l.g.yourLogo.css({
width: l.g.yourLogo.data("originalWidth") * l.g.ratio,
height: l.g.yourLogo.data("originalHeight") * l.g.ratio
}), l.g.ie78 ? l.g.yourLogo.css("display", "block") : l.g.yourLogo.fadeIn(300);
var i = oR = oT = oB = "auto";
i = l.g.yourLogo.data("originalLeft") && -1 != l.g.yourLogo.data("originalLeft").indexOf("%") ? l.g.sliderWidth() / 100 * parseInt(l.g.yourLogo.data("originalLeft")) - l.g.yourLogo.width() / 2 + parseInt(t(e).css("padding-left")) : parseInt(l.g.yourLogo.data("originalLeft")) * l.g.ratio, oR = l.g.yourLogo.data("originalRight") && -1 != l.g.yourLogo.data("originalRight").indexOf("%") ? l.g.sliderWidth() / 100 * parseInt(l.g.yourLogo.data("originalRight")) - l.g.yourLogo.width() / 2 + parseInt(t(e).css("padding-right")) : parseInt(l.g.yourLogo.data("originalRight")) * l.g.ratio, oT = l.g.yourLogo.data("originalTop") && -1 != l.g.yourLogo.data("originalTop").indexOf("%") ? l.g.sliderHeight() / 100 * parseInt(l.g.yourLogo.data("originalTop")) - l.g.yourLogo.height() / 2 + parseInt(t(e).css("padding-top")) : parseInt(l.g.yourLogo.data("originalTop")) * l.g.ratio, oB = l.g.yourLogo.data("originalBottom") && -1 != l.g.yourLogo.data("originalBottom").indexOf("%") ? l.g.sliderHeight() / 100 * parseInt(l.g.yourLogo.data("originalBottom")) - l.g.yourLogo.height() / 2 + parseInt(t(e).css("padding-bottom")) : parseInt(l.g.yourLogo.data("originalBottom")) * l.g.ratio, l.g.yourLogo.css({
left: i,
right: oR,
top: oT,
bottom: oB
})
}, l.resizeThumb = function() {
l.bottomNavSizeHelper("on");
var i = -1 == l.g.sliderOriginalWidth.indexOf("%") ? parseInt(l.g.sliderOriginalWidth) : l.g.sliderWidth();
t(e).find(".ls-thumbnail-slide a").css({
width: parseInt(l.o.tnWidth * l.g.ratio),
height: parseInt(l.o.tnHeight * l.g.ratio)
}), t(e).find(".ls-thumbnail-slide a:last").css({
margin: 0
}), t(e).find(".ls-thumbnail-slide").css({
height: parseInt(l.o.tnHeight * l.g.ratio)
});
var a = t(e).find(".ls-thumbnail"),
s = parseInt(-1 == l.o.tnContainerWidth.indexOf("%") ? l.o.tnContainerWidth : i / 100 * parseInt(l.o.tnContainerWidth));
a.css({
width: s * Math.floor(100 * l.g.ratio) / 100
}), a.width() > t(e).find(".ls-thumbnail-slide").width() && a.css({
width: t(e).find(".ls-thumbnail-slide").width()
}), l.bottomNavSizeHelper("off")
}, l.changeThumb = function(i) {
var a = i ? i : l.g.nextLayerIndex;
t(e).find(".ls-thumbnail-slide a:not(.ls-thumb-" + a + ")").children().each(function() {
t(this).removeClass("ls-thumb-active").stop().fadeTo(750, l.o.tnInactiveOpacity / 100)
}), t(e).find(".ls-thumbnail-slide a.ls-thumb-" + a).children().addClass("ls-thumb-active").stop().fadeTo(750, l.o.tnActiveOpacity / 100)
}, l.scrollThumb = function() {
if (!t(e).find(".ls-thumbnail-slide-container").hasClass("ls-thumbnail-slide-hover")) {
var i = t(e).find(".ls-thumb-active").length ? t(e).find(".ls-thumb-active").parent() : !1;
if (i) {
var a = i.position().left + i.width() / 2,
s = t(e).find(".ls-thumbnail-slide-container").width() / 2 - a;
s = s < t(e).find(".ls-thumbnail-slide-container").width() - t(e).find(".ls-thumbnail-slide").width() ? t(e).find(".ls-thumbnail-slide-container").width() - t(e).find(".ls-thumbnail-slide").width() : s, s = s > 0 ? 0 : s, t(e).find(".ls-thumbnail-slide").animate({
marginLeft: s
}, 600)
}
}
}, l.bottomNavSizeHelper = function(i) {
if (l.o.hoverBottomNav && !t(e).hasClass("ls-hover")) switch (i) {
case "on":
l.g.thumbsWrapper.css({
visibility: "hidden",
display: "block"
});
break;
case "off":
l.g.thumbsWrapper.css({
visibility: "visible",
display: "none"
})
}
}, l.animate = function() {
l.g.numYouTubeCurSlide = 0, t(e).find(".ls-slide").length > 1 && (l.g.isAnimating = !0), l.g.isLoading = !1, clearTimeout(l.g.slideTimer), clearTimeout(l.g.changeTimer), l.g.stopLayer = l.g.curLayer, l.o.cbAnimStart(l.g), "always" == l.o.thumbnailNavigation && (l.changeThumb(), "ontouchstart" in window || l.scrollThumb()), l.g.nextLayer.addClass("ls-animating"), l["static"].appendToOriginal();
var i = curLayerRight = curLayerTop = curLayerBottom = nextLayerLeft = nextLayerRight = nextLayerTop = nextLayerBottom = layerMarginLeft = layerMarginRight = layerMarginTop = layerMarginBottom = "auto",
d = nextLayerWidth = l.g.sliderWidth(),
g = nextLayerHeight = l.g.sliderHeight(),
h = "prev" == l.g.prevNext ? l.g.curLayer : l.g.nextLayer,
c = h.data("slidedirection") ? h.data("slidedirection") : l.o.slideDirection,
u = l.g.slideDirections[l.g.prevNext][c];
switch (("left" == u || "right" == u) && (d = curLayerTop = nextLayerWidth = nextLayerTop = 0, layerMarginTop = 0), ("top" == u || "bottom" == u) && (g = i = nextLayerHeight = nextLayerLeft = 0, layerMarginLeft = 0), u) {
case "left":
curLayerRight = nextLayerLeft = 0, layerMarginLeft = -l.g.sliderWidth();
break;
case "right":
i = nextLayerRight = 0, layerMarginLeft = l.g.sliderWidth();
break;
case "top":
curLayerBottom = nextLayerTop = 0, layerMarginTop = -l.g.sliderHeight();
break;
case "bottom":
curLayerTop = nextLayerBottom = 0, layerMarginTop = l.g.sliderHeight()
}
l.g.curLayer.css({
left: i,
right: curLayerRight,
top: curLayerTop,
bottom: curLayerBottom
}), l.g.nextLayer.css({
width: nextLayerWidth,
height: nextLayerHeight,
left: nextLayerLeft,
right: nextLayerRight,
top: nextLayerTop,
bottom: nextLayerBottom
});
var f = l.g.curLayer.data("delayout") ? parseInt(l.g.curLayer.data("delayout")) : l.o.delayOut,
p = l.g.curLayer.data("durationout") ? parseInt(l.g.curLayer.data("durationout")) : l.o.durationOut,
m = l.g.curLayer.data("easingout") ? l.g.curLayer.data("easingout") : l.o.easingOut,
v = l.g.nextLayer.data("delayin") ? parseInt(l.g.nextLayer.data("delayin")) : l.o.delayIn,
y = l.g.nextLayer.data("durationin") ? parseInt(l.g.nextLayer.data("durationin")) : l.o.durationIn;
0 === y && (y = 1);
var b = l.g.nextLayer.data("easingin") ? l.g.nextLayer.data("easingin") : l.o.easingIn,
w = function() {
l.g.curLayer.delay(f + p / 15).animate({
width: d,
height: g
}, p, m, function() {
x()
})
},
x = function() {
if (l.g.stopLayer.find(' > *[class*="ls-l"]').each(function() {
t(this).data("tr") && t(this).data("tr").kill(), t(this).css({
filter: "none"
})
}), l.g.curLayer = l.g.nextLayer, l.g.prevLayerIndex = l.g.curLayerIndex, l.g.curLayerIndex = l.g.nextLayerIndex, l.o.cbAnimStop(l.g), l.o.imgPreload && l.o.lazyLoad) {
var i = l.g.curLayerIndex == l.g.layersNum ? 1 : l.g.curLayerIndex + 1;
t(e).find(".ls-slide").eq(i - 1).find("img:not(.ls-preloaded)").each(function() {
t(this).load(function() {
t(this).addClass("ls-preloaded")
}).error(function() {
var e = t(this).data("src").substring(t(this).data("src").lastIndexOf("/") + 1, t(this).data("src").length);
window.console ? console('LayerSlider error:\r\n\r\nIt seems like the URL of the image or background image "' + e + '" is pointing to a wrong location and it cannot be loaded. Please check the URLs of all your images used in the slider.') : alert('LayerSlider error:\r\n\r\nIt seems like the URL of the image or background image "' + e + '" is pointing to a wrong location and it cannot be loaded. Please check the URLs of all your images used in the slider.'), t(this).addClass("ls-not-preloaded")
}).attr("src", t(this).data("src"))
})
}
t(e).find(".ls-slide").removeClass("ls-active"), t(e).find(".ls-slide:eq(" + (l.g.curLayerIndex - 1) + ")").addClass("ls-active").removeClass("ls-animating"), t(e).find(".ls-bottom-slidebuttons a").removeClass("ls-nav-active"), t(e).find(".ls-bottom-slidebuttons a:eq(" + (l.g.curLayerIndex - 1) + ")").addClass("ls-nav-active"), l.g.autoSlideshow && l.timer(), l.g.isAnimating = !1, 1 == l.g.resize && l.makeResponsive(l.g.curLayer, function() {
l.g.resize = !1
})
},
S = function(i) {
var s = l.g.curLayer.find(' > *[class*="ls-l"]');
t(e).find(".ls-inner > .ls-static").each(function() {
t(this).data("static") === l.g.curLayerIndex && (s = s.add(t(this).addClass("ls-appendtooriginal")))
}), s.each(function() {
if ("undefined" == typeof t(this).data("originalSlide") || "undefined" != typeof t(this).data("originalSlide") && t(this).data("originalSlide") !== l.g.curLayerIndex) {
t(this).data("transitiontype") || l.transitionType(t(this)), t(this).removeClass("ls-videohack");
var e, s, o = t(this).data("slidedirection") ? t(this).data("slidedirection") : u;
switch (o) {
case "left":
e = -l.g.sliderWidth(), s = 0;
break;
case "right":
e = l.g.sliderWidth(), s = 0;
break;
case "top":
s = -l.g.sliderHeight(), e = 0;
break;
case "bottom":
s = l.g.sliderHeight(), e = 0;
break;
case "fade":
s = 0, e = 0
}
if ("new" === t(this).data("transitiontype")) var r = "new";
else var r = t(this).data("slideoutdirection") ? t(this).data("slideoutdirection") : !1;
switch (r) {
case "left":
e = l.g.sliderWidth(), s = 0;
break;
case "right":
e = -l.g.sliderWidth(), s = 0;
break;
case "top":
s = l.g.sliderHeight(), e = 0;
break;
case "bottom":
s = -l.g.sliderHeight(), e = 0;
break;
case "fade":
s = 0, e = 0;
break;
case "new":
e = t(this).data("offsetxout") ? "left" === t(this).data("offsetxout") ? l.g.sliderWidth() : "right" === t(this).data("offsetxout") ? -l.g.sliderWidth() : -parseInt(t(this).data("offsetxout")) : -l.lt.offsetXOut, s = t(this).data("offsetyout") ? "top" === t(this).data("offsetyout") ? l.g.sliderHeight() : "bottom" === t(this).data("offsetyout") ? -l.g.sliderHeight() : -parseInt(t(this).data("offsetyout")) : -l.lt.offsetYOut
}
var n = curSubRotateX = curSubRotateY = curSubScale = curSubSkewX = curSubSkewY = curSubScaleX = curSubScaleY = "none";
n = t(this).data("rotateout") ? t(this).data("rotateout") : l.lt.rotateOut, curSubRotateX = t(this).data("rotatexout") ? t(this).data("rotatexout") : l.lt.rotateXOut, curSubRotateY = t(this).data("rotateyout") ? t(this).data("rotateyout") : l.lt.rotateYOut, curSubScale = t(this).data("scaleout") ? t(this).data("scaleout") : l.lt.scaleOut, curSubSkewX = t(this).data("skewxout") ? t(this).data("skewxout") : l.lt.skewXOut, curSubSkewY = t(this).data("skewyout") ? t(this).data("skewyout") : l.lt.skewYOut, 1 === curSubScale ? (curSubScaleX = t(this).data("scalexout") ? t(this).data("scalexout") : l.lt.scaleXOut, curSubScaleY = t(this).data("scaleyout") ? t(this).data("scaleyout") : l.lt.scaleYOut) : curSubScaleX = curSubScaleY = curSubScale;
for (var d = t(this).data("transformoriginout") ? t(this).data("transformoriginout").split(" ") : l.lt.transformOriginOut, g = 0; g < d.length; g++) - 1 === d[g].indexOf("%") && -1 !== d[g].indexOf("left") && -1 !== d[g].indexOf("right") && -1 !== d[g].indexOf("top") && -1 !== d[g].indexOf("bottom") && (d[g] = "" + parseInt(d[g]) * l.g.ratio + "px");
var h = d.join(" "),
c = t(this).data("perspectiveout") ? t(this).data("perspectiveout") : l.lt.perspectiveOut,
f = parseInt(t(this).css("left")),
p = parseInt(t(this).css("top")),
m = parseInt(t(this).attr("class").split("ls-l")[1]),
v = t(this).outerWidth() > t(this).outerHeight() ? t(this).outerWidth() : t(this).outerHeight(),
y = 0 === parseInt(n) ? t(this).outerWidth() : v,
b = 0 === parseInt(n) ? t(this).outerHeight() : v;
if (-1 === m && "new" !== r || "left" === t(this).data("offsetxout") || "right" === t(this).data("offsetxout") ? 0 > e ? e = -(l.g.sliderWidth() - f + (curSubScaleX / 2 - .5) * y + 100) : e > 0 && (e = f + (curSubScaleX / 2 + .5) * y + 100) : e *= l.g.ratio, -1 === m && "new" !== r || "top" === t(this).data("offsetyout") || "bottom" === t(this).data("offsetyout") ? 0 > s ? s = -(l.g.sliderHeight() - p + (curSubScaleY / 2 - .5) * b + 100) : s > 0 && (s = p + (curSubScaleY / 2 + .5) * b + 100) : s *= l.g.ratio, -1 === m || "new" === r) var w = 1;
else var x = l.g.curLayer.data("parallaxout") ? parseInt(l.g.curLayer.data("parallaxout")) : l.o.parallaxOut,
w = m * x;
if ("new" === t(this).data("transitiontype")) var S = l.lt.delayOut,
L = l.lt.durationOut,
T = l.lt.easingOut;
else var S = l.o.delayOut,
L = l.o.durationOut,
T = l.o.easingOut;
var I = t(this).data("delayout") ? parseInt(t(this).data("delayout")) : S,
k = t(this).data("durationout") ? parseInt(t(this).data("durationout")) : L;
0 === k && (k = 1);
var O = t(this).data("easingout") ? t(this).data("easingout") : T;
i && (I = 0, k = i), t(this).data("showUntilTimer") && clearTimeout(t(this).data("showUntilTimer"));
var C = {
visibility: "hidden"
},
W = t(this),
X = {
rotation: n,
rotationX: curSubRotateX,
rotationY: curSubRotateY,
skewX: curSubSkewX,
skewY: curSubSkewY,
scaleX: curSubScaleX,
scaleY: curSubScaleY,
x: -e * w,
y: -s * w,
delay: I / 1e3,
ease: a(O),
onComplete: function() {
W.css(C)
}
};
("fade" == r || !r && "fade" === o || "false" !== t(this).data("fadeout") && "new" === t(this).data("transitiontype")) && (X.opacity = 0, C.opacity = t(this).data("originalOpacity")), t(this).data("tr") && t(this).data("tr").kill(), TweenLite.set(t(this)[0], {
transformOrigin: h,
transformPerspective: c
}), t(this).data("tr", TweenLite.to(t(this)[0], k / 1e3, X))
}
})
},
L = function() {
l.g.nextLayer.delay(f + v).animate({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
}, y, b)
},
T = function() {
l.g.totalDuration && (f = 0), "function" == typeof l.o.cbTimeLineStart && l.o.cbTimeLineStart(l.g, f + v), l.g.nextLayer.find(' > *[class*="ls-l"]').each(function() {
if (typeof t(this).data("static") === !1 || t(this).data("originalSlide") !== t(this).parent().data("index") && 0 !== t(this).data("static") || l["static"].remove(t(this)), t(this).data("transitiontype") || l.transitionType(t(this)), "new" === t(this).data("transitiontype")) var e = "new";
else var e = t(this).data("slidedirection") ? t(this).data("slidedirection") : u;
var i, s;
switch (e) {
case "left":
i = -l.g.sliderWidth(), s = 0;
break;
case "right":
i = l.g.sliderWidth(), s = 0;
break;
case "top":
s = -l.g.sliderHeight(), i = 0;
break;
case "bottom":
s = l.g.sliderHeight(), i = 0;
break;
case "fade":
s = 0, i = 0;
break;
case "new":
i = t(this).data("offsetxin") ? "left" === t(this).data("offsetxin") ? -l.g.sliderWidth() : "right" === t(this).data("offsetxin") ? l.g.sliderWidth() : parseInt(t(this).data("offsetxin")) : l.lt.offsetXIn, s = t(this).data("offsetyin") ? "top" === t(this).data("offsetyin") ? -l.g.sliderHeight() : "bottom" === t(this).data("offsetyin") ? l.g.sliderHeight() : parseInt(t(this).data("offsetyin")) : l.lt.offsetYIn
}
var o = nextSubRotateX = nextSubRotateY = nextSubScale = nextSubSkewX = nextSubSkewY = nextSubScaleX = nextSubScaleY = "none";
o = t(this).data("rotatein") ? t(this).data("rotatein") : l.lt.rotateIn, nextSubRotateX = t(this).data("rotatexin") ? t(this).data("rotatexin") : l.lt.rotateXIn, nextSubRotateY = t(this).data("rotateyin") ? t(this).data("rotateyin") : l.lt.rotateYIn, nextSubScale = t(this).data("scalein") ? t(this).data("scalein") : l.lt.scaleIn, nextSubSkewX = t(this).data("skewxin") ? t(this).data("skewxin") : l.lt.skewXIn, nextSubSkewY = t(this).data("skewyin") ? t(this).data("skewyin") : l.lt.skewYIn, 1 === nextSubScale ? (nextSubScaleX = t(this).data("scalexin") ? t(this).data("scalexin") : l.lt.scaleXIn, nextSubScaleY = t(this).data("scaleyin") ? t(this).data("scaleyin") : l.lt.scaleYIn) : nextSubScaleX = nextSubScaleY = nextSubScale;
for (var r = t(this).data("transformoriginin") ? t(this).data("transformoriginin").split(" ") : l.lt.transformOriginIn, n = 0; n < r.length; n++) - 1 === r[n].indexOf("%") && -1 !== r[n].indexOf("left") && -1 !== r[n].indexOf("right") && -1 !== r[n].indexOf("top") && -1 !== r[n].indexOf("bottom") && (r[n] = "" + parseInt(r[n]) * l.g.ratio + "px");
var d = r.join(" "),
g = t(this).data("perspectivein") ? t(this).data("perspectivein") : l.lt.perspectiveIn,
h = parseInt(t(this).css("left")),
c = parseInt(t(this).css("top")),
f = parseInt(t(this).attr("class").split("ls-l")[1]); - 1 !== t(this)[0].style.width.indexOf("%") && t(this).css({
width: l.g.sliderWidth() / 100 * parseInt(t(this)[0].style.width)
});
var p = t(this).outerWidth() > t(this).outerHeight() ? t(this).outerWidth() : t(this).outerHeight(),
m = 0 === parseInt(o) ? t(this).outerWidth() : p,
v = 0 === parseInt(o) ? t(this).outerHeight() : p;
if (-1 === f && "new" !== e || "left" === t(this).data("offsetxin") || "right" === t(this).data("offsetxin") ? 0 > i ? i = -(h + (nextSubScaleX / 2 + .5) * m + 100) : i > 0 && (i = l.g.sliderWidth() - h + (nextSubScaleX / 2 - .5) * m + 100) : i *= l.g.ratio, -1 === f && "new" !== e || "top" === t(this).data("offsetyin") || "bottom" === t(this).data("offsetyin") ? 0 > s ? s = -(c + (nextSubScaleY / 2 + .5) * v + 100) : s > 0 && (s = l.g.sliderHeight() - c + (nextSubScaleY / 2 - .5) * v + 100) : s *= l.g.ratio, -1 === f || "new" === e) var y = 1;
else var b = l.g.nextLayer.data("parallaxin") ? parseInt(l.g.nextLayer.data("parallaxin")) : l.o.parallaxIn,
y = f * b;
if ("new" === t(this).data("transitiontype")) var w = l.lt.delayIn,
x = l.lt.durationIn,
S = l.lt.easingIn;
else var w = l.o.delayIn,
x = l.o.durationIn,
S = l.o.easingIn;
var L = t(this).data("delayin") ? parseInt(t(this).data("delayin")) : w,
T = t(this).data("durationin") ? parseInt(t(this).data("durationin")) : x,
I = t(this).data("easingin") ? t(this).data("easingin") : S,
k = t(this),
O = function() {
k.hasClass("ls-video-layer") && k.addClass("ls-videohack"), 1 == l.o.autoPlayVideos && (k.find(".ls-videopreview").click(), k.find("video, audio").each(function() {
0 !== typeof t(this)[0].currentTime && (t(this)[0].currentTime = 0), t(this).click()
})), "undefined" == typeof k.data("static") && (!k.hasClass("ls-video-layer") || k.hasClass("ls-video-layer") && l.o.autoPlayVideos === !1) && k.data("showuntil") > 0 && k.data("showUntilTimer", setTimeout(function() {
l.sublayerShowUntil(k)
}, k.data("showuntil")))
};
t(this).css({
marginLeft: 0,
marginTop: 0
});
var C = {
scaleX: nextSubScaleX,
scaleY: nextSubScaleY,
skewX: nextSubSkewX,
skewY: nextSubSkewY,
rotation: o,
rotationX: nextSubRotateX,
rotationY: nextSubRotateY,
visibility: "visible",
x: i * y,
y: s * y
},
W = {
rotation: 0,
rotationX: 0,
rotationY: 0,
skewX: 0,
skewY: 0,
scaleX: 1,
scaleY: 1,
ease: a(I),
delay: L / 1e3,
x: 0,
y: 0,
onComplete: function() {
O()
}
};
(-1 != e.indexOf("fade") || "false" !== t(this).data("fadein") && "new" === t(this).data("transitiontype")) && (C.opacity = 0, W.opacity = t(this).data("originalOpacity")), t(this).data("tr") && t(this).data("tr").kill(), TweenLite.set(t(this)[0], {
transformPerspective: g,
transformOrigin: d
}), t(this).data("tr", TweenLite.fromTo(t(this)[0], T / 1e3, C, W))
})
},
I = function() {
if (o(t(e)) && (l.g.nextLayer.data("transition3d") || l.g.nextLayer.data("customtransition3d")))
if (l.g.nextLayer.data("transition3d") && l.g.nextLayer.data("customtransition3d")) {
var i = Math.floor(2 * Math.random()),
a = [
["3d", l.g.nextLayer.data("transition3d")],
["custom3d", l.g.nextLayer.data("customtransition3d")]
];
O(a[i][0], a[i][1])
} else l.g.nextLayer.data("transition3d") ? O("3d", l.g.nextLayer.data("transition3d")) : O("custom3d", l.g.nextLayer.data("customtransition3d"));
else if (l.g.nextLayer.data("transition2d") && l.g.nextLayer.data("customtransition2d")) {
var i = Math.floor(2 * Math.random()),
a = [
["2d", l.g.nextLayer.data("transition2d")],
["custom2d", l.g.nextLayer.data("customtransition2d")]
];
O(a[i][0], a[i][1])
} else l.g.nextLayer.data("transition2d") ? O("2d", l.g.nextLayer.data("transition2d")) : l.g.nextLayer.data("customtransition2d") ? O("custom2d", l.g.nextLayer.data("customtransition2d")) : O("2d", "1")
},
k = function() {
o(t(e)) && -1 != LSCustomTransition.indexOf("3d") ? O("3d", LSCustomTransition.split(":")[1]) : -1 != LSCustomTransition.indexOf("3d") ? O("2d", "all") : O("2d", LSCustomTransition.split(":")[1])
},
O = function(t, e) {
var i, a, s = -1 == t.indexOf("custom") ? l.t : l.ct,
o = "3d";
if (-1 != t.indexOf("2d") && (o = "2d"), -1 != e.indexOf("last")) a = s["t" + o].length - 1, i = "last";
else if (-1 != e.indexOf("all")) a = Math.floor(Math.random() * n(s["t" + o])), i = "random from all";
else {
var r = e.split(","),
d = r.length;
a = parseInt(r[Math.floor(Math.random() * d)]) - 1, i = "random from specified"
}
C(o, s["t" + o][a])
},
C = function(e, i) {
var o = l.g.i,
n = l.g.curLayer.find('*[class*="ls-l"]').length > 0 ? 1e3 : 0,
d = -1 == i.name.toLowerCase().indexOf("carousel") ? !1 : !0,
g = -1 == i.name.toLowerCase().indexOf("crossfad") ? !1 : !0,
h = typeof i.cols,
c = typeof i.rows;
switch (h) {
case "number":
h = i.cols;
break;
case "string":
h = Math.floor(Math.random() * (parseInt(i.cols.split(",")[1]) - parseInt(i.cols.split(",")[0]) + 1)) + parseInt(i.cols.split(",")[0]);
break;
default:
h = Math.floor(Math.random() * (i.cols[1] - i.cols[0] + 1)) + i.cols[0]
}
switch (c) {
case "number":
c = i.rows;
break;
case "string":
c = Math.floor(Math.random() * (parseInt(i.rows.split(",")[1]) - parseInt(i.rows.split(",")[0]) + 1)) + parseInt(i.rows.split(",")[0]);
break;
default:
c = Math.floor(Math.random() * (i.rows[1] - i.rows[0] + 1)) + i.rows[0]
}(1 == l.g.isMobile() && 1 == l.o.optimizeForMobile || l.g.ie78 && 1 == l.o.optimizeForIE78) && (h >= 15 ? h = 7 : h >= 5 ? h = 4 : h >= 4 ? h = 3 : h > 2 && (h = 2), c >= 15 ? c = 7 : c >= 5 ? c = 4 : c >= 4 ? c = 3 : c > 2 && (c = 2), c > 2 && h > 2 && (c = 2, h > 4 && (h = 4)));
var u = l.g.i.width() / h,
f = l.g.i.height() / c;
l.g.ltContainer ? l.g.ltContainer.stop(!0, !0).empty().css({
display: "block",
width: o.width(),
height: o.height()
}) : l.g.ltContainer = t("<div>").addClass("ls-lt-container").addClass("ls-overflow-hidden").css({
width: o.width(),
height: o.height()
}).prependTo(o);
var p = o.width() - Math.floor(u) * h,
m = o.height() - Math.floor(f) * c,
v = [];
v.randomize = function() {
var t, e, i, a = this.length;
if (0 == a) return !1;
for (; --a;) t = Math.floor(Math.random() * (a + 1)), e = this[a], i = this[t], this[a] = i, this[t] = e;
return this
};
for (var y = 0; h * c > y; y++) v.push(y);
switch (i.tile.sequence) {
case "reverse":
v.reverse();
break;
case "col-forward":
v = r(c, h, "forward");
break;
case "col-reverse":
v = r(c, h, "reverse");
break;
case "random":
v.randomize()
}
var b = l.g.curLayer.find(".ls-bg"),
w = l.g.nextLayer.find(".ls-bg");
if (0 == b.length && 0 == w.length && (e = "2d", i = t.extend(!0, {}, l.t.t2d[0]), i.transition.duration = 1, i.tile.delay = 0), "3d" == e) {
l.g.totalDuration = (h * c - 1) * i.tile.delay;
var L = 0;
i.before && i.before.duration && (L += i.before.duration), i.animation && i.animation.duration && (L += i.animation.duration), i.after && i.after.duration && (L += i.after.duration), l.g.totalDuration += L;
var I = 0;
i.before && i.before.delay && (I += i.before.delay), i.animation && i.animation.delay && (I += i.animation.delay), i.after && i.after.delay && (I += i.after.delay), l.g.totalDuration += I
} else l.g.totalDuration = (h * c - 1) * i.tile.delay + i.transition.duration, l.g.curTiles = t("<div>").addClass("ls-curtiles").appendTo(l.g.ltContainer), l.g.nextTiles = t("<div>").addClass("ls-nexttiles").appendTo(l.g.ltContainer);
for (var k = l.g.prevNext, O = 0; h * c > O; O++) {
var C, W, X = O % h == 0 ? p : 0,
Y = O > (c - 1) * h - 1 ? m : 0,
H = t("<div>").addClass("ls-lt-tile").css({
width: Math.floor(u) + X,
height: Math.floor(f) + Y
}).appendTo(l.g.ltContainer);
if ("3d" == e) {
H.addClass("ls-3d-container");
var P, M = Math.floor(u) + X,
N = Math.floor(f) + Y;
P = "horizontal" == i.animation.direction ? Math.abs(i.animation.transition.rotateY) > 90 && "large" != i.tile.depth ? Math.floor(M / 7) + X : M : Math.abs(i.animation.transition.rotateX) > 90 && "large" != i.tile.depth ? Math.floor(N / 7) + Y : N;
var B = M / 2,
R = N / 2,
A = P / 2,
z = function(e, i, a, s, o, r, n, d, l) {
t("<div>").addClass(e).css({
width: a,
height: s,
"-o-transform": "translate3d(" + o + "px, " + r + "px, " + n + "px) rotateX(" + d + "deg) rotateY(" + l + "deg) rotateZ(0deg) scale3d(1, 1, 1)",
"-ms-transform": "translate3d(" + o + "px, " + r + "px, " + n + "px) rotateX(" + d + "deg) rotateY(" + l + "deg) rotateZ(0deg) scale3d(1, 1, 1)",
"-moz-transform": "translate3d(" + o + "px, " + r + "px, " + n + "px) rotateX(" + d + "deg) rotateY(" + l + "deg) rotateZ(0deg) scale3d(1, 1, 1)",
"-webkit-transform": "translate3d(" + o + "px, " + r + "px, " + n + "px) rotateX(" + d + "deg) rotateY(" + l + "deg) rotateZ(0deg) scale3d(1, 1, 1)",
transform: "translate3d(" + o + "px, " + r + "px, " + n + "px) rotateX(" + d + "deg) rotateY(" + l + "deg) rotateZ(0deg) scale3d(1, 1, 1)"
}).appendTo(i)
};
z("ls-3d-box", H, 0, 0, 0, 0, -A, 0, 0);
"vertical" == i.animation.direction && Math.abs(i.animation.transition.rotateX) > 90 ? z("ls-3d-back", H.find(".ls-3d-box"), M, N, -B, -R, -A, 180, 0) : z("ls-3d-back", H.find(".ls-3d-box"), M, N, -B, -R, -A, 0, 180), z("ls-3d-bottom", H.find(".ls-3d-box"), M, P, -B, R - A, 0, -90, 0), z("ls-3d-top", H.find(".ls-3d-box"), M, P, -B, -R - A, 0, 90, 0), z("ls-3d-front", H.find(".ls-3d-box"), M, N, -B, -R, A, 0, 0), z("ls-3d-left", H.find(".ls-3d-box"), P, N, -B - A, -R, 0, 0, -90), z("ls-3d-right", H.find(".ls-3d-box"), P, N, B - A, -R, 0, 0, 90), C = H.find(".ls-3d-front"), W = H.find("horizontal" == i.animation.direction ? Math.abs(i.animation.transition.rotateY) > 90 ? ".ls-3d-back" : ".ls-3d-left, .ls-3d-right" : Math.abs(i.animation.transition.rotateX) > 90 ? ".ls-3d-back" : ".ls-3d-top, .ls-3d-bottom");
var D = v[O] * i.tile.delay,
U = l.g.ltContainer.find(".ls-3d-container:eq(" + O + ") .ls-3d-box"),
F = new TimelineLite;
i.before && i.before.transition ? (i.before.transition.delay = i.before.transition.delay ? (i.before.transition.delay + D) / 1e3 : D / 1e3, F.to(U[0], i.before.duration / 1e3, s(i.before.transition, i.before.easing))) : i.animation.transition.delay = i.animation.transition.delay ? (i.animation.transition.delay + D) / 1e3 : D / 1e3, F.to(U[0], i.animation.duration / 1e3, s(i.animation.transition, i.animation.easing)), i.after && (i.after.transition || (i.after.transition = {}), F.to(U[0], i.after.duration / 1e3, s(i.after.transition, i.after.easing, "after")))
} else {
var q = L1 = T2 = L2 = "auto",
j = O2 = 1;
if ("random" == i.transition.direction) var V = ["top", "bottom", "right", "left"],
Q = V[Math.floor(Math.random() * V.length)];
else var Q = i.transition.direction;
if (-1 != i.name.toLowerCase().indexOf("mirror") && O % 2 == 0 && (k = "prev" == k ? "next" : "prev"), "prev" == k) switch (Q) {
case "top":
Q = "bottom";
break;
case "bottom":
Q = "top";
break;
case "left":
Q = "right";
break;
case "right":
Q = "left";
break;
case "topleft":
Q = "bottomright";
break;
case "topright":
Q = "bottomleft";
break;
case "bottomleft":
Q = "topright";
break;
case "bottomright":
Q = "topleft"
}
switch (Q) {
case "top":
q = T2 = -H.height(), L1 = L2 = 0;
break;
case "bottom":
q = T2 = H.height(), L1 = L2 = 0;
break;
case "left":
q = T2 = 0, L1 = L2 = -H.width();
break;
case "right":
q = T2 = 0, L1 = L2 = H.width();
break;
case "topleft":
q = H.height(), T2 = 0, L1 = H.width(), L2 = 0;
break;
case "topright":
q = H.height(), T2 = 0, L1 = -H.width(), L2 = 0;
break;
case "bottomleft":
q = -H.height(), T2 = 0, L1 = H.width(), L2 = 0;
break;
case "bottomright":
q = -H.height(), T2 = 0, L1 = -H.width(), L2 = 0
}
switch (l.g.scale2D = i.transition.scale ? i.transition.scale : 1, 1 == d && 1 != l.g.scale2D && (q /= 2, T2 /= 2, L1 /= 2, L2 /= 2), i.transition.type) {
case "fade":
q = T2 = L1 = L2 = 0, j = 0, O2 = 1;
break;
case "mixed":
j = 0, O2 = 1, 1 == l.g.scale2D && (T2 = L2 = 0)
}
if (H.css((i.transition.rotate || i.transition.rotateX || i.transition.rotateY || 1 != l.g.scale2D) && !l.g.ie78 && "slide" != i.transition.type ? {
overflow: "visible"
} : {
overflow: "hidden"
}), l.g.curTiles.css(1 == d ? {
overflow: "visible"
} : {
overflow: "hidden"
}), 1 == g || "slide" == i.transition.type || 1 == d) {
var E = H.appendTo(l.g.curTiles),
G = H.clone().appendTo(l.g.nextTiles);
C = t("<div>").addClass("ls-curtile").appendTo(E)
} else var G = H.appendTo(l.g.nextTiles);
W = t("<div>").addClass("ls-nexttile").appendTo(G).css({
top: -q,
left: -L1,
dispay: "block",
opacity: j
});
var Z = v[O] * i.tile.delay,
_ = i.transition.rotate ? i.transition.rotate : 0,
J = i.transition.rotateX ? i.transition.rotateX : 0,
$ = i.transition.rotateY ? i.transition.rotateY : 0;
if ("prev" == k && (_ = -_, J = -J, $ = -$), TweenLite.fromTo(W[0], i.transition.duration / 1e3, {
rotation: _,
rotationX: J,
rotationY: $,
scale: l.g.scale2D
}, {
delay: Z / 1e3,
top: 0,
left: 0,
opacity: O2,
rotation: 0,
rotationX: 0,
rotationY: 0,
scale: 1,
ease: a(i.transition.easing)
}), 1 == g && (w.length < 1 || w.length > 0 && (-1 != w.attr("src").toLowerCase().indexOf("png") || w.width() < l.g.sliderWidth() || w.height() < l.g.sliderHeight())) && TweenLite.to(C[0], i.transition.duration / 1e3, {
delay: Z / 1e3,
opacity: 0,
ease: a(i.transition.easing)
}), ("slide" == i.transition.type || 1 == d) && -1 == i.name.toLowerCase().indexOf("mirror")) {
var K = 0;
0 != _ && (K = -_), TweenLite.to(C[0], i.transition.duration / 1e3, {
delay: Z / 1e3,
top: T2,
left: L2,
rotation: K,
scale: l.g.scale2D,
opacity: j,
ease: a(i.transition.easing)
})
}
}
b.length && ("3d" == e || "2d" == e && (1 == g || "slide" == i.transition.type || 1 == d) ? C.append(t("<img>").attr("src", b.attr("src")).css({
width: b[0].style.width,
height: b[0].style.height,
marginLeft: parseFloat(b.css("margin-left")) - parseFloat(H.position().left),
marginTop: parseFloat(b.css("margin-top")) - parseFloat(H.position().top)
})) : 0 == l.g.curTiles.children().length && l.g.curTiles.append(t("<img>").attr("src", b.attr("src")).css({
width: b[0].style.width,
height: b[0].style.height,
marginLeft: parseFloat(b.css("margin-left")),
marginTop: parseFloat(b.css("margin-top"))
}))), w.length && W.append(t("<img>").attr("src", w.attr("src")).css({
width: w[0].style.width,
height: w[0].style.height,
marginLeft: parseFloat(w.css("margin-left")) - parseFloat(H.position().left),
marginTop: parseFloat(w.css("margin-top")) - parseFloat(H.position().top)
}))
}
var te = l.g.curLayer,
ee = l.g.nextLayer;
setTimeout(function() {
te.find(".ls-bg").css({
visibility: "hidden"
})
}, 50), ee.find(".ls-bg").css({
visibility: "hidden"
}), l.g.ltContainer.removeClass("ls-overflow-hidden"), S(n), 0 === n && (n = 10), setTimeout(function() {
te.css({
width: 0
})
}, n);
var ie = parseInt(ee.data("timeshift")) ? parseInt(ee.data("timeshift")) : 0,
ae = l.g.totalDuration + ie > 0 ? l.g.totalDuration + ie : 0;
setTimeout(function() {
1 == l.g.resize && (l.g.ltContainer.empty(), te.removeClass("ls-active"), l.makeResponsive(ee, function() {
l.g.resize = !1
})), T(), (ee.find(".ls-bg").length < 1 || ee.find(".ls-bg").length > 0 && -1 != ee.find(".ls-bg").attr("src").toLowerCase().indexOf("png")) && l.g.ltContainer.delay(350).fadeOut(300, function() {
t(this).empty().show()
}), ee.css({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
})
}, ae), l.g.totalDuration < 300 && (l.g.totalDuration = 1e3), setTimeout(function() {
l.g.ltContainer.addClass("ls-overflow-hidden"), ee.find(".ls-bg").length ? (ee.find(".ls-bg").css({
display: "none",
visibility: "visible"
}), l.g.ie78 ? (ee.find(".ls-bg").css("display", "block"), setTimeout(function() {
x()
}, 500)) : ee.find(".ls-bg").fadeIn(500, function() {
x()
})) : x()
}, l.g.totalDuration)
},
W = function() {
l.g.nextLayer.find(' > *[class*="ls-l"]').each(function() {
t(this).css({
visibility: "hidden"
})
}), l.g.sliderTop = t(e).offset().top, t(window).load(function() {
setTimeout(function() {
l.g.sliderTop = t(e).offset().top
}, 20)
});
var i = function() {
t(window).scrollTop() + t(window).height() - l.g.sliderHeight() / 2 > l.g.sliderTop && (l.g.firstSlideAnimated = !0, l.g.originalAutoStart === !0 && (l.o.autoStart = !0, l.start()), T())
};
t(window).scroll(function() {
l.g.firstSlideAnimated || i()
}), i()
},
X = (l.g.nextLayer.data("transition3d") || l.g.nextLayer.data("transition2d")) && l.t || (l.g.nextLayer.data("customtransition3d") || l.g.nextLayer.data("customtransition2d")) && l.ct ? "new" : "old";
if (l.g.nextLayer.data("transitiontype") || l.transitionType(l.g.nextLayer), "new" === l.g.nextLayer.data("transitiontype") && (X = "new"), l.o.slideTransition && (X = "forced"), l.o.animateFirstSlide && !l.g.firstSlideAnimated) {
if (1 == l.g.layersNum) {
var f = 0;
l.o.cbAnimStop(l.g)
} else {
var Y = parseInt(l.g.nextLayer.data("timeshift")) ? parseInt(l.g.nextLayer.data("timeshift")) : 0,
H = "new" == X ? 0 : p;
l.g.t5 = setTimeout(function() {
x()
}, H + Math.abs(Y))
}
l.g.totalDuration = !0, l.o.startInViewport === !0 ? W() : (l.g.firstSlideAnimated = !0, T()), l.g.nextLayer.css({
width: l.g.sliderWidth(),
height: l.g.sliderHeight()
}), l.g.ie78 || l.g.nextLayer.find(".ls-bg").css({
display: "none"
}).fadeIn(l.o.sliderFadeInDuration), l.g.isLoading = !1
} else switch (X) {
case "old":
l.g.totalDuration = !1, l.g.ltContainer && l.g.ltContainer.empty(), w(), S(), L(), T();
break;
case "new":
"undefined" != typeof LSCustomTransition ? k() : I();
break;
case "forced":
C(l.o.slideTransition.type, l.o.slideTransition.obj)
}
}, l.transitionType = function(t) {
var e = !t.data("ls") && (t.data("ls") || t.data("slidedelay") || t.data("slidedirection") || t.data("slideoutdirection") || t.data("delayin") || t.data("delayout") || t.data("durationin") || t.data("durationout") || t.data("showuntil") || t.data("easingin") || t.data("easingout") || t.data("scalein") || t.data("scaleout") || t.data("rotatein") || t.data("rotateout")) ? "old" : "new";
t.data("transitiontype", e)
}, l.sublayerShowUntil = function(t) {
t.data("transitiontype") || l.transitionType(t), t.removeClass("ls-videohack");
var e = l.g.curLayer;
"prev" != l.g.prevNext && l.g.nextLayer && (e = l.g.nextLayer);
var i, s, o = e.data("slidedirection") ? e.data("slidedirection") : l.o.slideDirection,
r = l.g.slideDirections[l.g.prevNext][o],
n = t.data("slidedirection") ? t.data("slidedirection") : r;
switch (n) {
case "left":
i = -l.g.sliderWidth(), s = 0;
break;
case "right":
i = l.g.sliderWidth(), s = 0;
break;
case "top":
s = -l.g.sliderHeight(), i = 0;
break;
case "bottom":
s = l.g.sliderHeight(), i = 0;
break;
case "fade":
s = 0, i = 0
}
if ("new" === t.data("transitiontype")) var d = "new";
else var d = t.data("slideoutdirection") ? t.data("slideoutdirection") : !1;
switch (d) {
case "left":
i = l.g.sliderWidth(), s = 0;
break;
case "right":
i = -l.g.sliderWidth(), s = 0;
break;
case "top":
s = l.g.sliderHeight(), i = 0;
break;
case "bottom":
s = -l.g.sliderHeight(), i = 0;
break;
case "fade":
s = 0, i = 0;
break;
case "new":
i = t.data("offsetxout") ? "left" === t.data("offsetxout") ? l.g.sliderWidth() : "right" === t.data("offsetxout") ? -l.g.sliderWidth() : -parseInt(t.data("offsetxout")) : -l.lt.offsetXOut, s = t.data("offsetyout") ? "top" === t.data("offsetyout") ? l.g.sliderHeight() : "bottom" === t.data("offsetyout") ? -l.g.sliderHeight() : -parseInt(t.data("offsetyout")) : -l.lt.offsetYOut
}
var g = curSubRotateX = curSubRotateY = curSubScale = curSubSkewX = curSubSkewY = curSubScaleX = curSubScaleY = "none";
g = t.data("rotateout") ? t.data("rotateout") : l.lt.rotateOut, curSubRotateX = t.data("rotatexout") ? t.data("rotatexout") : l.lt.rotateXOut, curSubRotateY = t.data("rotateyout") ? t.data("rotateyout") : l.lt.rotateYOut, curSubScale = t.data("scaleout") ? t.data("scaleout") : l.lt.scaleOut, curSubSkewX = t.data("skewxout") ? t.data("skewxout") : l.lt.skewXOut, curSubSkewY = t.data("skewyout") ? t.data("skewyout") : l.lt.skewYOut, 1 === curSubScale ? (curSubScaleX = t.data("scalexout") ? t.data("scalexout") : l.lt.scaleXOut, curSubScaleY = t.data("scaleyout") ? t.data("scaleyout") : l.lt.scaleYOut) : curSubScaleX = curSubScaleY = curSubScale;
for (var h = t.data("transformoriginout") ? t.data("transformoriginout").split(" ") : l.lt.transformOriginOut, c = 0; c < h.length; c++) - 1 === h[c].indexOf("%") && -1 !== h[c].indexOf("left") && -1 !== h[c].indexOf("right") && -1 !== h[c].indexOf("top") && -1 !== h[c].indexOf("bottom") && (h[c] = "" + parseInt(h[c]) * l.g.ratio + "px");
var u = h.join(" "),
f = t.data("perspectiveout") ? t.data("perspectiveout") : l.lt.perspectiveOut,
p = parseInt(t.css("left")),
m = parseInt(t.css("top")),
v = parseInt(t.attr("class").split("ls-l")[1]),
y = t.outerWidth() > t.outerHeight() ? t.outerWidth() : t.outerHeight(),
b = 0 === parseInt(g) ? t.outerWidth() : y,
w = 0 === parseInt(g) ? t.outerHeight() : y;
if (-1 === v && "new" !== d || "left" === t.data("offsetxout") || "right" === t.data("offsetxout") ? 0 > i ? i = -(l.g.sliderWidth() - p + (curSubScaleX / 2 - .5) * b + 100) : i > 0 && (i = p + (curSubScaleX / 2 + .5) * b + 100) : i *= l.g.ratio, -1 === v && "new" !== d || "top" === t.data("offsetyout") || "bottom" === t.data("offsetyout") ? 0 > s ? s = -(l.g.sliderHeight() - m + (curSubScaleY / 2 - .5) * w + 100) : s > 0 && (s = m + (curSubScaleY / 2 + .5) * w + 100) : s *= l.g.ratio, -1 === v || "new" === d) var x = 1;
else var S = l.g.curLayer.data("parallaxout") ? parseInt(l.g.curLayer.data("parallaxout")) : l.o.parallaxOut,
x = v * S;
if ("new" === t.data("transitiontype")) var L = l.lt.durationOut,
T = l.lt.easingOut;
else var L = l.o.durationOut,
T = l.o.easingOut;
var I = t.data("durationout") ? parseInt(t.data("durationout")) : L;
0 === I && (I = 1);
var k = t.data("easingout") ? t.data("easingout") : T,
O = {
visibility: "hidden"
},
C = {
rotation: g,
rotationX: curSubRotateX,
rotationY: curSubRotateY,
skewX: curSubSkewX,
skewY: curSubSkewY,
scaleX: curSubScaleX,
scaleY: curSubScaleY,
x: -i * x,
y: -s * x,
ease: a(k),
onComplete: function() {
t.css(O)
}
};
("fade" == d || !d && "fade" == n || "false" !== t.data("fadeout") && "new" === t.data("transitiontype")) && (C.opacity = 0, O.opacity = t.data("originalOpacity")), TweenLite.set(t[0], {
transformPerspective: f,
transformOrigin: u
}), TweenLite.to(t[0], I / 1e3, C)
}, l.load()
},
a = function(t) {
var e;
if (-1 !== t.toLowerCase().indexOf("swing") || -1 !== t.toLowerCase().indexOf("linear")) e = Linear.easeNone;
else if (-1 !== t.toLowerCase().indexOf("easeinout")) {
var i = t.toLowerCase().split("easeinout")[1];
e = window[i.charAt(0).toUpperCase() + i.slice(1)].easeInOut
} else if (-1 !== t.toLowerCase().indexOf("easeout")) {
var i = t.toLowerCase().split("easeout")[1];
e = window[i.charAt(0).toUpperCase() + i.slice(1)].easeOut
} else if (-1 !== t.toLowerCase().indexOf("easein")) {
var i = t.toLowerCase().split("easein")[1];
e = window[i.charAt(0).toUpperCase() + i.slice(1)].easeIn
}
return e
},
s = function(t, e, i, s) {
if ("undefined" == typeof e) var e = "easeInOutQuart";
var o = {};
return t.rotate !== s && (o.rotation = t.rotate), t.rotateY !== s && (o.rotationY = t.rotateY), t.rotateX !== s && (o.rotationX = t.rotateX), "after" === i ? o.scaleX = o.scaleY = o.scaleZ = 1 : t.scale3d !== s && (o.scaleX = o.scaleY = o.scaleZ = t.scale3d), t.delay && (o.delay = "after" === i ? t.delay / 1e3 : t.delay), o.ease = a(e), o
},
o = function(e) {
var i = t("<div>"),
a = !1,
s = !1,
o = ["perspective", "OPerspective", "msPerspective", "MozPerspective", "WebkitPerspective"];
transform = ["transformStyle", "OTransformStyle", "msTransformStyle", "MozTransformStyle", "WebkitTransformStyle"];
for (var r = o.length - 1; r >= 0; r--) a = a ? a : void 0 != i[0].style[o[r]];
for (var r = transform.length - 1; r >= 0; r--) i.css("transform-style", "preserve-3d"), s = s ? s : "preserve-3d" == i[0].style[transform[r]];
return a && void 0 != i[0].style[o[4]] && (i.attr("id", "ls-test3d").appendTo(e), a = 3 === i[0].offsetHeight && 9 === i[0].offsetLeft, i.remove()), a && s
},
r = function(t, e, i) {
var a = [];
if ("forward" == i)
for (var s = 0; t > s; s++)
for (var o = 0; e > o; o++) a.push(s + o * t);
else
for (var s = t - 1; s > -1; s--)
for (var o = e - 1; o > -1; o--) a.push(s + o * t);
return a
},
n = function(t) {
var e = 0;
for (var i in t) t.hasOwnProperty(i) && ++e;
return e
},
d = function() {
uaMatch = function(t) {
t = t.toLowerCase();
var e = /(chrome)[ \/]([\w.]+)/.exec(t) || /(webkit)[ \/]([\w.]+)/.exec(t) || /(opera)(?:.*version|)[ \/]([\w.]+)/.exec(t) || /(msie) ([\w.]+)/.exec(t) || t.indexOf("compatible") < 0 && /(mozilla)(?:.*? rv:([\w.]+)|)/.exec(t) || [];
return {
browser: e[1] || "",
version: e[2] || "0"
}
};
var t = uaMatch(navigator.userAgent),
e = {};
return t.browser && (e[t.browser] = !0, e.version = t.version), e.chrome ? e.webkit = !0 : e.webkit && (e.safari = !0), e
};
i.global = {
version: "5.6.0",
isMobile: function() {
return navigator.userAgent.match(/Android/i) || navigator.userAgent.match(/webOS/i) || navigator.userAgent.match(/iPhone/i) || navigator.userAgent.match(/iPad/i) || navigator.userAgent.match(/iPod/i) || navigator.userAgent.match(/BlackBerry/i) || navigator.userAgent.match(/Windows Phone/i) ? !0 : !1
},
isHideOn3D: function(t) {
return "auto" == t.css("padding-bottom") || "none" == t.css("padding-bottom") || 0 == t.css("padding-bottom") || "0px" == t.css("padding-bottom") ? !0 : !1
},
ie78: d().msie && d().version < 9 ? !0 : !1,
originalAutoStart: !1,
paused: !1,
pausedByVideo: !1,
autoSlideshow: !1,
isAnimating: !1,
layersNum: null,
prevNext: "next",
slideTimer: null,
sliderWidth: null,
sliderHeight: null,
numYouTubeCurslide: 0,
slideDirections: {
prev: {
left: "right",
right: "left",
top: "bottom",
bottom: "top"
},
next: {
left: "left",
right: "right",
top: "top",
bottom: "bottom"
}
},
v: {
d: 500,
fo: 750,
fi: 500
}
}, i.layerTransitions = {
offsetXIn: 80,
offsetYIn: 0,
durationIn: 1e3,
delayIn: 0,
easingIn: "easeInOutQuint",
fadeIn: !0,
rotateIn: 0,
rotateXIn: 0,
rotateYIn: 0,
scaleIn: 1,
scaleXIn: 1,
scaleYIn: 1,
skewXIn: 0,
skewYIn: 0,
transformOriginIn: ["50%", "50%", "0"],
perspectiveIn: 500,
offsetXOut: -80,
offsetYOut: 0,
durationOut: 400,
showUntil: 0,
easingOut: "easeInOutQuint",
fadeOut: !0,
rotateOut: 0,
rotateXOut: 0,
rotateYOut: 0,
scaleOut: 1,
scaleXOut: 1,
scaleYOut: 1,
skewXOut: 0,
skewYOut: 0,
transformOriginOut: ["50%", "50%", "0"],
perspectiveOut: 500
}, i.slideTransitions = {
slideDelay: 4e3
}, i.options = {
responsive: !0,
responsiveUnder: 0,
layersContainer: 0,
fullScreen: !1,
prependTo: "",
autoStart: !0,
startInViewport: !0,
pauseOnHover: !0,
firstSlide: 1,
animateFirstSlide: !0,
sliderFadeInDuration: 350,
loops: 0,
forceLoopNum: !0,
twoWaySlideshow: !1,
randomSlideshow: !1,
skin: "v5",
skinsPath: "/layerslider/skins/",
globalBGColor: "transparent",
globalBGImage: !1,
navPrevNext: !0,
navStartStop: !0,
navButtons: !0,
keybNav: !0,
touchNav: !0,
hoverPrevNext: !0,
hoverBottomNav: !1,
showBarTimer: !1,
showCircleTimer: !0,
thumbnailNavigation: "hover",
tnContainerWidth: "60%",
tnWidth: 100,
tnHeight: 60,
tnActiveOpacity: 35,
tnInactiveOpacity: 100,
autoPlayVideos: !0,
autoPauseSlideshow: "auto",
youtubePreview: "maxresdefault.jpg",
imgPreload: !0,
lazyLoad: !0,
yourLogo: !1,
yourLogoStyle: "left: -10px; top: -10px;",
yourLogoLink: !1,
yourLogoTarget: "_self",
optimizeForMobile: !0,
optimizeForIE78: !0,
hideOnMobile: !1,
hideUnder: 0,
hideOver: 1e6,
staticImage: "",
cbInit: function() {},
cbStart: function() {},
cbStop: function() {},
cbPause: function() {},
cbAnimStart: function() {},
cbAnimStop: function() {},
cbPrev: function() {},
cbNext: function() {},
slideDelay: 4e3,
slideDirection: "right",
parallaxIn: .45,
parallaxOut: .45,
durationIn: 1e3,
durationOut: 1e3,
easingIn: "easeInOutQuint",
easingOut: "easeInOutQuint",
delayIn: 0,
delayOut: 0
}
}(jQuery);
#4 JavaScript::Eval (size: 22) - SHA256: 0079de8c08c2e6f8fa95d7dcd5129c6c1893ad0c7d4243ff5e86c76962dc65bc
0,
function(w) {
Y_(w, 2)
}
#5 JavaScript::Eval (size: 49922) - SHA256: 9794de1edf2a49e65673ad2f34f1d410b2570313514b270465df3ad3fbe2ca71
var layerSliderTransitions = {
t2d: [{
name: "Sliding from right",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuad",
duration: 1e3,
direction: "left"
}
}, {
name: "Sliding from left",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuad",
duration: 1e3,
direction: "right"
}
}, {
name: "Sliding from bottom",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuad",
duration: 1e3,
direction: "top"
}
}, {
name: "Sliding from top",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuad",
duration: 1e3,
direction: "bottom"
}
}, {
name: "Crossfading",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeInOutQuad",
duration: 1e3,
direction: "left"
}
}, {
name: "Fading tiles forward",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 30,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 1e3,
direction: "left"
}
}, {
name: "Fading tiles reverse",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 30,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 1e3,
direction: "left"
}
}, {
name: "Fading tiles col-forward",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 30,
sequence: "col-forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 1e3,
direction: "left"
}
}, {
name: "Fading tiles col-reverse",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 30,
sequence: "col-reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 1e3,
direction: "left"
}
}, {
name: "Fading tiles (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 30,
sequence: "random"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 1e3,
direction: "left"
}
}, {
name: "Smooth fading from right",
rows: 1,
cols: 35,
tile: {
delay: 25,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "linear",
duration: 750,
direction: "left"
}
}, {
name: "Smooth fading from left",
rows: 1,
cols: 35,
tile: {
delay: 25,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeInOutQuart",
duration: 750,
direction: "left"
}
}, {
name: "Smooth fading from bottom",
rows: 35,
cols: 1,
tile: {
delay: 25,
sequence: "col-reverse"
},
transition: {
type: "fade",
easing: "easeInOutQuart",
duration: 750,
direction: "left"
}
}, {
name: "Smooth fading from top",
rows: 35,
cols: 1,
tile: {
delay: 25,
sequence: "col-forward"
},
transition: {
type: "fade",
easing: "easeInOutQuart",
duration: 750,
direction: "left"
}
}, {
name: "Smooth sliding from right",
rows: 1,
cols: 25,
tile: {
delay: 30,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 350,
direction: "left"
}
}, {
name: "Smooth sliding from left",
rows: 1,
cols: 25,
tile: {
delay: 30,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 350,
direction: "right"
}
}, {
name: "Smooth sliging from bottom",
rows: 25,
cols: 1,
tile: {
delay: 30,
sequence: "col-reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 350,
direction: "top"
}
}, {
name: "Smooth sliding from top",
rows: 25,
cols: 1,
tile: {
delay: 30,
sequence: "col-forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 350,
direction: "bottom"
}
}, {
name: "Sliding tiles to right (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 500,
direction: "right"
}
}, {
name: "Sliding tiles to left (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 500,
direction: "left"
}
}, {
name: "Sliding tiles to bottom (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 500,
direction: "bottom"
}
}, {
name: "Sliding tiles to top (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 500,
direction: "top"
}
}, {
name: "Sliding random tiles to random directions",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 500,
direction: "random"
}
}, {
name: "Sliding rows to right (forward)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Sliding rows to right (reverse)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Sliding rows to right (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Sliding rows to left (forward)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Sliding rows to left (reverse)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Sliding rows to left (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Sliding rows from top to bottom (forward)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Sliding rows from top to bottom (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Sliding rows from bottom to top (reverse)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Sliding rows from bottom to top (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Sliding columns to bottom (forward)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Sliding columns to bottom (reverse)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Sliding columns to bottom (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Sliding columns to top (forward)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Sliding columns to top (reverse)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Sliding columns to top (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Sliding columns from left to right (forward)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Sliding columns from left to right (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Sliding columns from right to left (reverse)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "reverse"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Sliding columns from right to left (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Fading and sliding tiles to right (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "right"
}
}, {
name: "Fading and sliding tiles to left (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "left"
}
}, {
name: "Fading and sliding tiles to bottom (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "bottom"
}
}, {
name: "Fading and sliding tiles to top (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "top"
}
}, {
name: "Fading and sliding random tiles to random directions",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "random"
}
}, {
name: "Fading and sliding tiles from top-left (forward)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "topleft"
}
}, {
name: "Fading and sliding tiles from bottom-right (reverse)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "bottomright"
}
}, {
name: "Fading and sliding tiles from top-right (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "topright"
}
}, {
name: "Fading and sliding tiles from bottom-left (random)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 50,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 500,
direction: "bottomleft"
}
}, {
name: "Fading and sliding rows to right (forward)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Fading and sliding rows to right (reverse)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Fading and sliding rows to right (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Fading and sliding rows to left (forward)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Fading and sliding rows to left (reverse)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Fading and sliding rows to left (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Fading and sliding rows from top to bottom (forward)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Fading and sliding rows from top to bottom (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Fading and sliding rows from bottom to top (reverse)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Fading and sliding rows from bottom to top (random)",
rows: [7, 11],
cols: 1,
tile: {
delay: 100,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Fading and sliding columns to bottom (forward)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Fading and sliding columns to bottom (reverse)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Fading and sliding columns to bottom (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "bottom"
}
}, {
name: "Fading and sliding columns to top (forward)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Fading and sliding columns to top (reverse)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Fading and sliding columns to top (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "top"
}
}, {
name: "Fading and sliding columns from left to right (forward)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Fading and sliding columns from left to right (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "right"
}
}, {
name: "Fading and sliding columns from right to left (reverse)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "reverse"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Fading and sliding columns from right to left (random)",
rows: 1,
cols: [12, 16],
tile: {
delay: 75,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeInOutQuart",
duration: 600,
direction: "left"
}
}, {
name: "Carousel",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "left",
scale: .5
}
}, {
name: "Carousel rows",
rows: 4,
cols: 1,
tile: {
delay: 50,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "left",
scale: .5
}
}, {
name: "Carousel cols",
rows: 1,
cols: 4,
tile: {
delay: 50,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "left",
scale: .5
}
}, {
name: "Carousel tiles horizontal",
rows: 3,
cols: 4,
tile: {
delay: 35,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "left",
scale: .5,
rotateY: 90
}
}, {
name: "Carousel tiles vertical",
rows: 3,
cols: 4,
tile: {
delay: 35,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "top",
scale: .5,
rotateX: -90
}
}, {
name: "Carousel-mirror tiles horizontal",
rows: 3,
cols: 4,
tile: {
delay: 15,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "left",
scale: .5,
rotateY: 90
}
}, {
name: "Carousel-mirror tiles vertical",
rows: 3,
cols: 4,
tile: {
delay: 15,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "top",
scale: .5,
rotateX: -90
}
}, {
name: "Carousel mirror rows",
rows: 4,
cols: 1,
tile: {
delay: 50,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "right",
scale: .5
}
}, {
name: "Carousel mirror cols",
rows: 1,
cols: 4,
tile: {
delay: 50,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeInOutQuad",
duration: 750,
direction: "left",
scale: .5
}
}, {
name: "Turning tile from left",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 750,
direction: "right",
rotateY: 90
}
}, {
name: "Turning tile from right",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: -90
}
}, {
name: "Turning tile from top",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 750,
direction: "bottom",
rotateX: -90
}
}, {
name: "Turning tile from bottom",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeOutQuart",
duration: 750,
direction: "top",
rotateX: 90
}
}, {
name: "Turning tiles from left",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: 90
}
}, {
name: "Turning tiles from right",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: -90
}
}, {
name: "Turning tiles from top",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateX: -90
}
}, {
name: "Turning tiles from bottom",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateX: 90
}
}, {
name: "Turning rows from top",
rows: [6, 12],
cols: 1,
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateX: 90
}
}, {
name: "Turning rows from bottom",
rows: [6, 12],
cols: 1,
tile: {
delay: 55,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateX: -90
}
}, {
name: "Turning cols from left",
rows: 1,
cols: [6, 12],
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: -90
}
}, {
name: "Turning cols from right",
rows: 1,
cols: [6, 12],
tile: {
delay: 55,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: 90
}
}, {
name: "Flying rows from left",
rows: [3, 10],
cols: 1,
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: 90
}
}, {
name: "Flying rows from right",
rows: [3, 10],
cols: 1,
tile: {
delay: 55,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateY: -90
}
}, {
name: "Flying cols from top",
rows: 1,
cols: [3, 10],
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateX: -90
}
}, {
name: "Flying cols from bottom",
rows: 1,
cols: [3, 10],
tile: {
delay: 55,
sequence: "reverse"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotateX: 90
}
}, {
name: "Flying and rotating tile from left",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "right",
scale: .1,
rotate: -90,
rotateY: 90
}
}, {
name: "Flying and rotating tile from right",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "left",
scale: .1,
rotate: 90,
rotateY: -90
}
}, {
name: "Flying and rotating tiles from left",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "right",
rotate: -45
}
}, {
name: "Flying and rotating tiles from right",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "left",
rotate: -45
}
}, {
name: "Flying and rotating tiles from random",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 55,
sequence: "random"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "random",
rotate: -45
}
}, {
name: "Scaling tile in",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 1500,
direction: "left",
scale: .8
}
}, {
name: "Scaling tile from out",
rows: 1,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "fade",
easing: "easeInOutQuart",
duration: 1500,
direction: "left",
scale: 1.2
}
}, {
name: "Scaling tiles random",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 35,
sequence: "random"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
scale: .1
}
}, {
name: "Scaling tiles from out random",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 35,
sequence: "random"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
scale: 2
}
}, {
name: "Scaling in and rotating tiles random",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 35,
sequence: "random"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
scale: .1,
rotate: 90
}
}, {
name: "Scaling and rotating tiles from out random",
rows: [3, 4],
cols: [3, 4],
tile: {
delay: 35,
sequence: "random"
},
transition: {
type: "fade",
easing: "easeOutQuart",
duration: 750,
direction: "left",
scale: 2,
rotate: -90
}
}, {
name: "Mirror-sliding tiles diagonal",
rows: 3,
cols: 4,
tile: {
delay: 15,
sequence: "forward"
},
transition: {
type: "slide",
easing: "easeInOutQuart",
duration: 850,
direction: "topright"
}
}, {
name: "Mirror-sliding rows horizontal",
rows: 6,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "left"
}
}, {
name: "Mirror-sliding rows vertical",
rows: 6,
cols: 1,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "top"
}
}, {
name: "Mirror-sliding cols horizontal",
rows: 1,
cols: 8,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "left"
}
}, {
name: "Mirror-sliding cols vertical",
rows: 1,
cols: 8,
tile: {
delay: 0,
sequence: "forward"
},
transition: {
type: "mixed",
easing: "easeOutQuart",
duration: 750,
direction: "top"
}
}],
t3d: [{
name: "Spinning tile to right (180°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: 91
},
easing: "easeInQuart",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
rotateY: 180
},
easing: "easeOutQuart",
duration: 1e3,
direction: "horizontal"
}
}, {
name: "Spinning tile to left (180°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: -91
},
easing: "easeInQuart",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
rotateY: -180
},
easing: "easeOutQuart",
duration: 1e3,
direction: "horizontal"
}
}, {
name: "Spinning tile to bottom (180°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: -91
},
easing: "easeInQuart",
duration: 800,
direction: "vertical"
},
after: {
transition: {
rotateX: -180
},
easing: "easeOutQuart",
duration: 800,
direction: "vertical"
}
}, {
name: "Spinning tile to top (180°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: 91
},
easing: "easeInQuart",
duration: 800,
direction: "vertical"
},
after: {
transition: {
rotateX: 180
},
easing: "easeOutQuart",
duration: 800,
direction: "vertical"
}
}, {
name: "Spinning tiles to right (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "horizontal"
}
}, {
name: "Spinning tiles to left (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "reverse"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "horizontal"
}
}, {
name: "Spinning tiles to bottom (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-forward"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Spinning tiles to top (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-reverse"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Horizontal spinning tiles random (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1300,
direction: "horizontal"
}
}, {
name: "Vertical spinning tiles random (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 1300,
direction: "vertical"
}
}, {
name: "Scaling and spinning tiles to right (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .95
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning tiles to left (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .95
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning tiles to bottom (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-forward"
},
before: {
transition: {
scale3d: .95
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning tiles to top (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-reverse"
},
before: {
transition: {
scale3d: .95
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and horizontal spinning tiles random (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .95,
rotateX: 30
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: 180,
rotateX: -30
},
easing: "easeInOutBack",
duration: 1300,
direction: "horizontal"
},
after: {
transition: {
rotateX: 0
},
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and vertical spinning tiles random (180°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .95,
rotateY: -15
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: 180,
rotateY: 15
},
easing: "easeInOutBack",
duration: 1300,
direction: "vertical"
},
after: {
transition: {
rotateY: 0
},
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Spinning rows to right (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Spinning rows to left (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Spinning rows to bottom (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Spinning rows to top (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "reverse"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Horizontal spinning rows random (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Vertical spinning rows random (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "vertical"
}
}, {
name: "Vertical spinning rows random (540°)",
rows: [3, 7],
cols: 1,
tile: {
delay: 150,
sequence: "random"
},
animation: {
transition: {
rotateX: -540
},
easing: "easeInOutQuart",
duration: 2e3,
direction: "vertical"
}
}, {
name: "Scaling and spinning rows to right (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 55,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 1200,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and spinning rows to left (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 55,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutBack",
duration: 1200,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and spinning rows to bottom (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 55,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 600,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and spinning rows to top (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 55,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 600,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and horizontal spinning rows random (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 55,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 1200,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and vertical spinning rows random (180°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 55,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 600,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Spinning columns to right (180°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Spinning columns to left (180°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Spinning columns to bottom (180°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Spinning columns to top (180°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "reverse"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Horizontal spinning columns random (180°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Vertical spinning columns random (180°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "vertical"
}
}, {
name: "Horizontal spinning columns random (540°)",
rows: 1,
cols: [4, 9],
tile: {
delay: 150,
sequence: "random"
},
animation: {
transition: {
rotateY: 540
},
easing: "easeInOutQuart",
duration: 2e3,
direction: "horizontal"
}
}, {
name: "Scaling and spinning columns to right (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 55,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 600,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and spinning columns to left (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 55,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutQuart",
duration: 600,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and spinning columns to bottom (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 55,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 1200,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and spinning columns to top (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutBack",
duration: 1200,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and horizontal spinning columns random (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 600,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and vertical spinning columns random (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 1200,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Drunk colums scaling and spinning to right (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .85,
rotateX: -30
},
duration: 600,
easing: "easeOutQuart"
},
animation: {
transition: {
rotateX: -30,
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
rotateX: 0,
delay: 200
},
easing: "easeOutQuart",
duration: 600
}
}, {
name: "Drunk colums scaling and spinning to left (180°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85,
rotateX: -30
},
duration: 600,
easing: "easeOutQuart"
},
animation: {
transition: {
rotateX: 30,
rotateY: -180
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
rotateX: 0,
delay: 200
},
easing: "easeOutQuart",
duration: 600
}
}, {
name: "Turning cuboid to right (90°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: 90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Turning cuboid to left (90°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: -90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Turning cuboid to bottom (90°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "vertical"
}
}, {
name: "Turning cuboid to top (90°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: 90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "vertical"
}
}, {
name: "Scaling and turning cuboid to right (90°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
scale3d: .8,
rotate: 7,
rotateX: 10,
rotateY: 45
},
easing: "easeInOutQuad",
duration: 800,
direction: "horizontal"
},
after: {
transition: {
rotate: 0,
rotateX: 0,
rotateY: 90
},
duration: 800,
easing: "easeInOutQuad"
}
}, {
name: "Scaling and turning cuboid to left (90°)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
scale3d: .8,
rotate: -7,
rotateX: 10,
rotateY: -45
},
easing: "easeInOutQuad",
duration: 800,
direction: "horizontal"
},
after: {
transition: {
rotate: 0,
rotateX: 0,
rotateY: -90
},
duration: 800,
easing: "easeInOutQuad"
}
}, {
name: "Scaling and turning cuboids to right (90°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: 90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and turning cuboids to left (90°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and turning cuboids to bottom (90°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-forward"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and turning cuboids to top (90°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: 90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and horizontal turning cuboids random (90°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .65,
rotateX: -15
},
duration: 700,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: 75,
rotateX: 15
},
easing: "easeInOutBack",
duration: 700,
direction: "horizontal"
},
after: {
transition: {
rotateY: 90,
rotateX: 0
},
duration: 700,
easing: "easeInOutBack"
}
}, {
name: "Scaling and vertical turning cuboids random (90°)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .65,
rotateY: 15
},
duration: 700,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: 75,
rotateY: -15
},
easing: "easeInOutBack",
duration: 700,
direction: "vertical"
},
after: {
transition: {
rotateX: 90,
rotateY: 0
},
duration: 700,
easing: "easeInOutBack"
}
}, {
name: "Turning rows to right (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: 90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Turning rows to left (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateY: -90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Horizontal turning rows random (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateY: 90
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Scaling and turning rows to right (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .85,
rotateX: 3
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 87,
rotateX: 0
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200,
rotateY: 90
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and turning rows to left (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85,
rotateX: 3
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: -90,
rotateX: 0
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and turning rows to bottom (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and turning rows to top (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: 90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and horizontal turning rows random (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .85,
rotateX: 3
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 90,
rotateX: 0
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and vertical turning rows random (90°)",
rows: [5, 9],
cols: 1,
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and horizontal turning drunk rows to right (90°)",
rows: [7, 11],
cols: 1,
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
scale3d: .85,
rotateX: 5,
rotateY: 45
},
easing: "easeInOutQuint",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
rotateX: 0,
rotateY: 90
},
easing: "easeInOutQuint",
duration: 1e3
}
}, {
name: "Scaling and horizontal turning drunk rows to left (90°)",
rows: [7, 11],
cols: 1,
tile: {
delay: 75,
sequence: "reverse"
},
animation: {
transition: {
scale3d: .85,
rotateX: 5,
rotateY: -45
},
easing: "easeInOutQuint",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
rotateX: 0,
rotateY: -90
},
easing: "easeInOutQuint",
duration: 1e3
}
}, {
name: "Turning columns to bottom (90°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Turning columns to top (90°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "reverse"
},
animation: {
transition: {
rotateX: 90
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Vertical turning columns random (90°)",
rows: 1,
cols: [5, 9],
tile: {
delay: 75,
sequence: "random"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutQuart",
duration: 1e3,
direction: "vertical"
}
}, {
name: "Scaling and turning columns to bottom (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and turning columns to top (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: 90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and turning columns to right (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "forward"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and turning columns to left (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "reverse"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and horizontal turning columns random (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and vertical turning columns random (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "random"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -90
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutBack",
duration: 600
}
}, {
name: "Scaling and vertical turning drunk columns to right (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "forward"
},
animation: {
transition: {
scale3d: .85,
rotateX: 45,
rotateY: -5
},
easing: "easeInOutQuint",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
rotateX: 90,
rotateY: 0
},
easing: "easeInOutQuint",
duration: 1e3
}
}, {
name: "Scaling and vertical turning drunk columns to left (90°)",
rows: 1,
cols: [7, 11],
tile: {
delay: 75,
sequence: "reverse"
},
animation: {
transition: {
scale3d: .85,
rotateX: -45,
rotateY: -5
},
easing: "easeInOutQuint",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
rotateX: -90,
rotateY: 0
},
easing: "easeInOutQuint",
duration: 1e3
}
}, {
name: "Spinning cuboid to right (180°, large depth)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward",
depth: "large"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Spinning cuboid to left (180°, large depth)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward",
depth: "large"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "horizontal"
}
}, {
name: "Spinning cuboid to bottom (180°, large depth)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward",
depth: "large"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "vertical"
}
}, {
name: "Spinning cuboid to top (180°, large depth)",
rows: 1,
cols: 1,
tile: {
delay: 75,
sequence: "forward",
depth: "large"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 1500,
direction: "vertical"
}
}, {
name: "Scaling and spinning cuboids to right (180°, large depth)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "forward",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning cuboids to left (180°, large depth)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "reverse",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning cuboids to bottom (180°, large depth)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-forward",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning cuboids to top (180°, large depth)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "col-reverse",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 450,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
duration: 350,
easing: "easeInOutBack"
}
}, {
name: "Scaling and horizontal spinning cuboids random (180°, large depth)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random",
depth: "large"
},
before: {
transition: {
scale3d: .65
},
duration: 700,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 700,
direction: "horizontal"
},
after: {
duration: 700,
easing: "easeInOutBack"
}
}, {
name: "Scaling and vertical spinning cuboids random (180°, large depth)",
rows: [2, 4],
cols: [4, 7],
tile: {
delay: 75,
sequence: "random",
depth: "large"
},
before: {
transition: {
scale3d: .65
},
duration: 700,
easing: "easeInOutQuint"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutBack",
duration: 700,
direction: "vertical"
},
after: {
duration: 700,
easing: "easeInOutBack"
}
}, {
name: "Scaling and spinning rows to right (180°, large depth)",
rows: [5, 9],
cols: 1,
tile: {
delay: 65,
sequence: "forward",
depth: "large"
},
before: {
transition: {
scale3d: .85,
rotateX: 3
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180,
rotateX: -3
},
easing: "easeInOutQuart",
duration: 1200,
direction: "horizontal"
},
after: {
transition: {
delay: 200,
rotateX: 0
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning rows to left (180°, large depth)",
rows: [5, 9],
cols: 1,
tile: {
delay: 65,
sequence: "reverse",
depth: "large"
},
before: {
transition: {
scale3d: .85,
rotateX: 3
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: -180,
rotateX: -3
},
easing: "easeInOutQuart",
duration: 1200,
direction: "horizontal"
},
after: {
transition: {
delay: 200,
rotateX: 0
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning rows to bottom (180°, large depth)",
rows: [5, 9],
cols: 1,
tile: {
delay: 65,
sequence: "forward",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning rows to top (180°, large depth)",
rows: [5, 9],
cols: 1,
tile: {
delay: 65,
sequence: "reverse",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and horizontal spinning rows random (180°, large depth)",
rows: [5, 9],
cols: 1,
tile: {
delay: 65,
sequence: "random",
depth: "large"
},
before: {
transition: {
scale3d: .85,
rotateX: 3
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180,
rotateX: -3
},
easing: "easeInOutQuart",
duration: 1200,
direction: "horizontal"
},
after: {
transition: {
delay: 200,
rotateX: 0
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and vertical spinning rows random (180°, large depth)",
rows: [5, 9],
cols: 1,
tile: {
delay: 65,
sequence: "random",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning columns to bottom (180°, large depth)",
rows: 1,
cols: [7, 11],
tile: {
delay: 65,
sequence: "forward",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1200,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning columns to top (180°, large depth)",
rows: 1,
cols: [7, 11],
tile: {
delay: 65,
sequence: "reverse",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: 180
},
easing: "easeInOutQuart",
duration: 1200,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning columns to right (180°, large depth)",
rows: 1,
cols: [7, 11],
tile: {
delay: 65,
sequence: "forward",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and spinning columns to left (180°, large depth)",
rows: 1,
cols: [7, 11],
tile: {
delay: 65,
sequence: "reverse",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: -180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and horizontal spinning columns random (180°, large depth)",
rows: 1,
cols: [7, 11],
tile: {
delay: 65,
sequence: "random",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateY: 180
},
easing: "easeInOutBack",
duration: 1e3,
direction: "horizontal"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}, {
name: "Scaling and vertical spinning columns random (180°, large depth)",
rows: 1,
cols: [7, 11],
tile: {
delay: 65,
sequence: "random",
depth: "large"
},
before: {
transition: {
scale3d: .85
},
duration: 600,
easing: "easeOutBack"
},
animation: {
transition: {
rotateX: -180
},
easing: "easeInOutQuart",
duration: 1200,
direction: "vertical"
},
after: {
transition: {
delay: 200
},
easing: "easeOutQuart",
duration: 400
}
}]
}
#6 JavaScript::Eval (size: 22) - SHA256: 44bc528d4e9f2adf94f881e61bbf1efeccc41f1205c42aa6ad8bf5d0a27f0f6f
0,
function(w) {
Y_(w, 1)
}
#7 JavaScript::Eval (size: 18058) - SHA256: bdc1c6c1397de51345ed7ace0bd08e8e16a767324ac737b799fcd9fdbdc6081c
(function() {
var dr = function(W, d, V, X, x, w, a, f) {
return ((W = [84, (f = (w = WB, V & 7), -53), 96, -24, 24, 43, W, 73, 2, 56], a = P[X.G](X.lM), a)[X.G] = function(v) {
f += (x = v, 6 + 7 * V), f &= 7
}, a).concat = function(v) {
return ((x = (v = +W[f + 43 & 7] * d * (v = d % 16 + 1, v) + 3 * d * d * v + (w() | 0) * v - -2915 * d * x - 1155 * x + 55 * x * x + f - 165 * d * d * x - v * x, v = W[v], void 0), W)[(f + 53 & 7) + (V & 2)] = v, W)[f + (V & 2)] = -53, v
}, a
},
Q = function(W, d, V, X, x, w, a, f, v) {
if (((W.l = ((x = (v = (f = (X || W.P++, 0 < W.N && W.V && W.uM && 1 >= W.D && !W.C) && !W.R && (!X || 1 < W.i - V) && 0 == document.hidden, (w = 4 == W.P) || f ? W.h() : W.K), a = v - W.K, a >> 14), W).o && (W.o ^= x * (a << 2)), x) || W.l, W).W += x, w) || f) W.P = 0, W.K = v;
if (!f || v - W.I < W.N - (d ? 255 : X ? 5 : 2)) return false;
return !(W.R = (k(465, (W.i = V, d = K(W, X ? 510 : 465), W), W.B), W.u.push([iS, d, X ? V + 1 : V]), y), 0)
},
wr = function(W, d) {
return (W = W.create().shift(), d.C.create().length) || d.g.create().length || (d.C = void 0, d.g = void 0), W
},
VV = function(W, d, V) {
return V = P[W.G](W.Hn), V[W.G] = function() {
return d
}, V.concat = function(X) {
d = X
}, V
},
Xc = function(W, d) {
return d[W] << 24 | d[(W | 0) + 1] << 16 | d[(W | 0) + 2] << 8 | d[(W | 0) + 3]
},
B = function(W, d) {
W.u.splice(0, 0, d)
},
at = function(W, d, V, X) {
function x() {}
return X = fA(W, (V = void 0, function(w) {
x && (d && y(d), V = w, x(), x = void 0)
}), !!d)[0], {
invoke: function(w, a, f, v) {
function l() {
V(function(H) {
y(function() {
w(H)
})
}, f)
}
if (!a) return a = X(f), w && w(a), a;
V ? l() : (v = x, x = function() {
(v(), y)(l)
})
}
}
},
D = function(W, d, V, X) {
for (V = [], X = (W | 0) - 1; 0 <= X; X--) V[(W | 0) - 1 - (X | 0)] = d >> 8 * X & 255;
return V
},
x_ = function(W, d, V, X) {
try {
X = W[((d | 0) + 2) % 3], W[d] = (W[d] | 0) - (W[((d | 0) + 1) % 3] | 0) - (X | 0) ^ (1 == d ? X << V : X >>> V)
} catch (x) {
throw x;
}
},
vB = function(W, d) {
return [(d(function(V) {
V(W)
}), function() {
return W
})]
},
lS = function(W) {
return W
},
PB = function(W, d, V) {
if (3 == W.length) {
for (V = 0; 3 > V; V++) d[V] += W[V];
for (V = [13, 8, 13, 12, 16, (W = 0, 5), 3, 10, 15]; 9 > W; W++) d[3](d, W % 3, V[W])
}
},
r = {
passive: true,
capture: true
},
KA = function(W, d, V, X, x) {
for (x = (V = (X = (W = W.replace(/\r\n/g, "\n"), 0), []), 0); X < W.length; X++) d = W.charCodeAt(X), 128 > d ? V[x++] = d : (2048 > d ? V[x++] = d >> 6 | 192 : (55296 == (d & 64512) && X + 1 < W.length && 56320 == (W.charCodeAt(X + 1) & 64512) ? (d = 65536 + ((d & 1023) << 10) + (W.charCodeAt(++X) & 1023), V[x++] = d >> 18 | 240, V[x++] = d >> 12 & 63 | 128) : V[x++] = d >> 12 | 224, V[x++] = d >> 6 & 63 | 128), V[x++] = d & 63 | 128);
return V
},
L, k_ = function(W, d, V, X, x) {
p(W, ((V = K(W, (x = (V = (d &= (X = d & 4, 3), Y(W)), Y(W)), V)), X && (V = KA("" + V)), d) && p(W, D(2, V.length), x), V), x)
},
yV = function(W, d, V) {
if ("object" == (d = typeof W, d))
if (W) {
if (W instanceof Array) return "array";
if (W instanceof Object) return d;
if ((V = Object.prototype.toString.call(W), "[object Window]") == V) return "object";
if ("[object Array]" == V || "number" == typeof W.length && "undefined" != typeof W.splice && "undefined" != typeof W.propertyIsEnumerable && !W.propertyIsEnumerable("splice")) return "array";
if ("[object Function]" == V || "undefined" != typeof W.call && "undefined" != typeof W.propertyIsEnumerable && !W.propertyIsEnumerable("call")) return "function"
} else return "null";
else if ("function" == d && "undefined" == typeof W.call) return "object";
return d
},
k = function(W, d, V) {
if (465 == W || 510 == W) d.X[W] ? d.X[W].concat(V) : d.X[W] = VV(d, V);
else {
if (d.J && 435 != W) return;
474 == W || 5 == W || 423 == W || 446 == W || 50 == W ? d.X[W] || (d.X[W] = dr(V, W, 62, d)) : d.X[W] = dr(V, W, 105, d)
}
435 == W && (d.o = t(d, false, 32), d.H = void 0)
},
T = function(W, d) {
W.v = ((W.v ? W.v + "~" : "E:") + d.message + ":" + d.stack).slice(0, 2048)
},
zT = function(W, d) {
if ((d = (W = M.trustedTypes, null), !W) || !W.createPolicy) return d;
try {
d = W.createPolicy("bg", {
createHTML: lS,
createScript: lS,
createScriptURL: lS
})
} catch (V) {
M.console && M.console.error(V.message)
}
return d
},
Z_ = function(W, d, V, X, x, w) {
if (!d.v) {
d.D++;
try {
for (V = (w = (X = d.B, void 0), 0); --W;) try {
if ((x = void 0, d).C) w = wr(d.C, d);
else {
if (V = K(d, 465), V >= X) break;
w = K(d, (k(510, d, V), x = Y(d), x))
}
Q(d, false, (w && w[jh] & 2048 ? w(d, W) : h(0, [U, 21, x], d), W), false)
} catch (a) {
K(d, 438) ? h(22, a, d) : k(438, d, a)
}
if (!W) {
if (d.Gg) {
Z_(417315765951, (d.D--, d));
return
}
h(0, [U, 33], d)
}
} catch (a) {
try {
h(22, a, d)
} catch (f) {
T(d, f)
}
}
d.D--
}
},
It = function(W, d) {
(d.push(W[0] << 24 | W[1] << 16 | W[2] << 8 | W[3]), d.push(W[4] << 24 | W[5] << 16 | W[6] << 8 | W[7]), d).push(W[8] << 24 | W[9] << 16 | W[10] << 8 | W[11])
},
QV = function(W, d, V, X, x, w) {
for (w = (V = (X = ((d = Y((x = W[mz] || {}, W)), x.vn = Y(W), x).T = [], W.l == W) ? (J(W) | 0) - 1 : 1, Y)(W), 0); w < X; w++) x.T.push(Y(W));
for ((x.Xr = K(W, V), x).F = K(W, d); X--;) x.T[X] = K(W, x.T[X]);
return x
},
h = function(W, d, V, X, x, w) {
if (!V.J) {
if ((W = (0 == (X = K(V, ((x = void 0, d) && d[0] === U && (W = d[1], x = d[2], d = void 0), 446)), X.length) && (w = K(V, 510) >> 3, X.push(W, w >> 8 & 255, w & 255), void 0 != x && X.push(x & 255)), ""), d) && (d.message && (W += d.message), d.stack && (W += ":" + d.stack)), d = K(V, 53), 3 < d) {
V.l = (x = (W = (d -= ((W = W.slice(0, (d | 0) - 3), W.length) | 0) + 3, KA)(W), V.l), V);
try {
p(V, D(2, W.length).concat(W), 5, 9)
} finally {
V.l = x
}
}
k(53, V, d)
}
},
R = function(W, d, V) {
(k(W, d, V), V)[CA] = 2796
},
D_ = function(W, d, V, X) {
return (k(465, (Z_(d, ((X = K(V, 465), V.O) && X < V.B ? (k(465, V, V.B), BB(V, W)) : k(465, V, W), V)), V), X), K)(V, 87)
},
c, rr = function(W, d, V, X, x) {
for (d = d[x = d[3] | (X = 0, 0), 2] | 0; 14 > X; X++) V = V >>> 8 | V << 24, V += W | 0, V ^= d + 1890, W = W << 3 | W >>> 29, W ^= V, x = x >>> 8 | x << 24, x += d | 0, x ^= X + 1890, d = d << 3 | d >>> 29, d ^= x;
return [W >>> 24 & 255, W >>> 16 & 255, W >>> 8 & 255, W >>> 0 & 255, V >>> 24 & 255, V >>> 16 & 255, V >>> 8 & 255, V >>> 0 & 255]
},
Y = function(W, d) {
if (W.C) return wr(W.g, W);
return (d = t(W, true, 8), d) & 128 && (d ^= 128, W = t(W, true, 2), d = (d << 2) + (W | 0)), d
},
bS = function(W, d, V) {
return d.S(function(X) {
V = X
}, false, W), V
},
fA = function(W, d, V, X) {
return (X = L[W.substring(0, 3) + "_"]) ? X(W.substring(3), d, V) : vB(W, d)
},
LA = function(W, d, V, X, x, w) {
function a() {
if (X.l == X) {
if (X.X) {
var f = [E, V, d, void 0, x, w, arguments];
if (2 == W) var v = g(false, (B(X, f), false), X);
else if (1 == W) {
var l = !X.u.length;
B(X, f), l && g(false, false, X)
} else v = nA(f, X);
return v
}
x && w && x.removeEventListener(w, a, r)
}
}
return a
},
Y_ = function(W, d, V, X) {
for (V = (X = Y(W), 0); 0 < d; d--) V = V << 8 | J(W);
k(X, W, V)
},
p = function(W, d, V, X, x, w) {
if (W.l == W)
for (w = K(W, V), 5 == V ? (V = function(a, f, v, l) {
if ((f = ((l = w.length, l) | 0) - 4 >> 3, w.hF) != f) {
f = [0, 0, x[1], (v = (f << 3) - (w.hF = f, 4), x[2])];
try {
w.Bn = rr(Xc(v, w), f, Xc((v | 0) + 4, w))
} catch (H) {
throw H;
}
}
w.push(w.Bn[l & 7] ^ a)
}, x = K(W, 50)) : V = function(a) {
w.push(a)
}, X && V(X & 255), W = d.length, X = 0; X < W; X++) V(d[X])
},
g = function(W, d, V, X, x, w) {
if (V.u.length) {
V.uM = (V.V = !(V.V && 0(), 0), W);
try {
w = V.h(), V.K = w, V.P = 0, V.I = w, x = pA(W, V), X = V.h() - V.I, V.s += X, X < (d ? 0 : 10) || 0 >= V.j-- || (X = Math.floor(X), V.L.push(254 >= X ? X : 254))
} finally {
V.V = false
}
return x
}
},
e = function(W, d) {
for (d = []; W--;) d.push(255 * Math.random() | 0);
return d
},
nA = function(W, d, V, X, x) {
if (V = W[0], V == O) d.j = 25, d.A(W);
else if (V == A) {
X = W[1];
try {
x = d.v || d.A(W)
} catch (w) {
T(d, w), x = d.v
}
X(x)
} else if (V == iS) d.A(W);
else if (V == q) d.A(W);
else if (V == ot) {
try {
for (x = 0; x < d.U.length; x++) try {
X = d.U[x], X[0][X[1]](X[2])
} catch (w) {}
} catch (w) {}(0, W[1])(function(w, a) {
d.S(w, true, a)
}, (d.U = [], function(w) {
B((w = !d.u.length, d), [jh]), w && g(true, false, d)
}))
} else {
if (V == E) return x = W[2], k(82, d, W[6]), k(87, d, x), d.A(W);
V == jh ? (d.L = [], d.X = null, d.O = []) : V == CA && "loading" === M.document.readyState && (d.R = function(w, a) {
function f() {
a || (a = true, w())
}(M.document.addEventListener("DOMContentLoaded", (a = false, f), r), M).addEventListener("load", f, r)
})
}
},
pA = function(W, d, V, X) {
for (; d.u.length;) {
d.R = null, X = d.u.pop();
try {
V = nA(X, d)
} catch (x) {
T(d, x)
}
if (W && d.R) {
(W = d.R, W)(function() {
g(true, true, d)
});
break
}
}
return V
},
tE = function(W, d) {
return d = J(W), d & 128 && (d = d & 127 | J(W) << 7), d
},
M = this || self,
t = function(W, d, V, X, x, w, a, f, v, l, H, z, m, C) {
if (f = K(W, 465), f >= W.B) throw [U, 31];
for (x = (l = (X = (v = f, V), 0), W).RU.length; 0 < X;) w = v % 8, C = v >> 3, H = 8 - (w | 0), a = W.O[C], H = H < X ? H : X, d && (m = W, m.H != v >> 6 && (m.H = v >> 6, z = K(m, 435), m.Z = rr(m.o, [0, 0, z[1], z[2]], m.H)), a ^= W.Z[C & x]), l |= (a >> 8 - (w | 0) - (H | 0) & (1 << H) - 1) << (X | 0) - (H | 0), X -= H, v += H;
return k(465, (d = l, W), (f | 0) + (V | 0)), d
},
y = M.requestIdleCallback ? function(W) {
requestIdleCallback(function() {
W()
}, {
timeout: 4
})
} : M.setImmediate ? function(W) {
setImmediate(W)
} : function(W) {
setTimeout(W, 0)
},
BB = function(W, d) {
k(465, W, ((W.ds.push(W.X.slice()), W).X[465] = void 0, d))
},
NR = function(W, d, V, X) {
p((V = (X = Y(d), Y)(d), d), D(W, K(d, X)), V)
},
K = function(W, d) {
if ((W = W.X[d], void 0) === W) throw [U, 30, d];
if (W.value) return W.create();
return (W.create(3 * d * d + -53 * d + 21), W).prototype
},
J = function(W) {
return W.C ? wr(W.g, W) : t(W, true, 8)
},
TT = function(W, d) {
return P[W](P.prototype, {
splice: d,
document: d,
prototype: d,
call: d,
replace: d,
stack: d,
console: d,
length: d,
propertyIsEnumerable: d,
parent: d,
floor: d,
pop: d
})
},
G = function(W, d, V) {
V = this;
try {
MR(this, d, W)
} catch (X) {
T(this, X), W(function(x) {
x(V.v)
})
}
},
MR = function(W, d, V, X, x) {
for (x = (X = (W.lM = (W.RU = W[W.n_ = hE, A], W.DK = uS, TT(W.G, {get: function() {
return this.concat()
}
})), W.Hn = P[W.G](W.lM, {
value: {
value: {}
}
}), 0), []); 128 > X; X++) x[X] = String.fromCharCode(X);
g(true, (B(W, [(B(W, (R(278, (R(184, W, (R((R(62, W, (k(474, (k(234, W, (k(87, W, (R((R(228, (R(38, W, (R(285, W, (W.f_ = (R(((R(389, W, (k(423, (R(483, W, (R(201, (k(446, W, (R(493, W, (R(349, (R(91, W, (k(438, (R(417, W, (R(111, W, (R(158, (W.Pn = ((R(354, W, ((k(121, W, (R(318, (R(374, (R(28, W, (R(488, W, (k(6, (R(104, W, (k(5, W, (k((k((k(510, W, (k(465, ((X = (W.V = ((W.W = 1, W).H = (W.N = (W.L = (W.P = void 0, []), W.R = null, W.g = void 0, 0), (W.K = 0, W).uM = false, (W.J = false, W).u = (W.j = 25, (W.l = (W.U = [], W.Z = void 0, W), W.C = ((W.X = (W.I = 0, []), W).v = void 0, void 0), W.bM = 0, W.eu = function(w) {
this.l = w
}, W).ds = [], []), W.O = [], (W.o = ((W.B = 0, W).i = (W.s = 0, 8001), void 0), W).D = 0, void 0), false), window.performance || {}), W).oU = X.timeOrigin || (X.timing || {}).navigationStart || 0, W), 0), 0)), 478), W, M), 50), W, [0, 0, 0]), e(4))), function(w, a, f, v, l, H, z, m, C, b, Z, I) {
function u(n, N) {
for (; b < n;) C |= J(w) << b, b += 8;
return b -= n, C >>= (N = C & (1 << n) - 1, n), N
}
for (f = I = (z = ((b = (Z = Y(w), C = 0), u)(3) | 0) + 1, H = u(5), l = [], 0); I < H; I++) m = u(1), l.push(m), f += m ? 0 : 1;
for (f = (I = ((f | 0) - 1).toString(2).length, v = [], 0); f < H; f++) l[f] || (v[f] = u(I));
for (I = 0; I < H; I++) l[I] && (v[I] = Y(w));
for (a = []; z--;) a.push(K(w, Y(w)));
R(Z, w, function(n, N, S, HB, F) {
for (F = (N = [], HB = [], 0); F < H; F++) {
if (S = v[F], !l[F]) {
for (; S >= N.length;) N.push(Y(n));
S = N[S]
}
HB.push(S)
}
n.g = VV((n.C = VV(n, a.slice()), n), HB)
})
})), W), 0), function(w, a, f, v, l) {
f = Y((a = (l = Y(w), Y)(w), w)), w.l == w && (f = K(w, f), v = K(w, l), a = K(w, a), v[a] = f, 435 == l && (w.H = void 0, 2 == a && (w.o = t(w, false, 32), w.H = void 0)))
})), function(w) {
Y_(w, 4)
})), W), function(w, a, f, v) {
k((f = Y((v = (a = Y(w), J(w)), w)), f), w, K(w, a) >>> v)
}), W), function(w, a, f, v) {
if (a = w.ds.pop()) {
for (f = J(w); 0 < f; f--) v = Y(w), a[v] = w.X[v];
a[53] = (a[446] = w.X[446], w).X[53], w.X = a
} else k(465, w, w.B)
}), 0)), R)(27, W, function(w, a, f, v) {
a = K(w, (f = K(w, (v = (f = (a = Y(w), Y(w)), Y)(w), f)), a)) == f, k(v, w, +a)
}), function(w) {
k_(w, 4)
})), R)(308, W, function(w, a, f) {
k((a = (f = Y(w), Y(w)), a), w, "" + K(w, f))
}), 0), W), function(w, a, f) {
(a = K(w, (a = Y((f = Y(w), w)), a)), 0 != K(w, f)) && k(465, w, a)
}), function(w, a, f, v, l, H) {
Q(w, false, a, true) || (H = QV(w.l), f = H.T, a = H.vn, l = H.F, H = H.Xr, v = f.length, f = 0 == v ? new H[l] : 1 == v ? new H[l](f[0]) : 2 == v ? new H[l](f[0], f[1]) : 3 == v ? new H[l](f[0], f[1], f[2]) : 4 == v ? new H[l](f[0], f[1], f[2], f[3]) : 2(), k(a, w, f))
})), function(w, a, f) {
Q(w, false, a, true) || (a = Y(w), f = Y(w), k(f, w, function(v) {
return eval(v)
}(Uv(K(w.l, a)))))
})), W), 903), function(w, a, f, v) {
k((f = K(w, (v = K((a = (v = Y(w), f = Y(w), Y(w)), w), v), f)), a), w, v[f])
})), W), function(w, a, f, v) {
(v = (f = K((a = Y((f = Y(w), v = Y(w), w)), w), f), K)(w, v), k)(a, w, f in v | 0)
}), function() {})), [])), W), function(w, a, f, v) {
f = (a = K(w, (v = Y((f = Y(w), w)), v)), K)(w, f), k(v, w, a + f)
}), R(224, W, function(w, a, f, v, l, H, z) {
for (z = (l = (H = K(w, (v = (a = tE((f = Y(w), w)), ""), 185)), H.length), 0); a--;) z = ((z | 0) + (tE(w) | 0)) % l, v += x[H[z]];
k(f, w, v)
}), function(w, a, f) {
(a = yV((a = (a = Y(w), f = Y(w), K(w, a)), a)), k)(f, w, a)
})), W), []), function(w, a, f, v) {
f = Y(w), a = Y(w), v = Y(w), k(v, w, K(w, f) || K(w, a))
})), k)(53, W, 2048), 420), W, function(w, a, f, v, l) {
for (f = (v = tE((a = Y(w), w)), l = [], 0); f < v; f++) l.push(J(w));
k(a, w, l)
}), 0), function(w, a, f, v, l, H) {
if (!Q(w, true, a, true)) {
if ("object" == yV((w = K((H = (a = K((H = (f = Y((v = (a = Y(w), Y)(w), w)), Y(w)), w), a), K(w, H)), f = K(w, f), w), v), a))) {
for (l in v = [], a) v.push(l);
a = v
}
for (v = (f = 0 < f ? f : 1, l = 0, a.length); l < v; l += f) w(a.slice(l, (l | 0) + (f | 0)), H)
}
})), function(w, a, f, v, l) {
k((v = K((l = K((v = (a = Y((f = Y(w), l = Y(w), w)), Y(w)), w), l), w), v), a = K(w, a), f), w, LA(v, a, l, w))
})), W), function(w) {
NR(4, w)
}), 381), W, function(w) {
k_(w, 3)
}), {})), W)), W), [160, 0, 0]), W.Wn = 0, R(369, W, function(w, a, f, v) {
!Q(w, false, a, true) && (a = QV(w), v = a.F, f = a.Xr, w.l == w || v == w.eu && f == w) && (k(a.vn, w, v.apply(f, a.T)), w.K = w.h())
}), function(w, a) {
BB((a = K(w, Y(w)), w).l, a)
})), 492), W, function(w, a) {
a = Y(w), w = K(w.l, a), w[0].removeEventListener(w[1], w[2], r)
}), function(w, a, f, v, l) {
0 !== (f = K(w, (a = K((l = (v = K((v = (f = (l = (a = Y(w), Y(w)), Y(w)), Y)(w), w), v), K(w, l)), w).l, a), f)), a) && (f = LA(1, v, f, w, a, l), a.addEventListener(l, f, r), k(6, w, [a, l, f]))
})), W), function(w) {
NR(1, w)
}), [CA])), B(W, [q, d]), ot), V]), true), W)
},
mz = String.fromCharCode(105, 110, 116, 101, 103, 67, 104, 101, 99, 107, 66, 121, 112, 97, 115, 115),
ot = ((G.prototype.ws = void 0, G.prototype).Gg = false, []),
jh = (G.prototype.Y = "toString", []),
A = [],
q = [],
iS = [],
U = (G.prototype.UF = void 0, {}),
O = [],
CA = [],
E = [],
P = ((It, function() {})(e), x_, PB, G.prototype.G = "create", c = G.prototype, U).constructor,
WB = (c.IU = ((c.Tg = function(W, d, V) {
return ((d ^= d << 13, d ^= d >> 17, d = (d ^ d << 5) & V) || (d = 1), W) ^ d
}, c).K_ = function() {
return Math.floor(this.h())
}, c.h = (window.performance || {}).now ? function() {
return this.oU + window.performance.now()
} : function() {
return +new Date
}, c.V6 = function(W, d, V, X, x, w) {
for (X = x = (V = [], 0); X < W.length; X++)
for (w = w << d | W[X], x += d; 7 < x;) x -= 8, V.push(w >> x & 255);
return V
}, c.S = function(W, d, V, X, x) {
if (V = "array" === yV(V) ? V : [V], this.v) W(this.v);
else try {
X = [], x = !this.u.length, B(this, [O, X, V]), B(this, [A, W, X]), d && !x || g(d, true, this)
} catch (w) {
T(this, w), W(this.v)
}
}, function(W, d, V, X, x) {
for (x = X = 0; X < W.length; X++) x += W.charCodeAt(X), x += x << 10, x ^= x >> 6;
return X = (W = (x += x << 3, x ^= x >> 11, x + (x << 15)) >>> 0, new Number(W & (1 << d) - 1)), X[0] = (W >>> d) % V, X
}), c.OF = function() {
return Math.floor(this.s + (this.h() - this.I))
}, void 0);
G.prototype.A = function(W, d) {
return W = {}, WB = function() {
return d == W ? 21 : 49
}, d = {},
function(V, X, x, w, a, f, v, l, H, z, m, C, b, Z, I) {
d = (l = d, W);
try {
if (v = V[0], v == q) {
f = V[1];
try {
for (w = (z = x = (Z = atob(f), 0), []); x < Z.length; x++) b = Z.charCodeAt(x), 255 < b && (w[z++] = b & 255, b >>= 8), w[z++] = b;
k(435, this, [0, 0, ((this.O = w, this).B = this.O.length << 3, 0)])
} catch (u) {
h(17, u, this);
return
}
Z_(8001, this)
} else if (v == O) V[1].push(K(this, 53), K(this, 5).length, K(this, 474).length, K(this, 423).length), k(87, this, V[2]), this.X[181] && D_(K(this, 181), 8001, this);
else {
if (v == A) {
this.l = (X = (H = D(2, (z = V[2], (K(this, 474).length | 0) + 2)), this).l, this);
try {
m = K(this, 446), 0 < m.length && p(this, D(2, m.length).concat(m), 474, 10), p(this, D(1, this.W), 474, 109), p(this, D(1, this[A].length), 474), Z = 0, Z -= (K(this, 474).length | 0) + 5, I = K(this, 5), Z += K(this, 121) & 2047, 4 < I.length && (Z -= (I.length | 0) + 3), 0 < Z && p(this, D(2, Z).concat(e(Z)), 474, 15), 4 < I.length && p(this, D(2, I.length).concat(I), 474, 156)
} finally {
this.l = X
}
if (C = ((w = e(2).concat(K(this, 474)), w[1] = w[0] ^ 6, w[3] = w[1] ^ H[0], w)[4] = w[1] ^ H[1], this).C_(w)) C = "!" + C;
else
for (C = "", Z = 0; Z < w.length; Z++) a = w[Z][this.Y](16), 1 == a.length && (a = "0" + a), C += a;
return K((K(((x = C, k)(53, this, z.shift()), K(this, 5).length = z.shift(), this), 474).length = z.shift(), this), 423).length = z.shift(), x
}
if (v == iS) D_(V[1], V[2], this);
else if (v == E) return D_(V[1], 8001, this)
}
} finally {
d = l
}
}
}();
var hE, uS = /./,
JE = q.pop.bind((((G.prototype.C_ = function(W, d, V, X) {
if (d = window.btoa) {
for (V = (X = 0, ""); X < W.length; X += 8192) V += String.fromCharCode.apply(null, W.slice(X, X + 8192));
W = d(V).replace(/\+/g, "-").replace(/\//g, "_").replace(/=/g, "")
} else W = void 0;
return W
}, G).prototype.gs = (G.prototype.aU = 0, 0), G).prototype[ot] = [0, 0, 1, 1, 0, 1, 1], G.prototype[O])),
Uv = function(W, d) {
return (d = zT()) && 1 === W.eval(d.createScript("1")) ? function(V) {
return d.createScript(V)
} : function(V) {
return "" + V
}
}(((hE = TT((uS[G.prototype.Y] = JE, G.prototype.G), {get: JE
}), G.prototype).AF = void 0, M));
(40 < (L = M.botguard || (M.botguard = {}), L.m) || (L.m = 41, L.bg = at, L.a = fA), L).PBO_ = function(W, d, V) {
return V = new G(d, W), [function(X) {
return bS(X, V)
}]
};
}).call(this);
#8 JavaScript::Eval (size: 64) - SHA256: fcc7b67fb6adf834de7be2636820960a9262992ec28780ddd797f42f9a7f0f18
0,
function(w, a, f) {
k((f = (a = Y((f = Y(w), w)), w).X[f] && K(w, f), a), w, f)
}
Executed Writes (0)