reacthub-pixitweenjs 0.2.105-alpha.0 → 0.2.106-alpha.0
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 +788 -791
- package/dist/index.umd.js +26 -26
- package/package.json +3 -2
package/dist/index.es.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import Lw, { useEffect as $n, useState as eo, useRef as
|
|
3
|
-
import { TilingSprite as Bw, withFilters as Dw, Container as
|
|
1
|
+
import * as nt from "react";
|
|
2
|
+
import Lw, { useEffect as $n, useState as eo, useRef as mt, useLayoutEffect as Yg, useCallback as De, useContext as Ps, useReducer as kw } from "react";
|
|
3
|
+
import { TilingSprite as Bw, withFilters as Dw, Container as Se, Sprite as Mh, useApp as Uw, AnimatedSprite as $w, Text as Gw } from "@pixi/react";
|
|
4
4
|
import * as Yr from "pixi.js";
|
|
5
5
|
import { Transformer as zw } from "reacthub-react-bindings";
|
|
6
6
|
import ue from "gsap";
|
|
@@ -55,7 +55,7 @@ yo.Fragment = Ww;
|
|
|
55
55
|
yo.jsx = Zg;
|
|
56
56
|
yo.jsxs = Zg;
|
|
57
57
|
Kg.exports = yo;
|
|
58
|
-
var
|
|
58
|
+
var kt = Kg.exports, Mn = /* @__PURE__ */ ((e) => (e.BlackAndWhite = "BlackAndWhite", e.Sepia = "Sepia", e.RetroVintage = "RetroVintage", e.NightVision = "NightVision", e.Normal = "Normal", e.None = "Normal", e))(Mn || {});
|
|
59
59
|
let $d;
|
|
60
60
|
function Jg() {
|
|
61
61
|
return $d = document.body, $d;
|
|
@@ -89,7 +89,7 @@ function cD() {
|
|
|
89
89
|
e == null || e.dispatchEvent(s);
|
|
90
90
|
}, t;
|
|
91
91
|
}
|
|
92
|
-
const Mi =
|
|
92
|
+
const Mi = nt.createContext({}), le = {
|
|
93
93
|
STOP: "GSAP_STOP",
|
|
94
94
|
PAUSE: "GSAP_PAUSE",
|
|
95
95
|
PLAY: "GSAP_PLAY",
|
|
@@ -113,7 +113,7 @@ const Mi = it.createContext({}), le = {
|
|
|
113
113
|
}, fD = ({
|
|
114
114
|
children: e
|
|
115
115
|
}) => {
|
|
116
|
-
const [t, r] = eo(0), n =
|
|
116
|
+
const [t, r] = eo(0), n = mt(), s = mt(), a = mt(1e-3), u = mt(!1), l = mt(!1);
|
|
117
117
|
Yg(() => (s.current = ue.context(() => {
|
|
118
118
|
n.current && n.current.progress(0).kill(), n.current && n.current.clear(), n.current && ue.killTweensOf(n.current), n.current = ue.timeline({
|
|
119
119
|
paused: !0,
|
|
@@ -180,7 +180,7 @@ const Mi = it.createContext({}), le = {
|
|
|
180
180
|
le.SCRUBBER_PROGRESS_UPDATE,
|
|
181
181
|
(w) => {
|
|
182
182
|
}
|
|
183
|
-
), /* @__PURE__ */
|
|
183
|
+
), /* @__PURE__ */ kt.jsx(
|
|
184
184
|
Mi.Provider,
|
|
185
185
|
{
|
|
186
186
|
value: {
|
|
@@ -214,22 +214,22 @@ const Mi = it.createContext({}), le = {
|
|
|
214
214
|
uniqueId: l = "",
|
|
215
215
|
isText: c = !1
|
|
216
216
|
}) => {
|
|
217
|
-
const f = Yr.utils.string2hex("#F3C409"), p = Yr.utils.string2hex("#F3C409"), m =
|
|
217
|
+
const f = Yr.utils.string2hex("#F3C409"), p = Yr.utils.string2hex("#F3C409"), m = nt.useRef({
|
|
218
218
|
isDragging: !1
|
|
219
|
-
}), g = 300, x =
|
|
219
|
+
}), g = 300, x = nt.useRef(0), y = nt.useCallback(() => {
|
|
220
220
|
a && !m.current.isDragging && a(!0);
|
|
221
|
-
}, [a]), S =
|
|
221
|
+
}, [a]), S = nt.useCallback(() => {
|
|
222
222
|
a && !m.current.isDragging && a(!1);
|
|
223
|
-
}, [a]), T =
|
|
223
|
+
}, [a]), T = nt.useCallback(() => {
|
|
224
224
|
m.current.isDragging = !0;
|
|
225
225
|
const A = (/* @__PURE__ */ new Date()).getTime();
|
|
226
226
|
A - x.current < g && u && u(), x.current = A;
|
|
227
|
-
}, []), w =
|
|
227
|
+
}, []), w = nt.useCallback(
|
|
228
228
|
(A) => {
|
|
229
229
|
m.current.isDragging = !0, s && s(A), fs(le.TRANSFORMER_DRAG_START, { uniqueId: "timeline" });
|
|
230
230
|
},
|
|
231
231
|
[s]
|
|
232
|
-
), R =
|
|
232
|
+
), R = nt.useCallback(() => {
|
|
233
233
|
if (t.current === null)
|
|
234
234
|
return;
|
|
235
235
|
const A = t.current.x, I = t.current.y, N = t.current.width, B = t.current.height, L = t.current.rotation, O = [
|
|
@@ -249,9 +249,9 @@ const Mi = it.createContext({}), le = {
|
|
|
249
249
|
}
|
|
250
250
|
}), fs(le.TRANSFORMER_DRAG_END, { uniqueId: "timeline" })), m.current.isDragging = !1;
|
|
251
251
|
}, [n]);
|
|
252
|
-
return
|
|
252
|
+
return nt.useEffect(() => (e.current && (e.current.on("mouseover", y), e.current.on("mouseout", S), e.current.on("mousedown", T)), () => {
|
|
253
253
|
e.current && (e.current.off("mouseover", y), e.current.off("mouseout", S), e.current.off("mousedown", T));
|
|
254
|
-
}), []), /* @__PURE__ */
|
|
254
|
+
}), []), /* @__PURE__ */ kt.jsx(
|
|
255
255
|
zw,
|
|
256
256
|
{
|
|
257
257
|
ref: e,
|
|
@@ -488,7 +488,7 @@ const Qd = {
|
|
|
488
488
|
}
|
|
489
489
|
}, WE = (e) => {
|
|
490
490
|
const { overlay: t, width: r, height: n, x: s, y: a } = e, { src: u, blendmode: l } = Qd[t] || Qd.normal;
|
|
491
|
-
return /* @__PURE__ */
|
|
491
|
+
return /* @__PURE__ */ kt.jsx(
|
|
492
492
|
Bw,
|
|
493
493
|
{
|
|
494
494
|
image: u,
|
|
@@ -502,8 +502,8 @@ const Qd = {
|
|
|
502
502
|
anchor: 0.5
|
|
503
503
|
}
|
|
504
504
|
);
|
|
505
|
-
}, qE = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Ni =
|
|
506
|
-
const [r, n] =
|
|
505
|
+
}, qE = [1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0], Ni = nt.forwardRef((e, t) => {
|
|
506
|
+
const [r, n] = nt.useState(!1), [s, a] = eo(!1), [u, l] = eo(!1), c = mt(null), f = mt(null), p = mt(null), m = mt(null), {
|
|
507
507
|
uniqueId: g,
|
|
508
508
|
visible: x,
|
|
509
509
|
transformation: {
|
|
@@ -522,38 +522,38 @@ const Qd = {
|
|
|
522
522
|
pointerout: z,
|
|
523
523
|
pointerover: X,
|
|
524
524
|
isText: Q,
|
|
525
|
-
isDragging:
|
|
525
|
+
isDragging: it,
|
|
526
526
|
isGif: V,
|
|
527
527
|
onDoubleClick: j,
|
|
528
|
-
isTextEditMode:
|
|
528
|
+
isTextEditMode: xt
|
|
529
529
|
} = e;
|
|
530
530
|
Me(le.COMPLETE, () => {
|
|
531
531
|
c.current;
|
|
532
|
-
}),
|
|
532
|
+
}), nt.useImperativeHandle(
|
|
533
533
|
t,
|
|
534
534
|
() => ({
|
|
535
535
|
getIsTransformerDragging: () => s,
|
|
536
536
|
getIsMouseOverTransformer: () => u
|
|
537
537
|
}),
|
|
538
538
|
[s, u]
|
|
539
|
-
),
|
|
539
|
+
), nt.useEffect(() => {
|
|
540
540
|
c.current && n(!0);
|
|
541
541
|
}, []);
|
|
542
|
-
const
|
|
542
|
+
const Ft = nt.useCallback(() => {
|
|
543
543
|
l(!0), X && X();
|
|
544
|
-
}, []), G =
|
|
544
|
+
}, []), G = nt.useCallback(() => {
|
|
545
545
|
a(!0);
|
|
546
|
-
}, []), et =
|
|
546
|
+
}, []), et = nt.useCallback(
|
|
547
547
|
(H) => {
|
|
548
548
|
e.onAnchorTransformationEnd && e.onAnchorTransformationEnd(H), a(!1);
|
|
549
549
|
},
|
|
550
550
|
[]
|
|
551
|
-
),
|
|
551
|
+
), pt = Dw(Se, {
|
|
552
552
|
matrix: Yr.filters.ColorMatrixFilter
|
|
553
553
|
});
|
|
554
|
-
return /* @__PURE__ */
|
|
555
|
-
/* @__PURE__ */
|
|
556
|
-
|
|
554
|
+
return /* @__PURE__ */ kt.jsxs(Se, { ref: f, children: [
|
|
555
|
+
/* @__PURE__ */ kt.jsxs(
|
|
556
|
+
Se,
|
|
557
557
|
{
|
|
558
558
|
ref: c,
|
|
559
559
|
position: [y, S],
|
|
@@ -562,7 +562,7 @@ const Qd = {
|
|
|
562
562
|
height: w,
|
|
563
563
|
scale: R,
|
|
564
564
|
rotation: A,
|
|
565
|
-
...!L && x && !s && !
|
|
565
|
+
...!L && x && !s && !it && {
|
|
566
566
|
interactive: !0,
|
|
567
567
|
buttonMode: !0,
|
|
568
568
|
pointerdown: O,
|
|
@@ -570,8 +570,8 @@ const Qd = {
|
|
|
570
570
|
pointerout: z
|
|
571
571
|
},
|
|
572
572
|
children: [
|
|
573
|
-
!V && /* @__PURE__ */
|
|
574
|
-
|
|
573
|
+
!V && /* @__PURE__ */ kt.jsx(
|
|
574
|
+
pt,
|
|
575
575
|
{
|
|
576
576
|
scale: 1,
|
|
577
577
|
apply: ({ matrix: H }) => {
|
|
@@ -582,11 +582,11 @@ const Qd = {
|
|
|
582
582
|
// @ts-ignore
|
|
583
583
|
matrix: qE
|
|
584
584
|
},
|
|
585
|
-
children: /* @__PURE__ */
|
|
585
|
+
children: /* @__PURE__ */ kt.jsx(Se, { ref: p, children: e.children })
|
|
586
586
|
}
|
|
587
587
|
),
|
|
588
|
-
V && /* @__PURE__ */
|
|
589
|
-
!Bh(N) && N !== Jl.NONE && N !== Jl.NORMAL && /* @__PURE__ */
|
|
588
|
+
V && /* @__PURE__ */ kt.jsx(Se, { ref: p, children: e.children }),
|
|
589
|
+
!Bh(N) && N !== Jl.NONE && N !== Jl.NORMAL && /* @__PURE__ */ kt.jsx(
|
|
590
590
|
WE,
|
|
591
591
|
{
|
|
592
592
|
overlay: N,
|
|
@@ -599,7 +599,7 @@ const Qd = {
|
|
|
599
599
|
]
|
|
600
600
|
}
|
|
601
601
|
),
|
|
602
|
-
B && x && !
|
|
602
|
+
B && x && !xt && /* @__PURE__ */ kt.jsx(
|
|
603
603
|
Zw,
|
|
604
604
|
{
|
|
605
605
|
pixiTransformerRef: m,
|
|
@@ -607,7 +607,7 @@ const Qd = {
|
|
|
607
607
|
isMounted: r,
|
|
608
608
|
transformCommit: et,
|
|
609
609
|
transformChange: G,
|
|
610
|
-
mouseoverEvent:
|
|
610
|
+
mouseoverEvent: Ft,
|
|
611
611
|
uniqueId: g,
|
|
612
612
|
isText: Q,
|
|
613
613
|
onDoubleClick: j
|
|
@@ -619,7 +619,7 @@ Ni.whyDidYouRender = {
|
|
|
619
619
|
logOnDifferentValues: !0,
|
|
620
620
|
customName: "AbstractContainer"
|
|
621
621
|
};
|
|
622
|
-
var Gn = /* @__PURE__ */ ((e) => (e[e.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", e[e.WEBGL = 1] = "WEBGL", e[e.WEBGL2 = 2] = "WEBGL2", e))(Gn || {}), um = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.WEBGL = 1] = "WEBGL", e[e.CANVAS = 2] = "CANVAS", e))(um || {}), Ql = /* @__PURE__ */ ((e) => (e[e.COLOR = 16384] = "COLOR", e[e.DEPTH = 256] = "DEPTH", e[e.STENCIL = 1024] = "STENCIL", e))(Ql || {}), lt = /* @__PURE__ */ ((e) => (e[e.NORMAL = 0] = "NORMAL", e[e.ADD = 1] = "ADD", e[e.MULTIPLY = 2] = "MULTIPLY", e[e.SCREEN = 3] = "SCREEN", e[e.OVERLAY = 4] = "OVERLAY", e[e.DARKEN = 5] = "DARKEN", e[e.LIGHTEN = 6] = "LIGHTEN", e[e.COLOR_DODGE = 7] = "COLOR_DODGE", e[e.COLOR_BURN = 8] = "COLOR_BURN", e[e.HARD_LIGHT = 9] = "HARD_LIGHT", e[e.SOFT_LIGHT = 10] = "SOFT_LIGHT", e[e.DIFFERENCE = 11] = "DIFFERENCE", e[e.EXCLUSION = 12] = "EXCLUSION", e[e.HUE = 13] = "HUE", e[e.SATURATION = 14] = "SATURATION", e[e.COLOR = 15] = "COLOR", e[e.LUMINOSITY = 16] = "LUMINOSITY", e[e.NORMAL_NPM = 17] = "NORMAL_NPM", e[e.ADD_NPM = 18] = "ADD_NPM", e[e.SCREEN_NPM = 19] = "SCREEN_NPM", e[e.NONE = 20] = "NONE", e[e.SRC_OVER = 0] = "SRC_OVER", e[e.SRC_IN = 21] = "SRC_IN", e[e.SRC_OUT = 22] = "SRC_OUT", e[e.SRC_ATOP = 23] = "SRC_ATOP", e[e.DST_OVER = 24] = "DST_OVER", e[e.DST_IN = 25] = "DST_IN", e[e.DST_OUT = 26] = "DST_OUT", e[e.DST_ATOP = 27] = "DST_ATOP", e[e.ERASE = 26] = "ERASE", e[e.SUBTRACT = 28] = "SUBTRACT", e[e.XOR = 29] = "XOR", e))(lt || {}), un = /* @__PURE__ */ ((e) => (e[e.POINTS = 0] = "POINTS", e[e.LINES = 1] = "LINES", e[e.LINE_LOOP = 2] = "LINE_LOOP", e[e.LINE_STRIP = 3] = "LINE_STRIP", e[e.TRIANGLES = 4] = "TRIANGLES", e[e.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", e[e.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", e))(un || {}), K = /* @__PURE__ */ ((e) => (e[e.RGBA = 6408] = "RGBA", e[e.RGB = 6407] = "RGB", e[e.RG = 33319] = "RG", e[e.RED = 6403] = "RED", e[e.RGBA_INTEGER = 36249] = "RGBA_INTEGER", e[e.RGB_INTEGER = 36248] = "RGB_INTEGER", e[e.RG_INTEGER = 33320] = "RG_INTEGER", e[e.RED_INTEGER = 36244] = "RED_INTEGER", e[e.ALPHA = 6406] = "ALPHA", e[e.LUMINANCE = 6409] = "LUMINANCE", e[e.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", e[e.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", e[e.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", e))(K || {}), vi = /* @__PURE__ */ ((e) => (e[e.TEXTURE_2D = 3553] = "TEXTURE_2D", e[e.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", e[e.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", e[e.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", e[e.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", e[e.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", e[e.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", e))(vi || {}),
|
|
622
|
+
var Gn = /* @__PURE__ */ ((e) => (e[e.WEBGL_LEGACY = 0] = "WEBGL_LEGACY", e[e.WEBGL = 1] = "WEBGL", e[e.WEBGL2 = 2] = "WEBGL2", e))(Gn || {}), um = /* @__PURE__ */ ((e) => (e[e.UNKNOWN = 0] = "UNKNOWN", e[e.WEBGL = 1] = "WEBGL", e[e.CANVAS = 2] = "CANVAS", e))(um || {}), Ql = /* @__PURE__ */ ((e) => (e[e.COLOR = 16384] = "COLOR", e[e.DEPTH = 256] = "DEPTH", e[e.STENCIL = 1024] = "STENCIL", e))(Ql || {}), lt = /* @__PURE__ */ ((e) => (e[e.NORMAL = 0] = "NORMAL", e[e.ADD = 1] = "ADD", e[e.MULTIPLY = 2] = "MULTIPLY", e[e.SCREEN = 3] = "SCREEN", e[e.OVERLAY = 4] = "OVERLAY", e[e.DARKEN = 5] = "DARKEN", e[e.LIGHTEN = 6] = "LIGHTEN", e[e.COLOR_DODGE = 7] = "COLOR_DODGE", e[e.COLOR_BURN = 8] = "COLOR_BURN", e[e.HARD_LIGHT = 9] = "HARD_LIGHT", e[e.SOFT_LIGHT = 10] = "SOFT_LIGHT", e[e.DIFFERENCE = 11] = "DIFFERENCE", e[e.EXCLUSION = 12] = "EXCLUSION", e[e.HUE = 13] = "HUE", e[e.SATURATION = 14] = "SATURATION", e[e.COLOR = 15] = "COLOR", e[e.LUMINOSITY = 16] = "LUMINOSITY", e[e.NORMAL_NPM = 17] = "NORMAL_NPM", e[e.ADD_NPM = 18] = "ADD_NPM", e[e.SCREEN_NPM = 19] = "SCREEN_NPM", e[e.NONE = 20] = "NONE", e[e.SRC_OVER = 0] = "SRC_OVER", e[e.SRC_IN = 21] = "SRC_IN", e[e.SRC_OUT = 22] = "SRC_OUT", e[e.SRC_ATOP = 23] = "SRC_ATOP", e[e.DST_OVER = 24] = "DST_OVER", e[e.DST_IN = 25] = "DST_IN", e[e.DST_OUT = 26] = "DST_OUT", e[e.DST_ATOP = 27] = "DST_ATOP", e[e.ERASE = 26] = "ERASE", e[e.SUBTRACT = 28] = "SUBTRACT", e[e.XOR = 29] = "XOR", e))(lt || {}), un = /* @__PURE__ */ ((e) => (e[e.POINTS = 0] = "POINTS", e[e.LINES = 1] = "LINES", e[e.LINE_LOOP = 2] = "LINE_LOOP", e[e.LINE_STRIP = 3] = "LINE_STRIP", e[e.TRIANGLES = 4] = "TRIANGLES", e[e.TRIANGLE_STRIP = 5] = "TRIANGLE_STRIP", e[e.TRIANGLE_FAN = 6] = "TRIANGLE_FAN", e))(un || {}), K = /* @__PURE__ */ ((e) => (e[e.RGBA = 6408] = "RGBA", e[e.RGB = 6407] = "RGB", e[e.RG = 33319] = "RG", e[e.RED = 6403] = "RED", e[e.RGBA_INTEGER = 36249] = "RGBA_INTEGER", e[e.RGB_INTEGER = 36248] = "RGB_INTEGER", e[e.RG_INTEGER = 33320] = "RG_INTEGER", e[e.RED_INTEGER = 36244] = "RED_INTEGER", e[e.ALPHA = 6406] = "ALPHA", e[e.LUMINANCE = 6409] = "LUMINANCE", e[e.LUMINANCE_ALPHA = 6410] = "LUMINANCE_ALPHA", e[e.DEPTH_COMPONENT = 6402] = "DEPTH_COMPONENT", e[e.DEPTH_STENCIL = 34041] = "DEPTH_STENCIL", e))(K || {}), vi = /* @__PURE__ */ ((e) => (e[e.TEXTURE_2D = 3553] = "TEXTURE_2D", e[e.TEXTURE_CUBE_MAP = 34067] = "TEXTURE_CUBE_MAP", e[e.TEXTURE_2D_ARRAY = 35866] = "TEXTURE_2D_ARRAY", e[e.TEXTURE_CUBE_MAP_POSITIVE_X = 34069] = "TEXTURE_CUBE_MAP_POSITIVE_X", e[e.TEXTURE_CUBE_MAP_NEGATIVE_X = 34070] = "TEXTURE_CUBE_MAP_NEGATIVE_X", e[e.TEXTURE_CUBE_MAP_POSITIVE_Y = 34071] = "TEXTURE_CUBE_MAP_POSITIVE_Y", e[e.TEXTURE_CUBE_MAP_NEGATIVE_Y = 34072] = "TEXTURE_CUBE_MAP_NEGATIVE_Y", e[e.TEXTURE_CUBE_MAP_POSITIVE_Z = 34073] = "TEXTURE_CUBE_MAP_POSITIVE_Z", e[e.TEXTURE_CUBE_MAP_NEGATIVE_Z = 34074] = "TEXTURE_CUBE_MAP_NEGATIVE_Z", e))(vi || {}), Nt = /* @__PURE__ */ ((e) => (e[e.UNSIGNED_BYTE = 5121] = "UNSIGNED_BYTE", e[e.UNSIGNED_SHORT = 5123] = "UNSIGNED_SHORT", e[e.UNSIGNED_SHORT_5_6_5 = 33635] = "UNSIGNED_SHORT_5_6_5", e[e.UNSIGNED_SHORT_4_4_4_4 = 32819] = "UNSIGNED_SHORT_4_4_4_4", e[e.UNSIGNED_SHORT_5_5_5_1 = 32820] = "UNSIGNED_SHORT_5_5_5_1", e[e.UNSIGNED_INT = 5125] = "UNSIGNED_INT", e[e.UNSIGNED_INT_10F_11F_11F_REV = 35899] = "UNSIGNED_INT_10F_11F_11F_REV", e[e.UNSIGNED_INT_2_10_10_10_REV = 33640] = "UNSIGNED_INT_2_10_10_10_REV", e[e.UNSIGNED_INT_24_8 = 34042] = "UNSIGNED_INT_24_8", e[e.UNSIGNED_INT_5_9_9_9_REV = 35902] = "UNSIGNED_INT_5_9_9_9_REV", e[e.BYTE = 5120] = "BYTE", e[e.SHORT = 5122] = "SHORT", e[e.INT = 5124] = "INT", e[e.FLOAT = 5126] = "FLOAT", e[e.FLOAT_32_UNSIGNED_INT_24_8_REV = 36269] = "FLOAT_32_UNSIGNED_INT_24_8_REV", e[e.HALF_FLOAT = 36193] = "HALF_FLOAT", e))(Nt || {}), th = /* @__PURE__ */ ((e) => (e[e.FLOAT = 0] = "FLOAT", e[e.INT = 1] = "INT", e[e.UINT = 2] = "UINT", e))(th || {}), Ir = /* @__PURE__ */ ((e) => (e[e.NEAREST = 0] = "NEAREST", e[e.LINEAR = 1] = "LINEAR", e))(Ir || {}), bs = /* @__PURE__ */ ((e) => (e[e.CLAMP = 33071] = "CLAMP", e[e.REPEAT = 10497] = "REPEAT", e[e.MIRRORED_REPEAT = 33648] = "MIRRORED_REPEAT", e))(bs || {}), Dn = /* @__PURE__ */ ((e) => (e[e.OFF = 0] = "OFF", e[e.POW2 = 1] = "POW2", e[e.ON = 2] = "ON", e[e.ON_MANUAL = 3] = "ON_MANUAL", e))(Dn || {}), cn = /* @__PURE__ */ ((e) => (e[e.NPM = 0] = "NPM", e[e.UNPACK = 1] = "UNPACK", e[e.PMA = 2] = "PMA", e[e.NO_PREMULTIPLIED_ALPHA = 0] = "NO_PREMULTIPLIED_ALPHA", e[e.PREMULTIPLY_ON_UPLOAD = 1] = "PREMULTIPLY_ON_UPLOAD", e[e.PREMULTIPLIED_ALPHA = 2] = "PREMULTIPLIED_ALPHA", e))(cn || {}), En = /* @__PURE__ */ ((e) => (e[e.NO = 0] = "NO", e[e.YES = 1] = "YES", e[e.AUTO = 2] = "AUTO", e[e.BLEND = 0] = "BLEND", e[e.CLEAR = 1] = "CLEAR", e[e.BLIT = 2] = "BLIT", e))(En || {}), Dh = /* @__PURE__ */ ((e) => (e[e.AUTO = 0] = "AUTO", e[e.MANUAL = 1] = "MANUAL", e))(Dh || {}), rr = /* @__PURE__ */ ((e) => (e.LOW = "lowp", e.MEDIUM = "mediump", e.HIGH = "highp", e))(rr || {}), de = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.SCISSOR = 1] = "SCISSOR", e[e.STENCIL = 2] = "STENCIL", e[e.SPRITE = 3] = "SPRITE", e[e.COLOR = 4] = "COLOR", e))(de || {}), he = /* @__PURE__ */ ((e) => (e[e.NONE = 0] = "NONE", e[e.LOW = 2] = "LOW", e[e.MEDIUM = 4] = "MEDIUM", e[e.HIGH = 8] = "HIGH", e))(he || {}), Pr = /* @__PURE__ */ ((e) => (e[e.ELEMENT_ARRAY_BUFFER = 34963] = "ELEMENT_ARRAY_BUFFER", e[e.ARRAY_BUFFER = 34962] = "ARRAY_BUFFER", e[e.UNIFORM_BUFFER = 35345] = "UNIFORM_BUFFER", e))(Pr || {});
|
|
623
623
|
const YE = {
|
|
624
624
|
createCanvas: (e, t) => {
|
|
625
625
|
const r = document.createElement("canvas");
|
|
@@ -632,7 +632,7 @@ const YE = {
|
|
|
632
632
|
getFontFaceSet: () => document.fonts,
|
|
633
633
|
fetch: (e, t) => fetch(e, t),
|
|
634
634
|
parseXML: (e) => new DOMParser().parseFromString(e, "text/xml")
|
|
635
|
-
},
|
|
635
|
+
}, Tt = {
|
|
636
636
|
ADAPTER: YE,
|
|
637
637
|
RESOLUTION: 1,
|
|
638
638
|
CREATE_IMAGE_BITMAP: !1,
|
|
@@ -701,8 +701,8 @@ function cp(e) {
|
|
|
701
701
|
return a.any = a.apple.device || a.android.device || a.windows.device || a.other.device, a.phone = a.apple.phone || a.android.phone || a.windows.phone, a.tablet = a.apple.tablet || a.android.tablet || a.windows.tablet, a;
|
|
702
702
|
}
|
|
703
703
|
const ZE = cp.default ?? cp, pi = ZE(globalThis.navigator);
|
|
704
|
-
|
|
705
|
-
|
|
704
|
+
Tt.RETINA_PREFIX = /@([0-9\.]+)x/;
|
|
705
|
+
Tt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT = !1;
|
|
706
706
|
var lm = { exports: {} };
|
|
707
707
|
(function(e) {
|
|
708
708
|
var t = Object.prototype.hasOwnProperty, r = "~";
|
|
@@ -1111,15 +1111,15 @@ io.exports;
|
|
|
1111
1111
|
function X(H, Y) {
|
|
1112
1112
|
var ht = H.split("@"), yt = "";
|
|
1113
1113
|
ht.length > 1 && (yt = ht[0] + "@", H = ht[1]), H = H.replace(R, ".");
|
|
1114
|
-
var
|
|
1114
|
+
var _t = H.split("."), It = z(_t, Y).join(".");
|
|
1115
1115
|
return yt + It;
|
|
1116
1116
|
}
|
|
1117
1117
|
function Q(H) {
|
|
1118
|
-
for (var Y = [], ht = 0, yt = H.length,
|
|
1119
|
-
|
|
1118
|
+
for (var Y = [], ht = 0, yt = H.length, _t, It; ht < yt; )
|
|
1119
|
+
_t = H.charCodeAt(ht++), _t >= 55296 && _t <= 56319 && ht < yt ? (It = H.charCodeAt(ht++), (It & 64512) == 56320 ? Y.push(((_t & 1023) << 10) + (It & 1023) + 65536) : (Y.push(_t), ht--)) : Y.push(_t);
|
|
1120
1120
|
return Y;
|
|
1121
1121
|
}
|
|
1122
|
-
function
|
|
1122
|
+
function it(H) {
|
|
1123
1123
|
return z(H, function(Y) {
|
|
1124
1124
|
var ht = "";
|
|
1125
1125
|
return Y > 65535 && (Y -= 65536, ht += B(Y >>> 10 & 1023 | 55296), Y = 56320 | Y & 1023), ht += B(Y), ht;
|
|
@@ -1131,37 +1131,37 @@ io.exports;
|
|
|
1131
1131
|
function j(H, Y) {
|
|
1132
1132
|
return H + 22 + 75 * (H < 26) - ((Y != 0) << 5);
|
|
1133
1133
|
}
|
|
1134
|
-
function
|
|
1134
|
+
function xt(H, Y, ht) {
|
|
1135
1135
|
var yt = 0;
|
|
1136
1136
|
for (H = ht ? N(H / g) : H >> 1, H += N(H / Y); H > I * p >> 1; yt += c)
|
|
1137
1137
|
H = N(H / I);
|
|
1138
1138
|
return N(yt + (I + 1) * H / (H + m));
|
|
1139
1139
|
}
|
|
1140
|
-
function
|
|
1141
|
-
var Y = [], ht = H.length, yt,
|
|
1142
|
-
for (
|
|
1143
|
-
H.charCodeAt(
|
|
1144
|
-
for (qt =
|
|
1145
|
-
for (Z =
|
|
1140
|
+
function Ft(H) {
|
|
1141
|
+
var Y = [], ht = H.length, yt, _t = 0, It = y, Mt = x, zt, Ht, qt, Z, W, st, At, Et, Yt;
|
|
1142
|
+
for (zt = H.lastIndexOf(S), zt < 0 && (zt = 0), Ht = 0; Ht < zt; ++Ht)
|
|
1143
|
+
H.charCodeAt(Ht) >= 128 && O("not-basic"), Y.push(H.charCodeAt(Ht));
|
|
1144
|
+
for (qt = zt > 0 ? zt + 1 : 0; qt < ht; ) {
|
|
1145
|
+
for (Z = _t, W = 1, st = c; qt >= ht && O("invalid-input"), At = V(H.charCodeAt(qt++)), (At >= c || At > N((l - _t) / W)) && O("overflow"), _t += At * W, Et = st <= Mt ? f : st >= Mt + p ? p : st - Mt, !(At < Et); st += c)
|
|
1146
1146
|
Yt = c - Et, W > N(l / Yt) && O("overflow"), W *= Yt;
|
|
1147
|
-
yt = Y.length + 1, Mt = _t
|
|
1147
|
+
yt = Y.length + 1, Mt = xt(_t - Z, yt, Z == 0), N(_t / yt) > l - It && O("overflow"), It += N(_t / yt), _t %= yt, Y.splice(_t++, 0, It);
|
|
1148
1148
|
}
|
|
1149
|
-
return
|
|
1149
|
+
return it(Y);
|
|
1150
1150
|
}
|
|
1151
1151
|
function G(H) {
|
|
1152
|
-
var Y, ht, yt,
|
|
1153
|
-
for (H = Q(H),
|
|
1152
|
+
var Y, ht, yt, _t, It, Mt, zt, Ht, qt, Z, W, st = [], At, Et, Yt, ir;
|
|
1153
|
+
for (H = Q(H), At = H.length, Y = y, ht = 0, It = x, Mt = 0; Mt < At; ++Mt)
|
|
1154
1154
|
W = H[Mt], W < 128 && st.push(B(W));
|
|
1155
|
-
for (yt =
|
|
1156
|
-
for (
|
|
1157
|
-
W = H[Mt], W >= Y && W <
|
|
1158
|
-
for (Et = yt + 1,
|
|
1155
|
+
for (yt = _t = st.length, _t && st.push(S); yt < At; ) {
|
|
1156
|
+
for (zt = l, Mt = 0; Mt < At; ++Mt)
|
|
1157
|
+
W = H[Mt], W >= Y && W < zt && (zt = W);
|
|
1158
|
+
for (Et = yt + 1, zt - Y > N((l - ht) / Et) && O("overflow"), ht += (zt - Y) * Et, Y = zt, Mt = 0; Mt < At; ++Mt)
|
|
1159
1159
|
if (W = H[Mt], W < Y && ++ht > l && O("overflow"), W == Y) {
|
|
1160
|
-
for (
|
|
1161
|
-
ir =
|
|
1160
|
+
for (Ht = ht, qt = c; Z = qt <= It ? f : qt >= It + p ? p : qt - It, !(Ht < Z); qt += c)
|
|
1161
|
+
ir = Ht - Z, Yt = c - Z, st.push(
|
|
1162
1162
|
B(j(Z + ir % Yt, 0))
|
|
1163
|
-
),
|
|
1164
|
-
st.push(B(j(
|
|
1163
|
+
), Ht = N(ir / Yt);
|
|
1164
|
+
st.push(B(j(Ht, 0))), It = xt(ht, Et, yt == _t), ht = 0, ++yt;
|
|
1165
1165
|
}
|
|
1166
1166
|
++ht, ++Y;
|
|
1167
1167
|
}
|
|
@@ -1169,10 +1169,10 @@ io.exports;
|
|
|
1169
1169
|
}
|
|
1170
1170
|
function et(H) {
|
|
1171
1171
|
return X(H, function(Y) {
|
|
1172
|
-
return T.test(Y) ?
|
|
1172
|
+
return T.test(Y) ? Ft(Y.slice(4).toLowerCase()) : Y;
|
|
1173
1173
|
});
|
|
1174
1174
|
}
|
|
1175
|
-
function
|
|
1175
|
+
function pt(H) {
|
|
1176
1176
|
return X(H, function(Y) {
|
|
1177
1177
|
return w.test(Y) ? "xn--" + G(Y) : Y;
|
|
1178
1178
|
});
|
|
@@ -1193,11 +1193,11 @@ io.exports;
|
|
|
1193
1193
|
*/
|
|
1194
1194
|
ucs2: {
|
|
1195
1195
|
decode: Q,
|
|
1196
|
-
encode:
|
|
1196
|
+
encode: it
|
|
1197
1197
|
},
|
|
1198
|
-
decode:
|
|
1198
|
+
decode: Ft,
|
|
1199
1199
|
encode: G,
|
|
1200
|
-
toASCII:
|
|
1200
|
+
toASCII: pt,
|
|
1201
1201
|
toUnicode: et
|
|
1202
1202
|
}, n && s)
|
|
1203
1203
|
if (e.exports == n)
|
|
@@ -1262,7 +1262,7 @@ var mC = io.exports, vC = function() {
|
|
|
1262
1262
|
f.prototype = r.prototype, s.prototype = new f(), f.prototype = null;
|
|
1263
1263
|
}
|
|
1264
1264
|
return s;
|
|
1265
|
-
}, EC = AC, $h = Function.prototype.bind || EC, CC = $h, RC = CC.call(Function.call, Object.prototype.hasOwnProperty),
|
|
1265
|
+
}, EC = AC, $h = Function.prototype.bind || EC, CC = $h, RC = CC.call(Function.call, Object.prototype.hasOwnProperty), St, wi = SyntaxError, dm = Function, yi = TypeError, pl = function(e) {
|
|
1266
1266
|
try {
|
|
1267
1267
|
return dm('"use strict"; return (' + e + ").constructor;")();
|
|
1268
1268
|
} catch {
|
|
@@ -1288,22 +1288,22 @@ var gl = function() {
|
|
|
1288
1288
|
}
|
|
1289
1289
|
}() : gl, ai = _C(), PC = bC(), me = Object.getPrototypeOf || (PC ? function(e) {
|
|
1290
1290
|
return e.__proto__;
|
|
1291
|
-
} : null), ci = {}, MC = typeof Uint8Array > "u" || !me ?
|
|
1292
|
-
"%AggregateError%": typeof AggregateError > "u" ?
|
|
1291
|
+
} : null), ci = {}, MC = typeof Uint8Array > "u" || !me ? St : me(Uint8Array), kn = {
|
|
1292
|
+
"%AggregateError%": typeof AggregateError > "u" ? St : AggregateError,
|
|
1293
1293
|
"%Array%": Array,
|
|
1294
|
-
"%ArrayBuffer%": typeof ArrayBuffer > "u" ?
|
|
1295
|
-
"%ArrayIteratorPrototype%": ai && me ? me([][Symbol.iterator]()) :
|
|
1296
|
-
"%AsyncFromSyncIteratorPrototype%":
|
|
1294
|
+
"%ArrayBuffer%": typeof ArrayBuffer > "u" ? St : ArrayBuffer,
|
|
1295
|
+
"%ArrayIteratorPrototype%": ai && me ? me([][Symbol.iterator]()) : St,
|
|
1296
|
+
"%AsyncFromSyncIteratorPrototype%": St,
|
|
1297
1297
|
"%AsyncFunction%": ci,
|
|
1298
1298
|
"%AsyncGenerator%": ci,
|
|
1299
1299
|
"%AsyncGeneratorFunction%": ci,
|
|
1300
1300
|
"%AsyncIteratorPrototype%": ci,
|
|
1301
|
-
"%Atomics%": typeof Atomics > "u" ?
|
|
1302
|
-
"%BigInt%": typeof BigInt > "u" ?
|
|
1303
|
-
"%BigInt64Array%": typeof BigInt64Array > "u" ?
|
|
1304
|
-
"%BigUint64Array%": typeof BigUint64Array > "u" ?
|
|
1301
|
+
"%Atomics%": typeof Atomics > "u" ? St : Atomics,
|
|
1302
|
+
"%BigInt%": typeof BigInt > "u" ? St : BigInt,
|
|
1303
|
+
"%BigInt64Array%": typeof BigInt64Array > "u" ? St : BigInt64Array,
|
|
1304
|
+
"%BigUint64Array%": typeof BigUint64Array > "u" ? St : BigUint64Array,
|
|
1305
1305
|
"%Boolean%": Boolean,
|
|
1306
|
-
"%DataView%": typeof DataView > "u" ?
|
|
1306
|
+
"%DataView%": typeof DataView > "u" ? St : DataView,
|
|
1307
1307
|
"%Date%": Date,
|
|
1308
1308
|
"%decodeURI%": decodeURI,
|
|
1309
1309
|
"%decodeURIComponent%": decodeURIComponent,
|
|
@@ -1313,49 +1313,49 @@ var gl = function() {
|
|
|
1313
1313
|
"%eval%": eval,
|
|
1314
1314
|
// eslint-disable-line no-eval
|
|
1315
1315
|
"%EvalError%": EvalError,
|
|
1316
|
-
"%Float32Array%": typeof Float32Array > "u" ?
|
|
1317
|
-
"%Float64Array%": typeof Float64Array > "u" ?
|
|
1318
|
-
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ?
|
|
1316
|
+
"%Float32Array%": typeof Float32Array > "u" ? St : Float32Array,
|
|
1317
|
+
"%Float64Array%": typeof Float64Array > "u" ? St : Float64Array,
|
|
1318
|
+
"%FinalizationRegistry%": typeof FinalizationRegistry > "u" ? St : FinalizationRegistry,
|
|
1319
1319
|
"%Function%": dm,
|
|
1320
1320
|
"%GeneratorFunction%": ci,
|
|
1321
|
-
"%Int8Array%": typeof Int8Array > "u" ?
|
|
1322
|
-
"%Int16Array%": typeof Int16Array > "u" ?
|
|
1323
|
-
"%Int32Array%": typeof Int32Array > "u" ?
|
|
1321
|
+
"%Int8Array%": typeof Int8Array > "u" ? St : Int8Array,
|
|
1322
|
+
"%Int16Array%": typeof Int16Array > "u" ? St : Int16Array,
|
|
1323
|
+
"%Int32Array%": typeof Int32Array > "u" ? St : Int32Array,
|
|
1324
1324
|
"%isFinite%": isFinite,
|
|
1325
1325
|
"%isNaN%": isNaN,
|
|
1326
|
-
"%IteratorPrototype%": ai && me ? me(me([][Symbol.iterator]())) :
|
|
1327
|
-
"%JSON%": typeof JSON == "object" ? JSON :
|
|
1328
|
-
"%Map%": typeof Map > "u" ?
|
|
1329
|
-
"%MapIteratorPrototype%": typeof Map > "u" || !ai || !me ?
|
|
1326
|
+
"%IteratorPrototype%": ai && me ? me(me([][Symbol.iterator]())) : St,
|
|
1327
|
+
"%JSON%": typeof JSON == "object" ? JSON : St,
|
|
1328
|
+
"%Map%": typeof Map > "u" ? St : Map,
|
|
1329
|
+
"%MapIteratorPrototype%": typeof Map > "u" || !ai || !me ? St : me((/* @__PURE__ */ new Map())[Symbol.iterator]()),
|
|
1330
1330
|
"%Math%": Math,
|
|
1331
1331
|
"%Number%": Number,
|
|
1332
1332
|
"%Object%": Object,
|
|
1333
1333
|
"%parseFloat%": parseFloat,
|
|
1334
1334
|
"%parseInt%": parseInt,
|
|
1335
|
-
"%Promise%": typeof Promise > "u" ?
|
|
1336
|
-
"%Proxy%": typeof Proxy > "u" ?
|
|
1335
|
+
"%Promise%": typeof Promise > "u" ? St : Promise,
|
|
1336
|
+
"%Proxy%": typeof Proxy > "u" ? St : Proxy,
|
|
1337
1337
|
"%RangeError%": RangeError,
|
|
1338
1338
|
"%ReferenceError%": ReferenceError,
|
|
1339
|
-
"%Reflect%": typeof Reflect > "u" ?
|
|
1339
|
+
"%Reflect%": typeof Reflect > "u" ? St : Reflect,
|
|
1340
1340
|
"%RegExp%": RegExp,
|
|
1341
|
-
"%Set%": typeof Set > "u" ?
|
|
1342
|
-
"%SetIteratorPrototype%": typeof Set > "u" || !ai || !me ?
|
|
1343
|
-
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ?
|
|
1341
|
+
"%Set%": typeof Set > "u" ? St : Set,
|
|
1342
|
+
"%SetIteratorPrototype%": typeof Set > "u" || !ai || !me ? St : me((/* @__PURE__ */ new Set())[Symbol.iterator]()),
|
|
1343
|
+
"%SharedArrayBuffer%": typeof SharedArrayBuffer > "u" ? St : SharedArrayBuffer,
|
|
1344
1344
|
"%String%": String,
|
|
1345
|
-
"%StringIteratorPrototype%": ai && me ? me(""[Symbol.iterator]()) :
|
|
1346
|
-
"%Symbol%": ai ? Symbol :
|
|
1345
|
+
"%StringIteratorPrototype%": ai && me ? me(""[Symbol.iterator]()) : St,
|
|
1346
|
+
"%Symbol%": ai ? Symbol : St,
|
|
1347
1347
|
"%SyntaxError%": wi,
|
|
1348
1348
|
"%ThrowTypeError%": IC,
|
|
1349
1349
|
"%TypedArray%": MC,
|
|
1350
1350
|
"%TypeError%": yi,
|
|
1351
|
-
"%Uint8Array%": typeof Uint8Array > "u" ?
|
|
1352
|
-
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ?
|
|
1353
|
-
"%Uint16Array%": typeof Uint16Array > "u" ?
|
|
1354
|
-
"%Uint32Array%": typeof Uint32Array > "u" ?
|
|
1351
|
+
"%Uint8Array%": typeof Uint8Array > "u" ? St : Uint8Array,
|
|
1352
|
+
"%Uint8ClampedArray%": typeof Uint8ClampedArray > "u" ? St : Uint8ClampedArray,
|
|
1353
|
+
"%Uint16Array%": typeof Uint16Array > "u" ? St : Uint16Array,
|
|
1354
|
+
"%Uint32Array%": typeof Uint32Array > "u" ? St : Uint32Array,
|
|
1355
1355
|
"%URIError%": URIError,
|
|
1356
|
-
"%WeakMap%": typeof WeakMap > "u" ?
|
|
1357
|
-
"%WeakRef%": typeof WeakRef > "u" ?
|
|
1358
|
-
"%WeakSet%": typeof WeakSet > "u" ?
|
|
1356
|
+
"%WeakMap%": typeof WeakMap > "u" ? St : WeakMap,
|
|
1357
|
+
"%WeakRef%": typeof WeakRef > "u" ? St : WeakRef,
|
|
1358
|
+
"%WeakSet%": typeof WeakSet > "u" ? St : WeakSet
|
|
1359
1359
|
};
|
|
1360
1360
|
if (me)
|
|
1361
1361
|
try {
|
|
@@ -1575,12 +1575,12 @@ var ah = XC, Ap = ah.custom, Ep = xm(Ap) ? Ap : null, r2 = function e(t, r, n, s
|
|
|
1575
1575
|
s = [];
|
|
1576
1576
|
else if (bm(s, t) >= 0)
|
|
1577
1577
|
return "[Circular]";
|
|
1578
|
-
function g(V, j,
|
|
1579
|
-
if (j && (s = e2.call(s), s.push(j)),
|
|
1580
|
-
var
|
|
1578
|
+
function g(V, j, xt) {
|
|
1579
|
+
if (j && (s = e2.call(s), s.push(j)), xt) {
|
|
1580
|
+
var Ft = {
|
|
1581
1581
|
depth: a.depth
|
|
1582
1582
|
};
|
|
1583
|
-
return on(a, "quoteStyle") && (
|
|
1583
|
+
return on(a, "quoteStyle") && (Ft.quoteStyle = a.quoteStyle), e(V, Ft, n + 1, s);
|
|
1584
1584
|
}
|
|
1585
1585
|
return e(V, a, n + 1, s);
|
|
1586
1586
|
}
|
|
@@ -1640,8 +1640,8 @@ var ah = XC, Ap = ah.custom, Ep = xm(Ap) ? Ap : null, r2 = function e(t, r, n, s
|
|
|
1640
1640
|
if (a2(t))
|
|
1641
1641
|
return as(g(String(t)));
|
|
1642
1642
|
if (!i2(t) && !Cp(t)) {
|
|
1643
|
-
var L = Ia(t, g), O = wp ? wp(t) === Object.prototype : t instanceof Object || t.constructor === Object, z = t instanceof Object ? "" : "null prototype", X = !O && Ee && Object(t) === t && Ee in t ? Vh.call(fn(t), 8, -1) : z ? "Object" : "", Q = O || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "",
|
|
1644
|
-
return L.length === 0 ?
|
|
1643
|
+
var L = Ia(t, g), O = wp ? wp(t) === Object.prototype : t instanceof Object || t.constructor === Object, z = t instanceof Object ? "" : "null prototype", X = !O && Ee && Object(t) === t && Ee in t ? Vh.call(fn(t), 8, -1) : z ? "Object" : "", Q = O || typeof t.constructor != "function" ? "" : t.constructor.name ? t.constructor.name + " " : "", it = Q + (X || z ? "[" + Rr.call(bp.call([], X || [], z || []), ": ") + "] " : "");
|
|
1644
|
+
return L.length === 0 ? it + "{}" : m ? it + "{" + uh(L, m) + "}" : it + "{ " + Rr.call(L, ", ") + " }";
|
|
1645
1645
|
}
|
|
1646
1646
|
return String(t);
|
|
1647
1647
|
};
|
|
@@ -2058,7 +2058,7 @@ var jh = Gh, Li = HC, b2 = r2, T2 = jh("%TypeError%"), Pa = jh("%WeakMap%", !0),
|
|
|
2058
2058
|
}
|
|
2059
2059
|
}, Xr = Array.isArray, W2 = Array.prototype.push, Em = function(e, t) {
|
|
2060
2060
|
W2.apply(e, Xr(t) ? t : [t]);
|
|
2061
|
-
}, q2 = Date.prototype.toISOString, Pp = gs.default,
|
|
2061
|
+
}, q2 = Date.prototype.toISOString, Pp = gs.default, we = {
|
|
2062
2062
|
addQueryPrefix: !1,
|
|
2063
2063
|
allowDots: !1,
|
|
2064
2064
|
charset: "utf-8",
|
|
@@ -2088,17 +2088,17 @@ var jh = Gh, Li = HC, b2 = r2, T2 = jh("%TypeError%"), Pa = jh("%WeakMap%", !0),
|
|
|
2088
2088
|
}
|
|
2089
2089
|
typeof R.get(Tl) > "u" && (A = 0);
|
|
2090
2090
|
}
|
|
2091
|
-
if (typeof c == "function" ? w = c(r, w) : w instanceof Date ? w = m(w) : n === "comma" && Xr(w) && (w = ja.maybeMap(w, function(
|
|
2092
|
-
return
|
|
2091
|
+
if (typeof c == "function" ? w = c(r, w) : w instanceof Date ? w = m(w) : n === "comma" && Xr(w) && (w = ja.maybeMap(w, function(Ft) {
|
|
2092
|
+
return Ft instanceof Date ? m(Ft) : Ft;
|
|
2093
2093
|
})), w === null) {
|
|
2094
2094
|
if (a)
|
|
2095
|
-
return l && !y ? l(r,
|
|
2095
|
+
return l && !y ? l(r, we.encoder, S, "key", g) : r;
|
|
2096
2096
|
w = "";
|
|
2097
2097
|
}
|
|
2098
2098
|
if (Y2(w) || ja.isBuffer(w)) {
|
|
2099
2099
|
if (l) {
|
|
2100
|
-
var B = y ? r : l(r,
|
|
2101
|
-
return [x(B) + "=" + x(l(w,
|
|
2100
|
+
var B = y ? r : l(r, we.encoder, S, "key", g);
|
|
2101
|
+
return [x(B) + "=" + x(l(w, we.encoder, S, "value", g))];
|
|
2102
2102
|
}
|
|
2103
2103
|
return [x(r) + "=" + x(String(w))];
|
|
2104
2104
|
}
|
|
@@ -2115,12 +2115,12 @@ var jh = Gh, Li = HC, b2 = r2, T2 = jh("%TypeError%"), Pa = jh("%WeakMap%", !0),
|
|
|
2115
2115
|
O = f ? z.sort(f) : z;
|
|
2116
2116
|
}
|
|
2117
2117
|
for (var X = s && Xr(w) && w.length === 1 ? r + "[]" : r, Q = 0; Q < O.length; ++Q) {
|
|
2118
|
-
var
|
|
2118
|
+
var it = O[Q], V = typeof it == "object" && typeof it.value < "u" ? it.value : w[it];
|
|
2119
2119
|
if (!(u && V === null)) {
|
|
2120
|
-
var j = Xr(w) ? typeof n == "function" ? n(X,
|
|
2120
|
+
var j = Xr(w) ? typeof n == "function" ? n(X, it) : X : X + (p ? "." + it : "[" + it + "]");
|
|
2121
2121
|
T.set(t, A);
|
|
2122
|
-
var
|
|
2123
|
-
|
|
2122
|
+
var xt = Am();
|
|
2123
|
+
xt.set(Tl, T), Em(L, e(
|
|
2124
2124
|
V,
|
|
2125
2125
|
j,
|
|
2126
2126
|
n,
|
|
@@ -2136,17 +2136,17 @@ var jh = Gh, Li = HC, b2 = r2, T2 = jh("%TypeError%"), Pa = jh("%WeakMap%", !0),
|
|
|
2136
2136
|
x,
|
|
2137
2137
|
y,
|
|
2138
2138
|
S,
|
|
2139
|
-
|
|
2139
|
+
xt
|
|
2140
2140
|
));
|
|
2141
2141
|
}
|
|
2142
2142
|
}
|
|
2143
2143
|
return L;
|
|
2144
2144
|
}, Z2 = function(t) {
|
|
2145
2145
|
if (!t)
|
|
2146
|
-
return
|
|
2146
|
+
return we;
|
|
2147
2147
|
if (t.encoder !== null && typeof t.encoder < "u" && typeof t.encoder != "function")
|
|
2148
2148
|
throw new TypeError("Encoder has to be a function.");
|
|
2149
|
-
var r = t.charset ||
|
|
2149
|
+
var r = t.charset || we.charset;
|
|
2150
2150
|
if (typeof t.charset < "u" && t.charset !== "utf-8" && t.charset !== "iso-8859-1")
|
|
2151
2151
|
throw new TypeError("The charset option must be either utf-8, iso-8859-1, or undefined");
|
|
2152
2152
|
var n = gs.default;
|
|
@@ -2155,23 +2155,23 @@ var jh = Gh, Li = HC, b2 = r2, T2 = jh("%TypeError%"), Pa = jh("%WeakMap%", !0),
|
|
|
2155
2155
|
throw new TypeError("Unknown format option provided.");
|
|
2156
2156
|
n = t.format;
|
|
2157
2157
|
}
|
|
2158
|
-
var s = gs.formatters[n], a =
|
|
2158
|
+
var s = gs.formatters[n], a = we.filter;
|
|
2159
2159
|
return (typeof t.filter == "function" || Xr(t.filter)) && (a = t.filter), {
|
|
2160
|
-
addQueryPrefix: typeof t.addQueryPrefix == "boolean" ? t.addQueryPrefix :
|
|
2161
|
-
allowDots: typeof t.allowDots > "u" ?
|
|
2160
|
+
addQueryPrefix: typeof t.addQueryPrefix == "boolean" ? t.addQueryPrefix : we.addQueryPrefix,
|
|
2161
|
+
allowDots: typeof t.allowDots > "u" ? we.allowDots : !!t.allowDots,
|
|
2162
2162
|
charset: r,
|
|
2163
|
-
charsetSentinel: typeof t.charsetSentinel == "boolean" ? t.charsetSentinel :
|
|
2164
|
-
delimiter: typeof t.delimiter > "u" ?
|
|
2165
|
-
encode: typeof t.encode == "boolean" ? t.encode :
|
|
2166
|
-
encoder: typeof t.encoder == "function" ? t.encoder :
|
|
2167
|
-
encodeValuesOnly: typeof t.encodeValuesOnly == "boolean" ? t.encodeValuesOnly :
|
|
2163
|
+
charsetSentinel: typeof t.charsetSentinel == "boolean" ? t.charsetSentinel : we.charsetSentinel,
|
|
2164
|
+
delimiter: typeof t.delimiter > "u" ? we.delimiter : t.delimiter,
|
|
2165
|
+
encode: typeof t.encode == "boolean" ? t.encode : we.encode,
|
|
2166
|
+
encoder: typeof t.encoder == "function" ? t.encoder : we.encoder,
|
|
2167
|
+
encodeValuesOnly: typeof t.encodeValuesOnly == "boolean" ? t.encodeValuesOnly : we.encodeValuesOnly,
|
|
2168
2168
|
filter: a,
|
|
2169
2169
|
format: n,
|
|
2170
2170
|
formatter: s,
|
|
2171
|
-
serializeDate: typeof t.serializeDate == "function" ? t.serializeDate :
|
|
2172
|
-
skipNulls: typeof t.skipNulls == "boolean" ? t.skipNulls :
|
|
2171
|
+
serializeDate: typeof t.serializeDate == "function" ? t.serializeDate : we.serializeDate,
|
|
2172
|
+
skipNulls: typeof t.skipNulls == "boolean" ? t.skipNulls : we.skipNulls,
|
|
2173
2173
|
sort: typeof t.sort == "function" ? t.sort : null,
|
|
2174
|
-
strictNullHandling: typeof t.strictNullHandling == "boolean" ? t.strictNullHandling :
|
|
2174
|
+
strictNullHandling: typeof t.strictNullHandling == "boolean" ? t.strictNullHandling : we.strictNullHandling
|
|
2175
2175
|
};
|
|
2176
2176
|
}, J2 = function(e, t) {
|
|
2177
2177
|
var r = e, n = Z2(t), s, a;
|
|
@@ -2419,8 +2419,8 @@ yr.prototype.parse = function(e, t, r) {
|
|
|
2419
2419
|
}
|
|
2420
2420
|
}
|
|
2421
2421
|
this.hostname.length > yR ? this.hostname = "" : this.hostname = this.hostname.toLowerCase(), w || (this.hostname = fR.toASCII(this.hostname));
|
|
2422
|
-
var Q = this.port ? ":" + this.port : "",
|
|
2423
|
-
this.host =
|
|
2422
|
+
var Q = this.port ? ":" + this.port : "", it = this.hostname || "";
|
|
2423
|
+
this.host = it + Q, this.href += this.host, w && (this.hostname = this.hostname.substr(1, this.hostname.length - 2), l[0] !== "/" && (l = "/" + l));
|
|
2424
2424
|
}
|
|
2425
2425
|
if (!xR[p])
|
|
2426
2426
|
for (var x = 0, A = hh.length; x < A; x++) {
|
|
@@ -2430,10 +2430,10 @@ yr.prototype.parse = function(e, t, r) {
|
|
|
2430
2430
|
j === V && (j = escape(V)), l = l.split(V).join(j);
|
|
2431
2431
|
}
|
|
2432
2432
|
}
|
|
2433
|
-
var
|
|
2434
|
-
|
|
2435
|
-
var
|
|
2436
|
-
if (
|
|
2433
|
+
var xt = l.indexOf("#");
|
|
2434
|
+
xt !== -1 && (this.hash = l.substr(xt), l = l.slice(0, xt));
|
|
2435
|
+
var Ft = l.indexOf("?");
|
|
2436
|
+
if (Ft !== -1 ? (this.search = l.substr(Ft), this.query = l.substr(Ft + 1), t && (this.query = fh.parse(this.query)), l = l.slice(0, Ft)) : t && (this.search = "", this.query = {}), l && (this.pathname = l), _i[p] && this.hostname && !this.pathname && (this.pathname = "/"), this.pathname || this.search) {
|
|
2437
2437
|
var Q = this.pathname || "", G = this.search || "";
|
|
2438
2438
|
this.path = Q + G;
|
|
2439
2439
|
}
|
|
@@ -2552,12 +2552,12 @@ function CR() {
|
|
|
2552
2552
|
var r;
|
|
2553
2553
|
const t = {
|
|
2554
2554
|
stencil: !0,
|
|
2555
|
-
failIfMajorPerformanceCaveat:
|
|
2555
|
+
failIfMajorPerformanceCaveat: Tt.FAIL_IF_MAJOR_PERFORMANCE_CAVEAT
|
|
2556
2556
|
};
|
|
2557
2557
|
try {
|
|
2558
|
-
if (!
|
|
2558
|
+
if (!Tt.ADAPTER.getWebGLRenderingContext())
|
|
2559
2559
|
return !1;
|
|
2560
|
-
const n =
|
|
2560
|
+
const n = Tt.ADAPTER.createCanvas();
|
|
2561
2561
|
let s = n.getContext("webgl", t) || n.getContext("experimental-webgl", t);
|
|
2562
2562
|
const a = !!((r = s == null ? void 0 : s.getContextAttributes()) != null && r.stencil);
|
|
2563
2563
|
if (s) {
|
|
@@ -2959,7 +2959,7 @@ function $R(e, t = globalThis.location) {
|
|
|
2959
2959
|
}
|
|
2960
2960
|
function jp(e, t = 1) {
|
|
2961
2961
|
var n;
|
|
2962
|
-
const r = (n =
|
|
2962
|
+
const r = (n = Tt.RETINA_PREFIX) == null ? void 0 : n.exec(e);
|
|
2963
2963
|
return r ? parseFloat(r[1]) : t;
|
|
2964
2964
|
}
|
|
2965
2965
|
var Rt = /* @__PURE__ */ ((e) => (e.Renderer = "renderer", e.Application = "application", e.RendererSystem = "renderer-webgl-system", e.RendererPlugin = "renderer-webgl-plugin", e.CanvasRendererSystem = "renderer-canvas-system", e.CanvasRendererPlugin = "renderer-canvas-plugin", e.Asset = "asset", e.LoadParser = "load-parser", e.ResolveParser = "resolve-parser", e.CacheParser = "cache-parser", e.DetectionParser = "detection-parser", e))(Rt || {});
|
|
@@ -2974,7 +2974,7 @@ const gh = (e) => {
|
|
|
2974
2974
|
else
|
|
2975
2975
|
throw new Error("Invalid extension type");
|
|
2976
2976
|
return typeof e.type == "string" && (e.type = [e.type]), e;
|
|
2977
|
-
}, Xp = (e, t) => gh(e).priority ?? t,
|
|
2977
|
+
}, Xp = (e, t) => gh(e).priority ?? t, Gt = {
|
|
2978
2978
|
_addHandlers: {},
|
|
2979
2979
|
_removeHandlers: {},
|
|
2980
2980
|
_queue: {},
|
|
@@ -3290,7 +3290,7 @@ const jR = {
|
|
|
3290
3290
|
resolution: g,
|
|
3291
3291
|
resourceOptions: x
|
|
3292
3292
|
} = t;
|
|
3293
|
-
e && !(e instanceof Es) && (e = Fm(e, x), e.internal = !0), this.resolution = g ||
|
|
3293
|
+
e && !(e instanceof Es) && (e = Fm(e, x), e.internal = !0), this.resolution = g || Tt.RESOLUTION, this.width = Math.round((u || 0) * this.resolution) / this.resolution, this.height = Math.round((l || 0) * this.resolution) / this.resolution, this._mipmap = n, this.anisotropicLevel = s, this._wrapMode = c, this._scaleMode = a, this.format = f, this.type = p, this.target = m, this.alphaMode = r, this.uid = As(), this.touched = 0, this.isPowerOfTwo = !1, this._refreshPOT(), this._glTextures = {}, this.dirtyId = 0, this.dirtyStyleId = 0, this.cacheId = null, this.valid = u > 0 && l > 0, this.textureCacheIds = [], this.destroyed = !1, this.resource = null, this._batchEnabled = 0, this._batchLocation = 0, this.parentTextureArray = null, this.setResource(e);
|
|
3294
3294
|
}
|
|
3295
3295
|
get realWidth() {
|
|
3296
3296
|
return Math.round(this.width * this.resolution);
|
|
@@ -3355,7 +3355,7 @@ const jR = {
|
|
|
3355
3355
|
castToBaseTexture() {
|
|
3356
3356
|
return this;
|
|
3357
3357
|
}
|
|
3358
|
-
static from(e, t, r =
|
|
3358
|
+
static from(e, t, r = Tt.STRICT_TEXTURE_CACHE) {
|
|
3359
3359
|
const n = typeof e == "string";
|
|
3360
3360
|
let s = null;
|
|
3361
3361
|
if (n)
|
|
@@ -3374,7 +3374,7 @@ const jR = {
|
|
|
3374
3374
|
}
|
|
3375
3375
|
static fromBuffer(e, t, r, n) {
|
|
3376
3376
|
e = e || new Float32Array(t * r * 4);
|
|
3377
|
-
const s = new Yh(e, { width: t, height: r }), a = e instanceof Float32Array ?
|
|
3377
|
+
const s = new Yh(e, { width: t, height: r }), a = e instanceof Float32Array ? Nt.FLOAT : Nt.UNSIGNED_BYTE;
|
|
3378
3378
|
return new fi(s, Object.assign({}, jR, n || { width: t, height: r, type: a }));
|
|
3379
3379
|
}
|
|
3380
3380
|
static addToCache(e, t) {
|
|
@@ -3395,8 +3395,8 @@ const jR = {
|
|
|
3395
3395
|
return null;
|
|
3396
3396
|
}
|
|
3397
3397
|
};
|
|
3398
|
-
let
|
|
3399
|
-
|
|
3398
|
+
let Lt = fi;
|
|
3399
|
+
Lt.defaultOptions = {
|
|
3400
3400
|
mipmap: Dn.POW2,
|
|
3401
3401
|
anisotropicLevel: 0,
|
|
3402
3402
|
scaleMode: Ir.LINEAR,
|
|
@@ -3404,9 +3404,9 @@ kt.defaultOptions = {
|
|
|
3404
3404
|
alphaMode: cn.UNPACK,
|
|
3405
3405
|
target: vi.TEXTURE_2D,
|
|
3406
3406
|
format: K.RGBA,
|
|
3407
|
-
type:
|
|
3407
|
+
type: Nt.UNSIGNED_BYTE
|
|
3408
3408
|
};
|
|
3409
|
-
|
|
3409
|
+
Lt._globalBatch = 0;
|
|
3410
3410
|
class vh {
|
|
3411
3411
|
constructor() {
|
|
3412
3412
|
this.texArray = null, this.blend = 0, this.type = un.TRIANGLES, this.start = 0, this.size = 0, this.data = null;
|
|
@@ -3437,7 +3437,7 @@ class Oe {
|
|
|
3437
3437
|
}
|
|
3438
3438
|
}
|
|
3439
3439
|
class ho {
|
|
3440
|
-
constructor(t, r = 0, n = !1, s =
|
|
3440
|
+
constructor(t, r = 0, n = !1, s = Nt.FLOAT, a, u, l, c = 1) {
|
|
3441
3441
|
this.buffer = t, this.size = r, this.normalized = n, this.type = s, this.stride = a, this.start = u, this.instance = l, this.divisor = c;
|
|
3442
3442
|
}
|
|
3443
3443
|
destroy() {
|
|
@@ -3584,11 +3584,11 @@ class Ei {
|
|
|
3584
3584
|
}
|
|
3585
3585
|
class Nm extends Ei {
|
|
3586
3586
|
constructor(t = !1) {
|
|
3587
|
-
super(), this._buffer = new Oe(null, t, !1), this._indexBuffer = new Oe(null, t, !0), this.addAttribute("aVertexPosition", this._buffer, 2, !1,
|
|
3587
|
+
super(), this._buffer = new Oe(null, t, !1), this._indexBuffer = new Oe(null, t, !0), this.addAttribute("aVertexPosition", this._buffer, 2, !1, Nt.FLOAT).addAttribute("aTextureCoord", this._buffer, 2, !1, Nt.FLOAT).addAttribute("aColor", this._buffer, 4, !0, Nt.UNSIGNED_BYTE).addAttribute("aTextureId", this._buffer, 1, !0, Nt.FLOAT).addIndex(this._indexBuffer);
|
|
3588
3588
|
}
|
|
3589
3589
|
}
|
|
3590
3590
|
const co = Math.PI * 2, ZR = 180 / Math.PI, Cs = Math.PI / 180;
|
|
3591
|
-
var
|
|
3591
|
+
var xe = /* @__PURE__ */ ((e) => (e[e.POLY = 0] = "POLY", e[e.RECT = 1] = "RECT", e[e.CIRC = 2] = "CIRC", e[e.ELIP = 3] = "ELIP", e[e.RREC = 4] = "RREC", e))(xe || {});
|
|
3592
3592
|
class Wt {
|
|
3593
3593
|
constructor(t = 0, r = 0) {
|
|
3594
3594
|
this.x = 0, this.y = 0, this.x = t, this.y = r;
|
|
@@ -3615,7 +3615,7 @@ class Wt {
|
|
|
3615
3615
|
const Na = [new Wt(), new Wt(), new Wt(), new Wt()];
|
|
3616
3616
|
class jt {
|
|
3617
3617
|
constructor(t = 0, r = 0, n = 0, s = 0) {
|
|
3618
|
-
this.x = Number(t), this.y = Number(r), this.width = Number(n), this.height = Number(s), this.type =
|
|
3618
|
+
this.x = Number(t), this.y = Number(r), this.width = Number(n), this.height = Number(s), this.type = xe.RECT;
|
|
3619
3619
|
}
|
|
3620
3620
|
get left() {
|
|
3621
3621
|
return this.x;
|
|
@@ -3688,7 +3688,7 @@ class jt {
|
|
|
3688
3688
|
}
|
|
3689
3689
|
class Kh {
|
|
3690
3690
|
constructor(t = 0, r = 0, n = 0) {
|
|
3691
|
-
this.x = t, this.y = r, this.radius = n, this.type =
|
|
3691
|
+
this.x = t, this.y = r, this.radius = n, this.type = xe.CIRC;
|
|
3692
3692
|
}
|
|
3693
3693
|
clone() {
|
|
3694
3694
|
return new Kh(this.x, this.y, this.radius);
|
|
@@ -3709,7 +3709,7 @@ class Kh {
|
|
|
3709
3709
|
}
|
|
3710
3710
|
let JR = class Lm {
|
|
3711
3711
|
constructor(t = 0, r = 0, n = 0, s = 0) {
|
|
3712
|
-
this.x = t, this.y = r, this.width = n, this.height = s, this.type =
|
|
3712
|
+
this.x = t, this.y = r, this.width = n, this.height = s, this.type = xe.ELIP;
|
|
3713
3713
|
}
|
|
3714
3714
|
clone() {
|
|
3715
3715
|
return new Lm(this.x, this.y, this.width, this.height);
|
|
@@ -3736,7 +3736,7 @@ class vs {
|
|
|
3736
3736
|
n.push(r[s].x, r[s].y);
|
|
3737
3737
|
r = n;
|
|
3738
3738
|
}
|
|
3739
|
-
this.points = r, this.type =
|
|
3739
|
+
this.points = r, this.type = xe.POLY, this.closeStroke = !0;
|
|
3740
3740
|
}
|
|
3741
3741
|
clone() {
|
|
3742
3742
|
const t = this.points.slice(), r = new vs(t);
|
|
@@ -3757,7 +3757,7 @@ class vs {
|
|
|
3757
3757
|
}
|
|
3758
3758
|
class Zh {
|
|
3759
3759
|
constructor(t = 0, r = 0, n = 0, s = 0, a = 20) {
|
|
3760
|
-
this.x = t, this.y = r, this.width = n, this.height = s, this.radius = a, this.type =
|
|
3760
|
+
this.x = t, this.y = r, this.width = n, this.height = s, this.radius = a, this.type = xe.RREC;
|
|
3761
3761
|
}
|
|
3762
3762
|
clone() {
|
|
3763
3763
|
return new Zh(this.x, this.y, this.width, this.height, this.radius);
|
|
@@ -4471,9 +4471,9 @@ const Um = {};
|
|
|
4471
4471
|
let oi = Um;
|
|
4472
4472
|
function sI() {
|
|
4473
4473
|
if (oi === Um || oi != null && oi.isContextLost()) {
|
|
4474
|
-
const e =
|
|
4474
|
+
const e = Tt.ADAPTER.createCanvas();
|
|
4475
4475
|
let t;
|
|
4476
|
-
|
|
4476
|
+
Tt.PREFER_ENV >= Gn.WEBGL2 && (t = e.getContext("webgl2", {})), t || (t = e.getContext("webgl", {}) || e.getContext("experimental-webgl", {}), t ? t.getExtension("WEBGL_draw_buffers") : t = null), oi = t;
|
|
4477
4477
|
}
|
|
4478
4478
|
return oi;
|
|
4479
4479
|
}
|
|
@@ -4709,7 +4709,7 @@ function dI() {
|
|
|
4709
4709
|
}
|
|
4710
4710
|
function pI(e) {
|
|
4711
4711
|
let t = !0;
|
|
4712
|
-
const r =
|
|
4712
|
+
const r = Tt.ADAPTER.getNavigator();
|
|
4713
4713
|
if (pi.tablet || pi.phone) {
|
|
4714
4714
|
if (pi.apple.device) {
|
|
4715
4715
|
const n = r.userAgent.match(/OS (\d+)_(\d+)?/);
|
|
@@ -4804,7 +4804,7 @@ const cr = class extends zm {
|
|
|
4804
4804
|
}
|
|
4805
4805
|
contextChange() {
|
|
4806
4806
|
const e = this.renderer.gl;
|
|
4807
|
-
|
|
4807
|
+
Tt.PREFER_ENV === Gn.WEBGL_LEGACY ? this.maxTextures = 1 : (this.maxTextures = Math.min(e.getParameter(e.MAX_TEXTURE_IMAGE_UNITS), cr.defaultMaxTextures), this.maxTextures = VR(this.maxTextures, e)), this._shader = this.shaderGenerator.generateShader(this.maxTextures);
|
|
4808
4808
|
for (let t = 0; t < this._packedGeometryPoolSize; t++)
|
|
4809
4809
|
this._packedGeometries[t] = new this.geometryClass();
|
|
4810
4810
|
this.initFlushBuffers();
|
|
@@ -4832,7 +4832,7 @@ const cr = class extends zm {
|
|
|
4832
4832
|
_bufferedTextures: e,
|
|
4833
4833
|
maxTextures: t
|
|
4834
4834
|
} = this, r = cr._textureArrayPool, n = this.renderer.batch, s = this._tempBoundTextures, a = this.renderer.textureGC.count;
|
|
4835
|
-
let u = ++
|
|
4835
|
+
let u = ++Lt._globalBatch, l = 0, c = r[0], f = 0;
|
|
4836
4836
|
n.copyBoundTextures(s, t);
|
|
4837
4837
|
for (let p = 0; p < this._bufferSize; ++p) {
|
|
4838
4838
|
const m = e[p];
|
|
@@ -4841,7 +4841,7 @@ const cr = class extends zm {
|
|
|
4841
4841
|
c.count > 0 && (n.boundArray(c, s, u, t), this.buildDrawCalls(c, f, this._bufferSize), ++l, ++u);
|
|
4842
4842
|
for (let p = 0; p < s.length; p++)
|
|
4843
4843
|
s[p] = null;
|
|
4844
|
-
|
|
4844
|
+
Lt._globalBatch = u;
|
|
4845
4845
|
}
|
|
4846
4846
|
buildDrawCalls(e, t, r) {
|
|
4847
4847
|
const {
|
|
@@ -4925,7 +4925,7 @@ pr.extension = {
|
|
|
4925
4925
|
};
|
|
4926
4926
|
pr._drawCallPool = [];
|
|
4927
4927
|
pr._textureArrayPool = [];
|
|
4928
|
-
|
|
4928
|
+
Gt.add(pr);
|
|
4929
4929
|
var vI = `varying vec2 vTextureCoord;
|
|
4930
4930
|
|
|
4931
4931
|
uniform sampler2D uSampler;
|
|
@@ -4987,9 +4987,9 @@ const ls = class extends Ls {
|
|
|
4987
4987
|
return vI;
|
|
4988
4988
|
}
|
|
4989
4989
|
};
|
|
4990
|
-
let
|
|
4991
|
-
|
|
4992
|
-
|
|
4990
|
+
let Ut = ls;
|
|
4991
|
+
Ut.defaultResolution = 1;
|
|
4992
|
+
Ut.defaultMultisample = he.NONE;
|
|
4993
4993
|
class Co {
|
|
4994
4994
|
constructor() {
|
|
4995
4995
|
this.clearBeforeRender = !0, this._backgroundColor = new Ae(0), this.alpha = 1;
|
|
@@ -5029,7 +5029,7 @@ Co.extension = {
|
|
|
5029
5029
|
],
|
|
5030
5030
|
name: "background"
|
|
5031
5031
|
};
|
|
5032
|
-
|
|
5032
|
+
Gt.add(Co);
|
|
5033
5033
|
class Hm {
|
|
5034
5034
|
constructor(t) {
|
|
5035
5035
|
this.renderer = t, this.emptyRenderer = new zm(t), this.currentRenderer = this.emptyRenderer;
|
|
@@ -5076,7 +5076,7 @@ Hm.extension = {
|
|
|
5076
5076
|
type: Rt.RendererSystem,
|
|
5077
5077
|
name: "batch"
|
|
5078
5078
|
};
|
|
5079
|
-
|
|
5079
|
+
Gt.add(Hm);
|
|
5080
5080
|
let Jp = 0;
|
|
5081
5081
|
class Ro {
|
|
5082
5082
|
constructor(t) {
|
|
@@ -5116,7 +5116,7 @@ class Ro {
|
|
|
5116
5116
|
}
|
|
5117
5117
|
createContext(t, r) {
|
|
5118
5118
|
let n;
|
|
5119
|
-
if (
|
|
5119
|
+
if (Tt.PREFER_ENV >= Gn.WEBGL2 && (n = t.getContext("webgl2", r)), n)
|
|
5120
5120
|
this.webGLVersion = 2;
|
|
5121
5121
|
else if (this.webGLVersion = 1, n = t.getContext("webgl", r) || t.getContext("experimental-webgl", r), !n)
|
|
5122
5122
|
throw new Error("This browser does not support WebGL. Try using the canvas renderer");
|
|
@@ -5181,7 +5181,7 @@ Ro.extension = {
|
|
|
5181
5181
|
type: Rt.RendererSystem,
|
|
5182
5182
|
name: "context"
|
|
5183
5183
|
};
|
|
5184
|
-
|
|
5184
|
+
Gt.add(Ro);
|
|
5185
5185
|
class _I extends Yh {
|
|
5186
5186
|
upload(t, r, n) {
|
|
5187
5187
|
const s = t.gl;
|
|
@@ -5198,7 +5198,7 @@ class xh {
|
|
|
5198
5198
|
return this.colorTextures[0];
|
|
5199
5199
|
}
|
|
5200
5200
|
addColorTexture(t = 0, r) {
|
|
5201
|
-
return this.colorTextures[t] = r || new
|
|
5201
|
+
return this.colorTextures[t] = r || new Lt(null, {
|
|
5202
5202
|
scaleMode: Ir.NEAREST,
|
|
5203
5203
|
resolution: 1,
|
|
5204
5204
|
mipmap: Dn.OFF,
|
|
@@ -5207,14 +5207,14 @@ class xh {
|
|
|
5207
5207
|
}), this.dirtyId++, this.dirtyFormat++, this;
|
|
5208
5208
|
}
|
|
5209
5209
|
addDepthTexture(t) {
|
|
5210
|
-
return this.depthTexture = t || new
|
|
5210
|
+
return this.depthTexture = t || new Lt(new _I(null, { width: this.width, height: this.height }), {
|
|
5211
5211
|
scaleMode: Ir.NEAREST,
|
|
5212
5212
|
resolution: 1,
|
|
5213
5213
|
width: this.width,
|
|
5214
5214
|
height: this.height,
|
|
5215
5215
|
mipmap: Dn.OFF,
|
|
5216
5216
|
format: K.DEPTH_COMPONENT,
|
|
5217
|
-
type:
|
|
5217
|
+
type: Nt.UNSIGNED_SHORT
|
|
5218
5218
|
}), this.dirtyId++, this.dirtyFormat++, this;
|
|
5219
5219
|
}
|
|
5220
5220
|
enableDepth() {
|
|
@@ -5243,7 +5243,7 @@ class xh {
|
|
|
5243
5243
|
this.depthTexture && (this.depthTexture.destroy(), this.depthTexture = null, ++this.dirtyId, ++this.dirtyFormat);
|
|
5244
5244
|
}
|
|
5245
5245
|
}
|
|
5246
|
-
class Vm extends
|
|
5246
|
+
class Vm extends Lt {
|
|
5247
5247
|
constructor(t = {}) {
|
|
5248
5248
|
if (typeof t == "number") {
|
|
5249
5249
|
const r = arguments[0], n = arguments[1], s = arguments[2], a = arguments[3];
|
|
@@ -5303,7 +5303,7 @@ class jm extends hn {
|
|
|
5303
5303
|
const n = new Image();
|
|
5304
5304
|
hn.crossOrigin(n, t, r.crossorigin), n.src = t, t = n;
|
|
5305
5305
|
}
|
|
5306
|
-
super(t), !t.complete && this._width && this._height && (this._width = 0, this._height = 0), this.url = t.src, this._process = null, this.preserveBitmap = !1, this.createBitmap = (r.createBitmap ??
|
|
5306
|
+
super(t), !t.complete && this._width && this._height && (this._width = 0, this._height = 0), this.url = t.src, this._process = null, this.preserveBitmap = !1, this.createBitmap = (r.createBitmap ?? Tt.CREATE_IMAGE_BITMAP) && !!globalThis.createImageBitmap, this.alphaMode = typeof r.alphaMode == "number" ? r.alphaMode : null, this.bitmap = null, this._load = null, r.autoLoad !== !1 && this.load();
|
|
5307
5307
|
}
|
|
5308
5308
|
load(t) {
|
|
5309
5309
|
return this._load ? this._load : (t !== void 0 && (this.createBitmap = t), this._load = new Promise((r, n) => {
|
|
@@ -5419,15 +5419,15 @@ class Ot extends bo {
|
|
|
5419
5419
|
updateUvs() {
|
|
5420
5420
|
this._uvs === Qp && (this._uvs = new Xm()), this._uvs.set(this._frame, this.baseTexture, this.rotate), this._updateID++;
|
|
5421
5421
|
}
|
|
5422
|
-
static from(t, r = {}, n =
|
|
5422
|
+
static from(t, r = {}, n = Tt.STRICT_TEXTURE_CACHE) {
|
|
5423
5423
|
const s = typeof t == "string";
|
|
5424
5424
|
let a = null;
|
|
5425
5425
|
if (s)
|
|
5426
5426
|
a = t;
|
|
5427
|
-
else if (t instanceof
|
|
5427
|
+
else if (t instanceof Lt) {
|
|
5428
5428
|
if (!t.cacheId) {
|
|
5429
5429
|
const l = (r == null ? void 0 : r.pixiIdPrefix) || "pixiid";
|
|
5430
|
-
t.cacheId = `${l}-${As()}`,
|
|
5430
|
+
t.cacheId = `${l}-${As()}`, Lt.addToCache(t, t.cacheId);
|
|
5431
5431
|
}
|
|
5432
5432
|
a = t.cacheId;
|
|
5433
5433
|
} else {
|
|
@@ -5440,23 +5440,23 @@ class Ot extends bo {
|
|
|
5440
5440
|
let u = Cr[a];
|
|
5441
5441
|
if (s && n && !u)
|
|
5442
5442
|
throw new Error(`The cacheId "${a}" does not exist in TextureCache.`);
|
|
5443
|
-
return !u && !(t instanceof
|
|
5443
|
+
return !u && !(t instanceof Lt) ? (r.resolution || (r.resolution = jp(t)), u = new Ot(new Lt(t, r)), u.baseTexture.cacheId = a, Lt.addToCache(u.baseTexture, a), Ot.addToCache(u, a)) : !u && t instanceof Lt && (u = new Ot(t), Ot.addToCache(u, a)), u;
|
|
5444
5444
|
}
|
|
5445
5445
|
static fromURL(t, r) {
|
|
5446
5446
|
const n = Object.assign({ autoLoad: !1 }, r == null ? void 0 : r.resourceOptions), s = Ot.from(t, Object.assign({ resourceOptions: n }, r), !1), a = s.baseTexture.resource;
|
|
5447
5447
|
return s.baseTexture.valid ? Promise.resolve(s) : a.load().then(() => Promise.resolve(s));
|
|
5448
5448
|
}
|
|
5449
5449
|
static fromBuffer(t, r, n, s) {
|
|
5450
|
-
return new Ot(
|
|
5450
|
+
return new Ot(Lt.fromBuffer(t, r, n, s));
|
|
5451
5451
|
}
|
|
5452
5452
|
static fromLoader(t, r, n, s) {
|
|
5453
|
-
const a = new
|
|
5454
|
-
scaleMode:
|
|
5453
|
+
const a = new Lt(t, Object.assign({
|
|
5454
|
+
scaleMode: Lt.defaultOptions.scaleMode,
|
|
5455
5455
|
resolution: jp(r)
|
|
5456
5456
|
}, s)), { resource: u } = a;
|
|
5457
5457
|
u instanceof jm && (u.url = r);
|
|
5458
5458
|
const l = new Ot(a);
|
|
5459
|
-
return n || (n = r),
|
|
5459
|
+
return n || (n = r), Lt.addToCache(l.baseTexture, n), Ot.addToCache(l, n), n !== r && (Lt.addToCache(l.baseTexture, r), Ot.addToCache(l, r)), l.baseTexture.valid ? Promise.resolve(l) : new Promise((c) => {
|
|
5460
5460
|
l.baseTexture.once("loaded", () => c(l));
|
|
5461
5461
|
});
|
|
5462
5462
|
}
|
|
@@ -5508,12 +5508,12 @@ class Ot extends bo {
|
|
|
5508
5508
|
return this.baseTexture;
|
|
5509
5509
|
}
|
|
5510
5510
|
static get EMPTY() {
|
|
5511
|
-
return Ot._EMPTY || (Ot._EMPTY = new Ot(new
|
|
5511
|
+
return Ot._EMPTY || (Ot._EMPTY = new Ot(new Lt()), Ua(Ot._EMPTY), Ua(Ot._EMPTY.baseTexture)), Ot._EMPTY;
|
|
5512
5512
|
}
|
|
5513
5513
|
static get WHITE() {
|
|
5514
5514
|
if (!Ot._WHITE) {
|
|
5515
|
-
const t =
|
|
5516
|
-
t.width = 16, t.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16), Ot._WHITE = new Ot(
|
|
5515
|
+
const t = Tt.ADAPTER.createCanvas(16, 16), r = t.getContext("2d");
|
|
5516
|
+
t.width = 16, t.height = 16, r.fillStyle = "white", r.fillRect(0, 0, 16, 16), Ot._WHITE = new Ot(Lt.from(t)), Ua(Ot._WHITE), Ua(Ot._WHITE.baseTexture);
|
|
5517
5517
|
}
|
|
5518
5518
|
return Ot._WHITE;
|
|
5519
5519
|
}
|
|
@@ -5774,7 +5774,7 @@ qm.extension = {
|
|
|
5774
5774
|
type: Rt.RendererSystem,
|
|
5775
5775
|
name: "filter"
|
|
5776
5776
|
};
|
|
5777
|
-
|
|
5777
|
+
Gt.add(qm);
|
|
5778
5778
|
class wI {
|
|
5779
5779
|
constructor(t) {
|
|
5780
5780
|
this.framebuffer = t, this.stencil = null, this.dirtyId = -1, this.dirtyFormat = -1, this.dirtySize = -1, this.multisample = he.NONE, this.msaaBuffer = null, this.blitFramebuffer = null, this.mipLevel = 0;
|
|
@@ -5790,7 +5790,7 @@ class Ym {
|
|
|
5790
5790
|
const t = this.gl = this.renderer.gl;
|
|
5791
5791
|
if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, this.current = this.unknownFramebuffer, this.viewport = new jt(), this.hasMRT = !0, this.writeDepthTexture = !0, this.renderer.context.webGLVersion === 1) {
|
|
5792
5792
|
let r = this.renderer.context.extensions.drawBuffers, n = this.renderer.context.extensions.depthTexture;
|
|
5793
|
-
|
|
5793
|
+
Tt.PREFER_ENV === Gn.WEBGL_LEGACY && (r = null, n = null), r ? t.drawBuffers = (s) => r.drawBuffersWEBGL(s) : (this.hasMRT = !1, t.drawBuffers = () => {
|
|
5794
5794
|
}), n || (this.writeDepthTexture = !1);
|
|
5795
5795
|
} else
|
|
5796
5796
|
this.msaaSamples = t.getInternalformatParameter(t.RENDERBUFFER, t.RGBA8, t.SAMPLES);
|
|
@@ -5926,7 +5926,7 @@ Ym.extension = {
|
|
|
5926
5926
|
type: Rt.RendererSystem,
|
|
5927
5927
|
name: "framebuffer"
|
|
5928
5928
|
};
|
|
5929
|
-
|
|
5929
|
+
Gt.add(Ym);
|
|
5930
5930
|
const Ll = { 5126: 4, 5123: 2, 5121: 1 };
|
|
5931
5931
|
class Km {
|
|
5932
5932
|
constructor(t) {
|
|
@@ -5937,7 +5937,7 @@ class Km {
|
|
|
5937
5937
|
const t = this.gl = this.renderer.gl, r = this.renderer.context;
|
|
5938
5938
|
if (this.CONTEXT_UID = this.renderer.CONTEXT_UID, r.webGLVersion !== 2) {
|
|
5939
5939
|
let n = this.renderer.context.extensions.vertexArrayObject;
|
|
5940
|
-
|
|
5940
|
+
Tt.PREFER_ENV === Gn.WEBGL_LEGACY && (n = null), n ? (t.createVertexArray = () => n.createVertexArrayOES(), t.bindVertexArray = (s) => n.bindVertexArrayOES(s), t.deleteVertexArray = (s) => n.deleteVertexArrayOES(s)) : (this.hasVao = !1, t.createVertexArray = () => null, t.bindVertexArray = () => null, t.deleteVertexArray = () => null);
|
|
5941
5941
|
}
|
|
5942
5942
|
if (r.webGLVersion !== 2) {
|
|
5943
5943
|
const n = t.getExtension("ANGLE_instanced_arrays");
|
|
@@ -6062,7 +6062,7 @@ Km.extension = {
|
|
|
6062
6062
|
type: Rt.RendererSystem,
|
|
6063
6063
|
name: "geometry"
|
|
6064
6064
|
};
|
|
6065
|
-
|
|
6065
|
+
Gt.add(Km);
|
|
6066
6066
|
const tg = new Fe();
|
|
6067
6067
|
class AI {
|
|
6068
6068
|
constructor(t, r) {
|
|
@@ -6138,7 +6138,7 @@ void main(void)
|
|
|
6138
6138
|
vMaskCoord = ( otherMatrix * vec3( aTextureCoord, 1.0) ).xy;
|
|
6139
6139
|
}
|
|
6140
6140
|
`;
|
|
6141
|
-
class RI extends
|
|
6141
|
+
class RI extends Ut {
|
|
6142
6142
|
constructor(t, r, n) {
|
|
6143
6143
|
let s = null;
|
|
6144
6144
|
typeof t != "string" && r === void 0 && n === void 0 && (s = t, t = void 0, r = void 0, n = void 0), super(t || CI, r || EI, n), this.maskSprite = s, this.maskMatrix = new Fe();
|
|
@@ -6156,7 +6156,7 @@ class RI extends $t {
|
|
|
6156
6156
|
}
|
|
6157
6157
|
class II {
|
|
6158
6158
|
constructor(t = null) {
|
|
6159
|
-
this.type = de.NONE, this.autoDetect = !0, this.maskObject = t || null, this.pooled = !1, this.isMaskData = !0, this.resolution = null, this.multisample =
|
|
6159
|
+
this.type = de.NONE, this.autoDetect = !0, this.maskObject = t || null, this.pooled = !1, this.isMaskData = !0, this.resolution = null, this.multisample = Ut.defaultMultisample, this.enabled = !0, this.colorMask = 15, this._filters = null, this._stencilCounter = 0, this._scissorCounter = 0, this._scissorRect = null, this._scissorRectLocal = null, this._colorMask = 15, this._target = null;
|
|
6160
6160
|
}
|
|
6161
6161
|
get filter() {
|
|
6162
6162
|
return this._filters ? this._filters[0] : null;
|
|
@@ -6264,7 +6264,7 @@ Zm.extension = {
|
|
|
6264
6264
|
type: Rt.RendererSystem,
|
|
6265
6265
|
name: "mask"
|
|
6266
6266
|
};
|
|
6267
|
-
|
|
6267
|
+
Gt.add(Zm);
|
|
6268
6268
|
class Jm {
|
|
6269
6269
|
constructor(t) {
|
|
6270
6270
|
this.renderer = t, this.maskStack = [], this.glConst = 0;
|
|
@@ -6286,7 +6286,7 @@ class Jm {
|
|
|
6286
6286
|
}
|
|
6287
6287
|
const eg = new Fe(), rg = [], qa = class extends Jm {
|
|
6288
6288
|
constructor(e) {
|
|
6289
|
-
super(e), this.glConst =
|
|
6289
|
+
super(e), this.glConst = Tt.ADAPTER.getWebGLRenderingContext().SCISSOR_TEST;
|
|
6290
6290
|
}
|
|
6291
6291
|
getStackLength() {
|
|
6292
6292
|
const e = this.maskStack[this.maskStack.length - 1];
|
|
@@ -6335,10 +6335,10 @@ Qm.extension = {
|
|
|
6335
6335
|
type: Rt.RendererSystem,
|
|
6336
6336
|
name: "scissor"
|
|
6337
6337
|
};
|
|
6338
|
-
|
|
6338
|
+
Gt.add(Qm);
|
|
6339
6339
|
class t0 extends Jm {
|
|
6340
6340
|
constructor(t) {
|
|
6341
|
-
super(t), this.glConst =
|
|
6341
|
+
super(t), this.glConst = Tt.ADAPTER.getWebGLRenderingContext().STENCIL_TEST;
|
|
6342
6342
|
}
|
|
6343
6343
|
getStackLength() {
|
|
6344
6344
|
const t = this.maskStack[this.maskStack.length - 1];
|
|
@@ -6368,7 +6368,7 @@ t0.extension = {
|
|
|
6368
6368
|
type: Rt.RendererSystem,
|
|
6369
6369
|
name: "stencil"
|
|
6370
6370
|
};
|
|
6371
|
-
|
|
6371
|
+
Gt.add(t0);
|
|
6372
6372
|
class e0 {
|
|
6373
6373
|
constructor(t) {
|
|
6374
6374
|
this.renderer = t, this.plugins = {}, Object.defineProperties(this.plugins, {
|
|
@@ -6409,7 +6409,7 @@ e0.extension = {
|
|
|
6409
6409
|
],
|
|
6410
6410
|
name: "_plugin"
|
|
6411
6411
|
};
|
|
6412
|
-
|
|
6412
|
+
Gt.add(e0);
|
|
6413
6413
|
class r0 {
|
|
6414
6414
|
constructor(t) {
|
|
6415
6415
|
this.renderer = t, this.destinationFrame = null, this.sourceFrame = null, this.defaultFrame = null, this.projectionMatrix = new Fe(), this.transform = null;
|
|
@@ -6433,7 +6433,7 @@ r0.extension = {
|
|
|
6433
6433
|
type: Rt.RendererSystem,
|
|
6434
6434
|
name: "projection"
|
|
6435
6435
|
};
|
|
6436
|
-
|
|
6436
|
+
Gt.add(r0);
|
|
6437
6437
|
const PI = new Jh();
|
|
6438
6438
|
class n0 {
|
|
6439
6439
|
constructor(t) {
|
|
@@ -6466,7 +6466,7 @@ n0.extension = {
|
|
|
6466
6466
|
],
|
|
6467
6467
|
name: "textureGenerator"
|
|
6468
6468
|
};
|
|
6469
|
-
|
|
6469
|
+
Gt.add(n0);
|
|
6470
6470
|
const wn = new jt(), us = new jt();
|
|
6471
6471
|
class i0 {
|
|
6472
6472
|
constructor(t) {
|
|
@@ -6502,7 +6502,7 @@ i0.extension = {
|
|
|
6502
6502
|
type: Rt.RendererSystem,
|
|
6503
6503
|
name: "renderTexture"
|
|
6504
6504
|
};
|
|
6505
|
-
|
|
6505
|
+
Gt.add(i0);
|
|
6506
6506
|
class MI {
|
|
6507
6507
|
constructor(t, r) {
|
|
6508
6508
|
this.program = t, this.uniformData = r, this.uniformGroups = {}, this.uniformDirtyGroups = {}, this.uniformBufferBindings = {};
|
|
@@ -6801,7 +6801,7 @@ a0.extension = {
|
|
|
6801
6801
|
type: Rt.RendererSystem,
|
|
6802
6802
|
name: "shader"
|
|
6803
6803
|
};
|
|
6804
|
-
|
|
6804
|
+
Gt.add(a0);
|
|
6805
6805
|
class Po {
|
|
6806
6806
|
constructor(t) {
|
|
6807
6807
|
this.renderer = t;
|
|
@@ -6823,7 +6823,7 @@ Po.extension = {
|
|
|
6823
6823
|
],
|
|
6824
6824
|
name: "startup"
|
|
6825
6825
|
};
|
|
6826
|
-
|
|
6826
|
+
Gt.add(Po);
|
|
6827
6827
|
function GI(e, t = []) {
|
|
6828
6828
|
return t[lt.NORMAL] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.ADD] = [e.ONE, e.ONE], t[lt.MULTIPLY] = [e.DST_COLOR, e.ONE_MINUS_SRC_ALPHA, e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.SCREEN] = [e.ONE, e.ONE_MINUS_SRC_COLOR, e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.OVERLAY] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.DARKEN] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.LIGHTEN] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.COLOR_DODGE] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.COLOR_BURN] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.HARD_LIGHT] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.SOFT_LIGHT] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.DIFFERENCE] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.EXCLUSION] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.HUE] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.SATURATION] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.COLOR] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.LUMINOSITY] = [e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.NONE] = [0, 0], t[lt.NORMAL_NPM] = [e.SRC_ALPHA, e.ONE_MINUS_SRC_ALPHA, e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.ADD_NPM] = [e.SRC_ALPHA, e.ONE, e.ONE, e.ONE], t[lt.SCREEN_NPM] = [e.SRC_ALPHA, e.ONE_MINUS_SRC_COLOR, e.ONE, e.ONE_MINUS_SRC_ALPHA], t[lt.SRC_IN] = [e.DST_ALPHA, e.ZERO], t[lt.SRC_OUT] = [e.ONE_MINUS_DST_ALPHA, e.ZERO], t[lt.SRC_ATOP] = [e.DST_ALPHA, e.ONE_MINUS_SRC_ALPHA], t[lt.DST_OVER] = [e.ONE_MINUS_DST_ALPHA, e.ONE], t[lt.DST_IN] = [e.ZERO, e.SRC_ALPHA], t[lt.DST_OUT] = [e.ZERO, e.ONE_MINUS_SRC_ALPHA], t[lt.DST_ATOP] = [e.ONE_MINUS_DST_ALPHA, e.SRC_ALPHA], t[lt.XOR] = [e.ONE_MINUS_DST_ALPHA, e.ONE_MINUS_SRC_ALPHA], t[lt.SUBTRACT] = [e.ONE, e.ONE, e.ONE, e.ONE, e.FUNC_REVERSE_SUBTRACT, e.FUNC_ADD], t;
|
|
6829
6829
|
}
|
|
@@ -6902,7 +6902,7 @@ o0.extension = {
|
|
|
6902
6902
|
type: Rt.RendererSystem,
|
|
6903
6903
|
name: "state"
|
|
6904
6904
|
};
|
|
6905
|
-
|
|
6905
|
+
Gt.add(o0);
|
|
6906
6906
|
class qI extends bo {
|
|
6907
6907
|
constructor() {
|
|
6908
6908
|
super(...arguments), this.runners = {}, this._systemsHash = {};
|
|
@@ -6982,16 +6982,16 @@ gr.extension = {
|
|
|
6982
6982
|
type: Rt.RendererSystem,
|
|
6983
6983
|
name: "textureGC"
|
|
6984
6984
|
};
|
|
6985
|
-
|
|
6985
|
+
Gt.add(gr);
|
|
6986
6986
|
class kl {
|
|
6987
6987
|
constructor(t) {
|
|
6988
|
-
this.texture = t, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type =
|
|
6988
|
+
this.texture = t, this.width = -1, this.height = -1, this.dirtyId = -1, this.dirtyStyleId = -1, this.mipmap = !1, this.wrapMode = 33071, this.type = Nt.UNSIGNED_BYTE, this.internalFormat = K.RGBA, this.samplerType = 0;
|
|
6989
6989
|
}
|
|
6990
6990
|
}
|
|
6991
6991
|
function YI(e) {
|
|
6992
6992
|
let t;
|
|
6993
6993
|
return "WebGL2RenderingContext" in globalThis && e instanceof globalThis.WebGL2RenderingContext ? t = {
|
|
6994
|
-
[
|
|
6994
|
+
[Nt.UNSIGNED_BYTE]: {
|
|
6995
6995
|
[K.RGBA]: e.RGBA8,
|
|
6996
6996
|
[K.RGB]: e.RGB8,
|
|
6997
6997
|
[K.RG]: e.RG8,
|
|
@@ -7004,7 +7004,7 @@ function YI(e) {
|
|
|
7004
7004
|
[K.LUMINANCE]: e.LUMINANCE,
|
|
7005
7005
|
[K.LUMINANCE_ALPHA]: e.LUMINANCE_ALPHA
|
|
7006
7006
|
},
|
|
7007
|
-
[
|
|
7007
|
+
[Nt.BYTE]: {
|
|
7008
7008
|
[K.RGBA]: e.RGBA8_SNORM,
|
|
7009
7009
|
[K.RGB]: e.RGB8_SNORM,
|
|
7010
7010
|
[K.RG]: e.RG8_SNORM,
|
|
@@ -7014,92 +7014,92 @@ function YI(e) {
|
|
|
7014
7014
|
[K.RG_INTEGER]: e.RG8I,
|
|
7015
7015
|
[K.RED_INTEGER]: e.R8I
|
|
7016
7016
|
},
|
|
7017
|
-
[
|
|
7017
|
+
[Nt.UNSIGNED_SHORT]: {
|
|
7018
7018
|
[K.RGBA_INTEGER]: e.RGBA16UI,
|
|
7019
7019
|
[K.RGB_INTEGER]: e.RGB16UI,
|
|
7020
7020
|
[K.RG_INTEGER]: e.RG16UI,
|
|
7021
7021
|
[K.RED_INTEGER]: e.R16UI,
|
|
7022
7022
|
[K.DEPTH_COMPONENT]: e.DEPTH_COMPONENT16
|
|
7023
7023
|
},
|
|
7024
|
-
[
|
|
7024
|
+
[Nt.SHORT]: {
|
|
7025
7025
|
[K.RGBA_INTEGER]: e.RGBA16I,
|
|
7026
7026
|
[K.RGB_INTEGER]: e.RGB16I,
|
|
7027
7027
|
[K.RG_INTEGER]: e.RG16I,
|
|
7028
7028
|
[K.RED_INTEGER]: e.R16I
|
|
7029
7029
|
},
|
|
7030
|
-
[
|
|
7030
|
+
[Nt.UNSIGNED_INT]: {
|
|
7031
7031
|
[K.RGBA_INTEGER]: e.RGBA32UI,
|
|
7032
7032
|
[K.RGB_INTEGER]: e.RGB32UI,
|
|
7033
7033
|
[K.RG_INTEGER]: e.RG32UI,
|
|
7034
7034
|
[K.RED_INTEGER]: e.R32UI,
|
|
7035
7035
|
[K.DEPTH_COMPONENT]: e.DEPTH_COMPONENT24
|
|
7036
7036
|
},
|
|
7037
|
-
[
|
|
7037
|
+
[Nt.INT]: {
|
|
7038
7038
|
[K.RGBA_INTEGER]: e.RGBA32I,
|
|
7039
7039
|
[K.RGB_INTEGER]: e.RGB32I,
|
|
7040
7040
|
[K.RG_INTEGER]: e.RG32I,
|
|
7041
7041
|
[K.RED_INTEGER]: e.R32I
|
|
7042
7042
|
},
|
|
7043
|
-
[
|
|
7043
|
+
[Nt.FLOAT]: {
|
|
7044
7044
|
[K.RGBA]: e.RGBA32F,
|
|
7045
7045
|
[K.RGB]: e.RGB32F,
|
|
7046
7046
|
[K.RG]: e.RG32F,
|
|
7047
7047
|
[K.RED]: e.R32F,
|
|
7048
7048
|
[K.DEPTH_COMPONENT]: e.DEPTH_COMPONENT32F
|
|
7049
7049
|
},
|
|
7050
|
-
[
|
|
7050
|
+
[Nt.HALF_FLOAT]: {
|
|
7051
7051
|
[K.RGBA]: e.RGBA16F,
|
|
7052
7052
|
[K.RGB]: e.RGB16F,
|
|
7053
7053
|
[K.RG]: e.RG16F,
|
|
7054
7054
|
[K.RED]: e.R16F
|
|
7055
7055
|
},
|
|
7056
|
-
[
|
|
7056
|
+
[Nt.UNSIGNED_SHORT_5_6_5]: {
|
|
7057
7057
|
[K.RGB]: e.RGB565
|
|
7058
7058
|
},
|
|
7059
|
-
[
|
|
7059
|
+
[Nt.UNSIGNED_SHORT_4_4_4_4]: {
|
|
7060
7060
|
[K.RGBA]: e.RGBA4
|
|
7061
7061
|
},
|
|
7062
|
-
[
|
|
7062
|
+
[Nt.UNSIGNED_SHORT_5_5_5_1]: {
|
|
7063
7063
|
[K.RGBA]: e.RGB5_A1
|
|
7064
7064
|
},
|
|
7065
|
-
[
|
|
7065
|
+
[Nt.UNSIGNED_INT_2_10_10_10_REV]: {
|
|
7066
7066
|
[K.RGBA]: e.RGB10_A2,
|
|
7067
7067
|
[K.RGBA_INTEGER]: e.RGB10_A2UI
|
|
7068
7068
|
},
|
|
7069
|
-
[
|
|
7069
|
+
[Nt.UNSIGNED_INT_10F_11F_11F_REV]: {
|
|
7070
7070
|
[K.RGB]: e.R11F_G11F_B10F
|
|
7071
7071
|
},
|
|
7072
|
-
[
|
|
7072
|
+
[Nt.UNSIGNED_INT_5_9_9_9_REV]: {
|
|
7073
7073
|
[K.RGB]: e.RGB9_E5
|
|
7074
7074
|
},
|
|
7075
|
-
[
|
|
7075
|
+
[Nt.UNSIGNED_INT_24_8]: {
|
|
7076
7076
|
[K.DEPTH_STENCIL]: e.DEPTH24_STENCIL8
|
|
7077
7077
|
},
|
|
7078
|
-
[
|
|
7078
|
+
[Nt.FLOAT_32_UNSIGNED_INT_24_8_REV]: {
|
|
7079
7079
|
[K.DEPTH_STENCIL]: e.DEPTH32F_STENCIL8
|
|
7080
7080
|
}
|
|
7081
7081
|
} : t = {
|
|
7082
|
-
[
|
|
7082
|
+
[Nt.UNSIGNED_BYTE]: {
|
|
7083
7083
|
[K.RGBA]: e.RGBA,
|
|
7084
7084
|
[K.RGB]: e.RGB,
|
|
7085
7085
|
[K.ALPHA]: e.ALPHA,
|
|
7086
7086
|
[K.LUMINANCE]: e.LUMINANCE,
|
|
7087
7087
|
[K.LUMINANCE_ALPHA]: e.LUMINANCE_ALPHA
|
|
7088
7088
|
},
|
|
7089
|
-
[
|
|
7089
|
+
[Nt.UNSIGNED_SHORT_5_6_5]: {
|
|
7090
7090
|
[K.RGB]: e.RGB
|
|
7091
7091
|
},
|
|
7092
|
-
[
|
|
7092
|
+
[Nt.UNSIGNED_SHORT_4_4_4_4]: {
|
|
7093
7093
|
[K.RGBA]: e.RGBA
|
|
7094
7094
|
},
|
|
7095
|
-
[
|
|
7095
|
+
[Nt.UNSIGNED_SHORT_5_5_5_1]: {
|
|
7096
7096
|
[K.RGBA]: e.RGBA
|
|
7097
7097
|
}
|
|
7098
7098
|
}, t;
|
|
7099
7099
|
}
|
|
7100
7100
|
class u0 {
|
|
7101
7101
|
constructor(t) {
|
|
7102
|
-
this.renderer = t, this.boundTextures = [], this.currentLocation = -1, this.managedTextures = [], this._unknownBoundTextures = !1, this.unknownTexture = new
|
|
7102
|
+
this.renderer = t, this.boundTextures = [], this.currentLocation = -1, this.managedTextures = [], this._unknownBoundTextures = !1, this.unknownTexture = new Lt(), this.hasIntegerTextures = !1;
|
|
7103
7103
|
}
|
|
7104
7104
|
contextChange() {
|
|
7105
7105
|
const t = this.gl = this.renderer.gl;
|
|
@@ -7155,7 +7155,7 @@ class u0 {
|
|
|
7155
7155
|
}
|
|
7156
7156
|
initTextureType(t, r) {
|
|
7157
7157
|
var n;
|
|
7158
|
-
r.internalFormat = ((n = this.internalFormats[t.type]) == null ? void 0 : n[t.format]) ?? t.format, this.webGLVersion === 2 && t.type ===
|
|
7158
|
+
r.internalFormat = ((n = this.internalFormats[t.type]) == null ? void 0 : n[t.format]) ?? t.format, this.webGLVersion === 2 && t.type === Nt.HALF_FLOAT ? r.type = this.gl.HALF_FLOAT : r.type = t.type;
|
|
7159
7159
|
}
|
|
7160
7160
|
updateTexture(t) {
|
|
7161
7161
|
var s;
|
|
@@ -7204,7 +7204,7 @@ u0.extension = {
|
|
|
7204
7204
|
type: Rt.RendererSystem,
|
|
7205
7205
|
name: "texture"
|
|
7206
7206
|
};
|
|
7207
|
-
|
|
7207
|
+
Gt.add(u0);
|
|
7208
7208
|
class l0 {
|
|
7209
7209
|
constructor(t) {
|
|
7210
7210
|
this.renderer = t;
|
|
@@ -7259,13 +7259,13 @@ l0.extension = {
|
|
|
7259
7259
|
type: Rt.RendererSystem,
|
|
7260
7260
|
name: "transformFeedback"
|
|
7261
7261
|
};
|
|
7262
|
-
|
|
7262
|
+
Gt.add(l0);
|
|
7263
7263
|
class Mo {
|
|
7264
7264
|
constructor(t) {
|
|
7265
7265
|
this.renderer = t;
|
|
7266
7266
|
}
|
|
7267
7267
|
init(t) {
|
|
7268
|
-
this.screen = new jt(0, 0, t.width, t.height), this.element = t.view ||
|
|
7268
|
+
this.screen = new jt(0, 0, t.width, t.height), this.element = t.view || Tt.ADAPTER.createCanvas(), this.resolution = t.resolution || Tt.RESOLUTION, this.autoDensity = !!t.autoDensity;
|
|
7269
7269
|
}
|
|
7270
7270
|
resizeView(t, r) {
|
|
7271
7271
|
this.element.width = Math.round(t * this.resolution), this.element.height = Math.round(r * this.resolution);
|
|
@@ -7280,7 +7280,7 @@ class Mo {
|
|
|
7280
7280
|
Mo.defaultOptions = {
|
|
7281
7281
|
width: 800,
|
|
7282
7282
|
height: 600,
|
|
7283
|
-
resolution:
|
|
7283
|
+
resolution: Tt.RESOLUTION,
|
|
7284
7284
|
autoDensity: !1
|
|
7285
7285
|
};
|
|
7286
7286
|
Mo.extension = {
|
|
@@ -7290,62 +7290,62 @@ Mo.extension = {
|
|
|
7290
7290
|
],
|
|
7291
7291
|
name: "_view"
|
|
7292
7292
|
};
|
|
7293
|
-
|
|
7294
|
-
|
|
7295
|
-
|
|
7296
|
-
|
|
7293
|
+
Gt.add(Mo);
|
|
7294
|
+
Tt.PREFER_ENV = Gn.WEBGL2;
|
|
7295
|
+
Tt.STRICT_TEXTURE_CACHE = !1;
|
|
7296
|
+
Tt.RENDER_OPTIONS = {
|
|
7297
7297
|
...Ro.defaultOptions,
|
|
7298
7298
|
...Co.defaultOptions,
|
|
7299
7299
|
...Mo.defaultOptions,
|
|
7300
7300
|
...Po.defaultOptions
|
|
7301
7301
|
};
|
|
7302
|
-
Object.defineProperties(
|
|
7302
|
+
Object.defineProperties(Tt, {
|
|
7303
7303
|
WRAP_MODE: {
|
|
7304
7304
|
get() {
|
|
7305
|
-
return
|
|
7305
|
+
return Lt.defaultOptions.wrapMode;
|
|
7306
7306
|
},
|
|
7307
7307
|
set(e) {
|
|
7308
|
-
Pt("7.1.0", "settings.WRAP_MODE is deprecated, use BaseTexture.defaultOptions.wrapMode"),
|
|
7308
|
+
Pt("7.1.0", "settings.WRAP_MODE is deprecated, use BaseTexture.defaultOptions.wrapMode"), Lt.defaultOptions.wrapMode = e;
|
|
7309
7309
|
}
|
|
7310
7310
|
},
|
|
7311
7311
|
SCALE_MODE: {
|
|
7312
7312
|
get() {
|
|
7313
|
-
return
|
|
7313
|
+
return Lt.defaultOptions.scaleMode;
|
|
7314
7314
|
},
|
|
7315
7315
|
set(e) {
|
|
7316
|
-
Pt("7.1.0", "settings.SCALE_MODE is deprecated, use BaseTexture.defaultOptions.scaleMode"),
|
|
7316
|
+
Pt("7.1.0", "settings.SCALE_MODE is deprecated, use BaseTexture.defaultOptions.scaleMode"), Lt.defaultOptions.scaleMode = e;
|
|
7317
7317
|
}
|
|
7318
7318
|
},
|
|
7319
7319
|
MIPMAP_TEXTURES: {
|
|
7320
7320
|
get() {
|
|
7321
|
-
return
|
|
7321
|
+
return Lt.defaultOptions.mipmap;
|
|
7322
7322
|
},
|
|
7323
7323
|
set(e) {
|
|
7324
|
-
Pt("7.1.0", "settings.MIPMAP_TEXTURES is deprecated, use BaseTexture.defaultOptions.mipmap"),
|
|
7324
|
+
Pt("7.1.0", "settings.MIPMAP_TEXTURES is deprecated, use BaseTexture.defaultOptions.mipmap"), Lt.defaultOptions.mipmap = e;
|
|
7325
7325
|
}
|
|
7326
7326
|
},
|
|
7327
7327
|
ANISOTROPIC_LEVEL: {
|
|
7328
7328
|
get() {
|
|
7329
|
-
return
|
|
7329
|
+
return Lt.defaultOptions.anisotropicLevel;
|
|
7330
7330
|
},
|
|
7331
7331
|
set(e) {
|
|
7332
|
-
Pt("7.1.0", "settings.ANISOTROPIC_LEVEL is deprecated, use BaseTexture.defaultOptions.anisotropicLevel"),
|
|
7332
|
+
Pt("7.1.0", "settings.ANISOTROPIC_LEVEL is deprecated, use BaseTexture.defaultOptions.anisotropicLevel"), Lt.defaultOptions.anisotropicLevel = e;
|
|
7333
7333
|
}
|
|
7334
7334
|
},
|
|
7335
7335
|
FILTER_RESOLUTION: {
|
|
7336
7336
|
get() {
|
|
7337
|
-
return Pt("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"),
|
|
7337
|
+
return Pt("7.1.0", "settings.FILTER_RESOLUTION is deprecated, use Filter.defaultResolution"), Ut.defaultResolution;
|
|
7338
7338
|
},
|
|
7339
7339
|
set(e) {
|
|
7340
|
-
|
|
7340
|
+
Ut.defaultResolution = e;
|
|
7341
7341
|
}
|
|
7342
7342
|
},
|
|
7343
7343
|
FILTER_MULTISAMPLE: {
|
|
7344
7344
|
get() {
|
|
7345
|
-
return Pt("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"),
|
|
7345
|
+
return Pt("7.1.0", "settings.FILTER_MULTISAMPLE is deprecated, use Filter.defaultMultisample"), Ut.defaultMultisample;
|
|
7346
7346
|
},
|
|
7347
7347
|
set(e) {
|
|
7348
|
-
|
|
7348
|
+
Ut.defaultMultisample = e;
|
|
7349
7349
|
}
|
|
7350
7350
|
},
|
|
7351
7351
|
SPRITE_MAX_TEXTURES: {
|
|
@@ -7558,7 +7558,7 @@ const je = class {
|
|
|
7558
7558
|
};
|
|
7559
7559
|
let mr = je;
|
|
7560
7560
|
mr.targetFPMS = 0.06;
|
|
7561
|
-
Object.defineProperties(
|
|
7561
|
+
Object.defineProperties(Tt, {
|
|
7562
7562
|
TARGET_FPMS: {
|
|
7563
7563
|
get() {
|
|
7564
7564
|
return mr.targetFPMS;
|
|
@@ -7594,9 +7594,9 @@ class h0 {
|
|
|
7594
7594
|
}
|
|
7595
7595
|
}
|
|
7596
7596
|
h0.extension = Rt.Application;
|
|
7597
|
-
|
|
7597
|
+
Gt.add(h0);
|
|
7598
7598
|
const KI = [];
|
|
7599
|
-
|
|
7599
|
+
Gt.handleByList(Rt.Renderer, KI);
|
|
7600
7600
|
class c0 {
|
|
7601
7601
|
constructor(t) {
|
|
7602
7602
|
this.renderer = t;
|
|
@@ -7619,7 +7619,7 @@ c0.extension = {
|
|
|
7619
7619
|
type: Rt.RendererSystem,
|
|
7620
7620
|
name: "_multisample"
|
|
7621
7621
|
};
|
|
7622
|
-
|
|
7622
|
+
Gt.add(c0);
|
|
7623
7623
|
class ZI {
|
|
7624
7624
|
constructor(t) {
|
|
7625
7625
|
this.buffer = t || null, this.updateID = -1, this.byteLength = -1, this.refCount = 0;
|
|
@@ -7687,7 +7687,7 @@ f0.extension = {
|
|
|
7687
7687
|
type: Rt.RendererSystem,
|
|
7688
7688
|
name: "buffer"
|
|
7689
7689
|
};
|
|
7690
|
-
|
|
7690
|
+
Gt.add(f0);
|
|
7691
7691
|
class d0 {
|
|
7692
7692
|
constructor(t) {
|
|
7693
7693
|
this.renderer = t;
|
|
@@ -7711,10 +7711,10 @@ d0.extension = {
|
|
|
7711
7711
|
type: Rt.RendererSystem,
|
|
7712
7712
|
name: "objectRenderer"
|
|
7713
7713
|
};
|
|
7714
|
-
|
|
7714
|
+
Gt.add(d0);
|
|
7715
7715
|
const Th = class extends qI {
|
|
7716
7716
|
constructor(e) {
|
|
7717
|
-
super(), this.type = um.WEBGL, e = Object.assign({},
|
|
7717
|
+
super(), this.type = um.WEBGL, e = Object.assign({}, Tt.RENDER_OPTIONS, e), this.gl = null, this.CONTEXT_UID = 0, this.globalUniforms = new xr({
|
|
7718
7718
|
projectionMatrix: new Fe()
|
|
7719
7719
|
}, !0);
|
|
7720
7720
|
const t = {
|
|
@@ -7848,15 +7848,15 @@ ki.extension = {
|
|
|
7848
7848
|
};
|
|
7849
7849
|
ki.__plugins = {};
|
|
7850
7850
|
ki.__systems = {};
|
|
7851
|
-
|
|
7852
|
-
|
|
7853
|
-
|
|
7851
|
+
Gt.handleByMap(Rt.RendererPlugin, ki.__plugins);
|
|
7852
|
+
Gt.handleByMap(Rt.RendererSystem, ki.__systems);
|
|
7853
|
+
Gt.add(ki);
|
|
7854
7854
|
class p0 extends Es {
|
|
7855
7855
|
constructor(t, r) {
|
|
7856
7856
|
const { width: n, height: s } = r || {};
|
|
7857
7857
|
super(n, s), this.items = [], this.itemDirtyIds = [];
|
|
7858
7858
|
for (let a = 0; a < t; a++) {
|
|
7859
|
-
const u = new
|
|
7859
|
+
const u = new Lt();
|
|
7860
7860
|
this.items.push(u), this.itemDirtyIds.push(-2);
|
|
7861
7861
|
}
|
|
7862
7862
|
this.length = t, this._load = null, this.baseTexture = null;
|
|
@@ -7984,7 +7984,7 @@ class mi extends hn {
|
|
|
7984
7984
|
return;
|
|
7985
7985
|
}
|
|
7986
7986
|
try {
|
|
7987
|
-
const n = await
|
|
7987
|
+
const n = await Tt.ADAPTER.fetch(this.url, {
|
|
7988
7988
|
mode: this.crossOrigin ? "cors" : "no-cors"
|
|
7989
7989
|
});
|
|
7990
7990
|
if (this.destroyed)
|
|
@@ -8015,12 +8015,12 @@ class mi extends hn {
|
|
|
8015
8015
|
return !!globalThis.createImageBitmap && typeof ImageBitmap < "u" && (typeof t == "string" || t instanceof ImageBitmap);
|
|
8016
8016
|
}
|
|
8017
8017
|
static get EMPTY() {
|
|
8018
|
-
return mi._EMPTY = mi._EMPTY ??
|
|
8018
|
+
return mi._EMPTY = mi._EMPTY ?? Tt.ADAPTER.createCanvas(0, 0), mi._EMPTY;
|
|
8019
8019
|
}
|
|
8020
8020
|
}
|
|
8021
8021
|
const Ka = class extends hn {
|
|
8022
8022
|
constructor(e, t) {
|
|
8023
|
-
t = t || {}, super(
|
|
8023
|
+
t = t || {}, super(Tt.ADAPTER.createCanvas()), this._width = 0, this._height = 0, this.svg = e, this.scale = t.scale || 1, this._overrideWidth = t.width, this._overrideHeight = t.height, this._resolve = null, this._crossorigin = t.crossorigin, this._load = null, t.autoLoad !== !1 && this.load();
|
|
8024
8024
|
}
|
|
8025
8025
|
load() {
|
|
8026
8026
|
return this._load ? this._load : (this._load = new Promise((e) => {
|
|
@@ -8190,7 +8190,7 @@ void main(void)
|
|
|
8190
8190
|
gl_FragColor = c * alpha;
|
|
8191
8191
|
}
|
|
8192
8192
|
`;
|
|
8193
|
-
let rP = class extends
|
|
8193
|
+
let rP = class extends Ut {
|
|
8194
8194
|
constructor(t) {
|
|
8195
8195
|
super(tP, eP), this.gamma = 1, this.saturation = 1, this.contrast = 1, this.brightness = 1, this.red = 1, this.green = 1, this.blue = 1, this.alpha = 1, Object.assign(this, t);
|
|
8196
8196
|
}
|
|
@@ -8264,7 +8264,7 @@ void main(void)
|
|
|
8264
8264
|
gl_FragColor = color;
|
|
8265
8265
|
}
|
|
8266
8266
|
`;
|
|
8267
|
-
let Rs = class extends
|
|
8267
|
+
let Rs = class extends Ut {
|
|
8268
8268
|
constructor(t = 4, r = 3, n = !1) {
|
|
8269
8269
|
super(nP, n ? sP : iP), this._kernels = [], this._blur = 4, this._quality = 3, this.uniforms.uOffset = new Float32Array(2), this._pixelSize = new Wt(), this.pixelSize = 1, this._clamp = n, Array.isArray(t) ? this.kernels = t : (this._blur = t, this.quality = r);
|
|
8270
8270
|
}
|
|
@@ -8356,7 +8356,7 @@ void main() {
|
|
|
8356
8356
|
}
|
|
8357
8357
|
}
|
|
8358
8358
|
`;
|
|
8359
|
-
let oP = class extends
|
|
8359
|
+
let oP = class extends Ut {
|
|
8360
8360
|
constructor(t = 0.5) {
|
|
8361
8361
|
super(m0, aP), this.threshold = t;
|
|
8362
8362
|
}
|
|
@@ -8382,9 +8382,9 @@ void main() {
|
|
|
8382
8382
|
gl_FragColor = color + bloomColor;
|
|
8383
8383
|
}
|
|
8384
8384
|
`;
|
|
8385
|
-
const v0 = class extends
|
|
8385
|
+
const v0 = class extends Ut {
|
|
8386
8386
|
constructor(t) {
|
|
8387
|
-
super(m0, uP), this.bloomScale = 1, this.brightness = 1, this._resolution =
|
|
8387
|
+
super(m0, uP), this.bloomScale = 1, this.brightness = 1, this._resolution = Tt.FILTER_RESOLUTION, typeof t == "number" && (t = { threshold: t });
|
|
8388
8388
|
const r = Object.assign(v0.defaults, t);
|
|
8389
8389
|
this.bloomScale = r.bloomScale, this.brightness = r.brightness;
|
|
8390
8390
|
const { kernels: n, blur: s, quality: a, pixelSize: u, resolution: l } = r;
|
|
@@ -8434,7 +8434,7 @@ const v0 = class extends $t {
|
|
|
8434
8434
|
}
|
|
8435
8435
|
};
|
|
8436
8436
|
let lP = v0;
|
|
8437
|
-
lP.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution:
|
|
8437
|
+
lP.defaults = { threshold: 0.5, bloomScale: 1, brightness: 1, kernels: null, blur: 8, quality: 4, pixelSize: 1, resolution: Tt.FILTER_RESOLUTION };
|
|
8438
8438
|
var hP = `attribute vec2 aVertexPosition;
|
|
8439
8439
|
attribute vec2 aTextureCoord;
|
|
8440
8440
|
|
|
@@ -8480,7 +8480,7 @@ void main()
|
|
|
8480
8480
|
gl_FragColor = color;
|
|
8481
8481
|
}
|
|
8482
8482
|
`;
|
|
8483
|
-
const y0 = class extends
|
|
8483
|
+
const y0 = class extends Ut {
|
|
8484
8484
|
constructor(t) {
|
|
8485
8485
|
super(hP, cP), this.uniforms.dimensions = new Float32Array(2), Object.assign(this, y0.defaults, t);
|
|
8486
8486
|
}
|
|
@@ -8739,18 +8739,18 @@ zn.parse = function() {
|
|
|
8739
8739
|
function a() {
|
|
8740
8740
|
return u("linear-gradient", e.linearGradient, c) || u("repeating-linear-gradient", e.repeatingLinearGradient, c) || u("radial-gradient", e.radialGradient, m) || u("repeating-radial-gradient", e.repeatingRadialGradient, m);
|
|
8741
8741
|
}
|
|
8742
|
-
function u(G, et,
|
|
8742
|
+
function u(G, et, pt) {
|
|
8743
8743
|
return l(et, function(H) {
|
|
8744
|
-
var Y =
|
|
8745
|
-
return Y && (
|
|
8744
|
+
var Y = pt();
|
|
8745
|
+
return Y && (xt(e.comma) || r("Missing comma before color stops")), { type: G, orientation: Y, colorStops: A(I) };
|
|
8746
8746
|
});
|
|
8747
8747
|
}
|
|
8748
8748
|
function l(G, et) {
|
|
8749
|
-
var
|
|
8750
|
-
if (
|
|
8751
|
-
|
|
8752
|
-
var H = et(
|
|
8753
|
-
return
|
|
8749
|
+
var pt = xt(G);
|
|
8750
|
+
if (pt) {
|
|
8751
|
+
xt(e.startCall) || r("Missing (");
|
|
8752
|
+
var H = et(pt);
|
|
8753
|
+
return xt(e.endCall) || r("Missing )"), H;
|
|
8754
8754
|
}
|
|
8755
8755
|
}
|
|
8756
8756
|
function c() {
|
|
@@ -8763,8 +8763,8 @@ zn.parse = function() {
|
|
|
8763
8763
|
return j("angular", e.angleValue, 1);
|
|
8764
8764
|
}
|
|
8765
8765
|
function m() {
|
|
8766
|
-
var G, et = g(),
|
|
8767
|
-
return et && (G = [], G.push(et),
|
|
8766
|
+
var G, et = g(), pt;
|
|
8767
|
+
return et && (G = [], G.push(et), pt = t, xt(e.comma) && (et = g(), et ? G.push(et) : t = pt)), G;
|
|
8768
8768
|
}
|
|
8769
8769
|
function g() {
|
|
8770
8770
|
var G = x() || y();
|
|
@@ -8774,8 +8774,8 @@ zn.parse = function() {
|
|
|
8774
8774
|
var et = S();
|
|
8775
8775
|
if (et) {
|
|
8776
8776
|
G = et;
|
|
8777
|
-
var
|
|
8778
|
-
|
|
8777
|
+
var pt = T();
|
|
8778
|
+
pt && (G.at = pt);
|
|
8779
8779
|
} else {
|
|
8780
8780
|
var H = w();
|
|
8781
8781
|
H && (G = { type: "default-radial", at: H });
|
|
@@ -8809,11 +8809,11 @@ zn.parse = function() {
|
|
|
8809
8809
|
return { x: Q(), y: Q() };
|
|
8810
8810
|
}
|
|
8811
8811
|
function A(G) {
|
|
8812
|
-
var et = G(),
|
|
8812
|
+
var et = G(), pt = [];
|
|
8813
8813
|
if (et)
|
|
8814
|
-
for (
|
|
8815
|
-
et = G(), et ?
|
|
8816
|
-
return
|
|
8814
|
+
for (pt.push(et); xt(e.comma); )
|
|
8815
|
+
et = G(), et ? pt.push(et) : r("One extra comma");
|
|
8816
|
+
return pt;
|
|
8817
8817
|
}
|
|
8818
8818
|
function I() {
|
|
8819
8819
|
var G = N();
|
|
@@ -8839,27 +8839,27 @@ zn.parse = function() {
|
|
|
8839
8839
|
});
|
|
8840
8840
|
}
|
|
8841
8841
|
function X() {
|
|
8842
|
-
return
|
|
8842
|
+
return xt(e.number)[1];
|
|
8843
8843
|
}
|
|
8844
8844
|
function Q() {
|
|
8845
|
-
return j("%", e.percentageValue, 1) ||
|
|
8845
|
+
return j("%", e.percentageValue, 1) || it() || V();
|
|
8846
8846
|
}
|
|
8847
|
-
function
|
|
8847
|
+
function it() {
|
|
8848
8848
|
return j("position-keyword", e.positionKeywords, 1);
|
|
8849
8849
|
}
|
|
8850
8850
|
function V() {
|
|
8851
8851
|
return j("px", e.pixelValue, 1) || j("em", e.emValue, 1);
|
|
8852
8852
|
}
|
|
8853
|
-
function j(G, et,
|
|
8854
|
-
var H =
|
|
8853
|
+
function j(G, et, pt) {
|
|
8854
|
+
var H = xt(et);
|
|
8855
8855
|
if (H)
|
|
8856
|
-
return { type: G, value: H[
|
|
8856
|
+
return { type: G, value: H[pt] };
|
|
8857
8857
|
}
|
|
8858
|
-
function
|
|
8859
|
-
var et,
|
|
8860
|
-
return
|
|
8858
|
+
function xt(G) {
|
|
8859
|
+
var et, pt;
|
|
8860
|
+
return pt = /^[\n\r\t\s]+/.exec(t), pt && Ft(pt[0].length), et = G.exec(t), et && Ft(et[0].length), et;
|
|
8861
8861
|
}
|
|
8862
|
-
function
|
|
8862
|
+
function Ft(G) {
|
|
8863
8863
|
t = t.substr(G);
|
|
8864
8864
|
}
|
|
8865
8865
|
return function(G) {
|
|
@@ -9043,7 +9043,7 @@ const og = 90;
|
|
|
9043
9043
|
function LP(e) {
|
|
9044
9044
|
return [...e].sort((t, r) => t.offset - r.offset);
|
|
9045
9045
|
}
|
|
9046
|
-
const ec = class extends
|
|
9046
|
+
const ec = class extends Ut {
|
|
9047
9047
|
constructor(t) {
|
|
9048
9048
|
t && "css" in t && (t = NP(Ul({}, _P(t.css || "")), { alpha: t.alpha, maxColors: t.maxColors }));
|
|
9049
9049
|
const r = Ul(Ul({}, ec.defaults), t);
|
|
@@ -9130,7 +9130,7 @@ void main(void)
|
|
|
9130
9130
|
gl_FragColor.a = c22.a;
|
|
9131
9131
|
}
|
|
9132
9132
|
`;
|
|
9133
|
-
let DP = class extends
|
|
9133
|
+
let DP = class extends Ut {
|
|
9134
9134
|
constructor(t, r = 200, n = 200) {
|
|
9135
9135
|
super(kP, BP), this.uniforms.texelSize = new Float32Array(2), this.uniforms.matrix = new Float32Array(9), t !== void 0 && (this.matrix = t), this.width = r, this.height = n;
|
|
9136
9136
|
}
|
|
@@ -9233,7 +9233,7 @@ void main(void)
|
|
|
9233
9233
|
gl_FragColor.rgb = rgb;
|
|
9234
9234
|
}
|
|
9235
9235
|
`;
|
|
9236
|
-
const x0 = class extends
|
|
9236
|
+
const x0 = class extends Ut {
|
|
9237
9237
|
constructor(t) {
|
|
9238
9238
|
super(UP, $P), this.time = 0, this.seed = 0, this.uniforms.dimensions = new Float32Array(2), Object.assign(this, x0.defaults, t);
|
|
9239
9239
|
}
|
|
@@ -9335,11 +9335,11 @@ void main(void){
|
|
|
9335
9335
|
XP.call(t, r) && lg(e, r, t[r]);
|
|
9336
9336
|
return e;
|
|
9337
9337
|
};
|
|
9338
|
-
const Ah = class extends
|
|
9338
|
+
const Ah = class extends Ut {
|
|
9339
9339
|
constructor(t) {
|
|
9340
|
-
super(), this.angle = 45, this._distance = 5, this._resolution =
|
|
9340
|
+
super(), this.angle = 45, this._distance = 5, this._resolution = Tt.FILTER_RESOLUTION;
|
|
9341
9341
|
const r = t ? hg(hg({}, Ah.defaults), t) : Ah.defaults, { kernels: n, blur: s, quality: a, pixelSize: u, resolution: l } = r;
|
|
9342
|
-
this._offset = new Fn(this._updatePadding, this), this._tintFilter = new
|
|
9342
|
+
this._offset = new Fn(this._updatePadding, this), this._tintFilter = new Ut(zP, HP), this._tintFilter.uniforms.color = new Float32Array(4), this._tintFilter.uniforms.shift = this._offset, this._tintFilter.resolution = l, this._blurFilter = n ? new Rs(n) : new Rs(s, a), this.pixelSize = u, this.resolution = l;
|
|
9343
9343
|
const { shadowOnly: c, rotation: f, distance: p, offset: m, alpha: g, color: x } = r;
|
|
9344
9344
|
this.shadowOnly = c, f !== void 0 && p !== void 0 ? (this.rotation = f, this.distance = p) : this.offset = m, this.alpha = g, this.color = x;
|
|
9345
9345
|
}
|
|
@@ -9416,7 +9416,7 @@ const Ah = class extends $t {
|
|
|
9416
9416
|
}
|
|
9417
9417
|
};
|
|
9418
9418
|
let WP = Ah;
|
|
9419
|
-
WP.defaults = { offset: { x: 4, y: 4 }, color: 0, alpha: 0.5, shadowOnly: !1, kernels: null, blur: 2, quality: 3, pixelSize: 1, resolution:
|
|
9419
|
+
WP.defaults = { offset: { x: 4, y: 4 }, color: 0, alpha: 0.5, shadowOnly: !1, kernels: null, blur: 2, quality: 3, pixelSize: 1, resolution: Tt.FILTER_RESOLUTION };
|
|
9420
9420
|
var qP = `attribute vec2 aVertexPosition;
|
|
9421
9421
|
attribute vec2 aTextureCoord;
|
|
9422
9422
|
|
|
@@ -9525,7 +9525,7 @@ void main(void)
|
|
|
9525
9525
|
gl_FragColor.a = texture2D(uSampler, coord).a;
|
|
9526
9526
|
}
|
|
9527
9527
|
`;
|
|
9528
|
-
const Eh = class extends
|
|
9528
|
+
const Eh = class extends Ut {
|
|
9529
9529
|
constructor(t) {
|
|
9530
9530
|
super(qP, YP), this.offset = 100, this.fillMode = Eh.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 = Ot.from(this._canvas, { scaleMode: Ir.NEAREST }), Object.assign(this, Eh.defaults, t);
|
|
9531
9531
|
}
|
|
@@ -9714,7 +9714,7 @@ void main(void) {
|
|
|
9714
9714
|
}
|
|
9715
9715
|
}
|
|
9716
9716
|
`;
|
|
9717
|
-
const b0 = class extends
|
|
9717
|
+
const b0 = class extends Ut {
|
|
9718
9718
|
constructor(e) {
|
|
9719
9719
|
const t = Object.assign({}, b0.defaults, e), { outerStrength: r, innerStrength: n, color: s, knockout: a, quality: u, alpha: l } = t, c = Math.round(t.distance);
|
|
9720
9720
|
super(KP, ZP.replace(/__ANGLE_STEP_SIZE__/gi, `${(1 / u / c).toFixed(7)}`).replace(/__DIST__/gi, `${c.toFixed(0)}.0`)), this.uniforms.glowColor = new Float32Array([0, 0, 0, 1]), this.uniforms.alpha = 1, Object.assign(this, { color: s, outerStrength: r, innerStrength: n, padding: c, knockout: a, alpha: l });
|
|
@@ -9904,7 +9904,7 @@ void main(void) {
|
|
|
9904
9904
|
|
|
9905
9905
|
}
|
|
9906
9906
|
`;
|
|
9907
|
-
const T0 = class extends
|
|
9907
|
+
const T0 = class extends Ut {
|
|
9908
9908
|
constructor(t) {
|
|
9909
9909
|
super(QP, eM.replace("${perlin}", tM)), this.parallel = !0, this.time = 0, this._angle = 0, this.uniforms.dimensions = new Float32Array(2);
|
|
9910
9910
|
const r = Object.assign(T0.defaults, t);
|
|
@@ -10013,7 +10013,7 @@ void main()
|
|
|
10013
10013
|
gl_FragColor = mix(color, result, uAlpha);
|
|
10014
10014
|
}
|
|
10015
10015
|
`;
|
|
10016
|
-
const w0 = class extends
|
|
10016
|
+
const w0 = class extends Ut {
|
|
10017
10017
|
constructor(e) {
|
|
10018
10018
|
super(nM, iM), this._hue = 0;
|
|
10019
10019
|
const t = Object.assign({}, w0.defaults, e);
|
|
@@ -10168,7 +10168,7 @@ void main()
|
|
|
10168
10168
|
gl_FragColor.rgb = color;
|
|
10169
10169
|
}
|
|
10170
10170
|
`;
|
|
10171
|
-
const S0 = class extends
|
|
10171
|
+
const S0 = class extends Ut {
|
|
10172
10172
|
constructor(t, r = 0) {
|
|
10173
10173
|
super(aM, oM), this.seed = 0, this.uniforms.dimensions = new Float32Array(2), typeof t == "number" ? (this.seed = t, t = void 0) : this.seed = r, Object.assign(this, S0.defaults, t);
|
|
10174
10174
|
}
|
|
@@ -10283,7 +10283,7 @@ void main(void) {
|
|
|
10283
10283
|
gl_FragColor = contentColor + outlineColor;
|
|
10284
10284
|
}
|
|
10285
10285
|
`;
|
|
10286
|
-
const Za = class extends
|
|
10286
|
+
const Za = class extends Ut {
|
|
10287
10287
|
constructor(t = 1, r = 0, n = 0.1, s = 1, a = !1) {
|
|
10288
10288
|
super(lM, hM.replace(/\$\{angleStep\}/, Za.getAngleStep(n))), this._thickness = 1, this._alpha = 1, this._knockout = !1, this.uniforms.uThickness = new Float32Array([0, 0]), this.uniforms.uColor = new Float32Array([0, 0, 0, 1]), this.uniforms.uAlpha = s, this.uniforms.uKnockout = a, Object.assign(this, { thickness: t, color: r, quality: n, alpha: s, knockout: a });
|
|
10289
10289
|
}
|
|
@@ -10377,7 +10377,7 @@ void main(void)
|
|
|
10377
10377
|
gl_FragColor = color * _alpha;
|
|
10378
10378
|
}
|
|
10379
10379
|
`;
|
|
10380
|
-
const A0 = class extends
|
|
10380
|
+
const A0 = class extends Ut {
|
|
10381
10381
|
constructor(t) {
|
|
10382
10382
|
super(cM, fM), this.time = 0, this.uniforms.amplitude = new Float32Array(2), this.uniforms.waveLength = new Float32Array(2), this.uniforms.alpha = new Float32Array(2), this.uniforms.dimensions = new Float32Array(2), Object.assign(this, A0.defaults, t);
|
|
10383
10383
|
}
|
|
@@ -10499,7 +10499,7 @@ void main()
|
|
|
10499
10499
|
gl_FragColor = color;
|
|
10500
10500
|
}
|
|
10501
10501
|
`;
|
|
10502
|
-
const E0 = class extends
|
|
10502
|
+
const E0 = class extends Ut {
|
|
10503
10503
|
constructor(t = [0, 0], r, n = 0) {
|
|
10504
10504
|
super(pM, gM), this.center = t, Object.assign(this, E0.defaults, r), this.time = n;
|
|
10505
10505
|
}
|
|
@@ -10596,7 +10596,7 @@ void main(void)
|
|
|
10596
10596
|
gl_FragColor = color;
|
|
10597
10597
|
}
|
|
10598
10598
|
`;
|
|
10599
|
-
let C0 = class extends
|
|
10599
|
+
let C0 = class extends Ut {
|
|
10600
10600
|
constructor(t) {
|
|
10601
10601
|
var r, n;
|
|
10602
10602
|
super(vM, yM), this.uniforms.blur = t.blur, this.uniforms.gradientBlur = t.gradientBlur, this.uniforms.start = (r = t.start) != null ? r : new Wt(0, window.innerHeight / 2), this.uniforms.end = (n = t.end) != null ? n : new Wt(600, window.innerHeight / 2), this.uniforms.delta = new Wt(30, 30), this.uniforms.texSize = new Wt(window.innerWidth, window.innerHeight), this.updateDelta();
|
|
@@ -10639,7 +10639,7 @@ let C0 = class extends $t {
|
|
|
10639
10639
|
this.uniforms.delta.x = -r / n, this.uniforms.delta.y = t / n;
|
|
10640
10640
|
}
|
|
10641
10641
|
};
|
|
10642
|
-
const R0 = class extends
|
|
10642
|
+
const R0 = class extends Ut {
|
|
10643
10643
|
constructor(t, r, n, s) {
|
|
10644
10644
|
super(), typeof t == "number" && (Pt("5.3.0", "TiltShiftFilter constructor arguments is deprecated, use options."), t = { blur: t, gradientBlur: r, start: n, end: s }), t = Object.assign({}, R0.defaults, t), this.tiltShiftXFilter = new _M(t), this.tiltShiftYFilter = new xM(t);
|
|
10645
10645
|
}
|
|
@@ -10742,7 +10742,7 @@ void main(void)
|
|
|
10742
10742
|
|
|
10743
10743
|
}
|
|
10744
10744
|
`;
|
|
10745
|
-
const I0 = class extends
|
|
10745
|
+
const I0 = class extends Ut {
|
|
10746
10746
|
constructor(e) {
|
|
10747
10747
|
super(TM, wM), Object.assign(this, I0.defaults, e);
|
|
10748
10748
|
}
|
|
@@ -10873,7 +10873,7 @@ void main() {
|
|
|
10873
10873
|
t.indexOf(n) < 0 && RM.call(e, n) && (r[n] = e[n]);
|
|
10874
10874
|
return r;
|
|
10875
10875
|
};
|
|
10876
|
-
const P0 = class extends
|
|
10876
|
+
const P0 = class extends Ut {
|
|
10877
10877
|
constructor(e) {
|
|
10878
10878
|
const t = Object.assign(P0.defaults, e), { maxKernelSize: r } = t, n = IM(t, ["maxKernelSize"]);
|
|
10879
10879
|
super(AM, EM.replace("${maxKernelSize}", r.toFixed(1))), Object.assign(this, n);
|
|
@@ -10996,8 +10996,8 @@ const ks = (e) => {
|
|
|
10996
10996
|
return e.uniforms.uNightVisionMatrix = t, {
|
|
10997
10997
|
nightVisionFilter: e
|
|
10998
10998
|
};
|
|
10999
|
-
}, OM =
|
|
11000
|
-
const r =
|
|
10999
|
+
}, OM = nt.forwardRef((e, t) => {
|
|
11000
|
+
const r = mt(null), n = mt(null), {
|
|
11001
11001
|
src: s,
|
|
11002
11002
|
visible: a,
|
|
11003
11003
|
transformation: {
|
|
@@ -11017,9 +11017,9 @@ const ks = (e) => {
|
|
|
11017
11017
|
blurFilter: R,
|
|
11018
11018
|
adjustmentFilter: A
|
|
11019
11019
|
} = ks(m), { nightVisionFilter: I } = MM();
|
|
11020
|
-
return
|
|
11020
|
+
return nt.useEffect(() => () => {
|
|
11021
11021
|
console.log("PixiImageSprite unmounting");
|
|
11022
|
-
}, []), /* @__PURE__ */
|
|
11022
|
+
}, []), /* @__PURE__ */ kt.jsx(Ni, { ...e, ref: t, children: /* @__PURE__ */ kt.jsx(Se, { ref: n, children: /* @__PURE__ */ kt.jsx(
|
|
11023
11023
|
Mh,
|
|
11024
11024
|
{
|
|
11025
11025
|
image: s,
|
|
@@ -11052,10 +11052,10 @@ const po = {
|
|
|
11052
11052
|
build(e) {
|
|
11053
11053
|
const t = e.points;
|
|
11054
11054
|
let r, n, s, a, u, l;
|
|
11055
|
-
if (e.type ===
|
|
11055
|
+
if (e.type === xe.CIRC) {
|
|
11056
11056
|
const y = e.shape;
|
|
11057
11057
|
r = y.x, n = y.y, u = l = y.radius, s = a = 0;
|
|
11058
|
-
} else if (e.type ===
|
|
11058
|
+
} else if (e.type === xe.ELIP) {
|
|
11059
11059
|
const y = e.shape;
|
|
11060
11060
|
r = y.x, n = y.y, u = y.width, l = y.height, s = a = 0;
|
|
11061
11061
|
} else {
|
|
@@ -11097,7 +11097,7 @@ const po = {
|
|
|
11097
11097
|
let a = n.length / 2;
|
|
11098
11098
|
const u = a;
|
|
11099
11099
|
let l, c;
|
|
11100
|
-
if (e.type !==
|
|
11100
|
+
if (e.type !== xe.RREC) {
|
|
11101
11101
|
const p = e.shape;
|
|
11102
11102
|
l = p.x, c = p.y;
|
|
11103
11103
|
} else {
|
|
@@ -11191,13 +11191,13 @@ class pg {
|
|
|
11191
11191
|
const l = u[u.length - 2], f = u[u.length - 1] - r, p = l - t, m = s - r, g = n - t, x = Math.abs(f * g - p * m);
|
|
11192
11192
|
if (x < 1e-8 || a === 0)
|
|
11193
11193
|
return (u[u.length - 2] !== t || u[u.length - 1] !== r) && u.push(t, r), null;
|
|
11194
|
-
const y = f * f + p * p, S = m * m + g * g, T = f * m + p * g, w = a * Math.sqrt(y) / x, R = a * Math.sqrt(S) / x, A = w * T / y, I = R * T / S, N = w * g + R * p, B = w * m + R * f, L = p * (R + A), O = f * (R + A), z = g * (w + I), X = m * (w + I), Q = Math.atan2(O - B, L - N),
|
|
11194
|
+
const y = f * f + p * p, S = m * m + g * g, T = f * m + p * g, w = a * Math.sqrt(y) / x, R = a * Math.sqrt(S) / x, A = w * T / y, I = R * T / S, N = w * g + R * p, B = w * m + R * f, L = p * (R + A), O = f * (R + A), z = g * (w + I), X = m * (w + I), Q = Math.atan2(O - B, L - N), it = Math.atan2(X - B, z - N);
|
|
11195
11195
|
return {
|
|
11196
11196
|
cx: N + t,
|
|
11197
11197
|
cy: B + r,
|
|
11198
11198
|
radius: a,
|
|
11199
11199
|
startAngle: Q,
|
|
11200
|
-
endAngle:
|
|
11200
|
+
endAngle: it,
|
|
11201
11201
|
anticlockwise: p * m > g * f
|
|
11202
11202
|
};
|
|
11203
11203
|
}
|
|
@@ -11272,7 +11272,7 @@ function kM(e, t) {
|
|
|
11272
11272
|
const s = t.closePointEps;
|
|
11273
11273
|
if (n.length === 0)
|
|
11274
11274
|
return;
|
|
11275
|
-
const a = e.lineStyle, u = new Wt(n[0], n[1]), l = new Wt(n[n.length - 2], n[n.length - 1]), c = r.type !==
|
|
11275
|
+
const a = e.lineStyle, u = new Wt(n[0], n[1]), l = new Wt(n[n.length - 2], n[n.length - 1]), c = r.type !== xe.POLY || r.closeStroke, f = Math.abs(u.x - l.x) < s && Math.abs(u.y - l.y) < s;
|
|
11276
11276
|
if (c) {
|
|
11277
11277
|
n = n.slice(), f && (n.pop(), n.pop(), l.set(n[n.length - 2], n[n.length - 1]));
|
|
11278
11278
|
const G = (u.x + l.x) * 0.5, et = (l.y + u.y) * 0.5;
|
|
@@ -11283,40 +11283,40 @@ function kM(e, t) {
|
|
|
11283
11283
|
const x = p.length / 2, y = a.width / 2, S = y * y, T = a.miterLimit * a.miterLimit;
|
|
11284
11284
|
let w = n[0], R = n[1], A = n[2], I = n[3], N = 0, B = 0, L = -(R - I), O = w - A, z = 0, X = 0, Q = Math.sqrt(L * L + O * O);
|
|
11285
11285
|
L /= Q, O /= Q, L *= y, O *= y;
|
|
11286
|
-
const
|
|
11286
|
+
const it = a.alignment, V = (1 - it) * 2, j = it * 2;
|
|
11287
11287
|
c || (a.cap === Nn.ROUND ? g += Sn(w - L * (V - j) * 0.5, R - O * (V - j) * 0.5, w - L * V, R - O * V, w + L * j, R + O * j, p, !0) + 2 : a.cap === Nn.SQUARE && (g += gg(w, R, L, O, V, j, !0, p))), p.push(w - L * V, R - O * V, w + L * j, R + O * j);
|
|
11288
11288
|
for (let G = 1; G < m - 1; ++G) {
|
|
11289
11289
|
w = n[(G - 1) * 2], R = n[(G - 1) * 2 + 1], A = n[G * 2], I = n[G * 2 + 1], N = n[(G + 1) * 2], B = n[(G + 1) * 2 + 1], L = -(R - I), O = w - A, Q = Math.sqrt(L * L + O * O), L /= Q, O /= Q, L *= y, O *= y, z = -(I - B), X = A - N, Q = Math.sqrt(z * z + X * X), z /= Q, X /= Q, z *= y, X *= y;
|
|
11290
|
-
const et = A - w,
|
|
11290
|
+
const et = A - w, pt = R - I, H = A - N, Y = B - I, ht = et * H + pt * Y, yt = pt * H - Y * et, _t = yt < 0;
|
|
11291
11291
|
if (Math.abs(yt) < 1e-3 * Math.abs(ht)) {
|
|
11292
11292
|
p.push(A - L * V, I - O * V, A + L * j, I + O * j), ht >= 0 && (a.join === dr.ROUND ? g += Sn(A, I, A - L * V, I - O * V, A - z * V, I - X * V, p, !1) + 4 : g += 2, p.push(A - z * j, I - X * j, A + z * V, I + X * V));
|
|
11293
11293
|
continue;
|
|
11294
11294
|
}
|
|
11295
|
-
const It = (-L + w) * (-O + I) - (-L + A) * (-O + R), Mt = (-z + N) * (-X + I) - (-z + A) * (-X + B),
|
|
11295
|
+
const It = (-L + w) * (-O + I) - (-L + A) * (-O + R), Mt = (-z + N) * (-X + I) - (-z + A) * (-X + B), zt = (et * Mt - H * It) / yt, Ht = (Y * It - pt * Mt) / yt, qt = (zt - A) * (zt - A) + (Ht - I) * (Ht - I), Z = A + (zt - A) * V, W = I + (Ht - I) * V, st = A - (zt - A) * j, At = I - (Ht - I) * j, Et = Math.min(et * et + pt * pt, H * H + Y * Y), Yt = _t ? V : j, ir = Et + Yt * Yt * S, Ce = qt <= ir;
|
|
11296
11296
|
let Fr = a.join;
|
|
11297
11297
|
if (Fr === dr.MITER && qt / S > T && (Fr = dr.BEVEL), Ce)
|
|
11298
11298
|
switch (Fr) {
|
|
11299
11299
|
case dr.MITER: {
|
|
11300
|
-
p.push(Z, W, st,
|
|
11300
|
+
p.push(Z, W, st, At);
|
|
11301
11301
|
break;
|
|
11302
11302
|
}
|
|
11303
11303
|
case dr.BEVEL: {
|
|
11304
|
-
|
|
11304
|
+
_t ? p.push(Z, W, A + L * j, I + O * j, Z, W, A + z * j, I + X * j) : p.push(A - L * V, I - O * V, st, At, A - z * V, I - X * V, st, At), g += 2;
|
|
11305
11305
|
break;
|
|
11306
11306
|
}
|
|
11307
11307
|
case dr.ROUND: {
|
|
11308
|
-
|
|
11308
|
+
_t ? (p.push(Z, W, A + L * j, I + O * j), g += Sn(A, I, A + L * j, I + O * j, A + z * j, I + X * j, p, !0) + 4, p.push(Z, W, A + z * j, I + X * j)) : (p.push(A - L * V, I - O * V, st, At), g += Sn(A, I, A - L * V, I - O * V, A - z * V, I - X * V, p, !1) + 4, p.push(A - z * V, I - X * V, st, At));
|
|
11309
11309
|
break;
|
|
11310
11310
|
}
|
|
11311
11311
|
}
|
|
11312
11312
|
else {
|
|
11313
11313
|
switch (p.push(A - L * V, I - O * V, A + L * j, I + O * j), Fr) {
|
|
11314
11314
|
case dr.MITER: {
|
|
11315
|
-
|
|
11315
|
+
_t ? p.push(st, At, st, At) : p.push(Z, W, Z, W), g += 2;
|
|
11316
11316
|
break;
|
|
11317
11317
|
}
|
|
11318
11318
|
case dr.ROUND: {
|
|
11319
|
-
|
|
11319
|
+
_t ? g += Sn(A, I, A + L * j, I + O * j, A + z * j, I + X * j, p, !0) + 2 : g += Sn(A, I, A - L * V, I - O * V, A - z * V, I - X * V, p, !1) + 2;
|
|
11320
11320
|
break;
|
|
11321
11321
|
}
|
|
11322
11322
|
}
|
|
@@ -11324,13 +11324,13 @@ function kM(e, t) {
|
|
|
11324
11324
|
}
|
|
11325
11325
|
}
|
|
11326
11326
|
w = n[(m - 2) * 2], R = n[(m - 2) * 2 + 1], A = n[(m - 1) * 2], I = n[(m - 1) * 2 + 1], L = -(R - I), O = w - A, Q = Math.sqrt(L * L + O * O), L /= Q, O /= Q, L *= y, O *= y, p.push(A - L * V, I - O * V, A + L * j, I + O * j), c || (a.cap === Nn.ROUND ? g += Sn(A - L * (V - j) * 0.5, I - O * (V - j) * 0.5, A - L * V, I - O * V, A + L * j, I + O * j, p, !1) + 2 : a.cap === Nn.SQUARE && (g += gg(A, I, L, O, V, j, !1, p)));
|
|
11327
|
-
const
|
|
11327
|
+
const xt = t.indices, Ft = Ci.epsilon * Ci.epsilon;
|
|
11328
11328
|
for (let G = x; G < g + x - 2; ++G)
|
|
11329
|
-
w = p[G * 2], R = p[G * 2 + 1], A = p[(G + 1) * 2], I = p[(G + 1) * 2 + 1], N = p[(G + 2) * 2], B = p[(G + 2) * 2 + 1], !(Math.abs(w * (I - B) + A * (B - R) + N * (R - I)) <
|
|
11329
|
+
w = p[G * 2], R = p[G * 2 + 1], A = p[(G + 1) * 2], I = p[(G + 1) * 2 + 1], N = p[(G + 2) * 2], B = p[(G + 2) * 2 + 1], !(Math.abs(w * (I - B) + A * (B - R) + N * (R - I)) < Ft) && xt.push(G, G + 1, G + 2);
|
|
11330
11330
|
}
|
|
11331
11331
|
function BM(e, t) {
|
|
11332
11332
|
let r = 0;
|
|
11333
|
-
const n = e.shape, s = e.points || n.points, a = n.type !==
|
|
11333
|
+
const n = e.shape, s = e.points || n.points, a = n.type !== xe.POLY || n.closeStroke;
|
|
11334
11334
|
if (s.length === 0)
|
|
11335
11335
|
return;
|
|
11336
11336
|
const u = t.points, l = t.indices, c = s.length / 2, f = u.length / 2;
|
|
@@ -11357,11 +11357,11 @@ class nc {
|
|
|
11357
11357
|
}
|
|
11358
11358
|
}
|
|
11359
11359
|
const $l = {
|
|
11360
|
-
[
|
|
11361
|
-
[
|
|
11362
|
-
[
|
|
11363
|
-
[
|
|
11364
|
-
[
|
|
11360
|
+
[xe.POLY]: M0,
|
|
11361
|
+
[xe.CIRC]: po,
|
|
11362
|
+
[xe.ELIP]: po,
|
|
11363
|
+
[xe.RECT]: FM,
|
|
11364
|
+
[xe.RREC]: NM
|
|
11365
11365
|
}, vg = [], Ha = [];
|
|
11366
11366
|
class Ch {
|
|
11367
11367
|
constructor() {
|
|
@@ -11789,7 +11789,7 @@ const Rh = class extends Ri {
|
|
|
11789
11789
|
let Ii = Rh;
|
|
11790
11790
|
Ii.defaultSortableChildren = !1;
|
|
11791
11791
|
Ii.prototype.containerUpdateTransform = Ii.prototype.updateTransform;
|
|
11792
|
-
Object.defineProperties(
|
|
11792
|
+
Object.defineProperties(Tt, {
|
|
11793
11793
|
SORTABLE_CHILDREN: {
|
|
11794
11794
|
get() {
|
|
11795
11795
|
return Ii.defaultSortableChildren;
|
|
@@ -11933,7 +11933,7 @@ const li = new Wt(), O0 = class extends Nm {
|
|
|
11933
11933
|
return this.points.length < O0.BATCHABLE_SIZE * 2;
|
|
11934
11934
|
}
|
|
11935
11935
|
buildDrawCalls() {
|
|
11936
|
-
let e = ++
|
|
11936
|
+
let e = ++Lt._globalBatch;
|
|
11937
11937
|
for (let p = 0; p < this.drawCalls.length; p++)
|
|
11938
11938
|
this.drawCalls[p].texArray.clear(), Ha.push(this.drawCalls[p]);
|
|
11939
11939
|
this.drawCalls.length = 0;
|
|
@@ -11946,7 +11946,7 @@ const li = new Wt(), O0 = class extends Nm {
|
|
|
11946
11946
|
const m = this.batches[p], g = 8, x = m.style, y = x.texture.baseTexture;
|
|
11947
11947
|
l !== !!x.native && (l = !!x.native, c = l ? un.LINES : un.TRIANGLES, a = null, s = g, e++), a !== y && (a = y, y._batchEnabled !== e && (s === g && (e++, s = 0, n.size > 0 && (n = Ha.pop(), n || (n = new vh(), n.texArray = new _h()), this.drawCalls.push(n)), n.start = f, n.size = 0, n.texArray.count = 0, n.type = c), y.touched = 1, y._batchEnabled = e, y._batchLocation = s, y.wrapMode = bs.REPEAT, n.texArray.elements[n.texArray.count++] = y, s++)), n.size += m.size, f += m.size, u = y._batchLocation, this.addColors(t, x.color, x.alpha, m.attribSize, m.attribStart), this.addTextureIds(r, u, m.attribSize, m.attribStart);
|
|
11948
11948
|
}
|
|
11949
|
-
|
|
11949
|
+
Lt._globalBatch = e, this.packAttributes();
|
|
11950
11950
|
}
|
|
11951
11951
|
packAttributes() {
|
|
11952
11952
|
const e = this.points, t = this.uvs, r = this.colors, n = this.textureIds, s = new ArrayBuffer(e.length * 3 * 4), a = new Float32Array(s), u = new Uint32Array(s);
|
|
@@ -12189,7 +12189,7 @@ const Gl = {}, Ja = class extends Ii {
|
|
|
12189
12189
|
}
|
|
12190
12190
|
isFastRect() {
|
|
12191
12191
|
const e = this._geometry.graphicsData;
|
|
12192
|
-
return e.length === 1 && e[0].shape.type ===
|
|
12192
|
+
return e.length === 1 && e[0].shape.type === xe.RECT && !e[0].matrix && !e[0].holes.length && !(e[0].lineStyle.visible && e[0].lineStyle.width);
|
|
12193
12193
|
}
|
|
12194
12194
|
_render(e) {
|
|
12195
12195
|
this.finishPoly();
|
|
@@ -12446,15 +12446,15 @@ var GM = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : t
|
|
|
12446
12446
|
});
|
|
12447
12447
|
})(zM);
|
|
12448
12448
|
const HM = /^\s+/, VM = /\s+$/;
|
|
12449
|
-
function
|
|
12450
|
-
if (e = e || "", t = t || {}, e instanceof
|
|
12449
|
+
function rt(e, t) {
|
|
12450
|
+
if (e = e || "", t = t || {}, e instanceof rt)
|
|
12451
12451
|
return e;
|
|
12452
|
-
if (!(this instanceof
|
|
12453
|
-
return new
|
|
12452
|
+
if (!(this instanceof rt))
|
|
12453
|
+
return new rt(e, t);
|
|
12454
12454
|
var r = jM(e);
|
|
12455
12455
|
this._originalInput = e, this._r = r.r, this._g = r.g, this._b = r.b, this._a = r.a, this._roundA = Math.round(100 * this._a) / 100, this._format = t.format || r.format, this._gradientType = t.gradientType, this._r < 1 && (this._r = Math.round(this._r)), this._g < 1 && (this._g = Math.round(this._g)), this._b < 1 && (this._b = Math.round(this._b)), this._ok = r.ok;
|
|
12456
12456
|
}
|
|
12457
|
-
|
|
12457
|
+
rt.prototype = {
|
|
12458
12458
|
isDark: function() {
|
|
12459
12459
|
return this.getBrightness() < 128;
|
|
12460
12460
|
},
|
|
@@ -12540,7 +12540,7 @@ nt.prototype = {
|
|
|
12540
12540
|
toFilter: function(e) {
|
|
12541
12541
|
var t = "#" + bg(this._r, this._g, this._b, this._a), r = t, n = this._gradientType ? "GradientType = 1, " : "";
|
|
12542
12542
|
if (e) {
|
|
12543
|
-
var s =
|
|
12543
|
+
var s = rt(e);
|
|
12544
12544
|
r = "#" + bg(s._r, s._g, s._b, s._a);
|
|
12545
12545
|
}
|
|
12546
12546
|
return "progid:DXImageTransform.Microsoft.gradient(" + n + "startColorstr=" + t + ",endColorstr=" + r + ")";
|
|
@@ -12552,7 +12552,7 @@ nt.prototype = {
|
|
|
12552
12552
|
return s ? e === "name" && this._a === 0 ? this.toName() : this.toRgbString() : (e === "rgb" && (r = this.toRgbString()), e === "prgb" && (r = this.toPercentageRgbString()), (e === "hex" || e === "hex6") && (r = this.toHexString()), e === "hex3" && (r = this.toHexString(!0)), e === "hex4" && (r = this.toHex8String(!0)), e === "hex8" && (r = this.toHex8String()), e === "name" && (r = this.toName()), e === "hsl" && (r = this.toHslString()), e === "hsv" && (r = this.toHsvString()), r || this.toHexString());
|
|
12553
12553
|
},
|
|
12554
12554
|
clone: function() {
|
|
12555
|
-
return
|
|
12555
|
+
return rt(this.toString());
|
|
12556
12556
|
},
|
|
12557
12557
|
_applyModification: function(e, t) {
|
|
12558
12558
|
var r = e.apply(null, [this].concat([].slice.call(t)));
|
|
@@ -12605,14 +12605,14 @@ nt.prototype = {
|
|
|
12605
12605
|
return this._applyCombination(Tg, [4]);
|
|
12606
12606
|
}
|
|
12607
12607
|
};
|
|
12608
|
-
|
|
12608
|
+
rt.fromRatio = function(e, t) {
|
|
12609
12609
|
if (typeof e == "object") {
|
|
12610
12610
|
var r = {};
|
|
12611
12611
|
for (var n in e)
|
|
12612
12612
|
e.hasOwnProperty(n) && (n === "a" ? r[n] = e[n] : r[n] = cs(e[n]));
|
|
12613
12613
|
e = r;
|
|
12614
12614
|
}
|
|
12615
|
-
return
|
|
12615
|
+
return rt(e, t);
|
|
12616
12616
|
};
|
|
12617
12617
|
function jM(e) {
|
|
12618
12618
|
var t = { r: 0, g: 0, b: 0 }, r = 1, n = null, s = null, a = null, u = !1, l = !1;
|
|
@@ -12720,11 +12720,11 @@ function bg(e, t, r, n) {
|
|
|
12720
12720
|
];
|
|
12721
12721
|
return s.join("");
|
|
12722
12722
|
}
|
|
12723
|
-
|
|
12724
|
-
return !e || !t ? !1 :
|
|
12723
|
+
rt.equals = function(e, t) {
|
|
12724
|
+
return !e || !t ? !1 : rt(e).toRgbString() == rt(t).toRgbString();
|
|
12725
12725
|
};
|
|
12726
|
-
|
|
12727
|
-
return
|
|
12726
|
+
rt.random = function() {
|
|
12727
|
+
return rt.fromRatio({
|
|
12728
12728
|
r: Math.random(),
|
|
12729
12729
|
g: Math.random(),
|
|
12730
12730
|
b: Math.random()
|
|
@@ -12732,84 +12732,84 @@ nt.random = function() {
|
|
|
12732
12732
|
};
|
|
12733
12733
|
function KM(e, t) {
|
|
12734
12734
|
t = t === 0 ? 0 : t || 10;
|
|
12735
|
-
var r =
|
|
12736
|
-
return r.s -= t / 100, r.s = Fo(r.s),
|
|
12735
|
+
var r = rt(e).toHsl();
|
|
12736
|
+
return r.s -= t / 100, r.s = Fo(r.s), rt(r);
|
|
12737
12737
|
}
|
|
12738
12738
|
function ZM(e, t) {
|
|
12739
12739
|
t = t === 0 ? 0 : t || 10;
|
|
12740
|
-
var r =
|
|
12741
|
-
return r.s += t / 100, r.s = Fo(r.s),
|
|
12740
|
+
var r = rt(e).toHsl();
|
|
12741
|
+
return r.s += t / 100, r.s = Fo(r.s), rt(r);
|
|
12742
12742
|
}
|
|
12743
12743
|
function JM(e) {
|
|
12744
|
-
return
|
|
12744
|
+
return rt(e).desaturate(100);
|
|
12745
12745
|
}
|
|
12746
12746
|
function QM(e, t) {
|
|
12747
12747
|
t = t === 0 ? 0 : t || 10;
|
|
12748
|
-
var r =
|
|
12749
|
-
return r.l += t / 100, r.l = Fo(r.l),
|
|
12748
|
+
var r = rt(e).toHsl();
|
|
12749
|
+
return r.l += t / 100, r.l = Fo(r.l), rt(r);
|
|
12750
12750
|
}
|
|
12751
12751
|
function tO(e, t) {
|
|
12752
12752
|
t = t === 0 ? 0 : t || 10;
|
|
12753
|
-
var r =
|
|
12754
|
-
return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(t / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(t / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(t / 100)))),
|
|
12753
|
+
var r = rt(e).toRgb();
|
|
12754
|
+
return r.r = Math.max(0, Math.min(255, r.r - Math.round(255 * -(t / 100)))), r.g = Math.max(0, Math.min(255, r.g - Math.round(255 * -(t / 100)))), r.b = Math.max(0, Math.min(255, r.b - Math.round(255 * -(t / 100)))), rt(r);
|
|
12755
12755
|
}
|
|
12756
12756
|
function eO(e, t) {
|
|
12757
12757
|
t = t === 0 ? 0 : t || 10;
|
|
12758
|
-
var r =
|
|
12759
|
-
return r.l -= t / 100, r.l = Fo(r.l),
|
|
12758
|
+
var r = rt(e).toHsl();
|
|
12759
|
+
return r.l -= t / 100, r.l = Fo(r.l), rt(r);
|
|
12760
12760
|
}
|
|
12761
12761
|
function rO(e, t) {
|
|
12762
|
-
var r =
|
|
12763
|
-
return r.h = n < 0 ? 360 + n : n,
|
|
12762
|
+
var r = rt(e).toHsl(), n = (r.h + t) % 360;
|
|
12763
|
+
return r.h = n < 0 ? 360 + n : n, rt(r);
|
|
12764
12764
|
}
|
|
12765
12765
|
function nO(e) {
|
|
12766
|
-
var t =
|
|
12767
|
-
return t.h = (t.h + 180) % 360,
|
|
12766
|
+
var t = rt(e).toHsl();
|
|
12767
|
+
return t.h = (t.h + 180) % 360, rt(t);
|
|
12768
12768
|
}
|
|
12769
12769
|
function Tg(e, t) {
|
|
12770
12770
|
if (isNaN(t) || t <= 0)
|
|
12771
12771
|
throw new Error("Argument to polyad must be a positive number");
|
|
12772
|
-
for (var r =
|
|
12773
|
-
n.push(
|
|
12772
|
+
for (var r = rt(e).toHsl(), n = [rt(e)], s = 360 / t, a = 1; a < t; a++)
|
|
12773
|
+
n.push(rt({ h: (r.h + a * s) % 360, s: r.s, l: r.l }));
|
|
12774
12774
|
return n;
|
|
12775
12775
|
}
|
|
12776
12776
|
function iO(e) {
|
|
12777
|
-
var t =
|
|
12777
|
+
var t = rt(e).toHsl(), r = t.h;
|
|
12778
12778
|
return [
|
|
12779
|
-
|
|
12780
|
-
|
|
12781
|
-
|
|
12779
|
+
rt(e),
|
|
12780
|
+
rt({ h: (r + 72) % 360, s: t.s, l: t.l }),
|
|
12781
|
+
rt({ h: (r + 216) % 360, s: t.s, l: t.l })
|
|
12782
12782
|
];
|
|
12783
12783
|
}
|
|
12784
12784
|
function sO(e, t, r) {
|
|
12785
12785
|
t = t || 6, r = r || 30;
|
|
12786
|
-
var n =
|
|
12786
|
+
var n = rt(e).toHsl(), s = 360 / r, a = [rt(e)];
|
|
12787
12787
|
for (n.h = (n.h - (s * t >> 1) + 720) % 360; --t; )
|
|
12788
|
-
n.h = (n.h + s) % 360, a.push(
|
|
12788
|
+
n.h = (n.h + s) % 360, a.push(rt(n));
|
|
12789
12789
|
return a;
|
|
12790
12790
|
}
|
|
12791
12791
|
function aO(e, t) {
|
|
12792
12792
|
t = t || 6;
|
|
12793
|
-
for (var r =
|
|
12794
|
-
u.push(
|
|
12793
|
+
for (var r = rt(e).toHsv(), n = r.h, s = r.s, a = r.v, u = [], l = 1 / t; t--; )
|
|
12794
|
+
u.push(rt({ h: n, s, v: a })), a = (a + l) % 1;
|
|
12795
12795
|
return u;
|
|
12796
12796
|
}
|
|
12797
|
-
|
|
12797
|
+
rt.mix = function(e, t, r) {
|
|
12798
12798
|
r = r === 0 ? 0 : r || 50;
|
|
12799
|
-
var n =
|
|
12799
|
+
var n = rt(e).toRgb(), s = rt(t).toRgb(), a = r / 100, u = {
|
|
12800
12800
|
r: (s.r - n.r) * a + n.r,
|
|
12801
12801
|
g: (s.g - n.g) * a + n.g,
|
|
12802
12802
|
b: (s.b - n.b) * a + n.b,
|
|
12803
12803
|
a: (s.a - n.a) * a + n.a
|
|
12804
12804
|
};
|
|
12805
|
-
return
|
|
12805
|
+
return rt(u);
|
|
12806
12806
|
};
|
|
12807
|
-
|
|
12808
|
-
var r =
|
|
12807
|
+
rt.readability = function(e, t) {
|
|
12808
|
+
var r = rt(e), n = rt(t);
|
|
12809
12809
|
return (Math.max(r.getLuminance(), n.getLuminance()) + 0.05) / (Math.min(r.getLuminance(), n.getLuminance()) + 0.05);
|
|
12810
12810
|
};
|
|
12811
|
-
|
|
12812
|
-
var n =
|
|
12811
|
+
rt.isReadable = function(e, t, r) {
|
|
12812
|
+
var n = rt.readability(e, t), s, a;
|
|
12813
12813
|
switch (a = !1, s = fO(r), s.level + s.size) {
|
|
12814
12814
|
case "AAsmall":
|
|
12815
12815
|
case "AAAlarge":
|
|
@@ -12824,17 +12824,17 @@ nt.isReadable = function(e, t, r) {
|
|
|
12824
12824
|
}
|
|
12825
12825
|
return a;
|
|
12826
12826
|
};
|
|
12827
|
-
|
|
12827
|
+
rt.mostReadable = function(e, t, r) {
|
|
12828
12828
|
var n = null, s = 0, a, u, l, c;
|
|
12829
12829
|
r = r || {}, u = r.includeFallbackColors, l = r.level, c = r.size;
|
|
12830
12830
|
for (var f = 0; f < t.length; f++)
|
|
12831
|
-
a =
|
|
12832
|
-
return
|
|
12831
|
+
a = rt.readability(e, t[f]), a > s && (s = a, n = rt(t[f]));
|
|
12832
|
+
return rt.isReadable(e, n, {
|
|
12833
12833
|
level: l,
|
|
12834
12834
|
size: c
|
|
12835
|
-
}) || !u ? n : (r.includeFallbackColors = !1,
|
|
12835
|
+
}) || !u ? n : (r.includeFallbackColors = !1, rt.mostReadable(e, ["#fff", "#000"], r));
|
|
12836
12836
|
};
|
|
12837
|
-
var Ph =
|
|
12837
|
+
var Ph = rt.names = {
|
|
12838
12838
|
aliceblue: "f0f8ff",
|
|
12839
12839
|
antiquewhite: "faebd7",
|
|
12840
12840
|
aqua: "0ff",
|
|
@@ -12984,7 +12984,7 @@ var Ph = nt.names = {
|
|
|
12984
12984
|
whitesmoke: "f5f5f5",
|
|
12985
12985
|
yellow: "ff0",
|
|
12986
12986
|
yellowgreen: "9acd32"
|
|
12987
|
-
}, oO =
|
|
12987
|
+
}, oO = rt.hexNames = uO(Ph);
|
|
12988
12988
|
function uO(e) {
|
|
12989
12989
|
var t = {};
|
|
12990
12990
|
for (var r in e)
|
|
@@ -13145,11 +13145,11 @@ var dO = function() {
|
|
|
13145
13145
|
Math.abs(1 - X) < 1e-7 && (X = 1);
|
|
13146
13146
|
var Q = Math.max(Math.ceil(X), 1);
|
|
13147
13147
|
z /= Q;
|
|
13148
|
-
for (var
|
|
13148
|
+
for (var it = 0; it < Q; it++)
|
|
13149
13149
|
y.push(pO(O, z)), O += z;
|
|
13150
13150
|
return y.map(function(V) {
|
|
13151
|
-
var j = zl(V[0], u, l, T, S, B, L),
|
|
13152
|
-
return { x1:
|
|
13151
|
+
var j = zl(V[0], u, l, T, S, B, L), xt = j.x, Ft = j.y, G = zl(V[1], u, l, T, S, B, L), et = G.x, pt = G.y, H = zl(V[2], u, l, T, S, B, L), Y = H.x, ht = H.y;
|
|
13152
|
+
return { x1: xt, y1: Ft, x2: et, y2: pt, x: Y, y: ht };
|
|
13153
13153
|
});
|
|
13154
13154
|
};
|
|
13155
13155
|
class mO extends sc {
|
|
@@ -13217,7 +13217,7 @@ class mO extends sc {
|
|
|
13217
13217
|
_hexToUint(t) {
|
|
13218
13218
|
if (t[0] === "#")
|
|
13219
13219
|
return t = t.substr(1), t.length === 3 && (t = t.replace(/([a-f0-9])/ig, "$1$1")), parseInt(t, 16);
|
|
13220
|
-
const { r, g: n, b: s } =
|
|
13220
|
+
const { r, g: n, b: s } = rt(t).toRgb();
|
|
13221
13221
|
return (r << 16) + (n << 8) + s;
|
|
13222
13222
|
}
|
|
13223
13223
|
/**
|
|
@@ -13981,8 +13981,8 @@ ne.prototype.unshort = function() {
|
|
|
13981
13981
|
}), this;
|
|
13982
13982
|
};
|
|
13983
13983
|
var GO = ne, zO = GO;
|
|
13984
|
-
const HO = /* @__PURE__ */ Pi(zO), OD =
|
|
13985
|
-
const [r, n] =
|
|
13984
|
+
const HO = /* @__PURE__ */ Pi(zO), OD = nt.forwardRef((e, t) => {
|
|
13985
|
+
const [r, n] = nt.useState(null), s = mt(null), a = mt(null), u = mt(null), {
|
|
13986
13986
|
path: l,
|
|
13987
13987
|
visible: c,
|
|
13988
13988
|
transformation: {
|
|
@@ -14006,14 +14006,14 @@ const HO = /* @__PURE__ */ Pi(zO), OD = it.forwardRef((e, t) => {
|
|
|
14006
14006
|
blurFilter: z,
|
|
14007
14007
|
adjustmentFilter: X
|
|
14008
14008
|
} = ks(R), { blurRadius: Q = 0 } = R;
|
|
14009
|
-
return
|
|
14010
|
-
const
|
|
14011
|
-
<path stroke="${T}" stroke-width="${w}" fill="${y || S}" d="${
|
|
14009
|
+
return nt.useEffect(() => {
|
|
14010
|
+
const it = HO(l).scale(5).translate(0, 0).toString(), V = `<svg xmlns="http://www.w3.org/2000/svg" width="${m}" height="${g}">
|
|
14011
|
+
<path stroke="${T}" stroke-width="${w}" fill="${y || S}" d="${it}">
|
|
14012
14012
|
</path>
|
|
14013
|
-
</svg>`, j = new mO(V),
|
|
14014
|
-
return n(
|
|
14013
|
+
</svg>`, j = new mO(V), xt = N.renderer.generateTexture(j);
|
|
14014
|
+
return n(xt), () => {
|
|
14015
14015
|
};
|
|
14016
|
-
}, [N, l, T, w, y, S]), /* @__PURE__ */
|
|
14016
|
+
}, [N, l, T, w, y, S]), /* @__PURE__ */ kt.jsx(Ni, { ...e, ref: t, children: /* @__PURE__ */ kt.jsx(Se, { ref: a, children: /* @__PURE__ */ kt.jsx(Se, { ref: u, children: r && /* @__PURE__ */ kt.jsx(
|
|
14017
14017
|
Mh,
|
|
14018
14018
|
{
|
|
14019
14019
|
texture: r,
|
|
@@ -14131,7 +14131,7 @@ const Ti = /* @__PURE__ */ Pi(vF), FD = (e) => {
|
|
|
14131
14131
|
loaded: !1,
|
|
14132
14132
|
size: { width: 50, height: 50 },
|
|
14133
14133
|
isDragging: !1
|
|
14134
|
-
}, [, r] =
|
|
14134
|
+
}, [, r] = nt.useState(!1), n = mt(null), s = mt(t), a = mt(null), { tl: u, dragModeRef: l } = Ps(Mi), {
|
|
14135
14135
|
uniqueId: c,
|
|
14136
14136
|
src: f,
|
|
14137
14137
|
startAt: p,
|
|
@@ -14141,11 +14141,11 @@ const Ti = /* @__PURE__ */ Pi(vF), FD = (e) => {
|
|
|
14141
14141
|
audioStartAt: y,
|
|
14142
14142
|
audioEndAt: S,
|
|
14143
14143
|
visible: T
|
|
14144
|
-
} = e, w =
|
|
14144
|
+
} = e, w = nt.useRef(null);
|
|
14145
14145
|
Me(le.PAUSE, () => {
|
|
14146
14146
|
var O;
|
|
14147
14147
|
n.current && w.current && ((O = w.current) == null || O.pause(), s.current.isPlaying = !1);
|
|
14148
|
-
}),
|
|
14148
|
+
}), nt.useEffect(() => {
|
|
14149
14149
|
w.current && (l.current ? (w.current.pause(), s.current.isPlaying = !1, s.current.isDragging = !0) : s.current.isDragging = !1);
|
|
14150
14150
|
}, [l]);
|
|
14151
14151
|
const R = (O, z) => {
|
|
@@ -14170,9 +14170,9 @@ const Ti = /* @__PURE__ */ Pi(vF), FD = (e) => {
|
|
|
14170
14170
|
var O;
|
|
14171
14171
|
n.current && ((O = w.current) == null || O.stop(), s.current.isPlaying = !1, s.current.completed = !0);
|
|
14172
14172
|
}, B = (O, z) => {
|
|
14173
|
-
var Q,
|
|
14173
|
+
var Q, it, V, j;
|
|
14174
14174
|
const X = O + ((Q = a.current) == null ? void 0 : Q.time());
|
|
14175
|
-
w.current && l.current ? (A(X, z), I(), s.current.isPlaying = !1) : n.current && !s.current.isPlaying && w.current && ((
|
|
14175
|
+
w.current && l.current ? (A(X, z), I(), s.current.isPlaying = !1) : n.current && !s.current.isPlaying && w.current && ((it = w.current) == null || it.refresh(), (V = w.current) == null || V.refreshPaused(), (j = w.current) == null || j.resume(), s.current.isPlaying = !0);
|
|
14176
14176
|
}, L = () => {
|
|
14177
14177
|
};
|
|
14178
14178
|
return $n(() => {
|
|
@@ -14205,11 +14205,11 @@ const Ti = /* @__PURE__ */ Pi(vF), FD = (e) => {
|
|
|
14205
14205
|
return () => {
|
|
14206
14206
|
a.current && (a.current.kill(), ue.killTweensOf(a.current)), O.revert();
|
|
14207
14207
|
};
|
|
14208
|
-
}, [p, m, y, S]),
|
|
14208
|
+
}, [p, m, y, S]), nt.useEffect(() => {
|
|
14209
14209
|
n.current && r(!0);
|
|
14210
|
-
}, []),
|
|
14210
|
+
}, []), nt.useEffect(() => {
|
|
14211
14211
|
n.current && w.current && (s.current.mute = !g && T ? 1 : 0, s.current.speed = x, w.current.volume = g ? 0 : 1);
|
|
14212
|
-
}, [T, g, x]),
|
|
14212
|
+
}, [T, g, x]), nt.useEffect(() => (Bh(f) || (w.current = Hw.from({
|
|
14213
14213
|
url: f,
|
|
14214
14214
|
preload: !0,
|
|
14215
14215
|
singleInstance: !0,
|
|
@@ -14219,7 +14219,7 @@ const Ti = /* @__PURE__ */ Pi(vF), FD = (e) => {
|
|
|
14219
14219
|
})), () => {
|
|
14220
14220
|
w.current && w.current.pause && w.current.pause();
|
|
14221
14221
|
}), [c, f]), // @ts-ignore
|
|
14222
|
-
/* @__PURE__ */
|
|
14222
|
+
/* @__PURE__ */ kt.jsx(Se, { ref: n });
|
|
14223
14223
|
};
|
|
14224
14224
|
function yF(e, t) {
|
|
14225
14225
|
for (var r = -1, n = e == null ? 0 : e.length, s = Array(n); ++r < n; )
|
|
@@ -15285,7 +15285,7 @@ const jB = (e) => ({
|
|
|
15285
15285
|
});
|
|
15286
15286
|
}), [r, t]), r.instance);
|
|
15287
15287
|
}, WB = (e) => {
|
|
15288
|
-
const t =
|
|
15288
|
+
const t = mt(e);
|
|
15289
15289
|
return $n(() => {
|
|
15290
15290
|
t.current = e;
|
|
15291
15291
|
}, [e]), t;
|
|
@@ -15319,15 +15319,15 @@ const jB = (e) => ({
|
|
|
15319
15319
|
forwardRef: t,
|
|
15320
15320
|
...r
|
|
15321
15321
|
}) => {
|
|
15322
|
-
const n =
|
|
15323
|
-
return
|
|
15322
|
+
const n = nt.useRef(null);
|
|
15323
|
+
return nt.useImperativeHandle(t, () => n.current, [
|
|
15324
15324
|
n
|
|
15325
|
-
]),
|
|
15325
|
+
]), nt.useEffect(() => {
|
|
15326
15326
|
if (n.current === null)
|
|
15327
15327
|
return;
|
|
15328
15328
|
const s = n.current;
|
|
15329
15329
|
s[e ? "gotoAndPlay" : "gotoAndStop"](s.currentFrame);
|
|
15330
|
-
}, [e]), /* @__PURE__ */
|
|
15330
|
+
}, [e]), /* @__PURE__ */ kt.jsx(
|
|
15331
15331
|
$w,
|
|
15332
15332
|
{
|
|
15333
15333
|
ref: n,
|
|
@@ -15335,7 +15335,7 @@ const jB = (e) => ({
|
|
|
15335
15335
|
isPlaying: e
|
|
15336
15336
|
}
|
|
15337
15337
|
);
|
|
15338
|
-
}, JB =
|
|
15338
|
+
}, JB = nt.memo(ZB);
|
|
15339
15339
|
var vo = { exports: {} };
|
|
15340
15340
|
/**
|
|
15341
15341
|
* @license
|
|
@@ -15348,7 +15348,7 @@ var vo = { exports: {} };
|
|
|
15348
15348
|
vo.exports;
|
|
15349
15349
|
(function(e, t) {
|
|
15350
15350
|
(function() {
|
|
15351
|
-
var r, n = "4.17.21", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", f = 500, p = "__lodash_placeholder__", m = 1, g = 2, x = 4, y = 1, S = 2, T = 1, w = 2, R = 4, A = 8, I = 16, N = 32, B = 64, L = 128, O = 256, z = 512, X = 30, Q = "...",
|
|
15351
|
+
var r, n = "4.17.21", s = 200, a = "Unsupported core-js use. Try https://npms.io/search?q=ponyfill.", u = "Expected a function", l = "Invalid `variable` option passed into `_.template`", c = "__lodash_hash_undefined__", f = 500, p = "__lodash_placeholder__", m = 1, g = 2, x = 4, y = 1, S = 2, T = 1, w = 2, R = 4, A = 8, I = 16, N = 32, B = 64, L = 128, O = 256, z = 512, X = 30, Q = "...", it = 800, V = 16, j = 1, xt = 2, Ft = 3, G = 1 / 0, et = 9007199254740991, pt = 17976931348623157e292, H = 0 / 0, Y = 4294967295, ht = Y - 1, yt = Y >>> 1, _t = [
|
|
15352
15352
|
["ary", L],
|
|
15353
15353
|
["bind", T],
|
|
15354
15354
|
["bindKey", w],
|
|
@@ -15358,7 +15358,7 @@ vo.exports;
|
|
|
15358
15358
|
["partial", N],
|
|
15359
15359
|
["partialRight", B],
|
|
15360
15360
|
["rearg", O]
|
|
15361
|
-
], It = "[object Arguments]", Mt = "[object Array]",
|
|
15361
|
+
], It = "[object Arguments]", Mt = "[object Array]", zt = "[object AsyncFunction]", Ht = "[object Boolean]", qt = "[object Date]", Z = "[object DOMException]", W = "[object Error]", st = "[object Function]", At = "[object GeneratorFunction]", Et = "[object Map]", Yt = "[object Number]", ir = "[object Null]", Ce = "[object Object]", Fr = "[object Promise]", sr = "[object Proxy]", Hn = "[object RegExp]", ar = "[object Set]", Gi = "[object String]", Bs = "[object Symbol]", tv = "[object Undefined]", zi = "[object WeakMap]", ev = "[object WeakSet]", Hi = "[object ArrayBuffer]", Vn = "[object DataView]", Ho = "[object Float32Array]", Vo = "[object Float64Array]", jo = "[object Int8Array]", Xo = "[object Int16Array]", Wo = "[object Int32Array]", qo = "[object Uint8Array]", Yo = "[object Uint8ClampedArray]", Ko = "[object Uint16Array]", Zo = "[object Uint32Array]", rv = /\b__p \+= '';/g, nv = /\b(__p \+=) '' \+/g, iv = /(__e\(.*?\)|\b__t\)) \+\n'';/g, hc = /&(?:amp|lt|gt|quot|#39);/g, cc = /[&<>"']/g, sv = RegExp(hc.source), av = RegExp(cc.source), ov = /<%-([\s\S]+?)%>/g, uv = /<%([\s\S]+?)%>/g, fc = /<%=([\s\S]+?)%>/g, lv = /\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/, hv = /^\w*$/, cv = /[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g, Jo = /[\\^$.*+?()[\]{}|]/g, fv = RegExp(Jo.source), Qo = /^\s+/, dv = /\s/, pv = /\{(?:\n\/\* \[wrapped with .+\] \*\/)?\n?/, gv = /\{\n\/\* \[wrapped with (.+)\] \*/, mv = /,? & /, vv = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g, yv = /[()=,{}\[\]\/\s]/, _v = /\\(\\)?/g, xv = /\$\{([^\\}]*(?:\\.[^\\}]*)*)\}/g, dc = /\w*$/, bv = /^[-+]0x[0-9a-f]+$/i, Tv = /^0b[01]+$/i, wv = /^\[object .+?Constructor\]$/, Sv = /^0o[0-7]+$/i, Av = /^(?:0|[1-9]\d*)$/, Ev = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g, Ds = /($^)/, Cv = /['\n\r\u2028\u2029\\]/g, Us = "\\ud800-\\udfff", Rv = "\\u0300-\\u036f", Iv = "\\ufe20-\\ufe2f", Pv = "\\u20d0-\\u20ff", pc = Rv + Iv + Pv, gc = "\\u2700-\\u27bf", mc = "a-z\\xdf-\\xf6\\xf8-\\xff", Mv = "\\xac\\xb1\\xd7\\xf7", Ov = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf", Fv = "\\u2000-\\u206f", Nv = " \\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", vc = "A-Z\\xc0-\\xd6\\xd8-\\xde", yc = "\\ufe0e\\ufe0f", _c = Mv + Ov + Fv + Nv, tu = "['’]", Lv = "[" + Us + "]", xc = "[" + _c + "]", $s = "[" + pc + "]", bc = "\\d+", kv = "[" + gc + "]", Tc = "[" + mc + "]", wc = "[^" + Us + _c + bc + gc + mc + vc + "]", eu = "\\ud83c[\\udffb-\\udfff]", Bv = "(?:" + $s + "|" + eu + ")", Sc = "[^" + Us + "]", ru = "(?:\\ud83c[\\udde6-\\uddff]){2}", nu = "[\\ud800-\\udbff][\\udc00-\\udfff]", jn = "[" + vc + "]", Ac = "\\u200d", Ec = "(?:" + Tc + "|" + wc + ")", Dv = "(?:" + jn + "|" + wc + ")", Cc = "(?:" + tu + "(?:d|ll|m|re|s|t|ve))?", Rc = "(?:" + tu + "(?:D|LL|M|RE|S|T|VE))?", Ic = Bv + "?", Pc = "[" + yc + "]?", Uv = "(?:" + Ac + "(?:" + [Sc, ru, nu].join("|") + ")" + Pc + Ic + ")*", $v = "\\d*(?:1st|2nd|3rd|(?![123])\\dth)(?=\\b|[A-Z_])", Gv = "\\d*(?:1ST|2ND|3RD|(?![123])\\dTH)(?=\\b|[a-z_])", Mc = Pc + Ic + Uv, zv = "(?:" + [kv, ru, nu].join("|") + ")" + Mc, Hv = "(?:" + [Sc + $s + "?", $s, ru, nu, Lv].join("|") + ")", Vv = RegExp(tu, "g"), jv = RegExp($s, "g"), iu = RegExp(eu + "(?=" + eu + ")|" + Hv + Mc, "g"), Xv = RegExp([
|
|
15362
15362
|
jn + "?" + Tc + "+" + Cc + "(?=" + [xc, jn, "$"].join("|") + ")",
|
|
15363
15363
|
Dv + "+" + Rc + "(?=" + [xc, jn + Ec, "$"].join("|") + ")",
|
|
15364
15364
|
jn + "?" + Ec + "+" + Cc,
|
|
@@ -15399,9 +15399,9 @@ vo.exports;
|
|
|
15399
15399
|
"parseInt",
|
|
15400
15400
|
"setTimeout"
|
|
15401
15401
|
], Kv = -1, Kt = {};
|
|
15402
|
-
Kt[Ho] = Kt[Vo] = Kt[jo] = Kt[Xo] = Kt[Wo] = Kt[qo] = Kt[Yo] = Kt[Ko] = Kt[Zo] = !0, Kt[It] = Kt[Mt] = Kt[Hi] = Kt[
|
|
15402
|
+
Kt[Ho] = Kt[Vo] = Kt[jo] = Kt[Xo] = Kt[Wo] = Kt[qo] = Kt[Yo] = Kt[Ko] = Kt[Zo] = !0, Kt[It] = Kt[Mt] = Kt[Hi] = Kt[Ht] = Kt[Vn] = Kt[qt] = Kt[W] = Kt[st] = Kt[Et] = Kt[Yt] = Kt[Ce] = Kt[Hn] = Kt[ar] = Kt[Gi] = Kt[zi] = !1;
|
|
15403
15403
|
var Xt = {};
|
|
15404
|
-
Xt[It] = Xt[Mt] = Xt[Hi] = Xt[Vn] = Xt[
|
|
15404
|
+
Xt[It] = Xt[Mt] = Xt[Hi] = Xt[Vn] = Xt[Ht] = Xt[qt] = Xt[Ho] = Xt[Vo] = Xt[jo] = Xt[Xo] = Xt[Wo] = Xt[Et] = Xt[Yt] = Xt[Ce] = Xt[Hn] = Xt[ar] = Xt[Gi] = Xt[Bs] = Xt[qo] = Xt[Yo] = Xt[Ko] = Xt[Zo] = !0, Xt[W] = Xt[st] = Xt[zi] = !1;
|
|
15405
15405
|
var Zv = {
|
|
15406
15406
|
// Latin-1 Supplement block.
|
|
15407
15407
|
À: "A",
|
|
@@ -15892,23 +15892,23 @@ vo.exports;
|
|
|
15892
15892
|
}
|
|
15893
15893
|
var Cy = function P(k) {
|
|
15894
15894
|
k = k == null ? ye : Yn.defaults(ye.Object(), k, Yn.pick(ye, Yv));
|
|
15895
|
-
var F = k.Array, J = k.Date, ct = k.Error, Bt = k.Function, ce = k.Math, Vt = k.Object, mu = k.RegExp, Ry = k.String, Ye = k.TypeError, Vs = F.prototype, Iy = Bt.prototype, Kn = Vt.prototype, js = k["__core-js_shared__"], Xs = Iy.toString,
|
|
15895
|
+
var F = k.Array, J = k.Date, ct = k.Error, Bt = k.Function, ce = k.Math, Vt = k.Object, mu = k.RegExp, Ry = k.String, Ye = k.TypeError, Vs = F.prototype, Iy = Bt.prototype, Kn = Vt.prototype, js = k["__core-js_shared__"], Xs = Iy.toString, $t = Kn.hasOwnProperty, Py = 0, Kc = function() {
|
|
15896
15896
|
var i = /[^.]+$/.exec(js && js.keys && js.keys.IE_PROTO || "");
|
|
15897
15897
|
return i ? "Symbol(src)_1." + i : "";
|
|
15898
15898
|
}(), Ws = Kn.toString, My = Xs.call(Vt), Oy = ye._, Fy = mu(
|
|
15899
|
-
"^" + Xs.call(
|
|
15899
|
+
"^" + Xs.call($t).replace(Jo, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
|
|
15900
15900
|
), qs = Fc ? k.Buffer : r, Qr = k.Symbol, Ys = k.Uint8Array, Zc = qs ? qs.allocUnsafe : r, Ks = qc(Vt.getPrototypeOf, Vt), Jc = Vt.create, Qc = Kn.propertyIsEnumerable, Zs = Vs.splice, tf = Qr ? Qr.isConcatSpreadable : r, ji = Qr ? Qr.iterator : r, gn = Qr ? Qr.toStringTag : r, Js = function() {
|
|
15901
15901
|
try {
|
|
15902
15902
|
var i = xn(Vt, "defineProperty");
|
|
15903
15903
|
return i({}, "", {}), i;
|
|
15904
15904
|
} catch {
|
|
15905
15905
|
}
|
|
15906
|
-
}(), Ny = k.clearTimeout !== ye.clearTimeout && k.clearTimeout, Ly = J && J.now !== ye.Date.now && J.now, ky = k.setTimeout !== ye.setTimeout && k.setTimeout, Qs = ce.ceil, ta = ce.floor, vu = Vt.getOwnPropertySymbols, By = qs ? qs.isBuffer : r, ef = k.isFinite, Dy = Vs.join, Uy = qc(Vt.keys, Vt), fe = ce.max,
|
|
15906
|
+
}(), Ny = k.clearTimeout !== ye.clearTimeout && k.clearTimeout, Ly = J && J.now !== ye.Date.now && J.now, ky = k.setTimeout !== ye.setTimeout && k.setTimeout, Qs = ce.ceil, ta = ce.floor, vu = Vt.getOwnPropertySymbols, By = qs ? qs.isBuffer : r, ef = k.isFinite, Dy = Vs.join, Uy = qc(Vt.keys, Vt), fe = ce.max, be = ce.min, $y = J.now, Gy = k.parseInt, rf = ce.random, zy = Vs.reverse, yu = xn(k, "DataView"), Xi = xn(k, "Map"), _u = xn(k, "Promise"), Zn = xn(k, "Set"), Wi = xn(k, "WeakMap"), qi = xn(Vt, "create"), ea = Wi && new Wi(), Jn = {}, Hy = bn(yu), Vy = bn(Xi), jy = bn(_u), Xy = bn(Zn), Wy = bn(Wi), ra = Qr ? Qr.prototype : r, Yi = ra ? ra.valueOf : r, nf = ra ? ra.toString : r;
|
|
15907
15907
|
function _(i) {
|
|
15908
|
-
if (ie(i) && !ft(i) && !(i instanceof
|
|
15908
|
+
if (ie(i) && !ft(i) && !(i instanceof wt)) {
|
|
15909
15909
|
if (i instanceof Ke)
|
|
15910
15910
|
return i;
|
|
15911
|
-
if (
|
|
15911
|
+
if ($t.call(i, "__wrapped__"))
|
|
15912
15912
|
return sd(i);
|
|
15913
15913
|
}
|
|
15914
15914
|
return new Ke(i);
|
|
@@ -15976,32 +15976,32 @@ vo.exports;
|
|
|
15976
15976
|
_
|
|
15977
15977
|
}
|
|
15978
15978
|
}, _.prototype = na.prototype, _.prototype.constructor = _, Ke.prototype = Qn(na.prototype), Ke.prototype.constructor = Ke;
|
|
15979
|
-
function
|
|
15979
|
+
function wt(i) {
|
|
15980
15980
|
this.__wrapped__ = i, this.__actions__ = [], this.__dir__ = 1, this.__filtered__ = !1, this.__iteratees__ = [], this.__takeCount__ = Y, this.__views__ = [];
|
|
15981
15981
|
}
|
|
15982
15982
|
function qy() {
|
|
15983
|
-
var i = new
|
|
15983
|
+
var i = new wt(this.__wrapped__);
|
|
15984
15984
|
return i.__actions__ = Ne(this.__actions__), i.__dir__ = this.__dir__, i.__filtered__ = this.__filtered__, i.__iteratees__ = Ne(this.__iteratees__), i.__takeCount__ = this.__takeCount__, i.__views__ = Ne(this.__views__), i;
|
|
15985
15985
|
}
|
|
15986
15986
|
function Yy() {
|
|
15987
15987
|
if (this.__filtered__) {
|
|
15988
|
-
var i = new
|
|
15988
|
+
var i = new wt(this);
|
|
15989
15989
|
i.__dir__ = -1, i.__filtered__ = !0;
|
|
15990
15990
|
} else
|
|
15991
15991
|
i = this.clone(), i.__dir__ *= -1;
|
|
15992
15992
|
return i;
|
|
15993
15993
|
}
|
|
15994
15994
|
function Ky() {
|
|
15995
|
-
var i = this.__wrapped__.value(), o = this.__dir__, h = ft(i), d = o < 0, v = h ? i.length : 0, b = ux(0, v, this.__views__), E = b.start, C = b.end, M = C - E, D = d ? C : E - 1, U = this.__iteratees__, $ = U.length, q = 0, tt =
|
|
15995
|
+
var i = this.__wrapped__.value(), o = this.__dir__, h = ft(i), d = o < 0, v = h ? i.length : 0, b = ux(0, v, this.__views__), E = b.start, C = b.end, M = C - E, D = d ? C : E - 1, U = this.__iteratees__, $ = U.length, q = 0, tt = be(M, this.__takeCount__);
|
|
15996
15996
|
if (!h || !d && v == M && tt == M)
|
|
15997
15997
|
return Rf(i, this.__actions__);
|
|
15998
15998
|
var ot = [];
|
|
15999
15999
|
t:
|
|
16000
16000
|
for (; M-- && q < tt; ) {
|
|
16001
16001
|
D += o;
|
|
16002
|
-
for (var
|
|
16003
|
-
var
|
|
16004
|
-
if (He ==
|
|
16002
|
+
for (var gt = -1, ut = i[D]; ++gt < $; ) {
|
|
16003
|
+
var bt = U[gt], Ct = bt.iteratee, He = bt.type, Pe = Ct(ut);
|
|
16004
|
+
if (He == xt)
|
|
16005
16005
|
ut = Pe;
|
|
16006
16006
|
else if (!Pe) {
|
|
16007
16007
|
if (He == j)
|
|
@@ -16013,7 +16013,7 @@ vo.exports;
|
|
|
16013
16013
|
}
|
|
16014
16014
|
return ot;
|
|
16015
16015
|
}
|
|
16016
|
-
|
|
16016
|
+
wt.prototype = Qn(na.prototype), wt.prototype.constructor = wt;
|
|
16017
16017
|
function mn(i) {
|
|
16018
16018
|
var o = -1, h = i == null ? 0 : i.length;
|
|
16019
16019
|
for (this.clear(); ++o < h; ) {
|
|
@@ -16034,11 +16034,11 @@ vo.exports;
|
|
|
16034
16034
|
var h = o[i];
|
|
16035
16035
|
return h === c ? r : h;
|
|
16036
16036
|
}
|
|
16037
|
-
return
|
|
16037
|
+
return $t.call(o, i) ? o[i] : r;
|
|
16038
16038
|
}
|
|
16039
16039
|
function t_(i) {
|
|
16040
16040
|
var o = this.__data__;
|
|
16041
|
-
return qi ? o[i] !== r :
|
|
16041
|
+
return qi ? o[i] !== r : $t.call(o, i);
|
|
16042
16042
|
}
|
|
16043
16043
|
function e_(i, o) {
|
|
16044
16044
|
var h = this.__data__;
|
|
@@ -16146,7 +16146,7 @@ vo.exports;
|
|
|
16146
16146
|
function sf(i, o) {
|
|
16147
16147
|
var h = ft(i), d = !h && Tn(i), v = !h && !d && sn(i), b = !h && !d && !v && ni(i), E = h || d || v || b, C = E ? du(i.length, Ry) : [], M = C.length;
|
|
16148
16148
|
for (var D in i)
|
|
16149
|
-
(o ||
|
|
16149
|
+
(o || $t.call(i, D)) && !(E && // Safari 9 has enumerable `arguments.length` in strict mode.
|
|
16150
16150
|
(D == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
|
|
16151
16151
|
v && (D == "offset" || D == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
|
|
16152
16152
|
b && (D == "buffer" || D == "byteLength" || D == "byteOffset") || // Skip index properties.
|
|
@@ -16168,7 +16168,7 @@ vo.exports;
|
|
|
16168
16168
|
}
|
|
16169
16169
|
function Ki(i, o, h) {
|
|
16170
16170
|
var d = i[o];
|
|
16171
|
-
(!(
|
|
16171
|
+
(!($t.call(i, o) && lr(d, h)) || h === r && !(o in i)) && kr(i, o, h);
|
|
16172
16172
|
}
|
|
16173
16173
|
function ia(i, o) {
|
|
16174
16174
|
for (var h = i.length; h--; )
|
|
@@ -16214,7 +16214,7 @@ vo.exports;
|
|
|
16214
16214
|
if (E = hx(i), !C)
|
|
16215
16215
|
return Ne(i, E);
|
|
16216
16216
|
} else {
|
|
16217
|
-
var $ =
|
|
16217
|
+
var $ = Te(i), q = $ == st || $ == At;
|
|
16218
16218
|
if (sn(i))
|
|
16219
16219
|
return Mf(i, C);
|
|
16220
16220
|
if ($ == Ce || $ == It || q && !v) {
|
|
@@ -16232,12 +16232,12 @@ vo.exports;
|
|
|
16232
16232
|
return tt;
|
|
16233
16233
|
b.set(i, E), Ad(i) ? i.forEach(function(ut) {
|
|
16234
16234
|
E.add(Ze(ut, o, h, ut, i, b));
|
|
16235
|
-
}) : wd(i) && i.forEach(function(ut,
|
|
16236
|
-
E.set(
|
|
16235
|
+
}) : wd(i) && i.forEach(function(ut, bt) {
|
|
16236
|
+
E.set(bt, Ze(ut, o, h, bt, i, b));
|
|
16237
16237
|
});
|
|
16238
|
-
var ot = D ? M ? Gu : $u : M ? ke : pe,
|
|
16239
|
-
return qe(
|
|
16240
|
-
|
|
16238
|
+
var ot = D ? M ? Gu : $u : M ? ke : pe, gt = U ? r : ot(i);
|
|
16239
|
+
return qe(gt || i, function(ut, bt) {
|
|
16240
|
+
gt && (bt = ut, ut = i[bt]), Ki(E, bt, Ze(ut, o, h, bt, i, b));
|
|
16241
16241
|
}), E;
|
|
16242
16242
|
}
|
|
16243
16243
|
function w_(i) {
|
|
@@ -16346,18 +16346,18 @@ vo.exports;
|
|
|
16346
16346
|
return i > o;
|
|
16347
16347
|
}
|
|
16348
16348
|
function E_(i, o) {
|
|
16349
|
-
return i != null &&
|
|
16349
|
+
return i != null && $t.call(i, o);
|
|
16350
16350
|
}
|
|
16351
16351
|
function C_(i, o) {
|
|
16352
16352
|
return i != null && o in Vt(i);
|
|
16353
16353
|
}
|
|
16354
16354
|
function R_(i, o, h) {
|
|
16355
|
-
return i >=
|
|
16355
|
+
return i >= be(o, h) && i < fe(o, h);
|
|
16356
16356
|
}
|
|
16357
16357
|
function Au(i, o, h) {
|
|
16358
16358
|
for (var d = h ? ou : Gs, v = i[0].length, b = i.length, E = b, C = F(b), M = 1 / 0, D = []; E--; ) {
|
|
16359
16359
|
var U = i[E];
|
|
16360
|
-
E && o && (U = Jt(U, $e(o))), M =
|
|
16360
|
+
E && o && (U = Jt(U, $e(o))), M = be(U.length, M), C[E] = !h && (o || v >= 120 && U.length >= 120) ? new vn(E && U) : r;
|
|
16361
16361
|
}
|
|
16362
16362
|
U = i[0];
|
|
16363
16363
|
var $ = -1, q = C[0];
|
|
@@ -16366,8 +16366,8 @@ vo.exports;
|
|
|
16366
16366
|
var tt = U[$], ot = o ? o(tt) : tt;
|
|
16367
16367
|
if (tt = h || tt !== 0 ? tt : 0, !(q ? Vi(q, ot) : d(D, ot, h))) {
|
|
16368
16368
|
for (E = b; --E; ) {
|
|
16369
|
-
var
|
|
16370
|
-
if (!(
|
|
16369
|
+
var gt = C[E];
|
|
16370
|
+
if (!(gt ? Vi(gt, ot) : d(i[E], ot, h)))
|
|
16371
16371
|
continue t;
|
|
16372
16372
|
}
|
|
16373
16373
|
q && q.push(ot), D.push(tt);
|
|
@@ -16398,7 +16398,7 @@ vo.exports;
|
|
|
16398
16398
|
return i === o ? !0 : i == null || o == null || !ie(i) && !ie(o) ? i !== i && o !== o : O_(i, o, h, d, Qi, v);
|
|
16399
16399
|
}
|
|
16400
16400
|
function O_(i, o, h, d, v, b) {
|
|
16401
|
-
var E = ft(i), C = ft(o), M = E ? Mt :
|
|
16401
|
+
var E = ft(i), C = ft(o), M = E ? Mt : Te(i), D = C ? Mt : Te(o);
|
|
16402
16402
|
M = M == It ? Ce : M, D = D == It ? Ce : D;
|
|
16403
16403
|
var U = M == Ce, $ = D == Ce, q = M == D;
|
|
16404
16404
|
if (q && sn(i)) {
|
|
@@ -16409,16 +16409,16 @@ vo.exports;
|
|
|
16409
16409
|
if (q && !U)
|
|
16410
16410
|
return b || (b = new ur()), E || ni(i) ? Wf(i, o, h, d, v, b) : sx(i, o, M, h, d, v, b);
|
|
16411
16411
|
if (!(h & y)) {
|
|
16412
|
-
var tt = U &&
|
|
16412
|
+
var tt = U && $t.call(i, "__wrapped__"), ot = $ && $t.call(o, "__wrapped__");
|
|
16413
16413
|
if (tt || ot) {
|
|
16414
|
-
var
|
|
16415
|
-
return b || (b = new ur()), v(
|
|
16414
|
+
var gt = tt ? i.value() : i, ut = ot ? o.value() : o;
|
|
16415
|
+
return b || (b = new ur()), v(gt, ut, h, d, b);
|
|
16416
16416
|
}
|
|
16417
16417
|
}
|
|
16418
16418
|
return q ? (b || (b = new ur()), ax(i, o, h, d, v, b)) : !1;
|
|
16419
16419
|
}
|
|
16420
16420
|
function F_(i) {
|
|
16421
|
-
return ie(i) &&
|
|
16421
|
+
return ie(i) && Te(i) == Et;
|
|
16422
16422
|
}
|
|
16423
16423
|
function Eu(i, o, h, d) {
|
|
16424
16424
|
var v = h.length, b = v, E = !d;
|
|
@@ -16455,7 +16455,7 @@ vo.exports;
|
|
|
16455
16455
|
return ie(i) && Re(i) == Hn;
|
|
16456
16456
|
}
|
|
16457
16457
|
function L_(i) {
|
|
16458
|
-
return ie(i) &&
|
|
16458
|
+
return ie(i) && Te(i) == ar;
|
|
16459
16459
|
}
|
|
16460
16460
|
function k_(i) {
|
|
16461
16461
|
return ie(i) && wa(i.length) && !!Kt[Re(i)];
|
|
@@ -16468,7 +16468,7 @@ vo.exports;
|
|
|
16468
16468
|
return Uy(i);
|
|
16469
16469
|
var o = [];
|
|
16470
16470
|
for (var h in Vt(i))
|
|
16471
|
-
|
|
16471
|
+
$t.call(i, h) && h != "constructor" && o.push(h);
|
|
16472
16472
|
return o;
|
|
16473
16473
|
}
|
|
16474
16474
|
function B_(i) {
|
|
@@ -16476,7 +16476,7 @@ vo.exports;
|
|
|
16476
16476
|
return _x(i);
|
|
16477
16477
|
var o = rs(i), h = [];
|
|
16478
16478
|
for (var d in i)
|
|
16479
|
-
d == "constructor" && (o ||
|
|
16479
|
+
d == "constructor" && (o || !$t.call(i, d)) || h.push(d);
|
|
16480
16480
|
return h;
|
|
16481
16481
|
}
|
|
16482
16482
|
function Ru(i, o) {
|
|
@@ -16666,14 +16666,14 @@ vo.exports;
|
|
|
16666
16666
|
return 0;
|
|
16667
16667
|
o = h(o);
|
|
16668
16668
|
for (var E = o !== o, C = o === null, M = ze(o), D = o === r; v < b; ) {
|
|
16669
|
-
var U = ta((v + b) / 2), $ = h(i[U]), q = $ !== r, tt = $ === null, ot = $ === $,
|
|
16669
|
+
var U = ta((v + b) / 2), $ = h(i[U]), q = $ !== r, tt = $ === null, ot = $ === $, gt = ze($);
|
|
16670
16670
|
if (E)
|
|
16671
16671
|
var ut = d || ot;
|
|
16672
16672
|
else
|
|
16673
|
-
D ? ut = ot && (d || q) : C ? ut = ot && q && (d || !tt) : M ? ut = ot && q && !tt && (d || !
|
|
16673
|
+
D ? ut = ot && (d || q) : C ? ut = ot && q && (d || !tt) : M ? ut = ot && q && !tt && (d || !gt) : tt || gt ? ut = !1 : ut = d ? $ <= o : $ < o;
|
|
16674
16674
|
ut ? v = U + 1 : b = U;
|
|
16675
16675
|
}
|
|
16676
|
-
return
|
|
16676
|
+
return be(b, ht);
|
|
16677
16677
|
}
|
|
16678
16678
|
function Af(i, o) {
|
|
16679
16679
|
for (var h = -1, d = i.length, v = 0, b = []; ++h < d; ) {
|
|
@@ -16735,7 +16735,7 @@ vo.exports;
|
|
|
16735
16735
|
}
|
|
16736
16736
|
function Rf(i, o) {
|
|
16737
16737
|
var h = i;
|
|
16738
|
-
return h instanceof
|
|
16738
|
+
return h instanceof wt && (h = h.value()), uu(o, function(d, v) {
|
|
16739
16739
|
return v.func.apply(v.thisArg, Zr([d], v.args));
|
|
16740
16740
|
}, h);
|
|
16741
16741
|
}
|
|
@@ -16762,7 +16762,7 @@ vo.exports;
|
|
|
16762
16762
|
return typeof i == "function" ? i : Be;
|
|
16763
16763
|
}
|
|
16764
16764
|
function rn(i, o) {
|
|
16765
|
-
return ft(i) ? i : ju(i, o) ? [i] : id(
|
|
16765
|
+
return ft(i) ? i : ju(i, o) ? [i] : id(Dt(i));
|
|
16766
16766
|
}
|
|
16767
16767
|
var W_ = vt;
|
|
16768
16768
|
function nn(i, o, h) {
|
|
@@ -16905,7 +16905,7 @@ vo.exports;
|
|
|
16905
16905
|
}
|
|
16906
16906
|
function Df(i) {
|
|
16907
16907
|
return function(o) {
|
|
16908
|
-
o =
|
|
16908
|
+
o = Dt(o);
|
|
16909
16909
|
var h = Wn(o) ? or(o) : r, d = h ? h[0] : o.charAt(0), v = h ? nn(h, 1).join("") : o.slice(1);
|
|
16910
16910
|
return d[i]() + v;
|
|
16911
16911
|
};
|
|
@@ -17003,13 +17003,13 @@ vo.exports;
|
|
|
17003
17003
|
});
|
|
17004
17004
|
}
|
|
17005
17005
|
function ca(i, o, h, d, v, b, E, C, M, D) {
|
|
17006
|
-
var U = o & L, $ = o & T, q = o & w, tt = o & (A | I), ot = o & z,
|
|
17006
|
+
var U = o & L, $ = o & T, q = o & w, tt = o & (A | I), ot = o & z, gt = q ? r : es(i);
|
|
17007
17007
|
function ut() {
|
|
17008
|
-
for (var
|
|
17008
|
+
for (var bt = arguments.length, Ct = F(bt), He = bt; He--; )
|
|
17009
17009
|
Ct[He] = arguments[He];
|
|
17010
17010
|
if (tt)
|
|
17011
17011
|
var Pe = ri(ut), Ve = dy(Ct, Pe);
|
|
17012
|
-
if (d && (Ct = Nf(Ct, d, v, tt)), b && (Ct = Lf(Ct, b, E, tt)),
|
|
17012
|
+
if (d && (Ct = Nf(Ct, d, v, tt)), b && (Ct = Lf(Ct, b, E, tt)), bt -= Ve, tt && bt < D) {
|
|
17013
17013
|
var ae = Jr(Ct, Pe);
|
|
17014
17014
|
return Hf(
|
|
17015
17015
|
i,
|
|
@@ -17021,11 +17021,11 @@ vo.exports;
|
|
|
17021
17021
|
ae,
|
|
17022
17022
|
C,
|
|
17023
17023
|
M,
|
|
17024
|
-
D -
|
|
17024
|
+
D - bt
|
|
17025
17025
|
);
|
|
17026
17026
|
}
|
|
17027
17027
|
var hr = $ ? h : this, zr = q ? hr[i] : i;
|
|
17028
|
-
return
|
|
17028
|
+
return bt = Ct.length, C ? Ct = bx(Ct, C) : ot && bt > 1 && Ct.reverse(), U && M < bt && (Ct.length = M), this && this !== ye && this instanceof ut && (zr = gt || es(zr)), zr.apply(hr, Ct);
|
|
17029
17029
|
}
|
|
17030
17030
|
return ut;
|
|
17031
17031
|
}
|
|
@@ -17089,7 +17089,7 @@ vo.exports;
|
|
|
17089
17089
|
function Hf(i, o, h, d, v, b, E, C, M, D) {
|
|
17090
17090
|
var U = o & A, $ = U ? E : r, q = U ? r : E, tt = U ? b : r, ot = U ? r : b;
|
|
17091
17091
|
o |= U ? N : B, o &= ~(U ? B : N), o & R || (o &= ~(T | w));
|
|
17092
|
-
var
|
|
17092
|
+
var gt = [
|
|
17093
17093
|
i,
|
|
17094
17094
|
o,
|
|
17095
17095
|
v,
|
|
@@ -17100,15 +17100,15 @@ vo.exports;
|
|
|
17100
17100
|
C,
|
|
17101
17101
|
M,
|
|
17102
17102
|
D
|
|
17103
|
-
], ut = h.apply(r,
|
|
17104
|
-
return Xu(i) && ed(ut,
|
|
17103
|
+
], ut = h.apply(r, gt);
|
|
17104
|
+
return Xu(i) && ed(ut, gt), ut.placeholder = d, rd(ut, i, o);
|
|
17105
17105
|
}
|
|
17106
17106
|
function Uu(i) {
|
|
17107
17107
|
var o = ce[i];
|
|
17108
17108
|
return function(h, d) {
|
|
17109
|
-
if (h = tr(h), d = d == null ? 0 :
|
|
17110
|
-
var v = (
|
|
17111
|
-
return v = (
|
|
17109
|
+
if (h = tr(h), d = d == null ? 0 : be(dt(d), 292), d && ef(h)) {
|
|
17110
|
+
var v = (Dt(h) + "e").split("e"), b = o(v[0] + "e" + (+v[1] + d));
|
|
17111
|
+
return v = (Dt(b) + "e").split("e"), +(v[0] + "e" + (+v[1] - d));
|
|
17112
17112
|
}
|
|
17113
17113
|
return o(h);
|
|
17114
17114
|
};
|
|
@@ -17118,7 +17118,7 @@ vo.exports;
|
|
|
17118
17118
|
} : ol;
|
|
17119
17119
|
function Vf(i) {
|
|
17120
17120
|
return function(o) {
|
|
17121
|
-
var h =
|
|
17121
|
+
var h = Te(o);
|
|
17122
17122
|
return h == Et ? gu(o) : h == ar ? xy(o) : fy(o, i(o));
|
|
17123
17123
|
};
|
|
17124
17124
|
}
|
|
@@ -17147,11 +17147,11 @@ vo.exports;
|
|
|
17147
17147
|
var ot = tx(i, o, h);
|
|
17148
17148
|
else
|
|
17149
17149
|
o == A || o == I ? ot = ex(i, o, C) : (o == N || o == (T | N)) && !v.length ? ot = rx(i, o, h, d) : ot = ca.apply(r, tt);
|
|
17150
|
-
var
|
|
17151
|
-
return rd(
|
|
17150
|
+
var gt = q ? Sf : ed;
|
|
17151
|
+
return rd(gt(ot, tt), i, o);
|
|
17152
17152
|
}
|
|
17153
17153
|
function jf(i, o, h, d) {
|
|
17154
|
-
return i === r || lr(i, Kn[h]) &&
|
|
17154
|
+
return i === r || lr(i, Kn[h]) && !$t.call(d, h) ? o : i;
|
|
17155
17155
|
}
|
|
17156
17156
|
function Xf(i, o, h, d, v, b) {
|
|
17157
17157
|
return te(i) && te(o) && (b.set(o, i), oa(i, o, r, Xf, b), b.delete(o)), i;
|
|
@@ -17168,9 +17168,9 @@ vo.exports;
|
|
|
17168
17168
|
return D == o && U == i;
|
|
17169
17169
|
var $ = -1, q = !0, tt = h & S ? new vn() : r;
|
|
17170
17170
|
for (b.set(i, o), b.set(o, i); ++$ < C; ) {
|
|
17171
|
-
var ot = i[$],
|
|
17171
|
+
var ot = i[$], gt = o[$];
|
|
17172
17172
|
if (d)
|
|
17173
|
-
var ut = E ? d(
|
|
17173
|
+
var ut = E ? d(gt, ot, $, o, i, b) : d(ot, gt, $, i, o, b);
|
|
17174
17174
|
if (ut !== r) {
|
|
17175
17175
|
if (ut)
|
|
17176
17176
|
continue;
|
|
@@ -17178,14 +17178,14 @@ vo.exports;
|
|
|
17178
17178
|
break;
|
|
17179
17179
|
}
|
|
17180
17180
|
if (tt) {
|
|
17181
|
-
if (!lu(o, function(
|
|
17182
|
-
if (!Vi(tt, Ct) && (ot ===
|
|
17181
|
+
if (!lu(o, function(bt, Ct) {
|
|
17182
|
+
if (!Vi(tt, Ct) && (ot === bt || v(ot, bt, h, d, b)))
|
|
17183
17183
|
return tt.push(Ct);
|
|
17184
17184
|
})) {
|
|
17185
17185
|
q = !1;
|
|
17186
17186
|
break;
|
|
17187
17187
|
}
|
|
17188
|
-
} else if (!(ot ===
|
|
17188
|
+
} else if (!(ot === gt || v(ot, gt, h, d, b))) {
|
|
17189
17189
|
q = !1;
|
|
17190
17190
|
break;
|
|
17191
17191
|
}
|
|
@@ -17200,7 +17200,7 @@ vo.exports;
|
|
|
17200
17200
|
i = i.buffer, o = o.buffer;
|
|
17201
17201
|
case Hi:
|
|
17202
17202
|
return !(i.byteLength != o.byteLength || !b(new Ys(i), new Ys(o)));
|
|
17203
|
-
case
|
|
17203
|
+
case Ht:
|
|
17204
17204
|
case qt:
|
|
17205
17205
|
case Yt:
|
|
17206
17206
|
return lr(+i, +o);
|
|
@@ -17233,30 +17233,30 @@ vo.exports;
|
|
|
17233
17233
|
return !1;
|
|
17234
17234
|
for (var $ = M; $--; ) {
|
|
17235
17235
|
var q = C[$];
|
|
17236
|
-
if (!(E ? q in o :
|
|
17236
|
+
if (!(E ? q in o : $t.call(o, q)))
|
|
17237
17237
|
return !1;
|
|
17238
17238
|
}
|
|
17239
17239
|
var tt = b.get(i), ot = b.get(o);
|
|
17240
17240
|
if (tt && ot)
|
|
17241
17241
|
return tt == o && ot == i;
|
|
17242
|
-
var
|
|
17242
|
+
var gt = !0;
|
|
17243
17243
|
b.set(i, o), b.set(o, i);
|
|
17244
17244
|
for (var ut = E; ++$ < M; ) {
|
|
17245
17245
|
q = C[$];
|
|
17246
|
-
var
|
|
17246
|
+
var bt = i[q], Ct = o[q];
|
|
17247
17247
|
if (d)
|
|
17248
|
-
var He = E ? d(Ct,
|
|
17249
|
-
if (!(He === r ?
|
|
17250
|
-
|
|
17248
|
+
var He = E ? d(Ct, bt, q, o, i, b) : d(bt, Ct, q, i, o, b);
|
|
17249
|
+
if (!(He === r ? bt === Ct || v(bt, Ct, h, d, b) : He)) {
|
|
17250
|
+
gt = !1;
|
|
17251
17251
|
break;
|
|
17252
17252
|
}
|
|
17253
17253
|
ut || (ut = q == "constructor");
|
|
17254
17254
|
}
|
|
17255
|
-
if (
|
|
17255
|
+
if (gt && !ut) {
|
|
17256
17256
|
var Pe = i.constructor, Ve = o.constructor;
|
|
17257
|
-
Pe != Ve && "constructor" in i && "constructor" in o && !(typeof Pe == "function" && Pe instanceof Pe && typeof Ve == "function" && Ve instanceof Ve) && (
|
|
17257
|
+
Pe != Ve && "constructor" in i && "constructor" in o && !(typeof Pe == "function" && Pe instanceof Pe && typeof Ve == "function" && Ve instanceof Ve) && (gt = !1);
|
|
17258
17258
|
}
|
|
17259
|
-
return b.delete(i), b.delete(o),
|
|
17259
|
+
return b.delete(i), b.delete(o), gt;
|
|
17260
17260
|
}
|
|
17261
17261
|
function Dr(i) {
|
|
17262
17262
|
return qu(Qf(i, r, ud), i + "");
|
|
@@ -17271,7 +17271,7 @@ vo.exports;
|
|
|
17271
17271
|
return ea.get(i);
|
|
17272
17272
|
} : ol;
|
|
17273
17273
|
function ga(i) {
|
|
17274
|
-
for (var o = i.name + "", h = Jn[o], d =
|
|
17274
|
+
for (var o = i.name + "", h = Jn[o], d = $t.call(Jn, o) ? h.length : 0; d--; ) {
|
|
17275
17275
|
var v = h[d], b = v.func;
|
|
17276
17276
|
if (b == null || b == i)
|
|
17277
17277
|
return v.name;
|
|
@@ -17279,7 +17279,7 @@ vo.exports;
|
|
|
17279
17279
|
return o;
|
|
17280
17280
|
}
|
|
17281
17281
|
function ri(i) {
|
|
17282
|
-
var o =
|
|
17282
|
+
var o = $t.call(_, "placeholder") ? _ : i;
|
|
17283
17283
|
return o.placeholder;
|
|
17284
17284
|
}
|
|
17285
17285
|
function at() {
|
|
@@ -17302,7 +17302,7 @@ vo.exports;
|
|
|
17302
17302
|
return gf(h) ? h : r;
|
|
17303
17303
|
}
|
|
17304
17304
|
function ox(i) {
|
|
17305
|
-
var o =
|
|
17305
|
+
var o = $t.call(i, gn), h = i[gn];
|
|
17306
17306
|
try {
|
|
17307
17307
|
i[gn] = r;
|
|
17308
17308
|
var d = !0;
|
|
@@ -17319,8 +17319,8 @@ vo.exports;
|
|
|
17319
17319
|
for (var o = []; i; )
|
|
17320
17320
|
Zr(o, Vu(i)), i = Ks(i);
|
|
17321
17321
|
return o;
|
|
17322
|
-
} : ul,
|
|
17323
|
-
(yu &&
|
|
17322
|
+
} : ul, Te = Re;
|
|
17323
|
+
(yu && Te(new yu(new ArrayBuffer(1))) != Vn || Xi && Te(new Xi()) != Et || _u && Te(_u.resolve()) != Fr || Zn && Te(new Zn()) != ar || Wi && Te(new Wi()) != zi) && (Te = function(i) {
|
|
17324
17324
|
var o = Re(i), h = o == Ce ? i.constructor : r, d = h ? bn(h) : "";
|
|
17325
17325
|
if (d)
|
|
17326
17326
|
switch (d) {
|
|
@@ -17348,7 +17348,7 @@ vo.exports;
|
|
|
17348
17348
|
o -= E;
|
|
17349
17349
|
break;
|
|
17350
17350
|
case "take":
|
|
17351
|
-
o =
|
|
17351
|
+
o = be(o, i + E);
|
|
17352
17352
|
break;
|
|
17353
17353
|
case "takeRight":
|
|
17354
17354
|
i = fe(i, o - E);
|
|
@@ -17373,7 +17373,7 @@ vo.exports;
|
|
|
17373
17373
|
}
|
|
17374
17374
|
function hx(i) {
|
|
17375
17375
|
var o = i.length, h = new i.constructor(o);
|
|
17376
|
-
return o && typeof i[0] == "string" &&
|
|
17376
|
+
return o && typeof i[0] == "string" && $t.call(i, "index") && (h.index = i.index, h.input = i.input), h;
|
|
17377
17377
|
}
|
|
17378
17378
|
function Kf(i) {
|
|
17379
17379
|
return typeof i.constructor == "function" && !rs(i) ? Qn(Ks(i)) : {};
|
|
@@ -17383,7 +17383,7 @@ vo.exports;
|
|
|
17383
17383
|
switch (o) {
|
|
17384
17384
|
case Hi:
|
|
17385
17385
|
return Bu(i);
|
|
17386
|
-
case
|
|
17386
|
+
case Ht:
|
|
17387
17387
|
case qt:
|
|
17388
17388
|
return new d(+i);
|
|
17389
17389
|
case Vn:
|
|
@@ -17445,7 +17445,7 @@ vo.exports;
|
|
|
17445
17445
|
}
|
|
17446
17446
|
function Xu(i) {
|
|
17447
17447
|
var o = ga(i), h = _[o];
|
|
17448
|
-
if (typeof h != "function" || !(o in
|
|
17448
|
+
if (typeof h != "function" || !(o in wt.prototype))
|
|
17449
17449
|
return !1;
|
|
17450
17450
|
if (i === h)
|
|
17451
17451
|
return !0;
|
|
@@ -17484,7 +17484,7 @@ vo.exports;
|
|
|
17484
17484
|
var M = i[3];
|
|
17485
17485
|
i[3] = M ? Nf(M, C, o[4]) : C, i[4] = M ? Jr(i[3], p) : o[4];
|
|
17486
17486
|
}
|
|
17487
|
-
return C = o[5], C && (M = i[5], i[5] = M ? Lf(M, C, o[6]) : C, i[6] = M ? Jr(i[5], p) : o[6]), C = o[7], C && (i[7] = C), d & L && (i[8] = i[8] == null ? o[8] :
|
|
17487
|
+
return C = o[5], C && (M = i[5], i[5] = M ? Lf(M, C, o[6]) : C, i[6] = M ? Jr(i[5], p) : o[6]), C = o[7], C && (i[7] = C), d & L && (i[8] = i[8] == null ? o[8] : be(i[8], o[8])), i[9] == null && (i[9] = o[9]), i[0] = o[0], i[1] = v, i;
|
|
17488
17488
|
}
|
|
17489
17489
|
function _x(i) {
|
|
17490
17490
|
var o = [];
|
|
@@ -17510,7 +17510,7 @@ vo.exports;
|
|
|
17510
17510
|
return o.length < 2 ? i : _n(i, Je(o, 0, -1));
|
|
17511
17511
|
}
|
|
17512
17512
|
function bx(i, o) {
|
|
17513
|
-
for (var h = i.length, d =
|
|
17513
|
+
for (var h = i.length, d = be(o.length, h), v = Ne(i); d--; ) {
|
|
17514
17514
|
var b = o[d];
|
|
17515
17515
|
i[d] = Ur(b, h) ? v[b] : r;
|
|
17516
17516
|
}
|
|
@@ -17532,7 +17532,7 @@ vo.exports;
|
|
|
17532
17532
|
return function() {
|
|
17533
17533
|
var d = $y(), v = V - (d - h);
|
|
17534
17534
|
if (h = d, v > 0) {
|
|
17535
|
-
if (++o >=
|
|
17535
|
+
if (++o >= it)
|
|
17536
17536
|
return arguments[0];
|
|
17537
17537
|
} else
|
|
17538
17538
|
o = 0;
|
|
@@ -17573,13 +17573,13 @@ vo.exports;
|
|
|
17573
17573
|
return "";
|
|
17574
17574
|
}
|
|
17575
17575
|
function Tx(i, o) {
|
|
17576
|
-
return qe(
|
|
17576
|
+
return qe(_t, function(h) {
|
|
17577
17577
|
var d = "_." + h[0];
|
|
17578
17578
|
o & h[1] && !Gs(i, d) && i.push(d);
|
|
17579
17579
|
}), i.sort();
|
|
17580
17580
|
}
|
|
17581
17581
|
function sd(i) {
|
|
17582
|
-
if (i instanceof
|
|
17582
|
+
if (i instanceof wt)
|
|
17583
17583
|
return i.clone();
|
|
17584
17584
|
var o = new Ke(i.__wrapped__, i.__chain__);
|
|
17585
17585
|
return o.__actions__ = Ne(i.__actions__), o.__index__ = i.__index__, o.__values__ = i.__values__, o;
|
|
@@ -17647,7 +17647,7 @@ vo.exports;
|
|
|
17647
17647
|
if (!d)
|
|
17648
17648
|
return -1;
|
|
17649
17649
|
var v = d - 1;
|
|
17650
|
-
return h !== r && (v = dt(h), v = h < 0 ? fe(d + v, 0) :
|
|
17650
|
+
return h !== r && (v = dt(h), v = h < 0 ? fe(d + v, 0) : be(v, d - 1)), zs(i, at(o, 3), v, !0);
|
|
17651
17651
|
}
|
|
17652
17652
|
function ud(i) {
|
|
17653
17653
|
var o = i == null ? 0 : i.length;
|
|
@@ -17704,7 +17704,7 @@ vo.exports;
|
|
|
17704
17704
|
if (!d)
|
|
17705
17705
|
return -1;
|
|
17706
17706
|
var v = d;
|
|
17707
|
-
return h !== r && (v = dt(h), v = v < 0 ? fe(d + v, 0) :
|
|
17707
|
+
return h !== r && (v = dt(h), v = v < 0 ? fe(d + v, 0) : be(v, d - 1)), o === o ? Ty(i, o, v) : zs(i, zc, v, !0);
|
|
17708
17708
|
}
|
|
17709
17709
|
function Vx(i, o) {
|
|
17710
17710
|
return i && i.length ? xf(i, dt(o)) : r;
|
|
@@ -17868,7 +17868,7 @@ vo.exports;
|
|
|
17868
17868
|
var o = i.length, h = o ? i[0] : 0, d = this.__wrapped__, v = function(b) {
|
|
17869
17869
|
return bu(b, i);
|
|
17870
17870
|
};
|
|
17871
|
-
return o > 1 || this.__actions__.length || !(d instanceof
|
|
17871
|
+
return o > 1 || this.__actions__.length || !(d instanceof wt) || !Ur(h) ? this.thru(v) : (d = d.slice(h, +h + (o ? 1 : 0)), d.__actions__.push({
|
|
17872
17872
|
func: ya,
|
|
17873
17873
|
args: [v],
|
|
17874
17874
|
thisArg: r
|
|
@@ -17901,9 +17901,9 @@ vo.exports;
|
|
|
17901
17901
|
}
|
|
17902
17902
|
function M1() {
|
|
17903
17903
|
var i = this.__wrapped__;
|
|
17904
|
-
if (i instanceof
|
|
17904
|
+
if (i instanceof wt) {
|
|
17905
17905
|
var o = i;
|
|
17906
|
-
return this.__actions__.length && (o = new
|
|
17906
|
+
return this.__actions__.length && (o = new wt(this)), o = o.reverse(), o.__actions__.push({
|
|
17907
17907
|
func: ya,
|
|
17908
17908
|
args: [Yu],
|
|
17909
17909
|
thisArg: r
|
|
@@ -17915,7 +17915,7 @@ vo.exports;
|
|
|
17915
17915
|
return Rf(this.__wrapped__, this.__actions__);
|
|
17916
17916
|
}
|
|
17917
17917
|
var F1 = ha(function(i, o, h) {
|
|
17918
|
-
|
|
17918
|
+
$t.call(i, h) ? ++i[h] : kr(i, h, 1);
|
|
17919
17919
|
});
|
|
17920
17920
|
function N1(i, o, h) {
|
|
17921
17921
|
var d = ft(i) ? $c : S_;
|
|
@@ -17944,7 +17944,7 @@ vo.exports;
|
|
|
17944
17944
|
return h(i, at(o, 3));
|
|
17945
17945
|
}
|
|
17946
17946
|
var G1 = ha(function(i, o, h) {
|
|
17947
|
-
|
|
17947
|
+
$t.call(i, h) ? i[h].push(o) : kr(i, h, [o]);
|
|
17948
17948
|
});
|
|
17949
17949
|
function z1(i, o, h, d) {
|
|
17950
17950
|
i = Le(i) ? i : ii(i), h = h && !d ? dt(h) : 0;
|
|
@@ -18001,7 +18001,7 @@ vo.exports;
|
|
|
18001
18001
|
return 0;
|
|
18002
18002
|
if (Le(i))
|
|
18003
18003
|
return Sa(i) ? qn(i) : i.length;
|
|
18004
|
-
var o =
|
|
18004
|
+
var o = Te(i);
|
|
18005
18005
|
return o == Et || o == ar ? i.size : Cu(i).length;
|
|
18006
18006
|
}
|
|
18007
18007
|
function tb(i, o, h) {
|
|
@@ -18070,21 +18070,21 @@ vo.exports;
|
|
|
18070
18070
|
return d = v = r, D = ae, E = i.apply(zr, hr), E;
|
|
18071
18071
|
}
|
|
18072
18072
|
function ot(ae) {
|
|
18073
|
-
return D = ae, C = ns(
|
|
18073
|
+
return D = ae, C = ns(bt, o), U ? tt(ae) : E;
|
|
18074
18074
|
}
|
|
18075
|
-
function
|
|
18075
|
+
function gt(ae) {
|
|
18076
18076
|
var hr = ae - M, zr = ae - D, Ud = o - hr;
|
|
18077
|
-
return $ ?
|
|
18077
|
+
return $ ? be(Ud, b - zr) : Ud;
|
|
18078
18078
|
}
|
|
18079
18079
|
function ut(ae) {
|
|
18080
18080
|
var hr = ae - M, zr = ae - D;
|
|
18081
18081
|
return M === r || hr >= o || hr < 0 || $ && zr >= b;
|
|
18082
18082
|
}
|
|
18083
|
-
function
|
|
18083
|
+
function bt() {
|
|
18084
18084
|
var ae = xa();
|
|
18085
18085
|
if (ut(ae))
|
|
18086
18086
|
return Ct(ae);
|
|
18087
|
-
C = ns(
|
|
18087
|
+
C = ns(bt, gt(ae));
|
|
18088
18088
|
}
|
|
18089
18089
|
function Ct(ae) {
|
|
18090
18090
|
return C = r, q && d ? tt(ae) : (d = v = r, E);
|
|
@@ -18101,9 +18101,9 @@ vo.exports;
|
|
|
18101
18101
|
if (C === r)
|
|
18102
18102
|
return ot(M);
|
|
18103
18103
|
if ($)
|
|
18104
|
-
return Pf(C), C = ns(
|
|
18104
|
+
return Pf(C), C = ns(bt, o), tt(M);
|
|
18105
18105
|
}
|
|
18106
|
-
return C === r && (C = ns(
|
|
18106
|
+
return C === r && (C = ns(bt, o)), E;
|
|
18107
18107
|
}
|
|
18108
18108
|
return Ve.cancel = He, Ve.flush = Pe, Ve;
|
|
18109
18109
|
}
|
|
@@ -18153,7 +18153,7 @@ vo.exports;
|
|
|
18153
18153
|
o = o.length == 1 && ft(o[0]) ? Jt(o[0], $e(at())) : Jt(_e(o, 1), $e(at()));
|
|
18154
18154
|
var h = o.length;
|
|
18155
18155
|
return vt(function(d) {
|
|
18156
|
-
for (var v = -1, b =
|
|
18156
|
+
for (var v = -1, b = be(d.length, h); ++v < b; )
|
|
18157
18157
|
d[v] = o[v].call(this, d[v]);
|
|
18158
18158
|
return Ue(i, this, d);
|
|
18159
18159
|
});
|
|
@@ -18224,7 +18224,7 @@ vo.exports;
|
|
|
18224
18224
|
}), Tn = pf(function() {
|
|
18225
18225
|
return arguments;
|
|
18226
18226
|
}()) ? pf : function(i) {
|
|
18227
|
-
return ie(i) &&
|
|
18227
|
+
return ie(i) && $t.call(i, "callee") && !Qc.call(i, "callee");
|
|
18228
18228
|
}, ft = F.isArray, Tb = Nc ? $e(Nc) : P_;
|
|
18229
18229
|
function Le(i) {
|
|
18230
18230
|
return i != null && wa(i.length) && !$r(i);
|
|
@@ -18233,7 +18233,7 @@ vo.exports;
|
|
|
18233
18233
|
return ie(i) && Le(i);
|
|
18234
18234
|
}
|
|
18235
18235
|
function wb(i) {
|
|
18236
|
-
return i === !0 || i === !1 || ie(i) && Re(i) ==
|
|
18236
|
+
return i === !0 || i === !1 || ie(i) && Re(i) == Ht;
|
|
18237
18237
|
}
|
|
18238
18238
|
var sn = By || ll, Sb = Lc ? $e(Lc) : M_;
|
|
18239
18239
|
function Ab(i) {
|
|
@@ -18244,13 +18244,13 @@ vo.exports;
|
|
|
18244
18244
|
return !0;
|
|
18245
18245
|
if (Le(i) && (ft(i) || typeof i == "string" || typeof i.splice == "function" || sn(i) || ni(i) || Tn(i)))
|
|
18246
18246
|
return !i.length;
|
|
18247
|
-
var o =
|
|
18247
|
+
var o = Te(i);
|
|
18248
18248
|
if (o == Et || o == ar)
|
|
18249
18249
|
return !i.size;
|
|
18250
18250
|
if (rs(i))
|
|
18251
18251
|
return !Cu(i).length;
|
|
18252
18252
|
for (var h in i)
|
|
18253
|
-
if (
|
|
18253
|
+
if ($t.call(i, h))
|
|
18254
18254
|
return !1;
|
|
18255
18255
|
return !0;
|
|
18256
18256
|
}
|
|
@@ -18275,7 +18275,7 @@ vo.exports;
|
|
|
18275
18275
|
if (!te(i))
|
|
18276
18276
|
return !1;
|
|
18277
18277
|
var o = Re(i);
|
|
18278
|
-
return o == st || o ==
|
|
18278
|
+
return o == st || o == At || o == zt || o == sr;
|
|
18279
18279
|
}
|
|
18280
18280
|
function Td(i) {
|
|
18281
18281
|
return typeof i == "number" && i == dt(i);
|
|
@@ -18320,7 +18320,7 @@ vo.exports;
|
|
|
18320
18320
|
var o = Ks(i);
|
|
18321
18321
|
if (o === null)
|
|
18322
18322
|
return !0;
|
|
18323
|
-
var h =
|
|
18323
|
+
var h = $t.call(o, "constructor") && o.constructor;
|
|
18324
18324
|
return typeof h == "function" && h instanceof h && Xs.call(h) == My;
|
|
18325
18325
|
}
|
|
18326
18326
|
var tl = Bc ? $e(Bc) : N_;
|
|
@@ -18339,7 +18339,7 @@ vo.exports;
|
|
|
18339
18339
|
return i === r;
|
|
18340
18340
|
}
|
|
18341
18341
|
function Db(i) {
|
|
18342
|
-
return ie(i) &&
|
|
18342
|
+
return ie(i) && Te(i) == zi;
|
|
18343
18343
|
}
|
|
18344
18344
|
function Ub(i) {
|
|
18345
18345
|
return ie(i) && Re(i) == ev;
|
|
@@ -18354,7 +18354,7 @@ vo.exports;
|
|
|
18354
18354
|
return Sa(i) ? or(i) : Ne(i);
|
|
18355
18355
|
if (ji && i[ji])
|
|
18356
18356
|
return _y(i[ji]());
|
|
18357
|
-
var o =
|
|
18357
|
+
var o = Te(i), h = o == Et ? gu : o == ar ? Hs : ii;
|
|
18358
18358
|
return h(i);
|
|
18359
18359
|
}
|
|
18360
18360
|
function Gr(i) {
|
|
@@ -18362,7 +18362,7 @@ vo.exports;
|
|
|
18362
18362
|
return i === 0 ? i : 0;
|
|
18363
18363
|
if (i = tr(i), i === G || i === -G) {
|
|
18364
18364
|
var o = i < 0 ? -1 : 1;
|
|
18365
|
-
return o *
|
|
18365
|
+
return o * pt;
|
|
18366
18366
|
}
|
|
18367
18367
|
return i === i ? i : 0;
|
|
18368
18368
|
}
|
|
@@ -18394,7 +18394,7 @@ vo.exports;
|
|
|
18394
18394
|
function zb(i) {
|
|
18395
18395
|
return i ? yn(dt(i), -et, et) : i === 0 ? i : 0;
|
|
18396
18396
|
}
|
|
18397
|
-
function
|
|
18397
|
+
function Dt(i) {
|
|
18398
18398
|
return i == null ? "" : Ge(i);
|
|
18399
18399
|
}
|
|
18400
18400
|
var Hb = ti(function(i, o) {
|
|
@@ -18403,7 +18403,7 @@ vo.exports;
|
|
|
18403
18403
|
return;
|
|
18404
18404
|
}
|
|
18405
18405
|
for (var h in o)
|
|
18406
|
-
|
|
18406
|
+
$t.call(o, h) && Ki(i, h, o[h]);
|
|
18407
18407
|
}), Id = ti(function(i, o) {
|
|
18408
18408
|
wr(o, ke(o), i);
|
|
18409
18409
|
}), Aa = ti(function(i, o, h, d) {
|
|
@@ -18421,7 +18421,7 @@ vo.exports;
|
|
|
18421
18421
|
for (v && Ie(o[0], o[1], v) && (d = 1); ++h < d; )
|
|
18422
18422
|
for (var b = o[h], E = ke(b), C = -1, M = E.length; ++C < M; ) {
|
|
18423
18423
|
var D = E[C], U = i[D];
|
|
18424
|
-
(U === r || lr(U, Kn[D]) &&
|
|
18424
|
+
(U === r || lr(U, Kn[D]) && !$t.call(i, D)) && (i[D] = b[D]);
|
|
18425
18425
|
}
|
|
18426
18426
|
return i;
|
|
18427
18427
|
}), qb = vt(function(i) {
|
|
@@ -18464,7 +18464,7 @@ vo.exports;
|
|
|
18464
18464
|
var iT = Gf(function(i, o, h) {
|
|
18465
18465
|
o != null && typeof o.toString != "function" && (o = Ws.call(o)), i[o] = h;
|
|
18466
18466
|
}, il(Be)), sT = Gf(function(i, o, h) {
|
|
18467
|
-
o != null && typeof o.toString != "function" && (o = Ws.call(o)),
|
|
18467
|
+
o != null && typeof o.toString != "function" && (o = Ws.call(o)), $t.call(i, o) ? i[o].push(h) : i[o] = [h];
|
|
18468
18468
|
}, at), aT = vt(Ji);
|
|
18469
18469
|
function pe(i) {
|
|
18470
18470
|
return Le(i) ? sf(i) : Cu(i);
|
|
@@ -18570,7 +18570,7 @@ vo.exports;
|
|
|
18570
18570
|
}
|
|
18571
18571
|
if (h || i % 1 || o % 1) {
|
|
18572
18572
|
var v = rf();
|
|
18573
|
-
return
|
|
18573
|
+
return be(i + v * (o - i + ey("1e-" + ((v + "").length - 1))), o);
|
|
18574
18574
|
}
|
|
18575
18575
|
return Pu(i, o);
|
|
18576
18576
|
}
|
|
@@ -18578,23 +18578,23 @@ vo.exports;
|
|
|
18578
18578
|
return o = o.toLowerCase(), i + (h ? Nd(o) : o);
|
|
18579
18579
|
});
|
|
18580
18580
|
function Nd(i) {
|
|
18581
|
-
return nl(
|
|
18581
|
+
return nl(Dt(i).toLowerCase());
|
|
18582
18582
|
}
|
|
18583
18583
|
function Ld(i) {
|
|
18584
|
-
return i =
|
|
18584
|
+
return i = Dt(i), i && i.replace(Ev, py).replace(jv, "");
|
|
18585
18585
|
}
|
|
18586
18586
|
function AT(i, o, h) {
|
|
18587
|
-
i =
|
|
18587
|
+
i = Dt(i), o = Ge(o);
|
|
18588
18588
|
var d = i.length;
|
|
18589
18589
|
h = h === r ? d : yn(dt(h), 0, d);
|
|
18590
18590
|
var v = h;
|
|
18591
18591
|
return h -= o.length, h >= 0 && i.slice(h, v) == o;
|
|
18592
18592
|
}
|
|
18593
18593
|
function ET(i) {
|
|
18594
|
-
return i =
|
|
18594
|
+
return i = Dt(i), i && av.test(i) ? i.replace(cc, gy) : i;
|
|
18595
18595
|
}
|
|
18596
18596
|
function CT(i) {
|
|
18597
|
-
return i =
|
|
18597
|
+
return i = Dt(i), i && fv.test(i) ? i.replace(Jo, "\\$&") : i;
|
|
18598
18598
|
}
|
|
18599
18599
|
var RT = ei(function(i, o, h) {
|
|
18600
18600
|
return i + (h ? "-" : "") + o.toLowerCase();
|
|
@@ -18602,7 +18602,7 @@ vo.exports;
|
|
|
18602
18602
|
return i + (h ? " " : "") + o.toLowerCase();
|
|
18603
18603
|
}), PT = Df("toLowerCase");
|
|
18604
18604
|
function MT(i, o, h) {
|
|
18605
|
-
i =
|
|
18605
|
+
i = Dt(i), o = dt(o);
|
|
18606
18606
|
var d = o ? qn(i) : 0;
|
|
18607
18607
|
if (!o || d >= o)
|
|
18608
18608
|
return i;
|
|
@@ -18610,48 +18610,48 @@ vo.exports;
|
|
|
18610
18610
|
return da(ta(v), h) + i + da(Qs(v), h);
|
|
18611
18611
|
}
|
|
18612
18612
|
function OT(i, o, h) {
|
|
18613
|
-
i =
|
|
18613
|
+
i = Dt(i), o = dt(o);
|
|
18614
18614
|
var d = o ? qn(i) : 0;
|
|
18615
18615
|
return o && d < o ? i + da(o - d, h) : i;
|
|
18616
18616
|
}
|
|
18617
18617
|
function FT(i, o, h) {
|
|
18618
|
-
i =
|
|
18618
|
+
i = Dt(i), o = dt(o);
|
|
18619
18619
|
var d = o ? qn(i) : 0;
|
|
18620
18620
|
return o && d < o ? da(o - d, h) + i : i;
|
|
18621
18621
|
}
|
|
18622
18622
|
function NT(i, o, h) {
|
|
18623
|
-
return h || o == null ? o = 0 : o && (o = +o), Gy(
|
|
18623
|
+
return h || o == null ? o = 0 : o && (o = +o), Gy(Dt(i).replace(Qo, ""), o || 0);
|
|
18624
18624
|
}
|
|
18625
18625
|
function LT(i, o, h) {
|
|
18626
|
-
return (h ? Ie(i, o, h) : o === r) ? o = 1 : o = dt(o), Mu(
|
|
18626
|
+
return (h ? Ie(i, o, h) : o === r) ? o = 1 : o = dt(o), Mu(Dt(i), o);
|
|
18627
18627
|
}
|
|
18628
18628
|
function kT() {
|
|
18629
|
-
var i = arguments, o =
|
|
18629
|
+
var i = arguments, o = Dt(i[0]);
|
|
18630
18630
|
return i.length < 3 ? o : o.replace(i[1], i[2]);
|
|
18631
18631
|
}
|
|
18632
18632
|
var BT = ei(function(i, o, h) {
|
|
18633
18633
|
return i + (h ? "_" : "") + o.toLowerCase();
|
|
18634
18634
|
});
|
|
18635
18635
|
function DT(i, o, h) {
|
|
18636
|
-
return h && typeof h != "number" && Ie(i, o, h) && (o = h = r), h = h === r ? Y : h >>> 0, h ? (i =
|
|
18636
|
+
return h && typeof h != "number" && Ie(i, o, h) && (o = h = r), h = h === r ? Y : h >>> 0, h ? (i = Dt(i), i && (typeof o == "string" || o != null && !tl(o)) && (o = Ge(o), !o && Wn(i)) ? nn(or(i), 0, h) : i.split(o, h)) : [];
|
|
18637
18637
|
}
|
|
18638
18638
|
var UT = ei(function(i, o, h) {
|
|
18639
18639
|
return i + (h ? " " : "") + nl(o);
|
|
18640
18640
|
});
|
|
18641
18641
|
function $T(i, o, h) {
|
|
18642
|
-
return i =
|
|
18642
|
+
return i = Dt(i), h = h == null ? 0 : yn(dt(h), 0, i.length), o = Ge(o), i.slice(h, h + o.length) == o;
|
|
18643
18643
|
}
|
|
18644
18644
|
function GT(i, o, h) {
|
|
18645
18645
|
var d = _.templateSettings;
|
|
18646
|
-
h && Ie(i, o, h) && (o = r), i =
|
|
18646
|
+
h && Ie(i, o, h) && (o = r), i = Dt(i), o = Aa({}, o, d, jf);
|
|
18647
18647
|
var v = Aa({}, o.imports, d.imports, jf), b = pe(v), E = pu(v, b), C, M, D = 0, U = o.interpolate || Ds, $ = "__p += '", q = mu(
|
|
18648
18648
|
(o.escape || Ds).source + "|" + U.source + "|" + (U === fc ? xv : Ds).source + "|" + (o.evaluate || Ds).source + "|$",
|
|
18649
18649
|
"g"
|
|
18650
|
-
), tt = "//# sourceURL=" + (
|
|
18650
|
+
), tt = "//# sourceURL=" + ($t.call(o, "sourceURL") ? (o.sourceURL + "").replace(/\s/g, " ") : "lodash.templateSources[" + ++Kv + "]") + `
|
|
18651
18651
|
`;
|
|
18652
|
-
i.replace(q, function(ut,
|
|
18653
|
-
return Ct || (Ct = He), $ += i.slice(D, Ve).replace(Cv, my),
|
|
18654
|
-
__e(` +
|
|
18652
|
+
i.replace(q, function(ut, bt, Ct, He, Pe, Ve) {
|
|
18653
|
+
return Ct || (Ct = He), $ += i.slice(D, Ve).replace(Cv, my), bt && (C = !0, $ += `' +
|
|
18654
|
+
__e(` + bt + `) +
|
|
18655
18655
|
'`), Pe && (M = !0, $ += `';
|
|
18656
18656
|
` + Pe + `;
|
|
18657
18657
|
__p += '`), Ct && ($ += `' +
|
|
@@ -18659,7 +18659,7 @@ __p += '`), Ct && ($ += `' +
|
|
|
18659
18659
|
'`), D = Ve + ut.length, ut;
|
|
18660
18660
|
}), $ += `';
|
|
18661
18661
|
`;
|
|
18662
|
-
var ot =
|
|
18662
|
+
var ot = $t.call(o, "variable") && o.variable;
|
|
18663
18663
|
if (!ot)
|
|
18664
18664
|
$ = `with (obj) {
|
|
18665
18665
|
` + $ + `
|
|
@@ -18674,21 +18674,21 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18674
18674
|
` : `;
|
|
18675
18675
|
`) + $ + `return __p
|
|
18676
18676
|
}`;
|
|
18677
|
-
var
|
|
18677
|
+
var gt = Bd(function() {
|
|
18678
18678
|
return Bt(b, tt + "return " + $).apply(r, E);
|
|
18679
18679
|
});
|
|
18680
|
-
if (
|
|
18681
|
-
throw
|
|
18682
|
-
return
|
|
18680
|
+
if (gt.source = $, Qu(gt))
|
|
18681
|
+
throw gt;
|
|
18682
|
+
return gt;
|
|
18683
18683
|
}
|
|
18684
18684
|
function zT(i) {
|
|
18685
|
-
return
|
|
18685
|
+
return Dt(i).toLowerCase();
|
|
18686
18686
|
}
|
|
18687
18687
|
function HT(i) {
|
|
18688
|
-
return
|
|
18688
|
+
return Dt(i).toUpperCase();
|
|
18689
18689
|
}
|
|
18690
18690
|
function VT(i, o, h) {
|
|
18691
|
-
if (i =
|
|
18691
|
+
if (i = Dt(i), i && (h || o === r))
|
|
18692
18692
|
return jc(i);
|
|
18693
18693
|
if (!i || !(o = Ge(o)))
|
|
18694
18694
|
return i;
|
|
@@ -18696,7 +18696,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18696
18696
|
return nn(d, b, E).join("");
|
|
18697
18697
|
}
|
|
18698
18698
|
function jT(i, o, h) {
|
|
18699
|
-
if (i =
|
|
18699
|
+
if (i = Dt(i), i && (h || o === r))
|
|
18700
18700
|
return i.slice(0, Yc(i) + 1);
|
|
18701
18701
|
if (!i || !(o = Ge(o)))
|
|
18702
18702
|
return i;
|
|
@@ -18704,7 +18704,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18704
18704
|
return nn(d, 0, v).join("");
|
|
18705
18705
|
}
|
|
18706
18706
|
function XT(i, o, h) {
|
|
18707
|
-
if (i =
|
|
18707
|
+
if (i = Dt(i), i && (h || o === r))
|
|
18708
18708
|
return i.replace(Qo, "");
|
|
18709
18709
|
if (!i || !(o = Ge(o)))
|
|
18710
18710
|
return i;
|
|
@@ -18717,7 +18717,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18717
18717
|
var v = "separator" in o ? o.separator : v;
|
|
18718
18718
|
h = "length" in o ? dt(o.length) : h, d = "omission" in o ? Ge(o.omission) : d;
|
|
18719
18719
|
}
|
|
18720
|
-
i =
|
|
18720
|
+
i = Dt(i);
|
|
18721
18721
|
var b = i.length;
|
|
18722
18722
|
if (Wn(i)) {
|
|
18723
18723
|
var E = or(i);
|
|
@@ -18734,7 +18734,7 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18734
18734
|
if (E && (C += M.length - C), tl(v)) {
|
|
18735
18735
|
if (i.slice(C).search(v)) {
|
|
18736
18736
|
var D, U = M;
|
|
18737
|
-
for (v.global || (v = mu(v.source,
|
|
18737
|
+
for (v.global || (v = mu(v.source, Dt(dc.exec(v)) + "g")), v.lastIndex = 0; D = v.exec(U); )
|
|
18738
18738
|
var $ = D.index;
|
|
18739
18739
|
M = M.slice(0, $ === r ? C : $);
|
|
18740
18740
|
}
|
|
@@ -18745,13 +18745,13 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18745
18745
|
return M + d;
|
|
18746
18746
|
}
|
|
18747
18747
|
function qT(i) {
|
|
18748
|
-
return i =
|
|
18748
|
+
return i = Dt(i), i && sv.test(i) ? i.replace(hc, wy) : i;
|
|
18749
18749
|
}
|
|
18750
18750
|
var YT = ei(function(i, o, h) {
|
|
18751
18751
|
return i + (h ? " " : "") + o.toUpperCase();
|
|
18752
18752
|
}), nl = Df("toUpperCase");
|
|
18753
18753
|
function kd(i, o, h) {
|
|
18754
|
-
return i =
|
|
18754
|
+
return i = Dt(i), o = h ? r : o, o === r ? yy(i) ? Ey(i) : ly(i) : i.match(o) || [];
|
|
18755
18755
|
}
|
|
18756
18756
|
var Bd = vt(function(i, o) {
|
|
18757
18757
|
try {
|
|
@@ -18865,18 +18865,18 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18865
18865
|
function vw(i, o) {
|
|
18866
18866
|
if (i = dt(i), i < 1 || i > et)
|
|
18867
18867
|
return [];
|
|
18868
|
-
var h = Y, d =
|
|
18868
|
+
var h = Y, d = be(i, Y);
|
|
18869
18869
|
o = at(o), i -= Y;
|
|
18870
18870
|
for (var v = du(d, o); ++h < i; )
|
|
18871
18871
|
o(h);
|
|
18872
18872
|
return v;
|
|
18873
18873
|
}
|
|
18874
18874
|
function yw(i) {
|
|
18875
|
-
return ft(i) ? Jt(i, Sr) : ze(i) ? [i] : Ne(id(
|
|
18875
|
+
return ft(i) ? Jt(i, Sr) : ze(i) ? [i] : Ne(id(Dt(i)));
|
|
18876
18876
|
}
|
|
18877
18877
|
function _w(i) {
|
|
18878
18878
|
var o = ++Py;
|
|
18879
|
-
return
|
|
18879
|
+
return Dt(i) + o;
|
|
18880
18880
|
}
|
|
18881
18881
|
var xw = fa(function(i, o) {
|
|
18882
18882
|
return i + o;
|
|
@@ -18912,27 +18912,27 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18912
18912
|
function Nw(i, o) {
|
|
18913
18913
|
return i && i.length ? fu(i, at(o, 2)) : 0;
|
|
18914
18914
|
}
|
|
18915
|
-
return _.after = rb, _.ary = gd, _.assign = Hb, _.assignIn = Id, _.assignInWith = Aa, _.assignWith = Vb, _.at = jb, _.before = md, _.bind = Zu, _.bindAll = KT, _.bindKey = vd, _.castArray = pb, _.chain = fd, _.chunk = wx, _.compact = Sx, _.concat = Ax, _.cond = ZT, _.conforms = JT, _.constant = il, _.countBy = F1, _.create = Xb, _.curry = yd, _.curryRight = _d, _.debounce = xd, _.defaults = Wb, _.defaultsDeep = qb, _.defer = nb, _.delay = ib, _.difference = Ex, _.differenceBy = Cx, _.differenceWith = Rx, _.drop = Ix, _.dropRight = Px, _.dropRightWhile = Mx, _.dropWhile = Ox, _.fill = Fx, _.filter = L1, _.flatMap = D1, _.flatMapDeep = U1, _.flatMapDepth = $1, _.flatten = ud, _.flattenDeep = Nx, _.flattenDepth = Lx, _.flip = sb, _.flow = tw, _.flowRight = ew, _.fromPairs = kx, _.functions = eT, _.functionsIn = rT, _.groupBy = G1, _.initial = Dx, _.intersection = Ux, _.intersectionBy = $x, _.intersectionWith = Gx, _.invert = iT, _.invertBy = sT, _.invokeMap = H1, _.iteratee = sl, _.keyBy = V1, _.keys = pe, _.keysIn = ke, _.map = _a, _.mapKeys = oT, _.mapValues = uT, _.matches = rw, _.matchesProperty = nw, _.memoize = ba, _.merge = lT, _.mergeWith = Pd, _.method = iw, _.methodOf = sw, _.mixin = al, _.negate = Ta, _.nthArg = ow, _.omit = hT, _.omitBy = cT, _.once = ab, _.orderBy = j1, _.over = uw, _.overArgs = ob, _.overEvery = lw, _.overSome = hw, _.partial = Ju, _.partialRight = bd, _.partition = X1, _.pick = fT, _.pickBy = Md, _.property = Dd, _.propertyOf = cw, _.pull = jx, _.pullAll = hd, _.pullAllBy = Xx, _.pullAllWith = Wx, _.pullAt = qx, _.range = fw, _.rangeRight = dw, _.rearg = ub, _.reject = Y1, _.remove = Yx, _.rest = lb, _.reverse = Yu, _.sampleSize = Z1, _.set = pT, _.setWith = gT, _.shuffle = J1, _.slice = Kx, _.sortBy = eb, _.sortedUniq = n1, _.sortedUniqBy = i1, _.split = DT, _.spread = hb, _.tail = s1, _.take = a1, _.takeRight = o1, _.takeRightWhile = u1, _.takeWhile = l1, _.tap = S1, _.throttle = cb, _.thru = ya, _.toArray = Ed, _.toPairs = Od, _.toPairsIn = Fd, _.toPath = yw, _.toPlainObject = Rd, _.transform = mT, _.unary = fb, _.union = h1, _.unionBy = c1, _.unionWith = f1, _.uniq = d1, _.uniqBy = p1, _.uniqWith = g1, _.unset = vT, _.unzip = Ku, _.unzipWith = cd, _.update = yT, _.updateWith = _T, _.values = ii, _.valuesIn = xT, _.without = m1, _.words = kd, _.wrap = db, _.xor = v1, _.xorBy = y1, _.xorWith = _1, _.zip = x1, _.zipObject = b1, _.zipObjectDeep = T1, _.zipWith = w1, _.entries = Od, _.entriesIn = Fd, _.extend = Id, _.extendWith = Aa, al(_, _), _.add = xw, _.attempt = Bd, _.camelCase = ST, _.capitalize = Nd, _.ceil = bw, _.clamp = bT, _.clone = gb, _.cloneDeep = vb, _.cloneDeepWith = yb, _.cloneWith = mb, _.conformsTo = _b, _.deburr = Ld, _.defaultTo = QT, _.divide = Tw, _.endsWith = AT, _.eq = lr, _.escape = ET, _.escapeRegExp = CT, _.every = N1, _.find = k1, _.findIndex = ad, _.findKey = Yb, _.findLast = B1, _.findLastIndex = od, _.findLastKey = Kb, _.floor = ww, _.forEach = dd, _.forEachRight = pd, _.forIn = Zb, _.forInRight = Jb, _.forOwn = Qb, _.forOwnRight = tT, _.get = el, _.gt = xb, _.gte = bb, _.has = nT, _.hasIn = rl, _.head = ld, _.identity = Be, _.includes = z1, _.indexOf = Bx, _.inRange = TT, _.invoke = aT, _.isArguments = Tn, _.isArray = ft, _.isArrayBuffer = Tb, _.isArrayLike = Le, _.isArrayLikeObject = se, _.isBoolean = wb, _.isBuffer = sn, _.isDate = Sb, _.isElement = Ab, _.isEmpty = Eb, _.isEqual = Cb, _.isEqualWith = Rb, _.isError = Qu, _.isFinite = Ib, _.isFunction = $r, _.isInteger = Td, _.isLength = wa, _.isMap = wd, _.isMatch = Pb, _.isMatchWith = Mb, _.isNaN = Ob, _.isNative = Fb, _.isNil = Lb, _.isNull = Nb, _.isNumber = Sd, _.isObject = te, _.isObjectLike = ie, _.isPlainObject = is, _.isRegExp = tl, _.isSafeInteger = kb, _.isSet = Ad, _.isString = Sa, _.isSymbol = ze, _.isTypedArray = ni, _.isUndefined = Bb, _.isWeakMap = Db, _.isWeakSet = Ub, _.join = zx, _.kebabCase = RT, _.last = Qe, _.lastIndexOf = Hx, _.lowerCase = IT, _.lowerFirst = PT, _.lt = $b, _.lte = Gb, _.max = Sw, _.maxBy = Aw, _.mean = Ew, _.meanBy = Cw, _.min = Rw, _.minBy = Iw, _.stubArray = ul, _.stubFalse = ll, _.stubObject = pw, _.stubString = gw, _.stubTrue = mw, _.multiply = Pw, _.nth = Vx, _.noConflict = aw, _.noop = ol, _.now = xa, _.pad = MT, _.padEnd = OT, _.padStart = FT, _.parseInt = NT, _.random = wT, _.reduce = W1, _.reduceRight = q1, _.repeat = LT, _.replace = kT, _.result = dT, _.round = Mw, _.runInContext = P, _.sample = K1, _.size = Q1, _.snakeCase = BT, _.some = tb, _.sortedIndex = Zx, _.sortedIndexBy = Jx, _.sortedIndexOf = Qx, _.sortedLastIndex = t1, _.sortedLastIndexBy = e1, _.sortedLastIndexOf = r1, _.startCase = UT, _.startsWith = $T, _.subtract = Ow, _.sum = Fw, _.sumBy = Nw, _.template = GT, _.times = vw, _.toFinite = Gr, _.toInteger = dt, _.toLength = Cd, _.toLower = zT, _.toNumber = tr, _.toSafeInteger = zb, _.toString =
|
|
18915
|
+
return _.after = rb, _.ary = gd, _.assign = Hb, _.assignIn = Id, _.assignInWith = Aa, _.assignWith = Vb, _.at = jb, _.before = md, _.bind = Zu, _.bindAll = KT, _.bindKey = vd, _.castArray = pb, _.chain = fd, _.chunk = wx, _.compact = Sx, _.concat = Ax, _.cond = ZT, _.conforms = JT, _.constant = il, _.countBy = F1, _.create = Xb, _.curry = yd, _.curryRight = _d, _.debounce = xd, _.defaults = Wb, _.defaultsDeep = qb, _.defer = nb, _.delay = ib, _.difference = Ex, _.differenceBy = Cx, _.differenceWith = Rx, _.drop = Ix, _.dropRight = Px, _.dropRightWhile = Mx, _.dropWhile = Ox, _.fill = Fx, _.filter = L1, _.flatMap = D1, _.flatMapDeep = U1, _.flatMapDepth = $1, _.flatten = ud, _.flattenDeep = Nx, _.flattenDepth = Lx, _.flip = sb, _.flow = tw, _.flowRight = ew, _.fromPairs = kx, _.functions = eT, _.functionsIn = rT, _.groupBy = G1, _.initial = Dx, _.intersection = Ux, _.intersectionBy = $x, _.intersectionWith = Gx, _.invert = iT, _.invertBy = sT, _.invokeMap = H1, _.iteratee = sl, _.keyBy = V1, _.keys = pe, _.keysIn = ke, _.map = _a, _.mapKeys = oT, _.mapValues = uT, _.matches = rw, _.matchesProperty = nw, _.memoize = ba, _.merge = lT, _.mergeWith = Pd, _.method = iw, _.methodOf = sw, _.mixin = al, _.negate = Ta, _.nthArg = ow, _.omit = hT, _.omitBy = cT, _.once = ab, _.orderBy = j1, _.over = uw, _.overArgs = ob, _.overEvery = lw, _.overSome = hw, _.partial = Ju, _.partialRight = bd, _.partition = X1, _.pick = fT, _.pickBy = Md, _.property = Dd, _.propertyOf = cw, _.pull = jx, _.pullAll = hd, _.pullAllBy = Xx, _.pullAllWith = Wx, _.pullAt = qx, _.range = fw, _.rangeRight = dw, _.rearg = ub, _.reject = Y1, _.remove = Yx, _.rest = lb, _.reverse = Yu, _.sampleSize = Z1, _.set = pT, _.setWith = gT, _.shuffle = J1, _.slice = Kx, _.sortBy = eb, _.sortedUniq = n1, _.sortedUniqBy = i1, _.split = DT, _.spread = hb, _.tail = s1, _.take = a1, _.takeRight = o1, _.takeRightWhile = u1, _.takeWhile = l1, _.tap = S1, _.throttle = cb, _.thru = ya, _.toArray = Ed, _.toPairs = Od, _.toPairsIn = Fd, _.toPath = yw, _.toPlainObject = Rd, _.transform = mT, _.unary = fb, _.union = h1, _.unionBy = c1, _.unionWith = f1, _.uniq = d1, _.uniqBy = p1, _.uniqWith = g1, _.unset = vT, _.unzip = Ku, _.unzipWith = cd, _.update = yT, _.updateWith = _T, _.values = ii, _.valuesIn = xT, _.without = m1, _.words = kd, _.wrap = db, _.xor = v1, _.xorBy = y1, _.xorWith = _1, _.zip = x1, _.zipObject = b1, _.zipObjectDeep = T1, _.zipWith = w1, _.entries = Od, _.entriesIn = Fd, _.extend = Id, _.extendWith = Aa, al(_, _), _.add = xw, _.attempt = Bd, _.camelCase = ST, _.capitalize = Nd, _.ceil = bw, _.clamp = bT, _.clone = gb, _.cloneDeep = vb, _.cloneDeepWith = yb, _.cloneWith = mb, _.conformsTo = _b, _.deburr = Ld, _.defaultTo = QT, _.divide = Tw, _.endsWith = AT, _.eq = lr, _.escape = ET, _.escapeRegExp = CT, _.every = N1, _.find = k1, _.findIndex = ad, _.findKey = Yb, _.findLast = B1, _.findLastIndex = od, _.findLastKey = Kb, _.floor = ww, _.forEach = dd, _.forEachRight = pd, _.forIn = Zb, _.forInRight = Jb, _.forOwn = Qb, _.forOwnRight = tT, _.get = el, _.gt = xb, _.gte = bb, _.has = nT, _.hasIn = rl, _.head = ld, _.identity = Be, _.includes = z1, _.indexOf = Bx, _.inRange = TT, _.invoke = aT, _.isArguments = Tn, _.isArray = ft, _.isArrayBuffer = Tb, _.isArrayLike = Le, _.isArrayLikeObject = se, _.isBoolean = wb, _.isBuffer = sn, _.isDate = Sb, _.isElement = Ab, _.isEmpty = Eb, _.isEqual = Cb, _.isEqualWith = Rb, _.isError = Qu, _.isFinite = Ib, _.isFunction = $r, _.isInteger = Td, _.isLength = wa, _.isMap = wd, _.isMatch = Pb, _.isMatchWith = Mb, _.isNaN = Ob, _.isNative = Fb, _.isNil = Lb, _.isNull = Nb, _.isNumber = Sd, _.isObject = te, _.isObjectLike = ie, _.isPlainObject = is, _.isRegExp = tl, _.isSafeInteger = kb, _.isSet = Ad, _.isString = Sa, _.isSymbol = ze, _.isTypedArray = ni, _.isUndefined = Bb, _.isWeakMap = Db, _.isWeakSet = Ub, _.join = zx, _.kebabCase = RT, _.last = Qe, _.lastIndexOf = Hx, _.lowerCase = IT, _.lowerFirst = PT, _.lt = $b, _.lte = Gb, _.max = Sw, _.maxBy = Aw, _.mean = Ew, _.meanBy = Cw, _.min = Rw, _.minBy = Iw, _.stubArray = ul, _.stubFalse = ll, _.stubObject = pw, _.stubString = gw, _.stubTrue = mw, _.multiply = Pw, _.nth = Vx, _.noConflict = aw, _.noop = ol, _.now = xa, _.pad = MT, _.padEnd = OT, _.padStart = FT, _.parseInt = NT, _.random = wT, _.reduce = W1, _.reduceRight = q1, _.repeat = LT, _.replace = kT, _.result = dT, _.round = Mw, _.runInContext = P, _.sample = K1, _.size = Q1, _.snakeCase = BT, _.some = tb, _.sortedIndex = Zx, _.sortedIndexBy = Jx, _.sortedIndexOf = Qx, _.sortedLastIndex = t1, _.sortedLastIndexBy = e1, _.sortedLastIndexOf = r1, _.startCase = UT, _.startsWith = $T, _.subtract = Ow, _.sum = Fw, _.sumBy = Nw, _.template = GT, _.times = vw, _.toFinite = Gr, _.toInteger = dt, _.toLength = Cd, _.toLower = zT, _.toNumber = tr, _.toSafeInteger = zb, _.toString = Dt, _.toUpper = HT, _.trim = VT, _.trimEnd = jT, _.trimStart = XT, _.truncate = WT, _.unescape = qT, _.uniqueId = _w, _.upperCase = YT, _.upperFirst = nl, _.each = dd, _.eachRight = pd, _.first = ld, al(_, function() {
|
|
18916
18916
|
var i = {};
|
|
18917
18917
|
return Tr(_, function(o, h) {
|
|
18918
|
-
|
|
18918
|
+
$t.call(_.prototype, h) || (i[h] = o);
|
|
18919
18919
|
}), i;
|
|
18920
18920
|
}(), { chain: !1 }), _.VERSION = n, qe(["bind", "bindKey", "curry", "curryRight", "partial", "partialRight"], function(i) {
|
|
18921
18921
|
_[i].placeholder = _;
|
|
18922
18922
|
}), qe(["drop", "take"], function(i, o) {
|
|
18923
|
-
|
|
18923
|
+
wt.prototype[i] = function(h) {
|
|
18924
18924
|
h = h === r ? 1 : fe(dt(h), 0);
|
|
18925
|
-
var d = this.__filtered__ && !o ? new
|
|
18926
|
-
return d.__filtered__ ? d.__takeCount__ =
|
|
18927
|
-
size:
|
|
18925
|
+
var d = this.__filtered__ && !o ? new wt(this) : this.clone();
|
|
18926
|
+
return d.__filtered__ ? d.__takeCount__ = be(h, d.__takeCount__) : d.__views__.push({
|
|
18927
|
+
size: be(h, Y),
|
|
18928
18928
|
type: i + (d.__dir__ < 0 ? "Right" : "")
|
|
18929
18929
|
}), d;
|
|
18930
|
-
},
|
|
18930
|
+
}, wt.prototype[i + "Right"] = function(h) {
|
|
18931
18931
|
return this.reverse()[i](h).reverse();
|
|
18932
18932
|
};
|
|
18933
18933
|
}), qe(["filter", "map", "takeWhile"], function(i, o) {
|
|
18934
|
-
var h = o + 1, d = h == j || h ==
|
|
18935
|
-
|
|
18934
|
+
var h = o + 1, d = h == j || h == Ft;
|
|
18935
|
+
wt.prototype[i] = function(v) {
|
|
18936
18936
|
var b = this.clone();
|
|
18937
18937
|
return b.__iteratees__.push({
|
|
18938
18938
|
iteratee: at(v, 3),
|
|
@@ -18941,49 +18941,49 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18941
18941
|
};
|
|
18942
18942
|
}), qe(["head", "last"], function(i, o) {
|
|
18943
18943
|
var h = "take" + (o ? "Right" : "");
|
|
18944
|
-
|
|
18944
|
+
wt.prototype[i] = function() {
|
|
18945
18945
|
return this[h](1).value()[0];
|
|
18946
18946
|
};
|
|
18947
18947
|
}), qe(["initial", "tail"], function(i, o) {
|
|
18948
18948
|
var h = "drop" + (o ? "" : "Right");
|
|
18949
|
-
|
|
18950
|
-
return this.__filtered__ ? new
|
|
18949
|
+
wt.prototype[i] = function() {
|
|
18950
|
+
return this.__filtered__ ? new wt(this) : this[h](1);
|
|
18951
18951
|
};
|
|
18952
|
-
}),
|
|
18952
|
+
}), wt.prototype.compact = function() {
|
|
18953
18953
|
return this.filter(Be);
|
|
18954
|
-
},
|
|
18954
|
+
}, wt.prototype.find = function(i) {
|
|
18955
18955
|
return this.filter(i).head();
|
|
18956
|
-
},
|
|
18956
|
+
}, wt.prototype.findLast = function(i) {
|
|
18957
18957
|
return this.reverse().find(i);
|
|
18958
|
-
},
|
|
18959
|
-
return typeof i == "function" ? new
|
|
18958
|
+
}, wt.prototype.invokeMap = vt(function(i, o) {
|
|
18959
|
+
return typeof i == "function" ? new wt(this) : this.map(function(h) {
|
|
18960
18960
|
return Ji(h, i, o);
|
|
18961
18961
|
});
|
|
18962
|
-
}),
|
|
18962
|
+
}), wt.prototype.reject = function(i) {
|
|
18963
18963
|
return this.filter(Ta(at(i)));
|
|
18964
|
-
},
|
|
18964
|
+
}, wt.prototype.slice = function(i, o) {
|
|
18965
18965
|
i = dt(i);
|
|
18966
18966
|
var h = this;
|
|
18967
|
-
return h.__filtered__ && (i > 0 || o < 0) ? new
|
|
18968
|
-
},
|
|
18967
|
+
return h.__filtered__ && (i > 0 || o < 0) ? new wt(h) : (i < 0 ? h = h.takeRight(-i) : i && (h = h.drop(i)), o !== r && (o = dt(o), h = o < 0 ? h.dropRight(-o) : h.take(o - i)), h);
|
|
18968
|
+
}, wt.prototype.takeRightWhile = function(i) {
|
|
18969
18969
|
return this.reverse().takeWhile(i).reverse();
|
|
18970
|
-
},
|
|
18970
|
+
}, wt.prototype.toArray = function() {
|
|
18971
18971
|
return this.take(Y);
|
|
18972
|
-
}, Tr(
|
|
18972
|
+
}, Tr(wt.prototype, function(i, o) {
|
|
18973
18973
|
var h = /^(?:filter|find|map|reject)|While$/.test(o), d = /^(?:head|last)$/.test(o), v = _[d ? "take" + (o == "last" ? "Right" : "") : o], b = d || /^find/.test(o);
|
|
18974
18974
|
v && (_.prototype[o] = function() {
|
|
18975
|
-
var E = this.__wrapped__, C = d ? [1] : arguments, M = E instanceof
|
|
18976
|
-
var Ct = v.apply(_, Zr([
|
|
18975
|
+
var E = this.__wrapped__, C = d ? [1] : arguments, M = E instanceof wt, D = C[0], U = M || ft(E), $ = function(bt) {
|
|
18976
|
+
var Ct = v.apply(_, Zr([bt], C));
|
|
18977
18977
|
return d && q ? Ct[0] : Ct;
|
|
18978
18978
|
};
|
|
18979
18979
|
U && h && typeof D == "function" && D.length != 1 && (M = U = !1);
|
|
18980
|
-
var q = this.__chain__, tt = !!this.__actions__.length, ot = b && !q,
|
|
18980
|
+
var q = this.__chain__, tt = !!this.__actions__.length, ot = b && !q, gt = M && !tt;
|
|
18981
18981
|
if (!b && U) {
|
|
18982
|
-
E =
|
|
18982
|
+
E = gt ? E : new wt(this);
|
|
18983
18983
|
var ut = i.apply(E, C);
|
|
18984
18984
|
return ut.__actions__.push({ func: ya, args: [$], thisArg: r }), new Ke(ut, q);
|
|
18985
18985
|
}
|
|
18986
|
-
return ot &&
|
|
18986
|
+
return ot && gt ? i.apply(this, C) : (ut = this.thru($), ot ? d ? ut.value()[0] : ut.value() : ut);
|
|
18987
18987
|
});
|
|
18988
18988
|
}), qe(["pop", "push", "shift", "sort", "splice", "unshift"], function(i) {
|
|
18989
18989
|
var o = Vs[i], h = /^(?:push|sort|unshift)$/.test(i) ? "tap" : "thru", d = /^(?:pop|shift)$/.test(i);
|
|
@@ -18997,16 +18997,16 @@ function print() { __p += __j.call(arguments, '') }
|
|
|
18997
18997
|
return o.apply(ft(E) ? E : [], v);
|
|
18998
18998
|
});
|
|
18999
18999
|
};
|
|
19000
|
-
}), Tr(
|
|
19000
|
+
}), Tr(wt.prototype, function(i, o) {
|
|
19001
19001
|
var h = _[o];
|
|
19002
19002
|
if (h) {
|
|
19003
19003
|
var d = h.name + "";
|
|
19004
|
-
|
|
19004
|
+
$t.call(Jn, d) || (Jn[d] = []), Jn[d].push({ name: o, func: h });
|
|
19005
19005
|
}
|
|
19006
19006
|
}), Jn[ca(r, w).name] = [{
|
|
19007
19007
|
name: "wrapper",
|
|
19008
19008
|
func: r
|
|
19009
|
-
}],
|
|
19009
|
+
}], wt.prototype.clone = qy, wt.prototype.reverse = Yy, wt.prototype.value = Ky, _.prototype.at = A1, _.prototype.chain = E1, _.prototype.commit = C1, _.prototype.next = R1, _.prototype.plant = P1, _.prototype.reverse = M1, _.prototype.toJSON = _.prototype.valueOf = _.prototype.value = O1, _.prototype.first = _.prototype.head, ji && (_.prototype[ji] = I1), _;
|
|
19010
19010
|
}, Yn = Cy();
|
|
19011
19011
|
pn ? ((pn.exports = Yn)._ = Yn, su._ = Yn) : ye._ = Yn;
|
|
19012
19012
|
}).call(er);
|
|
@@ -19023,8 +19023,8 @@ const QB = {
|
|
|
19023
19023
|
isDragging: !1,
|
|
19024
19024
|
totalFrames: 0,
|
|
19025
19025
|
totalDuration: 0
|
|
19026
|
-
}, tD =
|
|
19027
|
-
const [r, n] =
|
|
19026
|
+
}, tD = nt.forwardRef((e, t) => {
|
|
19027
|
+
const [r, n] = nt.useState([]), [, s] = nt.useState(0), [a, u] = nt.useState([]), [, l] = eo(!1), [c, f] = zB({ autoPlay: !1 }), p = mt(null), m = mt(null), g = mt(QB), x = mt(), { tl: y, dragModeRef: S } = Ps(Mi), { frames: T, delays: w } = c, {
|
|
19028
19028
|
src: R,
|
|
19029
19029
|
startAt: A,
|
|
19030
19030
|
endAt: I,
|
|
@@ -19036,16 +19036,16 @@ const QB = {
|
|
|
19036
19036
|
width: z = 0,
|
|
19037
19037
|
height: X = 0,
|
|
19038
19038
|
x: Q,
|
|
19039
|
-
y:
|
|
19039
|
+
y: it,
|
|
19040
19040
|
animation: V,
|
|
19041
19041
|
colorCorrection: j = {}
|
|
19042
19042
|
},
|
|
19043
|
-
pointerdown:
|
|
19043
|
+
pointerdown: xt
|
|
19044
19044
|
} = e, {
|
|
19045
|
-
temperatureFilter:
|
|
19045
|
+
temperatureFilter: Ft,
|
|
19046
19046
|
sharpnessFilter: G,
|
|
19047
19047
|
hueFilter: et,
|
|
19048
|
-
blurFilter:
|
|
19048
|
+
blurFilter: pt,
|
|
19049
19049
|
adjustmentFilter: H
|
|
19050
19050
|
} = ks(j), { blurRadius: Y = 0 } = j, ht = 0.1;
|
|
19051
19051
|
KB(R, f), Me(le.PAUSE, () => {
|
|
@@ -19054,23 +19054,23 @@ const QB = {
|
|
|
19054
19054
|
p.current && (p.current.stop(), g.current.isPlaying = !1);
|
|
19055
19055
|
}), Me(le.SCRUBBER_CLICKED, () => {
|
|
19056
19056
|
p.current && (p.current.stop(), g.current.isPlaying = !1);
|
|
19057
|
-
}),
|
|
19057
|
+
}), nt.useEffect(() => {
|
|
19058
19058
|
g.current && p.current && (S.current ? (p.current.stop(), g.current.isPlaying = !1, g.current.isDragging = !0) : g.current.isDragging = !1);
|
|
19059
|
-
}, [S]),
|
|
19059
|
+
}, [S]), nt.useEffect(() => {
|
|
19060
19060
|
if (!Bh(T)) {
|
|
19061
|
-
const Z = yB(T, (
|
|
19062
|
-
const { data: Et, width: Yt, height: ir } =
|
|
19061
|
+
const Z = yB(T, (At) => {
|
|
19062
|
+
const { data: Et, width: Yt, height: ir } = At, Ce = new Uint8Array(Et);
|
|
19063
19063
|
return Yr.Texture.fromBuffer(Ce, Yt, ir);
|
|
19064
19064
|
}), W = Z.map(
|
|
19065
|
-
(
|
|
19066
|
-
texture:
|
|
19065
|
+
(At, Et) => ({
|
|
19066
|
+
texture: At,
|
|
19067
19067
|
time: w[Et]
|
|
19068
19068
|
})
|
|
19069
19069
|
);
|
|
19070
19070
|
n(Z), u(W);
|
|
19071
19071
|
let st = 0;
|
|
19072
|
-
w.forEach((
|
|
19073
|
-
st +=
|
|
19072
|
+
w.forEach((At) => {
|
|
19073
|
+
st += At * 10;
|
|
19074
19074
|
}), s(st), g.current.totalDuration = st, g.current.totalFrames = T.length;
|
|
19075
19075
|
}
|
|
19076
19076
|
}, [T, w]);
|
|
@@ -19081,7 +19081,7 @@ const QB = {
|
|
|
19081
19081
|
const st = g.current.totalFrames;
|
|
19082
19082
|
W = W > st ? st : W, W >= st ? (p.current.gotoAndStop(0), g.current.isPlaying = !1) : (p.current.gotoAndPlay(W || 0), g.current.isPlaying = !0);
|
|
19083
19083
|
}
|
|
19084
|
-
}, 20),
|
|
19084
|
+
}, 20), _t = qg.debounce(() => {
|
|
19085
19085
|
p.current && (p.current.stop(), g.current.isPlaying = !1);
|
|
19086
19086
|
}, 50), It = (Z) => {
|
|
19087
19087
|
if (p.current) {
|
|
@@ -19092,12 +19092,12 @@ const QB = {
|
|
|
19092
19092
|
}
|
|
19093
19093
|
}, Mt = () => {
|
|
19094
19094
|
p.current && (p.current.stop(), g.current.isPlaying = !1);
|
|
19095
|
-
},
|
|
19095
|
+
}, zt = () => {
|
|
19096
19096
|
p.current && (p.current.stop(), g.current.isPlaying = !1);
|
|
19097
|
-
},
|
|
19097
|
+
}, Ht = (Z) => {
|
|
19098
19098
|
var st;
|
|
19099
19099
|
const W = Z + ((st = x.current) == null ? void 0 : st.time());
|
|
19100
|
-
p.current && S.current ? (yt(W),
|
|
19100
|
+
p.current && S.current ? (yt(W), _t(), g.current.isPlaying = !1) : x.current && p.current && !g.current.isPlaying && x.current.isActive() && y.current.isActive() && (yt(W), g.current.isPlaying = !0);
|
|
19101
19101
|
}, qt = () => {
|
|
19102
19102
|
l(!0);
|
|
19103
19103
|
};
|
|
@@ -19111,8 +19111,8 @@ const QB = {
|
|
|
19111
19111
|
onComplete: Mt,
|
|
19112
19112
|
onStartParams: [N, B],
|
|
19113
19113
|
onCompleteParams: [],
|
|
19114
|
-
onInterrupt:
|
|
19115
|
-
onUpdate:
|
|
19114
|
+
onInterrupt: zt,
|
|
19115
|
+
onUpdate: Ht,
|
|
19116
19116
|
onUpdateParams: [N, B]
|
|
19117
19117
|
};
|
|
19118
19118
|
x.current && x.current.kill(), Z = ue.context(() => {
|
|
@@ -19127,18 +19127,18 @@ const QB = {
|
|
|
19127
19127
|
return () => {
|
|
19128
19128
|
x.current && (x.current.kill(), ue.killTweensOf(x.current)), Z.revert();
|
|
19129
19129
|
};
|
|
19130
|
-
}, [V, A, I, N, B]), /* @__PURE__ */
|
|
19130
|
+
}, [V, A, I, N, B]), /* @__PURE__ */ kt.jsx(
|
|
19131
19131
|
Ni,
|
|
19132
19132
|
{
|
|
19133
19133
|
...e,
|
|
19134
19134
|
ref: t,
|
|
19135
19135
|
ignoreTlForVideo: !0,
|
|
19136
19136
|
isGif: !0,
|
|
19137
|
-
children: /* @__PURE__ */
|
|
19137
|
+
children: /* @__PURE__ */ kt.jsx(Se, { ref: m, children: r && r.length > 0 && /* @__PURE__ */ kt.jsx(
|
|
19138
19138
|
JB,
|
|
19139
19139
|
{
|
|
19140
19140
|
x: Q,
|
|
19141
|
-
y:
|
|
19141
|
+
y: it,
|
|
19142
19142
|
width: z,
|
|
19143
19143
|
height: X,
|
|
19144
19144
|
animationSpeed: 1,
|
|
@@ -19148,14 +19148,14 @@ const QB = {
|
|
|
19148
19148
|
onComplete: qt,
|
|
19149
19149
|
anchor: 0.5,
|
|
19150
19150
|
forwardRef: p,
|
|
19151
|
-
...O && { interactive: !0, pointerdown:
|
|
19151
|
+
...O && { interactive: !0, pointerdown: xt },
|
|
19152
19152
|
filters: [
|
|
19153
|
-
|
|
19153
|
+
Ft,
|
|
19154
19154
|
G,
|
|
19155
19155
|
et,
|
|
19156
19156
|
H,
|
|
19157
19157
|
// conditionally add blur filter
|
|
19158
|
-
...Y > 0 ? [
|
|
19158
|
+
...Y > 0 ? [pt] : []
|
|
19159
19159
|
]
|
|
19160
19160
|
}
|
|
19161
19161
|
) })
|
|
@@ -19166,159 +19166,156 @@ tD.whyDidYouRender = {
|
|
|
19166
19166
|
logOnDifferentValues: !0,
|
|
19167
19167
|
customName: "PixiGifSprite"
|
|
19168
19168
|
};
|
|
19169
|
-
const ND =
|
|
19170
|
-
const n =
|
|
19171
|
-
visible:
|
|
19172
|
-
text:
|
|
19173
|
-
disabled:
|
|
19174
|
-
transformation:
|
|
19175
|
-
pointerdown:
|
|
19176
|
-
onDobuleClick:
|
|
19169
|
+
const ND = nt.forwardRef((e, t) => {
|
|
19170
|
+
const n = mt(null), s = mt(0), a = mt(null), u = mt(null), l = mt(16), c = mt(null), {
|
|
19171
|
+
visible: f,
|
|
19172
|
+
text: p,
|
|
19173
|
+
disabled: m,
|
|
19174
|
+
transformation: g,
|
|
19175
|
+
pointerdown: x,
|
|
19176
|
+
onDobuleClick: y
|
|
19177
19177
|
} = e, {
|
|
19178
|
-
x:
|
|
19179
|
-
y:
|
|
19178
|
+
x: S,
|
|
19179
|
+
y: T,
|
|
19180
19180
|
/// font
|
|
19181
|
-
fontFamily:
|
|
19182
|
-
fontWeight:
|
|
19183
|
-
fontStyle:
|
|
19184
|
-
fontSize:
|
|
19185
|
-
fontVariant:
|
|
19181
|
+
fontFamily: w = "Arial",
|
|
19182
|
+
fontWeight: R = "normal",
|
|
19183
|
+
fontStyle: A = "normal",
|
|
19184
|
+
fontSize: I = 16,
|
|
19185
|
+
fontVariant: N = "normal",
|
|
19186
19186
|
// fill
|
|
19187
|
-
fill:
|
|
19187
|
+
fill: B = "black",
|
|
19188
19188
|
// stroke
|
|
19189
|
-
stroke:
|
|
19190
|
-
strokeThickness:
|
|
19189
|
+
stroke: L,
|
|
19190
|
+
strokeThickness: O = 0,
|
|
19191
19191
|
// drop shadow
|
|
19192
|
-
blurRadius:
|
|
19193
|
-
blurEnabled:
|
|
19194
|
-
dropShadowColor:
|
|
19195
|
-
dropShadow:
|
|
19196
|
-
dropShadowBlur:
|
|
19192
|
+
blurRadius: z = 0,
|
|
19193
|
+
blurEnabled: X = !1,
|
|
19194
|
+
dropShadowColor: Q = null,
|
|
19195
|
+
dropShadow: it = !1,
|
|
19196
|
+
dropShadowBlur: V = 0,
|
|
19197
19197
|
// multiline
|
|
19198
|
-
wordWrapWidth:
|
|
19199
|
-
leading:
|
|
19200
|
-
letterSpacing:
|
|
19201
|
-
colorCorrection:
|
|
19202
|
-
} =
|
|
19203
|
-
temperatureFilter:
|
|
19204
|
-
sharpnessFilter:
|
|
19205
|
-
hueFilter:
|
|
19206
|
-
blurFilter:
|
|
19207
|
-
adjustmentFilter:
|
|
19208
|
-
} = ks(
|
|
19209
|
-
|
|
19210
|
-
|
|
19211
|
-
}, [
|
|
19212
|
-
const
|
|
19198
|
+
wordWrapWidth: j = 5e7,
|
|
19199
|
+
leading: xt = 0,
|
|
19200
|
+
letterSpacing: Ft,
|
|
19201
|
+
colorCorrection: G = {}
|
|
19202
|
+
} = g, {
|
|
19203
|
+
temperatureFilter: et,
|
|
19204
|
+
sharpnessFilter: pt,
|
|
19205
|
+
hueFilter: H,
|
|
19206
|
+
blurFilter: Y,
|
|
19207
|
+
adjustmentFilter: ht
|
|
19208
|
+
} = ks(G), { blurRadius: yt = 0 } = G;
|
|
19209
|
+
nt.useEffect(() => {
|
|
19210
|
+
l.current = Number(I);
|
|
19211
|
+
}, [I]);
|
|
19212
|
+
const _t = ["italic", "oblique"].includes(A) ? A : void 0, It = ["small-caps"].includes(N), Mt = [
|
|
19213
19213
|
"bold",
|
|
19214
19214
|
"bolder",
|
|
19215
19215
|
"lighter",
|
|
19216
19216
|
"100",
|
|
19217
19217
|
"200",
|
|
19218
19218
|
"300"
|
|
19219
|
-
].includes(
|
|
19220
|
-
fontFamily:
|
|
19221
|
-
fontSize:
|
|
19222
|
-
fill:
|
|
19219
|
+
].includes(R) ? R : void 0, zt = Number(Ft) > 0 ? Ft : void 0, Ht = nt.useMemo(() => new Yr.TextStyle({
|
|
19220
|
+
fontFamily: w,
|
|
19221
|
+
fontSize: I,
|
|
19222
|
+
fill: B || "white",
|
|
19223
19223
|
//[color, '#00ff99'], // gradient
|
|
19224
|
-
...
|
|
19225
|
-
stroke:
|
|
19226
|
-
strokeThickness:
|
|
19224
|
+
...L && O > 0 && {
|
|
19225
|
+
stroke: L,
|
|
19226
|
+
strokeThickness: O
|
|
19227
|
+
},
|
|
19228
|
+
..._t && {
|
|
19229
|
+
fontStyle: _t
|
|
19227
19230
|
},
|
|
19228
19231
|
...It && {
|
|
19229
|
-
|
|
19232
|
+
fontVariant: It
|
|
19230
19233
|
},
|
|
19231
19234
|
...Mt && {
|
|
19232
|
-
|
|
19235
|
+
fontWeight: Mt
|
|
19233
19236
|
},
|
|
19234
|
-
...
|
|
19235
|
-
|
|
19236
|
-
},
|
|
19237
|
-
...Dt && { letterSpacing: Dt },
|
|
19238
|
-
...Q && {
|
|
19237
|
+
...zt && { letterSpacing: zt },
|
|
19238
|
+
...X && {
|
|
19239
19239
|
dropShadow: !0,
|
|
19240
|
-
dropShadowBlur: Number(
|
|
19241
|
-
dropShadowColor: (
|
|
19240
|
+
dropShadowBlur: Number(z),
|
|
19241
|
+
dropShadowColor: (Q == null ? void 0 : Q.toString()) || "black",
|
|
19242
19242
|
dropShadowAngle: 0.5235987755982988,
|
|
19243
19243
|
dropShadowDistance: 5
|
|
19244
19244
|
},
|
|
19245
|
-
...
|
|
19245
|
+
...it && {
|
|
19246
19246
|
dropShadow: !0,
|
|
19247
|
-
dropShadowBlur: Number(
|
|
19248
|
-
dropShadowColor: (
|
|
19247
|
+
dropShadowBlur: Number(V),
|
|
19248
|
+
dropShadowColor: (Q == null ? void 0 : Q.toString()) || "black",
|
|
19249
19249
|
dropShadowAngle: 0.5235987755982988,
|
|
19250
19250
|
dropShadowDistance: 5
|
|
19251
19251
|
},
|
|
19252
19252
|
wordWrap: !0,
|
|
19253
19253
|
breakWords: !0,
|
|
19254
|
-
wordWrapWidth:
|
|
19255
|
-
leading:
|
|
19254
|
+
wordWrapWidth: j || 500,
|
|
19255
|
+
leading: xt || 0
|
|
19256
19256
|
// lineHeight: lineHeight,
|
|
19257
19257
|
}), [
|
|
19258
|
-
Q,
|
|
19259
19258
|
X,
|
|
19260
|
-
|
|
19261
|
-
|
|
19262
|
-
|
|
19259
|
+
z,
|
|
19260
|
+
B,
|
|
19261
|
+
w,
|
|
19263
19262
|
I,
|
|
19264
|
-
|
|
19265
|
-
|
|
19266
|
-
|
|
19263
|
+
A,
|
|
19264
|
+
xt,
|
|
19265
|
+
_t,
|
|
19267
19266
|
Mt,
|
|
19268
|
-
|
|
19269
|
-
|
|
19267
|
+
It,
|
|
19268
|
+
zt,
|
|
19269
|
+
Q,
|
|
19270
|
+
L,
|
|
19270
19271
|
O,
|
|
19271
|
-
|
|
19272
|
-
|
|
19273
|
-
V
|
|
19274
|
-
j
|
|
19272
|
+
j,
|
|
19273
|
+
it,
|
|
19274
|
+
V
|
|
19275
19275
|
]);
|
|
19276
|
-
|
|
19277
|
-
|
|
19278
|
-
...
|
|
19276
|
+
nt.useEffect(() => {
|
|
19277
|
+
c.current = {
|
|
19278
|
+
...g
|
|
19279
19279
|
};
|
|
19280
|
-
}, [
|
|
19281
|
-
const
|
|
19282
|
-
const
|
|
19283
|
-
|
|
19284
|
-
},
|
|
19285
|
-
|
|
19280
|
+
}, [g]);
|
|
19281
|
+
const qt = () => {
|
|
19282
|
+
const W = (/* @__PURE__ */ new Date()).getTime();
|
|
19283
|
+
W - s.current < 300 && y ? y() : x && x(), s.current = W;
|
|
19284
|
+
}, Z = () => {
|
|
19285
|
+
y && y();
|
|
19286
19286
|
};
|
|
19287
|
-
return /* @__PURE__ */
|
|
19287
|
+
return /* @__PURE__ */ kt.jsx(
|
|
19288
19288
|
Ni,
|
|
19289
19289
|
{
|
|
19290
19290
|
...e,
|
|
19291
19291
|
ref: t,
|
|
19292
19292
|
isText: !0,
|
|
19293
|
-
onDoubleClick:
|
|
19294
|
-
children: /* @__PURE__ */
|
|
19295
|
-
|
|
19296
|
-
|
|
19297
|
-
|
|
19298
|
-
|
|
19299
|
-
|
|
19300
|
-
|
|
19301
|
-
|
|
19302
|
-
|
|
19303
|
-
|
|
19304
|
-
|
|
19305
|
-
|
|
19306
|
-
|
|
19307
|
-
|
|
19308
|
-
|
|
19309
|
-
|
|
19310
|
-
|
|
19311
|
-
|
|
19312
|
-
|
|
19313
|
-
|
|
19314
|
-
|
|
19315
|
-
|
|
19316
|
-
|
|
19317
|
-
|
|
19318
|
-
|
|
19319
|
-
}
|
|
19320
|
-
) })
|
|
19321
|
-
] })
|
|
19293
|
+
onDoubleClick: Z,
|
|
19294
|
+
children: /* @__PURE__ */ kt.jsx(Se, { ref: n, children: /* @__PURE__ */ kt.jsx(Se, { alpha: 1, ref: u, children: /* @__PURE__ */ kt.jsx(
|
|
19295
|
+
Gw,
|
|
19296
|
+
{
|
|
19297
|
+
style: Ht,
|
|
19298
|
+
x: S,
|
|
19299
|
+
y: T,
|
|
19300
|
+
anchor: 0.5,
|
|
19301
|
+
text: p,
|
|
19302
|
+
alpha: f ? 1 : 0,
|
|
19303
|
+
...f && !m && {
|
|
19304
|
+
interactive: !0,
|
|
19305
|
+
buttonMode: !0,
|
|
19306
|
+
pointerdown: qt
|
|
19307
|
+
},
|
|
19308
|
+
ref: a,
|
|
19309
|
+
filters: [
|
|
19310
|
+
et,
|
|
19311
|
+
pt,
|
|
19312
|
+
H,
|
|
19313
|
+
ht,
|
|
19314
|
+
// conditionally add blur filter
|
|
19315
|
+
...yt > 0 ? [Y] : []
|
|
19316
|
+
]
|
|
19317
|
+
}
|
|
19318
|
+
) }) })
|
|
19322
19319
|
}
|
|
19323
19320
|
);
|
|
19324
19321
|
}), eD = (e, t, r, n) => {
|
|
@@ -19354,8 +19351,8 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19354
19351
|
size: { width: 50, height: 50 },
|
|
19355
19352
|
isDragging: !1,
|
|
19356
19353
|
timeDiff: 0
|
|
19357
|
-
}, nD =
|
|
19358
|
-
const [r, n] =
|
|
19354
|
+
}, nD = nt.forwardRef((e, t) => {
|
|
19355
|
+
const [r, n] = nt.useState(0), [s, a] = nt.useState(), u = mt(null), l = mt(null), c = mt(null), f = mt(rD), p = mt(), {
|
|
19359
19356
|
uniqueId: m,
|
|
19360
19357
|
mute: g = !1,
|
|
19361
19358
|
src: x,
|
|
@@ -19371,13 +19368,13 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19371
19368
|
},
|
|
19372
19369
|
pointerover: Q = () => {
|
|
19373
19370
|
}
|
|
19374
|
-
} = e, { tl:
|
|
19371
|
+
} = e, { tl: it, dragModeRef: V } = Ps(Mi), { onPointerDown: j, onPointerOut: xt, onPointerOver: Ft } = eD(Q, z, X, 1), { blurRadius: G = 0 } = O, {
|
|
19375
19372
|
temperatureFilter: et,
|
|
19376
|
-
sharpnessFilter:
|
|
19373
|
+
sharpnessFilter: pt,
|
|
19377
19374
|
hueFilter: H,
|
|
19378
19375
|
blurFilter: Y,
|
|
19379
19376
|
adjustmentFilter: ht
|
|
19380
|
-
} = ks(O), yt = x || "",
|
|
19377
|
+
} = ks(O), yt = x || "", _t = nt.useMemo(() => {
|
|
19381
19378
|
const Z = document.createElement("video");
|
|
19382
19379
|
return Z.src = x, Z.crossOrigin = "Anonymus", Z.autoplay = !1, Z.currentTime = T === 0 ? 1e-3 : T, Z;
|
|
19383
19380
|
}, [x, T]);
|
|
@@ -19386,7 +19383,7 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19386
19383
|
}), Me(le.SCRUBBER_CLICKED, () => {
|
|
19387
19384
|
c.current && (c.current.pause(), f.current.isPlaying = !1);
|
|
19388
19385
|
});
|
|
19389
|
-
const It =
|
|
19386
|
+
const It = nt.useCallback(
|
|
19390
19387
|
Ti(() => {
|
|
19391
19388
|
if (c.current) {
|
|
19392
19389
|
const Z = c.current;
|
|
@@ -19395,47 +19392,47 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19395
19392
|
}, 400),
|
|
19396
19393
|
[c]
|
|
19397
19394
|
);
|
|
19398
|
-
|
|
19395
|
+
nt.useEffect(() => {
|
|
19399
19396
|
c.current ? (V.current ? (It(), f.current.isPlaying = !1, f.current.isDragging = !0) : f.current.isDragging = !1, c.current.muted = g) : f.current.isDragging = !1;
|
|
19400
19397
|
}, [g, V, It, c]);
|
|
19401
19398
|
const Mt = (Z) => {
|
|
19402
19399
|
if (c.current) {
|
|
19403
19400
|
if (c.current.currentTime = Number(Z), !V.current) {
|
|
19404
19401
|
const W = c.current, st = W.currentTime > 0 && !W.paused && !W.ended && W.readyState > W.HAVE_CURRENT_DATA;
|
|
19405
|
-
|
|
19402
|
+
it.current && it.current.isActive() && p.current && p.current.isActive() && (st || c.current.play(), f.current.isPlaying = !0, n((At) => At + 1));
|
|
19406
19403
|
}
|
|
19407
19404
|
f.current.progress = 0;
|
|
19408
19405
|
}
|
|
19409
|
-
},
|
|
19406
|
+
}, zt = () => {
|
|
19410
19407
|
if (c.current) {
|
|
19411
19408
|
const Z = c.current;
|
|
19412
19409
|
Z.currentTime > 0 && !Z.paused && !Z.ended && Z.readyState > Z.HAVE_CURRENT_DATA && c.current.pause(), f.current.isPlaying = !1, p.current && (f.current.progress = p.current.progress());
|
|
19413
19410
|
}
|
|
19414
|
-
},
|
|
19411
|
+
}, Ht = () => {
|
|
19415
19412
|
}, qt = () => {
|
|
19416
19413
|
var Z, W;
|
|
19417
19414
|
if (p.current && (f.current.progress = p.current.progress()), c.current && p.current) {
|
|
19418
|
-
const st = T + ((Z = p == null ? void 0 : p.current) == null ? void 0 : Z.time()),
|
|
19415
|
+
const st = T + ((Z = p == null ? void 0 : p.current) == null ? void 0 : Z.time()), At = Math.abs(
|
|
19419
19416
|
c.current.currentTime - st
|
|
19420
19417
|
), Et = c.current, Yt = Et.currentTime > 0 && !Et.paused && !Et.ended && Et.readyState > Et.HAVE_CURRENT_DATA;
|
|
19421
19418
|
V.current ? (c.current.currentTime = st, setTimeout(() => {
|
|
19422
19419
|
c.current && c.current.play().then(() => {
|
|
19423
19420
|
f.current.isPlaying = !1, c.current && c.current.pause();
|
|
19424
19421
|
});
|
|
19425
|
-
}, 100), f.current.isPlaying = !1) : (Yt !== f.current.isPlaying || !Yt) && f.current.progress > 0.01 && f.current.progress < 0.99 ? (W =
|
|
19422
|
+
}, 100), f.current.isPlaying = !1) : (Yt !== f.current.isPlaying || !Yt) && f.current.progress > 0.01 && f.current.progress < 0.99 ? (W = it.current) != null && W.isActive() && p.current && p.current.isActive() && (Yt || c.current.play(), f.current.isPlaying = !0) : At > 0.3 && f.current.progress > 0.01 && f.current.progress < 0.99 && (c.current.currentTime = st);
|
|
19426
19423
|
}
|
|
19427
19424
|
};
|
|
19428
19425
|
return $n(() => {
|
|
19429
19426
|
let Z = ue.context(() => {
|
|
19430
19427
|
});
|
|
19431
|
-
if (l.current &&
|
|
19428
|
+
if (l.current && it.current) {
|
|
19432
19429
|
const W = {
|
|
19433
19430
|
duration: Number(w) - Number(T),
|
|
19434
19431
|
onStart: Mt,
|
|
19435
|
-
onComplete:
|
|
19432
|
+
onComplete: zt,
|
|
19436
19433
|
onStartParams: [T, w],
|
|
19437
19434
|
onCompleteParams: [],
|
|
19438
|
-
onInterrupt:
|
|
19435
|
+
onInterrupt: Ht,
|
|
19439
19436
|
onUpdate: qt,
|
|
19440
19437
|
onUpdateParams: [T, w]
|
|
19441
19438
|
};
|
|
@@ -19445,15 +19442,15 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19445
19442
|
// @ts-ignore
|
|
19446
19443
|
W,
|
|
19447
19444
|
T
|
|
19448
|
-
),
|
|
19445
|
+
), it.current.add(p.current, y);
|
|
19449
19446
|
});
|
|
19450
19447
|
}
|
|
19451
19448
|
return () => {
|
|
19452
19449
|
p.current && (p.current.kill(), ue.killTweensOf(p.current)), Z.revert();
|
|
19453
19450
|
};
|
|
19454
|
-
}, [L, y, S, T, w]),
|
|
19451
|
+
}, [L, y, S, T, w]), nt.useEffect(() => {
|
|
19455
19452
|
c.current && (c.current.muted = g);
|
|
19456
|
-
}, [g]),
|
|
19453
|
+
}, [g]), nt.useEffect(() => {
|
|
19457
19454
|
const Z = Math.round((Number(T) + Number.EPSILON) * 100) / 100, W = function() {
|
|
19458
19455
|
c.current && (c.current.currentTime = Z);
|
|
19459
19456
|
}, st = function() {
|
|
@@ -19462,14 +19459,14 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19462
19459
|
sr.currentTime > 0 && !sr.paused && !sr.ended && sr.readyState > sr.HAVE_CURRENT_DATA && c.current.pause();
|
|
19463
19460
|
}
|
|
19464
19461
|
f.current.isWaiting = !1, f.current.isStalled = !1;
|
|
19465
|
-
},
|
|
19462
|
+
}, At = function() {
|
|
19466
19463
|
c.current && c.current.pause(), f.current.isWaiting = !0, f.current.isStalled = !1;
|
|
19467
19464
|
}, Et = function() {
|
|
19468
19465
|
f.current.isWaiting = !1, f.current.isStalled = !1;
|
|
19469
19466
|
}, Yt = function() {
|
|
19470
19467
|
f.current.isWaiting = !1, f.current.isStalled = !0;
|
|
19471
19468
|
}, ir = Math.round((Number(T) + Number.EPSILON) * 100) / 100, Ce = Math.round((Number(w) + Number.EPSILON) * 100) / 100, Fr = `${yt}#t=${ir},${Ce}`;
|
|
19472
|
-
return Yr.Texture.fromLoader(
|
|
19469
|
+
return Yr.Texture.fromLoader(_t, Fr, m, {
|
|
19473
19470
|
pixiIdPrefix: m,
|
|
19474
19471
|
resourceOptions: {
|
|
19475
19472
|
autoPlay: !1,
|
|
@@ -19477,44 +19474,44 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19477
19474
|
updateFPS: 30
|
|
19478
19475
|
}
|
|
19479
19476
|
}).then((sr) => {
|
|
19480
|
-
sr && (a(sr), c.current = sr.baseTexture.resource.source, c.current.id = m, c.current.addEventListener("loadedmetadata", W), c.current.addEventListener("ended", st), c.current.addEventListener("loadstart",
|
|
19477
|
+
sr && (a(sr), c.current = sr.baseTexture.resource.source, c.current.id = m, c.current.addEventListener("loadedmetadata", W), c.current.addEventListener("ended", st), c.current.addEventListener("loadstart", At), c.current.addEventListener("canplaythrough", Et), c.current.addEventListener("stalled", Yt));
|
|
19481
19478
|
}), () => {
|
|
19482
|
-
c.current && (c.current.pause(), c.current.removeEventListener("loadedmetadata", W), c.current.removeEventListener("ended", st), c.current.removeEventListener("loadstart",
|
|
19479
|
+
c.current && (c.current.pause(), c.current.removeEventListener("loadedmetadata", W), c.current.removeEventListener("ended", st), c.current.removeEventListener("loadstart", At), c.current.removeEventListener(
|
|
19483
19480
|
"canplaythrough",
|
|
19484
19481
|
Et
|
|
19485
19482
|
), c.current.removeEventListener("stalled", Yt));
|
|
19486
19483
|
};
|
|
19487
|
-
}, [yt, m, T, w,
|
|
19484
|
+
}, [yt, m, T, w, _t]), nt.useEffect(() => {
|
|
19488
19485
|
const Z = setTimeout(() => {
|
|
19489
|
-
s && p.current &&
|
|
19486
|
+
s && p.current && it.current && p.current.progress() < 0.1 && c.current && !p.current.isActive() && c.current.play().then(() => {
|
|
19490
19487
|
f.current.isPlaying = !1, c.current && c.current.pause();
|
|
19491
19488
|
});
|
|
19492
19489
|
}, 30);
|
|
19493
19490
|
return () => {
|
|
19494
19491
|
clearTimeout(Z);
|
|
19495
19492
|
};
|
|
19496
|
-
}, [s]),
|
|
19497
|
-
|
|
19493
|
+
}, [s]), nt.useEffect(() => {
|
|
19494
|
+
it.current && !it.current.isActive() && (f.current.isPlaying = !1, c.current && c.current.pause());
|
|
19498
19495
|
const Z = setTimeout(() => {
|
|
19499
|
-
if (s &&
|
|
19500
|
-
|
|
19496
|
+
if (s && it.current && r > 0) {
|
|
19497
|
+
it.current.isActive() || (f.current.isPlaying = !1, c.current && c.current.pause());
|
|
19501
19498
|
const W = c.current;
|
|
19502
|
-
W &&
|
|
19499
|
+
W && it.current.isActive() && p.current && p.current.isActive() && (W.currentTime > 0 && !W.paused && !W.ended && W.readyState > W.HAVE_CURRENT_DATA || c.current.play(), f.current.isPlaying = !0);
|
|
19503
19500
|
}
|
|
19504
19501
|
}, 10);
|
|
19505
19502
|
return () => {
|
|
19506
19503
|
clearTimeout(Z);
|
|
19507
19504
|
};
|
|
19508
|
-
}, [r, s]), /* @__PURE__ */
|
|
19505
|
+
}, [r, s]), /* @__PURE__ */ kt.jsx(
|
|
19509
19506
|
Ni,
|
|
19510
19507
|
{
|
|
19511
19508
|
...e,
|
|
19512
19509
|
ref: t,
|
|
19513
19510
|
ignoreTlForVideo: !0,
|
|
19514
19511
|
pointerdown: j,
|
|
19515
|
-
pointerover:
|
|
19516
|
-
pointerout:
|
|
19517
|
-
children: /* @__PURE__ */
|
|
19512
|
+
pointerover: Ft,
|
|
19513
|
+
pointerout: xt,
|
|
19514
|
+
children: /* @__PURE__ */ kt.jsx(Se, { ref: l, children: s && /* @__PURE__ */ kt.jsx(
|
|
19518
19515
|
Mh,
|
|
19519
19516
|
{
|
|
19520
19517
|
texture: s,
|
|
@@ -19528,7 +19525,7 @@ const ND = it.forwardRef((e, t) => {
|
|
|
19528
19525
|
...R && { interactive: !0, pointerdown: z },
|
|
19529
19526
|
filters: [
|
|
19530
19527
|
et,
|
|
19531
|
-
|
|
19528
|
+
pt,
|
|
19532
19529
|
H,
|
|
19533
19530
|
ht,
|
|
19534
19531
|
// conditionally add blur filter
|
|
@@ -19544,7 +19541,7 @@ nD.whyDidYouRender = {
|
|
|
19544
19541
|
customName: "PixiVideoSprite"
|
|
19545
19542
|
};
|
|
19546
19543
|
const LD = (e) => {
|
|
19547
|
-
const { startAt: t, endAt: r } = e, [n, s] =
|
|
19544
|
+
const { startAt: t, endAt: r } = e, [n, s] = nt.useState(!1), a = mt(null), u = mt(null), l = mt(null), c = mt(null), f = mt(null), p = mt(!1), m = mt(!1), {
|
|
19548
19545
|
tl: g,
|
|
19549
19546
|
totalDuration: x = 0,
|
|
19550
19547
|
reverseModeRef: y
|
|
@@ -19561,7 +19558,7 @@ const LD = (e) => {
|
|
|
19561
19558
|
}, R = (A) => {
|
|
19562
19559
|
A < 0.2 ? (s(!0), p.current = !0) : (s(!1), p.current = !1);
|
|
19563
19560
|
};
|
|
19564
|
-
return
|
|
19561
|
+
return nt.useEffect(() => {
|
|
19565
19562
|
const A = {
|
|
19566
19563
|
onStart: S,
|
|
19567
19564
|
onStartParams: [{ alpha: 1 }]
|
|
@@ -19605,7 +19602,7 @@ const LD = (e) => {
|
|
|
19605
19602
|
var L;
|
|
19606
19603
|
(L = c.current) == null || L.kill(), B.revert();
|
|
19607
19604
|
};
|
|
19608
|
-
}, [t, r, x]),
|
|
19605
|
+
}, [t, r, x]), nt.useEffect(() => {
|
|
19609
19606
|
p.current = n;
|
|
19610
19607
|
const A = ue.context(() => {
|
|
19611
19608
|
u.current && g.current && (f.current && f.current.kill(), f.current = ue.to(u.current, {
|
|
@@ -19623,10 +19620,10 @@ const LD = (e) => {
|
|
|
19623
19620
|
return () => {
|
|
19624
19621
|
f.current && f.current.kill(), A.revert(), clearInterval(I);
|
|
19625
19622
|
};
|
|
19626
|
-
}, [n, t]), /* @__PURE__ */
|
|
19623
|
+
}, [n, t]), /* @__PURE__ */ kt.jsx(Se, { ref: a, alpha: 1, children: /* @__PURE__ */ kt.jsx(Se, { ref: l, children: n && /* @__PURE__ */ kt.jsx(Se, { ref: u, alpha: t < 0.2 ? 1 : 0, children: e.children }) }) });
|
|
19627
19624
|
}, kD = (e) => {
|
|
19628
19625
|
const { startAt: t, endAt: r } = e, { setTotalDuration: n } = Ps(Mi);
|
|
19629
|
-
return
|
|
19626
|
+
return nt.useEffect(() => {
|
|
19630
19627
|
n && n(r);
|
|
19631
19628
|
}, [t, r]), e.children;
|
|
19632
19629
|
};
|