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AAW,SAAS0J,SAAU,aAC7EvB,EAAeE,OAAO,KAI3B,GAAAhF,EAAAtJ,GAAA,EAAC4P,EAAAA,CAAQA,CAAAA,CAAChL,MAAOyJ,EAAAA,EAAWA,CAACE,GAAG,UAC9B,GAAAjF,EAAAtJ,GAAA,EAACuG,OAAAA,UAAM6H,EAAeG,GAAG,aAjC1B,IAuCX,EC9BArG,SAxB2B,KACzB,GAAM,CAAEN,MAAAA,CAAK,CAAE,CAAGmD,CAAAA,EAAAA,EAAAA,CAAAA,IAElB,MACE,GAAAzB,EAAApI,IAAA,EAAAoI,EAAArI,QAAA,YACE,GAAAqI,EAAAtJ,GAAA,EAAC6P,IAAIA,UACH,GAAAvG,EAAAtJ,GAAA,EAAC6F,QAAAA,UAAO,4BAGV,GAAAyD,EAAAtJ,GAAA,EAAC8P,EAAAA,CAAYA,CAAAA,UACX,GAAAxG,EAAAtJ,GAAA,EAAC+P,yBAAeA,CAAAA,KAGlB,GAAAzG,EAAAtJ,GAAA,EAACgQ,OAAAA,UACEpI,EACC,GAAA0B,EAAAtJ,GAAA,EAACiQ,EAAAA,CAAeA,CAAAA,CAACC,IAAK,GAAA5G,EAAAtJ,GAAA,EAACmQ,UAAYA,CAAAA,GAAKpL,KAAK,2CAE7C,GAAAuE,EAAAtJ,GAAA,EAACoQ,qBAAWA,CAAAA,OAKtB,oBChCAC,EAAAC,OAAA,EAAkB,oFCAlBD,EAAAC,OAAA,EAAkB,wNCAlBD,EAAAC,OAAA,EAAkB,oGCAlBD,EAAAC,OAAA,EAAkB","sources":["webpack://_N_E/?c758","webpack://_N_E/./src/components/common/EnhancedTable/index.tsx","webpack://_N_E/./src/components/common/OnboardingTooltip/index.tsx","webpack://_N_E/./src/components/common/TokenAmount/index.tsx","webpack://_N_E/./src/components/common/TokenIcon/index.tsx","webpack://_N_E/./src/hooks/useBalances.ts","webpack://_N_E/./src/hooks/useSpendingLimit.ts","webpack://_N_E/./src/components/common/TokenExplorerLink/index.tsx","webpack://_N_E/./src/components/balances/AssetsTable/index.tsx","webpack://_N_E/./public/images/balances/no-assets.svg","webpack://_N_E/./src/components/balances/TokenListSelect/index.tsx","webpack://_N_E/./src/pages/balances/index.tsx","webpack://_N_E/./src/components/balances/AssetsTable/styles.module.css","webpack://_N_E/./src/components/common/EnhancedTable/styles.module.css","webpack://_N_E/./src/components/common/TokenAmount/styles.module.css","webpack://_N_E/./src/components/common/TokenIcon/styles.module.css","webpack://_N_E/"],"sourcesContent":["\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/balances\",\n function () {\n return require(\"private-next-pages/balances/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/balances\"])\n });\n }\n ","import type { ChangeEvent, ReactNode } from 'react'\nimport React, { useState } from 'react'\nimport Box from '@mui/material/Box'\nimport Table from '@mui/material/Table'\nimport TableBody from '@mui/material/TableBody'\nimport type { SortDirection } from '@mui/material/TableCell'\nimport TableCell from '@mui/material/TableCell'\nimport TableContainer from '@mui/material/TableContainer'\nimport TableHead from '@mui/material/TableHead'\nimport TablePagination from '@mui/material/TablePagination'\nimport TableRow from '@mui/material/TableRow'\nimport TableSortLabel from '@mui/material/TableSortLabel'\nimport Paper from '@mui/material/Paper'\nimport { visuallyHidden } from '@mui/utils'\nimport classNames from 'classnames'\n\nimport css from './styles.module.css'\nimport { Collapse } from '@mui/material'\n\ntype EnhancedCell = {\n content: ReactNode\n rawValue: string | number\n sticky?: boolean\n}\n\ntype EnhancedRow = {\n selected?: boolean\n collapsed?: boolean\n key?: string\n cells: Record\n}\n\ntype EnhancedHeadCell = {\n id: string\n label: ReactNode\n width?: string\n sticky?: boolean\n}\n\nfunction descendingComparator(a: EnhancedRow, b: EnhancedRow, orderBy: string) {\n if (b.cells[orderBy].rawValue < a.cells[orderBy].rawValue) {\n return -1\n }\n if (b.cells[orderBy].rawValue > a.cells[orderBy].rawValue) {\n return 1\n }\n return 0\n}\n\nfunction getComparator(order: SortDirection, orderBy: string) {\n return order === 'desc'\n ? (a: any, b: any) => descendingComparator(a, b, orderBy)\n : (a: any, b: any) => -descendingComparator(a, b, orderBy)\n}\n\ntype EnhancedTableHeadProps = {\n headCells: EnhancedHeadCell[]\n onRequestSort: (property: string) => void\n order: 'asc' | 'desc'\n orderBy: string\n}\n\nfunction EnhancedTableHead(props: EnhancedTableHeadProps) {\n const { headCells, order, orderBy, onRequestSort } = props\n const createSortHandler = (property: string) => () => {\n onRequestSort(property)\n }\n\n return (\n \n \n {headCells.map((headCell) => (\n \n {headCell.label && (\n <>\n \n {headCell.label}\n {orderBy === headCell.id ? (\n \n {order === 'desc' ? 'sorted descending' : 'sorted ascending'}\n \n ) : null}\n \n \n )}\n \n ))}\n \n \n )\n}\n\nexport type EnhancedTableProps = {\n rows: EnhancedRow[]\n headCells: EnhancedHeadCell[]\n mobileVariant?: boolean\n children?: ReactNode\n}\n\nconst pageSizes = [10, 25, 100]\n\nfunction EnhancedTable({ rows, headCells, mobileVariant, children }: EnhancedTableProps) {\n const [order, setOrder] = useState<'asc' | 'desc'>('asc')\n const [orderBy, setOrderBy] = useState('')\n const [page, setPage] = useState(0)\n const [rowsPerPage, setRowsPerPage] = useState(pageSizes[1])\n\n const handleRequestSort = (property: string) => {\n const isAsc = orderBy === property && order === 'asc'\n setOrder(isAsc ? 'desc' : 'asc')\n setOrderBy(property)\n }\n\n const handleChangePage = (_: any, newPage: number) => {\n setPage(newPage)\n }\n\n const handleChangeRowsPerPage = (event: ChangeEvent) => {\n setRowsPerPage(parseInt(event.target.value, 10))\n setPage(0)\n }\n\n const orderedRows = orderBy ? rows.slice().sort(getComparator(order, orderBy)) : rows\n const pagedRows = orderedRows.slice(page * rowsPerPage, page * rowsPerPage + rowsPerPage)\n\n return (\n \n \n \n \n \n {pagedRows.length > 0\n ? pagedRows.map((row, index) => (\n \n {Object.entries(row.cells).map(([key, cell]) => (\n \n \n {cell.content}\n \n \n ))}\n \n ))\n : !children && (\n // Prevent no `tbody` rows hydration error\n \n \n \n )}\n {children}\n \n
\n
\n\n {rows.length > pagedRows.length && (\n \n )}\n
\n )\n}\n\nexport default EnhancedTable\n","import type { ReactElement } from 'react'\nimport useLocalStorage from '@/services/local-storage/useLocalStorage'\nimport type { TooltipProps } from '@mui/material'\nimport { Box, Button, SvgIcon, Tooltip } from '@mui/material'\nimport InfoIcon from '@/public/images/notifications/info.svg'\nimport { useDarkMode } from '@/hooks/useDarkMode'\n\n/**\n * The OnboardingTooltip renders a sticky Tooltip with an arrow pointing towards the wrapped component.\n * This Tooltip contains a button to hide it. This decision will be stored in the local storage such that the OnboardingTooltip will only popup until clicked away once.\n * Also allows a post tooltip to be shown after the initial tooltip is hidden.\n */\nexport const OnboardingTooltip = ({\n children,\n widgetLocalStorageId,\n text,\n postText,\n initiallyShown = true,\n className,\n placement,\n open,\n onOpen,\n onClose,\n}: {\n children: ReactElement // NB: this has to be an actual HTML element, otherwise the Tooltip will not work\n widgetLocalStorageId: string\n text: string | ReactElement\n postText?: string | ReactElement\n initiallyShown?: boolean\n className?: string\n placement?: TooltipProps['placement']\n open?: boolean\n onOpen?: () => void\n onClose?: () => void\n}): ReactElement => {\n const [widgetHidden = !initiallyShown, setWidgetHidden] = useLocalStorage(widgetLocalStorageId)\n const isDarkMode = useDarkMode()\n\n if (widgetHidden && postText) {\n return (\n \n {children}\n \n )\n }\n\n if (widgetHidden || !text) {\n return children\n }\n\n return (\n \n \n {text}\n setWidgetHidden(true)}\n >\n Got it!\n \n \n }\n >\n {children}\n \n )\n}\n","import { type ReactElement } from 'react'\nimport { TransferDirection } from '@safe-global/safe-gateway-typescript-sdk'\nimport css from './styles.module.css'\nimport { formatVisualAmount } from '@/utils/formatters'\nimport TokenIcon from '../TokenIcon'\nimport classNames from 'classnames'\n\nconst TokenAmount = ({\n value,\n decimals,\n logoUri,\n tokenSymbol,\n direction,\n fallbackSrc,\n}: {\n value: string\n decimals?: number\n logoUri?: string\n tokenSymbol?: string\n direction?: TransferDirection\n fallbackSrc?: string\n}): ReactElement => {\n const sign = direction === TransferDirection.OUTGOING ? '-' : ''\n const amount = decimals ? formatVisualAmount(value, decimals) : value\n\n return (\n \n {logoUri && }\n {sign}\n {amount} {tokenSymbol}\n \n )\n}\n\nexport default TokenAmount\n","import { type ReactElement } from 'react'\nimport ImageFallback from '../ImageFallback'\nimport css from './styles.module.css'\n\nconst FALLBACK_ICON = '/images/common/token-placeholder.svg'\n\nconst TokenIcon = ({\n logoUri,\n tokenSymbol,\n size = 26,\n fallbackSrc,\n}: {\n logoUri?: string\n tokenSymbol?: string\n size?: number\n fallbackSrc?: string\n}): ReactElement => {\n return (\n \n )\n}\n\nexport default TokenIcon\n","import { useMemo } from 'react'\nimport isEqual from 'lodash/isEqual'\nimport { useAppSelector } from '@/store'\nimport { selectBalances } from '@/store/balancesSlice'\nimport type { TokenItem } from '@/hooks/loadables/useLoadBalances'\n\nconst useBalances = (): {\n balances: Array\n loading: boolean\n error?: string\n} => {\n const { data, error, loading } = useAppSelector(selectBalances, isEqual)\n\n return useMemo(\n () => ({\n balances: data ?? [],\n error,\n loading: loading || data == undefined,\n }),\n [data, error, loading],\n )\n}\n\nexport default useBalances\n","import { useSelector } from 'react-redux'\nimport type { TokenInfo } from '@safe-global/safe-gateway-typescript-sdk'\nimport useWallet from '@/hooks/wallets/useWallet'\nimport type { SpendingLimitState } from '@/store/spendingLimitsSlice'\nimport { selectSpendingLimits } from '@/store/spendingLimitsSlice'\nimport { sameAddress } from '@/utils/addresses'\n\nconst useSpendingLimit = (selectedToken?: TokenInfo): SpendingLimitState | undefined => {\n const wallet = useWallet()\n const spendingLimits = useSelector(selectSpendingLimits)\n\n return spendingLimits.find(\n (spendingLimit) =>\n sameAddress(spendingLimit.token.address, selectedToken?.address) &&\n sameAddress(spendingLimit.beneficiary, wallet?.address),\n )\n}\n\nexport default useSpendingLimit\n","import { type ReactElement } from 'react'\nimport ExplorerButton from '@/components/common/ExplorerButton'\nimport { useCurrentChain } from '@/hooks/useChains'\nimport { getBlockExplorerLink } from '@/utils/chains'\nimport { Typography } from '@mui/material'\n\nconst ExplorerLink = ({ address }: { address: string }): ReactElement | null => {\n const currentChain = useCurrentChain()\n const link = currentChain ? getBlockExplorerLink(currentChain, address) : undefined\n\n if (!link) return null\n\n return (\n \n \n \n )\n}\n\nexport default ExplorerLink\n","import { type ReactElement, useContext } from 'react'\nimport { Button, Tooltip, Typography, IconButton, Box, Skeleton, TableRow, TableCell } from '@mui/material'\nimport type { TokenInfo } from '@safe-global/safe-gateway-typescript-sdk'\nimport { TokenType } from '@safe-global/safe-gateway-typescript-sdk'\nimport css from './styles.module.css'\nimport TokenAmount from '@/components/common/TokenAmount'\nimport TokenIcon from '@/components/common/TokenIcon'\nimport EnhancedTable, { type EnhancedTableProps } from '@/components/common/EnhancedTable'\nimport TokenExplorerLink from '@/components/common/TokenExplorerLink'\nimport { VisibilityOutlined } from '@mui/icons-material'\nimport useBalances from '@/hooks/useBalances'\nimport CheckWallet from '@/components/common/CheckWallet'\nimport useSpendingLimit from '@/hooks/useSpendingLimit'\nimport { TxModalContext } from '@/components/tx-flow'\nimport { TokenTransferFlow } from '@/components/tx-flow/flows'\nimport AddTokenOrCollectible from '@/components/common/AddTokenOrCollectible'\nimport { useRemoveToken } from '@/hooks/useRemoveTokenOrCollectible'\n\nconst skeletonCells: EnhancedTableProps['rows'][0]['cells'] = {\n asset: {\n rawValue: '0x0',\n content: (\n
\n \n \n \n \n
\n ),\n },\n balance: {\n rawValue: '0',\n content: (\n \n \n \n ),\n },\n value: {\n rawValue: '0',\n content: (\n \n \n \n ),\n },\n actions: {\n rawValue: '',\n sticky: true,\n content:
,\n },\n}\n\nconst skeletonRows: EnhancedTableProps['rows'] = Array(3).fill({ cells: skeletonCells })\n\nconst isNativeToken = (tokenInfo: TokenInfo) => {\n return tokenInfo.type === TokenType.NATIVE_TOKEN\n}\n\nconst headCells = [\n {\n id: 'asset',\n label: 'Asset',\n width: '60%',\n },\n {\n id: 'balance',\n label: 'Balance',\n width: '30%',\n },\n {\n id: 'actions',\n label: '',\n width: '30%',\n sticky: true,\n },\n]\n\nconst SendButton = ({\n tokenInfo,\n onClick,\n}: {\n tokenInfo: TokenInfo\n onClick: (tokenAddress: string) => void\n}): ReactElement => {\n const spendingLimit = useSpendingLimit(tokenInfo)\n\n return (\n \n {(isOk) => (\n onClick(tokenInfo.address)}\n disabled={!isOk}\n >\n Send\n \n )}\n \n )\n}\n\nconst AssetsTable = (): ReactElement => {\n const { balances, loading } = useBalances()\n const { setTxFlow } = useContext(TxModalContext)\n\n const { removing: removingToken, remove: removeToken } = useRemoveToken()\n\n const onSendClick = (tokenAddress: string) => {\n setTxFlow()\n }\n\n const rows = loading\n ? skeletonRows\n : balances.map((item) => {\n const isNative = isNativeToken(item.tokenInfo)\n\n return {\n key: item.tokenInfo.address,\n collapsed: item.tokenInfo.address === removingToken,\n cells: {\n asset: {\n rawValue: item.tokenInfo.name,\n collapsed: item.tokenInfo.address === removingToken,\n content: (\n
\n \n\n {item.tokenInfo.name}\n\n {!isNative && }\n
\n ),\n },\n balance: {\n rawValue: Number(item.balance) / 10 ** item.tokenInfo.decimals,\n collapsed: item.tokenInfo.address === removingToken,\n content: (\n \n ),\n },\n actions: {\n rawValue: '',\n sticky: true,\n collapsed: item.tokenInfo.address === removingToken,\n content: (\n \n <>\n onSendClick(item.tokenInfo.address)} />\n\n {item.custom && (\n \n removeToken(item.tokenInfo.address)}\n >\n \n \n \n )}\n \n \n ),\n },\n },\n }\n })\n\n return (\n <>\n
\n \n \n \n \n \n \n \n \n
\n \n )\n}\n\nexport default AssetsTable\n","var _path, _path2;\nvar _excluded = [\"title\", \"titleId\"];\nfunction _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\nimport * as React from \"react\";\nvar SvgNoAssets = function SvgNoAssets(_ref) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 65,\n height: 64,\n viewBox: \"0 0 65 64\",\n fill: \"none\",\n xmlns: \"http://www.w3.org/2000/svg\",\n \"aria-labelledby\": titleId\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", {\n id: titleId\n }, title) : null, _path || (_path = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M39.3016 47.8791V50.4924C39.3016 51.2782 38.6651 51.9147 37.8794 51.9147H14.082C13.2963 51.9147 12.6598 51.2782 12.6598 50.4924L12.6527 26.7022C12.6563 25.9164 13.2891 25.28 14.0749 25.28H16.6954C17.0865 25.28 17.4065 24.96 17.4065 24.5689V21.2302C17.4065 20.8391 17.0865 20.5191 16.6954 20.5191H13.7691C12.9834 20.5191 12.3469 21.1556 12.3469 21.9413V23.5271C12.3469 24.3129 11.714 24.9493 10.9283 24.9529H10.1994L9.31404 24.96C8.53182 24.96 7.89893 25.6 7.89893 26.3822V50.8373C7.89893 51.6231 8.53537 52.2596 9.32115 52.2596H10.9247C11.7105 52.2596 12.3469 52.896 12.3469 53.6818V55.2533C12.3469 56.0391 12.9834 56.6756 13.7691 56.6756H38.1851C38.9709 56.6756 39.6074 56.0391 39.6074 55.2569V53.6604C39.6074 52.8782 40.2403 52.2453 41.026 52.2418H41.8154L41.8474 52.2382H42.6403C43.4225 52.2311 44.0554 51.5947 44.0554 50.8124V47.8791C44.0554 47.488 43.7354 47.168 43.3443 47.168H40.0127C39.6216 47.168 39.3016 47.488 39.3016 47.8791Z\",\n className: \"illustration-light-fill\"\n })), _path2 || (_path2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M57.1722 37.6889V13.3476C57.1722 12.5618 56.5322 11.9253 55.7464 11.9253H54.1571C53.3713 11.9289 52.7349 11.296 52.7313 10.5102V8.81066C52.7242 8.02844 52.0878 7.392 51.3055 7.392H26.8824C26.0967 7.392 25.4602 8.02844 25.4602 8.81422V10.4071C25.4602 11.1893 24.8273 11.8258 24.0451 11.8293L22.4273 11.8364C21.6451 11.8364 21.0122 12.4764 21.0122 13.2587V37.7138C21.0122 38.4996 21.6487 39.136 22.4344 39.136H24.038C24.8238 39.136 25.4602 39.7724 25.4602 40.5582V42.1298C25.4602 42.9156 26.0967 43.552 26.8824 43.552H51.302C52.0878 43.552 52.7242 42.9156 52.7242 42.1298V40.5369C52.7242 39.7547 53.3571 39.1182 54.1393 39.1147L55.7535 39.1076C56.5358 39.1076 57.1687 38.4676 57.1687 37.6853L57.1722 37.6889ZM50.9962 38.7911H27.1953C26.4095 38.7911 25.7731 38.1547 25.7731 37.3689L25.766 13.5787C25.766 12.7929 26.4024 12.1564 27.1882 12.1564H50.9855C51.7713 12.1564 52.4078 12.7929 52.4078 13.5787L52.4149 37.3689C52.4149 38.1547 51.7784 38.7911 50.9926 38.7911H50.9962Z\",\n className: \"illustration-light-fill\"\n })));\n};\nexport default SvgNoAssets;","import { useAppDispatch, useAppSelector } from '@/store'\nimport { selectSettings, setTokenList, TOKEN_LISTS } from '@/store/settingsSlice'\nimport { FEATURES } from '@/utils/chains'\nimport type { SelectChangeEvent } from '@mui/material'\nimport { Box, FormControl, InputLabel, Select, MenuItem } from '@mui/material'\nimport { OnboardingTooltip } from '@/components/common/OnboardingTooltip'\nimport { useHasFeature } from '@/hooks/useChains'\n\nconst LS_TOKENLIST_ONBOARDING = 'tokenlist_onboarding'\n\nconst TokenListLabel = {\n [TOKEN_LISTS.TRUSTED]: 'None',\n [TOKEN_LISTS.ALL]: 'Uniswap Labs',\n}\n\nconst TokenListSelect = () => {\n const dispatch = useAppDispatch()\n const settings = useAppSelector(selectSettings)\n const hasDefaultTokenlist = useHasFeature(FEATURES.DEFAULT_TOKENLIST)\n\n const handleSelectTokenList = (event: SelectChangeEvent) => {\n const selectedString = event.target.value as TOKEN_LISTS\n dispatch(setTokenList(selectedString))\n }\n\n if (!hasDefaultTokenlist) {\n return null\n }\n\n return (\n \n Token list\n\n \n By default, we show only tokens you add.\n
\n You can also use the Uniswap Labs token list (but be aware this will rely on external sites for logos).\n \n }\n >\n TokenListLabel[value]}\n sx={{ minWidth: '152px' }}\n >\n \n \n {TokenListLabel.TRUSTED}\n \n \n\n \n {TokenListLabel.ALL}\n \n \n \n
\n )\n}\n\nexport default TokenListSelect\n","import type { NextPage } from 'next'\nimport Head from 'next/head'\n\nimport AssetsTable from '@/components/balances/AssetsTable'\nimport AssetsHeader from '@/components/balances/AssetsHeader'\nimport useBalances from '@/hooks/useBalances'\n\nimport PagePlaceholder from '@/components/common/PagePlaceholder'\nimport NoAssetsIcon from '@/public/images/balances/no-assets.svg'\nimport TokenListSelect from '@/components/balances/TokenListSelect'\n\nconst Balances: NextPage = () => {\n const { error } = useBalances()\n\n return (\n <>\n \n {'Eternal Safe – Assets'}\n \n\n \n \n \n\n
\n {error ? (\n } text=\"There was an error loading your assets\" />\n ) : (\n \n )}\n
\n \n )\n}\n\nexport default Balances\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__g7ttP\",\"token\":\"styles_token__AgZX_\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"tableCell\":\"styles_tableCell___4sMa\",\"collapsedCell\":\"styles_collapsedCell__M_3f8\",\"collapsedRow\":\"styles_collapsedRow__Zwb1R\",\"actions\":\"styles_actions__ZIRNt\",\"mobileColumn\":\"styles_mobileColumn__ubx77\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"container\":\"styles_container__E8CeT\",\"verticalAlign\":\"styles_verticalAlign__pkWnF\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"image\":\"styles_image__bi1_f\"};"],"names":["window","__NEXT_P","push","__webpack_require__","descendingComparator","a","b","orderBy","cells","rawValue","EnhancedTableHead","props","headCells","order","onRequestSort","createSortHandler","property","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsx","TableHead","TableRow","map","TableCell","align","padding","sortDirection","headCell","id","sx","width","undefined","className","classNames","sticky","label","Fragment","jsxs","TableSortLabel","active","direction","onClick","Box","component","visuallyHidden","pageSizes","__webpack_exports__","Z","param","rows","mobileVariant","children","setOrder","useState","setOrderBy","page","setPage","rowsPerPage","setRowsPerPage","orderedRows","slice","sort","pagedRows","TableContainer","Paper","mb","Table","aria-labelledby","css","isAsc","TableBody","length","row","index","tabIndex","selected","collapsed","Object","entries","key","cell","Collapse","in","enter","content","TablePagination","rowsPerPageOptions","count","onPageChange","_","newPage","onRowsPerPageChange","parseInt","event","target","value","OnboardingTooltip","widgetLocalStorageId","text","postText","initiallyShown","placement","open","onOpen","onClose","widgetHidden","setWidgetHidden","useLocalStorage","isDarkMode","useDarkMode","Tooltip","PopperProps","title","disableInteractive","arrow","display","alignItems","gap","SvgIcon","InfoIcon","inheritViewBox","fontSize","span","Button","size","color","variant","whiteSpace","decimals","logoUri","tokenSymbol","fallbackSrc","sign","TransferDirection","OUTGOING","amount","formatVisualAmount","TokenIcon","ImageFallback","src","alt","height","data","error","loading","useAppSelector","selectBalances","isEqual","useMemo","balances","wallet","useWallet","spendingLimits","useSelector","selectSpendingLimits","find","sameAddress","spendingLimit","token","address","selectedToken","beneficiary","_path","_path2","TokenExplorerLink","currentChain","useCurrentChain","link","getBlockExplorerLink","jsx_runtime","Typography","ExplorerButton","href","skeletonCells","asset","div","Skeleton","balance","actions","skeletonRows","Array","fill","isNativeToken","tokenInfo","type","TokenType","NATIVE_TOKEN","SendButton","useSpendingLimit","CheckWallet","allowSpendingLimit","disabled","isOk","balances_AssetsTable","useBalances","setTxFlow","useContext","TxModalContext","removing","removingToken","remove","removeToken","useRemoveToken","onSendClick","TokenTransferFlow","tokenAddress","isNative","item","name","symbol","Number","TokenAmount","flexDirection","custom","IconButton","VisibilityOutlined","EnhancedTable","colSpan","AddTokenOrCollectible","_excluded","_extends","assign","bind","i","arguments","source","prototype","hasOwnProperty","call","apply","no_assets","_ref","titleId","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceKeys","keys","indexOf","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","react","createElement","viewBox","xmlns","d","TokenListLabel","TOKEN_LISTS","TRUSTED","ALL","balances_TokenListSelect","dispatch","useAppDispatch","settings","selectSettings","hasDefaultTokenlist","useHasFeature","FEATURES","DEFAULT_TOKENLIST","FormControl","InputLabel","br","Select","labelId","tokenList","onChange","selectedString","setTokenList","renderValue","minWidth","MenuItem","Head","AssetsHeader","TokenListSelect","main","PagePlaceholder","img","NoAssetsIcon","AssetsTable","module","exports"],"sourceRoot":""}