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AAI,GAACC,GAAI,GAAIC,GAAI,EAAGJ,KAAM,WAC9B,GAAAzI,EAAAxB,IAAA,EAACO,MAAAA,CAAIC,UAAWM,IAAAA,OAAW,WACzB,GAAAU,EAAAtC,GAAA,EAACmH,EAAAA,CAAGA,CAAAA,CAACkE,SAAU,CAAEC,GAAI,GAAI,EAAGhK,UAAWM,IAAAA,OAAW,UAChD,GAAAU,EAAAtC,GAAA,EAACuL,EAAAA,CAAcA,CAAAA,CAAAA,KAGjB,GAAAjJ,EAAAtC,GAAA,EAACkC,EAAAA,CAAUA,CAAAA,CAACjB,QAAQ,KAAKkE,SAAU,CAAC,GAAI,KAAM,GAAG,CAAEqG,WAAY,EAAGC,cAAe,KAAM3J,MAAM,uBAAc,iCAI3G,GAAAQ,EAAAxB,IAAA,EAACoB,EAAAA,CAAUA,CAAAA,CAACuC,GAAI,EAAG3C,MAAM,wBAAc,8DACuB,eAAe,OAG7E,GAAAQ,EAAAxB,IAAA,EAAC4K,KAAAA,CAAGpK,UAAWM,IAAAA,UAAc,WAC3B,GAAAU,EAAAtC,GAAA,EAACqK,eAAAA,CAAeC,KAAK,iCACrB,GAAAhI,EAAAtC,GAAA,EAACqK,eAAAA,CAAeC,KAAK,kCACrB,GAAAhI,EAAAtC,GAAA,EAACqK,eAAAA,CAAeC,KAAK,mDCzBnCqB,QAZ0B,IAEtB,GAAArJ,EAAAxB,IAAA,EAAAwB,EAAAvB,QAAA,YACE,GAAAuB,EAAAtC,GAAA,EAAC4L,IAAIA,UACH,GAAAtJ,EAAAtC,GAAA,EAAC8E,QAAAA,UAAO,6BAGV,GAAAxC,EAAAtC,GAAA,EAAC6L,gBAAOA,CAAAA,yBCVdC,EAAApM,OAAA,EAAkB,kGCAlBoM,EAAApM,OAAA,EAAkB","sources":["webpack://_N_E/./node_modules/@mui/icons-material/RotateLeft.js","webpack://_N_E/?cc41","webpack://_N_E/./src/components/welcome/SafeListDrawer/index.tsx","webpack://_N_E/./src/components/welcome/WelcomeLogin/LoadSafe.tsx","webpack://_N_E/./src/components/welcome/WelcomeLogin/LoadRPCUrl.tsx","webpack://_N_E/./src/components/welcome/WelcomeLogin/index.tsx","webpack://_N_E/./public/images/common/check-filled.svg","webpack://_N_E/./src/components/welcome/NewSafe.tsx","webpack://_N_E/./src/pages/welcome/index.tsx","webpack://_N_E/./src/components/welcome/WelcomeLogin/styles.module.css","webpack://_N_E/./src/components/welcome/styles.module.css","webpack://_N_E/"],"sourcesContent":["\"use strict\";\n\"use client\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\nvar _createSvgIcon = _interopRequireDefault(require(\"./utils/createSvgIcon\"));\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nvar _default = (0, _createSvgIcon.default)( /*#__PURE__*/(0, _jsxRuntime.jsx)(\"path\", {\n d: \"M7.11 8.53 5.7 7.11C4.8 8.27 4.24 9.61 4.07 11h2.02c.14-.87.49-1.72 1.02-2.47zM6.09 13H4.07c.17 1.39.72 2.73 1.62 3.89l1.41-1.42c-.52-.75-.87-1.59-1.01-2.47zm1.01 5.32c1.16.9 2.51 1.44 3.9 1.61V17.9c-.87-.15-1.71-.49-2.46-1.03L7.1 18.32zM13 4.07V1L8.45 5.55 13 10V6.09c2.84.48 5 2.94 5 5.91s-2.16 5.43-5 5.91v2.02c3.95-.49 7-3.85 7-7.93s-3.05-7.44-7-7.93z\"\n}), 'RotateLeft');\nexports.default = _default;","\n (window.__NEXT_P = window.__NEXT_P || []).push([\n \"/welcome\",\n function () {\n return require(\"private-next-pages/welcome/index.tsx\");\n }\n ]);\n if(module.hot) {\n module.hot.dispose(function () {\n window.__NEXT_P.push([\"/welcome\"])\n });\n }\n ","import React, { useState } from 'react'\nimport SafeList from '@/components/sidebar/SafeList'\nimport { DataWidget } from '@/components/welcome/SafeListDrawer/DataWidget'\nimport { Button, Drawer, Typography } from '@mui/material'\nimport ChevronRightIcon from '@mui/icons-material/ChevronRight'\nimport { useAppSelector } from '@/store'\nimport { selectTotalAdded } from '@/store/addedSafesSlice'\nimport drawerCSS from '@/components/sidebar/Sidebar/styles.module.css'\nimport css from './styles.module.css'\n\nconst SafeListDrawer = () => {\n const totalNumberOfSafes = useAppSelector(selectTotalAdded)\n const [showSidebar, setShowSidebar] = useState(false)\n\n const closeSidebar = () => setShowSidebar(false)\n\n if (totalNumberOfSafes <= 0) {\n return null\n }\n\n return (\n <>\n \n
\n \n\n
\n \n
\n
\n
\n }\n onClick={() => setShowSidebar(true)}\n >\n \n My Safe Accounts{' '}\n \n ({totalNumberOfSafes})\n \n \n \n \n )\n}\n\nexport default SafeListDrawer\n","import { Button } from '@mui/material'\nimport { AppRoutes } from '@/config/routes'\n\nconst LoadSafe = () => {\n return (\n \n Load Safe\n \n )\n}\n\nexport default LoadSafe\n","import { Button, IconButton, InputAdornment, SvgIcon, TextField, Tooltip, Typography } from '@mui/material'\nimport RotateLeftIcon from '@mui/icons-material/RotateLeft'\nimport { useAppDispatch, useAppSelector } from '@/store'\nimport { selectSettings, setRpc } from '@/store/settingsSlice'\nimport { useForm, FormProvider } from 'react-hook-form'\nimport useChainId from '@/hooks/useChainId'\nimport InfoIcon from '@/public/images/notifications/info.svg'\n\nexport enum LoadRPCVariablesField {\n rpc = 'rpc',\n}\n\nexport type LoadRPCFormData = {\n [LoadRPCVariablesField.rpc]: string\n}\n\ntype LoadRPCUrlProps = {\n hideRpcInput: () => void\n}\n\nconst LoadRPCUrl = ({ hideRpcInput }: LoadRPCUrlProps) => {\n const chainId = useChainId()\n const settings = useAppSelector(selectSettings)\n const dispatch = useAppDispatch()\n\n const formMethods = useForm({\n mode: 'onChange',\n values: {\n [LoadRPCVariablesField.rpc]: settings.env?.rpc[chainId] ?? '',\n },\n })\n\n const { register, handleSubmit, formState, setValue, watch } = formMethods\n\n const rpc = watch(LoadRPCVariablesField.rpc)\n\n const onSubmit = handleSubmit((data) => {\n dispatch(\n setRpc({\n chainId,\n rpc: data[LoadRPCVariablesField.rpc],\n }),\n )\n hideRpcInput()\n })\n\n return (\n \n
\n \n RPC provider\n \n \n \n \n \n \n\n value.startsWith('http') })}\n variant=\"outlined\"\n type=\"url\"\n InputProps={{\n endAdornment: !!settings.env?.rpc[chainId] ? (\n \n \n \n setValue(LoadRPCVariablesField.rpc, settings.env.rpc[chainId], { shouldValidate: true })\n }\n size=\"small\"\n color=\"primary\"\n >\n \n \n \n \n ) : null,\n }}\n fullWidth\n required\n />\n\n \n Save\n \n \n
\n )\n}\n\nexport default LoadRPCUrl\n","import { Paper, Typography, Box, Link } from '@mui/material'\nimport css from './styles.module.css'\nimport LoadSafe from './LoadSafe'\nimport { useCurrentChain } from '@/hooks/useChains'\nimport { useAppSelector } from '@/store'\nimport { selectRpc } from '@/store/settingsSlice'\nimport LoadRPCUrl from '@/components/welcome/WelcomeLogin/LoadRPCUrl'\nimport { CHAINLIST_URL } from '@/config/constants'\nimport { useEffect, useState } from 'react'\nimport { useWeb3 } from '@/hooks/wallets/web3'\n\nconst WelcomeLogin = () => {\n const web3 = useWeb3()\n const chain = useCurrentChain()\n const customRpc = useAppSelector(selectRpc)\n const customRpcUrl = chain ? customRpc?.[chain.chainId] : undefined\n\n const [forceShowRpcInput, setForceShowRpcInput] = useState(false)\n\n const toggleShowRpcInput = () => {\n setForceShowRpcInput(!forceShowRpcInput)\n }\n\n useEffect(() => {\n setForceShowRpcInput(false)\n }, [chain])\n\n return (\n \n \n \n Eternal Safe\n \n {/* TODO(eternalsafe): Gracefully handle the web3 variable loading in after sometime */}\n {(web3 || customRpcUrl) && !forceShowRpcInput ? (\n <>\n \n Eternal Safe does not yet support creating a Safe, you must have one already created.\n \n \n {/* TODO(eternalsafe): Allow import of data here */}\n \n ) : chain ? (\n <>\n \n To get started you must connect a wallet on {chain.chainName} or provide a RPC URL for the{' '}\n {chain.chainName} network.\n
\n
\n For best performance we recommend using a private RPC URL. Public URLs can be found on{' '}\n \n Chainlist\n {' '}\n however they may be rate limited or have other restrictions.\n
\n
\n You can change this later in the settings.\n
\n setForceShowRpcInput(false)} />\n \n ) : (\n \n Please select a network from the dropdown above to get started.\n \n )}\n\n \n \n {forceShowRpcInput ? 'Close' : 'Open'} RPC URL input\n \n \n
\n
\n )\n}\n\nexport default WelcomeLogin\n","var _path;\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 SvgCheckFilled = function SvgCheckFilled(_ref) {\n var title = _ref.title,\n titleId = _ref.titleId,\n props = _objectWithoutProperties(_ref, _excluded);\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n width: 24,\n height: 24,\n viewBox: \"0 0 24 24\",\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 fillRule: \"evenodd\",\n clipRule: \"evenodd\",\n d: \"M22 12C22 17.5228 17.5228 22 12 22C6.47715 22 2 17.5228 2 12C2 6.47715 6.47715 2 12 2C17.5228 2 22 6.47715 22 12ZM9.27482 10.6992L11.5334 12.8123L14.8096 9.45275C15.388 8.85965 16.3377 8.84772 16.9308 9.4261C17.5239 10.0045 17.5358 10.9541 16.9574 11.5472L12.6554 15.9587C12.0855 16.5432 11.1528 16.5646 10.5567 16.0068L7.22519 12.8898C6.62026 12.3238 6.58868 11.3746 7.15467 10.7697C7.72066 10.1648 8.66988 10.1332 9.27482 10.6992Z\",\n fill: \"currentColor\"\n })));\n};\nexport default SvgCheckFilled;","import React from 'react'\nimport { Box, Grid, SvgIcon, Typography } from '@mui/material'\nimport css from './styles.module.css'\nimport CheckFilled from '@/public/images/common/check-filled.svg'\n\nimport WelcomeLogin from './WelcomeLogin'\nimport SafeListDrawer from '@/components/welcome/SafeListDrawer'\n\nconst BulletListItem = ({ text }: { text: string }) => (\n
  • \n \n \n {text}\n \n
  • \n)\n\nconst NewSafe = () => {\n return (\n <>\n \n \n \n \n \n
    \n \n \n \n\n \n A decentralized UI for Safe.\n \n\n \n You are currently interacting with Eternal Safe, a fork of {'Safe{Wallet}'}.\n \n\n
      \n \n \n \n
    \n
    \n
    \n
    \n \n )\n}\n\nexport default NewSafe\n","import type { NextPage } from 'next'\nimport Head from 'next/head'\nimport NewSafe from '@/components/welcome/NewSafe'\n\nconst Welcome: NextPage = () => {\n return (\n <>\n \n {'Eternal Safe – Welcome'}\n \n\n \n \n )\n}\n\nexport default Welcome\n","// extracted by mini-css-extract-plugin\nmodule.exports = {\"loginCard\":\"styles_loginCard__4lP1u\",\"loginContent\":\"styles_loginContent__77BLT\"};","// extracted by mini-css-extract-plugin\nmodule.exports = {\"sidebar\":\"styles_sidebar__OEGcE\",\"bulletList\":\"styles_bulletList__t6e9z\",\"numberList\":\"styles_numberList__cK526\",\"marquee\":\"styles_marquee__XdtEB\",\"marqueeContent\":\"styles_marqueeContent__MPbhU\",\"scroll\":\"styles_scroll__gN_Xj\",\"marqueeItem\":\"styles_marqueeItem__e41yh\",\"content\":\"styles_content__CKrba\",\"gradient\":\"styles_gradient__Gbnbb\",\"checkIcon\":\"styles_checkIcon__teSjQ\",\"button\":\"styles_button___Rtnn\"};"],"names":["_interopRequireDefault","__webpack_require__","exports","Z","_createSvgIcon","_jsxRuntime","_default","default","jsx","d","window","__NEXT_P","push","__webpack_exports__","totalNumberOfSafes","useAppSelector","selectTotalAdded","showSidebar","setShowSidebar","useState","closeSidebar","react_jsx_runtime__WEBPACK_IMPORTED_MODULE_0__","jsxs","Fragment","Drawer","variant","anchor","open","onClose","div","className","drawerCSS","SafeList","closeDrawer","DataWidget","Button","css","fullWidth","color","startIcon","ChevronRightIcon","onClick","Typography","component","fontWeight","WelcomeLogin_LoadSafe","jsx_runtime","href","AppRoutes","newSafe","load","sx","minHeight","size","disableElevation","LoadRPCVariablesField","WelcomeLogin_LoadRPCUrl","settings","hideRpcInput","param","chainId","useChainId","selectSettings","dispatch","useAppDispatch","formMethods","useForm","mode","values","env","rpc","register","handleSubmit","formState","setValue","watch","onSubmit","setRpc","data","FormProvider","form","mb","mt","Tooltip","placement","arrow","title","span","SvgIcon","InfoIcon","inheritViewBox","fontSize","verticalAlign","ml","TextField","required","validate","value","startsWith","type","InputProps","endAdornment","InputAdornment","position","IconButton","shouldValidate","RotateLeftIcon","disabled","isValid","welcome_WelcomeLogin","web3","useWeb3","chain","useCurrentChain","customRpc","selectRpc","customRpcUrl","undefined","forceShowRpcInput","setForceShowRpcInput","useEffect","Paper","data-testid","Box","pt","textAlign","LoadSafe","chainName","br","Link","CHAINLIST_URL","concat","target","rel","LoadRPCUrl","_path","_excluded","_extends","Object","assign","bind","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","check_filled","_ref","titleId","props","_objectWithoutProperties","excluded","_objectWithoutPropertiesLoose","sourceKeys","keys","indexOf","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","react","createElement","width","height","viewBox","fill","xmlns","id","fillRule","clipRule","BulletListItem","text","li","CheckFilled","welcome_NewSafe","Grid","container","spacing","p","pb","flex","direction","item","xs","lg","WelcomeLogin","minWidth","md","SafeListDrawer","lineHeight","letterSpacing","ul","welcome","Head","NewSafe","module"],"sourceRoot":""}