reacthub-pixitweenjs 0.2.107-alpha.36 → 0.2.107-alpha.37
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/index.es.js +48 -41
- package/dist/index.umd.js +8 -8
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -953,9 +953,9 @@ function eP(t, e, r, n, i, a, u, l, f) {
|
|
|
953
953
|
N < 0 && (N = 0);
|
|
954
954
|
var L = (a === u ? -1 : 1) * fs(N), D = L * (r * x / n), V = L * -(n * b / r), Y = (t + l) / 2, se = (e + f) / 2, X = Y + (g * D - c * V), G = se + (c * D + g * V), ie = (b - D) / r, re = (x - V) / n, H = (-b - D) / r, Q = (-x - V) / n, ge = ie * ie + re * re, W = (re < 0 ? -1 : 1) * Math.acos(ie / fs(ge)), j = (ie * Q - re * H < 0 ? -1 : 1) * Math.acos((ie * H + re * Q) / fs(ge * (H * H + Q * Q)));
|
|
955
955
|
isNaN(j) && (j = d), !u && j > 0 ? j -= m : u && j < 0 && (j += m), W %= m, j %= m;
|
|
956
|
-
var le = Math.ceil(xs(j) / (m / 4)), he = [], me = j / le,
|
|
956
|
+
var le = Math.ceil(xs(j) / (m / 4)), he = [], me = j / le, fe = 4 / 3 * La(me / 2) / (1 + ka(me / 2)), Re = g * r, Ue = c * r, He = c * -n, je = g * n, be;
|
|
957
957
|
for (be = 0; be < le; be++)
|
|
958
|
-
i = W + be * me, b = ka(i), x = La(i), ie = ka(i += me), re = La(i), he.push(b -
|
|
958
|
+
i = W + be * me, b = ka(i), x = La(i), ie = ka(i += me), re = La(i), he.push(b - fe * x, x + fe * b, ie + fe * re, re - fe * ie, ie, re);
|
|
959
959
|
for (be = 0; be < he.length; be += 2)
|
|
960
960
|
b = he[be], x = he[be + 1], he[be] = b * Re + x * He + X, he[be + 1] = b * Ue + x * je + G;
|
|
961
961
|
return he[be - 2] = l, he[be - 1] = f, he;
|
|
@@ -1398,16 +1398,23 @@ const cP = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], vn = te
|
|
|
1398
1398
|
[i, u]
|
|
1399
1399
|
), te.useEffect(() => {
|
|
1400
1400
|
f.current && n(!0);
|
|
1401
|
-
}, []), te.useEffect(() =>
|
|
1402
|
-
|
|
1403
|
-
|
|
1401
|
+
}, []), te.useEffect(() => {
|
|
1402
|
+
if (m.current) {
|
|
1403
|
+
console.log("running rect effect", d.current);
|
|
1404
|
+
const fe = m.current.progress();
|
|
1405
|
+
d.current && m.current.remove(d.current), m.current.add(W, b), console.log("setting up the progress"), W.progress(fe), d.current = W;
|
|
1406
|
+
}
|
|
1407
|
+
return () => {
|
|
1408
|
+
m.current && (m.current.remove(W), W.progress(0).kill());
|
|
1409
|
+
};
|
|
1410
|
+
}, [b, , W]);
|
|
1404
1411
|
const j = te.useCallback(() => {
|
|
1405
1412
|
l(!0), G && G();
|
|
1406
1413
|
}, []), le = te.useCallback(() => {
|
|
1407
1414
|
a(!0);
|
|
1408
1415
|
}, []), he = te.useCallback(
|
|
1409
|
-
(
|
|
1410
|
-
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(
|
|
1416
|
+
(fe) => {
|
|
1417
|
+
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(fe), a(!1);
|
|
1411
1418
|
},
|
|
1412
1419
|
[]
|
|
1413
1420
|
), me = rS(wt, {
|
|
@@ -1436,8 +1443,8 @@ const cP = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], vn = te
|
|
|
1436
1443
|
me,
|
|
1437
1444
|
{
|
|
1438
1445
|
scale: 1,
|
|
1439
|
-
apply: ({ matrix:
|
|
1440
|
-
N === Un.BlackAndWhite ?
|
|
1446
|
+
apply: ({ matrix: fe }) => {
|
|
1447
|
+
N === Un.BlackAndWhite ? fe.desaturate() : N === Un.Sepia ? fe.sepia() : N === Un.RetroVintage || N === Un.NightVision ? fe.negative() : N === Un.Normal && fe.reset();
|
|
1441
1448
|
},
|
|
1442
1449
|
matrix: {
|
|
1443
1450
|
enabled: !0,
|
|
@@ -1481,7 +1488,7 @@ vn.whyDidYouRender = {
|
|
|
1481
1488
|
logOnDifferentValues: !0,
|
|
1482
1489
|
customName: "AbstractContainer"
|
|
1483
1490
|
};
|
|
1484
|
-
var Kn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Kn || {}), Om = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Om || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}),
|
|
1491
|
+
var Kn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Kn || {}), Om = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Om || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}), de = /* @__PURE__ */ ((t) => (t[t.NORMAL = 0] = "NORMAL", t[t.ADD = 1] = "ADD", t[t.MULTIPLY = 2] = "MULTIPLY", t[t.SCREEN = 3] = "SCREEN", t[t.OVERLAY = 4] = "OVERLAY", t[t.DARKEN = 5] = "DARKEN", t[t.LIGHTEN = 6] = "LIGHTEN", t[t.COLOR_DODGE = 7] = "COLOR_DODGE", t[t.COLOR_BURN = 8] = "COLOR_BURN", t[t.HARD_LIGHT = 9] = "HARD_LIGHT", t[t.SOFT_LIGHT = 10] = "SOFT_LIGHT", t[t.DIFFERENCE = 11] = "DIFFERENCE", t[t.EXCLUSION = 12] = "EXCLUSION", t[t.HUE = 13] = "HUE", t[t.SATURATION = 14] = "SATURATION", t[t.COLOR = 15] = "COLOR", t[t.LUMINOSITY = 16] = "LUMINOSITY", t[t.NORMAL_NPM = 17] = "NORMAL_NPM", t[t.ADD_NPM = 18] = "ADD_NPM", t[t.SCREEN_NPM = 19] = "SCREEN_NPM", t[t.NONE = 20] = "NONE", t[t.SRC_OVER = 0] = "SRC_OVER", t[t.SRC_IN = 21] = "SRC_IN", t[t.SRC_OUT = 22] = "SRC_OUT", t[t.SRC_ATOP = 23] = "SRC_ATOP", t[t.DST_OVER = 24] = "DST_OVER", t[t.DST_IN = 25] = "DST_IN", t[t.DST_OUT = 26] = "DST_OUT", t[t.DST_ATOP = 27] = "DST_ATOP", t[t.ERASE = 26] = "ERASE", t[t.SUBTRACT = 28] = "SUBTRACT", t[t.XOR = 29] = "XOR", t))(de || {}), dn = /* @__PURE__ */ ((t) => (t[t.POINTS = 0] = "POINTS", t[t.LINES = 1] = "LINES", t[t.LINE_LOOP = 2] = "LINE_LOOP", t[t.LINE_STRIP = 3] = "LINE_STRIP", t[t.TRIANGLES = 4] = "TRIANGLES", t[t.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", t[t.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", t))(dn || {}), K = /* @__PURE__ */ ((t) => (t[t.RGBA = 6408] = "RGBA", t[t.RGB = 6407] = "RGB", t[t.RG = 33319] = "RG", t[t.RED = 6403] = "RED", t[t.RGBA_INTEGER = 36249] = "RGBA_INTEGER", t[t.RGB_INTEGER = 36248] = "RGB_INTEGER", t[t.RG_INTEGER = 33320] = "RG_INTEGER", t[t.RED_INTEGER = 36244] = "RED_INTEGER", t[t.ALPHA = 6406] = "ALPHA", t[t.LUMINANCE = 6409] = "LUMINANCE", t[t.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", t[t.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", t[t.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", t))(K || {}), Ii = /* @__PURE__ */ ((t) => (t[t.TEXTURE_2D = 3553] = "TEXTURE_2D", t[t.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", t[t.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", t[t.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", t[t.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", t[t.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", t[t.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", t[t.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", t))(Ii || {}), De = /* @__PURE__ */ ((t) => (t[t.UNSIGNED_BYTE = 5121] = "UNSIGNED_BYTE", t[t.UNSIGNED_SHORT = 5123] = "UNSIGNED_SHORT", t[t.UNSIGNED_SHORT_5_6_5 = 33635] = "UNSIGNED_SHORT_5_6_5", t[t.UNSIGNED_SHORT_4_4_4_4 = 32819] = "UNSIGNED_SHORT_4_4_4_4", t[t.UNSIGNED_SHORT_5_5_5_1 = 32820] = "UNSIGNED_SHORT_5_5_5_1", t[t.UNSIGNED_INT = 5125] = "UNSIGNED_INT", t[t.UNSIGNED_INT_10F_11F_11F_REV = 35899] = "UNSIGNED_INT_10F_11F_11F_REV", t[t.UNSIGNED_INT_2_10_10_10_REV = 33640] = "UNSIGNED_INT_2_10_10_10_REV", t[t.UNSIGNED_INT_24_8 = 34042] = "UNSIGNED_INT_24_8", t[t.UNSIGNED_INT_5_9_9_9_REV = 35902] = "UNSIGNED_INT_5_9_9_9_REV", t[t.BYTE = 5120] = "BYTE", t[t.SHORT = 5122] = "SHORT", t[t.INT = 5124] = "INT", t[t.FLOAT = 5126] = "FLOAT", t[t.FLOAT_32_UNSIGNED_INT_24_8_REV = 36269] = "FLOAT_32_UNSIGNED_INT_24_8_REV", t[t.HALF_FLOAT = 36193] = "HALF_FLOAT", t))(De || {}), fc = /* @__PURE__ */ ((t) => (t[t.FLOAT = 0] = "FLOAT", t[t.INT = 1] = "INT", t[t.UINT = 2] = "UINT", t))(fc || {}), Lr = /* @__PURE__ */ ((t) => (t[t.NEAREST = 0] = "NEAREST", t[t.LINEAR = 1] = "LINEAR", t))(Lr || {}), Rs = /* @__PURE__ */ ((t) => (t[t.CLAMP = 33071] = "CLAMP", t[t.REPEAT = 10497] = "REPEAT", t[t.MIRRORED_REPEAT = 33648] = "MIRRORED_REPEAT", t))(Rs || {}), Wn = /* @__PURE__ */ ((t) => (t[t.OFF = 0] = "OFF", t[t.POW2 = 1] = "POW2", t[t.ON = 2] = "ON", t[t.ON_MANUAL = 3] = "ON_MANUAL", t))(Wn || {}), _n = /* @__PURE__ */ ((t) => (t[t.NPM = 0] = "NPM", t[t.UNPACK = 1] = "UNPACK", t[t.PMA = 2] = "PMA", t[t.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", t[t.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", t[t.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA", t))(_n || {}), Nn = /* @__PURE__ */ ((t) => (t[t.NO = 0] = "NO", t[t.YES = 1] = "YES", t[t.AUTO = 2] = "AUTO", t[t.BLEND = 0] = "BLEND", t[t.CLEAR = 1] = "CLEAR", t[t.BLIT = 2] = "BLIT", t))(Nn || {}), Qc = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.MANUAL = 1] = "MANUAL", t))(Qc || {}), cr = /* @__PURE__ */ ((t) => (t.LOW = "lowp", t.MEDIUM = "mediump", t.HIGH = "highp", t))(cr || {}), _t = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.SCISSOR = 1] = "SCISSOR", t[t.STENCIL = 2] = "STENCIL", t[t.SPRITE = 3] = "SPRITE", t[t.COLOR = 4] = "COLOR", t))(_t || {}), gt = /* @__PURE__ */ ((t) => (t[t.NONE = 0] = "NONE", t[t.LOW = 2] = "LOW", t[t.MEDIUM = 4] = "MEDIUM", t[t.HIGH = 8] = "HIGH", t))(gt || {}), kr = /* @__PURE__ */ ((t) => (t[t.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", t[t.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", t[t.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER", t))(kr || {});
|
|
1485
1492
|
const hP = {
|
|
1486
1493
|
createCanvas: (t, e) => {
|
|
1487
1494
|
const r = document.createElement("canvas");
|
|
@@ -1973,12 +1980,12 @@ vo.exports;
|
|
|
1973
1980
|
function V(W, j) {
|
|
1974
1981
|
var le = W.split("@"), he = "";
|
|
1975
1982
|
le.length > 1 && (he = le[0] + "@", W = le[1]), W = W.replace(E, ".");
|
|
1976
|
-
var me = W.split("."),
|
|
1977
|
-
return he +
|
|
1983
|
+
var me = W.split("."), fe = D(me, j).join(".");
|
|
1984
|
+
return he + fe;
|
|
1978
1985
|
}
|
|
1979
1986
|
function Y(W) {
|
|
1980
|
-
for (var j = [], le = 0, he = W.length, me,
|
|
1981
|
-
me = W.charCodeAt(le++), me >= 55296 && me <= 56319 && le < he ? (
|
|
1987
|
+
for (var j = [], le = 0, he = W.length, me, fe; le < he; )
|
|
1988
|
+
me = W.charCodeAt(le++), me >= 55296 && me <= 56319 && le < he ? (fe = W.charCodeAt(le++), (fe & 64512) == 56320 ? j.push(((me & 1023) << 10) + (fe & 1023) + 65536) : (j.push(me), le--)) : j.push(me);
|
|
1982
1989
|
return j;
|
|
1983
1990
|
}
|
|
1984
1991
|
function se(W) {
|
|
@@ -2000,30 +2007,30 @@ vo.exports;
|
|
|
2000
2007
|
return O(he + (I + 1) * W / (W + c));
|
|
2001
2008
|
}
|
|
2002
2009
|
function re(W) {
|
|
2003
|
-
var j = [], le = W.length, he, me = 0,
|
|
2010
|
+
var j = [], le = W.length, he, me = 0, fe = _, Re = m, Ue, He, je, be, Ee, $e, Ke, Se, _e;
|
|
2004
2011
|
for (Ue = W.lastIndexOf(y), Ue < 0 && (Ue = 0), He = 0; He < Ue; ++He)
|
|
2005
2012
|
W.charCodeAt(He) >= 128 && L("not-basic"), j.push(W.charCodeAt(He));
|
|
2006
2013
|
for (je = Ue > 0 ? Ue + 1 : 0; je < le; ) {
|
|
2007
2014
|
for (be = me, Ee = 1, $e = f; je >= le && L("invalid-input"), Ke = X(W.charCodeAt(je++)), (Ke >= f || Ke > O((l - me) / Ee)) && L("overflow"), me += Ke * Ee, Se = $e <= Re ? p : $e >= Re + g ? g : $e - Re, !(Ke < Se); $e += f)
|
|
2008
2015
|
_e = f - Se, Ee > O(l / _e) && L("overflow"), Ee *= _e;
|
|
2009
|
-
he = j.length + 1, Re = ie(me - be, he, be == 0), O(me / he) > l -
|
|
2016
|
+
he = j.length + 1, Re = ie(me - be, he, be == 0), O(me / he) > l - fe && L("overflow"), fe += O(me / he), me %= he, j.splice(me++, 0, fe);
|
|
2010
2017
|
}
|
|
2011
2018
|
return se(j);
|
|
2012
2019
|
}
|
|
2013
2020
|
function H(W) {
|
|
2014
|
-
var j, le, he, me,
|
|
2015
|
-
for (W = Y(W), Ke = W.length, j = _, le = 0,
|
|
2021
|
+
var j, le, he, me, fe, Re, Ue, He, je, be, Ee, $e = [], Ke, Se, _e, rt;
|
|
2022
|
+
for (W = Y(W), Ke = W.length, j = _, le = 0, fe = m, Re = 0; Re < Ke; ++Re)
|
|
2016
2023
|
Ee = W[Re], Ee < 128 && $e.push(F(Ee));
|
|
2017
2024
|
for (he = me = $e.length, me && $e.push(y); he < Ke; ) {
|
|
2018
2025
|
for (Ue = l, Re = 0; Re < Ke; ++Re)
|
|
2019
2026
|
Ee = W[Re], Ee >= j && Ee < Ue && (Ue = Ee);
|
|
2020
2027
|
for (Se = he + 1, Ue - j > O((l - le) / Se) && L("overflow"), le += (Ue - j) * Se, j = Ue, Re = 0; Re < Ke; ++Re)
|
|
2021
2028
|
if (Ee = W[Re], Ee < j && ++le > l && L("overflow"), Ee == j) {
|
|
2022
|
-
for (He = le, je = f; be = je <=
|
|
2029
|
+
for (He = le, je = f; be = je <= fe ? p : je >= fe + g ? g : je - fe, !(He < be); je += f)
|
|
2023
2030
|
rt = He - be, _e = f - be, $e.push(
|
|
2024
2031
|
F(G(be + rt % _e, 0))
|
|
2025
2032
|
), He = O(rt / _e);
|
|
2026
|
-
$e.push(F(G(He, 0))),
|
|
2033
|
+
$e.push(F(G(He, 0))), fe = ie(le, Se, he == me), le = 0, ++he;
|
|
2027
2034
|
}
|
|
2028
2035
|
++le, ++j;
|
|
2029
2036
|
}
|
|
@@ -3768,7 +3775,7 @@ function JO() {
|
|
|
3768
3775
|
const t = [], e = [];
|
|
3769
3776
|
for (let n = 0; n < 32; n++)
|
|
3770
3777
|
t[n] = n, e[n] = n;
|
|
3771
|
-
t[
|
|
3778
|
+
t[de.NORMAL_NPM] = de.NORMAL, t[de.ADD_NPM] = de.ADD, t[de.SCREEN_NPM] = de.SCREEN, e[de.NORMAL] = de.NORMAL_NPM, e[de.ADD] = de.ADD_NPM, e[de.SCREEN] = de.SCREEN_NPM;
|
|
3772
3779
|
const r = [];
|
|
3773
3780
|
return r.push(e), r.push(t), r;
|
|
3774
3781
|
}
|
|
@@ -3954,7 +3961,7 @@ function aF(t, e) {
|
|
|
3954
3961
|
const Gl = 0, Hl = 1, zl = 2, Vl = 3, Xl = 4, Wl = 5;
|
|
3955
3962
|
let Go = class r0 {
|
|
3956
3963
|
constructor() {
|
|
3957
|
-
this.data = 0, this.blendMode =
|
|
3964
|
+
this.data = 0, this.blendMode = de.NORMAL, this.polygonOffset = 0, this.blend = !0, this.depthMask = !0;
|
|
3958
3965
|
}
|
|
3959
3966
|
get blend() {
|
|
3960
3967
|
return !!(this.data & 1 << Gl);
|
|
@@ -3996,7 +4003,7 @@ let Go = class r0 {
|
|
|
3996
4003
|
return this._blendMode;
|
|
3997
4004
|
}
|
|
3998
4005
|
set blendMode(e) {
|
|
3999
|
-
this.blend = e !==
|
|
4006
|
+
this.blend = e !== de.NONE, this._blendMode = e;
|
|
4000
4007
|
}
|
|
4001
4008
|
get polygonOffset() {
|
|
4002
4009
|
return this._polygonOffset;
|
|
@@ -7687,11 +7694,11 @@ Xo.extension = {
|
|
|
7687
7694
|
};
|
|
7688
7695
|
We.add(Xo);
|
|
7689
7696
|
function nN(t, e = []) {
|
|
7690
|
-
return e[
|
|
7697
|
+
return e[de.NORMAL] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.ADD] = [t.ONE, t.ONE], e[de.MULTIPLY] = [t.DST_COLOR, t.ONE_MINUS_SRC_ALPHA, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.SCREEN] = [t.ONE, t.ONE_MINUS_SRC_COLOR, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.OVERLAY] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.DARKEN] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.LIGHTEN] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.COLOR_DODGE] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.COLOR_BURN] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.HARD_LIGHT] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.SOFT_LIGHT] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.DIFFERENCE] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.EXCLUSION] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.HUE] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.SATURATION] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.COLOR] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.LUMINOSITY] = [t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.NONE] = [0, 0], e[de.NORMAL_NPM] = [t.SRC_ALPHA, t.ONE_MINUS_SRC_ALPHA, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.ADD_NPM] = [t.SRC_ALPHA, t.ONE, t.ONE, t.ONE], e[de.SCREEN_NPM] = [t.SRC_ALPHA, t.ONE_MINUS_SRC_COLOR, t.ONE, t.ONE_MINUS_SRC_ALPHA], e[de.SRC_IN] = [t.DST_ALPHA, t.ZERO], e[de.SRC_OUT] = [t.ONE_MINUS_DST_ALPHA, t.ZERO], e[de.SRC_ATOP] = [t.DST_ALPHA, t.ONE_MINUS_SRC_ALPHA], e[de.DST_OVER] = [t.ONE_MINUS_DST_ALPHA, t.ONE], e[de.DST_IN] = [t.ZERO, t.SRC_ALPHA], e[de.DST_OUT] = [t.ZERO, t.ONE_MINUS_SRC_ALPHA], e[de.DST_ATOP] = [t.ONE_MINUS_DST_ALPHA, t.SRC_ALPHA], e[de.XOR] = [t.ONE_MINUS_DST_ALPHA, t.ONE_MINUS_SRC_ALPHA], e[de.SUBTRACT] = [t.ONE, t.ONE, t.ONE, t.ONE, t.FUNC_REVERSE_SUBTRACT, t.FUNC_ADD], e;
|
|
7691
7698
|
}
|
|
7692
7699
|
const iN = 0, sN = 1, aN = 2, oN = 3, uN = 4, lN = 5, Fc = class {
|
|
7693
7700
|
constructor() {
|
|
7694
|
-
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode =
|
|
7701
|
+
this.gl = null, this.stateId = 0, this.polygonOffset = 0, this.blendMode = de.NONE, this._blendEq = !1, this.map = [], this.map[iN] = this.setBlend, this.map[sN] = this.setOffset, this.map[aN] = this.setCullFace, this.map[oN] = this.setDepthTest, this.map[uN] = this.setFrontFace, this.map[lN] = this.setDepthMask, this.checks = [], this.defaultState = new Go(), this.defaultState.blend = !0;
|
|
7695
7702
|
}
|
|
7696
7703
|
contextChange(t) {
|
|
7697
7704
|
this.gl = t, this.blendModes = nN(t), this.set(this.defaultState), this.reset();
|
|
@@ -12199,7 +12206,7 @@ function Z3(t, e) {
|
|
|
12199
12206
|
g.push(w - N * X, I - L * X, w + N * G, I + L * G), le >= 0 && (a.join === yr.ROUND ? d += On(w, I, w - N * X, I - L * X, w - D * X, I - V * X, g, !1) + 4 : d += 2, g.push(w - D * G, I - V * G, w + D * X, I + V * X));
|
|
12200
12207
|
continue;
|
|
12201
12208
|
}
|
|
12202
|
-
const
|
|
12209
|
+
const fe = (-N + x) * (-L + I) - (-N + w) * (-L + E), Re = (-D + O) * (-V + I) - (-D + w) * (-V + F), Ue = (Q * Re - W * fe) / he, He = (j * fe - ge * Re) / he, je = (Ue - w) * (Ue - w) + (He - I) * (He - I), be = w + (Ue - w) * X, Ee = I + (He - I) * X, $e = w - (Ue - w) * G, Ke = I - (He - I) * G, Se = Math.min(Q * Q + ge * ge, W * W + j * j), _e = me ? X : G, rt = Se + _e * _e * y, ce = je <= rt;
|
|
12203
12210
|
let Oe = a.join;
|
|
12204
12211
|
if (Oe === yr.MITER && je / y > b && (Oe = yr.BEVEL), ce)
|
|
12205
12212
|
switch (Oe) {
|
|
@@ -12952,7 +12959,7 @@ class _h extends jo {
|
|
|
12952
12959
|
}
|
|
12953
12960
|
const tc = {}, lo = class extends $i {
|
|
12954
12961
|
constructor(t = null) {
|
|
12955
|
-
super(), this.shader = null, this.pluginName = "batch", this.currentPath = null, this.batches = [], this.batchTint = -1, this.batchDirty = -1, this.vertexData = null, this._fillStyle = new jo(), this._lineStyle = new _h(), this._matrix = null, this._holeMode = !1, this.state = Go.for2d(), this._geometry = t || new iv(), this._geometry.refCount++, this._transformID = -1, this._tintColor = new Mt(16777215), this.blendMode =
|
|
12962
|
+
super(), this.shader = null, this.pluginName = "batch", this.currentPath = null, this.batches = [], this.batchTint = -1, this.batchDirty = -1, this.vertexData = null, this._fillStyle = new jo(), this._lineStyle = new _h(), this._matrix = null, this._holeMode = !1, this.state = Go.for2d(), this._geometry = t || new iv(), this._geometry.refCount++, this._transformID = -1, this._tintColor = new Mt(16777215), this.blendMode = de.NORMAL;
|
|
12956
12963
|
}
|
|
12957
12964
|
get geometry() {
|
|
12958
12965
|
return this._geometry;
|
|
@@ -17007,7 +17014,7 @@ Io.exports;
|
|
|
17007
17014
|
["partial", O],
|
|
17008
17015
|
["partialRight", F],
|
|
17009
17016
|
["rearg", L]
|
|
17010
|
-
],
|
|
17017
|
+
], fe = "[object Arguments]", Re = "[object Array]", Ue = "[object AsyncFunction]", He = "[object Boolean]", je = "[object Date]", be = "[object DOMException]", Ee = "[object Error]", $e = "[object Function]", Ke = "[object GeneratorFunction]", Se = "[object Map]", _e = "[object Number]", rt = "[object Null]", ce = "[object Object]", Oe = "[object Promise]", Xt = "[object Proxy]", Bt = "[object RegExp]", lt = "[object Set]", tr = "[object String]", Jn = "[object Symbol]", eu = "[object Undefined]", bn = "[object WeakMap]", fr = "[object WeakSet]", ei = "[object ArrayBuffer]", ti = "[object DataView]", tu = "[object Float32Array]", ru = "[object Float64Array]", nu = "[object Int8Array]", iu = "[object Int16Array]", su = "[object Int32Array]", au = "[object Uint8Array]", ou = "[object Uint8ClampedArray]", uu = "[object Uint16Array]", lu = "[object Uint32Array]", xv = /\b__p \+= '';/g, bv = /\b(__p \+=) '' \+/g, Tv = /(__e\(.*?\)|\b__t\)) \+\n'';/g, wh = /&(?:amp|lt|gt|quot|#39);/g, Sh = /[&<>"']/g, wv = RegExp(wh.source), Sv = RegExp(Sh.source), Av = /<%-([\s\S]+?)%>/g, Ev = /<%([\s\S]+?)%>/g, Ah = /<%=([\s\S]+?)%>/g, Cv = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, Iv = /^\w*$/, Rv = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, cu = /[\\^$.*+?()[\]{}|]/g, Pv = RegExp(cu.source), hu = /^\s+/, Mv = /\s/, Ov = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, Fv = /\{\n\/\* \[wrapped with (.+)\] \*/, Nv = /,? & /, Lv = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, kv = /[()=,{}\[\]\/\s]/, Dv = /\\(\\)?/g, Bv = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, Eh = /\w*$/, Uv = /^[-+]0x[0-9a-f]+$/i, $v = /^0b[01]+$/i, Gv = /^\[object .+?Constructor\]$/, Hv = /^0o[0-7]+$/i, zv = /^(?:0|[1-9]\d*)$/, Vv = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ws = /($^)/, Xv = /['\n\r\u2028\u2029\\]/g, js = "\\ud800-\\udfff", Wv = "\\u0300-\\u036f", jv = "\\ufe20-\\ufe2f", qv = "\\u20d0-\\u20ff", Ch = Wv + jv + qv, Ih = "\\u2700-\\u27bf", Rh = "a-z\\xdf-\\xf6\\xf8-\\xff", Yv = "\\xac\\xb1\\xd7\\xf7", Kv = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Zv = "\\u2000-\\u206f", Qv = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000", Ph = "A-Z\\xc0-\\xd6\\xd8-\\xde", Mh = "\\ufe0e\\ufe0f", Oh = Yv + Kv + Zv + Qv, fu = "['’]", Jv = "[" + js + "]", Fh = "[" + Oh + "]", qs = "[" + Ch + "]", Nh = "\\d+", e_ = "[" + Ih + "]", Lh = "[" + Rh + "]", kh = "[^" + js + Oh + Nh + Ih + Rh + Ph + "]", du = "\\ud83c[\\udffb-\\udfff]", t_ = "(?:" + qs + "|" + du + ")", Dh = "[^" + js + "]", pu = "(?:\\ud83c[\\udde6-\\uddff]){2}", gu = "[\\ud800-\\udbff][\\udc00-\\udfff]", ri = "[" + Ph + "]", Bh = "\\u200d", Uh = "(?:" + Lh + "|" + kh + ")", r_ = "(?:" + ri + "|" + kh + ")", $h = "(?:" + fu + "(?:d|ll|m|re|s|t|ve))?", Gh = "(?:" + fu + "(?:D|LL|M|RE|S|T|VE))?", Hh = t_ + "?", zh = "[" + Mh + "]?", n_ = "(?:" + Bh + "(?:" + [Dh, pu, gu].join("|") + ")" + zh + Hh + ")*", i_ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", s_ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Vh = zh + Hh + n_, a_ = "(?:" + [e_, pu, gu].join("|") + ")" + Vh, o_ = "(?:" + [Dh + qs + "?", qs, pu, gu, Jv].join("|") + ")", u_ = RegExp(fu, "g"), l_ = RegExp(qs, "g"), mu = RegExp(du + "(?=" + du + ")|" + o_ + Vh, "g"), c_ = RegExp([
|
|
17011
17018
|
ri + "?" + Lh + "+" + $h + "(?=" + [Fh, ri, "$"].join("|") + ")",
|
|
17012
17019
|
r_ + "+" + Gh + "(?=" + [Fh, ri + Uh, "$"].join("|") + ")",
|
|
17013
17020
|
ri + "?" + Uh + "+" + $h,
|
|
@@ -17048,9 +17055,9 @@ Io.exports;
|
|
|
17048
17055
|
"parseInt",
|
|
17049
17056
|
"setTimeout"
|
|
17050
17057
|
], p_ = -1, et = {};
|
|
17051
|
-
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[
|
|
17058
|
+
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[fe] = et[Re] = et[ei] = et[He] = et[ti] = et[je] = et[Ee] = et[$e] = et[Se] = et[_e] = et[ce] = et[Bt] = et[lt] = et[tr] = et[bn] = !1;
|
|
17052
17059
|
var Ze = {};
|
|
17053
|
-
Ze[
|
|
17060
|
+
Ze[fe] = Ze[Re] = Ze[ei] = Ze[ti] = Ze[He] = Ze[je] = Ze[tu] = Ze[ru] = Ze[nu] = Ze[iu] = Ze[su] = Ze[Se] = Ze[_e] = Ze[ce] = Ze[Bt] = Ze[lt] = Ze[tr] = Ze[Jn] = Ze[au] = Ze[ou] = Ze[uu] = Ze[lu] = !0, Ze[Ee] = Ze[$e] = Ze[bn] = !1;
|
|
17054
17061
|
var g_ = {
|
|
17055
17062
|
// Latin-1 Supplement block.
|
|
17056
17063
|
À: "A",
|
|
@@ -17866,7 +17873,7 @@ Io.exports;
|
|
|
17866
17873
|
var z = Rt(s), q = z == $e || z == Ke;
|
|
17867
17874
|
if (ln(s))
|
|
17868
17875
|
return Vf(s, R);
|
|
17869
|
-
if (z == ce || z ==
|
|
17876
|
+
if (z == ce || z == fe || q && !T) {
|
|
17870
17877
|
if (C = M || q ? {} : ld(s), !R)
|
|
17871
17878
|
return M ? vx(s, $y(C, s)) : mx(s, xf(C, s));
|
|
17872
17879
|
} else {
|
|
@@ -18035,7 +18042,7 @@ Io.exports;
|
|
|
18035
18042
|
return v == null ? r : Wt(v, s, h);
|
|
18036
18043
|
}
|
|
18037
18044
|
function Cf(s) {
|
|
18038
|
-
return ct(s) && Ft(s) ==
|
|
18045
|
+
return ct(s) && Ft(s) == fe;
|
|
18039
18046
|
}
|
|
18040
18047
|
function qy(s) {
|
|
18041
18048
|
return ct(s) && Ft(s) == ei;
|
|
@@ -18048,7 +18055,7 @@ Io.exports;
|
|
|
18048
18055
|
}
|
|
18049
18056
|
function Ky(s, o, h, v, T, A) {
|
|
18050
18057
|
var C = ye(s), R = ye(o), M = C ? Re : Rt(s), U = R ? Re : Rt(o);
|
|
18051
|
-
M = M ==
|
|
18058
|
+
M = M == fe ? ce : M, U = U == fe ? ce : U;
|
|
18052
18059
|
var $ = M == ce, z = U == ce, q = M == U;
|
|
18053
18060
|
if (q && ln(s)) {
|
|
18054
18061
|
if (!ln(o))
|
|
@@ -20692,7 +20699,7 @@ const c5 = {
|
|
|
20692
20699
|
adjustmentFilter: W,
|
|
20693
20700
|
vignetteFilter: j,
|
|
20694
20701
|
noiseFilter: le
|
|
20695
|
-
} = Qn(G), { blurRadius: he = 0, vignette: me = 0, noise:
|
|
20702
|
+
} = Qn(G), { blurRadius: he = 0, vignette: me = 0, noise: fe = 0 } = G, Re = 0.1;
|
|
20696
20703
|
o5(E, p), pt(Qe.PAUSE, () => {
|
|
20697
20704
|
g.current && (g.current.stop(), d.current.isPlaying = !1);
|
|
20698
20705
|
}), pt(Qe.SEEK_END, () => {
|
|
@@ -20804,7 +20811,7 @@ const c5 = {
|
|
|
20804
20811
|
// conditionally add vignette filter
|
|
20805
20812
|
...me > 0 ? [j] : [],
|
|
20806
20813
|
// conditionally add noise filter
|
|
20807
|
-
...
|
|
20814
|
+
...fe > 0 ? [le] : []
|
|
20808
20815
|
]
|
|
20809
20816
|
}
|
|
20810
20817
|
) })
|
|
@@ -20858,7 +20865,7 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20858
20865
|
te.useEffect(() => {
|
|
20859
20866
|
l.current = Number(I);
|
|
20860
20867
|
}, [I]);
|
|
20861
|
-
const me = ["italic", "oblique"].includes(w) ? w : void 0,
|
|
20868
|
+
const me = ["italic", "oblique"].includes(w) ? w : void 0, fe = ["small-caps"].includes(O), Re = [
|
|
20862
20869
|
"bold",
|
|
20863
20870
|
"bolder",
|
|
20864
20871
|
"lighter",
|
|
@@ -20877,8 +20884,8 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20877
20884
|
...me && {
|
|
20878
20885
|
fontStyle: me
|
|
20879
20886
|
},
|
|
20880
|
-
...
|
|
20881
|
-
fontVariant:
|
|
20887
|
+
...fe && {
|
|
20888
|
+
fontVariant: fe
|
|
20882
20889
|
},
|
|
20883
20890
|
...Re && {
|
|
20884
20891
|
fontWeight: Re
|
|
@@ -20913,7 +20920,7 @@ const fU = te.forwardRef((t, e) => {
|
|
|
20913
20920
|
ie,
|
|
20914
20921
|
me,
|
|
20915
20922
|
Re,
|
|
20916
|
-
|
|
20923
|
+
fe,
|
|
20917
20924
|
Ue,
|
|
20918
20925
|
Y,
|
|
20919
20926
|
N,
|
|
@@ -21100,7 +21107,7 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21100
21107
|
} = t, { tl: G, dragModeRef: ie, isRemotion: re } = Gi(Yn), { onPointerDown: H, onPointerOut: Q, onPointerOver: ge } = Th(se, V, Y, 1), { blurRadius: W = 0, vignette: j = 0, noise: le = 0 } = D, {
|
|
21101
21108
|
temperatureFilter: he,
|
|
21102
21109
|
sharpnessFilter: me,
|
|
21103
|
-
hueFilter:
|
|
21110
|
+
hueFilter: fe,
|
|
21104
21111
|
blurFilter: Re,
|
|
21105
21112
|
adjustmentFilter: Ue,
|
|
21106
21113
|
vignetteFilter: He,
|
|
@@ -21274,7 +21281,7 @@ const fo = /* @__PURE__ */ qn(L5), Th = (t, e, r, n) => {
|
|
|
21274
21281
|
filters: [
|
|
21275
21282
|
he,
|
|
21276
21283
|
me,
|
|
21277
|
-
|
|
21284
|
+
fe,
|
|
21278
21285
|
Ue,
|
|
21279
21286
|
// conditionally add blur filter
|
|
21280
21287
|
...W > 0 ? [Re] : [],
|