fansunited-frontend-components 0.0.64 → 0.0.65
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/Betslip.js +1 -1
- package/ChanceGame.js +8 -8
- package/ClassicQuizPlay.js +20 -20
- package/CollectLead.js +6 -6
- package/Discussion.js +1 -1
- package/EitherOrPlay.js +21 -21
- package/EventGamePlay.js +24 -24
- package/Leaderboard.js +11 -11
- package/MatchQuizPlay.js +27 -27
- package/PersonalityQuizPlay.js +19 -19
- package/PickThePair.js +9 -9
- package/PollVote.js +17 -17
- package/Predictor.js +327 -327
- package/Standings.js +8 -8
- package/TopX.js +382 -382
- package/chunks/{AlertMessage-D11oEBM7.js → AlertMessage-CGsgz9QP.js} +4 -4
- package/chunks/{ArrowRightAlt-DVXOeIJN.js → ArrowRightAlt-CrbCfPqF.js} +1 -1
- package/chunks/{Avatar-DovSR8Yq.js → Avatar-DEfTQJbR.js} +3 -3
- package/chunks/{Button-DOVRR2Sy.js → Button-BpDNOp4E.js} +2 -2
- package/chunks/{ChanceGameEmbedVariant-B5vuzENl.js → ChanceGameEmbedVariant-D9VI-mrP.js} +9 -9
- package/chunks/{CheckCircle-CL08EagS.js → CheckCircle-MCCIVdJW.js} +2 -2
- package/chunks/{Chip-DeEjQ2-F.js → Chip-BJbMDObW.js} +3 -3
- package/chunks/{Close-CdWk2nDh.js → Close-CDADoRFh.js} +1 -1
- package/chunks/{Close-DEpdBZ1j.js → Close-qW9PQXAh.js} +1 -1
- package/chunks/{CollectLeadForm-Bk9FHufQ.js → CollectLeadForm-DRgerBFl.js} +17 -17
- package/chunks/{Divider-Chf8z_B5.js → Divider-CwD6e_Mx.js} +3 -3
- package/chunks/{Edit-BgKFqtbe.js → Edit-DVRP51mF.js} +6 -6
- package/chunks/{EmojiEvents-E7Oqv7rk.js → EmojiEvents-Bd4EnqWZ.js} +1 -1
- package/chunks/{FavoriteBorder-CguT2h2c.js → FavoriteBorder-DZah1leY.js} +1 -1
- package/chunks/{FormControl-bP5fF1j7.js → FormControl-Cy95xh7G.js} +4 -4
- package/chunks/{FormLabel-DpEd-_f0.js → FormLabel-CZa1RF9H.js} +3 -3
- package/chunks/{Input-ChSZLHkV.js → Input-BBd-zRYm.js} +3 -3
- package/chunks/{KeyboardArrowDown-CvGmYfHu.js → KeyboardArrowDown-o7vmCVYf.js} +1 -1
- package/chunks/{ModalDialog-D63x8ebf.js → ModalDialog-eI1ziPEO.js} +4 -4
- package/chunks/{NotFoundSkeleton-B4r94g0a.js → NotFoundSkeleton-BvpmzWrD.js} +8 -8
- package/chunks/{Notification-6XYzwwD_.js → Notification-gs4R9LQ1.js} +6 -6
- package/chunks/{OverlayApiErrorSkeleton-Dzn-4QeZ.js → OverlayApiErrorSkeleton-CsL4voqW.js} +7 -7
- package/chunks/{OverlayLeadAfterCollection-CI5NIwUv.js → OverlayLeadAfterCollection-BO9aMs3v.js} +5 -5
- package/chunks/{OverlayScoreStateSkeleton-wpxvfC5x.js → OverlayScoreStateSkeleton-Cakuc0gF.js} +4 -4
- package/chunks/{Person-DvjCrwnY.js → Person-BkWUE01t.js} +1 -1
- package/chunks/{PickOneOfX-DunXqSn1.js → PickOneOfX-vu_uatSq.js} +3 -3
- package/chunks/{Popper-0XuEHl9i.js → Popper-CyWC_zv1.js} +3 -3
- package/chunks/{Portal-4mtEzZlO.js → Portal-CoaOIw9X.js} +1 -1
- package/chunks/{PrizeCard-CjZXXFx3.js → PrizeCard-DYwXaC1D.js} +3248 -2310
- package/chunks/{Select-B3KaBu0K.js → Select-CRuPsqrG.js} +5 -5
- package/chunks/{Spinner-htM_pA9-.js → Spinner-CD5wbUmy.js} +2 -2
- package/chunks/{SplitLeadAfterCollection-B37WSS2g.js → SplitLeadAfterCollection-Vke86ylr.js} +6 -6
- package/chunks/{Stack-BrwF24Ji.js → Stack-DEj8r9tP.js} +2 -2
- package/chunks/{StandardContentSkeleton-Bk0sSsby.js → StandardContentSkeleton-CPtytoYO.js} +1 -1
- package/chunks/{Table-OBls_6ml.js → Table-CwDNo-UR.js} +2 -2
- package/chunks/{Tabs-DW1eIofJ.js → Tabs-C4mPtsga.js} +3 -3
- package/chunks/{Textarea-G02jGLI9.js → Textarea-DwuY7MCR.js} +4 -4
- package/chunks/{TimerOutlined-BmAAC-Vi.js → TimerOutlined-D3hLxDxl.js} +1 -1
- package/chunks/{Typography-DjxaMiey.js → Typography-C3YXEcle.js} +1 -1
- package/chunks/{helpers-B7-TtMzO.js → helpers-bzUOaq-G.js} +1 -1
- package/chunks/{index-BqoOC2KB.js → index-Bo7CJaUZ.js} +187 -184
- package/chunks/index-sJ-SFBJM.js +4 -0
- package/chunks/{main-Bgyyz19Z.js → main-DR1WT3kS.js} +3 -3
- package/chunks/{main-F7VbtZQQ.js → main-bGk7HVmI.js} +15 -15
- package/chunks/{useEventCallback-BpsnMnDw.js → useEventCallback-ByT93yij.js} +2 -2
- package/chunks/{useForwardedInput-Umu4U7f1.js → useForwardedInput-Dr6j3VcU.js} +3 -3
- package/chunks/{useImageVariant-qiW-rMPJ.js → useImageVariant-CixMtvPN.js} +1 -1
- package/chunks/{variantColorInheritance-Bgtz8MKI.js → variantColorInheritance-V5sS30ik.js} +2 -2
- package/index.js +950 -666
- package/package.json +2 -2
- package/chunks/index-6_qOtrSn.js +0 -4
|
@@ -1,94 +1,96 @@
|
|
|
1
1
|
import { jsx as P, jsxs as ho, Fragment as fo } from "react/jsx-runtime";
|
|
2
|
-
import { r as
|
|
2
|
+
import { r as S } from "./PrizeCard-DYwXaC1D.js";
|
|
3
3
|
import * as Oe from "react";
|
|
4
|
-
import { createContext as Tt, useContext as O, useId as Ie, useEffect as
|
|
5
|
-
const qc =
|
|
4
|
+
import { createContext as Tt, useContext as O, useId as Ie, useEffect as ke, useCallback as Fe, Component as po, useLayoutEffect as mo, useRef as J, useInsertionEffect as Fs, useMemo as lt, forwardRef as go, Fragment as Bs, createElement as yo, Children as vo, isValidElement as To, useState as Tn } from "react";
|
|
5
|
+
const qc = S(/* @__PURE__ */ P("path", {
|
|
6
6
|
d: "M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8m-.22-13h-.06c-.4 0-.72.32-.72.72v4.72c0 .35.18.68.49.86l4.15 2.49c.34.2.78.1.98-.24.21-.34.1-.79-.25-.99l-3.87-2.3V7.72c0-.4-.32-.72-.72-.72"
|
|
7
|
-
}), "AccessTimeRounded"), Zc =
|
|
7
|
+
}), "AccessTimeRounded"), Zc = S(/* @__PURE__ */ P("path", {
|
|
8
8
|
d: "M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"
|
|
9
|
-
}), "Add"), Jc =
|
|
9
|
+
}), "Add"), Jc = S(/* @__PURE__ */ P("path", {
|
|
10
10
|
d: "M13 7h-2v4H7v2h4v4h2v-4h4v-2h-4zm-1-5C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8"
|
|
11
|
-
}), "AddCircleOutline"), Qc =
|
|
11
|
+
}), "AddCircleOutline"), Qc = S(/* @__PURE__ */ P("path", {
|
|
12
12
|
d: "M4 8h4V4H4zm6 12h4v-4h-4zm-6 0h4v-4H4zm0-6h4v-4H4zm6 0h4v-4h-4zm6-10v4h4V4zm-6 4h4V4h-4zm6 6h4v-4h-4zm0 6h4v-4h-4z"
|
|
13
|
-
}), "AppsOutlined"), tu =
|
|
13
|
+
}), "AppsOutlined"), tu = S(/* @__PURE__ */ P("path", {
|
|
14
14
|
d: "M17.77 3.77 16 2 6 12l10 10 1.77-1.77L9.54 12z"
|
|
15
|
-
}), "ArrowBackIosNew"), eu =
|
|
15
|
+
}), "ArrowBackIosNew"), eu = S(/* @__PURE__ */ P("path", {
|
|
16
16
|
d: "M6.23 20.23 8 22l10-10L8 2 6.23 3.77 14.46 12z"
|
|
17
|
-
}), "ArrowForwardIos"), nu =
|
|
17
|
+
}), "ArrowForwardIos"), nu = S(/* @__PURE__ */ P("path", {
|
|
18
|
+
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2M4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12m8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8"
|
|
19
|
+
}), "BlockOutlined"), su = S(/* @__PURE__ */ P("path", {
|
|
18
20
|
d: "M20 3h-1V1h-2v2H7V1H5v2H4c-1.1 0-2 .9-2 2v16c0 1.1.9 2 2 2h16c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m0 18H4V10h16zm0-13H4V5h16z"
|
|
19
|
-
}), "CalendarTodayOutlined"),
|
|
21
|
+
}), "CalendarTodayOutlined"), iu = S(/* @__PURE__ */ P("path", {
|
|
20
22
|
d: "M20 6h-2.18c.11-.31.18-.65.18-1 0-1.66-1.34-3-3-3-1.05 0-1.96.54-2.5 1.35l-.5.67-.5-.68C10.96 2.54 10.05 2 9 2 7.34 2 6 3.34 6 5c0 .35.07.69.18 1H4c-1.11 0-1.99.89-1.99 2L2 19c0 1.11.89 2 2 2h16c1.11 0 2-.89 2-2V8c0-1.11-.89-2-2-2m-5-2c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1M9 4c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m11 15H4v-2h16zm0-5H4V8h5.08L7 10.83 8.62 12 12 7.4l3.38 4.6L17 10.83 14.92 8H20z"
|
|
21
|
-
}), "CardGiftcardOutlined"),
|
|
23
|
+
}), "CardGiftcardOutlined"), ou = S(/* @__PURE__ */ P("path", {
|
|
22
24
|
d: "M9 16.17 4.83 12l-1.42 1.41L9 19 21 7l-1.41-1.41z"
|
|
23
|
-
}), "Check"),
|
|
25
|
+
}), "Check"), ru = S(/* @__PURE__ */ P("path", {
|
|
24
26
|
d: "M9 16.17 5.53 12.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41l4.18 4.18c.39.39 1.02.39 1.41 0L20.29 7.71c.39-.39.39-1.02 0-1.41a.996.996 0 0 0-1.41 0z"
|
|
25
|
-
}), "CheckRounded"),
|
|
27
|
+
}), "CheckRounded"), au = S(/* @__PURE__ */ P("path", {
|
|
26
28
|
d: "M15.41 7.41 14 6l-6 6 6 6 1.41-1.41L10.83 12z"
|
|
27
|
-
}), "ChevronLeft"),
|
|
29
|
+
}), "ChevronLeft"), lu = S(/* @__PURE__ */ P("path", {
|
|
28
30
|
d: "M10 6 8.59 7.41 13.17 12l-4.58 4.59L10 18l6-6z"
|
|
29
|
-
}), "ChevronRight"),
|
|
31
|
+
}), "ChevronRight"), cu = S(/* @__PURE__ */ P("path", {
|
|
30
32
|
d: "M9.29 6.71c-.39.39-.39 1.02 0 1.41L13.17 12l-3.88 3.88c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0l4.59-4.59c.39-.39.39-1.02 0-1.41L10.7 6.7c-.38-.38-1.02-.38-1.41.01"
|
|
31
|
-
}), "ChevronRightRounded"),
|
|
33
|
+
}), "ChevronRightRounded"), uu = S(/* @__PURE__ */ P("path", {
|
|
32
34
|
d: "M18.3 5.71a.996.996 0 0 0-1.41 0L12 10.59 7.11 5.7a.996.996 0 0 0-1.41 0c-.39.39-.39 1.02 0 1.41L10.59 12 5.7 16.89c-.39.39-.39 1.02 0 1.41s1.02.39 1.41 0L12 13.41l4.89 4.89c.39.39 1.02.39 1.41 0s.39-1.02 0-1.41L13.41 12l4.89-4.89c.38-.38.38-1.02 0-1.4"
|
|
33
|
-
}), "CloseRounded"),
|
|
35
|
+
}), "CloseRounded"), hu = S(/* @__PURE__ */ P("path", {
|
|
34
36
|
d: "M9.01 14H2v2h7.01v3L13 15l-3.99-4zm5.98-1v-3H22V8h-7.01V5L11 9z"
|
|
35
|
-
}), "CompareArrowsOutlined"),
|
|
37
|
+
}), "CompareArrowsOutlined"), du = S(/* @__PURE__ */ P("path", {
|
|
36
38
|
d: "M9.01 14H3c-.55 0-1 .45-1 1s.45 1 1 1h6.01v1.79c0 .45.54.67.85.35l2.78-2.79c.19-.2.19-.51 0-.71l-2.78-2.79c-.31-.32-.85-.09-.85.35zm5.98-2.21V10H21c.55 0 1-.45 1-1s-.45-1-1-1h-6.01V6.21c0-.45-.54-.67-.85-.35l-2.78 2.79c-.19.2-.19.51 0 .71l2.78 2.79c.31.31.85.09.85-.36"
|
|
37
|
-
}), "CompareArrowsRounded"),
|
|
39
|
+
}), "CompareArrowsRounded"), fu = S(/* @__PURE__ */ P("path", {
|
|
38
40
|
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
|
|
39
|
-
}), "ContentCopy"),
|
|
41
|
+
}), "ContentCopy"), pu = S(/* @__PURE__ */ P("path", {
|
|
40
42
|
d: "M16 1H4c-1.1 0-2 .9-2 2v14h2V3h12zm3 4H8c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h11c1.1 0 2-.9 2-2V7c0-1.1-.9-2-2-2m0 16H8V7h11z"
|
|
41
|
-
}), "ContentCopyOutlined"),
|
|
43
|
+
}), "ContentCopyOutlined"), mu = S(/* @__PURE__ */ P("path", {
|
|
42
44
|
d: "M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM8 9h8v10H8zm7.5-5-1-1h-5l-1 1H5v2h14V4z"
|
|
43
|
-
}), "DeleteOutline"),
|
|
45
|
+
}), "DeleteOutline"), gu = S(/* @__PURE__ */ P("path", {
|
|
44
46
|
d: "m14.06 9.02.92.92L5.92 19H5v-.92zM17.66 3c-.25 0-.51.1-.7.29l-1.83 1.83 3.75 3.75 1.83-1.83c.39-.39.39-1.02 0-1.41l-2.34-2.34c-.2-.2-.45-.29-.71-.29m-3.6 3.19L3 17.25V21h3.75L17.81 9.94z"
|
|
45
|
-
}), "EditOutlined"),
|
|
47
|
+
}), "EditOutlined"), yu = S(/* @__PURE__ */ P("path", {
|
|
46
48
|
d: "M19 5h-2V3H7v2H5c-1.1 0-2 .9-2 2v1c0 2.55 1.92 4.63 4.39 4.94.63 1.5 1.98 2.63 3.61 2.96V19H7v2h10v-2h-4v-3.1c1.63-.33 2.98-1.46 3.61-2.96C19.08 12.63 21 10.55 21 8V7c0-1.1-.9-2-2-2M5 8V7h2v3.82C5.84 10.4 5 9.3 5 8m7 6c-1.65 0-3-1.35-3-3V5h6v6c0 1.65-1.35 3-3 3m7-6c0 1.3-.84 2.4-2 2.82V7h2z"
|
|
47
|
-
}), "EmojiEventsOutlined"),
|
|
49
|
+
}), "EmojiEventsOutlined"), vu = S(/* @__PURE__ */ P("path", {
|
|
48
50
|
d: "M9 13.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5M4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25zM9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12m0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7m7.04 6.81c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44M15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35"
|
|
49
|
-
}), "GroupOutlined"),
|
|
51
|
+
}), "GroupOutlined"), Tu = S(/* @__PURE__ */ P("path", {
|
|
50
52
|
d: "M4 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m1.13 1.1c-.37-.06-.74-.1-1.13-.1-.99 0-1.93.21-2.78.58C.48 14.9 0 15.62 0 16.43V18h4.5v-1.61c0-.83.23-1.61.63-2.29M20 13c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2m4 3.43c0-.81-.48-1.53-1.22-1.85-.85-.37-1.79-.58-2.78-.58-.39 0-.76.04-1.13.1.4.68.63 1.46.63 2.29V18H24zm-7.76-2.78c-1.17-.52-2.61-.9-4.24-.9s-3.07.39-4.24.9C6.68 14.13 6 15.21 6 16.39V18h12v-1.61c0-1.18-.68-2.26-1.76-2.74M8.07 16c.09-.23.13-.39.91-.69.97-.38 1.99-.56 3.02-.56s2.05.18 3.02.56c.77.3.81.46.91.69zM12 8c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m0-2c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"
|
|
51
|
-
}), "GroupsOutlined"),
|
|
53
|
+
}), "GroupsOutlined"), Pu = S(/* @__PURE__ */ P("path", {
|
|
52
54
|
d: "M6 2v6h.01L6 8.01 10 12l-4 4 .01.01H6V22h12v-5.99h-.01L18 16l-4-4 4-3.99-.01-.01H18V2zm10 14.5V20H8v-3.5l4-4zm-4-5-4-4V4h8v3.5z"
|
|
53
|
-
}), "HourglassEmptyOutlined"),
|
|
55
|
+
}), "HourglassEmptyOutlined"), xu = S(/* @__PURE__ */ P("path", {
|
|
54
56
|
d: "M18 8h-1V6c0-2.76-2.24-5-5-5S7 3.24 7 6v2H6c-1.1 0-2 .9-2 2v10c0 1.1.9 2 2 2h12c1.1 0 2-.9 2-2V10c0-1.1-.9-2-2-2M9 6c0-1.66 1.34-3 3-3s3 1.34 3 3v2H9zm9 14H6V10h12zm-6-3c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2"
|
|
55
|
-
}), "LockOutlined"),
|
|
57
|
+
}), "LockOutlined"), Su = S(/* @__PURE__ */ P("path", {
|
|
56
58
|
d: "m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"
|
|
57
|
-
}), "Logout"),
|
|
59
|
+
}), "Logout"), Vu = S(/* @__PURE__ */ P("path", {
|
|
58
60
|
d: "M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2m-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2"
|
|
59
|
-
}), "MoreHoriz"),
|
|
61
|
+
}), "MoreHoriz"), Au = S(/* @__PURE__ */ P("path", {
|
|
60
62
|
d: "M12 22c1.1 0 2-.9 2-2h-4c0 1.1.9 2 2 2m6-6v-5c0-3.07-1.63-5.64-4.5-6.32V4c0-.83-.67-1.5-1.5-1.5s-1.5.67-1.5 1.5v.68C7.64 5.36 6 7.92 6 11v5l-2 2v1h16v-1zm-2 1H8v-6c0-2.48 1.51-4.5 4-4.5s4 2.02 4 4.5z"
|
|
61
|
-
}), "NotificationsOutlined"),
|
|
63
|
+
}), "NotificationsOutlined"), wu = S(/* @__PURE__ */ P("path", {
|
|
62
64
|
d: "M9 13.75c-2.34 0-7 1.17-7 3.5V19h14v-1.75c0-2.33-4.66-3.5-7-3.5M4.34 17c.84-.58 2.87-1.25 4.66-1.25s3.82.67 4.66 1.25zM9 12c1.93 0 3.5-1.57 3.5-3.5S10.93 5 9 5 5.5 6.57 5.5 8.5 7.07 12 9 12m0-5c.83 0 1.5.67 1.5 1.5S9.83 10 9 10s-1.5-.67-1.5-1.5S8.17 7 9 7m7.04 6.81c1.16.84 1.96 1.96 1.96 3.44V19h4v-1.75c0-2.02-3.5-3.17-5.96-3.44M15 12c1.93 0 3.5-1.57 3.5-3.5S16.93 5 15 5c-.54 0-1.04.13-1.5.35.63.89 1 1.98 1 3.15s-.37 2.26-1 3.15c.46.22.96.35 1.5.35"
|
|
63
|
-
}), "PeopleOutlined"),
|
|
65
|
+
}), "PeopleOutlined"), bu = S(/* @__PURE__ */ P("path", {
|
|
64
66
|
d: "M13 8c0-2.21-1.79-4-4-4S5 5.79 5 8s1.79 4 4 4 4-1.79 4-4m-2 0c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2M1 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4m2 0c.2-.71 3.3-2 6-2 2.69 0 5.78 1.28 6 2zm17-3v-3h3v-2h-3V7h-2v3h-3v2h3v3z"
|
|
65
|
-
}), "PersonAddAlt1Outlined"),
|
|
67
|
+
}), "PersonAddAlt1Outlined"), Cu = S(/* @__PURE__ */ P("path", {
|
|
66
68
|
d: "M14 8c0-2.21-1.79-4-4-4S6 5.79 6 8s1.79 4 4 4 4-1.79 4-4m-2 0c0 1.1-.9 2-2 2s-2-.9-2-2 .9-2 2-2 2 .9 2 2M2 18v2h16v-2c0-2.66-5.33-4-8-4s-8 1.34-8 4m2 0c.2-.71 3.3-2 6-2 2.69 0 5.77 1.28 6 2zm13-8h6v2h-6z"
|
|
67
|
-
}), "PersonRemoveOutlined"),
|
|
69
|
+
}), "PersonRemoveOutlined"), Mu = S(/* @__PURE__ */ P("path", {
|
|
68
70
|
d: "M17.65 6.35C16.2 4.9 14.21 4 12 4c-4.42 0-7.99 3.58-7.99 8s3.57 8 7.99 8c3.73 0 6.84-2.55 7.73-6h-2.08c-.82 2.33-3.04 4-5.65 4-3.31 0-6-2.69-6-6s2.69-6 6-6c1.66 0 3.14.69 4.22 1.78L13 11h7V4z"
|
|
69
|
-
}), "Refresh"),
|
|
71
|
+
}), "Refresh"), Ru = S(/* @__PURE__ */ P("path", {
|
|
70
72
|
d: "M15.5 14h-.79l-.28-.27C15.41 12.59 16 11.11 16 9.5 16 5.91 13.09 3 9.5 3S3 5.91 3 9.5 5.91 16 9.5 16c1.61 0 3.09-.59 4.23-1.57l.27.28v.79l5 4.99L20.49 19zm-6 0C7.01 14 5 11.99 5 9.5S7.01 5 9.5 5 14 7.01 14 9.5 11.99 14 9.5 14"
|
|
71
|
-
}), "Search"),
|
|
73
|
+
}), "Search"), Du = S(/* @__PURE__ */ P("path", {
|
|
72
74
|
d: "M2.01 21 23 12 2.01 3 2 10l15 2-15 2z"
|
|
73
|
-
}), "Send"),
|
|
75
|
+
}), "Send"), Lu = S(/* @__PURE__ */ P("path", {
|
|
74
76
|
d: "M12 2 4 5v6.09c0 5.05 3.41 9.76 8 10.91 4.59-1.15 8-5.86 8-10.91V5zm6 9.09c0 4-2.55 7.7-6 8.83-3.45-1.13-6-4.82-6-8.83v-4.7l6-2.25 6 2.25z"
|
|
75
|
-
}), "ShieldOutlined"),
|
|
77
|
+
}), "ShieldOutlined"), Eu = S(/* @__PURE__ */ P("path", {
|
|
76
78
|
d: "M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 3.3 1.35-.95c1.82.56 3.37 1.76 4.38 3.34l-.39 1.34-1.35.46L13 6.7zm-3.35-.95L11 5.3v1.4L7.01 9.49l-1.35-.46-.39-1.34c1.01-1.57 2.56-2.77 4.38-3.34M7.08 17.11l-1.14.1C4.73 15.81 4 13.99 4 12c0-.12.01-.23.02-.35l1-.73 1.38.48 1.46 4.34zm7.42 2.48c-.79.26-1.63.41-2.5.41s-1.71-.15-2.5-.41l-.69-1.49.64-1.1h5.11l.64 1.11zM14.27 15H9.73l-1.35-4.02L12 8.44l3.63 2.54zm3.79 2.21-1.14-.1-.79-1.37 1.46-4.34 1.39-.47 1 .73c.01.11.02.22.02.34 0 1.99-.73 3.81-1.94 5.21"
|
|
77
|
-
}), "SportsSoccer"),
|
|
79
|
+
}), "SportsSoccer"), Ou = S(/* @__PURE__ */ P("path", {
|
|
78
80
|
d: "m12 17.27 4.15 2.51c.76.46 1.69-.22 1.49-1.08l-1.1-4.72 3.67-3.18c.67-.58.31-1.68-.57-1.75l-4.83-.41-1.89-4.46c-.34-.81-1.5-.81-1.84 0L9.19 8.63l-4.83.41c-.88.07-1.24 1.17-.57 1.75l3.67 3.18-1.1 4.72c-.2.86.73 1.54 1.49 1.08z"
|
|
79
|
-
}), "StarRounded"),
|
|
81
|
+
}), "StarRounded"), Iu = S(/* @__PURE__ */ P("path", {
|
|
80
82
|
d: "m19.07 4.93-1.41 1.41C19.1 7.79 20 9.79 20 12c0 4.42-3.58 8-8 8s-8-3.58-8-8c0-4.08 3.05-7.44 7-7.93v2.02C8.16 6.57 6 9.03 6 12c0 3.31 2.69 6 6 6s6-2.69 6-6c0-1.66-.67-3.16-1.76-4.24l-1.41 1.41C15.55 9.9 16 10.9 16 12c0 2.21-1.79 4-4 4s-4-1.79-4-4c0-1.86 1.28-3.41 3-3.86v2.14c-.6.35-1 .98-1 1.72 0 1.1.9 2 2 2s2-.9 2-2c0-.74-.4-1.38-1-1.72V2h-1C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10c0-2.76-1.12-5.26-2.93-7.07"
|
|
81
|
-
}), "TrackChanges"),
|
|
83
|
+
}), "TrackChanges"), ku = S(/* @__PURE__ */ P("path", {
|
|
82
84
|
d: "M12 1 3 5v6c0 5.55 3.84 10.74 9 12 5.16-1.26 9-6.45 9-12V5zm7 10c0 4.52-2.98 8.69-7 9.93-4.02-1.24-7-5.41-7-9.93V6.3l7-3.11 7 3.11zm-11.59.59L6 13l4 4 8-8-1.41-1.42L10 14.17z"
|
|
83
|
-
}), "VerifiedUserOutlined"), Fu =
|
|
85
|
+
}), "VerifiedUserOutlined"), Fu = S(/* @__PURE__ */ P("path", {
|
|
84
86
|
d: "M22 19h-6v-4h-2.68c-1.14 2.42-3.6 4-6.32 4-3.86 0-7-3.14-7-7s3.14-7 7-7c2.72 0 5.17 1.58 6.32 4H24v6h-2zm-4-2h2v-4h2v-2H11.94l-.23-.67C11.01 8.34 9.11 7 7 7c-2.76 0-5 2.24-5 5s2.24 5 5 5c2.11 0 4.01-1.34 4.71-3.33l.23-.67H18zM7 15c-1.65 0-3-1.35-3-3s1.35-3 3-3 3 1.35 3 3-1.35 3-3 3m0-4c-.55 0-1 .45-1 1s.45 1 1 1 1-.45 1-1-.45-1-1-1"
|
|
85
|
-
}), "VpnKeyOutlined"),
|
|
87
|
+
}), "VpnKeyOutlined"), Bu = S([/* @__PURE__ */ P("path", {
|
|
86
88
|
d: "M12 5.99 19.53 19H4.47zM12 2 1 21h22z"
|
|
87
89
|
}, "0"), /* @__PURE__ */ P("path", {
|
|
88
90
|
d: "M13 16h-2v2h2zm0-6h-2v5h2z"
|
|
89
|
-
}, "1")], "WarningAmber"),
|
|
91
|
+
}, "1")], "WarningAmber"), ju = S(/* @__PURE__ */ P("path", {
|
|
90
92
|
d: "M12 5.99 19.53 19H4.47zM2.74 18c-.77 1.33.19 3 1.73 3h15.06c1.54 0 2.5-1.67 1.73-3L13.73 4.99c-.77-1.33-2.69-1.33-3.46 0zM11 11v2c0 .55.45 1 1 1s1-.45 1-1v-2c0-.55-.45-1-1-1s-1 .45-1 1m0 5h2v2h-2z"
|
|
91
|
-
}), "WarningAmberRounded"),
|
|
93
|
+
}), "WarningAmberRounded"), zu = S(/* @__PURE__ */ P("path", {
|
|
92
94
|
d: "M9.68 13.69 12 11.93l2.31 1.76-.88-2.85L15.75 9h-2.84L12 6.19 11.09 9H8.25l2.31 1.84zM20 10c0-4.42-3.58-8-8-8s-8 3.58-8 8c0 2.03.76 3.87 2 5.28V23l6-2 6 2v-7.72c1.24-1.41 2-3.25 2-5.28m-8-6c3.31 0 6 2.69 6 6s-2.69 6-6 6-6-2.69-6-6 2.69-6 6-6m0 15-4 1.02v-3.1c1.18.68 2.54 1.08 4 1.08s2.82-.4 4-1.08v3.1z"
|
|
93
95
|
}), "WorkspacePremiumOutlined"), Pn = /* @__PURE__ */ new Set();
|
|
94
96
|
function Xt(t, e, n) {
|
|
@@ -240,7 +242,7 @@ function Mo(t) {
|
|
|
240
242
|
};
|
|
241
243
|
return l;
|
|
242
244
|
}
|
|
243
|
-
const
|
|
245
|
+
const kt = [
|
|
244
246
|
"read",
|
|
245
247
|
// Read
|
|
246
248
|
"resolveKeyframes",
|
|
@@ -260,18 +262,18 @@ function zs(t, e) {
|
|
|
260
262
|
delta: 0,
|
|
261
263
|
timestamp: 0,
|
|
262
264
|
isProcessing: !1
|
|
263
|
-
}, r = () => n = !0, o =
|
|
265
|
+
}, r = () => n = !0, o = kt.reduce((g, v) => (g[v] = Mo(r), g), {}), { read: a, resolveKeyframes: l, update: c, preRender: u, render: h, postRender: d } = o, f = () => {
|
|
264
266
|
const g = performance.now();
|
|
265
267
|
n = !1, i.delta = s ? 1e3 / 60 : Math.max(Math.min(g - i.timestamp, Ro), 1), i.timestamp = g, i.isProcessing = !0, a.process(i), l.process(i), c.process(i), u.process(i), h.process(i), d.process(i), i.isProcessing = !1, n && e && (s = !1, t(f));
|
|
266
268
|
}, p = () => {
|
|
267
269
|
n = !0, s = !0, i.isProcessing || t(f);
|
|
268
270
|
};
|
|
269
|
-
return { schedule:
|
|
271
|
+
return { schedule: kt.reduce((g, v) => {
|
|
270
272
|
const m = o[v];
|
|
271
|
-
return g[v] = (
|
|
273
|
+
return g[v] = (V, A = !1, M = !1) => (n || p(), m.schedule(V, A, M)), g;
|
|
272
274
|
}, {}), cancel: (g) => {
|
|
273
|
-
for (let v = 0; v <
|
|
274
|
-
o[
|
|
275
|
+
for (let v = 0; v < kt.length; v++)
|
|
276
|
+
o[kt[v]].cancel(g);
|
|
275
277
|
}, state: i, steps: o };
|
|
276
278
|
}
|
|
277
279
|
const { schedule: b, cancel: Q, state: D, steps: oe } = zs(typeof requestAnimationFrame < "u" ? requestAnimationFrame : L, !0), Ns = (t, e, n) => (((1 - 3 * n + 3 * e) * t + (3 * n - 6 * e)) * t + 3 * e) * t, Do = 1e-7, Lo = 12;
|
|
@@ -299,12 +301,12 @@ process.env.NODE_ENV !== "production" && (Pt = (t, e) => {
|
|
|
299
301
|
if (!t)
|
|
300
302
|
throw new Error(e);
|
|
301
303
|
});
|
|
302
|
-
const Xs = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), qs = (t) => (e) => typeof e == "string" && e.startsWith(t), Zs = /* @__PURE__ */ qs("--"), Io = /* @__PURE__ */ qs("var(--"), _e = (t) => Io(t) ?
|
|
304
|
+
const Xs = (t) => /^-?(?:\d+(?:\.\d+)?|\.\d+)$/u.test(t), qs = (t) => (e) => typeof e == "string" && e.startsWith(t), Zs = /* @__PURE__ */ qs("--"), Io = /* @__PURE__ */ qs("var(--"), _e = (t) => Io(t) ? ko.test(t.split("/*")[0].trim()) : !1, ko = /var\(--(?:[\w-]+\s*|[\w-]+\s*,(?:\s*[^)(\s]|\s*\((?:[^)(]|\([^)(]*\))*\))+\s*)\)$/iu, Fo = (
|
|
303
305
|
// eslint-disable-next-line redos-detector/no-unsafe-regex -- false positive, as it can match a lot of words
|
|
304
306
|
/^var\(--(?:([\w-]+)|([\w-]+), ?([a-zA-Z\d ()%#.,-]+))\)/u
|
|
305
307
|
);
|
|
306
308
|
function Bo(t) {
|
|
307
|
-
const e =
|
|
309
|
+
const e = Fo.exec(t);
|
|
308
310
|
if (!e)
|
|
309
311
|
return [,];
|
|
310
312
|
const [, n, s, i] = e;
|
|
@@ -330,7 +332,7 @@ const tt = (t, e, n) => n > e ? e : n < t ? t : n, xt = {
|
|
|
330
332
|
}, Rt = {
|
|
331
333
|
...xt,
|
|
332
334
|
transform: (t) => tt(0, 1, t)
|
|
333
|
-
},
|
|
335
|
+
}, Ft = {
|
|
334
336
|
...xt,
|
|
335
337
|
default: 1
|
|
336
338
|
}, It = (t) => ({
|
|
@@ -600,10 +602,10 @@ const rr = /\b([a-z-]*)\(.*?\)/gu, Se = {
|
|
|
600
602
|
rotateX: Z,
|
|
601
603
|
rotateY: Z,
|
|
602
604
|
rotateZ: Z,
|
|
603
|
-
scale:
|
|
604
|
-
scaleX:
|
|
605
|
-
scaleY:
|
|
606
|
-
scaleZ:
|
|
605
|
+
scale: Ft,
|
|
606
|
+
scaleX: Ft,
|
|
607
|
+
scaleY: Ft,
|
|
608
|
+
scaleZ: Ft,
|
|
607
609
|
skew: Z,
|
|
608
610
|
skewX: Z,
|
|
609
611
|
skewY: Z,
|
|
@@ -907,32 +909,32 @@ function fi({ keyframes: t, restDelta: e, restSpeed: n, ...s }) {
|
|
|
907
909
|
let v;
|
|
908
910
|
if (p < 1) {
|
|
909
911
|
const m = Ve(T, p);
|
|
910
|
-
v = (
|
|
911
|
-
const A = Math.exp(-p * T *
|
|
912
|
-
return r - A * ((f + p * T * y) / m * Math.sin(m *
|
|
912
|
+
v = (V) => {
|
|
913
|
+
const A = Math.exp(-p * T * V);
|
|
914
|
+
return r - A * ((f + p * T * y) / m * Math.sin(m * V) + y * Math.cos(m * V));
|
|
913
915
|
};
|
|
914
916
|
} else if (p === 1)
|
|
915
917
|
v = (m) => r - Math.exp(-T * m) * (y + (f + T * y) * m);
|
|
916
918
|
else {
|
|
917
919
|
const m = T * Math.sqrt(p * p - 1);
|
|
918
|
-
v = (
|
|
919
|
-
const A = Math.exp(-p * T *
|
|
920
|
+
v = (V) => {
|
|
921
|
+
const A = Math.exp(-p * T * V), M = Math.min(m * V, 300);
|
|
920
922
|
return r - A * ((f + p * T * y) * Math.sinh(M) + m * y * Math.cosh(M)) / m;
|
|
921
923
|
};
|
|
922
924
|
}
|
|
923
925
|
return {
|
|
924
926
|
calculatedDuration: d && u || null,
|
|
925
927
|
next: (m) => {
|
|
926
|
-
const
|
|
928
|
+
const V = v(m);
|
|
927
929
|
if (d)
|
|
928
930
|
o.done = m >= u;
|
|
929
931
|
else {
|
|
930
932
|
let A = 0;
|
|
931
|
-
p < 1 && (A = m === 0 ? U(f) : di(v, m,
|
|
932
|
-
const M = Math.abs(A) <= n, B = Math.abs(r -
|
|
933
|
+
p < 1 && (A = m === 0 ? U(f) : di(v, m, V));
|
|
934
|
+
const M = Math.abs(A) <= n, B = Math.abs(r - V) <= e;
|
|
933
935
|
o.done = M && B;
|
|
934
936
|
}
|
|
935
|
-
return o.value = o.done ? r :
|
|
937
|
+
return o.value = o.done ? r : V, o;
|
|
936
938
|
}
|
|
937
939
|
};
|
|
938
940
|
}
|
|
@@ -944,7 +946,7 @@ function En({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 3
|
|
|
944
946
|
let y = n * e;
|
|
945
947
|
const T = h + y, g = o === void 0 ? T : o(T);
|
|
946
948
|
g !== T && (y = g - h);
|
|
947
|
-
const v = (w) => -y * Math.exp(-w / s), m = (w) => g + v(w),
|
|
949
|
+
const v = (w) => -y * Math.exp(-w / s), m = (w) => g + v(w), V = (w) => {
|
|
948
950
|
const j = v(w), z = m(w);
|
|
949
951
|
d.done = Math.abs(j) <= c, d.value = d.done ? g : z;
|
|
950
952
|
};
|
|
@@ -964,7 +966,7 @@ function En({ keyframes: t, velocity: e = 0, power: n = 0.8, timeConstant: s = 3
|
|
|
964
966
|
calculatedDuration: null,
|
|
965
967
|
next: (w) => {
|
|
966
968
|
let j = !1;
|
|
967
|
-
return !M && A === void 0 && (j = !0,
|
|
969
|
+
return !M && A === void 0 && (j = !0, V(w), B(w)), A !== void 0 && w >= A ? M.next(w - A) : (!j && V(w), d);
|
|
968
970
|
}
|
|
969
971
|
};
|
|
970
972
|
}
|
|
@@ -1018,15 +1020,15 @@ const ce = (t, e, n) => {
|
|
|
1018
1020
|
const s = t * t, i = n * (e * e - s) + s;
|
|
1019
1021
|
return i < 0 ? 0 : Math.sqrt(i);
|
|
1020
1022
|
}, Lr = [xe, rt, ht], Er = (t) => Lr.find((e) => e.test(t));
|
|
1021
|
-
function
|
|
1023
|
+
function kn(t) {
|
|
1022
1024
|
const e = Er(t);
|
|
1023
1025
|
if (Pt(!!e, `'${t}' is not an animatable color. Use the equivalent color code instead.`), !e)
|
|
1024
1026
|
return !1;
|
|
1025
1027
|
let n = e.parse(t);
|
|
1026
1028
|
return e === ht && (n = Dr(n)), n;
|
|
1027
1029
|
}
|
|
1028
|
-
const
|
|
1029
|
-
const n =
|
|
1030
|
+
const Fn = (t, e) => {
|
|
1031
|
+
const n = kn(t), s = kn(e);
|
|
1030
1032
|
if (!n || !s)
|
|
1031
1033
|
return Ut(t, e);
|
|
1032
1034
|
const i = { ...n };
|
|
@@ -1039,7 +1041,7 @@ function Ir(t, e) {
|
|
|
1039
1041
|
return (n) => C(t, e, n);
|
|
1040
1042
|
}
|
|
1041
1043
|
function Ze(t) {
|
|
1042
|
-
return typeof t == "number" ? Ir : typeof t == "string" ? _e(t) ? Ut : E.test(t) ?
|
|
1044
|
+
return typeof t == "number" ? Ir : typeof t == "string" ? _e(t) ? Ut : E.test(t) ? Fn : Br : Array.isArray(t) ? mi : typeof t == "object" ? E.test(t) ? Fn : kr : Ut;
|
|
1043
1045
|
}
|
|
1044
1046
|
function mi(t, e) {
|
|
1045
1047
|
const n = [...t], s = n.length, i = t.map((r, o) => Ze(r)(r, e[o]));
|
|
@@ -1049,7 +1051,7 @@ function mi(t, e) {
|
|
|
1049
1051
|
return n;
|
|
1050
1052
|
};
|
|
1051
1053
|
}
|
|
1052
|
-
function
|
|
1054
|
+
function kr(t, e) {
|
|
1053
1055
|
const n = { ...t, ...e }, s = {};
|
|
1054
1056
|
for (const i in n)
|
|
1055
1057
|
t[i] !== void 0 && e[i] !== void 0 && (s[i] = Ze(t[i])(t[i], e[i]));
|
|
@@ -1059,7 +1061,7 @@ function Fr(t, e) {
|
|
|
1059
1061
|
return n;
|
|
1060
1062
|
};
|
|
1061
1063
|
}
|
|
1062
|
-
function
|
|
1064
|
+
function Fr(t, e) {
|
|
1063
1065
|
var n;
|
|
1064
1066
|
const s = [], i = { color: 0, var: 0, number: 0 };
|
|
1065
1067
|
for (let r = 0; r < e.values.length; r++) {
|
|
@@ -1070,7 +1072,7 @@ function kr(t, e) {
|
|
|
1070
1072
|
}
|
|
1071
1073
|
const Br = (t, e) => {
|
|
1072
1074
|
const n = et.createTransformer(e), s = Dt(t), i = Dt(e);
|
|
1073
|
-
return s.indexes.var.length === i.indexes.var.length && s.indexes.color.length === i.indexes.color.length && s.indexes.number.length >= i.indexes.number.length ? Ae.has(t) && !i.values.length || Ae.has(e) && !s.values.length ? Or(t, e) : Y(mi(
|
|
1075
|
+
return s.indexes.var.length === i.indexes.var.length && s.indexes.color.length === i.indexes.color.length && s.indexes.number.length >= i.indexes.number.length ? Ae.has(t) && !i.values.length || Ae.has(e) && !s.values.length ? Or(t, e) : Y(mi(Fr(s, i), i.values), n) : (Pt(!0, `Complex values '${t}' and '${e}' too different to mix. Ensure all colors are of the same type, and that each contains the same quantity of number and color values. Falling back to instant transition.`), Ut(t, e));
|
|
1074
1076
|
};
|
|
1075
1077
|
function gi(t, e, n) {
|
|
1076
1078
|
return typeof t == "number" && typeof e == "number" && typeof n == "number" ? C(t, e, n) : Ze(t)(t, e);
|
|
@@ -1214,13 +1216,13 @@ class Je extends ui {
|
|
|
1214
1216
|
this.speed > 0 ? this.startTime = Math.min(this.startTime, e) : this.speed < 0 && (this.startTime = Math.min(e - u / this.speed, this.startTime)), n ? this.currentTime = e : this.holdTime !== null ? this.currentTime = this.holdTime : this.currentTime = Math.round(e - this.startTime) * this.speed;
|
|
1215
1217
|
const g = this.currentTime - d * (this.speed >= 0 ? 1 : -1), v = this.speed >= 0 ? g < 0 : g > u;
|
|
1216
1218
|
this.currentTime = Math.max(g, 0), this.state === "finished" && this.holdTime === null && (this.currentTime = u);
|
|
1217
|
-
let m = this.currentTime,
|
|
1219
|
+
let m = this.currentTime, V = r;
|
|
1218
1220
|
if (f) {
|
|
1219
1221
|
const w = Math.min(this.currentTime, u) / h;
|
|
1220
1222
|
let j = Math.floor(w), z = w % 1;
|
|
1221
|
-
!z && w >= 1 && (z = 1), z === 1 && j--, j = Math.min(j, f + 1), !!(j % 2) && (p === "reverse" ? (z = 1 - z, y && (z -= y / h)) : p === "mirror" && (
|
|
1223
|
+
!z && w >= 1 && (z = 1), z === 1 && j--, j = Math.min(j, f + 1), !!(j % 2) && (p === "reverse" ? (z = 1 - z, y && (z -= y / h)) : p === "mirror" && (V = o)), m = tt(0, 1, z) * h;
|
|
1222
1224
|
}
|
|
1223
|
-
const A = v ? { done: !1, value: l[0] } :
|
|
1225
|
+
const A = v ? { done: !1, value: l[0] } : V.next(m);
|
|
1224
1226
|
a && (A.value = a(A.value));
|
|
1225
1227
|
let { done: M } = A;
|
|
1226
1228
|
!v && c !== null && (M = this.speed >= 0 ? this.currentTime >= u : this.currentTime <= 0);
|
|
@@ -2009,9 +2011,9 @@ function Aa(t) {
|
|
|
2009
2011
|
const { props: c } = t, u = Vi(t.parent) || {}, h = [], d = /* @__PURE__ */ new Set();
|
|
2010
2012
|
let f = {}, p = 1 / 0;
|
|
2011
2013
|
for (let T = 0; T < Sa; T++) {
|
|
2012
|
-
const g = xa[T], v = n[g], m = c[g] !== void 0 ? c[g] : u[g],
|
|
2014
|
+
const g = xa[T], v = n[g], m = c[g] !== void 0 ? c[g] : u[g], V = Mt(m), A = g === l ? v.isActive : null;
|
|
2013
2015
|
A === !1 && (p = T);
|
|
2014
|
-
let M = m === u[g] && m !== c[g] &&
|
|
2016
|
+
let M = m === u[g] && m !== c[g] && V;
|
|
2015
2017
|
if (M && s && t.manuallyAnimateOnMount && (M = !1), v.protectedKeys = { ...f }, // If it isn't active and hasn't *just* been set as inactive
|
|
2016
2018
|
!v.isActive && A === null || // If we didn't and don't have any defined prop for this animation type
|
|
2017
2019
|
!m && !v.prevProp || // Or if the prop doesn't define an animation
|
|
@@ -2019,28 +2021,28 @@ function Aa(t) {
|
|
|
2019
2021
|
continue;
|
|
2020
2022
|
const B = wa(v.prevProp, m);
|
|
2021
2023
|
let w = B || // If we're making this variant active, we want to always make it active
|
|
2022
|
-
g === l && v.isActive && !M &&
|
|
2023
|
-
T > p &&
|
|
2024
|
+
g === l && v.isActive && !M && V || // If we removed a higher-priority variant (i is in reverse order)
|
|
2025
|
+
T > p && V, j = !1;
|
|
2024
2026
|
const z = Array.isArray(m) ? m : [m];
|
|
2025
2027
|
let ut = z.reduce(i(g), {});
|
|
2026
2028
|
A === !1 && (ut = {});
|
|
2027
2029
|
const { prevResolvedValues: yn = {} } = v, uo = {
|
|
2028
2030
|
...yn,
|
|
2029
2031
|
...ut
|
|
2030
|
-
}, vn = (
|
|
2031
|
-
w = !0, d.has(
|
|
2032
|
-
const W = t.getValue(
|
|
2032
|
+
}, vn = (k) => {
|
|
2033
|
+
w = !0, d.has(k) && (j = !0, d.delete(k)), v.needsAnimating[k] = !0;
|
|
2034
|
+
const W = t.getValue(k);
|
|
2033
2035
|
W && (W.liveStyle = !1);
|
|
2034
2036
|
};
|
|
2035
|
-
for (const
|
|
2036
|
-
const W = ut[
|
|
2037
|
-
if (f.hasOwnProperty(
|
|
2037
|
+
for (const k in uo) {
|
|
2038
|
+
const W = ut[k], se = yn[k];
|
|
2039
|
+
if (f.hasOwnProperty(k))
|
|
2038
2040
|
continue;
|
|
2039
2041
|
let ie = !1;
|
|
2040
|
-
ve(W) && ve(se) ? ie = !js(W, se) : ie = W !== se, ie ? W != null ? vn(
|
|
2042
|
+
ve(W) && ve(se) ? ie = !js(W, se) : ie = W !== se, ie ? W != null ? vn(k) : d.add(k) : W !== void 0 && d.has(k) ? vn(k) : v.protectedKeys[k] = !0;
|
|
2041
2043
|
}
|
|
2042
|
-
v.prevProp = m, v.prevResolvedValues = ut, v.isActive && (f = { ...f, ...ut }), s && t.blockInitialAnimation && (w = !1), w && (!(M && B) || j) && h.push(...z.map((
|
|
2043
|
-
animation:
|
|
2044
|
+
v.prevProp = m, v.prevResolvedValues = ut, v.isActive && (f = { ...f, ...ut }), s && t.blockInitialAnimation && (w = !1), w && (!(M && B) || j) && h.push(...z.map((k) => ({
|
|
2045
|
+
animation: k,
|
|
2044
2046
|
options: { type: g }
|
|
2045
2047
|
})));
|
|
2046
2048
|
}
|
|
@@ -2288,27 +2290,27 @@ function Ri() {
|
|
|
2288
2290
|
function dt(t) {
|
|
2289
2291
|
return t && typeof t == "object" && Object.prototype.hasOwnProperty.call(t, "current");
|
|
2290
2292
|
}
|
|
2291
|
-
const Di = 1e-4, Ia = 1 - Di,
|
|
2292
|
-
function
|
|
2293
|
+
const Di = 1e-4, Ia = 1 - Di, ka = 1 + Di, Li = 0.01, Fa = 0 - Li, Ba = 0 + Li;
|
|
2294
|
+
function F(t) {
|
|
2293
2295
|
return t.max - t.min;
|
|
2294
2296
|
}
|
|
2295
2297
|
function ja(t, e, n) {
|
|
2296
2298
|
return Math.abs(t - e) <= n;
|
|
2297
2299
|
}
|
|
2298
2300
|
function $n(t, e, n, s = 0.5) {
|
|
2299
|
-
t.origin = s, t.originPoint = C(e.min, e.max, t.origin), t.scale =
|
|
2301
|
+
t.origin = s, t.originPoint = C(e.min, e.max, t.origin), t.scale = F(n) / F(e), t.translate = C(n.min, n.max, t.origin) - t.originPoint, (t.scale >= Ia && t.scale <= ka || isNaN(t.scale)) && (t.scale = 1), (t.translate >= Fa && t.translate <= Ba || isNaN(t.translate)) && (t.translate = 0);
|
|
2300
2302
|
}
|
|
2301
2303
|
function bt(t, e, n, s) {
|
|
2302
2304
|
$n(t.x, e.x, n.x, s ? s.originX : void 0), $n(t.y, e.y, n.y, s ? s.originY : void 0);
|
|
2303
2305
|
}
|
|
2304
2306
|
function Gn(t, e, n) {
|
|
2305
|
-
t.min = n.min + e.min, t.max = t.min +
|
|
2307
|
+
t.min = n.min + e.min, t.max = t.min + F(e);
|
|
2306
2308
|
}
|
|
2307
2309
|
function za(t, e, n) {
|
|
2308
2310
|
Gn(t.x, e.x, n.x), Gn(t.y, e.y, n.y);
|
|
2309
2311
|
}
|
|
2310
2312
|
function Yn(t, e, n) {
|
|
2311
|
-
t.min = e.min - n.min, t.max = t.min +
|
|
2313
|
+
t.min = e.min - n.min, t.max = t.min + F(e);
|
|
2312
2314
|
}
|
|
2313
2315
|
function Ct(t, e, n) {
|
|
2314
2316
|
Yn(t.x, e.x, n.x), Yn(t.y, e.y, n.y);
|
|
@@ -2340,7 +2342,7 @@ function Ua(t, e) {
|
|
|
2340
2342
|
}
|
|
2341
2343
|
function _a(t, e) {
|
|
2342
2344
|
let n = 0.5;
|
|
2343
|
-
const s =
|
|
2345
|
+
const s = F(t), i = F(e);
|
|
2344
2346
|
return i > s ? n = yt(e.min, e.max - s, t.min) : s > i && (n = yt(t.min, t.max - i, e.min)), tt(0, 1, n);
|
|
2345
2347
|
}
|
|
2346
2348
|
function Ka(t, e) {
|
|
@@ -2453,14 +2455,14 @@ function os(t, e, n, s, i = 0.5) {
|
|
|
2453
2455
|
function mt(t, e) {
|
|
2454
2456
|
os(t.x, e.x, e.scaleX, e.scale, e.originX), os(t.y, e.y, e.scaleY, e.scale, e.originY);
|
|
2455
2457
|
}
|
|
2456
|
-
function
|
|
2458
|
+
function ki(t, e) {
|
|
2457
2459
|
return Ei(Ga(t.getBoundingClientRect(), e));
|
|
2458
2460
|
}
|
|
2459
2461
|
function Xa(t, e, n) {
|
|
2460
|
-
const s =
|
|
2462
|
+
const s = ki(t, n), { scroll: i } = e;
|
|
2461
2463
|
return i && (pt(s.x, i.offset.x), pt(s.y, i.offset.y)), s;
|
|
2462
2464
|
}
|
|
2463
|
-
const
|
|
2465
|
+
const Fi = ({ current: t }) => t ? t.ownerDocument.defaultView : null, qa = /* @__PURE__ */ new WeakMap();
|
|
2464
2466
|
class Za {
|
|
2465
2467
|
constructor(e) {
|
|
2466
2468
|
this.openGlobalLock = null, this.isDragging = !1, this.currentDirection = null, this.originPoint = { x: 0, y: 0 }, this.constraints = !1, this.hasMutatedConstraints = !1, this.elastic = R(), this.visualElement = e;
|
|
@@ -2482,7 +2484,7 @@ class Za {
|
|
|
2482
2484
|
const { projection: v } = this.visualElement;
|
|
2483
2485
|
if (v && v.layout) {
|
|
2484
2486
|
const m = v.layout.layoutBox[T];
|
|
2485
|
-
m && (g =
|
|
2487
|
+
m && (g = F(m) * (parseFloat(g) / 100));
|
|
2486
2488
|
}
|
|
2487
2489
|
}
|
|
2488
2490
|
this.originPoint[T] = g;
|
|
@@ -2512,7 +2514,7 @@ class Za {
|
|
|
2512
2514
|
}, {
|
|
2513
2515
|
transformPagePoint: this.visualElement.getTransformPagePoint(),
|
|
2514
2516
|
dragSnapToOrigin: c,
|
|
2515
|
-
contextWindow:
|
|
2517
|
+
contextWindow: Fi(this.visualElement)
|
|
2516
2518
|
});
|
|
2517
2519
|
}
|
|
2518
2520
|
stop(e, n) {
|
|
@@ -2715,7 +2717,7 @@ class tl extends nt {
|
|
|
2715
2717
|
onPointerDown(e) {
|
|
2716
2718
|
this.session = new wi(e, this.createPanHandlers(), {
|
|
2717
2719
|
transformPagePoint: this.node.getTransformPagePoint(),
|
|
2718
|
-
contextWindow:
|
|
2720
|
+
contextWindow: Fi(this.node)
|
|
2719
2721
|
});
|
|
2720
2722
|
}
|
|
2721
2723
|
createPanHandlers() {
|
|
@@ -2745,8 +2747,8 @@ function el() {
|
|
|
2745
2747
|
if (t === null)
|
|
2746
2748
|
return [!0, null];
|
|
2747
2749
|
const { isPresent: e, onExitComplete: n, register: s } = t, i = Ie();
|
|
2748
|
-
|
|
2749
|
-
const r =
|
|
2750
|
+
ke(() => s(i), []);
|
|
2751
|
+
const r = Fe(() => n && n(i), [i, n]);
|
|
2750
2752
|
return !e && n ? [!1, r] : [!0];
|
|
2751
2753
|
}
|
|
2752
2754
|
const rn = Tt({}), Bi = Tt({}), Nt = {
|
|
@@ -2790,7 +2792,7 @@ const St = {
|
|
|
2790
2792
|
function sl(t) {
|
|
2791
2793
|
Object.assign(Gt, t);
|
|
2792
2794
|
}
|
|
2793
|
-
const { schedule: an, cancel:
|
|
2795
|
+
const { schedule: an, cancel: Nu } = zs(queueMicrotask, !1);
|
|
2794
2796
|
class il extends po {
|
|
2795
2797
|
/**
|
|
2796
2798
|
* This only mounts projection nodes for components that
|
|
@@ -2918,7 +2920,7 @@ function Ui(t, e) {
|
|
|
2918
2920
|
return vs(t.x, e.x) && vs(t.y, e.y);
|
|
2919
2921
|
}
|
|
2920
2922
|
function Ts(t) {
|
|
2921
|
-
return
|
|
2923
|
+
return F(t.x) / F(t.y);
|
|
2922
2924
|
}
|
|
2923
2925
|
function Ps(t, e) {
|
|
2924
2926
|
return t.translate === e.translate && t.scale === e.scale && t.originPoint === e.originPoint;
|
|
@@ -3087,15 +3089,15 @@ function Ki({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3087
3089
|
this.target = void 0, this.relativeTarget = void 0;
|
|
3088
3090
|
return;
|
|
3089
3091
|
}
|
|
3090
|
-
const y = this.options.transition || u.getDefaultTransition() ||
|
|
3092
|
+
const y = this.options.transition || u.getDefaultTransition() || Fl, { onLayoutAnimationStart: T, onLayoutAnimationComplete: g } = u.getProps(), v = !this.targetLayout || !Ui(this.targetLayout, p) || f, m = !d && f;
|
|
3091
3093
|
if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || m || d && (v || !this.currentAnimation)) {
|
|
3092
3094
|
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(h, m);
|
|
3093
|
-
const
|
|
3095
|
+
const V = {
|
|
3094
3096
|
...Ne(y, "layout"),
|
|
3095
3097
|
onPlay: T,
|
|
3096
3098
|
onComplete: g
|
|
3097
3099
|
};
|
|
3098
|
-
(u.shouldReduceMotion || this.options.layoutRoot) && (
|
|
3100
|
+
(u.shouldReduceMotion || this.options.layoutRoot) && (V.delay = 0, V.type = !1), this.startAnimation(V);
|
|
3099
3101
|
} else
|
|
3100
3102
|
d || Vs(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
3101
3103
|
this.targetLayout = p;
|
|
@@ -3348,11 +3350,11 @@ function Ki({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3348
3350
|
setAnimationOrigin(o, a = !1) {
|
|
3349
3351
|
const l = this.snapshot, c = l ? l.latestValues : {}, u = { ...this.latestValues }, h = ft();
|
|
3350
3352
|
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !a;
|
|
3351
|
-
const d = R(), f = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, y = f !== p, T = this.getStack(), g = !T || T.members.length <= 1, v = !!(y && !g && this.options.crossfade === !0 && !this.path.some(
|
|
3353
|
+
const d = R(), f = l ? l.source : void 0, p = this.layout ? this.layout.source : void 0, y = f !== p, T = this.getStack(), g = !T || T.members.length <= 1, v = !!(y && !g && this.options.crossfade === !0 && !this.path.some(kl));
|
|
3352
3354
|
this.animationProgress = 0;
|
|
3353
3355
|
let m;
|
|
3354
|
-
this.mixTargetDelta = (
|
|
3355
|
-
const A =
|
|
3356
|
+
this.mixTargetDelta = (V) => {
|
|
3357
|
+
const A = V / 1e3;
|
|
3356
3358
|
As(h.x, o.x, A), As(h.y, o.y, A), this.setTargetDelta(h), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (Ct(d, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Il(this.relativeTarget, this.relativeTargetOrigin, d, A), m && fl(this.relativeTarget, m) && (this.isProjectionDirty = !1), m || (m = R()), N(m, this.relativeTarget)), y && (this.animationValues = u, al(u, c, this.latestValues, A, v, g)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = A;
|
|
3357
3359
|
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
3358
3360
|
}
|
|
@@ -3383,9 +3385,9 @@ function Ki({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3383
3385
|
if (!(!a || !l || !c)) {
|
|
3384
3386
|
if (this !== o && this.layout && c && Wi(this.options.animationType, this.layout.layoutBox, c.layoutBox)) {
|
|
3385
3387
|
l = this.target || R();
|
|
3386
|
-
const h =
|
|
3388
|
+
const h = F(this.layout.layoutBox.x);
|
|
3387
3389
|
l.x.min = o.target.x.min, l.x.max = l.x.min + h;
|
|
3388
|
-
const d =
|
|
3390
|
+
const d = F(this.layout.layoutBox.y);
|
|
3389
3391
|
l.y.min = o.target.y.min, l.y.max = l.y.min + d;
|
|
3390
3392
|
}
|
|
3391
3393
|
N(a, l), mt(a, u), bt(this.projectionDeltaWithTransform, this.layoutCorrected, a, u);
|
|
@@ -3469,8 +3471,8 @@ function Ki({ attachResizeListener: t, defaultParent: e, measureScroll: n, check
|
|
|
3469
3471
|
const { correct: T, applyTo: g } = Gt[y], v = c.transform === "none" ? d[y] : T(d[y], h);
|
|
3470
3472
|
if (g) {
|
|
3471
3473
|
const m = g.length;
|
|
3472
|
-
for (let
|
|
3473
|
-
c[g[
|
|
3474
|
+
for (let V = 0; V < m; V++)
|
|
3475
|
+
c[g[V]] = v;
|
|
3474
3476
|
} else
|
|
3475
3477
|
c[y] = v;
|
|
3476
3478
|
}
|
|
@@ -3497,10 +3499,10 @@ function Al(t) {
|
|
|
3497
3499
|
if (t.isLead() && t.layout && n && t.hasListeners("didUpdate")) {
|
|
3498
3500
|
const { layoutBox: s, measuredBox: i } = t.layout, { animationType: r } = t.options, o = n.source !== t.layout.source;
|
|
3499
3501
|
r === "size" ? H((h) => {
|
|
3500
|
-
const d = o ? n.measuredBox[h] : n.layoutBox[h], f =
|
|
3502
|
+
const d = o ? n.measuredBox[h] : n.layoutBox[h], f = F(d);
|
|
3501
3503
|
d.min = s[h].min, d.max = d.min + f;
|
|
3502
3504
|
}) : Wi(r, n.layoutBox, s) && H((h) => {
|
|
3503
|
-
const d = o ? n.measuredBox[h] : n.layoutBox[h], f =
|
|
3505
|
+
const d = o ? n.measuredBox[h] : n.layoutBox[h], f = F(s[h]);
|
|
3504
3506
|
d.max = d.min + f, t.relativeTarget && !t.currentAnimation && (t.isProjectionDirty = !0, t.relativeTarget[h].max = t.relativeTarget[h].min + f);
|
|
3505
3507
|
});
|
|
3506
3508
|
const a = ft();
|
|
@@ -3578,10 +3580,10 @@ function ws(t, e, n, s) {
|
|
|
3578
3580
|
function Il(t, e, n, s) {
|
|
3579
3581
|
ws(t.x, e.x, n.x, s), ws(t.y, e.y, n.y, s);
|
|
3580
3582
|
}
|
|
3581
|
-
function
|
|
3583
|
+
function kl(t) {
|
|
3582
3584
|
return t.animationValues && t.animationValues.opacityExit !== void 0;
|
|
3583
3585
|
}
|
|
3584
|
-
const
|
|
3586
|
+
const Fl = {
|
|
3585
3587
|
duration: 0.45,
|
|
3586
3588
|
ease: [0.4, 0, 0.1, 1]
|
|
3587
3589
|
}, bs = (t) => typeof navigator < "u" && navigator.userAgent && navigator.userAgent.toLowerCase().includes(t), Cs = bs("applewebkit/") && !bs("chrome/") ? Math.round : L;
|
|
@@ -3821,7 +3823,7 @@ const Zl = {
|
|
|
3821
3823
|
transformPagePoint: (t) => t,
|
|
3822
3824
|
isStatic: !1,
|
|
3823
3825
|
reducedMotion: "never"
|
|
3824
|
-
}), ee = Tt({}), cn = typeof window < "u", Yi = cn ? mo :
|
|
3826
|
+
}), ee = Tt({}), cn = typeof window < "u", Yi = cn ? mo : ke, Xi = Tt({ strict: !1 });
|
|
3825
3827
|
function Ql(t, e, n, s, i) {
|
|
3826
3828
|
var r, o;
|
|
3827
3829
|
const { visualElement: a } = O(ee), l = O(Xi), c = O(te), u = O(ln).reducedMotion, h = J();
|
|
@@ -3836,13 +3838,13 @@ function Ql(t, e, n, s, i) {
|
|
|
3836
3838
|
const d = h.current, f = O(Bi);
|
|
3837
3839
|
d && !d.projection && i && (d.type === "html" || d.type === "svg") && tc(h.current, n, i, f);
|
|
3838
3840
|
const p = J(!1);
|
|
3839
|
-
|
|
3841
|
+
Fs(() => {
|
|
3840
3842
|
d && p.current && d.update(n, c);
|
|
3841
3843
|
});
|
|
3842
3844
|
const y = n[Pi], T = J(!!y && !(!((r = window.MotionHandoffIsComplete) === null || r === void 0) && r.call(window, y)) && ((o = window.MotionHasOptimisedAnimation) === null || o === void 0 ? void 0 : o.call(window, y)));
|
|
3843
3845
|
return Yi(() => {
|
|
3844
3846
|
d && (p.current = !0, window.MotionIsMounted = !0, d.updateFeatures(), an.render(d.render), T.current && d.animationState && d.animationState.animateChanges());
|
|
3845
|
-
}),
|
|
3847
|
+
}), ke(() => {
|
|
3846
3848
|
d && (!T.current && d.animationState && d.animationState.animateChanges(), T.current && (queueMicrotask(() => {
|
|
3847
3849
|
var g;
|
|
3848
3850
|
(g = window.MotionHandoffMarkAsComplete) === null || g === void 0 || g.call(window, y);
|
|
@@ -3874,7 +3876,7 @@ function qi(t) {
|
|
|
3874
3876
|
return t.options.allowProjection !== !1 ? t.projection : qi(t.parent);
|
|
3875
3877
|
}
|
|
3876
3878
|
function ec(t, e, n) {
|
|
3877
|
-
return
|
|
3879
|
+
return Fe(
|
|
3878
3880
|
(s) => {
|
|
3879
3881
|
s && t.mount && t.mount(s), e && (s ? e.mount(s) : e.unmount()), n && (typeof n == "function" ? n(s) : dt(n) && (n.current = s));
|
|
3880
3882
|
},
|
|
@@ -4116,8 +4118,8 @@ function dc(t, e, n, s) {
|
|
|
4116
4118
|
for (const v in g) {
|
|
4117
4119
|
let m = g[v];
|
|
4118
4120
|
if (Array.isArray(m)) {
|
|
4119
|
-
const
|
|
4120
|
-
m = m[
|
|
4121
|
+
const V = u ? m.length - 1 : 0;
|
|
4122
|
+
m = m[V];
|
|
4121
4123
|
}
|
|
4122
4124
|
m !== null && (i[v] = m);
|
|
4123
4125
|
}
|
|
@@ -4391,7 +4393,7 @@ const Os = /* @__PURE__ */ new WeakMap(), Oc = [...ti, E, et], Ic = (t) => Oc.fi
|
|
|
4391
4393
|
"LayoutAnimationStart",
|
|
4392
4394
|
"LayoutAnimationComplete"
|
|
4393
4395
|
];
|
|
4394
|
-
class
|
|
4396
|
+
class kc {
|
|
4395
4397
|
/**
|
|
4396
4398
|
* This method takes React props and returns found MotionValues. For example, HTML
|
|
4397
4399
|
* MotionValues will be found within the style prop, whereas for Three.js within attribute arrays.
|
|
@@ -4584,7 +4586,7 @@ class Fc {
|
|
|
4584
4586
|
this.events[e] && this.events[e].notify(...n);
|
|
4585
4587
|
}
|
|
4586
4588
|
}
|
|
4587
|
-
class co extends
|
|
4589
|
+
class co extends kc {
|
|
4588
4590
|
constructor() {
|
|
4589
4591
|
super(...arguments), this.KeyframeResolver = ci;
|
|
4590
4592
|
}
|
|
@@ -4598,7 +4600,7 @@ class co extends Fc {
|
|
|
4598
4600
|
delete n[e], delete s[e];
|
|
4599
4601
|
}
|
|
4600
4602
|
}
|
|
4601
|
-
function
|
|
4603
|
+
function Fc(t) {
|
|
4602
4604
|
return window.getComputedStyle(t);
|
|
4603
4605
|
}
|
|
4604
4606
|
class Bc extends co {
|
|
@@ -4610,12 +4612,12 @@ class Bc extends co {
|
|
|
4610
4612
|
const s = Ye(n);
|
|
4611
4613
|
return s && s.default || 0;
|
|
4612
4614
|
} else {
|
|
4613
|
-
const s =
|
|
4615
|
+
const s = Fc(e), i = (Zs(n) ? s.getPropertyValue(n) : s[n]) || 0;
|
|
4614
4616
|
return typeof i == "string" ? i.trim() : i;
|
|
4615
4617
|
}
|
|
4616
4618
|
}
|
|
4617
4619
|
measureInstanceViewportBox(e, { transformPagePoint: n }) {
|
|
4618
|
-
return
|
|
4620
|
+
return ki(e, n);
|
|
4619
4621
|
}
|
|
4620
4622
|
build(e, n, s) {
|
|
4621
4623
|
pn(e, n, s.transformTemplate);
|
|
@@ -4665,7 +4667,7 @@ const zc = (t, e) => un(t) ? new jc(e) : new Bc(e, {
|
|
|
4665
4667
|
...Zl,
|
|
4666
4668
|
...Nl,
|
|
4667
4669
|
...Jl
|
|
4668
|
-
}, zc),
|
|
4670
|
+
}, zc), Uu = /* @__PURE__ */ Po(Nc);
|
|
4669
4671
|
class Hc extends Oe.Component {
|
|
4670
4672
|
getSnapshotBeforeUpdate(e) {
|
|
4671
4673
|
const n = this.props.childRef.current;
|
|
@@ -4691,7 +4693,7 @@ function Uc({ children: t, isPresent: e }) {
|
|
|
4691
4693
|
top: 0,
|
|
4692
4694
|
left: 0
|
|
4693
4695
|
}), { nonce: r } = O(ln);
|
|
4694
|
-
return
|
|
4696
|
+
return Fs(() => {
|
|
4695
4697
|
const { width: o, height: a, top: l, left: c } = i.current;
|
|
4696
4698
|
if (e || !s.current || !o || !a)
|
|
4697
4699
|
return;
|
|
@@ -4711,7 +4713,7 @@ function Uc({ children: t, isPresent: e }) {
|
|
|
4711
4713
|
}, [e]), P(Hc, { isPresent: e, childRef: s, sizeRef: i, children: Oe.cloneElement(t, { ref: s }) });
|
|
4712
4714
|
}
|
|
4713
4715
|
const _c = ({ children: t, initial: e, isPresent: n, onExitComplete: s, custom: i, presenceAffectsLayout: r, mode: o }) => {
|
|
4714
|
-
const a = dn(Kc), l = Ie(), c =
|
|
4716
|
+
const a = dn(Kc), l = Ie(), c = Fe((h) => {
|
|
4715
4717
|
a.set(h, !0);
|
|
4716
4718
|
for (const d of a.values())
|
|
4717
4719
|
if (!d)
|
|
@@ -4743,15 +4745,15 @@ function Kc() {
|
|
|
4743
4745
|
return /* @__PURE__ */ new Map();
|
|
4744
4746
|
}
|
|
4745
4747
|
const jt = (t) => t.key || "";
|
|
4746
|
-
function
|
|
4748
|
+
function ks(t) {
|
|
4747
4749
|
const e = [];
|
|
4748
4750
|
return vo.forEach(t, (n) => {
|
|
4749
4751
|
To(n) && e.push(n);
|
|
4750
4752
|
}), e;
|
|
4751
4753
|
}
|
|
4752
|
-
const
|
|
4754
|
+
const _u = ({ children: t, exitBeforeEnter: e, custom: n, initial: s = !0, onExitComplete: i, presenceAffectsLayout: r = !0, mode: o = "sync" }) => {
|
|
4753
4755
|
q(!e, "Replace exitBeforeEnter with mode='wait'");
|
|
4754
|
-
const a = lt(() =>
|
|
4756
|
+
const a = lt(() => ks(t), [t]), l = a.map(jt), c = J(!0), u = J(a), h = dn(() => /* @__PURE__ */ new Map()), [d, f] = Tn(a), [p, y] = Tn(a);
|
|
4755
4757
|
Yi(() => {
|
|
4756
4758
|
c.current = !1, u.current = a;
|
|
4757
4759
|
for (let v = 0; v < p.length; v++) {
|
|
@@ -4763,16 +4765,16 @@ const Uu = ({ children: t, exitBeforeEnter: e, custom: n, initial: s = !0, onExi
|
|
|
4763
4765
|
if (a !== d) {
|
|
4764
4766
|
let v = [...a];
|
|
4765
4767
|
for (let m = 0; m < p.length; m++) {
|
|
4766
|
-
const
|
|
4767
|
-
l.includes(A) || (v.splice(m, 0,
|
|
4768
|
+
const V = p[m], A = jt(V);
|
|
4769
|
+
l.includes(A) || (v.splice(m, 0, V), T.push(V));
|
|
4768
4770
|
}
|
|
4769
|
-
o === "wait" && T.length && (v = T), y(
|
|
4771
|
+
o === "wait" && T.length && (v = T), y(ks(v)), f(a);
|
|
4770
4772
|
return;
|
|
4771
4773
|
}
|
|
4772
4774
|
process.env.NODE_ENV !== "production" && o === "wait" && p.length > 1 && console.warn(`You're attempting to animate multiple children within AnimatePresence, but its mode is set to "wait". This will lead to odd visual behaviour.`);
|
|
4773
4775
|
const { forceRender: g } = O(rn);
|
|
4774
4776
|
return P(fo, { children: p.map((v) => {
|
|
4775
|
-
const m = jt(v),
|
|
4777
|
+
const m = jt(v), V = a === p || l.includes(m), A = () => {
|
|
4776
4778
|
if (h.has(m))
|
|
4777
4779
|
h.set(m, !0);
|
|
4778
4780
|
else
|
|
@@ -4782,53 +4784,54 @@ const Uu = ({ children: t, exitBeforeEnter: e, custom: n, initial: s = !0, onExi
|
|
|
4782
4784
|
B || (M = !1);
|
|
4783
4785
|
}), M && (g == null || g(), y(u.current), i && i());
|
|
4784
4786
|
};
|
|
4785
|
-
return P(_c, { isPresent:
|
|
4787
|
+
return P(_c, { isPresent: V, initial: !c.current || s ? void 0 : !1, custom: V ? void 0 : n, presenceAffectsLayout: r, mode: o, onExitComplete: V ? void 0 : A, children: v }, m);
|
|
4786
4788
|
}) });
|
|
4787
4789
|
};
|
|
4788
4790
|
export {
|
|
4789
4791
|
Qc as A,
|
|
4790
|
-
|
|
4791
|
-
|
|
4792
|
-
|
|
4793
|
-
|
|
4794
|
-
|
|
4795
|
-
|
|
4796
|
-
|
|
4797
|
-
|
|
4798
|
-
|
|
4799
|
-
|
|
4800
|
-
Su as
|
|
4801
|
-
Vu as
|
|
4802
|
-
|
|
4803
|
-
|
|
4804
|
-
|
|
4805
|
-
|
|
4806
|
-
Iu as
|
|
4807
|
-
|
|
4808
|
-
|
|
4809
|
-
|
|
4810
|
-
|
|
4811
|
-
|
|
4812
|
-
|
|
4813
|
-
|
|
4792
|
+
nu as B,
|
|
4793
|
+
au as C,
|
|
4794
|
+
mu as D,
|
|
4795
|
+
yu as E,
|
|
4796
|
+
xu as F,
|
|
4797
|
+
vu as G,
|
|
4798
|
+
Pu as H,
|
|
4799
|
+
tu as I,
|
|
4800
|
+
eu as J,
|
|
4801
|
+
Bu as K,
|
|
4802
|
+
Su as L,
|
|
4803
|
+
Vu as M,
|
|
4804
|
+
Au as N,
|
|
4805
|
+
bu as P,
|
|
4806
|
+
Mu as R,
|
|
4807
|
+
Lu as S,
|
|
4808
|
+
Iu as T,
|
|
4809
|
+
ku as V,
|
|
4810
|
+
zu as W,
|
|
4811
|
+
lu as a,
|
|
4812
|
+
Ou as b,
|
|
4813
|
+
du as c,
|
|
4814
|
+
hu as d,
|
|
4815
|
+
_u as e,
|
|
4816
|
+
ru as f,
|
|
4814
4817
|
qc as g,
|
|
4815
|
-
|
|
4816
|
-
|
|
4817
|
-
|
|
4818
|
-
|
|
4818
|
+
Eu as h,
|
|
4819
|
+
uu as i,
|
|
4820
|
+
gu as j,
|
|
4821
|
+
su as k,
|
|
4819
4822
|
Fu as l,
|
|
4820
|
-
|
|
4821
|
-
|
|
4822
|
-
|
|
4823
|
-
|
|
4824
|
-
|
|
4825
|
-
|
|
4826
|
-
|
|
4827
|
-
|
|
4823
|
+
Uu as m,
|
|
4824
|
+
ou as n,
|
|
4825
|
+
pu as o,
|
|
4826
|
+
Ru as p,
|
|
4827
|
+
Du as q,
|
|
4828
|
+
ju as r,
|
|
4829
|
+
wu as s,
|
|
4830
|
+
Cu as t,
|
|
4828
4831
|
Zc as u,
|
|
4829
|
-
|
|
4830
|
-
|
|
4832
|
+
cu as v,
|
|
4833
|
+
fu as w,
|
|
4831
4834
|
Jc as x,
|
|
4832
|
-
|
|
4833
|
-
|
|
4835
|
+
Tu as y,
|
|
4836
|
+
iu as z
|
|
4834
4837
|
};
|