{"version":3,"sources":["webpack:///./node_modules/@babel/runtime/helpers/esm/asyncToGenerator.js","webpack:///./src/pages/signup/artist.tsx","webpack:///./src/images/header-artist.jpg"],"names":["asyncGeneratorStep","gen","resolve","reject","_next","_throw","key","arg","info","value","error","done","Promise","then","_asyncToGenerator","fn","self","this","args","arguments","apply","err","undefined","SignUpArtist","useState","message","messageType","feedback","setFeedback","email","setEmail","fName","setFname","lName","setLname","phone","setPhone","facebook","setFacebook","resume","setResume","source","setSource","why","setWhy","navBg","className","bgImage","headerArtist","strength","style","height","maxHeight","id","name","onSubmit","e","preventDefault","form","document","querySelector","data","FormData","test","fetch","method","body","mode","response","a","console","log","handleSubmit","type","placeholder","onChange","target","rows","cols","maxLength","position","left","aria-hidden","aria-label","htmlFor","tabIndex","dangerouslySetInnerHTML","__html","module","exports"],"mappings":"8FAAA,SAASA,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQC,EAAKC,GACpE,IACE,IAAIC,EAAOP,EAAIK,GAAKC,GAChBE,EAAQD,EAAKC,MACjB,MAAOC,GAEP,YADAP,EAAOO,GAILF,EAAKG,KACPT,EAAQO,GAERG,QAAQV,QAAQO,GAAOI,KAAKT,EAAOC,GAIxB,SAASS,EAAkBC,GACxC,OAAO,WACL,IAAIC,EAAOC,KACPC,EAAOC,UACX,OAAO,IAAIP,SAAQ,SAAUV,EAASC,GACpC,IAAIF,EAAMc,EAAGK,MAAMJ,EAAME,GAEzB,SAASd,EAAMK,GACbT,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,OAAQI,GAGlE,SAASJ,EAAOgB,GACdrB,EAAmBC,EAAKC,EAASC,EAAQC,EAAOC,EAAQ,QAASgB,GAGnEjB,OAAMkB,OA/BZ,mC,+JCiNeC,UApMM,WAAM,MACSC,mBAAS,CACrCC,QAAS,GACTC,YAAa,KAFVC,EADgB,KACNC,EADM,OAKKJ,mBAAS,IAA5BK,EALc,KAKPC,EALO,OAMKN,mBAAS,IAA5BO,EANc,K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EJ,sBAAKqC,UAAU,+BAAf,UACI,uBAAO2B,KAAK,OAAOnB,KAAK,SAASD,GAAG,SAASqB,YAAY,MAAMjE,MAAOgC,EAASkC,SAAU,SAACnB,GAAD,OAAKd,EAAUc,EAAEoB,OAAOnE,UACjH,sEAEJ,sBAAKqC,UAAU,+BAAf,UACI,0BAAUQ,KAAK,MAAMD,GAAG,SAASwB,KAAM,EAAGC,KAAM,EAAGrE,MAAOkC,EAAKoC,UAAW,IAAKJ,SAAW,SAACnB,GAAD,OAAKZ,EAAOY,EAAEoB,OAAOnE,UAC/G,6FAsCJ,qBAAKqC,UAAU,mBAAf,SACI,wBAAQ2B,KAAK,SAAS3B,UAAU,4BAAhC,SACI,8CAIR,sBAAKI,MAAO,CAAC8B,SAAU,WAAYC,KAAM,WAAYC,cAAY,OAAOC,aAAW,gDAAnF,UACI,uBAAOC,QAAQ,SAAf,oBACA,uBAAOX,KAAK,OAAOnB,KAAK,SAAS+B,UAAW,EAAG5E,MAAM,GAAGiE,YAAY,UAAUrB,GAAG,WAEjF,uBAAO+B,QAAQ,UAAf,qBACA,uBAAOX,KAAK,QAAQnB,KAAK,UAAU+B,UAAW,EAAG5E,MAAM,GAAGiE,YAAY,sBAAsBrB,GAAG,YAE/F,uBAAO+B,QAAQ,YAAf,uBACA,0BAAU9B,KAAK,YAAY+B,UAAW,EAAGX,YAAY,iBAAiBrB,GAAG,iBAG7E,qBAAKP,UAAS,mBAAqBnB,EAASD,YAAe4D,wBAAyB,CAACC,OAAQ5D,EAASF,+B,uBCrM9H+D,EAAOC,QAAU,IAA0B","file":"component---src-pages-signup-artist-tsx-a2b906abdd4655f24aeb.js","sourcesContent":["function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) {\n try {\n var info = gen[key](arg);\n var value = info.value;\n } catch (error) {\n reject(error);\n return;\n }\n\n if (info.done) {\n resolve(value);\n } else {\n Promise.resolve(value).then(_next, _throw);\n }\n}\n\nexport default function _asyncToGenerator(fn) {\n return function () {\n var self = this,\n args = arguments;\n return new Promise(function (resolve, reject) {\n var gen = fn.apply(self, args);\n\n function _next(value) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"next\", value);\n }\n\n function _throw(err) {\n asyncGeneratorStep(gen, resolve, reject, _next, _throw, \"throw\", err);\n }\n\n _next(undefined);\n });\n };\n}","import React, { useState } from \"react\";\nimport { Parallax } from \"react-parallax\";\nimport Layout from \"../../components/layouts\";\n// import { lightenDarkenColor } from \"../../utils\";\nimport headerArtist from \"../../images/header-artist.jpg\";\n// import artistAor from \"../../images/artist-aor.jpg\";\n// import artistMini from \"../../images/artist-mini.jpg\";\n// import artistPosted from \"../../images/artist-posted.jpg\";\n// import aristRs from \"../../images/artist-rs.jpg\";\n// import iconGrad from \"../../images/icon-grad.svg\";\n// import iconPaintbrush from \"../../images/icon-paintbrush.svg\";\n// import iconCalendar from \"../../images/icon-calendar.svg\";\n\nconst SignUpArtist = () => {\n const [feedback, setFeedback] = useState({\n message: \"\",\n messageType: \"\",\n });\n const [email, setEmail] = useState(\"\");\n const [fName, setFname] = useState(\"\");\n const [lName, setLname] = useState(\"\");\n const [phone, setPhone] = useState(\"\");\n // const [skype, setSkype] = useState(\"\");\n const [facebook, setFacebook] = useState(\"\");\n const [resume, setResume] = useState(\"\");\n const [source, setSource] = useState(\"\");\n const [why, setWhy] = useState(\"\");\n // const scrollToSignup = () => {\n // window.scrollTo(0, document.getElementById(\"signup-form\").offsetTop);\n // }\n\n const handleSubmit = (e) => {\n e.preventDefault();\n \n if (fName !== '' && lName !== '' && email !== '' && facebook !== '') {\n const regex = /^([\\w-]+(?:\\.[\\w-]+)*)@((?:[\\w-]+\\.)*\\w[\\w-]{0,66})\\.([a-z]{2,6}(?:\\.[a-z]{2})?)$/i;\n const form = document.querySelector('form');\n const data = new FormData(form);\n \n if (!regex.test(email)) {\n setFeedback({\n message: 'Please enter a valid E-mail',\n messageType: 'error'\n });\n return;\n } else {\n fetch(\"https://globalinheritance.us2.list-manage.com/subscribe/post-json?&c=?\", {\n method: \"POST\",\n body: data,\n mode: 'no-cors',\n }).then(async (response) => {\n console.log(response);\n setFeedback({\n message: 'Thank you! Your information has been sent',\n messageType: 'success'\n });\n });\n }\n } else {\n setFeedback({\n message: 'Please fill out all fields',\n messageType: 'error'\n });\n }\n };\n\n return (\n \n
\n
\n \n
\n
\n

Artist

\n
\n \n
\n
\n

Show off your art skills in support of the causes that matter most\n to you! For over a decade, Global Inheritance and artists from around\n the world have partnered together to inspire others through creative\n platforms. Past initiatives include TRASHed :: Art of Recycling, Beat\n The Press, POSTed, Fashion Peace, Portal Potties, and Rain Supreme.

\n\n

Artists are either selected by our internal team or through online art submissions.\n Over 1,200 artists have contributed to this program.

\n\n

Fill out our Artist Forms, share artwork samples and concepts, and we will keep you in the\n loop of upcoming projects and opportunities to get involved. Every year, Global Inheritance\n brings new art-driven programs to major music festivals, universities and events across North\n America. Join our artist network, and get involved today!

\n
\n
\n {/* \n */}\n \n \n
\n

Join the Global Inheritance Artist Community

\n

*Required field

\n
handleSubmit(e)}>\n \n \n \n
\n setFname(e.target.value) }/>\n \n
\n
\n setLname(e.target.value)}/>\n \n
\n
\n setEmail(e.target.value)} />\n \n
\n
\n setPhone(e.target.value)}/>\n \n
\n \n
\n setFacebook(e.target.value)} />\n \n
\n
\n setResume(e.target.value)} />\n \n
\n
\n setSource(e.target.value)}/>\n \n
\n
\n \n
\n\n
\n \n
\n
\n
\n
\n
\n \n \n )\n}\n\nexport default SignUpArtist;\n","module.exports = __webpack_public_path__ + \"static/header-artist-e0bfbd9580ecf37770399a65bacc9fa8.jpg\";"],"sourceRoot":""}