{"version":3,"sources":["assets/BackgroundMusic.mp3","context/VolumeContext.js","components/VolumeButton.js","components/Menu.js","components/Page.js","pages/Landing.js","pages/About.js","pages/Sponsors.js","assets/KnightHacksLogo.svg","pages/Schedule.js","pages/FAQ.js","components/CustomMenuList.js","pages/Register.js","pages/Success.js","App.js","index.js","sentry.js"],"names":["VolumeContext","createContext","VolumeReducer","state","action","type","volumeOn","Error","VolumeProvider","children","song","Audio","BackgroundMusic","loop","useReducer","value","dispatch","Provider","VolumeButton","volume","useContext","color","className","onClick","pause","play","Menu","open","setOpen","show","as","Fragment","id","static","onClose","Child","enter","enterFrom","enterTo","leave","leaveFrom","leaveTo","Overlay","Title","to","Page","onLanding","title","useState","Helmet","href","Landing","unselectable","About","Sponsors","Schedule","ColorHash","lightness","FAQ","list","map","item","index","Button","question","Panel","dangerouslySetInnerHTML","__html","answer","CustomMenuList","props","this","Array","isArray","style","options","maxHeight","getValue","initialOffset","indexOf","childrenOptions","React","Children","toArray","wrapperHeight","length","listStyle","width","height","scrollOffset","itemCount","itemSize","renderItem","bind","Component","TextInputBox","label","field","placeholder","FileUploadBox","handleFile","hiddenFileInput","useRef","event","preventDefault","current","click","ref","onChange","fileUploaded","target","files","display","OptionSelector","trackOptions","selectedTrack","setSelectedTrack","handleTouched","flex","zIndex","undefined","aria-hidden","Options","track","trackIdx","Option","active","selected","createHacker","a","email","first_name","firstName","last_name","lastName","phone_number","phoneNumber","can_share_info","canShareInfo","beginner","isBeginner","ethnicity","pronouns","college","major","graduation_date","graduation","github","linkedin","linkedIn","why_attend","whyAttend","what_learn","whatLearn","in_person","inPerson","dietary_restrictions","dietaryRestrictions","resume","hackerFormData","FormData","append","JSON","stringify","edu_info","socials","transaction","Sentry","data","hacker","get","op","name","description","configureScope","scope","setSpan","fetch","method","body","res","setHttpStatus","status","finish","Register","setResume","history","useHistory","infoOptions","setCanShareInfo","attendingOptions","attendingOption","setAttendingOption","graduationOptions","schoolOption","setSchoolOption","CustomOption","innerProps","rest","onMouseMove","onMouseOver","newProps","DropdownIndicator","graduationOption","setGraduationOption","pronounOptions","pronounOption","setPronounOption","ethnicityOptions","ethnicityOption","setEthnicityOption","countryOption","setCountryOption","registrationState","setRegistrationState","setFeedbackMessage","isOpen","setIsOpen","shouldOpen","setShouldOpen","response","setResponse","serverErrorFocusRef","validationErrorFocusRef","submitRegistration","values","console","log","window","country","ok","push","registrationSchema","yup","shape","required","matches","innerWidth","initialFocus","Description","statusText","initialValues","validate","errors","validationSchema","onSubmit","setSubmitting","isSubmitting","setStatus","submitForm","msg","option","Object","keys","reduce","object","key","pronoun","countries","schools","isSearchable","filterOption","createFilter","ignoreAccents","captureMenuScroll","classNamePrefix","components","MenuList","styles","provided","fontFamily","control","backgroundColor","borderWidth","borderRadius","borderColor","paddingTop","paddingBottom","singleValue","fontSize","lineHeight","isSelected","input","onMenuOpen","schoolName","disabled","Success","AppWithTransitions","location","useLocation","TransitionGroup","CSSTransition","classNames","timeout","exact","path","component","App","createBrowserHistory","basename","dsn","process","integrations","Integrations","BrowserTracing","tracingOrigins","routingInstrumentation","environment","release","tracesSampleRate","enabled","setupSentry","ReactDOM","render","StrictMode","document","getElementById"],"mappings":"yypMAAe,MAA0B,4C,OCG5BA,EAAgBC,0BAQ7B,SAASC,EAAcC,EAAOC,GAC5B,OAAQA,EAAOC,MACb,IAAK,OACH,OAAO,2BAAKF,GAAZ,IAAmBG,UAAU,IAE/B,IAAK,QACH,OAAO,2BAAKH,GAAZ,IAAmBG,UAAU,IAE/B,QACE,MAAM,IAAIC,MAAJ,iCAAoCH,EAAOC,QAyBxCG,MAff,YAAuC,IAAbC,EAAY,EAAZA,SAClBC,EAAO,IAAIC,MAAMC,GACvBF,EAAKG,MAAO,EAFwB,MAIVC,qBAAWZ,EAAe,CAClDI,UAAU,EACVI,SANkC,mBAS9BK,EAAQ,CAAEZ,MAToB,KASba,SATa,MAUpC,OACE,cAAChB,EAAciB,SAAf,CAAwBF,MAAOA,EAA/B,SAAuCN,KCP5BS,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C,eAAe,CAC9BC,eAAgB,CAAC,uBACjBC,uBAAwB3I,KAAoCmB,MAGhEyH,YAAW,UAAEN,gCAAF,EAA2CA,aACtDO,QAASP,2CACTQ,iBAA0D,IAC1DC,SAAS,IDNbC,CAAY7H,IAEZ8H,IAASC,OACP,cAAC,IAAMC,WAAP,UACE,cAAC,GAAD,CAAKhI,QAASA,OAEhBiI,SAASC,eAAe,W","file":"static/js/main.5246e1c8.chunk.js","sourcesContent":["export default __webpack_public_path__ + \"static/media/BackgroundMusic.008fe577.mp3\";","import { createContext, useReducer } from \"react\";\nimport BackgroundMusic from \"../assets/BackgroundMusic.mp3\";\n\nexport const VolumeContext = createContext();\n\n/**\n * A Reducer function for manipulating multiple pieces of state at once.\n * @param state the current VolumeContext state\n * @param action An object containing a type and payload element.\n * @returns The modified state after the selected action type.\n */\nfunction VolumeReducer(state, action) {\n switch (action.type) {\n case \"play\": {\n return { ...state, volumeOn: true };\n }\n case \"pause\": {\n return { ...state, volumeOn: false };\n }\n default: {\n throw new Error(`Unhandled action type: ${action.type}`);\n }\n }\n}\n\n/**\n * A context provider component that allows global access of volume state from anywhere in the codebase.\n * @param children The Apps JSX content that will be rendered.\n * @returns A context provider component from VolumeContext.\n */\nfunction VolumeProvider({ children }) {\n const song = new Audio(BackgroundMusic);\n song.loop = true;\n\n const [state, dispatch] = useReducer(VolumeReducer, {\n volumeOn: false,\n song,\n });\n\n const value = { state, dispatch };\n return (\n {children}\n );\n}\n\nexport default VolumeProvider;\n","import { useContext } from \"react\";\nimport { IconContext } from \"react-icons\";\nimport { BsFillVolumeUpFill, BsFillVolumeMuteFill } from \"react-icons/bs\";\nimport { VolumeContext } from \"../context/VolumeContext\";\n\nconst VolumeButton = () => {\n const volume = useContext(VolumeContext);\n\n return (\n \n {volume.state.volumeOn ? (\n {\n volume.dispatch({ type: \"pause\" });\n volume.state.song.pause();\n }}\n />\n ) : (\n {\n volume.dispatch({ type: \"play\" });\n volume.state.song.play();\n }}\n />\n )}\n \n );\n};\n\nexport default VolumeButton;\n","import { Fragment } from \"react\";\nimport { CgMenu } from \"react-icons/cg\";\nimport { Dialog, Transition } from \"@headlessui/react\";\nimport { Link } from \"react-router-dom\";\nimport VolumeButton from \"./VolumeButton\";\n\n/**\n * @desc Renders menu component containing nav menu and volume\n * @param Takes a piece of state and its update function for when the menu is opened\n * @author Abraham Hernandez\n */\n\nconst Menu = ({ open, setOpen }) => {\n return (\n
\n \n setOpen(!open)}\n />\n
\n \n
\n
\n \n setOpen(false)}\n >\n
\n \n \n \n\n
\n \n setOpen(!open)}\n />\n \n \n
\n \n \n
\n
    \n
  • \n setOpen(false)}\n className=\"focus:outline-none focus:ring focus:border-blue-300 px-2\"\n >\n Home\n \n
  • \n
  • \n setOpen(false)}\n className=\"focus:outline-none focus:ring focus:border-blue-300 px-2\"\n >\n About\n \n
  • \n
  • \n setOpen(false)}\n className=\"focus:outline-none focus:ring focus:border-blue-300 px-2\"\n >\n Sponsors\n \n
  • \n
  • \n setOpen(false)}\n className=\"focus:outline-none focus:ring focus:border-blue-300 px-2\"\n >\n Schedule\n \n
  • \n
  • \n setOpen(false)}\n className=\"focus:outline-none focus:ring focus:border-blue-300 px-2\"\n >\n FAQ\n \n
  • \n
  • \n setOpen(false)}\n className=\"focus:outline-none focus:ring focus:border-blue-300 px-2\"\n >\n Register\n \n
  • \n
\n
\n \n
\n \n \n
\n \n );\n};\n\nexport default Menu;\n","import { useState } from \"react\";\nimport Menu from \"./Menu\";\nimport { Link } from \"react-router-dom\";\nimport { FaInstagram } from \"react-icons/fa\";\nimport { TiSocialFacebook } from \"react-icons/ti\";\nimport { RiTwitterLine } from \"react-icons/ri\";\nimport { Helmet } from \"react-helmet\";\n\n/**\n * @desc Renders template layout for all pages\n * @param Takes the children JSX elements and a boolean value thats true if the current page is the Landing page\n * @author Abraham Hernandez\n */\n\nconst Page = ({ children, onLanding, title }) => {\n const [open, setOpen] = useState(false);\n\n return (\n <>\n \n {title}\n \n \n
\n \n
\n\n
\n
\n {children}\n
\n \n \n \n \n \n \n \n \n \n
\n
\n
\n\n \n \n );\n};\n\nexport default Page;\n","import { Helmet } from \"react-helmet\";\nimport { Link } from \"react-router-dom\";\nimport Page from \"../components/Page\";\n\n/**\n * @desc Renders Landing page of the site\n * @author Abraham Hernandez\n */\nconst Landing = () => {\n return (\n <>\n \n Knight Hacks\n \n \n
\n \n

\n November 12th - November 14th, 2021\n

\n \n

\n REGISTER\n

\n \n
\n \n \n

Sponsor Us

\n \n \n \n

Join Discord

\n \n
\n
\n
\n \n );\n};\n\nexport default Landing;\n","import Page from \"../components/Page\";\n\n/**\n * @desc About Page\n * @author Ro-Hanna Jowallah\n */\nconst About = () => {\n return (\n \n
\n

\n About Us\n

\n
\n
\n Connect, Collaborate, and Create with over 700 of the brightest and\n most enthusiastic developers, engineers, and designers in the\n south-east and around the world!\n
\n {\"\"}\n
\n Whether {\"you're\"} a season hacker or a complete tech newbie, Knight\n Hacks welcomes you! Just bring an open mind and a insatiable desire\n to learn, and {\"we'll\"} take care of the rest.\n
\n {\"\"}\n
\n Create a product, learn new skills, and have fun with friends old\n and new - all in 36 hours!\n
\n
\n
\n
\n );\n};\n\nexport default About;\n","import { Helmet } from \"react-helmet\";\nimport Page from \"../components/Page\";\n\n// for testing only, not for final production\nimport TestLogo from \"../assets/KnightHacksLogo.svg\";\n\n/**\n * @desc sponsors page; still WIP since we are waiting on sponsors\n * @author Rob\n */\nconst Sponsors = () => {\n const sponsorsIncomplete = true;\n\n if (sponsorsIncomplete) {\n return (\n <>\n \n Knight Hacks | Sponsors\n \n \n

\n Sponsors\n

\n
\n
\n Coming soon!\n
\n
\n Keep an eye out on this page for updates on this page in the\n upcoming weeks.\n
\n
\n
\n \n );\n }\n return (\n \n \n Our Sponsors\n \n
\n \n \n \n \n \n \n
\n
\n );\n};\n\nexport default Sponsors;\n","export default __webpack_public_path__ + \"static/media/KnightHacksLogo.331e4162.svg\";","import Page from \"../components/Page\";\nimport content from \"../assets/content/schedule.json\";\nimport ColorHash from \"color-hash\";\nimport { Helmet } from \"react-helmet\";\n\n/**\n * @desc Displays Schedule using formatted events from JSON\n * @author Aileen\n */\n\nconst hash = new ColorHash({ lightness: 0.8 });\nconst Schedule = () => {\n const scheduleIncomplete = true;\n\n if (scheduleIncomplete) {\n return (\n <>\n \n Knight Hacks | Schedule\n \n \n

\n Schedule\n

\n
\n
\n Coming soon!\n
\n
\n Keep an eye out on this page for updates on this page in the\n upcoming weeks.\n
\n
\n
\n \n );\n }\n return (\n \n
\n

\n Schedule\n

\n {content.map((event, index) => {\n return (\n
\n

\n {event.day}\n

\n {/* Mapping through the content in each events block in JSON */}\n {event.events.map((item, index) => (\n <>\n
\n
\n {item.time} {\" \"}\n {item.title} \n
\n {/* Mapping through each string in the tags array in JSON */}\n {item.tags.map((tag, index) => (\n \n {tag}\n \n ))}\n
\n {item.tags.map((tag, index) => (\n \n {tag}\n \n ))}\n \n ))}\n
\n );\n })}\n
\n
\n );\n};\n\nexport default Schedule;\n","import Page from \"../components/Page\";\nimport { Disclosure, Transition } from \"@headlessui/react\";\nimport { HiChevronDown } from \"react-icons/hi\";\nimport list from \"../assets/content/faq.json\";\n\n/**\n * @desc Renders FAQ page using dropdowns\n * @author Abraham Hernandez\n */\nconst FAQ = () => {\n return (\n \n
\n

\n FAQ\n

\n
\n {list.map((item, index) => (\n \n {({ open }) => (\n <>\n \n {item.question}\n \n \n \n \n \n \n )}\n \n ))}\n
\n
\n
\n );\n};\n\nexport default FAQ;\n","import React from \"react\";\nimport VirtualList from \"react-tiny-virtual-list\";\n\nconst DefaultItemHeight = 40;\n\nexport default class CustomMenuList extends React.Component {\n renderItem(props) {\n const { children } = this.props;\n if (Array.isArray(children)) {\n return (\n
  • \n {children[props.index]}\n
  • \n );\n }\n return (\n
  • \n {children.props.children}\n
  • \n );\n }\n\n render() {\n const { options, children, maxHeight, getValue } = this.props;\n\n const [value] = getValue();\n const initialOffset = options.indexOf(value) * DefaultItemHeight;\n const childrenOptions = React.Children.toArray(children);\n const wrapperHeight =\n maxHeight < childrenOptions.length * DefaultItemHeight\n ? maxHeight\n : childrenOptions.length * DefaultItemHeight;\n\n return (\n \n \n \n );\n }\n}\n","import { Dialog, Listbox } from \"@headlessui/react\";\nimport { CheckIcon, SelectorIcon } from \"@heroicons/react/solid\";\nimport { useRef, useState } from \"react\";\nimport { HiOutlineUpload } from \"react-icons/hi\";\nimport Page from \"../components/Page\";\nimport { useHistory } from \"react-router-dom\";\nimport * as Sentry from \"@sentry/react\";\nimport { Formik, Form, Field, ErrorMessage } from \"formik\";\nimport * as yup from \"yup\";\nimport ReactSelect, { createFilter, components } from \"react-select\";\nimport CustomMenuList from \"../components/CustomMenuList\";\nimport schools from \"../assets/content/schools.json\";\nimport countries from \"../assets/content/countries.json\";\n\n/**\n * @desc Registration page where hackers can sign up for the hackathon. After\n * submitting, the backend is updated and they will recieve a success message\n * on the page.\n *\n * @author Rob\n */\nconst Register = () => {\n const [resume, setResume] = useState(null);\n const trackOptions = [\"Beginner\", \"Intermediate / Advanced\"];\n const [selectedTrack, setSelectedTrack] = useState(trackOptions[0]);\n const history = useHistory();\n\n const infoOptions = [\n \"Yes; I'm comfortable with my information being shared.\",\n \"No; don't share my my information.\",\n ];\n const [canShareInfo, setCanShareInfo] = useState(infoOptions[0]);\n\n const attendingOptions = [\n \"I will be attending Knight Hacks in person.\",\n \"I will be attending Knight Hacks virtually.\",\n ];\n const [attendingOption, setAttendingOption] = useState(attendingOptions[0]);\n\n const graduationOptions = [\n \"Fall 2021\",\n \"Spring 2022\",\n \"Summer 2022\",\n \"Fall 2022\",\n \"Spring 2023\",\n \"Summer 2023\",\n \"Fall 2023\",\n \"Spring 2024\",\n \"Summer 2024\",\n \"Fall 2024\",\n ];\n\n const [schoolOption, setSchoolOption] = useState(\"School Name\");\n\n const CustomOption = ({ children, ...props }) => {\n // eslint-disable-next-line no-unused-vars\n const { onMouseMove, onMouseOver, ...rest } = props.innerProps;\n const newProps = { ...props, innerProps: rest };\n return (\n \n {children}\n \n );\n };\n\n const DropdownIndicator = (props) => {\n return (\n \n \n \n );\n };\n\n const [graduationOption, setGraduationOption] = useState(\"Graduation Year\");\n\n const pronounOptions = [\"she/her\", \"he/him\", \"they/them\", \"ze/zir\", \"Other\"];\n const [pronounOption, setPronounOption] = useState(\"Pronouns\");\n\n const ethnicityOptions = [\n \"American Indian or Alaska Native\",\n \"Asian\",\n \"Black or African American\",\n \"Hispanic or Latino\",\n \"Native Hawaiian or Other Pacific Islander\",\n \"White\",\n \"Two or more\",\n ];\n const [ethnicityOption, setEthnicityOption] = useState(\"Ethnicity\");\n\n const [countryOption, setCountryOption] = useState(\"Country\");\n\n // \"unset\" | \"success\" | \"failure\" | \"pending\"\n const [registrationState, setRegistrationState] = useState(\"unset\");\n const [feedbackMessage, setFeedbackMessage] = useState(\"\");\n\n // registration fail dialog\n const [isOpen, setIsOpen] = useState(false);\n\n // user validation dialog\n const [shouldOpen, setShouldOpen] = useState(false);\n\n const [response, setResponse] = useState(null);\n\n const serverErrorFocusRef = useRef(null);\n const validationErrorFocusRef = useRef(null);\n\n const submitRegistration = async (values) => {\n switch (registrationState) {\n case \"pending\":\n setFeedbackMessage(\"Registration is being processed!\");\n console.log(\"in proccess\");\n break;\n case \"success\":\n setFeedbackMessage(\"Registration already successful!\");\n window.open(\"/success\");\n console.log(\"success login\");\n break;\n default: {\n setRegistrationState(\"pending\");\n setFeedbackMessage(\"Processing registration...\");\n\n const response = await createHacker({\n email: values.email,\n firstName: values.firstName,\n lastName: values.lastName,\n phoneNumber: values.phoneNumber,\n canShareInfo,\n isBeginner: selectedTrack === \"Beginner\",\n ethnicity: ethnicityOption,\n country: countryOption,\n pronouns: pronounOption,\n college: schoolOption.value,\n major: values.major,\n graduation: graduationOption,\n github: values.github,\n linkedIn: values.linkedIn,\n whyAttend: values.whyAttend,\n whatLearn: values.whatLearn,\n inPerson: attendingOption === \"In Person\",\n dietaryRestrictions: values.dietaryRestrictions,\n resume,\n });\n setRegistrationState(response.ok ? \"success\" : \"failure\");\n setResponse(response);\n if (response.ok) history.push(\"/success\");\n else setIsOpen(true);\n }\n }\n };\n\n const phoneRegExp = /^((\\\\+[1-9]{1,4}[ \\\\-]*)|(\\\\([0-9]{2,3}\\\\)[ \\\\-]*)|([0-9]{2,4})[ \\\\-]*)*?[0-9]{3,4}?[ \\\\-]*[0-9]{3,4}?$/;\n\n let registrationSchema = yup.object().shape({\n firstName: yup.string().required(\"First name is required.\"),\n lastName: yup.string().required(\"Last name is required.\"),\n email: yup\n .string()\n .email(\"Email is not valid.\")\n .required(\"Email is required.\"),\n phoneNumber: yup\n .string()\n .matches(phoneRegExp, \"Phone number is not valid.\")\n .required(\"Phone number is required.\"),\n major: yup.string().required(\"Major is required.\"),\n whyAttend: yup.string().required(\"Required.\"),\n whatLearn: yup.string().required(\"Required.\"),\n });\n\n if (window.innerWidth <= 470) {\n return (\n <>\n \n

    \n Register\n

    \n
    \n
    \n Get off your phone!\n
    \n
    \n Head over to our web view to register early.\n
    \n
    \n
    \n \n );\n }\n\n return (\n \n setIsOpen(false)}\n initialFocus={serverErrorFocusRef}\n className=\"fixed inset-0 z-10 overflow-y-auto h-100 w-100\"\n >\n \n\n
    \n
    \n \n Registration Failed :(\n \n \n Something went wrong; please try again!\n \n\n

    \n {`The server says \"${\n response\n ? `${response.status}: ${response.statusText}`\n : \"\"\n }\".`}\n

    \n\n
    \n {\n setIsOpen(false);\n submitRegistration(event);\n }}\n ref={serverErrorFocusRef}\n >\n Try again\n \n \n
    \n
    \n
    \n \n

    \n Register\n

    \n {\n const errors = {};\n\n if (resume != null && resume.type !== \"application/pdf\") {\n errors.resume = \"File must be a pdf\";\n }\n\n return errors;\n }}\n validationSchema={registrationSchema}\n onSubmit={(values, { setSubmitting }) => {\n submitRegistration(values);\n setSubmitting(false);\n }}\n >\n {({ isSubmitting, errors, status, setStatus, submitForm }) => (\n <>\n {\n setShouldOpen(false);\n }}\n className=\"fixed inset-0 z-10 overflow-y-auto h-100 w-100\"\n initialFocus={validationErrorFocusRef}\n >\n \n\n
    \n
    \n \n Registration Failed :(\n \n \n One or more fields have not been filled in correctly.\n \n\n
    \n {\n setShouldOpen(false);\n }}\n ref={validationErrorFocusRef}\n >\n Go away\n \n
    \n
    \n
    \n \n
    \n
    \n
    \n \n {({ field }) => (\n \n )}\n \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n
    \n \n {({ field }) => (\n \n )}\n \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n
    \n
    \n
    \n setResume(fileUploaded)}\n title=\" Upload Resume\"\n />\n
    \n {resume ? (\n <>\n

    {\"Filename: \" + resume.name}

    \n

    \n {errors.resume && errors.resume}\n

    \n \n ) : (\n

    (PDF files only)

    \n )}\n
    \n \n
    \n
    \n {resume ? (\n <>\n

    {\"Filename: \" + resume.name}

    \n

    \n {errors.resume && errors.resume}\n

    \n \n ) : (\n

    (PDF files only)

    \n )}\n
    \n
    \n
    \n {\n setPronounOption(option);\n setStatus(\n Object.keys(status).reduce((object, key) => {\n if (key !== \"pronoun\") {\n object[key] = status[key];\n }\n return object;\n }, {})\n );\n }}\n handleTouched={() => {\n if (!status?.pronoun && pronounOption === \"Pronouns\") {\n setStatus({\n ...status,\n pronoun: \"Pronoun option is required.\",\n });\n }\n }}\n flex=\"col\"\n zIndex=\"50\"\n />\n {status && status.pronoun && (\n

    \n {status.pronoun}\n

    \n )}\n
    \n
    \n {\n setEthnicityOption(option);\n setStatus(\n Object.keys(status).reduce((object, key) => {\n if (key !== \"ethnicity\") {\n object[key] = status[key];\n }\n return object;\n }, {})\n );\n }}\n handleTouched={() => {\n if (!status?.ethnicity && ethnicityOption === \"Ethnicity\") {\n setStatus({\n ...status,\n ethnicity: \"Ethnicity option is required.\",\n });\n }\n }}\n flex=\"col\"\n zIndex=\"40\"\n />\n {status && status.ethnicity && (\n

    \n {status.ethnicity}\n

    \n )}\n
    \n
    \n {\n setCountryOption(option);\n setStatus(\n Object.keys(status).reduce((object, key) => {\n if (key !== \"country\") {\n object[key] = status[key];\n }\n return object;\n }, {})\n );\n }}\n handleTouched={() => {\n if (!status?.country && countryOption === \"Country\") {\n setStatus({\n ...status,\n country: \"Country option is required.\",\n });\n }\n }}\n flex=\"col\"\n zIndex=\"40\"\n />\n {status && status.country && (\n

    \n {status.country}\n

    \n )}\n
    \n
    \n
    \n \n {({ field }) => (\n \n )}\n \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n
    \n \n {({ field }) => (\n \n )}\n \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n
    \n
    \n
    \n {\n setSchoolOption(option);\n setStatus(\n Object.keys(status).reduce((object, key) => {\n if (key !== \"schoolName\") {\n object[key] = status[key];\n }\n return object;\n }, {})\n );\n }}\n placeholder=\"School Name\"\n isSearchable\n filterOption={createFilter({ ignoreAccents: false })}\n captureMenuScroll={false}\n classNamePrefix=\"custom-select\"\n components={{\n Option: CustomOption,\n MenuList: CustomMenuList,\n DropdownIndicator: DropdownIndicator,\n }}\n className=\"text-gray-900\"\n styles={{\n placeholder: (provided) => ({\n ...provided,\n color: \"rgb(219, 234, 254)\",\n fontFamily: \"Palanquin Light, sans-serif\",\n }),\n control: (provided) => ({\n ...provided,\n backgroundColor: \"rgba(159, 211, 233, 0.47)\",\n borderWidth: \"2px\",\n borderRadius: \"0.5rem\",\n borderColor: \"rgb(249, 250, 251)\",\n \"&:hover\": {\n borderColor: \"rgb(191, 219, 254)\",\n },\n paddingTop: \"0.1rem\",\n paddingBottom: \"0.1rem\",\n }),\n singleValue: (provided) => ({\n ...provided,\n color: \"white\",\n fontSize: \"0.875rem\",\n lineHeight: \"1.25rem\",\n }),\n option: (provided, state) => {\n const backgroundColor = state.isSelected\n ? \"rgb(219, 234, 254)\"\n : \"\";\n return {\n ...provided,\n backgroundColor: backgroundColor,\n color: \"rgb(17, 24, 39)\",\n fontSize: \"0.875rem\",\n lineHeight: \"1.25rem\",\n };\n },\n input: (provided) => ({\n ...provided,\n color: \"white\",\n fontSize: \"0.875rem\",\n lineHeight: \"1.25rem\",\n }),\n }}\n onMenuOpen={() => {\n if (\n !status?.schoolName &&\n schoolOption === \"School Name\"\n ) {\n setStatus({\n ...status,\n schoolName: \"School name is required.\",\n });\n }\n }}\n />\n {status && status.schoolName && (\n

    \n {status.schoolName}\n

    \n )}\n
    \n
    \n \n {({ field }) => (\n \n )}\n \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n {\n setGraduationOption(option);\n setStatus(\n Object.keys(status).reduce((object, key) => {\n if (key !== \"graduation\") {\n object[key] = status[key];\n }\n return object;\n }, {})\n );\n }}\n handleTouched={() => {\n if (\n !status?.graduation &&\n graduationOption === \"Graduation Year\"\n ) {\n setStatus({\n ...status,\n graduation: \"Graduation option is required.\",\n });\n }\n }}\n flex=\"col\"\n zIndex=\"30\"\n />\n {status && status.graduation && (\n

    \n {status.graduation}\n

    \n )}\n
    \n
    \n \n
    \n

    \n Do you have any dietary restrictions that we should be aware of?\n

    \n
    \n \n {({ field }) => (\n \n )}\n \n \n {({ field }) => }\n \n \n {({ field }) => (\n \n )}\n \n
    \n
    \n \n
    \n \n {({ field }) => (\n
    \n
    \n \n
    \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n )}\n
    \n \n {({ field }) => (\n
    \n
    \n \n
    \n \n {(msg) => (\n

    \n {msg}\n

    \n )}\n
    \n
    \n )}\n
    \n
    \n \n Submit\n \n
    \n
    \n \n )}\n \n
    \n );\n};\n\n/**\n * @desc TODO\n * @prop label\n * @author Rob\n */\nconst TextInputBox = ({ label, field }) => {\n return (\n
    \n \n
    \n );\n};\n\n/**\n * @desc A customizable file upload field.\n * @prop file: the current file selected, CAN BE NULL.\n * @prop handleFile: Callback function for when a file has been selected.\n * @prop defaultValue: The default text shown when no file has been selected.\n * @author Abraham Hernandez\n */\nconst FileUploadBox = ({ handleFile, title }) => {\n const hiddenFileInput = useRef(null);\n\n const handleClick = (event) => {\n event.preventDefault();\n hiddenFileInput.current.click();\n };\n\n const handleChange = (event) => {\n event.preventDefault();\n const fileUploaded = event.target.files[0];\n handleFile(fileUploaded);\n };\n\n return (\n
    \n Resume\n \n \n

    {title}

    \n \n \n
    \n );\n};\n\n/**\n * @desc A Listbox for selecting a hackathon track. Modified from existing code from Rob.\n * @prop title: A string for the title\n * @prop trackOptions: An array of strings containing the track options.\n * @prop selectedTrack: A string containing the current track option selected.\n * @prop setSelectedTrack: A state set function for selecting a track.\n * @prop flex: A string for telling what flex direction to use.\n * @author Abraham Hernandez, Rob\n */\nconst OptionSelector = ({\n title,\n trackOptions,\n selectedTrack,\n setSelectedTrack,\n handleTouched,\n flex,\n zIndex,\n}) => {\n return (\n \n \n {title}\n \n \n
    \n \n \n {selectedTrack}\n \n \n \n \n \n\n \n {trackOptions.map((track, trackIdx) => (\n \n `${active ? \"text-blue-900 bg-blue-100\" : \"text-gray-900\"}\n cursor-default select-none relative py-2 pl-10 pr-4`\n }\n value={track}\n >\n {({ selected, active }) => (\n <>\n \n {track}\n \n {selected ? (\n \n \n \n ) : null}\n \n )}\n \n ))}\n \n
    \n \n \n );\n};\n\n/**\n * @desc attempts to create a hacker on the backend\n * @author Rob\n */\nconst createHacker = async ({\n email,\n firstName: first_name,\n lastName: last_name,\n phoneNumber: phone_number,\n canShareInfo: can_share_info,\n isBeginner: beginner,\n ethnicity,\n pronouns,\n college,\n major,\n graduation: graduation_date,\n github,\n linkedIn: linkedin,\n whyAttend: why_attend,\n whatLearn: what_learn,\n inPerson: in_person,\n dietaryRestrictions: dietary_restrictions,\n resume,\n}) => {\n const hackerFormData = new FormData();\n hackerFormData.append(\n \"hacker\",\n JSON.stringify({\n beginner,\n can_share_info: can_share_info === \"Yes\",\n edu_info: {\n college,\n graduation_date,\n major,\n },\n email,\n ethnicity,\n first_name,\n last_name,\n phone_number,\n pronouns,\n socials: {\n github,\n linkedin,\n },\n why_attend,\n what_learn: [what_learn],\n dietary_restrictions,\n in_person,\n })\n );\n hackerFormData.append(\"resume\", resume);\n\n const transaction = Sentry.startTransaction({\n data: {\n hacker: hackerFormData.get(\"hacker\"),\n },\n op: \"transaction\",\n name: \"submitHacker\",\n description: \"POST https://api.knighthacks.org/api/hackers/\",\n });\n\n Sentry.getCurrentHub().configureScope((scope) => scope.setSpan(transaction));\n\n const res = await fetch(\"https://api.knighthacks.org/api/hackers/\", {\n method: \"POST\",\n body: hackerFormData,\n });\n\n transaction.setHttpStatus(res.status);\n\n transaction.finish();\n\n return res;\n};\n\nexport default Register;\n","import React from \"react\";\nimport { Helmet } from \"react-helmet\";\nimport Page from \"../components/Page\";\nimport { AiOutlineCheckCircle } from \"react-icons/ai\";\n/**\n * @desc success state for the registration form\n * @author Ro-Hanna\n */\nfunction Success() {\n return (\n
    \n \n Success\n \n \n
    \n

    \n Register\n

    \n \n

    \n Thank you for applying!\n

    \n\n
    \n
    \n You will be receiving a follow up email soon.\n
    \n
    \n
    \n
    \n
    \n );\n}\n\nexport default Success;\n","import \"./App.css\";\n\nimport { Router, Switch, Route } from \"react-router-dom\";\nimport Landing from \"./pages/Landing\";\nimport About from \"./pages/About\";\nimport Sponsors from \"./pages/Sponsors\";\nimport Schedule from \"./pages/Schedule\";\nimport FAQ from \"./pages/FAQ\";\nimport Register from \"./pages/Register\";\nimport Success from \"./pages/Success\";\n\nimport { TransitionGroup, CSSTransition } from \"react-transition-group\";\nimport { useLocation } from \"react-router-dom\";\nimport VolumeProvider from \"./context/VolumeContext\";\n/**\n * @desc See AppWithTransitions; don't make routing changes here\n * @author Abraham Hernandez, Rob\n */\nconst App = ({ history }) => {\n return (\n \n \n \n {/*\n * We forward to AppWithTransitions so we can animate the transitions.\n * Don't put more routes here, instead put them in the\n * AppWithTransitions component.\n */}\n \n \n \n \n \n \n );\n};\n\n/**\n * @desc AppWithTransitions is like App but it wraps every page transition to\n * have a nice blur-up effect.\n * @author Rob\n */\nconst AppWithTransitions = () => {\n const location = useLocation();\n return (\n \n \n {/* You can edit the routes here */}\n \n \n \n \n \n \n \n \n \n \n \n );\n};\n\nexport default App;\n","import React from \"react\";\nimport ReactDOM from \"react-dom\";\nimport \"./index.css\";\nimport App from \"./App\";\nimport { setupSentry } from \"./sentry\";\nimport { createBrowserHistory } from \"history\";\n\nconst history = createBrowserHistory({ basename: \"/\" });\n\nsetupSentry(history);\n\nReactDOM.render(\n \n \n ,\n document.getElementById(\"root\")\n);\n\n// to log results (for example: reportWebVitals(console.log))\n// If you want to start measuring performance in your app, pass a function\n// or send to an analytics endpoint. Learn more: https://bit.ly/CRA-vitals\n","import * as Sentry from \"@sentry/react\";\nimport { Integrations } from \"@sentry/tracing\";\n\nexport const setupSentry = (history) => {\n Sentry.init({\n dsn: process.env.REACT_APP_SENTRY_DSN,\n integrations: [\n new Integrations.BrowserTracing({\n tracingOrigins: [\"api.knighthacks.org\"],\n routingInstrumentation: Sentry.reactRouterV5Instrumentation(history),\n }),\n ],\n environment: process.env.REACT_APP_CF_PAGES_BRANCH ?? process.env.NODE_ENV,\n release: process.env.REACT_APP_CF_PAGES_COMMIT_SHA,\n tracesSampleRate: process.env.NODE_ENV === \"production\" ? 0.75 : 1.0,\n enabled: true,\n });\n};\n"],"sourceRoot":""}