You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1 line
7.5 KiB
1 line
7.5 KiB
4 years ago
|
{"version":3,"sources":["App.js","index.js"],"names":["Card","props","state","data","details","expand","onClick","bind","e","fetch","this","UserID","then","res","json","response","setState","catch","error","console","log","UserDetail","verification","Photo","Nick","Username","user","id","joined_at","Closed","className","href","React","Component","CardImg","src","undefined","alt","style","width","avatar","Pending","pending","Object","values","map","i","Verification","verifications","ReactDOM","render","StrictMode","document","getElementById"],"mappings":"+OAIMA,G,wDAOJ,WAAYC,GAAQ,IAAD,8BACjB,cAAMA,IAPRC,MAAQ,CACNC,KAAM,GACNC,QAAS,GACTC,QAAQ,GAKR,EAAKH,MAAMC,KAAOF,EAClB,EAAKC,MAAME,QAAU,GACrB,EAAKF,MAAMG,QAAS,EACpB,EAAKC,QAAU,EAAKA,QAAQC,KAAb,gBALE,E,oDAOXC,GAAI,IAAD,OACTC,MAAM,iDAAD,OAC8CC,KAAKR,MAAMC,KAAKQ,SAEhEC,MAAK,SAAAC,GAAG,OAAIA,EAAIC,UAChBF,MAAK,SAAAG,GACJ,EAAKC,SAAS,CAACb,KAAM,EAAKD,MAAMC,KAAME,QAAS,EAAKH,MAAMG,OAAQD,QAASW,OAE5EE,OAAM,SAAAC,GAAK,OAAIC,QAAQC,IAAIF,Q,+BAG9B,GAAIR,KAAKR,MAAMG,OAAQ,CACrB,GAA0B,MAAtBK,KAAKR,MAAME,QACb,OACE,qBAAKE,QAASI,KAAKJ,QAAnB,SACE,cAACe,EAAD,CAAYlB,KAAMO,KAAKR,MAAME,QAASkB,aAAcZ,KAAKR,MAAMC,KAAKoB,UAKxE,IAAInB,EAAU,GAKd,OAJAA,EAAQoB,KAAOd,KAAKR,MAAMC,KAAKsB,SAAW,aAC1CrB,EAAQsB,KAAO,GACftB,EAAQsB,KAAKC,GAAKjB,KAAKR,MAAMC,KAAKQ,OAClCP,EAAQwB,UAAYlB,KAAKR,MAAMC,KAAK0B,O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I,kEAEQ,IAAD,OAEhBjC,MADe,6CAEVG,MAAK,SAACG,GAAD,OAAcA,EAASD,UAC5BF,MAAK,SAACT,GAAD,OAAU,EAAKa,SAAS,CAAC0B,QAASC,OAAOC,OAAOzC,U,+BAG1D,OACG,sBAAK2B,UAAU,MAAf,UACI,6BACKpB,KAAKR,MAAMwC,QAAQG,KAAI,SAAC1C,EAAM2C,GAAP,OACnB,mCAAa,cAACZ,EAAD,eAAa/B,MAAjB2C,QAGlB,8B,GAlBOd,IAAMC,WAwDbc,E,4MA7BX7C,MAAQ,CACJ8C,cAAe,I,kEAEE,IAAD,OAEhBvC,MADe,mDAEVG,MAAK,SAACG,GAAD,OAAcA,EAASD,UAC5BF,MAAK,SAACT,GAAD,OAAU,EAAKa,SAAS,CAACgC,cAAe7C,S,+BAIlD,OACG,sBAAK2B,UAAU,MAAf,UACE,cAAC,EAAD,IACE,6BACKpB,KAAKR,MAAM8C,cAAcH,KAAI,SAAC1C,EAAM2C,GAAP,OAC1B,mCAAa,cAAC,EAAD,eAAU3C,MAAd2C,e,GAjBLd,IAAMC,WCnHjCgB,IAASC,OACP,eAAC,IAAMC,WAAP,WACE,cAAC,EAAD,IACA,cAAC,EAAD,OAEFC,SAASC,eAAe,gB","file":"static/js/main.a24cc14e.chunk.js","sourcesContent":["\nimport React from \"react\";\nimport './App.css';\n\nclass Card extends React.Component{\n state = {\n data: {},\n details: {},\n expand: false\n }\n\n constructor(props) {\n super(props);\n this.state.data = props;\n this.state.details = {};\n this.state.expand = false;\n this.onClick = this.onClick.bind(this);\n }\n onClick(e) {\n fetch(\n `https://thanos.nightmare.haus/api/user?userID=${this.state.data.UserID}`\n )\n .then(res => res.json())\n .then(response => {\n this.setState({data: this.state.data, expand: !this.state.expand, details: response});\n })\n .catch(error => console.log(error));\n }\n render() {\n if (this.state.expand) {\n if (this.state.details != null) {\n return (\n <div onClick={this.onClick}>\n <UserDetail data={this.state.details} verification={this.state.data.Photo} />\n </div>\n \n )\n } else {\n var detai
|