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eAAe,gBAAgB5C,WAAW,S,WAC9C,UAACH,EAAAA,EAAI,CAACG,WAAW,SAASvX,QAAS,W,OAAM6W,GAAcD,I,WACrD,SAACY,EAAAA,EAAQ,CACPxY,MAAM,KACNuF,KAAK,YACLkT,KAAK,WACL9E,QAASiE,EACTzH,SAAU,W,OAAM0H,GAAcD,OAEhC,SAACxS,EAAAA,EAAI,CAACrC,GAAG,MAAMa,MAAO,CAAE8U,WAAY,Q,SACjCpU,EAAE,sBAGP,SAACnD,EAAAA,EAAM,CACLhC,QAAQ,SACRI,UAAWqY,EACX5W,QAAS,WACP4L,EAAOM,SAAQ,SAACvJ,G,OAAUiX,EAASjX,MAC/BgK,GACFA,EAAqBf,EAAO,KAGhCvF,UAAU,wB,SAET/C,EAAE","sources":["webpack://_N_E/./packages/uikit/src/components/Box/Grid.tsx","webpack://_N_E/./packages/uikit/src/components/ButtonMenu/ButtonMenu.tsx","webpack://_N_E/./packages/uikit/src/components/ButtonMenu/ButtonMenuItem.tsx","webpack://_N_E/./packages/uikit/src/components/Tag/theme.ts","webpack://_N_E/./packages/uikit/src/components/Tag/types.ts","webpack://_N_E/./packages/uikit/src/components/Tag/StyledTag.tsx","webpack://_N_E/./packages/uikit/src/components/Tag/Tag.tsx","webpack://_N_E/./src/components/SearchModal/ImportRow.tsx","webpack://_N_E/./src/components/SearchModal/CurrencyList.tsx","webpack://_N_E/./src/components/SearchModal/filtering.ts","webpack://_N_E/./src/components/SearchModal/sorting.ts","webpack://_N_E/./src/components/SearchModal/CurrencySearch.tsx","webpack://_N_E/./src/components/SearchModal/types.ts","webpack://_N_E/./src/components/SearchModal/ManageLists.tsx","webpack://_N_E/./src/components/SearchModal/ManageTokens.tsx","webpack://_N_E/./src/components/SearchModal/Manage.tsx","webpack://_N_E/./src/components/SearchModal/ImportList.tsx","webpack://_N_E/./src/components/SearchModal/CurrencySearchModal.tsx","webpack://_N_E/./src/components/SearchModal/ImportToken.tsx"],"sourcesContent":["import _tagged_template_literal from \"@swc/helpers/src/_tagged_template_literal.mjs\";\nfunction _templateObject() {\n var data = _tagged_template_literal([\n \"\\n display: grid;\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nimport styled from \"styled-components\";\nimport { grid, flexbox } from \"styled-system\";\nimport Box from \"./Box\";\nvar Grid = styled(Box).withConfig({\n componentId: \"sc-b3fe3fbc-0\"\n})(_templateObject(), flexbox, grid);\nexport default Grid;\n","import _object_spread from \"@swc/helpers/src/_object_spread.mjs\";\nimport _object_spread_props from \"@swc/helpers/src/_object_spread_props.mjs\";\nimport _object_without_properties from \"@swc/helpers/src/_object_without_properties.mjs\";\nimport _tagged_template_literal from \"@swc/helpers/src/_tagged_template_literal.mjs\";\nfunction _templateObject() {\n var data = _tagged_template_literal([\n \"\\n background-color: \",\n \";\\n border-radius: 16px;\\n display: \",\n \";\\n border: 1px solid \",\n \";\\n width: \",\n \";\\n\\n & > button,\\n & > a {\\n flex: \",\n \";\\n }\\n\\n & > button + button,\\n & > a + a {\\n margin-left: 2px; // To avoid focus shadow overlap\\n }\\n\\n & > button,\\n & a {\\n box-shadow: none;\\n }\\n\\n \",\n \"\\n \",\n \"\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport React, { cloneElement, Children } from \"react\";\nimport styled from \"styled-components\";\nimport { space } from \"styled-system\";\nimport { scales, variants } from \"../Button/types\";\nvar getBackgroundColor = function(param) {\n var theme = param.theme, variant = param.variant;\n return theme.colors[variant === variants.SUBTLE ? \"input\" : \"tertiary\"];\n};\nvar getBorderColor = function(param) {\n var theme = param.theme, variant = param.variant;\n return theme.colors[variant === variants.SUBTLE ? \"inputSecondary\" : \"disabled\"];\n};\nvar StyledButtonMenu = styled.div.withConfig({\n componentId: \"sc-2d7da5a3-0\"\n})(_templateObject(), getBackgroundColor, function(param) {\n var fullWidth = param.fullWidth;\n return fullWidth ? \"flex\" : \"inline-flex\";\n}, getBorderColor, function(param) {\n var fullWidth = param.fullWidth;\n return fullWidth ? \"100%\" : \"auto\";\n}, function(param) {\n var fullWidth = param.fullWidth;\n return fullWidth ? 1 : \"auto\";\n}, function(param) {\n var disabled = param.disabled, theme = param.theme, variant = param.variant;\n if (disabled) {\n return \"\\n opacity: 0.5;\\n\\n & > button:disabled {\\n background-color: transparent;\\n color: \".concat(variant === variants.PRIMARY ? theme.colors.primary : theme.colors.textSubtle, \";\\n }\\n \");\n }\n return \"\";\n}, space);\nvar ButtonMenu = function(_param) {\n var _activeIndex = _param.activeIndex, activeIndex = _activeIndex === void 0 ? 0 : _activeIndex, _scale = _param.scale, scale = _scale === void 0 ? scales.MD : _scale, _variant = _param.variant, variant = _variant === void 0 ? variants.PRIMARY : _variant, onItemClick = _param.onItemClick, disabled = _param.disabled, children = _param.children, _fullWidth = _param.fullWidth, fullWidth = _fullWidth === void 0 ? false : _fullWidth, props = _object_without_properties(_param, [\n \"activeIndex\",\n \"scale\",\n \"variant\",\n \"onItemClick\",\n \"disabled\",\n \"children\",\n \"fullWidth\"\n ]);\n return /*#__PURE__*/ _jsx(StyledButtonMenu, _object_spread_props(_object_spread({\n disabled: disabled,\n variant: variant,\n fullWidth: fullWidth\n }, props), {\n children: Children.map(children, function(child, index) {\n return /*#__PURE__*/ cloneElement(child, {\n isActive: activeIndex === index,\n onClick: onItemClick ? function() {\n return onItemClick(index);\n } : undefined,\n scale: scale,\n variant: variant,\n disabled: disabled\n });\n })\n }));\n};\nexport default ButtonMenu;\n","import _object_spread from \"@swc/helpers/src/_object_spread.mjs\";\nimport _object_without_properties from \"@swc/helpers/src/_object_without_properties.mjs\";\nimport _tagged_template_literal from \"@swc/helpers/src/_tagged_template_literal.mjs\";\nfunction _templateObject() {\n var data = _tagged_template_literal([\n \"\\n background-color: transparent;\\n color: \",\n \";\\n &:hover:not(:disabled):not(:active) {\\n background-color: transparent;\\n }\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nimport React from \"react\";\nimport styled from \"styled-components\";\nimport Button from \"../Button/Button\";\nimport { variants } from \"../Button/types\";\nvar InactiveButton = styled(Button).withConfig({\n componentId: \"sc-baf98d6e-0\"\n})(_templateObject(), function(param) {\n var theme = param.theme, variant = param.variant;\n return variant === variants.PRIMARY ? theme.colors.primary : theme.colors.textSubtle;\n});\nvar ButtonMenuItem = function(_param) {\n var _isActive = _param.isActive, isActive = _isActive === void 0 ? false : _isActive, _variant = _param.variant, variant = _variant === void 0 ? variants.PRIMARY : _variant, as = _param.as, props = _object_without_properties(_param, [\n \"isActive\",\n \"variant\",\n \"as\"\n ]);\n if (!isActive) {\n return /*#__PURE__*/ _jsx(InactiveButton, _object_spread({\n forwardedAs: as,\n variant: variant\n }, props));\n }\n return /*#__PURE__*/ _jsx(Button, _object_spread({\n as: as,\n variant: variant\n }, props));\n};\nexport default ButtonMenuItem;\n","import _define_property from \"@swc/helpers/src/_define_property.mjs\";\nimport { scales, variants } from \"./types\";\nvar _obj;\nexport var scaleVariants = (_obj = {}, _define_property(_obj, scales.MD, {\n height: \"28px\",\n padding: \"0 8px\",\n fontSize: \"14px\"\n}), _define_property(_obj, scales.SM, {\n height: \"24px\",\n padding: \"0 4px\",\n fontSize: \"12px\"\n}), _obj);\nvar _obj1;\nexport var styleVariants = (_obj1 = {}, _define_property(_obj1, variants.PRIMARY, {\n backgroundColor: \"primary\"\n}), _define_property(_obj1, variants.SECONDARY, {\n backgroundColor: \"secondary\"\n}), _define_property(_obj1, variants.SUCCESS, {\n backgroundColor: \"success\"\n}), _define_property(_obj1, variants.TEXTDISABLED, {\n backgroundColor: \"textDisabled\"\n}), _define_property(_obj1, variants.TEXTSUBTLE, {\n backgroundColor: \"textSubtle\"\n}), _define_property(_obj1, variants.BINANCE, {\n backgroundColor: \"binance\"\n}), _define_property(_obj1, variants.FAILURE, {\n backgroundColor: \"failure\"\n}), _define_property(_obj1, variants.WARNING, {\n backgroundColor: \"warning\"\n}), _obj1);\n","export var variants = {\n PRIMARY: \"primary\",\n SECONDARY: \"secondary\",\n SUCCESS: \"success\",\n TEXTDISABLED: \"textDisabled\",\n TEXTSUBTLE: \"textSubtle\",\n BINANCE: \"binance\",\n FAILURE: \"failure\",\n WARNING: \"warning\"\n};\nexport var scales = {\n MD: \"md\",\n SM: \"sm\"\n};\n","import _tagged_template_literal from \"@swc/helpers/src/_tagged_template_literal.mjs\";\nfunction _templateObject() {\n var data = _tagged_template_literal([\n \"\\n align-items: center;\\n border-radius: 16px;\\n color: #ffffff;\\n display: inline-flex;\\n font-weight: 400;\\n white-space: nowrap;\\n\\n & > svg {\\n fill: currentColor;\\n }\\n\\n \",\n \"\\n\\n \",\n \"\\n \",\n \"\\n \",\n \"\\n \",\n \"\\n\\n \",\n \"\\n\"\n ]);\n _templateObject = function _templateObject() {\n return data;\n };\n return data;\n}\nimport styled from \"styled-components\";\nimport { space, variant, typography } from \"styled-system\";\nimport { scaleVariants, styleVariants } from \"./theme\";\nimport { variants } from \"./types\";\nvar getOutlineStyles = function(param) {\n var outline = param.outline, theme = param.theme, tmp = param.variant, variantKey = tmp === void 0 ? variants.PRIMARY : tmp;\n if (outline) {\n var themeColorKey = styleVariants[variantKey].backgroundColor;\n var color = theme.colors[themeColorKey];\n return \"\\n color: \".concat(color, \";\\n background: \").concat(theme.colors.background, \";\\n border: 2px solid \").concat(color, \";\\n \");\n }\n return \"\";\n};\nexport var StyledTag = styled.div.withConfig({\n componentId: \"sc-26d88be7-0\"\n})(_templateObject(), function(param) {\n var textTransform = param.textTransform;\n return textTransform && \"text-transform: \".concat(textTransform, \";\");\n}, variant({\n prop: \"scale\",\n variants: scaleVariants\n}), variant({\n variants: styleVariants\n}), space, typography, getOutlineStyles);\nexport default null;\n","import _object_spread from \"@swc/helpers/src/_object_spread.mjs\";\nimport _object_spread_props from \"@swc/helpers/src/_object_spread_props.mjs\";\nimport _object_without_properties from \"@swc/helpers/src/_object_without_properties.mjs\";\nimport { jsxs as _jsxs } from \"react/jsx-runtime\";\nimport React from \"react\";\nimport { scales } from \"./types\";\nimport { StyledTag } from \"./StyledTag\";\nvar Tag = function(_param) /*#__PURE__*/ {\n var startIcon = _param.startIcon, endIcon = _param.endIcon, children = _param.children, props = _object_without_properties(_param, [\n \"startIcon\",\n \"endIcon\",\n \"children\"\n ]);\n return _jsxs(StyledTag, _object_spread_props(_object_spread({}, props), {\n children: [\n /*#__PURE__*/ React.isValidElement(startIcon) && /*#__PURE__*/ React.cloneElement(startIcon, {\n mr: \"0.5em\"\n }),\n children,\n /*#__PURE__*/ React.isValidElement(endIcon) && /*#__PURE__*/ React.cloneElement(endIcon, {\n ml: \"0.5em\"\n })\n ]\n }));\n};\n/* eslint-disable react/default-props-match-prop-types */ Tag.defaultProps = {\n variant: \"primary\",\n scale: scales.MD,\n outline: false\n};\nexport default Tag;\n","import { CSSProperties } from 'react'\nimport { Token } from '@pancakeswap/sdk'\nimport { Button, Text, CheckmarkCircleIcon, useMatchBreakpointsContext } from '@pancakeswap/uikit'\nimport { AutoRow, RowFixed } from 'components/Layout/Row'\nimport { AutoColumn } from 'components/Layout/Column'\nimport CurrencyLogo from 'components/Logo/CurrencyLogo'\nimport { ListLogo } from 'components/Logo'\nimport { useNetwork } from 'wagmi'\nimport { getChainId } from 'config/constants/exchange'\nimport { useCombinedInactiveList } from 'state/lists/hooks'\nimport styled from 'styled-components'\nimport { useIsUserAddedToken, useIsTokenActive } from 'hooks/Tokens'\nimport { useTranslation } from 'contexts/Localization'\n\nconst TokenSection = styled.div<{ dim?: boolean }>`\n padding: 4px 20px;\n height: 56px;\n display: grid;\n grid-template-columns: auto minmax(auto, 1fr) auto;\n grid-gap: 10px;\n align-items: center;\n\n opacity: ${({ dim }) => (dim ? '0.4' : '1')};\n\n ${({ theme }) => theme.mediaQueries.md} {\n grid-gap: 16px;\n }\n`\n\nconst CheckIcon = styled(CheckmarkCircleIcon)`\n height: 16px;\n width: 16px;\n margin-right: 6px;\n stroke: ${({ theme }) => theme.colors.success};\n`\n\nconst NameOverflow = styled.div`\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n max-width: 140px;\n font-size: 12px;\n`\n\nexport default function ImportRow({\n token,\n style,\n dim,\n showImportView,\n setImportToken,\n}: {\n token: Token\n style?: CSSProperties\n dim?: boolean\n showImportView: () => void\n setImportToken: (token: Token) => void\n}) {\n // globals\n const { chain } = useNetwork()\n const chainId = getChainId(chain);\n const { isMobile } = useMatchBreakpointsContext()\n\n const { t } = useTranslation()\n\n // check if token comes from list\n const inactiveTokenList = useCombinedInactiveList()\n const list = chainId && inactiveTokenList?.[chainId]?.[token.address]?.list\n\n // check if already active on list or local storage tokens\n const isAdded = useIsUserAddedToken(token)\n const isActive = useIsTokenActive(token)\n\n return (\n \n \n \n \n {token.symbol}\n \n {token.name}\n \n \n {list && list.logoURI && (\n \n \n {t('via')} {list.name}\n \n \n \n )}\n \n {!isActive && !isAdded ? (\n {\n if (setImportToken) {\n setImportToken(token)\n }\n showImportView()\n }}\n >\n {t('Import')}\n \n ) : (\n \n \n Active\n \n )}\n \n )\n}\n","import { CSSProperties, MutableRefObject, useCallback, useMemo } from 'react'\nimport { Currency, CurrencyAmount, currencyEquals, ETHER, Token } from '@pancakeswap/sdk'\nimport { Text } from '@pancakeswap/uikit'\nimport { useAccount, useNetwork } from 'wagmi'\nimport { getChainId } from 'config/constants/exchange'\nimport styled from 'styled-components'\nimport { FixedSizeList } from 'react-window'\nimport { wrappedCurrency } from 'utils/wrappedCurrency'\nimport { LightGreyCard } from 'components/Card'\nimport QuestionHelper from 'components/QuestionHelper'\nimport { useTranslation } from 'contexts/Localization'\nimport { useCombinedActiveList } from '../../state/lists/hooks'\nimport { useCurrencyBalance } from '../../state/wallet/hooks'\nimport { useIsUserAddedToken } from '../../hooks/Tokens'\nimport Column from '../Layout/Column'\nimport { RowFixed, RowBetween } from '../Layout/Row'\nimport { CurrencyLogo } from '../Logo'\nimport CircleLoader from '../Loader/CircleLoader'\nimport { isTokenOnList } from '../../utils'\nimport ImportRow from './ImportRow'\n\n\nfunction currencyKey(currency: Currency): string {\n return currency instanceof Token ? currency.address : currency === ETHER ? 'ETHER' : ''\n}\n\nconst StyledBalanceText = styled(Text)`\n white-space: nowrap;\n overflow: hidden;\n max-width: 5rem;\n text-overflow: ellipsis;\n font-size: \"12px\";\n`\n\nconst FixedContentRow = styled.div`\n padding: 4px 20px;\n height: 56px;\n display: grid;\n grid-gap: 16px;\n align-items: center;\n`\n\nfunction Balance({ balance }: { balance: CurrencyAmount }) {\n return {balance.toSignificant(4)}\n}\n\nconst MenuItem = styled(RowBetween) <{ disabled: boolean; selected: boolean }>`\n padding: 4px 20px;\n height: 56px;\n display: grid;\n grid-template-columns: auto minmax(auto, 1fr) minmax(0, 72px);\n grid-gap: 8px;\n cursor: ${({ disabled }) => !disabled && 'pointer'};\n pointer-events: ${({ disabled }) => disabled && 'none'};\n :hover {\n background-color: ${({ theme, disabled }) => !disabled && theme.colors.background};\n }\n opacity: ${({ disabled, selected }) => (disabled || selected ? 0.5 : 1)};\n`\n\nfunction CurrencyRow({\n currency,\n onSelect,\n isSelected,\n otherSelected,\n style,\n}: {\n currency: Currency\n onSelect: () => void\n isSelected: boolean\n otherSelected: boolean\n style: CSSProperties\n}) {\n const { address } = useAccount()\n const { t } = useTranslation()\n const key = currencyKey(currency)\n const selectedTokenList = useCombinedActiveList()\n const isOnSelectedList = isTokenOnList(selectedTokenList, currency)\n const customAdded = useIsUserAddedToken(currency)\n const balance = useCurrencyBalance(address ?? undefined, currency)\n\n // only show add or remove buttons if not on selected list\n return (\n (isSelected ? null : onSelect())}\n disabled={isSelected}\n selected={otherSelected}\n >\n \n \n {currency.symbol}\n \n {!isOnSelectedList && customAdded && `${t('Added by user')} •`} {currency.name}\n \n \n \n {balance ? : address ? : null}\n \n \n )\n}\n\nexport default function CurrencyList({\n height,\n currencies,\n inactiveCurrencies,\n selectedCurrency,\n onCurrencySelect,\n otherCurrency,\n fixedListRef,\n showBNB,\n showImportView,\n setImportToken,\n breakIndex,\n}: {\n height: number\n currencies: Currency[]\n inactiveCurrencies: Currency[]\n selectedCurrency?: Currency | null\n onCurrencySelect: (currency: Currency) => void\n otherCurrency?: Currency | null\n fixedListRef?: MutableRefObject\n showBNB: boolean\n showImportView: () => void\n setImportToken: (token: Token) => void\n breakIndex: number | undefined\n}) {\n const itemData: (Currency | undefined)[] = useMemo(() => {\n let formatted: (Currency | undefined)[] = showBNB\n ? [Currency.ETHER, ...currencies, ...inactiveCurrencies]\n : [...currencies, ...inactiveCurrencies]\n if (breakIndex !== undefined) {\n formatted = [...formatted.slice(0, breakIndex), undefined, ...formatted.slice(breakIndex, formatted.length)]\n }\n return formatted\n }, [breakIndex, currencies, inactiveCurrencies, showBNB])\n\n const { chain } = useNetwork()\n const chainId = getChainId(chain);\n\n const { t } = useTranslation()\n\n const Row = useCallback(\n ({ data, index, style }) => {\n const currency: Currency = data[index]\n const isSelected = Boolean(selectedCurrency && currencyEquals(selectedCurrency, currency))\n const otherSelected = Boolean(otherCurrency && currencyEquals(otherCurrency, currency))\n const handleSelect = () => onCurrencySelect(currency)\n\n const token = wrappedCurrency(currency, chainId)\n\n const showImport = index > currencies.length\n\n if (index === breakIndex || !data) {\n return (\n \n \n \n {t('Expanded results from inactive Token Lists')}\n \n \n \n \n )\n }\n\n if (showImport && token) {\n return (\n \n )\n }\n return (\n \n )\n },\n [\n selectedCurrency,\n otherCurrency,\n chainId,\n currencies.length,\n breakIndex,\n onCurrencySelect,\n t,\n showImportView,\n setImportToken,\n ],\n )\n\n const itemKey = useCallback((index: number, data: any) => currencyKey(data[index]), [])\n\n return (\n \n {Row}\n \n )\n}\n","import { useMemo } from 'react'\nimport { TokenInfo } from '@uniswap/token-lists'\nimport { Token } from '@pancakeswap/sdk'\nimport { isAddress } from '../../utils'\n\nexport function filterTokens(tokens: Token[], search: string): Token[] {\n if (search.length === 0) return tokens\n\n const searchingAddress = isAddress(search)\n\n if (searchingAddress) {\n return tokens.filter((token) => token.address === searchingAddress)\n }\n\n const lowerSearchParts = search\n .toLowerCase()\n .split(/\\s+/)\n .filter((s) => s.length > 0)\n\n if (lowerSearchParts.length === 0) {\n return tokens\n }\n\n const matchesSearch = (s: string): boolean => {\n const sParts = s\n .toLowerCase()\n .split(/\\s+/)\n .filter((s_) => s_.length > 0)\n\n return lowerSearchParts.every((p) => p.length === 0 || sParts.some((sp) => sp.startsWith(p) || sp.endsWith(p)))\n }\n\n return tokens.filter((token) => {\n const { symbol, name } = token\n return (symbol && matchesSearch(symbol)) || (name && matchesSearch(name))\n })\n}\n\nexport function createFilterToken(search: string): (token: T) => boolean {\n const searchingAddress = isAddress(search)\n\n if (searchingAddress) {\n const address = searchingAddress.toLowerCase()\n return (t: T) => 'address' in t && address === t.address.toLowerCase()\n }\n\n const lowerSearchParts = search\n .toLowerCase()\n .split(/\\s+/)\n .filter((s) => s.length > 0)\n\n if (lowerSearchParts.length === 0) {\n return () => true\n }\n\n const matchesSearch = (s: string): boolean => {\n const sParts = s\n .toLowerCase()\n .split(/\\s+/)\n .filter((s_) => s_.length > 0)\n\n return lowerSearchParts.every((p) => p.length === 0 || sParts.some((sp) => sp.startsWith(p) || sp.endsWith(p)))\n }\n return (token) => {\n const { symbol, name } = token\n return (symbol && matchesSearch(symbol)) || (name && matchesSearch(name))\n }\n}\n\nexport function useSortedTokensByQuery(tokens: Token[] | undefined, searchQuery: string): Token[] {\n return useMemo(() => {\n if (!tokens) {\n return []\n }\n\n const trimmedSearchQuery = searchQuery.toLowerCase().trim()\n\n const symbolMatch = trimmedSearchQuery.split(/\\s+/).filter((s) => s.length > 0)\n\n if (symbolMatch.length > 1) {\n return tokens\n }\n\n const exactMatches: Token[] = []\n const symbolSubstrings: Token[] = []\n const rest: Token[] = []\n\n // sort tokens by exact match -> substring on symbol match -> rest\n tokens.forEach((token) => {\n const tokenSymbol = token.symbol?.toLowerCase()\n if (tokenSymbol === symbolMatch[0] || token.name?.toLowerCase() === trimmedSearchQuery) {\n return exactMatches.push(token)\n }\n if (tokenSymbol.startsWith(trimmedSearchQuery)) {\n return symbolSubstrings.push(token)\n }\n return rest.push(token)\n })\n\n return [...exactMatches, ...symbolSubstrings, ...rest]\n }, [tokens, searchQuery])\n}\n","import { Token, TokenAmount } from '@pancakeswap/sdk'\nimport { useMemo } from 'react'\nimport { useAllTokenBalances } from '../../state/wallet/hooks'\n\n// compare two token amounts with highest one coming first\nfunction balanceComparator(balanceA?: TokenAmount, balanceB?: TokenAmount) {\n if (balanceA && balanceB) {\n return balanceA.greaterThan(balanceB) ? -1 : balanceA.equalTo(balanceB) ? 0 : 1\n }\n if (balanceA && balanceA.greaterThan('0')) {\n return -1\n }\n if (balanceB && balanceB.greaterThan('0')) {\n return 1\n }\n return 0\n}\n\nfunction getTokenComparator(balances: {\n [tokenAddress: string]: TokenAmount | undefined\n}): (tokenA: Token, tokenB: Token) => number {\n return function sortTokens(tokenA: Token, tokenB: Token): number {\n // -1 = a is first\n // 1 = b is first\n\n // sort by balances\n const balanceA = balances[tokenA.address]\n const balanceB = balances[tokenB.address]\n\n const balanceComp = balanceComparator(balanceA, balanceB)\n if (balanceComp !== 0) return balanceComp\n\n if (tokenA.symbol && tokenB.symbol) {\n // sort by symbol\n return tokenA.symbol.toLowerCase() < tokenB.symbol.toLowerCase() ? -1 : 1\n }\n return tokenA.symbol ? -1 : tokenB.symbol ? -1 : 0\n }\n}\n\nfunction useTokenComparator(inverted: boolean): (tokenA: Token, tokenB: Token) => number {\n const balances = useAllTokenBalances()\n const comparator = useMemo(() => getTokenComparator(balances ?? {}), [balances])\n return useMemo(() => {\n if (inverted) {\n return (tokenA: Token, tokenB: Token) => comparator(tokenA, tokenB) * -1\n }\n return comparator\n }, [inverted, comparator])\n}\n\nexport default useTokenComparator\n","/* eslint-disable @typescript-eslint/no-unused-vars */\n/* eslint-disable no-restricted-syntax */\nimport { KeyboardEvent, RefObject, useCallback, useMemo, useRef, useState, useEffect } from 'react'\nimport { Currency, ETHER, Token } from '@pancakeswap/sdk'\nimport { Text, Input, Box, useMatchBreakpointsContext } from '@pancakeswap/uikit'\nimport { useTranslation } from 'contexts/Localization'\nimport { FixedSizeList } from 'react-window'\nimport { useAudioModeManager } from 'state/user/hooks'\nimport useDebounce from 'hooks/useDebounce'\nimport { useNetwork } from 'wagmi'\nimport { getChainId } from 'config/constants/exchange'\nimport { useAllLists, useInactiveListUrls } from 'state/lists/hooks'\nimport { TagInfo, WrappedTokenInfo } from 'state/types'\nimport { useAllTokens, useToken, useIsUserAddedToken } from '../../hooks/Tokens'\nimport { isAddress } from '../../utils'\nimport Column, { AutoColumn } from '../Layout/Column'\nimport Row from '../Layout/Row'\nimport CurrencyList from './CurrencyList'\nimport { useSortedTokensByQuery, createFilterToken } from './filtering'\nimport useTokenComparator from './sorting'\n// import { getSwapSound } from './swapSound'\n\nimport ImportRow from './ImportRow'\n\ninterface CurrencySearchProps {\n selectedCurrency?: Currency | null\n onCurrencySelect: (currency: Currency) => void\n otherSelectedCurrency?: Currency | null\n showCommonBases?: boolean\n showImportView: () => void\n setImportToken: (token: Token) => void\n}\n\nfunction useSearchInactiveTokenLists(search: string | undefined, minResults = 10): WrappedTokenInfo[] {\n const lists = useAllLists()\n const inactiveUrls = useInactiveListUrls()\n const { chain } = useNetwork()\n const chainId = getChainId(chain);\n const activeTokens = useAllTokens()\n return useMemo(() => {\n if (!search || search.trim().length === 0) return []\n const filterToken = createFilterToken(search)\n const exactMatches: WrappedTokenInfo[] = []\n const rest: WrappedTokenInfo[] = []\n const addressSet: { [address: string]: true } = {}\n const trimmedSearchQuery = search.toLowerCase().trim()\n for (const url of inactiveUrls) {\n const list = lists[url].current\n // eslint-disable-next-line no-continue\n if (!list) continue\n for (const tokenInfo of list.tokens) {\n if (\n tokenInfo.chainId === chainId &&\n !(tokenInfo.address in activeTokens) &&\n !addressSet[tokenInfo.address] &&\n filterToken(tokenInfo)\n ) {\n const tags: TagInfo[] =\n tokenInfo.tags\n ?.map((tagId) => {\n if (!list.tags?.[tagId]) return undefined\n return { ...list.tags[tagId], id: tagId }\n })\n ?.filter((x): x is TagInfo => Boolean(x)) ?? []\n const wrapped: WrappedTokenInfo = new WrappedTokenInfo(tokenInfo, tags)\n addressSet[wrapped.address] = true\n if (\n tokenInfo.name?.toLowerCase() === trimmedSearchQuery ||\n tokenInfo.symbol?.toLowerCase() === trimmedSearchQuery\n ) {\n exactMatches.push(wrapped)\n } else {\n rest.push(wrapped)\n }\n }\n }\n }\n return [...exactMatches, ...rest].slice(0, minResults)\n }, [activeTokens, chainId, inactiveUrls, lists, minResults, search])\n}\n\nfunction CurrencySearch({\n selectedCurrency,\n onCurrencySelect,\n otherSelectedCurrency,\n showCommonBases,\n showImportView,\n setImportToken,\n}: CurrencySearchProps) {\n const { t } = useTranslation()\n const { chain } = useNetwork()\n const chainId = getChainId(chain);\n\n // refs for fixed size lists\n const fixedList = useRef()\n\n const [searchQuery, setSearchQuery] = useState('')\n const debouncedQuery = useDebounce(searchQuery, 200)\n\n const [invertSearchOrder] = useState(false)\n\n const allTokens = useAllTokens()\n\n // if they input an address, use it\n const searchToken = useToken(debouncedQuery)\n const searchTokenIsAdded = useIsUserAddedToken(searchToken)\n\n const [audioPlay] = useAudioModeManager()\n\n const showBNB: boolean = useMemo(() => {\n const s = debouncedQuery.toLowerCase().trim()\n return s === '' || s === 'b' || s === 'bn' || s === 'bnb'\n }, [debouncedQuery])\n\n const filteredTokens: Token[] = useMemo(() => {\n const filterToken = createFilterToken(debouncedQuery)\n return Object.values(allTokens).filter(filterToken)\n }, [allTokens, debouncedQuery])\n\n const filteredQueryTokens = useSortedTokensByQuery(filteredTokens, debouncedQuery)\n\n const tokenComparator = useTokenComparator(invertSearchOrder)\n\n const filteredSortedTokens: Token[] = useMemo(() => {\n return [...filteredQueryTokens]\n }, [filteredQueryTokens])\n\n const handleCurrencySelect = useCallback(\n (currency: Currency) => {\n onCurrencySelect(currency)\n // if (audioPlay) {\n // getSwapSound().play()\n // }\n },\n // eslint-disable-next-line react-hooks/exhaustive-deps\n [audioPlay, onCurrencySelect],\n )\n\n // manage focus on modal show\n const inputRef = useRef()\n\n useEffect(() => {\n inputRef.current.focus()\n }, [])\n\n const handleInput = useCallback((event) => {\n const input = event.target.value\n const checksummedInput = isAddress(input)\n setSearchQuery(checksummedInput || input)\n fixedList.current?.scrollTo(0)\n }, [])\n\n const handleEnter = useCallback(\n (e: KeyboardEvent) => {\n if (e.key === 'Enter') {\n const s = debouncedQuery.toLowerCase().trim()\n if (s === 'bnb') {\n handleCurrencySelect(ETHER)\n } else if (filteredSortedTokens.length > 0) {\n if (\n filteredSortedTokens[0].symbol?.toLowerCase() === debouncedQuery.trim().toLowerCase() ||\n filteredSortedTokens.length === 1\n ) {\n handleCurrencySelect(filteredSortedTokens[0])\n }\n }\n }\n },\n [filteredSortedTokens, handleCurrencySelect, debouncedQuery],\n )\n\n // if no results on main list, show option to expand into inactive\n const filteredInactiveTokens = useSearchInactiveTokenLists(debouncedQuery)\n\n const hasFilteredInactiveTokens = Boolean(filteredInactiveTokens?.length)\n const { isMobile } = useMatchBreakpointsContext()\n const getCurrencyListRows = useCallback(() => {\n if (searchToken && !searchTokenIsAdded && !hasFilteredInactiveTokens) {\n return (\n \n \n \n )\n }\n\n return Boolean(filteredSortedTokens?.length) || hasFilteredInactiveTokens ? (\n \n \n \n ) : (\n \n \n {t('No results found.')}\n \n \n )\n }, [\n filteredInactiveTokens,\n filteredSortedTokens,\n handleCurrencySelect,\n hasFilteredInactiveTokens,\n otherSelectedCurrency,\n searchToken,\n searchTokenIsAdded,\n selectedCurrency,\n setImportToken,\n showBNB,\n showImportView,\n t,\n showCommonBases,\n isMobile,\n ])\n\n return (\n <>\n \n \n }\n onChange={handleInput}\n onKeyDown={handleEnter}\n />\n \n \n {getCurrencyListRows()}\n \n )\n}\n\nexport default CurrencySearch\n","export enum CurrencyModalView {\n search,\n manage,\n importToken,\n importList,\n}\n\nexport default CurrencyModalView\n","import { memo, useCallback, useMemo, useState, useEffect } from 'react'\nimport { Button, Text, CheckmarkIcon, CogIcon, Input, Toggle, LinkExternal, useTooltip } from '@pancakeswap/uikit'\nimport { useSelector } from 'react-redux'\nimport styled from 'styled-components'\nimport { TokenList, Version } from '@uniswap/token-lists'\nimport Card from 'components/Card'\nimport { UNSUPPORTED_LIST_URLS } from 'config/constants/lists'\nimport { useTranslation } from 'contexts/Localization'\nimport useFetchListCallback from '../../hooks/useFetchListCallback'\n\nimport { AppState, useAppDispatch } from '../../state'\nimport { acceptListUpdate, removeList, disableList, enableList } from '../../state/lists/actions'\nimport { useIsListActive, useAllLists, useActiveListUrls } from '../../state/lists/hooks'\nimport uriToHttp from '../../utils/uriToHttp'\n\nimport Column, { AutoColumn } from '../Layout/Column'\nimport { ListLogo } from '../Logo'\nimport Row, { RowFixed, RowBetween } from '../Layout/Row'\nimport { CurrencyModalView } from './types'\n\nfunction listVersionLabel(version: Version): string {\n return `v${version.major}.${version.minor}.${version.patch}`\n}\n\nconst Wrapper = styled(Column)`\n width: 100%;\n height: 100%;\n`\n\nconst RowWrapper = styled(Row)<{ active: boolean }>`\n background-color: ${({ active, theme }) => (active ? `${theme.colors.success}19` : 'transparent')};\n border: solid 1px;\n border-color: ${({ active, theme }) => (active ? theme.colors.success : theme.colors.tertiary)};\n transition: 200ms;\n align-items: center;\n padding: 1rem;\n border-radius: 20px;\n`\n\nfunction listUrlRowHTMLId(listUrl: string) {\n return `list-row-${listUrl.replace(/\\./g, '-')}`\n}\n\nconst ListRow = memo(function ListRow({ listUrl }: { listUrl: string }) {\n const listsByUrl = useSelector((state) => state.lists.byUrl)\n const dispatch = useAppDispatch()\n const { current: list, pendingUpdate: pending } = listsByUrl[listUrl]\n\n const isActive = useIsListActive(listUrl)\n\n const { t } = useTranslation()\n\n const handleAcceptListUpdate = useCallback(() => {\n if (!pending) return\n dispatch(acceptListUpdate(listUrl))\n }, [dispatch, listUrl, pending])\n\n const handleRemoveList = useCallback(() => {\n // eslint-disable-next-line no-alert\n if (window.confirm('Please confirm you would like to remove this list')) {\n dispatch(removeList(listUrl))\n }\n }, [dispatch, listUrl])\n\n const handleEnableList = useCallback(() => {\n dispatch(enableList(listUrl))\n }, [dispatch, listUrl])\n\n const handleDisableList = useCallback(() => {\n dispatch(disableList(listUrl))\n }, [dispatch, listUrl])\n\n const { targetRef, tooltip, tooltipVisible } = useTooltip(\n
\n {list && listVersionLabel(list.version)}\n \n {t('See')}\n \n \n {pending && (\n \n )}\n
,\n { placement: 'right-end', trigger: 'click' },\n )\n\n if (!list) return null\n\n return (\n \n {tooltipVisible && tooltip}\n {list.logoURI ? (\n \n ) : (\n
\n )}\n \n \n {list.name}\n \n \n \n {list.tokens.length} {t('Tokens')}\n \n \n \n \n \n \n {\n if (isActive) {\n handleDisableList()\n } else {\n handleEnableList()\n }\n }}\n />\n \n )\n})\n\nconst ListContainer = styled.div`\n padding: 1rem 0;\n height: 100%;\n overflow: auto;\n`\n\nfunction ManageLists({\n setModalView,\n setImportList,\n setListUrl,\n}: {\n setModalView: (view: CurrencyModalView) => void\n setImportList: (list: TokenList) => void\n setListUrl: (url: string) => void\n}) {\n const [listUrlInput, setListUrlInput] = useState('')\n\n const { t } = useTranslation()\n\n const lists = useAllLists()\n\n // sort by active but only if not visible\n const activeListUrls = useActiveListUrls()\n const [activeCopy, setActiveCopy] = useState()\n useEffect(() => {\n if (!activeCopy && activeListUrls) {\n setActiveCopy(activeListUrls)\n }\n }, [activeCopy, activeListUrls])\n\n const handleInput = useCallback((e) => {\n setListUrlInput(e.target.value)\n }, [])\n\n const fetchList = useFetchListCallback()\n\n const validUrl: boolean = useMemo(() => {\n return uriToHttp(listUrlInput).length > 0\n }, [listUrlInput])\n\n const sortedLists = useMemo(() => {\n const listUrls = Object.keys(lists)\n return listUrls\n .filter((listUrl) => {\n // only show loaded lists, hide unsupported lists\n return Boolean(lists[listUrl].current) && !UNSUPPORTED_LIST_URLS.includes(listUrl)\n })\n .sort((u1, u2) => {\n const { current: l1 } = lists[u1]\n const { current: l2 } = lists[u2]\n\n // first filter on active lists\n if (activeCopy?.includes(u1) && !activeCopy?.includes(u2)) {\n return -1\n }\n if (!activeCopy?.includes(u1) && activeCopy?.includes(u2)) {\n return 1\n }\n\n if (l1 && l2) {\n // Always makeMGP Exchange list in top.\n const keyword = 'pancakeswap'\n if (l1.name.toLowerCase().includes(keyword) || l2.name.toLowerCase().includes(keyword)) {\n return -1\n }\n\n return l1.name.toLowerCase() < l2.name.toLowerCase()\n ? -1\n : l1.name.toLowerCase() === l2.name.toLowerCase()\n ? 0\n : 1\n }\n if (l1) return -1\n if (l2) return 1\n return 0\n })\n }, [lists, activeCopy])\n\n // temporary fetched list for import flow\n const [tempList, setTempList] = useState()\n const [addError, setAddError] = useState()\n\n useEffect(() => {\n async function fetchTempList() {\n fetchList(listUrlInput, false)\n .then((list) => setTempList(list))\n .catch(() => setAddError('Error importing list'))\n }\n // if valid url, fetch details for card\n if (validUrl) {\n fetchTempList()\n } else {\n setTempList(undefined)\n if (listUrlInput !== '') {\n setAddError('Enter valid list location')\n }\n }\n\n // reset error\n if (listUrlInput === '') {\n setAddError(undefined)\n }\n }, [fetchList, listUrlInput, validUrl])\n\n // check if list is already imported\n const isImported = Object.keys(lists).includes(listUrlInput)\n\n // set list values and have parent modal switch to import list view\n const handleImport = useCallback(() => {\n if (!tempList) return\n setImportList(tempList)\n setModalView(CurrencyModalView.importList)\n setListUrl(listUrlInput)\n }, [listUrlInput, setImportList, setListUrl, setModalView, tempList])\n\n return (\n \n \n \n \n \n {addError ? (\n \n {addError}\n \n ) : null}\n \n {tempList && (\n \n \n \n \n {tempList.logoURI && }\n \n {tempList.name}\n \n {tempList.tokens.length} {t('Tokens')}\n \n \n \n {isImported ? (\n \n \n {t('Loaded')}\n \n ) : (\n \n )}\n \n \n \n )}\n \n \n {sortedLists.map((listUrl) => (\n \n ))}\n \n \n \n )\n}\n\nexport default ManageLists\n","import { useRef, RefObject, useCallback, useState, useMemo } from 'react'\nimport { Token } from '@pancakeswap/sdk'\nimport { Text, Button, CloseIcon, IconButton, LinkExternal, Input, Link } from '@pancakeswap/uikit'\nimport styled from 'styled-components'\nimport Row, { RowBetween, RowFixed } from 'components/Layout/Row'\nimport { useToken } from 'hooks/Tokens'\nimport { useRemoveUserAddedToken } from 'state/user/hooks'\nimport useUserAddedTokens from 'state/user/hooks/useUserAddedTokens'\nimport { CurrencyLogo } from 'components/Logo'\nimport { getBscScanLink, isAddress } from 'utils'\nimport { useNetwork } from 'wagmi'\nimport { getChainId } from 'config/constants/exchange'\nimport { useTranslation } from 'contexts/Localization'\nimport Column, { AutoColumn } from '../Layout/Column'\nimport ImportRow from './ImportRow'\nimport { CurrencyModalView } from './types'\n\nconst Wrapper = styled.div`\n width: 100%;\n height: calc(100% - 60px);\n position: relative;\n padding-bottom: 60px;\n`\n\nconst Footer = styled.div`\n position: absolute;\n bottom: 0;\n width: 100%;\n display: flex;\n justify-content: space-between;\n align-items: center;\n`\n\nexport default function ManageTokens({\n setModalView,\n setImportToken,\n}: {\n setModalView: (view: CurrencyModalView) => void\n setImportToken: (token: Token) => void\n}) {\n const { chain } = useNetwork()\n const chainId = getChainId(chain);\n\n const { t } = useTranslation()\n\n const [searchQuery, setSearchQuery] = useState('')\n\n // manage focus on modal show\n const inputRef = useRef()\n const handleInput = useCallback((event) => {\n const input = event.target.value\n const checksummedInput = isAddress(input)\n setSearchQuery(checksummedInput || input)\n }, [])\n\n // if they input an address, use it\n const searchToken = useToken(searchQuery)\n\n // all tokens for local list\n const userAddedTokens: Token[] = useUserAddedTokens()\n const removeToken = useRemoveUserAddedToken()\n\n const handleRemoveAll = useCallback(() => {\n if (chainId && userAddedTokens) {\n userAddedTokens.forEach((token) => {\n return removeToken(chainId, token.address)\n })\n }\n }, [removeToken, userAddedTokens, chainId])\n\n const tokenList = useMemo(() => {\n return (\n chainId &&\n userAddedTokens.map((token) => (\n \n \n \n \n {token.symbol}\n \n \n \n removeToken(chainId, token.address)}>\n \n \n \n \n \n ))\n )\n }, [userAddedTokens, chainId, removeToken])\n\n const isAddressValid = searchQuery === '' || isAddress(searchQuery)\n\n return (\n \n \n \n \n }\n onChange={handleInput}\n isWarning={!isAddressValid}\n />\n \n {!isAddressValid && {t('Enter valid token address')}}\n {searchToken && (\n setModalView(CurrencyModalView.importToken)}\n setImportToken={setImportToken}\n style={{ height: 'fit-content' }}\n />\n )}\n \n {tokenList}\n
\n \n {userAddedTokens?.length} {userAddedTokens.length === 1 ? t('Custom Token') : t('Custom Tokens')}\n \n {userAddedTokens.length > 0 && (\n \n )}\n
\n
\n
\n )\n}\n","import { useState } from 'react'\nimport { Token } from '@pancakeswap/sdk'\nimport { ButtonMenu, ButtonMenuItem, ModalBody } from '@pancakeswap/uikit'\nimport styled from 'styled-components'\nimport { TokenList } from '@uniswap/token-lists'\nimport { useTranslation } from 'contexts/Localization'\nimport ManageLists from './ManageLists'\nimport ManageTokens from './ManageTokens'\nimport { CurrencyModalView } from './types'\n\nconst StyledButtonMenu = styled(ButtonMenu)`\n width: 100%;\n`\n\nexport default function Manage({\n setModalView,\n setImportList,\n setImportToken,\n setListUrl,\n}: {\n setModalView: (view: CurrencyModalView) => void\n setImportToken: (token: Token) => void\n setImportList: (list: TokenList) => void\n setListUrl: (url: string) => void\n}) {\n const [showLists, setShowLists] = useState(true)\n\n const { t } = useTranslation()\n\n return (\n \n setShowLists((prev) => !prev)}\n scale=\"sm\"\n variant=\"subtle\"\n mb=\"32px\"\n >\n {t('Lists')}\n {t('Tokens')}\n \n {showLists ? (\n \n ) : (\n \n )}\n \n )\n}\n","import { useState, useCallback } from 'react'\nimport styled from 'styled-components'\nimport { Button, Text, Link, Flex, Checkbox, Message } from '@pancakeswap/uikit'\nimport Card from 'components/Card'\nimport { AutoColumn } from 'components/Layout/Column'\nimport { RowBetween, RowFixed } from 'components/Layout/Row'\nimport useTheme from 'hooks/useTheme'\nimport { ListLogo } from 'components/Logo'\nimport { TokenList } from '@uniswap/token-lists'\nimport { useAppDispatch } from 'state'\nimport useFetchListCallback from 'hooks/useFetchListCallback'\nimport { removeList, enableList } from 'state/lists/actions'\nimport { useAllLists } from 'state/lists/hooks'\nimport { useTranslation } from 'contexts/Localization'\n\ninterface ImportProps {\n listURL: string\n list: TokenList\n onImport: () => void\n}\n\nconst Wrapper = styled.div`\n position: relative;\n width: 100%;\n`\n\nconst TextDot = styled.div`\n height: 3px;\n width: 3px;\n background-color: ${({ theme }) => theme.colors.text};\n border-radius: 50%;\n`\n\nfunction ImportList({ listURL, list, onImport }: ImportProps) {\n const { theme } = useTheme()\n const dispatch = useAppDispatch()\n\n const { t } = useTranslation()\n\n // user must accept\n const [confirmed, setConfirmed] = useState(false)\n\n const lists = useAllLists()\n const fetchList = useFetchListCallback()\n\n // monitor is list is loading\n const adding = Boolean(lists[listURL]?.loadingRequestId)\n const [addError, setAddError] = useState(null)\n\n const handleAddList = useCallback(() => {\n if (adding) return\n setAddError(null)\n fetchList(listURL)\n .then(() => {\n dispatch(enableList(listURL))\n onImport()\n })\n .catch((error) => {\n setAddError(error.message)\n dispatch(removeList(listURL))\n })\n }, [adding, dispatch, fetchList, listURL, onImport])\n\n return (\n \n \n \n \n \n \n {list.logoURI && }\n \n \n \n {list.name}\n \n \n \n {list.tokens.length} tokens\n \n \n \n {listURL}\n \n \n \n \n \n\n \n \n \n {t('Import at your own risk')}\n \n \n {t(\n 'By adding this list you are implicitly trusting that the data is correct. Anyone can create a list, including creating fake versions of existing lists and lists that claim to represent projects that do not have one.',\n )}\n \n \n {t('If you purchase a token from this list, you may not be able to sell it back.')}\n \n \n setConfirmed(!confirmed)}\n scale=\"sm\"\n />\n \n {t('I understand')}\n \n \n \n \n\n \n {addError ? (\n \n {addError}\n \n ) : null}\n \n \n \n )\n}\n\nexport default ImportList\n","import { useCallback, useState, useRef } from 'react'\nimport { Currency, Token } from '@pancakeswap/sdk'\nimport {\n ModalContainer,\n ModalHeader,\n ModalTitle,\n ModalBackButton,\n ModalCloseButton,\n ModalBody,\n InjectedModalProps,\n Heading,\n Button,\n useMatchBreakpointsContext,\n MODAL_SWIPE_TO_CLOSE_VELOCITY,\n} from '@pancakeswap/uikit'\nimport styled from 'styled-components'\nimport usePrevious from 'hooks/usePreviousValue'\nimport { TokenList } from '@uniswap/token-lists'\nimport { useTranslation } from 'contexts/Localization'\nimport CurrencySearch from './CurrencySearch'\nimport ImportToken from './ImportToken'\nimport Manage from './Manage'\nimport ImportList from './ImportList'\nimport { CurrencyModalView } from './types'\n\nconst Footer = styled.div`\n width: 100%;\n background-color: ${({ theme }) => theme.colors.backgroundAlt};\n text-align: center;\n`\nconst StyledModalContainer = styled(ModalContainer)`\n width: 100%;\n min-width: 320px;\n max-width: 420px !important;\n`\n\nconst StyledModalBody = styled(ModalBody)`\n padding: 24px;\n overflow-y: auto;\n -ms-overflow-style: none;\n scrollbar-width: none;\n &::-webkit-scrollbar {\n display: none;\n }\n`\n\nexport interface CurrencySearchModalProps extends InjectedModalProps {\n selectedCurrency?: Currency | null\n onCurrencySelect: (currency: Currency) => void\n otherSelectedCurrency?: Currency | null\n showCommonBases?: boolean\n}\n\nexport default function CurrencySearchModal({\n onDismiss = () => null,\n onCurrencySelect,\n selectedCurrency,\n otherSelectedCurrency,\n showCommonBases = false,\n}: CurrencySearchModalProps) {\n const [modalView, setModalView] = useState(CurrencyModalView.search)\n\n const handleCurrencySelect = useCallback(\n (currency: Currency) => {\n onDismiss?.()\n onCurrencySelect(currency)\n },\n [onDismiss, onCurrencySelect],\n )\n\n // for token import view\n const prevView = usePrevious(modalView)\n\n // used for import token flow\n const [importToken, setImportToken] = useState()\n\n // used for import list\n const [importList, setImportList] = useState()\n const [listURL, setListUrl] = useState()\n\n const { t } = useTranslation()\n\n const config = {\n [CurrencyModalView.search]: { title: t('Select a Token'), onBack: undefined },\n [CurrencyModalView.manage]: { title: t('Manage'), onBack: () => setModalView(CurrencyModalView.search) },\n [CurrencyModalView.importToken]: {\n title: t('Import Tokens'),\n onBack: () =>\n setModalView(prevView && prevView !== CurrencyModalView.importToken ? prevView : CurrencyModalView.search),\n },\n [CurrencyModalView.importList]: { title: t('Import List'), onBack: () => setModalView(CurrencyModalView.search) },\n }\n const { isMobile } = useMatchBreakpointsContext()\n const wrapperRef = useRef(null)\n\n return (\n {\n if (wrapperRef.current) wrapperRef.current.style.animation = 'none'\n }}\n // @ts-ignore\n onDragEnd={(e, info) => {\n if (info.velocity.y > MODAL_SWIPE_TO_CLOSE_VELOCITY && onDismiss) onDismiss()\n }}\n ref={wrapperRef}\n >\n \n \n {config[modalView].onBack && }\n {config[modalView].title}\n \n \n \n \n {modalView === CurrencyModalView.search ? (\n setModalView(CurrencyModalView.importToken)}\n setImportToken={setImportToken}\n />\n ) : modalView === CurrencyModalView.importToken && importToken ? (\n \n ) : modalView === CurrencyModalView.importList && importList && listURL ? (\n setModalView(CurrencyModalView.manage)} />\n ) : modalView === CurrencyModalView.manage ? (\n \n ) : (\n ''\n )}\n {modalView === CurrencyModalView.search && (\n
\n setModalView(CurrencyModalView.manage)}\n className=\"list-token-manage-button\"\n >\n {t('Manage Tokens')}\n \n
\n )}\n
\n \n )\n}\n","import { useState } from 'react'\nimport { Token, Currency } from '@pancakeswap/sdk'\nimport { Button, Text, ErrorIcon, Flex, Message, Checkbox, Link, Tag, Grid } from '@pancakeswap/uikit'\nimport { AutoColumn } from 'components/Layout/Column'\nimport { useAddUserToken } from 'state/user/hooks'\nimport { getBscScanLink } from 'utils'\nimport truncateHash from 'utils/truncateHash'\nimport { useNetwork } from 'wagmi'\nimport { getChainId } from 'config/constants/exchange'\nimport { useCombinedInactiveList } from 'state/lists/hooks'\nimport { ListLogo } from 'components/Logo'\nimport { useTranslation } from 'contexts/Localization'\n\ninterface ImportProps {\n tokens: Token[]\n handleCurrencySelect?: (currency: Currency) => void\n}\n\nfunction ImportToken({ tokens, handleCurrencySelect }: ImportProps) {\n const { chain } = useNetwork()\n const chainId = getChainId(chain);\n\n const { t } = useTranslation()\n\n const [confirmed, setConfirmed] = useState(false)\n\n const addToken = useAddUserToken()\n\n // use for showing import source on inactive tokens\n const inactiveTokenList = useCombinedInactiveList()\n\n return (\n \n \n \n {t(\n 'Anyone can create a token on Shibarium with any name, including creating fake versions of existing tokens and tokens that claim to represent projects that do not have a token.',\n )}\n
\n
\n {t('If you purchase an arbitrary token, you may be unable to sell it back.')}\n
\n
\n\n {tokens.map((token) => {\n const list = chainId && inactiveTokenList?.[chainId]?.[token.address]?.list\n const address = token.address ? `${truncateHash(token.address)}` : null\n return (\n \n {list !== undefined ? (\n }\n >\n {t('via')} {list.name}\n \n ) : (\n }>\n {t('Unknown Source')}\n \n )}\n \n {token.name}\n ({token.symbol})\n \n {chainId && (\n \n {address}\n \n ({t('View on Explorer')})\n \n \n )}\n \n )\n })}\n\n \n setConfirmed(!confirmed)}>\n setConfirmed(!confirmed)}\n />\n \n {t('I understand')}\n \n \n {\n tokens.forEach((token) => addToken(token))\n if (handleCurrencySelect) {\n handleCurrencySelect(tokens[0])\n }\n }}\n className=\".token-dismiss-button\"\n >\n {t('Import')}\n \n \n
\n )\n}\n\nexport default ImportToken\n"],"names":["_templateObject","data","_tagged_template_literal","Grid","styled","Box","withConfig","componentId","flexbox","grid","StyledButtonMenu","param","theme","variant","colors","variants","fullWidth","disabled","concat","primary","textSubtle","space","_param","_activeIndex","activeIndex","_scale","scale","scales","_variant","onItemClick","children","_fullWidth","props","_object_without_properties","_jsx","_object_spread_props","_object_spread","Children","child","index","cloneElement","isActive","onClick","undefined","InactiveButton","Button","_isActive","as","forwardedAs","_obj","_obj1","scaleVariants","_define_property","height","padding","fontSize","styleVariants","backgroundColor","StyledTag","textTransform","prop","typography","outline","tmp","themeColorKey","color","background","Tag","startIcon","endIcon","_jsxs","React","mr","ml","defaultProps","TokenSection","dim","mediaQueries","md","CheckIcon","CheckmarkCircleIcon","success","NameOverflow","ImportRow","inactiveTokenList","token","style","showImportView","setImportToken","useNetwork","chain","chainId","getChainId","useMatchBreakpointsContext","isMobile","useTranslation","t","useCombinedInactiveList","list","address","isAdded","useIsUserAddedToken","useIsTokenActive","CurrencyLogo","currency","size","opacity","AutoColumn","gap","AutoRow","Text","symbol","title","name","logoURI","RowFixed","ListLogo","minWidth","width","currencyKey","Token","ETHER","StyledBalanceText","FixedContentRow","Balance","balance","toExact","toSignificant","MenuItem","RowBetween","selected","CurrencyRow","onSelect","isSelected","otherSelected","useAccount","key","selectedTokenList","useCombinedActiveList","isOnSelectedList","isTokenOnList","customAdded","useCurrencyBalance","className","Column","bold","ellipsis","maxWidth","justifySelf","CircleLoader","CurrencyList","currencies","inactiveCurrencies","selectedCurrency","onCurrencySelect","otherCurrency","fixedListRef","showBNB","breakIndex","itemData","useMemo","formatted","Currency","slice","length","Row","useCallback","Boolean","currencyEquals","wrappedCurrency","showImport","LightGreyCard","borderRadius","small","QuestionHelper","text","itemKey","FixedSizeList","ref","itemCount","itemSize","createFilterToken","search","searchingAddress","isAddress","toLowerCase","lowerSearchParts","split","filter","s","matchesSearch","sParts","s_","every","p","some","sp","startsWith","endsWith","inverted","balances","useAllTokenBalances","comparator","tokenA","tokenB","balanceA","balanceB","balanceComp","greaterThan","equalTo","getTokenComparator","otherSelectedCurrency","showCommonBases","fixedList","useRef","useState","searchQuery","setSearchQuery","debouncedQuery","useDebounce","invertSearchOrder","allTokens","useAllTokens","searchToken","useToken","searchTokenIsAdded","audioPlay","useAudioModeManager","trim","filteredQueryTokens","tokens","trimmedSearchQuery","symbolMatch","exactMatches","symbolSubstrings","rest","forEach","tokenSymbol","push","useSortedTokensByQuery","filterToken","Object","values","filteredSortedTokens","useTokenComparator","handleCurrencySelect","inputRef","useEffect","current","focus","handleInput","event","input","target","value","checksummedInput","scrollTo","handleEnter","e","filteredInactiveTokens","minResults","lists","useAllLists","inactiveUrls","useInactiveListUrls","activeTokens","addressSet","url","tokenInfo","tags","map","tagId","id","x","wrapped","WrappedTokenInfo","useSearchInactiveTokenLists","hasFilteredInactiveTokens","getCurrencyListRows","margin","textAlign","mb","Input","placeholder","autoComplete","onChange","onKeyDown","CurrencyModalView","manage","importToken","importList","Wrapper","RowWrapper","active","tertiary","listUrlRowHTMLId","listUrl","replace","ListRow","memo","version","listsByUrl","useSelector","state","byUrl","dispatch","useAppDispatch","pendingUpdate","useIsListActive","handleAcceptListUpdate","pending","acceptListUpdate","handleRemoveList","window","confirm","removeList","handleEnableList","enableList","handleDisableList","disableList","useTooltip","div","major","minor","patch","LinkExternal","external","href","keys","placement","trigger","targetRef","tooltip","tooltipVisible","marginRight","alt","flex","mt","span","CogIcon","Toggle","checked","ListContainer","setModalView","setImportList","setListUrl","listUrlInput","setListUrlInput","activeListUrls","useActiveListUrls","activeCopy","setActiveCopy","fetchList","useFetchListCallback","validUrl","uriToHttp","sortedLists","UNSUPPORTED_LIST_URLS","sort","u1","u2","includes","l1","l2","keyword","tempList","setTempList","addError","setAddError","fetchTempList","then","catch","isImported","handleImport","textOverflow","overflow","paddingTop","Card","marginLeft","CheckmarkIcon","Footer","ManageTokens","userAddedTokens","useUserAddedTokens","removeToken","useRemoveUserAddedToken","handleRemoveAll","tokenList","Link","getBscScanLink","IconButton","CloseIcon","isAddressValid","isWarning","ButtonMenu","Manage","showLists","setShowLists","ModalBody","prev","ButtonMenuItem","ManageLists","TextDot","listURL","onImport","useTheme","confirmed","setConfirmed","adding","loadingRequestId","handleAddList","error","message","Message","Flex","flexDirection","failure","alignItems","Checkbox","type","userSelect","backgroundAlt","StyledModalContainer","ModalContainer","StyledModalBody","CurrencySearchModal","onDismiss","modalView","prevView","usePrevious","config","onBack","wrapperRef","drag","dragConstraints","top","bottom","dragElastic","dragSnapToOrigin","onDragStart","animation","onDragEnd","info","velocity","y","MODAL_SWIPE_TO_CLOSE_VELOCITY","ModalHeader","ModalTitle","ModalBackButton","Heading","ModalCloseButton","CurrencySearch","ImportToken","ImportList","addToken","useAddUserToken","br","truncateHash","gridTemplateRows","gridGap","ErrorIcon","justifyContent"],"sourceRoot":""}