{"version":3,"sources":["data/tabs lazy /^/.//.*/.md$/ groupOptions: {} namespace object","theme/icons.ts","theme/dimens.ts","theme/fonts.ts","layouts/Main/components/Header/NavBar/NavItem/styles.ts","theme/colors.ts","layouts/Main/components/Header/NavBar/NavItem/index.tsx","layouts/Main/components/Header/NavBar/styles.ts","layouts/Main/components/Header/NavBar/index.tsx","layouts/Main/components/Header/styles.ts","layouts/Main/components/Header/index.tsx","components/IconLink/styles.ts","components/IconLink/index.tsx","components/ButtonLink/styles.ts","components/ButtonLink/index.tsx","utils/localStorage.ts","components/GHButton/index.tsx","hooks/useLocalStorageState.ts","views/Greeter/components/MainButtons/index.tsx","views/Greeter/components/MainButtons/styles.ts","utils/paths.ts","components/SEO/index.tsx","views/Greeter/styles.ts","views/Greeter/index.tsx","utils/helpers.ts","data/index.tsx","layouts/Main/components/LeftBar/styles.ts","layouts/Main/components/LeftBar/index.tsx","layouts/Main/components/Explorer/styles.ts","layouts/Main/components/Explorer/index.tsx","layouts/Main/components/StatusBar/styles.ts","layouts/Main/components/StatusBar/index.tsx","layouts/Main/styles.ts","layouts/Main/index.tsx","components/Container/styles.ts","components/Container/index.tsx","components/MDTab/index.tsx","routes.tsx","App.tsx","serviceWorker.ts","index.tsx"],"names":["map","webpackAsyncContext","req","__webpack_require__","o","Promise","resolve","then","e","Error","code","ids","id","t","keys","Object","module","exports","library","add","fab","faHome","faGraduationCap","faCheckSquare","faCoffee","faSlidersH","faUniversity","faCodeBranch","faTimes","faSmile","faStar","faCopy","faSearch","faCog","faQuestionCircle","breakpoints","widths","heights","sansFont","root","display","navText","marginLeft","currentTab","color","paddingLeft","otherTab","useStyles","createUseStyles","styles","NavItem","name","url","iconProps","mdFileName","classes","className","to","getProps","isCurrent","size","onClick","preventDefault","stopPropagation","navigate","icon","title","fontFamily","height","list","listStyle","margin","padding","listItem","borderRight","Color","darken","string","borderTop","cursor","fontSize","letterSpacing","textTransform","transition","borderTopColor","background","lighten","Navbar","tabs","tab","key","position","top","left","width","Header","NavBar","link","marginBottom","iconWrapper","badge","right","backgroundColor","borderRadius","opacity","IconLink","isInternal","iconComp","aria-label","href","target","rel","contents","alignItems","minHeight","text","fontWeight","count","ButtonLink","showCount","buildRecordObject","data","lastChecked","Date","now","isRecordUsable","record","timeout","undefined","isRecordExpired","GHButton","resource","attr","endpoint","btnProps","useState","loading","setLoading","defaultValue","value","defaultObj","JSON","parse","window","localStorage","getItem","stringify","state","setState","useEffect","setItem","useLocalStorageState","attrCountRecord","setAttrCountRecord","fetchApi","a","fetch","response","json","flexDirection","marginTop","justifyContent","MainButtons","contactData","repoUrl","parts","URL","pathname","split","repo","pop","username","getGHCredentials","ghButtons","mainContact","find","c","isMain","btn","SEO","description","lang","meta","metaDescription","metadata","Helmet","htmlAttributes","titleTemplate","content","keywords","homepage","themeColor","property","image","verification","google","concat","heading","textShadow","userSelect","typedWrap","textDecoration","borderBottom","Greeter","staticData","options","strings","typed","typeSpeed","backSpeed","loop","smartBackspace","Typed","destroy","hello","randomInt","Math","floor","random","length","randomHello","mainLine","style","whiteSpace","pages","comp","pkg","repository","divider","LeftBar","internals","renderData","contactItem","closed","Explorer","open","clsx","bottom","StatusBar","inverse","html","body","boxSizing","button","transform","explorerOpen","MainLayout","children","maxWidth","paddingBottom","Container","seo","MDTab","fileName","setContents","file","default","loadFile","source","View","Comp","rest","Tab","path","from","noThrow","App","Main","routes","Boolean","location","hostname","match","dotenv","config","ReactDOM","render","StrictMode","document","getElementById","navigator","serviceWorker","ready","registration","unregister","catch","error","console","message"],"mappings":"6HAAA,IAAIA,EAAM,CACT,oBAAqB,CACpB,IACA,GAED,iBAAkB,CACjB,IACA,GAED,kBAAmB,CAClB,IACA,GAED,gBAAiB,CAChB,IACA,GAED,cAAe,CACd,IACA,IAGF,SAASC,EAAoBC,GAC5B,IAAIC,EAAoBC,EAAEJ,EAAKE,GAC9B,OAAOG,QAAQC,UAAUC,MAAK,WAC7B,IAAIC,EAAI,IAAIC,MAAM,uBAAyBP,EAAM,K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,cAAcC,MACrBnR,MAAK,SAACoR,GACLA,EAAaC,gBAEdC,OAAM,SAACC,GACNC,QAAQD,MAAMA,EAAME,a","file":"static/js/main.0504b919.chunk.js","sourcesContent":["var map = {\n\t\"./certificates.md\": [\n\t\t160,\n\t\t3\n\t],\n\t\"./education.md\": [\n\t\t161,\n\t\t4\n\t],\n\t\"./experience.md\": [\n\t\t162,\n\t\t5\n\t],\n\t\"./projects.md\": [\n\t\t163,\n\t\t6\n\t],\n\t\"./skills.md\": [\n\t\t164,\n\t\t7\n\t]\n};\nfunction webpackAsyncContext(req) {\n\tif(!__webpack_require__.o(map, req)) {\n\t\treturn Promise.resolve().then(function() {\n\t\t\tvar e = new Error(\"Cannot find module '\" + req + \"'\");\n\t\t\te.code = 'MODULE_NOT_FOUND';\n\t\t\tthrow e;\n\t\t});\n\t}\n\n\tvar ids = map[req], id = ids[0];\n\treturn __webpack_require__.e(ids[1]).then(function() {\n\t\treturn __webpack_require__.t(id, 7);\n\t});\n}\nwebpackAsyncContext.keys = function webpackAsyncContextKeys() {\n\treturn Object.keys(map);\n};\nwebpackAsyncContext.id = 157;\nmodule.exports = webpackAsyncContext;","import { library } from '@fortawesome/fontawesome-svg-core';\nimport { fab } from '@fortawesome/free-brands-svg-icons';\nimport {\n faHome,\n faGraduationCap,\n faCheckSquare,\n faCoffee,\n faSlidersH,\n faUniversity,\n faCodeBranch,\n faTimes,\n faSmile,\n faStar,\n faCopy,\n faSearch,\n faCog,\n faQuestionCircle,\n} from '@fortawesome/free-solid-svg-icons';\n\nlibrary.add(\n fab,\n faHome,\n faGraduationCap,\n faCheckSquare,\n faCoffee,\n faSlidersH,\n faUniversity,\n faCodeBranch,\n faTimes,\n faSmile,\n faStar,\n faCopy,\n faSearch,\n faCog,\n faQuestionCircle,\n);\n","/**\n * Dimensions.\n */\nexport const sSize = '1.2rem';\nexport const msSize = '1.4rem';\nexport const mSize = '1.6rem';\nexport const mlSize = '2.0rem';\nexport const mllSize = '2.4rem';\nexport const lSize = '3.2rem';\nexport const xlSize = '4.8rem';\n\nexport const breakpoints = {\n desktop: '10rem',\n};\n\nexport const widths = {\n leftBar: 50,\n explorer: 200,\n};\n\nexport const heights = {\n navBar: 40,\n statusBar: 22,\n};\n","/**\n * App fonts.\n */\nexport const sansFont = \"'Ubuntu', sans-serif\";\nexport const monoFont = \"'Ubuntu Mono', monospace\";\n","/**\n * NavItem component styles.\n */\nimport { Styles } from 'react-jss';\nimport { breakpoints, textLightBlue, textWhite } from '../../../../../../theme';\n\nexport default {\n root: {\n '& a[aria-current=\"page\"] span': {\n display: 'inline-block !important',\n },\n },\n navText: {\n marginLeft: '8px',\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n display: 'none',\n },\n },\n currentTab: {\n '& .closeButton': {\n color: textLightBlue,\n marginLeft: '8px',\n paddingLeft: '8px',\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n paddingLeft: '8px',\n },\n '&:hover': {\n color: textWhite,\n },\n },\n },\n otherTab: {\n '& .closeButton': {\n display: 'none',\n },\n },\n} as Styles;\n","/**\n * App colors.\n */\nexport const bgDarkBlue = '#21252b';\nexport const bgMidBlue = '#282c34';\nexport const bgLightBlue = '#333842';\nexport const lbIconColor = '#9599a0';\n\nexport const textWhite = '#f3f3f3';\nexport const textMid = '#c2c2c2';\nexport const textDark = '#909295';\nexport const textBlue = '#636d83';\nexport const textLightBlue = '#abb2bf';\n\nexport const green = '#98c379';\nexport const red = '#e06c75';\nexport const cyan = '#56b6c2';\nexport const midBlue = '#42a5f5';\nexport const orange = '#d19a66';\nexport const jsOrange = '#ffca28';\nexport const darkOrange = '#e44d26';\nexport const lightBrown = '#6e6352';\nexport const pink = '#e13e76';\nexport const purple = '#c678dd';\nexport const white = '#FFFFFF';\n\n","/**\n * NavItem component.\n */\nimport React from 'react';\nimport { Link, navigate } from '@reach/router';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { createUseStyles } from 'react-jss';\nimport { TabSpec, TabLink } from '../../../../../../models';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nconst NavItem: React.FC = ({\n name,\n url,\n mdFileName, // eslint-disable-line @typescript-eslint/no-unused-vars\n ...iconProps\n}) => {\n const classes = useStyles();\n\n const onCloseClicked = (e: React.MouseEvent) => {\n e.preventDefault();\n e.stopPropagation();\n navigate('/');\n };\n\n return (\n \n {\n return {\n className: isCurrent ? classes.currentTab : classes.otherTab,\n };\n }}\n >\n \n {name}\n \n \n \n );\n};\n\nexport default NavItem;\n","/**\n * NavBar component styles.\n */\nimport { Styles } from 'react-jss';\nimport Color from 'color';\nimport {\n bgMidBlue,\n bgDarkBlue,\n textWhite,\n textLightBlue,\n sSize,\n breakpoints,\n sansFont,\n heights,\n} from '../../../../../theme';\n\nexport default {\n root: {\n fontFamily: sansFont,\n height: heights.navBar,\n },\n list: {\n color: textLightBlue,\n listStyle: 'none',\n margin: '0',\n padding: '0',\n },\n listItem: {\n display: 'inline-block',\n '& a': {\n borderRight: `1px solid ${Color(bgMidBlue).darken(0.05).string()}`,\n borderTop: `4px solid ${bgDarkBlue}`,\n cursor: 'pointer',\n display: 'inline-block',\n fontSize: sSize,\n letterSpacing: '0.5px',\n padding: '10px 15px',\n textTransform: 'lowercase',\n transition: 'background, border-color 250ms ease',\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n letterSpacing: '0',\n padding: '10px',\n },\n '&:hover, &[aria-current=\"page\"]': {\n borderTopColor: bgDarkBlue,\n background: Color(bgDarkBlue).lighten(0.02).string(),\n color: textWhite,\n },\n '&[aria-current=\"page\"]': {\n background: bgMidBlue,\n borderTopColor: Color(bgDarkBlue).lighten(0.05).string(),\n },\n },\n },\n} as Styles;\n","/**\n * NavBar component.\n */\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport NavItem from './NavItem';\nimport { TabProps } from '../../..';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nconst Navbar: React.FC = ({ tabs }) => {\n const classes = useStyles();\n\n return (\n \n );\n};\n\nexport default Navbar;\n","/**\n * Header component styles.\n */\nimport { Styles } from 'react-jss';\nimport { bgDarkBlue, heights } from '../../../../theme';\n\nexport default {\n root: {\n background: bgDarkBlue,\n position: 'sticky',\n top: 0,\n left: 0,\n width: '100%',\n height: heights.navBar,\n },\n} as Styles;\n","/**\n * Header component.\n */\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport NavBar from './NavBar';\nimport { TabProps } from '../..';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nconst Header: React.FC = ({ tabs }) => {\n const classes = useStyles();\n\n return (\n
\n \n
\n );\n};\n\nexport default Header;\n","/**\n * IconLink component styles.\n */\nimport { Styles } from 'react-jss';\nimport Color from 'color';\nimport { lbIconColor, green } from '../../theme';\n\nexport default {\n link: {\n color: lbIconColor,\n cursor: 'pointer',\n marginBottom: '10px',\n transition: 'color 100ms ease',\n '&:hover': {\n color: Color(lbIconColor).lighten(0.2).string(),\n },\n '&:last-of-type': {\n marginBottom: '20px',\n },\n },\n iconWrapper: {\n position: 'relative',\n display: 'inline-block',\n },\n icon: {\n padding: '10px',\n },\n badge: {\n position: 'absolute',\n right: '4px',\n top: '4px',\n fontSize: '0.8em',\n backgroundColor: green,\n borderRadius: '4px',\n color: '#111',\n padding: '1px 2px',\n opacity: '0.9',\n },\n} as Styles;\n","/**\n * IconLink component.\n */\nimport React from 'react';\nimport { Link } from '@reach/router';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport { createUseStyles } from 'react-jss';\nimport { ContactItem } from '../../models';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nconst IconLink: React.FC = ({\n name,\n url,\n icon,\n isInternal,\n badge,\n}) => {\n const classes = useStyles();\n\n const iconComp = (\n \n \n {badge && {badge}}\n \n );\n\n if (isInternal) {\n return (\n \n {iconComp}\n \n );\n }\n\n return (\n \n {iconComp}\n \n );\n};\n\nexport default IconLink;\n","/**\n * ButtonLink component styles.\n */\nimport { Styles } from 'react-jss';\nimport Color from 'color';\nimport { bgDarkBlue, textLightBlue, midBlue, sSize } from '../../theme';\n\nexport default {\n root: {\n background: bgDarkBlue,\n borderRadius: '4px',\n color: textLightBlue,\n display: 'flex',\n margin: '8px',\n transition: 'color 500ms ease',\n '&:hover': {\n background: Color(bgDarkBlue).darken(0.1).string(),\n },\n '&:hover .icon': {\n color: midBlue,\n },\n },\n contents: {\n alignItems: 'center',\n display: 'flex',\n minHeight: '24px',\n padding: '6px 10px',\n },\n text: {\n fontSize: sSize,\n fontWeight: 400,\n marginLeft: '6px',\n },\n count: {\n fontSize: sSize,\n background: Color(bgDarkBlue).lighten(0.5).string(),\n borderRadius: '50%',\n marginLeft: '10px',\n padding: '4px 8px',\n },\n} as Styles;\n","/**\n * ButtonLink component.\n */\nimport React from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { IconProp, SizeProp } from '@fortawesome/fontawesome-svg-core';\nimport { createUseStyles } from 'react-jss';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface ButtonLinkProps {\n href: string;\n title: string;\n text: string;\n icon: IconProp;\n size: SizeProp;\n showCount?: boolean;\n count?: number;\n}\n\nconst ButtonLink: React.FC = ({\n href,\n title,\n icon,\n size,\n text,\n showCount,\n count,\n}) => {\n const classes = useStyles();\n\n return (\n \n \n \n {text}\n {!!showCount && {count}}\n \n \n );\n};\n\nexport default ButtonLink;\n","import { LocalCache } from '../models';\n\n/**\n * Builds a record object by attaching necessary field(s)\n * @param data Data to store\n */\nexport const buildRecordObject = (data: T) => {\n return {\n data,\n lastChecked: Date.now(),\n } as LocalCache.Record;\n};\n\n/**\n * Returns true if the record has expired\n * otherwise returns false\n * @param record Local storage record\n * @param timeout Timeout in minutes\n */\nexport const isRecordExpired = (\n record: LocalCache.Record,\n timeout: number,\n) => {\n return Date.now() > record.lastChecked + timeout * 60 * 1000;\n};\n\n/**\n * Returns true if the record is \"usable\"\n * otherwise returns false\n * @param record Local storage record\n * @param timeout Timeout in minutes\n */\nexport const isRecordUsable = (\n record: LocalCache.Record,\n timeout: number,\n) => {\n return record.data !== undefined && !isRecordExpired(record, timeout);\n};\n","/**\n * Generic GHButton component.\n */\nimport React, { useState, useEffect } from 'react';\nimport { useLocalStorageState } from '../../hooks';\nimport ButtonLink, { ButtonLinkProps } from '../ButtonLink';\nimport { LocalCache } from '../../models';\nimport { buildRecordObject, isRecordUsable } from '../../utils';\n\nexport interface GHButtonProps extends ButtonLinkProps {\n resource: {\n endpoint: string;\n attr: string;\n };\n}\n\nconst GHButton: React.FC = ({\n resource: { attr, endpoint },\n timeout = 10, // 10 mins\n ...btnProps\n}) => {\n const [loading, setLoading] = useState(false);\n const [attrCountRecord, setAttrCountRecord] = useLocalStorageState<\n number | undefined\n >(attr, undefined);\n\n useEffect(() => {\n const fetchApi = async (): Promise => {\n const response = await fetch(endpoint);\n const json = await response.json();\n\n if (json[attr] >= 0) {\n setAttrCountRecord(buildRecordObject(json[attr]));\n }\n\n setLoading(false);\n };\n\n if (!isRecordUsable(attrCountRecord, timeout)) {\n fetchApi();\n }\n });\n\n return (\n \n );\n};\n\nexport default GHButton;\n","import { useState, useEffect } from 'react';\nimport { LocalCache } from '../models';\nimport { buildRecordObject } from '../utils';\n\n/**\n * Custom hook that uses local storage\n * @param key Key\n * @param defaultValue Default value\n */\nexport const useLocalStorageState = (\n key: string,\n defaultValue: T,\n): [\n LocalCache.Record,\n React.Dispatch>>,\n] => {\n const [state, setState] = useState>(() => {\n const defaultObj = buildRecordObject(defaultValue);\n let value;\n\n try {\n value = JSON.parse(\n window.localStorage.getItem(key) || JSON.stringify(defaultObj),\n ) as LocalCache.Record;\n } catch (e) {\n value = defaultObj;\n }\n return value;\n });\n\n useEffect(() => {\n window.localStorage.setItem(key, JSON.stringify(state));\n }, [state, key]);\n\n return [state, setState];\n};\n","/**\n * MainButtons component.\n */\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport { IconProp } from '@fortawesome/fontawesome-svg-core';\nimport ButtonLink from '../../../../components/ButtonLink';\nimport GHButton, { GHButtonProps } from '../../../../components/GHButton';\nimport { ContactItem } from '../../../../models';\nimport { getGHCredentials } from '../../../../utils';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface MainButtonsProps {\n contactData: ContactItem[];\n repoUrl: string;\n}\n\nconst MainButtons: React.FC = ({ contactData, repoUrl }) => {\n const classes = useStyles();\n\n const { repo, username } = getGHCredentials(repoUrl);\n\n const ghButtons: GHButtonProps[] = [\n // Follow button\n {\n resource: {\n endpoint: `https://api.github.com/users/${username}`,\n attr: 'followers',\n },\n href: `https://github.com/${username}`,\n title: `Follow @${username} on GitHub`,\n icon: ['fab', 'github'],\n size: 'lg',\n text: `Follow @${username}`,\n },\n // Stargazers button\n {\n resource: {\n endpoint: `https://api.github.com/repos/${username}/${repo}`,\n attr: 'stargazers_count',\n },\n href: repoUrl,\n title: `Star ${username}/${repo} on GitHub`,\n icon: 'star',\n size: 'sm',\n text: 'Star',\n },\n ];\n\n const mainContact = contactData.find((c) => c.isMain) as ContactItem;\n\n return (\n
\n
\n {ghButtons.map((btn) => (\n \n ))}\n
\n
\n \n
\n
\n );\n};\n\nexport default MainButtons;\n","/**\n * MainButtons component styles.\n */\nimport { Styles } from 'react-jss';\n\nexport default {\n root: {\n display: 'flex',\n flexDirection: 'column',\n marginTop: '50px',\n '& div': {\n display: 'flex',\n alignItems: 'center',\n justifyContent: 'center',\n },\n },\n} as Styles;\n","/**\n * Extracts username and repo name from given url.\n * @param repoUrl GitHub url\n */\nexport const getGHCredentials = (\n repoUrl: string,\n): { username: string; repo: string } => {\n const parts = new URL(repoUrl).pathname.split('/');\n const repo = parts.pop() || '';\n const username = parts.pop() || '';\n return { repo, username };\n};\n","import React from 'react';\nimport { Helmet } from 'react-helmet';\nimport metadata from '../../data/json/metadata.json';\n\nexport interface SEOProps {\n title: string;\n description?: string;\n lang?: string;\n meta?: HTMLMetaElement[];\n}\n\nconst SEO: React.FC = ({\n title,\n description,\n lang = 'en',\n meta = [],\n}) => {\n const metaDescription = description || metadata.description;\n\n return (\n \n );\n};\n\nexport default SEO;\n","/**\n * Greeter component styles.\n */\nimport { Styles } from 'react-jss';\n\nimport {\n bgDarkBlue,\n textMid,\n textDark,\n midBlue,\n mllSize,\n lSize,\n breakpoints,\n mlSize,\n sansFont,\n heights,\n} from '../../theme';\n\nexport default {\n root: {\n alignItems: 'center',\n display: 'flex',\n flexDirection: 'column',\n width: '100%',\n height: `calc(100vh - ${heights.navBar + heights.statusBar}px)`,\n justifyContent: 'center',\n fontFamily: sansFont,\n },\n heading: {\n color: textMid,\n fontWeight: 400,\n fontSize: lSize,\n letterSpacing: '2px',\n margin: '10px 20px',\n padding: '0',\n textShadow: `5px 5px ${bgDarkBlue}`,\n userSelect: 'none',\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n fontSize: mllSize,\n },\n },\n typedWrap: {\n color: textDark,\n fontSize: mllSize,\n fontWeight: 400,\n margin: '5px',\n padding: '0',\n userSelect: 'none',\n '& a': {\n textDecoration: 'none',\n borderBottom: `1px dashed ${textDark}`,\n },\n '& strong': {\n fontWeight: '500',\n },\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n fontSize: mlSize,\n },\n },\n '.typed-cursor': {\n color: midBlue,\n },\n} as Styles;\n","/**\n * Greeter component.\n */\nimport React, { useEffect } from 'react';\nimport Typed from 'typed.js';\nimport { createUseStyles } from 'react-jss';\nimport MainButtons, { MainButtonsProps } from './components/MainButtons';\nimport SEO from '../../components/SEO';\nimport { Static } from '../../models';\nimport { randomHello } from '../../utils';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface GreeterProps extends MainButtonsProps {\n staticData: Static;\n}\n\nconst Greeter: React.FC = ({\n staticData,\n contactData,\n repoUrl,\n}) => {\n const classes = useStyles();\n\n useEffect(() => {\n const options = {\n strings: staticData.typed,\n typeSpeed: 70,\n backSpeed: 50,\n loop: true,\n smartBackspace: true,\n };\n\n const typed = new Typed('#typed-insert-point', options);\n\n return () => {\n // Make sure to destroy Typed instance on unmounting\n // to prevent memory leaks\n typed.destroy();\n };\n }, [staticData]);\n\n const hello = randomHello();\n\n return (\n <>\n \n
\n

{staticData.mainLine}

\n
\n \n
\n \n
\n \n );\n};\n\nexport default Greeter;\n","import hello from '../data/json/hello.json';\n\n/**\n * Says Hello in a random language.\n */\nexport const randomHello = (): string => {\n const randomInt = Math.floor(Math.random() * hello.length);\n return `${hello[randomInt].hello}!`;\n};\n","import React from 'react';\nimport Greeter from '../views/Greeter';\nimport Diploma from '../views/Diploma';\nimport { PageLink, TabLink } from '../models';\nimport { jsOrange, midBlue, green, pink, purple, red, white, orange } from '../theme/colors';\n\nimport staticData from './json/static.json';\nimport contactData from './json/contact.json';\nimport sweData from './json/swe.json';\nimport mbaData from './json/btech.json';\nimport pkg from '../../package.json';\n\nimport { calculateDiplomaProgress } from '../utils';\n\nexport const pages: PageLink[] = [\n {\n name: 'Home',\n url: '/',\n icon: 'home',\n isInternal: true,\n comp: () => (\n \n ),\n },\n // {\n // name: 'MBA Training',\n // url: '/btech',\n // icon: 'graduation-cap',\n // isInternal: true,\n \n // comp: () => ,\n // },\n];\n\nexport const tabs: TabLink[] = [\n {\n name: 'experience.json',\n url: '/experience',\n icon: ['fab','docker'],\n color: white,\n mdFileName: 'experience',\n },\n {\n name: ' skills.yml',\n url: '/skills',\n icon: ['fab', 'aws'],\n color: jsOrange,\n mdFileName: 'skills',\n },\n {\n name: 'projects.config',\n url: '/projects',\n icon: ['fab','jira'],\n color: midBlue,\n mdFileName: 'projects'\n },\n {\n name: 'Certifications.sh',\n url: '/certificates',\n icon: ['fab', 'redhat'],\n color: red,\n mdFileName: 'certificates',\n },\n {\n name: 'Education',\n url: '/education',\n icon: 'university',\n color: orange,\n mdFileName: 'education',\n }\n];\n","/**\n * LeftBar component styles.\n */\nimport { Styles } from 'react-jss';\nimport Color from 'color';\nimport { bgLightBlue, breakpoints, widths } from '../../../../theme';\n\nexport default {\n root: {\n alignItems: 'center',\n background: bgLightBlue,\n display: 'flex',\n flexDirection: 'column',\n justifyContent: 'space-between',\n height: '100vh',\n position: 'fixed',\n left: '0',\n top: '0',\n width: `${widths.leftBar}px`,\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n display: 'none',\n },\n '& div': {\n display: 'flex',\n alignItems: 'center',\n flexDirection: 'column',\n padding: '10px 0',\n },\n },\n divider: {\n height: '1px',\n background: Color(bgLightBlue).lighten(0.35).string(),\n width: '95%',\n marginTop: '4px',\n marginBottom: '12px',\n },\n} as Styles;\n","/**\n * LeftBar component.\n */\n\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport IconLink from '../../../../components/IconLink';\nimport { ContactItem } from '../../../../models';\nimport { pages } from './../../../../data';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface LeftBarProps {\n contactData: ContactItem[];\n}\n\nconst LeftBar: React.FC = ({ contactData }) => {\n const classes = useStyles();\n\n // Internal links.\n const internals = pages.map(({ name, url, icon, isInternal, badge }) => ({\n name,\n url,\n icon,\n isInternal,\n badge,\n }));\n\n const bottom: ContactItem[] = [\n {\n name: 'Useless button!',\n url: '',\n icon: 'cog',\n isInternal: true,\n },\n ];\n\n const renderData = (data: ContactItem[]) => {\n return data.map((contactItem) => (\n \n ));\n };\n\n const renderDivider = () => ;\n\n return (\n
\n
\n {renderData(internals)}\n {renderDivider()}\n {renderData(contactData)}\n
\n
{renderData(bottom)}
\n
\n );\n};\n\nexport default LeftBar;\n","/**\n * Explorer component styles.\n */\nimport { Styles } from 'react-jss';\nimport { widths, bgDarkBlue } from '../../../../theme';\n\nexport default {\n root: {\n background: bgDarkBlue,\n height: '100vh',\n position: 'fixed',\n top: '0',\n left: widths.leftBar,\n width: widths.explorer,\n '& li': {\n listStyle: 'none',\n padding: '6px 12px',\n },\n },\n closed: {\n display: 'none',\n },\n} as Styles;\n","/**\n * Explorer component.\n */\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport clsx from 'clsx';\nimport { TabProps } from '../..';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface ExplorerProps {\n open: boolean;\n}\n\nconst Explorer: React.FC = ({ tabs, open }) => {\n const classes = useStyles();\n\n return (\n
\n {tabs.map((t) => (\n
  • {t.mdFileName}
  • \n ))}\n
    \n );\n};\n\nexport default Explorer;\n","/**\n * StatusBar component styles.\n */\nimport { Styles } from 'react-jss';\nimport {\n bgDarkBlue,\n bgMidBlue,\n textLightBlue,\n sSize,\n sansFont,\n heights,\n} from '../../../../theme';\n\nexport default {\n root: {\n bottom: '0',\n background: bgDarkBlue,\n display: 'flex',\n justifyContent: 'space-between',\n alignItems: 'center',\n fontFamily: sansFont,\n fontWeight: 400,\n left: '0',\n position: 'fixed',\n width: '100vw',\n height: heights.statusBar,\n '& span, & a': {\n display: 'inline-block',\n padding: '2px 8px',\n '&:hover': {\n background: bgMidBlue,\n cursor: 'pointer',\n },\n },\n },\n icon: {\n color: textLightBlue,\n },\n text: {\n color: textLightBlue,\n fontSize: sSize,\n padding: '0 4px',\n },\n} as Styles;\n","/**\n * StatusBar component.\n */\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport styles from './styles';\nimport pkg from '../../../../../package.json';\n\nconst useStyles = createUseStyles(styles);\n\nconst StatusBar: React.FC = () => {\n const classes = useStyles();\n\n return (\n \n );\n};\n\nexport default StatusBar;\n","/**\n * Main layout styles.\n */\nimport Color from 'color';\nimport { Styles } from 'react-jss';\nimport {\n bgMidBlue,\n textLightBlue,\n mSize,\n monoFont,\n breakpoints,\n widths,\n} from '../../theme';\n\n// Notice that it's an object containing\n// global \"base\" values for the rest of the app.\nexport default {\n '@global': {\n html: {\n fontSize: '62.5%',\n },\n body: {\n fontFamily: monoFont,\n fontSize: mSize,\n background: bgMidBlue,\n boxSizing: 'border-box',\n },\n button: {\n cursor: 'pointer',\n '&:disabled': {\n cursor: 'default',\n },\n },\n a: {\n color: textLightBlue,\n textDecoration: 'none',\n transition: 'color 500ms ease',\n '&:visited': {\n color: Color(textLightBlue).darken(0.1).string(),\n },\n },\n '.color-transform': {\n transform: 'color 500ms ease',\n },\n },\n root: {\n position: 'absolute',\n height: '100vh',\n width: `calc(100% - ${widths.leftBar}px)`,\n padding: 0,\n margin: 0,\n },\n content: {\n position: 'relative',\n top: 0,\n left: `${widths.leftBar}px`,\n right: 0,\n width: '100%',\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n left: '0',\n },\n },\n explorerOpen: {\n left: `${widths.leftBar + widths.explorer}px`,\n },\n} as Styles;\n","/**\n * Main layout.\n*/\n\nimport React, { useState } from 'react';\nimport { createUseStyles } from 'react-jss';\nimport clsx from 'clsx';\nimport Header from './components/Header';\nimport LeftBar from './components/LeftBar';\nimport Explorer from './components/Explorer';\nimport StatusBar from './components/StatusBar';\nimport { ContactItem, TabLink } from '../../models';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface TabProps {\n tabs: TabLink[];\n}\n\nexport interface ContactProps {\n contactData: ContactItem[];\n}\n\nexport type MainLayoutProps = TabProps & ContactProps;\n\nconst MainLayout: React.FC = ({\n children,\n tabs,\n contactData,\n}) => {\n // eslint-disable-next-line @typescript-eslint/no-unused-vars\n const [explorerOpen, setExplorerOpen] = useState(false);\n\n const classes = useStyles();\n\n return (\n
    \n \n \n \n
    \n {children}\n \n \n
    \n );\n};\n\nexport default MainLayout;\n","/**\n * Container component styles.\n */\nimport { Styles } from 'react-jss';\nimport {\n breakpoints,\n midBlue,\n textLightBlue,\n textMid,\n mSize,\n} from '../../theme';\n\nexport default {\n root: {\n maxWidth: '960px',\n padding: '0 20px',\n marginBottom: '200px',\n '& a:hover': {\n color: textMid,\n },\n '& li': {\n listStyle: 'square',\n },\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n marginLeft: 0,\n },\n },\n content: {\n color: textLightBlue,\n fontSize: mSize,\n '& h3': {\n color: midBlue,\n },\n '& ul': {\n '& li': {\n paddingBottom: '4px',\n },\n [`@media screen and (max-width: ${breakpoints.desktop})`]: {\n paddingLeft: '20px',\n },\n },\n [`@media only screen and (max-width: 600px)`]: {\n position: 'absolute',\n top: '115px',\n },\n },\n} as Styles;\n","/**\n * Container components used in tabs.\n */\nimport React from 'react';\nimport { createUseStyles } from 'react-jss';\nimport SEO, { SEOProps } from '../SEO';\nimport styles from './styles';\n\nconst useStyles = createUseStyles(styles);\n\nexport interface ContainerProps {\n seo?: SEOProps;\n}\n\nconst Container: React.FC = ({ seo, children }) => {\n const classes = useStyles();\n\n return (\n <>\n {!!seo && }\n
    \n
    {children}
    \n
    \n \n );\n};\n\nexport default Container;\n","/**\n * MDTab component.\n */\nimport React, { useEffect, useState } from 'react';\nimport ReactMarkdown from 'react-markdown';\nimport Container from '../Container';\n\nexport interface MDTabProps {\n fileName: string;\n}\n\nconst MDTab: React.FC = ({ fileName }) => {\n const [contents, setContents] = useState('');\n\n useEffect(() => {\n const loadFile = async () => {\n const file = await import(`../../data/tabs/${fileName}.md`);\n const response = await fetch(file.default);\n const text = await response.text();\n setContents(text);\n };\n loadFile();\n }, [fileName]);\n\n return (\n \n \n \n );\n};\n\nexport default MDTab;\n","import React from 'react';\nimport { RouteComponentProps, Redirect } from '@reach/router';\nimport MDTab, { MDTabProps } from './components/MDTab';\nimport { PageProps } from './models';\n\nimport { pages, tabs } from './data/';\n\ntype ViewProps = RouteComponentProps & PageProps;\nconst View: React.FC = ({ comp: Comp, ...rest }) => {\n return ;\n};\n\ntype TabProps = RouteComponentProps & MDTabProps;\nconst Tab: React.FC = ({ fileName }) => {\n return ;\n};\n\nexport default [\n pages.map(({ name, url, comp, ...rest }) => (\n \n )),\n tabs.map(({ name, url, mdFileName }) => (\n \n )),\n ,\n];\n","import React from 'react';\nimport { Router } from '@reach/router';\nimport MainLayout from './layouts/Main';\nimport routes from './routes';\n\nimport { tabs } from './data';\nimport contactData from './data/json/contact.json';\n\nconst App: React.FC = () => (\n \n {routes}\n \n);\n\nexport default App;\n","// This optional code is used to register a service worker.\n// register() is not called by default.\n\n// This lets the app load faster on subsequent visits in production, and gives\n// it offline capabilities. However, it also means that developers (and users)\n// will only see deployed updates on subsequent visits to a page, after all the\n// existing tabs open on the page have been closed, since previously cached\n// resources are updated in the background.\n\n// To learn more about the benefits of this model and instructions on how to\n// opt-in, read https://bit.ly/CRA-PWA\n\n/* eslint-disable */\n\nconst isLocalhost = Boolean(\n window.location.hostname === 'localhost' ||\n // [::1] is the IPv6 localhost address.\n window.location.hostname === '[::1]' ||\n // 127.0.0.0/8 are considered localhost for IPv4.\n window.location.hostname.match(\n /^127(?:\\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/,\n ),\n);\n\ntype Config = {\n onSuccess?: (registration: ServiceWorkerRegistration) => void;\n onUpdate?: (registration: ServiceWorkerRegistration) => void;\n};\n\nexport function register(config?: Config) {\n if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {\n // The URL constructor is available in all browsers that support SW.\n const publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);\n if (publicUrl.origin !== window.location.origin) {\n // Our service worker won't work if PUBLIC_URL is on a different origin\n // from what our page is served on. This might happen if a CDN is used to\n // serve assets; see https://github.com/facebook/create-react-app/issues/2374\n return;\n }\n\n window.addEventListener('load', () => {\n const swUrl = `${process.env.PUBLIC_URL}/service-worker.js`;\n\n if (isLocalhost) {\n // This is running on localhost. Let's check if a service worker still exists or not.\n checkValidServiceWorker(swUrl, config);\n\n // Add some additional logging to localhost, pointing developers to the\n // service worker/PWA documentation.\n navigator.serviceWorker.ready.then(() => {\n console.log(\n 'This web app is being served cache-first by a service ' +\n 'worker. To learn more, visit https://bit.ly/CRA-PWA',\n );\n });\n } else {\n // Is not localhost. Just register service worker\n registerValidSW(swUrl, config);\n }\n });\n }\n}\n\nfunction registerValidSW(swUrl: string, config?: Config) {\n navigator.serviceWorker\n .register(swUrl)\n .then((registration) => {\n registration.onupdatefound = () => {\n const installingWorker = registration.installing;\n if (installingWorker == null) {\n return;\n }\n installingWorker.onstatechange = () => {\n if (installingWorker.state === 'installed') {\n if (navigator.serviceWorker.controller) {\n // At this point, the updated precached content has been fetched,\n // but the previous service worker will still serve the older\n // content until all client tabs are closed.\n console.log(\n 'New content is available and will be used when all ' +\n 'tabs for this page are closed. See https://bit.ly/CRA-PWA.',\n );\n\n // Execute callback\n if (config && config.onUpdate) {\n config.onUpdate(registration);\n }\n } else {\n // At this point, everything has been precached.\n // It's the perfect time to display a\n // \"Content is cached for offline use.\" message.\n console.log('Content is cached for offline use.');\n\n // Execute callback\n if (config && config.onSuccess) {\n config.onSuccess(registration);\n }\n }\n }\n };\n };\n })\n .catch((error) => {\n console.error('Error during service worker registration:', error);\n });\n}\n\nfunction checkValidServiceWorker(swUrl: string, config?: Config) {\n // Check if the service worker can be found. If it can't reload the page.\n fetch(swUrl, {\n headers: { 'Service-Worker': 'script' },\n })\n .then((response) => {\n // Ensure service worker exists, and that we really are getting a JS file.\n const contentType = response.headers.get('content-type');\n if (\n response.status === 404 ||\n (contentType != null && contentType.indexOf('javascript') === -1)\n ) {\n // No service worker found. Probably a different app. Reload the page.\n navigator.serviceWorker.ready.then((registration) => {\n registration.unregister().then(() => {\n window.location.reload();\n });\n });\n } else {\n // Service worker found. Proceed as normal.\n registerValidSW(swUrl, config);\n }\n })\n .catch(() => {\n console.log(\n 'No internet connection found. App is running in offline mode.',\n );\n });\n}\n\nexport function unregister() {\n if ('serviceWorker' in navigator) {\n navigator.serviceWorker.ready\n .then((registration) => {\n registration.unregister();\n })\n .catch((error) => {\n console.error(error.message);\n });\n }\n}\n\n/* eslint-enable */\n","import React from 'react';\nimport ReactDOM from 'react-dom';\nimport 'normalize.css';\nimport './theme/icons';\nimport App from './App';\nimport * as serviceWorker from './serviceWorker';\nimport dotenv from 'dotenv';\ndotenv.config();\n\nReactDOM.render(\n \n \n ,\n document.getElementById('root'),\n);\n\n// If you want your app to work offline and load faster, you can change\n// unregister() to register() below. Note this comes with some pitfalls.\n// Learn more about service workers: https://bit.ly/CRA-PWA\nserviceWorker.unregister();\n"],"sourceRoot":""}