@prefecthq/graphs 1.0.7 → 1.0.8
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/dist/graphs.mjs +1 -1
- package/dist/graphs.umd.js +25 -25
- package/dist/graphs.umd.js.map +1 -1
- package/dist/{index-0669fb1d.mjs → index-0e0bc71d.mjs} +390 -387
- package/dist/{index-0669fb1d.mjs.map → index-0e0bc71d.mjs.map} +1 -1
- package/dist/{viewport.es-a4ca92c6.mjs → viewport.es-ae91b8e8.mjs} +2 -2
- package/dist/{viewport.es-a4ca92c6.mjs.map → viewport.es-ae91b8e8.mjs.map} +1 -1
- package/package.json +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var yf = Object.defineProperty;
|
|
2
2
|
var bf = (r, e, t) => e in r ? yf(r, e, { enumerable: !0, configurable: !0, writable: !0, value: t }) : r[e] = t;
|
|
3
3
|
var P = (r, e, t) => (bf(r, typeof e != "symbol" ? e + "" : e, t), t);
|
|
4
|
-
import { nextTick as xf, watch as
|
|
4
|
+
import { nextTick as xf, watch as Ht, ref as Zi, defineComponent as Tf, computed as ge, onMounted as Ef, onBeforeUnmount as Sf, openBlock as wf, createElementBlock as Rf } from "vue";
|
|
5
5
|
var Gn = Math.PI * 2, Pf = 180 / Math.PI, Cf = Math.PI / 180, Lt;
|
|
6
6
|
(function(r) {
|
|
7
7
|
r[r.POLY = 0] = "POLY", r[r.RECT = 1] = "RECT", r[r.CIRC = 2] = "CIRC", r[r.ELIP = 3] = "ELIP", r[r.RREC = 4] = "RREC";
|
|
8
8
|
})(Lt || (Lt = {}));
|
|
9
|
-
var
|
|
9
|
+
var lt = function() {
|
|
10
10
|
function r(e, t) {
|
|
11
11
|
e === void 0 && (e = 0), t === void 0 && (t = 0), this.x = 0, this.y = 0, this.x = e, this.y = t;
|
|
12
12
|
}
|
|
@@ -23,7 +23,7 @@ var ft = function() {
|
|
|
23
23
|
}, r.prototype.toString = function() {
|
|
24
24
|
return "[@pixi/math:Point x=" + this.x + " y=" + this.y + "]";
|
|
25
25
|
}, r;
|
|
26
|
-
}(), nn = [new
|
|
26
|
+
}(), nn = [new lt(), new lt(), new lt(), new lt()], $ = function() {
|
|
27
27
|
function r(e, t, i, n) {
|
|
28
28
|
e === void 0 && (e = 0), t === void 0 && (t = 0), i === void 0 && (i = 0), n === void 0 && (n = 0), this.x = Number(e), this.y = Number(t), this.width = Number(i), this.height = Number(n), this.type = Lt.RECT;
|
|
29
29
|
}
|
|
@@ -229,11 +229,11 @@ var ft = function() {
|
|
|
229
229
|
var i = t || this.array;
|
|
230
230
|
return e ? (i[0] = this.a, i[1] = this.b, i[2] = 0, i[3] = this.c, i[4] = this.d, i[5] = 0, i[6] = this.tx, i[7] = this.ty, i[8] = 1) : (i[0] = this.a, i[1] = this.c, i[2] = this.tx, i[3] = this.b, i[4] = this.d, i[5] = this.ty, i[6] = 0, i[7] = 0, i[8] = 1), i;
|
|
231
231
|
}, r.prototype.apply = function(e, t) {
|
|
232
|
-
t = t || new
|
|
232
|
+
t = t || new lt();
|
|
233
233
|
var i = e.x, n = e.y;
|
|
234
234
|
return t.x = this.a * i + this.c * n + this.tx, t.y = this.b * i + this.d * n + this.ty, t;
|
|
235
235
|
}, r.prototype.applyInverse = function(e, t) {
|
|
236
|
-
t = t || new
|
|
236
|
+
t = t || new lt();
|
|
237
237
|
var i = 1 / (this.a * this.d + this.c * -this.b), n = e.x, s = e.y;
|
|
238
238
|
return t.x = this.d * i * n + -this.c * i * s + (this.ty * this.c - this.tx * this.d) * i, t.y = this.a * i * s + -this.b * i * n + (-this.ty * this.a + this.tx * this.b) * i, t;
|
|
239
239
|
}, r.prototype.translate = function(e, t) {
|
|
@@ -581,16 +581,16 @@ const q = {
|
|
|
581
581
|
];
|
|
582
582
|
function Hf(r) {
|
|
583
583
|
return {
|
|
584
|
-
colorTextDefault:
|
|
585
|
-
colorTextInverse:
|
|
586
|
-
colorTextSubdued:
|
|
587
|
-
colorEdge:
|
|
588
|
-
colorNodeSelection:
|
|
589
|
-
colorButtonBg:
|
|
590
|
-
colorButtonBgHover:
|
|
591
|
-
colorButtonBorder: r != null && r.colorButtonBorder ?
|
|
592
|
-
colorGuideLine:
|
|
593
|
-
colorPlayheadBg:
|
|
584
|
+
colorTextDefault: Qt((r == null ? void 0 : r.colorTextDefault) ?? "#374151"),
|
|
585
|
+
colorTextInverse: Qt((r == null ? void 0 : r.colorTextInverse) ?? "#f8fafc"),
|
|
586
|
+
colorTextSubdued: Qt((r == null ? void 0 : r.colorTextSubdued) ?? "#6b7280"),
|
|
587
|
+
colorEdge: Qt((r == null ? void 0 : r.colorEdge) ?? "#374151"),
|
|
588
|
+
colorNodeSelection: Qt((r == null ? void 0 : r.colorNodeSelection) ?? "#024DFD"),
|
|
589
|
+
colorButtonBg: Qt((r == null ? void 0 : r.colorButtonBg) ?? "#ffffff"),
|
|
590
|
+
colorButtonBgHover: Qt((r == null ? void 0 : r.colorButtonBgHover) ?? "#cbd5e1"),
|
|
591
|
+
colorButtonBorder: r != null && r.colorButtonBorder ? Qt(r.colorButtonBorder) : null,
|
|
592
|
+
colorGuideLine: Qt((r == null ? void 0 : r.colorGuideLine) ?? "#cbd5e1"),
|
|
593
|
+
colorPlayheadBg: Qt((r == null ? void 0 : r.colorPlayheadBg) ?? "#4e82fe"),
|
|
594
594
|
textFontFamilyDefault: (r == null ? void 0 : r.textFontFamilyDefault) ?? "InterVariable",
|
|
595
595
|
textSizeDefault: bt((r == null ? void 0 : r.textSizeDefault) ?? "14px"),
|
|
596
596
|
textSizeSmall: bt((r == null ? void 0 : r.textSizeSmall) ?? "12px"),
|
|
@@ -618,7 +618,7 @@ function Hf(r) {
|
|
|
618
618
|
alphaSubNodesOutlineDimmed: (r == null ? void 0 : r.alphaSubNodesOutlineDimmed) ?? 0.7
|
|
619
619
|
};
|
|
620
620
|
}
|
|
621
|
-
function
|
|
621
|
+
function Qt(r) {
|
|
622
622
|
const e = r.trim();
|
|
623
623
|
if (e.startsWith("rgb")) {
|
|
624
624
|
const [t, i, n] = e.replace(/[^\d,]/g, "").split(",").map((s) => parseInt(s, 10));
|
|
@@ -1125,10 +1125,10 @@ var Xn;
|
|
|
1125
1125
|
(function(r) {
|
|
1126
1126
|
r[r.AUTO = 0] = "AUTO", r[r.MANUAL = 1] = "MANUAL";
|
|
1127
1127
|
})(Xn || (Xn = {}));
|
|
1128
|
-
var
|
|
1128
|
+
var ne;
|
|
1129
1129
|
(function(r) {
|
|
1130
1130
|
r.LOW = "lowp", r.MEDIUM = "mediump", r.HIGH = "highp";
|
|
1131
|
-
})(
|
|
1131
|
+
})(ne || (ne = {}));
|
|
1132
1132
|
var Ot;
|
|
1133
1133
|
(function(r) {
|
|
1134
1134
|
r[r.NONE = 0] = "NONE", r[r.SCISSOR = 1] = "SCISSOR", r[r.STENCIL = 2] = "STENCIL", r[r.SPRITE = 3] = "SPRITE", r[r.COLOR = 4] = "COLOR";
|
|
@@ -1276,8 +1276,8 @@ var G = {
|
|
|
1276
1276
|
GC_MAX_CHECK_COUNT: 60 * 10,
|
|
1277
1277
|
WRAP_MODE: Ge.CLAMP,
|
|
1278
1278
|
SCALE_MODE: Be.LINEAR,
|
|
1279
|
-
PRECISION_VERTEX:
|
|
1280
|
-
PRECISION_FRAGMENT: Le.apple.device ?
|
|
1279
|
+
PRECISION_VERTEX: ne.HIGH,
|
|
1280
|
+
PRECISION_FRAGMENT: Le.apple.device ? ne.HIGH : ne.MEDIUM,
|
|
1281
1281
|
CAN_UPLOAD_SAME_BUFFER: cc(),
|
|
1282
1282
|
CREATE_IMAGE_BITMAP: !1,
|
|
1283
1283
|
ROUND_PIXELS: !1
|
|
@@ -1708,29 +1708,29 @@ var la = { exports: {} };
|
|
|
1708
1708
|
return b(Z + (x + 1) * M / (M + f));
|
|
1709
1709
|
}
|
|
1710
1710
|
function I(M) {
|
|
1711
|
-
var C = [], U = M.length, Z, z = 0, tt = v,
|
|
1711
|
+
var C = [], U = M.length, Z, z = 0, tt = v, ct = d, st, Ct, It, vt, et, at, rt, K, Bt;
|
|
1712
1712
|
for (st = M.lastIndexOf(p), st < 0 && (st = 0), Ct = 0; Ct < st; ++Ct)
|
|
1713
1713
|
M.charCodeAt(Ct) >= 128 && w("not-basic"), C.push(M.charCodeAt(Ct));
|
|
1714
1714
|
for (It = st > 0 ? st + 1 : 0; It < U; ) {
|
|
1715
|
-
for (vt = z, et = 1, at = h; It >= U && w("invalid-input"), rt = B(M.charCodeAt(It++)), (rt >= h || rt > b((o - z) / et)) && w("overflow"), z += rt * et, K = at <=
|
|
1715
|
+
for (vt = z, et = 1, at = h; It >= U && w("invalid-input"), rt = B(M.charCodeAt(It++)), (rt >= h || rt > b((o - z) / et)) && w("overflow"), z += rt * et, K = at <= ct ? u : at >= ct + l ? l : at - ct, !(rt < K); at += h)
|
|
1716
1716
|
Bt = h - K, et > b(o / Bt) && w("overflow"), et *= Bt;
|
|
1717
|
-
Z = C.length + 1,
|
|
1717
|
+
Z = C.length + 1, ct = A(z - vt, Z, vt == 0), b(z / Z) > o - tt && w("overflow"), tt += b(z / Z), z %= Z, C.splice(z++, 0, tt);
|
|
1718
1718
|
}
|
|
1719
1719
|
return N(C);
|
|
1720
1720
|
}
|
|
1721
1721
|
function F(M) {
|
|
1722
|
-
var C, U, Z, z, tt,
|
|
1723
|
-
for (M = O(M), rt = M.length, C = v, U = 0, tt = d,
|
|
1724
|
-
et = M[
|
|
1722
|
+
var C, U, Z, z, tt, ct, st, Ct, It, vt, et, at = [], rt, K, Bt, Wt;
|
|
1723
|
+
for (M = O(M), rt = M.length, C = v, U = 0, tt = d, ct = 0; ct < rt; ++ct)
|
|
1724
|
+
et = M[ct], et < 128 && at.push(T(et));
|
|
1725
1725
|
for (Z = z = at.length, z && at.push(p); Z < rt; ) {
|
|
1726
|
-
for (st = o,
|
|
1727
|
-
et = M[
|
|
1728
|
-
for (K = Z + 1, st - C > b((o - U) / K) && w("overflow"), U += (st - C) * K, C = st,
|
|
1729
|
-
if (et = M[
|
|
1726
|
+
for (st = o, ct = 0; ct < rt; ++ct)
|
|
1727
|
+
et = M[ct], et >= C && et < st && (st = et);
|
|
1728
|
+
for (K = Z + 1, st - C > b((o - U) / K) && w("overflow"), U += (st - C) * K, C = st, ct = 0; ct < rt; ++ct)
|
|
1729
|
+
if (et = M[ct], et < C && ++U > o && w("overflow"), et == C) {
|
|
1730
1730
|
for (Ct = U, It = h; vt = It <= tt ? u : It >= tt + l ? l : It - tt, !(Ct < vt); It += h)
|
|
1731
|
-
|
|
1732
|
-
T(L(vt +
|
|
1733
|
-
), Ct = b(
|
|
1731
|
+
Wt = Ct - vt, Bt = h - vt, at.push(
|
|
1732
|
+
T(L(vt + Wt % Bt, 0))
|
|
1733
|
+
), Ct = b(Wt / Bt);
|
|
1734
1734
|
at.push(T(L(Ct, 0))), tt = A(U, K, Z == z), U = 0, ++Z;
|
|
1735
1735
|
}
|
|
1736
1736
|
++U, ++C;
|
|
@@ -2636,7 +2636,7 @@ Pt.prototype.displayObjectUpdateTransform = Pt.prototype.updateTransform;
|
|
|
2636
2636
|
function Wv(r, e) {
|
|
2637
2637
|
return r.zIndex === e.zIndex ? r._lastSortedIndex - e._lastSortedIndex : r.zIndex - e.zIndex;
|
|
2638
2638
|
}
|
|
2639
|
-
var
|
|
2639
|
+
var ft = function(r) {
|
|
2640
2640
|
po(e, r);
|
|
2641
2641
|
function e() {
|
|
2642
2642
|
var t = r.call(this) || this;
|
|
@@ -2810,7 +2810,7 @@ var ct = function(r) {
|
|
|
2810
2810
|
configurable: !0
|
|
2811
2811
|
}), e;
|
|
2812
2812
|
}(Pt);
|
|
2813
|
-
|
|
2813
|
+
ft.prototype.containerUpdateTransform = ft.prototype.updateTransform;
|
|
2814
2814
|
var Or = function() {
|
|
2815
2815
|
return Or = Object.assign || function(e) {
|
|
2816
2816
|
for (var t = arguments, i, n = 1, s = arguments.length; n < s; n++) {
|
|
@@ -2887,7 +2887,7 @@ var uh = function(r) {
|
|
|
2887
2887
|
});
|
|
2888
2888
|
}
|
|
2889
2889
|
};
|
|
2890
|
-
var
|
|
2890
|
+
var Ut = function() {
|
|
2891
2891
|
function r(e) {
|
|
2892
2892
|
this.items = [], this._name = e, this._aliasCount = 0;
|
|
2893
2893
|
}
|
|
@@ -2926,15 +2926,15 @@ var kt = function() {
|
|
|
2926
2926
|
configurable: !0
|
|
2927
2927
|
}), r;
|
|
2928
2928
|
}();
|
|
2929
|
-
Object.defineProperties(
|
|
2930
|
-
dispatch: { value:
|
|
2931
|
-
run: { value:
|
|
2929
|
+
Object.defineProperties(Ut.prototype, {
|
|
2930
|
+
dispatch: { value: Ut.prototype.emit },
|
|
2931
|
+
run: { value: Ut.prototype.emit }
|
|
2932
2932
|
});
|
|
2933
2933
|
G.TARGET_FPMS = 0.06;
|
|
2934
|
-
var
|
|
2934
|
+
var ae;
|
|
2935
2935
|
(function(r) {
|
|
2936
2936
|
r[r.INTERACTION = 50] = "INTERACTION", r[r.HIGH = 25] = "HIGH", r[r.NORMAL = 0] = "NORMAL", r[r.LOW = -25] = "LOW", r[r.UTILITY = -50] = "UTILITY";
|
|
2937
|
-
})(
|
|
2937
|
+
})(ae || (ae = {}));
|
|
2938
2938
|
var xs = function() {
|
|
2939
2939
|
function r(e, t, i, n) {
|
|
2940
2940
|
t === void 0 && (t = null), i === void 0 && (i = 0), n === void 0 && (n = !1), this.next = null, this.previous = null, this._destroyed = !1, this.fn = e, this.context = t, this.priority = i, this.once = n;
|
|
@@ -2952,7 +2952,7 @@ var xs = function() {
|
|
|
2952
2952
|
var t = this.next;
|
|
2953
2953
|
return this.next = e ? null : t, this.previous = null, t;
|
|
2954
2954
|
}, r;
|
|
2955
|
-
}(),
|
|
2955
|
+
}(), kt = function() {
|
|
2956
2956
|
function r() {
|
|
2957
2957
|
var e = this;
|
|
2958
2958
|
this.autoStart = !1, this.deltaTime = 1, this.lastTime = -1, this.speed = 1, this.started = !1, this._requestId = null, this._maxElapsedMS = 100, this._minElapsedMS = 0, this._protected = !1, this._lastFrame = -1, this._head = new xs(null, null, 1 / 0), this.deltaMS = 1 / G.TARGET_FPMS, this.elapsedMS = 1 / G.TARGET_FPMS, this._tick = function(t) {
|
|
@@ -2966,9 +2966,9 @@ var xs = function() {
|
|
|
2966
2966
|
}, r.prototype._startIfPossible = function() {
|
|
2967
2967
|
this.started ? this._requestIfNeeded() : this.autoStart && this.start();
|
|
2968
2968
|
}, r.prototype.add = function(e, t, i) {
|
|
2969
|
-
return i === void 0 && (i =
|
|
2969
|
+
return i === void 0 && (i = ae.NORMAL), this._addListener(new xs(e, t, i));
|
|
2970
2970
|
}, r.prototype.addOnce = function(e, t, i) {
|
|
2971
|
-
return i === void 0 && (i =
|
|
2971
|
+
return i === void 0 && (i = ae.NORMAL), this._addListener(new xs(e, t, i, !0));
|
|
2972
2972
|
}, r.prototype._addListener = function(e) {
|
|
2973
2973
|
var t = this._head.next, i = this._head;
|
|
2974
2974
|
if (!t)
|
|
@@ -3087,7 +3087,7 @@ var xs = function() {
|
|
|
3087
3087
|
sharedTicker: !1
|
|
3088
3088
|
}, e), Object.defineProperty(this, "ticker", {
|
|
3089
3089
|
set: function(i) {
|
|
3090
|
-
this._ticker && this._ticker.remove(this.render, this), this._ticker = i, i && i.add(this.render, this,
|
|
3090
|
+
this._ticker && this._ticker.remove(this.render, this), this._ticker = i, i && i.add(this.render, this, ae.LOW);
|
|
3091
3091
|
},
|
|
3092
3092
|
get: function() {
|
|
3093
3093
|
return this._ticker;
|
|
@@ -3096,7 +3096,7 @@ var xs = function() {
|
|
|
3096
3096
|
t._ticker.stop();
|
|
3097
3097
|
}, this.start = function() {
|
|
3098
3098
|
t._ticker.start();
|
|
3099
|
-
}, this._ticker = null, this.ticker = e.sharedTicker ?
|
|
3099
|
+
}, this._ticker = null, this.ticker = e.sharedTicker ? kt.shared : new kt(), e.autoStart && this.start();
|
|
3100
3100
|
}, r.destroy = function() {
|
|
3101
3101
|
if (this._ticker) {
|
|
3102
3102
|
var e = this._ticker;
|
|
@@ -3158,7 +3158,7 @@ function zv(r, e) {
|
|
|
3158
3158
|
}
|
|
3159
3159
|
var Ur = function() {
|
|
3160
3160
|
function r(e, t) {
|
|
3161
|
-
e === void 0 && (e = 0), t === void 0 && (t = 0), this._width = e, this._height = t, this.destroyed = !1, this.internal = !1, this.onResize = new
|
|
3161
|
+
e === void 0 && (e = 0), t === void 0 && (t = 0), this._width = e, this._height = t, this.destroyed = !1, this.internal = !1, this.onResize = new Ut("setRealSize"), this.onUpdate = new Ut("update"), this.onError = new Ut("onError");
|
|
3162
3162
|
}
|
|
3163
3163
|
return r.prototype.bind = function(e) {
|
|
3164
3164
|
this.onResize.add(e), this.onUpdate.add(e), this.onError.add(e), (this._width || this._height) && this.onResize.emit(this._width, this._height);
|
|
@@ -3603,7 +3603,7 @@ var Ur = function() {
|
|
|
3603
3603
|
}
|
|
3604
3604
|
return e.prototype.update = function(t) {
|
|
3605
3605
|
if (!this.destroyed) {
|
|
3606
|
-
var i =
|
|
3606
|
+
var i = kt.shared.elapsedMS * this.source.playbackRate;
|
|
3607
3607
|
this._msToNextUpdate = Math.floor(this._msToNextUpdate - i), (!this._updateFPS || this._msToNextUpdate <= 0) && (r.prototype.update.call(this), this._msToNextUpdate = this._updateFPS ? Math.floor(1e3 / this._updateFPS) : 0);
|
|
3608
3608
|
}
|
|
3609
3609
|
}, e.prototype.load = function() {
|
|
@@ -3623,16 +3623,16 @@ var Ur = function() {
|
|
|
3623
3623
|
var t = this.source;
|
|
3624
3624
|
return t.readyState > 2;
|
|
3625
3625
|
}, e.prototype._onPlayStart = function() {
|
|
3626
|
-
this.valid || this._onCanPlay(), this.autoUpdate && !this._isConnectedToTicker && (
|
|
3626
|
+
this.valid || this._onCanPlay(), this.autoUpdate && !this._isConnectedToTicker && (kt.shared.add(this.update, this), this._isConnectedToTicker = !0);
|
|
3627
3627
|
}, e.prototype._onPlayStop = function() {
|
|
3628
|
-
this._isConnectedToTicker && (
|
|
3628
|
+
this._isConnectedToTicker && (kt.shared.remove(this.update, this), this._isConnectedToTicker = !1);
|
|
3629
3629
|
}, e.prototype._onCanPlay = function() {
|
|
3630
3630
|
var t = this.source;
|
|
3631
3631
|
t.removeEventListener("canplay", this._onCanPlay), t.removeEventListener("canplaythrough", this._onCanPlay);
|
|
3632
3632
|
var i = this.valid;
|
|
3633
3633
|
this.resize(t.videoWidth, t.videoHeight), !i && this._resolve && (this._resolve(this), this._resolve = null), this._isSourcePlaying() ? this._onPlayStart() : this.autoPlay && t.play();
|
|
3634
3634
|
}, e.prototype.dispose = function() {
|
|
3635
|
-
this._isConnectedToTicker && (
|
|
3635
|
+
this._isConnectedToTicker && (kt.shared.remove(this.update, this), this._isConnectedToTicker = !1);
|
|
3636
3636
|
var t = this.source;
|
|
3637
3637
|
t && (t.removeEventListener("error", this._onError, !0), t.pause(), t.src = "", t.load()), r.prototype.dispose.call(this);
|
|
3638
3638
|
}, Object.defineProperty(e.prototype, "autoUpdate", {
|
|
@@ -3640,7 +3640,7 @@ var Ur = function() {
|
|
|
3640
3640
|
return this._autoUpdate;
|
|
3641
3641
|
},
|
|
3642
3642
|
set: function(t) {
|
|
3643
|
-
t !== this._autoUpdate && (this._autoUpdate = t, !this._autoUpdate && this._isConnectedToTicker ? (
|
|
3643
|
+
t !== this._autoUpdate && (this._autoUpdate = t, !this._autoUpdate && this._isConnectedToTicker ? (kt.shared.remove(this.update, this), this._isConnectedToTicker = !1) : this._autoUpdate && !this._isConnectedToTicker && this._isSourcePlaying() && (kt.shared.add(this.update, this), this._isConnectedToTicker = !0));
|
|
3644
3644
|
},
|
|
3645
3645
|
enumerable: !1,
|
|
3646
3646
|
configurable: !0
|
|
@@ -3683,7 +3683,7 @@ var Qv = function(r) {
|
|
|
3683
3683
|
}, e;
|
|
3684
3684
|
}(Jr), ya = function() {
|
|
3685
3685
|
function r(e, t) {
|
|
3686
|
-
this.width = Math.round(e || 100), this.height = Math.round(t || 100), this.stencil = !1, this.depth = !1, this.dirtyId = 0, this.dirtyFormat = 0, this.dirtySize = 0, this.depthTexture = null, this.colorTextures = [], this.glFramebuffers = {}, this.disposeRunner = new
|
|
3686
|
+
this.width = Math.round(e || 100), this.height = Math.round(t || 100), this.stencil = !1, this.depth = !1, this.dirtyId = 0, this.dirtyFormat = 0, this.dirtySize = 0, this.depthTexture = null, this.colorTextures = [], this.glFramebuffers = {}, this.disposeRunner = new Ut("disposeFramebuffer"), this.multisample = Tt.NONE;
|
|
3687
3687
|
}
|
|
3688
3688
|
return Object.defineProperty(r.prototype, "colorTexture", {
|
|
3689
3689
|
get: function() {
|
|
@@ -3779,7 +3779,7 @@ var Y = function(r) {
|
|
|
3779
3779
|
h._rotate = 2;
|
|
3780
3780
|
else if (h._rotate % 2 !== 0)
|
|
3781
3781
|
throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");
|
|
3782
|
-
return h.defaultAnchor = o ? new
|
|
3782
|
+
return h.defaultAnchor = o ? new lt(o.x, o.y) : new lt(0, 0), h._updateID = 0, h.textureCacheIds = [], t.valid ? h.noFrame ? t.valid && h.onBaseTextureUpdated(t) : h.frame = i : t.once("loaded", h.onBaseTextureUpdated, h), h.noFrame && t.on("update", h.onBaseTextureUpdated, h), h;
|
|
3783
3783
|
}
|
|
3784
3784
|
return e.prototype.update = function() {
|
|
3785
3785
|
this.baseTexture.resource && this.baseTexture.resource.update();
|
|
@@ -4021,7 +4021,7 @@ var Y = function(r) {
|
|
|
4021
4021
|
}, r;
|
|
4022
4022
|
}(), e_ = 0, Dt = function() {
|
|
4023
4023
|
function r(e, t, i) {
|
|
4024
|
-
t === void 0 && (t = !0), i === void 0 && (i = !1), this.data = e || new Float32Array(1), this._glBuffers = {}, this._updateID = 0, this.index = i, this.static = t, this.id = e_++, this.disposeRunner = new
|
|
4024
|
+
t === void 0 && (t = !0), i === void 0 && (i = !1), this.data = e || new Float32Array(1), this._glBuffers = {}, this._updateID = 0, this.index = i, this.static = t, this.id = e_++, this.disposeRunner = new Ut("disposeBuffer");
|
|
4025
4025
|
}
|
|
4026
4026
|
return r.prototype.update = function(e) {
|
|
4027
4027
|
e instanceof Array && (e = new Float32Array(e)), this.data = e || this.data, this._updateID++;
|
|
@@ -4069,7 +4069,7 @@ var ch = { 5126: 4, 5123: 2, 5121: 1 }, n_ = 0, s_ = {
|
|
|
4069
4069
|
Uint16Array
|
|
4070
4070
|
}, Qr = function() {
|
|
4071
4071
|
function r(e, t) {
|
|
4072
|
-
e === void 0 && (e = []), t === void 0 && (t = {}), this.buffers = e, this.indexBuffer = null, this.attributes = t, this.glVertexArrayObjects = {}, this.id = n_++, this.instanced = !1, this.instanceCount = 1, this.disposeRunner = new
|
|
4072
|
+
e === void 0 && (e = []), t === void 0 && (t = {}), this.buffers = e, this.indexBuffer = null, this.attributes = t, this.glVertexArrayObjects = {}, this.id = n_++, this.instanced = !1, this.instanceCount = 1, this.disposeRunner = new Ut("disposeGeometry"), this.refCount = 0;
|
|
4073
4073
|
}
|
|
4074
4074
|
return r.prototype.addAttribute = function(e, t, i, n, s, a, o, h) {
|
|
4075
4075
|
if (i === void 0 && (i = 0), n === void 0 && (n = !1), h === void 0 && (h = !1), !t)
|
|
@@ -4221,7 +4221,7 @@ var ch = { 5126: 4, 5123: 2, 5121: 1 }, n_ = 0, s_ = {
|
|
|
4221
4221
|
return r.prototype.clear = function() {
|
|
4222
4222
|
this.target = null, this.filters = null, this.renderTexture = null;
|
|
4223
4223
|
}, r;
|
|
4224
|
-
}(), fn = [new
|
|
4224
|
+
}(), fn = [new lt(), new lt(), new lt(), new lt()], Ts = new Ft(), u_ = function() {
|
|
4225
4225
|
function r(e) {
|
|
4226
4226
|
this.renderer = e, this.defaultFilterStack = [{}], this.texturePool = new t_(), this.texturePool.setScreenSize(e.view), this.statePool = [], this.quad = new a_(), this.quadUv = new Gu(), this.tempRect = new $(), this.activeState = {}, this.globalUniforms = new Ni({
|
|
4227
4227
|
outputFrame: new $(),
|
|
@@ -4832,11 +4832,11 @@ function m_() {
|
|
|
4832
4832
|
var cn;
|
|
4833
4833
|
function y_() {
|
|
4834
4834
|
if (!cn) {
|
|
4835
|
-
cn =
|
|
4835
|
+
cn = ne.MEDIUM;
|
|
4836
4836
|
var r = m_();
|
|
4837
4837
|
if (r && r.getShaderPrecisionFormat) {
|
|
4838
4838
|
var e = r.getShaderPrecisionFormat(r.FRAGMENT_SHADER, r.HIGH_FLOAT);
|
|
4839
|
-
cn = e.precision ?
|
|
4839
|
+
cn = e.precision ? ne.HIGH : ne.MEDIUM;
|
|
4840
4840
|
}
|
|
4841
4841
|
}
|
|
4842
4842
|
return cn;
|
|
@@ -4844,9 +4844,9 @@ function y_() {
|
|
|
4844
4844
|
function _h(r, e, t) {
|
|
4845
4845
|
if (r.substring(0, 9) !== "precision") {
|
|
4846
4846
|
var i = e;
|
|
4847
|
-
return e ===
|
|
4847
|
+
return e === ne.HIGH && t !== ne.HIGH && (i = ne.MEDIUM), "precision " + i + ` float;
|
|
4848
4848
|
` + r;
|
|
4849
|
-
} else if (t !==
|
|
4849
|
+
} else if (t !== ne.HIGH && r.substring(0, 15) === "precision highp")
|
|
4850
4850
|
return r.replace("precision highp", "precision mediump");
|
|
4851
4851
|
return r;
|
|
4852
4852
|
}
|
|
@@ -5345,7 +5345,7 @@ void main(void){
|
|
|
5345
5345
|
function r(e, t, i) {
|
|
5346
5346
|
i === void 0 && (i = "pixi-shader"), this.id = A_++, this.vertexSrc = e || r.defaultVertexSrc, this.fragmentSrc = t || r.defaultFragmentSrc, this.vertexSrc = this.vertexSrc.trim(), this.fragmentSrc = this.fragmentSrc.trim(), this.vertexSrc.substring(0, 8) !== "#version" && (i = i.replace(/\s+/g, "-"), pn[i] ? (pn[i]++, i += "-" + pn[i]) : pn[i] = 1, this.vertexSrc = "#define SHADER_NAME " + i + `
|
|
5347
5347
|
` + this.vertexSrc, this.fragmentSrc = "#define SHADER_NAME " + i + `
|
|
5348
|
-
` + this.fragmentSrc, this.vertexSrc = _h(this.vertexSrc, G.PRECISION_VERTEX,
|
|
5348
|
+
` + this.fragmentSrc, this.vertexSrc = _h(this.vertexSrc, G.PRECISION_VERTEX, ne.HIGH), this.fragmentSrc = _h(this.fragmentSrc, G.PRECISION_FRAGMENT, y_())), this.glPrograms = {}, this.syncUniforms = null;
|
|
5349
5349
|
}
|
|
5350
5350
|
return Object.defineProperty(r, "defaultVertexSrc", {
|
|
5351
5351
|
get: function() {
|
|
@@ -5365,7 +5365,7 @@ void main(void){
|
|
|
5365
5365
|
}, r;
|
|
5366
5366
|
}(), hi = function() {
|
|
5367
5367
|
function r(e, t) {
|
|
5368
|
-
this.uniformBindCount = 0, this.program = e, t ? t instanceof Ni ? this.uniformGroup = t : this.uniformGroup = new Ni(t) : this.uniformGroup = new Ni({}), this.disposeRunner = new
|
|
5368
|
+
this.uniformBindCount = 0, this.program = e, t ? t instanceof Ni ? this.uniformGroup = t : this.uniformGroup = new Ni(t) : this.uniformGroup = new Ni({}), this.disposeRunner = new Ut("disposeShader");
|
|
5369
5369
|
}
|
|
5370
5370
|
return r.prototype.checkUniformExists = function(e, t) {
|
|
5371
5371
|
if (t.uniforms[e])
|
|
@@ -6410,13 +6410,13 @@ var Is = function() {
|
|
|
6410
6410
|
function e(t) {
|
|
6411
6411
|
var i = r.call(this, Dr.WEBGL, t) || this;
|
|
6412
6412
|
return t = i.options, i.gl = null, i.CONTEXT_UID = 0, i.runners = {
|
|
6413
|
-
destroy: new
|
|
6414
|
-
contextChange: new
|
|
6415
|
-
reset: new
|
|
6416
|
-
update: new
|
|
6417
|
-
postrender: new
|
|
6418
|
-
prerender: new
|
|
6419
|
-
resize: new
|
|
6413
|
+
destroy: new Ut("destroy"),
|
|
6414
|
+
contextChange: new Ut("contextChange"),
|
|
6415
|
+
reset: new Ut("reset"),
|
|
6416
|
+
update: new Ut("update"),
|
|
6417
|
+
postrender: new Ut("postrender"),
|
|
6418
|
+
prerender: new Ut("prerender"),
|
|
6419
|
+
resize: new Ut("resize")
|
|
6420
6420
|
}, i.runners.contextChange.add(i), i.globalUniforms = new Ni({
|
|
6421
6421
|
projectionMatrix: new Ft()
|
|
6422
6422
|
}, !0), i.addSystem(B_, "mask").addSystem(f_, "context").addSystem(sg, "state").addSystem($_, "shader").addSystem(hg, "texture").addSystem(fg, "buffer").addSystem(v_, "geometry").addSystem(p_, "framebuffer").addSystem(L_, "scissor").addSystem(G_, "stencil").addSystem(U_, "projection").addSystem(ag, "textureGC").addSystem(u_, "filter").addSystem(k_, "renderTexture").addSystem(l_, "batch"), i.initPlugins(e.__plugins), i.multisample = void 0, t.context ? i.context.initFromContext(t.context) : i.context.initFromOptions({
|
|
@@ -6896,7 +6896,7 @@ var bg = 9, _n = 100, xg = 0, Tg = 0, Eh = 2, Sh = 1, Eg = -1e3, Sg = -1e3, wg =
|
|
|
6896
6896
|
}();
|
|
6897
6897
|
var wh = function() {
|
|
6898
6898
|
function r() {
|
|
6899
|
-
this.pressure = 0, this.rotationAngle = 0, this.twist = 0, this.tangentialPressure = 0, this.global = new
|
|
6899
|
+
this.pressure = 0, this.rotationAngle = 0, this.twist = 0, this.tangentialPressure = 0, this.global = new lt(), this.target = null, this.originalEvent = null, this.identifier = null, this.isPrimary = !1, this.button = 0, this.buttons = 0, this.width = 0, this.height = 0, this.tiltX = 0, this.tiltY = 0, this.pointerType = null, this.pressure = 0, this.rotationAngle = 0, this.twist = 0, this.tangentialPressure = 0;
|
|
6900
6900
|
}
|
|
6901
6901
|
return Object.defineProperty(r.prototype, "pointerId", {
|
|
6902
6902
|
get: function() {
|
|
@@ -7000,7 +7000,7 @@ var Cg = function() {
|
|
|
7000
7000
|
}), r;
|
|
7001
7001
|
}(), Og = function() {
|
|
7002
7002
|
function r() {
|
|
7003
|
-
this._tempPoint = new
|
|
7003
|
+
this._tempPoint = new lt();
|
|
7004
7004
|
}
|
|
7005
7005
|
return r.prototype.recursiveFindHit = function(e, t, i, n, s) {
|
|
7006
7006
|
var a;
|
|
@@ -7079,9 +7079,9 @@ var gn = 1, mn = {
|
|
|
7079
7079
|
}, e.prototype.setTargetElement = function(t, i) {
|
|
7080
7080
|
i === void 0 && (i = 1), this.removeTickerListener(), this.removeEvents(), this.interactionDOMElement = t, this.resolution = i, this.addEvents(), this.addTickerListener();
|
|
7081
7081
|
}, e.prototype.addTickerListener = function() {
|
|
7082
|
-
this.tickerAdded || !this.interactionDOMElement || !this._useSystemTicker || (
|
|
7082
|
+
this.tickerAdded || !this.interactionDOMElement || !this._useSystemTicker || (kt.system.add(this.tickerUpdate, this, ae.INTERACTION), this.tickerAdded = !0);
|
|
7083
7083
|
}, e.prototype.removeTickerListener = function() {
|
|
7084
|
-
this.tickerAdded && (
|
|
7084
|
+
this.tickerAdded && (kt.system.remove(this.tickerUpdate, this), this.tickerAdded = !1);
|
|
7085
7085
|
}, e.prototype.addEvents = function() {
|
|
7086
7086
|
if (!(this.eventsAdded || !this.interactionDOMElement)) {
|
|
7087
7087
|
var t = this.interactionDOMElement.style;
|
|
@@ -8487,7 +8487,7 @@ function Ju(r, e) {
|
|
|
8487
8487
|
}, e.prototype.destroy = function(t) {
|
|
8488
8488
|
r.prototype.destroy.call(this, t), this.dispose(), this._properties = null, this._buffers = null, this._bufferUpdateIDs = null;
|
|
8489
8489
|
}, e;
|
|
8490
|
-
})(
|
|
8490
|
+
})(ft);
|
|
8491
8491
|
var Fh = function() {
|
|
8492
8492
|
function r(e, t, i) {
|
|
8493
8493
|
this.geometry = new Qr(), this.indexBuffer = null, this.size = i, this.dynamicProperties = [], this.staticProperties = [];
|
|
@@ -8882,7 +8882,7 @@ function xi(r, e, t, i, n, s, a, o) {
|
|
|
8882
8882
|
function Pm(r, e) {
|
|
8883
8883
|
var t = r.shape, i = r.points || t.points.slice(), n = e.closePointEps;
|
|
8884
8884
|
if (i.length !== 0) {
|
|
8885
|
-
var s = r.lineStyle, a = new
|
|
8885
|
+
var s = r.lineStyle, a = new lt(i[0], i[1]), o = new lt(i[i.length - 2], i[i.length - 1]), h = t.type !== Lt.POLY || t.closeStroke, u = Math.abs(a.x - o.x) < n && Math.abs(a.y - o.y) < n;
|
|
8886
8886
|
if (h) {
|
|
8887
8887
|
i = i.slice(), u && (i.pop(), i.pop(), o.set(i[i.length - 2], i[i.length - 1]));
|
|
8888
8888
|
var l = (a.x + o.x) * 0.5, f = (o.y + a.y) * 0.5;
|
|
@@ -8899,12 +8899,12 @@ function Pm(r, e) {
|
|
|
8899
8899
|
c.push(b - S * A, T - R * A), c.push(b + S * I, T + R * I), U >= 0 && (s.join === qe.ROUND ? v += xi(b, T, b - S * A, T - R * A, b - O * A, T - N * A, c, !1) + 4 : v += 2, c.push(b - O * I, T - N * I), c.push(b + O * A, T + N * A));
|
|
8900
8900
|
continue;
|
|
8901
8901
|
}
|
|
8902
|
-
var tt = (-S + y) * (-R + T) - (-S + b) * (-R + x),
|
|
8902
|
+
var tt = (-S + y) * (-R + T) - (-S + b) * (-R + x), ct = (-O + E) * (-N + T) - (-O + b) * (-N + w), st = (V * ct - M * tt) / Z, Ct = (C * tt - W * ct) / Z, It = (st - b) * (st - b) + (Ct - T) * (Ct - T), vt = b + (st - b) * A, et = T + (Ct - T) * A, at = b - (st - b) * I, rt = T - (Ct - T) * I, K = Math.min(V * V + W * W, M * M + C * C), Bt = z ? A : I, Wt = K + Bt * Bt * g, k = It <= Wt;
|
|
8903
8903
|
k ? s.join === qe.BEVEL || It / g > m ? (z ? (c.push(vt, et), c.push(b + S * I, T + R * I), c.push(vt, et), c.push(b + O * I, T + N * I)) : (c.push(b - S * A, T - R * A), c.push(at, rt), c.push(b - O * A, T - N * A), c.push(at, rt)), v += 2) : s.join === qe.ROUND ? z ? (c.push(vt, et), c.push(b + S * I, T + R * I), v += xi(b, T, b + S * I, T + R * I, b + O * I, T + N * I, c, !0) + 4, c.push(vt, et), c.push(b + O * I, T + N * I)) : (c.push(b - S * A, T - R * A), c.push(at, rt), v += xi(b, T, b - S * A, T - R * A, b - O * A, T - N * A, c, !1) + 4, c.push(b - O * A, T - N * A), c.push(at, rt)) : (c.push(vt, et), c.push(at, rt)) : (c.push(b - S * A, T - R * A), c.push(b + S * I, T + R * I), s.join === qe.ROUND ? z ? v += xi(b, T, b + S * I, T + R * I, b + O * I, T + N * I, c, !0) + 2 : v += xi(b, T, b - S * A, T - R * A, b - O * A, T - N * A, c, !1) + 2 : s.join === qe.MITER && It / g <= m && (z ? (c.push(at, rt), c.push(at, rt)) : (c.push(vt, et), c.push(vt, et)), v += 2), c.push(b - O * A, T - N * A), c.push(b + O * I, T + N * I), v += 2);
|
|
8904
8904
|
}
|
|
8905
8905
|
y = i[(d - 2) * 2], x = i[(d - 2) * 2 + 1], b = i[(d - 1) * 2], T = i[(d - 1) * 2 + 1], S = -(x - T), R = y - b, B = Math.sqrt(S * S + R * R), S /= B, R /= B, S *= _, R *= _, c.push(b - S * A, T - R * A), c.push(b + S * I, T + R * I), h || (s.cap === ni.ROUND ? v += xi(b - S * (A - I) * 0.5, T - R * (A - I) * 0.5, b - S * A, T - R * A, b + S * I, T + R * I, c, !1) + 2 : s.cap === ni.SQUARE && (v += Lh(b, T, S, R, A, I, !1, c)));
|
|
8906
|
-
for (var
|
|
8907
|
-
y = c[F * 2], x = c[F * 2 + 1], b = c[(F + 1) * 2], T = c[(F + 1) * 2 + 1], E = c[(F + 2) * 2], w = c[(F + 2) * 2 + 1], !(Math.abs(y * (T - w) + b * (w - x) + E * (x - T)) <
|
|
8906
|
+
for (var dt = e.indices, Vt = kr.epsilon * kr.epsilon, F = p; F < v + p - 2; ++F)
|
|
8907
|
+
y = c[F * 2], x = c[F * 2 + 1], b = c[(F + 1) * 2], T = c[(F + 1) * 2 + 1], E = c[(F + 2) * 2], w = c[(F + 2) * 2 + 1], !(Math.abs(y * (T - w) + b * (w - x) + E * (x - T)) < Vt) && dt.push(F, F + 1, F + 2);
|
|
8908
8908
|
}
|
|
8909
8909
|
}
|
|
8910
8910
|
function Cm(r, e) {
|
|
@@ -8988,7 +8988,7 @@ var Uh = function() {
|
|
|
8988
8988
|
}, r.prototype.destroy = function() {
|
|
8989
8989
|
this.shape = null, this.holes.length = 0, this.holes = null, this.points.length = 0, this.points = null, this.lineStyle = null, this.fillStyle = null;
|
|
8990
8990
|
}, r;
|
|
8991
|
-
}(), Yi = new
|
|
8991
|
+
}(), Yi = new lt(), Nm = function(r) {
|
|
8992
8992
|
_o(e, r);
|
|
8993
8993
|
function e() {
|
|
8994
8994
|
var t = r.call(this) || this;
|
|
@@ -9414,8 +9414,8 @@ var Uh = function() {
|
|
|
9414
9414
|
return this.finishPoly(), this._holeMode = !1, this;
|
|
9415
9415
|
}, e.prototype.destroy = function(t) {
|
|
9416
9416
|
this._geometry.refCount--, this._geometry.refCount === 0 && this._geometry.dispose(), this._matrix = null, this.currentPath = null, this._lineStyle.destroy(), this._lineStyle = null, this._fillStyle.destroy(), this._fillStyle = null, this._geometry = null, this.shader = null, this.vertexData = null, this.batches.length = 0, this.batches = null, r.prototype.destroy.call(this, t);
|
|
9417
|
-
}, e.nextRoundedRectBehavior = !1, e._TEMP_POINT = new
|
|
9418
|
-
}(
|
|
9417
|
+
}, e.nextRoundedRectBehavior = !1, e._TEMP_POINT = new lt(), e;
|
|
9418
|
+
}(ft);
|
|
9419
9419
|
var Aa = function(r, e) {
|
|
9420
9420
|
return Aa = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
9421
9421
|
t.__proto__ = i;
|
|
@@ -9431,7 +9431,7 @@ function Fm(r, e) {
|
|
|
9431
9431
|
}
|
|
9432
9432
|
r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
9433
9433
|
}
|
|
9434
|
-
var Er = new
|
|
9434
|
+
var Er = new lt(), Bm = new Uint16Array([0, 1, 2, 0, 2, 3]), ht = function(r) {
|
|
9435
9435
|
Fm(e, r);
|
|
9436
9436
|
function e(t) {
|
|
9437
9437
|
var i = r.call(this) || this;
|
|
@@ -9537,7 +9537,7 @@ var Er = new ft(), Bm = new Uint16Array([0, 1, 2, 0, 2, 3]), ut = function(r) {
|
|
|
9537
9537
|
enumerable: !1,
|
|
9538
9538
|
configurable: !0
|
|
9539
9539
|
}), e;
|
|
9540
|
-
}(
|
|
9540
|
+
}(ft);
|
|
9541
9541
|
var Ia = function(r, e) {
|
|
9542
9542
|
return Ia = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
9543
9543
|
t.__proto__ = i;
|
|
@@ -10248,7 +10248,7 @@ var km = {
|
|
|
10248
10248
|
enumerable: !1,
|
|
10249
10249
|
configurable: !0
|
|
10250
10250
|
}), e.nextLineHeightBehavior = !1, e.experimentalLetterSpacing = !1, e;
|
|
10251
|
-
}(
|
|
10251
|
+
}(ht);
|
|
10252
10252
|
G.UPLOADS_PER_FRAME = 4;
|
|
10253
10253
|
var Na = function(r, e) {
|
|
10254
10254
|
return Na = Object.setPrototypeOf || { __proto__: [] } instanceof Array && function(t, i) {
|
|
@@ -10335,7 +10335,7 @@ var qm = function() {
|
|
|
10335
10335
|
var s = function() {
|
|
10336
10336
|
t == null || t(), n();
|
|
10337
10337
|
};
|
|
10338
|
-
i.queue.length ? (i.completes.push(s), i.ticking || (i.ticking = !0,
|
|
10338
|
+
i.queue.length ? (i.completes.push(s), i.ticking || (i.ticking = !0, kt.system.addOnce(i.tick, i, ae.UTILITY))) : s();
|
|
10339
10339
|
});
|
|
10340
10340
|
}, r.prototype.tick = function() {
|
|
10341
10341
|
setTimeout(this.delayedTick, 0);
|
|
@@ -10352,7 +10352,7 @@ var qm = function() {
|
|
|
10352
10352
|
t || this.queue.shift();
|
|
10353
10353
|
}
|
|
10354
10354
|
if (this.queue.length)
|
|
10355
|
-
|
|
10355
|
+
kt.system.addOnce(this.tick, this, ae.UTILITY);
|
|
10356
10356
|
else {
|
|
10357
10357
|
this.ticking = !1;
|
|
10358
10358
|
var s = this.completes.slice(0);
|
|
@@ -10367,12 +10367,12 @@ var qm = function() {
|
|
|
10367
10367
|
}, r.prototype.add = function(e) {
|
|
10368
10368
|
for (var t = 0, i = this.addHooks.length; t < i && !this.addHooks[t](e, this.queue); t++)
|
|
10369
10369
|
;
|
|
10370
|
-
if (e instanceof
|
|
10370
|
+
if (e instanceof ft)
|
|
10371
10371
|
for (var t = e.children.length - 1; t >= 0; t--)
|
|
10372
10372
|
this.add(e.children[t]);
|
|
10373
10373
|
return this;
|
|
10374
10374
|
}, r.prototype.destroy = function() {
|
|
10375
|
-
this.ticking &&
|
|
10375
|
+
this.ticking && kt.system.remove(this.tick, this), this.ticking = !1, this.addHooks = null, this.uploadHooks = null, this.renderer = null, this.completes = null, this.queue = null, this.limiter = null, this.uploadHookHelper = null;
|
|
10376
10376
|
}, r;
|
|
10377
10377
|
}();
|
|
10378
10378
|
function il(r, e) {
|
|
@@ -10518,7 +10518,7 @@ function rl(r, e) {
|
|
|
10518
10518
|
}
|
|
10519
10519
|
r.prototype = e === null ? Object.create(e) : (t.prototype = e.prototype, new t());
|
|
10520
10520
|
}
|
|
10521
|
-
var Sr = new
|
|
10521
|
+
var Sr = new lt();
|
|
10522
10522
|
(function(r) {
|
|
10523
10523
|
rl(e, r);
|
|
10524
10524
|
function e(t, i, n) {
|
|
@@ -10596,7 +10596,7 @@ var Sr = new ft();
|
|
|
10596
10596
|
enumerable: !1,
|
|
10597
10597
|
configurable: !0
|
|
10598
10598
|
}), e;
|
|
10599
|
-
})(
|
|
10599
|
+
})(ht);
|
|
10600
10600
|
var i0 = `#version 100
|
|
10601
10601
|
#define SHADER_NAME Tiling-Sprite-Simple-100
|
|
10602
10602
|
|
|
@@ -10760,7 +10760,7 @@ var o0 = function() {
|
|
|
10760
10760
|
(!this.data || this.data.length !== t.length) && (this.data = new Float32Array(t.length)), this.uvMatrix.multiplyUvs(t, this.data), this._updateID++;
|
|
10761
10761
|
}
|
|
10762
10762
|
}, r;
|
|
10763
|
-
}(), Vs = new
|
|
10763
|
+
}(), Vs = new lt(), Vh = new Nn(), Hr = function(r) {
|
|
10764
10764
|
go(e, r);
|
|
10765
10765
|
function e(t, i, n, s) {
|
|
10766
10766
|
s === void 0 && (s = Re.TRIANGLES);
|
|
@@ -10875,7 +10875,7 @@ var o0 = function() {
|
|
|
10875
10875
|
}, e.prototype.destroy = function(t) {
|
|
10876
10876
|
r.prototype.destroy.call(this, t), this._cachedTexture && (this._cachedTexture.destroy(), this._cachedTexture = null), this.geometry = null, this.shader = null, this.state = null, this.uvs = null, this.indices = null, this.vertexData = null;
|
|
10877
10877
|
}, e.BATCHABLE_SIZE = 100, e;
|
|
10878
|
-
}(
|
|
10878
|
+
}(ft), h0 = `varying vec2 vTextureCoord;
|
|
10879
10879
|
uniform vec4 uColor;
|
|
10880
10880
|
|
|
10881
10881
|
uniform sampler2D uSampler;
|
|
@@ -11358,7 +11358,7 @@ void main(void)\r
|
|
|
11358
11358
|
}, n, 0, 0), n._roundPixels = G.ROUND_PIXELS, n.dirty = !0, n._resolution = G.RESOLUTION, n._autoResolution = !0, n._textureCache = {}, n;
|
|
11359
11359
|
}
|
|
11360
11360
|
return e.prototype.updateText = function() {
|
|
11361
|
-
for (var t, i = xt.available[this._fontName], n = this.fontSize, s = n / i.size, a = new
|
|
11361
|
+
for (var t, i = xt.available[this._fontName], n = this.fontSize, s = n / i.size, a = new lt(), o = [], h = [], u = [], l = this._text.replace(/(?:\r\n|\r)/g, `
|
|
11362
11362
|
`) || " ", f = sl(l), c = this._maxWidth * i.size / n, d = i.distanceFieldType === "none" ? zh : Yh, v = null, p = 0, _ = 0, g = 0, m = -1, y = 0, x = 0, b = 0, T = 0, E = 0; E < f.length; E++) {
|
|
11363
11363
|
var w = f[E], S = Mn(w);
|
|
11364
11364
|
if (/(?:\s)/.test(w) && (m = E, y = p, T++), w === "\r" || w === `
|
|
@@ -11374,7 +11374,7 @@ void main(void)\r
|
|
|
11374
11374
|
line: 0,
|
|
11375
11375
|
charCode: 0,
|
|
11376
11376
|
prevSpaces: 0,
|
|
11377
|
-
position: new
|
|
11377
|
+
position: new lt()
|
|
11378
11378
|
};
|
|
11379
11379
|
O.texture = R.texture, O.line = g, O.charCode = S, O.position.x = a.x + R.xOffset + this._letterSpacing / 2, O.position.y = a.y + R.yOffset, O.prevSpaces = T, o.push(O), p = O.position.x + Math.max(R.xAdvance - R.xOffset, R.texture.orig.width), a.x += R.xAdvance + this._letterSpacing, b = Math.max(b, R.yOffset + R.texture.height), v = S, m !== -1 && c > 0 && a.x > c && (++x, rr(o, 1 + m - x, 1 + E - m), E = m, m = -1, h.push(y), u.push(o.length > 0 ? o[o.length - 1].prevSpaces : 0), _ = Math.max(_, y), g++, a.x = 0, a.y += i.lineHeight, v = null, T = 0);
|
|
11380
11380
|
}
|
|
@@ -11409,8 +11409,8 @@ void main(void)\r
|
|
|
11409
11409
|
};
|
|
11410
11410
|
}
|
|
11411
11411
|
C.index = 0, C.indexCount = 0, C.vertexCount = 0, C.uvsCount = 0, C.total = 0;
|
|
11412
|
-
var
|
|
11413
|
-
|
|
11412
|
+
var ct = this._textureCache;
|
|
11413
|
+
ct[M] = ct[M] || new Y(W.baseTexture), C.mesh.texture = ct[M], C.mesh.tint = this._tint, F.push(C), I[M] = C;
|
|
11414
11414
|
}
|
|
11415
11415
|
I[M].total++;
|
|
11416
11416
|
}
|
|
@@ -11431,15 +11431,15 @@ void main(void)\r
|
|
|
11431
11431
|
for (var E = 0; E < A; E++) {
|
|
11432
11432
|
var w = o[E], et = w.position.x + B[w.line] * (this._align === "justify" ? w.prevSpaces : 1);
|
|
11433
11433
|
this._roundPixels && (et = Math.round(et));
|
|
11434
|
-
var at = et * s, rt = w.position.y * s, W = w.texture, K = I[W.baseTexture.uid], Bt = W.frame,
|
|
11435
|
-
K.indices[k * 6 + 0] = 0 + k * 4, K.indices[k * 6 + 1] = 1 + k * 4, K.indices[k * 6 + 2] = 2 + k * 4, K.indices[k * 6 + 3] = 0 + k * 4, K.indices[k * 6 + 4] = 2 + k * 4, K.indices[k * 6 + 5] = 3 + k * 4, K.vertices[k * 8 + 0] = at, K.vertices[k * 8 + 1] = rt, K.vertices[k * 8 + 2] = at + Bt.width * s, K.vertices[k * 8 + 3] = rt, K.vertices[k * 8 + 4] = at + Bt.width * s, K.vertices[k * 8 + 5] = rt + Bt.height * s, K.vertices[k * 8 + 6] = at, K.vertices[k * 8 + 7] = rt + Bt.height * s, K.uvs[k * 8 + 0] =
|
|
11434
|
+
var at = et * s, rt = w.position.y * s, W = w.texture, K = I[W.baseTexture.uid], Bt = W.frame, Wt = W._uvs, k = K.index++;
|
|
11435
|
+
K.indices[k * 6 + 0] = 0 + k * 4, K.indices[k * 6 + 1] = 1 + k * 4, K.indices[k * 6 + 2] = 2 + k * 4, K.indices[k * 6 + 3] = 0 + k * 4, K.indices[k * 6 + 4] = 2 + k * 4, K.indices[k * 6 + 5] = 3 + k * 4, K.vertices[k * 8 + 0] = at, K.vertices[k * 8 + 1] = rt, K.vertices[k * 8 + 2] = at + Bt.width * s, K.vertices[k * 8 + 3] = rt, K.vertices[k * 8 + 4] = at + Bt.width * s, K.vertices[k * 8 + 5] = rt + Bt.height * s, K.vertices[k * 8 + 6] = at, K.vertices[k * 8 + 7] = rt + Bt.height * s, K.uvs[k * 8 + 0] = Wt.x0, K.uvs[k * 8 + 1] = Wt.y0, K.uvs[k * 8 + 2] = Wt.x1, K.uvs[k * 8 + 3] = Wt.y1, K.uvs[k * 8 + 4] = Wt.x2, K.uvs[k * 8 + 5] = Wt.y2, K.uvs[k * 8 + 6] = Wt.x3, K.uvs[k * 8 + 7] = Wt.y3;
|
|
11436
11436
|
}
|
|
11437
11437
|
this._textWidth = _ * s, this._textHeight = (a.y + i.lineHeight) * s;
|
|
11438
11438
|
for (var E in I) {
|
|
11439
11439
|
var C = I[E];
|
|
11440
11440
|
if (this.anchor.x !== 0 || this.anchor.y !== 0)
|
|
11441
|
-
for (var
|
|
11442
|
-
C.vertices[
|
|
11441
|
+
for (var dt = 0, Vt = this._textWidth * this.anchor.x, ue = this._textHeight * this.anchor.y, Me = 0; Me < C.total; Me++)
|
|
11442
|
+
C.vertices[dt++] -= Vt, C.vertices[dt++] -= ue, C.vertices[dt++] -= Vt, C.vertices[dt++] -= ue, C.vertices[dt++] -= Vt, C.vertices[dt++] -= ue, C.vertices[dt++] -= Vt, C.vertices[dt++] -= ue;
|
|
11443
11443
|
this._maxLineHeight = b * s;
|
|
11444
11444
|
var He = C.mesh.geometry.getBuffer("aVertexPosition"), We = C.mesh.geometry.getBuffer("aTextureCoord"), Wi = C.mesh.geometry.getIndex();
|
|
11445
11445
|
He.data = C.vertices, We.data = C.uvs, Wi.data = C.indices, He.update(), We.update(), Wi.update();
|
|
@@ -11603,7 +11603,7 @@ void main(void)\r
|
|
|
11603
11603
|
maxWidth: 0,
|
|
11604
11604
|
letterSpacing: 0
|
|
11605
11605
|
}, e;
|
|
11606
|
-
}(
|
|
11606
|
+
}(ft), m0 = function() {
|
|
11607
11607
|
function r() {
|
|
11608
11608
|
}
|
|
11609
11609
|
return r.add = function() {
|
|
@@ -12570,7 +12570,7 @@ void main(void)
|
|
|
12570
12570
|
filterMatrix: s,
|
|
12571
12571
|
scale: { x: 1, y: 1 },
|
|
12572
12572
|
rotation: new Float32Array([1, 0, 0, 1])
|
|
12573
|
-
}) || this, n.maskSprite = t, n.maskMatrix = s, i == null && (i = 20), n.scale = new
|
|
12573
|
+
}) || this, n.maskSprite = t, n.maskMatrix = s, i == null && (i = 20), n.scale = new lt(i, i), n;
|
|
12574
12574
|
}
|
|
12575
12575
|
return e.prototype.apply = function(t, i, n, s) {
|
|
12576
12576
|
this.uniforms.filterMatrix = t.calculateSpriteMatrix(this.maskMatrix, this.maskSprite), this.uniforms.scale.x = this.scale.x, this.uniforms.scale.y = this.scale.y;
|
|
@@ -12917,7 +12917,7 @@ Pt.prototype._initCachedDisplayObject = function(e) {
|
|
|
12917
12917
|
this._cacheData.textureCacheId = f, Q.addToCache(l.baseTexture, f), Y.addToCache(l, f);
|
|
12918
12918
|
var c = this.transform.localTransform.copyTo(ol).invert().translate(-n.x, -n.y);
|
|
12919
12919
|
this.render = this._cacheData.originalRender, e.render(this, { renderTexture: l, clear: !0, transform: c, skipUpdateTransform: !1 }), e.framebuffer.blit(), e.projection.transform = u, e.renderTexture.bind(a, o, h), this.render = this._renderCached, this.updateTransform = this.displayObjectUpdateTransform, this.calculateBounds = this._calculateCachedBounds, this.getLocalBounds = this._getCachedLocalBounds, this._mask = null, this.filterArea = null, this.alpha = i;
|
|
12920
|
-
var d = new
|
|
12920
|
+
var d = new ht(l);
|
|
12921
12921
|
d.transform.worldTransform = this.transform.worldTransform, d.anchor.x = -(n.x / n.width), d.anchor.y = -(n.y / n.height), d.alpha = i, d._bounds = this._bounds, this._cacheData.sprite = d, this.transform._parentID = -1, this.parent ? this.updateTransform() : (this.enableTempParent(), this.updateTransform(), this.disableTempParent(null)), this.containsPoint = d.containsPoint.bind(d);
|
|
12922
12922
|
}
|
|
12923
12923
|
};
|
|
@@ -12934,7 +12934,7 @@ Pt.prototype._initCachedDisplayObjectCanvas = function(e) {
|
|
|
12934
12934
|
this._cacheData.textureCacheId = o, Q.addToCache(a.baseTexture, o), Y.addToCache(a, o);
|
|
12935
12935
|
var h = ol;
|
|
12936
12936
|
this.transform.localTransform.copyTo(h), h.invert(), h.tx -= t.x, h.ty -= t.y, this.renderCanvas = this._cacheData.originalRenderCanvas, e.render(this, { renderTexture: a, clear: !0, transform: h, skipUpdateTransform: !1 }), e.context = n, e._projTransform = s, this.renderCanvas = this._renderCachedCanvas, this.updateTransform = this.displayObjectUpdateTransform, this.calculateBounds = this._calculateCachedBounds, this.getLocalBounds = this._getCachedLocalBounds, this._mask = null, this.filterArea = null, this.alpha = i;
|
|
12937
|
-
var u = new
|
|
12937
|
+
var u = new ht(a);
|
|
12938
12938
|
u.transform.worldTransform = this.transform.worldTransform, u.anchor.x = -(t.x / t.width), u.anchor.y = -(t.y / t.height), u.alpha = i, u._bounds = this._bounds, this._cacheData.sprite = u, this.transform._parentID = -1, this.parent ? this.updateTransform() : (this.parent = e._tempDisplayObjectParent, this.updateTransform(), this.parent = null), this.containsPoint = u.containsPoint.bind(u);
|
|
12939
12939
|
}
|
|
12940
12940
|
};
|
|
@@ -12951,7 +12951,7 @@ Pt.prototype._cacheAsBitmapDestroy = function(e) {
|
|
|
12951
12951
|
this.cacheAsBitmap = !1, this.destroy(e);
|
|
12952
12952
|
};
|
|
12953
12953
|
Pt.prototype.name = null;
|
|
12954
|
-
|
|
12954
|
+
ft.prototype.getChildByName = function(e, t) {
|
|
12955
12955
|
for (var i = 0, n = this.children.length; i < n; i++)
|
|
12956
12956
|
if (this.children[i].name === e)
|
|
12957
12957
|
return this.children[i];
|
|
@@ -12967,7 +12967,7 @@ ct.prototype.getChildByName = function(e, t) {
|
|
|
12967
12967
|
return null;
|
|
12968
12968
|
};
|
|
12969
12969
|
Pt.prototype.getGlobalPosition = function(e, t) {
|
|
12970
|
-
return e === void 0 && (e = new
|
|
12970
|
+
return e === void 0 && (e = new lt()), t === void 0 && (t = !1), this.parent ? this.parent.toGlobal(this.position, e, t) : (e.x = this.position.x, e.y = this.position.y), e;
|
|
12971
12971
|
};
|
|
12972
12972
|
var L0 = function() {
|
|
12973
12973
|
function r() {
|
|
@@ -13010,7 +13010,7 @@ var L0 = function() {
|
|
|
13010
13010
|
}(), hl = function() {
|
|
13011
13011
|
function r(e) {
|
|
13012
13012
|
var t = this;
|
|
13013
|
-
this.stage = new
|
|
13013
|
+
this.stage = new ft(), e = Object.assign({
|
|
13014
13014
|
forceCanvas: !1
|
|
13015
13015
|
}, e), this.renderer = cg(e), r._plugins.forEach(function(i) {
|
|
13016
13016
|
i.init.call(t, e);
|
|
@@ -13298,9 +13298,9 @@ function H0(r, e) {
|
|
|
13298
13298
|
return n._textures = null, n._durations = null, n._autoUpdate = i, n._isConnectedToTicker = !1, n.animationSpeed = 1, n.loop = !0, n.updateAnchor = !1, n.onComplete = null, n.onFrameChange = null, n.onLoop = null, n._currentTime = 0, n._playing = !1, n._previousFrame = null, n.textures = t, n;
|
|
13299
13299
|
}
|
|
13300
13300
|
return e.prototype.stop = function() {
|
|
13301
|
-
this._playing && (this._playing = !1, this._autoUpdate && this._isConnectedToTicker && (
|
|
13301
|
+
this._playing && (this._playing = !1, this._autoUpdate && this._isConnectedToTicker && (kt.shared.remove(this.update, this), this._isConnectedToTicker = !1));
|
|
13302
13302
|
}, e.prototype.play = function() {
|
|
13303
|
-
this._playing || (this._playing = !0, this._autoUpdate && !this._isConnectedToTicker && (
|
|
13303
|
+
this._playing || (this._playing = !0, this._autoUpdate && !this._isConnectedToTicker && (kt.shared.add(this.update, this, ae.HIGH), this._isConnectedToTicker = !0));
|
|
13304
13304
|
}, e.prototype.gotoAndStop = function(t) {
|
|
13305
13305
|
this.stop();
|
|
13306
13306
|
var i = this.currentFrame;
|
|
@@ -13376,12 +13376,12 @@ function H0(r, e) {
|
|
|
13376
13376
|
return this._autoUpdate;
|
|
13377
13377
|
},
|
|
13378
13378
|
set: function(t) {
|
|
13379
|
-
t !== this._autoUpdate && (this._autoUpdate = t, !this._autoUpdate && this._isConnectedToTicker ? (
|
|
13379
|
+
t !== this._autoUpdate && (this._autoUpdate = t, !this._autoUpdate && this._isConnectedToTicker ? (kt.shared.remove(this.update, this), this._isConnectedToTicker = !1) : this._autoUpdate && !this._isConnectedToTicker && this._playing && (kt.shared.add(this.update, this), this._isConnectedToTicker = !0));
|
|
13380
13380
|
},
|
|
13381
13381
|
enumerable: !1,
|
|
13382
13382
|
configurable: !0
|
|
13383
13383
|
}), e;
|
|
13384
|
-
})(
|
|
13384
|
+
})(ht);
|
|
13385
13385
|
ii.add(
|
|
13386
13386
|
Rg,
|
|
13387
13387
|
Ng,
|
|
@@ -13530,7 +13530,7 @@ function W0(r) {
|
|
|
13530
13530
|
const Vr = (r) => (Dn || (Dn = ll(r)), Dn), V0 = (r) => {
|
|
13531
13531
|
Dn = ll(r);
|
|
13532
13532
|
};
|
|
13533
|
-
class z0 extends
|
|
13533
|
+
class z0 extends ft {
|
|
13534
13534
|
constructor(t, i) {
|
|
13535
13535
|
super();
|
|
13536
13536
|
P(this, "appRef");
|
|
@@ -13553,7 +13553,7 @@ class z0 extends ct {
|
|
|
13553
13553
|
initUpdater() {
|
|
13554
13554
|
this.appRef.ticker.add(() => {
|
|
13555
13555
|
this.update();
|
|
13556
|
-
}, null,
|
|
13556
|
+
}, null, ae.LOW);
|
|
13557
13557
|
}
|
|
13558
13558
|
update() {
|
|
13559
13559
|
const { xPos: t, yPos: i, width: n, height: s } = this.getDimensions();
|
|
@@ -13573,13 +13573,13 @@ function Y0(r) {
|
|
|
13573
13573
|
});
|
|
13574
13574
|
return process.env.NODE_ENV === "development" && j0(e), r.appendChild(e.view), e.ticker.add(() => {
|
|
13575
13575
|
(r.clientWidth !== e.screen.width || r.clientHeight !== e.screen.height) && (e.resizeTo = r);
|
|
13576
|
-
}, null,
|
|
13576
|
+
}, null, ae.LOW), e;
|
|
13577
13577
|
}
|
|
13578
13578
|
function j0(r) {
|
|
13579
13579
|
globalThis.__PIXI_APP__ = r;
|
|
13580
13580
|
}
|
|
13581
13581
|
async function Z0() {
|
|
13582
|
-
const { Viewport: r } = await import("./viewport.es-
|
|
13582
|
+
const { Viewport: r } = await import("./viewport.es-ae91b8e8.mjs");
|
|
13583
13583
|
return r;
|
|
13584
13584
|
}
|
|
13585
13585
|
async function K0(r, e) {
|
|
@@ -13605,7 +13605,7 @@ async function K0(r, e) {
|
|
|
13605
13605
|
(s.screenWidth !== e.screen.width || s.screenHeight !== e.screen.height) && (s.resize(e.screen.width, e.screen.height), xf(() => {
|
|
13606
13606
|
s.emit("resize");
|
|
13607
13607
|
}));
|
|
13608
|
-
}, null,
|
|
13608
|
+
}, null, ae.LOW), s;
|
|
13609
13609
|
}
|
|
13610
13610
|
function je(r) {
|
|
13611
13611
|
if (r === void 0)
|
|
@@ -13615,7 +13615,7 @@ function je(r) {
|
|
|
13615
13615
|
function cl(r, e) {
|
|
13616
13616
|
r.prototype = Object.create(e.prototype), r.prototype.constructor = r, r.__proto__ = e;
|
|
13617
13617
|
}
|
|
13618
|
-
var
|
|
13618
|
+
var se = {
|
|
13619
13619
|
autoSleep: 120,
|
|
13620
13620
|
force3D: "auto",
|
|
13621
13621
|
nullTargetWarn: 1,
|
|
@@ -13626,7 +13626,7 @@ var ae = {
|
|
|
13626
13626
|
duration: 0.5,
|
|
13627
13627
|
overwrite: !1,
|
|
13628
13628
|
delay: 0
|
|
13629
|
-
}, mo, jt, At, ce = 1e8,
|
|
13629
|
+
}, mo, jt, At, ce = 1e8, ut = 1 / ce, za = Math.PI * 2, q0 = za / 4, $0 = 0, dl = Math.sqrt, J0 = Math.cos, Q0 = Math.sin, Gt = function(e) {
|
|
13630
13630
|
return typeof e == "string";
|
|
13631
13631
|
}, St = function(e) {
|
|
13632
13632
|
return typeof e == "function";
|
|
@@ -13636,21 +13636,21 @@ var ae = {
|
|
|
13636
13636
|
return typeof e > "u";
|
|
13637
13637
|
}, Xe = function(e) {
|
|
13638
13638
|
return typeof e == "object";
|
|
13639
|
-
},
|
|
13639
|
+
}, qt = function(e) {
|
|
13640
13640
|
return e !== !1;
|
|
13641
13641
|
}, pl = function() {
|
|
13642
13642
|
return typeof window < "u";
|
|
13643
13643
|
}, On = function(e) {
|
|
13644
13644
|
return St(e) || Gt(e);
|
|
13645
13645
|
}, vl = typeof ArrayBuffer == "function" && ArrayBuffer.isView || function() {
|
|
13646
|
-
}, Zt = Array.isArray, Ya = /(?:-?\.?\d|\.)+/gi, _l = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, tr = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Ys = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, gl = /[+-]=-?[.\d]+/, ml = /[^,'"\[\]\s]+/gi, ty = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, gt, fe, ja, bo,
|
|
13647
|
-
return (qn = ki(e,
|
|
13646
|
+
}, Zt = Array.isArray, Ya = /(?:-?\.?\d|\.)+/gi, _l = /[-+=.]*\d+[.e\-+]*\d*[e\-+]*\d*/g, tr = /[-+=.]*\d+[.e-]*\d*[a-z%]*/g, Ys = /[-+=.]*\d+\.?\d*(?:e-|e\+)?\d*/gi, gl = /[+-]=-?[.\d]+/, ml = /[^,'"\[\]\s]+/gi, ty = /^[+\-=e\s\d]*\d+[.\d]*([a-z]*|%)\s*$/i, gt, fe, ja, bo, oe = {}, qn = {}, yl, bl = function(e) {
|
|
13647
|
+
return (qn = ki(e, oe)) && he;
|
|
13648
13648
|
}, xo = function(e, t) {
|
|
13649
13649
|
return console.warn("Invalid property", e, "set to", t, "Missing plugin? gsap.registerPlugin()");
|
|
13650
13650
|
}, $n = function(e, t) {
|
|
13651
13651
|
return !t && console.warn(e);
|
|
13652
13652
|
}, xl = function(e, t) {
|
|
13653
|
-
return e && (
|
|
13653
|
+
return e && (oe[e] = t) && qn && (qn[e] = t) || oe;
|
|
13654
13654
|
}, zr = function() {
|
|
13655
13655
|
return 0;
|
|
13656
13656
|
}, ey = {
|
|
@@ -13662,7 +13662,7 @@ var ae = {
|
|
|
13662
13662
|
kill: !1
|
|
13663
13663
|
}, iy = {
|
|
13664
13664
|
suppressEvents: !0
|
|
13665
|
-
}, To = {}, ui = [], Za = {}, Tl,
|
|
13665
|
+
}, To = {}, ui = [], Za = {}, Tl, te = {}, js = {}, $h = 30, Bn = [], Eo = "", So = function(e) {
|
|
13666
13666
|
var t = e[0], i, n;
|
|
13667
13667
|
if (Xe(t) || St(t) || (e = [e]), !(i = (t._gsap || {}).harness)) {
|
|
13668
13668
|
for (n = Bn.length; n-- && !Bn[n].targetTest(t); )
|
|
@@ -13676,11 +13676,11 @@ var ae = {
|
|
|
13676
13676
|
return e._gsap || So(de(e))[0]._gsap;
|
|
13677
13677
|
}, El = function(e, t, i) {
|
|
13678
13678
|
return (i = e[t]) && St(i) ? e[t]() : yo(i) && e.getAttribute && e.getAttribute(t) || i;
|
|
13679
|
-
},
|
|
13679
|
+
}, $t = function(e, t) {
|
|
13680
13680
|
return (e = e.split(",")).forEach(t) || e;
|
|
13681
13681
|
}, Rt = function(e) {
|
|
13682
13682
|
return Math.round(e * 1e5) / 1e5 || 0;
|
|
13683
|
-
},
|
|
13683
|
+
}, Xt = function(e) {
|
|
13684
13684
|
return Math.round(e * 1e7) / 1e7 || 0;
|
|
13685
13685
|
}, sr = function(e, t) {
|
|
13686
13686
|
var i = t.charAt(0), n = parseFloat(t.substr(2));
|
|
@@ -13724,7 +13724,7 @@ var ae = {
|
|
|
13724
13724
|
return i;
|
|
13725
13725
|
}, Ar = function(e) {
|
|
13726
13726
|
var t = e.parent || gt, i = e.keyframes ? ny(Zt(e.keyframes)) : ve;
|
|
13727
|
-
if (
|
|
13727
|
+
if (qt(e.inherit))
|
|
13728
13728
|
for (; t; )
|
|
13729
13729
|
i(e, t.vars.defaults), t = t.parent || t._dp;
|
|
13730
13730
|
return e;
|
|
@@ -13766,26 +13766,26 @@ var ae = {
|
|
|
13766
13766
|
}, ts = function(e, t) {
|
|
13767
13767
|
return (e - t._start) * t._ts + (t._ts >= 0 ? 0 : t._dirty ? t.totalDuration() : t._tDur);
|
|
13768
13768
|
}, fs = function(e) {
|
|
13769
|
-
return e._end =
|
|
13769
|
+
return e._end = Xt(e._start + (e._tDur / Math.abs(e._ts || e._rts || ut) || 0));
|
|
13770
13770
|
}, cs = function(e, t) {
|
|
13771
13771
|
var i = e._dp;
|
|
13772
|
-
return i && i.smoothChildTiming && e._ts && (e._start =
|
|
13772
|
+
return i && i.smoothChildTiming && e._ts && (e._start = Xt(i._time - (e._ts > 0 ? t / e._ts : ((e._dirty ? e.totalDuration() : e._tDur) - t) / -e._ts)), fs(e), i._dirty || Fi(i, e)), e;
|
|
13773
13773
|
}, Cl = function(e, t) {
|
|
13774
13774
|
var i;
|
|
13775
|
-
if ((t._time || t._initted && !t._dur) && (i = ts(e.rawTime(), t), (!t._dur || en(0, t.totalDuration(), i) - t._tTime >
|
|
13775
|
+
if ((t._time || t._initted && !t._dur) && (i = ts(e.rawTime(), t), (!t._dur || en(0, t.totalDuration(), i) - t._tTime > ut) && t.render(i, !0)), Fi(e, t)._dp && e._initted && e._time >= e._dur && e._ts) {
|
|
13776
13776
|
if (e._dur < e.duration())
|
|
13777
13777
|
for (i = e; i._dp; )
|
|
13778
13778
|
i.rawTime() >= 0 && i.totalTime(i._tTime), i = i._dp;
|
|
13779
|
-
e._zTime = -
|
|
13779
|
+
e._zTime = -ut;
|
|
13780
13780
|
}
|
|
13781
13781
|
}, Fe = function(e, t, i, n) {
|
|
13782
|
-
return t.parent && di(t), t._start =
|
|
13782
|
+
return t.parent && di(t), t._start = Xt((ti(i) ? i : i || e !== gt ? le(e, i, t) : e._time) + t._delay), t._end = Xt(t._start + (t.totalDuration() / Math.abs(t.timeScale()) || 0)), Pl(e, t, "_first", "_last", e._sort ? "_start" : 0), qa(t) || (e._recent = t), n || Cl(e, t), e._ts < 0 && cs(e, e._tTime), e;
|
|
13783
13783
|
}, Ol = function(e, t) {
|
|
13784
|
-
return (
|
|
13784
|
+
return (oe.ScrollTrigger || xo("scrollTrigger", t)) && oe.ScrollTrigger.create(t, e);
|
|
13785
13785
|
}, Al = function(e, t, i, n, s) {
|
|
13786
13786
|
if (Ro(e, t, s), !e._initted)
|
|
13787
13787
|
return 1;
|
|
13788
|
-
if (!i && e._pt && !jt && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Tl !==
|
|
13788
|
+
if (!i && e._pt && !jt && (e._dur && e.vars.lazy !== !1 || !e._dur && e.vars.lazy) && Tl !== re.frame)
|
|
13789
13789
|
return ui.push(e), e._lazy = [s, n], 1;
|
|
13790
13790
|
}, hy = function r(e) {
|
|
13791
13791
|
var t = e.parent;
|
|
@@ -13795,10 +13795,10 @@ var ae = {
|
|
|
13795
13795
|
return t === "isFromStart" || t === "isStart";
|
|
13796
13796
|
}, uy = function(e, t, i, n) {
|
|
13797
13797
|
var s = e.ratio, a = t < 0 || !t && (!e._start && hy(e) && !(!e._initted && qa(e)) || (e._ts < 0 || e._dp._ts < 0) && !qa(e)) ? 0 : 1, o = e._rDelay, h = 0, u, l, f;
|
|
13798
|
-
if (o && e._repeat && (h = en(0, e._tDur, t), l = lr(h, o), e._yoyo && l & 1 && (a = 1 - a), l !== lr(e._tTime, o) && (s = 1 - a, e.vars.repeatRefresh && e._initted && e.invalidate())), a !== s || jt || n || e._zTime ===
|
|
13798
|
+
if (o && e._repeat && (h = en(0, e._tDur, t), l = lr(h, o), e._yoyo && l & 1 && (a = 1 - a), l !== lr(e._tTime, o) && (s = 1 - a, e.vars.repeatRefresh && e._initted && e.invalidate())), a !== s || jt || n || e._zTime === ut || !t && e._zTime) {
|
|
13799
13799
|
if (!e._initted && Al(e, t, n, i, h))
|
|
13800
13800
|
return;
|
|
13801
|
-
for (f = e._zTime, e._zTime = t || (i ?
|
|
13801
|
+
for (f = e._zTime, e._zTime = t || (i ? ut : 0), i || (i = t && !f), e.ratio = a, e._from && (a = 1 - a), e._time = 0, e._tTime = h, u = e._pt; u; )
|
|
13802
13802
|
u.r(a, u.d), u = u._next;
|
|
13803
13803
|
t < 0 && Ka(e, t, i, !0), e._onUpdate && !i && pe(e, "onUpdate"), h && e._repeat && !i && e.parent && pe(e, "onRepeat"), (t >= e._tDur || t < 0) && e.ratio === a && (a && di(e, 1), !i && !jt && (pe(e, a ? "onComplete" : "onReverseComplete", !0), e._prom && e._prom()));
|
|
13804
13804
|
} else
|
|
@@ -13818,10 +13818,10 @@ var ae = {
|
|
|
13818
13818
|
n = n._prev;
|
|
13819
13819
|
}
|
|
13820
13820
|
}, fr = function(e, t, i, n) {
|
|
13821
|
-
var s = e._repeat, a =
|
|
13822
|
-
return o && !n && (e._time *= a / e._dur), e._dur = a, e._tDur = s ? s < 0 ? 1e10 :
|
|
13821
|
+
var s = e._repeat, a = Xt(t) || 0, o = e._tTime / e._tDur;
|
|
13822
|
+
return o && !n && (e._time *= a / e._dur), e._dur = a, e._tDur = s ? s < 0 ? 1e10 : Xt(a * (s + 1) + e._rDelay * s) : a, o > 0 && !n && cs(e, e._tTime = e._tDur * o), e.parent && fs(e), i || Fi(e.parent, e), e;
|
|
13823
13823
|
}, tu = function(e) {
|
|
13824
|
-
return e instanceof
|
|
13824
|
+
return e instanceof Kt ? Fi(e) : fr(e, e._dur);
|
|
13825
13825
|
}, fy = {
|
|
13826
13826
|
_start: 0,
|
|
13827
13827
|
endTime: zr,
|
|
@@ -13833,8 +13833,8 @@ var ae = {
|
|
|
13833
13833
|
var n = ti(t[1]), s = (n ? 2 : 1) + (e < 2 ? 0 : 1), a = t[s], o, h;
|
|
13834
13834
|
if (n && (a.duration = t[1]), a.parent = i, e) {
|
|
13835
13835
|
for (o = a, h = i; h && !("immediateRender" in o); )
|
|
13836
|
-
o = h.vars.defaults || {}, h =
|
|
13837
|
-
a.immediateRender =
|
|
13836
|
+
o = h.vars.defaults || {}, h = qt(h.vars.inherit) && h.parent;
|
|
13837
|
+
a.immediateRender = qt(o.immediateRender), e < 2 ? a.runBackwards = 1 : a.startAt = t[s - 1];
|
|
13838
13838
|
}
|
|
13839
13839
|
return new Mt(t[0], a, t[s + 1]);
|
|
13840
13840
|
}, _i = function(e, t) {
|
|
@@ -13887,12 +13887,12 @@ var ae = {
|
|
|
13887
13887
|
y = T % S - g, x = m - (T / S | 0), _[T] = b = u ? Math.abs(u === "y" ? x : y) : dl(y * y + x * x), b > E && (E = b), b < w && (w = b);
|
|
13888
13888
|
n === "random" && Nl(_), _.max = E - w, _.min = w, _.v = p = (parseFloat(t.amount) || parseFloat(t.each) * (S > p ? p - 1 : u ? u === "y" ? p / S : S : Math.max(S, p / S)) || 0) * (n === "edges" ? -1 : 1), _.b = p < 0 ? s - p : s, _.u = Yt(t.amount || t.each) || 0, i = i && p < 0 ? Xl(i) : i;
|
|
13889
13889
|
}
|
|
13890
|
-
return p = (_[c] - _.min) / _.max || 0,
|
|
13890
|
+
return p = (_[c] - _.min) / _.max || 0, Xt(_.b + (i ? i(p) : p) * _.v) + _.u;
|
|
13891
13891
|
};
|
|
13892
13892
|
}, Qa = function(e) {
|
|
13893
13893
|
var t = Math.pow(10, ((e + "").split(".")[1] || "").length);
|
|
13894
13894
|
return function(i) {
|
|
13895
|
-
var n =
|
|
13895
|
+
var n = Xt(Math.round(parseFloat(i) / e) * e * t);
|
|
13896
13896
|
return (n - n % 1) / t + (ti(i) ? 0 : Yt(i));
|
|
13897
13897
|
};
|
|
13898
13898
|
}, Dl = function(e, t) {
|
|
@@ -14006,42 +14006,42 @@ var ae = {
|
|
|
14006
14006
|
register: 0
|
|
14007
14007
|
};
|
|
14008
14008
|
if (cr(), e !== n) {
|
|
14009
|
-
if (
|
|
14009
|
+
if (te[t])
|
|
14010
14010
|
return;
|
|
14011
|
-
ve(n, ve(Qn(e, s), a)), ki(n.prototype, ki(s, Qn(e, a))),
|
|
14011
|
+
ve(n, ve(Qn(e, s), a)), ki(n.prototype, ki(s, Qn(e, a))), te[n.prop = t] = n, e.targetTest && (Bn.push(n), To[t] = 1), t = (t === "css" ? "CSS" : t.charAt(0).toUpperCase() + t.substr(1)) + "Plugin";
|
|
14012
14012
|
}
|
|
14013
|
-
xl(t, n), e.register && e.register(
|
|
14014
|
-
},
|
|
14015
|
-
aqua: [0,
|
|
14016
|
-
lime: [0,
|
|
14013
|
+
xl(t, n), e.register && e.register(he, n, Jt);
|
|
14014
|
+
}, ot = 255, Cr = {
|
|
14015
|
+
aqua: [0, ot, ot],
|
|
14016
|
+
lime: [0, ot, 0],
|
|
14017
14017
|
silver: [192, 192, 192],
|
|
14018
14018
|
black: [0, 0, 0],
|
|
14019
14019
|
maroon: [128, 0, 0],
|
|
14020
14020
|
teal: [0, 128, 128],
|
|
14021
|
-
blue: [0, 0,
|
|
14021
|
+
blue: [0, 0, ot],
|
|
14022
14022
|
navy: [0, 0, 128],
|
|
14023
|
-
white: [
|
|
14023
|
+
white: [ot, ot, ot],
|
|
14024
14024
|
olive: [128, 128, 0],
|
|
14025
|
-
yellow: [
|
|
14026
|
-
orange: [
|
|
14025
|
+
yellow: [ot, ot, 0],
|
|
14026
|
+
orange: [ot, 165, 0],
|
|
14027
14027
|
gray: [128, 128, 128],
|
|
14028
14028
|
purple: [128, 0, 128],
|
|
14029
14029
|
green: [0, 128, 0],
|
|
14030
|
-
red: [
|
|
14031
|
-
pink: [
|
|
14032
|
-
cyan: [0,
|
|
14033
|
-
transparent: [
|
|
14030
|
+
red: [ot, 0, 0],
|
|
14031
|
+
pink: [ot, 192, 203],
|
|
14032
|
+
cyan: [0, ot, ot],
|
|
14033
|
+
transparent: [ot, ot, ot, 0]
|
|
14034
14034
|
}, Zs = function(e, t, i) {
|
|
14035
|
-
return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? t + (i - t) * e * 6 : e < 0.5 ? i : e * 3 < 2 ? t + (i - t) * (2 / 3 - e) * 6 : t) *
|
|
14035
|
+
return e += e < 0 ? 1 : e > 1 ? -1 : 0, (e * 6 < 1 ? t + (i - t) * e * 6 : e < 0.5 ? i : e * 3 < 2 ? t + (i - t) * (2 / 3 - e) * 6 : t) * ot + 0.5 | 0;
|
|
14036
14036
|
}, Gl = function(e, t, i) {
|
|
14037
|
-
var n = e ? ti(e) ? [e >> 16, e >> 8 &
|
|
14037
|
+
var n = e ? ti(e) ? [e >> 16, e >> 8 & ot, e & ot] : 0 : Cr.black, s, a, o, h, u, l, f, c, d, v;
|
|
14038
14038
|
if (!n) {
|
|
14039
14039
|
if (e.substr(-1) === "," && (e = e.substr(0, e.length - 1)), Cr[e])
|
|
14040
14040
|
n = Cr[e];
|
|
14041
14041
|
else if (e.charAt(0) === "#") {
|
|
14042
14042
|
if (e.length < 6 && (s = e.charAt(1), a = e.charAt(2), o = e.charAt(3), e = "#" + s + s + a + a + o + o + (e.length === 5 ? e.charAt(4) + e.charAt(4) : "")), e.length === 9)
|
|
14043
|
-
return n = parseInt(e.substr(1, 6), 16), [n >> 16, n >> 8 &
|
|
14044
|
-
e = parseInt(e.substr(1), 16), n = [e >> 16, e >> 8 &
|
|
14043
|
+
return n = parseInt(e.substr(1, 6), 16), [n >> 16, n >> 8 & ot, n & ot, parseInt(e.substr(7), 16) / 255];
|
|
14044
|
+
e = parseInt(e.substr(1), 16), n = [e >> 16, e >> 8 & ot, e & ot];
|
|
14045
14045
|
} else if (e.substr(0, 3) === "hsl") {
|
|
14046
14046
|
if (n = v = e.match(Ya), !t)
|
|
14047
14047
|
h = +n[0] % 360 / 360, u = +n[1] / 100, l = +n[2] / 100, a = l <= 0.5 ? l * (u + 1) : l + u - l * u, s = l * 2 - a, n.length > 3 && (n[3] *= 1), n[0] = Zs(h + 1 / 3, s, a), n[1] = Zs(h, s, a), n[2] = Zs(h - 1 / 3, s, a);
|
|
@@ -14051,7 +14051,7 @@ var ae = {
|
|
|
14051
14051
|
n = e.match(Ya) || Cr.transparent;
|
|
14052
14052
|
n = n.map(Number);
|
|
14053
14053
|
}
|
|
14054
|
-
return t && !v && (s = n[0] /
|
|
14054
|
+
return t && !v && (s = n[0] / ot, a = n[1] / ot, o = n[2] / ot, f = Math.max(s, a, o), c = Math.min(s, a, o), l = (f + c) / 2, f === c ? h = u = 0 : (d = f - c, u = l > 0.5 ? d / (2 - f - c) : d / (f + c), h = f === s ? (a - o) / d + (a < o ? 6 : 0) : f === a ? (o - s) / d + 2 : (s - a) / d + 4, h *= 60), n[0] = ~~(h + 0.5), n[1] = ~~(u * 100 + 0.5), n[2] = ~~(l * 100 + 0.5)), i && n.length < 4 && (n[3] = 1), n;
|
|
14055
14055
|
}, Ul = function(e) {
|
|
14056
14056
|
var t = [], i = [], n = -1;
|
|
14057
14057
|
return e.split(li).forEach(function(s) {
|
|
@@ -14080,7 +14080,7 @@ var ae = {
|
|
|
14080
14080
|
var t = e.join(" "), i;
|
|
14081
14081
|
if (li.lastIndex = 0, li.test(t))
|
|
14082
14082
|
return i = xy.test(t), e[1] = iu(e[1], i), e[0] = iu(e[0], i, Ul(e[1])), !0;
|
|
14083
|
-
}, jr,
|
|
14083
|
+
}, jr, re = function() {
|
|
14084
14084
|
var r = Date.now, e = 500, t = 33, i = r(), n = i, s = 1e3 / 240, a = s, o = [], h, u, l, f, c, d, v = function p(_) {
|
|
14085
14085
|
var g = r() - n, m = _ === !0, y, x, b, T;
|
|
14086
14086
|
if (g > e && (i += g - t), n += g, b = n - i, y = b - a, (y > 0 || m) && (T = ++f.frame, c = b - f.time * 1e3, f.time = b = b / 1e3, a += y + (y >= s ? 4 : s - y), x = 1), m || (h = u(p)), x)
|
|
@@ -14097,7 +14097,7 @@ var ae = {
|
|
|
14097
14097
|
return c / (1e3 / (_ || 60));
|
|
14098
14098
|
},
|
|
14099
14099
|
wake: function() {
|
|
14100
|
-
yl && (!ja && pl() && (fe = ja = window, bo = fe.document || {},
|
|
14100
|
+
yl && (!ja && pl() && (fe = ja = window, bo = fe.document || {}, oe.gsap = he, (fe.gsapVersions || (fe.gsapVersions = [])).push(he.version), bl(qn || fe.GreenSockGlobals || !fe.gsap && fe || {}), l = fe.requestAnimationFrame), h && f.sleep(), u = l || function(_) {
|
|
14101
14101
|
return setTimeout(_, a - f.time * 1e3 + 1 | 0);
|
|
14102
14102
|
}, jr = 1, v(2));
|
|
14103
14103
|
},
|
|
@@ -14122,7 +14122,7 @@ var ae = {
|
|
|
14122
14122
|
_listeners: o
|
|
14123
14123
|
}, f;
|
|
14124
14124
|
}(), cr = function() {
|
|
14125
|
-
return !jr &&
|
|
14125
|
+
return !jr && re.wake();
|
|
14126
14126
|
}, J = {}, Ty = /^[\d.\-M][\d.\-,\s]/, Ey = /["']/g, Sy = function(e) {
|
|
14127
14127
|
for (var t = {}, i = e.substr(1, e.length - 3).split(":"), n = i[0], s = 1, a = i.length, o, h, u; s < a; s++)
|
|
14128
14128
|
h = i[s], o = s !== a - 1 ? h.lastIndexOf(",") : h.length, u = h.substr(0, o), t[n] = isNaN(u) ? u.replace(Ey, "").trim() : +u, n = h.substr(o + 1).trim();
|
|
@@ -14139,7 +14139,7 @@ var ae = {
|
|
|
14139
14139
|
};
|
|
14140
14140
|
}, Hl = function r(e, t) {
|
|
14141
14141
|
for (var i = e._first, n; i; )
|
|
14142
|
-
i instanceof
|
|
14142
|
+
i instanceof Kt ? r(i, t) : i.vars.yoyoEase && (!i._yoyo || !i._repeat) && i._yoyo !== t && (i.timeline ? r(i.timeline, t) : (n = i._ease, i._ease = i._yEase, i._yEase = n, i._yoyo = t)), i = i._next;
|
|
14143
14143
|
}, Bi = function(e, t) {
|
|
14144
14144
|
return e && (St(e) ? e : J[e] || Ry(e)) || t;
|
|
14145
14145
|
}, Hi = function(e, t, i, n) {
|
|
@@ -14153,8 +14153,8 @@ var ae = {
|
|
|
14153
14153
|
easeOut: i,
|
|
14154
14154
|
easeInOut: n
|
|
14155
14155
|
}, a;
|
|
14156
|
-
return
|
|
14157
|
-
J[o] =
|
|
14156
|
+
return $t(e, function(o) {
|
|
14157
|
+
J[o] = oe[o] = s, J[a = o.toLowerCase()] = i;
|
|
14158
14158
|
for (var h in s)
|
|
14159
14159
|
J[a + (h === "easeIn" ? ".in" : h === "easeOut" ? ".out" : ".inOut")] = J[o + "." + h] = s[h];
|
|
14160
14160
|
}), s;
|
|
@@ -14182,7 +14182,7 @@ var ae = {
|
|
|
14182
14182
|
return r(e, s);
|
|
14183
14183
|
}, n;
|
|
14184
14184
|
};
|
|
14185
|
-
|
|
14185
|
+
$t("Linear,Quad,Cubic,Quart,Quint,Strong", function(r, e) {
|
|
14186
14186
|
var t = e < 5 ? e + 1 : e;
|
|
14187
14187
|
Hi(r + ",Power" + (t - 1), e ? function(i) {
|
|
14188
14188
|
return Math.pow(i, t);
|
|
@@ -14214,24 +14214,24 @@ Hi("Sine", function(r) {
|
|
|
14214
14214
|
return r === 1 ? 1 : -J0(r * q0) + 1;
|
|
14215
14215
|
});
|
|
14216
14216
|
Hi("Back", qs("in"), qs("out"), qs());
|
|
14217
|
-
J.SteppedEase = J.steps =
|
|
14217
|
+
J.SteppedEase = J.steps = oe.SteppedEase = {
|
|
14218
14218
|
config: function(e, t) {
|
|
14219
14219
|
e === void 0 && (e = 1);
|
|
14220
|
-
var i = 1 / e, n = e + (t ? 0 : 1), s = t ? 1 : 0, a = 1 -
|
|
14220
|
+
var i = 1 / e, n = e + (t ? 0 : 1), s = t ? 1 : 0, a = 1 - ut;
|
|
14221
14221
|
return function(o) {
|
|
14222
14222
|
return ((n * en(0, a, o) | 0) + s) * i;
|
|
14223
14223
|
};
|
|
14224
14224
|
}
|
|
14225
14225
|
};
|
|
14226
14226
|
ur.ease = J["quad.out"];
|
|
14227
|
-
|
|
14227
|
+
$t("onComplete,onUpdate,onStart,onRepeat,onReverseComplete,onInterrupt", function(r) {
|
|
14228
14228
|
return Eo += r + "," + r + "Params,";
|
|
14229
14229
|
});
|
|
14230
14230
|
var Vl = function(e, t) {
|
|
14231
14231
|
this.id = $0++, e._gsap = this, this.target = e, this.harness = t, this.get = t ? t.get : El, this.set = t ? t.getSetter : Co;
|
|
14232
14232
|
}, dr = /* @__PURE__ */ function() {
|
|
14233
14233
|
function r(t) {
|
|
14234
|
-
this.vars = t, this._delay = +t.delay || 0, (this._repeat = t.repeat === 1 / 0 ? -2 : t.repeat || 0) && (this._rDelay = t.repeatDelay || 0, this._yoyo = !!t.yoyo || !!t.yoyoEase), this._ts = 1, fr(this, +t.duration, 1, 1), this.data = t.data, At && (this._ctx = At, At.data.push(this)), jr ||
|
|
14234
|
+
this.vars = t, this._delay = +t.delay || 0, (this._repeat = t.repeat === 1 / 0 ? -2 : t.repeat || 0) && (this._rDelay = t.repeatDelay || 0, this._yoyo = !!t.yoyo || !!t.yoyoEase), this._ts = 1, fr(this, +t.duration, 1, 1), this.data = t.data, At && (this._ctx = At, At.data.push(this)), jr || re.wake();
|
|
14235
14235
|
}
|
|
14236
14236
|
var e = r.prototype;
|
|
14237
14237
|
return e.delay = function(i) {
|
|
@@ -14249,7 +14249,7 @@ var Vl = function(e, t) {
|
|
|
14249
14249
|
s.parent._time !== s._start + (s._ts >= 0 ? s._tTime / s._ts : (s.totalDuration() - s._tTime) / -s._ts) && s.totalTime(s._tTime, !0), s = s.parent;
|
|
14250
14250
|
!this.parent && this._dp.autoRemoveChildren && (this._ts > 0 && i < this._tDur || this._ts < 0 && i > 0 || !this._tDur && !i) && Fe(this._dp, this, this._start - this._delay);
|
|
14251
14251
|
}
|
|
14252
|
-
return (this._tTime !== i || !this._dur && !n || this._initted && Math.abs(this._zTime) ===
|
|
14252
|
+
return (this._tTime !== i || !this._dur && !n || this._initted && Math.abs(this._zTime) === ut || !i && !this._initted && (this.add || this._ptLookup)) && (this._ts || (this._pTime = i), Sl(this, i, n)), this;
|
|
14253
14253
|
}, e.time = function(i, n) {
|
|
14254
14254
|
return arguments.length ? this.totalTime(Math.min(this.totalDuration(), i + Qh(this)) % (this._dur + this._rDelay) || (i ? this._dur : 0), n) : this._time;
|
|
14255
14255
|
}, e.totalProgress = function(i, n) {
|
|
@@ -14261,13 +14261,13 @@ var Vl = function(e, t) {
|
|
|
14261
14261
|
return arguments.length ? this.totalTime(this._time + (i - 1) * s, n) : this._repeat ? lr(this._tTime, s) + 1 : 1;
|
|
14262
14262
|
}, e.timeScale = function(i) {
|
|
14263
14263
|
if (!arguments.length)
|
|
14264
|
-
return this._rts === -
|
|
14264
|
+
return this._rts === -ut ? 0 : this._rts;
|
|
14265
14265
|
if (this._rts === i)
|
|
14266
14266
|
return this;
|
|
14267
14267
|
var n = this.parent && this._ts ? ts(this.parent._time, this) : this._tTime;
|
|
14268
|
-
return this._rts = +i || 0, this._ts = this._ps || i === -
|
|
14268
|
+
return this._rts = +i || 0, this._ts = this._ps || i === -ut ? 0 : this._rts, this.totalTime(en(-this._delay, this._tDur, n), !0), fs(this), ay(this);
|
|
14269
14269
|
}, e.paused = function(i) {
|
|
14270
|
-
return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (cr(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !==
|
|
14270
|
+
return arguments.length ? (this._ps !== i && (this._ps = i, i ? (this._pTime = this._tTime || Math.max(-this._delay, this.rawTime()), this._ts = this._act = 0) : (cr(), this._ts = this._rts, this.totalTime(this.parent && !this.parent.smoothChildTiming ? this.rawTime() : this._tTime || this._pTime, this.progress() === 1 && Math.abs(this._zTime) !== ut && (this._tTime -= ut)))), this) : this._ps;
|
|
14271
14271
|
}, e.startTime = function(i) {
|
|
14272
14272
|
if (arguments.length) {
|
|
14273
14273
|
this._start = i;
|
|
@@ -14276,7 +14276,7 @@ var Vl = function(e, t) {
|
|
|
14276
14276
|
}
|
|
14277
14277
|
return this._start;
|
|
14278
14278
|
}, e.endTime = function(i) {
|
|
14279
|
-
return this._start + (
|
|
14279
|
+
return this._start + (qt(i) ? this.totalDuration() : this.duration()) / Math.abs(this._ts || 1);
|
|
14280
14280
|
}, e.rawTime = function(i) {
|
|
14281
14281
|
var n = this.parent || this._dp;
|
|
14282
14282
|
return n ? i && (!this._ts || this._repeat && this._time && this.totalProgress() < 1) ? this._tTime % (this._dur + this._rDelay) : this._ts ? ts(n.rawTime(i), this) : this._tTime : this._tTime;
|
|
@@ -14299,9 +14299,9 @@ var Vl = function(e, t) {
|
|
|
14299
14299
|
}, e.yoyo = function(i) {
|
|
14300
14300
|
return arguments.length ? (this._yoyo = i, this) : this._yoyo;
|
|
14301
14301
|
}, e.seek = function(i, n) {
|
|
14302
|
-
return this.totalTime(le(this, i),
|
|
14302
|
+
return this.totalTime(le(this, i), qt(n));
|
|
14303
14303
|
}, e.restart = function(i, n) {
|
|
14304
|
-
return this.play().totalTime(i ? -this._delay : 0,
|
|
14304
|
+
return this.play().totalTime(i ? -this._delay : 0, qt(n));
|
|
14305
14305
|
}, e.play = function(i, n) {
|
|
14306
14306
|
return i != null && this.seek(i, n), this.reversed(!1).paused(!1);
|
|
14307
14307
|
}, e.reverse = function(i, n) {
|
|
@@ -14311,12 +14311,12 @@ var Vl = function(e, t) {
|
|
|
14311
14311
|
}, e.resume = function() {
|
|
14312
14312
|
return this.paused(!1);
|
|
14313
14313
|
}, e.reversed = function(i) {
|
|
14314
|
-
return arguments.length ? (!!i !== this.reversed() && this.timeScale(-this._rts || (i ? -
|
|
14314
|
+
return arguments.length ? (!!i !== this.reversed() && this.timeScale(-this._rts || (i ? -ut : 0)), this) : this._rts < 0;
|
|
14315
14315
|
}, e.invalidate = function() {
|
|
14316
|
-
return this._initted = this._act = 0, this._zTime = -
|
|
14316
|
+
return this._initted = this._act = 0, this._zTime = -ut, this;
|
|
14317
14317
|
}, e.isActive = function() {
|
|
14318
14318
|
var i = this.parent || this._dp, n = this._start, s;
|
|
14319
|
-
return !!(!i || this._ts && this._initted && i.isActive() && (s = i.rawTime(!0)) >= n && s < this.endTime(!0) -
|
|
14319
|
+
return !!(!i || this._ts && this._initted && i.isActive() && (s = i.rawTime(!0)) >= n && s < this.endTime(!0) - ut);
|
|
14320
14320
|
}, e.eventCallback = function(i, n, s) {
|
|
14321
14321
|
var a = this.vars;
|
|
14322
14322
|
return arguments.length > 1 ? (n ? (a[i] = n, s && (a[i + "Params"] = s), i === "onUpdate" && (this._onUpdate = n)) : delete a[i], this) : a[i];
|
|
@@ -14348,16 +14348,16 @@ ve(dr.prototype, {
|
|
|
14348
14348
|
_ts: 1,
|
|
14349
14349
|
_dp: 0,
|
|
14350
14350
|
ratio: 0,
|
|
14351
|
-
_zTime: -
|
|
14351
|
+
_zTime: -ut,
|
|
14352
14352
|
_prom: 0,
|
|
14353
14353
|
_ps: !1,
|
|
14354
14354
|
_rts: 1
|
|
14355
14355
|
});
|
|
14356
|
-
var
|
|
14356
|
+
var Kt = /* @__PURE__ */ function(r) {
|
|
14357
14357
|
cl(e, r);
|
|
14358
14358
|
function e(i, n) {
|
|
14359
14359
|
var s;
|
|
14360
|
-
return i === void 0 && (i = {}), s = r.call(this, i) || this, s.labels = {}, s.smoothChildTiming = !!i.smoothChildTiming, s.autoRemoveChildren = !!i.autoRemoveChildren, s._sort =
|
|
14360
|
+
return i === void 0 && (i = {}), s = r.call(this, i) || this, s.labels = {}, s.smoothChildTiming = !!i.smoothChildTiming, s.autoRemoveChildren = !!i.autoRemoveChildren, s._sort = qt(i.sortChildren), gt && Fe(i.parent || gt, je(s), n), i.reversed && s.reverse(), i.paused && s.paused(!0), i.scrollTrigger && Ol(je(s), i.scrollTrigger), s;
|
|
14361
14361
|
}
|
|
14362
14362
|
var t = e.prototype;
|
|
14363
14363
|
return t.to = function(n, s, a) {
|
|
@@ -14373,25 +14373,25 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14373
14373
|
}, t.staggerTo = function(n, s, a, o, h, u, l) {
|
|
14374
14374
|
return a.duration = s, a.stagger = a.stagger || o, a.onComplete = u, a.onCompleteParams = l, a.parent = this, new Mt(n, a, le(this, h)), this;
|
|
14375
14375
|
}, t.staggerFrom = function(n, s, a, o, h, u, l) {
|
|
14376
|
-
return a.runBackwards = 1, Ar(a).immediateRender =
|
|
14376
|
+
return a.runBackwards = 1, Ar(a).immediateRender = qt(a.immediateRender), this.staggerTo(n, s, a, o, h, u, l);
|
|
14377
14377
|
}, t.staggerFromTo = function(n, s, a, o, h, u, l, f) {
|
|
14378
|
-
return o.startAt = a, Ar(o).immediateRender =
|
|
14378
|
+
return o.startAt = a, Ar(o).immediateRender = qt(o.immediateRender), this.staggerTo(n, s, o, h, u, l, f);
|
|
14379
14379
|
}, t.render = function(n, s, a) {
|
|
14380
|
-
var o = this._time, h = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, l = n <= 0 ? 0 :
|
|
14380
|
+
var o = this._time, h = this._dirty ? this.totalDuration() : this._tDur, u = this._dur, l = n <= 0 ? 0 : Xt(n), f = this._zTime < 0 != n < 0 && (this._initted || !u), c, d, v, p, _, g, m, y, x, b, T, E;
|
|
14381
14381
|
if (this !== gt && l > h && n >= 0 && (l = h), l !== this._tTime || a || f) {
|
|
14382
14382
|
if (o !== this._time && u && (l += this._time - o, n += this._time - o), c = l, x = this._start, y = this._ts, g = !y, f && (u || (o = this._zTime), (n || !s) && (this._zTime = n)), this._repeat) {
|
|
14383
14383
|
if (T = this._yoyo, _ = u + this._rDelay, this._repeat < -1 && n < 0)
|
|
14384
14384
|
return this.totalTime(_ * 100 + n, s, a);
|
|
14385
|
-
if (c =
|
|
14385
|
+
if (c = Xt(l % _), l === h ? (p = this._repeat, c = u) : (p = ~~(l / _), p && p === l / _ && (c = u, p--), c > u && (c = u)), b = lr(this._tTime, _), !o && this._tTime && b !== p && (b = p), T && p & 1 && (c = u - c, E = 1), p !== b && !this._lock) {
|
|
14386
14386
|
var w = T && b & 1, S = w === (T && p & 1);
|
|
14387
|
-
if (p < b && (w = !w), o = w ? 0 : u, this._lock = 1, this.render(o || (E ? 0 :
|
|
14387
|
+
if (p < b && (w = !w), o = w ? 0 : u, this._lock = 1, this.render(o || (E ? 0 : Xt(p * _)), s, !u)._lock = 0, this._tTime = l, !s && this.parent && pe(this, "onRepeat"), this.vars.repeatRefresh && !E && (this.invalidate()._lock = 1), o && o !== this._time || g !== !this._ts || this.vars.onRepeat && !this.parent && !this._act)
|
|
14388
14388
|
return this;
|
|
14389
14389
|
if (u = this._dur, h = this._tDur, S && (this._lock = 2, o = w ? u : -1e-4, this.render(o, !0), this.vars.repeatRefresh && !E && this.invalidate()), this._lock = 0, !this._ts && !g)
|
|
14390
14390
|
return this;
|
|
14391
14391
|
Hl(this, E);
|
|
14392
14392
|
}
|
|
14393
14393
|
}
|
|
14394
|
-
if (this._hasPause && !this._forcing && this._lock < 2 && (m = ly(this,
|
|
14394
|
+
if (this._hasPause && !this._forcing && this._lock < 2 && (m = ly(this, Xt(o), Xt(c)), m && (l -= c - (c = m._start))), this._tTime = l, this._time = c, this._act = !y, this._initted || (this._onUpdate = this.vars.onUpdate, this._initted = 1, this._zTime = n, o = 0), !o && c && !s && (pe(this, "onStart"), this._tTime !== l))
|
|
14395
14395
|
return this;
|
|
14396
14396
|
if (c >= o && n >= 0)
|
|
14397
14397
|
for (d = this._first; d; ) {
|
|
@@ -14399,7 +14399,7 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14399
14399
|
if (d.parent !== this)
|
|
14400
14400
|
return this.render(n, s, a);
|
|
14401
14401
|
if (d.render(d._ts > 0 ? (c - d._start) * d._ts : (d._dirty ? d.totalDuration() : d._tDur) + (c - d._start) * d._ts, s, a), c !== this._time || !this._ts && !g) {
|
|
14402
|
-
m = 0, v && (l += this._zTime = -
|
|
14402
|
+
m = 0, v && (l += this._zTime = -ut);
|
|
14403
14403
|
break;
|
|
14404
14404
|
}
|
|
14405
14405
|
}
|
|
@@ -14412,14 +14412,14 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14412
14412
|
if (d.parent !== this)
|
|
14413
14413
|
return this.render(n, s, a);
|
|
14414
14414
|
if (d.render(d._ts > 0 ? (R - d._start) * d._ts : (d._dirty ? d.totalDuration() : d._tDur) + (R - d._start) * d._ts, s, a || jt && (d._initted || d._startAt)), c !== this._time || !this._ts && !g) {
|
|
14415
|
-
m = 0, v && (l += this._zTime = R ? -
|
|
14415
|
+
m = 0, v && (l += this._zTime = R ? -ut : ut);
|
|
14416
14416
|
break;
|
|
14417
14417
|
}
|
|
14418
14418
|
}
|
|
14419
14419
|
d = v;
|
|
14420
14420
|
}
|
|
14421
14421
|
}
|
|
14422
|
-
if (m && !s && (this.pause(), m.render(c >= o ? 0 : -
|
|
14422
|
+
if (m && !s && (this.pause(), m.render(c >= o ? 0 : -ut)._zTime = c >= o ? 1 : -1, this._ts))
|
|
14423
14423
|
return this._start = x, fs(this), this.render(n, s, a);
|
|
14424
14424
|
this._onUpdate && !s && pe(this, "onUpdate", !0), (l === h && this._tTime >= this.totalDuration() || !l && o) && (x === this._start || Math.abs(y) !== Math.abs(this._ts)) && (this._lock || ((n || !u) && (l === h && this._ts > 0 || !l && this._ts < 0) && di(this, 1), !s && !(n < 0 && !o) && (l || o || !h) && (pe(this, l === h && n >= 0 ? "onComplete" : "onReverseComplete", !0), this._prom && !(l < h && this.timeScale() > 0) && this._prom())));
|
|
14425
14425
|
}
|
|
@@ -14451,7 +14451,7 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14451
14451
|
}, t.remove = function(n) {
|
|
14452
14452
|
return Gt(n) ? this.removeLabel(n) : St(n) ? this.killTweensOf(n) : (ls(this, n), n === this._recent && (this._recent = this._last), Fi(this));
|
|
14453
14453
|
}, t.totalTime = function(n, s) {
|
|
14454
|
-
return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start =
|
|
14454
|
+
return arguments.length ? (this._forcing = 1, !this._dp && this._ts && (this._start = Xt(re.time - (this._ts > 0 ? n / this._ts : (this.totalDuration() - n) / -this._ts))), r.prototype.totalTime.call(this, n, s), this._forcing = 0, this) : this._tTime;
|
|
14455
14455
|
}, t.addLabel = function(n, s) {
|
|
14456
14456
|
return this.labels[n] = le(this, s), this;
|
|
14457
14457
|
}, t.removeLabel = function(n) {
|
|
@@ -14479,7 +14479,7 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14479
14479
|
immediateRender: !1,
|
|
14480
14480
|
time: o,
|
|
14481
14481
|
overwrite: "auto",
|
|
14482
|
-
duration: s.duration || Math.abs((o - (u && "time" in u ? u.time : a._time)) / a.timeScale()) ||
|
|
14482
|
+
duration: s.duration || Math.abs((o - (u && "time" in u ? u.time : a._time)) / a.timeScale()) || ut,
|
|
14483
14483
|
onStart: function() {
|
|
14484
14484
|
if (a.pause(), !d) {
|
|
14485
14485
|
var _ = s.duration || Math.abs((o - (u && "time" in u ? u.time : a._time)) / a.timeScale());
|
|
@@ -14502,7 +14502,7 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14502
14502
|
}, t.previousLabel = function(n) {
|
|
14503
14503
|
return n === void 0 && (n = this._time), eu(this, le(this, n), 1);
|
|
14504
14504
|
}, t.currentLabel = function(n) {
|
|
14505
|
-
return arguments.length ? this.seek(n, !0) : this.previousLabel(this._time +
|
|
14505
|
+
return arguments.length ? this.seek(n, !0) : this.previousLabel(this._time + ut);
|
|
14506
14506
|
}, t.shiftChildren = function(n, s, a) {
|
|
14507
14507
|
a === void 0 && (a = 0);
|
|
14508
14508
|
for (var o = this._first, h = this.labels, u; o; )
|
|
@@ -14532,24 +14532,24 @@ var qt = /* @__PURE__ */ function(r) {
|
|
|
14532
14532
|
}
|
|
14533
14533
|
return a._tDur;
|
|
14534
14534
|
}, e.updateRoot = function(n) {
|
|
14535
|
-
if (gt._ts && (Sl(gt, ts(n, gt)), Tl =
|
|
14536
|
-
$h +=
|
|
14535
|
+
if (gt._ts && (Sl(gt, ts(n, gt)), Tl = re.frame), re.frame >= $h) {
|
|
14536
|
+
$h += se.autoSleep || 120;
|
|
14537
14537
|
var s = gt._first;
|
|
14538
|
-
if ((!s || !s._ts) &&
|
|
14538
|
+
if ((!s || !s._ts) && se.autoSleep && re._listeners.length < 2) {
|
|
14539
14539
|
for (; s && !s._ts; )
|
|
14540
14540
|
s = s._next;
|
|
14541
|
-
s ||
|
|
14541
|
+
s || re.sleep();
|
|
14542
14542
|
}
|
|
14543
14543
|
}
|
|
14544
14544
|
}, e;
|
|
14545
14545
|
}(dr);
|
|
14546
|
-
ve(
|
|
14546
|
+
ve(Kt.prototype, {
|
|
14547
14547
|
_lock: 0,
|
|
14548
14548
|
_hasPause: 0,
|
|
14549
14549
|
_forcing: 0
|
|
14550
14550
|
});
|
|
14551
14551
|
var Py = function(e, t, i, n, s, a, o) {
|
|
14552
|
-
var h = new
|
|
14552
|
+
var h = new Jt(this._pt, e, t, 0, 1, ql, null, s), u = 0, l = 0, f, c, d, v, p, _, g, m;
|
|
14553
14553
|
for (h.b = i, h.e = n, i += "", n += "", (g = ~n.indexOf("random(")) && (n = Yr(n)), a && (m = [i, n], a(m, e, t), i = m[0], n = m[1]), c = i.match(Ys) || []; f = Ys.exec(n); )
|
|
14554
14554
|
v = f[0], p = n.substring(u, f.index), d ? d = (d + 1) % 5 : p.substr(-5) === "rgba(" && (d = 1), v !== c[l++] && (_ = parseFloat(c[l - 1]) || 0, h._pt = {
|
|
14555
14555
|
_next: h._pt,
|
|
@@ -14563,7 +14563,7 @@ var Py = function(e, t, i, n, s, a, o) {
|
|
|
14563
14563
|
St(n) && (n = n(s || 0, e, a));
|
|
14564
14564
|
var f = e[t], c = i !== "get" ? i : St(f) ? u ? e[t.indexOf("set") || !St(e["get" + t.substr(3)]) ? t : "get" + t.substr(3)](u) : e[t]() : f, d = St(f) ? u ? Ny : Zl : Po, v;
|
|
14565
14565
|
if (Gt(n) && (~n.indexOf("random(") && (n = Yr(n)), n.charAt(1) === "=" && (v = sr(c, n) + (Yt(c) || 0), (v || v === 0) && (n = v))), !l || c !== n || to)
|
|
14566
|
-
return !isNaN(c * n) && n !== "" ? (v = new
|
|
14566
|
+
return !isNaN(c * n) && n !== "" ? (v = new Jt(this._pt, e, t, +c || 0, n - (c || 0), typeof f == "boolean" ? Dy : Kl, 0, d), u && (v.fp = u), o && v.modifier(o, this, e), this._pt = v) : (!f && !(t in e) && xo(t, n), Py.call(this, e, t, c, n, d, h || se.stringFilter, u));
|
|
14567
14567
|
}, Cy = function(e, t, i, n, s) {
|
|
14568
14568
|
if (St(e) && (e = Nr(e, s, t, i, n)), !Xe(e) || e.style && e.nodeType || Zt(e) || vl(e))
|
|
14569
14569
|
return Gt(e) ? Nr(e, s, t, i, n) : e;
|
|
@@ -14573,7 +14573,7 @@ var Py = function(e, t, i, n, s, a, o) {
|
|
|
14573
14573
|
return a;
|
|
14574
14574
|
}, zl = function(e, t, i, n, s, a) {
|
|
14575
14575
|
var o, h, u, l;
|
|
14576
|
-
if (
|
|
14576
|
+
if (te[e] && (o = new te[e]()).init(s, o.rawVars ? t[e] : Cy(t[e], n, s, a, i), i, n, a) !== !1 && (i._pt = h = new Jt(i._pt, s, e, 0, 1, o.render, o, 0, o.priority), i !== er))
|
|
14577
14577
|
for (u = i._ptLookup[i._targets.indexOf(s)], l = o._props.length; l--; )
|
|
14578
14578
|
u[o._props[l]] = h;
|
|
14579
14579
|
return o;
|
|
@@ -14586,7 +14586,7 @@ var Py = function(e, t, i, n, s, a, o) {
|
|
|
14586
14586
|
overwrite: !1,
|
|
14587
14587
|
parent: y,
|
|
14588
14588
|
immediateRender: !0,
|
|
14589
|
-
lazy: !g &&
|
|
14589
|
+
lazy: !g && qt(h),
|
|
14590
14590
|
startAt: null,
|
|
14591
14591
|
delay: 0,
|
|
14592
14592
|
onUpdate: u,
|
|
@@ -14601,21 +14601,21 @@ var Py = function(e, t, i, n, s, a, o) {
|
|
|
14601
14601
|
if (t && (o = !1), S = ve({
|
|
14602
14602
|
overwrite: !1,
|
|
14603
14603
|
data: "isFromStart",
|
|
14604
|
-
lazy: o && !g &&
|
|
14604
|
+
lazy: o && !g && qt(h),
|
|
14605
14605
|
immediateRender: o,
|
|
14606
14606
|
stagger: 0,
|
|
14607
14607
|
parent: y
|
|
14608
14608
|
}, E), V && (S[L.prop] = V), di(e._startAt = Mt.set(m, S)), e._startAt._dp = 0, e._startAt._sat = e, t < 0 && (jt ? e._startAt.revert(Fn) : e._startAt.render(-1, !0)), e._zTime = t, !o)
|
|
14609
|
-
r(e._startAt,
|
|
14609
|
+
r(e._startAt, ut, ut);
|
|
14610
14610
|
else if (!t)
|
|
14611
14611
|
return;
|
|
14612
14612
|
}
|
|
14613
|
-
for (e._pt = e._ptCache = 0, h = _ &&
|
|
14614
|
-
if (O = m[w], B = O._gsap || So(m)[w]._gsap, e._ptLookup[w] = I = {}, Za[B.id] && ui.length && Jn(), F = x === m ? w : x.indexOf(O), L && (A = new L()).init(O, V || E, e, F, x) !== !1 && (e._pt = R = new
|
|
14613
|
+
for (e._pt = e._ptCache = 0, h = _ && qt(h) || h && !_, w = 0; w < m.length; w++) {
|
|
14614
|
+
if (O = m[w], B = O._gsap || So(m)[w]._gsap, e._ptLookup[w] = I = {}, Za[B.id] && ui.length && Jn(), F = x === m ? w : x.indexOf(O), L && (A = new L()).init(O, V || E, e, F, x) !== !1 && (e._pt = R = new Jt(e._pt, O, A.name, 0, 1, A.render, A, 0, A.priority), A._props.forEach(function(M) {
|
|
14615
14615
|
I[M] = R;
|
|
14616
14616
|
}), A.priority && (N = 1)), !L || V)
|
|
14617
14617
|
for (S in E)
|
|
14618
|
-
|
|
14618
|
+
te[S] && (A = zl(S, E, e, F, O, x)) ? A.priority && (N = 1) : I[S] = R = wo.call(e, O, S, "get", E[S], F, x, 0, n.stringFilter);
|
|
14619
14619
|
e._op && e._op[w] && e.kill(O, e._op[w]), b && e._pt && (si = e, gt.killTweensOf(O, I, e.globalTime(t)), W = !e.parent, si = 0), e._pt && h && (Za[B.id] = 1);
|
|
14620
14620
|
}
|
|
14621
14621
|
N && $l(e), e._onInit && e._onInit(e);
|
|
@@ -14664,7 +14664,7 @@ var Py = function(e, t, i, n, s, a, o) {
|
|
|
14664
14664
|
}, Nr = function(e, t, i, n, s) {
|
|
14665
14665
|
return St(e) ? e.call(t, i, n, s) : Gt(e) && ~e.indexOf("random(") ? Yr(e) : e;
|
|
14666
14666
|
}, Yl = Eo + "repeat,repeatDelay,yoyo,repeatRefresh,yoyoEase,autoRevert", jl = {};
|
|
14667
|
-
|
|
14667
|
+
$t(Yl + ",id,stagger,delay,duration,paused,scrollTrigger", function(r) {
|
|
14668
14668
|
return jl[r] = 1;
|
|
14669
14669
|
});
|
|
14670
14670
|
var Mt = /* @__PURE__ */ function(r) {
|
|
@@ -14673,8 +14673,8 @@ var Mt = /* @__PURE__ */ function(r) {
|
|
|
14673
14673
|
var o;
|
|
14674
14674
|
typeof n == "number" && (s.duration = n, n = s, s = null), o = r.call(this, a ? n : Ar(n)) || this;
|
|
14675
14675
|
var h = o.vars, u = h.duration, l = h.delay, f = h.immediateRender, c = h.stagger, d = h.overwrite, v = h.keyframes, p = h.defaults, _ = h.scrollTrigger, g = h.yoyoEase, m = n.parent || gt, y = (Zt(i) || vl(i) ? ti(i[0]) : "length" in n) ? [i] : de(i), x, b, T, E, w, S, R, O;
|
|
14676
|
-
if (o._targets = y.length ? So(y) : $n("GSAP target " + i + " not found. https://greensock.com", !
|
|
14677
|
-
if (n = o.vars, x = o.timeline = new
|
|
14676
|
+
if (o._targets = y.length ? So(y) : $n("GSAP target " + i + " not found. https://greensock.com", !se.nullTargetWarn) || [], o._ptLookup = [], o._overwrite = d, v || c || On(u) || On(l)) {
|
|
14677
|
+
if (n = o.vars, x = o.timeline = new Kt({
|
|
14678
14678
|
data: "nested",
|
|
14679
14679
|
defaults: p || {},
|
|
14680
14680
|
targets: m && m.data === "nested" ? m.vars.targets : y
|
|
@@ -14714,20 +14714,20 @@ var Mt = /* @__PURE__ */ function(r) {
|
|
|
14714
14714
|
u || o.duration(u = x.duration());
|
|
14715
14715
|
} else
|
|
14716
14716
|
o.timeline = 0;
|
|
14717
|
-
return d === !0 && !mo && (si = je(o), gt.killTweensOf(y), si = 0), Fe(m, je(o), s), n.reversed && o.reverse(), n.paused && o.paused(!0), (f || !u && !v && o._start ===
|
|
14717
|
+
return d === !0 && !mo && (si = je(o), gt.killTweensOf(y), si = 0), Fe(m, je(o), s), n.reversed && o.reverse(), n.paused && o.paused(!0), (f || !u && !v && o._start === Xt(m._time) && qt(f) && oy(je(o)) && m.data !== "nested") && (o._tTime = -ut, o.render(Math.max(0, -l) || 0)), _ && Ol(je(o), _), o;
|
|
14718
14718
|
}
|
|
14719
14719
|
var t = e.prototype;
|
|
14720
14720
|
return t.render = function(n, s, a) {
|
|
14721
|
-
var o = this._time, h = this._tDur, u = this._dur, l = n < 0, f = n > h -
|
|
14721
|
+
var o = this._time, h = this._tDur, u = this._dur, l = n < 0, f = n > h - ut && !l ? h : n < ut ? 0 : n, c, d, v, p, _, g, m, y, x;
|
|
14722
14722
|
if (!u)
|
|
14723
14723
|
uy(this, n, s, a);
|
|
14724
14724
|
else if (f !== this._tTime || !n || a || !this._initted && this._tTime || this._startAt && this._zTime < 0 !== l) {
|
|
14725
14725
|
if (c = f, y = this.timeline, this._repeat) {
|
|
14726
14726
|
if (p = u + this._rDelay, this._repeat < -1 && l)
|
|
14727
14727
|
return this.totalTime(p * 100 + n, s, a);
|
|
14728
|
-
if (c =
|
|
14728
|
+
if (c = Xt(f % p), f === h ? (v = this._repeat, c = u) : (v = ~~(f / p), v && v === f / p && (c = u, v--), c > u && (c = u)), g = this._yoyo && v & 1, g && (x = this._yEase, c = u - c), _ = lr(this._tTime, p), c === o && !a && this._initted)
|
|
14729
14729
|
return this._tTime = f, this;
|
|
14730
|
-
v !== _ && (y && this._yEase && Hl(y, g), this.vars.repeatRefresh && !g && !this._lock && (this._lock = a = 1, this.render(
|
|
14730
|
+
v !== _ && (y && this._yEase && Hl(y, g), this.vars.repeatRefresh && !g && !this._lock && (this._lock = a = 1, this.render(Xt(p * v), !0).invalidate()._lock = 0));
|
|
14731
14731
|
}
|
|
14732
14732
|
if (!this._initted) {
|
|
14733
14733
|
if (Al(this, l ? n : c, a, s, f))
|
|
@@ -14741,7 +14741,7 @@ var Mt = /* @__PURE__ */ function(r) {
|
|
|
14741
14741
|
return this;
|
|
14742
14742
|
for (d = this._pt; d; )
|
|
14743
14743
|
d.r(m, d.d), d = d._next;
|
|
14744
|
-
y && y.render(n < 0 ? n : !c && g ? -
|
|
14744
|
+
y && y.render(n < 0 ? n : !c && g ? -ut : y._dur * y._ease(c / this._dur), s, a) || this._startAt && (this._zTime = n), this._onUpdate && !s && (l && Ka(this, n, s, a), pe(this, "onUpdate")), this._repeat && v !== _ && this.vars.onRepeat && !s && this.parent && pe(this, "onRepeat"), (f === this._tDur || !f) && this._tTime === f && (l && !this._onUpdate && Ka(this, n, !0, !0), (n || !u) && (f === this._tDur && this._ts > 0 || !f && this._ts < 0) && di(this, 1), !s && !(l && !o) && (f || o || g) && (pe(this, f === h ? "onComplete" : "onReverseComplete", !0), this._prom && !(f < h && this.timeScale() > 0) && this._prom()));
|
|
14745
14745
|
}
|
|
14746
14746
|
return this;
|
|
14747
14747
|
}, t.targets = function() {
|
|
@@ -14749,7 +14749,7 @@ var Mt = /* @__PURE__ */ function(r) {
|
|
|
14749
14749
|
}, t.invalidate = function(n) {
|
|
14750
14750
|
return (!n || !this.vars.runBackwards) && (this._startAt = 0), this._pt = this._op = this._onUpdate = this._lazy = this.ratio = 0, this._ptLookup = [], this.timeline && this.timeline.invalidate(n), r.prototype.invalidate.call(this, n);
|
|
14751
14751
|
}, t.resetTo = function(n, s, a, o) {
|
|
14752
|
-
jr ||
|
|
14752
|
+
jr || re.wake(), this._ts || this.play();
|
|
14753
14753
|
var h = Math.min(this._dur, (this._dp._time - this._start) * this._ts), u;
|
|
14754
14754
|
return this._initted || Ro(this, h), u = this._ease(h / this._dur), Oy(this, n, s, a, o, u, h) ? this.resetTo(n, s, a, o) : (cs(this, 0), this.parent || Pl(this._dp, this, "_first", "_last", this._dp._sort ? "_start" : 0), this.render(0));
|
|
14755
14755
|
}, t.kill = function(n, s) {
|
|
@@ -14762,7 +14762,7 @@ var Mt = /* @__PURE__ */ function(r) {
|
|
|
14762
14762
|
var o = this._targets, h = n ? de(n) : o, u = this._ptLookup, l = this._pt, f, c, d, v, p, _, g;
|
|
14763
14763
|
if ((!s || s === "all") && sy(o, h))
|
|
14764
14764
|
return s === "all" && (this._pt = 0), Pr(this);
|
|
14765
|
-
for (f = this._op = this._op || [], s !== "all" && (Gt(s) && (p = {},
|
|
14765
|
+
for (f = this._op = this._op || [], s !== "all" && (Gt(s) && (p = {}, $t(s, function(m) {
|
|
14766
14766
|
return p[m] = 1;
|
|
14767
14767
|
}), s = p), s = Ay(o, s)), g = o.length; g--; )
|
|
14768
14768
|
if (~h.indexOf(o[g])) {
|
|
@@ -14802,9 +14802,9 @@ ve(Mt.prototype, {
|
|
|
14802
14802
|
_op: 0,
|
|
14803
14803
|
_onInit: 0
|
|
14804
14804
|
});
|
|
14805
|
-
|
|
14805
|
+
$t("staggerTo,staggerFrom,staggerFromTo", function(r) {
|
|
14806
14806
|
Mt[r] = function() {
|
|
14807
|
-
var e = new
|
|
14807
|
+
var e = new Kt(), t = $a.call(arguments, 0);
|
|
14808
14808
|
return t.splice(r === "staggerFromTo" ? 5 : 4, 0, 0), e[r].apply(e, t);
|
|
14809
14809
|
};
|
|
14810
14810
|
});
|
|
@@ -14853,7 +14853,7 @@ var Po = function(e, t, i) {
|
|
|
14853
14853
|
(t._prev = n ? n._prev : a) ? t._prev._next = t : s = t, (t._next = n) ? n._prev = t : a = t, t = i;
|
|
14854
14854
|
}
|
|
14855
14855
|
e._pt = s;
|
|
14856
|
-
},
|
|
14856
|
+
}, Jt = /* @__PURE__ */ function() {
|
|
14857
14857
|
function r(t, i, n, s, a, o, h, u, l) {
|
|
14858
14858
|
this.t = i, this.s = s, this.c = a, this.p = n, this.r = o || Kl, this.d = h || this, this.set = u || Po, this.pr = l || 0, this._next = t, t && (t._prev = this);
|
|
14859
14859
|
}
|
|
@@ -14862,19 +14862,19 @@ var Po = function(e, t, i) {
|
|
|
14862
14862
|
this.mSet = this.mSet || this.set, this.set = Ly, this.m = i, this.mt = s, this.tween = n;
|
|
14863
14863
|
}, r;
|
|
14864
14864
|
}();
|
|
14865
|
-
|
|
14865
|
+
$t(Eo + "parent,duration,ease,delay,overwrite,runBackwards,startAt,yoyo,immediateRender,repeat,repeatDelay,data,paused,reversed,lazy,callbackScope,stringFilter,id,yoyoEase,stagger,inherit,repeatRefresh,keyframes,autoRevert,scrollTrigger", function(r) {
|
|
14866
14866
|
return To[r] = 1;
|
|
14867
14867
|
});
|
|
14868
|
-
|
|
14869
|
-
|
|
14870
|
-
gt = new
|
|
14868
|
+
oe.TweenMax = oe.TweenLite = Mt;
|
|
14869
|
+
oe.TimelineLite = oe.TimelineMax = Kt;
|
|
14870
|
+
gt = new Kt({
|
|
14871
14871
|
sortChildren: !1,
|
|
14872
14872
|
defaults: ur,
|
|
14873
14873
|
autoRemoveChildren: !0,
|
|
14874
14874
|
id: "root",
|
|
14875
14875
|
smoothChildTiming: !0
|
|
14876
14876
|
});
|
|
14877
|
-
|
|
14877
|
+
se.stringFilter = kl;
|
|
14878
14878
|
var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
14879
14879
|
return (Ln[e] || Gy).map(function(t) {
|
|
14880
14880
|
return t();
|
|
@@ -14974,7 +14974,7 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
14974
14974
|
});
|
|
14975
14975
|
},
|
|
14976
14976
|
timeline: function(e) {
|
|
14977
|
-
return new
|
|
14977
|
+
return new Kt(e);
|
|
14978
14978
|
},
|
|
14979
14979
|
getTweensOf: function(e, t) {
|
|
14980
14980
|
return gt.getTweensOf(e, t);
|
|
@@ -14982,14 +14982,14 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
14982
14982
|
getProperty: function(e, t, i, n) {
|
|
14983
14983
|
Gt(e) && (e = de(e)[0]);
|
|
14984
14984
|
var s = Di(e || {}).get, a = i ? Rl : wl;
|
|
14985
|
-
return i === "native" && (i = ""), e && (t ? a((
|
|
14986
|
-
return a((
|
|
14985
|
+
return i === "native" && (i = ""), e && (t ? a((te[t] && te[t].get || s)(e, t, i, n)) : function(o, h, u) {
|
|
14986
|
+
return a((te[o] && te[o].get || s)(e, o, h, u));
|
|
14987
14987
|
});
|
|
14988
14988
|
},
|
|
14989
14989
|
quickSetter: function(e, t, i) {
|
|
14990
14990
|
if (e = de(e), e.length > 1) {
|
|
14991
14991
|
var n = e.map(function(l) {
|
|
14992
|
-
return
|
|
14992
|
+
return he.quickSetter(l, t, i);
|
|
14993
14993
|
}), s = n.length;
|
|
14994
14994
|
return function(l) {
|
|
14995
14995
|
for (var f = s; f--; )
|
|
@@ -14997,7 +14997,7 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
14997
14997
|
};
|
|
14998
14998
|
}
|
|
14999
14999
|
e = e[0] || {};
|
|
15000
|
-
var a =
|
|
15000
|
+
var a = te[t], o = Di(e), h = o.harness && (o.harness.aliases || {})[t] || t, u = a ? function(l) {
|
|
15001
15001
|
var f = new a();
|
|
15002
15002
|
er._pt = 0, f.init(e, i ? l + i : l, er, 0, [e]), f.render(1, f), er._pt && Oo(1, er);
|
|
15003
15003
|
} : o.set(e, h);
|
|
@@ -15006,7 +15006,7 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
15006
15006
|
};
|
|
15007
15007
|
},
|
|
15008
15008
|
quickTo: function(e, t, i) {
|
|
15009
|
-
var n, s =
|
|
15009
|
+
var n, s = he.to(e, ki((n = {}, n[t] = "+=0.1", n.paused = !0, n), i || {})), a = function(h, u, l) {
|
|
15010
15010
|
return s.resetTo(t, h, u, l);
|
|
15011
15011
|
};
|
|
15012
15012
|
return a.tween = s, a;
|
|
@@ -15018,15 +15018,15 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
15018
15018
|
return e && e.ease && (e.ease = Bi(e.ease, ur.ease)), Jh(ur, e || {});
|
|
15019
15019
|
},
|
|
15020
15020
|
config: function(e) {
|
|
15021
|
-
return Jh(
|
|
15021
|
+
return Jh(se, e || {});
|
|
15022
15022
|
},
|
|
15023
15023
|
registerEffect: function(e) {
|
|
15024
15024
|
var t = e.name, i = e.effect, n = e.plugins, s = e.defaults, a = e.extendTimeline;
|
|
15025
15025
|
(n || "").split(",").forEach(function(o) {
|
|
15026
|
-
return o && !
|
|
15026
|
+
return o && !te[o] && !oe[o] && $n(t + " effect requires " + o + " plugin.");
|
|
15027
15027
|
}), js[t] = function(o, h, u) {
|
|
15028
15028
|
return i(de(o), ve(h || {}, s), u);
|
|
15029
|
-
}, a && (
|
|
15029
|
+
}, a && (Kt.prototype[t] = function(o, h, u) {
|
|
15030
15030
|
return this.add(js[t](o, Xe(h) ? h : (u = h) && {}, this), u);
|
|
15031
15031
|
});
|
|
15032
15032
|
},
|
|
@@ -15041,8 +15041,8 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
15041
15041
|
},
|
|
15042
15042
|
exportRoot: function(e, t) {
|
|
15043
15043
|
e === void 0 && (e = {});
|
|
15044
|
-
var i = new
|
|
15045
|
-
for (i.smoothChildTiming =
|
|
15044
|
+
var i = new Kt(e), n, s;
|
|
15045
|
+
for (i.smoothChildTiming = qt(e.smoothChildTiming), gt.remove(i), i._dp = 0, i._time = i._tTime = gt._time, n = gt._first; n; )
|
|
15046
15046
|
s = n._next, (t || !(!n._dur && n instanceof Mt && n.vars.onComplete === n._targets[0])) && Fe(i, n, n._start - n._delay), n = s;
|
|
15047
15047
|
return Fe(gt, i, 0), i;
|
|
15048
15048
|
},
|
|
@@ -15088,15 +15088,15 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
15088
15088
|
},
|
|
15089
15089
|
install: bl,
|
|
15090
15090
|
effects: js,
|
|
15091
|
-
ticker:
|
|
15092
|
-
updateRoot:
|
|
15093
|
-
plugins:
|
|
15091
|
+
ticker: re,
|
|
15092
|
+
updateRoot: Kt.updateRoot,
|
|
15093
|
+
plugins: te,
|
|
15094
15094
|
globalTimeline: gt,
|
|
15095
15095
|
core: {
|
|
15096
|
-
PropTween:
|
|
15096
|
+
PropTween: Jt,
|
|
15097
15097
|
globals: xl,
|
|
15098
15098
|
Tween: Mt,
|
|
15099
|
-
Timeline:
|
|
15099
|
+
Timeline: Kt,
|
|
15100
15100
|
Animation: dr,
|
|
15101
15101
|
getCache: Di,
|
|
15102
15102
|
_removeLinkedListItem: ls,
|
|
@@ -15111,10 +15111,10 @@ var pr = [], Ln = {}, Gy = [], ru = 0, $s = function(e) {
|
|
|
15111
15111
|
}
|
|
15112
15112
|
}
|
|
15113
15113
|
};
|
|
15114
|
-
|
|
15114
|
+
$t("to,from,fromTo,delayedCall,set,killTweensOf", function(r) {
|
|
15115
15115
|
return es[r] = Mt[r];
|
|
15116
15116
|
});
|
|
15117
|
-
|
|
15117
|
+
re.add(Kt.updateRoot);
|
|
15118
15118
|
er = es.to({}, {
|
|
15119
15119
|
duration: 0
|
|
15120
15120
|
});
|
|
@@ -15134,7 +15134,7 @@ var ky = function(e, t) {
|
|
|
15134
15134
|
init: function(n, s, a) {
|
|
15135
15135
|
a._onInit = function(o) {
|
|
15136
15136
|
var h, u;
|
|
15137
|
-
if (Gt(s) && (h = {},
|
|
15137
|
+
if (Gt(s) && (h = {}, $t(s, function(l) {
|
|
15138
15138
|
return h[l] = 1;
|
|
15139
15139
|
}), s = h), t) {
|
|
15140
15140
|
h = {};
|
|
@@ -15146,7 +15146,7 @@ var ky = function(e, t) {
|
|
|
15146
15146
|
};
|
|
15147
15147
|
}
|
|
15148
15148
|
};
|
|
15149
|
-
},
|
|
15149
|
+
}, he = es.registerPlugin({
|
|
15150
15150
|
name: "attr",
|
|
15151
15151
|
init: function(e, t, i, n, s) {
|
|
15152
15152
|
var a, o, h;
|
|
@@ -15165,7 +15165,7 @@ var ky = function(e, t) {
|
|
|
15165
15165
|
this.add(e, i, e[i] || 0, t[i], 0, 0, 0, 0, 0, 1);
|
|
15166
15166
|
}
|
|
15167
15167
|
}, Js("roundProps", Qa), Js("modifiers"), Js("snap", Dl)) || es;
|
|
15168
|
-
Mt.version =
|
|
15168
|
+
Mt.version = Kt.version = he.version = "3.11.4";
|
|
15169
15169
|
yl = 1;
|
|
15170
15170
|
pl() && cr();
|
|
15171
15171
|
J.Power0;
|
|
@@ -15266,7 +15266,7 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15266
15266
|
}, no = function() {
|
|
15267
15267
|
Hy() && window.document && (nu = window, ai = nu.document, ar = ai.documentElement, Ai = ro("div") || {
|
|
15268
15268
|
style: {}
|
|
15269
|
-
}, ro("div"), yt = vr(yt), Oe = yt + "Origin", Ai.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", nf = !!vr("perspective"), Io =
|
|
15269
|
+
}, ro("div"), yt = vr(yt), Oe = yt + "Origin", Ai.style.cssText = "border-width:0;line-height:0;position:absolute;padding:0", nf = !!vr("perspective"), Io = he.core.reverting, Ao = 1);
|
|
15270
15270
|
}, Qs = function r(e) {
|
|
15271
15271
|
var t = ro("svg", this.ownerSVGElement && this.ownerSVGElement.getAttribute("xmlns") || "http://www.w3.org/2000/svg"), i = this.parentNode, n = this.nextSibling, s = this.style.cssText, a;
|
|
15272
15272
|
if (ar.appendChild(t), t.appendChild(this), this.style.display = "block", e)
|
|
@@ -15302,7 +15302,7 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15302
15302
|
t in ei && t !== Oe && (t = yt), i.removeProperty ? ((t.substr(0, 2) === "ms" || t.substr(0, 6) === "webkit") && (t = "-" + t), i.removeProperty(t.replace(No, "-$1").toLowerCase())) : i.removeAttribute(t);
|
|
15303
15303
|
}
|
|
15304
15304
|
}, oi = function(e, t, i, n, s, a) {
|
|
15305
|
-
var o = new
|
|
15305
|
+
var o = new Jt(e._pt, t, i, 0, 1, a ? tf : Ql);
|
|
15306
15306
|
return e._pt = o, o.b = n, o.e = s, e._props.push(i), o;
|
|
15307
15307
|
}, uu = {
|
|
15308
15308
|
deg: 1,
|
|
@@ -15313,7 +15313,7 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15313
15313
|
flex: 1
|
|
15314
15314
|
}, pi = function r(e, t, i, n) {
|
|
15315
15315
|
var s = parseFloat(i) || 0, a = (i + "").trim().substr((s + "").length) || "px", o = Ai.style, h = Wy.test(t), u = e.tagName.toLowerCase() === "svg", l = (u ? "client" : "offset") + (h ? "Width" : "Height"), f = 100, c = n === "px", d = n === "%", v, p, _, g;
|
|
15316
|
-
return n === a || !s || uu[n] || uu[a] ? s : (a !== "px" && !c && (s = r(e, t, i, "px")), g = e.getCTM && af(e), (d || a === "%") && (ei[t] || ~t.indexOf("adius")) ? (v = g ? e.getBBox()[h ? "width" : "height"] : e[l], Rt(d ? s / v * f : s / 100 * v)) : (o[h ? "width" : "height"] = f + (c ? a : n), p = ~t.indexOf("adius") || n === "em" && e.appendChild && !u ? e : e.parentNode, g && (p = (e.ownerSVGElement || {}).parentNode), (!p || p === ai || !p.appendChild) && (p = ai.body), _ = p._gsap, _ && d && _.width && h && _.time ===
|
|
15316
|
+
return n === a || !s || uu[n] || uu[a] ? s : (a !== "px" && !c && (s = r(e, t, i, "px")), g = e.getCTM && af(e), (d || a === "%") && (ei[t] || ~t.indexOf("adius")) ? (v = g ? e.getBBox()[h ? "width" : "height"] : e[l], Rt(d ? s / v * f : s / 100 * v)) : (o[h ? "width" : "height"] = f + (c ? a : n), p = ~t.indexOf("adius") || n === "em" && e.appendChild && !u ? e : e.parentNode, g && (p = (e.ownerSVGElement || {}).parentNode), (!p || p === ai || !p.appendChild) && (p = ai.body), _ = p._gsap, _ && d && _.width && h && _.time === re.time && !_.uncache ? Rt(s / _.width * f) : ((d || a === "%") && !ib[ke(p, "display")] && (o.position = ke(e, "position")), p === e && (o.position = "static"), p.appendChild(Ai), v = Ai[l], p.removeChild(Ai), o.position = "absolute", h && d && (_ = Di(p), _.time = re.time, _.width = p[l]), Rt(c ? v * s / f : v && s ? f / v * s : 0))));
|
|
15317
15317
|
}, Ze = function(e, t, i, n) {
|
|
15318
15318
|
var s;
|
|
15319
15319
|
return Ao || no(), t in Je && t !== "transform" && (t = Je[t], ~t.indexOf(",") && (t = t.split(",")[0])), ei[t] && t !== "transform" ? (s = qr(e, n), s = t !== "transformOrigin" ? s[t] : s.svg ? s.origin : rs(ke(e, Oe)) + " " + s.zOrigin + "px") : (s = e.style[t], (!s || s === "auto" || n || ~(s + "").indexOf("calc(")) && (s = is[t] && is[t](e, t, i) || ke(e, t) || El(e, t) || (t === "opacity" ? 1 : 0))), i && !~(s + "").trim().indexOf(" ") ? pi(e, t, s, i) + i : s;
|
|
@@ -15322,10 +15322,10 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15322
15322
|
var s = vr(t, e, 1), a = s && ke(e, s, 1);
|
|
15323
15323
|
a && a !== i ? (t = s, i = a) : t === "borderColor" && (i = ke(e, "borderTopColor"));
|
|
15324
15324
|
}
|
|
15325
|
-
var o = new
|
|
15325
|
+
var o = new Jt(this._pt, e.style, t, 0, 1, ql), h = 0, u = 0, l, f, c, d, v, p, _, g, m, y, x, b;
|
|
15326
15326
|
if (o.b = i, o.e = n, i += "", n += "", n === "auto" && (e.style[t] = n, n = ke(e, t) || n, e.style[t] = i), l = [i, n], kl(l), i = l[0], n = l[1], c = i.match(tr) || [], b = n.match(tr) || [], b.length) {
|
|
15327
15327
|
for (; f = tr.exec(n); )
|
|
15328
|
-
_ = f[0], m = n.substring(h, f.index), v ? v = (v + 1) % 5 : (m.substr(-5) === "rgba(" || m.substr(-5) === "hsla(") && (v = 1), _ !== (p = c[u++] || "") && (d = parseFloat(p) || 0, x = p.substr((d + "").length), _.charAt(1) === "=" && (_ = sr(d, _) + x), g = parseFloat(_), y = _.substr((g + "").length), h = tr.lastIndex - y.length, y || (y = y ||
|
|
15328
|
+
_ = f[0], m = n.substring(h, f.index), v ? v = (v + 1) % 5 : (m.substr(-5) === "rgba(" || m.substr(-5) === "hsla(") && (v = 1), _ !== (p = c[u++] || "") && (d = parseFloat(p) || 0, x = p.substr((d + "").length), _.charAt(1) === "=" && (_ = sr(d, _) + x), g = parseFloat(_), y = _.substr((g + "").length), h = tr.lastIndex - y.length, y || (y = y || se.units[t] || x, h === n.length && (n += y, o.e += y)), x !== y && (d = pi(e, t, p, y) || 0), o._pt = {
|
|
15329
15329
|
_next: o._pt,
|
|
15330
15330
|
p: m || u === 1 ? m : ",",
|
|
15331
15331
|
s: d,
|
|
@@ -15358,7 +15358,7 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15358
15358
|
}, is = {
|
|
15359
15359
|
clearProps: function(e, t, i, n, s) {
|
|
15360
15360
|
if (s.data !== "isFromStart") {
|
|
15361
|
-
var a = e._pt = new
|
|
15361
|
+
var a = e._pt = new Jt(e._pt, t, i, 0, 0, sb);
|
|
15362
15362
|
return a.u = n, a.pr = -10, a.tween = s, e._props.push(i), 1;
|
|
15363
15363
|
}
|
|
15364
15364
|
}
|
|
@@ -15378,7 +15378,7 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15378
15378
|
if ("x" in i && !t && !i.uncache)
|
|
15379
15379
|
return i;
|
|
15380
15380
|
var n = e.style, s = i.scaleX < 0, a = "px", o = "deg", h = getComputedStyle(e), u = ke(e, Oe) || "0", l, f, c, d, v, p, _, g, m, y, x, b, T, E, w, S, R, O, N, B, L, A, I, F, V, W, M, C, U, Z, z, tt;
|
|
15381
|
-
return l = f = c = p = _ = g = m = y = x = 0, d = v = 1, i.svg = !!(e.getCTM && af(e)), h.translate && ((h.translate !== "none" || h.scale !== "none" || h.rotate !== "none") && (n[yt] = (h.translate !== "none" ? "translate3d(" + (h.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (h.rotate !== "none" ? "rotate(" + h.rotate + ") " : "") + (h.scale !== "none" ? "scale(" + h.scale.split(" ").join(",") + ") " : "") + (h[yt] !== "none" ? h[yt] : "")), n.scale = n.rotate = n.translate = "none"), E = Mo(e, i.svg), i.svg && (i.uncache ? (V = e.getBBox(), u = i.xOrigin - V.x + "px " + (i.yOrigin - V.y) + "px", F = "") : F = !t && e.getAttribute("data-svg-origin"), so(e, F || u, !!F || i.originIsAbsolute, i.smooth !== !1, E)), b = i.xOrigin || 0, T = i.yOrigin || 0, E !== Kr && (O = E[0], N = E[1], B = E[2], L = E[3], l = A = E[4], f = I = E[5], E.length === 6 ? (d = Math.sqrt(O * O + N * N), v = Math.sqrt(L * L + B * B), p = O || N ? ji(N, O) * Oi : 0, m = B || L ? ji(B, L) * Oi + p : 0, m && (v *= Math.abs(Math.cos(m * or))), i.svg && (l -= b - (b * O + T * B), f -= T - (b * N + T * L))) : (tt = E[6], Z = E[7], M = E[8], C = E[9], U = E[10], z = E[11], l = E[12], f = E[13], c = E[14], w = ji(tt, U), _ = w * Oi, w && (S = Math.cos(-w), R = Math.sin(-w), F = A * S + M * R, V = I * S + C * R, W = tt * S + U * R, M = A * -R + M * S, C = I * -R + C * S, U = tt * -R + U * S, z = Z * -R + z * S, A = F, I = V, tt = W), w = ji(-B, U), g = w * Oi, w && (S = Math.cos(-w), R = Math.sin(-w), F = O * S - M * R, V = N * S - C * R, W = B * S - U * R, z = L * R + z * S, O = F, N = V, B = W), w = ji(N, O), p = w * Oi, w && (S = Math.cos(w), R = Math.sin(w), F = O * S + N * R, V = A * S + I * R, N = N * S - O * R, I = I * S - A * R, O = F, A = V), _ && Math.abs(_) + Math.abs(p) > 359.9 && (_ = p = 0, g = 180 - g), d = Rt(Math.sqrt(O * O + N * N + B * B)), v = Rt(Math.sqrt(I * I + tt * tt)), w = ji(A, I), m = Math.abs(w) > 2e-4 ? w * Oi : 0, x = z ? 1 / (z < 0 ? -z : z) : 0), i.svg && (F = e.getAttribute("transform"), i.forceCSS = e.setAttribute("transform", "") || !hf(ke(e, yt)), F && e.setAttribute("transform", F))), Math.abs(m) > 90 && Math.abs(m) < 270 && (s ? (d *= -1, m += p <= 0 ? 180 : -180, p += p <= 0 ? 180 : -180) : (v *= -1, m += m <= 0 ? 180 : -180)), t = t || i.uncache, i.x = l - ((i.xPercent = l && (!t && i.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-l) ? -50 : 0))) ? e.offsetWidth * i.xPercent / 100 : 0) + a, i.y = f - ((i.yPercent = f && (!t && i.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-f) ? -50 : 0))) ? e.offsetHeight * i.yPercent / 100 : 0) + a, i.z = c + a, i.scaleX = Rt(d), i.scaleY = Rt(v), i.rotation = Rt(p) + o, i.rotationX = Rt(_) + o, i.rotationY = Rt(g) + o, i.skewX = m + o, i.skewY = y + o, i.transformPerspective = x + a, (i.zOrigin = parseFloat(u.split(" ")[2]) || 0) && (n[Oe] = rs(u)), i.xOffset = i.yOffset = 0, i.force3D =
|
|
15381
|
+
return l = f = c = p = _ = g = m = y = x = 0, d = v = 1, i.svg = !!(e.getCTM && af(e)), h.translate && ((h.translate !== "none" || h.scale !== "none" || h.rotate !== "none") && (n[yt] = (h.translate !== "none" ? "translate3d(" + (h.translate + " 0 0").split(" ").slice(0, 3).join(", ") + ") " : "") + (h.rotate !== "none" ? "rotate(" + h.rotate + ") " : "") + (h.scale !== "none" ? "scale(" + h.scale.split(" ").join(",") + ") " : "") + (h[yt] !== "none" ? h[yt] : "")), n.scale = n.rotate = n.translate = "none"), E = Mo(e, i.svg), i.svg && (i.uncache ? (V = e.getBBox(), u = i.xOrigin - V.x + "px " + (i.yOrigin - V.y) + "px", F = "") : F = !t && e.getAttribute("data-svg-origin"), so(e, F || u, !!F || i.originIsAbsolute, i.smooth !== !1, E)), b = i.xOrigin || 0, T = i.yOrigin || 0, E !== Kr && (O = E[0], N = E[1], B = E[2], L = E[3], l = A = E[4], f = I = E[5], E.length === 6 ? (d = Math.sqrt(O * O + N * N), v = Math.sqrt(L * L + B * B), p = O || N ? ji(N, O) * Oi : 0, m = B || L ? ji(B, L) * Oi + p : 0, m && (v *= Math.abs(Math.cos(m * or))), i.svg && (l -= b - (b * O + T * B), f -= T - (b * N + T * L))) : (tt = E[6], Z = E[7], M = E[8], C = E[9], U = E[10], z = E[11], l = E[12], f = E[13], c = E[14], w = ji(tt, U), _ = w * Oi, w && (S = Math.cos(-w), R = Math.sin(-w), F = A * S + M * R, V = I * S + C * R, W = tt * S + U * R, M = A * -R + M * S, C = I * -R + C * S, U = tt * -R + U * S, z = Z * -R + z * S, A = F, I = V, tt = W), w = ji(-B, U), g = w * Oi, w && (S = Math.cos(-w), R = Math.sin(-w), F = O * S - M * R, V = N * S - C * R, W = B * S - U * R, z = L * R + z * S, O = F, N = V, B = W), w = ji(N, O), p = w * Oi, w && (S = Math.cos(w), R = Math.sin(w), F = O * S + N * R, V = A * S + I * R, N = N * S - O * R, I = I * S - A * R, O = F, A = V), _ && Math.abs(_) + Math.abs(p) > 359.9 && (_ = p = 0, g = 180 - g), d = Rt(Math.sqrt(O * O + N * N + B * B)), v = Rt(Math.sqrt(I * I + tt * tt)), w = ji(A, I), m = Math.abs(w) > 2e-4 ? w * Oi : 0, x = z ? 1 / (z < 0 ? -z : z) : 0), i.svg && (F = e.getAttribute("transform"), i.forceCSS = e.setAttribute("transform", "") || !hf(ke(e, yt)), F && e.setAttribute("transform", F))), Math.abs(m) > 90 && Math.abs(m) < 270 && (s ? (d *= -1, m += p <= 0 ? 180 : -180, p += p <= 0 ? 180 : -180) : (v *= -1, m += m <= 0 ? 180 : -180)), t = t || i.uncache, i.x = l - ((i.xPercent = l && (!t && i.xPercent || (Math.round(e.offsetWidth / 2) === Math.round(-l) ? -50 : 0))) ? e.offsetWidth * i.xPercent / 100 : 0) + a, i.y = f - ((i.yPercent = f && (!t && i.yPercent || (Math.round(e.offsetHeight / 2) === Math.round(-f) ? -50 : 0))) ? e.offsetHeight * i.yPercent / 100 : 0) + a, i.z = c + a, i.scaleX = Rt(d), i.scaleY = Rt(v), i.rotation = Rt(p) + o, i.rotationX = Rt(_) + o, i.rotationY = Rt(g) + o, i.skewX = m + o, i.skewY = y + o, i.transformPerspective = x + a, (i.zOrigin = parseFloat(u.split(" ")[2]) || 0) && (n[Oe] = rs(u)), i.xOffset = i.yOffset = 0, i.force3D = se.force3D, i.renderTransform = i.svg ? ob : nf ? uf : ab, i.uncache = 0, i;
|
|
15382
15382
|
}, rs = function(e) {
|
|
15383
15383
|
return (e = e.split(" "))[0] + " " + e[1];
|
|
15384
15384
|
}, ta = function(e, t, i) {
|
|
@@ -15398,7 +15398,7 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15398
15398
|
h = parseFloat(h), u = parseFloat(u), l = parseFloat(l), l && (l = parseFloat(l), u += l, h += l), h || u ? (h *= or, u *= or, b = Math.cos(h) * f, T = Math.sin(h) * f, E = Math.sin(h - u) * -c, w = Math.cos(h - u) * c, u && (l *= or, S = Math.tan(u - l), S = Math.sqrt(1 + S * S), E *= S, w *= S, l && (S = Math.tan(l), S = Math.sqrt(1 + S * S), b *= S, T *= S)), b = Rt(b), T = Rt(T), E = Rt(E), w = Rt(w)) : (b = f, w = c, T = E = 0), (y && !~(a + "").indexOf("px") || x && !~(o + "").indexOf("px")) && (y = pi(d, "x", a, "px"), x = pi(d, "y", o, "px")), (v || p || _ || g) && (y = Rt(y + v - (v * b + p * E) + _), x = Rt(x + p - (v * T + p * w) + g)), (n || s) && (S = d.getBBox(), y = Rt(y + n / 100 * S.width), x = Rt(x + s / 100 * S.height)), S = "matrix(" + b + "," + T + "," + E + "," + w + "," + y + "," + x + ")", d.setAttribute("transform", S), m && (d.style[yt] = S);
|
|
15399
15399
|
}, hb = function(e, t, i, n, s) {
|
|
15400
15400
|
var a = 360, o = Gt(s), h = parseFloat(s) * (o && ~s.indexOf("rad") ? Oi : 1), u = h - n, l = n + u + "deg", f, c;
|
|
15401
|
-
return o && (f = s.split("_")[1], f === "short" && (u %= a, u !== u % (a / 2) && (u += u < 0 ? a : -a)), f === "cw" && u < 0 ? u = (u + a * au) % a - ~~(u / a) * a : f === "ccw" && u > 0 && (u = (u - a * au) % a - ~~(u / a) * a)), e._pt = c = new
|
|
15401
|
+
return o && (f = s.split("_")[1], f === "short" && (u %= a, u !== u % (a / 2) && (u += u < 0 ? a : -a)), f === "cw" && u < 0 ? u = (u + a * au) % a - ~~(u / a) * a : f === "ccw" && u > 0 && (u = (u - a * au) % a - ~~(u / a) * a)), e._pt = c = new Jt(e._pt, t, i, n, u, zy), c.e = l, c.u = "deg", e._props.push(i), c;
|
|
15402
15402
|
}, cu = function(e, t) {
|
|
15403
15403
|
for (var i in t)
|
|
15404
15404
|
e[i] = t[i];
|
|
@@ -15407,10 +15407,10 @@ var nu, ai, ar, Ao, Ai, su, Io, Hy = function() {
|
|
|
15407
15407
|
var n = cu({}, i._gsap), s = "perspective,force3D,transformOrigin,svgOrigin", a = i.style, o, h, u, l, f, c, d, v;
|
|
15408
15408
|
n.svg ? (u = i.getAttribute("transform"), i.setAttribute("transform", ""), a[yt] = t, o = qr(i, 1), Zr(i, yt), i.setAttribute("transform", u)) : (u = getComputedStyle(i)[yt], a[yt] = t, o = qr(i, 1), a[yt] = u);
|
|
15409
15409
|
for (h in ei)
|
|
15410
|
-
u = n[h], l = o[h], u !== l && s.indexOf(h) < 0 && (d = Yt(u), v = Yt(l), f = d !== v ? pi(i, h, u, v) : parseFloat(u), c = parseFloat(l), e._pt = new
|
|
15410
|
+
u = n[h], l = o[h], u !== l && s.indexOf(h) < 0 && (d = Yt(u), v = Yt(l), f = d !== v ? pi(i, h, u, v) : parseFloat(u), c = parseFloat(l), e._pt = new Jt(e._pt, o, h, f, c - f, io), e._pt.u = v || 0, e._props.push(h));
|
|
15411
15411
|
cu(o, n);
|
|
15412
15412
|
};
|
|
15413
|
-
|
|
15413
|
+
$t("padding,margin,Width,Radius", function(r, e) {
|
|
15414
15414
|
var t = "Top", i = "Right", n = "Bottom", s = "Left", a = (e < 3 ? [t, i, n, s] : [t + s, t + i, n + i, n + s]).map(function(o) {
|
|
15415
15415
|
return e < 2 ? r + o : "border" + o + r;
|
|
15416
15416
|
});
|
|
@@ -15435,15 +15435,15 @@ var lf = {
|
|
|
15435
15435
|
var a = this._props, o = e.style, h = i.vars.startAt, u, l, f, c, d, v, p, _, g, m, y, x, b, T, E, w;
|
|
15436
15436
|
Ao || no(), this.styles = this.styles || rf(e), w = this.styles.props, this.tween = i;
|
|
15437
15437
|
for (p in t)
|
|
15438
|
-
if (p !== "autoRound" && (l = t[p], !(
|
|
15438
|
+
if (p !== "autoRound" && (l = t[p], !(te[p] && zl(p, t, i, n, e, s)))) {
|
|
15439
15439
|
if (d = typeof l, v = is[p], d === "function" && (l = l.call(i, n, e, s), d = typeof l), d === "string" && ~l.indexOf("random(") && (l = Yr(l)), v)
|
|
15440
15440
|
v(this, e, p, l, i) && (E = 1);
|
|
15441
15441
|
else if (p.substr(0, 2) === "--")
|
|
15442
15442
|
u = (getComputedStyle(e).getPropertyValue(p) + "").trim(), l += "", li.lastIndex = 0, li.test(u) || (_ = Yt(u), g = Yt(l)), g ? _ !== g && (u = pi(e, p, u, g) + g) : _ && (l += _), this.add(o, "setProperty", u, l, n, s, 0, 0, p), a.push(p), w.push(p, 0, o[p]);
|
|
15443
15443
|
else if (d !== "undefined") {
|
|
15444
|
-
if (h && p in h ? (u = typeof h[p] == "function" ? h[p].call(i, n, e, s) : h[p], Gt(u) && ~u.indexOf("random(") && (u = Yr(u)), Yt(u + "") || (u +=
|
|
15445
|
-
if (this.styles.save(p), x || (b = e._gsap, b.renderTransform && !t.parseTransform || qr(e, t.parseTransform), T = t.smoothOrigin !== !1 && b.smooth, x = this._pt = new
|
|
15446
|
-
this._pt = new
|
|
15444
|
+
if (h && p in h ? (u = typeof h[p] == "function" ? h[p].call(i, n, e, s) : h[p], Gt(u) && ~u.indexOf("random(") && (u = Yr(u)), Yt(u + "") || (u += se.units[p] || Yt(Ze(e, p)) || ""), (u + "").charAt(1) === "=" && (u = Ze(e, p))) : u = Ze(e, p), c = parseFloat(u), m = d === "string" && l.charAt(1) === "=" && l.substr(0, 2), m && (l = l.substr(2)), f = parseFloat(l), p in Je && (p === "autoAlpha" && (c === 1 && Ze(e, "visibility") === "hidden" && f && (c = 0), w.push("visibility", 0, o.visibility), oi(this, o, "visibility", c ? "inherit" : "hidden", f ? "inherit" : "hidden", !f)), p !== "scale" && p !== "transform" && (p = Je[p], ~p.indexOf(",") && (p = p.split(",")[0]))), y = p in ei, y) {
|
|
15445
|
+
if (this.styles.save(p), x || (b = e._gsap, b.renderTransform && !t.parseTransform || qr(e, t.parseTransform), T = t.smoothOrigin !== !1 && b.smooth, x = this._pt = new Jt(this._pt, o, yt, 0, 1, b.renderTransform, b, 0, -1), x.dep = 1), p === "scale")
|
|
15446
|
+
this._pt = new Jt(this._pt, b, "scaleY", b.scaleY, (m ? sr(b.scaleY, m + f) : f) - b.scaleY || 0, io), this._pt.u = 0, a.push("scaleY", p), p += "X";
|
|
15447
15447
|
else if (p === "transformOrigin") {
|
|
15448
15448
|
w.push(Oe, 0, o[Oe]), l = nb(l), b.svg ? so(e, l, 0, T, 0, this) : (g = parseFloat(l.split(" ")[2]) || 0, g !== b.zOrigin && oi(this, b, "zOrigin", b.zOrigin, g), oi(this, o, p, rs(u), rs(l)));
|
|
15449
15449
|
continue;
|
|
@@ -15466,7 +15466,7 @@ var lf = {
|
|
|
15466
15466
|
} else
|
|
15467
15467
|
p in o || (p = vr(p) || p);
|
|
15468
15468
|
if (y || (f || f === 0) && (c || c === 0) && !Vy.test(l) && p in o)
|
|
15469
|
-
_ = (u + "").substr((c + "").length), f || (f = 0), g = Yt(l) || (p in
|
|
15469
|
+
_ = (u + "").substr((c + "").length), f || (f = 0), g = Yt(l) || (p in se.units ? se.units[p] : _), _ !== g && (c = pi(e, p, u, g)), this._pt = new Jt(this._pt, y ? b : o, p, c, (m ? sr(c, m + f) : f) - c, !y && (g === "px" || p === "zIndex") && t.autoRound !== !1 ? jy : io), this._pt.u = g || 0, _ !== g && g !== "%" && (this._pt.b = u, this._pt.r = Yy);
|
|
15470
15470
|
else if (p in o)
|
|
15471
15471
|
rb.call(this, e, p, u, m ? m + l : l);
|
|
15472
15472
|
else if (p in e)
|
|
@@ -15498,39 +15498,39 @@ var lf = {
|
|
|
15498
15498
|
_getMatrix: Mo
|
|
15499
15499
|
}
|
|
15500
15500
|
};
|
|
15501
|
-
|
|
15502
|
-
|
|
15501
|
+
he.utils.checkPrefix = vr;
|
|
15502
|
+
he.core.getStyleSaver = rf;
|
|
15503
15503
|
(function(r, e, t, i) {
|
|
15504
|
-
var n =
|
|
15504
|
+
var n = $t(r + "," + e + "," + t, function(s) {
|
|
15505
15505
|
ei[s] = 1;
|
|
15506
15506
|
});
|
|
15507
|
-
|
|
15508
|
-
|
|
15509
|
-
}), Je[n[13]] = r + "," + e,
|
|
15507
|
+
$t(e, function(s) {
|
|
15508
|
+
se.units[s] = "deg", of[s] = 1;
|
|
15509
|
+
}), Je[n[13]] = r + "," + e, $t(i, function(s) {
|
|
15510
15510
|
var a = s.split(":");
|
|
15511
15511
|
Je[a[1]] = n[a[0]];
|
|
15512
15512
|
});
|
|
15513
15513
|
})("x,y,z,scale,scaleX,scaleY,xPercent,yPercent", "rotation,rotationX,rotationY,skewX,skewY", "transform,transformOrigin,svgOrigin,force3D,smoothOrigin,transformPerspective", "0:translateX,1:translateY,2:translateZ,8:rotate,8:rotationZ,8:rotateZ,9:rotateX,10:rotateY");
|
|
15514
|
-
|
|
15515
|
-
|
|
15514
|
+
$t("x,y,z,top,right,bottom,left,width,height,fontSize,padding,margin,perspective", function(r) {
|
|
15515
|
+
se.units[r] = "px";
|
|
15516
15516
|
});
|
|
15517
|
-
|
|
15518
|
-
var zt =
|
|
15517
|
+
he.registerPlugin(lf);
|
|
15518
|
+
var zt = he.registerPlugin(lf) || he;
|
|
15519
15519
|
zt.core.Tween;
|
|
15520
15520
|
const An = 16, Rr = 8, ea = 4, du = 0.7, lb = 0.25;
|
|
15521
|
-
class fb extends
|
|
15521
|
+
class fb extends ft {
|
|
15522
15522
|
constructor({
|
|
15523
15523
|
graphState: t
|
|
15524
15524
|
}) {
|
|
15525
15525
|
super();
|
|
15526
15526
|
P(this, "graphState");
|
|
15527
|
-
P(this, "dimensionsObject", new
|
|
15527
|
+
P(this, "dimensionsObject", new ht());
|
|
15528
15528
|
P(this, "dots", []);
|
|
15529
15529
|
P(this, "unWatchers", []);
|
|
15530
15530
|
this.graphState = t, this.initDimensions(), this.initDots(), this.initWatchers();
|
|
15531
15531
|
}
|
|
15532
15532
|
initWatchers() {
|
|
15533
|
-
const { styleOptions: t } = this.graphState, i =
|
|
15533
|
+
const { styleOptions: t } = this.graphState, i = Ht(t, () => {
|
|
15534
15534
|
this.destroyDots(), this.initDots();
|
|
15535
15535
|
});
|
|
15536
15536
|
this.unWatchers.push(i);
|
|
@@ -15691,7 +15691,7 @@ function db({
|
|
|
15691
15691
|
return we.get(n);
|
|
15692
15692
|
}
|
|
15693
15693
|
const cf = 0.2, df = "power2.out";
|
|
15694
|
-
class ho extends
|
|
15694
|
+
class ho extends ft {
|
|
15695
15695
|
constructor({
|
|
15696
15696
|
graphState: t,
|
|
15697
15697
|
width: i,
|
|
@@ -15724,7 +15724,7 @@ class ho extends ct {
|
|
|
15724
15724
|
borderColor: i,
|
|
15725
15725
|
borderWidth: n
|
|
15726
15726
|
});
|
|
15727
|
-
this.topLeft = new
|
|
15727
|
+
this.topLeft = new ht(a), this.topRight = new ht(a), this.topRight.position.set(this.rectWidth, 0), this.topRight.rotation = Math.PI / 2, this.bottomRight = new ht(a), this.bottomRight.position.set(this.rectWidth, this.rectHeight), this.bottomRight.rotation = Math.PI, this.bottomLeft = new ht(a), this.bottomLeft.position.set(0, this.rectHeight), this.bottomLeft.rotation = Math.PI * 1.5, this.topEdge = new ht(o), this.topEdge.position.set(this.borderRadius, 0), this.topEdge.width = this.rectWidth - this.borderRadius * 2, this.topEdge.height = n, this.rightEdge = new ht(o), this.rightEdge.position.set(this.rectWidth - this.borderWidth, this.borderRadius), this.rightEdge.height = this.rectHeight - this.borderRadius * 2, this.rightEdge.width = n, this.bottomEdge = new ht(o), this.bottomEdge.position.set(this.borderRadius, this.rectHeight - this.borderWidth), this.bottomEdge.width = this.rectWidth - this.borderRadius * 2, this.bottomEdge.height = n, this.leftEdge = new ht(o), this.leftEdge.position.set(0, this.borderRadius), this.leftEdge.height = this.rectHeight - this.borderRadius * 2, this.leftEdge.width = n, this.addChild(this.topLeft), this.addChild(this.topRight), this.addChild(this.bottomRight), this.addChild(this.bottomLeft), this.addChild(this.topEdge), this.addChild(this.rightEdge), this.addChild(this.bottomEdge), this.addChild(this.leftEdge), this.resize({ width: this.rectWidth, height: this.rectHeight });
|
|
15728
15728
|
}
|
|
15729
15729
|
resize({
|
|
15730
15730
|
width: t,
|
|
@@ -15785,7 +15785,7 @@ class ho extends ct {
|
|
|
15785
15785
|
}
|
|
15786
15786
|
}
|
|
15787
15787
|
const pu = 64, In = 20;
|
|
15788
|
-
class pb extends
|
|
15788
|
+
class pb extends ft {
|
|
15789
15789
|
constructor({
|
|
15790
15790
|
sourceNode: t,
|
|
15791
15791
|
targetNode: i,
|
|
@@ -15805,7 +15805,7 @@ class pb extends ct {
|
|
|
15805
15805
|
P(this, "targetControlPointY", 0);
|
|
15806
15806
|
P(this, "edgePoints");
|
|
15807
15807
|
P(this, "edge");
|
|
15808
|
-
P(this, "arrow", new
|
|
15808
|
+
P(this, "arrow", new ft());
|
|
15809
15809
|
P(this, "unWatchers", []);
|
|
15810
15810
|
P(this, "getXBezier", (t, i) => {
|
|
15811
15811
|
const { sourceX: n, targetX: s } = this, a = (s - n) / 2;
|
|
@@ -15833,7 +15833,7 @@ class pb extends ct {
|
|
|
15833
15833
|
initWatchers() {
|
|
15834
15834
|
const { styleOptions: t, viewport: i } = this.graphState;
|
|
15835
15835
|
this.unWatchers.push(
|
|
15836
|
-
|
|
15836
|
+
Ht([t], () => {
|
|
15837
15837
|
this.updateStyle();
|
|
15838
15838
|
}, { deep: !0 })
|
|
15839
15839
|
), i.on("frame-end", () => {
|
|
@@ -15851,9 +15851,9 @@ class pb extends ct {
|
|
|
15851
15851
|
const t = [];
|
|
15852
15852
|
for (let s = 0; s < In; s++) {
|
|
15853
15853
|
const a = s === In - 1 ? { x: this.targetX, y: this.targetY } : this.getPointBezierPosition(s / In);
|
|
15854
|
-
t.push(new
|
|
15854
|
+
t.push(new lt(a.x, a.y));
|
|
15855
15855
|
}
|
|
15856
|
-
const i = this.getTargetAnchorPointPosition(), n = new
|
|
15856
|
+
const i = this.getTargetAnchorPointPosition(), n = new lt(i.x, i.y);
|
|
15857
15857
|
return t.push(n), t;
|
|
15858
15858
|
}
|
|
15859
15859
|
drawArrow() {
|
|
@@ -15862,7 +15862,7 @@ class pb extends ct {
|
|
|
15862
15862
|
strokeColor: o,
|
|
15863
15863
|
edgeWidth: h,
|
|
15864
15864
|
edgeLength: u
|
|
15865
|
-
}), f = new
|
|
15865
|
+
}), f = new ht(l);
|
|
15866
15866
|
f.anchor.set(1, 0.5), t.addChild(f), t.position.set(i, n);
|
|
15867
15867
|
}
|
|
15868
15868
|
update() {
|
|
@@ -15899,7 +15899,7 @@ class pb extends ct {
|
|
|
15899
15899
|
t.remove(this.arrow), this.unWatchers.forEach((i) => i()), super.destroy.call(this);
|
|
15900
15900
|
}
|
|
15901
15901
|
}
|
|
15902
|
-
class vb extends
|
|
15902
|
+
class vb extends ft {
|
|
15903
15903
|
constructor({
|
|
15904
15904
|
pixiApp: t,
|
|
15905
15905
|
labelText: i,
|
|
@@ -15918,7 +15918,7 @@ class vb extends ct {
|
|
|
15918
15918
|
pixiApp: t,
|
|
15919
15919
|
fill: i
|
|
15920
15920
|
});
|
|
15921
|
-
this.guideLine = new
|
|
15921
|
+
this.guideLine = new ht(n), this.guideLine.width = 1, this.guideLine.height = t.screen.height, this.addChild(this.guideLine);
|
|
15922
15922
|
}
|
|
15923
15923
|
async drawLabel() {
|
|
15924
15924
|
var t;
|
|
@@ -15934,7 +15934,7 @@ class vb extends ct {
|
|
|
15934
15934
|
this.guideLine.height = t;
|
|
15935
15935
|
}
|
|
15936
15936
|
}
|
|
15937
|
-
let
|
|
15937
|
+
let ee;
|
|
15938
15938
|
const _b = ({
|
|
15939
15939
|
minimumStartTime: r,
|
|
15940
15940
|
graphXDomain: e,
|
|
@@ -15954,11 +15954,11 @@ const _b = ({
|
|
|
15954
15954
|
minimumStartTime: r,
|
|
15955
15955
|
graphXDomain: e,
|
|
15956
15956
|
initialOverallTimeSpan: t
|
|
15957
|
-
}) => (
|
|
15957
|
+
}) => (ee = _b({
|
|
15958
15958
|
minimumStartTime: r,
|
|
15959
15959
|
graphXDomain: e,
|
|
15960
15960
|
initialOverallTimeSpan: t
|
|
15961
|
-
}),
|
|
15961
|
+
}), ee);
|
|
15962
15962
|
function mb(r, e, t) {
|
|
15963
15963
|
return function(i) {
|
|
15964
15964
|
return Math.ceil((i.getTime() - r) * (e / t));
|
|
@@ -15970,7 +15970,7 @@ function yb(r, e, t) {
|
|
|
15970
15970
|
};
|
|
15971
15971
|
}
|
|
15972
15972
|
const bb = 260, ia = 4e3;
|
|
15973
|
-
class xb extends
|
|
15973
|
+
class xb extends ft {
|
|
15974
15974
|
constructor({
|
|
15975
15975
|
graphState: t,
|
|
15976
15976
|
maximumEndDate: i,
|
|
@@ -15990,7 +15990,7 @@ class xb extends ct {
|
|
|
15990
15990
|
initWatchers() {
|
|
15991
15991
|
const { styleOptions: t } = this.graphState;
|
|
15992
15992
|
this.unWatchers.push(
|
|
15993
|
-
|
|
15993
|
+
Ht(t, () => {
|
|
15994
15994
|
this.removeChildren(), this.guides.clear(), this.createGuides();
|
|
15995
15995
|
}, { deep: !0 })
|
|
15996
15996
|
);
|
|
@@ -16004,14 +16004,14 @@ class xb extends ct {
|
|
|
16004
16004
|
this.idealGuideCount = Math.ceil(t.screen.width / bb);
|
|
16005
16005
|
}
|
|
16006
16006
|
updateCurrentTimeGap() {
|
|
16007
|
-
const { viewport: t } = this.graphState, { minimumStartTime: i } = this.graphState.timeScaleProps, n = Math.ceil((t.right - t.left) / this.idealGuideCount), s =
|
|
16007
|
+
const { viewport: t } = this.graphState, { minimumStartTime: i } = this.graphState.timeScaleProps, n = Math.ceil((t.right - t.left) / this.idealGuideCount), s = ee.xToDate(n).getTime() - i, a = Bo.find((o) => o.ceiling > s) ?? Bo[0];
|
|
16008
16008
|
this.currentTimeGap = a.span, this.setLabelFormatter(a.labelFormat);
|
|
16009
16009
|
}
|
|
16010
16010
|
createGuides() {
|
|
16011
16011
|
const { pixiApp: t, styleOptions: i } = this.graphState;
|
|
16012
16012
|
let n;
|
|
16013
|
-
const s =
|
|
16014
|
-
let a = new Date(Math.ceil(
|
|
16013
|
+
const s = ee.xToDate(ee.dateToX(this.maximumEndDate.value ?? new Date()) + ia);
|
|
16014
|
+
let a = new Date(Math.ceil(ee.xToDate(-ia).getTime() / this.currentTimeGap) * this.currentTimeGap);
|
|
16015
16015
|
for (this.currentTimeGap > q.hour * 6 ? a = kf(a) : this.currentTimeGap > q.hour && (a = Xf(a)), n = a; n.getTime() < s.getTime(); ) {
|
|
16016
16016
|
const o = new vb({
|
|
16017
16017
|
pixiApp: t,
|
|
@@ -16023,7 +16023,7 @@ class xb extends ct {
|
|
|
16023
16023
|
}
|
|
16024
16024
|
getGuidePosition(t) {
|
|
16025
16025
|
const { viewport: i } = this.graphState;
|
|
16026
|
-
return
|
|
16026
|
+
return ee.dateToX(t) * i.scale._x + i.worldTransform.tx;
|
|
16027
16027
|
}
|
|
16028
16028
|
updateGuidePositions() {
|
|
16029
16029
|
const { pixiApp: t } = this.graphState;
|
|
@@ -16061,21 +16061,21 @@ ${this.formatDateFns.value.timeByMinutes(t)}` : this.formatDateFns.value.timeByM
|
|
|
16061
16061
|
const a = (h = Array.from(this.guides).pop()) == null ? void 0 : h[1];
|
|
16062
16062
|
if (!a || !this.maximumEndDate.value)
|
|
16063
16063
|
return !1;
|
|
16064
|
-
const o = this.getGuidePosition(this.maximumEndDate.value) + ia * i.scale._x -
|
|
16064
|
+
const o = this.getGuidePosition(this.maximumEndDate.value) + ia * i.scale._x - ee.dateToX(new Date(s + this.currentTimeGap)) * i.scale._x;
|
|
16065
16065
|
return a.x < o;
|
|
16066
16066
|
}
|
|
16067
16067
|
destroy() {
|
|
16068
16068
|
this.removeChildren(), this.guides.forEach((t) => t.destroy()), this.guides.clear(), this.unWatchers.forEach((t) => t()), super.destroy.call(this);
|
|
16069
16069
|
}
|
|
16070
16070
|
}
|
|
16071
|
-
const
|
|
16071
|
+
const ie = {
|
|
16072
16072
|
nodeDetails: "nodeDetailsClick",
|
|
16073
16073
|
subNodesToggle: "subNodesToggleClick"
|
|
16074
16074
|
}, uo = "nodeResize", pf = {
|
|
16075
16075
|
fadeIn: 0.25,
|
|
16076
16076
|
move: 0.5
|
|
16077
16077
|
}, lo = "box", Tb = "None", Eb = 0.2;
|
|
16078
|
-
class Sb extends
|
|
16078
|
+
class Sb extends ft {
|
|
16079
16079
|
constructor({
|
|
16080
16080
|
nodeData: t,
|
|
16081
16081
|
graphState: i,
|
|
@@ -16096,7 +16096,7 @@ class Sb extends ct {
|
|
|
16096
16096
|
P(this, "nodeWidth");
|
|
16097
16097
|
P(this, "nodeHeight");
|
|
16098
16098
|
P(this, "boxCapWidth", 0);
|
|
16099
|
-
P(this, "box", new
|
|
16099
|
+
P(this, "box", new ft());
|
|
16100
16100
|
P(this, "leftBoxCap");
|
|
16101
16101
|
P(this, "rightBoxCap");
|
|
16102
16102
|
P(this, "boxBody");
|
|
@@ -16110,7 +16110,7 @@ class Sb extends ct {
|
|
|
16110
16110
|
P(this, "apxLabelWidth", 0);
|
|
16111
16111
|
P(this, "isLabelInBox", !0);
|
|
16112
16112
|
P(this, "isSubNodesExpanded", !1);
|
|
16113
|
-
P(this, "subNodesOutlineContainer", new
|
|
16113
|
+
P(this, "subNodesOutlineContainer", new ft());
|
|
16114
16114
|
P(this, "subNodesOutline");
|
|
16115
16115
|
P(this, "subNodesContent", null);
|
|
16116
16116
|
P(this, "subNodesHeight", 0);
|
|
@@ -16144,13 +16144,13 @@ class Sb extends ct {
|
|
|
16144
16144
|
viewport: c
|
|
16145
16145
|
} = this.graphState;
|
|
16146
16146
|
i.push(
|
|
16147
|
-
|
|
16147
|
+
Ht(t, () => {
|
|
16148
16148
|
this.updatePosition();
|
|
16149
16149
|
}),
|
|
16150
|
-
|
|
16150
|
+
Ht([o, h], () => {
|
|
16151
16151
|
this.drawBox(), this.drawLabel(), this.noSubNodesMessage && this.drawNoSubNodesMessage();
|
|
16152
16152
|
}, { deep: !0 }),
|
|
16153
|
-
|
|
16153
|
+
Ht(u, () => {
|
|
16154
16154
|
if (u.value === this.nodeData.id || u.value === this.nodeData.subFlowRunId) {
|
|
16155
16155
|
this.select();
|
|
16156
16156
|
return;
|
|
@@ -16158,7 +16158,7 @@ class Sb extends ct {
|
|
|
16158
16158
|
this.isSelected && this.deselect();
|
|
16159
16159
|
})
|
|
16160
16160
|
), n && i.push(
|
|
16161
|
-
|
|
16161
|
+
Ht(f, () => {
|
|
16162
16162
|
var d, v;
|
|
16163
16163
|
if (this.nodeData.subFlowRunId) {
|
|
16164
16164
|
if (!this.isSubNodesExpanded && f.value.has(this.nodeData.subFlowRunId)) {
|
|
@@ -16187,7 +16187,7 @@ class Sb extends ct {
|
|
|
16187
16187
|
}
|
|
16188
16188
|
}
|
|
16189
16189
|
}, { deep: !0 }),
|
|
16190
|
-
|
|
16190
|
+
Ht(l, () => {
|
|
16191
16191
|
var d;
|
|
16192
16192
|
this.getLabelText() !== ((d = this.label) == null ? void 0 : d.text) && this.drawLabel(!0);
|
|
16193
16193
|
}, { deep: !0 })
|
|
@@ -16211,7 +16211,7 @@ class Sb extends ct {
|
|
|
16211
16211
|
alphaSubNodesOutlineDimmed: o,
|
|
16212
16212
|
spacingSubNodesOutlineBorderWidth: h,
|
|
16213
16213
|
spacingSubNodesOutlineOffset: u
|
|
16214
|
-
} = n.value, { fill: l } = s.value(this.nodeData), f =
|
|
16214
|
+
} = n.value, { fill: l } = s.value(this.nodeData), f = Qt(l), c = this.getOutlineWidth();
|
|
16215
16215
|
this.subNodesOutline = new ho({
|
|
16216
16216
|
graphState: i,
|
|
16217
16217
|
width: c,
|
|
@@ -16232,7 +16232,7 @@ class Sb extends ct {
|
|
|
16232
16232
|
}
|
|
16233
16233
|
drawBox() {
|
|
16234
16234
|
var p, _, g;
|
|
16235
|
-
const { pixiApp: t, styleOptions: i, styleNode: n } = this.graphState, { isRunningNode: s, nodeWidth: a, nodeHeight: o, box: h, boxCapWidth: u } = this, { borderRadiusNode: l } = i.value, { fill: f } = n.value(this.nodeData), c =
|
|
16235
|
+
const { pixiApp: t, styleOptions: i, styleNode: n } = this.graphState, { isRunningNode: s, nodeWidth: a, nodeHeight: o, box: h, boxCapWidth: u } = this, { borderRadiusNode: l } = i.value, { fill: f } = n.value(this.nodeData), c = Qt(f);
|
|
16236
16236
|
(p = this.leftBoxCap) == null || p.destroy(), (_ = this.boxBody) == null || _.destroy(), (g = this.rightBoxCap) == null || g.destroy(), this.box.removeChildren();
|
|
16237
16237
|
const { cap: d, body: v } = oo({
|
|
16238
16238
|
pixiApp: t,
|
|
@@ -16241,7 +16241,7 @@ class Sb extends ct {
|
|
|
16241
16241
|
boxCapWidth: u,
|
|
16242
16242
|
height: o
|
|
16243
16243
|
});
|
|
16244
|
-
this.leftBoxCap = new
|
|
16244
|
+
this.leftBoxCap = new ht(d), this.boxBody = new ht(v), this.boxBody.width = this.getBoxBodyWidth(), this.boxBody.height = o, this.boxBody.position.set(u, 0), h.addChild(this.leftBoxCap), h.addChild(this.boxBody), s || (this.rightBoxCap = new ht(d), this.rightBoxCap.scale.x = -1, this.rightBoxCap.position.x = a, h.addChild(this.rightBoxCap));
|
|
16245
16245
|
}
|
|
16246
16246
|
initSubNodesToggle() {
|
|
16247
16247
|
if (!this.hasSubNodes)
|
|
@@ -16316,9 +16316,9 @@ class Sb extends ct {
|
|
|
16316
16316
|
isSubNodes: !0,
|
|
16317
16317
|
graphData: i,
|
|
16318
16318
|
graphState: this.graphState
|
|
16319
|
-
}), this.subNodesContent.on(
|
|
16320
|
-
this.emit(
|
|
16321
|
-
}), this.subNodesContent.on(
|
|
16319
|
+
}), this.subNodesContent.on(ie.nodeDetails, (s) => {
|
|
16320
|
+
this.emit(ie.nodeDetails, s);
|
|
16321
|
+
}), this.subNodesContent.on(ie.subNodesToggle, (s) => {
|
|
16322
16322
|
this.emitSubNodesToggle(s);
|
|
16323
16323
|
}), this.updateSubNodesContentPosition(), this.subNodesContent.on(fo, () => this.updateSubNodesContentPosition()), this.addChild(this.subNodesContent), this.initSubNodesTicker();
|
|
16324
16324
|
}
|
|
@@ -16340,7 +16340,7 @@ class Sb extends ct {
|
|
|
16340
16340
|
const { subNodesContent: t, box: i } = this, { spacingNodeMargin: n } = this.graphState.styleOptions.value;
|
|
16341
16341
|
if (!t)
|
|
16342
16342
|
return;
|
|
16343
|
-
const s = t.getEarliestNodeStart(), a = s ? -
|
|
16343
|
+
const s = t.getEarliestNodeStart(), a = s ? -ee.dateToX(s) : 0, o = i.y + i.height + n;
|
|
16344
16344
|
t.position.set(
|
|
16345
16345
|
a,
|
|
16346
16346
|
o
|
|
@@ -16354,7 +16354,7 @@ class Sb extends ct {
|
|
|
16354
16354
|
}, t.ticker.add(
|
|
16355
16355
|
this.subNodesContentTicker,
|
|
16356
16356
|
null,
|
|
16357
|
-
|
|
16357
|
+
ae.LOW
|
|
16358
16358
|
));
|
|
16359
16359
|
}
|
|
16360
16360
|
async collapseSubNodes() {
|
|
@@ -16380,7 +16380,7 @@ class Sb extends ct {
|
|
|
16380
16380
|
} = t ?? {}, { suppressMotion: s } = this.graphState, { id: a } = this.nodeData, { position: o } = this.layout.value[a];
|
|
16381
16381
|
if (!this.layoutRows.value[o])
|
|
16382
16382
|
return;
|
|
16383
|
-
const { yPos: h } = this.layoutRows.value[o], u = n ?
|
|
16383
|
+
const { yPos: h } = this.layoutRows.value[o], u = n ? ee.dateToX(this.nodeData.start) : this.position.x;
|
|
16384
16384
|
if (!(this.position.y === h && this.position.x === u)) {
|
|
16385
16385
|
if (i || s.value) {
|
|
16386
16386
|
this.position.set(u, h);
|
|
@@ -16464,7 +16464,7 @@ class Sb extends ct {
|
|
|
16464
16464
|
const { isRunningNode: t, boxCapWidth: i, nodeData: n } = this;
|
|
16465
16465
|
if (!n.start)
|
|
16466
16466
|
return 0;
|
|
16467
|
-
const s = t ? i : i * 2, a =
|
|
16467
|
+
const s = t ? i : i * 2, a = ee.dateToX(n.end ?? new Date()) - ee.dateToX(n.start);
|
|
16468
16468
|
return a > s ? a : s;
|
|
16469
16469
|
}
|
|
16470
16470
|
getNodeHeight() {
|
|
@@ -16509,7 +16509,7 @@ class Sb extends ct {
|
|
|
16509
16509
|
id: this.hasSubNodes ? i : t,
|
|
16510
16510
|
type: this.hasSubNodes ? "subFlowRun" : "task"
|
|
16511
16511
|
};
|
|
16512
|
-
this.emit(
|
|
16512
|
+
this.emit(ie.nodeDetails, n);
|
|
16513
16513
|
}
|
|
16514
16514
|
getSubContentHeight() {
|
|
16515
16515
|
var i, n, s;
|
|
@@ -16517,7 +16517,7 @@ class Sb extends ct {
|
|
|
16517
16517
|
return (i = this.subNodesContent) != null && i.height ? this.subNodesContent.height : (n = this.subNodesLoadingIndicator) != null && n.height ? this.subNodesLoadingIndicator.height + t : (s = this.noSubNodesMessage) != null && s.height ? this.noSubNodesMessage.height + t : 0;
|
|
16518
16518
|
}
|
|
16519
16519
|
emitSubNodesToggle(t) {
|
|
16520
|
-
this.emit(
|
|
16520
|
+
this.emit(ie.subNodesToggle, t ?? this.nodeData.subFlowRunId);
|
|
16521
16521
|
}
|
|
16522
16522
|
destroySubNodesContent() {
|
|
16523
16523
|
var t;
|
|
@@ -16540,7 +16540,7 @@ class Sb extends ct {
|
|
|
16540
16540
|
destroy() {
|
|
16541
16541
|
var i, n, s, a, o, h, u;
|
|
16542
16542
|
const { cull: t } = this.graphState;
|
|
16543
|
-
t.remove(this.box), this.label && t.remove(this.label), this.killTweens(), this.isSelected && this.emit(
|
|
16543
|
+
t.remove(this.box), this.label && t.remove(this.label), this.killTweens(), this.isSelected && this.emit(ie.nodeDetails, null), this.isSubNodesExpanded && this.emitSubNodesToggle(), this.destroyRunningNodeTicker(), this.destroySubNodesContent(), (i = this.subNodesOutline) == null || i.destroy(), (n = this.leftBoxCap) == null || n.destroy(), (s = this.rightBoxCap) == null || s.destroy(), (a = this.boxBody) == null || a.destroy(), this.box.destroy(), (o = this.subNodesToggle) == null || o.destroy(), (h = this.label) == null || h.destroy(), (u = this.selectedRing) == null || u.destroy(), this.unWatchers.forEach((l) => l()), super.destroy.call(this);
|
|
16544
16544
|
}
|
|
16545
16545
|
}
|
|
16546
16546
|
const vf = "KGZ1bmN0aW9uKCl7InVzZSBzdHJpY3QiO2NvbnN0IGI9KHttaW5pbXVtU3RhcnRUaW1lOmUsZ3JhcGhYRG9tYWluOm4saW5pdGlhbE92ZXJhbGxUaW1lU3Bhbjp0fSk9Pih7ZGF0ZVRvWDpQKGUsbix0KSx4VG9EYXRlOkkoZSxuLHQpfSk7ZnVuY3Rpb24gUChlLG4sdCl7cmV0dXJuIGZ1bmN0aW9uKG8pe3JldHVybiBNYXRoLmNlaWwoKG8uZ2V0VGltZSgpLWUpKihuL3QpKX19ZnVuY3Rpb24gSShlLG4sdCl7cmV0dXJuIGZ1bmN0aW9uKG8pe3JldHVybiBuZXcgRGF0ZShNYXRoLmNlaWwoZStvKih0L24pKSl9fWNvbnN0IGc9MDtsZXQgeSxEPTE0LHY9MCxoPSJ3YXRlcmZhbGwiLGQ9W107Y29uc3QgYT17fTtvbm1lc3NhZ2U9YXN5bmMoe2RhdGE6e2xheW91dFNldHRpbmc6ZSxncmFwaERhdGE6bixhcHhDaGFyYWN0ZXJXaWR0aDp0LHNwYWNpbmdNaW5pbXVtTm9kZUVkZ2VHYXA6byx0aW1lU2NhbGVQcm9wczppLGNlbnRlclZpZXdwb3J0QWZ0ZXI6c319KT0+e2Zvcihjb25zdCByIGluIGEpZGVsZXRlIGFbcl07aWYobyYmKHY9byksZSYmKGg9ZSksdCYmKEQ9dCksaSl7Y29uc3R7bWluaW11bVN0YXJ0VGltZTpyLGdyYXBoWERvbWFpbjpjLGluaXRpYWxPdmVyYWxsVGltZVNwYW46dX09aTt5PWIoe21pbmltdW1TdGFydFRpbWU6cixncmFwaFhEb21haW46Yyxpbml0aWFsT3ZlcmFsbFRpbWVTcGFuOnV9KX1pZihuKXtjb25zdCByPUpTT04ucGFyc2Uobik7eSYmKGV8fGQhPT1yKSYmKGQ9TChyKSxhd2FpdCBTKCkscG9zdE1lc3NhZ2Uoe2xheW91dDphLGNlbnRlclZpZXdwb3J0QWZ0ZXI6c30pKX19O2Z1bmN0aW9uIEwoZSl7cmV0dXJuIGUuZmlsdGVyKE8pLm1hcChuPT4obi5zdGFydD1uZXcgRGF0ZShuLnN0YXJ0KSxuLmVuZCYmKG4uZW5kPW5ldyBEYXRlKG4uZW5kKSksbikpLnNvcnQoKG4sdCk9Pm4uc3RhcnQuZ2V0VGltZSgpLXQuc3RhcnQuZ2V0VGltZSgpKX1mdW5jdGlvbiBPKGUpe3JldHVybiB0eXBlb2YgZT09Im9iamVjdCImJiJzdGFydCJpbiBlfWFzeW5jIGZ1bmN0aW9uIFMoKXtoPT09IndhdGVyZmFsbCImJlgoKSxoPT09Im5lYXJlc3RQYXJlbnQiJiZhd2FpdCBDKCksQigpfWZ1bmN0aW9uIFgoKXtkLmZvckVhY2goKGUsbik9PnthW2UuaWRdPXtwb3NpdGlvbjpuLHN0YXJ0WDowLGVuZFg6MH19KX1hc3luYyBmdW5jdGlvbiBDKCl7Zm9yIGF3YWl0KGNvbnN0IGUgb2YgZCl7aWYoIWUuc3RhcnQpY29udGludWU7Y29uc3Qgbj15LmRhdGVUb1goZS5lbmQ/bmV3IERhdGUoZS5lbmQpOm5ldyBEYXRlKSx0PWUubGFiZWwubGVuZ3RoKkQsbz1uK3QsaT1lLmlkIGluIGE/YVtlLmlkXS5zdGFydFg6eS5kYXRlVG9YKG5ldyBEYXRlKGUuc3RhcnQpKSxzPWF3YWl0IEEoZSxpKTthW2UuaWRdPXtwb3NpdGlvbjpzLHN0YXJ0WDppLGVuZFg6b319fWFzeW5jIGZ1bmN0aW9uIEEoZSxuKXtpZihlLnVwc3RyZWFtRGVwZW5kZW5jaWVzJiZlLnVwc3RyZWFtRGVwZW5kZW5jaWVzLmxlbmd0aD09PTEpe2lmKGUudXBzdHJlYW1EZXBlbmRlbmNpZXNbMF1pbiBhKXtjb25zdCB0PWFbZS51cHN0cmVhbURlcGVuZGVuY2llc1swXV07cmV0dXJuIGF3YWl0IHcodCxuKX1yZXR1cm4gY29uc29sZS53YXJuKCJ0aW1lbGluZU5vZGVzIGxheW91dCB3b3JrZXI6IFBhcmVudCBub2RlIG5vdCBmb3VuZCBpbiBsYXlvdXQiLGUudXBzdHJlYW1EZXBlbmRlbmNpZXNbMF0pLGd9aWYoZS51cHN0cmVhbURlcGVuZGVuY2llcyYmZS51cHN0cmVhbURlcGVuZGVuY2llcy5sZW5ndGg+MCl7Y29uc3Qgbz1lLnVwc3RyZWFtRGVwZW5kZW5jaWVzLm1hcChjPT5hW2NdKS5maWx0ZXIoYz0+ISFjKS5tYXAoYz0+Yy5wb3NpdGlvbikscz1vLnJlZHVjZSgoYyx1KT0+Yyt1LDApL28ubGVuZ3RoLHI9TWF0aC5yb3VuZChzKTtpZihtKG4scikpe2NvbnN0IGM9VChuLHIpLHU9Yy5maWx0ZXIocD0+e3ZhciBsO3JldHVybihsPWUudXBzdHJlYW1EZXBlbmRlbmNpZXMpPT1udWxsP3ZvaWQgMDpsLmluY2x1ZGVzKHApfSk7aWYodS5sZW5ndGg+MHx8Yy5sZW5ndGg+MSl7Y29uc3RbcF09dS5sZW5ndGg+MD91OmMsbD1hW3BdO3JldHVybiBsLm5leHREZXBlbmRlbmN5U2hvdmU9aihvLHIsbC5uZXh0RGVwZW5kZW5jeVNob3ZlKSxhd2FpdCB3KGwsbil9cmV0dXJuIGF3YWl0IGsoe2NvbXBldGluZ0xheW91dEl0ZW1JZDpjWzBdLHVwc3RyZWFtUG9zaXRpb25zOm8sbm9kZVN0YXJ0WDpuLGRlc2lyZWRQb3NpdGlvbjpyfSl9fXJldHVybiBOKG4sZyl9ZnVuY3Rpb24gTihlLG4pe3JldHVybiBtKGUsbik/TihlLG4rMSk6bn1hc3luYyBmdW5jdGlvbiB3KGUsbil7ZS5uZXh0RGVwZW5kZW5jeVNob3ZlIT09MSYmZS5uZXh0RGVwZW5kZW5jeVNob3ZlIT09LTEmJihlLm5leHREZXBlbmRlbmN5U2hvdmU9MSk7Y29uc3R7cG9zaXRpb246dCxuZXh0RGVwZW5kZW5jeVNob3ZlOm99PWU7cmV0dXJuIG0obix0KT9vPT09MSYmIW0obix0KzEpPyhlLm5leHREZXBlbmRlbmN5U2hvdmU9LTEsdCsxKTptKG4sdC0xKT8oYXdhaXQgZih7ZGlyZWN0aW9uOm8sbm9kZVN0YXJ0WDpuLGRlc2lyZWRQb3NpdGlvbjp0K299KSxlLm5leHREZXBlbmRlbmN5U2hvdmU9bz09PTE/LTE6MSx0K28pOihlLm5leHREZXBlbmRlbmN5U2hvdmU9MSx0LTEpOnR9ZnVuY3Rpb24gbShlLG4pe2NvbnN0IHQ9T2JqZWN0LmtleXMoYSk7cmV0dXJuIHQubGVuZ3RoPjAmJnQuc29tZShvPT57Y29uc3QgaT1hW29dO3JldHVybiB4KHtmaXJzdE5vZGVFbmRYOmkuZW5kWCxmaXJzdE5vZGVQb3NpdGlvbjppLnBvc2l0aW9uLGxhc3ROb2RlU3RhcnRYOmUsbGFzdE5vZGVQb3NpdGlvbjpufSl9KX1hc3luYyBmdW5jdGlvbiBmKHtkaXJlY3Rpb246ZSxub2RlU3RhcnRYOm4sZGVzaXJlZFBvc2l0aW9uOnR9KXtjb25zdCBvPVQobix0KTtpZihvKWZvciBhd2FpdChjb25zdCBpIG9mIG8pe2NvbnN0IHM9YVtpXSxyPXMucG9zaXRpb24rZTthd2FpdCBmKHtkaXJlY3Rpb246ZSxub2RlU3RhcnRYOnMuc3RhcnRYLGRlc2lyZWRQb3NpdGlvbjpyfSkscy5wb3NpdGlvbj1yfX1mdW5jdGlvbiB4KHtmaXJzdE5vZGVFbmRYOmUsZmlyc3ROb2RlUG9zaXRpb246bixsYXN0Tm9kZVN0YXJ0WDp0LGxhc3ROb2RlUG9zaXRpb246b30pe3JldHVybiBuPT09byYmZSt2Pj10fWZ1bmN0aW9uIFQoZSxuKXtjb25zdCB0PVtdO2lmKE9iamVjdC5rZXlzKGEpLmZvckVhY2gobz0+e2NvbnN0IGk9YVtvXTt4KHtmaXJzdE5vZGVFbmRYOmkuZW5kWCxmaXJzdE5vZGVQb3NpdGlvbjppLnBvc2l0aW9uLGxhc3ROb2RlU3RhcnRYOmUsbGFzdE5vZGVQb3NpdGlvbjpufSkmJnQucHVzaChvKX0pLHQubGVuZ3RoIT09MClyZXR1cm4gdC5zb3J0KChvLGkpPT57Y29uc3Qgcz1hW29dLHI9YVtpXTtyZXR1cm4gcy5lbmRYPHIuZW5kWD8xOnMuZW5kWD5yLmVuZFg/LTE6MH0pLHR9ZnVuY3Rpb24gaihlLG4sdCl7Y29uc3Qgbz1lLmZpbHRlcihzPT5zPG4pLmxlbmd0aCxpPWUuZmlsdGVyKHM9PnM+bikubGVuZ3RoO3JldHVybiBvPmk/LTE6dD8/MX1hc3luYyBmdW5jdGlvbiBrKHtkZXNpcmVkUG9zaXRpb246ZSxub2RlU3RhcnRYOm4sdXBzdHJlYW1Qb3NpdGlvbnM6dCxjb21wZXRpbmdMYXlvdXRJdGVtSWQ6b30pe2NvbnN0IGk9YVtvXSxbcyxyXT1FKG8pLGM9dC5maWx0ZXIocD0+cDxlKS5sZW5ndGgsdT10LmZpbHRlcihwPT5wPmUpLmxlbmd0aDtpZihjPnUpe2lmKHM+ciYmcz5jKXJldHVybiBhd2FpdCBmKHtkaXJlY3Rpb246LTEsbm9kZVN0YXJ0WDpuLGRlc2lyZWRQb3NpdGlvbjplfSksZTtpZihyPnMpcmV0dXJuIGF3YWl0IGYoe2RpcmVjdGlvbjoxLG5vZGVTdGFydFg6bixkZXNpcmVkUG9zaXRpb246ZX0pLGU7aS5uZXh0RGVwZW5kZW5jeVNob3ZlPS0xfWlmKHU+Yyl7aWYocj5zJiZyPnUpcmV0dXJuIGF3YWl0IGYoe2RpcmVjdGlvbjoxLG5vZGVTdGFydFg6bixkZXNpcmVkUG9zaXRpb246ZX0pLGU7aWYocz5yKXJldHVybiBhd2FpdCBmKHtkaXJlY3Rpb246LTEsbm9kZVN0YXJ0WDpuLGRlc2lyZWRQb3NpdGlvbjplfSksZTtpLm5leHREZXBlbmRlbmN5U2hvdmU9MX1yZXR1cm4gYXdhaXQgdyhpLG4pfWZ1bmN0aW9uIEUoZSl7dmFyIG87Y29uc3Qgbj1kLmZpbmQoaT0+aS5pZD09PWUpLHQ9YVtlXTtyZXR1cm4oKG89bi51cHN0cmVhbURlcGVuZGVuY2llcyk9PW51bGw/dm9pZCAwOm8ucmVkdWNlKChpLHMpPT57aWYoZSBpbiBhKXtjb25zdCByPWFbc107cmV0dXJuIHIucG9zaXRpb248dC5wb3NpdGlvbiYmKGlbMF0rPTEpLHIucG9zaXRpb24+dC5wb3NpdGlvbiYmKGlbMV0rPTEpLGl9cmV0dXJuIGNvbnNvbGUud2Fybigibm9kZUxheW91dC53b3JrZXIudHM6IFBhcmVudCBub2RlIG5vdCBmb3VuZCBvbiBsYXlvdXQgZGF0YSIsZSksaX0sWzAsMF0pKT8/WzAsMF19ZnVuY3Rpb24gQigpe2NvbnN0IGU9T2JqZWN0LnZhbHVlcyhhKS5yZWR1Y2UoKG4sdCk9PnQucG9zaXRpb248bj90LnBvc2l0aW9uOm4sMCk7ZTwwJiZPYmplY3QudmFsdWVzKGEpLmZvckVhY2gobj0+e24ucG9zaXRpb24rPU1hdGguYWJzKGUpfSl9fSkoKTsKLy8jIHNvdXJjZU1hcHBpbmdVUkw9bm9kZUxheW91dC53b3JrZXItMzBjMmM3MTUuanMubWFwCi8vIyBzb3VyY2VNYXBwaW5nVVJMPWFzc2V0cy9ub2RlTGF5b3V0Lndvcmtlci0zMGMyYzcxNS5qcy5tYXA=", vu = typeof window < "u" && window.Blob && new Blob([atob(vf)], { type: "text/javascript;charset=utf-8" });
|
|
@@ -16553,7 +16553,7 @@ function wb() {
|
|
|
16553
16553
|
}
|
|
16554
16554
|
}
|
|
16555
16555
|
const fo = "timelineUpdateEvent";
|
|
16556
|
-
class _f extends
|
|
16556
|
+
class _f extends ft {
|
|
16557
16557
|
constructor({
|
|
16558
16558
|
nodeContentContainerName: t,
|
|
16559
16559
|
isSubNodes: i,
|
|
@@ -16566,11 +16566,11 @@ class _f extends ct {
|
|
|
16566
16566
|
P(this, "graphData");
|
|
16567
16567
|
P(this, "graphDataLookup", /* @__PURE__ */ new Map());
|
|
16568
16568
|
P(this, "graphState");
|
|
16569
|
-
P(this, "nodeContainer", new
|
|
16569
|
+
P(this, "nodeContainer", new ft());
|
|
16570
16570
|
P(this, "nodeRecords", /* @__PURE__ */ new Map());
|
|
16571
16571
|
P(this, "layout", Zi({}));
|
|
16572
16572
|
P(this, "layoutRows", Zi([]));
|
|
16573
|
-
P(this, "edgeContainer", new
|
|
16573
|
+
P(this, "edgeContainer", new ft());
|
|
16574
16574
|
P(this, "edgeRecords", []);
|
|
16575
16575
|
P(this, "unWatchers", []);
|
|
16576
16576
|
P(this, "isSelectionPathHighlighted", !1);
|
|
@@ -16583,13 +16583,13 @@ class _f extends ct {
|
|
|
16583
16583
|
selectedNodeId: n
|
|
16584
16584
|
} = this.graphState;
|
|
16585
16585
|
this.unWatchers.push(
|
|
16586
|
-
|
|
16586
|
+
Ht(t, () => {
|
|
16587
16587
|
this.updateLayoutSetting();
|
|
16588
16588
|
}),
|
|
16589
|
-
|
|
16589
|
+
Ht(i, () => {
|
|
16590
16590
|
this.updateHideEdges();
|
|
16591
16591
|
}),
|
|
16592
|
-
|
|
16592
|
+
Ht(n, () => {
|
|
16593
16593
|
if (n.value && this.nodeRecords.has(n.value)) {
|
|
16594
16594
|
this.isSelectionPathHighlighted && this.unHighlightSelectedNodePath(), this.isSelectionPathHighlighted = !0, this.highlightSelectedNodePath();
|
|
16595
16595
|
return;
|
|
@@ -16774,14 +16774,14 @@ class _f extends ct {
|
|
|
16774
16774
|
});
|
|
16775
16775
|
}
|
|
16776
16776
|
registerEmits(t) {
|
|
16777
|
-
t.on(
|
|
16778
|
-
this.emit(
|
|
16779
|
-
}), t.on(
|
|
16780
|
-
this.emit(
|
|
16777
|
+
t.on(ie.nodeDetails, (i) => {
|
|
16778
|
+
this.emit(ie.nodeDetails, i);
|
|
16779
|
+
}), t.on(ie.subNodesToggle, (i) => {
|
|
16780
|
+
this.emit(ie.subNodesToggle, i);
|
|
16781
16781
|
});
|
|
16782
16782
|
}
|
|
16783
16783
|
emitNullSelection() {
|
|
16784
|
-
this.emit(
|
|
16784
|
+
this.emit(ie.nodeDetails, null);
|
|
16785
16785
|
}
|
|
16786
16786
|
getNodeData(t) {
|
|
16787
16787
|
return this.graphDataLookup.get(t);
|
|
@@ -16793,7 +16793,7 @@ class _f extends ct {
|
|
|
16793
16793
|
this.nodeRecords.forEach((t) => t.destroy()), this.nodeRecords.clear(), this.edgeRecords.forEach((t) => t.edge.destroy()), this.removeChildren(), this.unWatchers.forEach((t) => t()), this.layoutWorker.terminate(), this.layoutWorker.onmessage = null, this.isSubNodes || cb(), super.destroy.call(this);
|
|
16794
16794
|
}
|
|
16795
16795
|
}
|
|
16796
|
-
class Rb extends
|
|
16796
|
+
class Rb extends ft {
|
|
16797
16797
|
constructor({
|
|
16798
16798
|
viewportRef: t,
|
|
16799
16799
|
appRef: i,
|
|
@@ -16810,7 +16810,7 @@ class Rb extends ct {
|
|
|
16810
16810
|
P(this, "unwatch");
|
|
16811
16811
|
P(this, "playhead", new Ne());
|
|
16812
16812
|
P(this, "label");
|
|
16813
|
-
n.add(this), this.viewportRef = t, this.appRef = i, this.cull = n, this.formatDateFns = s, this.styleOptions = a, this.drawPlayhead(), this.drawTimeLabel(), this.unwatch =
|
|
16813
|
+
n.add(this), this.viewportRef = t, this.appRef = i, this.cull = n, this.formatDateFns = s, this.styleOptions = a, this.drawPlayhead(), this.drawTimeLabel(), this.unwatch = Ht(a, () => {
|
|
16814
16814
|
this.playhead.clear(), this.drawPlayhead();
|
|
16815
16815
|
}, { deep: !0 }), this.interactive = !1;
|
|
16816
16816
|
}
|
|
@@ -16851,7 +16851,7 @@ class Rb extends ct {
|
|
|
16851
16851
|
spacingPlayheadWidth: t,
|
|
16852
16852
|
spacingPlayheadGlowPadding: i
|
|
16853
16853
|
} = this.styleOptions.value;
|
|
16854
|
-
this.position.x =
|
|
16854
|
+
this.position.x = ee.dateToX(new Date()) * this.viewportRef.scale._x + this.viewportRef.worldTransform.tx - i - t / 2, this.playhead.height !== this.appRef.screen.height && (this.playhead.height = this.appRef.screen.height, this.label.y = this.getTimeLabelY());
|
|
16855
16855
|
}
|
|
16856
16856
|
destroy() {
|
|
16857
16857
|
this.cull.remove(this), this.unwatch(), this.playhead.destroy(), super.destroy.call(this);
|
|
@@ -16862,7 +16862,7 @@ const ra = {
|
|
|
16862
16862
|
body: "body",
|
|
16863
16863
|
rightCap: "rightCap"
|
|
16864
16864
|
}, Pb = 0.2, Cb = 0.2;
|
|
16865
|
-
class Ob extends
|
|
16865
|
+
class Ob extends ft {
|
|
16866
16866
|
constructor({
|
|
16867
16867
|
graphState: t,
|
|
16868
16868
|
nodeData: i,
|
|
@@ -16876,8 +16876,8 @@ class Ob extends ct {
|
|
|
16876
16876
|
P(this, "isFloating");
|
|
16877
16877
|
P(this, "isExpanded", !1);
|
|
16878
16878
|
P(this, "textColor");
|
|
16879
|
-
P(this, "toggleBox", new
|
|
16880
|
-
P(this, "hoverShade", new
|
|
16879
|
+
P(this, "toggleBox", new ft());
|
|
16880
|
+
P(this, "hoverShade", new ft());
|
|
16881
16881
|
P(this, "toggleArrow");
|
|
16882
16882
|
P(this, "toggleBorder");
|
|
16883
16883
|
P(this, "divider");
|
|
@@ -16891,7 +16891,7 @@ class Ob extends ct {
|
|
|
16891
16891
|
initWatchers() {
|
|
16892
16892
|
const { viewport: t, styleOptions: i, styleNode: n } = this.graphState;
|
|
16893
16893
|
this.unWatchers.push(
|
|
16894
|
-
|
|
16894
|
+
Ht([i, n], () => {
|
|
16895
16895
|
this.redraw();
|
|
16896
16896
|
}, { deep: !0 })
|
|
16897
16897
|
), t.on("frame-end", () => {
|
|
@@ -16910,9 +16910,9 @@ class Ob extends ct {
|
|
|
16910
16910
|
borderRadius: o,
|
|
16911
16911
|
boxCapWidth: o,
|
|
16912
16912
|
height: t
|
|
16913
|
-
}), l = new
|
|
16913
|
+
}), l = new ht(h), f = new ht(u);
|
|
16914
16914
|
f.x = o, f.width = t - o * 2, f.height = t;
|
|
16915
|
-
const c = new
|
|
16915
|
+
const c = new ht(h);
|
|
16916
16916
|
c.scale.x = -1, c.x = t, i.addChild(l), i.addChild(f), i.addChild(c);
|
|
16917
16917
|
}
|
|
16918
16918
|
drawHoverShade() {
|
|
@@ -16926,7 +16926,7 @@ class Ob extends ct {
|
|
|
16926
16926
|
} = this.graphState.styleOptions.value, {
|
|
16927
16927
|
onFillSubNodeToggleHoverBg: o,
|
|
16928
16928
|
onFillSubNodeToggleHoverBgAlpha: h
|
|
16929
|
-
} = this.graphState.styleNode.value(this.nodeData), u =
|
|
16929
|
+
} = this.graphState.styleNode.value(this.nodeData), u = Qt(o);
|
|
16930
16930
|
t.removeChildren();
|
|
16931
16931
|
const { cap: l, body: f } = oo({
|
|
16932
16932
|
pixiApp: this.graphState.pixiApp,
|
|
@@ -16934,11 +16934,11 @@ class Ob extends ct {
|
|
|
16934
16934
|
borderRadius: s,
|
|
16935
16935
|
boxCapWidth: s,
|
|
16936
16936
|
height: i
|
|
16937
|
-
}), c = new
|
|
16937
|
+
}), c = new ht(l);
|
|
16938
16938
|
c.name = ra.leftCap, c.alpha = n ? 1 : h;
|
|
16939
|
-
const d = new
|
|
16939
|
+
const d = new ht(f);
|
|
16940
16940
|
d.name = ra.body, d.x = s, d.width = n ? i - s * 2 : i - s, d.height = i, d.alpha = n ? 1 : h;
|
|
16941
|
-
const v = new
|
|
16941
|
+
const v = new ht(l);
|
|
16942
16942
|
v.name = ra.rightCap, v.scale.x = -1, v.x = i, v.alpha = n ? 1 : 0, t.addChild(c), t.addChild(d), t.addChild(v), t.alpha = 0;
|
|
16943
16943
|
}
|
|
16944
16944
|
drawDivider() {
|
|
@@ -16949,7 +16949,7 @@ class Ob extends ct {
|
|
|
16949
16949
|
pixiApp: n,
|
|
16950
16950
|
fill: i
|
|
16951
16951
|
});
|
|
16952
|
-
this.divider = new
|
|
16952
|
+
this.divider = new ht(s), this.divider.width = 1, this.divider.height = t, this.divider.x = t, this.addChild(this.divider);
|
|
16953
16953
|
}
|
|
16954
16954
|
drawToggleArrow() {
|
|
16955
16955
|
var o;
|
|
@@ -16961,7 +16961,7 @@ class Ob extends ct {
|
|
|
16961
16961
|
edgeWidth: 2,
|
|
16962
16962
|
edgeLength: 8
|
|
16963
16963
|
});
|
|
16964
|
-
this.toggleArrow = new
|
|
16964
|
+
this.toggleArrow = new ht(a), this.toggleArrow.transform.rotation = n ? Math.PI / 2 * -1 : Math.PI / 2, this.toggleArrow.anchor.set(0.5, 0.5), this.toggleArrow.position.set(t / 2, t / 2), this.addChild(this.toggleArrow);
|
|
16965
16965
|
}
|
|
16966
16966
|
drawToggleBorder() {
|
|
16967
16967
|
var o;
|
|
@@ -17033,7 +17033,7 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17033
17033
|
const i = r, n = 500;
|
|
17034
17034
|
e({
|
|
17035
17035
|
centerViewport: Bt,
|
|
17036
|
-
moveViewportCenter:
|
|
17036
|
+
moveViewportCenter: Wt
|
|
17037
17037
|
});
|
|
17038
17038
|
const s = ge({
|
|
17039
17039
|
get() {
|
|
@@ -17071,7 +17071,7 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17071
17071
|
console.error("Stage reference not found in initPixiApp");
|
|
17072
17072
|
return;
|
|
17073
17073
|
}
|
|
17074
|
-
Z(), N = gb(E), x = Y0(a.value), x.stage.sortableChildren = !0, b = await K0(a.value, x), b.zIndex = m.viewport, M(), U(), tt(),
|
|
17074
|
+
Z(), N = gb(E), x = Y0(a.value), x.stage.sortableChildren = !0, b = await K0(a.value, x), b.zIndex = m.viewport, M(), U(), tt(), ct(), It(), K(), st(), vt(), y.value = !1;
|
|
17075
17075
|
}), Sf(() => {
|
|
17076
17076
|
W();
|
|
17077
17077
|
});
|
|
@@ -17097,22 +17097,25 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17097
17097
|
C();
|
|
17098
17098
|
}), b.on("resize", () => {
|
|
17099
17099
|
C();
|
|
17100
|
-
})
|
|
17100
|
+
}), Ht(() => i.visibleDateRange, () => {
|
|
17101
|
+
if (!s.value)
|
|
17102
|
+
return;
|
|
17103
|
+
if (s.value.internalOrigin) {
|
|
17104
|
+
s.value.internalOrigin = !1;
|
|
17105
|
+
return;
|
|
17106
|
+
}
|
|
17107
|
+
const k = N.dateToX(s.value.startDate), dt = N.dateToX(s.value.endDate), Vt = k + (dt - k) / 2;
|
|
17108
|
+
b.fitWidth(dt - k, !0), b.moveCenter(Vt, b.center.y);
|
|
17109
|
+
}, { deep: !0 });
|
|
17101
17110
|
}
|
|
17102
|
-
Wt(() => i.visibleDateRange, (k) => {
|
|
17103
|
-
if (k && !k.internalOrigin) {
|
|
17104
|
-
const ot = N.dateToX(k.startDate), Ut = N.dateToX(k.endDate), Kt = ot + (Ut - ot) / 2;
|
|
17105
|
-
b.fitWidth(Ut - ot, !0), b.moveCenter(Kt, b.center.y);
|
|
17106
|
-
}
|
|
17107
|
-
});
|
|
17108
17111
|
function Z() {
|
|
17109
|
-
const
|
|
17110
|
-
f.value &&
|
|
17112
|
+
const dt = i.graphData.filter(Yf).map(({ start: He, end: We }) => ({ start: He, end: We }));
|
|
17113
|
+
f.value && dt.push({
|
|
17111
17114
|
start: new Date(),
|
|
17112
17115
|
end: new Date()
|
|
17113
17116
|
});
|
|
17114
|
-
const { min:
|
|
17115
|
-
w =
|
|
17117
|
+
const { min: Vt, max: ue, span: Me } = Uf(dt, 6e4);
|
|
17118
|
+
w = Vt, S.value = ue, R = Me, O = z(), E = {
|
|
17116
17119
|
minimumStartTime: w.getTime(),
|
|
17117
17120
|
graphXDomain: O,
|
|
17118
17121
|
initialOverallTimeSpan: R
|
|
@@ -17121,18 +17124,18 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17121
17124
|
function z() {
|
|
17122
17125
|
const {
|
|
17123
17126
|
spacingNodeYPadding: k,
|
|
17124
|
-
textLineHeightDefault:
|
|
17125
|
-
spacingNodeMargin:
|
|
17126
|
-
spacingSubNodesOutlineOffset:
|
|
17127
|
-
} = h.value, Me = i.graphData.length, He =
|
|
17127
|
+
textLineHeightDefault: dt,
|
|
17128
|
+
spacingNodeMargin: Vt,
|
|
17129
|
+
spacingSubNodesOutlineOffset: ue
|
|
17130
|
+
} = h.value, Me = i.graphData.length, He = dt + k * 2 + ue * 2 + Vt, We = a.value.clientWidth / a.value.clientHeight, gf = He * Me * We, mf = Me >= 120 ? Me / 100 : 1.2;
|
|
17128
17131
|
return gf * mf;
|
|
17129
17132
|
}
|
|
17130
17133
|
function tt() {
|
|
17131
|
-
V0(h.value),
|
|
17134
|
+
V0(h.value), Ht(h, (k) => {
|
|
17132
17135
|
W0(k);
|
|
17133
17136
|
});
|
|
17134
17137
|
}
|
|
17135
|
-
function
|
|
17138
|
+
function ct() {
|
|
17136
17139
|
V = {
|
|
17137
17140
|
pixiApp: x,
|
|
17138
17141
|
viewport: b,
|
|
@@ -17165,13 +17168,13 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17165
17168
|
if (f.value && L && !L.destroyed) {
|
|
17166
17169
|
const k = L.position.x > 0 && L.position.x < x.screen.width;
|
|
17167
17170
|
if (S.value = new Date(), L.updatePosition(), !b.moving && k && L.position.x > x.screen.width - h.value.spacingViewportPaddingDefault) {
|
|
17168
|
-
const
|
|
17169
|
-
b.zoomPercent(-0.1, !0), b.left = N.dateToX(
|
|
17171
|
+
const dt = N.xToDate(b.left);
|
|
17172
|
+
b.zoomPercent(-0.1, !0), b.left = N.dateToX(dt);
|
|
17170
17173
|
}
|
|
17171
17174
|
}
|
|
17172
17175
|
}, x.ticker.add(A));
|
|
17173
17176
|
}
|
|
17174
|
-
|
|
17177
|
+
Ht(f, (k) => {
|
|
17175
17178
|
y.value || (k && (!L || L.destroyed) && st(), !k && L && A && (L.destroy(), x.ticker.remove(A), A = null));
|
|
17176
17179
|
});
|
|
17177
17180
|
function It() {
|
|
@@ -17202,35 +17205,35 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17202
17205
|
nodeContentContainerName: I,
|
|
17203
17206
|
graphData: i.graphData,
|
|
17204
17207
|
graphState: V
|
|
17205
|
-
}), b.addChild(F), F.on(
|
|
17208
|
+
}), b.addChild(F), F.on(ie.nodeDetails, (k) => {
|
|
17206
17209
|
_.value || t("selection", k);
|
|
17207
|
-
}), F.on(
|
|
17210
|
+
}), F.on(ie.subNodesToggle, (k) => {
|
|
17208
17211
|
_.value || t("subNodeToggle", k);
|
|
17209
|
-
}),
|
|
17212
|
+
}), Ht(() => i.graphData, () => {
|
|
17210
17213
|
F.update(i.graphData), b.dirty = !0;
|
|
17211
17214
|
}));
|
|
17212
17215
|
}
|
|
17213
17216
|
function Bt({ skipAnimation: k } = {}) {
|
|
17214
|
-
const { spacingViewportPaddingDefault:
|
|
17217
|
+
const { spacingViewportPaddingDefault: dt } = h.value, Vt = 500;
|
|
17215
17218
|
et();
|
|
17216
17219
|
const {
|
|
17217
|
-
x:
|
|
17220
|
+
x: ue,
|
|
17218
17221
|
y: Me,
|
|
17219
17222
|
width: He,
|
|
17220
17223
|
height: We
|
|
17221
17224
|
} = F.getChildByName(I).getLocalBounds();
|
|
17222
17225
|
at();
|
|
17223
17226
|
const Wi = b.findFit(
|
|
17224
|
-
He +
|
|
17225
|
-
We +
|
|
17227
|
+
He + dt * 2,
|
|
17228
|
+
We + dt * 2
|
|
17226
17229
|
);
|
|
17227
17230
|
b.animate({
|
|
17228
17231
|
position: {
|
|
17229
|
-
x:
|
|
17232
|
+
x: ue + He / 2,
|
|
17230
17233
|
y: Me + We / 2
|
|
17231
17234
|
},
|
|
17232
17235
|
scale: Wi > 1 ? 1 : Wi,
|
|
17233
|
-
time: k || p.value ? 0 :
|
|
17236
|
+
time: k || p.value ? 0 : Vt,
|
|
17234
17237
|
ease: "easeInOutQuad",
|
|
17235
17238
|
removeOnInterrupt: !0,
|
|
17236
17239
|
callbackOnComplete: () => {
|
|
@@ -17238,16 +17241,16 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17238
17241
|
}
|
|
17239
17242
|
});
|
|
17240
17243
|
}
|
|
17241
|
-
function
|
|
17242
|
-
const { x:
|
|
17244
|
+
function Wt({ xOffset: k, yOffset: dt }) {
|
|
17245
|
+
const { x: Vt, y: ue } = b.transform.position;
|
|
17243
17246
|
b.setTransform(
|
|
17244
|
-
|
|
17245
|
-
|
|
17247
|
+
Vt + k,
|
|
17248
|
+
ue + dt,
|
|
17246
17249
|
b.transform.scale.x,
|
|
17247
17250
|
b.transform.scale.y
|
|
17248
17251
|
);
|
|
17249
17252
|
}
|
|
17250
|
-
return (k,
|
|
17253
|
+
return (k, dt) => (wf(), Rf("div", {
|
|
17251
17254
|
ref_key: "stage",
|
|
17252
17255
|
ref: a,
|
|
17253
17256
|
class: "g-flow-run-timeline"
|
|
@@ -17255,13 +17258,13 @@ const Hb = /* @__PURE__ */ Tf({
|
|
|
17255
17258
|
}
|
|
17256
17259
|
});
|
|
17257
17260
|
export {
|
|
17258
|
-
|
|
17259
|
-
|
|
17261
|
+
ft as C,
|
|
17262
|
+
lt as P,
|
|
17260
17263
|
$ as R,
|
|
17261
|
-
|
|
17264
|
+
kt as T,
|
|
17262
17265
|
Hb as _,
|
|
17263
17266
|
jf as f,
|
|
17264
17267
|
Yf as h,
|
|
17265
17268
|
Zf as n
|
|
17266
17269
|
};
|
|
17267
|
-
//# sourceMappingURL=index-
|
|
17270
|
+
//# sourceMappingURL=index-0e0bc71d.mjs.map
|