@blockend/widget 1.0.61 → 1.0.62
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/{AllRoutes-BqW5S4_J.js → AllRoutes-pT_GYhLz.js} +9 -9
- package/dist/{Box-Dw7IJo3D.js → Box-CMXImt80.js} +1 -1
- package/dist/{EstGas-C_ldluj6.js → EstGas-BEwQc47B.js} +7 -7
- package/dist/{Grow-DjneaPQY.js → Grow-CYJk-72r.js} +2 -2
- package/dist/{InputComp-CWH4SAk7.js → InputComp-B0QgFbsj.js} +3 -3
- package/dist/{LoadRoute-Cafzlcfy.js → LoadRoute-I--KmXYZ.js} +4 -4
- package/dist/{QuotesProgress-Covy7wmW.js → QuotesProgress-Ct53CRUU.js} +1 -1
- package/dist/{SwapAsset-BqXVX_DR.js → SwapAsset-X7gAsFxL.js} +1 -1
- package/dist/{Tooltip-3YpYU_vO.js → Tooltip-CsxhxDbM.js} +3 -3
- package/dist/{TxnButton-CPMFPFA_.js → TxnButton-BZf2lfxu.js} +3 -3
- package/dist/{add-CRY8asYF.js → add-fqHpy_n_.js} +1 -1
- package/dist/{all-wallets-DOnIRIv0.js → all-wallets-BEiHad26.js} +1 -1
- package/dist/{app-store-C0M9hC1B.js → app-store-BUrtll4M.js} +1 -1
- package/dist/{apple-Bv7oA5AQ.js → apple-DeP0r4ax.js} +1 -1
- package/dist/{arrow-bottom-D4arnome.js → arrow-bottom-DOUsYrpS.js} +1 -1
- package/dist/{arrow-bottom-circle-BUny4yP8.js → arrow-bottom-circle-3zt0oM9l.js} +1 -1
- package/dist/{arrow-left-DImJbKZs.js → arrow-left-CZi8gizN.js} +1 -1
- package/dist/{arrow-right-BvRPNX9F.js → arrow-right-Bp2k-sRU.js} +1 -1
- package/dist/{arrow-top-1RWPJImu.js → arrow-top-Bdu-g3eb.js} +1 -1
- package/dist/{bank-C0t9JpLj.js → bank-UM_6-xYg.js} +1 -1
- package/dist/{basic-VfgwBHn1.js → basic-CfaJcj31.js} +3 -3
- package/dist/{browser-0d0uw45D.js → browser-DE4dHUIn.js} +1 -1
- package/dist/{card-BBByykfy.js → card-CpV_uFyN.js} +1 -1
- package/dist/{ccip-8__szz9Q.js → ccip-CA2a9SDo.js} +1 -1
- package/dist/{checkmark-B_osdsm_.js → checkmark-CK8NZa3x.js} +1 -1
- package/dist/{checkmark-bold-BEzepFY4.js → checkmark-bold-DgI_WWpK.js} +1 -1
- package/dist/{chevron-bottom-Bdaxlaxc.js → chevron-bottom-C_3_Lg-x.js} +1 -1
- package/dist/{chevron-left-2aCeqxdm.js → chevron-left-Dn-8RUKj.js} +1 -1
- package/dist/{chevron-right-BPgQeMPz.js → chevron-right-BrzGCKbe.js} +1 -1
- package/dist/{chevron-top-BskFpgMP.js → chevron-top-DH4uxqMd.js} +1 -1
- package/dist/{chrome-store-CxhEG2Jk.js → chrome-store-C6ftVKRM.js} +1 -1
- package/dist/{clock-BDgHn083.js → clock-BMAqcMX9.js} +1 -1
- package/dist/{close-CQTa1LZg.js → close-B99wQvJ_.js} +1 -1
- package/dist/{coinPlaceholder-B-NSV729.js → coinPlaceholder-DmuYNsmb.js} +1 -1
- package/dist/{compass-BdJmk2w2.js → compass-C4wdl146.js} +1 -1
- package/dist/{copy-Cg4vgr82.js → copy-DMJQyfJj.js} +1 -1
- package/dist/{core-BSwMFU2B.js → core-v6ho39ji.js} +3 -3
- package/dist/{cursor-BoD_rq0f.js → cursor-C-0knOkC.js} +1 -1
- package/dist/{cursor-transparent-Dqs1kXcb.js → cursor-transparent-BLuqOo6k.js} +1 -1
- package/dist/{desktop-BOxkTik1.js → desktop-DpJrO84H.js} +1 -1
- package/dist/{disconnect-CTxFyZWa.js → disconnect-k6w6zlk-.js} +1 -1
- package/dist/{discord-BJRxIhBt.js → discord-DLgkGibC.js} +1 -1
- package/dist/{down-372J_rRV.js → down-C4N-wh2D.js} +2 -2
- package/dist/{etherscan-CyQf5MH5.js → etherscan-DJTxjIAP.js} +1 -1
- package/dist/{exclamation-triangle-DFOXjtuI.js → exclamation-triangle-B1YdY5CX.js} +1 -1
- package/dist/{extension-XiWSr1Ku.js → extension-CnhByDAh.js} +1 -1
- package/dist/{external-link-CYjbHRDY.js → external-link-CZmI3Q92.js} +1 -1
- package/dist/{facebook-DhP37m2R.js → facebook-CRHPGcBq.js} +1 -1
- package/dist/{farcaster-C1J2oGt2.js → farcaster-BYs6AvgJ.js} +1 -1
- package/dist/{filters-C5jLy9GP.js → filters-BqJFiFCl.js} +1 -1
- package/dist/{getChainIds-AaKb_MmO.js → getChainIds-CPQkM2Fw.js} +2 -2
- package/dist/{getCosmosAddress-D-F7jz-d.js → getCosmosAddress-CrzIqoe8.js} +2 -2
- package/dist/{github-CJ8g1by7.js → github-WI_fsQyX.js} +1 -1
- package/dist/{google-DpIVCnNm.js → google-PDPeuX25.js} +1 -1
- package/dist/{hamburger-BylLGawu.js → hamburger-JHCSR4wq.js} +5 -5
- package/dist/{help-circle-BESCFGIa.js → help-circle-CC1LutMp.js} +1 -1
- package/dist/{id-CPX0IEMo.js → id-Dg4qm85K.js} +1 -1
- package/dist/{image-DrFHyQOS.js → image-DvH3pCRi.js} +1 -1
- package/dist/{index-DoNokw4Q.js → index-4DGqOb0b.js} +1 -1
- package/dist/{index-ePnYqYhf.js → index-BAjx9Sij.js} +345 -343
- package/dist/{index-H7ThVJwV.js → index-BII8gr4h.js} +4 -4
- package/dist/{index-DO14DPs3.js → index-Bl06WOfD.js} +5 -5
- package/dist/{index-BOd8pd8c.js → index-BrgwPS_u.js} +11 -11
- package/dist/{index-BDezoD7C.js → index-ByNEeX9y.js} +1 -1
- package/dist/{index-D0J1OD73.js → index-CBMjkxpP.js} +4 -4
- package/dist/{index-DhZwdjPQ.js → index-D8oYLVSL.js} +2 -2
- package/dist/{index-DjHDqI7m.js → index-DbOqrlxW.js} +4 -4
- package/dist/{index-eatshJSd.js → index-Mqg8CWuX.js} +10 -10
- package/dist/{index-BheqnLKf.js → index-qIeZpXcg.js} +78 -78
- package/dist/{index.es-gTtSa0r5.js → index.es-DV8y1ve_.js} +2 -2
- package/dist/{index.es-B95K0DgG.js → index.es-DkTmjrB8.js} +1 -1
- package/dist/index.es.js +1 -1
- package/dist/{info-DB9XS3BU.js → info-Cjmzqm5P.js} +1 -1
- package/dist/{info-circle-BVB8s9W_.js → info-circle-Dimf4UPG.js} +1 -1
- package/dist/{lightbulb-C0eiLvuS.js → lightbulb-BsZjMPbK.js} +1 -1
- package/dist/{mail-CYcc9yZZ.js → mail-KNgNgUMG.js} +1 -1
- package/dist/{mobile-Cvm9Skqq.js → mobile-hJMru58F.js} +1 -1
- package/dist/{more-B-UvO1Yo.js → more-B1Hz9ISJ.js} +1 -1
- package/dist/{network-placeholder-C8QNcwPf.js → network-placeholder-Ba37-PVe.js} +1 -1
- package/dist/{nftPlaceholder-C_LU9tT5.js → nftPlaceholder-Br6ZCUyX.js} +1 -1
- package/dist/{off-BEQbMYBZ.js → off-DZv0f5qk.js} +1 -1
- package/dist/{play-store-CEopCauM.js → play-store-PVT99oFp.js} +1 -1
- package/dist/{plus-CtEYHV2t.js → plus-0JhMk1yC.js} +1 -1
- package/dist/{qr-code-BhmZxeo_.js → qr-code-CYMnN7H6.js} +1 -1
- package/dist/{recycle-horizontal-CF9eqICi.js → recycle-horizontal-BODX35XL.js} +1 -1
- package/dist/{refresh-Bm3plkBE.js → refresh-KT2nzf4V.js} +1 -1
- package/dist/{reown-logo-8S9ZN_-T.js → reown-logo-x-a1ehju.js} +1 -1
- package/dist/{search-DNcA47oY.js → search-floOYVWE.js} +1 -1
- package/dist/{send-B0S9gHH6.js → send-rBEZNvkT.js} +1 -1
- package/dist/{swapHorizontal-BuTPPB8N.js → swapHorizontal-FpW50anF.js} +1 -1
- package/dist/{swapHorizontalBold-BnB-fpce.js → swapHorizontalBold-DJo2s6QM.js} +1 -1
- package/dist/{swapHorizontalMedium-9QnwwjJD.js → swapHorizontalMedium-AdMIxAQ-.js} +1 -1
- package/dist/{swapHorizontalRoundedBold-C83mxp3u.js → swapHorizontalRoundedBold-DB7VaS-l.js} +1 -1
- package/dist/{swapVertical-BAz7hmKO.js → swapVertical-CStjk8mq.js} +1 -1
- package/dist/{telegram-BMT9bLfw.js → telegram-B7o9hZwP.js} +1 -1
- package/dist/{three-dots-DuhUrXKI.js → three-dots-DogTUFsH.js} +1 -1
- package/dist/{twitch-ClsoABSi.js → twitch-B_TRhhNU.js} +1 -1
- package/dist/{twitterIcon-B9n98fnH.js → twitterIcon-ujuPKvRN.js} +1 -1
- package/dist/{unsupportedProp-BXmR-9gT.js → unsupportedProp-BC6azYXA.js} +1 -1
- package/dist/{useRegisterError-DVG0sgLq.js → useRegisterError-DMILz6N1.js} +1 -1
- package/dist/{verify-BHTa1Niv.js → verify-BRWSwLhn.js} +1 -1
- package/dist/{verify-filled-CqobBYuI.js → verify-filled-z7UoRJXn.js} +1 -1
- package/dist/{w3m-modal-B7akV0Kp.js → w3m-modal-CuXPdser.js} +2 -2
- package/dist/{wallet-ObJy7yZR.js → wallet-BMFvv3DF.js} +1 -1
- package/dist/{wallet-placeholder-BxVrKpEz.js → wallet-placeholder-DFg6CZXP.js} +1 -1
- package/dist/{walletconnect-CYJbrPQQ.js → walletconnect-WSdSSZfM.js} +1 -1
- package/dist/{warning-circle-DOwgDOgL.js → warning-circle-BDW9xnhM.js} +1 -1
- package/dist/{x-B03u0kWD.js → x-DUDktTjC.js} +1 -1
- package/package.json +1 -1
- package/dist/AllRoutes-CIe7ZLbW.js +0 -2209
- package/dist/Box-QpYIDD-V.js +0 -54
- package/dist/EstGas-Dpwt2-50.js +0 -1574
- package/dist/Grow-L7kyPhbh.js +0 -1656
- package/dist/InputComp-Dl4M7E5v.js +0 -105
- package/dist/LoadRoute-cBSl34Bs.js +0 -125
- package/dist/QuotesProgress-CxJUoCPy.js +0 -28
- package/dist/SwapAsset-CkRat7Ok.js +0 -51
- package/dist/Tooltip-D2kKNQ0U.js +0 -572
- package/dist/TxnButton-mfwy-EoQ.js +0 -222
- package/dist/add-Dfrw-dUV.js +0 -19
- package/dist/all-wallets-Dw10lWJZ.js +0 -10
- package/dist/app-store-DJiZFSCr.js +0 -21
- package/dist/apple-kMZGS4AC.js +0 -22
- package/dist/arrow-bottom-DgmWrLqf.js +0 -12
- package/dist/arrow-bottom-circle-C7iPKwzW.js +0 -15
- package/dist/arrow-left-Dol642VI.js +0 -12
- package/dist/arrow-right-CMwyPVT7.js +0 -12
- package/dist/arrow-top-kn9xtx92.js +0 -12
- package/dist/bank-DK-FvDfd.js +0 -18
- package/dist/basic-Sejv2JvX.js +0 -5783
- package/dist/browser-BzT1ACe9.js +0 -18
- package/dist/card-DqDM55a-.js +0 -18
- package/dist/ccip-BPZSey8I.js +0 -228
- package/dist/checkmark-DEKH6rOS.js +0 -15
- package/dist/checkmark-bold-Dzv2hN2Q.js +0 -12
- package/dist/chevron-bottom-CXdHWe0F.js +0 -12
- package/dist/chevron-left-CeuFz3M9.js +0 -12
- package/dist/chevron-right-DikqbHjp.js +0 -12
- package/dist/chevron-top-CjCScawp.js +0 -12
- package/dist/chrome-store-DaP5Y4w2.js +0 -65
- package/dist/clock-BzjZWK68.js +0 -12
- package/dist/close-Dqncm2nY.js +0 -12
- package/dist/coinPlaceholder-BExfa33b.js +0 -12
- package/dist/compass-C1H_fht-.js +0 -12
- package/dist/copy-DPMVX3yZ.js +0 -19
- package/dist/core-BYOwnw_B.js +0 -16521
- package/dist/cursor-transparent-IQlZspwQ.js +0 -16
- package/dist/cursor-ybJpiPr6.js +0 -7
- package/dist/desktop-WMYv3b4Q.js +0 -13
- package/dist/disconnect-eMeec26w.js +0 -12
- package/dist/discord-CpTo4KnZ.js +0 -21
- package/dist/down-hvB7J3FG.js +0 -622
- package/dist/etherscan-DQ1h54d3.js +0 -10
- package/dist/exclamation-triangle-DzKs0-30.js +0 -8
- package/dist/extension-ep1TEUSD.js +0 -12
- package/dist/external-link-DRzzevt_.js +0 -12
- package/dist/facebook-eXS31CP5.js +0 -30
- package/dist/farcaster-f0EPKy4w.js +0 -16
- package/dist/filters-RqawLZYy.js +0 -12
- package/dist/getChainIds-DXEtLb1g.js +0 -1888
- package/dist/getCosmosAddress-X_cfoAnv.js +0 -9517
- package/dist/github-d1vUfc1B.js +0 -22
- package/dist/google-Dtcfyt4F.js +0 -22
- package/dist/hamburger-DezZOKRv.js +0 -3915
- package/dist/help-circle-BTpSg7wr.js +0 -16
- package/dist/id-CV-pIIiZ.js +0 -16
- package/dist/image-n7ODnWNp.js +0 -8
- package/dist/index-BYmiFoJh.js +0 -29495
- package/dist/index-C7McnY5R.js +0 -18509
- package/dist/index-CI-V1HdQ.js +0 -3267
- package/dist/index-CSgWo9Cg.js +0 -6713
- package/dist/index-CViW2kjE.js +0 -13547
- package/dist/index-CoV9zQx1.js +0 -992
- package/dist/index-D_8iklL2.js +0 -1483
- package/dist/index-GlSAE8hE.js +0 -472
- package/dist/index-Pni0gIii.js +0 -206
- package/dist/index-TEYMoNwP.js +0 -9
- package/dist/index-VS3sEqmI.js +0 -330
- package/dist/index.es-BzyBckd_.js +0 -366
- package/dist/index.es-CMvE7ghR.js +0 -14904
- package/dist/info-DWZmKXfC.js +0 -7
- package/dist/info-circle-Bk9rpQzz.js +0 -16
- package/dist/lightbulb-CUDopurR.js +0 -7
- package/dist/mail-Df9wlUBz.js +0 -12
- package/dist/mobile-DcoUJktC.js +0 -13
- package/dist/more-DbsAB7Xx.js +0 -15
- package/dist/network-placeholder-CnHZLxGT.js +0 -18
- package/dist/nftPlaceholder-D7igGAAq.js +0 -12
- package/dist/off-Brms9nN7.js +0 -12
- package/dist/play-store-z4z-boXn.js +0 -36
- package/dist/plus-LkrIZJEQ.js +0 -17
- package/dist/qr-code-CZnYaNoE.js +0 -10
- package/dist/recycle-horizontal-CeGotUdv.js +0 -13
- package/dist/refresh-CKhWU1dQ.js +0 -12
- package/dist/reown-logo-CF2Qkyw1.js +0 -16
- package/dist/search-DyuAYb_-.js +0 -12
- package/dist/send-BbBOjlsM.js +0 -19
- package/dist/swapHorizontal-DA7yhPfV.js +0 -12
- package/dist/swapHorizontalBold-BujZxwgY.js +0 -12
- package/dist/swapHorizontalMedium-hEBn_MJv.js +0 -20
- package/dist/swapHorizontalRoundedBold-Cqg1Na-5.js +0 -12
- package/dist/swapVertical-D1CdGHJt.js +0 -12
- package/dist/telegram-dDQ2sOw5.js +0 -20
- package/dist/three-dots-ltDeu1Xu.js +0 -9
- package/dist/twitch-sBusnrAt.js +0 -22
- package/dist/twitterIcon-BKMgaEZ4.js +0 -10
- package/dist/unsupportedProp-P9y3_0om.js +0 -10
- package/dist/useRegisterError-DGMdKFc9.js +0 -8918
- package/dist/verify-DXzijLDZ.js +0 -12
- package/dist/verify-filled-DnKqj8X5.js +0 -12
- package/dist/w3m-modal-Cc1j8j_E.js +0 -1471
- package/dist/wallet-placeholder-DEsjd5Nv.js +0 -18
- package/dist/wallet-zL6TDKIa.js +0 -12
- package/dist/walletconnect-CZz6e0wy.js +0 -36
- package/dist/warning-circle-DsGlg2MF.js +0 -16
- package/dist/x-MwPhq03Y.js +0 -16
package/dist/index-VS3sEqmI.js
DELETED
@@ -1,330 +0,0 @@
|
|
1
|
-
import { g as O, b as Y, i as M, _ as w, d as P, s as z, e as L, f as v, h as b, p as g, P as c } from "./index-BYmiFoJh.js";
|
2
|
-
import * as C from "react";
|
3
|
-
import { jsxs as F, jsx as x } from "react/jsx-runtime";
|
4
|
-
function Z(r, i = 166) {
|
5
|
-
let o;
|
6
|
-
function a(...s) {
|
7
|
-
const u = () => {
|
8
|
-
r.apply(this, s);
|
9
|
-
};
|
10
|
-
clearTimeout(o), o = setTimeout(u, i);
|
11
|
-
}
|
12
|
-
return a.clear = () => {
|
13
|
-
clearTimeout(o);
|
14
|
-
}, a;
|
15
|
-
}
|
16
|
-
function V(r) {
|
17
|
-
return O("MuiSvgIcon", r);
|
18
|
-
}
|
19
|
-
Y("MuiSvgIcon", ["root", "colorPrimary", "colorSecondary", "colorAction", "colorError", "colorDisabled", "fontSizeInherit", "fontSizeSmall", "fontSizeMedium", "fontSizeLarge"]);
|
20
|
-
const D = ["children", "className", "color", "component", "fontSize", "htmlColor", "inheritViewBox", "titleAccess", "viewBox"], U = (r) => {
|
21
|
-
const {
|
22
|
-
color: i,
|
23
|
-
fontSize: o,
|
24
|
-
classes: a
|
25
|
-
} = r, s = {
|
26
|
-
root: ["root", i !== "inherit" && `color${v(i)}`, `fontSize${v(o)}`]
|
27
|
-
};
|
28
|
-
return b(s, V, a);
|
29
|
-
}, B = z("svg", {
|
30
|
-
name: "MuiSvgIcon",
|
31
|
-
slot: "Root",
|
32
|
-
overridesResolver: (r, i) => {
|
33
|
-
const {
|
34
|
-
ownerState: o
|
35
|
-
} = r;
|
36
|
-
return [i.root, o.color !== "inherit" && i[`color${v(o.color)}`], i[`fontSize${v(o.fontSize)}`]];
|
37
|
-
}
|
38
|
-
})(({
|
39
|
-
theme: r,
|
40
|
-
ownerState: i
|
41
|
-
}) => {
|
42
|
-
var o, a, s, u, p, m, _, E, d, f, S, T, l;
|
43
|
-
return {
|
44
|
-
userSelect: "none",
|
45
|
-
width: "1em",
|
46
|
-
height: "1em",
|
47
|
-
display: "inline-block",
|
48
|
-
// the <svg> will define the property that has `currentColor`
|
49
|
-
// for example heroicons uses fill="none" and stroke="currentColor"
|
50
|
-
fill: i.hasSvgAsChild ? void 0 : "currentColor",
|
51
|
-
flexShrink: 0,
|
52
|
-
transition: (o = r.transitions) == null || (a = o.create) == null ? void 0 : a.call(o, "fill", {
|
53
|
-
duration: (s = r.transitions) == null || (s = s.duration) == null ? void 0 : s.shorter
|
54
|
-
}),
|
55
|
-
fontSize: {
|
56
|
-
inherit: "inherit",
|
57
|
-
small: ((u = r.typography) == null || (p = u.pxToRem) == null ? void 0 : p.call(u, 20)) || "1.25rem",
|
58
|
-
medium: ((m = r.typography) == null || (_ = m.pxToRem) == null ? void 0 : _.call(m, 24)) || "1.5rem",
|
59
|
-
large: ((E = r.typography) == null || (d = E.pxToRem) == null ? void 0 : d.call(E, 35)) || "2.1875rem"
|
60
|
-
}[i.fontSize],
|
61
|
-
// TODO v5 deprecate, v6 remove for sx
|
62
|
-
color: (f = (S = (r.vars || r).palette) == null || (S = S[i.color]) == null ? void 0 : S.main) != null ? f : {
|
63
|
-
action: (T = (r.vars || r).palette) == null || (T = T.action) == null ? void 0 : T.active,
|
64
|
-
disabled: (l = (r.vars || r).palette) == null || (l = l.action) == null ? void 0 : l.disabled,
|
65
|
-
inherit: void 0
|
66
|
-
}[i.color]
|
67
|
-
};
|
68
|
-
}), h = /* @__PURE__ */ C.forwardRef(function(i, o) {
|
69
|
-
const a = M({
|
70
|
-
props: i,
|
71
|
-
name: "MuiSvgIcon"
|
72
|
-
}), {
|
73
|
-
children: s,
|
74
|
-
className: u,
|
75
|
-
color: p = "inherit",
|
76
|
-
component: m = "svg",
|
77
|
-
fontSize: _ = "medium",
|
78
|
-
htmlColor: E,
|
79
|
-
inheritViewBox: d = !1,
|
80
|
-
titleAccess: f,
|
81
|
-
viewBox: S = "0 0 24 24"
|
82
|
-
} = a, T = w(a, D), l = /* @__PURE__ */ C.isValidElement(s) && s.type === "svg", e = P({}, a, {
|
83
|
-
color: p,
|
84
|
-
component: m,
|
85
|
-
fontSize: _,
|
86
|
-
instanceFontSize: i.fontSize,
|
87
|
-
inheritViewBox: d,
|
88
|
-
viewBox: S,
|
89
|
-
hasSvgAsChild: l
|
90
|
-
}), R = {};
|
91
|
-
d || (R.viewBox = S);
|
92
|
-
const N = U(e);
|
93
|
-
return /* @__PURE__ */ F(B, P({
|
94
|
-
as: m,
|
95
|
-
className: L(N.root, u),
|
96
|
-
focusable: "false",
|
97
|
-
color: E,
|
98
|
-
"aria-hidden": f ? void 0 : !0,
|
99
|
-
role: f ? "img" : void 0,
|
100
|
-
ref: o
|
101
|
-
}, R, T, l && s.props, {
|
102
|
-
ownerState: e,
|
103
|
-
children: [l ? s.props.children : s, f ? /* @__PURE__ */ x("title", {
|
104
|
-
children: f
|
105
|
-
}) : null]
|
106
|
-
}));
|
107
|
-
});
|
108
|
-
g.env.NODE_ENV !== "production" && (h.propTypes = {
|
109
|
-
// ┌────────────────────────────── Warning ──────────────────────────────┐
|
110
|
-
// │ These PropTypes are generated from the TypeScript type definitions. │
|
111
|
-
// │ To update them, edit the d.ts file and run `pnpm proptypes`. │
|
112
|
-
// └─────────────────────────────────────────────────────────────────────┘
|
113
|
-
/**
|
114
|
-
* Node passed into the SVG element.
|
115
|
-
*/
|
116
|
-
children: c.node,
|
117
|
-
/**
|
118
|
-
* Override or extend the styles applied to the component.
|
119
|
-
*/
|
120
|
-
classes: c.object,
|
121
|
-
/**
|
122
|
-
* @ignore
|
123
|
-
*/
|
124
|
-
className: c.string,
|
125
|
-
/**
|
126
|
-
* The color of the component.
|
127
|
-
* It supports both default and custom theme colors, which can be added as shown in the
|
128
|
-
* [palette customization guide](https://mui.com/material-ui/customization/palette/#custom-colors).
|
129
|
-
* You can use the `htmlColor` prop to apply a color attribute to the SVG element.
|
130
|
-
* @default 'inherit'
|
131
|
-
*/
|
132
|
-
color: c.oneOfType([c.oneOf(["inherit", "action", "disabled", "primary", "secondary", "error", "info", "success", "warning"]), c.string]),
|
133
|
-
/**
|
134
|
-
* The component used for the root node.
|
135
|
-
* Either a string to use a HTML element or a component.
|
136
|
-
*/
|
137
|
-
component: c.elementType,
|
138
|
-
/**
|
139
|
-
* The fontSize applied to the icon. Defaults to 24px, but can be configure to inherit font size.
|
140
|
-
* @default 'medium'
|
141
|
-
*/
|
142
|
-
fontSize: c.oneOfType([c.oneOf(["inherit", "large", "medium", "small"]), c.string]),
|
143
|
-
/**
|
144
|
-
* Applies a color attribute to the SVG element.
|
145
|
-
*/
|
146
|
-
htmlColor: c.string,
|
147
|
-
/**
|
148
|
-
* If `true`, the root node will inherit the custom `component`'s viewBox and the `viewBox`
|
149
|
-
* prop will be ignored.
|
150
|
-
* Useful when you want to reference a custom `component` and have `SvgIcon` pass that
|
151
|
-
* `component`'s viewBox to the root node.
|
152
|
-
* @default false
|
153
|
-
*/
|
154
|
-
inheritViewBox: c.bool,
|
155
|
-
/**
|
156
|
-
* The shape-rendering attribute. The behavior of the different options is described on the
|
157
|
-
* [MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/shape-rendering).
|
158
|
-
* If you are having issues with blurry icons you should investigate this prop.
|
159
|
-
*/
|
160
|
-
shapeRendering: c.string,
|
161
|
-
/**
|
162
|
-
* The system prop that allows defining system overrides as well as additional CSS styles.
|
163
|
-
*/
|
164
|
-
sx: c.oneOfType([c.arrayOf(c.oneOfType([c.func, c.object, c.bool])), c.func, c.object]),
|
165
|
-
/**
|
166
|
-
* Provides a human-readable title for the element that contains it.
|
167
|
-
* https://www.w3.org/TR/SVG-access/#Equivalent
|
168
|
-
*/
|
169
|
-
titleAccess: c.string,
|
170
|
-
/**
|
171
|
-
* Allows you to redefine what the coordinates without units mean inside an SVG element.
|
172
|
-
* For example, if the SVG element is 500 (width) by 200 (height),
|
173
|
-
* and you pass viewBox="0 0 50 20",
|
174
|
-
* this means that the coordinates inside the SVG will go from the top left corner (0,0)
|
175
|
-
* to bottom right (50,20) and each unit will be worth 10px.
|
176
|
-
* @default '0 0 24 24'
|
177
|
-
*/
|
178
|
-
viewBox: c.string
|
179
|
-
});
|
180
|
-
h.muiName = "SvgIcon";
|
181
|
-
function H(r, i) {
|
182
|
-
function o(a, s) {
|
183
|
-
return /* @__PURE__ */ x(h, P({
|
184
|
-
"data-testid": `${i}Icon`,
|
185
|
-
ref: s
|
186
|
-
}, a, {
|
187
|
-
children: r
|
188
|
-
}));
|
189
|
-
}
|
190
|
-
return g.env.NODE_ENV !== "production" && (o.displayName = `${i}Icon`), o.muiName = h.muiName, /* @__PURE__ */ C.memo(/* @__PURE__ */ C.forwardRef(o));
|
191
|
-
}
|
192
|
-
var y = { exports: {} }, t = {};
|
193
|
-
var $;
|
194
|
-
function q() {
|
195
|
-
if ($) return t;
|
196
|
-
$ = 1;
|
197
|
-
var r = Symbol.for("react.transitional.element"), i = Symbol.for("react.portal"), o = Symbol.for("react.fragment"), a = Symbol.for("react.strict_mode"), s = Symbol.for("react.profiler"), u = Symbol.for("react.consumer"), p = Symbol.for("react.context"), m = Symbol.for("react.forward_ref"), _ = Symbol.for("react.suspense"), E = Symbol.for("react.suspense_list"), d = Symbol.for("react.memo"), f = Symbol.for("react.lazy"), S = Symbol.for("react.view_transition"), T = Symbol.for("react.client.reference");
|
198
|
-
function l(e) {
|
199
|
-
if (typeof e == "object" && e !== null) {
|
200
|
-
var R = e.$$typeof;
|
201
|
-
switch (R) {
|
202
|
-
case r:
|
203
|
-
switch (e = e.type, e) {
|
204
|
-
case o:
|
205
|
-
case s:
|
206
|
-
case a:
|
207
|
-
case _:
|
208
|
-
case E:
|
209
|
-
case S:
|
210
|
-
return e;
|
211
|
-
default:
|
212
|
-
switch (e = e && e.$$typeof, e) {
|
213
|
-
case p:
|
214
|
-
case m:
|
215
|
-
case f:
|
216
|
-
case d:
|
217
|
-
return e;
|
218
|
-
case u:
|
219
|
-
return e;
|
220
|
-
default:
|
221
|
-
return R;
|
222
|
-
}
|
223
|
-
}
|
224
|
-
case i:
|
225
|
-
return R;
|
226
|
-
}
|
227
|
-
}
|
228
|
-
}
|
229
|
-
return t.ContextConsumer = u, t.ContextProvider = p, t.Element = r, t.ForwardRef = m, t.Fragment = o, t.Lazy = f, t.Memo = d, t.Portal = i, t.Profiler = s, t.StrictMode = a, t.Suspense = _, t.SuspenseList = E, t.isContextConsumer = function(e) {
|
230
|
-
return l(e) === u;
|
231
|
-
}, t.isContextProvider = function(e) {
|
232
|
-
return l(e) === p;
|
233
|
-
}, t.isElement = function(e) {
|
234
|
-
return typeof e == "object" && e !== null && e.$$typeof === r;
|
235
|
-
}, t.isForwardRef = function(e) {
|
236
|
-
return l(e) === m;
|
237
|
-
}, t.isFragment = function(e) {
|
238
|
-
return l(e) === o;
|
239
|
-
}, t.isLazy = function(e) {
|
240
|
-
return l(e) === f;
|
241
|
-
}, t.isMemo = function(e) {
|
242
|
-
return l(e) === d;
|
243
|
-
}, t.isPortal = function(e) {
|
244
|
-
return l(e) === i;
|
245
|
-
}, t.isProfiler = function(e) {
|
246
|
-
return l(e) === s;
|
247
|
-
}, t.isStrictMode = function(e) {
|
248
|
-
return l(e) === a;
|
249
|
-
}, t.isSuspense = function(e) {
|
250
|
-
return l(e) === _;
|
251
|
-
}, t.isSuspenseList = function(e) {
|
252
|
-
return l(e) === E;
|
253
|
-
}, t.isValidElementType = function(e) {
|
254
|
-
return typeof e == "string" || typeof e == "function" || e === o || e === s || e === a || e === _ || e === E || typeof e == "object" && e !== null && (e.$$typeof === f || e.$$typeof === d || e.$$typeof === p || e.$$typeof === u || e.$$typeof === m || e.$$typeof === T || e.getModuleId !== void 0);
|
255
|
-
}, t.typeOf = l, t;
|
256
|
-
}
|
257
|
-
var n = {}, A;
|
258
|
-
function W() {
|
259
|
-
return A || (A = 1, g.env.NODE_ENV !== "production" && function() {
|
260
|
-
function r(e) {
|
261
|
-
if (typeof e == "object" && e !== null) {
|
262
|
-
var R = e.$$typeof;
|
263
|
-
switch (R) {
|
264
|
-
case i:
|
265
|
-
switch (e = e.type, e) {
|
266
|
-
case a:
|
267
|
-
case u:
|
268
|
-
case s:
|
269
|
-
case E:
|
270
|
-
case d:
|
271
|
-
case T:
|
272
|
-
return e;
|
273
|
-
default:
|
274
|
-
switch (e = e && e.$$typeof, e) {
|
275
|
-
case m:
|
276
|
-
case _:
|
277
|
-
case S:
|
278
|
-
case f:
|
279
|
-
return e;
|
280
|
-
case p:
|
281
|
-
return e;
|
282
|
-
default:
|
283
|
-
return R;
|
284
|
-
}
|
285
|
-
}
|
286
|
-
case o:
|
287
|
-
return R;
|
288
|
-
}
|
289
|
-
}
|
290
|
-
}
|
291
|
-
var i = Symbol.for("react.transitional.element"), o = Symbol.for("react.portal"), a = Symbol.for("react.fragment"), s = Symbol.for("react.strict_mode"), u = Symbol.for("react.profiler"), p = Symbol.for("react.consumer"), m = Symbol.for("react.context"), _ = Symbol.for("react.forward_ref"), E = Symbol.for("react.suspense"), d = Symbol.for("react.suspense_list"), f = Symbol.for("react.memo"), S = Symbol.for("react.lazy"), T = Symbol.for("react.view_transition"), l = Symbol.for("react.client.reference");
|
292
|
-
n.ContextConsumer = p, n.ContextProvider = m, n.Element = i, n.ForwardRef = _, n.Fragment = a, n.Lazy = S, n.Memo = f, n.Portal = o, n.Profiler = u, n.StrictMode = s, n.Suspense = E, n.SuspenseList = d, n.isContextConsumer = function(e) {
|
293
|
-
return r(e) === p;
|
294
|
-
}, n.isContextProvider = function(e) {
|
295
|
-
return r(e) === m;
|
296
|
-
}, n.isElement = function(e) {
|
297
|
-
return typeof e == "object" && e !== null && e.$$typeof === i;
|
298
|
-
}, n.isForwardRef = function(e) {
|
299
|
-
return r(e) === _;
|
300
|
-
}, n.isFragment = function(e) {
|
301
|
-
return r(e) === a;
|
302
|
-
}, n.isLazy = function(e) {
|
303
|
-
return r(e) === S;
|
304
|
-
}, n.isMemo = function(e) {
|
305
|
-
return r(e) === f;
|
306
|
-
}, n.isPortal = function(e) {
|
307
|
-
return r(e) === o;
|
308
|
-
}, n.isProfiler = function(e) {
|
309
|
-
return r(e) === u;
|
310
|
-
}, n.isStrictMode = function(e) {
|
311
|
-
return r(e) === s;
|
312
|
-
}, n.isSuspense = function(e) {
|
313
|
-
return r(e) === E;
|
314
|
-
}, n.isSuspenseList = function(e) {
|
315
|
-
return r(e) === d;
|
316
|
-
}, n.isValidElementType = function(e) {
|
317
|
-
return typeof e == "string" || typeof e == "function" || e === a || e === u || e === s || e === E || e === d || typeof e == "object" && e !== null && (e.$$typeof === S || e.$$typeof === f || e.$$typeof === m || e.$$typeof === p || e.$$typeof === _ || e.$$typeof === l || e.getModuleId !== void 0);
|
318
|
-
}, n.typeOf = r;
|
319
|
-
}()), n;
|
320
|
-
}
|
321
|
-
var I;
|
322
|
-
function k() {
|
323
|
-
return I || (I = 1, g.env.NODE_ENV === "production" ? y.exports = /* @__PURE__ */ q() : y.exports = /* @__PURE__ */ W()), y.exports;
|
324
|
-
}
|
325
|
-
var J = /* @__PURE__ */ k();
|
326
|
-
export {
|
327
|
-
H as c,
|
328
|
-
Z as d,
|
329
|
-
J as r
|
330
|
-
};
|
@@ -1,366 +0,0 @@
|
|
1
|
-
import { L as z } from "./useRegisterError-DGMdKFc9.js";
|
2
|
-
import G, { useEffect as C, useState as J, useRef as j } from "react";
|
3
|
-
function E(t, e) {
|
4
|
-
(e == null || e > t.length) && (e = t.length);
|
5
|
-
for (var r = 0, n = Array(e); r < e; r++) n[r] = t[r];
|
6
|
-
return n;
|
7
|
-
}
|
8
|
-
function Q(t) {
|
9
|
-
if (Array.isArray(t)) return t;
|
10
|
-
}
|
11
|
-
function Z(t, e, r) {
|
12
|
-
return (e = oe(e)) in t ? Object.defineProperty(t, e, {
|
13
|
-
value: r,
|
14
|
-
enumerable: !0,
|
15
|
-
configurable: !0,
|
16
|
-
writable: !0
|
17
|
-
}) : t[e] = r, t;
|
18
|
-
}
|
19
|
-
function ee(t, e) {
|
20
|
-
var r = t == null ? null : typeof Symbol < "u" && t[Symbol.iterator] || t["@@iterator"];
|
21
|
-
if (r != null) {
|
22
|
-
var n, c, f, i, b = [], d = !0, A = !1;
|
23
|
-
try {
|
24
|
-
if (f = (r = r.call(t)).next, e !== 0) for (; !(d = (n = f.call(r)).done) && (b.push(n.value), b.length !== e); d = !0) ;
|
25
|
-
} catch (g) {
|
26
|
-
A = !0, c = g;
|
27
|
-
} finally {
|
28
|
-
try {
|
29
|
-
if (!d && r.return != null && (i = r.return(), Object(i) !== i)) return;
|
30
|
-
} finally {
|
31
|
-
if (A) throw c;
|
32
|
-
}
|
33
|
-
}
|
34
|
-
return b;
|
35
|
-
}
|
36
|
-
}
|
37
|
-
function te() {
|
38
|
-
throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
39
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`);
|
40
|
-
}
|
41
|
-
function x(t, e) {
|
42
|
-
var r = Object.keys(t);
|
43
|
-
if (Object.getOwnPropertySymbols) {
|
44
|
-
var n = Object.getOwnPropertySymbols(t);
|
45
|
-
e && (n = n.filter(function(c) {
|
46
|
-
return Object.getOwnPropertyDescriptor(t, c).enumerable;
|
47
|
-
})), r.push.apply(r, n);
|
48
|
-
}
|
49
|
-
return r;
|
50
|
-
}
|
51
|
-
function I(t) {
|
52
|
-
for (var e = 1; e < arguments.length; e++) {
|
53
|
-
var r = arguments[e] != null ? arguments[e] : {};
|
54
|
-
e % 2 ? x(Object(r), !0).forEach(function(n) {
|
55
|
-
Z(t, n, r[n]);
|
56
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(t, Object.getOwnPropertyDescriptors(r)) : x(Object(r)).forEach(function(n) {
|
57
|
-
Object.defineProperty(t, n, Object.getOwnPropertyDescriptor(r, n));
|
58
|
-
});
|
59
|
-
}
|
60
|
-
return t;
|
61
|
-
}
|
62
|
-
function H(t, e) {
|
63
|
-
if (t == null) return {};
|
64
|
-
var r, n, c = ne(t, e);
|
65
|
-
if (Object.getOwnPropertySymbols) {
|
66
|
-
var f = Object.getOwnPropertySymbols(t);
|
67
|
-
for (n = 0; n < f.length; n++) r = f[n], e.includes(r) || {}.propertyIsEnumerable.call(t, r) && (c[r] = t[r]);
|
68
|
-
}
|
69
|
-
return c;
|
70
|
-
}
|
71
|
-
function ne(t, e) {
|
72
|
-
if (t == null) return {};
|
73
|
-
var r = {};
|
74
|
-
for (var n in t) if ({}.hasOwnProperty.call(t, n)) {
|
75
|
-
if (e.includes(n)) continue;
|
76
|
-
r[n] = t[n];
|
77
|
-
}
|
78
|
-
return r;
|
79
|
-
}
|
80
|
-
function re(t, e) {
|
81
|
-
return Q(t) || ee(t, e) || ie(t, e) || te();
|
82
|
-
}
|
83
|
-
function ae(t, e) {
|
84
|
-
if (typeof t != "object" || !t) return t;
|
85
|
-
var r = t[Symbol.toPrimitive];
|
86
|
-
if (r !== void 0) {
|
87
|
-
var n = r.call(t, e);
|
88
|
-
if (typeof n != "object") return n;
|
89
|
-
throw new TypeError("@@toPrimitive must return a primitive value.");
|
90
|
-
}
|
91
|
-
return (e === "string" ? String : Number)(t);
|
92
|
-
}
|
93
|
-
function oe(t) {
|
94
|
-
var e = ae(t, "string");
|
95
|
-
return typeof e == "symbol" ? e : e + "";
|
96
|
-
}
|
97
|
-
function ie(t, e) {
|
98
|
-
if (t) {
|
99
|
-
if (typeof t == "string") return E(t, e);
|
100
|
-
var r = {}.toString.call(t).slice(8, -1);
|
101
|
-
return r === "Object" && t.constructor && (r = t.constructor.name), r === "Map" || r === "Set" ? Array.from(t) : r === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r) ? E(t, e) : void 0;
|
102
|
-
}
|
103
|
-
}
|
104
|
-
var ue = ["animationData", "loop", "autoplay", "initialSegment", "onComplete", "onLoopComplete", "onEnterFrame", "onSegmentStart", "onConfigReady", "onDataReady", "onDataFailed", "onLoadedImages", "onDOMLoaded", "onDestroy", "lottieRef", "renderer", "name", "assetsPath", "rendererSettings"], le = function(e, r) {
|
105
|
-
var n = e.animationData, c = e.loop, f = e.autoplay, i = e.initialSegment, b = e.onComplete, d = e.onLoopComplete, A = e.onEnterFrame, g = e.onSegmentStart, L = e.onConfigReady, _ = e.onDataReady, h = e.onDataFailed, u = e.onLoadedImages, w = e.onDOMLoaded, S = e.onDestroy;
|
106
|
-
e.lottieRef, e.renderer, e.name, e.assetsPath, e.rendererSettings;
|
107
|
-
var p = H(e, ue), D = J(!1), l = re(D, 2), O = l[0], R = l[1], o = j(), v = j(null), M = function() {
|
108
|
-
var a;
|
109
|
-
(a = o.current) === null || a === void 0 || a.play();
|
110
|
-
}, F = function() {
|
111
|
-
var a;
|
112
|
-
(a = o.current) === null || a === void 0 || a.stop();
|
113
|
-
}, V = function() {
|
114
|
-
var a;
|
115
|
-
(a = o.current) === null || a === void 0 || a.pause();
|
116
|
-
}, N = function(a) {
|
117
|
-
var s;
|
118
|
-
(s = o.current) === null || s === void 0 || s.setSpeed(a);
|
119
|
-
}, $ = function(a, s) {
|
120
|
-
var m;
|
121
|
-
(m = o.current) === null || m === void 0 || m.goToAndPlay(a, s);
|
122
|
-
}, k = function(a, s) {
|
123
|
-
var m;
|
124
|
-
(m = o.current) === null || m === void 0 || m.goToAndStop(a, s);
|
125
|
-
}, B = function(a) {
|
126
|
-
var s;
|
127
|
-
(s = o.current) === null || s === void 0 || s.setDirection(a);
|
128
|
-
}, W = function(a, s) {
|
129
|
-
var m;
|
130
|
-
(m = o.current) === null || m === void 0 || m.playSegments(a, s);
|
131
|
-
}, K = function(a) {
|
132
|
-
var s;
|
133
|
-
(s = o.current) === null || s === void 0 || s.setSubframe(a);
|
134
|
-
}, U = function(a) {
|
135
|
-
var s;
|
136
|
-
return (s = o.current) === null || s === void 0 ? void 0 : s.getDuration(a);
|
137
|
-
}, X = function() {
|
138
|
-
var a;
|
139
|
-
(a = o.current) === null || a === void 0 || a.destroy(), o.current = void 0;
|
140
|
-
}, Y = function() {
|
141
|
-
var a = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {}, s;
|
142
|
-
if (v.current) {
|
143
|
-
(s = o.current) === null || s === void 0 || s.destroy();
|
144
|
-
var m = I(I(I({}, e), a), {}, {
|
145
|
-
container: v.current
|
146
|
-
});
|
147
|
-
return o.current = z.loadAnimation(m), R(!!o.current), function() {
|
148
|
-
var P;
|
149
|
-
(P = o.current) === null || P === void 0 || P.destroy(), o.current = void 0;
|
150
|
-
};
|
151
|
-
}
|
152
|
-
};
|
153
|
-
C(function() {
|
154
|
-
var y = Y();
|
155
|
-
return function() {
|
156
|
-
return y == null ? void 0 : y();
|
157
|
-
};
|
158
|
-
}, [n, c]), C(function() {
|
159
|
-
o.current && (o.current.autoplay = !!f);
|
160
|
-
}, [f]), C(function() {
|
161
|
-
if (o.current) {
|
162
|
-
if (!i) {
|
163
|
-
o.current.resetSegments(!0);
|
164
|
-
return;
|
165
|
-
}
|
166
|
-
!Array.isArray(i) || !i.length || ((o.current.currentRawFrame < i[0] || o.current.currentRawFrame > i[1]) && (o.current.currentRawFrame = i[0]), o.current.setSegment(i[0], i[1]));
|
167
|
-
}
|
168
|
-
}, [i]), C(function() {
|
169
|
-
var y = [{
|
170
|
-
name: "complete",
|
171
|
-
handler: b
|
172
|
-
}, {
|
173
|
-
name: "loopComplete",
|
174
|
-
handler: d
|
175
|
-
}, {
|
176
|
-
name: "enterFrame",
|
177
|
-
handler: A
|
178
|
-
}, {
|
179
|
-
name: "segmentStart",
|
180
|
-
handler: g
|
181
|
-
}, {
|
182
|
-
name: "config_ready",
|
183
|
-
handler: L
|
184
|
-
}, {
|
185
|
-
name: "data_ready",
|
186
|
-
handler: _
|
187
|
-
}, {
|
188
|
-
name: "data_failed",
|
189
|
-
handler: h
|
190
|
-
}, {
|
191
|
-
name: "loaded_images",
|
192
|
-
handler: u
|
193
|
-
}, {
|
194
|
-
name: "DOMLoaded",
|
195
|
-
handler: w
|
196
|
-
}, {
|
197
|
-
name: "destroy",
|
198
|
-
handler: S
|
199
|
-
}], a = y.filter(function(m) {
|
200
|
-
return m.handler != null;
|
201
|
-
});
|
202
|
-
if (a.length) {
|
203
|
-
var s = a.map(
|
204
|
-
/**
|
205
|
-
* Handle the process of adding an event listener
|
206
|
-
* @param {Listener} listener
|
207
|
-
* @return {Function} Function that deregister the listener
|
208
|
-
*/
|
209
|
-
function(m) {
|
210
|
-
var P;
|
211
|
-
return (P = o.current) === null || P === void 0 || P.addEventListener(m.name, m.handler), function() {
|
212
|
-
var T;
|
213
|
-
(T = o.current) === null || T === void 0 || T.removeEventListener(m.name, m.handler);
|
214
|
-
};
|
215
|
-
}
|
216
|
-
);
|
217
|
-
return function() {
|
218
|
-
s.forEach(function(m) {
|
219
|
-
return m();
|
220
|
-
});
|
221
|
-
};
|
222
|
-
}
|
223
|
-
}, [b, d, A, g, L, _, h, u, w, S]);
|
224
|
-
var q = /* @__PURE__ */ G.createElement("div", I({
|
225
|
-
style: r,
|
226
|
-
ref: v
|
227
|
-
}, p));
|
228
|
-
return {
|
229
|
-
View: q,
|
230
|
-
play: M,
|
231
|
-
stop: F,
|
232
|
-
pause: V,
|
233
|
-
setSpeed: N,
|
234
|
-
goToAndStop: k,
|
235
|
-
goToAndPlay: $,
|
236
|
-
setDirection: B,
|
237
|
-
playSegments: W,
|
238
|
-
setSubframe: K,
|
239
|
-
getDuration: U,
|
240
|
-
destroy: X,
|
241
|
-
animationContainerRef: v,
|
242
|
-
animationLoaded: O,
|
243
|
-
animationItem: o.current
|
244
|
-
};
|
245
|
-
};
|
246
|
-
function se(t) {
|
247
|
-
var e = t.getBoundingClientRect(), r = e.top, n = e.height, c = window.innerHeight - r, f = window.innerHeight + n;
|
248
|
-
return c / f;
|
249
|
-
}
|
250
|
-
function de(t, e, r) {
|
251
|
-
var n = t.getBoundingClientRect(), c = n.top, f = n.left, i = n.width, b = n.height, d = (e - f) / i, A = (r - c) / b;
|
252
|
-
return {
|
253
|
-
x: d,
|
254
|
-
y: A
|
255
|
-
};
|
256
|
-
}
|
257
|
-
var ce = function(e) {
|
258
|
-
var r = e.wrapperRef, n = e.animationItem, c = e.mode, f = e.actions;
|
259
|
-
C(function() {
|
260
|
-
var i = r.current;
|
261
|
-
if (!(!i || !n || !f.length)) {
|
262
|
-
n.stop();
|
263
|
-
var b = function() {
|
264
|
-
var g = null, L = function() {
|
265
|
-
var h = se(i), u = f.find(function(S) {
|
266
|
-
var p = S.visibility;
|
267
|
-
return p && h >= p[0] && h <= p[1];
|
268
|
-
});
|
269
|
-
if (u) {
|
270
|
-
if (u.type === "seek" && u.visibility && u.frames.length === 2) {
|
271
|
-
var w = u.frames[0] + Math.ceil((h - u.visibility[0]) / (u.visibility[1] - u.visibility[0]) * u.frames[1]);
|
272
|
-
n.goToAndStop(w - n.firstFrame - 1, !0);
|
273
|
-
}
|
274
|
-
u.type === "loop" && (g === null || g !== u.frames || n.isPaused) && (n.playSegments(u.frames, !0), g = u.frames), u.type === "play" && n.isPaused && (n.resetSegments(!0), n.play()), u.type === "stop" && n.goToAndStop(u.frames[0] - n.firstFrame - 1, !0);
|
275
|
-
}
|
276
|
-
};
|
277
|
-
return document.addEventListener("scroll", L), function() {
|
278
|
-
document.removeEventListener("scroll", L);
|
279
|
-
};
|
280
|
-
}, d = function() {
|
281
|
-
var g = function(u, w) {
|
282
|
-
var S = u, p = w;
|
283
|
-
if (S !== -1 && p !== -1) {
|
284
|
-
var D = de(i, S, p);
|
285
|
-
S = D.x, p = D.y;
|
286
|
-
}
|
287
|
-
var l = f.find(function(o) {
|
288
|
-
var v = o.position;
|
289
|
-
return v && Array.isArray(v.x) && Array.isArray(v.y) ? S >= v.x[0] && S <= v.x[1] && p >= v.y[0] && p <= v.y[1] : v && !Number.isNaN(v.x) && !Number.isNaN(v.y) ? S === v.x && p === v.y : !1;
|
290
|
-
});
|
291
|
-
if (l) {
|
292
|
-
if (l.type === "seek" && l.position && Array.isArray(l.position.x) && Array.isArray(l.position.y) && l.frames.length === 2) {
|
293
|
-
var O = (S - l.position.x[0]) / (l.position.x[1] - l.position.x[0]), R = (p - l.position.y[0]) / (l.position.y[1] - l.position.y[0]);
|
294
|
-
n.playSegments(l.frames, !0), n.goToAndStop(Math.ceil((O + R) / 2 * (l.frames[1] - l.frames[0])), !0);
|
295
|
-
}
|
296
|
-
l.type === "loop" && n.playSegments(l.frames, !0), l.type === "play" && (n.isPaused && n.resetSegments(!1), n.playSegments(l.frames)), l.type === "stop" && n.goToAndStop(l.frames[0], !0);
|
297
|
-
}
|
298
|
-
}, L = function(u) {
|
299
|
-
g(u.clientX, u.clientY);
|
300
|
-
}, _ = function() {
|
301
|
-
g(-1, -1);
|
302
|
-
};
|
303
|
-
return i.addEventListener("mousemove", L), i.addEventListener("mouseout", _), function() {
|
304
|
-
i.removeEventListener("mousemove", L), i.removeEventListener("mouseout", _);
|
305
|
-
};
|
306
|
-
};
|
307
|
-
switch (c) {
|
308
|
-
case "scroll":
|
309
|
-
return b();
|
310
|
-
case "cursor":
|
311
|
-
return d();
|
312
|
-
}
|
313
|
-
}
|
314
|
-
}, [c, n]);
|
315
|
-
}, me = function(e) {
|
316
|
-
var r = e.actions, n = e.mode, c = e.lottieObj, f = c.animationItem, i = c.View, b = c.animationContainerRef;
|
317
|
-
return ce({
|
318
|
-
actions: r,
|
319
|
-
animationItem: f,
|
320
|
-
mode: n,
|
321
|
-
wrapperRef: b
|
322
|
-
}), i;
|
323
|
-
}, fe = ["style", "interactivity"], ge = function(e) {
|
324
|
-
var r, n, c, f = e.style, i = e.interactivity, b = H(e, fe), d = le(b, f), A = d.View, g = d.play, L = d.stop, _ = d.pause, h = d.setSpeed, u = d.goToAndStop, w = d.goToAndPlay, S = d.setDirection, p = d.playSegments, D = d.setSubframe, l = d.getDuration, O = d.destroy, R = d.animationContainerRef, o = d.animationLoaded, v = d.animationItem;
|
325
|
-
return C(function() {
|
326
|
-
e.lottieRef && (e.lottieRef.current = {
|
327
|
-
play: g,
|
328
|
-
stop: L,
|
329
|
-
pause: _,
|
330
|
-
setSpeed: h,
|
331
|
-
goToAndPlay: w,
|
332
|
-
goToAndStop: u,
|
333
|
-
setDirection: S,
|
334
|
-
playSegments: p,
|
335
|
-
setSubframe: D,
|
336
|
-
getDuration: l,
|
337
|
-
destroy: O,
|
338
|
-
animationContainerRef: R,
|
339
|
-
animationLoaded: o,
|
340
|
-
animationItem: v
|
341
|
-
});
|
342
|
-
}, [(r = e.lottieRef) === null || r === void 0 ? void 0 : r.current]), me({
|
343
|
-
lottieObj: {
|
344
|
-
View: A,
|
345
|
-
play: g,
|
346
|
-
stop: L,
|
347
|
-
pause: _,
|
348
|
-
setSpeed: h,
|
349
|
-
goToAndStop: u,
|
350
|
-
goToAndPlay: w,
|
351
|
-
setDirection: S,
|
352
|
-
playSegments: p,
|
353
|
-
setSubframe: D,
|
354
|
-
getDuration: l,
|
355
|
-
destroy: O,
|
356
|
-
animationContainerRef: R,
|
357
|
-
animationLoaded: o,
|
358
|
-
animationItem: v
|
359
|
-
},
|
360
|
-
actions: (n = i == null ? void 0 : i.actions) !== null && n !== void 0 ? n : [],
|
361
|
-
mode: (c = i == null ? void 0 : i.mode) !== null && c !== void 0 ? c : "scroll"
|
362
|
-
});
|
363
|
-
};
|
364
|
-
export {
|
365
|
-
ge as L
|
366
|
-
};
|