reacthub-pixitweenjs 0.2.107-alpha.60 → 0.2.107-alpha.61
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 +375 -370
- package/dist/index.umd.js +39 -39
- package/package.json +1 -1
package/dist/index.es.js
CHANGED
|
@@ -54,7 +54,7 @@ Ro.Fragment = lS;
|
|
|
54
54
|
Ro.jsx = fm;
|
|
55
55
|
Ro.jsxs = fm;
|
|
56
56
|
hm.exports = Ro;
|
|
57
|
-
var
|
|
57
|
+
var Ie = hm.exports, Bn = /* @__PURE__ */ ((t) => (t.BlackAndWhite = "BlackAndWhite", t.Sepia = "Sepia", t.RetroVintage = "RetroVintage", t.NightVision = "NightVision", t.Normal = "Normal", t.Vignette = "Vignette", t.None = "Normal", t))(Bn || {});
|
|
58
58
|
let Qd;
|
|
59
59
|
function dm() {
|
|
60
60
|
return Qd = document.body, Qd;
|
|
@@ -183,7 +183,7 @@ const qn = te.createContext({}), Qe = {
|
|
|
183
183
|
Qe.SCRUBBER_PROGRESS_UPDATE,
|
|
184
184
|
(w) => {
|
|
185
185
|
}
|
|
186
|
-
), /* @__PURE__ */
|
|
186
|
+
), /* @__PURE__ */ Ie.jsx(
|
|
187
187
|
qn.Provider,
|
|
188
188
|
{
|
|
189
189
|
value: {
|
|
@@ -256,7 +256,7 @@ const qn = te.createContext({}), Qe = {
|
|
|
256
256
|
}, [n]);
|
|
257
257
|
return te.useEffect(() => (t.current && (t.current.on("mouseover", _), t.current.on("mouseout", y), t.current.on("mousedown", b)), () => {
|
|
258
258
|
t.current && (t.current.off("mouseover", _), t.current.off("mouseout", y), t.current.off("mousedown", b));
|
|
259
|
-
}), []), /* @__PURE__ */
|
|
259
|
+
}), []), /* @__PURE__ */ Ie.jsx(
|
|
260
260
|
sS,
|
|
261
261
|
{
|
|
262
262
|
ref: t,
|
|
@@ -493,7 +493,7 @@ const hp = {
|
|
|
493
493
|
}
|
|
494
494
|
}, lC = (t) => {
|
|
495
495
|
const { overlay: e, width: r, height: n, x: i, y: a } = t, { src: u, blendmode: l } = hp[e] || hp.normal;
|
|
496
|
-
return /* @__PURE__ */
|
|
496
|
+
return /* @__PURE__ */ Ie.jsx(
|
|
497
497
|
tS,
|
|
498
498
|
{
|
|
499
499
|
image: u,
|
|
@@ -537,12 +537,12 @@ function gC(t, e, r, n, i, a, u, l, h) {
|
|
|
537
537
|
N < 0 && (N = 0);
|
|
538
538
|
var L = (a === u ? -1 : 1) * hs(N), D = L * (r * x / n), V = L * -(n * b / r), Y = (t + l) / 2, se = (e + h) / 2, X = Y + (m * D - c * V), G = se + (c * D + m * V), ie = (b - D) / r, re = (x - V) / n, H = (-b - D) / r, Q = (-x - V) / n, de = ie * ie + re * re, W = (re < 0 ? -1 : 1) * Math.acos(ie / hs(de)), j = (ie * Q - re * H < 0 ? -1 : 1) * Math.acos((ie * H + re * Q) / hs(de * (H * H + Q * Q)));
|
|
539
539
|
isNaN(j) && (j = d), !u && j > 0 ? j -= g : u && j < 0 && (j += g), W %= g, j %= g;
|
|
540
|
-
var le = Math.ceil(ys(j) / (g / 4)), he = [], pe = j / le,
|
|
541
|
-
for (
|
|
542
|
-
i = W +
|
|
543
|
-
for (
|
|
544
|
-
b = he[
|
|
545
|
-
return he[
|
|
540
|
+
var le = Math.ceil(ys(j) / (g / 4)), he = [], pe = j / le, xe = 4 / 3 * Na(pe / 2) / (1 + La(pe / 2)), Se = m * r, ke = c * r, Ue = c * -n, Ee = m * n, ye;
|
|
541
|
+
for (ye = 0; ye < le; ye++)
|
|
542
|
+
i = W + ye * pe, b = La(i), x = Na(i), ie = La(i += pe), re = Na(i), he.push(b - xe * x, x + xe * b, ie + xe * re, re - xe * ie, ie, re);
|
|
543
|
+
for (ye = 0; ye < he.length; ye += 2)
|
|
544
|
+
b = he[ye], x = he[ye + 1], he[ye] = b * Se + x * Ue + X, he[ye + 1] = b * ke + x * Ee + G;
|
|
545
|
+
return he[ye - 2] = l, he[ye - 1] = h, he;
|
|
546
546
|
}
|
|
547
547
|
}
|
|
548
548
|
function mC(t) {
|
|
@@ -937,7 +937,7 @@ function SC() {
|
|
|
937
937
|
}
|
|
938
938
|
var Am = /* @__PURE__ */ ((t) => (t.NONE = "NONE", t.FLASH = "FLASH", t.PULSE = "PULSE", t.SHAKE = "SHAKE", t.SWING = "SWING", t.JELLO = "JELLO", t.WOOBLE = "WOOBLE", t.FADE_IN = "FADE_IN", t.FADE_OUT = "FADE_OUT", t.FADE_IN_OUT = "FADE_IN_OUT", t.SLIDE_IN_LEFT = "SLIDE_IN_LEFT", t.SLIDE_IN_RIGHT = "SLIDE_IN_RIGHT", t.SLIDE_IN_TOP = "SLIDE_IN_TOP", t.SLIDE_IN_BOTTOM = "SLIDE_IN_BOTTOM", t.SLIDE_OUT_LEFT = "SLIDE_OUT_LEFT", t.SLIDE_OUT_RIGHT = "SLIDE_OUT_RIGHT", t.SLIDE_OUT_TOP = "SLIDE_OUT_TOP", t.SLIDE_OUT_BOTTOM = "SLIDE_OUT_BOTTOM", t.ZOOM_IN = "ZOOM_IN", t.ZOOM_OUT = "ZOOM_OUT", t.ZOOM_IN_OUT = "ZOOM_IN_OUT", t.BOUNCE_IN = "BOUNCE_IN", t.BOUNCE_OUT = "BOUNCE_OUT", t.BOUNCE_IN_OUT = "BOUNCE_IN_OUT", t.BOUNCE_IN_DOWN = "BOUNCE_IN_DOWN", t.BOUNCE_IN_LEFT = "BOUNCE_IN_LEFT", t.BOUNCE_IN_RIGHT = "BOUNCE_IN_RIGHT", t.BOUNCE_IN_UP = "BOUNCE_IN_UP", t.BOUNCE_OUT_DOWN = "BOUNCE_OUT_DOWN", t.BOUNCE_OUT_LEFT = "BOUNCE_OUT_LEFT", t.BOUNCE_OUT_RIGHT = "BOUNCE_OUT_RIGHT", t.BOUNCE_OUT_UP = "BOUNCE_OUT_UP", t.FADE_IN_DOWN = "FADE_IN_DOWN", t.FADE_IN_LEFT = "FADE_IN_LEFT", t.FADE_IN_RIGHT = "FADE_IN_RIGHT", t.FADE_IN_UP = "FADE_IN_UP", t.FADE_OUT_DOWN = "FADE_OUT_DOWN", t.FADE_OUT_LEFT = "FADE_OUT_LEFT", t.FADE_OUT_RIGHT = "FADE_OUT_RIGHT", t.FADE_OUT_UP = "FADE_OUT_UP", t.ELASTIC_IN = "ELASTIC_IN", t.ELASTIC_OUT = "ELASTIC_OUT", t.ELASTIC_IN_OUT = "ELASTIC_IN_OUT", t.BACK_IN = "BACK_IN", t.BACK_OUT = "BACK_OUT", t.BACK_IN_OUT = "BACK_IN_OUT", t.CIRCULAR_IN = "CIRCULAR_IN", t.CIRCULAR_OUT = "CIRCULAR_OUT", t.CIRCULAR_IN_OUT = "CIRCULAR_IN_OUT", t.EXPO_IN = "EXPO_IN", t.EXPO_OUT = "EXPO_OUT", t.EXPO_IN_OUT = "EXPO_IN_OUT", t.SINE_IN = "SINE_IN", t.SINE_OUT = "SINE_OUT", t.SINE_IN_OUT = "SINE_IN_OUT", t.BOUNCE = "BOUNCE", t.ELASTIC = "ELASTIC", t.BACK = "BACK", t.CIRCULAR = "CIRCULAR", t.EXPO = "EXPO", t.SINE = "SINE", t))(Am || {});
|
|
939
939
|
const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te.forwardRef((t, e) => {
|
|
940
|
-
var
|
|
940
|
+
var xe, Se, ke, Ue;
|
|
941
941
|
const [r, n] = te.useState(!1), [i, a] = Is(!1), [u, l] = Is(!1), h = me(null), p = me(null), m = me(null), c = me(null), d = me(null), { tl: g } = Ui(qn), {
|
|
942
942
|
uniqueId: _,
|
|
943
943
|
visible: y,
|
|
@@ -977,25 +977,25 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
977
977
|
n(!1), h.current = null;
|
|
978
978
|
}), []), te.useEffect(() => {
|
|
979
979
|
if (g.current) {
|
|
980
|
-
const
|
|
980
|
+
const Ee = W.updateEffect(h.current, D, {
|
|
981
981
|
x,
|
|
982
982
|
y: E,
|
|
983
983
|
width: w,
|
|
984
984
|
height: I,
|
|
985
985
|
onUpdate: () => {
|
|
986
|
-
var
|
|
986
|
+
var Te, De;
|
|
987
987
|
console.log(
|
|
988
988
|
"current image ref location",
|
|
989
|
-
(
|
|
990
|
-
(
|
|
989
|
+
(Te = h.current) == null ? void 0 : Te.x,
|
|
990
|
+
(De = h.current) == null ? void 0 : De.y
|
|
991
991
|
);
|
|
992
992
|
}
|
|
993
|
-
}),
|
|
993
|
+
}), ye = g.current.progress();
|
|
994
994
|
console.log(
|
|
995
995
|
"all times duration",
|
|
996
996
|
g.current.duration(),
|
|
997
997
|
g.current.progress()
|
|
998
|
-
), d.current && (g.current.remove(d.current), console.log("killing timeline"), d.current.progress(0).kill()), console.log("startAt Anim", b), g.current.add(
|
|
998
|
+
), d.current && (g.current.remove(d.current), console.log("killing timeline"), d.current.progress(0).kill()), console.log("startAt Anim", b), g.current.add(Ee, b), g.current.progress(0), g.current.progress(ye), d.current = Ee, console.log(
|
|
999
999
|
"all times duration 22",
|
|
1000
1000
|
g.current.duration(),
|
|
1001
1001
|
g.current.progress()
|
|
@@ -1010,8 +1010,8 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1010
1010
|
}, []), le = te.useCallback(() => {
|
|
1011
1011
|
a(!0);
|
|
1012
1012
|
}, []), he = te.useCallback(
|
|
1013
|
-
(
|
|
1014
|
-
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(
|
|
1013
|
+
(Ee) => {
|
|
1014
|
+
t.onAnchorTransformationEnd && t.onAnchorTransformationEnd(Ee), a(!1);
|
|
1015
1015
|
},
|
|
1016
1016
|
[]
|
|
1017
1017
|
), pe = rS(wt, {
|
|
@@ -1019,10 +1019,15 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1019
1019
|
});
|
|
1020
1020
|
return console.log(
|
|
1021
1021
|
"render=> imageRef location",
|
|
1022
|
-
(
|
|
1023
|
-
(Se = h.current) == null ? void 0 : Se.y
|
|
1024
|
-
|
|
1025
|
-
|
|
1022
|
+
(xe = h.current) == null ? void 0 : xe.x,
|
|
1023
|
+
(Se = h.current) == null ? void 0 : Se.y,
|
|
1024
|
+
x,
|
|
1025
|
+
E,
|
|
1026
|
+
"imagegroup",
|
|
1027
|
+
(ke = m.current) == null ? void 0 : ke.x,
|
|
1028
|
+
(Ue = m.current) == null ? void 0 : Ue.y
|
|
1029
|
+
), /* @__PURE__ */ Ie.jsxs(wt, { ref: p, children: [
|
|
1030
|
+
/* @__PURE__ */ Ie.jsxs(
|
|
1026
1031
|
wt,
|
|
1027
1032
|
{
|
|
1028
1033
|
ref: h,
|
|
@@ -1040,23 +1045,23 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1040
1045
|
pointerout: X
|
|
1041
1046
|
},
|
|
1042
1047
|
children: [
|
|
1043
|
-
!H && /* @__PURE__ */
|
|
1048
|
+
!H && /* @__PURE__ */ Ie.jsx(
|
|
1044
1049
|
pe,
|
|
1045
1050
|
{
|
|
1046
1051
|
scale: 1,
|
|
1047
|
-
apply: ({ matrix:
|
|
1048
|
-
N === Bn.BlackAndWhite ?
|
|
1052
|
+
apply: ({ matrix: Ee }) => {
|
|
1053
|
+
N === Bn.BlackAndWhite ? Ee.desaturate() : N === Bn.Sepia ? Ee.sepia() : N === Bn.RetroVintage || N === Bn.NightVision ? Ee.negative() : N === Bn.Normal && Ee.reset();
|
|
1049
1054
|
},
|
|
1050
1055
|
matrix: {
|
|
1051
1056
|
enabled: !0,
|
|
1052
1057
|
// @ts-ignore
|
|
1053
1058
|
matrix: AC
|
|
1054
1059
|
},
|
|
1055
|
-
children: /* @__PURE__ */
|
|
1060
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: m, children: t.children })
|
|
1056
1061
|
}
|
|
1057
1062
|
),
|
|
1058
|
-
H && /* @__PURE__ */
|
|
1059
|
-
!Hs(L) && L !== cc.NONE && L !== cc.NORMAL && /* @__PURE__ */
|
|
1063
|
+
H && /* @__PURE__ */ Ie.jsx(wt, { ref: m, children: t.children }),
|
|
1064
|
+
!Hs(L) && L !== cc.NONE && L !== cc.NORMAL && /* @__PURE__ */ Ie.jsx(
|
|
1060
1065
|
lC,
|
|
1061
1066
|
{
|
|
1062
1067
|
overlay: L,
|
|
@@ -1069,7 +1074,7 @@ const AC = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], mn = te
|
|
|
1069
1074
|
]
|
|
1070
1075
|
}
|
|
1071
1076
|
),
|
|
1072
|
-
V && y && !de && /* @__PURE__ */
|
|
1077
|
+
V && y && !de && /* @__PURE__ */ Ie.jsx(
|
|
1073
1078
|
dS,
|
|
1074
1079
|
{
|
|
1075
1080
|
pixiTransformerRef: c,
|
|
@@ -1089,7 +1094,7 @@ mn.whyDidYouRender = {
|
|
|
1089
1094
|
logOnDifferentValues: !0,
|
|
1090
1095
|
customName: "AbstractContainer"
|
|
1091
1096
|
};
|
|
1092
|
-
var Yn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Yn || {}), Em = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Em || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}), fe = /* @__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))(fe || {}), 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 || {}), Ci = /* @__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))(Ci || {}),
|
|
1097
|
+
var Yn = /* @__PURE__ */ ((t) => (t[t.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", t[t.WEBGL = 1] = "WEBGL", t[t.WEBGL2 = 2] = "WEBGL2", t))(Yn || {}), Em = /* @__PURE__ */ ((t) => (t[t.UNKNOWN = 0] = "UNKNOWN", t[t.WEBGL = 1] = "WEBGL", t[t.CANVAS = 2] = "CANVAS", t))(Em || {}), hc = /* @__PURE__ */ ((t) => (t[t.COLOR = 16384] = "COLOR", t[t.DEPTH = 256] = "DEPTH", t[t.STENCIL = 1024] = "STENCIL", t))(hc || {}), fe = /* @__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))(fe || {}), 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 || {}), Ci = /* @__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))(Ci || {}), Ge = /* @__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))(Ge || {}), 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 || {}), Xn = /* @__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))(Xn || {}), vn = /* @__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))(vn || {}), Fn = /* @__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))(Fn || {}), Yc = /* @__PURE__ */ ((t) => (t[t.AUTO = 0] = "AUTO", t[t.MANUAL = 1] = "MANUAL", t))(Yc || {}), 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 || {});
|
|
1093
1098
|
const EC = {
|
|
1094
1099
|
createCanvas: (t, e) => {
|
|
1095
1100
|
const r = document.createElement("canvas");
|
|
@@ -1581,12 +1586,12 @@ mo.exports;
|
|
|
1581
1586
|
function V(W, j) {
|
|
1582
1587
|
var le = W.split("@"), he = "";
|
|
1583
1588
|
le.length > 1 && (he = le[0] + "@", W = le[1]), W = W.replace(E, ".");
|
|
1584
|
-
var pe = W.split("."),
|
|
1585
|
-
return he +
|
|
1589
|
+
var pe = W.split("."), xe = D(pe, j).join(".");
|
|
1590
|
+
return he + xe;
|
|
1586
1591
|
}
|
|
1587
1592
|
function Y(W) {
|
|
1588
|
-
for (var j = [], le = 0, he = W.length, pe,
|
|
1589
|
-
pe = W.charCodeAt(le++), pe >= 55296 && pe <= 56319 && le < he ? (
|
|
1593
|
+
for (var j = [], le = 0, he = W.length, pe, xe; le < he; )
|
|
1594
|
+
pe = W.charCodeAt(le++), pe >= 55296 && pe <= 56319 && le < he ? (xe = W.charCodeAt(le++), (xe & 64512) == 56320 ? j.push(((pe & 1023) << 10) + (xe & 1023) + 65536) : (j.push(pe), le--)) : j.push(pe);
|
|
1590
1595
|
return j;
|
|
1591
1596
|
}
|
|
1592
1597
|
function se(W) {
|
|
@@ -1608,34 +1613,34 @@ mo.exports;
|
|
|
1608
1613
|
return O(he + (I + 1) * W / (W + c));
|
|
1609
1614
|
}
|
|
1610
1615
|
function re(W) {
|
|
1611
|
-
var j = [], le = W.length, he, pe = 0,
|
|
1612
|
-
for (
|
|
1613
|
-
W.charCodeAt(
|
|
1614
|
-
for (
|
|
1615
|
-
for (
|
|
1616
|
-
|
|
1617
|
-
he = j.length + 1, Se = ie(pe -
|
|
1616
|
+
var j = [], le = W.length, he, pe = 0, xe = _, Se = g, ke, Ue, Ee, ye, Te, De, Ke, Ce, ve;
|
|
1617
|
+
for (ke = W.lastIndexOf(y), ke < 0 && (ke = 0), Ue = 0; Ue < ke; ++Ue)
|
|
1618
|
+
W.charCodeAt(Ue) >= 128 && L("not-basic"), j.push(W.charCodeAt(Ue));
|
|
1619
|
+
for (Ee = ke > 0 ? ke + 1 : 0; Ee < le; ) {
|
|
1620
|
+
for (ye = pe, Te = 1, De = h; Ee >= le && L("invalid-input"), Ke = X(W.charCodeAt(Ee++)), (Ke >= h || Ke > O((l - pe) / Te)) && L("overflow"), pe += Ke * Te, Ce = De <= Se ? p : De >= Se + m ? m : De - Se, !(Ke < Ce); De += h)
|
|
1621
|
+
ve = h - Ce, Te > O(l / ve) && L("overflow"), Te *= ve;
|
|
1622
|
+
he = j.length + 1, Se = ie(pe - ye, he, ye == 0), O(pe / he) > l - xe && L("overflow"), xe += O(pe / he), pe %= he, j.splice(pe++, 0, xe);
|
|
1618
1623
|
}
|
|
1619
1624
|
return se(j);
|
|
1620
1625
|
}
|
|
1621
1626
|
function H(W) {
|
|
1622
|
-
var j, le, he, pe,
|
|
1623
|
-
for (W = Y(W), Ke = W.length, j = _, le = 0,
|
|
1624
|
-
|
|
1625
|
-
for (he = pe =
|
|
1626
|
-
for (
|
|
1627
|
-
|
|
1628
|
-
for (
|
|
1629
|
-
if (
|
|
1630
|
-
for (
|
|
1631
|
-
rt =
|
|
1632
|
-
F(G(
|
|
1633
|
-
),
|
|
1634
|
-
|
|
1627
|
+
var j, le, he, pe, xe, Se, ke, Ue, Ee, ye, Te, De = [], Ke, Ce, ve, rt;
|
|
1628
|
+
for (W = Y(W), Ke = W.length, j = _, le = 0, xe = g, Se = 0; Se < Ke; ++Se)
|
|
1629
|
+
Te = W[Se], Te < 128 && De.push(F(Te));
|
|
1630
|
+
for (he = pe = De.length, pe && De.push(y); he < Ke; ) {
|
|
1631
|
+
for (ke = l, Se = 0; Se < Ke; ++Se)
|
|
1632
|
+
Te = W[Se], Te >= j && Te < ke && (ke = Te);
|
|
1633
|
+
for (Ce = he + 1, ke - j > O((l - le) / Ce) && L("overflow"), le += (ke - j) * Ce, j = ke, Se = 0; Se < Ke; ++Se)
|
|
1634
|
+
if (Te = W[Se], Te < j && ++le > l && L("overflow"), Te == j) {
|
|
1635
|
+
for (Ue = le, Ee = h; ye = Ee <= xe ? p : Ee >= xe + m ? m : Ee - xe, !(Ue < ye); Ee += h)
|
|
1636
|
+
rt = Ue - ye, ve = h - ye, De.push(
|
|
1637
|
+
F(G(ye + rt % ve, 0))
|
|
1638
|
+
), Ue = O(rt / ve);
|
|
1639
|
+
De.push(F(G(Ue, 0))), xe = ie(le, Ce, he == pe), le = 0, ++he;
|
|
1635
1640
|
}
|
|
1636
1641
|
++le, ++j;
|
|
1637
1642
|
}
|
|
1638
|
-
return
|
|
1643
|
+
return De.join("");
|
|
1639
1644
|
}
|
|
1640
1645
|
function Q(W) {
|
|
1641
1646
|
return V(W, function(j) {
|
|
@@ -3005,7 +3010,7 @@ const nR = {
|
|
|
3005
3010
|
format: rR,
|
|
3006
3011
|
resolve: tR
|
|
3007
3012
|
}, qp = {};
|
|
3008
|
-
function
|
|
3013
|
+
function Be(t, e, r = 3) {
|
|
3009
3014
|
if (qp[e])
|
|
3010
3015
|
return;
|
|
3011
3016
|
let n = new Error().stack;
|
|
@@ -3367,10 +3372,10 @@ Mt.shared = new Pi();
|
|
|
3367
3372
|
Mt.temp = new Pi();
|
|
3368
3373
|
Mt.HEX_PATTERN = /^(#|0x)?(([a-f0-9]{3}){1,2}([a-f0-9]{2})?)$/i;
|
|
3369
3374
|
function ko(t, e = []) {
|
|
3370
|
-
return
|
|
3375
|
+
return Be("7.2.0", "utils.hex2rgb is deprecated, use Color#toRgbArray instead"), Mt.shared.setValue(t).toRgbArray(e);
|
|
3371
3376
|
}
|
|
3372
3377
|
function sh(t) {
|
|
3373
|
-
return
|
|
3378
|
+
return Be("7.2.0", "utils.rgb2hex is deprecated, use Color#toNumber instead"), Mt.shared.setValue(t).toNumber();
|
|
3374
3379
|
}
|
|
3375
3380
|
function pR() {
|
|
3376
3381
|
const t = [], e = [];
|
|
@@ -3844,7 +3849,7 @@ const TR = {
|
|
|
3844
3849
|
}
|
|
3845
3850
|
static fromBuffer(t, e, r, n) {
|
|
3846
3851
|
t = t || new Float32Array(e * r * 4);
|
|
3847
|
-
const i = new ah(t, { width: e, height: r }), a = t instanceof Float32Array ?
|
|
3852
|
+
const i = new ah(t, { width: e, height: r }), a = t instanceof Float32Array ? Ge.FLOAT : Ge.UNSIGNED_BYTE;
|
|
3848
3853
|
return new Ti(i, Object.assign({}, TR, n || { width: e, height: r, type: a }));
|
|
3849
3854
|
}
|
|
3850
3855
|
static addToCache(t, e) {
|
|
@@ -3865,8 +3870,8 @@ const TR = {
|
|
|
3865
3870
|
return null;
|
|
3866
3871
|
}
|
|
3867
3872
|
};
|
|
3868
|
-
let
|
|
3869
|
-
|
|
3873
|
+
let He = Ti;
|
|
3874
|
+
He.defaultOptions = {
|
|
3870
3875
|
mipmap: Xn.POW2,
|
|
3871
3876
|
anisotropicLevel: 0,
|
|
3872
3877
|
scaleMode: Lr.LINEAR,
|
|
@@ -3874,9 +3879,9 @@ $e.defaultOptions = {
|
|
|
3874
3879
|
alphaMode: vn.UNPACK,
|
|
3875
3880
|
target: Ci.TEXTURE_2D,
|
|
3876
3881
|
format: K.RGBA,
|
|
3877
|
-
type:
|
|
3882
|
+
type: Ge.UNSIGNED_BYTE
|
|
3878
3883
|
};
|
|
3879
|
-
|
|
3884
|
+
He._globalBatch = 0;
|
|
3880
3885
|
class Rc {
|
|
3881
3886
|
constructor() {
|
|
3882
3887
|
this.texArray = null, this.blend = 0, this.type = dn.TRIANGLES, this.start = 0, this.size = 0, this.data = null;
|
|
@@ -3907,7 +3912,7 @@ class Dt {
|
|
|
3907
3912
|
}
|
|
3908
3913
|
}
|
|
3909
3914
|
class To {
|
|
3910
|
-
constructor(e, r = 0, n = !1, i =
|
|
3915
|
+
constructor(e, r = 0, n = !1, i = Ge.FLOAT, a, u, l, h = 1) {
|
|
3911
3916
|
this.buffer = e, this.size = r, this.normalized = n, this.type = i, this.stride = a, this.start = u, this.instance = l, this.divisor = h;
|
|
3912
3917
|
}
|
|
3913
3918
|
destroy() {
|
|
@@ -4054,7 +4059,7 @@ class Li {
|
|
|
4054
4059
|
}
|
|
4055
4060
|
class Qm extends Li {
|
|
4056
4061
|
constructor(e = !1) {
|
|
4057
|
-
super(), this._buffer = new Dt(null, e, !1), this._indexBuffer = new Dt(null, e, !0), this.addAttribute("aVertexPosition", this._buffer, 2, !1,
|
|
4062
|
+
super(), this._buffer = new Dt(null, e, !1), this._indexBuffer = new Dt(null, e, !0), this.addAttribute("aVertexPosition", this._buffer, 2, !1, Ge.FLOAT).addAttribute("aTextureCoord", this._buffer, 2, !1, Ge.FLOAT).addAttribute("aColor", this._buffer, 4, !0, Ge.UNSIGNED_BYTE).addAttribute("aTextureId", this._buffer, 1, !0, Ge.FLOAT).addIndex(this._indexBuffer);
|
|
4058
4063
|
}
|
|
4059
4064
|
}
|
|
4060
4065
|
const wo = Math.PI * 2, IR = 180 / Math.PI, Ls = Math.PI / 180;
|
|
@@ -5258,7 +5263,7 @@ const vr = class extends a0 {
|
|
|
5258
5263
|
this._canUploadSameBuffer = t;
|
|
5259
5264
|
}
|
|
5260
5265
|
get MAX_TEXTURES() {
|
|
5261
|
-
return
|
|
5266
|
+
return Be("7.1.0", "BatchRenderer#MAX_TEXTURES renamed to BatchRenderer#maxTextures"), this.maxTextures;
|
|
5262
5267
|
}
|
|
5263
5268
|
static get defaultVertexSrc() {
|
|
5264
5269
|
return jR;
|
|
@@ -5302,7 +5307,7 @@ const vr = class extends a0 {
|
|
|
5302
5307
|
_bufferedTextures: t,
|
|
5303
5308
|
maxTextures: e
|
|
5304
5309
|
} = this, r = vr._textureArrayPool, n = this.renderer.batch, i = this._tempBoundTextures, a = this.renderer.textureGC.count;
|
|
5305
|
-
let u =
|
|
5310
|
+
let u = ++He._globalBatch, l = 0, h = r[0], p = 0;
|
|
5306
5311
|
n.copyBoundTextures(i, e);
|
|
5307
5312
|
for (let m = 0; m < this._bufferSize; ++m) {
|
|
5308
5313
|
const c = t[m];
|
|
@@ -5311,7 +5316,7 @@ const vr = class extends a0 {
|
|
|
5311
5316
|
h.count > 0 && (n.boundArray(h, i, u, e), this.buildDrawCalls(h, p, this._bufferSize), ++l, ++u);
|
|
5312
5317
|
for (let m = 0; m < i.length; m++)
|
|
5313
5318
|
i[m] = null;
|
|
5314
|
-
|
|
5319
|
+
He._globalBatch = u;
|
|
5315
5320
|
}
|
|
5316
5321
|
buildDrawCalls(t, e, r) {
|
|
5317
5322
|
const {
|
|
@@ -5668,7 +5673,7 @@ class Oc {
|
|
|
5668
5673
|
return this.colorTextures[0];
|
|
5669
5674
|
}
|
|
5670
5675
|
addColorTexture(e = 0, r) {
|
|
5671
|
-
return this.colorTextures[e] = r || new
|
|
5676
|
+
return this.colorTextures[e] = r || new He(null, {
|
|
5672
5677
|
scaleMode: Lr.NEAREST,
|
|
5673
5678
|
resolution: 1,
|
|
5674
5679
|
mipmap: Xn.OFF,
|
|
@@ -5677,14 +5682,14 @@ class Oc {
|
|
|
5677
5682
|
}), this.dirtyId++, this.dirtyFormat++, this;
|
|
5678
5683
|
}
|
|
5679
5684
|
addDepthTexture(e) {
|
|
5680
|
-
return this.depthTexture = e || new
|
|
5685
|
+
return this.depthTexture = e || new He(new KR(null, { width: this.width, height: this.height }), {
|
|
5681
5686
|
scaleMode: Lr.NEAREST,
|
|
5682
5687
|
resolution: 1,
|
|
5683
5688
|
width: this.width,
|
|
5684
5689
|
height: this.height,
|
|
5685
5690
|
mipmap: Xn.OFF,
|
|
5686
5691
|
format: K.DEPTH_COMPONENT,
|
|
5687
|
-
type:
|
|
5692
|
+
type: Ge.UNSIGNED_SHORT
|
|
5688
5693
|
}), this.dirtyId++, this.dirtyFormat++, this;
|
|
5689
5694
|
}
|
|
5690
5695
|
enableDepth() {
|
|
@@ -5713,7 +5718,7 @@ class Oc {
|
|
|
5713
5718
|
this.depthTexture && (this.depthTexture.destroy(), this.depthTexture = null, ++this.dirtyId, ++this.dirtyFormat);
|
|
5714
5719
|
}
|
|
5715
5720
|
}
|
|
5716
|
-
class u0 extends
|
|
5721
|
+
class u0 extends He {
|
|
5717
5722
|
constructor(e = {}) {
|
|
5718
5723
|
if (typeof e == "number") {
|
|
5719
5724
|
const r = arguments[0], n = arguments[1], i = arguments[2], a = arguments[3];
|
|
@@ -5851,9 +5856,9 @@ function Ka(t) {
|
|
|
5851
5856
|
}, t.emit = function() {
|
|
5852
5857
|
};
|
|
5853
5858
|
}
|
|
5854
|
-
class
|
|
5859
|
+
class $e extends Oo {
|
|
5855
5860
|
constructor(e, r, n, i, a, u, l) {
|
|
5856
|
-
if (super(), this.noFrame = !1, r || (this.noFrame = !0, r = new Ye(0, 0, 1, 1)), e instanceof
|
|
5861
|
+
if (super(), this.noFrame = !1, r || (this.noFrame = !0, r = new Ye(0, 0, 1, 1)), e instanceof $e && (e = e.baseTexture), this.baseTexture = e, this._frame = r, this.trim = i, this.valid = !1, this._uvs = dg, this.uvMatrix = null, this.orig = n || r, this._rotate = Number(a || 0), a === !0)
|
|
5857
5862
|
this._rotate = 2;
|
|
5858
5863
|
else if (this._rotate % 2 !== 0)
|
|
5859
5864
|
throw new Error("attempt to use diamond-shaped UVs. If you are sure, set rotation manually");
|
|
@@ -5875,15 +5880,15 @@ class De extends Oo {
|
|
|
5875
5880
|
if (this.baseTexture) {
|
|
5876
5881
|
if (e) {
|
|
5877
5882
|
const { resource: r } = this.baseTexture;
|
|
5878
|
-
r != null && r.url && Fr[r.url] &&
|
|
5883
|
+
r != null && r.url && Fr[r.url] && $e.removeFromCache(r.url), this.baseTexture.destroy();
|
|
5879
5884
|
}
|
|
5880
5885
|
this.baseTexture.off("loaded", this.onBaseTextureUpdated, this), this.baseTexture.off("update", this.onBaseTextureUpdated, this), this.baseTexture = null;
|
|
5881
5886
|
}
|
|
5882
|
-
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1,
|
|
5887
|
+
this._frame = null, this._uvs = null, this.trim = null, this.orig = null, this.valid = !1, $e.removeFromCache(this), this.textureCacheIds = null;
|
|
5883
5888
|
}
|
|
5884
5889
|
clone() {
|
|
5885
5890
|
var i;
|
|
5886
|
-
const e = this._frame.clone(), r = this._frame === this.orig ? e : this.orig.clone(), n = new
|
|
5891
|
+
const e = this._frame.clone(), r = this._frame === this.orig ? e : this.orig.clone(), n = new $e(this.baseTexture, !this.noFrame && e, r, (i = this.trim) == null ? void 0 : i.clone(), this.rotate, this.defaultAnchor, this.defaultBorders);
|
|
5887
5892
|
return this.noFrame && (n._frame = e), n;
|
|
5888
5893
|
}
|
|
5889
5894
|
updateUvs() {
|
|
@@ -5894,10 +5899,10 @@ class De extends Oo {
|
|
|
5894
5899
|
let a = null;
|
|
5895
5900
|
if (i)
|
|
5896
5901
|
a = e;
|
|
5897
|
-
else if (e instanceof
|
|
5902
|
+
else if (e instanceof He) {
|
|
5898
5903
|
if (!e.cacheId) {
|
|
5899
5904
|
const l = (r == null ? void 0 : r.pixiIdPrefix) || "pixiid";
|
|
5900
|
-
e.cacheId = `${l}-${Fs()}`,
|
|
5905
|
+
e.cacheId = `${l}-${Fs()}`, He.addToCache(e, e.cacheId);
|
|
5901
5906
|
}
|
|
5902
5907
|
a = e.cacheId;
|
|
5903
5908
|
} else {
|
|
@@ -5910,23 +5915,23 @@ class De extends Oo {
|
|
|
5910
5915
|
let u = Fr[a];
|
|
5911
5916
|
if (i && n && !u)
|
|
5912
5917
|
throw new Error(`The cacheId "${a}" does not exist in TextureCache.`);
|
|
5913
|
-
return !u && !(e instanceof
|
|
5918
|
+
return !u && !(e instanceof He) ? (r.resolution || (r.resolution = sg(e)), u = new $e(new He(e, r)), u.baseTexture.cacheId = a, He.addToCache(u.baseTexture, a), $e.addToCache(u, a)) : !u && e instanceof He && (u = new $e(e), $e.addToCache(u, a)), u;
|
|
5914
5919
|
}
|
|
5915
5920
|
static fromURL(e, r) {
|
|
5916
|
-
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), i =
|
|
5921
|
+
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), i = $e.from(e, Object.assign({ resourceOptions: n }, r), !1), a = i.baseTexture.resource;
|
|
5917
5922
|
return i.baseTexture.valid ? Promise.resolve(i) : a.load().then(() => Promise.resolve(i));
|
|
5918
5923
|
}
|
|
5919
5924
|
static fromBuffer(e, r, n, i) {
|
|
5920
|
-
return new
|
|
5925
|
+
return new $e(He.fromBuffer(e, r, n, i));
|
|
5921
5926
|
}
|
|
5922
5927
|
static fromLoader(e, r, n, i) {
|
|
5923
|
-
const a = new
|
|
5924
|
-
scaleMode:
|
|
5928
|
+
const a = new He(e, Object.assign({
|
|
5929
|
+
scaleMode: He.defaultOptions.scaleMode,
|
|
5925
5930
|
resolution: sg(r)
|
|
5926
5931
|
}, i)), { resource: u } = a;
|
|
5927
5932
|
u instanceof l0 && (u.url = r);
|
|
5928
|
-
const l = new
|
|
5929
|
-
return n || (n = r),
|
|
5933
|
+
const l = new $e(a);
|
|
5934
|
+
return n || (n = r), He.addToCache(l.baseTexture, n), $e.addToCache(l, n), n !== r && (He.addToCache(l.baseTexture, r), $e.addToCache(l, r)), l.baseTexture.valid ? Promise.resolve(l) : new Promise((h) => {
|
|
5930
5935
|
l.baseTexture.once("loaded", () => h(l));
|
|
5931
5936
|
});
|
|
5932
5937
|
}
|
|
@@ -5978,17 +5983,17 @@ class De extends Oo {
|
|
|
5978
5983
|
return this.baseTexture;
|
|
5979
5984
|
}
|
|
5980
5985
|
static get EMPTY() {
|
|
5981
|
-
return
|
|
5986
|
+
return $e._EMPTY || ($e._EMPTY = new $e(new He()), Ka($e._EMPTY), Ka($e._EMPTY.baseTexture)), $e._EMPTY;
|
|
5982
5987
|
}
|
|
5983
5988
|
static get WHITE() {
|
|
5984
|
-
if (
|
|
5989
|
+
if (!$e._WHITE) {
|
|
5985
5990
|
const e = Pe.ADAPTER.createCanvas(16, 16), r = e.getContext("2d");
|
|
5986
|
-
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16),
|
|
5991
|
+
e.width = 16, e.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16), $e._WHITE = new $e(He.from(e)), Ka($e._WHITE), Ka($e._WHITE.baseTexture);
|
|
5987
5992
|
}
|
|
5988
|
-
return
|
|
5993
|
+
return $e._WHITE;
|
|
5989
5994
|
}
|
|
5990
5995
|
}
|
|
5991
|
-
class $o extends
|
|
5996
|
+
class $o extends $e {
|
|
5992
5997
|
constructor(e, r) {
|
|
5993
5998
|
super(e, r), this.valid = !0, this.filterFrame = null, this.filterPoolKey = null, this.updateUvs();
|
|
5994
5999
|
}
|
|
@@ -6845,19 +6850,19 @@ class y0 {
|
|
|
6845
6850
|
extract: {
|
|
6846
6851
|
enumerable: !1,
|
|
6847
6852
|
get() {
|
|
6848
|
-
return
|
|
6853
|
+
return Be("7.0.0", "renderer.plugins.extract has moved to renderer.extract"), e.extract;
|
|
6849
6854
|
}
|
|
6850
6855
|
},
|
|
6851
6856
|
prepare: {
|
|
6852
6857
|
enumerable: !1,
|
|
6853
6858
|
get() {
|
|
6854
|
-
return
|
|
6859
|
+
return Be("7.0.0", "renderer.plugins.prepare has moved to renderer.prepare"), e.prepare;
|
|
6855
6860
|
}
|
|
6856
6861
|
},
|
|
6857
6862
|
interaction: {
|
|
6858
6863
|
enumerable: !1,
|
|
6859
6864
|
get() {
|
|
6860
|
-
return
|
|
6865
|
+
return Be("7.0.0", "renderer.plugins.interaction has been deprecated, use renderer.events"), e.events;
|
|
6861
6866
|
}
|
|
6862
6867
|
}
|
|
6863
6868
|
});
|
|
@@ -7455,13 +7460,13 @@ br.extension = {
|
|
|
7455
7460
|
je.add(br);
|
|
7456
7461
|
class ql {
|
|
7457
7462
|
constructor(e) {
|
|
7458
|
-
this.texture = e, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type =
|
|
7463
|
+
this.texture = e, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type = Ge.UNSIGNED_BYTE, this.internalFormat = K.RGBA, this.samplerType = 0;
|
|
7459
7464
|
}
|
|
7460
7465
|
}
|
|
7461
7466
|
function EP(t) {
|
|
7462
7467
|
let e;
|
|
7463
7468
|
return "WebGL2RenderingContext" in globalThis && t instanceof globalThis.WebGL2RenderingContext ? e = {
|
|
7464
|
-
[
|
|
7469
|
+
[Ge.UNSIGNED_BYTE]: {
|
|
7465
7470
|
[K.RGBA]: t.RGBA8,
|
|
7466
7471
|
[K.RGB]: t.RGB8,
|
|
7467
7472
|
[K.RG]: t.RG8,
|
|
@@ -7474,7 +7479,7 @@ function EP(t) {
|
|
|
7474
7479
|
[K.LUMINANCE]: t.LUMINANCE,
|
|
7475
7480
|
[K.LUMINANCE_ALPHA]: t.LUMINANCE_ALPHA
|
|
7476
7481
|
},
|
|
7477
|
-
[
|
|
7482
|
+
[Ge.BYTE]: {
|
|
7478
7483
|
[K.RGBA]: t.RGBA8_SNORM,
|
|
7479
7484
|
[K.RGB]: t.RGB8_SNORM,
|
|
7480
7485
|
[K.RG]: t.RG8_SNORM,
|
|
@@ -7484,92 +7489,92 @@ function EP(t) {
|
|
|
7484
7489
|
[K.RG_INTEGER]: t.RG8I,
|
|
7485
7490
|
[K.RED_INTEGER]: t.R8I
|
|
7486
7491
|
},
|
|
7487
|
-
[
|
|
7492
|
+
[Ge.UNSIGNED_SHORT]: {
|
|
7488
7493
|
[K.RGBA_INTEGER]: t.RGBA16UI,
|
|
7489
7494
|
[K.RGB_INTEGER]: t.RGB16UI,
|
|
7490
7495
|
[K.RG_INTEGER]: t.RG16UI,
|
|
7491
7496
|
[K.RED_INTEGER]: t.R16UI,
|
|
7492
7497
|
[K.DEPTH_COMPONENT]: t.DEPTH_COMPONENT16
|
|
7493
7498
|
},
|
|
7494
|
-
[
|
|
7499
|
+
[Ge.SHORT]: {
|
|
7495
7500
|
[K.RGBA_INTEGER]: t.RGBA16I,
|
|
7496
7501
|
[K.RGB_INTEGER]: t.RGB16I,
|
|
7497
7502
|
[K.RG_INTEGER]: t.RG16I,
|
|
7498
7503
|
[K.RED_INTEGER]: t.R16I
|
|
7499
7504
|
},
|
|
7500
|
-
[
|
|
7505
|
+
[Ge.UNSIGNED_INT]: {
|
|
7501
7506
|
[K.RGBA_INTEGER]: t.RGBA32UI,
|
|
7502
7507
|
[K.RGB_INTEGER]: t.RGB32UI,
|
|
7503
7508
|
[K.RG_INTEGER]: t.RG32UI,
|
|
7504
7509
|
[K.RED_INTEGER]: t.R32UI,
|
|
7505
7510
|
[K.DEPTH_COMPONENT]: t.DEPTH_COMPONENT24
|
|
7506
7511
|
},
|
|
7507
|
-
[
|
|
7512
|
+
[Ge.INT]: {
|
|
7508
7513
|
[K.RGBA_INTEGER]: t.RGBA32I,
|
|
7509
7514
|
[K.RGB_INTEGER]: t.RGB32I,
|
|
7510
7515
|
[K.RG_INTEGER]: t.RG32I,
|
|
7511
7516
|
[K.RED_INTEGER]: t.R32I
|
|
7512
7517
|
},
|
|
7513
|
-
[
|
|
7518
|
+
[Ge.FLOAT]: {
|
|
7514
7519
|
[K.RGBA]: t.RGBA32F,
|
|
7515
7520
|
[K.RGB]: t.RGB32F,
|
|
7516
7521
|
[K.RG]: t.RG32F,
|
|
7517
7522
|
[K.RED]: t.R32F,
|
|
7518
7523
|
[K.DEPTH_COMPONENT]: t.DEPTH_COMPONENT32F
|
|
7519
7524
|
},
|
|
7520
|
-
[
|
|
7525
|
+
[Ge.HALF_FLOAT]: {
|
|
7521
7526
|
[K.RGBA]: t.RGBA16F,
|
|
7522
7527
|
[K.RGB]: t.RGB16F,
|
|
7523
7528
|
[K.RG]: t.RG16F,
|
|
7524
7529
|
[K.RED]: t.R16F
|
|
7525
7530
|
},
|
|
7526
|
-
[
|
|
7531
|
+
[Ge.UNSIGNED_SHORT_5_6_5]: {
|
|
7527
7532
|
[K.RGB]: t.RGB565
|
|
7528
7533
|
},
|
|
7529
|
-
[
|
|
7534
|
+
[Ge.UNSIGNED_SHORT_4_4_4_4]: {
|
|
7530
7535
|
[K.RGBA]: t.RGBA4
|
|
7531
7536
|
},
|
|
7532
|
-
[
|
|
7537
|
+
[Ge.UNSIGNED_SHORT_5_5_5_1]: {
|
|
7533
7538
|
[K.RGBA]: t.RGB5_A1
|
|
7534
7539
|
},
|
|
7535
|
-
[
|
|
7540
|
+
[Ge.UNSIGNED_INT_2_10_10_10_REV]: {
|
|
7536
7541
|
[K.RGBA]: t.RGB10_A2,
|
|
7537
7542
|
[K.RGBA_INTEGER]: t.RGB10_A2UI
|
|
7538
7543
|
},
|
|
7539
|
-
[
|
|
7544
|
+
[Ge.UNSIGNED_INT_10F_11F_11F_REV]: {
|
|
7540
7545
|
[K.RGB]: t.R11F_G11F_B10F
|
|
7541
7546
|
},
|
|
7542
|
-
[
|
|
7547
|
+
[Ge.UNSIGNED_INT_5_9_9_9_REV]: {
|
|
7543
7548
|
[K.RGB]: t.RGB9_E5
|
|
7544
7549
|
},
|
|
7545
|
-
[
|
|
7550
|
+
[Ge.UNSIGNED_INT_24_8]: {
|
|
7546
7551
|
[K.DEPTH_STENCIL]: t.DEPTH24_STENCIL8
|
|
7547
7552
|
},
|
|
7548
|
-
[
|
|
7553
|
+
[Ge.FLOAT_32_UNSIGNED_INT_24_8_REV]: {
|
|
7549
7554
|
[K.DEPTH_STENCIL]: t.DEPTH32F_STENCIL8
|
|
7550
7555
|
}
|
|
7551
7556
|
} : e = {
|
|
7552
|
-
[
|
|
7557
|
+
[Ge.UNSIGNED_BYTE]: {
|
|
7553
7558
|
[K.RGBA]: t.RGBA,
|
|
7554
7559
|
[K.RGB]: t.RGB,
|
|
7555
7560
|
[K.ALPHA]: t.ALPHA,
|
|
7556
7561
|
[K.LUMINANCE]: t.LUMINANCE,
|
|
7557
7562
|
[K.LUMINANCE_ALPHA]: t.LUMINANCE_ALPHA
|
|
7558
7563
|
},
|
|
7559
|
-
[
|
|
7564
|
+
[Ge.UNSIGNED_SHORT_5_6_5]: {
|
|
7560
7565
|
[K.RGB]: t.RGB
|
|
7561
7566
|
},
|
|
7562
|
-
[
|
|
7567
|
+
[Ge.UNSIGNED_SHORT_4_4_4_4]: {
|
|
7563
7568
|
[K.RGBA]: t.RGBA
|
|
7564
7569
|
},
|
|
7565
|
-
[
|
|
7570
|
+
[Ge.UNSIGNED_SHORT_5_5_5_1]: {
|
|
7566
7571
|
[K.RGBA]: t.RGBA
|
|
7567
7572
|
}
|
|
7568
7573
|
}, e;
|
|
7569
7574
|
}
|
|
7570
7575
|
class E0 {
|
|
7571
7576
|
constructor(e) {
|
|
7572
|
-
this.renderer = e, this.boundTextures = [], this.currentLocation = -1, this.managedTextures = [], this._unknownBoundTextures = !1, this.unknownTexture = new
|
|
7577
|
+
this.renderer = e, this.boundTextures = [], this.currentLocation = -1, this.managedTextures = [], this._unknownBoundTextures = !1, this.unknownTexture = new He(), this.hasIntegerTextures = !1;
|
|
7573
7578
|
}
|
|
7574
7579
|
contextChange() {
|
|
7575
7580
|
const e = this.gl = this.renderer.gl;
|
|
@@ -7625,7 +7630,7 @@ class E0 {
|
|
|
7625
7630
|
}
|
|
7626
7631
|
initTextureType(e, r) {
|
|
7627
7632
|
var n;
|
|
7628
|
-
r.internalFormat = ((n = this.internalFormats[e.type]) == null ? void 0 : n[e.format]) ?? e.format, this.webGLVersion === 2 && e.type ===
|
|
7633
|
+
r.internalFormat = ((n = this.internalFormats[e.type]) == null ? void 0 : n[e.format]) ?? e.format, this.webGLVersion === 2 && e.type === Ge.HALF_FLOAT ? r.type = this.gl.HALF_FLOAT : r.type = e.type;
|
|
7629
7634
|
}
|
|
7630
7635
|
updateTexture(e) {
|
|
7631
7636
|
var i;
|
|
@@ -7772,39 +7777,39 @@ Pe.RENDER_OPTIONS = {
|
|
|
7772
7777
|
Object.defineProperties(Pe, {
|
|
7773
7778
|
WRAP_MODE: {
|
|
7774
7779
|
get() {
|
|
7775
|
-
return
|
|
7780
|
+
return He.defaultOptions.wrapMode;
|
|
7776
7781
|
},
|
|
7777
7782
|
set(t) {
|
|
7778
|
-
|
|
7783
|
+
Be("7.1.0", "settings.WRAP_MODE is deprecated, use BaseTexture.defaultOptions.wrapMode"), He.defaultOptions.wrapMode = t;
|
|
7779
7784
|
}
|
|
7780
7785
|
},
|
|
7781
7786
|
SCALE_MODE: {
|
|
7782
7787
|
get() {
|
|
7783
|
-
return
|
|
7788
|
+
return He.defaultOptions.scaleMode;
|
|
7784
7789
|
},
|
|
7785
7790
|
set(t) {
|
|
7786
|
-
|
|
7791
|
+
Be("7.1.0", "settings.SCALE_MODE is deprecated, use BaseTexture.defaultOptions.scaleMode"), He.defaultOptions.scaleMode = t;
|
|
7787
7792
|
}
|
|
7788
7793
|
},
|
|
7789
7794
|
MIPMAP_TEXTURES: {
|
|
7790
7795
|
get() {
|
|
7791
|
-
return
|
|
7796
|
+
return He.defaultOptions.mipmap;
|
|
7792
7797
|
},
|
|
7793
7798
|
set(t) {
|
|
7794
|
-
|
|
7799
|
+
Be("7.1.0", "settings.MIPMAP_TEXTURES is deprecated, use BaseTexture.defaultOptions.mipmap"), He.defaultOptions.mipmap = t;
|
|
7795
7800
|
}
|
|
7796
7801
|
},
|
|
7797
7802
|
ANISOTROPIC_LEVEL: {
|
|
7798
7803
|
get() {
|
|
7799
|
-
return
|
|
7804
|
+
return He.defaultOptions.anisotropicLevel;
|
|
7800
7805
|
},
|
|
7801
7806
|
set(t) {
|
|
7802
|
-
|
|
7807
|
+
Be("7.1.0", "settings.ANISOTROPIC_LEVEL is deprecated, use BaseTexture.defaultOptions.anisotropicLevel"), He.defaultOptions.anisotropicLevel = t;
|
|
7803
7808
|
}
|
|
7804
7809
|
},
|
|
7805
7810
|
FILTER_RESOLUTION: {
|
|
7806
7811
|
get() {
|
|
7807
|
-
return
|
|
7812
|
+
return Be("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"), Xe.defaultResolution;
|
|
7808
7813
|
},
|
|
7809
7814
|
set(t) {
|
|
7810
7815
|
Xe.defaultResolution = t;
|
|
@@ -7812,7 +7817,7 @@ Object.defineProperties(Pe, {
|
|
|
7812
7817
|
},
|
|
7813
7818
|
FILTER_MULTISAMPLE: {
|
|
7814
7819
|
get() {
|
|
7815
|
-
return
|
|
7820
|
+
return Be("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"), Xe.defaultMultisample;
|
|
7816
7821
|
},
|
|
7817
7822
|
set(t) {
|
|
7818
7823
|
Xe.defaultMultisample = t;
|
|
@@ -7823,7 +7828,7 @@ Object.defineProperties(Pe, {
|
|
|
7823
7828
|
return xr.defaultMaxTextures;
|
|
7824
7829
|
},
|
|
7825
7830
|
set(t) {
|
|
7826
|
-
|
|
7831
|
+
Be("7.1.0", "settings.SPRITE_MAX_TEXTURES is deprecated, use BatchRenderer.defaultMaxTextures"), xr.defaultMaxTextures = t;
|
|
7827
7832
|
}
|
|
7828
7833
|
},
|
|
7829
7834
|
SPRITE_BATCH_SIZE: {
|
|
@@ -7831,7 +7836,7 @@ Object.defineProperties(Pe, {
|
|
|
7831
7836
|
return xr.defaultBatchSize;
|
|
7832
7837
|
},
|
|
7833
7838
|
set(t) {
|
|
7834
|
-
|
|
7839
|
+
Be("7.1.0", "settings.SPRITE_BATCH_SIZE is deprecated, use BatchRenderer.defaultBatchSize"), xr.defaultBatchSize = t;
|
|
7835
7840
|
}
|
|
7836
7841
|
},
|
|
7837
7842
|
CAN_UPLOAD_SAME_BUFFER: {
|
|
@@ -7839,7 +7844,7 @@ Object.defineProperties(Pe, {
|
|
|
7839
7844
|
return xr.canUploadSameBuffer;
|
|
7840
7845
|
},
|
|
7841
7846
|
set(t) {
|
|
7842
|
-
|
|
7847
|
+
Be("7.1.0", "settings.CAN_UPLOAD_SAME_BUFFER is deprecated, use BatchRenderer.canUploadSameBuffer"), xr.canUploadSameBuffer = t;
|
|
7843
7848
|
}
|
|
7844
7849
|
},
|
|
7845
7850
|
GC_MODE: {
|
|
@@ -7847,7 +7852,7 @@ Object.defineProperties(Pe, {
|
|
|
7847
7852
|
return br.defaultMode;
|
|
7848
7853
|
},
|
|
7849
7854
|
set(t) {
|
|
7850
|
-
|
|
7855
|
+
Be("7.1.0", "settings.GC_MODE is deprecated, use TextureGCSystem.defaultMode"), br.defaultMode = t;
|
|
7851
7856
|
}
|
|
7852
7857
|
},
|
|
7853
7858
|
GC_MAX_IDLE: {
|
|
@@ -7855,7 +7860,7 @@ Object.defineProperties(Pe, {
|
|
|
7855
7860
|
return br.defaultMaxIdle;
|
|
7856
7861
|
},
|
|
7857
7862
|
set(t) {
|
|
7858
|
-
|
|
7863
|
+
Be("7.1.0", "settings.GC_MAX_IDLE is deprecated, use TextureGCSystem.defaultMaxIdle"), br.defaultMaxIdle = t;
|
|
7859
7864
|
}
|
|
7860
7865
|
},
|
|
7861
7866
|
GC_MAX_CHECK_COUNT: {
|
|
@@ -7863,7 +7868,7 @@ Object.defineProperties(Pe, {
|
|
|
7863
7868
|
return br.defaultCheckCountMax;
|
|
7864
7869
|
},
|
|
7865
7870
|
set(t) {
|
|
7866
|
-
|
|
7871
|
+
Be("7.1.0", "settings.GC_MAX_CHECK_COUNT is deprecated, use TextureGCSystem.defaultCheckCountMax"), br.defaultCheckCountMax = t;
|
|
7867
7872
|
}
|
|
7868
7873
|
},
|
|
7869
7874
|
PRECISION_VERTEX: {
|
|
@@ -7871,7 +7876,7 @@ Object.defineProperties(Pe, {
|
|
|
7871
7876
|
return Qr.defaultVertexPrecision;
|
|
7872
7877
|
},
|
|
7873
7878
|
set(t) {
|
|
7874
|
-
|
|
7879
|
+
Be("7.1.0", "settings.PRECISION_VERTEX is deprecated, use Program.defaultVertexPrecision"), Qr.defaultVertexPrecision = t;
|
|
7875
7880
|
}
|
|
7876
7881
|
},
|
|
7877
7882
|
PRECISION_FRAGMENT: {
|
|
@@ -7879,7 +7884,7 @@ Object.defineProperties(Pe, {
|
|
|
7879
7884
|
return Qr.defaultFragmentPrecision;
|
|
7880
7885
|
},
|
|
7881
7886
|
set(t) {
|
|
7882
|
-
|
|
7887
|
+
Be("7.1.0", "settings.PRECISION_FRAGMENT is deprecated, use Program.defaultFragmentPrecision"), Qr.defaultFragmentPrecision = t;
|
|
7883
7888
|
}
|
|
7884
7889
|
}
|
|
7885
7890
|
});
|
|
@@ -8034,7 +8039,7 @@ Object.defineProperties(Pe, {
|
|
|
8034
8039
|
return Tr.targetFPMS;
|
|
8035
8040
|
},
|
|
8036
8041
|
set(t) {
|
|
8037
|
-
|
|
8042
|
+
Be("7.1.0", "settings.TARGET_FPMS is deprecated, use Ticker.targetFPMS"), Tr.targetFPMS = t;
|
|
8038
8043
|
}
|
|
8039
8044
|
}
|
|
8040
8045
|
});
|
|
@@ -8225,7 +8230,7 @@ const Nc = class extends AP {
|
|
|
8225
8230
|
"_multisample"
|
|
8226
8231
|
]
|
|
8227
8232
|
};
|
|
8228
|
-
this.setup(e), "useContextAlpha" in t && (
|
|
8233
|
+
this.setup(e), "useContextAlpha" in t && (Be("7.0.0", "options.useContextAlpha is deprecated, use options.premultipliedAlpha and options.backgroundAlpha instead"), t.premultipliedAlpha = t.useContextAlpha && t.useContextAlpha !== "notMultiplied", t.backgroundAlpha = t.useContextAlpha === !1 ? 1 : t.backgroundAlpha), this._plugin.rendererPlugins = Nc.__plugins, this.options = t, this.startup.run(this.options);
|
|
8229
8234
|
}
|
|
8230
8235
|
static test(t) {
|
|
8231
8236
|
return t != null && t.forceCanvas ? !1 : iR();
|
|
@@ -8284,28 +8289,28 @@ const Nc = class extends AP {
|
|
|
8284
8289
|
return `WebGL ${this.context.webGLVersion}`;
|
|
8285
8290
|
}
|
|
8286
8291
|
get clearBeforeRender() {
|
|
8287
|
-
return
|
|
8292
|
+
return Be("7.0.0", "renderer.clearBeforeRender has been deprecated, please use renderer.background.clearBeforeRender instead."), this.background.clearBeforeRender;
|
|
8288
8293
|
}
|
|
8289
8294
|
get useContextAlpha() {
|
|
8290
|
-
return
|
|
8295
|
+
return Be("7.0.0", "renderer.useContextAlpha has been deprecated, please use renderer.context.premultipliedAlpha instead."), this.context.useContextAlpha;
|
|
8291
8296
|
}
|
|
8292
8297
|
get preserveDrawingBuffer() {
|
|
8293
|
-
return
|
|
8298
|
+
return Be("7.0.0", "renderer.preserveDrawingBuffer has been deprecated, we cannot truly know this unless pixi created the context"), this.context.preserveDrawingBuffer;
|
|
8294
8299
|
}
|
|
8295
8300
|
get backgroundColor() {
|
|
8296
|
-
return
|
|
8301
|
+
return Be("7.0.0", "renderer.backgroundColor has been deprecated, use renderer.background.color instead."), this.background.color;
|
|
8297
8302
|
}
|
|
8298
8303
|
set backgroundColor(t) {
|
|
8299
|
-
|
|
8304
|
+
Be("7.0.0", "renderer.backgroundColor has been deprecated, use renderer.background.color instead."), this.background.color = t;
|
|
8300
8305
|
}
|
|
8301
8306
|
get backgroundAlpha() {
|
|
8302
|
-
return
|
|
8307
|
+
return Be("7.0.0", "renderer.backgroundAlpha has been deprecated, use renderer.background.alpha instead."), this.background.alpha;
|
|
8303
8308
|
}
|
|
8304
8309
|
set backgroundAlpha(t) {
|
|
8305
|
-
|
|
8310
|
+
Be("7.0.0", "renderer.backgroundAlpha has been deprecated, use renderer.background.alpha instead."), this.background.alpha = t;
|
|
8306
8311
|
}
|
|
8307
8312
|
get powerPreference() {
|
|
8308
|
-
return
|
|
8313
|
+
return Be("7.0.0", "renderer.powerPreference has been deprecated, we can only know this if pixi creates the context"), this.context.powerPreference;
|
|
8309
8314
|
}
|
|
8310
8315
|
generateTexture(t, e) {
|
|
8311
8316
|
return this.textureGenerator.generateTexture(t, e);
|
|
@@ -8326,7 +8331,7 @@ class O0 extends Ns {
|
|
|
8326
8331
|
const { width: n, height: i } = r || {};
|
|
8327
8332
|
super(n, i), this.items = [], this.itemDirtyIds = [];
|
|
8328
8333
|
for (let a = 0; a < e; a++) {
|
|
8329
|
-
const u = new
|
|
8334
|
+
const u = new He();
|
|
8330
8335
|
this.items.push(u), this.itemDirtyIds.push(-2);
|
|
8331
8336
|
}
|
|
8332
8337
|
this.length = e, this._load = null, this.baseTexture = null;
|
|
@@ -9840,13 +9845,13 @@ const Dc = class extends Xe {
|
|
|
9840
9845
|
return this._distance;
|
|
9841
9846
|
}
|
|
9842
9847
|
set distance(e) {
|
|
9843
|
-
|
|
9848
|
+
Be("5.3.0", "DropShadowFilter distance is deprecated, use offset"), this._distance = e, this._updatePadding(), this._updateShift();
|
|
9844
9849
|
}
|
|
9845
9850
|
get rotation() {
|
|
9846
9851
|
return this.angle / Ls;
|
|
9847
9852
|
}
|
|
9848
9853
|
set rotation(e) {
|
|
9849
|
-
|
|
9854
|
+
Be("5.3.0", "DropShadowFilter rotation is deprecated, use offset"), this.angle = e * Ls, this._updateShift();
|
|
9850
9855
|
}
|
|
9851
9856
|
get alpha() {
|
|
9852
9857
|
return this._tintFilter.uniforms.alpha;
|
|
@@ -9997,7 +10002,7 @@ void main(void)
|
|
|
9997
10002
|
`;
|
|
9998
10003
|
const Bc = class extends Xe {
|
|
9999
10004
|
constructor(e) {
|
|
10000
|
-
super(AM, EM), this.offset = 100, this.fillMode = Bc.TRANSPARENT, this.average = !1, this.seed = 0, this.minSize = 8, this.sampleSize = 512, this._slices = 0, this._offsets = new Float32Array(1), this._sizes = new Float32Array(1), this._direction = -1, this.uniforms.dimensions = new Float32Array(2), this._canvas = document.createElement("canvas"), this._canvas.width = 4, this._canvas.height = this.sampleSize, this.texture =
|
|
10005
|
+
super(AM, EM), this.offset = 100, this.fillMode = Bc.TRANSPARENT, this.average = !1, this.seed = 0, this.minSize = 8, this.sampleSize = 512, this._slices = 0, this._offsets = new Float32Array(1), this._sizes = new Float32Array(1), this._direction = -1, this.uniforms.dimensions = new Float32Array(2), this._canvas = document.createElement("canvas"), this._canvas.width = 4, this._canvas.height = this.sampleSize, this.texture = $e.from(this._canvas, { scaleMode: Lr.NEAREST }), Object.assign(this, Bc.defaults, e);
|
|
10001
10006
|
}
|
|
10002
10007
|
apply(e, r, n, i) {
|
|
10003
10008
|
const { width: a, height: u } = r.filterFrame;
|
|
@@ -11111,7 +11116,7 @@ let W0 = class extends Xe {
|
|
|
11111
11116
|
};
|
|
11112
11117
|
const j0 = class extends Xe {
|
|
11113
11118
|
constructor(e, r, n, i) {
|
|
11114
|
-
super(), typeof e == "number" && (
|
|
11119
|
+
super(), typeof e == "number" && (Be("5.3.0", "TiltShiftFilter constructor arguments is deprecated, use options."), e = { blur: e, gradientBlur: r, start: n, end: i }), e = Object.assign({}, j0.defaults, e), this.tiltShiftXFilter = new YM(e), this.tiltShiftYFilter = new KM(e);
|
|
11115
11120
|
}
|
|
11116
11121
|
apply(e, r, n, i) {
|
|
11117
11122
|
const a = e.getFilterTexture();
|
|
@@ -11528,7 +11533,7 @@ const Zn = (t) => {
|
|
|
11528
11533
|
} = Zn(d), { nightVisionFilter: D } = oO();
|
|
11529
11534
|
return te.useEffect(() => (console.log("PixiImageSprite mounting"), () => {
|
|
11530
11535
|
console.log("PixiImageSprite unmounting");
|
|
11531
|
-
}), []), console.log("imageRef", r.current), /* @__PURE__ */
|
|
11536
|
+
}), []), console.log("imageRef", r.current, l, h, p, m), /* @__PURE__ */ Ie.jsx(mn, { ...t, ref: e, children: /* @__PURE__ */ Ie.jsx(wt, { ref: n, children: /* @__PURE__ */ Ie.jsx(
|
|
11532
11537
|
Bs,
|
|
11533
11538
|
{
|
|
11534
11539
|
image: i,
|
|
@@ -11807,27 +11812,27 @@ function fO(t, e) {
|
|
|
11807
11812
|
m.push(w - N * X, I - L * X, w + N * G, I + L * G), le >= 0 && (a.join === yr.ROUND ? d += Mn(w, I, w - N * X, I - L * X, w - D * X, I - V * X, m, !1) + 4 : d += 2, m.push(w - D * G, I - V * G, w + D * X, I + V * X));
|
|
11808
11813
|
continue;
|
|
11809
11814
|
}
|
|
11810
|
-
const
|
|
11815
|
+
const xe = (-N + x) * (-L + I) - (-N + w) * (-L + E), Se = (-D + O) * (-V + I) - (-D + w) * (-V + F), ke = (Q * Se - W * xe) / he, Ue = (j * xe - de * Se) / he, Ee = (ke - w) * (ke - w) + (Ue - I) * (Ue - I), ye = w + (ke - w) * X, Te = I + (Ue - I) * X, De = w - (ke - w) * G, Ke = I - (Ue - I) * G, Ce = Math.min(Q * Q + de * de, W * W + j * j), ve = pe ? X : G, rt = Ce + ve * ve * y, ce = Ee <= rt;
|
|
11811
11816
|
let Fe = a.join;
|
|
11812
|
-
if (Fe === yr.MITER &&
|
|
11817
|
+
if (Fe === yr.MITER && Ee / y > b && (Fe = yr.BEVEL), ce)
|
|
11813
11818
|
switch (Fe) {
|
|
11814
11819
|
case yr.MITER: {
|
|
11815
|
-
m.push(
|
|
11820
|
+
m.push(ye, Te, De, Ke);
|
|
11816
11821
|
break;
|
|
11817
11822
|
}
|
|
11818
11823
|
case yr.BEVEL: {
|
|
11819
|
-
pe ? m.push(
|
|
11824
|
+
pe ? m.push(ye, Te, w + N * G, I + L * G, ye, Te, w + D * G, I + V * G) : m.push(w - N * X, I - L * X, De, Ke, w - D * X, I - V * X, De, Ke), d += 2;
|
|
11820
11825
|
break;
|
|
11821
11826
|
}
|
|
11822
11827
|
case yr.ROUND: {
|
|
11823
|
-
pe ? (m.push(
|
|
11828
|
+
pe ? (m.push(ye, Te, w + N * G, I + L * G), d += Mn(w, I, w + N * G, I + L * G, w + D * G, I + V * G, m, !0) + 4, m.push(ye, Te, w + D * G, I + V * G)) : (m.push(w - N * X, I - L * X, De, Ke), d += Mn(w, I, w - N * X, I - L * X, w - D * X, I - V * X, m, !1) + 4, m.push(w - D * X, I - V * X, De, Ke));
|
|
11824
11829
|
break;
|
|
11825
11830
|
}
|
|
11826
11831
|
}
|
|
11827
11832
|
else {
|
|
11828
11833
|
switch (m.push(w - N * X, I - L * X, w + N * G, I + L * G), Fe) {
|
|
11829
11834
|
case yr.MITER: {
|
|
11830
|
-
pe ? m.push(
|
|
11835
|
+
pe ? m.push(De, Ke, De, Ke) : m.push(ye, Te, ye, Te), d += 2;
|
|
11831
11836
|
break;
|
|
11832
11837
|
}
|
|
11833
11838
|
case yr.ROUND: {
|
|
@@ -12310,7 +12315,7 @@ Object.defineProperties(Pe, {
|
|
|
12310
12315
|
return Bi.defaultSortableChildren;
|
|
12311
12316
|
},
|
|
12312
12317
|
set(t) {
|
|
12313
|
-
|
|
12318
|
+
Be("7.1.0", "settings.SORTABLE_CHILDREN is deprecated, use Container.defaultSortableChildren"), Bi.defaultSortableChildren = t;
|
|
12314
12319
|
}
|
|
12315
12320
|
}
|
|
12316
12321
|
});
|
|
@@ -12448,7 +12453,7 @@ const yi = new Je(), Z0 = class extends Qm {
|
|
|
12448
12453
|
return this.points.length < Z0.BATCHABLE_SIZE * 2;
|
|
12449
12454
|
}
|
|
12450
12455
|
buildDrawCalls() {
|
|
12451
|
-
let t =
|
|
12456
|
+
let t = ++He._globalBatch;
|
|
12452
12457
|
for (let m = 0; m < this.drawCalls.length; m++)
|
|
12453
12458
|
this.drawCalls[m].texArray.clear(), eo.push(this.drawCalls[m]);
|
|
12454
12459
|
this.drawCalls.length = 0;
|
|
@@ -12461,7 +12466,7 @@ const yi = new Je(), Z0 = class extends Qm {
|
|
|
12461
12466
|
const c = this.batches[m], d = 8, g = c.style, _ = g.texture.baseTexture;
|
|
12462
12467
|
l !== !!g.native && (l = !!g.native, h = l ? dn.LINES : dn.TRIANGLES, a = null, i = d, t++), a !== _ && (a = _, _._batchEnabled !== t && (i === d && (t++, i = 0, n.size > 0 && (n = eo.pop(), n || (n = new Rc(), n.texArray = new Mc()), this.drawCalls.push(n)), n.start = p, n.size = 0, n.texArray.count = 0, n.type = h), _.touched = 1, _._batchEnabled = t, _._batchLocation = i, _.wrapMode = Rs.REPEAT, n.texArray.elements[n.texArray.count++] = _, i++)), n.size += c.size, p += c.size, u = _._batchLocation, this.addColors(e, g.color, g.alpha, c.attribSize, c.attribStart), this.addTextureIds(r, u, c.attribSize, c.attribStart);
|
|
12463
12468
|
}
|
|
12464
|
-
|
|
12469
|
+
He._globalBatch = t, this.packAttributes();
|
|
12465
12470
|
}
|
|
12466
12471
|
packAttributes() {
|
|
12467
12472
|
const t = this.points, e = this.uvs, r = this.colors, n = this.textureIds, i = new ArrayBuffer(t.length * 3 * 4), a = new Float32Array(i), u = new Uint32Array(i);
|
|
@@ -12533,14 +12538,14 @@ let Q0 = Z0;
|
|
|
12533
12538
|
Q0.BATCHABLE_SIZE = 100;
|
|
12534
12539
|
class zo {
|
|
12535
12540
|
constructor() {
|
|
12536
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12541
|
+
this.color = 16777215, this.alpha = 1, this.texture = $e.WHITE, this.matrix = null, this.visible = !1, this.reset();
|
|
12537
12542
|
}
|
|
12538
12543
|
clone() {
|
|
12539
12544
|
const e = new zo();
|
|
12540
12545
|
return e.color = this.color, e.alpha = this.alpha, e.texture = this.texture, e.matrix = this.matrix, e.visible = this.visible, e;
|
|
12541
12546
|
}
|
|
12542
12547
|
reset() {
|
|
12543
|
-
this.color = 16777215, this.alpha = 1, this.texture =
|
|
12548
|
+
this.color = 16777215, this.alpha = 1, this.texture = $e.WHITE, this.matrix = null, this.visible = !1;
|
|
12544
12549
|
}
|
|
12545
12550
|
destroy() {
|
|
12546
12551
|
this.texture = null, this.matrix = null;
|
|
@@ -12592,7 +12597,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12592
12597
|
lineTextureStyle(t) {
|
|
12593
12598
|
const e = {
|
|
12594
12599
|
width: 0,
|
|
12595
|
-
texture:
|
|
12600
|
+
texture: $e.WHITE,
|
|
12596
12601
|
color: t != null && t.texture ? 16777215 : 0,
|
|
12597
12602
|
matrix: null,
|
|
12598
12603
|
alignment: 0.5,
|
|
@@ -12658,7 +12663,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12658
12663
|
return Ig.arc(l, h, t, e, r, n, i, a, m), this;
|
|
12659
12664
|
}
|
|
12660
12665
|
beginFill(t = 0, e) {
|
|
12661
|
-
return this.beginTextureFill({ texture:
|
|
12666
|
+
return this.beginTextureFill({ texture: $e.WHITE, color: t, alpha: e });
|
|
12662
12667
|
}
|
|
12663
12668
|
normalizeColor(t) {
|
|
12664
12669
|
const e = Mt.shared.setValue(t.color ?? 0);
|
|
@@ -12666,7 +12671,7 @@ const Jl = {}, lo = class extends Bi {
|
|
|
12666
12671
|
}
|
|
12667
12672
|
beginTextureFill(t) {
|
|
12668
12673
|
const e = {
|
|
12669
|
-
texture:
|
|
12674
|
+
texture: $e.WHITE,
|
|
12670
12675
|
color: 16777215,
|
|
12671
12676
|
matrix: null
|
|
12672
12677
|
};
|
|
@@ -14531,7 +14536,7 @@ const yF = /* @__PURE__ */ $i(_F), sU = te.forwardRef((t, e) => {
|
|
|
14531
14536
|
</svg>`, de = new WO(Q), W = F.renderer.generateTexture(de);
|
|
14532
14537
|
return n(W), () => {
|
|
14533
14538
|
};
|
|
14534
|
-
}, [F, l, x, E, y, b]), /* @__PURE__ */
|
|
14539
|
+
}, [F, l, x, E, y, b]), /* @__PURE__ */ Ie.jsx(mn, { ...t, ref: e, children: /* @__PURE__ */ Ie.jsx(wt, { ref: a, children: /* @__PURE__ */ Ie.jsx(wt, { ref: u, children: r && /* @__PURE__ */ Ie.jsx(
|
|
14535
14540
|
Bs,
|
|
14536
14541
|
{
|
|
14537
14542
|
texture: r,
|
|
@@ -15875,7 +15880,7 @@ const aU = (t) => {
|
|
|
15875
15880
|
]), te.useEffect(() => {
|
|
15876
15881
|
u.current && (console.log("running updateEffect 2002", p, b), u.current.volume(!g && x ? 1 : 0), u.current.rate(_ || 1), i.current.isPlaying = !0);
|
|
15877
15882
|
}, [g, x, _]), // @ts-ignore
|
|
15878
|
-
/* @__PURE__ */
|
|
15883
|
+
/* @__PURE__ */ Ie.jsx(wt, { ref: n });
|
|
15879
15884
|
};
|
|
15880
15885
|
function xF(t, e) {
|
|
15881
15886
|
for (var r = -1, n = t == null ? 0 : t.length, i = Array(n); ++r < n; )
|
|
@@ -16987,7 +16992,7 @@ const ZB = (t) => ({
|
|
|
16987
16992
|
return;
|
|
16988
16993
|
const i = n.current;
|
|
16989
16994
|
i[t ? "gotoAndPlay" : "gotoAndStop"](i.currentFrame);
|
|
16990
|
-
}, [t]), /* @__PURE__ */
|
|
16995
|
+
}, [t]), /* @__PURE__ */ Ie.jsx(
|
|
16991
16996
|
nS,
|
|
16992
16997
|
{
|
|
16993
16998
|
ref: n,
|
|
@@ -17018,7 +17023,7 @@ Io.exports;
|
|
|
17018
17023
|
["partial", O],
|
|
17019
17024
|
["partialRight", F],
|
|
17020
17025
|
["rearg", L]
|
|
17021
|
-
],
|
|
17026
|
+
], xe = "[object Arguments]", Se = "[object Array]", ke = "[object AsyncFunction]", Ue = "[object Boolean]", Ee = "[object Date]", ye = "[object DOMException]", Te = "[object Error]", De = "[object Function]", Ke = "[object GeneratorFunction]", Ce = "[object Map]", ve = "[object Number]", rt = "[object Null]", ce = "[object Object]", Fe = "[object Promise]", Xt = "[object Proxy]", Ut = "[object RegExp]", lt = "[object Set]", tr = "[object String]", Qn = "[object Symbol]", eu = "[object Undefined]", xn = "[object WeakMap]", fr = "[object WeakSet]", Jn = "[object ArrayBuffer]", ei = "[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, Th = /&(?:amp|lt|gt|quot|#39);/g, wh = /[&<>"']/g, wv = RegExp(Th.source), Sv = RegExp(wh.source), Av = /<%-([\s\S]+?)%>/g, Ev = /<%([\s\S]+?)%>/g, Sh = /<%=([\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, Ah = /\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", Eh = Wv + jv + qv, Ch = "\\u2700-\\u27bf", Ih = "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", Rh = "A-Z\\xc0-\\xd6\\xd8-\\xde", Ph = "\\ufe0e\\ufe0f", Mh = Yv + Kv + Zv + Qv, fu = "['’]", Jv = "[" + js + "]", Oh = "[" + Mh + "]", qs = "[" + Eh + "]", Fh = "\\d+", e_ = "[" + Ch + "]", Nh = "[" + Ih + "]", Lh = "[^" + js + Mh + Fh + Ch + Ih + Rh + "]", du = "\\ud83c[\\udffb-\\udfff]", t_ = "(?:" + qs + "|" + du + ")", kh = "[^" + js + "]", pu = "(?:\\ud83c[\\udde6-\\uddff]){2}", gu = "[\\ud800-\\udbff][\\udc00-\\udfff]", ti = "[" + Rh + "]", Dh = "\\u200d", Bh = "(?:" + Nh + "|" + Lh + ")", r_ = "(?:" + ti + "|" + Lh + ")", Uh = "(?:" + fu + "(?:d|ll|m|re|s|t|ve))?", $h = "(?:" + fu + "(?:D|LL|M|RE|S|T|VE))?", Gh = t_ + "?", Hh = "[" + Ph + "]?", n_ = "(?:" + Dh + "(?:" + [kh, pu, gu].join("|") + ")" + Hh + Gh + ")*", i_ = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", s_ = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", zh = Hh + Gh + n_, a_ = "(?:" + [e_, pu, gu].join("|") + ")" + zh, o_ = "(?:" + [kh + qs + "?", qs, pu, gu, Jv].join("|") + ")", u_ = RegExp(fu, "g"), l_ = RegExp(qs, "g"), mu = RegExp(du + "(?=" + du + ")|" + o_ + zh, "g"), c_ = RegExp([
|
|
17022
17027
|
ti + "?" + Nh + "+" + Uh + "(?=" + [Oh, ti, "$"].join("|") + ")",
|
|
17023
17028
|
r_ + "+" + $h + "(?=" + [Oh, ti + Bh, "$"].join("|") + ")",
|
|
17024
17029
|
ti + "?" + Bh + "+" + Uh,
|
|
@@ -17059,9 +17064,9 @@ Io.exports;
|
|
|
17059
17064
|
"parseInt",
|
|
17060
17065
|
"setTimeout"
|
|
17061
17066
|
], p_ = -1, et = {};
|
|
17062
|
-
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[
|
|
17067
|
+
et[tu] = et[ru] = et[nu] = et[iu] = et[su] = et[au] = et[ou] = et[uu] = et[lu] = !0, et[xe] = et[Se] = et[Jn] = et[Ue] = et[ei] = et[Ee] = et[Te] = et[De] = et[Ce] = et[ve] = et[ce] = et[Ut] = et[lt] = et[tr] = et[xn] = !1;
|
|
17063
17068
|
var Ze = {};
|
|
17064
|
-
Ze[
|
|
17069
|
+
Ze[xe] = Ze[Se] = Ze[Jn] = Ze[ei] = Ze[Ue] = Ze[Ee] = Ze[tu] = Ze[ru] = Ze[nu] = Ze[iu] = Ze[su] = Ze[Ce] = Ze[ve] = Ze[ce] = Ze[Ut] = Ze[lt] = Ze[tr] = Ze[Qn] = Ze[au] = Ze[ou] = Ze[uu] = Ze[lu] = !0, Ze[Te] = Ze[De] = Ze[xn] = !1;
|
|
17065
17070
|
var g_ = {
|
|
17066
17071
|
// Latin-1 Supplement block.
|
|
17067
17072
|
À: "A",
|
|
@@ -17295,7 +17300,7 @@ Io.exports;
|
|
|
17295
17300
|
return P.apply(B, k);
|
|
17296
17301
|
}
|
|
17297
17302
|
function T_(P, B, k, Z) {
|
|
17298
|
-
for (var ge = -1,
|
|
17303
|
+
for (var ge = -1, ze = P == null ? 0 : P.length; ++ge < ze; ) {
|
|
17299
17304
|
var mt = P[ge];
|
|
17300
17305
|
B(Z, mt, k(mt), P);
|
|
17301
17306
|
}
|
|
@@ -17318,11 +17323,11 @@ Io.exports;
|
|
|
17318
17323
|
return !0;
|
|
17319
17324
|
}
|
|
17320
17325
|
function en(P, B) {
|
|
17321
|
-
for (var k = -1, Z = P == null ? 0 : P.length, ge = 0,
|
|
17326
|
+
for (var k = -1, Z = P == null ? 0 : P.length, ge = 0, ze = []; ++k < Z; ) {
|
|
17322
17327
|
var mt = P[k];
|
|
17323
|
-
B(mt, k, P) && (
|
|
17328
|
+
B(mt, k, P) && (ze[ge++] = mt);
|
|
17324
17329
|
}
|
|
17325
|
-
return
|
|
17330
|
+
return ze;
|
|
17326
17331
|
}
|
|
17327
17332
|
function Ys(P, B) {
|
|
17328
17333
|
var k = P == null ? 0 : P.length;
|
|
@@ -17345,8 +17350,8 @@ Io.exports;
|
|
|
17345
17350
|
return P;
|
|
17346
17351
|
}
|
|
17347
17352
|
function xu(P, B, k, Z) {
|
|
17348
|
-
var ge = -1,
|
|
17349
|
-
for (Z &&
|
|
17353
|
+
var ge = -1, ze = P == null ? 0 : P.length;
|
|
17354
|
+
for (Z && ze && (k = P[++ge]); ++ge < ze; )
|
|
17350
17355
|
k = B(k, P[ge], ge, P);
|
|
17351
17356
|
return k;
|
|
17352
17357
|
}
|
|
@@ -17371,22 +17376,22 @@ Io.exports;
|
|
|
17371
17376
|
}
|
|
17372
17377
|
function Jh(P, B, k) {
|
|
17373
17378
|
var Z;
|
|
17374
|
-
return k(P, function(ge,
|
|
17375
|
-
if (B(ge,
|
|
17376
|
-
return Z =
|
|
17379
|
+
return k(P, function(ge, ze, mt) {
|
|
17380
|
+
if (B(ge, ze, mt))
|
|
17381
|
+
return Z = ze, !1;
|
|
17377
17382
|
}), Z;
|
|
17378
17383
|
}
|
|
17379
17384
|
function Ks(P, B, k, Z) {
|
|
17380
|
-
for (var ge = P.length,
|
|
17381
|
-
if (B(P[
|
|
17382
|
-
return
|
|
17385
|
+
for (var ge = P.length, ze = k + (Z ? 1 : -1); Z ? ze-- : ++ze < ge; )
|
|
17386
|
+
if (B(P[ze], ze, P))
|
|
17387
|
+
return ze;
|
|
17383
17388
|
return -1;
|
|
17384
17389
|
}
|
|
17385
17390
|
function ri(P, B, k) {
|
|
17386
17391
|
return B === B ? U_(P, B, k) : Ks(P, ef, k);
|
|
17387
17392
|
}
|
|
17388
17393
|
function I_(P, B, k, Z) {
|
|
17389
|
-
for (var ge = k - 1,
|
|
17394
|
+
for (var ge = k - 1, ze = P.length; ++ge < ze; )
|
|
17390
17395
|
if (Z(P[ge], B))
|
|
17391
17396
|
return ge;
|
|
17392
17397
|
return -1;
|
|
@@ -17409,8 +17414,8 @@ Io.exports;
|
|
|
17409
17414
|
};
|
|
17410
17415
|
}
|
|
17411
17416
|
function rf(P, B, k, Z, ge) {
|
|
17412
|
-
return ge(P, function(
|
|
17413
|
-
k = Z ? (Z = !1,
|
|
17417
|
+
return ge(P, function(ze, mt, qe) {
|
|
17418
|
+
k = Z ? (Z = !1, ze) : B(k, ze, mt, qe);
|
|
17414
17419
|
}), k;
|
|
17415
17420
|
}
|
|
17416
17421
|
function R_(P, B) {
|
|
@@ -17421,8 +17426,8 @@ Io.exports;
|
|
|
17421
17426
|
}
|
|
17422
17427
|
function Su(P, B) {
|
|
17423
17428
|
for (var k, Z = -1, ge = P.length; ++Z < ge; ) {
|
|
17424
|
-
var
|
|
17425
|
-
|
|
17429
|
+
var ze = B(P[Z]);
|
|
17430
|
+
ze !== r && (k = k === r ? ze : k + ze);
|
|
17426
17431
|
}
|
|
17427
17432
|
return k;
|
|
17428
17433
|
}
|
|
@@ -17497,11 +17502,11 @@ Io.exports;
|
|
|
17497
17502
|
};
|
|
17498
17503
|
}
|
|
17499
17504
|
function rn(P, B) {
|
|
17500
|
-
for (var k = -1, Z = P.length, ge = 0,
|
|
17505
|
+
for (var k = -1, Z = P.length, ge = 0, ze = []; ++k < Z; ) {
|
|
17501
17506
|
var mt = P[k];
|
|
17502
|
-
(mt === B || mt === m) && (P[k] = m,
|
|
17507
|
+
(mt === B || mt === m) && (P[k] = m, ze[ge++] = k);
|
|
17503
17508
|
}
|
|
17504
|
-
return
|
|
17509
|
+
return ze;
|
|
17505
17510
|
}
|
|
17506
17511
|
function Zs(P) {
|
|
17507
17512
|
var B = -1, k = Array(P.size);
|
|
@@ -17552,7 +17557,7 @@ Io.exports;
|
|
|
17552
17557
|
}
|
|
17553
17558
|
var X_ = function P(B) {
|
|
17554
17559
|
B = B == null ? St : si.defaults(St.Object(), B, si.pick(St, d_));
|
|
17555
|
-
var k = B.Array, Z = B.Date, ge = B.Error,
|
|
17560
|
+
var k = B.Array, Z = B.Date, ge = B.Error, ze = B.Function, mt = B.Math, qe = B.Object, Iu = B.RegExp, W_ = B.String, ir = B.TypeError, Qs = k.prototype, j_ = ze.prototype, ai = qe.prototype, Js = B["__core-js_shared__"], ea = j_.toString, We = ai.hasOwnProperty, q_ = 0, lf = function() {
|
|
17556
17561
|
var s = /[^.]+$/.exec(Js && Js.keys && Js.keys.IE_PROTO || "");
|
|
17557
17562
|
return s ? "Symbol(src)_1." + s : "";
|
|
17558
17563
|
}(), ta = ai.toString, Y_ = ea.call(qe), K_ = St._, Z_ = Iu(
|
|
@@ -17565,7 +17570,7 @@ Io.exports;
|
|
|
17565
17570
|
}
|
|
17566
17571
|
}(), Q_ = B.clearTimeout !== St.clearTimeout && B.clearTimeout, J_ = Z && Z.now !== St.Date.now && Z.now, ey = B.setTimeout !== St.setTimeout && B.setTimeout, oa = mt.ceil, ua = mt.floor, Ru = qe.getOwnPropertySymbols, ty = ra ? ra.isBuffer : r, pf = B.isFinite, ry = Qs.join, ny = of(qe.keys, qe), vt = mt.max, It = mt.min, iy = Z.now, sy = B.parseInt, gf = mt.random, ay = Qs.reverse, Pu = Cn(B, "DataView"), Zi = Cn(B, "Map"), Mu = Cn(B, "Promise"), oi = Cn(B, "Set"), Qi = Cn(B, "WeakMap"), Ji = Cn(qe, "create"), la = Qi && new Qi(), ui = {}, oy = In(Pu), uy = In(Zi), ly = In(Mu), cy = In(oi), hy = In(Qi), ca = nn ? nn.prototype : r, es = ca ? ca.valueOf : r, mf = ca ? ca.toString : r;
|
|
17567
17572
|
function S(s) {
|
|
17568
|
-
if (ct(s) && !
|
|
17573
|
+
if (ct(s) && !_e(s) && !(s instanceof Me)) {
|
|
17569
17574
|
if (s instanceof sr)
|
|
17570
17575
|
return s;
|
|
17571
17576
|
if (We.call(s, "__wrapped__"))
|
|
@@ -17652,7 +17657,7 @@ Io.exports;
|
|
|
17652
17657
|
return s;
|
|
17653
17658
|
}
|
|
17654
17659
|
function py() {
|
|
17655
|
-
var s = this.__wrapped__.value(), o = this.__dir__, f =
|
|
17660
|
+
var s = this.__wrapped__.value(), o = this.__dir__, f = _e(s), v = o < 0, T = f ? s.length : 0, A = Ex(0, T, this.__views__), C = A.start, R = A.end, M = R - C, U = v ? R : C - 1, $ = this.__iteratees__, z = $.length, q = 0, ee = It(M, this.__takeCount__);
|
|
17656
17661
|
if (!f || !v && T == M && ee == M)
|
|
17657
17662
|
return $f(s, this.__actions__);
|
|
17658
17663
|
var oe = [];
|
|
@@ -17804,7 +17809,7 @@ Io.exports;
|
|
|
17804
17809
|
}
|
|
17805
17810
|
pr.prototype.clear = Oy, pr.prototype.delete = Fy, pr.prototype.get = Ny, pr.prototype.has = Ly, pr.prototype.set = ky;
|
|
17806
17811
|
function vf(s, o) {
|
|
17807
|
-
var f =
|
|
17812
|
+
var f = _e(s), v = !f && Rn(s), T = !f && !v && ln(s), A = !f && !v && !T && di(s), C = f || v || T || A, R = C ? Au(s.length, W_) : [], M = R.length;
|
|
17808
17813
|
for (var U in s)
|
|
17809
17814
|
(o || We.call(s, U)) && !(C && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
17810
17815
|
(U == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
@@ -17869,15 +17874,15 @@ Io.exports;
|
|
|
17869
17874
|
return C;
|
|
17870
17875
|
if (!st(s))
|
|
17871
17876
|
return s;
|
|
17872
|
-
var $ =
|
|
17877
|
+
var $ = _e(s);
|
|
17873
17878
|
if ($) {
|
|
17874
17879
|
if (C = Ix(s), !R)
|
|
17875
17880
|
return $t(s, C);
|
|
17876
17881
|
} else {
|
|
17877
|
-
var z = Rt(s), q = z ==
|
|
17882
|
+
var z = Rt(s), q = z == De || z == Ke;
|
|
17878
17883
|
if (ln(s))
|
|
17879
17884
|
return zf(s, R);
|
|
17880
|
-
if (z == ce || z ==
|
|
17885
|
+
if (z == ce || z == xe || q && !T) {
|
|
17881
17886
|
if (C = M || q ? {} : ud(s), !R)
|
|
17882
17887
|
return M ? vx(s, $y(C, s)) : mx(s, yf(C, s));
|
|
17883
17888
|
} else {
|
|
@@ -17959,7 +17964,7 @@ Io.exports;
|
|
|
17959
17964
|
}
|
|
17960
17965
|
function zy(s, o, f, v) {
|
|
17961
17966
|
var T = s.length;
|
|
17962
|
-
for (f =
|
|
17967
|
+
for (f = be(f), f < 0 && (f = -f > T ? 0 : T + f), v = v === r || v > T ? T : be(v), v < 0 && (v += T), v = f > v ? 0 : Ud(v); f < v; )
|
|
17963
17968
|
s[f++] = o;
|
|
17964
17969
|
return s;
|
|
17965
17970
|
}
|
|
@@ -17997,7 +18002,7 @@ Io.exports;
|
|
|
17997
18002
|
}
|
|
17998
18003
|
function Af(s, o, f) {
|
|
17999
18004
|
var v = o(s);
|
|
18000
|
-
return
|
|
18005
|
+
return _e(s) ? v : tn(v, f(s));
|
|
18001
18006
|
}
|
|
18002
18007
|
function Ft(s) {
|
|
18003
18008
|
return s == null ? s === r ? eu : rt : Tn && Tn in qe(s) ? Ax(s) : Bx(s);
|
|
@@ -18046,20 +18051,20 @@ Io.exports;
|
|
|
18046
18051
|
return v == null ? r : Wt(v, s, f);
|
|
18047
18052
|
}
|
|
18048
18053
|
function Ef(s) {
|
|
18049
|
-
return ct(s) && Ft(s) ==
|
|
18054
|
+
return ct(s) && Ft(s) == xe;
|
|
18050
18055
|
}
|
|
18051
18056
|
function qy(s) {
|
|
18052
18057
|
return ct(s) && Ft(s) == Jn;
|
|
18053
18058
|
}
|
|
18054
18059
|
function Yy(s) {
|
|
18055
|
-
return ct(s) && Ft(s) ==
|
|
18060
|
+
return ct(s) && Ft(s) == Ee;
|
|
18056
18061
|
}
|
|
18057
18062
|
function is(s, o, f, v, T) {
|
|
18058
18063
|
return s === o ? !0 : s == null || o == null || !ct(s) && !ct(o) ? s !== s && o !== o : Ky(s, o, f, v, is, T);
|
|
18059
18064
|
}
|
|
18060
18065
|
function Ky(s, o, f, v, T, A) {
|
|
18061
|
-
var C =
|
|
18062
|
-
M = M ==
|
|
18066
|
+
var C = _e(s), R = _e(o), M = C ? Se : Rt(s), U = R ? Se : Rt(o);
|
|
18067
|
+
M = M == xe ? ce : M, U = U == xe ? ce : U;
|
|
18063
18068
|
var $ = M == ce, z = U == ce, q = M == U;
|
|
18064
18069
|
if (q && ln(s)) {
|
|
18065
18070
|
if (!ln(o))
|
|
@@ -18078,7 +18083,7 @@ Io.exports;
|
|
|
18078
18083
|
return q ? (A || (A = new pr()), Sx(s, o, f, v, T, A)) : !1;
|
|
18079
18084
|
}
|
|
18080
18085
|
function Zy(s) {
|
|
18081
|
-
return ct(s) && Rt(s) ==
|
|
18086
|
+
return ct(s) && Rt(s) == Ce;
|
|
18082
18087
|
}
|
|
18083
18088
|
function Bu(s, o, f, v) {
|
|
18084
18089
|
var T = f.length, A = T, C = !v;
|
|
@@ -18121,7 +18126,7 @@ Io.exports;
|
|
|
18121
18126
|
return ct(s) && Ma(s.length) && !!et[Ft(s)];
|
|
18122
18127
|
}
|
|
18123
18128
|
function If(s) {
|
|
18124
|
-
return typeof s == "function" ? s : s == null ? zt : typeof s == "object" ?
|
|
18129
|
+
return typeof s == "function" ? s : s == null ? zt : typeof s == "object" ? _e(s) ? Mf(s[0], s[1]) : Pf(s) : Kd(s);
|
|
18125
18130
|
}
|
|
18126
18131
|
function Uu(s) {
|
|
18127
18132
|
if (!os(s))
|
|
@@ -18178,8 +18183,8 @@ Io.exports;
|
|
|
18178
18183
|
}
|
|
18179
18184
|
var $ = A ? A(R, M, f + "", s, o, C) : r, z = $ === r;
|
|
18180
18185
|
if (z) {
|
|
18181
|
-
var q =
|
|
18182
|
-
$ = M, q || ee || oe ?
|
|
18186
|
+
var q = _e(M), ee = !q && ln(M), oe = !q && !ee && di(M);
|
|
18187
|
+
$ = M, q || ee || oe ? _e(R) ? $ = R : ht(R) ? $ = $t(R) : ee ? (z = !1, $ = zf(M, !0)) : oe ? (z = !1, $ = Vf(M, !0)) : $ = [] : ls(M) || Rn(M) ? ($ = R, Rn(R) ? $ = $d(R) : (!st(R) || Xr(R)) && ($ = ud(M))) : z = !1;
|
|
18183
18188
|
}
|
|
18184
18189
|
z && (C.set(M, $), T($, M, v, A, C), C.delete(M)), Ou(s, f, $);
|
|
18185
18190
|
}
|
|
@@ -18190,7 +18195,7 @@ Io.exports;
|
|
|
18190
18195
|
}
|
|
18191
18196
|
function Ff(s, o, f) {
|
|
18192
18197
|
o.length ? o = nt(o, function(A) {
|
|
18193
|
-
return
|
|
18198
|
+
return _e(A) ? function(C) {
|
|
18194
18199
|
return En(C, A.length === 1 ? A[0] : A);
|
|
18195
18200
|
} : A;
|
|
18196
18201
|
}) : o = [zt];
|
|
@@ -18351,7 +18356,7 @@ Io.exports;
|
|
|
18351
18356
|
function qt(s) {
|
|
18352
18357
|
if (typeof s == "string")
|
|
18353
18358
|
return s;
|
|
18354
|
-
if (
|
|
18359
|
+
if (_e(s))
|
|
18355
18360
|
return nt(s, qt) + "";
|
|
18356
18361
|
if (Yt(s))
|
|
18357
18362
|
return mf ? mf.call(s) : "";
|
|
@@ -18422,7 +18427,7 @@ Io.exports;
|
|
|
18422
18427
|
return typeof s == "function" ? s : zt;
|
|
18423
18428
|
}
|
|
18424
18429
|
function on(s, o) {
|
|
18425
|
-
return
|
|
18430
|
+
return _e(s) ? s : nl(s, o) ? [s] : md(Ve(s));
|
|
18426
18431
|
}
|
|
18427
18432
|
var hx = Ae;
|
|
18428
18433
|
function un(s, o, f) {
|
|
@@ -18520,7 +18525,7 @@ Io.exports;
|
|
|
18520
18525
|
}
|
|
18521
18526
|
function _a(s, o) {
|
|
18522
18527
|
return function(f, v) {
|
|
18523
|
-
var T =
|
|
18528
|
+
var T = _e(f) ? T_ : Uy, A = o ? o() : {};
|
|
18524
18529
|
return T(f, s, ae(v, 2), A);
|
|
18525
18530
|
};
|
|
18526
18531
|
}
|
|
@@ -18654,7 +18659,7 @@ Io.exports;
|
|
|
18654
18659
|
}
|
|
18655
18660
|
return function() {
|
|
18656
18661
|
var U = arguments, $ = U[0];
|
|
18657
|
-
if (C && U.length == 1 &&
|
|
18662
|
+
if (C && U.length == 1 && _e($))
|
|
18658
18663
|
return C.plant($).value();
|
|
18659
18664
|
for (var z = 0, q = f ? o[z].apply(this, U) : $; ++z < f; )
|
|
18660
18665
|
q = o[z].call(this, q);
|
|
@@ -18766,7 +18771,7 @@ Io.exports;
|
|
|
18766
18771
|
function Zu(s) {
|
|
18767
18772
|
var o = mt[s];
|
|
18768
18773
|
return function(f, v) {
|
|
18769
|
-
if (f = lr(f), v = v == null ? 0 : It(
|
|
18774
|
+
if (f = lr(f), v = v == null ? 0 : It(be(v), 292), v && pf(f)) {
|
|
18770
18775
|
var T = (Ve(f) + "e").split("e"), A = o(T[0] + "e" + (+T[1] + v));
|
|
18771
18776
|
return T = (Ve(A) + "e").split("e"), +(T[0] + "e" + (+T[1] - v));
|
|
18772
18777
|
}
|
|
@@ -18779,7 +18784,7 @@ Io.exports;
|
|
|
18779
18784
|
function rd(s) {
|
|
18780
18785
|
return function(o) {
|
|
18781
18786
|
var f = Rt(o);
|
|
18782
|
-
return f ==
|
|
18787
|
+
return f == Ce ? Cu(o) : f == lt ? B_(o) : P_(o, s(o));
|
|
18783
18788
|
};
|
|
18784
18789
|
}
|
|
18785
18790
|
function Hr(s, o, f, v, T, A, C, R) {
|
|
@@ -18787,7 +18792,7 @@ Io.exports;
|
|
|
18787
18792
|
if (!M && typeof s != "function")
|
|
18788
18793
|
throw new ir(u);
|
|
18789
18794
|
var U = v ? v.length : 0;
|
|
18790
|
-
if (U || (o &= ~(O | F), v = T = r), C = C === r ? C : vt(
|
|
18795
|
+
if (U || (o &= ~(O | F), v = T = r), C = C === r ? C : vt(be(C), 0), R = R === r ? R : be(R), U -= T ? T.length : 0, o & F) {
|
|
18791
18796
|
var $ = v, z = T;
|
|
18792
18797
|
v = T = r;
|
|
18793
18798
|
}
|
|
@@ -18860,16 +18865,16 @@ Io.exports;
|
|
|
18860
18865
|
s = s.buffer, o = o.buffer;
|
|
18861
18866
|
case Jn:
|
|
18862
18867
|
return !(s.byteLength != o.byteLength || !A(new na(s), new na(o)));
|
|
18863
|
-
case
|
|
18864
|
-
case
|
|
18865
|
-
case
|
|
18868
|
+
case Ue:
|
|
18869
|
+
case Ee:
|
|
18870
|
+
case ve:
|
|
18866
18871
|
return gr(+s, +o);
|
|
18867
|
-
case
|
|
18872
|
+
case Te:
|
|
18868
18873
|
return s.name == o.name && s.message == o.message;
|
|
18869
18874
|
case Ut:
|
|
18870
18875
|
case tr:
|
|
18871
18876
|
return s == o + "";
|
|
18872
|
-
case
|
|
18877
|
+
case Ce:
|
|
18873
18878
|
var R = Cu;
|
|
18874
18879
|
case lt:
|
|
18875
18880
|
var M = v & _;
|
|
@@ -18980,14 +18985,14 @@ Io.exports;
|
|
|
18980
18985
|
tn(o, rl(s)), s = ia(s);
|
|
18981
18986
|
return o;
|
|
18982
18987
|
} : xl, Rt = Ft;
|
|
18983
|
-
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ei || Zi && Rt(new Zi()) !=
|
|
18988
|
+
(Pu && Rt(new Pu(new ArrayBuffer(1))) != ei || Zi && Rt(new Zi()) != Ce || Mu && Rt(Mu.resolve()) != Fe || oi && Rt(new oi()) != lt || Qi && Rt(new Qi()) != xn) && (Rt = function(s) {
|
|
18984
18989
|
var o = Ft(s), f = o == ce ? s.constructor : r, v = f ? In(f) : "";
|
|
18985
18990
|
if (v)
|
|
18986
18991
|
switch (v) {
|
|
18987
18992
|
case oy:
|
|
18988
18993
|
return ei;
|
|
18989
18994
|
case uy:
|
|
18990
|
-
return
|
|
18995
|
+
return Ce;
|
|
18991
18996
|
case ly:
|
|
18992
18997
|
return Fe;
|
|
18993
18998
|
case cy:
|
|
@@ -19029,7 +19034,7 @@ Io.exports;
|
|
|
19029
19034
|
break;
|
|
19030
19035
|
s = s[C];
|
|
19031
19036
|
}
|
|
19032
|
-
return A || ++v != T ? A : (T = s == null ? 0 : s.length, !!T && Ma(T) && Vr(C, T) && (
|
|
19037
|
+
return A || ++v != T ? A : (T = s == null ? 0 : s.length, !!T && Ma(T) && Vr(C, T) && (_e(s) || Rn(s)));
|
|
19033
19038
|
}
|
|
19034
19039
|
function Ix(s) {
|
|
19035
19040
|
var o = s.length, f = new s.constructor(o);
|
|
@@ -19043,8 +19048,8 @@ Io.exports;
|
|
|
19043
19048
|
switch (o) {
|
|
19044
19049
|
case Jn:
|
|
19045
19050
|
return Yu(s);
|
|
19046
|
-
case
|
|
19047
|
-
case
|
|
19051
|
+
case Ue:
|
|
19052
|
+
case Ee:
|
|
19048
19053
|
return new v(+s);
|
|
19049
19054
|
case ei:
|
|
19050
19055
|
return fx(s, f);
|
|
@@ -19058,9 +19063,9 @@ Io.exports;
|
|
|
19058
19063
|
case uu:
|
|
19059
19064
|
case lu:
|
|
19060
19065
|
return Vf(s, f);
|
|
19061
|
-
case
|
|
19066
|
+
case Ce:
|
|
19062
19067
|
return new v();
|
|
19063
|
-
case
|
|
19068
|
+
case ve:
|
|
19064
19069
|
case tr:
|
|
19065
19070
|
return new v(s);
|
|
19066
19071
|
case Ut:
|
|
@@ -19081,7 +19086,7 @@ Io.exports;
|
|
|
19081
19086
|
`);
|
|
19082
19087
|
}
|
|
19083
19088
|
function Mx(s) {
|
|
19084
|
-
return
|
|
19089
|
+
return _e(s) || Rn(s) || !!(df && s && s[df]);
|
|
19085
19090
|
}
|
|
19086
19091
|
function Vr(s, o) {
|
|
19087
19092
|
var f = typeof s;
|
|
@@ -19094,7 +19099,7 @@ Io.exports;
|
|
|
19094
19099
|
return (v == "number" ? Gt(f) && Vr(o, f.length) : v == "string" && o in f) ? gr(f[o], s) : !1;
|
|
19095
19100
|
}
|
|
19096
19101
|
function nl(s, o) {
|
|
19097
|
-
if (
|
|
19102
|
+
if (_e(s))
|
|
19098
19103
|
return !1;
|
|
19099
19104
|
var f = typeof s;
|
|
19100
19105
|
return f == "number" || f == "symbol" || f == "boolean" || s == null || Yt(s) ? !0 : Iv.test(s) || !Cv.test(s) || o != null && s in qe(o);
|
|
@@ -19245,7 +19250,7 @@ Io.exports;
|
|
|
19245
19250
|
return o.__actions__ = $t(s.__actions__), o.__index__ = s.__index__, o.__values__ = s.__values__, o;
|
|
19246
19251
|
}
|
|
19247
19252
|
function Gx(s, o, f) {
|
|
19248
|
-
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = vt(
|
|
19253
|
+
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = vt(be(o), 0);
|
|
19249
19254
|
var v = s == null ? 0 : s.length;
|
|
19250
19255
|
if (!v || o < 1)
|
|
19251
19256
|
return [];
|
|
@@ -19266,7 +19271,7 @@ Io.exports;
|
|
|
19266
19271
|
return [];
|
|
19267
19272
|
for (var o = k(s - 1), f = arguments[0], v = s; v--; )
|
|
19268
19273
|
o[v - 1] = arguments[v];
|
|
19269
|
-
return tn(
|
|
19274
|
+
return tn(_e(f) ? $t(f) : [f], At(o, 1));
|
|
19270
19275
|
}
|
|
19271
19276
|
var Vx = Ae(function(s, o) {
|
|
19272
19277
|
return ht(s) ? rs(s, At(o, 1, ht, !0)) : [];
|
|
@@ -19279,11 +19284,11 @@ Io.exports;
|
|
|
19279
19284
|
});
|
|
19280
19285
|
function jx(s, o, f) {
|
|
19281
19286
|
var v = s == null ? 0 : s.length;
|
|
19282
|
-
return v ? (o = f || o === r ? 1 :
|
|
19287
|
+
return v ? (o = f || o === r ? 1 : be(o), or(s, o < 0 ? 0 : o, v)) : [];
|
|
19283
19288
|
}
|
|
19284
19289
|
function qx(s, o, f) {
|
|
19285
19290
|
var v = s == null ? 0 : s.length;
|
|
19286
|
-
return v ? (o = f || o === r ? 1 :
|
|
19291
|
+
return v ? (o = f || o === r ? 1 : be(o), o = v - o, or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19287
19292
|
}
|
|
19288
19293
|
function Yx(s, o) {
|
|
19289
19294
|
return s && s.length ? va(s, ae(o, 3), !0, !0) : [];
|
|
@@ -19299,7 +19304,7 @@ Io.exports;
|
|
|
19299
19304
|
var v = s == null ? 0 : s.length;
|
|
19300
19305
|
if (!v)
|
|
19301
19306
|
return -1;
|
|
19302
|
-
var T = f == null ? 0 :
|
|
19307
|
+
var T = f == null ? 0 : be(f);
|
|
19303
19308
|
return T < 0 && (T = vt(v + T, 0)), Ks(s, ae(o, 3), T);
|
|
19304
19309
|
}
|
|
19305
19310
|
function yd(s, o, f) {
|
|
@@ -19307,7 +19312,7 @@ Io.exports;
|
|
|
19307
19312
|
if (!v)
|
|
19308
19313
|
return -1;
|
|
19309
19314
|
var T = v - 1;
|
|
19310
|
-
return f !== r && (T =
|
|
19315
|
+
return f !== r && (T = be(f), T = f < 0 ? vt(v + T, 0) : It(T, v - 1)), Ks(s, ae(o, 3), T, !0);
|
|
19311
19316
|
}
|
|
19312
19317
|
function xd(s) {
|
|
19313
19318
|
var o = s == null ? 0 : s.length;
|
|
@@ -19319,7 +19324,7 @@ Io.exports;
|
|
|
19319
19324
|
}
|
|
19320
19325
|
function Jx(s, o) {
|
|
19321
19326
|
var f = s == null ? 0 : s.length;
|
|
19322
|
-
return f ? (o = o === r ? 1 :
|
|
19327
|
+
return f ? (o = o === r ? 1 : be(o), At(s, o)) : [];
|
|
19323
19328
|
}
|
|
19324
19329
|
function e1(s) {
|
|
19325
19330
|
for (var o = -1, f = s == null ? 0 : s.length, v = {}; ++o < f; ) {
|
|
@@ -19335,7 +19340,7 @@ Io.exports;
|
|
|
19335
19340
|
var v = s == null ? 0 : s.length;
|
|
19336
19341
|
if (!v)
|
|
19337
19342
|
return -1;
|
|
19338
|
-
var T = f == null ? 0 :
|
|
19343
|
+
var T = f == null ? 0 : be(f);
|
|
19339
19344
|
return T < 0 && (T = vt(v + T, 0)), ri(s, o, T);
|
|
19340
19345
|
}
|
|
19341
19346
|
function r1(s) {
|
|
@@ -19364,10 +19369,10 @@ Io.exports;
|
|
|
19364
19369
|
if (!v)
|
|
19365
19370
|
return -1;
|
|
19366
19371
|
var T = v;
|
|
19367
|
-
return f !== r && (T =
|
|
19372
|
+
return f !== r && (T = be(f), T = T < 0 ? vt(v + T, 0) : It(T, v - 1)), o === o ? $_(s, o, T) : Ks(s, ef, T, !0);
|
|
19368
19373
|
}
|
|
19369
19374
|
function u1(s, o) {
|
|
19370
|
-
return s && s.length ? Of(s,
|
|
19375
|
+
return s && s.length ? Of(s, be(o)) : r;
|
|
19371
19376
|
}
|
|
19372
19377
|
var l1 = Ae(Td);
|
|
19373
19378
|
function Td(s, o) {
|
|
@@ -19401,7 +19406,7 @@ Io.exports;
|
|
|
19401
19406
|
}
|
|
19402
19407
|
function p1(s, o, f) {
|
|
19403
19408
|
var v = s == null ? 0 : s.length;
|
|
19404
|
-
return v ? (f && typeof f != "number" && Nt(s, o, f) ? (o = 0, f = v) : (o = o == null ? 0 :
|
|
19409
|
+
return v ? (f && typeof f != "number" && Nt(s, o, f) ? (o = 0, f = v) : (o = o == null ? 0 : be(o), f = f === r ? v : be(f)), or(s, o, f)) : [];
|
|
19405
19410
|
}
|
|
19406
19411
|
function g1(s, o) {
|
|
19407
19412
|
return ma(s, o);
|
|
@@ -19444,11 +19449,11 @@ Io.exports;
|
|
|
19444
19449
|
return o ? or(s, 1, o) : [];
|
|
19445
19450
|
}
|
|
19446
19451
|
function S1(s, o, f) {
|
|
19447
|
-
return s && s.length ? (o = f || o === r ? 1 :
|
|
19452
|
+
return s && s.length ? (o = f || o === r ? 1 : be(o), or(s, 0, o < 0 ? 0 : o)) : [];
|
|
19448
19453
|
}
|
|
19449
19454
|
function A1(s, o, f) {
|
|
19450
19455
|
var v = s == null ? 0 : s.length;
|
|
19451
|
-
return v ? (o = f || o === r ? 1 :
|
|
19456
|
+
return v ? (o = f || o === r ? 1 : be(o), o = v - o, or(s, o < 0 ? 0 : o, v)) : [];
|
|
19452
19457
|
}
|
|
19453
19458
|
function E1(s, o) {
|
|
19454
19459
|
return s && s.length ? va(s, ae(o, 3), !1, !0) : [];
|
|
@@ -19578,11 +19583,11 @@ Io.exports;
|
|
|
19578
19583
|
We.call(s, f) ? ++s[f] : Gr(s, f, 1);
|
|
19579
19584
|
});
|
|
19580
19585
|
function Q1(s, o, f) {
|
|
19581
|
-
var v =
|
|
19586
|
+
var v = _e(s) ? Qh : Hy;
|
|
19582
19587
|
return f && Nt(s, o, f) && (o = r), v(s, ae(o, 3));
|
|
19583
19588
|
}
|
|
19584
19589
|
function J1(s, o) {
|
|
19585
|
-
var f =
|
|
19590
|
+
var f = _e(s) ? en : wf;
|
|
19586
19591
|
return f(s, ae(o, 3));
|
|
19587
19592
|
}
|
|
19588
19593
|
var eb = Zf(_d), tb = Zf(yd);
|
|
@@ -19593,21 +19598,21 @@ Io.exports;
|
|
|
19593
19598
|
return At(Ca(s, o), H);
|
|
19594
19599
|
}
|
|
19595
19600
|
function ib(s, o, f) {
|
|
19596
|
-
return f = f === r ? 1 :
|
|
19601
|
+
return f = f === r ? 1 : be(f), At(Ca(s, o), f);
|
|
19597
19602
|
}
|
|
19598
19603
|
function Ad(s, o) {
|
|
19599
|
-
var f =
|
|
19604
|
+
var f = _e(s) ? nr : sn;
|
|
19600
19605
|
return f(s, ae(o, 3));
|
|
19601
19606
|
}
|
|
19602
19607
|
function Ed(s, o) {
|
|
19603
|
-
var f =
|
|
19608
|
+
var f = _e(s) ? w_ : Tf;
|
|
19604
19609
|
return f(s, ae(o, 3));
|
|
19605
19610
|
}
|
|
19606
19611
|
var sb = _a(function(s, o, f) {
|
|
19607
19612
|
We.call(s, f) ? s[f].push(o) : Gr(s, f, [o]);
|
|
19608
19613
|
});
|
|
19609
19614
|
function ab(s, o, f, v) {
|
|
19610
|
-
s = Gt(s) ? s : pi(s), f = f && !v ?
|
|
19615
|
+
s = Gt(s) ? s : pi(s), f = f && !v ? be(f) : 0;
|
|
19611
19616
|
var T = s.length;
|
|
19612
19617
|
return f < 0 && (f = vt(T + f, 0)), Oa(s) ? f <= T && s.indexOf(o, f) > -1 : !!T && ri(s, o, f) > -1;
|
|
19613
19618
|
}
|
|
@@ -19620,11 +19625,11 @@ Io.exports;
|
|
|
19620
19625
|
Gr(s, f, o);
|
|
19621
19626
|
});
|
|
19622
19627
|
function Ca(s, o) {
|
|
19623
|
-
var f =
|
|
19628
|
+
var f = _e(s) ? nt : Rf;
|
|
19624
19629
|
return f(s, ae(o, 3));
|
|
19625
19630
|
}
|
|
19626
19631
|
function lb(s, o, f, v) {
|
|
19627
|
-
return s == null ? [] : (
|
|
19632
|
+
return s == null ? [] : (_e(o) || (o = o == null ? [] : [o]), f = v ? r : f, _e(f) || (f = f == null ? [] : [f]), Ff(s, o, f));
|
|
19628
19633
|
}
|
|
19629
19634
|
var cb = _a(function(s, o, f) {
|
|
19630
19635
|
s[f ? 0 : 1].push(o);
|
|
@@ -19632,28 +19637,28 @@ Io.exports;
|
|
|
19632
19637
|
return [[], []];
|
|
19633
19638
|
});
|
|
19634
19639
|
function hb(s, o, f) {
|
|
19635
|
-
var v =
|
|
19640
|
+
var v = _e(s) ? xu : rf, T = arguments.length < 3;
|
|
19636
19641
|
return v(s, ae(o, 4), f, T, sn);
|
|
19637
19642
|
}
|
|
19638
19643
|
function fb(s, o, f) {
|
|
19639
|
-
var v =
|
|
19644
|
+
var v = _e(s) ? S_ : rf, T = arguments.length < 3;
|
|
19640
19645
|
return v(s, ae(o, 4), f, T, Tf);
|
|
19641
19646
|
}
|
|
19642
19647
|
function db(s, o) {
|
|
19643
|
-
var f =
|
|
19648
|
+
var f = _e(s) ? en : wf;
|
|
19644
19649
|
return f(s, Pa(ae(o, 3)));
|
|
19645
19650
|
}
|
|
19646
19651
|
function pb(s) {
|
|
19647
|
-
var o =
|
|
19652
|
+
var o = _e(s) ? _f : ax;
|
|
19648
19653
|
return o(s);
|
|
19649
19654
|
}
|
|
19650
19655
|
function gb(s, o, f) {
|
|
19651
|
-
(f ? Nt(s, o, f) : o === r) ? o = 1 : o =
|
|
19652
|
-
var v =
|
|
19656
|
+
(f ? Nt(s, o, f) : o === r) ? o = 1 : o = be(o);
|
|
19657
|
+
var v = _e(s) ? Dy : ox;
|
|
19653
19658
|
return v(s, o);
|
|
19654
19659
|
}
|
|
19655
19660
|
function mb(s) {
|
|
19656
|
-
var o =
|
|
19661
|
+
var o = _e(s) ? By : lx;
|
|
19657
19662
|
return o(s);
|
|
19658
19663
|
}
|
|
19659
19664
|
function vb(s) {
|
|
@@ -19662,10 +19667,10 @@ Io.exports;
|
|
|
19662
19667
|
if (Gt(s))
|
|
19663
19668
|
return Oa(s) ? ii(s) : s.length;
|
|
19664
19669
|
var o = Rt(s);
|
|
19665
|
-
return o ==
|
|
19670
|
+
return o == Ce || o == lt ? s.size : Uu(s).length;
|
|
19666
19671
|
}
|
|
19667
19672
|
function _b(s, o, f) {
|
|
19668
|
-
var v =
|
|
19673
|
+
var v = _e(s) ? bu : cx;
|
|
19669
19674
|
return f && Nt(s, o, f) && (o = r), v(s, ae(o, 3));
|
|
19670
19675
|
}
|
|
19671
19676
|
var yb = Ae(function(s, o) {
|
|
@@ -19679,7 +19684,7 @@ Io.exports;
|
|
|
19679
19684
|
function xb(s, o) {
|
|
19680
19685
|
if (typeof o != "function")
|
|
19681
19686
|
throw new ir(u);
|
|
19682
|
-
return s =
|
|
19687
|
+
return s = be(s), function() {
|
|
19683
19688
|
if (--s < 1)
|
|
19684
19689
|
return o.apply(this, arguments);
|
|
19685
19690
|
};
|
|
@@ -19691,7 +19696,7 @@ Io.exports;
|
|
|
19691
19696
|
var f;
|
|
19692
19697
|
if (typeof o != "function")
|
|
19693
19698
|
throw new ir(u);
|
|
19694
|
-
return s =
|
|
19699
|
+
return s = be(s), function() {
|
|
19695
19700
|
return --s > 0 && (f = o.apply(this, arguments)), s <= 1 && (o = r), f;
|
|
19696
19701
|
};
|
|
19697
19702
|
}
|
|
@@ -19810,7 +19815,7 @@ Io.exports;
|
|
|
19810
19815
|
return Id(2, s);
|
|
19811
19816
|
}
|
|
19812
19817
|
var Ab = hx(function(s, o) {
|
|
19813
|
-
o = o.length == 1 &&
|
|
19818
|
+
o = o.length == 1 && _e(o[0]) ? nt(o[0], jt(ae())) : nt(At(o, 1), jt(ae()));
|
|
19814
19819
|
var f = o.length;
|
|
19815
19820
|
return Ae(function(v) {
|
|
19816
19821
|
for (var T = -1, A = It(v.length, f); ++T < A; )
|
|
@@ -19829,12 +19834,12 @@ Io.exports;
|
|
|
19829
19834
|
function Cb(s, o) {
|
|
19830
19835
|
if (typeof s != "function")
|
|
19831
19836
|
throw new ir(u);
|
|
19832
|
-
return o = o === r ? o :
|
|
19837
|
+
return o = o === r ? o : be(o), Ae(s, o);
|
|
19833
19838
|
}
|
|
19834
19839
|
function Ib(s, o) {
|
|
19835
19840
|
if (typeof s != "function")
|
|
19836
19841
|
throw new ir(u);
|
|
19837
|
-
return o = o == null ? 0 : vt(
|
|
19842
|
+
return o = o == null ? 0 : vt(be(o), 0), Ae(function(f) {
|
|
19838
19843
|
var v = f[o], T = un(f, 0, o);
|
|
19839
19844
|
return v && tn(T, v), Wt(s, this, T);
|
|
19840
19845
|
});
|
|
@@ -19859,7 +19864,7 @@ Io.exports;
|
|
|
19859
19864
|
if (!arguments.length)
|
|
19860
19865
|
return [];
|
|
19861
19866
|
var s = arguments[0];
|
|
19862
|
-
return
|
|
19867
|
+
return _e(s) ? s : [s];
|
|
19863
19868
|
}
|
|
19864
19869
|
function Fb(s) {
|
|
19865
19870
|
return ar(s, g);
|
|
@@ -19885,7 +19890,7 @@ Io.exports;
|
|
|
19885
19890
|
return arguments;
|
|
19886
19891
|
}()) ? Ef : function(s) {
|
|
19887
19892
|
return ct(s) && We.call(s, "callee") && !ff.call(s, "callee");
|
|
19888
|
-
},
|
|
19893
|
+
}, _e = k.isArray, $b = Wh ? jt(Wh) : qy;
|
|
19889
19894
|
function Gt(s) {
|
|
19890
19895
|
return s != null && Ma(s.length) && !Xr(s);
|
|
19891
19896
|
}
|
|
@@ -19893,7 +19898,7 @@ Io.exports;
|
|
|
19893
19898
|
return ct(s) && Gt(s);
|
|
19894
19899
|
}
|
|
19895
19900
|
function Gb(s) {
|
|
19896
|
-
return s === !0 || s === !1 || ct(s) && Ft(s) ==
|
|
19901
|
+
return s === !0 || s === !1 || ct(s) && Ft(s) == Ue;
|
|
19897
19902
|
}
|
|
19898
19903
|
var ln = ty || bl, Hb = jh ? jt(jh) : Yy;
|
|
19899
19904
|
function zb(s) {
|
|
@@ -19902,10 +19907,10 @@ Io.exports;
|
|
|
19902
19907
|
function Vb(s) {
|
|
19903
19908
|
if (s == null)
|
|
19904
19909
|
return !0;
|
|
19905
|
-
if (Gt(s) && (
|
|
19910
|
+
if (Gt(s) && (_e(s) || typeof s == "string" || typeof s.splice == "function" || ln(s) || di(s) || Rn(s)))
|
|
19906
19911
|
return !s.length;
|
|
19907
19912
|
var o = Rt(s);
|
|
19908
|
-
if (o ==
|
|
19913
|
+
if (o == Ce || o == lt)
|
|
19909
19914
|
return !s.size;
|
|
19910
19915
|
if (os(s))
|
|
19911
19916
|
return !Uu(s).length;
|
|
@@ -19926,7 +19931,7 @@ Io.exports;
|
|
|
19926
19931
|
if (!ct(s))
|
|
19927
19932
|
return !1;
|
|
19928
19933
|
var o = Ft(s);
|
|
19929
|
-
return o ==
|
|
19934
|
+
return o == Te || o == ye || typeof s.message == "string" && typeof s.name == "string" && !ls(s);
|
|
19930
19935
|
}
|
|
19931
19936
|
function jb(s) {
|
|
19932
19937
|
return typeof s == "number" && pf(s);
|
|
@@ -19935,10 +19940,10 @@ Io.exports;
|
|
|
19935
19940
|
if (!st(s))
|
|
19936
19941
|
return !1;
|
|
19937
19942
|
var o = Ft(s);
|
|
19938
|
-
return o ==
|
|
19943
|
+
return o == De || o == Ke || o == ke || o == Xt;
|
|
19939
19944
|
}
|
|
19940
19945
|
function Nd(s) {
|
|
19941
|
-
return typeof s == "number" && s ==
|
|
19946
|
+
return typeof s == "number" && s == be(s);
|
|
19942
19947
|
}
|
|
19943
19948
|
function Ma(s) {
|
|
19944
19949
|
return typeof s == "number" && s > -1 && s % 1 == 0 && s <= Q;
|
|
@@ -19972,7 +19977,7 @@ Io.exports;
|
|
|
19972
19977
|
return s == null;
|
|
19973
19978
|
}
|
|
19974
19979
|
function kd(s) {
|
|
19975
|
-
return typeof s == "number" || ct(s) && Ft(s) ==
|
|
19980
|
+
return typeof s == "number" || ct(s) && Ft(s) == ve;
|
|
19976
19981
|
}
|
|
19977
19982
|
function ls(s) {
|
|
19978
19983
|
if (!ct(s) || Ft(s) != ce)
|
|
@@ -19989,7 +19994,7 @@ Io.exports;
|
|
|
19989
19994
|
}
|
|
19990
19995
|
var Dd = Kh ? jt(Kh) : Jy;
|
|
19991
19996
|
function Oa(s) {
|
|
19992
|
-
return typeof s == "string" || !
|
|
19997
|
+
return typeof s == "string" || !_e(s) && ct(s) && Ft(s) == tr;
|
|
19993
19998
|
}
|
|
19994
19999
|
function Yt(s) {
|
|
19995
20000
|
return typeof s == "symbol" || ct(s) && Ft(s) == Qn;
|
|
@@ -20014,7 +20019,7 @@ Io.exports;
|
|
|
20014
20019
|
return Oa(s) ? dr(s) : $t(s);
|
|
20015
20020
|
if (Ki && s[Ki])
|
|
20016
20021
|
return D_(s[Ki]());
|
|
20017
|
-
var o = Rt(s), f = o ==
|
|
20022
|
+
var o = Rt(s), f = o == Ce ? Cu : o == lt ? Zs : pi;
|
|
20018
20023
|
return f(s);
|
|
20019
20024
|
}
|
|
20020
20025
|
function Wr(s) {
|
|
@@ -20026,12 +20031,12 @@ Io.exports;
|
|
|
20026
20031
|
}
|
|
20027
20032
|
return s === s ? s : 0;
|
|
20028
20033
|
}
|
|
20029
|
-
function
|
|
20034
|
+
function be(s) {
|
|
20030
20035
|
var o = Wr(s), f = o % 1;
|
|
20031
20036
|
return o === o ? f ? o - f : o : 0;
|
|
20032
20037
|
}
|
|
20033
20038
|
function Ud(s) {
|
|
20034
|
-
return s ? An(
|
|
20039
|
+
return s ? An(be(s), 0, j) : 0;
|
|
20035
20040
|
}
|
|
20036
20041
|
function lr(s) {
|
|
20037
20042
|
if (typeof s == "number")
|
|
@@ -20052,7 +20057,7 @@ Io.exports;
|
|
|
20052
20057
|
return Rr(s, Ht(s));
|
|
20053
20058
|
}
|
|
20054
20059
|
function aT(s) {
|
|
20055
|
-
return s ? An(
|
|
20060
|
+
return s ? An(be(s), -Q, Q) : s === 0 ? s : 0;
|
|
20056
20061
|
}
|
|
20057
20062
|
function Ve(s) {
|
|
20058
20063
|
return s == null ? "" : qt(s);
|
|
@@ -20193,7 +20198,7 @@ Io.exports;
|
|
|
20193
20198
|
}
|
|
20194
20199
|
var Vd = rd(yt), Xd = rd(Ht);
|
|
20195
20200
|
function NT(s, o, f) {
|
|
20196
|
-
var v =
|
|
20201
|
+
var v = _e(s), T = v || ln(s) || di(s);
|
|
20197
20202
|
if (o = ae(o, 4), f == null) {
|
|
20198
20203
|
var A = s && s.constructor;
|
|
20199
20204
|
T ? f = v ? new A() : [] : st(s) ? f = Xr(A) ? li(ia(s)) : {} : f = {};
|
|
@@ -20246,7 +20251,7 @@ Io.exports;
|
|
|
20246
20251
|
function zT(s, o, f) {
|
|
20247
20252
|
s = Ve(s), o = qt(o);
|
|
20248
20253
|
var v = s.length;
|
|
20249
|
-
f = f === r ? v : An(
|
|
20254
|
+
f = f === r ? v : An(be(f), 0, v);
|
|
20250
20255
|
var T = f;
|
|
20251
20256
|
return f -= o.length, f >= 0 && s.slice(f, T) == o;
|
|
20252
20257
|
}
|
|
@@ -20262,7 +20267,7 @@ Io.exports;
|
|
|
20262
20267
|
return s + (f ? " " : "") + o.toLowerCase();
|
|
20263
20268
|
}), qT = Kf("toLowerCase");
|
|
20264
20269
|
function YT(s, o, f) {
|
|
20265
|
-
s = Ve(s), o =
|
|
20270
|
+
s = Ve(s), o = be(o);
|
|
20266
20271
|
var v = o ? ii(s) : 0;
|
|
20267
20272
|
if (!o || v >= o)
|
|
20268
20273
|
return s;
|
|
@@ -20270,12 +20275,12 @@ Io.exports;
|
|
|
20270
20275
|
return ba(ua(T), f) + s + ba(oa(T), f);
|
|
20271
20276
|
}
|
|
20272
20277
|
function KT(s, o, f) {
|
|
20273
|
-
s = Ve(s), o =
|
|
20278
|
+
s = Ve(s), o = be(o);
|
|
20274
20279
|
var v = o ? ii(s) : 0;
|
|
20275
20280
|
return o && v < o ? s + ba(o - v, f) : s;
|
|
20276
20281
|
}
|
|
20277
20282
|
function ZT(s, o, f) {
|
|
20278
|
-
s = Ve(s), o =
|
|
20283
|
+
s = Ve(s), o = be(o);
|
|
20279
20284
|
var v = o ? ii(s) : 0;
|
|
20280
20285
|
return o && v < o ? ba(o - v, f) + s : s;
|
|
20281
20286
|
}
|
|
@@ -20283,7 +20288,7 @@ Io.exports;
|
|
|
20283
20288
|
return f || o == null ? o = 0 : o && (o = +o), sy(Ve(s).replace(hu, ""), o || 0);
|
|
20284
20289
|
}
|
|
20285
20290
|
function JT(s, o, f) {
|
|
20286
|
-
return (f ? Nt(s, o, f) : o === r) ? o = 1 : o =
|
|
20291
|
+
return (f ? Nt(s, o, f) : o === r) ? o = 1 : o = be(o), zu(Ve(s), o);
|
|
20287
20292
|
}
|
|
20288
20293
|
function ew() {
|
|
20289
20294
|
var s = arguments, o = Ve(s[0]);
|
|
@@ -20299,7 +20304,7 @@ Io.exports;
|
|
|
20299
20304
|
return s + (f ? " " : "") + gl(o);
|
|
20300
20305
|
});
|
|
20301
20306
|
function iw(s, o, f) {
|
|
20302
|
-
return s = Ve(s), f = f == null ? 0 : An(
|
|
20307
|
+
return s = Ve(s), f = f == null ? 0 : An(be(f), 0, s.length), o = qt(o), s.slice(f, f + o.length) == o;
|
|
20303
20308
|
}
|
|
20304
20309
|
function sw(s, o, f) {
|
|
20305
20310
|
var v = S.templateSettings;
|
|
@@ -20335,7 +20340,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20335
20340
|
`) + z + `return __p
|
|
20336
20341
|
}`;
|
|
20337
20342
|
var we = Yd(function() {
|
|
20338
|
-
return
|
|
20343
|
+
return ze(A, ee + "return " + z).apply(r, C);
|
|
20339
20344
|
});
|
|
20340
20345
|
if (we.source = z, hl(we))
|
|
20341
20346
|
throw we;
|
|
@@ -20375,7 +20380,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20375
20380
|
var f = V, v = Y;
|
|
20376
20381
|
if (st(o)) {
|
|
20377
20382
|
var T = "separator" in o ? o.separator : T;
|
|
20378
|
-
f = "length" in o ?
|
|
20383
|
+
f = "length" in o ? be(o.length) : f, v = "omission" in o ? qt(o.omission) : v;
|
|
20379
20384
|
}
|
|
20380
20385
|
s = Ve(s);
|
|
20381
20386
|
var A = s.length;
|
|
@@ -20493,7 +20498,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20493
20498
|
function yl() {
|
|
20494
20499
|
}
|
|
20495
20500
|
function Aw(s) {
|
|
20496
|
-
return s =
|
|
20501
|
+
return s = be(s), Ae(function(o) {
|
|
20497
20502
|
return Of(o, s);
|
|
20498
20503
|
});
|
|
20499
20504
|
}
|
|
@@ -20523,7 +20528,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20523
20528
|
return !0;
|
|
20524
20529
|
}
|
|
20525
20530
|
function Lw(s, o) {
|
|
20526
|
-
if (s =
|
|
20531
|
+
if (s = be(s), s < 1 || s > Q)
|
|
20527
20532
|
return [];
|
|
20528
20533
|
var f = j, v = It(s, j);
|
|
20529
20534
|
o = ae(o), s -= j;
|
|
@@ -20532,7 +20537,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20532
20537
|
return T;
|
|
20533
20538
|
}
|
|
20534
20539
|
function kw(s) {
|
|
20535
|
-
return
|
|
20540
|
+
return _e(s) ? nt(s, Pr) : Yt(s) ? [s] : $t(md(Ve(s)));
|
|
20536
20541
|
}
|
|
20537
20542
|
function Dw(s) {
|
|
20538
20543
|
var o = ++q_;
|
|
@@ -20572,7 +20577,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20572
20577
|
function Qw(s, o) {
|
|
20573
20578
|
return s && s.length ? Su(s, ae(o, 2)) : 0;
|
|
20574
20579
|
}
|
|
20575
|
-
return S.after = xb, S.ary = Cd, S.assign = oT, S.assignIn = Gd, S.assignInWith = Fa, S.assignWith = uT, S.at = lT, S.before = Id, S.bind = ll, S.bindAll = pw, S.bindKey = Rd, S.castArray = Ob, S.chain = Sd, S.chunk = Gx, S.compact = Hx, S.concat = zx, S.cond = gw, S.conforms = mw, S.constant = ml, S.countBy = Z1, S.create = cT, S.curry = Pd, S.curryRight = Md, S.debounce = Od, S.defaults = hT, S.defaultsDeep = fT, S.defer = bb, S.delay = Tb, S.difference = Vx, S.differenceBy = Xx, S.differenceWith = Wx, S.drop = jx, S.dropRight = qx, S.dropRightWhile = Yx, S.dropWhile = Kx, S.fill = Zx, S.filter = J1, S.flatMap = rb, S.flatMapDeep = nb, S.flatMapDepth = ib, S.flatten = xd, S.flattenDeep = Qx, S.flattenDepth = Jx, S.flip = wb, S.flow = _w, S.flowRight = yw, S.fromPairs = e1, S.functions = yT, S.functionsIn = xT, S.groupBy = sb, S.initial = r1, S.intersection = n1, S.intersectionBy = i1, S.intersectionWith = s1, S.invert = TT, S.invertBy = wT, S.invokeMap = ob, S.iteratee = vl, S.keyBy = ub, S.keys = yt, S.keysIn = Ht, S.map = Ca, S.mapKeys = AT, S.mapValues = ET, S.matches = xw, S.matchesProperty = bw, S.memoize = Ra, S.merge = CT, S.mergeWith = Hd, S.method = Tw, S.methodOf = ww, S.mixin = _l, S.negate = Pa, S.nthArg = Aw, S.omit = IT, S.omitBy = RT, S.once = Sb, S.orderBy = lb, S.over = Ew, S.overArgs = Ab, S.overEvery = Cw, S.overSome = Iw, S.partial = cl, S.partialRight = Fd, S.partition = cb, S.pick = PT, S.pickBy = zd, S.property = Kd, S.propertyOf = Rw, S.pull = l1, S.pullAll = Td, S.pullAllBy = c1, S.pullAllWith = h1, S.pullAt = f1, S.range = Pw, S.rangeRight = Mw, S.rearg = Eb, S.reject = db, S.remove = d1, S.rest = Cb, S.reverse = ol, S.sampleSize = gb, S.set = OT, S.setWith = FT, S.shuffle = mb, S.slice = p1, S.sortBy = yb, S.sortedUniq = b1, S.sortedUniqBy = T1, S.split = rw, S.spread = Ib, S.tail = w1, S.take = S1, S.takeRight = A1, S.takeRightWhile = E1, S.takeWhile = C1, S.tap = H1, S.throttle = Rb, S.thru = Ea, S.toArray = Bd, S.toPairs = Vd, S.toPairsIn = Xd, S.toPath = kw, S.toPlainObject = $d, S.transform = NT, S.unary = Pb, S.union = I1, S.unionBy = R1, S.unionWith = P1, S.uniq = M1, S.uniqBy = O1, S.uniqWith = F1, S.unset = LT, S.unzip = ul, S.unzipWith = wd, S.update = kT, S.updateWith = DT, S.values = pi, S.valuesIn = BT, S.without = N1, S.words = qd, S.wrap = Mb, S.xor = L1, S.xorBy = k1, S.xorWith = D1, S.zip = B1, S.zipObject = U1, S.zipObjectDeep = $1, S.zipWith = G1, S.entries = Vd, S.entriesIn = Xd, S.extend = Gd, S.extendWith = Fa, _l(S, S), S.add = Bw, S.attempt = Yd, S.camelCase = HT, S.capitalize = Wd, S.ceil = Uw, S.clamp = UT, S.clone = Fb, S.cloneDeep = Lb, S.cloneDeepWith = kb, S.cloneWith = Nb, S.conformsTo = Db, S.deburr = jd, S.defaultTo = vw, S.divide = $w, S.endsWith = zT, S.eq = gr, S.escape = VT, S.escapeRegExp = XT, S.every = Q1, S.find = eb, S.findIndex = _d, S.findKey = dT, S.findLast = tb, S.findLastIndex = yd, S.findLastKey = pT, S.floor = Gw, S.forEach = Ad, S.forEachRight = Ed, S.forIn = gT, S.forInRight = mT, S.forOwn = vT, S.forOwnRight = _T, S.get = dl, S.gt = Bb, S.gte = Ub, S.has = bT, S.hasIn = pl, S.head = bd, S.identity = zt, S.includes = ab, S.indexOf = t1, S.inRange = $T, S.invoke = ST, S.isArguments = Rn, S.isArray =
|
|
20580
|
+
return S.after = xb, S.ary = Cd, S.assign = oT, S.assignIn = Gd, S.assignInWith = Fa, S.assignWith = uT, S.at = lT, S.before = Id, S.bind = ll, S.bindAll = pw, S.bindKey = Rd, S.castArray = Ob, S.chain = Sd, S.chunk = Gx, S.compact = Hx, S.concat = zx, S.cond = gw, S.conforms = mw, S.constant = ml, S.countBy = Z1, S.create = cT, S.curry = Pd, S.curryRight = Md, S.debounce = Od, S.defaults = hT, S.defaultsDeep = fT, S.defer = bb, S.delay = Tb, S.difference = Vx, S.differenceBy = Xx, S.differenceWith = Wx, S.drop = jx, S.dropRight = qx, S.dropRightWhile = Yx, S.dropWhile = Kx, S.fill = Zx, S.filter = J1, S.flatMap = rb, S.flatMapDeep = nb, S.flatMapDepth = ib, S.flatten = xd, S.flattenDeep = Qx, S.flattenDepth = Jx, S.flip = wb, S.flow = _w, S.flowRight = yw, S.fromPairs = e1, S.functions = yT, S.functionsIn = xT, S.groupBy = sb, S.initial = r1, S.intersection = n1, S.intersectionBy = i1, S.intersectionWith = s1, S.invert = TT, S.invertBy = wT, S.invokeMap = ob, S.iteratee = vl, S.keyBy = ub, S.keys = yt, S.keysIn = Ht, S.map = Ca, S.mapKeys = AT, S.mapValues = ET, S.matches = xw, S.matchesProperty = bw, S.memoize = Ra, S.merge = CT, S.mergeWith = Hd, S.method = Tw, S.methodOf = ww, S.mixin = _l, S.negate = Pa, S.nthArg = Aw, S.omit = IT, S.omitBy = RT, S.once = Sb, S.orderBy = lb, S.over = Ew, S.overArgs = Ab, S.overEvery = Cw, S.overSome = Iw, S.partial = cl, S.partialRight = Fd, S.partition = cb, S.pick = PT, S.pickBy = zd, S.property = Kd, S.propertyOf = Rw, S.pull = l1, S.pullAll = Td, S.pullAllBy = c1, S.pullAllWith = h1, S.pullAt = f1, S.range = Pw, S.rangeRight = Mw, S.rearg = Eb, S.reject = db, S.remove = d1, S.rest = Cb, S.reverse = ol, S.sampleSize = gb, S.set = OT, S.setWith = FT, S.shuffle = mb, S.slice = p1, S.sortBy = yb, S.sortedUniq = b1, S.sortedUniqBy = T1, S.split = rw, S.spread = Ib, S.tail = w1, S.take = S1, S.takeRight = A1, S.takeRightWhile = E1, S.takeWhile = C1, S.tap = H1, S.throttle = Rb, S.thru = Ea, S.toArray = Bd, S.toPairs = Vd, S.toPairsIn = Xd, S.toPath = kw, S.toPlainObject = $d, S.transform = NT, S.unary = Pb, S.union = I1, S.unionBy = R1, S.unionWith = P1, S.uniq = M1, S.uniqBy = O1, S.uniqWith = F1, S.unset = LT, S.unzip = ul, S.unzipWith = wd, S.update = kT, S.updateWith = DT, S.values = pi, S.valuesIn = BT, S.without = N1, S.words = qd, S.wrap = Mb, S.xor = L1, S.xorBy = k1, S.xorWith = D1, S.zip = B1, S.zipObject = U1, S.zipObjectDeep = $1, S.zipWith = G1, S.entries = Vd, S.entriesIn = Xd, S.extend = Gd, S.extendWith = Fa, _l(S, S), S.add = Bw, S.attempt = Yd, S.camelCase = HT, S.capitalize = Wd, S.ceil = Uw, S.clamp = UT, S.clone = Fb, S.cloneDeep = Lb, S.cloneDeepWith = kb, S.cloneWith = Nb, S.conformsTo = Db, S.deburr = jd, S.defaultTo = vw, S.divide = $w, S.endsWith = zT, S.eq = gr, S.escape = VT, S.escapeRegExp = XT, S.every = Q1, S.find = eb, S.findIndex = _d, S.findKey = dT, S.findLast = tb, S.findLastIndex = yd, S.findLastKey = pT, S.floor = Gw, S.forEach = Ad, S.forEachRight = Ed, S.forIn = gT, S.forInRight = mT, S.forOwn = vT, S.forOwnRight = _T, S.get = dl, S.gt = Bb, S.gte = Ub, S.has = bT, S.hasIn = pl, S.head = bd, S.identity = zt, S.includes = ab, S.indexOf = t1, S.inRange = $T, S.invoke = ST, S.isArguments = Rn, S.isArray = _e, S.isArrayBuffer = $b, S.isArrayLike = Gt, S.isArrayLikeObject = ht, S.isBoolean = Gb, S.isBuffer = ln, S.isDate = Hb, S.isElement = zb, S.isEmpty = Vb, S.isEqual = Xb, S.isEqualWith = Wb, S.isError = hl, S.isFinite = jb, S.isFunction = Xr, S.isInteger = Nd, S.isLength = Ma, S.isMap = Ld, S.isMatch = qb, S.isMatchWith = Yb, S.isNaN = Kb, S.isNative = Zb, S.isNil = Jb, S.isNull = Qb, S.isNumber = kd, S.isObject = st, S.isObjectLike = ct, S.isPlainObject = ls, S.isRegExp = fl, S.isSafeInteger = eT, S.isSet = Dd, S.isString = Oa, S.isSymbol = Yt, S.isTypedArray = di, S.isUndefined = tT, S.isWeakMap = rT, S.isWeakSet = nT, S.join = a1, S.kebabCase = WT, S.last = ur, S.lastIndexOf = o1, S.lowerCase = jT, S.lowerFirst = qT, S.lt = iT, S.lte = sT, S.max = Hw, S.maxBy = zw, S.mean = Vw, S.meanBy = Xw, S.min = Ww, S.minBy = jw, S.stubArray = xl, S.stubFalse = bl, S.stubObject = Ow, S.stubString = Fw, S.stubTrue = Nw, S.multiply = qw, S.nth = u1, S.noConflict = Sw, S.noop = yl, S.now = Ia, S.pad = YT, S.padEnd = KT, S.padStart = ZT, S.parseInt = QT, S.random = GT, S.reduce = hb, S.reduceRight = fb, S.repeat = JT, S.replace = ew, S.result = MT, S.round = Yw, S.runInContext = P, S.sample = pb, S.size = vb, S.snakeCase = tw, S.some = _b, S.sortedIndex = g1, S.sortedIndexBy = m1, S.sortedIndexOf = v1, S.sortedLastIndex = _1, S.sortedLastIndexBy = y1, S.sortedLastIndexOf = x1, S.startCase = nw, S.startsWith = iw, S.subtract = Kw, S.sum = Zw, S.sumBy = Qw, S.template = sw, S.times = Lw, S.toFinite = Wr, S.toInteger = be, S.toLength = Ud, S.toLower = aw, S.toNumber = lr, S.toSafeInteger = aT, S.toString = Ve, S.toUpper = ow, S.trim = uw, S.trimEnd = lw, S.trimStart = cw, S.truncate = hw, S.unescape = fw, S.uniqueId = Dw, S.upperCase = dw, S.upperFirst = gl, S.each = Ad, S.eachRight = Ed, S.first = bd, _l(S, function() {
|
|
20576
20581
|
var s = {};
|
|
20577
20582
|
return Ir(S, function(o, f) {
|
|
20578
20583
|
We.call(S.prototype, f) || (s[f] = o);
|
|
@@ -20581,7 +20586,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20581
20586
|
S[s].placeholder = S;
|
|
20582
20587
|
}), nr(["drop", "take"], function(s, o) {
|
|
20583
20588
|
Me.prototype[s] = function(f) {
|
|
20584
|
-
f = f === r ? 1 : vt(
|
|
20589
|
+
f = f === r ? 1 : vt(be(f), 0);
|
|
20585
20590
|
var v = this.__filtered__ && !o ? new Me(this) : this.clone();
|
|
20586
20591
|
return v.__filtered__ ? v.__takeCount__ = It(f, v.__takeCount__) : v.__views__.push({
|
|
20587
20592
|
size: It(f, j),
|
|
@@ -20622,9 +20627,9 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20622
20627
|
}), Me.prototype.reject = function(s) {
|
|
20623
20628
|
return this.filter(Pa(ae(s)));
|
|
20624
20629
|
}, Me.prototype.slice = function(s, o) {
|
|
20625
|
-
s =
|
|
20630
|
+
s = be(s);
|
|
20626
20631
|
var f = this;
|
|
20627
|
-
return f.__filtered__ && (s > 0 || o < 0) ? new Me(f) : (s < 0 ? f = f.takeRight(-s) : s && (f = f.drop(s)), o !== r && (o =
|
|
20632
|
+
return f.__filtered__ && (s > 0 || o < 0) ? new Me(f) : (s < 0 ? f = f.takeRight(-s) : s && (f = f.drop(s)), o !== r && (o = be(o), f = o < 0 ? f.dropRight(-o) : f.take(o - s)), f);
|
|
20628
20633
|
}, Me.prototype.takeRightWhile = function(s) {
|
|
20629
20634
|
return this.reverse().takeWhile(s).reverse();
|
|
20630
20635
|
}, Me.prototype.toArray = function() {
|
|
@@ -20632,7 +20637,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20632
20637
|
}, Ir(Me.prototype, function(s, o) {
|
|
20633
20638
|
var f = /^(?:filter|find|map|reject)|While$/.test(o), v = /^(?:head|last)$/.test(o), T = S[v ? "take" + (o == "last" ? "Right" : "") : o], A = v || /^find/.test(o);
|
|
20634
20639
|
T && (S.prototype[o] = function() {
|
|
20635
|
-
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof Me, U = R[0], $ = M ||
|
|
20640
|
+
var C = this.__wrapped__, R = v ? [1] : arguments, M = C instanceof Me, U = R[0], $ = M || _e(C), z = function(Re) {
|
|
20636
20641
|
var Ne = T.apply(S, tn([Re], R));
|
|
20637
20642
|
return v && q ? Ne[0] : Ne;
|
|
20638
20643
|
};
|
|
@@ -20651,10 +20656,10 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
20651
20656
|
var T = arguments;
|
|
20652
20657
|
if (v && !this.__chain__) {
|
|
20653
20658
|
var A = this.value();
|
|
20654
|
-
return o.apply(
|
|
20659
|
+
return o.apply(_e(A) ? A : [], T);
|
|
20655
20660
|
}
|
|
20656
20661
|
return this[f](function(C) {
|
|
20657
|
-
return o.apply(
|
|
20662
|
+
return o.apply(_e(C) ? C : [], T);
|
|
20658
20663
|
});
|
|
20659
20664
|
};
|
|
20660
20665
|
}), Ir(Me.prototype, function(s, o) {
|
|
@@ -20703,7 +20708,7 @@ const s5 = {
|
|
|
20703
20708
|
adjustmentFilter: W,
|
|
20704
20709
|
vignetteFilter: j,
|
|
20705
20710
|
noiseFilter: le
|
|
20706
|
-
} = Zn(G), { blurRadius: he = 0, vignette: pe = 0, noise:
|
|
20711
|
+
} = Zn(G), { blurRadius: he = 0, vignette: pe = 0, noise: xe = 0 } = G, Se = 0.1;
|
|
20707
20712
|
r5(E, p), pt(Qe.PAUSE, () => {
|
|
20708
20713
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20709
20714
|
}), pt(Qe.SEEK_END, () => {
|
|
@@ -20714,83 +20719,83 @@ const s5 = {
|
|
|
20714
20719
|
d.current && m.current && (y.current ? (m.current.stop(), d.current.isPlaying = !1, d.current.isDragging = !0) : d.current.isDragging = !1);
|
|
20715
20720
|
}, [y]), te.useEffect(() => {
|
|
20716
20721
|
if (!Hs(b)) {
|
|
20717
|
-
const
|
|
20722
|
+
const Ce = SB(b, (ce) => {
|
|
20718
20723
|
const { data: Fe, width: Xt, height: Ut } = ce, lt = new Uint8Array(Fe);
|
|
20719
20724
|
return er.Texture.fromBuffer(lt, Xt, Ut);
|
|
20720
|
-
}),
|
|
20725
|
+
}), ve = Ce.map(
|
|
20721
20726
|
(ce, Fe) => ({
|
|
20722
20727
|
texture: ce,
|
|
20723
20728
|
time: x[Fe]
|
|
20724
20729
|
})
|
|
20725
20730
|
);
|
|
20726
|
-
n(
|
|
20731
|
+
n(Ce), u(ve);
|
|
20727
20732
|
let rt = 0;
|
|
20728
20733
|
x.forEach((ce) => {
|
|
20729
20734
|
rt += ce * 10;
|
|
20730
20735
|
}), i(rt), d.current.totalDuration = rt, d.current.totalFrames = b.length;
|
|
20731
20736
|
}
|
|
20732
20737
|
}, [b, x]);
|
|
20733
|
-
const
|
|
20738
|
+
const ke = sm.debounce((Ce) => {
|
|
20734
20739
|
if (m.current) {
|
|
20735
|
-
let
|
|
20736
|
-
|
|
20740
|
+
let ve = Ce === 0 ? 0 : Ce / Se;
|
|
20741
|
+
ve = isNaN(ve) ? 0 : ve;
|
|
20737
20742
|
const rt = d.current.totalFrames;
|
|
20738
|
-
|
|
20743
|
+
ve = ve > rt ? rt : ve, ve >= rt ? (m.current.gotoAndStop(0), d.current.isPlaying = !1) : (m.current.gotoAndPlay(ve || 0), d.current.isPlaying = !0);
|
|
20739
20744
|
}
|
|
20740
|
-
}, 20),
|
|
20745
|
+
}, 20), Ue = sm.debounce(() => {
|
|
20741
20746
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20742
|
-
}, 50),
|
|
20747
|
+
}, 50), Ee = (Ce) => {
|
|
20743
20748
|
if (m.current) {
|
|
20744
|
-
let
|
|
20745
|
-
|
|
20749
|
+
let ve = Ce === 0 ? 0 : Ce / Se;
|
|
20750
|
+
ve = isNaN(ve) ? 0 : ve;
|
|
20746
20751
|
const rt = d.current.totalFrames;
|
|
20747
|
-
|
|
20752
|
+
ve = ve > rt ? rt : ve, ve >= rt ? (m.current.gotoAndStop(0), d.current.isPlaying = !1) : (m.current.gotoAndPlay(ve || 0), d.current.isPlaying = !0);
|
|
20748
20753
|
}
|
|
20749
|
-
},
|
|
20754
|
+
}, ye = () => {
|
|
20750
20755
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20751
|
-
},
|
|
20756
|
+
}, Te = () => {
|
|
20752
20757
|
m.current && (m.current.stop(), d.current.isPlaying = !1);
|
|
20753
|
-
},
|
|
20758
|
+
}, De = (Ce) => {
|
|
20754
20759
|
var rt;
|
|
20755
|
-
const
|
|
20756
|
-
m.current && y.current ? (
|
|
20760
|
+
const ve = Ce + ((rt = g.current) == null ? void 0 : rt.time());
|
|
20761
|
+
m.current && y.current ? (ke(ve), Ue(), d.current.isPlaying = !1) : g.current && m.current && !d.current.isPlaying && g.current.isActive() && _.current.isActive() && (ke(ve), d.current.isPlaying = !0);
|
|
20757
20762
|
}, Ke = () => {
|
|
20758
20763
|
l(!0);
|
|
20759
20764
|
};
|
|
20760
20765
|
return jn(() => {
|
|
20761
|
-
let
|
|
20766
|
+
let Ce = J.context(() => {
|
|
20762
20767
|
});
|
|
20763
20768
|
if (c.current && _.current) {
|
|
20764
|
-
const
|
|
20769
|
+
const ve = {
|
|
20765
20770
|
duration: Number(F) - Number(O),
|
|
20766
|
-
onStart:
|
|
20767
|
-
onComplete:
|
|
20771
|
+
onStart: Ee,
|
|
20772
|
+
onComplete: ye,
|
|
20768
20773
|
onStartParams: [O, F],
|
|
20769
20774
|
onCompleteParams: [],
|
|
20770
|
-
onInterrupt:
|
|
20771
|
-
onUpdate:
|
|
20775
|
+
onInterrupt: Te,
|
|
20776
|
+
onUpdate: De,
|
|
20772
20777
|
onUpdateParams: [O, F]
|
|
20773
20778
|
};
|
|
20774
|
-
g.current && g.current.kill(),
|
|
20779
|
+
g.current && g.current.kill(), Ce = J.context(() => {
|
|
20775
20780
|
g.current = J.from(
|
|
20776
20781
|
c.current,
|
|
20777
20782
|
// @ts-ignore
|
|
20778
|
-
|
|
20783
|
+
ve,
|
|
20779
20784
|
O
|
|
20780
20785
|
), _.current.add(g.current, w);
|
|
20781
20786
|
});
|
|
20782
20787
|
}
|
|
20783
20788
|
return () => {
|
|
20784
|
-
g.current && (g.current.kill(), J.killTweensOf(g.current)),
|
|
20789
|
+
g.current && (g.current.kill(), J.killTweensOf(g.current)), Ce.revert();
|
|
20785
20790
|
};
|
|
20786
|
-
}, [w, I, O, F]), /* @__PURE__ */
|
|
20791
|
+
}, [w, I, O, F]), /* @__PURE__ */ Ie.jsx(
|
|
20787
20792
|
mn,
|
|
20788
20793
|
{
|
|
20789
20794
|
...t,
|
|
20790
20795
|
ref: e,
|
|
20791
20796
|
ignoreTlForVideo: !0,
|
|
20792
20797
|
isGif: !0,
|
|
20793
|
-
children: /* @__PURE__ */
|
|
20798
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: c, children: r && r.length > 0 && /* @__PURE__ */ Ie.jsx(
|
|
20794
20799
|
i5,
|
|
20795
20800
|
{
|
|
20796
20801
|
x: se,
|
|
@@ -20815,7 +20820,7 @@ const s5 = {
|
|
|
20815
20820
|
// conditionally add vignette filter
|
|
20816
20821
|
...pe > 0 ? [j] : [],
|
|
20817
20822
|
// conditionally add noise filter
|
|
20818
|
-
...
|
|
20823
|
+
...xe > 0 ? [le] : []
|
|
20819
20824
|
]
|
|
20820
20825
|
}
|
|
20821
20826
|
) })
|
|
@@ -20869,14 +20874,14 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20869
20874
|
te.useEffect(() => {
|
|
20870
20875
|
l.current = Number(I);
|
|
20871
20876
|
}, [I]);
|
|
20872
|
-
const pe = ["italic", "oblique"].includes(w) ? w : void 0,
|
|
20877
|
+
const pe = ["italic", "oblique"].includes(w) ? w : void 0, xe = ["small-caps"].includes(O), Se = [
|
|
20873
20878
|
"bold",
|
|
20874
20879
|
"bolder",
|
|
20875
20880
|
"lighter",
|
|
20876
20881
|
"100",
|
|
20877
20882
|
"200",
|
|
20878
20883
|
"300"
|
|
20879
|
-
].includes(E) ? E : void 0,
|
|
20884
|
+
].includes(E) ? E : void 0, ke = Number(re) > 0 ? re : void 0, Ue = te.useMemo(() => new er.TextStyle({
|
|
20880
20885
|
fontFamily: x,
|
|
20881
20886
|
fontSize: I,
|
|
20882
20887
|
fill: F || "white",
|
|
@@ -20888,13 +20893,13 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20888
20893
|
...pe && {
|
|
20889
20894
|
fontStyle: pe
|
|
20890
20895
|
},
|
|
20891
|
-
...
|
|
20892
|
-
fontVariant:
|
|
20896
|
+
...xe && {
|
|
20897
|
+
fontVariant: xe
|
|
20893
20898
|
},
|
|
20894
20899
|
...Se && {
|
|
20895
20900
|
fontWeight: Se
|
|
20896
20901
|
},
|
|
20897
|
-
...
|
|
20902
|
+
...ke && { letterSpacing: ke },
|
|
20898
20903
|
...V && {
|
|
20899
20904
|
dropShadow: !0,
|
|
20900
20905
|
dropShadowBlur: Number(D),
|
|
@@ -20924,8 +20929,8 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20924
20929
|
ie,
|
|
20925
20930
|
pe,
|
|
20926
20931
|
Se,
|
|
20927
|
-
be,
|
|
20928
20932
|
xe,
|
|
20933
|
+
ke,
|
|
20929
20934
|
Y,
|
|
20930
20935
|
N,
|
|
20931
20936
|
L,
|
|
@@ -20938,23 +20943,23 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20938
20943
|
...d
|
|
20939
20944
|
};
|
|
20940
20945
|
}, [d]);
|
|
20941
|
-
const
|
|
20942
|
-
const
|
|
20943
|
-
|
|
20944
|
-
},
|
|
20946
|
+
const Ee = () => {
|
|
20947
|
+
const Te = (/* @__PURE__ */ new Date()).getTime();
|
|
20948
|
+
Te - i.current < 300 && _ ? _() : g && g(), i.current = Te;
|
|
20949
|
+
}, ye = () => {
|
|
20945
20950
|
!c && _ && _();
|
|
20946
20951
|
};
|
|
20947
|
-
return /* @__PURE__ */
|
|
20952
|
+
return /* @__PURE__ */ Ie.jsx(
|
|
20948
20953
|
mn,
|
|
20949
20954
|
{
|
|
20950
20955
|
...t,
|
|
20951
20956
|
ref: e,
|
|
20952
20957
|
isText: !0,
|
|
20953
|
-
onDoubleClick:
|
|
20954
|
-
children: /* @__PURE__ */
|
|
20958
|
+
onDoubleClick: ye,
|
|
20959
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: n, children: /* @__PURE__ */ Ie.jsx(wt, { alpha: 1, ref: u, children: /* @__PURE__ */ Ie.jsx(
|
|
20955
20960
|
iS,
|
|
20956
20961
|
{
|
|
20957
|
-
style:
|
|
20962
|
+
style: Ue,
|
|
20958
20963
|
x: y,
|
|
20959
20964
|
y: b,
|
|
20960
20965
|
anchor: 0.5,
|
|
@@ -20963,7 +20968,7 @@ const oU = te.forwardRef((t, e) => {
|
|
|
20963
20968
|
...p && !c && {
|
|
20964
20969
|
interactive: !0,
|
|
20965
20970
|
buttonMode: !0,
|
|
20966
|
-
pointerdown:
|
|
20971
|
+
pointerdown: Ee
|
|
20967
20972
|
},
|
|
20968
20973
|
ref: a,
|
|
20969
20974
|
filters: [
|
|
@@ -21111,12 +21116,12 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21111
21116
|
} = t, { tl: G, dragModeRef: ie, isRemotion: re } = Ui(qn), { onPointerDown: H, onPointerOut: Q, onPointerOver: de } = bh(se, V, Y, 1), { blurRadius: W = 0, vignette: j = 0, noise: le = 0 } = D, {
|
|
21112
21117
|
temperatureFilter: he,
|
|
21113
21118
|
sharpnessFilter: pe,
|
|
21114
|
-
hueFilter:
|
|
21119
|
+
hueFilter: xe,
|
|
21115
21120
|
blurFilter: Se,
|
|
21116
|
-
adjustmentFilter:
|
|
21117
|
-
vignetteFilter:
|
|
21118
|
-
noiseFilter:
|
|
21119
|
-
} = Zn(D),
|
|
21121
|
+
adjustmentFilter: ke,
|
|
21122
|
+
vignetteFilter: Ue,
|
|
21123
|
+
noiseFilter: Ee
|
|
21124
|
+
} = Zn(D), ye = g || "", Te = te.useMemo(() => {
|
|
21120
21125
|
const ce = document.createElement("video");
|
|
21121
21126
|
return ce.src = g, ce.crossOrigin = "Anonymus", ce.autoplay = !1, ce.currentTime = b === 0 ? 1e-3 : b, ce;
|
|
21122
21127
|
}, [g, b]);
|
|
@@ -21127,7 +21132,7 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21127
21132
|
}), pt(Qe.REVERSE_MODE_END, () => {
|
|
21128
21133
|
h.current && (h.current.pause(), p.current.isPlaying = !1);
|
|
21129
21134
|
});
|
|
21130
|
-
const
|
|
21135
|
+
const De = te.useCallback(
|
|
21131
21136
|
fo(() => {
|
|
21132
21137
|
if (h.current) {
|
|
21133
21138
|
const ce = h.current;
|
|
@@ -21137,8 +21142,8 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21137
21142
|
[h]
|
|
21138
21143
|
);
|
|
21139
21144
|
te.useEffect(() => {
|
|
21140
|
-
h.current && !re ? (ie.current ? (
|
|
21141
|
-
}, [d, ie,
|
|
21145
|
+
h.current && !re ? (ie.current ? (De(), p.current.isPlaying = !1, p.current.isDragging = !0) : p.current.isDragging = !1, h.current.muted = d) : p.current.isDragging = !1;
|
|
21146
|
+
}, [d, ie, De, h]);
|
|
21142
21147
|
const Ke = (ce) => {
|
|
21143
21148
|
if (h.current) {
|
|
21144
21149
|
if (h.current.currentTime = Number(ce), !ie.current) {
|
|
@@ -21147,12 +21152,12 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21147
21152
|
}
|
|
21148
21153
|
p.current.progress = 0;
|
|
21149
21154
|
}
|
|
21150
|
-
},
|
|
21155
|
+
}, Ce = () => {
|
|
21151
21156
|
if (h.current) {
|
|
21152
21157
|
const ce = h.current;
|
|
21153
21158
|
ce.currentTime > 0 && !ce.paused && !ce.ended && ce.readyState > ce.HAVE_CURRENT_DATA && h.current.pause(), p.current.isPlaying = !1, m.current && (p.current.progress = m.current.progress());
|
|
21154
21159
|
}
|
|
21155
|
-
},
|
|
21160
|
+
}, ve = () => {
|
|
21156
21161
|
}, rt = () => {
|
|
21157
21162
|
var ce, Fe;
|
|
21158
21163
|
if (m.current && (p.current.progress = m.current.progress()), h.current && m.current) {
|
|
@@ -21173,10 +21178,10 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21173
21178
|
const Fe = {
|
|
21174
21179
|
duration: Number(x) - Number(b),
|
|
21175
21180
|
onStart: Ke,
|
|
21176
|
-
onComplete:
|
|
21181
|
+
onComplete: Ce,
|
|
21177
21182
|
onStartParams: [b, x],
|
|
21178
21183
|
onCompleteParams: [],
|
|
21179
|
-
onInterrupt:
|
|
21184
|
+
onInterrupt: ve,
|
|
21180
21185
|
onUpdate: rt,
|
|
21181
21186
|
onUpdateParams: [b, x],
|
|
21182
21187
|
onPause: () => {
|
|
@@ -21224,8 +21229,8 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21224
21229
|
p.current.isWaiting = !1, p.current.isStalled = !1;
|
|
21225
21230
|
}, tr = function() {
|
|
21226
21231
|
p.current.isWaiting = !1, p.current.isStalled = !0;
|
|
21227
|
-
}, Qn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, xn = `${
|
|
21228
|
-
return er.Texture.fromLoader(
|
|
21232
|
+
}, Qn = Math.round((Number(b) + Number.EPSILON) * 100) / 100, eu = Math.round((Number(x) + Number.EPSILON) * 100) / 100, xn = `${ye}#t=${Qn},${eu}`;
|
|
21233
|
+
return er.Texture.fromLoader(Te, xn, c, {
|
|
21229
21234
|
pixiIdPrefix: c,
|
|
21230
21235
|
resourceOptions: {
|
|
21231
21236
|
autoPlay: !1,
|
|
@@ -21240,7 +21245,7 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21240
21245
|
lt
|
|
21241
21246
|
), h.current.removeEventListener("stalled", tr));
|
|
21242
21247
|
};
|
|
21243
|
-
}, [
|
|
21248
|
+
}, [ye, c, b, x, Te]), te.useEffect(() => {
|
|
21244
21249
|
const ce = setTimeout(() => {
|
|
21245
21250
|
i && m.current && G.current && m.current.progress() < 0.1 && h.current && !m.current.isActive() && !re && h.current.play().then(() => {
|
|
21246
21251
|
p.current.isPlaying = !1, h.current && h.current.pause();
|
|
@@ -21261,7 +21266,7 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21261
21266
|
return () => {
|
|
21262
21267
|
clearTimeout(ce);
|
|
21263
21268
|
};
|
|
21264
|
-
}, [r, i]), /* @__PURE__ */
|
|
21269
|
+
}, [r, i]), /* @__PURE__ */ Ie.jsx(
|
|
21265
21270
|
mn,
|
|
21266
21271
|
{
|
|
21267
21272
|
...t,
|
|
@@ -21270,7 +21275,7 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21270
21275
|
pointerdown: H,
|
|
21271
21276
|
pointerover: de,
|
|
21272
21277
|
pointerout: Q,
|
|
21273
|
-
children: /* @__PURE__ */
|
|
21278
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: l, children: i && /* @__PURE__ */ Ie.jsx(
|
|
21274
21279
|
Bs,
|
|
21275
21280
|
{
|
|
21276
21281
|
texture: i,
|
|
@@ -21285,14 +21290,14 @@ const fo = /* @__PURE__ */ $i(P5), bh = (t, e, r, n) => {
|
|
|
21285
21290
|
filters: [
|
|
21286
21291
|
he,
|
|
21287
21292
|
pe,
|
|
21288
|
-
be,
|
|
21289
21293
|
xe,
|
|
21294
|
+
ke,
|
|
21290
21295
|
// conditionally add blur filter
|
|
21291
21296
|
...W > 0 ? [Se] : [],
|
|
21292
21297
|
// conditionally add vignette filter
|
|
21293
|
-
...j > 0 ? [
|
|
21298
|
+
...j > 0 ? [Ue] : [],
|
|
21294
21299
|
// conditionally add noise filter
|
|
21295
|
-
...le > 0 ? [
|
|
21300
|
+
...le > 0 ? [Ee] : []
|
|
21296
21301
|
]
|
|
21297
21302
|
}
|
|
21298
21303
|
) })
|
|
@@ -21334,7 +21339,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21334
21339
|
const re = er.Texture.from(x);
|
|
21335
21340
|
n(re);
|
|
21336
21341
|
}
|
|
21337
|
-
}, [x]), /* @__PURE__ */
|
|
21342
|
+
}, [x]), /* @__PURE__ */ Ie.jsx(
|
|
21338
21343
|
mn,
|
|
21339
21344
|
{
|
|
21340
21345
|
...t,
|
|
@@ -21343,7 +21348,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21343
21348
|
pointerdown: w,
|
|
21344
21349
|
pointerover: O,
|
|
21345
21350
|
pointerout: I,
|
|
21346
|
-
children: /* @__PURE__ */
|
|
21351
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ie.jsx(
|
|
21347
21352
|
Bs,
|
|
21348
21353
|
{
|
|
21349
21354
|
texture: r,
|
|
@@ -21416,13 +21421,13 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21416
21421
|
return () => {
|
|
21417
21422
|
l.current && (p.current.remove(l.current), l.current.progress(0).kill()), y.revert();
|
|
21418
21423
|
};
|
|
21419
|
-
}, [e, r, m, n]), /* @__PURE__ */
|
|
21424
|
+
}, [e, r, m, n]), /* @__PURE__ */ Ie.jsx(
|
|
21420
21425
|
wt,
|
|
21421
21426
|
{
|
|
21422
21427
|
ref: i,
|
|
21423
21428
|
alpha: e < 0.2 ? 1 : 0,
|
|
21424
21429
|
eventMode: e < 0.2 ? "static" : "none",
|
|
21425
|
-
children: /* @__PURE__ */
|
|
21430
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: u, children: /* @__PURE__ */ Ie.jsx(wt, { ref: a, alpha: 1, children: t.children }) })
|
|
21426
21431
|
}
|
|
21427
21432
|
);
|
|
21428
21433
|
}, cU = (t) => {
|
|
@@ -21461,7 +21466,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21461
21466
|
const re = er.Texture.from(x);
|
|
21462
21467
|
n(re);
|
|
21463
21468
|
}
|
|
21464
|
-
}, [x]), /* @__PURE__ */
|
|
21469
|
+
}, [x]), /* @__PURE__ */ Ie.jsx(
|
|
21465
21470
|
mn,
|
|
21466
21471
|
{
|
|
21467
21472
|
...t,
|
|
@@ -21470,7 +21475,7 @@ const uU = te.forwardRef((t, e) => {
|
|
|
21470
21475
|
pointerdown: w,
|
|
21471
21476
|
pointerover: O,
|
|
21472
21477
|
pointerout: I,
|
|
21473
|
-
children: /* @__PURE__ */
|
|
21478
|
+
children: /* @__PURE__ */ Ie.jsx(wt, { ref: a, children: r && /* @__PURE__ */ Ie.jsx(
|
|
21474
21479
|
Bs,
|
|
21475
21480
|
{
|
|
21476
21481
|
texture: r,
|