chbim-plugins 0.0.3 → 0.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/chbim-plugins.js +269 -267
- package/chbim-plugins.umd.cjs +2 -2
- package/package.json +2 -5
package/chbim-plugins.js
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { openBlock as Fe, createElementBlock as Ee, normalizeClass as qe, renderSlot as We, defineComponent as be, ref as Ze, onMounted as $e, createElementVNode as oe, toDisplayString as Ge } from "vue";
|
|
2
|
-
const
|
|
3
|
-
const
|
|
4
|
-
for (const [
|
|
5
|
-
|
|
6
|
-
return
|
|
7
|
-
},
|
|
1
|
+
import { openBlock as Fe, createElementBlock as Ee, normalizeClass as qe, renderSlot as We, defineComponent as be, ref as Ze, onMounted as $e, createElementVNode as oe, toDisplayString as Ge, createVNode as He, render as Qe } from "vue";
|
|
2
|
+
const Je = (Y, Q) => {
|
|
3
|
+
const K = Y.__vccOpts || Y;
|
|
4
|
+
for (const [at, z] of Q)
|
|
5
|
+
K[at] = z;
|
|
6
|
+
return K;
|
|
7
|
+
}, Ke = {
|
|
8
8
|
name: "MukButton"
|
|
9
|
-
},
|
|
9
|
+
}, ti = /* @__PURE__ */ Object.assign(Ke, {
|
|
10
10
|
props: {
|
|
11
11
|
size: {
|
|
12
12
|
type: String,
|
|
@@ -18,14 +18,14 @@ const He = (Y, Q) => {
|
|
|
18
18
|
}
|
|
19
19
|
},
|
|
20
20
|
setup(Y) {
|
|
21
|
-
return (Q,
|
|
21
|
+
return (Q, K) => (Fe(), Ee("button", {
|
|
22
22
|
class: qe(["muk-btn", [Y.size, Y.type]])
|
|
23
23
|
}, [
|
|
24
24
|
We(Q.$slots, "default", {}, void 0, !0)
|
|
25
25
|
], 2));
|
|
26
26
|
}
|
|
27
|
-
}),
|
|
28
|
-
class
|
|
27
|
+
}), ei = /* @__PURE__ */ Je(ti, [["__scopeId", "data-v-0e6d93cd"]]);
|
|
28
|
+
class ii {
|
|
29
29
|
constructor() {
|
|
30
30
|
this.dom = {
|
|
31
31
|
mask: document.querySelector(".js-mask"),
|
|
@@ -150,15 +150,15 @@ class ti {
|
|
|
150
150
|
document.querySelector(".mask-line.js-mask-line") && document.querySelector(".mask-line.js-mask-line").removeAttribute("style"), document.querySelector(".mask-line__inner.js-mask-line") && document.querySelector(".mask-line__inner.js-mask-line").removeAttribute("style"), this.createTimeline();
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
|
-
const
|
|
153
|
+
const si = { class: "mask js-mask" }, ri = /* @__PURE__ */ oe("div", { class: "mask__slice js-mask__slice" }, null, -1), ni = /* @__PURE__ */ oe("div", { class: "mask__slice js-mask__slice" }, null, -1), oi = /* @__PURE__ */ oe("div", { class: "mask__slice js-mask__slice" }, null, -1), ai = { class: "mask__inner" }, li = { class: "logo logo--mask" }, hi = {
|
|
154
154
|
class: "js-logo",
|
|
155
155
|
style: { color: "#fff" }
|
|
156
|
-
},
|
|
156
|
+
}, _i = /* @__PURE__ */ oe("div", { class: "mask-line js-mask-line" }, [
|
|
157
157
|
/* @__PURE__ */ oe("div", { class: "mask-line__inner js-mask-line" })
|
|
158
|
-
], -1),
|
|
158
|
+
], -1), ui = {
|
|
159
159
|
name: "BimCutscenes"
|
|
160
|
-
},
|
|
161
|
-
...
|
|
160
|
+
}, fi = /* @__PURE__ */ be({
|
|
161
|
+
...ui,
|
|
162
162
|
props: {
|
|
163
163
|
text: {
|
|
164
164
|
type: String,
|
|
@@ -166,24 +166,24 @@ const ei = { class: "mask js-mask" }, ii = /* @__PURE__ */ oe("div", { class: "m
|
|
|
166
166
|
}
|
|
167
167
|
},
|
|
168
168
|
setup(Y, { expose: Q }) {
|
|
169
|
-
const
|
|
170
|
-
|
|
169
|
+
const K = Ze(null), at = () => {
|
|
170
|
+
K.value === null && (K.value = new ii());
|
|
171
171
|
}, z = () => {
|
|
172
|
-
|
|
172
|
+
at(), K.value.continuation();
|
|
173
173
|
};
|
|
174
174
|
return $e(() => {
|
|
175
|
-
|
|
175
|
+
at();
|
|
176
176
|
}), Q({
|
|
177
177
|
continuation: z
|
|
178
|
-
}), (V, H) => (Fe(), Ee("div",
|
|
179
|
-
ii,
|
|
180
|
-
si,
|
|
178
|
+
}), (V, H) => (Fe(), Ee("div", si, [
|
|
181
179
|
ri,
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
180
|
+
ni,
|
|
181
|
+
oi,
|
|
182
|
+
oe("div", ai, [
|
|
183
|
+
oe("figure", li, [
|
|
184
|
+
oe("p", hi, Ge(Y.text), 1)
|
|
185
185
|
]),
|
|
186
|
-
|
|
186
|
+
_i
|
|
187
187
|
])
|
|
188
188
|
]));
|
|
189
189
|
}
|
|
@@ -206,8 +206,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
206
206
|
Dt._gsDefine(
|
|
207
207
|
"TweenMax",
|
|
208
208
|
["core.Animation", "core.SimpleTimeline", "TweenLite"],
|
|
209
|
-
function(Y, Q,
|
|
210
|
-
var
|
|
209
|
+
function(Y, Q, K) {
|
|
210
|
+
var at = function(v) {
|
|
211
211
|
var P, e = [], t = v.length;
|
|
212
212
|
for (P = 0; P !== t; e.push(v[P++]))
|
|
213
213
|
;
|
|
@@ -218,10 +218,10 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
218
218
|
_ = n[t], v[t] = typeof _ == "function" ? _(e, P[e]) : _[e % _.length];
|
|
219
219
|
delete v.cycle;
|
|
220
220
|
}, V = function(v, P, e) {
|
|
221
|
-
|
|
222
|
-
}, H = 1e-10, dt =
|
|
223
|
-
V.version = "2.0.2", W.constructor = V, W.kill()._gc = !1, V.killTweensOf = V.killDelayedCallsTo =
|
|
224
|
-
return this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._yoyoEase = null, this._uncache(!0),
|
|
221
|
+
K.call(this, v, P, e), this._cycle = 0, this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._repeat && this._uncache(!0), this.render = V.prototype.render;
|
|
222
|
+
}, H = 1e-10, dt = K._internals, S = dt.isSelector, M = dt.isArray, W = V.prototype = K.to({}, 0.1, {}), F = [];
|
|
223
|
+
V.version = "2.0.2", W.constructor = V, W.kill()._gc = !1, V.killTweensOf = V.killDelayedCallsTo = K.killTweensOf, V.getTweensOf = K.getTweensOf, V.lagSmoothing = K.lagSmoothing, V.ticker = K.ticker, V.render = K.render, W.invalidate = function() {
|
|
224
|
+
return this._yoyo = this.vars.yoyo === !0 || !!this.vars.yoyoEase, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._yoyoEase = null, this._uncache(!0), K.prototype.invalidate.call(this);
|
|
225
225
|
}, W.updateTo = function(v, P) {
|
|
226
226
|
var e, t = this.ratio, _ = this.vars.immediateRender || v.immediateRender;
|
|
227
227
|
P && this._startTime < this._timeline._time && (this._startTime = this._timeline._time, this._uncache(!1), this._gc ? this._enabled(!0, !1) : this._timeline.insert(this, this._startTime - this._delay));
|
|
@@ -230,7 +230,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
230
230
|
if (this._initted || _) {
|
|
231
231
|
if (P)
|
|
232
232
|
this._initted = !1, _ && this.render(0, !0, !0);
|
|
233
|
-
else if (this._gc && this._enabled(!0, !1), this._notifyPluginsOfEnabled && this._firstPT &&
|
|
233
|
+
else if (this._gc && this._enabled(!0, !1), this._notifyPluginsOfEnabled && this._firstPT && K._onPluginEvent("_onDisable", this), this._time / this._duration > 0.998) {
|
|
234
234
|
var n = this._totalTime;
|
|
235
235
|
this.render(0, !0, !1), this._initted = !1, this.render(n, !0, !1);
|
|
236
236
|
} else if (this._initted = !1, this._init(), this._time > 0 || _)
|
|
@@ -240,19 +240,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
240
240
|
return this;
|
|
241
241
|
}, W.render = function(v, P, e) {
|
|
242
242
|
this._initted || this._duration === 0 && this.vars.repeat && this.invalidate();
|
|
243
|
-
var t, _, n, g, p, T, O, D, R, Z = this._dirty ? this.totalDuration() : this._totalDuration, U = this._time,
|
|
244
|
-
if (v >= Z - 1e-7 && v >= 0 ? (this._totalTime = Z, this._cycle = this._repeat, this._yoyo && 1 & this._cycle ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = mt, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (t = !0, _ = "onComplete", e = e || this._timeline.autoRemoveChildren), mt === 0 && (this._initted || !this.vars.lazy || e) && (this._startTime === this._timeline._duration && (v = 0), (0 > ot || 0 >= v && v >= -1e-7 || ot === H && this.data !== "isPause") && ot !== v && (e = !0, ot > H && (_ = "onReverseComplete")), this._rawPrevTime = D = !P || v || ot === v ? v : H)) : 1e-7 > v ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (
|
|
245
|
-
return void (
|
|
243
|
+
var t, _, n, g, p, T, O, D, R, Z = this._dirty ? this.totalDuration() : this._totalDuration, U = this._time, tt = this._totalTime, et = this._cycle, mt = this._duration, ot = this._rawPrevTime;
|
|
244
|
+
if (v >= Z - 1e-7 && v >= 0 ? (this._totalTime = Z, this._cycle = this._repeat, this._yoyo && 1 & this._cycle ? (this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0) : (this._time = mt, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1), this._reversed || (t = !0, _ = "onComplete", e = e || this._timeline.autoRemoveChildren), mt === 0 && (this._initted || !this.vars.lazy || e) && (this._startTime === this._timeline._duration && (v = 0), (0 > ot || 0 >= v && v >= -1e-7 || ot === H && this.data !== "isPause") && ot !== v && (e = !0, ot > H && (_ = "onReverseComplete")), this._rawPrevTime = D = !P || v || ot === v ? v : H)) : 1e-7 > v ? (this._totalTime = this._time = this._cycle = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (tt !== 0 || mt === 0 && ot > 0) && (_ = "onReverseComplete", t = this._reversed), 0 > v && (this._active = !1, mt === 0 && (this._initted || !this.vars.lazy || e) && (ot >= 0 && (e = !0), this._rawPrevTime = D = !P || v || ot === v ? v : H)), this._initted || (e = !0)) : (this._totalTime = this._time = v, this._repeat !== 0 && (g = mt + this._repeatDelay, this._cycle = this._totalTime / g >> 0, this._cycle !== 0 && this._cycle === this._totalTime / g && v >= tt && this._cycle--, this._time = this._totalTime - this._cycle * g, this._yoyo && 1 & this._cycle && (this._time = mt - this._time, R = this._yoyoEase || this.vars.yoyoEase, R && (this._yoyoEase || (R !== !0 || this._initted ? this._yoyoEase = R = R === !0 ? this._ease : R instanceof Ease ? R : Ease.map[R] : (R = this.vars.ease, this._yoyoEase = R = R ? R instanceof Ease ? R : typeof R == "function" ? new Ease(R, this.vars.easeParams) : Ease.map[R] || K.defaultEase : K.defaultEase)), this.ratio = R ? 1 - R.getRatio((mt - this._time) / mt) : 0)), this._time > mt ? this._time = mt : this._time < 0 && (this._time = 0)), this._easeType && !R ? (p = this._time / mt, T = this._easeType, O = this._easePower, (T === 1 || T === 3 && p >= 0.5) && (p = 1 - p), T === 3 && (p *= 2), O === 1 ? p *= p : O === 2 ? p *= p * p : O === 3 ? p *= p * p * p : O === 4 && (p *= p * p * p * p), T === 1 ? this.ratio = 1 - p : T === 2 ? this.ratio = p : this._time / mt < 0.5 ? this.ratio = p / 2 : this.ratio = 1 - p / 2) : R || (this.ratio = this._ease.getRatio(this._time / mt))), U === this._time && !e && et === this._cycle)
|
|
245
|
+
return void (tt !== this._totalTime && this._onUpdate && (P || this._callback("onUpdate")));
|
|
246
246
|
if (!this._initted) {
|
|
247
247
|
if (this._init(), !this._initted || this._gc)
|
|
248
248
|
return;
|
|
249
249
|
if (!e && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration))
|
|
250
|
-
return this._time = U, this._totalTime =
|
|
250
|
+
return this._time = U, this._totalTime = tt, this._rawPrevTime = ot, this._cycle = et, dt.lazyTweens.push(this), void (this._lazy = [v, P]);
|
|
251
251
|
!this._time || t || R ? t && this._ease._calcEnd && !R && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1)) : this.ratio = this._ease.getRatio(this._time / mt);
|
|
252
252
|
}
|
|
253
|
-
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== U && v >= 0 && (this._active = !0),
|
|
253
|
+
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== U && v >= 0 && (this._active = !0), tt === 0 && (this._initted === 2 && v > 0 && this._init(), this._startAt && (v >= 0 ? this._startAt.render(v, !0, e) : _ || (_ = "_dummyGS")), this.vars.onStart && (this._totalTime !== 0 || mt === 0) && (P || this._callback("onStart"))), n = this._firstPT; n; )
|
|
254
254
|
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;
|
|
255
|
-
this._onUpdate && (0 > v && this._startAt && this._startTime && this._startAt.render(v, !0, e), P || (this._totalTime !==
|
|
255
|
+
this._onUpdate && (0 > v && this._startAt && this._startTime && this._startAt.render(v, !0, e), P || (this._totalTime !== tt || _) && this._callback("onUpdate")), this._cycle !== et && (P || this._gc || this.vars.onRepeat && this._callback("onRepeat")), _ && (!this._gc || e) && (0 > v && this._startAt && !this._onUpdate && this._startTime && this._startAt.render(v, !0, e), t && (this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !P && this.vars[_] && this._callback(_), mt === 0 && this._rawPrevTime === H && D !== H && (this._rawPrevTime = 0));
|
|
256
256
|
}, V.to = function(v, P, e) {
|
|
257
257
|
return new V(v, P, e);
|
|
258
258
|
}, V.from = function(v, P, e) {
|
|
@@ -263,15 +263,15 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
263
263
|
t = t || 0;
|
|
264
264
|
var p, T, O, D, R = 0, Z = [], U = function() {
|
|
265
265
|
e.onComplete && e.onComplete.apply(e.onCompleteScope || this, arguments), _.apply(g || e.callbackScope || this, n || F);
|
|
266
|
-
},
|
|
267
|
-
for (M(v) || (typeof v == "string" && (v =
|
|
266
|
+
}, tt = e.cycle, et = e.startAt && e.startAt.cycle;
|
|
267
|
+
for (M(v) || (typeof v == "string" && (v = K.selector(v) || v), S(v) && (v = at(v))), v = v || [], 0 > t && (v = at(v), v.reverse(), t *= -1), p = v.length - 1, O = 0; p >= O; O++) {
|
|
268
268
|
T = {};
|
|
269
269
|
for (D in e)
|
|
270
270
|
T[D] = e[D];
|
|
271
|
-
if (
|
|
272
|
-
|
|
271
|
+
if (tt && (z(T, v, O), T.duration != null && (P = T.duration, delete T.duration)), et) {
|
|
272
|
+
et = T.startAt = {};
|
|
273
273
|
for (D in e.startAt)
|
|
274
|
-
|
|
274
|
+
et[D] = e.startAt[D];
|
|
275
275
|
z(T.startAt, v, O);
|
|
276
276
|
}
|
|
277
277
|
T.delay = R + (T.delay || 0), O === p && _ && (T.onComplete = U), Z[O] = new V(v[O], P, T), R += t;
|
|
@@ -296,11 +296,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
296
296
|
}, V.set = function(v, P) {
|
|
297
297
|
return new V(v, 0, P);
|
|
298
298
|
}, V.isTweening = function(v) {
|
|
299
|
-
return
|
|
299
|
+
return K.getTweensOf(v, !0).length > 0;
|
|
300
300
|
};
|
|
301
301
|
var $ = function(v, P) {
|
|
302
302
|
for (var e = [], t = 0, _ = v._first; _; )
|
|
303
|
-
_ instanceof
|
|
303
|
+
_ instanceof K ? e[t++] = _ : (P && (e[t++] = _), e = e.concat($(_, P)), t = e.length), _ = _._next;
|
|
304
304
|
return e;
|
|
305
305
|
}, st = V.getAllTweens = function(v) {
|
|
306
306
|
return $(Y._rootTimeline, v).concat($(Y._rootFramesTimeline, v));
|
|
@@ -313,7 +313,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
313
313
|
}, V.killChildTweensOf = function(v, P) {
|
|
314
314
|
if (v != null) {
|
|
315
315
|
var e, t, _, n, g, p = dt.tweenLookup;
|
|
316
|
-
if (typeof v == "string" && (v =
|
|
316
|
+
if (typeof v == "string" && (v = K.selector(v) || v), S(v) && (v = at(v)), M(v))
|
|
317
317
|
for (n = v.length; --n > -1; )
|
|
318
318
|
V.killChildTweensOf(v[n], P);
|
|
319
319
|
else {
|
|
@@ -336,8 +336,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
336
336
|
}, V.resumeAll = function(v, P, e) {
|
|
337
337
|
L(!1, v, P, e);
|
|
338
338
|
}, V.globalTimeScale = function(v) {
|
|
339
|
-
var P = Y._rootTimeline, e =
|
|
340
|
-
return arguments.length ? (v = v || H, P._startTime = e - (e - P._startTime) * P._timeScale / v, P = Y._rootFramesTimeline, e =
|
|
339
|
+
var P = Y._rootTimeline, e = K.ticker.time;
|
|
340
|
+
return arguments.length ? (v = v || H, P._startTime = e - (e - P._startTime) * P._timeScale / v, P = Y._rootFramesTimeline, e = K.ticker.frame, P._startTime = e - (e - P._startTime) * P._timeScale / v, P._timeScale = Y._rootTimeline._timeScale = v, v) : P._timeScale;
|
|
341
341
|
}, W.progress = function(v, P) {
|
|
342
342
|
return arguments.length ? this.totalTime(
|
|
343
343
|
this.duration() * (this._yoyo && 1 & this._cycle ? 1 - v : v) + this._cycle * (this._duration + this._repeatDelay),
|
|
@@ -365,14 +365,14 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
365
365
|
), Dt._gsDefine(
|
|
366
366
|
"TimelineLite",
|
|
367
367
|
["core.Animation", "core.SimpleTimeline", "TweenLite"],
|
|
368
|
-
function(Y, Q,
|
|
369
|
-
var
|
|
368
|
+
function(Y, Q, K) {
|
|
369
|
+
var at = function(e) {
|
|
370
370
|
Q.call(this, e), this._labels = {}, this.autoRemoveChildren = this.vars.autoRemoveChildren === !0, this.smoothChildTiming = this.vars.smoothChildTiming === !0, this._sortChildren = !0, this._onUpdate = this.vars.onUpdate;
|
|
371
371
|
var t, _, n = this.vars;
|
|
372
372
|
for (_ in n)
|
|
373
373
|
t = n[_], S(t) && t.join("").indexOf("{self}") !== -1 && (n[_] = this._swapSelfInParams(t));
|
|
374
374
|
S(n.tweens) && this.add(n.tweens, 0, n.align, n.stagger);
|
|
375
|
-
}, z = 1e-10, V =
|
|
375
|
+
}, z = 1e-10, V = K._internals, H = at._internals = {}, dt = V.isSelector, S = V.isArray, M = V.lazyTweens, W = V.lazyRender, F = Dt._gsDefine.globals, $ = function(e) {
|
|
376
376
|
var t, _ = {};
|
|
377
377
|
for (t in e)
|
|
378
378
|
_[t] = e[t];
|
|
@@ -388,23 +388,23 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
388
388
|
for (t = 0; t !== n; _.push(e[t++]))
|
|
389
389
|
;
|
|
390
390
|
return _;
|
|
391
|
-
}, P =
|
|
392
|
-
return
|
|
393
|
-
var g = _.repeat && F.TweenMax ||
|
|
391
|
+
}, P = at.prototype = new Q();
|
|
392
|
+
return at.version = "2.0.2", P.constructor = at, P.kill()._gc = P._forcingPlayhead = P._hasPause = !1, P.to = function(e, t, _, n) {
|
|
393
|
+
var g = _.repeat && F.TweenMax || K;
|
|
394
394
|
return t ? this.add(new g(e, t, _), n) : this.set(e, _, n);
|
|
395
395
|
}, P.from = function(e, t, _, n) {
|
|
396
|
-
return this.add((_.repeat && F.TweenMax ||
|
|
396
|
+
return this.add((_.repeat && F.TweenMax || K).from(e, t, _), n);
|
|
397
397
|
}, P.fromTo = function(e, t, _, n, g) {
|
|
398
|
-
var p = n.repeat && F.TweenMax ||
|
|
398
|
+
var p = n.repeat && F.TweenMax || K;
|
|
399
399
|
return t ? this.add(p.fromTo(e, t, _, n), g) : this.set(e, n, g);
|
|
400
400
|
}, P.staggerTo = function(e, t, _, n, g, p, T, O) {
|
|
401
|
-
var D, R, Z = new
|
|
401
|
+
var D, R, Z = new at({
|
|
402
402
|
onComplete: p,
|
|
403
403
|
onCompleteParams: T,
|
|
404
404
|
callbackScope: O,
|
|
405
405
|
smoothChildTiming: this.smoothChildTiming
|
|
406
406
|
}), U = _.cycle;
|
|
407
|
-
for (typeof e == "string" && (e =
|
|
407
|
+
for (typeof e == "string" && (e = K.selector(e) || e), e = e || [], dt(e) && (e = v(e)), n = n || 0, 0 > n && (e = v(e), e.reverse(), n *= -1), R = 0; R < e.length; R++)
|
|
408
408
|
D = $(_), D.startAt && (D.startAt = $(D.startAt), D.startAt.cycle && st(D.startAt, e, R)), U && (st(D, e, R), D.duration != null && (t = D.duration, delete D.duration)), Z.to(e[R], t, D, R * n);
|
|
409
409
|
return this.add(Z, g);
|
|
410
410
|
}, P.staggerFrom = function(e, t, _, n, g, p, T, O) {
|
|
@@ -412,28 +412,28 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
412
412
|
}, P.staggerFromTo = function(e, t, _, n, g, p, T, O, D) {
|
|
413
413
|
return n.startAt = _, n.immediateRender = n.immediateRender != 0 && _.immediateRender != 0, this.staggerTo(e, t, n, g, p, T, O, D);
|
|
414
414
|
}, P.call = function(e, t, _, n) {
|
|
415
|
-
return this.add(
|
|
415
|
+
return this.add(K.delayedCall(0, e, t, _), n);
|
|
416
416
|
}, P.set = function(e, t, _) {
|
|
417
|
-
return _ = this._parseTimeOrLabel(_, 0, !0), t.immediateRender == null && (t.immediateRender = _ === this._time && !this._paused), this.add(new
|
|
418
|
-
},
|
|
417
|
+
return _ = this._parseTimeOrLabel(_, 0, !0), t.immediateRender == null && (t.immediateRender = _ === this._time && !this._paused), this.add(new K(e, 0, t), _);
|
|
418
|
+
}, at.exportRoot = function(e, t) {
|
|
419
419
|
e = e || {}, e.smoothChildTiming == null && (e.smoothChildTiming = !0);
|
|
420
|
-
var _, n, g, p, T = new
|
|
420
|
+
var _, n, g, p, T = new at(e), O = T._timeline;
|
|
421
421
|
for (t == null && (t = !0), O._remove(T, !0), T._startTime = 0, T._rawPrevTime = T._time = T._totalTime = O._time, g = O._first; g; )
|
|
422
|
-
p = g._next, t && g instanceof
|
|
422
|
+
p = g._next, t && g instanceof K && g.target === g.vars.onComplete || (n = g._startTime - g._delay, 0 > n && (_ = 1), T.add(g, n)), g = p;
|
|
423
423
|
return O.add(T, 0), _ && T.totalDuration(), T;
|
|
424
424
|
}, P.add = function(e, t, _, n) {
|
|
425
425
|
var g, p, T, O, D, R;
|
|
426
426
|
if (typeof t != "number" && (t = this._parseTimeOrLabel(t, 0, !0, e)), !(e instanceof Y)) {
|
|
427
427
|
if (e instanceof Array || e && e.push && S(e)) {
|
|
428
428
|
for (_ = _ || "normal", n = n || 0, g = t, p = e.length, T = 0; p > T; T++)
|
|
429
|
-
S(O = e[T]) && (O = new
|
|
429
|
+
S(O = e[T]) && (O = new at({ tweens: O })), this.add(O, g), typeof O != "string" && typeof O != "function" && (_ === "sequence" ? g = O._startTime + O.totalDuration() / O._timeScale : _ === "start" && (O._startTime -= O.delay())), g += n;
|
|
430
430
|
return this._uncache(!0);
|
|
431
431
|
}
|
|
432
432
|
if (typeof e == "string")
|
|
433
433
|
return this.addLabel(e, t);
|
|
434
434
|
if (typeof e != "function")
|
|
435
435
|
throw "Cannot add " + e + " into the timeline; it is not a tween, timeline, function, or string.";
|
|
436
|
-
e =
|
|
436
|
+
e = K.delayedCall(0, e);
|
|
437
437
|
}
|
|
438
438
|
if (Q.prototype.add.call(this, e, t), e._time && (g = Math.max(
|
|
439
439
|
0,
|
|
@@ -470,7 +470,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
470
470
|
}, P.addLabel = function(e, t) {
|
|
471
471
|
return this._labels[e] = this._parseTimeOrLabel(t), this;
|
|
472
472
|
}, P.addPause = function(e, t, _, n) {
|
|
473
|
-
var g =
|
|
473
|
+
var g = K.delayedCall(0, L, _, n || this);
|
|
474
474
|
return g.vars.onComplete = g.vars.onReverseComplete = t, g.data = "isPause", this._hasPause = !0, this.add(g, e);
|
|
475
475
|
}, P.removeLabel = function(e) {
|
|
476
476
|
return delete this._labels[e], this;
|
|
@@ -510,7 +510,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
510
510
|
return this.pause(e, t);
|
|
511
511
|
}, P.render = function(e, t, _) {
|
|
512
512
|
this._gc && this._enabled(!0, !1);
|
|
513
|
-
var n, g, p, T, O, D, R, Z = this._time, U = this._dirty ? this.totalDuration() : this._totalDuration,
|
|
513
|
+
var n, g, p, T, O, D, R, Z = this._time, U = this._dirty ? this.totalDuration() : this._totalDuration, tt = this._startTime, et = this._timeScale, mt = this._paused;
|
|
514
514
|
if (Z !== this._time && (e += this._time - Z), e >= U - 1e-7 && e >= 0)
|
|
515
515
|
this._totalTime = this._time = U, this._reversed || this._hasPausedChild() || (g = !0, T = "onComplete", O = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= e && e >= -1e-7 || this._rawPrevTime < 0 || this._rawPrevTime === z) && this._rawPrevTime !== e && this._first && (O = !0, this._rawPrevTime > z && (T = "onReverseComplete"))), this._rawPrevTime = this._duration || !t || e || this._rawPrevTime === e ? e : z, e = U + 1e-4;
|
|
516
516
|
else if (1e-7 > e)
|
|
@@ -562,11 +562,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
562
562
|
}
|
|
563
563
|
n = p;
|
|
564
564
|
}
|
|
565
|
-
this._onUpdate && (t || (M.length && W(), this._callback("onUpdate"))), T && (this._gc || (
|
|
565
|
+
this._onUpdate && (t || (M.length && W(), this._callback("onUpdate"))), T && (this._gc || (tt === this._startTime || et !== this._timeScale) && (this._time === 0 || U >= this.totalDuration()) && (g && (M.length && W(), this._timeline.autoRemoveChildren && this._enabled(!1, !1), this._active = !1), !t && this.vars[T] && this._callback(T)));
|
|
566
566
|
}
|
|
567
567
|
}, P._hasPausedChild = function() {
|
|
568
568
|
for (var e = this._first; e; ) {
|
|
569
|
-
if (e._paused || e instanceof
|
|
569
|
+
if (e._paused || e instanceof at && e._hasPausedChild())
|
|
570
570
|
return !0;
|
|
571
571
|
e = e._next;
|
|
572
572
|
}
|
|
@@ -574,11 +574,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
574
574
|
}, P.getChildren = function(e, t, _, n) {
|
|
575
575
|
n = n || -9999999999;
|
|
576
576
|
for (var g = [], p = this._first, T = 0; p; )
|
|
577
|
-
p._startTime < n || (p instanceof
|
|
577
|
+
p._startTime < n || (p instanceof K ? t !== !1 && (g[T++] = p) : (_ !== !1 && (g[T++] = p), e !== !1 && (g = g.concat(p.getChildren(!0, t, _)), T = g.length))), p = p._next;
|
|
578
578
|
return g;
|
|
579
579
|
}, P.getTweensOf = function(e, t) {
|
|
580
580
|
var _, n, g = this._gc, p = [], T = 0;
|
|
581
|
-
for (g && this._enabled(!0, !0), _ =
|
|
581
|
+
for (g && this._enabled(!0, !0), _ = K.getTweensOf(e), n = _.length; --n > -1; )
|
|
582
582
|
(_[n].timeline === this || t && this._contains(_[n])) && (p[T++] = _[n]);
|
|
583
583
|
return g && this._enabled(!1, !0), p;
|
|
584
584
|
}, P.recent = function() {
|
|
@@ -645,17 +645,17 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
645
645
|
return e === Y._rootFramesTimeline;
|
|
646
646
|
}, P.rawTime = function(e) {
|
|
647
647
|
return e && (this._paused || this._repeat && this.time() > 0 && this.totalProgress() < 1) ? this._totalTime % (this._duration + this._repeatDelay) : this._paused ? this._totalTime : (this._timeline.rawTime(e) - this._startTime) * this._timeScale;
|
|
648
|
-
},
|
|
648
|
+
}, at;
|
|
649
649
|
},
|
|
650
650
|
!0
|
|
651
651
|
), Dt._gsDefine(
|
|
652
652
|
"TimelineMax",
|
|
653
653
|
["TimelineLite", "TweenLite", "easing.Ease"],
|
|
654
|
-
function(Y, Q,
|
|
655
|
-
var
|
|
654
|
+
function(Y, Q, K) {
|
|
655
|
+
var at = function(F) {
|
|
656
656
|
Y.call(this, F), this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._cycle = 0, this._yoyo = this.vars.yoyo === !0, this._dirty = !0;
|
|
657
|
-
}, z = 1e-10, V = Q._internals, H = V.lazyTweens, dt = V.lazyRender, S = Dt._gsDefine.globals, M = new
|
|
658
|
-
return W.constructor =
|
|
657
|
+
}, z = 1e-10, V = Q._internals, H = V.lazyTweens, dt = V.lazyRender, S = Dt._gsDefine.globals, M = new K(null, null, 1, 0), W = at.prototype = new Y();
|
|
658
|
+
return W.constructor = at, W.kill()._gc = !1, at.version = "2.0.2", W.invalidate = function() {
|
|
659
659
|
return this._yoyo = this.vars.yoyo === !0, this._repeat = this.vars.repeat || 0, this._repeatDelay = this.vars.repeatDelay || 0, this._uncache(!0), Y.prototype.invalidate.call(this);
|
|
660
660
|
}, W.addCallback = function(F, $, st, L) {
|
|
661
661
|
return this.add(Q.delayedCall(0, F, st, L), $);
|
|
@@ -697,7 +697,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
697
697
|
return L.isFromTo = 1, L.duration(Math.abs(L.vars.time - F) / this._timeScale || 1e-3);
|
|
698
698
|
}, W.render = function(F, $, st) {
|
|
699
699
|
this._gc && this._enabled(!0, !1);
|
|
700
|
-
var L, v, P, e, t, _, n, g, p = this._time, T = this._dirty ? this.totalDuration() : this._totalDuration, O = this._duration, D = this._totalTime, R = this._startTime, Z = this._timeScale, U = this._rawPrevTime,
|
|
700
|
+
var L, v, P, e, t, _, n, g, p = this._time, T = this._dirty ? this.totalDuration() : this._totalDuration, O = this._duration, D = this._totalTime, R = this._startTime, Z = this._timeScale, U = this._rawPrevTime, tt = this._paused, et = this._cycle;
|
|
701
701
|
if (p !== this._time && (F += this._time - p), F >= T - 1e-7 && F >= 0)
|
|
702
702
|
this._locked || (this._totalTime = T, this._cycle = this._repeat), this._reversed || this._hasPausedChild() || (v = !0, e = "onComplete", t = !!this._timeline.autoRemoveChildren, this._duration === 0 && (0 >= F && F >= -1e-7 || 0 > U || U === z) && U !== F && this._first && (t = !0, U > z && (e = "onReverseComplete"))), this._rawPrevTime = this._duration || !$ || F || this._rawPrevTime === F ? F : z, this._yoyo && 1 & this._cycle ? this._time = F = 0 : (this._time = O, F = O + 1e-4);
|
|
703
703
|
else if (1e-7 > F)
|
|
@@ -710,7 +710,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
710
710
|
F = 0, this._initted || (t = !0);
|
|
711
711
|
}
|
|
712
712
|
else if (O === 0 && 0 > U && (t = !0), this._time = this._rawPrevTime = F, this._locked || (this._totalTime = F, this._repeat !== 0 && (_ = O + this._repeatDelay, this._cycle = this._totalTime / _ >> 0, this._cycle !== 0 && this._cycle === this._totalTime / _ && F >= D && this._cycle--, this._time = this._totalTime - this._cycle * _, this._yoyo && 1 & this._cycle && (this._time = O - this._time), this._time > O ? (this._time = O, F = O + 1e-4) : this._time < 0 ? this._time = F = 0 : F = this._time)), this._hasPause && !this._forcingPlayhead && !$) {
|
|
713
|
-
if (F = this._time, F >= p || this._repeat &&
|
|
713
|
+
if (F = this._time, F >= p || this._repeat && et !== this._cycle)
|
|
714
714
|
for (L = this._first; L && L._startTime <= F && !n; )
|
|
715
715
|
L._duration || L.data !== "isPause" || L.ratio || L._startTime === 0 && this._rawPrevTime === 0 || (n = L), L = L._next;
|
|
716
716
|
else
|
|
@@ -718,23 +718,23 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
718
718
|
L._duration || L.data === "isPause" && L._rawPrevTime > 0 && (n = L), L = L._prev;
|
|
719
719
|
n && n._startTime < O && (this._time = F = n._startTime, this._totalTime = F + this._cycle * (this._totalDuration + this._repeatDelay));
|
|
720
720
|
}
|
|
721
|
-
if (this._cycle !==
|
|
722
|
-
var mt = this._yoyo && (1 &
|
|
723
|
-
if (this._totalTime =
|
|
721
|
+
if (this._cycle !== et && !this._locked) {
|
|
722
|
+
var mt = this._yoyo && (1 & et) !== 0, ot = mt === (this._yoyo && (1 & this._cycle) !== 0), J = this._totalTime, gt = this._cycle, Yt = this._rawPrevTime, yt = this._time;
|
|
723
|
+
if (this._totalTime = et * O, this._cycle < et ? mt = !mt : this._totalTime += O, this._time = p, this._rawPrevTime = O === 0 ? U - 1e-4 : U, this._cycle = et, this._locked = !0, p = mt ? 0 : O, this.render(p, $, O === 0), $ || this._gc || this.vars.onRepeat && (this._cycle = gt, this._locked = !1, this._callback("onRepeat")), p !== this._time || (ot && (this._cycle = et, this._locked = !0, p = mt ? O + 1e-4 : -1e-4, this.render(p, !0, !1)), this._locked = !1, this._paused && !tt))
|
|
724
724
|
return;
|
|
725
725
|
this._time = yt, this._totalTime = J, this._cycle = gt, this._rawPrevTime = Yt;
|
|
726
726
|
}
|
|
727
727
|
if (!(this._time !== p && this._first || st || t || n))
|
|
728
728
|
return void (D !== this._totalTime && this._onUpdate && ($ || this._callback("onUpdate")));
|
|
729
729
|
if (this._initted || (this._initted = !0), this._active || !this._paused && this._totalTime !== D && F > 0 && (this._active = !0), D === 0 && this.vars.onStart && (this._totalTime === 0 && this._totalDuration || $ || this._callback("onStart")), g = this._time, g >= p)
|
|
730
|
-
for (L = this._first; L && (P = L._next, g === this._time && (!this._paused ||
|
|
730
|
+
for (L = this._first; L && (P = L._next, g === this._time && (!this._paused || tt)); )
|
|
731
731
|
(L._active || L._startTime <= this._time && !L._paused && !L._gc) && (n === L && this.pause(), L._reversed ? L.render(
|
|
732
732
|
(L._dirty ? L.totalDuration() : L._totalDuration) - (F - L._startTime) * L._timeScale,
|
|
733
733
|
$,
|
|
734
734
|
st
|
|
735
735
|
) : L.render((F - L._startTime) * L._timeScale, $, st)), L = P;
|
|
736
736
|
else
|
|
737
|
-
for (L = this._last; L && (P = L._prev, g === this._time && (!this._paused ||
|
|
737
|
+
for (L = this._last; L && (P = L._prev, g === this._time && (!this._paused || tt)); ) {
|
|
738
738
|
if (L._active || L._startTime <= p && !L._paused && !L._gc) {
|
|
739
739
|
if (n === L) {
|
|
740
740
|
for (n = L._prev; n && n.endTime() > this._time; )
|
|
@@ -801,19 +801,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
801
801
|
return arguments.length ? (this._yoyo = F, this) : this._yoyo;
|
|
802
802
|
}, W.currentLabel = function(F) {
|
|
803
803
|
return arguments.length ? this.seek(F, !0) : this.getLabelBefore(this._time + 1e-8);
|
|
804
|
-
},
|
|
804
|
+
}, at;
|
|
805
805
|
},
|
|
806
806
|
!0
|
|
807
807
|
), function() {
|
|
808
|
-
var Y = 180 / Math.PI, Q = [],
|
|
808
|
+
var Y = 180 / Math.PI, Q = [], K = [], at = [], z = {}, V = Dt._gsDefine.globals, H = function(e, t, _, n) {
|
|
809
809
|
_ === n && (_ = n - (n - t) / 1e6), e === t && (t = e + (_ - e) / 1e6), this.a = e, this.b = t, this.c = _, this.d = n, this.da = n - e, this.ca = _ - e, this.ba = t - e;
|
|
810
810
|
}, dt = ",x,y,z,left,top,right,bottom,marginTop,marginLeft,marginRight,marginBottom,paddingLeft,paddingTop,paddingRight,paddingBottom,backgroundPosition,backgroundPosition_y,", S = function(e, t, _, n) {
|
|
811
|
-
var g = { a: e }, p = {}, T = {}, O = { c: n }, D = (e + t) / 2, R = (t + _) / 2, Z = (_ + n) / 2, U = (D + R) / 2,
|
|
812
|
-
return g.b = D + (e - D) / 4, p.b = U +
|
|
811
|
+
var g = { a: e }, p = {}, T = {}, O = { c: n }, D = (e + t) / 2, R = (t + _) / 2, Z = (_ + n) / 2, U = (D + R) / 2, tt = (R + Z) / 2, et = (tt - U) / 8;
|
|
812
|
+
return g.b = D + (e - D) / 4, p.b = U + et, g.c = p.a = (g.b + p.b) / 2, p.c = T.a = (U + tt) / 2, T.b = tt - et, O.b = Z + (n - Z) / 4, T.c = O.a = (T.b + O.b) / 2, [g, p, T, O];
|
|
813
813
|
}, M = function(e, t, _, n, g) {
|
|
814
|
-
var p, T, O, D, R, Z, U,
|
|
814
|
+
var p, T, O, D, R, Z, U, tt, et, mt, ot, J, gt, Yt = e.length - 1, yt = 0, At = e[0].a;
|
|
815
815
|
for (p = 0; Yt > p; p++)
|
|
816
|
-
R = e[yt], T = R.a, O = R.d, D = e[yt + 1].d, g ? (ot = Q[p], J =
|
|
816
|
+
R = e[yt], T = R.a, O = R.d, D = e[yt + 1].d, g ? (ot = Q[p], J = K[p], gt = (J + ot) * t * 0.25 / (n ? 0.5 : at[p] || 0.5), Z = O - (O - T) * (n ? 0.5 * t : ot !== 0 ? gt / ot : 0), U = O + (D - O) * (n ? 0.5 * t : J !== 0 ? gt / J : 0), tt = O - (Z + ((U - Z) * (3 * ot / (ot + J) + 0.5) / 4 || 0))) : (Z = O - (O - T) * t * 0.5, U = O + (D - O) * t * 0.5, tt = O - (Z + U) / 2), Z += tt, U += tt, R.c = et = Z, p !== 0 ? R.b = At : R.b = At = R.a + 0.6 * (R.c - R.a), R.da = O - T, R.ca = et - T, R.ba = At - T, _ ? (mt = S(T, At, et, O), e.splice(yt, 1, mt[0], mt[1], mt[2], mt[3]), yt += 4) : yt++, At = U;
|
|
817
817
|
R = e[yt], R.b = At, R.c = At + 0.4 * (R.d - At), R.da = R.d - R.a, R.ca = R.c - R.a, R.ba = At - R.a, _ && (mt = S(R.a, At, R.c, R.d), e.splice(yt, 1, mt[0], mt[1], mt[2], mt[3]));
|
|
818
818
|
}, W = function(e, t, _, n) {
|
|
819
819
|
var g, p, T, O, D, R, Z = [];
|
|
@@ -823,62 +823,62 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
823
823
|
if (g = e.length - 2, 0 > g)
|
|
824
824
|
return Z[0] = new H(e[0][t], 0, 0, e[0][t]), Z;
|
|
825
825
|
for (p = 0; g > p; p++)
|
|
826
|
-
T = e[p][t], O = e[p + 1][t], Z[p] = new H(T, 0, 0, O), _ && (D = e[p + 2][t], Q[p] = (Q[p] || 0) + (O - T) * (O - T),
|
|
826
|
+
T = e[p][t], O = e[p + 1][t], Z[p] = new H(T, 0, 0, O), _ && (D = e[p + 2][t], Q[p] = (Q[p] || 0) + (O - T) * (O - T), K[p] = (K[p] || 0) + (D - O) * (D - O));
|
|
827
827
|
return Z[p] = new H(e[p][t], 0, 0, e[p + 1][t]), Z;
|
|
828
828
|
}, F = function(e, t, _, n, g, p) {
|
|
829
|
-
var T, O, D, R, Z, U,
|
|
829
|
+
var T, O, D, R, Z, U, tt, et, mt = {}, ot = [], J = p || e[0];
|
|
830
830
|
g = typeof g == "string" ? "," + g + "," : dt, t == null && (t = 1);
|
|
831
831
|
for (O in e[0])
|
|
832
832
|
ot.push(O);
|
|
833
833
|
if (e.length > 1) {
|
|
834
|
-
for (
|
|
835
|
-
if (O = ot[T], Math.abs(J[O] -
|
|
836
|
-
|
|
834
|
+
for (et = e[e.length - 1], tt = !0, T = ot.length; --T > -1; )
|
|
835
|
+
if (O = ot[T], Math.abs(J[O] - et[O]) > 0.05) {
|
|
836
|
+
tt = !1;
|
|
837
837
|
break;
|
|
838
838
|
}
|
|
839
|
-
|
|
839
|
+
tt && (e = e.concat(), p && e.unshift(p), e.push(e[1]), p = e[e.length - 3]);
|
|
840
840
|
}
|
|
841
|
-
for (Q.length =
|
|
841
|
+
for (Q.length = K.length = at.length = 0, T = ot.length; --T > -1; )
|
|
842
842
|
O = ot[T], z[O] = g.indexOf("," + O + ",") !== -1, mt[O] = W(e, O, z[O], p);
|
|
843
843
|
for (T = Q.length; --T > -1; )
|
|
844
|
-
Q[T] = Math.sqrt(Q[T]),
|
|
844
|
+
Q[T] = Math.sqrt(Q[T]), K[T] = Math.sqrt(K[T]);
|
|
845
845
|
if (!n) {
|
|
846
846
|
for (T = ot.length; --T > -1; )
|
|
847
847
|
if (z[O])
|
|
848
848
|
for (D = mt[ot[T]], U = D.length - 1, R = 0; U > R; R++)
|
|
849
|
-
Z = D[R + 1].da /
|
|
850
|
-
for (T =
|
|
851
|
-
|
|
849
|
+
Z = D[R + 1].da / K[R] + D[R].da / Q[R] || 0, at[R] = (at[R] || 0) + Z * Z;
|
|
850
|
+
for (T = at.length; --T > -1; )
|
|
851
|
+
at[T] = Math.sqrt(at[T]);
|
|
852
852
|
}
|
|
853
853
|
for (T = ot.length, R = _ ? 4 : 1; --T > -1; )
|
|
854
|
-
O = ot[T], D = mt[O], M(D, t, _, n, z[O]),
|
|
854
|
+
O = ot[T], D = mt[O], M(D, t, _, n, z[O]), tt && (D.splice(0, R), D.splice(D.length - R, R));
|
|
855
855
|
return mt;
|
|
856
856
|
}, $ = function(e, t, _) {
|
|
857
857
|
t = t || "soft";
|
|
858
|
-
var n, g, p, T, O, D, R, Z, U,
|
|
858
|
+
var n, g, p, T, O, D, R, Z, U, tt, et, mt = {}, ot = t === "cubic" ? 3 : 2, J = t === "soft", gt = [];
|
|
859
859
|
if (J && _ && (e = [_].concat(e)), e == null || e.length < ot + 1)
|
|
860
860
|
throw "invalid Bezier data";
|
|
861
861
|
for (U in e[0])
|
|
862
862
|
gt.push(U);
|
|
863
863
|
for (D = gt.length; --D > -1; ) {
|
|
864
|
-
for (U = gt[D], mt[U] = O = [],
|
|
865
|
-
n = _ == null ? e[R][U] : typeof (
|
|
866
|
-
for (Z =
|
|
867
|
-
n = O[R], g = O[R + 1], p = O[R + 2], T = ot === 2 ? 0 : O[R + 3], O[
|
|
868
|
-
O.length =
|
|
864
|
+
for (U = gt[D], mt[U] = O = [], tt = 0, Z = e.length, R = 0; Z > R; R++)
|
|
865
|
+
n = _ == null ? e[R][U] : typeof (et = e[R][U]) == "string" && et.charAt(1) === "=" ? _[U] + Number(et.charAt(0) + et.substr(2)) : Number(et), J && R > 1 && Z - 1 > R && (O[tt++] = (n + O[tt - 2]) / 2), O[tt++] = n;
|
|
866
|
+
for (Z = tt - ot + 1, tt = 0, R = 0; Z > R; R += ot)
|
|
867
|
+
n = O[R], g = O[R + 1], p = O[R + 2], T = ot === 2 ? 0 : O[R + 3], O[tt++] = et = ot === 3 ? new H(n, g, p, T) : new H(n, (2 * g + n) / 3, (2 * g + p) / 3, p);
|
|
868
|
+
O.length = tt;
|
|
869
869
|
}
|
|
870
870
|
return mt;
|
|
871
871
|
}, st = function(e, t, _) {
|
|
872
|
-
for (var n, g, p, T, O, D, R, Z, U,
|
|
873
|
-
for (
|
|
874
|
-
R = mt * Z, U = 1 - R, n = g - (g = (R * R * T + 3 * U * (R * O + U * D)) * R),
|
|
872
|
+
for (var n, g, p, T, O, D, R, Z, U, tt, et, mt = 1 / _, ot = e.length; --ot > -1; )
|
|
873
|
+
for (tt = e[ot], p = tt.a, T = tt.d - p, O = tt.c - p, D = tt.b - p, n = g = 0, Z = 1; _ >= Z; Z++)
|
|
874
|
+
R = mt * Z, U = 1 - R, n = g - (g = (R * R * T + 3 * U * (R * O + U * D)) * R), et = ot * _ + Z - 1, t[et] = (t[et] || 0) + n * n;
|
|
875
875
|
}, L = function(e, t) {
|
|
876
876
|
t = t >> 0 || 6;
|
|
877
|
-
var _, n, g, p, T = [], O = [], D = 0, R = 0, Z = t - 1, U = [],
|
|
877
|
+
var _, n, g, p, T = [], O = [], D = 0, R = 0, Z = t - 1, U = [], tt = [];
|
|
878
878
|
for (_ in e)
|
|
879
879
|
st(e[_], T, t);
|
|
880
880
|
for (g = T.length, n = 0; g > n; n++)
|
|
881
|
-
D += Math.sqrt(T[n]), p = n % t,
|
|
881
|
+
D += Math.sqrt(T[n]), p = n % t, tt[p] = D, p === Z && (R += D, p = n / t >> 0, U[p] = tt, O[p] = R, D = 0, tt = []);
|
|
882
882
|
return { length: R, lengths: O, segments: U };
|
|
883
883
|
}, v = Dt._gsDefine.plugin({
|
|
884
884
|
propName: "bezier",
|
|
@@ -902,8 +902,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
902
902
|
t.correlate,
|
|
903
903
|
O
|
|
904
904
|
) : $(D, t.type, R), this._segCount = this._beziers[n].length, this._timeRes) {
|
|
905
|
-
var
|
|
906
|
-
this._length =
|
|
905
|
+
var tt = L(this._beziers, this._timeRes);
|
|
906
|
+
this._length = tt.length, this._lengths = tt.lengths, this._segments = tt.segments, this._l1 = this._li = this._s1 = this._si = 0, this._l2 = this._lengths[0], this._curSeg = this._segments[0], this._s2 = this._curSeg[0], this._prec = 1 / this._curSeg.length;
|
|
907
907
|
}
|
|
908
908
|
if (U = this._autoRotate)
|
|
909
909
|
for (this._initialRotations = [], U[0] instanceof Array || (this._autoRotate = U = [U]), p = U.length; --p > -1; ) {
|
|
@@ -914,7 +914,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
914
914
|
return this._startRatio = _.vars.runBackwards ? 1 : 0, !0;
|
|
915
915
|
},
|
|
916
916
|
set: function(e) {
|
|
917
|
-
var t, _, n, g, p, T, O, D, R, Z, U = this._segCount,
|
|
917
|
+
var t, _, n, g, p, T, O, D, R, Z, U = this._segCount, tt = this._func, et = this._target, mt = e !== this._startRatio;
|
|
918
918
|
if (this._timeRes) {
|
|
919
919
|
if (R = this._lengths, Z = this._curSeg, e *= this._length, n = this._li, e > this._l2 && U - 1 > n) {
|
|
920
920
|
for (D = U - 1; D > n && (this._l2 = R[++n]) <= e; )
|
|
@@ -938,11 +938,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
938
938
|
} else
|
|
939
939
|
t = 0 > e ? 0 : e >= 1 ? U - 1 : U * e >> 0, T = (e - t * (1 / U)) * U;
|
|
940
940
|
for (_ = 1 - T, n = this._props.length; --n > -1; )
|
|
941
|
-
g = this._props[n], p = this._beziers[g][t], O = (T * T * p.da + 3 * _ * (T * p.ca + _ * p.ba)) * T + p.a, this._mod[g] && (O = this._mod[g](O,
|
|
941
|
+
g = this._props[n], p = this._beziers[g][t], O = (T * T * p.da + 3 * _ * (T * p.ca + _ * p.ba)) * T + p.a, this._mod[g] && (O = this._mod[g](O, et)), tt[g] ? et[g](O) : et[g] = O;
|
|
942
942
|
if (this._autoRotate) {
|
|
943
943
|
var ot, J, gt, Yt, yt, At, Jt, Kt = this._autoRotate;
|
|
944
944
|
for (n = Kt.length; --n > -1; )
|
|
945
|
-
g = Kt[n][2], At = Kt[n][3] || 0, Jt = Kt[n][4] === !0 ? 1 : Y, p = this._beziers[Kt[n][0]], ot = this._beziers[Kt[n][1]], p && ot && (p = p[t], ot = ot[t], J = p.a + (p.b - p.a) * T, Yt = p.b + (p.c - p.b) * T, J += (Yt - J) * T, Yt += (p.c + (p.d - p.c) * T - Yt) * T, gt = ot.a + (ot.b - ot.a) * T, yt = ot.b + (ot.c - ot.b) * T, gt += (yt - gt) * T, yt += (ot.c + (ot.d - ot.c) * T - yt) * T, O = mt ? Math.atan2(yt - gt, Yt - J) * Jt + At : this._initialRotations[n], this._mod[g] && (O = this._mod[g](O,
|
|
945
|
+
g = Kt[n][2], At = Kt[n][3] || 0, Jt = Kt[n][4] === !0 ? 1 : Y, p = this._beziers[Kt[n][0]], ot = this._beziers[Kt[n][1]], p && ot && (p = p[t], ot = ot[t], J = p.a + (p.b - p.a) * T, Yt = p.b + (p.c - p.b) * T, J += (Yt - J) * T, Yt += (p.c + (p.d - p.c) * T - Yt) * T, gt = ot.a + (ot.b - ot.a) * T, yt = ot.b + (ot.c - ot.b) * T, gt += (yt - gt) * T, yt += (ot.c + (ot.d - ot.c) * T - yt) * T, O = mt ? Math.atan2(yt - gt, Yt - J) * Jt + At : this._initialRotations[n], this._mod[g] && (O = this._mod[g](O, et)), tt[g] ? et[g](O) : et[g] = O);
|
|
946
946
|
}
|
|
947
947
|
}
|
|
948
948
|
}), P = v.prototype;
|
|
@@ -955,14 +955,14 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
955
955
|
t._registerComplexSpecialProp("bezier", {
|
|
956
956
|
parser: function(p, T, O, D, R, Z) {
|
|
957
957
|
T instanceof Array && (T = { values: T }), Z = new v();
|
|
958
|
-
var U,
|
|
958
|
+
var U, tt, et, mt = T.values, ot = mt.length - 1, J = [], gt = {};
|
|
959
959
|
if (0 > ot)
|
|
960
960
|
return R;
|
|
961
961
|
for (U = 0; ot >= U; U++)
|
|
962
|
-
|
|
963
|
-
for (
|
|
964
|
-
gt[
|
|
965
|
-
return gt.values = J, R = new g(p, "bezier", 0, 0,
|
|
962
|
+
et = _(p, mt[U], D, R, Z, ot !== U), J[U] = et.end;
|
|
963
|
+
for (tt in T)
|
|
964
|
+
gt[tt] = T[tt];
|
|
965
|
+
return gt.values = J, R = new g(p, "bezier", 0, 0, et.pt, 2), R.data = et, R.plugin = Z, R.setRatio = n, gt.autoRotate === 0 && (gt.autoRotate = !0), !gt.autoRotate || gt.autoRotate instanceof Array || (U = gt.autoRotate === !0 ? 0 : Number(gt.autoRotate), gt.autoRotate = et.end.left != null ? [["left", "top", "rotation", U, !1]] : et.end.x != null ? [["x", "y", "rotation", U, !1]] : !1), gt.autoRotate && (D._transform || D._enableTransforms(!1), et.autoRotate = D._target._gsTransform, et.proxy.rotation = et.autoRotate.rotation || 0, D._overwriteProps.push("rotation")), Z._onInitTween(et.proxy, gt, D._tween), R;
|
|
966
966
|
}
|
|
967
967
|
});
|
|
968
968
|
}
|
|
@@ -984,7 +984,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
984
984
|
"plugins.CSSPlugin",
|
|
985
985
|
["plugins.TweenPlugin", "TweenLite"],
|
|
986
986
|
function(Y, Q) {
|
|
987
|
-
var
|
|
987
|
+
var K, at, z, V, H = function() {
|
|
988
988
|
Y.call(this, "css"), this._overwriteProps.length = 0, this.setRatio = H.prototype.setRatio;
|
|
989
989
|
}, dt = Dt._gsDefine.globals, S = {}, M = H.prototype = new Y("css");
|
|
990
990
|
M.constructor = H, H.version = "2.0.2", H.API = 2, H.defaultTransformPerspective = 0, H.defaultSkewType = "compensated", H.defaultSmoothOrigin = !0, M = "px", H.suffixMap = {
|
|
@@ -1000,7 +1000,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1000
1000
|
perspective: M,
|
|
1001
1001
|
lineHeight: ""
|
|
1002
1002
|
};
|
|
1003
|
-
var W, F, $, st, L, v, P, e, t = /(?:\-|\.|\b)(\d|\.|e\-)+/g, _ = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, n = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, g = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, p = /(?:\d|\-|\+|=|#|\.)*/g, T = /opacity *= *([^)]*)/i, O = /opacity:([^;]*)/i, D = /alpha\(opacity *=.+?\)/i, R = /^(rgb|hsl)/, Z = /([A-Z])/g, U = /-([a-z])/gi,
|
|
1003
|
+
var W, F, $, st, L, v, P, e, t = /(?:\-|\.|\b)(\d|\.|e\-)+/g, _ = /(?:\d|\-\d|\.\d|\-\.\d|\+=\d|\-=\d|\+=.\d|\-=\.\d)+/g, n = /(?:\+=|\-=|\-|\b)[\d\-\.]+[a-zA-Z0-9]*(?:%|\b)/gi, g = /(?![+-]?\d*\.?\d+|[+-]|e[+-]\d+)[^0-9]/g, p = /(?:\d|\-|\+|=|#|\.)*/g, T = /opacity *= *([^)]*)/i, O = /opacity:([^;]*)/i, D = /alpha\(opacity *=.+?\)/i, R = /^(rgb|hsl)/, Z = /([A-Z])/g, U = /-([a-z])/gi, tt = /(^(?:url\(\"|url\())|(?:(\"\))$|\)$)/gi, et = function(i, o) {
|
|
1004
1004
|
return o.toUpperCase();
|
|
1005
1005
|
}, mt = /(?:Left|Right|Width)/i, ot = /(M11|M12|M21|M22)=[\d\-\.e]+/gi, J = /progid\:DXImageTransform\.Microsoft\.Matrix\(.+?\)/i, gt = /,(?=[^\)]*(?:\(|$))/gi, Yt = /[\s,\(]/i, yt = Math.PI / 180, At = 180 / Math.PI, Jt = {}, Kt = { style: {} }, Wt = Dt.document || {
|
|
1006
1006
|
createElement: function() {
|
|
@@ -1061,13 +1061,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1061
1061
|
if (o = o || jt(i, null))
|
|
1062
1062
|
if (l = o.length)
|
|
1063
1063
|
for (; --l > -1; )
|
|
1064
|
-
s = o[l], (s.indexOf("-transform") === -1 || Pe === s) && (d[s.replace(U,
|
|
1064
|
+
s = o[l], (s.indexOf("-transform") === -1 || Pe === s) && (d[s.replace(U, et)] = o.getPropertyValue(s));
|
|
1065
1065
|
else
|
|
1066
1066
|
for (l in o)
|
|
1067
1067
|
(l.indexOf("Transform") === -1 || Xt === l) && (d[l] = o[l]);
|
|
1068
1068
|
else if (o = i.currentStyle || i.style)
|
|
1069
1069
|
for (l in o)
|
|
1070
|
-
typeof l == "string" && d[l] === void 0 && (d[l.replace(U,
|
|
1070
|
+
typeof l == "string" && d[l] === void 0 && (d[l.replace(U, et)] = o[l]);
|
|
1071
1071
|
return ee || (d.opacity = _e(i)), a = de(i, o, !1), d.rotation = a.rotation, d.skewX = a.skewX, d.scaleX = a.scaleX, d.scaleY = a.scaleY, d.x = a.x, d.y = a.y, Ht && (d.z = a.z, d.rotationX = a.rotationX, d.rotationY = a.rotationY, d.scaleZ = a.scaleZ), d.filters && delete d.filters, d;
|
|
1072
1072
|
}, Zt = function(i, o, l, a, s) {
|
|
1073
1073
|
var d, h, y, k = {}, x = i.style;
|
|
@@ -1129,7 +1129,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1129
1129
|
transparent: [255, 255, 255, 0]
|
|
1130
1130
|
}, ft = function(i, o, l) {
|
|
1131
1131
|
return i = 0 > i ? i + 1 : i > 1 ? i - 1 : i, 255 * (1 > 6 * i ? o + (l - o) * i * 6 : 0.5 > i ? l : 2 > 3 * i ? o + (l - o) * (2 / 3 - i) * 6 : o) + 0.5 | 0;
|
|
1132
|
-
},
|
|
1132
|
+
}, ut = H.parseColor = function(i, o) {
|
|
1133
1133
|
var l, a, s, d, h, y, k, x, m, I, N;
|
|
1134
1134
|
if (i)
|
|
1135
1135
|
if (typeof i == "number")
|
|
@@ -1157,7 +1157,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1157
1157
|
if (!d.length)
|
|
1158
1158
|
return i;
|
|
1159
1159
|
for (l = 0; l < d.length; l++)
|
|
1160
|
-
a = d[l], s = i.substr(h, i.indexOf(a, h) - h), h += s.length + a.length, a =
|
|
1160
|
+
a = d[l], s = i.substr(h, i.indexOf(a, h) - h), h += s.length + a.length, a = ut(a, o), a.length === 3 && a.push(1), y += s + (o ? "hsla(" + a[0] + "," + a[1] + "%," + a[2] + "%," + a[3] : "rgba(" + a.join(",")) + ")";
|
|
1161
1161
|
return y + i.substr(h);
|
|
1162
1162
|
}, pt = "(?:\\b(?:(?:rgb|rgba|hsl|hsla)\\(.+?\\))|\\B#(?:[0-9a-f]{3}){1,2}\\b";
|
|
1163
1163
|
for (M in A)
|
|
@@ -1173,13 +1173,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1173
1173
|
};
|
|
1174
1174
|
var s, d = o ? (i.match(pt) || [""])[0] : "", h = i.split(d).join("").match(n) || [], y = i.substr(0, i.indexOf(h[0])), k = i.charAt(i.length - 1) === ")" ? ")" : "", x = i.indexOf(" ") !== -1 ? " " : ",", m = h.length, I = m > 0 ? h[0].replace(t, "") : "";
|
|
1175
1175
|
return m ? s = o ? function(N) {
|
|
1176
|
-
var E, q, X,
|
|
1176
|
+
var E, q, X, lt;
|
|
1177
1177
|
if (typeof N == "number")
|
|
1178
1178
|
N += I;
|
|
1179
1179
|
else if (a && gt.test(N)) {
|
|
1180
|
-
for (
|
|
1181
|
-
|
|
1182
|
-
return
|
|
1180
|
+
for (lt = N.replace(gt, "|").split("|"), X = 0; X < lt.length; X++)
|
|
1181
|
+
lt[X] = s(lt[X]);
|
|
1182
|
+
return lt.join(",");
|
|
1183
1183
|
}
|
|
1184
1184
|
if (E = (N.match(pt) || [d])[0], q = N.split(E).join("").match(n) || [], X = q.length, m > X--)
|
|
1185
1185
|
for (; ++X < m; )
|
|
@@ -1236,25 +1236,25 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1236
1236
|
}
|
|
1237
1237
|
return { proxy: N, end: E, firstMPT: x, pt: m };
|
|
1238
1238
|
}, Et.CSSPropTween = function(i, o, l, a, s, d, h, y, k, x, m) {
|
|
1239
|
-
this.t = i, this.p = o, this.s = l, this.c = a, this.n = h || o, i instanceof kt || V.push(this.n), this.r = y && (typeof y == "function" ? y : Math.round), this.type = d || 0, k && (this.pr = k,
|
|
1239
|
+
this.t = i, this.p = o, this.s = l, this.c = a, this.n = h || o, i instanceof kt || V.push(this.n), this.r = y && (typeof y == "function" ? y : Math.round), this.type = d || 0, k && (this.pr = k, K = !0), this.b = x === void 0 ? l : x, this.e = m === void 0 ? l + a : m, s && (this._next = s, s._prev = this);
|
|
1240
1240
|
}), he = function(i, o, l, a, s, d) {
|
|
1241
1241
|
var h = new kt(i, o, l, a - l, s, -1, d);
|
|
1242
1242
|
return h.b = l, h.e = h.xs0 = a, h;
|
|
1243
1243
|
}, ie = H.parseComplex = function(i, o, l, a, s, d, h, y, k, x) {
|
|
1244
1244
|
l = l || d || "", typeof a == "function" && (a = a(e, P)), h = new kt(i, o, 0, 0, h, x ? 2 : 1, null, !1, y, l, a), a += "", s && pt.test(a + l) && (a = [l, a], H.colorStringFilter(a), l = a[0], a = a[1]);
|
|
1245
|
-
var m, I, N, E, q, X,
|
|
1246
|
-
for ((a.indexOf(",") !== -1 || l.indexOf(",") !== -1) && ((a + l).indexOf("rgb") !== -1 || (a + l).indexOf("hsl") !== -1 ? (Tt = Tt.join(" ").replace(gt, ", ").split(" "),
|
|
1247
|
-
if (E = Tt[m], q =
|
|
1245
|
+
var m, I, N, E, q, X, lt, ht, xt, ct, rt, _t, B, Tt = l.split(", ").join(",").split(" "), it = a.split(", ").join(",").split(" "), G = Tt.length, nt = W !== !1;
|
|
1246
|
+
for ((a.indexOf(",") !== -1 || l.indexOf(",") !== -1) && ((a + l).indexOf("rgb") !== -1 || (a + l).indexOf("hsl") !== -1 ? (Tt = Tt.join(" ").replace(gt, ", ").split(" "), it = it.join(" ").replace(gt, ", ").split(" ")) : (Tt = Tt.join(" ").split(",").join(", ").split(" "), it = it.join(" ").split(",").join(", ").split(" ")), G = Tt.length), G !== it.length && (Tt = (d || "").split(" "), G = Tt.length), h.plugin = k, h.setRatio = x, pt.lastIndex = 0, m = 0; G > m; m++)
|
|
1247
|
+
if (E = Tt[m], q = it[m] + "", ht = parseFloat(E), ht || ht === 0)
|
|
1248
1248
|
h.appendXtra(
|
|
1249
1249
|
"",
|
|
1250
|
-
|
|
1251
|
-
w(q,
|
|
1250
|
+
ht,
|
|
1251
|
+
w(q, ht),
|
|
1252
1252
|
q.replace(_, ""),
|
|
1253
1253
|
nt && q.indexOf("px") !== -1 ? Math.round : !1,
|
|
1254
1254
|
!0
|
|
1255
1255
|
);
|
|
1256
1256
|
else if (s && pt.test(E))
|
|
1257
|
-
|
|
1257
|
+
_t = q.indexOf(")") + 1, _t = ")" + (_t ? q.substr(_t) : ""), B = q.indexOf("hsl") !== -1 && ee, ct = q, E = ut(E, B), q = ut(q, B), xt = E.length + q.length > 6, xt && !ee && q[3] === 0 ? (h["xs" + h.l] += h.l ? " transparent" : "transparent", h.e = h.e.split(it[m]).join("transparent")) : (ee || (xt = !1), B ? h.appendXtra(
|
|
1258
1258
|
ct.substr(0, ct.indexOf("hsl")) + (xt ? "hsla(" : "hsl("),
|
|
1259
1259
|
E[0],
|
|
1260
1260
|
w(q[0], E[0]),
|
|
@@ -1265,7 +1265,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1265
1265
|
"",
|
|
1266
1266
|
E[2],
|
|
1267
1267
|
w(q[2], E[2]),
|
|
1268
|
-
xt ? "%," : "%" +
|
|
1268
|
+
xt ? "%," : "%" + _t,
|
|
1269
1269
|
!1
|
|
1270
1270
|
) : h.appendXtra(
|
|
1271
1271
|
ct.substr(0, ct.indexOf("rgb")) + (xt ? "rgba(" : "rgb("),
|
|
@@ -1278,23 +1278,23 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1278
1278
|
"",
|
|
1279
1279
|
E[2],
|
|
1280
1280
|
q[2] - E[2],
|
|
1281
|
-
xt ? "," :
|
|
1281
|
+
xt ? "," : _t,
|
|
1282
1282
|
Math.round
|
|
1283
1283
|
), xt && (E = E.length < 4 ? 1 : E[3], h.appendXtra(
|
|
1284
1284
|
"",
|
|
1285
1285
|
E,
|
|
1286
1286
|
(q.length < 4 ? 1 : q[3]) - E,
|
|
1287
|
-
|
|
1287
|
+
_t,
|
|
1288
1288
|
!1
|
|
1289
1289
|
))), pt.lastIndex = 0;
|
|
1290
1290
|
else if (X = E.match(t)) {
|
|
1291
|
-
if (
|
|
1291
|
+
if (lt = q.match(_), !lt || lt.length !== X.length)
|
|
1292
1292
|
return h;
|
|
1293
1293
|
for (N = 0, I = 0; I < X.length; I++)
|
|
1294
1294
|
rt = X[I], ct = E.indexOf(rt, N), h.appendXtra(
|
|
1295
1295
|
E.substr(N, ct - N),
|
|
1296
1296
|
Number(rt),
|
|
1297
|
-
w(
|
|
1297
|
+
w(lt[I], rt),
|
|
1298
1298
|
"",
|
|
1299
1299
|
nt && E.substr(ct + rt.length, 2) === "px" ? Math.round : !1,
|
|
1300
1300
|
I === 0
|
|
@@ -1303,9 +1303,9 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1303
1303
|
} else
|
|
1304
1304
|
h["xs" + h.l] += h.l || h["xs" + h.l] ? " " + q : q;
|
|
1305
1305
|
if (a.indexOf("=") !== -1 && h.data) {
|
|
1306
|
-
for (
|
|
1307
|
-
|
|
1308
|
-
h.e =
|
|
1306
|
+
for (_t = h.xs0 + h.data.s, m = 1; m < h.l; m++)
|
|
1307
|
+
_t += h["xs" + m] + h.data["xn" + m];
|
|
1308
|
+
h.e = _t + h["xs" + m];
|
|
1309
1309
|
}
|
|
1310
1310
|
return h.l || (h.type = -1, h.xs0 = h.e), h.xfirst || h;
|
|
1311
1311
|
}, It = 9;
|
|
@@ -1381,7 +1381,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1381
1381
|
var i, o, l, a = v || /Android/i.test(zt) && !Dt.chrome;
|
|
1382
1382
|
return Wt.createElementNS && !a && (i = Me("svg", fe), o = Me("rect", i, { width: 100, height: 50, x: 100 }), l = o.getBoundingClientRect().width, o.style[me] = "50% 50%", o.style[Xt] = "scaleX(0.5)", a = l === o.getBoundingClientRect().width && !(st && Ht), fe.removeChild(i)), a;
|
|
1383
1383
|
}(), ke = function(i, o, l, a, s, d) {
|
|
1384
|
-
var h, y, k, x, m, I, N, E, q, X,
|
|
1384
|
+
var h, y, k, x, m, I, N, E, q, X, lt, ht, xt, ct, rt = i._gsTransform, _t = Re(i, !0);
|
|
1385
1385
|
rt && (xt = rt.xOrigin, ct = rt.yOrigin), (!a || (h = a.split(" ")).length < 2) && (N = i.getBBox(), N.x === 0 && N.y === 0 && N.width + N.height === 0 && (N = {
|
|
1386
1386
|
x: parseFloat(
|
|
1387
1387
|
i.hasAttribute("x") ? i.getAttribute("x") : i.hasAttribute("cx") ? i.getAttribute("cx") : 0
|
|
@@ -1394,7 +1394,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1394
1394
|
}), o = c(o).split(" "), h = [
|
|
1395
1395
|
(o[0].indexOf("%") !== -1 ? parseFloat(o[0]) / 100 * N.width : parseFloat(o[0])) + N.x,
|
|
1396
1396
|
(o[1].indexOf("%") !== -1 ? parseFloat(o[1]) / 100 * N.height : parseFloat(o[1])) + N.y
|
|
1397
|
-
]), l.xOrigin = x = parseFloat(h[0]), l.yOrigin = m = parseFloat(h[1]), a &&
|
|
1397
|
+
]), l.xOrigin = x = parseFloat(h[0]), l.yOrigin = m = parseFloat(h[1]), a && _t !== Se && (I = _t[0], N = _t[1], E = _t[2], q = _t[3], X = _t[4], lt = _t[5], ht = I * q - N * E, ht && (y = x * (q / ht) + m * (-E / ht) + (E * lt - q * X) / ht, k = x * (-N / ht) + m * (I / ht) - (I * lt - N * X) / ht, x = l.xOrigin = h[0] = y, m = l.yOrigin = h[1] = k)), rt && (d && (l.xOffset = rt.xOffset, l.yOffset = rt.yOffset, rt = l), s || s !== !1 && H.defaultSmoothOrigin !== !1 ? (y = x - xt, k = m - ct, rt.xOffset += y * _t[0] + k * _t[2] - y, rt.yOffset += y * _t[1] + k * _t[3] - k) : rt.xOffset = rt.yOffset = 0), d || i.setAttribute("data-svg-origin", h.join(" "));
|
|
1398
1398
|
}, De = function(i) {
|
|
1399
1399
|
var o, l = ae(
|
|
1400
1400
|
"svg",
|
|
@@ -1441,8 +1441,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1441
1441
|
i.getAttribute("data-svg-origin")
|
|
1442
1442
|
), ne = H.useSVGTransformAttr || Ie), s = Re(i), s !== Se) {
|
|
1443
1443
|
if (s.length === 16) {
|
|
1444
|
-
var
|
|
1445
|
-
m.zOrigin && (Ut = -m.zOrigin, Lt = Mt * Ut - s[12], Nt = Rt * Ut - s[13], Ut = Ft * Ut + m.zOrigin - s[14]), m.rotationX = St * At, St && (ct = Math.cos(-St), rt = Math.sin(-St),
|
|
1444
|
+
var lt, ht, xt, ct, rt, _t = s[0], B = s[1], Tt = s[2], it = s[3], G = s[4], nt = s[5], Qt = s[6], pe = s[7], Mt = s[8], Rt = s[9], Ft = s[10], Lt = s[12], Nt = s[13], Ut = s[14], Bt = s[11], St = Math.atan2(Qt, Ft);
|
|
1445
|
+
m.zOrigin && (Ut = -m.zOrigin, Lt = Mt * Ut - s[12], Nt = Rt * Ut - s[13], Ut = Ft * Ut + m.zOrigin - s[14]), m.rotationX = St * At, St && (ct = Math.cos(-St), rt = Math.sin(-St), lt = G * ct + Mt * rt, ht = nt * ct + Rt * rt, xt = Qt * ct + Ft * rt, Mt = G * -rt + Mt * ct, Rt = nt * -rt + Rt * ct, Ft = Qt * -rt + Ft * ct, Bt = pe * -rt + Bt * ct, G = lt, nt = ht, Qt = xt), St = Math.atan2(-Tt, Ft), m.rotationY = St * At, St && (ct = Math.cos(-St), rt = Math.sin(-St), lt = _t * ct - Mt * rt, ht = B * ct - Rt * rt, xt = Tt * ct - Ft * rt, Rt = B * rt + Rt * ct, Ft = Tt * rt + Ft * ct, Bt = it * rt + Bt * ct, _t = lt, B = ht, Tt = xt), St = Math.atan2(B, _t), m.rotation = St * At, St && (ct = Math.cos(St), rt = Math.sin(St), lt = _t * ct + B * rt, ht = G * ct + nt * rt, xt = Mt * ct + Rt * rt, B = B * ct - _t * rt, nt = nt * ct - G * rt, Rt = Rt * ct - Mt * rt, _t = lt, G = ht, Mt = xt), m.rotationX && Math.abs(m.rotationX) + Math.abs(m.rotation) > 359.9 && (m.rotationX = m.rotation = 0, m.rotationY = 180 - m.rotationY), St = Math.atan2(G, nt), m.scaleX = (Math.sqrt(_t * _t + B * B + Tt * Tt) * E + 0.5 | 0) / E, m.scaleY = (Math.sqrt(nt * nt + Qt * Qt) * E + 0.5 | 0) / E, m.scaleZ = (Math.sqrt(Mt * Mt + Rt * Rt + Ft * Ft) * E + 0.5 | 0) / E, _t /= m.scaleX, G /= m.scaleY, B /= m.scaleX, nt /= m.scaleY, Math.abs(St) > N ? (m.skewX = St * At, G = 0, m.skewType !== "simple" && (m.scaleY *= 1 / Math.cos(St))) : m.skewX = 0, m.perspective = Bt ? 1 / (0 > Bt ? -Bt : Bt) : 0, m.x = Lt, m.y = Nt, m.z = Ut, m.svg && (m.x -= m.xOrigin - (m.xOrigin * _t - m.yOrigin * G), m.y -= m.yOrigin - (m.yOrigin * B - m.xOrigin * nt));
|
|
1446
1446
|
} else if (!Ht || a || !s.length || m.x !== s[4] || m.y !== s[5] || !m.rotationX && !m.rotationY) {
|
|
1447
1447
|
var ye = s.length >= 6, qt = ye ? s[0] : 1, $t = s[1] || 0, ve = s[2] || 0, Te = ye ? s[3] : 1;
|
|
1448
1448
|
m.x = s[4] || 0, m.y = s[5] || 0, h = Math.sqrt(qt * qt + $t * $t), y = Math.sqrt(Te * Te + ve * ve), k = qt || $t ? Math.atan2($t, qt) * At : m.rotation || 0, x = ve || Te ? Math.atan2(ve, Te) * At + k : m.skewX || 0, m.scaleX = h, m.scaleY = y, m.rotation = k, m.skewX = x, Ht && (m.rotationX = m.rotationY = m.z = 0, m.perspective = X, m.scaleZ = 1), m.svg && (m.x -= m.xOrigin - (m.xOrigin * qt + m.yOrigin * ve), m.y -= m.yOrigin - (m.xOrigin * $t + m.yOrigin * Te));
|
|
@@ -1460,31 +1460,31 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1460
1460
|
var o, l, a = this.data, s = -a.rotation * yt, d = s + a.skewX * yt, h = 1e5, y = (Math.cos(s) * a.scaleX * h | 0) / h, k = (Math.sin(s) * a.scaleX * h | 0) / h, x = (Math.sin(d) * -a.scaleY * h | 0) / h, m = (Math.cos(d) * a.scaleY * h | 0) / h, I = this.t.style, N = this.t.currentStyle;
|
|
1461
1461
|
if (N) {
|
|
1462
1462
|
l = k, k = -x, x = -l, o = N.filter, I.filter = "";
|
|
1463
|
-
var E, q, X = this.t.offsetWidth,
|
|
1464
|
-
if (a.ox != null && (E = (a.oxp ? X * a.ox * 0.01 : a.ox) - X / 2, q = (a.oyp ?
|
|
1465
|
-
var
|
|
1463
|
+
var E, q, X = this.t.offsetWidth, lt = this.t.offsetHeight, ht = N.position !== "absolute", xt = "progid:DXImageTransform.Microsoft.Matrix(M11=" + y + ", M12=" + k + ", M21=" + x + ", M22=" + m, ct = a.x + X * a.xPercent / 100, rt = a.y + lt * a.yPercent / 100;
|
|
1464
|
+
if (a.ox != null && (E = (a.oxp ? X * a.ox * 0.01 : a.ox) - X / 2, q = (a.oyp ? lt * a.oy * 0.01 : a.oy) - lt / 2, ct += E - (E * y + q * k), rt += q - (E * x + q * m)), ht ? (E = X / 2, q = lt / 2, xt += ", Dx=" + (E - (E * y + q * k) + ct) + ", Dy=" + (q - (E * x + q * m) + rt) + ")") : xt += ", sizingMethod='auto expand')", o.indexOf("DXImageTransform.Microsoft.Matrix(") !== -1 ? I.filter = o.replace(J, xt) : I.filter = xt + " " + o, (i === 0 || i === 1) && y === 1 && k === 0 && x === 0 && m === 1 && (ht && xt.indexOf("Dx=0, Dy=0") === -1 || T.test(o) && parseFloat(RegExp.$1) !== 100 || o.indexOf(o.indexOf("Alpha")) === -1 && I.removeAttribute("filter")), !ht) {
|
|
1465
|
+
var _t, B, Tt, it = 8 > v ? 1 : -1;
|
|
1466
1466
|
for (E = a.ieOffsetX || 0, q = a.ieOffsetY || 0, a.ieOffsetX = Math.round(
|
|
1467
|
-
(X - ((0 > y ? -y : y) * X + (0 > k ? -k : k) *
|
|
1467
|
+
(X - ((0 > y ? -y : y) * X + (0 > k ? -k : k) * lt)) / 2 + ct
|
|
1468
1468
|
), a.ieOffsetY = Math.round(
|
|
1469
|
-
(
|
|
1469
|
+
(lt - ((0 > m ? -m : m) * lt + (0 > x ? -x : x) * X)) / 2 + rt
|
|
1470
1470
|
), It = 0; 4 > It; It++)
|
|
1471
|
-
B = u[It],
|
|
1472
|
-
l - Tt * (It === 0 || It === 2 ? 1 :
|
|
1471
|
+
B = u[It], _t = N[B], l = _t.indexOf("px") !== -1 ? parseFloat(_t) : Vt(this.t, B, parseFloat(_t), _t.replace(p, "")) || 0, Tt = l !== a[B] ? 2 > It ? -a.ieOffsetX : -a.ieOffsetY : 2 > It ? E - a.ieOffsetX : q - a.ieOffsetY, I[B] = (a[B] = Math.round(
|
|
1472
|
+
l - Tt * (It === 0 || It === 2 ? 1 : it)
|
|
1473
1473
|
)) + "px";
|
|
1474
1474
|
}
|
|
1475
1475
|
}
|
|
1476
1476
|
}, Ne = Et.set3DTransformRatio = Et.setTransformRatio = function(i) {
|
|
1477
|
-
var o, l, a, s, d, h, y, k, x, m, I, N, E, q, X,
|
|
1477
|
+
var o, l, a, s, d, h, y, k, x, m, I, N, E, q, X, lt, ht, xt, ct, rt, _t, B, Tt, it = this.data, G = this.t.style, nt = it.rotation, Qt = it.rotationX, pe = it.rotationY, Mt = it.scaleX, Rt = it.scaleY, Ft = it.scaleZ, Lt = it.x, Nt = it.y, Ut = it.z, Bt = it.svg, St = it.perspective, ye = it.force3D, qt = it.skewY, $t = it.skewX;
|
|
1478
1478
|
if (qt && ($t += qt, nt += qt), ((i === 1 || i === 0) && ye === "auto" && (this.tween._totalTime === this.tween._totalDuration || !this.tween._totalTime) || !ye) && !Ut && !St && !pe && !Qt && Ft === 1 || ne && Bt || !Ht)
|
|
1479
|
-
return void (nt || $t || Bt ? (nt *= yt, B = $t * yt, Tt = 1e5, l = Math.cos(nt) * Mt, d = Math.sin(nt) * Mt, a = Math.sin(nt - B) * -Rt, h = Math.cos(nt - B) * Rt, B &&
|
|
1480
|
-
if (st && (X = 1e-4, X > Mt && Mt > -X && (Mt = Ft = 2e-5), X > Rt && Rt > -X && (Rt = Ft = 2e-5), !St ||
|
|
1481
|
-
nt *= yt,
|
|
1479
|
+
return void (nt || $t || Bt ? (nt *= yt, B = $t * yt, Tt = 1e5, l = Math.cos(nt) * Mt, d = Math.sin(nt) * Mt, a = Math.sin(nt - B) * -Rt, h = Math.cos(nt - B) * Rt, B && it.skewType === "simple" && (o = Math.tan(B - qt * yt), o = Math.sqrt(1 + o * o), a *= o, h *= o, qt && (o = Math.tan(qt * yt), o = Math.sqrt(1 + o * o), l *= o, d *= o)), Bt && (Lt += it.xOrigin - (it.xOrigin * l + it.yOrigin * a) + it.xOffset, Nt += it.yOrigin - (it.xOrigin * d + it.yOrigin * h) + it.yOffset, ne && (it.xPercent || it.yPercent) && (X = this.t.getBBox(), Lt += 0.01 * it.xPercent * X.width, Nt += 0.01 * it.yPercent * X.height), X = 1e-6, X > Lt && Lt > -X && (Lt = 0), X > Nt && Nt > -X && (Nt = 0)), ct = (l * Tt | 0) / Tt + "," + (d * Tt | 0) / Tt + "," + (a * Tt | 0) / Tt + "," + (h * Tt | 0) / Tt + "," + Lt + "," + Nt + ")", Bt && ne ? this.t.setAttribute("transform", "matrix(" + ct) : G[Xt] = (it.xPercent || it.yPercent ? "translate(" + it.xPercent + "%," + it.yPercent + "%) matrix(" : "matrix(") + ct) : G[Xt] = (it.xPercent || it.yPercent ? "translate(" + it.xPercent + "%," + it.yPercent + "%) matrix(" : "matrix(") + Mt + ",0,0," + Rt + "," + Lt + "," + Nt + ")");
|
|
1480
|
+
if (st && (X = 1e-4, X > Mt && Mt > -X && (Mt = Ft = 2e-5), X > Rt && Rt > -X && (Rt = Ft = 2e-5), !St || it.z || it.rotationX || it.rotationY || (St = 0)), nt || $t)
|
|
1481
|
+
nt *= yt, lt = l = Math.cos(nt), ht = d = Math.sin(nt), $t && (nt -= $t * yt, lt = Math.cos(nt), ht = Math.sin(nt), it.skewType === "simple" && (o = Math.tan(($t - qt) * yt), o = Math.sqrt(1 + o * o), lt *= o, ht *= o, it.skewY && (o = Math.tan(qt * yt), o = Math.sqrt(1 + o * o), l *= o, d *= o))), a = -ht, h = lt;
|
|
1482
1482
|
else {
|
|
1483
1483
|
if (!(pe || Qt || Ft !== 1 || St || Bt))
|
|
1484
|
-
return void (G[Xt] = (
|
|
1484
|
+
return void (G[Xt] = (it.xPercent || it.yPercent ? "translate(" + it.xPercent + "%," + it.yPercent + "%) translate3d(" : "translate3d(") + Lt + "px," + Nt + "px," + Ut + "px)" + (Mt !== 1 || Rt !== 1 ? " scale(" + Mt + "," + Rt + ")" : ""));
|
|
1485
1485
|
l = h = 1, a = d = 0;
|
|
1486
1486
|
}
|
|
1487
|
-
m = 1, s = y = k = x = I = N = 0, E = St ? -1 / St : 0, q =
|
|
1487
|
+
m = 1, s = y = k = x = I = N = 0, E = St ? -1 / St : 0, q = it.zOrigin, X = 1e-6, rt = ",", _t = "0", nt = pe * yt, nt && (lt = Math.cos(nt), ht = Math.sin(nt), k = -ht, I = E * -ht, s = l * ht, y = d * ht, m = lt, E *= lt, l *= lt, d *= lt), nt = Qt * yt, nt && (lt = Math.cos(nt), ht = Math.sin(nt), o = a * lt + s * ht, xt = h * lt + y * ht, x = m * ht, N = E * ht, s = a * -ht + s * lt, y = h * -ht + y * lt, m *= lt, E *= lt, a = o, h = xt), Ft !== 1 && (s *= Ft, y *= Ft, m *= Ft, E *= Ft), Rt !== 1 && (a *= Rt, h *= Rt, x *= Rt, N *= Rt), Mt !== 1 && (l *= Mt, d *= Mt, k *= Mt, I *= Mt), (q || Bt) && (q && (Lt += s * -q, Nt += y * -q, Ut += m * -q + q), Bt && (Lt += it.xOrigin - (it.xOrigin * l + it.yOrigin * a) + it.xOffset, Nt += it.yOrigin - (it.xOrigin * d + it.yOrigin * h) + it.yOffset), X > Lt && Lt > -X && (Lt = _t), X > Nt && Nt > -X && (Nt = _t), X > Ut && Ut > -X && (Ut = 0)), ct = it.xPercent || it.yPercent ? "translate(" + it.xPercent + "%," + it.yPercent + "%) matrix3d(" : "matrix3d(", ct += (X > l && l > -X ? _t : l) + rt + (X > d && d > -X ? _t : d) + rt + (X > k && k > -X ? _t : k), ct += rt + (X > I && I > -X ? _t : I) + rt + (X > a && a > -X ? _t : a) + rt + (X > h && h > -X ? _t : h), Qt || pe || Ft !== 1 ? (ct += rt + (X > x && x > -X ? _t : x) + rt + (X > N && N > -X ? _t : N) + rt + (X > s && s > -X ? _t : s), ct += rt + (X > y && y > -X ? _t : y) + rt + (X > m && m > -X ? _t : m) + rt + (X > E && E > -X ? _t : E) + rt) : ct += ",0,0,0,0,1,0,", ct += Lt + rt + Nt + rt + Ut + rt + (St ? 1 + -Ut / St : 1) + ")", G[Xt] = ct;
|
|
1488
1488
|
};
|
|
1489
1489
|
M = xe.prototype, M.x = M.y = M.z = M.skewX = M.skewY = M.rotation = M.rotationX = M.rotationY = M.zOrigin = M.xPercent = M.yPercent = M.xOffset = M.yOffset = 0, M.scaleX = M.scaleY = M.scaleZ = 1, Ct(
|
|
1490
1490
|
"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",
|
|
@@ -1495,7 +1495,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1495
1495
|
a._lastParsedTransform = h;
|
|
1496
1496
|
var y, k = h.scale && typeof h.scale == "function" ? h.scale : 0;
|
|
1497
1497
|
typeof h[l] == "function" && (y = h[l], h[l] = o), k && (h.scale = k(e, i));
|
|
1498
|
-
var x, m, I, N, E, q, X,
|
|
1498
|
+
var x, m, I, N, E, q, X, lt, ht, xt = i._gsTransform, ct = i.style, rt = 1e-6, _t = Ce.length, B = h, Tt = {}, it = "transformOrigin", G = de(i, z, !0, B.parseTransform), nt = B.transform && (typeof B.transform == "function" ? B.transform(e, P) : B.transform);
|
|
1499
1499
|
if (G.skewType = B.skewType || G.skewType || H.defaultSkewType, a._transform = G, "rotationZ" in B && (B.rotation = B.rotationZ), nt && typeof nt == "string" && Xt)
|
|
1500
1500
|
m = bt.style, m[Xt] = nt, m.display = "block", m.position = "absolute", nt.indexOf("%") !== -1 && (m.width = wt(i, "width"), m.height = wt(i, "height")), Wt.body.appendChild(bt), x = de(bt, null, !1), G.skewType === "simple" && (x.scaleY *= Math.cos(x.skewX * yt)), G.svg && (q = G.xOrigin, X = G.yOrigin, x.x -= G.xOffset, x.y -= G.yOffset, (B.transformOrigin || B.svgOrigin) && (nt = {}, ke(
|
|
1501
1501
|
i,
|
|
@@ -1504,7 +1504,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1504
1504
|
B.svgOrigin,
|
|
1505
1505
|
B.smoothOrigin,
|
|
1506
1506
|
!0
|
|
1507
|
-
), q = nt.xOrigin, X = nt.yOrigin, x.x -= nt.xOffset - G.xOffset, x.y -= nt.yOffset - G.yOffset), (q || X) && (
|
|
1507
|
+
), q = nt.xOrigin, X = nt.yOrigin, x.x -= nt.xOffset - G.xOffset, x.y -= nt.yOffset - G.yOffset), (q || X) && (lt = Re(bt, !0), x.x -= q - (q * lt[0] + X * lt[2]), x.y -= X - (q * lt[1] + X * lt[3]))), Wt.body.removeChild(bt), x.perspective || (x.perspective = G.perspective), B.xPercent != null && (x.xPercent = C(B.xPercent, G.xPercent)), B.yPercent != null && (x.yPercent = C(B.yPercent, G.yPercent));
|
|
1508
1508
|
else if (typeof B == "object") {
|
|
1509
1509
|
if (x = {
|
|
1510
1510
|
scaleX: C(
|
|
@@ -1545,37 +1545,37 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1545
1545
|
Tt
|
|
1546
1546
|
)), x.skewX = j(B.skewX, G.skewX), x.skewY = j(B.skewY, G.skewY);
|
|
1547
1547
|
}
|
|
1548
|
-
for (Ht && B.force3D != null && (G.force3D = B.force3D, N = !0), I = G.force3D || G.z || G.rotationX || G.rotationY || x.z || x.rotationX || x.rotationY || x.perspective, I || B.scale == null || (x.scaleZ = 1); --
|
|
1549
|
-
|
|
1548
|
+
for (Ht && B.force3D != null && (G.force3D = B.force3D, N = !0), I = G.force3D || G.z || G.rotationX || G.rotationY || x.z || x.rotationX || x.rotationY || x.perspective, I || B.scale == null || (x.scaleZ = 1); --_t > -1; )
|
|
1549
|
+
ht = Ce[_t], nt = x[ht] - G[ht], (nt > rt || -rt > nt || B[ht] != null || Jt[ht] != null) && (N = !0, s = new kt(G, ht, G[ht], nt, s), ht in Tt && (s.e = Tt[ht]), s.xs0 = 0, s.plugin = d, a._overwriteProps.push(s.n));
|
|
1550
1550
|
return nt = B.transformOrigin, G.svg && (nt || B.svgOrigin) && (q = G.xOffset, X = G.yOffset, ke(i, c(nt), x, B.svgOrigin, B.smoothOrigin), s = he(
|
|
1551
1551
|
G,
|
|
1552
1552
|
"xOrigin",
|
|
1553
1553
|
(xt ? G : x).xOrigin,
|
|
1554
1554
|
x.xOrigin,
|
|
1555
1555
|
s,
|
|
1556
|
-
|
|
1556
|
+
it
|
|
1557
1557
|
), s = he(
|
|
1558
1558
|
G,
|
|
1559
1559
|
"yOrigin",
|
|
1560
1560
|
(xt ? G : x).yOrigin,
|
|
1561
1561
|
x.yOrigin,
|
|
1562
1562
|
s,
|
|
1563
|
-
|
|
1563
|
+
it
|
|
1564
1564
|
), (q !== G.xOffset || X !== G.yOffset) && (s = he(
|
|
1565
1565
|
G,
|
|
1566
1566
|
"xOffset",
|
|
1567
1567
|
xt ? q : G.xOffset,
|
|
1568
1568
|
G.xOffset,
|
|
1569
1569
|
s,
|
|
1570
|
-
|
|
1570
|
+
it
|
|
1571
1571
|
), s = he(
|
|
1572
1572
|
G,
|
|
1573
1573
|
"yOffset",
|
|
1574
1574
|
xt ? X : G.yOffset,
|
|
1575
1575
|
G.yOffset,
|
|
1576
1576
|
s,
|
|
1577
|
-
|
|
1578
|
-
)), nt = "0px 0px"), (nt || Ht && I && G.zOrigin) && (Xt ? (N = !0,
|
|
1577
|
+
it
|
|
1578
|
+
)), nt = "0px 0px"), (nt || Ht && I && G.zOrigin) && (Xt ? (N = !0, ht = me, nt = (nt || wt(i, ht, z, !1, "50% 50%")) + "", s = new kt(ct, ht, 0, 0, s, -1, it), s.b = ct[ht], s.plugin = d, Ht ? (m = G.zOrigin, nt = nt.split(" "), G.zOrigin = (nt.length > 2 && (m === 0 || nt[2] !== "0px") ? parseFloat(nt[2]) : m) || 0, s.xs0 = s.e = nt[0] + " " + (nt[1] || "50%") + " 0px", s = new kt(G, "zOrigin", 0, 0, s, -1, s.n), s.b = m, s.xs0 = s.e = G.zOrigin) : s.xs0 = s.e = nt) : c(nt + "", G)), N && (a._transformType = G.svg && ne || !I && this._transformType !== 3 ? 2 : 3), y && (h[l] = y), k && (h.scale = k), s;
|
|
1579
1579
|
},
|
|
1580
1580
|
prefix: !0
|
|
1581
1581
|
}
|
|
@@ -1589,14 +1589,14 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1589
1589
|
defaultValue: "0px",
|
|
1590
1590
|
parser: function(i, o, l, a, s, d) {
|
|
1591
1591
|
o = this.format(o);
|
|
1592
|
-
var h, y, k, x, m, I, N, E, q, X,
|
|
1592
|
+
var h, y, k, x, m, I, N, E, q, X, lt, ht, xt, ct, rt, _t, B = [
|
|
1593
1593
|
"borderTopLeftRadius",
|
|
1594
1594
|
"borderTopRightRadius",
|
|
1595
1595
|
"borderBottomRightRadius",
|
|
1596
1596
|
"borderBottomLeftRadius"
|
|
1597
1597
|
], Tt = i.style;
|
|
1598
1598
|
for (q = parseFloat(i.offsetWidth), X = parseFloat(i.offsetHeight), h = o.split(" "), y = 0; y < B.length; y++)
|
|
1599
|
-
this.p.indexOf("border") && (B[y] = se(B[y])), m = x = wt(i, B[y], z, !1, "0px"), m.indexOf(" ") !== -1 && (x = m.split(" "), m = x[0], x = x[1]), I = k = h[y], N = parseFloat(m),
|
|
1599
|
+
this.p.indexOf("border") && (B[y] = se(B[y])), m = x = wt(i, B[y], z, !1, "0px"), m.indexOf(" ") !== -1 && (x = m.split(" "), m = x[0], x = x[1]), I = k = h[y], N = parseFloat(m), ht = m.substr((N + "").length), xt = I.charAt(1) === "=", xt ? (E = parseInt(I.charAt(0) + "1", 10), I = I.substr(2), E *= parseFloat(I), lt = I.substr((E + "").length - (0 > E ? 1 : 0)) || "") : (E = parseFloat(I), lt = I.substr((E + "").length)), lt === "" && (lt = at[l] || ht), lt !== ht && (ct = Vt(i, "borderLeft", N, ht), rt = Vt(i, "borderTop", N, ht), lt === "%" ? (m = ct / q * 100 + "%", x = rt / X * 100 + "%") : lt === "em" ? (_t = Vt(i, "borderLeft", 1, "em"), m = ct / _t + "em", x = rt / _t + "em") : (m = ct + "px", x = rt + "px"), xt && (I = parseFloat(m) + E + lt, k = parseFloat(x) + E + lt)), s = ie(Tt, B[y], m + " " + x, I + " " + k, !1, "0px", s);
|
|
1600
1600
|
return s;
|
|
1601
1601
|
},
|
|
1602
1602
|
prefix: !0,
|
|
@@ -1625,7 +1625,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1625
1625
|
var h, y, k, x, m, I, N = "background-position", E = z || jt(i, null), q = this.format(
|
|
1626
1626
|
(E ? v ? E.getPropertyValue(N + "-x") + " " + E.getPropertyValue(N + "-y") : E.getPropertyValue(N) : i.currentStyle.backgroundPositionX + " " + i.currentStyle.backgroundPositionY) || "0 0"
|
|
1627
1627
|
), X = this.format(o);
|
|
1628
|
-
if (q.indexOf("%") !== -1 != (X.indexOf("%") !== -1) && X.split(",").length < 2 && (I = wt(i, "backgroundImage").replace(
|
|
1628
|
+
if (q.indexOf("%") !== -1 != (X.indexOf("%") !== -1) && X.split(",").length < 2 && (I = wt(i, "backgroundImage").replace(tt, ""), I && I !== "none")) {
|
|
1629
1629
|
for (h = q.split(" "), y = X.split(" "), le.setAttribute("src", I), k = 2; --k > -1; )
|
|
1630
1630
|
q = h[k], x = q.indexOf("%") !== -1, x !== (y[k].indexOf("%") !== -1) && (m = k === 0 ? i.offsetWidth - le.width : i.offsetHeight - le.height, h[k] = x ? parseFloat(q) / 100 * m + "px" : parseFloat(q) / m * 100 + "%");
|
|
1631
1631
|
q = h.join(" ");
|
|
@@ -1722,7 +1722,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1722
1722
|
Ct("className", {
|
|
1723
1723
|
parser: function(i, o, l, a, s, d, h) {
|
|
1724
1724
|
var y, k, x, m, I, N = i.getAttribute("class") || "", E = i.style.cssText;
|
|
1725
|
-
if (s = a._classNamePT = new kt(i, l, 0, 0, s, 2), s.setRatio = Ye, s.pr = -11,
|
|
1725
|
+
if (s = a._classNamePT = new kt(i, l, 0, 0, s, 2), s.setRatio = Ye, s.pr = -11, K = !0, s.b = N, k = re(i, z), x = i._gsClassPT) {
|
|
1726
1726
|
for (m = {}, I = x.data; I; )
|
|
1727
1727
|
m[I.p] = 1, I = I._next;
|
|
1728
1728
|
x.setRatio(1);
|
|
@@ -1746,14 +1746,14 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1746
1746
|
};
|
|
1747
1747
|
for (Ct("clearProps", {
|
|
1748
1748
|
parser: function(i, o, l, a, s) {
|
|
1749
|
-
return s = new kt(i, l, 0, 0, s, 2), s.setRatio = Ue, s.e = o, s.pr = -10, s.data = a._tween,
|
|
1749
|
+
return s = new kt(i, l, 0, 0, s, 2), s.setRatio = Ue, s.e = o, s.pr = -10, s.data = a._tween, K = !0, s;
|
|
1750
1750
|
}
|
|
1751
1751
|
}), M = "bezier,throwProps,physicsProps,physics2D".split(","), It = M.length; It--; )
|
|
1752
1752
|
ze(M[It]);
|
|
1753
1753
|
M = H.prototype, M._firstPT = M._lastParsedTransform = M._transform = null, M._onInitTween = function(i, o, l, a) {
|
|
1754
1754
|
if (!i.nodeType)
|
|
1755
1755
|
return !1;
|
|
1756
|
-
this._target = P = i, this._tween = l, this._vars = o, e = a, W = o.autoRound,
|
|
1756
|
+
this._target = P = i, this._tween = l, this._vars = o, e = a, W = o.autoRound, K = !1, at = o.suffixMap || H.suffixMap, z = jt(i, ""), V = this._overwriteProps;
|
|
1757
1757
|
var s, d, h, y, k, x, m, I, N, E = i.style;
|
|
1758
1758
|
if (F && E.zIndex === "" && (s = wt(i, "zIndex", z), (s === "auto" || s === "") && this._addLazySet(E, "zIndex", 0)), typeof o == "string" && (y = E.cssText, s = re(i, z), E.cssText = y + ";" + o, s = Zt(i, s, re(i)).difs, !ee && O.test(o) && (s.opacity = parseFloat(RegExp.$1)), o = s, E.cssText = y), o.className ? this._firstPT = d = S.className.parse(
|
|
1759
1759
|
i,
|
|
@@ -1772,7 +1772,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1772
1772
|
h = h._next;
|
|
1773
1773
|
I = new kt(i, "transform", 0, 0, null, 2), this._linkCSSP(I, null, h), I.setRatio = Xt ? Ne : Le, I.data = this._transform || de(i, z, !0), I.tween = l, I.pr = -1, V.pop();
|
|
1774
1774
|
}
|
|
1775
|
-
if (
|
|
1775
|
+
if (K) {
|
|
1776
1776
|
for (; d; ) {
|
|
1777
1777
|
for (x = d._next, h = y; h && h.pr > d.pr; )
|
|
1778
1778
|
h = h._next;
|
|
@@ -1800,7 +1800,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1800
1800
|
);
|
|
1801
1801
|
continue;
|
|
1802
1802
|
}
|
|
1803
|
-
k = wt(i, s, z) + "", N = typeof x == "string", s === "color" || s === "fill" || s === "stroke" || s.indexOf("Color") !== -1 || N && R.test(x) ? (N || (x =
|
|
1803
|
+
k = wt(i, s, z) + "", N = typeof x == "string", s === "color" || s === "fill" || s === "stroke" || s.indexOf("Color") !== -1 || N && R.test(x) ? (N || (x = ut(x), x = (x.length > 3 ? "rgba(" : "rgb(") + x.join(",") + ")"), l = ie(q, s, k, x, !0, "transparent", l, 0, a)) : N && Yt.test(x) ? l = ie(q, s, k, x, !0, null, l, 0, a) : (h = parseFloat(k), m = h || h === 0 ? k.substr((h + "").length) : "", (k === "" || k === "auto") && (s === "width" || s === "height" ? (h = f(i, s, z), m = "px") : s === "left" || s === "top" ? (h = ue(i, s, z), m = "px") : (h = s !== "opacity" ? 0 : 1, m = "")), E = N && x.charAt(1) === "=", E ? (y = parseInt(x.charAt(0) + "1", 10), x = x.substr(2), y *= parseFloat(x), I = x.replace(p, "")) : (y = parseFloat(x), I = N ? x.replace(p, "") : ""), I === "" && (I = s in at ? at[s] : m), x = y || y === 0 ? (E ? y + h : y) + I : o[s], m !== I && (I !== "" || s === "lineHeight") && (y || y === 0) && h && (h = Vt(i, s, h, m), I === "%" ? (h /= Vt(i, s, 100, "%") / 100, o.strictUnits !== !0 && (k = h + "%")) : I === "em" || I === "rem" || I === "vw" || I === "vh" ? h /= Vt(i, s, 1, I) : I !== "px" && (y = Vt(i, s, y, I), I = "px"), E && (y || y === 0) && (x = y + h + I)), E && (y += h), !h && h !== 0 || !y && y !== 0 ? q[s] !== void 0 && (x || x + "" != "NaN" && x != null) ? (l = new kt(
|
|
1804
1804
|
q,
|
|
1805
1805
|
s,
|
|
1806
1806
|
y || h || 0,
|
|
@@ -1941,11 +1941,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1941
1941
|
return function(H) {
|
|
1942
1942
|
return (Math.round(H / z) * z * V | 0) / V;
|
|
1943
1943
|
};
|
|
1944
|
-
},
|
|
1944
|
+
}, K = function(z, V) {
|
|
1945
1945
|
for (; z; )
|
|
1946
1946
|
z.f || z.blob || (z.m = V || Math.round), z = z._next;
|
|
1947
|
-
},
|
|
1948
|
-
|
|
1947
|
+
}, at = Y.prototype;
|
|
1948
|
+
at._onInitAllProps = function() {
|
|
1949
1949
|
var z, V, H, dt, S = this._tween, M = S.vars.roundProps, W = {}, F = S._propLookup.roundProps;
|
|
1950
1950
|
if (typeof M != "object" || M.push)
|
|
1951
1951
|
for (typeof M == "string" && (M = M.split(",")), H = M.length; --H > -1; )
|
|
@@ -1955,9 +1955,9 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1955
1955
|
W[dt] = Q(M[dt]);
|
|
1956
1956
|
for (dt in W)
|
|
1957
1957
|
for (z = S._firstPT; z; )
|
|
1958
|
-
V = z._next, z.pg ? z.t._mod(W) : z.n === dt && (z.f === 2 && z.t ?
|
|
1958
|
+
V = z._next, z.pg ? z.t._mod(W) : z.n === dt && (z.f === 2 && z.t ? K(z.t._firstPT, W[dt]) : (this._add(z.t, dt, z.s, z.c, W[dt]), V && (V._prev = z._prev), z._prev ? z._prev._next = V : S._firstPT === z && (S._firstPT = V), z._next = z._prev = null, S._propLookup[dt] = F)), z = V;
|
|
1959
1959
|
return !1;
|
|
1960
|
-
},
|
|
1960
|
+
}, at._add = function(z, V, H, dt, S) {
|
|
1961
1961
|
this._addTween(z, V, H, H + dt, V, S || Math.round), this._overwriteProps.push(V);
|
|
1962
1962
|
};
|
|
1963
1963
|
}(), function() {
|
|
@@ -1965,12 +1965,12 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1965
1965
|
propName: "attr",
|
|
1966
1966
|
API: 2,
|
|
1967
1967
|
version: "0.6.1",
|
|
1968
|
-
init: function(Y, Q,
|
|
1968
|
+
init: function(Y, Q, K, at) {
|
|
1969
1969
|
var z, V;
|
|
1970
1970
|
if (typeof Y.setAttribute != "function")
|
|
1971
1971
|
return !1;
|
|
1972
1972
|
for (z in Q)
|
|
1973
|
-
V = Q[z], typeof V == "function" && (V = V(
|
|
1973
|
+
V = Q[z], typeof V == "function" && (V = V(at, Y)), this._addTween(
|
|
1974
1974
|
Y,
|
|
1975
1975
|
"setAttribute",
|
|
1976
1976
|
Y.getAttribute(z) + "",
|
|
@@ -1986,11 +1986,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
1986
1986
|
propName: "directionalRotation",
|
|
1987
1987
|
version: "0.3.1",
|
|
1988
1988
|
API: 2,
|
|
1989
|
-
init: function(Y, Q,
|
|
1989
|
+
init: function(Y, Q, K, at) {
|
|
1990
1990
|
typeof Q != "object" && (Q = { rotation: Q }), this.finals = {};
|
|
1991
1991
|
var z, V, H, dt, S, M, W = Q.useRadians === !0 ? 2 * Math.PI : 360, F = 1e-6;
|
|
1992
1992
|
for (z in Q)
|
|
1993
|
-
z !== "useRadians" && (dt = Q[z], typeof dt == "function" && (dt = dt(
|
|
1993
|
+
z !== "useRadians" && (dt = Q[z], typeof dt == "function" && (dt = dt(at, Y)), M = (dt + "").split("_"), V = M[0], H = parseFloat(
|
|
1994
1994
|
typeof Y[z] != "function" ? Y[z] : Y[z.indexOf("set") || typeof Y["get" + z.substr(3)] != "function" ? z : "get" + z.substr(3)]()
|
|
1995
1995
|
), dt = this.finals[z] = typeof V == "string" && V.charAt(1) === "=" ? H + parseInt(V.charAt(0) + "1", 10) * Number(V.substr(2)) : Number(V) || 0, S = dt - H, M.length && (V = M.join("_"), V.indexOf("short") !== -1 && (S %= W, S !== S % (W / 2) && (S = 0 > S ? S + W : S - W)), V.indexOf("_cw") !== -1 && 0 > S ? S = (S + 9999999999 * W) % W - (S / W | 0) * W : V.indexOf("ccw") !== -1 && S > 0 && (S = (S - 9999999999 * W) % W - (S / W | 0) * W)), (S > F || -F > S) && (this._addTween(Y, z, H, H + S, z), this._overwriteProps.push(z)));
|
|
1996
1996
|
return !0;
|
|
@@ -2007,7 +2007,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2007
2007
|
"easing.Back",
|
|
2008
2008
|
["easing.Ease"],
|
|
2009
2009
|
function(Y) {
|
|
2010
|
-
var Q,
|
|
2010
|
+
var Q, K, at, z, V = Dt.GreenSockGlobals || Dt, H = V.com.greensock, dt = 2 * Math.PI, S = Math.PI / 2, M = H._class, W = function(t, _) {
|
|
2011
2011
|
var n = M("easing." + t, function() {
|
|
2012
2012
|
}, !0), g = n.prototype = new Y();
|
|
2013
2013
|
return g.constructor = n, g.getRatio = _, n;
|
|
@@ -2065,30 +2065,30 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2065
2065
|
return 0 > t ? t = 0 : t >= 1 && (t = 0.999999999), ((this._p2 * t | 0) + this._p3) * this._p1;
|
|
2066
2066
|
}, e.config = Q.config = function(t, _) {
|
|
2067
2067
|
return new Q(t, _);
|
|
2068
|
-
},
|
|
2068
|
+
}, K = M(
|
|
2069
2069
|
"easing.ExpoScaleEase",
|
|
2070
2070
|
function(t, _, n) {
|
|
2071
2071
|
this._p1 = Math.log(_ / t), this._p2 = _ - t, this._p3 = t, this._ease = n;
|
|
2072
2072
|
},
|
|
2073
2073
|
!0
|
|
2074
|
-
), e =
|
|
2074
|
+
), e = K.prototype = new Y(), e.constructor = K, e.getRatio = function(t) {
|
|
2075
2075
|
return this._ease && (t = this._ease.getRatio(t)), (this._p3 * Math.exp(this._p1 * t) - this._p3) / this._p2;
|
|
2076
|
-
}, e.config =
|
|
2077
|
-
return new
|
|
2078
|
-
},
|
|
2076
|
+
}, e.config = K.config = function(t, _, n) {
|
|
2077
|
+
return new K(t, _, n);
|
|
2078
|
+
}, at = M(
|
|
2079
2079
|
"easing.RoughEase",
|
|
2080
2080
|
function(t) {
|
|
2081
2081
|
t = t || {};
|
|
2082
|
-
for (var _, n, g, p, T, O, D = t.taper || "none", R = [], Z = 0, U = 0 | (t.points || 20),
|
|
2083
|
-
_ =
|
|
2082
|
+
for (var _, n, g, p, T, O, D = t.taper || "none", R = [], Z = 0, U = 0 | (t.points || 20), tt = U, et = t.randomize !== !1, mt = t.clamp === !0, ot = t.template instanceof Y ? t.template : null, J = typeof t.strength == "number" ? 0.4 * t.strength : 0.4; --tt > -1; )
|
|
2083
|
+
_ = et ? Math.random() : 1 / U * tt, n = ot ? ot.getRatio(_) : _, D === "none" ? g = J : D === "out" ? (p = 1 - _, g = p * p * J) : D === "in" ? g = _ * _ * J : 0.5 > _ ? (p = 2 * _, g = p * p * 0.5 * J) : (p = 2 * (1 - _), g = p * p * 0.5 * J), et ? n += Math.random() * g - 0.5 * g : tt % 2 ? n += 0.5 * g : n -= 0.5 * g, mt && (n > 1 ? n = 1 : 0 > n && (n = 0)), R[Z++] = { x: _, y: n };
|
|
2084
2084
|
for (R.sort(function(gt, Yt) {
|
|
2085
2085
|
return gt.x - Yt.x;
|
|
2086
|
-
}), O = new st(1, 1, null),
|
|
2087
|
-
T = R[
|
|
2086
|
+
}), O = new st(1, 1, null), tt = U; --tt > -1; )
|
|
2087
|
+
T = R[tt], O = new st(T.x, T.y, O);
|
|
2088
2088
|
this._prev = new st(0, 0, O.t !== 0 ? O : O.next);
|
|
2089
2089
|
},
|
|
2090
2090
|
!0
|
|
2091
|
-
), e =
|
|
2091
|
+
), e = at.prototype = new Y(), e.constructor = at, e.getRatio = function(t) {
|
|
2092
2092
|
var _ = this._prev;
|
|
2093
2093
|
if (t > _.t) {
|
|
2094
2094
|
for (; _.next && t >= _.t; )
|
|
@@ -2099,8 +2099,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2099
2099
|
_ = _.prev;
|
|
2100
2100
|
return this._prev = _, _.v + (t - _.t) / _.gap * _.c;
|
|
2101
2101
|
}, e.config = function(t) {
|
|
2102
|
-
return new
|
|
2103
|
-
},
|
|
2102
|
+
return new at(t);
|
|
2103
|
+
}, at.ease = new at(), $(
|
|
2104
2104
|
"Bounce",
|
|
2105
2105
|
W("BounceOut", function(t) {
|
|
2106
2106
|
return 1 / 2.75 > t ? 7.5625 * t * t : 2 / 2.75 > t ? 7.5625 * (t -= 1.5 / 2.75) * t + 0.75 : 2.5 / 2.75 > t ? 7.5625 * (t -= 2.25 / 2.75) * t + 0.9375 : 7.5625 * (t -= 2.625 / 2.75) * t + 0.984375;
|
|
@@ -2187,12 +2187,12 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2187
2187
|
}
|
|
2188
2188
|
},
|
|
2189
2189
|
!0
|
|
2190
|
-
), F(V.SlowMo, "SlowMo", "ease,"), F(
|
|
2190
|
+
), F(V.SlowMo, "SlowMo", "ease,"), F(at, "RoughEase", "ease,"), F(Q, "SteppedEase", "ease,"), v;
|
|
2191
2191
|
},
|
|
2192
2192
|
!0
|
|
2193
2193
|
);
|
|
2194
2194
|
}), Dt._gsDefine && Dt._gsQueue.pop()(), function(Y, Q) {
|
|
2195
|
-
var
|
|
2195
|
+
var K = {}, at = Y.document, z = Y.GreenSockGlobals = Y.GreenSockGlobals || Y, V = z[Q];
|
|
2196
2196
|
if (V)
|
|
2197
2197
|
return typeof module < "u" && module.exports && (module.exports = V), V;
|
|
2198
2198
|
var H, dt, S, M, W, F = function(r) {
|
|
@@ -2215,23 +2215,23 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2215
2215
|
this.sc = e[r] ? e[r].sc : [], e[r] = this, this.gsClass = null, this.func = f;
|
|
2216
2216
|
var w = [];
|
|
2217
2217
|
this.check = function(C) {
|
|
2218
|
-
for (var j, A, ft,
|
|
2218
|
+
for (var j, A, ft, ut, b = u.length, pt = b; --b > -1; )
|
|
2219
2219
|
(j = e[u[b]] || new t(u[b], [])).gsClass ? (w[b] = j.gsClass, pt--) : C && j.sc.push(this);
|
|
2220
2220
|
if (pt === 0 && f) {
|
|
2221
|
-
if (A = ("com.greensock." + r).split("."), ft = A.pop(),
|
|
2222
|
-
if (z[ft] =
|
|
2221
|
+
if (A = ("com.greensock." + r).split("."), ft = A.pop(), ut = F(A.join("."))[ft] = this.gsClass = f.apply(f, w), c)
|
|
2222
|
+
if (z[ft] = K[ft] = ut, typeof module < "u" && module.exports)
|
|
2223
2223
|
if (r === Q) {
|
|
2224
|
-
module.exports =
|
|
2225
|
-
for (b in
|
|
2226
|
-
|
|
2224
|
+
module.exports = K[Q] = ut;
|
|
2225
|
+
for (b in K)
|
|
2226
|
+
ut[b] = K[b];
|
|
2227
2227
|
} else
|
|
2228
|
-
|
|
2228
|
+
K[Q] && (K[Q][ft] = ut);
|
|
2229
2229
|
else
|
|
2230
2230
|
typeof define == "function" && define.amd && define(
|
|
2231
2231
|
(Y.GreenSockAMDPath ? Y.GreenSockAMDPath + "/" : "") + r.split(".").pop(),
|
|
2232
2232
|
[],
|
|
2233
2233
|
function() {
|
|
2234
|
-
return
|
|
2234
|
+
return ut;
|
|
2235
2235
|
}
|
|
2236
2236
|
);
|
|
2237
2237
|
for (b = 0; b < this.sc.length; b++)
|
|
@@ -2259,8 +2259,8 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2259
2259
|
},
|
|
2260
2260
|
!0
|
|
2261
2261
|
), T = p.map = {}, O = p.register = function(r, u, f, c) {
|
|
2262
|
-
for (var w, C, j, A, ft = u.split(","),
|
|
2263
|
-
for (C = ft[
|
|
2262
|
+
for (var w, C, j, A, ft = u.split(","), ut = ft.length, b = (f || "easeIn,easeOut,easeInOut").split(","); --ut > -1; )
|
|
2263
|
+
for (C = ft[ut], w = c ? n("easing." + C, null, !0) : $.easing[C] || {}, j = b.length; --j > -1; )
|
|
2264
2264
|
A = b[j], T[C + "." + A] = T[A + C] = w[A] = r.getRatio ? r : r[A] || new r();
|
|
2265
2265
|
};
|
|
2266
2266
|
for (S = p.prototype, S._calcEnd = !1, S.getRatio = function(r) {
|
|
@@ -2295,42 +2295,42 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2295
2295
|
};
|
|
2296
2296
|
var R = Y.requestAnimationFrame, Z = Y.cancelAnimationFrame, U = Date.now || function() {
|
|
2297
2297
|
return (/* @__PURE__ */ new Date()).getTime();
|
|
2298
|
-
},
|
|
2298
|
+
}, tt = U();
|
|
2299
2299
|
for (H = ["ms", "moz", "webkit", "o"], dt = H.length; --dt > -1 && !R; )
|
|
2300
2300
|
R = Y[H[dt] + "RequestAnimationFrame"], Z = Y[H[dt] + "CancelAnimationFrame"] || Y[H[dt] + "CancelRequestAnimationFrame"];
|
|
2301
2301
|
n("Ticker", function(r, u) {
|
|
2302
|
-
var f, c, w, C, j, A = this, ft = U(),
|
|
2303
|
-
var kt, he, ie = U() -
|
|
2304
|
-
ie > b && (ft += ie - pt),
|
|
2302
|
+
var f, c, w, C, j, A = this, ft = U(), ut = u !== !1 && R ? "auto" : !1, b = 500, pt = 33, Pt = "tick", Ot = function(vt) {
|
|
2303
|
+
var kt, he, ie = U() - tt;
|
|
2304
|
+
ie > b && (ft += ie - pt), tt += ie, A.time = (tt - ft) / 1e3, kt = A.time - j, (!f || kt > 0 || vt === !0) && (A.frame++, j += kt + (kt >= C ? 4e-3 : C - kt), he = !0), vt !== !0 && (w = c(Ot)), he && A.dispatchEvent(Pt);
|
|
2305
2305
|
};
|
|
2306
2306
|
D.call(A), A.time = A.frame = 0, A.tick = function() {
|
|
2307
2307
|
Ot(!0);
|
|
2308
2308
|
}, A.lagSmoothing = function(vt, kt) {
|
|
2309
2309
|
return arguments.length ? (b = vt || 1 / st, void (pt = Math.min(kt, b, 0))) : 1 / st > b;
|
|
2310
2310
|
}, A.sleep = function() {
|
|
2311
|
-
w != null && (
|
|
2311
|
+
w != null && (ut && Z ? Z(w) : clearTimeout(w), c = v, w = null, A === M && (W = !1));
|
|
2312
2312
|
}, A.wake = function(vt) {
|
|
2313
|
-
w !== null ? A.sleep() : vt ? ft += -
|
|
2313
|
+
w !== null ? A.sleep() : vt ? ft += -tt + (tt = U()) : A.frame > 10 && (tt = U() - b + 5), c = f === 0 ? v : ut && R ? R : function(kt) {
|
|
2314
2314
|
return setTimeout(kt, 1e3 * (j - A.time) + 1 | 0);
|
|
2315
2315
|
}, A === M && (W = !0), Ot(2);
|
|
2316
2316
|
}, A.fps = function(vt) {
|
|
2317
2317
|
return arguments.length ? (f = vt, C = 1 / (f || 60), j = this.time + C, void A.wake()) : f;
|
|
2318
2318
|
}, A.useRAF = function(vt) {
|
|
2319
|
-
return arguments.length ? (A.sleep(),
|
|
2319
|
+
return arguments.length ? (A.sleep(), ut = vt, void A.fps(f)) : ut;
|
|
2320
2320
|
}, A.fps(r), setTimeout(function() {
|
|
2321
|
-
|
|
2321
|
+
ut === "auto" && A.frame < 5 && (at || {}).visibilityState !== "hidden" && A.useRAF(!1);
|
|
2322
2322
|
}, 1500);
|
|
2323
2323
|
}), S = $.Ticker.prototype = new $.events.EventDispatcher(), S.constructor = $.Ticker;
|
|
2324
|
-
var
|
|
2324
|
+
var et = n("core.Animation", function(r, u) {
|
|
2325
2325
|
if (this.vars = u = u || {}, this._duration = this._totalDuration = r || 0, this._delay = Number(u.delay) || 0, this._timeScale = 1, this._active = u.immediateRender === !0, this.data = u.data, this._reversed = u.reversed === !0, Gt) {
|
|
2326
2326
|
W || M.wake();
|
|
2327
2327
|
var f = this.vars.useFrames ? te : Gt;
|
|
2328
2328
|
f.add(this, f._time), this.vars.paused && this.paused(!0);
|
|
2329
2329
|
}
|
|
2330
2330
|
});
|
|
2331
|
-
M =
|
|
2331
|
+
M = et.ticker = new $.Ticker(), S = et.prototype, S._dirty = S._gc = S._initted = S._paused = !1, S._totalTime = S._time = 0, S._rawPrevTime = -1, S._next = S._last = S._onUpdate = S._timeline = S.timeline = null, S._paused = !1;
|
|
2332
2332
|
var mt = function() {
|
|
2333
|
-
W && U() -
|
|
2333
|
+
W && U() - tt > 2e3 && ((at || {}).visibilityState !== "hidden" || !M.lagSmoothing()) && M.wake();
|
|
2334
2334
|
var r = setTimeout(mt, 2e3);
|
|
2335
2335
|
r.unref && r.unref();
|
|
2336
2336
|
};
|
|
@@ -2437,9 +2437,9 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2437
2437
|
return r != this._paused && c && (W || r || M.wake(), u = c.rawTime(), f = u - this._pauseTime, !r && c.smoothChildTiming && (this._startTime += f, this._uncache(!1)), this._pauseTime = r ? u : null, this._paused = r, this._active = this.isActive(), !r && f !== 0 && this._initted && this.duration() && (u = c.smoothChildTiming ? this._totalTime : (u - this._startTime) / this._timeScale, this.render(u, u === this._totalTime, !0))), this._gc && !r && this._enabled(!0, !1), this;
|
|
2438
2438
|
};
|
|
2439
2439
|
var ot = n("core.SimpleTimeline", function(r) {
|
|
2440
|
-
|
|
2440
|
+
et.call(this, 0, r), this.autoRemoveChildren = this.smoothChildTiming = !0;
|
|
2441
2441
|
});
|
|
2442
|
-
S = ot.prototype = new
|
|
2442
|
+
S = ot.prototype = new et(), S.constructor = ot, S.kill()._gc = !1, S._first = S._last = S._recent = null, S._sortChildren = !1, S.add = S.insert = function(r, u, f, c) {
|
|
2443
2443
|
var w, C;
|
|
2444
2444
|
if (r._startTime = Number(u || 0) + r._delay, r._paused && this !== r._timeline && (r._pauseTime = this.rawTime() - (r._timeline.rawTime() - r._pauseTime)), r.timeline && r.timeline._remove(r, !0), r.timeline = r._timeline = this, r._gc && r._enabled(!0, !0), w = this._last, this._sortChildren)
|
|
2445
2445
|
for (C = r._startTime; w && w._startTime > C; )
|
|
@@ -2461,7 +2461,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2461
2461
|
var J = n(
|
|
2462
2462
|
"TweenLite",
|
|
2463
2463
|
function(r, u, f) {
|
|
2464
|
-
if (
|
|
2464
|
+
if (et.call(this, u, f), this.render = J.prototype.render, r == null)
|
|
2465
2465
|
throw "Cannot tween a null target.";
|
|
2466
2466
|
this.target = r = typeof r != "string" ? r : J.selector(r) || r;
|
|
2467
2467
|
var c, w, C, j = r.jquery || r.length && r !== Y && r[0] && (r[0] === Y || r[0].nodeType && r[0].style && !r.nodeType), A = this.vars.overwrite;
|
|
@@ -2481,19 +2481,19 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2481
2481
|
_e[f] || f in u && f !== "transform" && f !== "x" && f !== "y" && f !== "width" && f !== "height" && f !== "className" && f !== "border" || !(!Et[f] || Et[f] && Et[f]._autoCSS) || (c[f] = r[f], delete r[f]);
|
|
2482
2482
|
r.css = c;
|
|
2483
2483
|
};
|
|
2484
|
-
S = J.prototype = new
|
|
2484
|
+
S = J.prototype = new et(), S.constructor = J, S.kill()._gc = !1, S.ratio = 0, S._firstPT = S._targets = S._overwrittenProps = S._startAt = null, S._notifyPluginsOfEnabled = S._lazy = !1, J.version = "2.0.2", J.defaultEase = S._ease = new p(null, null, 1, 1), J.defaultOverwrite = "auto", J.ticker = M, J.autoSleep = 120, J.lagSmoothing = function(r, u) {
|
|
2485
2485
|
M.lagSmoothing(r, u);
|
|
2486
2486
|
}, J.selector = Y.$ || Y.jQuery || function(r) {
|
|
2487
2487
|
var u = Y.$ || Y.jQuery;
|
|
2488
|
-
return u ? (J.selector = u, u(r)) : (
|
|
2488
|
+
return u ? (J.selector = u, u(r)) : (at || (at = Y.document), at ? at.querySelectorAll ? at.querySelectorAll(r) : at.getElementById(r.charAt(0) === "#" ? r.substr(1) : r) : r);
|
|
2489
2489
|
};
|
|
2490
2490
|
var yt = [], At = {}, Jt = /(?:(-|-=|\+=)?\d*\.?\d*(?:e[\-+]?\d+)?)[0-9]/gi, Kt = /[\+-]=-?[\.\d]/, Wt = function(r) {
|
|
2491
2491
|
for (var u, f = this._firstPT, c = 1e-6; f; )
|
|
2492
2492
|
u = f.blob ? r === 1 && this.end != null ? this.end : r ? this.join("") : this.start : f.c * r + f.s, f.m ? u = f.m.call(this._tween, u, this._target || f.t, this._tween) : c > u && u > -c && !f.blob && (u = 0), f.f ? f.fp ? f.t[f.p](f.fp, u) : f.t[f.p](u) : f.t[f.p] = u, f = f._next;
|
|
2493
2493
|
}, ae = function(r, u, f, c) {
|
|
2494
|
-
var w, C, j, A, ft,
|
|
2494
|
+
var w, C, j, A, ft, ut, b, pt = [], Pt = 0, Ot = "", vt = 0;
|
|
2495
2495
|
for (pt.start = r, pt.end = u, r = pt[0] = r + "", u = pt[1] = u + "", f && (f(pt), r = pt[0], u = pt[1]), pt.length = 0, w = r.match(Jt) || [], C = u.match(Jt) || [], c && (c._next = null, c.blob = 1, pt._firstPT = pt._applyPT = c), ft = C.length, A = 0; ft > A; A++)
|
|
2496
|
-
b = C[A],
|
|
2496
|
+
b = C[A], ut = u.substr(Pt, u.indexOf(b, Pt) - Pt), Ot += ut || !A ? ut : ",", Pt += ut.length, vt ? vt = (vt + 1) % 5 : ut.substr(-5) === "rgba(" && (vt = 1), b === w[A] || w.length <= A ? Ot += b : (Ot && (pt.push(Ot), Ot = ""), j = parseFloat(w[A]), pt.push(j), pt._firstPT = {
|
|
2497
2497
|
_next: pt._firstPT,
|
|
2498
2498
|
t: pt,
|
|
2499
2499
|
p: pt.length - 1,
|
|
@@ -2505,7 +2505,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2505
2505
|
return Ot += u.substr(Pt), Ot && pt.push(Ot), pt.setRatio = Wt, Kt.test(u) && (pt.end = null), pt;
|
|
2506
2506
|
}, bt = function(r, u, f, c, w, C, j, A, ft) {
|
|
2507
2507
|
typeof c == "function" && (c = c(ft || 0, r));
|
|
2508
|
-
var
|
|
2508
|
+
var ut, b = typeof r[u], pt = b !== "function" ? "" : u.indexOf("set") || typeof r["get" + u.substr(3)] != "function" ? u : "get" + u.substr(3), Pt = f !== "get" ? f : pt ? j ? r[pt](j) : r[pt]() : r[u], Ot = typeof c == "string" && c.charAt(1) === "=", vt = {
|
|
2509
2509
|
t: r,
|
|
2510
2510
|
p: u,
|
|
2511
2511
|
s: Pt,
|
|
@@ -2516,13 +2516,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2516
2516
|
pr: 0,
|
|
2517
2517
|
c: Ot ? parseInt(c.charAt(0) + "1", 10) * parseFloat(c.substr(2)) : parseFloat(c) - Pt || 0
|
|
2518
2518
|
};
|
|
2519
|
-
return (typeof Pt != "number" || typeof c != "number" && !Ot) && (j || isNaN(Pt) || !Ot && isNaN(c) || typeof Pt == "boolean" || typeof c == "boolean" ? (vt.fp = j,
|
|
2519
|
+
return (typeof Pt != "number" || typeof c != "number" && !Ot) && (j || isNaN(Pt) || !Ot && isNaN(c) || typeof Pt == "boolean" || typeof c == "boolean" ? (vt.fp = j, ut = ae(
|
|
2520
2520
|
Pt,
|
|
2521
2521
|
Ot ? parseFloat(vt.s) + vt.c + (vt.s + "").replace(/[0-9\-\.]/g, "") : c,
|
|
2522
2522
|
A || J.defaultStringFilter,
|
|
2523
2523
|
vt
|
|
2524
2524
|
), vt = {
|
|
2525
|
-
t:
|
|
2525
|
+
t: ut,
|
|
2526
2526
|
p: "setRatio",
|
|
2527
2527
|
s: 0,
|
|
2528
2528
|
c: 1,
|
|
@@ -2583,13 +2583,13 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2583
2583
|
preexisting: 5,
|
|
2584
2584
|
true: 1,
|
|
2585
2585
|
false: 0
|
|
2586
|
-
}, te =
|
|
2586
|
+
}, te = et._rootFramesTimeline = new ot(), Gt = et._rootTimeline = new ot(), se = 30, jt = le.lazyRender = function() {
|
|
2587
2587
|
var r, u = yt.length;
|
|
2588
2588
|
for (At = {}; --u > -1; )
|
|
2589
2589
|
r = yt[u], r && r._lazy !== !1 && (r.render(r._lazy[0], r._lazy[1], !0), r._lazy = !1);
|
|
2590
2590
|
yt.length = 0;
|
|
2591
2591
|
};
|
|
2592
|
-
Gt._startTime = M.time, te._startTime = M.frame, Gt._active = te._active = !0, setTimeout(jt, 1),
|
|
2592
|
+
Gt._startTime = M.time, te._startTime = M.frame, Gt._active = te._active = !0, setTimeout(jt, 1), et._updateRoot = J.render = function() {
|
|
2593
2593
|
var r, u, f;
|
|
2594
2594
|
if (yt.length && jt(), Gt.render((M.time - Gt._startTime) * Gt._timeScale, !1, !1), te.render((M.frame - te._startTime) * te._timeScale, !1, !1), yt.length && jt(), M.frame >= se) {
|
|
2595
2595
|
se = M.frame + (parseInt(J.autoSleep, 10) || 120);
|
|
@@ -2604,7 +2604,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2604
2604
|
f || M.sleep();
|
|
2605
2605
|
}
|
|
2606
2606
|
}
|
|
2607
|
-
}, M.addEventListener("tick",
|
|
2607
|
+
}, M.addEventListener("tick", et._updateRoot);
|
|
2608
2608
|
var wt = function(r, u, f) {
|
|
2609
2609
|
var c, w, C = r._gsTweenID;
|
|
2610
2610
|
if (zt[C || (r._gsTweenID = C = "t" + ee++)] || (zt[C] = { target: r, tweens: [] }), u && (c = zt[C].tweens, c[w = c.length] = u, f))
|
|
@@ -2624,9 +2624,9 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2624
2624
|
break;
|
|
2625
2625
|
return j;
|
|
2626
2626
|
}
|
|
2627
|
-
var
|
|
2627
|
+
var ut, b = u._startTime + st, pt = [], Pt = 0, Ot = u._duration === 0;
|
|
2628
2628
|
for (C = w.length; --C > -1; )
|
|
2629
|
-
(A = w[C]) === u || A._gc || A._paused || (A._timeline !== u._timeline ? (
|
|
2629
|
+
(A = w[C]) === u || A._gc || A._paused || (A._timeline !== u._timeline ? (ut = ut || re(u, 0, Ot), re(A, ut, Ot) === 0 && (pt[Pt++] = A)) : A._startTime <= b && A._startTime + A.totalDuration() / A._timeScale > b && ((Ot || !A._initted) && b - A._startTime <= 2e-10 || (pt[Pt++] = A)));
|
|
2630
2630
|
for (C = Pt; --C > -1; )
|
|
2631
2631
|
if (A = pt[C], ft = A._firstPT, c === 2 && A._kill(f, r, u) && (j = !0), c !== 2 || !A._firstPT && A._initted && ft) {
|
|
2632
2632
|
if (c !== 2 && !Vt(A, u))
|
|
@@ -2643,12 +2643,12 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2643
2643
|
return C /= w, C > u ? C - u : f && C === u || !r._initted && 2 * st > C - u ? st : (C += r.totalDuration() / r._timeScale / w) > u + st ? 0 : C - u - st;
|
|
2644
2644
|
};
|
|
2645
2645
|
S._init = function() {
|
|
2646
|
-
var r, u, f, c, w, C, j = this.vars, A = this._overwrittenProps, ft = this._duration,
|
|
2646
|
+
var r, u, f, c, w, C, j = this.vars, A = this._overwrittenProps, ft = this._duration, ut = !!j.immediateRender, b = j.ease;
|
|
2647
2647
|
if (j.startAt) {
|
|
2648
2648
|
this._startAt && (this._startAt.render(-1, !0), this._startAt.kill()), w = {};
|
|
2649
2649
|
for (c in j.startAt)
|
|
2650
2650
|
w[c] = j.startAt[c];
|
|
2651
|
-
if (w.data = "isStart", w.overwrite = !1, w.immediateRender = !0, w.lazy =
|
|
2651
|
+
if (w.data = "isStart", w.overwrite = !1, w.immediateRender = !0, w.lazy = ut && j.lazy !== !1, w.startAt = w.delay = null, w.onUpdate = j.onUpdate, w.onUpdateParams = j.onUpdateParams, w.onUpdateScope = j.onUpdateScope || j.callbackScope || this, this._startAt = J.to(this.target || {}, 0, w), ut) {
|
|
2652
2652
|
if (this._time > 0)
|
|
2653
2653
|
this._startAt = null;
|
|
2654
2654
|
else if (ft !== 0)
|
|
@@ -2658,10 +2658,10 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2658
2658
|
if (this._startAt)
|
|
2659
2659
|
this._startAt.render(-1, !0), this._startAt.kill(), this._startAt = null;
|
|
2660
2660
|
else {
|
|
2661
|
-
this._time !== 0 && (
|
|
2661
|
+
this._time !== 0 && (ut = !1), f = {};
|
|
2662
2662
|
for (c in j)
|
|
2663
2663
|
_e[c] && c !== "autoCSS" || (f[c] = j[c]);
|
|
2664
|
-
if (f.overwrite = 0, f.data = "isFromStart", f.lazy =
|
|
2664
|
+
if (f.overwrite = 0, f.data = "isFromStart", f.lazy = ut && j.lazy !== !1, f.immediateRender = ut, this._startAt = J.to(this.target, 0, f), ut) {
|
|
2665
2665
|
if (this._time === 0)
|
|
2666
2666
|
return;
|
|
2667
2667
|
} else
|
|
@@ -2689,7 +2689,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2689
2689
|
f.s += f.c, f.c = -f.c, f = f._next;
|
|
2690
2690
|
this._onUpdate = j.onUpdate, this._initted = !0;
|
|
2691
2691
|
}, S._initProps = function(r, u, f, c, w) {
|
|
2692
|
-
var C, j, A, ft,
|
|
2692
|
+
var C, j, A, ft, ut, b;
|
|
2693
2693
|
if (r == null)
|
|
2694
2694
|
return !1;
|
|
2695
2695
|
At[r._gsTweenID] && jt(), this.vars.css || r.style && r !== Y && r.nodeType && Et.css && this.vars.autoCSS !== !1 && Yt(this.vars, r);
|
|
@@ -2697,7 +2697,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2697
2697
|
if (b = this.vars[C], _e[C])
|
|
2698
2698
|
b && (b instanceof Array || b.push && P(b)) && b.join("").indexOf("{self}") !== -1 && (this.vars[C] = b = this._swapSelfInParams(b, this));
|
|
2699
2699
|
else if (Et[C] && (ft = new Et[C]())._onInitTween(r, this.vars[C], this, w)) {
|
|
2700
|
-
for (this._firstPT =
|
|
2700
|
+
for (this._firstPT = ut = {
|
|
2701
2701
|
_next: this._firstPT,
|
|
2702
2702
|
t: ft,
|
|
2703
2703
|
p: "setRatio",
|
|
@@ -2710,7 +2710,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2710
2710
|
m: 0
|
|
2711
2711
|
}, j = ft._overwriteProps.length; --j > -1; )
|
|
2712
2712
|
u[ft._overwriteProps[j]] = this._firstPT;
|
|
2713
|
-
(ft._priority || ft._onInitAllProps) && (A = !0), (ft._onDisable || ft._onEnable) && (this._notifyPluginsOfEnabled = !0),
|
|
2713
|
+
(ft._priority || ft._onInitAllProps) && (A = !0), (ft._onDisable || ft._onEnable) && (this._notifyPluginsOfEnabled = !0), ut._next && (ut._next._prev = ut);
|
|
2714
2714
|
} else
|
|
2715
2715
|
u[C] = bt.call(
|
|
2716
2716
|
this,
|
|
@@ -2726,11 +2726,11 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2726
2726
|
);
|
|
2727
2727
|
return c && this._kill(c, r) ? this._initProps(r, u, f, c, w) : this._overwrite > 1 && this._firstPT && f.length > 1 && ue(r, this, u, this._overwrite, f) ? (this._kill(u, r), this._initProps(r, u, f, c, w)) : (this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration) && (At[r._gsTweenID] = !0), A);
|
|
2728
2728
|
}, S.render = function(r, u, f) {
|
|
2729
|
-
var c, w, C, j, A = this._time, ft = this._duration,
|
|
2729
|
+
var c, w, C, j, A = this._time, ft = this._duration, ut = this._rawPrevTime;
|
|
2730
2730
|
if (r >= ft - 1e-7 && r >= 0)
|
|
2731
|
-
this._totalTime = this._time = ft, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (c = !0, w = "onComplete", f = f || this._timeline.autoRemoveChildren), ft === 0 && (this._initted || !this.vars.lazy || f) && (this._startTime === this._timeline._duration && (r = 0), (0 >
|
|
2731
|
+
this._totalTime = this._time = ft, this.ratio = this._ease._calcEnd ? this._ease.getRatio(1) : 1, this._reversed || (c = !0, w = "onComplete", f = f || this._timeline.autoRemoveChildren), ft === 0 && (this._initted || !this.vars.lazy || f) && (this._startTime === this._timeline._duration && (r = 0), (0 > ut || 0 >= r && r >= -1e-7 || ut === st && this.data !== "isPause") && ut !== r && (f = !0, ut > st && (w = "onReverseComplete")), this._rawPrevTime = j = !u || r || ut === r ? r : st);
|
|
2732
2732
|
else if (1e-7 > r)
|
|
2733
|
-
this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (A !== 0 || ft === 0 &&
|
|
2733
|
+
this._totalTime = this._time = 0, this.ratio = this._ease._calcEnd ? this._ease.getRatio(0) : 0, (A !== 0 || ft === 0 && ut > 0) && (w = "onReverseComplete", c = this._reversed), 0 > r && (this._active = !1, ft === 0 && (this._initted || !this.vars.lazy || f) && (ut >= 0 && (ut !== st || this.data !== "isPause") && (f = !0), this._rawPrevTime = j = !u || r || ut === r ? r : st)), (!this._initted || this._startAt && this._startAt.progress()) && (f = !0);
|
|
2734
2734
|
else if (this._totalTime = this._time = r, this._easeType) {
|
|
2735
2735
|
var b = r / ft, pt = this._easeType, Pt = this._easePower;
|
|
2736
2736
|
(pt === 1 || pt === 3 && b >= 0.5) && (b = 1 - b), pt === 3 && (b *= 2), Pt === 1 ? b *= b : Pt === 2 ? b *= b * b : Pt === 3 ? b *= b * b * b : Pt === 4 && (b *= b * b * b * b), pt === 1 ? this.ratio = 1 - b : pt === 2 ? this.ratio = b : 0.5 > r / ft ? this.ratio = b / 2 : this.ratio = 1 - b / 2;
|
|
@@ -2741,7 +2741,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2741
2741
|
if (this._init(), !this._initted || this._gc)
|
|
2742
2742
|
return;
|
|
2743
2743
|
if (!f && this._firstPT && (this.vars.lazy !== !1 && this._duration || this.vars.lazy && !this._duration))
|
|
2744
|
-
return this._time = this._totalTime = A, this._rawPrevTime =
|
|
2744
|
+
return this._time = this._totalTime = A, this._rawPrevTime = ut, yt.push(this), void (this._lazy = [r, u]);
|
|
2745
2745
|
this._time && !c ? this.ratio = this._ease.getRatio(this._time / ft) : c && this._ease._calcEnd && (this.ratio = this._ease.getRatio(this._time === 0 ? 0 : 1));
|
|
2746
2746
|
}
|
|
2747
2747
|
for (this._lazy !== !1 && (this._lazy = !1), this._active || !this._paused && this._time !== A && r >= 0 && (this._active = !0), A === 0 && (this._startAt && (r >= 0 ? this._startAt.render(r, !0, f) : w || (w = "_dummyGS")), this.vars.onStart && (this._time !== 0 || ft === 0) && (u || this._callback("onStart"))), C = this._firstPT; C; )
|
|
@@ -2752,7 +2752,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2752
2752
|
if (r === "all" && (r = null), r == null && (u == null || u === this.target))
|
|
2753
2753
|
return this._lazy = !1, this._enabled(!1, !1);
|
|
2754
2754
|
u = typeof u != "string" ? u || this._targets || this.target : J.selector(u) || u;
|
|
2755
|
-
var c, w, C, j, A, ft,
|
|
2755
|
+
var c, w, C, j, A, ft, ut, b, pt, Pt = f && this._time && f._startTime === this._startTime && this._timeline === f._timeline, Ot = this._firstPT;
|
|
2756
2756
|
if ((P(u) || gt(u)) && typeof u[0] != "number")
|
|
2757
2757
|
for (c = u.length; --c > -1; )
|
|
2758
2758
|
this._kill(r, u[c], f) && (ft = !0);
|
|
@@ -2769,20 +2769,20 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2769
2769
|
A = this._propLookup, w = this._overwrittenProps = r ? this._overwrittenProps || {} : "all";
|
|
2770
2770
|
}
|
|
2771
2771
|
if (A) {
|
|
2772
|
-
if (
|
|
2773
|
-
for (C in
|
|
2772
|
+
if (ut = r || A, b = r !== w && w !== "all" && r !== A && (typeof r != "object" || !r._tempKill), f && (J.onOverwrite || this.vars.onOverwrite)) {
|
|
2773
|
+
for (C in ut)
|
|
2774
2774
|
A[C] && (pt || (pt = []), pt.push(C));
|
|
2775
2775
|
if ((pt || !r) && !Vt(this, f, u, pt))
|
|
2776
2776
|
return !1;
|
|
2777
2777
|
}
|
|
2778
|
-
for (C in
|
|
2779
|
-
(j = A[C]) && (Pt && (j.f ? j.t[j.p](j.s) : j.t[j.p] = j.s, ft = !0), j.pg && j.t._kill(
|
|
2778
|
+
for (C in ut)
|
|
2779
|
+
(j = A[C]) && (Pt && (j.f ? j.t[j.p](j.s) : j.t[j.p] = j.s, ft = !0), j.pg && j.t._kill(ut) && (ft = !0), j.pg && j.t._overwriteProps.length !== 0 || (j._prev ? j._prev._next = j._next : j === this._firstPT && (this._firstPT = j._next), j._next && (j._next._prev = j._prev), j._next = j._prev = null), delete A[C]), b && (w[C] = 1);
|
|
2780
2780
|
!this._firstPT && this._initted && Ot && this._enabled(!1, !1);
|
|
2781
2781
|
}
|
|
2782
2782
|
}
|
|
2783
2783
|
return ft;
|
|
2784
2784
|
}, S.invalidate = function() {
|
|
2785
|
-
return this._notifyPluginsOfEnabled && J._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [],
|
|
2785
|
+
return this._notifyPluginsOfEnabled && J._onPluginEvent("_onDisable", this), this._firstPT = this._overwrittenProps = this._startAt = this._onUpdate = null, this._notifyPluginsOfEnabled = this._active = this._lazy = !1, this._propLookup = this._targets ? {} : [], et.prototype.invalidate.call(this), this.vars.immediateRender && (this._time = -st, this.render(Math.min(0, -this._delay))), this;
|
|
2786
2786
|
}, S._enabled = function(r, u) {
|
|
2787
2787
|
if (W || M.wake(), r && this._gc) {
|
|
2788
2788
|
var f, c = this._targets;
|
|
@@ -2792,7 +2792,7 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2792
2792
|
else
|
|
2793
2793
|
this._siblings = wt(this.target, this, !0);
|
|
2794
2794
|
}
|
|
2795
|
-
return
|
|
2795
|
+
return et.prototype._enabled.call(this, r, u), this._notifyPluginsOfEnabled && this._firstPT ? J._onPluginEvent(r ? "_onEnable" : "_onDisable", this) : !1;
|
|
2796
2796
|
}, J.to = function(r, u, f) {
|
|
2797
2797
|
return new J(r, u, f);
|
|
2798
2798
|
}, J.from = function(r, u, f) {
|
|
@@ -2903,15 +2903,17 @@ var Dt = typeof module < "u" && module.exports && typeof global < "u" ? global :
|
|
|
2903
2903
|
typeof module < "u" && module.exports && typeof global < "u" ? global : globalThis || window,
|
|
2904
2904
|
"TweenMax"
|
|
2905
2905
|
);
|
|
2906
|
-
const
|
|
2906
|
+
const pi = [ei], mi = {
|
|
2907
2907
|
install(Y) {
|
|
2908
|
-
|
|
2909
|
-
Y.component(
|
|
2908
|
+
pi.forEach((K, at) => {
|
|
2909
|
+
Y.component(K.name, K);
|
|
2910
2910
|
});
|
|
2911
|
+
const Q = He(fi);
|
|
2912
|
+
Qe(Q, document.querySelector("body")), window.$continuation = Q.component.devtoolsRawSetupState.continuation;
|
|
2911
2913
|
}
|
|
2912
2914
|
};
|
|
2913
2915
|
export {
|
|
2914
|
-
|
|
2915
|
-
|
|
2916
|
-
|
|
2916
|
+
ei as Button,
|
|
2917
|
+
fi as Cutscenes,
|
|
2918
|
+
mi as default
|
|
2917
2919
|
};
|