{"version":3,"sources":["common/genesisErrorPopup.jsx","common/modals/wallet/chooseWallet.jsx","common/modals/wallet/connectExternal.jsx"],"names":["ErrorPopup","Component","constructor","arguments","state","render","themeMode","getCookie","_jsx","Modal","className","concat","dialogClassName","show","this","props","error","onHide","setError","id","children","_jsxs","src","process","alt","HtmlParser","href","target","rel","onClick","e","preventDefault","withRouter","connect","getUser","dispatch","signIn","data","callback","updateImage","loadProfile","loadBountyBoxes","hardRefresh","loadMessageToSign","togglePopupRedux","toggleHowToPlayRedux","toggleHTPRedux","setErrors","setGenesisError","loading","setLoading","React","useState","signMessage","setSignMessage","signature","setSignature","loadingWallet","setLoadingWallet","connectedWallet","setConnectedWallet","account","isActive","connector","useWeb3React","deactivate","resetState","useEffect","async","getSignature","signMessages","showLoginModal","clearData","messageToSign","_connector$provider","signatureStr","provider","request","method","params","walletAddress","res","status","mixpanel","track","window","dataLayer","push","prepareData","event","_res$data","_res$data2","_res$data3","_res$data3$data","_res$data4","message","type","location","_res$data5","code","_Fragment","messageToSignLoading","Skeleton","_window","_window$ethereum","ethereum","isMetaMask","open","metaMask","activate","activating","localStorage","setItem","name","checked","for","toggleWalletPopupRedux","errors","tab","setTab","genesisError","showWalletModal","showHTPAfter","title","GenesisErrorPopup","centered","tabindex","contentClassName","ChooseWallet"],"mappings":"+GAAA,qDAOA,MAAMA,UAAmBC,YAAUC,cAAA,SAAAC,WAAA,KACjCC,MAAQ,CAAC,CAAE,CACXC,SACE,MAAMC,EAAYC,YAAU,aAC5B,OACEC,cAACC,IAAK,CACJC,UAAS,2BAAAC,OAA2C,SAAdL,GAAwB,cAC9DM,gBAAgB,8CAChBC,KAAMC,KAAKC,MAAMC,MACjBC,OAAQA,IAAMH,KAAKC,MAAMG,UAAS,GAClCC,GAAG,iBAAgBC,SAEnBC,eAAA,OAAKX,UAAU,mCAAkCU,SAAA,CAC/CZ,cAAA,OAAKE,UAAU,mCAAkCU,SAC/CZ,cAAA,OAAAY,SACEZ,cAAA,OAAKE,UA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AWA,SAE1B,I","file":"static/js/34.0f260845.chunk.js","sourcesContent":["import React, { Component } from \"react\";\nimport { Modal } from \"react-bootstrap\";\nimport { getCookie } from \"../utils/cookiesUtilities\";\n\nimport HtmlParser from \"react-html-parser\";\nconst genesisIcon = process.env.REACT_APP_WEBSITE_ASSETS_URL + \"images/genesis-pass-purchase.svg\";\n\nclass ErrorPopup extends Component {\n state = {};\n render() {\n const themeMode = getCookie(\"themeMode\");\n return (\n \n
You Need a Pass to Play!
\n {HtmlParser(this.props.error)}\n \n \n
Choose how you want to connect
*/}\n