@latticexyz/entrykit 2.2.21-236ef3c7750b954dc7faf23f1d7c8599ce47a30f → 2.2.21-303714d89811a01be2802c32f4f6876fa81e5df9
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.
|
@@ -68,6 +68,10 @@ declare function defineConfig(input: EntryKitConfigInput): EntryKitConfig;
|
|
|
68
68
|
type ConnectedClient<chain extends Chain = Chain> = Client<Transport, chain, Account>;
|
|
69
69
|
type SessionClient<chain extends Chain = Chain> = Client<Transport, chain, SmartAccount> & {
|
|
70
70
|
readonly userAddress: Address$1;
|
|
71
|
+
/**
|
|
72
|
+
* World address used for delegated calls. Assumes a delegation has been set up between the user account and session account.
|
|
73
|
+
*/
|
|
74
|
+
readonly worldAddress: Address$1;
|
|
71
75
|
/** @internal */
|
|
72
76
|
readonly internal_signer: LocalAccount;
|
|
73
77
|
};
|
|
@@ -8,7 +8,14 @@ function defineConfig(input) {
|
|
|
8
8
|
}
|
|
9
9
|
|
|
10
10
|
// src/ui/Modal.tsx
|
|
11
|
-
import {
|
|
11
|
+
import { useEffect as useEffect2 } from "react";
|
|
12
|
+
import {
|
|
13
|
+
Root as DialogRoot,
|
|
14
|
+
DialogPortal,
|
|
15
|
+
DialogContent,
|
|
16
|
+
DialogTitle,
|
|
17
|
+
DialogDescription
|
|
18
|
+
} from "@radix-ui/react-dialog";
|
|
12
19
|
|
|
13
20
|
// src/ui/Shadow.tsx
|
|
14
21
|
import { forwardRef, useEffect, useRef, useState } from "react";
|
|
@@ -165,7 +172,7 @@ function userOpExecutor({ executor }) {
|
|
|
165
172
|
if (method === "eth_estimateUserOperationGas") {
|
|
166
173
|
return await estimateUserOperationGas(params);
|
|
167
174
|
}
|
|
168
|
-
throw new Error("
|
|
175
|
+
throw new Error(`userOpExecutor: method "${method}" not supported`);
|
|
169
176
|
};
|
|
170
177
|
return createTransport({
|
|
171
178
|
key: "userOpExecutor",
|
|
@@ -300,6 +307,19 @@ var Shadow = forwardRef(function Shadow2({ mode, children }, forwardedRef) {
|
|
|
300
307
|
import { twMerge } from "tailwind-merge";
|
|
301
308
|
import { jsx as jsx4, jsxs as jsxs2 } from "react/jsx-runtime";
|
|
302
309
|
function Modal({ open, onOpenChange, children }) {
|
|
310
|
+
useEffect2(() => {
|
|
311
|
+
function onKeyDown(event) {
|
|
312
|
+
if (event.defaultPrevented) return;
|
|
313
|
+
if (event.key === "Escape" && open) {
|
|
314
|
+
event.preventDefault();
|
|
315
|
+
onOpenChange?.(false);
|
|
316
|
+
}
|
|
317
|
+
}
|
|
318
|
+
window.addEventListener("keydown", onKeyDown);
|
|
319
|
+
return () => {
|
|
320
|
+
window.removeEventListener("keydown", onKeyDown);
|
|
321
|
+
};
|
|
322
|
+
}, [onOpenChange, open]);
|
|
303
323
|
return /* @__PURE__ */ jsx4(DialogRoot, { open, onOpenChange, children: /* @__PURE__ */ jsx4(DialogPortal, { children: /* @__PURE__ */ jsxs2(Shadow, { mode: "modal", children: [
|
|
304
324
|
/* @__PURE__ */ jsx4("div", { className: twMerge("fixed inset-0", "bg-neutral-800/85", "animate-in animate-duration-300 fade-in") }),
|
|
305
325
|
/* @__PURE__ */ jsx4(
|
|
@@ -310,17 +330,11 @@ function Modal({ open, onOpenChange, children }) {
|
|
|
310
330
|
"grid items-end sm:items-center",
|
|
311
331
|
"animate-in animate-duration-300 fade-in slide-in-from-bottom-16"
|
|
312
332
|
),
|
|
313
|
-
children: /* @__PURE__ */ jsx4("div", { children: /* @__PURE__ */
|
|
314
|
-
|
|
315
|
-
{
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
onOpenAutoFocus: (event) => {
|
|
319
|
-
event.preventDefault();
|
|
320
|
-
},
|
|
321
|
-
children
|
|
322
|
-
}
|
|
323
|
-
) })
|
|
333
|
+
children: /* @__PURE__ */ jsx4("div", { children: /* @__PURE__ */ jsxs2(DialogContent, { className: "outline-none w-full max-w-[26rem] mx-auto", children: [
|
|
334
|
+
/* @__PURE__ */ jsx4(DialogTitle, { className: "sr-only", children: "EntryKit" }),
|
|
335
|
+
/* @__PURE__ */ jsx4(DialogDescription, { className: "sr-only", children: "Sign in to this app" }),
|
|
336
|
+
children
|
|
337
|
+
] }) })
|
|
324
338
|
}
|
|
325
339
|
)
|
|
326
340
|
] }) }) });
|
|
@@ -495,13 +509,13 @@ function AppInfo() {
|
|
|
495
509
|
|
|
496
510
|
// src/ConnectWallet.tsx
|
|
497
511
|
import { twMerge as twMerge5 } from "tailwind-merge";
|
|
498
|
-
import { useEffect as
|
|
512
|
+
import { useEffect as useEffect3, useState as useState2 } from "react";
|
|
499
513
|
import { jsx as jsx9, jsxs as jsxs7 } from "react/jsx-runtime";
|
|
500
514
|
function ConnectWallet() {
|
|
501
515
|
const userAccount = useAccount();
|
|
502
516
|
const { openConnectModal, connectModalOpen } = useConnectModal();
|
|
503
517
|
const [hasAutoOpened, setHasAutoOpened] = useState2(false);
|
|
504
|
-
|
|
518
|
+
useEffect3(() => {
|
|
505
519
|
if (!connectModalOpen && !hasAutoOpened) {
|
|
506
520
|
openConnectModal?.();
|
|
507
521
|
setHasAutoOpened(true);
|
|
@@ -531,7 +545,7 @@ function ConnectWallet() {
|
|
|
531
545
|
}
|
|
532
546
|
|
|
533
547
|
// src/onboarding/ConnectedSteps.tsx
|
|
534
|
-
import { useEffect as
|
|
548
|
+
import { useEffect as useEffect8, useMemo as useMemo2, useRef as useRef2, useState as useState3 } from "react";
|
|
535
549
|
import { twMerge as twMerge7 } from "tailwind-merge";
|
|
536
550
|
|
|
537
551
|
// src/onboarding/common.ts
|
|
@@ -992,10 +1006,10 @@ function removeError(error2) {
|
|
|
992
1006
|
}
|
|
993
1007
|
|
|
994
1008
|
// src/errors/useShowMutationError.ts
|
|
995
|
-
import { useEffect as
|
|
1009
|
+
import { useEffect as useEffect4 } from "react";
|
|
996
1010
|
function useShowMutationError(result) {
|
|
997
1011
|
const { error: error2, reset } = result;
|
|
998
|
-
|
|
1012
|
+
useEffect4(() => {
|
|
999
1013
|
if (!error2) return;
|
|
1000
1014
|
return addError({ error: error2, dismiss: reset });
|
|
1001
1015
|
}, [error2, reset]);
|
|
@@ -1130,13 +1144,13 @@ function Balance({ wei }) {
|
|
|
1130
1144
|
}
|
|
1131
1145
|
|
|
1132
1146
|
// src/onboarding/quarry/Allowance.tsx
|
|
1133
|
-
import { useEffect as
|
|
1147
|
+
import { useEffect as useEffect6 } from "react";
|
|
1134
1148
|
|
|
1135
1149
|
// src/errors/useShowQueryError.ts
|
|
1136
|
-
import { useEffect as
|
|
1150
|
+
import { useEffect as useEffect5 } from "react";
|
|
1137
1151
|
function useShowQueryError(result) {
|
|
1138
1152
|
const { error: error2, refetch } = result;
|
|
1139
|
-
|
|
1153
|
+
useEffect5(() => {
|
|
1140
1154
|
if (!error2) return;
|
|
1141
1155
|
return addError({ error: error2, retry: refetch, dismiss: () => {
|
|
1142
1156
|
} });
|
|
@@ -1149,7 +1163,7 @@ import { jsx as jsx14, jsxs as jsxs12 } from "react/jsx-runtime";
|
|
|
1149
1163
|
function Allowance({ isActive, isExpanded, userAddress }) {
|
|
1150
1164
|
const allowance = useShowQueryError(useAllowance(userAddress));
|
|
1151
1165
|
const claimGasPass2 = useShowMutationError(useClaimGasPass());
|
|
1152
|
-
|
|
1166
|
+
useEffect6(() => {
|
|
1153
1167
|
const timer = setTimeout(() => {
|
|
1154
1168
|
if (isActive && claimGasPass2.status === "idle" && allowance.isSuccess && allowance.data != null && allowance.data < minGasBalance) {
|
|
1155
1169
|
claimGasPass2.mutate(userAddress);
|
|
@@ -1376,7 +1390,7 @@ function useSetupSession({ userClient }) {
|
|
|
1376
1390
|
}
|
|
1377
1391
|
|
|
1378
1392
|
// src/onboarding/Session.tsx
|
|
1379
|
-
import { useEffect as
|
|
1393
|
+
import { useEffect as useEffect7 } from "react";
|
|
1380
1394
|
|
|
1381
1395
|
// src/useSessionClient.ts
|
|
1382
1396
|
import { useClient as useClient8 } from "wagmi";
|
|
@@ -1447,7 +1461,7 @@ async function getSessionClient({
|
|
|
1447
1461
|
delegatorAddress: userAddress,
|
|
1448
1462
|
publicClient: client
|
|
1449
1463
|
})
|
|
1450
|
-
).extend(() => ({ userAddress, internal_signer: sessionSigner }));
|
|
1464
|
+
).extend(() => ({ userAddress, worldAddress, internal_signer: sessionSigner }));
|
|
1451
1465
|
return sessionClient;
|
|
1452
1466
|
}
|
|
1453
1467
|
function clientHasChain(client) {
|
|
@@ -1502,7 +1516,7 @@ function Session({ isActive, isExpanded, userClient, registerSpender, registerDe
|
|
|
1502
1516
|
const sessionClient = useShowQueryError(useSessionClient(userClient.account.address));
|
|
1503
1517
|
const setup = useShowMutationError(useSetupSession({ userClient }));
|
|
1504
1518
|
const hasSession = !registerDelegation && !registerDelegation;
|
|
1505
|
-
|
|
1519
|
+
useEffect7(() => {
|
|
1506
1520
|
const timer = setTimeout(() => {
|
|
1507
1521
|
if (isActive && setup.status === "idle" && sessionClient.data && !hasSession) {
|
|
1508
1522
|
setup.mutate({
|
|
@@ -1560,9 +1574,15 @@ var relayChains_default = {
|
|
|
1560
1574
|
"111": {
|
|
1561
1575
|
bridgeUrl: "https://testnets.relay.link/bridge/bob"
|
|
1562
1576
|
},
|
|
1577
|
+
"130": {
|
|
1578
|
+
bridgeUrl: "https://relay.link/bridge/unichain"
|
|
1579
|
+
},
|
|
1563
1580
|
"137": {
|
|
1564
1581
|
bridgeUrl: "https://relay.link/bridge/polygon"
|
|
1565
1582
|
},
|
|
1583
|
+
"146": {
|
|
1584
|
+
bridgeUrl: "https://relay.link/bridge/sonic"
|
|
1585
|
+
},
|
|
1566
1586
|
"185": {
|
|
1567
1587
|
bridgeUrl: "https://relay.link/bridge/mint"
|
|
1568
1588
|
},
|
|
@@ -1581,6 +1601,9 @@ var relayChains_default = {
|
|
|
1581
1601
|
"690": {
|
|
1582
1602
|
bridgeUrl: "https://relay.link/bridge/redstone"
|
|
1583
1603
|
},
|
|
1604
|
+
"747": {
|
|
1605
|
+
bridgeUrl: "https://relay.link/bridge/flow-evm"
|
|
1606
|
+
},
|
|
1584
1607
|
"919": {
|
|
1585
1608
|
bridgeUrl: "https://testnets.relay.link/bridge/mode-testnet"
|
|
1586
1609
|
},
|
|
@@ -1596,18 +1619,30 @@ var relayChains_default = {
|
|
|
1596
1619
|
"1329": {
|
|
1597
1620
|
bridgeUrl: "https://relay.link/bridge/sei"
|
|
1598
1621
|
},
|
|
1622
|
+
"1424": {
|
|
1623
|
+
bridgeUrl: "https://relay.link/bridge/perennial"
|
|
1624
|
+
},
|
|
1625
|
+
"1514": {
|
|
1626
|
+
bridgeUrl: "https://relay.link/bridge/story"
|
|
1627
|
+
},
|
|
1599
1628
|
"1625": {
|
|
1600
1629
|
bridgeUrl: "https://relay.link/bridge/gravity"
|
|
1601
1630
|
},
|
|
1602
1631
|
"1868": {
|
|
1603
1632
|
bridgeUrl: "https://relay.link/bridge/soneium"
|
|
1604
1633
|
},
|
|
1634
|
+
"1923": {
|
|
1635
|
+
bridgeUrl: "https://relay.link/bridge/swellchain"
|
|
1636
|
+
},
|
|
1605
1637
|
"1993": {
|
|
1606
1638
|
bridgeUrl: "https://testnets.relay.link/bridge/b3"
|
|
1607
1639
|
},
|
|
1608
1640
|
"1996": {
|
|
1609
1641
|
bridgeUrl: "https://relay.link/bridge/sanko"
|
|
1610
1642
|
},
|
|
1643
|
+
"2187": {
|
|
1644
|
+
bridgeUrl: "https://relay.link/bridge/game7"
|
|
1645
|
+
},
|
|
1611
1646
|
"2741": {
|
|
1612
1647
|
bridgeUrl: "https://relay.link/bridge/abstract"
|
|
1613
1648
|
},
|
|
@@ -1677,6 +1712,9 @@ var relayChains_default = {
|
|
|
1677
1712
|
"42170": {
|
|
1678
1713
|
bridgeUrl: "https://relay.link/bridge/arbitrum-nova"
|
|
1679
1714
|
},
|
|
1715
|
+
"42220": {
|
|
1716
|
+
bridgeUrl: "https://relay.link/bridge/celo"
|
|
1717
|
+
},
|
|
1680
1718
|
"43114": {
|
|
1681
1719
|
bridgeUrl: "https://relay.link/bridge/avalanche"
|
|
1682
1720
|
},
|
|
@@ -1707,12 +1745,18 @@ var relayChains_default = {
|
|
|
1707
1745
|
"80002": {
|
|
1708
1746
|
bridgeUrl: "https://testnets.relay.link/bridge/amoy"
|
|
1709
1747
|
},
|
|
1748
|
+
"80094": {
|
|
1749
|
+
bridgeUrl: "https://relay.link/bridge/berachain"
|
|
1750
|
+
},
|
|
1710
1751
|
"81457": {
|
|
1711
1752
|
bridgeUrl: "https://relay.link/bridge/blast"
|
|
1712
1753
|
},
|
|
1713
1754
|
"84532": {
|
|
1714
1755
|
bridgeUrl: "https://testnets.relay.link/bridge/base-sepolia"
|
|
1715
1756
|
},
|
|
1757
|
+
"167000": {
|
|
1758
|
+
bridgeUrl: "https://relay.link/bridge/taiko"
|
|
1759
|
+
},
|
|
1716
1760
|
"167009": {
|
|
1717
1761
|
bridgeUrl: "https://testnets.relay.link/bridge/hekla"
|
|
1718
1762
|
},
|
|
@@ -1728,6 +1772,9 @@ var relayChains_default = {
|
|
|
1728
1772
|
"660279": {
|
|
1729
1773
|
bridgeUrl: "https://relay.link/bridge/xai"
|
|
1730
1774
|
},
|
|
1775
|
+
"695569": {
|
|
1776
|
+
bridgeUrl: "https://testnets.relay.link/bridge/pyrope"
|
|
1777
|
+
},
|
|
1731
1778
|
"911867": {
|
|
1732
1779
|
bridgeUrl: "https://testnets.relay.link/bridge/odyssey"
|
|
1733
1780
|
},
|
|
@@ -1740,6 +1787,9 @@ var relayChains_default = {
|
|
|
1740
1787
|
"3397901": {
|
|
1741
1788
|
bridgeUrl: "https://testnets.relay.link/bridge/funki-testnet"
|
|
1742
1789
|
},
|
|
1790
|
+
"3441006": {
|
|
1791
|
+
bridgeUrl: "https://testnets.relay.link/bridge/manta-pacific-testnet"
|
|
1792
|
+
},
|
|
1743
1793
|
"4457845": {
|
|
1744
1794
|
bridgeUrl: "https://testnets.relay.link/bridge/zero-sepolia"
|
|
1745
1795
|
},
|
|
@@ -1767,6 +1817,9 @@ var relayChains_default = {
|
|
|
1767
1817
|
"792703809": {
|
|
1768
1818
|
bridgeUrl: "https://relay.link/bridge/solana"
|
|
1769
1819
|
},
|
|
1820
|
+
"845320008": {
|
|
1821
|
+
bridgeUrl: "https://testnets.relay.link/bridge/lordchain-testnet"
|
|
1822
|
+
},
|
|
1770
1823
|
"888888888": {
|
|
1771
1824
|
bridgeUrl: "https://relay.link/bridge/ancient8"
|
|
1772
1825
|
},
|
|
@@ -1878,7 +1931,7 @@ function ConnectedSteps({ userClient, initialUserAddress }) {
|
|
|
1878
1931
|
const paymaster = getPaymaster(chain);
|
|
1879
1932
|
const userAddress = userClient.account.address;
|
|
1880
1933
|
const { data: prerequisites, error: prerequisitesError } = usePrerequisites(userAddress);
|
|
1881
|
-
|
|
1934
|
+
useEffect8(() => {
|
|
1882
1935
|
if (prerequisitesError) {
|
|
1883
1936
|
console.error("Could not get prerequisites", prerequisitesError);
|
|
1884
1937
|
}
|
|
@@ -1886,7 +1939,7 @@ function ConnectedSteps({ userClient, initialUserAddress }) {
|
|
|
1886
1939
|
const { closeAccountModal } = useAccountModal();
|
|
1887
1940
|
const isNewConnection = userAddress !== initialUserAddress;
|
|
1888
1941
|
const initialPrerequisites = useRef2(prerequisites);
|
|
1889
|
-
|
|
1942
|
+
useEffect8(() => {
|
|
1890
1943
|
if (prerequisites == null) return;
|
|
1891
1944
|
if (initialPrerequisites.current == null) {
|
|
1892
1945
|
initialPrerequisites.current = prerequisites;
|
|
@@ -1975,7 +2028,7 @@ function AccountModalContent() {
|
|
|
1975
2028
|
}
|
|
1976
2029
|
|
|
1977
2030
|
// src/AccountModal.tsx
|
|
1978
|
-
import { DialogClose
|
|
2031
|
+
import { DialogClose } from "@radix-ui/react-dialog";
|
|
1979
2032
|
|
|
1980
2033
|
// src/icons/IconSVG.tsx
|
|
1981
2034
|
import { twMerge as twMerge8 } from "tailwind-merge";
|
|
@@ -2015,11 +2068,11 @@ import { ErrorBoundary } from "react-error-boundary";
|
|
|
2015
2068
|
|
|
2016
2069
|
// src/errors/ErrorOverlay.tsx
|
|
2017
2070
|
import { wait } from "@latticexyz/common/utils";
|
|
2018
|
-
import { useEffect as
|
|
2071
|
+
import { useEffect as useEffect9 } from "react";
|
|
2019
2072
|
import { twMerge as twMerge9 } from "tailwind-merge";
|
|
2020
2073
|
import { Fragment as Fragment2, jsx as jsx21, jsxs as jsxs15 } from "react/jsx-runtime";
|
|
2021
2074
|
function ErrorOverlay({ error: error2, retry, dismiss }) {
|
|
2022
|
-
|
|
2075
|
+
useEffect9(() => {
|
|
2023
2076
|
if (error2) {
|
|
2024
2077
|
console.error(error2);
|
|
2025
2078
|
}
|
|
@@ -2113,51 +2166,48 @@ function ErrorsOverlay() {
|
|
|
2113
2166
|
import { jsx as jsx24, jsxs as jsxs16 } from "react/jsx-runtime";
|
|
2114
2167
|
function AccountModal() {
|
|
2115
2168
|
const { accountModalOpen, toggleAccountModal } = useAccountModal();
|
|
2116
|
-
return /* @__PURE__ */
|
|
2117
|
-
|
|
2118
|
-
|
|
2119
|
-
|
|
2120
|
-
|
|
2121
|
-
|
|
2122
|
-
|
|
2123
|
-
|
|
2124
|
-
|
|
2125
|
-
|
|
2126
|
-
|
|
2169
|
+
return /* @__PURE__ */ jsx24(Modal, { open: accountModalOpen, onOpenChange: toggleAccountModal, children: accountModalOpen ? /* @__PURE__ */ jsxs16(
|
|
2170
|
+
"div",
|
|
2171
|
+
{
|
|
2172
|
+
className: twMerge10(
|
|
2173
|
+
"relative py-2 ring-1",
|
|
2174
|
+
"bg-neutral-900 text-neutral-400 ring-neutral-700/50",
|
|
2175
|
+
"links:font-medium links:underline links:underline-offset-4",
|
|
2176
|
+
"links:text-white",
|
|
2177
|
+
"links:decoration-neutral-500 hover:links:decoration-orange-500"
|
|
2178
|
+
),
|
|
2179
|
+
children: [
|
|
2180
|
+
/* @__PURE__ */ jsxs16(ErrorBoundary, { FallbackComponent: ErrorFallback, children: [
|
|
2181
|
+
/* @__PURE__ */ jsx24(AccountModalContent, {}),
|
|
2182
|
+
/* @__PURE__ */ jsx24(ErrorsOverlay, {})
|
|
2183
|
+
] }),
|
|
2184
|
+
/* @__PURE__ */ jsxs16(
|
|
2185
|
+
"a",
|
|
2186
|
+
{
|
|
2187
|
+
href: "https://mud.dev",
|
|
2188
|
+
target: "_blank",
|
|
2189
|
+
rel: "noreferrer noopener",
|
|
2190
|
+
className: "group self-center p-3 flex items-center justify-center gap-2 links-unset text-sm font-mono transition text-neutral-400 hover:text-white",
|
|
2191
|
+
children: [
|
|
2192
|
+
/* @__PURE__ */ jsx24("span", { className: "block w-4 h-4", children: /* @__PURE__ */ jsx24(Logo, { className: "w-full h-full text-orange-500 group-hover:rotate-90 transition duration-300" }) }),
|
|
2193
|
+
/* @__PURE__ */ jsx24("span", { children: "Powered by MUD" })
|
|
2194
|
+
]
|
|
2195
|
+
}
|
|
2127
2196
|
),
|
|
2128
|
-
children:
|
|
2129
|
-
|
|
2130
|
-
|
|
2131
|
-
|
|
2132
|
-
|
|
2133
|
-
|
|
2134
|
-
|
|
2135
|
-
|
|
2136
|
-
|
|
2137
|
-
|
|
2138
|
-
|
|
2139
|
-
|
|
2140
|
-
|
|
2141
|
-
|
|
2142
|
-
/* @__PURE__ */ jsx24(ErrorsOverlay, {})
|
|
2143
|
-
] }),
|
|
2144
|
-
/* @__PURE__ */ jsxs16(
|
|
2145
|
-
"a",
|
|
2146
|
-
{
|
|
2147
|
-
href: "https://mud.dev",
|
|
2148
|
-
target: "_blank",
|
|
2149
|
-
rel: "noreferrer noopener",
|
|
2150
|
-
className: "group self-center p-3 flex items-center justify-center gap-2 links-unset text-sm font-mono transition text-neutral-400 hover:text-white",
|
|
2151
|
-
children: [
|
|
2152
|
-
/* @__PURE__ */ jsx24("span", { className: "block w-4 h-4", children: /* @__PURE__ */ jsx24(Logo, { className: "w-full h-full text-orange-500 group-hover:rotate-90 transition duration-300" }) }),
|
|
2153
|
-
/* @__PURE__ */ jsx24("span", { children: "Powered by MUD" })
|
|
2154
|
-
]
|
|
2155
|
-
}
|
|
2156
|
-
)
|
|
2157
|
-
]
|
|
2158
|
-
}
|
|
2159
|
-
) : null
|
|
2160
|
-
] });
|
|
2197
|
+
/* @__PURE__ */ jsx24("div", { className: "absolute top-0 right-0", children: /* @__PURE__ */ jsx24(
|
|
2198
|
+
DialogClose,
|
|
2199
|
+
{
|
|
2200
|
+
className: twMerge10(
|
|
2201
|
+
"pointer-events-auto leading-none p-2 transition",
|
|
2202
|
+
"text-white/20 hover:text-white/40"
|
|
2203
|
+
),
|
|
2204
|
+
title: "Close",
|
|
2205
|
+
children: /* @__PURE__ */ jsx24(CloseIcon, { className: "m-0" })
|
|
2206
|
+
}
|
|
2207
|
+
) })
|
|
2208
|
+
]
|
|
2209
|
+
}
|
|
2210
|
+
) : null });
|
|
2161
2211
|
}
|
|
2162
2212
|
|
|
2163
2213
|
// src/EntryKitProvider.tsx
|