{"version":3,"sources":["types/index.ts","contexts/CASProvider.tsx","components/Profile.tsx","contexts/CoursesProvider.tsx","components/Dropdown.tsx","components/Topbar.tsx","components/Transfer.tsx","components/SchedulerRow.tsx","components/SchedulerEvents.tsx","constants/index.ts","components/Scheduler.tsx","webpack:///./src/assets/close.svg?fc23","components/CourseCard.tsx","components/Rightbar.tsx","components/App.tsx","styles/GlobalStyles.ts","index.tsx","assets/transfer.png","assets/search.svg","assets/UK.png","assets/PL.png","assets/user.png","assets/close.svg","assets/expand.png"],"names":["GroupType","CASContext","createContext","undefined","CASProvider","children","useState","user","setUser","useEffect","login","a","urlParams","URLSearchParams","window","location","search","ticket","get","replace","origin","sessionStorage","getItem","axios","process","token","data","setItem","console","log","Provider","value","logout","Profile","anchorEl","handleClose","useContext","Menu","keepMounted","open","Boolean","onClose","MenuItem","onClick","coursesContext","CoursesProvider","courses","setCourses","basket","setBasket","CAS","saveBasket","json","JSON","stringify","json_data","post","headers","Authorization","ech","map","id","name","groups","parseInt","lectures","filter","type","LECTURE","classes","CLASS","sort","b","fetchData","addToBasket","course","courseToBasket","lecture","addGroup","choosenGroup","basketCourse","deleteFromBasket","DropdownStyled","styled","div","CourseStyled","useStyles","makeStyles","topbarInput","marginTop","width","Dropdown","clearInput","handleClearInput","React","setOpen","input","setInput","filteredCourses","setFilteredCourses","choosenCoursesNames","trim","toLowerCase","includes","filterCourses","onCourseClick","event","target","currentTarget","textContent","find","toString","ClickAwayListener","onClickAway","Input","placeholder","inputProps","className","onChange","index","key","TopbarTextStyled","Topbar","TopbarLogoWrapperStyled","TopbarLogoStyled","img","TopbarInputStyled","TopbarInputFieldStyled","TopbarInputIconStyled","TopbarIcon","TopbarIconBox","handleTransfer","setClearInput","isPolish","setIsPolish","setAnchorEl","alt","src","Search","CloseIcon","Transfer","UK","PL","User","wrapper","display","justifyContent","textAlign","alignItems","TransferStyled","TransferGiveStyled","TransferReceiveStyled","TransferTextStyled","TransferInputStyled","isOpen","Modal","aria-labelledby","aria-describedby","Fade","in","theme","createStyles","popover","pointerEvents","paper","padding","spacing","marginLeft","SchedulerEvent","cellTop","cellWidth","eventIndex","cellHeight","Classes","groupType","SchedulerRow","indexRow","popoverId","setPopoverId","handlePopoverClose","Array","_","group","day","aria-owns","aria-haspopup","onMouseEnter","e","onMouseLeave","room","Popover","anchorOrigin","vertical","horizontal","transformOrigin","disableRestoreFocus","Typography","lecturer","SchedulerEvents","choosenGroupsMappedToEvents","setChoosenGroupsMappedToEvents","groupTimeToEventRowMapping","groupsMapped","time","eventRow","mapGroupTimeToEventRow","days","hours","SchedulerWrapper","TableBody","TableRow","TableHead","TableCell","height","Scheduler","table","cellRef","useRef","setCellWidth","setCellTop","wrapperRef","wrapperHeight","setWrapperHeight","handleResize","current","getBoundingClientRect","top","addEventListener","ref","indexCell","hour","_extends","Object","assign","i","arguments","length","source","prototype","hasOwnProperty","call","apply","this","_objectWithoutProperties","excluded","sourceKeys","keys","indexOf","_objectWithoutPropertiesLoose","getOwnPropertySymbols","sourceSymbolKeys","propertyIsEnumerable","createElement","d","fill","_ref","svgRef","title","props","viewBox","ForwardRef","forwardRef","CourseNameStyled","ClassGroupStyled","ClassExandIconStyled","isSelected","TypeClass","expanded","maxHeight","overflowY","borderRadius","backgroundColor","outline","DeleteFromBasketIcon","CourseCard","setSelected","Collapse","timeout","unmountOnExit","localeCompare","onGroupClick","ExpandIcon","RightbarStyled","RightbarTextStyled","SaveButton","Alert","elevation","variant","Rightbar","names","getBasketGroups","save","debounce","reason","Snackbar","autoHideDuration","severity","Wrapper","App","isOpenTransfer","setOpenTransfer","GlobalStyles","createGlobalStyle","ReactDOM","render","document","getElementById","module","exports"],"mappings":"qHAAYA,E,yNCSCC,EAAaC,6BAAsCC,GAMnDC,EAAc,SAAC,GAAoC,IAAlCC,EAAiC,EAAjCA,SAAiC,EACrCC,wBAA2BH,GADU,mBACtDI,EADsD,KAChDC,EADgD,KAE7DC,qBAAU,WACRC,MACC,IAEH,IAAMA,EAAK,uCAAG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C,GAAQ,GACRnE,QAAQC,IAAI,YACZ,KAEIM,EAAc,SAACuE,EAA8B2L,GAClC,cAAXA,GAIJtM,GAAQ,IAIV,OACE,kBAAC2L,GAAD,KACE,kBAACC,GAAD,KACE,oDACmB,6BADnB,4BAIA,kBAACC,GAAD,CAAYjP,QAASwP,GAArB,WAEDjM,EAAgBtC,KAAI,SAACe,EAAQ4C,GAAT,OACnB,kBAAC,GAAD,CAAY5C,OAAQA,EAAQ6C,IAAKD,OAEnC,kBAAC+K,GAAA,EAAD,CAAU/P,KAAMA,EAAMgQ,iBAAkB,IAAM9P,QAASN,GACrD,kBAAC,GAAD,CAAOM,QAASN,EAAaqQ,SAAS,WAAtC,qB,0HCzFR,IAAMC,GAAUtN,IAAOC,IAAV,MAKAsN,GAAM,WAAO,IAAD,EACmBpS,oBAAS,GAD5B,mBAChBqS,EADgB,KACAC,EADA,KAGjBzK,EAAiB,WACrByK,GAAiBD,IAGnB,OACE,oCACE,kBAAC,GAAD,CAAQxK,eAAgBA,IACxB,kBAAC,GAAD,CAAUuB,OAAQiJ,EAAgBxQ,YAAagG,IAC/C,kBAACsK,GAAD,KACE,kBAAC,GAAD,MACA,kBAAC,GAAD,S,kWCvBD,IAAMI,GAAeC,YAAH,MCKzBC,IAASC,OACP,oCACE,kBAAC,EAAD,KACE,kBAAC,EAAD,KACE,kBAACH,GAAD,MACA,kBAAC,GAAD,SAINI,SAASC,eAAe,U,iBChB1BC,EAAOC,QAAU,8zQ,mBCAjBD,EAAOC,QAAU,IAA0B,oC,mBCA3CD,EAAOC,QAAU,IAA0B,gC,mBCA3CD,EAAOC,QAAU,IAA0B,gC,mBCA3CD,EAAOC,QAAU,IAA0B,kC,mBCA3CD,EAAOC,QAAU,IAA0B,mC,iBCA3CD,EAAOC,QAAU,suB","file":"static/js/main.993a2e72.chunk.js","sourcesContent":["export enum GroupType {\n LECTURE = 'LECTURE',\n CLASS = 'CLASS',\n}\n\nexport interface Basket {\n id: number;\n name: string;\n lecture?: Group;\n classes: Group;\n}\n\nexport interface Group {\n id: number;\n day: number;\n time: string;\n lecturer: string;\n room: string;\n type: GroupType;\n capacity?: number;\n}\n\nexport interface Course {\n id: number;\n name: string;\n lectures?: Array;\n classes: Array;\n}\n\nexport interface User {\n name?: string;\n surname?: string;\n token: string | null;\n}\n","import React, { useState, useEffect, createContext, ReactNode } from 'react';\nimport { User } from '../types';\nimport axios from 'axios';\n\nexport interface CASContext {\n user?: User;\n logout: () => void;\n}\n\nexport const CASContext = createContext(undefined);\n\nexport interface CASProviderProps {\n children: ReactNode;\n}\n\nexport const CASProvider = ({ children }: CASProviderProps) => {\n const [user, setUser] = useState(undefined);\n useEffect(() => {\n login();\n }, []);\n\n const login = async () => {\n const urlParams = new URLSearchParams(window.location.search);\n const ticket = urlParams.get('ticket');\n if (!ticket) {\n redirectToCASLoginService();\n }\n try {\n if (!sessionStorage.getItem('userToken')) {\n const { data: token } = await axios.get(`${process.env.REACT_APP_API_URL}/token?ticket=${ticket}`);\n sessionStorage.setItem('userToken', token);\n setUser({ ...user, token });\n }\n const token = sessionStorage.getItem('userToken');\n setUser({ ...user, token });\n } catch (e) {\n console.log(e);\n }\n };\n\n function logout() {\n redirectToCASLogoutService();\n }\n\n function redirectToCASLogoutService() {\n window.location.replace(`https://cas.amu.edu.pl/cas/logout?service=${window.origin}`);\n }\n\n function redirectToCASLoginService() {\n window.location.replace(`https://cas.amu.edu.pl/cas/login?service=${window.origin}&locale=pl`);\n }\n\n return {children};\n};\n","import { Menu, MenuItem } from '@material-ui/core';\nimport React, { useContext } from 'react';\nimport { CASContext } from '../contexts/CASProvider';\n\ninterface ProfileProps {\n anchorEl: HTMLElement | null;\n handleClose: () => void;\n}\n\nexport const Profile = ({ anchorEl, handleClose }: ProfileProps) => {\n const { logout } = useContext(CASContext)!;\n\n return (\n \n Profile\n My account\n Logout\n \n );\n};\n","import React, { useState, createContext, useEffect, ReactNode, useContext } from 'react';\nimport { Course, Group, Basket, GroupType } from '../types';\nimport axios from 'axios';\nimport { CASContext, CASProvider } from './CASProvider';\n\ninterface CourseContext {\n courses: Array;\n basket: Array;\n addToBasket: (courses: Course) => void;\n addGroup: (group: Group, id: number) => void;\n deleteFromBasket: (id: number) => void;\n saveBasket: () => void;\n}\nexport const coursesContext = createContext(undefined);\n\ninterface CoursesProviderProps {\n children: ReactNode;\n}\n\nexport const CoursesProvider = ({ children }: CoursesProviderProps) => {\n //fetch courses with groups\n const [courses, setCourses] = useState>([]);\n const [basket, setBasket] = useState>([]);\n\n const CAS = useContext(CASContext)!;\n const token = CAS?.user?.token;\n\n const addToBasket = (course: Course) => {\n const courseToBasket = {\n name: course.name,\n id: course.id,\n classes: course.classes[0],\n lecture: course.lectures !== undefined ? course.lectures[0] : undefined,\n } as Basket;\n setBasket([...basket, courseToBasket]);\n };\n const deleteFromBasket = (id: number) => setBasket(basket.filter((course) => course.id !== id));\n\n const saveBasket = async () => {\n try {\n let data = [7, 43, 54];\n let json = JSON.stringify(data);\n let post_data = { json_data: json };\n const ech = await axios.post>(\n `${process.env.REACT_APP_API_URL}/api/v1/commisions/add?`,\n [7, 43, 54],\n {\n headers: {\n Authorization: `Bearer ${token}`,\n },\n },\n );\n console.log('api response;', ech);\n } catch (e) {\n console.log(e);\n }\n console.log('saving to basket');\n };\n\n const addGroup = (choosenGroup: Group, id: number) => {\n const basketCourse = basket.filter((course) => course.id === id)[0];\n const type = choosenGroup.type;\n if (type === GroupType.CLASS) {\n setBasket(\n basket.map((basket) => (basket.id === basketCourse.id ? { ...basket, classes: choosenGroup } : basket)),\n );\n } else if (type === GroupType.LECTURE) {\n setBasket(\n basket.map((basket) => (basket.id === basketCourse.id ? { ...basket, lecture: choosenGroup } : basket)),\n );\n }\n };\n\n useEffect(() => {\n const fetchData = async () => {\n const { data } = await axios.get }>>(\n `${process.env.REACT_APP_API_URL}/api/v1/courses/getCoursesWithGroups`,\n );\n const courses = data.map(({ id, name, groups }) => ({\n id: parseInt(id),\n name,\n lectures: groups.filter(({ type }) => type === GroupType.LECTURE),\n classes: groups.filter(({ type }) => type === GroupType.CLASS),\n })) as Array;\n courses.sort((a: Course, b: Course) => (a.name > b.name ? 1 : -1));\n\n setCourses(courses);\n };\n fetchData();\n }, []);\n\n return (\n \n {children}\n \n );\n};\n","import React, { useState, useContext, useEffect, MouseEvent, ChangeEvent } from 'react';\nimport axios from 'axios';\nimport { Input } from '@material-ui/core';\nimport ClickAwayListener from '@material-ui/core/ClickAwayListener';\nimport { coursesContext } from '../contexts/CoursesProvider';\nimport { Course, Basket } from '../types';\nimport styled from 'styled-components';\nimport { makeStyles } from '@material-ui/core/styles';\n\nconst DropdownStyled = styled.div`\n max-height: 420px;\n overflow-y: auto;\n scroll-snap-type: y mandatory;\n scroll-behavior: smooth;\n z-index: 100;\n position: relative;\n border-radius:0px 0px 0px 15px;\n ::-webkit-scrollbar-track {\n border-radius: 10px;\n background-color: #f5f5f5;\n }\n ::-webkit-scrollbar {\n width: 12px;\n background-color: #f5f5f5;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 10px;\n background-color: #d4b851;\n border: 1px solid;\n }\n`;\n\nconst CourseStyled = styled.div`\n position: relative;\n z-index: 10;\n padding: 5px;\n padding-left: 20px;\n background-color: #e6c759;\n font-size: 18px;\n font-family: Lato;\n scroll-snap-align: end;\n border-bottom:1px solid;\n :hover {\n background-color: #d4b851;\n cursor: pointer;\n }\n`;\n\nconst useStyles = makeStyles({\n topbarInput: {\n marginTop: '8px',\n width: '100%',\n },\n});\n\ninterface DropdownProps {\n clearInput: boolean;\n handleClearInput: () => void;\n}\n\nexport const Dropdown = ({ clearInput, handleClearInput }: DropdownProps) => {\n const classes = useStyles();\n\n const [open, setOpen] = React.useState(false);\n const [input, setInput] = useState('');\n\n //courses - choosenCourses\n const [filteredCourses, setFilteredCourses] = useState>([]);\n\n const { courses, basket, addToBasket } = useContext(coursesContext)!;\n\n useEffect(() => {\n const filterCourses = (input: string) => {\n const choosenCoursesNames = basket.map(({ name }) => name.trim());\n const filteredCourses = courses.filter(\n ({ name }) => name.toLowerCase().includes(input.toLowerCase()) && !choosenCoursesNames.includes(name),\n );\n setFilteredCourses(filteredCourses);\n };\n filterCourses(input);\n }, [input, open, basket]);\n\n useEffect(() => {\n clearInput && (setInput(''), handleClearInput());\n }, [clearInput]);\n\n const handleChange = (event: ChangeEvent) => setInput(event.target.value);\n\n const handleClick = () => setOpen(true);\n\n const handleClickAway = () => setOpen(false);\n\n const onCourseClick = async (event: MouseEvent) => {\n const target = event.currentTarget;\n if (target.id && target.textContent) {\n const course = filteredCourses.find(({ id }) => id.toString() === target.id)!;\n console.log('added course is');\n console.log(course);\n addToBasket(course);\n setOpen(false);\n }\n };\n\n return (\n \n
\n \n {open && (\n \n {filteredCourses.map(({ name, id }, index) => (\n \n

{name}

\n
\n ))}\n
\n )}\n
\n
\n );\n};\n","import React, { useState, MouseEvent } from 'react';\nimport Transfer from '../assets/transfer.png';\nimport Search from '../assets/search.svg';\nimport UK from '../assets/UK.png';\nimport PL from '../assets/PL.png';\nimport User from '../assets/user.png';\nimport CloseIcon from '../assets/close.svg';\nimport { Profile } from './Profile';\nimport { Dropdown } from './Dropdown';\nimport styled from 'styled-components';\n\nconst TopbarTextStyled = styled.div`\n @media only screen and (max-width: 670px) {\n display: none;\n }\n`;\n\nconst Topbar = styled.div`\n background-color: #ffdc61;\n height: 80px;\n padding: 5px;\n font-family: comic sans MS;\n font-size: 24px;\n font-weight: bold;\n display: flex;\n justify-content: space-between;\n`;\n\nconst TopbarLogoWrapperStyled = styled.div`\n display: flex;\n align-items: center;\n flex-grow: 0.5;\n justify-content: flex-start;\n`;\n\nconst TopbarLogoStyled = styled.img`\n width: 80px;\n height: 80px;\n @media only screen and (max-width: 670px) {\n width: 60px;\n height: 60px;\n }\n`;\n\nconst TopbarInputStyled = styled.div`\n width: 70%;\n display: flex;\n flex-grow: 3;\n`;\n\nconst TopbarInputFieldStyled = styled.div`\n width: 96%;\n margin-top: 10px;\n`;\n\nconst TopbarInputIconStyled = styled.img`\n width: 35px;\n @media only screen and (max-width: 670px) {\n width: 25px;\n }\n cursor: pointer;\n`;\n\nconst TopbarIcon = styled.img`\n width: 50px;\n cursor: pointer;\n @media only screen and (max-width: 670px) {\n width: 35px;\n }\n`;\n\nconst TopbarIconBox = styled.div`\n display: flex;\n align-items: center;\n justify-content: space-around;\n flex-grow: 1.5;\n`;\n\ninterface TopbarProps {\n handleTransfer: (e: MouseEvent) => void;\n}\n\nexport default function ({ handleTransfer }: TopbarProps) {\n const [clearInput, setClearInput] = useState(false);\n const [isPolish, setIsPolish] = useState(false);\n const [anchorEl, setAnchorEl] = useState(null);\n\n const onLangChange = () => setIsPolish(!isPolish);\n\n const handleProfile = (event: MouseEvent) => setAnchorEl(event.currentTarget);\n\n const handleClose = () => setAnchorEl(null);\n\n const handleClearInput = () => setClearInput(!clearInput);\n\n return (\n \n \n \n plan na plan \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \n );\n}\n","import React from 'react';\nimport Modal from '@material-ui/core/Modal';\nimport Fade from '@material-ui/core/Fade';\nimport Input from '@material-ui/core/Input';\nimport { makeStyles } from '@material-ui/core/styles';\nimport styled from 'styled-components';\n\ninterface TransferProps {\n handleClose: (e: React.MouseEvent) => void;\n isOpen: boolean;\n}\n\nconst useStyles = makeStyles({\n wrapper: {\n display: 'flex',\n justifyContent: 'center',\n textAlign: 'center',\n alignItems: 'center',\n },\n});\n\nconst TransferStyled = styled.div`\n display: flex;\n\n flex-direction: row;\n\n outline: none;\n min-width: 35%;\n height: 70%;\n padding-top: 40px;\n background: #006b96;\n box-shadow: 0px 0px 0px 4px #006b96;\n border: 4px solid #ffc400;\n margin: 0 auto;\n border-top-left-radius: 5px;\n border-bottom-right-radius: 5px;\n text-transform: uppercase;\n letter-spacing: 0.3ch;\n`;\n\nconst TransferGiveStyled = styled.div`\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nconst TransferReceiveStyled = styled.div`\n flex-grow: 1;\n display: flex;\n flex-direction: column;\n align-items: center;\n`;\n\nconst TransferTextStyled = styled.div`\n font-family: Lato;\n font-size: 30px;\n margin-bottom: 10px;\n`;\n\nconst TransferInputStyled = styled.div`\n width: 250px;\n height: 25px;\n padding: 10px;\n font-size: 24px;\n transition-duration: 0.3s;\n input::placeholder {\n color: black;\n font-weight: bold;\n text-align: center;\n }\n`;\n\nexport const Transfer = ({ handleClose, isOpen }: TransferProps) => {\n const classes = useStyles();\n\n return (\n
\n \n \n \n \n Oddam\n \n {' '}\n \n \n \n \n Przyjmę\n \n {' '}\n \n \n \n \n \n \n
\n );\n};\n","import React, { MouseEvent, useEffect, useState } from 'react';\nimport { Group, GroupType } from '../types';\nimport styled from 'styled-components/macro';\nimport Popover from '@material-ui/core/Popover';\nimport Typography from '@material-ui/core/Typography';\nimport { makeStyles, createStyles, Theme } from '@material-ui/core/styles';\n\nconst useStyles = makeStyles((theme: Theme) =>\n createStyles({\n popover: {\n pointerEvents: 'none',\n },\n paper: {\n padding: theme.spacing(1),\n marginLeft: 5,\n textAlign: 'center',\n },\n }),\n);\n\ninterface SchedulerEventProps {\n eventIndex: number;\n cellTop: number;\n cellWidth: number;\n cellHeight: number;\n}\n\nconst SchedulerEvent = styled.div`\n position: absolute;\n display: flex;\n top: ${({ cellTop }) => cellTop}px;\n left: ${({ cellWidth, eventIndex }) => cellWidth + 5 + cellWidth * eventIndex}px;\n width: ${({ cellWidth }) => (cellWidth * 2.5) / 3}px;\n height: ${({ cellHeight }) => (cellHeight * 2 * 3) / 4}px;\n z-index: 2;\n`;\n\ninterface ClassesProps{\n cellWidth: number;\n cellHeight: number;\n groupType: GroupType;\n}\n\nconst Classes = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n z-index: 2;\n border-radius: 10px;\n \n font-size:0.90vw;\n /* background-color: rgb(100, 181, 246); */\n width: ${({ cellWidth }) => (cellWidth * 2.5) / 3}px;\n height: ${({ cellHeight }) => (cellHeight * 2 * 3) / 4}px;\n margin-right: 5px;\n text-align: center;\n background-color:${({groupType})=>groupType === \"CLASS\" ? \"#FFDC61\" : \"#A68820\"};\n box-shadow: 9px 9px 8px -2px rgba(0,0,0,0.59);\n`;\n\ninterface SchedulerRowProps {\n groups: Array;\n indexRow: number;\n cellTop: number;\n cellWidth: number;\n cellHeight: number;\n}\n\nexport const SchedulerRow = ({ groups, indexRow, cellTop, cellWidth, cellHeight }: SchedulerRowProps) => {\n const classes = useStyles();\n const [anchorEl, setAnchorEl] = React.useState(null);\n const [popoverId, setPopoverId] = useState(null);\n\n //looks weird\n const handlePopoverOpen = (event: MouseEvent) => {\n setAnchorEl(event.currentTarget);\n setPopoverId(event.currentTarget.id);\n };\n\n const handlePopoverClose = () => {\n setAnchorEl(null);\n setPopoverId(null);\n };\n\n const open = Boolean(anchorEl);\n\n return (\n <>\n {[...Array(5)].map((_, eventIndex) => (\n \n {groups.map(\n (group, index) =>\n group.day === eventIndex && (\n <>\n handlePopoverOpen(e)}\n onMouseLeave={handlePopoverClose}\n >\n

\n {groups[index].name}\n

\n {groups[index].room}\n

\n \n \n \n

{groups[index].name}

\n

{groups[index].lecturer}

\n

{groups[index].room}

\n
\n \n \n ),\n )}\n \n ))}\n \n );\n};\n","import React, { useContext, useEffect, useState, MouseEvent } from 'react';\nimport { SchedulerRow } from './SchedulerRow';\nimport { coursesContext } from '../contexts/CoursesProvider';\nimport { Group, Basket } from '../types';\n\ninterface SchedulerEventsProps {\n cellTop: number;\n cellWidth: number;\n cellHeight: number;\n}\n\nexport const SchedulerEvents = ({ cellTop, cellWidth, cellHeight }: SchedulerEventsProps) => {\n const { basket } = useContext(coursesContext)!;\n\n const [choosenGroupsMappedToEvents, setChoosenGroupsMappedToEvents] = useState([]);\n\n interface GroupTimeToEventRowMapping {\n [time: string]: number;\n }\n const groupTimeToEventRowMapping: GroupTimeToEventRowMapping = {\n '8.15': 0,\n '10.00': 1,\n '11.45': 2,\n '13.45': 3,\n '15.30': 4,\n '17.15': 5,\n };\n\n useEffect(() => {\n function mapGroupTimeToEventRow(basket: Array) {\n const classes = basket.map(({ classes, name }) => ({ ...classes, name })) as Array;\n const lectures = basket.map(({ lecture, name }) => ({ ...lecture, name })) as Array;\n const merged = [...classes, ...lectures];\n\n //deleted if statement, maybe it is needed\n const groupsMapped = merged.map(({ id, day, lecturer, room, time, name,type }) => ({\n id,\n day,\n lecturer,\n room,\n eventRow: groupTimeToEventRowMapping[time],\n name,\n type,\n }));\n setChoosenGroupsMappedToEvents(groupsMapped);\n }\n mapGroupTimeToEventRow(basket);\n }, [basket]);\n\n return (\n
\n {[...Array(6)].map((_, index) => (\n group.eventRow === index)}\n indexRow={index}\n cellTop={\n index === 0\n ? cellTop + (cellHeight + cellHeight * 2 * index + cellHeight / 4)\n : index === 1\n ? cellTop + (cellHeight + cellHeight * 2 * index)\n : index === 2\n ? cellTop + (cellHeight + cellHeight * 2 * index - cellHeight / 4)\n : index === 3\n ? cellTop + (cellHeight + cellHeight * 2 * index - cellHeight / 4)\n : index === 4\n ? cellTop + (cellHeight + cellHeight * 2 * index - cellHeight / 2)\n : index === 5\n ? cellTop + (cellHeight + cellHeight * 2 * index - (cellHeight * 3) / 4)\n : 0\n }\n cellWidth={cellWidth}\n cellHeight={cellHeight}\n />\n ))}\n
\n );\n};\n","export const days = [\n \"\",\n \"Poniedziałek\",\n \"Wtorek\",\n \"Środa\",\n \"Czwartek\",\n \"Piątek\",\n];\nexport const hours = [\n \"8:00\",\n \"9:00\",\n \"10:00\",\n \"11:00\",\n \"12:00\",\n \"13:00\",\n \"14:00\",\n \"15:00\",\n \"16:00\",\n \"17:00\",\n \"18:00\",\n \"19:00\",\n];\n","import React, { useEffect, MouseEvent, useRef } from 'react';\nimport { useState } from 'react';\nimport { SchedulerEvents } from './SchedulerEvents';\nimport { days, hours } from '../constants/index';\nimport styled from 'styled-components/macro';\n\nconst SchedulerWrapper = styled.div`\n border-collapse: collapse;\n flex-grow: 1;\n`;\n\nconst TableBody = styled.div`\n width: 100%;\n display: flex;\n flex-direction: column;\n`;\n\nconst TableRow = styled.div`\n display: flex;\n`;\n\nconst TableHead = styled.div`\n display: flex;\n width: 100%;\n`;\n\ninterface TableCellProps {\n height: number;\n}\n\nconst TableCell = styled.div`\n height: ${({ height }) => height}px;\n border: 1px solid #ddd;\n display: flex;\n align-items: center;\n justify-content: center;\n flex: 1;\n font-size: 1.25vw;\n`;\n\nconst T = styled.table`\n width: 100%;\n height: 100%;\n`;\n\nexport const Scheduler = () => {\n const cellRef = useRef(null);\n const [cellWidth, setCellWidth] = useState(0);\n const [cellTop, setCellTop] = useState(0);\n\n const wrapperRef = useRef(null);\n const [wrapperHeight, setWrapperHeight] = useState(0);\n\n useEffect(() => {\n const handleResize = () => {\n if (cellRef.current && wrapperRef.current) {\n setCellWidth(cellRef.current.getBoundingClientRect().width);\n setCellTop(cellRef.current.getBoundingClientRect().top);\n setWrapperHeight(wrapperRef.current.getBoundingClientRect().height);\n }\n };\n handleResize();\n window.addEventListener('resize', handleResize);\n }, []);\n\n return (\n <>\n \n \n {days.map((day, indexCell) =>\n indexCell === 0 ? (\n \n {day}\n \n ) : (\n \n {day}\n \n ),\n )}\n \n \n {hours.map((hour, indexRow) => (\n \n {[hour, '', '', '', '', ''].map((value, indexCell) =>\n indexCell === 0 ? (\n \n {value}\n \n ) : (\n \n {value}\n \n ),\n )}\n \n ))}\n \n \n \n \n );\n};\n","function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nfunction _objectWithoutProperties(source, excluded) { if (source == null) return {}; var target = _objectWithoutPropertiesLoose(source, excluded); var key, i; if (Object.getOwnPropertySymbols) { var sourceSymbolKeys = Object.getOwnPropertySymbols(source); for (i = 0; i < sourceSymbolKeys.length; i++) { key = sourceSymbolKeys[i]; if (excluded.indexOf(key) >= 0) continue; if (!Object.prototype.propertyIsEnumerable.call(source, key)) continue; target[key] = source[key]; } } return target; }\n\nfunction _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }\n\nimport React from \"react\";\n\nvar _ref2 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M38 12.83l-2.83-2.83-11.17 11.17-11.17-11.17-2.83 2.83 11.17 11.17-11.17 11.17 2.83 2.83 11.17-11.17 11.17 11.17 2.83-2.83-11.17-11.17z\"\n});\n\nvar _ref3 = /*#__PURE__*/React.createElement(\"path\", {\n d: \"M0 0h48v48h-48z\",\n fill: \"none\"\n});\n\nvar SvgClose = function SvgClose(_ref) {\n var svgRef = _ref.svgRef,\n title = _ref.title,\n props = _objectWithoutProperties(_ref, [\"svgRef\", \"title\"]);\n\n return /*#__PURE__*/React.createElement(\"svg\", _extends({\n height: 48,\n viewBox: \"0 0 48 48\",\n width: 48,\n ref: svgRef\n }, props), title ? /*#__PURE__*/React.createElement(\"title\", null, title) : null, _ref2, _ref3);\n};\n\nvar ForwardRef = React.forwardRef(function (props, ref) {\n return /*#__PURE__*/React.createElement(SvgClose, _extends({\n svgRef: ref\n }, props));\n});\nexport default __webpack_public_path__ + \"static/media/close.464128e7.svg\";\nexport { ForwardRef as ReactComponent };","import React, { useState, useContext, MouseEvent } from 'react';\nimport Collapse from '@material-ui/core/Collapse';\nimport ExpandIcon from '../assets/expand.png';\nimport { Course, Group, GroupType } from '../types/index';\nimport { coursesContext } from '../contexts/CoursesProvider';\nimport styled from 'styled-components';\nimport { makeStyles } from '@material-ui/core/styles';\nimport { ReactComponent as CloseIcon } from '../assets/close.svg';\n\ninterface ClassExandIconProps {\n isSelected: boolean;\n}\n\nconst CourseStyled = styled.div`\n display: flex;\n min-height: 40px;\n background-color: rgb(100, 181, 246) !important;\n align-items: center;\n justify-content: center;\n flex-direction: column;\n margin-top: 10px;\n padding-top: 10px;\n padding-bottom: 10px;\n border-radius: 10px;\n cursor: pointer;\n align-items: stretch;\n position: relative;\n box-shadow: 9px 9px 8px -2px rgba(0,0,0,0.59);\n`;\n\nconst CourseNameStyled = styled.div`\npadding-top:20px;\npadding-bottom:10px;\npadding-left:35px;\npadding-right:35px;\n`;\n\ninterface ClassGroupProps {\n groupType: GroupType;\n}\n\nconst ClassGroupStyled = styled.div`\nposition:relative;\n padding-top: 1px;\n padding-bottom: 1px;\n :hover {\n cursor: pointer;\n background-color:#9ED3FF;\n }\n`;\n\nconst ClassExandIconStyled = styled.img`\n margin-top: 5px;\n width: 20px;\n transition: 0.2s;\n transform: ${(props) => (props.isSelected ? 'scaleY(-1);' : 'scaleY(1);')};\n`;\n\nconst TypeClass = styled.div`\n font-size:12px;\n position:absolute;\n border-radius:15px;\n background-color:#00506B;\n border:2px solid;\n min-width:45px;\n top:5px;\n left:5px;\n color:white;\n font-weight:bold;\n`;\n\nconst useStyles = makeStyles({\n expanded: {\n maxHeight: '244px',\n overflowY: 'auto',\n '&::-webkit-scrollbar': {\n width: '0.4em',\n },\n '&::-webkit-scrollbar-track': {\n '-webkit-box-shadow': 'inset 0 0 6px rgba(1,0,0,0.1)',\n },\n '&::-webkit-scrollbar-thumb': {\n borderRadius: '10px',\n backgroundColor: '#d4b851',\n outline: '1px solid slategrey',\n },\n },\n});\n\nconst DeleteFromBasketIcon = styled(CloseIcon)`\n width: 20px;\n cursor: pointer;\n position: absolute;\n left: 230px;\n top: -5px;\n &:hover {\n fill: white;\n }\n`;\n\ninterface CourseCardProps {\n course: Course;\n}\n\nexport const CourseCard = ({ course }: CourseCardProps) => {\n const classes = useStyles();\n const { addGroup, deleteFromBasket } = useContext(coursesContext)!;\n const [isSelected, setSelected] = useState(false);\n const groups = course.lectures === undefined ? course.classes : [...course.lectures, ...course.classes];\n\n const onGroupClick = (group: Group, id: number) => addGroup(group, id);\n\n return (\n \n deleteFromBasket(course.id)}>\n setSelected(!isSelected)}>{course.name}\n \n {groups\n .sort((a, b) => b.type.localeCompare(a.type))\n .map((group, index) => (\n onGroupClick(group, course.id)}>\n {group.type===\"CLASS\"? \"Ćw.\" : \"Wyk.\"}\n

\n {group.time} {group.room}

{group.lecturer}\n

\n
\n ))}\n
\n
setSelected(!isSelected)}>\n \n
\n
\n );\n};\n","import React, { useContext } from 'react';\nimport Snackbar from '@material-ui/core/Snackbar';\nimport { CourseCard } from './CourseCard';\nimport { coursesContext } from '../contexts/CoursesProvider';\nimport MuiAlert, { AlertProps } from '@material-ui/lab/Alert';\nimport styled from 'styled-components';\nimport { debounce } from \"lodash\";\n\nconst RightbarStyled = styled.div`\n padding-top: 10px;\n padding-left: 15px;\n padding-right: 15px;\n text-align: center;\n font-family: Lato;\n height: 100%;\n width: 300px;\n overflow-y: scroll;\n ::-webkit-scrollbar-track {\n border-radius: 10px;\n background-color: #f5f5f5;\n }\n ::-webkit-scrollbar {\n width: 12px;\n background-color: #f5f5f5;\n }\n ::-webkit-scrollbar-thumb {\n border-radius: 10px;\n background-color: #d4b851;\n border: 1px solid;\n }\n`;\nconst RightbarTextStyled = styled.div`\n display: flex;\n flex-direction: column;\n`;\n\nconst SaveButton = styled.div`\n display: flex;\n justify-content: center;\n align-items: center;\n background-color: #417cab !important;\n border-radius: 10px;\n cursor: pointer;\n height: 40px;\n background-color: red;\n margin-bottom: 10px;\n &:hover {\n color: white;\n }\n box-shadow: 6px 6px 6px -2px rgba(0,0,0,0.59);\n`;\n\nfunction Alert(props: AlertProps) {\n return ;\n}\n\nexport const Rightbar = () => {\n const { courses, basket, saveBasket } = useContext(coursesContext)!;\n\n const [open, setOpen] = React.useState(false);\n\n const getBasketGroups = () => {\n const names = basket.map(({ name }) => name);\n return courses.filter(({ name }) => names.includes(name));\n };\n\n const filteredCourses = getBasketGroups();\n\n const save = debounce(() => {\n saveBasket();\n setOpen(true);\n console.log(\"zmiana\")\n },500);\n\n const handleClose = (event?: React.SyntheticEvent, reason?: string) => {\n if (reason === 'clickaway') {\n return;\n }\n\n setOpen(false);\n };\n\n //need to insert student name from db and course maybe based on current time or from db too\n return (\n \n \n

\n Hubert Wrzesiński

\n Semestr zimowy 2020/2021\n

\n ZAPISZ\n
\n {filteredCourses.map((course, index) => (\n \n ))}\n \n \n Zapisano plan!\n \n \n
\n );\n};\n","import React, { useState, useContext } from 'react';\nimport Topbar from './Topbar';\nimport { Transfer } from './Transfer';\nimport { Scheduler } from './Scheduler';\nimport { Rightbar } from './Rightbar';\nimport styled from 'styled-components';\n\nconst Wrapper = styled.div`\n display: flex;\n height: calc(100vh - 80px);\n`;\n\nexport const App = () => {\n const [isOpenTransfer, setOpenTransfer] = useState(false);\n\n const handleTransfer = () => {\n setOpenTransfer(!isOpenTransfer);\n };\n\n return (\n <>\n \n \n \n \n \n \n \n );\n};\n","import { createGlobalStyle } from 'styled-components';\n\nexport const GlobalStyles = createGlobalStyle`\n *, *::before, *::after {\n box-sizing: border-box;\n -webkit-font-smoothing: antialiased;\n -moz-osx-font-smoothing: grayscale;\n }\n\n body {\n margin: 0;\n padding: 0;\n line-height: 24px;\n \n }\n\n body::-webkit-scrollbar {\n display: none;\n }\n`;\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport { App } from './components/App';\nimport { CASProvider } from './contexts/CASProvider';\nimport { CoursesProvider } from './contexts/CoursesProvider';\nimport { GlobalStyles } from './styles/GlobalStyles';\n\nReactDOM.render(\n <>\n \n \n \n \n \n \n ,\n document.getElementById('root'),\n);\n","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAALkAAAC5CAYAAAB0rZ5cAAAABGdBTUEAALGPC/xhBQAAACBjSFJNAAB6JgAAgIQAAPoAAACA6AAAdTAAAOpgAAA6mAAAF3CculE8AAAABmJLR0QAAAAAAAD5Q7t/AAAACXBIWXMAAA7DAAAOwwHHb6hkAAAYPklEQVR42u2deXQVVZ7HPyw+HllIYhIaSCJBdiWREGRHUQRZB2SzQVDEBtoB7dM9yqbQA9o04DAeFAWFY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3C1bNGWVwegvEWRXojLfdhUYLlsk5YHa6OnoZFeospK2G6gnWxzliYrAKPTJPbIrN9LtKvA71OiJY9QCPkB+RUeqfYT+zaoQwL8Af0N+pUeKnQD6ya70SMQF/BvwA/JFUF7tMjAelbVYOsno26JfR74oyovdAGYDNWVXrqIkNdEr5gbyRVJW7Rb6nvUqA1qYk4o+D0aNrxu3q8DbqMXmZY449KxMJ5EvonC1b9H73AmyK0sRGpXQ8zPmoudSly0s2VYAbEHPO+iSXTkK+7kHfSex48gXm2g7CbwO1JFdCQpxPAjMQB8Dli1AJ4U9E2iFuGRSYUVE3rQfmqLnhemMvmVjWd1S/TawB9gEfAzsQxd7xKJE7ptooAN6+oS26Jl5HUtIGSK30IW8G8hDzzt5SbZT4YQSuTFc6OkUsoFMIKPQYgT7cR04BPwVPfvUF8Be1IYHAVEit04F9DHldPQJS3UKf/4CffGApxnhInp+wCI7g96fPlH48++FP3+SfeNlDSVyMVQEEv38r2izX4VCoVAoFApFZPL/i16KhIrHe/kAAAAASUVORK5CYII=\"","module.exports = __webpack_public_path__ + \"static/media/search.fa0d12ae.svg\";","module.exports = __webpack_public_path__ + \"static/media/UK.b4dad475.png\";","module.exports = __webpack_public_path__ + \"static/media/PL.6e9ee893.png\";","module.exports = __webpack_public_path__ + \"static/media/user.4ba6e2a4.png\";","module.exports = __webpack_public_path__ + \"static/media/close.464128e7.svg\";","module.exports = \"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADQAAAA0CAYAAADFeBvrAAAABmJLR0QA/wD/AP+gvaeTAAABzElEQVRoge2YyUoDQRCGv6jvJOLFJxAvrrjvRo0b4oYgCCIIIogggogX0Wfxntz1qCfjzSweZhqTOMl0OdOZCPVBQS5V9X8TmHQaFEVRFEVRFKXF6QSegSzQm3CWSnqBHF62TtumbuADKPtVACZcpBMyBHzxk+sT6AlrqpUxVQSmHAW1YYRqGSupLiAf0FQpNecwdD3m/N31cuXxsv8i16DJVAlYchq/miV/Z1iubFDzu0Wjkco4lDBksJMpA29BA9KWzaa2nKl4syVZ0nENOnQgsy3McBA2cFM48DRGmR3h7n3bwRvCwXFIHQl37kkXrAsXnEWQORbu2v3rokXs3zRl4BxICXecCOaX8B50JBaQSV1jJ5UCLoQya1FlDPPIpG6AthCZS6FM7L99UqlbgqVSwJVQZjVuGUPYuaq2HoCOiv524E4os+JKxjCLTOoRT6oduBfKLLuWMUhfFE9+SWQWmiVjmEH2TUlk6p7NXDNNvFKJyhjikmr2f62GTBFNqoR3KmkphvEuVKQyRWCy+XHtqL2ZCatWuVFqyCB2UgVgPKGMYsKk/pWMYYBgqQIwlmCuSPRTLVUARhNNFAN9wCvw4n9WFEVRFEVJiG+EQQBfw7skMgAAAABJRU5ErkJggg==\""],"sourceRoot":""}