{"version":3,"sources":["App.js","index.js"],"names":["Card","props","state","data","className","this","Username","Closed","UserID","href","Photo","React","Component","CardImg","src","undefined","alt","style","width","Pending","pending","fetch","then","response","json","setState","Object","values","map","i","Verification","verifications","ReactDOM","render","StrictMode","document","getElementById"],"mappings":"wOAIMA,G,wDAKJ,WAAYC,GAAQ,IAAD,8BACjB,cAAMA,IALRC,MAAQ,CACNC,KAAM,IAKN,EAAKD,MAAMC,KAAOF,EAFD,E,qDAMjB,OACE,sBAAKG,UAAU,OAAf,UACA,6BAAI,4BAAIC,KAAKH,MAAMC,KAAKG,aACtB,sBAAKF,UAAU,YAAf,UACE,4BAAIC,KAAKH,MAAMC,KAAKI,SACpB,4BAAIF,KAAKH,MAAMC,KAAKK,SACpB,4BAAG,mBAAGC,KAAMJ,KAAKH,MAAMC,KAAKO,MAAzB,4C,GAjBMC,IAAMC,YAwBvB,SAASC,EAAQV,GACf,OACE,sBAAKC,UAAU,WAAf,UACA,6BAAI,uCAAUD,EAAKG,cACnB,qBAAKQ,SAAoBC,IAAfZ,EAAKO,MAAsBP,EAAKO,MAAQ,mCAAoCM,IAAI,SAASC,MAAO,CAAEC,MAAO,UACjH,qBAAKd,UAAU,YAAf,SACE,4BAAID,EAAKK,c,IAiCbW,E,4MACFjB,MAAQ,CACJkB,QAAS,I,kEAEQ,IAAD,OAEhBC,MADe,6CAEVC,MAAK,SAACC,GAAD,OAAcA,EAASC,UAC5BF,MAAK,SAACnB,GAAD,OAAU,EAAKsB,SAAS,CAACL,QAASM,OAAOC,OAAOxB,U,+BAG1D,OACG,sBAAKC,UAAU,MAAf,UACI,6BACKC,KAAKH,MAAMkB,QAAQQ,KAAI,SAACzB,EAAM0B,GAAP,OACnB,mCAAa,cAAChB,EAAD,eAAaV,MAAjB0B,QAGlB,8B,GAlBOlB,IAAMC,WAwDbkB,E,4MA7BX5B,MAAQ,CACJ6B,cAAe,I,kEAEE,IAAD,OAEhBV,MADe,mDAEVC,MAAK,SAACC,GAAD,OAAcA,EAASC,UAC5BF,MAAK,SAACnB,GAAD,OAAU,EAAKsB,SAAS,CAACM,cAAe5B,S,+BAIlD,OACG,sBAAKC,UAAU,MAAf,UACE,cAAC,EAAD,IACE,6BACKC,KAAKH,MAAM6B,cAAcH,KAAI,SAACzB,EAAM0B,GAAP,OAC1B,mCAAa,cAAC,EAAD,eAAU1B,MAAd0B,e,GAjBLlB,IAAMC,WCvFjCoB,IAASC,OACP,eAAC,IAAMC,WAAP,WACE,cAAC,EAAD,IACA,cAAC,EAAD,OAEFC,SAASC,eAAe,gB","file":"static/js/main.bf43163b.chunk.js","sourcesContent":["\nimport React, { useState, useEffect } from \"react\";\nimport './App.css';\n\nclass Card extends React.Component{\n state = {\n data: {}\n }\n\n constructor(props) {\n super(props);\n this.state.data = props;\n }\n\n render() {\n return (\n
\n

{this.state.data.Username}

\n
\n

{this.state.data.Closed}

\n

{this.state.data.UserID}

\n

Verification Photo

\n
\n
\n );\n}\n}\n\n function CardImg(data) {\n return (\n
\n

Pend: {data.Username}

\n \"Avatar\"\n
\n

{data.UserID}

\n
\n
\n )\n }\n/*\nfunction UserDetail(userID, verification) {\n const [data, setData] = useState([]);\n useEffect(() => {\n fetch(\n `https://thanos.nightmare.haus/api/user?userID=${userID}`\n )\n .then(res => res.json())\n .then(response => {\n setData(response);\n })\n .catch(error => console.log(error));\n });\n\n return (\n
\n

{data.Nick}

\n \"Avatar\"\n
\n \"Avatar\"\n \n

{data.joined_at}

\n

{data.user.id}

\n
\n
\n )\n}\n*/\nclass Pending extends React.Component {\n state = {\n pending: []\n }\n componentDidMount() {\n const apiUrl = 'https://thanos.nightmare.haus/api/pending';\n fetch(apiUrl)\n .then((response) => response.json())\n .then((data) => this.setState({pending: Object.values(data)}));\n }\n render() {\n return (\n
\n \n

\n
\n );\n }\n}\n\n\n\nclass Verification extends React.Component {\n state = {\n verifications: []\n }\n componentDidMount() {\n const apiUrl = 'https://thanos.nightmare.haus/api/verifications';\n fetch(apiUrl)\n .then((response) => response.json())\n .then((data) => this.setState({verifications: data}));\n }\n\n render() {\n return (\n
\n \n \n
\n );\n }\n}\n\nexport {\n Pending,\n Verification,\n}\n\nexport default Verification;","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport './index.css';\nimport Verification from './App';\nimport Pending from './App';\n\nReactDOM.render(\n \n \n \n ,\n document.getElementById('react_app')\n);\n"],"sourceRoot":""}