-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.eslintcache
1 lines (1 loc) · 50.3 KB
/
.eslintcache
1
[{"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\index.js":"1","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\App.js":"2","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\reportWebVitals.js":"3","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Navbar.js":"4","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\eventreg.js":"5","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Home.js":"6","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\Login.js":"7","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Footer.js":"8","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Events.js":"9","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\AdminLogin.js":"10","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\ResetPassword.js":"11","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AdminStatus.js":"12","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\NewPassword.js":"13","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AddEvent.js":"14","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\AdminSignup.js":"15","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\404\\FourOFour.js":"16","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\addUser\\AddUser.js":"17","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\admin\\EditProfile.js":"18","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AllUser\\Alluser.js":"19","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\admin\\userProfile.js":"20","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\AddProject\\AddProject.js":"21","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\admin\\adminProfile.js":"22","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\deleteUser\\DeleteUser.js":"23","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\AddProject\\AllProjects.js":"24","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\DeleteEvent\\DeleteEvent.js":"25","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\about.js":"26","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\signlinks\\signedinlinks.js":"27","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\signlinks\\signedoutlinks.js":"28","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Departments.js":"29","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\achive.js":"30","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\AddProject\\AllprojectsCard.js":"31","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\DeleteEvent\\DeleteEventCard.js":"32","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\deleteUser\\DeleteCard.js":"33","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\bottomContent\\bottomContent.js":"34","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AllUser\\UserCard.js":"35"},{"size":571,"mtime":1628836961251,"results":"36","hashOfConfig":"37"},{"size":8341,"mtime":1628836961152,"results":"38","hashOfConfig":"37"},{"size":375,"mtime":1628836961253,"results":"39","hashOfConfig":"37"},{"size":2293,"mtime":1628836961240,"results":"40","hashOfConfig":"37"},{"size":1765,"mtime":1628836961246,"results":"41","hashOfConfig":"37"},{"size":7000,"mtime":1628836961240,"results":"42","hashOfConfig":"37"},{"size":4982,"mtime":1628836961243,"results":"43","hashOfConfig":"37"},{"size":3304,"mtime":1628836961239,"results":"44","hashOfConfig":"37"},{"size":4481,"mtime":1628839628821,"results":"45","hashOfConfig":"37"},{"size":5446,"mtime":1628836961242,"results":"46","hashOfConfig":"37"},{"size":3065,"mtime":1628836961244,"results":"47","hashOfConfig":"37"},{"size":320,"mtime":1628836961163,"results":"48","hashOfConfig":"37"},{"size":4162,"mtime":1628836961243,"results":"49","hashOfConfig":"37"},{"size":3582,"mtime":1628836961163,"results":"50","hashOfConfig":"37"},{"size":6502,"mtime":1628836961242,"results":"51","hashOfConfig":"37"},{"size":260,"mtime":1628836961154,"results":"52","hashOfConfig":"37"},{"size":5096,"mtime":1628836961166,"results":"53","hashOfConfig":"37"},{"size":4219,"mtime":1628839472517,"results":"54","hashOfConfig":"37"},{"size":1602,"mtime":1628836961164,"results":"55","hashOfConfig":"37"},{"size":6890,"mtime":1628838146760,"results":"56","hashOfConfig":"37"},{"size":2652,"mtime":1628836961156,"results":"57","hashOfConfig":"37"},{"size":9035,"mtime":1628838104863,"results":"58","hashOfConfig":"37"},{"size":2146,"mtime":1628836961168,"results":"59","hashOfConfig":"37"},{"size":1530,"mtime":1628836961157,"results":"60","hashOfConfig":"37"},{"size":1988,"mtime":1628836961165,"results":"61","hashOfConfig":"37"},{"size":1995,"mtime":1628836961241,"results":"62","hashOfConfig":"37"},{"size":740,"mtime":1628836961249,"results":"63","hashOfConfig":"37"},{"size":1849,"mtime":1628836961249,"results":"64","hashOfConfig":"37"},{"size":2968,"mtime":1628836961237,"results":"65","hashOfConfig":"37"},{"size":1323,"mtime":1628836961242,"results":"66","hashOfConfig":"37"},{"size":550,"mtime":1628836961157,"results":"67","hashOfConfig":"37"},{"size":803,"mtime":1628836961166,"results":"68","hashOfConfig":"37"},{"size":745,"mtime":1628836961168,"results":"69","hashOfConfig":"37"},{"size":1408,"mtime":1628836961236,"results":"70","hashOfConfig":"37"},{"size":555,"mtime":1628836961164,"results":"71","hashOfConfig":"37"},{"filePath":"72","messages":"73","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"2f8kbu",{"filePath":"74","messages":"75","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"76","messages":"77","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"78","messages":"79","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"80"},{"filePath":"81","messages":"82","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"83"},{"filePath":"84","messages":"85","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"86","messages":"87","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"88"},{"filePath":"89","messages":"90","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"91","messages":"92","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"93","messages":"94","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"95"},{"filePath":"96","messages":"97","errorCount":0,"warningCount":3,"fixableErrorCount":0,"fixableWarningCount":0,"source":"98"},{"filePath":"99","messages":"100","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"101","messages":"102","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"103","messages":"104","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"105","messages":"106","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"107"},{"filePath":"108","messages":"109","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"110","messages":"111","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"112","messages":"113","errorCount":0,"warningCount":2,"fixableErrorCount":0,"fixableWarningCount":0,"source":"114"},{"filePath":"115","messages":"116","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"117","messages":"118","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"119","messages":"120","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"121","messages":"122","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"123","messages":"124","errorCount":0,"warningCount":1,"fixableErrorCount":0,"fixableWarningCount":0,"source":"125"},{"filePath":"126","messages":"127","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"128","messages":"129","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"130","messages":"131","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"132","messages":"133","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"134","messages":"135","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"136","messages":"137","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"138","messages":"139","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"140","messages":"141","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"142","messages":"143","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"144","messages":"145","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"146","messages":"147","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},{"filePath":"148","messages":"149","errorCount":0,"warningCount":0,"fixableErrorCount":0,"fixableWarningCount":0},"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\index.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\App.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\reportWebVitals.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Navbar.js",["150"],"import { Component } from \"react\"\r\nimport React from 'react'\r\nimport { Link } from \"react-router-dom\";\r\nimport { Icon } from 'react-materialize';\r\nimport './navbar.css'\r\nimport Logo from '../assets/ptslogo.png'\r\nimport SignedInLinks from './signlinks/signedinlinks'\r\nimport SignedOutLinks from './signlinks/signedoutlinks'\r\nclass Navbar extends Component {\r\n constructor(props) {\r\n super(props);\r\n this.state = {\r\n links: '',\r\n status: 'top'\r\n }\r\n }\r\n componentDidMount() {\r\n this.listener = document.addEventListener(\"scroll\", e => {\r\n var scrolled = document.scrollingElement.scrollTop;\r\n if (scrolled >= 290) {\r\n if (this.state.status !== \"boottm\") {\r\n this.setState({ status: \"bottom\" });\r\n }\r\n } else {\r\n if (this.state.status !== \"top\") {\r\n this.setState({ status: \"top\" });\r\n }\r\n }\r\n });\r\n }\r\n\r\n componentDidUpdate() {\r\n document.removeEventListener(\"scroll\", this.listener);\r\n }\r\n\r\n render() {\r\n const val = localStorage.getItem(\"test\")\r\n if (val === 'a') {\r\n var links = <SignedOutLinks></SignedOutLinks>\r\n } else {\r\n\r\n var links = <SignedInLinks></SignedInLinks>\r\n\r\n }\r\n return (\r\n <div className=\"navbar\">\r\n <nav class=\"transparent z-depth-0\">\r\n <div className=\"nav-wrapper\" style={{ backgroundColor: this.state.status === \"top\" ? \"rgba(10, 10, 10, 0.900)\" : \"black\" }}>\r\n <Link to=\"/\"><div className=\"logo left\"><img className=\"logoimg\" src={Logo} width=\"64px\" alt=\"Platform Tech Solutions\"></img></div></Link>\r\n <span className=\"sidenav-trigger hide-on-large-only right\" data-target=\"slide-out\"><Icon>menu</Icon></span>\r\n <ul id=\"nav-mobile\" className=\"right hide-on-med-and-down\">\r\n {links}\r\n </ul>\r\n </div>\r\n </nav>\r\n <ul className=\"sidenav black\" id=\"slide-out\">\r\n {links}\r\n </ul>\r\n </div>\r\n );\r\n }\r\n}\r\nexport default Navbar;","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\eventreg.js",["151","152"],"import { React, useEffect, useState } from \"react\";\r\nimport \"./events.css\";\r\nimport Cookies from 'universal-cookie';\r\nconst cookies = new Cookies();\r\n// let url = window.location.pathname;\r\n// { console.log('cookie', cookies.get('eventlist')) }\r\n// console.log('cookie', cookies.get('event'))\r\nlet eventlist = cookies.get('eventlist');\r\nlet eventid = cookies.get('event');\r\n// let eventslist = JSON.parse(eventlist);\r\n// console.log('eventlist', eventslist);\r\n// const { formurl } = this.state\r\n// let formurl = \"\";\r\n\r\n\r\n// const formrlink = async () => {\r\n\r\n// eventlist.forEach(list => {\r\n// // console.log(eventlist)\r\n// if (list._id === eventid) {\r\n// formurl = list.formurl\r\n// }\r\n// });\r\n// }\r\n\r\n// console.log(eventlist[0]._id)\r\n\r\n\r\n// console.log(formurl)\r\n// let formurl = url.split(\"/event/\")[1];\r\n\r\n// let cleardata = () => {\r\n// if (formurl !== url) {\r\n// url = \"\";\r\n// formurl = \"\";\r\n// }\r\n// };\r\n\r\n\r\n\r\nconst Eventreg = (props) => {\r\n\r\n let [formurl, setformurl] = useState(\"\");\r\n\r\n useEffect(() => {\r\n\r\n if (!formurl) {\r\n getformurl();\r\n }\r\n }, []);\r\n\r\n const getformurl = async () => {\r\n\r\n\r\n await eventlist.forEach(list => {\r\n // console.log(eventlist)\r\n if (list._id === eventid) {\r\n formurl = list.formurl\r\n }\r\n });\r\n\r\n setformurl(formurl);\r\n };\r\n\r\n\r\n\r\n\r\n\r\n return (\r\n <div className=\"eventreg\">\r\n <h2>Events Registration</h2>\r\n {console.log(formurl)}\r\n\r\n {\r\n <iframe\r\n src={formurl}\r\n width=\"80%\"\r\n height=\"700\"\r\n frameborder=\"1\"\r\n marginheight=\"0\"\r\n marginwidth=\"0\"\r\n >\r\n Loading…\r\n </iframe>\r\n\r\n }\r\n\r\n\r\n </div>\r\n );\r\n\r\n}\r\n\r\n\r\nexport default Eventreg","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Home.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\Login.js",["153","154"],"import React, { useState } from 'react'\r\nimport { Link } from 'react-router-dom'\r\nimport M from 'materialize-css'\r\nimport sin from '../../assets/sin.jpg'\r\nimport { Container, Row, Col } from 'react-grid-system'\r\nimport './auth.css'\r\n\r\n//o3EumnIMceQfPiwQ\r\n//mongodb+srv://Platform:<password>@cluster0.lsibt.mongodb.net/<dbname>?retryWrites=true&w=majority\r\n\r\nconst Login = () => {\r\n \r\n const [email, setEmail] = useState(\"\")\r\n const [password, setPassword] = useState(\"\")\r\n\r\n const PostData = () => {\r\n if (!/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(email)) {\r\n M.toast({ html: \"Invalid Email\", classes: \"#c62828 red darken-3\" })\r\n return\r\n }\r\n fetch(\"https://peaceful-temple-16111.herokuapp.com/https://pussgrc.herokuapp.com/user/login\", {\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify({\r\n email,\r\n password\r\n })\r\n }).then(res => res.json())\r\n .then(data => {\r\n console.log(data)\r\n if (data.error) {\r\n M.toast({ html: data.error, classes: \"#c62828 red darken-3\" })\r\n } else {\r\n localStorage.setItem(\"test\", \"a\")\r\n localStorage.setItem(\"jwt\", data.token)\r\n localStorage.setItem(\"user\", JSON.stringify(data.user))\r\n\r\n localStorage.setItem(\"admincheck\", \"no\");\r\n M.toast({ html: \"Login Success\", classes: \"#43a047 green darken-1\" })\r\n window.location.reload();\r\n window.location = ('/')\r\n\r\n }\r\n }).catch(err => {\r\n console.log(err)\r\n })\r\n }\r\n\r\n return (\r\n <div className=\"mycard\">\r\n <div className=\"auth-card \" style={{ backgroundImage: `url(${sin})`, minWidth: \"100%\", minHeight: \"100%\", backgroundPosition: \"centre\", backgroundSize: \"cover\" }}>\r\n\r\n <Row>\r\n <Col>\r\n <h6 style={{ letterSpacing: \"2px\" }}>LOGIN</h6><br />\r\n <h4 style={{ letterSpacing: \"2px\" }}><bold>PLATFORM</bold></h4>\r\n </Col>\r\n </Row>\r\n <Container fluid style={{ width: \"400px\" }}>\r\n <Row>\r\n <Col>\r\n\r\n <div class=\"input-field col s12\" style={{ marginTop: \"8%\" }}>\r\n <input id=\"email\" type=\"email\" class=\"validate\"\r\n value={email}\r\n onChange={(e) => setEmail(e.target.value)}\r\n />\r\n <label for=\"email\" style={{ textAlign: \"center\", color: \"black\" }}>EMAIL</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"5%\" }}>\r\n <input id=\"password\" type=\"password\" class=\"validate\"\r\n value={password}\r\n onChange={(e) => setPassword(e.target.value)}\r\n />\r\n <label for=\"password\" style={{ textAlign: \"center\", color: \"black\" }}>PASSWORD</label>\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <button id=\"btn1\" style={{ width: \"150px\", borderRadius: \"50px\", marginTop: \"60px\", marginBottom: \"30px\", letterSpacing: \"2px\" }} className=\"btn waves-effect #212121 grey darken-4\" name=\"action\" type=\"submit\"\r\n onClick={() => PostData()}\r\n >\r\n <strong>LOGIN</strong>\r\n </button>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <p style={{ color: \"grey\" }}>Forgot Password ?<br />\r\n <Link to=\"/changePassword\"> <strong>Reset Your Password</strong></Link></p>\r\n <br />\r\n <p style={{ color: \"grey\" }}>Dont have an account ?<br />\r\n <u><a href=\"mailto:[email protected]\">Contact your Adminstrator</a></u></p>\r\n\r\n </Col>\r\n </Row>\r\n </Container>\r\n\r\n <br /><br /><br /><br /><br /><br /><br /><br />\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default Login","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Footer.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Events.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\AdminLogin.js",["155","156","157"],"import React, { useState, useContext } from 'react'\r\nimport { Link, useHistory } from 'react-router-dom'\r\nimport M from 'materialize-css'\r\nimport sin from '../../assets/sin.jpg'\r\nimport { Container, Row, Col } from 'react-grid-system'\r\nimport './auth.css'\r\n\r\n//o3EumnIMceQfPiwQ\r\n//mongodb+srv://Platform:<password>@cluster0.lsibt.mongodb.net/<dbname>?retryWrites=true&w=majority\r\n\r\nconst AdminLogin = () => {\r\n localStorage.setItem(\"admincheck\", \"no\");\r\n const history = useHistory()\r\n const [email, setEmail] = useState(\"\")\r\n const [password, setPassword] = useState(\"\")\r\n\r\n const PostData = () => {\r\n if (!/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(email)) {\r\n M.toast({ html: \"Invalid Email\", classes: \"#c62828 red darken-3\" })\r\n return\r\n }\r\n fetch(\"https://peaceful-temple-16111.herokuapp.com/https://pussgrc.herokuapp.com/admin/login\", {\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify({\r\n email,\r\n password\r\n })\r\n }).then(res => res.json())\r\n .then(data => {\r\n console.log(data)\r\n\r\n if (data.error) {\r\n M.toast({ html: data.error, classes: \"#c62828 red darken-3\" })\r\n localStorage.setItem(\"admincheck\", \"no\");\r\n } else {\r\n localStorage.setItem(\"jwt\", data.token)\r\n localStorage.setItem(\"test\", \"a\")\r\n localStorage.setItem(\"admincheck\", \"yes\");\r\n localStorage.setItem(\"user\", JSON.stringify(data.user))\r\n M.toast({ html: \"Login Success\", classes: \"#43a047 green darken-1\" })\r\n\r\n history.push('/')\r\n window.location.reload();\r\n }\r\n }).catch(err => {\r\n console.log(err)\r\n })\r\n }\r\n if (localStorage.getItem(\"admincheck\") === \"no\") {\r\n return (\r\n <div className=\"mycard\">\r\n <div className=\"auth-card \" style={{ backgroundImage: `url(${sin})`, minWidth: \"100%\", minHeight: \"100%\", backgroundPosition: \"centre\", backgroundSize: \"cover\" }}>\r\n\r\n <Row>\r\n <Col>\r\n <h6 style={{ letterSpacing: \"2px\" }}> ADMIN LOGIN</h6><br />\r\n <h4 style={{ letterSpacing: \"2px\" }}><bold>PLATFORM</bold></h4>\r\n </Col>\r\n </Row>\r\n <Container fluid style={{ width: \"400px\" }}>\r\n <Row>\r\n <Col>\r\n\r\n <div class=\"input-field col s12\" style={{ marginTop: \"8%\" }}>\r\n <input id=\"email\" type=\"email\" class=\"validate\"\r\n value={email}\r\n onChange={(e) => setEmail(e.target.value)}\r\n />\r\n <label for=\"email\" style={{ textAlign: \"center\", color: \"black\" }}>EMAIL</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"5%\" }}>\r\n <input id=\"password\" type=\"password\" class=\"validate\"\r\n value={password}\r\n onChange={(e) => setPassword(e.target.value)}\r\n />\r\n <label for=\"password\" style={{ textAlign: \"center\", color: \"black\" }}>PASSWORD</label>\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <button id=\"btn1\" style={{ width: \"150px\", borderRadius: \"50px\", marginTop: \"60px\", marginBottom: \"30px\", letterSpacing: \"2px\" }} className=\"btn waves-effect #212121 grey darken-4\" name=\"action\" type=\"submit\"\r\n onClick={() => PostData()}\r\n >\r\n <strong>LOGIN</strong>\r\n </button>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <p>Forgot Password ?</p>\r\n\r\n <Link to=\"/changePassword\"> <p style={{ color: \"#6CD4CA\" }}><strong>Reset Your Password</strong></p></Link>\r\n <br /> <p>Dont have an account ?</p>\r\n <Link to=\"/signup\"> <p style={{ color: \"#6CD4CA\" }}><strong>Sign Up Now</strong></p></Link>\r\n\r\n </Col>\r\n </Row>\r\n </Container>\r\n\r\n <br /><br /><br /><br /><br /><br /><br /><br />\r\n </div>\r\n </div>\r\n );\r\n } else {\r\n window.location = (\"/admin/panel\")\r\n }\r\n}\r\n\r\nexport default AdminLogin","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\ResetPassword.js",["158","159","160"],"import React, { useState, useContext } from 'react'\r\nimport { useHistory } from 'react-router-dom'\r\nimport M from 'materialize-css'\r\nimport reset from '../../assets/reset1.jpeg'\r\nimport { Container, Row, Col } from 'react-grid-system'\r\nimport './auth.css'\r\n\r\nconst ResetPassword = () => {\r\n const history = useHistory()\r\n const [email, setEmail] = useState(\"\")\r\n const PostData = () => {\r\n\r\n if (!/^(([^<>()\\[\\]\\\\.,;:\\s@\"]+(\\.[^<>()\\[\\]\\\\.,;:\\s@\"]+)*)|(\".+\"))@((\\[[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}\\.[0-9]{1,3}])|(([a-zA-Z\\-0-9]+\\.)+[a-zA-Z]{2,}))$/.test(email)) {\r\n M.toast({ html: \"Invalid Email\", classes: \"#c62828 red darken-3\" })\r\n return\r\n }\r\n fetch(\"https://peaceful-temple-16111.herokuapp.com/https://pussgrc.herokuapp.com/changePassword\", {\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify({\r\n email\r\n })\r\n }).then(res => res.json())\r\n .then(data => {\r\n if (data.error) {\r\n M.toast({ html: data.error, classes: \"#c62828 red darken-3\" })\r\n }\r\n else {\r\n M.toast({ html: data.message, classes: \"#43a047 green darken-1\" })\r\n history.push('/login')\r\n }\r\n }).catch(err => {\r\n console.log(err)\r\n })\r\n\r\n }\r\n return (\r\n <div className=\"mycard\">\r\n <div className=\"card auth-card \" style={{ backgroundImage: `url(${reset})`, minWidth: \"100%\", minHeight: \"100%\", backgroundPosition: \"centre\", backgroundSize: \"cover\" }}>\r\n <Row>\r\n <Col>\r\n <h6 style={{ letterSpacing: \"2px\" }}>RESET PASSWORD</h6><br />\r\n <h4 style={{ letterSpacing: \"2px\" }}><bold>PLATFORM</bold></h4>\r\n </Col>\r\n </Row>\r\n <Container fluid style={{width:\"400px\"}}>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"15%\" }}>\r\n <input id=\"email\" type=\"email\" class=\"validate\"\r\n value={email}\r\n onChange={(e) => setEmail(e.target.value)}\r\n />\r\n <label for=\"email\" style={{ textAlign: \"center\", color: \"black\" }}>YOUR EMAIL</label>\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <button id=\"btn1\" style={{ width: \"200px\", borderRadius: \"50px\", marginTop: \"100px\", marginBottom: \"30px\", letterSpacing: \"2px\" }} className=\"btn waves-effect #212121 grey darken-4\" name=\"action\" type=\"submit\"\r\n onClick={() => PostData()}\r\n >\r\n <strong> RESET PASSWORD</strong>\r\n </button>\r\n </Col>\r\n </Row>\r\n {/* <Row>\r\n <Col>\r\n <p>Don't have an account?</p>\r\n\r\n <Link to=\"/signup\"> <p style={{ color: \"#6CD4CA\" }}><strong>Sign Up Now</strong></p></Link>\r\n\r\n </Col>\r\n </Row> */}\r\n </Container>\r\n\r\n <br /><br /><br /><br /><br /><br /><br /><br />\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default ResetPassword","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AdminStatus.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\NewPassword.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AddEvent.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\auth\\AdminSignup.js",["161"],"import React, { useState, useContext } from 'react'\r\nimport { Link, useHistory } from 'react-router-dom'\r\nimport M from 'materialize-css'\r\nimport sin from '../../assets/sin.jpg'\r\nimport { Container, Row, Col } from 'react-grid-system'\r\nimport './auth.css'\r\n\r\n\r\nconst AdminSignup = () => {\r\n const history = useHistory()\r\n const [name, setName] = useState(\"\")\r\n const [email, setEmail] = useState(\"\")\r\n const [password, setPassword] = useState(\"\")\r\n const [confirmPassword, setConfirmPassword] = useState(\"\")\r\n const [mobile, setMobile] = useState(\"\")\r\n\r\n const PostData = () => {\r\n if (password !== confirmPassword) {\r\n M.toast({ html: \"Passwords do not match\", classes: \"#c62828 red darken-3\" })\r\n return\r\n }\r\n fetch(\"/https://peaceful-temple-16111.herokuapp.com/https://pussgrc.herokuapp.com/admin/signup\", {\r\n method: \"post\",\r\n headers: {\r\n \"Content-Type\": \"application/json\"\r\n },\r\n body: JSON.stringify({\r\n name,\r\n email,\r\n password,\r\n confirmPassword,\r\n mobile\r\n \r\n })\r\n }).then(res => res.json())\r\n .then(data => {\r\n if (data.error) {\r\n M.toast({ html: data.error, classes: \"#c62828 red darken-3\" })\r\n } else {\r\n M.toast({ html: data.message, classes: \"#43a047 green darken-1\" })\r\n history.push('/login')\r\n }\r\n }).catch(err => {\r\n console.log(err)\r\n })\r\n }\r\n return (\r\n <div className=\"mycard\">\r\n <div className=\"card auth-card \" style={{ backgroundImage: `url(${sin})`, minWidth: \"100%\", minHeight: \"100%\", backgroundPosition: \"centre\", backgroundSize: \"cover\" }}>\r\n\r\n <Row>\r\n <Col>\r\n <h6 style={{ letterSpacing: \"2px\" }}>ADMIN SIGNUP</h6><br />\r\n <h4 style={{ letterSpacing: \"2px\" }}><bold>PLATFORM</bold></h4>\r\n </Col>\r\n </Row>\r\n\r\n <Container fluid style={{ width: \"400px\" }}>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"10%\" }}>\r\n <input id=\"text\" type=\"text\" class=\"validate\"\r\n value={name}\r\n onChange={(e) => setName(e.target.value)}\r\n />\r\n <label for=\"text\" style={{ textAlign: \"center\", color: \"black\" }}>NAME</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"5%\" }}>\r\n <input id=\"email\" type=\"email\" class=\"validate\"\r\n value={email}\r\n onChange={(e) => setEmail(e.target.value)}\r\n />\r\n <label for=\"email\" style={{ textAlign: \"center\", color: \"black\" }}>EMAIL</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"5%\" }}>\r\n <input id=\"password\" type=\"password\" class=\"validate\"\r\n value={password}\r\n onChange={(e) => setPassword(e.target.value)}\r\n />\r\n <label for=\"password\" style={{ textAlign: \"center\", color: \"black\" }}>PASSWORD</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\">\r\n <input id=\"password\" type=\"password\" class=\"validate\"\r\n value={confirmPassword}\r\n onChange={(e) => setConfirmPassword(e.target.value)}\r\n />\r\n <label for=\"password\" style={{ textAlign: \"center\", color: \"black\" }}>CONFIRM PASSWORD</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <div class=\"input-field col s12\" style={{ marginTop: \"5%\" }}>\r\n <input id=\"text\" type=\"text\" class=\"validate\"\r\n value={mobile}\r\n onChange={(e) => setMobile(e.target.value)}\r\n />\r\n <label for=\"text\" style={{ textAlign: \"center\", color: \"black\" }}>PHONE</label>\r\n\r\n </div>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <button id=\"btn1\" style={{ width: \"150px\", borderRadius: \"50px\", marginTop: \"70px\", marginBottom: \"30px\", letterSpacing: \"2px\" }} className=\"btn waves-effect #212121 grey darken-4\" name=\"action\" type=\"submit\"\r\n onClick={() => PostData()}\r\n >\r\n <strong> SIGN UP</strong>\r\n </button>\r\n </Col>\r\n </Row>\r\n <Row>\r\n <Col>\r\n <p>By creating an account, you agree to our </p>\r\n\r\n <Link to=\"/signup\"> <p style={{ color: \"#6CD4CA\" }}><strong>Terms and Conditions</strong></p></Link>\r\n <p>and</p>\r\n <Link to=\"/signup\"> <p style={{ color: \"#6CD4CA\" }}><strong>Privacy Policy</strong></p></Link>\r\n\r\n </Col>\r\n </Row>\r\n </Container>\r\n\r\n <br /><br /><br /><br /><br /><br /><br /><br />\r\n </div>\r\n </div>\r\n )\r\n}\r\n\r\nexport default AdminSignup","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\404\\FourOFour.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\addUser\\AddUser.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\admin\\EditProfile.js",["162","163"],"import React, { useState } from \"react\";\r\nimport axios from \"axios\";\r\n\r\n// import { M } from 'materialize-css'\r\nfunction EditProfile() {\r\n const details = JSON.parse(localStorage.getItem(\"user\"));\r\n const [SelImage, setSelImage] = useState(\"no-image\");\r\n const [Name, setName] = useState(details.name);\r\n const [Email, setEmail] = useState(details.email);\r\n const [Password, setPassword] = useState(details.password);\r\n const [Mobile, setMobile] = useState(details.mobile);\r\n\r\n const uploadImage = (files) => {\r\n const formdata = new FormData();\r\n formdata.append(\"file\", SelImage);\r\n formdata.append(\"upload_preset\", \"platform\");\r\n formdata.append(\"folder\", \"users\");\r\n axios\r\n .post(\"https://api.cloudinary.com/v1_1/djxi7xjop/image/upload\", formdata)\r\n .then((res) => {\r\n console.log(res.data.secure_url);\r\n const url = res.data.secure_url;\r\n const userdata = {\r\n image: url,\r\n name: Name,\r\n email: Email,\r\n mobile: Mobile,\r\n password: Password,\r\n };\r\n\r\n const id = details._id;\r\n console.log(id);\r\n axios\r\n .put(\r\n `https://peaceful-temple-16111.herokuapp.com/https://pussgrc.herokuapp.com/updateProfile/` +\r\n id,\r\n userdata\r\n )\r\n .then((res) => {\r\n // M.toast({ html: \"Success\", classes: \"#43a047 green darken-1\" })\r\n // window.location=('/admin/panel')\r\n localStorage.setItem(\"user\", JSON.stringify(res.data));\r\n alert(\"updated\");\r\n window.location = \"/user/profile\";\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n });\r\n })\r\n .catch((err) => {\r\n console.log(err);\r\n });\r\n };\r\n return (\r\n <div>\r\n <section className=\"notlogin\">\r\n <div className=\"lContainer\">\r\n <div class=\"heading\">Update User</div>\r\n\r\n <div className=\"pass\">\r\n <label>Upload Profile Picture from Device</label>\r\n <input\r\n type=\"file\"\r\n autoFocus\r\n onChange={(e) => {\r\n setSelImage(e.target.files[0]);\r\n }}\r\n />\r\n </div>\r\n {/* <div className=\"pass\">\r\n <label>\r\n Name\r\n </label>\r\n <input\r\n type=\"text\"\r\n //value={Name}\r\n defaultValue={details.name}\r\n required\r\n onChange={(e) => { setName(e.target.value) }}\r\n />\r\n </div> */}\r\n {/* <div className=\"pass\">\r\n <label>\r\n Email\r\n </label>\r\n <input\r\n type=\"email\"\r\n //value={Email}\r\n id=\"userEmail\"\r\n required\r\n defaultValue={details.email}\r\n onChange={(e) => { setEmail(e.target.value) }}\r\n />\r\n\r\n </div> */}\r\n <div className=\"pass\">\r\n <label>Mobile</label>\r\n <input\r\n type=\"text\"\r\n //value={Mobile}\r\n required\r\n defaultValue={details.mobile}\r\n onChange={(e) => {\r\n setMobile(e.target.value);\r\n }}\r\n />\r\n </div>\r\n <div className=\"pass\">\r\n <label>Password</label>\r\n <input\r\n type=\"password\"\r\n // value={Password}\r\n defaultValue={details.password}\r\n required\r\n onChange={(e) => {\r\n setPassword(e.target.value);\r\n }}\r\n />\r\n </div>\r\n <div className=\"lbtnContainer\">\r\n <button className=\"lbtn\" onClick={uploadImage}>\r\n Update\r\n </button>\r\n </div>\r\n </div>\r\n </section>\r\n </div>\r\n );\r\n}\r\n\r\nexport default EditProfile;\r\n","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AllUser\\Alluser.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\admin\\userProfile.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\AddProject\\AddProject.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\admin\\adminProfile.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\deleteUser\\DeleteUser.js",["164"],"import React,{useState} from 'react'\r\nimport axios from 'axios'\r\nimport Card from '../deleteUser/DeleteCard'\r\nfunction DeleteUser() {\r\n const [allUser, setAllUser] = useState([])\r\n axios.get(\"https://peaceful-temple-16111.herokuapp.com/https://pussgrc.herokuapp.com/allUsers\")\r\n .then(res=>{\r\n setAllUser(res.data.users)\r\n })\r\n const names=[]\r\n const emails=[]\r\n const roles=[]\r\n allUser.map(data=>{\r\n names.push(data.name)\r\n emails.push(data.email)\r\n roles.push(data.role)\r\n })\r\n\r\n const index = names.indexOf(\"Admin\");\r\n if (index > -1) {\r\n names.splice(index, 1);\r\n }\r\n \r\n\r\n \r\n \r\n // for(let i=0;i<allUse.r.length;i++){\r\n // console.log(\"fdfd\",allUser[i])\r\n // username.push(allUser[i]) \r\n\r\n // }\r\n\r\n return(\r\n <div> \r\n <div\r\n style={{\r\n fontSize: \"3rem\",\r\n marginTop: \"20px\",\r\n color: \"#fff\",\r\n }}\r\n ><div className=\"tophead\">All Users</div>\r\n \r\n </div>\r\n \r\n <div className=\"row\"> \r\n {allUser.map((user)=>(\r\n <div className=\"bot\" key={user._id}>\r\n \r\n <Card \r\n name={user.name} \r\n email={user.email}\r\n mobile={user.mobile}\r\n _id={user._id}\r\n // officelocation={user.}\r\n // company={job.company}\r\n // publisher={job.publisher}\r\n />\r\n \r\n \r\n </div>\r\n ))}\r\n </div>\r\n \r\n </div>\r\n );\r\n}\r\n\r\nexport default DeleteUser\r\n","C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\AddProject\\AllProjects.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\DeleteEvent\\DeleteEvent.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\about.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\signlinks\\signedinlinks.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\signlinks\\signedoutlinks.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\Departments.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\dashboard\\achive.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\AddProject\\AllprojectsCard.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\DeleteEvent\\DeleteEventCard.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\deleteUser\\DeleteCard.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\bottomContent\\bottomContent.js",[],"C:\\Users\\tanmy\\Documents\\React_Project\\clones\\pts-portal\\src\\components\\adminpanel\\AllUser\\UserCard.js",[],{"ruleId":"165","severity":1,"message":"166","line":42,"column":17,"nodeType":"167","messageId":"168","endLine":42,"endColumn":22},{"ruleId":"169","severity":1,"message":"170","line":50,"column":6,"nodeType":"171","endLine":50,"endColumn":8,"suggestions":"172"},{"ruleId":"173","severity":1,"message":"174","line":75,"column":9,"nodeType":"175","endLine":82,"endColumn":10},{"ruleId":"176","severity":1,"message":"177","line":17,"column":24,"nodeType":"178","messageId":"179","endLine":17,"endColumn":25,"suggestions":"180"},{"ruleId":"176","severity":1,"message":"177","line":17,"column":49,"nodeType":"178","messageId":"179","endLine":17,"endColumn":50,"suggestions":"181"},{"ruleId":"182","severity":1,"message":"183","line":1,"column":27,"nodeType":"167","messageId":"184","endLine":1,"endColumn":37},{"ruleId":"176","severity":1,"message":"177","line":18,"column":24,"nodeType":"178","messageId":"179","endLine":18,"endColumn":25,"suggestions":"185"},{"ruleId":"176","severity":1,"message":"177","line":18,"column":49,"nodeType":"178","messageId":"179","endLine":18,"endColumn":50,"suggestions":"186"},{"ruleId":"182","severity":1,"message":"183","line":1,"column":27,"nodeType":"167","messageId":"184","endLine":1,"endColumn":37},{"ruleId":"176","severity":1,"message":"177","line":13,"column":20,"nodeType":"178","messageId":"179","endLine":13,"endColumn":21,"suggestions":"187"},{"ruleId":"176","severity":1,"message":"177","line":13,"column":45,"nodeType":"178","messageId":"179","endLine":13,"endColumn":46,"suggestions":"188"},{"ruleId":"182","severity":1,"message":"183","line":1,"column":27,"nodeType":"167","messageId":"184","endLine":1,"endColumn":37},{"ruleId":"182","severity":1,"message":"189","line":8,"column":16,"nodeType":"167","messageId":"184","endLine":8,"endColumn":23},{"ruleId":"182","severity":1,"message":"190","line":9,"column":17,"nodeType":"167","messageId":"184","endLine":9,"endColumn":25},{"ruleId":"191","severity":1,"message":"192","line":13,"column":25,"nodeType":"193","messageId":"194","endLine":13,"endColumn":27},"no-redeclare","'links' is already defined.","Identifier","redeclared","react-hooks/exhaustive-deps","React Hook useEffect has missing dependencies: 'formurl' and 'getformurl'. Either include them or remove the dependency array.","ArrayExpression",["195"],"jsx-a11y/iframe-has-title","<iframe> elements must have a unique title property.","JSXOpeningElement","no-useless-escape","Unnecessary escape character: \\[.","Literal","unnecessaryEscape",["196","197"],["198","199"],"no-unused-vars","'useContext' is defined but never used.","unusedVar",["200","201"],["202","203"],["204","205"],["206","207"],"'setName' is assigned a value but never used.","'setEmail' is assigned a value but never used.","array-callback-return","Array.prototype.map() expects a return value from arrow function.","ArrowFunctionExpression","expectedInside",{"desc":"208","fix":"209"},{"messageId":"210","fix":"211","desc":"212"},{"messageId":"213","fix":"214","desc":"215"},{"messageId":"210","fix":"216","desc":"212"},{"messageId":"213","fix":"217","desc":"215"},{"messageId":"210","fix":"218","desc":"212"},{"messageId":"213","fix":"219","desc":"215"},{"messageId":"210","fix":"220","desc":"212"},{"messageId":"213","fix":"221","desc":"215"},{"messageId":"210","fix":"222","desc":"212"},{"messageId":"213","fix":"223","desc":"215"},{"messageId":"210","fix":"224","desc":"212"},{"messageId":"213","fix":"225","desc":"215"},"Update the dependencies array to be: [formurl, getformurl]",{"range":"226","text":"227"},"removeEscape",{"range":"228","text":"229"},"Remove the `\\`. This maintains the current functionality.","escapeBackslash",{"range":"230","text":"231"},"Replace the `\\` with `\\\\` to include the actual backslash character.",{"range":"232","text":"229"},{"range":"233","text":"231"},{"range":"234","text":"229"},{"range":"235","text":"231"},{"range":"236","text":"229"},{"range":"237","text":"231"},{"range":"238","text":"229"},{"range":"239","text":"231"},{"range":"240","text":"229"},{"range":"241","text":"231"},[1107,1109],"[formurl, getformurl]",[533,534],"",[533,533],"\\",[558,559],[558,558],[640,641],[640,640],[665,666],[665,665],[414,415],[414,414],[439,440],[439,439]]