@blockscout/ui-toolkit 0.0.1-alpha.1 → 0.0.1-alpha.2
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/README.md +8 -0
- package/dist/chakra/accordion.d.ts +1 -1
- package/dist/chakra/drawer.d.ts +1 -1
- package/dist/chakra/popover.d.ts +1 -2
- package/dist/index.d.ts +2 -0
- package/dist/index.js +9284 -0
- package/dist/package/src/index.d.ts +7 -11
- package/dist/theme/foundations/semanticTokens.ts +1 -5
- package/dist/theme/recipes/alert.recipe.d.ts +6 -46
- package/dist/theme/recipes/alert.recipe.ts +45 -48
- package/dist/theme/recipes/badge.recipe.d.ts +11 -44
- package/dist/theme/recipes/badge.recipe.ts +11 -45
- package/dist/theme/recipes/button.recipe.d.ts +17 -20
- package/dist/theme/recipes/button.recipe.ts +42 -27
- package/dist/theme/recipes/close-button.recipe.d.ts +0 -3
- package/dist/theme/recipes/close-button.recipe.ts +0 -3
- package/dist/theme/recipes/dialog.recipe.d.ts +1 -1
- package/dist/theme/recipes/drawer.recipe.d.ts +1 -1
- package/dist/theme/recipes/index.d.ts +47 -147
- package/dist/theme/recipes/link.recipe.d.ts +1 -9
- package/dist/theme/recipes/link.recipe.ts +1 -9
- package/dist/theme/recipes/list.recipe.d.ts +1 -1
- package/dist/theme/recipes/menu.recipe.d.ts +1 -1
- package/dist/theme/recipes/popover.recipe.ts +4 -3
- package/dist/theme/recipes/select.recipe.d.ts +1 -1
- package/dist/theme/recipes/skeleton.recipe.d.ts +5 -6
- package/dist/theme/recipes/skeleton.recipe.ts +10 -9
- package/dist/theme/recipes/table.recipe.d.ts +1 -1
- package/dist/theme/recipes/tag.recipe.d.ts +0 -12
- package/dist/theme/recipes/tag.recipe.ts +0 -13
- package/dist/theme/recipes/toast.recipe.d.ts +1 -1
- package/package.json +14 -28
- package/dist/_virtual/Button.js +0 -4
- package/dist/_virtual/Element.js +0 -4
- package/dist/_virtual/Link.js +0 -4
- package/dist/_virtual/_commonjsHelpers.js +0 -4
- package/dist/_virtual/animate-scroll.js +0 -4
- package/dist/_virtual/cancel-events.js +0 -4
- package/dist/_virtual/index.js +0 -5
- package/dist/_virtual/index2.js +0 -4
- package/dist/_virtual/index3.js +0 -4
- package/dist/_virtual/index4.js +0 -4
- package/dist/_virtual/jsx-runtime.js +0 -5
- package/dist/_virtual/jsx-runtime2.js +0 -4
- package/dist/_virtual/passive-event-listeners.js +0 -4
- package/dist/_virtual/react-is.development.js +0 -4
- package/dist/_virtual/react-is.production.min.js +0 -4
- package/dist/_virtual/react-jsx-runtime.development.js +0 -4
- package/dist/_virtual/react-jsx-runtime.production.min.js +0 -4
- package/dist/_virtual/scroll-element.js +0 -4
- package/dist/_virtual/scroll-events.js +0 -4
- package/dist/_virtual/scroll-hash.js +0 -4
- package/dist/_virtual/scroll-link.js +0 -4
- package/dist/_virtual/scroll-spy.js +0 -4
- package/dist/_virtual/scroller.js +0 -4
- package/dist/_virtual/smooth.js +0 -4
- package/dist/_virtual/utils.js +0 -4
- package/dist/chakra/accordion.js +0 -61
- package/dist/chakra/alert.js +0 -45
- package/dist/chakra/avatar.js +0 -36
- package/dist/chakra/badge.js +0 -18
- package/dist/chakra/button.js +0 -65
- package/dist/chakra/checkbox.js +0 -33
- package/dist/chakra/close-button.js +0 -13
- package/dist/chakra/collapsible.js +0 -58
- package/dist/chakra/color-mode.js +0 -35
- package/dist/chakra/dialog.js +0 -47
- package/dist/chakra/drawer.js +0 -39
- package/dist/chakra/field.js +0 -65
- package/dist/chakra/heading.js +0 -12
- package/dist/chakra/icon-button.js +0 -44
- package/dist/chakra/image.js +0 -30
- package/dist/chakra/input-group.js +0 -47
- package/dist/chakra/input.js +0 -5
- package/dist/chakra/link.js +0 -68
- package/dist/chakra/menu.js +0 -63
- package/dist/chakra/pin-input.js +0 -15
- package/dist/chakra/popover.js +0 -69
- package/dist/chakra/progress-circle.js +0 -17
- package/dist/chakra/provider.js +0 -10
- package/dist/chakra/radio.js +0 -17
- package/dist/chakra/rating.js +0 -21
- package/dist/chakra/select.js +0 -185
- package/dist/chakra/skeleton.js +0 -40
- package/dist/chakra/slider.js +0 -39
- package/dist/chakra/switch.js +0 -19
- package/dist/chakra/table.js +0 -66
- package/dist/chakra/tabs.js +0 -29
- package/dist/chakra/tag.js +0 -51
- package/dist/chakra/textarea.js +0 -5
- package/dist/chakra/toaster.js +0 -31
- package/dist/chakra/tooltip.js +0 -85
- package/dist/chakra.d.ts +0 -1
- package/dist/chakra.js +0 -155
- package/dist/components/ButtonBackTo.js +0 -22
- package/dist/components/Filter/FilterInput.js +0 -48
- package/dist/components/TruncatedTextTooltip.js +0 -49
- package/dist/components.d.ts +0 -2
- package/dist/components.js +0 -1
- package/dist/configs/app/api.js +0 -23
- package/dist/configs/app/app.js +0 -19
- package/dist/configs/app/chain.js +0 -30
- package/dist/configs/app/features/account.js +0 -13
- package/dist/configs/app/features/addressMetadata.js +0 -15
- package/dist/configs/app/features/addressProfileAPI.js +0 -25
- package/dist/configs/app/features/addressVerification.js +0 -17
- package/dist/configs/app/features/adsBanner.js +0 -50
- package/dist/configs/app/features/adsText.js +0 -16
- package/dist/configs/app/features/advancedFilter.js +0 -11
- package/dist/configs/app/features/beaconChain.js +0 -15
- package/dist/configs/app/features/blockchainInteraction.js +0 -15
- package/dist/configs/app/features/bridgedTokens.js +0 -16
- package/dist/configs/app/features/celo.js +0 -13
- package/dist/configs/app/features/csvExport.js +0 -14
- package/dist/configs/app/features/dataAvailability.js +0 -11
- package/dist/configs/app/features/deFiDropdown.js +0 -12
- package/dist/configs/app/features/easterEggBadge.js +0 -12
- package/dist/configs/app/features/externalTxs.js +0 -14
- package/dist/configs/app/features/faultProofSystem.js +0 -12
- package/dist/configs/app/features/gasTracker.js +0 -17
- package/dist/configs/app/features/getGasButton.js +0 -17
- package/dist/configs/app/features/googleAnalytics.js +0 -12
- package/dist/configs/app/features/graphqlApiDocs.js +0 -12
- package/dist/configs/app/features/growthBook.js +0 -12
- package/dist/configs/app/features/index.js +0 -92
- package/dist/configs/app/features/marketplace.js +0 -46
- package/dist/configs/app/features/metasuites.js +0 -11
- package/dist/configs/app/features/mixpanel.js +0 -12
- package/dist/configs/app/features/mudFramework.js +0 -12
- package/dist/configs/app/features/multichainButton.js +0 -18
- package/dist/configs/app/features/nameService.js +0 -15
- package/dist/configs/app/features/pools.js +0 -15
- package/dist/configs/app/features/publicTagsSubmission.js +0 -17
- package/dist/configs/app/features/restApiDocs.js +0 -12
- package/dist/configs/app/features/rewards.js +0 -17
- package/dist/configs/app/features/rollbar.js +0 -20
- package/dist/configs/app/features/rollup.js +0 -37
- package/dist/configs/app/features/safe.js +0 -23
- package/dist/configs/app/features/saveOnGas.js +0 -13
- package/dist/configs/app/features/sol2uml.js +0 -16
- package/dist/configs/app/features/stats.js +0 -16
- package/dist/configs/app/features/suave.js +0 -11
- package/dist/configs/app/features/txInterpretation.js +0 -16
- package/dist/configs/app/features/userOps.js +0 -11
- package/dist/configs/app/features/validators.js +0 -16
- package/dist/configs/app/features/verifiedTokens.js +0 -15
- package/dist/configs/app/features/web3Wallet.js +0 -24
- package/dist/configs/app/features/xStarScore.js +0 -12
- package/dist/configs/app/index.js +0 -19
- package/dist/configs/app/meta.js +0 -16
- package/dist/configs/app/services.js +0 -9
- package/dist/configs/app/ui/views/address.js +0 -36
- package/dist/configs/app/ui/views/block.js +0 -11
- package/dist/configs/app/ui/views/index.js +0 -12
- package/dist/configs/app/ui/views/nft.js +0 -10
- package/dist/configs/app/ui/views/token.js +0 -7
- package/dist/configs/app/ui/views/tx.js +0 -15
- package/dist/configs/app/ui.js +0 -128
- package/dist/configs/app/utils.js +0 -45
- package/dist/hooks/useClipboard.js +0 -27
- package/dist/hooks/useDisclosure.js +0 -17
- package/dist/hooks/useViewportSize.js +0 -17
- package/dist/hooks.d.ts +0 -1
- package/dist/hooks.js +0 -8
- package/dist/icons/arrows/east-mini.svg.js +0 -4
- package/dist/icons/arrows/east.svg.js +0 -4
- package/dist/icons/check.svg.js +0 -4
- package/dist/icons/close.svg.js +0 -4
- package/dist/icons/info_filled.svg.js +0 -4
- package/dist/icons/link_external.svg.js +0 -4
- package/dist/icons/star_filled.svg.js +0 -4
- package/dist/icons/star_outline.svg.js +0 -4
- package/dist/lib/consts.js +0 -10
- package/dist/lib/hooks/useFirstMountState.js +0 -8
- package/dist/lib/hooks/useIsMobile.js +0 -7
- package/dist/lib/hooks/useUpdateEffect.js +0 -12
- package/dist/lib/html-entities.js +0 -5
- package/dist/lib/isBrowser.js +0 -6
- package/dist/lib/regexp.js +0 -4
- package/dist/lib/settings/colorTheme.js +0 -33
- package/dist/lib/stripTrailingSlash.js +0 -4
- package/dist/node_modules/@uidotdev/usehooks/index.js +0 -51
- package/dist/node_modules/bignumber.js/bignumber.js +0 -627
- package/dist/node_modules/es-toolkit/dist/function/debounce.js +0 -30
- package/dist/node_modules/es-toolkit/dist/function/throttle.js +0 -11
- package/dist/node_modules/lodash.throttle/index.js +0 -95
- package/dist/node_modules/object-assign/index.js +0 -54
- package/dist/node_modules/prop-types/checkPropTypes.js +0 -54
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +0 -52
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +0 -329
- package/dist/node_modules/prop-types/index.js +0 -17
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +0 -10
- package/dist/node_modules/prop-types/lib/has.js +0 -7
- package/dist/node_modules/react-icons/lib/iconBase.js +0 -108
- package/dist/node_modules/react-icons/lib/iconContext.js +0 -12
- package/dist/node_modules/react-icons/lu/index.js +0 -12
- package/dist/node_modules/react-is/cjs/react-is.development.js +0 -95
- package/dist/node_modules/react-is/cjs/react-is.production.min.js +0 -78
- package/dist/node_modules/react-is/index.js +0 -10
- package/dist/node_modules/react-scroll/modules/components/Button.js +0 -58
- package/dist/node_modules/react-scroll/modules/components/Element.js +0 -72
- package/dist/node_modules/react-scroll/modules/components/Link.js +0 -49
- package/dist/node_modules/react-scroll/modules/index.js +0 -26
- package/dist/node_modules/react-scroll/modules/mixins/Helpers.js +0 -192
- package/dist/node_modules/react-scroll/modules/mixins/animate-scroll.js +0 -132
- package/dist/node_modules/react-scroll/modules/mixins/cancel-events.js +0 -20
- package/dist/node_modules/react-scroll/modules/mixins/passive-event-listeners.js +0 -27
- package/dist/node_modules/react-scroll/modules/mixins/scroll-element.js +0 -98
- package/dist/node_modules/react-scroll/modules/mixins/scroll-events.js +0 -23
- package/dist/node_modules/react-scroll/modules/mixins/scroll-hash.js +0 -61
- package/dist/node_modules/react-scroll/modules/mixins/scroll-link.js +0 -171
- package/dist/node_modules/react-scroll/modules/mixins/scroll-spy.js +0 -79
- package/dist/node_modules/react-scroll/modules/mixins/scroller.js +0 -62
- package/dist/node_modules/react-scroll/modules/mixins/smooth.js +0 -72
- package/dist/node_modules/react-scroll/modules/mixins/utils.js +0 -55
- package/dist/package/node_modules/react/cjs/react-jsx-runtime.development.js +0 -604
- package/dist/package/node_modules/react/cjs/react-jsx-runtime.production.min.js +0 -28
- package/dist/package/node_modules/react/jsx-runtime.js +0 -10
- package/dist/theme/foundations/animations.js +0 -15
- package/dist/theme/foundations/borders.js +0 -12
- package/dist/theme/foundations/breakpoints.js +0 -11
- package/dist/theme/foundations/colors.js +0 -163
- package/dist/theme/foundations/durations.js +0 -12
- package/dist/theme/foundations/semanticTokens.js +0 -474
- package/dist/theme/foundations/shadows.js +0 -16
- package/dist/theme/foundations/typography.js +0 -92
- package/dist/theme/foundations/zIndex.js +0 -24
- package/dist/theme/globalCss.js +0 -51
- package/dist/theme/globals/address-entity.js +0 -34
- package/dist/theme/globals/recaptcha.js +0 -21
- package/dist/theme/globals/scrollbar.js +0 -33
- package/dist/theme/index.d.ts +0 -1
- package/dist/theme/index.ts +0 -1
- package/dist/theme/recipes/accordion.recipe.js +0 -143
- package/dist/theme/recipes/alert.recipe.js +0 -134
- package/dist/theme/recipes/badge.recipe.js +0 -119
- package/dist/theme/recipes/button.recipe.js +0 -272
- package/dist/theme/recipes/checkbox.recipe.js +0 -53
- package/dist/theme/recipes/checkmark.recipe.js +0 -73
- package/dist/theme/recipes/close-button.recipe.js +0 -39
- package/dist/theme/recipes/dialog.recipe.js +0 -210
- package/dist/theme/recipes/drawer.recipe.js +0 -168
- package/dist/theme/recipes/field.recipe.js +0 -174
- package/dist/theme/recipes/index.js +0 -69
- package/dist/theme/recipes/input.recipe.js +0 -116
- package/dist/theme/recipes/link.recipe.js +0 -88
- package/dist/theme/recipes/list.recipe.js +0 -65
- package/dist/theme/recipes/menu.recipe.js +0 -104
- package/dist/theme/recipes/pin-input.recipe.js +0 -34
- package/dist/theme/recipes/popover.recipe.js +0 -72
- package/dist/theme/recipes/progress-circle.recipe.js +0 -74
- package/dist/theme/recipes/radio-group.recipe.js +0 -69
- package/dist/theme/recipes/radiomark.recipe.js +0 -87
- package/dist/theme/recipes/rating-group.recipe.js +0 -84
- package/dist/theme/recipes/select.recipe.js +0 -275
- package/dist/theme/recipes/skeleton.recipe.js +0 -54
- package/dist/theme/recipes/spinner.recipe.js +0 -33
- package/dist/theme/recipes/stat.recipe.js +0 -101
- package/dist/theme/recipes/switch.recipe.js +0 -125
- package/dist/theme/recipes/table.recipe.js +0 -83
- package/dist/theme/recipes/tabs.recipe.js +0 -216
- package/dist/theme/recipes/tag.recipe.js +0 -157
- package/dist/theme/recipes/textarea.recipe.js +0 -86
- package/dist/theme/recipes/toast.recipe.js +0 -98
- package/dist/theme/recipes/tooltip.recipe.js +0 -87
- package/dist/theme/theme.js +0 -40
- package/dist/theme/utils/entries.js +0 -11
- package/dist/theme.d.ts +0 -2
- package/dist/theme.js +0 -4
- package/dist/types/client/adProviders.js +0 -12
- package/dist/types/client/contract.js +0 -13
- package/dist/types/client/gasTracker.js +0 -7
- package/dist/types/client/navigation.js +0 -4
- package/dist/types/client/rollup.js +0 -11
- package/dist/types/client/txInterpretation.js +0 -8
- package/dist/types/client/validators.js +0 -8
- package/dist/types/client/wallets.js +0 -8
- package/dist/types/homepage.js +0 -15
- package/dist/types/views/address.js +0 -14
- package/dist/types/views/block.js +0 -12
- package/dist/types/views/tx.js +0 -16
- package/dist/ui/shared/forms/validators/url.js +0 -12
- package/dist/utils/getComponentDisplayName.js +0 -7
- package/dist/utils/index.d.ts +0 -1
- package/dist/utils.d.ts +0 -2
- package/dist/utils.js +0 -4
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { GAS_UNITS as o } from "../../../types/client/gasTracker.js";
|
|
2
|
-
import { getEnvValue as r, parseEnvJson as u } from "../utils.js";
|
|
3
|
-
const a = r("NEXT_PUBLIC_GAS_TRACKER_ENABLED") === "false", n = (() => {
|
|
4
|
-
var t;
|
|
5
|
-
const e = r("NEXT_PUBLIC_GAS_TRACKER_UNITS");
|
|
6
|
-
return e ? ((t = u(e)) == null ? void 0 : t.filter((i) => o.includes(i))) || [] : ["usd", "gwei"];
|
|
7
|
-
})(), s = "Gas tracker", E = !a && n.length > 0 ? Object.freeze({
|
|
8
|
-
title: s,
|
|
9
|
-
isEnabled: !0,
|
|
10
|
-
units: n
|
|
11
|
-
}) : Object.freeze({
|
|
12
|
-
title: s,
|
|
13
|
-
isEnabled: !1
|
|
14
|
-
});
|
|
15
|
-
export {
|
|
16
|
-
E as default
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import o from "../chain.js";
|
|
2
|
-
import { parseEnvJson as r, getEnvValue as a } from "../utils.js";
|
|
3
|
-
import n from "./marketplace.js";
|
|
4
|
-
const e = r(a("NEXT_PUBLIC_GAS_REFUEL_PROVIDER_CONFIG")), t = "Get gas button", p = Object.freeze(e ? {
|
|
5
|
-
title: t,
|
|
6
|
-
isEnabled: !0,
|
|
7
|
-
name: e.name,
|
|
8
|
-
logoUrl: e.logo,
|
|
9
|
-
url: e.url_template.replace("{chainId}", o.id || ""),
|
|
10
|
-
dappId: n.isEnabled ? e.dapp_id : void 0
|
|
11
|
-
} : {
|
|
12
|
-
title: t,
|
|
13
|
-
isEnabled: !1
|
|
14
|
-
});
|
|
15
|
-
export {
|
|
16
|
-
p as default
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as r } from "../utils.js";
|
|
2
|
-
const e = r("NEXT_PUBLIC_GOOGLE_ANALYTICS_PROPERTY_ID"), t = "Google analytics", o = Object.freeze(e ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !0,
|
|
5
|
-
propertyId: e
|
|
6
|
-
} : {
|
|
7
|
-
title: t,
|
|
8
|
-
isEnabled: !1
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
o as default
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as n } from "../utils.js";
|
|
2
|
-
const e = n("NEXT_PUBLIC_GRAPHIQL_TRANSACTION"), t = "GraphQL API documentation", a = Object.freeze(e === "none" ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !1
|
|
5
|
-
} : {
|
|
6
|
-
title: t,
|
|
7
|
-
isEnabled: !0,
|
|
8
|
-
defaultTxHash: e
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
a as default
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as n } from "../utils.js";
|
|
2
|
-
const e = n("NEXT_PUBLIC_GROWTH_BOOK_CLIENT_KEY"), t = "GrowthBook feature flagging and A/B testing", o = Object.freeze(e ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !0,
|
|
5
|
-
clientKey: e
|
|
6
|
-
} : {
|
|
7
|
-
title: t,
|
|
8
|
-
isEnabled: !1
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
o as default
|
|
12
|
-
};
|
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { default as t } from "./advancedFilter.js";
|
|
2
|
-
import { default as o } from "./account.js";
|
|
3
|
-
import { default as s } from "./addressVerification.js";
|
|
4
|
-
import { default as d } from "./addressMetadata.js";
|
|
5
|
-
import { default as p } from "./adsBanner.js";
|
|
6
|
-
import { default as x } from "./adsText.js";
|
|
7
|
-
import { default as n } from "./beaconChain.js";
|
|
8
|
-
import { default as g } from "./bridgedTokens.js";
|
|
9
|
-
import { default as v } from "./blockchainInteraction.js";
|
|
10
|
-
import { default as T } from "./celo.js";
|
|
11
|
-
import { default as w } from "./csvExport.js";
|
|
12
|
-
import { default as B } from "./dataAvailability.js";
|
|
13
|
-
import { default as y } from "./deFiDropdown.js";
|
|
14
|
-
import { default as F } from "./easterEggBadge.js";
|
|
15
|
-
import { default as P } from "./externalTxs.js";
|
|
16
|
-
import { default as G } from "./faultProofSystem.js";
|
|
17
|
-
import { default as q } from "./gasTracker.js";
|
|
18
|
-
import { default as M } from "./getGasButton.js";
|
|
19
|
-
import { default as W } from "./googleAnalytics.js";
|
|
20
|
-
import { default as z } from "./graphqlApiDocs.js";
|
|
21
|
-
import { default as J } from "./growthBook.js";
|
|
22
|
-
import { default as L } from "./marketplace.js";
|
|
23
|
-
import { default as Q } from "./metasuites.js";
|
|
24
|
-
import { default as U } from "./mixpanel.js";
|
|
25
|
-
import { default as Y } from "./mudFramework.js";
|
|
26
|
-
import { default as _ } from "./multichainButton.js";
|
|
27
|
-
import { default as aa } from "./nameService.js";
|
|
28
|
-
import { default as ta } from "./pools.js";
|
|
29
|
-
import { default as oa } from "./publicTagsSubmission.js";
|
|
30
|
-
import { default as sa } from "./restApiDocs.js";
|
|
31
|
-
import { default as da } from "./rewards.js";
|
|
32
|
-
import { default as pa } from "./rollbar.js";
|
|
33
|
-
import { default as xa } from "./rollup.js";
|
|
34
|
-
import { default as na } from "./safe.js";
|
|
35
|
-
import { default as ga } from "./saveOnGas.js";
|
|
36
|
-
import { default as va } from "./sol2uml.js";
|
|
37
|
-
import { default as Ta } from "./stats.js";
|
|
38
|
-
import { default as wa } from "./suave.js";
|
|
39
|
-
import { default as Ba } from "./txInterpretation.js";
|
|
40
|
-
import { default as ya } from "./userOps.js";
|
|
41
|
-
import { default as Fa } from "./addressProfileAPI.js";
|
|
42
|
-
import { default as Pa } from "./validators.js";
|
|
43
|
-
import { default as Ga } from "./verifiedTokens.js";
|
|
44
|
-
import { default as qa } from "./web3Wallet.js";
|
|
45
|
-
import { default as Ma } from "./xStarScore.js";
|
|
46
|
-
export {
|
|
47
|
-
o as account,
|
|
48
|
-
d as addressMetadata,
|
|
49
|
-
Fa as addressProfileAPI,
|
|
50
|
-
s as addressVerification,
|
|
51
|
-
p as adsBanner,
|
|
52
|
-
x as adsText,
|
|
53
|
-
t as advancedFilter,
|
|
54
|
-
n as beaconChain,
|
|
55
|
-
v as blockchainInteraction,
|
|
56
|
-
g as bridgedTokens,
|
|
57
|
-
T as celo,
|
|
58
|
-
w as csvExport,
|
|
59
|
-
B as dataAvailability,
|
|
60
|
-
y as deFiDropdown,
|
|
61
|
-
F as easterEggBadge,
|
|
62
|
-
P as externalTxs,
|
|
63
|
-
G as faultProofSystem,
|
|
64
|
-
q as gasTracker,
|
|
65
|
-
M as getGasButton,
|
|
66
|
-
W as googleAnalytics,
|
|
67
|
-
z as graphqlApiDocs,
|
|
68
|
-
J as growthBook,
|
|
69
|
-
L as marketplace,
|
|
70
|
-
Q as metasuites,
|
|
71
|
-
U as mixpanel,
|
|
72
|
-
Y as mudFramework,
|
|
73
|
-
_ as multichainButton,
|
|
74
|
-
aa as nameService,
|
|
75
|
-
ta as pools,
|
|
76
|
-
oa as publicTagsSubmission,
|
|
77
|
-
sa as restApiDocs,
|
|
78
|
-
da as rewards,
|
|
79
|
-
pa as rollbar,
|
|
80
|
-
xa as rollup,
|
|
81
|
-
na as safe,
|
|
82
|
-
ga as saveOnGas,
|
|
83
|
-
va as sol2uml,
|
|
84
|
-
Ta as stats,
|
|
85
|
-
wa as suave,
|
|
86
|
-
Ba as txInterpretation,
|
|
87
|
-
ya as userOps,
|
|
88
|
-
Pa as validators,
|
|
89
|
-
Ga as verifiedTokens,
|
|
90
|
-
qa as web3Wallet,
|
|
91
|
-
Ma as xStarScore
|
|
92
|
-
};
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
import i from "../chain.js";
|
|
2
|
-
import { getEnvValue as e, getExternalAssetFilePath as E } from "../utils.js";
|
|
3
|
-
const o = e("NEXT_PUBLIC_MARKETPLACE_ENABLED"), r = E("NEXT_PUBLIC_MARKETPLACE_CONFIG_URL"), A = e("NEXT_PUBLIC_MARKETPLACE_SUBMIT_FORM"), R = e("NEXT_PUBLIC_MARKETPLACE_SUGGEST_IDEAS_FORM"), U = E("NEXT_PUBLIC_MARKETPLACE_CATEGORIES_URL"), n = e("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), P = E("NEXT_PUBLIC_MARKETPLACE_SECURITY_REPORTS_URL"), I = e("NEXT_PUBLIC_MARKETPLACE_FEATURED_APP"), s = E("NEXT_PUBLIC_MARKETPLACE_BANNER_CONTENT_URL"), L = e("NEXT_PUBLIC_MARKETPLACE_BANNER_LINK_URL"), T = e("NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_API_KEY"), a = e("NEXT_PUBLIC_MARKETPLACE_RATING_AIRTABLE_BASE_ID"), C = E("NEXT_PUBLIC_MARKETPLACE_GRAPH_LINKS_URL"), _ = "Marketplace", N = (() => {
|
|
4
|
-
if (o === "true" && i.rpcUrls.length > 0 && A) {
|
|
5
|
-
const t = {
|
|
6
|
-
submitFormUrl: A,
|
|
7
|
-
categoriesUrl: U,
|
|
8
|
-
suggestIdeasFormUrl: R,
|
|
9
|
-
securityReportsUrl: P,
|
|
10
|
-
featuredApp: I,
|
|
11
|
-
banner: s && L ? {
|
|
12
|
-
contentUrl: s,
|
|
13
|
-
linkUrl: L
|
|
14
|
-
} : void 0,
|
|
15
|
-
rating: T && a ? {
|
|
16
|
-
airtableApiKey: T,
|
|
17
|
-
airtableBaseId: a
|
|
18
|
-
} : void 0,
|
|
19
|
-
graphLinksUrl: C
|
|
20
|
-
};
|
|
21
|
-
if (r)
|
|
22
|
-
return Object.freeze({
|
|
23
|
-
title: _,
|
|
24
|
-
isEnabled: !0,
|
|
25
|
-
configUrl: r,
|
|
26
|
-
...t
|
|
27
|
-
});
|
|
28
|
-
if (n)
|
|
29
|
-
return Object.freeze({
|
|
30
|
-
title: _,
|
|
31
|
-
isEnabled: !0,
|
|
32
|
-
api: {
|
|
33
|
-
endpoint: n,
|
|
34
|
-
basePath: ""
|
|
35
|
-
},
|
|
36
|
-
...t
|
|
37
|
-
});
|
|
38
|
-
}
|
|
39
|
-
return Object.freeze({
|
|
40
|
-
title: _,
|
|
41
|
-
isEnabled: !1
|
|
42
|
-
});
|
|
43
|
-
})();
|
|
44
|
-
export {
|
|
45
|
-
N as default
|
|
46
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as t } from "../utils.js";
|
|
2
|
-
const e = "MetaSuites extension", n = t("NEXT_PUBLIC_METASUITES_ENABLED") === "true" ? Object.freeze({
|
|
3
|
-
title: e,
|
|
4
|
-
isEnabled: !0
|
|
5
|
-
}) : Object.freeze({
|
|
6
|
-
title: e,
|
|
7
|
-
isEnabled: !1
|
|
8
|
-
});
|
|
9
|
-
export {
|
|
10
|
-
n as default
|
|
11
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as n } from "../utils.js";
|
|
2
|
-
const e = n("NEXT_PUBLIC_MIXPANEL_PROJECT_TOKEN"), t = "Mixpanel analytics", a = Object.freeze(e ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !0,
|
|
5
|
-
projectToken: e
|
|
6
|
-
} : {
|
|
7
|
-
title: t,
|
|
8
|
-
isEnabled: !1
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
a as default
|
|
12
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as r } from "../utils.js";
|
|
2
|
-
import e from "./rollup.js";
|
|
3
|
-
const t = "MUD framework", f = e.isEnabled && e.type === "optimistic" && r("NEXT_PUBLIC_HAS_MUD_FRAMEWORK") === "true" ? Object.freeze({
|
|
4
|
-
title: t,
|
|
5
|
-
isEnabled: !0
|
|
6
|
-
}) : Object.freeze({
|
|
7
|
-
title: t,
|
|
8
|
-
isEnabled: !1
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
f as default
|
|
12
|
-
};
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { parseEnvJson as l, getEnvValue as n } from "../utils.js";
|
|
2
|
-
import o from "./marketplace.js";
|
|
3
|
-
const a = l(n("NEXT_PUBLIC_MULTICHAIN_BALANCE_PROVIDER_CONFIG")), t = "Multichain balance", s = Object.freeze(a ? {
|
|
4
|
-
title: t,
|
|
5
|
-
isEnabled: !0,
|
|
6
|
-
providers: a.map((e) => ({
|
|
7
|
-
name: e.name,
|
|
8
|
-
logoUrl: e.logo,
|
|
9
|
-
urlTemplate: e.url_template,
|
|
10
|
-
dappId: o.isEnabled ? e.dapp_id : void 0
|
|
11
|
-
}))
|
|
12
|
-
} : {
|
|
13
|
-
title: t,
|
|
14
|
-
isEnabled: !1
|
|
15
|
-
});
|
|
16
|
-
export {
|
|
17
|
-
s as default
|
|
18
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as n } from "../utils.js";
|
|
2
|
-
const e = n("NEXT_PUBLIC_NAME_SERVICE_API_HOST"), t = "Name service integration", i = Object.freeze(e ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !0,
|
|
5
|
-
api: {
|
|
6
|
-
endpoint: e,
|
|
7
|
-
basePath: ""
|
|
8
|
-
}
|
|
9
|
-
} : {
|
|
10
|
-
title: t,
|
|
11
|
-
isEnabled: !1
|
|
12
|
-
});
|
|
13
|
-
export {
|
|
14
|
-
i as default
|
|
15
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as o } from "../utils.js";
|
|
2
|
-
const e = o("NEXT_PUBLIC_CONTRACT_INFO_API_HOST"), n = o("NEXT_PUBLIC_DEX_POOLS_ENABLED") === "true", t = "DEX Pools", s = Object.freeze(e && n ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !0,
|
|
5
|
-
api: {
|
|
6
|
-
endpoint: e,
|
|
7
|
-
basePath: ""
|
|
8
|
-
}
|
|
9
|
-
} : {
|
|
10
|
-
title: t,
|
|
11
|
-
isEnabled: !1
|
|
12
|
-
});
|
|
13
|
-
export {
|
|
14
|
-
s as default
|
|
15
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import i from "../services.js";
|
|
2
|
-
import { getEnvValue as r } from "../utils.js";
|
|
3
|
-
import s from "./addressMetadata.js";
|
|
4
|
-
const e = r("NEXT_PUBLIC_ADMIN_SERVICE_API_HOST"), t = "Public tag submission", c = i.reCaptchaV2.siteKey && s.isEnabled && e ? Object.freeze({
|
|
5
|
-
title: t,
|
|
6
|
-
isEnabled: !0,
|
|
7
|
-
api: {
|
|
8
|
-
endpoint: e,
|
|
9
|
-
basePath: ""
|
|
10
|
-
}
|
|
11
|
-
}) : Object.freeze({
|
|
12
|
-
title: t,
|
|
13
|
-
isEnabled: !1
|
|
14
|
-
});
|
|
15
|
-
export {
|
|
16
|
-
c as default
|
|
17
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as n } from "../utils.js";
|
|
2
|
-
const o = "https://raw.githubusercontent.com/blockscout/blockscout-api-v2-swagger/main/swagger.yaml", e = n("NEXT_PUBLIC_API_SPEC_URL"), t = "REST API documentation", r = Object.freeze(e === "none" ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !1
|
|
5
|
-
} : {
|
|
6
|
-
title: t,
|
|
7
|
-
isEnabled: !0,
|
|
8
|
-
specUrl: e || o
|
|
9
|
-
});
|
|
10
|
-
export {
|
|
11
|
-
r as default
|
|
12
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as i } from "../utils.js";
|
|
2
|
-
import n from "./account.js";
|
|
3
|
-
import r from "./blockchainInteraction.js";
|
|
4
|
-
const e = i("NEXT_PUBLIC_REWARDS_SERVICE_API_HOST"), t = "Rewards service integration", f = e && n.isEnabled && r.isEnabled ? Object.freeze({
|
|
5
|
-
title: t,
|
|
6
|
-
isEnabled: !0,
|
|
7
|
-
api: {
|
|
8
|
-
endpoint: e,
|
|
9
|
-
basePath: ""
|
|
10
|
-
}
|
|
11
|
-
}) : Object.freeze({
|
|
12
|
-
title: t,
|
|
13
|
-
isEnabled: !1
|
|
14
|
-
});
|
|
15
|
-
export {
|
|
16
|
-
f as default
|
|
17
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import c from "../app.js";
|
|
2
|
-
import { getEnvValue as e } from "../utils.js";
|
|
3
|
-
const o = e("NEXT_PUBLIC_ROLLBAR_CLIENT_TOKEN"), _ = (() => {
|
|
4
|
-
var n;
|
|
5
|
-
const t = e("NEXT_PUBLIC_APP_INSTANCE");
|
|
6
|
-
return t || ((n = c.host) == null ? void 0 : n.replace(".blockscout.com", "").replace(".k8s-dev", "").replaceAll("-", "_"));
|
|
7
|
-
})(), l = e("NEXT_PUBLIC_APP_ENV") || "production", s = e("NEXT_PUBLIC_GIT_TAG") || e("NEXT_PUBLIC_GIT_COMMIT_SHA"), r = "Rollbar error monitoring", T = Object.freeze(o ? {
|
|
8
|
-
title: r,
|
|
9
|
-
isEnabled: !0,
|
|
10
|
-
clientToken: o,
|
|
11
|
-
environment: l,
|
|
12
|
-
instance: _,
|
|
13
|
-
codeVersion: s
|
|
14
|
-
} : {
|
|
15
|
-
title: r,
|
|
16
|
-
isEnabled: !1
|
|
17
|
-
});
|
|
18
|
-
export {
|
|
19
|
-
T as default
|
|
20
|
-
};
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { ROLLUP_TYPES as o } from "../../../types/client/rollup.js";
|
|
2
|
-
import s from "../../../lib/stripTrailingSlash.js";
|
|
3
|
-
import { getEnvValue as _, parseEnvJson as a } from "../utils.js";
|
|
4
|
-
const L = (() => {
|
|
5
|
-
const t = _("NEXT_PUBLIC_ROLLUP_TYPE");
|
|
6
|
-
return o.find((r) => r === t);
|
|
7
|
-
})(), n = _("NEXT_PUBLIC_ROLLUP_L2_WITHDRAWAL_URL"), e = (() => {
|
|
8
|
-
const t = a(_("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN")), r = s(_("NEXT_PUBLIC_ROLLUP_L1_BASE_URL") || ""), i = _("NEXT_PUBLIC_ROLLUP_PARENT_CHAIN_NAME");
|
|
9
|
-
if (!(!r && !(t != null && t.baseUrl)))
|
|
10
|
-
return {
|
|
11
|
-
...t,
|
|
12
|
-
name: i ?? (t == null ? void 0 : t.name),
|
|
13
|
-
baseUrl: r ?? (t == null ? void 0 : t.baseUrl)
|
|
14
|
-
};
|
|
15
|
-
})(), E = "Rollup (L2) chain", c = Object.freeze(L && e ? {
|
|
16
|
-
title: E,
|
|
17
|
-
isEnabled: !0,
|
|
18
|
-
type: L,
|
|
19
|
-
L2WithdrawalUrl: L === "optimistic" ? n : void 0,
|
|
20
|
-
outputRootsEnabled: L === "optimistic" && _("NEXT_PUBLIC_ROLLUP_OUTPUT_ROOTS_ENABLED") === "true",
|
|
21
|
-
interopEnabled: L === "optimistic" && _("NEXT_PUBLIC_INTEROP_ENABLED") === "true",
|
|
22
|
-
homepage: {
|
|
23
|
-
showLatestBlocks: _("NEXT_PUBLIC_ROLLUP_HOMEPAGE_SHOW_LATEST_BLOCKS") === "true"
|
|
24
|
-
},
|
|
25
|
-
parentChain: e,
|
|
26
|
-
DA: {
|
|
27
|
-
celestia: {
|
|
28
|
-
namespace: L === "arbitrum" ? _("NEXT_PUBLIC_ROLLUP_DA_CELESTIA_NAMESPACE") : void 0
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
|
-
} : {
|
|
32
|
-
title: E,
|
|
33
|
-
isEnabled: !1
|
|
34
|
-
});
|
|
35
|
-
export {
|
|
36
|
-
c as default
|
|
37
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as r } from "../utils.js";
|
|
2
|
-
function n() {
|
|
3
|
-
try {
|
|
4
|
-
const e = r("NEXT_PUBLIC_SAFE_TX_SERVICE_URL");
|
|
5
|
-
return new URL("/api/v1/safes", e).toString();
|
|
6
|
-
} catch {
|
|
7
|
-
return;
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
|
-
const t = "Safe address tags", s = (() => {
|
|
11
|
-
const e = n();
|
|
12
|
-
return Object.freeze(e ? {
|
|
13
|
-
title: t,
|
|
14
|
-
isEnabled: !0,
|
|
15
|
-
apiUrl: e
|
|
16
|
-
} : {
|
|
17
|
-
title: t,
|
|
18
|
-
isEnabled: !1
|
|
19
|
-
});
|
|
20
|
-
})();
|
|
21
|
-
export {
|
|
22
|
-
s as default
|
|
23
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as t } from "../utils.js";
|
|
2
|
-
import a from "./marketplace.js";
|
|
3
|
-
const e = "Save on gas with GasHawk", i = t("NEXT_PUBLIC_SAVE_ON_GAS_ENABLED") === "true" && a.isEnabled ? Object.freeze({
|
|
4
|
-
title: e,
|
|
5
|
-
isEnabled: !0,
|
|
6
|
-
apiUrlTemplate: "https://core.gashawk.io/apiv2/stats/address/<address>/savingsPotential/0x1"
|
|
7
|
-
}) : Object.freeze({
|
|
8
|
-
title: e,
|
|
9
|
-
isEnabled: !1
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
i as default
|
|
13
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import r from "../../../lib/stripTrailingSlash.js";
|
|
2
|
-
import { getEnvValue as i } from "../utils.js";
|
|
3
|
-
const e = i("NEXT_PUBLIC_VISUALIZE_API_HOST"), t = "Solidity to UML diagrams", o = Object.freeze(e ? {
|
|
4
|
-
title: t,
|
|
5
|
-
isEnabled: !0,
|
|
6
|
-
api: {
|
|
7
|
-
endpoint: e,
|
|
8
|
-
basePath: r(i("NEXT_PUBLIC_VISUALIZE_API_BASE_PATH") || "")
|
|
9
|
-
}
|
|
10
|
-
} : {
|
|
11
|
-
title: t,
|
|
12
|
-
isEnabled: !1
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
o as default
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import n from "../../../lib/stripTrailingSlash.js";
|
|
2
|
-
import { getEnvValue as i } from "../utils.js";
|
|
3
|
-
const t = i("NEXT_PUBLIC_STATS_API_HOST"), e = "Blockchain statistics", s = Object.freeze(t ? {
|
|
4
|
-
title: e,
|
|
5
|
-
isEnabled: !0,
|
|
6
|
-
api: {
|
|
7
|
-
endpoint: t,
|
|
8
|
-
basePath: n(i("NEXT_PUBLIC_STATS_API_BASE_PATH") || "")
|
|
9
|
-
}
|
|
10
|
-
} : {
|
|
11
|
-
title: e,
|
|
12
|
-
isEnabled: !1
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
s as default
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { PROVIDERS as r } from "../../../types/client/txInterpretation.js";
|
|
2
|
-
import { getEnvValue as o } from "../utils.js";
|
|
3
|
-
const t = "Transaction interpretation", n = (() => {
|
|
4
|
-
const e = o("NEXT_PUBLIC_TRANSACTION_INTERPRETATION_PROVIDER");
|
|
5
|
-
return e && r.includes(e) ? e : "none";
|
|
6
|
-
})(), s = Object.freeze(n !== "none" ? {
|
|
7
|
-
title: t,
|
|
8
|
-
provider: n,
|
|
9
|
-
isEnabled: !0
|
|
10
|
-
} : {
|
|
11
|
-
title: t,
|
|
12
|
-
isEnabled: !1
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
s as default
|
|
16
|
-
};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as t } from "../utils.js";
|
|
2
|
-
const e = "User operations", n = t("NEXT_PUBLIC_HAS_USER_OPS") === "true" ? Object.freeze({
|
|
3
|
-
title: e,
|
|
4
|
-
isEnabled: !0
|
|
5
|
-
}) : Object.freeze({
|
|
6
|
-
title: e,
|
|
7
|
-
isEnabled: !1
|
|
8
|
-
});
|
|
9
|
-
export {
|
|
10
|
-
n as default
|
|
11
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { VALIDATORS_CHAIN_TYPE as n } from "../../../types/client/validators.js";
|
|
2
|
-
import { getEnvValue as i } from "../utils.js";
|
|
3
|
-
const t = (() => {
|
|
4
|
-
const e = i("NEXT_PUBLIC_VALIDATORS_CHAIN_TYPE");
|
|
5
|
-
return e && n.includes(e) ? e : void 0;
|
|
6
|
-
})(), r = "Validators list", a = Object.freeze(t ? {
|
|
7
|
-
title: r,
|
|
8
|
-
isEnabled: !0,
|
|
9
|
-
chainType: t
|
|
10
|
-
} : {
|
|
11
|
-
title: r,
|
|
12
|
-
isEnabled: !1
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
a as default
|
|
16
|
-
};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { getEnvValue as n } from "../utils.js";
|
|
2
|
-
const e = n("NEXT_PUBLIC_CONTRACT_INFO_API_HOST"), t = "Verified tokens info", i = Object.freeze(e ? {
|
|
3
|
-
title: t,
|
|
4
|
-
isEnabled: !0,
|
|
5
|
-
api: {
|
|
6
|
-
endpoint: e,
|
|
7
|
-
basePath: ""
|
|
8
|
-
}
|
|
9
|
-
} : {
|
|
10
|
-
title: t,
|
|
11
|
-
isEnabled: !1
|
|
12
|
-
});
|
|
13
|
-
export {
|
|
14
|
-
i as default
|
|
15
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { SUPPORTED_WALLETS as s } from "../../../types/client/wallets.js";
|
|
2
|
-
import { getEnvValue as o, parseEnvJson as i } from "../utils.js";
|
|
3
|
-
const t = (() => {
|
|
4
|
-
var r;
|
|
5
|
-
const n = o("NEXT_PUBLIC_WEB3_WALLETS");
|
|
6
|
-
if (n === "none")
|
|
7
|
-
return;
|
|
8
|
-
const e = (r = i(n)) == null ? void 0 : r.filter((a) => s.includes(a));
|
|
9
|
-
return !e || e.length === 0 ? ["metamask"] : e;
|
|
10
|
-
})(), l = "Web3 wallet integration (add token or network to the wallet)", f = t && t.length > 0 ? Object.freeze({
|
|
11
|
-
title: l,
|
|
12
|
-
isEnabled: !0,
|
|
13
|
-
wallets: t,
|
|
14
|
-
addToken: {
|
|
15
|
-
isDisabled: o("NEXT_PUBLIC_WEB3_DISABLE_ADD_TOKEN_TO_WALLET") === "true"
|
|
16
|
-
},
|
|
17
|
-
addNetwork: {}
|
|
18
|
-
}) : Object.freeze({
|
|
19
|
-
title: l,
|
|
20
|
-
isEnabled: !1
|
|
21
|
-
});
|
|
22
|
-
export {
|
|
23
|
-
f as default
|
|
24
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import r from "./api.js";
|
|
2
|
-
import o from "./app.js";
|
|
3
|
-
import m from "./chain.js";
|
|
4
|
-
import * as t from "./features/index.js";
|
|
5
|
-
import e from "./meta.js";
|
|
6
|
-
import i from "./services.js";
|
|
7
|
-
import f from "./ui.js";
|
|
8
|
-
const u = Object.freeze({
|
|
9
|
-
app: o,
|
|
10
|
-
chain: m,
|
|
11
|
-
api: r,
|
|
12
|
-
UI: f,
|
|
13
|
-
features: t,
|
|
14
|
-
services: i,
|
|
15
|
-
meta: e
|
|
16
|
-
});
|
|
17
|
-
export {
|
|
18
|
-
u as default
|
|
19
|
-
};
|
package/dist/configs/app/meta.js
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import t from "./app.js";
|
|
2
|
-
import { getEnvValue as e, getExternalAssetFilePath as a } from "./utils.js";
|
|
3
|
-
const _ = "/static/og_image.png", r = Object.freeze({
|
|
4
|
-
promoteBlockscoutInTitle: e("NEXT_PUBLIC_PROMOTE_BLOCKSCOUT_IN_TITLE") !== "false",
|
|
5
|
-
og: {
|
|
6
|
-
description: e("NEXT_PUBLIC_OG_DESCRIPTION") || "",
|
|
7
|
-
imageUrl: t.baseUrl + (a("NEXT_PUBLIC_OG_IMAGE_URL") || _),
|
|
8
|
-
enhancedDataEnabled: e("NEXT_PUBLIC_OG_ENHANCED_DATA_ENABLED") === "true"
|
|
9
|
-
},
|
|
10
|
-
seo: {
|
|
11
|
-
enhancedDataEnabled: e("NEXT_PUBLIC_SEO_ENHANCED_DATA_ENABLED") === "true"
|
|
12
|
-
}
|
|
13
|
-
});
|
|
14
|
-
export {
|
|
15
|
-
r as default
|
|
16
|
-
};
|